PageSourceSearch

https://sprinkle-th.com/js/pages/cart/vue/component/cartDrawerAlsoLike.js?id=ee9e600fdc900be1fd95548b8beb9ae0

js sprinkle-th.com collected 2026-09-25 07:11:46 UTC 1,189 bytes, 1 lines download raw bytes

1const CartDrawerAlsoLike={props:{product:Object},computed:{name(){return this.product?.["saName"+this.locale]||""},imageUrl(){return this.product?.imageUrl||""},price(){return this.product?.unitPrice||""},locale(){const t=window.settings?.locale||"en";return t.charAt(0).toUpperCase()+t.slice(1)},isNotReady(){return this.product?.isProductComingSoon||this.product?.isOutOfStock},notReadyText(){return this.product?.isProductComingSoon?window?.langs?.general?.comingsoon:window?.langs?.general?.outofstock}},methods:{add(){this.isNotReady||this.$emit("add",this.product)}},template:'\n<li class="alsoLikeItem">\n    <figure>\n        <img :src="imageUrl" alt="">\n    </figure>\n\n    <div class="content">\n        <p class="name notranslate">{{ name }}</p>\n        <span class="price">฿{{ price }}.-</span>\n    </div>\n\n    <button type="button" class="alsoLikeAdd" @click="add" v-if="!isNotReady" aria-label="+">\n        <svg viewBox="0 0 24 24" fill="none" stroke-width="2" stroke-linecap="round" aria-hidden="true">\n            <path d="M12 6v12M6 12h12"></path>\n        </svg>\n    </button>\n\n    <span class="alsoLikeNotReady" v-else>{{ notReadyText }}</span>\n</li>\n'};

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.