(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":3668,"name":"Outdoor Voices","cookie_name":"bounceClientVisit3668","domain":"outdoorvoices.com","ct":"multi_cookie","ally":1,"ei":0,"tcjs":"","cjs":"if(bouncex.website.pts === \"category\"){\r\n jQuery(document).off('click.bx').on('click.bx', 'button[class*=\"ProductListItem_quickAddButton\"]', function(){\r\n var itemPrice;\r\n if(jQuery('[class*=\"ProductListItem_quickAddButtons\"] button').length > 0){\r\n itemPrice = jQuery('[class*=\"ProductListItem_quickAddButtons\"] button').parents('[class*=\"ProductListItem_root\"]').find('span:contains(\"$\")').text().trim().replace('$', '')\r\n }\r\n \r\n if(jQuery('[class*=\"ProductListItem_quickAddButtons\"]').length == 0){\r\n itemPrice = jQuery(this).parents('[class*=\"ProductListItem_root\"]').find('span:last').text().trim().replace('$', '')\r\n var cartValue = bouncex.vars.cart_value || 0;\r\n cartValue += Number(itemPrice);\r\n\r\n bouncex.setVar('cart_value', cartValue);\r\n bouncex.setBounceCookie();\r\n \r\n } else {\r\n \r\n jQuery(document).off('click.bx').on('click.bx','[class*=\"ProductListItem_quickAddButtons\"] button', function(){\r\n var cartValue = bouncex.vars.cart_value || 0;\r\n cartValue += Number(itemPrice);\r\n\r\n bouncex.setVar('cart_value', cartValue);\r\n bouncex.setBounceCookie();\r\n });\r\n }\r\n })\r\n}","force_https":false,"waypoints":false,"content_width":900,"gai":"UA-34055345-1","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,"mas":2,"map":2,"gar":true,"ete":2,"ettm":false,"etjs":"/**** Helpers ***/\n\nfunction isValidForTracking() {\n return jQuery('[class*=\"ProductGiftCard_root\"]').length === 0\n && bouncex\n .utils\n .getNestedProp('ShopifyAnalytics.meta.currency') === 'USD';\n}\n\nfunction sizeNotSelected(){\n return jQuery('ul[class*=\"SelectAdvanced_list\"] li').length > 1 && jQuery('ul[class*=\"SelectAdvanced_list\"] li[aria-selected=true]').length === 0;\n}\n\nfunction idFromUrl(url){\n url = bouncex.utils.url.allowParams('', url) || bouncex.utils.url.allowParams();\n url = url.replace(/\\/$/, \"\") ;\n return url.split('/').pop();\n}\n\nfunction checkValidItemId(itemId) {\n return /^[0-9a-zA-Z@!#$%^&*()-_/\\\\<>?:;\"'\\{\\[\\}\\]|~`]+$/.test(itemId);\n}\n\nfunction get_pdp_sku() {\n return parseInt(bouncex.utils.url.getParam('variant'));\n}\n\nfunction isValidItem(item) {\n return checkValidItemId(item.id)\n && !!item.imageurl\n && item.imageurl.indexOf('data:image') == -1;\n}\n\nfunction getGroupIdFromWindow() {\n return bouncex.utils.getNestedProp('window.shopify_product_data.id')\n || bouncex.utils.getNestedProp('window.klaviyoProduct.ProductID')\n || '';\n}\n\nfunction isNonIncentivized() {\n if (jQuery('[itemprop=\"name\"]').text().match(/Found My Animal|HOKA x OV Bondi B|Spalwart Marathon Trail|District Vision|Moab 2 Mid Waterproof|Caitlin/) !== null) { \n return true; \n }\n if (window.OV.KLAVIYO_PRODUCT && window.OV.KLAVIYO_PRODUCT.Categories.indexOf('Discountable') === -1) { \n return true; \n }\n if (jQuery('.ProductDetails_item__f7GW4').eq(0).text().indexOf('Excluded from promotions and discounts') > -1) {\n return true;\n }\n return false;\n}\n\nfunction getFilteredDL(dl, event) {\n var lastEvent = [];\n if (dl && dl.length > 0) {\n for (var i = 0; i < dl.length; i++) {\n if (dl[i].hasOwnProperty(\"event\") && dl[i].event === event) { lastEvent.push(dl[i]); }\n }\n return lastEvent && lastEvent.length > 0 ? lastEvent.pop() : false;\n }\n}\n\nfunction getShqProdId() {\n //Grabbing productId from DL matching product feed\n var pdpObj = getFilteredDL(window.dataLayer, \"crto_productpage\");\n //window.console.log(\"Getting DL MasterID\", pdpObj);\n var shqProdId = bouncex.utils.getNestedProp('crto.products[0]', null, pdpObj);\n return shqProdId;\n}\n\nfunction getItemImage() {\n var imageLink = jQuery('[property=\"og:image\"]').eq(0).attr('content');\n\n return imageLink ? bouncex.utils.url.allowParams([], imageLink) : \"\";\n}\n\n/**** PDP EVENTS ***/\n\nfunction skuSelected() {\n return jQuery('[class*=\"ProductToolbar\"] button[class*=\"SelectAdvanced\"]').text().toLowerCase() !== 'select your size'\n && !!bouncex.utils.url.getParam('size');\n}\n\nfunction fireSelectSku(skuObj, singleVariant) {\n var sku,\n sizeButtons = jQuery('button[class*=\"SelectAdvanced_button\"]:not([class*=\"SelectAdvanced_disabled\"])');\n \n bouncex.et.onTrue(function(){\n sku = skuObj.sku || get_pdp_sku();\n \n return (skuSelected() || singleVariant || !sizeButtons.length) && sku !== bouncex.vars.previous_sku;\n }, function(){\n bouncex.push(['select_sku', {\n 'item:id': skuObj.id, \n 'item:itemgroupid': skuObj.groupid,\n 'item:feedid': sku\n }]);\n if (!singleVariant){\n bouncex.setv('previous_sku', sku);\n }\n });\n}\n\nfunction pdp_select_sku(skuObj) {\n var $colorSizeButtons = jQuery('button[class*=\"SelectAdvanced_button\"]:not([class*=\"SelectAdvanced_disabled\"]), [class*=\"ButtonsSwatches_root\"] button[class*=\"ButtonsSwatches\"]'),\n $shoeSizeButton = jQuery('[class*=\"Select_optionsList\"]').find('[class*=\"Select_optionButton\"]'),\n $skuButtons = jQuery.merge( $colorSizeButtons, $shoeSizeButton),\n initialSku = get_pdp_sku();\n \n skuObj = skuObj || {};\n \n //If only one color/one size or no variant selections available, fire select sku\n if ($colorSizeButtons.length < 2){\n skuObj.sku = initialSku;\n fireSelectSku(skuObj, true);\n }\n\n $skuButtons.click(function() {\n fireSelectSku(skuObj, false);\n });\n}\n\nfunction waitlistSelectSku(skuObj){\n bouncex.et.on(jQuery(document), 'click.bx', function(e){\n var size = jQuery(e.target).parent().find('span').first().text();\n var color = jQuery('.ProductToolbar_labelValue__2pXkU').eq(0).text();\n \tvar publicTitle = color + ' / ' + size;\n\n \tShopifyAnalytics.meta.product.variants.find(function(e){\n\t\t\tif (e.public_title === publicTitle){\n skuObj.sku = e.id;\n\t\t\t\tfireSelectSku(skuObj);\n\t\t\t\treturn;\n\t\t\t}\n\t\t});\n }, '.Button_root__3ros1.SelectAdvanced_optionDetailCta__1RXM8.Button_linkStyle__JQEH1');\n}\n\nfunction pdp_add_to_cart(item_id, shqID) {\n jQuery('[class^=\"AddToBag\"] button:first').on(\n 'click.bx',\n function() {\n if (sizeNotSelected()){\n return;\n }\n \n if (jQuery('[class^=\"AddToBag\"] button:first').text() === \"Join the Waitlist\"){\n return;\n }\n \n item_id = item_id || idFromUrl();\n if (!!item_id) {\n fireAddToCart(item_id,null,shqID);\n }\n\n return;\n }\n );\n}\n\n\nfunction initializePdpEvents() {\n var item = {\n id: idFromUrl(),\n copy: jQuery('[property=\"og:title\"]').attr('content') || '',\n category: bouncex\n .utils\n .getNestedProp('ShopifyAnalytics.meta.product.type')\n || '',\n url: bouncex.utils.url.allowParams(),\n imageurl: getItemImage(),\n nonIncentivized: isNonIncentivized()\n },\n\n skuObj = {\n id: item.id,\n groupid: getGroupIdFromWindow(),\n shq_id: getShqProdId()\n };\n\n bouncex.log(item);\n\n if (isValidItem(item)) {\n bouncex.push(['item', item]);\n bouncex.push(['view item', {\n 'item:id': skuObj.id,\n 'item:itemgroupid': skuObj.groupid,\n 'item:shq_id':skuObj.shq_id\n }]);\n\n pdp_add_to_cart(item.id, skuObj.shq_id);\n pdp_select_sku(skuObj);\n waitlistSelectSku(skuObj);\n } \n\n return;\n}\n\n/**** KIT EVENTS ***/\n\nfunction initializeKitProductEvents() {\n var item_id = idFromUrl();\n\n var shqUrl= jQuery(\"[id='main-content'] link\").attr('href') || null;\n var shq_id = bouncex.utils.getParam(\"v\", shqUrl);\n\n if(!checkValidItemId(item_id)) {\n return;\n }\n\n bouncex.push(['view item', {\n 'item:id': item_id,\n 'item:shq_id': shq_id\n }]);\n\n ov_kit_add_to_cart(item_id, shq_id);\n return;\n}\n\nfunction initializeKitEvents() {\n if(window.location.pathname.indexOf('collections') > -1) {\n initializeCollectionEvents();\n }\n\n if(window.location.pathname.indexOf('products') > -1) {\n initializeKitProductEvents();\n }\n return;\n}\n\nfunction initializeCollectionEvents() {\n var $items = jQuery('[class*=\"CollectionKits_kit\"][class*=\"CollectionKits_hasCta\"]'),\n itemIds = [],\n i = 0;\n\n for (i; i < $items.length; i++) {\n var $el = jQuery($items[i]),\n href = $el.prop('href') || '';\n item = {\n id: idFromUrl(href),\n copy: $el.find('[class*=\"CollectionKits_kitTitle\"]')\n .text()\n .split('$')[0],\n category: 'kit',\n url: href,\n imageurl: $el.find('picture')\n .attr('data-original-src')\n || '',\n nonIncentivized: true,\n };\n\n if (isValidItem(item)) {\n bouncex.push(['item', item]);\n }\n\n if (itemIds.indexOf(item.id) === -1) {\n itemIds[itemIds.length] = item.id;\n }\n }\n \n if (itemIds.length) {\n bouncex.push(['view category', {\n 'items:ids': itemIds,\n 'page:url': bouncex.utils.url.allowParams()\n }]);\n }\n return;\n}\n\nfunction ov_kit_add_to_cart(item_id, shqID) {\n jQuery('[class*=\"Kit_toolbarActions\"]').find('[class*=\"Button_root\"]').click(function() {\n if (!!item_id) {\n fireAddToCart(item_id, null, shqID);\n }\n });\n return;\n}\n\n/**** CATEGORY EVENTS ***/\n\nfunction getItemsIds() {\n var $mainContent = jQuery('#main-content'),\n $featuredImage = $mainContent\n .find('[class*=\"ProductListItem_featuredImage\"]'),\n $itemGrid = $featuredImage.is('div')\n ? $mainContent\n .find('[class*=\"ProductListItem_images\"]')\n .find('a:first')\n : $featuredImage;\n return $itemGrid.toArray().map(function(element) {\n var url = jQuery(element).prop('href') || '';\n return idFromUrl(url);\n }).join(',');\n}\n\nfunction view_category() {\n var itemsIds;\n bouncex.et.onTrue(\n function(){\n itemsIds = getItemsIds();\n return itemsIds.length;\n },\n function(){\n bouncex.push(['view category', {\n 'items:ids': itemsIds,\n 'page:url': bouncex.utils.url.allowParams()\n }]);\n }\n );\n return;\n}\n\nfunction shq_view_category() {\n var catCode = window.location && window.location.pathname ? window.location.pathname.split('/').pop():null;\n if(catCode){\n _shq.push(['pageView', {\n pageType: 'category',\n catName: catCode,\n catId: catCode\n }]);\n }\n}\n\n/**** SEARCH EVENTS ***/\n\nfunction shq_search() {\n var searchTerm = bouncex.utils.getParam(\"q\", window.location.search);\n if(searchTerm){\n _shq.push(['pageView', {\n 'pageType': 'search',\n 'searchPhrase': searchTerm\n }]);\n }\n}\n\n\n/**** QUICKVIEW EVENTS ***/\nfunction quick_add_to_cart() {\n bouncex.et.onVisible('[class^=ProductListItem_quickAddButton]', function(el){\n bouncex.off(jQuery('[class^=ProductListItem_quickAddButton]'), 'click.bx');\n bouncex.on(jQuery('[class^=ProductListItem_quickAddButton]'), 'click.bx', function(el){\n var $el = jQuery(el.target),\n $parent = $el.parents('[class*=\"ProductListItem_root\"]'),\n href = $parent.find('a[class*=\"ProductListItem_featuredImage\"]')\n .prop('href')\n || '',\n url = bouncex.utils.url.allowParams('', href),\n item_id = url ? idFromUrl(url) : bouncex.vars.load_quickview_item_id;\n\n //Grabbing variant for shq_id to match product feed\n var shq_id = bouncex.utils.getParam(\"variant\", href);\n bouncex.log(\"shq_id\", bouncex.utils.getParam(\"variant\", shq_id));\n \n if(!checkValidItemId(item_id)) {\n return;\n }\n\n fireAddToCart(item_id, function(){ \n bouncex.setv('load_quickview_item_id', false);\n return;\n }, shq_id);\n\n return;\n });\n return;\n });\n return;\n}\n\n/**** CART SET UP ****/\n\nfunction replenish(cart) {\n bouncex.utils.cookies.create({\n name: 'cart',\n value: cart.token\n });\n\n window.location.href = window.location.pathname + '?bx_replen=true';\n}\n\nfunction fireAddToCart(item_id, cb, shqID) {\n var token;\n\n bouncex.et.onTrue(\n function(){\n token = bouncex.getBounceCookie('cart');;\n return !!token;\n },\n function(){\n var setCookie = false;\n\n bouncex.push(['add to cart', {\n 'item:id': item_id,\n 'cart:token': token,\n 'item:shq_id': shqID\n }]);\n\n if (!!cb && typeof cb === 'function') {\n cb();\n setCookie = true;\n }\n\n if (!bouncex.vars.cart_set) {\n bouncex.setv('cart_set', true);\n setCookie = true;\n }\n\n if (setCookie) {\n window.setBounceCookie();\n }\n return;\n }\n );\n return;\n}\n\nfunction empty_cart() {\n var isCartEmpty = jQuery('[class*=\"Cart_details\"]').length === 0\n && jQuery('#cart-empty').length > 0;\n\n if(window.location.pathname === '/cart' && isCartEmpty && bouncex.vars.cart_set) {\n bouncex.push(['empty_cart', {}]);\n bouncex.setv('cart_set', false);\n setBounceCookie();\n }\n}\n\n/**** USER EVENTS ****/\n\nfunction user_login() {\n var emailAddress = window.OV.CUSTOMER.email || jQuery('#recover-email').val();\n if(bouncex.vars.logged_in && emailAddress && !bouncex.vars.ever_logged_in) {\n bouncex.push(['user', {\n email: emailAddress,\n source: 'LoggedIn'\n }]);\n bouncex.setv('ever_logged_in', true);\n setBounceCookie();\n }\n}\n\nfunction detectStudentEmail(){\n if (bouncex.vars.student_email_identified){\n return;\n }\n \n\tvar selector = 'input:not([type=button],[type=submit],[type=reset],[type=hidden],[type=radio],[type=checkbox],[type=image],[type=password], #privy-container input)';\n\t\n\tbouncex.off(bouncex.body, 'blur.bx-miw', selector);\n\tbouncex.on(bouncex.body, 'blur.bx-miw', function(){\n\t\tvar data = jQuery(this).val();\n\n\t\tif (!bouncex.utils.validate.email(data)){\n\t\t\treturn;\n\t\t}\n\n\t\tif (data.toLowerCase().split('.').pop() === 'edu'){\n\t\t bouncex.push(['student']);\n\t\t bouncex.setv('student_email_identified', true);\n\t\t setBounceCookie();\n\t\t}\n\n\t}, selector);\n}\n\nfunction main() {\n bouncex.et.cart.init({\n replenish: replenish,\n replenishmentType: 'cookie'\n });\n empty_cart();\n user_login();\n detectStudentEmail();\n\n if(isValidForTracking()) {\n if (window.location.pathname.indexOf('kit') > -1) {\n initializeKitEvents();\n } else if (bouncex.website.pts === 'category') {\n view_category();\n shq_view_category();\n \n }\n if(bouncex.website.pts === 'search'){\n shq_search();\n }\n \n if (\n jQuery('#product-detail').children().length > 0\n && bouncex.website.pts === 'product'\n ) {\n initializePdpEvents();\n }\n quick_add_to_cart();\n }\n return; \n}\n\nmain();","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"}]]},"category":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/collections"}]]},"checkout":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/checkouts"}]]},"home":{"testmode":false,"val":[[{"activation":"js","prop":"","prop2":"","prop3":"","val":"document.querySelectorAll('[rel=\"canonical\"][href=\"https://www.outdoorvoices.com/\"]').length > 0;"}]]},"product":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/products"}]]},"search":{"testmode":false,"val":[[{"activation":"current_page_url","prop":"contains","prop2":"","prop3":"","val":"/search?"}]]}},"els":{"CART - Checkout Button":"[class*=\"Cart_summary\"] [class*=\"Button_root\"]","CART - Promo Code Apply Button":"[data-trekkie-id=\"apply_discount_button\"]","CART - Promo Code Box":"#checkout_reduction_code","CAT - Product Grid Image":"[class*=\"Variant_featuredImage\"]","Footer":"#footer","Navigation bar":".ov-header","PDP - Add to Cart Button":"[class*=\"ProductToolbar_buttonContainer\"]","PDP - Color Option":"[class*=\"ProductToolbar_row\"]:contains(\"Color\")","PDP - Hero Image":"[class*=\"ProductCore_images\"]:visible, [class*=\"ProductCore_snapper\"]:visible","PDP - Product Name":"[class*=\"ProductToolbar_title\"]","PDP - Review Stars":"[class*=\"ExpandCollapser_expanderButton\"]:contains(\"Reviews\")","PDP - Size Option":"[class*=\"ProductToolbar_row\"]:contains(\"Size\")","SEARCH - Product Grid Image":"[class*=\"SearchResults_image\"]"},"vars":[{"name":"logged_in","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.utils.getNestedProp('OV.CUSTOMER.loggedIn') === true;","trigger":""},{"name":"ever_logged_in","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":""},{"name":"cart_qty","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"0","code":"(function(){\n\tif (bouncex.website.pts === 'checkout') {\n var total = 0;\n var $quantities = jQuery('.product-thumbnail__quantity');\n \n $quantities.each(function(index, value) {\n total += Number($quantities.eq(index).text());\n });\n\t\treturn total;\n } else {\n\t\treturn Number(jQuery('[href=\"/cart\"] [class*=Bag_count]').text());\n\t}\n})();","trigger":""},{"name":"cart_value","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"0","code":"(function(){\n\tvar $cartSubtotal = jQuery('[class*=\"Cart_summaryRow\"]:contains(\"Bag Subtotal\")');\n\n\tif (bouncex.website.pts === 'cart') {\n\t\tif ($cartSubtotal.find('span').length > 0) {\n\t\t\treturn $cartSubtotal.find('span').text().replace(/[^0-9.]/g, '');\n\t\t} else {\n\t\t\treturn Number($cartSubtotal.text().replace(/[^0-9.]/g, ''));\n\t\t}\n\t}\n\treturn null;\n})();","trigger":""},{"name":"prod_price","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"0","code":"(function(){\n\tif (bouncex.website.pts === 'product') {\n\t\tvar $productPrice = jQuery('#product-detail button[data-ov-event=\"add-to-bag\"]:first');\n\n\t\tif ($productPrice.find('span span').length > 0) {\n\t\t\treturn $productPrice.find('span span').text().replace(/[^0-9.]/g, '');\n\t\t} else {\n\t\t\treturn $productPrice.text().replace(/[^0-9.]/g, '') || jQuery('meta[property=\"og:price:amount\"]').attr('content') || false;\n\t\t}\n\t} else {\n\t\treturn false;\n\t}\n})();","trigger":""},{"name":"prod_name","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts === 'product' && jQuery('meta[property=\"og:title\"]').attr('content');","trigger":""},{"name":"in_stock","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"bouncex.website.pts === 'product' && jQuery('#product-detail button[data-ov-event=\"add-to-bag\"]:not(\"disabled\")').length> 0;","trigger":""},{"name":"submitted_onsite","polling":"all","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"jQuery('[class*=\"EmailCaptureLite_success\"][class*=\"EmailCaptureLite_show\"]:visible').length > 0 || null;","trigger":""},{"name":"item_id","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('h1').text().replace(/ /g, '');","trigger":""},{"name":"items_ids","polling":"none","persist":"no","page_types":["category","search"],"testmode":false,"default":"false","code":"jQuery('#main-content').find('a > span:first-child').toArray().map(function(element) {\n\treturn jQuery(element).text().replace(/ /g, '')\n}).join(',')","trigger":""},{"name":"page_url","polling":"none","persist":"no","page_types":["category","search"],"testmode":false,"default":"false","code":"window.location.origin + window.location.pathname;","trigger":""},{"name":"image_url","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('meta[property=\"og:image\"]').attr('content')\n","trigger":""},{"name":"item_category","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"ShopifyAnalytics.meta.product.type || 'other';","trigger":""},{"name":"item_copy","polling":"none","persist":"no","page_types":["product"],"testmode":false,"default":"false","code":"jQuery('h1').text();","trigger":""},{"name":"cart","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"cart_set","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"previous_sku","polling":"none","persist":"permanent","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"kit_in_cart","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if (bouncex.website.pts==='cart' || bouncex.website.pts==='checkout') {\n return jQuery('h4[class*=\"CartItemGrouped_title\"]').text().indexOf('Kit') > -1 || jQuery('.product .product__description').text().toLowerCase().indexOf('kit') > -1;\n } \n return null;\n})();\n","trigger":"pageload"},{"name":"sale_item_in_cart","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if (bouncex.website.pts==='cart' || bouncex.website.pts==='checkout') {\n return jQuery('div[class*=\"Cart_details\"]').text().indexOf('Final Sale') > -1 || jQuery('.order-summary__sections').text().toLowerCase().indexOf('final sale') > -1;\n } \n return null;\n})();","trigger":"pageload"},{"name":"third_party_in_cart","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if (bouncex.website.pts==='cart' || bouncex.website.pts==='checkout') {\n return jQuery('div[class*=\"Cart_details\"]').text().match(/Found My Animal Leashes|HOKA x OV Bondi B|Women's OV Clifton|Caitlin Sports Strap|Men's OV Clifton|Spalwart Marathon Trail|District Vision|Women's Moab 2 Mid Waterproof|Men's Moab 2 Mid Waterproof/) !== null;\n } \n return null;\n})();","trigger":"pageload"},{"name":"products_in_cart","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"(function(){\n if (bouncex.website.pts === 'cart') {\n return jQuery('h4[class*=\"CartItem_title\"], ul[class*=\"CartItemGrouped_list\"] h4[class*=\"CartItemGrouped_title\"]').toArray().map(function(titleEl) {\n \tvar spanText = jQuery(titleEl).find('em').text().trim();\n \treturn jQuery(titleEl).text().trim().replace(spanText, '');\n }).join(',');\n }\n return null;\n})();","trigger":"pageload"},{"name":"ibx_delay_add","polling":"vars","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"student_email","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"load_quickview_item_id","polling":"none","persist":"no","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"ov_subscribed","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n var b = document.cookie.match('(^|;)\\\\s*' + 'ov-subscribed' + '\\\\s*=\\\\s*([^;]+)');\n var ovSubscribed = b ? b.pop() : '0';\n \n return !isNaN(ovSubscribed) ? Number(ovSubscribed) : 0;\n})();","trigger":"pageload"},{"name":"ov_number_of_purchases","polling":"all","persist":"no","page_types":[],"testmode":false,"default":"false","code":"(function(){\n var b = document.cookie.match('(^|;)\\\\s*' + 'ov-number-of-purchases' + '\\\\s*=\\\\s*([^;]+)');\n var ovNumberOfPurchases = b ? b.pop() : '0';\n \n return !isNaN(ovNumberOfPurchases) ? Number(ovNumberOfPurchases) : 0;\n})();","trigger":"pageload"},{"name":"student_email_identified","polling":"none","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"null;","trigger":"pageload"},{"name":"item_items","polling":"all","persist":"visit","page_types":[],"testmode":false,"default":"false","code":"bouncex.vars.cart_qty > 1 ? 'items' : 'item';","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":{"bxid":"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":"bouncex.utils.shqMirrorEvent = {\n // fire custom category page view when specific modal campaign IDs are detected\n 'user': function(wkdata) {\n var ids = ['1248586', '1248590', '1248592', '1248600', '1248596', '1248602', '1248604', '1248610', '1248614', '1248616'],\n id = bouncex.utils.getNestedProp('params.campaignid', null, wkdata);\n if (!!id && ids.indexOf(id) > -1) {\n _shq.push(['pageView', {\n pageType: 'category', \n catName: 'wk-modal-' + id,\n catId: 'wk-modal-' + id\n }]);\n }\n }\n}\nfunction captureSHQCustomCategory(){\n var btnSubmit = document.querySelector(\".submit-review button[type='submit']\");\n if (btnSubmit){\n btnSubmit.addEventListener('click', function(){\n _shq.push(['pageView', {\n pageType: 'category',\n catName: 'ReviewSubmit',\n catId: 'ReviewSubmit'\n }]);\n });\n }\n}\n\ncaptureSHQCustomCategory();\n","crs":{"integrations":null,"pageCount":null},"mat":0,"math":0,"cpnu":"coupons.bounceexchange.com","dfpcms":0,"sms":{"optm":"Hit 'Send' to sign-up for automated, recurring Outdoor Voices mktg txts (like cart reminders) to this #, per terms.","eventSharing":true,"shqId":"96lpwv1odb-1","enabled":1},"pde":true,"fmc":["US","CA"],"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":"391059947","ga4_measurement_id":"G-5643932760"} ; 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: 0 }; bouncex.assets = {"ads":"f6ef5f3573bdc7473184a65f6e98703e","creativesBaseStyles":"a53944a2","inbox":"02aca5df0e176b8810a86da97ac05424","onsite":"0e56ab6ba004ee080ce3deb3edae35e9","sms":"e39203556bab2366e56296ce42e974a7","websdk":"0704dae1eb637cbeb4a847506058402d"}; 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.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_d49d982a8e116dabad949c3944ed85a3.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"},{"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() {}; }; document.body.appendChild(runtime); } window._shq = window._shq || []; var eventSharingCartridge = document.createElement('script'); eventSharingCartridge.setAttribute('src', '//assets.bounceexchange.com/assets/smart-tag/versioned/wknd_audiences_2648fa8509e4b3a98a2790bb8171ddc1.js'); eventSharingCartridge.setAttribute('async', 'async'); document.body.appendChild(eventSharingCartridge); } if (document.readyState === "loading") { document.addEventListener("DOMContentLoaded", bxBootstrap); } else { bxBootstrap(); }})();