@tarsis/toolkit 0.2.2 → 0.2.4-beta.0
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-DXfERq6R.js} +2 -2
- package/dist/{gl-Wi1W4iRw.cjs → gl-DnD0DsrJ.cjs} +2 -2
- package/dist/{index-9DbUVvW8.cjs → index-LUM5T6mu.cjs} +412 -394
- package/dist/{index-DgBWA46M.js → index-a2UrUaZl.js} +412 -394
- package/dist/index.cjs +1 -1
- package/dist/index.css +484 -484
- package/dist/index.d.ts +21 -6
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -233,7 +233,7 @@ const Texture$1 = ({ className = "" }) => {
|
|
|
233
233
|
|
|
234
234
|
if ( Number.EPSILON === undefined ) {
|
|
235
235
|
|
|
236
|
-
Number.EPSILON = Math.pow( 2, -
|
|
236
|
+
Number.EPSILON = Math.pow( 2, -52 );
|
|
237
237
|
|
|
238
238
|
}
|
|
239
239
|
|
|
@@ -258,7 +258,7 @@ if ( Math.sign === undefined ) {
|
|
|
258
258
|
|
|
259
259
|
Math.sign = function ( x ) {
|
|
260
260
|
|
|
261
|
-
return ( x < 0 ) ? -
|
|
261
|
+
return ( x < 0 ) ? -1 : ( x > 0 ) ? 1 : + x;
|
|
262
262
|
|
|
263
263
|
};
|
|
264
264
|
|
|
@@ -543,7 +543,7 @@ Object.assign( EventDispatcher.prototype, {
|
|
|
543
543
|
|
|
544
544
|
}
|
|
545
545
|
|
|
546
|
-
if ( listeners[ type ].indexOf( listener ) === -
|
|
546
|
+
if ( listeners[ type ].indexOf( listener ) === -1 ) {
|
|
547
547
|
|
|
548
548
|
listeners[ type ].push( listener );
|
|
549
549
|
|
|
@@ -557,7 +557,7 @@ Object.assign( EventDispatcher.prototype, {
|
|
|
557
557
|
|
|
558
558
|
var listeners = this._listeners;
|
|
559
559
|
|
|
560
|
-
return listeners[ type ] !== undefined && listeners[ type ].indexOf( listener ) !== -
|
|
560
|
+
return listeners[ type ] !== undefined && listeners[ type ].indexOf( listener ) !== -1;
|
|
561
561
|
|
|
562
562
|
},
|
|
563
563
|
|
|
@@ -572,7 +572,7 @@ Object.assign( EventDispatcher.prototype, {
|
|
|
572
572
|
|
|
573
573
|
var index = listenerArray.indexOf( listener );
|
|
574
574
|
|
|
575
|
-
if ( index !== -
|
|
575
|
+
if ( index !== -1 ) {
|
|
576
576
|
|
|
577
577
|
listenerArray.splice( index, 1 );
|
|
578
578
|
|
|
@@ -2880,7 +2880,7 @@ Object.assign( Quaternion, {
|
|
|
2880
2880
|
|
|
2881
2881
|
cos = x0 * x1 + y0 * y1 + z0 * z1 + w0 * w1,
|
|
2882
2882
|
|
|
2883
|
-
dir = ( cos >= 0 ? 1 : -
|
|
2883
|
+
dir = ( cos >= 0 ? 1 : -1 ),
|
|
2884
2884
|
sqrSin = 1 - cos * cos;
|
|
2885
2885
|
|
|
2886
2886
|
// Skip the Slerp for tiny steps to avoid numeric problems:
|
|
@@ -3256,7 +3256,7 @@ Object.assign( Quaternion.prototype, {
|
|
|
3256
3256
|
|
|
3257
3257
|
angleTo: function ( q ) {
|
|
3258
3258
|
|
|
3259
|
-
return 2 * Math.acos( Math.abs( MathUtils.clamp( this.dot( q ), -
|
|
3259
|
+
return 2 * Math.acos( Math.abs( MathUtils.clamp( this.dot( q ), -1, 1 ) ) );
|
|
3260
3260
|
|
|
3261
3261
|
},
|
|
3262
3262
|
|
|
@@ -3284,9 +3284,9 @@ Object.assign( Quaternion.prototype, {
|
|
|
3284
3284
|
|
|
3285
3285
|
conjugate: function () {
|
|
3286
3286
|
|
|
3287
|
-
this._x *= -
|
|
3288
|
-
this._y *= -
|
|
3289
|
-
this._z *= -
|
|
3287
|
+
this._x *= -1;
|
|
3288
|
+
this._y *= -1;
|
|
3289
|
+
this._z *= -1;
|
|
3290
3290
|
|
|
3291
3291
|
this._onChangeCallback();
|
|
3292
3292
|
|
|
@@ -4079,7 +4079,7 @@ Object.assign( Vector3.prototype, {
|
|
|
4079
4079
|
|
|
4080
4080
|
// clamp, to handle numerical problems
|
|
4081
4081
|
|
|
4082
|
-
return Math.acos( MathUtils.clamp( theta, -
|
|
4082
|
+
return Math.acos( MathUtils.clamp( theta, -1, 1 ) );
|
|
4083
4083
|
|
|
4084
4084
|
},
|
|
4085
4085
|
|
|
@@ -5031,12 +5031,12 @@ Object.assign( Matrix4.prototype, {
|
|
|
5031
5031
|
var a = ( right + left ) / ( right - left );
|
|
5032
5032
|
var b = ( top + bottom ) / ( top - bottom );
|
|
5033
5033
|
var c = - ( far + near ) / ( far - near );
|
|
5034
|
-
var d = -
|
|
5034
|
+
var d = -2 * far * near / ( far - near );
|
|
5035
5035
|
|
|
5036
5036
|
te[ 0 ] = x; te[ 4 ] = 0; te[ 8 ] = a; te[ 12 ] = 0;
|
|
5037
5037
|
te[ 1 ] = 0; te[ 5 ] = y; te[ 9 ] = b; te[ 13 ] = 0;
|
|
5038
5038
|
te[ 2 ] = 0; te[ 6 ] = 0; te[ 10 ] = c; te[ 14 ] = d;
|
|
5039
|
-
te[ 3 ] = 0; te[ 7 ] = 0; te[ 11 ] = -
|
|
5039
|
+
te[ 3 ] = 0; te[ 7 ] = 0; te[ 11 ] = -1; te[ 15 ] = 0;
|
|
5040
5040
|
|
|
5041
5041
|
return this;
|
|
5042
5042
|
|
|
@@ -5055,7 +5055,7 @@ Object.assign( Matrix4.prototype, {
|
|
|
5055
5055
|
|
|
5056
5056
|
te[ 0 ] = 2 * w; te[ 4 ] = 0; te[ 8 ] = 0; te[ 12 ] = - x;
|
|
5057
5057
|
te[ 1 ] = 0; te[ 5 ] = 2 * h; te[ 9 ] = 0; te[ 13 ] = - y;
|
|
5058
|
-
te[ 2 ] = 0; te[ 6 ] = 0; te[ 10 ] = -
|
|
5058
|
+
te[ 2 ] = 0; te[ 6 ] = 0; te[ 10 ] = -2 * p; te[ 14 ] = - z;
|
|
5059
5059
|
te[ 3 ] = 0; te[ 7 ] = 0; te[ 11 ] = 0; te[ 15 ] = 1;
|
|
5060
5060
|
|
|
5061
5061
|
return this;
|
|
@@ -5271,7 +5271,7 @@ Object.assign( Euler.prototype, {
|
|
|
5271
5271
|
|
|
5272
5272
|
case 'XYZ':
|
|
5273
5273
|
|
|
5274
|
-
this._y = Math.asin( clamp( m13, -
|
|
5274
|
+
this._y = Math.asin( clamp( m13, -1, 1 ) );
|
|
5275
5275
|
|
|
5276
5276
|
if ( Math.abs( m13 ) < 0.9999999 ) {
|
|
5277
5277
|
|
|
@@ -5289,7 +5289,7 @@ Object.assign( Euler.prototype, {
|
|
|
5289
5289
|
|
|
5290
5290
|
case 'YXZ':
|
|
5291
5291
|
|
|
5292
|
-
this._x = Math.asin( - clamp( m23, -
|
|
5292
|
+
this._x = Math.asin( - clamp( m23, -1, 1 ) );
|
|
5293
5293
|
|
|
5294
5294
|
if ( Math.abs( m23 ) < 0.9999999 ) {
|
|
5295
5295
|
|
|
@@ -5307,7 +5307,7 @@ Object.assign( Euler.prototype, {
|
|
|
5307
5307
|
|
|
5308
5308
|
case 'ZXY':
|
|
5309
5309
|
|
|
5310
|
-
this._x = Math.asin( clamp( m32, -
|
|
5310
|
+
this._x = Math.asin( clamp( m32, -1, 1 ) );
|
|
5311
5311
|
|
|
5312
5312
|
if ( Math.abs( m32 ) < 0.9999999 ) {
|
|
5313
5313
|
|
|
@@ -5325,7 +5325,7 @@ Object.assign( Euler.prototype, {
|
|
|
5325
5325
|
|
|
5326
5326
|
case 'ZYX':
|
|
5327
5327
|
|
|
5328
|
-
this._y = Math.asin( - clamp( m31, -
|
|
5328
|
+
this._y = Math.asin( - clamp( m31, -1, 1 ) );
|
|
5329
5329
|
|
|
5330
5330
|
if ( Math.abs( m31 ) < 0.9999999 ) {
|
|
5331
5331
|
|
|
@@ -5343,7 +5343,7 @@ Object.assign( Euler.prototype, {
|
|
|
5343
5343
|
|
|
5344
5344
|
case 'YZX':
|
|
5345
5345
|
|
|
5346
|
-
this._z = Math.asin( clamp( m21, -
|
|
5346
|
+
this._z = Math.asin( clamp( m21, -1, 1 ) );
|
|
5347
5347
|
|
|
5348
5348
|
if ( Math.abs( m21 ) < 0.9999999 ) {
|
|
5349
5349
|
|
|
@@ -5361,7 +5361,7 @@ Object.assign( Euler.prototype, {
|
|
|
5361
5361
|
|
|
5362
5362
|
case 'XZY':
|
|
5363
5363
|
|
|
5364
|
-
this._z = Math.asin( - clamp( m12, -
|
|
5364
|
+
this._z = Math.asin( - clamp( m12, -1, 1 ) );
|
|
5365
5365
|
|
|
5366
5366
|
if ( Math.abs( m12 ) < 0.9999999 ) {
|
|
5367
5367
|
|
|
@@ -5888,7 +5888,7 @@ Object3D.prototype = Object.assign( Object.create( EventDispatcher.prototype ),
|
|
|
5888
5888
|
|
|
5889
5889
|
var index = this.children.indexOf( object );
|
|
5890
5890
|
|
|
5891
|
-
if ( index !== -
|
|
5891
|
+
if ( index !== -1 ) {
|
|
5892
5892
|
|
|
5893
5893
|
object.parent = null;
|
|
5894
5894
|
this.children.splice( index, 1 );
|
|
@@ -7020,7 +7020,7 @@ var _box$1 = new Box3();
|
|
|
7020
7020
|
function Sphere( center, radius ) {
|
|
7021
7021
|
|
|
7022
7022
|
this.center = ( center !== undefined ) ? center : new Vector3();
|
|
7023
|
-
this.radius = ( radius !== undefined ) ? radius : -
|
|
7023
|
+
this.radius = ( radius !== undefined ) ? radius : -1;
|
|
7024
7024
|
|
|
7025
7025
|
}
|
|
7026
7026
|
|
|
@@ -7087,7 +7087,7 @@ Object.assign( Sphere.prototype, {
|
|
|
7087
7087
|
makeEmpty: function () {
|
|
7088
7088
|
|
|
7089
7089
|
this.center.set( 0, 0, 0 );
|
|
7090
|
-
this.radius = -
|
|
7090
|
+
this.radius = -1;
|
|
7091
7091
|
|
|
7092
7092
|
return this;
|
|
7093
7093
|
|
|
@@ -7214,7 +7214,7 @@ var _normal = new Vector3();
|
|
|
7214
7214
|
function Ray( origin, direction ) {
|
|
7215
7215
|
|
|
7216
7216
|
this.origin = ( origin !== undefined ) ? origin : new Vector3();
|
|
7217
|
-
this.direction = ( direction !== undefined ) ? direction : new Vector3( 0, 0, -
|
|
7217
|
+
this.direction = ( direction !== undefined ) ? direction : new Vector3( 0, 0, -1 );
|
|
7218
7218
|
|
|
7219
7219
|
}
|
|
7220
7220
|
|
|
@@ -7642,7 +7642,7 @@ Object.assign( Ray.prototype, {
|
|
|
7642
7642
|
|
|
7643
7643
|
} else if ( DdN < 0 ) {
|
|
7644
7644
|
|
|
7645
|
-
sign = -
|
|
7645
|
+
sign = -1;
|
|
7646
7646
|
DdN = - DdN;
|
|
7647
7647
|
|
|
7648
7648
|
} else {
|
|
@@ -7798,7 +7798,7 @@ Object.assign( Plane.prototype, {
|
|
|
7798
7798
|
|
|
7799
7799
|
negate: function () {
|
|
7800
7800
|
|
|
7801
|
-
this.constant *= -
|
|
7801
|
+
this.constant *= -1;
|
|
7802
7802
|
this.normal.negate();
|
|
7803
7803
|
|
|
7804
7804
|
return this;
|
|
@@ -8014,7 +8014,7 @@ Object.assign( Triangle, {
|
|
|
8014
8014
|
|
|
8015
8015
|
// arbitrary location outside of triangle?
|
|
8016
8016
|
// not sure if this is the best idea, maybe should be returning undefined
|
|
8017
|
-
return target.set( -
|
|
8017
|
+
return target.set( -2, -1, -1 );
|
|
8018
8018
|
|
|
8019
8019
|
}
|
|
8020
8020
|
|
|
@@ -8657,7 +8657,7 @@ Object.assign( Color.prototype, {
|
|
|
8657
8657
|
|
|
8658
8658
|
getHexString: function () {
|
|
8659
8659
|
|
|
8660
|
-
return ( '000000' + this.getHex().toString( 16 ) ).slice( -
|
|
8660
|
+
return ( '000000' + this.getHex().toString( 16 ) ).slice( -6 );
|
|
8661
8661
|
|
|
8662
8662
|
},
|
|
8663
8663
|
|
|
@@ -9487,7 +9487,7 @@ function BufferAttribute( array, itemSize, normalized ) {
|
|
|
9487
9487
|
this.normalized = normalized === true;
|
|
9488
9488
|
|
|
9489
9489
|
this.usage = StaticDrawUsage;
|
|
9490
|
-
this.updateRange = { offset: 0, count: -
|
|
9490
|
+
this.updateRange = { offset: 0, count: -1 };
|
|
9491
9491
|
|
|
9492
9492
|
this.version = 0;
|
|
9493
9493
|
|
|
@@ -13403,12 +13403,12 @@ class BoxBufferGeometry extends BufferGeometry {
|
|
|
13403
13403
|
|
|
13404
13404
|
// build each side of the box geometry
|
|
13405
13405
|
|
|
13406
|
-
buildPlane( 'z', 'y', 'x', -
|
|
13407
|
-
buildPlane( 'z', 'y', 'x', 1, -
|
|
13406
|
+
buildPlane( 'z', 'y', 'x', -1, -1, depth, height, width, depthSegments, heightSegments, 0 ); // px
|
|
13407
|
+
buildPlane( 'z', 'y', 'x', 1, -1, depth, height, - width, depthSegments, heightSegments, 1 ); // nx
|
|
13408
13408
|
buildPlane( 'x', 'z', 'y', 1, 1, width, depth, height, widthSegments, depthSegments, 2 ); // py
|
|
13409
|
-
buildPlane( 'x', 'z', 'y', 1, -
|
|
13410
|
-
buildPlane( 'x', 'y', 'z', 1, -
|
|
13411
|
-
buildPlane( 'x', 'y', 'z', -
|
|
13409
|
+
buildPlane( 'x', 'z', 'y', 1, -1, width, depth, - height, widthSegments, depthSegments, 3 ); // ny
|
|
13410
|
+
buildPlane( 'x', 'y', 'z', 1, -1, width, height, depth, widthSegments, heightSegments, 4 ); // pz
|
|
13411
|
+
buildPlane( 'x', 'y', 'z', -1, -1, width, height, - depth, widthSegments, heightSegments, 5 ); // nz
|
|
13412
13412
|
|
|
13413
13413
|
// build geometry
|
|
13414
13414
|
|
|
@@ -13458,7 +13458,7 @@ class BoxBufferGeometry extends BufferGeometry {
|
|
|
13458
13458
|
|
|
13459
13459
|
vector[ u ] = 0;
|
|
13460
13460
|
vector[ v ] = 0;
|
|
13461
|
-
vector[ w ] = depth > 0 ? 1 : -
|
|
13461
|
+
vector[ w ] = depth > 0 ? 1 : -1;
|
|
13462
13462
|
|
|
13463
13463
|
// now apply vector to normal buffer
|
|
13464
13464
|
|
|
@@ -14063,7 +14063,7 @@ PerspectiveCamera.prototype = Object.assign( Object.create( Camera.prototype ),
|
|
|
14063
14063
|
top = near * Math.tan( MathUtils.DEG2RAD * 0.5 * this.fov ) / this.zoom,
|
|
14064
14064
|
height = 2 * top,
|
|
14065
14065
|
width = this.aspect * height,
|
|
14066
|
-
left = -
|
|
14066
|
+
left = -0.5 * width,
|
|
14067
14067
|
view = this.view;
|
|
14068
14068
|
|
|
14069
14069
|
if ( this.view !== null && this.view.enabled ) {
|
|
@@ -14137,14 +14137,14 @@ function CubeCamera( near, far, renderTarget ) {
|
|
|
14137
14137
|
|
|
14138
14138
|
var cameraPX = new PerspectiveCamera( fov, aspect, near, far );
|
|
14139
14139
|
cameraPX.layers = this.layers;
|
|
14140
|
-
cameraPX.up.set( 0, -
|
|
14140
|
+
cameraPX.up.set( 0, -1, 0 );
|
|
14141
14141
|
cameraPX.lookAt( new Vector3( 1, 0, 0 ) );
|
|
14142
14142
|
this.add( cameraPX );
|
|
14143
14143
|
|
|
14144
14144
|
var cameraNX = new PerspectiveCamera( fov, aspect, near, far );
|
|
14145
14145
|
cameraNX.layers = this.layers;
|
|
14146
|
-
cameraNX.up.set( 0, -
|
|
14147
|
-
cameraNX.lookAt( new Vector3( -
|
|
14146
|
+
cameraNX.up.set( 0, -1, 0 );
|
|
14147
|
+
cameraNX.lookAt( new Vector3( -1, 0, 0 ) );
|
|
14148
14148
|
this.add( cameraNX );
|
|
14149
14149
|
|
|
14150
14150
|
var cameraPY = new PerspectiveCamera( fov, aspect, near, far );
|
|
@@ -14155,20 +14155,20 @@ function CubeCamera( near, far, renderTarget ) {
|
|
|
14155
14155
|
|
|
14156
14156
|
var cameraNY = new PerspectiveCamera( fov, aspect, near, far );
|
|
14157
14157
|
cameraNY.layers = this.layers;
|
|
14158
|
-
cameraNY.up.set( 0, 0, -
|
|
14159
|
-
cameraNY.lookAt( new Vector3( 0, -
|
|
14158
|
+
cameraNY.up.set( 0, 0, -1 );
|
|
14159
|
+
cameraNY.lookAt( new Vector3( 0, -1, 0 ) );
|
|
14160
14160
|
this.add( cameraNY );
|
|
14161
14161
|
|
|
14162
14162
|
var cameraPZ = new PerspectiveCamera( fov, aspect, near, far );
|
|
14163
14163
|
cameraPZ.layers = this.layers;
|
|
14164
|
-
cameraPZ.up.set( 0, -
|
|
14164
|
+
cameraPZ.up.set( 0, -1, 0 );
|
|
14165
14165
|
cameraPZ.lookAt( new Vector3( 0, 0, 1 ) );
|
|
14166
14166
|
this.add( cameraPZ );
|
|
14167
14167
|
|
|
14168
14168
|
var cameraNZ = new PerspectiveCamera( fov, aspect, near, far );
|
|
14169
14169
|
cameraNZ.layers = this.layers;
|
|
14170
|
-
cameraNZ.up.set( 0, -
|
|
14171
|
-
cameraNZ.lookAt( new Vector3( 0, 0, -
|
|
14170
|
+
cameraNZ.up.set( 0, -1, 0 );
|
|
14171
|
+
cameraNZ.lookAt( new Vector3( 0, 0, -1 ) );
|
|
14172
14172
|
this.add( cameraNZ );
|
|
14173
14173
|
|
|
14174
14174
|
this.update = function ( renderer, scene ) {
|
|
@@ -14564,7 +14564,7 @@ var UniformsLib = {
|
|
|
14564
14564
|
envmap: {
|
|
14565
14565
|
|
|
14566
14566
|
envMap: { value: null },
|
|
14567
|
-
flipEnvMap: { value: -
|
|
14567
|
+
flipEnvMap: { value: -1 },
|
|
14568
14568
|
reflectivity: { value: 1.0 },
|
|
14569
14569
|
refractionRatio: { value: 0.98 },
|
|
14570
14570
|
maxMipLevel: { value: 0 }
|
|
@@ -14868,7 +14868,7 @@ function WebGLAttributes( gl, capabilities ) {
|
|
|
14868
14868
|
|
|
14869
14869
|
gl.bindBuffer( bufferType, buffer );
|
|
14870
14870
|
|
|
14871
|
-
if ( updateRange.count === -
|
|
14871
|
+
if ( updateRange.count === -1 ) {
|
|
14872
14872
|
|
|
14873
14873
|
// Not using update ranges
|
|
14874
14874
|
|
|
@@ -14888,7 +14888,7 @@ function WebGLAttributes( gl, capabilities ) {
|
|
|
14888
14888
|
|
|
14889
14889
|
}
|
|
14890
14890
|
|
|
14891
|
-
updateRange.count = -
|
|
14891
|
+
updateRange.count = -1; // reset range
|
|
14892
14892
|
|
|
14893
14893
|
}
|
|
14894
14894
|
|
|
@@ -15858,7 +15858,7 @@ function WebGLBackground( renderer, state, objects, premultipliedAlpha ) {
|
|
|
15858
15858
|
var texture = background.isWebGLCubeRenderTarget ? background.texture : background;
|
|
15859
15859
|
|
|
15860
15860
|
boxMesh.material.uniforms.envMap.value = texture;
|
|
15861
|
-
boxMesh.material.uniforms.flipEnvMap.value = texture.isCubeTexture ? -
|
|
15861
|
+
boxMesh.material.uniforms.flipEnvMap.value = texture.isCubeTexture ? -1 : 1;
|
|
15862
15862
|
|
|
15863
15863
|
if ( currentBackground !== background ||
|
|
15864
15864
|
currentBackgroundVersion !== texture.version ||
|
|
@@ -19277,7 +19277,7 @@ function WebGLRenderList() {
|
|
|
19277
19277
|
var opaque = [];
|
|
19278
19278
|
var transparent = [];
|
|
19279
19279
|
|
|
19280
|
-
var defaultProgram = { id: -
|
|
19280
|
+
var defaultProgram = { id: -1 };
|
|
19281
19281
|
|
|
19282
19282
|
function init() {
|
|
19283
19283
|
|
|
@@ -19599,15 +19599,15 @@ function WebGLLights() {
|
|
|
19599
19599
|
version: 0,
|
|
19600
19600
|
|
|
19601
19601
|
hash: {
|
|
19602
|
-
directionalLength: -
|
|
19603
|
-
pointLength: -
|
|
19604
|
-
spotLength: -
|
|
19605
|
-
rectAreaLength: -
|
|
19606
|
-
hemiLength: -
|
|
19607
|
-
|
|
19608
|
-
numDirectionalShadows: -
|
|
19609
|
-
numPointShadows: -
|
|
19610
|
-
numSpotShadows: -
|
|
19602
|
+
directionalLength: -1,
|
|
19603
|
+
pointLength: -1,
|
|
19604
|
+
spotLength: -1,
|
|
19605
|
+
rectAreaLength: -1,
|
|
19606
|
+
hemiLength: -1,
|
|
19607
|
+
|
|
19608
|
+
numDirectionalShadows: -1,
|
|
19609
|
+
numPointShadows: -1,
|
|
19610
|
+
numSpotShadows: -1
|
|
19611
19611
|
},
|
|
19612
19612
|
|
|
19613
19613
|
ambient: [ 0, 0, 0 ],
|
|
@@ -20213,7 +20213,7 @@ function WebGLShadowMap( _renderer, _objects, maxTextureSize ) {
|
|
|
20213
20213
|
fullScreenTri.setAttribute(
|
|
20214
20214
|
"position",
|
|
20215
20215
|
new BufferAttribute(
|
|
20216
|
-
new Float32Array( [ -
|
|
20216
|
+
new Float32Array( [ -1, -1, 0.5, 3, -1, 0.5, -1, 3, 0.5 ] ),
|
|
20217
20217
|
3
|
|
20218
20218
|
)
|
|
20219
20219
|
);
|
|
@@ -20658,7 +20658,7 @@ function WebGLState( gl, extensions, capabilities ) {
|
|
|
20658
20658
|
locked = false;
|
|
20659
20659
|
|
|
20660
20660
|
currentColorMask = null;
|
|
20661
|
-
currentColorClear.set( -
|
|
20661
|
+
currentColorClear.set( -1, 0, 0, 0 ); // set to invalid state
|
|
20662
20662
|
|
|
20663
20663
|
}
|
|
20664
20664
|
|
|
@@ -20949,12 +20949,12 @@ function WebGLState( gl, extensions, capabilities ) {
|
|
|
20949
20949
|
var version = 0;
|
|
20950
20950
|
var glVersion = gl.getParameter( 7938 );
|
|
20951
20951
|
|
|
20952
|
-
if ( glVersion.indexOf( 'WebGL' ) !== -
|
|
20952
|
+
if ( glVersion.indexOf( 'WebGL' ) !== -1 ) {
|
|
20953
20953
|
|
|
20954
20954
|
version = parseFloat( /^WebGL\ ([0-9])/.exec( glVersion )[ 1 ] );
|
|
20955
20955
|
lineWidthAvailable = ( version >= 1.0 );
|
|
20956
20956
|
|
|
20957
|
-
} else if ( glVersion.indexOf( 'OpenGL ES' ) !== -
|
|
20957
|
+
} else if ( glVersion.indexOf( 'OpenGL ES' ) !== -1 ) {
|
|
20958
20958
|
|
|
20959
20959
|
version = parseFloat( /^OpenGL\ ES\ ([0-9])/.exec( glVersion )[ 1 ] );
|
|
20960
20960
|
lineWidthAvailable = ( version >= 2.0 );
|
|
@@ -23906,7 +23906,7 @@ function WebGLMaterials( properties ) {
|
|
|
23906
23906
|
|
|
23907
23907
|
uniforms.envMap.value = envMap;
|
|
23908
23908
|
|
|
23909
|
-
uniforms.flipEnvMap.value = envMap.isCubeTexture ? -
|
|
23909
|
+
uniforms.flipEnvMap.value = envMap.isCubeTexture ? -1 : 1;
|
|
23910
23910
|
|
|
23911
23911
|
uniforms.reflectivity.value = material.reflectivity;
|
|
23912
23912
|
uniforms.refractionRatio.value = material.refractionRatio;
|
|
@@ -24170,7 +24170,7 @@ function WebGLMaterials( properties ) {
|
|
|
24170
24170
|
|
|
24171
24171
|
uniforms.bumpMap.value = material.bumpMap;
|
|
24172
24172
|
uniforms.bumpScale.value = material.bumpScale;
|
|
24173
|
-
if ( material.side === BackSide ) uniforms.bumpScale.value *= -
|
|
24173
|
+
if ( material.side === BackSide ) uniforms.bumpScale.value *= -1;
|
|
24174
24174
|
|
|
24175
24175
|
}
|
|
24176
24176
|
|
|
@@ -24213,7 +24213,7 @@ function WebGLMaterials( properties ) {
|
|
|
24213
24213
|
|
|
24214
24214
|
uniforms.bumpMap.value = material.bumpMap;
|
|
24215
24215
|
uniforms.bumpScale.value = material.bumpScale;
|
|
24216
|
-
if ( material.side === BackSide ) uniforms.bumpScale.value *= -
|
|
24216
|
+
if ( material.side === BackSide ) uniforms.bumpScale.value *= -1;
|
|
24217
24217
|
|
|
24218
24218
|
}
|
|
24219
24219
|
|
|
@@ -24262,7 +24262,7 @@ function WebGLMaterials( properties ) {
|
|
|
24262
24262
|
|
|
24263
24263
|
uniforms.bumpMap.value = material.bumpMap;
|
|
24264
24264
|
uniforms.bumpScale.value = material.bumpScale;
|
|
24265
|
-
if ( material.side === BackSide ) uniforms.bumpScale.value *= -
|
|
24265
|
+
if ( material.side === BackSide ) uniforms.bumpScale.value *= -1;
|
|
24266
24266
|
|
|
24267
24267
|
}
|
|
24268
24268
|
|
|
@@ -24342,7 +24342,7 @@ function WebGLMaterials( properties ) {
|
|
|
24342
24342
|
|
|
24343
24343
|
uniforms.bumpMap.value = material.bumpMap;
|
|
24344
24344
|
uniforms.bumpScale.value = material.bumpScale;
|
|
24345
|
-
if ( material.side === BackSide ) uniforms.bumpScale.value *= -
|
|
24345
|
+
if ( material.side === BackSide ) uniforms.bumpScale.value *= -1;
|
|
24346
24346
|
|
|
24347
24347
|
}
|
|
24348
24348
|
|
|
@@ -24398,7 +24398,7 @@ function WebGLMaterials( properties ) {
|
|
|
24398
24398
|
|
|
24399
24399
|
uniforms.bumpMap.value = material.bumpMap;
|
|
24400
24400
|
uniforms.bumpScale.value = material.bumpScale;
|
|
24401
|
-
if ( material.side === BackSide ) uniforms.bumpScale.value *= -
|
|
24401
|
+
if ( material.side === BackSide ) uniforms.bumpScale.value *= -1;
|
|
24402
24402
|
|
|
24403
24403
|
}
|
|
24404
24404
|
|
|
@@ -24518,7 +24518,7 @@ function WebGLRenderer( parameters ) {
|
|
|
24518
24518
|
_currentActiveMipmapLevel = 0,
|
|
24519
24519
|
_currentRenderTarget = null,
|
|
24520
24520
|
_currentFramebuffer = null,
|
|
24521
|
-
_currentMaterialId = -
|
|
24521
|
+
_currentMaterialId = -1,
|
|
24522
24522
|
|
|
24523
24523
|
// geometry and program caching
|
|
24524
24524
|
|
|
@@ -25541,7 +25541,7 @@ function WebGLRenderer( parameters ) {
|
|
|
25541
25541
|
_currentGeometryProgram.geometry = null;
|
|
25542
25542
|
_currentGeometryProgram.program = null;
|
|
25543
25543
|
_currentGeometryProgram.wireframe = false;
|
|
25544
|
-
_currentMaterialId = -
|
|
25544
|
+
_currentMaterialId = -1;
|
|
25545
25545
|
_currentCamera = null;
|
|
25546
25546
|
|
|
25547
25547
|
// update scene graph
|
|
@@ -26648,7 +26648,7 @@ function InterleavedBuffer( array, stride ) {
|
|
|
26648
26648
|
this.count = array !== undefined ? array.length / stride : 0;
|
|
26649
26649
|
|
|
26650
26650
|
this.usage = StaticDrawUsage;
|
|
26651
|
-
this.updateRange = { offset: 0, count: -
|
|
26651
|
+
this.updateRange = { offset: 0, count: -1 };
|
|
26652
26652
|
|
|
26653
26653
|
this.version = 0;
|
|
26654
26654
|
|
|
@@ -27029,10 +27029,10 @@ function Sprite( material ) {
|
|
|
27029
27029
|
_geometry = new BufferGeometry();
|
|
27030
27030
|
|
|
27031
27031
|
var float32Array = new Float32Array( [
|
|
27032
|
-
-
|
|
27033
|
-
0.5, -
|
|
27032
|
+
-0.5, -0.5, 0, 0, 0,
|
|
27033
|
+
0.5, -0.5, 0, 1, 0,
|
|
27034
27034
|
0.5, 0.5, 0, 1, 1,
|
|
27035
|
-
-
|
|
27035
|
+
-0.5, 0.5, 0, 0, 1
|
|
27036
27036
|
] );
|
|
27037
27037
|
|
|
27038
27038
|
var interleavedBuffer = new InterleavedBuffer( float32Array, 5 );
|
|
@@ -27088,8 +27088,8 @@ Sprite.prototype = Object.assign( Object.create( Object3D.prototype ), {
|
|
|
27088
27088
|
|
|
27089
27089
|
var center = this.center;
|
|
27090
27090
|
|
|
27091
|
-
transformVertex( _vA$1.set( -
|
|
27092
|
-
transformVertex( _vB$1.set( 0.5, -
|
|
27091
|
+
transformVertex( _vA$1.set( -0.5, -0.5, 0 ), _mvPosition, center, _worldScale, sin, cos );
|
|
27092
|
+
transformVertex( _vB$1.set( 0.5, -0.5, 0 ), _mvPosition, center, _worldScale, sin, cos );
|
|
27093
27093
|
transformVertex( _vC$1.set( 0.5, 0.5, 0 ), _mvPosition, center, _worldScale, sin, cos );
|
|
27094
27094
|
|
|
27095
27095
|
_uvA$1.set( 0, 0 );
|
|
@@ -27102,7 +27102,7 @@ Sprite.prototype = Object.assign( Object.create( Object3D.prototype ), {
|
|
|
27102
27102
|
if ( intersect === null ) {
|
|
27103
27103
|
|
|
27104
27104
|
// check second triangle
|
|
27105
|
-
transformVertex( _vB$1.set( -
|
|
27105
|
+
transformVertex( _vB$1.set( -0.5, 0.5, 0 ), _mvPosition, center, _worldScale, sin, cos );
|
|
27106
27106
|
_uvB$1.set( 0, 1 );
|
|
27107
27107
|
|
|
27108
27108
|
intersect = raycaster.ray.intersectTriangle( _vA$1, _vC$1, _vB$1, false, _intersectPoint );
|
|
@@ -27546,7 +27546,7 @@ function Skeleton( bones, boneInverses ) {
|
|
|
27546
27546
|
this.bones = bones.slice( 0 );
|
|
27547
27547
|
this.boneMatrices = new Float32Array( this.bones.length * 16 );
|
|
27548
27548
|
|
|
27549
|
-
this.frame = -
|
|
27549
|
+
this.frame = -1;
|
|
27550
27550
|
|
|
27551
27551
|
// use the supplied bone inverses or calculate the inverses
|
|
27552
27552
|
|
|
@@ -29304,7 +29304,7 @@ TetrahedronGeometry.prototype.constructor = TetrahedronGeometry;
|
|
|
29304
29304
|
function TetrahedronBufferGeometry( radius, detail ) {
|
|
29305
29305
|
|
|
29306
29306
|
var vertices = [
|
|
29307
|
-
1, 1, 1, -
|
|
29307
|
+
1, 1, 1, -1, -1, 1, -1, 1, -1, 1, -1, -1
|
|
29308
29308
|
];
|
|
29309
29309
|
|
|
29310
29310
|
var indices = [
|
|
@@ -29356,8 +29356,8 @@ OctahedronGeometry.prototype.constructor = OctahedronGeometry;
|
|
|
29356
29356
|
function OctahedronBufferGeometry( radius, detail ) {
|
|
29357
29357
|
|
|
29358
29358
|
var vertices = [
|
|
29359
|
-
1, 0, 0, -
|
|
29360
|
-
0, -
|
|
29359
|
+
1, 0, 0, -1, 0, 0, 0, 1, 0,
|
|
29360
|
+
0, -1, 0, 0, 0, 1, 0, 0, -1
|
|
29361
29361
|
];
|
|
29362
29362
|
|
|
29363
29363
|
var indices = [
|
|
@@ -29413,9 +29413,9 @@ function IcosahedronBufferGeometry( radius, detail ) {
|
|
|
29413
29413
|
var t = ( 1 + Math.sqrt( 5 ) ) / 2;
|
|
29414
29414
|
|
|
29415
29415
|
var vertices = [
|
|
29416
|
-
-
|
|
29417
|
-
0, -
|
|
29418
|
-
t, 0, -
|
|
29416
|
+
-1, t, 0, 1, t, 0, -1, - t, 0, 1, - t, 0,
|
|
29417
|
+
0, -1, t, 0, 1, t, 0, -1, - t, 0, 1, - t,
|
|
29418
|
+
t, 0, -1, t, 0, 1, - t, 0, -1, - t, 0, 1
|
|
29419
29419
|
];
|
|
29420
29420
|
|
|
29421
29421
|
var indices = [
|
|
@@ -29475,10 +29475,10 @@ function DodecahedronBufferGeometry( radius, detail ) {
|
|
|
29475
29475
|
var vertices = [
|
|
29476
29476
|
|
|
29477
29477
|
// (±1, ±1, ±1)
|
|
29478
|
-
-
|
|
29479
|
-
-
|
|
29480
|
-
1, -
|
|
29481
|
-
1, 1, -
|
|
29478
|
+
-1, -1, -1, -1, -1, 1,
|
|
29479
|
+
-1, 1, -1, -1, 1, 1,
|
|
29480
|
+
1, -1, -1, 1, -1, 1,
|
|
29481
|
+
1, 1, -1, 1, 1, 1,
|
|
29482
29482
|
|
|
29483
29483
|
// (0, ±1/φ, ±φ)
|
|
29484
29484
|
0, - r, - t, 0, - r, t,
|
|
@@ -30716,7 +30716,7 @@ function onSegment( p, q, r ) {
|
|
|
30716
30716
|
|
|
30717
30717
|
function sign( num ) {
|
|
30718
30718
|
|
|
30719
|
-
return num > 0 ? 1 : num < 0 ? -
|
|
30719
|
+
return num > 0 ? 1 : num < 0 ? -1 : 0;
|
|
30720
30720
|
|
|
30721
30721
|
}
|
|
30722
30722
|
|
|
@@ -31954,7 +31954,7 @@ function SphereBufferGeometry( radius, widthSegments, heightSegments, phiStart,
|
|
|
31954
31954
|
|
|
31955
31955
|
} else if ( iy == heightSegments && thetaEnd == Math.PI ) {
|
|
31956
31956
|
|
|
31957
|
-
uOffset = -
|
|
31957
|
+
uOffset = -0.5 / widthSegments;
|
|
31958
31958
|
|
|
31959
31959
|
}
|
|
31960
31960
|
|
|
@@ -32859,7 +32859,7 @@ function CylinderBufferGeometry( radiusTop, radiusBottom, height, radialSegments
|
|
|
32859
32859
|
var groupCount = 0;
|
|
32860
32860
|
|
|
32861
32861
|
var radius = ( top === true ) ? radiusTop : radiusBottom;
|
|
32862
|
-
var sign = ( top === true ) ? 1 : -
|
|
32862
|
+
var sign = ( top === true ) ? 1 : -1;
|
|
32863
32863
|
|
|
32864
32864
|
// save the index of the first center vertex
|
|
32865
32865
|
centerIndexStart = index;
|
|
@@ -34419,7 +34419,7 @@ var AnimationUtils = {
|
|
|
34419
34419
|
|
|
34420
34420
|
for ( var i = 0; i < clip.tracks.length; ++ i ) {
|
|
34421
34421
|
|
|
34422
|
-
clip.tracks[ i ].shift( -
|
|
34422
|
+
clip.tracks[ i ].shift( -1 * minStartTime );
|
|
34423
34423
|
|
|
34424
34424
|
}
|
|
34425
34425
|
|
|
@@ -34808,10 +34808,10 @@ function CubicInterpolant( parameterPositions, sampleValues, sampleSize, resultB
|
|
|
34808
34808
|
|
|
34809
34809
|
Interpolant.call( this, parameterPositions, sampleValues, sampleSize, resultBuffer );
|
|
34810
34810
|
|
|
34811
|
-
this._weightPrev = -
|
|
34812
|
-
this._offsetPrev = -
|
|
34813
|
-
this._weightNext = -
|
|
34814
|
-
this._offsetNext = -
|
|
34811
|
+
this._weightPrev = -0;
|
|
34812
|
+
this._offsetPrev = -0;
|
|
34813
|
+
this._weightNext = -0;
|
|
34814
|
+
this._offsetNext = -0;
|
|
34815
34815
|
|
|
34816
34816
|
}
|
|
34817
34817
|
|
|
@@ -34922,8 +34922,8 @@ CubicInterpolant.prototype = Object.assign( Object.create( Interpolant.prototype
|
|
|
34922
34922
|
// evaluate polynomials
|
|
34923
34923
|
|
|
34924
34924
|
var sP = - wP * ppp + 2 * wP * pp - wP * p;
|
|
34925
|
-
var s0 = ( 1 + wP ) * ppp + ( -
|
|
34926
|
-
var s1 = ( -
|
|
34925
|
+
var s0 = ( 1 + wP ) * ppp + ( -1.5 - 2 * wP ) * pp + ( -0.5 + wP ) * p + 1;
|
|
34926
|
+
var s1 = ( -1 - wN ) * ppp + ( 1.5 + wN ) * pp + 0.5 * p;
|
|
34927
34927
|
var sN = wN * ppp - wN * pp;
|
|
34928
34928
|
|
|
34929
34929
|
// combine data linearly
|
|
@@ -35245,7 +35245,7 @@ Object.assign( KeyframeTrack.prototype, {
|
|
|
35245
35245
|
|
|
35246
35246
|
}
|
|
35247
35247
|
|
|
35248
|
-
while ( to !== -
|
|
35248
|
+
while ( to !== -1 && times[ to ] > endTime ) {
|
|
35249
35249
|
|
|
35250
35250
|
-- to;
|
|
35251
35251
|
|
|
@@ -35715,7 +35715,7 @@ function AnimationClip( name, duration, tracks, blendMode ) {
|
|
|
35715
35715
|
|
|
35716
35716
|
this.name = name;
|
|
35717
35717
|
this.tracks = tracks;
|
|
35718
|
-
this.duration = ( duration !== undefined ) ? duration : -
|
|
35718
|
+
this.duration = ( duration !== undefined ) ? duration : -1;
|
|
35719
35719
|
this.blendMode = ( blendMode !== undefined ) ? blendMode : NormalAnimationBlendMode;
|
|
35720
35720
|
|
|
35721
35721
|
this.uuid = MathUtils.generateUUID();
|
|
@@ -35887,7 +35887,7 @@ Object.assign( AnimationClip, {
|
|
|
35887
35887
|
|
|
35888
35888
|
}
|
|
35889
35889
|
|
|
35890
|
-
return new AnimationClip( name, -
|
|
35890
|
+
return new AnimationClip( name, -1, tracks );
|
|
35891
35891
|
|
|
35892
35892
|
},
|
|
35893
35893
|
|
|
@@ -35995,7 +35995,7 @@ Object.assign( AnimationClip, {
|
|
|
35995
35995
|
|
|
35996
35996
|
var clipName = animation.name || 'default';
|
|
35997
35997
|
// automatic length determination in AnimationClip.
|
|
35998
|
-
var duration = animation.length || -
|
|
35998
|
+
var duration = animation.length || -1;
|
|
35999
35999
|
var fps = animation.fps || 30;
|
|
36000
36000
|
var blendMode = animation.blendMode;
|
|
36001
36001
|
|
|
@@ -36020,7 +36020,7 @@ Object.assign( AnimationClip, {
|
|
|
36020
36020
|
|
|
36021
36021
|
for ( var m = 0; m < animationKeys[ k ].morphTargets.length; m ++ ) {
|
|
36022
36022
|
|
|
36023
|
-
morphTargetNames[ animationKeys[ k ].morphTargets[ m ] ] = -
|
|
36023
|
+
morphTargetNames[ animationKeys[ k ].morphTargets[ m ] ] = -1;
|
|
36024
36024
|
|
|
36025
36025
|
}
|
|
36026
36026
|
|
|
@@ -36311,7 +36311,7 @@ function LoadingManager( onLoad, onProgress, onError ) {
|
|
|
36311
36311
|
|
|
36312
36312
|
var index = handlers.indexOf( regex );
|
|
36313
36313
|
|
|
36314
|
-
if ( index !== -
|
|
36314
|
+
if ( index !== -1 ) {
|
|
36315
36315
|
|
|
36316
36316
|
handlers.splice( index, 2 );
|
|
36317
36317
|
|
|
@@ -37525,7 +37525,7 @@ Object.assign( Curve.prototype, {
|
|
|
37525
37525
|
|
|
37526
37526
|
vec.normalize();
|
|
37527
37527
|
|
|
37528
|
-
theta = Math.acos( MathUtils.clamp( tangents[ i - 1 ].dot( tangents[ i ] ), -
|
|
37528
|
+
theta = Math.acos( MathUtils.clamp( tangents[ i - 1 ].dot( tangents[ i ] ), -1, 1 ) ); // clamp for floating pt errors
|
|
37529
37529
|
|
|
37530
37530
|
normals[ i ].applyMatrix4( mat.makeRotationAxis( vec, theta ) );
|
|
37531
37531
|
|
|
@@ -37539,7 +37539,7 @@ Object.assign( Curve.prototype, {
|
|
|
37539
37539
|
|
|
37540
37540
|
if ( closed === true ) {
|
|
37541
37541
|
|
|
37542
|
-
theta = Math.acos( MathUtils.clamp( normals[ 0 ].dot( normals[ segments ] ), -
|
|
37542
|
+
theta = Math.acos( MathUtils.clamp( normals[ 0 ].dot( normals[ segments ] ), -1, 1 ) );
|
|
37543
37543
|
theta /= segments;
|
|
37544
37544
|
|
|
37545
37545
|
if ( tangents[ 0 ].dot( vec.crossVectors( normals[ 0 ], normals[ segments ] ) ) > 0 ) {
|
|
@@ -37810,7 +37810,7 @@ function CubicPoly() {
|
|
|
37810
37810
|
|
|
37811
37811
|
c0 = x0;
|
|
37812
37812
|
c1 = t0;
|
|
37813
|
-
c2 = -
|
|
37813
|
+
c2 = -3 * x0 + 3 * x1 - 2 * t0 - t1;
|
|
37814
37814
|
c3 = 2 * x0 - 2 * x1 + t0 + t1;
|
|
37815
37815
|
|
|
37816
37816
|
}
|
|
@@ -38035,7 +38035,7 @@ function CatmullRom( t, p0, p1, p2, p3 ) {
|
|
|
38035
38035
|
var v1 = ( p3 - p1 ) * 0.5;
|
|
38036
38036
|
var t2 = t * t;
|
|
38037
38037
|
var t3 = t * t2;
|
|
38038
|
-
return ( 2 * p1 - 2 * p2 + v0 + v1 ) * t3 + ( -
|
|
38038
|
+
return ( 2 * p1 - 2 * p2 + v0 + v1 ) * t3 + ( -3 * p1 + 3 * p2 - 2 * v0 - v1 ) * t2 + v0 * t + p1;
|
|
38039
38039
|
|
|
38040
38040
|
}
|
|
38041
38041
|
|
|
@@ -39574,13 +39574,13 @@ function PointLightShadow() {
|
|
|
39574
39574
|
];
|
|
39575
39575
|
|
|
39576
39576
|
this._cubeDirections = [
|
|
39577
|
-
new Vector3( 1, 0, 0 ), new Vector3( -
|
|
39578
|
-
new Vector3( 0, 0, -
|
|
39577
|
+
new Vector3( 1, 0, 0 ), new Vector3( -1, 0, 0 ), new Vector3( 0, 0, 1 ),
|
|
39578
|
+
new Vector3( 0, 0, -1 ), new Vector3( 0, 1, 0 ), new Vector3( 0, -1, 0 )
|
|
39579
39579
|
];
|
|
39580
39580
|
|
|
39581
39581
|
this._cubeUps = [
|
|
39582
39582
|
new Vector3( 0, 1, 0 ), new Vector3( 0, 1, 0 ), new Vector3( 0, 1, 0 ),
|
|
39583
|
-
new Vector3( 0, 1, 0 ), new Vector3( 0, 0, 1 ), new Vector3( 0, 0, -
|
|
39583
|
+
new Vector3( 0, 1, 0 ), new Vector3( 0, 0, 1 ), new Vector3( 0, 0, -1 )
|
|
39584
39584
|
];
|
|
39585
39585
|
|
|
39586
39586
|
}
|
|
@@ -39689,10 +39689,10 @@ function OrthographicCamera( left, right, top, bottom, near, far ) {
|
|
|
39689
39689
|
this.zoom = 1;
|
|
39690
39690
|
this.view = null;
|
|
39691
39691
|
|
|
39692
|
-
this.left = ( left !== undefined ) ? left : -
|
|
39692
|
+
this.left = ( left !== undefined ) ? left : -1;
|
|
39693
39693
|
this.right = ( right !== undefined ) ? right : 1;
|
|
39694
39694
|
this.top = ( top !== undefined ) ? top : 1;
|
|
39695
|
-
this.bottom = ( bottom !== undefined ) ? bottom : -
|
|
39695
|
+
this.bottom = ( bottom !== undefined ) ? bottom : -1;
|
|
39696
39696
|
|
|
39697
39697
|
this.near = ( near !== undefined ) ? near : 0.1;
|
|
39698
39698
|
this.far = ( far !== undefined ) ? far : 2000;
|
|
@@ -39821,7 +39821,7 @@ OrthographicCamera.prototype = Object.assign( Object.create( Camera.prototype ),
|
|
|
39821
39821
|
|
|
39822
39822
|
function DirectionalLightShadow() {
|
|
39823
39823
|
|
|
39824
|
-
LightShadow.call( this, new OrthographicCamera( -
|
|
39824
|
+
LightShadow.call( this, new OrthographicCamera( -5, 5, 5, -5, 0.5, 500 ) );
|
|
39825
39825
|
|
|
39826
39826
|
}
|
|
39827
39827
|
|
|
@@ -40579,7 +40579,7 @@ var LoaderUtils = {
|
|
|
40579
40579
|
|
|
40580
40580
|
var index = url.lastIndexOf( '/' );
|
|
40581
40581
|
|
|
40582
|
-
if ( index === -
|
|
40582
|
+
if ( index === -1 ) return './';
|
|
40583
40583
|
|
|
40584
40584
|
return url.substr( 0, index + 1 );
|
|
40585
40585
|
|
|
@@ -42839,7 +42839,7 @@ AudioListener.prototype = Object.assign( Object.create( Object3D.prototype ), {
|
|
|
42839
42839
|
|
|
42840
42840
|
this.matrixWorld.decompose( _position$2, _quaternion$3, _scale$1 );
|
|
42841
42841
|
|
|
42842
|
-
_orientation.set( 0, 0, -
|
|
42842
|
+
_orientation.set( 0, 0, -1 ).applyQuaternion( _quaternion$3 );
|
|
42843
42843
|
|
|
42844
42844
|
if ( listener.positionX ) {
|
|
42845
42845
|
|
|
@@ -43926,7 +43926,7 @@ Object.assign( PropertyBinding, {
|
|
|
43926
43926
|
|
|
43927
43927
|
var lastDot = results.nodeName && results.nodeName.lastIndexOf( '.' );
|
|
43928
43928
|
|
|
43929
|
-
if ( lastDot !== undefined && lastDot !== -
|
|
43929
|
+
if ( lastDot !== undefined && lastDot !== -1 ) {
|
|
43930
43930
|
|
|
43931
43931
|
var objectName = results.nodeName.substring( lastDot + 1 );
|
|
43932
43932
|
|
|
@@ -43934,7 +43934,7 @@ Object.assign( PropertyBinding, {
|
|
|
43934
43934
|
// is no way to parse 'foo.bar.baz': 'baz' must be a property, but
|
|
43935
43935
|
// 'bar' could be the objectName, or part of a nodeName (which can
|
|
43936
43936
|
// include '.' characters).
|
|
43937
|
-
if ( _supportedObjectNames.indexOf( objectName ) !== -
|
|
43937
|
+
if ( _supportedObjectNames.indexOf( objectName ) !== -1 ) {
|
|
43938
43938
|
|
|
43939
43939
|
results.nodeName = results.nodeName.substring( 0, lastDot );
|
|
43940
43940
|
results.objectName = objectName;
|
|
@@ -43955,7 +43955,7 @@ Object.assign( PropertyBinding, {
|
|
|
43955
43955
|
|
|
43956
43956
|
findNode: function ( root, nodeName ) {
|
|
43957
43957
|
|
|
43958
|
-
if ( ! nodeName || nodeName === "" || nodeName === "." || nodeName === -
|
|
43958
|
+
if ( ! nodeName || nodeName === "" || nodeName === "." || nodeName === -1 || nodeName === root.name || nodeName === root.uuid ) {
|
|
43959
43959
|
|
|
43960
43960
|
return root;
|
|
43961
43961
|
|
|
@@ -44873,7 +44873,7 @@ function AnimationAction( mixer, clip, localRoot, blendMode ) {
|
|
|
44873
44873
|
this._weightInterpolant = null;
|
|
44874
44874
|
|
|
44875
44875
|
this.loop = LoopRepeat;
|
|
44876
|
-
this._loopCount = -
|
|
44876
|
+
this._loopCount = -1;
|
|
44877
44877
|
|
|
44878
44878
|
// global mixer time when the action is to be started
|
|
44879
44879
|
// it's set back to 'null' upon start of the action
|
|
@@ -44927,7 +44927,7 @@ Object.assign( AnimationAction.prototype, {
|
|
|
44927
44927
|
this.enabled = true;
|
|
44928
44928
|
|
|
44929
44929
|
this.time = 0; // restart clip
|
|
44930
|
-
this._loopCount = -
|
|
44930
|
+
this._loopCount = -1;// forget previous loops
|
|
44931
44931
|
this._startTime = null;// forget scheduling
|
|
44932
44932
|
|
|
44933
44933
|
return this.stopFading().stopWarping();
|
|
@@ -45319,7 +45319,7 @@ Object.assign( AnimationAction.prototype, {
|
|
|
45319
45319
|
|
|
45320
45320
|
if ( deltaTime === 0 ) {
|
|
45321
45321
|
|
|
45322
|
-
if ( loopCount === -
|
|
45322
|
+
if ( loopCount === -1 ) return time;
|
|
45323
45323
|
|
|
45324
45324
|
return ( pingPong && ( loopCount & 1 ) === 1 ) ? duration - time : time;
|
|
45325
45325
|
|
|
@@ -45327,7 +45327,7 @@ Object.assign( AnimationAction.prototype, {
|
|
|
45327
45327
|
|
|
45328
45328
|
if ( loop === LoopOnce ) {
|
|
45329
45329
|
|
|
45330
|
-
if ( loopCount === -
|
|
45330
|
+
if ( loopCount === -1 ) {
|
|
45331
45331
|
|
|
45332
45332
|
// just started
|
|
45333
45333
|
|
|
@@ -45361,14 +45361,14 @@ Object.assign( AnimationAction.prototype, {
|
|
|
45361
45361
|
|
|
45362
45362
|
this._mixer.dispatchEvent( {
|
|
45363
45363
|
type: 'finished', action: this,
|
|
45364
|
-
direction: deltaTime < 0 ? -
|
|
45364
|
+
direction: deltaTime < 0 ? -1 : 1
|
|
45365
45365
|
} );
|
|
45366
45366
|
|
|
45367
45367
|
}
|
|
45368
45368
|
|
|
45369
45369
|
} else { // repetitive Repeat or PingPong
|
|
45370
45370
|
|
|
45371
|
-
if ( loopCount === -
|
|
45371
|
+
if ( loopCount === -1 ) {
|
|
45372
45372
|
|
|
45373
45373
|
// just started
|
|
45374
45374
|
|
|
@@ -45414,7 +45414,7 @@ Object.assign( AnimationAction.prototype, {
|
|
|
45414
45414
|
|
|
45415
45415
|
this._mixer.dispatchEvent( {
|
|
45416
45416
|
type: 'finished', action: this,
|
|
45417
|
-
direction: deltaTime > 0 ? 1 : -
|
|
45417
|
+
direction: deltaTime > 0 ? 1 : -1
|
|
45418
45418
|
} );
|
|
45419
45419
|
|
|
45420
45420
|
} else {
|
|
@@ -46433,7 +46433,7 @@ Object.assign( Raycaster.prototype, {
|
|
|
46433
46433
|
} else if ( ( camera && camera.isOrthographicCamera ) ) {
|
|
46434
46434
|
|
|
46435
46435
|
this.ray.origin.set( coords.x, coords.y, ( camera.near + camera.far ) / ( camera.near - camera.far ) ).unproject( camera ); // set origin in plane of camera
|
|
46436
|
-
this.ray.direction.set( 0, 0, -
|
|
46436
|
+
this.ray.direction.set( 0, 0, -1 ).transformDirection( camera.matrixWorld );
|
|
46437
46437
|
this.camera = camera;
|
|
46438
46438
|
|
|
46439
46439
|
} else {
|
|
@@ -46557,7 +46557,7 @@ Object.assign( Spherical.prototype, {
|
|
|
46557
46557
|
} else {
|
|
46558
46558
|
|
|
46559
46559
|
this.theta = Math.atan2( x, z );
|
|
46560
|
-
this.phi = Math.acos( MathUtils.clamp( y / this.radius, -
|
|
46560
|
+
this.phi = Math.acos( MathUtils.clamp( y / this.radius, -1, 1 ) );
|
|
46561
46561
|
|
|
46562
46562
|
}
|
|
46563
46563
|
|
|
@@ -47058,9 +47058,9 @@ function SpotLightHelper( light, color ) {
|
|
|
47058
47058
|
var positions = [
|
|
47059
47059
|
0, 0, 0, 0, 0, 1,
|
|
47060
47060
|
0, 0, 0, 1, 0, 1,
|
|
47061
|
-
0, 0, 0, -
|
|
47061
|
+
0, 0, 0, -1, 0, 1,
|
|
47062
47062
|
0, 0, 0, 0, 1, 1,
|
|
47063
|
-
0, 0, 0, 0, -
|
|
47063
|
+
0, 0, 0, 0, -1, 1
|
|
47064
47064
|
];
|
|
47065
47065
|
|
|
47066
47066
|
for ( var i = 0, j = 1, l = 32; i < l; i ++, j ++ ) {
|
|
@@ -47781,40 +47781,40 @@ CameraHelper.prototype.update = function () {
|
|
|
47781
47781
|
|
|
47782
47782
|
// center / target
|
|
47783
47783
|
|
|
47784
|
-
setPoint( 'c', pointMap, geometry, _camera, 0, 0, -
|
|
47784
|
+
setPoint( 'c', pointMap, geometry, _camera, 0, 0, -1 );
|
|
47785
47785
|
setPoint( 't', pointMap, geometry, _camera, 0, 0, 1 );
|
|
47786
47786
|
|
|
47787
47787
|
// near
|
|
47788
47788
|
|
|
47789
|
-
setPoint( 'n1', pointMap, geometry, _camera, -
|
|
47790
|
-
setPoint( 'n2', pointMap, geometry, _camera, w, -
|
|
47791
|
-
setPoint( 'n3', pointMap, geometry, _camera, -
|
|
47792
|
-
setPoint( 'n4', pointMap, geometry, _camera, w, h, -
|
|
47789
|
+
setPoint( 'n1', pointMap, geometry, _camera, -1, -1, -1 );
|
|
47790
|
+
setPoint( 'n2', pointMap, geometry, _camera, w, -1, -1 );
|
|
47791
|
+
setPoint( 'n3', pointMap, geometry, _camera, -1, h, -1 );
|
|
47792
|
+
setPoint( 'n4', pointMap, geometry, _camera, w, h, -1 );
|
|
47793
47793
|
|
|
47794
47794
|
// far
|
|
47795
47795
|
|
|
47796
|
-
setPoint( 'f1', pointMap, geometry, _camera, -
|
|
47797
|
-
setPoint( 'f2', pointMap, geometry, _camera, w, -
|
|
47798
|
-
setPoint( 'f3', pointMap, geometry, _camera, -
|
|
47796
|
+
setPoint( 'f1', pointMap, geometry, _camera, -1, -1, 1 );
|
|
47797
|
+
setPoint( 'f2', pointMap, geometry, _camera, w, -1, 1 );
|
|
47798
|
+
setPoint( 'f3', pointMap, geometry, _camera, -1, h, 1 );
|
|
47799
47799
|
setPoint( 'f4', pointMap, geometry, _camera, w, h, 1 );
|
|
47800
47800
|
|
|
47801
47801
|
// up
|
|
47802
47802
|
|
|
47803
|
-
setPoint( 'u1', pointMap, geometry, _camera, w * 0.7, h * 1.1, -
|
|
47804
|
-
setPoint( 'u2', pointMap, geometry, _camera, -
|
|
47805
|
-
setPoint( 'u3', pointMap, geometry, _camera, 0, h * 2, -
|
|
47803
|
+
setPoint( 'u1', pointMap, geometry, _camera, w * 0.7, h * 1.1, -1 );
|
|
47804
|
+
setPoint( 'u2', pointMap, geometry, _camera, -1 * 0.7, h * 1.1, -1 );
|
|
47805
|
+
setPoint( 'u3', pointMap, geometry, _camera, 0, h * 2, -1 );
|
|
47806
47806
|
|
|
47807
47807
|
// cross
|
|
47808
47808
|
|
|
47809
|
-
setPoint( 'cf1', pointMap, geometry, _camera, -
|
|
47809
|
+
setPoint( 'cf1', pointMap, geometry, _camera, -1, 0, 1 );
|
|
47810
47810
|
setPoint( 'cf2', pointMap, geometry, _camera, w, 0, 1 );
|
|
47811
|
-
setPoint( 'cf3', pointMap, geometry, _camera, 0, -
|
|
47811
|
+
setPoint( 'cf3', pointMap, geometry, _camera, 0, -1, 1 );
|
|
47812
47812
|
setPoint( 'cf4', pointMap, geometry, _camera, 0, h, 1 );
|
|
47813
47813
|
|
|
47814
|
-
setPoint( 'cn1', pointMap, geometry, _camera, -
|
|
47815
|
-
setPoint( 'cn2', pointMap, geometry, _camera, w, 0, -
|
|
47816
|
-
setPoint( 'cn3', pointMap, geometry, _camera, 0, -
|
|
47817
|
-
setPoint( 'cn4', pointMap, geometry, _camera, 0, h, -
|
|
47814
|
+
setPoint( 'cn1', pointMap, geometry, _camera, -1, 0, -1 );
|
|
47815
|
+
setPoint( 'cn2', pointMap, geometry, _camera, w, 0, -1 );
|
|
47816
|
+
setPoint( 'cn3', pointMap, geometry, _camera, 0, -1, -1 );
|
|
47817
|
+
setPoint( 'cn4', pointMap, geometry, _camera, 0, h, -1 );
|
|
47818
47818
|
|
|
47819
47819
|
geometry.getAttribute( 'position' ).needsUpdate = true;
|
|
47820
47820
|
|
|
@@ -47966,7 +47966,7 @@ function Box3Helper( box, color ) {
|
|
|
47966
47966
|
|
|
47967
47967
|
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 ] );
|
|
47968
47968
|
|
|
47969
|
-
var positions = [ 1, 1, 1, -
|
|
47969
|
+
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 ];
|
|
47970
47970
|
|
|
47971
47971
|
var geometry = new BufferGeometry();
|
|
47972
47972
|
|
|
@@ -48013,7 +48013,7 @@ function PlaneHelper( plane, size, hex ) {
|
|
|
48013
48013
|
|
|
48014
48014
|
var color = ( hex !== undefined ) ? hex : 0xffff00;
|
|
48015
48015
|
|
|
48016
|
-
var positions = [ 1, -
|
|
48016
|
+
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 ];
|
|
48017
48017
|
|
|
48018
48018
|
var geometry = new BufferGeometry();
|
|
48019
48019
|
geometry.setAttribute( 'position', new Float32BufferAttribute( positions, 3 ) );
|
|
@@ -48025,7 +48025,7 @@ function PlaneHelper( plane, size, hex ) {
|
|
|
48025
48025
|
|
|
48026
48026
|
//
|
|
48027
48027
|
|
|
48028
|
-
var positions2 = [ 1, 1, 1, -
|
|
48028
|
+
var positions2 = [ 1, 1, 1, -1, 1, 1, -1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1 ];
|
|
48029
48029
|
|
|
48030
48030
|
var geometry2 = new BufferGeometry();
|
|
48031
48031
|
geometry2.setAttribute( 'position', new Float32BufferAttribute( positions2, 3 ) );
|
|
@@ -48094,7 +48094,7 @@ function ArrowHelper( dir, origin, length, color, headLength, headWidth ) {
|
|
|
48094
48094
|
_lineGeometry.setAttribute( 'position', new Float32BufferAttribute( [ 0, 0, 0, 0, 1, 0 ], 3 ) );
|
|
48095
48095
|
|
|
48096
48096
|
_coneGeometry = new CylinderBufferGeometry( 0, 0.5, 1, 5, 1 );
|
|
48097
|
-
_coneGeometry.translate( 0, -
|
|
48097
|
+
_coneGeometry.translate( 0, -0.5, 0 );
|
|
48098
48098
|
|
|
48099
48099
|
}
|
|
48100
48100
|
|
|
@@ -48124,7 +48124,7 @@ ArrowHelper.prototype.setDirection = function ( dir ) {
|
|
|
48124
48124
|
|
|
48125
48125
|
this.quaternion.set( 0, 0, 0, 1 );
|
|
48126
48126
|
|
|
48127
|
-
} else if ( dir.y < -
|
|
48127
|
+
} else if ( dir.y < -0.99999 ) {
|
|
48128
48128
|
|
|
48129
48129
|
this.quaternion.set( 1, 0, 0, 0 );
|
|
48130
48130
|
|
|
@@ -48266,9 +48266,9 @@ var INV_PHI = 1 / PHI;
|
|
|
48266
48266
|
// same axis), used as axis directions evenly spread on a sphere.
|
|
48267
48267
|
var _axisDirections = [
|
|
48268
48268
|
new Vector3( 1, 1, 1 ),
|
|
48269
|
-
new Vector3( -
|
|
48270
|
-
new Vector3( 1, 1, -
|
|
48271
|
-
new Vector3( -
|
|
48269
|
+
new Vector3( -1, 1, 1 ),
|
|
48270
|
+
new Vector3( 1, 1, -1 ),
|
|
48271
|
+
new Vector3( -1, 1, -1 ),
|
|
48272
48272
|
new Vector3( 0, PHI, INV_PHI ),
|
|
48273
48273
|
new Vector3( 0, PHI, - INV_PHI ),
|
|
48274
48274
|
new Vector3( INV_PHI, 0, PHI ),
|
|
@@ -48445,8 +48445,8 @@ PMREMGenerator.prototype = {
|
|
|
48445
48445
|
var fov = 90;
|
|
48446
48446
|
var aspect = 1;
|
|
48447
48447
|
var cubeCamera = new PerspectiveCamera( fov, aspect, near, far );
|
|
48448
|
-
var upSign = [ 1, -
|
|
48449
|
-
var forwardSign = [ 1, 1, 1, -
|
|
48448
|
+
var upSign = [ 1, -1, 1, 1, 1, 1 ];
|
|
48449
|
+
var forwardSign = [ 1, 1, 1, -1, -1, -1 ];
|
|
48450
48450
|
var renderer = this._renderer;
|
|
48451
48451
|
|
|
48452
48452
|
var outputEncoding = renderer.outputEncoding;
|
|
@@ -48465,7 +48465,7 @@ PMREMGenerator.prototype = {
|
|
|
48465
48465
|
background.convertSRGBToLinear();
|
|
48466
48466
|
// Convert linear to RGBE
|
|
48467
48467
|
var maxComponent = Math.max( background.r, background.g, background.b );
|
|
48468
|
-
var fExp = Math.min( Math.max( Math.ceil( Math.log2( maxComponent ) ), -
|
|
48468
|
+
var fExp = Math.min( Math.max( Math.ceil( Math.log2( maxComponent ) ), -128 ), 127.0 );
|
|
48469
48469
|
background = background.multiplyScalar( Math.pow( 2.0, - fExp ) );
|
|
48470
48470
|
var alpha = ( fExp + 128.0 ) / 255.0;
|
|
48471
48471
|
renderer.setClearColor( background, alpha );
|
|
@@ -48741,7 +48741,7 @@ function _createPlanes() {
|
|
|
48741
48741
|
for ( var face = 0; face < cubeFaces; face ++ ) {
|
|
48742
48742
|
|
|
48743
48743
|
var x = ( face % 3 ) * 2 / 3 - 1;
|
|
48744
|
-
var y = face > 2 ? 0 : -
|
|
48744
|
+
var y = face > 2 ? 0 : -1;
|
|
48745
48745
|
var coordinates = [
|
|
48746
48746
|
x, y, 0,
|
|
48747
48747
|
x + 2 / 3, y, 0,
|
|
@@ -51746,8 +51746,8 @@ const WebGLSmoke = () => {
|
|
|
51746
51746
|
};
|
|
51747
51747
|
|
|
51748
51748
|
const usePrevious = (value) => {
|
|
51749
|
-
const previousRef = React.useRef(
|
|
51750
|
-
const currentRef = React.useRef(
|
|
51749
|
+
const previousRef = React.useRef(undefined);
|
|
51750
|
+
const currentRef = React.useRef(undefined);
|
|
51751
51751
|
if (value !== currentRef.current) {
|
|
51752
51752
|
previousRef.current = currentRef.current;
|
|
51753
51753
|
currentRef.current = value;
|
|
@@ -51755,7 +51755,7 @@ const usePrevious = (value) => {
|
|
|
51755
51755
|
return previousRef.current;
|
|
51756
51756
|
};
|
|
51757
51757
|
const usePreviousRender = (value) => {
|
|
51758
|
-
const previousRef = React.useRef(
|
|
51758
|
+
const previousRef = React.useRef(undefined);
|
|
51759
51759
|
React.useEffect(() => {
|
|
51760
51760
|
previousRef.current = value;
|
|
51761
51761
|
}, [value]);
|
|
@@ -51822,7 +51822,7 @@ const useBowser = () => {
|
|
|
51822
51822
|
}, [browser, parser]);
|
|
51823
51823
|
};
|
|
51824
51824
|
|
|
51825
|
-
const noop = (..._) =>
|
|
51825
|
+
const noop = (..._) => undefined;
|
|
51826
51826
|
|
|
51827
51827
|
const useOutsideClick = (ref, cb, when = true) => {
|
|
51828
51828
|
const savedCallback = React.useRef(cb);
|
|
@@ -51924,7 +51924,7 @@ const useOklch = () => {
|
|
|
51924
51924
|
return () => {
|
|
51925
51925
|
counter -= 1;
|
|
51926
51926
|
if (counter < 1) {
|
|
51927
|
-
document.body.dataset.p3 =
|
|
51927
|
+
document.body.dataset.p3 = undefined;
|
|
51928
51928
|
}
|
|
51929
51929
|
};
|
|
51930
51930
|
}, []);
|
|
@@ -52370,31 +52370,31 @@ const BubblyParticlesButton = () => {
|
|
|
52370
52370
|
);
|
|
52371
52371
|
};
|
|
52372
52372
|
|
|
52373
|
-
const root$4j = "
|
|
52374
|
-
const button$p = "
|
|
52375
|
-
const p = "
|
|
52376
|
-
const text$z = "
|
|
52377
|
-
const rise1 = "
|
|
52378
|
-
const rise2 = "
|
|
52379
|
-
const rise3 = "
|
|
52380
|
-
const rise4 = "
|
|
52381
|
-
const rise5 = "
|
|
52382
|
-
const rise6 = "
|
|
52383
|
-
const rise7 = "
|
|
52384
|
-
const rise8 = "
|
|
52385
|
-
const rise9 = "
|
|
52386
|
-
const rise10 = "
|
|
52387
|
-
const rise11 = "
|
|
52388
|
-
const rise12 = "
|
|
52389
|
-
const rise13 = "
|
|
52390
|
-
const rise14 = "
|
|
52391
|
-
const rise15 = "
|
|
52392
|
-
const rise16 = "
|
|
52393
|
-
const rise17 = "
|
|
52394
|
-
const rise18 = "
|
|
52395
|
-
const rise19 = "
|
|
52396
|
-
const rise20 = "
|
|
52397
|
-
const effects = "
|
|
52373
|
+
const root$4j = "_root_10cxf_1";
|
|
52374
|
+
const button$p = "_button_10cxf_13";
|
|
52375
|
+
const p = "_p_10cxf_26";
|
|
52376
|
+
const text$z = "_text_10cxf_26";
|
|
52377
|
+
const rise1 = "_rise1_10cxf_1";
|
|
52378
|
+
const rise2 = "_rise2_10cxf_1";
|
|
52379
|
+
const rise3 = "_rise3_10cxf_1";
|
|
52380
|
+
const rise4 = "_rise4_10cxf_1";
|
|
52381
|
+
const rise5 = "_rise5_10cxf_1";
|
|
52382
|
+
const rise6 = "_rise6_10cxf_1";
|
|
52383
|
+
const rise7 = "_rise7_10cxf_1";
|
|
52384
|
+
const rise8 = "_rise8_10cxf_1";
|
|
52385
|
+
const rise9 = "_rise9_10cxf_1";
|
|
52386
|
+
const rise10 = "_rise10_10cxf_1";
|
|
52387
|
+
const rise11 = "_rise11_10cxf_1";
|
|
52388
|
+
const rise12 = "_rise12_10cxf_1";
|
|
52389
|
+
const rise13 = "_rise13_10cxf_1";
|
|
52390
|
+
const rise14 = "_rise14_10cxf_1";
|
|
52391
|
+
const rise15 = "_rise15_10cxf_1";
|
|
52392
|
+
const rise16 = "_rise16_10cxf_1";
|
|
52393
|
+
const rise17 = "_rise17_10cxf_1";
|
|
52394
|
+
const rise18 = "_rise18_10cxf_1";
|
|
52395
|
+
const rise19 = "_rise19_10cxf_1";
|
|
52396
|
+
const rise20 = "_rise20_10cxf_1";
|
|
52397
|
+
const effects = "_effects_10cxf_240";
|
|
52398
52398
|
const styles$4F = {
|
|
52399
52399
|
root: root$4j,
|
|
52400
52400
|
button: button$p,
|
|
@@ -52914,8 +52914,8 @@ const ClickButtonParticles = () => {
|
|
|
52914
52914
|
onClick: (event) => {
|
|
52915
52915
|
event.preventDefault();
|
|
52916
52916
|
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>`;
|
|
52917
|
-
const x = event.nativeEvent.offsetX ==
|
|
52918
|
-
const y = event.nativeEvent.offsetY ==
|
|
52917
|
+
const x = event.nativeEvent.offsetX == undefined ? event.nativeEvent.layerX : event.nativeEvent.offsetX;
|
|
52918
|
+
const y = event.nativeEvent.offsetY == undefined ? event.nativeEvent.layerY : event.nativeEvent.offsetY;
|
|
52919
52919
|
const span = document.createElement("span");
|
|
52920
52920
|
span.className = styles$4A.mouse;
|
|
52921
52921
|
span.innerHTML = svg;
|
|
@@ -53434,7 +53434,12 @@ const styles$4v = {
|
|
|
53434
53434
|
root: root$4b
|
|
53435
53435
|
};
|
|
53436
53436
|
|
|
53437
|
-
const DockButton =
|
|
53437
|
+
const DockButton = ({
|
|
53438
|
+
children,
|
|
53439
|
+
className = "",
|
|
53440
|
+
ref,
|
|
53441
|
+
...rest
|
|
53442
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
53438
53443
|
"button",
|
|
53439
53444
|
{
|
|
53440
53445
|
ref,
|
|
@@ -53443,7 +53448,7 @@ const DockButton = React.forwardRef(({ children, className = "", ...rest }, ref)
|
|
|
53443
53448
|
...rest,
|
|
53444
53449
|
children
|
|
53445
53450
|
}
|
|
53446
|
-
)
|
|
53451
|
+
);
|
|
53447
53452
|
DockButton.displayName = "DockButton";
|
|
53448
53453
|
|
|
53449
53454
|
const root$4a = "_root_yqq6b_1";
|
|
@@ -53504,10 +53509,10 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
|
|
|
53504
53509
|
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; }
|
|
53505
53510
|
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); }
|
|
53506
53511
|
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; }
|
|
53507
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t),
|
|
53512
|
+
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; }
|
|
53508
53513
|
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; }
|
|
53509
53514
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == typeof i ? i : i + ""; }
|
|
53510
|
-
function _toPrimitive(t, r) { if ("object" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (
|
|
53515
|
+
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); }
|
|
53511
53516
|
function Tree2Element(tree) {
|
|
53512
53517
|
return tree && tree.map((node, i) => /*#__PURE__*/React.createElement(node.tag, _objectSpread({
|
|
53513
53518
|
key: i
|
|
@@ -53618,7 +53623,13 @@ const Wisp = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { className: styles$4s.
|
|
|
53618
53623
|
pathLength: "10"
|
|
53619
53624
|
}
|
|
53620
53625
|
) });
|
|
53621
|
-
const DoubleStateButton =
|
|
53626
|
+
const DoubleStateButton = ({
|
|
53627
|
+
children,
|
|
53628
|
+
alternativeChildren,
|
|
53629
|
+
className = "",
|
|
53630
|
+
ref,
|
|
53631
|
+
...rest
|
|
53632
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
53622
53633
|
"button",
|
|
53623
53634
|
{
|
|
53624
53635
|
ref,
|
|
@@ -53638,7 +53649,7 @@ const DoubleStateButton = React.forwardRef(({ children, alternativeChildren, cla
|
|
|
53638
53649
|
] })
|
|
53639
53650
|
]
|
|
53640
53651
|
}
|
|
53641
|
-
)
|
|
53652
|
+
);
|
|
53642
53653
|
DoubleStateButton.displayName = "DoubleStateButton";
|
|
53643
53654
|
|
|
53644
53655
|
const root$47 = "_root_645qm_1";
|
|
@@ -54009,7 +54020,7 @@ function requireDrawSVGPlugin () {
|
|
|
54009
54020
|
if (hasRequiredDrawSVGPlugin) return DrawSVGPlugin$1.exports;
|
|
54010
54021
|
hasRequiredDrawSVGPlugin = 1;
|
|
54011
54022
|
(function (module, exports) {
|
|
54012
|
-
!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
|
|
54023
|
+
!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;}});
|
|
54013
54024
|
} (DrawSVGPlugin$1, DrawSVGPlugin$1.exports));
|
|
54014
54025
|
return DrawSVGPlugin$1.exports;
|
|
54015
54026
|
}
|
|
@@ -54034,7 +54045,7 @@ function requireGsap () {
|
|
|
54034
54045
|
if (hasRequiredGsap) return gsap$1.exports;
|
|
54035
54046
|
hasRequiredGsap = 1;
|
|
54036
54047
|
(function (module, exports) {
|
|
54037
|
-
!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;}});
|
|
54048
|
+
!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;}});
|
|
54038
54049
|
} (gsap$1, gsap$1.exports));
|
|
54039
54050
|
return gsap$1.exports;
|
|
54040
54051
|
}
|
|
@@ -55634,10 +55645,10 @@ const NeonButton = ({ className = "", ...props }) => {
|
|
|
55634
55645
|
return /* @__PURE__ */ jsxRuntime.jsx("button", { type: "button", className: cn(styles$47.root, className), ...props, children: "Neon" });
|
|
55635
55646
|
};
|
|
55636
55647
|
|
|
55637
|
-
const root$3Q = "
|
|
55638
|
-
const i$1 = "
|
|
55639
|
-
const noise = "
|
|
55640
|
-
const text$s = "
|
|
55648
|
+
const root$3Q = "_root_fg10g_2";
|
|
55649
|
+
const i$1 = "_i_fg10g_22";
|
|
55650
|
+
const noise = "_noise_fg10g_1";
|
|
55651
|
+
const text$s = "_text_fg10g_482";
|
|
55641
55652
|
const styles$46 = {
|
|
55642
55653
|
root: root$3Q,
|
|
55643
55654
|
i: i$1,
|
|
@@ -59878,19 +59889,22 @@ const styles$3b = {
|
|
|
59878
59889
|
fauxbox: fauxbox
|
|
59879
59890
|
};
|
|
59880
59891
|
|
|
59881
|
-
const Checkbox =
|
|
59882
|
-
|
|
59883
|
-
|
|
59884
|
-
|
|
59885
|
-
|
|
59886
|
-
|
|
59887
|
-
|
|
59888
|
-
|
|
59889
|
-
|
|
59890
|
-
|
|
59891
|
-
|
|
59892
|
-
|
|
59893
|
-
|
|
59892
|
+
const Checkbox = ({
|
|
59893
|
+
rootClassName = "",
|
|
59894
|
+
className = "",
|
|
59895
|
+
inputClassName = "",
|
|
59896
|
+
ref
|
|
59897
|
+
}) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
59898
|
+
"span",
|
|
59899
|
+
{
|
|
59900
|
+
ref,
|
|
59901
|
+
role: "presentation",
|
|
59902
|
+
className: cn(styles$3b.root, rootClassName),
|
|
59903
|
+
children: [
|
|
59904
|
+
/* @__PURE__ */ jsxRuntime.jsx("input", { className: cn(styles$3b.realbox, inputClassName), type: "checkbox" }),
|
|
59905
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { role: "presentation", className: cn(styles$3b.fauxbox, className) })
|
|
59906
|
+
]
|
|
59907
|
+
}
|
|
59894
59908
|
);
|
|
59895
59909
|
Checkbox.displayName = "Checkbox";
|
|
59896
59910
|
|
|
@@ -60079,7 +60093,7 @@ const StrikethroughCheckbox = ({
|
|
|
60079
60093
|
[styles$39.pristine]: pristine
|
|
60080
60094
|
}),
|
|
60081
60095
|
type: "checkbox",
|
|
60082
|
-
name: typeof children === "string" ? children :
|
|
60096
|
+
name: typeof children === "string" ? children : undefined,
|
|
60083
60097
|
defaultChecked,
|
|
60084
60098
|
onChange: (e) => {
|
|
60085
60099
|
setPristine(false);
|
|
@@ -61508,13 +61522,12 @@ const styles$2S = {
|
|
|
61508
61522
|
gloss: gloss
|
|
61509
61523
|
};
|
|
61510
61524
|
|
|
61511
|
-
const MotionLink = framerMotion.motion.a;
|
|
61512
61525
|
const baseWidth = 48;
|
|
61513
61526
|
const distanceLimit = baseWidth * 5;
|
|
61514
61527
|
const distanceInput = [
|
|
61515
|
-
-
|
|
61516
|
-
-
|
|
61517
|
-
-
|
|
61528
|
+
-240,
|
|
61529
|
+
-240 / 1.25,
|
|
61530
|
+
-240 / 2,
|
|
61518
61531
|
0,
|
|
61519
61532
|
distanceLimit / 2,
|
|
61520
61533
|
distanceLimit / 1.25,
|
|
@@ -61596,18 +61609,25 @@ const DockMotionItem = ({
|
|
|
61596
61609
|
[dynamicWidth, size]
|
|
61597
61610
|
);
|
|
61598
61611
|
const resolvedKey = key + type;
|
|
61599
|
-
const isInteractive = rest.use
|
|
61612
|
+
const isInteractive = rest.use !== "div";
|
|
61600
61613
|
const ContentElement = React.useMemo(() => {
|
|
61614
|
+
if (rest.use && typeof rest.use !== "string") {
|
|
61615
|
+
return framerMotion.motion(rest.use);
|
|
61616
|
+
}
|
|
61601
61617
|
switch (rest.use) {
|
|
61602
61618
|
case "a":
|
|
61603
|
-
return
|
|
61619
|
+
return framerMotion.motion.a;
|
|
61604
61620
|
case "button":
|
|
61605
61621
|
return framerMotion.motion.button;
|
|
61606
61622
|
default:
|
|
61607
61623
|
return framerMotion.motion.div;
|
|
61608
61624
|
}
|
|
61609
61625
|
}, [rest.use]);
|
|
61610
|
-
const linkProps =
|
|
61626
|
+
const linkProps = {
|
|
61627
|
+
href: rest.href,
|
|
61628
|
+
target: rest.target,
|
|
61629
|
+
rel: rest.rel
|
|
61630
|
+
};
|
|
61611
61631
|
const container = /* @__PURE__ */ jsxRuntime.jsx(
|
|
61612
61632
|
"div",
|
|
61613
61633
|
{
|
|
@@ -61929,7 +61949,7 @@ function requireFlip () {
|
|
|
61929
61949
|
if (hasRequiredFlip) return Flip$1.exports;
|
|
61930
61950
|
hasRequiredFlip = 1;
|
|
61931
61951
|
(function (module, exports) {
|
|
61932
|
-
!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;}});
|
|
61952
|
+
!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;}});
|
|
61933
61953
|
} (Flip$1, Flip$1.exports));
|
|
61934
61954
|
return Flip$1.exports;
|
|
61935
61955
|
}
|
|
@@ -63741,26 +63761,25 @@ const styles$2k = {
|
|
|
63741
63761
|
root: root$2b
|
|
63742
63762
|
};
|
|
63743
63763
|
|
|
63744
|
-
const RegularLink =
|
|
63745
|
-
|
|
63746
|
-
|
|
63764
|
+
const RegularLink = ({
|
|
63765
|
+
children,
|
|
63766
|
+
href,
|
|
63767
|
+
className = "",
|
|
63768
|
+
target = "_self",
|
|
63769
|
+
rel = "noopener noreferrer",
|
|
63770
|
+
ref,
|
|
63771
|
+
...rest
|
|
63772
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
63773
|
+
"a",
|
|
63774
|
+
{
|
|
63775
|
+
...rest,
|
|
63776
|
+
className: cn(styles$2k.root, className),
|
|
63747
63777
|
href,
|
|
63748
|
-
|
|
63749
|
-
|
|
63750
|
-
|
|
63751
|
-
|
|
63752
|
-
}
|
|
63753
|
-
"a",
|
|
63754
|
-
{
|
|
63755
|
-
...rest,
|
|
63756
|
-
className: cn(styles$2k.root, className),
|
|
63757
|
-
href,
|
|
63758
|
-
target,
|
|
63759
|
-
rel,
|
|
63760
|
-
ref,
|
|
63761
|
-
children
|
|
63762
|
-
}
|
|
63763
|
-
)
|
|
63778
|
+
target,
|
|
63779
|
+
rel,
|
|
63780
|
+
ref,
|
|
63781
|
+
children
|
|
63782
|
+
}
|
|
63764
63783
|
);
|
|
63765
63784
|
RegularLink.displayName = "Checkbox";
|
|
63766
63785
|
|
|
@@ -63794,26 +63813,25 @@ const styles$2i = {
|
|
|
63794
63813
|
root: root$29
|
|
63795
63814
|
};
|
|
63796
63815
|
|
|
63797
|
-
const UnderlinedLink =
|
|
63798
|
-
|
|
63799
|
-
|
|
63816
|
+
const UnderlinedLink = ({
|
|
63817
|
+
children,
|
|
63818
|
+
href,
|
|
63819
|
+
className = "",
|
|
63820
|
+
target = "_self",
|
|
63821
|
+
rel = "noopener noreferrer",
|
|
63822
|
+
ref,
|
|
63823
|
+
...rest
|
|
63824
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
63825
|
+
"a",
|
|
63826
|
+
{
|
|
63827
|
+
...rest,
|
|
63828
|
+
className: cn(styles$2i.root, className),
|
|
63800
63829
|
href,
|
|
63801
|
-
|
|
63802
|
-
|
|
63803
|
-
|
|
63804
|
-
|
|
63805
|
-
}
|
|
63806
|
-
"a",
|
|
63807
|
-
{
|
|
63808
|
-
...rest,
|
|
63809
|
-
className: cn(styles$2i.root, className),
|
|
63810
|
-
href,
|
|
63811
|
-
target,
|
|
63812
|
-
rel,
|
|
63813
|
-
ref,
|
|
63814
|
-
children
|
|
63815
|
-
}
|
|
63816
|
-
)
|
|
63830
|
+
target,
|
|
63831
|
+
rel,
|
|
63832
|
+
ref,
|
|
63833
|
+
children
|
|
63834
|
+
}
|
|
63817
63835
|
);
|
|
63818
63836
|
UnderlinedLink.displayName = "UnderlinedLink";
|
|
63819
63837
|
|
|
@@ -63951,45 +63969,42 @@ const CanOfDigits = ({
|
|
|
63951
63969
|
initialValue = 1e3
|
|
63952
63970
|
}) => {
|
|
63953
63971
|
const [value, setValue] = React.useState(initialValue);
|
|
63954
|
-
return (
|
|
63955
|
-
|
|
63956
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
63957
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
63958
|
-
|
|
63959
|
-
|
|
63960
|
-
|
|
63961
|
-
|
|
63962
|
-
|
|
63963
|
-
|
|
63964
|
-
|
|
63965
|
-
|
|
63966
|
-
|
|
63967
|
-
|
|
63968
|
-
value
|
|
63969
|
-
onChange: (e) => {
|
|
63970
|
-
setValue(Number(e.currentTarget.value));
|
|
63971
|
-
}
|
|
63972
|
-
}
|
|
63973
|
-
),
|
|
63974
|
-
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
63975
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
63976
|
-
"input",
|
|
63977
|
-
{
|
|
63978
|
-
className: styles$2e.input,
|
|
63979
|
-
id: "vertical",
|
|
63980
|
-
type: "checkbox",
|
|
63981
|
-
name: "vertical",
|
|
63982
|
-
value: "is_vertical"
|
|
63972
|
+
return /* @__PURE__ */ jsxRuntime.jsxs("span", { className: cn(styles$2e.root, className), children: [
|
|
63973
|
+
/* @__PURE__ */ jsxRuntime.jsx("label", { className: cn(styles$2e.label, styles$2e.sr), htmlFor: "digits", children: "Digits" }),
|
|
63974
|
+
controls && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
63975
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
63976
|
+
"input",
|
|
63977
|
+
{
|
|
63978
|
+
className: styles$2e.input,
|
|
63979
|
+
id: "digits",
|
|
63980
|
+
type: "number",
|
|
63981
|
+
name: "digits",
|
|
63982
|
+
min: 0,
|
|
63983
|
+
max: 9999,
|
|
63984
|
+
value,
|
|
63985
|
+
onChange: (e) => {
|
|
63986
|
+
setValue(Number(e.currentTarget.value));
|
|
63983
63987
|
}
|
|
63984
|
-
|
|
63985
|
-
|
|
63986
|
-
|
|
63987
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
63988
|
-
|
|
63989
|
-
|
|
63990
|
-
|
|
63991
|
-
|
|
63992
|
-
|
|
63988
|
+
}
|
|
63989
|
+
),
|
|
63990
|
+
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
63991
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
63992
|
+
"input",
|
|
63993
|
+
{
|
|
63994
|
+
className: styles$2e.input,
|
|
63995
|
+
id: "vertical",
|
|
63996
|
+
type: "checkbox",
|
|
63997
|
+
name: "vertical",
|
|
63998
|
+
value: "is_vertical"
|
|
63999
|
+
}
|
|
64000
|
+
),
|
|
64001
|
+
/* @__PURE__ */ jsxRuntime.jsx("label", { className: styles$2e.label, htmlFor: "vertical", children: "Vertical" })
|
|
64002
|
+
] }),
|
|
64003
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$2e.can, children: React.useMemo(
|
|
64004
|
+
() => Array.from({ length: 18 }, (_, i) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$2e.sector, children: value }, i)),
|
|
64005
|
+
[value]
|
|
64006
|
+
) })
|
|
64007
|
+
] });
|
|
63993
64008
|
};
|
|
63994
64009
|
|
|
63995
64010
|
const root$24 = "_root_1i4gp_1";
|
|
@@ -64072,7 +64087,7 @@ const EndlessLoader = () => {
|
|
|
64072
64087
|
if (typeof window === "undefined") return;
|
|
64073
64088
|
const loadGl = async () => {
|
|
64074
64089
|
window.THREE = require("three");
|
|
64075
|
-
const GLModule = await Promise.resolve().then(() => require('./gl-
|
|
64090
|
+
const GLModule = await Promise.resolve().then(() => require('./gl-DnD0DsrJ.cjs'));
|
|
64076
64091
|
const glInstance = new GLModule.GL();
|
|
64077
64092
|
glInstance.init();
|
|
64078
64093
|
};
|
|
@@ -65733,7 +65748,7 @@ const AnimatedIconsNav = () => {
|
|
|
65733
65748
|
{
|
|
65734
65749
|
type: "button",
|
|
65735
65750
|
className: styles$1R.btn,
|
|
65736
|
-
"aria-describedby": page === index ? "current" :
|
|
65751
|
+
"aria-describedby": page === index ? "current" : undefined,
|
|
65737
65752
|
onClick: () => {
|
|
65738
65753
|
setPage(index);
|
|
65739
65754
|
spawnCards();
|
|
@@ -66153,7 +66168,7 @@ const DropdownMenu = ({ value, items = ITEMS }) => {
|
|
|
66153
66168
|
const [translateValue, setTranslateValue] = React.useState(0);
|
|
66154
66169
|
const [floatingIcon, setFloatingIcon] = React.useState(null);
|
|
66155
66170
|
const [active, setActive] = React.useState(() => {
|
|
66156
|
-
const item = value ? items.find(({ id }) => id === value) :
|
|
66171
|
+
const item = value ? items.find(({ id }) => id === value) : undefined;
|
|
66157
66172
|
return item ?? null;
|
|
66158
66173
|
});
|
|
66159
66174
|
const renderIcon = React.useCallback(
|
|
@@ -66417,35 +66432,40 @@ const styles$1K = {
|
|
|
66417
66432
|
pill: pill
|
|
66418
66433
|
};
|
|
66419
66434
|
|
|
66420
|
-
const GlowingTab =
|
|
66421
|
-
|
|
66422
|
-
|
|
66423
|
-
|
|
66424
|
-
|
|
66425
|
-
|
|
66426
|
-
|
|
66427
|
-
|
|
66428
|
-
|
|
66429
|
-
|
|
66430
|
-
|
|
66431
|
-
|
|
66432
|
-
|
|
66433
|
-
|
|
66434
|
-
|
|
66435
|
-
|
|
66436
|
-
|
|
66437
|
-
|
|
66438
|
-
|
|
66439
|
-
|
|
66440
|
-
|
|
66441
|
-
|
|
66442
|
-
|
|
66443
|
-
|
|
66444
|
-
|
|
66445
|
-
|
|
66446
|
-
|
|
66447
|
-
|
|
66448
|
-
)
|
|
66435
|
+
const GlowingTab = ({
|
|
66436
|
+
isActive,
|
|
66437
|
+
onClick,
|
|
66438
|
+
children,
|
|
66439
|
+
ref,
|
|
66440
|
+
...rest
|
|
66441
|
+
}) => {
|
|
66442
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
66443
|
+
"button",
|
|
66444
|
+
{
|
|
66445
|
+
ref,
|
|
66446
|
+
type: "button",
|
|
66447
|
+
className: cn(styles$1K.button, {
|
|
66448
|
+
[styles$1K.active]: isActive
|
|
66449
|
+
}),
|
|
66450
|
+
onClick,
|
|
66451
|
+
...rest,
|
|
66452
|
+
children: [
|
|
66453
|
+
children,
|
|
66454
|
+
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
66455
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust }),
|
|
66456
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust }),
|
|
66457
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust }),
|
|
66458
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust }),
|
|
66459
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: styles$1K.dust })
|
|
66460
|
+
] }),
|
|
66461
|
+
isActive && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
66462
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$1K.glow }),
|
|
66463
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$1K.pill })
|
|
66464
|
+
] })
|
|
66465
|
+
]
|
|
66466
|
+
}
|
|
66467
|
+
);
|
|
66468
|
+
};
|
|
66449
66469
|
GlowingTab.displayName = "GlowingTab";
|
|
66450
66470
|
|
|
66451
66471
|
const GlowingTabs = () => {
|
|
@@ -66516,7 +66536,7 @@ const GlowingTabs = () => {
|
|
|
66516
66536
|
style: {
|
|
66517
66537
|
"--x": `${offset}%`,
|
|
66518
66538
|
"--distance": prev && current ? `${prev.left - current.left}px` : 0,
|
|
66519
|
-
"--width": prev ? prev.width + "px" :
|
|
66539
|
+
"--width": prev ? prev.width + "px" : undefined
|
|
66520
66540
|
},
|
|
66521
66541
|
children: [
|
|
66522
66542
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: styles$1K.stroke }),
|
|
@@ -66824,7 +66844,7 @@ const MagnifiedNavItems = () => {
|
|
|
66824
66844
|
onClick: () => {
|
|
66825
66845
|
setPage(index);
|
|
66826
66846
|
},
|
|
66827
|
-
"aria-describedby": page === index ? "current" :
|
|
66847
|
+
"aria-describedby": page === index ? "current" : undefined,
|
|
66828
66848
|
children: [
|
|
66829
66849
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
66830
66850
|
"svg",
|
|
@@ -68178,7 +68198,7 @@ const TabBarAnimation = () => {
|
|
|
68178
68198
|
"button",
|
|
68179
68199
|
{
|
|
68180
68200
|
type: "button",
|
|
68181
|
-
ref: activeIndex === index ? activeButtonRef :
|
|
68201
|
+
ref: activeIndex === index ? activeButtonRef : undefined,
|
|
68182
68202
|
onClick: (e) => {
|
|
68183
68203
|
const activeElement = activeElementRef.current;
|
|
68184
68204
|
const navElement = navRef.current;
|
|
@@ -70198,12 +70218,12 @@ const ScrambledText = ({
|
|
|
70198
70218
|
);
|
|
70199
70219
|
};
|
|
70200
70220
|
|
|
70201
|
-
const root$Z = "
|
|
70202
|
-
const line = "
|
|
70203
|
-
const word$1 = "
|
|
70204
|
-
const link = "
|
|
70205
|
-
const letter = "
|
|
70206
|
-
const wobble = "
|
|
70221
|
+
const root$Z = "_root_10u4r_1";
|
|
70222
|
+
const line = "_line_10u4r_9";
|
|
70223
|
+
const word$1 = "_word_10u4r_14";
|
|
70224
|
+
const link = "_link_10u4r_18";
|
|
70225
|
+
const letter = "_letter_10u4r_22";
|
|
70226
|
+
const wobble = "_wobble_10u4r_1";
|
|
70207
70227
|
const styles$12 = {
|
|
70208
70228
|
root: root$Z,
|
|
70209
70229
|
line: line,
|
|
@@ -70410,8 +70430,7 @@ const TooltipRangeSlider = () => {
|
|
|
70410
70430
|
const relativeValue = (v - min) / possibleValues;
|
|
70411
70431
|
const percentRaw = relativeValue * 100;
|
|
70412
70432
|
const percent2 = Number(percentRaw.toFixed(3));
|
|
70413
|
-
const
|
|
70414
|
-
const transXRaw = -tipWidth * relativeValue * possibleValues;
|
|
70433
|
+
const transXRaw = -2 * relativeValue * possibleValues;
|
|
70415
70434
|
const transX2 = Number(transXRaw.toFixed(2));
|
|
70416
70435
|
setPercent(percent2);
|
|
70417
70436
|
setTransX(transX2);
|
|
@@ -72746,7 +72765,7 @@ const BouncyClock = () => {
|
|
|
72746
72765
|
"span",
|
|
72747
72766
|
{
|
|
72748
72767
|
className: cn(styles$p.digit, {
|
|
72749
|
-
[styles$p.bounce]: prev[i] !==
|
|
72768
|
+
[styles$p.bounce]: prev[i] !== undefined && digit !== prev[i]
|
|
72750
72769
|
}),
|
|
72751
72770
|
children: digit
|
|
72752
72771
|
},
|
|
@@ -73297,10 +73316,10 @@ function isObject$2(obj) {
|
|
|
73297
73316
|
return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;
|
|
73298
73317
|
}
|
|
73299
73318
|
function extend$2(target, src) {
|
|
73300
|
-
if (target ===
|
|
73319
|
+
if (target === undefined) {
|
|
73301
73320
|
target = {};
|
|
73302
73321
|
}
|
|
73303
|
-
if (src ===
|
|
73322
|
+
if (src === undefined) {
|
|
73304
73323
|
src = {};
|
|
73305
73324
|
}
|
|
73306
73325
|
Object.keys(src).forEach(key => {
|
|
@@ -73426,7 +73445,7 @@ function getWindow() {
|
|
|
73426
73445
|
}
|
|
73427
73446
|
|
|
73428
73447
|
function classesToTokens(classes) {
|
|
73429
|
-
if (classes ===
|
|
73448
|
+
if (classes === undefined) {
|
|
73430
73449
|
classes = '';
|
|
73431
73450
|
}
|
|
73432
73451
|
return classes.trim().split(' ').filter(c => !!c.trim());
|
|
@@ -73448,7 +73467,7 @@ function deleteProps(obj) {
|
|
|
73448
73467
|
});
|
|
73449
73468
|
}
|
|
73450
73469
|
function nextTick(callback, delay) {
|
|
73451
|
-
if (delay ===
|
|
73470
|
+
if (delay === undefined) {
|
|
73452
73471
|
delay = 0;
|
|
73453
73472
|
}
|
|
73454
73473
|
return setTimeout(callback, delay);
|
|
@@ -73471,7 +73490,7 @@ function getComputedStyle$1(el) {
|
|
|
73471
73490
|
return style;
|
|
73472
73491
|
}
|
|
73473
73492
|
function getTranslate(el, axis) {
|
|
73474
|
-
if (axis ===
|
|
73493
|
+
if (axis === undefined) {
|
|
73475
73494
|
axis = 'x';
|
|
73476
73495
|
}
|
|
73477
73496
|
const window = getWindow();
|
|
@@ -73603,7 +73622,7 @@ function animateCSSModeScroll(_ref) {
|
|
|
73603
73622
|
animate();
|
|
73604
73623
|
}
|
|
73605
73624
|
function elementChildren(element, selector) {
|
|
73606
|
-
if (selector ===
|
|
73625
|
+
if (selector === undefined) {
|
|
73607
73626
|
selector = '';
|
|
73608
73627
|
}
|
|
73609
73628
|
const children = [...element.children];
|
|
@@ -73646,7 +73665,7 @@ function showWarning(text) {
|
|
|
73646
73665
|
}
|
|
73647
73666
|
}
|
|
73648
73667
|
function createElement(tag, classes) {
|
|
73649
|
-
if (classes ===
|
|
73668
|
+
if (classes === undefined) {
|
|
73650
73669
|
classes = [];
|
|
73651
73670
|
}
|
|
73652
73671
|
const el = document.createElement(tag);
|
|
@@ -73730,7 +73749,7 @@ let deviceCached;
|
|
|
73730
73749
|
function calcDevice(_temp) {
|
|
73731
73750
|
let {
|
|
73732
73751
|
userAgent
|
|
73733
|
-
} = _temp ===
|
|
73752
|
+
} = _temp === undefined ? {} : _temp;
|
|
73734
73753
|
const support = getSupport();
|
|
73735
73754
|
const window = getWindow();
|
|
73736
73755
|
const platform = window.navigator.platform;
|
|
@@ -73770,7 +73789,7 @@ function calcDevice(_temp) {
|
|
|
73770
73789
|
return device;
|
|
73771
73790
|
}
|
|
73772
73791
|
function getDevice(overrides) {
|
|
73773
|
-
if (overrides ===
|
|
73792
|
+
if (overrides === undefined) {
|
|
73774
73793
|
overrides = {};
|
|
73775
73794
|
}
|
|
73776
73795
|
if (!deviceCached) {
|
|
@@ -73891,7 +73910,7 @@ function Observer(_ref) {
|
|
|
73891
73910
|
const observers = [];
|
|
73892
73911
|
const window = getWindow();
|
|
73893
73912
|
const attach = function (target, options) {
|
|
73894
|
-
if (options ===
|
|
73913
|
+
if (options === undefined) {
|
|
73895
73914
|
options = {};
|
|
73896
73915
|
}
|
|
73897
73916
|
const ObserverFunc = window.MutationObserver || window.WebkitMutationObserver;
|
|
@@ -74428,7 +74447,7 @@ const toggleSlideClasses$1 = (slideEl, condition, className) => {
|
|
|
74428
74447
|
}
|
|
74429
74448
|
};
|
|
74430
74449
|
function updateSlidesProgress(translate) {
|
|
74431
|
-
if (translate ===
|
|
74450
|
+
if (translate === undefined) {
|
|
74432
74451
|
translate = this && this.translate || 0;
|
|
74433
74452
|
}
|
|
74434
74453
|
const swiper = this;
|
|
@@ -74826,7 +74845,7 @@ var update = {
|
|
|
74826
74845
|
};
|
|
74827
74846
|
|
|
74828
74847
|
function getSwiperTranslate(axis) {
|
|
74829
|
-
if (axis ===
|
|
74848
|
+
if (axis === undefined) {
|
|
74830
74849
|
axis = this.isHorizontal() ? 'x' : 'y';
|
|
74831
74850
|
}
|
|
74832
74851
|
const swiper = this;
|
|
@@ -74904,16 +74923,16 @@ function maxTranslate() {
|
|
|
74904
74923
|
}
|
|
74905
74924
|
|
|
74906
74925
|
function translateTo(translate, speed, runCallbacks, translateBounds, internal) {
|
|
74907
|
-
if (translate ===
|
|
74926
|
+
if (translate === undefined) {
|
|
74908
74927
|
translate = 0;
|
|
74909
74928
|
}
|
|
74910
|
-
if (speed ===
|
|
74929
|
+
if (speed === undefined) {
|
|
74911
74930
|
speed = this.params.speed;
|
|
74912
74931
|
}
|
|
74913
|
-
if (runCallbacks ===
|
|
74932
|
+
if (runCallbacks === undefined) {
|
|
74914
74933
|
runCallbacks = true;
|
|
74915
74934
|
}
|
|
74916
|
-
if (translateBounds ===
|
|
74935
|
+
if (translateBounds === undefined) {
|
|
74917
74936
|
translateBounds = true;
|
|
74918
74937
|
}
|
|
74919
74938
|
const swiper = this;
|
|
@@ -75034,7 +75053,7 @@ function transitionEmit(_ref) {
|
|
|
75034
75053
|
}
|
|
75035
75054
|
|
|
75036
75055
|
function transitionStart(runCallbacks, direction) {
|
|
75037
|
-
if (runCallbacks ===
|
|
75056
|
+
if (runCallbacks === undefined) {
|
|
75038
75057
|
runCallbacks = true;
|
|
75039
75058
|
}
|
|
75040
75059
|
const swiper = this;
|
|
@@ -75054,7 +75073,7 @@ function transitionStart(runCallbacks, direction) {
|
|
|
75054
75073
|
}
|
|
75055
75074
|
|
|
75056
75075
|
function transitionEnd(runCallbacks, direction) {
|
|
75057
|
-
if (runCallbacks ===
|
|
75076
|
+
if (runCallbacks === undefined) {
|
|
75058
75077
|
runCallbacks = true;
|
|
75059
75078
|
}
|
|
75060
75079
|
const swiper = this;
|
|
@@ -75079,10 +75098,10 @@ var transition = {
|
|
|
75079
75098
|
};
|
|
75080
75099
|
|
|
75081
75100
|
function slideTo(index, speed, runCallbacks, internal, initial) {
|
|
75082
|
-
if (index ===
|
|
75101
|
+
if (index === undefined) {
|
|
75083
75102
|
index = 0;
|
|
75084
75103
|
}
|
|
75085
|
-
if (runCallbacks ===
|
|
75104
|
+
if (runCallbacks === undefined) {
|
|
75086
75105
|
runCallbacks = true;
|
|
75087
75106
|
}
|
|
75088
75107
|
if (typeof index === 'string') {
|
|
@@ -75232,10 +75251,10 @@ function slideTo(index, speed, runCallbacks, internal, initial) {
|
|
|
75232
75251
|
}
|
|
75233
75252
|
|
|
75234
75253
|
function slideToLoop(index, speed, runCallbacks, internal) {
|
|
75235
|
-
if (index ===
|
|
75254
|
+
if (index === undefined) {
|
|
75236
75255
|
index = 0;
|
|
75237
75256
|
}
|
|
75238
|
-
if (runCallbacks ===
|
|
75257
|
+
if (runCallbacks === undefined) {
|
|
75239
75258
|
runCallbacks = true;
|
|
75240
75259
|
}
|
|
75241
75260
|
if (typeof index === 'string') {
|
|
@@ -75306,7 +75325,7 @@ function slideToLoop(index, speed, runCallbacks, internal) {
|
|
|
75306
75325
|
|
|
75307
75326
|
/* eslint no-unused-vars: "off" */
|
|
75308
75327
|
function slideNext(speed, runCallbacks, internal) {
|
|
75309
|
-
if (runCallbacks ===
|
|
75328
|
+
if (runCallbacks === undefined) {
|
|
75310
75329
|
runCallbacks = true;
|
|
75311
75330
|
}
|
|
75312
75331
|
const swiper = this;
|
|
@@ -75347,7 +75366,7 @@ function slideNext(speed, runCallbacks, internal) {
|
|
|
75347
75366
|
|
|
75348
75367
|
/* eslint no-unused-vars: "off" */
|
|
75349
75368
|
function slidePrev(speed, runCallbacks, internal) {
|
|
75350
|
-
if (runCallbacks ===
|
|
75369
|
+
if (runCallbacks === undefined) {
|
|
75351
75370
|
runCallbacks = true;
|
|
75352
75371
|
}
|
|
75353
75372
|
const swiper = this;
|
|
@@ -75415,7 +75434,7 @@ function slidePrev(speed, runCallbacks, internal) {
|
|
|
75415
75434
|
|
|
75416
75435
|
/* eslint no-unused-vars: "off" */
|
|
75417
75436
|
function slideReset(speed, runCallbacks, internal) {
|
|
75418
|
-
if (runCallbacks ===
|
|
75437
|
+
if (runCallbacks === undefined) {
|
|
75419
75438
|
runCallbacks = true;
|
|
75420
75439
|
}
|
|
75421
75440
|
const swiper = this;
|
|
@@ -75428,10 +75447,10 @@ function slideReset(speed, runCallbacks, internal) {
|
|
|
75428
75447
|
|
|
75429
75448
|
/* eslint no-unused-vars: "off" */
|
|
75430
75449
|
function slideToClosest(speed, runCallbacks, internal, threshold) {
|
|
75431
|
-
if (runCallbacks ===
|
|
75450
|
+
if (runCallbacks === undefined) {
|
|
75432
75451
|
runCallbacks = true;
|
|
75433
75452
|
}
|
|
75434
|
-
if (threshold ===
|
|
75453
|
+
if (threshold === undefined) {
|
|
75435
75454
|
threshold = 0.5;
|
|
75436
75455
|
}
|
|
75437
75456
|
const swiper = this;
|
|
@@ -75574,7 +75593,7 @@ function loopFix(_temp) {
|
|
|
75574
75593
|
activeSlideIndex,
|
|
75575
75594
|
byController,
|
|
75576
75595
|
byMousewheel
|
|
75577
|
-
} = _temp ===
|
|
75596
|
+
} = _temp === undefined ? {} : _temp;
|
|
75578
75597
|
const swiper = this;
|
|
75579
75598
|
if (!swiper.params.loop) return;
|
|
75580
75599
|
swiper.emit('beforeLoopFix');
|
|
@@ -75838,7 +75857,7 @@ var grabCursor = {
|
|
|
75838
75857
|
|
|
75839
75858
|
// Modified from https://stackoverflow.com/questions/54520554/custom-element-getrootnode-closest-function-crossing-multiple-parent-shadowd
|
|
75840
75859
|
function closestElement(selector, base) {
|
|
75841
|
-
if (base ===
|
|
75860
|
+
if (base === undefined) {
|
|
75842
75861
|
base = this;
|
|
75843
75862
|
}
|
|
75844
75863
|
function __closestFrom(el) {
|
|
@@ -76132,7 +76151,6 @@ function onTouchMove(event) {
|
|
|
76132
76151
|
}
|
|
76133
76152
|
swiper.emit('sliderFirstMove', e);
|
|
76134
76153
|
}
|
|
76135
|
-
let loopFixed;
|
|
76136
76154
|
new Date().getTime();
|
|
76137
76155
|
if (data.isMoved && data.allowThresholdMove && prevTouchesDirection !== swiper.touchesDirection && isLoop && allowLoopFix && Math.abs(diff) >= 1) {
|
|
76138
76156
|
Object.assign(touches, {
|
|
@@ -76155,7 +76173,7 @@ function onTouchMove(event) {
|
|
|
76155
76173
|
resistanceRatio = 0;
|
|
76156
76174
|
}
|
|
76157
76175
|
if (diff > 0) {
|
|
76158
|
-
if (isLoop && allowLoopFix &&
|
|
76176
|
+
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())) {
|
|
76159
76177
|
swiper.loopFix({
|
|
76160
76178
|
direction: 'prev',
|
|
76161
76179
|
setTranslate: true,
|
|
@@ -76169,7 +76187,7 @@ function onTouchMove(event) {
|
|
|
76169
76187
|
}
|
|
76170
76188
|
}
|
|
76171
76189
|
} else if (diff < 0) {
|
|
76172
|
-
if (isLoop && allowLoopFix &&
|
|
76190
|
+
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())) {
|
|
76173
76191
|
swiper.loopFix({
|
|
76174
76192
|
direction: 'next',
|
|
76175
76193
|
setTranslate: true,
|
|
@@ -76695,7 +76713,7 @@ function setBreakpoint() {
|
|
|
76695
76713
|
}
|
|
76696
76714
|
|
|
76697
76715
|
function getBreakpoint(breakpoints, base, containerEl) {
|
|
76698
|
-
if (base ===
|
|
76716
|
+
if (base === undefined) {
|
|
76699
76717
|
base = 'window';
|
|
76700
76718
|
}
|
|
76701
76719
|
if (!breakpoints || base === 'container' && !containerEl) return undefined;
|
|
@@ -76963,7 +76981,7 @@ var defaults = {
|
|
|
76963
76981
|
|
|
76964
76982
|
function moduleExtendParams(params, allModulesParams) {
|
|
76965
76983
|
return function extendParams(obj) {
|
|
76966
|
-
if (obj ===
|
|
76984
|
+
if (obj === undefined) {
|
|
76967
76985
|
obj = {};
|
|
76968
76986
|
}
|
|
76969
76987
|
const moduleParamName = Object.keys(obj)[0];
|
|
@@ -77265,10 +77283,10 @@ let Swiper$1 = class Swiper {
|
|
|
77265
77283
|
swiper.emit('_slideClasses', updates);
|
|
77266
77284
|
}
|
|
77267
77285
|
slidesPerViewDynamic(view, exact) {
|
|
77268
|
-
if (view ===
|
|
77286
|
+
if (view === undefined) {
|
|
77269
77287
|
view = 'current';
|
|
77270
77288
|
}
|
|
77271
|
-
if (exact ===
|
|
77289
|
+
if (exact === undefined) {
|
|
77272
77290
|
exact = false;
|
|
77273
77291
|
}
|
|
77274
77292
|
const swiper = this;
|
|
@@ -77370,7 +77388,7 @@ let Swiper$1 = class Swiper {
|
|
|
77370
77388
|
swiper.emit('update');
|
|
77371
77389
|
}
|
|
77372
77390
|
changeDirection(newDirection, needUpdate) {
|
|
77373
|
-
if (needUpdate ===
|
|
77391
|
+
if (needUpdate === undefined) {
|
|
77374
77392
|
needUpdate = true;
|
|
77375
77393
|
}
|
|
77376
77394
|
const swiper = this;
|
|
@@ -77528,10 +77546,10 @@ let Swiper$1 = class Swiper {
|
|
|
77528
77546
|
return swiper;
|
|
77529
77547
|
}
|
|
77530
77548
|
destroy(deleteInstance, cleanStyles) {
|
|
77531
|
-
if (deleteInstance ===
|
|
77549
|
+
if (deleteInstance === undefined) {
|
|
77532
77550
|
deleteInstance = true;
|
|
77533
77551
|
}
|
|
77534
|
-
if (cleanStyles ===
|
|
77552
|
+
if (cleanStyles === undefined) {
|
|
77535
77553
|
cleanStyles = true;
|
|
77536
77554
|
}
|
|
77537
77555
|
const swiper = this;
|
|
@@ -77640,25 +77658,25 @@ function extend(target, src) {
|
|
|
77640
77658
|
});
|
|
77641
77659
|
}
|
|
77642
77660
|
function needsNavigation(params) {
|
|
77643
|
-
if (params ===
|
|
77661
|
+
if (params === undefined) {
|
|
77644
77662
|
params = {};
|
|
77645
77663
|
}
|
|
77646
77664
|
return params.navigation && typeof params.navigation.nextEl === 'undefined' && typeof params.navigation.prevEl === 'undefined';
|
|
77647
77665
|
}
|
|
77648
77666
|
function needsPagination(params) {
|
|
77649
|
-
if (params ===
|
|
77667
|
+
if (params === undefined) {
|
|
77650
77668
|
params = {};
|
|
77651
77669
|
}
|
|
77652
77670
|
return params.pagination && typeof params.pagination.el === 'undefined';
|
|
77653
77671
|
}
|
|
77654
77672
|
function needsScrollbar(params) {
|
|
77655
|
-
if (params ===
|
|
77673
|
+
if (params === undefined) {
|
|
77656
77674
|
params = {};
|
|
77657
77675
|
}
|
|
77658
77676
|
return params.scrollbar && typeof params.scrollbar.el === 'undefined';
|
|
77659
77677
|
}
|
|
77660
77678
|
function uniqueClasses(classNames) {
|
|
77661
|
-
if (classNames ===
|
|
77679
|
+
if (classNames === undefined) {
|
|
77662
77680
|
classNames = '';
|
|
77663
77681
|
}
|
|
77664
77682
|
const classes = classNames.split(' ').map(c => c.trim()).filter(c => !!c);
|
|
@@ -77669,7 +77687,7 @@ function uniqueClasses(classNames) {
|
|
|
77669
77687
|
return unique.join(' ');
|
|
77670
77688
|
}
|
|
77671
77689
|
function wrapperClass(className) {
|
|
77672
|
-
if (className ===
|
|
77690
|
+
if (className === undefined) {
|
|
77673
77691
|
className = '';
|
|
77674
77692
|
}
|
|
77675
77693
|
if (!className) return 'swiper-wrapper';
|
|
@@ -77851,10 +77869,10 @@ function updateSwiper(_ref) {
|
|
|
77851
77869
|
}
|
|
77852
77870
|
|
|
77853
77871
|
function getParams(obj, splitEvents) {
|
|
77854
|
-
if (obj ===
|
|
77872
|
+
if (obj === undefined) {
|
|
77855
77873
|
obj = {};
|
|
77856
77874
|
}
|
|
77857
|
-
if (splitEvents ===
|
|
77875
|
+
if (splitEvents === undefined) {
|
|
77858
77876
|
splitEvents = true;
|
|
77859
77877
|
}
|
|
77860
77878
|
const params = {
|
|
@@ -78103,7 +78121,7 @@ const Swiper = /*#__PURE__*/React.forwardRef(function (_temp, externalElRef) {
|
|
|
78103
78121
|
children,
|
|
78104
78122
|
onSwiper,
|
|
78105
78123
|
...rest
|
|
78106
|
-
} = _temp ===
|
|
78124
|
+
} = _temp === undefined ? {} : _temp;
|
|
78107
78125
|
let eventsAssigned = false;
|
|
78108
78126
|
const [containerClasses, setContainerClasses] = React.useState('swiper');
|
|
78109
78127
|
const [virtualData, setVirtualData] = React.useState(null);
|
|
@@ -78290,7 +78308,7 @@ const SwiperSlide = /*#__PURE__*/React.forwardRef(function (_temp, externalRef)
|
|
|
78290
78308
|
virtualIndex,
|
|
78291
78309
|
swiperSlideIndex,
|
|
78292
78310
|
...rest
|
|
78293
|
-
} = _temp ===
|
|
78311
|
+
} = _temp === undefined ? {} : _temp;
|
|
78294
78312
|
const slideElRef = React.useRef(null);
|
|
78295
78313
|
const [slideClasses, setSlideClasses] = React.useState('swiper-slide');
|
|
78296
78314
|
const [lazyLoaded, setLazyLoaded] = React.useState(false);
|
|
@@ -78925,7 +78943,7 @@ const styles$7 = {
|
|
|
78925
78943
|
function delay(ms) {
|
|
78926
78944
|
return new Promise((resolve) => {
|
|
78927
78945
|
setTimeout(() => {
|
|
78928
|
-
resolve(
|
|
78946
|
+
resolve(undefined);
|
|
78929
78947
|
}, ms);
|
|
78930
78948
|
});
|
|
78931
78949
|
}
|