1(self.webpackChunkapp_project=self.webpackChunkapp_project||[]).push([[2258],{13838:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>n});var r=s(82503),o=s(46378);const i=s(38302).default;class n extends i{constructor(e){super(e),this.swiper,this.slides=[...this.element.querySelectorAll(".module-01__item")],this.refreshButton=this.element.querySelector("[data-refresh]"),this.initSlider()}initSlider(){const e=!!this.element.dataset.loop,t=this.element.dataset.speed?1e3*parseInt(this.element.dataset.speed):6e3,s=!!this.element.dataset.autoplay,i={loop:this.slides.length>1&&e,autoplay:!1,modules:[o.W_,o.tl,o.pt,o.s5]};s&&(this.progressBar=this.element.querySelector(".module-01__progress"),i.autoplay={delay:t},this.progressBar&&(i.on={activeIndexChange:()=>{console.log("activeIndexChange"),this.progressBar.style.removeProperty("--duration"),this.progressBar.style.transform="scaleX(0)"},slideChangeTransitionEnd:()=>{console.log("slideChangeTransitionEnd"),this.progressBar.style.setProperty("--duration","".concat(t/1e3,"s")),this.progressBar.style.transform="scaleX(1)"}})),i.on={afterInit:()=>{this.refreshButton&&this.refreshButton.addEventListener("click",(e=>{this.swiper.slideNext()}));const e=document.querySelectorAll(".module-01__icon");e.length>0&&e.forEach((function(e){const t=e.closest(".page-section").nextSibling.offsetTop;e.addEventListener("click",(()=>{window.scrollTo({top:t,behavior:"smooth"})}))}))}},this.swiper=new r.Z(this.element,i)}}}}]);
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.