(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":2910,"name":"Morphe","cookie_name":"bounceClientVisit2910","domain":"morphe.com","ct":"multi_cookie","ally":1,"ei":0,"tcjs":"","cjs":" /** https://www.wrike.com/open.htm?id=750542380**/\nbouncex.infoStore = {\n sessionStorageIdentifier: 'bxInfoStore',\n set: function(data) {\n var hashedData = bouncex.lz.compressToURI(JSON.stringify(data));\n try {\n sessionStorage.setItem(this.sessionStorageIdentifier, hashedData);\n } catch(e) {\n bouncex.err('session storage failure');\n }\n },\n \n get: function() {\n var info = sessionStorage.getItem(this.sessionStorageIdentifier);\n return info ? JSON.parse(bouncex.lz.decompressFromURI(info)) : '';\n },\n \n infoIsStored: function() {\n return !!sessionStorage.getItem(this.sessionStorageIdentifier);\n },\n \n populateFields: function(fields) {\n if (!this.infoIsStored()) return;\n \n var data = this.get();\n for (var field in fields) {\n if (fields.hasOwnProperty(field)) {\n fields[field].val(data[field]);\n }\n }\n }\n};\n","force_https":false,"waypoints":false,"content_width":900,"gai":"UA-97372052-1","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":0},"burls":[],"ple":false,"fbe":true,"mas":2,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"// UPDATED ON 8-2 --KK\n// USE 2910 AS THE MASTER TEMPLATE AND UPDATE ACCORDINGLY\nvar COOKIE_NAME = \"cart\";\n\n/************************** HELPERS ***************************/\n\nvar categorySelector = [\n\t/* category pages */\n\t'.product:not(:contains(E-Gift Card)):not(:has(.so.icn))',\n\t/* search pages */\n\t'.snize-product:not(:contains(E-Gift Card)):not(:has(.so.icn))',\n\t/* pages pages */\n\t'.flex-item:not(:has(.so.icn))'\n];\n\nvar urlToIdRegex = /\\/products\\/([\\w-]+)/,\n\tlistPageTileSelector = categorySelector.join(', '),\n\tlistPageTileLinkSelector = 'a:visible:first';\n\nfunction getIdFromUrl(url) {\n\tif (typeof url !== 'string') { return false; }\n\n\tvar idMatch = decodeURIComponent(url).match(urlToIdRegex);\n\n\tif (idMatch && idMatch[1]){\n\t\treturn idMatch[1];\n\t}\n}\n\nfunction getAllItemIdsOnListpage(el) {\n\tvar items = jQuery(el);\n\tvar itemIds = [];\n\n\tfor (var i = 0; i < items.length; i++) {\n\t\tvar id = getItemIdOnListpage(items.eq(i));\n\n\t\tif (id && itemIds.indexOf(id) === -1) {\n\t\t\titemIds.push(id);\n\t\t}\n\t}\n\n\treturn itemIds.join(',');\n}\n\nfunction makeConfig() {\n var configs = {\n \"2910\": {\n siteUrl: \"https://www.morphe.com/\",\n includeSHQ: true\n },\n \"2913\": {\n siteUrl: \"https://uk.morphe.com/\"\n },\n \"3435\": {\n siteUrl: \"https://eu.morphe.com/\"\n },\n \"3436\": {\n siteUrl: \"https://ca.morphe.com/\"\n },\n \"3437\": {\n siteUrl: \"https://au.morphe.com/\"\n },\n \"3900\": {\n siteUrl: \"https://fr.morphe.com/\",\n lang: \"fr\"\n },\n \"4567\": {\n siteUrl: \"https://es.morphe.com/\",\n lang: \"es\"\n },\n },\n config = configs[bouncex.website.id];\n\n config.lang = config.lang || 'en';\n\n return config;\n}\n\nfunction getUrl() {\n return bouncex.utils.url.allowParams();\n}\n\nfunction isValidForTracking(config) {\n return getUrl().indexOf(config.siteUrl) > -1 && (jQuery(\"html\").attr(\"lang\") || \"\").indexOf(config.lang) > -1;\n}\n\n/************************** ITEM ***************************/\nfunction getItemCopy() {\n var $pdpTitle = jQuery('.pdp-title'),\n $pdpHeading = $pdpTitle.find('.pdpHeading'),\n pdpHeadingText = $pdpHeading.text()\n secondHalf = jQuery('.img-selected [id^=\"fluidity-full-coverage-foundation\"]').attr('title') || \"\";\n\n if ($pdpTitle.find('.prod-vendor-pdp:contains(\"FULL-COVERAGE FOUNDATION\")').length > 0 && pdpHeadingText && secondHalf) {\n return pdpHeadingText + ' ' + $pdpTitle.find('.prod-vendor-pdp').not(':contains(\"MORPHE\")').text() + ' ' + secondHalf.trim().split(' ')[0];\n }\n\n return pdpHeadingText || jQuery('#quickview-title').text();\n}\n\nfunction getItemImage() {\n var imgUrl = jQuery('#product-photo-link img').attr('src') || \"\";\n imgUrl = imgUrl.replace(\"_grande\", \"\").replace(\"http:\", \"https:\");\n\n if (imgUrl && imgUrl.indexOf('https:') < 0) {\n imgUrl = 'https:' + imgUrl;\n }\n return imgUrl;\n}\n\nfunction getDataLayer() {\n return bouncex.utils.getNestedProp('window.dataLayer', []);\n}\n\nfunction getPromoEligible() {\n var dataLayer = getDataLayer();\n\n for (var i = 0; i < dataLayer.length; i++) {\n var thisDataLayerObj = dataLayer[i],\n isPromoEligible = thisDataLayerObj['promoEligible'];\n if (isPromoEligible && isPromoEligible.indexOf(\"true\") > -1) {\n return true;\n }\n }\n return false;\n}\n\nfunction buildItem() {\n var shopifyProd = bouncex.utils.getNestedProp('ShopifyAnalytics.meta.product', { id: \"\", type: \"other\" });\n return {\n id: shopifyProd.id,\n copy: getItemCopy(),\n category: shopifyProd.type,\n imageurl: getItemImage(),\n url: jQuery(\"meta[property='og:url']\").attr(\"content\") || \"\",\n instock: !jQuery('#AddToCart').hasClass('disabled'),\n isPromoEligible: getPromoEligible()\n };\n}\n\nfunction getItemIdOnListpage($el) {\n\tvar linkPageLink = $el.find(listPageTileLinkSelector).attr('href'),\n\t\tid = getIdFromUrl(linkPageLink);\n\n\treturn id;\n}\n\nfunction trackCategoryHoverItems() {\n\tbouncex.et.onHover(listPageTileSelector, function($el){\n\t\tbouncex.push(['hover item', {\n\t\t\t'item:id' : getItemIdOnListpage($el)\n\t\t}]);\n\t});\n}\n\n/* |----------- SEARCH TRACKING ----------------| */\nfunction trackSearchItems() {\n\tbouncex.push(['view search', {\n\t\t'items:ids' : getAllItemIdsOnListpage(listPageTileSelector),\n\t\t'page:url' : bouncex.utils.url.removeParams(['utm_affiliate'])\n\t}]);\n\n\t/* track hover */\n\tbouncex.et.onHover(listPageTileSelector, function($el){\n\t\tbouncex.push(['hover item', {\n\t\t\t'item:id' : getItemIdOnListpage($el)\n\t\t}]);\n\t});\n}\n\n/*************************** CART ****************************/\nfunction replenish(cart) {\n bouncex.utils.cookies.create({\n name: COOKIE_NAME,\n value: cart.token\n });\n\n window.location.href = window.location.pathname + '?bx_replen=true';\n}\n\nfunction initCartEvents() {\n var cookie;\n bouncex.et.on(jQuery(document), 'ajaxComplete.bxatc', function (event, response, settings) {\n if (settings.url.indexOf('/cart/add') > -1 && settings.type === \"POST\") {\n var itemId = bouncex.parseJSON(response.responseText).product_id || \"\";\n if (itemId) {\n bouncex.et.onTrue(function () {\n cookie = cookie || getBounceCookie(COOKIE_NAME);\n return cookie\n }, function () {\n bouncex.push(['add to cart', {\n 'item:id': itemId,\n 'cart:token': cookie\n }\n ]);\n }, 5);\n }\n }\n });\n\n bouncex.et.cart.init({\n replenish: replenish,\n replenishmentType: 'cookie'\n });\n\n bouncex.et.onVarChange('cart_qty', function (oldVal, newVal) {\n if (newVal === 0) {\n bouncex.push(['empty_cart'])\n }\n });\n}\n/************************* CATEGORY **************************/\nfunction getCategoryIds() {\n return jQuery('.product.flex-item4,.item').map(function () {\n var itemId = jQuery(this).attr('id') || \"\",\n itemIdFormatted = itemId.replace('prod-', '');\n\n if (itemIdFormatted) {\n return itemIdFormatted;\n }\n }).toArray().join(',');\n}\n\n/********************** INIT ***********************/\nfunction init() {\n var config = makeConfig();\n if (isValidForTracking(config)) {\n if (config.includeSHQ) {\n jQuery(\".clp-cta.pl-add\").on('click', function (e) {\n bouncex.setv('shq_id', e.target.dataset.pid);\n _shq.push(['onCartAdd', {\n Items: [{\n ProductId: bouncex.vars.shq_id,\n Quantity: 1\n }]\n }]);\n });\n jQuery(\"#AddToCart\").on('click', function (e) {\n bouncex.setv('shq_id', jQuery(\"#product-select\").val());\n _shq.push(['onCartAdd', {\n Items: [{\n ProductId: bouncex.vars.shq_id,\n Quantity: 1\n }]\n }]);\n });\n }\n\n if (bouncex.website.pts === 'product') {\n var item;\n bouncex.et.onTrue(\n function () {\n item = buildItem();\n return item.id && item.imageurl && item.copy && getDataLayer().length;\n },\n function () {\n bouncex.push(['item', item]);\n var viewItemObj = { 'item:id': item.id };\n\n if (config.includeSHQ && bouncex.vars.shq_id) {\n viewItemObj['item:shq_id'] = bouncex.vars.shq_id;\n }\n\n bouncex.push(['view item', viewItemObj]);\n },\n 10);\n }\n\n if (bouncex.website.pts === 'category') {\n var ids;\n bouncex.et.onTrue(function () {\n ids = getCategoryIds();\n return ids.length;\n }, function () {\n trackCategoryHoverItems();\n bouncex.push([\"view category\", {\n \"page:url\": getUrl(),\n \"items:ids\": ids\n }]);\n }, 15);\n }\n\n if (bouncex.website.pts === 'search') {\n trackSearchItems();\n }\n\n if (window.location.pathname === '/account') {\n if (!bouncex.vars.has_logged_in) {\n var email;\n bouncex.et.onTrue(function () {\n email = jQuery('.email.note').text();\n return email;\n }, function () {\n if (bouncex.utils.validate.email(email)) {\n bouncex.push(['user', {\n email: email,\n source: 'LoggedIn'\n }]);\n bouncex.setv('has_logged_in', true);\n setBounceCookie();\n }\n }, 5);\n }\n }\n\n initCartEvents();\n } \n}\n\ninit();\n","dge":true,"bxidLoadFirst":false,"pie":true,"cme":true,"gbi_enabled":0,"bpush":true,"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('#shopify-section-collection-template').length === 1 || jQuery('.flex-item').length > 0;"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkouts"}]]},"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":"products"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"search-results-page"}]]}},"els":{"CART - Checkout Button":"#checkout","CART - Promo Code Apply Button":".field button","CART - Promo Code Box":"#checkout_reduction_code","CAT - Product Grid Image":"#product-loop .product","CAT - Quickview Box":".fancybox-skin","Footer":"#footer","Navigation bar":"header","PDP - Add to Cart Button":"#AddToCart","PDP - Desktop Hero Image":"#product-main-image","PDP - Mobile Hero Image":"#product-photos","PDP - Product Name":"h1.pdpHeading","PDP - Product Price":"#product-price span","PDP - Quantity Option":".qty_wrapper","PDP - Review Stars":".TTratingBox:visible","PDP - Thumbnail Image":".flex-viewport","SEARCH - Product Grid Image":"#snize-search-results-grid-mode .snize-product"},"vars":[{"name":"cart_qty","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function(){\n if (jQuery('#shopping-cart').text().indexOf('empty') > -1) {\n return 0; \n }\n return jQuery('.CartCount').text().trim() !== \"\" ? jQuery('.CartCount').text().replace(/[^0-9.]/g, '') : null;\n})();","trigger":"pageload"},{"name":"cart_value","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function(){\n var cartContainer = jQuery('#CartContainer .ajaxcart__footer strong').text().replace('$','') !== \"\" ? jQuery('#CartContainer .ajaxcart__footer strong').text().replace('$','') : null;\n\n var cartDrawer = jQuery('#CartDrawer .ajaxcart__footer strong').text().replace('$','') !== \"\" ? jQuery('#CartDrawer .ajaxcart__footer strong').text().replace('$','') : null;\n\n if (jQuery('#CartContainer p').text() === \"Your cart is currently empty.\" || jQuery('#shopping-cart .subtext').text() === \"Your cart is currently empty.\"){\n return 0;\n }else if(window.location.href.indexOf('checkouts') > -1){\n return jQuery('span[data-checkout-subtotal-price-target]').text().trim().replace('$','');\n }else if(window.location.href.indexOf('cart') > -1){\n return jQuery('.saso-cart-original-total').eq(0).text().trim().replace('$','');\n }else{\n return cartContainer ? cartContainer : cartDrawer ? cartDrawer : null;\n }\n return null;\n})();","trigger":"pageload"},{"name":"prod_price","polling":"all","persist":"no","page_types":[],"testmode":true,"default":"false","code":"Number(jQuery('.product-price[itemprop=\"price\"]:visible').text().replace(/[^0-9.]/g, '')) || false;","trigger":"pageload"},{"name":"prod_name","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n\tvar pdpTitle = jQuery('.pdp-title');\n\tvar pdpHeading = pdpTitle.find('.pdpHeading');\n\n\tif (pdpTitle.find('.prod-vendor-pdp:contains(\"FULL-COVERAGE FOUNDATION\")').length > 0) {\n\t\treturn pdpHeading.text() + ' ' + pdpTitle.find('.prod-vendor-pdp').not(':contains(\"MORPHE\")').text() + ' ' + jQuery('.img-selected [id^=\"fluidity-full-coverage-foundation\"]').attr('title').trim().split(' ')[0];\n\t} else {\n\t\treturn pdpHeading.text() || jQuery('#quickview-title').text() || false; \n\t}\n})();","trigger":"pageload"},{"name":"in_stock","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"!jQuery('#AddToCart').hasClass('disabled');","trigger":"pageload"},{"name":"imageurl","polling":"vars","persist":"no","page_types":[],"testmode":false,"default":"false","code":"'https:' + jQuery('#product-photos').find('img:first-of-type').attr('src');\n","trigger":"pageload"},{"name":"cat_title","polling":"vars","persist":"no","page_types":[],"testmode":true,"default":"false","code":"(function() {\n var match = window.location.href.match(/\\/collections\\/([\\w\\-]+)/);\n \n if (match && match.length) {\n return match[1];\n }\n \n return \"none\";\n})();","trigger":"pageload"},{"name":"cart","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"post_ajax","polling":"none","persist":"visit","page_types":[],"testmode":true,"default":"false","code":"null;","trigger":"pageload"},{"name":"morphe_product","polling":"vars","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.prod-vendor-pdp:first').text() === \"Morphe\" || !jQuery('.prod-vendor-pdp').length;","trigger":"pageload"},{"name":"location_gate_present","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('#LocationModal:visible').length > 0;","trigger":"pageload"},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"(function(){\n var data = bouncex.parseJSON(window.messageData);\n\n if (data.channel === 'NEWSLETTER' && !!data.email) {\n return true;\n }\n return null;\n})();","trigger":""},{"name":"logged_in","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function () {\n\tif (bouncex.website.pts === 'checkout') {\n\t\treturn jQuery('.breadcrumb__item--current').text().indexOf('Information') > -1 ? jQuery('.logged-in-customer-information:visible').length > 0 : null;\n\t}\n\n\treturn !!bouncex.utils.getNestedProp('ShopifyAnalytics.meta.page.customerId');\n})();","trigger":"pageload"},{"name":"ever_logged_in","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.logged_in ? true : null;","trigger":"pageload"},{"name":"minicart_open","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('body.js-drawer-open.js-drawer-open-right').length ? true : false;","trigger":"pageload"},{"name":"cart_count","polling":"vars","persist":"no","page_types":[],"testmode":true,"default":"false","code":"+jQuery('.CartCount').text().trim();","trigger":"pageload"},{"name":"menu_open","polling":"all","persist":"no","page_types":[],"testmode":true,"default":"false","code":"jQuery('body').hasClass('shifter-open');","trigger":"pageload"},{"name":"bxid_master_control","polling":"all","persist":"permanent","page_types":[],"testmode":true,"default":"false","code":"bouncex.cookie.did.substr(-1) % 2;","trigger":"pageload"},{"name":"on_sale","polling":"all","persist":"no","page_types":[],"testmode":true,"default":"false","code":"jQuery('.product-price:visible ~ .was:visible').length > 0;","trigger":"pageload"},{"name":"local_storage_enabled","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"window.bouncex && window.bouncex.local_storage_enabled;","trigger":"pageload"},{"name":"cart_plurality","polling":"all","persist":"visit","page_types":[],"testmode":true,"default":"false","code":"bouncex.vars.cart_qty > 1 ? 'items' : 'item';","trigger":"pageload"},{"name":"shq_id","polling":"none","persist":"no","page_types":[],"testmode":false,"default":0,"code":"bouncex.utils.getNestedProp('variants[0].id', null, json_product);","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":"bouncex.utils.shqInterceptEvent = {\n 'cartAdd': true, // this blocks the shq tracking event\n// 'cartEmpty': false,\n// 'categoryView': false, \n// // this intercepts the purchase event and uses wknd data\n 'purchase': function(wkndEventParams){\n var oid = bouncex.utils.getNestedProp('obj.order_id', null, wkndEventParams);\n _shq.push(['pageView', \n {\n 'pageType': 'purchase', \n 'orderId': oid, \n 'usebasket': true \n }]\n )}\n// 'coupon': false,\n// 'search': false,\n// 'checkout': false,\n// 'email': false,\n// 'phone': false\n};","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"coupons.bounceexchange.com","dfpcms":0,"sms":{"optm":"Hit 'Send' to sign-up for automated, recurring Morphe mktg txts (like cart reminders) to this #, per terms.","eventSharing":true,"shqId":"3catyumi6o-1","enabled":1},"pde":true,"fmc":["US","CA"],"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: 0 }; bouncex.assets = {"ads":"44fda29a3ca8b3798fe72ceb2caeade8","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.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_b0f9dea1e3910d3b6e492e0d6dab8565.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(); }})();