@winspan/claude-forge 3.6.24 → 3.6.26
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/autopilot/ground-truth-rules.d.ts +12 -0
- package/dist/autopilot/ground-truth-rules.d.ts.map +1 -1
- package/dist/autopilot/ground-truth-rules.js +42 -0
- package/dist/autopilot/ground-truth-rules.js.map +1 -1
- package/dist/goal/goal-classifier.d.ts.map +1 -1
- package/dist/goal/goal-classifier.js +36 -4
- package/dist/goal/goal-classifier.js.map +1 -1
- package/dist/web-static/assets/{index-dgj9WXXU.js → index-DL3sxp0u.js} +1 -1
- package/dist/web-static/index.html +1 -1
- package/package.json +1 -1
|
@@ -10,6 +10,18 @@ export interface GroundTruthRule {
|
|
|
10
10
|
pattern: RegExp;
|
|
11
11
|
complexity: 'simple' | 'moderate' | 'complex';
|
|
12
12
|
requiresContextCheck?: boolean;
|
|
13
|
+
taskType?: 'bugfix' | 'feature' | 'refactor' | 'optimize' | 'performance' | 'review' | 'audit' | 'config' | 'deploy' | 'doc' | 'documentation' | 'test' | 'other';
|
|
14
|
+
artifactRequirements?: {
|
|
15
|
+
needsDocumentArtifact: boolean;
|
|
16
|
+
artifactTypes: Array<'code' | 'document' | 'config' | 'data'>;
|
|
17
|
+
persistenceStrategy: 'git-commit' | 'docs-directory' | 'both';
|
|
18
|
+
suggestedArtifacts: Array<{
|
|
19
|
+
type: 'document' | 'code' | 'config' | 'data';
|
|
20
|
+
filename: string;
|
|
21
|
+
directory: string;
|
|
22
|
+
reason: string;
|
|
23
|
+
}>;
|
|
24
|
+
};
|
|
13
25
|
}
|
|
14
26
|
/**
|
|
15
27
|
* Ground Truth 规则定义
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ground-truth-rules.d.ts","sourceRoot":"","sources":["../../src/autopilot/ground-truth-rules.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,WAAW,eAAe;IAC9B,EAAE,EA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/B,SAAS,EAAE,MAAM,EACjB,YAAY,EAAE,MAAM,EACpB,YAAY,EAAE,MAAM,EACpB,eAAe,EAAE,MAAM,GACtB,MAAM,CAYR;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,eAAe,GAAG,IAAI,CAQvE;AAED;;;;;;;;GAQG;AACH,wBAAgB,wBAAwB,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAEjE"}
|
|
@@ -35,6 +35,48 @@ export const GROUND_TRUTH_RULES = [
|
|
|
35
35
|
complexity: 'moderate',
|
|
36
36
|
requiresContextCheck: true,
|
|
37
37
|
},
|
|
38
|
+
// ── Complex: 评审类任务(需要产物文件)────────────────────────────────
|
|
39
|
+
{
|
|
40
|
+
id: 'gt_review_task',
|
|
41
|
+
description: '评审/审查任务,需要生成评审报告产物',
|
|
42
|
+
pattern: /评审|审查|code\s*review|audit|inspect.*project|review.*project|深度.*分析|全面.*分析|全面.*评估|深度.*评估/i,
|
|
43
|
+
complexity: 'complex',
|
|
44
|
+
taskType: 'review',
|
|
45
|
+
artifactRequirements: {
|
|
46
|
+
needsDocumentArtifact: true,
|
|
47
|
+
artifactTypes: ['document'],
|
|
48
|
+
persistenceStrategy: 'docs-directory',
|
|
49
|
+
suggestedArtifacts: [{ type: 'document', filename: '评审报告.md', directory: 'docs', reason: '评审任务需要输出结构化报告' }],
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
// ── Complex: 设计类任务(需要产物文件)────────────────────────────────
|
|
53
|
+
{
|
|
54
|
+
id: 'gt_design_task',
|
|
55
|
+
description: '架构/系统设计任务,需要生成设计文档产物',
|
|
56
|
+
pattern: /架构设计|系统设计|接口设计|数据库设计|技术设计|design\s+(architecture|system|api|database)|设计.*方案|方案.*设计/i,
|
|
57
|
+
complexity: 'complex',
|
|
58
|
+
taskType: 'doc',
|
|
59
|
+
artifactRequirements: {
|
|
60
|
+
needsDocumentArtifact: true,
|
|
61
|
+
artifactTypes: ['document'],
|
|
62
|
+
persistenceStrategy: 'docs-directory',
|
|
63
|
+
suggestedArtifacts: [{ type: 'document', filename: '设计文档.md', directory: 'docs', reason: '设计任务需要输出设计文档' }],
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
// ── Complex: 规划类任务(需要产物文件)────────────────────────────────
|
|
67
|
+
{
|
|
68
|
+
id: 'gt_planning_task',
|
|
69
|
+
description: '项目/迭代规划任务,需要生成规划文档产物',
|
|
70
|
+
pattern: /制定.*计划|制定.*规划|编写.*规划|输出.*规划|生成.*规划|项目规划|迭代规划|技术规划|roadmap|制定.*方案|输出.*方案|生成.*方案/i,
|
|
71
|
+
complexity: 'complex',
|
|
72
|
+
taskType: 'doc',
|
|
73
|
+
artifactRequirements: {
|
|
74
|
+
needsDocumentArtifact: true,
|
|
75
|
+
artifactTypes: ['document'],
|
|
76
|
+
persistenceStrategy: 'docs-directory',
|
|
77
|
+
suggestedArtifacts: [{ type: 'document', filename: '规划文档.md', directory: 'docs', reason: '规划任务需要输出规划文档' }],
|
|
78
|
+
},
|
|
79
|
+
},
|
|
38
80
|
];
|
|
39
81
|
/**
|
|
40
82
|
* 计算质量加权置信度
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ground-truth-rules.js","sourceRoot":"","sources":["../../src/autopilot/ground-truth-rules.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;
|
|
1
|
+
{"version":3,"file":"ground-truth-rules.js","sourceRoot":"","sources":["../../src/autopilot/ground-truth-rules.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAiBH;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,kBAAkB,GAAsB;IACnD,qEAAqE;IACrE;QACE,EAAE,EAAE,cAAc;QAClB,WAAW,EAAE,0BAA0B;QACvC,OAAO,EAAE,8DAA8D;QACvE,UAAU,EAAE,QAAQ;KACrB;IAED,qEAAqE;IACrE;QACE,EAAE,EAAE,cAAc;QAClB,WAAW,EAAE,8BAA8B;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,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,CAAC;AACrE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal-classifier.d.ts","sourceRoot":"","sources":["../../src/goal/goal-classifier.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAOjE,OAAO,KAAK,EAAE,IAAI,EAAoB,cAAc,EAAY,MAAM,iBAAiB,CAAC;AAExF,MAAM,WAAW,eAAe;IAC9B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,UAAU,CAAC,EAAE,iBAAiB,CAAC;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,qBAAa,cAAc;IACzB,OAAO,CAAC,GAAG,CAAa;IACxB,OAAO,CAAC,OAAO,CAA8B;IAC7C,OAAO,CAAC,aAAa,CAA8B;IACnD,OAAO,CAAC,cAAc,CAAwH;IAC9I,OAAO,CAAC,cAAc,CAAyH;IAC/I,OAAO,CAAC,UAAU,CAAmO;IACrP,OAAO,CAAC,cAAc,CAAmH;gBAE7H,GAAG,EAAE,UAAU,EAAE,OAAO,CAAC,EAAE,aAAa;IAQ9C,QAAQ,CACZ,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,OAAO,GAAE,eAAoB,GAC5B,OAAO,CAAC,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"goal-classifier.d.ts","sourceRoot":"","sources":["../../src/goal/goal-classifier.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,KAAK,EAAE,aAAa,EAAE,M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AgC;IAUxC,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,WAAW;CA0BpB"}
|
|
@@ -49,7 +49,8 @@ export class GoalClassifier {
|
|
|
49
49
|
confidence: 1.0,
|
|
50
50
|
projectPath,
|
|
51
51
|
sessionId: sessionIdVal,
|
|
52
|
-
taskType: 'other',
|
|
52
|
+
taskType: gtMatch.taskType ?? 'other',
|
|
53
|
+
artifactRequirements: gtMatch.artifactRequirements,
|
|
53
54
|
};
|
|
54
55
|
this.logDecision(sessionIdVal, projectPath, userPrompt, gtMatch.complexity, 'ground_truth', gtMatch.id, 1.0);
|
|
55
56
|
return goal;
|
|
@@ -59,15 +60,16 @@ export class GoalClassifier {
|
|
|
59
60
|
logger.info(`[GoalClassifier] Ground Truth 命中: ${gtMatch.id} → ${gtMatch.complexity}`);
|
|
60
61
|
const goal = {
|
|
61
62
|
complexity: gtMatch.complexity,
|
|
62
|
-
requiresPipeline: gtMatch.complexity
|
|
63
|
+
requiresPipeline: gtMatch.complexity !== 'simple' || !!gtMatch.artifactRequirements?.needsDocumentArtifact,
|
|
63
64
|
requirement: userPrompt,
|
|
64
65
|
reasoning: `Ground Truth: ${gtMatch.description}(规则 ${gtMatch.id})`,
|
|
65
66
|
estimatedFiles: gtMatch.complexity === 'simple' ? 0 : gtMatch.complexity === 'moderate' ? 3 : 8,
|
|
66
|
-
suggestedPhases: gtMatch.complexity === 'complex' ? ['analyze', '
|
|
67
|
+
suggestedPhases: gtMatch.complexity === 'complex' ? ['analyze', 'design', 'document'] : gtMatch.complexity === 'moderate' ? ['code', 'test'] : [],
|
|
67
68
|
confidence: 1.0,
|
|
68
69
|
projectPath,
|
|
69
70
|
sessionId: sessionIdVal,
|
|
70
|
-
taskType: 'other',
|
|
71
|
+
taskType: gtMatch.taskType ?? 'other',
|
|
72
|
+
artifactRequirements: gtMatch.artifactRequirements,
|
|
71
73
|
};
|
|
72
74
|
this.logDecision(sessionIdVal, projectPath, userPrompt, gtMatch.complexity, 'ground_truth', gtMatch.id, 1.0);
|
|
73
75
|
return goal;
|
|
@@ -163,6 +165,32 @@ export class GoalClassifier {
|
|
|
163
165
|
const confirmPatterns = /^(同意|好的|好|是|是的|可以|行|ok|yes|sure|继续|go|proceed|确认|没问题|对|嗯|[a-c])$/i;
|
|
164
166
|
if (confirmPatterns.test(lower))
|
|
165
167
|
return null;
|
|
168
|
+
// 文档类任务检测(优先级最高,在 conversationPatterns 之前)
|
|
169
|
+
// 这些任务需要生成产物文件,不应被误判为"纯对话"
|
|
170
|
+
const documentTaskPatterns = [
|
|
171
|
+
{ pattern: /分析.*报告|analysis.*report|分析.*结果|分析.*总结/i, type: 'doc' },
|
|
172
|
+
{ pattern: /技术.*方案|technical.*solution|解决.*方案|优化.*方案/i, type: 'doc' },
|
|
173
|
+
{ pattern: /编写.*文档|write.*document|生成.*文档|输出.*文档/i, type: 'doc' },
|
|
174
|
+
];
|
|
175
|
+
for (const { pattern, type } of documentTaskPatterns) {
|
|
176
|
+
if (pattern.test(prompt)) {
|
|
177
|
+
return {
|
|
178
|
+
complexity: 'complex',
|
|
179
|
+
requiresPipeline: true,
|
|
180
|
+
requirement: prompt,
|
|
181
|
+
reasoning: '文档类任务,需要生成产物文件',
|
|
182
|
+
estimatedFiles: 1,
|
|
183
|
+
suggestedPhases: ['analyze', 'design', 'document'],
|
|
184
|
+
taskType: type,
|
|
185
|
+
artifactRequirements: {
|
|
186
|
+
needsDocumentArtifact: true,
|
|
187
|
+
artifactTypes: ['document'],
|
|
188
|
+
persistenceStrategy: 'docs-directory',
|
|
189
|
+
suggestedArtifacts: [{ type: 'document', filename: '报告.md', directory: 'docs', reason: '文档类任务需要输出产物文件' }],
|
|
190
|
+
},
|
|
191
|
+
};
|
|
192
|
+
}
|
|
193
|
+
}
|
|
166
194
|
const conversationPatterns = [
|
|
167
195
|
/^(看|查看|显示|cat|show|read|explain|解释|描述)/i,
|
|
168
196
|
/^(help|帮助|what|什么|how|怎么|为什么|why|where|哪)/i,
|
|
@@ -404,6 +432,10 @@ export class GoalClassifier {
|
|
|
404
432
|
}
|
|
405
433
|
function inferTaskType(requirement) {
|
|
406
434
|
const lower = requirement.toLowerCase();
|
|
435
|
+
// 文档类(优先级最高,避免被后续规则误判)
|
|
436
|
+
if (/评审|审查|review|audit|设计文档|架构设计|系统设计|技术方案|分析报告|规划文档|roadmap/i.test(requirement)) {
|
|
437
|
+
return 'documentation';
|
|
438
|
+
}
|
|
407
439
|
if (lower.includes('bug') ||
|
|
408
440
|
lower.includes('fix') ||
|
|
409
441
|
lower.includes('修复') ||
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"goal-classifier.js","sourceRoot":"","sources":["../../src/goal/goal-classifier.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,IAAI,CAAC;AACpB,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAC/D,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,aAAa,EAAE,MAAM,4BAA4B,CAAC;AAC3D,OAAO,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAC9C,OAAO,EAAE,gBAAgB,EAAE,MAAM,oCAAoC,CAAC;AAWtE,MAAM,OAAO,cAAc;IACjB,GAAG,CAAa;IAChB,OAAO,GAAyB,IAAI,CAAC;IACrC,aAAa,GAAyB,IAAI,CAAC;IAC3C,cAAc,GAAG,aAAa,CAAC,QAAQ,CAAiB,gBAAgB,EAAE,EAAE,GAAG,EAAE,KAAK,CAAC,oBAAoB,EAAE,GAAG,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,CAAC;IACtI,cAAc,GAAG,aAA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AK,CAAC;QACrB,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;QACpB,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;QACpB,OAAO,QAAQ,CAAC;IAClB,IAAI,KAAK,CAAC,QAAQ,CAAC,SAAS,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,SAAS,CAAC;IAChG,IAAI,KAAK,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,UAAU,CAAC;IAC1E,IAAI,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,aAAa,CAAC;IACxG,IAAI,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,KAAK,CAAC,QAAQ,CAAC,IAAI,CAAC;QAAE,OAAO,eAAe,CAAC;IAC1E,OAAO,OAAO,CAAC;AACjB,CAAC"}
|
|
@@ -16,7 +16,7 @@ Please change the parent <Route path="${e}"> to <Route path="${e===`/`?`*`:`${e}
|
|
|
16
16
|
`);return e===-1?``:t.stack.slice(e+1)})();try{if(!e.stack)e.stack=n;else if(n){let t=n.indexOf(`
|
|
17
17
|
`),r=t===-1?-1:n.indexOf(`
|
|
18
18
|
`,t+1),i=r===-1?``:n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+=`
|
|
19
|
-
`+n)}}catch{}}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=Fo(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&ls.assertOptions(n,{silentJSONParsing:us.transitional(us.boolean),forcedJSONParsing:us.transitional(us.boolean),clarifyTimeoutError:us.transitional(us.boolean),legacyInterceptorReqResOrdering:us.transitional(us.boolean)},!1),r!=null&&(B.isFunction(r)?t.paramsSerializer={serialize:r}:ls.assertOptions(r,{encode:us.function,serialize:us.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),ls.assertOptions(t,{baseUrl:us.spelling(`baseURL`),withXsrfToken:us.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&B.merge(i.common,i[t.method]);i&&B.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`common`],e=>{delete i[e]}),t.headers=vo.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||Ha;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[is.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=is.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=Fo(this.defaults,e),Ba(No(e.baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};B.forEach([`delete`,`get`,`head`,`options`],function(e){ds.prototype[e]=function(t,n){return this.request(Fo(n||{},{method:e,url:t,data:(n||{}).data}))}}),B.forEach([`post`,`put`,`patch`],function(e){function t(t){return function(n,r,i){return this.request(Fo(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}ds.prototype[e]=t(),ds.prototype[e+`Form`]=t(!0)});var fs=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new xo(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function ps(e){return function(t){return e.apply(null,t)}}function ms(e){return B.isObject(e)&&e.isAxiosError===!0}var hs={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(hs).forEach(([e,t])=>{hs[t]=e});function gs(e){let t=new ds(e),n=vi(ds.prototype.request,t);return B.extend(n,ds.prototype,t,{allOwnKeys:!0}),B.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return gs(Fo(e,t))},n}var _s=gs(ro);_s.Axios=ds,_s.CanceledError=xo,_s.CancelToken=fs,_s.isCancel=bo,_s.VERSION=as,_s.toFormData=Fa,_s.AxiosError=ka,_s.Cancel=_s.CanceledError,_s.all=function(e){return Promise.all(e)},_s.spread=ps,_s.isAxiosError=ms,_s.mergeConfig=Fo,_s.AxiosHeaders=vo,_s.formToJSON=e=>eo(B.isHTMLForm(e)?new FormData(e):e),_s.getAdapter=ns.getAdapter,_s.HttpStatusCode=hs,_s.default=_s;var vs=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),ys=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),bs=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),xs=e=>{let t=bs(e);return t.charAt(0).toUpperCase()+t.slice(1)},Ss={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},Cs=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},ws=(0,L.createContext)({}),Ts=()=>(0,L.useContext)(ws),Es=(0,L.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>{let{size:l=24,strokeWidth:u=2,absoluteStrokeWidth:d=!1,color:f=`currentColor`,className:p=``}=Ts()??{},m=r??d?Number(n??u)*24/Number(t??l):n??u;return(0,L.createElement)(`svg`,{ref:c,...Ss,width:t??l??Ss.width,height:t??l??Ss.height,stroke:e??f,strokeWidth:m,className:vs(`lucide`,p,i),...!a&&!Cs(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,L.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),V=(e,t)=>{let n=(0,L.forwardRef)(({className:n,...r},i)=>(0,L.createElement)(Es,{ref:i,iconNode:t,className:vs(`lucide-${ys(xs(e))}`,`lucide-${e}`,n),...r}));return n.displayName=xs(e),n},Ds=V(`activity`,[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]),Os=V(`archive`,[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`,key:`1wp1u1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,key:`1s80jp`}],[`path`,{d:`M10 12h4`,key:`a56b0p`}]]),ks=V(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),As=V(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),js=V(`arrow-up-down`,[[`path`,{d:`m21 16-4 4-4-4`,key:`f6ql7i`}],[`path`,{d:`M17 20V4`,key:`1ejh1v`}],[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}]]),Ms=V(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),Ns=V(`bot`,[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]),Ps=V(`box`,[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]),Fs=V(`brain`,[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4`,key:`1e3is1`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5`,key:`1gqd8o`}],[`path`,{d:`M17.997 5.125a4 4 0 0 1 2.526 5.77`,key:`iwvgf7`}],[`path`,{d:`M18 18a4 4 0 0 0 2-7.464`,key:`efp6ie`}],[`path`,{d:`M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517`,key:`1gq6am`}],[`path`,{d:`M6 18a4 4 0 0 1-2-7.464`,key:`k1g0md`}],[`path`,{d:`M6.003 5.125a4 4 0 0 0-2.526 5.77`,key:`q97ue3`}]]),Is=V(`calendar`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}]]),Ls=V(`chart-column`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M18 17V9`,key:`2bz60n`}],[`path`,{d:`M13 17V5`,key:`1frdt8`}],[`path`,{d:`M8 17v-3`,key:`17ska0`}]]),Rs=V(`check-check`,[[`path`,{d:`M18 6 7 17l-5-5`,key:`116fxf`}],[`path`,{d:`m22 10-7.5 7.5L13 16`,key:`ke71qq`}]]),zs=V(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),Bs=V(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Vs=V(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),Hs=V(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Us=V(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),Ws=V(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),Gs=V(`circle-check-big`,[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),Ks=V(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),qs=V(`circle-x`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),Js=V(`circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),Ys=V(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]),Xs=V(`code`,[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]),Zs=V(`command`,[[`path`,{d:`M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3`,key:`11bfej`}]]),Qs=V(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),$s=V(`cpu`,[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]),ec=V(`database`,[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]),tc=V(`dollar-sign`,[[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`22`,key:`7eqyqh`}],[`path`,{d:`M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6`,key:`1b0p4s`}]]),nc=V(`download`,[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]),rc=V(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),ic=V(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),ac=V(`eye`,[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),oc=V(`file-code`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 12.5 8 15l2 2.5`,key:`1tg20x`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`,key:`yinavb`}]]),sc=V(`file-pen`,[[`path`,{d:`M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34`,key:`o6klzx`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z`,key:`zhnas1`}]]),cc=V(`file-text`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]),lc=V(`file`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}]]),uc=V(`folder-tree`,[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`hod4my`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`w4yl2u`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`,key:`f2jnh7`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`,key:`k8epm1`}]]),dc=V(`folder`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]),fc=V(`funnel`,[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`,key:`sc7q7i`}]]),pc=V(`git-branch`,[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`,key:`1cii5b`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}]]),mc=V(`git-merge`,[[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}],[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M6 21V9a9 9 0 0 0 9 9`,key:`7kw0sc`}]]),hc=V(`hard-drive`,[[`path`,{d:`M10 16h.01`,key:`1bzywj`}],[`path`,{d:`M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`18tbho`}],[`path`,{d:`M21.946 12.013H2.054`,key:`zqlbp7`}],[`path`,{d:`M6 16h.01`,key:`1pmjb7`}]]),gc=V(`image`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]),_c=V(`info`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]),vc=V(`layout-dashboard`,[[`rect`,{width:`7`,height:`9`,x:`3`,y:`3`,rx:`1`,key:`10lvy0`}],[`rect`,{width:`7`,height:`5`,x:`14`,y:`3`,rx:`1`,key:`16une8`}],[`rect`,{width:`7`,height:`9`,x:`14`,y:`12`,rx:`1`,key:`1hutg5`}],[`rect`,{width:`7`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`ldoo1y`}]]),yc=V(`lightbulb`,[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]),bc=V(`link`,[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`,key:`1cjeqo`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`,key:`19qd67`}]]),xc=V(`list`,[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]),Sc=V(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]),Cc=V(`lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]),wc=V(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),Tc=V(`message-square`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]),Ec=V(`network`,[[`rect`,{x:`16`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`4q2zg0`}],[`rect`,{x:`2`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`8cvhb9`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`6`,rx:`1`,key:`1egb70`}],[`path`,{d:`M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3`,key:`1jsf9p`}],[`path`,{d:`M12 12V8`,key:`2874zd`}]]),Dc=V(`package`,[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]),Oc=V(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),kc=V(`pen`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]]),Ac=V(`pencil`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]),jc=V(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),Mc=V(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),Nc=V(`power`,[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]),Pc=V(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]),Fc=V(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),Ic=V(`save`,[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]),Lc=V(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),Rc=V(`settings`,[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),zc=V(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Bc=V(`shield`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]),Vc=V(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),Hc=V(`square-check-big`,[[`path`,{d:`M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344`,key:`2acyp4`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),Uc=V(`square-pen`,[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`,key:`1m0v6g`}],[`path`,{d:`M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z`,key:`ohrbg2`}]]),Wc=V(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),Gc=V(`tag`,[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`,key:`vktsd0`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}]]),Kc=V(`terminal`,[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]),qc=V(`test-tube`,[[`path`,{d:`M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2`,key:`125lnx`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}],[`path`,{d:`M14.5 16h-5`,key:`1ox875`}]]),Jc=V(`trash-2`,[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]),Yc=V(`trending-up`,[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]),Xc=V(`triangle-alert`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Zc=V(`upload`,[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]),Qc=V(`workflow`,[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`,key:`by2w9f`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`,key:`xkn7yn`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`,key:`1cgmvn`}]]),$c=V(`wrench`,[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]),el=V(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),tl=V(`zap`,[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`,key:`1xq2db`}]]),nl=u(y(),1),rl=u(_(),1),il=(0,L.createContext)({toast:()=>{}}),al=()=>{};function H(e,t=`error`){al(e,t)}function ol({children:e}){let[t,n]=(0,L.useState)([]),r={current:0},i=(0,L.useCallback)((e,t=`error`)=>{let i=++r.current;n(n=>[...n,{id:i,type:t,message:e}]),setTimeout(()=>n(e=>e.filter(e=>e.id!==i)),4e3)},[]);(0,L.useEffect)(()=>{al=i},[i]);let a={success:Gs,error:qs,warning:Xc},o={success:`bg-green-50 border-green-200 text-green-800`,error:`bg-red-50 border-red-200 text-red-800`,warning:`bg-yellow-50 border-yellow-200 text-yellow-800`},s={success:`text-green-500`,error:`text-red-500`,warning:`text-yellow-500`};return(0,R.jsxs)(il.Provider,{value:{toast:i},children:[e,(0,rl.createPortal)((0,R.jsx)(`div`,{className:`fixed bottom-4 right-4 z-[9999] flex flex-col gap-2 max-w-sm`,children:t.map(e=>{let t=a[e.type];return(0,R.jsxs)(`div`,{className:`flex items-start gap-3 px-4 py-3 rounded-lg border shadow-lg text-sm ${o[e.type]}`,children:[(0,R.jsx)(t,{className:`h-4 w-4 mt-0.5 flex-shrink-0 ${s[e.type]}`}),(0,R.jsx)(`span`,{className:`flex-1`,children:e.message}),(0,R.jsx)(`button`,{onClick:()=>n(t=>t.filter(t=>t.id!==e.id)),children:(0,R.jsx)(el,{className:`h-3.5 w-3.5 opacity-60 hover:opacity-100`})})]},e.id)})}),document.body)]})}var U=_s.create({baseURL:`/api`,timeout:3e4});U.interceptors.request.use(e=>{let t=window.__AUTH_TOKEN__;return t&&(e.headers.Authorization=`Bearer ${t}`),e}),U.interceptors.response.use(e=>e,e=>(H(e.response?.data?.error||e.response?.data?.message||e.message||`请求失败`,`error`),Promise.reject(e)));var sl=()=>U.get(`/health`),cl=()=>U.get(`/config`),ll=e=>U.put(`/config`,e),ul=()=>U.get(`/config/history`),dl=e=>U.get(`/sessions`,{params:e}),fl=e=>U.get(`/sessions/${e}`),pl=e=>U.delete(`/sessions/${e}`),ml=e=>U.delete(`/sessions`,{data:{ids:e}}),hl=e=>U.get(`/events`,{params:e}),gl=e=>U.get(`/events/stats`,{params:{project_path:e}}),_l=e=>U.get(`/pipelines`,{params:e}),vl=e=>U.get(`/pipelines/${e}`),yl=e=>U.get(`/quality/history`,{params:e}),bl=e=>U.get(`/quality/unresolved`,{params:{project_path:e}}),xl=()=>U.get(`/stats/roi`),Sl=()=>U.get(`/stats/overview`),Cl=(e,t,n,r)=>U.get(`/knowledge/search`,{params:{q:e,project_path:t,node_type:n,limit:r}}),wl=e=>U.get(`/knowledge/overview`,{params:{project_path:e}}),Tl=(e,t)=>U.get(`/knowledge/neighbors`,{params:{node_id:e,project_path:t}}),El=(e,t)=>U.get(`/knowledge/graph`,{params:{project_path:e,node_type:t}}),Dl=e=>U.post(`/knowledge/nodes`,e),Ol=(e,t)=>U.put(`/knowledge/nodes/${e}`,t),kl=e=>U.delete(`/knowledge/nodes/${e}`),Al=e=>U.delete(`/knowledge/batch`,{data:{ids:e}}),jl=e=>U.post(`/knowledge/import`,{nodes:e}),Ml=e=>U.post(`/knowledge/edges`,e),Nl=e=>U.post(`/pipelines/${e}/close`),Pl=e=>U.post(`/pipelines/${e}/reactivate`),Fl=e=>U.post(`/pipelines/batch-close`,{ids:e}),Il=()=>U.post(`/pipelines/close-expired`),Ll=()=>U.get(`/pipelines/active`),Rl=e=>U.post(`/pipelines/${e}/resume`),zl=e=>U.post(`/pipelines/${e}/advance`),Bl=e=>U.get(`/projects`,{params:e}),Vl=e=>U.get(`/projects/${e}`),Hl=e=>U.delete(`/projects/${e}`),Ul=e=>U.post(`/convention/init`,{path:e},{timeout:18e4}),Wl=e=>U.get(`/projects/${e}/conventions`),Gl=(e,t)=>U.post(`/projects/${e}/conventions/bind`,{conventionId:t}),Kl=(e,t)=>U.delete(`/projects/${e}/conventions/${encodeURIComponent(t)}`),ql=e=>U.get(`/projects/${e}/conventions/custom/yaml`),Jl=(e,t)=>U.put(`/projects/${e}/conventions/custom`,{yaml:t}),Yl=e=>U.post(`/projects/${e}/conventions/distill`,{},{timeout:12e4}),Xl=e=>U.get(`/claudemd/${e}`),Zl=(e,t)=>U.put(`/claudemd/${e}`,{content:t}),Ql=e=>U.get(`/claudemd/${e}/profile`),$l=e=>U.get(`/claudemd/${e}/modules`),eu=e=>U.post(`/claudemd/${e}/distill`,void 0,{timeout:18e4}),tu=e=>U.post(`/claudemd/${e}/init`,void 0,{timeout:18e4}),nu=e=>U.post(`/quality/${e}/resolve`),ru=e=>U.post(`/quality/${e}/dismiss`),iu=e=>U.post(`/quality/batch-dismiss`,{ids:e}),au=e=>U.post(`/quality/batch-resolve`,{ids:e}),ou=()=>U.post(`/quality/resolve-all`),su=e=>U.get(`/quality/${e}/context`),cu=()=>U.get(`/daemon/status`),lu=()=>U.post(`/daemon/restart`),uu=()=>U.get(`/daemon/diagnose`),du=()=>U.post(`/daemon/repair`),fu=e=>U.post(`/config/backup`,e||{}),pu=()=>U.get(`/config/backups`),mu=e=>`/api/config/backups/${encodeURIComponent(e)}`,hu=(e,t)=>U.post(`/config/restore`,{filename:e,password:t}),gu=e=>U.post(`/events/purge`,{retentionDays:e}),_u=()=>U.get(`/memory/caches`),vu=()=>U.get(`/memory/process`),yu=e=>U.post(`/memory/caches/${encodeURIComponent(e)}/clear`),bu=()=>U.post(`/memory/caches/clear-all`),xu=()=>U.post(`/memory/gc`),Su=e=>U.get(`/stats/api-usage`,{params:{days:e}}),Cu=e=>U.get(`/skills`,{params:e}),wu=()=>U.get(`/skills/status`),Tu=e=>U.get(`/skills/${encodeURIComponent(e)}`),Eu=(e,t)=>U.put(`/skills/${encodeURIComponent(e)}/content`,{content:t}),Du=(e,t)=>U.post(`/skills/search`,{query:e,...t},{timeout:3e4}),Ou=e=>U.post(`/skills/install`,{url:e},{timeout:6e4}),ku=e=>U.delete(`/skills/${encodeURIComponent(e)}`),Au=e=>U.post(`/skills/batch-delete`,{names:e}),ju=()=>U.post(`/skills/evolve`,{},{timeout:12e4}),Mu=()=>U.post(`/skills/distill`,{},{timeout:12e4}),Nu=()=>U.post(`/skills/repair`,{},{timeout:6e4}),Pu=()=>U.get(`/skills/orchestration`),Fu=(e,t)=>U.put(`/skills/orchestration`,{skill:e,keywords:t}),Iu=e=>U.delete(`/skills/orchestration/${encodeURIComponent(e)}`),Lu=()=>U.get(`/conventions`),Ru=e=>U.get(`/conventions/${encodeURIComponent(e)}`),zu=()=>U.post(`/conventions/sync-official`),Bu=e=>U.post(`/conventions/install`,{url:e},{timeout:3e4}),Vu=e=>U.delete(`/conventions/${encodeURIComponent(e)}`),Hu=()=>U.get(`/conventions/usage-stats`),Uu=e=>U.get(`/conventions/${encodeURIComponent(e)}/evolution-history`),Wu=e=>U.post(`/conventions/batch-evolve`,{conventionIds:e},{timeout:12e4}),Gu=e=>U.get(`/conventions/${encodeURIComponent(e)}/yaml`),Ku=(e,t)=>U.put(`/conventions/${encodeURIComponent(e)}/yaml`,{yaml:t}),qu=e=>U.get(`/node-types`,{params:e?{projectPath:e}:void 0}),Ju=e=>U.get(`/node-types/${encodeURIComponent(e)}`),Yu=e=>U.post(`/node-types`,e),Xu=(e,t)=>U.put(`/node-types/${encodeURIComponent(e)}`,t),Zu=e=>U.delete(`/node-types/${encodeURIComponent(e)}`);function Qu(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Qu(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function $u(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Qu(e))&&(r&&(r+=` `),r+=t);return r}var ed=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},td=(e,t)=>({classGroupId:e,validator:t}),nd=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),rd=`-`,id=[],ad=`arbitrary..`,od=e=>{let t=ld(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return cd(e);let n=e.split(rd);return sd(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?ed(i,t):t:i||id}return n[e]||id}}},sd=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=sd(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(rd):e.slice(t).join(rd),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},cd=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?ad+r:void 0})(),ld=e=>{let{theme:t,classGroups:n}=e;return ud(n,t)},ud=(e,t)=>{let n=nd();for(let r in e){let i=e[r];dd(i,n,r,t)}return n},dd=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];fd(i,t,n,r)}},fd=(e,t,n,r)=>{if(typeof e==`string`){pd(e,t,n);return}if(typeof e==`function`){md(e,t,n,r);return}hd(e,t,n,r)},pd=(e,t,n)=>{let r=e===``?t:gd(t,e);r.classGroupId=n},md=(e,t,n,r)=>{if(_d(e)){dd(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(td(n,e))},hd=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];dd(o,gd(t,a),n,r)}},gd=(e,t)=>{let n=e,r=t.split(rd),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=nd(),n.nextPart.set(t,i)),n=i}return n},_d=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,vd=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},yd=`!`,bd=`:`,xd=[],Sd=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Cd=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===bd){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(yd)?(c=s.slice(0,-1),l=!0):s.startsWith(yd)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Sd(t,l,c,u)};if(t){let e=t+bd,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Sd(xd,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},wd=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},Td=e=>({cache:vd(e.cacheSize),parseClassName:Cd(e),sortModifiers:wd(e),...od(e)}),Ed=/\s+/,Dd=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(Ed),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+yd:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},Od=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=kd(n))&&(i&&(i+=` `),i+=r);return i},kd=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=kd(e[r]))&&(n&&(n+=` `),n+=t);return n},Ad=(e,...t)=>{let n,r,i,a,o=o=>(n=Td(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=Dd(e,n);return i(e,a),a};return a=o,(...e)=>a(Od(...e))},jd=[],Md=e=>{let t=t=>t[e]||jd;return t.isThemeGetter=!0,t},Nd=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Pd=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Fd=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Id=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ld=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Rd=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,zd=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Bd=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Vd=e=>Fd.test(e),W=e=>!!e&&!Number.isNaN(Number(e)),Hd=e=>!!e&&Number.isInteger(Number(e)),Ud=e=>e.endsWith(`%`)&&W(e.slice(0,-1)),Wd=e=>Id.test(e),Gd=()=>!0,Kd=e=>Ld.test(e)&&!Rd.test(e),qd=()=>!1,Jd=e=>zd.test(e),Yd=e=>Bd.test(e),Xd=e=>!G(e)&&!K(e),Zd=e=>pf(e,_f,qd),G=e=>Nd.test(e),Qd=e=>pf(e,vf,Kd),$d=e=>pf(e,yf,W),ef=e=>pf(e,xf,Gd),tf=e=>pf(e,bf,qd),nf=e=>pf(e,hf,qd),rf=e=>pf(e,gf,Yd),af=e=>pf(e,Sf,Jd),K=e=>Pd.test(e),of=e=>mf(e,vf),sf=e=>mf(e,bf),cf=e=>mf(e,hf),lf=e=>mf(e,_f),uf=e=>mf(e,gf),df=e=>mf(e,Sf,!0),ff=e=>mf(e,xf,!0),pf=(e,t,n)=>{let r=Nd.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},mf=(e,t,n=!1)=>{let r=Pd.exec(e);return r?r[1]?t(r[1]):n:!1},hf=e=>e===`position`||e===`percentage`,gf=e=>e===`image`||e===`url`,_f=e=>e===`length`||e===`size`||e===`bg-size`,vf=e=>e===`length`,yf=e=>e===`number`,bf=e=>e===`family-name`,xf=e=>e===`number`||e===`weight`,Sf=e=>e===`shadow`,Cf=Ad(()=>{let e=Md(`color`),t=Md(`font`),n=Md(`text`),r=Md(`font-weight`),i=Md(`tracking`),a=Md(`leading`),o=Md(`breakpoint`),s=Md(`container`),c=Md(`spacing`),l=Md(`radius`),u=Md(`shadow`),d=Md(`inset-shadow`),f=Md(`text-shadow`),p=Md(`drop-shadow`),m=Md(`blur`),h=Md(`perspective`),g=Md(`aspect`),_=Md(`ease`),v=Md(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),K,G],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[K,G,c],T=()=>[Vd,`full`,`auto`,...w()],E=()=>[Hd,`none`,`subgrid`,K,G],D=()=>[`auto`,{span:[`full`,Hd,K,G]},Hd,K,G],O=()=>[Hd,`auto`,K,G],k=()=>[`auto`,`min`,`max`,`fr`,K,G],A=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],j=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],M=()=>[`auto`,...w()],N=()=>[Vd,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ee=()=>[Vd,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],te=()=>[Vd,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[e,K,G],ne=()=>[...b(),cf,nf,{position:[K,G]}],re=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ie=()=>[`auto`,`cover`,`contain`,lf,Zd,{size:[K,G]}],ae=()=>[Ud,of,Qd],F=()=>[``,`none`,`full`,l,K,G],I=()=>[``,W,of,Qd],oe=()=>[`solid`,`dashed`,`dotted`,`double`],se=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],ce=()=>[W,Ud,cf,nf],le=()=>[``,`none`,m,K,G],ue=()=>[`none`,W,K,G],de=()=>[`none`,W,K,G],fe=()=>[W,K,G],pe=()=>[Vd,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Wd],breakpoint:[Wd],color:[Gd],container:[Wd],"drop-shadow":[Wd],ease:[`in`,`out`,`in-out`],font:[Xd],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Wd],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Wd],shadow:[Wd],spacing:[`px`,W],text:[Wd],"text-shadow":[Wd],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Vd,G,K,g]}],container:[`container`],columns:[{columns:[W,G,K,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[Hd,`auto`,K,G]}],basis:[{basis:[Vd,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[W,Vd,`auto`,`initial`,`none`,G]}],grow:[{grow:[``,W,K,G]}],shrink:[{shrink:[``,W,K,G]}],order:[{order:[Hd,`first`,`last`,`none`,K,G]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...A(),`normal`]}],"justify-items":[{"justify-items":[...j(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...j()]}],"align-content":[{content:[`normal`,...A()]}],"align-items":[{items:[...j(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...j(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...j(),`baseline`]}],"place-self":[{"place-self":[`auto`,...j()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:N()}],"inline-size":[{inline:[`auto`,...ee()]}],"min-inline-size":[{"min-inline":[`auto`,...ee()]}],"max-inline-size":[{"max-inline":[`none`,...ee()]}],"block-size":[{block:[`auto`,...te()]}],"min-block-size":[{"min-block":[`auto`,...te()]}],"max-block-size":[{"max-block":[`none`,...te()]}],w:[{w:[s,`screen`,...N()]}],"min-w":[{"min-w":[s,`screen`,`none`,...N()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...N()]}],h:[{h:[`screen`,`lh`,...N()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...N()]}],"max-h":[{"max-h":[`screen`,`lh`,...N()]}],"font-size":[{text:[`base`,n,of,Qd]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,ff,ef]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Ud,G]}],"font-family":[{font:[sf,tf,t]}],"font-features":[{"font-features":[G]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,K,G]}],"line-clamp":[{"line-clamp":[W,`none`,K,$d]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,K,G]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,K,G]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...oe(),`wavy`]}],"text-decoration-thickness":[{decoration:[W,`from-font`,`auto`,K,Qd]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[W,`auto`,K,G]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,K,G]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,K,G]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:ne()}],"bg-repeat":[{bg:re()}],"bg-size":[{bg:ie()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},Hd,K,G],radial:[``,K,G],conic:[Hd,K,G]},uf,rf]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:ae()}],"gradient-via-pos":[{via:ae()}],"gradient-to-pos":[{to:ae()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:F()}],"rounded-s":[{"rounded-s":F()}],"rounded-e":[{"rounded-e":F()}],"rounded-t":[{"rounded-t":F()}],"rounded-r":[{"rounded-r":F()}],"rounded-b":[{"rounded-b":F()}],"rounded-l":[{"rounded-l":F()}],"rounded-ss":[{"rounded-ss":F()}],"rounded-se":[{"rounded-se":F()}],"rounded-ee":[{"rounded-ee":F()}],"rounded-es":[{"rounded-es":F()}],"rounded-tl":[{"rounded-tl":F()}],"rounded-tr":[{"rounded-tr":F()}],"rounded-br":[{"rounded-br":F()}],"rounded-bl":[{"rounded-bl":F()}],"border-w":[{border:I()}],"border-w-x":[{"border-x":I()}],"border-w-y":[{"border-y":I()}],"border-w-s":[{"border-s":I()}],"border-w-e":[{"border-e":I()}],"border-w-bs":[{"border-bs":I()}],"border-w-be":[{"border-be":I()}],"border-w-t":[{"border-t":I()}],"border-w-r":[{"border-r":I()}],"border-w-b":[{"border-b":I()}],"border-w-l":[{"border-l":I()}],"divide-x":[{"divide-x":I()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":I()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...oe(),`hidden`,`none`]}],"divide-style":[{divide:[...oe(),`hidden`,`none`]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...oe(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[W,K,G]}],"outline-w":[{outline:[``,W,of,Qd]}],"outline-color":[{outline:P()}],shadow:[{shadow:[``,`none`,u,df,af]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":[`none`,d,df,af]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:I()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[W,Qd]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":I()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":[`none`,f,df,af]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[W,K,G]}],"mix-blend":[{"mix-blend":[...se(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":se()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[W]}],"mask-image-linear-from-pos":[{"mask-linear-from":ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":ce()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":ce()}],"mask-image-t-to-pos":[{"mask-t-to":ce()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":ce()}],"mask-image-r-to-pos":[{"mask-r-to":ce()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":ce()}],"mask-image-b-to-pos":[{"mask-b-to":ce()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":ce()}],"mask-image-l-to-pos":[{"mask-l-to":ce()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":ce()}],"mask-image-x-to-pos":[{"mask-x-to":ce()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":ce()}],"mask-image-y-to-pos":[{"mask-y-to":ce()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[K,G]}],"mask-image-radial-from-pos":[{"mask-radial-from":ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":ce()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[W]}],"mask-image-conic-from-pos":[{"mask-conic-from":ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":ce()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ne()}],"mask-repeat":[{mask:re()}],"mask-size":[{mask:ie()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,K,G]}],filter:[{filter:[``,`none`,K,G]}],blur:[{blur:le()}],brightness:[{brightness:[W,K,G]}],contrast:[{contrast:[W,K,G]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,df,af]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:[``,W,K,G]}],"hue-rotate":[{"hue-rotate":[W,K,G]}],invert:[{invert:[``,W,K,G]}],saturate:[{saturate:[W,K,G]}],sepia:[{sepia:[``,W,K,G]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,K,G]}],"backdrop-blur":[{"backdrop-blur":le()}],"backdrop-brightness":[{"backdrop-brightness":[W,K,G]}],"backdrop-contrast":[{"backdrop-contrast":[W,K,G]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,W,K,G]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[W,K,G]}],"backdrop-invert":[{"backdrop-invert":[``,W,K,G]}],"backdrop-opacity":[{"backdrop-opacity":[W,K,G]}],"backdrop-saturate":[{"backdrop-saturate":[W,K,G]}],"backdrop-sepia":[{"backdrop-sepia":[``,W,K,G]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,K,G]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[W,`initial`,K,G]}],ease:[{ease:[`linear`,`initial`,_,K,G]}],delay:[{delay:[W,K,G]}],animate:[{animate:[`none`,v,K,G]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,K,G]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ue()}],"rotate-x":[{"rotate-x":ue()}],"rotate-y":[{"rotate-y":ue()}],"rotate-z":[{"rotate-z":ue()}],scale:[{scale:de()}],"scale-x":[{"scale-x":de()}],"scale-y":[{"scale-y":de()}],"scale-z":[{"scale-z":de()}],"scale-3d":[`scale-3d`],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[K,G,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:pe()}],"translate-x":[{"translate-x":pe()}],"translate-y":[{"translate-y":pe()}],"translate-z":[{"translate-z":pe()}],"translate-none":[`translate-none`],accent:[{accent:P()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,K,G]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,K,G]}],fill:[{fill:[`none`,...P()]}],"stroke-w":[{stroke:[W,of,Qd,$d]}],stroke:[{stroke:[`none`,...P()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function q(...e){return Cf($u(e))}function wf(e){let t=Math.floor(e/1e3),n=Math.floor(t/60),r=Math.floor(n/60),i=Math.floor(r/24);return i>0?`${i}天${r%24}小时`:r>0?`${r}小时${n%60}分钟`:n>0?`${n}分钟${t%60}秒`:`${t}秒`}function Tf(e){return e>=1e9?`${(e/1e9).toFixed(1)}B`:e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}K`:e.toString()}function Ef(e){let t={active:`text-green-600 bg-green-50`,completed:`text-blue-600 bg-blue-50`,failed:`text-red-600 bg-red-50`,interrupted:`text-yellow-600 bg-yellow-50`,pending:`text-gray-600 bg-gray-50`};return t[e]||t.pending}function Df(e){return e?e.endsWith(`Z`)||/[+-]\d{2}:\d{2}$/.test(e)?new Date(e):new Date(e+`Z`):new Date}var Of=[{path:`/dashboard`,label:`仪表盘`,icon:vc},{path:`/projects`,label:`项目管理`,icon:dc},{path:`/sessions`,label:`会话管理`,icon:Ds},{path:`/events`,label:`事件流`,icon:Is},{path:`/pipelines`,label:`流水线`,icon:pc},{path:`/quality`,label:`质量门禁`,icon:zc},{path:`/knowledge`,label:`知识图谱`,icon:Fs},{path:`/skills`,label:`技能管理`,icon:Dc},{path:`/conventions`,label:`规范管理`,icon:Ms},{path:`/node-types`,label:`节点类型`,icon:Ps},{path:`/analytics`,label:`数据分析`,icon:Ls},{path:`/config`,label:`系统配置`,icon:Rc}];function kf({children:e}){let[t,n]=(0,L.useState)(()=>localStorage.getItem(`sidebar-collapsed`)===`true`),r=Mn();(0,L.useEffect)(()=>{localStorage.setItem(`sidebar-collapsed`,String(t))},[t]);let{data:i}=ut({queryKey:[`health`],queryFn:()=>sl().then(e=>e.data),refetchInterval:15e3}),a=Of.find(e=>r.pathname.startsWith(e.path));return(0,R.jsxs)(`div`,{className:`flex min-h-screen bg-gray-50`,children:[(0,R.jsxs)(`aside`,{className:q(`fixed top-0 left-0 bottom-0 z-50 flex flex-col transition-all duration-300`,`bg-gradient-to-b from-slate-900 to-slate-800`,t?`w-16`:`w-60`),children:[(0,R.jsxs)(`div`,{className:q(`flex items-center border-b border-white/10 h-16`,t?`justify-center px-2`:`justify-between px-5`),children:[!t&&(0,R.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,R.jsx)(`div`,{className:`flex items-center justify-center w-8 h-8 rounded-lg bg-gradient-to-br from-blue-500 to-purple-600`,children:(0,R.jsx)(tl,{className:`h-5 w-5 text-white`})}),(0,R.jsx)(`span`,{className:`text-white font-bold text-lg tracking-tight`,children:`Forge`})]}),(0,R.jsx)(`button`,{onClick:()=>n(!t),className:`p-1.5 rounded-lg text-white/60 hover:text-white hover:bg-white/10 transition-colors`,children:t?(0,R.jsx)(wc,{className:`h-5 w-5`}):(0,R.jsx)(Vs,{className:`h-5 w-5`})})]}),(0,R.jsx)(`nav`,{className:`flex-1 py-4 space-y-1 px-2`,children:Of.map(e=>(0,R.jsxs)(ti,{to:e.path,className:({isActive:e})=>q(`flex items-center gap-3 rounded-lg transition-all duration-200`,t?`justify-center p-3`:`px-3 py-2.5`,e?`bg-blue-600/20 text-blue-400`:`text-white/60 hover:text-white hover:bg-white/5`),children:[(0,R.jsx)(e.icon,{className:`h-5 w-5 flex-shrink-0`}),!t&&(0,R.jsx)(`span`,{className:`text-sm font-medium`,children:e.label})]},e.path))}),(0,R.jsx)(`div`,{className:q(`border-t border-white/10 py-4`,t?`px-2`:`px-5`),children:(0,R.jsxs)(`div`,{className:q(`flex items-center gap-2`,t?`justify-center`:``),children:[(0,R.jsx)(`div`,{className:q(`w-2 h-2 rounded-full`,i?.status===`ok`?`bg-green-400 animate-pulse`:`bg-red-400`)}),!t&&(0,R.jsx)(`span`,{className:`text-xs text-white/40`,children:i?.status===`ok`?`Daemon 运行中`:`连接断开`})]})})]}),(0,R.jsxs)(`main`,{className:q(`flex-1 transition-all duration-300`,t?`ml-16`:`ml-60`),children:[(0,R.jsxs)(`header`,{className:`sticky top-0 z-40 bg-white/80 backdrop-blur-md border-b border-gray-200/50 h-16 flex items-center justify-between px-8`,children:[(0,R.jsx)(`h1`,{className:`text-xl font-semibold text-gray-900`,children:a?.label||`Claude Forge`}),(0,R.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,R.jsxs)(`button`,{className:`hidden sm:flex items-center gap-2 px-3 py-1.5 text-sm text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg transition-colors`,onClick:()=>{let e=new KeyboardEvent(`keydown`,{key:`k`,metaKey:!0});window.dispatchEvent(e)},children:[(0,R.jsx)(Zs,{className:`h-4 w-4`}),(0,R.jsx)(`span`,{children:`命令面板`}),(0,R.jsx)(`kbd`,{className:`px-2 py-0.5 text-xs bg-gray-100 rounded border border-gray-200`,children:`⌘K`})]}),(0,R.jsxs)(`span`,{className:`text-sm text-gray-500`,children:[`v`,`3.6.24`]}),(0,R.jsxs)(`div`,{className:q(`flex items-center gap-2 px-3 py-1.5 rounded-full text-xs font-semibold`,i?.status===`ok`?`bg-green-50 text-green-700 border border-green-200`:`bg-red-50 text-red-700 border border-red-200`),children:[(0,R.jsx)(`div`,{className:q(`w-1.5 h-1.5 rounded-full`,i?.status===`ok`?`bg-green-500`:`bg-red-500`)}),i?.status===`ok`?`在线`:`离线`]})]})]}),(0,R.jsx)(`div`,{className:`p-8 overflow-x-hidden`,children:e})]})]})}var Af=(0,L.createContext)({});function jf(e){let t=(0,L.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Mf=typeof window<`u`?L.useLayoutEffect:L.useEffect,Nf=(0,L.createContext)(null);function Pf(e,t){e.indexOf(t)===-1&&e.push(t)}function Ff(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var If=(e,t,n)=>n>t?t:n<e?e:n,Lf={},Rf=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function zf(e){return typeof e==`object`&&!!e}var Bf=e=>/^0[^.\s]+$/u.test(e);function Vf(e){let t;return()=>(t===void 0&&(t=e()),t)}var Hf=e=>e,Uf=(e,t)=>n=>t(e(n)),Wf=(...e)=>e.reduce(Uf),Gf=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Kf=class{constructor(){this.subscriptions=[]}add(e){return Pf(this.subscriptions,e),()=>Ff(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},qf=e=>e*1e3,Jf=e=>e/1e3;function Yf(e,t){return t?1e3/t*e:0}var Xf=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Zf=1e-7,Qf=12;function $f(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Xf(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>Zf&&++s<Qf);return o}function ep(e,t,n,r){if(e===t&&n===r)return Hf;let i=t=>$f(t,0,1,e,n);return e=>e===0||e===1?e:Xf(i(e),t,r)}var tp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,np=e=>t=>1-e(1-t),rp=ep(.33,1.53,.69,.99),ip=np(rp),ap=tp(ip),op=e=>e>=1?1:(e*=2)<1?.5*ip(e):.5*(2-2**(-10*(e-1))),sp=e=>1-Math.sin(Math.acos(e)),cp=np(sp),lp=tp(sp),up=ep(.42,0,1,1),dp=ep(0,0,.58,1),fp=ep(.42,0,.58,1),pp=e=>Array.isArray(e)&&typeof e[0]!=`number`,mp=e=>Array.isArray(e)&&typeof e[0]==`number`,hp={linear:Hf,easeIn:up,easeInOut:fp,easeOut:dp,circIn:sp,circInOut:lp,circOut:cp,backIn:ip,backInOut:ap,backOut:rp,anticipate:op},gp=e=>typeof e==`string`,_p=e=>{if(mp(e)){e.length;let[t,n,r,i]=e;return ep(t,n,r,i)}else if(gp(e))return hp[e],`${e}`,hp[e];return e},vp=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],yp={value:null,addProjectionMetrics:null};function bp(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;n=r,r=o,n.forEach(l),t&&yp.value&&yp.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var xp=40;function Sp(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=vp.reduce((e,n)=>(e[n]=bp(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=Lf.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,xp),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:vp.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<vp.length;t++)o[vp[t]].cancel(e)},state:i,steps:o}}var{schedule:Cp,cancel:wp,state:Tp,steps:Ep}=Sp(typeof requestAnimationFrame<`u`?requestAnimationFrame:Hf,!0),Dp;function Op(){Dp=void 0}var kp={now:()=>(Dp===void 0&&kp.set(Tp.isProcessing||Lf.useManualTiming?Tp.timestamp:performance.now()),Dp),set:e=>{Dp=e,queueMicrotask(Op)}},Ap={layout:0,mainThread:0,waapi:0},jp=e=>t=>typeof t==`string`&&t.startsWith(e),Mp=jp(`--`),Np=jp(`var(--`),Pp=e=>Np(e)?Fp.test(e.split(`/*`)[0].trim()):!1,Fp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Ip(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var Lp={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Rp={...Lp,transform:e=>If(0,1,e)},zp={...Lp,default:1},Bp=e=>Math.round(e*1e5)/1e5,Vp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Hp(e){return e==null}var Up=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Wp=(e,t)=>n=>!!(typeof n==`string`&&Up.test(n)&&n.startsWith(e)||t&&!Hp(n)&&Object.prototype.hasOwnProperty.call(n,t)),Gp=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Vp);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},eee=e=>If(0,255,e),Kp={...Lp,transform:e=>Math.round(eee(e))},qp={test:Wp(`rgb`,`red`),parse:Gp(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Kp.transform(e)+`, `+Kp.transform(t)+`, `+Kp.transform(n)+`, `+Bp(Rp.transform(r))+`)`};function Jp(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var Yp={test:Wp(`#`),parse:Jp,transform:qp.transform},Xp=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Zp=Xp(`deg`),Qp=Xp(`%`),J=Xp(`px`),tee=Xp(`vh`),$p=Xp(`vw`),em={...Qp,parse:e=>Qp.parse(e)/100,transform:e=>Qp.transform(e*100)},tm={test:Wp(`hsl`,`hue`),parse:Gp(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+Qp.transform(Bp(t))+`, `+Qp.transform(Bp(n))+`, `+Bp(Rp.transform(r))+`)`},nm={test:e=>qp.test(e)||Yp.test(e)||tm.test(e),parse:e=>qp.test(e)?qp.parse(e):tm.test(e)?tm.parse(e):Yp.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?qp.transform(e):tm.transform(e),getAnimatableNone:e=>{let t=nm.parse(e);return t.alpha=0,nm.transform(t)}},rm=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function im(e){return isNaN(e)&&typeof e==`string`&&(e.match(Vp)?.length||0)+(e.match(rm)?.length||0)>0}var am=`number`,om=`color`,sm=`var`,cm=`var(`,lm="${}",um=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function dm(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(um,e=>(nm.test(e)?(r.color.push(a),i.push(om),n.push(nm.parse(e))):e.startsWith(cm)?(r.var.push(a),i.push(sm),n.push(e)):(r.number.push(a),i.push(am),n.push(parseFloat(e))),++a,lm)).split(lm),indexes:r,types:i}}function fm(e){return dm(e).values}function pm({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===am?i+=Bp(r[a]):e===om?i+=nm.transform(r[a]):i+=r[a]}return i}}function mm(e){return pm(dm(e))}var hm=e=>typeof e==`number`?0:nm.test(e)?nm.getAnimatableNone(e):e,nee=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:hm(e);function ree(e){let t=dm(e);return pm(t)(t.values.map((e,n)=>nee(e,t.split[n])))}var gm={test:im,parse:fm,createTransformer:mm,getAnimatableNone:ree};function _m(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function iee({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=_m(s,r,e+1/3),a=_m(s,r,e),o=_m(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function vm(e,t){return n=>n>0?t:e}var ym=(e,t,n)=>e+(t-e)*n,bm=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},xm=[Yp,qp,tm],Sm=e=>xm.find(t=>t.test(e));function Cm(e){let t=Sm(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===tm&&(n=iee(n)),n}var wm=(e,t)=>{let n=Cm(e),r=Cm(t);if(!n||!r)return vm(e,t);let i={...n};return e=>(i.red=bm(n.red,r.red,e),i.green=bm(n.green,r.green,e),i.blue=bm(n.blue,r.blue,e),i.alpha=ym(n.alpha,r.alpha,e),qp.transform(i))},Tm=new Set([`none`,`hidden`]);function Em(e,t){return Tm.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Dm(e,t){return n=>ym(e,t,n)}function Om(e){return typeof e==`number`?Dm:typeof e==`string`?Pp(e)?vm:nm.test(e)?wm:Mm:Array.isArray(e)?km:typeof e==`object`?nm.test(e)?wm:Am:vm}function km(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Om(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Am(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Om(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function jm(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Mm=(e,t)=>{let n=gm.createTransformer(t),r=dm(e),i=dm(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Tm.has(e)&&!i.values.length||Tm.has(t)&&!r.values.length?Em(e,t):Wf(km(jm(r,i),i.values),n):(`${e}${t}`,vm(e,t))};function Nm(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?ym(e,t,n):Om(e)(e,t)}var Pm=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>Cp.update(t,e),stop:()=>wp(t),now:()=>Tp.isProcessing?Tp.timestamp:kp.now()}},Fm=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Im=2e4;function Lm(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function aee(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Lm(r),Im);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:Jf(i)}}var Rm={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function zm(e,t){return e*Math.sqrt(1-t*t)}var oee=12;function see(e,t,n){let r=n;for(let n=1;n<oee;n++)r-=e(r)/t(r);return r}var Bm=.001;function Vm({duration:e=Rm.duration,bounce:t=Rm.bounce,velocity:n=Rm.velocity,mass:r=Rm.mass}){let i,a;Rm.maxDuration;let o=1-t;o=If(Rm.minDamping,Rm.maxDamping,o),e=If(Rm.minDuration,Rm.maxDuration,Jf(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=zm(t,o),c=Math.exp(-i);return Bm-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=zm(t**2,o);return(-i(t)+Bm>0?-1:1)*((a-s)*c)/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return-Bm+r*i},a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=see(i,a,s);if(e=qf(e),isNaN(c))return{stiffness:Rm.stiffness,damping:Rm.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var Hm=[`duration`,`bounce`],Um=[`stiffness`,`damping`,`mass`];function Wm(e,t){return t.some(t=>e[t]!==void 0)}function Gm(e){let t={velocity:Rm.velocity,stiffness:Rm.stiffness,damping:Rm.damping,mass:Rm.mass,isResolvedFromDuration:!1,...e};if(!Wm(e,Um)&&Wm(e,Hm))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*If(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Rm.mass,stiffness:i,damping:a}}else{let n=Vm({...e,velocity:0});t={...t,...n,mass:Rm.mass},t.isResolvedFromDuration=!0}return t}function Km(e=Rm.visualDuration,t=Rm.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Gm({...n,velocity:-Jf(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=Jf(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?Rm.restSpeed.granular:Rm.restSpeed.default,i||=v?Rm.restDelta.granular:Rm.restDelta.default;let y,b,x,S,C,w;if(h<1)x=zm(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>qf(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=qf(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=qf(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(Lm(T),Im),t=Fm(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}Km.applyToOptions=e=>{let t=aee(e,100,Km);return e.ease=t.ease,e.duration=qf(t.duration),e.type=`keyframes`,e};var qm=5;function Jm(e,t,n){let r=Math.max(t-qm,0);return Yf(n-e(r),t-r)}function Ym({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=Km({keyframes:[f.value,m(f.value)],velocity:Jm(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function Xm(e,t,n){let r=[],i=n||Lf.mix||Nm,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=Wf(Array.isArray(t)?t[n]||Hf:t,a)),r.push(a)}return r}function Zm(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Xm(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=Gf(e[r],e[r+1],n);return s[r](i)};return n?t=>l(If(e[0],e[a-1],t)):l}function Qm(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Gf(0,t,r);e.push(ym(n,1,i))}}function $m(e){let t=[0];return Qm(t,e.length-1),t}function eh(e,t){return e.map(e=>e*t)}function th(e,t){return e.map(()=>t||fp).splice(0,e.length-1)}function nh({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=pp(r)?r.map(_p):_p(r),a={done:!1,value:t[0]},o=Zm(eh(n&&n.length===t.length?n:$m(t),e),t,{ease:Array.isArray(i)?i:th(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var rh=e=>e!==null;function ih(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(rh),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var ah={decay:Ym,inertia:Ym,tween:nh,keyframes:nh,spring:Km};function oh(e){typeof e.type==`string`&&(e.type=ah[e.type])}var sh=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},ch=e=>e/100,lh=class extends sh{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==kp.now()&&this.tick(kp.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},Ap.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;oh(e);let{type:t=nh,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||nh;s!==nh&&typeof o[0]!=`number`&&(this.mixKeyframes=Wf(ch,Nm(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Lm(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=If(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==Ym&&(b.value=ih(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return Jf(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Jf(e)}get time(){return Jf(this.currentTime)}set time(e){e=qf(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return Jm(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(kp.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=Jf(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Pm,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(kp.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null,Ap.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function uh(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var dh=e=>e*180/Math.PI,fh=e=>mh(dh(Math.atan2(e[1],e[0]))),ph={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:fh,rotateZ:fh,skewX:e=>dh(Math.atan(e[1])),skewY:e=>dh(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},mh=e=>(e%=360,e<0&&(e+=360),e),hh=fh,gh=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),_h=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),vh={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:gh,scaleY:_h,scale:e=>(gh(e)+_h(e))/2,rotateX:e=>mh(dh(Math.atan2(e[6],e[5]))),rotateY:e=>mh(dh(Math.atan2(-e[2],e[0]))),rotateZ:hh,rotate:hh,skewX:e=>dh(Math.atan(e[4])),skewY:e=>dh(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function yh(e){return+!!e.includes(`scale`)}function bh(e,t){if(!e||e===`none`)return yh(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=vh,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=ph,i=t}if(!i)return yh(t);let a=r[t],o=i[1].split(`,`).map(Sh);return typeof a==`function`?a(o):o[a]}var xh=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return bh(n,t)};function Sh(e){return parseFloat(e.trim())}var Ch=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],wh=new Set(Ch),Th=e=>e===Lp||e===J,Eh=new Set([`x`,`y`,`z`]),Dh=Ch.filter(e=>!Eh.has(e));function Oh(e){let t=[];return Dh.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var kh={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>bh(t,`x`),y:(e,{transform:t})=>bh(t,`y`)};kh.translateX=kh.x,kh.translateY=kh.y;var Ah=new Set,jh=!1,Mh=!1,Nh=!1;function Ph(){if(Mh){let e=Array.from(Ah).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Oh(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Mh=!1,jh=!1,Ah.forEach(e=>e.complete(Nh)),Ah.clear()}function Fh(){Ah.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Mh=!0)})}function Ih(){Nh=!0,Fh(),Ph(),Nh=!1}var Lh=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Ah.add(this),jh||(jh=!0,Cp.read(Fh),Cp.resolveKeyframes(Ph))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}uh(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Ah.delete(this)}cancel(){this.state===`scheduled`&&(Ah.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Rh=e=>e.startsWith(`--`);function zh(e,t,n){Rh(t)?e.style.setProperty(t,n):e.style[t]=n}var Bh={};function Vh(e,t){let n=Vf(e);return()=>Bh[t]??n()}var Hh=Vh(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),Uh=Vh(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),Wh=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Gh={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:Wh([0,.65,.55,1]),circOut:Wh([.55,0,1,.45]),backIn:Wh([.31,.01,.66,-.59]),backOut:Wh([.33,1.53,.69,.99])};function Kh(e,t){if(e)return typeof e==`function`?Uh()?Fm(e,t):`ease-out`:mp(e)?Wh(e):Array.isArray(e)?e.map(e=>Kh(e,t)||Gh.easeOut):Gh[e]}function qh(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=Kh(s,i);Array.isArray(d)&&(u.easing=d),yp.value&&Ap.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return yp.value&&p.finished.finally(()=>{Ap.waapi--}),p}function Jh(e){return typeof e==`function`&&`applyToOptions`in e}function Yh({type:e,...t}){return Jh(e)&&Uh()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var Xh=class extends sh{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=Yh(e);this.animation=qh(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=ih(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),zh(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return Jf(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Jf(e)}get time(){return Jf(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=qf(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&Hh()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),Hf):r(this)}},Zh={anticipate:op,backInOut:ap,circInOut:lp};function Qh(e){return e in Zh}function $h(e){typeof e.ease==`string`&&Qh(e.ease)&&(e.ease=Zh[e.ease])}var eg=10,tg=class extends Xh{constructor(e){$h(e),oh(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new lh({...a,autoplay:!1}),s=Math.max(eg,kp.now()-this.startTime),c=If(0,eg,s-eg),l=o.sample(s).value,{name:u}=this.options;i&&u&&zh(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},ng=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(gm.test(e)||e===`0`)&&!e.startsWith(`url(`));function cee(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function lee(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=ng(i,t),s=ng(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:cee(e)||(n===`spring`||Jh(n))&&r}function rg(e){e.duration=0,e.type=`keyframes`}var ig=new Set([`opacity`,`clipPath`,`filter`,`transform`]),uee=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function dee(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&uee.test(e[t]))return!0;return!1}var fee=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),pee=Vf(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function mee(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return pee()&&n&&(ig.has(n)||fee.has(n)&&dee(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var hee=40,gee=class extends sh{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=kp.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u};this.keyframeResolver=new(l?.KeyframeResolver||Lh)(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=kp.now();let u=!0;lee(e,i,a,o)||(u=!1,(Lf.instantAnimations||!s)&&l?.(ih(e,n,t)),e[0]=e[e.length-1],rg(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>hee?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&mee(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new tg({...d,element:p})}catch{m=new lh(d)}else m=new lh(d);m.finished.then(()=>{this.notifyFinished()}).catch(Hf),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Ih()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function ag(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var _ee=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function vee(e){let t=_ee.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function og(e,t,n=1){`${e}`;let[r,i]=vee(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Rf(e)?parseFloat(e):e}return Pp(i)?og(i,t,n+1):i}var yee={type:`spring`,stiffness:500,damping:25,restSpeed:10},bee=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),xee={type:`keyframes`,duration:.8},See={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Cee=(e,{keyframes:t})=>t.length>2?xee:wh.has(e)?e.startsWith(`scale`)?bee(t[1]):yee:See;function sg(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function cg(e,t){let n=e?.[t]??e?.default??e;return n===e?n:sg(n,e)}var wee=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Tee(e){for(let t in e)if(!wee.has(t))return!0;return!1}var lg=(e,t,n,r={},i,a)=>o=>{let s=cg(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=qf(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};Tee(s)||Object.assign(u,Cee(e,u)),u.duration&&=qf(u.duration),u.repeatDelay&&=qf(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(rg(u),u.delay===0&&(d=!0)),(Lf.instantAnimations||Lf.skipAnimations||i?.shouldSkipAnimations)&&(d=!0,rg(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=ih(u.keyframes,s);if(e!==void 0){Cp.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new lh(u):new gee(u)};function ug(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function dg(e,t,n,r){if(typeof t==`function`){let[i,a]=ug(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=ug(r);t=t(n===void 0?e.custom:n,i,a)}return t}function fg(e,t,n){let r=e.getProps();return dg(r,t,n===void 0?r.custom:n,e)}var pg=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Ch]),mg=30,hg=e=>!isNaN(parseFloat(e)),gg={current:void 0},_g=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=kp.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=kp.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=hg(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new Kf);let n=this.events[e].add(t);return e===`change`?()=>{n(),Cp.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return gg.current&&gg.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=kp.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>mg)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,mg);return Yf(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function vg(e,t){return new _g(e,t)}var yg=e=>Array.isArray(e);function bg(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,vg(n))}function xg(e){return yg(e)?e[e.length-1]||0:e}function Eee(e,t){let{transitionEnd:n={},transition:r={},...i}=fg(e,t)||{};i={...i,...n};for(let t in i)bg(e,t,xg(i[t]))}var Sg=e=>!!(e&&e.getVelocity);function Dee(e){return!!(Sg(e)&&e.add)}function Cg(e,t){let n=e.getValue(`willChange`);if(Dee(n))return n.add(t);if(!n&&Lf.WillChange){let n=new Lf.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function wg(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Tg=`data-`+wg(`framerAppearId`);function Eg(e){return e.props[Tg]}function Dg({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Og(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?sg(a,c):c;let l=a?.reduceMotion;r&&(a=r);let u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||d&&Dg(d,t))continue;let o={delay:n,...cg(a||{},t)},c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){Cp.update(()=>r.set(i));continue}let f=!1;if(window.MotionHandoffAnimation){let n=Eg(e);if(n){let e=window.MotionHandoffAnimation(n,t,Cp);e!==null&&(o.startTime=e,f=!0)}}Cg(e,t);let p=l??e.shouldReduceMotion;r.start(lg(t,r,i,p&&pg.has(t)?{type:!1}:o,e,f));let m=r.animation;m&&u.push(m)}if(o){let t=()=>Cp.update(()=>{o&&Eee(e,o)});u.length?Promise.all(u).then(t):t()}return u}function kg(e,t,n={}){let r=fg(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(Og(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Oee(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function Oee(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(kg(c,t,{...o,delay:n+(typeof r==`function`?0:r)+ag(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function kee(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>kg(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=kg(e,t,n);else{let i=typeof t==`function`?fg(e,t,n.custom):t;r=Promise.all(Og(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var Aee={test:e=>e===`auto`,parse:e=>e},Ag=e=>t=>t.test(e),jg=[Lp,J,Qp,Zp,$p,tee,Aee],Mg=e=>jg.find(Ag(e));function Ng(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||Bf(e)}var Pg=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Fg(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Vp)||[];if(!r)return e;let i=n.replace(r,``),a=+!!Pg.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var Ig=/\b([a-z-]*)\(.*?\)/gu,Lg={...gm,getAnimatableNone:e=>{let t=e.match(Ig);return t?t.map(Fg).join(` `):e}},Rg={...gm,getAnimatableNone:e=>{let t=gm.parse(e);return gm.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},zg={...Lp,transform:Math.round},Bg={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,top:J,right:J,bottom:J,left:J,inset:J,insetBlock:J,insetBlockStart:J,insetBlockEnd:J,insetInline:J,insetInlineStart:J,insetInlineEnd:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,paddingBlock:J,paddingBlockStart:J,paddingBlockEnd:J,paddingInline:J,paddingInlineStart:J,paddingInlineEnd:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,marginBlock:J,marginBlockStart:J,marginBlockEnd:J,marginInline:J,marginInlineStart:J,marginInlineEnd:J,fontSize:J,backgroundPositionX:J,backgroundPositionY:J,rotate:Zp,rotateX:Zp,rotateY:Zp,rotateZ:Zp,scale:zp,scaleX:zp,scaleY:zp,scaleZ:zp,skew:Zp,skewX:Zp,skewY:Zp,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:Rp,originX:em,originY:em,originZ:J,zIndex:zg,fillOpacity:Rp,strokeOpacity:Rp,numOctaves:zg},jee={...Bg,color:nm,backgroundColor:nm,outlineColor:nm,fill:nm,stroke:nm,borderColor:nm,borderTopColor:nm,borderRightColor:nm,borderBottomColor:nm,borderLeftColor:nm,filter:Lg,WebkitFilter:Lg,mask:Rg,WebkitMask:Rg},Vg=e=>jee[e],Hg=new Set([Lg,Rg]);function Ug(e,t){let n=Vg(e);return Hg.has(n)||(n=gm),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Wg=new Set([`auto`,`none`,`0`]);function Gg(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Wg.has(t)&&dm(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Ug(n,i)}var Kg=class extends Lh{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),Pp(r))){let i=og(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!pg.has(n)||e.length!==2)return;let[r,i]=e,a=Mg(r),o=Mg(i);if(Ip(r)!==Ip(i)&&kh[n]){this.needsMeasurement=!0;return}if(a!==o)if(Th(a)&&Th(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else kh[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||Ng(e[t]))&&n.push(t);n.length&&Gg(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=kh[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=kh[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function qg(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var Jg=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Yg(e){return zf(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:Xg,cancel:Mee}=Sp(queueMicrotask,!1),Zg={x:!1,y:!1};function Qg(){return Zg.x||Zg.y}function Nee(e){return e===`x`||e===`y`?Zg[e]?null:(Zg[e]=!0,()=>{Zg[e]=!1}):Zg.x||Zg.y?null:(Zg.x=Zg.y=!0,()=>{Zg.x=Zg.y=!1})}function $g(e,t){let n=qg(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Pee(e){return!(e.pointerType===`touch`||Qg())}function Fee(e,t,n={}){let[r,i,a]=$g(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!Pee(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var e_=(e,t)=>t?e===t?!0:e_(e,t.parentElement):!1,t_=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,n_=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function r_(e){return n_.has(e.tagName)||e.isContentEditable===!0}var i_=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function a_(e){return i_.has(e.tagName)||e.isContentEditable===!0}var o_=new WeakSet;function s_(e){return t=>{t.key===`Enter`&&e(t)}}function c_(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var l_=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=s_(()=>{if(o_.has(n))return;c_(n,`down`);let e=s_(()=>{c_(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>c_(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function u_(e){return t_(e)&&!Qg()}var d_=new WeakSet;function f_(e,t,n={}){let[r,i,a]=$g(e,n),o=e=>{let r=e.currentTarget;if(!u_(e)||d_.has(e))return;o_.add(r),n.stopPropagation&&d_.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),o_.has(r)&&o_.delete(r),u_(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||e_(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Yg(e)&&(e.addEventListener(`focus`,e=>l_(e,i)),!r_(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function p_(e){return zf(e)&&`ownerSVGElement`in e}var m_=new WeakMap,h_,g_=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:p_(r)&&`getBBox`in r?r.getBBox()[t]:r[n],__=g_(`inline`,`width`,`offsetWidth`),v_=g_(`block`,`height`,`offsetHeight`);function y_({target:e,borderBoxSize:t}){m_.get(e)?.forEach(n=>{n(e,{get width(){return __(e,t)},get height(){return v_(e,t)}})})}function b_(e){e.forEach(y_)}function x_(){typeof ResizeObserver>`u`||(h_=new ResizeObserver(b_))}function S_(e,t){h_||x_();let n=qg(e);return n.forEach(e=>{let n=m_.get(e);n||(n=new Set,m_.set(e,n)),n.add(t),h_?.observe(e)}),()=>{n.forEach(e=>{let n=m_.get(e);n?.delete(t),n?.size||h_?.unobserve(e)})}}var C_=new Set,w_;function T_(){w_=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};C_.forEach(t=>t(e))},window.addEventListener(`resize`,w_)}function E_(e){return C_.add(e),w_||T_(),()=>{C_.delete(e),!C_.size&&typeof w_==`function`&&(window.removeEventListener(`resize`,w_),w_=void 0)}}function D_(e,t){return typeof e==`function`?E_(e):S_(e,t)}function O_(e){return p_(e)&&e.tagName===`svg`}var k_=[...jg,nm,gm],A_=e=>k_.find(Ag(e)),j_=()=>({translate:0,scale:1,origin:0,originPoint:0}),M_=()=>({x:j_(),y:j_()}),N_=()=>({min:0,max:0}),P_=()=>({x:N_(),y:N_()}),F_=new WeakMap;function I_(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function L_(e){return typeof e==`string`||Array.isArray(e)}var R_=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],z_=[`initial`,...R_];function B_(e){return I_(e.animate)||z_.some(t=>L_(e[t]))}function V_(e){return!!(B_(e)||e.variants)}function H_(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Sg(i))e.addValue(r,i);else if(Sg(a))e.addValue(r,vg(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,vg(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var U_={current:null},W_={current:!1},G_=typeof window<`u`;function K_(){if(W_.current=!0,G_)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>U_.current=e.matches;e.addEventListener(`change`,t),t()}else U_.current=!1}var q_=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],J_={};function Y_(e){J_=e}function X_(){return J_}var Iee=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Lh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=kp.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,Cp.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=B_(t),this.isVariantNode=V_(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&Sg(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,F_.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(W_.current||K_(),this.shouldReduceMotion=U_.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),wp(this.notifyUpdate),wp(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&ig.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new Xh({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:qf(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=wh.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&Cp.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in J_){let t=J_[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):P_()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<q_.length;t++){let n=q_[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=H_(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=vg(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(Rf(n)||Bf(n))?n=parseFloat(n):!A_(n)&&gm.test(t)&&(n=Ug(e,t)),this.setBaseTarget(e,Sg(n)?n.get():n)),Sg(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=dg(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!Sg(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Kf),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Xg.render(this.render)}},Z_=class extends Iee{constructor(){super(...arguments),this.KeyframeResolver=Kg}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Sg(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},Q_=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function $_({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Lee({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Ree(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function ev(e){return e===void 0||e===1}function tv({scale:e,scaleX:t,scaleY:n}){return!ev(e)||!ev(t)||!ev(n)}function nv(e){return tv(e)||rv(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function rv(e){return iv(e.x)||iv(e.y)}function iv(e){return e&&e!==`0%`}function av(e,t,n){return n+t*(e-n)}function ov(e,t,n,r,i){return i!==void 0&&(e=av(e,i,r)),av(e,n,r)+t}function sv(e,t=0,n=1,r,i){e.min=ov(e.min,t,n,r,i),e.max=ov(e.max,t,n,r,i)}function cv(e,{x:t,y:n}){sv(e.x,t.translate,t.scale,t.originPoint),sv(e.y,n.translate,n.scale,n.originPoint)}var lv=.999999999999,uv=1.0000000000001;function dv(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(fv(e.x,-a.scroll.offset.x),fv(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,cv(e,o)),r&&nv(a.latestValues)&&hv(e,a.latestValues,a.layout?.layoutBox))}t.x<uv&&t.x>lv&&(t.x=1),t.y<uv&&t.y>lv&&(t.y=1)}function fv(e,t){e.min+=t,e.max+=t}function pv(e,t,n,r,i=.5){sv(e,t,n,ym(e.min,e.max,i),r)}function mv(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function hv(e,t,n){let r=n??e;pv(e.x,mv(t.x,r.x),t.scaleX,t.scale,t.originX),pv(e.y,mv(t.y,r.y),t.scaleY,t.scale,t.originY)}function gv(e,t){return $_(Ree(e.getBoundingClientRect(),t))}function _v(e,t,n){let r=gv(e,n),{scroll:i}=t;return i&&(fv(r.x,i.offset.x),fv(r.y,i.offset.y)),r}var vv={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},yv=Ch.length;function bv(e,t,n){let r=``,i=!0;for(let a=0;a<yv;a++){let o=Ch[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=Jg(s,Bg[o]);if(!c){i=!1;let t=vv[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function xv(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(wh.has(e)){o=!0;continue}else if(Mp(e)){i[e]=n;continue}else{let t=Jg(n,Bg[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=bv(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function Sv(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function Cv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var wv={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(J.test(e))e=parseFloat(e);else return e;return`${Cv(e,t.target.x)}% ${Cv(e,t.target.y)}%`}},Tv={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=gm.parse(e);if(i.length>5)return r;let a=gm.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=ym(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},Ev={borderRadius:{...wv,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:wv,borderTopRightRadius:wv,borderBottomLeftRadius:wv,borderBottomRightRadius:wv,boxShadow:Tv};function Dv(e,{layout:t,layoutId:n}){return wh.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!Ev[e]||e===`opacity`)}function Ov(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Sg(r[t])||i&&Sg(i[t])||Dv(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function kv(e){return window.getComputedStyle(e)}var Av=class extends Z_{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Sv}readValueFromInstance(e,t){if(wh.has(t))return this.projection?.isProjecting?yh(t):xh(e,t);{let n=kv(e),r=(Mp(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return gv(e,t)}build(e,t,n){xv(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Ov(e,t,n)}},jv={offset:`stroke-dashoffset`,array:`stroke-dasharray`},Mv={offset:`strokeDashoffset`,array:`strokeDasharray`};function Nv(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?jv:Mv;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Pv=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Fv(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(xv(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Pv)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Nv(d,i,a,o,!1)}var Iv=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),Lv=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Rv(e,t,n,r){Sv(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Iv.has(n)?n:wg(n),t.attrs[n])}function zv(e,t,n){let r=Ov(e,t,n);for(let n in e)if(Sg(e[n])||Sg(t[n])){let t=Ch.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Bv=class extends Z_{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=P_}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(wh.has(t)){let e=Vg(t);return e&&e.default||0}return t=Iv.has(t)?t:wg(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return zv(e,t,n)}build(e,t,n){Fv(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Rv(e,t,n,r)}mount(e){this.isSVGTag=Lv(e.tagName),super.mount(e)}},Vv=z_.length;function Hv(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Hv(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Vv;n++){let r=z_[n],i=e.props[r];(L_(i)||i===!1)&&(t[r]=i)}return t}function Uv(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Wv=[...R_].reverse(),Gv=R_.length;function Kv(e){return t=>Promise.all(t.map(({animation:t,options:n})=>kee(e,t,n)))}function qv(e){let t=Kv(e),n=Xv(),r=!0,i=!1,a=t=>(n,r)=>{let i=fg(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Hv(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Gv;t++){let p=Wv[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=L_(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||I_(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Jv(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=yg(t)&&yg(n)?!Uv(t,n):t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=fg(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=ag(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=fg(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Xv(),i=!0}}}function Jv(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Uv(t,e):!1}function Yv(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Xv(){return{animate:Yv(!0),whileInView:Yv(),whileHover:Yv(),whileTap:Yv(),whileDrag:Yv(),whileFocus:Yv(),exit:Yv()}}function Zv(e,t){e.min=t.min,e.max=t.max}function Qv(e,t){Zv(e.x,t.x),Zv(e.y,t.y)}function $v(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var ey=1e-4,ty=1-ey,ny=1+ey,ry=.01,iy=0-ry,ay=0+ry;function oy(e){return e.max-e.min}function sy(e,t,n){return Math.abs(e-t)<=n}function cy(e,t,n,r=.5){e.origin=r,e.originPoint=ym(t.min,t.max,e.origin),e.scale=oy(n)/oy(t),e.translate=ym(n.min,n.max,e.origin)-e.originPoint,(e.scale>=ty&&e.scale<=ny||isNaN(e.scale))&&(e.scale=1),(e.translate>=iy&&e.translate<=ay||isNaN(e.translate))&&(e.translate=0)}function ly(e,t,n,r){cy(e.x,t.x,n.x,r?r.originX:void 0),cy(e.y,t.y,n.y,r?r.originY:void 0)}function uy(e,t,n,r=0){e.min=(r?ym(n.min,n.max,r):n.min)+t.min,e.max=e.min+oy(t)}function dy(e,t,n,r){uy(e.x,t.x,n.x,r?.x),uy(e.y,t.y,n.y,r?.y)}function fy(e,t,n,r=0){let i=r?ym(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+oy(t)}function py(e,t,n,r){fy(e.x,t.x,n.x,r?.x),fy(e.y,t.y,n.y,r?.y)}function my(e,t,n,r,i){return e-=t,e=av(e,1/n,r),i!==void 0&&(e=av(e,1/i,r)),e}function hy(e,t=0,n=1,r=.5,i,a=e,o=e){if(Qp.test(t)&&(t=parseFloat(t),t=ym(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=ym(a.min,a.max,r);e===a&&(s-=t),e.min=my(e.min,t,n,s,i),e.max=my(e.max,t,n,s,i)}function gy(e,t,[n,r,i],a,o){hy(e,t[n],t[r],t[i],t.scale,a,o)}var _y=[`x`,`scaleX`,`originX`],vy=[`y`,`scaleY`,`originY`];function yy(e,t,n,r){gy(e.x,t,_y,n?n.x:void 0,r?r.x:void 0),gy(e.y,t,vy,n?n.y:void 0,r?r.y:void 0)}function by(e){return e.translate===0&&e.scale===1}function xy(e){return by(e.x)&&by(e.y)}function Sy(e,t){return e.min===t.min&&e.max===t.max}function Cy(e,t){return Sy(e.x,t.x)&&Sy(e.y,t.y)}function wy(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Ty(e,t){return wy(e.x,t.x)&&wy(e.y,t.y)}function Ey(e){return oy(e.x)/oy(e.y)}function Dy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Oy(e){return[e(`x`),e(`y`)]}function ky(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),s&&(r+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var Ay=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],jy=Ay.length,My=e=>typeof e==`string`?parseFloat(e):e,Ny=e=>typeof e==`number`||J.test(e);function Py(e,t,n,r,i,a){i?(e.opacity=ym(0,n.opacity??1,Iy(r)),e.opacityExit=ym(t.opacity??1,0,Ly(r))):a&&(e.opacity=ym(t.opacity??1,n.opacity??1,r));for(let i=0;i<jy;i++){let a=Ay[i],o=Fy(t,a),s=Fy(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Ny(o)===Ny(s)?(e[a]=Math.max(ym(My(o),My(s),r),0),(Qp.test(s)||Qp.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=ym(t.rotate||0,n.rotate||0,r))}function Fy(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Iy=Ry(0,.5,cp),Ly=Ry(.5,.95,Hf);function Ry(e,t,n){return r=>r<e?0:r>t?1:n(Gf(e,t,r))}function zy(e,t,n){let r=Sg(e)?e:vg(e);return r.start(lg(``,r,t,n)),r.animation}function By(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Vy=(e,t)=>e.depth-t.depth,Hy=class{constructor(){this.children=[],this.isDirty=!1}add(e){Pf(this.children,e),this.isDirty=!0}remove(e){Ff(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Vy),this.isDirty=!1,this.children.forEach(e)}};function Uy(e,t){let n=kp.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(wp(r),e(a-t))};return Cp.setup(r,!0),()=>wp(r)}function Wy(e){return Sg(e)?e.get():e}var Gy=class{constructor(){this.members=[]}add(e){Pf(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(Ff(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Ff(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},Ky={hasAnimatedSinceResize:!0,hasEverUpdated:!1},qy={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Jy=[``,`X`,`Y`,`Z`],Yy=1e3,Xy=0;function Zy(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Qy(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Eg(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,Cp,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Qy(r)}function $y({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Xy++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,yp.value&&(qy.nodes=qy.calculatedTargetDeltas=qy.calculatedProjections=0),this.nodes.forEach(Vee),this.nodes.forEach(qee),this.nodes.forEach(Jee),this.nodes.forEach(Hee),yp.addProjectionMetrics&&yp.addProjectionMetrics(qy)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Hy)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Kf),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=p_(t)&&!O_(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;Cp.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Uy(i,250),Ky.hasAnimatedSinceResize&&(Ky.hasAnimatedSinceResize=!1,this.nodes.forEach(nb)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||$ee,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!Ty(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...cg(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l)}else t||nb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),wp(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Yee),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Qy(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Wee),this.nodes.forEach(eb);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(tb);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Gee),this.nodes.forEach(Kee),this.nodes.forEach(zee),this.nodes.forEach(Bee)):this.nodes.forEach(tb),this.clearAllSnapshots();let e=kp.now();Tp.delta=If(0,1e3/60,e-Tp.timestamp),Tp.timestamp=e,Tp.isProcessing=!0,Ep.update.process(Tp),Ep.preRender.process(Tp),Ep.render.process(Tp),Tp.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Xg.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Uee),this.sharedNodes.forEach(Xee)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Cp.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Cp.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!oy(this.snapshot.measuredBox.x)&&!oy(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=P_(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!xy(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||nv(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),ete(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return P_();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tte))){let{scroll:e}=this.root;e&&(fv(t.x,e.offset.x),fv(t.y,e.offset.y))}return t}removeElementScroll(e){let t=P_();if(Qv(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Qv(t,e),fv(t.x,i.offset.x),fv(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||P_();Qv(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(fv(r.x,-n.scroll.offset.x),fv(r.y,-n.scroll.offset.y)),nv(n.latestValues)&&hv(r,n.latestValues,n.layout?.layoutBox)}return nv(this.latestValues)&&hv(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=P_();Qv(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!nv(n.latestValues))continue;let r;n.instance&&(tv(n.latestValues)&&n.updateSnapshot(),r=P_(),Qv(r,n.measurePageBox())),yy(t,n.latestValues,n.snapshot?.layoutBox,r)}return nv(this.latestValues)&&yy(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Tp.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=Tp.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=P_(),this.targetWithTransforms=P_()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),dy(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Qv(this.target,this.layout.layoutBox),cv(this.target,this.targetDelta)):Qv(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),yp.value&&qy.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||tv(this.parent.latestValues)||rv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=P_(),this.relativeTargetOrigin=P_(),py(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Qv(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Tp.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Qv(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;dv(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=P_());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():($v(this.prevProjectionDelta.x,this.projectionDelta.x),$v(this.prevProjectionDelta.y,this.projectionDelta.y)),ly(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!Dy(this.projectionDelta.x,this.prevProjectionDelta.x)||!Dy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),yp.value&&qy.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=M_(),this.projectionDelta=M_(),this.projectionDeltaWithTransform=M_()}setAnimationOrigin(e,t=!1){let n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},a=M_();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=P_(),s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),l=!c||c.members.length<=1,u=!!(s&&!l&&this.options.crossfade===!0&&!this.path.some(Qee));this.animationProgress=0;let d;this.mixTargetDelta=t=>{let n=t/1e3;rb(a.x,e.x,n),rb(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(py(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Zee(this.relativeTarget,this.relativeTargetOrigin,o,n),d&&Cy(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||=P_(),Qv(d,this.relativeTarget)),s&&(this.animationValues=i,Py(i,r,this.latestValues,n,u,l)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(wp(this.pendingAnimation),void 0),this.pendingAnimation=Cp.update(()=>{Ky.hasAnimatedSinceResize=!0,Ap.layout++,this.motionValue||=vg(0),this.motionValue.jump(0,!1),this.currentAnimation=zy(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Ap.layout--},onComplete:()=>{Ap.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Yy),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&cb(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||P_();let t=oy(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=oy(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Qv(t,n),hv(t,i),ly(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Gy),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Zy(`z`,e,r,this.animationValues);for(let t=0;t<Jy.length;t++)Zy(`rotate${Jy[t]}`,e,r,this.animationValues),Zy(`skew${Jy[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Wy(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Wy(t?.pointerEvents)||``),this.hasProjected&&!nv(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=ky(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in Ev){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=Ev[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Wy(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(eb),this.root.sharedNodes.clear()}}}function zee(e){e.updateLayout()}function Bee(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)Oy(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=oy(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Zv(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else cb(i,t.layoutBox,n)&&Oy(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=oy(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=M_();ly(o,n,t.layoutBox);let s=M_();a?ly(s,e.applyTransform(r,!0),t.measuredBox):ly(s,n,t.layoutBox);let c=!xy(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=P_();py(s,t.layoutBox,i.layoutBox,o);let c=P_();py(c,n,a.layoutBox,o),Ty(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Vee(e){yp.value&&qy.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Hee(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Uee(e){e.clearSnapshot()}function eb(e){e.clearMeasurements()}function Wee(e){e.isLayoutDirty=!0,e.updateLayout()}function tb(e){e.isLayoutDirty=!1}function Gee(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Kee(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function nb(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function qee(e){e.resolveTargetDelta()}function Jee(e){e.calcProjection()}function Yee(e){e.resetSkewAndRotation()}function Xee(e){e.removeLeadSnapshot()}function rb(e,t,n){e.translate=ym(t.translate,0,n),e.scale=ym(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ib(e,t,n,r){e.min=ym(t.min,n.min,r),e.max=ym(t.max,n.max,r)}function Zee(e,t,n,r){ib(e.x,t.x,n.x,r),ib(e.y,t.y,n.y,r)}function Qee(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var $ee={duration:.45,ease:[.4,0,.1,1]},ab=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ob=ab(`applewebkit/`)&&!ab(`chrome/`)?Math.round:Hf;function sb(e){e.min=ob(e.min),e.max=ob(e.max)}function ete(e){sb(e.x),sb(e.y)}function cb(e,t,n){return e===`position`||e===`preserve-aspect`&&!sy(Ey(t),Ey(n),.2)}function tte(e){return e!==e.root&&e.scroll?.wasRoot}var nte=$y({attachResizeListener:(e,t)=>By(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),lb={current:void 0},ub=$y({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!lb.current){let e=new nte({});e.mount(window),e.setOptions({layoutScroll:!0}),lb.current=e}return lb.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),db=(0,L.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function fb(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function rte(...e){return t=>{let n=!1,r=e.map(e=>{let r=fb(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():fb(e[t],null)}}}}function ite(...e){return L.useCallback(rte(...e),e)}var ate=class extends L.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(Yg(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=Yg(e)&&e.offsetWidth||0,r=Yg(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}};function ote({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,L.useId)(),s=(0,L.useRef)(null),c=(0,L.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:l}=(0,L.useContext)(db),u=ite(s,e.props?.ref??e?.ref);return(0,L.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m}=c.current;if(t||a===!1||!s.current||!e||!u)return;let h=n===`left`?`left: ${f}`:`right: ${p}`,g=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let _=document.createElement(`style`);l&&(_.nonce=l);let v=i??document.head;return v.appendChild(_),_.sheet&&_.sheet.insertRule(`
|
|
19
|
+
`+n)}}catch{}}throw e}}_request(e,t){typeof e==`string`?(t||={},t.url=e):t=e||{},t=Fo(this.defaults,t);let{transitional:n,paramsSerializer:r,headers:i}=t;n!==void 0&&ls.assertOptions(n,{silentJSONParsing:us.transitional(us.boolean),forcedJSONParsing:us.transitional(us.boolean),clarifyTimeoutError:us.transitional(us.boolean),legacyInterceptorReqResOrdering:us.transitional(us.boolean)},!1),r!=null&&(B.isFunction(r)?t.paramsSerializer={serialize:r}:ls.assertOptions(r,{encode:us.function,serialize:us.function},!0)),t.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls===void 0?t.allowAbsoluteUrls=!0:t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls),ls.assertOptions(t,{baseUrl:us.spelling(`baseURL`),withXsrfToken:us.spelling(`withXSRFToken`)},!0),t.method=(t.method||this.defaults.method||`get`).toLowerCase();let a=i&&B.merge(i.common,i[t.method]);i&&B.forEach([`delete`,`get`,`head`,`post`,`put`,`patch`,`common`],e=>{delete i[e]}),t.headers=vo.concat(a,i);let o=[],s=!0;this.interceptors.request.forEach(function(e){if(typeof e.runWhen==`function`&&e.runWhen(t)===!1)return;s&&=e.synchronous;let n=t.transitional||Ha;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});let c=[];this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let l,u=0,d;if(!s){let e=[is.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let f=t;for(;u<d;){let e=o[u++],t=o[u++];try{f=e(f)}catch(e){t.call(this,e);break}}try{l=is.call(this,f)}catch(e){return Promise.reject(e)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return e=Fo(this.defaults,e),Ba(No(e.baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}};B.forEach([`delete`,`get`,`head`,`options`],function(e){ds.prototype[e]=function(t,n){return this.request(Fo(n||{},{method:e,url:t,data:(n||{}).data}))}}),B.forEach([`post`,`put`,`patch`],function(e){function t(t){return function(n,r,i){return this.request(Fo(i||{},{method:e,headers:t?{"Content-Type":`multipart/form-data`}:{},url:n,data:r}))}}ds.prototype[e]=t(),ds.prototype[e+`Form`]=t(!0)});var fs=class e{constructor(e){if(typeof e!=`function`)throw TypeError(`executor must be a function.`);let t;this.promise=new Promise(function(e){t=e});let n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t,r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new xo(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;let t=this._listeners.indexOf(e);t!==-1&&this._listeners.splice(t,1)}toAbortSignal(){let e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let t;return{token:new e(function(e){t=e}),cancel:t}}};function ps(e){return function(t){return e.apply(null,t)}}function ms(e){return B.isObject(e)&&e.isAxiosError===!0}var hs={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,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(hs).forEach(([e,t])=>{hs[t]=e});function gs(e){let t=new ds(e),n=vi(ds.prototype.request,t);return B.extend(n,ds.prototype,t,{allOwnKeys:!0}),B.extend(n,t,null,{allOwnKeys:!0}),n.create=function(t){return gs(Fo(e,t))},n}var _s=gs(ro);_s.Axios=ds,_s.CanceledError=xo,_s.CancelToken=fs,_s.isCancel=bo,_s.VERSION=as,_s.toFormData=Fa,_s.AxiosError=ka,_s.Cancel=_s.CanceledError,_s.all=function(e){return Promise.all(e)},_s.spread=ps,_s.isAxiosError=ms,_s.mergeConfig=Fo,_s.AxiosHeaders=vo,_s.formToJSON=e=>eo(B.isHTMLForm(e)?new FormData(e):e),_s.getAdapter=ns.getAdapter,_s.HttpStatusCode=hs,_s.default=_s;var vs=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),ys=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),bs=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),xs=e=>{let t=bs(e);return t.charAt(0).toUpperCase()+t.slice(1)},Ss={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},Cs=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},ws=(0,L.createContext)({}),Ts=()=>(0,L.useContext)(ws),Es=(0,L.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>{let{size:l=24,strokeWidth:u=2,absoluteStrokeWidth:d=!1,color:f=`currentColor`,className:p=``}=Ts()??{},m=r??d?Number(n??u)*24/Number(t??l):n??u;return(0,L.createElement)(`svg`,{ref:c,...Ss,width:t??l??Ss.width,height:t??l??Ss.height,stroke:e??f,strokeWidth:m,className:vs(`lucide`,p,i),...!a&&!Cs(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,L.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),V=(e,t)=>{let n=(0,L.forwardRef)(({className:n,...r},i)=>(0,L.createElement)(Es,{ref:i,iconNode:t,className:vs(`lucide-${ys(xs(e))}`,`lucide-${e}`,n),...r}));return n.displayName=xs(e),n},Ds=V(`activity`,[[`path`,{d:`M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2`,key:`169zse`}]]),Os=V(`archive`,[[`rect`,{width:`20`,height:`5`,x:`2`,y:`3`,rx:`1`,key:`1wp1u1`}],[`path`,{d:`M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8`,key:`1s80jp`}],[`path`,{d:`M10 12h4`,key:`a56b0p`}]]),ks=V(`arrow-left`,[[`path`,{d:`m12 19-7-7 7-7`,key:`1l729n`}],[`path`,{d:`M19 12H5`,key:`x3x0zl`}]]),As=V(`arrow-right`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`m12 5 7 7-7 7`,key:`xquz4c`}]]),js=V(`arrow-up-down`,[[`path`,{d:`m21 16-4 4-4-4`,key:`f6ql7i`}],[`path`,{d:`M17 20V4`,key:`1ejh1v`}],[`path`,{d:`m3 8 4-4 4 4`,key:`11wl7u`}],[`path`,{d:`M7 4v16`,key:`1glfcx`}]]),Ms=V(`book-open`,[[`path`,{d:`M12 7v14`,key:`1akyts`}],[`path`,{d:`M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z`,key:`ruj8y`}]]),Ns=V(`bot`,[[`path`,{d:`M12 8V4H8`,key:`hb8ula`}],[`rect`,{width:`16`,height:`12`,x:`4`,y:`8`,rx:`2`,key:`enze0r`}],[`path`,{d:`M2 14h2`,key:`vft8re`}],[`path`,{d:`M20 14h2`,key:`4cs60a`}],[`path`,{d:`M15 13v2`,key:`1xurst`}],[`path`,{d:`M9 13v2`,key:`rq6x2g`}]]),Ps=V(`box`,[[`path`,{d:`M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z`,key:`hh9hay`}],[`path`,{d:`m3.3 7 8.7 5 8.7-5`,key:`g66t2b`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}]]),Fs=V(`brain`,[[`path`,{d:`M12 18V5`,key:`adv99a`}],[`path`,{d:`M15 13a4.17 4.17 0 0 1-3-4 4.17 4.17 0 0 1-3 4`,key:`1e3is1`}],[`path`,{d:`M17.598 6.5A3 3 0 1 0 12 5a3 3 0 1 0-5.598 1.5`,key:`1gqd8o`}],[`path`,{d:`M17.997 5.125a4 4 0 0 1 2.526 5.77`,key:`iwvgf7`}],[`path`,{d:`M18 18a4 4 0 0 0 2-7.464`,key:`efp6ie`}],[`path`,{d:`M19.967 17.483A4 4 0 1 1 12 18a4 4 0 1 1-7.967-.517`,key:`1gq6am`}],[`path`,{d:`M6 18a4 4 0 0 1-2-7.464`,key:`k1g0md`}],[`path`,{d:`M6.003 5.125a4 4 0 0 0-2.526 5.77`,key:`q97ue3`}]]),Is=V(`calendar`,[[`path`,{d:`M8 2v4`,key:`1cmpym`}],[`path`,{d:`M16 2v4`,key:`4m81vk`}],[`rect`,{width:`18`,height:`18`,x:`3`,y:`4`,rx:`2`,key:`1hopcy`}],[`path`,{d:`M3 10h18`,key:`8toen8`}]]),Ls=V(`chart-column`,[[`path`,{d:`M3 3v16a2 2 0 0 0 2 2h16`,key:`c24i48`}],[`path`,{d:`M18 17V9`,key:`2bz60n`}],[`path`,{d:`M13 17V5`,key:`1frdt8`}],[`path`,{d:`M8 17v-3`,key:`17ska0`}]]),Rs=V(`check-check`,[[`path`,{d:`M18 6 7 17l-5-5`,key:`116fxf`}],[`path`,{d:`m22 10-7.5 7.5L13 16`,key:`ke71qq`}]]),zs=V(`check`,[[`path`,{d:`M20 6 9 17l-5-5`,key:`1gmf2c`}]]),Bs=V(`chevron-down`,[[`path`,{d:`m6 9 6 6 6-6`,key:`qrunsl`}]]),Vs=V(`chevron-left`,[[`path`,{d:`m15 18-6-6 6-6`,key:`1wnfg3`}]]),Hs=V(`chevron-right`,[[`path`,{d:`m9 18 6-6-6-6`,key:`mthhwq`}]]),Us=V(`chevron-up`,[[`path`,{d:`m18 15-6-6-6 6`,key:`153udz`}]]),Ws=V(`circle-alert`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`12`,x2:`12`,y1:`8`,y2:`12`,key:`1pkeuh`}],[`line`,{x1:`12`,x2:`12.01`,y1:`16`,y2:`16`,key:`4dfq90`}]]),Gs=V(`circle-check-big`,[[`path`,{d:`M21.801 10A10 10 0 1 1 17 3.335`,key:`yps3ct`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),Ks=V(`circle-check`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),qs=V(`circle-x`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]),Js=V(`circle`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}]]),Ys=V(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 6v6l4 2`,key:`mmk7yg`}]]),Xs=V(`code`,[[`path`,{d:`m16 18 6-6-6-6`,key:`eg8j8`}],[`path`,{d:`m8 6-6 6 6 6`,key:`ppft3o`}]]),Zs=V(`command`,[[`path`,{d:`M15 6v12a3 3 0 1 0 3-3H6a3 3 0 1 0 3 3V6a3 3 0 1 0-3 3h12a3 3 0 1 0-3-3`,key:`11bfej`}]]),Qs=V(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]),$s=V(`cpu`,[[`path`,{d:`M12 20v2`,key:`1lh1kg`}],[`path`,{d:`M12 2v2`,key:`tus03m`}],[`path`,{d:`M17 20v2`,key:`1rnc9c`}],[`path`,{d:`M17 2v2`,key:`11trls`}],[`path`,{d:`M2 12h2`,key:`1t8f8n`}],[`path`,{d:`M2 17h2`,key:`7oei6x`}],[`path`,{d:`M2 7h2`,key:`asdhe0`}],[`path`,{d:`M20 12h2`,key:`1q8mjw`}],[`path`,{d:`M20 17h2`,key:`1fpfkl`}],[`path`,{d:`M20 7h2`,key:`1o8tra`}],[`path`,{d:`M7 20v2`,key:`4gnj0m`}],[`path`,{d:`M7 2v2`,key:`1i4yhu`}],[`rect`,{x:`4`,y:`4`,width:`16`,height:`16`,rx:`2`,key:`1vbyd7`}],[`rect`,{x:`8`,y:`8`,width:`8`,height:`8`,rx:`1`,key:`z9xiuo`}]]),ec=V(`database`,[[`ellipse`,{cx:`12`,cy:`5`,rx:`9`,ry:`3`,key:`msslwz`}],[`path`,{d:`M3 5V19A9 3 0 0 0 21 19V5`,key:`1wlel7`}],[`path`,{d:`M3 12A9 3 0 0 0 21 12`,key:`mv7ke4`}]]),tc=V(`dollar-sign`,[[`line`,{x1:`12`,x2:`12`,y1:`2`,y2:`22`,key:`7eqyqh`}],[`path`,{d:`M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6`,key:`1b0p4s`}]]),nc=V(`download`,[[`path`,{d:`M12 15V3`,key:`m9g1x1`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}],[`path`,{d:`m7 10 5 5 5-5`,key:`brsn70`}]]),rc=V(`external-link`,[[`path`,{d:`M15 3h6v6`,key:`1q9fwt`}],[`path`,{d:`M10 14 21 3`,key:`gplh6r`}],[`path`,{d:`M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6`,key:`a6xqqp`}]]),ic=V(`eye-off`,[[`path`,{d:`M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49`,key:`ct8e1f`}],[`path`,{d:`M14.084 14.158a3 3 0 0 1-4.242-4.242`,key:`151rxh`}],[`path`,{d:`M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143`,key:`13bj9a`}],[`path`,{d:`m2 2 20 20`,key:`1ooewy`}]]),ac=V(`eye`,[[`path`,{d:`M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0`,key:`1nclc0`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),oc=V(`file-code`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 12.5 8 15l2 2.5`,key:`1tg20x`}],[`path`,{d:`m14 12.5 2 2.5-2 2.5`,key:`yinavb`}]]),sc=V(`file-pen`,[[`path`,{d:`M12.659 22H18a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v9.34`,key:`o6klzx`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10.378 12.622a1 1 0 0 1 3 3.003L8.36 20.637a2 2 0 0 1-.854.506l-2.867.837a.5.5 0 0 1-.62-.62l.836-2.869a2 2 0 0 1 .506-.853z`,key:`zhnas1`}]]),cc=V(`file-text`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}],[`path`,{d:`M10 9H8`,key:`b1mrlr`}],[`path`,{d:`M16 13H8`,key:`t4e002`}],[`path`,{d:`M16 17H8`,key:`z1uh3a`}]]),lc=V(`file`,[[`path`,{d:`M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z`,key:`1oefj6`}],[`path`,{d:`M14 2v5a1 1 0 0 0 1 1h5`,key:`wfsgrz`}]]),uc=V(`folder-tree`,[[`path`,{d:`M20 10a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-2.5a1 1 0 0 1-.8-.4l-.9-1.2A1 1 0 0 0 15 3h-2a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`hod4my`}],[`path`,{d:`M20 21a1 1 0 0 0 1-1v-3a1 1 0 0 0-1-1h-2.9a1 1 0 0 1-.88-.55l-.42-.85a1 1 0 0 0-.92-.6H13a1 1 0 0 0-1 1v5a1 1 0 0 0 1 1Z`,key:`w4yl2u`}],[`path`,{d:`M3 5a2 2 0 0 0 2 2h3`,key:`f2jnh7`}],[`path`,{d:`M3 3v13a2 2 0 0 0 2 2h3`,key:`k8epm1`}]]),dc=V(`folder`,[[`path`,{d:`M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z`,key:`1kt360`}]]),fc=V(`funnel`,[[`path`,{d:`M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z`,key:`sc7q7i`}]]),pc=V(`git-branch`,[[`path`,{d:`M15 6a9 9 0 0 0-9 9V3`,key:`1cii5b`}],[`circle`,{cx:`18`,cy:`6`,r:`3`,key:`1h7g24`}],[`circle`,{cx:`6`,cy:`18`,r:`3`,key:`fqmcym`}]]),mc=V(`git-merge`,[[`circle`,{cx:`18`,cy:`18`,r:`3`,key:`1xkwt0`}],[`circle`,{cx:`6`,cy:`6`,r:`3`,key:`1lh9wr`}],[`path`,{d:`M6 21V9a9 9 0 0 0 9 9`,key:`7kw0sc`}]]),hc=V(`hard-drive`,[[`path`,{d:`M10 16h.01`,key:`1bzywj`}],[`path`,{d:`M2.212 11.577a2 2 0 0 0-.212.896V18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5.527a2 2 0 0 0-.212-.896L18.55 5.11A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z`,key:`18tbho`}],[`path`,{d:`M21.946 12.013H2.054`,key:`zqlbp7`}],[`path`,{d:`M6 16h.01`,key:`1pmjb7`}]]),gc=V(`image`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,ry:`2`,key:`1m3agn`}],[`circle`,{cx:`9`,cy:`9`,r:`2`,key:`af1f0g`}],[`path`,{d:`m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21`,key:`1xmnt7`}]]),_c=V(`info`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`M12 16v-4`,key:`1dtifu`}],[`path`,{d:`M12 8h.01`,key:`e9boi3`}]]),vc=V(`layout-dashboard`,[[`rect`,{width:`7`,height:`9`,x:`3`,y:`3`,rx:`1`,key:`10lvy0`}],[`rect`,{width:`7`,height:`5`,x:`14`,y:`3`,rx:`1`,key:`16une8`}],[`rect`,{width:`7`,height:`9`,x:`14`,y:`12`,rx:`1`,key:`1hutg5`}],[`rect`,{width:`7`,height:`5`,x:`3`,y:`16`,rx:`1`,key:`ldoo1y`}]]),yc=V(`lightbulb`,[[`path`,{d:`M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5`,key:`1gvzjb`}],[`path`,{d:`M9 18h6`,key:`x1upvd`}],[`path`,{d:`M10 22h4`,key:`ceow96`}]]),bc=V(`link`,[[`path`,{d:`M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71`,key:`1cjeqo`}],[`path`,{d:`M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71`,key:`19qd67`}]]),xc=V(`list`,[[`path`,{d:`M3 5h.01`,key:`18ugdj`}],[`path`,{d:`M3 12h.01`,key:`nlz23k`}],[`path`,{d:`M3 19h.01`,key:`noohij`}],[`path`,{d:`M8 5h13`,key:`1pao27`}],[`path`,{d:`M8 12h13`,key:`1za7za`}],[`path`,{d:`M8 19h13`,key:`m83p4d`}]]),Sc=V(`loader-circle`,[[`path`,{d:`M21 12a9 9 0 1 1-6.219-8.56`,key:`13zald`}]]),Cc=V(`lock`,[[`rect`,{width:`18`,height:`11`,x:`3`,y:`11`,rx:`2`,ry:`2`,key:`1w4ew1`}],[`path`,{d:`M7 11V7a5 5 0 0 1 10 0v4`,key:`fwvmzm`}]]),wc=V(`menu`,[[`path`,{d:`M4 5h16`,key:`1tepv9`}],[`path`,{d:`M4 12h16`,key:`1lakjw`}],[`path`,{d:`M4 19h16`,key:`1djgab`}]]),Tc=V(`message-square`,[[`path`,{d:`M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z`,key:`18887p`}]]),Ec=V(`network`,[[`rect`,{x:`16`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`4q2zg0`}],[`rect`,{x:`2`,y:`16`,width:`6`,height:`6`,rx:`1`,key:`8cvhb9`}],[`rect`,{x:`9`,y:`2`,width:`6`,height:`6`,rx:`1`,key:`1egb70`}],[`path`,{d:`M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3`,key:`1jsf9p`}],[`path`,{d:`M12 12V8`,key:`2874zd`}]]),Dc=V(`package`,[[`path`,{d:`M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z`,key:`1a0edw`}],[`path`,{d:`M12 22V12`,key:`d0xqtd`}],[`polyline`,{points:`3.29 7 12 12 20.71 7`,key:`ousv84`}],[`path`,{d:`m7.5 4.27 9 5.15`,key:`1c824w`}]]),Oc=V(`pause`,[[`rect`,{x:`14`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`kaeet6`}],[`rect`,{x:`5`,y:`3`,width:`5`,height:`18`,rx:`1`,key:`1wsw3u`}]]),kc=V(`pen`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}]]),Ac=V(`pencil`,[[`path`,{d:`M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z`,key:`1a8usu`}],[`path`,{d:`m15 5 4 4`,key:`1mk7zo`}]]),jc=V(`play`,[[`path`,{d:`M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z`,key:`10ikf1`}]]),Mc=V(`plus`,[[`path`,{d:`M5 12h14`,key:`1ays0h`}],[`path`,{d:`M12 5v14`,key:`s699le`}]]),Nc=V(`power`,[[`path`,{d:`M12 2v10`,key:`mnfbl`}],[`path`,{d:`M18.4 6.6a9 9 0 1 1-12.77.04`,key:`obofu9`}]]),Pc=V(`refresh-cw`,[[`path`,{d:`M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8`,key:`v9h5vc`}],[`path`,{d:`M21 3v5h-5`,key:`1q7to0`}],[`path`,{d:`M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16`,key:`3uifl3`}],[`path`,{d:`M8 16H3v5`,key:`1cv678`}]]),Fc=V(`rotate-ccw`,[[`path`,{d:`M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8`,key:`1357e3`}],[`path`,{d:`M3 3v5h5`,key:`1xhq8a`}]]),Ic=V(`save`,[[`path`,{d:`M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z`,key:`1c8476`}],[`path`,{d:`M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7`,key:`1ydtos`}],[`path`,{d:`M7 3v4a1 1 0 0 0 1 1h7`,key:`t51u73`}]]),Lc=V(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),Rc=V(`settings`,[[`path`,{d:`M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915`,key:`1i5ecw`}],[`circle`,{cx:`12`,cy:`12`,r:`3`,key:`1v7zrd`}]]),zc=V(`shield-check`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}],[`path`,{d:`m9 12 2 2 4-4`,key:`dzmm74`}]]),Bc=V(`shield`,[[`path`,{d:`M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z`,key:`oel41y`}]]),Vc=V(`sparkles`,[[`path`,{d:`M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z`,key:`1s2grr`}],[`path`,{d:`M20 2v4`,key:`1rf3ol`}],[`path`,{d:`M22 4h-4`,key:`gwowj6`}],[`circle`,{cx:`4`,cy:`20`,r:`2`,key:`6kqj1y`}]]),Hc=V(`square-check-big`,[[`path`,{d:`M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344`,key:`2acyp4`}],[`path`,{d:`m9 11 3 3L22 4`,key:`1pflzl`}]]),Uc=V(`square-pen`,[[`path`,{d:`M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7`,key:`1m0v6g`}],[`path`,{d:`M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z`,key:`ohrbg2`}]]),Wc=V(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]),Gc=V(`tag`,[[`path`,{d:`M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z`,key:`vktsd0`}],[`circle`,{cx:`7.5`,cy:`7.5`,r:`.5`,fill:`currentColor`,key:`kqv944`}]]),Kc=V(`terminal`,[[`path`,{d:`M12 19h8`,key:`baeox8`}],[`path`,{d:`m4 17 6-6-6-6`,key:`1yngyt`}]]),qc=V(`test-tube`,[[`path`,{d:`M14.5 2v17.5c0 1.4-1.1 2.5-2.5 2.5c-1.4 0-2.5-1.1-2.5-2.5V2`,key:`125lnx`}],[`path`,{d:`M8.5 2h7`,key:`csnxdl`}],[`path`,{d:`M14.5 16h-5`,key:`1ox875`}]]),Jc=V(`trash-2`,[[`path`,{d:`M10 11v6`,key:`nco0om`}],[`path`,{d:`M14 11v6`,key:`outv1u`}],[`path`,{d:`M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6`,key:`miytrc`}],[`path`,{d:`M3 6h18`,key:`d0wm0j`}],[`path`,{d:`M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2`,key:`e791ji`}]]),Yc=V(`trending-up`,[[`path`,{d:`M16 7h6v6`,key:`box55l`}],[`path`,{d:`m22 7-8.5 8.5-5-5L2 17`,key:`1t1m79`}]]),Xc=V(`triangle-alert`,[[`path`,{d:`m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3`,key:`wmoenq`}],[`path`,{d:`M12 9v4`,key:`juzpu7`}],[`path`,{d:`M12 17h.01`,key:`p32p05`}]]),Zc=V(`upload`,[[`path`,{d:`M12 3v12`,key:`1x0j5s`}],[`path`,{d:`m17 8-5-5-5 5`,key:`7q97r8`}],[`path`,{d:`M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4`,key:`ih7n3h`}]]),Qc=V(`workflow`,[[`rect`,{width:`8`,height:`8`,x:`3`,y:`3`,rx:`2`,key:`by2w9f`}],[`path`,{d:`M7 11v4a2 2 0 0 0 2 2h4`,key:`xkn7yn`}],[`rect`,{width:`8`,height:`8`,x:`13`,y:`13`,rx:`2`,key:`1cgmvn`}]]),$c=V(`wrench`,[[`path`,{d:`M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z`,key:`1ngwbx`}]]),el=V(`x`,[[`path`,{d:`M18 6 6 18`,key:`1bl5f8`}],[`path`,{d:`m6 6 12 12`,key:`d8bk6v`}]]),tl=V(`zap`,[[`path`,{d:`M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z`,key:`1xq2db`}]]),nl=u(y(),1),rl=u(_(),1),il=(0,L.createContext)({toast:()=>{}}),al=()=>{};function H(e,t=`error`){al(e,t)}function ol({children:e}){let[t,n]=(0,L.useState)([]),r={current:0},i=(0,L.useCallback)((e,t=`error`)=>{let i=++r.current;n(n=>[...n,{id:i,type:t,message:e}]),setTimeout(()=>n(e=>e.filter(e=>e.id!==i)),4e3)},[]);(0,L.useEffect)(()=>{al=i},[i]);let a={success:Gs,error:qs,warning:Xc},o={success:`bg-green-50 border-green-200 text-green-800`,error:`bg-red-50 border-red-200 text-red-800`,warning:`bg-yellow-50 border-yellow-200 text-yellow-800`},s={success:`text-green-500`,error:`text-red-500`,warning:`text-yellow-500`};return(0,R.jsxs)(il.Provider,{value:{toast:i},children:[e,(0,rl.createPortal)((0,R.jsx)(`div`,{className:`fixed bottom-4 right-4 z-[9999] flex flex-col gap-2 max-w-sm`,children:t.map(e=>{let t=a[e.type];return(0,R.jsxs)(`div`,{className:`flex items-start gap-3 px-4 py-3 rounded-lg border shadow-lg text-sm ${o[e.type]}`,children:[(0,R.jsx)(t,{className:`h-4 w-4 mt-0.5 flex-shrink-0 ${s[e.type]}`}),(0,R.jsx)(`span`,{className:`flex-1`,children:e.message}),(0,R.jsx)(`button`,{onClick:()=>n(t=>t.filter(t=>t.id!==e.id)),children:(0,R.jsx)(el,{className:`h-3.5 w-3.5 opacity-60 hover:opacity-100`})})]},e.id)})}),document.body)]})}var U=_s.create({baseURL:`/api`,timeout:3e4});U.interceptors.request.use(e=>{let t=window.__AUTH_TOKEN__;return t&&(e.headers.Authorization=`Bearer ${t}`),e}),U.interceptors.response.use(e=>e,e=>(H(e.response?.data?.error||e.response?.data?.message||e.message||`请求失败`,`error`),Promise.reject(e)));var sl=()=>U.get(`/health`),cl=()=>U.get(`/config`),ll=e=>U.put(`/config`,e),ul=()=>U.get(`/config/history`),dl=e=>U.get(`/sessions`,{params:e}),fl=e=>U.get(`/sessions/${e}`),pl=e=>U.delete(`/sessions/${e}`),ml=e=>U.delete(`/sessions`,{data:{ids:e}}),hl=e=>U.get(`/events`,{params:e}),gl=e=>U.get(`/events/stats`,{params:{project_path:e}}),_l=e=>U.get(`/pipelines`,{params:e}),vl=e=>U.get(`/pipelines/${e}`),yl=e=>U.get(`/quality/history`,{params:e}),bl=e=>U.get(`/quality/unresolved`,{params:{project_path:e}}),xl=()=>U.get(`/stats/roi`),Sl=()=>U.get(`/stats/overview`),Cl=(e,t,n,r)=>U.get(`/knowledge/search`,{params:{q:e,project_path:t,node_type:n,limit:r}}),wl=e=>U.get(`/knowledge/overview`,{params:{project_path:e}}),Tl=(e,t)=>U.get(`/knowledge/neighbors`,{params:{node_id:e,project_path:t}}),El=(e,t)=>U.get(`/knowledge/graph`,{params:{project_path:e,node_type:t}}),Dl=e=>U.post(`/knowledge/nodes`,e),Ol=(e,t)=>U.put(`/knowledge/nodes/${e}`,t),kl=e=>U.delete(`/knowledge/nodes/${e}`),Al=e=>U.delete(`/knowledge/batch`,{data:{ids:e}}),jl=e=>U.post(`/knowledge/import`,{nodes:e}),Ml=e=>U.post(`/knowledge/edges`,e),Nl=e=>U.post(`/pipelines/${e}/close`),Pl=e=>U.post(`/pipelines/${e}/reactivate`),Fl=e=>U.post(`/pipelines/batch-close`,{ids:e}),Il=()=>U.post(`/pipelines/close-expired`),Ll=()=>U.get(`/pipelines/active`),Rl=e=>U.post(`/pipelines/${e}/resume`),zl=e=>U.post(`/pipelines/${e}/advance`),Bl=e=>U.get(`/projects`,{params:e}),Vl=e=>U.get(`/projects/${e}`),Hl=e=>U.delete(`/projects/${e}`),Ul=e=>U.post(`/convention/init`,{path:e},{timeout:18e4}),Wl=e=>U.get(`/projects/${e}/conventions`),Gl=(e,t)=>U.post(`/projects/${e}/conventions/bind`,{conventionId:t}),Kl=(e,t)=>U.delete(`/projects/${e}/conventions/${encodeURIComponent(t)}`),ql=e=>U.get(`/projects/${e}/conventions/custom/yaml`),Jl=(e,t)=>U.put(`/projects/${e}/conventions/custom`,{yaml:t}),Yl=e=>U.post(`/projects/${e}/conventions/distill`,{},{timeout:12e4}),Xl=e=>U.get(`/claudemd/${e}`),Zl=(e,t)=>U.put(`/claudemd/${e}`,{content:t}),Ql=e=>U.get(`/claudemd/${e}/profile`),$l=e=>U.get(`/claudemd/${e}/modules`),eu=e=>U.post(`/claudemd/${e}/distill`,void 0,{timeout:18e4}),tu=e=>U.post(`/claudemd/${e}/init`,void 0,{timeout:18e4}),nu=e=>U.post(`/quality/${e}/resolve`),ru=e=>U.post(`/quality/${e}/dismiss`),iu=e=>U.post(`/quality/batch-dismiss`,{ids:e}),au=e=>U.post(`/quality/batch-resolve`,{ids:e}),ou=()=>U.post(`/quality/resolve-all`),su=e=>U.get(`/quality/${e}/context`),cu=()=>U.get(`/daemon/status`),lu=()=>U.post(`/daemon/restart`),uu=()=>U.get(`/daemon/diagnose`),du=()=>U.post(`/daemon/repair`),fu=e=>U.post(`/config/backup`,e||{}),pu=()=>U.get(`/config/backups`),mu=e=>`/api/config/backups/${encodeURIComponent(e)}`,hu=(e,t)=>U.post(`/config/restore`,{filename:e,password:t}),gu=e=>U.post(`/events/purge`,{retentionDays:e}),_u=()=>U.get(`/memory/caches`),vu=()=>U.get(`/memory/process`),yu=e=>U.post(`/memory/caches/${encodeURIComponent(e)}/clear`),bu=()=>U.post(`/memory/caches/clear-all`),xu=()=>U.post(`/memory/gc`),Su=e=>U.get(`/stats/api-usage`,{params:{days:e}}),Cu=e=>U.get(`/skills`,{params:e}),wu=()=>U.get(`/skills/status`),Tu=e=>U.get(`/skills/${encodeURIComponent(e)}`),Eu=(e,t)=>U.put(`/skills/${encodeURIComponent(e)}/content`,{content:t}),Du=(e,t)=>U.post(`/skills/search`,{query:e,...t},{timeout:3e4}),Ou=e=>U.post(`/skills/install`,{url:e},{timeout:6e4}),ku=e=>U.delete(`/skills/${encodeURIComponent(e)}`),Au=e=>U.post(`/skills/batch-delete`,{names:e}),ju=()=>U.post(`/skills/evolve`,{},{timeout:12e4}),Mu=()=>U.post(`/skills/distill`,{},{timeout:12e4}),Nu=()=>U.post(`/skills/repair`,{},{timeout:6e4}),Pu=()=>U.get(`/skills/orchestration`),Fu=(e,t)=>U.put(`/skills/orchestration`,{skill:e,keywords:t}),Iu=e=>U.delete(`/skills/orchestration/${encodeURIComponent(e)}`),Lu=()=>U.get(`/conventions`),Ru=e=>U.get(`/conventions/${encodeURIComponent(e)}`),zu=()=>U.post(`/conventions/sync-official`),Bu=e=>U.post(`/conventions/install`,{url:e},{timeout:3e4}),Vu=e=>U.delete(`/conventions/${encodeURIComponent(e)}`),Hu=()=>U.get(`/conventions/usage-stats`),Uu=e=>U.get(`/conventions/${encodeURIComponent(e)}/evolution-history`),Wu=e=>U.post(`/conventions/batch-evolve`,{conventionIds:e},{timeout:12e4}),Gu=e=>U.get(`/conventions/${encodeURIComponent(e)}/yaml`),Ku=(e,t)=>U.put(`/conventions/${encodeURIComponent(e)}/yaml`,{yaml:t}),qu=e=>U.get(`/node-types`,{params:e?{projectPath:e}:void 0}),Ju=e=>U.get(`/node-types/${encodeURIComponent(e)}`),Yu=e=>U.post(`/node-types`,e),Xu=(e,t)=>U.put(`/node-types/${encodeURIComponent(e)}`,t),Zu=e=>U.delete(`/node-types/${encodeURIComponent(e)}`);function Qu(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Qu(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function $u(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Qu(e))&&(r&&(r+=` `),r+=t);return r}var ed=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},td=(e,t)=>({classGroupId:e,validator:t}),nd=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),rd=`-`,id=[],ad=`arbitrary..`,od=e=>{let t=ld(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return cd(e);let n=e.split(rd);return sd(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?ed(i,t):t:i||id}return n[e]||id}}},sd=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=sd(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(rd):e.slice(t).join(rd),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},cd=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?ad+r:void 0})(),ld=e=>{let{theme:t,classGroups:n}=e;return ud(n,t)},ud=(e,t)=>{let n=nd();for(let r in e){let i=e[r];dd(i,n,r,t)}return n},dd=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];fd(i,t,n,r)}},fd=(e,t,n,r)=>{if(typeof e==`string`){pd(e,t,n);return}if(typeof e==`function`){md(e,t,n,r);return}hd(e,t,n,r)},pd=(e,t,n)=>{let r=e===``?t:gd(t,e);r.classGroupId=n},md=(e,t,n,r)=>{if(_d(e)){dd(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(td(n,e))},hd=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];dd(o,gd(t,a),n,r)}},gd=(e,t)=>{let n=e,r=t.split(rd),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=nd(),n.nextPart.set(t,i)),n=i}return n},_d=e=>`isThemeGetter`in e&&e.isThemeGetter===!0,vd=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},yd=`!`,bd=`:`,xd=[],Sd=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Cd=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===bd){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(yd)?(c=s.slice(0,-1),l=!0):s.startsWith(yd)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Sd(t,l,c,u)};if(t){let e=t+bd,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Sd(xd,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},wd=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},Td=e=>({cache:vd(e.cacheSize),parseClassName:Cd(e),sortModifiers:wd(e),...od(e)}),Ed=/\s+/,Dd=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(Ed),c=``;for(let e=s.length-1;e>=0;--e){let t=s[e],{isExternal:l,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(t);if(l){c=t+(c.length>0?` `+c:c);continue}let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){c=t+(c.length>0?` `+c:c);continue}if(h=r(f),!h){c=t+(c.length>0?` `+c:c);continue}m=!1}let g=u.length===0?``:u.length===1?u[0]:a(u).join(`:`),_=d?g+yd:g,v=_+h;if(o.indexOf(v)>-1)continue;o.push(v);let y=i(h,m);for(let e=0;e<y.length;++e){let t=y[e];o.push(_+t)}c=t+(c.length>0?` `+c:c)}return c},Od=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=kd(n))&&(i&&(i+=` `),i+=r);return i},kd=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=kd(e[r]))&&(n&&(n+=` `),n+=t);return n},Ad=(e,...t)=>{let n,r,i,a,o=o=>(n=Td(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=Dd(e,n);return i(e,a),a};return a=o,(...e)=>a(Od(...e))},jd=[],Md=e=>{let t=t=>t[e]||jd;return t.isThemeGetter=!0,t},Nd=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Pd=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Fd=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Id=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ld=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Rd=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,zd=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Bd=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Vd=e=>Fd.test(e),W=e=>!!e&&!Number.isNaN(Number(e)),Hd=e=>!!e&&Number.isInteger(Number(e)),Ud=e=>e.endsWith(`%`)&&W(e.slice(0,-1)),Wd=e=>Id.test(e),Gd=()=>!0,Kd=e=>Ld.test(e)&&!Rd.test(e),qd=()=>!1,Jd=e=>zd.test(e),Yd=e=>Bd.test(e),Xd=e=>!G(e)&&!K(e),Zd=e=>pf(e,_f,qd),G=e=>Nd.test(e),Qd=e=>pf(e,vf,Kd),$d=e=>pf(e,yf,W),ef=e=>pf(e,xf,Gd),tf=e=>pf(e,bf,qd),nf=e=>pf(e,hf,qd),rf=e=>pf(e,gf,Yd),af=e=>pf(e,Sf,Jd),K=e=>Pd.test(e),of=e=>mf(e,vf),sf=e=>mf(e,bf),cf=e=>mf(e,hf),lf=e=>mf(e,_f),uf=e=>mf(e,gf),df=e=>mf(e,Sf,!0),ff=e=>mf(e,xf,!0),pf=(e,t,n)=>{let r=Nd.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},mf=(e,t,n=!1)=>{let r=Pd.exec(e);return r?r[1]?t(r[1]):n:!1},hf=e=>e===`position`||e===`percentage`,gf=e=>e===`image`||e===`url`,_f=e=>e===`length`||e===`size`||e===`bg-size`,vf=e=>e===`length`,yf=e=>e===`number`,bf=e=>e===`family-name`,xf=e=>e===`number`||e===`weight`,Sf=e=>e===`shadow`,Cf=Ad(()=>{let e=Md(`color`),t=Md(`font`),n=Md(`text`),r=Md(`font-weight`),i=Md(`tracking`),a=Md(`leading`),o=Md(`breakpoint`),s=Md(`container`),c=Md(`spacing`),l=Md(`radius`),u=Md(`shadow`),d=Md(`inset-shadow`),f=Md(`text-shadow`),p=Md(`drop-shadow`),m=Md(`blur`),h=Md(`perspective`),g=Md(`aspect`),_=Md(`ease`),v=Md(`animate`),y=()=>[`auto`,`avoid`,`all`,`avoid-page`,`page`,`left`,`right`,`column`],b=()=>[`center`,`top`,`bottom`,`left`,`right`,`top-left`,`left-top`,`top-right`,`right-top`,`bottom-right`,`right-bottom`,`bottom-left`,`left-bottom`],x=()=>[...b(),K,G],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[K,G,c],T=()=>[Vd,`full`,`auto`,...w()],E=()=>[Hd,`none`,`subgrid`,K,G],D=()=>[`auto`,{span:[`full`,Hd,K,G]},Hd,K,G],O=()=>[Hd,`auto`,K,G],k=()=>[`auto`,`min`,`max`,`fr`,K,G],A=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],j=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],M=()=>[`auto`,...w()],N=()=>[Vd,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ee=()=>[Vd,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],te=()=>[Vd,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],P=()=>[e,K,G],ne=()=>[...b(),cf,nf,{position:[K,G]}],re=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],ie=()=>[`auto`,`cover`,`contain`,lf,Zd,{size:[K,G]}],ae=()=>[Ud,of,Qd],F=()=>[``,`none`,`full`,l,K,G],I=()=>[``,W,of,Qd],oe=()=>[`solid`,`dashed`,`dotted`,`double`],se=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],ce=()=>[W,Ud,cf,nf],le=()=>[``,`none`,m,K,G],ue=()=>[`none`,W,K,G],de=()=>[`none`,W,K,G],fe=()=>[W,K,G],pe=()=>[Vd,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[Wd],breakpoint:[Wd],color:[Gd],container:[Wd],"drop-shadow":[Wd],ease:[`in`,`out`,`in-out`],font:[Xd],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[Wd],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[Wd],shadow:[Wd],spacing:[`px`,W],text:[Wd],"text-shadow":[Wd],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,Vd,G,K,g]}],container:[`container`],columns:[{columns:[W,G,K,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"break-inside":[{"break-inside":[`auto`,`avoid`,`avoid-page`,`avoid-column`]}],"box-decoration":[{"box-decoration":[`slice`,`clone`]}],box:[{box:[`border`,`content`]}],display:[`block`,`inline-block`,`inline`,`flex`,`inline-flex`,`table`,`inline-table`,`table-caption`,`table-cell`,`table-column`,`table-column-group`,`table-footer-group`,`table-header-group`,`table-row-group`,`table-row`,`flow-root`,`grid`,`inline-grid`,`contents`,`list-item`,`hidden`],sr:[`sr-only`,`not-sr-only`],float:[{float:[`right`,`left`,`none`,`start`,`end`]}],clear:[{clear:[`left`,`right`,`both`,`none`,`start`,`end`]}],isolation:[`isolate`,`isolation-auto`],"object-fit":[{object:[`contain`,`cover`,`fill`,`none`,`scale-down`]}],"object-position":[{object:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[Hd,`auto`,K,G]}],basis:[{basis:[Vd,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[W,Vd,`auto`,`initial`,`none`,G]}],grow:[{grow:[``,W,K,G]}],shrink:[{shrink:[``,W,K,G]}],order:[{order:[Hd,`first`,`last`,`none`,K,G]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":k()}],"auto-rows":[{"auto-rows":k()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...A(),`normal`]}],"justify-items":[{"justify-items":[...j(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...j()]}],"align-content":[{content:[`normal`,...A()]}],"align-items":[{items:[...j(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...j(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":A()}],"place-items":[{"place-items":[...j(),`baseline`]}],"place-self":[{"place-self":[`auto`,...j()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:N()}],"inline-size":[{inline:[`auto`,...ee()]}],"min-inline-size":[{"min-inline":[`auto`,...ee()]}],"max-inline-size":[{"max-inline":[`none`,...ee()]}],"block-size":[{block:[`auto`,...te()]}],"min-block-size":[{"min-block":[`auto`,...te()]}],"max-block-size":[{"max-block":[`none`,...te()]}],w:[{w:[s,`screen`,...N()]}],"min-w":[{"min-w":[s,`screen`,`none`,...N()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...N()]}],h:[{h:[`screen`,`lh`,...N()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...N()]}],"max-h":[{"max-h":[`screen`,`lh`,...N()]}],"font-size":[{text:[`base`,n,of,Qd]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,ff,ef]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,Ud,G]}],"font-family":[{font:[sf,tf,t]}],"font-features":[{"font-features":[G]}],"fvn-normal":[`normal-nums`],"fvn-ordinal":[`ordinal`],"fvn-slashed-zero":[`slashed-zero`],"fvn-figure":[`lining-nums`,`oldstyle-nums`],"fvn-spacing":[`proportional-nums`,`tabular-nums`],"fvn-fraction":[`diagonal-fractions`,`stacked-fractions`],tracking:[{tracking:[i,K,G]}],"line-clamp":[{"line-clamp":[W,`none`,K,$d]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,K,G]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,K,G]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...oe(),`wavy`]}],"text-decoration-thickness":[{decoration:[W,`from-font`,`auto`,K,Qd]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[W,`auto`,K,G]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,K,G]}],whitespace:[{whitespace:[`normal`,`nowrap`,`pre`,`pre-line`,`pre-wrap`,`break-spaces`]}],break:[{break:[`normal`,`words`,`all`,`keep`]}],wrap:[{wrap:[`break-word`,`anywhere`,`normal`]}],hyphens:[{hyphens:[`none`,`manual`,`auto`]}],content:[{content:[`none`,K,G]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:ne()}],"bg-repeat":[{bg:re()}],"bg-size":[{bg:ie()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},Hd,K,G],radial:[``,K,G],conic:[Hd,K,G]},uf,rf]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:ae()}],"gradient-via-pos":[{via:ae()}],"gradient-to-pos":[{to:ae()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:F()}],"rounded-s":[{"rounded-s":F()}],"rounded-e":[{"rounded-e":F()}],"rounded-t":[{"rounded-t":F()}],"rounded-r":[{"rounded-r":F()}],"rounded-b":[{"rounded-b":F()}],"rounded-l":[{"rounded-l":F()}],"rounded-ss":[{"rounded-ss":F()}],"rounded-se":[{"rounded-se":F()}],"rounded-ee":[{"rounded-ee":F()}],"rounded-es":[{"rounded-es":F()}],"rounded-tl":[{"rounded-tl":F()}],"rounded-tr":[{"rounded-tr":F()}],"rounded-br":[{"rounded-br":F()}],"rounded-bl":[{"rounded-bl":F()}],"border-w":[{border:I()}],"border-w-x":[{"border-x":I()}],"border-w-y":[{"border-y":I()}],"border-w-s":[{"border-s":I()}],"border-w-e":[{"border-e":I()}],"border-w-bs":[{"border-bs":I()}],"border-w-be":[{"border-be":I()}],"border-w-t":[{"border-t":I()}],"border-w-r":[{"border-r":I()}],"border-w-b":[{"border-b":I()}],"border-w-l":[{"border-l":I()}],"divide-x":[{"divide-x":I()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":I()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...oe(),`hidden`,`none`]}],"divide-style":[{divide:[...oe(),`hidden`,`none`]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...oe(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[W,K,G]}],"outline-w":[{outline:[``,W,of,Qd]}],"outline-color":[{outline:P()}],shadow:[{shadow:[``,`none`,u,df,af]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":[`none`,d,df,af]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:I()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[W,Qd]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":I()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":[`none`,f,df,af]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[W,K,G]}],"mix-blend":[{"mix-blend":[...se(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":se()}],"mask-clip":[{"mask-clip":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]},`mask-no-clip`],"mask-composite":[{mask:[`add`,`subtract`,`intersect`,`exclude`]}],"mask-image-linear-pos":[{"mask-linear":[W]}],"mask-image-linear-from-pos":[{"mask-linear-from":ce()}],"mask-image-linear-to-pos":[{"mask-linear-to":ce()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":ce()}],"mask-image-t-to-pos":[{"mask-t-to":ce()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":ce()}],"mask-image-r-to-pos":[{"mask-r-to":ce()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":ce()}],"mask-image-b-to-pos":[{"mask-b-to":ce()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":ce()}],"mask-image-l-to-pos":[{"mask-l-to":ce()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":ce()}],"mask-image-x-to-pos":[{"mask-x-to":ce()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":ce()}],"mask-image-y-to-pos":[{"mask-y-to":ce()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[K,G]}],"mask-image-radial-from-pos":[{"mask-radial-from":ce()}],"mask-image-radial-to-pos":[{"mask-radial-to":ce()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":[`circle`,`ellipse`]}],"mask-image-radial-size":[{"mask-radial":[{closest:[`side`,`corner`],farthest:[`side`,`corner`]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[W]}],"mask-image-conic-from-pos":[{"mask-conic-from":ce()}],"mask-image-conic-to-pos":[{"mask-conic-to":ce()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ne()}],"mask-repeat":[{mask:re()}],"mask-size":[{mask:ie()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,K,G]}],filter:[{filter:[``,`none`,K,G]}],blur:[{blur:le()}],brightness:[{brightness:[W,K,G]}],contrast:[{contrast:[W,K,G]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,df,af]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:[``,W,K,G]}],"hue-rotate":[{"hue-rotate":[W,K,G]}],invert:[{invert:[``,W,K,G]}],saturate:[{saturate:[W,K,G]}],sepia:[{sepia:[``,W,K,G]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,K,G]}],"backdrop-blur":[{"backdrop-blur":le()}],"backdrop-brightness":[{"backdrop-brightness":[W,K,G]}],"backdrop-contrast":[{"backdrop-contrast":[W,K,G]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,W,K,G]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[W,K,G]}],"backdrop-invert":[{"backdrop-invert":[``,W,K,G]}],"backdrop-opacity":[{"backdrop-opacity":[W,K,G]}],"backdrop-saturate":[{"backdrop-saturate":[W,K,G]}],"backdrop-sepia":[{"backdrop-sepia":[``,W,K,G]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,K,G]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[W,`initial`,K,G]}],ease:[{ease:[`linear`,`initial`,_,K,G]}],delay:[{delay:[W,K,G]}],animate:[{animate:[`none`,v,K,G]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,K,G]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ue()}],"rotate-x":[{"rotate-x":ue()}],"rotate-y":[{"rotate-y":ue()}],"rotate-z":[{"rotate-z":ue()}],scale:[{scale:de()}],"scale-x":[{"scale-x":de()}],"scale-y":[{"scale-y":de()}],"scale-z":[{"scale-z":de()}],"scale-3d":[`scale-3d`],skew:[{skew:fe()}],"skew-x":[{"skew-x":fe()}],"skew-y":[{"skew-y":fe()}],transform:[{transform:[K,G,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:pe()}],"translate-x":[{"translate-x":pe()}],"translate-y":[{"translate-y":pe()}],"translate-z":[{"translate-z":pe()}],"translate-none":[`translate-none`],accent:[{accent:P()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:[`normal`,`dark`,`light`,`light-dark`,`only-dark`,`only-light`]}],cursor:[{cursor:[`auto`,`default`,`pointer`,`wait`,`text`,`move`,`help`,`not-allowed`,`none`,`context-menu`,`progress`,`cell`,`crosshair`,`vertical-text`,`alias`,`copy`,`no-drop`,`grab`,`grabbing`,`all-scroll`,`col-resize`,`row-resize`,`n-resize`,`e-resize`,`s-resize`,`w-resize`,`ne-resize`,`nw-resize`,`se-resize`,`sw-resize`,`ew-resize`,`ns-resize`,`nesw-resize`,`nwse-resize`,`zoom-in`,`zoom-out`,K,G]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"snap-align":[{snap:[`start`,`end`,`center`,`align-none`]}],"snap-stop":[{snap:[`normal`,`always`]}],"snap-type":[{snap:[`none`,`x`,`y`,`both`]}],"snap-strictness":[{snap:[`mandatory`,`proximity`]}],touch:[{touch:[`auto`,`none`,`manipulation`]}],"touch-x":[{"touch-pan":[`x`,`left`,`right`]}],"touch-y":[{"touch-pan":[`y`,`up`,`down`]}],"touch-pz":[`touch-pinch-zoom`],select:[{select:[`none`,`text`,`all`,`auto`]}],"will-change":[{"will-change":[`auto`,`scroll`,`contents`,`transform`,K,G]}],fill:[{fill:[`none`,...P()]}],"stroke-w":[{stroke:[W,of,Qd,$d]}],stroke:[{stroke:[`none`,...P()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{overflow:[`overflow-x`,`overflow-y`],overscroll:[`overscroll-x`,`overscroll-y`],inset:[`inset-x`,`inset-y`,`inset-bs`,`inset-be`,`start`,`end`,`top`,`right`,`bottom`,`left`],"inset-x":[`right`,`left`],"inset-y":[`top`,`bottom`],flex:[`basis`,`grow`,`shrink`],gap:[`gap-x`,`gap-y`],p:[`px`,`py`,`ps`,`pe`,`pbs`,`pbe`,`pt`,`pr`,`pb`,`pl`],px:[`pr`,`pl`],py:[`pt`,`pb`],m:[`mx`,`my`,`ms`,`me`,`mbs`,`mbe`,`mt`,`mr`,`mb`,`ml`],mx:[`mr`,`ml`],my:[`mt`,`mb`],size:[`w`,`h`],"font-size":[`leading`],"fvn-normal":[`fvn-ordinal`,`fvn-slashed-zero`,`fvn-figure`,`fvn-spacing`,`fvn-fraction`],"fvn-ordinal":[`fvn-normal`],"fvn-slashed-zero":[`fvn-normal`],"fvn-figure":[`fvn-normal`],"fvn-spacing":[`fvn-normal`],"fvn-fraction":[`fvn-normal`],"line-clamp":[`display`,`overflow`],rounded:[`rounded-s`,`rounded-e`,`rounded-t`,`rounded-r`,`rounded-b`,`rounded-l`,`rounded-ss`,`rounded-se`,`rounded-ee`,`rounded-es`,`rounded-tl`,`rounded-tr`,`rounded-br`,`rounded-bl`],"rounded-s":[`rounded-ss`,`rounded-es`],"rounded-e":[`rounded-se`,`rounded-ee`],"rounded-t":[`rounded-tl`,`rounded-tr`],"rounded-r":[`rounded-tr`,`rounded-br`],"rounded-b":[`rounded-br`,`rounded-bl`],"rounded-l":[`rounded-tl`,`rounded-bl`],"border-spacing":[`border-spacing-x`,`border-spacing-y`],"border-w":[`border-w-x`,`border-w-y`,`border-w-s`,`border-w-e`,`border-w-bs`,`border-w-be`,`border-w-t`,`border-w-r`,`border-w-b`,`border-w-l`],"border-w-x":[`border-w-r`,`border-w-l`],"border-w-y":[`border-w-t`,`border-w-b`],"border-color":[`border-color-x`,`border-color-y`,`border-color-s`,`border-color-e`,`border-color-bs`,`border-color-be`,`border-color-t`,`border-color-r`,`border-color-b`,`border-color-l`],"border-color-x":[`border-color-r`,`border-color-l`],"border-color-y":[`border-color-t`,`border-color-b`],translate:[`translate-x`,`translate-y`,`translate-none`],"translate-none":[`translate`,`translate-x`,`translate-y`,`translate-z`],"scroll-m":[`scroll-mx`,`scroll-my`,`scroll-ms`,`scroll-me`,`scroll-mbs`,`scroll-mbe`,`scroll-mt`,`scroll-mr`,`scroll-mb`,`scroll-ml`],"scroll-mx":[`scroll-mr`,`scroll-ml`],"scroll-my":[`scroll-mt`,`scroll-mb`],"scroll-p":[`scroll-px`,`scroll-py`,`scroll-ps`,`scroll-pe`,`scroll-pbs`,`scroll-pbe`,`scroll-pt`,`scroll-pr`,`scroll-pb`,`scroll-pl`],"scroll-px":[`scroll-pr`,`scroll-pl`],"scroll-py":[`scroll-pt`,`scroll-pb`],touch:[`touch-x`,`touch-y`,`touch-pz`],"touch-x":[`touch`],"touch-y":[`touch`],"touch-pz":[`touch`]},conflictingClassGroupModifiers:{"font-size":[`leading`]},orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function q(...e){return Cf($u(e))}function wf(e){let t=Math.floor(e/1e3),n=Math.floor(t/60),r=Math.floor(n/60),i=Math.floor(r/24);return i>0?`${i}天${r%24}小时`:r>0?`${r}小时${n%60}分钟`:n>0?`${n}分钟${t%60}秒`:`${t}秒`}function Tf(e){return e>=1e9?`${(e/1e9).toFixed(1)}B`:e>=1e6?`${(e/1e6).toFixed(1)}M`:e>=1e3?`${(e/1e3).toFixed(1)}K`:e.toString()}function Ef(e){let t={active:`text-green-600 bg-green-50`,completed:`text-blue-600 bg-blue-50`,failed:`text-red-600 bg-red-50`,interrupted:`text-yellow-600 bg-yellow-50`,pending:`text-gray-600 bg-gray-50`};return t[e]||t.pending}function Df(e){return e?e.endsWith(`Z`)||/[+-]\d{2}:\d{2}$/.test(e)?new Date(e):new Date(e+`Z`):new Date}var Of=[{path:`/dashboard`,label:`仪表盘`,icon:vc},{path:`/projects`,label:`项目管理`,icon:dc},{path:`/sessions`,label:`会话管理`,icon:Ds},{path:`/events`,label:`事件流`,icon:Is},{path:`/pipelines`,label:`流水线`,icon:pc},{path:`/quality`,label:`质量门禁`,icon:zc},{path:`/knowledge`,label:`知识图谱`,icon:Fs},{path:`/skills`,label:`技能管理`,icon:Dc},{path:`/conventions`,label:`规范管理`,icon:Ms},{path:`/node-types`,label:`节点类型`,icon:Ps},{path:`/analytics`,label:`数据分析`,icon:Ls},{path:`/config`,label:`系统配置`,icon:Rc}];function kf({children:e}){let[t,n]=(0,L.useState)(()=>localStorage.getItem(`sidebar-collapsed`)===`true`),r=Mn();(0,L.useEffect)(()=>{localStorage.setItem(`sidebar-collapsed`,String(t))},[t]);let{data:i}=ut({queryKey:[`health`],queryFn:()=>sl().then(e=>e.data),refetchInterval:15e3}),a=Of.find(e=>r.pathname.startsWith(e.path));return(0,R.jsxs)(`div`,{className:`flex min-h-screen bg-gray-50`,children:[(0,R.jsxs)(`aside`,{className:q(`fixed top-0 left-0 bottom-0 z-50 flex flex-col transition-all duration-300`,`bg-gradient-to-b from-slate-900 to-slate-800`,t?`w-16`:`w-60`),children:[(0,R.jsxs)(`div`,{className:q(`flex items-center border-b border-white/10 h-16`,t?`justify-center px-2`:`justify-between px-5`),children:[!t&&(0,R.jsxs)(`div`,{className:`flex items-center gap-2.5`,children:[(0,R.jsx)(`div`,{className:`flex items-center justify-center w-8 h-8 rounded-lg bg-gradient-to-br from-blue-500 to-purple-600`,children:(0,R.jsx)(tl,{className:`h-5 w-5 text-white`})}),(0,R.jsx)(`span`,{className:`text-white font-bold text-lg tracking-tight`,children:`Forge`})]}),(0,R.jsx)(`button`,{onClick:()=>n(!t),className:`p-1.5 rounded-lg text-white/60 hover:text-white hover:bg-white/10 transition-colors`,children:t?(0,R.jsx)(wc,{className:`h-5 w-5`}):(0,R.jsx)(Vs,{className:`h-5 w-5`})})]}),(0,R.jsx)(`nav`,{className:`flex-1 py-4 space-y-1 px-2`,children:Of.map(e=>(0,R.jsxs)(ti,{to:e.path,className:({isActive:e})=>q(`flex items-center gap-3 rounded-lg transition-all duration-200`,t?`justify-center p-3`:`px-3 py-2.5`,e?`bg-blue-600/20 text-blue-400`:`text-white/60 hover:text-white hover:bg-white/5`),children:[(0,R.jsx)(e.icon,{className:`h-5 w-5 flex-shrink-0`}),!t&&(0,R.jsx)(`span`,{className:`text-sm font-medium`,children:e.label})]},e.path))}),(0,R.jsx)(`div`,{className:q(`border-t border-white/10 py-4`,t?`px-2`:`px-5`),children:(0,R.jsxs)(`div`,{className:q(`flex items-center gap-2`,t?`justify-center`:``),children:[(0,R.jsx)(`div`,{className:q(`w-2 h-2 rounded-full`,i?.status===`ok`?`bg-green-400 animate-pulse`:`bg-red-400`)}),!t&&(0,R.jsx)(`span`,{className:`text-xs text-white/40`,children:i?.status===`ok`?`Daemon 运行中`:`连接断开`})]})})]}),(0,R.jsxs)(`main`,{className:q(`flex-1 transition-all duration-300`,t?`ml-16`:`ml-60`),children:[(0,R.jsxs)(`header`,{className:`sticky top-0 z-40 bg-white/80 backdrop-blur-md border-b border-gray-200/50 h-16 flex items-center justify-between px-8`,children:[(0,R.jsx)(`h1`,{className:`text-xl font-semibold text-gray-900`,children:a?.label||`Claude Forge`}),(0,R.jsxs)(`div`,{className:`flex items-center gap-4`,children:[(0,R.jsxs)(`button`,{className:`hidden sm:flex items-center gap-2 px-3 py-1.5 text-sm text-gray-600 hover:text-gray-900 hover:bg-gray-100 rounded-lg transition-colors`,onClick:()=>{let e=new KeyboardEvent(`keydown`,{key:`k`,metaKey:!0});window.dispatchEvent(e)},children:[(0,R.jsx)(Zs,{className:`h-4 w-4`}),(0,R.jsx)(`span`,{children:`命令面板`}),(0,R.jsx)(`kbd`,{className:`px-2 py-0.5 text-xs bg-gray-100 rounded border border-gray-200`,children:`⌘K`})]}),(0,R.jsxs)(`span`,{className:`text-sm text-gray-500`,children:[`v`,`3.6.26`]}),(0,R.jsxs)(`div`,{className:q(`flex items-center gap-2 px-3 py-1.5 rounded-full text-xs font-semibold`,i?.status===`ok`?`bg-green-50 text-green-700 border border-green-200`:`bg-red-50 text-red-700 border border-red-200`),children:[(0,R.jsx)(`div`,{className:q(`w-1.5 h-1.5 rounded-full`,i?.status===`ok`?`bg-green-500`:`bg-red-500`)}),i?.status===`ok`?`在线`:`离线`]})]})]}),(0,R.jsx)(`div`,{className:`p-8 overflow-x-hidden`,children:e})]})]})}var Af=(0,L.createContext)({});function jf(e){let t=(0,L.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Mf=typeof window<`u`?L.useLayoutEffect:L.useEffect,Nf=(0,L.createContext)(null);function Pf(e,t){e.indexOf(t)===-1&&e.push(t)}function Ff(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var If=(e,t,n)=>n>t?t:n<e?e:n,Lf={},Rf=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function zf(e){return typeof e==`object`&&!!e}var Bf=e=>/^0[^.\s]+$/u.test(e);function Vf(e){let t;return()=>(t===void 0&&(t=e()),t)}var Hf=e=>e,Uf=(e,t)=>n=>t(e(n)),Wf=(...e)=>e.reduce(Uf),Gf=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r},Kf=class{constructor(){this.subscriptions=[]}add(e){return Pf(this.subscriptions,e),()=>Ff(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},qf=e=>e*1e3,Jf=e=>e/1e3;function Yf(e,t){return t?1e3/t*e:0}var Xf=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Zf=1e-7,Qf=12;function $f(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Xf(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>Zf&&++s<Qf);return o}function ep(e,t,n,r){if(e===t&&n===r)return Hf;let i=t=>$f(t,0,1,e,n);return e=>e===0||e===1?e:Xf(i(e),t,r)}var tp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,np=e=>t=>1-e(1-t),rp=ep(.33,1.53,.69,.99),ip=np(rp),ap=tp(ip),op=e=>e>=1?1:(e*=2)<1?.5*ip(e):.5*(2-2**(-10*(e-1))),sp=e=>1-Math.sin(Math.acos(e)),cp=np(sp),lp=tp(sp),up=ep(.42,0,1,1),dp=ep(0,0,.58,1),fp=ep(.42,0,.58,1),pp=e=>Array.isArray(e)&&typeof e[0]!=`number`,mp=e=>Array.isArray(e)&&typeof e[0]==`number`,hp={linear:Hf,easeIn:up,easeInOut:fp,easeOut:dp,circIn:sp,circInOut:lp,circOut:cp,backIn:ip,backInOut:ap,backOut:rp,anticipate:op},gp=e=>typeof e==`string`,_p=e=>{if(mp(e)){e.length;let[t,n,r,i]=e;return ep(t,n,r,i)}else if(gp(e))return hp[e],`${e}`,hp[e];return e},vp=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],yp={value:null,addProjectionMetrics:null};function bp(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;n=r,r=o,n.forEach(l),t&&yp.value&&yp.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var xp=40;function Sp(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=vp.reduce((e,n)=>(e[n]=bp(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=Lf.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,xp),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:vp.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<vp.length;t++)o[vp[t]].cancel(e)},state:i,steps:o}}var{schedule:Cp,cancel:wp,state:Tp,steps:Ep}=Sp(typeof requestAnimationFrame<`u`?requestAnimationFrame:Hf,!0),Dp;function Op(){Dp=void 0}var kp={now:()=>(Dp===void 0&&kp.set(Tp.isProcessing||Lf.useManualTiming?Tp.timestamp:performance.now()),Dp),set:e=>{Dp=e,queueMicrotask(Op)}},Ap={layout:0,mainThread:0,waapi:0},jp=e=>t=>typeof t==`string`&&t.startsWith(e),Mp=jp(`--`),Np=jp(`var(--`),Pp=e=>Np(e)?Fp.test(e.split(`/*`)[0].trim()):!1,Fp=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Ip(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var Lp={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Rp={...Lp,transform:e=>If(0,1,e)},zp={...Lp,default:1},Bp=e=>Math.round(e*1e5)/1e5,Vp=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Hp(e){return e==null}var Up=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Wp=(e,t)=>n=>!!(typeof n==`string`&&Up.test(n)&&n.startsWith(e)||t&&!Hp(n)&&Object.prototype.hasOwnProperty.call(n,t)),Gp=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Vp);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},eee=e=>If(0,255,e),Kp={...Lp,transform:e=>Math.round(eee(e))},qp={test:Wp(`rgb`,`red`),parse:Gp(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+Kp.transform(e)+`, `+Kp.transform(t)+`, `+Kp.transform(n)+`, `+Bp(Rp.transform(r))+`)`};function Jp(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var Yp={test:Wp(`#`),parse:Jp,transform:qp.transform},Xp=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Zp=Xp(`deg`),Qp=Xp(`%`),J=Xp(`px`),tee=Xp(`vh`),$p=Xp(`vw`),em={...Qp,parse:e=>Qp.parse(e)/100,transform:e=>Qp.transform(e*100)},tm={test:Wp(`hsl`,`hue`),parse:Gp(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+Qp.transform(Bp(t))+`, `+Qp.transform(Bp(n))+`, `+Bp(Rp.transform(r))+`)`},nm={test:e=>qp.test(e)||Yp.test(e)||tm.test(e),parse:e=>qp.test(e)?qp.parse(e):tm.test(e)?tm.parse(e):Yp.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?qp.transform(e):tm.transform(e),getAnimatableNone:e=>{let t=nm.parse(e);return t.alpha=0,nm.transform(t)}},rm=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function im(e){return isNaN(e)&&typeof e==`string`&&(e.match(Vp)?.length||0)+(e.match(rm)?.length||0)>0}var am=`number`,om=`color`,sm=`var`,cm=`var(`,lm="${}",um=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function dm(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(um,e=>(nm.test(e)?(r.color.push(a),i.push(om),n.push(nm.parse(e))):e.startsWith(cm)?(r.var.push(a),i.push(sm),n.push(e)):(r.number.push(a),i.push(am),n.push(parseFloat(e))),++a,lm)).split(lm),indexes:r,types:i}}function fm(e){return dm(e).values}function pm({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===am?i+=Bp(r[a]):e===om?i+=nm.transform(r[a]):i+=r[a]}return i}}function mm(e){return pm(dm(e))}var hm=e=>typeof e==`number`?0:nm.test(e)?nm.getAnimatableNone(e):e,nee=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:hm(e);function ree(e){let t=dm(e);return pm(t)(t.values.map((e,n)=>nee(e,t.split[n])))}var gm={test:im,parse:fm,createTransformer:mm,getAnimatableNone:ree};function _m(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function iee({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=_m(s,r,e+1/3),a=_m(s,r,e),o=_m(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function vm(e,t){return n=>n>0?t:e}var ym=(e,t,n)=>e+(t-e)*n,bm=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},xm=[Yp,qp,tm],Sm=e=>xm.find(t=>t.test(e));function Cm(e){let t=Sm(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===tm&&(n=iee(n)),n}var wm=(e,t)=>{let n=Cm(e),r=Cm(t);if(!n||!r)return vm(e,t);let i={...n};return e=>(i.red=bm(n.red,r.red,e),i.green=bm(n.green,r.green,e),i.blue=bm(n.blue,r.blue,e),i.alpha=ym(n.alpha,r.alpha,e),qp.transform(i))},Tm=new Set([`none`,`hidden`]);function Em(e,t){return Tm.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Dm(e,t){return n=>ym(e,t,n)}function Om(e){return typeof e==`number`?Dm:typeof e==`string`?Pp(e)?vm:nm.test(e)?wm:Mm:Array.isArray(e)?km:typeof e==`object`?nm.test(e)?wm:Am:vm}function km(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Om(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function Am(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Om(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function jm(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Mm=(e,t)=>{let n=gm.createTransformer(t),r=dm(e),i=dm(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Tm.has(e)&&!i.values.length||Tm.has(t)&&!r.values.length?Em(e,t):Wf(km(jm(r,i),i.values),n):(`${e}${t}`,vm(e,t))};function Nm(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?ym(e,t,n):Om(e)(e,t)}var Pm=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>Cp.update(t,e),stop:()=>wp(t),now:()=>Tp.isProcessing?Tp.timestamp:kp.now()}},Fm=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Im=2e4;function Lm(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function aee(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(Lm(r),Im);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:Jf(i)}}var Rm={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function zm(e,t){return e*Math.sqrt(1-t*t)}var oee=12;function see(e,t,n){let r=n;for(let n=1;n<oee;n++)r-=e(r)/t(r);return r}var Bm=.001;function Vm({duration:e=Rm.duration,bounce:t=Rm.bounce,velocity:n=Rm.velocity,mass:r=Rm.mass}){let i,a;Rm.maxDuration;let o=1-t;o=If(Rm.minDamping,Rm.maxDamping,o),e=If(Rm.minDuration,Rm.maxDuration,Jf(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=zm(t,o),c=Math.exp(-i);return Bm-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=zm(t**2,o);return(-i(t)+Bm>0?-1:1)*((a-s)*c)/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return-Bm+r*i},a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=see(i,a,s);if(e=qf(e),isNaN(c))return{stiffness:Rm.stiffness,damping:Rm.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var Hm=[`duration`,`bounce`],Um=[`stiffness`,`damping`,`mass`];function Wm(e,t){return t.some(t=>e[t]!==void 0)}function Gm(e){let t={velocity:Rm.velocity,stiffness:Rm.stiffness,damping:Rm.damping,mass:Rm.mass,isResolvedFromDuration:!1,...e};if(!Wm(e,Um)&&Wm(e,Hm))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*If(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:Rm.mass,stiffness:i,damping:a}}else{let n=Vm({...e,velocity:0});t={...t,...n,mass:Rm.mass},t.isResolvedFromDuration=!0}return t}function Km(e=Rm.visualDuration,t=Rm.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Gm({...n,velocity:-Jf(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=Jf(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?Rm.restSpeed.granular:Rm.restSpeed.default,i||=v?Rm.restDelta.granular:Rm.restDelta.default;let y,b,x,S,C,w;if(h<1)x=zm(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>qf(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=qf(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=qf(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(Lm(T),Im),t=Fm(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}Km.applyToOptions=e=>{let t=aee(e,100,Km);return e.ease=t.ease,e.duration=qf(t.duration),e.type=`keyframes`,e};var qm=5;function Jm(e,t,n){let r=Math.max(t-qm,0);return Yf(n-e(r),t-r)}function Ym({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=Km({keyframes:[f.value,m(f.value)],velocity:Jm(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function Xm(e,t,n){let r=[],i=n||Lf.mix||Nm,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=Wf(Array.isArray(t)?t[n]||Hf:t,a)),r.push(a)}return r}function Zm(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=Xm(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=Gf(e[r],e[r+1],n);return s[r](i)};return n?t=>l(If(e[0],e[a-1],t)):l}function Qm(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Gf(0,t,r);e.push(ym(n,1,i))}}function $m(e){let t=[0];return Qm(t,e.length-1),t}function eh(e,t){return e.map(e=>e*t)}function th(e,t){return e.map(()=>t||fp).splice(0,e.length-1)}function nh({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=pp(r)?r.map(_p):_p(r),a={done:!1,value:t[0]},o=Zm(eh(n&&n.length===t.length?n:$m(t),e),t,{ease:Array.isArray(i)?i:th(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var rh=e=>e!==null;function ih(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(rh),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var ah={decay:Ym,inertia:Ym,tween:nh,keyframes:nh,spring:Km};function oh(e){typeof e.type==`string`&&(e.type=ah[e.type])}var sh=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},ch=e=>e/100,lh=class extends sh{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==kp.now()&&this.tick(kp.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},Ap.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;oh(e);let{type:t=nh,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||nh;s!==nh&&typeof o[0]!=`number`&&(this.mixKeyframes=Wf(ch,Nm(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=Lm(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=If(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==Ym&&(b.value=ih(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return Jf(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Jf(e)}get time(){return Jf(this.currentTime)}set time(e){e=qf(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return Jm(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(kp.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=Jf(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Pm,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(kp.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state=`finished`,this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null,Ap.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function uh(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var dh=e=>e*180/Math.PI,fh=e=>mh(dh(Math.atan2(e[1],e[0]))),ph={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:fh,rotateZ:fh,skewX:e=>dh(Math.atan(e[1])),skewY:e=>dh(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},mh=e=>(e%=360,e<0&&(e+=360),e),hh=fh,gh=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),_h=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),vh={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:gh,scaleY:_h,scale:e=>(gh(e)+_h(e))/2,rotateX:e=>mh(dh(Math.atan2(e[6],e[5]))),rotateY:e=>mh(dh(Math.atan2(-e[2],e[0]))),rotateZ:hh,rotate:hh,skewX:e=>dh(Math.atan(e[4])),skewY:e=>dh(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function yh(e){return+!!e.includes(`scale`)}function bh(e,t){if(!e||e===`none`)return yh(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=vh,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=ph,i=t}if(!i)return yh(t);let a=r[t],o=i[1].split(`,`).map(Sh);return typeof a==`function`?a(o):o[a]}var xh=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return bh(n,t)};function Sh(e){return parseFloat(e.trim())}var Ch=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],wh=new Set(Ch),Th=e=>e===Lp||e===J,Eh=new Set([`x`,`y`,`z`]),Dh=Ch.filter(e=>!Eh.has(e));function Oh(e){let t=[];return Dh.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var kh={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>bh(t,`x`),y:(e,{transform:t})=>bh(t,`y`)};kh.translateX=kh.x,kh.translateY=kh.y;var Ah=new Set,jh=!1,Mh=!1,Nh=!1;function Ph(){if(Mh){let e=Array.from(Ah).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Oh(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Mh=!1,jh=!1,Ah.forEach(e=>e.complete(Nh)),Ah.clear()}function Fh(){Ah.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Mh=!0)})}function Ih(){Nh=!0,Fh(),Ph(),Nh=!1}var Lh=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Ah.add(this),jh||(jh=!0,Cp.read(Fh),Cp.resolveKeyframes(Ph))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}uh(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Ah.delete(this)}cancel(){this.state===`scheduled`&&(Ah.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Rh=e=>e.startsWith(`--`);function zh(e,t,n){Rh(t)?e.style.setProperty(t,n):e.style[t]=n}var Bh={};function Vh(e,t){let n=Vf(e);return()=>Bh[t]??n()}var Hh=Vh(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),Uh=Vh(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),Wh=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Gh={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:Wh([0,.65,.55,1]),circOut:Wh([.55,0,1,.45]),backIn:Wh([.31,.01,.66,-.59]),backOut:Wh([.33,1.53,.69,.99])};function Kh(e,t){if(e)return typeof e==`function`?Uh()?Fm(e,t):`ease-out`:mp(e)?Wh(e):Array.isArray(e)?e.map(e=>Kh(e,t)||Gh.easeOut):Gh[e]}function qh(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=Kh(s,i);Array.isArray(d)&&(u.easing=d),yp.value&&Ap.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return yp.value&&p.finished.finally(()=>{Ap.waapi--}),p}function Jh(e){return typeof e==`function`&&`applyToOptions`in e}function Yh({type:e,...t}){return Jh(e)&&Uh()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var Xh=class extends sh{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=Yh(e);this.animation=qh(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=ih(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),zh(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return Jf(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+Jf(e)}get time(){return Jf(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=qf(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&Hh()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),Hf):r(this)}},Zh={anticipate:op,backInOut:ap,circInOut:lp};function Qh(e){return e in Zh}function $h(e){typeof e.ease==`string`&&Qh(e.ease)&&(e.ease=Zh[e.ease])}var eg=10,tg=class extends Xh{constructor(e){$h(e),oh(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new lh({...a,autoplay:!1}),s=Math.max(eg,kp.now()-this.startTime),c=If(0,eg,s-eg),l=o.sample(s).value,{name:u}=this.options;i&&u&&zh(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},ng=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(gm.test(e)||e===`0`)&&!e.startsWith(`url(`));function cee(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function lee(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=ng(i,t),s=ng(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:cee(e)||(n===`spring`||Jh(n))&&r}function rg(e){e.duration=0,e.type=`keyframes`}var ig=new Set([`opacity`,`clipPath`,`filter`,`transform`]),uee=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function dee(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&uee.test(e[t]))return!0;return!1}var fee=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),pee=Vf(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function mee(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return pee()&&n&&(ig.has(n)||fee.has(n)&&dee(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var hee=40,gee=class extends sh{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=kp.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u};this.keyframeResolver=new(l?.KeyframeResolver||Lh)(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=kp.now();let u=!0;lee(e,i,a,o)||(u=!1,(Lf.instantAnimations||!s)&&l?.(ih(e,n,t)),e[0]=e[e.length-1],rg(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>hee?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&mee(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new tg({...d,element:p})}catch{m=new lh(d)}else m=new lh(d);m.finished.then(()=>{this.notifyFinished()}).catch(Hf),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Ih()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function ag(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var _ee=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function vee(e){let t=_ee.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function og(e,t,n=1){`${e}`;let[r,i]=vee(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Rf(e)?parseFloat(e):e}return Pp(i)?og(i,t,n+1):i}var yee={type:`spring`,stiffness:500,damping:25,restSpeed:10},bee=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),xee={type:`keyframes`,duration:.8},See={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Cee=(e,{keyframes:t})=>t.length>2?xee:wh.has(e)?e.startsWith(`scale`)?bee(t[1]):yee:See;function sg(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function cg(e,t){let n=e?.[t]??e?.default??e;return n===e?n:sg(n,e)}var wee=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Tee(e){for(let t in e)if(!wee.has(t))return!0;return!1}var lg=(e,t,n,r={},i,a)=>o=>{let s=cg(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=qf(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};Tee(s)||Object.assign(u,Cee(e,u)),u.duration&&=qf(u.duration),u.repeatDelay&&=qf(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(rg(u),u.delay===0&&(d=!0)),(Lf.instantAnimations||Lf.skipAnimations||i?.shouldSkipAnimations)&&(d=!0,rg(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=ih(u.keyframes,s);if(e!==void 0){Cp.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new lh(u):new gee(u)};function ug(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function dg(e,t,n,r){if(typeof t==`function`){let[i,a]=ug(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=ug(r);t=t(n===void 0?e.custom:n,i,a)}return t}function fg(e,t,n){let r=e.getProps();return dg(r,t,n===void 0?r.custom:n,e)}var pg=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Ch]),mg=30,hg=e=>!isNaN(parseFloat(e)),gg={current:void 0},_g=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=kp.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=kp.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=hg(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new Kf);let n=this.events[e].add(t);return e===`change`?()=>{n(),Cp.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return gg.current&&gg.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=kp.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>mg)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,mg);return Yf(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function vg(e,t){return new _g(e,t)}var yg=e=>Array.isArray(e);function bg(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,vg(n))}function xg(e){return yg(e)?e[e.length-1]||0:e}function Eee(e,t){let{transitionEnd:n={},transition:r={},...i}=fg(e,t)||{};i={...i,...n};for(let t in i)bg(e,t,xg(i[t]))}var Sg=e=>!!(e&&e.getVelocity);function Dee(e){return!!(Sg(e)&&e.add)}function Cg(e,t){let n=e.getValue(`willChange`);if(Dee(n))return n.add(t);if(!n&&Lf.WillChange){let n=new Lf.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function wg(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var Tg=`data-`+wg(`framerAppearId`);function Eg(e){return e.props[Tg]}function Dg({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function Og(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?sg(a,c):c;let l=a?.reduceMotion;r&&(a=r);let u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||d&&Dg(d,t))continue;let o={delay:n,...cg(a||{},t)},c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){Cp.update(()=>r.set(i));continue}let f=!1;if(window.MotionHandoffAnimation){let n=Eg(e);if(n){let e=window.MotionHandoffAnimation(n,t,Cp);e!==null&&(o.startTime=e,f=!0)}}Cg(e,t);let p=l??e.shouldReduceMotion;r.start(lg(t,r,i,p&&pg.has(t)?{type:!1}:o,e,f));let m=r.animation;m&&u.push(m)}if(o){let t=()=>Cp.update(()=>{o&&Eee(e,o)});u.length?Promise.all(u).then(t):t()}return u}function kg(e,t,n={}){let r=fg(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(Og(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return Oee(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function Oee(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(kg(c,t,{...o,delay:n+(typeof r==`function`?0:r)+ag(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function kee(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>kg(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=kg(e,t,n);else{let i=typeof t==`function`?fg(e,t,n.custom):t;r=Promise.all(Og(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var Aee={test:e=>e===`auto`,parse:e=>e},Ag=e=>t=>t.test(e),jg=[Lp,J,Qp,Zp,$p,tee,Aee],Mg=e=>jg.find(Ag(e));function Ng(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||Bf(e)}var Pg=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Fg(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Vp)||[];if(!r)return e;let i=n.replace(r,``),a=+!!Pg.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var Ig=/\b([a-z-]*)\(.*?\)/gu,Lg={...gm,getAnimatableNone:e=>{let t=e.match(Ig);return t?t.map(Fg).join(` `):e}},Rg={...gm,getAnimatableNone:e=>{let t=gm.parse(e);return gm.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},zg={...Lp,transform:Math.round},Bg={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,top:J,right:J,bottom:J,left:J,inset:J,insetBlock:J,insetBlockStart:J,insetBlockEnd:J,insetInline:J,insetInlineStart:J,insetInlineEnd:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,paddingBlock:J,paddingBlockStart:J,paddingBlockEnd:J,paddingInline:J,paddingInlineStart:J,paddingInlineEnd:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,marginBlock:J,marginBlockStart:J,marginBlockEnd:J,marginInline:J,marginInlineStart:J,marginInlineEnd:J,fontSize:J,backgroundPositionX:J,backgroundPositionY:J,rotate:Zp,rotateX:Zp,rotateY:Zp,rotateZ:Zp,scale:zp,scaleX:zp,scaleY:zp,scaleZ:zp,skew:Zp,skewX:Zp,skewY:Zp,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:Rp,originX:em,originY:em,originZ:J,zIndex:zg,fillOpacity:Rp,strokeOpacity:Rp,numOctaves:zg},jee={...Bg,color:nm,backgroundColor:nm,outlineColor:nm,fill:nm,stroke:nm,borderColor:nm,borderTopColor:nm,borderRightColor:nm,borderBottomColor:nm,borderLeftColor:nm,filter:Lg,WebkitFilter:Lg,mask:Rg,WebkitMask:Rg},Vg=e=>jee[e],Hg=new Set([Lg,Rg]);function Ug(e,t){let n=Vg(e);return Hg.has(n)||(n=gm),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Wg=new Set([`auto`,`none`,`0`]);function Gg(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Wg.has(t)&&dm(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Ug(n,i)}var Kg=class extends Lh{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),Pp(r))){let i=og(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!pg.has(n)||e.length!==2)return;let[r,i]=e,a=Mg(r),o=Mg(i);if(Ip(r)!==Ip(i)&&kh[n]){this.needsMeasurement=!0;return}if(a!==o)if(Th(a)&&Th(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else kh[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||Ng(e[t]))&&n.push(t);n.length&&Gg(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=kh[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=kh[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function qg(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var Jg=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Yg(e){return zf(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:Xg,cancel:Mee}=Sp(queueMicrotask,!1),Zg={x:!1,y:!1};function Qg(){return Zg.x||Zg.y}function Nee(e){return e===`x`||e===`y`?Zg[e]?null:(Zg[e]=!0,()=>{Zg[e]=!1}):Zg.x||Zg.y?null:(Zg.x=Zg.y=!0,()=>{Zg.x=Zg.y=!1})}function $g(e,t){let n=qg(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Pee(e){return!(e.pointerType===`touch`||Qg())}function Fee(e,t,n={}){let[r,i,a]=$g(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!Pee(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var e_=(e,t)=>t?e===t?!0:e_(e,t.parentElement):!1,t_=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,n_=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function r_(e){return n_.has(e.tagName)||e.isContentEditable===!0}var i_=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function a_(e){return i_.has(e.tagName)||e.isContentEditable===!0}var o_=new WeakSet;function s_(e){return t=>{t.key===`Enter`&&e(t)}}function c_(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var l_=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=s_(()=>{if(o_.has(n))return;c_(n,`down`);let e=s_(()=>{c_(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>c_(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function u_(e){return t_(e)&&!Qg()}var d_=new WeakSet;function f_(e,t,n={}){let[r,i,a]=$g(e,n),o=e=>{let r=e.currentTarget;if(!u_(e)||d_.has(e))return;o_.add(r),n.stopPropagation&&d_.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),o_.has(r)&&o_.delete(r),u_(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||e_(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Yg(e)&&(e.addEventListener(`focus`,e=>l_(e,i)),!r_(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function p_(e){return zf(e)&&`ownerSVGElement`in e}var m_=new WeakMap,h_,g_=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:p_(r)&&`getBBox`in r?r.getBBox()[t]:r[n],__=g_(`inline`,`width`,`offsetWidth`),v_=g_(`block`,`height`,`offsetHeight`);function y_({target:e,borderBoxSize:t}){m_.get(e)?.forEach(n=>{n(e,{get width(){return __(e,t)},get height(){return v_(e,t)}})})}function b_(e){e.forEach(y_)}function x_(){typeof ResizeObserver>`u`||(h_=new ResizeObserver(b_))}function S_(e,t){h_||x_();let n=qg(e);return n.forEach(e=>{let n=m_.get(e);n||(n=new Set,m_.set(e,n)),n.add(t),h_?.observe(e)}),()=>{n.forEach(e=>{let n=m_.get(e);n?.delete(t),n?.size||h_?.unobserve(e)})}}var C_=new Set,w_;function T_(){w_=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};C_.forEach(t=>t(e))},window.addEventListener(`resize`,w_)}function E_(e){return C_.add(e),w_||T_(),()=>{C_.delete(e),!C_.size&&typeof w_==`function`&&(window.removeEventListener(`resize`,w_),w_=void 0)}}function D_(e,t){return typeof e==`function`?E_(e):S_(e,t)}function O_(e){return p_(e)&&e.tagName===`svg`}var k_=[...jg,nm,gm],A_=e=>k_.find(Ag(e)),j_=()=>({translate:0,scale:1,origin:0,originPoint:0}),M_=()=>({x:j_(),y:j_()}),N_=()=>({min:0,max:0}),P_=()=>({x:N_(),y:N_()}),F_=new WeakMap;function I_(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function L_(e){return typeof e==`string`||Array.isArray(e)}var R_=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],z_=[`initial`,...R_];function B_(e){return I_(e.animate)||z_.some(t=>L_(e[t]))}function V_(e){return!!(B_(e)||e.variants)}function H_(e,t,n){for(let r in t){let i=t[r],a=n[r];if(Sg(i))e.addValue(r,i);else if(Sg(a))e.addValue(r,vg(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,vg(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var U_={current:null},W_={current:!1},G_=typeof window<`u`;function K_(){if(W_.current=!0,G_)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>U_.current=e.matches;e.addEventListener(`change`,t),t()}else U_.current=!1}var q_=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],J_={};function Y_(e){J_=e}function X_(){return J_}var Iee=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=Lh,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=kp.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,Cp.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=B_(t),this.isVariantNode=V_(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&Sg(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,F_.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(W_.current||K_(),this.shouldReduceMotion=U_.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),wp(this.notifyUpdate),wp(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&ig.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new Xh({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:qf(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=wh.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&Cp.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in J_){let t=J_[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):P_()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<q_.length;t++){let n=q_[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=H_(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=vg(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(Rf(n)||Bf(n))?n=parseFloat(n):!A_(n)&&gm.test(t)&&(n=Ug(e,t)),this.setBaseTarget(e,Sg(n)?n.get():n)),Sg(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=dg(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!Sg(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new Kf),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Xg.render(this.render)}},Z_=class extends Iee{constructor(){super(...arguments),this.KeyframeResolver=Kg}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;Sg(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},Q_=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function $_({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Lee({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Ree(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function ev(e){return e===void 0||e===1}function tv({scale:e,scaleX:t,scaleY:n}){return!ev(e)||!ev(t)||!ev(n)}function nv(e){return tv(e)||rv(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function rv(e){return iv(e.x)||iv(e.y)}function iv(e){return e&&e!==`0%`}function av(e,t,n){return n+t*(e-n)}function ov(e,t,n,r,i){return i!==void 0&&(e=av(e,i,r)),av(e,n,r)+t}function sv(e,t=0,n=1,r,i){e.min=ov(e.min,t,n,r,i),e.max=ov(e.max,t,n,r,i)}function cv(e,{x:t,y:n}){sv(e.x,t.translate,t.scale,t.originPoint),sv(e.y,n.translate,n.scale,n.originPoint)}var lv=.999999999999,uv=1.0000000000001;function dv(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(fv(e.x,-a.scroll.offset.x),fv(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,cv(e,o)),r&&nv(a.latestValues)&&hv(e,a.latestValues,a.layout?.layoutBox))}t.x<uv&&t.x>lv&&(t.x=1),t.y<uv&&t.y>lv&&(t.y=1)}function fv(e,t){e.min+=t,e.max+=t}function pv(e,t,n,r,i=.5){sv(e,t,n,ym(e.min,e.max,i),r)}function mv(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function hv(e,t,n){let r=n??e;pv(e.x,mv(t.x,r.x),t.scaleX,t.scale,t.originX),pv(e.y,mv(t.y,r.y),t.scaleY,t.scale,t.originY)}function gv(e,t){return $_(Ree(e.getBoundingClientRect(),t))}function _v(e,t,n){let r=gv(e,n),{scroll:i}=t;return i&&(fv(r.x,i.offset.x),fv(r.y,i.offset.y)),r}var vv={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},yv=Ch.length;function bv(e,t,n){let r=``,i=!0;for(let a=0;a<yv;a++){let o=Ch[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=Jg(s,Bg[o]);if(!c){i=!1;let t=vv[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function xv(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(wh.has(e)){o=!0;continue}else if(Mp(e)){i[e]=n;continue}else{let t=Jg(n,Bg[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=bv(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function Sv(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function Cv(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var wv={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(J.test(e))e=parseFloat(e);else return e;return`${Cv(e,t.target.x)}% ${Cv(e,t.target.y)}%`}},Tv={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=gm.parse(e);if(i.length>5)return r;let a=gm.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=ym(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},Ev={borderRadius:{...wv,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:wv,borderTopRightRadius:wv,borderBottomLeftRadius:wv,borderBottomRightRadius:wv,boxShadow:Tv};function Dv(e,{layout:t,layoutId:n}){return wh.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!Ev[e]||e===`opacity`)}function Ov(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(Sg(r[t])||i&&Sg(i[t])||Dv(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function kv(e){return window.getComputedStyle(e)}var Av=class extends Z_{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Sv}readValueFromInstance(e,t){if(wh.has(t))return this.projection?.isProjecting?yh(t):xh(e,t);{let n=kv(e),r=(Mp(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return gv(e,t)}build(e,t,n){xv(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Ov(e,t,n)}},jv={offset:`stroke-dashoffset`,array:`stroke-dasharray`},Mv={offset:`strokeDashoffset`,array:`strokeDasharray`};function Nv(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?jv:Mv;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Pv=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Fv(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(xv(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Pv)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&Nv(d,i,a,o,!1)}var Iv=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),Lv=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Rv(e,t,n,r){Sv(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Iv.has(n)?n:wg(n),t.attrs[n])}function zv(e,t,n){let r=Ov(e,t,n);for(let n in e)if(Sg(e[n])||Sg(t[n])){let t=Ch.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Bv=class extends Z_{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=P_}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(wh.has(t)){let e=Vg(t);return e&&e.default||0}return t=Iv.has(t)?t:wg(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return zv(e,t,n)}build(e,t,n){Fv(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Rv(e,t,n,r)}mount(e){this.isSVGTag=Lv(e.tagName),super.mount(e)}},Vv=z_.length;function Hv(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Hv(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<Vv;n++){let r=z_[n],i=e.props[r];(L_(i)||i===!1)&&(t[r]=i)}return t}function Uv(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Wv=[...R_].reverse(),Gv=R_.length;function Kv(e){return t=>Promise.all(t.map(({animation:t,options:n})=>kee(e,t,n)))}function qv(e){let t=Kv(e),n=Xv(),r=!0,i=!1,a=t=>(n,r)=>{let i=fg(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Hv(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Gv;t++){let p=Wv[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=L_(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||I_(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Jv(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=yg(t)&&yg(n)?!Uv(t,n):t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=fg(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=ag(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=fg(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Xv(),i=!0}}}function Jv(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Uv(t,e):!1}function Yv(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Xv(){return{animate:Yv(!0),whileInView:Yv(),whileHover:Yv(),whileTap:Yv(),whileDrag:Yv(),whileFocus:Yv(),exit:Yv()}}function Zv(e,t){e.min=t.min,e.max=t.max}function Qv(e,t){Zv(e.x,t.x),Zv(e.y,t.y)}function $v(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var ey=1e-4,ty=1-ey,ny=1+ey,ry=.01,iy=0-ry,ay=0+ry;function oy(e){return e.max-e.min}function sy(e,t,n){return Math.abs(e-t)<=n}function cy(e,t,n,r=.5){e.origin=r,e.originPoint=ym(t.min,t.max,e.origin),e.scale=oy(n)/oy(t),e.translate=ym(n.min,n.max,e.origin)-e.originPoint,(e.scale>=ty&&e.scale<=ny||isNaN(e.scale))&&(e.scale=1),(e.translate>=iy&&e.translate<=ay||isNaN(e.translate))&&(e.translate=0)}function ly(e,t,n,r){cy(e.x,t.x,n.x,r?r.originX:void 0),cy(e.y,t.y,n.y,r?r.originY:void 0)}function uy(e,t,n,r=0){e.min=(r?ym(n.min,n.max,r):n.min)+t.min,e.max=e.min+oy(t)}function dy(e,t,n,r){uy(e.x,t.x,n.x,r?.x),uy(e.y,t.y,n.y,r?.y)}function fy(e,t,n,r=0){let i=r?ym(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+oy(t)}function py(e,t,n,r){fy(e.x,t.x,n.x,r?.x),fy(e.y,t.y,n.y,r?.y)}function my(e,t,n,r,i){return e-=t,e=av(e,1/n,r),i!==void 0&&(e=av(e,1/i,r)),e}function hy(e,t=0,n=1,r=.5,i,a=e,o=e){if(Qp.test(t)&&(t=parseFloat(t),t=ym(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=ym(a.min,a.max,r);e===a&&(s-=t),e.min=my(e.min,t,n,s,i),e.max=my(e.max,t,n,s,i)}function gy(e,t,[n,r,i],a,o){hy(e,t[n],t[r],t[i],t.scale,a,o)}var _y=[`x`,`scaleX`,`originX`],vy=[`y`,`scaleY`,`originY`];function yy(e,t,n,r){gy(e.x,t,_y,n?n.x:void 0,r?r.x:void 0),gy(e.y,t,vy,n?n.y:void 0,r?r.y:void 0)}function by(e){return e.translate===0&&e.scale===1}function xy(e){return by(e.x)&&by(e.y)}function Sy(e,t){return e.min===t.min&&e.max===t.max}function Cy(e,t){return Sy(e.x,t.x)&&Sy(e.y,t.y)}function wy(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Ty(e,t){return wy(e.x,t.x)&&wy(e.y,t.y)}function Ey(e){return oy(e.x)/oy(e.y)}function Dy(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Oy(e){return[e(`x`),e(`y`)]}function ky(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),s&&(r+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var Ay=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],jy=Ay.length,My=e=>typeof e==`string`?parseFloat(e):e,Ny=e=>typeof e==`number`||J.test(e);function Py(e,t,n,r,i,a){i?(e.opacity=ym(0,n.opacity??1,Iy(r)),e.opacityExit=ym(t.opacity??1,0,Ly(r))):a&&(e.opacity=ym(t.opacity??1,n.opacity??1,r));for(let i=0;i<jy;i++){let a=Ay[i],o=Fy(t,a),s=Fy(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Ny(o)===Ny(s)?(e[a]=Math.max(ym(My(o),My(s),r),0),(Qp.test(s)||Qp.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=ym(t.rotate||0,n.rotate||0,r))}function Fy(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Iy=Ry(0,.5,cp),Ly=Ry(.5,.95,Hf);function Ry(e,t,n){return r=>r<e?0:r>t?1:n(Gf(e,t,r))}function zy(e,t,n){let r=Sg(e)?e:vg(e);return r.start(lg(``,r,t,n)),r.animation}function By(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Vy=(e,t)=>e.depth-t.depth,Hy=class{constructor(){this.children=[],this.isDirty=!1}add(e){Pf(this.children,e),this.isDirty=!0}remove(e){Ff(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Vy),this.isDirty=!1,this.children.forEach(e)}};function Uy(e,t){let n=kp.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(wp(r),e(a-t))};return Cp.setup(r,!0),()=>wp(r)}function Wy(e){return Sg(e)?e.get():e}var Gy=class{constructor(){this.members=[]}add(e){Pf(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(Ff(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(Ff(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},Ky={hasAnimatedSinceResize:!0,hasEverUpdated:!1},qy={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Jy=[``,`X`,`Y`,`Z`],Yy=1e3,Xy=0;function Zy(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Qy(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Eg(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,Cp,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Qy(r)}function $y({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Xy++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,yp.value&&(qy.nodes=qy.calculatedTargetDeltas=qy.calculatedProjections=0),this.nodes.forEach(Vee),this.nodes.forEach(qee),this.nodes.forEach(Jee),this.nodes.forEach(Hee),yp.addProjectionMetrics&&yp.addProjectionMetrics(qy)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Hy)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Kf),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=p_(t)&&!O_(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;Cp.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Uy(i,250),Ky.hasAnimatedSinceResize&&(Ky.hasAnimatedSinceResize=!1,this.nodes.forEach(nb)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||$ee,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!Ty(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...cg(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l)}else t||nb(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),wp(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Yee),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Qy(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(Wee),this.nodes.forEach(eb);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(tb);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Gee),this.nodes.forEach(Kee),this.nodes.forEach(zee),this.nodes.forEach(Bee)):this.nodes.forEach(tb),this.clearAllSnapshots();let e=kp.now();Tp.delta=If(0,1e3/60,e-Tp.timestamp),Tp.timestamp=e,Tp.isProcessing=!0,Ep.update.process(Tp),Ep.preRender.process(Tp),Ep.render.process(Tp),Tp.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Xg.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Uee),this.sharedNodes.forEach(Xee)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,Cp.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){Cp.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!oy(this.snapshot.measuredBox.x)&&!oy(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=P_(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!xy(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||nv(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),ete(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return P_();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(tte))){let{scroll:e}=this.root;e&&(fv(t.x,e.offset.x),fv(t.y,e.offset.y))}return t}removeElementScroll(e){let t=P_();if(Qv(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Qv(t,e),fv(t.x,i.offset.x),fv(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||P_();Qv(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(fv(r.x,-n.scroll.offset.x),fv(r.y,-n.scroll.offset.y)),nv(n.latestValues)&&hv(r,n.latestValues,n.layout?.layoutBox)}return nv(this.latestValues)&&hv(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=P_();Qv(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!nv(n.latestValues))continue;let r;n.instance&&(tv(n.latestValues)&&n.updateSnapshot(),r=P_(),Qv(r,n.measurePageBox())),yy(t,n.latestValues,n.snapshot?.layoutBox,r)}return nv(this.latestValues)&&yy(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==Tp.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=Tp.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=P_(),this.targetWithTransforms=P_()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),dy(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Qv(this.target,this.layout.layoutBox),cv(this.target,this.targetDelta)):Qv(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),yp.value&&qy.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||tv(this.parent.latestValues)||rv(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=P_(),this.relativeTargetOrigin=P_(),py(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Qv(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Tp.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Qv(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;dv(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=P_());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():($v(this.prevProjectionDelta.x,this.projectionDelta.x),$v(this.prevProjectionDelta.y,this.projectionDelta.y)),ly(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!Dy(this.projectionDelta.x,this.prevProjectionDelta.x)||!Dy(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),yp.value&&qy.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=M_(),this.projectionDelta=M_(),this.projectionDeltaWithTransform=M_()}setAnimationOrigin(e,t=!1){let n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},a=M_();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=P_(),s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),l=!c||c.members.length<=1,u=!!(s&&!l&&this.options.crossfade===!0&&!this.path.some(Qee));this.animationProgress=0;let d;this.mixTargetDelta=t=>{let n=t/1e3;rb(a.x,e.x,n),rb(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(py(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),Zee(this.relativeTarget,this.relativeTargetOrigin,o,n),d&&Cy(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||=P_(),Qv(d,this.relativeTarget)),s&&(this.animationValues=i,Py(i,r,this.latestValues,n,u,l)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(wp(this.pendingAnimation),void 0),this.pendingAnimation=Cp.update(()=>{Ky.hasAnimatedSinceResize=!0,Ap.layout++,this.motionValue||=vg(0),this.motionValue.jump(0,!1),this.currentAnimation=zy(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Ap.layout--},onComplete:()=>{Ap.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Yy),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&cb(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||P_();let t=oy(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=oy(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Qv(t,n),hv(t,i),ly(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Gy),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Zy(`z`,e,r,this.animationValues);for(let t=0;t<Jy.length;t++)Zy(`rotate${Jy[t]}`,e,r,this.animationValues),Zy(`skew${Jy[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Wy(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Wy(t?.pointerEvents)||``),this.hasProjected&&!nv(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=ky(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in Ev){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=Ev[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Wy(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(eb),this.root.sharedNodes.clear()}}}function zee(e){e.updateLayout()}function Bee(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)Oy(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=oy(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Zv(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else cb(i,t.layoutBox,n)&&Oy(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=oy(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=M_();ly(o,n,t.layoutBox);let s=M_();a?ly(s,e.applyTransform(r,!0),t.measuredBox):ly(s,n,t.layoutBox);let c=!xy(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=P_();py(s,t.layoutBox,i.layoutBox,o);let c=P_();py(c,n,a.layoutBox,o),Ty(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Vee(e){yp.value&&qy.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Hee(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Uee(e){e.clearSnapshot()}function eb(e){e.clearMeasurements()}function Wee(e){e.isLayoutDirty=!0,e.updateLayout()}function tb(e){e.isLayoutDirty=!1}function Gee(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Kee(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function nb(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function qee(e){e.resolveTargetDelta()}function Jee(e){e.calcProjection()}function Yee(e){e.resetSkewAndRotation()}function Xee(e){e.removeLeadSnapshot()}function rb(e,t,n){e.translate=ym(t.translate,0,n),e.scale=ym(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function ib(e,t,n,r){e.min=ym(t.min,n.min,r),e.max=ym(t.max,n.max,r)}function Zee(e,t,n,r){ib(e.x,t.x,n.x,r),ib(e.y,t.y,n.y,r)}function Qee(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var $ee={duration:.45,ease:[.4,0,.1,1]},ab=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ob=ab(`applewebkit/`)&&!ab(`chrome/`)?Math.round:Hf;function sb(e){e.min=ob(e.min),e.max=ob(e.max)}function ete(e){sb(e.x),sb(e.y)}function cb(e,t,n){return e===`position`||e===`preserve-aspect`&&!sy(Ey(t),Ey(n),.2)}function tte(e){return e!==e.root&&e.scroll?.wasRoot}var nte=$y({attachResizeListener:(e,t)=>By(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),lb={current:void 0},ub=$y({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!lb.current){let e=new nte({});e.mount(window),e.setOptions({layoutScroll:!0}),lb.current=e}return lb.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),db=(0,L.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function fb(e,t){if(typeof e==`function`)return e(t);e!=null&&(e.current=t)}function rte(...e){return t=>{let n=!1,r=e.map(e=>{let r=fb(e,t);return!n&&typeof r==`function`&&(n=!0),r});if(n)return()=>{for(let t=0;t<r.length;t++){let n=r[t];typeof n==`function`?n():fb(e[t],null)}}}}function ite(...e){return L.useCallback(rte(...e),e)}var ate=class extends L.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(Yg(t)&&e.isPresent&&!this.props.isPresent&&this.props.pop!==!1){let e=t.offsetParent,n=Yg(e)&&e.offsetWidth||0,r=Yg(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=n-a.width-a.left,a.bottom=r-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}};function ote({children:e,isPresent:t,anchorX:n,anchorY:r,root:i,pop:a}){let o=(0,L.useId)(),s=(0,L.useRef)(null),c=(0,L.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:l}=(0,L.useContext)(db),u=ite(s,e.props?.ref??e?.ref);return(0,L.useInsertionEffect)(()=>{let{width:e,height:u,top:d,left:f,right:p,bottom:m}=c.current;if(t||a===!1||!s.current||!e||!u)return;let h=n===`left`?`left: ${f}`:`right: ${p}`,g=r===`bottom`?`bottom: ${m}`:`top: ${d}`;s.current.dataset.motionPopId=o;let _=document.createElement(`style`);l&&(_.nonce=l);let v=i??document.head;return v.appendChild(_),_.sheet&&_.sheet.insertRule(`
|
|
20
20
|
[data-motion-pop-id="${o}"] {
|
|
21
21
|
position: absolute !important;
|
|
22
22
|
width: ${e}px !important;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8">
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
6
|
<title>Claude Forge - 管理后台</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-DL3sxp0u.js"></script>
|
|
8
8
|
<link rel="stylesheet" crossorigin href="/assets/index-DwWCJY_u.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|