PageSourceSearch

https://alfred-rexroth.de/wp-content/plugins/ddpro/build/tina/js/MotionPathPlugin.min.js?ver=7.1.2

js alfred-rexroth.de collected 2026-10-05 08:38:50 UTC 19,218 bytes, 1 lines download raw bytes

vendor: 19,181 bytes, line 1
1!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(t){"use strict";function e(t){return"string"==typeof t}function n(t){return Math.round(1e10*t)/1e10||0}function r(t,e,n,r){var o=t[e],i=1===r?6:O(o,n,r);if(i&&i+n+2<o.length)return t.splice(e,0,o.slice(0,n+i+2)),o.splice(0,n+i),1}function o(t,e){var n=t.length,r=t[n-1]||[],o=r.length;n&&e[0]===r[o-2]&&e[1]===r[o-1]&&(e=r.concat(e.slice(2)),n--),t[n]=e}var i=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,a=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,s=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/gi,l=/(^[#\.][a-z]|[a-y][a-z])/i,h=Math.PI/180,u=180/Math.PI,f=Math.sin,p=Math.cos,g=Math.abs,c=Math.sqrt,d=Math.atan2,m=1e8,y=function(t){return"number"==typeof t},v={},x={},w=1e5,P=function(t){return Math.round((t+m)%1*w)/w||(t<0?0:1)},b=function(t){return Math.round(t*w)/w||0},L=function(t,e){return e.totalLength=t.totalLength,t.samples?(e.samples=t.samples.slice(0),e.lookup=t.lookup.slice(0),e.minLength=t.minLength,e.resolution=t.resolution):t.totalPoints&&(e.totalPoints=t.totalPoints),e};function M(t){var n,r=(t=e(t)&&l.test(t)&&document.querySelector(t)||t).getAttribute?t:0;return r&&(t=t.getAttribute("d"))?(r._gsPath||(r._gsPath={}),(n=r._gsPath[t])&&!n._dirty?n:r._gsPath[t]=V(t)):t?e(t)?V(t):y(t[0])?[t]:t:console.warn("Expecting a <path> element or an SVG path data string")}function N(t){var e,n=0;for(t.reverse();n<t.length;n+=2)e=t[n],t[n]=t[n+1],t[n+1]=e;t.reversed=!t.reversed}var C={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"};function T(t,e,n){var r,o=t[e],i=t[e+2],a=t[e+4];return o+=(i-o)*n,o+=((i+=(a-i)*n)-o)*n,r=i+(a+(t[e+6]-a)*n-i)*n-o,o=t[e+1],o+=((i=t[e+3])-o)*n,o+=((i+=((a=t[e+5])-i)*n)-o)*n,b(d(i+(a+(t[e+7]-a)*n-i)*n-o,r)*u)}function A(t,e,i){i=function(t){return void 0===t}(i)?1:n(i)||0,e=n(e)||0;var a=Math.max(0,~~(g(i-e)-1e-8)),s=function(t){for(var e=[],n=0;n<t.length;n++)e[n]=L(t[n],t[n].slice(0));return L(t,e)}(t);if(i<e&&(e=1-e,i=1-i,function(t,e){var n=t.length;for(e||t.reverse();n--;)t[n].reversed||N(t[n])}(s),s.totalLength=0),e<0||i<0){var l=Math.abs(~~Math.min(e,i))+1;e+=l,i+=l}s.totalLength||_(s);var h,u,f,p,c,d,m,y,w=1<i,P=S(s,e,v,!0),b=S(s,i,x),M=b.segment,C=P.segment,A=b.segIndex,B=P.segIndex,R=b.i,I=P.i,E=B===A,V=R===I&&E;if(w||a){for(h=A<B||E&&R<I||V&&b.t<P.t,r(s,B,I,P.t)&&(B++,h||(A++,V?(b.t=(b.t-P.t)/(1-P.t),R=0):E&&(R-=I))),1-(i-e)<1e-5?A=B-1:!b.t&&A?A--:r(s,A,R,b.t)&&h&&B++,1===P.t&&(B=(B+1)%s.length),c=[],m=1+(d=s.length)*a,m+=(d-(y=B)+A)%d,p=0;p<m;p++)o(c,s[y++%d]);s=c}else if(f=1===b.t?6:O(M,R,b.t),e!==i)for(u=O(C,I,V?P.t/b.t:P.t),E&&(f+=u),M.splice(R+f+2),(u||I)&&C.splice(0,I+u),p=s.length;p--;)(p<B||A<p)&&s.splice(p,1);else M.angle=T(M,R+f,0),P=M[R+=f],b=M[R+1],M.length=M.totalLength=0,M.totalPoints=s.totalPoints=8,M.push(P,b,P,b,P,b,P,b);return s.totalLength=0,s}function B(t,e,n){e=e||0,t.samples||(t.samples=[],t.lookup=[]);var r,o,i,a,s,l,h,u,f,p,d,y,v,x,w,P,b,L=~~t.resolution||12,M=1/L,N=n?e+6*n+1:t.length,C=t[e],T=t[e+1],A=e?e/6*L:0,B=t.samples,_=t.lookup,O=(e?t.minLength:m)||m,S=B[A+n*L-1],R=e?B[A-1]:0;for(B.length=_.length=0,o=e+2;o<N;o+=6){if(i=t[o+4]-C,a=t[o+2]-C,s=t[o]-C,u=t[o+5]-T,f=t[o+3]-T,p=t[o+1]-T,l=h=d=y=0,g(i)<1e-5&&g(u)<1e-5&&g(s)+g(p)<1e-5)8<t.length&&(t.splice(o,6),o-=6,N-=6);else for(r=1;r<=L;r++)l=h-(h=((x=M*r)*x*i+3*(v=1-x)*(x*a+v*s))*x),d=y-(y=(x*x*u+3*v*(x*f+v*p))*x),(P=c(d*d+l*l))<O&&(O=P),R+=P,B[A++]=R;C+=i,T+=u}if(S)for(S-=R;A<B.length;A++)B[A]+=S;if(B.length&&O)for(t.totalLength=b=B[B.length-1]||0,t.minLength=O,P=w=0,r=0;r<b;r+=O)_[P++]=B[w]<r?++w:w;else t.totalLength=B[0]=0;return e?R-B[e/2-1]:R}function _(t,e){var n,r,o;for(o=n=r=0;o<t.length;o++)t[o].resolution=~~e||12,r+=t[o].length,n+=B(t[o]);return t.totalPoints=r,t.totalLength=n,t}function O(t,e,n){if(n<=0||1<=n)return 0;var r=t[e],o=t[e+1],i=t[e+2],a=t[e+3],s=t[e+4],l=t[e+5],h=r+(i-r)*n,u=i+(s-i)*n,f=o+(a-o)*n,p=a+(l-a)*n,g=h+(u-h)*n,c=f+(p-f)*n,d=s+(t[e+6]-s)*n,m=l+(t[e+7]-l)*n;return u+=(d-u)*n,p+=(m-p)*n,t.splice(e+2,4,b(h),b(f),b(g),b(c),b(g+(u-g)*n),b(c+(p-c)*n),b(u),b(p),b(d),b(m)),t.samples&&t.samples.splice(e/6*t.resolution|0,0,0,0,0,0,0,0),6}function S(t,e,n,r){n=n||{},t.totalLength||_(t),(e<0||1<e)&&(e=P(e));var o,i,a,s,l,h,u,f=0,p=t[0];if(e)if(1===e)u=1,h=(p=t[f=t.length-1]).length-8;else{if(1<t.length){for(a=t.totalLength*e,l=h=0;(l+=t[h++].totalLength)<a;)f=h;e=(a-(s=l-(p=t[f]).totalLength))/(l-s)||0}o=p.samples,i=p.resolution,a=p.totalLength*e,s=(h=p.lookup[~~(a/p.minLength)]||0)?o[h-1]:0,(l=o[h])<a&&(s=l,l=o[++h]),u=1/i*((a-s)/(l-s)+h%i),h=6*~~(h/i),r&&1===u&&(h+6<p.length?(h+=6,u=0):f+1<t.length&&(h=u=0,p=t[++f]))}else u=h=f=0,p=t[0];return n.t=u,n.i=h,n.path=t,n.segment=p,n.segIndex=f,n}function R(t,e,n,r){var o,i,a,s,l,h,u,f,p,g=t[0],c=r||{};if((e<0||1<e)&&(e=P(e)),1<t.length){for(a=t.totalLength*e,l=h=0;(l+=t[h++].totalLength)<a;)g=t[h];e=(a-(s=l-g.totalLength))/(l-s)||0}return o=g.samples,i=g.resolution,a=g.totalLength*e,s=(h=g.lookup[e<1?~~(a/g.minLength):g.lookup.length-1]||0)?o[h-1]:0,(l=o[h])<a&&(s=l,l=o[++h]),p=1-(u=1/i*((a-s)/(l-s)+h%i)||0),f=g[h=6*~~(h/i)],c.x=b((u*u*(g[h+6]-f)+3*p*(u*(g[h+4]-f)+p*(g[h+2]-f)))*u+f),c.y=b((u*u*(g[h+7]-(f=g[h+1]))+3*p*(u*(g[h+5]-f)+p*(g[h+3]-f)))*u+f),n&&(c.angle=g.totalLength?T(g,h,1<=u?1-1e-9:u||1e-9):g.angle||0),c}function I(t,e,n,r,o,i,a){for(var s,l,h,u,f,p=t.length;-1<--p;)for(l=(s=t[p]).length,h=0;h<l;h+=2)u=s[h],f=s[h+1],s[h]=u*e+f*r+i,s[h+1]=u*n+f*o+a;return t._dirty=1,t}function E(t,e,n,r,o,i,a,s,l){if(t!==s||e!==l){n=g(n),r=g(r);var u=o%360*h,d=p(u),m=f(u),y=Math.PI,v=2*y,x=(t-s)/2,w=(e-l)/2,P=d*x+m*w,b=-m*x+d*w,L=P*P,M=b*b,N=L/(n*n)+M/(r*r);1<N&&(n=c(N)*n,r=c(N)*r);var C=n*n,T=r*r,A=(C*T-C*M-T*L)/(C*M+T*L);A<0&&(A=0);var B=(i===a?-1:1)*c(A),_=n*b/r*B,O=-r*P/n*B,S=d*_-m*O+(t+s)/2,R=m*_+d*O+(e+l)/2,I=(P-_)/n,E=(b-O)/r,V=(-P-_)/n,k=(-b-O)/r,z=I*I+E*E,X=(E<0?-1:1)*Math.acos(I/c(z)),Y=(I*k-E*V<0?-1:1)*Math.acos((I*V+E*k)/c(z*(V*V+k*k)));isNaN(Y)&&(Y=y),!a&&0<Y?Y-=v:a&&Y<0&&(Y+=v),X%=v,Y%=v;var j,G=Math.ceil(g(Y)/(v/4)),q=[],F=Y/G,H=4/3*f(F/2)/(1+p(F/2)),U=d*n,Z=m*n,D=m*-r,Q=d*r;for(j=0;j<G;j++)P=p(o=X+j*F),b=f(o),I=p(o+=F),E=f(o),q.push(P-H*b,b+H*P,I+H*E,E-H*I,I,E);for(j=0;j<q.length;j+=2)P=q[j],b=q[j+1],q[j]=P*U+b*D+S,q[j+1]=P*Z+b*Q+R;return q[j-2]=s,q[j-1]=l,q}}function V(t){function e(t,e,n,r){c=(n-t)/3,d=(r-e)/3,u.push(t+c,e+d,n-c,r-d,n,r)}var n,r,o,a,l,h,u,f,p,c,d,m,y,v,x,w=(t+"").replace(s,function(t){var e=+t;return e<1e-4&&-1e-4<e?0:e}).match(i)||[],P=[],b=0,L=0,M=w.length,N=0,C="ERROR: malformed path: "+t;if(!t||!isNaN(w[0])||isNaN(w[1]))return console.log(C),P;for(n=0;n<M;n++)if(y=l,isNaN(w[n])?h=(l=w[n].toUpperCase())!==w[n]:n--,o=+w[n+1],a=+w[n+2],h&&(o+=b,a+=L),n||(f=o,p=a),"M"===l)u&&(u.length<8?--P.length:N+=u.length),b=f=o,L=p=a,u=[o,a],P.push(u),n+=2,l="L";else if("C"===l)h||(b=L=0),(u=u||[0,0]).push(o,a,b+1*w[n+3],L+1*w[n+4],b+=1*w[n+5],L+=1*w[n+6]),n+=6;else if("S"===l)c=b,d=L,"C"!==y&&"S"!==y||(c+=b-u[u.length-4],d+=L-u[u.length-3]),h||(b=L=0),u.push(c,d,o,a,b+=1*w[n+3],L+=1*w[n+4]),n+=4;else if("Q"===l)c=b+2/3*(o-b),d=L+2/3*(a-L),h||(b=L=0),b+=1*w[n+3],L+=1*w[n+4],u.push(c,d,b+2/3*(o-b),L+2/3*(a-L),b,L),n+=4;else if("T"===l)c=b-u[u.length-4],d=L-u[u.length-3],u.push(b+c,L+d,o+2/3*(b+1.5*c-o),a+2/3*(L+1.5*d-a),b=o,L=a),n+=2;else if("H"===l)e(b,L,b=o,L),n+=1;else if("V"===l)e(b,L,b,L=o+(h?L-b:0)),n+=1;else if("L"===l||"Z"===l)"Z"===l&&(o=f,a=p,u.closed=!0),("L"===l||.5<g(b-o)||.5<g(L-a))&&(e(b,L,o,a),"L"===l&&(n+=2)),b=o,L=a;else if("A"===l){if(v=w[n+4],x=w[n+5],c=w[n+6],d=w[n+7],r=7,1<v.length&&(v.length<3?(d=c,c=x,r--):(d=x,c=v.substr(2),r-=2),x=v.charAt(1),v=v.charAt(0)),m=E(b,L,+w[n+1],+w[n+2],+w[n+3],+v,+x,(h?b:0)+1*c,(h?L:0)+1*d),n+=r,m)for(r=0;r<m.length;r++)u.push(m[r]);b=u[u.length-2],L=u[u.length-1]}else console.log(C);return(n=u.length)<6?(P.pop(),n=0):u[0]===u[n-2]&&u[1]===u[n-1]&&(u.closed=!0),P.totalPoints=N+n,P}function k(t,e,n){g(t[0]-t[2])<1e-4&&g(t[1]-t[3])<1e-4&&(t=t.slice(2));var r,o,i,a,s,l,h,u,m,y,v,x,w,P,L=t.length-2,M=+t[0],N=+t[1],C=+t[2],T=+t[3],A=[M,N,M,N],B=C-M,_=T-N,O=Math.abs(t[L]-M)<.001&&Math.abs(t[L+1]-N)<.001;for(isNaN(n)&&(n=Math.PI/10),O&&(t.push(C,T),C=M,T=N,M=t[L-2],N=t[L-1],t.unshift(M,N),L+=4),e=e||0===e?+e:1,s=2;s<L;s+=2)r=M,o=N,M=C,N=T,C=+t[s+2],T=+t[s+3],M===C&&N===T||(x=(l=B)*l+(u=_)*u,w=(B=C-M)*B+(_=T-N)*_,P=(h=C-r)*h+(m=T-o)*m,v=(i=Math.acos((x+w-P)/c(4*x*w)))/Math.PI*e,y=c(x)*v,v*=c(w),M===r&&N===o||(n<i?(a=d(m,h),A.push(b(M-p(a)*y),b(N-f(a)*y),b(M),b(N),b(M+p(a)*v),b(N+f(a)*v))):(a=d(u,l),A.push(b(M-p(a)*y),b(N-f(a)*y)),a=d(_,B),A.push(b(M),b(N),b(M+p(a)*v),b(N+f(a)*v)))));return M!==C||N!==T||A.length<4?A.push(b(C),b(T),b(C),b(T)):A.length-=2,O&&(A.splice(0,6),A.length=A.length-6),A}function z(t){y(t[0])&&(t=[t]);var e,n,r,o,i="",a=t.length;for(n=0;n<a;n++){for(o=t[n],i+="M"+b(o[0])+","+b(o[1])+" C",e=o.length,r=2;r<e;r++)i+=b(o[r++])+","+b(o[r++])+" "+b(o[r++])+","+b(o[r++])+" "+b(o[r++])+","+b(o[r])+" ";o.closed&&(i+="z")}return i}function X(t){var e=t.ownerDocument||t;!($ in t.style)&&"msTransform"in t.style&&(tt=($="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(H=window,W=new rt,e){U=(F=e).documentElement,Z=e.body;var n=e.createElement("div"),r=e.createElement("div");Z.appendChild(n),n.appendChild(r),n.style.position="static",n.style[$]="translate3d(0,0,1px)",J=r.offsetParent!==n,Z.removeChild(n)}return e}function Y(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)}function j(t,e){if(t.parentNode&&(F||X(t))){var n=Y(t),r=n?n.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",o=n?e?"rect":"g":"div",i=2!==e?0:100,a=3===e?100:0,s="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",l=F.createElementNS?F.createElementNS(r.replace(/^https/,"http"),o):F.createElement(o);return e&&(n?(Q=Q||j(t),l.setAttribute("width",.01),l.setAttribute("height",.01),l.setAttribute("transform","translate("+i+","+a+")"),Q.appendChild(l)):(D||((D=j(t)).style.cssText=s),l.style.cssText=s+"width:0.1px;height:0.1px;top:"+a+"px;left:"+i+"px",D.appendChild(l))),l}throw"Need document and parent."}function G(t,e){var n,r,o,i,a,s,l=Y(t),h=t===l,u=l?et:nt,f=t.parentNode;if(t===H)return t;if(u.length||u.push(j(t,1),j(t,2),j(t,3)),n=l?Q:D,l)o=h?{x:0,y:0}:t.getBBox(),a=(r=t.transform?t.transform.baseVal:{}).numberOfItems?(i=(r=1<r.numberOfItems?function(t){for(var e=new rt,n=0;n<t.numberOfItems;n++)e.multiply(t.getItem(n).matrix);return e}(r):r.getItem(0).matrix).a*o.x+r.c*o.y,r.b*o.x+r.d*o.y):(r=W,i=o.x,o.y),e&&"g"===t.tagName.toLowerCase()&&(i=a=0),(h?l:f).appendChild(n),n.setAttribute("transform","matrix("+r.a+","+r.b+","+r.c+","+r.d+","+(r.e+i)+","+(r.f+a)+")");else{if(i=a=0,J)for(r=t.offsetParent,o=t;(o=o&&o.parentNode)&&o!==r&&o.parentNode;)4<(H.getComputedStyle(o)[$]+"").length&&(i=o.offsetLeft,a=o.offsetTop,o=0);if("absolute"!==(s=H.getComputedStyle(t)).position)for(r=t.offsetParent;f&&f!==r;)i+=f.scrollLeft||0,a+=f.scrollTop||0,f=f.parentNode;(o=n.style).top=t.offsetTop-a+"px",o.left=t.offsetLeft-i+"px",o[$]=s[$],o[tt]=s[tt],o.position="fixed"===s.position?"fixed":"absolute",t.parentNode.appendChild(n)}return n}function q(t,e,n,r,o,i,a){return t.a=e,t.b=n,t.c=r,t.d=o,t.e=i,t.f=a,t}var F,H,U,Z,D,Q,W,J,K,$="transform",tt=$+"Origin",et=[],nt=[],rt=((K=ot.prototype).inverse=function(){var t=this.a,e=this.b,n=this.c,r=this.d,o=this.e,i=this.f,a=t*r-e*n||1e-10;return q(this,r/a,-e/a,-n/a,t/a,(n*i-r*o)/a,-(t*i-e*o)/a)},K.multiply=function(t){var e=this.a,n=this.b,r=this.c,o=this.d,i=this.e,a=this.f,s=t.a,l=t.c,h=t.b,u=t.d,f=t.e,p=t.f;return q(this,s*e+h*r,s*n+h*o,l*e+u*r,l*n+u*o,i+f*e+p*r,a+f*n+p*o)},K.clone=function(){return new ot(this.a,this.b,this.c,this.d,this.e,this.f)},K.equals=function(t){var e=this.a,n=this.b,r=this.c,o=this.d,i=this.e,a=this.f;return e===t.a&&n===t.b&&r===t.c&&o===t.d&&i===t.e&&a===t.f},K.apply=function(t,e){void 0===e&&(e={});var n=t.x,r=t.y,o=this.a,i=this.b,a=this.c,s=this.d,l=this.e,h=this.f;return e.x=n*o+r*a+l||0,e.y=n*i+r*s+h||0,e},ot);function ot(t,e,n,r,o,i){void 0===t&&(t=1),void 0===e&&(e=0),void 0===n&&(n=0),void 0===r&&(r=1),void 0===o&&(o=0),void 0===i&&(i=0),q(this,t,e,n,r,o,i)}function it(t,e,n,r){if(!t||!t.parentNode||(F||X(t)).documentElement===t)return new rt;var o=function(t){for(var e,n;t&&t!==Z;)(n=t._gsap)&&n.uncache&&n.get(t,"x"),n&&!n.scaleX&&!n.scaleY&&n.renderTransform&&(n.scaleX=n.scaleY=1e-4,n.renderTransform(1,n),e?e.push(n):e=[n]),t=t.parentNode;return e}(t),i=Y(t)?et:nt,a=G(t,n),s=i[0].getBoundingClientRect(),l=i[1].getBoundingClientRect(),h=i[2].getBoundingClientRect(),u=a.parentNode,f=!r&&function t(e){return"fixed"===H.getComputedStyle(e).position||((e=e.parentNode)&&1===e.nodeType?t(e):void 0)}(t),p=new rt((l.left-s.left)/100,(l.top-s.top)/100,(h.left-s.left)/100,(h.top-s.top)/100,s.left+(f?0:H.pageXOffset||F.scrollLeft||U.scrollLeft||Z.scrollLeft||0),s.top+(f?0:H.pageYOffset||F.scrollTop||U.scrollTop||Z.scrollTop||0));if(u.removeChild(a),o)for(s=o.length;s--;)(l=o[s]).scaleX=l.scaleY=0,l.renderTransform(1,l);return e?p.inverse():p}function at(t,e,n,r){for(var o=e.length,i=2===r?0:r,a=0;a<o;a++)t[i]=parseFloat(e[a][n]),2===r&&(t[i+1]=0),i+=2;return t}function st(t,e,n){return parseFloat(t._gsap.get(t,e,n||"px"))||0}function lt(t){var e,n=t[0],r=t[1];for(e=2;e<t.length;e+=2)n=t[e]+=n,r=t[e+1]+=r}function ht(t,e,n,r,o,i,a,s,l){return e="cubic"===a.type?[e]:(e.unshift(st(n,r,s),o?st(n,o,l):0),a.relative&&lt(e),[(o?k:function(t,e){void 0===e&&(e=1);for(var n=t[0],r=0,o=[n,r],i=2;i<t.length;i+=2)o.push(n,r,t[i],r=(t[i]-n)*e/2,n=t[i],-r);return o})(e,a.curviness)]),e=i(Pt(e,n,a)),bt(t,n,r,e,"x",s),o&&bt(t,n,o,e,"y",l),_(e,a.resolution||(0===a.curviness?20:12))}function ut(t){return t}function ft(t,e,n){var r,o,i,a=it(t);return"svg"===(t.tagName+"").toLowerCase()?(o=(r=t.viewBox.baseVal).x,i=r.y,r.width||(r={width:+t.getAttribute("width"),height:+t.getAttribute("height")})):(r=e&&t.getBBox&&t.getBBox(),o=i=0),e&&"auto"!==e&&(o+=e.push?e[0]*(r?r.width:t.offsetWidth||0):e.x,i+=e.push?e[1]*(r?r.height:t.offsetHeight||0):e.y),n.apply(o||i?a.apply({x:o,y:i}):{x:a.e,y:a.f})}function pt(t,e,n,r){var o,i=it(t.parentNode,!0,!0),a=i.clone().multiply(it(e)),s=ft(t,n,i),l=ft(e,r,i),h=l.x,u=l.y;return a.e=a.f=0,"auto"===r&&e.getTotalLength&&"path"===e.tagName.toLowerCase()&&(o=e.getAttribute("d").match(wt)||[],h+=(o=a.apply({x:+o[0],y:+o[1]})).x,u+=o.y),(o||e.getBBox&&t.getBBox&&e.ownerSVGElement===t.ownerSVGElement)&&(h-=(o=a.apply(e.getBBox())).x,u-=o.y),a.e=h-s.x,a.f=u-s.y,a}var gt,ct,dt,mt,yt="x,translateX,left,marginLeft,xPercent".split(","),vt="y,translateY,top,marginTop,yPercent".split(","),xt=Math.PI/180,wt=/[-+\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/g,Pt=function(t,e,n){var r,o,i,a=n.align,s=n.matrix,l=n.offsetX,h=n.offsetY,u=n.alignOrigin,f=t[0][0],p=t[0][1],g=st(e,"x"),c=st(e,"y");return t&&t.length?(a&&("self"===a||(r=mt(a)[0]||e)===e?I(t,1,0,0,1,g-f,c-p):(u&&!1!==u[2]?gt.set(e,{transformOrigin:100*u[0]+"% "+100*u[1]+"%"}):u=[st(e,"xPercent")/-100,st(e,"yPercent")/-100],i=(o=pt(e,r,u,"auto")).apply({x:f,y:p}),I(t,o.a,o.b,o.c,o.d,g+o.e-(i.x-o.e),c+o.f-(i.y-o.f)))),s?I(t,s.a,s.b,s.c,s.d,s.e,s.f):(l||h)&&I(t,1,0,0,1,l||0,h||0),t):M("M0,0L0,0")},bt=function(t,e,n,r,o,i){var a=e._gsap,s=a.harness,l=s&&s.aliases&&s.aliases[n],h=l&&l.indexOf(",")<0?l:n,u=t._pt=new ct(t._pt,e,h,0,0,ut,0,a.set(e,h,t));u.u=dt(a.get(e,h,i))||0,u.path=r,u.pp=o,t._props.push(h)},Lt={version:"3.6.1",name:"motionPath",register:function(t,e,n){dt=(gt=t).utils.getUnit,mt=gt.utils.toArray,ct=n},init:function(t,e){if(!gt)return console.warn("Please gsap.registerPlugin(MotionPathPlugin)"),!1;"object"==typeof e&&!e.style&&e.path||(e={path:e});var n,r,o=[],i=e.path,a=e.autoRotate,s=e.unitX,l=e.unitY,h=e.x,u=e.y,f=i[0],p=function(t,e){return function(n){return t||1!==e?A(n,t,e):n}}(e.start,"end"in e?e.end:1);if(this.rawPaths=o,this.target=t,(this.rotate=a||0===a)&&(this.rOffset=parseFloat(a)||0,this.radians=!!e.useRadians,this.rProp=e.rotation||"rotation",this.rSet=t._gsap.set(t,this.rProp,this),this.ru=dt(t._gsap.get(t,this.rProp))||0),!Array.isArray(i)||"closed"in i||"number"==typeof f)_(n=p(Pt(M(e.path),t,e)),e.resolution),o.push(n),bt(this,t,e.x||"x",n,"x",e.unitX||"px"),bt(this,t,e.y||"y",n,"y",e.unitY||"px");else{for(r in f)!h&&~yt.indexOf(r)?h=r:!u&&~vt.indexOf(r)&&(u=r);for(r in h&&u?o.push(ht(this,at(at([],i,h,0),i,u,1),t,h,u,p,e,s||dt(i[0][h]),l||dt(i[0][u]))):h=u=0,f)r!==h&&r!==u&&o.push(ht(this,at([],i,r,2),t,r,0,p,e,dt(i[0][r])))}},render:function(t,e){var n=e.rawPaths,r=n.length,o=e._pt;for(1<t?t=1:t<0&&(t=0);r--;)R(n[r],t,!r&&e.rotate,n[r]);for(;o;)o.set(o.t,o.p,o.path[o.pp]+o.u,o.d,t),o=o._next;e.rotate&&e.rSet(e.target,e.rProp,n[0].angle*(e.radians?xt:1)+e.rOffset+e.ru,e,t)},getLength:function(t){return _(M(t)).totalLength},sliceRawPath:A,getRawPath:M,pointsToSegment:k,stringToRawPath:V,rawPathToString:z,transformRawPath:I,getGlobalMatrix:it,getPositionOnPath:R,cacheRawPathMeasurements:_,convertToPath:function(t,e){return mt(t).map(function(t){return function(t,e){var n,r,o,i,s,l,h,u,f,p,g,c,d,m,y,v,x,w,P,b,L,M,N=t.tagName.toLowerCase(),T=.552284749831;return"path"!==N&&t.getBBox?(l=function(t,e){var n,r=document.createElementNS("http://www.w3.org/2000/svg","path"),o=[].slice.call(t.attributes),i=o.length;for(e=","+e+",";-1<--i;)n=o[i].nodeName.toLowerCase(),e.indexOf(","+n+",")<0&&r.setAttributeNS(null,n,o[i].nodeValue);return r}(t,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points"),M=function(t,e){for(var n=e?e.split(","):[],r={},o=n.length;-1<--o;)r[n[o]]=+t.getAttribute(n[o])||0;return r}(t,C[N]),"rect"===N?(i=M.rx,s=M.ry||i,r=M.x,o=M.y,p=M.width-2*i,g=M.height-2*s,n=i||s?"M"+(v=(m=(d=r+i)+p)+i)+","+(w=o+s)+" V"+(P=w+g)+" C"+[v,b=P+s*T,y=m+i*T,L=P+s,m,L,m-(m-d)/3,L,d+(m-d)/3,L,d,L,c=r+i*(1-T),L,r,b,r,P,r,P-(P-w)/3,r,w+(P-w)/3,r,w,r,x=o+s*(1-T),c,o,d,o,d+(m-d)/3,o,m-(m-d)/3,o,m,o,y,o,v,x,v,w].join(",")+"z":"M"+(r+p)+","+o+" v"+g+" h"+-p+" v"+-g+" h"+p+"z"):"circle"===N||"ellipse"===N?(u="circle"===N?(i=s=M.r)*T:(i=M.rx,(s=M.ry)*T),n="M"+((r=M.cx)+i)+","+(o=M.cy)+" C"+[r+i,o+u,r+(h=i*T),o+s,r,o+s,r-h,o+s,r-i,o+u,r-i,o,r-i,o-u,r-h,o-s,r,o-s,r+h,o-s,r+i,o-u,r+i,o].join(",")+"z"):"line"===N?n="M"+M.x1+","+M.y1+" L"+M.x2+","+M.y2:"polyline"!==N&&"polygon"!==N||(n="M"+(r=(f=(t.getAttribute("points")+"").match(a)||[]).shift())+","+(o=f.shift())+" L"+f.join(","),"polygon"===N&&(n+=","+r+","+o+"z")),l.setAttribute("d",z(l._gsRawPath=V(n))),e&&t.parentNode&&(t.parentNode.insertBefore(l,t),t.parentNode.removeChild(t)),l):t}(t,!1!==e)})},convertCoordinates:function(t,e,n){var r=it(e,!0,!0).multiply(it(t));return n?r.apply(n):r},getAlignMatrix:pt,getRelativePosition:function(t,e,n,r){var o=pt(t,e,n,r);return{x:o.e,y:o.f}},arrayToRawPath:function(t,e){var n=at(at([],t,(e=e||{}).x||"x",0),t,e.y||"y",1);return e.relative&&lt(n),["cubic"===e.type?n:k(n,e.curviness)]}};!(gt||"undefined"!=typeof window&&(gt=window.gsap)&&gt.registerPlugin&&gt)||gt.registerPlugin(Lt),t.MotionPathPlugin=Lt,t.default=Lt,"undefined"==typeof window||window!==t?Object.defineProperty(t,"__esMo
1dule",{value:!0}):delete t.default});

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.