PageSourceSearch

https://nutristar.in/cdn/shop/t/2/assets/product-message.aio.min.js?v=90633600652233834981763647894

js nutristar.in collected 2026-10-02 15:29:33 UTC 2,553 bytes, 5 lines download raw bytes

1/*
2Generated time: November 20, 2025 14:11
3This file was created by the app developer. Feel free to contact the original developer with any questions. It was minified (compressed) by AVADA. AVADA do NOT own this script.
4*/
5if(!customElements.get("product-message")){class a extends HTMLElement{constructor(){super(),this.closeButton=this.querySelector(".js-close-message"),this.openInEditor=!1,this.init(),this.bindEvents()}disconnectedCallback(){this.blockSelectHandler&&document.removeEventListener("shopify:block:select",this.blockSelectHandler),this.blockDeselectHandler&&document.removeEventListener("shopify:block:deselect",this.blockDeselectHandler)}init(){let t=!1;var e;this.dataset.persistentClose&&!Shopify.designMode&&(e=theme.storageUtil.get("closed-messages",!0)||[])&&e.includes(this.dataset.blockId)&&(t=!0,this.remove()),!this.classList.contains("product-message--out")||t&&!Shopify.designMode||(this.show(!this.dataset.transient),this.dataset.transient&&setTimeout(()=>{this.openInEditor||this.hide(!1)},1e3*this.dataset.transient))}bindEvents(){this.closeButton&&this.closeButton.addEventListener("click",this.handleCloseClick.bind(this)),Shopify.designMode&&this.dataset.transient&&(this.blockSelectHandler=this.handleBlockSelect.bind(this),this.blockDeselectHandler=this.handleBlockDeselect.bind(this),document.addEventListener("shopify:block:select",this.blockSelectHandler),document.addEventListener("shopify:block:deselect",this.blockDeselectHandler))}handleBlockSelect(t){t.target.classList.contains("product-message")&&t.target.dataset.transient&&(this.openInEditor=!0,this.show(!0))}handleBlockDeselect(t){t.target.classList.contains("product-message")&&t.target.dataset.transient&&(this.openInEditor=!1,this.hide(!0),theme.storageUtil.remove("closed-messages"))}handleCloseClick(){var t;this.dataset.persistentClose&&!(t=theme.storageUtil.get("closed-messages",!0)||[]).includes(this.dataset.blockId)&&(t.push(this.dataset.blockId),theme.storageUtil.set("closed-messages",t)),this.hide(!0)}show(t){t&&(this.style.transitionDelay="0s",this.style.transitionDuration="0s"),this.classList.remove("product-message--out")}hide(t){t&&(this.style.transitionDelay="0s",this.style.transitionDuration="0.2s",this.style.filter="opacity(0)",this.style.pointerEvents="none"),this.classList.contains("product-message--info")?(this.style.maxHeight=this.getBoundingClientRect().height+10+"px",setTimeout(()=>{this.classList.add("product-message--out")})):this.classList.add("product-message--out")}}customElements.define("product-message",a)}

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.