1"use strict";(self.NiveaXwebpackJsonp=self.NiveaXwebpackJsonp||[]).push([[9882],{15928:(t,e,i)=>{i.r(e),i.d(e,{default:()=>r});var n=i(50436),s=i(21464);const a='[data-module="ThumbnailSlider"]',o={container:".nx-tabs-slider__content",items:1,slideBy:"page",navContainer:".nx-thumbnail-tabs__slider",navAsThumbnails:!0,mouseDrag:!0,nav:!0,controls:!1,loop:!1,preventScrollOnTouch:"auto",responsive:{768:{items:10}}};class l extends n.default{constructor(t,e){super(t,e),this.element=t}}class r{static setup(t=a){Array.from(document.querySelectorAll(t)).filter(t=>!t.dataset.moduleInitialized).forEach(t=>{new r(t),t.dataset.moduleInitialized="true"})}constructor(t,e=(0,s.JH)(o)){this.element=t,this.options=e,this.container=t.querySelector(o.container),this.updateDefOptions().initThumbnail(),this.initIconSectionWidth(),this.fullWidthClass(),window.addEventListener("resize",(0,s.sg)(()=>{this.initIconSectionWidth(),this.fullWidthClass()},350))}initIconSectionWidth(){Array.from(document.querySelectorAll(".nx-image-tabs__icon")).forEach(t=>{t.querySelector(".nx-span-img__height").style.width=`${t.clientWidth}px`})}updateDefOptions(){return this.options.navContainer=this.element.querySelector(`${o.navContainer}`),this}initThumbnail(){return new l(this.container,this.options),this}fullWidthClass(){const t=this.element.querySelector(".nx-image-tabs__slider");t&&t.closest(".nx-tab-wrapper").classList.add("nx-u-full-width")}}r.setup(a)}}]); 2//# sourceMappingURL=/dist/NiveaX/./modules/ThumbnailSlider.c1d555f5.js.be16cd90.map
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.