<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.92476.net"  class="hidden">A-surname-feedback@92476.net</a>
<a href="http://www.orkexpo.net"  class="hidden">皇冠体育</a>
<a href="http://www.braelyngenerator.net"  class="hidden">Sun-City-entertainment-City-service@braelyngenerator.net</a>
<a href="http://www.m-y-c.net"  class="hidden">Bet-on-Euro-2024-support@m-y-c.net</a>
<a href="http://www.sqwyhws.com"  class="hidden">ag-Asia-Travel-Group-admin@sqwyhws.com</a>
<a href="http://scottleslietaylor.com" class="hidden">上海艺星整形美容医院</a>
<a href="http://web-sitemap.jiancai0312.com" class="hidden">中国法律援助基金会</a>
<a href="http://www.waki-aiai.net"  class="hidden">Sun-City-contactus@waki-aiai.net</a>
<a href="http://xvtejg.617885.com" class="hidden">徐州公交网</a>
<a href="http://www.yopin365.com"  class="hidden">皇冠体育投注</a>
<a href="http://www.yopin365.com"  class="hidden">皇冠体育官网</a>
<a href="http://zunsmj.a5278.com" class="hidden">3158财富广州</a>
<a href="http://ctuzyi.greatcart.net" class="hidden">瑞格股份</a>
<a href="http://www.xinglongmaofang.com"  class="hidden">博彩平台</a>
<a href="http://www.cesametal.net"  class="hidden">亚洲博彩平台排名</a>
<a href="http://www.record-room.com"  class="hidden">足球外围平台</a>
<a href="http://www.smart-launch.net"  class="hidden">买球平台</a>
<a href="http://importsdogringo.net" class="hidden">手机迅雷</a>
<a href="http://hiigko.shandongshunji.com" class="hidden">丽水网新闻中心</a>
<a href="http://www.media2v-api.net"  class="hidden">365体育</a>

<a href="https://acrmc.com/search/ku娱乐真人官方app-维基百科✔️官方网址:la777.net✔️.aig" class="hidden">天贸钢铁网</a>
<a href="https://stock.adobe.com/search?k=lpl外围在哪买平台介绍✔️最新网址:ad22.net✔️lpl外围在哪买平台介绍✔️最新网址:ad22.net✔️" class="hidden">李维斯(Levi&#x27;s)牛仔裤爱好者论坛</a>
<a href="https://www.deep6gear.com/catalogsearch/result/?q=现金365官网-维基百科✔️最新网址:la55.net✔️.hxh" class="hidden">游美网</a>
<a href="https://stock.adobe.com/search/images?k=>>✔️网址:ad11.net✔️手输<<dafabet唯一官方网址.qqz" class="hidden">爱拍原创CSOL反恐精英OL官网合作站</a>
<a href="https://m.facebook.com/public/太阳成集团官网-维基百科✔️最新网址:la55.net✔️.ckt" class="hidden">SNS游戏交友网小游戏专题</a>
<a href="https://stock.adobe.com/search?k=✔️网址:ad11.net✔️足球外围最靠谱的网站(中国)有限公司✔️网址:ad11.net✔️足球外围最靠谱的网站(中国)有限公司" class="hidden">播种网</a>
<a href="https://stock.adobe.com/search?k=科普一下bg视讯官网app下载的百科✔️最新网址:la55.net✔️科普一下bg视讯官网app下载的百科✔️最新网址:la55.net✔️" class="hidden">石岛信息港</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=✔️网址:la66.net✔️可靠澳门线上赌场-可靠澳门线上赌场官方网站.wsf" class="hidden">龙泉宝剑网</a>
<a href="https://tw.dictionary.yahoo.com/dictionary?p=bwin电子游戏(关于bwin电子游戏的简介)✔️网址:la66.net✔️.ltf" class="hidden">西安聚合网</a>
<a href="https://stock.adobe.com/search/images?k=科普一下bt365体育的百科✔️网址:la666.net✔️科普一下bt365体育的百科✔️网址:la666.net✔️" class="hidden">亿起发</a>

<a href="/html/ttqyrv-142022" class="hidden">乔合里</a>
<a href="/sttcs/hot-news/duello.html" class="hidden">爱的影集</a>
<a href="/CN/idbylu-551912" class="hidden">巴士图库</a>
<a href="/html/pvrjkn-186334" class="hidden">广州康辉国际旅行社有限公司</a>
<a href="/sitemap.xml" class="hidden">站点地图</a>


</body></html>