(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":4664,"name":"DSW","cookie_name":"bounceClientVisit4664","domain":"dsw.com","ct":"fp_local_storage","ally":0,"ei":0,"tcjs":"","cjs":"/* enable.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":0},"burls":[],"ple":false,"fbe":true,"ffs":"","mas":2,"map":1,"gar":true,"ete":1,"ettm":false,"etjs":"/* --------------------------------- HELPERS -------------------------------- */\nfunction getUrl() {\n return bouncex.utils.url.allowParams();\n}\n\nfunction getItemId(url) {\n var itemId;\n\n if (!url) {\n return false;\n }\n\n url = url || '';\n\n itemId = url.split('/product/').pop() || '';\n itemId = bouncex.utils.url.allowParams('', itemId);\n itemId = itemId.replace('/', '-') || '';\n\n return itemId;\n}\n\nfunction getFeedID() {\n if (quickViewModalVisible()) {\n return jQuery('.quick-add-modal__attributes__options #pdp-selected-sku').text();\n }\n\n return jQuery('#pdp-selected-sku').text();\n}\n\nfunction quickViewModalVisible() {\n return jQuery('#qa-modal').length > 0;\n}\n\nfunction getQuickViewGroupID() {\n var url = jQuery('.quick-add-modal__attributes__options h1 a').attr('href') || '',\n itemId = '';\n\n if (url) {\n itemId = url.split('/').pop() || '';\n itemId = itemId.split('?')[0];\n }\n return itemId;\n}\n\nfunction getGroupId() {\n return getUrl().split('/').pop().replace(/[^0-9]/g, '')\n || jQuery('div#review').attr('data-bv-product-id')\n || '';\n}\n\nfunction getCategory() {\n var url = jQuery('#brand-name').attr('href') || jQuery('#brand-text').text(),\n category = '';\n\n if (url) {\n category = url.split('/') || [];\n category = category.slice(-1)[0];\n }\n\n return category;\n}\n\nfunction getItemBrand() {\n return jQuery('#brand-name').text().trim().replace('Shop all ', '') || jQuery('#brand-text').text();\n}\n\nfunction getItemUrl() {\n return bouncex.utils.url.allowParams('');\n}\n\nfunction getItemImg() {\n var img = jQuery('app-pdp-images div[aria-hidden=\\'false\\'] app-picture img:visible').first().attr('src') || jQuery('#pdp-images-desktop img:first').attr('src');\n\n return (img || '').indexOf('/dsw-logo-large') === -1 ? img : '';\n}\n\n/* ------------------------------ ITEM TRACKING ----------------------------- */\nfunction getItem() {\n var url = getUrl();\n var id = getItemId(url);\n var itemBrand = getItemBrand();\n\n return {\n id: id,\n copy: jQuery('#product-name span').text(),\n category: getCategory(),\n url: getItemUrl(),\n imageurl: getItemImg(),\n instock: jQuery('#pdp-attributes .color-swatch:visible:not([disabled]), #pdp-attributes .picture-swatch:visible:not([disabled])').length > 0,\n brand: itemBrand,\n price: jQuery('#new-style-price, #price, .strikethrough-comp').eq(0).text().replace(/[^0-9.]/g, ''),\n style: jQuery('#product-name span').text().split(' - ')[0],\n excluded: isExcludedId(id),\n excludedbrand: isExcludedBrand(itemBrand)\n };\n}\n\nfunction fireViewItem(item) {\n var pushItem = {\n 'item:id': item.id,\n },\n brandName = getItemBrand();\n\n if (item.groupId) {\n pushItem['item:itemgroupid'] = item.groupId;\n }\n\n bouncex.push(['view item', pushItem]);\n\n if (brandName && isExcludedBrand(brandName)) {\n bouncex.push(['excluded_brand', {}]);\n }\n}\n\nfunction isExcludedId(id) {\n var exclusionList = [\n 'dsw-exclusive-free-weekender-bag-536299',\n 'camuto-free-myperk-black-duffle-bag-537046',\n 'DSW%20Exclusive-Free%20MyPerk%20Black%20Duffle%20Bag-537046',\n 'DSW-Exclusive-Free-Quilted-Weekender-Bag-533664'\n ];\n\n return exclusionList.indexOf(id) > -1;\n}\n\nfunction isExcludedBrand(brand) {\n var brandList = [\n 'Birkenstock'\n ];\n /*brandList = [\n 'Aetrex', 'Bates', 'Bed Stu', 'Birkenstock', 'Brooks',\n 'Carhartt', 'Caterpillar', 'Converse', 'Durango',\n 'Floafers', 'Florsheim Work', 'Georgia Boot', 'Gravity Defyer',\n 'Harley Davidson', 'Hunter', 'Kodiak', 'Nike', 'Oofos', 'Rainbow',\n 'Reebok Work', 'Roan', 'Rockport Works', 'Rocky', 'Soft Style',\n 'TACKMA', 'Traq by Alegria', 'Vince'\n ];*/\n\n return brandList.indexOf(brand) > -1;\n}\n\nfunction isExcluded() {\n return getUrl().indexOf('gift-card') > -1;\n}\n\nfunction getQuickViewItem() {\n var itemUrl = jQuery('.quick-add-modal__attributes__options__view-details a').attr('href') || '';\n\n return {\n id: getItemId(itemUrl),\n groupId: getQuickViewGroupID(),\n feedId: getFeedID()\n };\n}\n\nfunction initializeItemEvents() {\n var item;\n\n bouncex.et.onTrue(\n function () {\n item = getItem();\n return !!item.id &&\n !!item.copy &&\n !!item.category &&\n !!item.url &&\n !!item.imageurl &&\n !!item.price;\n },\n function () {\n if (isExcluded(item) || item.url.indexOf('/category/') > -1 || item.url.indexOf('/browse/') > -1) {\n return;\n }\n bouncex.push(['item', item]);\n\n item.groupId = getGroupId();\n fireViewItem(item);\n\n if (getFeedID()) {\n item.skuId = getFeedID();\n fireSelectSku(item);\n return;\n }\n\n initializeSkuEvents(item);\n },\n 50\n );\n}\n\nfunction initializeNotifyMeEvents() {\n bouncex.et.onVisible('#notify-me-dialog .notifyMe__container__confirmation--message', function (e) {\n if (e.text().toLowerCase().indexOf('email you when this item comes back in stock') > -1) {\n var itemId = getItemId(getUrl());\n if (itemId) {\n bouncex.push(['notify_me', {\n itemid: itemId\n }]);\n }\n }\n });\n}\n\n/* ------------------------------ SKU TRACKING ------------------------------ */\nfunction initializeSkuEvents(item) {\n var skuObj = {\n id: item.id || '',\n groupId: item.groupId || '',\n skuId: '',\n },\n skuId = '';\n\n \n bouncex.off(jQuery('.box-selector, .color-swatch-row.ng-star-inserted img, .picture-swatch'), 'click.bxsku');\n bouncex.et.on(\n jQuery('.box-selector, .color-swatch-row.ng-star-inserted img, .picture-swatch'),\n 'click.bxsku',\n function () {\n bouncex.setTimeout2(function () {\n skuId = getFeedID() || skuId;\n skuObj.skuId = skuId;\n fireSelectSku(skuObj);\n }, 1000);\n });\n \n}\n\nfunction fireSelectSku(skuObj) {\n if (!skuObj.id || !skuObj.groupId || !skuObj.skuId) {\n return;\n }\n\n bouncex.push([\n 'select_sku',\n {\n 'item:id': skuObj.id,\n 'item:itemgroupid': skuObj.groupId,\n 'item:feedid': skuObj.skuId\n }\n ]);\n\n bouncex.setVar('ajax_product_id', skuObj.groupId);\n bouncex.setVar('ajax_item_id', skuObj.id);\n bouncex.setVar('ajax_catalog_ref_id', skuObj.skuId);\n}\n\n/* ---------------------------- CATEGORY TRACKING --------------------------- */\n\nfunction slugify(text) {\n return text.toLowerCase()\n // replace whitespace, dash sequences and underscores with a single dash\n .replace(/\\s+|--+|_/g, '-')\n // replace any non alphanumeric characters with an empty string\n .replace(/[^\\w\\-_]/g, '');\n}\n\nfunction getItemIdsCat() {\n var ids = [];\n jQuery('.product-grid__products .product-tile__pdp-link').each(function (i, e) {\n var url = jQuery(e).attr('href');\n id = getItemId(url);\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': getUrl(),\n 'items:ids': getItemIdsCat()\n };\n}\n\nfunction initializeCategoryEvents() {\n var categoryObj;\n\n bouncex.et.onTrue(\n function () {\n categoryObj = 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\n/* ---------------------------- QUICKVIEW TRACKING --------------------------- */\nfunction trackQuickView() {\n var qvItem;\n\n bouncex.et.onVisible('.quick-add-modal', function () {\n bouncex.et.onTrue(\n function () {\n qvItem = getQuickViewItem();\n return qvItem.id && qvItem.groupId;\n },\n function () {\n fireViewItem(qvItem);\n initializeSkuEvents(qvItem);\n }\n );\n });\n}\n\n/* ------------------------------- CART EVENTS ------------------------------ */\nfunction fireAddToCart(itemId, replenItem) {\n bouncex.push([\n 'add to cart',\n {\n 'item:id': itemId,\n 'cart:item': bouncex.stringify(replenItem)\n }\n ]);\n bouncex.setVar('cart', true);\n bouncex.setVar('ajax_product_id', '');\n bouncex.setVar('ajax_item_id', '');\n bouncex.setVar('ajax_catalog_ref_id', '');\n}\n\nfunction trackAJAXCart() {\n bouncex.et.on(jQuery('.main #add-to-bag-button'), 'click.bxatc', function () {\n bouncex.setVar('ajax_product_id', getGroupId().toString());\n bouncex.setVar('ajax_item_id', getItemId(getUrl()));\n bouncex.setVar('ajax_catalog_ref_id', getFeedID());\n });\n\n bouncex.et.onVisible('div[aria-label=\"Item added to bag\"]', function () {\n var catalogRefIds,\n productId,\n itemId,\n quantity = 1,\n shipType = 'SHIP';\n\n bouncex.et.onTrue(\n function () {\n catalogRefIds = bouncex.vars.ajax_catalog_ref_id;\n productId = bouncex.vars.ajax_product_id;\n itemId = bouncex.vars.ajax_item_id;\n\n return catalogRefIds && productId && itemId;\n }, function () {\n var replenItem = {\n productId: productId.toString(),\n catalogRefIds: catalogRefIds,\n quantity: quantity,\n shipType\n };\n\n fireAddToCart(itemId, replenItem);\n },\n 15\n );\n });\n}\n\nfunction emptyCart() {\n bouncex.et.onVarChange('cart_qty', function () {\n if (bouncex.vars.cart && bouncex.vars.cart_qty === 0) {\n bouncex.push(['empty_cart']);\n bouncex.setVar('cart', false);\n }\n });\n}\n\nfunction initializeCartEvents() {\n bouncex.et.cart.init({\n replenishmentType: 'ajax',\n replenish: function (cart) {\n var $deferreds = [];\n\n cart.items.forEach(function (item) {\n $deferreds.push(makeAjaxATCFunc(item));\n });\n\n $deferreds\n .reduce(\n function (promise, func) {\n return promise.then(function () {\n return func();\n });\n },\n jQuery.Deferred().resolve([])\n )\n .then(replenComplete);\n }\n });\n\n function makeAjaxATCFunc(replenItem) {\n return function () {\n return jQuery.ajax({\n type: 'POST',\n contentType: 'application/json',\n url: 'https://www.dsw.com/api/v1/cart/add?locale=en_US&pushSite=DSW',\n data: JSON.stringify(replenItem),\n headers: {\n 'x-dbi-app-version': '2.0.0',\n },\n });\n };\n }\n\n function replenComplete() {\n window.location.href = window.location.origin +\n window.location.pathname +\n '?bx_replen=true';\n }\n\n trackAJAXCart();\n emptyCart();\n}\n\n/* ------------------------------ USER TRACKING ----------------------------- */\nfunction getUserEmail() {\n return jQuery('#profile-contact-email').text();\n}\n\nfunction initializeUserTracking() {\n var userEmail = getUserEmail() || '';\n\n if (!bouncex.vars.logged_in || !!bouncex.vars.logged_in_identified) {\n return;\n }\n\n bouncex.push([\n 'user',\n {\n 'email': userEmail || '',\n 'source': 'LoggedIn'\n }\n ]);\n bouncex.setVar('logged_in_identified', true);\n}\n\n/* --------------------------- INITIALIZE TRACKING -------------------------- */\nfunction isValidDomain() {\n return getUrl() === 'https://www.dsw.com/' ||\n getUrl().indexOf('//dsw.com/en') > -1 ||\n getUrl().indexOf('//www.dsw.com/en') > -1 ||\n getUrl().indexOf('//www.dsw.com') > -1;\n}\n\nfunction isEn() {\n return jQuery('html').attr('lang') === 'en';\n}\n\nfunction isValidForTracking() {\n return isValidDomain() && isEn();\n}\n\nfunction init() {\n if (!isValidForTracking()) {\n return;\n }\n\n initializeUserTracking();\n initializeCartEvents();\n trackQuickView();\n\n switch (bouncex.website.pts) {\n case 'category':\n initializeCategoryEvents();\n break;\n case 'product':\n initializeItemEvents();\n initializeNotifyMeEvents();\n break;\n default:\n break;\n }\n}\n\nbouncex.setTimeout2(init, 3000);\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":"/shopping-bag"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"localhost:"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"csc."}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"dswq1"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"ogwww.prod1"}]]},"category":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/brands/"},{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/category"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkout"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"dswq1"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"csc."}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"localhost:4200"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('.home-page').length > 0;"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"localhost:"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"dswprv"}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"csc."}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"qa1."}],[{"activation":"current_page_url","prop":"not_contains","prop2":"","prop3":"","val":"ogwww.prod1."}]]},"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":"/browse/"}]]}},"els":{"blank_site_element":""},"vars":[{"name":"logged_in","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"jQuery('.dsw-account-nav .header__flex-container__icon__label').text().trim() !== 'Sign in';","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('.header__flex-container__icon__bag-count').text().replace(/[^0-9.]/g, ''));","trigger":""},{"name":"cart_value","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function(){\n if (bouncex.website.pts === 'cart'){\n return Number(jQuery('#order-summary-subtotal').text().replace(/[^0-9.]/g, ''));\n }\n if (Number(jQuery('.header__flex-container__icon__bag-count').text().replace(/[^0-9.]/g, '')) === 0){\n return 0;\n }\n return Number(jQuery('#add-to-bag-total').text().replace(/[^0-9.]/g, '')) || null;\n})();","trigger":""},{"name":"prod_price","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('#new-style-price, #price').eq(0).text().replace(/[^0-9.]/g, '');","trigger":""},{"name":"prod_name","polling":"all","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('#product-name').text();","trigger":""},{"name":"in_stock","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"true;","trigger":""},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"jQuery('.email-signup-zone__content__thank-you-text, #email-signup-zone-content .success').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_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":"cart_set","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":"ajax_catalog_ref_id","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"ajax_product_id","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"ajax_item_id","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"profile_id","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.utils.getNestedProp('uid_object.profileId');","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":{"mi_u":"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":"","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":0,"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":"646cf096aae730e1484b6de87539a9af","creativesBaseStyles":"a53944a2","gpsAuction":"bbb80866120d17013073bb6d284cbd6b","inbox":"a17aab65d5ec0e7dbba07712663f933e","onsite":"c05f8c5551fa6b964660ad61916291c1","sms":"e39203556bab2366e56296ce42e974a7","websdk":"9c2817e65e803cb8c86d0410c88f20c1","website_campaigns_4664":"c00c6600c697192bf73a318b71b6ac48"}; 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_0cd81115cd0e8b6360bb6ba2359ae191.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_23e9fb6eac44d2bdee89ffde48eb6611.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(); }})();