PageSourceSearch

https://www.frownies.com/cdn/shop/t/82/assets/component_carousel.js?v=36576770136610776511756902407

js frownies.com collected 2026-09-25 14:55:45 UTC 3,081 bytes, 2 lines download raw bytes

1if(!customElements.get("component-carousel")){class ComponentCarousel extends HTMLElement{constructor(){super(),this.sliderElement=this.querySelector(".keen-slider"),this.slides=this.querySelectorAll(".keen-slider-slide"),this.pageInfo=this.querySelector(".keen-slider-page"),this.carouselMode=this.dataset.carouselMode,this.carouselAutoplay=this.dataset.carouselAutoplay,this.carouselAutomove=parseFloat(this.dataset.carouselAutomove),this.carouselLoopDesktop=this.dataset.carouselLoopDesktop,this.carouselLoopMobile=this.dataset.carouselLoopMobile,this.carouselCenteredDesktop=this.dataset.carouselCenteredDesktop,this.carouselCenteredMobile=this.dataset.carouselCenteredMobile,this.carouselSpacingDesktop=this.dataset.carouselSpacingDesktop,this.carouselSpacingTablet=this.dataset.carouselSpacingTablet,this.carouselSpacingMobile=this.dataset.carouselSpacingMobile,this.slidesScrollMode=this.dataset.slidesScrollMode,this.slidesPerViewDesktop=this.dataset.slidesPerViewDesktop,this.slidesPerViewTablet=this.dataset.slidesPerViewTablet,this.slidesPerViewMobile=this.dataset.slidesPerViewMobile,this.dataset.initOndemand!="true"&&setTimeout(()=>{this.initSlider()},1)}initSlider(){if(this.slides.length>0&&!this.initialized){this.initialized=!0;var config={mode:this.carouselMode,prevButton:this.querySelector(".keen-arrow.prev"),nextButton:this.querySelector(".keen-arrow.next"),autoplay:this.carouselAutoplay,automove:this.carouselAutomove,pauseOnHover:!0,pageInfo:this.pageInfo,slideChanged:keen=>{this.currentSlide&&this.currentSlide.classList.remove("current"),this.currentSlide=keen.currentSlide(),this.currentSlide.classList.add("current")},breakpoints:{"(min-width: 1025px)":{loop:this.carouselLoopDesktop=="true",centered:this.carouselCenteredDesktop=="true",spacing:this.carouselSpacingDesktop,slidesPerView:this.slidesPerViewDesktop,slidesToScroll:this.slidesScrollMode=="slide"?1:Math.floor(this.slidesPerViewDesktop)},"(min-width: 641px) and (max-width: 1024px)":{loop:this.carouselLoopMobile=="true",centered:this.carouselCenteredMobile=="true",spacing:this.carouselSpacingTablet,slidesPerView:this.slidesPerViewTablet,slidesToScroll:this.slidesScrollMode=="slide"?1:Math.floor(this.slidesPerViewTablet)},"(max-width: 640px)":{loop:this.carouselLoopMobile=="true",centered:this.carouselCenteredMobile=="true",spacing:this.carouselSpacingMobile,slidesPerView:this.slidesPerViewMobile,slidesToScroll:this.slidesScrollMode=="slide"?1:Math.floor(this.slidesPerViewMobile)}}},dots=this.querySelector(".keen-dots");if(dots)config={...config,dots};else{var bar=this.querySelector(".keen-nav-bar");config={...config,navBar:bar,rubberband:!1}}this.sliderObj=new KeenSlider(this.sliderElement,config),Shopify.designMode&&this.addEventListener("shopify:block:select",e=>{let index=Array.from(this.slides).findIndex(x=>x==e.target);index>=0&&setTimeout(()=>{this.sliderObj.moveToSlideRelative(index,!0,0)},10)})}}}customElements.define("component-carousel",ComponentCarousel)}
2//# sourceMappingURL=/cdn/shop/t/82/assets/component_carousel.js.map?v=36576770136610776511756902407

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.