PageSourceSearch

https://cabreiroa.es/etc.clientlibs/catalog/clientlibs/clientlib-c…-0a61c91f63ea050da57d9ea47baa4937-lc.min.js

js cabreiroa.es collected 2026-10-02 10:53:29 UTC 2,218 bytes, 5 lines download raw bytes

1var SliderHistory={init:function(){SliderHistory.events()},events:function(){SliderHistory.backLink();SliderHistory.initSlider();SliderHistory.nestedScrollLenis()},nestedScrollLenis:function(){document.querySelectorAll(".slider-history-component__item__description").forEach(function(a){(a=a.querySelector(".cmp-text"))&&a.setAttribute("data-lenis-prevent","true")})},backLink:function(){document.querySelectorAll(".slider-history-component__heading .cta").forEach(function(a){a.addEventListener("click",
2function(b){b.preventDefault();history.back()})})},initSlider:function(){document.querySelectorAll(".slider-history-component").forEach(function(a){var b=!1,c=new Swiper(a.querySelector(".swiper-2"),{slidesPerView:"auto",spaceBetween:42,slidesOffsetAfter:0,freeMode:!0,watchSlidesProgress:!0,breakpoints:{1280:{spaceBetween:0}}});new Swiper(a.querySelector(".swiper"),{direction:"horizontal",effect:"fade",allowTouchMove:!1,thumbs:{swiper:c},pagination:{enabled:!1},on:{init:function(){SliderHistory.setComponentBackground(a)},
3slideChangeTransitionStart:function(){b=!0;a.classList.add("is-transitioning")},slideChangeTransitionEnd:function(){b=!1;a.classList.remove("is-transitioning");SliderHistory.setComponentBackground(a)}}});a.querySelectorAll(".swiper-2 .swiper-slide").forEach(function(e){e.addEventListener("click",function(d){b&&(d.preventDefault(),d.stopPropagation())},!0)})})},setComponentBackground:function(a){var b=a.querySelector(".swiper-slide-active").querySelector(".slider-history-component__item__layout"),
4c={"bg-primary":"bg-primary","bg-secondary":"bg-secondary","bg-tertiary":"bg-tertiary"};for(d in c)a.classList.remove(c[d]);for(var e in c)if(b.classList.contains(e)){a.classList.add(c[e]);break}c=window.getComputedStyle(b).getPropertyValue("--slider-history-fg-color");var d=window.getComputedStyle(b).getPropertyValue("--slider-history-bg-initial-color");b=window.getComputedStyle(b).getPropertyValue("--slider-history-bg-end-color");a.style.setProperty("--slider-history-fg-color",c);a.style.setProperty("--slider-history-bg-initial-color",
5d);a.style.setProperty("--slider-history-bg-end-color",b)}};document.addEventListener("DOMContentLoaded",function(){SliderHistory.init()});

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.