(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":5290,"name":"Lenovo Canada [French]","cookie_name":"bounceClientVisit5290","domain":"canada.lenovo.comfrcaen","ct":"bind_to_domain","ally":0,"ei":0,"tcjs":"","cjs":"var url = window.location.href,\n search = window.location.search;\n \nif (search.length > 0 && url.indexOf(search) > -1) {\n url = url.split(search)[0]; \n}\n\nif (bouncex.cookie.vpv === 1 && (url === 'https://canada.lenovo.com/fr/ca/en/' || url === 'https://canada.lenovo.com/fr/ca/en')) {\n bouncex.setv('landed_branding_page', true);\n}\n\nenable.feature.DISABLE_RELOAD_CAMPAIGNS_V2","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":1},"burls":[],"ple":false,"fbe":true,"ffs":"","mas":3,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"var LENOVO_DOMAIN = 'https://canada.lenovo.com',\n GEO_PATH = '/fr/ca/en';\n\n// ---- HELPERS ---- //\n\nfunction getUrl(params) {\n params = params || '';\n\treturn bouncex.utils.url.allowParams(params);\n}\n\nfunction setVarAndCookie(varName, value) {\n\tbouncex.setVar(varName, value);\n\tbouncex.setBounceCookie();\n}\n\nfunction contains(array, string){\n for (var i = 0; i < array.length; i++){\n if (string.indexOf(array[i]) > -1){\n return true;\n }\n }\n return false;\n}\n\nfunction isConfigPage(){\n return getUrl().indexOf('configurator') > -1 || !!bouncex.utils.url.getParam('isConfiguration');\n}\n\n// ---- ITEM META DATA ---- //\n\nfunction getItemImage(productData) {\n // imagePath selector can be different for other GEOs\n var itemImageUrl = productData.thumbnail || jQuery('.image-pic img').attr('src') || '';\n \n if (!itemImageUrl){\n return false;\n }\n\n return itemImageUrl.indexOf(window.location.protocol) > -1 ? itemImageUrl : window.location.protocol + itemImageUrl;\n}\n\nfunction getItem() {\n\tvar productData = bouncex.utils.getNestedProp('lmd', {title: '', internalsearchcanonical: '', Subseriesstatus: ''});\n\n\treturn {\n\t\tid : getUrl().split('/').pop().toUpperCase(),\n\t\tcopy: productData.title,\n\t\tcategory : productData.internalsearchcanonical.split('/')[1] || 'GLOBAL',\n\t\turl : jQuery('link[rel=\"canonical\"]').attr('href') || getUrl(),\n\t\timageurl : getItemImage(productData),\n\t\tinstock : bouncex.vars.in_stock || productData.Subseriesstatus.toLowerCase() === 'available',\n\t\thas_discount : jQuery('.eCoupon .coupon-code').length\n\t};\n}\n\n// ---- CATEGORY META DATA ---- //\n\nfunction getCategoryIds() {\n return jQuery(\n '.product__card__title-grid-link, .product-card-link, .Product:first li .lazy_href:not(.bv_hover), .product_title .lazy_href, .learnMore a'\n )\n .map(function () {\n var gridEl = jQuery(this),\n itemUrl = gridEl.attr('href') || '',\n itemId = itemUrl.split('/').pop();\n\n if (itemId) {\n return itemId;\n }\n })\n .toArray()\n .join(',');\n}\n\nfunction getCategoryObj(){\n\treturn {\n\t\t'page:url': getUrl('text'),\n\t\t'items:ids': getCategoryIds()\n\t};\n}\n\n// ---- CART TRACKING - AJAX ---- //\n\n\n\nfunction getAtcProductCode(atcSelector){\n\tvar productCode = jQuery(atcSelector).attr('productcode') || jQuery(atcSelector).attr('pcode');\n\tif (!!productCode){\n\t\treturn productCode;\n\t}\n\t\n\tvar prodContainer = jQuery(atcSelector).closest('.product_item').find('.lazy_href').attr('href') || '';\n\tvar hrefCode = prodContainer.split('/').pop();\n\tif (!!hrefCode){\n\t\treturn hrefCode;\n\t}\n\t\n\tvar $productParams = bouncex.parseJSON(jQuery(atcSelector).closest('.product_item').attr('data-adobe-params') || '');\n\treturn $productParams.productNubmer || false;\n}\n\nfunction trackAddToCart(){\n // standard pdp and top bar pdp & build your PC & model quick add & cart page quick add & compatible accessories \n /*\n - 9/11 removed the .cta-button[data-tkey=\"buildYourPC\"] selector since it is now included with the 9/11 update \n - 9/11 removing .cta-button:contains(\"Add To Cart\")') since it's a dupe of .cta-button:contains(\"Ajouter au panier\")\n - 9/11 removing .cta-button[data-tkey=\"addToCart\"] since it's a dupe of button[data-tkey=\"addToCart\"] \n */\n bouncex.et.on(jQuery(document), 'click.bx', function(e){\n var productCode = bouncex.parseJSON(jQuery(this).attr('data-param')).productCode || getAtcProductCode(this);\n fireAddToCart(productCode);\n }, 'button.add_cart, .cta-button:contains(\"Ajouter au panier\")');\n \n // configure/buy button && best sellers && category page quick add \n jQuery('.cta-button[aria-label=\"Configure/Buy\"], button[data-tkey=\"addToCart\"]').click(function(){\n \tvar productCode = getAtcProductCode(this);\n \t\n if (jQuery('li.menuitem.active a').attr('data-tkey') === \"model\") {\n return; // we dont want to fire atc here on model pages, its already being taken care of by the other click listener\n }\n \tfireAddToCart(productCode);\n });\n \n //9/11 Update\n\tbouncex.et.onVarChange('cart_qty', function(oldVal, newVal){\n\t if (newVal > oldVal) {\n\t var productCode;\n \tif (bouncex.website.pts === \"cart\"){\n \t bouncex.log(\"page type is cart, get item id from cart page\");\n \t productCode = jQuery('#productList .partNumber:first span').text();\n \t} else {\n \t productCode = jQuery('meta[name=productid]').attr('content');\n \t //productCode = jQuery('meta[name=productid]').attr('content') || bouncex.utils.getParam('mainCode');\n \t}\n \tif (productCode){\n \t fireAddToCart(productCode);\n \t}\n\t } \t\n\t});\n}\n\nfunction fireAddToCart(productCode){\n\tif (!productCode) { return }\n\n\tvar replenItem = {\n 'qty': \"1\",\n 'productCode': productCode\n };\n\t \n bouncex.push([\n 'add to cart', \n {\n 'item:id': productCode, \n 'cart:item': JSON.stringify(replenItem)\n }]);\n\t \n if (!bouncex.vars.cart_set){\n\t\tsetVarAndCookie('cart_set', true);\n }\n}\n\nfunction replenish(cart){\n var replenishmentUrl = 'https://canada.lenovo.com/fr/_openapi_lenovo_com/ca/en/api/cart/item',\n $deferreds = [];\n\n cart.items.forEach(function(item) {\n $deferreds.push(makeReplenItem(item, replenishmentUrl));\n });\n\n $deferreds\n .reduce(function(promise, func) {\n return promise.then(function() {\n return func();\n });\n }, jQuery.Deferred().resolve([]))\n .then(replenComplete);\n}\n\nfunction makeReplenItem(data, replenishmentUrl) {\n return function() {\n return jQuery.ajax({\n type: 'POST',\n xhrFields: {withCredentials: true},\n url: replenishmentUrl,\n data: bouncex.utils.url.generateQuerystring(data)\n });\n };\n}\n\nfunction replenComplete() {\n window.location.href = window.location.origin + window.location.pathname + '?bx_replen=true';\n}\n\nfunction cartOnReplen() {\n var arr = ['bx_replen', 'bx_cart', 'account'],\n href = window.location.href;\n return contains(arr, href);\n}\n\nfunction emptyCart(){\n\tif (bouncex.vars.cart_set && jQuery('#cart_empty').length > 0){\n\t\tbouncex.push(['empty_cart']);\n\t\tsetVarAndCookie('cart_set', false);\n\t}\n}\n\n// ---- INITIALIZE EVENTS ---- //\nfunction initializeItemEvents(){\n if (isConfigPage()){ return; }\n\n\tvar item;\n\n\tbouncex.et.onTrue(function(){\n\t\titem = getItem();\n return !!item.id &&\n !!item.copy &&\n !!item.category &&\n !!item.url &&\n !!item.imageurl;\n\t}, function(){\n\t\tbouncex.push(['view item', {'item:id': item.id}]);\n \n // Preventing item tracking on gated parts of site\n // https://wunderkindco.atlassian.net/browse/SOTEC-5812\n if (item.url.indexOf('smbpro') > -1){ return; }\n \n bouncex.push(['item', item]);\n\t}, 10);\n}\n\nfunction initializeCategoryEvents(){\n\tvar categoryObj = getCategoryObj();\n\n\tif (categoryObj['items:ids'].length){\n\t\tbouncex.push(['view category', categoryObj]);\n\t}\n}\n\nfunction initializeCart(){\n\tbouncex.et.cart.init({\n cartCountVariable: 'cart_qty',\n storeValues: [],\n replenish: replenish,\n replenishmentType: 'ajax'\n });\n\n if (bouncex.website.pts === 'cart') {\n emptyCart();\n }\n\n trackAddToCart();\n}\n\nfunction initializeLoggedInUser(){\n\tif (bouncex.vars.logged_in && !bouncex.vars.logged_in_identified){\n\t\tvar userEmail = bouncex.utils.getNestedProp('displayUid');\n\n\t\tif (bouncex.utils.validate.email(userEmail)){\n bouncex.push([\n 'user',\n {\n 'email': userEmail,\n 'source': 'LoggedIn'\n }\n\t\t]);\n\n\t\tsetVarAndCookie('logged_in_identified', true);\n\t\t}\n\t}\n}\n\nfunction checkForFrenchUTM() {\n if (window.location.href.indexOf('frclickthrough') > -1) {\n bouncex.push(['fr_click',{}]);\n }\n}\n\nfunction init(){\n\tvar url = getUrl();\n\tif (url.indexOf(LENOVO_DOMAIN) > -1 && url.indexOf(GEO_PATH) > -1) {\n\t\tinitializeLoggedInUser();\n\t\tinitializeCart();\n checkForFrenchUTM();\n\n\t\tswitch (bouncex.website.pts) {\n case 'category':\n case 'search':\n initializeCategoryEvents();\n break;\n\t\t\tcase 'product':\n\t\t\t\tinitializeItemEvents();\n\t\t\t\tbreak;\n\t\t\tdefault:\n\t\t\t\tbreak;\n\t\t}\n\t}\n}\n\ninit();\n","dge":true,"bxidLoadFirst":false,"pie":false,"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":"localhost:9002"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"pre-u-hybris."}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"tun-c-hybris."}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"account.lenovo.com/"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"pre-c-hybris."}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"gl.lenovouat."}]]},"category":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('meta[name=\"productinfo.pageurl\"]').length === 0 && document.querySelectorAll('section.product_list ul.skeleton_product li.product_item, .product_list ul.skeleton_product li.product_item, .Products ul.Product li a[productid], .product, .productCard, .product__card__container, .product_title').length > 0;"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/search?"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/checkout"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkout/"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkout"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"pre-c-hybris."}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"tun-c-hybris."}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"gl.lenovouat."}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"account.lenovo.com"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/orderconfirmation/"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('link[rel=\"canonical\"][href=\"https://www.lenovo.com/us/en\"], link[rel=\"canonical\"][href=\"https://canada.lenovo.com/fr/ca/en/\"]').length > 0;"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/login/"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/privacy/"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/think/ca/en"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"datacentersupport."}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/ticketsatwork/ca/en"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('body[jsppagename=\"nemoProductLayout2Page\"], meta[name=\"productinfo.pageurl\"]').length > 0;"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"document.querySelectorAll('meta[name=\"productinfo.category\"]').length > 0 && document.querySelectorAll('.commuter-backpack-nav__btn#addToCartButtonTop').length > 0;"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/search?"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"tun-r-hybris."}]]}},"els":{"blank_site_element":""},"vars":[{"name":"logged_in","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.utility_nav .userMSG:first').length > 0;","trigger":""},{"name":"ever_logged_in","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.logged_in || null;","trigger":""},{"name":"cart_qty","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"0","code":"(function() {\n if (bouncex.website.pts === 'cart'){\n return Number(jQuery('.itemsLineCount').text().replace(/[^0-9.]/g,'')) || Number(jQuery('.productHeaderBar h1').text().replace(/[^0-9.]/g,''));\n }\n\n return Number(jQuery('.c_i_num').text().replace(/[^0-9.]/g,'')) || null;\n})();","trigger":""},{"name":"cart_value","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"0","code":"(function () {\n if (bouncex.website.pts === 'cart'){\n return Number(bouncex.utils.getNestedProp('lmd.cart.totalPrice'));\n }\n\n return null;\n})();","trigger":""},{"name":"prod_price","polling":"all","persist":"no","page_types":["product"],"testmode":true,"default":"false","code":"(function() {\n var $strikePrice = jQuery('.price_box[data-final-price]'),\n $customPrice = jQuery('#ctoYourPrice.final-price:visible').eq(0),\n $webPrice = jQuery('#singlesku-configure-summary .saleprice:visible:contains(\"$\"), .summary_realy_price, .sticky_bottom_price').eq(0),\n $ctaPrice = jQuery('.cta .cta-price:contains(\"Starting at:\") dd[itemprop=\"price\"]').eq(0),\n $groupPrice = jQuery('meta[name=\"productsaleprice\"]').eq(0),\n $listPrice = jQuery('span[priceType=\"listPrice\"]').eq(0),\n $metaPrice = jQuery('meta[name=\"productprice\"]').eq(0);\n\n if ($strikePrice.length > 0) {\n return Number($strikePrice.attr('data-final-price')) || null;\n } else if ($customPrice.length > 0) {\n return Number($customPrice.text().replace(/[^0-9.]/g, ''));\n } else if ($webPrice.length > 0 || $ctaPrice.length > 0) {\n return Number($ctaPrice.text().replace(/[^0-9.]/g, '') || $webPrice.text().replace(/[^0-9.]/g, ''));\n } else if ($groupPrice.length > 0) {\n return Number($groupPrice.attr('content'));\n } else if ($listPrice.length > 0 || $metaPrice.length > 0) {\n return Number($listPrice.text().replace(/[^0-9.]/g, '') || $metaPrice.attr('content'));\n }\n return false;\n})();","trigger":""},{"name":"prod_name","polling":"all","persist":"no","page_types":["product"],"testmode":true,"default":"false","code":"(function() {\n var $h2title = jQuery('h2.product_summary').eq(0),\n $buildName = jQuery('.buildYourText').eq(0),\n $customName = jQuery('.productBuilderPageHeader h2.tabbedBrowse-title, .pageWrapper h2.tabbedBrowse-title').eq(0),\n $webName = jQuery('meta[name=\"productInfo.name\"]').eq(0),\n $ctaName = jQuery('.cta meta[itemprop=\"name\"]').eq(0),\n $ctaAlt = jQuery('h2.mobileHeader[itemprop=\"name\"]').eq(0);\n \n if ($h2title.length > 0) {\n return $h2title.text().trim();\n } else if ($buildName.length > 0) {\n if ($buildName.text().indexOf('Build Your') > -1) {\n return $buildName.text().split('Build Your ').join('');\n }\n return $buildName.text().split('Add to Your ').join('');\n } else if ($ctaName.length > 0 || $ctaAlt.length > 0) {\n return $ctaAlt.text().trim() || $ctaName.attr('content');\n } else if ($customName.length > 0 && window.location.href.indexOf('/customize?') > -1) {\n return $customName.text().trim();\n } else if ($webName.length > 0) {\n return $webName.attr('content');\n }\n return false;\n})();","trigger":""},{"name":"in_stock","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.cta-button').length > 0;","trigger":""},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"jQuery('#footer_mask_iframe:visible').contents().find('#div-thankyou:visible').length > 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_set","polling":"none","persist":"no","page_types":[],"testmode":false,"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":"page_type","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts;","trigger":"pageload"},{"name":"on_branded_landed_page","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"/* should still return true with search params */\n(function() {\n var url = window.location.href,\n search = window.location.search;\n \n if (search.length > 0 && url.indexOf(search) > -1) {\n url = url.split(search)[0]; \n }\n return url === 'https://canada.lenovo.com/fr/ca/en/' || url === 'https://canada.lenovo.com/fr/ca/en';\n})();","trigger":"pageload"},{"name":"landed_branding_page","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"// /* should still return true with search params */\n// (function() {\n// var url = window.location.href,\n// search = window.location.search;\n \n// if (search.length > 0 && url.indexOf(search) > -1) {\n// url = url.split(search)[0]; \n// }\n// return url === 'https://canada.lenovo.com/fr/ca/en/' || url === 'https://canada.lenovo.com/fr/ca/en' || null;\n// })();\nnull;","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":null,"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":"","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"coupons.bounceexchange.com","dfpcms":0,"sms":{"optm":"","eventSharing":false,"shqId":"","enabled":0},"pde":true,"fme":false,"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":"07d5b82cf97935025a59bf55f6552b1c","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_efcf4183cfe60de21aa43976b713ebd6.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"}]; 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(); }})();