(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":3161,"name":"Symantec: Norton BR","cookie_name":"bounceClientVisit3161","domain":"","ct":"bind_to_subdomain","ally":0,"ei":0,"tcjs":"","cjs":"","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":1,"gmp":0,"whitelist_check":1},"burls":[],"ple":false,"fbe":true,"ffs":"","mas":3,"map":3,"gar":false,"ete":1,"ettm":false,"etjs":"// Use this code as a starting point for Norton properties with static email content\n// last update: 04.29.2022 -RL\n\nvar GLOBAL_CONFIG = {\n 3162: {\n cc: [\"UK\"],\n },\n 4375: {\n cc: [\"IN\"],\n },\n 3163: {\n cc: [\"DE\", \"Germany\"],\n },\n 3161: {\n cc: [\"BR\"],\n },\n },\n websiteId = bouncex.website.id,\n localConfig = GLOBAL_CONFIG[websiteId],\n COOKIE_NAME = 'es';\n\nfunction isValidDomain() {\n return bouncex.website.name.indexOf(localConfig.cc) > -1;\n}\n\nif (isValidDomain()) {\n if (\n bouncex.website.pts === \"product\" ||\n bouncex.website.pts === \"category\"\n ) {\n bouncex.push([\"view_norton\", {}]);\n\n product_atc();\n }\n\n if (bouncex.website.pts === \"cart_or_checkout\") {\n bouncex.et.onVisible(\n \"._3IP3kv:contains(Signed in), p[data-test='EMAIL'].ctHidden\",\n function () {\n if (!bouncex.vars.logged_in_identified) {\n var userEmail =\n jQuery(\"p[data-test='EMAIL'].ctHidden\").text() ||\n jQuery(\"._3IP3kv:contains(Signed in)\")\n .text()\n .split(\"Signed in - \")\n .pop();\n if (bouncex.utils.validate.email(userEmail)) {\n bouncex.push([\n \"user\",\n { email: userEmail, source: \"LoggedIn\" },\n ]);\n bouncex.setv(\"logged_in_identified\", true);\n }\n }\n }\n );\n\n bouncex.et.onVisible('img[title=\"Empty Cart\"]', function () {\n bouncex.push([\"empty_cart\", {}]);\n });\n }\n\n bouncex.et.cart.init({\n replenish: replenish,\n replenishmentType: 'cookie',\n });\n}\n\nvar validCheckoutStep = 'Billing Information';\n\nfunction isCheckoutStep() {\n return bouncex.vars.valid_domain &&\n bouncex.vars.checkout_step &&\n bouncex.vars.checkout_step === validCheckoutStep;\n}\n\nfunction trackLoggedInUser() {\n var emailAddress,\n emailAddressSplit;\n\n if (!bouncex.vars.logged_in || bouncex.vars.logged_in_identified === true) {\n return;\n }\n\n emailAddress = jQuery('.page__inner--mid .topic-header__label').first().text();\n\n if (!emailAddress) {\n return;\n }\n\n emailAddressSplit = emailAddress.split(', ');\n\n if (!emailAddressSplit.length) {\n return;\n }\n\n if (emailAddressSplit[1]) {\n bouncex.push(['user', {\n email: emailAddressSplit[1],\n source: 'LoggedIn'\n }]);\n bouncex.setv('logged_in_identified', true);\n setBounceCookie();\n }\n}\n\nbouncex.et.onTrue(isCheckoutStep, function () {\n trackLoggedInUser();\n});\n\nvar blacklistParams = function(queryString) {\n queryString = queryString.replace('?', '').split('&');\n var blackListedParams = [\n 'utm',\n 'utm_source',\n 'utm_medium',\n 'utm_content',\n 'utm_term',\n 'gclid',\n 'ibx_source',\n 'ueh'\n ];\n var qs = '';\n for (var i = 0; i < queryString.length; i++) {\n var param = queryString[i].split('=');\n if (blackListedParams.indexOf(param[0]) === -1) {\n qs += '&' + param[0] + '=' + param[1];\n }\n }\n return qs.replace('&', '?');\n};\n\nvar isAffiliateTrafficLink = function(url) {\n url = (url || window.location.href).toLowerCase();\n var affiliateParams = [\n 'cjid',\n 'cac',\n 'avgaffiliate',\n 'trif',\n 'rak_id1',\n 'source=ir'\n ];\n for (var i = 0; i < affiliateParams.length; i++) {\n if (url.indexOf(affiliateParams[i] + (affiliateParams[i].indexOf('=') === -1 ? '=': '')) > -1) {\n return true;\n }\n }\n return false\n};\n\nvar isAffiliateTrafficCookie = function() {\n var cookie = getBounceCookie('PROGRAM_TYPE') || ''\n var cookieAffiliateParams = [\n 'CJ',\n 'OND',\n 'IMPACTRADIUS'\n ]\n for (var i = 0; i < cookieAffiliateParams.length; i++) {\n if (cookie.indexOf(cookieAffiliateParams[i]) > -1) {\n return true;\n }\n }\n return false;\n}\n\nif (isAffiliateTrafficLink()) {\n bouncex.push(['view_affiliate', {\n url: window.location.protocol + '//' + window.location.host + window.location.pathname + blacklistParams(window.location.search)\n }]);\n bouncex.setv('affiliate_event', true);\n setBounceCookie();\n}\n\nif (isAffiliateTrafficCookie() && bouncex.vars.affiliate_event === false) {\n var referrer = document.referrer\n if (referrer !== '') {\n bouncex.push(['view_affiliate', {\n url: referrer\n }]);\n bouncex.setv('affiliate_event', true);\n setBounceCookie();\n }\n}\n\nfunction product_atc() {\n var atcSelector = 'a[data-link-type=\"buy-now\"], [data-test=\"PRICE\"] button, button[data-test=\"SUBMIT\"]'\n\n jQuery(atcSelector).click(function(e) {\n var atcUrl = jQuery(e.target).attr('href');\n\n if (atcUrl === '#cta'){\n return;\n }\n\n var item_id = jQuery('h1').first().text().toLowerCase().replace(/ /g,'-'),\n cookie = bouncex.getBounceCookie(COOKIE_NAME),\n replenUrl = jQuery(this).attr('href') || '',\n sku = bouncex.utils.url.getParam('selSKU', replenUrl);\n \n if (bouncex.utils.getParam('exp', atcUrl) === 'ch1'){\n sku = sku ? sku + '&exp=ch1' : '';\n }\n \n if (item_id && cookie) {\n fireATCevents(sku, item_id, replenUrl, cookie);\n }\n });\n}\n\nfunction fireATCevents(sku, item_id, replenUrl, cookie) {\n if(atcEligibleProduct()) {\n if(sku && replenUrl.indexOf('https://buy.norton.com') > -1) {\n bouncex.push(['add to cart', {\n 'item:id': item_id,\n 'cart:token': 'selSKU=' + sku,\n }]);\n } else {\n bouncex.push(['add to cart', {\n 'item:id': item_id,\n 'cart:token': cookie\n }]);\n }\n bouncex.setv('cart_set', true);\n setBounceCookie();\n }\n}\n\nfunction atcEligibleProduct() {\n var pageUrl = bouncex.utils.url.allowParams(),\n pathUrl = window.location.pathname;\n\n return pageUrl.indexOf('/norton-family-premier') == -1 && \n pageUrl.indexOf('/downloads') === -1 &&\n pathUrl.indexOf('/norton/ps/bb/ushard/gamer/uk.html') === -1 &&\n pathUrl.indexOf('/norton/ps/bb/ushard/gamer/uk_monthly.html') === -1;\n}\n\nfunction replenish(cart){\n bouncex.log('START OF REPLENISHMENT');\n if (cart.token.indexOf('selSKU=') > -1) {\n var replenUrl = cart.token.indexOf('https://buy.norton.com/ps?selSKU=') > -1 ? cart.token : 'https://buy.norton.com/ps?' + cart.token + '&promocode=LT1&ctry=BR&lang=PT&ptype=cart&trf_id=nortoncom&multipage=true';\n bouncex.log(\"HERE IN CART REPLEN\", replenUrl);\n bouncex.et.replenish = true;\n \n bouncex.setTimeout2(function() { \n bouncex.log(\"AFTER TIMEOUT REPLEN\", replenUrl);\n window.location.href = replenUrl;\n reportReplenishment();\n }, 2000);\n } else {\n bouncex.log('CREATING COOKIE');\n bouncex.utils.cookies.create({'name': COOKIE_NAME, 'value': cart.token});\n bouncex.setTimeout2(function() { \n window.location.href = window.location.pathname + '?bx_replen=true';\n }, 2000);\n }\n}\n\n// custom report replen function if using URL for replen \nfunction reportReplenishment(){\n bouncex.push(['cart replenish', {\n 'cart:success': bouncex.et.replenish\n }]);\n}\n","dge":false,"bxidLoadFirst":false,"pie":false,"cme":false,"gbi_enabled":0,"bpush":false,"pt":{"cart":{"testmode":true,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelector('h4.topic-header__label').textContent.indexOf('Seu pedido') > -1;"}]]},"cart_or_checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/estore/checkOut"}]]},"category":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.nortonAnalytics && window.nortonAnalytics.page_name == 'home' || window.nortonAnalytics.page_name.indexOf('aff_') > -1;"}]]},"checkout":{"testmode":true,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelector('h4.topic-header__label').textContent.indexOf('Bem-vindo') > -1 && document.querySelector('.payment h4').textContent.indexOf('Informações de cobrança') > -1;"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.nortonAnalytics && window.nortonAnalytics.content_title === 'home' && window.nortonAnalytics.site_sub_section === \"homepage\";"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.nortonAnalytics && window.nortonAnalytics.site_sub_section === \"products-services\";"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/search?q"}]]}},"els":{"CART - Checkout Button":".preview-form__container","Footer":"footer","Navigation bar":"#navbar-norton:visible, .top-navigation-mobile:visible, nav.custom-sp:visible","PDP - Add to Cart Button":".pd-transactions-button:visible","PDP - Product Name":".pd-hero-heading","PDP - Product Price":".pd-prices-current-price:visible","PDP - Size Option":".pd-subscriptions"},"vars":[{"name":"logged_in","polling":"vars","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if(window.location.href.indexOf('estore/checkOut') > -1 && jQuery('h4.topic-header__label:first').text().indexOf('Bem-vindo') > -1){\n return true;\n }\n return null;\n})();","trigger":"pageload"},{"name":"ever_logged_in","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.logged_in ? true : null;","trigger":"pageload"},{"name":"cart_qty","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function() {\n var cartItems;\n if (window.location.href.indexOf('/estore/checkOut') < 0) {\n\t\treturn null;\n\t}\n var $qty = jQuery('[data-test=\"QUANTITY_AMOUNT\"]');\n var total = 0;\n for(var i = 0; i < $qty.length; i++) {\n total += Number($qty.eq(i).text().replace(/[^0-9.]/g,''));\n }\n return total;\n})();","trigger":"pageload"},{"name":"items_in_cart","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function() {\n if (bouncex.calling_url.indexOf('checkOut') > -1) {\n if (jQuery('.mini-cart').length > 0) {\n var qty = 0;\n jQuery('.mini-cart .full-item').each(function() {\n qty += Number(jQuery(this).find('[data-test=\"QUANTITY_AMOUNT\"]').text().trim());\n });\n return qty;\n } else if (window.location.pathname.indexOf('checkOutV2') > -1) {\n let qtyV2 = jQuery('div[data-test=\"QUANTITY_AMOUNT\"]'),\n total = 0;\n for(let i = 0; i < qtyV2.length; i++){\n total += Number(qtyV2.eq(i).text());\n }\n \n return total;\n } else {\n var qty = 0;\n jQuery('.preview-cart .full-item').each(function() {\n qty += Number(jQuery(this).find('[data-test=\"QUANTITY_AMOUNT\"]').text().trim());\n });\n return qty;\n }\n } else if (jQuery('.navbar-cart-item.cart-count:visible').length > 0) {\n return Number(jQuery('.navbar-cart-item.cart-count').text());\n }\n return null;\n})();","trigger":"pageload"},{"name":"cart_value","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function() {\n if (window.location.href.indexOf('/estore/checkOut') >= 0 || bouncex.website.pts === 'cart_or_checkout' || bouncex.website.pts === 'checkout' || bouncex.website.pts === 'cart') {\n return Number(jQuery('[data-test=\"SUBTOTAL_LINE\"]').text().replace(/,/,'.').replace(/[^0-9.]/g,''));\n\t}\n\treturn null;\n})()","trigger":"pageload"},{"name":"prod_price","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.pd-prices-current-price.display-inline-block:first').length > 0 ? jQuery('.pd-prices-current-price.display-inline-block:first').text().replace(/[^0-9\\.]/g,'') : false;","trigger":"pageload"},{"name":"prod_name","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.pd-hero-heading:first').length > 0 ? jQuery('.pd-hero-heading:first').text() : false;","trigger":"pageload"},{"name":"programid","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"\n(function(){\n var pId = bouncex.getBounceCookie('PROGRAMID');\n \n if(pId !== \"\"){\n return pId;\n } else {\n return false;\n }\n return null; \n})();","trigger":"pageload"},{"name":"first_cart_item","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n var cartItems;\n if (window.location.href.indexOf('/estore/checkOut') < 0 && bouncex.website.pts !== 'cart_or_checkout' && bouncex.website.pts !== 'checkout' && bouncex.website.pts !== 'cart') {\n\t\treturn null;\n\t}\n\tif(Number(jQuery('[data-test=\"QUANTITY_AMOUNT\"]').text()) === 0) {\n\t return false;\n }\n\tcartItems = bouncex.utils.getNestedProp('CART_OBJECT_NS.cartObject');\n if(cartItems) {\n for(var i = 0; i < cartItems.length; i++) {\n return bouncex.utils.getNestedProp('ProductName',null,cartItems[i]).trim();\n\t\t}\n }\n return false;\n})();","trigger":"pageload"},{"name":"checkout_step","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function() {\n if (window.location.pathname.indexOf('checkOut') > -1) {\n var nameMap = {\n 'cesta de compras': 'Shopping Cart',\n 'cobrança e pagamento': 'Billing Information',\n 'confirme e instale': 'Order Review'\n };\n var checkoutStep = jQuery('.nav__span--active').text().toLowerCase();\n return nameMap[checkoutStep] ? nameMap[checkoutStep] : false;\n }\n return false;\n})();","trigger":"pageload"},{"name":"logged_in_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"valid_domain","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"['br.norton.com', 'buy.norton.com'].indexOf(window.location.hostname) > -1;","trigger":"pageload"},{"name":"affiliate_event","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"affiliate_params_cobranding","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n if (window.location.href.indexOf('?') > -1) {\n var trackingParams = '&' + window.location.search.slice(1, -1);\n return trackingParams;\n }\n return null;\n})();","trigger":"pageload"},{"name":"using_edge_browser","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.browser.edge !== false;","trigger":"pageload"},{"name":"first_cart_item_fix","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n\tvar cartItems;\n\tif (bouncex.website.pts !== 'checkout' && bouncex.website.pts !== \"cart_or_checkout\") {\n\t\treturn null;\n\t}\n\n\tcartItems = bouncex.utils.getNestedProp('window.CART_OBJECT_NS.cartObject');\n\tif(cartItems) {\n\t\tfor(var i = 0; i < cartItems.length; i++) {\n\t\t\treturn bouncex.utils.getNestedProp('ProductName',null,cartItems[i]).replace(/Norton|™|360|with|LifeLock/gi,'').trim();\n\t\t}\n\t}\n})();","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":"","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"coupons.bounceexchange.com","dfpcms":0,"sms":{"optm":"","eventSharing":false,"shqId":"","enabled":0},"pde":false,"fmc":["BR"],"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":"005ab6b05ecd8ae76686b26c919990d4","creativesBaseStyles":"a53944a2","gpsAuction":"bbb80866120d17013073bb6d284cbd6b","inbox":"75060a85c1a4aebcc6f779b9e84db722","onsite":"abbdf7a49be9b52b097917b7b527b262","sms":"e39203556bab2366e56296ce42e974a7","websdk":"3cdb3cd0b71927a211b8afdc85918cfd"}; 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_756cfb1d158076d67943a971b41e5c68.br.js'); script.setAttribute('async', 'async'); document.body.appendChild(script); bouncex.initializeTag = function() {}; }; document.body.appendChild(runtime); } } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", bxBootstrap); } else { bxBootstrap(); }})();