1import T from"./CuWWfrxn.js";import k from"./BaeVMJ_o.js";import x from"./mkiKOAWx.js";import R from"./TBUDa0X4.js";import{s as L}from"./vpq_fbaC.js";import{_ as W,c as m,a as h,j as f,w,r as D,e as c,l as y,n as g,v as A,y as _,z as E,m as v,F as O,o as a,d as B,t as C}from"./C_dDoqqV.js";import"./BLuxgZ3F.js";import"./BliPTYdl.js";import"./BvhTJWHH.js";import"./BxphhFsg.js";import"./DoP2-cPk.js";import"./NUoIgR6R.js";import"./Dsxsh6sg.js";import"./BKYcg_5K.js";import"./C4ZLsWZ4.js";import"./t8jJa2Cm.js";import"./BJ8DeCX5.js";import"./BVIQdDd4.js";import"./CCduaAoa.js";import"./C-9dbQSY.js";import"./C4fTG6EF.js";import"./CIfc6IQW.js";import"./BSy4JHtP.js";import"./DKeVZpFc.js";import"./DY4SgOtO.js";import"./BA3S9Qb4.js";import"./CkEu89z3.js";import"./B3iim-KL.js";import"./BXUykJ2C.js";import"./Chyz3EDp.js";import"./2h_uk5DF.js";import"./8JGrCZUO.js";import"./Bw2cPcki.js";import"./BDmGCnhJ.js";import"./BuQBOjcE.js";import"./s3_Otaqs.js";import"./B-yGqZyG.js";import"./LfmN3RZR.js";import"./CY0PcdZl.js";import"./ZwuLzPRm.js";import"./BjYxkQw3.js";import"./Dj2vd1FS.js";import"./Cz7YsKok.js";import"./B0hBdtTj.js";import"./CqXCemgF.js";import"./DLPSkQwF.js";import"./BEsDnUJP.js";import"./BXbTEqmD.js";import"./JB-VHAAP.js";import"./C1G0POQs.js";import"./Bc1rArTd.js";import"./alWqIy3s.js";import"./Crr0GwaG.js";import"./XKaySTwn.js";import"./CtcVRfPe.js";import"./BmVA1Fhd.js";import"./B5UfoBF-.js";import"./C9R0TS7U.js";import"./BXGXhy4c.js";import"./BFCiwhB7.js";import"./aOjMXEfI.js";import"./BoBHCbwg.js";import"./GmToSYe4.js";import"./qd73kTeZ.js";import"./Bqsy2Yht.js";import"./B8KuNCeR.js";import"./CEvt6g13.js";import"./C7KChRbo.js";import"./CsxoMG-j.js";import"./cCsmyXn7.js";import"./pvNInfal.js";import"./DNtRt3-K.js";import"./CTtN8_V5.js";import"./C-UI_2aN.js";import"./DL61D00e.js";const z=["hidden-mobile","hidden-mobile-tablet","always","never","force-before-loaded"],j=["default","inside","top-right","inside-padding","middle-outside"],N=["xl","lg","md","sm"],X=["inside-bottom-center","bottom","inside-bottom-right","inside-bottom-center-on-dark","transparent-center","transparent-inside-bottom-center"],M=["all-views","mobile-and-tablet","mobile-only","inside-bottom-center-on-dark"],G={name:"BicCustomSlider",components:{SliderPagination:R,Control:k,AppLink:T},props:{removePaddingForUnactiveControll:{type:Boolean,default:!1},title:{type:String,default:""},titleTag:{type:String,default:"h2"},sliderId:{type:String,default:""},customName:{type:String,default:"custom-slider"},showControlButtons:{type:String,validator:e=>z.includes(e),default:"hidden-mobile"},buttonsPosition:{type:String,validator:e=>j.includes(e),default:"default"},buttonsSize:{type:String,validator:e=>N.includes(e),default:"md"},adjustWidth:{type:Boolean,default:!1},centeredSlides:{type:Boolean,default:!1},itemsPerPageMobile:{type:Number,default:3},itemsPerPageTablet:{type:Number,default:5},itemsPerPageDesktop:{type:Number,default:6},itemWidthMobile:{type:Number,default:152},loadingItems:{type:Boolean,default:!1},tabletWidth:{type:Number,default:768},desktopWidth:{type:Number,default:1200},loading:{type:Boolean,default:!1},showPagination:{type:Boolean,default:!1},showPaginationOnDesktop:{type:Boolean,default:!1},sliderItemsClasses:{type:[String,Object],default:"gap-md items-stretch"},heightFull:{type:Boolean,default:!1},paddingControlButtons:{type:String,default:"default"},paginationVariant:{type:String,validator:e=>X.includes(e),default:"inside-bottom-center"},initialSlide:{type:Number,default:0},controlsTop:{type:String,default:"calc(50% - 20px)"},delayGoToSlide:{type:Boolean,default:!1},infiniteScroll:{type:Boolean,default:!1},controlBtnsWithPaddingMobile:{type:Boolean,default:!1},paginationPerPage:{type:Boolean,default:!0},shadow:{type:Boolean,deafult:!1},shadowType:{type:String,validator:e=>M.includes(e),default:"all-views"},showSeeAllGamesLink:{type:Boolean,default:!1},seeAllGamesLink:{type:Object,default:()=>({})}},data(){return{dragging:!1,clickTime:null,mouseX:null,mouseY:null,sliderName:`slider-${Math.random().toString(36).substring(2,8)}`,slides:[],currentScrollPosition:0,sliderStartPosition:0,sliderEndPosition:0,firstItemStartPosition:0,lastItemEndPosition:0,sliderWidth:0,sliderScrollWidth:0,activeLeft:!1,activeRight:!0,itemWidth:null,itemHeight:null,slidesLength:0,controlButtonsNeeded:!0,windowWidth:0,dragXInitialPosition:0,dragXFinalPosition:0,draggingXPrevPosition:0,draggingXCurrentPosition:0,dragTimer:null,activeSlide:0,activePaginationDot:0,autoScrollInterval:null,scrollSpeed:1,isTouching:!1,scrollTimeout:null,forceToActiveRightButton:!1,pagesData:{},pagesCount:0,centeredSlideSidePadding:16,handleResize:null}},computed:{addingPaddingControlButtons(){return this.showControlButtons!=="never"&&this.buttonsPosition==="middle-out
1side"},sliderRef(){return this.sliderId?this.sliderId:this.sliderName},controlButtonsAreaStyle(){return this.buttonsPosition!=="top-right"?{top:this.controlsTop}:""}},watch:{loadingItems:{immediate:!0,handler(){this.showOrHideControlButtons()}},slidesLength:{immediate:!0,handler(){this.showOrHideControlButtons(),this.calculatePagesCount()}},initialSlide:{immediate:!0,handler(e,i){e!==i&&(this.delayGoToSlide?setTimeout(()=>{this.goToSlide(e)},500):this.goToSlide(e))}}},mounted(){this.$nextTick(()=>{typeof window<"u"&&(this.windowWidth=window.innerWidth,window.addEventListener("resize",this.componentResized)),this.adjustWidth?(this.adjustItemWidth(),setTimeout(()=>{this.loading||this.adjustItemWidth()},500)):this.showOrHideControlButtons(),this.initialSlide!==0?this.goToSlide(this.initialSlide):this.updateScrollPosition(0,"instant"),this.checkIfHideOrShowControlButtons(500),this.checkIfHideOrShowControlButtons(1e3),this.checkIfHideOrShowControlButtons(5e3),this.infiniteScroll&&this.startAutoScroll();const e=this.$refs[this.sliderRef];e&&(e.addEventListener("scroll",this.detectActiveSlideOnScroll,{passive:!0}),e.addEventListener("touchend",()=>{setTimeout(()=>this.detectActiveSlideOnScroll(),100)})),this.$refs[this.sliderRef]?.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),this.$refs[this.sliderRef]?.addEventListener("touchend",this.handleTouchEnd,{passive:!0}),typeof window<"u"&&window.addEventListener("mouseup",this.stopDrag)}),this.pagesCount=Object.keys(this.pagesData)?.length,this.showControlButtons==="force-before-loaded"&&(this.forceToActiveRightButton=!0)},beforeUnmount(){clearInterval(this.dragTimer),window.removeEventListener("resize",this.componentResized),this.infiniteScroll&&clearInterval(this.autoScrollInterval);const e=this.$refs[this.sliderRef];e&&e.removeEventListener("scroll",this.detectActiveSlideOnScroll),this.scrollTimeout&&clearTimeout(this.scrollTimeout),typeof window<"u"&&window.removeEventListener("mouseup",this.stopDrag)},updated(){this.$nextTick(()=>{this.adjustWidth&&this.adjustItemWidth()})},methods:{resetScrollPosition(){this.updateScrollPosition(0,"instant"),this.goToSlide(0),this.calculatePagesCount()},checkIfHideOrShowControlButtons(e){setTimeout(()=>{const i=this.$refs[this.sliderRef]?.children||[];this.slidesLength=i.length,this.showOrHideControlButtons()},e)},componentResized(){this.adjustWidth&&this.adjustItemWidth(),this.resetScrollPosition(),this.initialSlide!==0&&setTimeout(()=>{this.goToSlide(this.initialSlide)},500)},updateScrollPosition(e,i="smooth"){this.$refs[this.sliderRef]&&this.$refs[this.sliderRef].scroll({top:0,left:e,behavior:i})},getItemsPosition(){if(typeof window<"u"&&(this.windowWidth=window.innerWidth),this.$refs[this.sliderRef]){this.currentScrollPosition=this.$refs[this.sliderRef].scrollLeft;const e=this.$refs[this.sliderRef].getBoundingClientRect();this.sliderStartPosition=e.left,this.sliderEndPosition=e.right,this.sliderWidth=e.width,this.sliderScrollWidth=this.$refs[this.sliderRef].scrollWidth;const i=this.$refs[this.sliderRef].children,t=Object.keys(i).length;t&&i[0]&&i[t-1]&&(this.firstItemStartPosition=i[0].getBoundingClientRect().left,this.lastItemEndPosition=i[t-1].getBoundingClientRect().right)}},scrollLeft(){this.getItemsPosition();const e=this.$refs[this.sliderRef]?.children||[];let i=0,t=0;for(let s=0;s<e.length;s++){const o=e[s].getBoundingClientRect();o.left<this.sliderStartPosition&&(t=s,i=o.right)}if(this.activeSlide=t,i=this.currentScrollPosition-this.sliderWidth-(this.sliderStartPosition-Math.abs(i)),this.centeredSlides){const o=this.getSliderItems()[this.activeSlide];if(o){const r=o.getBoundingClientRect(),l=this.$refs[this.sliderRef].getBoundingClientRect();i=this.currentScrollPosition+(r.left-l.left)-(l.width/2-r.width/2)}}const n=this.currentScrollPosition-i;this.toggleControlButtons(this.firstItemStartPosition+n,this.lastItemEndPosition+n),this.updateScrollPosition(i)},scrollRight(){this.getItemsPosition();const e=this.$refs[this.sliderRef]?.children||[];let i=0,t=0;for(let s=0;s<e.length;s++){const o=e[s].getBoundingClientRect();o.right>this.sliderEndPosition&&i===0&&s!==this.activeSlide&&(i=o.left,t=s)}if(this.activeSlide=t,this.lastItemEndPosition<=this.sliderEndPosition&&(i=0),i=this.currentScrollPosition+i-this.sliderStartPosition,this.centeredSlides){const o=this.getSliderItems()[this.activeSlide];o&&(i=i-(this.sliderWidth/2-o.clientWidth/2))}const n=i-this.currentScrollPosition;this.toggleControlButtons(Math.floor(this.firstItemStartPosition-n),Math.floor(this.lastItemEndPosition-n)),this.updateScrollPosition(i),this.showControlButtons==="force-before-loaded"&&(this.forceToActiveRightButton=!1)},toggleControlButtons(e,i){this.activeLeft=e<this.sliderStartPosition,this.activeRight=!(i<=this.sliderEndPosition)},adjustItemWidth(){this.getItemsPosition();const e=this.$refs[this.sliderRef]?.children||[];if(e?.length){let i=this.itemsPerPageMobile;this.windowWidth>=this.tabletWidth&&this.windowWidth<this.desktopWidth?i=this.itemsPerPageTablet:this.windowWidth>=this.tabletWidth&&(i=this.itemsPerPageDesktop);const t=e[0].getBoundingClientRect(),s=e[1].getBoundingClientRect().left-t.right;this.itemWidth=(this.sliderWidth-s*(i-1))/i,this.centeredSlides&&(this.itemWidth=this.itemWidth-this.centeredSlideSidePadding*2);for(let o=0;o<e.length;o++)e[o]&&(e[o].style.width=`${this.itemWidth}px`);this.showOrHideControlButtons()}},showOrHideControlButtons(){if(this.showControlButtons==="force-before-loaded")return this.controlButtonsNeeded=!0,!0;const e=this.$refs[this.sliderRef]?.children||[];return e.length===0?(this.controlButtonsNeeded=!1,!1):(this.$nextTick(()=>
1{if(this.getItemsPosition(),e[0]&&e[e.length-1]){const i=e[0].getBoundingClientRect(),t=e[e.length-1].getBoundingClientRect(),n=i.left>=this.sliderStartPosition&&t.right<=this.sliderEndPosition;this.controlButtonsNeeded=!n}}),this.controlButtonsNeeded)},scrollToClosestItem(e=!0){this.getItemsPosition();const i=this.$refs[this.sliderRef]?.children||[];if(i.length){const t={indexItem:null,distance:null,direction:null};for(let s=0;s<Object.keys(i).length;s++){const o=i[s].getBoundingClientRect();let r=0,l=null;o.left<this.sliderStartPosition?(r=Math.abs(this.sliderStartPosition-o.left),l="left"):(r=o.left-this.sliderStartPosition,l="right"),(t.indexItem===null||r<t.distance)&&(t.indexItem=s,t.distance=r,t.direction=l)}let n=0;t.direction==="left"?n=this.currentScrollPosition-t.distance:n=this.currentScrollPosition+t.distance,e&&this.updateScrollPosition(n,"instant"),this.activeSlide=t.indexItem}},goToSlide(e){this.getItemsPosition();const i=this.$refs[this.sliderRef]?.children||[];if(i.length){const t=i[e].getBoundingClientRect();let n=0,s=null;t.left<this.sliderStartPosition?(n=Math.abs(this.sliderStartPosition-t.left),s="left"):(n=t.left-this.sliderStartPosition,s="right");let o=0;s==="left"?o=this.currentScrollPosition-n:o=this.currentScrollPosition+n;const r=this.currentScrollPosition-o;this.toggleControlButtons(this.firstItemStartPosition+r,this.lastItemEndPosition+r),this.updateScrollPosition(o),this.activeSlide=e}},goToDot(e){this.getItemsPosition();let i=e;this.paginationPerPage&&(i=this.pagesData[e].slideStart),this.goToSlide(i)},startDrag(){this.dragging=!0,this.mouseX=0,this.mouseY=0,this.draggingXPrevPosition=0,this.clickTime=new Date},stopDrag(e){this.dragging&&(this.dragging=!1,this.mouseX="no",this.mouseY="no",this.scrollToClosestItem(),this.getItemsPosition(),this.toggleControlButtons(this.firstItemStartPosition,this.lastItemEndPosition),this.restoringDefaultSlideEvents())},doDrag(e){if(this.dragging){this.mouseX=e.clientX,this.mouseY=e.clientY,new Date-this.clickTime>=151&&this.cancelingDefaultSlideEvents(),this.draggingXPrevPosition===0&&(this.draggingXPrevPosition=e.clientX),this.draggingXCurrentPosition=e.clientX;const i=this.$refs[this.sliderRef]?.scrollLeft||0,t=this.draggingXPrevPosition-this.draggingXCurrentPosition;t<0?this.updateScrollPosition(i-Math.abs(t),"instant"):this.updateScrollPosition(i+t,"instant"),this.draggingXPrevPosition=this.draggingXCurrentPosition}},cancelingDefaultSlideEvents(){const e=this.$refs[this.sliderRef]?.children||[];if(e.length)for(let i=0;i<Object.keys(e).length;i++)e[i].classList.add("pointer-events-none")},restoringDefaultSlideEvents(){const e=this.$refs[this.sliderRef]?.children||[];if(e.length&&e.length)for(let i=0;i<Object.keys(e).length;i++)e[i].classList.remove("pointer-events-none")},handleTouchStart(){this.isTouching=!0},handleTouchEnd(){this.isTouching&&(this.scrollTimeout&&clearTimeout(this.scrollTimeout),this.scrollTimeout=setTimeout(()=>{this.isTouching=!1,this.currentScrollPosition=this.$refs[this.sliderRef]?.scrollLeft||0,this.pauseAutoScroll(),this.startAutoScroll()},3e3))},startAutoScroll(){this.infiniteScroll&&(this.getItemsPosition(),this.autoScrollInterval=L(()=>{if(!this.isTouching){this.currentScrollPosition+=this.scrollSpeed;const e=this.$refs[this.sliderRef]?.scrollWidth||0;this.currentScrollPosition>=e/2&&(this.currentScrollPosition=0),this.updateScrollPosition(this.currentScrollPosition,"instant")}},50))},pauseAutoScroll(){this.infiniteScroll&&this.autoScrollInterval&&(clearInterval(this.autoScrollInterval),this.autoScrollInterval=null)},detectActiveSlideOnScroll(){const e=this.$refs[this.sliderRef];if(!e)return;const{scrollLeft:i,scrollWidth:t}=e;if(this.paginationPerPage){let n=0;Object.keys(this.pagesData).forEach(s=>{i>=this.pagesData[s].start&&i<=this.pagesData[s].end&&(n=s)}),this.activePaginationDot=parseInt(n,10),i>=t-this.sliderWidth&&(this.activePaginationDot=Object.keys(this.pagesData).length-1)}else{const n=e.children[0]?.offsetWidth||1,s=Math.round(i/n);s!==this.activePaginationDot&&(this.activePaginationDot=s)}},calculatePagesCount(){if(this.$refs[this.sliderRef]){const e=this.$refs[this.sliderRef].getBoundingClientRect(),i=e.width,t=this.$refs[this.sliderRef].scrollWidth,n=Math.ceil(t/i),s={};for(let l=0;l<n;l++)s[l]={start:l*i,end:(l+1)*i-1};const o=this.$refs[this.sliderRef].children||[],r=Object.keys(o).length;
1r&&Object.keys(s).forEach(l=>{const S=parseInt(l,10),b=parseInt(l,10)-1;let d=!1;S===0?s[l].slideStart=0:s[l].slideStart=s[b].slideEnd+1;for(let u=0;u<r;u++)if(!d){const P=o[u].getBoundingClientRect(),p=P.left-e.left,I=P.right-e.left;I>s[l].end&&(s[l].slideEnd=u-1,p<s[l].end&&(s[l].end=p-1,S<Object.keys(s).length-1&&(s[S+1].start=I)),d=!0)}Object.keys(s).forEach(u=>{const P=parseInt(u,10);u>l&&(s[u].start=s[P-1].end+1,s[u].end=s[P-1].end+1+i)})}),this.pagesCount=n,this.pagesData=s}},handleScroll(e){const i=e.currentTarget;i&&(this.activeRight=i.scrollLeft+10<=i.scrollWidth-i.offsetWidth,this.activeLeft=i.scrollLeft>=10&&i.scrollLeft!==0)}}},H={class:"custom-slider"},F={key:0,class:"flex items-center justify-between gap-lg mb-fluid-sm w-full"},V={class:"flex items-center justify-between gap-lg w-full"},Y={class:"grid grid-cols-2 gap-xs"},U={key:0,class:"w-full"},q={class:"flex items-center justify-between gap-lg"};function J(e,i,t,n,s,o){const r=T,l=k,S=x,b=R;return a(),m("div",H,[h("div",{class:g(["relative flex flex-col",{"h-full":t.heightFull}])},[t.buttonsPosition==="top-right"?(a(),m("div",F,[h("div",V,[t.title?(a(),f(D(t.titleTag),{key:0,class:"text-foreground-1 title-sm leading-150 line-clamp-1"},{default:w(()=>[B(C(t.title),1)]),_:1})):c("",!0),t.showSeeAllGamesLink&&t.seeAllGamesLink?.href?(a(),f(r,{key:1,href:t.seeAllGamesLink?.href,size:t.seeAllGamesLink?.size,class:"whitespace-nowrap"},{default:w(()=>[B(C(t.seeAllGamesLink?.text),1)]),_:1},8,["href","size"])):c("",!0)]),h("div",{id:"slider-controls",class:g(["flex items-center z-30 md:gap-lg",{"hidden-mobile":t.showControlButtons==="hidden-mobile","hidden-mobile-tablet":t.showControlButtons==="hidden-mobile-tablet",hidden:t.showControlButtons==="never"}]),style:y(o.controlButtonsAreaStyle)},[h("div",Y,[h("div",null,[s.controlButtonsNeeded&&s.activeLeft||s.controlButtonsNeeded&&t.showControlButtons==="always"?(a(),f(l,{key:0,size:t.buttonsSize,disabled:!s.activeLeft,direction:"left",onClick:o.scrollLeft},null,8,["size","disabled","onClick"])):c("",!0)]),h("div",null,[s.controlButtonsNeeded&&s.activeRight||t.showControlButtons==="force-before-loaded"||s.controlButtonsNeeded&&t.showControlButtons==="always"?(a(),f(l,{key:0,size:t.buttonsSize,disabled:!s.activeRight&&!s.forceToActiveRightButton,direction:"right",onClick:o.scrollRight},null,8,["size","disabled","onClick"])):c("",!0)])])],6)])):(a(),m("div",{key:1,id:"slider-controls",class:g(["justify-between items-center z-30 md:gap-lg",{"hidden-mobile":t.showControlButtons==="hidden-mobile","hidden-mobile-tablet":t.showControlButtons==="hidden-mobile-tablet",hidden:t.showControlButtons==="never","absolute h-0 w-full":!0}]),style:y(o.controlButtonsAreaStyle)},[t.buttonsPosition==="top-right"?(a(),m("div",U,[h("div",q,[t.title?(a(),f(S,{key:0,content:t.title,class:"title-sm leading-150 line-clamp-1 hidden md:block","root-tag":t.titleTag},null,8,["content","root-tag"])):c("",!0),t.showSeeAllGamesLink&&t.seeAllGamesLink?.href?(a(),f(r,{key:1,href:t.seeAllGamesLink?.href,size:t.seeAllGamesLink?.size,class:"whitespace-nowrap"},{default:w(()=>[B(C(t.seeAllGamesLink?.text),1)]),_:1},8,["href","size"])):c("",!0)])])):c("",!0),h("div",{class:g({"relative h-0 w-full":t.buttonsPosition!=="top-right","grid grid-cols-2 gap-xs":t.buttonsPosition==="top-right"})},[h("div",null,[s.controlButtonsNeeded&&s.activeLeft||s.controlButtonsNeeded&&t.showControlButtons==="always"?(a(),f(l,{key:0,class:g([{"absolute left-[16px] xl:left-[20px]":t.buttonsPosition==="inside-padding","absolute left-0":t.buttonsPosition==="inside","absolute left-[-16px] xl:left-[-20px]":["default","middle-outside"].includes(t.buttonsPosition)}]),size:t.buttonsSize,disabled:!s.activeLeft,direction:"left",onClick:o.scrollLeft},null,8,["class","size","disabled","onClick"])):c("",!0)]),h("div",null,[s.controlButtonsNeeded&&s.activeRight||t.showControlButtons==="force-before-loaded"||s.controlButtonsNeeded&&t.showControlButtons==="always"?(a(),f(l,{key:0,class:g([{"absolute right-[16px] xl:right-[20px]":t.buttonsPosition==="inside-padding","absolute right-0":t.buttonsPosition==="inside","absolute right-[-16px] xl:right-[-20px]":["default","middle-out
1side"].includes(t.buttonsPosition)}]),size:t.buttonsSize,disabled:!s.activeRight&&!s.forceToActiveRightButton,direction:"right",onClick:o.scrollRight},null,8,["class","size","disabled","onClick"])):c("",!0)])],2)],6)),h("div",{class:g([{"px-[32px]":o.addingPaddingControlButtons&&t.showControlButtons!=="hidden-mobile"&&t.showControlButtons!=="hidden-mobile-tablet","md:px-[32px]":o.addingPaddingControlButtons&&t.showControlButtons==="hidden-mobile","lg:px-[32px]":o.addingPaddingControlButtons&&t.showControlButtons==="hidden-mobile-tablet","!pl-0":s.controlButtonsNeeded&&!s.activeLeft&&o.addingPaddingControlButtons&&t.removePaddingForUnactiveControll,"md:p-0":t.paddingControlButtons==="no-padding","h-full":t.heightFull,"overlay-gradient-left":t.shadow&&s.activeLeft,"overlay-gradient-right":t.shadow&&s.activeRight,"overlay-shadow-default":t.shadow&&t.shadowType==="all-views","overlay-mobile-tablet":t.shadow&&t.shadowType==="mobile-and-tablet","overlay-mobile":t.shadow&&t.shadowType==="mobile-only"},"flex-grow"]),onMouseover:i[1]||(i[1]=(...d)=>o.pauseAutoScroll&&o.pauseAutoScroll(...d)),onMouseleave:i[2]||(i[2]=(...d)=>o.startAutoScroll&&o.startAutoScroll(...d)),onTouchstart:i[3]||(i[3]=(...d)=>o.handleTouchStart&&o.handleTouchStart(...d)),onTouchend:i[4]||(i[4]=(...d)=>o.handleTouchEnd&&o.handleTouchEnd(...d)),onMousedown:i[5]||(i[5]=A((...d)=>o.startDrag&&o.startDrag(...d),["prevent"])),onMousemove:i[6]||(i[6]=(...d)=>o.doDrag&&o.doDrag(...d))},[_(h("div",{ref:o.sliderRef,class:g(["flex overflow-x-auto no-scrollbar",[t.sliderItemsClasses,{"h-full":t.heightFull}]]),onScroll:i[0]||(i[0]=(...d)=>o.handleScroll&&o.handleScroll(...d))},[t.infiniteScroll?(a(),m(O,{key:1},[v(e.$slots,"default",{},void 0,!0),v(e.$slots,"default",{},void 0,!0)],64)):v(e.$slots,"default",{key:0},void 0,!0)],34),[[E,!t.loadingItems]])],34),t.loadingItems?(a(),m("div",{key:2,id:"slider-skeleton",class:g(["flex overflow-x-auto no-scrollbar",[t.sliderItemsClasses,{"h-full":t.heightFull}]])},[v(e.$slots,"skeleton",{},void 0,!0)],2)):c("",!0),t.showPagination?(a(),f(b,{key:3,id:"slider-pagination",class:"mb-md","dots-count":t.paginationPerPage?s.pagesCount:s.slidesLength,"active-dot":s.activePaginationDot,variant:t.paginationVariant,"without-height":!0,"show-pagination-on-desktop":t.showPaginationOnDesktop,onGoToDot:o.goToDot},null,8,["dots-count","active-dot","variant","show-pagination-on-desktop","onGoToDot"])):c("",!0)],2)])}const Pe=Object.assign(W(G,[["render",J],["__scopeId","data-v-03033a1b"]]),{__name:"BicCustomSlider"});export{Pe 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.