1import{w as A}from"./index-d3976de0.js";import{C as g,Q as C,R as O,F as h}from"./index-0b1ec84a.js";function w(t){return Object.prototype.toString.call(t)==="[object Date]"}function a(t,r){if(t===r||t!==t)return()=>t;const s=typeof t;if(s!==typeof r||Array.isArray(t)!==Array.isArray(r))throw new Error("Cannot interpolate values of different type");if(Array.isArray(t)){const i=r.map((n,e)=>a(t[e],n));return n=>i.map(e=>e(n))}if(s==="object"){if(!t||!r)throw new Error("Object cannot be null");if(w(t)&&w(r)){t=t.getTime(),r=r.getTime();const e=r-t;return o=>new Date(t+o*e)}const i=Object.keys(r),n={};return i.forEach(e=>{n[e]=a(t[e],r[e])}),e=>{const o={};return i.forEach(f=>{o[f]=n[f](e)}),o}}if(s==="number"){const i=r-t;return n=>t+n*i}throw new Error(`Cannot interpolate ${s} values`)}function D(t,r={}){const s=A(t);let i,n=t;function e(o,f){if(t==null)return s.set(t=o),Promise.resolve();n=o;let c=i,l=!1,{delay:j=0,duration:u=400,easing:E=h,interpolate:b=a}=g(g({},r),f);if(u===0)return c&&(c.abort(),c=null),s.set(t=n),Promise.resolve();const p=C()+j;let d;return i=O(y=>{if(y<p)return!0;l||(d=b(t,o),typeof u=="function"&&(u=u(t,o)),l=!0),c&&(c.abort(),c=null);const m=y-p;return m>u?(s.set(t=o),!1):(s.set(t=d(E(m/u))),!0)}),i.promise}return{set:e,update:(o,f)=>e(o(n,t),f),subscribe:s.subscribe}}const k=A(!0),x=D(3,{duration:5e3,easing:h});export{k as f,x as s};
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.