vite-plugin-deploy-ftp 1.1.1 → 1.2.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/index.js +73 -9
- package/dist/index.mjs +73 -9
- package/package.json +2 -2
- package/playground/__dist__/axios.min.js +2 -0
- package/playground/__dist__/chunks/gsap-CI3CqjtC.js +23 -0
- package/playground/__dist__/html2canvas@1.0.0-rc.4.js +7007 -0
- package/playground/__dist__/jweixin-1.6.2.js +1 -0
- package/playground/__dist__/vue.global.prod.js +6 -0
- package/playground/__dist__/wallpaper/Background - Build Expo Hall.jpg +0 -0
- package/playground/__dist__/wallpaper/Background - Build Keynote.jpg +0 -0
- package/playground/__dist__/wallpaper/Background - Build Stage.jpg +0 -0
- package/playground/__dist__/wallpaper/Background - Maddy Leger's Kitchen.jpg +0 -0
- package/playground/__dist__/wallpaper/Build 2020 - 8 bit.jpg +0 -0
- package/playground/__dist__/wallpaper/Build 2020 - Cityscape.jpg +0 -0
- package/playground/__dist__/wallpaper/Build 2020 - Triangles.jpg +0 -0
- package/playground/__dist__/wallpaper/Build 2020 - Truck.jpg +0 -0
- package/playground/__dist__/wallpaper/Build 2020 Attendee.jpg +0 -0
- package/playground/__dist__/wallpaper/Fluent Ball - Build 2020.jpg +0 -0
- package/playground/__dist__/wallpaper/Fluent Blocks - Build 2020.jpg +0 -0
- package/playground/__dist__/wallpaper/Fluent Ribbon - Build 2020.jpg +0 -0
- package/playground/__dist__/wallpaper/Fluent Spiral - Build 2020.jpg +0 -0
- package/playground/__dist__/wallpaper/Red Shirt Fan Club.jpg +0 -0
- package/playground/__dist__/wallpaper/Windows XP.jpg +0 -0
- package/playground/index.html +14 -0
- package/playground/public/axios.min.js +2 -0
- package/playground/public/chunks/gsap-CI3CqjtC.js +23 -0
- package/playground/public/html2canvas@1.0.0-rc.4.js +7007 -0
- package/playground/public/jweixin-1.6.2.js +1 -0
- package/playground/public/vue.global.prod.js +6 -0
- package/playground/public/wallpaper/Background - Build Expo Hall.jpg +0 -0
- package/playground/public/wallpaper/Background - Build Keynote.jpg +0 -0
- package/playground/public/wallpaper/Background - Build Stage.jpg +0 -0
- package/playground/public/wallpaper/Background - Maddy Leger's Kitchen.jpg +0 -0
- package/playground/public/wallpaper/Build 2020 - 8 bit.jpg +0 -0
- package/playground/public/wallpaper/Build 2020 - Cityscape.jpg +0 -0
- package/playground/public/wallpaper/Build 2020 - Triangles.jpg +0 -0
- package/playground/public/wallpaper/Build 2020 - Truck.jpg +0 -0
- package/playground/public/wallpaper/Build 2020 Attendee.jpg +0 -0
- package/playground/public/wallpaper/Fluent Ball - Build 2020.jpg +0 -0
- package/playground/public/wallpaper/Fluent Blocks - Build 2020.jpg +0 -0
- package/playground/public/wallpaper/Fluent Ribbon - Build 2020.jpg +0 -0
- package/playground/public/wallpaper/Fluent Spiral - Build 2020.jpg +0 -0
- package/playground/public/wallpaper/Red Shirt Fan Club.jpg +0 -0
- package/playground/public/wallpaper/Windows XP.jpg +0 -0
- package/playground/vite.config.ts +54 -0
- package/vite.config.ts +0 -43
- /package/{index.html → playground/__dist__/index.html} +0 -0
package/dist/index.js
CHANGED
|
@@ -86,6 +86,7 @@ function vitePluginDeployFtp(option) {
|
|
|
86
86
|
async handler() {
|
|
87
87
|
if (!open || buildFailed) return;
|
|
88
88
|
try {
|
|
89
|
+
process.stdout.write("\x1B[2J\x1B[0f");
|
|
89
90
|
await deployToFtp();
|
|
90
91
|
} catch (error) {
|
|
91
92
|
console.error(import_chalk.default.red("\u274C FTP \u90E8\u7F72\u5931\u8D25:"), error instanceof Error ? error.message : error);
|
|
@@ -168,17 +169,29 @@ function vitePluginDeployFtp(option) {
|
|
|
168
169
|
}
|
|
169
170
|
const { protocol, baseUrl } = parseAlias(alias);
|
|
170
171
|
const displayName = name || host;
|
|
171
|
-
|
|
172
|
-
|
|
172
|
+
const allFiles = getAllFiles(outDir);
|
|
173
|
+
const totalFiles = allFiles.length;
|
|
174
|
+
console.log(import_chalk.default.bold(`
|
|
175
|
+
\u{1F680} FTP \u90E8\u7F72\u5F00\u59CB`));
|
|
176
|
+
console.log();
|
|
177
|
+
console.log(`Host: ${import_chalk.default.blue(host)}`);
|
|
178
|
+
console.log(`User: ${import_chalk.default.blue(user)}`);
|
|
179
|
+
console.log(`Source: ${import_chalk.default.blue(outDir)}`);
|
|
180
|
+
console.log(`Target: ${import_chalk.default.blue(uploadPath)}`);
|
|
181
|
+
console.log(`Files: ${import_chalk.default.blue(totalFiles)}`);
|
|
182
|
+
console.log();
|
|
173
183
|
const client = new import_basic_ftp.Client();
|
|
174
184
|
let uploadSpinner;
|
|
185
|
+
const startTime = Date.now();
|
|
175
186
|
try {
|
|
176
187
|
uploadSpinner = (0, import_ora.default)(`\u8FDE\u63A5\u5230 ${displayName} \u4E2D...`).start();
|
|
177
188
|
await connectWithRetry(client, { host, port, user, password }, maxRetries, retryDelay);
|
|
178
189
|
uploadSpinner.color = "green";
|
|
179
190
|
uploadSpinner.text = "\u8FDE\u63A5\u6210\u529F";
|
|
191
|
+
await new Promise((resolve) => setTimeout(resolve, 500));
|
|
180
192
|
const fileList = await client.list(uploadPath);
|
|
181
|
-
uploadSpinner.succeed(
|
|
193
|
+
uploadSpinner.succeed("\u8FDE\u63A5\u6210\u529F!");
|
|
194
|
+
const startDir = await client.pwd();
|
|
182
195
|
if (fileList.length) {
|
|
183
196
|
if (singleBack) {
|
|
184
197
|
await createSingleBackup(client, uploadPath, protocol, baseUrl, singleBackFiles, showBackFile);
|
|
@@ -193,12 +206,43 @@ function vitePluginDeployFtp(option) {
|
|
|
193
206
|
}
|
|
194
207
|
}
|
|
195
208
|
}
|
|
196
|
-
const
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
209
|
+
const progressSpinner = (0, import_ora.default)("\u51C6\u5907\u4E0A\u4F20...").start();
|
|
210
|
+
let uploadedCount = 0;
|
|
211
|
+
const groups = {};
|
|
212
|
+
for (const file of allFiles) {
|
|
213
|
+
const dir = import_node_path.default.dirname(file);
|
|
214
|
+
if (!groups[dir]) groups[dir] = [];
|
|
215
|
+
groups[dir].push(import_node_path.default.basename(file));
|
|
216
|
+
}
|
|
217
|
+
for (const relDir of Object.keys(groups)) {
|
|
218
|
+
await client.cd(startDir);
|
|
219
|
+
const remoteDir = (0, import_vite.normalizePath)(import_node_path.default.join(uploadPath, relDir));
|
|
220
|
+
await client.ensureDir(remoteDir);
|
|
221
|
+
for (const fileName of groups[relDir]) {
|
|
222
|
+
const currentFile = import_node_path.default.join(relDir, fileName);
|
|
223
|
+
const displayPath = (0, import_vite.normalizePath)(currentFile);
|
|
224
|
+
progressSpinner.text = `\u6B63\u5728\u4E0A\u4F20: ${import_chalk.default.dim(displayPath)}
|
|
225
|
+
${formatProgressBar(uploadedCount, totalFiles)}`;
|
|
226
|
+
const localFile = import_node_path.default.join(outDir, relDir, fileName);
|
|
227
|
+
await client.uploadFrom(localFile, fileName);
|
|
228
|
+
uploadedCount++;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
progressSpinner.succeed("\u6240\u6709\u6587\u4EF6\u4E0A\u4F20\u5B8C\u6210!");
|
|
232
|
+
console.log(import_chalk.default.green(formatProgressBar(totalFiles, totalFiles)));
|
|
233
|
+
process.stdout.write("\x1B[2J\x1B[0f");
|
|
234
|
+
console.log(import_chalk.default.gray("\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n"));
|
|
235
|
+
const duration = ((Date.now() - startTime) / 1e3).toFixed(2);
|
|
236
|
+
console.log(`\u{1F389} \u90E8\u7F72\u6210\u529F!`);
|
|
237
|
+
console.log();
|
|
238
|
+
console.log(`\u7EDF\u8BA1:`);
|
|
239
|
+
console.log(` \u2714 \u6210\u529F: ${import_chalk.default.green(totalFiles)}`);
|
|
240
|
+
console.log(` \u23F1 \u8017\u65F6: ${import_chalk.default.green(duration + "s")}`);
|
|
201
241
|
console.log();
|
|
242
|
+
if (baseUrl) {
|
|
243
|
+
console.log(`\u8BBF\u95EE\u5730\u5740: ${import_chalk.default.green(buildUrl(protocol, baseUrl, uploadPath))}`);
|
|
244
|
+
console.log();
|
|
245
|
+
}
|
|
202
246
|
} catch (error) {
|
|
203
247
|
if (uploadSpinner) {
|
|
204
248
|
uploadSpinner.fail(`\u274C \u4E0A\u4F20\u5230 ${displayName} \u5931\u8D25`);
|
|
@@ -211,6 +255,26 @@ function vitePluginDeployFtp(option) {
|
|
|
211
255
|
}
|
|
212
256
|
}
|
|
213
257
|
}
|
|
258
|
+
function getAllFiles(dirPath, arrayOfFiles = [], relativePath = "") {
|
|
259
|
+
const files = import_node_fs.default.readdirSync(dirPath);
|
|
260
|
+
files.forEach(function(file) {
|
|
261
|
+
const fullPath = import_node_path.default.join(dirPath, file);
|
|
262
|
+
const relPath = import_node_path.default.join(relativePath, file);
|
|
263
|
+
if (import_node_fs.default.statSync(fullPath).isDirectory()) {
|
|
264
|
+
getAllFiles(fullPath, arrayOfFiles, relPath);
|
|
265
|
+
} else {
|
|
266
|
+
arrayOfFiles.push(relPath);
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
return arrayOfFiles;
|
|
270
|
+
}
|
|
271
|
+
function formatProgressBar(current, total, width = 30) {
|
|
272
|
+
const percentage = Math.round(current / total * 100);
|
|
273
|
+
const filled = Math.round(width * current / total);
|
|
274
|
+
const empty = width - filled;
|
|
275
|
+
const bar = "\u2588".repeat(filled) + "\u2591".repeat(empty);
|
|
276
|
+
return `${bar} ${percentage}% (${current}/${total})`;
|
|
277
|
+
}
|
|
214
278
|
function validateFtpConfig(config) {
|
|
215
279
|
return !!(config.host && config.user && config.password);
|
|
216
280
|
}
|
|
@@ -297,7 +361,7 @@ async function createBackupFile(client, dir, protocol, baseUrl, showBackFile = f
|
|
|
297
361
|
const backupUrl = buildUrl(protocol, baseUrl, `${dir}/${fileName}`);
|
|
298
362
|
backupSpinner.succeed("\u5907\u4EFD\u5B8C\u6210");
|
|
299
363
|
console.log(import_chalk.default.cyan("\n\u5907\u4EFD\u6587\u4EF6:"));
|
|
300
|
-
console.log(import_chalk.default.green(
|
|
364
|
+
console.log(import_chalk.default.green(`${backupUrl}`));
|
|
301
365
|
console.log();
|
|
302
366
|
} catch (error) {
|
|
303
367
|
backupSpinner.fail("\u5907\u4EFD\u5931\u8D25");
|
package/dist/index.mjs
CHANGED
|
@@ -52,6 +52,7 @@ function vitePluginDeployFtp(option) {
|
|
|
52
52
|
async handler() {
|
|
53
53
|
if (!open || buildFailed) return;
|
|
54
54
|
try {
|
|
55
|
+
process.stdout.write("\x1B[2J\x1B[0f");
|
|
55
56
|
await deployToFtp();
|
|
56
57
|
} catch (error) {
|
|
57
58
|
console.error(chalk.red("\u274C FTP \u90E8\u7F72\u5931\u8D25:"), error instanceof Error ? error.message : error);
|
|
@@ -134,17 +135,29 @@ function vitePluginDeployFtp(option) {
|
|
|
134
135
|
}
|
|
135
136
|
const { protocol, baseUrl } = parseAlias(alias);
|
|
136
137
|
const displayName = name || host;
|
|
137
|
-
|
|
138
|
-
|
|
138
|
+
const allFiles = getAllFiles(outDir);
|
|
139
|
+
const totalFiles = allFiles.length;
|
|
140
|
+
console.log(chalk.bold(`
|
|
141
|
+
\u{1F680} FTP \u90E8\u7F72\u5F00\u59CB`));
|
|
142
|
+
console.log();
|
|
143
|
+
console.log(`Host: ${chalk.blue(host)}`);
|
|
144
|
+
console.log(`User: ${chalk.blue(user)}`);
|
|
145
|
+
console.log(`Source: ${chalk.blue(outDir)}`);
|
|
146
|
+
console.log(`Target: ${chalk.blue(uploadPath)}`);
|
|
147
|
+
console.log(`Files: ${chalk.blue(totalFiles)}`);
|
|
148
|
+
console.log();
|
|
139
149
|
const client = new Client();
|
|
140
150
|
let uploadSpinner;
|
|
151
|
+
const startTime = Date.now();
|
|
141
152
|
try {
|
|
142
153
|
uploadSpinner = ora(`\u8FDE\u63A5\u5230 ${displayName} \u4E2D...`).start();
|
|
143
154
|
await connectWithRetry(client, { host, port, user, password }, maxRetries, retryDelay);
|
|
144
155
|
uploadSpinner.color = "green";
|
|
145
156
|
uploadSpinner.text = "\u8FDE\u63A5\u6210\u529F";
|
|
157
|
+
await new Promise((resolve) => setTimeout(resolve, 500));
|
|
146
158
|
const fileList = await client.list(uploadPath);
|
|
147
|
-
uploadSpinner.succeed(
|
|
159
|
+
uploadSpinner.succeed("\u8FDE\u63A5\u6210\u529F!");
|
|
160
|
+
const startDir = await client.pwd();
|
|
148
161
|
if (fileList.length) {
|
|
149
162
|
if (singleBack) {
|
|
150
163
|
await createSingleBackup(client, uploadPath, protocol, baseUrl, singleBackFiles, showBackFile);
|
|
@@ -159,12 +172,43 @@ function vitePluginDeployFtp(option) {
|
|
|
159
172
|
}
|
|
160
173
|
}
|
|
161
174
|
}
|
|
162
|
-
const
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
175
|
+
const progressSpinner = ora("\u51C6\u5907\u4E0A\u4F20...").start();
|
|
176
|
+
let uploadedCount = 0;
|
|
177
|
+
const groups = {};
|
|
178
|
+
for (const file of allFiles) {
|
|
179
|
+
const dir = path.dirname(file);
|
|
180
|
+
if (!groups[dir]) groups[dir] = [];
|
|
181
|
+
groups[dir].push(path.basename(file));
|
|
182
|
+
}
|
|
183
|
+
for (const relDir of Object.keys(groups)) {
|
|
184
|
+
await client.cd(startDir);
|
|
185
|
+
const remoteDir = normalizePath(path.join(uploadPath, relDir));
|
|
186
|
+
await client.ensureDir(remoteDir);
|
|
187
|
+
for (const fileName of groups[relDir]) {
|
|
188
|
+
const currentFile = path.join(relDir, fileName);
|
|
189
|
+
const displayPath = normalizePath(currentFile);
|
|
190
|
+
progressSpinner.text = `\u6B63\u5728\u4E0A\u4F20: ${chalk.dim(displayPath)}
|
|
191
|
+
${formatProgressBar(uploadedCount, totalFiles)}`;
|
|
192
|
+
const localFile = path.join(outDir, relDir, fileName);
|
|
193
|
+
await client.uploadFrom(localFile, fileName);
|
|
194
|
+
uploadedCount++;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
progressSpinner.succeed("\u6240\u6709\u6587\u4EF6\u4E0A\u4F20\u5B8C\u6210!");
|
|
198
|
+
console.log(chalk.green(formatProgressBar(totalFiles, totalFiles)));
|
|
199
|
+
process.stdout.write("\x1B[2J\x1B[0f");
|
|
200
|
+
console.log(chalk.gray("\n\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\n"));
|
|
201
|
+
const duration = ((Date.now() - startTime) / 1e3).toFixed(2);
|
|
202
|
+
console.log(`\u{1F389} \u90E8\u7F72\u6210\u529F!`);
|
|
203
|
+
console.log();
|
|
204
|
+
console.log(`\u7EDF\u8BA1:`);
|
|
205
|
+
console.log(` \u2714 \u6210\u529F: ${chalk.green(totalFiles)}`);
|
|
206
|
+
console.log(` \u23F1 \u8017\u65F6: ${chalk.green(duration + "s")}`);
|
|
167
207
|
console.log();
|
|
208
|
+
if (baseUrl) {
|
|
209
|
+
console.log(`\u8BBF\u95EE\u5730\u5740: ${chalk.green(buildUrl(protocol, baseUrl, uploadPath))}`);
|
|
210
|
+
console.log();
|
|
211
|
+
}
|
|
168
212
|
} catch (error) {
|
|
169
213
|
if (uploadSpinner) {
|
|
170
214
|
uploadSpinner.fail(`\u274C \u4E0A\u4F20\u5230 ${displayName} \u5931\u8D25`);
|
|
@@ -177,6 +221,26 @@ function vitePluginDeployFtp(option) {
|
|
|
177
221
|
}
|
|
178
222
|
}
|
|
179
223
|
}
|
|
224
|
+
function getAllFiles(dirPath, arrayOfFiles = [], relativePath = "") {
|
|
225
|
+
const files = fs.readdirSync(dirPath);
|
|
226
|
+
files.forEach(function(file) {
|
|
227
|
+
const fullPath = path.join(dirPath, file);
|
|
228
|
+
const relPath = path.join(relativePath, file);
|
|
229
|
+
if (fs.statSync(fullPath).isDirectory()) {
|
|
230
|
+
getAllFiles(fullPath, arrayOfFiles, relPath);
|
|
231
|
+
} else {
|
|
232
|
+
arrayOfFiles.push(relPath);
|
|
233
|
+
}
|
|
234
|
+
});
|
|
235
|
+
return arrayOfFiles;
|
|
236
|
+
}
|
|
237
|
+
function formatProgressBar(current, total, width = 30) {
|
|
238
|
+
const percentage = Math.round(current / total * 100);
|
|
239
|
+
const filled = Math.round(width * current / total);
|
|
240
|
+
const empty = width - filled;
|
|
241
|
+
const bar = "\u2588".repeat(filled) + "\u2591".repeat(empty);
|
|
242
|
+
return `${bar} ${percentage}% (${current}/${total})`;
|
|
243
|
+
}
|
|
180
244
|
function validateFtpConfig(config) {
|
|
181
245
|
return !!(config.host && config.user && config.password);
|
|
182
246
|
}
|
|
@@ -263,7 +327,7 @@ async function createBackupFile(client, dir, protocol, baseUrl, showBackFile = f
|
|
|
263
327
|
const backupUrl = buildUrl(protocol, baseUrl, `${dir}/${fileName}`);
|
|
264
328
|
backupSpinner.succeed("\u5907\u4EFD\u5B8C\u6210");
|
|
265
329
|
console.log(chalk.cyan("\n\u5907\u4EFD\u6587\u4EF6:"));
|
|
266
|
-
console.log(chalk.green(
|
|
330
|
+
console.log(chalk.green(`${backupUrl}`));
|
|
267
331
|
console.log();
|
|
268
332
|
} catch (error) {
|
|
269
333
|
backupSpinner.fail("\u5907\u4EFD\u5931\u8D25");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plugin-deploy-ftp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.2.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index.mjs",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -44,6 +44,6 @@
|
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "tsup",
|
|
46
46
|
"pack": "pnpm run build && pnpm pack",
|
|
47
|
-
"build:test": "vite build"
|
|
47
|
+
"build:test": "cd playground && vite build"
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).axios=t()}(this,(function(){"use strict";function e(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function t(t){for(var n=1;n<arguments.length;n++){var r=null!=arguments[n]?arguments[n]:{};n%2?e(Object(r),!0).forEach((function(e){a(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):e(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(e,t){return c(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,o,i=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw o}}return i}(e,t)||l(e,t)||p()}function u(e){return function(e){if(Array.isArray(e))return d(e)}(e)||f(e)||l(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){if(Array.isArray(e))return e}function f(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function l(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function p(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e,t){return function(){return e.apply(t,arguments)}}var m,y=Object.prototype.toString,v=Object.getPrototypeOf,b=(m=Object.create(null),function(e){var t=y.call(e);return m[t]||(m[t]=t.slice(8,-1).toLowerCase())}),g=function(e){return e=e.toLowerCase(),function(t){return b(t)===e}},w=function(e){return function(t){return n(t)===e}},O=Array.isArray,E=w("undefined");var S=g("ArrayBuffer");var R=w("string"),A=w("function"),j=w("number"),T=function(e){return null!==e&&"object"===n(e)},P=function(e){if("object"!==b(e))return!1;var t=v(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},N=g("Date"),C=g("File"),x=g("Blob"),k=g("FileList"),_=g("URLSearchParams");function U(e,t){var r,o,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=i.allOwnKeys,s=void 0!==a&&a;if(null!=e)if("object"!==n(e)&&(e=[e]),O(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{var u,c=s?Object.getOwnPropertyNames(e):Object.keys(e),f=c.length;for(r=0;r<f;r++)u=c[r],t.call(null,e[u],u,e)}}function D(e,t){t=t.toLowerCase();for(var n,r=Object.keys(e),o=r.length;o-- >0;)if(t===(n=r[o]).toLowerCase())return n;return null}var F="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,B=function(e){return!E(e)&&e!==F};var L,I=(L="undefined"!=typeof Uint8Array&&v(Uint8Array),function(e){return L&&e instanceof L}),q=g("HTMLFormElement"),z=function(e){var t=Object.prototype.hasOwnProperty;return function(e,n){return t.call(e,n)}}(),M=g("RegExp"),H=function(e,t){var n=Object.getOwnPropertyDescriptors(e),r={};U(n,(function(n,o){var i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},J="abcdefghijklmnopqrstuvwxyz",W="0123456789",K={DIGIT:W,ALPHA:J,ALPHA_DIGIT:J+J.toUpperCase()+W};var V=g("AsyncFunction"),G={isArray:O,isArrayBuffer:S,isBuffer:function(e){return null!==e&&!E(e)&&null!==e.constructor&&!E(e.constructor)&&A(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:function(e){var t;return e&&("function"==typeof FormData&&e instanceof FormData||A(e.append)&&("formdata"===(t=b(e))||"object"===t&&A(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&S(e.buffer)},isString:R,isNumber:j,isBoolean:function(e){return!0===e||!1===e},isObject:T,isPlainObject:P,isUndefined:E,isDate:N,isFile:C,isBlob:x,isRegExp:M,isFunction:A,isStream:function(e){return T(e)&&A(e.pipe)},isURLSearchParams:_,isTypedArray:I,isFileList:k,forEach:U,merge:function e(){for(var t=B(this)&&this||{},n=t.caseless,r={},o=function(t,o){var i=n&&D(r,o)||o;P(r[i])&&P(t)?r[i]=e(r[i],t):P(t)?r[i]=e({},t):O(t)?r[i]=t.slice():r[i]=t},i=0,a=arguments.length;i<a;i++)arguments[i]&&U(arguments[i],o);return r},extend:function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=r.allOwnKeys;return U(t,(function(t,r){n&&A(t)?e[r]=h(t,n):e[r]=t}),{allOwnKeys:o}),e},trim:function(e){return e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:function(e,t,n,r){var o,i,a,s={};if(t=t||{},null==e)return t;do{for(i=(o=Object.getOwnPropertyNames(e)).length;i-- >0;)a=o[i],r&&!r(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&v(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:b,kindOfTest:g,endsWith:function(e,t,n){e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return-1!==r&&r===n},toArray:function(e){if(!e)return null;if(O(e))return e;var t=e.length;if(!j(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n},forEachEntry:function(e,t){for(var n,r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var o=n.value;t.call(e,o[0],o[1])}},matchAll:function(e,t){for(var n,r=[];null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:q,hasOwnProperty:z,hasOwnProp:z,reduceDescriptors:H,freezeMethods:function(e){H(e,(function(t,n){if(A(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;var r=e[n];A(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=function(){throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:function(e,t){var n={},r=function(e){e.forEach((function(e){n[e]=!0}))};return O(e)?r(e):r(String(e).split(t)),n},toCamelCase:function(e){return e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))},noop:function(){},toFiniteNumber:function(e,t){return e=+e,Number.isFinite(e)?e:t},findKey:D,global:F,isContextDefined:B,ALPHABET:K,generateString:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:K.ALPHA_DIGIT,n="",r=t.length;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&A(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:function(e){var t=new Array(10);return function e(n,r){if(T(n)){if(t.indexOf(n)>=0)return;if(!("toJSON"in n)){t[r]=n;var o=O(n)?[]:{};return U(n,(function(t,n){var i=e(t,r+1);!E(i)&&(o[n]=i)})),t[r]=void 0,o}}return n}(e,0)},isAsyncFn:V,isThenable:function(e){return e&&(T(e)||A(e))&&A(e.then)&&A(e.catch)}};function $(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}G.inherits($,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:G.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var X=$.prototype,Q={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((function(e){Q[e]={value:e}})),Object.defineProperties($,Q),Object.defineProperty(X,"isAxiosError",{value:!0}),$.from=function(e,t,n,r,o,i){var a=Object.create(X);return G.toFlatObject(e,a,(function(e){return e!==Error.prototype}),(function(e){return"isAxiosError"!==e})),$.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};function Z(e){return G.isPlainObject(e)||G.isArray(e)}function Y(e){return G.endsWith(e,"[]")?e.slice(0,-2):e}function ee(e,t,n){return e?e.concat(t).map((function(e,t){return e=Y(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}var te=G.toFlatObject(G,{},null,(function(e){return/^is[A-Z]/.test(e)}));function ne(e,t,r){if(!G.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;var o=(r=G.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!G.isUndefined(t[e])}))).metaTokens,i=r.visitor||f,a=r.dots,s=r.indexes,u=(r.Blob||"undefined"!=typeof Blob&&Blob)&&G.isSpecCompliantForm(t);if(!G.isFunction(i))throw new TypeError("visitor must be a function");function c(e){if(null===e)return"";if(G.isDate(e))return e.toISOString();if(!u&&G.isBlob(e))throw new $("Blob is not supported. Use a Buffer instead.");return G.isArrayBuffer(e)||G.isTypedArray(e)?u&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function f(e,r,i){var u=e;if(e&&!i&&"object"===n(e))if(G.endsWith(r,"{}"))r=o?r:r.slice(0,-2),e=JSON.stringify(e);else if(G.isArray(e)&&function(e){return G.isArray(e)&&!e.some(Z)}(e)||(G.isFileList(e)||G.endsWith(r,"[]"))&&(u=G.toArray(e)))return r=Y(r),u.forEach((function(e,n){!G.isUndefined(e)&&null!==e&&t.append(!0===s?ee([r],n,a):null===s?r:r+"[]",c(e))})),!1;return!!Z(e)||(t.append(ee(i,r,a),c(e)),!1)}var l=[],d=Object.assign(te,{defaultVisitor:f,convertValue:c,isVisitable:Z});if(!G.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!G.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),G.forEach(n,(function(n,o){!0===(!(G.isUndefined(n)||null===n)&&i.call(t,n,G.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])})),l.pop()}}(e),t}function re(e){var t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function oe(e,t){this._pairs=[],e&&ne(e,this,t)}var ie=oe.prototype;function ae(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function se(e,t,n){if(!t)return e;var r,o=n&&n.encode||ae,i=n&&n.serialize;if(r=i?i(t,n):G.isURLSearchParams(t)?t.toString():new oe(t,n).toString(o)){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+r}return e}ie.append=function(e,t){this._pairs.push([e,t])},ie.toString=function(e){var t=e?function(t){return e.call(this,t,re)}:re;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var ue,ce=function(){function e(){r(this,e),this.handlers=[]}return i(e,[{key:"use",value:function(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}},{key:"eject",value:function(e){this.handlers[e]&&(this.handlers[e]=null)}},{key:"clear",value:function(){this.handlers&&(this.handlers=[])}},{key:"forEach",value:function(e){G.forEach(this.handlers,(function(t){null!==t&&e(t)}))}}]),e}(),fe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},le={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:oe,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},de="undefined"!=typeof window&&"undefined"!=typeof document,pe=(ue="undefined"!=typeof navigator&&navigator.product,de&&["ReactNative","NativeScript","NS"].indexOf(ue)<0),he="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,me=t(t({},Object.freeze({__proto__:null,hasBrowserEnv:de,hasStandardBrowserWebWorkerEnv:he,hasStandardBrowserEnv:pe})),le);function ye(e){function t(e,n,r,o){var i=e[o++],a=Number.isFinite(+i),s=o>=e.length;return i=!i&&G.isArray(r)?r.length:i,s?(G.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!a):(r[i]&&G.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&G.isArray(r[i])&&(r[i]=function(e){var t,n,r={},o=Object.keys(e),i=o.length;for(t=0;t<i;t++)r[n=o[t]]=e[n];return r}(r[i])),!a)}if(G.isFormData(e)&&G.isFunction(e.entries)){var n={};return G.forEachEntry(e,(function(e,r){t(function(e){return G.matchAll(/\w+|\[(\w*)]/g,e).map((function(e){return"[]"===e[0]?"":e[1]||e[0]}))}(e),r,n,0)})),n}return null}var ve={transitional:fe,adapter:["xhr","http"],transformRequest:[function(e,t){var n,r=t.getContentType()||"",o=r.indexOf("application/json")>-1,i=G.isObject(e);if(i&&G.isHTMLForm(e)&&(e=new FormData(e)),G.isFormData(e))return o&&o?JSON.stringify(ye(e)):e;if(G.isArrayBuffer(e)||G.isBuffer(e)||G.isStream(e)||G.isFile(e)||G.isBlob(e))return e;if(G.isArrayBufferView(e))return e.buffer;if(G.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return ne(e,new me.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return me.isNode&&G.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((n=G.isFileList(e))||r.indexOf("multipart/form-data")>-1){var a=this.env&&this.env.FormData;return ne(n?{"files[]":e}:e,a&&new a,this.formSerializer)}}return i||o?(t.setContentType("application/json",!1),function(e,t,n){if(G.isString(e))try{return(t||JSON.parse)(e),G.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||ve.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&G.isString(e)&&(n&&!this.responseType||r)){var o=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(o){if("SyntaxError"===e.name)throw $.from(e,$.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:me.classes.FormData,Blob:me.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};G.forEach(["delete","get","head","post","put","patch"],(function(e){ve.headers[e]={}}));var be=ve,ge=G.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),we=Symbol("internals");function Oe(e){return e&&String(e).trim().toLowerCase()}function Ee(e){return!1===e||null==e?e:G.isArray(e)?e.map(Ee):String(e)}function Se(e,t,n,r,o){return G.isFunction(r)?r.call(this,t,n):(o&&(t=n),G.isString(t)?G.isString(r)?-1!==t.indexOf(r):G.isRegExp(r)?r.test(t):void 0:void 0)}var Re=function(e,t){function n(e){r(this,n),e&&this.set(e)}return i(n,[{key:"set",value:function(e,t,n){var r=this;function o(e,t,n){var o=Oe(t);if(!o)throw new Error("header name must be a non-empty string");var i=G.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Ee(e))}var i,a,s,u,c,f=function(e,t){return G.forEach(e,(function(e,n){return o(e,n,t)}))};return G.isPlainObject(e)||e instanceof this.constructor?f(e,t):G.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?f((c={},(i=e)&&i.split("\n").forEach((function(e){u=e.indexOf(":"),a=e.substring(0,u).trim().toLowerCase(),s=e.substring(u+1).trim(),!a||c[a]&&ge[a]||("set-cookie"===a?c[a]?c[a].push(s):c[a]=[s]:c[a]=c[a]?c[a]+", "+s:s)})),c),t):null!=e&&o(t,e,n),this}},{key:"get",value:function(e,t){if(e=Oe(e)){var n=G.findKey(this,e);if(n){var r=this[n];if(!t)return r;if(!0===t)return function(e){for(var t,n=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;t=r.exec(e);)n[t[1]]=t[2];return n}(r);if(G.isFunction(t))return t.call(this,r,n);if(G.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}},{key:"has",value:function(e,t){if(e=Oe(e)){var n=G.findKey(this,e);return!(!n||void 0===this[n]||t&&!Se(0,this[n],n,t))}return!1}},{key:"delete",value:function(e,t){var n=this,r=!1;function o(e){if(e=Oe(e)){var o=G.findKey(n,e);!o||t&&!Se(0,n[o],o,t)||(delete n[o],r=!0)}}return G.isArray(e)?e.forEach(o):o(e),r}},{key:"clear",value:function(e){for(var t=Object.keys(this),n=t.length,r=!1;n--;){var o=t[n];e&&!Se(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}},{key:"normalize",value:function(e){var t=this,n={};return G.forEach(this,(function(r,o){var i=G.findKey(n,o);if(i)return t[i]=Ee(r),void delete t[o];var a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n}))}(o):String(o).trim();a!==o&&delete t[o],t[a]=Ee(r),n[a]=!0})),this}},{key:"concat",value:function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];return(e=this.constructor).concat.apply(e,[this].concat(n))}},{key:"toJSON",value:function(e){var t=Object.create(null);return G.forEach(this,(function(n,r){null!=n&&!1!==n&&(t[r]=e&&G.isArray(n)?n.join(", "):n)})),t}},{key:Symbol.iterator,value:function(){return Object.entries(this.toJSON())[Symbol.iterator]()}},{key:"toString",value:function(){return Object.entries(this.toJSON()).map((function(e){var t=s(e,2);return t[0]+": "+t[1]})).join("\n")}},{key:Symbol.toStringTag,get:function(){return"AxiosHeaders"}}],[{key:"from",value:function(e){return e instanceof this?e:new this(e)}},{key:"concat",value:function(e){for(var t=new this(e),n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return r.forEach((function(e){return t.set(e)})),t}},{key:"accessor",value:function(e){var t=(this[we]=this[we]={accessors:{}}).accessors,n=this.prototype;function r(e){var r=Oe(e);t[r]||(!function(e,t){var n=G.toCamelCase(" "+t);["get","set","has"].forEach((function(r){Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return G.isArray(e)?e.forEach(r):r(e),this}}]),n}();Re.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),G.reduceDescriptors(Re.prototype,(function(e,t){var n=e.value,r=t[0].toUpperCase()+t.slice(1);return{get:function(){return n},set:function(e){this[r]=e}}})),G.freezeMethods(Re);var Ae=Re;function je(e,t){var n=this||be,r=t||n,o=Ae.from(r.headers),i=r.data;return G.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Te(e){return!(!e||!e.__CANCEL__)}function Pe(e,t,n){$.call(this,null==e?"canceled":e,$.ERR_CANCELED,t,n),this.name="CanceledError"}G.inherits(Pe,$,{__CANCEL__:!0});var Ne=me.hasStandardBrowserEnv?{write:function(e,t,n,r,o,i){var a=[];a.push(e+"="+encodeURIComponent(t)),G.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),G.isString(r)&&a.push("path="+r),G.isString(o)&&a.push("domain="+o),!0===i&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function Ce(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var xe=me.hasStandardBrowserEnv?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function r(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=r(window.location.href),function(t){var n=G.isString(t)?r(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function(){return!0};function ke(e,t){var n=0,r=function(e,t){e=e||10;var n,r=new Array(e),o=new Array(e),i=0,a=0;return t=void 0!==t?t:1e3,function(s){var u=Date.now(),c=o[a];n||(n=u),r[i]=s,o[i]=u;for(var f=a,l=0;f!==i;)l+=r[f++],f%=e;if((i=(i+1)%e)===a&&(a=(a+1)%e),!(u-n<t)){var d=c&&u-c;return d?Math.round(1e3*l/d):void 0}}}(50,250);return function(o){var i=o.loaded,a=o.lengthComputable?o.total:void 0,s=i-n,u=r(s);n=i;var c={loaded:i,total:a,progress:a?i/a:void 0,bytes:s,rate:u||void 0,estimated:u&&a&&i<=a?(a-i)/u:void 0,event:o};c[t?"download":"upload"]=!0,e(c)}}var _e={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){var r,o,i,a=e.data,s=Ae.from(e.headers).normalize(),d=e.responseType;function h(){e.cancelToken&&e.cancelToken.unsubscribe(r),e.signal&&e.signal.removeEventListener("abort",r)}if(G.isFormData(a))if(me.hasStandardBrowserEnv||me.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if(!1!==(o=s.getContentType())){var m=o?o.split(";").map((function(e){return e.trim()})).filter(Boolean):[],y=c(i=m)||f(i)||l(i)||p(),v=y[0],b=y.slice(1);s.setContentType([v||"multipart/form-data"].concat(u(b)).join("; "))}var g=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",O=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(w+":"+O))}var E=Ce(e.baseURL,e.url);function S(){if(g){var r=Ae.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());!function(e,t,n){var r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new $("Request failed with status code "+n.status,[$.ERR_BAD_REQUEST,$.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),h()}),(function(e){n(e),h()}),{data:d&&"text"!==d&&"json"!==d?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:r,config:e,request:g}),g=null}}if(g.open(e.method.toUpperCase(),se(E,e.params,e.paramsSerializer),!0),g.timeout=e.timeout,"onloadend"in g?g.onloadend=S:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&0===g.responseURL.indexOf("file:"))&&setTimeout(S)},g.onabort=function(){g&&(n(new $("Request aborted",$.ECONNABORTED,e,g)),g=null)},g.onerror=function(){n(new $("Network Error",$.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||fe;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new $(t,r.clarifyTimeoutError?$.ETIMEDOUT:$.ECONNABORTED,e,g)),g=null},me.hasStandardBrowserEnv){var R=xe(E)&&e.xsrfCookieName&&Ne.read(e.xsrfCookieName);R&&s.set(e.xsrfHeaderName,R)}void 0===a&&s.setContentType(null),"setRequestHeader"in g&&G.forEach(s.toJSON(),(function(e,t){g.setRequestHeader(t,e)})),G.isUndefined(e.withCredentials)||(g.withCredentials=!!e.withCredentials),d&&"json"!==d&&(g.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&g.addEventListener("progress",ke(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&g.upload&&g.upload.addEventListener("progress",ke(e.onUploadProgress)),(e.cancelToken||e.signal)&&(r=function(t){g&&(n(!t||t.type?new Pe(null,e,g):t),g.abort(),g=null)},e.cancelToken&&e.cancelToken.subscribe(r),e.signal&&(e.signal.aborted?r():e.signal.addEventListener("abort",r)));var A,j=(A=/^([-+\w]{1,25})(:?\/\/|:)/.exec(E))&&A[1]||"";j&&-1===me.protocols.indexOf(j)?n(new $("Unsupported protocol "+j+":",$.ERR_BAD_REQUEST,e)):g.send(a||null)}))}};G.forEach(_e,(function(e,t){if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));var Ue=function(e){return"- ".concat(e)},De=function(e){return G.isFunction(e)||null===e||!1===e},Fe=function(e){for(var t,n,r=(e=G.isArray(e)?e:[e]).length,o={},i=0;i<r;i++){var a=void 0;if(n=t=e[i],!De(t)&&void 0===(n=_e[(a=String(t)).toLowerCase()]))throw new $("Unknown adapter '".concat(a,"'"));if(n)break;o[a||"#"+i]=n}if(!n){var u=Object.entries(o).map((function(e){var t=s(e,2),n=t[0],r=t[1];return"adapter ".concat(n," ")+(!1===r?"is not supported by the environment":"is not available in the build")}));throw new $("There is no suitable adapter to dispatch the request "+(r?u.length>1?"since :\n"+u.map(Ue).join("\n"):" "+Ue(u[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")}return n};function Be(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Pe(null,e)}function Le(e){return Be(e),e.headers=Ae.from(e.headers),e.data=je.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Fe(e.adapter||be.adapter)(e).then((function(t){return Be(e),t.data=je.call(e,e.transformResponse,t),t.headers=Ae.from(t.headers),t}),(function(t){return Te(t)||(Be(e),t&&t.response&&(t.response.data=je.call(e,e.transformResponse,t.response),t.response.headers=Ae.from(t.response.headers))),Promise.reject(t)}))}var Ie=function(e){return e instanceof Ae?e.toJSON():e};function qe(e,t){t=t||{};var n={};function r(e,t,n){return G.isPlainObject(e)&&G.isPlainObject(t)?G.merge.call({caseless:n},e,t):G.isPlainObject(t)?G.merge({},t):G.isArray(t)?t.slice():t}function o(e,t,n){return G.isUndefined(t)?G.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!G.isUndefined(t))return r(void 0,t)}function a(e,t){return G.isUndefined(t)?G.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}var u={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:s,headers:function(e,t){return o(Ie(e),Ie(t),!0)}};return G.forEach(Object.keys(Object.assign({},e,t)),(function(r){var i=u[r]||o,a=i(e[r],t[r],r);G.isUndefined(a)&&i!==s||(n[r]=a)})),n}var ze="1.6.1",Me={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){Me[e]=function(r){return n(r)===e||"a"+(t<1?"n ":" ")+e}}));var He={};Me.transitional=function(e,t,n){function r(e,t){return"[Axios v1.6.1] Transitional option '"+e+"'"+t+(n?". "+n:"")}return function(n,o,i){if(!1===e)throw new $(r(o," has been removed"+(t?" in "+t:"")),$.ERR_DEPRECATED);return t&&!He[o]&&(He[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};var Je={assertOptions:function(e,t,r){if("object"!==n(e))throw new $("options must be an object",$.ERR_BAD_OPTION_VALUE);for(var o=Object.keys(e),i=o.length;i-- >0;){var a=o[i],s=t[a];if(s){var u=e[a],c=void 0===u||s(u,a,e);if(!0!==c)throw new $("option "+a+" must be "+c,$.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new $("Unknown option "+a,$.ERR_BAD_OPTION)}},validators:Me},We=Je.validators,Ke=function(){function e(t){r(this,e),this.defaults=t,this.interceptors={request:new ce,response:new ce}}return i(e,[{key:"request",value:function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};var n=t=qe(this.defaults,t),r=n.transitional,o=n.paramsSerializer,i=n.headers;void 0!==r&&Je.assertOptions(r,{silentJSONParsing:We.transitional(We.boolean),forcedJSONParsing:We.transitional(We.boolean),clarifyTimeoutError:We.transitional(We.boolean)},!1),null!=o&&(G.isFunction(o)?t.paramsSerializer={serialize:o}:Je.assertOptions(o,{encode:We.function,serialize:We.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();var a=i&&G.merge(i.common,i[t.method]);i&&G.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete i[e]})),t.headers=Ae.concat(a,i);var s=[],u=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(u=u&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));var c,f=[];this.interceptors.response.forEach((function(e){f.push(e.fulfilled,e.rejected)}));var l,d=0;if(!u){var p=[Le.bind(this),void 0];for(p.unshift.apply(p,s),p.push.apply(p,f),l=p.length,c=Promise.resolve(t);d<l;)c=c.then(p[d++],p[d++]);return c}l=s.length;var h=t;for(d=0;d<l;){var m=s[d++],y=s[d++];try{h=m(h)}catch(e){y.call(this,e);break}}try{c=Le.call(this,h)}catch(e){return Promise.reject(e)}for(d=0,l=f.length;d<l;)c=c.then(f[d++],f[d++]);return c}},{key:"getUri",value:function(e){return se(Ce((e=qe(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}]),e}();G.forEach(["delete","get","head","options"],(function(e){Ke.prototype[e]=function(t,n){return this.request(qe(n||{},{method:e,url:t,data:(n||{}).data}))}})),G.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,o){return this.request(qe(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Ke.prototype[e]=t(),Ke.prototype[e+"Form"]=t(!0)}));var Ve=Ke,Ge=function(){function e(t){if(r(this,e),"function"!=typeof t)throw new TypeError("executor must be a function.");var n;this.promise=new Promise((function(e){n=e}));var o=this;this.promise.then((function(e){if(o._listeners){for(var t=o._listeners.length;t-- >0;)o._listeners[t](e);o._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){o.subscribe(e),t=e})).then(e);return n.cancel=function(){o.unsubscribe(t)},n},t((function(e,t,r){o.reason||(o.reason=new Pe(e,t,r),n(o.reason))}))}return i(e,[{key:"throwIfRequested",value:function(){if(this.reason)throw this.reason}},{key:"subscribe",value:function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}},{key:"unsubscribe",value:function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}}}],[{key:"source",value:function(){var t;return{token:new e((function(e){t=e})),cancel:t}}}]),e}();var $e={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($e).forEach((function(e){var t=s(e,2),n=t[0],r=t[1];$e[r]=n}));var Xe=$e;var Qe=function e(t){var n=new Ve(t),r=h(Ve.prototype.request,n);return G.extend(r,Ve.prototype,n,{allOwnKeys:!0}),G.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(qe(t,n))},r}(be);return Qe.Axios=Ve,Qe.CanceledError=Pe,Qe.CancelToken=Ge,Qe.isCancel=Te,Qe.VERSION=ze,Qe.toFormData=ne,Qe.AxiosError=$,Qe.Cancel=Qe.CanceledError,Qe.all=function(e){return Promise.all(e)},Qe.spread=function(e){return function(t){return e.apply(null,t)}},Qe.isAxiosError=function(e){return G.isObject(e)&&!0===e.isAxiosError},Qe.mergeConfig=qe,Qe.AxiosHeaders=Ae,Qe.formToJSON=function(e){return ye(G.isHTMLForm(e)?new FormData(e):e)},Qe.getAdapter=Fe,Qe.HttpStatusCode=Xe,Qe.default=Qe,Qe}));
|
|
2
|
+
//# sourceMappingURL=axios.min.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
function Tt(o){if(o===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return o}function ji(o,t){o.prototype=Object.create(t.prototype),o.prototype.constructor=o,o.__proto__=t}/*!
|
|
2
|
+
* GSAP 3.13.0
|
|
3
|
+
* https://gsap.com
|
|
4
|
+
*
|
|
5
|
+
* @license Copyright 2008-2025, GreenSock. All rights reserved.
|
|
6
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
7
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
8
|
+
*/var ut={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},Zt={duration:.5,overwrite:!1,delay:0},oi,H,I,ct=1e8,L=1/ct,Ye=Math.PI*2,Kr=Ye/4,Qr=0,Hi=Math.sqrt,Zr=Math.cos,Jr=Math.sin,j=function(t){return typeof t=="string"},W=function(t){return typeof t=="function"},bt=function(t){return typeof t=="number"},ui=function(t){return typeof t>"u"},vt=function(t){return typeof t=="object"},tt=function(t){return t!==!1},fi=function(){return typeof window<"u"},xe=function(t){return W(t)||j(t)},Ki=typeof ArrayBuffer=="function"&&ArrayBuffer.isView||function(){},Q=Array.isArray,Xe=/(?:-?\.?\d|\.)+/gi,Qi=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,$t=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,ze=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,Zi=/[+-]=-?[.\d]+/,Ji=/[^,'"\[\]\s]+/gi,tn=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,B,gt,qe,hi,ft={},be={},tr,er=function(t){return(be=Jt(t,ft))&&nt},li=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},le=function(t,e){return!e&&console.warn(t)},ir=function(t,e){return t&&(ft[t]=e)&&be&&(be[t]=e)||ft},_e=function(){return 0},en={suppressEvents:!0,isStart:!0,kill:!1},ve={suppressEvents:!0,kill:!1},rn={suppressEvents:!0},_i={},kt=[],Ge={},rr,st={},Fe={},Ci=30,Te=[],ci="",di=function(t){var e=t[0],i,r;if(vt(e)||W(e)||(t=[t]),!(i=(e._gsap||{}).harness)){for(r=Te.length;r--&&!Te[r].targetTest(e););i=Te[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Or(t[r],i)))||t.splice(r,1);return t},It=function(t){return t._gsap||di(dt(t))[0]._gsap},nr=function(t,e,i){return(i=t[e])&&W(i)?t[e]():ui(i)&&t.getAttribute&&t.getAttribute(e)||i},et=function(t,e){return(t=t.split(",")).forEach(e)||t},Y=function(t){return Math.round(t*1e5)/1e5||0},q=function(t){return Math.round(t*1e7)/1e7||0},Ht=function(t,e){var i=e.charAt(0),r=parseFloat(e.substr(2));return t=parseFloat(t),i==="+"?t+r:i==="-"?t-r:i==="*"?t*r:t/r},nn=function(t,e){for(var i=e.length,r=0;t.indexOf(e[r])<0&&++r<i;);return r<i},Se=function(){var t=kt.length,e=kt.slice(0),i,r;for(Ge={},kt.length=0,i=0;i<t;i++)r=e[i],r&&r._lazy&&(r.render(r._lazy[0],r._lazy[1],!0)._lazy=0)},pi=function(t){return!!(t._initted||t._startAt||t.add)},sr=function(t,e,i,r){kt.length&&!H&&Se(),t.render(e,i,!!(H&&e<0&&pi(t))),kt.length&&!H&&Se()},ar=function(t){var e=parseFloat(t);return(e||e===0)&&(t+"").match(Ji).length<2?e:j(t)?t.trim():t},or=function(t){return t},ht=function(t,e){for(var i in e)i in t||(t[i]=e[i]);return t},sn=function(t){return function(e,i){for(var r in i)r in e||r==="duration"&&t||r==="ease"||(e[r]=i[r])}},Jt=function(t,e){for(var i in e)t[i]=e[i];return t},Pi=function o(t,e){for(var i in e)i!=="__proto__"&&i!=="constructor"&&i!=="prototype"&&(t[i]=vt(e[i])?o(t[i]||(t[i]={}),e[i]):e[i]);return t},Ce=function(t,e){var i={},r;for(r in t)r in e||(i[r]=t[r]);return i},ue=function(t){var e=t.parent||B,i=t.keyframes?sn(Q(t.keyframes)):ht;if(tt(t.inherit))for(;e;)i(t,e.vars.defaults),e=e.parent||e._dp;return t},an=function(t,e){for(var i=t.length,r=i===e.length;r&&i--&&t[i]===e[i];);return i<0},ur=function(t,e,i,r,n){var s=t[r],a;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[i],t[i]=e),e._next?e._next._prev=e:t[r]=e,e._prev=s,e.parent=e._dp=t,e},De=function(t,e,i,r){i===void 0&&(i="_first"),r===void 0&&(r="_last");var n=e._prev,s=e._next;n?n._next=s:t[i]===e&&(t[i]=s),s?s._prev=n:t[r]===e&&(t[r]=n),e._next=e._prev=e.parent=null},At=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},Bt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var i=t;i;)i._dirty=1,i=i.parent;return t},on=function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t},$e=function(t,e,i,r){return t._startAt&&(H?t._startAt.revert(ve):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,r))},un=function o(t){return!t||t._ts&&o(t.parent)},Oi=function(t){return t._repeat?te(t._tTime,t=t.duration()+t._rDelay)*t:0},te=function(t,e){var i=Math.floor(t=q(t/e));return t&&i===t?i-1:i},Pe=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},Ee=function(t){return t._end=q(t._start+(t._tDur/Math.abs(t._ts||t._rts||L)||0))},Re=function(t,e){var i=t._dp;return i&&i.smoothChildTiming&&t._ts&&(t._start=q(i._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),Ee(t),i._dirty||Bt(i,t)),t},fr=function(t,e){var i;if((e._time||!e._dur&&e._initted||e._start<t._time&&(e._dur||!e.add))&&(i=Pe(t.rawTime(),e),(!e._dur||ye(0,e.totalDuration(),i)-e._tTime>L)&&e.render(i,!0)),Bt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur<t.duration())for(i=t;i._dp;)i.rawTime()>=0&&i.totalTime(i._tTime),i=i._dp;t._zTime=-L}},yt=function(t,e,i,r){return e.parent&&At(e),e._start=q((bt(i)?i:i||t!==B?_t(t,i,e):t._time)+e._delay),e._end=q(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),ur(t,e,"_first","_last",t._sort?"_start":0),je(e)||(t._recent=e),r||fr(t,e),t._ts<0&&Re(t,t._tTime),t},hr=function(t,e){return(ft.ScrollTrigger||li("scrollTrigger",e))&&ft.ScrollTrigger.create(e,t)},lr=function(t,e,i,r,n){if(gi(t,e,n),!t._initted)return 1;if(!i&&t._pt&&!H&&(t._dur&&t.vars.lazy!==!1||!t._dur&&t.vars.lazy)&&rr!==at.frame)return kt.push(t),t._lazy=[n,r],1},fn=function o(t){var e=t.parent;return e&&e._ts&&e._initted&&!e._lock&&(e.rawTime()<0||o(e))},je=function(t){var e=t.data;return e==="isFromStart"||e==="isStart"},hn=function(t,e,i,r){var n=t.ratio,s=e<0||!e&&(!t._start&&fn(t)&&!(!t._initted&&je(t))||(t._ts<0||t._dp._ts<0)&&!je(t))?0:1,a=t._rDelay,u=0,f,h,_;if(a&&t._repeat&&(u=ye(0,t._tDur,e),h=te(u,a),t._yoyo&&h&1&&(s=1-s),h!==te(t._tTime,a)&&(n=1-s,t.vars.repeatRefresh&&t._initted&&t.invalidate())),s!==n||H||r||t._zTime===L||!e&&t._zTime){if(!t._initted&&lr(t,e,r,i,u))return;for(_=t._zTime,t._zTime=e||(i?L:0),i||(i=e&&!_),t.ratio=s,t._from&&(s=1-s),t._time=0,t._tTime=u,f=t._pt;f;)f.r(s,f.d),f=f._next;e<0&&$e(t,e,i,!0),t._onUpdate&&!i&&ot(t,"onUpdate"),u&&t._repeat&&!i&&t.parent&&ot(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===s&&(s&&At(t,1),!i&&!H&&(ot(t,s?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)},ln=function(t,e,i){var r;if(i>e)for(r=t._first;r&&r._start<=i;){if(r.data==="isPause"&&r._start>e)return r;r=r._next}else for(r=t._last;r&&r._start>=i;){if(r.data==="isPause"&&r._start<e)return r;r=r._prev}},ee=function(t,e,i,r){var n=t._repeat,s=q(e)||0,a=t._tTime/t._tDur;return a&&!r&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:q(s*(n+1)+t._rDelay*n):s,a>0&&!r&&Re(t,t._tTime=t._tDur*a),t.parent&&Ee(t),i||Bt(t.parent,t),t},ki=function(t){return t instanceof J?Bt(t):ee(t,t._dur)},_n={_start:0,endTime:_e,totalDuration:_e},_t=function o(t,e,i){var r=t.labels,n=t._recent||_n,s=t.duration()>=ct?n.endTime(!1):t._dur,a,u,f;return j(e)&&(isNaN(e)||e in r)?(u=e.charAt(0),f=e.substr(-1)==="%",a=e.indexOf("="),u==="<"||u===">"?(a>=0&&(e=e.replace(/=/,"")),(u==="<"?n._start:n.endTime(n._repeat>=0))+(parseFloat(e.substr(1))||0)*(f?(a<0?n:i).totalDuration()/100:1)):a<0?(e in r||(r[e]=s),r[e]):(u=parseFloat(e.charAt(a-1)+e.substr(a+1)),f&&i&&(u=u/100*(Q(i)?i[0]:i).totalDuration()),a>1?o(t,e.substr(0,a-1),i)+u:s+u)):e==null?s:+e},fe=function(t,e,i){var r=bt(e[1]),n=(r?2:1)+(t<2?0:1),s=e[n],a,u;if(r&&(s.duration=e[1]),s.parent=i,t){for(a=s,u=i;u&&!("immediateRender"in a);)a=u.vars.defaults||{},u=tt(u.vars.inherit)&&u.parent;s.immediateRender=tt(a.immediateRender),t<2?s.runBackwards=1:s.startAt=e[n-1]}return new X(e[0],s,e[n+1])},Et=function(t,e){return t||t===0?e(t):e},ye=function(t,e,i){return i<t?t:i>e?e:i},K=function(t,e){return!j(t)||!(e=tn.exec(t))?"":e[1]},cn=function(t,e,i){return Et(i,function(r){return ye(t,e,r)})},He=[].slice,_r=function(t,e){return t&&vt(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&vt(t[0]))&&!t.nodeType&&t!==gt},dn=function(t,e,i){return i===void 0&&(i=[]),t.forEach(function(r){var n;return j(r)&&!e||_r(r,1)?(n=i).push.apply(n,dt(r)):i.push(r)})||i},dt=function(t,e,i){return I&&!e&&I.selector?I.selector(t):j(t)&&!i&&(qe||!ie())?He.call((e||hi).querySelectorAll(t),0):Q(t)?dn(t,i):_r(t)?He.call(t,0):t?[t]:[]},Ke=function(t){return t=dt(t)[0]||le("Invalid scope")||{},function(e){var i=t.current||t.nativeElement||t;return dt(e,i.querySelectorAll?i:i===t?le("Invalid scope")||hi.createElement("div"):t)}},cr=function(t){return t.sort(function(){return .5-Math.random()})},dr=function(t){if(W(t))return t;var e=vt(t)?t:{each:t},i=Vt(e.ease),r=e.from||0,n=parseFloat(e.base)||0,s={},a=r>0&&r<1,u=isNaN(r)||a,f=e.axis,h=r,_=r;return j(r)?h=_={center:.5,edges:.5,end:1}[r]||0:!a&&u&&(h=r[0],_=r[1]),function(c,d,p){var l=(p||e).length,m=s[l],y,T,b,w,g,S,C,v,x;if(!m){if(x=e.grid==="auto"?0:(e.grid||[1,ct])[1],!x){for(C=-ct;C<(C=p[x++].getBoundingClientRect().left)&&x<l;);x<l&&x--}for(m=s[l]=[],y=u?Math.min(x,l)*h-.5:r%x,T=x===ct?0:u?l*_/x-.5:r/x|0,C=0,v=ct,S=0;S<l;S++)b=S%x-y,w=T-(S/x|0),m[S]=g=f?Math.abs(f==="y"?w:b):Hi(b*b+w*w),g>C&&(C=g),g<v&&(v=g);r==="random"&&cr(m),m.max=C-v,m.min=v,m.v=l=(parseFloat(e.amount)||parseFloat(e.each)*(x>l?l-1:f?f==="y"?l/x:x:Math.max(x,l/x))||0)*(r==="edges"?-1:1),m.b=l<0?n-l:n,m.u=K(e.amount||e.each)||0,i=i&&l<0?Sr(i):i}return l=(m[c]-m.min)/m.max||0,q(m.b+(i?i(l):l)*m.v)+m.u}},Qe=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(i){var r=q(Math.round(parseFloat(i)/t)*t*e);return(r-r%1)/e+(bt(i)?0:K(i))}},pr=function(t,e){var i=Q(t),r,n;return!i&&vt(t)&&(r=i=t.radius||ct,t.values?(t=dt(t.values),(n=!bt(t[0]))&&(r*=r)):t=Qe(t.increment)),Et(e,i?W(t)?function(s){return n=t(s),Math.abs(n-s)<=r?n:s}:function(s){for(var a=parseFloat(n?s.x:s),u=parseFloat(n?s.y:0),f=ct,h=0,_=t.length,c,d;_--;)n?(c=t[_].x-a,d=t[_].y-u,c=c*c+d*d):c=Math.abs(t[_]-a),c<f&&(f=c,h=_);return h=!r||f<=r?t[h]:s,n||h===s||bt(s)?h:h+K(s)}:Qe(t))},mr=function(t,e,i,r){return Et(Q(t)?!e:i===!0?!!(i=0):!r,function(){return Q(t)?t[~~(Math.random()*t.length)]:(i=i||1e-5)&&(r=i<1?Math.pow(10,(i+"").length-2):1)&&Math.floor(Math.round((t-i/2+Math.random()*(e-t+i*.99))/i)*i*r)/r})},pn=function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return function(r){return e.reduce(function(n,s){return s(n)},r)}},mn=function(t,e){return function(i){return t(parseFloat(i))+(e||K(i))}},gn=function(t,e,i){return yr(t,e,0,1,i)},gr=function(t,e,i){return Et(i,function(r){return t[~~e(r)]})},yn=function o(t,e,i){var r=e-t;return Q(t)?gr(t,o(0,t.length),e):Et(i,function(n){return(r+(n-t)%r)%r+t})},xn=function o(t,e,i){var r=e-t,n=r*2;return Q(t)?gr(t,o(0,t.length-1),e):Et(i,function(s){return s=(n+(s-t)%n)%n||0,t+(s>r?n-s:s)})},ce=function(t){for(var e=0,i="",r,n,s,a;~(r=t.indexOf("random(",e));)s=t.indexOf(")",r),a=t.charAt(r+7)==="[",n=t.substr(r+7,s-r-7).match(a?Ji:Xe),i+=t.substr(e,r-e)+mr(a?n:+n[0],a?0:+n[1],+n[2]||1e-5),e=s+1;return i+t.substr(e,t.length-e)},yr=function(t,e,i,r,n){var s=e-t,a=r-i;return Et(n,function(u){return i+((u-t)/s*a||0)})},vn=function o(t,e,i,r){var n=isNaN(t+e)?0:function(d){return(1-d)*t+d*e};if(!n){var s=j(t),a={},u,f,h,_,c;if(i===!0&&(r=1)&&(i=null),s)t={p:t},e={p:e};else if(Q(t)&&!Q(e)){for(h=[],_=t.length,c=_-2,f=1;f<_;f++)h.push(o(t[f-1],t[f]));_--,n=function(p){p*=_;var l=Math.min(c,~~p);return h[l](p-l)},i=e}else r||(t=Jt(Q(t)?[]:{},t));if(!h){for(u in e)mi.call(a,t,u,"get",e[u]);n=function(p){return vi(p,a)||(s?t.p:t)}}}return Et(i,n)},Mi=function(t,e,i){var r=t.labels,n=ct,s,a,u;for(s in r)a=r[s]-e,a<0==!!i&&a&&n>(a=Math.abs(a))&&(u=s,n=a);return u},ot=function(t,e,i){var r=t.vars,n=r[e],s=I,a=t._ctx,u,f,h;if(n)return u=r[e+"Params"],f=r.callbackScope||t,i&&kt.length&&Se(),a&&(I=a),h=u?n.apply(f,u):n.call(f),I=s,h},ae=function(t){return At(t),t.scrollTrigger&&t.scrollTrigger.kill(!!H),t.progress()<1&&ot(t,"onInterrupt"),t},jt,xr=[],vr=function(t){if(t)if(t=!t.name&&t.default||t,fi()||t.headless){var e=t.name,i=W(t),r=e&&!i&&t.init?function(){this._props=[]}:t,n={init:_e,render:vi,add:mi,kill:Nn,modifier:Fn,rawVars:0},s={targetTest:0,get:0,getSetter:xi,aliases:{},register:0};if(ie(),t!==r){if(st[e])return;ht(r,ht(Ce(t,n),s)),Jt(r.prototype,Jt(n,Ce(t,s))),st[r.prop=e]=r,t.targetTest&&(Te.push(r),_i[e]=1),e=(e==="css"?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ir(e,r),t.register&&t.register(nt,r,it)}else xr.push(t)},N=255,oe={aqua:[0,N,N],lime:[0,N,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,N],navy:[0,0,128],white:[N,N,N],olive:[128,128,0],yellow:[N,N,0],orange:[N,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[N,0,0],pink:[N,192,203],cyan:[0,N,N],transparent:[N,N,N,0]},Ne=function(t,e,i){return t+=t<0?1:t>1?-1:0,(t*6<1?e+(i-e)*t*6:t<.5?i:t*3<2?e+(i-e)*(2/3-t)*6:e)*N+.5|0},Tr=function(t,e,i){var r=t?bt(t)?[t>>16,t>>8&N,t&N]:0:oe.black,n,s,a,u,f,h,_,c,d,p;if(!r){if(t.substr(-1)===","&&(t=t.substr(0,t.length-1)),oe[t])r=oe[t];else if(t.charAt(0)==="#"){if(t.length<6&&(n=t.charAt(1),s=t.charAt(2),a=t.charAt(3),t="#"+n+n+s+s+a+a+(t.length===5?t.charAt(4)+t.charAt(4):"")),t.length===9)return r=parseInt(t.substr(1,6),16),[r>>16,r>>8&N,r&N,parseInt(t.substr(7),16)/255];t=parseInt(t.substr(1),16),r=[t>>16,t>>8&N,t&N]}else if(t.substr(0,3)==="hsl"){if(r=p=t.match(Xe),!e)u=+r[0]%360/360,f=+r[1]/100,h=+r[2]/100,s=h<=.5?h*(f+1):h+f-h*f,n=h*2-s,r.length>3&&(r[3]*=1),r[0]=Ne(u+1/3,n,s),r[1]=Ne(u,n,s),r[2]=Ne(u-1/3,n,s);else if(~t.indexOf("="))return r=t.match(Qi),i&&r.length<4&&(r[3]=1),r}else r=t.match(Xe)||oe.transparent;r=r.map(Number)}return e&&!p&&(n=r[0]/N,s=r[1]/N,a=r[2]/N,_=Math.max(n,s,a),c=Math.min(n,s,a),h=(_+c)/2,_===c?u=f=0:(d=_-c,f=h>.5?d/(2-_-c):d/(_+c),u=_===n?(s-a)/d+(s<a?6:0):_===s?(a-n)/d+2:(n-s)/d+4,u*=60),r[0]=~~(u+.5),r[1]=~~(f*100+.5),r[2]=~~(h*100+.5)),i&&r.length<4&&(r[3]=1),r},wr=function(t){var e=[],i=[],r=-1;return t.split(Mt).forEach(function(n){var s=n.match($t)||[];e.push.apply(e,s),i.push(r+=s.length+1)}),e.c=i,e},Ai=function(t,e,i){var r="",n=(t+r).match(Mt),s=e?"hsla(":"rgba(",a=0,u,f,h,_;if(!n)return t;if(n=n.map(function(c){return(c=Tr(c,e,1))&&s+(e?c[0]+","+c[1]+"%,"+c[2]+"%,"+c[3]:c.join(","))+")"}),i&&(h=wr(t),u=i.c,u.join(r)!==h.c.join(r)))for(f=t.replace(Mt,"1").split($t),_=f.length-1;a<_;a++)r+=f[a]+(~u.indexOf(a)?n.shift()||s+"0,0,0,0)":(h.length?h:n.length?n:i).shift());if(!f)for(f=t.split(Mt),_=f.length-1;a<_;a++)r+=f[a]+n[a];return r+f[_]},Mt=(function(){var o="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",t;for(t in oe)o+="|"+t+"\\b";return new RegExp(o+")","gi")})(),Tn=/hsl[a]?\(/,br=function(t){var e=t.join(" "),i;if(Mt.lastIndex=0,Mt.test(e))return i=Tn.test(e),t[1]=Ai(t[1],i),t[0]=Ai(t[0],i,wr(t[1])),!0},de,at=(function(){var o=Date.now,t=500,e=33,i=o(),r=i,n=1e3/240,s=n,a=[],u,f,h,_,c,d,p=function l(m){var y=o()-r,T=m===!0,b,w,g,S;if((y>t||y<0)&&(i+=y-e),r+=y,g=r-i,b=g-s,(b>0||T)&&(S=++_.frame,c=g-_.time*1e3,_.time=g=g/1e3,s+=b+(b>=n?4:n-b),w=1),T||(u=f(l)),w)for(d=0;d<a.length;d++)a[d](g,c,S,m)};return _={time:0,frame:0,tick:function(){p(!0)},deltaRatio:function(m){return c/(1e3/(m||60))},wake:function(){tr&&(!qe&&fi()&&(gt=qe=window,hi=gt.document||{},ft.gsap=nt,(gt.gsapVersions||(gt.gsapVersions=[])).push(nt.version),er(be||gt.GreenSockGlobals||!gt.gsap&>||{}),xr.forEach(vr)),h=typeof requestAnimationFrame<"u"&&requestAnimationFrame,u&&_.sleep(),f=h||function(m){return setTimeout(m,s-_.time*1e3+1|0)},de=1,p(2))},sleep:function(){(h?cancelAnimationFrame:clearTimeout)(u),de=0,f=_e},lagSmoothing:function(m,y){t=m||1/0,e=Math.min(y||33,t)},fps:function(m){n=1e3/(m||240),s=_.time*1e3+n},add:function(m,y,T){var b=y?function(w,g,S,C){m(w,g,S,C),_.remove(b)}:m;return _.remove(m),a[T?"unshift":"push"](b),ie(),b},remove:function(m,y){~(y=a.indexOf(m))&&a.splice(y,1)&&d>=y&&d--},_listeners:a},_})(),ie=function(){return!de&&at.wake()},M={},wn=/^[\d.\-M][\d.\-,\s]/,bn=/["']/g,Sn=function(t){for(var e={},i=t.substr(1,t.length-3).split(":"),r=i[0],n=1,s=i.length,a,u,f;n<s;n++)u=i[n],a=n!==s-1?u.lastIndexOf(","):u.length,f=u.substr(0,a),e[r]=isNaN(f)?f.replace(bn,"").trim():+f,r=u.substr(a+1).trim();return e},Cn=function(t){var e=t.indexOf("(")+1,i=t.indexOf(")"),r=t.indexOf("(",e);return t.substring(e,~r&&r<i?t.indexOf(")",i+1):i)},Pn=function(t){var e=(t+"").split("("),i=M[e[0]];return i&&e.length>1&&i.config?i.config.apply(null,~t.indexOf("{")?[Sn(e[1])]:Cn(t).split(",").map(ar)):M._CE&&wn.test(t)?M._CE("",t):i},Sr=function(t){return function(e){return 1-t(1-e)}},Cr=function o(t,e){for(var i=t._first,r;i;)i instanceof J?o(i,e):i.vars.yoyoEase&&(!i._yoyo||!i._repeat)&&i._yoyo!==e&&(i.timeline?o(i.timeline,e):(r=i._ease,i._ease=i._yEase,i._yEase=r,i._yoyo=e)),i=i._next},Vt=function(t,e){return t&&(W(t)?t:M[t]||Pn(t))||e},Yt=function(t,e,i,r){i===void 0&&(i=function(u){return 1-e(1-u)}),r===void 0&&(r=function(u){return u<.5?e(u*2)/2:1-e((1-u)*2)/2});var n={easeIn:e,easeOut:i,easeInOut:r},s;return et(t,function(a){M[a]=ft[a]=n,M[s=a.toLowerCase()]=i;for(var u in n)M[s+(u==="easeIn"?".in":u==="easeOut"?".out":".inOut")]=M[a+"."+u]=n[u]}),n},Pr=function(t){return function(e){return e<.5?(1-t(1-e*2))/2:.5+t((e-.5)*2)/2}},Le=function o(t,e,i){var r=e>=1?e:1,n=(i||(t?.3:.45))/(e<1?e:1),s=n/Ye*(Math.asin(1/r)||0),a=function(h){return h===1?1:r*Math.pow(2,-10*h)*Jr((h-s)*n)+1},u=t==="out"?a:t==="in"?function(f){return 1-a(1-f)}:Pr(a);return n=Ye/n,u.config=function(f,h){return o(t,f,h)},u},Ie=function o(t,e){e===void 0&&(e=1.70158);var i=function(s){return s?--s*s*((e+1)*s+e)+1:0},r=t==="out"?i:t==="in"?function(n){return 1-i(1-n)}:Pr(i);return r.config=function(n){return o(t,n)},r};et("Linear,Quad,Cubic,Quart,Quint,Strong",function(o,t){var e=t<5?t+1:t;Yt(o+",Power"+(e-1),t?function(i){return Math.pow(i,e)}:function(i){return i},function(i){return 1-Math.pow(1-i,e)},function(i){return i<.5?Math.pow(i*2,e)/2:1-Math.pow((1-i)*2,e)/2})});M.Linear.easeNone=M.none=M.Linear.easeIn;Yt("Elastic",Le("in"),Le("out"),Le());(function(o,t){var e=1/t,i=2*e,r=2.5*e,n=function(a){return a<e?o*a*a:a<i?o*Math.pow(a-1.5/t,2)+.75:a<r?o*(a-=2.25/t)*a+.9375:o*Math.pow(a-2.625/t,2)+.984375};Yt("Bounce",function(s){return 1-n(1-s)},n)})(7.5625,2.75);Yt("Expo",function(o){return Math.pow(2,10*(o-1))*o+o*o*o*o*o*o*(1-o)});Yt("Circ",function(o){return-(Hi(1-o*o)-1)});Yt("Sine",function(o){return o===1?1:-Zr(o*Kr)+1});Yt("Back",Ie("in"),Ie("out"),Ie());M.SteppedEase=M.steps=ft.SteppedEase={config:function(t,e){t===void 0&&(t=1);var i=1/t,r=t+(e?0:1),n=e?1:0,s=1-L;return function(a){return((r*ye(0,s,a)|0)+n)*i}}};Zt.ease=M["quad.out"];et("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(o){return ci+=o+","+o+"Params,"});var Or=function(t,e){this.id=Qr++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:nr,this.set=e?e.getSetter:xi},pe=(function(){function o(e){this.vars=e,this._delay=+e.delay||0,(this._repeat=e.repeat===1/0?-2:e.repeat||0)&&(this._rDelay=e.repeatDelay||0,this._yoyo=!!e.yoyo||!!e.yoyoEase),this._ts=1,ee(this,+e.duration,1,1),this.data=e.data,I&&(this._ctx=I,I.data.push(this)),de||at.wake()}var t=o.prototype;return t.delay=function(i){return i||i===0?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+i-this._delay),this._delay=i,this):this._delay},t.duration=function(i){return arguments.length?this.totalDuration(this._repeat>0?i+(i+this._rDelay)*this._repeat:i):this.totalDuration()&&this._dur},t.totalDuration=function(i){return arguments.length?(this._dirty=0,ee(this,this._repeat<0?i:(i-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},t.totalTime=function(i,r){if(ie(),!arguments.length)return this._tTime;var n=this._dp;if(n&&n.smoothChildTiming&&this._ts){for(Re(this,i),!n._dp||n.parent||fr(n,this);n&&n.parent;)n.parent._time!==n._start+(n._ts>=0?n._tTime/n._ts:(n.totalDuration()-n._tTime)/-n._ts)&&n.totalTime(n._tTime,!0),n=n.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&i<this._tDur||this._ts<0&&i>0||!this._tDur&&!i)&&yt(this._dp,this,this._start-this._delay)}return(this._tTime!==i||!this._dur&&!r||this._initted&&Math.abs(this._zTime)===L||!i&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=i),sr(this,i,r)),this},t.time=function(i,r){return arguments.length?this.totalTime(Math.min(this.totalDuration(),i+Oi(this))%(this._dur+this._rDelay)||(i?this._dur:0),r):this._time},t.totalProgress=function(i,r){return arguments.length?this.totalTime(this.totalDuration()*i,r):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>=0&&this._initted?1:0},t.progress=function(i,r){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-i:i)+Oi(this),r):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},t.iteration=function(i,r){var n=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(i-1)*n,r):this._repeat?te(this._tTime,n)+1:1},t.timeScale=function(i,r){if(!arguments.length)return this._rts===-L?0:this._rts;if(this._rts===i)return this;var n=this.parent&&this._ts?Pe(this.parent._time,this):this._tTime;return this._rts=+i||0,this._ts=this._ps||i===-L?0:this._rts,this.totalTime(ye(-Math.abs(this._delay),this.totalDuration(),n),r!==!1),Ee(this),on(this)},t.paused=function(i){return arguments.length?(this._ps!==i&&(this._ps=i,i?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(ie(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==L&&(this._tTime-=L)))),this):this._ps},t.startTime=function(i){if(arguments.length){this._start=i;var r=this.parent||this._dp;return r&&(r._sort||!this.parent)&&yt(r,this,i-this._delay),this}return this._start},t.endTime=function(i){return this._start+(tt(i)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},t.rawTime=function(i){var r=this.parent||this._dp;return r?i&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Pe(r.rawTime(i),this):this._tTime:this._tTime},t.revert=function(i){i===void 0&&(i=rn);var r=H;return H=i,pi(this)&&(this.timeline&&this.timeline.revert(i),this.totalTime(-.01,i.suppressEvents)),this.data!=="nested"&&i.kill!==!1&&this.kill(),H=r,this},t.globalTime=function(i){for(var r=this,n=arguments.length?i:r.rawTime();r;)n=r._start+n/(Math.abs(r._ts)||1),r=r._dp;return!this.parent&&this._sat?this._sat.globalTime(i):n},t.repeat=function(i){return arguments.length?(this._repeat=i===1/0?-2:i,ki(this)):this._repeat===-2?1/0:this._repeat},t.repeatDelay=function(i){if(arguments.length){var r=this._time;return this._rDelay=i,ki(this),r?this.time(r):this}return this._rDelay},t.yoyo=function(i){return arguments.length?(this._yoyo=i,this):this._yoyo},t.seek=function(i,r){return this.totalTime(_t(this,i),tt(r))},t.restart=function(i,r){return this.play().totalTime(i?-this._delay:0,tt(r)),this._dur||(this._zTime=-L),this},t.play=function(i,r){return i!=null&&this.seek(i,r),this.reversed(!1).paused(!1)},t.reverse=function(i,r){return i!=null&&this.seek(i||this.totalDuration(),r),this.reversed(!0).paused(!1)},t.pause=function(i,r){return i!=null&&this.seek(i,r),this.paused(!0)},t.resume=function(){return this.paused(!1)},t.reversed=function(i){return arguments.length?(!!i!==this.reversed()&&this.timeScale(-this._rts||(i?-L:0)),this):this._rts<0},t.invalidate=function(){return this._initted=this._act=0,this._zTime=-L,this},t.isActive=function(){var i=this.parent||this._dp,r=this._start,n;return!!(!i||this._ts&&this._initted&&i.isActive()&&(n=i.rawTime(!0))>=r&&n<this.endTime(!0)-L)},t.eventCallback=function(i,r,n){var s=this.vars;return arguments.length>1?(r?(s[i]=r,n&&(s[i+"Params"]=n),i==="onUpdate"&&(this._onUpdate=r)):delete s[i],this):s[i]},t.then=function(i){var r=this;return new Promise(function(n){var s=W(i)?i:or,a=function(){var f=r.then;r.then=null,W(s)&&(s=s(r))&&(s.then||s===r)&&(r.then=f),n(s),r.then=f};r._initted&&r.totalProgress()===1&&r._ts>=0||!r._tTime&&r._ts<0?a():r._prom=a})},t.kill=function(){ae(this)},o})();ht(pe.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:-L,_prom:0,_ps:!1,_rts:1});var J=(function(o){ji(t,o);function t(i,r){var n;return i===void 0&&(i={}),n=o.call(this,i)||this,n.labels={},n.smoothChildTiming=!!i.smoothChildTiming,n.autoRemoveChildren=!!i.autoRemoveChildren,n._sort=tt(i.sortChildren),B&&yt(i.parent||B,Tt(n),r),i.reversed&&n.reverse(),i.paused&&n.paused(!0),i.scrollTrigger&&hr(Tt(n),i.scrollTrigger),n}var e=t.prototype;return e.to=function(r,n,s){return fe(0,arguments,this),this},e.from=function(r,n,s){return fe(1,arguments,this),this},e.fromTo=function(r,n,s,a){return fe(2,arguments,this),this},e.set=function(r,n,s){return n.duration=0,n.parent=this,ue(n).repeatDelay||(n.repeat=0),n.immediateRender=!!n.immediateRender,new X(r,n,_t(this,s),1),this},e.call=function(r,n,s){return yt(this,X.delayedCall(0,r,n),s)},e.staggerTo=function(r,n,s,a,u,f,h){return s.duration=n,s.stagger=s.stagger||a,s.onComplete=f,s.onCompleteParams=h,s.parent=this,new X(r,s,_t(this,u)),this},e.staggerFrom=function(r,n,s,a,u,f,h){return s.runBackwards=1,ue(s).immediateRender=tt(s.immediateRender),this.staggerTo(r,n,s,a,u,f,h)},e.staggerFromTo=function(r,n,s,a,u,f,h,_){return a.startAt=s,ue(a).immediateRender=tt(a.immediateRender),this.staggerTo(r,n,a,u,f,h,_)},e.render=function(r,n,s){var a=this._time,u=this._dirty?this.totalDuration():this._tDur,f=this._dur,h=r<=0?0:q(r),_=this._zTime<0!=r<0&&(this._initted||!f),c,d,p,l,m,y,T,b,w,g,S,C;if(this!==B&&h>u&&r>=0&&(h=u),h!==this._tTime||s||_){if(a!==this._time&&f&&(h+=this._time-a,r+=this._time-a),c=h,w=this._start,b=this._ts,y=!b,_&&(f||(a=this._zTime),(r||!n)&&(this._zTime=r)),this._repeat){if(S=this._yoyo,m=f+this._rDelay,this._repeat<-1&&r<0)return this.totalTime(m*100+r,n,s);if(c=q(h%m),h===u?(l=this._repeat,c=f):(g=q(h/m),l=~~g,l&&l===g&&(c=f,l--),c>f&&(c=f)),g=te(this._tTime,m),!a&&this._tTime&&g!==l&&this._tTime-g*m-this._dur<=0&&(g=l),S&&l&1&&(c=f-c,C=1),l!==g&&!this._lock){var v=S&&g&1,x=v===(S&&l&1);if(l<g&&(v=!v),a=v?0:h%f?f:h,this._lock=1,this.render(a||(C?0:q(l*m)),n,!f)._lock=0,this._tTime=h,!n&&this.parent&&ot(this,"onRepeat"),this.vars.repeatRefresh&&!C&&(this.invalidate()._lock=1),a&&a!==this._time||y!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act)return this;if(f=this._dur,u=this._tDur,x&&(this._lock=2,a=v?f:-1e-4,this.render(a,!0),this.vars.repeatRefresh&&!C&&this.invalidate()),this._lock=0,!this._ts&&!y)return this;Cr(this,C)}}if(this._hasPause&&!this._forcing&&this._lock<2&&(T=ln(this,q(a),q(c)),T&&(h-=c-(c=T._start))),this._tTime=h,this._time=c,this._act=!b,this._initted||(this._onUpdate=this.vars.onUpdate,this._initted=1,this._zTime=r,a=0),!a&&h&&!n&&!g&&(ot(this,"onStart"),this._tTime!==h))return this;if(c>=a&&r>=0)for(d=this._first;d;){if(p=d._next,(d._act||c>=d._start)&&d._ts&&T!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(c-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(c-d._start)*d._ts,n,s),c!==this._time||!this._ts&&!y){T=0,p&&(h+=this._zTime=-L);break}}d=p}else{d=this._last;for(var k=r<0?r:c;d;){if(p=d._prev,(d._act||k<=d._end)&&d._ts&&T!==d){if(d.parent!==this)return this.render(r,n,s);if(d.render(d._ts>0?(k-d._start)*d._ts:(d._dirty?d.totalDuration():d._tDur)+(k-d._start)*d._ts,n,s||H&&pi(d)),c!==this._time||!this._ts&&!y){T=0,p&&(h+=this._zTime=k?-L:L);break}}d=p}}if(T&&!n&&(this.pause(),T.render(c>=a?0:-L)._zTime=c>=a?1:-1,this._ts))return this._start=w,Ee(this),this.render(r,n,s);this._onUpdate&&!n&&ot(this,"onUpdate",!0),(h===u&&this._tTime>=this.totalDuration()||!h&&a)&&(w===this._start||Math.abs(b)!==Math.abs(this._ts))&&(this._lock||((r||!f)&&(h===u&&this._ts>0||!h&&this._ts<0)&&At(this,1),!n&&!(r<0&&!a)&&(h||a||!u)&&(ot(this,h===u&&r>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(h<u&&this.timeScale()>0)&&this._prom())))}return this},e.add=function(r,n){var s=this;if(bt(n)||(n=_t(this,n,r)),!(r instanceof pe)){if(Q(r))return r.forEach(function(a){return s.add(a,n)}),this;if(j(r))return this.addLabel(r,n);if(W(r))r=X.delayedCall(0,r);else return this}return this!==r?yt(this,r,n):this},e.getChildren=function(r,n,s,a){r===void 0&&(r=!0),n===void 0&&(n=!0),s===void 0&&(s=!0),a===void 0&&(a=-ct);for(var u=[],f=this._first;f;)f._start>=a&&(f instanceof X?n&&u.push(f):(s&&u.push(f),r&&u.push.apply(u,f.getChildren(!0,n,s)))),f=f._next;return u},e.getById=function(r){for(var n=this.getChildren(1,1,1),s=n.length;s--;)if(n[s].vars.id===r)return n[s]},e.remove=function(r){return j(r)?this.removeLabel(r):W(r)?this.killTweensOf(r):(r.parent===this&&De(this,r),r===this._recent&&(this._recent=this._last),Bt(this))},e.totalTime=function(r,n){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=q(at.time-(this._ts>0?r/this._ts:(this.totalDuration()-r)/-this._ts))),o.prototype.totalTime.call(this,r,n),this._forcing=0,this):this._tTime},e.addLabel=function(r,n){return this.labels[r]=_t(this,n),this},e.removeLabel=function(r){return delete this.labels[r],this},e.addPause=function(r,n,s){var a=X.delayedCall(0,n||_e,s);return a.data="isPause",this._hasPause=1,yt(this,a,_t(this,r))},e.removePause=function(r){var n=this._first;for(r=_t(this,r);n;)n._start===r&&n.data==="isPause"&&At(n),n=n._next},e.killTweensOf=function(r,n,s){for(var a=this.getTweensOf(r,s),u=a.length;u--;)Ct!==a[u]&&a[u].kill(r,n);return this},e.getTweensOf=function(r,n){for(var s=[],a=dt(r),u=this._first,f=bt(n),h;u;)u instanceof X?nn(u._targets,a)&&(f?(!Ct||u._initted&&u._ts)&&u.globalTime(0)<=n&&u.globalTime(u.totalDuration())>n:!n||u.isActive())&&s.push(u):(h=u.getTweensOf(a,n)).length&&s.push.apply(s,h),u=u._next;return s},e.tweenTo=function(r,n){n=n||{};var s=this,a=_t(s,r),u=n,f=u.startAt,h=u.onStart,_=u.onStartParams,c=u.immediateRender,d,p=X.to(s,ht({ease:n.ease||"none",lazy:!1,immediateRender:!1,time:a,overwrite:"auto",duration:n.duration||Math.abs((a-(f&&"time"in f?f.time:s._time))/s.timeScale())||L,onStart:function(){if(s.pause(),!d){var m=n.duration||Math.abs((a-(f&&"time"in f?f.time:s._time))/s.timeScale());p._dur!==m&&ee(p,m,0,1).render(p._time,!0,!0),d=1}h&&h.apply(p,_||[])}},n));return c?p.render(0):p},e.tweenFromTo=function(r,n,s){return this.tweenTo(n,ht({startAt:{time:_t(this,r)}},s))},e.recent=function(){return this._recent},e.nextLabel=function(r){return r===void 0&&(r=this._time),Mi(this,_t(this,r))},e.previousLabel=function(r){return r===void 0&&(r=this._time),Mi(this,_t(this,r),1)},e.currentLabel=function(r){return arguments.length?this.seek(r,!0):this.previousLabel(this._time+L)},e.shiftChildren=function(r,n,s){s===void 0&&(s=0);for(var a=this._first,u=this.labels,f;a;)a._start>=s&&(a._start+=r,a._end+=r),a=a._next;if(n)for(f in u)u[f]>=s&&(u[f]+=r);return Bt(this)},e.invalidate=function(r){var n=this._first;for(this._lock=0;n;)n.invalidate(r),n=n._next;return o.prototype.invalidate.call(this,r)},e.clear=function(r){r===void 0&&(r=!0);for(var n=this._first,s;n;)s=n._next,this.remove(n),n=s;return this._dp&&(this._time=this._tTime=this._pTime=0),r&&(this.labels={}),Bt(this)},e.totalDuration=function(r){var n=0,s=this,a=s._last,u=ct,f,h,_;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-r:r));if(s._dirty){for(_=s.parent;a;)f=a._prev,a._dirty&&a.totalDuration(),h=a._start,h>u&&s._sort&&a._ts&&!s._lock?(s._lock=1,yt(s,a,h-a._delay,1)._lock=0):u=h,h<0&&a._ts&&(n-=h,(!_&&!s._dp||_&&_.smoothChildTiming)&&(s._start+=h/s._ts,s._time-=h,s._tTime-=h),s.shiftChildren(-h,!1,-1/0),u=0),a._end>n&&a._ts&&(n=a._end),a=f;ee(s,s===B&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},t.updateRoot=function(r){if(B._ts&&(sr(B,Pe(r,B)),rr=at.frame),at.frame>=Ci){Ci+=ut.autoSleep||120;var n=B._first;if((!n||!n._ts)&&ut.autoSleep&&at._listeners.length<2){for(;n&&!n._ts;)n=n._next;n||at.sleep()}}},t})(pe);ht(J.prototype,{_lock:0,_hasPause:0,_forcing:0});var On=function(t,e,i,r,n,s,a){var u=new it(this._pt,t,e,0,1,Rr,null,n),f=0,h=0,_,c,d,p,l,m,y,T;for(u.b=i,u.e=r,i+="",r+="",(y=~r.indexOf("random("))&&(r=ce(r)),s&&(T=[i,r],s(T,t,e),i=T[0],r=T[1]),c=i.match(ze)||[];_=ze.exec(r);)p=_[0],l=r.substring(f,_.index),d?d=(d+1)%5:l.substr(-5)==="rgba("&&(d=1),p!==c[h++]&&(m=parseFloat(c[h-1])||0,u._pt={_next:u._pt,p:l||h===1?l:",",s:m,c:p.charAt(1)==="="?Ht(m,p)-m:parseFloat(p)-m,m:d&&d<4?Math.round:0},f=ze.lastIndex);return u.c=f<r.length?r.substring(f,r.length):"",u.fp=a,(Zi.test(r)||y)&&(u.e=0),this._pt=u,u},mi=function(t,e,i,r,n,s,a,u,f,h){W(r)&&(r=r(n||0,t,s));var _=t[e],c=i!=="get"?i:W(_)?f?t[e.indexOf("set")||!W(t["get"+e.substr(3)])?e:"get"+e.substr(3)](f):t[e]():_,d=W(_)?f?En:Dr:yi,p;if(j(r)&&(~r.indexOf("random(")&&(r=ce(r)),r.charAt(1)==="="&&(p=Ht(c,r)+(K(c)||0),(p||p===0)&&(r=p))),!h||c!==r||Ze)return!isNaN(c*r)&&r!==""?(p=new it(this._pt,t,e,+c||0,r-(c||0),typeof _=="boolean"?zn:Er,0,d),f&&(p.fp=f),a&&p.modifier(a,this,t),this._pt=p):(!_&&!(e in t)&&li(e,r),On.call(this,t,e,c,r,d,u||ut.stringFilter,f))},kn=function(t,e,i,r,n){if(W(t)&&(t=he(t,n,e,i,r)),!vt(t)||t.style&&t.nodeType||Q(t)||Ki(t))return j(t)?he(t,n,e,i,r):t;var s={},a;for(a in t)s[a]=he(t[a],n,e,i,r);return s},kr=function(t,e,i,r,n,s){var a,u,f,h;if(st[t]&&(a=new st[t]).init(n,a.rawVars?e[t]:kn(e[t],r,n,s,i),i,r,s)!==!1&&(i._pt=u=new it(i._pt,n,t,0,1,a.render,a,0,a.priority),i!==jt))for(f=i._ptLookup[i._targets.indexOf(n)],h=a._props.length;h--;)f[a._props[h]]=u;return a},Ct,Ze,gi=function o(t,e,i){var r=t.vars,n=r.ease,s=r.startAt,a=r.immediateRender,u=r.lazy,f=r.onUpdate,h=r.runBackwards,_=r.yoyoEase,c=r.keyframes,d=r.autoRevert,p=t._dur,l=t._startAt,m=t._targets,y=t.parent,T=y&&y.data==="nested"?y.vars.targets:m,b=t._overwrite==="auto"&&!oi,w=t.timeline,g,S,C,v,x,k,A,P,O,z,E,D,R;if(w&&(!c||!n)&&(n="none"),t._ease=Vt(n,Zt.ease),t._yEase=_?Sr(Vt(_===!0?n:_,Zt.ease)):0,_&&t._yoyo&&!t._repeat&&(_=t._yEase,t._yEase=t._ease,t._ease=_),t._from=!w&&!!r.runBackwards,!w||c&&!r.stagger){if(P=m[0]?It(m[0]).harness:0,D=P&&r[P.prop],g=Ce(r,_i),l&&(l._zTime<0&&l.progress(1),e<0&&h&&a&&!d?l.render(-1,!0):l.revert(h&&p?ve:en),l._lazy=0),s){if(At(t._startAt=X.set(m,ht({data:"isStart",overwrite:!1,parent:y,immediateRender:!0,lazy:!l&&tt(u),startAt:null,delay:0,onUpdate:f&&function(){return ot(t,"onUpdate")},stagger:0},s))),t._startAt._dp=0,t._startAt._sat=t,e<0&&(H||!a&&!d)&&t._startAt.revert(ve),a&&p&&e<=0&&i<=0){e&&(t._zTime=e);return}}else if(h&&p&&!l){if(e&&(a=!1),C=ht({overwrite:!1,data:"isFromStart",lazy:a&&!l&&tt(u),immediateRender:a,stagger:0,parent:y},g),D&&(C[P.prop]=D),At(t._startAt=X.set(m,C)),t._startAt._dp=0,t._startAt._sat=t,e<0&&(H?t._startAt.revert(ve):t._startAt.render(-1,!0)),t._zTime=e,!a)o(t._startAt,L,L);else if(!e)return}for(t._pt=t._ptCache=0,u=p&&tt(u)||u&&!p,S=0;S<m.length;S++){if(x=m[S],A=x._gsap||di(m)[S]._gsap,t._ptLookup[S]=z={},Ge[A.id]&&kt.length&&Se(),E=T===m?S:T.indexOf(x),P&&(O=new P).init(x,D||g,t,E,T)!==!1&&(t._pt=v=new it(t._pt,x,O.name,0,1,O.render,O,0,O.priority),O._props.forEach(function(G){z[G]=v}),O.priority&&(k=1)),!P||D)for(C in g)st[C]&&(O=kr(C,g,t,E,x,T))?O.priority&&(k=1):z[C]=v=mi.call(t,x,C,"get",g[C],E,T,0,r.stringFilter);t._op&&t._op[S]&&t.kill(x,t._op[S]),b&&t._pt&&(Ct=t,B.killTweensOf(x,z,t.globalTime(e)),R=!t.parent,Ct=0),t._pt&&u&&(Ge[A.id]=1)}k&&zr(t),t._onInit&&t._onInit(t)}t._onUpdate=f,t._initted=(!t._op||t._pt)&&!R,c&&e<=0&&w.render(ct,!0,!0)},Mn=function(t,e,i,r,n,s,a,u){var f=(t._pt&&t._ptCache||(t._ptCache={}))[e],h,_,c,d;if(!f)for(f=t._ptCache[e]=[],c=t._ptLookup,d=t._targets.length;d--;){if(h=c[d][e],h&&h.d&&h.d._pt)for(h=h.d._pt;h&&h.p!==e&&h.fp!==e;)h=h._next;if(!h)return Ze=1,t.vars[e]="+=0",gi(t,a),Ze=0,u?le(e+" not eligible for reset"):1;f.push(h)}for(d=f.length;d--;)_=f[d],h=_._pt||_,h.s=(r||r===0)&&!n?r:h.s+(r||0)+s*h.c,h.c=i-h.s,_.e&&(_.e=Y(i)+K(_.e)),_.b&&(_.b=h.s+K(_.b))},An=function(t,e){var i=t[0]?It(t[0]).harness:0,r=i&&i.aliases,n,s,a,u;if(!r)return e;n=Jt({},e);for(s in r)if(s in n)for(u=r[s].split(","),a=u.length;a--;)n[u[a]]=n[s];return n},Dn=function(t,e,i,r){var n=e.ease||r||"power1.inOut",s,a;if(Q(e))a=i[t]||(i[t]=[]),e.forEach(function(u,f){return a.push({t:f/(e.length-1)*100,v:u,e:n})});else for(s in e)a=i[s]||(i[s]=[]),s==="ease"||a.push({t:parseFloat(t),v:e[s],e:n})},he=function(t,e,i,r,n){return W(t)?t.call(e,i,r,n):j(t)&&~t.indexOf("random(")?ce(t):t},Mr=ci+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert",Ar={};et(Mr+",id,stagger,delay,duration,paused,scrollTrigger",function(o){return Ar[o]=1});var X=(function(o){ji(t,o);function t(i,r,n,s){var a;typeof r=="number"&&(n.duration=r,r=n,n=null),a=o.call(this,s?r:ue(r))||this;var u=a.vars,f=u.duration,h=u.delay,_=u.immediateRender,c=u.stagger,d=u.overwrite,p=u.keyframes,l=u.defaults,m=u.scrollTrigger,y=u.yoyoEase,T=r.parent||B,b=(Q(i)||Ki(i)?bt(i[0]):"length"in r)?[i]:dt(i),w,g,S,C,v,x,k,A;if(a._targets=b.length?di(b):le("GSAP target "+i+" not found. https://gsap.com",!ut.nullTargetWarn)||[],a._ptLookup=[],a._overwrite=d,p||c||xe(f)||xe(h)){if(r=a.vars,w=a.timeline=new J({data:"nested",defaults:l||{},targets:T&&T.data==="nested"?T.vars.targets:b}),w.kill(),w.parent=w._dp=Tt(a),w._start=0,c||xe(f)||xe(h)){if(C=b.length,k=c&&dr(c),vt(c))for(v in c)~Mr.indexOf(v)&&(A||(A={}),A[v]=c[v]);for(g=0;g<C;g++)S=Ce(r,Ar),S.stagger=0,y&&(S.yoyoEase=y),A&&Jt(S,A),x=b[g],S.duration=+he(f,Tt(a),g,x,b),S.delay=(+he(h,Tt(a),g,x,b)||0)-a._delay,!c&&C===1&&S.delay&&(a._delay=h=S.delay,a._start+=h,S.delay=0),w.to(x,S,k?k(g,x,b):0),w._ease=M.none;w.duration()?f=h=0:a.timeline=0}else if(p){ue(ht(w.vars.defaults,{ease:"none"})),w._ease=Vt(p.ease||r.ease||"none");var P=0,O,z,E;if(Q(p))p.forEach(function(D){return w.to(b,D,">")}),w.duration();else{S={};for(v in p)v==="ease"||v==="easeEach"||Dn(v,p[v],S,p.easeEach);for(v in S)for(O=S[v].sort(function(D,R){return D.t-R.t}),P=0,g=0;g<O.length;g++)z=O[g],E={ease:z.e,duration:(z.t-(g?O[g-1].t:0))/100*f},E[v]=z.v,w.to(b,E,P),P+=E.duration;w.duration()<f&&w.to({},{duration:f-w.duration()})}}f||a.duration(f=w.duration())}else a.timeline=0;return d===!0&&!oi&&(Ct=Tt(a),B.killTweensOf(b),Ct=0),yt(T,Tt(a),n),r.reversed&&a.reverse(),r.paused&&a.paused(!0),(_||!f&&!p&&a._start===q(T._time)&&tt(_)&&un(Tt(a))&&T.data!=="nested")&&(a._tTime=-L,a.render(Math.max(0,-h)||0)),m&&hr(Tt(a),m),a}var e=t.prototype;return e.render=function(r,n,s){var a=this._time,u=this._tDur,f=this._dur,h=r<0,_=r>u-L&&!h?u:r<L?0:r,c,d,p,l,m,y,T,b,w;if(!f)hn(this,r,n,s);else if(_!==this._tTime||!r||s||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==h||this._lazy){if(c=_,b=this.timeline,this._repeat){if(l=f+this._rDelay,this._repeat<-1&&h)return this.totalTime(l*100+r,n,s);if(c=q(_%l),_===u?(p=this._repeat,c=f):(m=q(_/l),p=~~m,p&&p===m?(c=f,p--):c>f&&(c=f)),y=this._yoyo&&p&1,y&&(w=this._yEase,c=f-c),m=te(this._tTime,l),c===a&&!s&&this._initted&&p===m)return this._tTime=_,this;p!==m&&(b&&this._yEase&&Cr(b,y),this.vars.repeatRefresh&&!y&&!this._lock&&c!==l&&this._initted&&(this._lock=s=1,this.render(q(l*p),!0).invalidate()._lock=0))}if(!this._initted){if(lr(this,h?r:c,s,n,_))return this._tTime=0,this;if(a!==this._time&&!(s&&this.vars.repeatRefresh&&p!==m))return this;if(f!==this._dur)return this.render(r,n,s)}if(this._tTime=_,this._time=c,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=T=(w||this._ease)(c/f),this._from&&(this.ratio=T=1-T),!a&&_&&!n&&!m&&(ot(this,"onStart"),this._tTime!==_))return this;for(d=this._pt;d;)d.r(T,d.d),d=d._next;b&&b.render(r<0?r:b._dur*b._ease(c/this._dur),n,s)||this._startAt&&(this._zTime=r),this._onUpdate&&!n&&(h&&$e(this,r,n,s),ot(this,"onUpdate")),this._repeat&&p!==m&&this.vars.onRepeat&&!n&&this.parent&&ot(this,"onRepeat"),(_===this._tDur||!_)&&this._tTime===_&&(h&&!this._onUpdate&&$e(this,r,!0,!0),(r||!f)&&(_===this._tDur&&this._ts>0||!_&&this._ts<0)&&At(this,1),!n&&!(h&&!a)&&(_||a||y)&&(ot(this,_===u?"onComplete":"onReverseComplete",!0),this._prom&&!(_<u&&this.timeScale()>0)&&this._prom()))}return this},e.targets=function(){return this._targets},e.invalidate=function(r){return(!r||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(r),o.prototype.invalidate.call(this,r)},e.resetTo=function(r,n,s,a,u){de||at.wake(),this._ts||this.play();var f=Math.min(this._dur,(this._dp._time-this._start)*this._ts),h;return this._initted||gi(this,f),h=this._ease(f/this._dur),Mn(this,r,n,s,a,h,f,u)?this.resetTo(r,n,s,a,1):(Re(this,0),this.parent||ur(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},e.kill=function(r,n){if(n===void 0&&(n="all"),!r&&(!n||n==="all"))return this._lazy=this._pt=0,this.parent?ae(this):this.scrollTrigger&&this.scrollTrigger.kill(!!H),this;if(this.timeline){var s=this.timeline.totalDuration();return this.timeline.killTweensOf(r,n,Ct&&Ct.vars.overwrite!==!0)._first||ae(this),this.parent&&s!==this.timeline.totalDuration()&&ee(this,this._dur*this.timeline._tDur/s,0,1),this}var a=this._targets,u=r?dt(r):a,f=this._ptLookup,h=this._pt,_,c,d,p,l,m,y;if((!n||n==="all")&&an(a,u))return n==="all"&&(this._pt=0),ae(this);for(_=this._op=this._op||[],n!=="all"&&(j(n)&&(l={},et(n,function(T){return l[T]=1}),n=l),n=An(a,n)),y=a.length;y--;)if(~u.indexOf(a[y])){c=f[y],n==="all"?(_[y]=n,p=c,d={}):(d=_[y]=_[y]||{},p=n);for(l in p)m=c&&c[l],m&&((!("kill"in m.d)||m.d.kill(l)===!0)&&De(this,m,"_pt"),delete c[l]),d!=="all"&&(d[l]=1)}return this._initted&&!this._pt&&h&&ae(this),this},t.to=function(r,n){return new t(r,n,arguments[2])},t.from=function(r,n){return fe(1,arguments)},t.delayedCall=function(r,n,s,a){return new t(n,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:r,onComplete:n,onReverseComplete:n,onCompleteParams:s,onReverseCompleteParams:s,callbackScope:a})},t.fromTo=function(r,n,s){return fe(2,arguments)},t.set=function(r,n){return n.duration=0,n.repeatDelay||(n.repeat=0),new t(r,n)},t.killTweensOf=function(r,n,s){return B.killTweensOf(r,n,s)},t})(pe);ht(X.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});et("staggerTo,staggerFrom,staggerFromTo",function(o){X[o]=function(){var t=new J,e=He.call(arguments,0);return e.splice(o==="staggerFromTo"?5:4,0,0),t[o].apply(t,e)}});var yi=function(t,e,i){return t[e]=i},Dr=function(t,e,i){return t[e](i)},En=function(t,e,i,r){return t[e](r.fp,i)},Rn=function(t,e,i){return t.setAttribute(e,i)},xi=function(t,e){return W(t[e])?Dr:ui(t[e])&&t.setAttribute?Rn:yi},Er=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e6)/1e6,e)},zn=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},Rr=function(t,e){var i=e._pt,r="";if(!t&&e.b)r=e.b;else if(t===1&&e.e)r=e.e;else{for(;i;)r=i.p+(i.m?i.m(i.s+i.c*t):Math.round((i.s+i.c*t)*1e4)/1e4)+r,i=i._next;r+=e.c}e.set(e.t,e.p,r,e)},vi=function(t,e){for(var i=e._pt;i;)i.r(t,i.d),i=i._next},Fn=function(t,e,i,r){for(var n=this._pt,s;n;)s=n._next,n.p===r&&n.modifier(t,e,i),n=s},Nn=function(t){for(var e=this._pt,i,r;e;)r=e._next,e.p===t&&!e.op||e.op===t?De(this,e,"_pt"):e.dep||(i=1),e=r;return!i},Ln=function(t,e,i,r){r.mSet(t,e,r.m.call(r.tween,i,r.mt),r)},zr=function(t){for(var e=t._pt,i,r,n,s;e;){for(i=e._next,r=n;r&&r.pr>e.pr;)r=r._next;(e._prev=r?r._prev:s)?e._prev._next=e:n=e,(e._next=r)?r._prev=e:s=e,e=i}t._pt=n},it=(function(){function o(e,i,r,n,s,a,u,f,h){this.t=i,this.s=n,this.c=s,this.p=r,this.r=a||Er,this.d=u||this,this.set=f||yi,this.pr=h||0,this._next=e,e&&(e._prev=this)}var t=o.prototype;return t.modifier=function(i,r,n){this.mSet=this.mSet||this.set,this.set=Ln,this.m=i,this.mt=n,this.tween=r},o})();et(ci+"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(o){return _i[o]=1});ft.TweenMax=ft.TweenLite=X;ft.TimelineLite=ft.TimelineMax=J;B=new J({sortChildren:!1,defaults:Zt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});ut.stringFilter=br;var Wt=[],we={},In=[],Di=0,Bn=0,Be=function(t){return(we[t]||In).map(function(e){return e()})},Je=function(){var t=Date.now(),e=[];t-Di>2&&(Be("matchMediaInit"),Wt.forEach(function(i){var r=i.queries,n=i.conditions,s,a,u,f;for(a in r)s=gt.matchMedia(r[a]).matches,s&&(u=1),s!==n[a]&&(n[a]=s,f=1);f&&(i.revert(),u&&e.push(i))}),Be("matchMediaRevert"),e.forEach(function(i){return i.onMatch(i,function(r){return i.add(null,r)})}),Di=t,Be("matchMedia"))},Fr=(function(){function o(e,i){this.selector=i&&Ke(i),this.data=[],this._r=[],this.isReverted=!1,this.id=Bn++,e&&this.add(e)}var t=o.prototype;return t.add=function(i,r,n){W(i)&&(n=r,r=i,i=W);var s=this,a=function(){var f=I,h=s.selector,_;return f&&f!==s&&f.data.push(s),n&&(s.selector=Ke(n)),I=s,_=r.apply(s,arguments),W(_)&&s._r.push(_),I=f,s.selector=h,s.isReverted=!1,_};return s.last=a,i===W?a(s,function(u){return s.add(null,u)}):i?s[i]=a:a},t.ignore=function(i){var r=I;I=null,i(this),I=r},t.getTweens=function(){var i=[];return this.data.forEach(function(r){return r instanceof o?i.push.apply(i,r.getTweens()):r instanceof X&&!(r.parent&&r.parent.data==="nested")&&i.push(r)}),i},t.clear=function(){this._r.length=this.data.length=0},t.kill=function(i,r){var n=this;if(i?(function(){for(var a=n.getTweens(),u=n.data.length,f;u--;)f=n.data[u],f.data==="isFlip"&&(f.revert(),f.getChildren(!0,!0,!1).forEach(function(h){return a.splice(a.indexOf(h),1)}));for(a.map(function(h){return{g:h._dur||h._delay||h._sat&&!h._sat.vars.immediateRender?h.globalTime(0):-1/0,t:h}}).sort(function(h,_){return _.g-h.g||-1/0}).forEach(function(h){return h.t.revert(i)}),u=n.data.length;u--;)f=n.data[u],f instanceof J?f.data!=="nested"&&(f.scrollTrigger&&f.scrollTrigger.revert(),f.kill()):!(f instanceof X)&&f.revert&&f.revert(i);n._r.forEach(function(h){return h(i,n)}),n.isReverted=!0})():this.data.forEach(function(a){return a.kill&&a.kill()}),this.clear(),r)for(var s=Wt.length;s--;)Wt[s].id===this.id&&Wt.splice(s,1)},t.revert=function(i){this.kill(i||{})},o})(),Vn=(function(){function o(e){this.contexts=[],this.scope=e,I&&I.data.push(this)}var t=o.prototype;return t.add=function(i,r,n){vt(i)||(i={matches:i});var s=new Fr(0,n||this.scope),a=s.conditions={},u,f,h;I&&!s.selector&&(s.selector=I.selector),this.contexts.push(s),r=s.add("onMatch",r),s.queries=i;for(f in i)f==="all"?h=1:(u=gt.matchMedia(i[f]),u&&(Wt.indexOf(s)<0&&Wt.push(s),(a[f]=u.matches)&&(h=1),u.addListener?u.addListener(Je):u.addEventListener("change",Je)));return h&&r(s,function(_){return s.add(null,_)}),this},t.revert=function(i){this.kill(i||{})},t.kill=function(i){this.contexts.forEach(function(r){return r.kill(i,!0)})},o})(),Oe={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];e.forEach(function(r){return vr(r)})},timeline:function(t){return new J(t)},getTweensOf:function(t,e){return B.getTweensOf(t,e)},getProperty:function(t,e,i,r){j(t)&&(t=dt(t)[0]);var n=It(t||{}).get,s=i?or:ar;return i==="native"&&(i=""),t&&(e?s((st[e]&&st[e].get||n)(t,e,i,r)):function(a,u,f){return s((st[a]&&st[a].get||n)(t,a,u,f))})},quickSetter:function(t,e,i){if(t=dt(t),t.length>1){var r=t.map(function(h){return nt.quickSetter(h,e,i)}),n=r.length;return function(h){for(var _=n;_--;)r[_](h)}}t=t[0]||{};var s=st[e],a=It(t),u=a.harness&&(a.harness.aliases||{})[e]||e,f=s?function(h){var _=new s;jt._pt=0,_.init(t,i?h+i:h,jt,0,[t]),_.render(1,_),jt._pt&&vi(1,jt)}:a.set(t,u);return s?f:function(h){return f(t,u,i?h+i:h,a,1)}},quickTo:function(t,e,i){var r,n=nt.to(t,ht((r={},r[e]="+=0.1",r.paused=!0,r.stagger=0,r),i||{})),s=function(u,f,h){return n.resetTo(e,u,f,h)};return s.tween=n,s},isTweening:function(t){return B.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Vt(t.ease,Zt.ease)),Pi(Zt,t||{})},config:function(t){return Pi(ut,t||{})},registerEffect:function(t){var e=t.name,i=t.effect,r=t.plugins,n=t.defaults,s=t.extendTimeline;(r||"").split(",").forEach(function(a){return a&&!st[a]&&!ft[a]&&le(e+" effect requires "+a+" plugin.")}),Fe[e]=function(a,u,f){return i(dt(a),ht(u||{},n),f)},s&&(J.prototype[e]=function(a,u,f){return this.add(Fe[e](a,vt(u)?u:(f=u)&&{},this),f)})},registerEase:function(t,e){M[t]=Vt(e)},parseEase:function(t,e){return arguments.length?Vt(t,e):M},getById:function(t){return B.getById(t)},exportRoot:function(t,e){t===void 0&&(t={});var i=new J(t),r,n;for(i.smoothChildTiming=tt(t.smoothChildTiming),B.remove(i),i._dp=0,i._time=i._tTime=B._time,r=B._first;r;)n=r._next,(e||!(!r._dur&&r instanceof X&&r.vars.onComplete===r._targets[0]))&&yt(i,r,r._start-r._delay),r=n;return yt(B,i,0),i},context:function(t,e){return t?new Fr(t,e):I},matchMedia:function(t){return new Vn(t)},matchMediaRefresh:function(){return Wt.forEach(function(t){var e=t.conditions,i,r;for(r in e)e[r]&&(e[r]=!1,i=1);i&&t.revert()})||Je()},addEventListener:function(t,e){var i=we[t]||(we[t]=[]);~i.indexOf(e)||i.push(e)},removeEventListener:function(t,e){var i=we[t],r=i&&i.indexOf(e);r>=0&&i.splice(r,1)},utils:{wrap:yn,wrapYoyo:xn,distribute:dr,random:mr,snap:pr,normalize:gn,getUnit:K,clamp:cn,splitColor:Tr,toArray:dt,selector:Ke,mapRange:yr,pipe:pn,unitize:mn,interpolate:vn,shuffle:cr},install:er,effects:Fe,ticker:at,updateRoot:J.updateRoot,plugins:st,globalTimeline:B,core:{PropTween:it,globals:ir,Tween:X,Timeline:J,Animation:pe,getCache:It,_removeLinkedListItem:De,reverting:function(){return H},context:function(t){return t&&I&&(I.data.push(t),t._ctx=I),I},suppressOverwrites:function(t){return oi=t}}};et("to,from,fromTo,delayedCall,set,killTweensOf",function(o){return Oe[o]=X[o]});at.add(J.updateRoot);jt=Oe.to({},{duration:0});var Wn=function(t,e){for(var i=t._pt;i&&i.p!==e&&i.op!==e&&i.fp!==e;)i=i._next;return i},Un=function(t,e){var i=t._targets,r,n,s;for(r in e)for(n=i.length;n--;)s=t._ptLookup[n][r],s&&(s=s.d)&&(s._pt&&(s=Wn(s,r)),s&&s.modifier&&s.modifier(e[r],t,i[n],r))},Ve=function(t,e){return{name:t,headless:1,rawVars:1,init:function(r,n,s){s._onInit=function(a){var u,f;if(j(n)&&(u={},et(n,function(h){return u[h]=1}),n=u),e){u={};for(f in n)u[f]=e(n[f]);n=u}Un(a,n)}}}},nt=Oe.registerPlugin({name:"attr",init:function(t,e,i,r,n){var s,a,u;this.tween=i;for(s in e)u=t.getAttribute(s)||"",a=this.add(t,"setAttribute",(u||0)+"",e[s],r,n,0,0,s),a.op=s,a.b=u,this._props.push(s)},render:function(t,e){for(var i=e._pt;i;)H?i.set(i.t,i.p,i.b,i):i.r(t,i.d),i=i._next}},{name:"endArray",headless:1,init:function(t,e){for(var i=e.length;i--;)this.add(t,i,t[i]||0,e[i],0,0,0,0,0,1)}},Ve("roundProps",Qe),Ve("modifiers"),Ve("snap",pr))||Oe;X.version=J.version=nt.version="3.13.0";tr=1;fi()&&ie();M.Power0;M.Power1;M.Power2;M.Power3;M.Power4;M.Linear;M.Quad;M.Cubic;M.Quart;M.Quint;M.Strong;M.Elastic;M.Back;M.SteppedEase;M.Bounce;M.Sine;M.Expo;M.Circ;/*!
|
|
9
|
+
* CSSPlugin 3.13.0
|
|
10
|
+
* https://gsap.com
|
|
11
|
+
*
|
|
12
|
+
* Copyright 2008-2025, GreenSock. All rights reserved.
|
|
13
|
+
* Subject to the terms at https://gsap.com/standard-license
|
|
14
|
+
* @author: Jack Doyle, jack@greensock.com
|
|
15
|
+
*/var Ei,Pt,Kt,Ti,Lt,Ri,wi,Yn=function(){return typeof window<"u"},St={},Nt=180/Math.PI,Qt=Math.PI/180,Xt=Math.atan2,zi=1e8,bi=/([A-Z])/g,Xn=/(left|right|width|margin|padding|x)/i,qn=/[\s,\(]\S/,xt={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},ti=function(t,e){return e.set(e.t,e.p,Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},Gn=function(t,e){return e.set(e.t,e.p,t===1?e.e:Math.round((e.s+e.c*t)*1e4)/1e4+e.u,e)},$n=function(t,e){return e.set(e.t,e.p,t?Math.round((e.s+e.c*t)*1e4)/1e4+e.u:e.b,e)},jn=function(t,e){var i=e.s+e.c*t;e.set(e.t,e.p,~~(i+(i<0?-.5:.5))+e.u,e)},Nr=function(t,e){return e.set(e.t,e.p,t?e.e:e.b,e)},Lr=function(t,e){return e.set(e.t,e.p,t!==1?e.b:e.e,e)},Hn=function(t,e,i){return t.style[e]=i},Kn=function(t,e,i){return t.style.setProperty(e,i)},Qn=function(t,e,i){return t._gsap[e]=i},Zn=function(t,e,i){return t._gsap.scaleX=t._gsap.scaleY=i},Jn=function(t,e,i,r,n){var s=t._gsap;s.scaleX=s.scaleY=i,s.renderTransform(n,s)},ts=function(t,e,i,r,n){var s=t._gsap;s[e]=i,s.renderTransform(n,s)},V="transform",rt=V+"Origin",es=function o(t,e){var i=this,r=this.target,n=r.style,s=r._gsap;if(t in St&&n){if(this.tfm=this.tfm||{},t!=="transform")t=xt[t]||t,~t.indexOf(",")?t.split(",").forEach(function(a){return i.tfm[a]=wt(r,a)}):this.tfm[t]=s.x?s[t]:wt(r,t),t===rt&&(this.tfm.zOrigin=s.zOrigin);else return xt.transform.split(",").forEach(function(a){return o.call(i,a,e)});if(this.props.indexOf(V)>=0)return;s.svg&&(this.svgo=r.getAttribute("data-svg-origin"),this.props.push(rt,e,"")),t=V}(n||e)&&this.props.push(t,e,n[t])},Ir=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},is=function(){var t=this.props,e=this.target,i=e.style,r=e._gsap,n,s;for(n=0;n<t.length;n+=3)t[n+1]?t[n+1]===2?e[t[n]](t[n+2]):e[t[n]]=t[n+2]:t[n+2]?i[t[n]]=t[n+2]:i.removeProperty(t[n].substr(0,2)==="--"?t[n]:t[n].replace(bi,"-$1").toLowerCase());if(this.tfm){for(s in this.tfm)r[s]=this.tfm[s];r.svg&&(r.renderTransform(),e.setAttribute("data-svg-origin",this.svgo||"")),n=wi(),(!n||!n.isStart)&&!i[V]&&(Ir(i),r.zOrigin&&i[rt]&&(i[rt]+=" "+r.zOrigin+"px",r.zOrigin=0,r.renderTransform()),r.uncache=1)}},Br=function(t,e){var i={target:t,props:[],revert:is,save:es};return t._gsap||nt.core.getCache(t),e&&t.style&&t.nodeType&&e.split(",").forEach(function(r){return i.save(r)}),i},Vr,ei=function(t,e){var i=Pt.createElementNS?Pt.createElementNS((e||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),t):Pt.createElement(t);return i&&i.style?i:Pt.createElement(t)},pt=function o(t,e,i){var r=getComputedStyle(t);return r[e]||r.getPropertyValue(e.replace(bi,"-$1").toLowerCase())||r.getPropertyValue(e)||!i&&o(t,re(e)||e,1)||""},Fi="O,Moz,ms,Ms,Webkit".split(","),re=function(t,e,i){var r=e||Lt,n=r.style,s=5;if(t in n&&!i)return t;for(t=t.charAt(0).toUpperCase()+t.substr(1);s--&&!(Fi[s]+t in n););return s<0?null:(s===3?"ms":s>=0?Fi[s]:"")+t},ii=function(){Yn()&&window.document&&(Ei=window,Pt=Ei.document,Kt=Pt.documentElement,Lt=ei("div")||{style:{}},ei("div"),V=re(V),rt=V+"Origin",Lt.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Vr=!!re("perspective"),wi=nt.core.reverting,Ti=1)},Ni=function(t){var e=t.ownerSVGElement,i=ei("svg",e&&e.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=t.cloneNode(!0),n;r.style.display="block",i.appendChild(r),Kt.appendChild(i);try{n=r.getBBox()}catch{}return i.removeChild(r),Kt.removeChild(i),n},Li=function(t,e){for(var i=e.length;i--;)if(t.hasAttribute(e[i]))return t.getAttribute(e[i])},Wr=function(t){var e,i;try{e=t.getBBox()}catch{e=Ni(t),i=1}return e&&(e.width||e.height)||i||(e=Ni(t)),e&&!e.width&&!e.x&&!e.y?{x:+Li(t,["x","cx","x1"])||0,y:+Li(t,["y","cy","y1"])||0,width:0,height:0}:e},Ur=function(t){return!!(t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Wr(t))},Ut=function(t,e){if(e){var i=t.style,r;e in St&&e!==rt&&(e=V),i.removeProperty?(r=e.substr(0,2),(r==="ms"||e.substr(0,6)==="webkit")&&(e="-"+e),i.removeProperty(r==="--"?e:e.replace(bi,"-$1").toLowerCase())):i.removeAttribute(e)}},Ot=function(t,e,i,r,n,s){var a=new it(t._pt,e,i,0,1,s?Lr:Nr);return t._pt=a,a.b=r,a.e=n,t._props.push(i),a},Ii={deg:1,rad:1,turn:1},rs={grid:1,flex:1},Dt=function o(t,e,i,r){var n=parseFloat(i)||0,s=(i+"").trim().substr((n+"").length)||"px",a=Lt.style,u=Xn.test(e),f=t.tagName.toLowerCase()==="svg",h=(f?"client":"offset")+(u?"Width":"Height"),_=100,c=r==="px",d=r==="%",p,l,m,y;if(r===s||!n||Ii[r]||Ii[s])return n;if(s!=="px"&&!c&&(n=o(t,e,i,"px")),y=t.getCTM&&Ur(t),(d||s==="%")&&(St[e]||~e.indexOf("adius")))return p=y?t.getBBox()[u?"width":"height"]:t[h],Y(d?n/p*_:n/100*p);if(a[u?"width":"height"]=_+(c?s:r),l=r!=="rem"&&~e.indexOf("adius")||r==="em"&&t.appendChild&&!f?t:t.parentNode,y&&(l=(t.ownerSVGElement||{}).parentNode),(!l||l===Pt||!l.appendChild)&&(l=Pt.body),m=l._gsap,m&&d&&m.width&&u&&m.time===at.time&&!m.uncache)return Y(n/m.width*_);if(d&&(e==="height"||e==="width")){var T=t.style[e];t.style[e]=_+r,p=t[h],T?t.style[e]=T:Ut(t,e)}else(d||s==="%")&&!rs[pt(l,"display")]&&(a.position=pt(t,"position")),l===t&&(a.position="static"),l.appendChild(Lt),p=Lt[h],l.removeChild(Lt),a.position="absolute";return u&&d&&(m=It(l),m.time=at.time,m.width=l[h]),Y(c?p*n/_:p&&n?_/p*n:0)},wt=function(t,e,i,r){var n;return Ti||ii(),e in xt&&e!=="transform"&&(e=xt[e],~e.indexOf(",")&&(e=e.split(",")[0])),St[e]&&e!=="transform"?(n=ge(t,r),n=e!=="transformOrigin"?n[e]:n.svg?n.origin:Me(pt(t,rt))+" "+n.zOrigin+"px"):(n=t.style[e],(!n||n==="auto"||r||~(n+"").indexOf("calc("))&&(n=ke[e]&&ke[e](t,e,i)||pt(t,e)||nr(t,e)||(e==="opacity"?1:0))),i&&!~(n+"").trim().indexOf(" ")?Dt(t,e,n,i)+i:n},ns=function(t,e,i,r){if(!i||i==="none"){var n=re(e,t,1),s=n&&pt(t,n,1);s&&s!==i?(e=n,i=s):e==="borderColor"&&(i=pt(t,"borderTopColor"))}var a=new it(this._pt,t.style,e,0,1,Rr),u=0,f=0,h,_,c,d,p,l,m,y,T,b,w,g;if(a.b=i,a.e=r,i+="",r+="",r.substring(0,6)==="var(--"&&(r=pt(t,r.substring(4,r.indexOf(")")))),r==="auto"&&(l=t.style[e],t.style[e]=r,r=pt(t,e)||r,l?t.style[e]=l:Ut(t,e)),h=[i,r],br(h),i=h[0],r=h[1],c=i.match($t)||[],g=r.match($t)||[],g.length){for(;_=$t.exec(r);)m=_[0],T=r.substring(u,_.index),p?p=(p+1)%5:(T.substr(-5)==="rgba("||T.substr(-5)==="hsla(")&&(p=1),m!==(l=c[f++]||"")&&(d=parseFloat(l)||0,w=l.substr((d+"").length),m.charAt(1)==="="&&(m=Ht(d,m)+w),y=parseFloat(m),b=m.substr((y+"").length),u=$t.lastIndex-b.length,b||(b=b||ut.units[e]||w,u===r.length&&(r+=b,a.e+=b)),w!==b&&(d=Dt(t,e,l,b)||0),a._pt={_next:a._pt,p:T||f===1?T:",",s:d,c:y-d,m:p&&p<4||e==="zIndex"?Math.round:0});a.c=u<r.length?r.substring(u,r.length):""}else a.r=e==="display"&&r==="none"?Lr:Nr;return Zi.test(r)&&(a.e=0),this._pt=a,a},Bi={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},ss=function(t){var e=t.split(" "),i=e[0],r=e[1]||"50%";return(i==="top"||i==="bottom"||r==="left"||r==="right")&&(t=i,i=r,r=t),e[0]=Bi[i]||i,e[1]=Bi[r]||r,e.join(" ")},as=function(t,e){if(e.tween&&e.tween._time===e.tween._dur){var i=e.t,r=i.style,n=e.u,s=i._gsap,a,u,f;if(n==="all"||n===!0)r.cssText="",u=1;else for(n=n.split(","),f=n.length;--f>-1;)a=n[f],St[a]&&(u=1,a=a==="transformOrigin"?rt:V),Ut(i,a);u&&(Ut(i,V),s&&(s.svg&&i.removeAttribute("transform"),r.scale=r.rotate=r.translate="none",ge(i,1),s.uncache=1,Ir(r)))}},ke={clearProps:function(t,e,i,r,n){if(n.data!=="isFromStart"){var s=t._pt=new it(t._pt,e,i,0,0,as);return s.u=r,s.pr=-10,s.tween=n,t._props.push(i),1}}},me=[1,0,0,1,0,0],Yr={},Xr=function(t){return t==="matrix(1, 0, 0, 1, 0, 0)"||t==="none"||!t},Vi=function(t){var e=pt(t,V);return Xr(e)?me:e.substr(7).match(Qi).map(Y)},Si=function(t,e){var i=t._gsap||It(t),r=t.style,n=Vi(t),s,a,u,f;return i.svg&&t.getAttribute("transform")?(u=t.transform.baseVal.consolidate().matrix,n=[u.a,u.b,u.c,u.d,u.e,u.f],n.join(",")==="1,0,0,1,0,0"?me:n):(n===me&&!t.offsetParent&&t!==Kt&&!i.svg&&(u=r.display,r.display="block",s=t.parentNode,(!s||!t.offsetParent&&!t.getBoundingClientRect().width)&&(f=1,a=t.nextElementSibling,Kt.appendChild(t)),n=Vi(t),u?r.display=u:Ut(t,"display"),f&&(a?s.insertBefore(t,a):s?s.appendChild(t):Kt.removeChild(t))),e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n)},ri=function(t,e,i,r,n,s){var a=t._gsap,u=n||Si(t,!0),f=a.xOrigin||0,h=a.yOrigin||0,_=a.xOffset||0,c=a.yOffset||0,d=u[0],p=u[1],l=u[2],m=u[3],y=u[4],T=u[5],b=e.split(" "),w=parseFloat(b[0])||0,g=parseFloat(b[1])||0,S,C,v,x;i?u!==me&&(C=d*m-p*l)&&(v=w*(m/C)+g*(-l/C)+(l*T-m*y)/C,x=w*(-p/C)+g*(d/C)-(d*T-p*y)/C,w=v,g=x):(S=Wr(t),w=S.x+(~b[0].indexOf("%")?w/100*S.width:w),g=S.y+(~(b[1]||b[0]).indexOf("%")?g/100*S.height:g)),r||r!==!1&&a.smooth?(y=w-f,T=g-h,a.xOffset=_+(y*d+T*l)-y,a.yOffset=c+(y*p+T*m)-T):a.xOffset=a.yOffset=0,a.xOrigin=w,a.yOrigin=g,a.smooth=!!r,a.origin=e,a.originIsAbsolute=!!i,t.style[rt]="0px 0px",s&&(Ot(s,a,"xOrigin",f,w),Ot(s,a,"yOrigin",h,g),Ot(s,a,"xOffset",_,a.xOffset),Ot(s,a,"yOffset",c,a.yOffset)),t.setAttribute("data-svg-origin",w+" "+g)},ge=function(t,e){var i=t._gsap||new Or(t);if("x"in i&&!e&&!i.uncache)return i;var r=t.style,n=i.scaleX<0,s="px",a="deg",u=getComputedStyle(t),f=pt(t,rt)||"0",h,_,c,d,p,l,m,y,T,b,w,g,S,C,v,x,k,A,P,O,z,E,D,R,G,U,F,Z,$,mt,lt,Rt;return h=_=c=l=m=y=T=b=w=0,d=p=1,i.svg=!!(t.getCTM&&Ur(t)),u.translate&&((u.translate!=="none"||u.scale!=="none"||u.rotate!=="none")&&(r[V]=(u.translate!=="none"?"translate3d("+(u.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+(u.rotate!=="none"?"rotate("+u.rotate+") ":"")+(u.scale!=="none"?"scale("+u.scale.split(" ").join(",")+") ":"")+(u[V]!=="none"?u[V]:"")),r.scale=r.rotate=r.translate="none"),C=Si(t,i.svg),i.svg&&(i.uncache?(G=t.getBBox(),f=i.xOrigin-G.x+"px "+(i.yOrigin-G.y)+"px",R=""):R=!e&&t.getAttribute("data-svg-origin"),ri(t,R||f,!!R||i.originIsAbsolute,i.smooth!==!1,C)),g=i.xOrigin||0,S=i.yOrigin||0,C!==me&&(A=C[0],P=C[1],O=C[2],z=C[3],h=E=C[4],_=D=C[5],C.length===6?(d=Math.sqrt(A*A+P*P),p=Math.sqrt(z*z+O*O),l=A||P?Xt(P,A)*Nt:0,T=O||z?Xt(O,z)*Nt+l:0,T&&(p*=Math.abs(Math.cos(T*Qt))),i.svg&&(h-=g-(g*A+S*O),_-=S-(g*P+S*z))):(Rt=C[6],mt=C[7],F=C[8],Z=C[9],$=C[10],lt=C[11],h=C[12],_=C[13],c=C[14],v=Xt(Rt,$),m=v*Nt,v&&(x=Math.cos(-v),k=Math.sin(-v),R=E*x+F*k,G=D*x+Z*k,U=Rt*x+$*k,F=E*-k+F*x,Z=D*-k+Z*x,$=Rt*-k+$*x,lt=mt*-k+lt*x,E=R,D=G,Rt=U),v=Xt(-O,$),y=v*Nt,v&&(x=Math.cos(-v),k=Math.sin(-v),R=A*x-F*k,G=P*x-Z*k,U=O*x-$*k,lt=z*k+lt*x,A=R,P=G,O=U),v=Xt(P,A),l=v*Nt,v&&(x=Math.cos(v),k=Math.sin(v),R=A*x+P*k,G=E*x+D*k,P=P*x-A*k,D=D*x-E*k,A=R,E=G),m&&Math.abs(m)+Math.abs(l)>359.9&&(m=l=0,y=180-y),d=Y(Math.sqrt(A*A+P*P+O*O)),p=Y(Math.sqrt(D*D+Rt*Rt)),v=Xt(E,D),T=Math.abs(v)>2e-4?v*Nt:0,w=lt?1/(lt<0?-lt:lt):0),i.svg&&(R=t.getAttribute("transform"),i.forceCSS=t.setAttribute("transform","")||!Xr(pt(t,V)),R&&t.setAttribute("transform",R))),Math.abs(T)>90&&Math.abs(T)<270&&(n?(d*=-1,T+=l<=0?180:-180,l+=l<=0?180:-180):(p*=-1,T+=T<=0?180:-180)),e=e||i.uncache,i.x=h-((i.xPercent=h&&(!e&&i.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-h)?-50:0)))?t.offsetWidth*i.xPercent/100:0)+s,i.y=_-((i.yPercent=_&&(!e&&i.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-_)?-50:0)))?t.offsetHeight*i.yPercent/100:0)+s,i.z=c+s,i.scaleX=Y(d),i.scaleY=Y(p),i.rotation=Y(l)+a,i.rotationX=Y(m)+a,i.rotationY=Y(y)+a,i.skewX=T+a,i.skewY=b+a,i.transformPerspective=w+s,(i.zOrigin=parseFloat(f.split(" ")[2])||!e&&i.zOrigin||0)&&(r[rt]=Me(f)),i.xOffset=i.yOffset=0,i.force3D=ut.force3D,i.renderTransform=i.svg?us:Vr?qr:os,i.uncache=0,i},Me=function(t){return(t=t.split(" "))[0]+" "+t[1]},We=function(t,e,i){var r=K(e);return Y(parseFloat(e)+parseFloat(Dt(t,"x",i+"px",r)))+r},os=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,qr(t,e)},zt="0deg",ne="0px",Ft=") ",qr=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,u=i.z,f=i.rotation,h=i.rotationY,_=i.rotationX,c=i.skewX,d=i.skewY,p=i.scaleX,l=i.scaleY,m=i.transformPerspective,y=i.force3D,T=i.target,b=i.zOrigin,w="",g=y==="auto"&&t&&t!==1||y===!0;if(b&&(_!==zt||h!==zt)){var S=parseFloat(h)*Qt,C=Math.sin(S),v=Math.cos(S),x;S=parseFloat(_)*Qt,x=Math.cos(S),s=We(T,s,C*x*-b),a=We(T,a,-Math.sin(S)*-b),u=We(T,u,v*x*-b+b)}m!==ne&&(w+="perspective("+m+Ft),(r||n)&&(w+="translate("+r+"%, "+n+"%) "),(g||s!==ne||a!==ne||u!==ne)&&(w+=u!==ne||g?"translate3d("+s+", "+a+", "+u+") ":"translate("+s+", "+a+Ft),f!==zt&&(w+="rotate("+f+Ft),h!==zt&&(w+="rotateY("+h+Ft),_!==zt&&(w+="rotateX("+_+Ft),(c!==zt||d!==zt)&&(w+="skew("+c+", "+d+Ft),(p!==1||l!==1)&&(w+="scale("+p+", "+l+Ft),T.style[V]=w||"translate(0, 0)"},us=function(t,e){var i=e||this,r=i.xPercent,n=i.yPercent,s=i.x,a=i.y,u=i.rotation,f=i.skewX,h=i.skewY,_=i.scaleX,c=i.scaleY,d=i.target,p=i.xOrigin,l=i.yOrigin,m=i.xOffset,y=i.yOffset,T=i.forceCSS,b=parseFloat(s),w=parseFloat(a),g,S,C,v,x;u=parseFloat(u),f=parseFloat(f),h=parseFloat(h),h&&(h=parseFloat(h),f+=h,u+=h),u||f?(u*=Qt,f*=Qt,g=Math.cos(u)*_,S=Math.sin(u)*_,C=Math.sin(u-f)*-c,v=Math.cos(u-f)*c,f&&(h*=Qt,x=Math.tan(f-h),x=Math.sqrt(1+x*x),C*=x,v*=x,h&&(x=Math.tan(h),x=Math.sqrt(1+x*x),g*=x,S*=x)),g=Y(g),S=Y(S),C=Y(C),v=Y(v)):(g=_,v=c,S=C=0),(b&&!~(s+"").indexOf("px")||w&&!~(a+"").indexOf("px"))&&(b=Dt(d,"x",s,"px"),w=Dt(d,"y",a,"px")),(p||l||m||y)&&(b=Y(b+p-(p*g+l*C)+m),w=Y(w+l-(p*S+l*v)+y)),(r||n)&&(x=d.getBBox(),b=Y(b+r/100*x.width),w=Y(w+n/100*x.height)),x="matrix("+g+","+S+","+C+","+v+","+b+","+w+")",d.setAttribute("transform",x),T&&(d.style[V]=x)},fs=function(t,e,i,r,n){var s=360,a=j(n),u=parseFloat(n)*(a&&~n.indexOf("rad")?Nt:1),f=u-r,h=r+f+"deg",_,c;return a&&(_=n.split("_")[1],_==="short"&&(f%=s,f!==f%(s/2)&&(f+=f<0?s:-s)),_==="cw"&&f<0?f=(f+s*zi)%s-~~(f/s)*s:_==="ccw"&&f>0&&(f=(f-s*zi)%s-~~(f/s)*s)),t._pt=c=new it(t._pt,e,i,r,f,Gn),c.e=h,c.u="deg",t._props.push(i),c},Wi=function(t,e){for(var i in e)t[i]=e[i];return t},hs=function(t,e,i){var r=Wi({},i._gsap),n="perspective,force3D,transformOrigin,svgOrigin",s=i.style,a,u,f,h,_,c,d,p;r.svg?(f=i.getAttribute("transform"),i.setAttribute("transform",""),s[V]=e,a=ge(i,1),Ut(i,V),i.setAttribute("transform",f)):(f=getComputedStyle(i)[V],s[V]=e,a=ge(i,1),s[V]=f);for(u in St)f=r[u],h=a[u],f!==h&&n.indexOf(u)<0&&(d=K(f),p=K(h),_=d!==p?Dt(i,u,f,p):parseFloat(f),c=parseFloat(h),t._pt=new it(t._pt,a,u,_,c-_,ti),t._pt.u=p||0,t._props.push(u));Wi(a,r)};et("padding,margin,Width,Radius",function(o,t){var e="Top",i="Right",r="Bottom",n="Left",s=(t<3?[e,i,r,n]:[e+n,e+i,r+i,r+n]).map(function(a){return t<2?o+a:"border"+a+o});ke[t>1?"border"+o:o]=function(a,u,f,h,_){var c,d;if(arguments.length<4)return c=s.map(function(p){return wt(a,p,f)}),d=c.join(" "),d.split(c[0]).length===5?c[0]:d;c=(h+"").split(" "),d={},s.forEach(function(p,l){return d[p]=c[l]=c[l]||c[(l-1)/2|0]}),a.init(u,d,_)}});var Gr={name:"css",register:ii,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,i,r,n){var s=this._props,a=t.style,u=i.vars.startAt,f,h,_,c,d,p,l,m,y,T,b,w,g,S,C,v;Ti||ii(),this.styles=this.styles||Br(t),v=this.styles.props,this.tween=i;for(l in e)if(l!=="autoRound"&&(h=e[l],!(st[l]&&kr(l,e,i,r,t,n)))){if(d=typeof h,p=ke[l],d==="function"&&(h=h.call(i,r,t,n),d=typeof h),d==="string"&&~h.indexOf("random(")&&(h=ce(h)),p)p(this,t,l,h,i)&&(C=1);else if(l.substr(0,2)==="--")f=(getComputedStyle(t).getPropertyValue(l)+"").trim(),h+="",Mt.lastIndex=0,Mt.test(f)||(m=K(f),y=K(h)),y?m!==y&&(f=Dt(t,l,f,y)+y):m&&(h+=m),this.add(a,"setProperty",f,h,r,n,0,0,l),s.push(l),v.push(l,0,a[l]);else if(d!=="undefined"){if(u&&l in u?(f=typeof u[l]=="function"?u[l].call(i,r,t,n):u[l],j(f)&&~f.indexOf("random(")&&(f=ce(f)),K(f+"")||f==="auto"||(f+=ut.units[l]||K(wt(t,l))||""),(f+"").charAt(1)==="="&&(f=wt(t,l))):f=wt(t,l),c=parseFloat(f),T=d==="string"&&h.charAt(1)==="="&&h.substr(0,2),T&&(h=h.substr(2)),_=parseFloat(h),l in xt&&(l==="autoAlpha"&&(c===1&&wt(t,"visibility")==="hidden"&&_&&(c=0),v.push("visibility",0,a.visibility),Ot(this,a,"visibility",c?"inherit":"hidden",_?"inherit":"hidden",!_)),l!=="scale"&&l!=="transform"&&(l=xt[l],~l.indexOf(",")&&(l=l.split(",")[0]))),b=l in St,b){if(this.styles.save(l),d==="string"&&h.substring(0,6)==="var(--"&&(h=pt(t,h.substring(4,h.indexOf(")"))),_=parseFloat(h)),w||(g=t._gsap,g.renderTransform&&!e.parseTransform||ge(t,e.parseTransform),S=e.smoothOrigin!==!1&&g.smooth,w=this._pt=new it(this._pt,a,V,0,1,g.renderTransform,g,0,-1),w.dep=1),l==="scale")this._pt=new it(this._pt,g,"scaleY",g.scaleY,(T?Ht(g.scaleY,T+_):_)-g.scaleY||0,ti),this._pt.u=0,s.push("scaleY",l),l+="X";else if(l==="transformOrigin"){v.push(rt,0,a[rt]),h=ss(h),g.svg?ri(t,h,0,S,0,this):(y=parseFloat(h.split(" ")[2])||0,y!==g.zOrigin&&Ot(this,g,"zOrigin",g.zOrigin,y),Ot(this,a,l,Me(f),Me(h)));continue}else if(l==="svgOrigin"){ri(t,h,1,S,0,this);continue}else if(l in Yr){fs(this,g,l,c,T?Ht(c,T+h):h);continue}else if(l==="smoothOrigin"){Ot(this,g,"smooth",g.smooth,h);continue}else if(l==="force3D"){g[l]=h;continue}else if(l==="transform"){hs(this,h,t);continue}}else l in a||(l=re(l)||l);if(b||(_||_===0)&&(c||c===0)&&!qn.test(h)&&l in a)m=(f+"").substr((c+"").length),_||(_=0),y=K(h)||(l in ut.units?ut.units[l]:m),m!==y&&(c=Dt(t,l,f,y)),this._pt=new it(this._pt,b?g:a,l,c,(T?Ht(c,T+_):_)-c,!b&&(y==="px"||l==="zIndex")&&e.autoRound!==!1?jn:ti),this._pt.u=y||0,m!==y&&y!=="%"&&(this._pt.b=f,this._pt.r=$n);else if(l in a)ns.call(this,t,l,f,T?T+h:h);else if(l in t)this.add(t,l,f||t[l],T?T+h:h,r,n);else if(l!=="parseTransform"){li(l,h);continue}b||(l in a?v.push(l,0,a[l]):typeof t[l]=="function"?v.push(l,2,t[l]()):v.push(l,1,f||t[l])),s.push(l)}}C&&zr(this)},render:function(t,e){if(e.tween._time||!wi())for(var i=e._pt;i;)i.r(t,i.d),i=i._next;else e.styles.revert()},get:wt,aliases:xt,getSetter:function(t,e,i){var r=xt[e];return r&&r.indexOf(",")<0&&(e=r),e in St&&e!==rt&&(t._gsap.x||wt(t,"x"))?i&&Ri===i?e==="scale"?Zn:Qn:(Ri=i||{})&&(e==="scale"?Jn:ts):t.style&&!ui(t.style[e])?Hn:~e.indexOf("-")?Kn:xi(t,e)},core:{_removeProperty:Ut,_getMatrix:Si}};nt.utils.checkPrefix=re;nt.core.getStyleSaver=Br;(function(o,t,e,i){var r=et(o+","+t+","+e,function(n){St[n]=1});et(t,function(n){ut.units[n]="deg",Yr[n]=1}),xt[r[13]]=o+","+t,et(i,function(n){var s=n.split(":");xt[s[1]]=r[s[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");et("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(o){ut.units[o]="px"});nt.registerPlugin(Gr);var ls=nt.registerPlugin(Gr)||nt;ls.core.Tween;/*!
|
|
16
|
+
* SplitText 3.13.0
|
|
17
|
+
* https://gsap.com
|
|
18
|
+
*
|
|
19
|
+
* @license Copyright 2025, GreenSock. All rights reserved. Subject to the terms at https://gsap.com/standard-license.
|
|
20
|
+
* @author: Jack Doyle
|
|
21
|
+
*/let se,qt,ni,_s=()=>ni||ps.register(window.gsap),Ui=typeof Intl<"u"?new Intl.Segmenter:0,Ae=o=>typeof o=="string"?Ae(document.querySelectorAll(o)):"length"in o?Array.from(o):[o],Yi=o=>Ae(o).filter(t=>t instanceof HTMLElement),si=[],Ue=function(){},cs=/\s+/g,Xi=new RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.","gu"),qi={left:0,top:0,width:0,height:0},Gi=(o,t)=>{if(t){let e=new Set(o.join("").match(t)||si),i=o.length,r,n,s,a;if(e.size)for(;--i>-1;){n=o[i];for(s of e)if(s.startsWith(n)&&s.length>n.length){for(r=0,a=n;s.startsWith(a+=o[i+ ++r])&&a.length<s.length;);if(r&&a.length===s.length){o[i]=s,o.splice(i+1,r);break}}}}return o},$i=o=>window.getComputedStyle(o).display==="inline"&&(o.style.display="inline-block"),Gt=(o,t,e)=>t.insertBefore(typeof o=="string"?document.createTextNode(o):o,e),ai=(o,t,e)=>{let i=t[o+"sClass"]||"",{tag:r="div",aria:n="auto",propIndex:s=!1}=t,a=o==="line"?"block":"inline-block",u=i.indexOf("++")>-1,f=h=>{let _=document.createElement(r),c=e.length+1;return i&&(_.className=i+(u?" "+i+c:"")),s&&_.style.setProperty("--"+o,c+""),n!=="none"&&_.setAttribute("aria-hidden","true"),r!=="span"&&(_.style.position="relative",_.style.display=a),_.textContent=h,e.push(_),_};return u&&(i=i.replace("++","")),f.collection=e,f},ds=(o,t,e,i)=>{let r=ai("line",e,i),n=window.getComputedStyle(o).textAlign||"left";return(s,a)=>{let u=r("");for(u.style.textAlign=n,o.insertBefore(u,t[s]);s<a;s++)u.appendChild(t[s]);u.normalize()}},$r=(o,t,e,i,r,n,s,a,u,f)=>{var h;let _=Array.from(o.childNodes),c=0,{wordDelimiter:d,reduceWhiteSpace:p=!0,prepareText:l}=t,m=o.getBoundingClientRect(),y=m,T=!p&&window.getComputedStyle(o).whiteSpace.substring(0,3)==="pre",b=0,w=e.collection,g,S,C,v,x,k,A,P,O,z,E,D,R,G,U,F,Z,$;for(typeof d=="object"?(C=d.delimiter||d,S=d.replaceWith||""):S=d===""?"":d||" ",g=S!==" ";c<_.length;c++)if(v=_[c],v.nodeType===3){for(U=v.textContent||"",p?U=U.replace(cs," "):T&&(U=U.replace(/\n/g,S+`
|
|
22
|
+
`)),l&&(U=l(U,o)),v.textContent=U,x=S||C?U.split(C||S):U.match(a)||si,Z=x[x.length-1],P=g?Z.slice(-1)===" ":!Z,Z||x.pop(),y=m,A=g?x[0].charAt(0)===" ":!x[0],A&&Gt(" ",o,v),x[0]||x.shift(),Gi(x,u),n&&f||(v.textContent=""),O=1;O<=x.length;O++)if(F=x[O-1],!p&&T&&F.charAt(0)===`
|
|
23
|
+
`&&((h=v.previousSibling)==null||h.remove(),Gt(document.createElement("br"),o,v),F=F.slice(1)),!p&&F==="")Gt(S,o,v);else if(F===" ")o.insertBefore(document.createTextNode(" "),v);else{if(g&&F.charAt(0)===" "&&Gt(" ",o,v),b&&O===1&&!A&&w.indexOf(b.parentNode)>-1?(k=w[w.length-1],k.appendChild(document.createTextNode(i?"":F))):(k=e(i?"":F),Gt(k,o,v),b&&O===1&&!A&&k.insertBefore(b,k.firstChild)),i)for(E=Ui?Gi([...Ui.segment(F)].map(mt=>mt.segment),u):F.match(a)||si,$=0;$<E.length;$++)k.appendChild(E[$]===" "?document.createTextNode(" "):i(E[$]));if(n&&f){if(U=v.textContent=U.substring(F.length+1,U.length),z=k.getBoundingClientRect(),z.top>y.top&&z.left<=y.left){for(D=o.cloneNode(),R=o.childNodes[0];R&&R!==k;)G=R,R=R.nextSibling,D.appendChild(G);o.parentNode.insertBefore(D,o),r&&$i(D)}y=z}(O<x.length||P)&&Gt(O>=x.length?" ":g&&F.slice(-1)===" "?" "+S:S,o,v)}o.removeChild(v),b=0}else v.nodeType===1&&(s&&s.indexOf(v)>-1?(w.indexOf(v.previousSibling)>-1&&w[w.length-1].appendChild(v),b=v):($r(v,t,e,i,r,n,s,a,u,!0),b=0),r&&$i(v))};const jr=class Hr{constructor(t,e){this.isSplit=!1,_s(),this.elements=Yi(t),this.chars=[],this.words=[],this.lines=[],this.masks=[],this.vars=e,this._split=()=>this.isSplit&&this.split(this.vars);let i=[],r,n=()=>{let s=i.length,a;for(;s--;){a=i[s];let u=a.element.offsetWidth;if(u!==a.width){a.width=u,this._split();return}}};this._data={orig:i,obs:typeof ResizeObserver<"u"&&new ResizeObserver(()=>{clearTimeout(r),r=setTimeout(n,200)})},Ue(this),this.split(e)}split(t){this.isSplit&&this.revert(),this.vars=t=t||this.vars||{};let{type:e="chars,words,lines",aria:i="auto",deepSlice:r=!0,smartWrap:n,onSplit:s,autoSplit:a=!1,specialChars:u,mask:f}=this.vars,h=e.indexOf("lines")>-1,_=e.indexOf("chars")>-1,c=e.indexOf("words")>-1,d=_&&!c&&!h,p=u&&("push"in u?new RegExp("(?:"+u.join("|")+")","gu"):u),l=p?new RegExp(p.source+"|"+Xi.source,"gu"):Xi,m=!!t.ignore&&Yi(t.ignore),{orig:y,animTime:T,obs:b}=this._data,w;return(_||c||h)&&(this.elements.forEach((g,S)=>{y[S]={element:g,html:g.innerHTML,ariaL:g.getAttribute("aria-label"),ariaH:g.getAttribute("aria-hidden")},i==="auto"?g.setAttribute("aria-label",(g.textContent||"").trim()):i==="hidden"&&g.setAttribute("aria-hidden","true");let C=[],v=[],x=[],k=_?ai("char",t,C):null,A=ai("word",t,v),P,O,z,E;if($r(g,t,A,k,d,r&&(h||d),m,l,p,!1),h){let D=Ae(g.childNodes),R=ds(g,D,t,x),G,U=[],F=0,Z=D.map(mt=>mt.nodeType===1?mt.getBoundingClientRect():qi),$=qi;for(P=0;P<D.length;P++)G=D[P],G.nodeType===1&&(G.nodeName==="BR"?(U.push(G),R(F,P+1),F=P+1,$=Z[F]):(P&&Z[P].top>$.top&&Z[P].left<=$.left&&(R(F,P),F=P),$=Z[P]));F<P&&R(F,P),U.forEach(mt=>{var lt;return(lt=mt.parentNode)==null?void 0:lt.removeChild(mt)})}if(!c){for(P=0;P<v.length;P++)if(O=v[P],_||!O.nextSibling||O.nextSibling.nodeType!==3)if(n&&!h){for(z=document.createElement("span"),z.style.whiteSpace="nowrap";O.firstChild;)z.appendChild(O.firstChild);O.replaceWith(z)}else O.replaceWith(...O.childNodes);else E=O.nextSibling,E&&E.nodeType===3&&(E.textContent=(O.textContent||"")+(E.textContent||""),O.remove());v.length=0,g.normalize()}this.lines.push(...x),this.words.push(...v),this.chars.push(...C)}),f&&this[f]&&this.masks.push(...this[f].map(g=>{let S=g.cloneNode();return g.replaceWith(S),S.appendChild(g),g.className&&(S.className=g.className.replace(/(\b\w+\b)/g,"$1-mask")),S.style.overflow="clip",S}))),this.isSplit=!0,qt&&(a?qt.addEventListener("loadingdone",this._split):qt.status==="loading"&&console.warn("SplitText called before fonts loaded")),(w=s&&s(this))&&w.totalTime&&(this._data.anim=T?w.totalTime(T):w),h&&a&&this.elements.forEach((g,S)=>{y[S].width=g.offsetWidth,b&&b.observe(g)}),this}revert(){var t,e;let{orig:i,anim:r,obs:n}=this._data;return n&&n.disconnect(),i.forEach(({element:s,html:a,ariaL:u,ariaH:f})=>{s.innerHTML=a,u?s.setAttribute("aria-label",u):s.removeAttribute("aria-label"),f?s.setAttribute("aria-hidden",f):s.removeAttribute("aria-hidden")}),this.chars.length=this.words.length=this.lines.length=i.length=this.masks.length=0,this.isSplit=!1,qt==null||qt.removeEventListener("loadingdone",this._split),r&&(this._data.animTime=r.totalTime(),r.revert()),(e=(t=this.vars).onRevert)==null||e.call(t,this),this}static create(t,e){return new Hr(t,e)}static register(t){se=se||t||window.gsap,se&&(Ae=se.utils.toArray,Ue=se.core.context||Ue),!ni&&window.innerWidth>0&&(qt=document.fonts,ni=!0)}};jr.version="3.13.0";let ps=jr;export{ps as S,ls as g};
|