1"use strict";(self.webpackChunkredbarrelsgames=self.webpackChunkredbarrelsgames||[]).push([["src_js_modules_pb-row-featured-posts_index_js"],{
1"./src/js/modules/pb-row-featured-posts/index.js":(e,s,t)=>{t.r(s),t.d(s,{default:()=>u});var n=t("./node_modules/swiper/swiper.mjs"),i=t("./node_modules/swiper/modules/index.mjs"),r=t("./src/js/utils/dom.js");function o(e,s){for(var t=0;t<s.length;t++){var n=s[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,s,t){return s in e?Object.defineProperty(e,s,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[s]=t,e}var a={modules:[i.W_],centeredSlides:!1,freeMode:!1,slidesPerView:1,spaceBetween:12,slidesOffsetBefore:0,slidesOffsetAfter:0,watchSlidesProgress:!0,navigation:{prevEl:".pb-row-featured-posts__prev",nextEl:".pb-row-featured-posts__next"},breakpoints:{768:{slidesPerView:2,spaceBetween:16},1200:{slidesPerView:2,spaceBetween:30}}};const u=function(){function e(s,t){!function(e,s){if(!(e instanceof s))throw new TypeError("Cannot call a class as a function")}(this,e),this.el=s,this.emitter=t,this.slider=(0,r.$)(".pb-row-featured-posts__postsSlider",this.el),this.nav=(0,r.$)(".pb-row-featured-posts__postsNav",this.el),this.swiper=null,this._onSwiperChange=this._onSwiperChange.bind(this)}var s,t,i;return s=e,t=[{key:"init",value:function(){this.slider&&(this.swiper=new n.Z(this.slider,function(e){for(var s=1;s<arguments.length;s++){var t=null!=arguments[s]?arguments[s]:{},n=Object.keys(t);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(t).filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})))),n.forEach((function(s){l(e,s,t[s])}))}return e}({},a,{on:{init:this._onSwiperChange,slidesUpdated:this._onSwiperChange}}))),this._bindEvents()}},{key:"destroy",value:function(){this._unbindEvents(),this.swiper&&this.swiper.destroy(!0,!1),this.el=null,this.emitter=null,this.slider=null,this.swiper=null,this._onSwiperChange=null}},{key:"_bindEvents",value:function(){}},{key:"_unbindEvents",value:function(){}},{key:"_onSwiperChange",value:function(e){var s=e.isBeginning,t=e.isEnd;this.nav&&this.nav.setAttribute("aria-hidden",!(!s||!t))}}],t&&o(s.prototype,t),i&&o(s,i),e}()}
1}]); 2//# sourceMappingURL=src_js_modules_pb-row-featured-posts_index_js.0bcb5e1be0200f02d222.bundle.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.