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ts","webpack:///./assets/moncler/src/components/product/ProductCarouselFlpRecommended.tsx"],"sourcesContent":["export const ProductActionTypes = {\n FETCH_PRODUCT: '@@product/FETCH_PRODUCT',\n SET_PRODUCT: '@@product/SET_PRODUCT',\n TOGGLE_SIZEGUIDE: '@@product/TOGGLE_SIZEGUIDE',\n};\nexport const UserInfoActionTypes = {\n /** @deprecated - don't use redux for this, just call api.getUserInfo() */\n FETCH_USERINFO: '@@userInfo/FETCH_USERINFO',\n};\nexport const SearchActionTypes = {\n TOGGLE_SEARCH: '@@search/TOGGLE_SEARCH',\n RESET_SEARCH: '@@search/RESET_SEARCH',\n INPUT_SEARCH: '@@search/INPUT_SEARCH',\n QUERY_SEARCH: '@@search/QUERY_SEARCH',\n FETCH_SEARCH: '@@search/FETCH_SEARCH',\n UPDATE_SEARCH_REFINEMENT: '@@search/UPDATE_SEARCH_REFINEMENT',\n MENU_DATA: '@@search/MENU_DATA',\n};\nexport const ListingActionTypes = {\n FETCH_LISTING: '@@listing/FETCH_LISTING',\n UPDATE_LISTING_REFINEMENT: '@@listing/UPDATE_LISTING_REFINEMENT',\n TOGGLE_LANDING_ANIMATION: '@@listing/TOGGLE_LANDING_ANIMATION',\n};\nexport const MinicartActionTypes = {\n FETCH_MINICART_AFTER_UPDATE: '@@search/FETCH_MINICART_AFTER_UPDATE',\n FETCH_MINICART_AND_OPEN: '@@search/FETCH_MINICART_AND_OPEN',\n UPDATE_MINICART: '@@search/UPDATE_MINICART',\n CLOSE_MINICART: '@@search/CLOSE_MINICART',\n HOVERING_MINICART: '@@search/HOVERING_MINICART',\n};\nexport const BagActionTypes = {\n FETCH_BAG: '@@bag/FETCH_BAG',\n SETMESSAGE: '@@bag/SETMESSAGE',\n REMOVE_PRODUCT_FROM_BAG: '@@bag/REMOVE_PRODUCT_FROM_BAG',\n INCREASE_QUANTITY: '@@bag/INCREASE_QUANTITY',\n DECREASE_QUANTITY: '@@bag/DECREASE_QUANTITY',\n ADD_PROMO_CODE: '@@bag/ADD_PROMO_CODE',\n PROMOCODE_REMOVE: '@@bag/PROMOCODE_REMOVE',\n};\nexport const AccountActionTypes = {\n FETCH_PROFILE: '@@account/FETCH_PROFILE',\n UPDATE_PROFILE: '@@account/UPDATE_PROFILE',\n FETCH_ADDRESSES: '@@account/FETCH_ADDRESSES',\n FETCH_MODEL: '@@account/FETCH_MODEL',\n DELETE_ADDRESSES: '@@account/DELETE_ADDRESSES',\n FETCH_SAVEDCARDS: '@@account/FETCH_SAVEDCARDS',\n DELETE_SAVEDCARD: '@@account/DELETE_SAVEDCARD',\n};\nexport const OrdersActionTypes = {\n FETCH_ORDERS: '@@orders/FETCH_ORDERS',\n FETCH_ORDERS_PAGED: '@@orders/FETCH_ORDERS_PAGED',\n FETCH_ORDERS_DETAIL: '@@orders/FETCH_ORDER_DETAIL',\n FETCH_RETURNS: '@@orders/FETCH_RETURNS',\n FETCH_RETURNS_PAGED: '@@orders/FETCH_RETURNS_PAGED',\n CLEAN_FORM_ERRORS: '@@orders/CLEAN_FORM_ERRORS',\n SET_ERROR: '@@orders/SET_ERRORS',\n UPDATE_RETURN: '@@orders/UPDATE_RETURN',\n};\nexport const AftercareActionTypes = {\n FETCH_AFTERCARE: '@@orders/FETCH_AFTERCARE',\n UPDATE_AFTERCARE: '@@orders/UPDATE_AFTERCARE',\n};\nexport const CheckoutActionTypes = {\n FETCH_CHECKOUTDATA: '@@checkout/FETCH_CHECKOUTDATA',\n FETCH_PBLCHECKOUTDATA: '@@checkout/FETCH_PBLCHECKOUTDATA',\n UPDATE_ORDER: '@@checkout/UPDATE_ORDER',\n UPDATE_EMAIL: '@@checkout/UPDATE_EMAIL',\n UPDATE_PAYMENTERROR: '@@checkout/UPDATE_PAYMENTERROR',\n UPDATE_SHIPPINGMETHODS: '@@checkout/UPDATE_SHIPPINGMETHODS',\n UPDATE_CUSTOMER: '@@checkout/UPDATE_CUSTOMER',\n FETCH_ADDRESSES: '@@checkout/FETCH_ADDRESSES',\n FETCH_PAYMENTMETHODS: '@@checkout/FETCH_PAYMENTMETHODS',\n FETCH_PICKUP: '@@checkout/FETCH_PICKUP',\n UPDATE_LOADING: '@@checkout/UPDATE_LOADING',\n UPDATE_SHIPPINGADDRESS: '@@checkout/UPDATE_SHIPPINGADDRESS',\n UPDATE_GIFTCARDS_APPLIED: '@@checkout/UPDATE_GIFTCARDS_APPLIED',\n UPDATE_IS_FETCHING_DATA: '@@checkout/UPDATE_IS_FETCHING_DATA',\n};\nexport const AccordionStepsActionTypes = {\n NAVIGATE_STEP: '@@accordion/NAVIGATE_STEP',\n};\nexport const StoreLocatorActionTypes = {\n FETCH_STORES: '@@storelocator/FETCH_STORES',\n FETCH_STORE_DETAILS: '@@storelocator/FETCH_STORE_DETAILS',\n UPDATE_BOUNDS: '@@storelocator/UPDATE_BOUNDS',\n USE_LOCATION: '@@storelocator/USE_LOCATION',\n};\n","import api from '@utils/api';\nconst einsteinutils = {\n getCQuotient: function () {\n const einsteinUtils = window.CQuotient;\n if (einsteinUtils && typeof einsteinUtils.getCQUserId === 'function' && typeof einsteinUtils.getCQCookieId === 'function') {\n return einsteinUtils;\n }\n return null;\n },\n processRecommendations: function (recommender, callback, anchors, onError) {\n const einsteinUtils = this.getCQuotient();\n const params = {\n userId: einsteinUtils.getCQUserId(),\n cookieId: einsteinUtils.getCQCookieId(),\n ccver: '1.01',\n };\n if (anchors) {\n params.anchors = [];\n // maximum 5 anchors to the recommender\n anchors.splice(5);\n anchors.forEach((anchor) => {\n params.anchors.push({\n id: anchor.masterId,\n sku: null,\n type: 'vgroup',\n alt_id: anchor.id,\n });\n });\n }\n if (einsteinUtils.getRecs) {\n einsteinUtils.getRecs(einsteinUtils.clientId, recommender, params, callback, onError);\n }\n else {\n einsteinUtils.widgets = einsteinUtils.widgets || []; // eslint-disable-line no-param-reassign\n einsteinUtils.widgets.push({\n recommenderName: recommender,\n parameters: params,\n callback: callback,\n });\n }\n },\n productRecommendations: function (recommender, callback, cancelToken, anchors, slot, slotuuid, onError) {\n this.processRecommendations(recommender, (einsteinResponse) => {\n const rec = einsteinResponse[recommender];\n const pids = rec.recs.map((r) => r.id);\n // TEST ONLY\n // const pids = ['G20918C00033829H8999', 'G20911A0016868950455', '569100002A01PR001000100F', 'G10911A109005327977600', '569100001A05PR001000', 'H209Z1A00002M2904999'];\n if (pids.length) {\n api.getProductTiles(pids, cancelToken).then(async (data) => {\n if (data) {\n let title;\n if (slotuuid) {\n title = await api.getSlotContent(slotuuid, pids);\n }\n callback({\n displayMessage: title || rec.displayMessage,\n recoUUID: rec.recoUUID,\n products: data,\n });\n data.forEach((product) => this.trackProductRecommended(product.id, product.masterId, recommender, slot));\n }\n });\n }\n else {\n callback({\n displayMessage: '',\n recoUUID: rec.recoUUID,\n products: [],\n });\n }\n }, anchors, onError);\n },\n productRecommendationsFromSlot: function (slot, recommenderCallback, callback, cancelToken, product, productList, onError) {\n api.getSlotConfig(slot, cancelToken).then((data) => {\n if (data) {\n // renders a slot which is supposed to be configured with a recommender and extract the recommender name from the script contained in the returned slot html\n const recommendermatch = new RegExp(\"recommender = '\\\\[\\\\["(.*)"]]'\").exec(data.data);\n if (recommendermatch && recommendermatch.length > 1) {\n const recommender = recommendermatch[1];\n const slotConfigurationUUIDMatch = new RegExp(\"slotConfigurationUUID = '(.*)'\").exec(data.data);\n const slotuuid = slotConfigurationUUIDMatch && slotConfigurationUUIDMatch.length > 1 ? slotConfigurationUUIDMatch[1] : null;\n recommenderCallback && recommenderCallback(recommender);\n let anchors = [];\n if (product) {\n anchors.push({ masterId: product.masterId, id: product.id });\n }\n if (productList) {\n productList.forEach((item) => {\n anchors.push({ masterId: item.masterId, id: item.masterId + item.analyticsAttributes.variant });\n });\n }\n this.productRecommendations(recommender, callback, cancelToken, anchors, slot, slotuuid, onError);\n }\n else {\n console.warn('no recommender found in slot response');\n recommenderCallback && recommenderCallback(null);\n }\n }\n }, (test) => console.error(test));\n },\n trackProductDetail: function (pid, masterid) {\n window.devmode && console.info(`Tracking product detail for ${pid}`);\n try {\n window.dw.ac.capture({ id: pid, type: window.dw.ac.EV_PRD_DETAIL });\n }\n catch (e) {\n console.error(e);\n }\n const CQuotient = this.getCQuotient();\n CQuotient.trackViewProduct({\n realm: CQuotient.realm,\n siteId: CQuotient.siteId,\n instanceType: CQuotient.instanceType,\n product: {\n id: masterid,\n sku: '',\n type: 'vgroup',\n alt_id: pid,\n },\n });\n return true;\n },\n trackProductRecommended: function (pid, masterid, recommender, slot) {\n // window.devmode && console.info(`Tracking recommendation for ${pid}`);\n try {\n window.dw.ac.capture({ id: pid, type: window.dw.ac.EV_PRD_RECOMMENDATION });\n }\n catch (e) {\n console.error(e);\n }\n const CQuotient = this.getCQuotient();\n let cq_params = {};\n cq_params.cookieId = CQuotient.getCQCookieId();\n cq_params.userId = CQuotient.getCQUserId();\n cq_params.emailId = CQuotient.getCQHashedEmail();\n cq_params.loginId = CQuotient.getCQHashedLogin();\n cq_params.accumulate = true;\n cq_params.products = [\n {\n id: masterid,\n sku: '',\n type: 'vgroup',\n alt_id: pid,\n },\n ];\n cq_params.recommenderName = recommender;\n cq_params.realm = CQuotient.realm;\n cq_params.siteId = CQuotient.siteId;\n cq_params.instanceType = CQuotient.instanceType;\n cq_params.locale = CQuotient.locale;\n cq_params.slotId = slot;\n cq_params.slotConfigId = slot;\n cq_params.slotConfigTemplate = '';\n if (CQuotient.sendActivity) {\n CQuotient.sendActivity(CQuotient.clientId, 'viewReco', cq_params);\n }\n else {\n CQuotient.activities.push({ activityType: 'viewReco', parameters: cq_params });\n }\n return true;\n },\n trackProductInCategory: function (pid, category, sortingrule) {\n // window.devmode && console.info(`Tracking search hit for ${pid}`);\n try {\n window.dw.ac.capture({ id: pid, type: window.dw.ac.EV_PRD_SEARCHHIT });\n }\n catch (e) {\n console.error(e);\n }\n const CQuotient = this.getCQuotient();\n let cq_params = {};\n cq_params.cookieId = CQuotient.getCQCookieId();\n cq_params.userId = CQuotient.getCQUserId();\n cq_params.emailId = CQuotient.getCQHashedEmail();\n cq_params.loginId = CQuotient.getCQHashedLogin();\n cq_params.accumulate = true;\n cq_params.products = [\n {\n id: pid,\n sku: '',\n },\n ];\n cq_params.categoryId = category === null || category === void 0 ? void 0 : category.id;\n cq_params.refinements = JSON.stringify([{ name: 'Category', value: category === null || category === void 0 ? void 0 : category.id }]);\n cq_params.personalized = 'true';\n cq_params.sortingRule = '';\n cq_params.imageUUID = '__UNDEFINED__';\n cq_params.realm = CQuotient.realm;\n cq_params.siteId = CQuotient.siteId;\n cq_params.instanceType = CQuotient.instanceType;\n cq_params.queryLocale = window.locale;\n cq_params.locale = CQuotient.locale;\n if (CQuotient.sendActivity) {\n CQuotient.sendActivity(CQuotient.clientId, 'viewCategory', cq_params);\n }\n else {\n CQuotient.activities.push({\n activityType: 'viewCategory',\n parameters: cq_params,\n });\n }\n return true;\n },\n trackProductInSearch: function (pid, searchtext, sortingrule) {\n // window.devmode && console.info(`Tracking search hit for ${pid}`);\n try {\n window.dw.ac.capture({ id: pid, type: window.dw.ac.EV_PRD_SEARCHHIT });\n }\n catch (e) {\n console.error(e);\n }\n const CQuotient = this.getCQuotient();\n let cq_params = {};\n cq_params.cookieId = CQuotient.getCQCookieId();\n cq_params.userId = CQuotient.getCQUserId();\n cq_params.emailId = CQuotient.getCQHashedEmail();\n cq_params.loginId = CQuotient.getCQHashedLogin();\n cq_params.accumulate = true;\n cq_params.searchText = searchtext;\n cq_params.products = [\n {\n id: pid,\n sku: '',\n textRelevance: '0.92006695',\n },\n ];\n cq_params.showProducts = 'true';\n cq_params.personalized = 'true';\n cq_params.refinements = '[]';\n cq_params.sortingRule = sortingrule;\n cq_params.imageUUID = '__UNDEFINED__';\n cq_params.realm = CQuotient.realm;\n cq_params.siteId = CQuotient.siteId;\n cq_params.instanceType = CQuotient.instanceType;\n cq_params.queryLocale = window.locale;\n cq_params.locale = CQuotient.locale;\n if (CQuotient.sendActivity) {\n CQuotient.sendActivity(CQuotient.clientId, 'viewSearch', cq_params);\n }\n else {\n CQuotient.activities.push({\n activityType: 'viewSearch',\n parameters: cq_params,\n });\n }\n if (window.dw.ac) {\n let search_params = {};\n search_params.q = searchtext;\n search_params.suggestedSearchText = '';\n search_params.persd = 'true';\n search_params.refs = '[]';\n search_params.sort = sortingrule;\n search_params.imageUUID = '';\n search_params.searchID = 'b5eac80b-16a3-444d-baff-e4d269f79837';\n search_params.locale = window.locale;\n search_params.queryLocale = window.locale;\n search_params.showProducts = 'true';\n window.dw.ac.applyContext({ searchData: search_params });\n if (typeof window.dw.ac._scheduleDataSubmission === 'function') {\n window.dw.ac._scheduleDataSubmission();\n }\n }\n return true;\n },\n trackProductSet: function (pid) {\n window.devmode && console.info(`Tracking product set for ${pid}`);\n try {\n window.dw.ac.capture({ id: pid, type: window.dw.ac.EV_PRD_SETPRODUCT });\n }\n catch (e) {\n console.error(e);\n }\n return true;\n },\n categoryContext: function (cgid) {\n window.devmode && console.info(`Tracking context set to ${cgid}`);\n try {\n window.dw.ac.applyContext({ category: cgid });\n }\n catch (e) {\n console.error(e);\n }\n return true;\n },\n emptyContext: function () {\n window.devmode && console.info(`Tracking context reset`);\n try {\n window.dw.ac.applyContext({});\n }\n catch (e) {\n console.error(e);\n }\n return true;\n },\n};\nexport default einsteinutils;\n","import analytics from '@utils/analytics';\nimport einsteinutils from '@utils/einsteinutils';\nimport { slugify } from '@utils/stringUtils';\nimport axios from 'axios';\nimport React, { useEffect, useRef, useState } from 'react';\nimport { useTranslation } from 'react-i18next';\nimport ProductTile from '@moncler/components/listing/ProductTile';\nconst ProductCarouselFlpRecommended = (props) => {\n const { t } = useTranslation();\n const [products, setProducts] = useState();\n const container = useRef();\n useEffect(() => {\n const cancelTokenSource = axios.CancelToken.source();\n einsteinutils.productRecommendations(props.recommended, (rec) => {\n var _a, _b;\n setProducts(rec.products);\n const componentParent = (_a = container.current) === null || _a === void 0 ? void 0 : _a.closest('[data-react=\"recommendationscarousel-app\"]');\n componentParent === null || componentParent === void 0 ? void 0 : componentParent.classList.add('products-loaded');\n if (rec.products.length > 0) {\n // analytics.productImpressionsRecommended(rec.products, 'recommended_my_moncler');\n analytics.productImpressionsRecommended(rec.products, `recommended_${props.pageType}_${slugify(rec.displayMessage)}`);\n }\n else {\n // non dovrebbe mai succedere questo caso (se viene configurato correttamente un recommender), causa un reflow del dom\n document.querySelector(`[data-option-uuid=\"${props.uuid}\"]`).classList.remove('skeleton-loading');\n const carouselWrapper = (_b = container.current) === null || _b === void 0 ? void 0 : _b.closest('.product-carousel');\n if (carouselWrapper) {\n const recoSwitch = carouselWrapper.querySelector(`[data-switch=\"${props.id}\"]`);\n if (recoSwitch) {\n // carosello\n const currentReco = carouselWrapper.querySelector(`[data-id=\"${props.id}\"]`);\n if (!currentReco.classList.contains('hide')) {\n currentReco.classList.add('hide');\n }\n currentReco.nextElementSibling ? currentReco.nextElementSibling.classList.remove('hide') : currentReco.previousElementSibling.classList.remove('hide');\n // switch caroselli\n if (recoSwitch.classList.contains('active')) {\n recoSwitch.classList.remove('active');\n }\n recoSwitch.nextElementSibling ? recoSwitch.nextElementSibling.classList.add('active') : recoSwitch.previousElementSibling.classList.add('active');\n recoSwitch.style.display = 'none';\n }\n else {\n carouselWrapper.style.display = 'none';\n }\n }\n }\n }, cancelTokenSource);\n return () => cancelTokenSource.cancel();\n }, []);\n if (!products) {\n return React.createElement(\"div\", { dangerouslySetInnerHTML: { __html: props === null || props === void 0 ? void 0 : props.placeholder } });\n }\n return (React.createElement(\"div\", { ref: container, className: \"swiper-container\" }, products.length === 0 ? (window.devmode ? (React.createElement(\"div\", { className: \"devmode devmodebox\" },\n \"RECOMMENDATION SLOT \",\n props.recommended,\n \" \",\n props.recommended && `recommender: ${props.recommended}`,\n \" \",\n (products === null || products === void 0 ? void 0 : products.length) === 0 && '- NO RECOMMENDATIONS RECEIVED')) : (React.createElement(React.Fragment, null))) : (React.createElement(React.Fragment, null,\n React.createElement(\"ul\", { className: \"swiper-wrapper\" }, products.map((product, i) => (React.createElement(\"li\", { key: i, className: \"swiper-slide\" },\n React.createElement(ProductTile, { type: \"RECS\", componentUuid: props.uuid, disableQuickShop: props.disableQuickShop, hidelabels: props.hidelabels, hideprice: props.hideprice, pageType: props.pageType, hoverDifferent: props.hoverDifferent, recommender: props === null || props === void 0 ? void 0 : props.recommended, product: product, index: i }))))),\n React.createElement(\"button\", { className: \"swiper-button-prev carousel-container__navigation-button\", \"aria-label\": t('carousel.prevslidemessage') },\n React.createElement(\"span\", { className: \"carousel-container__button__wrapper\" },\n React.createElement(\"span\", { className: \"button button--arrow-left\" },\n React.createElement(\"span\", { className: \"button__text\" }, t('label.more'))))),\n React.createElement(\"button\", { className: \"swiper-button-next carousel-container__navigation-button\", \"aria-label\": t('carousel.nextslidemessage') },\n React.createElement(\"span\", { className: \"carousel-container__button__wrapper\" },\n React.createElement(\"span\", { className: \"button button--arrow-right\" },\n React.createElement(\"span\", { className: \"button__text\" }, t('label.more')))))))));\n};\nexport default ProductCarouselFlpRecommended;\n"],"names":["ProductActionTypes","FETCH_PRODUCT","SET_PRODUCT","TOGGLE_SIZEGUIDE","UserInfoActionTypes","FETCH_USERINFO","SearchActionTypes","TOGGLE_SEARCH","RESET_SEARCH","INPUT_SEARCH","QUERY_SEARCH","FETCH_SEARCH","UPDATE_SEARCH_REFINEMENT","MENU_DATA","ListingActionTypes","FETCH_LISTING","UPDATE_LISTING_REFINEMENT","TOGGLE_LANDING_ANIMATION","MinicartActionTypes","FETCH_MINICART_AFTER_UPDATE","FETCH_MINICART_AND_OPEN","UPDATE_MINICART","CLOSE_MINICART","HOVERING_MINICART","BagActionTypes","FETCH_BAG","SETMESSAGE","REMOVE_PRODUCT_FROM_BAG","INCREASE_QUANTITY","DECREASE_QUANTITY","ADD_PROMO_CODE","PROMOCODE_REMOVE","AccountActionTypes","FETCH_PROFILE","UPDATE_PROFILE","FETCH_ADDRESSES","FETCH_MODEL","DELETE_ADDRESSES","FETCH_SAVEDCARDS","DELETE_SAVEDCARD","OrdersActionTypes","FETCH_ORDERS","FETCH_ORDERS_PAGED","FETCH_ORDERS_DETAIL","FETCH_RETURNS","FETCH_RETURNS_PAGED","CLEAN_FORM_ERRORS","SET_ERROR","UPDATE_RETURN","AftercareActionTypes","FETCH_AFTERCARE","UPDATE_AFTERCARE","CheckoutActionTypes","FETCH_CHECKOUTDATA","FETCH_PBLCHECKOUTDATA","UPDATE_ORDER","UPDATE_EMAIL","UPDATE_PAYMENTERROR","UPDATE_SHIPPINGMETHODS","UPDATE_CUSTOMER","FETCH_PAYMENTMETHODS","FETCH_PICKUP","UPDATE_LOADING","UPDATE_SHIPPINGADDRESS","UPDATE_GIFTCARDS_APPLIED","UPDATE_IS_FETCHING_DATA","AccordionStepsActionTypes","NAVIGATE_STEP","StoreLocatorActionTypes","FETCH_STORES","FETCH_STORE_DETAILS","UPDATE_BOUNDS","USE_LOCATION","einsteinutils","getCQuotient","einsteinUtils","window","CQuotient","getCQUserId","getCQCookieId","processRecommendations","recommender","callback","anchors","onError","this","params","userId","cookieId","ccver","splice","forEach","anchor","push","id","masterId","sku","type","alt_id","getRecs","clientId","widgets","recommenderName","parameters","productRecommendations","cancelToken","slot","slotuuid","einsteinResponse","rec","pids","recs","map","r","length","then","async","data","title","displayMessage","recoUUID","products","product","trackProductRecommended","productRecommendationsFromSlot","recommenderCallback","productList","recommendermatch","RegExp","exec","slotConfigurationUUIDMatch","item","analyticsAttributes","variant","console","warn","test","error","trackProductDetail","pid","masterid","devmode","info","dw","ac","capture","EV_PRD_DETAIL","e","trackViewProduct","realm","siteId","instanceType","EV_PRD_RECOMMENDATION","cq_params","emailId","getCQHashedEmail","loginId","getCQHashedLogin","accumulate","locale","slotId","slotConfigId","slotConfigTemplate","sendActivity","activities","activityType","trackProductInCategory","category","sortingrule","EV_PRD_SEARCHHIT","categoryId","refinements","JSON","stringify","name","value","personalized","sortingRule","imageUUID","queryLocale","trackProductInSearch","searchtext","searchText","textRelevance","showProducts","search_params","q","suggestedSearchText","persd","refs","sort","searchID","applyContext","searchData","_scheduleDataSubmission","trackProductSet","EV_PRD_SETPRODUCT","categoryContext","cgid","emptyContext","props","t","setProducts","useState","container","useRef","useEffect","cancelTokenSource","recommended","_a","_b","componentParent","current","closest","classList","add","pageType","document","querySelector","uuid","remove","carouselWrapper","recoSwitch","currentReco","contains","nextElementSibling","previousElementSibling","style","display","cancel","ref","className","i","key","componentUuid","disableQuickShop","hidelabels","hideprice","hoverDifferent","index","dangerouslySetInnerHTML","__html","placeholder"],"sourceRoot":""}