{"version":3,"file":"slider.a2556837f54fc73719b4.min.js","mappings":"uKACAA,EAAQ,MAEO,MAAMC,EACjBC,WAAAA,CAAYC,GACRC,KAAKD,UAAYA,EAEjBC,KAAKC,MACT,CAEAA,IAAAA,GACmB,IAAIC,IAAJ,CAAaF,KAAKD,UAAW,CACxCI,cAAc,EACdC,UAAU,EACVC,SAAS,EACTC,UAAW,OACXC,aAAcP,KAAKD,UAAUS,aAAa,6BAC1CC,gBAAiBT,KAAKD,UAAUW,aAAa,uBAC7CC,SAAUX,KAAKD,UAAUW,aAAa,oBACtCE,WAAYZ,KAAKD,UAAUW,aAAa,2BACxCG,aAAcb,KAAKD,UAAUS,aAAa,4BAC1CM,eAAgBd,KAAKD,UAAUW,aAAa,+BAC5CK,WAAY,qFAEpB,E","sources":["webpack://intracto-deheus/./Frontend/js/components/slider/index.js"],"sourcesContent":["import Flickity from 'flickity';\r\nrequire('flickity-imagesloaded');\r\n\r\nexport default class Slider {\r\n constructor(component) {\r\n this.component = component;\r\n \r\n this.init();\r\n }\r\n \r\n init() {\r\n const slider = new Flickity(this.component, {\r\n imagesLoaded: true,\r\n watchCSS: true,\r\n contain: true,\r\n cellAlign: 'left',\r\n initialIndex: this.component.getAttribute('data-slider-initial-index'),\r\n prevNextButtons: this.component.hasAttribute('data-slider-buttons'),\r\n pageDots: this.component.hasAttribute('data-slider-dots'),\r\n wrapAround: this.component.hasAttribute('data-slider-wrap-around'),\r\n cellSelector: this.component.getAttribute('data-slider-cellselector'),\r\n adaptiveHeight: this.component.hasAttribute('data-slider-adaptive-height'),\r\n arrowShape: 'M51.2,23.6l-19.6,19.4h63.4v13.8h-62.8l19.6,19.5-9.9,9.8L5,49.9,41.4,13.9l9.9,9.8Z'\r\n });\r\n }\r\n}\r\n"],"names":["require","Slider","constructor","component","this","init","Flickity","imagesLoaded","watchCSS","contain","cellAlign","initialIndex","getAttribute","prevNextButtons","hasAttribute","pageDots","wrapAround","cellSelector","adaptiveHeight","arrowShape"],"sourceRoot":""}