/*! * InertiaPlugin 3.11.4 * https://greensock.com * * @license Copyright 2022, GreenSock. All rights reserved. * This plugin is a membership benefit of Club GreenSock and is only authorized for use in sites/apps/products developed by individuals/companies with an active Club GreenSock membership. See https://greensock.com/club * @author: Jack Doyle, jack@greensock.com */ !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?(v=s.unitFactor||V.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.styles&&this.styles.save(a),this._pt=new M(this._pt,t,a,c,0,S,0,d.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;if((t=k(e.tween._time/e.tween._dur))||!w())for(;r;)r.set(r.t,r.p,W(r.s+r.c1*t+r.c2*t*t)+r.u,r.d,t),r=r._next;else e.styles.revert()}};"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach(function(t){return D[t]=d[t]}),L()&&h.registerPlugin(D),e.InertiaPlugin=D,e.VelocityTracker=d,e.default=D;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});