PageSourceSearch

https://bevco-prod.netlify.app/_nuxt/D3ZXemM7.js

js bevco-prod.netlify.app collected 2026-10-03 10:31:40 UTC 3,240 bytes, 1 lines download raw bytes

1import{_ as H}from"./CI4S50Aq.js";import{z,i as S,b as d,w as O,O as r,P as l,R as p,S as w,_ as u,L as f,a0 as x,a2 as C,J as N,U,V as F,W as I,u as m,a as J,am as M,an as R}from"./QVWpw_zs.js";import{o as W,y as K,_ as Q}from"./EW60oKse.js";import X from"./CPY1chxN.js";import"./Bx5tmKxc.js";import"./D0fXS6B1.js";import"./CTQizJxJ.js";import"./B-6vx5qR.js";import"./DUiLqmNY.js";import"./CIe1_WTe.js";import"./IsD35dJF.js";const Y={class:"cms-element-product-slider carousel-element"},Z={class:"flex justify-between py-[25px] line-height-none"},ee={key:0,class:"text-[18px] md:text-[22px] font-semibold"},se={key:1,class:"pt-[2px] min-w-[115px] text-right"},te={class:"w-full relative bg-white p-[10px] md:px-[15px] lg:px-[20px] xl:px-[25px] xl:pt-[10px] xl:pb-[15px]"},re=z({__name:"SharedProductSlider",props:{products:{},config:{}},setup(D){const _=D,{addSearchHistory:V,algoliaTrackClick:j}=W(),B=S("productPrices"),L=S("displayGross"),T=d(null),g=d(null),v=d(null),G={768:{slidesPerView:3,slidesPerGroup:3,spaceBetween:24},1024:{slidesPerView:4,slidesPerGroup:4,spaceBetween:24},1536:{slidesPerView:5,slidesPerGroup:5,spaceBetween:24}},y=d(null),$=()=>y.value.slideNext(),E=()=>y.value.slidePrev(),q=(e,t)=>{var n,c,i,a;const o="opacity-0";t===1?(n=v.value)==null||n.classList.add(o):(c=v.value)==null||c.classList.remove(o),t===0?(i=g.value)==null||i.classList.add(o):(a=g.value)==null||a.classList.remove(o)};return O(()=>_.products,()=>{var t;const e=J();(t=e==null?void 0:e.proxy)==null||t.$forceUpdate()}),(e,t)=>{var a,b,h,k;const o=H,n=M,c=R,i=K;return r(),l("div",Y,[p("div",Z,[(a=e.config)!=null&&a.title?(r(),l("span",ee,w((b=e.config)==null?void 0:b.title),1)):u("",!0),(h=e.config)!=null&&h.link?(r(),l("span",se,[f(o,{href:e.config.link,class:"border-b border-b-solid"},{default:x(()=>[C(w(e.$t("listing.seeAll")),1),e.config.nbHits?(r(),l(N,{key:0},[C(" ("+w(e.config.nbHits)+")",1)],64)):u("",!0)]),_:1},8,["href"])])):u("",!0)]),e.products&&e.products.length>0?(r(),l("div",{key:0,class:U(["relative",{"border border-gray-300":(k=_.config)==null?void 0:k.border}])},[f(c,{ref_key:"sliderElem",ref:T,"space-between":"10",breakpoints:G,onSwiper:t[0]||(t[0]=s=>y.value=s),onProgress:q,"slides-per-view":2,"css-mode":!0,mousewheel:{forceToAxis:!0,releaseOnEdges:!0},speed:100,"grab-cursor":!0},{default:x(()=>[(r(!0),l(N,null,F(e.products,(s,A)=>(r(),I(n,{key:s.objectID,class:"flex! h-initial!"},{default:x(()=>{var P;return[p("div",te,[(r(),I(X,{key:s.objectID,class:"h-full",product:s,layoutType:(P=_.config)==null?void 0:P.layoutType,displayMode:"contain",price:m(B)[s.objectID],"display-gross":m(L),onClick:oe=>[m(V)(s.objectID,s.queryID??null),m(j)(s.objectID,"ProductSlider: Product Clicked",s.queryID??null,s.queryID?A+1:null)]},null,8,["product","layoutType","price","display-gross","onClick"]))])]}),_:2},1024))),128))]),_:1},512),p("div",{ref_key:"sliderNavPrev",ref:g,class:"slider-nav-prev",onClick:E},[f(i,{src:"/arrow-left-bold.svg",width:"7",height:"13"})],512),p("div",{ref_key:"sliderNavNext",ref:v,class:"slider-nav-next",onClick:$},[f(i,{src:"/arrow-left-bold.svg",width:"7",height:"13",class:"rotate-180"})],512)],2)):u("",!0)])}}}),ge=Q(re,[["__scopeId","data-v-bdb3404f"]]);export{ge 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.