PageSourceSearch

https://www.meran2000.com/_nuxt/CulYuVLP.js

js meran2000.com collected 2026-09-24 23:05:19 UTC 2,066 bytes, 1 lines download raw bytes

1import{G as k}from"./DcpZ9yuh.js";function D(E,c){const{$gsap:T,$Draggable:L,$InertiaPlugin:A}=k(),s=T,v=L,i=s.utils.toArray(E),d=c.linkedLoops||[],m=(c.speed||1)*100,w=c.center===!0?i[0].parentElement:s.utils.toArray(c.center)[0]||i[0].parentElement,f=c.snap===!1?a=>a:s.utils.snap(c.snap||1),e=s.timeline({repeat:c.repeat,paused:c.paused,defaults:{ease:"none"}});let p=[],g=[],P=i[0].offsetLeft,h=[],u=0;const C=()=>{let a=w.getBoundingClientRect(),t;i.forEach((o,r)=>{const n=parseFloat(s.getProperty(o,"width","px"));p[r]=n,g[r]=f(parseFloat(s.getProperty(o,"x","px"))/n*100+s.getProperty(o,"xPercent")),t=o.getBoundingClientRect(),h[r]=t.left-(r?a.right:a.left),a=t}),s.set(i,{xPercent:o=>g[o]}),u=i[i.length-1].offsetLeft+g[i.length-1]/100*p[i.length-1]-P+h[0]+i[i.length-1].offsetWidth+(parseFloat(c.paddingRight)||0)};let b=[];const R=()=>{e.clear(),i.forEach((a,t)=>{const o=g[t]/100*p[t],r=a.offsetLeft+o-P+h[0],n=r+p[t];e.to(a,{xPercent:f((o-n)/p[t]*100),duration:n/m},0).fromTo(a,{xPercent:f((o-n+u)/p[t]*100)},{xPercent:g[t],duration:(o-n+u-o)/m,immediateRender:!1},n/m).add("label"+t,r/m),b[t]=r/m})};s.set(i,{x:0}),C(),R();const x=s.utils.wrap(0,e.duration());if(e.toIndex=(a,t={})=>{const o=e.time();let r=b[a];return r>o!=a>0&&(r+=e.duration()*(a>0?1:-1)),s.to(e,{...t,time:x(r),overwrite:!0})},c.draggable){const a=document.createElement("div");let t,o=1/u;t=v.create(a,{trigger:w,type:"x",inertia:!0,overshootTolerance:0,allowContextMenu:!0,onPressInit(){s.killTweensOf(e),e.pause(),d.forEach(l=>l.pause());const r=e.time();o=1/u;const n=-r/e.duration()/o;s.set(a,{x:n}),t.update()},onDrag(){const r=-t.x*o%1,n=x(r*e.duration());e.time(n),d.forEach(l=>l.time(n))},onThrowUpdate(){const r=-t.x*o%1,n=x(r*e.duration());e.time(n),d.forEach(l=>l.time(n))},onThrowComplete(){const r=typeof t.getVelocity=="function"?t.getVelocity("x"):.1,n=Math.abs(r/u*e.duration()),l=e.time();d.forEach(y=>{s.to(y,{time:l,duration:n,ease:"power3.out",overwrite:!0})}),setTimeout(()=>{e.play(),d.forEach(y=>y.play())},3e3)}})[0],e.draggable=t}return e}export{D as h};

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.