@tarsis/toolkit 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{gl-D7lh-xpj.js → gl-CfQpqo7U.js} +2 -2
- package/dist/{gl-Wi1W4iRw.cjs → gl-VGj23t3e.cjs} +2 -2
- package/dist/{index-9DbUVvW8.cjs → index-BS3WfPcv.cjs} +276 -272
- package/dist/{index-DgBWA46M.js → index-DyetLzYZ.js} +276 -272
- package/dist/index.cjs +1 -1
- package/dist/index.css +483 -483
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -231,7 +231,7 @@ const Texture$1 = ({ className = "" }) => {
|
|
|
231
231
|
|
|
232
232
|
if ( Number.EPSILON === undefined ) {
|
|
233
233
|
|
|
234
|
-
Number.EPSILON = Math.pow( 2, -
|
|
234
|
+
Number.EPSILON = Math.pow( 2, -52 );
|
|
235
235
|
|
|
236
236
|
}
|
|
237
237
|
|
|
@@ -256,7 +256,7 @@ if ( Math.sign === undefined ) {
|
|
|
256
256
|
|
|
257
257
|
Math.sign = function ( x ) {
|
|
258
258
|
|
|
259
|
-
return ( x < 0 ) ? -
|
|
259
|
+
return ( x < 0 ) ? -1 : ( x > 0 ) ? 1 : + x;
|
|
260
260
|
|
|
261
261
|
};
|
|
262
262
|
|
|
@@ -541,7 +541,7 @@ Object.assign( EventDispatcher.prototype, {
|
|
|
541
541
|
|
|
542
542
|
}
|
|
543
543
|
|
|
544
|
-
if ( listeners[ type ].indexOf( listener ) === -
|
|
544
|
+
if ( listeners[ type ].indexOf( listener ) === -1 ) {
|
|
545
545
|
|
|
546
546
|
listeners[ type ].push( listener );
|
|
547
547
|
|
|
@@ -555,7 +555,7 @@ Object.assign( EventDispatcher.prototype, {
|
|
|
555
555
|
|
|
556
556
|
var listeners = this._listeners;
|
|
557
557
|
|
|
558
|
-
return listeners[ type ] !== undefined && listeners[ type ].indexOf( listener ) !== -
|
|
558
|
+
return listeners[ type ] !== undefined && listeners[ type ].indexOf( listener ) !== -1;
|
|
559
559
|
|
|
560
560
|
},
|
|
561
561
|
|
|
@@ -570,7 +570,7 @@ Object.assign( EventDispatcher.prototype, {
|
|
|
570
570
|
|
|
571
571
|
var index = listenerArray.indexOf( listener );
|
|
572
572
|
|
|
573
|
-
if ( index !== -
|
|
573
|
+
if ( index !== -1 ) {
|
|
574
574
|
|
|
575
575
|
listenerArray.splice( index, 1 );
|
|
576
576
|
|
|
@@ -2878,7 +2878,7 @@ Object.assign( Quaternion, {
|
|
|
2878
2878
|
|
|
2879
2879
|
cos = x0 * x1 + y0 * y1 + z0 * z1 + w0 * w1,
|
|
2880
2880
|
|
|
2881
|
-
dir = ( cos >= 0 ? 1 : -
|
|
2881
|
+
dir = ( cos >= 0 ? 1 : -1 ),
|
|
2882
2882
|
sqrSin = 1 - cos * cos;
|
|
2883
2883
|
|
|
2884
2884
|
// Skip the Slerp for tiny steps to avoid numeric problems:
|
|
@@ -3254,7 +3254,7 @@ Object.assign( Quaternion.prototype, {
|
|
|
3254
3254
|
|
|
3255
3255
|
angleTo: function ( q ) {
|
|
3256
3256
|
|
|
3257
|
-
return 2 * Math.acos( Math.abs( MathUtils.clamp( this.dot( q ), -
|
|
3257
|
+
return 2 * Math.acos( Math.abs( MathUtils.clamp( this.dot( q ), -1, 1 ) ) );
|
|
3258
3258
|
|
|
3259
3259
|
},
|
|
3260
3260
|
|
|
@@ -3282,9 +3282,9 @@ Object.assign( Quaternion.prototype, {
|
|
|
3282
3282
|
|
|
3283
3283
|
conjugate: function () {
|
|
3284
3284
|
|
|
3285
|
-
this._x *= -
|
|
3286
|
-
this._y *= -
|
|
3287
|
-
this._z *= -
|
|
3285
|
+
this._x *= -1;
|
|
3286
|
+
this._y *= -1;
|
|
3287
|
+
this._z *= -1;
|
|
3288
3288
|
|
|
3289
3289
|
this._onChangeCallback();
|
|
3290
3290
|
|
|
@@ -4077,7 +4077,7 @@ Object.assign( Vector3.prototype, {
|
|
|
4077
4077
|
|
|
4078
4078
|
// clamp, to handle numerical problems
|
|
4079
4079
|
|
|
4080
|
-
return Math.acos( MathUtils.clamp( theta, -
|
|
4080
|
+
return Math.acos( MathUtils.clamp( theta, -1, 1 ) );
|
|
4081
4081
|
|
|
4082
4082
|
},
|
|
4083
4083
|
|
|
@@ -5029,12 +5029,12 @@ Object.assign( Matrix4.prototype, {
|
|
|
5029
5029
|
var a = ( right + left ) / ( right - left );
|
|
5030
5030
|
var b = ( top + bottom ) / ( top - bottom );
|
|
5031
5031
|
var c = - ( far + near ) / ( far - near );
|
|
5032
|
-
var d = -
|
|
5032
|
+
var d = -2 * far * near / ( far - near );
|
|
5033
5033
|
|
|
5034
5034
|
te[ 0 ] = x; te[ 4 ] = 0; te[ 8 ] = a; te[ 12 ] = 0;
|
|
5035
5035
|
te[ 1 ] = 0; te[ 5 ] = y; te[ 9 ] = b; te[ 13 ] = 0;
|
|
5036
5036
|
te[ 2 ] = 0; te[ 6 ] = 0; te[ 10 ] = c; te[ 14 ] = d;
|
|
5037
|
-
te[ 3 ] = 0; te[ 7 ] = 0; te[ 11 ] = -
|
|
5037
|
+
te[ 3 ] = 0; te[ 7 ] = 0; te[ 11 ] = -1; te[ 15 ] = 0;
|
|
5038
5038
|
|
|
5039
5039
|
return this;
|
|
5040
5040
|
|
|
@@ -5053,7 +5053,7 @@ Object.assign( Matrix4.prototype, {
|
|
|
5053
5053
|
|
|
5054
5054
|
te[ 0 ] = 2 * w; te[ 4 ] = 0; te[ 8 ] = 0; te[ 12 ] = - x;
|
|
5055
5055
|
te[ 1 ] = 0; te[ 5 ] = 2 * h; te[ 9 ] = 0; te[ 13 ] = - y;
|
|
5056
|
-
te[ 2 ] = 0; te[ 6 ] = 0; te[ 10 ] = -
|
|
5056
|
+
te[ 2 ] = 0; te[ 6 ] = 0; te[ 10 ] = -2 * p; te[ 14 ] = - z;
|
|
5057
5057
|
te[ 3 ] = 0; te[ 7 ] = 0; te[ 11 ] = 0; te[ 15 ] = 1;
|
|
5058
5058
|
|
|
5059
5059
|
return this;
|
|
@@ -5269,7 +5269,7 @@ Object.assign( Euler.prototype, {
|
|
|
5269
5269
|
|
|
5270
5270
|
case 'XYZ':
|
|
5271
5271
|
|
|
5272
|
-
this._y = Math.asin( clamp( m13, -
|
|
5272
|
+
this._y = Math.asin( clamp( m13, -1, 1 ) );
|
|
5273
5273
|
|
|
5274
5274
|
if ( Math.abs( m13 ) < 0.9999999 ) {
|
|
5275
5275
|
|
|
@@ -5287,7 +5287,7 @@ Object.assign( Euler.prototype, {
|
|
|
5287
5287
|
|
|
5288
5288
|
case 'YXZ':
|
|
5289
5289
|
|
|
5290
|
-
this._x = Math.asin( - clamp( m23, -
|
|
5290
|
+
this._x = Math.asin( - clamp( m23, -1, 1 ) );
|
|
5291
5291
|
|
|
5292
5292
|
if ( Math.abs( m23 ) < 0.9999999 ) {
|
|
5293
5293
|
|
|
@@ -5305,7 +5305,7 @@ Object.assign( Euler.prototype, {
|
|
|
5305
5305
|
|
|
5306
5306
|
case 'ZXY':
|
|
5307
5307
|
|
|
5308
|
-
this._x = Math.asin( clamp( m32, -
|
|
5308
|
+
this._x = Math.asin( clamp( m32, -1, 1 ) );
|
|
5309
5309
|
|
|
5310
5310
|
if ( Math.abs( m32 ) < 0.9999999 ) {
|
|
5311
5311
|
|
|
@@ -5323,7 +5323,7 @@ Object.assign( Euler.prototype, {
|
|
|
5323
5323
|
|
|
5324
5324
|
case 'ZYX':
|
|
5325
5325
|
|
|
5326
|
-
this._y = Math.asin( - clamp( m31, -
|
|
5326
|
+
this._y = Math.asin( - clamp( m31, -1, 1 ) );
|
|
5327
5327
|
|
|
5328
5328
|
if ( Math.abs( m31 ) < 0.9999999 ) {
|
|
5329
5329
|
|
|
@@ -5341,7 +5341,7 @@ Object.assign( Euler.prototype, {
|
|
|
5341
5341
|
|
|
5342
5342
|
case 'YZX':
|
|
5343
5343
|
|
|
5344
|
-
this._z = Math.asin( clamp( m21, -
|
|
5344
|
+
this._z = Math.asin( clamp( m21, -1, 1 ) );
|
|
5345
5345
|
|
|
5346
5346
|
if ( Math.abs( m21 ) < 0.9999999 ) {
|
|
5347
5347
|
|
|
@@ -5359,7 +5359,7 @@ Object.assign( Euler.prototype, {
|
|
|
5359
5359
|
|
|
5360
5360
|
case 'XZY':
|
|
5361
5361
|
|
|
5362
|
-
this._z = Math.asin( - clamp( m12, -
|
|
5362
|
+
this._z = Math.asin( - clamp( m12, -1, 1 ) );
|
|
5363
5363
|
|
|
5364
5364
|
if ( Math.abs( m12 ) < 0.9999999 ) {
|
|
5365
5365
|
|
|
@@ -5886,7 +5886,7 @@ Object3D.prototype = Object.assign( Object.create( EventDispatcher.prototype ),
|
|
|
5886
5886
|
|
|
5887
5887
|
var index = this.children.indexOf( object );
|
|
5888
5888
|
|
|
5889
|
-
if ( index !== -
|
|
5889
|
+
if ( index !== -1 ) {
|
|
5890
5890
|
|
|
5891
5891
|
object.parent = null;
|
|
5892
5892
|
this.children.splice( index, 1 );
|
|
@@ -7018,7 +7018,7 @@ var _box$1 = new Box3();
|
|
|
7018
7018
|
function Sphere( center, radius ) {
|
|
7019
7019
|
|
|
7020
7020
|
this.center = ( center !== undefined ) ? center : new Vector3();
|
|
7021
|
-
this.radius = ( radius !== undefined ) ? radius : -
|
|
7021
|
+
this.radius = ( radius !== undefined ) ? radius : -1;
|
|
7022
7022
|
|
|
7023
7023
|
}
|
|
7024
7024
|
|
|
@@ -7085,7 +7085,7 @@ Object.assign( Sphere.prototype, {
|
|
|
7085
7085
|
makeEmpty: function () {
|
|
7086
7086
|
|
|
7087
7087
|
this.center.set( 0, 0, 0 );
|
|
7088
|
-
this.radius = -
|
|
7088
|
+
this.radius = -1;
|
|
7089
7089
|
|
|
7090
7090
|
return this;
|
|
7091
7091
|
|
|
@@ -7212,7 +7212,7 @@ var _normal = new Vector3();
|
|
|
7212
7212
|
function Ray( origin, direction ) {
|
|
7213
7213
|
|
|
7214
7214
|
this.origin = ( origin !== undefined ) ? origin : new Vector3();
|
|
7215
|
-
this.direction = ( direction !== undefined ) ? direction : new Vector3( 0, 0, -
|
|
7215
|
+
this.direction = ( direction !== undefined ) ? direction : new Vector3( 0, 0, -1 );
|
|
7216
7216
|
|
|
7217
7217
|
}
|
|
7218
7218
|
|
|
@@ -7640,7 +7640,7 @@ Object.assign( Ray.prototype, {
|
|
|
7640
7640
|
|
|
7641
7641
|
} else if ( DdN < 0 ) {
|
|
7642
7642
|
|
|
7643
|
-
sign = -
|
|
7643
|
+
sign = -1;
|
|
7644
7644
|
DdN = - DdN;
|
|
7645
7645
|
|
|
7646
7646
|
} else {
|
|
@@ -7796,7 +7796,7 @@ Object.assign( Plane.prototype, {
|
|
|
7796
7796
|
|
|
7797
7797
|
negate: function () {
|
|
7798
7798
|
|
|
7799
|
-
this.constant *= -
|
|
7799
|
+
this.constant *= -1;
|
|
7800
7800
|
this.normal.negate();
|
|
7801
7801
|
|
|
7802
7802
|
return this;
|
|
@@ -8012,7 +8012,7 @@ Object.assign( Triangle, {
|
|
|
8012
8012
|
|
|
8013
8013
|
// arbitrary location outside of triangle?
|
|
8014
8014
|
// not sure if this is the best idea, maybe should be returning undefined
|
|
8015
|
-
return target.set( -
|
|
8015
|
+
return target.set( -2, -1, -1 );
|
|
8016
8016
|
|
|
8017
8017
|
}
|
|
8018
8018
|
|
|
@@ -8655,7 +8655,7 @@ Object.assign( Color.prototype, {
|
|
|
8655
8655
|
|
|
8656
8656
|
getHexString: function () {
|
|
8657
8657
|
|
|
8658
|
-
return ( '000000' + this.getHex().toString( 16 ) ).slice( -
|
|
8658
|
+
return ( '000000' + this.getHex().toString( 16 ) ).slice( -6 );
|
|
8659
8659
|
|
|
8660
8660
|
},
|
|
8661
8661
|
|
|
@@ -9485,7 +9485,7 @@ function BufferAttribute( array, itemSize, normalized ) {
|
|
|
9485
9485
|
this.normalized = normalized === true;
|
|
9486
9486
|
|
|
9487
9487
|
this.usage = StaticDrawUsage;
|
|
9488
|
-
this.updateRange = { offset: 0, count: -
|
|
9488
|
+
this.updateRange = { offset: 0, count: -1 };
|
|
9489
9489
|
|
|
9490
9490
|
this.version = 0;
|
|
9491
9491
|
|
|
@@ -13401,12 +13401,12 @@ class BoxBufferGeometry extends BufferGeometry {
|
|
|
13401
13401
|
|
|
13402
13402
|
// build each side of the box geometry
|
|
13403
13403
|
|
|
13404
|
-
buildPlane( 'z', 'y', 'x', -
|
|
13405
|
-
buildPlane( 'z', 'y', 'x', 1, -
|
|
13404
|
+
buildPlane( 'z', 'y', 'x', -1, -1, depth, height, width, depthSegments, heightSegments, 0 ); // px
|
|
13405
|
+
buildPlane( 'z', 'y', 'x', 1, -1, depth, height, - width, depthSegments, heightSegments, 1 ); // nx
|
|
13406
13406
|
buildPlane( 'x', 'z', 'y', 1, 1, width, depth, height, widthSegments, depthSegments, 2 ); // py
|
|
13407
|
-
buildPlane( 'x', 'z', 'y', 1, -
|
|
13408
|
-
buildPlane( 'x', 'y', 'z', 1, -
|
|
13409
|
-
buildPlane( 'x', 'y', 'z', -
|
|
13407
|
+
buildPlane( 'x', 'z', 'y', 1, -1, width, depth, - height, widthSegments, depthSegments, 3 ); // ny
|
|
13408
|
+
buildPlane( 'x', 'y', 'z', 1, -1, width, height, depth, widthSegments, heightSegments, 4 ); // pz
|
|
13409
|
+
buildPlane( 'x', 'y', 'z', -1, -1, width, height, - depth, widthSegments, heightSegments, 5 ); // nz
|
|
13410
13410
|
|
|
13411
13411
|
// build geometry
|
|
13412
13412
|
|
|
@@ -13456,7 +13456,7 @@ class BoxBufferGeometry extends BufferGeometry {
|
|
|
13456
13456
|
|
|
13457
13457
|
vector[ u ] = 0;
|
|
13458
13458
|
vector[ v ] = 0;
|
|
13459
|
-
vector[ w ] = depth > 0 ? 1 : -
|
|
13459
|
+
vector[ w ] = depth > 0 ? 1 : -1;
|
|
13460
13460
|
|
|
13461
13461
|
// now apply vector to normal buffer
|
|
13462
13462
|
|
|
@@ -14061,7 +14061,7 @@ PerspectiveCamera.prototype = Object.assign( Object.create( Camera.prototype ),
|
|
|
14061
14061
|
top = near * Math.tan( MathUtils.DEG2RAD * 0.5 * this.fov ) / this.zoom,
|
|
14062
14062
|
height = 2 * top,
|
|
14063
14063
|
width = this.aspect * height,
|
|
14064
|
-
left = -
|
|
14064
|
+
left = -0.5 * width,
|
|
14065
14065
|
view = this.view;
|
|
14066
14066
|
|
|
14067
14067
|
if ( this.view !== null && this.view.enabled ) {
|
|
@@ -14135,14 +14135,14 @@ function CubeCamera( near, far, renderTarget ) {
|
|
|
14135
14135
|
|
|
14136
14136
|
var cameraPX = new PerspectiveCamera( fov, aspect, near, far );
|
|
14137
14137
|
cameraPX.layers = this.layers;
|
|
14138
|
-
cameraPX.up.set( 0, -
|
|
14138
|
+
cameraPX.up.set( 0, -1, 0 );
|
|
14139
14139
|
cameraPX.lookAt( new Vector3( 1, 0, 0 ) );
|
|
14140
14140
|
this.add( cameraPX );
|
|
14141
14141
|
|
|
14142
14142
|
var cameraNX = new PerspectiveCamera( fov, aspect, near, far );
|
|
14143
14143
|
cameraNX.layers = this.layers;
|
|
14144
|
-
cameraNX.up.set( 0, -
|
|
14145
|
-
cameraNX.lookAt( new Vector3( -
|
|
14144
|
+
cameraNX.up.set( 0, -1, 0 );
|
|
14145
|
+
cameraNX.lookAt( new Vector3( -1, 0, 0 ) );
|
|
14146
14146
|
this.add( cameraNX );
|
|
14147
14147
|
|
|
14148
14148
|
var cameraPY = new PerspectiveCamera( fov, aspect, near, far );
|
|
@@ -14153,20 +14153,20 @@ function CubeCamera( near, far, renderTarget ) {
|
|
|
14153
14153
|
|
|
14154
14154
|
var cameraNY = new PerspectiveCamera( fov, aspect, near, far );
|
|
14155
14155
|
cameraNY.layers = this.layers;
|
|
14156
|
-
cameraNY.up.set( 0, 0, -
|
|
14157
|
-
cameraNY.lookAt( new Vector3( 0, -
|
|
14156
|
+
cameraNY.up.set( 0, 0, -1 );
|
|
14157
|
+
cameraNY.lookAt( new Vector3( 0, -1, 0 ) );
|
|
14158
14158
|
this.add( cameraNY );
|
|
14159
14159
|
|
|
14160
14160
|
var cameraPZ = new PerspectiveCamera( fov, aspect, near, far );
|
|
14161
14161
|
cameraPZ.layers = this.layers;
|
|
14162
|
-
cameraPZ.up.set( 0, -
|
|
14162
|
+
cameraPZ.up.set( 0, -1, 0 );
|
|
14163
14163
|
cameraPZ.lookAt( new Vector3( 0, 0, 1 ) );
|
|
14164
14164
|
this.add( cameraPZ );
|
|
14165
14165
|
|
|
14166
14166
|
var cameraNZ = new PerspectiveCamera( fov, aspect, near, far );
|
|
14167
14167
|
cameraNZ.layers = this.layers;
|
|
14168
|
-
cameraNZ.up.set( 0, -
|
|
14169
|
-
cameraNZ.lookAt( new Vector3( 0, 0, -
|
|
14168
|
+
cameraNZ.up.set( 0, -1, 0 );
|
|
14169
|
+
cameraNZ.lookAt( new Vector3( 0, 0, -1 ) );
|
|
14170
14170
|
this.add( cameraNZ );
|
|
14171
14171
|
|
|
14172
14172
|
this.update = function ( renderer, scene ) {
|
|
@@ -14562,7 +14562,7 @@ var UniformsLib = {
|
|
|
14562
14562
|
envmap: {
|
|
14563
14563
|
|
|
14564
14564
|
envMap: { value: null },
|
|
14565
|
-
flipEnvMap: { value: -
|
|
14565
|
+
flipEnvMap: { value: -1 },
|
|
14566
14566
|
reflectivity: { value: 1.0 },
|
|
14567
14567
|
refractionRatio: { value: 0.98 },
|
|
14568
14568
|
maxMipLevel: { value: 0 }
|
|
@@ -14866,7 +14866,7 @@ function WebGLAttributes( gl, capabilities ) {
|
|
|
14866
14866
|
|
|
14867
14867
|
gl.bindBuffer( bufferType, buffer );
|
|
14868
14868
|
|
|
14869
|
-
if ( updateRange.count === -
|
|
14869
|
+
if ( updateRange.count === -1 ) {
|
|
14870
14870
|
|
|
14871
14871
|
// Not using update ranges
|
|
14872
14872
|
|
|
@@ -14886,7 +14886,7 @@ function WebGLAttributes( gl, capabilities ) {
|
|
|
14886
14886
|
|
|
14887
14887
|
}
|
|
14888
14888
|
|
|
14889
|
-
updateRange.count = -
|
|
14889
|
+
updateRange.count = -1; // reset range
|
|
14890
14890
|
|
|
14891
14891
|
}
|
|
14892
14892
|
|
|
@@ -15856,7 +15856,7 @@ function WebGLBackground( renderer, state, objects, premultipliedAlpha ) {
|
|
|
15856
15856
|
var texture = background.isWebGLCubeRenderTarget ? background.texture : background;
|
|
15857
15857
|
|
|
15858
15858
|
boxMesh.material.uniforms.envMap.value = texture;
|
|
15859
|
-
boxMesh.material.uniforms.flipEnvMap.value = texture.isCubeTexture ? -
|
|
15859
|
+
boxMesh.material.uniforms.flipEnvMap.value = texture.isCubeTexture ? -1 : 1;
|
|
15860
15860
|
|
|
15861
15861
|
if ( currentBackground !== background ||
|
|
15862
15862
|
currentBackgroundVersion !== texture.version ||
|
|
@@ -19275,7 +19275,7 @@ function WebGLRenderList() {
|
|
|
19275
19275
|
var opaque = [];
|
|
19276
19276
|
var transparent = [];
|
|
19277
19277
|
|
|
19278
|
-
var defaultProgram = { id: -
|
|
19278
|
+
var defaultProgram = { id: -1 };
|
|
19279
19279
|
|
|
19280
19280
|
function init() {
|
|
19281
19281
|
|
|
@@ -19597,15 +19597,15 @@ function WebGLLights() {
|
|
|
19597
19597
|
version: 0,
|
|
19598
19598
|
|
|
19599
19599
|
hash: {
|
|
19600
|
-
directionalLength: -
|
|
19601
|
-
pointLength: -
|
|
19602
|
-
spotLength: -
|
|
19603
|
-
rectAreaLength: -
|
|
19604
|
-
hemiLength: -
|
|
19605
|
-
|
|
19606
|
-
numDirectionalShadows: -
|
|
19607
|
-
numPointShadows: -
|
|
19608
|
-
numSpotShadows: -
|
|
19600
|
+
directionalLength: -1,
|
|
19601
|
+
pointLength: -1,
|
|
19602
|
+
spotLength: -1,
|
|
19603
|
+
rectAreaLength: -1,
|
|
19604
|
+
hemiLength: -1,
|
|
19605
|
+
|
|
19606
|
+
numDirectionalShadows: -1,
|
|
19607
|
+
numPointShadows: -1,
|
|
19608
|
+
numSpotShadows: -1
|
|
19609
19609
|
},
|
|
19610
19610
|
|
|
19611
19611
|
ambient: [ 0, 0, 0 ],
|
|
@@ -20211,7 +20211,7 @@ function WebGLShadowMap( _renderer, _objects, maxTextureSize ) {
|
|
|
20211
20211
|
fullScreenTri.setAttribute(
|
|
20212
20212
|
"position",
|
|
20213
20213
|
new BufferAttribute(
|
|
20214
|
-
new Float32Array( [ -
|
|
20214
|
+
new Float32Array( [ -1, -1, 0.5, 3, -1, 0.5, -1, 3, 0.5 ] ),
|
|
20215
20215
|
3
|
|
20216
20216
|
)
|
|
20217
20217
|
);
|
|
@@ -20656,7 +20656,7 @@ function WebGLState( gl, extensions, capabilities ) {
|
|
|
20656
20656
|
locked = false;
|
|
20657
20657
|
|
|
20658
20658
|
currentColorMask = null;
|
|
20659
|
-
currentColorClear.set( -
|
|
20659
|
+
currentColorClear.set( -1, 0, 0, 0 ); // set to invalid state
|
|
20660
20660
|
|
|
20661
20661
|
}
|
|
20662
20662
|
|
|
@@ -20947,12 +20947,12 @@ function WebGLState( gl, extensions, capabilities ) {
|
|
|
20947
20947
|
var version = 0;
|
|
20948
20948
|
var glVersion = gl.getParameter( 7938 );
|
|
20949
20949
|
|
|
20950
|
-
if ( glVersion.indexOf( 'WebGL' ) !== -
|
|
20950
|
+
if ( glVersion.indexOf( 'WebGL' ) !== -1 ) {
|
|
20951
20951
|
|
|
20952
20952
|
version = parseFloat( /^WebGL\ ([0-9])/.exec( glVersion )[ 1 ] );
|
|
20953
20953
|
lineWidthAvailable = ( version >= 1.0 );
|
|
20954
20954
|
|
|
20955
|
-
} else if ( glVersion.indexOf( 'OpenGL ES' ) !== -
|
|
20955
|
+
} else if ( glVersion.indexOf( 'OpenGL ES' ) !== -1 ) {
|
|
20956
20956
|
|
|
20957
20957
|
version = parseFloat( /^OpenGL\ ES\ ([0-9])/.exec( glVersion )[ 1 ] );
|
|
20958
20958
|
lineWidthAvailable = ( version >= 2.0 );
|
|
@@ -23904,7 +23904,7 @@ function WebGLMaterials( properties ) {
|
|
|
23904
23904
|
|
|
23905
23905
|
uniforms.envMap.value = envMap;
|
|
23906
23906
|
|
|
23907
|
-
uniforms.flipEnvMap.value = envMap.isCubeTexture ? -
|
|
23907
|
+
uniforms.flipEnvMap.value = envMap.isCubeTexture ? -1 : 1;
|
|
23908
23908
|
|
|
23909
23909
|
uniforms.reflectivity.value = material.reflectivity;
|
|
23910
23910
|
uniforms.refractionRatio.value = material.refractionRatio;
|
|
@@ -24168,7 +24168,7 @@ function WebGLMaterials( properties ) {
|
|
|
24168
24168
|
|
|
24169
24169
|
uniforms.bumpMap.value = material.bumpMap;
|
|
24170
24170
|
uniforms.bumpScale.value = material.bumpScale;
|
|
24171
|
-
if ( material.side === BackSide ) uniforms.bumpScale.value *= -
|
|
24171
|
+
if ( material.side === BackSide ) uniforms.bumpScale.value *= -1;
|
|
24172
24172
|
|
|
24173
24173
|
}
|
|
24174
24174
|
|
|
@@ -24211,7 +24211,7 @@ function WebGLMaterials( properties ) {
|
|
|
24211
24211
|
|
|
24212
24212
|
uniforms.bumpMap.value = material.bumpMap;
|
|
24213
24213
|
uniforms.bumpScale.value = material.bumpScale;
|
|
24214
|
-
if ( material.side === BackSide ) uniforms.bumpScale.value *= -
|
|
24214
|
+
if ( material.side === BackSide ) uniforms.bumpScale.value *= -1;
|
|
24215
24215
|
|
|
24216
24216
|
}
|
|
24217
24217
|
|
|
@@ -24260,7 +24260,7 @@ function WebGLMaterials( properties ) {
|
|
|
24260
24260
|
|
|
24261
24261
|
uniforms.bumpMap.value = material.bumpMap;
|
|
24262
24262
|
uniforms.bumpScale.value = material.bumpScale;
|
|
24263
|
-
if ( material.side === BackSide ) uniforms.bumpScale.value *= -
|
|
24263
|
+
if ( material.side === BackSide ) uniforms.bumpScale.value *= -1;
|
|
24264
24264
|
|
|
24265
24265
|
}
|
|
24266
24266
|
|
|
@@ -24340,7 +24340,7 @@ function WebGLMaterials( properties ) {
|
|
|
24340
24340
|
|
|
24341
24341
|
uniforms.bumpMap.value = material.bumpMap;
|
|
24342
24342
|
uniforms.bumpScale.value = material.bumpScale;
|
|
24343
|
-
if ( material.side === BackSide ) uniforms.bumpScale.value *= -
|
|
24343
|
+
if ( material.side === BackSide ) uniforms.bumpScale.value *= -1;
|
|
24344
24344
|
|
|
24345
24345
|
}
|
|
24346
24346
|
|
|
@@ -24396,7 +24396,7 @@ function WebGLMaterials( properties ) {
|
|
|
24396
24396
|
|
|
24397
24397
|
uniforms.bumpMap.value = material.bumpMap;
|
|
24398
24398
|
uniforms.bumpScale.value = material.bumpScale;
|
|
24399
|
-
if ( material.side === BackSide ) uniforms.bumpScale.value *= -
|
|
24399
|
+
if ( material.side === BackSide ) uniforms.bumpScale.value *= -1;
|
|
24400
24400
|
|
|
24401
24401
|
}
|
|
24402
24402
|
|
|
@@ -24516,7 +24516,7 @@ function WebGLRenderer( parameters ) {
|
|
|
24516
24516
|
_currentActiveMipmapLevel = 0,
|
|
24517
24517
|
_currentRenderTarget = null,
|
|
24518
24518
|
_currentFramebuffer = null,
|
|
24519
|
-
_currentMaterialId = -
|
|
24519
|
+
_currentMaterialId = -1,
|
|
24520
24520
|
|
|
24521
24521
|
// geometry and program caching
|
|
24522
24522
|
|
|
@@ -25539,7 +25539,7 @@ function WebGLRenderer( parameters ) {
|
|
|
25539
25539
|
_currentGeometryProgram.geometry = null;
|
|
25540
25540
|
_currentGeometryProgram.program = null;
|
|
25541
25541
|
_currentGeometryProgram.wireframe = false;
|
|
25542
|
-
_currentMaterialId = -
|
|
25542
|
+
_currentMaterialId = -1;
|
|
25543
25543
|
_currentCamera = null;
|
|
25544
25544
|
|
|
25545
25545
|
// update scene graph
|
|
@@ -26646,7 +26646,7 @@ function InterleavedBuffer( array, stride ) {
|
|
|
26646
26646
|
this.count = array !== undefined ? array.length / stride : 0;
|
|
26647
26647
|
|
|
26648
26648
|
this.usage = StaticDrawUsage;
|
|
26649
|
-
this.updateRange = { offset: 0, count: -
|
|
26649
|
+
this.updateRange = { offset: 0, count: -1 };
|
|
26650
26650
|
|
|
26651
26651
|
this.version = 0;
|
|
26652
26652
|
|
|
@@ -27027,10 +27027,10 @@ function Sprite( material ) {
|
|
|
27027
27027
|
_geometry = new BufferGeometry();
|
|
27028
27028
|
|
|
27029
27029
|
var float32Array = new Float32Array( [
|
|
27030
|
-
-
|
|
27031
|
-
0.5, -
|
|
27030
|
+
-0.5, -0.5, 0, 0, 0,
|
|
27031
|
+
0.5, -0.5, 0, 1, 0,
|
|
27032
27032
|
0.5, 0.5, 0, 1, 1,
|
|
27033
|
-
-
|
|
27033
|
+
-0.5, 0.5, 0, 0, 1
|
|
27034
27034
|
] );
|
|
27035
27035
|
|
|
27036
27036
|
var interleavedBuffer = new InterleavedBuffer( float32Array, 5 );
|
|
@@ -27086,8 +27086,8 @@ Sprite.prototype = Object.assign( Object.create( Object3D.prototype ), {
|
|
|
27086
27086
|
|
|
27087
27087
|
var center = this.center;
|
|
27088
27088
|
|
|
27089
|
-
transformVertex( _vA$1.set( -
|
|
27090
|
-
transformVertex( _vB$1.set( 0.5, -
|
|
27089
|
+
transformVertex( _vA$1.set( -0.5, -0.5, 0 ), _mvPosition, center, _worldScale, sin, cos );
|
|
27090
|
+
transformVertex( _vB$1.set( 0.5, -0.5, 0 ), _mvPosition, center, _worldScale, sin, cos );
|
|
27091
27091
|
transformVertex( _vC$1.set( 0.5, 0.5, 0 ), _mvPosition, center, _worldScale, sin, cos );
|
|
27092
27092
|
|
|
27093
27093
|
_uvA$1.set( 0, 0 );
|
|
@@ -27100,7 +27100,7 @@ Sprite.prototype = Object.assign( Object.create( Object3D.prototype ), {
|
|
|
27100
27100
|
if ( intersect === null ) {
|
|
27101
27101
|
|
|
27102
27102
|
// check second triangle
|
|
27103
|
-
transformVertex( _vB$1.set( -
|
|
27103
|
+
transformVertex( _vB$1.set( -0.5, 0.5, 0 ), _mvPosition, center, _worldScale, sin, cos );
|
|
27104
27104
|
_uvB$1.set( 0, 1 );
|
|
27105
27105
|
|
|
27106
27106
|
intersect = raycaster.ray.intersectTriangle( _vA$1, _vC$1, _vB$1, false, _intersectPoint );
|
|
@@ -27544,7 +27544,7 @@ function Skeleton( bones, boneInverses ) {
|
|
|
27544
27544
|
this.bones = bones.slice( 0 );
|
|
27545
27545
|
this.boneMatrices = new Float32Array( this.bones.length * 16 );
|
|
27546
27546
|
|
|
27547
|
-
this.frame = -
|
|
27547
|
+
this.frame = -1;
|
|
27548
27548
|
|
|
27549
27549
|
// use the supplied bone inverses or calculate the inverses
|
|
27550
27550
|
|
|
@@ -29302,7 +29302,7 @@ TetrahedronGeometry.prototype.constructor = TetrahedronGeometry;
|
|
|
29302
29302
|
function TetrahedronBufferGeometry( radius, detail ) {
|
|
29303
29303
|
|
|
29304
29304
|
var vertices = [
|
|
29305
|
-
1, 1, 1, -
|
|
29305
|
+
1, 1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1
|
|
29306
29306
|
];
|
|
29307
29307
|
|
|
29308
29308
|
var indices = [
|
|
@@ -29354,8 +29354,8 @@ OctahedronGeometry.prototype.constructor = OctahedronGeometry;
|
|
|
29354
29354
|
function OctahedronBufferGeometry( radius, detail ) {
|
|
29355
29355
|
|
|
29356
29356
|
var vertices = [
|
|
29357
|
-
1, 0, 0, -
|
|
29358
|
-
0, -
|
|
29357
|
+
1, 0, 0, -1, 0, 0, 0, 1, 0,
|
|
29358
|
+
0, -1, 0, 0, 0, 1, 0, 0, -1
|
|
29359
29359
|
];
|
|
29360
29360
|
|
|
29361
29361
|
var indices = [
|
|
@@ -29411,9 +29411,9 @@ function IcosahedronBufferGeometry( radius, detail ) {
|
|
|
29411
29411
|
var t = ( 1 + Math.sqrt( 5 ) ) / 2;
|
|
29412
29412
|
|
|
29413
29413
|
var vertices = [
|
|
29414
|
-
-
|
|
29415
|
-
0, -
|
|
29416
|
-
t, 0, -
|
|
29414
|
+
-1, t, 0, 1, t, 0, -1, - t, 0, 1, - t, 0,
|
|
29415
|
+
0, -1, t, 0, 1, t, 0, -1, - t, 0, 1, - t,
|
|
29416
|
+
t, 0, -1, t, 0, 1, - t, 0, -1, - t, 0, 1
|
|
29417
29417
|
];
|
|
29418
29418
|
|
|
29419
29419
|
var indices = [
|
|
@@ -29473,10 +29473,10 @@ function DodecahedronBufferGeometry( radius, detail ) {
|
|
|
29473
29473
|
var vertices = [
|
|
29474
29474
|
|
|
29475
29475
|
// (±1, ±1, ±1)
|
|
29476
|
-
-
|
|
29477
|
-
-
|
|
29478
|
-
1, -
|
|
29479
|
-
1, 1, -
|
|
29476
|
+
-1, -1, -1, -1, -1, 1,
|
|
29477
|
+
-1, 1, -1, -1, 1, 1,
|
|
29478
|
+
1, -1, -1, 1, -1, 1,
|
|
29479
|
+
1, 1, -1, 1, 1, 1,
|
|
29480
29480
|
|
|
29481
29481
|
// (0, ±1/φ, ±φ)
|
|
29482
29482
|
0, - r, - t, 0, - r, t,
|
|
@@ -30714,7 +30714,7 @@ function onSegment( p, q, r ) {
|
|
|
30714
30714
|
|
|
30715
30715
|
function sign( num ) {
|
|
30716
30716
|
|
|
30717
|
-
return num > 0 ? 1 : num < 0 ? -
|
|
30717
|
+
return num > 0 ? 1 : num < 0 ? -1 : 0;
|
|
30718
30718
|
|
|
30719
30719
|
}
|
|
30720
30720
|
|
|
@@ -31952,7 +31952,7 @@ function SphereBufferGeometry( radius, widthSegments, heightSegments, phiStart,
|
|
|
31952
31952
|
|
|
31953
31953
|
} else if ( iy == heightSegments && thetaEnd == Math.PI ) {
|
|
31954
31954
|
|
|
31955
|
-
uOffset = -
|
|
31955
|
+
uOffset = -0.5 / widthSegments;
|
|
31956
31956
|
|
|
31957
31957
|
}
|
|
31958
31958
|
|
|
@@ -32857,7 +32857,7 @@ function CylinderBufferGeometry( radiusTop, radiusBottom, height, radialSegments
|
|
|
32857
32857
|
var groupCount = 0;
|
|
32858
32858
|
|
|
32859
32859
|
var radius = ( top === true ) ? radiusTop : radiusBottom;
|
|
32860
|
-
var sign = ( top === true ) ? 1 : -
|
|
32860
|
+
var sign = ( top === true ) ? 1 : -1;
|
|
32861
32861
|
|
|
32862
32862
|
// save the index of the first center vertex
|
|
32863
32863
|
centerIndexStart = index;
|
|
@@ -34417,7 +34417,7 @@ var AnimationUtils = {
|
|
|
34417
34417
|
|
|
34418
34418
|
for ( var i = 0; i < clip.tracks.length; ++ i ) {
|
|
34419
34419
|
|
|
34420
|
-
clip.tracks[ i ].shift( -
|
|
34420
|
+
clip.tracks[ i ].shift( -1 * minStartTime );
|
|
34421
34421
|
|
|
34422
34422
|
}
|
|
34423
34423
|
|
|
@@ -34806,10 +34806,10 @@ function CubicInterpolant( parameterPositions, sampleValues, sampleSize, resultB
|
|
|
34806
34806
|
|
|
34807
34807
|
Interpolant.call( this, parameterPositions, sampleValues, sampleSize, resultBuffer );
|
|
34808
34808
|
|
|
34809
|
-
this._weightPrev = -
|
|
34810
|
-
this._offsetPrev = -
|
|
34811
|
-
this._weightNext = -
|
|
34812
|
-
this._offsetNext = -
|
|
34809
|
+
this._weightPrev = -0;
|
|
34810
|
+
this._offsetPrev = -0;
|
|
34811
|
+
this._weightNext = -0;
|
|
34812
|
+
this._offsetNext = -0;
|
|
34813
34813
|
|
|
34814
34814
|
}
|
|
34815
34815
|
|
|
@@ -34920,8 +34920,8 @@ CubicInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype
|
|
|
34920
34920
|
// evaluate polynomials
|
|
34921
34921
|
|
|
34922
34922
|
var sP = - wP * ppp + 2 * wP * pp - wP * p;
|
|
34923
|
-
var s0 = ( 1 + wP ) * ppp + ( -
|
|
34924
|
-
var s1 = ( -
|
|
34923
|
+
var s0 = ( 1 + wP ) * ppp + ( -1.5 - 2 * wP ) * pp + ( -0.5 + wP ) * p + 1;
|
|
34924
|
+
var s1 = ( -1 - wN ) * ppp + ( 1.5 + wN ) * pp + 0.5 * p;
|
|
34925
34925
|
var sN = wN * ppp - wN * pp;
|
|
34926
34926
|
|
|
34927
34927
|
// combine data linearly
|
|
@@ -35243,7 +35243,7 @@ Object.assign( KeyframeTrack.prototype, {
|
|
|
35243
35243
|
|
|
35244
35244
|
}
|
|
35245
35245
|
|
|
35246
|
-
while ( to !== -
|
|
35246
|
+
while ( to !== -1 && times[ to ] > endTime ) {
|
|
35247
35247
|
|
|
35248
35248
|
-- to;
|
|
35249
35249
|
|
|
@@ -35713,7 +35713,7 @@ function AnimationClip( name, duration, tracks, blendMode ) {
|
|
|
35713
35713
|
|
|
35714
35714
|
this.name = name;
|
|
35715
35715
|
this.tracks = tracks;
|
|
35716
|
-
this.duration = ( duration !== undefined ) ? duration : -
|
|
35716
|
+
this.duration = ( duration !== undefined ) ? duration : -1;
|
|
35717
35717
|
this.blendMode = ( blendMode !== undefined ) ? blendMode : NormalAnimationBlendMode;
|
|
35718
35718
|
|
|
35719
35719
|
this.uuid = MathUtils.generateUUID();
|
|
@@ -35885,7 +35885,7 @@ Object.assign( AnimationClip, {
|
|
|
35885
35885
|
|
|
35886
35886
|
}
|
|
35887
35887
|
|
|
35888
|
-
return new AnimationClip( name, -
|
|
35888
|
+
return new AnimationClip( name, -1, tracks );
|
|
35889
35889
|
|
|
35890
35890
|
},
|
|
35891
35891
|
|
|
@@ -35993,7 +35993,7 @@ Object.assign( AnimationClip, {
|
|
|
35993
35993
|
|
|
35994
35994
|
var clipName = animation.name || 'default';
|
|
35995
35995
|
// automatic length determination in AnimationClip.
|
|
35996
|
-
var duration = animation.length || -
|
|
35996
|
+
var duration = animation.length || -1;
|
|
35997
35997
|
var fps = animation.fps || 30;
|
|
35998
35998
|
var blendMode = animation.blendMode;
|
|
35999
35999
|
|
|
@@ -36018,7 +36018,7 @@ Object.assign( AnimationClip, {
|
|
|
36018
36018
|
|
|
36019
36019
|
for ( var m = 0; m < animationKeys[ k ].morphTargets.length; m ++ ) {
|
|
36020
36020
|
|
|
36021
|
-
morphTargetNames[ animationKeys[ k ].morphTargets[ m ] ] = -
|
|
36021
|
+
morphTargetNames[ animationKeys[ k ].morphTargets[ m ] ] = -1;
|
|
36022
36022
|
|
|
36023
36023
|
}
|
|
36024
36024
|
|
|
@@ -36309,7 +36309,7 @@ function LoadingManager( onLoad, onProgress, onError ) {
|
|
|
36309
36309
|
|
|
36310
36310
|
var index = handlers.indexOf( regex );
|
|
36311
36311
|
|
|
36312
|
-
if ( index !== -
|
|
36312
|
+
if ( index !== -1 ) {
|
|
36313
36313
|
|
|
36314
36314
|
handlers.splice( index, 2 );
|
|
36315
36315
|
|
|
@@ -37523,7 +37523,7 @@ Object.assign( Curve.prototype, {
|
|
|
37523
37523
|
|
|
37524
37524
|
vec.normalize();
|
|
37525
37525
|
|
|
37526
|
-
theta = Math.acos( MathUtils.clamp( tangents[ i - 1 ].dot( tangents[ i ] ), -
|
|
37526
|
+
theta = Math.acos( MathUtils.clamp( tangents[ i - 1 ].dot( tangents[ i ] ), -1, 1 ) ); // clamp for floating pt errors
|
|
37527
37527
|
|
|
37528
37528
|
normals[ i ].applyMatrix4( mat.makeRotationAxis( vec, theta ) );
|
|
37529
37529
|
|
|
@@ -37537,7 +37537,7 @@ Object.assign( Curve.prototype, {
|
|
|
37537
37537
|
|
|
37538
37538
|
if ( closed === true ) {
|
|
37539
37539
|
|
|
37540
|
-
theta = Math.acos( MathUtils.clamp( normals[ 0 ].dot( normals[ segments ] ), -
|
|
37540
|
+
theta = Math.acos( MathUtils.clamp( normals[ 0 ].dot( normals[ segments ] ), -1, 1 ) );
|
|
37541
37541
|
theta /= segments;
|
|
37542
37542
|
|
|
37543
37543
|
if ( tangents[ 0 ].dot( vec.crossVectors( normals[ 0 ], normals[ segments ] ) ) > 0 ) {
|
|
@@ -37808,7 +37808,7 @@ function CubicPoly() {
|
|
|
37808
37808
|
|
|
37809
37809
|
c0 = x0;
|
|
37810
37810
|
c1 = t0;
|
|
37811
|
-
c2 = -
|
|
37811
|
+
c2 = -3 * x0 + 3 * x1 - 2 * t0 - t1;
|
|
37812
37812
|
c3 = 2 * x0 - 2 * x1 + t0 + t1;
|
|
37813
37813
|
|
|
37814
37814
|
}
|
|
@@ -38033,7 +38033,7 @@ function CatmullRom( t, p0, p1, p2, p3 ) {
|
|
|
38033
38033
|
var v1 = ( p3 - p1 ) * 0.5;
|
|
38034
38034
|
var t2 = t * t;
|
|
38035
38035
|
var t3 = t * t2;
|
|
38036
|
-
return ( 2 * p1 - 2 * p2 + v0 + v1 ) * t3 + ( -
|
|
38036
|
+
return ( 2 * p1 - 2 * p2 + v0 + v1 ) * t3 + ( -3 * p1 + 3 * p2 - 2 * v0 - v1 ) * t2 + v0 * t + p1;
|
|
38037
38037
|
|
|
38038
38038
|
}
|
|
38039
38039
|
|
|
@@ -39572,13 +39572,13 @@ function PointLightShadow() {
|
|
|
39572
39572
|
];
|
|
39573
39573
|
|
|
39574
39574
|
this._cubeDirections = [
|
|
39575
|
-
new Vector3( 1, 0, 0 ), new Vector3( -
|
|
39576
|
-
new Vector3( 0, 0, -
|
|
39575
|
+
new Vector3( 1, 0, 0 ), new Vector3( -1, 0, 0 ), new Vector3( 0, 0, 1 ),
|
|
39576
|
+
new Vector3( 0, 0, -1 ), new Vector3( 0, 1, 0 ), new Vector3( 0, -1, 0 )
|
|
39577
39577
|
];
|
|
39578
39578
|
|
|
39579
39579
|
this._cubeUps = [
|
|
39580
39580
|
new Vector3( 0, 1, 0 ), new Vector3( 0, 1, 0 ), new Vector3( 0, 1, 0 ),
|
|
39581
|
-
new Vector3( 0, 1, 0 ), new Vector3( 0, 0, 1 ), new Vector3( 0, 0, -
|
|
39581
|
+
new Vector3( 0, 1, 0 ), new Vector3( 0, 0, 1 ), new Vector3( 0, 0, -1 )
|
|
39582
39582
|
];
|
|
39583
39583
|
|
|
39584
39584
|
}
|
|
@@ -39687,10 +39687,10 @@ function OrthographicCamera( left, right, top, bottom, near, far ) {
|
|
|
39687
39687
|
this.zoom = 1;
|
|
39688
39688
|
this.view = null;
|
|
39689
39689
|
|
|
39690
|
-
this.left = ( left !== undefined ) ? left : -
|
|
39690
|
+
this.left = ( left !== undefined ) ? left : -1;
|
|
39691
39691
|
this.right = ( right !== undefined ) ? right : 1;
|
|
39692
39692
|
this.top = ( top !== undefined ) ? top : 1;
|
|
39693
|
-
this.bottom = ( bottom !== undefined ) ? bottom : -
|
|
39693
|
+
this.bottom = ( bottom !== undefined ) ? bottom : -1;
|
|
39694
39694
|
|
|
39695
39695
|
this.near = ( near !== undefined ) ? near : 0.1;
|
|
39696
39696
|
this.far = ( far !== undefined ) ? far : 2000;
|
|
@@ -39819,7 +39819,7 @@ OrthographicCamera.prototype = Object.assign( Object.create( Camera.prototype ),
|
|
|
39819
39819
|
|
|
39820
39820
|
function DirectionalLightShadow() {
|
|
39821
39821
|
|
|
39822
|
-
LightShadow.call( this, new OrthographicCamera( -
|
|
39822
|
+
LightShadow.call( this, new OrthographicCamera( -5, 5, 5, -5, 0.5, 500 ) );
|
|
39823
39823
|
|
|
39824
39824
|
}
|
|
39825
39825
|
|
|
@@ -40577,7 +40577,7 @@ var LoaderUtils = {
|
|
|
40577
40577
|
|
|
40578
40578
|
var index = url.lastIndexOf( '/' );
|
|
40579
40579
|
|
|
40580
|
-
if ( index === -
|
|
40580
|
+
if ( index === -1 ) return './';
|
|
40581
40581
|
|
|
40582
40582
|
return url.substr( 0, index + 1 );
|
|
40583
40583
|
|
|
@@ -42837,7 +42837,7 @@ AudioListener.prototype = Object.assign( Object.create( Object3D.prototype ), {
|
|
|
42837
42837
|
|
|
42838
42838
|
this.matrixWorld.decompose( _position$2, _quaternion$3, _scale$1 );
|
|
42839
42839
|
|
|
42840
|
-
_orientation.set( 0, 0, -
|
|
42840
|
+
_orientation.set( 0, 0, -1 ).applyQuaternion( _quaternion$3 );
|
|
42841
42841
|
|
|
42842
42842
|
if ( listener.positionX ) {
|
|
42843
42843
|
|
|
@@ -43924,7 +43924,7 @@ Object.assign( PropertyBinding, {
|
|
|
43924
43924
|
|
|
43925
43925
|
var lastDot = results.nodeName && results.nodeName.lastIndexOf( '.' );
|
|
43926
43926
|
|
|
43927
|
-
if ( lastDot !== undefined && lastDot !== -
|
|
43927
|
+
if ( lastDot !== undefined && lastDot !== -1 ) {
|
|
43928
43928
|
|
|
43929
43929
|
var objectName = results.nodeName.substring( lastDot + 1 );
|
|
43930
43930
|
|
|
@@ -43932,7 +43932,7 @@ Object.assign( PropertyBinding, {
|
|
|
43932
43932
|
// is no way to parse 'foo.bar.baz': 'baz' must be a property, but
|
|
43933
43933
|
// 'bar' could be the objectName, or part of a nodeName (which can
|
|
43934
43934
|
// include '.' characters).
|
|
43935
|
-
if ( _supportedObjectNames.indexOf( objectName ) !== -
|
|
43935
|
+
if ( _supportedObjectNames.indexOf( objectName ) !== -1 ) {
|
|
43936
43936
|
|
|
43937
43937
|
results.nodeName = results.nodeName.substring( 0, lastDot );
|
|
43938
43938
|
results.objectName = objectName;
|
|
@@ -43953,7 +43953,7 @@ Object.assign( PropertyBinding, {
|
|
|
43953
43953
|
|
|
43954
43954
|
findNode: function ( root, nodeName ) {
|
|
43955
43955
|
|
|
43956
|
-
if ( ! nodeName || nodeName === "" || nodeName === "." || nodeName === -
|
|
43956
|
+
if ( ! nodeName || nodeName === "" || nodeName === "." || nodeName === -1 || nodeName === root.name || nodeName === root.uuid ) {
|
|
43957
43957
|
|
|
43958
43958
|
return root;
|
|
43959
43959
|
|
|
@@ -44871,7 +44871,7 @@ function AnimationAction( mixer, clip, localRoot, blendMode ) {
|
|
|
44871
44871
|
this._weightInterpolant = null;
|
|
44872
44872
|
|
|
44873
44873
|
this.loop = LoopRepeat;
|
|
44874
|
-
this._loopCount = -
|
|
44874
|
+
this._loopCount = -1;
|
|
44875
44875
|
|
|
44876
44876
|
// global mixer time when the action is to be started
|
|
44877
44877
|
// it's set back to 'null' upon start of the action
|
|
@@ -44925,7 +44925,7 @@ Object.assign( AnimationAction.prototype, {
|
|
|
44925
44925
|
this.enabled = true;
|
|
44926
44926
|
|
|
44927
44927
|
this.time = 0; // restart clip
|
|
44928
|
-
this._loopCount = -
|
|
44928
|
+
this._loopCount = -1;// forget previous loops
|
|
44929
44929
|
this._startTime = null;// forget scheduling
|
|
44930
44930
|
|
|
44931
44931
|
return this.stopFading().stopWarping();
|
|
@@ -45317,7 +45317,7 @@ Object.assign( AnimationAction.prototype, {
|
|
|
45317
45317
|
|
|
45318
45318
|
if ( deltaTime === 0 ) {
|
|
45319
45319
|
|
|
45320
|
-
if ( loopCount === -
|
|
45320
|
+
if ( loopCount === -1 ) return time;
|
|
45321
45321
|
|
|
45322
45322
|
return ( pingPong && ( loopCount & 1 ) === 1 ) ? duration - time : time;
|
|
45323
45323
|
|
|
@@ -45325,7 +45325,7 @@ Object.assign( AnimationAction.prototype, {
|
|
|
45325
45325
|
|
|
45326
45326
|
if ( loop === LoopOnce ) {
|
|
45327
45327
|
|
|
45328
|
-
if ( loopCount === -
|
|
45328
|
+
if ( loopCount === -1 ) {
|
|
45329
45329
|
|
|
45330
45330
|
// just started
|
|
45331
45331
|
|
|
@@ -45359,14 +45359,14 @@ Object.assign( AnimationAction.prototype, {
|
|
|
45359
45359
|
|
|
45360
45360
|
this._mixer.dispatchEvent( {
|
|
45361
45361
|
type: 'finished', action: this,
|
|
45362
|
-
direction: deltaTime < 0 ? -
|
|
45362
|
+
direction: deltaTime < 0 ? -1 : 1
|
|
45363
45363
|
} );
|
|
45364
45364
|
|
|
45365
45365
|
}
|
|
45366
45366
|
|
|
45367
45367
|
} else { // repetitive Repeat or PingPong
|
|
45368
45368
|
|
|
45369
|
-
if ( loopCount === -
|
|
45369
|
+
if ( loopCount === -1 ) {
|
|
45370
45370
|
|
|
45371
45371
|
// just started
|
|
45372
45372
|
|
|
@@ -45412,7 +45412,7 @@ Object.assign( AnimationAction.prototype, {
|
|
|
45412
45412
|
|
|
45413
45413
|
this._mixer.dispatchEvent( {
|
|
45414
45414
|
type: 'finished', action: this,
|
|
45415
|
-
direction: deltaTime > 0 ? 1 : -
|
|
45415
|
+
direction: deltaTime > 0 ? 1 : -1
|
|
45416
45416
|
} );
|
|
45417
45417
|
|
|
45418
45418
|
} else {
|
|
@@ -46431,7 +46431,7 @@ Object.assign( Raycaster.prototype, {
|
|
|
46431
46431
|
} else if ( ( camera && camera.isOrthographicCamera ) ) {
|
|
46432
46432
|
|
|
46433
46433
|
this.ray.origin.set( coords.x, coords.y, ( camera.near + camera.far ) / ( camera.near - camera.far ) ).unproject( camera ); // set origin in plane of camera
|
|
46434
|
-
this.ray.direction.set( 0, 0, -
|
|
46434
|
+
this.ray.direction.set( 0, 0, -1 ).transformDirection( camera.matrixWorld );
|
|
46435
46435
|
this.camera = camera;
|
|
46436
46436
|
|
|
46437
46437
|
} else {
|
|
@@ -46555,7 +46555,7 @@ Object.assign( Spherical.prototype, {
|
|
|
46555
46555
|
} else {
|
|
46556
46556
|
|
|
46557
46557
|
this.theta = Math.atan2( x, z );
|
|
46558
|
-
this.phi = Math.acos( MathUtils.clamp( y / this.radius, -
|
|
46558
|
+
this.phi = Math.acos( MathUtils.clamp( y / this.radius, -1, 1 ) );
|
|
46559
46559
|
|
|
46560
46560
|
}
|
|
46561
46561
|
|
|
@@ -47056,9 +47056,9 @@ function SpotLightHelper( light, color ) {
|
|
|
47056
47056
|
var positions = [
|
|
47057
47057
|
0, 0, 0, 0, 0, 1,
|
|
47058
47058
|
0, 0, 0, 1, 0, 1,
|
|
47059
|
-
0, 0, 0, -
|
|
47059
|
+
0, 0, 0, -1, 0, 1,
|
|
47060
47060
|
0, 0, 0, 0, 1, 1,
|
|
47061
|
-
0, 0, 0, 0, -
|
|
47061
|
+
0, 0, 0, 0, -1, 1
|
|
47062
47062
|
];
|
|
47063
47063
|
|
|
47064
47064
|
for ( var i = 0, j = 1, l = 32; i < l; i ++, j ++ ) {
|
|
@@ -47779,40 +47779,40 @@ CameraHelper.prototype.update = function () {
|
|
|
47779
47779
|
|
|
47780
47780
|
// center / target
|
|
47781
47781
|
|
|
47782
|
-
setPoint( 'c', pointMap, geometry, _camera, 0, 0, -
|
|
47782
|
+
setPoint( 'c', pointMap, geometry, _camera, 0, 0, -1 );
|
|
47783
47783
|
setPoint( 't', pointMap, geometry, _camera, 0, 0, 1 );
|
|
47784
47784
|
|
|
47785
47785
|
// near
|
|
47786
47786
|
|
|
47787
|
-
setPoint( 'n1', pointMap, geometry, _camera, -
|
|
47788
|
-
setPoint( 'n2', pointMap, geometry, _camera, w, -
|
|
47789
|
-
setPoint( 'n3', pointMap, geometry, _camera, -
|
|
47790
|
-
setPoint( 'n4', pointMap, geometry, _camera, w, h, -
|
|
47787
|
+
setPoint( 'n1', pointMap, geometry, _camera, -1, -1, -1 );
|
|
47788
|
+
setPoint( 'n2', pointMap, geometry, _camera, w, -1, -1 );
|
|
47789
|
+
setPoint( 'n3', pointMap, geometry, _camera, -1, h, -1 );
|
|
47790
|
+
setPoint( 'n4', pointMap, geometry, _camera, w, h, -1 );
|
|
47791
47791
|
|
|
47792
47792
|
// far
|
|
47793
47793
|
|
|
47794
|
-
setPoint( 'f1', pointMap, geometry, _camera, -
|
|
47795
|
-
setPoint( 'f2', pointMap, geometry, _camera, w, -
|
|
47796
|
-
setPoint( 'f3', pointMap, geometry, _camera, -
|
|
47794
|
+
setPoint( 'f1', pointMap, geometry, _camera, -1, -1, 1 );
|
|
47795
|
+
setPoint( 'f2', pointMap, geometry, _camera, w, -1, 1 );
|
|
47796
|
+
setPoint( 'f3', pointMap, geometry, _camera, -1, h, 1 );
|
|
47797
47797
|
setPoint( 'f4', pointMap, geometry, _camera, w, h, 1 );
|
|
47798
47798
|
|
|
47799
47799
|
// up
|
|
47800
47800
|
|
|
47801
|
-
setPoint( 'u1', pointMap, geometry, _camera, w * 0.7, h * 1.1, -
|
|
47802
|
-
setPoint( 'u2', pointMap, geometry, _camera, -
|
|
47803
|
-
setPoint( 'u3', pointMap, geometry, _camera, 0, h * 2, -
|
|
47801
|
+
setPoint( 'u1', pointMap, geometry, _camera, w * 0.7, h * 1.1, -1 );
|
|
47802
|
+
setPoint( 'u2', pointMap, geometry, _camera, -1 * 0.7, h * 1.1, -1 );
|
|
47803
|
+
setPoint( 'u3', pointMap, geometry, _camera, 0, h * 2, -1 );
|
|
47804
47804
|
|
|
47805
47805
|
// cross
|
|
47806
47806
|
|
|
47807
|
-
setPoint( 'cf1', pointMap, geometry, _camera, -
|
|
47807
|
+
setPoint( 'cf1', pointMap, geometry, _camera, -1, 0, 1 );
|
|
47808
47808
|
setPoint( 'cf2', pointMap, geometry, _camera, w, 0, 1 );
|
|
47809
|
-
setPoint( 'cf3', pointMap, geometry, _camera, 0, -
|
|
47809
|
+
setPoint( 'cf3', pointMap, geometry, _camera, 0, -1, 1 );
|
|
47810
47810
|
setPoint( 'cf4', pointMap, geometry, _camera, 0, h, 1 );
|
|
47811
47811
|
|
|
47812
|
-
setPoint( 'cn1', pointMap, geometry, _camera, -
|
|
47813
|
-
setPoint( 'cn2', pointMap, geometry, _camera, w, 0, -
|
|
47814
|
-
setPoint( 'cn3', pointMap, geometry, _camera, 0, -
|
|
47815
|
-
setPoint( 'cn4', pointMap, geometry, _camera, 0, h, -
|
|
47812
|
+
setPoint( 'cn1', pointMap, geometry, _camera, -1, 0, -1 );
|
|
47813
|
+
setPoint( 'cn2', pointMap, geometry, _camera, w, 0, -1 );
|
|
47814
|
+
setPoint( 'cn3', pointMap, geometry, _camera, 0, -1, -1 );
|
|
47815
|
+
setPoint( 'cn4', pointMap, geometry, _camera, 0, h, -1 );
|
|
47816
47816
|
|
|
47817
47817
|
geometry.getAttribute( 'position' ).needsUpdate = true;
|
|
47818
47818
|
|
|
@@ -47964,7 +47964,7 @@ function Box3Helper( box, color ) {
|
|
|
47964
47964
|
|
|
47965
47965
|
var indices = new Uint16Array( [ 0, 1, 1, 2, 2, 3, 3, 0, 4, 5, 5, 6, 6, 7, 7, 4, 0, 4, 1, 5, 2, 6, 3, 7 ] );
|
|
47966
47966
|
|
|
47967
|
-
var positions = [ 1, 1, 1, -
|
|
47967
|
+
var positions = [ 1, 1, 1, -1, 1, 1, -1, -1, 1, 1, -1, 1, 1, 1, -1, -1, 1, -1, -1, -1, -1, 1, -1, -1 ];
|
|
47968
47968
|
|
|
47969
47969
|
var geometry = new BufferGeometry();
|
|
47970
47970
|
|
|
@@ -48011,7 +48011,7 @@ function PlaneHelper( plane, size, hex ) {
|
|
|
48011
48011
|
|
|
48012
48012
|
var color = ( hex !== undefined ) ? hex : 0xffff00;
|
|
48013
48013
|
|
|
48014
|
-
var positions = [ 1, -
|
|
48014
|
+
var positions = [ 1, -1, 1, -1, 1, 1, -1, -1, 1, 1, 1, 1, -1, 1, 1, -1, -1, 1, 1, -1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0 ];
|
|
48015
48015
|
|
|
48016
48016
|
var geometry = new BufferGeometry();
|
|
48017
48017
|
geometry.setAttribute( 'position', new Float32BufferAttribute( positions, 3 ) );
|
|
@@ -48023,7 +48023,7 @@ function PlaneHelper( plane, size, hex ) {
|
|
|
48023
48023
|
|
|
48024
48024
|
//
|
|
48025
48025
|
|
|
48026
|
-
var positions2 = [ 1, 1, 1, -
|
|
48026
|
+
var positions2 = [ 1, 1, 1, -1, 1, 1, -1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1 ];
|
|
48027
48027
|
|
|
48028
48028
|
var geometry2 = new BufferGeometry();
|
|
48029
48029
|
geometry2.setAttribute( 'position', new Float32BufferAttribute( positions2, 3 ) );
|
|
@@ -48092,7 +48092,7 @@ function ArrowHelper( dir, origin, length, color, headLength, headWidth ) {
|
|
|
48092
48092
|
_lineGeometry.setAttribute( 'position', new Float32BufferAttribute( [ 0, 0, 0, 0, 1, 0 ], 3 ) );
|
|
48093
48093
|
|
|
48094
48094
|
_coneGeometry = new CylinderBufferGeometry( 0, 0.5, 1, 5, 1 );
|
|
48095
|
-
_coneGeometry.translate( 0, -
|
|
48095
|
+
_coneGeometry.translate( 0, -0.5, 0 );
|
|
48096
48096
|
|
|
48097
48097
|
}
|
|
48098
48098
|
|
|
@@ -48122,7 +48122,7 @@ ArrowHelper.prototype.setDirection = function ( dir ) {
|
|
|
48122
48122
|
|
|
48123
48123
|
this.quaternion.set( 0, 0, 0, 1 );
|
|
48124
48124
|
|
|
48125
|
-
} else if ( dir.y < -
|
|
48125
|
+
} else if ( dir.y < -0.99999 ) {
|
|
48126
48126
|
|
|
48127
48127
|
this.quaternion.set( 1, 0, 0, 0 );
|
|
48128
48128
|
|
|
@@ -48264,9 +48264,9 @@ var INV_PHI = 1 / PHI;
|
|
|
48264
48264
|
// same axis), used as axis directions evenly spread on a sphere.
|
|
48265
48265
|
var _axisDirections = [
|
|
48266
48266
|
new Vector3( 1, 1, 1 ),
|
|
48267
|
-
new Vector3( -
|
|
48268
|
-
new Vector3( 1, 1, -
|
|
48269
|
-
new Vector3( -
|
|
48267
|
+
new Vector3( -1, 1, 1 ),
|
|
48268
|
+
new Vector3( 1, 1, -1 ),
|
|
48269
|
+
new Vector3( -1, 1, -1 ),
|
|
48270
48270
|
new Vector3( 0, PHI, INV_PHI ),
|
|
48271
48271
|
new Vector3( 0, PHI, - INV_PHI ),
|
|
48272
48272
|
new Vector3( INV_PHI, 0, PHI ),
|
|
@@ -48443,8 +48443,8 @@ PMREMGenerator.prototype = {
|
|
|
48443
48443
|
var fov = 90;
|
|
48444
48444
|
var aspect = 1;
|
|
48445
48445
|
var cubeCamera = new PerspectiveCamera( fov, aspect, near, far );
|
|
48446
|
-
var upSign = [ 1, -
|
|
48447
|
-
var forwardSign = [ 1, 1, 1, -
|
|
48446
|
+
var upSign = [ 1, -1, 1, 1, 1, 1 ];
|
|
48447
|
+
var forwardSign = [ 1, 1, 1, -1, -1, -1 ];
|
|
48448
48448
|
var renderer = this._renderer;
|
|
48449
48449
|
|
|
48450
48450
|
var outputEncoding = renderer.outputEncoding;
|
|
@@ -48463,7 +48463,7 @@ PMREMGenerator.prototype = {
|
|
|
48463
48463
|
background.convertSRGBToLinear();
|
|
48464
48464
|
// Convert linear to RGBE
|
|
48465
48465
|
var maxComponent = Math.max( background.r, background.g, background.b );
|
|
48466
|
-
var fExp = Math.min( Math.max( Math.ceil( Math.log2( maxComponent ) ), -
|
|
48466
|
+
var fExp = Math.min( Math.max( Math.ceil( Math.log2( maxComponent ) ), -128 ), 127.0 );
|
|
48467
48467
|
background = background.multiplyScalar( Math.pow( 2.0, - fExp ) );
|
|
48468
48468
|
var alpha = ( fExp + 128.0 ) / 255.0;
|
|
48469
48469
|
renderer.setClearColor( background, alpha );
|
|
@@ -48739,7 +48739,7 @@ function _createPlanes() {
|
|
|
48739
48739
|
for ( var face = 0; face < cubeFaces; face ++ ) {
|
|
48740
48740
|
|
|
48741
48741
|
var x = ( face % 3 ) * 2 / 3 - 1;
|
|
48742
|
-
var y = face > 2 ? 0 : -
|
|
48742
|
+
var y = face > 2 ? 0 : -1;
|
|
48743
48743
|
var coordinates = [
|
|
48744
48744
|
x, y, 0,
|
|
48745
48745
|
x + 2 / 3, y, 0,
|
|
@@ -51744,8 +51744,8 @@ const WebGLSmoke = () => {
|
|
|
51744
51744
|
};
|
|
51745
51745
|
|
|
51746
51746
|
const usePrevious = (value) => {
|
|
51747
|
-
const previousRef = useRef(
|
|
51748
|
-
const currentRef = useRef(
|
|
51747
|
+
const previousRef = useRef(undefined);
|
|
51748
|
+
const currentRef = useRef(undefined);
|
|
51749
51749
|
if (value !== currentRef.current) {
|
|
51750
51750
|
previousRef.current = currentRef.current;
|
|
51751
51751
|
currentRef.current = value;
|
|
@@ -51753,7 +51753,7 @@ const usePrevious = (value) => {
|
|
|
51753
51753
|
return previousRef.current;
|
|
51754
51754
|
};
|
|
51755
51755
|
const usePreviousRender = (value) => {
|
|
51756
|
-
const previousRef = useRef(
|
|
51756
|
+
const previousRef = useRef(undefined);
|
|
51757
51757
|
useEffect(() => {
|
|
51758
51758
|
previousRef.current = value;
|
|
51759
51759
|
}, [value]);
|
|
@@ -51820,7 +51820,7 @@ const useBowser = () => {
|
|
|
51820
51820
|
}, [browser, parser]);
|
|
51821
51821
|
};
|
|
51822
51822
|
|
|
51823
|
-
const noop = (..._) =>
|
|
51823
|
+
const noop = (..._) => undefined;
|
|
51824
51824
|
|
|
51825
51825
|
const useOutsideClick = (ref, cb, when = true) => {
|
|
51826
51826
|
const savedCallback = useRef(cb);
|
|
@@ -51922,7 +51922,7 @@ const useOklch = () => {
|
|
|
51922
51922
|
return () => {
|
|
51923
51923
|
counter -= 1;
|
|
51924
51924
|
if (counter < 1) {
|
|
51925
|
-
document.body.dataset.p3 =
|
|
51925
|
+
document.body.dataset.p3 = undefined;
|
|
51926
51926
|
}
|
|
51927
51927
|
};
|
|
51928
51928
|
}, []);
|
|
@@ -52368,31 +52368,31 @@ const BubblyParticlesButton = () => {
|
|
|
52368
52368
|
);
|
|
52369
52369
|
};
|
|
52370
52370
|
|
|
52371
|
-
const root$4j = "
|
|
52372
|
-
const button$p = "
|
|
52373
|
-
const p = "
|
|
52374
|
-
const text$z = "
|
|
52375
|
-
const rise1 = "
|
|
52376
|
-
const rise2 = "
|
|
52377
|
-
const rise3 = "
|
|
52378
|
-
const rise4 = "
|
|
52379
|
-
const rise5 = "
|
|
52380
|
-
const rise6 = "
|
|
52381
|
-
const rise7 = "
|
|
52382
|
-
const rise8 = "
|
|
52383
|
-
const rise9 = "
|
|
52384
|
-
const rise10 = "
|
|
52385
|
-
const rise11 = "
|
|
52386
|
-
const rise12 = "
|
|
52387
|
-
const rise13 = "
|
|
52388
|
-
const rise14 = "
|
|
52389
|
-
const rise15 = "
|
|
52390
|
-
const rise16 = "
|
|
52391
|
-
const rise17 = "
|
|
52392
|
-
const rise18 = "
|
|
52393
|
-
const rise19 = "
|
|
52394
|
-
const rise20 = "
|
|
52395
|
-
const effects = "
|
|
52371
|
+
const root$4j = "_root_1koxy_1";
|
|
52372
|
+
const button$p = "_button_1koxy_13";
|
|
52373
|
+
const p = "_p_1koxy_26";
|
|
52374
|
+
const text$z = "_text_1koxy_26";
|
|
52375
|
+
const rise1 = "_rise1_1koxy_1";
|
|
52376
|
+
const rise2 = "_rise2_1koxy_1";
|
|
52377
|
+
const rise3 = "_rise3_1koxy_1";
|
|
52378
|
+
const rise4 = "_rise4_1koxy_1";
|
|
52379
|
+
const rise5 = "_rise5_1koxy_1";
|
|
52380
|
+
const rise6 = "_rise6_1koxy_1";
|
|
52381
|
+
const rise7 = "_rise7_1koxy_1";
|
|
52382
|
+
const rise8 = "_rise8_1koxy_1";
|
|
52383
|
+
const rise9 = "_rise9_1koxy_1";
|
|
52384
|
+
const rise10 = "_rise10_1koxy_1";
|
|
52385
|
+
const rise11 = "_rise11_1koxy_1";
|
|
52386
|
+
const rise12 = "_rise12_1koxy_1";
|
|
52387
|
+
const rise13 = "_rise13_1koxy_1";
|
|
52388
|
+
const rise14 = "_rise14_1koxy_1";
|
|
52389
|
+
const rise15 = "_rise15_1koxy_1";
|
|
52390
|
+
const rise16 = "_rise16_1koxy_1";
|
|
52391
|
+
const rise17 = "_rise17_1koxy_1";
|
|
52392
|
+
const rise18 = "_rise18_1koxy_1";
|
|
52393
|
+
const rise19 = "_rise19_1koxy_1";
|
|
52394
|
+
const rise20 = "_rise20_1koxy_1";
|
|
52395
|
+
const effects = "_effects_1koxy_240";
|
|
52396
52396
|
const styles$4F = {
|
|
52397
52397
|
root: root$4j,
|
|
52398
52398
|
button: button$p,
|
|
@@ -52912,8 +52912,8 @@ const ClickButtonParticles = () => {
|
|
|
52912
52912
|
onClick: (event) => {
|
|
52913
52913
|
event.preventDefault();
|
|
52914
52914
|
const svg = `<svg class="svg" fill="none" viewBox="0 0 140 160" xmlns="http://www.w3.org/2000/svg"> <path d="M70.5 82.5V45.5" id="Line1"></path> <path d="M61.5 90.5L24.5 90.5" id="Line2"></path> <path d="M70.5 100.5V137.5" id="Line3"></path> <path d="M79.5 90.5L116.5 90.5" id="Line4"></path> <path d="M64.8786 85.9999L38.7157 59.8369" id="Line5"></path> <path d="M76 85.8788L102.163 59.7158" id="Line6"></path> <path d="M64 97.1211L37.837 123.284" id="Line7"></path> <path d="M76.1213 97L102.284 123.163" id="Line8"></path> <!-- /- (1..@snowFew).each do --> <g> <g> <g class="svg_obj"> <path d="M14.6324 5.25L20.9832 16.25C21.5606 17.25 20.8389 18.5 19.6842 18.5H6.98249C5.82778 18.5 5.10609 17.25 5.68344 16.25L12.0343 5.25C12.6116 4.25 14.055 4.25 14.6324 5.25Z" fill="none" stroke-linecap="square" stroke-linejoin="round" stroke-width="3" stroke="#7f71fe"></path> </g> <animateMotion begin="0s" dur="1.5s" repeatCount="1"> <mpath xlink:href="#Line` + Math.floor(Math.random() * 8 + 1) + `"></mpath> </animateMotion> </g> </g> <g> <g> <g class="svg_obj"> <circle cx="12" cy="11" r="6.5" stroke-width="3" stroke="#1A3AF8"></circle> </g> <animateMotion begin="0s" dur="1.5s" repeatCount="1"> <mpath xlink:href="#Line` + Math.floor(Math.random() * 8 + 1) + `"></mpath> </animateMotion> </g> </g> <g> <g> <g class="svg_obj"> <path d="M17.2394 3L7.6162 18.2116M5 5.51355L20.2116 15.1367" stroke="#47cf73" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/> </g> <animateMotion begin="0s" dur="1.5s" repeatCount="1"> <mpath xlink:href="#Line` + Math.floor(Math.random() * 8 + 1) + `"></mpath> </animateMotion> </g> </g> </svg>`;
|
|
52915
|
-
const x = event.nativeEvent.offsetX ==
|
|
52916
|
-
const y = event.nativeEvent.offsetY ==
|
|
52915
|
+
const x = event.nativeEvent.offsetX == undefined ? event.nativeEvent.layerX : event.nativeEvent.offsetX;
|
|
52916
|
+
const y = event.nativeEvent.offsetY == undefined ? event.nativeEvent.layerY : event.nativeEvent.offsetY;
|
|
52917
52917
|
const span = document.createElement("span");
|
|
52918
52918
|
span.className = styles$4A.mouse;
|
|
52919
52919
|
span.innerHTML = svg;
|
|
@@ -53502,10 +53502,10 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
53502
53502
|
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } } return target; }
|
|
53503
53503
|
function _extends$1() { _extends$1 = Object.assign ? Object.assign.bind() : 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$1.apply(this, arguments); }
|
|
53504
53504
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
53505
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t),
|
|
53505
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
53506
53506
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
53507
53507
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
53508
|
-
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (
|
|
53508
|
+
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (undefined !== e) { var i = e.call(t, r || "default"); if ("object" != typeof i) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
53509
53509
|
function Tree2Element(tree) {
|
|
53510
53510
|
return tree && tree.map((node, i) => /*#__PURE__*/React.createElement(node.tag, _objectSpread({
|
|
53511
53511
|
key: i
|
|
@@ -54007,7 +54007,7 @@ function requireDrawSVGPlugin () {
|
|
|
54007
54007
|
if (hasRequiredDrawSVGPlugin) return DrawSVGPlugin$1.exports;
|
|
54008
54008
|
hasRequiredDrawSVGPlugin = 1;
|
|
54009
54009
|
(function (module, exports) {
|
|
54010
|
-
!function(e,t){t(exports);}(DrawSVGPlugin,function(e){function l(){return "undefined"!=typeof window}function m(){return o||l()&&(o=window.gsap)&&o.registerPlugin&&o}function p(e){return Math.round(1e4*e)/1e4}function q(e){return parseFloat(e)||0}function r(e,t){var n=q(e);return ~e.indexOf("%")?n/100*t:n}function s(e,t){return q(e.getAttribute(t))}function u(e,t,n,r,i,o){return M(Math.pow((q(n)-q(e))*i,2)+Math.pow((q(r)-q(t))*o,2))}function v(e){return console.warn(e)}function w(e){return "non-scaling-stroke"===e.getAttribute("vector-effect")}function z(){return String.fromCharCode.apply(null,arguments)}function F(e){if(!(e=x(e)[0]))return 0;var t,n,r,i,o,a,f,d=e.tagName.toLowerCase(),l=e.style,h=1,c=1;w(e)&&(c=e.getScreenCTM(),h=M(c.a*c.a+c.b*c.b),c=M(c.d*c.d+c.c*c.c));try{n=e.getBBox();}catch(e){v("Some browsers won't measure invisible elements (like display:none or masks inside defs).");}var g=n||{x:0,y:0,width:0,height:0},z=g.x,y=g.y,_=g.width,m=g.height;if(n&&(_||m)||!P[d]||(_=s(e,P[d][0]),m=s(e,P[d][1]),"rect"!==d&&"line"!==d&&(_*=2,m*=2),"line"===d&&(z=s(e,"x1"),y=s(e,"y1"),_=Math.abs(_-z),m=Math.abs(m-y))),"path"===d)i=l.strokeDasharray,l.strokeDasharray="none",t=e.getTotalLength()||0,p(h)!==p(c)&&!k&&(k=1)&&v("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),t*=(h+c)/2,l.strokeDasharray=i;else if("rect"===d)t=2*_*h+2*m*c;else if("line"===d)t=u(z,y,z+_,y+m,h,c);else if("polyline"===d||"polygon"===d)for(r=e.getAttribute("points").match(b)||[],"polygon"===d&&r.push(r[0],r[1]),t=0,o=2;o<r.length;o+=2)t+=u(r[o-2],r[o-1],r[o],r[o+1],h,c)||0;else "circle"!==d&&"ellipse"!==d||(a=_/2*h,f=m/2*c,t=Math.PI*(3*(a+f)-M((3*a+f)*(a+3*f))));return t||0}function G(e,t){if(!(e=x(e)[0]))return [0,0];t=t||F(e)+1;var n=f.getComputedStyle(e),r=n.strokeDasharray||"",i=q(n.strokeDashoffset),o=r.indexOf(",");return o<0&&(o=r.indexOf(" ")),t<(r=o<0?t:q(r.substr(0,o)))&&(r=t),[-i||0,r-i||0]}function H(){l()&&(f=window,h=o=m(),x=o.utils.toArray,c=o.core.getStyleSaver,g=o.core.reverting||function(){},d=-1!==((f.navigator||{}).userAgent||"").indexOf("Edge"));}var o,x,f,d,h,k,c,g,b=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,P={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},M=Math.sqrt,a="DrawSVGPlugin",y=z(103,114,101,101,110,115,111,99,107,46,99,111,109),_=z(103,115,97,112,46,99,111,109),S=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,O=function(e){var t="undefined"!=typeof window,n=0===(t?window.location.href:"").indexOf(z(102,105,108,101,58,47,47))||-1!==e.indexOf(z(108,111,99,97,108,104,111,115,116))||S.test(e)||(t?window.location.hostname:"").split(".").pop()===z(108,111,99,97,108),r=[y,_,z(99,111,100,101,112,101,110,46,105,111),z(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),z(99,111,100,101,112,101,110,46,100,101,118),z(99,111,100,101,112,101,110,46,97,112,112),z(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),z(112,101,110,115,46,99,108,111,117,100),z(99,115,115,45,116,114,105,99,107,115,46,99,111,109),z(99,100,112,110,46,105,111),z(112,101,110,115,46,105,111),z(103,97,110,110,111,110,46,116,118),z(99,111,100,101,99,97,110,121,111,110,46,110,101,116),z(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),z(99,101,114,101,98,114,97,120,46,99,111,46,117,107),z(116,121,109,112,97,110,117,115,46,110,101,116),z(116,119,101,101,110,109,97,120,46,99,111,109),z(112,108,110,107,114,46,99,111),z(104,111,116,106,97,114,46,99,111,109),z(119,101,98,112,97,99,107,98,105,110,46,99,111,109),z(97,114,99,104,105,118,101,46,111,114,103),z(99,111,100,101,115,97,110,100,98,111,120,46,105,111),z(99,115,98,46,97,112,112),z(115,116,97,99,107,98,108,105,116,122,46,99,111,109),z(115,116,97,99,107,98,108,105,116,122,46,105,111),z(99,111,100,105,101,114,46,105,111),z(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),z(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),z(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),z(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),z(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),z(106,115,102,105,100,100,108,101,46,110,101,116)],i=r.length;for(setTimeout(function checkWarn(){if(t)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",checkWarn);else {document.removeEventListener("readystatechange",checkWarn);var e="object"==typeof o?o:t&&window.gsap;t&&window.console&&!window._gsapWarned&&"object"==typeof e
|
|
54010
|
+
!function(e,t){t(exports);}(DrawSVGPlugin,function(e){function l(){return "undefined"!=typeof window}function m(){return o||l()&&(o=window.gsap)&&o.registerPlugin&&o}function p(e){return Math.round(1e4*e)/1e4}function q(e){return parseFloat(e)||0}function r(e,t){var n=q(e);return ~e.indexOf("%")?n/100*t:n}function s(e,t){return q(e.getAttribute(t))}function u(e,t,n,r,i,o){return M(Math.pow((q(n)-q(e))*i,2)+Math.pow((q(r)-q(t))*o,2))}function v(e){return console.warn(e)}function w(e){return "non-scaling-stroke"===e.getAttribute("vector-effect")}function z(){return String.fromCharCode.apply(null,arguments)}function F(e){if(!(e=x(e)[0]))return 0;var t,n,r,i,o,a,f,d=e.tagName.toLowerCase(),l=e.style,h=1,c=1;w(e)&&(c=e.getScreenCTM(),h=M(c.a*c.a+c.b*c.b),c=M(c.d*c.d+c.c*c.c));try{n=e.getBBox();}catch(e){v("Some browsers won't measure invisible elements (like display:none or masks inside defs).");}var g=n||{x:0,y:0,width:0,height:0},z=g.x,y=g.y,_=g.width,m=g.height;if(n&&(_||m)||!P[d]||(_=s(e,P[d][0]),m=s(e,P[d][1]),"rect"!==d&&"line"!==d&&(_*=2,m*=2),"line"===d&&(z=s(e,"x1"),y=s(e,"y1"),_=Math.abs(_-z),m=Math.abs(m-y))),"path"===d)i=l.strokeDasharray,l.strokeDasharray="none",t=e.getTotalLength()||0,p(h)!==p(c)&&!k&&(k=1)&&v("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),t*=(h+c)/2,l.strokeDasharray=i;else if("rect"===d)t=2*_*h+2*m*c;else if("line"===d)t=u(z,y,z+_,y+m,h,c);else if("polyline"===d||"polygon"===d)for(r=e.getAttribute("points").match(b)||[],"polygon"===d&&r.push(r[0],r[1]),t=0,o=2;o<r.length;o+=2)t+=u(r[o-2],r[o-1],r[o],r[o+1],h,c)||0;else "circle"!==d&&"ellipse"!==d||(a=_/2*h,f=m/2*c,t=Math.PI*(3*(a+f)-M((3*a+f)*(a+3*f))));return t||0}function G(e,t){if(!(e=x(e)[0]))return [0,0];t=t||F(e)+1;var n=f.getComputedStyle(e),r=n.strokeDasharray||"",i=q(n.strokeDashoffset),o=r.indexOf(",");return o<0&&(o=r.indexOf(" ")),t<(r=o<0?t:q(r.substr(0,o)))&&(r=t),[-i||0,r-i||0]}function H(){l()&&(f=window,h=o=m(),x=o.utils.toArray,c=o.core.getStyleSaver,g=o.core.reverting||function(){},d=-1!==((f.navigator||{}).userAgent||"").indexOf("Edge"));}var o,x,f,d,h,k,c,g,b=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,P={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},M=Math.sqrt,a="DrawSVGPlugin",y=z(103,114,101,101,110,115,111,99,107,46,99,111,109),_=z(103,115,97,112,46,99,111,109),S=/^(?:[0-9]{1,3}\.){3}[0-9]{1,3}:?\d*$/,O=function(e){var t="undefined"!=typeof window,n=0===(t?window.location.href:"").indexOf(z(102,105,108,101,58,47,47))||-1!==e.indexOf(z(108,111,99,97,108,104,111,115,116))||S.test(e)||(t?window.location.hostname:"").split(".").pop()===z(108,111,99,97,108),r=[y,_,z(99,111,100,101,112,101,110,46,105,111),z(99,111,100,101,112,101,110,46,112,108,117,109,98,105,110,103),z(99,111,100,101,112,101,110,46,100,101,118),z(99,111,100,101,112,101,110,46,97,112,112),z(99,111,100,101,112,101,110,46,119,101,98,115,105,116,101),z(112,101,110,115,46,99,108,111,117,100),z(99,115,115,45,116,114,105,99,107,115,46,99,111,109),z(99,100,112,110,46,105,111),z(112,101,110,115,46,105,111),z(103,97,110,110,111,110,46,116,118),z(99,111,100,101,99,97,110,121,111,110,46,110,101,116),z(116,104,101,109,101,102,111,114,101,115,116,46,110,101,116),z(99,101,114,101,98,114,97,120,46,99,111,46,117,107),z(116,121,109,112,97,110,117,115,46,110,101,116),z(116,119,101,101,110,109,97,120,46,99,111,109),z(112,108,110,107,114,46,99,111),z(104,111,116,106,97,114,46,99,111,109),z(119,101,98,112,97,99,107,98,105,110,46,99,111,109),z(97,114,99,104,105,118,101,46,111,114,103),z(99,111,100,101,115,97,110,100,98,111,120,46,105,111),z(99,115,98,46,97,112,112),z(115,116,97,99,107,98,108,105,116,122,46,99,111,109),z(115,116,97,99,107,98,108,105,116,122,46,105,111),z(99,111,100,105,101,114,46,105,111),z(109,111,116,105,111,110,116,114,105,99,107,115,46,99,111,109),z(115,116,97,99,107,111,118,101,114,102,108,111,119,46,99,111,109),z(115,116,97,99,107,101,120,99,104,97,110,103,101,46,99,111,109),z(115,116,117,100,105,111,102,114,101,105,103,104,116,46,99,111,109),z(119,101,98,99,111,110,116,97,105,110,101,114,46,105,111),z(106,115,102,105,100,100,108,101,46,110,101,116)],i=r.length;for(setTimeout(function checkWarn(){if(t)if("loading"===document.readyState||"interactive"===document.readyState)document.addEventListener("readystatechange",checkWarn);else {document.removeEventListener("readystatechange",checkWarn);var e="object"==typeof o?o:t&&window.gsap;t&&window.console&&!window._gsapWarned&&"object"==typeof e&&false!==e.config().trialWarn&&(console.log(z(37,99,87,97,114,110,105,110,103),z(102,111,110,116,45,115,105,122,101,58,51,48,112,120,59,99,111,108,111,114,58,114,101,100,59)),console.log(z(65,32,116,114,105,97,108,32,118,101,114,115,105,111,110,32,111,102,32)+a+z(32,105,115,32,108,111,97,100,101,100,32,116,104,97,116,32,111,110,108,121,32,119,111,114,107,115,32,108,111,99,97,108,108,121,32,97,110,100,32,111,110,32,100,111,109,97,105,110,115,32,108,105,107,101,32,99,111,100,101,112,101,110,46,105,111,32,97,110,100,32,99,111,100,101,115,97,110,100,98,111,120,46,105,111,46,32,42,42,42,32,68,79,32,78,79,84,32,68,69,80,76,79,89,32,84,72,73,83,32,70,73,76,69,32,42,42,42,32,76,111,97,100,105,110,103,32,105,116,32,111,110,32,97,110,32,117,110,97,117,116,104,111,114,105,122,101,100,32,115,105,116,101,32,118,105,111,108,97,116,101,115,32,116,104,101,32,108,105,99,101,110,115,101,32,97,110,100,32,119,105,108,108,32,99,97,117,115,101,32,97,32,114,101,100,105,114,101,99,116,46,32,80,108,101,97,115,101,32,106,111,105,110,32,67,108,117,98,32,71,114,101,101,110,83,111,99,107,32,116,111,32,103,101,116,32,102,117,108,108,32,97,99,99,101,115,115,32,116,111,32,116,104,101,32,98,111,110,117,115,32,112,108,117,103,105,110,115,32,116,104,97,116,32,98,111,111,115,116,32,121,111,117,114,32,97,110,105,109,97,116,105,111,110,32,115,117,112,101,114,112,111,119,101,114,115,46,32,68,105,115,97,98,108,101,32,116,104,105,115,32,119,97,114,110,105,110,103,32,119,105,116,104,32,103,115,97,112,46,99,111,110,102,105,103,40,123,116,114,105,97,108,87,97,114,110,58,32,102,97,108,115,101,125,41,59)),console.log(z(37,99,71,101,116,32,117,110,114,101,115,116,114,105,99,116,101,100,32,102,105,108,101,115,32,97,116,32,104,116,116,112,115,58,47,47,103,114,101,101,110,115,111,99,107,46,99,111,109,47,99,108,117,98),z(102,111,110,116,45,115,105,122,101,58,49,54,112,120,59,99,111,108,111,114,58,35,52,101,57,56,49,53)),window._gsapWarned=1);}},50);-1<--i;)if(-1!==e.indexOf(r[i]))return true;return n||!setTimeout(function(){t&&(window.location.href=z(104,116,116,112,115,58,47,47)+y+z(47,114,101,113,117,105,114,101,115,45,109,101,109,98,101,114,115,104,105,112,47)+"?plugin="+a+"&source=trial");},4e3)}("undefined"!=typeof window?window.location.host:""),t={version:"3.12.5",name:"drawSVG",register:function register(e){o=e,H();},init:function init(e,t,n){if(!e.getBBox)return false;h||H();var i,o,s,a=F(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",o=function _parse(e,t,n){var i,o,s=e.indexOf(" ");return o=s<0?(i=undefined!==n?n+"":e,e):(i=e.substr(0,s),e.substr(s+1)),i=r(i,t),(o=r(o,t))<i?[o,i]:[i,o]}(t,a,(i=G(e,a))[0]),this._length=p(a),this._dash=p(i[1]-i[0]),this._offset=p(-i[0]),this._dashPT=this.add(this,"_dash",this._dash,p(o[1]-o[0]),0,0,0,0,0,1),this._offsetPT=this.add(this,"_offset",this._offset,p(-o[0]),0,0,0,0,0,1),d&&(s=f.getComputedStyle(e)).strokeLinecap!==s.strokeLinejoin&&(o=q(s.strokeMiterlimit),this.add(e.style,"strokeMiterlimit",o,o+.01)),this._live=w(e)||~(t+"").indexOf("live"),this._nowrap=~(t+"").indexOf("nowrap"),this._props.push("drawSVG"),O},render:function render(e,t){if(t.tween._time||!g()){var n,r,i,o,s=t._pt,a=t._style;if(s){for(t._live&&(n=F(t._target))!==t._length&&(r=n/t._length,t._length=n,t._offsetPT&&(t._offsetPT.s*=r,t._offsetPT.c*=r),t._dashPT?(t._dashPT.s*=r,t._dashPT.c*=r):t._dash*=r);s;)s.r(e,s.d),s=s._next;i=t._dash||e&&1!==e&&1e-4||0,n=t._length-i+.1,o=t._offset,i&&o&&i+Math.abs(o%t._length)>t._length-.2&&(o+=o<0?.1:-0.1)&&(n+=.1),a.strokeDashoffset=i?o:o+.001,a.strokeDasharray=n<.2?"none":i?i+"px,"+(t._nowrap?999999:n)+"px":"0px, 999999px";}}else t.styles.revert();},getLength:F,getPosition:G};m()&&o.registerPlugin(t),e.DrawSVGPlugin=t,e.default=t;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:true});} else {delete e.default;}});
|
|
54011
54011
|
} (DrawSVGPlugin$1, DrawSVGPlugin$1.exports));
|
|
54012
54012
|
return DrawSVGPlugin$1.exports;
|
|
54013
54013
|
}
|
|
@@ -54032,7 +54032,7 @@ function requireGsap () {
|
|
|
54032
54032
|
if (hasRequiredGsap) return gsap$1.exports;
|
|
54033
54033
|
hasRequiredGsap = 1;
|
|
54034
54034
|
(function (module, exports) {
|
|
54035
|
-
!function(t,e){e(exports);}(gsap,function(e){function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e;}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r(t){return "string"==typeof t}function s(t){return "function"==typeof t}function t(t){return "number"==typeof t}function u(t){return void 0===t}function v(t){return "object"==typeof t}function w(t){return !1!==t}function x(){return "undefined"!=typeof window}function y(t){return s(t)||r(t)}function P(t){return (i=yt(t,ot))&&ze}function Q(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")}function R(t,e){return !e&&console.warn(t)}function S(t,e){return t&&(ot[t]=e)&&i&&(i[t]=e)||ot}function T(){return 0}function ea(t){var e,r,i=t[0];if(v(i)||s(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=gt.length;r--&&!gt[r].targetTest(i););e=gt[r];}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Vt(t[r],e)))||t.splice(r,1);return t}function fa(t){return t._gsap||ea(Mt(t))[0]._gsap}function ga(t,e,r){return (r=t[e])&&s(r)?t[e]():u(r)&&t.getAttribute&&t.getAttribute(e)||r}function ha(t,e){return (t=t.split(",")).forEach(e)||t}function ia(t){return Math.round(1e5*t)/1e5||0}function ja(t){return Math.round(1e7*t)/1e7||0}function ka(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+i:"-"===r?t-i:"*"===r?t*i:t/i}function la(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r}function ma(){var t,e,r=dt.length,i=dt.slice(0);for(ct={},t=dt.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0)._lazy=0);}function na(t,e,r,i){dt.length&&!L&&ma(),t.render(e,r,L&&e<0&&(t._initted||t._startAt)),dt.length&&!L&&ma();}function oa(t){var e=parseFloat(t);return (e||0===e)&&(t+"").match(at).length<2?e:r(t)?t.trim():t}function pa(t){return t}function qa(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}function ta(t,e){for(var r in e)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(t[r]=v(e[r])?ta(t[r]||(t[r]={}),e[r]):e[r]);return t}function ua(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i}function va(t){var e=t.parent||I,r=t.keyframes?function _setKeyframeDefaults(i){return function(t,e){for(var r in e)r in t||"duration"===r&&i||"ease"===r||(t[r]=e[r]);}}(Z(t.keyframes)):qa;if(w(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t}function xa(t,e,r,i,n){var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e}function ya(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null;}function za(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0;}function Aa(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function Ca(t,e,r,i){return t._startAt&&(L?t._startAt.revert(ht):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))}function Ea(t){return t._repeat?Tt(t._tTime,t=t.duration()+t._rDelay)*t:0}function Ga(t,e){return (t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function Ha(t){return t._end=ja(t._start+(t._tDur/Math.abs(t._ts||t._rts||X)||0))}function Ia(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=ja(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ha(t),r._dirty||Aa(r,t)),t}function Ja(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ga(t.rawTime(),e),(!e._dur||Ot(0,e.totalDuration(),r)-e._tTime>X)&&e.render(r,!0)),Aa(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-X;}}function Ka(e,r,i,n){return r.parent&&za(r),r._start=ja((t(i)?i:i||e!==I?xt(e,i,r):e._time)+r._delay),r._end=ja(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),xa(e,r,"_first","_last",e._sort?"_start":0),bt(r)||(e._recent=r),n||Ja(e,r),e._ts<0&&Ia(e,e._tTime),e}function La(t,e){return (ot.ScrollTrigger||Q("scrollTrigger",e))&&ot.ScrollTrigger.create(e,t)}function Ma(t,e,r,i,n){return Qt(t,e,n),t._initted?!r&&t._pt&&!L&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==Rt.frame?(dt.push(t),t._lazy=[n,i],1):void 0:1}function Ra(t,e,r,i){var n=t._repeat,a=ja(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:ja(a*(n+1)+t._rDelay*n):a,0<s&&!i&&Ia(t,t._tTime=t._tDur*s),t.parent&&Ha(t),r||Aa(t.parent,t),t}function Sa(t){return t instanceof Xt?Aa(t):Ra(t,t._dur)}function Va(e,r,i){var n,a,s=t(r[1]),o=(s?2:1)+(e<2?0:1),u=r[o];if(s&&(u.duration=r[1]),u.parent=i,e){for(n=u,a=i;a&&!("immediateRender"in n);)n=a.vars.defaults||{},a=w(a.vars.inherit)&&a.parent;u.immediateRender=w(n.immediateRender),e<2?u.runBackwards=1:u.startAt=r[o-1];}return new $t(r[0],u,r[1+o])}function Wa(t,e){return t||0===t?e(t):e}function Ya(t,e){return r(t)&&(e=st.exec(t))?e[1]:""}function _a(t,e){return t&&v(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&v(t[0]))&&!t.nodeType&&t!==h}function cb(r){return r=Mt(r)[0]||R("Invalid scope")||{},function(t){var e=r.current||r.nativeElement||r;return Mt(t,e.querySelectorAll?e:e===r?R("Invalid scope")||a.createElement("div"):r)}}function db(t){return t.sort(function(){return .5-Math.random()})}function eb(t){if(s(t))return t;var p=v(t)?t:{each:t},_=jt(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},e=0<m&&m<1,T=isNaN(m)||e,b=p.axis,w=m,x=m;return r(m)?w=x={center:.5,edges:.5,end:1}[m]||0:!e&&T&&(w=m[0],x=m[1]),function(t,e,r){var i,n,a,s,o,u,h,l,f,d=(r||p).length,c=y[d];if(!c){if(!(f="auto"===p.grid?0:(p.grid||[1,U])[1])){for(h=-U;h<(h=r[f++].getBoundingClientRect().left)&&f<d;);f<d&&f--;}for(c=y[d]=[],i=T?Math.min(f,d)*w-.5:m%f,n=f===U?0:T?d*x/f-.5:m/f|0,l=U,u=h=0;u<d;u++)a=u%f-i,s=n-(u/f|0),c[u]=o=b?Math.abs("y"===b?s:a):K(a*a+s*s),h<o&&(h=o),o<l&&(l=o);"random"===m&&db(c),c.max=h-l,c.min=l,c.v=d=(parseFloat(p.amount)||parseFloat(p.each)*(d<f?d-1:b?"y"===b?d/f:f:Math.max(f,d/f))||0)*("edges"===m?-1:1),c.b=d<0?g-d:g,c.u=Ya(p.amount||p.each)||0,_=_&&d<0?Yt(_):_;}return d=(c[t]-c.min)/c.max||0,ja(c.b+(_?_(d):d)*c.v)+c.u}}function fb(i){var n=Math.pow(10,((i+"").split(".")[1]||"").length);return function(e){var r=ja(Math.round(parseFloat(e)/i)*i*n);return (r-r%1)/n+(t(e)?0:Ya(e))}}function gb(h,e){var l,f,r=Z(h);return !r&&v(h)&&(l=r=h.radius||U,h.values?(h=Mt(h.values),(f=!t(h[0]))&&(l*=l)):h=fb(h.increment)),Wa(e,r?s(h)?function(t){return f=h(t),Math.abs(f-t)<=l?f:t}:function(e){for(var r,i,n=parseFloat(f?e.x:e),a=parseFloat(f?e.y:0),s=U,o=0,u=h.length;u--;)(r=f?(r=h[u].x-n)*r+(i=h[u].y-a)*i:Math.abs(h[u]-n))<s&&(s=r,o=u);return o=!l||s<=l?h[o]:e,f||o===e||t(e)?o:o+Ya(e)}:fb(h))}function hb(t,e,r,i){return Wa(Z(t)?!e:!0===r?!!(r=0):!i,function(){return Z(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})}function lb(e,r,t){return Wa(t,function(t){return e[~~r(t)]})}function ob(t){for(var e,r,i,n,a=0,s="";~(e=t.indexOf("random(",a));)i=t.indexOf(")",e),n="["===t.charAt(e+7),r=t.substr(e+7,i-e-7).match(n?at:tt),s+=t.substr(a,e-a)+hb(n?r:+r[0],n?0:+r[1],+r[2]||1e-5),a=i+1;return s+t.substr(a,t.length-a)}function rb(t,e,r){var i,n,a,s=t.labels,o=U;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a}function tb(t){return za(t),t.scrollTrigger&&t.scrollTrigger.kill(!!L),t.progress()<1&&Ct(t,"onInterrupt"),t}function wb(t){if(t)if(t=!t.name&&t.default||t,x()||t.headless){var e=t.name,r=s(t),i=e&&!r&&t.init?function(){this._props=[];}:t,n={init:T,render:he,add:Wt,kill:ce,modifier:fe,rawVars:0},a={targetTest:0,get:0,getSetter:ne,aliases:{},register:0};if(Ft(),t!==i){if(pt[e])return;qa(i,qa(ua(t,n),a)),yt(i.prototype,yt(n,ua(t,a))),pt[i.prop=e]=i,t.targetTest&&(gt.push(i),ft[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin";}S(e,i),t.register&&t.register(ze,i,_e);}else At.push(t);}function zb(t,e,r){return (6*(t+=t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*St+.5|0}function Ab(e,r,i){var n,a,s,o,u,h,l,f,d,c,p=e?t(e)?[e>>16,e>>8&St,e&St]:0:zt.black;if(!p){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),zt[e])p=zt[e];else if("#"===e.charAt(0)){if(e.length<6&&(e="#"+(n=e.charAt(1))+n+(a=e.charAt(2))+a+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return [(p=parseInt(e.substr(1,6),16))>>16,p>>8&St,p&St,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&St,e&St];}else if("hsl"===e.substr(0,3))if(p=c=e.match(tt),r){if(~e.indexOf("="))return p=e.match(et),i&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,u=p[1]/100,n=2*(h=p[2]/100)-(a=h<=.5?h*(u+1):h+u-h*u),3<p.length&&(p[3]*=1),p[0]=zb(o+1/3,n,a),p[1]=zb(o,n,a),p[2]=zb(o-1/3,n,a);else p=e.match(tt)||zt.transparent;p=p.map(Number);}return r&&!c&&(n=p[0]/St,a=p[1]/St,s=p[2]/St,h=((l=Math.max(n,a,s))+(f=Math.min(n,a,s)))/2,l===f?o=u=0:(d=l-f,u=.5<h?d/(2-l-f):d/(l+f),o=l===n?(a-s)/d+(a<s?6:0):l===a?(s-n)/d+2:(n-a)/d+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*u+.5),p[2]=~~(100*h+.5)),i&&p.length<4&&(p[3]=1),p}function Bb(t){var r=[],i=[],n=-1;return t.split(Et).forEach(function(t){var e=t.match(rt)||[];r.push.apply(r,e),i.push(n+=e.length+1);}),r.c=i,r}function Cb(t,e,r){var i,n,a,s,o="",u=(t+o).match(Et),h=e?"hsla(":"rgba(",l=0;if(!u)return t;if(u=u.map(function(t){return (t=Ab(t,e,1))&&h+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),r&&(a=Bb(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(Et,"1").split(rt)).length-1;l<s;l++)o+=n[l]+(~i.indexOf(l)?u.shift()||h+"0,0,0,0)":(a.length?a:u.length?u:r).shift());if(!n)for(s=(n=t.split(Et)).length-1;l<s;l++)o+=n[l]+u[l];return o+n[s]}function Fb(t){var e,r=t.join(" ");if(Et.lastIndex=0,Et.test(r))return e=Dt.test(r),t[1]=Cb(t[1],e),t[0]=Cb(t[0],e,Bb(t[1])),!0}function Ob(t){var e=(t+"").split("("),r=Lt[e[0]];return r&&1<e.length&&r.config?r.config.apply(null,~t.indexOf("{")?[function _parseObjectInString(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(":"),s=a[0],o=1,u=a.length;o<u;o++)r=a[o],e=o!==u-1?r.lastIndexOf(","):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(Bt,"").trim():+i,s=r.substr(e+1).trim();return n}(e[1])]:function _valueInParentheses(t){var e=t.indexOf("(")+1,r=t.indexOf(")"),i=t.indexOf("(",e);return t.substring(e,~i&&i<r?t.indexOf(")",r+1):r)}(t).split(",").map(oa)):Lt._CE&&It.test(t)?Lt._CE("",t):r}function Qb(t,e){for(var r,i=t._first;i;)i instanceof Xt?Qb(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Qb(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next;}function Sb(t,e,r,i){void 0===r&&(r=function easeOut(t){return 1-e(1-t)}),void 0===i&&(i=function easeInOut(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,a={easeIn:e,easeOut:r,easeInOut:i};return ha(t,function(t){for(var e in Lt[t]=ot[t]=a,Lt[n=t.toLowerCase()]=r,a)Lt[n+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Lt[t+"."+e]=a[e];}),a}function Tb(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Ub(r,t,e){function Jm(t){return 1===t?1:i*Math.pow(2,-10*t)*H((t-a)*n)+1}var i=1<=t?t:1,n=(e||(r?.3:.45))/(t<1?t:1),a=n/N*(Math.asin(1/i)||0),s="out"===r?Jm:"in"===r?function(t){return 1-Jm(1-t)}:Tb(Jm);return n=N/n,s.config=function(t,e){return Ub(r,t,e)},s}function Vb(e,r){function Rm(t){return t?--t*t*((r+1)*t+r)+1:0}void 0===r&&(r=1.70158);var t="out"===e?Rm:"in"===e?function(t){return 1-Rm(1-t)}:Tb(Rm);return t.config=function(t){return Vb(e,t)},t}var F,L,l,I,h,n,a,i,o,f,d,c,p,_,m,g,b,O,k,M,C,A,z,E,D,B,Y,j,q={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},V={duration:.5,overwrite:!1,delay:0},U=1e8,X=1/U,N=2*Math.PI,G=N/4,W=0,K=Math.sqrt,J=Math.cos,H=Math.sin,$="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Z=Array.isArray,tt=/(?:-?\.?\d|\.)+/gi,et=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,rt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,it=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,nt=/[+-]=-?[.\d]+/,at=/[^,'"\[\]\s]+/gi,st=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ot={},ut={suppressEvents:!0,isStart:!0,kill:!1},ht={suppressEvents:!0,kill:!1},lt={suppressEvents:!0},ft={},dt=[],ct={},pt={},_t={},mt=30,gt=[],vt="",yt=function _merge(t,e){for(var r in e)t[r]=e[r];return t},Tt=function _animationCycle(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},bt=function _isFromOrFromStart(t){var e=t.data;return "isFromStart"===e||"isStart"===e},wt={_start:0,endTime:T,totalDuration:T},xt=function _parsePosition(t,e,i){var n,a,s,o=t.labels,u=t._recent||wt,h=t.duration()>=U?u.endTime(!1):t._dur;return r(e)&&(isNaN(e)||e in o)?(a=e.charAt(0),s="%"===e.substr(-1),n=e.indexOf("="),"<"===a||">"===a?(0<=n&&(e=e.replace(/=/,"")),("<"===a?u._start:u.endTime(0<=u._repeat))+(parseFloat(e.substr(1))||0)*(s?(n<0?u:i).totalDuration()/100:1)):n<0?(e in o||(o[e]=h),o[e]):(a=parseFloat(e.charAt(n-1)+e.substr(n+1)),s&&i&&(a=a/100*(Z(i)?i[0]:i).totalDuration()),1<n?_parsePosition(t,e.substr(0,n-1),i)+a:h+a)):null==e?h:+e},Ot=function _clamp(t,e,r){return r<t?t:e<r?e:r},kt=[].slice,Mt=function toArray(t,e,i){return l&&!e&&l.selector?l.selector(t):!r(t)||i||!n&&Ft()?Z(t)?function _flatten(t,e,i){return void 0===i&&(i=[]),t.forEach(function(t){return r(t)&&!e||_a(t,1)?i.push.apply(i,Mt(t)):i.push(t)})||i}(t,i):_a(t)?kt.call(t,0):t?[t]:[]:kt.call((e||a).querySelectorAll(t),0)},Pt=function mapRange(e,t,r,i,n){var a=t-e,s=i-r;return Wa(n,function(t){return r+((t-e)/a*s||0)})},Ct=function _callback(t,e,r){var i,n,a,s=t.vars,o=s[e],u=l,h=t._ctx;if(o)return i=s[e+"Params"],n=s.callbackScope||t,r&&dt.length&&ma(),h&&(l=h),a=i?o.apply(n,i):o.call(n),l=u,a},At=[],St=255,zt={aqua:[0,St,St],lime:[0,St,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,St],navy:[0,0,128],white:[St,St,St],olive:[128,128,0],yellow:[St,St,0],orange:[St,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[St,0,0],pink:[St,192,203],cyan:[0,St,St],transparent:[St,St,St,0]},Et=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in zt)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Dt=/hsl[a]?\(/,Rt=(k=Date.now,M=500,C=33,A=k(),z=A,D=E=1e3/240,g={time:0,frame:0,tick:function tick(){yl(!0);},deltaRatio:function deltaRatio(t){return b/(1e3/(t||60))},wake:function wake(){o&&(!n&&x()&&(h=n=window,a=h.document||{},ot.gsap=ze,(h.gsapVersions||(h.gsapVersions=[])).push(ze.version),P(i||h.GreenSockGlobals||!h.gsap&&h||{}),At.forEach(wb)),m="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,p&&g.sleep(),_=m||function(t){return setTimeout(t,D-1e3*g.time+1|0)},c=1,yl(2));},sleep:function sleep(){(m?cancelAnimationFrame:clearTimeout)(p),c=0,_=T;},lagSmoothing:function lagSmoothing(t,e){M=t||1/0,C=Math.min(e||33,M);},fps:function fps(t){E=1e3/(t||240),D=1e3*g.time+E;},add:function add(n,t,e){var a=t?function(t,e,r,i){n(t,e,r,i),g.remove(a);}:n;return g.remove(n),B[e?"unshift":"push"](a),Ft(),a},remove:function remove(t,e){~(e=B.indexOf(t))&&B.splice(e,1)&&e<=O&&O--;},_listeners:B=[]}),Ft=function _wake(){return !c&&Rt.wake()},Lt={},It=/^[\d.\-M][\d.\-,\s]/,Bt=/["']/g,Yt=function _invertEase(e){return function(t){return 1-e(1-t)}},jt=function _parseEase(t,e){return t&&(s(t)?t:Lt[t]||Ob(t))||e};function yl(t){var e,r,i,n,a=k()-z,s=!0===t;if((M<a||a<0)&&(A+=a-C),(0<(e=(i=(z+=a)-A)-D)||s)&&(n=++g.frame,b=i-1e3*g.time,g.time=i/=1e3,D+=e+(E<=e?4:E-e),r=1),s||(p=_(yl)),r)for(O=0;O<B.length;O++)B[O](i,b,n,t);}function gn(t){return t<j?Y*t*t:t<.7272727272727273?Y*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?Y*(t-=2.25/2.75)*t+.9375:Y*Math.pow(t-2.625/2.75,2)+.984375}ha("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;Sb(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2});}),Lt.Linear.easeNone=Lt.none=Lt.Linear.easeIn,Sb("Elastic",Ub("in"),Ub("out"),Ub()),Y=7.5625,j=1/2.75,Sb("Bounce",function(t){return 1-gn(1-t)},gn),Sb("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),Sb("Circ",function(t){return -(K(1-t*t)-1)}),Sb("Sine",function(t){return 1===t?1:1-J(t*G)}),Sb("Back",Vb("in"),Vb("out"),Vb()),Lt.SteppedEase=Lt.steps=ot.SteppedEase={config:function config(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return ((i*Ot(0,.99999999,t)|0)+n)*r}}},V.ease=Lt["quad.out"],ha("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return vt+=t+","+t+"Params,"});var qt,Vt=function GSCache(t,e){this.id=W++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:ga,this.set=e?e.getSetter:ne;},Ut=((qt=Animation.prototype).delay=function delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},qt.duration=function duration(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},qt.totalDuration=function totalDuration(t){return arguments.length?(this._dirty=0,Ra(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},qt.totalTime=function totalTime(t,e){if(Ft(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Ia(this,t),!r._dp||r.parent||Ja(r,this);r&&r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&Ka(this._dp,this,this._start-this._delay);}return (this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===X||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),na(this,t,e)),this},qt.time=function time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ea(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},qt.totalProgress=function totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):0<this.rawTime()?1:0},qt.progress=function progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ea(this),e):this.duration()?Math.min(1,this._time/this._dur):0<this.rawTime()?1:0},qt.iteration=function iteration(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Tt(this._tTime,r)+1:1},qt.timeScale=function timeScale(t,e){if(!arguments.length)return this._rts===-X?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ga(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-X?0:this._rts,this.totalTime(Ot(-Math.abs(this._delay),this._tDur,r),!1!==e),Ha(this),function _recacheAncestors(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},qt.paused=function paused(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ft(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==X&&(this._tTime-=X)))),this):this._ps},qt.startTime=function startTime(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return !e||!e._sort&&this.parent||Ka(e,this,t-this._delay),this}return this._start},qt.endTime=function endTime(t){return this._start+(w(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},qt.rawTime=function rawTime(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ga(e.rawTime(t),this):this._tTime:this._tTime},qt.revert=function revert(t){void 0===t&&(t=lt);var e=L;return L=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),L=e,this},qt.globalTime=function globalTime(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return !this.parent&&this._sat?this._sat.globalTime(t):r},qt.repeat=function repeat(t){return arguments.length?(this._repeat=t===1/0?-2:t,Sa(this)):-2===this._repeat?1/0:this._repeat},qt.repeatDelay=function repeatDelay(t){if(arguments.length){var e=this._time;return this._rDelay=t,Sa(this),e?this.time(e):this}return this._rDelay},qt.yoyo=function yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo},qt.seek=function seek(t,e){return this.totalTime(xt(this,t),w(e))},qt.restart=function restart(t,e){return this.play().totalTime(t?-this._delay:0,w(e))},qt.play=function play(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},qt.reverse=function reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},qt.pause=function pause(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},qt.resume=function resume(){return this.paused(!1)},qt.reversed=function reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-X:0)),this):this._rts<0},qt.invalidate=function invalidate(){return this._initted=this._act=0,this._zTime=-X,this},qt.isActive=function isActive(){var t,e=this.parent||this._dp,r=this._start;return !(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t<this.endTime(!0)-X))},qt.eventCallback=function eventCallback(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},qt.then=function then(t){var i=this;return new Promise(function(e){function Co(){var t=i.then;i.then=null,s(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t;}var r=s(t)?t:pa;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?Co():i._prom=Co;})},qt.kill=function kill(){tb(this);},Animation);function Animation(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Ra(this,+t.duration,1,1),this.data=t.data,l&&(this._ctx=l).data.push(this),c||Rt.wake();}qa(Ut.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-X,_prom:0,_ps:!1,_rts:1});var Xt=function(i){function Timeline(t,e){var r;return void 0===t&&(t={}),(r=i.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=w(t.sortChildren),I&&Ka(t.parent||I,_assertThisInitialized(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(!0),t.scrollTrigger&&La(_assertThisInitialized(r),t.scrollTrigger),r}_inheritsLoose(Timeline,i);var e=Timeline.prototype;return e.to=function to(t,e,r){return Va(0,arguments,this),this},e.from=function from(t,e,r){return Va(1,arguments,this),this},e.fromTo=function fromTo(t,e,r,i){return Va(2,arguments,this),this},e.set=function set(t,e,r){return e.duration=0,e.parent=this,va(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new $t(t,e,xt(this,r),1),this},e.call=function call(t,e,r){return Ka(this,$t.delayedCall(0,t,e),r)},e.staggerTo=function staggerTo(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new $t(t,r,xt(this,n)),this},e.staggerFrom=function staggerFrom(t,e,r,i,n,a,s){return r.runBackwards=1,va(r).immediateRender=w(r.immediateRender),this.staggerTo(t,e,r,i,n,a,s)},e.staggerFromTo=function staggerFromTo(t,e,r,i,n,a,s,o){return i.startAt=r,va(i).immediateRender=w(i.immediateRender),this.staggerTo(t,e,i,n,a,s,o)},e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:ja(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==I&&m<v&&0<=t&&(v=m),v!==this._tTime||r||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),i=v,f=this._start,u=!(l=this._ts),y&&(g||(_=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(c=this._yoyo,o=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=ja(v%o),v===m?(s=this._repeat,i=g):((s=~~(v/o))&&s===v/o&&(i=g,s--),g<i&&(i=g)),d=Tt(this._tTime,o),!_&&this._tTime&&d!==s&&this._tTime-d*o-this._dur<=0&&(d=s),c&&1&s&&(i=g-i,p=1),s!==d&&!this._lock){var T=c&&1&d,b=T===(c&&1&s);if(s<d&&(T=!T),_=T?0:v%g?g:v,this._lock=1,this.render(_||(p?0:ja(s*o)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&Ct(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1),_&&_!==this._time||u!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,m=this._tDur,b&&(this._lock=2,_=T?g:-1e-4,this.render(_,!0),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Qb(this,p);}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function _findNextPauseTween(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if("isPause"===i.data&&i._start>e)return i;i=i._next;}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start<e)return i;i=i._prev;}}(this,ja(_),ja(i)))&&(v-=i-(i=h._start)),this._tTime=v,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&i&&!e&&!s&&(Ct(this,"onStart"),this._tTime!==v))return this;if(_<=i&&0<=t)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=-X);break}}n=a;}else {n=this._last;for(var w=t<0?t:i;n;){if(a=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||L&&(n._initted||n._startAt)),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=w?-X:X);break}}n=a;}}if(h&&!e&&(this.pause(),h.render(_<=i?0:-X)._zTime=_<=i?1:-1,this._ts))return this._start=f,Ha(this),this.render(t,e,r);this._onUpdate&&!e&&Ct(this,"onUpdate",!0),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0<this._ts||!v&&this._ts<0)||za(this,1),e||t<0&&!_||!v&&!_&&m||(Ct(this,v===m&&0<=t?"onComplete":"onReverseComplete",!0),!this._prom||v<m&&0<this.timeScale()||this._prom())));}return this},e.add=function add(e,i){var n=this;if(t(i)||(i=xt(this,i,e)),!(e instanceof Ut)){if(Z(e))return e.forEach(function(t){return n.add(t,i)}),this;if(r(e))return this.addLabel(e,i);if(!s(e))return this;e=$t.delayedCall(0,e);}return this!==e?Ka(this,e,i):this},e.getChildren=function getChildren(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-U);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof $t?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(!0,e,r)))),a=a._next;return n},e.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function remove(t){return r(t)?this.removeLabel(t):s(t)?this.killTweensOf(t):(ya(this,t),t===this._recent&&(this._recent=this._last),Aa(this))},e.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ja(Rt.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function addLabel(t,e){return this.labels[t]=xt(this,e),this},e.removeLabel=function removeLabel(t){return delete this.labels[t],this},e.addPause=function addPause(t,e,r){var i=$t.delayedCall(0,e||T,r);return i.data="isPause",this._hasPause=1,Ka(this,i,xt(this,t))},e.removePause=function removePause(t){var e=this._first;for(t=xt(this,t);e;)e._start===t&&"isPause"===e.data&&za(e),e=e._next;},e.killTweensOf=function killTweensOf(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Nt!==i[n]&&i[n].kill(t,e);return this},e.getTweensOf=function getTweensOf(e,r){for(var i,n=[],a=Mt(e),s=this._first,o=t(r);s;)s instanceof $t?la(s._targets,a)&&(o?(!Nt||s._initted&&s._ts)&&s.globalTime(0)<=r&&s.globalTime(s.totalDuration())>r:!r||s.isActive())&&n.push(s):(i=s.getTweensOf(a,r)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function tweenTo(t,e){e=e||{};var r,i=this,n=xt(i,t),a=e.startAt,s=e.onStart,o=e.onStartParams,u=e.immediateRender,h=$t.to(i,qa({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(a&&"time"in a?a.time:i._time))/i.timeScale())||X,onStart:function onStart(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&"time"in a?a.time:i._time))/i.timeScale());h._dur!==t&&Ra(h,t,0,1).render(h._time,!0,!0),r=1;}s&&s.apply(h,o||[]);}},e));return u?h.render(0):h},e.tweenFromTo=function tweenFromTo(t,e,r){return this.tweenTo(e,qa({startAt:{time:xt(this,t)}},r))},e.recent=function recent(){return this._recent},e.nextLabel=function nextLabel(t){return void 0===t&&(t=this._time),rb(this,xt(this,t))},e.previousLabel=function previousLabel(t){return void 0===t&&(t=this._time),rb(this,xt(this,t),1)},e.currentLabel=function currentLabel(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+X)},e.shiftChildren=function shiftChildren(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,a=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return Aa(this)},e.invalidate=function invalidate(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return i.prototype.invalidate.call(this,t)},e.clear=function clear(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Aa(this)},e.totalDuration=function totalDuration(t){var e,r,i,n=0,a=this,s=a._last,o=U;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),o<(r=s._start)&&a._sort&&s._ts&&!a._lock?(a._lock=1,Ka(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=r/a._ts,a._time-=r,a._tTime-=r),a.shiftChildren(-r,!1,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;Ra(a,a===I&&a._time>n?a._time:n,1,1),a._dirty=0;}return a._tDur},Timeline.updateRoot=function updateRoot(t){if(I._ts&&(na(I,Ga(t,I)),f=Rt.frame),Rt.frame>=mt){mt+=q.autoSleep||120;var e=I._first;if((!e||!e._ts)&&q.autoSleep&&Rt._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Rt.sleep();}}},Timeline}(Ut);qa(Xt.prototype,{_lock:0,_hasPause:0,_forcing:0});function ac(t,e,i,n,a,o){var u,h,l,f;if(pt[t]&&!1!==(u=new pt[t]).init(a,u.rawVars?e[t]:function _processVars(t,e,i,n,a){if(s(t)&&(t=Kt(t,a,e,i,n)),!v(t)||t.style&&t.nodeType||Z(t)||$(t))return r(t)?Kt(t,a,e,i,n):t;var o,u={};for(o in t)u[o]=Kt(t[o],a,e,i,n);return u}(e[t],n,a,o,i),i,n,o)&&(i._pt=h=new _e(i._pt,a,t,0,1,u.render,u,0,u.priority),i!==d))for(l=i._ptLookup[i._targets.indexOf(a)],f=u._props.length;f--;)l[u._props[f]]=h;return u}function gc(t,r,e,i){var n,a,s=r.ease||i||"power1.inOut";if(Z(r))a=e[t]||(e[t]=[]),r.forEach(function(t,e){return a.push({t:e/(r.length-1)*100,v:t,e:s})});else for(n in r)a=e[n]||(e[n]=[]),"ease"===n||a.push({t:parseFloat(t),v:r[n],e:s});}var Nt,Gt,Wt=function _addPropTween(t,e,i,n,a,o,u,h,l,f){s(n)&&(n=n(a||0,t,o));var d,c=t[e],p="get"!==i?i:s(c)?l?t[e.indexOf("set")||!s(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():c,_=s(c)?l?re:te:Zt;if(r(n)&&(~n.indexOf("random(")&&(n=ob(n)),"="===n.charAt(1)&&(!(d=ka(p,n)+(Ya(p)||0))&&0!==d||(n=d))),!f||p!==n||Gt)return isNaN(p*n)||""===n?(c||e in t||Q(e,n),function _addComplexStringPropTween(t,e,r,i,n,a,s){var o,u,h,l,f,d,c,p,_=new _e(this._pt,t,e,0,1,ue,null,n),m=0,g=0;for(_.b=r,_.e=i,r+="",(c=~(i+="").indexOf("random("))&&(i=ob(i)),a&&(a(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(it)||[];o=it.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:"rgba("===f.substr(-5)&&(h=1),l!==u[g++]&&(d=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:f||1===g?f:",",s:d,c:"="===l.charAt(1)?ka(d,l)-d:parseFloat(l)-d,m:h&&h<4?Math.round:0},m=it.lastIndex);return _.c=m<i.length?i.substring(m,i.length):"",_.fp=s,(nt.test(i)||c)&&(_.e=0),this._pt=_}.call(this,t,e,p,n,_,h||q.stringFilter,l)):(d=new _e(this._pt,t,e,+p||0,n-(p||0),"boolean"==typeof c?se:ae,0,_),l&&(d.fp=l),u&&d.modifier(u,this,t),this._pt=d)},Qt=function _initTween(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,b=m.onUpdate,x=m.runBackwards,O=m.yoyoEase,k=m.keyframes,M=m.autoRevert,P=t._dur,C=t._startAt,A=t._targets,S=t.parent,z=S&&"nested"===S.data?S.vars.targets:A,E="auto"===t._overwrite&&!F,D=t.timeline;if(!D||k&&g||(g="none"),t._ease=jt(g,V.ease),t._yEase=O?Yt(jt(!0===O?g:O,V.ease)):0,O&&t._yoyo&&!t._repeat&&(O=t._yEase,t._yEase=t._ease,t._ease=O),t._from=!D&&!!m.runBackwards,!D||k&&!m.stagger){if(p=(l=A[0]?fa(A[0]).harness:0)&&m[l.prop],i=ua(m,ft),C&&(C._zTime<0&&C.progress(1),e<0&&x&&y&&!M?C.render(-1,!0):C.revert(x&&P?ht:ut),C._lazy=0),v){if(za(t._startAt=$t.set(A,qa({data:"isStart",overwrite:!1,parent:S,immediateRender:!0,lazy:!C&&w(T),startAt:null,delay:0,onUpdate:b&&function(){return Ct(t,"onUpdate")},stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(L||!y&&!M)&&t._startAt.revert(ht),y&&P&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(x&&P&&!C)if(e&&(y=!1),a=qa({overwrite:!1,data:"isFromStart",lazy:y&&!C&&w(T),immediateRender:y,stagger:0,parent:S},i),p&&(a[l.prop]=p),za(t._startAt=$t.set(A,a)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(L?t._startAt.revert(ht):t._startAt.render(-1,!0)),t._zTime=e,y){if(!e)return}else _initTween(t._startAt,X,X);for(t._pt=t._ptCache=0,T=P&&w(T)||T&&!P,n=0;n<A.length;n++){if(h=(o=A[n])._gsap||ea(A)[n]._gsap,t._ptLookup[n]=d={},ct[h.id]&&dt.length&&ma(),c=z===A?n:z.indexOf(o),l&&!1!==(f=new l).init(o,p||i,t,c,z)&&(t._pt=s=new _e(t._pt,o,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(t){d[t]=s;}),f.priority&&(u=1)),!l||p)for(a in i)pt[a]&&(f=ac(a,i,t,c,o,z))?f.priority&&(u=1):d[a]=s=Wt.call(t,o,a,"get",i[a],c,z,0,m.stringFilter);t._op&&t._op[n]&&t.kill(o,t._op[n]),E&&t._pt&&(Nt=t,I.killTweensOf(o,d,t.globalTime(e)),_=!t.parent,Nt=0),t._pt&&T&&(ct[h.id]=1);}u&&pe(t),t._onInit&&t._onInit(t);}t._onUpdate=b,t._initted=(!t._op||t._pt)&&!_,k&&e<=0&&D.render(U,!0,!0);},Kt=function _parseFuncOrString(t,e,i,n,a){return s(t)?t.call(e,i,n,a):r(t)&&~t.indexOf("random(")?ob(t):t},Jt=vt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Ht={};ha(Jt+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return Ht[t]=1});var $t=function(D){function Tween(e,r,i,n){var a;"number"==typeof r&&(i.duration=r,r=i,i=null);var s,o,u,h,l,f,d,c,p=(a=D.call(this,n?r:va(r))||this).vars,_=p.duration,m=p.delay,g=p.immediateRender,T=p.stagger,b=p.overwrite,x=p.keyframes,O=p.defaults,k=p.scrollTrigger,M=p.yoyoEase,P=r.parent||I,C=(Z(e)||$(e)?t(e[0]):"length"in r)?[e]:Mt(e);if(a._targets=C.length?ea(C):R("GSAP target "+e+" not found. https://gsap.com",!q.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=b,x||T||y(_)||y(m)){if(r=a.vars,(s=a.timeline=new Xt({data:"nested",defaults:O||{},targets:P&&"nested"===P.data?P.vars.targets:C})).kill(),s.parent=s._dp=_assertThisInitialized(a),s._start=0,T||y(_)||y(m)){if(h=C.length,d=T&&eb(T),v(T))for(l in T)~Jt.indexOf(l)&&((c=c||{})[l]=T[l]);for(o=0;o<h;o++)(u=ua(r,Ht)).stagger=0,M&&(u.yoyoEase=M),c&&yt(u,c),f=C[o],u.duration=+Kt(_,_assertThisInitialized(a),o,f,C),u.delay=(+Kt(m,_assertThisInitialized(a),o,f,C)||0)-a._delay,!T&&1===h&&u.delay&&(a._delay=m=u.delay,a._start+=m,u.delay=0),s.to(f,u,d?d(o,f,C):0),s._ease=Lt.none;s.duration()?_=m=0:a.timeline=0;}else if(x){va(qa(s.vars.defaults,{ease:"none"})),s._ease=jt(x.ease||r.ease||"none");var A,S,z,E=0;if(Z(x))x.forEach(function(t){return s.to(C,t,">")}),s.duration();else {for(l in u={},x)"ease"===l||"easeEach"===l||gc(l,x[l],u,x.easeEach);for(l in u)for(A=u[l].sort(function(t,e){return t.t-e.t}),o=E=0;o<A.length;o++)(z={ease:(S=A[o]).e,duration:(S.t-(o?A[o-1].t:0))/100*_})[l]=S.v,s.to(C,z,E),E+=z.duration;s.duration()<_&&s.to({},{duration:_-s.duration()});}}_||a.duration(_=s.duration());}else a.timeline=0;return !0!==b||F||(Nt=_assertThisInitialized(a),I.killTweensOf(C),Nt=0),Ka(P,_assertThisInitialized(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(g||!_&&!x&&a._start===ja(P._time)&&w(g)&&function _hasNoPausedAncestors(t){return !t||t._ts&&_hasNoPausedAncestors(t.parent)}(_assertThisInitialized(a))&&"nested"!==P.data)&&(a._tTime=-X,a.render(Math.max(0,-m)||0)),k&&La(_assertThisInitialized(a),k),a}_inheritsLoose(Tween,D);var e=Tween.prototype;return e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d=this._time,c=this._tDur,p=this._dur,_=t<0,m=c-X<t&&!_?c:t<X?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=_){if(i=m,l=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*s+t,e,r);if(i=ja(m%s),m===c?(a=this._repeat,i=p):((a=~~(m/s))&&a===ja(m/s)&&(i=p,a--),p<i&&(i=p)),(u=this._yoyo&&1&a)&&(f=this._yEase,i=p-i),o=Tt(this._tTime,s),i===d&&!r&&this._initted&&a===o)return this._tTime=m,this;a!==o&&(l&&this._yEase&&Qb(l,u),this.vars.repeatRefresh&&!u&&!this._lock&&this._time!==s&&this._initted&&(this._lock=r=1,this.render(ja(s*a),!0).invalidate()._lock=0));}if(!this._initted){if(Ma(this,_?t:i,r,e,m))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&a!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(f||this._ease)(i/p),this._from&&(this.ratio=h=1-h),i&&!d&&!e&&!a&&(Ct(this,"onStart"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;l&&l.render(t<0?t:l._dur*l._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Ca(this,t,0,r),Ct(this,"onUpdate")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&Ct(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Ca(this,t,0,!0),!t&&p||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||za(this,1),e||_&&!d||!(m||d||u)||(Ct(this,m===c?"onComplete":"onReverseComplete",!0),!this._prom||m<c&&0<this.timeScale()||this._prom()));}}else !function _renderZeroDurationTween(t,e,r,i){var n,a,s,o=t.ratio,u=e<0||!e&&(!t._start&&function _parentPlayheadIsBeforeStart(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||_parentPlayheadIsBeforeStart(e))}(t)&&(t._initted||!bt(t))||(t._ts<0||t._dp._ts<0)&&!bt(t))?0:1,h=t._rDelay,l=0;if(h&&t._repeat&&(l=Ot(0,t._tDur,e),a=Tt(l,h),t._yoyo&&1&a&&(u=1-u),a!==Tt(t._tTime,h)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||L||i||t._zTime===X||!e&&t._zTime){if(!t._initted&&Ma(t,e,i,r,l))return;for(s=t._zTime,t._zTime=e||(r?X:0),r=r||e&&!s,t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=l,n=t._pt;n;)n.r(u,n.d),n=n._next;e<0&&Ca(t,e,0,!0),t._onUpdate&&!r&&Ct(t,"onUpdate"),l&&t._repeat&&!r&&t.parent&&Ct(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&za(t,1),r||L||(Ct(t,u?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()));}else t._zTime||(t._zTime=e);}(this,t,e,r);return this},e.targets=function targets(){return this._targets},e.invalidate=function invalidate(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),D.prototype.invalidate.call(this,t)},e.resetTo=function resetTo(t,e,r,i,n){c||Rt.wake(),this._ts||this.play();var a,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Qt(this,s),a=this._ease(s/this._dur),function _updatePropTweens(t,e,r,i,n,a,s,o){var u,h,l,f,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((u=l[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Gt=1,t.vars[e]="+=0",Qt(t,s),Gt=0,o?R(e+" not eligible for reset"):1;d.push(u);}for(f=d.length;f--;)(u=(h=d[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+a*u.c:i,u.c=r-u.s,h.e&&(h.e=ia(r)+Ya(h.e)),h.b&&(h.b=u.s+Ya(h.b));}(this,t,e,r,i,a,s,n)?this.resetTo(t,e,r,i,1):(Ia(this,0),this.parent||xa(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function kill(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?tb(this):this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Nt&&!0!==Nt.vars.overwrite)._first||tb(this),this.parent&&i!==this.timeline.totalDuration()&&Ra(this,this._dur*this.timeline._tDur/i,0,1),this}var n,a,s,o,u,h,l,f=this._targets,d=t?Mt(t):f,c=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function _arraysMatch(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,d))return "all"===e&&(this._pt=0),tb(this);for(n=this._op=this._op||[],"all"!==e&&(r(e)&&(u={},ha(e,function(t){return u[t]=1}),e=u),e=function _addAliasesToVars(t,e){var r,i,n,a,s=t[0]?fa(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=yt({},e),o)if(i in r)for(n=(a=o[i].split(",")).length;n--;)r[a[n]]=r[i];return r}(f,e)),l=f.length;l--;)if(~d.indexOf(f[l]))for(u in a=c[l],"all"===e?(n[l]=e,o=a,s={}):(s=n[l]=n[l]||{},o=e),o)(h=a&&a[u])&&("kill"in h.d&&!0!==h.d.kill(u)||ya(this,h,"_pt"),delete a[u]),"all"!==s&&(s[u]=1);return this._initted&&!this._pt&&p&&tb(this),this},Tween.to=function to(t,e,r){return new Tween(t,e,r)},Tween.from=function from(t,e){return Va(1,arguments)},Tween.delayedCall=function delayedCall(t,e,r,i){return new Tween(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},Tween.fromTo=function fromTo(t,e,r){return Va(2,arguments)},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e)},Tween.killTweensOf=function killTweensOf(t,e,r){return I.killTweensOf(t,e,r)},Tween}(Ut);qa($t.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ha("staggerTo,staggerFrom,staggerFromTo",function(r){$t[r]=function(){var t=new Xt,e=kt.call(arguments,0);return e.splice("staggerFromTo"===r?5:4,0,0),t[r].apply(t,e)};});function oc(t,e,r){return t.setAttribute(e,r)}function wc(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i);}var Zt=function _setterPlain(t,e,r){return t[e]=r},te=function _setterFunc(t,e,r){return t[e](r)},re=function _setterFuncWithParam(t,e,r,i){return t[e](i.fp,r)},ne=function _getSetter(t,e){return s(t[e])?te:u(t[e])&&t.setAttribute?oc:Zt},ae=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},se=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ue=function _renderComplexString(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else {for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c;}e.set(e.t,e.p,i,e);},he=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next;},fe=function _addPluginModifier(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n;},ce=function _killPropTweensOf(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?ya(this,i,"_pt"):i.dep||(e=1),i=r;return !e},pe=function _sortPropTweensByPriority(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e;}t._pt=i;},_e=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=wc,this.m=t,this.mt=r,this.tween=e;},PropTween);function PropTween(t,e,r,i,n,a,s,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||ae,this.d=s||this,this.set=o||Zt,this.pr=u||0,(this._next=t)&&(t._prev=this);}ha(vt+"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(t){return ft[t]=1}),ot.TweenMax=ot.TweenLite=$t,ot.TimelineLite=ot.TimelineMax=Xt,I=new Xt({sortChildren:!1,defaults:V,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),q.stringFilter=Fb;function Ec(t){return (ye[t]||Te).map(function(t){return t()})}function Fc(){var t=Date.now(),o=[];2<t-Oe&&(Ec("matchMediaInit"),ge.forEach(function(t){var e,r,i,n,a=t.queries,s=t.conditions;for(r in a)(e=h.matchMedia(a[r]).matches)&&(i=1),e!==s[r]&&(s[r]=e,n=1);n&&(t.revert(),i&&o.push(t));}),Ec("matchMediaRevert"),o.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Oe=t,Ec("matchMedia"));}var me,ge=[],ye={},Te=[],Oe=0,Me=0,Pe=((me=Context.prototype).add=function add(t,i,n){function Gw(){var t,e=l,r=a.selector;return e&&e!==a&&e.data.push(a),n&&(a.selector=cb(n)),l=a,t=i.apply(a,arguments),s(t)&&a._r.push(t),l=e,a.selector=r,a.isReverted=!1,t}s(t)&&(n=i,i=t,t=s);var a=this;return a.last=Gw,t===s?Gw(a,function(t){return a.add(null,t)}):t?a[t]=Gw:Gw},me.ignore=function ignore(t){var e=l;l=null,t(this),l=e;},me.getTweens=function getTweens(){var e=[];return this.data.forEach(function(t){return t instanceof Context?e.push.apply(e,t.getTweens()):t instanceof $t&&!(t.parent&&"nested"===t.parent.data)&&e.push(t)}),e},me.clear=function clear(){this._r.length=this.data.length=0;},me.kill=function kill(i,t){var n=this;if(i?function(){for(var t,e=n.getTweens(),r=n.data.length;r--;)"isFlip"===(t=n.data[r]).data&&(t.revert(),t.getChildren(!0,!0,!1).forEach(function(t){return e.splice(e.indexOf(t),1)}));for(e.map(function(t){return {g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(t){return t.t.revert(i)}),r=n.data.length;r--;)(t=n.data[r])instanceof Xt?"nested"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof $t||!t.revert||t.revert(i);n._r.forEach(function(t){return t(i,n)}),n.isReverted=!0;}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),t)for(var e=ge.length;e--;)ge[e].id===this.id&&ge.splice(e,1);},me.revert=function revert(t){this.kill(t||{});},Context);function Context(t,e){this.selector=e&&cb(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Me++,t&&this.add(t);}var Ce,Ae=((Ce=MatchMedia.prototype).add=function add(t,e,r){v(t)||(t={matches:t});var i,n,a,s=new Pe(0,r||this.scope),o=s.conditions={};for(n in l&&!s.selector&&(s.selector=l.selector),this.contexts.push(s),e=s.add("onMatch",e),s.queries=t)"all"===n?a=1:(i=h.matchMedia(t[n]))&&(ge.indexOf(s)<0&&ge.push(s),(o[n]=i.matches)&&(a=1),i.addListener?i.addListener(Fc):i.addEventListener("change",Fc));return a&&e(s,function(t){return s.add(null,t)}),this},Ce.revert=function revert(t){this.kill(t||{});},Ce.kill=function kill(e){this.contexts.forEach(function(t){return t.kill(e,!0)});},MatchMedia);function MatchMedia(t){this.contexts=[],this.scope=t,l&&l.data.push(this);}var Se={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return wb(t)});},timeline:function timeline(t){return new Xt(t)},getTweensOf:function getTweensOf(t,e){return I.getTweensOf(t,e)},getProperty:function getProperty(i,t,e,n){r(i)&&(i=Mt(i)[0]);var a=fa(i||{}).get,s=e?pa:oa;return "native"===e&&(e=""),i?t?s((pt[t]&&pt[t].get||a)(i,t,e,n)):function(t,e,r){return s((pt[t]&&pt[t].get||a)(i,t,e,r))}:i},quickSetter:function quickSetter(r,e,i){if(1<(r=Mt(r)).length){var n=r.map(function(t){return ze.quickSetter(t,e,i)}),a=n.length;return function(t){for(var e=a;e--;)n[e](t);}}r=r[0]||{};var s=pt[e],o=fa(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(t){var e=new s;d._pt=0,e.init(r,i?t+i:t,d,0,[r]),e.render(1,e),d._pt&&he(1,d);}:o.set(r,u);return s?h:function(t){return h(r,u,i?t+i:t,o,1)}},quickTo:function quickTo(t,i,e){function $x(t,e,r){return n.resetTo(i,t,e,r)}var r,n=ze.to(t,yt(((r={})[i]="+=0.1",r.paused=!0,r),e||{}));return $x.tween=n,$x},isTweening:function isTweening(t){return 0<I.getTweensOf(t,!0).length},defaults:function defaults(t){return t&&t.ease&&(t.ease=jt(t.ease,V.ease)),ta(V,t||{})},config:function config(t){return ta(q,t||{})},registerEffect:function registerEffect(t){var i=t.name,n=t.effect,e=t.plugins,a=t.defaults,r=t.extendTimeline;(e||"").split(",").forEach(function(t){return t&&!pt[t]&&!ot[t]&&R(i+" effect requires "+t+" plugin.")}),_t[i]=function(t,e,r){return n(Mt(t),qa(e||{},a),r)},r&&(Xt.prototype[i]=function(t,e,r){return this.add(_t[i](t,v(e)?e:(r=e)&&{},this),r)});},registerEase:function registerEase(t,e){Lt[t]=jt(e);},parseEase:function parseEase(t,e){return arguments.length?jt(t,e):Lt},getById:function getById(t){return I.getById(t)},exportRoot:function exportRoot(t,e){void 0===t&&(t={});var r,i,n=new Xt(t);for(n.smoothChildTiming=w(t.smoothChildTiming),I.remove(n),n._dp=0,n._time=n._tTime=I._time,r=I._first;r;)i=r._next,!e&&!r._dur&&r instanceof $t&&r.vars.onComplete===r._targets[0]||Ka(n,r,r._start-r._delay),r=i;return Ka(I,n,0),n},context:function context(t,e){return t?new Pe(t,e):l},matchMedia:function matchMedia(t){return new Ae(t)},matchMediaRefresh:function matchMediaRefresh(){return ge.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert();})||Fc()},addEventListener:function addEventListener(t,e){var r=ye[t]||(ye[t]=[]);~r.indexOf(e)||r.push(e);},removeEventListener:function removeEventListener(t,e){var r=ye[t],i=r&&r.indexOf(e);0<=i&&r.splice(i,1);},utils:{wrap:function wrap(e,t,r){var i=t-e;return Z(e)?lb(e,wrap(0,e.length),t):Wa(r,function(t){return (i+(t-e)%i)%i+e})},wrapYoyo:function wrapYoyo(e,t,r){var i=t-e,n=2*i;return Z(e)?lb(e,wrapYoyo(0,e.length-1),t):Wa(r,function(t){return e+(i<(t=(n+(t-e)%n)%n||0)?n-t:t)})},distribute:eb,random:hb,snap:gb,normalize:function normalize(t,e,r){return Pt(t,e,0,1,r)},getUnit:Ya,clamp:function clamp(e,r,t){return Wa(t,function(t){return Ot(e,r,t)})},splitColor:Ab,toArray:Mt,selector:cb,mapRange:Pt,pipe:function pipe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function unitize(e,r){return function(t){return e(parseFloat(t))+(r||Ya(t))}},interpolate:function interpolate(e,i,t,n){var a=isNaN(e+i)?0:function(t){return (1-t)*e+t*i};if(!a){var s,o,u,h,l,f=r(e),d={};if(!0===t&&(n=1)&&(t=null),f)e={p:e},i={p:i};else if(Z(e)&&!Z(i)){for(u=[],h=e.length,l=h-2,o=1;o<h;o++)u.push(interpolate(e[o-1],e[o]));h--,a=function func(t){t*=h;var e=Math.min(l,~~t);return u[e](t-e)},t=i;}else n||(e=yt(Z(e)?[]:{},e));if(!u){for(s in i)Wt.call(d,e,s,"get",i[s]);a=function func(t){return he(t,d)||(f?e.p:e)};}}return Wa(t,a)},shuffle:db},install:P,effects:_t,ticker:Rt,updateRoot:Xt.updateRoot,plugins:pt,globalTimeline:I,core:{PropTween:_e,globals:S,Tween:$t,Timeline:Xt,Animation:Ut,getCache:fa,_removeLinkedListItem:ya,reverting:function reverting(){return L},context:function context(t){return t&&l&&(l.data.push(t),t._ctx=l),l},suppressOverwrites:function suppressOverwrites(t){return F=t}}};ha("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Se[t]=$t[t]}),Rt.add(Xt.updateRoot),d=Se.to({},{duration:0});function Jc(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r}function Lc(t,a){return {name:t,rawVars:1,init:function init(t,n,e){e._onInit=function(t){var e,i;if(r(n)&&(e={},ha(n,function(t){return e[t]=1}),n=e),a){for(i in e={},n)e[i]=a(n[i]);n=e;}!function _addModifiers(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=Jc(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r));}(t,n);};}}}var ze=Se.registerPlugin({name:"attr",init:function init(t,e,r,i,n){var a,s,o;for(a in this.tween=r,e)o=t.getAttribute(a)||"",(s=this.add(t,"setAttribute",(o||0)+"",e[a],i,n,0,0,a)).op=a,s.b=o,this._props.push(a);},render:function render(t,e){for(var r=e._pt;r;)L?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next;}},{name:"endArray",init:function init(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1);}},Lc("roundProps",fb),Lc("modifiers"),Lc("snap",gb))||Se;$t.version=Xt.version=ze.version="3.12.5",o=1,x()&&Ft();function vd(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function wd(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function xd(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function yd(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-.5:.5))+e.u,e);}function zd(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Ad(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Bd(t,e,r){return t.style[e]=r}function Cd(t,e,r){return t.style.setProperty(e,r)}function Dd(t,e,r){return t._gsap[e]=r}function Ed(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function Fd(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a);}function Gd(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a);}function Jd(t,e){var r=this,i=this.target,n=i.style,a=i._gsap;if(t in ar&&n){if(this.tfm=this.tfm||{},"transform"===t)return dr.transform.split(",").forEach(function(t){return Jd.call(r,t,e)});if(~(t=dr[t]||t).indexOf(",")?t.split(",").forEach(function(t){return r.tfm[t]=yr(i,t)}):this.tfm[t]=a.x?a[t]:yr(i,t),t===pr&&(this.tfm.zOrigin=a.zOrigin),0<=this.props.indexOf(cr))return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(pr,e,"")),t=cr;}(n||e)&&this.props.push(t,e,n[t]);}function Kd(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"));}function Ld(){var t,e,r=this.props,i=this.target,n=i.style,a=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty("--"===r[t].substr(0,2)?r[t]:r[t].replace(hr,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)a[e]=this.tfm[e];a.svg&&(a.renderTransform(),i.setAttribute("data-svg-origin",this.svgo||"")),(t=Be())&&t.isStart||n[cr]||(Kd(n),a.zOrigin&&n[pr]&&(n[pr]+=" "+a.zOrigin+"px",a.zOrigin=0,a.renderTransform()),a.uncache=1);}}function Md(t,e){var r={target:t,props:[],revert:Ld,save:Jd};return t._gsap||ze.core.getCache(t),e&&e.split(",").forEach(function(t){return r.save(t)}),r}function Od(t,e){var r=De.createElementNS?De.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):De.createElement(t);return r&&r.style?r:De.createElement(t)}function Pd(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(hr,"-$1").toLowerCase())||i.getPropertyValue(e)||!r&&Pd(t,mr(e)||e,1)||""}function Sd(){(function _windowExists(){return "undefined"!=typeof window})()&&window.document&&(Ee=window,De=Ee.document,Re=De.documentElement,Le=Od("div")||{style:{}},Od("div"),cr=mr(cr),pr=cr+"Origin",Le.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ye=!!mr("perspective"),Be=ze.core.reverting,Fe=1);}function Td(t){var e,r=Od("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,n=this.nextSibling,a=this.style.cssText;if(Re.appendChild(r),r.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=Td;}catch(t){}else this._gsapBBox&&(e=this._gsapBBox());return i&&(n?i.insertBefore(this,n):i.appendChild(this)),Re.removeChild(r),this.style.cssText=a,e}function Ud(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])}function Vd(e){var r;try{r=e.getBBox();}catch(t){r=Td.call(e,!0);}return r&&(r.width||r.height)||e.getBBox===Td||(r=Td.call(e,!0)),!r||r.width||r.x||r.y?r:{x:+Ud(e,["x","cx","x1"])||0,y:+Ud(e,["y","cy","y1"])||0,width:0,height:0}}function Wd(t){return !(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Vd(t))}function Xd(t,e){if(e){var r,i=t.style;e in ar&&e!==pr&&(e=cr),i.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty("--"===r?e:e.replace(hr,"-$1").toLowerCase())):i.removeAttribute(e);}}function Yd(t,e,r,i,n,a){var s=new _e(t._pt,e,r,0,1,a?Ad:zd);return (t._pt=s).b=i,s.e=n,t._props.push(r),s}function _d(t,e,r,i){var n,a,s,o,u=parseFloat(r)||0,h=(r+"").trim().substr((u+"").length)||"px",l=Le.style,f=lr.test(e),d="svg"===t.tagName.toLowerCase(),c=(d?"client":"offset")+(f?"Width":"Height"),p="px"===i,_="%"===i;if(i===h||!u||gr[i]||gr[h])return u;if("px"===h||p||(u=_d(t,e,r,"px")),o=t.getCTM&&Wd(t),(_||"%"===h)&&(ar[e]||~e.indexOf("adius")))return n=o?t.getBBox()[f?"width":"height"]:t[c],ia(_?u/n*100:u/100*n);if(l[f?"width":"height"]=100+(p?h:i),a=~e.indexOf("adius")||"em"===i&&t.appendChild&&!d?t:t.parentNode,o&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==De&&a.appendChild||(a=De.body),(s=a._gsap)&&_&&s.width&&f&&s.time===Rt.time&&!s.uncache)return ia(u/s.width*100);if(!_||"height"!==e&&"width"!==e)!_&&"%"!==h||vr[Pd(a,"display")]||(l.position=Pd(t,"position")),a===t&&(l.position="static"),a.appendChild(Le),n=Le[c],a.removeChild(Le),l.position="absolute";else {var m=t.style[e];t.style[e]=100+i,n=t[c],m?t.style[e]=m:Xd(t,e);}return f&&_&&((s=fa(a)).time=Rt.time,s.width=a[c]),ia(p?n*u/100:n&&u?100/n*u:0)}function be(t,e,r,i){if(!r||"none"===r){var n=mr(e,t,1),a=n&&Pd(t,n,1);a&&a!==r?(e=n,r=a):"borderColor"===e&&(r=Pd(t,"borderTopColor"));}var s,o,u,h,l,f,d,c,p,_,m,g=new _e(this._pt,t.style,e,0,1,ue),v=0,y=0;if(g.b=r,g.e=i,r+="","auto"===(i+="")&&(f=t.style[e],t.style[e]=i,i=Pd(t,e)||i,f?t.style[e]=f:Xd(t,e)),Fb(s=[r,i]),i=s[1],u=(r=s[0]).match(rt)||[],(i.match(rt)||[]).length){for(;o=rt.exec(i);)d=o[0],p=i.substring(v,o.index),l?l=(l+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(l=1),d!==(f=u[y++]||"")&&(h=parseFloat(f)||0,m=f.substr((h+"").length),"="===d.charAt(1)&&(d=ka(h,d)+m),c=parseFloat(d),_=d.substr((c+"").length),v=rt.lastIndex-_.length,_||(_=_||q.units[e]||m,v===i.length&&(i+=_,g.e+=_)),m!==_&&(h=_d(t,e,f,_)||0),g._pt={_next:g._pt,p:p||1===y?p:",",s:h,c:c-h,m:l&&l<4||"zIndex"===e?Math.round:0});g.c=v<i.length?i.substring(v,i.length):"";}else g.r="display"===e&&"none"===i?Ad:zd;return nt.test(i)&&(g.e=0),this._pt=g}function de(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return "top"!==r&&"bottom"!==r&&"left"!==i&&"right"!==i||(t=r,r=i,i=t),e[0]=Tr[r]||r,e[1]=Tr[i]||i,e.join(" ")}function ee(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,u=a._gsap;if("all"===o||!0===o)s.cssText="",i=1;else for(n=(o=o.split(",")).length;-1<--n;)r=o[n],ar[r]&&(i=1,r="transformOrigin"===r?pr:cr),Xd(a,r);i&&(Xd(a,cr),u&&(u.svg&&a.removeAttribute("transform"),Or(a,1),u.uncache=1,Kd(s)));}}function ie(t){return "matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t}function je(t){var e=Pd(t,cr);return ie(e)?wr:e.substr(7).match(et).map(ia)}function ke(t,e){var r,i,n,a,s=t._gsap||fa(t),o=t.style,u=je(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?wr:u:(u!==wr||t.offsetParent||t===Re||s.svg||(n=o.display,o.display="block",(r=t.parentNode)&&t.offsetParent||(a=1,i=t.nextElementSibling,Re.appendChild(t)),u=je(t),n?o.display=n:Xd(t,"display"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):Re.removeChild(t))),e&&6<u.length?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)}function le(t,e,r,i,n,a){var s,o,u,h=t._gsap,l=n||ke(t,!0),f=h.xOrigin||0,d=h.yOrigin||0,c=h.xOffset||0,p=h.yOffset||0,_=l[0],m=l[1],g=l[2],v=l[3],y=l[4],T=l[5],b=e.split(" "),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0;r?l!==wr&&(o=_*v-m*g)&&(u=w*(-m/o)+x*(_/o)-(_*T-m*y)/o,w=w*(v/o)+x*(-g/o)+(g*T-v*y)/o,x=u):(w=(s=Vd(t)).x+(~b[0].indexOf("%")?w/100*s.width:w),x=s.y+(~(b[1]||b[0]).indexOf("%")?x/100*s.height:x)),i||!1!==i&&h.smooth?(y=w-f,T=x-d,h.xOffset=c+(y*_+T*g)-y,h.yOffset=p+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=x,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[pr]="0px 0px",a&&(Yd(a,h,"xOrigin",f,w),Yd(a,h,"yOrigin",d,x),Yd(a,h,"xOffset",c,h.xOffset),Yd(a,h,"yOffset",p,h.yOffset)),t.setAttribute("data-svg-origin",w+" "+x);}function oe(t,e,r){var i=Ya(e);return ia(parseFloat(e)+parseFloat(_d(t,"x",r+"px",i)))+i}function ve(t,e,i,n,a){var s,o,u=360,h=r(a),l=parseFloat(a)*(h&&~a.indexOf("rad")?sr:1)-n,f=n+l+"deg";return h&&("short"===(s=a.split("_")[1])&&(l%=u)!==l%180&&(l+=l<0?u:-u),"cw"===s&&l<0?l=(l+36e9)%u-~~(l/u)*u:"ccw"===s&&0<l&&(l=(l-36e9)%u-~~(l/u)*u)),t._pt=o=new _e(t._pt,e,i,n,l,wd),o.e=f,o.u="deg",t._props.push(i),o}function we(t,e){for(var r in e)t[r]=e[r];return t}function xe(t,e,r){var i,n,a,s,o,u,h,l=we({},r._gsap),f=r.style;for(n in l.svg?(a=r.getAttribute("transform"),r.setAttribute("transform",""),f[cr]=e,i=Or(r,1),Xd(r,cr),r.setAttribute("transform",a)):(a=getComputedStyle(r)[cr],f[cr]=e,i=Or(r,1),f[cr]=a),ar)(a=l[n])!==(s=i[n])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)<0&&(o=Ya(a)!==(h=Ya(s))?_d(r,n,a,h):parseFloat(a),u=parseFloat(s),t._pt=new _e(t._pt,i,n,o,u-o,vd),t._pt.u=h||0,t._props.push(n));we(i,l);}var Ee,De,Re,Fe,Le,Ie,Be,Ye,qe=Lt.Power0,Ve=Lt.Power1,Ue=Lt.Power2,Xe=Lt.Power3,Ne=Lt.Power4,Ge=Lt.Linear,We=Lt.Quad,Qe=Lt.Cubic,Ke=Lt.Quart,Je=Lt.Quint,He=Lt.Strong,$e=Lt.Elastic,Ze=Lt.Back,tr=Lt.SteppedEase,er=Lt.Bounce,rr=Lt.Sine,ir=Lt.Expo,nr=Lt.Circ,ar={},sr=180/Math.PI,or=Math.PI/180,ur=Math.atan2,hr=/([A-Z])/g,lr=/(left|right|width|margin|padding|x)/i,fr=/[\s,\(]\S/,dr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},cr="transform",pr=cr+"Origin",_r="O,Moz,ms,Ms,Webkit".split(","),mr=function _checkPropPrefix(t,e,r){var i=(e||Le).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(_r[n]+t in i););return n<0?null:(3===n?"ms":0<=n?_r[n]:"")+t},gr={deg:1,rad:1,turn:1},vr={grid:1,flex:1},yr=function _get(t,e,r,i){var n;return Fe||Sd(),e in dr&&"transform"!==e&&~(e=dr[e]).indexOf(",")&&(e=e.split(",")[0]),ar[e]&&"transform"!==e?(n=Or(t,i),n="transformOrigin"!==e?n[e]:n.svg?n.origin:kr(Pd(t,pr))+" "+n.zOrigin+"px"):(n=t.style[e])&&"auto"!==n&&!i&&!~(n+"").indexOf("calc(")||(n=br[e]&&br[e](t,e,r)||Pd(t,e)||ga(t,e)||("opacity"===e?1:0)),r&&!~(n+"").trim().indexOf(" ")?_d(t,e,n,r)+r:n},Tr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},br={clearProps:function clearProps(t,e,r,i,n){if("isFromStart"!==n.data){var a=t._pt=new _e(t._pt,e,r,0,0,ee);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1}}},wr=[1,0,0,1,0,0],xr={},Or=function _parseTransform(t,e){var r=t._gsap||new Vt(t);if("x"in r&&!e&&!r.uncache)return r;var i,n,a,s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x,O,k,M,P,C,A,S,z,E,D,R,F=t.style,L=r.scaleX<0,I="deg",B=getComputedStyle(t),Y=Pd(t,pr)||"0";return i=n=a=u=h=l=f=d=c=0,s=o=1,r.svg=!(!t.getCTM||!Wd(t)),B.translate&&("none"===B.translate&&"none"===B.scale&&"none"===B.rotate||(F[cr]=("none"!==B.translate?"translate3d("+(B.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==B.rotate?"rotate("+B.rotate+") ":"")+("none"!==B.scale?"scale("+B.scale.split(" ").join(",")+") ":"")+("none"!==B[cr]?B[cr]:"")),F.scale=F.rotate=F.translate="none"),m=ke(t,r.svg),r.svg&&(M=r.uncache?(P=t.getBBox(),Y=r.xOrigin-P.x+"px "+(r.yOrigin-P.y)+"px",""):!e&&t.getAttribute("data-svg-origin"),le(t,M||Y,!!M||r.originIsAbsolute,!1!==r.smooth,m)),p=r.xOrigin||0,_=r.yOrigin||0,m!==wr&&(T=m[0],b=m[1],w=m[2],x=m[3],i=O=m[4],n=k=m[5],6===m.length?(s=Math.sqrt(T*T+b*b),o=Math.sqrt(x*x+w*w),u=T||b?ur(b,T)*sr:0,(f=w||x?ur(w,x)*sr+u:0)&&(o*=Math.abs(Math.cos(f*or))),r.svg&&(i-=p-(p*T+_*w),n-=_-(p*b+_*x))):(R=m[6],E=m[7],A=m[8],S=m[9],z=m[10],D=m[11],i=m[12],n=m[13],a=m[14],h=(g=ur(R,z))*sr,g&&(M=O*(v=Math.cos(-g))+A*(y=Math.sin(-g)),P=k*v+S*y,C=R*v+z*y,A=O*-y+A*v,S=k*-y+S*v,z=R*-y+z*v,D=E*-y+D*v,O=M,k=P,R=C),l=(g=ur(-w,z))*sr,g&&(v=Math.cos(-g),D=x*(y=Math.sin(-g))+D*v,T=M=T*v-A*y,b=P=b*v-S*y,w=C=w*v-z*y),u=(g=ur(b,T))*sr,g&&(M=T*(v=Math.cos(g))+b*(y=Math.sin(g)),P=O*v+k*y,b=b*v-T*y,k=k*v-O*y,T=M,O=P),h&&359.9<Math.abs(h)+Math.abs(u)&&(h=u=0,l=180-l),s=ia(Math.sqrt(T*T+b*b+w*w)),o=ia(Math.sqrt(k*k+R*R)),g=ur(O,k),f=2e-4<Math.abs(g)?g*sr:0,c=D?1/(D<0?-D:D):0),r.svg&&(M=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!ie(Pd(t,cr)),M&&t.setAttribute("transform",M))),90<Math.abs(f)&&Math.abs(f)<270&&(L?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+"px",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+"px",r.z=a+"px",r.scaleX=ia(s),r.scaleY=ia(o),r.rotation=ia(u)+I,r.rotationX=ia(h)+I,r.rotationY=ia(l)+I,r.skewX=f+I,r.skewY=d+I,r.transformPerspective=c+"px",(r.zOrigin=parseFloat(Y.split(" ")[2])||!e&&r.zOrigin||0)&&(F[pr]=kr(Y)),r.xOffset=r.yOffset=0,r.force3D=q.force3D,r.renderTransform=r.svg?zr:Ye?Sr:Mr,r.uncache=0,r},kr=function _firstTwoOnly(t){return (t=t.split(" "))[0]+" "+t[1]},Mr=function _renderNon3DTransforms(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Sr(t,e);},Pr="0deg",Cr="0px",Ar=") ",Sr=function _renderCSSTransforms(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,u=r.rotation,h=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,c=r.scaleX,p=r.scaleY,_=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y="",T="auto"===m&&t&&1!==t||!0===m;if(v&&(l!==Pr||h!==Pr)){var b,w=parseFloat(h)*or,x=Math.sin(w),O=Math.cos(w);w=parseFloat(l)*or,b=Math.cos(w),a=oe(g,a,x*b*-v),s=oe(g,s,-Math.sin(w)*-v),o=oe(g,o,O*b*-v+v);}_!==Cr&&(y+="perspective("+_+Ar),(i||n)&&(y+="translate("+i+"%, "+n+"%) "),!T&&a===Cr&&s===Cr&&o===Cr||(y+=o!==Cr||T?"translate3d("+a+", "+s+", "+o+") ":"translate("+a+", "+s+Ar),u!==Pr&&(y+="rotate("+u+Ar),h!==Pr&&(y+="rotateY("+h+Ar),l!==Pr&&(y+="rotateX("+l+Ar),f===Pr&&d===Pr||(y+="skew("+f+", "+d+Ar),1===c&&1===p||(y+="scale("+c+", "+p+Ar),g.style[cr]=y||"translate(0, 0)";},zr=function _renderSVGTransforms(t,e){var r,i,n,a,s,o=e||this,u=o.xPercent,h=o.yPercent,l=o.x,f=o.y,d=o.rotation,c=o.skewX,p=o.skewY,_=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,b=o.yOffset,w=o.forceCSS,x=parseFloat(l),O=parseFloat(f);d=parseFloat(d),c=parseFloat(c),(p=parseFloat(p))&&(c+=p=parseFloat(p),d+=p),d||c?(d*=or,c*=or,r=Math.cos(d)*_,i=Math.sin(d)*_,n=Math.sin(d-c)*-m,a=Math.cos(d-c)*m,c&&(p*=or,s=Math.tan(c-p),n*=s=Math.sqrt(1+s*s),a*=s,p&&(s=Math.tan(p),r*=s=Math.sqrt(1+s*s),i*=s)),r=ia(r),i=ia(i),n=ia(n),a=ia(a)):(r=_,a=m,i=n=0),(x&&!~(l+"").indexOf("px")||O&&!~(f+"").indexOf("px"))&&(x=_d(g,"x",l,"px"),O=_d(g,"y",f,"px")),(v||y||T||b)&&(x=ia(x+v-(v*r+y*n)+T),O=ia(O+y-(v*i+y*a)+b)),(u||h)&&(s=g.getBBox(),x=ia(x+u/100*s.width),O=ia(O+h/100*s.height)),s="matrix("+r+","+i+","+n+","+a+","+x+","+O+")",g.setAttribute("transform",s),w&&(g.style[cr]=s);};ha("padding,margin,Width,Radius",function(e,r){var t="Right",i="Bottom",n="Left",o=(r<3?["Top",t,i,n]:["Top"+n,"Top"+t,i+t,i+n]).map(function(t){return r<2?e+t:"border"+t+e});br[1<r?"border"+e:e]=function(e,t,r,i,n){var a,s;if(arguments.length<4)return a=o.map(function(t){return yr(e,t,r)}),5===(s=a.join(" ")).split(a[0]).length?a[0]:s;a=(i+"").split(" "),s={},o.forEach(function(t,e){return s[t]=a[e]=a[e]||a[(e-1)/2|0]}),e.init(t,s,n);};});var Er,Dr,Rr,Fr={name:"css",register:Sd,targetTest:function targetTest(t){return t.style&&t.nodeType},init:function init(t,e,i,n,a){var s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w=this._props,x=t.style,O=i.vars.startAt;for(d in Fe||Sd(),this.styles=this.styles||Md(t),b=this.styles.props,this.tween=i,e)if("autoRound"!==d&&(o=e[d],!pt[d]||!ac(d,e,i,n,t,a)))if(l=typeof o,f=br[d],"function"===l&&(l=typeof(o=o.call(i,n,t,a))),"string"===l&&~o.indexOf("random(")&&(o=ob(o)),f)f(this,t,d,o,i)&&(T=1);else if("--"===d.substr(0,2))s=(getComputedStyle(t).getPropertyValue(d)+"").trim(),o+="",Et.lastIndex=0,Et.test(s)||(c=Ya(s),p=Ya(o)),p?c!==p&&(s=_d(t,d,s,p)+p):c&&(o+=c),this.add(x,"setProperty",s,o,n,a,0,0,d),w.push(d),b.push(d,0,x[d]);else if("undefined"!==l){if(O&&d in O?(s="function"==typeof O[d]?O[d].call(i,n,t,a):O[d],r(s)&&~s.indexOf("random(")&&(s=ob(s)),Ya(s+"")||"auto"===s||(s+=q.units[d]||Ya(yr(t,d))||""),"="===(s+"").charAt(1)&&(s=yr(t,d))):s=yr(t,d),h=parseFloat(s),(_="string"===l&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),u=parseFloat(o),d in dr&&("autoAlpha"===d&&(1===h&&"hidden"===yr(t,"visibility")&&u&&(h=0),b.push("visibility",0,x.visibility),Yd(this,x,"visibility",h?"inherit":"hidden",u?"inherit":"hidden",!u)),"scale"!==d&&"transform"!==d&&~(d=dr[d]).indexOf(",")&&(d=d.split(",")[0])),m=d in ar)if(this.styles.save(d),g||((v=t._gsap).renderTransform&&!e.parseTransform||Or(t,e.parseTransform),y=!1!==e.smoothOrigin&&v.smooth,(g=this._pt=new _e(this._pt,x,cr,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===d)this._pt=new _e(this._pt,v,"scaleY",v.scaleY,(_?ka(v.scaleY,_+u):u)-v.scaleY||0,vd),this._pt.u=0,w.push("scaleY",d),d+="X";else {if("transformOrigin"===d){b.push(pr,0,x[pr]),o=de(o),v.svg?le(t,o,0,y,0,this):((p=parseFloat(o.split(" ")[2])||0)!==v.zOrigin&&Yd(this,v,"zOrigin",v.zOrigin,p),Yd(this,x,d,kr(s),kr(o)));continue}if("svgOrigin"===d){le(t,o,1,y,0,this);continue}if(d in xr){ve(this,v,d,h,_?ka(h,_+o):o);continue}if("smoothOrigin"===d){Yd(this,v,"smooth",v.smooth,o);continue}if("force3D"===d){v[d]=o;continue}if("transform"===d){xe(this,o,t);continue}}else d in x||(d=mr(d)||d);if(m||(u||0===u)&&(h||0===h)&&!fr.test(o)&&d in x)u=u||0,(c=(s+"").substr((h+"").length))!==(p=Ya(o)||(d in q.units?q.units[d]:c))&&(h=_d(t,d,s,p)),this._pt=new _e(this._pt,m?v:x,d,h,(_?ka(h,_+u):u)-h,m||"px"!==p&&"zIndex"!==d||!1===e.autoRound?vd:yd),this._pt.u=p||0,c!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=xd);else if(d in x)be.call(this,t,d,s,_?_+o:o);else if(d in t)this.add(t,d,s||t[d],_?_+o:o,n,a);else if("parseTransform"!==d){Q(d,o);continue}m||(d in x?b.push(d,0,x[d]):b.push(d,1,s||t[d])),w.push(d);}T&&pe(this);},render:function render(t,e){if(e.tween._time||!Be())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert();},get:yr,aliases:dr,getSetter:function getSetter(t,e,r){var i=dr[e];return i&&i.indexOf(",")<0&&(e=i),e in ar&&e!==pr&&(t._gsap.x||yr(t,"x"))?r&&Ie===r?"scale"===e?Ed:Dd:(Ie=r||{})&&("scale"===e?Fd:Gd):t.style&&!u(t.style[e])?Bd:~e.indexOf("-")?Cd:ne(t,e)},core:{_removeProperty:Xd,_getMatrix:ke}};ze.utils.checkPrefix=mr,ze.core.getStyleSaver=Md,Rr=ha((Er="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(Dr="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){ar[t]=1;}),ha(Dr,function(t){q.units[t]="deg",xr[t]=1;}),dr[Rr[13]]=Er+","+Dr,ha("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");dr[e[1]]=Rr[e[0]];}),ha("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){q.units[t]="px";}),ze.registerPlugin(Fr);var Lr=ze.registerPlugin(Fr)||ze,Ir=Lr.core.Tween;e.Back=Ze,e.Bounce=er,e.CSSPlugin=Fr,e.Circ=nr,e.Cubic=Qe,e.Elastic=$e,e.Expo=ir,e.Linear=Ge,e.Power0=qe,e.Power1=Ve,e.Power2=Ue,e.Power3=Xe,e.Power4=Ne,e.Quad=We,e.Quart=Ke,e.Quint=Je,e.Sine=rr,e.SteppedEase=tr,e.Strong=He,e.TimelineLite=Xt,e.TimelineMax=Xt,e.TweenLite=$t,e.TweenMax=Ir,e.default=Lr,e.gsap=Lr;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0});} else {delete e.default;}});
|
|
54035
|
+
!function(t,e){e(exports);}(gsap,function(e){function _inheritsLoose(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e;}function _assertThisInitialized(t){if(undefined===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r(t){return "string"==typeof t}function s(t){return "function"==typeof t}function t(t){return "number"==typeof t}function u(t){return undefined===t}function v(t){return "object"==typeof t}function w(t){return false!==t}function x(){return "undefined"!=typeof window}function y(t){return s(t)||r(t)}function P(t){return (i=yt(t,ot))&&ze}function Q(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")}function R(t,e){return !e&&console.warn(t)}function S(t,e){return t&&(ot[t]=e)&&i&&(i[t]=e)||ot}function T(){return 0}function ea(t){var e,r,i=t[0];if(v(i)||s(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=gt.length;r--&&!gt[r].targetTest(i););e=gt[r];}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Vt(t[r],e)))||t.splice(r,1);return t}function fa(t){return t._gsap||ea(Mt(t))[0]._gsap}function ga(t,e,r){return (r=t[e])&&s(r)?t[e]():u(r)&&t.getAttribute&&t.getAttribute(e)||r}function ha(t,e){return (t=t.split(",")).forEach(e)||t}function ia(t){return Math.round(1e5*t)/1e5||0}function ja(t){return Math.round(1e7*t)/1e7||0}function ka(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+i:"-"===r?t-i:"*"===r?t*i:t/i}function la(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++i<r;);return i<r}function ma(){var t,e,r=dt.length,i=dt.slice(0);for(ct={},t=dt.length=0;t<r;t++)(e=i[t])&&e._lazy&&(e.render(e._lazy[0],e._lazy[1],true)._lazy=0);}function na(t,e,r,i){dt.length&&!L&&ma(),t.render(e,r,L&&e<0&&(t._initted||t._startAt)),dt.length&&!L&&ma();}function oa(t){var e=parseFloat(t);return (e||0===e)&&(t+"").match(at).length<2?e:r(t)?t.trim():t}function pa(t){return t}function qa(t,e){for(var r in e)r in t||(t[r]=e[r]);return t}function ta(t,e){for(var r in e)"__proto__"!==r&&"constructor"!==r&&"prototype"!==r&&(t[r]=v(e[r])?ta(t[r]||(t[r]={}),e[r]):e[r]);return t}function ua(t,e){var r,i={};for(r in t)r in e||(i[r]=t[r]);return i}function va(t){var e=t.parent||I,r=t.keyframes?function _setKeyframeDefaults(i){return function(t,e){for(var r in e)r in t||"duration"===r&&i||"ease"===r||(t[r]=e[r]);}}(Z(t.keyframes)):qa;if(w(t.inherit))for(;e;)r(t,e.vars.defaults),e=e.parent||e._dp;return t}function xa(t,e,r,i,n){var a,s=t[i];if(n)for(a=e[n];s&&s[n]>a;)s=s._prev;return s?(e._next=s._next,s._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=s,e.parent=e._dp=t,e}function ya(t,e,r,i){ undefined===r&&(r="_first"),undefined===i&&(i="_last");var n=e._prev,a=e._next;n?n._next=a:t[r]===e&&(t[r]=a),a?a._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null;}function za(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0;}function Aa(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t}function Ca(t,e,r,i){return t._startAt&&(L?t._startAt.revert(ht):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,true,i))}function Ea(t){return t._repeat?Tt(t._tTime,t=t.duration()+t._rDelay)*t:0}function Ga(t,e){return (t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur)}function Ha(t){return t._end=ja(t._start+(t._tDur/Math.abs(t._ts||t._rts||X)||0))}function Ia(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=ja(r._time-(0<t._ts?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ha(t),r._dirty||Aa(r,t)),t}function Ja(t,e){var r;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(r=Ga(t.rawTime(),e),(!e._dur||Ot(0,e.totalDuration(),r)-e._tTime>X)&&e.render(r,true)),Aa(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(r=t;r._dp;)0<=r.rawTime()&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8;}}function Ka(e,r,i,n){return r.parent&&za(r),r._start=ja((t(i)?i:i||e!==I?xt(e,i,r):e._time)+r._delay),r._end=ja(r._start+(r.totalDuration()/Math.abs(r.timeScale())||0)),xa(e,r,"_first","_last",e._sort?"_start":0),bt(r)||(e._recent=r),n||Ja(e,r),e._ts<0&&Ia(e,e._tTime),e}function La(t,e){return (ot.ScrollTrigger||Q("scrollTrigger",e))&&ot.ScrollTrigger.create(e,t)}function Ma(t,e,r,i,n){return Qt(t,e,n),t._initted?!r&&t._pt&&!L&&(t._dur&&false!==t.vars.lazy||!t._dur&&t.vars.lazy)&&f!==Rt.frame?(dt.push(t),t._lazy=[n,i],1):undefined:1}function Ra(t,e,r,i){var n=t._repeat,a=ja(e)||0,s=t._tTime/t._tDur;return s&&!i&&(t._time*=a/t._dur),t._dur=a,t._tDur=n?n<0?1e10:ja(a*(n+1)+t._rDelay*n):a,0<s&&!i&&Ia(t,t._tTime=t._tDur*s),t.parent&&Ha(t),r||Aa(t.parent,t),t}function Sa(t){return t instanceof Xt?Aa(t):Ra(t,t._dur)}function Va(e,r,i){var n,a,s=t(r[1]),o=(s?2:1)+(e<2?0:1),u=r[o];if(s&&(u.duration=r[1]),u.parent=i,e){for(n=u,a=i;a&&!("immediateRender"in n);)n=a.vars.defaults||{},a=w(a.vars.inherit)&&a.parent;u.immediateRender=w(n.immediateRender),e<2?u.runBackwards=1:u.startAt=r[o-1];}return new $t(r[0],u,r[1+o])}function Wa(t,e){return t||0===t?e(t):e}function Ya(t,e){return r(t)&&(e=st.exec(t))?e[1]:""}function _a(t,e){return t&&v(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&v(t[0]))&&!t.nodeType&&t!==h}function cb(r){return r=Mt(r)[0]||R("Invalid scope")||{},function(t){var e=r.current||r.nativeElement||r;return Mt(t,e.querySelectorAll?e:e===r?R("Invalid scope")||a.createElement("div"):r)}}function db(t){return t.sort(function(){return .5-Math.random()})}function eb(t){if(s(t))return t;var p=v(t)?t:{each:t},_=jt(p.ease),m=p.from||0,g=parseFloat(p.base)||0,y={},e=0<m&&m<1,T=isNaN(m)||e,b=p.axis,w=m,x=m;return r(m)?w=x={center:.5,edges:.5,end:1}[m]||0:!e&&T&&(w=m[0],x=m[1]),function(t,e,r){var i,n,a,s,o,u,h,l,f,d=(r||p).length,c=y[d];if(!c){if(!(f="auto"===p.grid?0:(p.grid||[1,U])[1])){for(h=-1e8;h<(h=r[f++].getBoundingClientRect().left)&&f<d;);f<d&&f--;}for(c=y[d]=[],i=T?Math.min(f,d)*w-.5:m%f,n=f===U?0:T?d*x/f-.5:m/f|0,l=U,u=h=0;u<d;u++)a=u%f-i,s=n-(u/f|0),c[u]=o=b?Math.abs("y"===b?s:a):K(a*a+s*s),h<o&&(h=o),o<l&&(l=o);"random"===m&&db(c),c.max=h-l,c.min=l,c.v=d=(parseFloat(p.amount)||parseFloat(p.each)*(d<f?d-1:b?"y"===b?d/f:f:Math.max(f,d/f))||0)*("edges"===m?-1:1),c.b=d<0?g-d:g,c.u=Ya(p.amount||p.each)||0,_=_&&d<0?Yt(_):_;}return d=(c[t]-c.min)/c.max||0,ja(c.b+(_?_(d):d)*c.v)+c.u}}function fb(i){var n=Math.pow(10,((i+"").split(".")[1]||"").length);return function(e){var r=ja(Math.round(parseFloat(e)/i)*i*n);return (r-r%1)/n+(t(e)?0:Ya(e))}}function gb(h,e){var l,f,r=Z(h);return !r&&v(h)&&(l=r=h.radius||U,h.values?(h=Mt(h.values),(f=!t(h[0]))&&(l*=l)):h=fb(h.increment)),Wa(e,r?s(h)?function(t){return f=h(t),Math.abs(f-t)<=l?f:t}:function(e){for(var r,i,n=parseFloat(f?e.x:e),a=parseFloat(f?e.y:0),s=U,o=0,u=h.length;u--;)(r=f?(r=h[u].x-n)*r+(i=h[u].y-a)*i:Math.abs(h[u]-n))<s&&(s=r,o=u);return o=!l||s<=l?h[o]:e,f||o===e||t(e)?o:o+Ya(e)}:fb(h))}function hb(t,e,r,i){return Wa(Z(t)?!e:true===r?!!(r=0):!i,function(){return Z(t)?t[~~(Math.random()*t.length)]:(r=r||1e-5)&&(i=r<1?Math.pow(10,(r+"").length-2):1)&&Math.floor(Math.round((t-r/2+Math.random()*(e-t+.99*r))/r)*r*i)/i})}function lb(e,r,t){return Wa(t,function(t){return e[~~r(t)]})}function ob(t){for(var e,r,i,n,a=0,s="";~(e=t.indexOf("random(",a));)i=t.indexOf(")",e),n="["===t.charAt(e+7),r=t.substr(e+7,i-e-7).match(n?at:tt),s+=t.substr(a,e-a)+hb(n?r:+r[0],n?0:+r[1],+r[2]||1e-5),a=i+1;return s+t.substr(a,t.length-a)}function rb(t,e,r){var i,n,a,s=t.labels,o=U;for(i in s)(n=s[i]-e)<0==!!r&&n&&o>(n=Math.abs(n))&&(a=i,o=n);return a}function tb(t){return za(t),t.scrollTrigger&&t.scrollTrigger.kill(!!L),t.progress()<1&&Ct(t,"onInterrupt"),t}function wb(t){if(t)if(t=!t.name&&t.default||t,x()||t.headless){var e=t.name,r=s(t),i=e&&!r&&t.init?function(){this._props=[];}:t,n={init:T,render:he,add:Wt,kill:ce,modifier:fe,rawVars:0},a={targetTest:0,get:0,getSetter:ne,aliases:{},register:0};if(Ft(),t!==i){if(pt[e])return;qa(i,qa(ua(t,n),a)),yt(i.prototype,yt(n,ua(t,a))),pt[i.prop=e]=i,t.targetTest&&(gt.push(i),ft[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin";}S(e,i),t.register&&t.register(ze,i,_e);}else At.push(t);}function zb(t,e,r){return (6*(t+=t<0?1:1<t?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*St+.5|0}function Ab(e,r,i){var n,a,s,o,u,h,l,f,d,c,p=e?t(e)?[e>>16,e>>8&St,e&St]:0:zt.black;if(!p){if(","===e.substr(-1)&&(e=e.substr(0,e.length-1)),zt[e])p=zt[e];else if("#"===e.charAt(0)){if(e.length<6&&(e="#"+(n=e.charAt(1))+n+(a=e.charAt(2))+a+(s=e.charAt(3))+s+(5===e.length?e.charAt(4)+e.charAt(4):"")),9===e.length)return [(p=parseInt(e.substr(1,6),16))>>16,p>>8&St,p&St,parseInt(e.substr(7),16)/255];p=[(e=parseInt(e.substr(1),16))>>16,e>>8&St,e&St];}else if("hsl"===e.substr(0,3))if(p=c=e.match(tt),r){if(~e.indexOf("="))return p=e.match(et),i&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,u=p[1]/100,n=2*(h=p[2]/100)-(a=h<=.5?h*(u+1):h+u-h*u),3<p.length&&(p[3]*=1),p[0]=zb(o+1/3,n,a),p[1]=zb(o,n,a),p[2]=zb(o-1/3,n,a);else p=e.match(tt)||zt.transparent;p=p.map(Number);}return r&&!c&&(n=p[0]/St,a=p[1]/St,s=p[2]/St,h=((l=Math.max(n,a,s))+(f=Math.min(n,a,s)))/2,l===f?o=u=0:(d=l-f,u=.5<h?d/(2-l-f):d/(l+f),o=l===n?(a-s)/d+(a<s?6:0):l===a?(s-n)/d+2:(n-a)/d+4,o*=60),p[0]=~~(o+.5),p[1]=~~(100*u+.5),p[2]=~~(100*h+.5)),i&&p.length<4&&(p[3]=1),p}function Bb(t){var r=[],i=[],n=-1;return t.split(Et).forEach(function(t){var e=t.match(rt)||[];r.push.apply(r,e),i.push(n+=e.length+1);}),r.c=i,r}function Cb(t,e,r){var i,n,a,s,o="",u=(t+o).match(Et),h=e?"hsla(":"rgba(",l=0;if(!u)return t;if(u=u.map(function(t){return (t=Ab(t,e,1))&&h+(e?t[0]+","+t[1]+"%,"+t[2]+"%,"+t[3]:t.join(","))+")"}),r&&(a=Bb(t),(i=r.c).join(o)!==a.c.join(o)))for(s=(n=t.replace(Et,"1").split(rt)).length-1;l<s;l++)o+=n[l]+(~i.indexOf(l)?u.shift()||h+"0,0,0,0)":(a.length?a:u.length?u:r).shift());if(!n)for(s=(n=t.split(Et)).length-1;l<s;l++)o+=n[l]+u[l];return o+n[s]}function Fb(t){var e,r=t.join(" ");if(Et.lastIndex=0,Et.test(r))return e=Dt.test(r),t[1]=Cb(t[1],e),t[0]=Cb(t[0],e,Bb(t[1])),true}function Ob(t){var e=(t+"").split("("),r=Lt[e[0]];return r&&1<e.length&&r.config?r.config.apply(null,~t.indexOf("{")?[function _parseObjectInString(t){for(var e,r,i,n={},a=t.substr(1,t.length-3).split(":"),s=a[0],o=1,u=a.length;o<u;o++)r=a[o],e=o!==u-1?r.lastIndexOf(","):r.length,i=r.substr(0,e),n[s]=isNaN(i)?i.replace(Bt,"").trim():+i,s=r.substr(e+1).trim();return n}(e[1])]:function _valueInParentheses(t){var e=t.indexOf("(")+1,r=t.indexOf(")"),i=t.indexOf("(",e);return t.substring(e,~i&&i<r?t.indexOf(")",r+1):r)}(t).split(",").map(oa)):Lt._CE&&It.test(t)?Lt._CE("",t):r}function Qb(t,e){for(var r,i=t._first;i;)i instanceof Xt?Qb(i,e):!i.vars.yoyoEase||i._yoyo&&i._repeat||i._yoyo===e||(i.timeline?Qb(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next;}function Sb(t,e,r,i){ undefined===r&&(r=function easeOut(t){return 1-e(1-t)}),undefined===i&&(i=function easeInOut(t){return t<.5?e(2*t)/2:1-e(2*(1-t))/2});var n,a={easeIn:e,easeOut:r,easeInOut:i};return ha(t,function(t){for(var e in Lt[t]=ot[t]=a,Lt[n=t.toLowerCase()]=r,a)Lt[n+("easeIn"===e?".in":"easeOut"===e?".out":".inOut")]=Lt[t+"."+e]=a[e];}),a}function Tb(e){return function(t){return t<.5?(1-e(1-2*t))/2:.5+e(2*(t-.5))/2}}function Ub(r,t,e){function Jm(t){return 1===t?1:i*Math.pow(2,-10*t)*H((t-a)*n)+1}var i=1<=t?t:1,n=(e||(r?.3:.45))/(t<1?t:1),a=n/N*(Math.asin(1/i)||0),s="out"===r?Jm:"in"===r?function(t){return 1-Jm(1-t)}:Tb(Jm);return n=N/n,s.config=function(t,e){return Ub(r,t,e)},s}function Vb(e,r){function Rm(t){return t?--t*t*((r+1)*t+r)+1:0} undefined===r&&(r=1.70158);var t="out"===e?Rm:"in"===e?function(t){return 1-Rm(1-t)}:Tb(Rm);return t.config=function(t){return Vb(e,t)},t}var F,L,l,I,h,n,a,i,o,f,d,c,p,_,m,g,b,O,k,M,C,A,z,E,D,B,Y,j,q={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},V={duration:.5,overwrite:false,delay:0},U=1e8,X=1/U,N=2*Math.PI,G=N/4,W=0,K=Math.sqrt,J=Math.cos,H=Math.sin,$="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Z=Array.isArray,tt=/(?:-?\.?\d|\.)+/gi,et=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,rt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,it=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,nt=/[+-]=-?[.\d]+/,at=/[^,'"\[\]\s]+/gi,st=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,ot={},ut={suppressEvents:true,isStart:true,kill:false},ht={suppressEvents:true,kill:false},lt={suppressEvents:true},ft={},dt=[],ct={},pt={},_t={},mt=30,gt=[],vt="",yt=function _merge(t,e){for(var r in e)t[r]=e[r];return t},Tt=function _animationCycle(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},bt=function _isFromOrFromStart(t){var e=t.data;return "isFromStart"===e||"isStart"===e},wt={_start:0,endTime:T,totalDuration:T},xt=function _parsePosition(t,e,i){var n,a,s,o=t.labels,u=t._recent||wt,h=t.duration()>=U?u.endTime(false):t._dur;return r(e)&&(isNaN(e)||e in o)?(a=e.charAt(0),s="%"===e.substr(-1),n=e.indexOf("="),"<"===a||">"===a?(0<=n&&(e=e.replace(/=/,"")),("<"===a?u._start:u.endTime(0<=u._repeat))+(parseFloat(e.substr(1))||0)*(s?(n<0?u:i).totalDuration()/100:1)):n<0?(e in o||(o[e]=h),o[e]):(a=parseFloat(e.charAt(n-1)+e.substr(n+1)),s&&i&&(a=a/100*(Z(i)?i[0]:i).totalDuration()),1<n?_parsePosition(t,e.substr(0,n-1),i)+a:h+a)):null==e?h:+e},Ot=function _clamp(t,e,r){return r<t?t:e<r?e:r},kt=[].slice,Mt=function toArray(t,e,i){return l&&!e&&l.selector?l.selector(t):!r(t)||i||!n&&Ft()?Z(t)?function _flatten(t,e,i){return undefined===i&&(i=[]),t.forEach(function(t){return r(t)&&!e||_a(t,1)?i.push.apply(i,Mt(t)):i.push(t)})||i}(t,i):_a(t)?kt.call(t,0):t?[t]:[]:kt.call((e||a).querySelectorAll(t),0)},Pt=function mapRange(e,t,r,i,n){var a=t-e,s=i-r;return Wa(n,function(t){return r+((t-e)/a*s||0)})},Ct=function _callback(t,e,r){var i,n,a,s=t.vars,o=s[e],u=l,h=t._ctx;if(o)return i=s[e+"Params"],n=s.callbackScope||t,r&&dt.length&&ma(),h&&(l=h),a=i?o.apply(n,i):o.call(n),l=u,a},At=[],St=255,zt={aqua:[0,St,St],lime:[0,St,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,St],navy:[0,0,128],white:[St,St,St],olive:[128,128,0],yellow:[St,St,0],orange:[St,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[St,0,0],pink:[St,192,203],cyan:[0,St,St],transparent:[St,St,St,0]},Et=function(){var t,e="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b";for(t in zt)e+="|"+t+"\\b";return new RegExp(e+")","gi")}(),Dt=/hsl[a]?\(/,Rt=(k=Date.now,M=500,C=33,A=k(),z=A,D=E=1e3/240,g={time:0,frame:0,tick:function tick(){yl(true);},deltaRatio:function deltaRatio(t){return b/(1e3/(t||60))},wake:function wake(){o&&(!n&&x()&&(h=n=window,a=h.document||{},ot.gsap=ze,(h.gsapVersions||(h.gsapVersions=[])).push(ze.version),P(i||h.GreenSockGlobals||!h.gsap&&h||{}),At.forEach(wb)),m="undefined"!=typeof requestAnimationFrame&&requestAnimationFrame,p&&g.sleep(),_=m||function(t){return setTimeout(t,D-1e3*g.time+1|0)},c=1,yl(2));},sleep:function sleep(){(m?cancelAnimationFrame:clearTimeout)(p),c=0,_=T;},lagSmoothing:function lagSmoothing(t,e){M=t||1/0,C=Math.min(e||33,M);},fps:function fps(t){E=1e3/(t||240),D=1e3*g.time+E;},add:function add(n,t,e){var a=t?function(t,e,r,i){n(t,e,r,i),g.remove(a);}:n;return g.remove(n),B[e?"unshift":"push"](a),Ft(),a},remove:function remove(t,e){~(e=B.indexOf(t))&&B.splice(e,1)&&e<=O&&O--;},_listeners:B=[]}),Ft=function _wake(){return !c&&Rt.wake()},Lt={},It=/^[\d.\-M][\d.\-,\s]/,Bt=/["']/g,Yt=function _invertEase(e){return function(t){return 1-e(1-t)}},jt=function _parseEase(t,e){return t&&(s(t)?t:Lt[t]||Ob(t))||e};function yl(t){var e,r,i,n,a=k()-z,s=true===t;if((M<a||a<0)&&(A+=a-C),(0<(e=(i=(z+=a)-A)-D)||s)&&(n=++g.frame,b=i-1e3*g.time,g.time=i/=1e3,D+=e+(E<=e?4:E-e),r=1),s||(p=_(yl)),r)for(O=0;O<B.length;O++)B[O](i,b,n,t);}function gn(t){return t<j?Y*t*t:t<.7272727272727273?Y*Math.pow(t-1.5/2.75,2)+.75:t<.9090909090909092?Y*(t-=2.25/2.75)*t+.9375:Y*Math.pow(t-2.625/2.75,2)+.984375}ha("Linear,Quad,Cubic,Quart,Quint,Strong",function(t,e){var r=e<5?e+1:e;Sb(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},function(t){return 1-Math.pow(1-t,r)},function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2});}),Lt.Linear.easeNone=Lt.none=Lt.Linear.easeIn,Sb("Elastic",Ub("in"),Ub("out"),Ub()),Y=7.5625,j=1/2.75,Sb("Bounce",function(t){return 1-gn(1-t)},gn),Sb("Expo",function(t){return t?Math.pow(2,10*(t-1)):0}),Sb("Circ",function(t){return -(K(1-t*t)-1)}),Sb("Sine",function(t){return 1===t?1:1-J(t*G)}),Sb("Back",Vb("in"),Vb("out"),Vb()),Lt.SteppedEase=Lt.steps=ot.SteppedEase={config:function config(t,e){ undefined===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return ((i*Ot(0,.99999999,t)|0)+n)*r}}},V.ease=Lt["quad.out"],ha("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(t){return vt+=t+","+t+"Params,"});var qt,Vt=function GSCache(t,e){this.id=W++,(t._gsap=this).target=t,this.harness=e,this.get=e?e.get:ga,this.set=e?e.getSetter:ne;},Ut=((qt=Animation.prototype).delay=function delay(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},qt.duration=function duration(t){return arguments.length?this.totalDuration(0<this._repeat?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},qt.totalDuration=function totalDuration(t){return arguments.length?(this._dirty=0,Ra(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},qt.totalTime=function totalTime(t,e){if(Ft(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Ia(this,t),!r._dp||r.parent||Ja(r,this);r&&r.parent;)r.parent._time!==r._start+(0<=r._ts?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,true),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(0<this._ts&&t<this._tDur||this._ts<0&&0<t||!this._tDur&&!t)&&Ka(this._dp,this,this._start-this._delay);}return (this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===X||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),na(this,t,e)),this},qt.time=function time(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Ea(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},qt.totalProgress=function totalProgress(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):0<this.rawTime()?1:0},qt.progress=function progress(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Ea(this),e):this.duration()?Math.min(1,this._time/this._dur):0<this.rawTime()?1:0},qt.iteration=function iteration(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?Tt(this._tTime,r)+1:1},qt.timeScale=function timeScale(t,e){if(!arguments.length)return this._rts===-1e-8?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Ga(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||t===-1e-8?0:this._rts,this.totalTime(Ot(-Math.abs(this._delay),this._tDur,r),false!==e),Ha(this),function _recacheAncestors(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},qt.paused=function paused(t){return arguments.length?(this._ps!==t&&((this._ps=t)?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ft(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==X&&(this._tTime-=X)))),this):this._ps},qt.startTime=function startTime(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return !e||!e._sort&&this.parent||Ka(e,this,t-this._delay),this}return this._start},qt.endTime=function endTime(t){return this._start+(w(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},qt.rawTime=function rawTime(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Ga(e.rawTime(t),this):this._tTime:this._tTime},qt.revert=function revert(t){ undefined===t&&(t=lt);var e=L;return L=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-0.01,t.suppressEvents)),"nested"!==this.data&&false!==t.kill&&this.kill(),L=e,this},qt.globalTime=function globalTime(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return !this.parent&&this._sat?this._sat.globalTime(t):r},qt.repeat=function repeat(t){return arguments.length?(this._repeat=t===1/0?-2:t,Sa(this)):-2===this._repeat?1/0:this._repeat},qt.repeatDelay=function repeatDelay(t){if(arguments.length){var e=this._time;return this._rDelay=t,Sa(this),e?this.time(e):this}return this._rDelay},qt.yoyo=function yoyo(t){return arguments.length?(this._yoyo=t,this):this._yoyo},qt.seek=function seek(t,e){return this.totalTime(xt(this,t),w(e))},qt.restart=function restart(t,e){return this.play().totalTime(t?-this._delay:0,w(e))},qt.play=function play(t,e){return null!=t&&this.seek(t,e),this.reversed(false).paused(false)},qt.reverse=function reverse(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(true).paused(false)},qt.pause=function pause(t,e){return null!=t&&this.seek(t,e),this.paused(true)},qt.resume=function resume(){return this.paused(false)},qt.reversed=function reversed(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},qt.invalidate=function invalidate(){return this._initted=this._act=0,this._zTime=-1e-8,this},qt.isActive=function isActive(){var t,e=this.parent||this._dp,r=this._start;return !(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(true))>=r&&t<this.endTime(true)-X))},qt.eventCallback=function eventCallback(t,e,r){var i=this.vars;return 1<arguments.length?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},qt.then=function then(t){var i=this;return new Promise(function(e){function Co(){var t=i.then;i.then=null,s(r)&&(r=r(i))&&(r.then||r===i)&&(i.then=t),e(r),i.then=t;}var r=s(t)?t:pa;i._initted&&1===i.totalProgress()&&0<=i._ts||!i._tTime&&i._ts<0?Co():i._prom=Co;})},qt.kill=function kill(){tb(this);},Animation);function Animation(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,Ra(this,+t.duration,1,1),this.data=t.data,l&&(this._ctx=l).data.push(this),c||Rt.wake();}qa(Ut.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:false,parent:null,_initted:false,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:false,_rts:1});var Xt=function(i){function Timeline(t,e){var r;return undefined===t&&(t={}),(r=i.call(this,t)||this).labels={},r.smoothChildTiming=!!t.smoothChildTiming,r.autoRemoveChildren=!!t.autoRemoveChildren,r._sort=w(t.sortChildren),I&&Ka(t.parent||I,_assertThisInitialized(r),e),t.reversed&&r.reverse(),t.paused&&r.paused(true),t.scrollTrigger&&La(_assertThisInitialized(r),t.scrollTrigger),r}_inheritsLoose(Timeline,i);var e=Timeline.prototype;return e.to=function to(t,e,r){return Va(0,arguments,this),this},e.from=function from(t,e,r){return Va(1,arguments,this),this},e.fromTo=function fromTo(t,e,r,i){return Va(2,arguments,this),this},e.set=function set(t,e,r){return e.duration=0,e.parent=this,va(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new $t(t,e,xt(this,r),1),this},e.call=function call(t,e,r){return Ka(this,$t.delayedCall(0,t,e),r)},e.staggerTo=function staggerTo(t,e,r,i,n,a,s){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=a,r.onCompleteParams=s,r.parent=this,new $t(t,r,xt(this,n)),this},e.staggerFrom=function staggerFrom(t,e,r,i,n,a,s){return r.runBackwards=1,va(r).immediateRender=w(r.immediateRender),this.staggerTo(t,e,r,i,n,a,s)},e.staggerFromTo=function staggerFromTo(t,e,r,i,n,a,s,o){return i.startAt=r,va(i).immediateRender=w(i.immediateRender),this.staggerTo(t,e,i,n,a,s,o)},e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_=this._time,m=this._dirty?this.totalDuration():this._tDur,g=this._dur,v=t<=0?0:ja(t),y=this._zTime<0!=t<0&&(this._initted||!g);if(this!==I&&m<v&&0<=t&&(v=m),v!==this._tTime||r||y){if(_!==this._time&&g&&(v+=this._time-_,t+=this._time-_),i=v,f=this._start,u=!(l=this._ts),y&&(g||(_=this._zTime),!t&&e||(this._zTime=t)),this._repeat){if(c=this._yoyo,o=g+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*o+t,e,r);if(i=ja(v%o),v===m?(s=this._repeat,i=g):((s=~~(v/o))&&s===v/o&&(i=g,s--),g<i&&(i=g)),d=Tt(this._tTime,o),!_&&this._tTime&&d!==s&&this._tTime-d*o-this._dur<=0&&(d=s),c&&1&s&&(i=g-i,p=1),s!==d&&!this._lock){var T=c&&1&d,b=T===(c&&1&s);if(s<d&&(T=!T),_=T?0:v%g?g:v,this._lock=1,this.render(_||(p?0:ja(s*o)),e,!g)._lock=0,this._tTime=v,!e&&this.parent&&Ct(this,"onRepeat"),this.vars.repeatRefresh&&!p&&(this.invalidate()._lock=1),_&&_!==this._time||u!=!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(g=this._dur,m=this._tDur,b&&(this._lock=2,_=T?g:-1e-4,this.render(_,true),this.vars.repeatRefresh&&!p&&this.invalidate()),this._lock=0,!this._ts&&!u)return this;Qb(this,p);}}if(this._hasPause&&!this._forcing&&this._lock<2&&(h=function _findNextPauseTween(t,e,r){var i;if(e<r)for(i=t._first;i&&i._start<=r;){if("isPause"===i.data&&i._start>e)return i;i=i._next;}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start<e)return i;i=i._prev;}}(this,ja(_),ja(i)))&&(v-=i-(i=h._start)),this._tTime=v,this._time=i,this._act=!l,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=t,_=0),!_&&i&&!e&&!s&&(Ct(this,"onStart"),this._tTime!==v))return this;if(_<=i&&0<=t)for(n=this._first;n;){if(a=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=-1e-8);break}}n=a;}else {n=this._last;for(var w=t<0?t:i;n;){if(a=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0<n._ts?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||L&&(n._initted||n._startAt)),i!==this._time||!this._ts&&!u){h=0,a&&(v+=this._zTime=w?-1e-8:X);break}}n=a;}}if(h&&!e&&(this.pause(),h.render(_<=i?0:-1e-8)._zTime=_<=i?1:-1,this._ts))return this._start=f,Ha(this),this.render(t,e,r);this._onUpdate&&!e&&Ct(this,"onUpdate",true),(v===m&&this._tTime>=this.totalDuration()||!v&&_)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0<this._ts||!v&&this._ts<0)||za(this,1),e||t<0&&!_||!v&&!_&&m||(Ct(this,v===m&&0<=t?"onComplete":"onReverseComplete",true),!this._prom||v<m&&0<this.timeScale()||this._prom())));}return this},e.add=function add(e,i){var n=this;if(t(i)||(i=xt(this,i,e)),!(e instanceof Ut)){if(Z(e))return e.forEach(function(t){return n.add(t,i)}),this;if(r(e))return this.addLabel(e,i);if(!s(e))return this;e=$t.delayedCall(0,e);}return this!==e?Ka(this,e,i):this},e.getChildren=function getChildren(t,e,r,i){ undefined===t&&(t=true),undefined===e&&(e=true),undefined===r&&(r=true),undefined===i&&(i=-1e8);for(var n=[],a=this._first;a;)a._start>=i&&(a instanceof $t?e&&n.push(a):(r&&n.push(a),t&&n.push.apply(n,a.getChildren(true,e,r)))),a=a._next;return n},e.getById=function getById(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},e.remove=function remove(t){return r(t)?this.removeLabel(t):s(t)?this.killTweensOf(t):(ya(this,t),t===this._recent&&(this._recent=this._last),Aa(this))},e.totalTime=function totalTime(t,e){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=ja(Rt.time-(0<this._ts?t/this._ts:(this.totalDuration()-t)/-this._ts))),i.prototype.totalTime.call(this,t,e),this._forcing=0,this):this._tTime},e.addLabel=function addLabel(t,e){return this.labels[t]=xt(this,e),this},e.removeLabel=function removeLabel(t){return delete this.labels[t],this},e.addPause=function addPause(t,e,r){var i=$t.delayedCall(0,e||T,r);return i.data="isPause",this._hasPause=1,Ka(this,i,xt(this,t))},e.removePause=function removePause(t){var e=this._first;for(t=xt(this,t);e;)e._start===t&&"isPause"===e.data&&za(e),e=e._next;},e.killTweensOf=function killTweensOf(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Nt!==i[n]&&i[n].kill(t,e);return this},e.getTweensOf=function getTweensOf(e,r){for(var i,n=[],a=Mt(e),s=this._first,o=t(r);s;)s instanceof $t?la(s._targets,a)&&(o?(!Nt||s._initted&&s._ts)&&s.globalTime(0)<=r&&s.globalTime(s.totalDuration())>r:!r||s.isActive())&&n.push(s):(i=s.getTweensOf(a,r)).length&&n.push.apply(n,i),s=s._next;return n},e.tweenTo=function tweenTo(t,e){e=e||{};var r,i=this,n=xt(i,t),a=e.startAt,s=e.onStart,o=e.onStartParams,u=e.immediateRender,h=$t.to(i,qa({ease:e.ease||"none",lazy:false,immediateRender:false,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(a&&"time"in a?a.time:i._time))/i.timeScale())||X,onStart:function onStart(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(a&&"time"in a?a.time:i._time))/i.timeScale());h._dur!==t&&Ra(h,t,0,1).render(h._time,true,true),r=1;}s&&s.apply(h,o||[]);}},e));return u?h.render(0):h},e.tweenFromTo=function tweenFromTo(t,e,r){return this.tweenTo(e,qa({startAt:{time:xt(this,t)}},r))},e.recent=function recent(){return this._recent},e.nextLabel=function nextLabel(t){return undefined===t&&(t=this._time),rb(this,xt(this,t))},e.previousLabel=function previousLabel(t){return undefined===t&&(t=this._time),rb(this,xt(this,t),1)},e.currentLabel=function currentLabel(t){return arguments.length?this.seek(t,true):this.previousLabel(this._time+X)},e.shiftChildren=function shiftChildren(t,e,r){ undefined===r&&(r=0);for(var i,n=this._first,a=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in a)a[i]>=r&&(a[i]+=t);return Aa(this)},e.invalidate=function invalidate(t){var e=this._first;for(this._lock=0;e;)e.invalidate(t),e=e._next;return i.prototype.invalidate.call(this,t)},e.clear=function clear(t){ undefined===t&&(t=true);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),Aa(this)},e.totalDuration=function totalDuration(t){var e,r,i,n=0,a=this,s=a._last,o=U;if(arguments.length)return a.timeScale((a._repeat<0?a.duration():a.totalDuration())/(a.reversed()?-t:t));if(a._dirty){for(i=a.parent;s;)e=s._prev,s._dirty&&s.totalDuration(),o<(r=s._start)&&a._sort&&s._ts&&!a._lock?(a._lock=1,Ka(a,s,r-s._delay,1)._lock=0):o=r,r<0&&s._ts&&(n-=r,(!i&&!a._dp||i&&i.smoothChildTiming)&&(a._start+=r/a._ts,a._time-=r,a._tTime-=r),a.shiftChildren(-r,false,-Infinity),o=0),s._end>n&&s._ts&&(n=s._end),s=e;Ra(a,a===I&&a._time>n?a._time:n,1,1),a._dirty=0;}return a._tDur},Timeline.updateRoot=function updateRoot(t){if(I._ts&&(na(I,Ga(t,I)),f=Rt.frame),Rt.frame>=mt){mt+=q.autoSleep||120;var e=I._first;if((!e||!e._ts)&&q.autoSleep&&Rt._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Rt.sleep();}}},Timeline}(Ut);qa(Xt.prototype,{_lock:0,_hasPause:0,_forcing:0});function ac(t,e,i,n,a,o){var u,h,l,f;if(pt[t]&&false!==(u=new pt[t]).init(a,u.rawVars?e[t]:function _processVars(t,e,i,n,a){if(s(t)&&(t=Kt(t,a,e,i,n)),!v(t)||t.style&&t.nodeType||Z(t)||$(t))return r(t)?Kt(t,a,e,i,n):t;var o,u={};for(o in t)u[o]=Kt(t[o],a,e,i,n);return u}(e[t],n,a,o,i),i,n,o)&&(i._pt=h=new _e(i._pt,a,t,0,1,u.render,u,0,u.priority),i!==d))for(l=i._ptLookup[i._targets.indexOf(a)],f=u._props.length;f--;)l[u._props[f]]=h;return u}function gc(t,r,e,i){var n,a,s=r.ease||i||"power1.inOut";if(Z(r))a=e[t]||(e[t]=[]),r.forEach(function(t,e){return a.push({t:e/(r.length-1)*100,v:t,e:s})});else for(n in r)a=e[n]||(e[n]=[]),"ease"===n||a.push({t:parseFloat(t),v:r[n],e:s});}var Nt,Gt,Wt=function _addPropTween(t,e,i,n,a,o,u,h,l,f){s(n)&&(n=n(a||0,t,o));var d,c=t[e],p="get"!==i?i:s(c)?l?t[e.indexOf("set")||!s(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():c,_=s(c)?l?re:te:Zt;if(r(n)&&(~n.indexOf("random(")&&(n=ob(n)),"="===n.charAt(1)&&(!(d=ka(p,n)+(Ya(p)||0))&&0!==d||(n=d))),!f||p!==n||Gt)return isNaN(p*n)||""===n?(c||e in t||Q(e,n),function _addComplexStringPropTween(t,e,r,i,n,a,s){var o,u,h,l,f,d,c,p,_=new _e(this._pt,t,e,0,1,ue,null,n),m=0,g=0;for(_.b=r,_.e=i,r+="",(c=~(i+="").indexOf("random("))&&(i=ob(i)),a&&(a(p=[r,i],t,e),r=p[0],i=p[1]),u=r.match(it)||[];o=it.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:"rgba("===f.substr(-5)&&(h=1),l!==u[g++]&&(d=parseFloat(u[g-1])||0,_._pt={_next:_._pt,p:f||1===g?f:",",s:d,c:"="===l.charAt(1)?ka(d,l)-d:parseFloat(l)-d,m:h&&h<4?Math.round:0},m=it.lastIndex);return _.c=m<i.length?i.substring(m,i.length):"",_.fp=s,(nt.test(i)||c)&&(_.e=0),this._pt=_}.call(this,t,e,p,n,_,h||q.stringFilter,l)):(d=new _e(this._pt,t,e,+p||0,n-(p||0),"boolean"==typeof c?se:ae,0,_),l&&(d.fp=l),u&&d.modifier(u,this,t),this._pt=d)},Qt=function _initTween(t,e,r){var i,n,a,s,o,u,h,l,f,d,c,p,_,m=t.vars,g=m.ease,v=m.startAt,y=m.immediateRender,T=m.lazy,b=m.onUpdate,x=m.runBackwards,O=m.yoyoEase,k=m.keyframes,M=m.autoRevert,P=t._dur,C=t._startAt,A=t._targets,S=t.parent,z=S&&"nested"===S.data?S.vars.targets:A,E="auto"===t._overwrite&&!F,D=t.timeline;if(!D||k&&g||(g="none"),t._ease=jt(g,V.ease),t._yEase=O?Yt(jt(true===O?g:O,V.ease)):0,O&&t._yoyo&&!t._repeat&&(O=t._yEase,t._yEase=t._ease,t._ease=O),t._from=!D&&!!m.runBackwards,!D||k&&!m.stagger){if(p=(l=A[0]?fa(A[0]).harness:0)&&m[l.prop],i=ua(m,ft),C&&(C._zTime<0&&C.progress(1),e<0&&x&&y&&!M?C.render(-1,true):C.revert(x&&P?ht:ut),C._lazy=0),v){if(za(t._startAt=$t.set(A,qa({data:"isStart",overwrite:false,parent:S,immediateRender:true,lazy:!C&&w(T),startAt:null,delay:0,onUpdate:b&&function(){return Ct(t,"onUpdate")},stagger:0},v))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(L||!y&&!M)&&t._startAt.revert(ht),y&&P&&e<=0&&r<=0)return void(e&&(t._zTime=e))}else if(x&&P&&!C)if(e&&(y=false),a=qa({overwrite:false,data:"isFromStart",lazy:y&&!C&&w(T),immediateRender:y,stagger:0,parent:S},i),p&&(a[l.prop]=p),za(t._startAt=$t.set(A,a)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(L?t._startAt.revert(ht):t._startAt.render(-1,true)),t._zTime=e,y){if(!e)return}else _initTween(t._startAt,X,X);for(t._pt=t._ptCache=0,T=P&&w(T)||T&&!P,n=0;n<A.length;n++){if(h=(o=A[n])._gsap||ea(A)[n]._gsap,t._ptLookup[n]=d={},ct[h.id]&&dt.length&&ma(),c=z===A?n:z.indexOf(o),l&&false!==(f=new l).init(o,p||i,t,c,z)&&(t._pt=s=new _e(t._pt,o,f.name,0,1,f.render,f,0,f.priority),f._props.forEach(function(t){d[t]=s;}),f.priority&&(u=1)),!l||p)for(a in i)pt[a]&&(f=ac(a,i,t,c,o,z))?f.priority&&(u=1):d[a]=s=Wt.call(t,o,a,"get",i[a],c,z,0,m.stringFilter);t._op&&t._op[n]&&t.kill(o,t._op[n]),E&&t._pt&&(Nt=t,I.killTweensOf(o,d,t.globalTime(e)),_=!t.parent,Nt=0),t._pt&&T&&(ct[h.id]=1);}u&&pe(t),t._onInit&&t._onInit(t);}t._onUpdate=b,t._initted=(!t._op||t._pt)&&!_,k&&e<=0&&D.render(U,true,true);},Kt=function _parseFuncOrString(t,e,i,n,a){return s(t)?t.call(e,i,n,a):r(t)&&~t.indexOf("random(")?ob(t):t},Jt=vt+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Ht={};ha(Jt+",id,stagger,delay,duration,paused,scrollTrigger",function(t){return Ht[t]=1});var $t=function(D){function Tween(e,r,i,n){var a;"number"==typeof r&&(i.duration=r,r=i,i=null);var s,o,u,h,l,f,d,c,p=(a=D.call(this,n?r:va(r))||this).vars,_=p.duration,m=p.delay,g=p.immediateRender,T=p.stagger,b=p.overwrite,x=p.keyframes,O=p.defaults,k=p.scrollTrigger,M=p.yoyoEase,P=r.parent||I,C=(Z(e)||$(e)?t(e[0]):"length"in r)?[e]:Mt(e);if(a._targets=C.length?ea(C):R("GSAP target "+e+" not found. https://gsap.com",!q.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=b,x||T||y(_)||y(m)){if(r=a.vars,(s=a.timeline=new Xt({data:"nested",defaults:O||{},targets:P&&"nested"===P.data?P.vars.targets:C})).kill(),s.parent=s._dp=_assertThisInitialized(a),s._start=0,T||y(_)||y(m)){if(h=C.length,d=T&&eb(T),v(T))for(l in T)~Jt.indexOf(l)&&((c=c||{})[l]=T[l]);for(o=0;o<h;o++)(u=ua(r,Ht)).stagger=0,M&&(u.yoyoEase=M),c&&yt(u,c),f=C[o],u.duration=+Kt(_,_assertThisInitialized(a),o,f,C),u.delay=(+Kt(m,_assertThisInitialized(a),o,f,C)||0)-a._delay,!T&&1===h&&u.delay&&(a._delay=m=u.delay,a._start+=m,u.delay=0),s.to(f,u,d?d(o,f,C):0),s._ease=Lt.none;s.duration()?_=m=0:a.timeline=0;}else if(x){va(qa(s.vars.defaults,{ease:"none"})),s._ease=jt(x.ease||r.ease||"none");var A,S,z,E=0;if(Z(x))x.forEach(function(t){return s.to(C,t,">")}),s.duration();else {for(l in u={},x)"ease"===l||"easeEach"===l||gc(l,x[l],u,x.easeEach);for(l in u)for(A=u[l].sort(function(t,e){return t.t-e.t}),o=E=0;o<A.length;o++)(z={ease:(S=A[o]).e,duration:(S.t-(o?A[o-1].t:0))/100*_})[l]=S.v,s.to(C,z,E),E+=z.duration;s.duration()<_&&s.to({},{duration:_-s.duration()});}}_||a.duration(_=s.duration());}else a.timeline=0;return true!==b||F||(Nt=_assertThisInitialized(a),I.killTweensOf(C),Nt=0),Ka(P,_assertThisInitialized(a),i),r.reversed&&a.reverse(),r.paused&&a.paused(true),(g||!_&&!x&&a._start===ja(P._time)&&w(g)&&function _hasNoPausedAncestors(t){return !t||t._ts&&_hasNoPausedAncestors(t.parent)}(_assertThisInitialized(a))&&"nested"!==P.data)&&(a._tTime=-1e-8,a.render(Math.max(0,-m)||0)),k&&La(_assertThisInitialized(a),k),a}_inheritsLoose(Tween,D);var e=Tween.prototype;return e.render=function render(t,e,r){var i,n,a,s,o,u,h,l,f,d=this._time,c=this._tDur,p=this._dur,_=t<0,m=c-X<t&&!_?c:t<X?0:t;if(p){if(m!==this._tTime||!t||r||!this._initted&&this._tTime||this._startAt&&this._zTime<0!=_){if(i=m,l=this.timeline,this._repeat){if(s=p+this._rDelay,this._repeat<-1&&_)return this.totalTime(100*s+t,e,r);if(i=ja(m%s),m===c?(a=this._repeat,i=p):((a=~~(m/s))&&a===ja(m/s)&&(i=p,a--),p<i&&(i=p)),(u=this._yoyo&&1&a)&&(f=this._yEase,i=p-i),o=Tt(this._tTime,s),i===d&&!r&&this._initted&&a===o)return this._tTime=m,this;a!==o&&(l&&this._yEase&&Qb(l,u),this.vars.repeatRefresh&&!u&&!this._lock&&this._time!==s&&this._initted&&(this._lock=r=1,this.render(ja(s*a),true).invalidate()._lock=0));}if(!this._initted){if(Ma(this,_?t:i,r,e,m))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&a!==o))return this;if(p!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(f||this._ease)(i/p),this._from&&(this.ratio=h=1-h),i&&!d&&!e&&!a&&(Ct(this,"onStart"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;l&&l.render(t<0?t:l._dur*l._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(_&&Ca(this,t,0,r),Ct(this,"onUpdate")),this._repeat&&a!==o&&this.vars.onRepeat&&!e&&this.parent&&Ct(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(_&&!this._onUpdate&&Ca(this,t,0,true),!t&&p||!(m===this._tDur&&0<this._ts||!m&&this._ts<0)||za(this,1),e||_&&!d||!(m||d||u)||(Ct(this,m===c?"onComplete":"onReverseComplete",true),!this._prom||m<c&&0<this.timeScale()||this._prom()));}}else !function _renderZeroDurationTween(t,e,r,i){var n,a,s,o=t.ratio,u=e<0||!e&&(!t._start&&function _parentPlayheadIsBeforeStart(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||_parentPlayheadIsBeforeStart(e))}(t)&&(t._initted||!bt(t))||(t._ts<0||t._dp._ts<0)&&!bt(t))?0:1,h=t._rDelay,l=0;if(h&&t._repeat&&(l=Ot(0,t._tDur,e),a=Tt(l,h),t._yoyo&&1&a&&(u=1-u),a!==Tt(t._tTime,h)&&(o=1-u,t.vars.repeatRefresh&&t._initted&&t.invalidate())),u!==o||L||i||t._zTime===X||!e&&t._zTime){if(!t._initted&&Ma(t,e,i,r,l))return;for(s=t._zTime,t._zTime=e||(r?X:0),r=r||e&&!s,t.ratio=u,t._from&&(u=1-u),t._time=0,t._tTime=l,n=t._pt;n;)n.r(u,n.d),n=n._next;e<0&&Ca(t,e,0,true),t._onUpdate&&!r&&Ct(t,"onUpdate"),l&&t._repeat&&!r&&t.parent&&Ct(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===u&&(u&&za(t,1),r||L||(Ct(t,u?"onComplete":"onReverseComplete",true),t._prom&&t._prom()));}else t._zTime||(t._zTime=e);}(this,t,e,r);return this},e.targets=function targets(){return this._targets},e.invalidate=function invalidate(t){return t&&this.vars.runBackwards||(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(t),D.prototype.invalidate.call(this,t)},e.resetTo=function resetTo(t,e,r,i,n){c||Rt.wake(),this._ts||this.play();var a,s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||Qt(this,s),a=this._ease(s/this._dur),function _updatePropTweens(t,e,r,i,n,a,s,o){var u,h,l,f,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],l=t._ptLookup,f=t._targets.length;f--;){if((u=l[f][e])&&u.d&&u.d._pt)for(u=u.d._pt;u&&u.p!==e&&u.fp!==e;)u=u._next;if(!u)return Gt=1,t.vars[e]="+=0",Qt(t,s),Gt=0,o?R(e+" not eligible for reset"):1;d.push(u);}for(f=d.length;f--;)(u=(h=d[f])._pt||h).s=!i&&0!==i||n?u.s+(i||0)+a*u.c:i,u.c=r-u.s,h.e&&(h.e=ia(r)+Ya(h.e)),h.b&&(h.b=u.s+Ya(h.b));}(this,t,e,r,i,a,s,n)?this.resetTo(t,e,r,i,1):(Ia(this,0),this.parent||xa(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function kill(t,e){if(undefined===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?tb(this):this;if(this.timeline){var i=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Nt&&true!==Nt.vars.overwrite)._first||tb(this),this.parent&&i!==this.timeline.totalDuration()&&Ra(this,this._dur*this.timeline._tDur/i,0,1),this}var n,a,s,o,u,h,l,f=this._targets,d=t?Mt(t):f,c=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function _arraysMatch(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(f,d))return "all"===e&&(this._pt=0),tb(this);for(n=this._op=this._op||[],"all"!==e&&(r(e)&&(u={},ha(e,function(t){return u[t]=1}),e=u),e=function _addAliasesToVars(t,e){var r,i,n,a,s=t[0]?fa(t[0]).harness:0,o=s&&s.aliases;if(!o)return e;for(i in r=yt({},e),o)if(i in r)for(n=(a=o[i].split(",")).length;n--;)r[a[n]]=r[i];return r}(f,e)),l=f.length;l--;)if(~d.indexOf(f[l]))for(u in a=c[l],"all"===e?(n[l]=e,o=a,s={}):(s=n[l]=n[l]||{},o=e),o)(h=a&&a[u])&&("kill"in h.d&&true!==h.d.kill(u)||ya(this,h,"_pt"),delete a[u]),"all"!==s&&(s[u]=1);return this._initted&&!this._pt&&p&&tb(this),this},Tween.to=function to(t,e,r){return new Tween(t,e,r)},Tween.from=function from(t,e){return Va(1,arguments)},Tween.delayedCall=function delayedCall(t,e,r,i){return new Tween(e,0,{immediateRender:false,lazy:false,overwrite:false,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i})},Tween.fromTo=function fromTo(t,e,r){return Va(2,arguments)},Tween.set=function set(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new Tween(t,e)},Tween.killTweensOf=function killTweensOf(t,e,r){return I.killTweensOf(t,e,r)},Tween}(Ut);qa($t.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),ha("staggerTo,staggerFrom,staggerFromTo",function(r){$t[r]=function(){var t=new Xt,e=kt.call(arguments,0);return e.splice("staggerFromTo"===r?5:4,0,0),t[r].apply(t,e)};});function oc(t,e,r){return t.setAttribute(e,r)}function wc(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i);}var Zt=function _setterPlain(t,e,r){return t[e]=r},te=function _setterFunc(t,e,r){return t[e](r)},re=function _setterFuncWithParam(t,e,r,i){return t[e](i.fp,r)},ne=function _getSetter(t,e){return s(t[e])?te:u(t[e])&&t.setAttribute?oc:Zt},ae=function _renderPlain(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},se=function _renderBoolean(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},ue=function _renderComplexString(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else {for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c;}e.set(e.t,e.p,i,e);},he=function _renderPropTweens(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next;},fe=function _addPluginModifier(t,e,r,i){for(var n,a=this._pt;a;)n=a._next,a.p===i&&a.modifier(t,e,r),a=n;},ce=function _killPropTweensOf(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?ya(this,i,"_pt"):i.dep||(e=1),i=r;return !e},pe=function _sortPropTweensByPriority(t){for(var e,r,i,n,a=t._pt;a;){for(e=a._next,r=i;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:n)?a._prev._next=a:i=a,(a._next=r)?r._prev=a:n=a,a=e;}t._pt=i;},_e=(PropTween.prototype.modifier=function modifier(t,e,r){this.mSet=this.mSet||this.set,this.set=wc,this.m=t,this.mt=r,this.tween=e;},PropTween);function PropTween(t,e,r,i,n,a,s,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=a||ae,this.d=s||this,this.set=o||Zt,this.pr=u||0,(this._next=t)&&(t._prev=this);}ha(vt+"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(t){return ft[t]=1}),ot.TweenMax=ot.TweenLite=$t,ot.TimelineLite=ot.TimelineMax=Xt,I=new Xt({sortChildren:false,defaults:V,autoRemoveChildren:true,id:"root",smoothChildTiming:true}),q.stringFilter=Fb;function Ec(t){return (ye[t]||Te).map(function(t){return t()})}function Fc(){var t=Date.now(),o=[];2<t-Oe&&(Ec("matchMediaInit"),ge.forEach(function(t){var e,r,i,n,a=t.queries,s=t.conditions;for(r in a)(e=h.matchMedia(a[r]).matches)&&(i=1),e!==s[r]&&(s[r]=e,n=1);n&&(t.revert(),i&&o.push(t));}),Ec("matchMediaRevert"),o.forEach(function(e){return e.onMatch(e,function(t){return e.add(null,t)})}),Oe=t,Ec("matchMedia"));}var me,ge=[],ye={},Te=[],Oe=0,Me=0,Pe=((me=Context.prototype).add=function add(t,i,n){function Gw(){var t,e=l,r=a.selector;return e&&e!==a&&e.data.push(a),n&&(a.selector=cb(n)),l=a,t=i.apply(a,arguments),s(t)&&a._r.push(t),l=e,a.selector=r,a.isReverted=false,t}s(t)&&(n=i,i=t,t=s);var a=this;return a.last=Gw,t===s?Gw(a,function(t){return a.add(null,t)}):t?a[t]=Gw:Gw},me.ignore=function ignore(t){var e=l;l=null,t(this),l=e;},me.getTweens=function getTweens(){var e=[];return this.data.forEach(function(t){return t instanceof Context?e.push.apply(e,t.getTweens()):t instanceof $t&&!(t.parent&&"nested"===t.parent.data)&&e.push(t)}),e},me.clear=function clear(){this._r.length=this.data.length=0;},me.kill=function kill(i,t){var n=this;if(i?function(){for(var t,e=n.getTweens(),r=n.data.length;r--;)"isFlip"===(t=n.data[r]).data&&(t.revert(),t.getChildren(true,true,false).forEach(function(t){return e.splice(e.indexOf(t),1)}));for(e.map(function(t){return {g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t:t}}).sort(function(t,e){return e.g-t.g||-1/0}).forEach(function(t){return t.t.revert(i)}),r=n.data.length;r--;)(t=n.data[r])instanceof Xt?"nested"!==t.data&&(t.scrollTrigger&&t.scrollTrigger.revert(),t.kill()):t instanceof $t||!t.revert||t.revert(i);n._r.forEach(function(t){return t(i,n)}),n.isReverted=true;}():this.data.forEach(function(t){return t.kill&&t.kill()}),this.clear(),t)for(var e=ge.length;e--;)ge[e].id===this.id&&ge.splice(e,1);},me.revert=function revert(t){this.kill(t||{});},Context);function Context(t,e){this.selector=e&&cb(e),this.data=[],this._r=[],this.isReverted=false,this.id=Me++,t&&this.add(t);}var Ce,Ae=((Ce=MatchMedia.prototype).add=function add(t,e,r){v(t)||(t={matches:t});var i,n,a,s=new Pe(0,r||this.scope),o=s.conditions={};for(n in l&&!s.selector&&(s.selector=l.selector),this.contexts.push(s),e=s.add("onMatch",e),s.queries=t)"all"===n?a=1:(i=h.matchMedia(t[n]))&&(ge.indexOf(s)<0&&ge.push(s),(o[n]=i.matches)&&(a=1),i.addListener?i.addListener(Fc):i.addEventListener("change",Fc));return a&&e(s,function(t){return s.add(null,t)}),this},Ce.revert=function revert(t){this.kill(t||{});},Ce.kill=function kill(e){this.contexts.forEach(function(t){return t.kill(e,true)});},MatchMedia);function MatchMedia(t){this.contexts=[],this.scope=t,l&&l.data.push(this);}var Se={registerPlugin:function registerPlugin(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];e.forEach(function(t){return wb(t)});},timeline:function timeline(t){return new Xt(t)},getTweensOf:function getTweensOf(t,e){return I.getTweensOf(t,e)},getProperty:function getProperty(i,t,e,n){r(i)&&(i=Mt(i)[0]);var a=fa(i||{}).get,s=e?pa:oa;return "native"===e&&(e=""),i?t?s((pt[t]&&pt[t].get||a)(i,t,e,n)):function(t,e,r){return s((pt[t]&&pt[t].get||a)(i,t,e,r))}:i},quickSetter:function quickSetter(r,e,i){if(1<(r=Mt(r)).length){var n=r.map(function(t){return ze.quickSetter(t,e,i)}),a=n.length;return function(t){for(var e=a;e--;)n[e](t);}}r=r[0]||{};var s=pt[e],o=fa(r),u=o.harness&&(o.harness.aliases||{})[e]||e,h=s?function(t){var e=new s;d._pt=0,e.init(r,i?t+i:t,d,0,[r]),e.render(1,e),d._pt&&he(1,d);}:o.set(r,u);return s?h:function(t){return h(r,u,i?t+i:t,o,1)}},quickTo:function quickTo(t,i,e){function $x(t,e,r){return n.resetTo(i,t,e,r)}var r,n=ze.to(t,yt(((r={})[i]="+=0.1",r.paused=true,r),e||{}));return $x.tween=n,$x},isTweening:function isTweening(t){return 0<I.getTweensOf(t,true).length},defaults:function defaults(t){return t&&t.ease&&(t.ease=jt(t.ease,V.ease)),ta(V,t||{})},config:function config(t){return ta(q,t||{})},registerEffect:function registerEffect(t){var i=t.name,n=t.effect,e=t.plugins,a=t.defaults,r=t.extendTimeline;(e||"").split(",").forEach(function(t){return t&&!pt[t]&&!ot[t]&&R(i+" effect requires "+t+" plugin.")}),_t[i]=function(t,e,r){return n(Mt(t),qa(e||{},a),r)},r&&(Xt.prototype[i]=function(t,e,r){return this.add(_t[i](t,v(e)?e:(r=e)&&{},this),r)});},registerEase:function registerEase(t,e){Lt[t]=jt(e);},parseEase:function parseEase(t,e){return arguments.length?jt(t,e):Lt},getById:function getById(t){return I.getById(t)},exportRoot:function exportRoot(t,e){ undefined===t&&(t={});var r,i,n=new Xt(t);for(n.smoothChildTiming=w(t.smoothChildTiming),I.remove(n),n._dp=0,n._time=n._tTime=I._time,r=I._first;r;)i=r._next,!e&&!r._dur&&r instanceof $t&&r.vars.onComplete===r._targets[0]||Ka(n,r,r._start-r._delay),r=i;return Ka(I,n,0),n},context:function context(t,e){return t?new Pe(t,e):l},matchMedia:function matchMedia(t){return new Ae(t)},matchMediaRefresh:function matchMediaRefresh(){return ge.forEach(function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=false,e=1);e&&t.revert();})||Fc()},addEventListener:function addEventListener(t,e){var r=ye[t]||(ye[t]=[]);~r.indexOf(e)||r.push(e);},removeEventListener:function removeEventListener(t,e){var r=ye[t],i=r&&r.indexOf(e);0<=i&&r.splice(i,1);},utils:{wrap:function wrap(e,t,r){var i=t-e;return Z(e)?lb(e,wrap(0,e.length),t):Wa(r,function(t){return (i+(t-e)%i)%i+e})},wrapYoyo:function wrapYoyo(e,t,r){var i=t-e,n=2*i;return Z(e)?lb(e,wrapYoyo(0,e.length-1),t):Wa(r,function(t){return e+(i<(t=(n+(t-e)%n)%n||0)?n-t:t)})},distribute:eb,random:hb,snap:gb,normalize:function normalize(t,e,r){return Pt(t,e,0,1,r)},getUnit:Ya,clamp:function clamp(e,r,t){return Wa(t,function(t){return Ot(e,r,t)})},splitColor:Ab,toArray:Mt,selector:cb,mapRange:Pt,pipe:function pipe(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return function(t){return e.reduce(function(t,e){return e(t)},t)}},unitize:function unitize(e,r){return function(t){return e(parseFloat(t))+(r||Ya(t))}},interpolate:function interpolate(e,i,t,n){var a=isNaN(e+i)?0:function(t){return (1-t)*e+t*i};if(!a){var s,o,u,h,l,f=r(e),d={};if(true===t&&(n=1)&&(t=null),f)e={p:e},i={p:i};else if(Z(e)&&!Z(i)){for(u=[],h=e.length,l=h-2,o=1;o<h;o++)u.push(interpolate(e[o-1],e[o]));h--,a=function func(t){t*=h;var e=Math.min(l,~~t);return u[e](t-e)},t=i;}else n||(e=yt(Z(e)?[]:{},e));if(!u){for(s in i)Wt.call(d,e,s,"get",i[s]);a=function func(t){return he(t,d)||(f?e.p:e)};}}return Wa(t,a)},shuffle:db},install:P,effects:_t,ticker:Rt,updateRoot:Xt.updateRoot,plugins:pt,globalTimeline:I,core:{PropTween:_e,globals:S,Tween:$t,Timeline:Xt,Animation:Ut,getCache:fa,_removeLinkedListItem:ya,reverting:function reverting(){return L},context:function context(t){return t&&l&&(l.data.push(t),t._ctx=l),l},suppressOverwrites:function suppressOverwrites(t){return F=t}}};ha("to,from,fromTo,delayedCall,set,killTweensOf",function(t){return Se[t]=$t[t]}),Rt.add(Xt.updateRoot),d=Se.to({},{duration:0});function Jc(t,e){for(var r=t._pt;r&&r.p!==e&&r.op!==e&&r.fp!==e;)r=r._next;return r}function Lc(t,a){return {name:t,rawVars:1,init:function init(t,n,e){e._onInit=function(t){var e,i;if(r(n)&&(e={},ha(n,function(t){return e[t]=1}),n=e),a){for(i in e={},n)e[i]=a(n[i]);n=e;}!function _addModifiers(t,e){var r,i,n,a=t._targets;for(r in e)for(i=a.length;i--;)(n=(n=t._ptLookup[i][r])&&n.d)&&(n._pt&&(n=Jc(n,r)),n&&n.modifier&&n.modifier(e[r],t,a[i],r));}(t,n);};}}}var ze=Se.registerPlugin({name:"attr",init:function init(t,e,r,i,n){var a,s,o;for(a in this.tween=r,e)o=t.getAttribute(a)||"",(s=this.add(t,"setAttribute",(o||0)+"",e[a],i,n,0,0,a)).op=a,s.b=o,this._props.push(a);},render:function render(t,e){for(var r=e._pt;r;)L?r.set(r.t,r.p,r.b,r):r.r(t,r.d),r=r._next;}},{name:"endArray",init:function init(t,e){for(var r=e.length;r--;)this.add(t,r,t[r]||0,e[r],0,0,0,0,0,1);}},Lc("roundProps",fb),Lc("modifiers"),Lc("snap",gb))||Se;$t.version=Xt.version=ze.version="3.12.5",o=1,x()&&Ft();function vd(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function wd(t,e){return e.set(e.t,e.p,1===t?e.e:Math.round(1e4*(e.s+e.c*t))/1e4+e.u,e)}function xd(t,e){return e.set(e.t,e.p,t?Math.round(1e4*(e.s+e.c*t))/1e4+e.u:e.b,e)}function yd(t,e){var r=e.s+e.c*t;e.set(e.t,e.p,~~(r+(r<0?-0.5:.5))+e.u,e);}function zd(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)}function Ad(t,e){return e.set(e.t,e.p,1!==t?e.b:e.e,e)}function Bd(t,e,r){return t.style[e]=r}function Cd(t,e,r){return t.style.setProperty(e,r)}function Dd(t,e,r){return t._gsap[e]=r}function Ed(t,e,r){return t._gsap.scaleX=t._gsap.scaleY=r}function Fd(t,e,r,i,n){var a=t._gsap;a.scaleX=a.scaleY=r,a.renderTransform(n,a);}function Gd(t,e,r,i,n){var a=t._gsap;a[e]=r,a.renderTransform(n,a);}function Jd(t,e){var r=this,i=this.target,n=i.style,a=i._gsap;if(t in ar&&n){if(this.tfm=this.tfm||{},"transform"===t)return dr.transform.split(",").forEach(function(t){return Jd.call(r,t,e)});if(~(t=dr[t]||t).indexOf(",")?t.split(",").forEach(function(t){return r.tfm[t]=yr(i,t)}):this.tfm[t]=a.x?a[t]:yr(i,t),t===pr&&(this.tfm.zOrigin=a.zOrigin),0<=this.props.indexOf(cr))return;a.svg&&(this.svgo=i.getAttribute("data-svg-origin"),this.props.push(pr,e,"")),t=cr;}(n||e)&&this.props.push(t,e,n[t]);}function Kd(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"));}function Ld(){var t,e,r=this.props,i=this.target,n=i.style,a=i._gsap;for(t=0;t<r.length;t+=3)r[t+1]?i[r[t]]=r[t+2]:r[t+2]?n[r[t]]=r[t+2]:n.removeProperty("--"===r[t].substr(0,2)?r[t]:r[t].replace(hr,"-$1").toLowerCase());if(this.tfm){for(e in this.tfm)a[e]=this.tfm[e];a.svg&&(a.renderTransform(),i.setAttribute("data-svg-origin",this.svgo||"")),(t=Be())&&t.isStart||n[cr]||(Kd(n),a.zOrigin&&n[pr]&&(n[pr]+=" "+a.zOrigin+"px",a.zOrigin=0,a.renderTransform()),a.uncache=1);}}function Md(t,e){var r={target:t,props:[],revert:Ld,save:Jd};return t._gsap||ze.core.getCache(t),e&&e.split(",").forEach(function(t){return r.save(t)}),r}function Od(t,e){var r=De.createElementNS?De.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):De.createElement(t);return r&&r.style?r:De.createElement(t)}function Pd(t,e,r){var i=getComputedStyle(t);return i[e]||i.getPropertyValue(e.replace(hr,"-$1").toLowerCase())||i.getPropertyValue(e)||!r&&Pd(t,mr(e)||e,1)||""}function Sd(){(function _windowExists(){return "undefined"!=typeof window})()&&window.document&&(Ee=window,De=Ee.document,Re=De.documentElement,Le=Od("div")||{style:{}},Od("div"),cr=mr(cr),pr=cr+"Origin",Le.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Ye=!!mr("perspective"),Be=ze.core.reverting,Fe=1);}function Td(t){var e,r=Od("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),i=this.parentNode,n=this.nextSibling,a=this.style.cssText;if(Re.appendChild(r),r.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=Td;}catch(t){}else this._gsapBBox&&(e=this._gsapBBox());return i&&(n?i.insertBefore(this,n):i.appendChild(this)),Re.removeChild(r),this.style.cssText=a,e}function Ud(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])}function Vd(e){var r;try{r=e.getBBox();}catch(t){r=Td.call(e,true);}return r&&(r.width||r.height)||e.getBBox===Td||(r=Td.call(e,true)),!r||r.width||r.x||r.y?r:{x:+Ud(e,["x","cx","x1"])||0,y:+Ud(e,["y","cy","y1"])||0,width:0,height:0}}function Wd(t){return !(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Vd(t))}function Xd(t,e){if(e){var r,i=t.style;e in ar&&e!==pr&&(e=cr),i.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty("--"===r?e:e.replace(hr,"-$1").toLowerCase())):i.removeAttribute(e);}}function Yd(t,e,r,i,n,a){var s=new _e(t._pt,e,r,0,1,a?Ad:zd);return (t._pt=s).b=i,s.e=n,t._props.push(r),s}function _d(t,e,r,i){var n,a,s,o,u=parseFloat(r)||0,h=(r+"").trim().substr((u+"").length)||"px",l=Le.style,f=lr.test(e),d="svg"===t.tagName.toLowerCase(),c=(d?"client":"offset")+(f?"Width":"Height"),p="px"===i,_="%"===i;if(i===h||!u||gr[i]||gr[h])return u;if("px"===h||p||(u=_d(t,e,r,"px")),o=t.getCTM&&Wd(t),(_||"%"===h)&&(ar[e]||~e.indexOf("adius")))return n=o?t.getBBox()[f?"width":"height"]:t[c],ia(_?u/n*100:u/100*n);if(l[f?"width":"height"]=100+(p?h:i),a=~e.indexOf("adius")||"em"===i&&t.appendChild&&!d?t:t.parentNode,o&&(a=(t.ownerSVGElement||{}).parentNode),a&&a!==De&&a.appendChild||(a=De.body),(s=a._gsap)&&_&&s.width&&f&&s.time===Rt.time&&!s.uncache)return ia(u/s.width*100);if(!_||"height"!==e&&"width"!==e)!_&&"%"!==h||vr[Pd(a,"display")]||(l.position=Pd(t,"position")),a===t&&(l.position="static"),a.appendChild(Le),n=Le[c],a.removeChild(Le),l.position="absolute";else {var m=t.style[e];t.style[e]=100+i,n=t[c],m?t.style[e]=m:Xd(t,e);}return f&&_&&((s=fa(a)).time=Rt.time,s.width=a[c]),ia(p?n*u/100:n&&u?100/n*u:0)}function be(t,e,r,i){if(!r||"none"===r){var n=mr(e,t,1),a=n&&Pd(t,n,1);a&&a!==r?(e=n,r=a):"borderColor"===e&&(r=Pd(t,"borderTopColor"));}var s,o,u,h,l,f,d,c,p,_,m,g=new _e(this._pt,t.style,e,0,1,ue),v=0,y=0;if(g.b=r,g.e=i,r+="","auto"===(i+="")&&(f=t.style[e],t.style[e]=i,i=Pd(t,e)||i,f?t.style[e]=f:Xd(t,e)),Fb(s=[r,i]),i=s[1],u=(r=s[0]).match(rt)||[],(i.match(rt)||[]).length){for(;o=rt.exec(i);)d=o[0],p=i.substring(v,o.index),l?l=(l+1)%5:"rgba("!==p.substr(-5)&&"hsla("!==p.substr(-5)||(l=1),d!==(f=u[y++]||"")&&(h=parseFloat(f)||0,m=f.substr((h+"").length),"="===d.charAt(1)&&(d=ka(h,d)+m),c=parseFloat(d),_=d.substr((c+"").length),v=rt.lastIndex-_.length,_||(_=_||q.units[e]||m,v===i.length&&(i+=_,g.e+=_)),m!==_&&(h=_d(t,e,f,_)||0),g._pt={_next:g._pt,p:p||1===y?p:",",s:h,c:c-h,m:l&&l<4||"zIndex"===e?Math.round:0});g.c=v<i.length?i.substring(v,i.length):"";}else g.r="display"===e&&"none"===i?Ad:zd;return nt.test(i)&&(g.e=0),this._pt=g}function de(t){var e=t.split(" "),r=e[0],i=e[1]||"50%";return "top"!==r&&"bottom"!==r&&"left"!==i&&"right"!==i||(t=r,r=i,i=t),e[0]=Tr[r]||r,e[1]=Tr[i]||i,e.join(" ")}function ee(t,e){if(e.tween&&e.tween._time===e.tween._dur){var r,i,n,a=e.t,s=a.style,o=e.u,u=a._gsap;if("all"===o||true===o)s.cssText="",i=1;else for(n=(o=o.split(",")).length;-1<--n;)r=o[n],ar[r]&&(i=1,r="transformOrigin"===r?pr:cr),Xd(a,r);i&&(Xd(a,cr),u&&(u.svg&&a.removeAttribute("transform"),Or(a,1),u.uncache=1,Kd(s)));}}function ie(t){return "matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t}function je(t){var e=Pd(t,cr);return ie(e)?wr:e.substr(7).match(et).map(ia)}function ke(t,e){var r,i,n,a,s=t._gsap||fa(t),o=t.style,u=je(t);return s.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(u=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?wr:u:(u!==wr||t.offsetParent||t===Re||s.svg||(n=o.display,o.display="block",(r=t.parentNode)&&t.offsetParent||(a=1,i=t.nextElementSibling,Re.appendChild(t)),u=je(t),n?o.display=n:Xd(t,"display"),a&&(i?r.insertBefore(t,i):r?r.appendChild(t):Re.removeChild(t))),e&&6<u.length?[u[0],u[1],u[4],u[5],u[12],u[13]]:u)}function le(t,e,r,i,n,a){var s,o,u,h=t._gsap,l=n||ke(t,true),f=h.xOrigin||0,d=h.yOrigin||0,c=h.xOffset||0,p=h.yOffset||0,_=l[0],m=l[1],g=l[2],v=l[3],y=l[4],T=l[5],b=e.split(" "),w=parseFloat(b[0])||0,x=parseFloat(b[1])||0;r?l!==wr&&(o=_*v-m*g)&&(u=w*(-m/o)+x*(_/o)-(_*T-m*y)/o,w=w*(v/o)+x*(-g/o)+(g*T-v*y)/o,x=u):(w=(s=Vd(t)).x+(~b[0].indexOf("%")?w/100*s.width:w),x=s.y+(~(b[1]||b[0]).indexOf("%")?x/100*s.height:x)),i||false!==i&&h.smooth?(y=w-f,T=x-d,h.xOffset=c+(y*_+T*g)-y,h.yOffset=p+(y*m+T*v)-T):h.xOffset=h.yOffset=0,h.xOrigin=w,h.yOrigin=x,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[pr]="0px 0px",a&&(Yd(a,h,"xOrigin",f,w),Yd(a,h,"yOrigin",d,x),Yd(a,h,"xOffset",c,h.xOffset),Yd(a,h,"yOffset",p,h.yOffset)),t.setAttribute("data-svg-origin",w+" "+x);}function oe(t,e,r){var i=Ya(e);return ia(parseFloat(e)+parseFloat(_d(t,"x",r+"px",i)))+i}function ve(t,e,i,n,a){var s,o,u=360,h=r(a),l=parseFloat(a)*(h&&~a.indexOf("rad")?sr:1)-n,f=n+l+"deg";return h&&("short"===(s=a.split("_")[1])&&(l%=u)!==l%180&&(l+=l<0?u:-360),"cw"===s&&l<0?l=(l+36e9)%u-~~(l/u)*u:"ccw"===s&&0<l&&(l=(l-36e9)%u-~~(l/u)*u)),t._pt=o=new _e(t._pt,e,i,n,l,wd),o.e=f,o.u="deg",t._props.push(i),o}function we(t,e){for(var r in e)t[r]=e[r];return t}function xe(t,e,r){var i,n,a,s,o,u,h,l=we({},r._gsap),f=r.style;for(n in l.svg?(a=r.getAttribute("transform"),r.setAttribute("transform",""),f[cr]=e,i=Or(r,1),Xd(r,cr),r.setAttribute("transform",a)):(a=getComputedStyle(r)[cr],f[cr]=e,i=Or(r,1),f[cr]=a),ar)(a=l[n])!==(s=i[n])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)<0&&(o=Ya(a)!==(h=Ya(s))?_d(r,n,a,h):parseFloat(a),u=parseFloat(s),t._pt=new _e(t._pt,i,n,o,u-o,vd),t._pt.u=h||0,t._props.push(n));we(i,l);}var Ee,De,Re,Fe,Le,Ie,Be,Ye,qe=Lt.Power0,Ve=Lt.Power1,Ue=Lt.Power2,Xe=Lt.Power3,Ne=Lt.Power4,Ge=Lt.Linear,We=Lt.Quad,Qe=Lt.Cubic,Ke=Lt.Quart,Je=Lt.Quint,He=Lt.Strong,$e=Lt.Elastic,Ze=Lt.Back,tr=Lt.SteppedEase,er=Lt.Bounce,rr=Lt.Sine,ir=Lt.Expo,nr=Lt.Circ,ar={},sr=180/Math.PI,or=Math.PI/180,ur=Math.atan2,hr=/([A-Z])/g,lr=/(left|right|width|margin|padding|x)/i,fr=/[\s,\(]\S/,dr={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},cr="transform",pr=cr+"Origin",_r="O,Moz,ms,Ms,Webkit".split(","),mr=function _checkPropPrefix(t,e,r){var i=(e||Le).style,n=5;if(t in i&&!r)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);n--&&!(_r[n]+t in i););return n<0?null:(3===n?"ms":0<=n?_r[n]:"")+t},gr={deg:1,rad:1,turn:1},vr={grid:1,flex:1},yr=function _get(t,e,r,i){var n;return Fe||Sd(),e in dr&&"transform"!==e&&~(e=dr[e]).indexOf(",")&&(e=e.split(",")[0]),ar[e]&&"transform"!==e?(n=Or(t,i),n="transformOrigin"!==e?n[e]:n.svg?n.origin:kr(Pd(t,pr))+" "+n.zOrigin+"px"):(n=t.style[e])&&"auto"!==n&&!i&&!~(n+"").indexOf("calc(")||(n=br[e]&&br[e](t,e,r)||Pd(t,e)||ga(t,e)||("opacity"===e?1:0)),r&&!~(n+"").trim().indexOf(" ")?_d(t,e,n,r)+r:n},Tr={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},br={clearProps:function clearProps(t,e,r,i,n){if("isFromStart"!==n.data){var a=t._pt=new _e(t._pt,e,r,0,0,ee);return a.u=i,a.pr=-10,a.tween=n,t._props.push(r),1}}},wr=[1,0,0,1,0,0],xr={},Or=function _parseTransform(t,e){var r=t._gsap||new Vt(t);if("x"in r&&!e&&!r.uncache)return r;var i,n,a,s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w,x,O,k,M,P,C,A,S,z,E,D,R,F=t.style,L=r.scaleX<0,I="deg",B=getComputedStyle(t),Y=Pd(t,pr)||"0";return i=n=a=u=h=l=f=d=c=0,s=o=1,r.svg=!(!t.getCTM||!Wd(t)),B.translate&&("none"===B.translate&&"none"===B.scale&&"none"===B.rotate||(F[cr]=("none"!==B.translate?"translate3d("+(B.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==B.rotate?"rotate("+B.rotate+") ":"")+("none"!==B.scale?"scale("+B.scale.split(" ").join(",")+") ":"")+("none"!==B[cr]?B[cr]:"")),F.scale=F.rotate=F.translate="none"),m=ke(t,r.svg),r.svg&&(M=r.uncache?(P=t.getBBox(),Y=r.xOrigin-P.x+"px "+(r.yOrigin-P.y)+"px",""):!e&&t.getAttribute("data-svg-origin"),le(t,M||Y,!!M||r.originIsAbsolute,false!==r.smooth,m)),p=r.xOrigin||0,_=r.yOrigin||0,m!==wr&&(T=m[0],b=m[1],w=m[2],x=m[3],i=O=m[4],n=k=m[5],6===m.length?(s=Math.sqrt(T*T+b*b),o=Math.sqrt(x*x+w*w),u=T||b?ur(b,T)*sr:0,(f=w||x?ur(w,x)*sr+u:0)&&(o*=Math.abs(Math.cos(f*or))),r.svg&&(i-=p-(p*T+_*w),n-=_-(p*b+_*x))):(R=m[6],E=m[7],A=m[8],S=m[9],z=m[10],D=m[11],i=m[12],n=m[13],a=m[14],h=(g=ur(R,z))*sr,g&&(M=O*(v=Math.cos(-g))+A*(y=Math.sin(-g)),P=k*v+S*y,C=R*v+z*y,A=O*-y+A*v,S=k*-y+S*v,z=R*-y+z*v,D=E*-y+D*v,O=M,k=P,R=C),l=(g=ur(-w,z))*sr,g&&(v=Math.cos(-g),D=x*(y=Math.sin(-g))+D*v,T=M=T*v-A*y,b=P=b*v-S*y,w=C=w*v-z*y),u=(g=ur(b,T))*sr,g&&(M=T*(v=Math.cos(g))+b*(y=Math.sin(g)),P=O*v+k*y,b=b*v-T*y,k=k*v-O*y,T=M,O=P),h&&359.9<Math.abs(h)+Math.abs(u)&&(h=u=0,l=180-l),s=ia(Math.sqrt(T*T+b*b+w*w)),o=ia(Math.sqrt(k*k+R*R)),g=ur(O,k),f=2e-4<Math.abs(g)?g*sr:0,c=D?1/(D<0?-D:D):0),r.svg&&(M=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!ie(Pd(t,cr)),M&&t.setAttribute("transform",M))),90<Math.abs(f)&&Math.abs(f)<270&&(L?(s*=-1,f+=u<=0?180:-180,u+=u<=0?180:-180):(o*=-1,f+=f<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+"px",r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+"px",r.z=a+"px",r.scaleX=ia(s),r.scaleY=ia(o),r.rotation=ia(u)+I,r.rotationX=ia(h)+I,r.rotationY=ia(l)+I,r.skewX=f+I,r.skewY=d+I,r.transformPerspective=c+"px",(r.zOrigin=parseFloat(Y.split(" ")[2])||!e&&r.zOrigin||0)&&(F[pr]=kr(Y)),r.xOffset=r.yOffset=0,r.force3D=q.force3D,r.renderTransform=r.svg?zr:Ye?Sr:Mr,r.uncache=0,r},kr=function _firstTwoOnly(t){return (t=t.split(" "))[0]+" "+t[1]},Mr=function _renderNon3DTransforms(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,Sr(t,e);},Pr="0deg",Cr="0px",Ar=") ",Sr=function _renderCSSTransforms(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,a=r.x,s=r.y,o=r.z,u=r.rotation,h=r.rotationY,l=r.rotationX,f=r.skewX,d=r.skewY,c=r.scaleX,p=r.scaleY,_=r.transformPerspective,m=r.force3D,g=r.target,v=r.zOrigin,y="",T="auto"===m&&t&&1!==t||true===m;if(v&&(l!==Pr||h!==Pr)){var b,w=parseFloat(h)*or,x=Math.sin(w),O=Math.cos(w);w=parseFloat(l)*or,b=Math.cos(w),a=oe(g,a,x*b*-v),s=oe(g,s,-Math.sin(w)*-v),o=oe(g,o,O*b*-v+v);}_!==Cr&&(y+="perspective("+_+Ar),(i||n)&&(y+="translate("+i+"%, "+n+"%) "),!T&&a===Cr&&s===Cr&&o===Cr||(y+=o!==Cr||T?"translate3d("+a+", "+s+", "+o+") ":"translate("+a+", "+s+Ar),u!==Pr&&(y+="rotate("+u+Ar),h!==Pr&&(y+="rotateY("+h+Ar),l!==Pr&&(y+="rotateX("+l+Ar),f===Pr&&d===Pr||(y+="skew("+f+", "+d+Ar),1===c&&1===p||(y+="scale("+c+", "+p+Ar),g.style[cr]=y||"translate(0, 0)";},zr=function _renderSVGTransforms(t,e){var r,i,n,a,s,o=e||this,u=o.xPercent,h=o.yPercent,l=o.x,f=o.y,d=o.rotation,c=o.skewX,p=o.skewY,_=o.scaleX,m=o.scaleY,g=o.target,v=o.xOrigin,y=o.yOrigin,T=o.xOffset,b=o.yOffset,w=o.forceCSS,x=parseFloat(l),O=parseFloat(f);d=parseFloat(d),c=parseFloat(c),(p=parseFloat(p))&&(c+=p=parseFloat(p),d+=p),d||c?(d*=or,c*=or,r=Math.cos(d)*_,i=Math.sin(d)*_,n=Math.sin(d-c)*-m,a=Math.cos(d-c)*m,c&&(p*=or,s=Math.tan(c-p),n*=s=Math.sqrt(1+s*s),a*=s,p&&(s=Math.tan(p),r*=s=Math.sqrt(1+s*s),i*=s)),r=ia(r),i=ia(i),n=ia(n),a=ia(a)):(r=_,a=m,i=n=0),(x&&!~(l+"").indexOf("px")||O&&!~(f+"").indexOf("px"))&&(x=_d(g,"x",l,"px"),O=_d(g,"y",f,"px")),(v||y||T||b)&&(x=ia(x+v-(v*r+y*n)+T),O=ia(O+y-(v*i+y*a)+b)),(u||h)&&(s=g.getBBox(),x=ia(x+u/100*s.width),O=ia(O+h/100*s.height)),s="matrix("+r+","+i+","+n+","+a+","+x+","+O+")",g.setAttribute("transform",s),w&&(g.style[cr]=s);};ha("padding,margin,Width,Radius",function(e,r){var t="Right",i="Bottom",n="Left",o=(r<3?["Top",t,i,n]:["Top"+n,"Top"+t,i+t,i+n]).map(function(t){return r<2?e+t:"border"+t+e});br[1<r?"border"+e:e]=function(e,t,r,i,n){var a,s;if(arguments.length<4)return a=o.map(function(t){return yr(e,t,r)}),5===(s=a.join(" ")).split(a[0]).length?a[0]:s;a=(i+"").split(" "),s={},o.forEach(function(t,e){return s[t]=a[e]=a[e]||a[(e-1)/2|0]}),e.init(t,s,n);};});var Er,Dr,Rr,Fr={name:"css",register:Sd,targetTest:function targetTest(t){return t.style&&t.nodeType},init:function init(t,e,i,n,a){var s,o,u,h,l,f,d,c,p,_,m,g,v,y,T,b,w=this._props,x=t.style,O=i.vars.startAt;for(d in Fe||Sd(),this.styles=this.styles||Md(t),b=this.styles.props,this.tween=i,e)if("autoRound"!==d&&(o=e[d],!pt[d]||!ac(d,e,i,n,t,a)))if(l=typeof o,f=br[d],"function"===l&&(l=typeof(o=o.call(i,n,t,a))),"string"===l&&~o.indexOf("random(")&&(o=ob(o)),f)f(this,t,d,o,i)&&(T=1);else if("--"===d.substr(0,2))s=(getComputedStyle(t).getPropertyValue(d)+"").trim(),o+="",Et.lastIndex=0,Et.test(s)||(c=Ya(s),p=Ya(o)),p?c!==p&&(s=_d(t,d,s,p)+p):c&&(o+=c),this.add(x,"setProperty",s,o,n,a,0,0,d),w.push(d),b.push(d,0,x[d]);else if("undefined"!==l){if(O&&d in O?(s="function"==typeof O[d]?O[d].call(i,n,t,a):O[d],r(s)&&~s.indexOf("random(")&&(s=ob(s)),Ya(s+"")||"auto"===s||(s+=q.units[d]||Ya(yr(t,d))||""),"="===(s+"").charAt(1)&&(s=yr(t,d))):s=yr(t,d),h=parseFloat(s),(_="string"===l&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),u=parseFloat(o),d in dr&&("autoAlpha"===d&&(1===h&&"hidden"===yr(t,"visibility")&&u&&(h=0),b.push("visibility",0,x.visibility),Yd(this,x,"visibility",h?"inherit":"hidden",u?"inherit":"hidden",!u)),"scale"!==d&&"transform"!==d&&~(d=dr[d]).indexOf(",")&&(d=d.split(",")[0])),m=d in ar)if(this.styles.save(d),g||((v=t._gsap).renderTransform&&!e.parseTransform||Or(t,e.parseTransform),y=false!==e.smoothOrigin&&v.smooth,(g=this._pt=new _e(this._pt,x,cr,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===d)this._pt=new _e(this._pt,v,"scaleY",v.scaleY,(_?ka(v.scaleY,_+u):u)-v.scaleY||0,vd),this._pt.u=0,w.push("scaleY",d),d+="X";else {if("transformOrigin"===d){b.push(pr,0,x[pr]),o=de(o),v.svg?le(t,o,0,y,0,this):((p=parseFloat(o.split(" ")[2])||0)!==v.zOrigin&&Yd(this,v,"zOrigin",v.zOrigin,p),Yd(this,x,d,kr(s),kr(o)));continue}if("svgOrigin"===d){le(t,o,1,y,0,this);continue}if(d in xr){ve(this,v,d,h,_?ka(h,_+o):o);continue}if("smoothOrigin"===d){Yd(this,v,"smooth",v.smooth,o);continue}if("force3D"===d){v[d]=o;continue}if("transform"===d){xe(this,o,t);continue}}else d in x||(d=mr(d)||d);if(m||(u||0===u)&&(h||0===h)&&!fr.test(o)&&d in x)u=u||0,(c=(s+"").substr((h+"").length))!==(p=Ya(o)||(d in q.units?q.units[d]:c))&&(h=_d(t,d,s,p)),this._pt=new _e(this._pt,m?v:x,d,h,(_?ka(h,_+u):u)-h,m||"px"!==p&&"zIndex"!==d||false===e.autoRound?vd:yd),this._pt.u=p||0,c!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=xd);else if(d in x)be.call(this,t,d,s,_?_+o:o);else if(d in t)this.add(t,d,s||t[d],_?_+o:o,n,a);else if("parseTransform"!==d){Q(d,o);continue}m||(d in x?b.push(d,0,x[d]):b.push(d,1,s||t[d])),w.push(d);}T&&pe(this);},render:function render(t,e){if(e.tween._time||!Be())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert();},get:yr,aliases:dr,getSetter:function getSetter(t,e,r){var i=dr[e];return i&&i.indexOf(",")<0&&(e=i),e in ar&&e!==pr&&(t._gsap.x||yr(t,"x"))?r&&Ie===r?"scale"===e?Ed:Dd:(Ie=r||{})&&("scale"===e?Fd:Gd):t.style&&!u(t.style[e])?Bd:~e.indexOf("-")?Cd:ne(t,e)},core:{_removeProperty:Xd,_getMatrix:ke}};ze.utils.checkPrefix=mr,ze.core.getStyleSaver=Md,Rr=ha((Er="x,y,z,scale,scaleX,scaleY,xPercent,yPercent")+","+(Dr="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",function(t){ar[t]=1;}),ha(Dr,function(t){q.units[t]="deg",xr[t]=1;}),dr[Rr[13]]=Er+","+Dr,ha("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",function(t){var e=t.split(":");dr[e[1]]=Rr[e[0]];}),ha("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(t){q.units[t]="px";}),ze.registerPlugin(Fr);var Lr=ze.registerPlugin(Fr)||ze,Ir=Lr.core.Tween;e.Back=Ze,e.Bounce=er,e.CSSPlugin=Fr,e.Circ=nr,e.Cubic=Qe,e.Elastic=$e,e.Expo=ir,e.Linear=Ge,e.Power0=qe,e.Power1=Ve,e.Power2=Ue,e.Power3=Xe,e.Power4=Ne,e.Quad=We,e.Quart=Ke,e.Quint=Je,e.Sine=rr,e.SteppedEase=tr,e.Strong=He,e.TimelineLite=Xt,e.TimelineMax=Xt,e.TweenLite=$t,e.TweenMax=Ir,e.default=Lr,e.gsap=Lr;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:true});} else {delete e.default;}});
|
|
54036
54036
|
} (gsap$1, gsap$1.exports));
|
|
54037
54037
|
return gsap$1.exports;
|
|
54038
54038
|
}
|
|
@@ -55632,10 +55632,10 @@ const NeonButton = ({ className = "", ...props }) => {
|
|
|
55632
55632
|
return /* @__PURE__ */ jsx("button", { type: "button", className: cn(styles$47.root, className), ...props, children: "Neon" });
|
|
55633
55633
|
};
|
|
55634
55634
|
|
|
55635
|
-
const root$3Q = "
|
|
55636
|
-
const i$1 = "
|
|
55637
|
-
const noise = "
|
|
55638
|
-
const text$s = "
|
|
55635
|
+
const root$3Q = "_root_19hxp_2";
|
|
55636
|
+
const i$1 = "_i_19hxp_22";
|
|
55637
|
+
const noise = "_noise_19hxp_1";
|
|
55638
|
+
const text$s = "_text_19hxp_482";
|
|
55639
55639
|
const styles$46 = {
|
|
55640
55640
|
root: root$3Q,
|
|
55641
55641
|
i: i$1,
|
|
@@ -60077,7 +60077,7 @@ const StrikethroughCheckbox = ({
|
|
|
60077
60077
|
[styles$39.pristine]: pristine
|
|
60078
60078
|
}),
|
|
60079
60079
|
type: "checkbox",
|
|
60080
|
-
name: typeof children === "string" ? children :
|
|
60080
|
+
name: typeof children === "string" ? children : undefined,
|
|
60081
60081
|
defaultChecked,
|
|
60082
60082
|
onChange: (e) => {
|
|
60083
60083
|
setPristine(false);
|
|
@@ -61506,13 +61506,12 @@ const styles$2S = {
|
|
|
61506
61506
|
gloss: gloss
|
|
61507
61507
|
};
|
|
61508
61508
|
|
|
61509
|
-
const MotionLink = motion.a;
|
|
61510
61509
|
const baseWidth = 48;
|
|
61511
61510
|
const distanceLimit = baseWidth * 5;
|
|
61512
61511
|
const distanceInput = [
|
|
61513
|
-
-
|
|
61514
|
-
-
|
|
61515
|
-
-
|
|
61512
|
+
-240,
|
|
61513
|
+
-240 / 1.25,
|
|
61514
|
+
-240 / 2,
|
|
61516
61515
|
0,
|
|
61517
61516
|
distanceLimit / 2,
|
|
61518
61517
|
distanceLimit / 1.25,
|
|
@@ -61594,18 +61593,25 @@ const DockMotionItem = ({
|
|
|
61594
61593
|
[dynamicWidth, size]
|
|
61595
61594
|
);
|
|
61596
61595
|
const resolvedKey = key + type;
|
|
61597
|
-
const isInteractive = rest.use
|
|
61596
|
+
const isInteractive = rest.use !== "div";
|
|
61598
61597
|
const ContentElement = React.useMemo(() => {
|
|
61598
|
+
if (rest.use && typeof rest.use !== "string") {
|
|
61599
|
+
return motion(rest.use);
|
|
61600
|
+
}
|
|
61599
61601
|
switch (rest.use) {
|
|
61600
61602
|
case "a":
|
|
61601
|
-
return
|
|
61603
|
+
return motion.a;
|
|
61602
61604
|
case "button":
|
|
61603
61605
|
return motion.button;
|
|
61604
61606
|
default:
|
|
61605
61607
|
return motion.div;
|
|
61606
61608
|
}
|
|
61607
61609
|
}, [rest.use]);
|
|
61608
|
-
const linkProps =
|
|
61610
|
+
const linkProps = {
|
|
61611
|
+
href: rest.href,
|
|
61612
|
+
target: rest.target,
|
|
61613
|
+
rel: rest.rel
|
|
61614
|
+
};
|
|
61609
61615
|
const container = /* @__PURE__ */ jsx(
|
|
61610
61616
|
"div",
|
|
61611
61617
|
{
|
|
@@ -61927,7 +61933,7 @@ function requireFlip () {
|
|
|
61927
61933
|
if (hasRequiredFlip) return Flip$1.exports;
|
|
61928
61934
|
hasRequiredFlip = 1;
|
|
61929
61935
|
(function (module, exports) {
|
|
61930
|
-
!function(t,e){e(exports);}(Flip,function(e){function p(t){var e=t.ownerDocument||t;!(w in t.style)&&"msTransform"in t.style&&(k=(w="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(y=window,d=new M,e){a=(g=e).documentElement,b=e.body,(s=g.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var i=e.createElement("div"),n=e.createElement("div"),r=e&&(e.body||e.firstElementChild);r&&r.appendChild&&(r.appendChild(i),i.appendChild(n),i.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),m=n.offsetParent!==i,r.removeChild(i));}return e}function t(){return y.pageYOffset||g.scrollTop||a.scrollTop||b.scrollTop||0}function u(){return y.pageXOffset||g.scrollLeft||a.scrollLeft||b.scrollLeft||0}function v(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)}function x(t,e){if(t.parentNode&&(g||p(t))){var i=v(t),n=i?i.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",r=i?e?"rect":"g":"div",a=2!==e?0:100,s=3===e?100:0,o="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",l=g.createElementNS?g.createElementNS(n.replace(/^https/,"http"),r):g.createElement(r);return e&&(i?(f=f||x(t),l.setAttribute("width",.01),l.setAttribute("height",.01),l.setAttribute("transform","translate("+a+","+s+")"),f.appendChild(l)):(c||((c=x(t)).style.cssText=o),l.style.cssText=o+"width:0.1px;height:0.1px;top:"+s+"px;left:"+a+"px",c.appendChild(l))),l}throw "Need document and parent."}function z(t){var e,i=t.getCTM();return i||(e=t.style[w],t.style[w]="none",t.appendChild(s),i=s.getCTM(),t.removeChild(s),e?t.style[w]=e:t.style.removeProperty(w.replace(/([A-Z])/g,"-$1").toLowerCase())),i||d.clone()}function A(t,e){var i,n,r,a,s,o,l=v(t),u=t===l,p=l?C:E,h=t.parentNode;if(t===y)return t;if(p.length||p.push(x(t,1),x(t,2),x(t,3)),i=l?f:c,l)u?(a=-(r=z(t)).e/r.a,s=-r.f/r.d,n=d):t.getBBox?(r=t.getBBox(),a=(n=(n=t.transform?t.transform.baseVal:{}).numberOfItems?1<n.numberOfItems?function _consolidate(t){for(var e=new M,i=0;i<t.numberOfItems;i++)e.multiply(t.getItem(i).matrix);return e}(n):n.getItem(0).matrix:d).a*r.x+n.c*r.y,s=n.b*r.x+n.d*r.y):(n=new M,a=s=0),e&&"g"===t.tagName.toLowerCase()&&(a=s=0),(u?l:h).appendChild(i),i.setAttribute("transform","matrix("+n.a+","+n.b+","+n.c+","+n.d+","+(n.e+a)+","+(n.f+s)+")");else {if(a=s=0,m)for(n=t.offsetParent,r=t;(r=r&&r.parentNode)&&r!==n&&r.parentNode;)4<(y.getComputedStyle(r)[w]+"").length&&(a=r.offsetLeft,s=r.offsetTop,r=0);if("absolute"!==(o=y.getComputedStyle(t)).position&&"fixed"!==o.position)for(n=t.offsetParent;h&&h!==n;)a+=h.scrollLeft||0,s+=h.scrollTop||0,h=h.parentNode;(r=i.style).top=t.offsetTop-s+"px",r.left=t.offsetLeft-a+"px",r[w]=o[w],r[k]=o[k],r.position="fixed"===o.position?"fixed":"absolute",t.parentNode.appendChild(i);}return i}function B(t,e,i,n,r,a,s){return t.a=e,t.b=i,t.c=n,t.d=r,t.e=a,t.f=s,t}var g,y,a,b,c,f,d,s,m,i,w="transform",k=w+"Origin",C=[],E=[],M=((i=Matrix2D.prototype).inverse=function inverse(){var t=this.a,e=this.b,i=this.c,n=this.d,r=this.e,a=this.f,s=t*n-e*i||1e-10;return B(this,n/s,-e/s,-i/s,t/s,(i*a-n*r)/s,-(t*a-e*r)/s)},i.multiply=function multiply(t){var e=this.a,i=this.b,n=this.c,r=this.d,a=this.e,s=this.f,o=t.a,l=t.c,u=t.b,p=t.d,h=t.e,c=t.f;return B(this,o*e+u*n,o*i+u*r,l*e+p*n,l*i+p*r,a+h*e+c*n,s+h*i+c*r)},i.clone=function clone(){return new Matrix2D(this.a,this.b,this.c,this.d,this.e,this.f)},i.equals=function equals(t){var e=this.a,i=this.b,n=this.c,r=this.d,a=this.e,s=this.f;return e===t.a&&i===t.b&&n===t.c&&r===t.d&&a===t.e&&s===t.f},i.apply=function apply(t,e){void 0===e&&(e={});var i=t.x,n=t.y,r=this.a,a=this.b,s=this.c,o=this.d,l=this.e,u=this.f;return e.x=i*r+n*s+l||0,e.y=i*a+n*o+u||0,e},Matrix2D);function Matrix2D(t,e,i,n,r,a){void 0===t&&(t=1),void 0===e&&(e=0),void 0===i&&(i=0),void 0===n&&(n=1),void 0===r&&(r=0),void 0===a&&(a=0),B(this,t,e,i,n,r,a);}function getGlobalMatrix(e,i,n,r){if(!e||!e.parentNode||(g||p(e)).documentElement===e)return new M;var a=function _forceNonZeroScale(t){for(var e,i;t&&t!==b;)(i=t._gsap)&&i.uncache&&i.get(t,"x"),i&&!i.scaleX&&!i.scaleY&&i.renderTransform&&(i.scaleX=i.scaleY=1e-4,i.renderTransform(1,i),e?e.push(i):e=[i]),t=t.parentNode;return e}(e),s=v(e)?C:E,o=A(e,n),l=s[0].getBoundingClientRect(),h=s[1].getBoundingClientRect(),c=s[2].getBoundingClientRect(),f=o.parentNode,d=!r&&function _isFixed(t){return "fixed"===y.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?_isFixed(t):void 0)}(e),m=new M((h.left-l.left)/100,(h.top-l.top)/100,(c.left-l.left)/100,(c.top-l.top)/100,l.left+(d?0:u()),l.top+(d?0:t()));if(f.removeChild(o),a)for(l=a.length;l--;)(h=a[l]).scaleX=h.scaleY=0,h.renderTransform(1,h);return i?m.inverse():m}function L(t,e){return t.actions.forEach(function(t){return t.vars[e]&&t.vars[e](t)})}function S(t){return "string"==typeof t?t.split(" ").join("").split(","):t}function V(t){return I(t)[0]||console.warn("Element not found:",t)}function W(t){return Math.round(1e4*t)/1e4||0}function X(t,e,i){return t.forEach(function(t){return t.classList[i](e)})}function $(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}function _(t,e){var i,n={};for(i in t)e[i]||(n[i]=t[i]);return n}function ba(t){var e=st[t]=S(t);return et[t]=e.concat(nt),e}function ea(t,e,i){return t.forEach(function(t){return t.d=function _getDOMDepth(t,e,i){void 0===i&&(i=0);for(var n=t.parentNode,r=1e3*Math.pow(10,i)*(e?-1:1),a=e?900*-r:0;t;)a+=r,t=t.previousSibling;return n?a+_getDOMDepth(n,e,i+1):a}(i?t.element:t.t,e)}),t.sort(function(t,e){return t.d-e.d}),t}function fa(t,e){for(var i,n,r=t.element.style,a=t.css=t.css||[],s=e.length;s--;)n=r[i=e[s]]||r.getPropertyValue(i),a.push(n?i:Y[i]||(Y[i]=$(i)),n);return r}function ga(t){var e=t.css,i=t.element.style,n=0;for(t.cache.uncache=1;n<e.length;n+=2)e[n+1]?i[e[n]]=e[n+1]:i.removeProperty(e[n]);!e[e.indexOf("transform")+1]&&i.translate&&(i.removeProperty("translate"),i.removeProperty("scale"),i.removeProperty("rotate"));}function ha(t,e){t.forEach(function(t){return t.a.cache.uncache=1}),e||t.finalStates.forEach(ga);}function ja(e,i,n){var r,a,s,o=e.element,l=e.width,p=e.height,h=e.uncache,c=e.getProp,f=o.style,d=4;if("object"!=typeof i&&(i=e),tt&&1!==n)return tt._abs.push({t:o,b:e,a:e,sd:0}),tt._final.push(function(){return (e.cache.uncache=1)&&ga(e)}),o;for(a="none"===c("display"),e.isVisible&&!a||(a&&(fa(e,["display"]).display=i.display),e.matrix=i.matrix,e.width=l=e.width||i.width,e.height=p=e.height||i.height),fa(e,R),s=window.getComputedStyle(o);d--;)f[R[d]]=s[R[d]];if(f.gridArea="1 / 1 / 1 / 1",f.transition="none",f.position="absolute",f.width=l+"px",f.height=p+"px",f.top||(f.top="0px"),f.left||(f.left="0px"),h)r=new pt(o);else if((r=_(e,D)).position="absolute",e.simple){var m=o.getBoundingClientRect();r.matrix=new M(1,0,0,1,m.left+u(),m.top+t());}else r.matrix=getGlobalMatrix(o,!1,!1,!0);return r=ot(r,e,!0),e.x=P(r.x,.01),e.y=P(r.y,.01),o}function ka(t,e){return !0!==e&&(e=I(e),t=t.filter(function(t){if(-1!==e.indexOf((t.sd<0?t.b:t.a).element))return !0;t.t._gsap.renderTransform(1),t.b.isVisible&&(t.t.style.width=t.b.width+"px",t.t.style.height=t.b.height+"px");})),t}function la(t){return ea(t,!0).forEach(function(t){return (t.a.isVisible||t.b.isVisible)&&ja(t.sd<0?t.b:t.a,t.b,1)})}function pa(t,e){var i,n=t.style||t;for(i in e)n[i]=e[i];}function ra(t){return t.map(function(t){return t.element})}function sa(t,e,i){return t&&e.length&&i.add(t(ra(e),i,new ut(e,0,!0)),0)}function ua(t,e){return t instanceof ut?t:new ut(t,e)}function va(t,e,i){var n=t.idLookup[i],r=t.alt[i];return !r.isVisible||(e.getElementState(r.element)||r).isVisible&&n.isVisible?n:r}function za(t){if(t!==l){var e=o.style,i=o.clientWidth===window.outerWidth,n=o.clientHeight===window.outerHeight,r=4;if(t&&(i||n)){for(;r--;)j[r]=e[H[r]];i&&(e.width=o.clientWidth+"px",e.overflowY="hidden"),n&&(e.height=o.clientHeight+"px",e.overflowX="hidden"),l=t;}else if(l){for(;r--;)j[r]?e[H[r]]=j[r]:e.removeProperty($(H[r]));l=t;}}}function Aa(t,e,r,i){t instanceof ut&&e instanceof ut||console.warn("Not a valid state object.");var a,s,o,l,u,p,h,c,f,n,d,m,g,v,y,x=(r=r||{}).clearProps,b=r.onEnter,w=r.onLeave,S=r.absolute,k=r.absoluteOnLeave,C=r.custom,V=r.delay,E=r.paused,M=r.repeat,B=r.repeatDelay,F=r.yoyo,L=r.toggleClass,I=r.nested,P=r.zIndex,A=r.scale,T=r.fade,O=r.stagger,N=r.spin,D=r.prune,Y=("props"in r?r:t).props,z=_(r,rt),R=Q.timeline({delay:V,paused:E,repeat:M,repeatDelay:B,yoyo:F,data:"isFlip"}),W=z,G=[],j=[],H=[],q=[],$=!0===N?1:N||0,Z="function"==typeof N?N:function(){return $},J=t.interrupted||e.interrupted,U=R[1!==i?"to":"from"];for(s in e.idLookup)d=e.alt[s]?va(e,t,s):e.idLookup[s],u=d.element,n=t.idLookup[s],!t.alt[s]||u!==n.element||!t.alt[s].isVisible&&d.isVisible||(n=t.alt[s]),n?(p={t:u,b:n,a:d,sd:n.element===u?0:d.isVisible?1:-1},H.push(p),p.sd&&(p.sd<0&&(p.b=d,p.a=n),J&&fa(p.b,Y?et[Y]:nt),T&&H.push(p.swap={t:n.element,b:p.b,a:p.a,sd:-p.sd,swap:p})),u._flip=n.element._flip=tt?tt.timeline:R):d.isVisible&&(H.push({t:u,b:_(d,{isVisible:1}),a:d,sd:0,entering:1}),u._flip=tt?tt.timeline:R);Y&&(st[Y]||ba(Y)).forEach(function(e){return z[e]=function(t){return H[t].a.props[e]}}),H.finalStates=f=[],m=function run(){for(ea(H),za(!0),l=0;l<H.length;l++)p=H[l],g=p.a,v=p.b,!D||g.isDifferent(v)||p.entering?(u=p.t,!I||p.sd<0||!l||(g.matrix=getGlobalMatrix(u,!1,!1,!0)),v.isVisible&&g.isVisible?(p.sd<0?(h=new pt(u,Y,t.simple),ot(h,g,A,0,0,h),h.matrix=getGlobalMatrix(u,!1,!1,!0),h.css=p.b.css,p.a=g=h,T&&(u.style.opacity=J?v.opacity:g.opacity),O&&q.push(u)):0<p.sd&&T&&(u.style.opacity=J?g.opacity-v.opacity:"0"),ot(g,v,A,Y)):v.isVisible!==g.isVisible&&(v.isVisible?g.isVisible||(v.css=g.css,j.push(v),H.splice(l--,1),S&&I&&ot(g,v,A,Y)):(g.isVisible&&G.push(g),H.splice(l--,1))),A||(u.style.maxWidth=Math.max(g.width,v.width)+"px",u.style.maxHeight=Math.max(g.height,v.height)+"px",u.style.minWidth=Math.min(g.width,v.width)+"px",u.style.minHeight=Math.min(g.height,v.height)+"px"),I&&L&&u.classList.add(L)):H.splice(l--,1),f.push(g);var e;if(L&&(e=f.map(function(t){return t.element}),I&&e.forEach(function(t){return t.classList.remove(L)})),za(!1),A?(z.scaleX=function(t){return H[t].a.scaleX},z.scaleY=function(t){return H[t].a.scaleY}):(z.width=function(t){return H[t].a.width+"px"},z.height=function(t){return H[t].a.height+"px"},z.autoRound=r.autoRound||!1),z.x=function(t){return H[t].a.x+"px"},z.y=function(t){return H[t].a.y+"px"},z.rotation=function(t){return H[t].a.rotation+(N?360*Z(t,c[t],c):0)},z.skewX=function(t){return H[t].a.skewX},c=H.map(function(t){return t.t}),!P&&0!==P||(z.modifiers={zIndex:function zIndex(){return P}},z.zIndex=P,z.immediateRender=!1!==r.immediateRender),T&&(z.opacity=function(t){return H[t].sd<0?0:0<H[t].sd?H[t].a.opacity:"+=0"}),q.length){O=Q.utils.distribute(O);var i=c.slice(q.length);z.stagger=function(t,e){return O(~q.indexOf(e)?c.indexOf(H[t].swap.t):t,e,i)};}if(it.forEach(function(t){return r[t]&&R.eventCallback(t,r[t],r[t+"Params"])}),C&&c.length)for(s in W=_(z,rt),"scale"in C&&(C.scaleX=C.scaleY=C.scale,delete C.scale),C)(a=_(C[s],at))[s]=z[s],!("duration"in a)&&"duration"in z&&(a.duration=z.duration),a.stagger=z.stagger,U.call(R,c,a,0),delete W[s];(c.length||j.length||G.length)&&(L&&R.add(function(){return X(e,L,R._zTime<0?"remove":"add")},0)&&!E&&X(e,L,"add"),c.length&&U.call(R,c,W,0)),sa(b,G,R),sa(w,j,R);var n=tt&&tt.timeline;n&&(n.add(R,0),tt._final.push(function(){return ha(H,!x)})),o=R.duration(),R.call(function(){var t=R.time()>=o;t&&!n&&ha(H,!x),L&&X(e,L,t?"remove":"add");});},k&&(S=H.filter(function(t){return !t.sd&&!t.a.isVisible&&t.b.isVisible}).map(function(t){return t.a.element})),tt?(S&&(y=tt._abs).push.apply(y,ka(H,S)),tt._run.push(m)):(S&&la(ka(H,S)),m());var K=tt?tt.timeline:R;return K.revert=function(){return lt(K,1,1)},K}function Da(t){for(var e,i=t.idLookup={},n=t.alt={},r=t.elementStates,a=r.length;a--;)i[(e=r[a]).id]?n[e.id]=e:i[e.id]=e;}var I,Q,tt,r,o,P,T,l,n,h=1,F={},O=180/Math.PI,N=Math.PI/180,D={},Y={},et={},it=S("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),nt=S("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),rt={zIndex:1,kill:1,simple:1,spin:1,clearProps:1,targets:1,toggleClass:1,onComplete:1,onUpdate:1,onInterrupt:1,onStart:1,delay:1,repeat:1,repeatDelay:1,yoyo:1,scale:1,fade:1,absolute:1,props:1,onEnter:1,onLeave:1,custom:1,paused:1,nested:1,prune:1,absoluteOnLeave:1},at={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},st={},R="paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","),G=function _parseElementState(t,e,i,n){return t instanceof pt?t:t instanceof ut?function _findElStateInState(t,e){return e&&t.idLookup[G(e).id]||t.elementStates[0]}(t,n):new pt("string"==typeof t?V(t)||console.warn(t+" not found"):t,e,i)},ot=function _fit(t,e,i,n,r,a){var s,o,l,u,p,h,c,f=t.element,d=t.cache,m=t.parent,g=t.x,v=t.y,y=e.width,x=e.height,b=e.scaleX,w=e.scaleY,S=e.rotation,k=e.bounds,_=a&&T&&T(f,"transform"),C=t,V=e.matrix,E=V.e,M=V.f,B=t.bounds.width!==k.width||t.bounds.height!==k.height||t.scaleX!==b||t.scaleY!==w||t.rotation!==S,F=!B&&t.simple&&e.simple&&!r;return F||!m?(b=w=1,S=s=0):(h=(p=function _getInverseGlobalMatrix(t){var e=t._gsap||Q.core.getCache(t);return e.gmCache===Q.ticker.frame?e.gMatrix:(e.gmCache=Q.ticker.frame,e.gMatrix=getGlobalMatrix(t,!0,!1,!0))}(m)).clone().multiply(e.ctm?e.matrix.clone().multiply(e.ctm):e.matrix),S=W(Math.atan2(h.b,h.a)*O),s=W(Math.atan2(h.c,h.d)*O+S)%360,b=Math.sqrt(Math.pow(h.a,2)+Math.pow(h.b,2)),w=Math.sqrt(Math.pow(h.c,2)+Math.pow(h.d,2))*Math.cos(s*N),r&&(r=I(r)[0],u=Q.getProperty(r),c=r.getBBox&&"function"==typeof r.getBBox&&r.getBBox(),C={scaleX:u("scaleX"),scaleY:u("scaleY"),width:c?c.width:Math.ceil(parseFloat(u("width","px"))),height:c?c.height:parseFloat(u("height","px"))}),d.rotation=S+"deg",d.skewX=s+"deg"),i?(b*=y!==C.width&&C.width?y/C.width:1,w*=x!==C.height&&C.height?x/C.height:1,d.scaleX=b,d.scaleY=w):(y=P(y*b/C.scaleX,0),x=P(x*w/C.scaleY,0),f.style.width=y+"px",f.style.height=x+"px"),n&&pa(f,e.props),F||!m?(g+=E-t.matrix.e,v+=M-t.matrix.f):B||m!==e.parent?(d.renderTransform(1,d),h=getGlobalMatrix(r||f,!1,!1,!0),o=p.apply({x:h.e,y:h.f}),g+=(l=p.apply({x:E,y:M})).x-o.x,v+=l.y-o.y):(p.e=p.f=0,g+=(l=p.apply({x:E-t.matrix.e,y:M-t.matrix.f})).x,v+=l.y),g=P(g,.02),v=P(v,.02),!a||a instanceof pt?(d.x=g+"px",d.y=v+"px",d.renderTransform(1,d)):_&&_.revert(),a&&(a.x=g,a.y=v,a.rotation=S,a.skewX=s,i?(a.scaleX=b,a.scaleY=w):(a.width=y,a.height=x)),a||d},j=[],H="width,height,overflowX,overflowY".split(","),lt=function _killFlip(t,e,i){if(t&&t.progress()<1&&(!t.paused()||i))return e&&(function _interrupt(t){t.vars.onInterrupt&&t.vars.onInterrupt.apply(t,t.vars.onInterruptParams||[]),t.getChildren(!0,!1,!0).forEach(_interrupt);}(t),e<2&&t.progress(1),t.kill()),!0},ut=((n=FlipState.prototype).update=function update(t){var e=this;return this.elementStates=this.targets.map(function(t){return new pt(t,e.props,e.simple)}),Da(this),this.interrupt(t),this.recordInlineStyles(),this},n.clear=function clear(){return this.targets.length=this.elementStates.length=0,Da(this),this},n.fit=function fit(t,e,i){for(var n,r,a=ea(this.elementStates.slice(0),!1,!0),s=(t||this).idLookup,o=0;o<a.length;o++)n=a[o],i&&(n.matrix=getGlobalMatrix(n.element,!1,!1,!0)),(r=s[n.id])&&ot(n,r,e,!0,0,n),n.matrix=getGlobalMatrix(n.element,!1,!1,!0);return this},n.getProperty=function getProperty(t,e){var i=this.getElementState(t)||D;return (e in i?i:i.props||D)[e]},n.add=function add(t){for(var e,i,n,r=t.targets.length,a=this.idLookup,s=this.alt;r--;)(n=a[(i=t.elementStates[r]).id])&&(i.element===n.element||s[i.id]&&s[i.id].element===i.element)?(e=this.elementStates.indexOf(i.element===n.element?n:s[i.id]),this.targets.splice(e,1,t.targets[r]),this.elementStates.splice(e,1,i)):(this.targets.push(t.targets[r]),this.elementStates.push(i));return t.interrupted&&(this.interrupted=!0),t.simple||(this.simple=!1),Da(this),this},n.compare=function compare(t){function kh(t,e,i){return (t.isVisible!==e.isVisible?t.isVisible?f:d:t.isVisible?c:h).push(i)&&m.push(i)}function lh(t,e,i){return m.indexOf(i)<0&&kh(t,e,i)}var e,i,n,r,a,s,o,l,u=t.idLookup,p=this.idLookup,h=[],c=[],f=[],d=[],m=[],g=t.alt,v=this.alt;for(n in u)a=g[n],s=v[n],r=(e=a?va(t,this,n):u[n]).element,i=p[n],s?(l=i.isVisible||!s.isVisible&&r===i.element?i:s,(o=!a||e.isVisible||a.isVisible||l.element!==a.element?e:a).isVisible&&l.isVisible&&o.element!==l.element?((o.isDifferent(l)?c:h).push(o.element,l.element),m.push(o.element,l.element)):kh(o,l,o.element),a&&o.element===a.element&&(a=u[n]),lh(o.element!==i.element&&a?a:o,i,i.element),lh(a&&a.element===s.element?a:o,s,s.element),a&&lh(a,s.element===a.element?s:i,a.element)):(i?i.isDifferent(e)?kh(e,i,r):h.push(r):f.push(r),a&&lh(a,i,a.element));for(n in p)u[n]||(d.push(p[n].element),v[n]&&d.push(v[n].element));return {changed:c,unchanged:h,enter:f,leave:d}},n.recordInlineStyles=function recordInlineStyles(){for(var t=et[this.props]||nt,e=this.elementStates.length;e--;)fa(this.elementStates[e],t);},n.interrupt=function interrupt(n){var r=this,a=[];this.targets.forEach(function(t){var e=t._flip,i=lt(e,n?0:1);n&&i&&a.indexOf(e)<0&&e.add(function(){return r.updateVisibility()}),i&&a.push(e);}),!n&&a.length&&this.updateVisibility(),this.interrupted||(this.interrupted=!!a.length);},n.updateVisibility=function updateVisibility(){this.elementStates.forEach(function(t){var e=t.element.getBoundingClientRect();t.isVisible=!!(e.width||e.height||e.top||e.left),t.uncache=1;});},n.getElementState=function getElementState(t){return this.elementStates[this.targets.indexOf(V(t))]},n.makeAbsolute=function makeAbsolute(){return ea(this.elementStates.slice(0),!0,!0).map(ja)},FlipState);function FlipState(t,e,i){if(this.props=e&&e.props,this.simple=!(!e||!e.simple),i)this.targets=ra(t),this.elementStates=t,Da(this);else {this.targets=I(t);var n=e&&(!1===e.kill||e.batch&&!e.kill);tt&&!n&&tt._kill.push(this),this.update(n||!!tt);}}var q,pt=((q=ElementState.prototype).isDifferent=function isDifferent(t){var e=this.bounds,i=t.bounds;return e.top!==i.top||e.left!==i.left||e.width!==i.width||e.height!==i.height||!this.matrix.equals(t.matrix)||this.opacity!==t.opacity||this.props&&t.props&&JSON.stringify(this.props)!==JSON.stringify(t.props)},q.update=function update(e,i){var n=this,r=n.element,a=Q.getProperty(r),s=Q.core.getCache(r),o=r.getBoundingClientRect(),l=r.getBBox&&"function"==typeof r.getBBox&&"svg"!==r.nodeName.toLowerCase()&&r.getBBox(),p=i?new M(1,0,0,1,o.left+u(),o.top+t()):getGlobalMatrix(r,!1,!1,!0);n.getProp=a,n.element=r,n.id=function _getID(t){var e=t.getAttribute("data-flip-id");return e||t.setAttribute("data-flip-id",e="auto-"+h++),e}(r),n.matrix=p,n.cache=s,n.bounds=o,n.isVisible=!!(o.width||o.height||o.left||o.top),n.display=a("display"),n.position=a("position"),n.parent=r.parentNode,n.x=a("x"),n.y=a("y"),n.scaleX=s.scaleX,n.scaleY=s.scaleY,n.rotation=a("rotation"),n.skewX=a("skewX"),n.opacity=a("opacity"),n.width=l?l.width:P(a("width","px"),.04),n.height=l?l.height:P(a("height","px"),.04),e&&function _recordProps(t,e){for(var i=Q.getProperty(t.element,null,"native"),n=t.props={},r=e.length;r--;)n[e[r]]=(i(e[r])+"").trim();n.zIndex&&(n.zIndex=parseFloat(n.zIndex)||0);}(n,st[e]||ba(e)),n.ctm=r.getCTM&&"svg"===r.nodeName.toLowerCase()&&z(r).inverse(),n.simple=i||1===W(p.a)&&!W(p.b)&&!W(p.c)&&1===W(p.d),n.uncache=0;},ElementState);function ElementState(t,e,i){this.element=t,this.update(e,i);}var Z,J=((Z=FlipAction.prototype).getStateById=function getStateById(t){for(var e=this.states.length;e--;)if(this.states[e].idLookup[t])return this.states[e]},Z.kill=function kill(){this.batch.remove(this);},FlipAction);function FlipAction(t,e){this.vars=t,this.batch=e,this.states=[],this.timeline=e.timeline;}var U,K=((U=FlipBatch.prototype).add=function add(e){var t=this.actions.filter(function(t){return t.vars===e});return t.length?t[0]:(t=new J("function"==typeof e?{animate:e}:e,this),this.actions.push(t),t)},U.remove=function remove(t){var e=this.actions.indexOf(t);return 0<=e&&this.actions.splice(e,1),this},U.getState=function getState(e){var i=this,t=tt,n=r;return (tt=this).state.clear(),this._kill.length=0,this.actions.forEach(function(t){t.vars.getState&&(t.states.length=0,(r=t).state=t.vars.getState(t)),e&&t.states.forEach(function(t){return i.state.add(t)});}),r=n,tt=t,this.killConflicts(),this},U.animate=function animate(){var t,e,i=this,n=tt,r=this.timeline,a=this.actions.length;for(tt=this,r.clear(),this._abs.length=this._final.length=this._run.length=0,this.actions.forEach(function(t){t.vars.animate&&t.vars.animate(t);var e,i,n=t.vars.onEnter,r=t.vars.onLeave,a=t.targets;a&&a.length&&(n||r)&&(e=new ut,t.states.forEach(function(t){return e.add(t)}),(i=e.compare(ht.getState(a))).enter.length&&n&&n(i.enter),i.leave.length&&r&&r(i.leave));}),la(this._abs),this._run.forEach(function(t){return t()}),e=r.duration(),t=this._final.slice(0),r.add(function(){e<=r.time()&&(t.forEach(function(t){return t()}),L(i,"onComplete"));}),tt=n;a--;)this.actions[a].vars.once&&this.actions[a].kill();return L(this,"onStart"),r.restart(),this},U.loadState=function loadState(n){n=n||function done(){return 0};var r=[];return this.actions.forEach(function(e){if(e.vars.loadState){var i,t=function f(t){t&&(e.targets=t),~(i=r.indexOf(f))&&(r.splice(i,1),r.length||n());};r.push(t),e.vars.loadState(t);}}),r.length||n(),this},U.setState=function setState(){return this.actions.forEach(function(t){return t.targets=t.vars.setState&&t.vars.setState(t)}),this},U.killConflicts=function killConflicts(e){return this.state.interrupt(e),this._kill.forEach(function(t){return t.interrupt(e)}),this},U.run=function run(t,e){var i=this;return this!==tt&&(t||this.getState(e),this.loadState(function(){i._killed||(i.setState(),i.animate());})),this},U.clear=function clear(t){this.state.clear(),t||(this.actions.length=0);},U.getStateById=function getStateById(t){for(var e,i=this.actions.length;i--;)if(e=this.actions[i].getStateById(t))return e;return this.state.idLookup[t]&&this.state},U.kill=function kill(){this._killed=1,this.clear(),delete F[this.id];},FlipBatch);function FlipBatch(t){this.id=t,this.actions=[],this._kill=[],this._final=[],this._abs=[],this._run=[],this.data={},this.state=new ut,this.timeline=Q.timeline();}var ht=(Flip.getState=function getState(t,e){var i=ua(t,e);return r&&r.states.push(i),e&&e.batch&&Flip.batch(e.batch).state.add(i),i},Flip.from=function from(t,e){return "clearProps"in(e=e||{})||(e.clearProps=!0),Aa(t,ua(e.targets||t.targets,{props:e.props||t.props,simple:e.simple,kill:!!e.kill}),e,-1)},Flip.to=function to(t,e){return Aa(t,ua(e.targets||t.targets,{props:e.props||t.props,simple:e.simple,kill:!!e.kill}),e,1)},Flip.fromTo=function fromTo(t,e,i){return Aa(t,e,i)},Flip.fit=function fit(t,e,i){var n=i?_(i,at):{},r=i||n,a=r.absolute,s=r.scale,o=r.getVars,l=r.props,u=r.runBackwards,p=r.onComplete,h=r.simple,c=i&&i.fitChild&&V(i.fitChild),f=G(e,l,h,t),d=G(t,0,h,f),m=l?et[l]:nt,g=Q.context();return l&&pa(n,f.props),fa(d,m),u&&("immediateRender"in n||(n.immediateRender=!0),n.onComplete=function(){ga(d),p&&p.apply(this,arguments);}),a&&ja(d,f),n=ot(d,f,s||c,l,c,n.duration||o?n:0),g&&!o&&g.add(function(){return function(){return ga(d)}}),o?n:n.duration?Q.to(d.element,n):null},Flip.makeAbsolute=function makeAbsolute(t,e){return (t instanceof ut?t:new ut(t,e)).makeAbsolute()},Flip.batch=function batch(t){return F[t=t||"default"]||(F[t]=new K(t))},Flip.killFlipsOf=function killFlipsOf(t,e){(t instanceof ut?t.targets:I(t)).forEach(function(t){return t&<(t._flip,!1!==e?1:2)});},Flip.isFlipping=function isFlipping(t){var e=Flip.getByTarget(t);return !!e&&e.isActive()},Flip.getByTarget=function getByTarget(t){return (V(t)||D)._flip},Flip.getElementState=function getElementState(t,e){return new pt(V(t),e)},Flip.convertCoordinates=function convertCoordinates(t,e,i){var n=getGlobalMatrix(e,!0,!0).multiply(getGlobalMatrix(t));return i?n.apply(i):n},Flip.register=function register(t){if(o="undefined"!=typeof document&&document.body){Q=t,p(o),I=Q.utils.toArray,T=Q.core.getStyleSaver;var i=Q.utils.snap(.1);P=function _closestTenth(t,e){return i(parseFloat(t)+e)};}},Flip);function Flip(){}ht.version="3.12.5","undefined"!=typeof window&&window.gsap&&window.gsap.registerPlugin(ht),e.Flip=ht,e.default=ht;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:!0});} else {delete e.default;}});
|
|
61936
|
+
!function(t,e){e(exports);}(Flip,function(e){function p(t){var e=t.ownerDocument||t;!(w in t.style)&&"msTransform"in t.style&&(k=(w="msTransform")+"Origin");for(;e.parentNode&&(e=e.parentNode););if(y=window,d=new M,e){a=(g=e).documentElement,b=e.body,(s=g.createElementNS("http://www.w3.org/2000/svg","g")).style.transform="none";var i=e.createElement("div"),n=e.createElement("div"),r=e&&(e.body||e.firstElementChild);r&&r.appendChild&&(r.appendChild(i),i.appendChild(n),i.setAttribute("style","position:static;transform:translate3d(0,0,1px)"),m=n.offsetParent!==i,r.removeChild(i));}return e}function t(){return y.pageYOffset||g.scrollTop||a.scrollTop||b.scrollTop||0}function u(){return y.pageXOffset||g.scrollLeft||a.scrollLeft||b.scrollLeft||0}function v(t){return t.ownerSVGElement||("svg"===(t.tagName+"").toLowerCase()?t:null)}function x(t,e){if(t.parentNode&&(g||p(t))){var i=v(t),n=i?i.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",r=i?e?"rect":"g":"div",a=2!==e?0:100,s=3===e?100:0,o="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",l=g.createElementNS?g.createElementNS(n.replace(/^https/,"http"),r):g.createElement(r);return e&&(i?(f=f||x(t),l.setAttribute("width",.01),l.setAttribute("height",.01),l.setAttribute("transform","translate("+a+","+s+")"),f.appendChild(l)):(c||((c=x(t)).style.cssText=o),l.style.cssText=o+"width:0.1px;height:0.1px;top:"+s+"px;left:"+a+"px",c.appendChild(l))),l}throw "Need document and parent."}function z(t){var e,i=t.getCTM();return i||(e=t.style[w],t.style[w]="none",t.appendChild(s),i=s.getCTM(),t.removeChild(s),e?t.style[w]=e:t.style.removeProperty(w.replace(/([A-Z])/g,"-$1").toLowerCase())),i||d.clone()}function A(t,e){var i,n,r,a,s,o,l=v(t),u=t===l,p=l?C:E,h=t.parentNode;if(t===y)return t;if(p.length||p.push(x(t,1),x(t,2),x(t,3)),i=l?f:c,l)u?(a=-(r=z(t)).e/r.a,s=-r.f/r.d,n=d):t.getBBox?(r=t.getBBox(),a=(n=(n=t.transform?t.transform.baseVal:{}).numberOfItems?1<n.numberOfItems?function _consolidate(t){for(var e=new M,i=0;i<t.numberOfItems;i++)e.multiply(t.getItem(i).matrix);return e}(n):n.getItem(0).matrix:d).a*r.x+n.c*r.y,s=n.b*r.x+n.d*r.y):(n=new M,a=s=0),e&&"g"===t.tagName.toLowerCase()&&(a=s=0),(u?l:h).appendChild(i),i.setAttribute("transform","matrix("+n.a+","+n.b+","+n.c+","+n.d+","+(n.e+a)+","+(n.f+s)+")");else {if(a=s=0,m)for(n=t.offsetParent,r=t;(r=r&&r.parentNode)&&r!==n&&r.parentNode;)4<(y.getComputedStyle(r)[w]+"").length&&(a=r.offsetLeft,s=r.offsetTop,r=0);if("absolute"!==(o=y.getComputedStyle(t)).position&&"fixed"!==o.position)for(n=t.offsetParent;h&&h!==n;)a+=h.scrollLeft||0,s+=h.scrollTop||0,h=h.parentNode;(r=i.style).top=t.offsetTop-s+"px",r.left=t.offsetLeft-a+"px",r[w]=o[w],r[k]=o[k],r.position="fixed"===o.position?"fixed":"absolute",t.parentNode.appendChild(i);}return i}function B(t,e,i,n,r,a,s){return t.a=e,t.b=i,t.c=n,t.d=r,t.e=a,t.f=s,t}var g,y,a,b,c,f,d,s,m,i,w="transform",k=w+"Origin",C=[],E=[],M=((i=Matrix2D.prototype).inverse=function inverse(){var t=this.a,e=this.b,i=this.c,n=this.d,r=this.e,a=this.f,s=t*n-e*i||1e-10;return B(this,n/s,-e/s,-i/s,t/s,(i*a-n*r)/s,-(t*a-e*r)/s)},i.multiply=function multiply(t){var e=this.a,i=this.b,n=this.c,r=this.d,a=this.e,s=this.f,o=t.a,l=t.c,u=t.b,p=t.d,h=t.e,c=t.f;return B(this,o*e+u*n,o*i+u*r,l*e+p*n,l*i+p*r,a+h*e+c*n,s+h*i+c*r)},i.clone=function clone(){return new Matrix2D(this.a,this.b,this.c,this.d,this.e,this.f)},i.equals=function equals(t){var e=this.a,i=this.b,n=this.c,r=this.d,a=this.e,s=this.f;return e===t.a&&i===t.b&&n===t.c&&r===t.d&&a===t.e&&s===t.f},i.apply=function apply(t,e){ undefined===e&&(e={});var i=t.x,n=t.y,r=this.a,a=this.b,s=this.c,o=this.d,l=this.e,u=this.f;return e.x=i*r+n*s+l||0,e.y=i*a+n*o+u||0,e},Matrix2D);function Matrix2D(t,e,i,n,r,a){ undefined===t&&(t=1),undefined===e&&(e=0),undefined===i&&(i=0),undefined===n&&(n=1),undefined===r&&(r=0),undefined===a&&(a=0),B(this,t,e,i,n,r,a);}function getGlobalMatrix(e,i,n,r){if(!e||!e.parentNode||(g||p(e)).documentElement===e)return new M;var a=function _forceNonZeroScale(t){for(var e,i;t&&t!==b;)(i=t._gsap)&&i.uncache&&i.get(t,"x"),i&&!i.scaleX&&!i.scaleY&&i.renderTransform&&(i.scaleX=i.scaleY=1e-4,i.renderTransform(1,i),e?e.push(i):e=[i]),t=t.parentNode;return e}(e),s=v(e)?C:E,o=A(e,n),l=s[0].getBoundingClientRect(),h=s[1].getBoundingClientRect(),c=s[2].getBoundingClientRect(),f=o.parentNode,d=!r&&function _isFixed(t){return "fixed"===y.getComputedStyle(t).position||((t=t.parentNode)&&1===t.nodeType?_isFixed(t):undefined)}(e),m=new M((h.left-l.left)/100,(h.top-l.top)/100,(c.left-l.left)/100,(c.top-l.top)/100,l.left+(d?0:u()),l.top+(d?0:t()));if(f.removeChild(o),a)for(l=a.length;l--;)(h=a[l]).scaleX=h.scaleY=0,h.renderTransform(1,h);return i?m.inverse():m}function L(t,e){return t.actions.forEach(function(t){return t.vars[e]&&t.vars[e](t)})}function S(t){return "string"==typeof t?t.split(" ").join("").split(","):t}function V(t){return I(t)[0]||console.warn("Element not found:",t)}function W(t){return Math.round(1e4*t)/1e4||0}function X(t,e,i){return t.forEach(function(t){return t.classList[i](e)})}function $(t){return t.replace(/([A-Z])/g,"-$1").toLowerCase()}function _(t,e){var i,n={};for(i in t)e[i]||(n[i]=t[i]);return n}function ba(t){var e=st[t]=S(t);return et[t]=e.concat(nt),e}function ea(t,e,i){return t.forEach(function(t){return t.d=function _getDOMDepth(t,e,i){ undefined===i&&(i=0);for(var n=t.parentNode,r=1e3*Math.pow(10,i)*(e?-1:1),a=e?900*-r:0;t;)a+=r,t=t.previousSibling;return n?a+_getDOMDepth(n,e,i+1):a}(i?t.element:t.t,e)}),t.sort(function(t,e){return t.d-e.d}),t}function fa(t,e){for(var i,n,r=t.element.style,a=t.css=t.css||[],s=e.length;s--;)n=r[i=e[s]]||r.getPropertyValue(i),a.push(n?i:Y[i]||(Y[i]=$(i)),n);return r}function ga(t){var e=t.css,i=t.element.style,n=0;for(t.cache.uncache=1;n<e.length;n+=2)e[n+1]?i[e[n]]=e[n+1]:i.removeProperty(e[n]);!e[e.indexOf("transform")+1]&&i.translate&&(i.removeProperty("translate"),i.removeProperty("scale"),i.removeProperty("rotate"));}function ha(t,e){t.forEach(function(t){return t.a.cache.uncache=1}),e||t.finalStates.forEach(ga);}function ja(e,i,n){var r,a,s,o=e.element,l=e.width,p=e.height,h=e.uncache,c=e.getProp,f=o.style,d=4;if("object"!=typeof i&&(i=e),tt&&1!==n)return tt._abs.push({t:o,b:e,a:e,sd:0}),tt._final.push(function(){return (e.cache.uncache=1)&&ga(e)}),o;for(a="none"===c("display"),e.isVisible&&!a||(a&&(fa(e,["display"]).display=i.display),e.matrix=i.matrix,e.width=l=e.width||i.width,e.height=p=e.height||i.height),fa(e,R),s=window.getComputedStyle(o);d--;)f[R[d]]=s[R[d]];if(f.gridArea="1 / 1 / 1 / 1",f.transition="none",f.position="absolute",f.width=l+"px",f.height=p+"px",f.top||(f.top="0px"),f.left||(f.left="0px"),h)r=new pt(o);else if((r=_(e,D)).position="absolute",e.simple){var m=o.getBoundingClientRect();r.matrix=new M(1,0,0,1,m.left+u(),m.top+t());}else r.matrix=getGlobalMatrix(o,false,false,true);return r=ot(r,e,true),e.x=P(r.x,.01),e.y=P(r.y,.01),o}function ka(t,e){return true!==e&&(e=I(e),t=t.filter(function(t){if(-1!==e.indexOf((t.sd<0?t.b:t.a).element))return true;t.t._gsap.renderTransform(1),t.b.isVisible&&(t.t.style.width=t.b.width+"px",t.t.style.height=t.b.height+"px");})),t}function la(t){return ea(t,true).forEach(function(t){return (t.a.isVisible||t.b.isVisible)&&ja(t.sd<0?t.b:t.a,t.b,1)})}function pa(t,e){var i,n=t.style||t;for(i in e)n[i]=e[i];}function ra(t){return t.map(function(t){return t.element})}function sa(t,e,i){return t&&e.length&&i.add(t(ra(e),i,new ut(e,0,true)),0)}function ua(t,e){return t instanceof ut?t:new ut(t,e)}function va(t,e,i){var n=t.idLookup[i],r=t.alt[i];return !r.isVisible||(e.getElementState(r.element)||r).isVisible&&n.isVisible?n:r}function za(t){if(t!==l){var e=o.style,i=o.clientWidth===window.outerWidth,n=o.clientHeight===window.outerHeight,r=4;if(t&&(i||n)){for(;r--;)j[r]=e[H[r]];i&&(e.width=o.clientWidth+"px",e.overflowY="hidden"),n&&(e.height=o.clientHeight+"px",e.overflowX="hidden"),l=t;}else if(l){for(;r--;)j[r]?e[H[r]]=j[r]:e.removeProperty($(H[r]));l=t;}}}function Aa(t,e,r,i){t instanceof ut&&e instanceof ut||console.warn("Not a valid state object.");var a,s,o,l,u,p,h,c,f,n,d,m,g,v,y,x=(r=r||{}).clearProps,b=r.onEnter,w=r.onLeave,S=r.absolute,k=r.absoluteOnLeave,C=r.custom,V=r.delay,E=r.paused,M=r.repeat,B=r.repeatDelay,F=r.yoyo,L=r.toggleClass,I=r.nested,P=r.zIndex,A=r.scale,T=r.fade,O=r.stagger,N=r.spin,D=r.prune,Y=("props"in r?r:t).props,z=_(r,rt),R=Q.timeline({delay:V,paused:E,repeat:M,repeatDelay:B,yoyo:F,data:"isFlip"}),W=z,G=[],j=[],H=[],q=[],$=true===N?1:N||0,Z="function"==typeof N?N:function(){return $},J=t.interrupted||e.interrupted,U=R[1!==i?"to":"from"];for(s in e.idLookup)d=e.alt[s]?va(e,t,s):e.idLookup[s],u=d.element,n=t.idLookup[s],!t.alt[s]||u!==n.element||!t.alt[s].isVisible&&d.isVisible||(n=t.alt[s]),n?(p={t:u,b:n,a:d,sd:n.element===u?0:d.isVisible?1:-1},H.push(p),p.sd&&(p.sd<0&&(p.b=d,p.a=n),J&&fa(p.b,Y?et[Y]:nt),T&&H.push(p.swap={t:n.element,b:p.b,a:p.a,sd:-p.sd,swap:p})),u._flip=n.element._flip=tt?tt.timeline:R):d.isVisible&&(H.push({t:u,b:_(d,{isVisible:1}),a:d,sd:0,entering:1}),u._flip=tt?tt.timeline:R);Y&&(st[Y]||ba(Y)).forEach(function(e){return z[e]=function(t){return H[t].a.props[e]}}),H.finalStates=f=[],m=function run(){for(ea(H),za(true),l=0;l<H.length;l++)p=H[l],g=p.a,v=p.b,!D||g.isDifferent(v)||p.entering?(u=p.t,!I||p.sd<0||!l||(g.matrix=getGlobalMatrix(u,false,false,true)),v.isVisible&&g.isVisible?(p.sd<0?(h=new pt(u,Y,t.simple),ot(h,g,A,0,0,h),h.matrix=getGlobalMatrix(u,false,false,true),h.css=p.b.css,p.a=g=h,T&&(u.style.opacity=J?v.opacity:g.opacity),O&&q.push(u)):0<p.sd&&T&&(u.style.opacity=J?g.opacity-v.opacity:"0"),ot(g,v,A,Y)):v.isVisible!==g.isVisible&&(v.isVisible?g.isVisible||(v.css=g.css,j.push(v),H.splice(l--,1),S&&I&&ot(g,v,A,Y)):(g.isVisible&&G.push(g),H.splice(l--,1))),A||(u.style.maxWidth=Math.max(g.width,v.width)+"px",u.style.maxHeight=Math.max(g.height,v.height)+"px",u.style.minWidth=Math.min(g.width,v.width)+"px",u.style.minHeight=Math.min(g.height,v.height)+"px"),I&&L&&u.classList.add(L)):H.splice(l--,1),f.push(g);var e;if(L&&(e=f.map(function(t){return t.element}),I&&e.forEach(function(t){return t.classList.remove(L)})),za(false),A?(z.scaleX=function(t){return H[t].a.scaleX},z.scaleY=function(t){return H[t].a.scaleY}):(z.width=function(t){return H[t].a.width+"px"},z.height=function(t){return H[t].a.height+"px"},z.autoRound=r.autoRound||false),z.x=function(t){return H[t].a.x+"px"},z.y=function(t){return H[t].a.y+"px"},z.rotation=function(t){return H[t].a.rotation+(N?360*Z(t,c[t],c):0)},z.skewX=function(t){return H[t].a.skewX},c=H.map(function(t){return t.t}),!P&&0!==P||(z.modifiers={zIndex:function zIndex(){return P}},z.zIndex=P,z.immediateRender=false!==r.immediateRender),T&&(z.opacity=function(t){return H[t].sd<0?0:0<H[t].sd?H[t].a.opacity:"+=0"}),q.length){O=Q.utils.distribute(O);var i=c.slice(q.length);z.stagger=function(t,e){return O(~q.indexOf(e)?c.indexOf(H[t].swap.t):t,e,i)};}if(it.forEach(function(t){return r[t]&&R.eventCallback(t,r[t],r[t+"Params"])}),C&&c.length)for(s in W=_(z,rt),"scale"in C&&(C.scaleX=C.scaleY=C.scale,delete C.scale),C)(a=_(C[s],at))[s]=z[s],!("duration"in a)&&"duration"in z&&(a.duration=z.duration),a.stagger=z.stagger,U.call(R,c,a,0),delete W[s];(c.length||j.length||G.length)&&(L&&R.add(function(){return X(e,L,R._zTime<0?"remove":"add")},0)&&!E&&X(e,L,"add"),c.length&&U.call(R,c,W,0)),sa(b,G,R),sa(w,j,R);var n=tt&&tt.timeline;n&&(n.add(R,0),tt._final.push(function(){return ha(H,!x)})),o=R.duration(),R.call(function(){var t=R.time()>=o;t&&!n&&ha(H,!x),L&&X(e,L,t?"remove":"add");});},k&&(S=H.filter(function(t){return !t.sd&&!t.a.isVisible&&t.b.isVisible}).map(function(t){return t.a.element})),tt?(S&&(y=tt._abs).push.apply(y,ka(H,S)),tt._run.push(m)):(S&&la(ka(H,S)),m());var K=tt?tt.timeline:R;return K.revert=function(){return lt(K,1,1)},K}function Da(t){for(var e,i=t.idLookup={},n=t.alt={},r=t.elementStates,a=r.length;a--;)i[(e=r[a]).id]?n[e.id]=e:i[e.id]=e;}var I,Q,tt,r,o,P,T,l,n,h=1,F={},O=180/Math.PI,N=Math.PI/180,D={},Y={},et={},it=S("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),nt=S("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),rt={zIndex:1,kill:1,simple:1,spin:1,clearProps:1,targets:1,toggleClass:1,onComplete:1,onUpdate:1,onInterrupt:1,onStart:1,delay:1,repeat:1,repeatDelay:1,yoyo:1,scale:1,fade:1,absolute:1,props:1,onEnter:1,onLeave:1,custom:1,paused:1,nested:1,prune:1,absoluteOnLeave:1},at={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},st={},R="paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","),G=function _parseElementState(t,e,i,n){return t instanceof pt?t:t instanceof ut?function _findElStateInState(t,e){return e&&t.idLookup[G(e).id]||t.elementStates[0]}(t,n):new pt("string"==typeof t?V(t)||console.warn(t+" not found"):t,e,i)},ot=function _fit(t,e,i,n,r,a){var s,o,l,u,p,h,c,f=t.element,d=t.cache,m=t.parent,g=t.x,v=t.y,y=e.width,x=e.height,b=e.scaleX,w=e.scaleY,S=e.rotation,k=e.bounds,_=a&&T&&T(f,"transform"),C=t,V=e.matrix,E=V.e,M=V.f,B=t.bounds.width!==k.width||t.bounds.height!==k.height||t.scaleX!==b||t.scaleY!==w||t.rotation!==S,F=!B&&t.simple&&e.simple&&!r;return F||!m?(b=w=1,S=s=0):(h=(p=function _getInverseGlobalMatrix(t){var e=t._gsap||Q.core.getCache(t);return e.gmCache===Q.ticker.frame?e.gMatrix:(e.gmCache=Q.ticker.frame,e.gMatrix=getGlobalMatrix(t,true,false,true))}(m)).clone().multiply(e.ctm?e.matrix.clone().multiply(e.ctm):e.matrix),S=W(Math.atan2(h.b,h.a)*O),s=W(Math.atan2(h.c,h.d)*O+S)%360,b=Math.sqrt(Math.pow(h.a,2)+Math.pow(h.b,2)),w=Math.sqrt(Math.pow(h.c,2)+Math.pow(h.d,2))*Math.cos(s*N),r&&(r=I(r)[0],u=Q.getProperty(r),c=r.getBBox&&"function"==typeof r.getBBox&&r.getBBox(),C={scaleX:u("scaleX"),scaleY:u("scaleY"),width:c?c.width:Math.ceil(parseFloat(u("width","px"))),height:c?c.height:parseFloat(u("height","px"))}),d.rotation=S+"deg",d.skewX=s+"deg"),i?(b*=y!==C.width&&C.width?y/C.width:1,w*=x!==C.height&&C.height?x/C.height:1,d.scaleX=b,d.scaleY=w):(y=P(y*b/C.scaleX,0),x=P(x*w/C.scaleY,0),f.style.width=y+"px",f.style.height=x+"px"),n&&pa(f,e.props),F||!m?(g+=E-t.matrix.e,v+=M-t.matrix.f):B||m!==e.parent?(d.renderTransform(1,d),h=getGlobalMatrix(r||f,false,false,true),o=p.apply({x:h.e,y:h.f}),g+=(l=p.apply({x:E,y:M})).x-o.x,v+=l.y-o.y):(p.e=p.f=0,g+=(l=p.apply({x:E-t.matrix.e,y:M-t.matrix.f})).x,v+=l.y),g=P(g,.02),v=P(v,.02),!a||a instanceof pt?(d.x=g+"px",d.y=v+"px",d.renderTransform(1,d)):_&&_.revert(),a&&(a.x=g,a.y=v,a.rotation=S,a.skewX=s,i?(a.scaleX=b,a.scaleY=w):(a.width=y,a.height=x)),a||d},j=[],H="width,height,overflowX,overflowY".split(","),lt=function _killFlip(t,e,i){if(t&&t.progress()<1&&(!t.paused()||i))return e&&(function _interrupt(t){t.vars.onInterrupt&&t.vars.onInterrupt.apply(t,t.vars.onInterruptParams||[]),t.getChildren(true,false,true).forEach(_interrupt);}(t),e<2&&t.progress(1),t.kill()),true},ut=((n=FlipState.prototype).update=function update(t){var e=this;return this.elementStates=this.targets.map(function(t){return new pt(t,e.props,e.simple)}),Da(this),this.interrupt(t),this.recordInlineStyles(),this},n.clear=function clear(){return this.targets.length=this.elementStates.length=0,Da(this),this},n.fit=function fit(t,e,i){for(var n,r,a=ea(this.elementStates.slice(0),false,true),s=(t||this).idLookup,o=0;o<a.length;o++)n=a[o],i&&(n.matrix=getGlobalMatrix(n.element,false,false,true)),(r=s[n.id])&&ot(n,r,e,true,0,n),n.matrix=getGlobalMatrix(n.element,false,false,true);return this},n.getProperty=function getProperty(t,e){var i=this.getElementState(t)||D;return (e in i?i:i.props||D)[e]},n.add=function add(t){for(var e,i,n,r=t.targets.length,a=this.idLookup,s=this.alt;r--;)(n=a[(i=t.elementStates[r]).id])&&(i.element===n.element||s[i.id]&&s[i.id].element===i.element)?(e=this.elementStates.indexOf(i.element===n.element?n:s[i.id]),this.targets.splice(e,1,t.targets[r]),this.elementStates.splice(e,1,i)):(this.targets.push(t.targets[r]),this.elementStates.push(i));return t.interrupted&&(this.interrupted=true),t.simple||(this.simple=false),Da(this),this},n.compare=function compare(t){function kh(t,e,i){return (t.isVisible!==e.isVisible?t.isVisible?f:d:t.isVisible?c:h).push(i)&&m.push(i)}function lh(t,e,i){return m.indexOf(i)<0&&kh(t,e,i)}var e,i,n,r,a,s,o,l,u=t.idLookup,p=this.idLookup,h=[],c=[],f=[],d=[],m=[],g=t.alt,v=this.alt;for(n in u)a=g[n],s=v[n],r=(e=a?va(t,this,n):u[n]).element,i=p[n],s?(l=i.isVisible||!s.isVisible&&r===i.element?i:s,(o=!a||e.isVisible||a.isVisible||l.element!==a.element?e:a).isVisible&&l.isVisible&&o.element!==l.element?((o.isDifferent(l)?c:h).push(o.element,l.element),m.push(o.element,l.element)):kh(o,l,o.element),a&&o.element===a.element&&(a=u[n]),lh(o.element!==i.element&&a?a:o,i,i.element),lh(a&&a.element===s.element?a:o,s,s.element),a&&lh(a,s.element===a.element?s:i,a.element)):(i?i.isDifferent(e)?kh(e,i,r):h.push(r):f.push(r),a&&lh(a,i,a.element));for(n in p)u[n]||(d.push(p[n].element),v[n]&&d.push(v[n].element));return {changed:c,unchanged:h,enter:f,leave:d}},n.recordInlineStyles=function recordInlineStyles(){for(var t=et[this.props]||nt,e=this.elementStates.length;e--;)fa(this.elementStates[e],t);},n.interrupt=function interrupt(n){var r=this,a=[];this.targets.forEach(function(t){var e=t._flip,i=lt(e,n?0:1);n&&i&&a.indexOf(e)<0&&e.add(function(){return r.updateVisibility()}),i&&a.push(e);}),!n&&a.length&&this.updateVisibility(),this.interrupted||(this.interrupted=!!a.length);},n.updateVisibility=function updateVisibility(){this.elementStates.forEach(function(t){var e=t.element.getBoundingClientRect();t.isVisible=!!(e.width||e.height||e.top||e.left),t.uncache=1;});},n.getElementState=function getElementState(t){return this.elementStates[this.targets.indexOf(V(t))]},n.makeAbsolute=function makeAbsolute(){return ea(this.elementStates.slice(0),true,true).map(ja)},FlipState);function FlipState(t,e,i){if(this.props=e&&e.props,this.simple=!(!e||!e.simple),i)this.targets=ra(t),this.elementStates=t,Da(this);else {this.targets=I(t);var n=e&&(false===e.kill||e.batch&&!e.kill);tt&&!n&&tt._kill.push(this),this.update(n||!!tt);}}var q,pt=((q=ElementState.prototype).isDifferent=function isDifferent(t){var e=this.bounds,i=t.bounds;return e.top!==i.top||e.left!==i.left||e.width!==i.width||e.height!==i.height||!this.matrix.equals(t.matrix)||this.opacity!==t.opacity||this.props&&t.props&&JSON.stringify(this.props)!==JSON.stringify(t.props)},q.update=function update(e,i){var n=this,r=n.element,a=Q.getProperty(r),s=Q.core.getCache(r),o=r.getBoundingClientRect(),l=r.getBBox&&"function"==typeof r.getBBox&&"svg"!==r.nodeName.toLowerCase()&&r.getBBox(),p=i?new M(1,0,0,1,o.left+u(),o.top+t()):getGlobalMatrix(r,false,false,true);n.getProp=a,n.element=r,n.id=function _getID(t){var e=t.getAttribute("data-flip-id");return e||t.setAttribute("data-flip-id",e="auto-"+h++),e}(r),n.matrix=p,n.cache=s,n.bounds=o,n.isVisible=!!(o.width||o.height||o.left||o.top),n.display=a("display"),n.position=a("position"),n.parent=r.parentNode,n.x=a("x"),n.y=a("y"),n.scaleX=s.scaleX,n.scaleY=s.scaleY,n.rotation=a("rotation"),n.skewX=a("skewX"),n.opacity=a("opacity"),n.width=l?l.width:P(a("width","px"),.04),n.height=l?l.height:P(a("height","px"),.04),e&&function _recordProps(t,e){for(var i=Q.getProperty(t.element,null,"native"),n=t.props={},r=e.length;r--;)n[e[r]]=(i(e[r])+"").trim();n.zIndex&&(n.zIndex=parseFloat(n.zIndex)||0);}(n,st[e]||ba(e)),n.ctm=r.getCTM&&"svg"===r.nodeName.toLowerCase()&&z(r).inverse(),n.simple=i||1===W(p.a)&&!W(p.b)&&!W(p.c)&&1===W(p.d),n.uncache=0;},ElementState);function ElementState(t,e,i){this.element=t,this.update(e,i);}var Z,J=((Z=FlipAction.prototype).getStateById=function getStateById(t){for(var e=this.states.length;e--;)if(this.states[e].idLookup[t])return this.states[e]},Z.kill=function kill(){this.batch.remove(this);},FlipAction);function FlipAction(t,e){this.vars=t,this.batch=e,this.states=[],this.timeline=e.timeline;}var U,K=((U=FlipBatch.prototype).add=function add(e){var t=this.actions.filter(function(t){return t.vars===e});return t.length?t[0]:(t=new J("function"==typeof e?{animate:e}:e,this),this.actions.push(t),t)},U.remove=function remove(t){var e=this.actions.indexOf(t);return 0<=e&&this.actions.splice(e,1),this},U.getState=function getState(e){var i=this,t=tt,n=r;return (tt=this).state.clear(),this._kill.length=0,this.actions.forEach(function(t){t.vars.getState&&(t.states.length=0,(r=t).state=t.vars.getState(t)),e&&t.states.forEach(function(t){return i.state.add(t)});}),r=n,tt=t,this.killConflicts(),this},U.animate=function animate(){var t,e,i=this,n=tt,r=this.timeline,a=this.actions.length;for(tt=this,r.clear(),this._abs.length=this._final.length=this._run.length=0,this.actions.forEach(function(t){t.vars.animate&&t.vars.animate(t);var e,i,n=t.vars.onEnter,r=t.vars.onLeave,a=t.targets;a&&a.length&&(n||r)&&(e=new ut,t.states.forEach(function(t){return e.add(t)}),(i=e.compare(ht.getState(a))).enter.length&&n&&n(i.enter),i.leave.length&&r&&r(i.leave));}),la(this._abs),this._run.forEach(function(t){return t()}),e=r.duration(),t=this._final.slice(0),r.add(function(){e<=r.time()&&(t.forEach(function(t){return t()}),L(i,"onComplete"));}),tt=n;a--;)this.actions[a].vars.once&&this.actions[a].kill();return L(this,"onStart"),r.restart(),this},U.loadState=function loadState(n){n=n||function done(){return 0};var r=[];return this.actions.forEach(function(e){if(e.vars.loadState){var i,t=function f(t){t&&(e.targets=t),~(i=r.indexOf(f))&&(r.splice(i,1),r.length||n());};r.push(t),e.vars.loadState(t);}}),r.length||n(),this},U.setState=function setState(){return this.actions.forEach(function(t){return t.targets=t.vars.setState&&t.vars.setState(t)}),this},U.killConflicts=function killConflicts(e){return this.state.interrupt(e),this._kill.forEach(function(t){return t.interrupt(e)}),this},U.run=function run(t,e){var i=this;return this!==tt&&(t||this.getState(e),this.loadState(function(){i._killed||(i.setState(),i.animate());})),this},U.clear=function clear(t){this.state.clear(),t||(this.actions.length=0);},U.getStateById=function getStateById(t){for(var e,i=this.actions.length;i--;)if(e=this.actions[i].getStateById(t))return e;return this.state.idLookup[t]&&this.state},U.kill=function kill(){this._killed=1,this.clear(),delete F[this.id];},FlipBatch);function FlipBatch(t){this.id=t,this.actions=[],this._kill=[],this._final=[],this._abs=[],this._run=[],this.data={},this.state=new ut,this.timeline=Q.timeline();}var ht=(Flip.getState=function getState(t,e){var i=ua(t,e);return r&&r.states.push(i),e&&e.batch&&Flip.batch(e.batch).state.add(i),i},Flip.from=function from(t,e){return "clearProps"in(e=e||{})||(e.clearProps=true),Aa(t,ua(e.targets||t.targets,{props:e.props||t.props,simple:e.simple,kill:!!e.kill}),e,-1)},Flip.to=function to(t,e){return Aa(t,ua(e.targets||t.targets,{props:e.props||t.props,simple:e.simple,kill:!!e.kill}),e,1)},Flip.fromTo=function fromTo(t,e,i){return Aa(t,e,i)},Flip.fit=function fit(t,e,i){var n=i?_(i,at):{},r=i||n,a=r.absolute,s=r.scale,o=r.getVars,l=r.props,u=r.runBackwards,p=r.onComplete,h=r.simple,c=i&&i.fitChild&&V(i.fitChild),f=G(e,l,h,t),d=G(t,0,h,f),m=l?et[l]:nt,g=Q.context();return l&&pa(n,f.props),fa(d,m),u&&("immediateRender"in n||(n.immediateRender=true),n.onComplete=function(){ga(d),p&&p.apply(this,arguments);}),a&&ja(d,f),n=ot(d,f,s||c,l,c,n.duration||o?n:0),g&&!o&&g.add(function(){return function(){return ga(d)}}),o?n:n.duration?Q.to(d.element,n):null},Flip.makeAbsolute=function makeAbsolute(t,e){return (t instanceof ut?t:new ut(t,e)).makeAbsolute()},Flip.batch=function batch(t){return F[t=t||"default"]||(F[t]=new K(t))},Flip.killFlipsOf=function killFlipsOf(t,e){(t instanceof ut?t.targets:I(t)).forEach(function(t){return t&<(t._flip,false!==e?1:2)});},Flip.isFlipping=function isFlipping(t){var e=Flip.getByTarget(t);return !!e&&e.isActive()},Flip.getByTarget=function getByTarget(t){return (V(t)||D)._flip},Flip.getElementState=function getElementState(t,e){return new pt(V(t),e)},Flip.convertCoordinates=function convertCoordinates(t,e,i){var n=getGlobalMatrix(e,true,true).multiply(getGlobalMatrix(t));return i?n.apply(i):n},Flip.register=function register(t){if(o="undefined"!=typeof document&&document.body){Q=t,p(o),I=Q.utils.toArray,T=Q.core.getStyleSaver;var i=Q.utils.snap(.1);P=function _closestTenth(t,e){return i(parseFloat(t)+e)};}},Flip);function Flip(){}ht.version="3.12.5","undefined"!=typeof window&&window.gsap&&window.gsap.registerPlugin(ht),e.Flip=ht,e.default=ht;if (typeof(window)==="undefined"||window!==e){Object.defineProperty(e,"__esModule",{value:true});} else {delete e.default;}});
|
|
61931
61937
|
} (Flip$1, Flip$1.exports));
|
|
61932
61938
|
return Flip$1.exports;
|
|
61933
61939
|
}
|
|
@@ -64070,7 +64076,7 @@ const EndlessLoader = () => {
|
|
|
64070
64076
|
if (typeof window === "undefined") return;
|
|
64071
64077
|
const loadGl = async () => {
|
|
64072
64078
|
window.THREE = require("three");
|
|
64073
|
-
const GLModule = await import('./gl-
|
|
64079
|
+
const GLModule = await import('./gl-CfQpqo7U.js');
|
|
64074
64080
|
const glInstance = new GLModule.GL();
|
|
64075
64081
|
glInstance.init();
|
|
64076
64082
|
};
|
|
@@ -65731,7 +65737,7 @@ const AnimatedIconsNav = () => {
|
|
|
65731
65737
|
{
|
|
65732
65738
|
type: "button",
|
|
65733
65739
|
className: styles$1R.btn,
|
|
65734
|
-
"aria-describedby": page === index ? "current" :
|
|
65740
|
+
"aria-describedby": page === index ? "current" : undefined,
|
|
65735
65741
|
onClick: () => {
|
|
65736
65742
|
setPage(index);
|
|
65737
65743
|
spawnCards();
|
|
@@ -66151,7 +66157,7 @@ const DropdownMenu = ({ value, items = ITEMS }) => {
|
|
|
66151
66157
|
const [translateValue, setTranslateValue] = useState(0);
|
|
66152
66158
|
const [floatingIcon, setFloatingIcon] = useState(null);
|
|
66153
66159
|
const [active, setActive] = useState(() => {
|
|
66154
|
-
const item = value ? items.find(({ id }) => id === value) :
|
|
66160
|
+
const item = value ? items.find(({ id }) => id === value) : undefined;
|
|
66155
66161
|
return item ?? null;
|
|
66156
66162
|
});
|
|
66157
66163
|
const renderIcon = useCallback(
|
|
@@ -66514,7 +66520,7 @@ const GlowingTabs = () => {
|
|
|
66514
66520
|
style: {
|
|
66515
66521
|
"--x": `${offset}%`,
|
|
66516
66522
|
"--distance": prev && current ? `${prev.left - current.left}px` : 0,
|
|
66517
|
-
"--width": prev ? prev.width + "px" :
|
|
66523
|
+
"--width": prev ? prev.width + "px" : undefined
|
|
66518
66524
|
},
|
|
66519
66525
|
children: [
|
|
66520
66526
|
/* @__PURE__ */ jsx("div", { className: styles$1K.stroke }),
|
|
@@ -66822,7 +66828,7 @@ const MagnifiedNavItems = () => {
|
|
|
66822
66828
|
onClick: () => {
|
|
66823
66829
|
setPage(index);
|
|
66824
66830
|
},
|
|
66825
|
-
"aria-describedby": page === index ? "current" :
|
|
66831
|
+
"aria-describedby": page === index ? "current" : undefined,
|
|
66826
66832
|
children: [
|
|
66827
66833
|
/* @__PURE__ */ jsxs(
|
|
66828
66834
|
"svg",
|
|
@@ -68176,7 +68182,7 @@ const TabBarAnimation = () => {
|
|
|
68176
68182
|
"button",
|
|
68177
68183
|
{
|
|
68178
68184
|
type: "button",
|
|
68179
|
-
ref: activeIndex === index ? activeButtonRef :
|
|
68185
|
+
ref: activeIndex === index ? activeButtonRef : undefined,
|
|
68180
68186
|
onClick: (e) => {
|
|
68181
68187
|
const activeElement = activeElementRef.current;
|
|
68182
68188
|
const navElement = navRef.current;
|
|
@@ -70196,12 +70202,12 @@ const ScrambledText = ({
|
|
|
70196
70202
|
);
|
|
70197
70203
|
};
|
|
70198
70204
|
|
|
70199
|
-
const root$Z = "
|
|
70200
|
-
const line = "
|
|
70201
|
-
const word$1 = "
|
|
70202
|
-
const link = "
|
|
70203
|
-
const letter = "
|
|
70204
|
-
const wobble = "
|
|
70205
|
+
const root$Z = "_root_1i0ro_1";
|
|
70206
|
+
const line = "_line_1i0ro_9";
|
|
70207
|
+
const word$1 = "_word_1i0ro_14";
|
|
70208
|
+
const link = "_link_1i0ro_18";
|
|
70209
|
+
const letter = "_letter_1i0ro_22";
|
|
70210
|
+
const wobble = "_wobble_1i0ro_1";
|
|
70205
70211
|
const styles$12 = {
|
|
70206
70212
|
root: root$Z,
|
|
70207
70213
|
line: line,
|
|
@@ -70408,8 +70414,7 @@ const TooltipRangeSlider = () => {
|
|
|
70408
70414
|
const relativeValue = (v - min) / possibleValues;
|
|
70409
70415
|
const percentRaw = relativeValue * 100;
|
|
70410
70416
|
const percent2 = Number(percentRaw.toFixed(3));
|
|
70411
|
-
const
|
|
70412
|
-
const transXRaw = -tipWidth * relativeValue * possibleValues;
|
|
70417
|
+
const transXRaw = -2 * relativeValue * possibleValues;
|
|
70413
70418
|
const transX2 = Number(transXRaw.toFixed(2));
|
|
70414
70419
|
setPercent(percent2);
|
|
70415
70420
|
setTransX(transX2);
|
|
@@ -72744,7 +72749,7 @@ const BouncyClock = () => {
|
|
|
72744
72749
|
"span",
|
|
72745
72750
|
{
|
|
72746
72751
|
className: cn(styles$p.digit, {
|
|
72747
|
-
[styles$p.bounce]: prev[i] !==
|
|
72752
|
+
[styles$p.bounce]: prev[i] !== undefined && digit !== prev[i]
|
|
72748
72753
|
}),
|
|
72749
72754
|
children: digit
|
|
72750
72755
|
},
|
|
@@ -73295,10 +73300,10 @@ function isObject$2(obj) {
|
|
|
73295
73300
|
return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;
|
|
73296
73301
|
}
|
|
73297
73302
|
function extend$2(target, src) {
|
|
73298
|
-
if (target ===
|
|
73303
|
+
if (target === undefined) {
|
|
73299
73304
|
target = {};
|
|
73300
73305
|
}
|
|
73301
|
-
if (src ===
|
|
73306
|
+
if (src === undefined) {
|
|
73302
73307
|
src = {};
|
|
73303
73308
|
}
|
|
73304
73309
|
Object.keys(src).forEach(key => {
|
|
@@ -73424,7 +73429,7 @@ function getWindow() {
|
|
|
73424
73429
|
}
|
|
73425
73430
|
|
|
73426
73431
|
function classesToTokens(classes) {
|
|
73427
|
-
if (classes ===
|
|
73432
|
+
if (classes === undefined) {
|
|
73428
73433
|
classes = '';
|
|
73429
73434
|
}
|
|
73430
73435
|
return classes.trim().split(' ').filter(c => !!c.trim());
|
|
@@ -73446,7 +73451,7 @@ function deleteProps(obj) {
|
|
|
73446
73451
|
});
|
|
73447
73452
|
}
|
|
73448
73453
|
function nextTick(callback, delay) {
|
|
73449
|
-
if (delay ===
|
|
73454
|
+
if (delay === undefined) {
|
|
73450
73455
|
delay = 0;
|
|
73451
73456
|
}
|
|
73452
73457
|
return setTimeout(callback, delay);
|
|
@@ -73469,7 +73474,7 @@ function getComputedStyle$1(el) {
|
|
|
73469
73474
|
return style;
|
|
73470
73475
|
}
|
|
73471
73476
|
function getTranslate(el, axis) {
|
|
73472
|
-
if (axis ===
|
|
73477
|
+
if (axis === undefined) {
|
|
73473
73478
|
axis = 'x';
|
|
73474
73479
|
}
|
|
73475
73480
|
const window = getWindow();
|
|
@@ -73601,7 +73606,7 @@ function animateCSSModeScroll(_ref) {
|
|
|
73601
73606
|
animate();
|
|
73602
73607
|
}
|
|
73603
73608
|
function elementChildren(element, selector) {
|
|
73604
|
-
if (selector ===
|
|
73609
|
+
if (selector === undefined) {
|
|
73605
73610
|
selector = '';
|
|
73606
73611
|
}
|
|
73607
73612
|
const children = [...element.children];
|
|
@@ -73644,7 +73649,7 @@ function showWarning(text) {
|
|
|
73644
73649
|
}
|
|
73645
73650
|
}
|
|
73646
73651
|
function createElement(tag, classes) {
|
|
73647
|
-
if (classes ===
|
|
73652
|
+
if (classes === undefined) {
|
|
73648
73653
|
classes = [];
|
|
73649
73654
|
}
|
|
73650
73655
|
const el = document.createElement(tag);
|
|
@@ -73728,7 +73733,7 @@ let deviceCached;
|
|
|
73728
73733
|
function calcDevice(_temp) {
|
|
73729
73734
|
let {
|
|
73730
73735
|
userAgent
|
|
73731
|
-
} = _temp ===
|
|
73736
|
+
} = _temp === undefined ? {} : _temp;
|
|
73732
73737
|
const support = getSupport();
|
|
73733
73738
|
const window = getWindow();
|
|
73734
73739
|
const platform = window.navigator.platform;
|
|
@@ -73768,7 +73773,7 @@ function calcDevice(_temp) {
|
|
|
73768
73773
|
return device;
|
|
73769
73774
|
}
|
|
73770
73775
|
function getDevice(overrides) {
|
|
73771
|
-
if (overrides ===
|
|
73776
|
+
if (overrides === undefined) {
|
|
73772
73777
|
overrides = {};
|
|
73773
73778
|
}
|
|
73774
73779
|
if (!deviceCached) {
|
|
@@ -73889,7 +73894,7 @@ function Observer(_ref) {
|
|
|
73889
73894
|
const observers = [];
|
|
73890
73895
|
const window = getWindow();
|
|
73891
73896
|
const attach = function (target, options) {
|
|
73892
|
-
if (options ===
|
|
73897
|
+
if (options === undefined) {
|
|
73893
73898
|
options = {};
|
|
73894
73899
|
}
|
|
73895
73900
|
const ObserverFunc = window.MutationObserver || window.WebkitMutationObserver;
|
|
@@ -74426,7 +74431,7 @@ const toggleSlideClasses$1 = (slideEl, condition, className) => {
|
|
|
74426
74431
|
}
|
|
74427
74432
|
};
|
|
74428
74433
|
function updateSlidesProgress(translate) {
|
|
74429
|
-
if (translate ===
|
|
74434
|
+
if (translate === undefined) {
|
|
74430
74435
|
translate = this && this.translate || 0;
|
|
74431
74436
|
}
|
|
74432
74437
|
const swiper = this;
|
|
@@ -74824,7 +74829,7 @@ var update = {
|
|
|
74824
74829
|
};
|
|
74825
74830
|
|
|
74826
74831
|
function getSwiperTranslate(axis) {
|
|
74827
|
-
if (axis ===
|
|
74832
|
+
if (axis === undefined) {
|
|
74828
74833
|
axis = this.isHorizontal() ? 'x' : 'y';
|
|
74829
74834
|
}
|
|
74830
74835
|
const swiper = this;
|
|
@@ -74902,16 +74907,16 @@ function maxTranslate() {
|
|
|
74902
74907
|
}
|
|
74903
74908
|
|
|
74904
74909
|
function translateTo(translate, speed, runCallbacks, translateBounds, internal) {
|
|
74905
|
-
if (translate ===
|
|
74910
|
+
if (translate === undefined) {
|
|
74906
74911
|
translate = 0;
|
|
74907
74912
|
}
|
|
74908
|
-
if (speed ===
|
|
74913
|
+
if (speed === undefined) {
|
|
74909
74914
|
speed = this.params.speed;
|
|
74910
74915
|
}
|
|
74911
|
-
if (runCallbacks ===
|
|
74916
|
+
if (runCallbacks === undefined) {
|
|
74912
74917
|
runCallbacks = true;
|
|
74913
74918
|
}
|
|
74914
|
-
if (translateBounds ===
|
|
74919
|
+
if (translateBounds === undefined) {
|
|
74915
74920
|
translateBounds = true;
|
|
74916
74921
|
}
|
|
74917
74922
|
const swiper = this;
|
|
@@ -75032,7 +75037,7 @@ function transitionEmit(_ref) {
|
|
|
75032
75037
|
}
|
|
75033
75038
|
|
|
75034
75039
|
function transitionStart(runCallbacks, direction) {
|
|
75035
|
-
if (runCallbacks ===
|
|
75040
|
+
if (runCallbacks === undefined) {
|
|
75036
75041
|
runCallbacks = true;
|
|
75037
75042
|
}
|
|
75038
75043
|
const swiper = this;
|
|
@@ -75052,7 +75057,7 @@ function transitionStart(runCallbacks, direction) {
|
|
|
75052
75057
|
}
|
|
75053
75058
|
|
|
75054
75059
|
function transitionEnd(runCallbacks, direction) {
|
|
75055
|
-
if (runCallbacks ===
|
|
75060
|
+
if (runCallbacks === undefined) {
|
|
75056
75061
|
runCallbacks = true;
|
|
75057
75062
|
}
|
|
75058
75063
|
const swiper = this;
|
|
@@ -75077,10 +75082,10 @@ var transition = {
|
|
|
75077
75082
|
};
|
|
75078
75083
|
|
|
75079
75084
|
function slideTo(index, speed, runCallbacks, internal, initial) {
|
|
75080
|
-
if (index ===
|
|
75085
|
+
if (index === undefined) {
|
|
75081
75086
|
index = 0;
|
|
75082
75087
|
}
|
|
75083
|
-
if (runCallbacks ===
|
|
75088
|
+
if (runCallbacks === undefined) {
|
|
75084
75089
|
runCallbacks = true;
|
|
75085
75090
|
}
|
|
75086
75091
|
if (typeof index === 'string') {
|
|
@@ -75230,10 +75235,10 @@ function slideTo(index, speed, runCallbacks, internal, initial) {
|
|
|
75230
75235
|
}
|
|
75231
75236
|
|
|
75232
75237
|
function slideToLoop(index, speed, runCallbacks, internal) {
|
|
75233
|
-
if (index ===
|
|
75238
|
+
if (index === undefined) {
|
|
75234
75239
|
index = 0;
|
|
75235
75240
|
}
|
|
75236
|
-
if (runCallbacks ===
|
|
75241
|
+
if (runCallbacks === undefined) {
|
|
75237
75242
|
runCallbacks = true;
|
|
75238
75243
|
}
|
|
75239
75244
|
if (typeof index === 'string') {
|
|
@@ -75304,7 +75309,7 @@ function slideToLoop(index, speed, runCallbacks, internal) {
|
|
|
75304
75309
|
|
|
75305
75310
|
/* eslint no-unused-vars: "off" */
|
|
75306
75311
|
function slideNext(speed, runCallbacks, internal) {
|
|
75307
|
-
if (runCallbacks ===
|
|
75312
|
+
if (runCallbacks === undefined) {
|
|
75308
75313
|
runCallbacks = true;
|
|
75309
75314
|
}
|
|
75310
75315
|
const swiper = this;
|
|
@@ -75345,7 +75350,7 @@ function slideNext(speed, runCallbacks, internal) {
|
|
|
75345
75350
|
|
|
75346
75351
|
/* eslint no-unused-vars: "off" */
|
|
75347
75352
|
function slidePrev(speed, runCallbacks, internal) {
|
|
75348
|
-
if (runCallbacks ===
|
|
75353
|
+
if (runCallbacks === undefined) {
|
|
75349
75354
|
runCallbacks = true;
|
|
75350
75355
|
}
|
|
75351
75356
|
const swiper = this;
|
|
@@ -75413,7 +75418,7 @@ function slidePrev(speed, runCallbacks, internal) {
|
|
|
75413
75418
|
|
|
75414
75419
|
/* eslint no-unused-vars: "off" */
|
|
75415
75420
|
function slideReset(speed, runCallbacks, internal) {
|
|
75416
|
-
if (runCallbacks ===
|
|
75421
|
+
if (runCallbacks === undefined) {
|
|
75417
75422
|
runCallbacks = true;
|
|
75418
75423
|
}
|
|
75419
75424
|
const swiper = this;
|
|
@@ -75426,10 +75431,10 @@ function slideReset(speed, runCallbacks, internal) {
|
|
|
75426
75431
|
|
|
75427
75432
|
/* eslint no-unused-vars: "off" */
|
|
75428
75433
|
function slideToClosest(speed, runCallbacks, internal, threshold) {
|
|
75429
|
-
if (runCallbacks ===
|
|
75434
|
+
if (runCallbacks === undefined) {
|
|
75430
75435
|
runCallbacks = true;
|
|
75431
75436
|
}
|
|
75432
|
-
if (threshold ===
|
|
75437
|
+
if (threshold === undefined) {
|
|
75433
75438
|
threshold = 0.5;
|
|
75434
75439
|
}
|
|
75435
75440
|
const swiper = this;
|
|
@@ -75572,7 +75577,7 @@ function loopFix(_temp) {
|
|
|
75572
75577
|
activeSlideIndex,
|
|
75573
75578
|
byController,
|
|
75574
75579
|
byMousewheel
|
|
75575
|
-
} = _temp ===
|
|
75580
|
+
} = _temp === undefined ? {} : _temp;
|
|
75576
75581
|
const swiper = this;
|
|
75577
75582
|
if (!swiper.params.loop) return;
|
|
75578
75583
|
swiper.emit('beforeLoopFix');
|
|
@@ -75836,7 +75841,7 @@ var grabCursor = {
|
|
|
75836
75841
|
|
|
75837
75842
|
// Modified from https://stackoverflow.com/questions/54520554/custom-element-getrootnode-closest-function-crossing-multiple-parent-shadowd
|
|
75838
75843
|
function closestElement(selector, base) {
|
|
75839
|
-
if (base ===
|
|
75844
|
+
if (base === undefined) {
|
|
75840
75845
|
base = this;
|
|
75841
75846
|
}
|
|
75842
75847
|
function __closestFrom(el) {
|
|
@@ -76130,7 +76135,6 @@ function onTouchMove(event) {
|
|
|
76130
76135
|
}
|
|
76131
76136
|
swiper.emit('sliderFirstMove', e);
|
|
76132
76137
|
}
|
|
76133
|
-
let loopFixed;
|
|
76134
76138
|
new Date().getTime();
|
|
76135
76139
|
if (data.isMoved && data.allowThresholdMove && prevTouchesDirection !== swiper.touchesDirection && isLoop && allowLoopFix && Math.abs(diff) >= 1) {
|
|
76136
76140
|
Object.assign(touches, {
|
|
@@ -76153,7 +76157,7 @@ function onTouchMove(event) {
|
|
|
76153
76157
|
resistanceRatio = 0;
|
|
76154
76158
|
}
|
|
76155
76159
|
if (diff > 0) {
|
|
76156
|
-
if (isLoop && allowLoopFix &&
|
|
76160
|
+
if (isLoop && allowLoopFix && true && data.allowThresholdMove && data.currentTranslate > (params.centeredSlides ? swiper.minTranslate() - swiper.slidesSizesGrid[swiper.activeIndex + 1] - (params.slidesPerView !== 'auto' && swiper.slides.length - params.slidesPerView >= 2 ? swiper.slidesSizesGrid[swiper.activeIndex + 1] + swiper.params.spaceBetween : 0) - swiper.params.spaceBetween : swiper.minTranslate())) {
|
|
76157
76161
|
swiper.loopFix({
|
|
76158
76162
|
direction: 'prev',
|
|
76159
76163
|
setTranslate: true,
|
|
@@ -76167,7 +76171,7 @@ function onTouchMove(event) {
|
|
|
76167
76171
|
}
|
|
76168
76172
|
}
|
|
76169
76173
|
} else if (diff < 0) {
|
|
76170
|
-
if (isLoop && allowLoopFix &&
|
|
76174
|
+
if (isLoop && allowLoopFix && true && data.allowThresholdMove && data.currentTranslate < (params.centeredSlides ? swiper.maxTranslate() + swiper.slidesSizesGrid[swiper.slidesSizesGrid.length - 1] + swiper.params.spaceBetween + (params.slidesPerView !== 'auto' && swiper.slides.length - params.slidesPerView >= 2 ? swiper.slidesSizesGrid[swiper.slidesSizesGrid.length - 1] + swiper.params.spaceBetween : 0) : swiper.maxTranslate())) {
|
|
76171
76175
|
swiper.loopFix({
|
|
76172
76176
|
direction: 'next',
|
|
76173
76177
|
setTranslate: true,
|
|
@@ -76693,7 +76697,7 @@ function setBreakpoint() {
|
|
|
76693
76697
|
}
|
|
76694
76698
|
|
|
76695
76699
|
function getBreakpoint(breakpoints, base, containerEl) {
|
|
76696
|
-
if (base ===
|
|
76700
|
+
if (base === undefined) {
|
|
76697
76701
|
base = 'window';
|
|
76698
76702
|
}
|
|
76699
76703
|
if (!breakpoints || base === 'container' && !containerEl) return undefined;
|
|
@@ -76961,7 +76965,7 @@ var defaults = {
|
|
|
76961
76965
|
|
|
76962
76966
|
function moduleExtendParams(params, allModulesParams) {
|
|
76963
76967
|
return function extendParams(obj) {
|
|
76964
|
-
if (obj ===
|
|
76968
|
+
if (obj === undefined) {
|
|
76965
76969
|
obj = {};
|
|
76966
76970
|
}
|
|
76967
76971
|
const moduleParamName = Object.keys(obj)[0];
|
|
@@ -77263,10 +77267,10 @@ let Swiper$1 = class Swiper {
|
|
|
77263
77267
|
swiper.emit('_slideClasses', updates);
|
|
77264
77268
|
}
|
|
77265
77269
|
slidesPerViewDynamic(view, exact) {
|
|
77266
|
-
if (view ===
|
|
77270
|
+
if (view === undefined) {
|
|
77267
77271
|
view = 'current';
|
|
77268
77272
|
}
|
|
77269
|
-
if (exact ===
|
|
77273
|
+
if (exact === undefined) {
|
|
77270
77274
|
exact = false;
|
|
77271
77275
|
}
|
|
77272
77276
|
const swiper = this;
|
|
@@ -77368,7 +77372,7 @@ let Swiper$1 = class Swiper {
|
|
|
77368
77372
|
swiper.emit('update');
|
|
77369
77373
|
}
|
|
77370
77374
|
changeDirection(newDirection, needUpdate) {
|
|
77371
|
-
if (needUpdate ===
|
|
77375
|
+
if (needUpdate === undefined) {
|
|
77372
77376
|
needUpdate = true;
|
|
77373
77377
|
}
|
|
77374
77378
|
const swiper = this;
|
|
@@ -77526,10 +77530,10 @@ let Swiper$1 = class Swiper {
|
|
|
77526
77530
|
return swiper;
|
|
77527
77531
|
}
|
|
77528
77532
|
destroy(deleteInstance, cleanStyles) {
|
|
77529
|
-
if (deleteInstance ===
|
|
77533
|
+
if (deleteInstance === undefined) {
|
|
77530
77534
|
deleteInstance = true;
|
|
77531
77535
|
}
|
|
77532
|
-
if (cleanStyles ===
|
|
77536
|
+
if (cleanStyles === undefined) {
|
|
77533
77537
|
cleanStyles = true;
|
|
77534
77538
|
}
|
|
77535
77539
|
const swiper = this;
|
|
@@ -77638,25 +77642,25 @@ function extend(target, src) {
|
|
|
77638
77642
|
});
|
|
77639
77643
|
}
|
|
77640
77644
|
function needsNavigation(params) {
|
|
77641
|
-
if (params ===
|
|
77645
|
+
if (params === undefined) {
|
|
77642
77646
|
params = {};
|
|
77643
77647
|
}
|
|
77644
77648
|
return params.navigation && typeof params.navigation.nextEl === 'undefined' && typeof params.navigation.prevEl === 'undefined';
|
|
77645
77649
|
}
|
|
77646
77650
|
function needsPagination(params) {
|
|
77647
|
-
if (params ===
|
|
77651
|
+
if (params === undefined) {
|
|
77648
77652
|
params = {};
|
|
77649
77653
|
}
|
|
77650
77654
|
return params.pagination && typeof params.pagination.el === 'undefined';
|
|
77651
77655
|
}
|
|
77652
77656
|
function needsScrollbar(params) {
|
|
77653
|
-
if (params ===
|
|
77657
|
+
if (params === undefined) {
|
|
77654
77658
|
params = {};
|
|
77655
77659
|
}
|
|
77656
77660
|
return params.scrollbar && typeof params.scrollbar.el === 'undefined';
|
|
77657
77661
|
}
|
|
77658
77662
|
function uniqueClasses(classNames) {
|
|
77659
|
-
if (classNames ===
|
|
77663
|
+
if (classNames === undefined) {
|
|
77660
77664
|
classNames = '';
|
|
77661
77665
|
}
|
|
77662
77666
|
const classes = classNames.split(' ').map(c => c.trim()).filter(c => !!c);
|
|
@@ -77667,7 +77671,7 @@ function uniqueClasses(classNames) {
|
|
|
77667
77671
|
return unique.join(' ');
|
|
77668
77672
|
}
|
|
77669
77673
|
function wrapperClass(className) {
|
|
77670
|
-
if (className ===
|
|
77674
|
+
if (className === undefined) {
|
|
77671
77675
|
className = '';
|
|
77672
77676
|
}
|
|
77673
77677
|
if (!className) return 'swiper-wrapper';
|
|
@@ -77849,10 +77853,10 @@ function updateSwiper(_ref) {
|
|
|
77849
77853
|
}
|
|
77850
77854
|
|
|
77851
77855
|
function getParams(obj, splitEvents) {
|
|
77852
|
-
if (obj ===
|
|
77856
|
+
if (obj === undefined) {
|
|
77853
77857
|
obj = {};
|
|
77854
77858
|
}
|
|
77855
|
-
if (splitEvents ===
|
|
77859
|
+
if (splitEvents === undefined) {
|
|
77856
77860
|
splitEvents = true;
|
|
77857
77861
|
}
|
|
77858
77862
|
const params = {
|
|
@@ -78101,7 +78105,7 @@ const Swiper = /*#__PURE__*/forwardRef(function (_temp, externalElRef) {
|
|
|
78101
78105
|
children,
|
|
78102
78106
|
onSwiper,
|
|
78103
78107
|
...rest
|
|
78104
|
-
} = _temp ===
|
|
78108
|
+
} = _temp === undefined ? {} : _temp;
|
|
78105
78109
|
let eventsAssigned = false;
|
|
78106
78110
|
const [containerClasses, setContainerClasses] = useState('swiper');
|
|
78107
78111
|
const [virtualData, setVirtualData] = useState(null);
|
|
@@ -78288,7 +78292,7 @@ const SwiperSlide = /*#__PURE__*/forwardRef(function (_temp, externalRef) {
|
|
|
78288
78292
|
virtualIndex,
|
|
78289
78293
|
swiperSlideIndex,
|
|
78290
78294
|
...rest
|
|
78291
|
-
} = _temp ===
|
|
78295
|
+
} = _temp === undefined ? {} : _temp;
|
|
78292
78296
|
const slideElRef = useRef(null);
|
|
78293
78297
|
const [slideClasses, setSlideClasses] = useState('swiper-slide');
|
|
78294
78298
|
const [lazyLoaded, setLazyLoaded] = useState(false);
|
|
@@ -78923,7 +78927,7 @@ const styles$7 = {
|
|
|
78923
78927
|
function delay(ms) {
|
|
78924
78928
|
return new Promise((resolve) => {
|
|
78925
78929
|
setTimeout(() => {
|
|
78926
|
-
resolve(
|
|
78930
|
+
resolve(undefined);
|
|
78927
78931
|
}, ms);
|
|
78928
78932
|
});
|
|
78929
78933
|
}
|