PageSourceSearch

https://www.myticktalk.com/cdn/shop/t/220/assets/mobile-dock.js?v=3013187306829119681788983195

js myticktalk.com collected 2026-09-25 18:32:10 UTC 2,050 bytes, 2 lines download raw bytes

1customElements.get("mobile-dock")||customElements.define("mobile-dock",class extends BaseElement{connectedCallback(){super.connectedCallback(),Shopify.designMode?this.init():new theme.initWhenVisible(theme.utils.throttle(this.init.bind(this)))}get section(){return this._section=this._section||this.closest(".mobile-dock-section")}init(){this.initialized||(this.initialized=!0,this.setAttribute("loaded",""),this.detectForHeader(),this.detectForFooter(),setTimeout(this.setHeight.bind(this)),this.on(document,"matchSmall",this.setHeight.bind(this)),Shopify.designMode&&(this.on(this.section,"shopify:section:select",()=>{this.section.classList.add("shopify-active")}),this.on(this.section,"shopify:section:deselect",()=>{this.section.classList.remove("shopify-active")})))}detectForHeader(){const header=document.querySelector(".header-section");if(header===null){this.section.classList.add("active");return}if(!header.classList.contains("header-sticky")){this.scrollY=parseInt(header.getBoundingClientRect().bottom+window.scrollY);const onScroll=theme.utils.throttle(this.onScrollForHeader.bind(this));this.on(window,"scroll",onScroll,{passive:!0}),this.registerCleanup(()=>onScroll.cancel())}}onScrollForHeader(){window.scrollY>=this.scrollY?this.section.classList.add("active"):this.section.classList.remove("active")}detectForFooter(){if(document.querySelector(".footer-copyright")===null)return;const onScroll=theme.utils.throttle(this.onScrollForFooter.bind(this));this.on(window,"scroll",onScroll,{passive:!0}),this.registerCleanup(()=>onScroll.cancel())}onScrollForFooter(){if(!theme.config.mqlSmall)return;const scrolledTo=window.scrollY+window.innerHeight,threshold=this.offsetHeight,isReachBottom=document.body.scrollHeight-threshold<=scrolledTo;this.classList.toggle("active",isReachBottom)}setHeight(){document.documentElement.style.setProperty("--mobile-dock-height",`${this.getBoundingClientRect().height.toFixed(1)}px`)}},{extends:"nav"});
2//# sourceMappingURL=/cdn/shop/t/220/assets/mobile-dock.js.map?v=3013187306829119681788983195

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.