PageSourceSearch

https://weneed.ch/_nuxt/D9zxzc8I.js

js weneed.ch collected 2026-10-02 00:05:42 UTC 2,027 bytes, 1 lines download raw bytes

1import{t as o,p as v,C as s,E as m,_ as S,G as n,y as R,z as y,H as x,x as A,F as E,A as N,n as V,q as I,r as i}from"./CG0zx5Uh.js";import $ from"./DefYk72F.js";import{_ as M,S as P}from"./DihZVV5e.js";const W={class:"BlockCustomerReviews__title"},F={__name:"BlockCustomerReviews",props:{blok:{type:Object,required:!0}},setup(t){const l=i(null),c=i(!0),r=i(!1),a=i(!1);function w(e){l.value=e,c.value=e.isBeginning,r.value=e.isEnd}function g(e){c.value=e.isBeginning,r.value=e.isEnd,a.value||C(e.swipeDirection),a.value=!1}const B=()=>{a.value=!0,l.value?.slidePrev(),u("Arrow left")},p=()=>{a.value=!0,l.value?.slideNext(),u("Arrow right")};function C(e){u(e==="prev"?"Swipe left":"Swipe right")}function u(e){if(window.utag){const d={event_attributes_eventName:"slider_click",event_category:"Content Interaction",event_action:e,event_label:"What users say",platform:"weneed-web"};window.utag.link(d)}}return(e,d)=>{const _=S,f=x,b=$,h=M;return o(),v(_,{id:t.blok.anchor,tag:"section",class:m(["BlockCustomerReviews paddingBlock",t.blok.backgroundColor])},{default:s(()=>[n(_,{tag:"div",class:"BlockCustomerReviews__content siteWidthMedium"},{default:s(()=>[R("h2",W,y(t.blok.title),1)]),_:1}),n(_,{tag:"div",class:"BlockCustomerReviews__references siteWidthMedium"},{default:s(()=>[n(f,{name:"arrow-left",class:m(["BlockCustomerReviews__action prev",{disabled:c.value}]),onClick:B},null,8,["class"]),t.blok?.reviews?(o(),v(h,{key:0,"slides-per-view":1.2,loop:!1,freeMode:!0,"space-between":28,breakpoints:{750:{slidesPerView:2.2,spaceBetween:28},1e3:{slidesPerView:3,spaceBetween:40}},class:"BlockCustomerReviews__slider",onSwiper:w,onSlideChange:g},{default:s(()=>[(o(!0),A(E,null,N(t.blok.reviews,k=>(o(),v(V(P),{key:k._uid,class:"BlockCustomerReviews__slide"},{default:s(()=>[n(b,{blok:k},null,8,["blok"])]),_:2},1024))),128))]),_:1})):I("",!0),n(f,{name:"arrow-right",class:m(["BlockCustomerReviews__action next",{disabled:r.value}]),onClick:p},null,8,["class"])]),_:1})]),_:1},8,["id","class"])}}};export{F 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.