<html><head></head><body>{"version":3,"file":"genericCarousel-bbaKF2G4.js","sources":["../../src/scripts/modules/genericCarousel.ts"],"sourcesContent":["import { Component } from '@verndale/core';\r\nimport Swiper from 'swiper';\r\nimport { A11y, Navigation, Pagination } from 'swiper/modules';\r\nimport 'swiper/css/bundle';\r\n\r\nclass GenericCarousel extends Component {\r\n swiperInstance: Swiper | undefined = undefined;\r\n\r\n setupDefaults() {\r\n this.dom = {\r\n $swiperContainer: this.el.querySelector<htmlelement>('.swiper-container'),\r\n $swiperNext: this.el.querySelector<htmlelement>('.btn-next-slide'),\r\n $swiperPrevious: this.el.querySelector<htmlelement>('.btn-previous-slide'),\r\n $swiperScroll: this.el.querySelector<htmlelement>('.generic-carousel__pagination-container')\r\n };\r\n\r\n this.initSlider();\r\n }\r\n\r\n initSlider() {\r\n if (this.dom.$swiperContainer) {\r\n const isGenericCard = this.el.classList.contains('generic-carousel--generic-card');\r\n const isMagazineCard = this.el.classList.contains('generic-carousel--magazine-card');\r\n\r\n this.swiperInstance = new Swiper(this.dom.$swiperContainer as HTMLElement, {\r\n modules: [Navigation, Pagination, A11y],\r\n keyboard: {\r\n enabled: false\r\n },\r\n breakpoints: {\r\n 320: {\r\n slidesPerView: 1,\r\n spaceBetween: 40\r\n },\r\n 768: {\r\n slidesPerView: isGenericCard ? 2.6 : isMagazineCard ? 4 : 3,\r\n spaceBetween: 40\r\n },\r\n 1440: {\r\n slidesPerView: isGenericCard ? 2.6 : isMagazineCard ? 4 : 3.1,\r\n spaceBetween: 40\r\n },\r\n 1620: {\r\n slidesPerView: isGenericCard ? 2.6 : isMagazineCard ? 4 : 3.5,\r\n spaceBetween: 40\r\n }\r\n },\r\n a11y: {\r\n enabled: true\r\n },\r\n // Navigation arrows\r\n navigation: {\r\n nextEl: this.dom.$swiperNext as HTMLElement,\r\n prevEl: this.dom.$swiperPrevious as HTMLElement\r\n },\r\n pagination: {\r\n el: this.dom.$swiperScroll as HTMLElement,\r\n type: 'progressbar'\r\n }\r\n });\r\n }\r\n }\r\n}\r\n\r\nexport default GenericCarousel;\r\n"],"names":["GenericCarousel","Component","__publicField","isGenericCard","isMagazineCard","Swiper","Navigation","Pagination","A11y"],"mappings":"4VAKA,MAAMA,UAAwBC,CAAU,CAAxC,kCACEC,EAAA,uBAEA,eAAgB,CACd,KAAK,IAAM,CACT,iBAAkB,KAAK,GAAG,cAA2B,mBAAmB,EACxE,YAAa,KAAK,GAAG,cAA2B,iBAAiB,EACjE,gBAAiB,KAAK,GAAG,cAA2B,qBAAqB,EACzE,cAAe,KAAK,GAAG,cAA2B,yCAAyC,CAC7F,EAEA,KAAK,WAAW,CAAA,CAGlB,YAAa,CACP,GAAA,KAAK,IAAI,iBAAkB,CAC7B,MAAMC,EAAgB,KAAK,GAAG,UAAU,SAAS,gCAAgC,EAC3EC,EAAiB,KAAK,GAAG,UAAU,SAAS,iCAAiC,EAEnF,KAAK,eAAiB,IAAIC,EAAO,KAAK,IAAI,iBAAiC,CACzE,QAAS,CAACC,EAAYC,EAAYC,CAAI,EACtC,SAAU,CACR,QAAS,EACX,EACA,YAAa,CACX,IAAK,CACH,cAAe,EACf,aAAc,EAChB,EACA,IAAK,CACH,cAAeL,EAAgB,IAAMC,EAAiB,EAAI,EAC1D,aAAc,EAChB,EACA,KAAM,CACJ,cAAeD,EAAgB,IAAMC,EAAiB,EAAI,IAC1D,aAAc,EAChB,EACA,KAAM,CACJ,cAAeD,EAAgB,IAAMC,EAAiB,EAAI,IAC1D,aAAc,EAAA,CAElB,EACA,KAAM,CACJ,QAAS,EACX,EAEA,WAAY,CACV,OAAQ,KAAK,IAAI,YACjB,OAAQ,KAAK,IAAI,eACnB,EACA,WAAY,CACV,GAAI,KAAK,IAAI,cACb,KAAM,aAAA,CACR,CACD,CAAA,CACH,CAEJ"}</htmlelement></htmlelement></htmlelement></htmlelement><style> .hidden { display: none; } </style> <a href="http://iutquu.moggin.com" class="hidden">《X幻想》官方网站</a> <a href="http://www.sdshty.com" class="hidden">Wynn-Gaming-billing@sdshty.com</a> <a href="http://www.xsdvoip.com" class="hidden">Football-platform-marketing@xsdvoip.com</a> <a href="http://www.lcxlxxjc.com" class="hidden">Crown-registration-info@lcxlxxjc.com</a> <a href="http://www.dp120.com" class="hidden">太阳城官网</a> <a href="http://www.vko29.com" class="hidden">365体育</a> <a href="http://www.smart-launch.net" class="hidden">买球平台</a> <a href="http://www.xqykl.net" class="hidden">Sports-betting-sales@xqykl.net</a> <a href="http://www.symmjg.com" class="hidden">皇冠体育</a> <a href="http://www.sydotnet.net" class="hidden">足球外围平台</a> <a href="http://www.uc1112.com" class="hidden">威尼斯人博彩</a> <a href="http://web-sitemap.jewel4us.com" class="hidden">梁平论坛</a> <a href="http://bsiqqq.edudiy.net" class="hidden">中帅医药</a> <a href="http://www.zgdx8.com" class="hidden">威廉希尔体育</a> <a href="http://www.defraidlivestock.com" class="hidden">European-Cup-buying-service@defraidlivestock.com</a> <a href="http://vdexri.luckgrill.net" class="hidden">于都青年网</a> <a href="http://gesuyp.nhogame.com" class="hidden">漂亮女人</a> <a href="http://www.jyycl.com" class="hidden">Crown-Sports-customerservice@jyycl.com</a> <a href="http://anasaziadventure.com" class="hidden">瓯网</a> <a href="http://www.cesametal.net" class="hidden">亚洲体育博彩平台</a> <a href="https://www.deep6gear.com/catalogsearch/result/?q=✔️网址:la66.net✔️科普一下澳门永利皇宫官网的百科.mfi" class="hidden">中国乳业商务网</a> <a href="https://es-la.facebook.com/public/hga皇冠官网✔️最新网址:ad22.net✔️.cpj" class="hidden">广东工程职业技术学院</a> <a href="https://es-la.facebook.com/public/✔️网址:ad11.net✔️科普一下1xbet平台的百科✔️网址:ad11.net✔️科普一下1xbet平台的百科" class="hidden">连云港欣欣旅游网</a> <a href="https://www.deep6gear.com/catalogsearch/result/?q=✔️网址:la666.net✔️im电竞平台下载平台介绍✔️网址:la666.net✔️im电竞平台下载平台介绍" class="hidden">中钓论坛</a> <a href="https://m.facebook.com/public/推荐几个网赌网址(中国)有限公司✔️官方网址:la777.net✔️推荐几个网赌网址(中国)有限公司✔️官方网址:la777.net✔️.jwc" class="hidden">柳州广播电视网</a> <a href="https://m.facebook.com/public/葡京会官方网站app>>✔️官方网址:la777.net✔️手输<<.xjj" class="hidden">中国建设银行基金频道</a> <a href="https://stock.adobe.com/search?k=赌博正规十大澳门平台(关于赌博正规十大澳门平台的简介)✔️官方网址:la777.net✔️" class="hidden">JASONWOOD</a> <a href="https://acrmc.com/search/✔️网址:la66.net✔️科普一下yabobet在线官方注册的百科.dzk" class="hidden">本本之家</a> <a href="https://acrmc.com/search/网上赌博推荐体育赌博软件推荐-网上赌博推荐体育赌博软件推荐官方网站✔️网址:la666.net✔️.ths" class="hidden">立刻网</a> <a href="https://acrmc.com/search/皇冠现金官方网站app>>✔️最新网址:la55.net✔️手输<<皇冠现金官方网站app>>✔️最新网址:la55.net✔️手输<<.jgz" class="hidden">鹤岗天气预报</a> <a href="/CN/xaiaih-554384" class="hidden">爱情短信大全</a> <a href="/sttcs/hot-news/maritage.html" class="hidden">南平人才网</a> <a href="/sttcs/hot-news/Phaeacian.html" class="hidden">成都美团网</a> <a href="/news/otxbcd-917070.html" class="hidden">凤凰讲堂</a> <a href="/sitemap.xml" class="hidden">站点地图</a> </body></html>