PageSourceSearch

https://senmit.com/cdn/shop/t/45/assets/merge.js?v=131219237576629635921785743821

js senmit.com collected 2026-10-04 02:07:13 UTC 3,394 bytes, 4 lines download raw bytes

1const ON_CHANGE_DEBOUNCE_TIMER=300,PUB_SUB_EVENTS={cartUpdate:"cart-update",quantityUpdate:"quantity-update",variantChange:"variant-change",cartError:"cart-error"};let subscribers={};function subscribe(eventName,callback){return subscribers[eventName]===void 0&&(subscribers[eventName]=[]),subscribers[eventName]=[...subscribers[eventName],callback],function(){subscribers[eventName]=subscribers[eventName].filter(cb=>cb!==callback)}}function publish(eventName,data){subscribers[eventName]&&subscribers[eventName].forEach(callback=>{callback(data)})}(function(){const selectors={productImageSwiper:".productImageSwiper"},productImageSwipers=document.querySelectorAll(selectors.productImageSwiper);productImageSwipers.length!=0&&productImageSwipers.forEach(productImageSwiper=>{const swiperId=productImageSwiper.getAttribute("data-id");new Swiper(`${selectors.productImageSwiper}[data-id="${swiperId}"]`,{spaceBetween:20,pagination:{el:`.swiper-pagination[data-id="${swiperId}"]`,clickable:!0},breakpoints:{320:{slidesPerView:1.5},768:{slidesPerView:2.5,spaceBetween:40}}})})})(),(function(){const selectors={featuredCollectionSwiper:".featured-collection-swiper"},featuredCollectionSwipers=document.querySelectorAll(selectors.featuredCollectionSwiper);featuredCollectionSwipers.length!=0&&featuredCollectionSwipers.forEach(featuredCollectionSwiper=>{const swiperId=featuredCollectionSwiper.getAttribute("data-id"),swiperOptions=JSON.parse(featuredCollectionSwiper.dataset.swiperOptions.replaceAll(`
2`,""));console.log(swiperOptions),new Swiper(`${selectors.featuredCollectionSwiper}[data-id="${swiperId}"]`,swiperOptions)})})(),(function(){const selectors={featuredBlogSwiper:".featured-blog-swiper"},featuredBlogSwipers=document.querySelectorAll(selectors.featuredBlogSwiper);featuredBlogSwipers.length!=0&&featuredBlogSwipers.forEach(featuredBlogSwiper=>{const swiperId=featuredBlogSwiper.getAttribute("data-id"),swiperOptions=JSON.parse(featuredBlogSwiper.dataset.swiperOptions.replaceAll(`
3`,""));console.log(swiperOptions),new Swiper(`${selectors.featuredBlogSwiper}[data-id="${swiperId}"]`,swiperOptions)})})();class Tabs extends HTMLElement{constructor(){super(),this.tabHeaders=this.querySelectorAll("tab-header"),this.tabDetails=this.querySelectorAll("tab-details"),this.tabHeaders.forEach(header=>{header.addEventListener("click",this.onHeaderClick.bind(this))})}onHeaderClick(event){const tab=event.target.closest("tab-header"),tabDetails=this.querySelector(`#Detail-${tab.getAttribute("aria-controls")}`);this.tabHeaders.forEach(header2=>{header2.removeAttribute("aria-selected"),header2.setAttribute("tabindex",-1)}),this.tabDetails.forEach(details=>{details.setAttribute("aria-hidden",!0)}),tab.setAttribute("aria-selected",!0),tab.setAttribute("tabindex",0),tabDetails.removeAttribute("aria-hidden")}onFocusOut(){setTimeout(()=>{this.contains(document.activeElement)||this.close()})}onToggle(){this.animations||(this.animations=this.content.getAnimations()),this.mainDetailsToggle.hasAttribute("open")?this.animations.forEach(animation=>animation.play()):this.animations.forEach(animation=>animation.cancel())}close(){this.mainDetailsToggle.removeAttribute("open"),this.mainDetailsToggle.querySelector("summary").setAttribute("aria-expanded",!1)}}customElements.define("custom-tabs",Tabs);
4//# sourceMappingURL=/cdn/shop/t/45/assets/merge.js.map?v=131219237576629635921785743821

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.