(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":4214,"name":"Minibar Delivery","cookie_name":"bounceClientVisit4214","domain":"minibardelivery.com","ct":"fp_local_storage","ally":0,"ei":0,"tcjs":"","cjs":"bouncex.utils['sha256'] = \n function SHA256(s){\n\t\tvar chrsz = 8;\n\t\tvar hexcase = 0;\n\t\n\t\tfunction safe_add (x, y) {\n\t\t\tvar lsw = (x & 0xFFFF) + (y & 0xFFFF);\n\t\t\tvar msw = (x >> 16) + (y >> 16) + (lsw >> 16);\n\t\t\treturn (msw << 16) | (lsw & 0xFFFF);\n\t\t}\n\t\n\t\tfunction S (X, n) { return ( X >>> n ) | (X << (32 - n)); }\n\t\n\t\tfunction R (X, n) { return ( X >>> n ); }\n\t\n\t\tfunction Ch(x, y, z) { return ((x & y) ^ ((~x) & z)); }\n\t\n\t\tfunction Maj(x, y, z) { return ((x & y) ^ (x & z) ^ (y & z)); }\n\t\n\t\tfunction Sigma0256(x) { return (S(x, 2) ^ S(x, 13) ^ S(x, 22)); }\n\t\n\t\tfunction Sigma1256(x) { return (S(x, 6) ^ S(x, 11) ^ S(x, 25)); }\n\t\n\t\tfunction Gamma0256(x) { return (S(x, 7) ^ S(x, 18) ^ R(x, 3)); }\n\t\n\t\tfunction Gamma1256(x) { return (S(x, 17) ^ S(x, 19) ^ R(x, 10)); }\n\t \n\t\tfunction core_sha256 (m, l) {\n\t\t\tvar K = new Array(0x428A2F98, 0x71374491, 0xB5C0FBCF, 0xE9B5DBA5, 0x3956C25B, 0x59F111F1, 0x923F82A4, 0xAB1C5ED5, 0xD807AA98, 0x12835B01, 0x243185BE, 0x550C7DC3, 0x72BE5D74, 0x80DEB1FE, 0x9BDC06A7, 0xC19BF174, 0xE49B69C1, 0xEFBE4786, 0xFC19DC6, 0x240CA1CC, 0x2DE92C6F, 0x4A7484AA, 0x5CB0A9DC, 0x76F988DA, 0x983E5152, 0xA831C66D, 0xB00327C8, 0xBF597FC7, 0xC6E00BF3, 0xD5A79147, 0x6CA6351, 0x14292967, 0x27B70A85, 0x2E1B2138, 0x4D2C6DFC, 0x53380D13, 0x650A7354, 0x766A0ABB, 0x81C2C92E, 0x92722C85, 0xA2BFE8A1, 0xA81A664B, 0xC24B8B70, 0xC76C51A3, 0xD192E819, 0xD6990624, 0xF40E3585, 0x106AA070, 0x19A4C116, 0x1E376C08, 0x2748774C, 0x34B0BCB5, 0x391C0CB3, 0x4ED8AA4A, 0x5B9CCA4F, 0x682E6FF3, 0x748F82EE, 0x78A5636F, 0x84C87814, 0x8CC70208, 0x90BEFFFA, 0xA4506CEB, 0xBEF9A3F7, 0xC67178F2);\n\t\t\tvar HASH = new Array(0x6A09E667, 0xBB67AE85, 0x3C6EF372, 0xA54FF53A, 0x510E527F, 0x9B05688C, 0x1F83D9AB, 0x5BE0CD19);\n\t\t\tvar W = new Array(64);\n\t\t\tvar a, b, c, d, e, f, g, h, i, j;\n\t\t\tvar T1, T2;\n\t\n\t\t\tm[l >> 5] |= 0x80 << (24 - l % 32);\n\t\t\tm[((l + 64 >> 9) << 4) + 15] = l;\n\t\n\t\t\tfor ( var i = 0; i>5] |= (str.charCodeAt(i / chrsz) & mask) << (24 - i%32);\n\t\t\t}\n\t\t\treturn bin;\n\t\t}\n\t\n\t\tfunction Utf8Encode(string) {\n\t\t\tstring = string.replace(/\\r\\n/g,\"\\n\");\n\t\t\tvar utftext = \"\";\n\t\n\t\t\tfor (var n = 0; n < string.length; n++) {\n\t\t\t\tvar c = string.charCodeAt(n);\n\t\n\t\t\t\tif (c < 128) {\n\t\t\t\t\tutftext += String.fromCharCode(c);\n\t\t\t\t}\n\t\n\t\t\t\telse if((c > 127) && (c < 2048)) {\n\t\t\t\t\tutftext += String.fromCharCode((c >> 6) | 192);\n\t\t\t\t\tutftext += String.fromCharCode((c & 63) | 128);\n\t\t\t\t}\n\t\n\t\t\t\telse {\n\t\t\t\t\tutftext += String.fromCharCode((c >> 12) | 224);\n\t\t\t\t\tutftext += String.fromCharCode(((c >> 6) & 63) | 128);\n\t\t\t\t\tutftext += String.fromCharCode((c & 63) | 128);\n\t\t\t\t}\n\t\n\t\t\t}\n\t\t\treturn utftext;\n\t\t}\n\t\n\t\tfunction binb2hex (binarray) {\n\t\t\tvar hex_tab = hexcase ? \"0123456789ABCDEF\" : \"0123456789abcdef\";\n\t\t\tvar str = \"\";\n\t\t\tfor(var i = 0; i < binarray.length * 4; i++) {\n\t\t\t\tstr += hex_tab.charAt((binarray[i>>2] >> ((3 - i%4)*8+4)) & 0xF) +\n\t\t\t\thex_tab.charAt((binarray[i>>2] >> ((3 - i%4)*8 )) & 0xF);\n\t\t\t}\n\t\n\t\t\treturn str;\n\t\t}\n\t\n\t\ts = Utf8Encode(s);\n\t\n\t\treturn binb2hex(core_sha256(str2binb(s), s.length * chrsz));\n\t}\n\n/* Uses LOCAL STORAGE instead of session storage - https://www.wrike.com/open.htm?id=769060181 */\nbouncex.localStorageInfoStore = {\n\tlocalStorageIdentifier: 'bxInfoStore',\n\tset: function(data) {\n\t\tvar hashedData = bouncex.lz.compressToURI(JSON.stringify(data));\n\t\ttry {\n\t\t\tlocalStorage.setItem(this.localStorageIdentifier, hashedData);\n\t\t} catch(e) {\n\t\t\tbouncex.err('local storage failure');\n\t\t}\n\t},\n\n\tget: function() {\n\t\tvar info = localStorage.getItem(this.localStorageIdentifier);\n\t\treturn info ? JSON.parse(bouncex.lz.decompressFromURI(info)) : '';\n\t},\n\n\tinfoIsStored: function() {\n \treturn !!localStorage.getItem(this.localStorageIdentifier);\n \t},\n\t\n\tpopulateFields: function(fields) {\n\t\tif (!this.infoIsStored()) return;\n\t\t\n\t\tvar data = this.get();\n\t\tfor (var field in fields) {\n\t\t\tif (fields.hasOwnProperty(field)) {\n\t\t\t\tfields[field].val(data[field]);\n\t\t\t}\n\t\t}\n\t}\n};","force_https":false,"waypoints":false,"content_width":900,"gai":"UA-42730374-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,"mas":2,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"/* -------------------- ONBOARD NOVEMBER 2020 --------------- */\nvar CATEGORY_TILES = 'ul[class*=ProductList] li[class*=ProductTile]',\n ATC_BTN = \"[class*='ActionButton_element']\",\n COOKIE_NAME = 'cart_id',\n COOKIE_ADDRESS = 'mb_address';\n\nif (bouncex.vars.valid_domain && !isGiftCard()) {\n initTracking();\n}\n\nfunction initTracking() {\n var pageType = bouncex.website.pts;\n\n if (pageType === 'product') {\n bouncex.et.onTrue(itemLoaded, trackItem, 15);\n }\n if (pageType === 'category' || pageType === 'search') {\n bouncex.et.onTrue(categoryLoaded, trackCategory, 15);\n\t}\n\t\n\tif (!isStoreHomePage()) {\n\t trackATC();\n\t}\n\ttrackCartEvents();\n\tinitializeLoggedInUser();\n}\n\n/* ------------ HELPERS ----------*/\nfunction getUrl() {\n return bouncex.utils.url.allowParams();\n}\n\nfunction isGiftCard() {\n return getUrl().indexOf('gift-cards') > -1;\n}\n\nfunction isLoggedInAccountPage(){\n\treturn getUrl() === 'https://minibardelivery.com/account/overview';\n}\n\nfunction isStoreHomePage() {\n return getUrl() === \"https://minibardelivery.com/store\";\n}\n\n/* Adds '/wunderkind' to item:url per client's request: https://www.wrike.com/open.htm?id=606582718 */\nfunction formatItemUrl() {\n var baseUrl = bouncex.utils.url.allowParams().split('/').slice(0, 6);\n baseUrl.splice(3, 0, 'wunderkind');\n return baseUrl.join('/');\n}\n\n\n/* ------------ITEM TRACKING ----------*/\nfunction itemLoaded() {\n return getItemCopy() && getItemImage();\n}\n\nfunction trackItem() {\n var item = getItem();\n if (item.id !== bouncex.vars.previous_selected_item) {\n bouncex.push(['item', item]);\n viewItem(item.id, item.groupId);\n bouncex.setVarAndReload(\"previous_selected_item\", item.id);\n }\n}\n\nfunction getItem() {\n return {\n id: createItemId(getItemCopy()),\n copy: getItemCopy(),\n category: jQuery('li[class*=\"BrowseBreadcrumbs\"]').last().text() || '',\n url: formatItemUrl() || '',\n imageurl: getItemImage(),\n instock: jQuery('.UnavailablePanel_message__1Za6P').length === 0\n };\n}\n\nfunction viewItem(itemId) {\n bouncex.push([\n 'view item',\n {\n 'item:id': itemId\n },\n ]);\n}\n\nfunction getItemCopy() {\n return jQuery('h1[itemprop=\"name\"]').text() || '';\n}\n\nfunction getItemImage() {\n var imgUrl = jQuery('div[class*=ProductImage_img] img').attr('src') || '';\n \n // replaces ios images with clients standard product images\n imgUrl = imgUrl.replace('ios_product', 'product_detail');\n \n if(imgUrl){\n return imgUrl.indexOf('\thttps://minibardelivery.com') > -1 ? imgUrl : 'https://minibardelivery.com' + imgUrl;\n }\n}\n\nfunction createItemId(itemCopy) {\n itemCopy = itemCopy || \"\";\n return itemCopy.split(' ').join('-').toLowerCase();\n}\n\n// /* ------------- CATEGORY TRACKING ------------*/\nfunction categoryLoaded() {\n\treturn getCategoryIds().length > 0;\n}\n\nfunction getCategoryIds() {\n return jQuery(CATEGORY_TILES)\n .map(function () {\n var itemCopy = jQuery(this).find('div[itemprop=\"name\"] span[class*=ProductTileName]').text(),\n pid = createItemId(itemCopy);\n if (pid) {\n return pid;\n }\n })\n .toArray()\n .join(\",\");\n}\n\nfunction trackCategory() {\n\tvar categoryObj = getCategoryObj();\n\tbouncex.push(['view category', categoryObj]);\n}\n\nfunction getCategoryObj() {\n\treturn {\n 'page:title': jQuery('.BrowseBreadcrumbs_separator__3RRlk').last().text() || getUrl().split('/').pop().split(\"+\").join(' '),\n\t\t'page:url': getUrl(),\n\t\t'items:ids': getCategoryIds()\n\t};\n}\n\n/* |----------- CART INIT AND REPLENISHMENT ----------------| */\nfunction getCookie(cookieName) {\n return bouncex.getBounceCookie(cookieName);\n}\n\nfunction replenish(cart) {\n cart = JSON.parse(cart.token);\n bouncex.utils.cookies.create({ name: COOKIE_NAME, value: cart.token });\n bouncex.utils.cookies.create({ name: COOKIE_ADDRESS, value: cart.address });\n window.location.href = window.location.pathname + '?bx_replen=true';\n}\n\nfunction trackCartEvents() {\n bouncex.et.cart.init({\n replenishmentType: 'cookie',\n replenish: replenish,\n });\n\n bouncex.et.onVarChange('cart_qty', trackEmptyCart);\n}\n\nfunction trackATC() {\n var itemId = createItemId(getItemCopy()),\n cookie = { token: getCookie(COOKIE_NAME), address: getCookie(COOKIE_ADDRESS) };\n\n bouncex.et.onVisible(\"[class*='SplitDeliveryWarning_element']\", function() {\n bouncex.setVarAndReload(\"item_added\", \"\");\n jQuery(\"[class*='SplitDeliveryWarning_confirmButton']\").click(function() {\n bouncex.setVarAndReload(\"item_added\", true);\n });\n });\n\n // This product is only avaiable via shipping verification -> user has clicked on 'Never mind'\n bouncex.et.onVisible(\"[class*='MBDialog_content']\", function() {\n bouncex.setVarAndReload(\"item_added\", \"\");\n jQuery(\"[class*='ShippingWarning_confirmButton']\").click(function() {\n bouncex.setVarAndReload(\"item_added\", true);\n });\n });\n\n // Fires ATC when mini cart is visible if bouncex.vars.item_added is set to an item id\n bouncex.et.onVisible(\"[class*='MBDrawer_overlay']:not([class*='MBDrawer_overlayHidden'])\", function() {\n if (bouncex.vars.quick_add_clicked) {\n itemId = bouncex.vars.quick_add_item;\n }\n\n if (bouncex.vars.item_added) {\n fireATC(itemId, JSON.stringify(cookie));\n // bouncex.log(\"%c FIRED ATC\", 'color:magenta');\n }\n bouncex.setVarAndReload(\"item_added\", \"\");\n bouncex.setVarAndReload(\"quick_add_item\", \"\");\n bouncex.setVarAndReload(\"quick_add_clicked\", \"\");\n });\n \n // Handles PDP add to cart button\n bouncex.et.on(jQuery(ATC_BTN), 'click.bx', function() {\n bouncex.setVarAndReload(\"item_added\", true);\n bouncex.setVarAndReload(\"quick_add_clicked\", \"\");\n });\n \n // Handles Quick Add To Cart\n bouncex.et.onTrue(categoryLoaded, function(){\n jQuery('li[class*=\"ProductTile_element\"]').mouseenter(function(){\n bouncex.log(\"MOUSE ENTERED!\");\n jQuery(\"[class*='QuickAdd_button']\").on('click', function(e) {\n var productName = jQuery(e.target).parents('div[class*=ProductTile]').find('[itemprop=\"name\"]').text().trim();\n \n bouncex.setVarAndReload('item_added', true);\n bouncex.setVarAndReload('quick_add_clicked', true);\n bouncex.setVarAndReload(\"quick_add_item\", createItemId(productName));\n });\n });\n }, 15);\n}\n\nfunction fireATC(itemId, cookie) {\n if (!itemId) {\n return;\n }\n bouncex.push([\n 'add to cart',\n {\n 'item:id': itemId,\n 'cart:token': cookie\n },\n ]);\n \n bouncex.setv('cart_set', true);\n\tsetBounceCookie();\n}\n\nfunction fireEmptyCart() {\n bouncex.push(['empty_cart', {}]);\n bouncex.setv('cart_set', false);\n setBounceCookie();\n}\n\nfunction trackEmptyCart() {\n if (bouncex.vars.cart_set === true && bouncex.vars.cart_qty === 0) {\n fireEmptyCart();\n }\n}\n\n/* |----------- LOGGED IN USER ----------------| */\nfunction isLoggedInAccountPage(){\n\treturn getUrl() === 'https://minibardelivery.com/account/overview';\n}\n\nfunction initializeLoggedInUser(){\n\tif (!bouncex.vars.logged_in_identified){\n\t\tif(isLoggedInAccountPage()){\n\t\t\tvar userEmail = jQuery('input[name=\"email\"]').val();\n\t\t\tif (userEmail && bouncex.utils.validate.email(userEmail)){\n\t\t\t\tbouncex.push([\n\t\t\t\t\t'user',\n\t\t\t\t\t{\n\t\t\t\t\t\t'email': userEmail,\n\t\t\t\t\t\t'source': 'LoggedIn'\n\t\t\t\t\t}\n\t\t\t\t]);\n\t\t\t\tbouncex.setv('logged_in_identified', true);\n\t setBounceCookie();\n\t\t\t}\n\t\t}\n\t}\n}\n","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"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/cart_share/"}]]},"category":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/search/"}],[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('div[class*=\"ProductList_div\"] div[class*=\"ProductTile_content\"]').length > 0;"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkout"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/success"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.pathname === '/';"},{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('[rel=canonical][href=\"https://minibardelivery.com/store\"]').length > 0;"}]]},"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":"/search/"}]]}},"els":{"blank_site_element":""},"vars":[{"name":"logged_in","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('[class^=\"AccountToggle\"]:contains(\"Hi\")').length > 0;","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":"Number(jQuery('[class^=\"CartIcon_quantity\"]:first').text().replace(/[^0-9.]/g, ''));","trigger":""},{"name":"cart_value","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"0","code":"(function() {\n var cartItems = jQuery('[class^=\"CartDrawerContentItem_price\"]').text().split('$');\n var total = 0;\n\n for (var i=0; i 0 || null;","trigger":""},{"name":"page_url","polling":"none","persist":"no","page_types":["category","search"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"cart_token","polling":"none","persist":"no","page_types":[],"testmode":true,"default":"false","code":"null;","trigger":"pageload"},{"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":true,"default":"false","code":"null;","trigger":"pageload"},{"name":"valid_domain","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"window.location.hostname === \"minibardelivery.com\";","trigger":"pageload"},{"name":"cart_set","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"item_added","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"quick_add_item","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"quick_add_clicked","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"logged_in_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"previous_selected_item","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"}],"dgu":"pixel.cdnwidget.com","dgp":false,"ba":{"enabled":0,"fbte":0},"biu":"assets.bounceexchange.com","bau":"api.bounceexchange.com","beu":"events.bouncex.net","ibx":{"tjs":"","cjs":"","miw":1,"mibcx":1,"te":1,"cart_rep":{"get":"","set":""},"ulpj":{"bx":"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 var data = dataLayer;\n var len = dataLayer.length;\n for (i = len-1; i > 0; i--) {\n var dpt = data[i];\n if (dpt !== undefined && dpt.event !== undefined && dpt.event === 'VirtualPageView') {\n return dpt.virtualPageURL;\n }\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":["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":"327864220","ga4_measurement_id":"G-WY81EC6MLX"} ; 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":"4ccb5aa841f2fdb77460e4db3d17f987","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_353d36006c1db25351656386bdf104d7.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(); }})();