1/*! For license information please see 4423.adcae30daee6ffe3c945.bundle.mjs.LICENSE.txt */ 2"use strict";(self.webpackChunksocialUX=self.webpackChunksocialUX||[]).push([[4423],{4423:function(t,e,n){n.r(e),n.d(e,{InertiaPlugin:function(){return Z},VelocityTracker:function(){return k},default:function(){return Z}});var i,r,o,s,a,c,u,f,p=function(){return i||"undefined"!=typeof window&&(i=window.gsap)},l={},g=function(t){return f(t).id},v=function(t){return l[g("string"==typeof t?o(t)[0]:t)]},h=function(t){var e,n=a;if(t-u>=.05)for(u=t;n;)((e=n.g(n.t,n.p))!==n.v1||t-n.t1>.2)&&(n.v2=n.v1,n.v1=e,n.t2=n.t1,n.t1=t),n=n._next},d={deg:360,rad:2*Math.PI},m=function(){(i=p())&&(o=i.utils.toArray,s=i.utils.getUnit,f=i.core.getCache,c=i.ticker,r=1)},y=function(t,e,n,i){this.t=t,this.p=e,this.g=t._gsap.get,this.rCap=d[n||s(this.g(t,e))],this.v1=this.v2=this.g(t,e),this.t1=this.t2=c.time,i&&(this._next=i,i._prev=this)},k=function(){function t(t,e){r||m(),this.target=o(t)[0],l[g(this.target)]=this,this._props={},e&&this.add(e)}t.register=function(t){i=t,m()};var e=t.prototype;return e.get=function(t,e){var n,i,r,o=this._props[t]||console.warn("Not tracking "+t+" velocity.");return n=parseFloat(e?o.v1:o.g(o.t,o.p))-parseFloat(o.v2),(i=o.rCap)&&(n%=i)!=n%(i/2)&&(n=n<0?n+i:n-i),r=n/((e?o.t1:c.time)-o.t2),Math.round(1e4*r)/1e4},e.getAll=function(){var t,e={},n=this._props;for(t in n)e[t]=this.get(t);return e},e.isTracking=function(t){return t in this._props},e.add=function(t,e){var n=this._props[t];n?(n.v1=n.v2=n.g(n.t,n.p),n.t1=n.t2=c.time):(a||(c.add(h),u=c.time),a=this._props[t]=new y(this.target,t,e,a))},e.remove=function(t){var e,n,i=this._props[t];i&&(e=i._prev,n=i._next,e&&(e._next=n),n?n._prev=e:a===i&&(c.remove(h),a=0),delete this._props[t])},e.kill=function(t){for(var e in this._props)this.remove(e);t||delete l[g(this.target)]},t.track=function(e,n,i){r||m();for(var s,a,c=[],u=o(e),f=n.split(","),p=(i||"").split(","),l=u.length;l--;){for(s=v(u[l])||new t(u[l]),a=f.length;a--;)s.add(f[a],p[a]||p[0]);c.push(s)}return c},t.untrack=function(t,e){var n=e&&e.split(",");o(t).forEach((function(t){var e=v(t);e&&(n?n.forEach((function(t){return e.remove(t)})):e.kill(1))}))},t.isTracking=function(t,e){var n=v(t);return n&&n.isTracking(e)},t.getVelocity=function(t,e){var n=v(t);return n&&n.isTracking(e)?n.get(e):console.warn("Not tracking velocity of "+e)},t}();k.getByTarget=v,p()&&i.registerPlugin(k);var _,w,x,T,F,N,P,b,M,A,C,E,O,U,B=k.getByTarget,I=function(){return _||"undefined"!=typeof window&&(_=window.gsap)&&_.registerPlugin&&_},R=function(t){return"number"==typeof t},V=function(t){return"object"==typeof t},j=function(t){return"function"==typeof t},S=Array.isArray,X=function(t){return t},q=1e10,z=function(t,e,n){for(var i in e)i in t||i===n||(t[i]=e[i]);return t},D=function t(e){var n,i,r={};for(n in e)r[n]=V(i=e[n])&&!S(i)?t(i):i;return r},G=function(t,e,n,i,r){var o,s,a,c,u=e.length,f=0,p=q;if(V(t)){for(;u--;){for(a in o=e[u],s=0,t)s+=(c=o[a]-t[a])*c;s<p&&(f=u,p=s)}if((r||q)<q&&r<Math.sqrt(p))return t}else for(;u--;)(s=(o=e[u])-t)<0&&(s=-s),s<p&&o>=i&&o<=n&&(f=u,p=s);return e[f]},H=function(t,e,n,i,r,o,s){if("auto"===t.end)return t;var a,c,u=t.end;if(n=isNaN(n)?q:n,i=isNaN(i)?-q:i,V(e)){if(a=e.calculated?e:(j(u)?u(e,s):G(e,u,n,i,o))||e,!e.calculated){for(c in a)e[c]=a[c];e.calculated=!0}a=a[r]}else a=j(u)?u(e,s):S(u)?G(e,u,n,i,o):parseFloat(u);return a>n?a=n:a<i&&(a=i),{max:a,min:a,unitFactor:t.unitFactor}},J=function(t,e,n){return isNaN(t[e])?n:+t[e]},K=function(t,e){return.05*e*t/A},L=function(t,e,n){return Math.abs((e-t)*A/n/.05)},Q={resistance:1,checkpoint:1,preventOvershoot:1,linkedProps:1,radius:1,duration:1},W=function(t,e,n,i){if(e.linkedProps){var r,o,s,a,c,u,f=e.linkedProps.split(","),p={};for(r=0;r<f.length;r++)(s=e[o=f[r]])&&(a=R(s.velocity)?s.velocity:(c=c||B(t))&&c.isTracking(o)?c.get(o):0,u=Math.abs(a/J(s,"resistance",i)),p[o]=parseFloat(n(t,o))+K(a,u));return p}},Y=function(){(_=I())&&(x=_.parseEase,T=_.utils.toArray,P=_.utils.getUnit,M=_.core.getCache,C=_.utils.clamp,O=_.core.getStyleSaver,U=_.core.reverting||function(){},F=x("power3"),A=F(.05),b=_.core.PropTween,_.config({resistance:100,unitFactors:{time:1e3,totalTime:1e3,progress:1e3,totalProgress:1e3}}),N=_.config(),_.registerPlugin(k),w=1)},Z={version:"3.15.0",name:"inertia",register:function(t){_=t,Y()},init:function(t,e,n,i,r){w||Y();var o=B(t);if("auto"===e){if(!o)return void console.warn("No inertia tracking on "+t+". InertiaPlugin.track(target) first.");e=o.getAll()}this.styles=O&&"object"==typeof t.style&&O(t),this.target=t,this.tween=n,E=e;var s,a,c,u,f,p,l,g,v,h=t._gsap,d=h.get,m=e.duration,y=V(m),k=e.preventOvershoot||y&&0===m.overshoot,_=J(e,"resistance",N.resistance),x=R(m)?m:function(t,e,n,i,r,o){if(void 0===n&&(n=10),void 0===i&&(i=.2),void 0===r&&(r=1),void 0===o&&(o=0),"string"==typeof t&&(t=T(t)[0]),!t)return 0;var s,a,c,u,f,p,l,g,v,h,d=0,m=q,y=e.inertia||e,k=M(t).get,_=J(y,"resistance",N.resistance);for(s in h=W(t,y,k,_),y)Q[s]||(a=y[s],V(a)||((g=g||B(t))&&g.isTracking(s)?a=R(a)?{velocity:a}:{velocity:g.get(s)}:(u=+a||0,c=Math.abs(u/_))),V(a)&&(u=R(a.velocity)?a.velocity:(g=g||B(t))&&g.isTracking(s)?g.get(s):0,c=C(i,n,Math.abs(u/J(a,"resistance",_))),p=(f=parseFloat(k(t,s))||0)+K(u,c),"end"in a&&(a=H(a,h&&s in h?h:p,a.max,a.min,s,y.radius,u),o&&(E===e&&(E=y=D(e)),y[s]=z(
2a,y[s],"end"))),"max"in a&&p>+a.max+1e-10?(v=a.unitFactor||N.unitFactors[s]||1,(l=f>a.max&&a.min!==a.max||u*v>-15&&u*v<45?i+.1*(n-i):L(f,a.max,u))+r<m&&(m=l+r)):"min"in a&&p<+a.min-1e-10&&(v=a.unitFactor||N.unitFactors[s]||1,(l=f<a.min&&a.min!==a.max||u*v>-45&&u*v<15?i+.1*(n-i):L(f,a.min,u))+r<m&&(m=l+r)),l>d&&(d=l)),c>d&&(d=c));return d>m&&(d=m),d>n?n:d<i?i:d}(t,e,y&&m.max||10,y&&m.min||.2,y&&"overshoot"in m?+m.overshoot:k?0:1,!0);for(s in e=E,E=0,v=W(t,e,d,_),e)Q[s]||(a=e[s],j(a)&&(a=a(i,t,r)),R(a)?f=a:V(a)&&!isNaN(a.velocity)?f=+a.velocity:o&&o.isTracking(s)?f=o.get(s):console.warn("ERROR: No velocity was defined for "+t+" property: "+s),p=K(f,x),g=0,c=d(t,s),u=P(c),c=parseFloat(c),V(a)&&(l=c+p,"end"in a&&(a=H(a,v&&s in v?v:l,a.max,a.min,s,e.radius,f)),"max"in a&&+a.max<l?k||a.preventOvershoot?p=a.max-c:g=a.max-c-p:"min"in a&&+a.min>l&&(k||a.preventOvershoot?p=a.min-c:g=a.min-c-p)),this._props.push(s),this.styles&&this.styles.save(s),this._pt=new b(this._pt,t,s,c,0,X,0,h.set(t,s,this)),this._pt.u=u||0,this._pt.c1=p,this._pt.c2=g);return n.duration(x),1},render:function(t,e){var n,i=e._pt;if((t=F(e.tween._time/e.tween._dur))||!U())for(;i;)i.set(i.t,i.p,(n=i.s+i.c1*t+i.c2*t*t,Math.round(1e4*n)/1e4+i.u),i.d,t),i=i._next;else e.styles.revert()}};"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach((function(t){return Z[t]=k[t]})),I()&&_.registerPlugin(Z)}}]); 3//# sourceMappingURL=4423.adcae30daee6ffe3c945.bundle.mjs.map
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.