<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://www.xsdvoip.com"  class="hidden">Football-platform-contact@xsdvoip.com</a>
<a href="http://www.tdwang.net"  class="hidden">Crown-cash-hr@tdwang.net</a>
<a href="http://fjbwui.microupgrade.net" class="hidden">苏州信息职业技术学院</a>
<a href="http://www.nbzhiai.com"  class="hidden">皇冠体育投注</a>
<a href="http://www.yutb.net"  class="hidden">澳门新葡京博彩</a>
<a href="http://qoxfft.kayuemas88.net" class="hidden">动信通</a>
<a href="http://iquorw.itaoker.net" class="hidden">淮安楼盘网</a>
<a href="http://www.cesametal.net"  class="hidden">Gaming-platform-hr@cesametal.net</a>
<a href="http://www.babyfeedingshop.com"  class="hidden">2024欧洲杯买球入口</a>
<a href="http://groupbuysetoools.net" class="hidden">巧虎乐儿童</a>
<a href="http://bhrswf.earthentic.net" class="hidden">丹秋名师堂学校官网</a>
<a href="http://web-sitemap.tassahil.net" class="hidden">择居网</a>
<a href="http://www.muurausahvenlampi.com"  class="hidden">皇冠体育</a>
<a href="http://gvcedi.xingyoupg.com" class="hidden">绿岸在线</a>
<a href="http://www.khobuon.net"  class="hidden">太阳城集团</a>
<a href="http://www.mygril-yaoyao.com"  class="hidden">Crown-betting-help@mygril-yaoyao.com</a>
<a href="http://www.xinglongmaofang.com"  class="hidden">博彩平台</a>
<a href="http://www.getnormalevents.com"  class="hidden">Wynn-Sports-media@getnormalevents.com</a>
<a href="http://www.iconfuture.net"  class="hidden">Sun-City-app-download-service@iconfuture.net</a>
<a href="http://xhctpo.ciecc-oc.com" class="hidden">西宁中公教育</a>

<a href="https://stock.adobe.com/search?k=✔️网址:la666.net✔️科普一下og真人官方网站的百科" class="hidden">中国基础教育网</a>
<a href="https://stock.adobe.com/search/images?k=科普一下贝博体彩app下载游戏官网的百科✔️官方网址:la777.net✔️.qdo" class="hidden">冠通网络棋牌世界</a>
<a href="https://www.deep6gear.com/catalogsearch/result/?q=澳门十二生肖买马资料网站(关于澳门十二生肖买马资料网站的简介)✔️网址:la66.net✔️.qrc" class="hidden">71铺黄页网</a>
<a href="https://stock.adobe.com/search/images?k=网上那个赌博软件靠谱平台介绍✔️网址:la66.net✔️网上那个赌博软件靠谱平台介绍✔️网址:la66.net✔️" class="hidden">日照欣欣旅游网</a>
<a href="https://stock.adobe.com/search?k=✔️网址:ad11.net✔️安卓+ios客户端" class="hidden">延边百姓信息网</a>
<a href="https://stock.adobe.com/search?k=✔️最新网址:ad22.net✔️九五至尊娱乐场" class="hidden">中国唐山</a>
<a href="https://stock.adobe.com/search/images?k=✔️网址:ad11.net✔️澳门美狮美高梅-维基百科.dbq" class="hidden">起点读书客户端官方网站</a>
<a href="https://www.deep6gear.com/catalogsearch/result/?q=✔️官方网址:la777.net✔️威廉希尔williamhill✔️官方网址:la777.net✔️威廉希尔williamhill" class="hidden">迁安二手吧网</a>
<a href="https://es-la.facebook.com/public/所有彩票app下载-维基百科✔️最新网址:ad22.net✔️" class="hidden">恒顺众昇</a>
<a href="https://www.deep6gear.com/catalogsearch/result/?q=hg66998皇冠(中国)有限公司✔️官方网址:la777.net✔️.kbz" class="hidden">沈阳地铁集团有限公司</a>

<a href="/news/prrzga-934782" class="hidden">车行易</a>
<a href="/html/ernivh-569531" class="hidden">17173天谕专区</a>
<a href="/sitemap.xml" class="hidden">站点地图</a>
<a href="/news/icvzwx-389206.html" class="hidden">长安人</a>


</body></html>