PageSourceSearch

https://www.hornetsfanshop.com/mm5/themes/genesis/branches/product…ge-code--CTGY.4101faab40d70a30420f.chunk.js

js hornetsfanshop.com collected 2026-10-06 15:22:42 UTC 3,772 bytes, 2 lines download raw bytes

1(self.webpackChunk_mvps_genesis_quickstart_theme=self.webpackChunk_mvps_genesis_quickstart_theme||[]).push([[8963],{827:(e,t,o)=>{"use strict";o.r(t),o.d(t,{default:()=>n});var r=o(5462),l=o(8557);o(6980);class n extends r.A{constructor(e){var t,o,r;super(e),"CTGY_STORE"!==this.pageContext.Page_Code&&l.vj.create({defaultSearchParams:{resultsPerPage:60},filters:null!==(t=null===(o=window)||void 0===o||null===(o=o.mivaJS)||void 0===o||null===(o=o.Searchspring_Category_Background_Filters)||void 0===o?void 0:o.map((e=>{let[t,o]=e;return{field:t,value:o}})))&&void 0!==t?t:[],query:e.Search,segment:null===(r=window)||void 0===r||null===(r=r.mivaJS)||void 0===r?void 0:r.Search_Catalog_Segment})}onReady(){this.splitCategoryFooter(),this.initIntersectionObserver(),this.bloomreachTrack(),this.bindEvents()}bloomreachTrack(){let e=null,t=null;const o=new MutationObserver(((o,r)=>{if(e=document.getElementById("js-product-list"),e&&window.exponea){var l,n,i,s,c,a;clearTimeout(t),r.disconnect();const o={category_id:null===(l=window)||void 0===l||null===(l=l.mivaJS)||void 0===l?void 0:l.Category_Code,category_name:null===(n=window)||void 0===n||null===(n=n.mivaJS)||void 0===n||null===(n=n.BloomreachFields)||void 0===n?void 0:n.categoryName,selected_store:null===(i=window)||void 0===i||null===(i=i.mivaJS)||void 0===i||null===(i=i.BloomreachFields)||void 0===i?void 0:i.selectedStore,title:null===(s=window)||void 0===s||null===(s=s.mivaJS)||void 0===s||null===(s=s.BloomreachFields)||void 0===s?void 0:s.pageTitle,type:null===(c=window)||void 0===c||null===(c=c.mivaJS)||void 0===c||null===(c=c.BloomreachFields)||void 0===c?void 0:c.pageType},d=Array.from(e.querySelectorAll(".g-product-card")).map((e=>e.getAttribute("data-gtm-sku")));d&&(o.category_product_ids=d),null===(a=window.exponea)||void 0===a||a.track("page_visit",o)}}));o.observe(document,{childList:!0,subtree:!0}),t=setTimeout((()=>o.disconnect()),15e3)}bindEvents(){const e=document.querySelectorAll(".js-scroll-to-group");if(e)for(const t of e)t.addEventListener("click",(e=>{e.preventDefault();const t=e.target.getAttribute("data-scroll-to");this.scrollToGroup(t)}))}
1splitCategoryFooter(){const e=document.querySelector(".g-read-more");if(!e)return;const t=e.querySelector(".g-read-more__visible"),o=e.querySelector(".g-read-more__hidden");if(!t||!o)return;const r=[],l=t.childNodes;for(const e of l)e.outerHTML?r.push(e.outerHTML):"\n"!==e.textContent&&r.push(e.textContent);const n=r.length;if(n<=2){const t=e.querySelector(".g-read-more__overlay"),o=e.querySelector(".js-read-more-toggle");return t.style.display="none",void(o.style.display="none")}t.innerHTML="";for(let e=0;e<=2;e++)t.innerHTML+=r[e];t.innerHTML+=r[r.length-1];for(let e=3;e<n;e++)o.innerHTML+=r[e]}scrollToGroup(e){const t=document.querySelector(e);t&&t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"})}initIntersectionObserver(){if(!("IntersectionObserver"in window))return;const e=document.querySelectorAll(".g-subcategory-group__section");if(!e)return;let t=new IntersectionObserver(this.intersected,{root:null,rootMargin:"-20% 0% -80% 0%",threshold:0});e.forEach((e=>{t.observe(e)}))}intersected(e){const t=document.querySelectorAll(".js-scroll-to-group");t&&e.forEach((e=>{if(e.isIntersecting){t.forEach((e=>{e.classList.remove("active")}));const o=e.target.closest("div").querySelector(".g-subcategory-group__letter").getAttribute("id"),r=document.querySelector(".js-scroll-to-group[data-scroll-to='#".concat(o,"']"));r&&r.classList.add("active")}}))}}},6118:()=>{},6980:(e,t,o)=>{var r=o(6118);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,o(8665).A)("36af4ca5",r,!1,{})}}]);
2//# sourceMappingURL=page-code--CTGY.4101faab40d70a30420f.chunk.js.map

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.