1"use strict";(globalThis.webpackChunksitebuilder_client=globalThis.webpackChunksitebuilder_client||[]).push([[2379],{512379:(t,e,l)=>{l.r(e),l.d(e,{default:()=>n});var a=l(906561),i=l(795098),s=l(574022);class n{constructor(){this.SPEED=.6,this.parallaxElements=null,this.throttledUpdate=(0,s.A)(()=>this.updateParallax(),16)}init(){bowweConfig.viewMode!==a.Q.DESIGN&&(this.getParallaxElements(),this.parallaxElements.length>0&&this.setupScrollListeners())}getParallaxElements(){this.parallaxElements=document.querySelectorAll(`.${i.C.PARALLAX_EFFECT_CLASS}`)}setupScrollListeners(){if(bowweConfig.viewMode===a.Q.PREVIEW){const t=document.getElementById(i.C.PAGE_WRAPPER);return void(null==t||t.addEventListener("scroll",this.throttledUpdate,{passive:!0}))}window.addEventListener("scroll",this.throttledUpdate,{passive:!0})}updateParallax(){this.parallaxElements.forEach(t=>{if(!t)return;const e=t,l=e.getBoundingClientRect(),a=e.offsetHeight,i=window.innerHeight;if(Math.min(l.bottom,i)-Math.max(l.top,0)>0){const t=l.top+a/2-i/2,s=i+a,n=Math.min(Math.max(t/s,-1),1)*a*this.SPEED;e.style.backgroundPosition=`center calc(50% + ${n}px)`}})}}}}]); 2//# sourceMappingURL=https://bowwe.preprod/static/build/2379.bcf39e65f116781e127f.js.map
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.