PageSourceSearch

https://wonky.com/cdn/shop/t/106/assets/theme.js?v=30875636576484827121790864400

js wonky.com collected 2026-10-10 01:20:54 UTC 7,506 bytes, 12 lines download raw bytes

1var predictiveSearchInput=document.getElementById("searchInputField"),timer,offcanvasSearch=document.getElementById("searchResult"),bsOffcanvas=document.getElementById("searchResult");predictiveSearchInput?.addEventListener("input",function(e){clearTimeout(timer),predictiveSearchInput.value&&(timer=setTimeout(fetchPredictiveSearch,500))});function fetchPredictiveSearch(){fetch(`/search/suggest.json?q=${predictiveSearchInput.value}&resources[type]=product`).then(resp=>resp.json()).then(data=>{console.log(data);var products=data.resources.results.products;document.getElementById("search_results_body").innerHTML="",products.forEach(function(product,index){document.getElementById("search_results_body").innerHTML+=`
2                <a href="${product.url}">
3                    <div class="flex items-start mb-10" style="w-320">
4                    <img src="${product.image}" class="w-100">
5                    <div class="ml-10">
6                        <p class="uppercase mt-0 mb-5">${product.title}</p>
7                        <p class="m-0" style="color:#edd100;">$${product.price}</p>
8                    </div>
9                </div>
10                </a>
11            `}),bsOffcanvas.classList.add("block")})}function currencyFormSubmit(event){event.target.form.submit()}document.querySelectorAll(".shopify-currency-form select").forEach(function(element){element.addEventListener("change",currencyFormSubmit)});var announcementSlider=new Swiper(".announcement-bar-slider",{loop:!0,pagination:!1,slidesPerView:1,navigation:{nextEl:".swiper-announcement-next",prevEl:".swiper-announcement-prev"}}),swiper=new Swiper(".full-width-slider",{lazy:!0,loop:!0,autoHeight:!0,pagination:{el:".swiper-pagination",clickable:!0},navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"}}),slider=new Swiper(".featured-quotes-slider",{slidesPerView:1,centeredSlides:!0,loop:!0,effect:"fade",loopedSlides:5}),thumbs=new Swiper(".featured-quotes-thumbs",{slidesPerView:"2",spaceBetween:10,centeredSlides:!0,loop:!0,slideToClickedSlide:!0,breakpoints:{280:{slidesPerView:2,spaceBetween:20},768:{slidesPerView:4,spaceBetween:40},1024:{slidesPerView:5,spaceBetween:50}}});slider.controller.control=thumbs,thumbs.controller.control=slider;let featuredQuotesMob=new Swiper(".featured-quotes-mobile",{slidesPerView:2,spaceBetween:0,loop:!0,autoplay:!0,autoHeight:!0,breakpoints:{200:{slidesPerView:1}}}),SwiperTop=new Swiper(".swiper--marquee",{spaceBetween:0,centeredSlides:!0,speed:2e4,autoplay:{delay:1},loop:!0,slidesPerView:"auto",allowTouchMove:!1,disableOnInteraction:!0}),SwiperTopImages=new Swiper(".swiper--marquee--image",{spaceBetween:0,centeredSlides:!0,speed:2e4,autoplay:{delay:1},loop:!0,slidesPerView:"5",allowTouchMove:!0,disableOnInteraction:!1,paginationClickable:!0,slideToClickedSlide:!0,breakpoints:{200:{slidesPerView:1},600:{slidesPerView:2},769:{slidesPerView:3},1034:{slidesPerView:5}}}),swiperTestimonials=new Swiper(".testimonials--carousel",{slidesPerView:1,spaceBetween:50,autoHeight:!0,loop:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",clickable:!0},breakpoints:{200:{slidesPerView:1},600:{slidesPerView:2},769:{slidesPerView:3}}}),logoListTestimonials=new Swiper(".logo-list--carousel",{slidesPerView:1,spaceBetween:50,loop:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",clickable:!0},breakpoints:{200:{slidesPerView:1},600:{slidesPerView:3},769:{slidesPerView:5,spaceBetween:100}}}),imageTestimonials=new Swiper(".image--carousel",{slidesPerView:1,spaceBetween:50,centeredSlides:!0,loop:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},pagination:{el:".swiper-pagination",clickable:!0},breakpoints:{200:{slidesPerView:2,spaceBetween:10},400:{slidesPerView:2,spaceBetween:25},769:{slidesPerView:4,spaceBetween:50}}}),customCollection=new Swiper(".slider_custom",{slidesPerView:1.2,spaceBetween:0,loop:!0,autoplay:!0,authHeight:!0,pagination:{el:".swiper-pagination",clickable:!0},breakpoints:{200:{slidesPerView:1.2},600:{slidesPerView:3.2,spaceBetween:20},1024:{slidesPerView:4,spaceBetween:100}}}),customCards=new Swiper(".slider_cards",{slidesPerView:1.2,spaceBetween:0,loop:!0,autoplay:!0,authHeight:!0,breakpoints:{200:{slidesPerView:1.2,spaceBetween:10},600:{slidesPerView:2.2,spaceBetween:20},768:{slidesPerView:3.2,spaceBetween:20},1024:{slidesPerView:4,spaceBetween:100}}});document.querySelectorAll('a[href^="#"]').forEach(anchor=>{anchor.addEventListener("click",function(e){e.preventDefault(),document.querySelector(this.getAttribute("href")).scrollIntoView({behavior:"smooth"})})});var swiper=new Swiper(".swiper--partners",{pagination:".swiper-pagination",slidesPerView:7,centeredSlides:!0,paginationClickable:!0,loop:!0,spaceBetween:30,slideToClickedSlide:!0,breakpoints:{200:{slidesPerView:2,spaceBetween:10},600:{slidesPerView:4,spaceBetween:20},1024:{slidesPerView:7,spaceBetween:30}}}),swiper=new Swiper(".swiper--insta",{pagination:".swiper-pagination",slidesPerView:6,centeredSlides:!0,paginationClickable:!0,loop:!0,spaceBetween:30,slideToClickedSlide:!0,breakpoints:{200:{slidesPerView:2,spaceBetween:10},600:{slidesPerView:4,spaceBetween:20},1024:{slidesPerView:6,spaceBetween:30}}}),swiperFour=new Swiper(".swiper--four",{pagination:".swiper-pagination",slidesPerView:6,centeredSlides:!0,paginationClickable:!0,loop:!0,spaceBetween:30,slideToClickedSlide:!0,breakpoints:{200:{slidesPerView:2,spaceBetween:10},768:{slidesPerView:3,spaceBetween:20},1024:{slidesPerView:4,spaceBetween:25}}});function navBGHide1(){var x=document.getElementById("megaNavBG-1"),y=document.getElementById("megaNavBG-2"),z=document.getElementById("megaNavBG-3");x.style.display==="block"?(x.style.display="none",y.style.display="none",z.style.display="none"):(x.style.display="block",y.style.display="none",z.style.display="none")}function navBGHide2(){var x=document.getElementById("megaNavBG-2"),y=document.getElementById("megaNavBG-1"),z=document.getElementById("megaNavBG-3");x.style.display==="block"?(x.style.display="none",y.style.display="none",z.style.display="none"):x.style.display="block"}function navBGHide3(){var x=document.getElementById("megaNavBG-3"),y=document.getElementById("megaNavBG-2"),z=document.getElementById("megaNavBG-1");x.style.display==="block"?(x.style.display="none",y.style.display="none",z.style.display="none"):(x.style.display="block",y.style.display="none",z.style.display="none")}var testimonialsCustom=new Swiper(".testimonials-custom",{slidesPerView:3,spaceBetween:30,slidesPerGroup:3,loop:!0,pagination:{el:".swiper-pagination",clickable:!0},breakpoints:{200:{slidesPerView:1,spaceBetween:10,slidesPerGroup:1},600:{slidesPerView:2,slidesPerGroup:2},1024:{slidesPerView:3}}});function myFunction(){var x=document.getElementById("myLinks");x.style.display==="block"?x.style.display="none":x.style.display="block"}class CountUpTwo{constructor(triggerEl,counterEl){const counter=document.querySelector(counterEl),trigger=document.querySelector(triggerEl);let num=0;const countUp=()=>{num<=counter.dataset.stop&&++num,counter.textContent=num};new IntersectionObserver(el=>
11{if(el[0].isIntersecting){const interval=setInterval(()=>{num<counter.dataset.stop?countUp():clearInterval(interval)},counter.dataset.speed)}},{threshold:[0]}).observe(trigger)}}new CountUpTwo("#start1","#counter1");
12//# sourceMappingURL=/cdn/shop/t/106/assets/theme.js.map?v=30875636576484827121790864400

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.