!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{})}(this,function(e){"use strict";function m(){return i||"undefined"!=typeof window&&(i=window.gsap)}function p(t){return c(t).id}function q(t){return f[p("string"==typeof t?g(t)[0]:t)]}function r(t){var e,r=o;if(.05<=t-s)for(s=t;r;)((e=r.g(r.t,r.p))!==r.v1||.2+s.max+1e-10?(d=s.unitFactor||P.unitFactors[a]||1,(p=f>s.max&&s.min!==s.max||-15p&&(k||s.preventOvershoot?l=s.min-c:g=s.min-c-l)),this._props.push(a),this._pt=new A(this._pt,t,a,c,0,Q,0,v.set(t,a,this)),this._pt.u=u||0,this._pt.c1=l,this._pt.c2=g);return r.duration(w),1},render:function render(t,e){var r=e._pt;for(t=k(e.tween._time/e.tween._dur);r;)r.set(r.t,r.p,U(r.s+r.c1*t+r.c2*t*t)+r.u,r.d,t),r=r._next}};"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach(function(t){return R[t]=v[t]}),J()&&h.registerPlugin(R),e.InertiaPlugin=R,e.VelocityTracker=v,e.default=R;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});