import{c as y,i as u,b as a,d as c,e as p}from"./transform-DVuzd7XD.js";function g(r,n){n||(n=[]);var e=r?Math.min(n.length,r.length):0,i=n.slice(),t;return function(f){for(t=0;t<e;++t)i[t]=r[t]*(1-f)+n[t]*f;return i}}function m(r){return ArrayBuffer.isView(r)&&!(r instanceof DataView)}function A(r,n){var e=n?n.length:0,i=r?Math.min(e,r.length):0,t=new Array(i),f=new Array(e),o;for(o=0;o<i;++o)t[o]=l(r[o],n[o]);for(;o<e;++o)f[o]=n[o];return function(s){for(o=0;o<i;++o)f[o]=t[o](s);return f}}function h(r,n){var e=new Date;return r=+r,n=+n,function(i){return e.setTime(r*(1-i)+n*i),e}}function v(r,n){var e={},i={},t;(r===null||typeof r!="object")&&(r={}),(n===null||typeof n!="object")&&(n={});for(t in n)t in r?e[t]=l(r[t],n[t]):i[t]=n[t];return function(f){for(t in e)i[t]=e[t](f);return i}}function l(r,n){var e=typeof n,i;return n==null||e==="boolean"?y(n):(e==="number"?u:e==="string"?(i=a(n))?(n=i,c):p:n instanceof a?c:n instanceof Date?h:m(n)?g:Array.isArray(n)?A:typeof n.valueOf!="function"&&typeof n.toString!="function"||isNaN(n)?v:u)(r,n)}export{l as i};
