(function() { function bxBootstrap() { var re = /bot|crawl|slurp|spider|mediapartners|headlesschrome|snap-prefetch|remotasks|woorank|uptime\.com|facebookexternalhit|facebookcatalog/i; if (re.test(navigator.userAgent) || navigator.userAgent == '') { return; } if (!(window.bouncex&&bouncex.website)) { var pushedData = []; if(window.bouncex && bouncex.push && bouncex.length){ pushedData = bouncex; } window.bouncex = {}; bouncex.pushedData = pushedData; bouncex.website = {"id":3767,"name":"Ralph Lauren ES","cookie_name":"bounceClientVisit3767","domain":"ralphlauren.es","ct":"fp_local_storage","ally":0,"ei":0,"tcjs":"","cjs":"// Omniture tracking\nbouncex.omnitureLinkTrack = function(label) {\n/* https://www.wrike.com/open.htm?id=655430916 */\n try {\n window.s.events = '';\n window.s.linkTrackVars = 'eVar96,eVar10,eVar11,eVar12,prop7,prop8,prop1';\n window.s.eVar96 = label;\n window.s.eVar10 = bouncex.utils.getNestedProp('digitalData.page.pageName', '');\n window.s.eVar11 = bouncex.utils.getNestedProp('digitalData.page.pageLocale', '');\n window.s.eVar12 = bouncex.utils.getNestedProp('digitalData.page.pageType', '');\n window.s.prop7 = bouncex.utils.getNestedProp('digitalData.page.pageName', '');\n window.s.prop8 = bouncex.utils.getNestedProp('digitalData.page.pageLocale', '');\n window.s.prop1 = bouncex.utils.getNestedProp('digitalData.page.pageType', '');\n window.s.tl(true, 'o', label);\n\twindow.s.linkTrackVars = undefined;\n\twindow.s.eVar96 = undefined;\n\twindow.s.eVar10 = undefined;\n window.s.eVar11 = undefined;\n window.s.eVar12 = undefined;\n window.s.prop7 = undefined;\n window.s.prop8 = undefined;\n window.s.prop1 = undefined;\n } catch (e) {\n bouncex.err('BX Omniture Error: ' + e);\n }\n};\n\n// https://www.wrike.com/open.htm?id=665612281\nbouncex.sendToCS = function(csKey, csValue) {\n csKey = \"MA_WK_\" + csKey;\n\n _uxa.push([\"trackDynamicVariable\", {\n key: csKey,\n value: csValue\n }]);\n};\n\nfunction CScallback() {\n if (!disableCallback) {\n disableCallback = true;\n\n if (window.CS_CONF) {\n CS_CONF.integrations = CS_CONF.integrations || [];\n CS_CONF.integrations.push(\"Wunderkind (BounceX)\");\n }\n }\n}\n\nvar disableCallback = false;\n\nwindow._uxa = window._uxa || [];\n_uxa.push([\"afterPageView\", CScallback]); \n\n/* enable.feature.COMPLIANCE_REFACTOR_ENABLED' */\n","force_https":false,"waypoints":false,"content_width":900,"gai":"","swids":"","sd":0,"ljq":"auto","campaign_id":0,"is_preview":false,"aco":{"first_party_limit":"3500","local_storage":"1"},"cmp":{"gdpr":1,"gmp":0,"whitelist_check":1},"burls":[],"ple":false,"fbe":true,"ffs":"","mas":2,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"// Use 3635 as the master config. Last updated on 11-26-22 by SL.\nvar globalConfig = {\n '3635' : {\n lang : 'en',\n domain : 'www.ralphlauren.co.uk',\n customAtcBtnText : 'add to bag',\n cookie : 'dwanonymous_da52d7be668f7d7467cbce92e0d4fd7f',\n privateStorePath : '/private-store',\n privateStoreTxt : 'private store'\n },\n '3766' : {\n lang : 'fr',\n domain : 'www.ralphlauren.fr',\n customAtcBtnText : 'ajouter au panier',\n privateStorePath : '/boutique-privee',\n privateStoreTxt : 'boutique privée'\n },\n '3767' : {\n lang : 'es',\n domain : 'www.ralphlauren.es',\n customAtcBtnText : 'añadir a la bolsa',\n privateStorePath : '/tienda-privada',\n privateStoreTxt : 'tienda privada'\n },\n '3768' : {\n lang : 'de',\n domain : 'www.ralphlauren.de',\n customAtcBtnText : 'in den warenkorb',\n privateStorePath : '/privater-shop',\n privateStoreTxt : 'privater shop'\n },\n '3769' : {\n lang : 'it',\n domain : 'www.ralphlauren.it',\n customAtcBtnText : 'aggiungere alla shopping bag',\n privateStorePath : '/negozio-riservato',\n privateStoreTxt : 'negozio riservato'\n }\n },\n TEST_MODE = false,\n GRID_TILE_SELECTOR = '.product-tile',\n ATC_REQUEST_URL = '/Cart-AddProduct',\n config = globalConfig[bouncex.website.id],\n currentUrl = getCurrentUrl(),\n determineTestMode = makeToggleCheck(TEST_MODE, bouncex.testmode.bxdev),\n cookie = config.cookie || 'dwanonymous_ea2c14a943980bcd732a8fb114fe6817',\n privateStore = detectPrivateStorePage();\n\n/** ******************************** HELPERS ***********************************/\n\n// returns a bool based on a toggle set in above vars\nfunction makeToggleCheck(constantBool, conditionValue) {\n if (constantBool) {\n return !!conditionValue;\n }\n\n return true;\n}\n\nfunction isValidDomain() {\n return currentUrl.indexOf(config.domain) > -1;\n}\n\nfunction isValidForUserTracking() {\n var isGiftCard = currentUrl.indexOf('giftcertpurchase') > -1,\n isDynoSku = currentUrl.indexOf('dynatrace-dynatracetestsku') > -1,\n isValid = !isGiftCard && !isDynoSku;\n\n return isValid;\n}\n\nfunction getCurrentUrl() {\n return bouncex.utils.url.allowParams();\n}\n\nfunction getToken() {\n return bouncex.getBounceCookie(cookie);\n}\n\nfunction setVarAndCookie(varName, value) {\n bouncex.setVar(varName, value);\n bouncex.setBounceCookie();\n}\n\nfunction detectPrivateStorePage(){\n if (jQuery('.callout-message').eq(0).text().toLowerCase().indexOf(config.privateStoreTxt) > -1){\n return true;\n }\n\n /* there can be multiple elements with the id product_group */\n if (jQuery('#product-content #product_group').val() === 'PFS') {\n return true;\n }\n\n if (bouncex.utils.url.allowParams().indexOf(config.privateStorePath) > -1){\n return true;\n }\n return false;\n}\n\nfunction convertStringToObject(payloadString) {\n var obj = {};\n var params = payloadString.split(\"&\");\n \n for (var i = 0; i < params.length; i++) {\n var param = params[i].split(\"=\");\n var key = decodeURIComponent(param[0]);\n var value = decodeURIComponent(param[1]);\n obj[key] = value;\n }\n \n return obj;\n}\n\n/** ******************************* PDP EVENTS *********************************/\n\nfunction getItemIdFromDom() {\n return jQuery('span[itemprop=\"productID\"]').attr('data-masterid');\n}\n\n// function createPrivateStoreId(id){\n// return id + '-PS';\n// }\n\nfunction getGroupIdFromCannonicalUrl() {\n var cannonicalUrl = getCannonicalUrl(),\n id = getItemIdFromUrl(cannonicalUrl);\n\n return id;\n}\n\nfunction getCannonicalUrl() {\n return jQuery('link[rel=\"canonical\"]').attr('href');\n}\n\nfunction getItemIdFromUrl(url) {\n var match = url.match(/-([\\d\\w]+).html/),\n id;\n\n if (match) {\n id = match[1];\n }\n return id;\n}\n\nfunction getItemId() {\n if (bouncex.website.pts !== 'product') {\n return getItemIdFromUrl(jQuery('.pdp-qs-full-details-cta a').attr('href') || '');\n }\n\n return getItemIdFromDom() || getGroupIdFromCannonicalUrl();\n}\n\nfunction getItemFeedId() {\n var productSKU = jQuery('#product-content #productSKU').val() || jQuery('#productSKU').val(),\n currentUrlId = getItemIdFromUrl(getCurrentUrl());\n\n return productSKU || currentUrlId;\n}\n\nfunction getItemCopy() {\n return bouncex.vars.prod_name || jQuery('h1.product-name').text().trim();\n}\n\nfunction isValidForItemTracking(item) {\n var isCorrectLang = currentUrl.indexOf('/' + config.lang + '/') > -1,\n hasLatinCharacters = item.copy.match(/[A-Za-z]/),\n validForItemTracking = isCorrectLang && isValidItemUrl(item.url) && !!hasLatinCharacters;\n\n return validForItemTracking;\n}\n\n// There is an demandware default that this will prevent from tracking\nfunction isValidItemUrl(itemUrl) {\n itemUrl = itemUrl || '';\n return itemUrl.indexOf('/demandware.store') < 0;\n}\n\n// if product has no color variation, use the current url\nfunction getItemUrl() {\n var itemUrl = getCannonicalUrl();\n if (jQuery('span[itemprop=\"productID\"]').length <= 1) {\n /* eslint-disable-next-line no-undef */\n rawUrl = currentUrl;\n }\n return itemUrl;\n}\n\n/* exclusions other than private store */\nfunction isExcluded() {\n var group = jQuery('#product-content #product_group').val();\n return group === 'CYO' || group === 'CROWNJEWELS';\n}\n\nfunction getItemAvailability() {\n var regItemInstock = jQuery('.product-add-to-cart button')\n .length > 0,\n customizableItemInstock = jQuery('.fc-add-to-cart-container button')\n .text()\n .toLowerCase() === config.customAtcBtnText;\n\n return jQuery('.outofstock-callout').text().toLowerCase().indexOf('unavailable') > -1 ? false : regItemInstock || customizableItemInstock;\n}\n\n// We do not want to tracking the item unless the image url contains alternate10 or lifestyle\nfunction getItemImage(){\n return jQuery('.rlc-picture source').first().attr('srcset') || jQuery('.rlc-picture').eq(1).find('source').attr('srcset');\n}\n\nfunction getItem() {\n var id = getItemId(),\n itemId;\n\n return {\n id : itemId || id,\n groupid : id,\n feedid : getItemFeedId(),\n copy : getItemCopy(),\n category : bouncex.utils.getNestedProp('dw.ac._category') || 'global',\n url : getItemUrl(),\n imageurl : getItemImage(),\n price : bouncex.vars.prod_price,\n instock : getItemAvailability() || bouncex.vars.in_stock,\n privatestore : privateStore,\n excluded : isExcluded()\n };\n}\n\nfunction getSkuObj() {\n var id = getItemId();\n\n return {\n id : id,\n groupid : id,\n feedid : getItemFeedId()\n };\n}\n\nfunction fireItemTracking(item) {\n var pushItem = {\n id : item.id,\n copy : item.copy,\n category : item.category,\n url : item.url,\n imageurl : item.imageurl,\n price : item.price,\n instock : item.instock,\n privatestore : item.privatestore,\n excluded : item.excluded\n };\n bouncex.push([\n 'item',\n pushItem\n ]);\n\n}\n\nfunction fireViewItem(item) {\n bouncex.push([\n 'view item',\n {\n 'item:id' : item.id,\n 'item:itemgroupid' : item.groupid\n }\n ]);\n\n}\n\nfunction fireSelectSku(skuObj){\n var pushSkuObj = {\n 'item:id' : skuObj.id,\n 'item:itemgroupid' : skuObj.groupid,\n 'item:feedid' : skuObj.feedid\n };\n bouncex.push(['select_sku', pushSkuObj]);\n\n}\n\n/** ******************************* CAT EVENTS *********************************/\n\nfunction getItemIdsCat() {\n var ids = [],\n tiles = jQuery(GRID_TILE_SELECTOR),\n i = 0;\n\n for (i; i < tiles.length; i++ ) {\n var id = tiles.eq(i).attr('data-masterid');\n\n if (id && ids.indexOf(id) === -1) {\n ids[ids.length] = id;\n }\n }\n\n return ids.join(',');\n}\n\nfunction getCategoryTitle() {\n var h1CatName = jQuery('h1.category-name').first().text(),\n breadCrumbCat = jQuery('.plp-info-breadcrumb-category-name').first().text(),\n catTitle = h1CatName || breadCrumbCat;\n return catTitle.trim();\n}\n\nfunction fireViewCategory(catObj) {\n bouncex.push([\n 'view category',\n {\n 'items:ids' : catObj.ids,\n 'page:url' : catObj.url,\n 'page:title' : catObj.title\n }\n ]);\n\n}\n\nfunction getCatObj() {\n return {\n ids : getItemIdsCat(),\n url : currentUrl,\n title : getCategoryTitle()\n };\n}\n\n\n/** ****************************** CART EVENTS *********************************/\n\nfunction trackAJAXCart(e, xhr, settings) {\n if (\n settings.url.indexOf('/Cart-AddProduct') > -1 &&\n !bouncex.utils.url.getParam('bx_cart') &&\n xhr.status === 200\n ) {\n var dataObj = convertStringToObject(settings.data || ''),\n id = dataObj.masterProdId;\n\n replenItem = {\n pid: dataObj.pid,\n qty: dataObj.Quantity || \"1\",\n };\n\n if (!id || !replenItem.pid || !replenItem.qty) {\n return;\n }\n\n fireAddToCart(id, replenItem);\n }\n}\n\nfunction fireAddToCart(itemId, replenItem) {\n bouncex.push([\n \"add to cart\",\n {\n \"item:id\": itemId,\n \"cart:item\": bouncex.stringify(replenItem),\n },\n ]);\n \n if (bouncex.vars.cart) {\n return;\n }\n bouncex.setVar(\"cart\", true);\n}\n\nfunction trackEmptyCart() {\n if (\n bouncex.vars.cart\n && bouncex.vars.cart_qty === 0\n && !bouncex.utils.url.getParam('bx_cart')\n ) {\n fireEmptyCart();\n }\n\n}\n\nfunction fireEmptyCart() {\n bouncex.push(['empty_cart']);\n setVarAndCookie('cart', false);\n\n}\n\n/** ***************************** LoggedIn User ********************************/\n\nfunction trackLoggedInUser() {\n var email = jQuery('div.dwfrm_profile_customer_email input.email').val();\n\n if (bouncex.utils.validate.email(email)) {\n fireLoggedInUser(email);\n }\n\n}\n\nfunction fireLoggedInUser(email) {\n bouncex.push([\n 'user',\n {\n 'email' : email,\n 'source' : 'LoggedIn'\n }\n ]);\n\n setVarAndCookie('logged_in_identified', true);\n\n}\n\n/** **************************** INITIALIZE EVENTS *****************************/\n\nfunction isValidItem(item) {\n return (\n item.id\n && item.copy\n && item.category\n && item.imageurl\n );\n}\n\nfunction initializeSelectSku(skuObj) {\n var newSku;\n skuObj = skuObj || getSkuObj();\n bouncex.et.on(\n bouncex.document,\n 'ajaxComplete.bx',\n function(e, xhr, settings) {\n if (xhr.status === 200) {\n if (settings.url.indexOf('/Product-Variation') > -1) {\n newSku = getItemFeedId();\n if (newSku !== skuObj.feedid){\n skuObj.feedid = newSku;\n fireSelectSku(skuObj);\n }\n return;\n }\n\n if (settings.url.indexOf('/Product-Show') > -1) {\n skuObj = getSkuObj();\n fireViewItem(skuObj);\n\n }\n\n }\n }\n );\n}\n\nfunction initializePdPEvents() {\n var skuObj = {},\n item;\n\n if (bouncex.website.pts === 'product') {\n bouncex.et.onTrue(\n function() {\n item = getItem();\n return isValidItem(item);\n },\n function() {\n fireViewItem(item);\n\n if (isValidForItemTracking(item)) {\n fireItemTracking(item);\n }\n skuObj.id = item.id;\n skuObj.groupid = item.groupid;\n skuObj.feedid = item.feedid || getItemFeedId();\n initializeSelectSku(skuObj);\n },\n 10\n );\n }\n}\n\nfunction isValidCatObj(catObj) {\n return (\n catObj.ids\n && catObj.url\n && catObj.title\n );\n}\n\nfunction initializeCatEvents() {\n var catObj;\n if (bouncex.website.pts === 'category') {\n bouncex.et.onTrue(\n function(){\n catObj = getCatObj();\n return isValidCatObj(catObj);\n },\n function(){\n fireViewCategory(catObj);\n initializeSelectSku(null);\n\n }\n );\n }\n\n}\n\nfunction initializeCartEvents() {\n bouncex.et.cart.init({\n replenishmentType: 'ajax',\n replenish: function (cart) {\n var deferreds = []\n\n cart.items.forEach(function (item) {\n deferreds.push(makeAjaxATCFunc(item))\n })\n\n deferreds\n .reduce(function (promise, func) {\n return promise.then(function () {\n return func()\n })\n }, jQuery.Deferred().resolve([]))\n .then(replenComplete)\n },\n })\n\n function makeAjaxATCFunc(replenItem) {\n return function () {\n return jQuery.ajax({\n type: 'POST',\n url: 'https://www.ralphlauren.es/on/demandware.store/Sites-RLEU_Sterling-Site/es_ES/Cart-AddProduct',\n data: {\n pid: replenItem.pid,\n Quantity: replenItem.qty,\n },\n })\n }\n }\n\n function replenComplete() {\n window.location.href = currentUrl + '?bx_replen=true'\n }\n\n bouncex.et.on(bouncex.document, 'ajaxComplete.wknd', trackAJAXCart)\n\n initializeEmptyCartTracking();\n}\n\nfunction initializeEmptyCartTracking() {\n if (bouncex.website.pts === 'cart' ){\n bouncex.et.onVisible(\n '.cart-empty',\n trackEmptyCart\n );\n }\n bouncex.et.onVarChange('cart_qty', trackEmptyCart);\n\n}\n\nfunction initializeLoggedInUserTracking() {\n if (\n bouncex.vars.logged_in\n && !bouncex.vars.logged_in_identified\n && currentUrl.indexOf('/profile') > -1\n ){\n trackLoggedInUser();\n }\n\n}\n\nfunction initializeTrackingSiteWide() {\n if (isValidForUserTracking()) {\n initializePdPEvents();\n initializeCatEvents();\n }\n\n initializeCartEvents();\n initializeLoggedInUserTracking();\n\n}\n\n/** *********************** INITIALIZE EVENTS SITEWIDE *************************/\n\nfunction init() {\n if (isValidDomain() && determineTestMode) {\n initializeTrackingSiteWide();\n }\n\n}\n\ninit();\n","dge":false,"bxidLoadFirst":false,"pie":false,"cme":false,"gbi_enabled":0,"bpush":false,"pt":{"cart":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/cart"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/Cart-SubmitForm"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":".staging"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"carte"}]]},"category":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('.pt_product-search-result').length > 0;"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('.pt_categorylanding .product-tile .rlc-prodinfo').length > 0;"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/search"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/shipping"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkoutshipping"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/COBilling-Billing"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"checkout"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":".staging"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('link[rel=\"canonical\"][href=\"https://www.ralphlauren.es\"]').length > 0;"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('.pt_product-details').length > 0;"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/giftcertpurchase"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/search"}]]}},"els":{"CART - Checkout Button":"","CART - Promo Code Apply Button":"","CART - Promo Code Box":"","CAT - Product Grid Image":"","CAT - Quickview Box":"","CAT-AddtoCartButton":"","CAT-QuickviewAddtoCart":"","Footer":"","Navigation bar":"","PDP - Add to Cart Button":"","PDP - Color Option":"","PDP - Hero Image":"","PDP - Product Name":"","PDP - Product Price":"","PDP - Quantity Option":"","PDP - Review Stars":"","PDP - Size Option":"","PDP - Thumbnail Image":"","SEARCH - Product Grid Image":""},"vars":[{"name":"logged_in","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.sign-out-button').length > 0 || bouncex.utils.getNestedProp('digitalData.user.userLoginState') === 'registered';","trigger":""},{"name":"ever_logged_in","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.logged_in ? true : null;","trigger":""},{"name":"cart_qty","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"0","code":"bouncex.website.pts === 'checkout' && jQuery('.checkout-order-details .quantity').length > 0 ? Number(jQuery('.checkout-order-details .quantity').text()) : Number(jQuery('.minicart-quantity').text());","trigger":""},{"name":"cart_value","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"bouncex.website.pts !== 'checkout' && jQuery('.mini-cart-subtotals .value').length > 0 ? Number(jQuery('.mini-cart-subtotals .value').text().replace(/\\./g, '').replace(',', '.').replace(/[^0-9.]/g, '')) : null;","trigger":""},{"name":"prod_price","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"0","code":"(function(){\n\tif (bouncex.website.pts === 'product') {\n\t\tvar $itemPrice = jQuery('#product-detail-section .product-price');\n\n\t\tvar itemPrice = $itemPrice.text().replace(/\\./g, '').replace(',', '.').replace(/[^0-9.]/g, '');\n\t\tvar priceRange = $itemPrice.find('.lowblack').text().replace(/\\./g, '').replace(',', '.').replace(/[^0-9.]/g, '');\n var salesPrice = $itemPrice.find('.price-sales').text().replace(/\\./g, '').replace(',', '.').replace(/[^0-9.]/g, '');\n\t\tvar customItemPrice = jQuery('#primary .fc-price-container').text().replace(/[^0-9.]/g, '');\n var collectionPrice = jQuery('.product-top-content .product-price .lowblack').text().replace(/\\./g, '').replace(',', '.').replace(/[^0-9.]/g, '');\n\t\t\n\t\treturn salesPrice ? salesPrice : priceRange ? priceRange : itemPrice ? itemPrice : customItemPrice ? customItemPrice : collectionPrice ? collectionPrice : false;\n\t}\n\treturn false;\n})();","trigger":""},{"name":"prod_name","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts === 'product' && (jQuery('#product-detail-section .product-name').text().trim() || jQuery('#primary .fc-product-title').text().trim() || jQuery('.product-top-content .product-name').text().trim()) || false;","trigger":""},{"name":"in_stock","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts === 'product' && jQuery('.fc-unavailable-details:visible').length === 0 && jQuery('#product-content button#add-to-waitlist:visible').length === 0;","trigger":""},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"jQuery('#EmailSuccess .thank-msg:visible').length > 0 || null;","trigger":""},{"name":"item_id_product","polling":"none","persist":"no","page_types":["product"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"item_id_quickview","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"","trigger":"event"},{"name":"item_id_hover","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"","trigger":"event"},{"name":"items_ids","polling":"none","persist":"no","page_types":["category","search"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"item_url","polling":"none","persist":"no","page_types":["product"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"item_image_url","polling":"none","persist":"no","page_types":["product"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"item_category","polling":"none","persist":"no","page_types":["product"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"item_price","polling":"none","persist":"no","page_types":["product"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"item_in_stock","polling":"none","persist":"no","page_types":["product"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"page_url","polling":"none","persist":"no","page_types":["category","search"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"page_title","polling":"none","persist":"no","page_types":["category"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"item_copy","polling":"none","persist":"no","page_types":["product"],"testmode":true,"default":"false","code":"","trigger":"pageload"},{"name":"cart_token","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"null;","trigger":"pageload"},{"name":"cart_items","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"null;","trigger":"pageload"},{"name":"chatbox_open","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('iframe#webWidget').hasClass('zEWidget-webWidget--active');","trigger":"pageload"},{"name":"uxfeedback_open","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('#acsMainInvite:visible').length > 0;","trigger":"pageload"},{"name":"monetate_open","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('#monetate_lightbox_mask:visible').length > 0;","trigger":"pageload"},{"name":"cookie_banner_visible","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.optanon-alert-box-wrapper:visible').length > 0","trigger":"pageload"},{"name":"page_type","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts","trigger":"pageload"},{"name":"cart","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"logged_in_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"hero_chat_visible","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.hero-plugin-container.active').length > 0;","trigger":"pageload"},{"name":"wknd_impression","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"/*returns true if any wknd campaign is currently impressed*/\n(function () {\n for (var campaign in bouncex.campaigns) {\n if (bouncex.campaigns[campaign].ad_visible) {\n return true;\n }\n }\n return false;\n})();","trigger":"pageload"},{"name":"post_survey","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"trigger_survey","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"true","code":"null;","trigger":"pageload"},{"name":"user_identified","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"!!(bouncex.cookie.uid || bouncex.getBounceCookie('__ibxu'));","trigger":"pageload"},{"name":"identified_user","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"}],"dgu":"pixel.cdnwidget.com","dgp":false,"ba":{"enabled":0,"fbte":0},"biu":"assets.bounceexchange.com","bau":"api.bounceexchange.com","beu":"events.bouncex.net","ibx":{"tjs":"","cjs":"","miw":1,"mibcx":1,"te":1,"cart_rep":{"get":"","set":""},"ulpj":{"et_rid":"espemailid"},"cus":"","miw_exclude":"","enabled":1},"etjson":null,"osre":true,"osru":"osr.bounceexchange.com/v1/osr/items","checkDfp":false,"gamNetwork":"","spa":0,"spatm":1,"preinit_cjs":"","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"coupons.bounceexchange.com","dfpcms":0,"sms":{"optm":"","eventSharing":false,"shqId":"","enabled":0},"pde":false,"fmc":["AW","AI","AG","AR","BS","BB","BZ","BM","BO","BQ","BR","CA","KY","CL","CO","CR","CU","CW","DM","DO","EC","SV","GF","GL","GD","GT","GP","HT","HN","JM","MQ","MX","MS","NI","PA","PY","PE","PR","PM","MF","BL","KN","LC","VC","SX","SR","TT","US","UM","UY","VE","VG","VI","AS","AP","AU","KH","CN","CX","FJ","AF","BD","BT","BN","CC","CK","GU","HK","HM","IN","ID","JP","KZ","KI","KP","KR","KG","LA","MO","MY","MV","MH","FM","MN","MM","NR","NP","NC","NZ","NF","MP","NU","PK","PW","PG","PN","PH","RU","WS","SG","SB","LK","TW","TJ","TH","TL","TK","TO","TM","TV","UZ","VU","VN","WF","AX","AL","AD","AM","AT","AZ","BY","BE","BA","BG","HR","CY","CZ","DK","EE","EU","FO","FI","FR","GI","GG","GE","DE","GR","HU","IM","IS","IE","IT","JE","LV","LI","LT","LU","MT","MD","MC","ME","NL","MK","NO","PL","PT","RO","SM","RS","SK","SI","ES","SJ","SE","CH","UA","GB","VA","DZ","AO","BJ","BW","BI","BF","CV","CM","CF","TD","KM","CG","CD","CI","DJ","EG","GQ","ER","SZ","ET","GA","GM","GH","GN","GW","GY","BH","IR","IQ","IL","JO","KE","KW","LB","LS","LR","LY","MG","MW","ML","YT","MR","MU","MA","MZ","NA","NE","NG","OM","PS","QA","RE","RW","ST","SA","SN","SC","SL","SO","ZA","SS","SD","SY","TZ","TG","TN","TR","UG","AE","EH","YE","ZM","ZW"],"fme":true,"fmx":"","uid2":false,"sdk":{"android":{"enabled":false,"enabledVersions":[],"eventModifications":null},"ios":{"enabled":false,"enabledVersions":[],"eventModifications":null}},"onsite":{"enabled":1},"ads":{"enabled":0},"pubs":{"enabled":0},"websdk":{"enabled":0,"devMode":0},"ga4_property_id":"","ga4_measurement_id":"","tag_state_domain":"api.bounceexchange.com"} ; bouncex.tag = 'tag3'; bouncex.$ = window.jQuery; bouncex.env = 'production'; bouncex.restrictedTlds = {"casl":{"ca":1},"gdpr":{"ad":1,"al":1,"at":1,"ax":1,"ba":1,"be":1,"bg":1,"by":1,"xn--90ais":1,"ch":1,"cy":1,"cz":1,"de":1,"dk":1,"ee":1,"es":1,"eu":1,"fi":1,"fo":1,"fr":1,"uk":1,"gb":1,"gg":1,"gi":1,"gr":1,"hr":1,"hu":1,"ie":1,"im":1,"is":1,"it":1,"je":1,"li":1,"lt":1,"lu":1,"lv":1,"mc":1,"md":1,"me":1,"mk":1,"xn--d1al":1,"mt":1,"nl":1,"no":1,"pl":1,"pt":1,"ro":1,"rs":1,"xn--90a3ac":1,"ru":1,"su":1,"xn--p1ai":1,"se":1,"si":1,"sj":1,"sk":1,"sm":1,"ua":1,"xn--j1amh":1,"va":1,"tr":1}}; bouncex.client = { supportsBrotli: 1 }; bouncex.assets = {"ads":"7b352b1295e35e9c90089d9dd48e488f","creativesBaseStyles":"a53944a2","gpsAuction":"bbb80866120d17013073bb6d284cbd6b","inbox":"75060a85c1a4aebcc6f779b9e84db722","onsite":"abbdf7a49be9b52b097917b7b527b262","sms":"e39203556bab2366e56296ce42e974a7","websdk":"0834ab10058954fe44c26b31f2e1ce30"}; bouncex.push = function(pushData) { bouncex.pushedData.push(pushData); } var runtime = document.createElement('script'); runtime.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/runtime_c81e76ee00d795b1eebf8d27949f8dc5.br.js'); runtime.setAttribute('async', 'async'); bouncex.initializeTag = function() { var script = document.createElement('script'); script.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/main-v2_ebe451a946893ac92b8458b147333165.br.js'); script.setAttribute('async', 'async'); document.body.appendChild(script); bouncex.initializeTag = function() {}; }; runtime.onload = bouncex.initializeTag; document.body.appendChild(runtime); } } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", bxBootstrap); } else { bxBootstrap(); }})();