PageSourceSearch

https://db.brainofmaterials.com/build/assets/easing-Cn1a6v1Y.js

js brainofmaterials.com collected 2026-10-08 23:08:10 UTC 1,135 bytes, 1 lines download raw bytes

1import{Dt as e,N as t,gt as n,jt as r,st as i,v as a}from"./vue.runtime.esm-bundler-C9z_6Bg8.js";import{Ht as o,kn as s}from"./position-CbdkydQx.js";t(),n();var c=`cubic-bezier(0.4, 0, 0.2, 1)`,l=`cubic-bezier(0.0, 0, 0.2, 1)`,u=`cubic-bezier(0.4, 0, 1, 1)`,d={linear:e=>e,easeInQuad:e=>e**2,easeOutQuad:e=>e*(2-e),easeInOutQuad:e=>e<.5?2*e**2:-1+(4-2*e)*e,easeInCubic:e=>e**3,easeOutCubic:e=>--e**3+1,easeInOutCubic:e=>e<.5?4*e**3:(e-1)*(2*e-2)*(2*e-2)+1,easeInQuart:e=>e**4,easeOutQuart:e=>1- --e**4,easeInOutQuart:e=>e<.5?8*e**4:1-8*--e**4,easeInQuint:e=>e**5,easeOutQuint:e=>1+--e**5,easeInOutQuint:e=>e<.5?16*e**5:1+16*--e**5,instant:e=>1};function f(t,n){let c={duration:300,transition:d.easeInOutCubic},l=-1,u=e(r(t));i(()=>r(t),async e=>{cancelAnimationFrame(l);let t={...c,...r(n)};await f(u,u.value,e,t)});function f(e,t,n,r){let i=performance.now(),a=s()?d.instant:r.transition??d.easeInOutCubic;return new Promise(s=>{l=requestAnimationFrame(function c(u){let d=(u-i)/r.duration;e.value=t+(n-t)*a(o(d,0,1)),d<1?l=requestAnimationFrame(c):(e.value=n,s())})})}return a(()=>u.value)}export{f as a,c as i,l as n,d as r,u as t};

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.