PageSourceSearch

https://studiotanais.com/cdn/shop/t/46/assets/cart-count.js?v=10141272858822310631724387316

js studiotanais.com collected 2026-09-28 11:59:09 UTC 917 bytes, 2 lines download raw bytes

1document.addEventListener("alpine:init",()=>{Alpine.store("cartCount",{count:window.theme&&window.theme.cartItemCount||0,init(){window.addEventListener("baseline:cart:afteradditem",e=>{this._setFromFetchedSection(e.detail.response)}),window.addEventListener("baseline:cart:cartqtychange",e=>{this._setFromFetchedSection(e.detail.response)}),window.addEventListener("baseline:cart:update",e=>{this._setFromFetchedSection(e.detail.response)})},_setFromFetchedSection(data){const countSectionHTML=data.sections["cart-item-count"];this.count=parseInt(parseDOMFromString(countSectionHTML).firstElementChild.innerText.trim(),10),window.theme.cartItemCount=this.count},countWithText(){let string=theme.strings.itemCountOther;return this.count===1&&(string=theme.strings.itemCountOne),string.replace("{{ count }}",this.count)}})});
2//# sourceMappingURL=/cdn/shop/t/46/assets/cart-count.js.map?v=10141272858822310631724387316

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.