PageSourceSearch

https://www.tanit.co/cdn/shop/t/61/assets/bundle-gift-guard.js?v=141170132564152900581788509731

js tanit.co collected 2026-10-03 21:25:27 UTC 1,338 bytes, 2 lines download raw bytes

1(function(){var busy=!1;function hasProp(item,key){return!!(item.properties&&item.properties[key])}function check(){busy||(busy=!0,fetch("/cart.js",{credentials:"same-origin"}).then(function(r){return r.json()}).then(function(cart){var hasBox=cart.items.some(function(i){return hasProp(i,"_rc_bundle")}),gifts=cart.items.filter(function(i){return hasProp(i,"_gift")});if(!gifts.length){busy=!1;return}var updates={},changed=!1;if(gifts.forEach(function(g,idx){var want=hasBox&&idx===0?1:0;g.quantity!==want&&(updates[g.key]=want,changed=!0)}),!changed){busy=!1;return}return fetch("/cart/update.js",{method:"POST",credentials:"same-origin",headers:{"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({updates:updates})}).then(function(r){return r.json()}).then(function(updated){if(busy=!1,window.location.pathname.indexOf("/cart")===0){window.location.reload();return}document.dispatchEvent(new CustomEvent("cart:build")),document.dispatchEvent(new CustomEvent("cart:updated",{detail:{cart:updated}}))})}).catch(function(){busy=!1}))}document.addEventListener("cart:updated",function(){setTimeout(check,50)}),document.readyState==="loading"?document.addEventListener("DOMContentLoaded",check):check()})();
2//# sourceMappingURL=/cdn/shop/t/61/assets/bundle-gift-guard.js.map?v=141170132564152900581788509731

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.