(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":5572,"name":"American Eagle","cookie_name":"bounceClientVisit5572","domain":"ae.com","ct":"fp_local_storage","ally":0,"ei":0,"tcjs":"","cjs":"","force_https":false,"waypoints":false,"content_width":900,"gai":"UA-3427016-1","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,"ffs":"","mas":2,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"/* ---------------------------- SHARED VARIABLES ---------------------------- */\n\nvar CLEAN_URL = bouncex.utils.url.allowParams(),\n PDP_ATC_ID,\n QV_ATC_ID;\n\n/* --------------------------------- HELPERS -------------------------------- */\nfunction getItemGroupId(url){\n if (!url){\n return;\n }\n\n var sku = getItemId(url),\n skuArr = sku.split('_').slice(0,2);\n\n return skuArr.join('-');\n}\n\nfunction getItemId(url){\n if (!url){\n return '';\n }\n\n url = bouncex.utils.url.allowParams('', url).replace('_s', '');\n\n return url.split('/').pop();\n}\n\nfunction getItemCategory(){\n var breadcrumbs = bouncex.utils.getNestedProp('utag_data.page_breadcrumbs');\n if (!breadcrumbs){\n return 'Global';\n }\n\n if (breadcrumbs.length === 1){\n return breadcrumbs[0];\n }\n\n return breadcrumbs.slice(0,2).join('_');\n}\n\nfunction getItemImage(){\n var imgSrc = jQuery('.item.item-image:first img').attr('src'),\n ogImg;\n\n if (imgSrc){\n return imgSrc.indexOf(window.location.protocol) > -1 ? imgSrc : window.location.protocol + imgSrc;\n }\n\n ogImg = jQuery('meta[property=\"og:image\"]').attr('content');\n if (!ogImg){\n return false;\n }\n\n return ogImg.indexOf('?$pdp-m-opt$') > -1 ? ogImg : ogImg + '?$pdp-m-opt$';\n}\n\nfunction isInStock(){\n return jQuery('.product-oos-label').length === 0 &&\n jQuery('.swatch-active.qa-swatch-out-of-stock').length === 0 &&\n jQuery('button.qa-btn-add-to-bag').length > 0;\n}\n\nfunction getBrand(){\n return window.location.pathname.indexOf('aerie') > -1 ? 'aerie' : 'ae';\n}\n\n/* showing color swatches in emails */\n\nfunction formatSwatchImgUrl(imgStr){\n if (!imgStr){\n return false;\n }\n imgStr = imgStr.indexOf(window.location.protocol) === -1 ? window.location.protocol + imgStr : imgStr;\n return bouncex.utils.url.allowParams('', imgStr);\n}\n\nfunction getActiveSwatch(){\n var activeImgSrc = jQuery('.pdp-grid .qa-color-swatch.qa-swatch-active img').attr('src');\n return formatSwatchImgUrl(activeImgSrc);\n}\n\nfunction getColorOptions(){\n var colorOptions = [],\n activeCoSwatchUrl = getActiveSwatch();\n\n if (activeCoSwatchUrl){\n colorOptions.push(activeCoSwatchUrl);\n }\n\n jQuery('.pdp-grid .qa-color-swatch img').each(function(i,e){\n var coImgUrl = jQuery(e).attr('src');\n coImgUrl = formatSwatchImgUrl(coImgUrl);\n\n if (coImgUrl && colorOptions.indexOf(coImgUrl) === -1 && colorOptions.length <= 5){\n colorOptions.push(coImgUrl);\n }\n });\n\n return colorOptions.join(',');\n}\n\nfunction getBannerCopy1(){\n return jQuery('[class*=\"_going-fast\"], [class*=\"_in-demand\"]').text().trim();\n}\n\nfunction getBannerCopy2(){\n return jQuery('[class*=\"_going-fast\"], [class*=\"_in-demand\"]').closest('div[class^=\"_text-wrapper_\"]').contents().filter(function(){\n return this.nodeType === 3;\n }).text().trim();\n}\n\n/* ------------------------------ ITEM TRACKING ----------------------------- */\n\nfunction getItem() {\n return {\n id: getItemId(CLEAN_URL),\n copy: jQuery('.product-name-and-flags h1[class*=\"product-name\"]:first').text().trim(),\n category: getItemCategory(),\n url: CLEAN_URL,\n imageurl: getItemImage(),\n instock: isInStock(),\n brand: getBrand(),\n stars: jQuery('.psp-extras-reviews [itemprop=\"ratingValue\"], #BVRRRatingOverall_ span.BVRRRatingNumber').first().text().trim(),\n coloroptions: getColorOptions(),\n bannercopy1: getBannerCopy1(),\n bannercopy2: getBannerCopy2()\n };\n}\n\nfunction fireViewItem(id, groupId) {\n var pushItem = { 'item:id': id };\n\n if (groupId) {\n pushItem['item:itemgroupid'] = id;\n }\n bouncex.push(['view item', pushItem]);\n}\n\nfunction initializeItemEvents() {\n var item;\n\n bouncex.et.onTrue(\n function () {\n item = getItem();\n return !!item.id &&\n !!item.copy &&\n !!item.category &&\n !!item.url &&\n !!item.imageurl &&\n !!item.brand &&\n item.imageurl.indexOf(item.id) > -1;\n },\n function () {\n if (item.url.indexOf('gift-card') > -1) {\n return;\n }\n bouncex.push(['item', item]);\n item.groupId = getItemGroupId(item.url);\n fireViewItem(item.id, item.groupId);\n // setting global PDP ID variable to be used in ATC tracking\n PDP_ATC_ID = item.id;\n if (!bouncex.state.mobile){\n initDesktopSkuEvents(item.id, item.groupId);\n } else {\n initMobileSkuEvents(item.id, item.groupId);\n }\n },\n 10\n );\n}\n\n/* ------------------------------ SKU TRACKING ------------------------------ */\nfunction initMobileSkuEvents(itemId, groupId) {\n var $sizeSelector = 'div[data-test-select-custom=\"size\"] .dropdown-menu li',\n lastSkuFired,\n skuId;\n\n bouncex.et.onVisible($sizeSelector, function(){\n jQuery($sizeSelector).on('click.bx', function() {\n skuId = jQuery(this).attr('data-value');\n if (skuId && skuId !== lastSkuFired){\n fireSelectSku(itemId,groupId,skuId);\n lastSkuFired = skuId;\n }\n });\n });\n}\n\nfunction initDesktopSkuEvents(itemId, groupId) {\n var $sizeSelector = 'div[data-test-select-custom=\"size\"] .dropdown-menu li',\n lastSkuFired,\n skuId;\n\n // if size is selected, fire select sku on default when user changes color/page\n // only available on desktop\n bouncex.setTimeout2(function() {\n var activeSizeSelector = bouncex.vars.quickview_modal_open ? '.qv-wrap div[data-test-select-custom=\"size\"] .dropdown-menu li.active' : 'div[data-test-select-custom=\"size\"] .dropdown-menu li.active';\n if (jQuery(activeSizeSelector).length > 0){\n skuId = jQuery(activeSizeSelector).attr('data-value');\n if (skuId){\n fireSelectSku(itemId, groupId, skuId);\n }\n }\n }, 1000);\n\n bouncex.off(jQuery(document), 'click.bxsku', $sizeSelector);\n bouncex.et.on(bouncex.document, 'click.bxsku', function () {\n skuId = jQuery(this).attr('data-value');\n if (skuId && skuId !== lastSkuFired){\n fireSelectSku(itemId,groupId,skuId);\n lastSkuFired = skuId;\n }\n }, $sizeSelector);\n}\n\nfunction fireSelectSku(itemId, groupId, sku){\n bouncex.push([\n 'select_sku',\n {\n 'item:id': itemId,\n 'item:itemgroupid': itemId,\n 'item:feedid': sku\n }\n ]);\n}\n\nfunction initializeQvClickSkuTracking(){\n var sku,\n groupId;\n\n bouncex.off(jQuery(document), 'click.bxsku', '.quickview-colors img[class^=\"_swatch-img_\"]');\n bouncex.et.on(bouncex.document, 'click.bxsku', function () {\n var url = jQuery(this).attr('src') || '';\n\n bouncex.et.onTrue(function () {\n sku = getItemId(url),\n groupId = getItemGroupId(url);\n return !!sku && !!groupId;\n }, function () {\n fireViewItem(sku, groupId);\n initDesktopSkuEvents(sku, groupId);\n\n // bouncex.off(jQuery(document), 'click.bxatc', 'button.add-to-bag');\n // bouncex.et.on(jQuery(document), 'click.bxatc', function () {\n // trackQVAddToCart(sku);\n // },'button.add-to-bag');\n\n }, 5);\n },'.quickview-colors img[class^=\"_swatch-img_\"]');\n}\n\n/* ---------------------------- CATEGORY TRACKING --------------------------- */\n\nfunction getItemIdsCat() {\n var ids = [];\n\n jQuery('.product-content .product-tile, .results-list .product-tile').each(function (i, e) {\n var id = jQuery(e).attr('data-product-id');\n\n if (id && ids.indexOf(id) < 0) {\n ids.push(id);\n }\n });\n\n return ids.join(',');\n}\n\nfunction getCategoryObject() {\n return {\n 'page:url': CLEAN_URL,\n 'items:ids': getItemIdsCat()\n };\n}\n\nfunction initializeCategoryEvents() {\n var categoryObj;\n\n bouncex.et.onTrue(\n function () {\n categoryObj = getCategoryObject();\n return !!categoryObj['items:ids'].length &&\n !!categoryObj['page:url'];\n },\n function () {\n bouncex.push(['view category', categoryObj]);\n },\n 10\n );\n}\n\n/* ------------------------------- CART EVENTS ------------------------------ */\n\nfunction fireAddToCart(itemId, replenItem) {\n if (!itemId || !replenItem.skuId || !replenItem.quantity) {\n return;\n }\n\n bouncex.push(['add to cart', {\n 'item:id': itemId,\n 'cart:item': bouncex.stringify(replenItem)\n }]);\n\n if (bouncex.vars.cart) {\n return;\n }\n bouncex.setVar('cart', true);\n}\n\nfunction initializeATCTracking() {\n var itemId,\n $productContainer,\n mobileAtcSkuId,\n replenItem;\n\n // on mobile we have to grab and store SKU on dropwdown selection\n if (bouncex.state.mobile) {\n bouncex.et.on(bouncex.document,'click.bx',function () {\n mobileAtcSkuId = jQuery(this).attr('data-value');\n },'.dropdown-menu li');\n }\n\n bouncex.et.onVisible('.sidetray-added-to-bag', function(el){\n itemId = PDP_ATC_ID;\n $productContainer = jQuery('[class*=\"pdp-grid\"]');\n\n if (jQuery('.quickview').length) {\n itemId = QV_ATC_ID;\n $productContainer = jQuery('.quickview');\n }\n\n replenItem = {\n skuId: $productContainer.find('.dropdown-menu li.active').attr('data-value') || mobileAtcSkuId,\n quantity: jQuery(el).find('div[data-test-product-quantity]').text().replace(/[^0-9.]/g,'') || 1\n };\n\n fireAddToCart(itemId, replenItem);\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 bouncex.setVar('cart', false);\n }\n });\n}\n\nfunction initializeCartEvents() {\n bouncex.et.cart.init({\n replenishmentType: 'ajax',\n replenish: function (cart) {\n var deferreds = [],\n xAccessToken = bouncex.parseJSON(localStorage.getItem('aeotoken')).access_token;\n\n if (!xAccessToken){\n bouncex.log('Aborting replenishment - xAccesstoken unavailable');\n return;\n }\n cart.items.forEach(function (item) {\n deferreds.push(makeAjaxATCFunc(item, xAccessToken));\n });\n\n deferreds.reduce(\n function (promise, func) {\n var rp = promise.then(function () {\n return func();\n })\n .catch(function(e){\n bouncex.log('This item is out of stock - Cannot replenish', e);\n });\n\n return rp;\n },\n jQuery.Deferred().resolve([])\n )\n .then(replenComplete);\n }\n });\n\n function makeAjaxATCFunc(replenItem, xAccessToken) {\n var item = {\n items: [\n {\n skuId: replenItem.skuId,\n quantity: parseInt(replenItem.quantity)\n }\n ]\n };\n\n return function () {\n return jQuery.ajax({\n headers:{\n Accept: 'application/json',\n aelang: 'en_US',\n aesite: 'AEO_US',\n 'x-access-token': xAccessToken\n },\n method: 'POST',\n url: 'https://www.ae.com/ugp-api/bag/v1/items',\n data: JSON.stringify(item),\n contentType: 'application/json',\n dataType: 'json'\n });\n };\n }\n\n function replenComplete() {\n window.location.href = CLEAN_URL + '?bx_replen=true';\n }\n\n initializeATCTracking();\n}\n\n/* ------------------------------ USER TRACKING ----------------------------- */\n\nfunction initializeUserTracking() {\n var logged_in = !!bouncex.utils.getNestedProp('utag_data.user_email');\n if (!logged_in || !!bouncex.vars.logged_in_identified) {\n return;\n }\n\n var userEmail;\n\n bouncex.et.onTrue(\n function () {\n userEmail = bouncex.utils.getNestedProp('utag_data.user_email');\n return bouncex.utils.validate.email(userEmail);\n },\n function () {\n bouncex.push([\n 'user',\n {\n 'email': userEmail,\n 'source': 'LoggedIn'\n }\n ]);\n bouncex.setVar('logged_in_identified', true);\n },\n 5\n );\n}\n\n/* --------------------------- QUICKVIEW TRACKING -------------------------- */\n/* Fires view item when quick view model opens */\nfunction initializeQuickviewEvents(){\n bouncex.et.onVisible('.product-quickview[data-id=\"modalProductQuickview\"]', function(elem){\n var pdpUrl;\n bouncex.et.onTrue(function(){\n pdpUrl = jQuery(elem).find('[class*=\"product-link\"]').attr('href');\n return !!pdpUrl;\n }, function(){\n var itemId = getItemId(pdpUrl),\n itemGroupId = getItemGroupId(pdpUrl);\n\n if (itemId && itemGroupId){\n fireViewItem(itemId, itemGroupId);\n // re-setting global QV ID variable each time a new QV is viewed to be used in ATC tracking\n QV_ATC_ID = itemId;\n initializeQvClickSkuTracking();\n initDesktopSkuEvents(itemId, itemGroupId);\n }\n }, 10);\n });\n}\n\n/* --------------------------- PERSIST COUPON CODE -------------------------- */\n\nfunction getCouponFromUrl(){\n var couponCode = bouncex.utils.url.getParam('clickthrough_url_coupon') || false;\n\n if (!couponCode || !couponCode.match(/^[0-9A-Z]+$/g)){\n return;\n }\n\n bouncex.push(['coupon', {\n 'coupon:code': couponCode\n }]);\n}\n\n/* --------------------------- FAVORITES PAGE QUICK ADD -------------------------- */\n\nfunction initQuickAdd(){\n bouncex.off(jQuery('button.qa-btn-add-to-bag'), 'click.bxsku');\n bouncex.et.on(jQuery('button.qa-btn-add-to-bag'), 'click.bxatc', function () {\n var $prodContainer = jQuery(this).closest('.product-tile'),\n itemId = $prodContainer.attr('data-product-id'),\n href = $prodContainer.find('.tile-container a.tile-link').attr('href') || '',\n skuId = bouncex.utils.url.getParam('skuId', href);\n\n var replenItem = {\n skuId: skuId,\n quantity: 1\n };\n\n fireAddToCart(itemId, replenItem);\n });\n}\n\n/* --------------------------- INITIALIZE TRACKING -------------------------- */\n\nfunction isValidDomain() {\n return CLEAN_URL.indexOf('www.ae.com') > -1;\n}\n\nfunction isEn() {\n return bouncex.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 getCouponFromUrl();\n\n if (!bouncex.state.mobile){\n initializeQuickviewEvents();\n }\n\n switch (bouncex.website.pts) {\n case 'category':\n case 'search':\n initializeCategoryEvents();\n break;\n case 'product':\n bouncex.setTimeout2(function() {\n initializeItemEvents();\n }, 1000);\n break;\n case 'cart':\n emptyCart();\n break;\n case 'favorites':\n initQuickAdd();\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":"/cart"}]]},"category":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/c/"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkout"}]]},"favorites":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/favorites/"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.pathname === '/us/en/' || window.location.pathname === '/us/en';"}]]},"product":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/p/"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/s/"}]]}},"els":{"blank_site_element":""},"vars":[{"name":"logged_in","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"!!bouncex.utils.getNestedProp('utag_data.user_email');","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":"bouncex.utils.getNestedProp('utag_data.cart_units');","trigger":""},{"name":"cart_value","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"0","code":"bouncex.utils.getNestedProp('utag_data.cart_total');","trigger":""},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"jQuery('div[data-id=\"modalModalEmailSignup\"] button[data-test-btn=\"gender-sign-up\"], div[data-id=\"modalSnackbarEmailSignup\"] button[data-test-btn=\"gender-sign-up\"]').length > 0 || null;","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":"cookie_modal_present","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('#onetrust-banner-sdk').is(':visible');","trigger":"pageload"},{"name":"page_type","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts;","trigger":"pageload"},{"name":"logged_in_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"suppress_exit_modal","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"jQuery('[data-test-snackbar=\"email-signup\"]').text().indexOf('You\\'re all set. Look for our emails soon') > -1 || null;","trigger":"pageload"},{"name":"coupon_code_url","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"bouncex.utils.url.getParam('clickthrough_url_coupon') || null;","trigger":"pageload"},{"name":"quickview_modal_open","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.product-quickview[data-id=\"modalProductQuickview\"]').length > 0;","trigger":"pageload"},{"name":"category_images","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"bx_suppress","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"window.utag_data.bxsuppress ? true : false;","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":{"cn":"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":"","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":"input[name=\"DeliveryMethods.Email\"]","sdk":{"android":{"enabled":false,"enabledVersions":["1.0.7","1.3.4"],"eventModifications":[]},"ios":{"enabled":false,"enabledVersions":["1.0.7","1.3.4"],"eventModifications":[]}},"onsite":{"enabled":1},"ads":{"enabled":0},"pubs":{"enabled":0},"websdk":{"enabled":0},"ga4_property_id":"306330266","ga4_measurement_id":"G-XGBGNYD4S1","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":"f1562c682b41d65d1608e7f2508f6d9b","creativesBaseStyles":"a53944a2","gpsAuction":"0aafcb326e2e52aae2936349578031e7","inbox":"02aca5df0e176b8810a86da97ac05424","onsite":"0e56ab6ba004ee080ce3deb3edae35e9","sms":"e39203556bab2366e56296ce42e974a7","websdk":"437a9f1c542faaacb49577b266dc4d73"}; 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_8898b9bce26384554e87ba533505520e.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(); }})();