(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":4375,"name":"Symantec: Norton IN","cookie_name":"bounceClientVisit4375","domain":"in.norton.com","ct":"multi_cookie","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":0,"gmp":0,"whitelist_check":1},"burls":[],"ple":false,"fbe":true,"ffs":"","mas":3,"map":3,"gar":true,"ete":1,"ettm":false,"etjs":"// Use Norton UK code as a starting point for Norton properties with static email content\n\nvar glossaryPage = window.location.pathname.indexOf('glossary') > -1,\n checkoutPage = window.location.origin === \"https://buy.norton.com\",\n GLOBAL_CONFIG = {\n '3162': {\n cc: ['UK']\n },\n '4375': {\n cc: ['IN']\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 (bouncex.website.pts === \"product\" || bouncex.website.pts === \"category\") {\n bouncex.push([\"view_norton\", {}]);\n }\n}\n\nfunction view_product() {\n var pathUrl = window.location.pathname,\n isProductPage = jQuery('h1').length >= 1 && \n bouncex.website.pts !== 'home' &&\n bouncex.website.pts !== 'category' &&\n pathUrl.indexOf('/norton/ps/bb/ushard/gamer/us.html') === -1 &&\n pathUrl.indexOf('/norton/ps/bb/ushard/gamer/us_monthly.html') === -1,\n excludedIds = ['norton-utilities-premium', 'norton-mobile-security-for-android', 'norton-mobile-security-for-ios', 'norton-family'];\n\n if(isProductPage) {\n var item_id = window.location.pathname.split('/').pop();\n var item_category = 'norton';\n var item_image_url = \"https://buy-static.norton.com/norton/ps/affbundles/images/logo-norton-ll.png\";\n var item_copy = jQuery('h1').first().text();\n var page_url = window.location.origin + window.location.pathname;\n \n bouncex.push(['item', {\n 'item:id': item_id,\n 'item:copy': item_copy,\n 'item:category': item_category,\n 'item:imageurl': item_image_url,\n 'item:url': page_url,\n 'item:instock': true,\n 'item:excluded': excludedIds.includes(item_id)\n }]);\n bouncex.push(['view item', {\n 'item:id': item_id\n }]);\n product_atc();\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/us.html') === -1 &&\n pathUrl.indexOf('/norton/ps/bb/ushard/gamer/us_monthly.html') === -1;\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 product_atc() {\n var atcSelector = '.btn-default:visible, .buy-button-orange:visible,' +\n ' .buy:visible, .buy-now:visible, .buyNow:visible, .free-trial-button:visible, .buy-button-comp-chart, a[data-link-type=\"buy-now\"]';\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 = window.location.pathname.split('/').pop();\n var cookie = bouncex.getBounceCookie(COOKIE_NAME);\n var replenUrl = jQuery(this).attr('href');\n var sku = bouncex.utils.url.getParam('selSKU', replenUrl);\n \n if (bouncex.utils.getParam('exp', atcUrl) === 'ch1'){\n sku = sku + '&exp=ch1';\n }\n\n fireATCevents(sku, item_id, replenUrl, cookie);\n });\n}\n\nfunction category_atc() {\n var available_items = jQuery('.product-panel-header').toArray().reduce(function(accum, element, index){\n var text = jQuery(element).find('.header-name').text() + ' ' + jQuery(element).find('.header-tier').text();\n \n accum[index + 1] = text.toLowerCase().replace(/ /g, '-');\n return accum;\n }, {});\n\n var buttons = jQuery('[data-link-type=buy-now]');\n if(buttons.length === 0) {\n jQuery('.btn-default.pdd-btn:not(\".hide\")').click(function() {\n var title = jQuery(this).parent().prev().prev().prev().prev().prev(),\n item_id = (title.find('.header-name').text() + ' ' + title.find('.header-tier').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 fireATCevents(sku, item_id, replenUrl, cookie);\n });\n } else {\n bouncex.et.on(jQuery(document), \"click.bx\", function () {\n var url = jQuery(this).parents('[class*=\"productpanel__grid__product\"]').find('[class*=\"ptitle\"][href]').attr('href'),\n item_id = url && bouncex.utils.url.allowParams('', url).split('/').pop(),\n cookie = bouncex.getBounceCookie(COOKIE_NAME),\n replenUrl = jQuery(this).attr('href'),\n sku = bouncex.utils.url.getParam('selSKU', replenUrl);\n if(item_id && sku){\n fireATCevents(sku, item_id, replenUrl, cookie);\n }\n }, '[data-link-type=buy-now]');\n }\n}\n\nfunction empty_cart() {\n var checkoutPage = window.location.origin === \"https://buy.norton.com\";\n if(checkoutPage) {\n if((jQuery('.-GVQhn').length > 0 || jQuery('.empty-cart__message').length > 0) && bouncex.vars.cart_set) {\n bouncex.push(['empty_cart', {}]);\n bouncex.setv('cart_set', false);\n setBounceCookie();\n } else {\n bouncex.et.onVisible('[data-test=\"CART\"]', function() {\n bouncex.setv('cart_set', true);\n setBounceCookie();\n \n var buttons = jQuery('[role=\"main\"]').find('[type=\"button\"]').length > 0 ? jQuery('[role=\"main\"]').find('[type=\"button\"]') : jQuery('.product-remove');\n buttons.click(function() {\n setTimeout(function() {\n if((jQuery('.-GVQhn').length > 0 || jQuery('.empty-cart__message').length > 0) && bouncex.vars.cart_set) {\n bouncex.push(['empty_cart', {}]);\n bouncex.setv('cart_set', false);\n setBounceCookie();\n return;\n }\n }, 1000);\n });\n });\n setTimeout(function() {\n if((jQuery('.-GVQhn').length > 0 || jQuery('.empty-cart__message').length > 0) && bouncex.vars.cart_set) {\n bouncex.push(['empty_cart', {}]);\n bouncex.setv('cart_set', false);\n setBounceCookie();\n return;\n }\n }, 1000);\n }\n }\n}\n\nfunction replenish(cart){\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=VISANC&lang=en&ptype=cart&trf_id=nortoncom&multipage=true';\n \n bouncex.et.replenish = true;\n \n bouncex.setTimeout2(function() { \n window.location.href = replenUrl;\n reportReplenishment();\n }, 2000);\n } else {\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\nbouncex.et.cart.init({\n replenish: replenish,\n replenishmentType: 'cookie',\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\nif(!glossaryPage && !checkoutPage) {\n view_product();\n} \n\nif (bouncex.website.pts === 'category') {\n category_atc();\n}\n\nempty_cart();","dge":false,"bxidLoadFirst":false,"pie":false,"cme":false,"gbi_enabled":0,"bpush":false,"pt":{"cart":{"testmode":true,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":""}]]},"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":"bouncex.utils.getNestedProp('window.nortonAnalytics.page_name', '').indexOf('overview') > -1 ||\nbouncex.utils.getNestedProp('window.nortonAnalytics.page_name', '') === \"offers2\"; \n"}]]},"checkout":{"testmode":true,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":""}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.location.pathname === '/';"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"window.nortonAnalytics && window.nortonAnalytics.site_sub_section === \"products-services\";"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/antivirus"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/search?q"}]]}},"els":{"blank_site_element":""},"vars":[{"name":"logged_in","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function() {\n if (bouncex.website.pts === 'cart_or_checkout') {\n return jQuery('._3IP3kv').first().text().indexOf('Signed in') > -1;\n }\n return null;\n})();","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":"visit","page_types":[],"testmode":false,"default":"0","code":"(function() {\n if (bouncex.website.pts === 'cart_or_checkout') {\n return jQuery('article[data-test=\"SINGLE_PRODUCT\"]').length;\n }\n return Number(jQuery('.navbar-cart-items.cart-count').text());\n})();","trigger":""},{"name":"cart_value","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function() {\n if (bouncex.website.pts === 'cart_or_checkout') {\n return jQuery('[data-test=\"SUBTOTAL_LINE\"]').length > 0 ? Number(jQuery('[data-test=\"SUBTOTAL_LINE\"]').text().split('. ')[1].replace(/[^0-9.]/g, '')) : jQuery('[data-test=REVIEW]').length > 0 ? null : 0;\n }\n return null;\n})();","trigger":""},{"name":"prod_price","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.hero-reveal').first().find('.pdd-prices.selected .pdd-prices-current-price').text().split('. ').pop().replace(/[^0-9.]/g, '');","trigger":""},{"name":"prod_name","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('.hero-reveal').first().find('h1').text().trim();\n","trigger":""},{"name":"in_stock","polling":"none","persist":"no","page_types":["product"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"submitted_onsite","polling":"none","persist":"permanent","page_types":[],"testmode":true,"default":"false","code":"","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_items","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":"logged_in_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"cart_loaded","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"!!(jQuery('.product-name:first').text() || jQuery('._2ubiuw.lJpw2F:first').text() || jQuery('._2ubiuw').text() || jQuery('[data-test=\"FULL_NAME\"').text());","trigger":"pageload"},{"name":"cart_set","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":{"riid":"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,"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":"ababbfcac9b56e701d1f877082b16c1d","creativesBaseStyles":"a53944a2","gpsAuction":"1375a7b38c31e98d14fe7f396b72da14","inbox":"02aca5df0e176b8810a86da97ac05424","onsite":"0e56ab6ba004ee080ce3deb3edae35e9","sms":"e39203556bab2366e56296ce42e974a7","websdk":"3314cefb9e5f7de4ce4a17e3cca4b891"}; 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_e3c047536bdaca2c8911cb1f6f6d8aa7.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(); }})();