(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":7265,"name":"Shutterfly","cookie_name":"bounceClientVisit7265","domain":"shutterfly.com","ct":"multi_cookie","ally":0,"ei":0,"tcjs":"","cjs":"/* enable.feature.DISABLE_IOS_ABSOLUTE */\n\n/* SOTEC-9794 */\nvar countries = [ 'US' ];\nwindow.wunderkind.sdk.addGeos(countries);\n","force_https":false,"waypoints":false,"content_width":900,"gai":"","swids":"","sd":0,"ljq":"auto","campaign_id":0,"is_preview":false,"aco":{"first_party_limit":"10000","local_storage":"1"},"cmp":{"gdpr":0,"gmp":0,"whitelist_check":0},"burls":[],"ple":false,"fbe":true,"ffs":"","mas":2,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"/* ---------------------------- SHARED VARIABLES ---------------------------- */\n\nvar CLEAN_URL = bouncex.utils.url.allowParams();\n\n/* --------------------------------- HELPERS -------------------------------- */\n\nfunction getItemId(){\n var itemData = bouncex.parseJSON(jQuery('#seo-taxonomy-data').text());\n\n return bouncex.utils.getNestedProp('urlMapping.productCode', '', itemData) || bouncex.utils.url.getParam('productCode');\n}\n\nfunction isExcluded(copy) {\n return (copy || '').toLowerCase().indexOf('your own') > -1;\n}\n\nfunction isPrintsPage() {\n return window.location.pathname.indexOf('prints/') > -1;\n}\n\n/* ------------------------------ ITEM TRACKING ----------------------------- */\n\nfunction getItem() {\n var copy = jQuery('.store-h1').first().text();\n\n return {\n id: getItemId(),\n copy: jQuery('.store-h1').first().text(),\n category: jQuery('[itemprop=\"name\"]').eq(1).text() || 'Global',\n url: CLEAN_URL,\n imageurl: jQuery('img.hero, .altViewImageWrapper img').attr('src'),\n instock: jQuery('#cta-button-group').length > 0,\n price: jQuery('.PriceValue em').first().text().replace(/[^0-9.]/g, ''),\n excluded: isExcluded(copy),\n wedding: CLEAN_URL.indexOf('wedding') > -1,\n graduation: CLEAN_URL.indexOf('graduation') > -1\n };\n}\n\nfunction getPrintItem() {\n return {\n id: 'prints',\n copy: 'Prints',\n category: 'Prints',\n url: CLEAN_URL,\n imageurl: 'https://cdn-image.staticsfly.com/i/store/WF718029_Assets/WF718029_prints_3up_square_mweb.jpg?impolicy=resize&width=480',\n instock: true,\n excluded: false,\n wedding: CLEAN_URL.indexOf('wedding') > -1,\n graduation: CLEAN_URL.indexOf('graduation') > -1\n };\n}\n\nfunction fireViewItem(id) {\n var pushItem = {\n 'item:id': id,\n 'item:itemgroupid': id\n };\n\n // SOTEC-12214: patch for when a user views a PDP in one tab and then starts a personalization flow in another tab for another item\n bouncex.setVar('view_event_id', id);\n bouncex.push(['view item', pushItem]);\n}\n\nfunction initializeItemEvents() {\n var item;\n\n bouncex.et.onTrue(\n function () {\n item = isPrintsPage() ? getPrintItem() : getItem();\n return !!item.id &&\n !!item.copy &&\n !!item.category &&\n !!item.url &&\n !!item.imageurl;\n },\n function () {\n if (item.url.indexOf('/gift-certificates') > -1) {\n return;\n }\n bouncex.push(['item', item]);\n initializeSkuEvents(item.id);\n\n if (!item.excluded) {\n fireViewItem(item.id);\n }\n\n bouncex.setVar('last_viewed_id', item.id);\n },\n 10\n );\n}\n\n/* ------------------------------ SKU TRACKING ------------------------------ */\n\nfunction hasOneVariant() {\n var productOptions = jQuery('.ProductOption').length,\n variants = jQuery('a[role=\"option\"], [class=\"swatch\"]').length;\n\n return !productOptions || !variants || variants === productOptions;\n}\n\nfunction initializeSkuEvents(itemId) {\n if (hasOneVariant() && bouncex.vars.sku_id) {\n fireSelectSku(itemId, bouncex.vars.sku_id);\n\n }\n\n bouncex.et.onVarChange('sku_id', function (oldVal, newVal) {\n if (newVal && oldVal) {\n fireSelectSku(itemId, newVal);\n }\n });\n}\n\n\nfunction fireSelectSku(itemId, skuId) {\n bouncex.push([\n 'select_sku',\n {\n 'item:id': itemId,\n 'item:itemgroupid': itemId,\n 'item:feedid': skuId\n }\n ]);\n}\n\n/* ---------------------------- CATEGORY TRACKING --------------------------- */\n\nfunction initializeCategorySkuEvents() {\n bouncex.et.onVarChange('category_sku_id', function (oldVal, newVal) {\n var id = bouncex.vars.category_item_id;\n\n if (id && id === bouncex.vars.last_viewed_id && newVal && (oldVal || hasOneVariant())) {\n fireSelectSku(id, newVal);\n }\n });\n}\n\nfunction getItemIdsCat() {\n var ids = [],\n $productItems = isAccountPage() ? jQuery('.apc-canvas.carousel') : jQuery('.thumbnail-image');\n\n $productItems.each(function (i, e) {\n var url = jQuery(e).attr('href') || '',\n id = bouncex.utils.url.getParam('productCode', url) || jQuery(e).attr('data-sku');\n\n if (id && ids.indexOf(id) < 0) {\n ids.push(id);\n }\n });\n\n return ids.join(',');\n}\n\nfunction getCategoryObject() {\n return {\n 'page:url': CLEAN_URL,\n 'items:ids': getItemIdsCat(),\n 'page:wedding': CLEAN_URL.indexOf('wedding') > -1,\n 'page:graduation': CLEAN_URL.indexOf('graduation') > -1\n };\n}\n\nfunction getPrintCategoryObject() {\n return {\n 'page:url': CLEAN_URL,\n 'items:ids': 'prints',\n 'page:wedding': CLEAN_URL.indexOf('wedding') > -1,\n 'page:graduation': CLEAN_URL.indexOf('graduation') > -1\n };\n}\n\nfunction initializeCategoryEvents() {\n var categoryObj;\n\n bouncex.et.onTrue(\n function () {\n categoryObj = isPrintsPage() ? getPrintCategoryObject() : getCategoryObject();\n return !!categoryObj['items:ids'].length &&\n !!categoryObj['page:url'];\n },\n function () {\n bouncex.push(['view category', categoryObj]);\n },\n 10\n );\n}\n\nfunction initializeQuickviewEvents(){\n bouncex.et.onVarChange('category_item_id', function (oldVal, newVal) {\n if (newVal) {\n fireViewItem(newVal);\n bouncex.setTimeout2(function(){\n bouncex.setVar('last_viewed_id', newVal);\n }, 2000);\n }\n });\n}\n\n/* ------------------------------- CART EVENTS ------------------------------ */\n\nfunction fireAddToCart(itemId) {\n bouncex.push(['add to cart', { 'item:id': itemId }]);\n\n if (bouncex.vars.cart) {\n return;\n }\n bouncex.setVar('cart', true);\n}\n\nfunction initializeATCTracking() {\n var id,\n viewEventId;\n\n if (bouncex.website.pts === 'cart' && window.location.hash.indexOf('recommendations.sfly') === -1 && bouncex.vars.last_viewed_id) {\n // Using project_id to track when non personalized items are added to cart\n bouncex.et.onVarChange('project_id', function (oldVal, newVal) {\n if (newVal) {\n id = bouncex.vars.last_viewed_id;\n viewEventId = bouncex.vars.view_event_id;\n\n if (!id || id !== viewEventId) {\n bouncex.log('add to cart event does not fire');\n return;\n }\n\n fireAddToCart(id);\n }\n });\n } else if (bouncex.website.pts === 'product' || bouncex.website.pts === 'category' || bouncex.website.pts === 'search') {\n bouncex.et.onVisible('.add-to-cart-success-modal:visible', function () {\n id = bouncex.vars.last_viewed_id;\n viewEventId = bouncex.vars.view_event_id;\n\n if (!id || id !== viewEventId) {\n bouncex.log('add to cart event does not fire');\n return;\n }\n\n fireAddToCart(id);\n });\n }\n bouncex.et.on(bouncex.document, 'click.bxATC', function () {\n id = bouncex.vars.last_viewed_id;\n viewEventId = bouncex.vars.view_event_id;\n\n if (!id || id !== viewEventId) {\n bouncex.log('add to cart event does not fire');\n return;\n }\n\n fireAddToCart(id);\n }, '#addToCartLink,.order-button,#header-add-to-cart-button');\n}\n\nfunction fireEmptyCart() {\n bouncex.push(['empty_cart']);\n bouncex.setVar('cart', false);\n}\n\nfunction emptyCart() {\n if (bouncex.website.pts === 'cart' && bouncex.vars.cart && jQuery('#empty-messages').is(':visible')) {\n fireEmptyCart();\n }\n\n bouncex.et.onVarChange('cart_qty', function (oldVal, newVal) {\n if (bouncex.vars.cart && newVal === 0 && oldVal > 0) {\n fireEmptyCart();\n }\n });\n}\n\nfunction initializeCartEvents() {\n bouncex.et.cart.init({\n replenish: function () { },\n replenishmentType: 'single'\n });\n\n initializeATCTracking();\n emptyCart();\n}\n\n/* ------------------------------ USER TRACKING ----------------------------- */\n\nfunction initializeUserTracking() {\n if (!bouncex.vars.logged_in || !!bouncex.vars.logged_in_identified) {\n return;\n }\n\n var userEmail;\n\n bouncex.et.onTrue(\n function () {\n userEmail = bouncex.utils.getNestedProp('_sflyAuthClient.currentUser.email') || bouncex.utils.getNestedProp('wunderkind.email') || bouncex.getBounceCookie('wkndEmail');\n return bouncex.utils.validate.email(userEmail);\n },\n function () {\n bouncex.push([\n 'user',\n {\n 'email': userEmail,\n 'source': 'LoggedIn'\n }\n ]);\n bouncex.setVar('logged_in_identified', true);\n },\n 5\n );\n}\n\n/* ------------------------------ CUSTOM EVENTS ----------------------------- */\n\n/* Fires a cancel event for product abandonment when a user saves their project.\n Client will take over at this point with their personalized series\n*/\n\nfunction viewSpecialOffers() {\n if (CLEAN_URL.indexOf('special-offers') > -1) {\n bouncex.push(['view special offers',{}]);\n }\n}\n\nfunction parentCategory() {\n var contentContainerElement = document.querySelector('.content-container');\n \n var breadcrumbElement = document.querySelector('ol.breadcrumb');\n \n if (contentContainerElement === null && breadcrumbElement !== null) {\n\n var url = window.location.href;\n \n bouncex.push(['view_parent_category', {'url': url}]);\n }\n}\n\nfunction cancelProductAbandonment() {\n bouncex.on(jQuery('[data-linkname=\"save project\"], [data-testid=\"project-title-save-link\"]'), 'click.bxsave', function () {\n if (!bouncex.vars.cancelled_prod_aband) {\n fireCancelEvent();\n }\n });\n\n bouncex.et.onVisible('#saveExistingWrapper.currentTopModal', function(){\n bouncex.on(jQuery('#saveExistingModalButton1, #saveExistingModalButton2, [data-linkname=\"save project\"]'), 'click.bxsave', function () {\n if (bouncex.vars.cancelled_prod_aband) {\n fireCancelEvent();\n }\n });\n });\n}\n\nfunction fireCancelEvent() {\n bouncex.push(['cancel_prod_abandonment',{}]);\n bouncex.setVar('cancelled_prod_aband', true);\n}\n\n/* Fires when a user has added a personalized item */\nfunction initializePersonalizedItemEvent() {\n var id = bouncex.vars.last_viewed_id,\n viewEventId = bouncex.vars.view_event_id,\n img;\n\n bouncex.log('ids do not match, personalization event does not fire ', id !== viewEventId);\n\n if (window.location.hash.indexOf('recommendations.sfly') > -1 && id) {\n bouncex.et.onTrue(\n function () {\n img = jQuery('.added-product-image').find('img').attr('src');\n return !!img && id === viewEventId;\n },\n function () {\n fireAddedPersonalizedItemEvent(id, img);\n fireAddToCart(id);\n },\n 20\n );\n }\n}\n\nfunction fireAddedPersonalizedItemEvent(id, img) {\n bouncex.push(['added_personalized_item',\n {'item:id': id,\n 'item:imageurl': img\n }]);\n}\n\nfunction initializeAccountPageEvents() {\n bouncex.et.onVisible('.apc-modal-wrapper', function(){\n initializeCategoryEvents();\n fireATCOnAccountPage();\n });\n}\n\n/* Customers will have a \"Made Just For You\" section\n with personalized items ready to be added to cart\n*/\nfunction fireATCOnAccountPage() {\n var id;\n\n bouncex.off(bouncex.document, 'mouseenter.bxmfy');\n bouncex.on(bouncex.document, 'mouseenter.bxmfy', function () {\n id = jQuery(this).attr('data-sku');\n\n if (id) {\n bouncex.setVar('last_viewed_id', id);\n fireViewItem(id);\n }\n }, '.apc-canvas.carousel');\n\n bouncex.off(jQuery('.apc-button:contains(\"ADD\")'), 'click.bxmfy');\n bouncex.on(bouncex.document, 'click.bxmfy', function () {\n fireAddToCart(id);\n }, '.apc-button:contains(\"ADD\")');\n}\n\nfunction trackPersonalizedFlow() {\n var selector = 'a.store-button[data-test-id=\"personalize\"]';\n\n bouncex.et.onVisible(selector, function() {\n var $personalizeCTA = jQuery(selector);\n bouncex.off($personalizeCTA, 'click.bxpersonalize');\n bouncex.on($personalizeCTA, 'click.bxpersonalize', function(){\n bouncex.push(['start_personalized_flow',{}]);\n });\n });\n}\n\n/* --------------------------- INITIALIZE TRACKING -------------------------- */\n\nfunction isValidDomain() {\n return CLEAN_URL.indexOf('www.shutterfly.com') > -1;\n}\n\nfunction isEn() {\n var lang = bouncex.html.attr('lang') || jQuery('html').attr('lang') || '';\n\n return /^en/.test(lang);\n}\n\nfunction isCorrectCountry(){\n return bouncex.state.geo.country_code === 'US';\n}\n\nfunction isValidForTracking() {\n return isValidDomain() && isEn() && isCorrectCountry();\n}\n\nfunction isAccountPage() {\n return window.location.pathname.indexOf('/myaccount') > -1;\n}\n\nfunction init() {\n if (!isValidForTracking()) {\n return;\n }\n\n initializeUserTracking();\n initializeCartEvents();\n viewSpecialOffers();\n parentCategory();\n \n /* SOTEC-10080 - tracking custom event called start_personalized_flow */\n trackPersonalizedFlow();\n\n if (isAccountPage()) {\n initializeAccountPageEvents();\n }\n\n if (window.location.pathname.indexOf('/prints/') > -1) {\n initializeCategoryEvents();\n }\n\n switch (bouncex.website.pts) {\n case 'category':\n case 'search':\n initializeCategoryEvents();\n initializeQuickviewEvents();\n initializeCategorySkuEvents();\n break;\n case 'product':\n initializeItemEvents();\n cancelProductAbandonment();\n\n if (window.location.pathname.indexOf('/creationpath') > -1 || window.location.pathname.indexOf('/selectprints' > -1)) {\n var id = bouncex.utils.url.getParam('productCode');\n if (id) {\n fireViewItem(id);\n }\n }\n break;\n case 'cart':\n initializePersonalizedItemEvent();\n break;\n default:\n break;\n }\n}\n\ninit();","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":"checkout"}]]},"category":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('.thumbnail_wrapper').length > 0;"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"/s/"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"checkout"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"['/'].indexOf(window.location.pathname) > -1;"}]]},"product":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('.product-info, [data-testid=\"books-app\"], [data-testid=\"single-product-single-surface-app\"]').length > 0;"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/creationpath"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"productCode="},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"prints/"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/s/"}]]}},"els":{"blank_site_element":"","skip_link":"#header_container_element"},"vars":[{"name":"logged_in","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"['cart', 'checkout'].indexOf(bouncex.website.pts) > -1 ? true : jQuery('[aria-label=\"User Menu\"][data-linkname*=\"Hi\"]').length > 0 || bouncex.utils.getNestedProp('SFLY_DTL.session.visitorDetails.visitorType') === 'signedIn';","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":"no","page_types":[],"testmode":false,"default":"0","code":"Number(jQuery('.cart-count-icon').first().text().replace(/[^0-9.]/g, ''));","trigger":""},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"jQuery('.success-page').length > 0 || null;","trigger":""},{"name":"page_url","polling":"none","persist":"no","page_types":["category","search"],"testmode":true,"default":"false","code":"","trigger":""},{"name":"logged_in_identified","polling":"none","persist":"visit","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":"page_type","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts;","trigger":"pageload"},{"name":"sku_id","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"(function(){\n var skuId = bouncex.utils.getNestedProp('SFLY_DTL.page.productDetails.skuCode') || bouncex.utils.url.getParam('skuCode'),\n proToggleText = jQuery('.six-color-printing-wrapper .toggle-wrap div[data-linkname*=\"professional 6 color printing\"] span.toggle-option-label.active').text().trim(),\n val = proToggleText === 'Yes' ? '-1' : proToggleText === 'No' ? '-2' : '';\n return val ? skuId + val : skuId;\n})();","trigger":"pageload"},{"name":"last_viewed_id","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"project_id","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.utils.getNestedProp('SFLY_DTL.event.eventDetails.projectID') || (window.location.hash.indexOf('recommendations.sfly') > -1 && (bouncex.utils.getNestedProp('BOOMR.boomerang_frame.sessionStorage.projectStart') || bouncex.utils.getNestedProp('localStorage.projectGUID')));","trigger":"pageload"},{"name":"category_sku_id","polling":"all","persist":"no","page_types":["category","search"],"testmode":false,"default":"false","code":"bouncex.utils.url.getParam('skuCode', jQuery('.full-details').attr('href') || '') || false;","trigger":"pageload"},{"name":"cancelled_prod_aband","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"category_item_id","polling":"all","persist":"no","page_types":["category","search"],"testmode":false,"default":"false","code":"(jQuery('.close-button[id*=\"qv\"]').attr('id') || '').replace('qv_', '').replace('undefined', '') || false;","trigger":"pageload"},{"name":"view_special_offers","polling":"all","persist":"visit","page_types":[],"testmode":true,"default":"false","code":"null;","trigger":"pageload"},{"name":"view_event_id","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":0,"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":1,"spatm":0,"preinit_cjs":"SinglePageApp.setCustomParams({\n shouldCheckSpa: function() {\n return window.location.pathname.indexOf('/cart') > -1;\n }\n});\n\nSinglePageApp.setCustomParams({\n currentPageIdentifier: function() {\n return window.location.hash;\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"],"fme":true,"fmx":"","uid2":false,"sdk":{"android":{"enabled":false,"enabledVersions":[],"eventModifications":null},"ios":{"enabled":false,"enabledVersions":[],"eventModifications":null}},"onsite":{"enabled":1},"ads":{"enabled":0},"pubs":{"enabled":0},"websdk":{"enabled":1,"devMode":0},"ga4_property_id":"","ga4_measurement_id":"","tag_state_domain":"api.bounceexchange.com","tag_state_domain_enabled":false} ; 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":"ba8ae19a5bf9548f3d50df1e54121805","creativesBaseStyles":"a53944a2","gpsAuction":"bbb80866120d17013073bb6d284cbd6b","inbox":"c5ffeacd3b77d074a53f2878c1332dc9","onsite":"c05f8c5551fa6b964660ad61916291c1","sms":"e39203556bab2366e56296ce42e974a7","websdk":"9c2817e65e803cb8c86d0410c88f20c1","website_campaigns_7265":"ef5a22c1b575be4e680886bd55e3ef4e"}; bouncex.push = function(pushData) { bouncex.pushedData.push(pushData); } var runtime = document.createElement('script'); runtime.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/runtime_c81e76ee00d795b1eebf8d27949f8dc5.br.js'); runtime.setAttribute('async', 'async'); bouncex.initializeTag = function() { var script = document.createElement('script'); script.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/main-v2_d92654ef80b404e10948396caee3f7d0.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_c84323e2726f3e99b307ab7740c6434b.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() {}; }; runtime.onload = bouncex.initializeTag; document.body.appendChild(runtime); } } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", bxBootstrap); } else { bxBootstrap(); }})();