PageSourceSearch

https://www.fazergroup.com/dist/assets/CustomBlueBlock.DF57DfzX.js

js fazergroup.com collected 2026-09-24 22:51:22 UTC 6,146 bytes, 1 lines download raw bytes

1import{v as D,x as G,y as K,d as W,u as Z,a as w,e as y,b as v,c as N,w as M,z as O,C as b,D as J,n as E,i as C,f as Q,g as ee,j as u,S as te,E as se,l as ae,m as le,N as oe,K as re,A as ie,k as ne,G as de,p as T,H as U,s as ce,q as fe}from"./main.CqmBQMb1.js";function he(t){const{effect:a,swiper:e,on:i,setTranslate:n,setTransition:r,overwriteParams:p,perspective:d,recreateShadows:f,getEffectParams:l}=t;i("beforeInit",()=>{if(e.params.effect!==a)return;e.classNames.push(`${e.params.containerModifierClass}${a}`),d&&d()&&e.classNames.push(`${e.params.containerModifierClass}3d`);const h=p?p():{};Object.assign(e.params,h),Object.assign(e.originalParams,h)}),i("setTranslate _virtualUpdated",()=>{e.params.effect===a&&n()}),i("setTransition",(h,s)=>{e.params.effect===a&&r(s)}),i("transitionEnd",()=>{if(e.params.effect===a&&f){if(!l||!l().slideShadows)return;e.slides.forEach(h=>{h.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(s=>s.remove())}),f()}});let o;i("virtualUpdate",()=>{e.params.effect===a&&(e.slides.length||(o=!0),requestAnimationFrame(()=>{o&&e.slides&&e.slides.length&&(n(),o=!1)}))})}function ue(t,a){const e=D(a);return e!==a&&(e.style.backfaceVisibility="hidden",e.style["-webkit-backface-visibility"]="hidden"),e}function F(t,a,e){const i=`swiper-slide-shadow${e?`-${e}`:""}${` swiper-slide-shadow-${t}`}`,n=D(a);let r=n.querySelector(`.${i.split(" ").join(".")}`);return r||(r=G("div",i.split(" ")),n.append(r)),r}function me({swiper:t,extendParams:a,on:e}){a({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),he({effect:"coverflow",swiper:t,on:e,setTranslate:()=>{const{width:r,height:p,slides:d,slidesSizesGrid:f}=t,l=t.params.coverflowEffect,o=t.isHorizontal(),h=t.translate,s=o?-h+r/2:-h+p/2,L=o?l.rotate:-l.rotate,g=l.depth,S=K(t);for(let _=0,H=d.length;_<H;_+=1){const m=d[_],q=f[_],R=m.swiperSlideOffset,V=(s-R-q/2)/q,c=typeof l.modifier=="function"?l.modifier(V):V*l.modifier;let z=o?L*c:0,I=o?0:L*c,P=-g*Math.abs(c),x=l.stretch;typeof x=="string"&&x.indexOf("%")!==-1&&(x=parseFloat(l.stretch)/100*q);let j=o?0:x*c,A=o?x*c:0,B=1-(1-l.scale)*Math.abs(c);Math.abs(A)<.001&&(A=0),Math.abs(j)<.001&&(j=0),Math.abs(P)<.001&&(P=0),Math.abs(z)<.001&&(z=0),Math.abs(I)<.001&&(I=0),Math.abs(B)<.001&&(B=0);const X=`translate3d(${A}px,${j}px,${P}px)  rotateX(${S(I)}deg) rotateY(${S(z)}deg) scale(${B})`,Y=ue(l,m);if(Y.style.transform=X,m.style.zIndex=-Math.abs(Math.round(c))+1,l.slideShadows){let $=o?m.querySelector(".swiper-slide-shadow-left"):m.querySelector(".swiper-slide-shadow-top"),k=o?m.querySelector(".swiper-slide-shadow-right"):m.querySelector(".swiper-slide-shadow-bottom");$||($=F("coverflow",m,o?"left":"top")),k||(k=F("coverflow",m,o?"right":"bottom")),$&&($.style.opacity=c>0?c:0),k&&(k.style.opacity=-c>0?-c:0)}}},setTransition:r=>{t.slides.map(d=>D(d)).forEach(d=>{d.style.transitionDuration=`${r}ms`,d.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(f=>{f.style.transitionDuration=`${r}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}const pe={class:"overflow-hidden"},we={class:"to-fazer-blue -mx-xl px-3xl py-8xl relative flex flex-col items-center justify-center bg-radial from-[#004398] to-40% lg:min-h-[850px]"},ve={key:0,class:"px-4xl gap-2xl flex flex-col items-center text-center"},ge={key:1,class:"!text-lg !text-white"},xe={key:1,class:"my-5xl w-[200%] lg:w-[140%] 2xl:[&_.swiper]:!overflow-visible"},ye={class:"gap-2xl mt-2xl flex items-center justify-center"},be=["title"],Ee={class:"p-lg rounded-full border border-white text-white"},Se={class:"text-body-xs hidden !text-white lg:block"},_e={class:"text-grey-400"},$e=["title"],ke={class:"p-lg rounded-full border border-white text-white"},Ce=W({__name:"CustomBlueBlock",props:{model:{}},setup(t){const a=t,{currentPageModel:e}=fe(),{t:i}=Z(),n=T(()=>{const s=a.model.images||[];return s.length<=1?s:[s[s.length-1],...s.slice(0,-1)]}),r=T(()=>a.model.headingLevel||"p"),p=T(()=>Math.min(3,n.value.length)),d=T(()=>n.value.length>=p.value),f=U(0),l=U(null),o=s=>
1{l.value=s,f.value=s.realIndex,s.el.addEventListener("focusin",()=>s.keyboard.enable()),s.el.addEventListener("focusout",()=>s.keyboard.disable())},h=s=>{f.value=s.realIndex,ce(e.value?.url,e.value?.metadata?.currentLanguage)};return(s,L)=>(w(),y("div",pe,[v("div",we,[t.model.heading||t.model.body?(w(),y("div",ve,[t.model.heading?(w(),N(J(r.value),{key:0,class:"text-display-lg lg:text-display-md leading-4xl !text-center !text-white"},{default:M(()=>[O(b(t.model.heading),1)]),_:1})):E("",!0),t.model.body?(w(),y("p",ge,b(t.model.body),1)):E("",!0)])):E("",!0),n.value?.length?(w(),y("div",xe,[C(u(ne),{modules:[u(oe),u(re),u(ie),u(me)],"slides-per-view":p.value,"space-between":25,breakpoints:{1024:{spaceBetween:50}},loop:d.value,keyboard:!1,effect:"coverflow",navigation:{nextEl:".nextEl",prevEl:".prevEl"},"coverflow-effect":{rotate:0,stretch:0,depth:100,modifier:1,scale:.8,slideShadows:!0},onRealIndexChange:h,onSwiper:o},{default:M(()=>[(w(!0),y(Q,null,ee(n.value,(g,S)=>(w(),N(u(te),{key:`custom-blue-slide-${g.url}-${S}`,class:"my-6xl -rotate-10"},{default:M(()=>[C(se,{src:g.url,alt:g.altText,class:"aspect-[751/286] w-full select-none"},null,8,["src","alt"])]),_:2},1024))),128)),v("div",ye,[v("button",{title:u(i)("/common/slider/previous-label"),class:"prevEl h-full cursor-pointer items-center justify-end disabled:hidden"},[v("div",Ee,[C(u(ae),{size:16})])],8,be),v("p",Se,[O(b(f.value+1)+" / ",1),v("span",_e,b(n.value.length),1)]),v("button",{title:u(i)("/common/slider/next-label"),class:"nextEl h-full cursor-pointer items-center justify-end transition-colors disabled:hidden"},[v("div",ke,[C(u(le),{size:16})])],8,$e)])]),_:1},8,["modules","slides-per-view","loop"])])):E("",!0),t.model.ctaUrl&&t.model.ctaLabel?(w(),N(de,{key:2,size:"large",href:t.model.ctaUrl,variant:"secondary",class:"w-full lg:w-auto"},{default:M(()=>[O(b(t.model.ctaLabel),1)]),_:1},8,["href"])):E("",!0)])]))}});export{Ce 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.