(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":4825,"name":"Gymboree","cookie_name":"bounceClientVisit4825","domain":"gymboree.com","ct":"fp_local_storage","ally":0,"ei":0,"tcjs":"","cjs":"/* wrike 783331164: reload campaigns if user identified, but no campaigns showing */\nif (!bouncex.vars.user_identified_ibx) {\n bouncex.et.onVarChange('user_identified_ibx', function(old, new_val) {\n var campaign_visible = false;\n for (var c_id in bouncex.campaigns) {\n if (bouncex.campaigns.hasOwnProperty(c_id) && bouncex.campaigns[c_id].ad_visible) {\n campaign_visible = true;\n break;\n }\n }\n \n /* RTV value was previously false, currently true, and no campaigns impressed */\n if (!old && new_val && !campaign_visible) {\n bouncex.reload_campaigns();\n }\n });\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":0,"gmp":0,"whitelist_check":0},"burls":[],"ple":false,"fbe":true,"mas":1,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"/* ---------------------------- SHARED VARIABLES ---------------------------- */\nvar globalConfig = {\n '4824': {\n domain_origin: 'www.childrensplace.com/us'\n },\n '4825': {\n domain_origin: 'www.gymboree.com/us'\n },\n '4826': {\n domain_origin: 'www.sugarandjade.com/us/'\n }\n },\n config = globalConfig[bouncex.website.id],\n PDP_ID;\n\n/* --------------------------------- HELPERS -------------------------------- */\nfunction getUrl() {\n var url = bouncex.utils.url.allowParams();\n\n if (url.indexOf('&') > -1) {\n url = url.split('&')[0];\n }\n\n return url;\n}\n\nfunction setVarAndCookie(varName, value) {\n bouncex.setVar(varName, value);\n bouncex.setBounceCookie();\n}\n\nfunction isCollectionPage() {\n return getUrl().indexOf('Collection') > -1;\n}\n\nfunction formatItemId(string) {\n var itemId = string.split('/').pop() || '';\n return itemId.split('-').slice(-2).join('_');\n}\n\nfunction getCurrentProduct() {\n if (window.__NEXT_REDUX_STORE__ && typeof window.__NEXT_REDUX_STORE__.getState === 'function') {\n var state = window.__NEXT_REDUX_STORE__.getState();\n return bouncex.utils.getNestedProp('ProductDetail.currentProduct', {}, state);\n }\n return {};\n}\n\nfunction getSkuObj() {\n var selectedColor = jQuery('.image-chips-selector-title-name').text(),\n selectedFit = jQuery('.fit-selector .item-selected-option').text(),\n selectedSize = jQuery('.size-selector .item-selected-option').text() || jQuery('.size-and-fit-detail-item input:checked').val() || jQuery('.size-and-fit-detail-item.item-selected-option input').val(),\n currentProduct = getCurrentProduct(),\n colorArr = bouncex.utils.getNestedProp('colorFitsSizesMap', [], currentProduct),\n colorObj,\n fitArr,\n fitObj,\n sizeArr,\n selectedSku,\n selectedGroupId;\n\n // If correct object has not loaded we can not fire select_sku events\n if (currentProduct && currentProduct.productId !== PDP_ID) {\n return;\n }\n\n // Find the selected color from the window obj color array.\n // If no color is selected (i.e. there is only one color) then\n // our colorObj will be the first element from the color array.\n if (selectedColor) {\n colorArr.forEach(function(c) {\n if (c.color.name === selectedColor) {\n colorObj = c;\n }\n });\n } else {\n colorObj = colorArr[0] || {};\n }\n\n fitArr = colorObj && colorObj.fits || [];\n\n // find the selected fit from the colorObj fits array.\n // If no fit is selected (i.e. there is only one fit) then\n // our fitObj will be the first element from the fits array.\n if (selectedFit) {\n fitArr.forEach(function(f) {\n if (f.fitName === selectedFit) {\n fitObj = f;\n }\n });\n } else {\n fitObj = fitArr[0] || {};\n }\n\n sizeArr = fitObj && fitObj.sizes || [];\n\n // find the selected size from the size array\n // and grab the skuID and groupID from here\n sizeArr.forEach(function(variant) {\n if (variant.sizeName === selectedSize) {\n selectedSku = variant.variantId;\n selectedGroupId = variant.prodPartNo;\n }\n });\n\n return {\n selectedSku: selectedSku,\n selectedGroupId: selectedGroupId\n };\n}\n\n/* ------------------------------ ITEM TRACKING ----------------------------- */\nfunction getProdName() {\n var textNodesFiltered = jQuery('[itemprop=\"name\"],.product-title').eq(0)\n .contents()\n .filter(function () {\n return this.nodeType === 3;\n });\n return textNodesFiltered.eq(0).text();\n}\n\nfunction getValidImgUrl(itemId) {\n var images = jQuery('meta[property=\"og:image\"][content*=' + itemId + ']');\n for (var i = 0; i < images.length; i++) {\n var currentImg = jQuery(images[i]).attr('content');\n if (currentImg && currentImg.indexOf('.jpg') > -1 && currentImg.indexOf('.mp4') === -1) {\n return currentImg;\n }\n }\n return false;\n}\n\nfunction getItemImage(itemId) {\n var imgUrl = jQuery('[property=\"og:image\"][content*=' + itemId + ']').first().attr('content'),\n smImg = '/w_200/',\n lgImg = '/w_600/';\n\n if (imgUrl && imgUrl.indexOf('.jpg') === -1 && imgUrl.indexOf('.mp4') > -1) {\n imgUrl = getValidImgUrl(itemId);\n }\n\n if (imgUrl && imgUrl.indexOf(smImg) > -1) {\n imgUrl = imgUrl.replace(smImg, lgImg);\n }\n\n return imgUrl;\n}\n\nfunction getItem() {\n var url = getUrl(),\n itemId = formatItemId(url);\n return {\n id: itemId,\n copy: getProdName(),\n category: jQuery('.breadcrum-container span:last').text() || 'Global',\n url: url,\n imageurl: getItemImage(itemId),\n price: bouncex.vars.prod_price,\n instock: !jQuery('.add-to-bag-button').attr('disabled'),\n abanexclude: jQuery('#productDetailsSection .product-badge').first().text().toLowerCase().indexOf('just a few left') > -1\n };\n}\n\nfunction fireViewItem(item) {\n var pushItem = { 'item:id': item.id };\n\n if (item.groupId) {\n pushItem['item:itemgroupid'] = item.groupId;\n }\n bouncex.push(['view item', pushItem]);\n}\n\nfunction isExcluded(item) {\n return (\n item.url.indexOf('giftcard') > -1 ||\n item.url.indexOf('gift-cards') > -1 ||\n bouncex.utils.getNestedProp('pageData.pageType') === 'outfit' ||\n window.location.href.indexOf('search') === 0\n );\n}\n\nfunction initializeItemEvents() {\n var item;\n\n bouncex.et.onTrue(\n function () {\n item = getItem();\n return (\n !!item.id &&\n !!item.copy &&\n !!item.category &&\n !!item.price &&\n !!item.url &&\n !!item.imageurl\n );\n },\n function () {\n if (isExcluded(item)) {\n return;\n }\n\n if (isCollectionPage()) {\n fireCollectionPdpTracking(item);\n return;\n }\n\n bouncex.setTimeout2(function () {\n bouncex.push(['item', item]);\n item.groupId = item.id;\n PDP_ID = item.id;\n initializeSkuEvents();\n fireViewItem(item);\n requestAndTrackStyliticsData(item.id);\n }, 1500);\n },\n 10\n );\n}\n\n// Collection pages do not have groupid's\nfunction fireCollectionPdpTracking(item) {\n item.imageurl = jQuery('.outfit-carousal-image.full-size-desktop-image').attr('src');\n item.price = jQuery('meta[itemprop=\"price\"]:first').attr('content');\n bouncex.push(['item', item]);\n fireViewItem(item);\n}\n\nfunction requestAndTrackStyliticsData(itemId) {\n const styliticsURL = 'https://widget-api.stylitics.com/api/outfits?username=gymboree&total=10&item_number=' + itemId;\n\n jQuery.ajax(styliticsURL, {\n success: (res) => {\n bouncex.styliticsData = res;\n\n if (!bouncex.styliticsData || !bouncex.styliticsData.length) {\n bouncex.log('error no stylitics data');\n return;\n }\n\n trackStylitics(itemId);\n },\n error: () => {\n bouncex.error('stylitics data not retrieved');\n }\n });\n}\n\nfunction getBundleURL($bundle) { // stylitics-bundle-container element\n var bundleId = $bundle.attr('data-bundle-id');\n\n if (!bundleId) {\n return false;\n }\n\n var outfitData = bouncex.styliticsData.find(outfit => outfit.id === +bundleId);\n\n if (!outfitData || !outfitData.items) {\n return false;\n }\n\n var itemIds = outfitData.items.map(item => item.remote_id) || [];\n\n if (!itemIds.length) {\n return false;\n }\n\n return `https://www.gymboree.com/us/outfit/${bundleId}/${itemIds.join('-')}`;\n}\n\nfunction trackStylitics(itemId) {\n jQuery('.stylitics-bundle-container').slice(0, 3).each(function() {\n var $el = jQuery(this),\n imageUrl = $el.find('img[src*=\"content.stylitics\"]').attr('src'),\n itemUrl = getBundleURL($el);\n\n var withHost = itemUrl && itemUrl.indexOf(window.location.host) > -1 ? itemUrl : window.location.origin + itemUrl;\n\n if (imageUrl && itemUrl) {\n bouncex.push([\n 'view_collection',\n {\n image_url: bouncex.utils.url.allowParams([], imageUrl),\n item_url: withHost,\n item_id: itemId\n },\n ]);\n }\n });\n}\n\n/* ------------------------------ SKU TRACKING ------------------------------ */\n\nfunction initializeSkuEvents() {\n var lastSkuFired,\n skuObj;\n\n bouncex.et.on(\n bouncex.document,\n 'click.bxsku',\n function () {\n bouncex.et.onTrue(function () {\n skuObj = getSkuObj();\n return skuObj && skuObj.selectedSku && skuObj.selectedSku !== lastSkuFired;\n }, function () {\n bouncex.push([\n 'select_sku',\n {\n 'item:id': skuObj.selectedGroupId,\n 'item:itemgroupid': skuObj.selectedGroupId,\n 'item:feedid': skuObj.selectedSku\n }\n ]);\n lastSkuFired = skuObj.selectedSku;\n }, 5);\n },\n '.size-and-fit-detail-item, .color-title-container'\n );\n}\n\n/* ---------------------------- CATEGORY TRACKING --------------------------- */\nfunction getItemIdsCat() {\n var ids = [],\n $tiles = jQuery('.product-image a'),\n i = 0,\n id = '';\n\n for (i; i < $tiles.length; i++) {\n id = formatItemId($tiles.eq(i).attr('href') || '');\n\n if (!id || ids.indexOf(id) > -1) {\n continue;\n }\n\n ids[ids.length] = id;\n }\n\n return ids.join(',');\n}\n\nfunction getCategoryObject() {\n return {\n 'page:url': getUrl(),\n 'items:ids': getItemIdsCat()\n };\n}\n\nfunction initializeCategoryEvents() {\n var categoryObj;\n\n bouncex.et.onTrue(\n function () {\n categoryObj = getCategoryObject();\n return (\n !!categoryObj['items:ids'].length && !!categoryObj['page:url']\n );\n },\n function () {\n bouncex.push(['view category', categoryObj]);\n },\n 10\n );\n}\n\n/* ------------------------------- CART EVENTS ------------------------------ */\nfunction fireAddToCart(itemId) {\n bouncex.push(['add to cart', { 'item:id': itemId }]);\n\n if (bouncex.vars.cart) {\n return;\n }\n\n setVarAndCookie('cart', true);\n}\n\nfunction trackGlobalAtc() {\n var url = getUrl();\n if (url.indexOf('gift-cards') > -1) {\n return;\n }\n bouncex.et.onVisible('.addedToBagWrapper', function (elem) {\n var product = jQuery(elem).find('.product img.product-image').attr('src').replace(/.jpg|.png|.jpeg/g, '');\n var itemId = formatItemId(product);\n if (itemId) {\n fireAddToCart(itemId);\n }\n });\n}\n\nfunction emptyCart() {\n bouncex.et.onVarChange('cart_qty', function (oldVal, newVal) {\n if (bouncex.vars.cart && newVal === 0 && oldVal > 0) {\n bouncex.push(['empty_cart']);\n setVarAndCookie('cart', false);\n }\n });\n}\n\nfunction isValidEmptyCart() {\n return (\n bouncex.vars.cart_qty === 0 &&\n !bouncex.utils.url.getParam('bx_cart') &&\n !bouncex.utils.getParam('bx_replen')\n );\n}\n\nfunction initializeCartEvents() {\n bouncex.et.cart.init({\n replenish: function () {},\n replenishmentType: 'single'\n });\n\n emptyCart();\n\n // to handle universal cart edge cases\n if (bouncex.vars.cart) {\n bouncex.setTimeout2(function () {\n if (isValidEmptyCart()) {\n bouncex.push(['empty_cart']);\n setVarAndCookie('cart', false);\n }\n }, 2500);\n }\n}\n\n/* ------------------------------ QUICKVIEW ----------------------------- */\nfunction initializeQuickviewEvents() {\n var item = {};\n bouncex.et.onVisible('.TCPModal__InnerContent', function (elem) {\n var url = jQuery(elem).find('a.link-redirect').attr('href'),\n itemId = formatItemId(url);\n\n if (itemId) {\n item.id = itemId;\n item.groupId = itemId;\n fireViewItem(item);\n }\n });\n}\n\n/* ------------------------------ USER TRACKING ----------------------------- */\nfunction trackUserEmail() {\n var userEmail;\n if (getUrl().indexOf('login') > -1) {\n jQuery('.login-button-test-class').click(function () {\n if (jQuery('#textbox__error__emailAddress').text().length === 0 && jQuery('.sc-jrQzAO.cHXcMQ.richTextColor').length === 0) {\n userEmail = jQuery('#emailAddress').val();\n localStorage.setItem('userEmail', userEmail);\n }\n });\n }\n}\n\nfunction initializeUserTracking() {\n var userEmail;\n trackUserEmail();\n\n bouncex.et.onTrue(\n function () {\n userEmail = localStorage.getItem('userEmail') || jQuery('span.sc-dkPtRN.epAOJm[data-locator=\"emailValue\"]').text();\n return (\n userEmail &&\n bouncex.utils.validate.email(userEmail) &&\n bouncex.vars.logged_in &&\n !bouncex.vars.logged_in_identified\n );\n },\n function () {\n bouncex.push([\n 'user',\n {\n email: userEmail,\n source: 'LoggedIn'\n },\n ]);\n setVarAndCookie('logged_in_identified', true);\n }\n );\n}\n\n/* --------------------------- Triggering BW from Native Footer Submit and from \"/content/email-subscribe\" page -------------------------- */\nfunction initializeNativeEmailSubmit() {\n bouncex.off(jQuery(document), 'click.bx', 'button.candidate_a_form_button');\n bouncex.on(jQuery(document), 'click.bx', function () {\n var userEmail = jQuery('input#signup').attr('value');\n bouncex.setTimeout2(function () {\n if (bouncex.utils.validate.email(userEmail) && jQuery('.warning-icon').length === 0) {\n fireRequestEmail(userEmail);\n }\n }, 1000);\n },\n 'button.candidate_a_form_button'\n );\n\n if (getUrl().indexOf('email-subscribe')) {\n bouncex.et.on(\n bouncex.document,\n 'click.bx',\n function () {\n var emailForm = jQuery(this).closest('.emailform__content'),\n userEmail = emailForm.find('input#modal_signup').val();\n\n if (bouncex.utils.validate.email(userEmail)) {\n fireRequestEmail(userEmail);\n }\n },\n '.join-button'\n );\n }\n}\n\nfunction fireRequestEmail(userEmail) {\n bouncex.push([\n 'requestemail',\n {\n email: userEmail,\n campaignId: '1513664',\n testmode: bouncex.testmode.bxdev ? 1 : 0\n },\n ]);\n}\n\n/* --------------------------- Custom Save For Later Cart Event -------------------------- */\n\nfunction trackSaveForLater() {\n var saveForLaterSelectors = 'button[data-locator=\"Save For Later\"], li:has(.save-for-later-icon)',\n itemId,\n itemUrl;\n\n bouncex.et.onVisible(saveForLaterSelectors, function (el) {\n if (bouncex.state.mobile) {\n var upc = jQuery(el).closest('ul').find('div[data-locator=\"cartItemUpc\"]').text().trim().replace('UPC: ','');\n itemUrl = jQuery('img[unbxdparam_sku=\"' + upc + '\"]').closest('.newCartTile').find('.imageWrapper a').attr('href') || '';\n itemId = formatItemId(itemUrl);\n }\n\n bouncex.off(bouncex.document, 'click.bx', saveForLaterSelectors);\n bouncex.et.on(bouncex.document, 'click.bx', function(e) {\n if (!bouncex.state.mobile) {\n itemId = formatItemId((jQuery(e.target).parents('.product-tile-wrapper').find('.imageWrapper a').attr('href') || '').split('/').pop());\n }\n\n if (itemId) {\n bouncex.push(['saveforlater', {\n 'item:id' : itemId\n }]);\n }\n }, saveForLaterSelectors);\n });\n}\n\n\n/* --------------------------- Custom Cancel Event -------------------------- */\nfunction initializeCustomCancelEvent() {\n if (bouncex.utils.url.getParam('instore_coupon', window.location.href)) {\n bouncex.push(['used_coupon', {}]);\n bouncex.push(['visit', { 'customer:hasconverted': 1 }]);\n }\n}\n\n/* --------------------------- INITIALIZE TRACKING -------------------------- */\n\nfunction isValidDomain() {\n return getUrl().indexOf(config.domain_origin) > -1;\n}\n\nfunction isEn() {\n return jQuery('html').attr('lang') === 'en';\n}\n\nfunction isValidForTracking() {\n return isValidDomain() && isEn();\n}\n\nfunction init() {\n if (!isValidForTracking()) {\n return;\n }\n\n initializeUserTracking();\n initializeCartEvents();\n initializeQuickviewEvents();\n initializeNativeEmailSubmit();\n initializeCustomCancelEvent();\n trackGlobalAtc();\n\n switch (bouncex.website.pts) {\n case 'category':\n initializeCategoryEvents();\n break;\n case 'product':\n initializeItemEvents();\n break;\n case 'search':\n initializeCategoryEvents();\n break;\n case 'cart':\n trackSaveForLater();\n break;\n default:\n break;\n }\n}\n\ninit();","dge":true,"bxidLoadFirst":false,"pie":true,"cme":true,"gbi_enabled":0,"bpush":false,"pt":{"cart":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/us/bag"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"test-uat"}]]},"category":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/us/c/"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/us/outfit"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/us/checkout"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/review"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/confirmation"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/billing"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/pickup"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.pathname === '/us/home';"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"test-uat"}]]},"product":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/us/p"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/gift-cards"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/place-card"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/us/search/"}]]}},"els":null,"vars":[{"name":"logged_in","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n if(bouncex.website.pts === 'checkout') {\n return null;\n }\n return jQuery('#accountDrawer').length > 0;\n})();","trigger":""},{"name":"ever_logged_in","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.logged_in || null;","trigger":""},{"name":"cart_qty","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"0","code":"(function() {\n if(bouncex.website.pts === \"checkout\"){\n var regExp = /\\(([^)]+)\\)/,\n matches = regExp.exec(jQuery('[data-locator=\"myBagHdr\"]').text());\n return Number(matches[1]);\n }\n return Number(jQuery('.cartCount').eq(0).text());\n})();","trigger":""},{"name":"cart_value","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function() {\n if (jQuery('.estd-total-label').length) {\n return Number(jQuery('.estd-total-label').text().replace(/[^0-9.]/g, ''));\n }\n else if (jQuery('.items-total p:not([data-locator=\"orderLedgerCount\"])').length) {\n return Number(jQuery('.items-total p:not([data-locator=\"orderLedgerCount\"])').text().replace(/[^0-9.]/g, ''));\n }\n else if (jQuery('.cartCount, .cart-count').length && Number(jQuery('.cartCount, .cart-count').eq(0).text()) === 0) {\n return 0;\n }\n else if(jQuery('.addedToBagWrapper').length){\n return Number(jQuery('.addedToBagWrapper div[data-locator=\"addedtobag-bagsubtotal\"] p').text().replace(/[^0-9.]/g, ''));\n }\n else {\n return null;\n }\n})();","trigger":""},{"name":"prod_price","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"Number(jQuery('.product-summary-wrapper .price-item.actual-price:first').text().replace(/[^0-9.]/g, ''));","trigger":""},{"name":"prod_name","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('h2.product-title').contents().get(0).nodeValue.trim();","trigger":""},{"name":"in_stock","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.outfit-button-wrapper > .button-wrapper > div > button:enabled').length > 0;","trigger":""},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"jQuery('.thank-you__label, #sign-up-modal-form-intro-view').length > 0 || null;\n","trigger":""},{"name":"page_url","polling":"none","persist":"no","page_types":["category","search"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"cart","polling":"none","persist":"permanent","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":"has_20_off_coupon","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.utils.isObject(bouncex.cookie.cpn) && (bouncex.cookie.cpn['20_off'] || bouncex.cookie.cpn['25_off'] || bouncex.cookie.cpn['25_off_2024'] || bouncex.cookie.cpn['30_off_2024']) || null;","trigger":"pageload"},{"name":"user_identified_ibx","polling":"vars","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.cookie.uid === 1 || bouncex.utils.url.getParam('utm_source') === \"wunderkind\" || !!bouncex.utils.url.getParam('om_rid') || !!bouncex.utils.url.getParam('ueh') || 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":0,"mibcx":1,"te":1,"cart_rep":{"get":"","set":""},"ulpj":{"bxid":"espemailid"},"cus":"","miw_exclude":"","enabled":1},"etjson":null,"osre":true,"osru":"osr.bounceexchange.com/v1/osr/items","checkDfp":false,"gamNetwork":"","spa":1,"spatm":0,"preinit_cjs":"SinglePageApp.setCustomParams({\n currentPageIdentifier: function() {\n return window.location.href;\n }\n});\n\n(function(){\n /* wrike 783331164: cookie coupon from ibx clickthrough */\n var couponCode = bouncex.utils.url.getParam('coupon');\n if (couponCode.length > 0 && couponCode.indexOf('') === -1 && bouncex.utils.url.getParam('utm_source') === \"wunderkind\") {\n bouncex.updateBounceCookie(function (cookie) {\n if (!cookie) return;\n cookie.cpn = bouncex.utils.isObject(cookie.cpn) ? cookie.cpn : {};\n cookie.cpn['20_off'] = couponCode;\n });\n }\n})();","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"coupons.bounceexchange.com","dfpcms":0,"sms":{"optm":"","eventSharing":false,"shqId":"","enabled":0},"pde":true,"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"],"fme":true,"fmx":"","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},"ga4_property_id":"","ga4_measurement_id":""} ; 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":"e2e1dbb7c70b701b3c197204872400a0","creativesBaseStyles":"a53944a2","gpsAuction":"1375a7b38c31e98d14fe7f396b72da14","inbox":"02aca5df0e176b8810a86da97ac05424","onsite":"0e56ab6ba004ee080ce3deb3edae35e9","sms":"e39203556bab2366e56296ce42e974a7","websdk":"0704dae1eb637cbeb4a847506058402d"}; bouncex.push = function(pushData) { bouncex.pushedData.push(pushData); } var runtime = document.createElement('script'); runtime.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/runtime_6459738026535cda4232dc813c61447d.br.js'); runtime.setAttribute('async', 'async'); runtime.setAttribute('onload', 'bouncex.initializeTag()'); bouncex.initializeTag = function() { var script = document.createElement('script'); script.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/main-v2_1247731b761376f768004922730ab4f3.br.js'); script.setAttribute('async', 'async'); document.body.appendChild(script); var deviceGraphScript = document.createElement('script'); deviceGraphScript.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/cjs_min_3a843477d8e318f67237a66d0a58c542.js'); deviceGraphScript.setAttribute('async', 'async'); var dgAttrs = [{"Key":"id","Value":"c.js"},{"Key":"async","Value":"true"},{"Key":"data-apikey","Value":"2^HIykD"},{"Key":"data-cb","Value":"bouncex.dg.initPostDeviceGraph"},{"Key":"data-bx","Value":"1"},{"Key":"data-gm","Value":"1"},{"Key":"data-fire","Value":"1"}]; if (dgAttrs) { for (var i = 0; i < dgAttrs.length; i++) { deviceGraphScript.setAttribute(dgAttrs[i].Key, dgAttrs[i].Value); } } document.body.appendChild(deviceGraphScript); bouncex.initializeTag = function() {}; }; document.body.appendChild(runtime); } } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", bxBootstrap); } else { bxBootstrap(); }})();