Area restrita - Questionario
This commit is contained in:
+2
-2
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* CSSPlugin 3.14.2
|
||||
* CSSPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* CSSRulePlugin 3.14.2
|
||||
* CSSRulePlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -48,7 +48,7 @@ var gsap,
|
||||
};
|
||||
|
||||
export var CSSRulePlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "cssRule",
|
||||
init: function init(target, value, tween, index, targets) {
|
||||
if (!_checkRegister() || typeof target.cssText === "undefined") {
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* CustomBounce 3.14.2
|
||||
* CustomBounce 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -161,5 +161,5 @@ export var CustomBounce = /*#__PURE__*/function () {
|
||||
return CustomBounce;
|
||||
}();
|
||||
_getGSAP() && gsap.registerPlugin(CustomBounce);
|
||||
CustomBounce.version = "3.14.2";
|
||||
CustomBounce.version = "3.15.0";
|
||||
export { CustomBounce as default };
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* CustomEase 3.14.2
|
||||
* CustomEase 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -367,7 +367,7 @@ export var CustomEase = /*#__PURE__*/function () {
|
||||
|
||||
return CustomEase;
|
||||
}();
|
||||
CustomEase.version = "3.14.2";
|
||||
CustomEase.version = "3.15.0";
|
||||
CustomEase.headless = true;
|
||||
_getGSAP() && gsap.registerPlugin(CustomEase);
|
||||
export { CustomEase as default };
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* CustomWiggle 3.14.2
|
||||
* CustomWiggle 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -157,5 +157,5 @@ export var CustomWiggle = /*#__PURE__*/function () {
|
||||
return CustomWiggle;
|
||||
}();
|
||||
_getGSAP() && gsap.registerPlugin(CustomWiggle);
|
||||
CustomWiggle.version = "3.14.2";
|
||||
CustomWiggle.version = "3.15.0";
|
||||
export { CustomWiggle as default };
|
||||
+3
-3
@@ -3,10 +3,10 @@ function _assertThisInitialized(self) { if (self === void 0) { throw new Referen
|
||||
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
||||
|
||||
/*!
|
||||
* Draggable 3.14.2
|
||||
* Draggable 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -2707,6 +2707,6 @@ _setDefaults(Draggable.prototype, {
|
||||
});
|
||||
|
||||
Draggable.zIndex = 1000;
|
||||
Draggable.version = "3.14.2";
|
||||
Draggable.version = "3.15.0";
|
||||
_getGSAP() && gsap.registerPlugin(Draggable);
|
||||
export { Draggable as default };
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* DrawSVGPlugin 3.14.2
|
||||
* DrawSVGPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -200,7 +200,7 @@ _parse = function _parse(value, length, defaultStart) {
|
||||
};
|
||||
|
||||
export var DrawSVGPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "drawSVG",
|
||||
register: function register(core) {
|
||||
gsap = core;
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* EasePack 3.14.2
|
||||
* EasePack 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -204,7 +204,7 @@ export var EasePack = {
|
||||
|
||||
for (var p in EasePack) {
|
||||
EasePack[p].register = _initCore;
|
||||
EasePack[p].version = "3.14.2";
|
||||
EasePack[p].version = "3.15.0";
|
||||
}
|
||||
|
||||
_getGSAP() && gsap.registerPlugin(SlowMo);
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* EaselPlugin 3.14.2
|
||||
* EaselPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -269,7 +269,7 @@ var gsap,
|
||||
};
|
||||
|
||||
export var EaselPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "easel",
|
||||
init: function init(target, value, tween, index, targets) {
|
||||
if (!_coreInitted) {
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* Flip 3.14.2
|
||||
* Flip 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -1547,7 +1547,7 @@ export var Flip = /*#__PURE__*/function () {
|
||||
|
||||
return Flip;
|
||||
}();
|
||||
Flip.version = "3.14.2"; // function whenImagesLoad(el, func) {
|
||||
Flip.version = "3.15.0"; // function whenImagesLoad(el, func) {
|
||||
// let pending = [],
|
||||
// onLoad = e => {
|
||||
// pending.splice(pending.indexOf(e.target), 1);
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* GSDevTools 3.14.2
|
||||
* GSDevTools 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -1545,7 +1545,7 @@ _merge = function _merge() {
|
||||
}; //if on startup, someone does a timeline.seek(), we need to honor it, so when initialize() is called, it'll check the _recordedRoot._start so that we can use that as an offset. Remember, however, that we call initialize() twice on startup, once after a tick has elapsed just in case someone called GSDevTools.create() before their animation code, so we must record the value (once).
|
||||
|
||||
|
||||
GSDevTools.version = "3.14.2";
|
||||
GSDevTools.version = "3.15.0";
|
||||
GSDevTools.globalRecordingTime = 2;
|
||||
|
||||
GSDevTools.getById = function (id) {
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* InertiaPlugin 3.14.2
|
||||
* InertiaPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -351,7 +351,7 @@ _isArray = Array.isArray,
|
||||
};
|
||||
|
||||
export var InertiaPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "inertia",
|
||||
register: function register(core) {
|
||||
gsap = core;
|
||||
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
||||
|
||||
/*!
|
||||
* MorphSVGPlugin 3.14.2
|
||||
* MorphSVGPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -826,7 +826,7 @@ _recordControlPointData = function _recordControlPointData(rawPath) {
|
||||
};
|
||||
|
||||
export var MorphSVGPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "morphSVG",
|
||||
rawVars: 1,
|
||||
// otherwise "render" would be interpreted as a function-based value.
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* MotionPathHelper 3.14.2
|
||||
* MotionPathHelper 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -376,5 +376,5 @@ MotionPathHelper.editPath = function (path, vars) {
|
||||
return PathEditor.create(path, vars);
|
||||
};
|
||||
|
||||
MotionPathHelper.version = "3.14.2";
|
||||
MotionPathHelper.version = "3.15.0";
|
||||
export { MotionPathHelper as default };
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* MotionPathPlugin 3.14.2
|
||||
* MotionPathPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -216,7 +216,7 @@ _segmentToRawPath = function _segmentToRawPath(plugin, segment, target, x, y, sl
|
||||
};
|
||||
|
||||
export var MotionPathPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "motionPath",
|
||||
register: function register(core, Plugin, propTween) {
|
||||
gsap = core;
|
||||
|
||||
+6
-7
@@ -3,10 +3,10 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||
|
||||
/*!
|
||||
* Observer 3.14.2
|
||||
* Observer 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -199,7 +199,7 @@ var gsap,
|
||||
};
|
||||
},
|
||||
_getEvent = function _getEvent(e, preventDefault) {
|
||||
preventDefault && !e._gsapAllow && e.preventDefault();
|
||||
preventDefault && !e._gsapAllow && e.cancelable !== false && e.preventDefault();
|
||||
return e.changedTouches ? e.changedTouches[0] : e;
|
||||
},
|
||||
_getAbsoluteMax = function _getAbsoluteMax(a) {
|
||||
@@ -231,12 +231,11 @@ var gsap,
|
||||
setTimeout(function () {
|
||||
return _startup = 0;
|
||||
}, 500);
|
||||
|
||||
_setScrollTrigger();
|
||||
|
||||
_coreInitted = 1;
|
||||
}
|
||||
|
||||
ScrollTrigger || _setScrollTrigger(); // Observer might be initted BEFORE ScrollTrigger, so don't put this with the initting code. ScrollTrigger will call Observer.register() when it inits.
|
||||
|
||||
return _coreInitted;
|
||||
};
|
||||
|
||||
@@ -686,7 +685,7 @@ export var Observer = /*#__PURE__*/function () {
|
||||
|
||||
return Observer;
|
||||
}();
|
||||
Observer.version = "3.14.2";
|
||||
Observer.version = "3.15.0";
|
||||
|
||||
Observer.create = function (vars) {
|
||||
return new Observer(vars);
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* Physics2DPlugin 3.14.2
|
||||
* Physics2DPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -55,7 +55,7 @@ var PhysicsProp = function PhysicsProp(target, p, velocity, acceleration, stepsP
|
||||
};
|
||||
|
||||
export var Physics2DPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "physics2D",
|
||||
register: _initCore,
|
||||
init: function init(target, value, tween) {
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* PhysicsPropsPlugin 3.14.2
|
||||
* PhysicsPropsPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -56,7 +56,7 @@ var PhysicsProp = function PhysicsProp(target, p, velocity, acceleration, fricti
|
||||
};
|
||||
|
||||
export var PhysicsPropsPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "physicsProps",
|
||||
register: _initCore,
|
||||
init: function init(target, value, tween) {
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* PixiPlugin 3.14.2
|
||||
* PixiPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -382,7 +382,7 @@ for (i = 0; i < _xyContexts.length; i++) {
|
||||
}
|
||||
|
||||
export var PixiPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "pixi",
|
||||
register: function register(core, Plugin, propTween) {
|
||||
gsap = core;
|
||||
|
||||
+2
-2
@@ -23,7 +23,7 @@ View the <a href="https://gsap.com/docs">full documentation here</a>, including
|
||||
### CDN
|
||||
|
||||
```html
|
||||
<script src="https://cdn.jsdelivr.net/npm/gsap@3.14/dist/gsap.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/gsap@3.15/dist/gsap.min.js"></script>
|
||||
```
|
||||
|
||||
See <a href="https://www.jsdelivr.com/gsap">JSDelivr's dedicated GSAP page</a> for quick CDN links to the core files/plugins. There are more <a href="https://gsap.com/install">installation instructions</a> at gsap.com.
|
||||
@@ -90,4 +90,4 @@ Ask in the friendly <a href="https://gsap.com/community/">GSAP forums</a>. Or sh
|
||||
### License
|
||||
GreenSock's standard "no charge" license can be viewed at <a href="https://gsap.com/standard-license">https://gsap.com/standard-license</a>.
|
||||
|
||||
Copyright (c) 2008-2025, GreenSock. All rights reserved.
|
||||
Copyright (c) 2008-2026, GreenSock. All rights reserved.
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* ScrambleTextPlugin 3.14.2
|
||||
* ScrambleTextPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -65,7 +65,7 @@ _spacesExp = /\s+/g,
|
||||
};
|
||||
|
||||
export var ScrambleTextPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "scrambleText",
|
||||
register: function register(core, Plugin, propTween) {
|
||||
gsap = core;
|
||||
|
||||
+3
-3
@@ -3,10 +3,10 @@ function _defineProperties(target, props) { for (var i = 0; i < props.length; i+
|
||||
function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
|
||||
|
||||
/*!
|
||||
* ScrollSmoother 3.14.2
|
||||
* ScrollSmoother 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -996,7 +996,7 @@ export var ScrollSmoother = /*#__PURE__*/function () {
|
||||
|
||||
return ScrollSmoother;
|
||||
}();
|
||||
ScrollSmoother.version = "3.14.2";
|
||||
ScrollSmoother.version = "3.15.0";
|
||||
|
||||
ScrollSmoother.create = function (vars) {
|
||||
return _mainInstance && vars && _mainInstance.content() === _toArray(vars.content)[0] ? _mainInstance : new ScrollSmoother(vars);
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* ScrollToPlugin 3.14.2
|
||||
* ScrollToPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -125,7 +125,7 @@ var gsap,
|
||||
};
|
||||
|
||||
export var ScrollToPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "scrollTo",
|
||||
rawVars: 1,
|
||||
register: function register(core) {
|
||||
|
||||
+20
-12
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* ScrollTrigger 3.14.2
|
||||
* ScrollTrigger 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -137,11 +137,11 @@ _pointerDownHandler = function _pointerDownHandler() {
|
||||
_endAnimation = function _endAnimation(animation, reversed, pause) {
|
||||
return animation && animation.progress(reversed ? 0 : 1) && pause && animation.pause();
|
||||
},
|
||||
_callback = function _callback(self, func) {
|
||||
_callback = function _callback(self, func, extraParam) {
|
||||
if (self.enabled) {
|
||||
var result = self._ctx ? self._ctx.add(function () {
|
||||
return func(self);
|
||||
}) : func(self);
|
||||
return func(self, extraParam);
|
||||
}) : func(self, extraParam);
|
||||
result && result.totalTime && (self.callbackAnimation = result);
|
||||
}
|
||||
},
|
||||
@@ -162,7 +162,7 @@ _pointerDownHandler = function _pointerDownHandler() {
|
||||
_Height = "Height",
|
||||
_px = "px",
|
||||
_getComputedStyle = function _getComputedStyle(element) {
|
||||
return _win.getComputedStyle(element);
|
||||
return _win.getComputedStyle(element.nodeType === Node.DOCUMENT_NODE ? element.scrollingElement : element);
|
||||
},
|
||||
_makePositionable = function _makePositionable(element) {
|
||||
// if the element already has position: absolute or fixed, leave that, otherwise make it position: relative
|
||||
@@ -190,7 +190,7 @@ _pointerDownHandler = function _pointerDownHandler() {
|
||||
skewX: 0,
|
||||
skewY: 0
|
||||
}).progress(1),
|
||||
bounds = element.getBoundingClientRect();
|
||||
bounds = element.getBoundingClientRect ? element.getBoundingClientRect() : element.scrollingElement.getBoundingClientRect();
|
||||
tween && tween.progress(0).kill();
|
||||
return bounds;
|
||||
},
|
||||
@@ -332,7 +332,7 @@ _pointerDownHandler = function _pointerDownHandler() {
|
||||
var e = _doc.createElement("div"),
|
||||
useFixedPosition = _isViewport(container) || _getProxyProp(container, "pinType") === "fixed",
|
||||
isScroller = type.indexOf("scroller") !== -1,
|
||||
parent = useFixedPosition ? _body : container,
|
||||
parent = useFixedPosition ? _body : container.tagName === "IFRAME" ? container.contentDocument.body : container,
|
||||
isStart = type.indexOf("start") !== -1,
|
||||
color = isStart ? startColor : endColor,
|
||||
css = "border-color:" + color + ";font-size:" + fontSize + ";color:" + color + ";font-weight:" + fontWeight + ";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";
|
||||
@@ -1138,7 +1138,7 @@ export var ScrollTrigger = /*#__PURE__*/function () {
|
||||
data: _abs(endScroll - scroll),
|
||||
// record the distance so that if another snap tween occurs (conflict) we can prioritize the closest snap.
|
||||
onInterrupt: function onInterrupt() {
|
||||
return snapDelayedCall.restart(true) && _onInterrupt && _onInterrupt(self);
|
||||
return snapDelayedCall.restart(true) && _onInterrupt && _callback(self, _onInterrupt);
|
||||
},
|
||||
onComplete: function onComplete() {
|
||||
self.update();
|
||||
@@ -1151,10 +1151,10 @@ export var ScrollTrigger = /*#__PURE__*/function () {
|
||||
|
||||
snap1 = snap2 = animation && !isToggle ? animation.totalProgress() : self.progress;
|
||||
onSnapComplete && onSnapComplete(self);
|
||||
_onComplete && _onComplete(self);
|
||||
_onComplete && _callback(self, _onComplete);
|
||||
}
|
||||
}, scroll, change1 * change, endScroll - scroll - change1 * change);
|
||||
onStart && onStart(self, tweenTo.tween);
|
||||
onStart && _callback(self, onStart, tweenTo.tween);
|
||||
}
|
||||
} else if (self.isActive && lastSnap !== scroll) {
|
||||
snapDelayedCall.restart(true);
|
||||
@@ -2156,6 +2156,14 @@ export var ScrollTrigger = /*#__PURE__*/function () {
|
||||
|
||||
_wheelListener(_removeListener, _scrollers[i], _scrollers[i + 2]);
|
||||
}
|
||||
} else if (_doc) {
|
||||
var onLoad = function onLoad() {
|
||||
ScrollTrigger.enable();
|
||||
|
||||
_doc.removeEventListener("DOMContentLoaded", onLoad);
|
||||
};
|
||||
|
||||
_doc.addEventListener("DOMContentLoaded", onLoad);
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -2222,7 +2230,7 @@ export var ScrollTrigger = /*#__PURE__*/function () {
|
||||
|
||||
return ScrollTrigger;
|
||||
}();
|
||||
ScrollTrigger.version = "3.14.2";
|
||||
ScrollTrigger.version = "3.15.0";
|
||||
|
||||
ScrollTrigger.saveStyles = function (targets) {
|
||||
return targets ? _toArray(targets).forEach(function (target) {
|
||||
|
||||
+7
-7
@@ -1,15 +1,15 @@
|
||||
/*!
|
||||
* SplitText 3.14.2
|
||||
* SplitText 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
|
||||
* @license Copyright 2026, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
|
||||
* @author: Jack Doyle
|
||||
*/
|
||||
|
||||
let gsap, _fonts, _splitProp = typeof Symbol === "function" ? Symbol() : "_split", _coreInitted, _initIfNecessary = () => _coreInitted || SplitText.register(window.gsap), _charSegmenter = typeof Intl !== "undefined" && "Segmenter" in Intl ? new Intl.Segmenter() : 0, _toArray = (r) => typeof r === "string" ? _toArray(document.querySelectorAll(r)) : "length" in r ? Array.from(r).reduce((acc, cur) => {
|
||||
let gsap, _fonts, _splitProp = typeof Symbol === "function" ? Symbol() : "_split", _coreInitted, _initIfNecessary = () => _coreInitted || SplitText.register(window.gsap), _charSegmenter = typeof Intl !== "undefined" && "Segmenter" in Intl ? new Intl.Segmenter() : 0, _toArray = (r) => !r ? [] : typeof r === "string" ? _toArray(document.querySelectorAll(r)) : "length" in r ? Array.from(r).reduce((acc, cur) => {
|
||||
typeof cur === "string" ? acc.push(..._toArray(cur)) : acc.push(cur);
|
||||
return acc;
|
||||
}, []) : [r], _elements = (targets) => _toArray(targets).filter((e) => e instanceof HTMLElement), _emptyArray = [], _context = function() {
|
||||
}, []) : [r], _elements = (targets) => _toArray(targets).filter((e) => e && e.nodeType === 1), _emptyArray = [], _context = function() {
|
||||
}, _defaultContext = { add: (f) => f() }, _spacesRegEx = /\s+/g, _emojiSafeRegEx = new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.", "gu"), _emptyBounds = { left: 0, top: 0, width: 0, height: 0 }, _findNextValidBounds = (allBounds, startIndex) => {
|
||||
while (++startIndex < allBounds.length && allBounds[startIndex] === _emptyBounds) {
|
||||
}
|
||||
@@ -274,13 +274,13 @@ const _SplitText = class _SplitText {
|
||||
let maskEl = el.cloneNode();
|
||||
el.replaceWith(maskEl);
|
||||
maskEl.appendChild(el);
|
||||
el.className && (maskEl.className = el.className.trim() + "-mask");
|
||||
el.className && (maskEl.className = el.className.trim().split(" ").map((s) => s + "-mask").join(" "));
|
||||
maskEl.style.overflow = "clip";
|
||||
return maskEl;
|
||||
}));
|
||||
}
|
||||
this.isSplit = true;
|
||||
_fonts && splitLines && (autoSplit ? _fonts.addEventListener("loadingdone", this._split) : _fonts.status === "loading" && console.warn("SplitText called before fonts loaded"));
|
||||
_fonts && splitLines && autoSplit && _fonts.addEventListener("loadingdone", this._split);
|
||||
if ((onSplitResult = onSplit && onSplit(this)) && onSplitResult.totalTime) {
|
||||
this._data.anim = animTime ? onSplitResult.totalTime(animTime) : onSplitResult;
|
||||
}
|
||||
@@ -327,7 +327,7 @@ const _SplitText = class _SplitText {
|
||||
}
|
||||
}
|
||||
};
|
||||
_SplitText.version = "3.14.2";
|
||||
_SplitText.version = "3.15.0";
|
||||
let SplitText = _SplitText;
|
||||
|
||||
export { SplitText, SplitText as default };
|
||||
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* TextPlugin 3.14.2
|
||||
* TextPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -17,7 +17,7 @@ var gsap,
|
||||
};
|
||||
|
||||
export var TextPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "text",
|
||||
init: function init(target, value, tween) {
|
||||
typeof value !== "object" && (value = {
|
||||
|
||||
+3
-3
@@ -5,10 +5,10 @@
|
||||
}(this, (function (exports) { 'use strict';
|
||||
|
||||
/*!
|
||||
* CSSRulePlugin 3.14.2
|
||||
* CSSRulePlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -50,7 +50,7 @@
|
||||
};
|
||||
|
||||
var CSSRulePlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "cssRule",
|
||||
init: function init(target, value, tween, index, targets) {
|
||||
if (!_checkRegister() || typeof target.cssText === "undefined") {
|
||||
|
||||
+3
-3
@@ -1,11 +1,11 @@
|
||||
/*!
|
||||
* CSSRulePlugin 3.14.2
|
||||
* CSSRulePlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license.
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function h(){return"undefined"!=typeof window}function i(){return t||h()&&(t=window.gsap)&&t.registerPlugin&&t}function j(){return n||(s(),o||console.warn("Please gsap.registerPlugin(CSSPlugin, CSSRulePlugin)")),n}var t,n,c,o,s=function _initCore(e){t=e||i(),h()&&(c=document),t&&(o=t.plugins.css)&&(n=1)},r={version:"3.14.2",name:"cssRule",init:function init(e,t,n,i,s){if(!j()||void 0===e.cssText)return!1;var r=e._gsProxy=e._gsProxy||c.createElement("div");this.ss=e,this.style=r.style,r.style.cssText=e.cssText,o.prototype.init.call(this,r,t,n,i,s)},render:function render(e,t){for(var n,i=t._pt,s=t.style,r=t.ss;i;)i.r(e,i.d),i=i._next;for(n=s.length;-1<--n;)r[s[n]]=s[s[n]]},getRule:function getRule(e){j();var t,n,i,s,r=c.all?"rules":"cssRules",o=c.styleSheets,l=o.length,u=":"===e.charAt(0);for(e=(u?"":",")+e.split("::").join(":").toLowerCase()+",",u&&(s=[]);l--;){try{if(!(n=o[l][r]))continue;t=n.length}catch(e){console.warn(e);continue}for(;-1<--t;)if((i=n[t]).selectorText&&-1!==(","+i.selectorText.split("::").join(":").toLowerCase()+",").indexOf(e)){if(!u)return i.style;s.push(i.style)}}return s},register:s};i()&&t.registerPlugin(r),e.CSSRulePlugin=r,e.default=r;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function h(){return"undefined"!=typeof window}function i(){return t||h()&&(t=window.gsap)&&t.registerPlugin&&t}function j(){return n||(s(),o||console.warn("Please gsap.registerPlugin(CSSPlugin, CSSRulePlugin)")),n}var t,n,c,o,s=function _initCore(e){t=e||i(),h()&&(c=document),t&&(o=t.plugins.css)&&(n=1)},r={version:"3.15.0",name:"cssRule",init:function init(e,t,n,i,s){if(!j()||void 0===e.cssText)return!1;var r=e._gsProxy=e._gsProxy||c.createElement("div");this.ss=e,this.style=r.style,r.style.cssText=e.cssText,o.prototype.init.call(this,r,t,n,i,s)},render:function render(e,t){for(var n,i=t._pt,s=t.style,r=t.ss;i;)i.r(e,i.d),i=i._next;for(n=s.length;-1<--n;)r[s[n]]=s[s[n]]},getRule:function getRule(e){j();var t,n,i,s,r=c.all?"rules":"cssRules",o=c.styleSheets,l=o.length,u=":"===e.charAt(0);for(e=(u?"":",")+e.split("::").join(":").toLowerCase()+",",u&&(s=[]);l--;){try{if(!(n=o[l][r]))continue;t=n.length}catch(e){console.warn(e);continue}for(;-1<--t;)if((i=n[t]).selectorText&&-1!==(","+i.selectorText.split("::").join(":").toLowerCase()+",").indexOf(e)){if(!u)return i.style;s.push(i.style)}}return s},register:s};i()&&t.registerPlugin(r),e.CSSRulePlugin=r,e.default=r;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -5,10 +5,10 @@
|
||||
}(this, (function (exports) { 'use strict';
|
||||
|
||||
/*!
|
||||
* CustomBounce 3.14.2
|
||||
* CustomBounce 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -158,7 +158,7 @@
|
||||
return CustomBounce;
|
||||
}();
|
||||
_getGSAP() && gsap.registerPlugin(CustomBounce);
|
||||
CustomBounce.version = "3.14.2";
|
||||
CustomBounce.version = "3.15.0";
|
||||
|
||||
exports.CustomBounce = CustomBounce;
|
||||
exports.default = CustomBounce;
|
||||
|
||||
+3
-3
@@ -1,11 +1,11 @@
|
||||
/*!
|
||||
* CustomBounce 3.14.2
|
||||
* CustomBounce 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license.
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
|
||||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e=e||self).window=e.window||{})}(this,function(e){"use strict";function g(){return n||"undefined"!=typeof window&&(n=window.gsap)&&n.registerPlugin&&n}function h(e){n=g(),(j=n&&n.parseEase("_CE"))?(b=1,n.parseEase("bounce").config=function(e){return"object"==typeof e?t("",e):t("bounce("+e+")",{strength:+e})}):e&&console.warn("Please gsap.registerPlugin(CustomEase, CustomBounce)")}function i(e){var n,t=e.length,o=1/e[t-2];for(n=2;n<t;n+=2)e[n]=~~(e[n]*o*1e3)/1e3;e[t-2]=1}var n,b,j,t=function _create(e,n){b||h(1),n=n||{};var t,o,u,s,r,f,c,a=Math.min(.999,n.strength||.7),g=a,d=(n.squash||0)/100,p=d,l=1/.03,m=.2,C=1,w=.1,y=[0,0,.07,0,.1,1,.1,1],B=[0,0,0,0,.1,0,.1,0];for(r=0;r<200&&(f=w+(m*=g*((g+1)/2)),s=1-(C*=a*a),o=(u=w+.49*m)+.8*(u-(t=w+C/l)),d&&(w+=d,t+=d,u+=d,o+=d,f+=d,c=d/p,B.push(w-d,0,w-d,c,w-d/2,c,w,c,w,0,w,0,w,-.6*c,w+(f-w)/6,0,f,0),y.push(w-d,1,w,1,w,1),d*=a*a),y.push(w,1,t,s,u,s,o,s,f,1,f,1),a*=.95,l=C/(f-o),w=f,!(.999<s));r++);if(n.endAtStart&&"false"!==n.endAtStart){if(u=-.1,y.unshift(u,1,u,1,-.07,0),p)for(u-=d=2.5*p,y.unshift(u,1,u,1,u,1),B.splice(0,6),B.unshift(u,0,u,0,u,1,u+d/2,1,u+d,1,u+d,0,u+d,0,u+d,-.6,u+d+.033,0),r=0;r<B.length;r+=2)B[r]-=u;for(r=0;r<y.length;r+=2)y[r]-=u,y[r+1]=1-y[r+1]}return d&&(i(B),B[2]="C"+B[2],j(n.squashID||e+"-squash","M"+B.join(","))),i(y),y[2]="C"+y[2],j(e,"M"+y.join(","))},o=(CustomBounce.create=function create(e,n){return t(e,n)},CustomBounce.register=function register(e){n=e,h()},CustomBounce);function CustomBounce(e,n){this.ease=t(e,n)}g()&&n.registerPlugin(o),o.version="3.14.2",e.CustomBounce=o,e.default=o;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e=e||self).window=e.window||{})}(this,function(e){"use strict";function g(){return n||"undefined"!=typeof window&&(n=window.gsap)&&n.registerPlugin&&n}function h(e){n=g(),(j=n&&n.parseEase("_CE"))?(b=1,n.parseEase("bounce").config=function(e){return"object"==typeof e?t("",e):t("bounce("+e+")",{strength:+e})}):e&&console.warn("Please gsap.registerPlugin(CustomEase, CustomBounce)")}function i(e){var n,t=e.length,o=1/e[t-2];for(n=2;n<t;n+=2)e[n]=~~(e[n]*o*1e3)/1e3;e[t-2]=1}var n,b,j,t=function _create(e,n){b||h(1),n=n||{};var t,o,u,s,r,f,c,a=Math.min(.999,n.strength||.7),g=a,d=(n.squash||0)/100,p=d,l=1/.03,m=.2,C=1,w=.1,y=[0,0,.07,0,.1,1,.1,1],B=[0,0,0,0,.1,0,.1,0];for(r=0;r<200&&(f=w+(m*=g*((g+1)/2)),s=1-(C*=a*a),o=(u=w+.49*m)+.8*(u-(t=w+C/l)),d&&(w+=d,t+=d,u+=d,o+=d,f+=d,c=d/p,B.push(w-d,0,w-d,c,w-d/2,c,w,c,w,0,w,0,w,-.6*c,w+(f-w)/6,0,f,0),y.push(w-d,1,w,1,w,1),d*=a*a),y.push(w,1,t,s,u,s,o,s,f,1,f,1),a*=.95,l=C/(f-o),w=f,!(.999<s));r++);if(n.endAtStart&&"false"!==n.endAtStart){if(u=-.1,y.unshift(u,1,u,1,-.07,0),p)for(u-=d=2.5*p,y.unshift(u,1,u,1,u,1),B.splice(0,6),B.unshift(u,0,u,0,u,1,u+d/2,1,u+d,1,u+d,0,u+d,0,u+d,-.6,u+d+.033,0),r=0;r<B.length;r+=2)B[r]-=u;for(r=0;r<y.length;r+=2)y[r]-=u,y[r+1]=1-y[r+1]}return d&&(i(B),B[2]="C"+B[2],j(n.squashID||e+"-squash","M"+B.join(","))),i(y),y[2]="C"+y[2],j(e,"M"+y.join(","))},o=(CustomBounce.create=function create(e,n){return t(e,n)},CustomBounce.register=function register(e){n=e,h()},CustomBounce);function CustomBounce(e,n){this.ease=t(e,n)}g()&&n.registerPlugin(o),o.version="3.15.0",e.CustomBounce=o,e.default=o;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -360,10 +360,10 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
* CustomEase 3.14.2
|
||||
* CustomEase 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -709,7 +709,7 @@
|
||||
|
||||
return CustomEase;
|
||||
}();
|
||||
CustomEase.version = "3.14.2";
|
||||
CustomEase.version = "3.15.0";
|
||||
CustomEase.headless = true;
|
||||
_getGSAP() && gsap.registerPlugin(CustomEase);
|
||||
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -5,10 +5,10 @@
|
||||
}(this, (function (exports) { 'use strict';
|
||||
|
||||
/*!
|
||||
* CustomWiggle 3.14.2
|
||||
* CustomWiggle 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -157,7 +157,7 @@
|
||||
return CustomWiggle;
|
||||
}();
|
||||
_getGSAP() && gsap.registerPlugin(CustomWiggle);
|
||||
CustomWiggle.version = "3.14.2";
|
||||
CustomWiggle.version = "3.15.0";
|
||||
|
||||
exports.CustomWiggle = CustomWiggle;
|
||||
exports.default = CustomWiggle;
|
||||
|
||||
+3
-3
@@ -1,11 +1,11 @@
|
||||
/*!
|
||||
* CustomWiggle 3.14.2
|
||||
* CustomWiggle 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license.
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function g(){return n||"undefined"!=typeof window&&(n=window.gsap)&&n.registerPlugin&&n}function i(e){return e}function j(e){if(!C)if(n=g(),M=n&&n.parseEase("_CE")){for(var t in y)y[t]=M("",y[t]);C=1,o("wiggle").config=function(e){return"object"==typeof e?o("",e):o("wiggle("+e+")",{wiggles:+e})}}else e&&console.warn("Please gsap.registerPlugin(CustomEase, CustomWiggle)")}function k(t,e){return"function"!=typeof t&&(t=n.parseEase(t)||M("",t)),t.custom||!e?t:function(e){return 1-t(e)}}var n,C,M,y={easeOut:"M0,1,C0.7,1,0.6,0,1,0",easeInOut:"M0,0,C0.1,0,0.24,1,0.444,1,0.644,1,0.6,0,1,0",anticipate:"M0,0,C0,0.222,0.024,0.386,0,0.4,0.18,0.455,0.65,0.646,0.7,0.67,0.9,0.76,1,0.846,1,1",uniform:"M0,0,C0,0.95,0,1,0,1,0,1,1,1,1,1,1,1,1,0,1,0"},o=function _create(e,t){C||j(1);var n,o,s,u,r,a,g,f,l,c=0|((t=t||{}).wiggles||10),p=1/c,d=p/2,m="anticipate"===t.type,h=y[t.type]||y.easeOut,w=i;if(m&&(w=h,h=y.easeOut),t.timingEase&&(w=k(t.timingEase)),t.amplitudeEase&&(h=k(t.amplitudeEase,!0)),f=[0,0,(a=w(d))/4,0,a/2,g=m?-h(d):h(d),a,g],"random"===t.type){for(f.length=4,n=w(p),o=2*Math.random()-1,l=2;l<c;l++)d=n,g=o,n=w(p*l),o=2*Math.random()-1,s=Math.atan2(o-f[f.length-3],n-f[f.length-4]),u=Math.cos(s)*p,r=Math.sin(s)*p,f.push(d-u,g-r,d,g,d+u,g+r);f.push(n,0,1,0)}else{for(l=1;l<c;l++)f.push(w(d+p/2),g),d+=p,g=(0<g?-1:1)*h(l*p),a=w(d),f.push(w(d-p/2),g,a,g);f.push(w(d+p/4),g,w(d+p/4),0,1,0)}for(l=f.length;-1<--l;)f[l]=~~(1e3*f[l])/1e3;return f[2]="C"+f[2],M(e,"M"+f.join(","))},t=(CustomWiggle.create=function create(e,t){return o(e,t)},CustomWiggle.register=function register(e){n=e,j()},CustomWiggle);function CustomWiggle(e,t){this.ease=o(e,t)}g()&&n.registerPlugin(t),t.version="3.14.2",e.CustomWiggle=t,e.default=t;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function g(){return n||"undefined"!=typeof window&&(n=window.gsap)&&n.registerPlugin&&n}function i(e){return e}function j(e){if(!C)if(n=g(),M=n&&n.parseEase("_CE")){for(var t in y)y[t]=M("",y[t]);C=1,o("wiggle").config=function(e){return"object"==typeof e?o("",e):o("wiggle("+e+")",{wiggles:+e})}}else e&&console.warn("Please gsap.registerPlugin(CustomEase, CustomWiggle)")}function k(t,e){return"function"!=typeof t&&(t=n.parseEase(t)||M("",t)),t.custom||!e?t:function(e){return 1-t(e)}}var n,C,M,y={easeOut:"M0,1,C0.7,1,0.6,0,1,0",easeInOut:"M0,0,C0.1,0,0.24,1,0.444,1,0.644,1,0.6,0,1,0",anticipate:"M0,0,C0,0.222,0.024,0.386,0,0.4,0.18,0.455,0.65,0.646,0.7,0.67,0.9,0.76,1,0.846,1,1",uniform:"M0,0,C0,0.95,0,1,0,1,0,1,1,1,1,1,1,1,1,0,1,0"},o=function _create(e,t){C||j(1);var n,o,s,u,r,a,g,f,l,c=0|((t=t||{}).wiggles||10),p=1/c,d=p/2,m="anticipate"===t.type,h=y[t.type]||y.easeOut,w=i;if(m&&(w=h,h=y.easeOut),t.timingEase&&(w=k(t.timingEase)),t.amplitudeEase&&(h=k(t.amplitudeEase,!0)),f=[0,0,(a=w(d))/4,0,a/2,g=m?-h(d):h(d),a,g],"random"===t.type){for(f.length=4,n=w(p),o=2*Math.random()-1,l=2;l<c;l++)d=n,g=o,n=w(p*l),o=2*Math.random()-1,s=Math.atan2(o-f[f.length-3],n-f[f.length-4]),u=Math.cos(s)*p,r=Math.sin(s)*p,f.push(d-u,g-r,d,g,d+u,g+r);f.push(n,0,1,0)}else{for(l=1;l<c;l++)f.push(w(d+p/2),g),d+=p,g=(0<g?-1:1)*h(l*p),a=w(d),f.push(w(d-p/2),g,a,g);f.push(w(d+p/4),g,w(d+p/4),0,1,0)}for(l=f.length;-1<--l;)f[l]=~~(1e3*f[l])/1e3;return f[2]="C"+f[2],M(e,"M"+f.join(","))},t=(CustomWiggle.create=function create(e,t){return o(e,t)},CustomWiggle.register=function register(e){n=e,j()},CustomWiggle);function CustomWiggle(e,t){this.ease=o(e,t)}g()&&n.registerPlugin(t),t.version="3.15.0",e.CustomWiggle=t,e.default=t;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -2982,7 +2982,7 @@
|
||||
});
|
||||
|
||||
Draggable.zIndex = 1000;
|
||||
Draggable.version = "3.14.2";
|
||||
Draggable.version = "3.15.0";
|
||||
_getGSAP() && gsap.registerPlugin(Draggable);
|
||||
|
||||
exports.Draggable = Draggable;
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -5,10 +5,10 @@
|
||||
}(this, (function (exports) { 'use strict';
|
||||
|
||||
/*!
|
||||
* DrawSVGPlugin 3.14.2
|
||||
* DrawSVGPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -194,7 +194,7 @@
|
||||
};
|
||||
|
||||
var DrawSVGPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "drawSVG",
|
||||
register: function register(core) {
|
||||
gsap = core;
|
||||
|
||||
+3
-3
@@ -1,11 +1,11 @@
|
||||
/*!
|
||||
* DrawSVGPlugin 3.14.2
|
||||
* DrawSVGPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license.
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function l(){return"undefined"!=typeof window}function m(){return t||l()&&(t=window.gsap)&&t.registerPlugin&&t}function p(e){return Math.round(1e4*e)/1e4}function q(e){return parseFloat(e)||0}function r(e,t){var r=q(e);return~e.indexOf("%")?r/100*t:r}function s(e,t){return q(e.getAttribute(t))}function u(e,t,r,n,s,i){return D(Math.pow((q(r)-q(e))*s,2)+Math.pow((q(n)-q(t))*i,2))}function v(e){return console.warn(e)}function w(e){return"non-scaling-stroke"===e.getAttribute("vector-effect")}function z(e){if(!(e=k(e)[0]))return 0;var t,r,n,i,o,a,f,h=e.tagName.toLowerCase(),l=e.style,d=1,c=1;w(e)&&(c=e.getScreenCTM(),d=D(c.a*c.a+c.b*c.b),c=D(c.d*c.d+c.c*c.c));try{r=e.getBBox()}catch(e){v("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var g=r||{x:0,y:0,width:0,height:0},_=g.x,y=g.y,x=g.width,m=g.height;if(r&&(x||m)||!M[h]||(x=s(e,M[h][0]),m=s(e,M[h][1]),"rect"!==h&&"line"!==h&&(x*=2,m*=2),"line"===h&&(_=s(e,"x1"),y=s(e,"y1"),x=Math.abs(x-_),m=Math.abs(m-y))),"path"===h)i=l.strokeDasharray,l.strokeDasharray="none",t=e.getTotalLength()||0,p(d)!==p(c)&&!b&&(b=1)&&v("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),t*=(d+c)/2,l.strokeDasharray=i;else if("rect"===h)t=2*x*d+2*m*c;else if("line"===h)t=u(_,y,_+x,y+m,d,c);else if("polyline"===h||"polygon"===h)for(n=e.getAttribute("points").match(P)||[],"polygon"===h&&n.push(n[0],n[1]),t=0,o=2;o<n.length;o+=2)t+=u(n[o-2],n[o-1],n[o],n[o+1],d,c)||0;else"circle"!==h&&"ellipse"!==h||(a=x/2*d,f=m/2*c,t=Math.PI*(3*(a+f)-D((3*a+f)*(a+3*f))));return t||0}function A(e,t){if(!(e=k(e)[0]))return[0,0];t=t||z(e)+1;var r=f.getComputedStyle(e),n=r.strokeDasharray||"",s=q(r.strokeDashoffset),i=n.indexOf(",");return i<0&&(i=n.indexOf(" ")),t<(n=i<0?t:q(n.substr(0,i)))&&(n=t),[-s||0,n-s||0]}function B(){l()&&(f=window,d=t=m(),k=t.utils.toArray,c=t.core.getStyleSaver,g=t.core.reverting||function(){},h=-1!==((f.navigator||{}).userAgent||"").indexOf("Edge"))}var t,k,f,h,d,b,c,g,P=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,M={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},D=Math.sqrt,n={version:"3.14.2",name:"drawSVG",register:function register(e){t=e,B()},init:function init(e,t,n){if(!e.getBBox)return!1;d||B();var s,i,o,a=z(e);return this.styles=c&&c(e,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=n,this._style=e.style,this._target=e,t+""=="true"?t="0 100%":t?-1===(t+"").indexOf(" ")&&(t="0 "+t):t="0 0",i=function _parse(e,t,n){var s,i,o=e.indexOf(" ");return i=o<0?(s=void 0!==n?n+"":e,e):(s=e.substr(0,o),e.substr(o+1)),s=r(s,t),(i=r(i,t))<s?[i,s]:[s,i]}(t,a,(s=A(e,a))[0]),this._length=p(a),this._dash=p(s[1]-s[0]),this._offset=p(-s[0]),this._dashPT=this.add(this,"_dash",this._dash,p(i[1]-i[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,p(-i[0]),0,0,0,0,0,1),h&&(o=f.getComputedStyle(e)).strokeLinecap!==o.strokeLinejoin&&(i=q(o.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",i,i+.01)),this._live=w(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),1},render:function render(e,t){if(t.tween._time||!g()){var r,n,s,i,o=t._pt,a=t._style;if(o){for(t._live&&(r=z(t._target))!==t._length&&(n=r/t._length,t._length=r,t._offsetPT&&(t._offsetPT.s*=n,t._offsetPT.c*=n),t._dashPT?(t._dashPT.s*=n,t._dashPT.c*=n):t._dash*=n);o;)o.r(e,o.d),o=o._next;s=t._dash||e&&1!==e&&1e-4||0,r=t._length-s+.1,i=t._offset,s&&i&&s+Math.abs(i%t._length)>t._length-.05&&(i+=i<0?.005:-.005)&&(r+=.005),a.strokeDashoffset=s?i:i+.001,a.strokeDasharray=r<.1?"none":s?s+"px,"+(t._nowrap?999999:r)+"px":"0px, 999999px"}}else t.styles.revert()},getLength:z,getPosition:A};m()&&t.registerPlugin(n),e.DrawSVGPlugin=n,e.default=n;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function l(){return"undefined"!=typeof window}function m(){return t||l()&&(t=window.gsap)&&t.registerPlugin&&t}function p(e){return Math.round(1e4*e)/1e4}function q(e){return parseFloat(e)||0}function r(e,t){var r=q(e);return~e.indexOf("%")?r/100*t:r}function s(e,t){return q(e.getAttribute(t))}function u(e,t,r,n,s,i){return D(Math.pow((q(r)-q(e))*s,2)+Math.pow((q(n)-q(t))*i,2))}function v(e){return console.warn(e)}function w(e){return"non-scaling-stroke"===e.getAttribute("vector-effect")}function z(e){if(!(e=k(e)[0]))return 0;var t,r,n,i,o,a,f,h=e.tagName.toLowerCase(),l=e.style,d=1,c=1;w(e)&&(c=e.getScreenCTM(),d=D(c.a*c.a+c.b*c.b),c=D(c.d*c.d+c.c*c.c));try{r=e.getBBox()}catch(e){v("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}var g=r||{x:0,y:0,width:0,height:0},_=g.x,y=g.y,x=g.width,m=g.height;if(r&&(x||m)||!M[h]||(x=s(e,M[h][0]),m=s(e,M[h][1]),"rect"!==h&&"line"!==h&&(x*=2,m*=2),"line"===h&&(_=s(e,"x1"),y=s(e,"y1"),x=Math.abs(x-_),m=Math.abs(m-y))),"path"===h)i=l.strokeDasharray,l.strokeDasharray="none",t=e.getTotalLength()||0,p(d)!==p(c)&&!b&&(b=1)&&v("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),t*=(d+c)/2,l.strokeDasharray=i;else if("rect"===h)t=2*x*d+2*m*c;else if("line"===h)t=u(_,y,_+x,y+m,d,c);else if("polyline"===h||"polygon"===h)for(n=e.getAttribute("points").match(P)||[],"polygon"===h&&n.push(n[0],n[1]),t=0,o=2;o<n.length;o+=2)t+=u(n[o-2],n[o-1],n[o],n[o+1],d,c)||0;else"circle"!==h&&"ellipse"!==h||(a=x/2*d,f=m/2*c,t=Math.PI*(3*(a+f)-D((3*a+f)*(a+3*f))));return t||0}function A(e,t){if(!(e=k(e)[0]))return[0,0];t=t||z(e)+1;var r=f.getComputedStyle(e),n=r.strokeDasharray||"",s=q(r.strokeDashoffset),i=n.indexOf(",");return i<0&&(i=n.indexOf(" ")),t<(n=i<0?t:q(n.substr(0,i)))&&(n=t),[-s||0,n-s||0]}function B(){l()&&(f=window,d=t=m(),k=t.utils.toArray,c=t.core.getStyleSaver,g=t.core.reverting||function(){},h=-1!==((f.navigator||{}).userAgent||"").indexOf("Edge"))}var t,k,f,h,d,b,c,g,P=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,M={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},D=Math.sqrt,n={version:"3.15.0",name:"drawSVG",register:function register(e){t=e,B()},init:function init(e,t,n){if(!e.getBBox)return!1;d||B();var s,i,o,a=z(e);return this.styles=c&&c(e,"strokeDashoffset,strokeDasharray,strokeMiterlimit"),this.tween=n,this._style=e.style,this._target=e,t+""=="true"?t="0 100%":t?-1===(t+"").indexOf(" ")&&(t="0 "+t):t="0 0",i=function _parse(e,t,n){var s,i,o=e.indexOf(" ");return i=o<0?(s=void 0!==n?n+"":e,e):(s=e.substr(0,o),e.substr(o+1)),s=r(s,t),(i=r(i,t))<s?[i,s]:[s,i]}(t,a,(s=A(e,a))[0]),this._length=p(a),this._dash=p(s[1]-s[0]),this._offset=p(-s[0]),this._dashPT=this.add(this,"_dash",this._dash,p(i[1]-i[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,p(-i[0]),0,0,0,0,0,1),h&&(o=f.getComputedStyle(e)).strokeLinecap!==o.strokeLinejoin&&(i=q(o.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",i,i+.01)),this._live=w(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),1},render:function render(e,t){if(t.tween._time||!g()){var r,n,s,i,o=t._pt,a=t._style;if(o){for(t._live&&(r=z(t._target))!==t._length&&(n=r/t._length,t._length=r,t._offsetPT&&(t._offsetPT.s*=n,t._offsetPT.c*=n),t._dashPT?(t._dashPT.s*=n,t._dashPT.c*=n):t._dash*=n);o;)o.r(e,o.d),o=o._next;s=t._dash||e&&1!==e&&1e-4||0,r=t._length-s+.1,i=t._offset,s&&i&&s+Math.abs(i%t._length)>t._length-.05&&(i+=i<0?.005:-.005)&&(r+=.005),a.strokeDashoffset=s?i:i+.001,a.strokeDasharray=r<.1?"none":s?s+"px,"+(t._nowrap?999999:r)+"px":"0px, 999999px"}}else t.styles.revert()},getLength:z,getPosition:A};m()&&t.registerPlugin(n),e.DrawSVGPlugin=n,e.default=n;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -5,10 +5,10 @@
|
||||
}(this, (function (exports) { 'use strict';
|
||||
|
||||
/*!
|
||||
* EasePack 3.14.2
|
||||
* EasePack 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -200,7 +200,7 @@
|
||||
|
||||
for (var p in EasePack) {
|
||||
EasePack[p].register = _initCore;
|
||||
EasePack[p].version = "3.14.2";
|
||||
EasePack[p].version = "3.15.0";
|
||||
}
|
||||
|
||||
_getGSAP() && gsap.registerPlugin(SlowMo);
|
||||
|
||||
+3
-3
@@ -1,11 +1,11 @@
|
||||
/*!
|
||||
* EasePack 3.14.2
|
||||
* EasePack 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license.
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
|
||||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e=e||self).window=e.window||{})}(this,function(e){"use strict";function f(){return w||"undefined"!=typeof window&&(w=window.gsap)&&w.registerPlugin&&w}function g(e,n){return!!(void 0===e?n:e&&!~(e+"").indexOf("false"))}function h(e){if(w=e||f()){r=w.registerEase;var n,t=w.parseEase(),o=function createConfig(t){return function(e){var n=.5+e/2;t.config=function(e){return t(2*(1-e)*e*n+e*e)}}};for(n in t)t[n].config||o(t[n]);for(n in r("slow",a),r("expoScale",s),r("rough",u),c)"version"!==n&&w.core.globals(n,c[n])}}function i(e,n,t){var o=(e=Math.min(1,e||.7))<1?n||0===n?n:.7:0,r=(1-e)/2,i=r+e,a=g(t);return function(e){var n=e+(.5-e)*o;return e<r?a?1-(e=1-e/r)*e:n-(e=1-e/r)*e*e*e*n:i<e?a?1===e?0:1-(e=(e-i)/r)*e:n+(e-n)*(e=(e-i)/r)*e*e*e:a?1:n}}function j(n,e,t){var o=Math.log(e/n),r=e-n;return t=t&&w.parseEase(t),function(e){return(n*Math.exp(o*(t?t(e):e))-n)/r}}function k(e,n,t){this.t=e,this.v=n,t&&(((this.next=t).prev=this).c=t.v-n,this.gap=t.t-e)}function l(e){"object"!=typeof e&&(e={points:+e||20});for(var n,t,o,r,i,a,f,s=e.taper||"none",u=[],c=0,p=0|(+e.points||20),l=p,v=g(e.randomize,!0),d=g(e.clamp),h=w?w.parseEase(e.template):0,x=.4*(+e.strength||1);-1<--l;)n=v?Math.random():1/p*l,t=h?h(n):n,o="none"===s?x:"out"===s?(r=1-n)*r*x:"in"===s?n*n*x:n<.5?(r=2*n)*r*.5*x:(r=2*(1-n))*r*.5*x,v?t+=Math.random()*o-.5*o:l%2?t+=.5*o:t-=.5*o,d&&(1<t?t=1:t<0&&(t=0)),u[c++]={x:n,y:t};for(u.sort(function(e,n){return e.x-n.x}),a=new k(1,1,null),l=p;l--;)i=u[l],a=new k(i.x,i.y,a);return f=new k(0,0,a.t?a:a.next),function(e){var n=f;if(e>n.t){for(;n.next&&e>=n.t;)n=n.next;n=n.prev}else for(;n.prev&&e<=n.t;)n=n.prev;return(f=n).v+(e-n.t)/n.gap*n.c}}var w,r,a=i(.7);(a.ease=a).config=i;var s=j(1,2);s.config=j;var u=l();(u.ease=u).config=l;var c={SlowMo:a,RoughEase:u,ExpoScaleEase:s};for(var n in c)c[n].register=h,c[n].version="3.14.2";f()&&w.registerPlugin(a),e.EasePack=c,e.ExpoScaleEase=s,e.RoughEase=u,e.SlowMo=a,e.default=c;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
!function(e,n){"object"==typeof exports&&"undefined"!=typeof module?n(exports):"function"==typeof define&&define.amd?define(["exports"],n):n((e=e||self).window=e.window||{})}(this,function(e){"use strict";function f(){return w||"undefined"!=typeof window&&(w=window.gsap)&&w.registerPlugin&&w}function g(e,n){return!!(void 0===e?n:e&&!~(e+"").indexOf("false"))}function h(e){if(w=e||f()){r=w.registerEase;var n,t=w.parseEase(),o=function createConfig(t){return function(e){var n=.5+e/2;t.config=function(e){return t(2*(1-e)*e*n+e*e)}}};for(n in t)t[n].config||o(t[n]);for(n in r("slow",a),r("expoScale",s),r("rough",u),c)"version"!==n&&w.core.globals(n,c[n])}}function i(e,n,t){var o=(e=Math.min(1,e||.7))<1?n||0===n?n:.7:0,r=(1-e)/2,i=r+e,a=g(t);return function(e){var n=e+(.5-e)*o;return e<r?a?1-(e=1-e/r)*e:n-(e=1-e/r)*e*e*e*n:i<e?a?1===e?0:1-(e=(e-i)/r)*e:n+(e-n)*(e=(e-i)/r)*e*e*e:a?1:n}}function j(n,e,t){var o=Math.log(e/n),r=e-n;return t=t&&w.parseEase(t),function(e){return(n*Math.exp(o*(t?t(e):e))-n)/r}}function k(e,n,t){this.t=e,this.v=n,t&&(((this.next=t).prev=this).c=t.v-n,this.gap=t.t-e)}function l(e){"object"!=typeof e&&(e={points:+e||20});for(var n,t,o,r,i,a,f,s=e.taper||"none",u=[],c=0,p=0|(+e.points||20),l=p,v=g(e.randomize,!0),d=g(e.clamp),h=w?w.parseEase(e.template):0,x=.4*(+e.strength||1);-1<--l;)n=v?Math.random():1/p*l,t=h?h(n):n,o="none"===s?x:"out"===s?(r=1-n)*r*x:"in"===s?n*n*x:n<.5?(r=2*n)*r*.5*x:(r=2*(1-n))*r*.5*x,v?t+=Math.random()*o-.5*o:l%2?t+=.5*o:t-=.5*o,d&&(1<t?t=1:t<0&&(t=0)),u[c++]={x:n,y:t};for(u.sort(function(e,n){return e.x-n.x}),a=new k(1,1,null),l=p;l--;)i=u[l],a=new k(i.x,i.y,a);return f=new k(0,0,a.t?a:a.next),function(e){var n=f;if(e>n.t){for(;n.next&&e>=n.t;)n=n.next;n=n.prev}else for(;n.prev&&e<=n.t;)n=n.prev;return(f=n).v+(e-n.t)/n.gap*n.c}}var w,r,a=i(.7);(a.ease=a).config=i;var s=j(1,2);s.config=j;var u=l();(u.ease=u).config=l;var c={SlowMo:a,RoughEase:u,ExpoScaleEase:s};for(var n in c)c[n].register=h,c[n].version="3.15.0";f()&&w.registerPlugin(a),e.EasePack=c,e.ExpoScaleEase=s,e.RoughEase=u,e.SlowMo=a,e.default=c;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -5,10 +5,10 @@
|
||||
}(this, (function (exports) { 'use strict';
|
||||
|
||||
/*!
|
||||
* EaselPlugin 3.14.2
|
||||
* EaselPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -273,7 +273,7 @@
|
||||
};
|
||||
|
||||
var EaselPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "easel",
|
||||
init: function init(target, value, tween, index, targets) {
|
||||
if (!_coreInitted) {
|
||||
|
||||
+3
-3
@@ -1,11 +1,11 @@
|
||||
/*!
|
||||
* EaselPlugin 3.14.2
|
||||
* EaselPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license.
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function k(){return"undefined"!=typeof window}function l(){return h||k()&&(h=window.gsap)&&h.registerPlugin&&h}function m(){return r||t&&t.createjs||t||{}}function n(e){return console.warn(e)}function o(e){var t=e.getBounds&&e.getBounds();t||(t=e.nominalBounds||{x:0,y:0,width:100,height:100},e.setBounds&&e.setBounds(t.x,t.y,t.width,t.height)),e.cache&&e.cache(t.x,t.y,t.width,t.height),n("EaselPlugin: for filters to display in EaselJS, you must call the object's cache() method first. GSAP attempted to use the target's getBounds() for the cache but that may not be completely accurate. "+e)}function p(e,t,r){(b=b||m().ColorFilter)||n("EaselPlugin error: The EaselJS ColorFilter JavaScript file wasn't loaded.");for(var i,l,s,u,a,f,c=e.filters||[],d=c.length;d--;)if(c[d]instanceof b){l=c[d];break}if(l||(l=new b,c.push(l),e.filters=c),s=l.clone(),null!=t.tint)i=h.utils.splitColor(t.tint),u=null!=t.tintAmount?+t.tintAmount:1,s.redOffset=i[0]*u,s.greenOffset=i[1]*u,s.blueOffset=i[2]*u,s.redMultiplier=s.greenMultiplier=s.blueMultiplier=1-u;else for(a in t)"exposure"!==a&&"brightness"!==a&&(s[a]=+t[a]);for(null!=t.exposure?(s.redOffset=s.greenOffset=s.blueOffset=255*(t.exposure-1),s.redMultiplier=s.greenMultiplier=s.blueMultiplier=1):null!=t.brightness&&(u=t.brightness-1,s.redOffset=s.greenOffset=s.blueOffset=0<u?255*u:0,s.redMultiplier=s.greenMultiplier=s.blueMultiplier=1-Math.abs(u)),d=8;d--;)l[a=M[d]]!==s[a]&&(f=r.add(l,a,l[a],s[a],0,0,0,0,0,1))&&(f.op="easel_colorFilter");r._props.push("easel_colorFilter"),e.cacheID||o(e)}function u(e,t){if(!(e instanceof Array&&t instanceof Array))return t;var r,i,n=[],l=0,o=0;for(r=0;r<4;r++){for(i=0;i<5;i++)o=4===i?e[l+4]:0,n[l+i]=e[l]*t[i]+e[l+1]*t[i+5]+e[l+2]*t[i+10]+e[l+3]*t[i+15]+o;l+=5}return n}function z(e,t,r){(d=d||m().ColorMatrixFilter)||n("EaselPlugin: The EaselJS ColorMatrixFilter JavaScript file wasn't loaded.");for(var i,l,s,a,f=e.filters||[],c=f.length;-1<--c;)if(f[c]instanceof d){s=f[c];break}for(s||(s=new d(w.slice()),f.push(s),e.filters=f),l=s.matrix,i=w.slice(),null!=t.colorize&&(i=function _colorize(e,t,r){isNaN(r)&&(r=1);var i=h.utils.splitColor(t),n=i[0]/255,l=i[1]/255,o=i[2]/255,s=1-r;return u([s+r*n*x,r*n*y,r*n*_,0,0,r*l*x,s+r*l*y,r*l*_,0,0,r*o*x,r*o*y,s+r*o*_,0,0,0,0,0,1,0],e)}(i,t.colorize,Number(t.colorizeAmount))),null!=t.contrast&&(i=function _setContrast(e,t){return isNaN(t)?e:u([t+=.01,0,0,0,128*(1-t),0,t,0,0,128*(1-t),0,0,t,0,128*(1-t),0,0,0,1,0],e)}(i,Number(t.contrast))),null!=t.hue&&(i=function _setHue(e,t){if(isNaN(t))return e;t*=Math.PI/180;var r=Math.cos(t),i=Math.sin(t);return u([x+r*(1-x)+i*-x,y+r*-y+i*-y,_+r*-_+i*(1-_),0,0,x+r*-x+.143*i,y+r*(1-y)+.14*i,_+r*-_+-.283*i,0,0,x+r*-x+i*-(1-x),y+r*-y+i*y,_+r*(1-_)+i*_,0,0,0,0,0,1,0,0,0,0,0,1],e)}(i,Number(t.hue))),null!=t.saturation&&(i=function _setSaturation(e,t){if(isNaN(t))return e;var r=1-t,i=r*x,n=r*y,l=r*_;return u([i+t,n,l,0,0,i,n+t,l,0,0,i,n,l+t,0,0,0,0,0,1,0],e)}(i,Number(t.saturation))),c=i.length;-1<--c;)i[c]!==l[c]&&(a=r.add(l,c,l[c],i[c],0,0,0,0,0,1))&&(a.op="easel_colorMatrixFilter");r._props.push("easel_colorMatrixFilter"),e.cacheID||o(),r._matrix=l}function A(e){h=e||l(),k()&&(t=window),h&&(g=1)}var h,g,t,r,b,d,M="redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier,redOffset,greenOffset,blueOffset,alphaOffset".split(","),w=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],x=.212671,y=.71516,_=.072169,i={version:"3.14.2",name:"easel",init:function init(e,t,r,i,l){var o,s,u,a,f,c,d;for(o in g||(A(),h||n("Please gsap.registerPlugin(EaselPlugin)")),this.target=e,t)if(f=t[o],"colorFilter"===o||"tint"===o||"tintAmount"===o||"exposure"===o||"brightness"===o)u||(p(e,t.colorFilter||t,this),u=!0);else if("saturation"===o||"contrast"===o||"hue"===o||"colorize"===o||"colorizeAmount"===o)a||(z(e,t.colorMatrixFilter||t,this),a=!0);else if("frame"===o){if("string"==typeof f&&"="!==f.charAt(1)&&(c=e.labels))for(d=0;d<c.length;d++)c[d].label===f&&(f=c[d].position);(s=this.add(e,"gotoAndStop",e.currentFrame,f,i,l,Math.round,0,0,1))&&(s.op=o)}else null!=e[o]&&this.add(e,o,"get",f)},render:function render(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next;t.target.cacheID&&t.target.updateCache()},register:A,registerCreateJS:function(e){r=e}};l()&&h.registerPlugin(i),e.EaselPlugin=i,e.default=i;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function k(){return"undefined"!=typeof window}function l(){return h||k()&&(h=window.gsap)&&h.registerPlugin&&h}function m(){return r||t&&t.createjs||t||{}}function n(e){return console.warn(e)}function o(e){var t=e.getBounds&&e.getBounds();t||(t=e.nominalBounds||{x:0,y:0,width:100,height:100},e.setBounds&&e.setBounds(t.x,t.y,t.width,t.height)),e.cache&&e.cache(t.x,t.y,t.width,t.height),n("EaselPlugin: for filters to display in EaselJS, you must call the object's cache() method first. GSAP attempted to use the target's getBounds() for the cache but that may not be completely accurate. "+e)}function p(e,t,r){(b=b||m().ColorFilter)||n("EaselPlugin error: The EaselJS ColorFilter JavaScript file wasn't loaded.");for(var i,l,s,u,a,f,c=e.filters||[],d=c.length;d--;)if(c[d]instanceof b){l=c[d];break}if(l||(l=new b,c.push(l),e.filters=c),s=l.clone(),null!=t.tint)i=h.utils.splitColor(t.tint),u=null!=t.tintAmount?+t.tintAmount:1,s.redOffset=i[0]*u,s.greenOffset=i[1]*u,s.blueOffset=i[2]*u,s.redMultiplier=s.greenMultiplier=s.blueMultiplier=1-u;else for(a in t)"exposure"!==a&&"brightness"!==a&&(s[a]=+t[a]);for(null!=t.exposure?(s.redOffset=s.greenOffset=s.blueOffset=255*(t.exposure-1),s.redMultiplier=s.greenMultiplier=s.blueMultiplier=1):null!=t.brightness&&(u=t.brightness-1,s.redOffset=s.greenOffset=s.blueOffset=0<u?255*u:0,s.redMultiplier=s.greenMultiplier=s.blueMultiplier=1-Math.abs(u)),d=8;d--;)l[a=M[d]]!==s[a]&&(f=r.add(l,a,l[a],s[a],0,0,0,0,0,1))&&(f.op="easel_colorFilter");r._props.push("easel_colorFilter"),e.cacheID||o(e)}function u(e,t){if(!(e instanceof Array&&t instanceof Array))return t;var r,i,n=[],l=0,o=0;for(r=0;r<4;r++){for(i=0;i<5;i++)o=4===i?e[l+4]:0,n[l+i]=e[l]*t[i]+e[l+1]*t[i+5]+e[l+2]*t[i+10]+e[l+3]*t[i+15]+o;l+=5}return n}function z(e,t,r){(d=d||m().ColorMatrixFilter)||n("EaselPlugin: The EaselJS ColorMatrixFilter JavaScript file wasn't loaded.");for(var i,l,s,a,f=e.filters||[],c=f.length;-1<--c;)if(f[c]instanceof d){s=f[c];break}for(s||(s=new d(w.slice()),f.push(s),e.filters=f),l=s.matrix,i=w.slice(),null!=t.colorize&&(i=function _colorize(e,t,r){isNaN(r)&&(r=1);var i=h.utils.splitColor(t),n=i[0]/255,l=i[1]/255,o=i[2]/255,s=1-r;return u([s+r*n*x,r*n*y,r*n*_,0,0,r*l*x,s+r*l*y,r*l*_,0,0,r*o*x,r*o*y,s+r*o*_,0,0,0,0,0,1,0],e)}(i,t.colorize,Number(t.colorizeAmount))),null!=t.contrast&&(i=function _setContrast(e,t){return isNaN(t)?e:u([t+=.01,0,0,0,128*(1-t),0,t,0,0,128*(1-t),0,0,t,0,128*(1-t),0,0,0,1,0],e)}(i,Number(t.contrast))),null!=t.hue&&(i=function _setHue(e,t){if(isNaN(t))return e;t*=Math.PI/180;var r=Math.cos(t),i=Math.sin(t);return u([x+r*(1-x)+i*-x,y+r*-y+i*-y,_+r*-_+i*(1-_),0,0,x+r*-x+.143*i,y+r*(1-y)+.14*i,_+r*-_+-.283*i,0,0,x+r*-x+i*-(1-x),y+r*-y+i*y,_+r*(1-_)+i*_,0,0,0,0,0,1,0,0,0,0,0,1],e)}(i,Number(t.hue))),null!=t.saturation&&(i=function _setSaturation(e,t){if(isNaN(t))return e;var r=1-t,i=r*x,n=r*y,l=r*_;return u([i+t,n,l,0,0,i,n+t,l,0,0,i,n,l+t,0,0,0,0,0,1,0],e)}(i,Number(t.saturation))),c=i.length;-1<--c;)i[c]!==l[c]&&(a=r.add(l,c,l[c],i[c],0,0,0,0,0,1))&&(a.op="easel_colorMatrixFilter");r._props.push("easel_colorMatrixFilter"),e.cacheID||o(),r._matrix=l}function A(e){h=e||l(),k()&&(t=window),h&&(g=1)}var h,g,t,r,b,d,M="redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier,redOffset,greenOffset,blueOffset,alphaOffset".split(","),w=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],x=.212671,y=.71516,_=.072169,i={version:"3.15.0",name:"easel",init:function init(e,t,r,i,l){var o,s,u,a,f,c,d;for(o in g||(A(),h||n("Please gsap.registerPlugin(EaselPlugin)")),this.target=e,t)if(f=t[o],"colorFilter"===o||"tint"===o||"tintAmount"===o||"exposure"===o||"brightness"===o)u||(p(e,t.colorFilter||t,this),u=!0);else if("saturation"===o||"contrast"===o||"hue"===o||"colorize"===o||"colorizeAmount"===o)a||(z(e,t.colorMatrixFilter||t,this),a=!0);else if("frame"===o){if("string"==typeof f&&"="!==f.charAt(1)&&(c=e.labels))for(d=0;d<c.length;d++)c[d].label===f&&(f=c[d].position);(s=this.add(e,"gotoAndStop",e.currentFrame,f,i,l,Math.round,0,0,1))&&(s.op=o)}else null!=e[o]&&this.add(e,o,"get",f)},render:function render(e,t){for(var r=t._pt;r;)r.r(e,r.d),r=r._next;t.target.cacheID&&t.target.updateCache()},register:A,registerCreateJS:function(e){r=e}};l()&&h.registerPlugin(i),e.EaselPlugin=i,e.default=i;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -378,10 +378,10 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
* Flip 3.14.2
|
||||
* Flip 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -1863,7 +1863,7 @@
|
||||
|
||||
return Flip;
|
||||
}();
|
||||
Flip.version = "3.14.2";
|
||||
Flip.version = "3.15.0";
|
||||
typeof window !== "undefined" && window.gsap && window.gsap.registerPlugin(Flip);
|
||||
|
||||
exports.Flip = Flip;
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+4
-4
@@ -2982,14 +2982,14 @@
|
||||
});
|
||||
|
||||
Draggable.zIndex = 1000;
|
||||
Draggable.version = "3.14.2";
|
||||
Draggable.version = "3.15.0";
|
||||
_getGSAP() && gsap.registerPlugin(Draggable);
|
||||
|
||||
/*!
|
||||
* GSDevTools 3.14.2
|
||||
* GSDevTools 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -4434,7 +4434,7 @@
|
||||
_context$1(this);
|
||||
};
|
||||
|
||||
GSDevTools.version = "3.14.2";
|
||||
GSDevTools.version = "3.15.0";
|
||||
GSDevTools.globalRecordingTime = 2;
|
||||
|
||||
GSDevTools.getById = function (id) {
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -240,10 +240,10 @@
|
||||
_getGSAP() && gsap.registerPlugin(VelocityTracker);
|
||||
|
||||
/*!
|
||||
* InertiaPlugin 3.14.2
|
||||
* InertiaPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -581,7 +581,7 @@
|
||||
};
|
||||
|
||||
var InertiaPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "inertia",
|
||||
register: function register(core) {
|
||||
gsap$1 = core;
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1590,7 +1590,7 @@
|
||||
};
|
||||
|
||||
var MorphSVGPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "morphSVG",
|
||||
rawVars: 1,
|
||||
register: function register(core, Plugin) {
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+4
-4
@@ -2813,14 +2813,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
PathEditor.version = "3.14.2";
|
||||
PathEditor.version = "3.15.0";
|
||||
PathEditor.register = _initCore;
|
||||
|
||||
/*!
|
||||
* MotionPathHelper 3.14.2
|
||||
* MotionPathHelper 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -3185,7 +3185,7 @@
|
||||
return PathEditor.create(path, vars);
|
||||
};
|
||||
|
||||
MotionPathHelper.version = "3.14.2";
|
||||
MotionPathHelper.version = "3.15.0";
|
||||
|
||||
exports.MotionPathHelper = MotionPathHelper;
|
||||
exports.default = MotionPathHelper;
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -1487,10 +1487,10 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
* MotionPathPlugin 3.14.2
|
||||
* MotionPathPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -1682,7 +1682,7 @@
|
||||
};
|
||||
|
||||
var MotionPathPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "motionPath",
|
||||
register: function register(core, Plugin, propTween) {
|
||||
gsap = core;
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+5
-7
@@ -21,10 +21,10 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
* Observer 3.14.2
|
||||
* Observer 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -207,7 +207,7 @@
|
||||
};
|
||||
},
|
||||
_getEvent = function _getEvent(e, preventDefault) {
|
||||
preventDefault && !e._gsapAllow && e.preventDefault();
|
||||
preventDefault && !e._gsapAllow && e.cancelable !== false && e.preventDefault();
|
||||
return e.changedTouches ? e.changedTouches[0] : e;
|
||||
},
|
||||
_getAbsoluteMax = function _getAbsoluteMax(a) {
|
||||
@@ -238,12 +238,10 @@
|
||||
setTimeout(function () {
|
||||
return _startup = 0;
|
||||
}, 500);
|
||||
|
||||
_setScrollTrigger();
|
||||
|
||||
_coreInitted = 1;
|
||||
}
|
||||
|
||||
ScrollTrigger || _setScrollTrigger();
|
||||
return _coreInitted;
|
||||
};
|
||||
|
||||
@@ -681,7 +679,7 @@
|
||||
|
||||
return Observer;
|
||||
}();
|
||||
Observer.version = "3.14.2";
|
||||
Observer.version = "3.15.0";
|
||||
|
||||
Observer.create = function (vars) {
|
||||
return new Observer(vars);
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -5,10 +5,10 @@
|
||||
}(this, (function (exports) { 'use strict';
|
||||
|
||||
/*!
|
||||
* Physics2DPlugin 3.14.2
|
||||
* Physics2DPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -56,7 +56,7 @@
|
||||
};
|
||||
|
||||
var Physics2DPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "physics2D",
|
||||
register: _initCore,
|
||||
init: function init(target, value, tween) {
|
||||
|
||||
+3
-3
@@ -1,11 +1,11 @@
|
||||
/*!
|
||||
* Physics2DPlugin 3.14.2
|
||||
* Physics2DPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license.
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function j(){return t||"undefined"!=typeof window&&(t=window.gsap)&&t.registerPlugin&&t}function k(e){return Math.round(1e4*e)/1e4}function l(e){t=e||j(),v||(o=t.utils.getUnit,f=t.core.getStyleSaver,w=t.core.reverting||function(){},v=1)}function m(e,t,i,s,n){var r=e._gsap,a=r.get(e,t);this.p=t,this.set=r.set(e,t),this.s=this.val=parseFloat(a),this.u=o(a)||0,this.vel=i||0,this.v=this.vel/n,s||0===s?(this.acc=s,this.a=this.acc/(n*n)):this.acc=this.a=0}var t,v,o,f,w,u=Math.PI/180,i={version:"3.14.2",name:"physics2D",register:l,init:function init(e,t,i){v||l();var s=this,n=+t.angle||0,r=+t.velocity||0,a=+t.acceleration||0,o=t.xProp||"x",p=t.yProp||"y",c=t.accelerationAngle||0===t.accelerationAngle?+t.accelerationAngle:n;s.styles=f&&f(e,t.xProp&&"x"!==t.xProp?t.xProp+","+t.yProp:"transform"),s.target=e,s.tween=i,s.step=0,s.sps=30,t.gravity&&(a=+t.gravity,c=90),n*=u,c*=u,s.fr=1-(+t.friction||0),s._props.push(o,p),s.xp=new m(e,o,Math.cos(n)*r,Math.cos(c)*a,s.sps),s.yp=new m(e,p,Math.sin(n)*r,Math.sin(c)*a,s.sps),s.skipX=s.skipY=0},render:function render(e,t){var i,s,n,r,a,o,p=t.xp,l=t.yp,c=t.tween,v=t.target,f=t.step,u=t.sps,h=t.fr,d=t.skipX,g=t.skipY,y=c._from?c._dur-c._time:c._time;if(c._time||!w()){if(1===h)n=y*y*.5,i=p.s+p.vel*y+p.acc*n,s=l.s+l.vel*y+l.acc*n;else{for(r=o=(0|(y*=u))-f,o<0&&(p.v=p.vel/u,l.v=l.vel/u,p.val=p.s,l.val=l.s,r=o=(t.step=0)|y),a=y%1*h;o--;)p.v+=p.a,l.v+=l.a,p.v*=h,l.v*=h,p.val+=p.v,l.val+=l.v;i=p.val+p.v*a,s=l.val+l.v*a,t.step+=r}d||p.set(v,p.p,k(i)+p.u),g||l.set(v,l.p,k(s)+l.u)}else t.styles.revert()},kill:function kill(e){this.xp.p===e&&(this.skipX=1),this.yp.p===e&&(this.skipY=1)}};j()&&t.registerPlugin(i),e.Physics2DPlugin=i,e.default=i;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function j(){return t||"undefined"!=typeof window&&(t=window.gsap)&&t.registerPlugin&&t}function k(e){return Math.round(1e4*e)/1e4}function l(e){t=e||j(),v||(o=t.utils.getUnit,f=t.core.getStyleSaver,w=t.core.reverting||function(){},v=1)}function m(e,t,i,s,n){var r=e._gsap,a=r.get(e,t);this.p=t,this.set=r.set(e,t),this.s=this.val=parseFloat(a),this.u=o(a)||0,this.vel=i||0,this.v=this.vel/n,s||0===s?(this.acc=s,this.a=this.acc/(n*n)):this.acc=this.a=0}var t,v,o,f,w,u=Math.PI/180,i={version:"3.15.0",name:"physics2D",register:l,init:function init(e,t,i){v||l();var s=this,n=+t.angle||0,r=+t.velocity||0,a=+t.acceleration||0,o=t.xProp||"x",p=t.yProp||"y",c=t.accelerationAngle||0===t.accelerationAngle?+t.accelerationAngle:n;s.styles=f&&f(e,t.xProp&&"x"!==t.xProp?t.xProp+","+t.yProp:"transform"),s.target=e,s.tween=i,s.step=0,s.sps=30,t.gravity&&(a=+t.gravity,c=90),n*=u,c*=u,s.fr=1-(+t.friction||0),s._props.push(o,p),s.xp=new m(e,o,Math.cos(n)*r,Math.cos(c)*a,s.sps),s.yp=new m(e,p,Math.sin(n)*r,Math.sin(c)*a,s.sps),s.skipX=s.skipY=0},render:function render(e,t){var i,s,n,r,a,o,p=t.xp,l=t.yp,c=t.tween,v=t.target,f=t.step,u=t.sps,h=t.fr,d=t.skipX,g=t.skipY,y=c._from?c._dur-c._time:c._time;if(c._time||!w()){if(1===h)n=y*y*.5,i=p.s+p.vel*y+p.acc*n,s=l.s+l.vel*y+l.acc*n;else{for(r=o=(0|(y*=u))-f,o<0&&(p.v=p.vel/u,l.v=l.vel/u,p.val=p.s,l.val=l.s,r=o=(t.step=0)|y),a=y%1*h;o--;)p.v+=p.a,l.v+=l.a,p.v*=h,l.v*=h,p.val+=p.v,l.val+=l.v;i=p.val+p.v*a,s=l.val+l.v*a,t.step+=r}d||p.set(v,p.p,k(i)+p.u),g||l.set(v,l.p,k(s)+l.u)}else t.styles.revert()},kill:function kill(e){this.xp.p===e&&(this.skipX=1),this.yp.p===e&&(this.skipY=1)}};j()&&t.registerPlugin(i),e.Physics2DPlugin=i,e.default=i;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -5,10 +5,10 @@
|
||||
}(this, (function (exports) { 'use strict';
|
||||
|
||||
/*!
|
||||
* PhysicsPropsPlugin 3.14.2
|
||||
* PhysicsPropsPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -57,7 +57,7 @@
|
||||
};
|
||||
|
||||
var PhysicsPropsPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "physicsProps",
|
||||
register: _initCore,
|
||||
init: function init(target, value, tween) {
|
||||
|
||||
+3
-3
@@ -1,11 +1,11 @@
|
||||
/*!
|
||||
* PhysicsPropsPlugin 3.14.2
|
||||
* PhysicsPropsPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license.
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function i(){return t||"undefined"!=typeof window&&(t=window.gsap)&&t.registerPlugin&&t}function j(e){return Math.round(1e4*e)/1e4}function k(e){t=e||i(),p||(a=t.utils.getUnit,c=t.core.getStyleSaver,d=t.core.reverting||function(){},p=1)}function l(e,t,s,i,r,n){var o=e._gsap,f=o.get(e,t);this.p=t,this.set=o.set(e,t),this.s=this.val=parseFloat(f),this.u=a(f)||0,this.vel=s||0,this.v=this.vel/n,i||0===i?(this.acc=i,this.a=this.acc/(n*n)):this.acc=this.a=0,this.fr=1-(r||0)}var t,p,a,c,d,s={version:"3.14.2",name:"physicsProps",register:k,init:function init(e,t,s){p||k();var i,r=this;for(i in r.styles=c&&c(e),r.target=e,r.tween=s,r.step=0,r.sps=30,r.vProps=[],t){var n=t[i],o=n.velocity,f=n.acceleration,a=n.friction;(o||f)&&(r.vProps.push(new l(e,i,o,f,a,r.sps)),r._props.push(i),c&&r.styles.save(i),a&&(r.hasFr=1))}},render:function render(e,t){var s,i,r,n,o,f=t.vProps,l=t.tween,a=t.target,p=t.step,c=t.hasFr,u=t.sps,v=f.length,h=l._from?l._dur-l._time:l._time;if(l._time||!d())if(c){if((i=(0|(h*=u))-p)<0){for(;v--;)(s=f[v]).v=s.vel/u,s.val=s.s;v=f.length,t.step=p=0,i=0|h}for(r=h%1;v--;){for(s=f[v],n=i;n--;)s.v+=s.a,s.v*=s.fr,s.val+=s.v;s.set(a,s.p,j(s.val+s.v*r*s.fr)+s.u)}t.step+=i}else for(o=h*h*.5;v--;)(s=f[v]).set(a,s.p,j(s.s+s.vel*h+s.acc*o)+s.u);else t.styles.revert()},kill:function kill(e){for(var t=this.vProps,s=t.length;s--;)t[s].p===e&&t.splice(s,1)}};i()&&t.registerPlugin(s),e.PhysicsPropsPlugin=s,e.default=s;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function i(){return t||"undefined"!=typeof window&&(t=window.gsap)&&t.registerPlugin&&t}function j(e){return Math.round(1e4*e)/1e4}function k(e){t=e||i(),p||(a=t.utils.getUnit,c=t.core.getStyleSaver,d=t.core.reverting||function(){},p=1)}function l(e,t,s,i,r,n){var o=e._gsap,f=o.get(e,t);this.p=t,this.set=o.set(e,t),this.s=this.val=parseFloat(f),this.u=a(f)||0,this.vel=s||0,this.v=this.vel/n,i||0===i?(this.acc=i,this.a=this.acc/(n*n)):this.acc=this.a=0,this.fr=1-(r||0)}var t,p,a,c,d,s={version:"3.15.0",name:"physicsProps",register:k,init:function init(e,t,s){p||k();var i,r=this;for(i in r.styles=c&&c(e),r.target=e,r.tween=s,r.step=0,r.sps=30,r.vProps=[],t){var n=t[i],o=n.velocity,f=n.acceleration,a=n.friction;(o||f)&&(r.vProps.push(new l(e,i,o,f,a,r.sps)),r._props.push(i),c&&r.styles.save(i),a&&(r.hasFr=1))}},render:function render(e,t){var s,i,r,n,o,f=t.vProps,l=t.tween,a=t.target,p=t.step,c=t.hasFr,u=t.sps,v=f.length,h=l._from?l._dur-l._time:l._time;if(l._time||!d())if(c){if((i=(0|(h*=u))-p)<0){for(;v--;)(s=f[v]).v=s.vel/u,s.val=s.s;v=f.length,t.step=p=0,i=0|h}for(r=h%1;v--;){for(s=f[v],n=i;n--;)s.v+=s.a,s.v*=s.fr,s.val+=s.v;s.set(a,s.p,j(s.val+s.v*r*s.fr)+s.u)}t.step+=i}else for(o=h*h*.5;v--;)(s=f[v]).set(a,s.p,j(s.s+s.vel*h+s.acc*o)+s.u);else t.styles.revert()},kill:function kill(e){for(var t=this.vProps,s=t.length;s--;)t[s].p===e&&t.splice(s,1)}};i()&&t.registerPlugin(s),e.PhysicsPropsPlugin=s,e.default=s;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -5,10 +5,10 @@
|
||||
}(this, (function (exports) { 'use strict';
|
||||
|
||||
/*!
|
||||
* PixiPlugin 3.14.2
|
||||
* PixiPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -381,7 +381,7 @@
|
||||
}
|
||||
|
||||
var PixiPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "pixi",
|
||||
register: function register(core, Plugin, propTween) {
|
||||
gsap = core;
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -55,10 +55,10 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
* ScrambleTextPlugin 3.14.2
|
||||
* ScrambleTextPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -116,7 +116,7 @@
|
||||
};
|
||||
|
||||
var ScrambleTextPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "scrambleText",
|
||||
register: function register(core, Plugin, propTween) {
|
||||
gsap = core;
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -21,10 +21,10 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
* ScrollSmoother 3.14.2
|
||||
* ScrollSmoother 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -953,7 +953,7 @@
|
||||
|
||||
return ScrollSmoother;
|
||||
}();
|
||||
ScrollSmoother.version = "3.14.2";
|
||||
ScrollSmoother.version = "3.15.0";
|
||||
|
||||
ScrollSmoother.create = function (vars) {
|
||||
return _mainInstance && vars && _mainInstance.content() === _toArray(vars.content)[0] ? _mainInstance : new ScrollSmoother(vars);
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+3
-3
@@ -5,10 +5,10 @@
|
||||
}(this, (function (exports) { 'use strict';
|
||||
|
||||
/*!
|
||||
* ScrollToPlugin 3.14.2
|
||||
* ScrollToPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -127,7 +127,7 @@
|
||||
};
|
||||
|
||||
var ScrollToPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "scrollTo",
|
||||
rawVars: 1,
|
||||
register: function register(core) {
|
||||
|
||||
+3
-3
@@ -1,11 +1,11 @@
|
||||
/*!
|
||||
* ScrollToPlugin 3.14.2
|
||||
* ScrollToPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license.
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function l(){return"undefined"!=typeof window}function m(){return f||l()&&(f=window.gsap)&&f.registerPlugin&&f}function n(e){return"string"==typeof e}function o(e){return"function"==typeof e}function p(e,t){var o="x"===t?"Width":"Height",n="scroll"+o,r="client"+o;return e===T||e===i||e===c?Math.max(i[n],c[n])-(T["inner"+o]||i[r]||c[r]):e[n]-e["offset"+o]}function q(e,t){var o="scroll"+("x"===t?"Left":"Top");return e===T&&(null!=e.pageXOffset?o="page"+t.toUpperCase()+"Offset":e=null!=i[o]?i:c),function(){return e[o]}}function s(e,t){if(!(e=y(e)[0])||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var o=e.getBoundingClientRect(),n=!t||t===T||t===c,r=n?{top:i.clientTop-(T.pageYOffset||i.scrollTop||c.scrollTop||0),left:i.clientLeft-(T.pageXOffset||i.scrollLeft||c.scrollLeft||0)}:t.getBoundingClientRect(),l={x:o.left-r.left,y:o.top-r.top};return!n&&t&&(l.x+=q(t,"x")(),l.y+=q(t,"y")()),l}function t(e,t,o,r,l){return isNaN(e)||"object"==typeof e?n(e)&&"="===e.charAt(1)?parseFloat(e.substr(2))*("-"===e.charAt(0)?-1:1)+r-l:"max"===e?p(t,o)-l:Math.min(p(t,o),s(e,t)[o]-l):parseFloat(e)-l}function u(){f=m(),l()&&f&&"undefined"!=typeof document&&document.body&&(T=window,c=document.body,i=document.documentElement,y=f.utils.toArray,f.config({autoKillThreshold:7}),h=f.config(),a=1)}var f,a,T,i,c,y,h,v,r={version:"3.14.2",name:"scrollTo",rawVars:1,register:function register(e){f=e,u()},init:function init(e,r,l,i,s){a||u();var p=this,c=f.getProperty(e,"scrollSnapType");p.isWin=e===T,p.target=e,p.tween=l,r=function _clean(e,t,r,l){if(o(e)&&(e=e(t,r,l)),"object"!=typeof e)return n(e)&&"max"!==e&&"="!==e.charAt(1)?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var i,s={};for(i in e)s[i]="onAutoKill"!==i&&o(e[i])?e[i](t,r,l):e[i];return s}(r,i,e,s),p.vars=r,p.autoKill=!!("autoKill"in r?r:h).autoKill,p.getX=q(e,"x"),p.getY=q(e,"y"),p.x=p.xPrev=p.getX(),p.y=p.yPrev=p.getY(),v=v||f.core.globals().ScrollTrigger,"smooth"===f.getProperty(e,"scrollBehavior")&&f.set(e,{scrollBehavior:"auto"}),c&&"none"!==c&&(p.snap=1,p.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),null!=r.x?(p.add(p,"x",p.x,t(r.x,e,"x",p.x,r.offsetX||0),i,s),p._props.push("scrollTo_x")):p.skipX=1,null!=r.y?(p.add(p,"y",p.y,t(r.y,e,"y",p.y,r.offsetY||0),i,s),p._props.push("scrollTo_y")):p.skipY=1},render:function render(e,t){for(var o,n,r,l,i,s=t._pt,c=t.target,u=t.tween,f=t.autoKill,a=t.xPrev,y=t.yPrev,d=t.isWin,g=t.snap,x=t.snapInline;s;)s.r(e,s.d),s=s._next;o=d||!t.skipX?t.getX():a,r=(n=d||!t.skipY?t.getY():y)-y,l=o-a,i=h.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),f&&(!t.skipX&&(i<l||l<-i)&&o<p(c,"x")&&(t.skipX=1),!t.skipY&&(i<r||r<-i)&&n<p(c,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(u.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(u,t.vars.onAutoKillParams||[]))),d?T.scrollTo(t.skipX?o:t.x,t.skipY?n:t.y):(t.skipY||(c.scrollTop=t.y),t.skipX||(c.scrollLeft=t.x)),!g||1!==e&&0!==e||(n=c.scrollTop,o=c.scrollLeft,x?c.style.scrollSnapType=x:c.style.removeProperty("scroll-snap-type"),c.scrollTop=n+1,c.scrollLeft=o+1,c.scrollTop=n,c.scrollLeft=o),t.xPrev=t.x,t.yPrev=t.y,v&&v.update()},kill:function kill(e){var t="scrollTo"===e,o=this._props.indexOf(e);return!t&&"scrollTo_x"!==e||(this.skipX=1),!t&&"scrollTo_y"!==e||(this.skipY=1),-1<o&&this._props.splice(o,1),!this._props.length}};r.max=p,r.getOffset=s,r.buildGetter=q,r.config=function(e){for(var t in h||u()||(h=f.config()),e)h[t]=e[t]},m()&&f.registerPlugin(r),e.ScrollToPlugin=r,e.default=r;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})}(this,function(e){"use strict";function l(){return"undefined"!=typeof window}function m(){return f||l()&&(f=window.gsap)&&f.registerPlugin&&f}function n(e){return"string"==typeof e}function o(e){return"function"==typeof e}function p(e,t){var o="x"===t?"Width":"Height",n="scroll"+o,r="client"+o;return e===T||e===i||e===c?Math.max(i[n],c[n])-(T["inner"+o]||i[r]||c[r]):e[n]-e["offset"+o]}function q(e,t){var o="scroll"+("x"===t?"Left":"Top");return e===T&&(null!=e.pageXOffset?o="page"+t.toUpperCase()+"Offset":e=null!=i[o]?i:c),function(){return e[o]}}function s(e,t){if(!(e=y(e)[0])||!e.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var o=e.getBoundingClientRect(),n=!t||t===T||t===c,r=n?{top:i.clientTop-(T.pageYOffset||i.scrollTop||c.scrollTop||0),left:i.clientLeft-(T.pageXOffset||i.scrollLeft||c.scrollLeft||0)}:t.getBoundingClientRect(),l={x:o.left-r.left,y:o.top-r.top};return!n&&t&&(l.x+=q(t,"x")(),l.y+=q(t,"y")()),l}function t(e,t,o,r,l){return isNaN(e)||"object"==typeof e?n(e)&&"="===e.charAt(1)?parseFloat(e.substr(2))*("-"===e.charAt(0)?-1:1)+r-l:"max"===e?p(t,o)-l:Math.min(p(t,o),s(e,t)[o]-l):parseFloat(e)-l}function u(){f=m(),l()&&f&&"undefined"!=typeof document&&document.body&&(T=window,c=document.body,i=document.documentElement,y=f.utils.toArray,f.config({autoKillThreshold:7}),h=f.config(),a=1)}var f,a,T,i,c,y,h,v,r={version:"3.15.0",name:"scrollTo",rawVars:1,register:function register(e){f=e,u()},init:function init(e,r,l,i,s){a||u();var p=this,c=f.getProperty(e,"scrollSnapType");p.isWin=e===T,p.target=e,p.tween=l,r=function _clean(e,t,r,l){if(o(e)&&(e=e(t,r,l)),"object"!=typeof e)return n(e)&&"max"!==e&&"="!==e.charAt(1)?{x:e,y:e}:{y:e};if(e.nodeType)return{y:e,x:e};var i,s={};for(i in e)s[i]="onAutoKill"!==i&&o(e[i])?e[i](t,r,l):e[i];return s}(r,i,e,s),p.vars=r,p.autoKill=!!("autoKill"in r?r:h).autoKill,p.getX=q(e,"x"),p.getY=q(e,"y"),p.x=p.xPrev=p.getX(),p.y=p.yPrev=p.getY(),v=v||f.core.globals().ScrollTrigger,"smooth"===f.getProperty(e,"scrollBehavior")&&f.set(e,{scrollBehavior:"auto"}),c&&"none"!==c&&(p.snap=1,p.snapInline=e.style.scrollSnapType,e.style.scrollSnapType="none"),null!=r.x?(p.add(p,"x",p.x,t(r.x,e,"x",p.x,r.offsetX||0),i,s),p._props.push("scrollTo_x")):p.skipX=1,null!=r.y?(p.add(p,"y",p.y,t(r.y,e,"y",p.y,r.offsetY||0),i,s),p._props.push("scrollTo_y")):p.skipY=1},render:function render(e,t){for(var o,n,r,l,i,s=t._pt,c=t.target,u=t.tween,f=t.autoKill,a=t.xPrev,y=t.yPrev,d=t.isWin,g=t.snap,x=t.snapInline;s;)s.r(e,s.d),s=s._next;o=d||!t.skipX?t.getX():a,r=(n=d||!t.skipY?t.getY():y)-y,l=o-a,i=h.autoKillThreshold,t.x<0&&(t.x=0),t.y<0&&(t.y=0),f&&(!t.skipX&&(i<l||l<-i)&&o<p(c,"x")&&(t.skipX=1),!t.skipY&&(i<r||r<-i)&&n<p(c,"y")&&(t.skipY=1),t.skipX&&t.skipY&&(u.kill(),t.vars.onAutoKill&&t.vars.onAutoKill.apply(u,t.vars.onAutoKillParams||[]))),d?T.scrollTo(t.skipX?o:t.x,t.skipY?n:t.y):(t.skipY||(c.scrollTop=t.y),t.skipX||(c.scrollLeft=t.x)),!g||1!==e&&0!==e||(n=c.scrollTop,o=c.scrollLeft,x?c.style.scrollSnapType=x:c.style.removeProperty("scroll-snap-type"),c.scrollTop=n+1,c.scrollLeft=o+1,c.scrollTop=n,c.scrollLeft=o),t.xPrev=t.x,t.yPrev=t.y,v&&v.update()},kill:function kill(e){var t="scrollTo"===e,o=this._props.indexOf(e);return!t&&"scrollTo_x"!==e||(this.skipX=1),!t&&"scrollTo_y"!==e||(this.skipY=1),-1<o&&this._props.splice(o,1),!this._props.length}};r.max=p,r.getOffset=s,r.buildGetter=q,r.config=function(e){for(var t in h||u()||(h=f.config()),e)h[t]=e[t]},m()&&f.registerPlugin(r),e.ScrollToPlugin=r,e.default=r;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0})} else {delete e.default}});
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
+25
-19
@@ -21,10 +21,10 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
* Observer 3.14.2
|
||||
* Observer 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -207,7 +207,7 @@
|
||||
};
|
||||
},
|
||||
_getEvent = function _getEvent(e, preventDefault) {
|
||||
preventDefault && !e._gsapAllow && e.preventDefault();
|
||||
preventDefault && !e._gsapAllow && e.cancelable !== false && e.preventDefault();
|
||||
return e.changedTouches ? e.changedTouches[0] : e;
|
||||
},
|
||||
_getAbsoluteMax = function _getAbsoluteMax(a) {
|
||||
@@ -238,12 +238,10 @@
|
||||
setTimeout(function () {
|
||||
return _startup = 0;
|
||||
}, 500);
|
||||
|
||||
_setScrollTrigger();
|
||||
|
||||
_coreInitted = 1;
|
||||
}
|
||||
|
||||
ScrollTrigger || _setScrollTrigger();
|
||||
return _coreInitted;
|
||||
};
|
||||
|
||||
@@ -681,7 +679,7 @@
|
||||
|
||||
return Observer;
|
||||
}();
|
||||
Observer.version = "3.14.2";
|
||||
Observer.version = "3.15.0";
|
||||
|
||||
Observer.create = function (vars) {
|
||||
return new Observer(vars);
|
||||
@@ -702,10 +700,10 @@
|
||||
_getGSAP() && gsap.registerPlugin(Observer);
|
||||
|
||||
/*!
|
||||
* ScrollTrigger 3.14.2
|
||||
* ScrollTrigger 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -835,11 +833,11 @@
|
||||
_endAnimation = function _endAnimation(animation, reversed, pause) {
|
||||
return animation && animation.progress(reversed ? 0 : 1) && pause && animation.pause();
|
||||
},
|
||||
_callback = function _callback(self, func) {
|
||||
_callback = function _callback(self, func, extraParam) {
|
||||
if (self.enabled) {
|
||||
var result = self._ctx ? self._ctx.add(function () {
|
||||
return func(self);
|
||||
}) : func(self);
|
||||
return func(self, extraParam);
|
||||
}) : func(self, extraParam);
|
||||
result && result.totalTime && (self.callbackAnimation = result);
|
||||
}
|
||||
},
|
||||
@@ -860,7 +858,7 @@
|
||||
_Height = "Height",
|
||||
_px = "px",
|
||||
_getComputedStyle = function _getComputedStyle(element) {
|
||||
return _win$1.getComputedStyle(element);
|
||||
return _win$1.getComputedStyle(element.nodeType === Node.DOCUMENT_NODE ? element.scrollingElement : element);
|
||||
},
|
||||
_makePositionable = function _makePositionable(element) {
|
||||
var position = _getComputedStyle(element).position;
|
||||
@@ -887,7 +885,7 @@
|
||||
skewX: 0,
|
||||
skewY: 0
|
||||
}).progress(1),
|
||||
bounds = element.getBoundingClientRect();
|
||||
bounds = element.getBoundingClientRect ? element.getBoundingClientRect() : element.scrollingElement.getBoundingClientRect();
|
||||
tween && tween.progress(0).kill();
|
||||
return bounds;
|
||||
},
|
||||
@@ -1029,7 +1027,7 @@
|
||||
var e = _doc$1.createElement("div"),
|
||||
useFixedPosition = _isViewport$1(container) || _getProxyProp(container, "pinType") === "fixed",
|
||||
isScroller = type.indexOf("scroller") !== -1,
|
||||
parent = useFixedPosition ? _body$1 : container,
|
||||
parent = useFixedPosition ? _body$1 : container.tagName === "IFRAME" ? container.contentDocument.body : container,
|
||||
isStart = type.indexOf("start") !== -1,
|
||||
color = isStart ? startColor : endColor,
|
||||
css = "border-color:" + color + ";font-size:" + fontSize + ";color:" + color + ";font-weight:" + fontWeight + ";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";
|
||||
@@ -1790,7 +1788,7 @@
|
||||
ease: snap.ease || "power3",
|
||||
data: _abs(endScroll - scroll),
|
||||
onInterrupt: function onInterrupt() {
|
||||
return snapDelayedCall.restart(true) && _onInterrupt && _onInterrupt(self);
|
||||
return snapDelayedCall.restart(true) && _onInterrupt && _callback(self, _onInterrupt);
|
||||
},
|
||||
onComplete: function onComplete() {
|
||||
self.update();
|
||||
@@ -1802,10 +1800,10 @@
|
||||
|
||||
snap1 = snap2 = animation && !isToggle ? animation.totalProgress() : self.progress;
|
||||
onSnapComplete && onSnapComplete(self);
|
||||
_onComplete && _onComplete(self);
|
||||
_onComplete && _callback(self, _onComplete);
|
||||
}
|
||||
}, scroll, change1 * change, endScroll - scroll - change1 * change);
|
||||
onStart && onStart(self, tweenTo.tween);
|
||||
onStart && _callback(self, onStart, tweenTo.tween);
|
||||
}
|
||||
} else if (self.isActive && lastSnap !== scroll) {
|
||||
snapDelayedCall.restart(true);
|
||||
@@ -2745,6 +2743,14 @@
|
||||
|
||||
_wheelListener(_removeListener$1, _scrollers[i], _scrollers[i + 2]);
|
||||
}
|
||||
} else if (_doc$1) {
|
||||
var onLoad = function onLoad() {
|
||||
ScrollTrigger.enable();
|
||||
|
||||
_doc$1.removeEventListener("DOMContentLoaded", onLoad);
|
||||
};
|
||||
|
||||
_doc$1.addEventListener("DOMContentLoaded", onLoad);
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -2811,7 +2817,7 @@
|
||||
|
||||
return ScrollTrigger;
|
||||
}();
|
||||
ScrollTrigger$1.version = "3.14.2";
|
||||
ScrollTrigger$1.version = "3.15.0";
|
||||
|
||||
ScrollTrigger$1.saveStyles = function (targets) {
|
||||
return targets ? _toArray(targets).forEach(function (target) {
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+8
-8
@@ -1,8 +1,8 @@
|
||||
/*!
|
||||
* SplitText 3.14.2
|
||||
* SplitText 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
|
||||
* @license Copyright 2026, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
|
||||
* @author: Jack Doyle
|
||||
*/
|
||||
|
||||
@@ -12,10 +12,10 @@
|
||||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.window = global.window || {}));
|
||||
})(this, (function (exports) { 'use strict';
|
||||
|
||||
let gsap, _fonts, _splitProp = typeof Symbol === "function" ? Symbol() : "_split", _coreInitted, _initIfNecessary = () => _coreInitted || SplitText.register(window.gsap), _charSegmenter = typeof Intl !== "undefined" && "Segmenter" in Intl ? new Intl.Segmenter() : 0, _toArray = (r) => typeof r === "string" ? _toArray(document.querySelectorAll(r)) : "length" in r ? Array.from(r).reduce((acc, cur) => {
|
||||
let gsap, _fonts, _splitProp = typeof Symbol === "function" ? Symbol() : "_split", _coreInitted, _initIfNecessary = () => _coreInitted || SplitText.register(window.gsap), _charSegmenter = typeof Intl !== "undefined" && "Segmenter" in Intl ? new Intl.Segmenter() : 0, _toArray = (r) => !r ? [] : typeof r === "string" ? _toArray(document.querySelectorAll(r)) : "length" in r ? Array.from(r).reduce((acc, cur) => {
|
||||
typeof cur === "string" ? acc.push(..._toArray(cur)) : acc.push(cur);
|
||||
return acc;
|
||||
}, []) : [r], _elements = (targets) => _toArray(targets).filter((e) => e instanceof HTMLElement), _emptyArray = [], _context = function() {
|
||||
}, []) : [r], _elements = (targets) => _toArray(targets).filter((e) => e && e.nodeType === 1), _emptyArray = [], _context = function() {
|
||||
}, _defaultContext = { add: (f) => f() }, _spacesRegEx = /\s+/g, _emojiSafeRegEx = new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.", "gu"), _emptyBounds = { left: 0, top: 0, width: 0, height: 0 }, _findNextValidBounds = (allBounds, startIndex) => {
|
||||
while (++startIndex < allBounds.length && allBounds[startIndex] === _emptyBounds) {
|
||||
}
|
||||
@@ -280,13 +280,13 @@
|
||||
let maskEl = el.cloneNode();
|
||||
el.replaceWith(maskEl);
|
||||
maskEl.appendChild(el);
|
||||
el.className && (maskEl.className = el.className.trim() + "-mask");
|
||||
el.className && (maskEl.className = el.className.trim().split(" ").map((s) => s + "-mask").join(" "));
|
||||
maskEl.style.overflow = "clip";
|
||||
return maskEl;
|
||||
}));
|
||||
}
|
||||
this.isSplit = true;
|
||||
_fonts && splitLines && (autoSplit ? _fonts.addEventListener("loadingdone", this._split) : _fonts.status === "loading" && console.warn("SplitText called before fonts loaded"));
|
||||
_fonts && splitLines && autoSplit && _fonts.addEventListener("loadingdone", this._split);
|
||||
if ((onSplitResult = onSplit && onSplit(this)) && onSplitResult.totalTime) {
|
||||
this._data.anim = animTime ? onSplitResult.totalTime(animTime) : onSplitResult;
|
||||
}
|
||||
@@ -333,12 +333,12 @@
|
||||
}
|
||||
}
|
||||
};
|
||||
_SplitText.version = "3.14.2";
|
||||
_SplitText.version = "3.15.0";
|
||||
let SplitText = _SplitText;
|
||||
|
||||
exports.SplitText = SplitText;
|
||||
exports.default = SplitText;
|
||||
|
||||
if (typeof(window) === 'undefined' || window !== exports) {Object.defineProperty(exports, '__esModule', { value: true });} else {delete window.default;}
|
||||
Object.defineProperty(exports, '__esModule', { value: true });
|
||||
|
||||
}));
|
||||
|
||||
+5
-5
@@ -1,11 +1,11 @@
|
||||
/*!
|
||||
* SplitText 3.14.2
|
||||
* SplitText 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
|
||||
* @license Copyright 2026, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
|
||||
* @author: Jack Doyle
|
||||
*/
|
||||
|
||||
(function(W,A){typeof exports=="object"&&typeof module!="undefined"?A(exports):typeof define=="function"&&define.amd?define(["exports"],A):(W=typeof globalThis!="undefined"?globalThis:W||self,A(W.window=W.window||{}))})(this,function(W){"use strict";let A,I,Z=typeof Symbol=="function"?Symbol():"_split",K,he=()=>K||Y.register(window.gsap),$=typeof Intl!="undefined"&&"Segmenter"in Intl?new Intl.Segmenter:0,q=e=>typeof e=="string"?q(document.querySelectorAll(e)):"length"in e?Array.from(e).reduce((t,i)=>(typeof i=="string"?t.push(...q(i)):t.push(i),t),[]):[e],ee=e=>q(e).filter(t=>t instanceof HTMLElement),Q=[],U=function(){},de={add:e=>e()},pe=/\s+/g,te=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),J={left:0,top:0,width:0,height:0},ue=(e,t)=>{for(;++t<e.length&&e[t]===J;);return e[t]||J},ie=({element:e,html:t,ariaL:i,ariaH:n})=>{e.innerHTML=t,i?e.setAttribute("aria-label",i):e.removeAttribute("aria-label"),n?e.setAttribute("aria-hidden",n):e.removeAttribute("aria-hidden")},ne=(e,t)=>{if(t){let i=new Set(e.join("").match(t)||Q),n=e.length,a,c,l,o;if(i.size)for(;--n>-1;){c=e[n];for(l of i)if(l.startsWith(c)&&l.length>c.length){for(a=0,o=c;l.startsWith(o+=e[n+ ++a])&&o.length<l.length;);if(a&&o.length===l.length){e[n]=l,e.splice(n+1,a);break}}}}return e},le=e=>window.getComputedStyle(e).display==="inline"&&(e.style.display="inline-block"),M=(e,t,i)=>t.insertBefore(typeof e=="string"?document.createTextNode(e):e,i),X=(e,t,i)=>{let n=t[e+"sClass"]||"",{tag:a="div",aria:c="auto",propIndex:l=!1}=t,o=e==="line"?"block":"inline-block",d=n.indexOf("++")>-1,R=b=>{let m=document.createElement(a),E=i.length+1;return n&&(m.className=n+(d?" "+n+E:"")),l&&m.style.setProperty("--"+e,E+""),c!=="none"&&m.setAttribute("aria-hidden","true"),a!=="span"&&(m.style.position="relative",m.style.display=o),m.textContent=b,i.push(m),m};return d&&(n=n.replace("++","")),R.collection=i,R},fe=(e,t,i,n)=>{let a=X("line",i,n),c=window.getComputedStyle(e).textAlign||"left";return(l,o)=>{let d=a("");for(d.style.textAlign=c,e.insertBefore(d,t[l]);l<o;l++)d.appendChild(t[l]);d.normalize()}},se=(e,t,i,n,a,c,l,o,d,R)=>{var b;let m=Array.from(e.childNodes),E=0,{wordDelimiter:_,reduceWhiteSpace:B=!0,prepareText:V}=t,G=e.getBoundingClientRect(),O=G,D=!B&&window.getComputedStyle(e).whiteSpace.substring(0,3)==="pre",S=0,x=i.collection,r,f,H,s,g,y,z,h,p,k,C,T,N,L,w,u,F,v;for(typeof _=="object"?(H=_.delimiter||_,f=_.replaceWith||""):f=_===""?"":_||" ",r=f!==" ";E<m.length;E++)if(s=m[E],s.nodeType===3){for(w=s.textContent||"",B?w=w.replace(pe," "):D&&(w=w.replace(/\n/g,f+`
|
||||
`)),V&&(w=V(w,e)),s.textContent=w,g=f||H?w.split(H||f):w.match(o)||Q,F=g[g.length-1],h=r?F.slice(-1)===" ":!F,F||g.pop(),O=G,z=r?g[0].charAt(0)===" ":!g[0],z&&M(" ",e,s),g[0]||g.shift(),ne(g,d),c&&R||(s.textContent=""),p=1;p<=g.length;p++)if(u=g[p-1],!B&&D&&u.charAt(0)===`
|
||||
`&&((b=s.previousSibling)==null||b.remove(),M(document.createElement("br"),e,s),u=u.slice(1)),!B&&u==="")M(f,e,s);else if(u===" ")e.insertBefore(document.createTextNode(" "),s);else{if(r&&u.charAt(0)===" "&&M(" ",e,s),S&&p===1&&!z&&x.indexOf(S.parentNode)>-1?(y=x[x.length-1],y.appendChild(document.createTextNode(n?"":u))):(y=i(n?"":u),M(y,e,s),S&&p===1&&!z&&y.insertBefore(S,y.firstChild)),n)for(C=$?ne([...$.segment(u)].map(j=>j.segment),d):u.match(o)||Q,v=0;v<C.length;v++)y.appendChild(C[v]===" "?document.createTextNode(" "):n(C[v]));if(c&&R){if(w=s.textContent=w.substring(u.length+1,w.length),k=y.getBoundingClientRect(),k.top>O.top&&k.left<=O.left){for(T=e.cloneNode(),N=e.childNodes[0];N&&N!==y;)L=N,N=N.nextSibling,T.appendChild(L);e.parentNode.insertBefore(T,e),a&&le(T)}O=k}(p<g.length||h)&&M(p>=g.length?" ":r&&u.slice(-1)===" "?" "+f:f,e,s)}e.removeChild(s),S=0}else s.nodeType===1&&(l&&l.indexOf(s)>-1?(x.indexOf(s.previousSibling)>-1&&x[x.length-1].appendChild(s),S=s):(se(s,t,i,n,a,c,l,o,d,!0),S=0),a&&le(s))};const re=class ae{constructor(t,i){this.isSplit=!1,he(),this.elements=ee(t),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=i,this.elements.forEach(l=>{var o;i.overwrite!==!1&&((o=l[Z])==null||o._data.orig.filter(({element:d})=>d===l).forEach(ie)),l[Z]=this}),this._split=()=>this.isSplit&&this.split(this.vars);let n=[],a,c=()=>{let l=n.length,o;for(;l--;){o=n[l];let d=o.element.offsetWidth;if(d!==o.width){o.width=d,this._split();return}}};this._data={orig:n,obs:typeof ResizeObserver!="undefined"&&new ResizeObserver(()=>{clearTimeout(a),a=setTimeout(c,200)})},U(this),this.split(i)}split(t){return(this._ctx||de).add(()=>{this.isSplit&&this.revert(),this.vars=t=t||this.vars||{};let{type:i="chars,words,lines",aria:n="auto",deepSlice:a=!0,smartWrap:c,onSplit:l,autoSplit:o=!1,specialChars:d,mask:R}=this.vars,b=i.indexOf("lines")>-1,m=i.indexOf("chars")>-1,E=i.indexOf("words")>-1,_=m&&!E&&!b,B=d&&("push"in d?new RegExp("(?:"+d.join("|")+")","gu"):d),V=B?new RegExp(B.source+"|"+te.source,"gu"):te,G=!!t.ignore&&ee(t.ignore),{orig:O,animTime:D,obs:S}=this._data,x;(m||E||b)&&(this.elements.forEach((r,f)=>{O[f]={element:r,html:r.innerHTML,ariaL:r.getAttribute("aria-label"),ariaH:r.getAttribute("aria-hidden")},n==="auto"?r.setAttribute("aria-label",(r.textContent||"").trim()):n==="hidden"&&r.setAttribute("aria-hidden","true");let H=[],s=[],g=[],y=m?X("char",t,H):null,z=X("word",t,s),h,p,k,C;if(se(r,t,z,y,_,a&&(b||_),G,V,B,!1),b){let T=q(r.childNodes),N=fe(r,T,t,g),L,w=[],u=0,F=T.map(P=>P.nodeType===1?P.getBoundingClientRect():J),v=J,j;for(h=0;h<T.length;h++)L=T[h],L.nodeType===1&&(L.nodeName==="BR"?((!h||T[h-1].nodeName!=="BR")&&(w.push(L),N(u,h+1)),u=h+1,v=ue(F,h)):(j=F[h],h&&j.top>v.top&&j.left<v.left+v.width-1&&(N(u,h),u=h),v=j));u<h&&N(u,h),w.forEach(P=>{var oe;return(oe=P.parentNode)==null?void 0:oe.removeChild(P)})}if(!E){for(h=0;h<s.length;h++)if(p=s[h],m||!p.nextSibling||p.nextSibling.nodeType!==3)if(c&&!b){for(k=document.createElement("span"),k.style.whiteSpace="nowrap";p.firstChild;)k.appendChild(p.firstChild);p.replaceWith(k)}else p.replaceWith(...p.childNodes);else C=p.nextSibling,C&&C.nodeType===3&&(C.textContent=(p.textContent||"")+(C.textContent||""),p.remove());s.length=0,r.normalize()}this.lines.push(...g),this.words.push(...s),this.chars.push(...H)}),R&&this[R]&&this.masks.push(...this[R].map(r=>{let f=r.cloneNode();return r.replaceWith(f),f.appendChild(r),r.className&&(f.className=r.className.trim()+"-mask"),f.style.overflow="clip",f}))),this.isSplit=!0,I&&b&&(o?I.addEventListener("loadingdone",this._split):I.status==="loading"&&console.warn("SplitText called before fonts loaded")),(x=l&&l(this))&&x.totalTime&&(this._data.anim=D?x.totalTime(D):x),b&&o&&this.elements.forEach((r,f)=>{O[f].width=r.offsetWidth,S&&S.observe(r)})}),this}kill(){let{obs:t}=this._data;t&&t.disconnect(),I==null||I.removeEventListener("loadingdone",this._split)}revert(){var t,i;if(this.isSplit){let{orig:n,anim:a}=this._data;this.kill(),n.forEach(ie),this.chars.length=this.words.length=this.lines.length=n.length=this.masks.length=0,this.isSplit=!1,a&&(this._data.animTime=a.totalTime(),a.revert()),(i=(t=this.vars).onRevert)==null||i.call(t,this)}return this}static create(t,i){return new ae(t,i)}static register(t){A=A||t||window.gsap,A&&(q=A.utils.toArray,U=A.core.context||U),!K&&window.innerWidth>0&&(I=document.fonts,K=!0)}};re.version="3.14.2";let Y=re;W.SplitText=Y,W.default=Y;if (typeof(window)==="undefined"||window!==W){Object.defineProperty(W,"__esModule",{value:!0})} else {delete W.default}});
|
||||
(function(k,A){typeof exports=="object"&&typeof module!="undefined"?A(exports):typeof define=="function"&&define.amd?define(["exports"],A):(k=typeof globalThis!="undefined"?globalThis:k||self,A(k.window=k.window||{}))})(this,function(k){"use strict";let A,D,Z=typeof Symbol=="function"?Symbol():"_split",K,he=()=>K||Y.register(window.gsap),$=typeof Intl!="undefined"&&"Segmenter"in Intl?new Intl.Segmenter:0,I=e=>e?typeof e=="string"?I(document.querySelectorAll(e)):"length"in e?Array.from(e).reduce((t,i)=>(typeof i=="string"?t.push(...I(i)):t.push(i),t),[]):[e]:[],ee=e=>I(e).filter(t=>t&&t.nodeType===1),Q=[],U=function(){},de={add:e=>e()},pe=/\s+/g,te=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),J={left:0,top:0,width:0,height:0},ue=(e,t)=>{for(;++t<e.length&&e[t]===J;);return e[t]||J},ie=({element:e,html:t,ariaL:i,ariaH:n})=>{e.innerHTML=t,i?e.setAttribute("aria-label",i):e.removeAttribute("aria-label"),n?e.setAttribute("aria-hidden",n):e.removeAttribute("aria-hidden")},ne=(e,t)=>{if(t){let i=new Set(e.join("").match(t)||Q),n=e.length,a,c,l,o;if(i.size)for(;--n>-1;){c=e[n];for(l of i)if(l.startsWith(c)&&l.length>c.length){for(a=0,o=c;l.startsWith(o+=e[n+ ++a])&&o.length<l.length;);if(a&&o.length===l.length){e[n]=l,e.splice(n+1,a);break}}}}return e},le=e=>window.getComputedStyle(e).display==="inline"&&(e.style.display="inline-block"),M=(e,t,i)=>t.insertBefore(typeof e=="string"?document.createTextNode(e):e,i),X=(e,t,i)=>{let n=t[e+"sClass"]||"",{tag:a="div",aria:c="auto",propIndex:l=!1}=t,o=e==="line"?"block":"inline-block",d=n.indexOf("++")>-1,_=y=>{let m=document.createElement(a),E=i.length+1;return n&&(m.className=n+(d?" "+n+E:"")),l&&m.style.setProperty("--"+e,E+""),c!=="none"&&m.setAttribute("aria-hidden","true"),a!=="span"&&(m.style.position="relative",m.style.display=o),m.textContent=y,i.push(m),m};return d&&(n=n.replace("++","")),_.collection=i,_},fe=(e,t,i,n)=>{let a=X("line",i,n),c=window.getComputedStyle(e).textAlign||"left";return(l,o)=>{let d=a("");for(d.style.textAlign=c,e.insertBefore(d,t[l]);l<o;l++)d.appendChild(t[l]);d.normalize()}},se=(e,t,i,n,a,c,l,o,d,_)=>{var y;let m=Array.from(e.childNodes),E=0,{wordDelimiter:R,reduceWhiteSpace:B=!0,prepareText:V}=t,G=e.getBoundingClientRect(),j=G,q=!B&&window.getComputedStyle(e).whiteSpace.substring(0,3)==="pre",C=0,b=i.collection,r,f,O,s,g,x,z,h,p,W,S,T,N,F,w,u,L,v;for(typeof R=="object"?(O=R.delimiter||R,f=R.replaceWith||""):f=R===""?"":R||" ",r=f!==" ";E<m.length;E++)if(s=m[E],s.nodeType===3){for(w=s.textContent||"",B?w=w.replace(pe," "):q&&(w=w.replace(/\n/g,f+`
|
||||
`)),V&&(w=V(w,e)),s.textContent=w,g=f||O?w.split(O||f):w.match(o)||Q,L=g[g.length-1],h=r?L.slice(-1)===" ":!L,L||g.pop(),j=G,z=r?g[0].charAt(0)===" ":!g[0],z&&M(" ",e,s),g[0]||g.shift(),ne(g,d),c&&_||(s.textContent=""),p=1;p<=g.length;p++)if(u=g[p-1],!B&&q&&u.charAt(0)===`
|
||||
`&&((y=s.previousSibling)==null||y.remove(),M(document.createElement("br"),e,s),u=u.slice(1)),!B&&u==="")M(f,e,s);else if(u===" ")e.insertBefore(document.createTextNode(" "),s);else{if(r&&u.charAt(0)===" "&&M(" ",e,s),C&&p===1&&!z&&b.indexOf(C.parentNode)>-1?(x=b[b.length-1],x.appendChild(document.createTextNode(n?"":u))):(x=i(n?"":u),M(x,e,s),C&&p===1&&!z&&x.insertBefore(C,x.firstChild)),n)for(S=$?ne([...$.segment(u)].map(H=>H.segment),d):u.match(o)||Q,v=0;v<S.length;v++)x.appendChild(S[v]===" "?document.createTextNode(" "):n(S[v]));if(c&&_){if(w=s.textContent=w.substring(u.length+1,w.length),W=x.getBoundingClientRect(),W.top>j.top&&W.left<=j.left){for(T=e.cloneNode(),N=e.childNodes[0];N&&N!==x;)F=N,N=N.nextSibling,T.appendChild(F);e.parentNode.insertBefore(T,e),a&&le(T)}j=W}(p<g.length||h)&&M(p>=g.length?" ":r&&u.slice(-1)===" "?" "+f:f,e,s)}e.removeChild(s),C=0}else s.nodeType===1&&(l&&l.indexOf(s)>-1?(b.indexOf(s.previousSibling)>-1&&b[b.length-1].appendChild(s),C=s):(se(s,t,i,n,a,c,l,o,d,!0),C=0),a&&le(s))};const re=class ae{constructor(t,i){this.isSplit=!1,he(),this.elements=ee(t),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=i,this.elements.forEach(l=>{var o;i.overwrite!==!1&&((o=l[Z])==null||o._data.orig.filter(({element:d})=>d===l).forEach(ie)),l[Z]=this}),this._split=()=>this.isSplit&&this.split(this.vars);let n=[],a,c=()=>{let l=n.length,o;for(;l--;){o=n[l];let d=o.element.offsetWidth;if(d!==o.width){o.width=d,this._split();return}}};this._data={orig:n,obs:typeof ResizeObserver!="undefined"&&new ResizeObserver(()=>{clearTimeout(a),a=setTimeout(c,200)})},U(this),this.split(i)}split(t){return(this._ctx||de).add(()=>{this.isSplit&&this.revert(),this.vars=t=t||this.vars||{};let{type:i="chars,words,lines",aria:n="auto",deepSlice:a=!0,smartWrap:c,onSplit:l,autoSplit:o=!1,specialChars:d,mask:_}=this.vars,y=i.indexOf("lines")>-1,m=i.indexOf("chars")>-1,E=i.indexOf("words")>-1,R=m&&!E&&!y,B=d&&("push"in d?new RegExp("(?:"+d.join("|")+")","gu"):d),V=B?new RegExp(B.source+"|"+te.source,"gu"):te,G=!!t.ignore&&ee(t.ignore),{orig:j,animTime:q,obs:C}=this._data,b;(m||E||y)&&(this.elements.forEach((r,f)=>{j[f]={element:r,html:r.innerHTML,ariaL:r.getAttribute("aria-label"),ariaH:r.getAttribute("aria-hidden")},n==="auto"?r.setAttribute("aria-label",(r.textContent||"").trim()):n==="hidden"&&r.setAttribute("aria-hidden","true");let O=[],s=[],g=[],x=m?X("char",t,O):null,z=X("word",t,s),h,p,W,S;if(se(r,t,z,x,R,a&&(y||R),G,V,B,!1),y){let T=I(r.childNodes),N=fe(r,T,t,g),F,w=[],u=0,L=T.map(P=>P.nodeType===1?P.getBoundingClientRect():J),v=J,H;for(h=0;h<T.length;h++)F=T[h],F.nodeType===1&&(F.nodeName==="BR"?((!h||T[h-1].nodeName!=="BR")&&(w.push(F),N(u,h+1)),u=h+1,v=ue(L,h)):(H=L[h],h&&H.top>v.top&&H.left<v.left+v.width-1&&(N(u,h),u=h),v=H));u<h&&N(u,h),w.forEach(P=>{var oe;return(oe=P.parentNode)==null?void 0:oe.removeChild(P)})}if(!E){for(h=0;h<s.length;h++)if(p=s[h],m||!p.nextSibling||p.nextSibling.nodeType!==3)if(c&&!y){for(W=document.createElement("span"),W.style.whiteSpace="nowrap";p.firstChild;)W.appendChild(p.firstChild);p.replaceWith(W)}else p.replaceWith(...p.childNodes);else S=p.nextSibling,S&&S.nodeType===3&&(S.textContent=(p.textContent||"")+(S.textContent||""),p.remove());s.length=0,r.normalize()}this.lines.push(...g),this.words.push(...s),this.chars.push(...O)}),_&&this[_]&&this.masks.push(...this[_].map(r=>{let f=r.cloneNode();return r.replaceWith(f),f.appendChild(r),r.className&&(f.className=r.className.trim().split(" ").map(O=>O+"-mask").join(" ")),f.style.overflow="clip",f}))),this.isSplit=!0,D&&y&&o&&D.addEventListener("loadingdone",this._split),(b=l&&l(this))&&b.totalTime&&(this._data.anim=q?b.totalTime(q):b),y&&o&&this.elements.forEach((r,f)=>{j[f].width=r.offsetWidth,C&&C.observe(r)})}),this}kill(){let{obs:t}=this._data;t&&t.disconnect(),D==null||D.removeEventListener("loadingdone",this._split)}revert(){var t,i;if(this.isSplit){let{orig:n,anim:a}=this._data;this.kill(),n.forEach(ie),this.chars.length=this.words.length=this.lines.length=n.length=this.masks.length=0,this.isSplit=!1,a&&(this._data.animTime=a.totalTime(),a.revert()),(i=(t=this.vars).onRevert)==null||i.call(t,this)}return this}static create(t,i){return new ae(t,i)}static register(t){A=A||t||window.gsap,A&&(I=A.utils.toArray,U=A.core.context||U),!K&&window.innerWidth>0&&(D=document.fonts,K=!0)}};re.version="3.15.0";let Y=re;k.SplitText=Y,k.default=Y;if (typeof(window)==="undefined"||window!==k){Object.defineProperty(k,"__esModule",{value:!0})} else {delete k.default}});
|
||||
|
||||
+3
-3
@@ -88,10 +88,10 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
* TextPlugin 3.14.2
|
||||
* TextPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -103,7 +103,7 @@
|
||||
};
|
||||
|
||||
var TextPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "text",
|
||||
init: function init(target, value, tween) {
|
||||
typeof value !== "object" && (value = {
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
+1
-1
File diff suppressed because one or more lines are too long
+128
-142
@@ -90,10 +90,10 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
* GSAP 3.14.2
|
||||
* GSAP 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -1427,27 +1427,6 @@
|
||||
return function (p) {
|
||||
return 1 - ease(1 - p);
|
||||
};
|
||||
},
|
||||
_propagateYoyoEase = function _propagateYoyoEase(timeline, isYoyo) {
|
||||
var child = timeline._first,
|
||||
ease;
|
||||
|
||||
while (child) {
|
||||
if (child instanceof Timeline) {
|
||||
_propagateYoyoEase(child, isYoyo);
|
||||
} else if (child.vars.yoyoEase && (!child._yoyo || !child._repeat) && child._yoyo !== isYoyo) {
|
||||
if (child.timeline) {
|
||||
_propagateYoyoEase(child.timeline, isYoyo);
|
||||
} else {
|
||||
ease = child._ease;
|
||||
child._ease = child._yEase;
|
||||
child._yEase = ease;
|
||||
child._yoyo = isYoyo;
|
||||
}
|
||||
}
|
||||
|
||||
child = child._next;
|
||||
}
|
||||
},
|
||||
_parseEase = function _parseEase(ease, defaultEase) {
|
||||
return !ease ? defaultEase : (_isFunction(ease) ? ease : _easeMap[ease] || _configEaseFromString(ease)) || defaultEase;
|
||||
@@ -2125,8 +2104,6 @@
|
||||
if (!this._ts && !prevPaused) {
|
||||
return this;
|
||||
}
|
||||
|
||||
_propagateYoyoEase(this, isYoyo);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2140,7 +2117,7 @@
|
||||
|
||||
this._tTime = tTime;
|
||||
this._time = time;
|
||||
this._act = !timeScale;
|
||||
this._act = !!timeScale;
|
||||
|
||||
if (!this._initted) {
|
||||
this._onUpdate = this.vars.onUpdate;
|
||||
@@ -2763,6 +2740,7 @@
|
||||
fullTargets = parent && parent.data === "nested" ? parent.vars.targets : targets,
|
||||
autoOverwrite = tween._overwrite === "auto" && !_suppressOverwrites,
|
||||
tl = tween.timeline,
|
||||
reverseEase = vars.easeReverse || yoyoEase,
|
||||
cleanVars,
|
||||
i,
|
||||
p,
|
||||
@@ -2778,15 +2756,9 @@
|
||||
overwritten;
|
||||
tl && (!keyframes || !ease) && (ease = "none");
|
||||
tween._ease = _parseEase(ease, _defaults.ease);
|
||||
tween._yEase = yoyoEase ? _invertEase(_parseEase(yoyoEase === true ? ease : yoyoEase, _defaults.ease)) : 0;
|
||||
|
||||
if (yoyoEase && tween._yoyo && !tween._repeat) {
|
||||
yoyoEase = tween._yEase;
|
||||
tween._yEase = tween._ease;
|
||||
tween._ease = yoyoEase;
|
||||
}
|
||||
|
||||
tween._rEase = reverseEase && (_parseEase(reverseEase) || tween._ease);
|
||||
tween._from = !tl && !!vars.runBackwards;
|
||||
if (tween._from) tween.ratio = 1;
|
||||
|
||||
if (!tl || keyframes && !vars.stagger) {
|
||||
harness = targets[0] ? _getCache(targets[0]).harness : 0;
|
||||
@@ -2934,7 +2906,7 @@
|
||||
_initTween(tween, time);
|
||||
|
||||
_forceAllPropTweens = 0;
|
||||
return skipRecursion ? _warn(property + " not eligible for reset") : 1;
|
||||
return skipRecursion ? _warn(property + " not eligible for reset. Try splitting into individual properties") : 1;
|
||||
}
|
||||
|
||||
ptCache.push(pt);
|
||||
@@ -3007,7 +2979,7 @@
|
||||
_parseFuncOrString = function _parseFuncOrString(value, tween, i, target, targets) {
|
||||
return _isFunction(value) ? value.call(tween, i, target, targets) : _isString(value) && ~value.indexOf("random(") ? _replaceRandom(value) : value;
|
||||
},
|
||||
_staggerTweenProps = _callbackNames + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",
|
||||
_staggerTweenProps = _callbackNames + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",
|
||||
_staggerPropsToSkip = {};
|
||||
|
||||
_forEachName(_staggerTweenProps + ",id,stagger,delay,duration,paused,scrollTrigger", function (name) {
|
||||
@@ -3036,7 +3008,6 @@
|
||||
keyframes = _this3$vars.keyframes,
|
||||
defaults = _this3$vars.defaults,
|
||||
scrollTrigger = _this3$vars.scrollTrigger,
|
||||
yoyoEase = _this3$vars.yoyoEase,
|
||||
parent = vars.parent || _globalTimeline,
|
||||
parsedTargets = (_isArray(targets) || _isTypedArray(targets) ? _isNumber(targets[0]) : "length" in vars) ? [targets] : toArray(targets),
|
||||
tl,
|
||||
@@ -3053,6 +3024,7 @@
|
||||
|
||||
if (keyframes || stagger || _isFuncOrString(duration) || _isFuncOrString(delay)) {
|
||||
vars = _this3.vars;
|
||||
var easeReverse = vars.easeReverse || vars.yoyoEase;
|
||||
tl = _this3.timeline = new Timeline({
|
||||
data: "nested",
|
||||
defaults: defaults || {},
|
||||
@@ -3078,7 +3050,7 @@
|
||||
for (i = 0; i < l; i++) {
|
||||
copy = _copyExcluding(vars, _staggerPropsToSkip);
|
||||
copy.stagger = 0;
|
||||
yoyoEase && (copy.yoyoEase = yoyoEase);
|
||||
easeReverse && (copy.easeReverse = easeReverse);
|
||||
staggerVarsToMerge && _merge(copy, staggerVarsToMerge);
|
||||
curTarget = parsedTargets[i];
|
||||
copy.duration = +_parseFuncOrString(duration, _assertThisInitialized(_this3), i, curTarget, parsedTargets);
|
||||
@@ -3185,8 +3157,7 @@
|
||||
prevIteration,
|
||||
isYoyo,
|
||||
ratio,
|
||||
timeline,
|
||||
yoyoEase;
|
||||
timeline;
|
||||
|
||||
if (!dur) {
|
||||
_renderZeroDurationTween(this, totalTime, suppressEvents, force);
|
||||
@@ -3219,12 +3190,7 @@
|
||||
}
|
||||
|
||||
isYoyo = this._yoyo && iteration & 1;
|
||||
|
||||
if (isYoyo) {
|
||||
yoyoEase = this._yEase;
|
||||
time = dur - time;
|
||||
}
|
||||
|
||||
if (isYoyo) time = dur - time;
|
||||
prevIteration = _animationCycle(this._tTime, cycleDuration);
|
||||
|
||||
if (time === prevTime && !force && this._initted && iteration === prevIteration) {
|
||||
@@ -3233,8 +3199,6 @@
|
||||
}
|
||||
|
||||
if (iteration !== prevIteration) {
|
||||
timeline && this._yEase && _propagateYoyoEase(timeline, isYoyo);
|
||||
|
||||
if (this.vars.repeatRefresh && !isYoyo && !this._lock && time !== cycleDuration && this._initted) {
|
||||
this._lock = force = 1;
|
||||
this.render(_roundPrecise(cycleDuration * iteration), true).invalidate()._lock = 0;
|
||||
@@ -3257,6 +3221,26 @@
|
||||
}
|
||||
}
|
||||
|
||||
if (this._rEase) {
|
||||
var inv = time < prevTime;
|
||||
|
||||
if (inv !== this._inv) {
|
||||
var segDur = inv ? prevTime : dur - prevTime;
|
||||
this._inv = inv;
|
||||
if (this._from) this.ratio = 1 - this.ratio;
|
||||
this._invRatio = this.ratio;
|
||||
this._invTime = prevTime;
|
||||
this._invRecip = segDur ? (inv ? -1 : 1) / segDur : 0;
|
||||
this._invScale = inv ? -this.ratio : 1 - this.ratio;
|
||||
this._invEase = inv ? this._rEase : this._ease;
|
||||
}
|
||||
|
||||
this.ratio = ratio = this._invRatio + this._invScale * this._invEase((time - this._invTime) * this._invRecip);
|
||||
} else {
|
||||
this.ratio = ratio = this._ease(time / dur);
|
||||
}
|
||||
|
||||
if (this._from) this.ratio = ratio = 1 - ratio;
|
||||
this._tTime = tTime;
|
||||
this._time = time;
|
||||
|
||||
@@ -3265,12 +3249,6 @@
|
||||
this._lazy = 0;
|
||||
}
|
||||
|
||||
this.ratio = ratio = (yoyoEase || this._ease)(time / dur);
|
||||
|
||||
if (this._from) {
|
||||
this.ratio = ratio = 1 - ratio;
|
||||
}
|
||||
|
||||
if (!prevTime && tTime && !suppressEvents && !prevIteration) {
|
||||
_callback(this, "onStart");
|
||||
|
||||
@@ -3629,7 +3607,7 @@
|
||||
return PropTween;
|
||||
}();
|
||||
|
||||
_forEachName(_callbackNames + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger", function (name) {
|
||||
_forEachName(_callbackNames + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse", function (name) {
|
||||
return _reservedProps[name] = 1;
|
||||
});
|
||||
|
||||
@@ -4221,7 +4199,7 @@
|
||||
}
|
||||
}
|
||||
}, _buildModifierPlugin("roundProps", _roundModifier), _buildModifierPlugin("modifiers"), _buildModifierPlugin("snap", snap)) || _gsap;
|
||||
Tween.version = Timeline.version = gsap.version = "3.14.2";
|
||||
Tween.version = Timeline.version = gsap.version = "3.15.0";
|
||||
_coreReady = 1;
|
||||
_windowExists() && _wake();
|
||||
var Power0 = _easeMap.Power0,
|
||||
@@ -7049,10 +7027,10 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
* CustomEase 3.14.2
|
||||
* CustomEase 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -7398,7 +7376,7 @@
|
||||
|
||||
return CustomEase;
|
||||
}();
|
||||
CustomEase.version = "3.14.2";
|
||||
CustomEase.version = "3.15.0";
|
||||
CustomEase.headless = true;
|
||||
_getGSAP() && gsap$1.registerPlugin(CustomEase);
|
||||
|
||||
@@ -10366,14 +10344,14 @@
|
||||
});
|
||||
|
||||
Draggable.zIndex = 1000;
|
||||
Draggable.version = "3.14.2";
|
||||
Draggable.version = "3.15.0";
|
||||
_getGSAP$1() && gsap$2.registerPlugin(Draggable);
|
||||
|
||||
/*!
|
||||
* CSSRulePlugin 3.14.2
|
||||
* CSSRulePlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -10415,7 +10393,7 @@
|
||||
};
|
||||
|
||||
var CSSRulePlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "cssRule",
|
||||
init: function init(target, value, tween, index, targets) {
|
||||
if (!_checkRegister() || typeof target.cssText === "undefined") {
|
||||
@@ -10497,10 +10475,10 @@
|
||||
_getGSAP$2() && gsap$3.registerPlugin(CSSRulePlugin);
|
||||
|
||||
/*!
|
||||
* EaselPlugin 3.14.2
|
||||
* EaselPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -10765,7 +10743,7 @@
|
||||
};
|
||||
|
||||
var EaselPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "easel",
|
||||
init: function init(target, value, tween, index, targets) {
|
||||
if (!_coreInitted$4) {
|
||||
@@ -10835,10 +10813,10 @@
|
||||
_getGSAP$3() && gsap$4.registerPlugin(EaselPlugin);
|
||||
|
||||
/*!
|
||||
* EasePack 3.14.2
|
||||
* EasePack 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -11030,16 +11008,16 @@
|
||||
|
||||
for (var p in EasePack) {
|
||||
EasePack[p].register = _initCore$5;
|
||||
EasePack[p].version = "3.14.2";
|
||||
EasePack[p].version = "3.15.0";
|
||||
}
|
||||
|
||||
_getGSAP$4() && gsap$5.registerPlugin(SlowMo);
|
||||
|
||||
/*!
|
||||
* Flip 3.14.2
|
||||
* Flip 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -12521,14 +12499,14 @@
|
||||
|
||||
return Flip;
|
||||
}();
|
||||
Flip.version = "3.14.2";
|
||||
Flip.version = "3.15.0";
|
||||
typeof window !== "undefined" && window.gsap && window.gsap.registerPlugin(Flip);
|
||||
|
||||
/*!
|
||||
* MotionPathPlugin 3.14.2
|
||||
* MotionPathPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -12720,7 +12698,7 @@
|
||||
};
|
||||
|
||||
var MotionPathPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "motionPath",
|
||||
register: function register(core, Plugin, propTween) {
|
||||
gsap$7 = core;
|
||||
@@ -12868,10 +12846,10 @@
|
||||
_getGSAP$5() && gsap$7.registerPlugin(MotionPathPlugin);
|
||||
|
||||
/*!
|
||||
* Observer 3.14.2
|
||||
* Observer 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -13054,7 +13032,7 @@
|
||||
};
|
||||
},
|
||||
_getEvent = function _getEvent(e, preventDefault) {
|
||||
preventDefault && !e._gsapAllow && e.preventDefault();
|
||||
preventDefault && !e._gsapAllow && e.cancelable !== false && e.preventDefault();
|
||||
return e.changedTouches ? e.changedTouches[0] : e;
|
||||
},
|
||||
_getAbsoluteMax = function _getAbsoluteMax(a) {
|
||||
@@ -13085,12 +13063,10 @@
|
||||
setTimeout(function () {
|
||||
return _startup = 0;
|
||||
}, 500);
|
||||
|
||||
_setScrollTrigger();
|
||||
|
||||
_coreInitted$5 = 1;
|
||||
}
|
||||
|
||||
ScrollTrigger || _setScrollTrigger();
|
||||
return _coreInitted$5;
|
||||
};
|
||||
|
||||
@@ -13528,7 +13504,7 @@
|
||||
|
||||
return Observer;
|
||||
}();
|
||||
Observer.version = "3.14.2";
|
||||
Observer.version = "3.15.0";
|
||||
|
||||
Observer.create = function (vars) {
|
||||
return new Observer(vars);
|
||||
@@ -13549,10 +13525,10 @@
|
||||
_getGSAP$6() && gsap$8.registerPlugin(Observer);
|
||||
|
||||
/*!
|
||||
* PixiPlugin 3.14.2
|
||||
* PixiPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -13925,7 +13901,7 @@
|
||||
}
|
||||
|
||||
var PixiPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "pixi",
|
||||
register: function register(core, Plugin, propTween) {
|
||||
gsap$9 = core;
|
||||
@@ -14011,10 +13987,10 @@
|
||||
_getGSAP$7() && gsap$9.registerPlugin(PixiPlugin);
|
||||
|
||||
/*!
|
||||
* ScrollToPlugin 3.14.2
|
||||
* ScrollToPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -14133,7 +14109,7 @@
|
||||
};
|
||||
|
||||
var ScrollToPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "scrollTo",
|
||||
rawVars: 1,
|
||||
register: function register(core) {
|
||||
@@ -14284,10 +14260,10 @@
|
||||
_getGSAP$8() && gsap$a.registerPlugin(ScrollToPlugin);
|
||||
|
||||
/*!
|
||||
* ScrollTrigger 3.14.2
|
||||
* ScrollTrigger 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -14417,11 +14393,11 @@
|
||||
_endAnimation = function _endAnimation(animation, reversed, pause) {
|
||||
return animation && animation.progress(reversed ? 0 : 1) && pause && animation.pause();
|
||||
},
|
||||
_callback$1 = function _callback(self, func) {
|
||||
_callback$1 = function _callback(self, func, extraParam) {
|
||||
if (self.enabled) {
|
||||
var result = self._ctx ? self._ctx.add(function () {
|
||||
return func(self);
|
||||
}) : func(self);
|
||||
return func(self, extraParam);
|
||||
}) : func(self, extraParam);
|
||||
result && result.totalTime && (self.callbackAnimation = result);
|
||||
}
|
||||
},
|
||||
@@ -14442,7 +14418,7 @@
|
||||
_Height = "Height",
|
||||
_px = "px",
|
||||
_getComputedStyle$1 = function _getComputedStyle(element) {
|
||||
return _win$6.getComputedStyle(element);
|
||||
return _win$6.getComputedStyle(element.nodeType === Node.DOCUMENT_NODE ? element.scrollingElement : element);
|
||||
},
|
||||
_makePositionable = function _makePositionable(element) {
|
||||
var position = _getComputedStyle$1(element).position;
|
||||
@@ -14469,7 +14445,7 @@
|
||||
skewX: 0,
|
||||
skewY: 0
|
||||
}).progress(1),
|
||||
bounds = element.getBoundingClientRect();
|
||||
bounds = element.getBoundingClientRect ? element.getBoundingClientRect() : element.scrollingElement.getBoundingClientRect();
|
||||
tween && tween.progress(0).kill();
|
||||
return bounds;
|
||||
},
|
||||
@@ -14611,7 +14587,7 @@
|
||||
var e = _doc$6.createElement("div"),
|
||||
useFixedPosition = _isViewport$1(container) || _getProxyProp(container, "pinType") === "fixed",
|
||||
isScroller = type.indexOf("scroller") !== -1,
|
||||
parent = useFixedPosition ? _body$5 : container,
|
||||
parent = useFixedPosition ? _body$5 : container.tagName === "IFRAME" ? container.contentDocument.body : container,
|
||||
isStart = type.indexOf("start") !== -1,
|
||||
color = isStart ? startColor : endColor,
|
||||
css = "border-color:" + color + ";font-size:" + fontSize + ";color:" + color + ";font-weight:" + fontWeight + ";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";
|
||||
@@ -15372,7 +15348,7 @@
|
||||
ease: snap.ease || "power3",
|
||||
data: _abs$1(endScroll - scroll),
|
||||
onInterrupt: function onInterrupt() {
|
||||
return snapDelayedCall.restart(true) && _onInterrupt && _onInterrupt(self);
|
||||
return snapDelayedCall.restart(true) && _onInterrupt && _callback$1(self, _onInterrupt);
|
||||
},
|
||||
onComplete: function onComplete() {
|
||||
self.update();
|
||||
@@ -15384,10 +15360,10 @@
|
||||
|
||||
snap1 = snap2 = animation && !isToggle ? animation.totalProgress() : self.progress;
|
||||
onSnapComplete && onSnapComplete(self);
|
||||
_onComplete && _onComplete(self);
|
||||
_onComplete && _callback$1(self, _onComplete);
|
||||
}
|
||||
}, scroll, change1 * change, endScroll - scroll - change1 * change);
|
||||
onStart && onStart(self, tweenTo.tween);
|
||||
onStart && _callback$1(self, onStart, tweenTo.tween);
|
||||
}
|
||||
} else if (self.isActive && lastSnap !== scroll) {
|
||||
snapDelayedCall.restart(true);
|
||||
@@ -16327,6 +16303,14 @@
|
||||
|
||||
_wheelListener(_removeListener$2, exports._scrollers[i], exports._scrollers[i + 2]);
|
||||
}
|
||||
} else if (_doc$6) {
|
||||
var onLoad = function onLoad() {
|
||||
ScrollTrigger.enable();
|
||||
|
||||
_doc$6.removeEventListener("DOMContentLoaded", onLoad);
|
||||
};
|
||||
|
||||
_doc$6.addEventListener("DOMContentLoaded", onLoad);
|
||||
}
|
||||
}
|
||||
};
|
||||
@@ -16393,7 +16377,7 @@
|
||||
|
||||
return ScrollTrigger;
|
||||
}();
|
||||
ScrollTrigger$2.version = "3.14.2";
|
||||
ScrollTrigger$2.version = "3.15.0";
|
||||
|
||||
ScrollTrigger$2.saveStyles = function (targets) {
|
||||
return targets ? _toArray$4(targets).forEach(function (target) {
|
||||
@@ -16929,10 +16913,10 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
* TextPlugin 3.14.2
|
||||
* TextPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -16944,7 +16928,7 @@
|
||||
};
|
||||
|
||||
var TextPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "text",
|
||||
init: function init(target, value, tween) {
|
||||
typeof value !== "object" && (value = {
|
||||
@@ -17089,10 +17073,10 @@
|
||||
_getGSAP$a() && gsap$c.registerPlugin(TextPlugin);
|
||||
|
||||
/*!
|
||||
* DrawSVGPlugin 3.14.2
|
||||
* DrawSVGPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -17278,7 +17262,7 @@
|
||||
};
|
||||
|
||||
var DrawSVGPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "drawSVG",
|
||||
register: function register(core) {
|
||||
gsap$d = core;
|
||||
@@ -17387,10 +17371,10 @@
|
||||
_getGSAP$b() && gsap$d.registerPlugin(DrawSVGPlugin);
|
||||
|
||||
/*!
|
||||
* Physics2DPlugin 3.14.2
|
||||
* Physics2DPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -17438,7 +17422,7 @@
|
||||
};
|
||||
|
||||
var Physics2DPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "physics2D",
|
||||
register: _initCore$a,
|
||||
init: function init(target, value, tween) {
|
||||
@@ -17542,10 +17526,10 @@
|
||||
_getGSAP$c() && gsap$e.registerPlugin(Physics2DPlugin);
|
||||
|
||||
/*!
|
||||
* PhysicsPropsPlugin 3.14.2
|
||||
* PhysicsPropsPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -17594,7 +17578,7 @@
|
||||
};
|
||||
|
||||
var PhysicsPropsPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "physicsProps",
|
||||
register: _initCore$b,
|
||||
init: function init(target, value, tween) {
|
||||
@@ -17696,10 +17680,10 @@
|
||||
_getGSAP$d() && gsap$f.registerPlugin(PhysicsPropsPlugin);
|
||||
|
||||
/*!
|
||||
* ScrambleTextPlugin 3.14.2
|
||||
* ScrambleTextPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -17757,7 +17741,7 @@
|
||||
};
|
||||
|
||||
var ScrambleTextPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "scrambleText",
|
||||
register: function register(core, Plugin, propTween) {
|
||||
gsap$g = core;
|
||||
@@ -17941,10 +17925,10 @@
|
||||
_getGSAP$e() && gsap$g.registerPlugin(ScrambleTextPlugin);
|
||||
|
||||
/*!
|
||||
* CustomBounce 3.14.2
|
||||
* CustomBounce 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -18094,13 +18078,13 @@
|
||||
return CustomBounce;
|
||||
}();
|
||||
_getGSAP$f() && gsap$h.registerPlugin(CustomBounce);
|
||||
CustomBounce.version = "3.14.2";
|
||||
CustomBounce.version = "3.15.0";
|
||||
|
||||
/*!
|
||||
* CustomWiggle 3.14.2
|
||||
* CustomWiggle 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -18249,13 +18233,13 @@
|
||||
return CustomWiggle;
|
||||
}();
|
||||
_getGSAP$g() && gsap$i.registerPlugin(CustomWiggle);
|
||||
CustomWiggle.version = "3.14.2";
|
||||
CustomWiggle.version = "3.15.0";
|
||||
|
||||
/*!
|
||||
* GSDevTools 3.14.2
|
||||
* GSDevTools 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -19700,7 +19684,7 @@
|
||||
_context$4(this);
|
||||
};
|
||||
|
||||
GSDevTools.version = "3.14.2";
|
||||
GSDevTools.version = "3.15.0";
|
||||
GSDevTools.globalRecordingTime = 2;
|
||||
|
||||
GSDevTools.getById = function (id) {
|
||||
@@ -19962,10 +19946,10 @@
|
||||
_getGSAP$i() && gsap$k.registerPlugin(VelocityTracker);
|
||||
|
||||
/*!
|
||||
* InertiaPlugin 3.14.2
|
||||
* InertiaPlugin 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -20303,7 +20287,7 @@
|
||||
};
|
||||
|
||||
var InertiaPlugin$1 = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "inertia",
|
||||
register: function register(core) {
|
||||
gsap$l = core;
|
||||
@@ -21197,7 +21181,7 @@
|
||||
};
|
||||
|
||||
var MorphSVGPlugin = {
|
||||
version: "3.14.2",
|
||||
version: "3.15.0",
|
||||
name: "morphSVG",
|
||||
rawVars: 1,
|
||||
register: function register(core, Plugin) {
|
||||
@@ -23270,14 +23254,14 @@
|
||||
};
|
||||
};
|
||||
|
||||
PathEditor.version = "3.14.2";
|
||||
PathEditor.version = "3.15.0";
|
||||
PathEditor.register = _initCore$j;
|
||||
|
||||
/*!
|
||||
* MotionPathHelper 3.14.2
|
||||
* MotionPathHelper 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -23642,13 +23626,13 @@
|
||||
return PathEditor.create(path, vars);
|
||||
};
|
||||
|
||||
MotionPathHelper.version = "3.14.2";
|
||||
MotionPathHelper.version = "3.15.0";
|
||||
|
||||
/*!
|
||||
* ScrollSmoother 3.14.2
|
||||
* ScrollSmoother 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -24577,7 +24561,7 @@
|
||||
|
||||
return ScrollSmoother;
|
||||
}();
|
||||
ScrollSmoother.version = "3.14.2";
|
||||
ScrollSmoother.version = "3.15.0";
|
||||
|
||||
ScrollSmoother.create = function (vars) {
|
||||
return _mainInstance && vars && _mainInstance.content() === _toArray$9(vars.content)[0] ? _mainInstance : new ScrollSmoother(vars);
|
||||
@@ -24590,10 +24574,10 @@
|
||||
_getGSAP$l() && gsap$p.registerPlugin(ScrollSmoother);
|
||||
|
||||
/*!
|
||||
* SplitText 3.14.2
|
||||
* SplitText 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
|
||||
* @license Copyright 2026, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
|
||||
* @author: Jack Doyle
|
||||
*/
|
||||
var gsap$q,
|
||||
@@ -24605,14 +24589,14 @@
|
||||
},
|
||||
_charSegmenter = typeof Intl !== "undefined" && "Segmenter" in Intl ? new Intl.Segmenter() : 0,
|
||||
_toArray2 = function _toArray(r) {
|
||||
return typeof r === "string" ? _toArray2(document.querySelectorAll(r)) : "length" in r ? Array.from(r).reduce(function (acc, cur) {
|
||||
return !r ? [] : typeof r === "string" ? _toArray2(document.querySelectorAll(r)) : "length" in r ? Array.from(r).reduce(function (acc, cur) {
|
||||
typeof cur === "string" ? acc.push.apply(acc, _toArray2(cur)) : acc.push(cur);
|
||||
return acc;
|
||||
}, []) : [r];
|
||||
},
|
||||
_elements = function _elements(targets) {
|
||||
return _toArray2(targets).filter(function (e) {
|
||||
return e instanceof HTMLElement;
|
||||
return e && e.nodeType === 1;
|
||||
});
|
||||
},
|
||||
_emptyArray$2 = [],
|
||||
@@ -25095,14 +25079,16 @@
|
||||
var maskEl = el.cloneNode();
|
||||
el.replaceWith(maskEl);
|
||||
maskEl.appendChild(el);
|
||||
el.className && (maskEl.className = el.className.trim() + "-mask");
|
||||
el.className && (maskEl.className = el.className.trim().split(" ").map(function (s) {
|
||||
return s + "-mask";
|
||||
}).join(" "));
|
||||
maskEl.style.overflow = "clip";
|
||||
return maskEl;
|
||||
}));
|
||||
}
|
||||
|
||||
_this2.isSplit = true;
|
||||
_fonts && splitLines && (autoSplit ? _fonts.addEventListener("loadingdone", _this2._split) : _fonts.status === "loading" && console.warn("SplitText called before fonts loaded"));
|
||||
_fonts && splitLines && autoSplit && _fonts.addEventListener("loadingdone", _this2._split);
|
||||
|
||||
if ((onSplitResult = onSplit && onSplit(_this2)) && onSplitResult.totalTime) {
|
||||
_this2._data.anim = animTime ? onSplitResult.totalTime(animTime) : onSplitResult;
|
||||
@@ -25167,7 +25153,7 @@
|
||||
return _SplitText;
|
||||
}();
|
||||
|
||||
_SplitText.version = "3.14.2";
|
||||
_SplitText.version = "3.15.0";
|
||||
var SplitText = _SplitText;
|
||||
|
||||
var gsapWithCSS = gsap.registerPlugin(CSSPlugin) || gsap,
|
||||
|
||||
+34
-56
@@ -19,10 +19,10 @@
|
||||
}
|
||||
|
||||
/*!
|
||||
* GSAP 3.14.2
|
||||
* GSAP 3.15.0
|
||||
* https://gsap.com
|
||||
*
|
||||
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
||||
* @license Copyright 2008-2026, GreenSock. All rights reserved.
|
||||
* Subject to the terms at https://gsap.com/standard-license
|
||||
* @author: Jack Doyle, jack@greensock.com
|
||||
*/
|
||||
@@ -1356,27 +1356,6 @@
|
||||
return function (p) {
|
||||
return 1 - ease(1 - p);
|
||||
};
|
||||
},
|
||||
_propagateYoyoEase = function _propagateYoyoEase(timeline, isYoyo) {
|
||||
var child = timeline._first,
|
||||
ease;
|
||||
|
||||
while (child) {
|
||||
if (child instanceof Timeline) {
|
||||
_propagateYoyoEase(child, isYoyo);
|
||||
} else if (child.vars.yoyoEase && (!child._yoyo || !child._repeat) && child._yoyo !== isYoyo) {
|
||||
if (child.timeline) {
|
||||
_propagateYoyoEase(child.timeline, isYoyo);
|
||||
} else {
|
||||
ease = child._ease;
|
||||
child._ease = child._yEase;
|
||||
child._yEase = ease;
|
||||
child._yoyo = isYoyo;
|
||||
}
|
||||
}
|
||||
|
||||
child = child._next;
|
||||
}
|
||||
},
|
||||
_parseEase = function _parseEase(ease, defaultEase) {
|
||||
return !ease ? defaultEase : (_isFunction(ease) ? ease : _easeMap[ease] || _configEaseFromString(ease)) || defaultEase;
|
||||
@@ -2054,8 +2033,6 @@
|
||||
if (!this._ts && !prevPaused) {
|
||||
return this;
|
||||
}
|
||||
|
||||
_propagateYoyoEase(this, isYoyo);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2069,7 +2046,7 @@
|
||||
|
||||
this._tTime = tTime;
|
||||
this._time = time;
|
||||
this._act = !timeScale;
|
||||
this._act = !!timeScale;
|
||||
|
||||
if (!this._initted) {
|
||||
this._onUpdate = this.vars.onUpdate;
|
||||
@@ -2692,6 +2669,7 @@
|
||||
fullTargets = parent && parent.data === "nested" ? parent.vars.targets : targets,
|
||||
autoOverwrite = tween._overwrite === "auto" && !_suppressOverwrites,
|
||||
tl = tween.timeline,
|
||||
reverseEase = vars.easeReverse || yoyoEase,
|
||||
cleanVars,
|
||||
i,
|
||||
p,
|
||||
@@ -2707,15 +2685,9 @@
|
||||
overwritten;
|
||||
tl && (!keyframes || !ease) && (ease = "none");
|
||||
tween._ease = _parseEase(ease, _defaults.ease);
|
||||
tween._yEase = yoyoEase ? _invertEase(_parseEase(yoyoEase === true ? ease : yoyoEase, _defaults.ease)) : 0;
|
||||
|
||||
if (yoyoEase && tween._yoyo && !tween._repeat) {
|
||||
yoyoEase = tween._yEase;
|
||||
tween._yEase = tween._ease;
|
||||
tween._ease = yoyoEase;
|
||||
}
|
||||
|
||||
tween._rEase = reverseEase && (_parseEase(reverseEase) || tween._ease);
|
||||
tween._from = !tl && !!vars.runBackwards;
|
||||
if (tween._from) tween.ratio = 1;
|
||||
|
||||
if (!tl || keyframes && !vars.stagger) {
|
||||
harness = targets[0] ? _getCache(targets[0]).harness : 0;
|
||||
@@ -2863,7 +2835,7 @@
|
||||
_initTween(tween, time);
|
||||
|
||||
_forceAllPropTweens = 0;
|
||||
return skipRecursion ? _warn(property + " not eligible for reset") : 1;
|
||||
return skipRecursion ? _warn(property + " not eligible for reset. Try splitting into individual properties") : 1;
|
||||
}
|
||||
|
||||
ptCache.push(pt);
|
||||
@@ -2936,7 +2908,7 @@
|
||||
_parseFuncOrString = function _parseFuncOrString(value, tween, i, target, targets) {
|
||||
return _isFunction(value) ? value.call(tween, i, target, targets) : _isString(value) && ~value.indexOf("random(") ? _replaceRandom(value) : value;
|
||||
},
|
||||
_staggerTweenProps = _callbackNames + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",
|
||||
_staggerTweenProps = _callbackNames + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,easeReverse,autoRevert",
|
||||
_staggerPropsToSkip = {};
|
||||
|
||||
_forEachName(_staggerTweenProps + ",id,stagger,delay,duration,paused,scrollTrigger", function (name) {
|
||||
@@ -2965,7 +2937,6 @@
|
||||
keyframes = _this3$vars.keyframes,
|
||||
defaults = _this3$vars.defaults,
|
||||
scrollTrigger = _this3$vars.scrollTrigger,
|
||||
yoyoEase = _this3$vars.yoyoEase,
|
||||
parent = vars.parent || _globalTimeline,
|
||||
parsedTargets = (_isArray(targets) || _isTypedArray(targets) ? _isNumber(targets[0]) : "length" in vars) ? [targets] : toArray(targets),
|
||||
tl,
|
||||
@@ -2982,6 +2953,7 @@
|
||||
|
||||
if (keyframes || stagger || _isFuncOrString(duration) || _isFuncOrString(delay)) {
|
||||
vars = _this3.vars;
|
||||
var easeReverse = vars.easeReverse || vars.yoyoEase;
|
||||
tl = _this3.timeline = new Timeline({
|
||||
data: "nested",
|
||||
defaults: defaults || {},
|
||||
@@ -3007,7 +2979,7 @@
|
||||
for (i = 0; i < l; i++) {
|
||||
copy = _copyExcluding(vars, _staggerPropsToSkip);
|
||||
copy.stagger = 0;
|
||||
yoyoEase && (copy.yoyoEase = yoyoEase);
|
||||
easeReverse && (copy.easeReverse = easeReverse);
|
||||
staggerVarsToMerge && _merge(copy, staggerVarsToMerge);
|
||||
curTarget = parsedTargets[i];
|
||||
copy.duration = +_parseFuncOrString(duration, _assertThisInitialized(_this3), i, curTarget, parsedTargets);
|
||||
@@ -3114,8 +3086,7 @@
|
||||
prevIteration,
|
||||
isYoyo,
|
||||
ratio,
|
||||
timeline,
|
||||
yoyoEase;
|
||||
timeline;
|
||||
|
||||
if (!dur) {
|
||||
_renderZeroDurationTween(this, totalTime, suppressEvents, force);
|
||||
@@ -3148,12 +3119,7 @@
|
||||
}
|
||||
|
||||
isYoyo = this._yoyo && iteration & 1;
|
||||
|
||||
if (isYoyo) {
|
||||
yoyoEase = this._yEase;
|
||||
time = dur - time;
|
||||
}
|
||||
|
||||
if (isYoyo) time = dur - time;
|
||||
prevIteration = _animationCycle(this._tTime, cycleDuration);
|
||||
|
||||
if (time === prevTime && !force && this._initted && iteration === prevIteration) {
|
||||
@@ -3162,8 +3128,6 @@
|
||||
}
|
||||
|
||||
if (iteration !== prevIteration) {
|
||||
timeline && this._yEase && _propagateYoyoEase(timeline, isYoyo);
|
||||
|
||||
if (this.vars.repeatRefresh && !isYoyo && !this._lock && time !== cycleDuration && this._initted) {
|
||||
this._lock = force = 1;
|
||||
this.render(_roundPrecise(cycleDuration * iteration), true).invalidate()._lock = 0;
|
||||
@@ -3186,6 +3150,26 @@
|
||||
}
|
||||
}
|
||||
|
||||
if (this._rEase) {
|
||||
var inv = time < prevTime;
|
||||
|
||||
if (inv !== this._inv) {
|
||||
var segDur = inv ? prevTime : dur - prevTime;
|
||||
this._inv = inv;
|
||||
if (this._from) this.ratio = 1 - this.ratio;
|
||||
this._invRatio = this.ratio;
|
||||
this._invTime = prevTime;
|
||||
this._invRecip = segDur ? (inv ? -1 : 1) / segDur : 0;
|
||||
this._invScale = inv ? -this.ratio : 1 - this.ratio;
|
||||
this._invEase = inv ? this._rEase : this._ease;
|
||||
}
|
||||
|
||||
this.ratio = ratio = this._invRatio + this._invScale * this._invEase((time - this._invTime) * this._invRecip);
|
||||
} else {
|
||||
this.ratio = ratio = this._ease(time / dur);
|
||||
}
|
||||
|
||||
if (this._from) this.ratio = ratio = 1 - ratio;
|
||||
this._tTime = tTime;
|
||||
this._time = time;
|
||||
|
||||
@@ -3194,12 +3178,6 @@
|
||||
this._lazy = 0;
|
||||
}
|
||||
|
||||
this.ratio = ratio = (yoyoEase || this._ease)(time / dur);
|
||||
|
||||
if (this._from) {
|
||||
this.ratio = ratio = 1 - ratio;
|
||||
}
|
||||
|
||||
if (!prevTime && tTime && !suppressEvents && !prevIteration) {
|
||||
_callback(this, "onStart");
|
||||
|
||||
@@ -3558,7 +3536,7 @@
|
||||
return PropTween;
|
||||
}();
|
||||
|
||||
_forEachName(_callbackNames + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger", function (name) {
|
||||
_forEachName(_callbackNames + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger,easeReverse", function (name) {
|
||||
return _reservedProps[name] = 1;
|
||||
});
|
||||
|
||||
@@ -4150,7 +4128,7 @@
|
||||
}
|
||||
}
|
||||
}, _buildModifierPlugin("roundProps", _roundModifier), _buildModifierPlugin("modifiers"), _buildModifierPlugin("snap", snap)) || _gsap;
|
||||
Tween.version = Timeline.version = gsap.version = "3.14.2";
|
||||
Tween.version = Timeline.version = gsap.version = "3.15.0";
|
||||
_coreReady = 1;
|
||||
_windowExists() && _wake();
|
||||
var Power0 = _easeMap.Power0,
|
||||
|
||||
+3
-3
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user