PageSourceSearch

https://sunology.eu/cdn/shop/t/1307/assets/trustpilot-COXCpqWd.js?v=155082570808849019361789546182

js sunology.eu collected 2026-09-24 18:01:52 UTC 2,210 bytes, 1 lines download raw bytes

1import{m as i}from"./module.esm-CIMwf5AW.js";import{E as l}from"./embla-carousel.esm-CvuiBM5S.js";const c=()=>{i.data("TrustpilotBadge",()=>({isLoaded:!1,label:"Excellent",rating:4.7,image_rating:4.7,count:2725,init(){this.image_rating=this.roundHalf(this.image_rating),this.fetchDatas(),this.$watch("rating",t=>{this.image_rating=this.roundHalf(t)})},async fetchDatas(){const t="https://sunology.eu/apps/vlh_backend/trustpilot/badge-datas";try{const e=await fetch(t);if(!e.ok)throw new Error(`HTTP error! Status: ${e.status}`);const s=await e.json();this.label=s.rating_label,this.rating=s.rating,this.image_rating=this.roundHalf(s.rating),this.count=s.reviews_count}catch(e){console.error("Fetch error:",e)}finally{this.isLoaded=!0}},roundHalf(t){return Math.round(t*2)/2}}))},d=()=>{i.data("TrustpilotCarousel",()=>({carousel:{},canScrollNext:!0,canScrollPrev:!0,async init(){var s;const t=l(this.$refs.viewport,{loop:!0,align:"start",skipSnaps:!0,slides:".embla__slide",breakpoints:{"(min-width: 64em)":{startIndex:1}}});this.carousel=t,this.carousel.reInit();const e=(s=this.$el)==null?void 0:s.querySelector(".embla__dots");if(e){const r=this.addDotBtnsAndClickHandlers(this.carousel,e);this.carousel.on("destroy",r)}this.carousel.on("init",this.setArrowsState.bind(this)),this.carousel.on("select",this.setArrowsState.bind(this)),this.carousel.on("reInit",this.setArrowsState.bind(this))},addDotBtnsAndClickHandlers(t,e){let s=[];const r=()=>{e.innerHTML=t.scrollSnapList().map(()=>'<button class="embla__dot !tw-bg-white tw-m-0 tw-w-4 tw-h-4 tw-rounded-full hover:!tw-bg-grey-copy tw-transition-colors tw-ease-in-out [&.active]:!tw-bg-grey-copy" type="button"></button>').join(""),s=Array.from(e.querySelectorAll(".embla__dot")),s.forEac
1h((a,n)=>{a.addEventListener("click",()=>t.scrollTo(n),!1)})},o=()=>{const a=t.previousScrollSnap(),n=t.selectedScrollSnap();s[a].classList.remove("active"),s[n].classList.add("active")};return t.on("init",r).on("reInit",r).on("init",o).on("reInit",o).on("select",o),()=>{e.innerHTML=""}},setArrowsState(){this.canScrollNext=this.carousel.canScrollNext(),this.canScrollPrev=this.carousel.canScrollPrev()}}))};document.addEventListener("alpine:init",()=>{c(),d()});

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.