1"use strict";(self.webpackChunkpixfort_core=self.webpackChunkpixfort_core||[]).push([[8753],{8543(e,t,n){n.d(t,{default:()=>c});let i=null,r=null,o=null,a=null,l=null,s=null;async function c(e){e||(e=$("body"));const t=e.find(".pix-marquee");if(!t.length)return;i||(i=await async function(){try{const{motionValue:e,transform:t,scroll:i,wrap:r,frame:o,springValue:a,inView:l}=await n.e(7565).then(n.bind(n,163));return{motionValue:e,transform:t,scroll:i,wrap:r,frame:o,springValue:a,inView:l}}catch(e){console.log("Motion library not available")}}(),r=i.motionValue(0),o=i.springValue(0,{damping:50,stiffness:200}),a=i.transform([0,1400],[0,5],{clamp:!1}),l=i.motionValue(0),s=null,i.scroll((e,t)=>{const n=t&&t.y&&"number"==typeof t.y.velocity?t.y.velocity:0;r.set(n),s&&clearTimeout(s),s=setTimeout(()=>{r.set(0)},150)}),r.on("change",e=>{o.set(e)}),o.on("change",e=>{l.set(a(e))}));const c=[];function u(e,t,n){let i=0;for(let r=0;r<t;r++){const t=e[0].children[r];if(!t)break;i+=n?t.getBoundingClientRect().height:t.getBoundingClientRect().width}return Math.ceil(i||0)}function d(e,t,n,i,r){if(i){let i=r,o=0;for(;i<n&&o<10;)e.append(t),i+=r,o++;return}let o=e[0].getBoundingClientRect().width,a=0;for(;o<n&&a<10;)e.append(t),o=e[0].getBoundingClientRect().width,a++}let h;t.each(function(e,t){const n=$(t);if(n.hasClass("pix-is-loaded"))return;n.addClass("pix-is-loaded");const r=n,o=r.find(".marquee__inner").first(),a="rtl"===getComputedStyle(document.documentElement).direction,s={baseVelocity:parseFloat(n.attr("data-base-velocity"))||100,scrollDirectionChange:"true"===n.attr("data-scroll-direction-change"),loadAnimation:"true"===n.attr("data-load-animation"),vertical:"true"===n.attr("data-vertical"),smoothVelocity:"true"===n.attr("data-smooth-velocity"),reversed:n.hasClass("pix-reversed")||o.hasClass("pix-reversed"),pauseOnHover:n.hasClass("pix-pause-hover"),speed:parseFloat(n.attr("data-speed"))||null,cssSpeed:null,isRTL:a};if(!o.length)return;const h=o[0].children.length,p=o.html(),f=s.vertical?r[0].getBoundingClientRect().height||r.innerHeight():r[0].getBoundingClientRect().width||r.innerWidth();let m=u(o,h,s.vertical);if(!m)return;setTimeout(()=>{m=u(o,h,s.vertical),T()},200),setTimeout(()=>{m=u(o,h,s.vertical),T()},2e3),s.vertical&&(o[0].style.height=`${m}px`),d(o,p,m+f,s.vertical,m);const g=()=>{const e=getComputedStyle(t).getPropertyValue("--marquee-speed").trim();return e&&""!==e?parseFloat(e.replace("s","")):s.speed},y=i.motionValue(0);let v=-1;s.reversed&&(v=1);const w=i.motionValue(v);let V=!1;y.on("change",e=>{let t;s.isRTL&&!s.vertical?(t=i.wrap(0,m,e),o[0].style.transform=`translate3d(${t}px, 0, 0)`):s.vertical?(t=i.wrap(-m,0,e),o[0].style.transform=`translate3d(0, ${t}px, 0)`):(t=i.wrap(-m,0,e),o[0].style.transform=`translate3d(${t}px, 0, 0)`)}),s.pauseOnHover&&(r.on("mouseenter",()=>{V=!0}),r.on("mouseleave",()=>{V=!1})),i.inView(t,(e,t)=>{const n=c.find(t=>t.$container[0]===e);return n&&(n.isVisible=!0),e=>{n&&(n.isVisible=!1)}});const C={$container:r,$inner:o,originalHTML:p,originalCount:h,isVisible:!0,get cycleWidth(){return m},set cycleWidth(e){m=e},cancelTick:null,updateEffectiveVelocity:null,destroy(){this.cancelTick?.(),r.off("mouseenter mouseleave")}};let b=60;const T=()=>{const e=g();e&&(b=m/e),0==e&&(b=0)};C.updateEffectiveVelocity=T,T();let x=performance.now();const R=i.frame.update(e=>{if(!e)return;let t=e.timestamp;const n=e.timestamp-x;if(x=t,!C.isVisible||V)return;if(s.scrollDirectionChange){const e=l.get();e<0?w.set(v):e>0&&w.set(-v)}let i=0;0!=b?(i=w.get()*b*(n/1e3),s.smoothVelocity&&(i+=w.get()*Math.abs(i*l.get()*.5))):s.smoothVelocity&&(i+=w.get()*Math.abs(.5*l.get())),s.isRTL&&!s.vertical&&(i=-i),y.set(y.get()+i)},!0);C.cancelTick=R,c.push(C);let E=g();const k=()=>{const e=g();e!==E&&(E=e,T()),requestAnimationFrame(k)};window.elementorFrontend?.isEditMode?.()&&k()}),window.addEventListener("resize",()=>{clearTimeout(h),h=setTimeout(()=>{for(const e of c)if(e.$container[0]&&e.$inner[0]){const t="true"===e.$container.attr("data-vertical"),n=t?e.$container[0].getBoundingClientRect().height||e.$container.innerHe
1ight():e.$container[0].getBoundingClientRect().width||e.$container.innerWidth();e.cycleWidth=u(e.$inner,e.originalCount,t),t&&(e.$inner[0].style.height=`${e.cycleWidth}px`),d(e.$inner,e.originalHTML,e.cycleWidth+n,t,e.cycleWidth),e.updateEffectiveVelocity&&e.updateEffectiveVelocity()}},150)},{passive:!0});const p=()=>{for(const e of c)e.destroy&&e.destroy();clearTimeout(h),clearTimeout(s)};return window.addEventListener("pagehide",p),window.addEventListener("beforeunload",p),{destroy:p,marquees:c}}}}]);
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.