PageSourceSearch

https://imageskincare.com/cdn/shop/t/756/assets/trust-banner.xBlUH0Bx.min.js

js imageskincare.com collected 2026-10-02 17:06:01 UTC 3,254 bytes, 1 lines download raw bytes

1import{S as e}from"./swiper-core.BCP3yD9M.min.js";import{K as s}from"./keyboard.Cqj2aIOG.min.js";import{M as i}from"./mousewheel.BlwXveF6.min.js";import{A as t}from"./a11y.DbmesF3d.min.js";/* empty css                   *//* empty css                 */import"./classes-to-selector.DFvUiMQ0.min.js";const r=".js-swiper",n=".swiper-wrapper",a="justify-between";class p extends window.HTMLElement{constructor(){super(),this.swiper=null,this.swiperElement=null,this.wrapper=null,this.handleResize=this.handleResize.bind(this)}connectedCallback(){this.swiperElement=this.querySelector(r),this.swiperElement&&(this.wrapper=this.swiperElement.querySelector(n),this.wrapper&&(this.layout=this.getAttribute("data-layout"),this.blocksCount=Number(this.getAttribute("data-blocks-count"))||0,this.updateLayout(),window.addEventListener("resize",this.handleResize)))}disconnectedCallback(){window.removeEventListener("resize",this.handleResize),this.swiper&&(this.swiper.destroy(),this.swiper=null)}handleResize(){window.requestAnimationFrame(()=>{this.updateLayout()})}isDesktop(){return window.matchMedia("(min-width: 1024px)").matches}getIsOverflowing(){if(!this.swiperElement||!this.wrapper)return!1;const e=Array.from(this.wrapper.children);if(!e.length)return!1;const s=window.matchMedia("(min-width: 1280px)").matches?0:32,i=e.reduce((e,i,t)=>{const r=e+i.offsetWidth;return 0===t?r:r+s},0),t=this.swiperElement.clientWidth;return!(!i||!t)&&i>t}applySwiperMode(e){this.wrapper.classList.remove(a),this.swiperElement.style.opacity="",this.swiper?(Object.assign(this.swiper.params,e),this.swiper.update()):this.initializeSwiper()}updateLayout(){if(!this.swiperElement||!this.wrapper)return;const e="feature"===this.layout,s=this.isDesktop();if(e&&s){const e=this.blocksCount>2?3:2;return void this.applySwiperMode({slidesPerView:e,spaceBetween:32})}if(e&&!s)return this.getIsOverflowing()?void this.applySwiperMode({slidesPerView:"auto",spaceBetween:32}):(this.swiper&&(this.swiper.destroy(!0,!0),this.swiper=null),this.wrapper.classList.add(a),void(this.swiperElement.style.opacity="1"));return this.getIsOverflowing()?(this.wrapper.classList.remove(a),this.swiperElement.style.opacity="",this.swiper?(this.swiper.updateSize(),this.swiper.updateSlides(),this.swiper.updateProgress(),void this.swiper.updateSlidesClasses()):void this.initializeSwiper()):(this.swiper&&(this.swiper.destroy(!0,!0),this.swiper=null),this.wrapper.classList.add(a),void(this.swiperElement.style.opacity="1"))}initializeSwiper(){const r="feature"===this.getAttribute("data-layout"),n=this.blocksCount>2?3:2;this.swiper=new e(this.swiperElement,{modules:[t,s,i],slidesPerView:"auto",spaceBetween:32,mousewheel:{forceToAxis:!0,enabled:!0},keyboard:{enabled:!0,onlyInViewport:!0},a11y:{enabled:!0,prevSlideMessage:"Previous item",nextSlideMessage:"Next item",firstSlideMessage:"This is the first item",lastSlideMessage:"This is the last item",slideLabelMessage:"Item {{index}} of {{slidesLength}}",containerMessage:"Trust highlights",containerRoleDescriptionMessage:"carousel",itemRoleDescriptionMessage:"slide"},breakpoints:r?{1024:{slidesPerView:n,spaceBetween:32}}:{1280:{spaceBetween:0}}})}}window.customElements.get("trust-banner")||window.customElements.define("trust-banner",p);

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.