{"version":3,"sources":["components/sliders/video-slider/video-slider.js"],"names":["VideoSlider","Component","constructor","el","swiperVideosEl","$find","swiperTitlesEl","swiperVideos","swiperTitles","constructSwiperVideos","constructSwiperTitles","controller","control","Swiper","watchOverflow","slidesPerView","autoplay","delay","pagination","type","navigation","nextEl","prevEl","effect","fadeEffect","crossFade"],"mappings":"aAAA,KAAMA,CAAAA,WAAN,QAA0BC,CAAAA,SAAU,CACnCC,WAAW,CAACC,EAAD,CAAK,CACf,MAAMA,EAAN,EACA,KAAKC,cAAL,CAAsB,KAAKC,KAAL,CAAW,sBAAX,CAAtB,CACA,KAAKC,cAAL,CAAsB,KAAKD,KAAL,CAAW,sBAAX,CAAtB,CACA,KAAKE,YAAL,CAAoB,IAApB,CACA,KAAKC,YAAL,CAAoB,IAApB,CACA,KAAKJ,cAAL,EAAuB,KAAKK,qBAAL,EAAvB,CACA,KAAKH,cAAL,EAAuB,KAAKI,qBAAL,EAAvB,CAEA,KAAKF,YAAL,CAAkBG,UAAlB,CAA6BC,OAA7B,CAAuC,KAAKL,YAA5C,CACA,KAAKA,YAAL,CAAkBI,UAAlB,CAA6BC,OAA7B,CAAuC,KAAKJ,YAC5C,CAEDC,qBAAqB,EAAG,CACvB,KAAKF,YAAL,CAAoB,GAAIM,CAAAA,MAAJ,CAAW,KAAKT,cAAhB,CAAgC,CACnDU,aAAa,CAAE,IADoC,CAEnDC,aAAa,CAAE,CAFoC,CAGnDC,QAAQ,CAAE,CACTC,KAAK,CAAE,IADE,CAHyC,CAMnDC,UAAU,CAAE,CACXf,EAAE,CAAE,+BADO,CAEXgB,IAAI,CAAE,UAFK,CANuC,CAUnDC,UAAU,CAAE,CACXC,MAAM,CAAE,mBADG,CAEXC,MAAM,CAAE,mBAFG,CAVuC,CAAhC,CAepB,CAEDZ,qBAAqB,EAAG,CACvB,KAAKF,YAAL,CAAoB,GAAIK,CAAAA,MAAJ,CAAW,KAAKP,cAAhB,CAAgC,CACnDQ,aAAa,CAAE,IADoC,CAEnDC,aAAa,CAAE,CAFoC,CAGnDQ,MAAM,CAAE,MAH2C,CAInDC,UAAU,CAAE,CACXC,SAAS,CAAE,IADA,CAJuC,CAAhC,CAQpB,CAzCkC","sourcesContent":["class VideoSlider extends Component {\n\tconstructor(el) {\n\t\tsuper(el);\n\t\tthis.swiperVideosEl = this.$find('[data-slider-videos]');\n\t\tthis.swiperTitlesEl = this.$find('[data-slider-titles]');\n\t\tthis.swiperVideos = null;\n\t\tthis.swiperTitles = null;\n\t\tthis.swiperVideosEl && this.constructSwiperVideos();\n\t\tthis.swiperTitlesEl && this.constructSwiperTitles();\n\n\t\tthis.swiperTitles.controller.control = this.swiperVideos;\n\t\tthis.swiperVideos.controller.control = this.swiperTitles;\n\t}\n\n\tconstructSwiperVideos() {\n\t\tthis.swiperVideos = new Swiper(this.swiperVideosEl, {\n\t\t\twatchOverflow: true,\n\t\t\tslidesPerView: 1,\n\t\t\tautoplay: {\n\t\t\t\tdelay: 4000,\n\t\t\t},\n\t\t\tpagination: {\n\t\t\t\tel: '[data-VideoSlider-pagination]',\n\t\t\t\ttype: 'fraction'\n\t\t\t},\n\t\t\tnavigation: {\n\t\t\t\tnextEl: '.VideoSlider-next',\n\t\t\t\tprevEl: '.VideoSlider-prev',\n\t\t\t},\n\t\t});\n\t}\n\n\tconstructSwiperTitles() {\n\t\tthis.swiperTitles = new Swiper(this.swiperTitlesEl, {\n\t\t\twatchOverflow: true,\n\t\t\tslidesPerView: 1,\n\t\t\teffect: 'fade',\n\t\t\tfadeEffect: {\n\t\t\t\tcrossFade: true\n\t\t\t}\n\t\t});\n\t}\n}\n"],"file":"video-slider.min.js"}