<html><head></head><body>{"version":3,"file":"relatedResourcesSlider-D7bdghsm.js","sources":["../../src/scripts/modules/relatedResourcesSlider.ts"],"sourcesContent":["import { Component } from '@verndale/core';\nimport Swiper from 'swiper';\nimport { Navigation, Keyboard, Pagination, Controller } from 'swiper/modules';\nimport 'swiper/css/bundle';\n\nclass relatedResourcesSlider extends Component {\n public relatedResources: {\n destroy?: () => void | undefined;\n updateSize?: () => void | undefined;\n };\n\n constructor(el: HTMLElement) {\n super(el);\n this.relatedResources = {};\n }\n\n setupDefaults() {\n this.dom = {\n swiperContainer: this.el.querySelector<htmlelement>('.swiper'),\n swiperWrapper: this.el.querySelector<htmlelement>('.swiper-wrapper'),\n swiperItems: this.el.querySelectorAll<htmlelement>('.swiper-slide'),\n pagination: this.el.querySelector<htmlelement>(\n '.related-resources-slider__slider-pagination'\n ),\n prevButton: this.el.querySelector<htmlelement>('.btn-previous-slide'),\n nextButton: this.el.querySelector<htmlelement>('.btn-next-slide')\n };\n\n this.initSwiper();\n }\n\n addListeners() {\n window.addEventListener('resize', () => {\n this.initSwiper();\n });\n }\n\n initSwiper() {\n Swiper.use([Navigation, Keyboard, Pagination, Controller]);\n\n if (\n this.relatedResources &&\n this.relatedResources.destroy &&\n typeof this.relatedResources.destroy === 'function'\n )\n this.relatedResources.destroy();\n\n this.relatedResources = new Swiper(this.dom.swiperContainer as HTMLElement, {\n pagination: {\n el: this.dom.pagination as HTMLElement,\n type: 'progressbar'\n },\n navigation: {\n nextEl: this.dom.nextButton as HTMLElement,\n prevEl: this.dom.prevButton as HTMLElement\n },\n slidesPerView: 1.22,\n spaceBetween: 24,\n autoHeight: true,\n breakpoints: {\n 1024: {\n slidesPerView: 3,\n spaceBetween: 40\n }\n },\n loop: true,\n keyboard: {\n enabled: true,\n onlyInViewport: true\n }\n });\n }\n}\n\nexport default relatedResourcesSlider;\n"],"names":["relatedResourcesSlider","Component","el","__publicField","Swiper","Navigation","Keyboard","Pagination","Controller"],"mappings":"yWAKA,MAAMA,UAA+BC,CAAU,CAM7C,YAAYC,EAAiB,CAC3B,MAAMA,CAAE,EANHC,EAAA,yBAOL,KAAK,iBAAmB,CAAC,CAAA,CAG3B,eAAgB,CACd,KAAK,IAAM,CACT,gBAAiB,KAAK,GAAG,cAA2B,SAAS,EAC7D,cAAe,KAAK,GAAG,cAA2B,iBAAiB,EACnE,YAAa,KAAK,GAAG,iBAA8B,eAAe,EAClE,WAAY,KAAK,GAAG,cAClB,8CACF,EACA,WAAY,KAAK,GAAG,cAA2B,qBAAqB,EACpE,WAAY,KAAK,GAAG,cAA2B,iBAAiB,CAClE,EAEA,KAAK,WAAW,CAAA,CAGlB,cAAe,CACN,OAAA,iBAAiB,SAAU,IAAM,CACtC,KAAK,WAAW,CAAA,CACjB,CAAA,CAGH,YAAa,CACXC,EAAO,IAAI,CAACC,EAAYC,EAAUC,EAAYC,CAAU,CAAC,EAGvD,KAAK,kBACL,KAAK,iBAAiB,SACtB,OAAO,KAAK,iBAAiB,SAAY,YAEzC,KAAK,iBAAiB,QAAQ,EAEhC,KAAK,iBAAmB,IAAIJ,EAAO,KAAK,IAAI,gBAAgC,CAC1E,WAAY,CACV,GAAI,KAAK,IAAI,WACb,KAAM,aACR,EACA,WAAY,CACV,OAAQ,KAAK,IAAI,WACjB,OAAQ,KAAK,IAAI,UACnB,EACA,cAAe,KACf,aAAc,GACd,WAAY,GACZ,YAAa,CACX,KAAM,CACJ,cAAe,EACf,aAAc,EAAA,CAElB,EACA,KAAM,GACN,SAAU,CACR,QAAS,GACT,eAAgB,EAAA,CAClB,CACD,CAAA,CAEL"}</htmlelement></htmlelement></htmlelement></htmlelement></htmlelement></htmlelement><style> .hidden { display: none; } </style> <a href="http://www.tdwang.net" class="hidden">Sports-betting-service@tdwang.net</a> <a href="http://vuhtqp.m-tcc.com" class="hidden">博洛尼家居商城</a> <a href="http://www.25674.net" class="hidden">Galaxy-Macau-billing@25674.net</a> <a href="http://web-sitemap.altqiye.com" class="hidden">拍明芯城电子元器件网</a> <a href="http://www.baoqiuyue.net" class="hidden">The-Venetian-Casino-help@baoqiuyue.net</a> <a href="http://www.jayconscious.com" class="hidden">皇冠体育博彩</a> <a href="http://www.yifucn.com" class="hidden">太阳城体育</a> <a href="http://gqgdbt.kayuemas88.net" class="hidden">育儿论坛</a> <a href="http://www.waki-aiai.net" class="hidden">Macau-Sun-City-official-website-media@waki-aiai.net</a> <a href="http://www.turuntilataksit.net" class="hidden">太阳城集团</a> <a href="http://www.letaoyizs.com" class="hidden">Sports-betting-service@letaoyizs.com</a> <a href="http://www.letaoyizs.com" class="hidden">Crown-Sports-customerservice@letaoyizs.com</a> <a href="http://www.seezl.com" class="hidden">皇冠博彩官网</a> <a href="http://clmdme.a6358.com" class="hidden">中国新闻出版广电网</a> <a href="http://www.rdsy.net" class="hidden">皇冠体育</a> <a href="http://www.rf518.com" class="hidden">Asian-sports-betting-platform-sales@rf518.com</a> <a href="http://www.yopin365.com" class="hidden">皇冠体育官网</a> <a href="http://www.braelyngenerator.net" class="hidden">Sun-City-Entertainment-hr@braelyngenerator.net</a> <a href="http://www.noujcf.com" class="hidden">博彩app</a> <a href="http://ojmnvm.minyu1218.com" class="hidden">衡阳师范学院教务处</a> <a href="https://tw.dictionary.yahoo.com/dictionary?p=dt电子游戏官网app最新版-维基百科✔️网址:la666.net✔️dt电子游戏官网app最新版-维基百科✔️网址:la666.net✔️" class="hidden">永葆环保</a> <a href="https://m.facebook.com/public/龙8国际long8805-维基百科✔️最新网址:ad22.net✔️.bxn" class="hidden">搜狐历史</a> <a href="https://stock.adobe.com/search/images?k=✔️网址:la66.net✔️188bet中文平台介绍.vpa" class="hidden">镇远网</a> <a href="https://m.facebook.com/public/推荐在线赌博亚洲体育赌博软件(关于推荐在线赌博亚洲体育赌博软件的简介)✔️网址:ad11.net✔️.ecl" class="hidden">诺亚舟教育网</a> <a href="https://es-la.facebook.com/public/bet8网站备用(关于bet8网站备用的简介)✔️官方网址:la777.net✔️.ype" class="hidden">广州证券</a> <a href="https://stock.adobe.com/search/images?k=✔️官方网址:la777.net✔️科普一下外围足球app的百科" class="hidden">宝马摩托车官方网</a> <a href="https://stock.adobe.com/search/images?k=亚洲bet365平台介绍✔️网址:la66.net✔️" class="hidden">山东宣讲网</a> <a href="https://www.deep6gear.com/catalogsearch/result/?q=华体会体育app平台介绍✔️网址:ad11.net✔️华体会体育app平台介绍✔️网址:ad11.net✔️.hkm" class="hidden">Hao123影视</a> <a href="https://m.facebook.com/public/科普一下正规电竞比赛竞猜押注软件下载的百科✔️最新网址:la55.net✔️" class="hidden">朔州新闻网</a> <a href="https://es-la.facebook.com/public/✔️网址:la666.net✔️bet8网站备用(中国)有限公司✔️网址:la666.net✔️bet8网站备用(中国)有限公司.mgt" class="hidden">星空论坛</a> <a href="/sttcs/hot-news/unhissed.html" class="hidden">数学中国</a> <a href="/sttcs/hot-news/swiney.html" class="hidden">天气风云录</a> <a href="/sttcs/hot-news/protectiveness.html" class="hidden">中国古典书籍</a> <a href="/news/eufgbl-519976.html" class="hidden">元素商城官网</a> <a href="/cn/bkqkbl-521634" class="hidden">依米康</a> </body></html>