(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":5612,"name":"Torrid","cookie_name":"bounceClientVisit5612","domain":"torrid.com","ct":"fp_local_storage","ally":0,"ei":0,"tcjs":"","cjs":"/* enable.feature.SHARED_RUNTIME */\n/* enable.feature.DISABLE_RELOAD_CAMPAIGNS_V2 */\n/* enable.feature.COMPLIANCE_REFACTOR_ENABLED */","force_https":false,"waypoints":false,"content_width":900,"gai":"UA-88177349-3","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 ---------------------------- */\nvar CART_COOKIE_KEY = 'dwanonymous_7d07fe15cd5c408db481a43a3123f26a', \n CLEAN_URL = bouncex.utils.url.allowParams();\n\n\n/* ------------------------------ HELPERS ----------------------------- */\nfunction getItemCat() {\n var bc =jQuery('.breadcrumb-element');\n\n return bc.eq(bc.length - 2).text() || 'torrid';\n}\n\nfunction getItemUrl(itemId){\n\tif (!itemId || !bouncex.vars.prod_color){\n\t\treturn false;\n\t}\n\t\n\tvar selectedColor = bouncex.vars.prod_color.toUpperCase(),\n\t paramKey = '?dwvar_' + itemId + '_' + 'color',\n\t paramValue = encodeURIComponent(selectedColor);\n\treturn CLEAN_URL + paramKey + '=' + paramValue;\n}\n\n// passing in prodColor in quickview for accuracy \nfunction getItemId(itemId, prodColor){\n var $prodColor = prodColor || bouncex.vars.prod_color;\n\tif (!itemId || !$prodColor){\n\t\treturn false;\n\t}\n\treturn itemId + '-' + $prodColor.replace(/\\s+/g, '-').toLowerCase();\n}\n\nfunction getGroupId(){\n var canonUrl = jQuery('link[rel=\"canonical\"]').attr('href') || '';\n return jQuery('#data-bv-show').attr('data-bv-productid') || canonUrl.split('/').pop().split('.').shift();\n}\n\n/* ------------------------------ ITEM TRACKING ----------------------------- */\n\nfunction getItem() {\n var imgUrl = jQuery('.sliderDesktop .main-image-thumb a').first().attr('href'),\n groupId = getGroupId();\n\n return {\n id: getItemId(groupId), \n copy: jQuery('meta[property=\"og:title\"]').attr('content'),\n category: getItemCat(),\n url: getItemUrl(groupId),\n imageurl: bouncex.utils.url.allowParams('', imgUrl) + '?$td_pdp_zoom_image$', \n instock: jQuery('[class*=\"add-to-cart\"][disabled=\"disabled\"]').length === 0 || jQuery('.swatches.Color li.unselectable, li.unselectable[class*=\"displayValue\"]').length !== jQuery('.swatches.Color li:visible, li[class*=\"displayValue\"]').length\n };\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 },\n function () {\n if (item.url.indexOf('gift-card') > -1 || item.url.indexOf('torrid-foundation-donation') > -1) {\n return;\n }\n bouncex.push(['item', item]);\n item.groupId = getGroupId(); \n fireViewItem(item.id, item.groupId);\n },\n 10\n );\n}\n\nfunction fireViewItem(itemId, groupId){\n bouncex.push(['view item', { \n 'item:id': itemId, \n 'item:itemgroupid': groupId\n }]);\n bouncex.setv('atc_id', itemId);\n bouncex.setv('group_id', groupId);\n}\n\n/* ------------------------------ SKU TRACKING ------------------------------ */\n\nfunction initializeSkuEvents() {\n bouncex.et.onVarChange('sku', function () {\n\n var sku = bouncex.vars.sku,\n groupId = bouncex.vars.group_id,\n itemId;\n \n if (!jQuery('.variation-swatch-section').length){\n groupId = sku;\n }\n \n if (!sku || !groupId || sku == groupId){ return; }\n \n itemId = getItemId(groupId);\n bouncex.push([\n 'select_sku',\n {\n 'item:id': itemId,\n 'item:itemgroupid': groupId,\n 'item:feedid': sku\n }\n ]);\n });\n}\n\n/* ---------------------------- CATEGORY TRACKING --------------------------- */\n\nfunction getItemIdsCat() {\n var ids = [];\n\n jQuery('.product-tile.product-image-container').each(function (i, e) {\n var id = jQuery(e).attr('data-itemid'),\n \tcolor = jQuery(e).attr('data-itemcolor') || '',\n \titemId = '';\n\n if (!!id && !!color){\n \titemId = getItemId(id, color);\n }\n\n \n if (itemId && ids.indexOf(itemId) < 0) {\n ids.push(itemId);\n }\n });\n\n return ids.join(',');\n}\n\nfunction getCategoryObject() {\n return {\n 'page:url': bouncex.utils.url.allowParams('q'),\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 function initializeQVEvents(){\n bouncex.et.onVisible('#quickContainer', function(e){\n var groupId, \n prodColor,\n itemId;\n \n bouncex.et.onTrue(function(){\n groupId = jQuery(e).find('.ratings').attr('data-bv-productid');\n prodColor = jQuery(e).find('.swatches.Color .selected .color-value').text();\n return !!groupId && !!prodColor;\n }, function(){\n itemId = getItemId(groupId, prodColor);\n fireViewItem(itemId, groupId);\n }, 10);\n \n // firing view item when changing colors in quickview \n bouncex.off(bouncex.document, 'click.bx', '.swatches.Color .emptyswatch');\n bouncex.et.on(bouncex.document, 'click.bx', function(){\n prodColor = jQuery(this).find('.color-value').text(),\n itemId = getItemId(groupId, prodColor);\n\n if (itemId && groupId){\n fireViewItem(itemId, groupId);\n } \n\n }, '.swatches.Color .emptyswatch');\n });\n }\n\n/* ------------------------------- CART EVENTS ------------------------------ */\n\nfunction initializeATCTracking() {\n var token,\n itemId;\n bouncex.et.on(bouncex.document, 'ajaxComplete', function(e,x,s){\n if (s.url.indexOf('/Cart-AddProduct') > - 1 && !bouncex.utils.url.getParam('bx_cart') && x.status === 200) {\n itemId = bouncex.vars.atc_id;\n \n bouncex.et.onTrue(\n function () {\n token = bouncex.getBounceCookie(CART_COOKIE_KEY);\n return token;\n },\n function () {\n bouncex.push([\n 'add to cart',\n {\n 'item:id': itemId,\n 'cart:token': token\n }\n ]);\n \n if (bouncex.vars.cart) { return; }\n bouncex.setVar('cart', true);\n }, 10);\n }\n });\n}\n\n\nfunction emptyCart() {\n if (bouncex.website.pts === \"cart\" && bouncex.vars.cart && !!jQuery('.cart-tile.cart-empty-banner').length){\n bouncex.push(['empty_cart']);\n bouncex.setVar('cart', false);\n }\n \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: 'cookie',\n replenish: function (cart) {\n bouncex.utils.cookies.create({\n name: CART_COOKIE_KEY,\n value: cart.token\n });\n replenComplete();\n }\n });\n \n initializeATCTracking();\n emptyCart();\n}\n\nfunction replenComplete() {\n window.location.href = CLEAN_URL + '?bx_replen=true';\n}\n/* ------------------------------ USER TRACKING ----------------------------- */\n\nfunction initializeUserTracking() {\n if (!bouncex.vars.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.customer_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/* --------------------------- INITIALIZE TRACKING -------------------------- */\n\nfunction isValidDomain() {\n return CLEAN_URL.indexOf('staging.torrid.com') > -1 || CLEAN_URL.indexOf('www.torrid.com') > -1;\n}\n\nfunction isEn(){\n return bouncex.html.attr('lang') === 'en';\n}\n\nfunction init() {\n if (!isValidDomain() || !isEn()) {\n return;\n }\n\n initializeUserTracking();\n initializeCartEvents();\n initializeSkuEvents();\n\n switch (bouncex.website.pts) {\n case 'category':\n case 'search':\n initializeCategoryEvents();\n initializeQVEvents();\n break;\n case 'product':\n initializeItemEvents();\n // firing color specific item tracking when user changes color bc urls dont refresh\n bouncex.et.onVarChange('prod_color', function(elem1, elem2){ \n if (!!elem1 && !!elem2 && elem1 != elem2){\n initializeItemEvents(); \n }\n }); \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":"js","prop":"","prop2":"","prop3":"","val":"!!jQuery('#wrapper.pt_product-search-result').length;"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/SPCCOCustomer"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.pathname === '/';"}]]},"product":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/product/"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/q="}]]}},"els":{"blank_site_element":""},"vars":[{"name":"logged_in","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"!!bouncex.utils.getNestedProp('utag_data.customer_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":"visit","page_types":[],"testmode":false,"default":"0","code":"Number(jQuery('.mini-cart-quantity.stickyheader-qty-show').eq(0).text()) || null;","trigger":""},{"name":"cart_value","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"parseFloat(jQuery('#mini-cart-label').text().split('$').pop()) || null;","trigger":""},{"name":"logged_in_identified","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"","trigger":"pageload"},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if (jQuery('.thankyou-signup').attr('style') === 'display: block;'){\n return true;\n }\n return null;\n})();","trigger":""},{"name":"page_url","polling":"none","persist":"no","page_types":["category","search"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"atc_id","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"sku","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('ul.swatches.size li.selected').length > 0 ? jQuery('.product-variations').attr('data-itemsku') : false;","trigger":"pageload"},{"name":"cart","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"attentive_visible","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('#attentive_overlay').length > 0;","trigger":"pageload"},{"name":"page_type","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts;","trigger":"pageload"},{"name":"group_id","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"prod_color","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.utils.getNestedProp('utag_data.product_color') ? bouncex.utils.getNestedProp('utag_data.product_color')[0] : (jQuery('ul.swatches.Color li.selected .color-value').first().text().trim() || jQuery('.color-swatch .selectedValueContainer').first().text().trim());","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":{"smtrctid":"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":"var audiences = {\n /* PROPERTIES */\n testMode: false,\n interceptEnabled: true,\n mirrorEnabled: true,\n arrayObserverEnabled: true,\n useIntercept: function useIntercept() {\n if (!this.interceptEnabled) {\n return;\n }\n bouncex.utils.shqInterceptEvent = {\n // true blocks default event, defined functions run in place of default\n productView: true,\n cartAdd: function(){\n bouncex.setTimeout2(function(){\n var getAtcObj = bouncex.utils.getNestedProp('window.dataLayer', []).filter(function(e) {\n return e[1] === 'add_to_cart' && e[2] && e[2].event_action;\n }).pop(), prodPrice, prodQty,prodId;\n\n if(getAtcObj[2]){\n prodId = bouncex.utils.getNestedProp('items[0].dimension5', '', getAtcObj[2]);\n prodPrice = bouncex.utils.getNestedProp('items[0].price', '', getAtcObj[2]);\n prodQty = bouncex.utils.getNestedProp('items[0].quantity', '', getAtcObj[2]);\n\n if (prodId && prodPrice && prodQty){\n _shq.push(['onCartAdd', {\n CartId: null,\n Items: [{\n ProductId: prodId,\n UnitPrice: prodPrice,\n Quantity: prodQty\n }]\n }]);\n }\n }\n },1500);\n },\n 'purchase': function (wkndEventParams) {\n\t\t\t\tvar prodErr = false;\n\t\t\t\tvar orderId = bouncex.utils.getNestedProp('obj.order_id', null, wkndEventParams);\n\t\t\t\tvar purchTotal = Number(bouncex.utils.getNestedProp('obj.amount', 0, wkndEventParams)) - (Number(bouncex.utils.getNestedProp('obj.tax', 0, wkndEventParams)) + Number(bouncex.utils.getNestedProp('obj.shipping', 0, wkndEventParams)));\n\t\t\t\tvar orderInfo = bouncex.utils.getNestedProp('obj.item', null, wkndEventParams);\n\t\t\t\tvar orderArray = orderInfo && orderInfo.map(function (ea) {\n\t\t\t\t\treturn { productId: ea.sku, price: ea.price, qty: ea.quantity};\n\t\t\t\t});\n\n\t\t\t\tif (orderArray.length > 0 && orderId) {\n\t\t\t\t\t_shq.push(['onPurchase', {\n\t\t\t\t\t\t'orderItems': orderArray,\n\t\t\t\t\t\t'orderId': orderId,\n\t\t\t\t\t\t'total': purchTotal.toFixed(2)\n\t\t\t\t\t}]);\n\t\t\t\t} else {\n\t\t\t\t\t_shq.push(['onPurchase', {\n\t\t\t\t\t\t'orderId': orderId || 'NoOrderId-' + randomNumber(),\n\t\t\t\t\t\t'usebasket': true\n\t\t\t\t\t}]);\n\t\t\t\t}\n\t\t\t}\n };\n },\n useMirror: function useMirror() {\n if (!this.mirrorEnabled) {\n return;\n }\n bouncex.utils.shqMirrorEvent = {\n // defined functions run after designated shq_wknd_event to process event or source names\n reloadcampaigns: false,\n pageview: function(){\n if (bouncex.utils.getNestedProp('utag_data.page_category') === 'search'){\n var searchPhrase = bouncex.utils.getNestedProp('window.utag_data.search_term');\n if (searchPhrase) {\n _shq.push([ 'onSearch', \n {\n 'searchPhrase': searchPhrase\n }]);\n }\n }\n },\n 'view item': function (wkData) {\n bouncex.setTimeout2(function(){\n if(bouncex.website.pts === 'product'){\n var prodID = wkData && wkData.params && wkData.params['item:itemgroupid'] ? wkData.params['item:itemgroupid'] : null;\n prodID = prodID && prodID.indexOf('-') > -1 ? prodID.split('-')[0] : prodID;\n if(prodID){\n _shq.push(['onProductView', {\n 'productId': prodID\n }]);\n }\n }\n },1500);\n }\n };\n },\n captureCategory: function captureCategory(){\n bouncex.setTimeout2(function(){\n if(bouncex.website.pts === 'category'){\n var catCode = bouncex.utils.getNestedProp('utag.data.page_category','').trim();\n if(catCode && catCode !== 'search'){\n _shq.push(['onCategory', {\n 'catName': catCode,\n 'catId': catCode\n }]);\n }\n }\n \n //Custom Categories\n if(bouncex.utils.getNestedProp('utag_data.page_name','') === 'gift cards'){\n var gcPage = bouncex.utils.getNestedProp('utag_data.page_type','');\n if(gcPage){\n _shq.push(['onCategory', {\n 'catName': gcPage,\n 'catId': gcPage\n }]);\n }\n }\n if(window.location.href.indexOf('/giftcertpurchase') >-1){\n var egiftSlide = document.querySelector(\"a[title='Shop E-Gift Cards']\");\n if (egiftSlide) {\n egiftSlide.addEventListener('click', function(){\n _shq.push(['onCategory', {\n 'catName': 'clicked_egiftcard',\n 'catId': 'clicked_egiftcard'\n }]);\n });\n }\n }\n },1500);\n },\n captureQuickView: function captureQuickView(){\n var qvDone = false;\n function isQuickViewOpen() {\n if (document.querySelector(\"div[aria-describedby='QuickViewDialog']\") &&\n document.querySelector(\"div[aria-describedby='QuickViewDialog']\").style &&\n document.querySelector(\"div[aria-describedby='QuickViewDialog']\").style.display === '') {\n return true;\n } else {\n return false;\n }\n }\n setInterval(function () {\n if (isQuickViewOpen() && !qvDone) {\n bouncex.setTimeout2(function(){\n var prodID = document.querySelector('span.tdprod-id') ? document.querySelector('span.tdprod-id').textContent.trim():'';\n prodID = prodID && prodID.indexOf('-') ? prodID.split('-')[0] : prodID;\n if(prodID){\n _shq.push(['onProductView', {\n 'productId': prodID\n }]);\n }\n qvDone = true;\n },700);\n } else if (!isQuickViewOpen()) {\n qvDone = false;\n }\n }, 1000);\n },\n captureCart: function captureCart() {\n bouncex.setTimeout2(function() {\n if (bouncex.utils.getNestedProp('utag_data.page_type') === 'cart') {\n var products = [],\n productId = bouncex.utils.getNestedProp('utag_data.product_sku', ''),\n arrayOfPrices = bouncex.utils.getNestedProp('utag_data.product_final_price', ''),\n arrayOfqtys = bouncex.utils.getNestedProp('utag_data.product_quantity', ''),\n total = document.querySelector('.orderTotal') ?\n document.querySelector('.orderTotal').textContent.replace(/[$]/g, '') : null;\n\n if (productId && arrayOfPrices && arrayOfqtys && total) {\n productId.forEach(function(product, i) {\n var id = product,\n price = arrayOfPrices[i],\n qty = arrayOfqtys[i];\n\n if (id && price && qty) {\n products.push({\n productId: id,\n price: price,\n qty: qty\n });\n }\n });\n\n if (products.length >= 0) {\n _shq.push(['onCartView', {\n Items: products,\n Total: total\n }]);\n }\n }\n }\n }, 1000);\n },\n captureWishlist: function captureWishlist() {\n var prodId = '';\n //add wishlist\n function wishlistAdd(e) {\n if (e.target.className === 'wl-action text-link addToWishlistPDP') {\n prodId = bouncex.utils.getNestedProp('target.dataset.pid','',e);\n if (prodId) {\n _shq.push(['onProductList', {\n productId: prodId,\n qty: 1,\n action: 'add',\n listId: 'wishlist'\n }]);\n }\n }\n }\n //remove wishlist\n function wishListPageLogic(e) {\n if (bouncex.utils.getNestedProp('target.className','',e) === 'button-text delete-item deleteWishlistItem') {\n prodId = bouncex.utils.getNestedProp('target.dataset.productid','',e);\n if (prodId) {\n _shq.push(['onProductList', { listId: 'wishlist', qty: 1, action: 'removeProduct', productId: prodId }]);\n }\n }\n }\n bouncex.setTimeout2(function() {\n if(bouncex.website.pts === 'category' || bouncex.website.pts === 'product'){\n bouncex.et.on(jQuery(document),'click.audwl', wishlistAdd);\n }\n if (window.location.href.indexOf('/wishlist') > -1) {\n var wishlistItems = document.querySelectorAll('.product-list-item');\n bouncex.et.on(jQuery(document), 'mousedown.audwl', wishListPageLogic);\n if (wishlistItems && wishlistItems.length < 1) {\n _shq.push(['onProductList', {\n action: 'removeall',\n listId: 'wishlist'\n }]);\n }\n }\n }, 1200);\n },\n captureEmail: function captureEmail(){\n bouncex.setTimeout2(function() {\n var footerEmail = document.querySelector(\"input[id='footer-emailinput']\"),\n btnSignUp = document.querySelector('input.email-button');\n \n if( btnSignUp && footerEmail){\n btnSignUp.addEventListener('click', function(){\n if (bouncex.utils.validate.email(footerEmail.value)){\n _shq.push(['onEmail', {\n email: footerEmail.value,\n type: 'marketing'\n }]);\n }\n });\n }\n }, 1200);\n },\n init: function init() {\n // test mode\n if (this.testMode && !bouncex.testmode.bxdev) return;\n // attach object to bouncex.et\n if (!bouncex.et) {\n return;\n }\n bouncex.et.audiences = this;\n\n this.useIntercept();\n this.useMirror();\n this.captureCategory();\n this.captureQuickView();\n this.captureCart();\n this.captureWishlist();\n this.captureEmail();\n }\n};\naudiences.init();","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"coupons.bounceexchange.com","dfpcms":0,"sms":{"optm":"","eventSharing":true,"shqId":"i1qorxg4jx-1","enabled":1},"pde":true,"fmc":["US"],"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":"","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); } window._shq = window._shq || []; var eventSharingCartridge = document.createElement('script'); eventSharingCartridge.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/wknd_audiences_2648fa8509e4b3a98a2790bb8171ddc1.js'); eventSharingCartridge.setAttribute('async', 'async'); document.body.appendChild(eventSharingCartridge); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", bxBootstrap); } else { bxBootstrap(); }})();