PageSourceSearch

https://www.glowrecipe.com/cdn/shop/t/1677/assets/bundles.js?v=164888242870124154491788493545

js glowrecipe.com collected 2026-09-24 18:04:23 UTC 2,157 bytes, 2 lines download raw bytes

1window.$s=window.$s||{},(function(helper){helper.getItemsToUpdate=function(sourceItem,newQuantity){var items=[sourceItem];return sourceItem.dataset.bundleId&&sourceItem.dataset.bundleItem!="individual"&&(newQuantity==0?items=sourceItem.parentNode.querySelectorAll('[data-bundle-id="'+sourceItem.dataset.bundleId+'"]'):items=sourceItem.parentNode.querySelectorAll('[data-bundle-id="'+sourceItem.dataset.bundleId+'"][data-bundle-item="main"], [data-bundle-id="'+sourceItem.dataset.bundleId+'"][data-bundle-item="related_multiple"]'),items=Array.from(items)),items},helper.validateBundlesInHTML=function(items,mustFixItems,callback){var data={items:[]};items.forEach(function(item){var obj={key:item.dataset.key,properties:{},quantity:item.querySelector('[name="updates[]"]').value/1};item.dataset.bundleId&&(obj.properties._bundle_id=item.dataset.bundleId,obj.properties._bundle_item=item.dataset.bundleItem,data.items.push(obj))}),validateBundles(data,mustFixItems,callback)},helper.validateBundlesInJson=function(items,mustFixItems,callback){var data={items:items};validateBundles(data,mustFixItems,callback)};function validateBundles(data,mustFixItems,callback){var bundles={};typeof mustFixItems=="undefined"&&(mustFixItems=!0);var dataUpdate={updates:{}};data.items.forEach(function(item){var id2=item.properties._bundle_id;id2&&item.properties._bundle_item!="individual"&&(bundles[id2]||(bundles[id2]=[]),bundles[id2].push(item))});for(var id in bundles){var items=bundles[id];items.forEach(function(item){item.properties._bundle_item=="related_single"&&item.quantity>1&&(dataUpdate.updates[item.key]=1)}),items.find(function(x){return x.properties._bundle_item=="main"})||items.forEach(function(item){return dataUpdate.updates[item.key]=0})}Object.keys(dataUpdate.updates).length?mustFixItems?($s.showLoadingOverlay(),$s.post({type:"POST",url:"/cart/update.js",data:dataUpdate,dataType:"json",success:function(){callback?($s.hideLoadingOverlay(),callback(!1)):location.reload()},error:$s.addToCartFail})):callback&&callback(!1):callback&&callback(!0)}})($s);
2//# sourceMappingURL=/cdn/shop/t/1677/assets/bundles.js.map?v=164888242870124154491788493545

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.