1"use strict";(self.webpackChunkpixfort_core=self.webpackChunkpixfort_core||[]).push([[134],{8543:(e,t,n)=>{n.r(t),n.d(t,{default:()=>c});let i=null,o=null,r=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:o,frame:r,springValue:a,inView:l}=await n.e(313).then(n.bind(n,3313));return{motionValue:e,transform:t,scroll:i,wrap:o,frame:r,springValue:a,inView:l}}catch(e){console.log("Motion library not available")}}(),o=i.motionValue(0),r=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;o.set(n),s&&clearTimeout(s),s=setTimeout((()=>{o.set(0)}),150)})),o.on("change",(e=>{r.set(e)})),r.on("change",(e=>{l.set(a(e))})));const c=[];function u(e,t,n){let i=0;for(let o=0;o<t;o++){const t=e[0].children[o];if(!t)break;i+=n?t.getBoundingClientRect().height:t.getBoundingClientRect().width}return Math.ceil(i||0)}function d(e,t,n,i,o){if(i){let i=o,r=0;for(;i<n&&r<10;)e.append(t),i+=o,r++;return}let r=e[0].getBoundingClientRect().width,a=0;for(;r<n&&a<10;)e.append(t),r=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 o=n,r=o.find(".marquee__inner").first(),a={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")||r.hasClass("pix-reversed"),pauseOnHover:n.hasClass("pix-pause-hover"),speed:parseFloat(n.attr("data-speed"))||null,cssSpeed:null};if(!r.length)return;const s=r[0].children.length,h=r.html(),f=a.vertical?o[0].getBoundingClientRect().height||o.innerHeight():o[0].getBoundingClientRect().width||o.innerWidth();let g=u(r,s,a.vertical);if(!g)return;setTimeout((()=>{g=u(r,s,a.vertical),T()}),200),setTimeout((()=>{g=u(r,s,a.vertical),T()}),2e3),a.vertical&&(r[0].style.height=`${g}px`),d(r,h,g+f,a.vertical,g);const p=()=>{const e=getComputedStyle(t).getPropertyValue("--marquee-speed").trim();return e&&""!==e?parseFloat(e.replace("s","")):a.speed},m=i.motionValue(0);let y=-1;a.reversed&&(y=1);const v=i.motionValue(y);let V=!1;const w=e=>`${i.wrap(-g,0,e)}px`;m.on("change",(e=>{r[0].style.transform=a.vertical?`translate3d(0, ${w(e)}, 0)`:`translate3d(${w(e)}, 0, 0)`})),a.pauseOnHover&&(o.on("mouseenter",(()=>{V=!0})),o.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:o,$inner:r,originalHTML:h,originalCount:s,isVisible:!0,get cycleWidth(){return g},set cycleWidth(e){g=e},cancelTick:null,updateEffectiveVelocity:null,destroy(){this.cancelTick?.(),o.off("mouseenter mouseleave")}};let b=60;const T=()=>{const e=p();e&&(b=g/e),0==e&&(b=0)};C.updateEffectiveVelocity=T,T();let x=performance.now();const k=i.frame.update((e=>{if(!e)return;let t=e.timestamp;const n=e.timestamp-x;if(x=t,!C.isVisible||V)return;if(a.scrollDirectionChange){const e=l.get();e<0?v.set(y):e>0&&v.set(-y)}let i=0;0!=b?(i=v.get()*b*(n/1e3),a.smoothVelocity&&(i+=v.get()*Math.abs(i*l.get()*.5))):a.smoothVelocity&&(i+=v.get()*Math.abs(.5*l.get())),m.set(m.get()+i)}),!0);C.cancelTick=k,c.push(C);let B=p();const E=()=>{const e=p();e!==B&&(B=e,T()),requestAnimationFrame(E)};window.elementorFrontend?.isEditMode?.()&&E()})),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.innerHeight():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 f=()=>{for(const e of c)e.destroy&&e.destroy();clearTimeout(h),clearTimeout(s)};return window.addEventListener("pagehide",f),window.addEventListener("beforeunload",f),{destroy:f,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.