1import{b5 as l}from"./vendor-77a14847.js";import{n as r}from"./app-3eadc2dd.js";var n=function(){var e=this,i=e._self._c;return i("slick",{ref:"slick",class:[e.cssClass,e.noSlides?"no-slider":""],attrs:{options:e.options},on:{afterChange:e.handleAfterChange,beforeChange:e.handleBeforeChange},nativeOn:{mousedown:function(t){return e.mouseDown.apply(null,arguments)},mouseup:function(t){return e.mouseUp.apply(null,arguments)},"!click":function(t){return e.onClick.apply(null,arguments)}}},[e._t("default")],2)},o=[];const a={name:"SlickSlider",components:{Slick:l},props:{cssClass:{type:String,default:"partner-slider"},length:{type:Number,default:1}},data:()=>({options:{lazyLoad:"ondemand",infinite:!0,speed:300,slidesToShow:5,slidesToScroll:2,dots:!1,arrows:!0,prevArrow:'<div class="slick-prev"><i class="icon-arrow-left"></i></div>',nextArrow:'<div class="slick-next"><i class="icon-arrow-right"></i></div>',responsive:[{breakpoint:1110,settings:{slidesToShow:4}},{breakpoint:840,settings:{slidesToShow:2}},{breakpoint:640,settings:{slidesToShow:1,slidesToScroll:1,swipeToSlide:!0}}]}}),computed:{noSlides(){return this.length<=this.options.slidesToShow}},methods:{mouseDown(s){s.target.getAttribute("class")!=="icon-arrow-left"&&s.target.getAttribute("class")!=="icon-arrow-right"&&(this.$el.querySelector(".slick-prev")&&(this.$el.querySelector(".slick-prev").style.display="none"),this.$el.querySelector(".slick-next")&&(this.$el.querySelector(".slick-next").style.display="none"))},mouseUp(s){this.$el.querySelector(".slick-prev")&&(this.$el.querySelector(".slick-prev").style.display="block"),this.$el.querySelector(".slick-next")&&(this.$el.querySelector(".slick-next").style.display="block")},onClick(s){this.isSliding&&s.preventDefault()},next(){this.$refs.slick.next()},prev(){this.$refs.slick.prev()},reInit(){this.$refs.slick.destroy(),this.$nextTick(()=>{this.$refs.slick.create()})},handleBeforeChange(){this.isSliding=!0},handleAfterChange(){this.isSliding=!1}}};var c=r(a,n,o,!1,null,null,null,null);const p=c.exports;export{p as default};
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.