1import{L as n}from"./Local.DSjQjVn6.js";import{g as i}from"./gsapK.BdxL4_Qv.js";import"./Component.CIhuG4SO.js";import"./string.DBSvX1kD.js";const s={CONTAINER_MOVE:"-75%",IMAGE_MOVE:"150%",DURATION:.8,INTERVAL:4e3,EASE:"expo.inOut"};(class extends n{intervalId=null;static componentName="SecondPageHeader";currentIndex=0;frontImages=null;backImages=null;onInit(){this.frontImages=this.el?.querySelectorAll(".js_front_img")||null,this.backImages=this.el?.querySelectorAll(".js_back_img")||null,!(!this.frontImages||this.frontImages.length===1||!this.backImages)&&(this.frontImages[0].classList.add("active"),this.backImages[1].classList.add("active"),this.intervalId=setInterval(()=>{!this.frontImages||!this.backImages||this.slideToNext()},s.INTERVAL))}slideToNext(){if(!this.frontImages||!this.backImages)return;const e=this.frontImages[this.currentIndex],a=(this.currentIndex+1)%this.frontImages.length,t=e.closest(".js_front_container");t&&(i.fromTo(t,{x:"0%"},{x:s.CONTAINER_MOVE,duration:s.DURATION,ease:s.EASE,onComplete:()=>{!this.frontImages||!this.backImages||(this.switchImages(a),i.set(t,{x:"0%"}))}}),i.fromTo(e,{x:"0%"},{x:s.IMAGE_MOVE,duration:s.DURATION,ease:s.EASE,onComplete:()=>{i.set(e,{x:"0%"})}}),this.currentIndex=a)}switchImages(e){if(!this.frontImages||!this.backImages)return;this.frontImages.forEach(t=>t.classList.remove("active")),this.backImages.forEach(t=>t.classList.remove("active")),this.frontImages[e].classList.add("active");const a=(e+1)%this.backImages.length;this.backImages[a].classList.add("active")}onDestroy(){this.intervalId&&clearInterval(this.intervalId),this.intervalId=null,this.frontImages=null,this.backImages=null}}).register();
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.