1var m=Object.getPrototypeOf;var f=Reflect.get;var c=(l,t,e)=>f(m(l),e,t);var h=(l,t,e)=>new Promise((o,i)=>{var n=r=>{try{d(e.next(r))}catch(p){i(p)}},s=r=>{try{d(e.throw(r))}catch(p){i(p)}},d=r=>r.done?o(r.value):Promise.resolve(r.value).then(n,s);d((e=e.apply(l,t)).next())});import{S as w}from"./swiper-core-CQWaOJdy.js";import{M as g}from"./mousewheel-_Cnx29Fb.js";import{N as y}from"./navigation-BQ2OuoR4.js";import{A as S}from"./a11y-BH1c_8We.js";import{f as b}from"./free-mode-IF0RefCS.js";import _ from"./stagger-reveal-animation-DOcvilbW.js";import{a as v,S as M,P as A,C as E}from"./animation-Lj_RU2CY.js";import{a}from"./customer-portal-R96TstYq.js";import{a9 as C}from"./exports-NHIMKJG4.js";import"./create-element-if-not-defined-CwyoTRil.js";import"./media-features-Dpev1hGC.js";import"./custom-html-element-Cddc4xm8.js";import"./logger-pamvzmAu.js";import"./event-zU-Y6ZHH.js";class u extends _{constructor(){super(),this._onMediaQueryChange=this._onMediaQueryChange.bind(this),this._dots=[]}connectedCallback(){super.connectedCallback(),this.handlePopupOpen=this.handlePopupOpen.bind(this),this.query=window.matchMedia("(min-width: 600px)"),this.query.addEventListener("change",this._onMediaQueryChange),this.addEventListener("openable-element:open",this.handlePopupOpen),this._dots=Array.from(this.querySelectorAll(".js-dot")),this.query.matches&&this._initSwiper()}get dots(){return this._dots}disconnectedCallback(){super.disconnectedCallback(),this._destroySwiper(),this.query.removeEventListener("change",this._onMediaQueryChange)}_setupVisibility(){return h(this,null,function*(){yield c(u.prototype,this,"_setupVisibility").call(this),yield this.transitionToEnter()})}_initSwiper(){this._swiper||(this._swiper=new w(this,{modules:[g,b,S,y],direction:"horizontal",slidesPerView:"auto",watchSlidesProgress:!0,height:530,freeMode:{enabled:!0,sticky:!1,minimumVelocity:.01,momentumVelocityRatio:2},centeredSlides:!1,initialSlide:0,spaceBetween:10,touchRatio:2,mousewheel:{enabled:!0,forceToAxis:!0},a11y:{enabled:!0,scrollOnFocus:!0,firstSlideMessage:a("firstSlideMessage"),lastSlideMessage:a("lastSlideMessage"),nextSlideMessage:a("nextSlideMessage"),prevSlideMessage:a("prevSlideMessage"),slideRole:"region"},navigation:{nextEl:".js-swiper-next",prevEl:".js-swiper-prev"}}))}_onMediaQueryChange(){this.query.matches?this._swiper||this._initSwiper():this._destroySwiper()}transitionToEnter(t=!0){return h(this,null,function*(){var i;if(this.removeAttribute("hidden"),this.dots.length===0){C("No .js-dot elements found for transitionToEnter animation","warning"),console.warn("No .js-dot elements found for transitionToEnter animation");return}const e=new v(new M([new A(this.dots.map((n,s)=>new E(n,{opacity:[0,1],transform:["scale(0)","scale(1)"]},{duration:120,delay:75*s,easing:"ease-in-out"})))]));t?e.play():e.finish(),yield e.finished;const o=this.dots[0];if(o&&window.matchMedia((i=window.themeVariables.breakpoints)==null?void 0:i.tabletAndUp).matches){o.setAttribute("aria-expanded","true");const n=o.getAttribute("aria-controls"),s=document.getElementById(n);o!=null&&(s?(s.setAttribute("skip-focus-trap",""),setTimeout(()=>s.open=!0,600),setTimeout(()=>s.removeAttribute("skip-focus-trap"),800)):s.open=!0)}})}closeAllPopovers(t=[]){this.dots.forEach(e=>{const o=e.getAttribute("aria-controls"),i=document.getElementById(o);i&&!t.includes(i)&&(i.open=!1)})}_destroySwiper(){this._swiper&&(this._swiper.destroy(),this._swiper=null)}handlePopupOpen(t){const e=t.target;this.closeAllPopovers([e])}}customElements.get("gallery-with-hotspot-slider")||customElements.define("gallery-with-hotspot-slider",u);
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.