@intrig/core 0.0.15-0 → 0.0.15-1
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/README.md +12 -1
- package/main.js +262 -120
- package/package.json +2 -1
- package/assets/insight/assets/index-CxihxLeN.js +0 -305
- package/assets/insight/assets/index-DqkBEGPJ.css +0 -1
- package/assets/insight/assets/intrig-logo-H-7vjkLv.svg +0 -53
- package/assets/insight/assets/intrig-logo-short-BA0oCLLn.svg +0 -26
- package/assets/insight/favicon.ico +0 -0
- package/assets/insight/index.html +0 -16
- package/assets/insight/package.json +0 -31
package/main.js
CHANGED
|
@@ -300,7 +300,14 @@ class UpSubCommand extends external_nest_commander_namespaceObject.CommandRunner
|
|
|
300
300
|
super(), this.pm = pm;
|
|
301
301
|
}
|
|
302
302
|
async run() {
|
|
303
|
+
const isRunning = await this.pm.isRunning();
|
|
304
|
+
if (isRunning) {
|
|
305
|
+
console.log('✓ Daemon is already running');
|
|
306
|
+
return;
|
|
307
|
+
}
|
|
308
|
+
console.log('Starting daemon...');
|
|
303
309
|
await this.pm.start();
|
|
310
|
+
console.log('✓ Daemon started successfully');
|
|
304
311
|
}
|
|
305
312
|
}
|
|
306
313
|
UpSubCommand = deamon_command_ts_decorate([
|
|
@@ -318,7 +325,14 @@ class DownSubCommand extends external_nest_commander_namespaceObject.CommandRunn
|
|
|
318
325
|
super(), this.pm = pm;
|
|
319
326
|
}
|
|
320
327
|
async run() {
|
|
328
|
+
const isRunning = await this.pm.isRunning();
|
|
329
|
+
if (!isRunning) {
|
|
330
|
+
console.log('✓ Daemon is not running');
|
|
331
|
+
return;
|
|
332
|
+
}
|
|
333
|
+
console.log('Stopping daemon...');
|
|
321
334
|
await this.pm.stop();
|
|
335
|
+
console.log('✓ Daemon stopped successfully');
|
|
322
336
|
}
|
|
323
337
|
}
|
|
324
338
|
DownSubCommand = deamon_command_ts_decorate([
|
|
@@ -336,7 +350,9 @@ class RestartSubCommand extends external_nest_commander_namespaceObject.CommandR
|
|
|
336
350
|
super(), this.pm = pm;
|
|
337
351
|
}
|
|
338
352
|
async run() {
|
|
353
|
+
console.log('Restarting daemon...');
|
|
339
354
|
await this.pm.restart();
|
|
355
|
+
console.log('✓ Daemon restarted successfully');
|
|
340
356
|
}
|
|
341
357
|
}
|
|
342
358
|
RestartSubCommand = deamon_command_ts_decorate([
|
|
@@ -355,7 +371,8 @@ class StatusSubCommand extends external_nest_commander_namespaceObject.CommandRu
|
|
|
355
371
|
}
|
|
356
372
|
async run() {
|
|
357
373
|
const isRunning = await this.pm.isRunning();
|
|
358
|
-
|
|
374
|
+
const status = isRunning ? '✓ Daemon is running' : '✗ Daemon is not running';
|
|
375
|
+
console.log(status);
|
|
359
376
|
}
|
|
360
377
|
}
|
|
361
378
|
StatusSubCommand = deamon_command_ts_decorate([
|
|
@@ -428,7 +445,6 @@ class GenerateCommand extends external_nest_commander_namespaceObject.CommandRun
|
|
|
428
445
|
}
|
|
429
446
|
// 2) build URL and log
|
|
430
447
|
const genUrl = `${metadata.url}/api/operations/generate`;
|
|
431
|
-
console.log(external_chalk_default().gray(`\n→ Connecting to ${genUrl}\n`));
|
|
432
448
|
// 3) open SSE stream
|
|
433
449
|
const response = await (0,external_rxjs_namespaceObject.lastValueFrom)(this.httpService.get(genUrl, {
|
|
434
450
|
responseType: 'stream'
|
|
@@ -633,7 +649,6 @@ class SyncCommand extends external_nest_commander_namespaceObject.CommandRunner
|
|
|
633
649
|
}
|
|
634
650
|
// 2) fetch current sources
|
|
635
651
|
const listUrl = `${metadata.url}/api/config/sources/list`;
|
|
636
|
-
console.log(external_chalk_default().gray(`\n→ Fetching sources from ${listUrl}`));
|
|
637
652
|
const { data: sources } = await (0,external_rxjs_namespaceObject.lastValueFrom)(this.httpService.get(listUrl, {
|
|
638
653
|
headers: {
|
|
639
654
|
Accept: 'application/json'
|
|
@@ -671,11 +686,7 @@ class SyncCommand extends external_nest_commander_namespaceObject.CommandRunner
|
|
|
671
686
|
let syncUrl = `${metadata.url}/api/operations/sync`;
|
|
672
687
|
if (id) {
|
|
673
688
|
syncUrl += `?id=${encodeURIComponent(id)}`;
|
|
674
|
-
console.log(external_chalk_default().gray(`\n→ Syncing source: ${id}`));
|
|
675
|
-
} else {
|
|
676
|
-
console.log(external_chalk_default().gray('\n→ Syncing all sources'));
|
|
677
689
|
}
|
|
678
|
-
console.log(external_chalk_default().gray(`→ Connecting to ${syncUrl}\n`));
|
|
679
690
|
// 5) open SSE stream
|
|
680
691
|
const response = await (0,external_rxjs_namespaceObject.lastValueFrom)(this.httpService.get(syncUrl, {
|
|
681
692
|
responseType: 'stream'
|
|
@@ -858,7 +869,6 @@ class SourceListCommand extends external_nest_commander_namespaceObject.CommandR
|
|
|
858
869
|
}
|
|
859
870
|
// 2) Fetch list
|
|
860
871
|
const listUrl = `${metadata.url}/api/config/sources/list`;
|
|
861
|
-
console.log(external_chalk_default().gray(`\n→ Fetching sources from ${listUrl}`));
|
|
862
872
|
const { data: sources } = await (0,external_rxjs_namespaceObject.lastValueFrom)(this.httpService.get(listUrl, {
|
|
863
873
|
headers: {
|
|
864
874
|
'Accept': 'application/json'
|
|
@@ -900,7 +910,6 @@ class SourceRemoveCommand extends external_nest_commander_namespaceObject.Comman
|
|
|
900
910
|
}
|
|
901
911
|
// 2) fetch list of sources
|
|
902
912
|
const listUrl = `${metadata.url}/api/config/sources/list`;
|
|
903
|
-
console.log(external_chalk_default().gray(`\n→ Fetching sources from ${listUrl}`));
|
|
904
913
|
const { data: sources } = await (0,external_rxjs_namespaceObject.lastValueFrom)(this.httpService.get(listUrl, {
|
|
905
914
|
headers: {
|
|
906
915
|
Accept: 'application/json'
|
|
@@ -1343,8 +1352,6 @@ SourceManagementService = source_management_service_ts_decorate([
|
|
|
1343
1352
|
const external_util_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("util");
|
|
1344
1353
|
;// external "child_process"
|
|
1345
1354
|
const external_child_process_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("child_process");
|
|
1346
|
-
;// external "nypm"
|
|
1347
|
-
const external_nypm_namespaceObject = await import("nypm");
|
|
1348
1355
|
;// ../../lib/common/src/lib/package-manager.service.ts
|
|
1349
1356
|
function package_manager_service_ts_decorate(decorators, target, key, desc) {
|
|
1350
1357
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -1355,12 +1362,13 @@ function package_manager_service_ts_decorate(decorators, target, key, desc) {
|
|
|
1355
1362
|
|
|
1356
1363
|
|
|
1357
1364
|
|
|
1358
|
-
|
|
1365
|
+
// import {PackageManager, detectPackageManager} from "nypm";
|
|
1359
1366
|
const execAsync = (0,external_util_namespaceObject.promisify)(external_child_process_namespaceObject.exec);
|
|
1360
1367
|
class PackageManagerService {
|
|
1361
1368
|
/** Detect (and cache) the project’s package manager via nypm */ async getPM() {
|
|
1362
1369
|
if (!this.pm) {
|
|
1363
|
-
const
|
|
1370
|
+
const { detectPackageManager } = await import(/* webpackIgnore: true */ 'nypm');
|
|
1371
|
+
const detectedPM = await detectPackageManager(process.cwd());
|
|
1364
1372
|
if (!detectedPM) {
|
|
1365
1373
|
throw new Error('Failed to detect package manager');
|
|
1366
1374
|
}
|
|
@@ -6759,6 +6767,7 @@ export function pending<T, E = unknown>(
|
|
|
6759
6767
|
export interface SuccessState<T, E = unknown> extends NetworkState<T, E> {
|
|
6760
6768
|
state: 'success';
|
|
6761
6769
|
data: T;
|
|
6770
|
+
headers?: Record<string, any | undefined>;
|
|
6762
6771
|
}
|
|
6763
6772
|
|
|
6764
6773
|
/**
|
|
@@ -6773,12 +6782,14 @@ export function isSuccess<T, E = unknown>(state: NetworkState<T, E>): state is S
|
|
|
6773
6782
|
* Creates a success state object with the provided data.
|
|
6774
6783
|
*
|
|
6775
6784
|
* @param {T} data - The data to be included in the success state.
|
|
6785
|
+
* @param headers
|
|
6776
6786
|
* @return {SuccessState<T>} An object representing a success state containing the provided data.
|
|
6777
6787
|
*/
|
|
6778
|
-
export function success<T, E = unknown>(data: T): SuccessState<T, E> {
|
|
6788
|
+
export function success<T, E = unknown>(data: T, headers?: Record<string, any | undefined>): SuccessState<T, E> {
|
|
6779
6789
|
return {
|
|
6780
6790
|
state: 'success',
|
|
6781
6791
|
data,
|
|
6792
|
+
headers
|
|
6782
6793
|
};
|
|
6783
6794
|
}
|
|
6784
6795
|
|
|
@@ -7354,7 +7365,7 @@ export function IntrigProvider({
|
|
|
7354
7365
|
while (true) {
|
|
7355
7366
|
let { done, value } = await reader.read();
|
|
7356
7367
|
if (done) {
|
|
7357
|
-
flushSync(() => dispatch(success(lastMessage)));
|
|
7368
|
+
flushSync(() => dispatch(success(lastMessage, response.headers)));
|
|
7358
7369
|
break;
|
|
7359
7370
|
}
|
|
7360
7371
|
|
|
@@ -7368,9 +7379,9 @@ export function IntrigProvider({
|
|
|
7368
7379
|
);
|
|
7369
7380
|
return;
|
|
7370
7381
|
}
|
|
7371
|
-
dispatch(success(data.data));
|
|
7382
|
+
dispatch(success(data.data, response.headers));
|
|
7372
7383
|
} else {
|
|
7373
|
-
dispatch(success(response.data));
|
|
7384
|
+
dispatch(success(response.data, response.headers));
|
|
7374
7385
|
}
|
|
7375
7386
|
} else {
|
|
7376
7387
|
let { data, error: validationError } = errorSchema?.safeParse(response.data ?? {}) ?? {};
|
|
@@ -8027,9 +8038,12 @@ async function reactRequestHookTemplate({ source, data: { paths, operationId, re
|
|
|
8027
8038
|
`;
|
|
8028
8039
|
}
|
|
8029
8040
|
|
|
8041
|
+
;// external "mime-types"
|
|
8042
|
+
const external_mime_types_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("mime-types");
|
|
8030
8043
|
;// ../../lib/react-binding/src/lib/templates/source/controller/method/download.template.ts
|
|
8031
8044
|
|
|
8032
8045
|
|
|
8046
|
+
|
|
8033
8047
|
function download_template_extractHookShapeAndOptionsShape(response, requestBody, imports) {
|
|
8034
8048
|
if (response) {
|
|
8035
8049
|
if (requestBody) {
|
|
@@ -8107,11 +8121,11 @@ function download_template_extractErrorParams(errorTypes) {
|
|
|
8107
8121
|
}
|
|
8108
8122
|
async function reactDownloadHookTemplate({ source, data: { paths, operationId, response, requestUrl, variables, requestBody, contentType, responseType, errorResponses, method } }, _path) {
|
|
8109
8123
|
const ts = typescript(external_path_namespaceObject.resolve(_path, 'src', source, ...paths, camelCase(operationId), `use${pascalCase(operationId)}${generatePostfix(contentType, responseType)}Download.ts`));
|
|
8110
|
-
const modifiedRequestUrl =
|
|
8124
|
+
const modifiedRequestUrl = `${requestUrl?.replace(/\{/g, "${")}`;
|
|
8111
8125
|
const imports = new Set();
|
|
8112
8126
|
imports.add(`import { z } from 'zod'`);
|
|
8113
|
-
imports.add(`import { useCallback } from 'react'`);
|
|
8114
|
-
imports.add(`import {useNetworkState, NetworkState, DispatchState, pending, success, error, successfulDispatch, validationError, encode} from "@intrig/react"`);
|
|
8127
|
+
imports.add(`import { useCallback, useEffect } from 'react'`);
|
|
8128
|
+
imports.add(`import {useNetworkState, NetworkState, DispatchState, pending, success, error, init, successfulDispatch, validationError, encode, isSuccess} from "@intrig/react"`);
|
|
8115
8129
|
const { hookShape, optionsShape } = download_template_extractHookShapeAndOptionsShape(response, requestBody, imports);
|
|
8116
8130
|
const { paramExpression, paramType } = download_template_extractParamDeconstruction(variables, requestBody);
|
|
8117
8131
|
if (requestBody) {
|
|
@@ -8129,32 +8143,7 @@ async function reactDownloadHookTemplate({ source, data: { paths, operationId, r
|
|
|
8129
8143
|
...variables?.filter((a)=>a.in === "path").map((a)=>a.name) ?? [],
|
|
8130
8144
|
"...params"
|
|
8131
8145
|
].join(",");
|
|
8132
|
-
const
|
|
8133
|
-
let form = document.createElement('form');
|
|
8134
|
-
form.method = '${method}';
|
|
8135
|
-
form.action = \`${modifiedRequestUrl}\`;
|
|
8136
|
-
|
|
8137
|
-
Object.entries(data).forEach(([key, value]) => {
|
|
8138
|
-
let input = document.createElement('input');
|
|
8139
|
-
input.type = 'hidden';
|
|
8140
|
-
input.name = key;
|
|
8141
|
-
input.value = value;
|
|
8142
|
-
form.appendChild(input);
|
|
8143
|
-
})
|
|
8144
|
-
|
|
8145
|
-
document.body.appendChild(form);
|
|
8146
|
-
form.submit();
|
|
8147
|
-
document.body.removeChild(form);
|
|
8148
|
-
` : `
|
|
8149
|
-
let a = document.createElement('a');
|
|
8150
|
-
a.href = \`${modifiedRequestUrl}\`;
|
|
8151
|
-
a.download = 'download';
|
|
8152
|
-
dispatch(pending())
|
|
8153
|
-
document.body.appendChild(a);
|
|
8154
|
-
a.click();
|
|
8155
|
-
document.body.removeChild(a);
|
|
8156
|
-
dispatch(success(undefined))
|
|
8157
|
-
`;
|
|
8146
|
+
const finalRequestBodyBlock = requestBody ? `,data: encode(data, "${contentType}", requestBodySchema)` : '';
|
|
8158
8147
|
return ts`
|
|
8159
8148
|
${[
|
|
8160
8149
|
...imports
|
|
@@ -8171,13 +8160,36 @@ async function reactDownloadHookTemplate({ source, data: { paths, operationId, r
|
|
|
8171
8160
|
const source = "${source}"
|
|
8172
8161
|
|
|
8173
8162
|
function use${pascalCase(operationId)}Hook(options: ${optionsShape} = {}): [NetworkState<Response, _ErrorType>, (${paramType}) => DispatchState<any>, () => void] {
|
|
8174
|
-
let [state
|
|
8163
|
+
let [state, dispatch, clear, dispatchState] = useNetworkState<Response, _ErrorType>({
|
|
8175
8164
|
key: options?.key ?? 'default',
|
|
8176
8165
|
operation,
|
|
8177
8166
|
source,
|
|
8178
8167
|
schema,
|
|
8179
8168
|
errorSchema
|
|
8180
8169
|
});
|
|
8170
|
+
|
|
8171
|
+
useEffect(() => {
|
|
8172
|
+
if (isSuccess(state)) {
|
|
8173
|
+
let a = document.createElement('a');
|
|
8174
|
+
a.href = URL.createObjectURL(new Blob([state.data], {type: 'application/octet-stream'}));
|
|
8175
|
+
const contentDisposition = state.headers?.['content-disposition'];
|
|
8176
|
+
let filename = '${pascalCase(operationId)}.${external_mime_types_namespaceObject.extension(contentType)}';
|
|
8177
|
+
if (contentDisposition) {
|
|
8178
|
+
const rx = /filename\\*=(?:UTF-8'')?([^;\\r\\n]+)|filename="?([^";\\r\\n]+)"?/i;
|
|
8179
|
+
const m = contentDisposition.match(rx);
|
|
8180
|
+
if (m && m[1]) {
|
|
8181
|
+
filename = decodeURIComponent(m[1].replace(/\\+/g, ' '));
|
|
8182
|
+
} else if (m && m[2]) {
|
|
8183
|
+
filename = decodeURIComponent(m[2].replace(/\\+/g, ' '));
|
|
8184
|
+
}
|
|
8185
|
+
}
|
|
8186
|
+
a.download = filename;
|
|
8187
|
+
document.body.appendChild(a);
|
|
8188
|
+
a.click();
|
|
8189
|
+
document.body.removeChild(a);
|
|
8190
|
+
dispatchState(init())
|
|
8191
|
+
}
|
|
8192
|
+
}, [state])
|
|
8181
8193
|
|
|
8182
8194
|
let doExecute = useCallback<(${paramType}) => DispatchState<any>>((${paramExpression}) => {
|
|
8183
8195
|
let { ${paramExplode}} = p
|
|
@@ -8189,10 +8201,35 @@ async function reactDownloadHookTemplate({ source, data: { paths, operationId, r
|
|
|
8189
8201
|
}
|
|
8190
8202
|
` : ``}
|
|
8191
8203
|
|
|
8192
|
-
|
|
8193
|
-
|
|
8204
|
+
dispatch({
|
|
8205
|
+
method: '${method}',
|
|
8206
|
+
url: \`${modifiedRequestUrl}\`,
|
|
8207
|
+
headers: {
|
|
8208
|
+
${contentType ? `"Content-Type": "${contentType}",` : ''}
|
|
8209
|
+
},
|
|
8210
|
+
params,
|
|
8211
|
+
key: \`${"${source}: ${operation}"}\`,
|
|
8212
|
+
source: '${source}'
|
|
8213
|
+
${requestBody ? finalRequestBodyBlock : ''},
|
|
8214
|
+
${responseType === "text/event-stream" ? `responseType: 'stream', adapter: 'fetch',` : ''}
|
|
8215
|
+
})
|
|
8194
8216
|
return successfulDispatch();
|
|
8195
8217
|
}, [dispatch])
|
|
8218
|
+
|
|
8219
|
+
useEffect(() => {
|
|
8220
|
+
if (options.fetchOnMount) {
|
|
8221
|
+
doExecute(${[
|
|
8222
|
+
requestBody ? `options.body!` : undefined,
|
|
8223
|
+
"options.params!"
|
|
8224
|
+
].filter((a)=>a).join(",")});
|
|
8225
|
+
}
|
|
8226
|
+
|
|
8227
|
+
return () => {
|
|
8228
|
+
if (options.clearOnUnmount) {
|
|
8229
|
+
clear();
|
|
8230
|
+
}
|
|
8231
|
+
}
|
|
8232
|
+
}, [])
|
|
8196
8233
|
|
|
8197
8234
|
return [
|
|
8198
8235
|
state,
|
|
@@ -9378,7 +9415,7 @@ class ReactBindingService extends GeneratorBinding {
|
|
|
9378
9415
|
await this.dump(reactParamsTemplate(descriptor, this._path));
|
|
9379
9416
|
await this.dump(reactRequestHookTemplate(descriptor, this._path));
|
|
9380
9417
|
await this.dump(reactAsyncFunctionHookTemplate(descriptor, this._path));
|
|
9381
|
-
if (descriptor.data.method.toUpperCase() === 'GET' && !react_binding_service_nonDownloadMimePatterns(descriptor.data.responseType)) {
|
|
9418
|
+
if (descriptor.data.method.toUpperCase() === 'GET' && !react_binding_service_nonDownloadMimePatterns(descriptor.data.responseType) || descriptor.data.responseHeaders?.['Content-Disposition']) {
|
|
9382
9419
|
await this.dump(reactDownloadHookTemplate(descriptor, this._path));
|
|
9383
9420
|
}
|
|
9384
9421
|
}
|
|
@@ -9598,58 +9635,34 @@ ReactCliModule = react_cli_module_ts_decorate([
|
|
|
9598
9635
|
|
|
9599
9636
|
;// external "express"
|
|
9600
9637
|
const external_express_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("express");
|
|
9601
|
-
;//
|
|
9602
|
-
const
|
|
9638
|
+
;// ../../node_modules/raw-loader/dist/cjs.js!../../dist/app/insight/index.html?raw
|
|
9639
|
+
/* harmony default export */ const insightraw = ("<!doctype html>\n<html lang=\"en\">\n <head>\n <meta charset=\"utf-8\" />\n <title>Insight</title>\n <base href=\"/\" />\n\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" />\n <link rel=\"icon\" type=\"image/x-icon\" href=\"/favicon.ico\" />\n <script type=\"module\" crossorigin src=\"/assets/index.js\"></script>\n <link rel=\"stylesheet\" crossorigin href=\"/assets/index.css\">\n </head>\n <body>\n <div id=\"root\"></div>\n </body>\n</html>\n");
|
|
9640
|
+
;// ../../node_modules/raw-loader/dist/cjs.js!../../dist/app/insight/assets/index.css?raw
|
|
9641
|
+
/* harmony default export */ const assetsraw = ("/*! tailwindcss v4.1.11 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-ordinal:initial;--tw-slashed-zero:initial;--tw-numeric-figure:initial;--tw-numeric-spacing:initial;--tw-numeric-fraction:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-duration:initial;--tw-ease:initial;--tw-content:\"\";--tw-animation-delay:0s;--tw-animation-direction:normal;--tw-animation-duration:initial;--tw-animation-fill-mode:none;--tw-animation-iteration-count:1;--tw-enter-opacity:1;--tw-enter-rotate:0;--tw-enter-scale:1;--tw-enter-translate-x:0;--tw-enter-translate-y:0;--tw-exit-opacity:1;--tw-exit-rotate:0;--tw-exit-scale:1;--tw-exit-translate-x:0;--tw-exit-translate-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-700:oklch(55.5% .163 48.998);--color-yellow-600:oklch(68.1% .162 75.834);--color-green-100:oklch(96.2% .044 156.743);--color-green-600:oklch(62.7% .194 149.214);--color-green-700:oklch(52.7% .154 150.069);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-800:oklch(42.4% .199 265.638);--color-purple-100:oklch(94.6% .033 307.174);--color-purple-700:oklch(49.6% .265 301.924);--color-gray-50:oklch(98.5% .002 247.839);--color-gray-100:oklch(96.7% .003 264.542);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-lg:32rem;--container-3xl:48rem;--text-xs:.75rem;--text-xs--line-height:calc(1/.75);--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-base:1rem;--text-base--line-height: 1.5 ;--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75/1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2/1.5);--text-3xl:1.875rem;--text-3xl--line-height: 1.2 ;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-.025em;--tracking-widest:.1em;--radius-xs:.125rem;--ease-in-out:cubic-bezier(.4,0,.2,1);--animate-spin:spin 1s linear infinite;--animate-pulse:pulse 2s cubic-bezier(.4,0,.6,1)infinite;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}*{border-color:var(--border);outline-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){*{outline-color:color-mix(in oklab,var(--ring)50%,transparent)}}body{color:var(--foreground);background-color:var(--background)}}@layer components{.prose{--tw-prose-body:oklch(85% .01 285);--tw-prose-headings:oklch(100% 0 0);--tw-prose-lead:oklch(75% .01 285);--tw-prose-links:var(--primary-foreground);--tw-prose-bold:oklch(100% 0 0);--tw-prose-counters:oklch(65% .01 285);--tw-prose-bullets:oklch(65% .01 285);--tw-prose-hr:oklch(65% .01 285/.3);--tw-prose-quotes:var(--card-foreground);--tw-prose-quote-borders:oklch(65% .01 285/.5);--tw-prose-captions:oklch(65% .01 285);--tw-prose-code:oklch(95% .01 285);--tw-prose-pre-code:oklch(85% .01 285);--tw-prose-pre-bg:oklch(0% 0 0/.15)}.docs-callout{border-radius:var(--radius);background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.docs-callout{background-color:color-mix(in oklab,var(--muted)20%,transparent)}}.docs-callout{padding-inline:calc(var(--spacing)*3);padding-block:calc(var(--spacing)*2);font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--muted-foreground)}}@layer utilities{.pointer-events-none{pointer-events:none}.sr-only{clip:rect(0,0,0,0);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.inset-0{inset:calc(var(--spacing)*0)}.inset-x-0{inset-inline:calc(var(--spacing)*0)}.inset-y-0{inset-block:calc(var(--spacing)*0)}.top-0{top:calc(var(--spacing)*0)}.top-1\\.5{top:calc(var(--spacing)*1.5)}.top-1\\/2{top:50%}.top-2{top:calc(var(--spacing)*2)}.top-3{top:calc(var(--spacing)*3)}.top-3\\.5{top:calc(var(--spacing)*3.5)}.top-4{top:calc(var(--spacing)*4)}.top-5{top:calc(var(--spacing)*5)}.top-\\[50\\%\\]{top:50%}.right-0{right:calc(var(--spacing)*0)}.right-1{right:calc(var(--spacing)*1)}.right-2{right:calc(var(--spacing)*2)}.right-3{right:calc(var(--spacing)*3)}.right-4{right:calc(var(--spacing)*4)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-1{bottom:calc(var(--spacing)*1)}.bottom-2{bottom:calc(var(--spacing)*2)}.bottom-4{bottom:calc(var(--spacing)*4)}.left-0{left:calc(var(--spacing)*0)}.left-3{left:calc(var(--spacing)*3)}.left-4{left:calc(var(--spacing)*4)}.left-\\[50\\%\\]{left:50%}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.col-span-full{grid-column:1/-1}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.-mx-1{margin-inline:calc(var(--spacing)*-1)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-2{margin-inline:calc(var(--spacing)*2)}.mx-3\\.5{margin-inline:calc(var(--spacing)*3.5)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing)*1)}.my-4{margin-block:calc(var(--spacing)*4)}.my-6{margin-block:calc(var(--spacing)*6)}.mt-0{margin-top:calc(var(--spacing)*0)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-6{margin-top:calc(var(--spacing)*6)}.mt-8{margin-top:calc(var(--spacing)*8)}.mt-auto{margin-top:auto}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-2{margin-right:calc(var(--spacing)*2)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-6{margin-bottom:calc(var(--spacing)*6)}.mb-8{margin-bottom:calc(var(--spacing)*8)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-auto{margin-left:auto}.line-clamp-3{-webkit-line-clamp:3;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline-flex{display:inline-flex}.table{display:table}.table-caption{display:table-caption}.table-cell{display:table-cell}.table-row{display:table-row}.aspect-square{aspect-ratio:1}.size-2\\.5{width:calc(var(--spacing)*2.5);height:calc(var(--spacing)*2.5)}.size-4{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.size-7{width:calc(var(--spacing)*7);height:calc(var(--spacing)*7)}.size-9{width:calc(var(--spacing)*9);height:calc(var(--spacing)*9)}.size-full{width:100%;height:100%}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-7{height:calc(var(--spacing)*7)}.h-8{height:calc(var(--spacing)*8)}.h-9{height:calc(var(--spacing)*9)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-64{height:calc(var(--spacing)*64)}.h-96{height:calc(var(--spacing)*96)}.h-\\[200px\\]{height:200px}.h-\\[650px\\]{height:650px}.h-\\[700px\\]{height:700px}.h-\\[calc\\(100\\%-1px\\)\\]{height:calc(100% - 1px)}.h-\\[calc\\(100vh-250px\\)\\]{height:calc(100vh - 250px)}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.h-screen{height:100vh}.h-svh{height:100svh}.max-h-\\[300px\\]{max-height:300px}.max-h-\\[650px\\]{max-height:650px}.min-h-0{min-height:calc(var(--spacing)*0)}.min-h-\\[50vh\\]{min-height:50vh}.min-h-screen{min-height:100vh}.min-h-svh{min-height:100svh}.w-\\(--sidebar-width\\){width:var(--sidebar-width)}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-3\\/4{width:75%}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-12{width:calc(var(--spacing)*12)}.w-16{width:calc(var(--spacing)*16)}.w-24{width:calc(var(--spacing)*24)}.w-32{width:calc(var(--spacing)*32)}.w-40{width:calc(var(--spacing)*40)}.w-48{width:calc(var(--spacing)*48)}.w-56{width:calc(var(--spacing)*56)}.w-64{width:calc(var(--spacing)*64)}.w-72{width:calc(var(--spacing)*72)}.w-96{width:calc(var(--spacing)*96)}.w-\\[85\\%\\]{width:85%}.w-\\[500px\\]{width:500px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-px{width:1px}.max-w-\\(--skeleton-width\\){max-width:var(--skeleton-width)}.max-w-3xl{max-width:var(--container-3xl)}.max-w-\\[calc\\(100\\%-2rem\\)\\]{max-width:calc(100% - 2rem)}.max-w-md{max-width:var(--container-md)}.max-w-none{max-width:none}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing)*0)}.min-w-5{min-width:calc(var(--spacing)*5)}.flex-1{flex:1}.flex-shrink{flex-shrink:1}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.caption-bottom{caption-side:bottom}.border-collapse{border-collapse:collapse}.origin-\\(--radix-popover-content-transform-origin\\){transform-origin:var(--radix-popover-content-transform-origin)}.origin-\\(--radix-tooltip-content-transform-origin\\){transform-origin:var(--radix-tooltip-content-transform-origin)}.-translate-x-1\\/2{--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-x-px{--tw-translate-x:-1px;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-\\[-50\\%\\]{--tw-translate-x:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-x-px{--tw-translate-x:1px;translate:var(--tw-translate-x)var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\\[-50\\%\\]{--tw-translate-y:-50%;translate:var(--tw-translate-x)var(--tw-translate-y)}.translate-y-\\[calc\\(-50\\%_-_2px\\)\\]{--tw-translate-y: calc(-50% - 2px) ;translate:var(--tw-translate-x)var(--tw-translate-y)}.rotate-45{rotate:45deg}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.animate-in{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.scroll-py-1{scroll-padding-block:calc(var(--spacing)*1)}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-\\[auto_1fr\\]{grid-template-columns:auto 1fr}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.gap-6{gap:calc(var(--spacing)*6)}:where(.space-y-0>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*0)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*0)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-1\\.5>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*1.5)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*1.5)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*2)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*2)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-3>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*3)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*3)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-4>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*4)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*4)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*6)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*6)*calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-8>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing)*8)*var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing)*8)*calc(1 - var(--tw-space-y-reverse)))}.gap-x-3{column-gap:calc(var(--spacing)*3)}.gap-y-2{row-gap:calc(var(--spacing)*2)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px*var(--tw-divide-y-reverse));border-bottom-width:calc(1px*calc(1 - var(--tw-divide-y-reverse)))}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\[2px\\]{border-radius:2px}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius)}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-xs{border-radius:var(--radius-xs)}.rounded-l-none{border-top-left-radius:0;border-bottom-left-radius:0}.rounded-r-none{border-top-right-radius:0;border-bottom-right-radius:0}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-r{border-right-style:var(--tw-border-style);border-right-width:1px}.border-r-0{border-right-style:var(--tw-border-style);border-right-width:0}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-l-4{border-left-style:var(--tw-border-style);border-left-width:4px}.border-border{border-color:var(--border)}.border-gray-200{border-color:var(--color-gray-200)}.border-input{border-color:var(--input)}.border-muted-foreground\\/30{border-color:var(--muted-foreground)}@supports (color:color-mix(in lab,red,red)){.border-muted-foreground\\/30{border-color:color-mix(in oklab,var(--muted-foreground)30%,transparent)}}.border-primary{border-color:var(--primary)}.border-red-200{border-color:var(--color-red-200)}.border-sidebar-border{border-color:var(--sidebar-border)}.border-transparent{border-color:#0000}.border-t-transparent{border-top-color:#0000}.border-l-transparent{border-left-color:#0000}.bg-accent{background-color:var(--accent)}.bg-amber-100{background-color:var(--color-amber-100)}.bg-background{background-color:var(--background)}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab,red,red)){.bg-black\\/50{background-color:color-mix(in oklab,var(--color-black)50%,transparent)}}.bg-blue-100{background-color:var(--color-blue-100)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-border{background-color:var(--border)}.bg-card{background-color:var(--card)}.bg-destructive{background-color:var(--destructive)}.bg-gray-50{background-color:var(--color-gray-50)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-gray-600{background-color:var(--color-gray-600)}.bg-green-100{background-color:var(--color-green-100)}.bg-green-600{background-color:var(--color-green-600)}.bg-muted,.bg-muted\\/20{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\\/20{background-color:color-mix(in oklab,var(--muted)20%,transparent)}}.bg-muted\\/50{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\\/50{background-color:color-mix(in oklab,var(--muted)50%,transparent)}}.bg-muted\\/80{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.bg-muted\\/80{background-color:color-mix(in oklab,var(--muted)80%,transparent)}}.bg-popover{background-color:var(--popover)}.bg-primary{background-color:var(--primary)}.bg-purple-100{background-color:var(--color-purple-100)}.bg-red-100{background-color:var(--color-red-100)}.bg-red-500{background-color:var(--color-red-500)}.bg-red-600{background-color:var(--color-red-600)}.bg-secondary{background-color:var(--secondary)}.bg-sidebar{background-color:var(--sidebar)}.bg-sidebar-border{background-color:var(--sidebar-border)}.bg-transparent{background-color:#0000}.bg-white{background-color:var(--color-white)}.bg-yellow-600{background-color:var(--color-yellow-600)}.fill-primary{fill:var(--primary)}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-3{padding:calc(var(--spacing)*3)}.p-4{padding:calc(var(--spacing)*4)}.p-6{padding:calc(var(--spacing)*6)}.p-8{padding:calc(var(--spacing)*8)}.p-\\[3px\\]{padding:3px}.p-px{padding:1px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-1\\.5{padding-inline:calc(var(--spacing)*1.5)}.px-2{padding-inline:calc(var(--spacing)*2)}.px-2\\.5{padding-inline:calc(var(--spacing)*2.5)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-6{padding-inline:calc(var(--spacing)*6)}.py-0\\.5{padding-block:calc(var(--spacing)*.5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-1\\.5{padding-block:calc(var(--spacing)*1.5)}.py-2{padding-block:calc(var(--spacing)*2)}.py-3{padding-block:calc(var(--spacing)*3)}.py-4{padding-block:calc(var(--spacing)*4)}.py-6{padding-block:calc(var(--spacing)*6)}.py-8{padding-block:calc(var(--spacing)*8)}.py-12{padding-block:calc(var(--spacing)*12)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-3{padding-top:calc(var(--spacing)*3)}.pt-6{padding-top:calc(var(--spacing)*6)}.pr-16{padding-right:calc(var(--spacing)*16)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-4{padding-bottom:calc(var(--spacing)*4)}.pl-4{padding-left:calc(var(--spacing)*4)}.pl-6{padding-left:calc(var(--spacing)*6)}.pl-10{padding-left:calc(var(--spacing)*10)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-3xl{font-size:var(--text-3xl);line-height:var(--tw-leading,var(--text-3xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.leading-none{--tw-leading:1;line-height:1}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-balance{text-wrap:balance}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.whitespace-nowrap{white-space:nowrap}.text-amber-700{color:var(--color-amber-700)}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-blue-700{color:var(--color-blue-700)}.text-blue-800{color:var(--color-blue-800)}.text-card-foreground{color:var(--card-foreground)}.text-destructive{color:var(--destructive)}.text-foreground{color:var(--foreground)}.text-gray-500{color:var(--color-gray-500)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-green-600{color:var(--color-green-600)}.text-green-700{color:var(--color-green-700)}.text-inherit{color:inherit}.text-muted-foreground,.text-muted-foreground\\/50{color:var(--muted-foreground)}@supports (color:color-mix(in lab,red,red)){.text-muted-foreground\\/50{color:color-mix(in oklab,var(--muted-foreground)50%,transparent)}}.text-popover-foreground{color:var(--popover-foreground)}.text-primary{color:var(--primary)}.text-primary-foreground{color:var(--primary-foreground)}.text-purple-700{color:var(--color-purple-700)}.text-red-600{color:var(--color-red-600)}.text-red-700{color:var(--color-red-700)}.text-secondary-foreground{color:var(--secondary-foreground)}.text-sidebar-foreground,.text-sidebar-foreground\\/70{color:var(--sidebar-foreground)}@supports (color:color-mix(in lab,red,red)){.text-sidebar-foreground\\/70{color:color-mix(in oklab,var(--sidebar-foreground)70%,transparent)}}.text-white{color:var(--color-white)}.italic{font-style:italic}.tabular-nums{--tw-numeric-spacing:tabular-nums;font-variant-numeric:var(--tw-ordinal,)var(--tw-slashed-zero,)var(--tw-numeric-figure,)var(--tw-numeric-spacing,)var(--tw-numeric-fraction,)}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.underline-offset-4{text-underline-offset:4px}.opacity-0{opacity:0}.opacity-50{opacity:.5}.opacity-70{opacity:.7}.opacity-100{opacity:1}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-\\[0_0_0_1px_hsl\\(var\\(--sidebar-border\\)\\)\\]{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-border)));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a),0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-none{--tw-shadow:0 0 #0000;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-sidebar-ring{--tw-ring-color:var(--sidebar-ring)}.ring-offset-background{--tw-ring-offset-color:var(--background)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,visibility,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[color\\,box-shadow\\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[left\\,right\\,width\\]{transition-property:left,right,width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[margin\\,opacity\\]{transition-property:margin,opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\,height\\,padding\\]{transition-property:width,height,padding;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.duration-200{--tw-duration:.2s;transition-duration:.2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-linear{--tw-ease:linear;transition-timing-function:linear}.fade-in-0{--tw-enter-opacity:0}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.zoom-in-95{--tw-enter-scale:.95}.running{animation-play-state:running}.group-focus-within\\/menu-item\\:opacity-100:is(:where(.group\\/menu-item):focus-within *){opacity:1}@media (hover:hover){.group-hover\\:opacity-100:is(:where(.group):hover *),.group-hover\\/menu-item\\:opacity-100:is(:where(.group\\/menu-item):hover *){opacity:1}}.group-has-data-\\[sidebar\\=menu-action\\]\\/menu-item\\:pr-8:is(:where(.group\\/menu-item):has([data-sidebar=menu-action]) *){padding-right:calc(var(--spacing)*8)}.group-data-\\[collapsible\\=icon\\]\\:-mt-8:is(:where(.group)[data-collapsible=icon] *){margin-top:calc(var(--spacing)*-8)}.group-data-\\[collapsible\\=icon\\]\\:hidden:is(:where(.group)[data-collapsible=icon] *){display:none}.group-data-\\[collapsible\\=icon\\]\\:size-8\\!:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--spacing)*8)!important;height:calc(var(--spacing)*8)!important}.group-data-\\[collapsible\\=icon\\]\\:w-\\(--sidebar-width-icon\\):is(:where(.group)[data-collapsible=icon] *){width:var(--sidebar-width-icon)}.group-data-\\[collapsible\\=icon\\]\\:w-\\[calc\\(var\\(--sidebar-width-icon\\)\\+\\(--spacing\\(4\\)\\)\\)\\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing)*4)))}.group-data-\\[collapsible\\=icon\\]\\:w-\\[calc\\(var\\(--sidebar-width-icon\\)\\+\\(--spacing\\(4\\)\\)\\+2px\\)\\]:is(:where(.group)[data-collapsible=icon] *){width:calc(var(--sidebar-width-icon) + (calc(var(--spacing)*4)) + 2px)}.group-data-\\[collapsible\\=icon\\]\\:overflow-hidden:is(:where(.group)[data-collapsible=icon] *){overflow:hidden}.group-data-\\[collapsible\\=icon\\]\\:p-0\\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing)*0)!important}.group-data-\\[collapsible\\=icon\\]\\:p-2\\!:is(:where(.group)[data-collapsible=icon] *){padding:calc(var(--spacing)*2)!important}.group-data-\\[collapsible\\=icon\\]\\:opacity-0:is(:where(.group)[data-collapsible=icon] *){opacity:0}.group-data-\\[collapsible\\=offcanvas\\]\\:right-\\[calc\\(var\\(--sidebar-width\\)\\*-1\\)\\]:is(:where(.group)[data-collapsible=offcanvas] *){right:calc(var(--sidebar-width)*-1)}.group-data-\\[collapsible\\=offcanvas\\]\\:left-\\[calc\\(var\\(--sidebar-width\\)\\*-1\\)\\]:is(:where(.group)[data-collapsible=offcanvas] *){left:calc(var(--sidebar-width)*-1)}.group-data-\\[collapsible\\=offcanvas\\]\\:w-0:is(:where(.group)[data-collapsible=offcanvas] *){width:calc(var(--spacing)*0)}.group-data-\\[collapsible\\=offcanvas\\]\\:translate-x-0:is(:where(.group)[data-collapsible=offcanvas] *){--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.group-data-\\[side\\=left\\]\\:-right-4:is(:where(.group)[data-side=left] *){right:calc(var(--spacing)*-4)}.group-data-\\[side\\=left\\]\\:border-r:is(:where(.group)[data-side=left] *){border-right-style:var(--tw-border-style);border-right-width:1px}.group-data-\\[side\\=right\\]\\:left-0:is(:where(.group)[data-side=right] *){left:calc(var(--spacing)*0)}.group-data-\\[side\\=right\\]\\:rotate-180:is(:where(.group)[data-side=right] *){rotate:180deg}.group-data-\\[side\\=right\\]\\:border-l:is(:where(.group)[data-side=right] *){border-left-style:var(--tw-border-style);border-left-width:1px}.group-data-\\[variant\\=floating\\]\\:rounded-lg:is(:where(.group)[data-variant=floating] *){border-radius:var(--radius)}.group-data-\\[variant\\=floating\\]\\:border:is(:where(.group)[data-variant=floating] *){border-style:var(--tw-border-style);border-width:1px}.group-data-\\[variant\\=floating\\]\\:border-sidebar-border:is(:where(.group)[data-variant=floating] *){border-color:var(--sidebar-border)}.group-data-\\[variant\\=floating\\]\\:shadow-sm:is(:where(.group)[data-variant=floating] *){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}@media (hover:hover){.peer-hover\\/menu-button\\:text-sidebar-accent-foreground:is(:where(.peer\\/menu-button):hover~*){color:var(--sidebar-accent-foreground)}}.peer-data-\\[active\\=true\\]\\/menu-button\\:text-sidebar-accent-foreground:is(:where(.peer\\/menu-button)[data-active=true]~*){color:var(--sidebar-accent-foreground)}.peer-data-\\[size\\=default\\]\\/menu-button\\:top-1\\.5:is(:where(.peer\\/menu-button)[data-size=default]~*){top:calc(var(--spacing)*1.5)}.peer-data-\\[size\\=lg\\]\\/menu-button\\:top-2\\.5:is(:where(.peer\\/menu-button)[data-size=lg]~*){top:calc(var(--spacing)*2.5)}.peer-data-\\[size\\=sm\\]\\/menu-button\\:top-1:is(:where(.peer\\/menu-button)[data-size=sm]~*){top:calc(var(--spacing)*1)}.selection\\:bg-primary ::selection{background-color:var(--primary)}.selection\\:bg-primary::selection{background-color:var(--primary)}.selection\\:text-primary-foreground ::selection{color:var(--primary-foreground)}.selection\\:text-primary-foreground::selection{color:var(--primary-foreground)}.file\\:inline-flex::file-selector-button{display:inline-flex}.file\\:h-7::file-selector-button{height:calc(var(--spacing)*7)}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:text-foreground::file-selector-button{color:var(--foreground)}.placeholder\\:text-muted-foreground::placeholder{color:var(--muted-foreground)}.after\\:absolute:after{content:var(--tw-content);position:absolute}.after\\:-inset-2:after{content:var(--tw-content);inset:calc(var(--spacing)*-2)}.after\\:inset-y-0:after{content:var(--tw-content);inset-block:calc(var(--spacing)*0)}.after\\:left-1\\/2:after{content:var(--tw-content);left:50%}.after\\:w-1:after{content:var(--tw-content);width:calc(var(--spacing)*1)}.after\\:w-\\[2px\\]:after{content:var(--tw-content);width:2px}.after\\:-translate-x-1\\/2:after{content:var(--tw-content);--tw-translate-x: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.group-data-\\[collapsible\\=offcanvas\\]\\:after\\:left-full:is(:where(.group)[data-collapsible=offcanvas] *):after{content:var(--tw-content);left:100%}@media (hover:hover){.hover\\:bg-accent:hover,.hover\\:bg-accent\\/50:hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-accent\\/50:hover{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.hover\\:bg-blue-700:hover{background-color:var(--color-blue-700)}.hover\\:bg-destructive\\/90:hover{background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-destructive\\/90:hover{background-color:color-mix(in oklab,var(--destructive)90%,transparent)}}.hover\\:bg-muted:hover,.hover\\:bg-muted\\/30:hover{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-muted\\/30:hover{background-color:color-mix(in oklab,var(--muted)30%,transparent)}}.hover\\:bg-muted\\/50:hover{background-color:var(--muted)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-muted\\/50:hover{background-color:color-mix(in oklab,var(--muted)50%,transparent)}}.hover\\:bg-primary\\/90:hover{background-color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-primary\\/90:hover{background-color:color-mix(in oklab,var(--primary)90%,transparent)}}.hover\\:bg-red-600:hover{background-color:var(--color-red-600)}.hover\\:bg-secondary\\/80:hover{background-color:var(--secondary)}@supports (color:color-mix(in lab,red,red)){.hover\\:bg-secondary\\/80:hover{background-color:color-mix(in oklab,var(--secondary)80%,transparent)}}.hover\\:bg-sidebar-accent:hover{background-color:var(--sidebar-accent)}.hover\\:text-accent-foreground:hover{color:var(--accent-foreground)}.hover\\:text-foreground:hover{color:var(--foreground)}.hover\\:text-primary:hover,.hover\\:text-primary\\/80:hover{color:var(--primary)}@supports (color:color-mix(in lab,red,red)){.hover\\:text-primary\\/80:hover{color:color-mix(in oklab,var(--primary)80%,transparent)}}.hover\\:text-sidebar-accent-foreground:hover{color:var(--sidebar-accent-foreground)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:opacity-100:hover{opacity:1}.hover\\:shadow-\\[0_0_0_1px_hsl\\(var\\(--sidebar-accent\\)\\)\\]:hover{--tw-shadow:0 0 0 1px var(--tw-shadow-color,hsl(var(--sidebar-accent)));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.hover\\:group-data-\\[collapsible\\=offcanvas\\]\\:bg-sidebar:hover:is(:where(.group)[data-collapsible=offcanvas] *){background-color:var(--sidebar)}.hover\\:after\\:bg-sidebar-border:hover:after{content:var(--tw-content);background-color:var(--sidebar-border)}}.focus\\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus\\:ring-blue-500:focus{--tw-ring-color:var(--color-blue-500)}.focus\\:ring-ring:focus{--tw-ring-color:var(--ring)}.focus\\:ring-offset-2:focus{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus\\:outline-hidden:focus{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus\\:outline-hidden:focus{outline-offset:2px;outline:2px solid #0000}}.focus\\:outline-none:focus{--tw-outline-style:none;outline-style:none}.focus-visible\\:border-ring:focus-visible{border-color:var(--ring)}.focus-visible\\:ring-1:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,)0 0 0 calc(3px + var(--tw-ring-offset-width))var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-destructive\\/20:focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.focus-visible\\:ring-ring:focus-visible,.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:var(--ring)}@supports (color:color-mix(in lab,red,red)){.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:color-mix(in oklab,var(--ring)50%,transparent)}}.focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color)}.focus-visible\\:outline-hidden:focus-visible{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.focus-visible\\:outline-hidden:focus-visible{outline-offset:2px;outline:2px solid #0000}}.focus-visible\\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-ring:focus-visible{outline-color:var(--ring)}.active\\:bg-sidebar-accent:active{background-color:var(--sidebar-accent)}.active\\:text-sidebar-accent-foreground:active{color:var(--sidebar-accent-foreground)}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}:where([data-side=left]) .in-data-\\[side\\=left\\]\\:cursor-w-resize{cursor:w-resize}:where([data-side=right]) .in-data-\\[side\\=right\\]\\:cursor-e-resize{cursor:e-resize}.has-data-\\[variant\\=inset\\]\\:bg-sidebar:has([data-variant=inset]){background-color:var(--sidebar)}.has-\\[\\>svg\\]\\:px-2\\.5:has(>svg){padding-inline:calc(var(--spacing)*2.5)}.has-\\[\\>svg\\]\\:px-3:has(>svg){padding-inline:calc(var(--spacing)*3)}.has-\\[\\>svg\\]\\:px-4:has(>svg){padding-inline:calc(var(--spacing)*4)}.aria-disabled\\:pointer-events-none[aria-disabled=true]{pointer-events:none}.aria-disabled\\:opacity-50[aria-disabled=true]{opacity:.5}.aria-invalid\\:border-destructive[aria-invalid=true]{border-color:var(--destructive)}.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)20%,transparent)}}.data-\\[active\\=true\\]\\:bg-sidebar-accent[data-active=true]{background-color:var(--sidebar-accent)}.data-\\[active\\=true\\]\\:font-medium[data-active=true]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.data-\\[active\\=true\\]\\:text-sidebar-accent-foreground[data-active=true]{color:var(--sidebar-accent-foreground)}.data-\\[disabled\\=true\\]\\:pointer-events-none[data-disabled=true]{pointer-events:none}.data-\\[disabled\\=true\\]\\:opacity-50[data-disabled=true]{opacity:.5}.data-\\[orientation\\=horizontal\\]\\:h-px[data-orientation=horizontal]{height:1px}.data-\\[orientation\\=horizontal\\]\\:w-full[data-orientation=horizontal]{width:100%}.data-\\[orientation\\=vertical\\]\\:h-full[data-orientation=vertical]{height:100%}.data-\\[orientation\\=vertical\\]\\:w-px[data-orientation=vertical]{width:1px}.data-\\[panel-group-direction\\=vertical\\]\\:h-px[data-panel-group-direction=vertical]{height:1px}.data-\\[panel-group-direction\\=vertical\\]\\:w-full[data-panel-group-direction=vertical]{width:100%}.data-\\[panel-group-direction\\=vertical\\]\\:flex-col[data-panel-group-direction=vertical]{flex-direction:column}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:left-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);left:calc(var(--spacing)*0)}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:h-1[data-panel-group-direction=vertical]:after{content:var(--tw-content);height:calc(var(--spacing)*1)}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:w-full[data-panel-group-direction=vertical]:after{content:var(--tw-content);width:100%}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:translate-x-0[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-x:calc(var(--spacing)*0);translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[panel-group-direction\\=vertical\\]\\:after\\:-translate-y-1\\/2[data-panel-group-direction=vertical]:after{content:var(--tw-content);--tw-translate-y: -50% ;translate:var(--tw-translate-x)var(--tw-translate-y)}.data-\\[selected\\=true\\]\\:bg-accent[data-selected=true]{background-color:var(--accent)}.data-\\[selected\\=true\\]\\:text-accent-foreground[data-selected=true]{color:var(--accent-foreground)}.data-\\[side\\=bottom\\]\\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y:calc(2*var(--spacing)*-1)}.data-\\[side\\=left\\]\\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x:calc(2*var(--spacing))}.data-\\[side\\=right\\]\\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x:calc(2*var(--spacing)*-1)}.data-\\[side\\=top\\]\\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y:calc(2*var(--spacing))}:is(.\\*\\*\\:data-\\[slot\\=command-input-wrapper\\]\\:h-12 *)[data-slot=command-input-wrapper]{height:calc(var(--spacing)*12)}.data-\\[state\\=active\\]\\:bg-background[data-state=active]{background-color:var(--background)}.data-\\[state\\=active\\]\\:shadow-sm[data-state=active]{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.data-\\[state\\=closed\\]\\:animate-out[data-state=closed]{animation:exit var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=closed\\]\\:duration-300[data-state=closed]{--tw-duration:.3s;transition-duration:.3s}.data-\\[state\\=closed\\]\\:fade-out-0[data-state=closed]{--tw-exit-opacity:0}.data-\\[state\\=closed\\]\\:zoom-out-95[data-state=closed]{--tw-exit-scale:.95}.data-\\[state\\=closed\\]\\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y:100%}.data-\\[state\\=closed\\]\\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x:-100%}.data-\\[state\\=closed\\]\\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x:100%}.data-\\[state\\=closed\\]\\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y:-100%}.data-\\[state\\=open\\]\\:animate-in[data-state=open]{animation:enter var(--tw-animation-duration,var(--tw-duration,.15s))var(--tw-ease,ease)var(--tw-animation-delay,0s)var(--tw-animation-iteration-count,1)var(--tw-animation-direction,normal)var(--tw-animation-fill-mode,none)}.data-\\[state\\=open\\]\\:bg-accent[data-state=open]{background-color:var(--accent)}.data-\\[state\\=open\\]\\:bg-secondary[data-state=open]{background-color:var(--secondary)}.data-\\[state\\=open\\]\\:text-muted-foreground[data-state=open]{color:var(--muted-foreground)}.data-\\[state\\=open\\]\\:opacity-100[data-state=open]{opacity:1}.data-\\[state\\=open\\]\\:duration-500[data-state=open]{--tw-duration:.5s;transition-duration:.5s}.data-\\[state\\=open\\]\\:fade-in-0[data-state=open]{--tw-enter-opacity:0}.data-\\[state\\=open\\]\\:zoom-in-95[data-state=open]{--tw-enter-scale:.95}.data-\\[state\\=open\\]\\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y:100%}.data-\\[state\\=open\\]\\:slide-in-from-left[data-state=open]{--tw-enter-translate-x:-100%}.data-\\[state\\=open\\]\\:slide-in-from-right[data-state=open]{--tw-enter-translate-x:100%}.data-\\[state\\=open\\]\\:slide-in-from-top[data-state=open]{--tw-enter-translate-y:-100%}@media (hover:hover){.data-\\[state\\=open\\]\\:hover\\:bg-sidebar-accent[data-state=open]:hover{background-color:var(--sidebar-accent)}.data-\\[state\\=open\\]\\:hover\\:text-sidebar-accent-foreground[data-state=open]:hover{color:var(--sidebar-accent-foreground)}}.data-\\[state\\=selected\\]\\:bg-muted[data-state=selected]{background-color:var(--muted)}@media (min-width:40rem){.sm\\:block{display:block}.sm\\:flex{display:flex}.sm\\:max-w-lg{max-width:var(--container-lg)}.sm\\:max-w-sm{max-width:var(--container-sm)}.sm\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\\:flex-row{flex-direction:row}.sm\\:justify-end{justify-content:flex-end}.sm\\:gap-2\\.5{gap:calc(var(--spacing)*2.5)}.sm\\:pr-2\\.5{padding-right:calc(var(--spacing)*2.5)}.sm\\:pl-2\\.5{padding-left:calc(var(--spacing)*2.5)}.sm\\:text-left{text-align:left}}@media (min-width:48rem){.md\\:col-span-2{grid-column:span 2/span 2}.md\\:block{display:block}.md\\:flex{display:flex}.md\\:hidden{display:none}.md\\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\\:flex-row{flex-direction:row}.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.md\\:opacity-0{opacity:0}.md\\:peer-data-\\[variant\\=inset\\]\\:m-2:is(:where(.peer)[data-variant=inset]~*){margin:calc(var(--spacing)*2)}.md\\:peer-data-\\[variant\\=inset\\]\\:ml-0:is(:where(.peer)[data-variant=inset]~*){margin-left:calc(var(--spacing)*0)}.md\\:peer-data-\\[variant\\=inset\\]\\:rounded-xl:is(:where(.peer)[data-variant=inset]~*){border-radius:calc(var(--radius) + 4px)}.md\\:peer-data-\\[variant\\=inset\\]\\:shadow-sm:is(:where(.peer)[data-variant=inset]~*){--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.md\\:peer-data-\\[variant\\=inset\\]\\:peer-data-\\[state\\=collapsed\\]\\:ml-2:is(:where(.peer)[data-variant=inset]~*):is(:where(.peer)[data-state=collapsed]~*){margin-left:calc(var(--spacing)*2)}.md\\:after\\:hidden:after{content:var(--tw-content);display:none}}@media (min-width:64rem){.lg\\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.lg\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (min-width:80rem){.xl\\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}}.dark\\:border-input:is(.dark *){border-color:var(--input)}.dark\\:bg-destructive\\/60:is(.dark *){background-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-destructive\\/60:is(.dark *){background-color:color-mix(in oklab,var(--destructive)60%,transparent)}}.dark\\:bg-input\\/30:is(.dark *){background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:bg-input\\/30:is(.dark *){background-color:color-mix(in oklab,var(--input)30%,transparent)}}.dark\\:text-muted-foreground:is(.dark *){color:var(--muted-foreground)}@media (hover:hover){.dark\\:hover\\:bg-accent\\/50:is(.dark *):hover{background-color:var(--accent)}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-accent\\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--accent)50%,transparent)}}.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:hover\\:bg-input\\/50:is(.dark *):hover{background-color:color-mix(in oklab,var(--input)50%,transparent)}}}.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:focus-visible\\:ring-destructive\\/40:is(.dark *):focus-visible{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:var(--destructive)}@supports (color:color-mix(in lab,red,red)){.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab,var(--destructive)40%,transparent)}}.dark\\:data-\\[state\\=active\\]\\:border-input:is(.dark *)[data-state=active]{border-color:var(--input)}.dark\\:data-\\[state\\=active\\]\\:bg-input\\/30:is(.dark *)[data-state=active]{background-color:var(--input)}@supports (color:color-mix(in lab,red,red)){.dark\\:data-\\[state\\=active\\]\\:bg-input\\/30:is(.dark *)[data-state=active]{background-color:color-mix(in oklab,var(--input)30%,transparent)}}.dark\\:data-\\[state\\=active\\]\\:text-foreground:is(.dark *)[data-state=active]{color:var(--foreground)}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:px-2 [cmdk-group-heading]{padding-inline:calc(var(--spacing)*2)}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:py-1\\.5 [cmdk-group-heading]{padding-block:calc(var(--spacing)*1.5)}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:text-xs [cmdk-group-heading]{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:font-medium [cmdk-group-heading]{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.\\[\\&_\\[cmdk-group-heading\\]\\]\\:text-muted-foreground [cmdk-group-heading]{color:var(--muted-foreground)}.\\[\\&_\\[cmdk-group\\]\\]\\:px-2 [cmdk-group]{padding-inline:calc(var(--spacing)*2)}.\\[\\&_\\[cmdk-group\\]\\:not\\(\\[hidden\\]\\)_\\~\\[cmdk-group\\]\\]\\:pt-0 [cmdk-group]:not([hidden])~[cmdk-group]{padding-top:calc(var(--spacing)*0)}.\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:h-5 [cmdk-input-wrapper] svg{height:calc(var(--spacing)*5)}.\\[\\&_\\[cmdk-input-wrapper\\]_svg\\]\\:w-5 [cmdk-input-wrapper] svg{width:calc(var(--spacing)*5)}.\\[\\&_\\[cmdk-input\\]\\]\\:h-12 [cmdk-input]{height:calc(var(--spacing)*12)}.\\[\\&_\\[cmdk-item\\]\\]\\:px-2 [cmdk-item]{padding-inline:calc(var(--spacing)*2)}.\\[\\&_\\[cmdk-item\\]\\]\\:py-3 [cmdk-item]{padding-block:calc(var(--spacing)*3)}.\\[\\&_\\[cmdk-item\\]_svg\\]\\:h-5 [cmdk-item] svg{height:calc(var(--spacing)*5)}.\\[\\&_\\[cmdk-item\\]_svg\\]\\:w-5 [cmdk-item] svg{width:calc(var(--spacing)*5)}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'size-\\'\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\'text-\\'\\]\\)\\]\\:text-muted-foreground svg:not([class*=text-]){color:var(--muted-foreground)}.\\[\\&_tr\\]\\:border-b tr{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.\\[\\&_tr\\:last-child\\]\\:border-0 tr:last-child{border-style:var(--tw-border-style);border-width:0}.\\[\\&\\:has\\(\\[role\\=checkbox\\]\\)\\]\\:pr-0:has([role=checkbox]){padding-right:calc(var(--spacing)*0)}.\\[\\&\\>\\[role\\=checkbox\\]\\]\\:translate-y-\\[2px\\]>[role=checkbox]{--tw-translate-y:2px;translate:var(--tw-translate-x)var(--tw-translate-y)}.\\[\\&\\>button\\]\\:hidden>button{display:none}.\\[\\&\\>span\\:last-child\\]\\:truncate>span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.\\[\\&\\>svg\\]\\:size-3\\.5>svg{width:calc(var(--spacing)*3.5);height:calc(var(--spacing)*3.5)}.\\[\\&\\>svg\\]\\:size-4>svg{width:calc(var(--spacing)*4);height:calc(var(--spacing)*4)}.\\[\\&\\>svg\\]\\:shrink-0>svg{flex-shrink:0}.\\[\\&\\>svg\\]\\:text-sidebar-accent-foreground>svg{color:var(--sidebar-accent-foreground)}.\\[\\&\\>tr\\]\\:last\\:border-b-0>tr:last-child{border-bottom-style:var(--tw-border-style);border-bottom-width:0}.\\[\\&\\[data-panel-group-direction\\=vertical\\]\\>div\\]\\:rotate-90[data-panel-group-direction=vertical]>div{rotate:90deg}[data-side=left][data-collapsible=offcanvas] .\\[\\[data-side\\=left\\]\\[data-collapsible\\=offcanvas\\]_\\&\\]\\:-right-2{right:calc(var(--spacing)*-2)}[data-side=left][data-state=collapsed] .\\[\\[data-side\\=left\\]\\[data-state\\=collapsed\\]_\\&\\]\\:cursor-e-resize{cursor:e-resize}[data-side=right][data-collapsible=offcanvas] .\\[\\[data-side\\=right\\]\\[data-collapsible\\=offcanvas\\]_\\&\\]\\:-left-2{left:calc(var(--spacing)*-2)}[data-side=right][data-state=collapsed] .\\[\\[data-side\\=right\\]\\[data-state\\=collapsed\\]_\\&\\]\\:cursor-w-resize{cursor:w-resize}}@property --tw-animation-delay{syntax:\"*\";inherits:false;initial-value:0s}@property --tw-animation-direction{syntax:\"*\";inherits:false;initial-value:normal}@property --tw-animation-duration{syntax:\"*\";inherits:false}@property --tw-animation-fill-mode{syntax:\"*\";inherits:false;initial-value:none}@property --tw-animation-iteration-count{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-opacity{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-rotate{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-scale{syntax:\"*\";inherits:false;initial-value:1}@property --tw-enter-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-enter-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-opacity{syntax:\"*\";inherits:false;initial-value:1}@property --tw-exit-rotate{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-scale{syntax:\"*\";inherits:false;initial-value:1}@property --tw-exit-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-exit-translate-y{syntax:\"*\";inherits:false;initial-value:0}:root{--radius:.625rem;--background:oklch(100% 0 0);--foreground:oklch(14.1% .005 285.823);--card:oklch(100% 0 0);--card-foreground:oklch(14.1% .005 285.823);--popover:oklch(100% 0 0);--popover-foreground:oklch(14.1% .005 285.823);--primary:oklch(21% .006 285.885);--primary-foreground:oklch(98.5% 0 0);--secondary:oklch(96.7% .001 286.375);--secondary-foreground:oklch(21% .006 285.885);--muted:oklch(96.7% .001 286.375);--muted-foreground:oklch(55.2% .016 285.938);--accent:oklch(96.7% .001 286.375);--accent-foreground:oklch(21% .006 285.885);--destructive:oklch(57.7% .245 27.325);--border:oklch(92% .004 286.32);--input:oklch(92% .004 286.32);--ring:oklch(70.5% .015 286.067);--chart-1:oklch(64.6% .222 41.116);--chart-2:oklch(60% .118 184.704);--chart-3:oklch(39.8% .07 227.392);--chart-4:oklch(82.8% .189 84.429);--chart-5:oklch(76.9% .188 70.08);--sidebar:oklch(98.5% 0 0);--sidebar-foreground:oklch(14.1% .005 285.823);--sidebar-primary:oklch(21% .006 285.885);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(96.7% .001 286.375);--sidebar-accent-foreground:oklch(21% .006 285.885);--sidebar-border:oklch(92% .004 286.32);--sidebar-ring:oklch(70.5% .015 286.067)}.dark{--background:oklch(14.1% .005 285.823);--foreground:oklch(98.5% 0 0);--card:oklch(21% .006 285.885);--card-foreground:oklch(98.5% 0 0);--popover:oklch(21% .006 285.885);--popover-foreground:oklch(98.5% 0 0);--primary:oklch(92% .004 286.32);--primary-foreground:oklch(21% .006 285.885);--secondary:oklch(27.4% .006 286.033);--secondary-foreground:oklch(98.5% 0 0);--muted:oklch(27.4% .006 286.033);--muted-foreground:oklch(70.5% .015 286.067);--accent:oklch(27.4% .006 286.033);--accent-foreground:oklch(98.5% 0 0);--destructive:oklch(70.4% .191 22.216);--border:oklch(100% 0 0/.1);--input:oklch(100% 0 0/.15);--ring:oklch(55.2% .016 285.938);--chart-1:oklch(48.8% .243 264.376);--chart-2:oklch(69.6% .17 162.48);--chart-3:oklch(76.9% .188 70.08);--chart-4:oklch(62.7% .265 303.9);--chart-5:oklch(64.5% .246 16.439);--sidebar:oklch(21% .006 285.885);--sidebar-foreground:oklch(98.5% 0 0);--sidebar-primary:oklch(48.8% .243 264.376);--sidebar-primary-foreground:oklch(98.5% 0 0);--sidebar-accent:oklch(27.4% .006 286.033);--sidebar-accent-foreground:oklch(98.5% 0 0);--sidebar-border:oklch(100% 0 0/.1);--sidebar-ring:oklch(55.2% .016 285.938)}@property --tw-translate-x{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-y{syntax:\"*\";inherits:false;initial-value:0}@property --tw-translate-z{syntax:\"*\";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:\"*\";inherits:false}@property --tw-rotate-y{syntax:\"*\";inherits:false}@property --tw-rotate-z{syntax:\"*\";inherits:false}@property --tw-skew-x{syntax:\"*\";inherits:false}@property --tw-skew-y{syntax:\"*\";inherits:false}@property --tw-space-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-leading{syntax:\"*\";inherits:false}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-tracking{syntax:\"*\";inherits:false}@property --tw-ordinal{syntax:\"*\";inherits:false}@property --tw-slashed-zero{syntax:\"*\";inherits:false}@property --tw-numeric-figure{syntax:\"*\";inherits:false}@property --tw-numeric-spacing{syntax:\"*\";inherits:false}@property --tw-numeric-fraction{syntax:\"*\";inherits:false}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:\"*\";inherits:false;initial-value:solid}@property --tw-duration{syntax:\"*\";inherits:false}@property --tw-ease{syntax:\"*\";inherits:false}@property --tw-content{syntax:\"*\";inherits:false;initial-value:\"\"}@keyframes spin{to{transform:rotate(360deg)}}@keyframes pulse{50%{opacity:.5}}@keyframes enter{0%{opacity:var(--tw-enter-opacity,1);transform:translate3d(var(--tw-enter-translate-x,0),var(--tw-enter-translate-y,0),0)scale3d(var(--tw-enter-scale,1),var(--tw-enter-scale,1),var(--tw-enter-scale,1))rotate(var(--tw-enter-rotate,0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity,1);transform:translate3d(var(--tw-exit-translate-x,0),var(--tw-exit-translate-y,0),0)scale3d(var(--tw-exit-scale,1),var(--tw-exit-scale,1),var(--tw-exit-scale,1))rotate(var(--tw-exit-rotate,0))}}\n");
|
|
9642
|
+
;// ../../node_modules/raw-loader/dist/cjs.js!../../dist/app/insight/assets/index.js?raw
|
|
9643
|
+
/* harmony default export */ const insight_assetsraw = ("function O3(e,t){for(var n=0;n<t.length;n++){const r=t[n];if(typeof r!=\"string\"&&!Array.isArray(r)){for(const i in r)if(i!==\"default\"&&!(i in e)){const o=Object.getOwnPropertyDescriptor(r,i);o&&Object.defineProperty(e,i,o.get?o:{enumerable:!0,get:()=>r[i]})}}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}))}(function(){const t=document.createElement(\"link\").relList;if(t&&t.supports&&t.supports(\"modulepreload\"))return;for(const i of document.querySelectorAll('link[rel=\"modulepreload\"]'))r(i);new MutationObserver(i=>{for(const o of i)if(o.type===\"childList\")for(const l of o.addedNodes)l.tagName===\"LINK\"&&l.rel===\"modulepreload\"&&r(l)}).observe(document,{childList:!0,subtree:!0});function n(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin===\"use-credentials\"?o.credentials=\"include\":i.crossOrigin===\"anonymous\"?o.credentials=\"omit\":o.credentials=\"same-origin\",o}function r(i){if(i.ep)return;i.ep=!0;const o=n(i);fetch(i.href,o)}})();function zl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,\"default\")?e.default:e}var c0={exports:{}},Qu={};/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var kT;function k3(){if(kT)return Qu;kT=1;var e=Symbol.for(\"react.transitional.element\"),t=Symbol.for(\"react.fragment\");function n(r,i,o){var l=null;if(o!==void 0&&(l=\"\"+o),i.key!==void 0&&(l=\"\"+i.key),\"key\"in i){o={};for(var c in i)c!==\"key\"&&(o[c]=i[c])}else o=i;return i=o.ref,{$$typeof:e,type:r,key:l,ref:i!==void 0?i:null,props:o}}return Qu.Fragment=t,Qu.jsx=n,Qu.jsxs=n,Qu}var LT;function L3(){return LT||(LT=1,c0.exports=k3()),c0.exports}var b=L3(),d0={exports:{}},bt={};/**\n * @license React\n * react.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var IT;function I3(){if(IT)return bt;IT=1;var e=Symbol.for(\"react.transitional.element\"),t=Symbol.for(\"react.portal\"),n=Symbol.for(\"react.fragment\"),r=Symbol.for(\"react.strict_mode\"),i=Symbol.for(\"react.profiler\"),o=Symbol.for(\"react.consumer\"),l=Symbol.for(\"react.context\"),c=Symbol.for(\"react.forward_ref\"),d=Symbol.for(\"react.suspense\"),f=Symbol.for(\"react.memo\"),m=Symbol.for(\"react.lazy\"),p=Symbol.iterator;function E(R){return R===null||typeof R!=\"object\"?null:(R=p&&R[p]||R[\"@@iterator\"],typeof R==\"function\"?R:null)}var _={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},x=Object.assign,S={};function N(R,le,te){this.props=R,this.context=le,this.refs=S,this.updater=te||_}N.prototype.isReactComponent={},N.prototype.setState=function(R,le){if(typeof R!=\"object\"&&typeof R!=\"function\"&&R!=null)throw Error(\"takes an object of state variables to update or a function which returns an object of state variables.\");this.updater.enqueueSetState(this,R,le,\"setState\")},N.prototype.forceUpdate=function(R){this.updater.enqueueForceUpdate(this,R,\"forceUpdate\")};function v(){}v.prototype=N.prototype;function O(R,le,te){this.props=R,this.context=le,this.refs=S,this.updater=te||_}var L=O.prototype=new v;L.constructor=O,x(L,N.prototype),L.isPureReactComponent=!0;var B=Array.isArray,k={H:null,A:null,T:null,S:null},w=Object.prototype.hasOwnProperty;function U(R,le,te,I,ce,Te){return te=Te.ref,{$$typeof:e,type:R,key:le,ref:te!==void 0?te:null,props:Te}}function j(R,le){return U(R.type,le,void 0,void 0,void 0,R.props)}function F(R){return typeof R==\"object\"&&R!==null&&R.$$typeof===e}function M(R){var le={\"=\":\"=0\",\":\":\"=2\"};return\"$\"+R.replace(/[=:]/g,function(te){return le[te]})}var J=/\\/+/g;function X(R,le){return typeof R==\"object\"&&R!==null&&R.key!=null?M(\"\"+R.key):le.toString(36)}function V(){}function ne(R){switch(R.status){case\"fulfilled\":return R.value;case\"rejected\":throw R.reason;default:switch(typeof R.status==\"string\"?R.then(V,V):(R.status=\"pending\",R.then(function(le){R.status===\"pending\"&&(R.status=\"fulfilled\",R.value=le)},function(le){R.status===\"pending\"&&(R.status=\"rejected\",R.reason=le)})),R.status){case\"fulfilled\":return R.value;case\"rejected\":throw R.reason}}throw R}function ae(R,le,te,I,ce){var Te=typeof R;(Te===\"undefined\"||Te===\"boolean\")&&(R=null);var xe=!1;if(R===null)xe=!0;else switch(Te){case\"bigint\":case\"string\":case\"number\":xe=!0;break;case\"object\":switch(R.$$typeof){case e:case t:xe=!0;break;case m:return xe=R._init,ae(xe(R._payload),le,te,I,ce)}}if(xe)return ce=ce(R),xe=I===\"\"?\".\"+X(R,0):I,B(ce)?(te=\"\",xe!=null&&(te=xe.replace(J,\"$&/\")+\"/\"),ae(ce,le,te,\"\",function(Ze){return Ze})):ce!=null&&(F(ce)&&(ce=j(ce,te+(ce.key==null||R&&R.key===ce.key?\"\":(\"\"+ce.key).replace(J,\"$&/\")+\"/\")+xe)),le.push(ce)),1;xe=0;var Pe=I===\"\"?\".\":I+\":\";if(B(R))for(var je=0;je<R.length;je++)I=R[je],Te=Pe+X(I,je),xe+=ae(I,le,te,Te,ce);else if(je=E(R),typeof je==\"function\")for(R=je.call(R),je=0;!(I=R.next()).done;)I=I.value,Te=Pe+X(I,je++),xe+=ae(I,le,te,Te,ce);else if(Te===\"object\"){if(typeof R.then==\"function\")return ae(ne(R),le,te,I,ce);throw le=String(R),Error(\"Objects are not valid as a React child (found: \"+(le===\"[object Object]\"?\"object with keys {\"+Object.keys(R).join(\", \")+\"}\":le)+\"). If you meant to render a collection of children, use an array instead.\")}return xe}function Q(R,le,te){if(R==null)return R;var I=[],ce=0;return ae(R,I,\"\",\"\",function(Te){return le.call(te,Te,ce++)}),I}function be(R){if(R._status===-1){var le=R._result;le=le(),le.then(function(te){(R._status===0||R._status===-1)&&(R._status=1,R._result=te)},function(te){(R._status===0||R._status===-1)&&(R._status=2,R._result=te)}),R._status===-1&&(R._status=0,R._result=le)}if(R._status===1)return R._result.default;throw R._result}var K=typeof reportError==\"function\"?reportError:function(R){if(typeof window==\"object\"&&typeof window.ErrorEvent==\"function\"){var le=new window.ErrorEvent(\"error\",{bubbles:!0,cancelable:!0,message:typeof R==\"object\"&&R!==null&&typeof R.message==\"string\"?String(R.message):String(R),error:R});if(!window.dispatchEvent(le))return}else if(typeof process==\"object\"&&typeof process.emit==\"function\"){process.emit(\"uncaughtException\",R);return}console.error(R)};function ve(){}return bt.Children={map:Q,forEach:function(R,le,te){Q(R,function(){le.apply(this,arguments)},te)},count:function(R){var le=0;return Q(R,function(){le++}),le},toArray:function(R){return Q(R,function(le){return le})||[]},only:function(R){if(!F(R))throw Error(\"React.Children.only expected to receive a single React element child.\");return R}},bt.Component=N,bt.Fragment=n,bt.Profiler=i,bt.PureComponent=O,bt.StrictMode=r,bt.Suspense=d,bt.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=k,bt.act=function(){throw Error(\"act(...) is not supported in production builds of React.\")},bt.cache=function(R){return function(){return R.apply(null,arguments)}},bt.cloneElement=function(R,le,te){if(R==null)throw Error(\"The argument must be a React element, but you passed \"+R+\".\");var I=x({},R.props),ce=R.key,Te=void 0;if(le!=null)for(xe in le.ref!==void 0&&(Te=void 0),le.key!==void 0&&(ce=\"\"+le.key),le)!w.call(le,xe)||xe===\"key\"||xe===\"__self\"||xe===\"__source\"||xe===\"ref\"&&le.ref===void 0||(I[xe]=le[xe]);var xe=arguments.length-2;if(xe===1)I.children=te;else if(1<xe){for(var Pe=Array(xe),je=0;je<xe;je++)Pe[je]=arguments[je+2];I.children=Pe}return U(R.type,ce,void 0,void 0,Te,I)},bt.createContext=function(R){return R={$$typeof:l,_currentValue:R,_currentValue2:R,_threadCount:0,Provider:null,Consumer:null},R.Provider=R,R.Consumer={$$typeof:o,_context:R},R},bt.createElement=function(R,le,te){var I,ce={},Te=null;if(le!=null)for(I in le.key!==void 0&&(Te=\"\"+le.key),le)w.call(le,I)&&I!==\"key\"&&I!==\"__self\"&&I!==\"__source\"&&(ce[I]=le[I]);var xe=arguments.length-2;if(xe===1)ce.children=te;else if(1<xe){for(var Pe=Array(xe),je=0;je<xe;je++)Pe[je]=arguments[je+2];ce.children=Pe}if(R&&R.defaultProps)for(I in xe=R.defaultProps,xe)ce[I]===void 0&&(ce[I]=xe[I]);return U(R,Te,void 0,void 0,null,ce)},bt.createRef=function(){return{current:null}},bt.forwardRef=function(R){return{$$typeof:c,render:R}},bt.isValidElement=F,bt.lazy=function(R){return{$$typeof:m,_payload:{_status:-1,_result:R},_init:be}},bt.memo=function(R,le){return{$$typeof:f,type:R,compare:le===void 0?null:le}},bt.startTransition=function(R){var le=k.T,te={};k.T=te;try{var I=R(),ce=k.S;ce!==null&&ce(te,I),typeof I==\"object\"&&I!==null&&typeof I.then==\"function\"&&I.then(ve,K)}catch(Te){K(Te)}finally{k.T=le}},bt.unstable_useCacheRefresh=function(){return k.H.useCacheRefresh()},bt.use=function(R){return k.H.use(R)},bt.useActionState=function(R,le,te){return k.H.useActionState(R,le,te)},bt.useCallback=function(R,le){return k.H.useCallback(R,le)},bt.useContext=function(R){return k.H.useContext(R)},bt.useDebugValue=function(){},bt.useDeferredValue=function(R,le){return k.H.useDeferredValue(R,le)},bt.useEffect=function(R,le){return k.H.useEffect(R,le)},bt.useId=function(){return k.H.useId()},bt.useImperativeHandle=function(R,le,te){return k.H.useImperativeHandle(R,le,te)},bt.useInsertionEffect=function(R,le){return k.H.useInsertionEffect(R,le)},bt.useLayoutEffect=function(R,le){return k.H.useLayoutEffect(R,le)},bt.useMemo=function(R,le){return k.H.useMemo(R,le)},bt.useOptimistic=function(R,le){return k.H.useOptimistic(R,le)},bt.useReducer=function(R,le,te){return k.H.useReducer(R,le,te)},bt.useRef=function(R){return k.H.useRef(R)},bt.useState=function(R){return k.H.useState(R)},bt.useSyncExternalStore=function(R,le,te){return k.H.useSyncExternalStore(R,le,te)},bt.useTransition=function(){return k.H.useTransition()},bt.version=\"19.0.0\",bt}var DT;function Yb(){return DT||(DT=1,d0.exports=I3()),d0.exports}var A=Yb();const Ii=zl(A),sS=O3({__proto__:null,default:Ii},[A]);var f0={exports:{}},Zu={},h0={exports:{}},m0={};/**\n * @license React\n * scheduler.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var MT;function D3(){return MT||(MT=1,function(e){function t(Q,be){var K=Q.length;Q.push(be);e:for(;0<K;){var ve=K-1>>>1,R=Q[ve];if(0<i(R,be))Q[ve]=be,Q[K]=R,K=ve;else break e}}function n(Q){return Q.length===0?null:Q[0]}function r(Q){if(Q.length===0)return null;var be=Q[0],K=Q.pop();if(K!==be){Q[0]=K;e:for(var ve=0,R=Q.length,le=R>>>1;ve<le;){var te=2*(ve+1)-1,I=Q[te],ce=te+1,Te=Q[ce];if(0>i(I,K))ce<R&&0>i(Te,I)?(Q[ve]=Te,Q[ce]=K,ve=ce):(Q[ve]=I,Q[te]=K,ve=te);else if(ce<R&&0>i(Te,K))Q[ve]=Te,Q[ce]=K,ve=ce;else break e}}return be}function i(Q,be){var K=Q.sortIndex-be.sortIndex;return K!==0?K:Q.id-be.id}if(e.unstable_now=void 0,typeof performance==\"object\"&&typeof performance.now==\"function\"){var o=performance;e.unstable_now=function(){return o.now()}}else{var l=Date,c=l.now();e.unstable_now=function(){return l.now()-c}}var d=[],f=[],m=1,p=null,E=3,_=!1,x=!1,S=!1,N=typeof setTimeout==\"function\"?setTimeout:null,v=typeof clearTimeout==\"function\"?clearTimeout:null,O=typeof setImmediate<\"u\"?setImmediate:null;function L(Q){for(var be=n(f);be!==null;){if(be.callback===null)r(f);else if(be.startTime<=Q)r(f),be.sortIndex=be.expirationTime,t(d,be);else break;be=n(f)}}function B(Q){if(S=!1,L(Q),!x)if(n(d)!==null)x=!0,ne();else{var be=n(f);be!==null&&ae(B,be.startTime-Q)}}var k=!1,w=-1,U=5,j=-1;function F(){return!(e.unstable_now()-j<U)}function M(){if(k){var Q=e.unstable_now();j=Q;var be=!0;try{e:{x=!1,S&&(S=!1,v(w),w=-1),_=!0;var K=E;try{t:{for(L(Q),p=n(d);p!==null&&!(p.expirationTime>Q&&F());){var ve=p.callback;if(typeof ve==\"function\"){p.callback=null,E=p.priorityLevel;var R=ve(p.expirationTime<=Q);if(Q=e.unstable_now(),typeof R==\"function\"){p.callback=R,L(Q),be=!0;break t}p===n(d)&&r(d),L(Q)}else r(d);p=n(d)}if(p!==null)be=!0;else{var le=n(f);le!==null&&ae(B,le.startTime-Q),be=!1}}break e}finally{p=null,E=K,_=!1}be=void 0}}finally{be?J():k=!1}}}var J;if(typeof O==\"function\")J=function(){O(M)};else if(typeof MessageChannel<\"u\"){var X=new MessageChannel,V=X.port2;X.port1.onmessage=M,J=function(){V.postMessage(null)}}else J=function(){N(M,0)};function ne(){k||(k=!0,J())}function ae(Q,be){w=N(function(){Q(e.unstable_now())},be)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(Q){Q.callback=null},e.unstable_continueExecution=function(){x||_||(x=!0,ne())},e.unstable_forceFrameRate=function(Q){0>Q||125<Q?console.error(\"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"):U=0<Q?Math.floor(1e3/Q):5},e.unstable_getCurrentPriorityLevel=function(){return E},e.unstable_getFirstCallbackNode=function(){return n(d)},e.unstable_next=function(Q){switch(E){case 1:case 2:case 3:var be=3;break;default:be=E}var K=E;E=be;try{return Q()}finally{E=K}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(Q,be){switch(Q){case 1:case 2:case 3:case 4:case 5:break;default:Q=3}var K=E;E=Q;try{return be()}finally{E=K}},e.unstable_scheduleCallback=function(Q,be,K){var ve=e.unstable_now();switch(typeof K==\"object\"&&K!==null?(K=K.delay,K=typeof K==\"number\"&&0<K?ve+K:ve):K=ve,Q){case 1:var R=-1;break;case 2:R=250;break;case 5:R=1073741823;break;case 4:R=1e4;break;default:R=5e3}return R=K+R,Q={id:m++,callback:be,priorityLevel:Q,startTime:K,expirationTime:R,sortIndex:-1},K>ve?(Q.sortIndex=K,t(f,Q),n(d)===null&&Q===n(f)&&(S?(v(w),w=-1):S=!0,ae(B,K-ve))):(Q.sortIndex=R,t(d,Q),x||_||(x=!0,ne())),Q},e.unstable_shouldYield=F,e.unstable_wrapCallback=function(Q){var be=E;return function(){var K=E;E=be;try{return Q.apply(this,arguments)}finally{E=K}}}}(m0)),m0}var PT;function M3(){return PT||(PT=1,h0.exports=D3()),h0.exports}var p0={exports:{}},or={};/**\n * @license React\n * react-dom.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var BT;function P3(){if(BT)return or;BT=1;var e=Yb();function t(d){var f=\"https://react.dev/errors/\"+d;if(1<arguments.length){f+=\"?args[]=\"+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)f+=\"&args[]=\"+encodeURIComponent(arguments[m])}return\"Minified React error #\"+d+\"; visit \"+f+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},i=Symbol.for(\"react.portal\");function o(d,f,m){var p=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:i,key:p==null?null:\"\"+p,children:d,containerInfo:f,implementation:m}}var l=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function c(d,f){if(d===\"font\")return\"\";if(typeof f==\"string\")return f===\"use-credentials\"?f:\"\"}return or.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,or.createPortal=function(d,f){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!f||f.nodeType!==1&&f.nodeType!==9&&f.nodeType!==11)throw Error(t(299));return o(d,f,null,m)},or.flushSync=function(d){var f=l.T,m=r.p;try{if(l.T=null,r.p=2,d)return d()}finally{l.T=f,r.p=m,r.d.f()}},or.preconnect=function(d,f){typeof d==\"string\"&&(f?(f=f.crossOrigin,f=typeof f==\"string\"?f===\"use-credentials\"?f:\"\":void 0):f=null,r.d.C(d,f))},or.prefetchDNS=function(d){typeof d==\"string\"&&r.d.D(d)},or.preinit=function(d,f){if(typeof d==\"string\"&&f&&typeof f.as==\"string\"){var m=f.as,p=c(m,f.crossOrigin),E=typeof f.integrity==\"string\"?f.integrity:void 0,_=typeof f.fetchPriority==\"string\"?f.fetchPriority:void 0;m===\"style\"?r.d.S(d,typeof f.precedence==\"string\"?f.precedence:void 0,{crossOrigin:p,integrity:E,fetchPriority:_}):m===\"script\"&&r.d.X(d,{crossOrigin:p,integrity:E,fetchPriority:_,nonce:typeof f.nonce==\"string\"?f.nonce:void 0})}},or.preinitModule=function(d,f){if(typeof d==\"string\")if(typeof f==\"object\"&&f!==null){if(f.as==null||f.as===\"script\"){var m=c(f.as,f.crossOrigin);r.d.M(d,{crossOrigin:m,integrity:typeof f.integrity==\"string\"?f.integrity:void 0,nonce:typeof f.nonce==\"string\"?f.nonce:void 0})}}else f==null&&r.d.M(d)},or.preload=function(d,f){if(typeof d==\"string\"&&typeof f==\"object\"&&f!==null&&typeof f.as==\"string\"){var m=f.as,p=c(m,f.crossOrigin);r.d.L(d,m,{crossOrigin:p,integrity:typeof f.integrity==\"string\"?f.integrity:void 0,nonce:typeof f.nonce==\"string\"?f.nonce:void 0,type:typeof f.type==\"string\"?f.type:void 0,fetchPriority:typeof f.fetchPriority==\"string\"?f.fetchPriority:void 0,referrerPolicy:typeof f.referrerPolicy==\"string\"?f.referrerPolicy:void 0,imageSrcSet:typeof f.imageSrcSet==\"string\"?f.imageSrcSet:void 0,imageSizes:typeof f.imageSizes==\"string\"?f.imageSizes:void 0,media:typeof f.media==\"string\"?f.media:void 0})}},or.preloadModule=function(d,f){if(typeof d==\"string\")if(f){var m=c(f.as,f.crossOrigin);r.d.m(d,{as:typeof f.as==\"string\"&&f.as!==\"script\"?f.as:void 0,crossOrigin:m,integrity:typeof f.integrity==\"string\"?f.integrity:void 0})}else r.d.m(d)},or.requestFormReset=function(d){r.d.r(d)},or.unstable_batchedUpdates=function(d,f){return d(f)},or.useFormState=function(d,f,m){return l.H.useFormState(d,f,m)},or.useFormStatus=function(){return l.H.useHostTransitionStatus()},or.version=\"19.0.0\",or}var UT;function oS(){if(UT)return p0.exports;UT=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>\"u\"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=\"function\"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),p0.exports=P3(),p0.exports}/**\n * @license React\n * react-dom-client.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */var FT;function B3(){if(FT)return Zu;FT=1;var e=M3(),t=Yb(),n=oS();function r(a){var s=\"https://react.dev/errors/\"+a;if(1<arguments.length){s+=\"?args[]=\"+encodeURIComponent(arguments[1]);for(var u=2;u<arguments.length;u++)s+=\"&args[]=\"+encodeURIComponent(arguments[u])}return\"Minified React error #\"+a+\"; visit \"+s+\" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"}function i(a){return!(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)}var o=Symbol.for(\"react.element\"),l=Symbol.for(\"react.transitional.element\"),c=Symbol.for(\"react.portal\"),d=Symbol.for(\"react.fragment\"),f=Symbol.for(\"react.strict_mode\"),m=Symbol.for(\"react.profiler\"),p=Symbol.for(\"react.provider\"),E=Symbol.for(\"react.consumer\"),_=Symbol.for(\"react.context\"),x=Symbol.for(\"react.forward_ref\"),S=Symbol.for(\"react.suspense\"),N=Symbol.for(\"react.suspense_list\"),v=Symbol.for(\"react.memo\"),O=Symbol.for(\"react.lazy\"),L=Symbol.for(\"react.offscreen\"),B=Symbol.for(\"react.memo_cache_sentinel\"),k=Symbol.iterator;function w(a){return a===null||typeof a!=\"object\"?null:(a=k&&a[k]||a[\"@@iterator\"],typeof a==\"function\"?a:null)}var U=Symbol.for(\"react.client.reference\");function j(a){if(a==null)return null;if(typeof a==\"function\")return a.$$typeof===U?null:a.displayName||a.name||null;if(typeof a==\"string\")return a;switch(a){case d:return\"Fragment\";case c:return\"Portal\";case m:return\"Profiler\";case f:return\"StrictMode\";case S:return\"Suspense\";case N:return\"SuspenseList\"}if(typeof a==\"object\")switch(a.$$typeof){case _:return(a.displayName||\"Context\")+\".Provider\";case E:return(a._context.displayName||\"Context\")+\".Consumer\";case x:var s=a.render;return a=a.displayName,a||(a=s.displayName||s.name||\"\",a=a!==\"\"?\"ForwardRef(\"+a+\")\":\"ForwardRef\"),a;case v:return s=a.displayName||null,s!==null?s:j(a.type)||\"Memo\";case O:s=a._payload,a=a._init;try{return j(a(s))}catch{}}return null}var F=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,M=Object.assign,J,X;function V(a){if(J===void 0)try{throw Error()}catch(u){var s=u.stack.trim().match(/\\n( *(at )?)/);J=s&&s[1]||\"\",X=-1<u.stack.indexOf(`\n at`)?\" (<anonymous>)\":-1<u.stack.indexOf(\"@\")?\"@unknown:0:0\":\"\"}return`\n`+J+a+X}var ne=!1;function ae(a,s){if(!a||ne)return\"\";ne=!0;var u=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var h={DetermineComponentFrameRoot:function(){try{if(s){var Se=function(){throw Error()};if(Object.defineProperty(Se.prototype,\"props\",{set:function(){throw Error()}}),typeof Reflect==\"object\"&&Reflect.construct){try{Reflect.construct(Se,[])}catch(ge){var ue=ge}Reflect.construct(a,[],Se)}else{try{Se.call()}catch(ge){ue=ge}a.call(Se.prototype)}}else{try{throw Error()}catch(ge){ue=ge}(Se=a())&&typeof Se.catch==\"function\"&&Se.catch(function(){})}}catch(ge){if(ge&&ue&&typeof ge.stack==\"string\")return[ge.stack,ue.stack]}return[null,null]}};h.DetermineComponentFrameRoot.displayName=\"DetermineComponentFrameRoot\";var g=Object.getOwnPropertyDescriptor(h.DetermineComponentFrameRoot,\"name\");g&&g.configurable&&Object.defineProperty(h.DetermineComponentFrameRoot,\"name\",{value:\"DetermineComponentFrameRoot\"});var y=h.DetermineComponentFrameRoot(),C=y[0],D=y[1];if(C&&D){var z=C.split(`\n`),ee=D.split(`\n`);for(g=h=0;h<z.length&&!z[h].includes(\"DetermineComponentFrameRoot\");)h++;for(;g<ee.length&&!ee[g].includes(\"DetermineComponentFrameRoot\");)g++;if(h===z.length||g===ee.length)for(h=z.length-1,g=ee.length-1;1<=h&&0<=g&&z[h]!==ee[g];)g--;for(;1<=h&&0<=g;h--,g--)if(z[h]!==ee[g]){if(h!==1||g!==1)do if(h--,g--,0>g||z[h]!==ee[g]){var Ee=`\n`+z[h].replace(\" at new \",\" at \");return a.displayName&&Ee.includes(\"<anonymous>\")&&(Ee=Ee.replace(\"<anonymous>\",a.displayName)),Ee}while(1<=h&&0<=g);break}}}finally{ne=!1,Error.prepareStackTrace=u}return(u=a?a.displayName||a.name:\"\")?V(u):\"\"}function Q(a){switch(a.tag){case 26:case 27:case 5:return V(a.type);case 16:return V(\"Lazy\");case 13:return V(\"Suspense\");case 19:return V(\"SuspenseList\");case 0:case 15:return a=ae(a.type,!1),a;case 11:return a=ae(a.type.render,!1),a;case 1:return a=ae(a.type,!0),a;default:return\"\"}}function be(a){try{var s=\"\";do s+=Q(a),a=a.return;while(a);return s}catch(u){return`\nError generating stack: `+u.message+`\n`+u.stack}}function K(a){var s=a,u=a;if(a.alternate)for(;s.return;)s=s.return;else{a=s;do s=a,(s.flags&4098)!==0&&(u=s.return),a=s.return;while(a)}return s.tag===3?u:null}function ve(a){if(a.tag===13){var s=a.memoizedState;if(s===null&&(a=a.alternate,a!==null&&(s=a.memoizedState)),s!==null)return s.dehydrated}return null}function R(a){if(K(a)!==a)throw Error(r(188))}function le(a){var s=a.alternate;if(!s){if(s=K(a),s===null)throw Error(r(188));return s!==a?null:a}for(var u=a,h=s;;){var g=u.return;if(g===null)break;var y=g.alternate;if(y===null){if(h=g.return,h!==null){u=h;continue}break}if(g.child===y.child){for(y=g.child;y;){if(y===u)return R(g),a;if(y===h)return R(g),s;y=y.sibling}throw Error(r(188))}if(u.return!==h.return)u=g,h=y;else{for(var C=!1,D=g.child;D;){if(D===u){C=!0,u=g,h=y;break}if(D===h){C=!0,h=g,u=y;break}D=D.sibling}if(!C){for(D=y.child;D;){if(D===u){C=!0,u=y,h=g;break}if(D===h){C=!0,h=y,u=g;break}D=D.sibling}if(!C)throw Error(r(189))}}if(u.alternate!==h)throw Error(r(190))}if(u.tag!==3)throw Error(r(188));return u.stateNode.current===u?a:s}function te(a){var s=a.tag;if(s===5||s===26||s===27||s===6)return a;for(a=a.child;a!==null;){if(s=te(a),s!==null)return s;a=a.sibling}return null}var I=Array.isArray,ce=n.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Te={pending:!1,data:null,method:null,action:null},xe=[],Pe=-1;function je(a){return{current:a}}function Ze(a){0>Pe||(a.current=xe[Pe],xe[Pe]=null,Pe--)}function Ue(a,s){Pe++,xe[Pe]=a.current,a.current=s}var Pt=je(null),mn=je(null),pn=je(null),Tn=je(null);function fr(a,s){switch(Ue(pn,s),Ue(mn,a),Ue(Pt,null),a=s.nodeType,a){case 9:case 11:s=(s=s.documentElement)&&(s=s.namespaceURI)?sT(s):0;break;default:if(a=a===8?s.parentNode:s,s=a.tagName,a=a.namespaceURI)a=sT(a),s=oT(a,s);else switch(s){case\"svg\":s=1;break;case\"math\":s=2;break;default:s=0}}Ze(Pt),Ue(Pt,s)}function mt(){Ze(Pt),Ze(mn),Ze(pn)}function zn(a){a.memoizedState!==null&&Ue(Tn,a);var s=Pt.current,u=oT(s,a.type);s!==u&&(Ue(mn,a),Ue(Pt,u))}function $n(a){mn.current===a&&(Ze(Pt),Ze(mn)),Tn.current===a&&(Ze(Tn),Gu._currentValue=Te)}var Qn=Object.prototype.hasOwnProperty,Aa=e.unstable_scheduleCallback,fi=e.unstable_cancelCallback,Ir=e.unstable_shouldYield,ta=e.unstable_requestPaint,dn=e.unstable_now,Ha=e.unstable_getCurrentPriorityLevel,de=e.unstable_ImmediatePriority,Ne=e.unstable_UserBlockingPriority,tt=e.unstable_NormalPriority,ht=e.unstable_LowPriority,It=e.unstable_IdlePriority,ln=e.log,yr=e.unstable_setDisableYieldValue,An=null,on=null;function Na(a){if(on&&typeof on.onCommitFiberRoot==\"function\")try{on.onCommitFiberRoot(An,a,void 0,(a.current.flags&128)===128)}catch{}}function Kt(a){if(typeof ln==\"function\"&&yr(a),on&&typeof on.setStrictMode==\"function\")try{on.setStrictMode(An,a)}catch{}}var Xt=Math.clz32?Math.clz32:Lo,qn=Math.log,ji=Math.LN2;function Lo(a){return a>>>=0,a===0?32:31-(qn(a)/ji|0)|0}var hi=128,mi=4194304;function Zn(a){var s=a&42;if(s!==0)return s;switch(a&-a){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return a&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return a&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return a}}function Y(a,s){var u=a.pendingLanes;if(u===0)return 0;var h=0,g=a.suspendedLanes,y=a.pingedLanes,C=a.warmLanes;a=a.finishedLanes!==0;var D=u&134217727;return D!==0?(u=D&~g,u!==0?h=Zn(u):(y&=D,y!==0?h=Zn(y):a||(C=D&~C,C!==0&&(h=Zn(C))))):(D=u&~g,D!==0?h=Zn(D):y!==0?h=Zn(y):a||(C=u&~C,C!==0&&(h=Zn(C)))),h===0?0:s!==0&&s!==h&&(s&g)===0&&(g=h&-h,C=s&-s,g>=C||g===32&&(C&4194176)!==0)?s:h}function pe(a,s){return(a.pendingLanes&~(a.suspendedLanes&~a.pingedLanes)&s)===0}function ke(a,s){switch(a){case 1:case 2:case 4:case 8:return s+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return s+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function st(){var a=hi;return hi<<=1,(hi&4194176)===0&&(hi=128),a}function $(){var a=mi;return mi<<=1,(mi&62914560)===0&&(mi=4194304),a}function W(a){for(var s=[],u=0;31>u;u++)s.push(a);return s}function G(a,s){a.pendingLanes|=s,s!==268435456&&(a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0)}function se(a,s,u,h,g,y){var C=a.pendingLanes;a.pendingLanes=u,a.suspendedLanes=0,a.pingedLanes=0,a.warmLanes=0,a.expiredLanes&=u,a.entangledLanes&=u,a.errorRecoveryDisabledLanes&=u,a.shellSuspendCounter=0;var D=a.entanglements,z=a.expirationTimes,ee=a.hiddenUpdates;for(u=C&~u;0<u;){var Ee=31-Xt(u),Se=1<<Ee;D[Ee]=0,z[Ee]=-1;var ue=ee[Ee];if(ue!==null)for(ee[Ee]=null,Ee=0;Ee<ue.length;Ee++){var ge=ue[Ee];ge!==null&&(ge.lane&=-536870913)}u&=~Se}h!==0&&me(a,h,0),y!==0&&g===0&&a.tag!==0&&(a.suspendedLanes|=y&~(C&~s))}function me(a,s,u){a.pendingLanes|=s,a.suspendedLanes&=~s;var h=31-Xt(s);a.entangledLanes|=s,a.entanglements[h]=a.entanglements[h]|1073741824|u&4194218}function Ie(a,s){var u=a.entangledLanes|=s;for(a=a.entanglements;u;){var h=31-Xt(u),g=1<<h;g&s|a[h]&s&&(a[h]|=s),u&=~g}}function Le(a){return a&=-a,2<a?8<a?(a&134217727)!==0?32:268435456:8:2}function Fe(){var a=ce.p;return a!==0?a:(a=window.event,a===void 0?32:AT(a.type))}function Xe(a,s){var u=ce.p;try{return ce.p=a,s()}finally{ce.p=u}}var Ge=Math.random().toString(36).slice(2),He=\"__reactFiber$\"+Ge,Me=\"__reactProps$\"+Ge,rt=\"__reactContainer$\"+Ge,zt=\"__reactEvents$\"+Ge,Nn=\"__reactListeners$\"+Ge,wn=\"__reactHandles$\"+Ge,$t=\"__reactResources$\"+Ge,Bt=\"__reactMarker$\"+Ge;function Dr(a){delete a[He],delete a[Me],delete a[zt],delete a[Nn],delete a[wn]}function hr(a){var s=a[He];if(s)return s;for(var u=a.parentNode;u;){if(s=u[rt]||u[He]){if(u=s.alternate,s.child!==null||u!==null&&u.child!==null)for(a=cT(a);a!==null;){if(u=a[He])return u;a=cT(a)}return s}a=u,u=a.parentNode}return null}function un(a){if(a=a[He]||a[rt]){var s=a.tag;if(s===5||s===6||s===13||s===26||s===27||s===3)return a}return null}function Pn(a){var s=a.tag;if(s===5||s===26||s===27||s===6)return a.stateNode;throw Error(r(33))}function Mr(a){var s=a[$t];return s||(s=a[$t]={hoistableStyles:new Map,hoistableScripts:new Map}),s}function Zt(a){a[Bt]=!0}var na=new Set,pi={};function Jn(a,s){At(a,s),At(a+\"Capture\",s)}function At(a,s){for(pi[a]=s,a=0;a<s.length;a++)na.add(s[a])}var ye=!(typeof window>\"u\"||typeof window.document>\"u\"||typeof window.document.createElement>\"u\"),Ve=RegExp(\"^[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\"),ut={},ot={};function Jt(a){return Qn.call(ot,a)?!0:Qn.call(ut,a)?!1:Ve.test(a)?ot[a]=!0:(ut[a]=!0,!1)}function Bn(a,s,u){if(Jt(s))if(u===null)a.removeAttribute(s);else{switch(typeof u){case\"undefined\":case\"function\":case\"symbol\":a.removeAttribute(s);return;case\"boolean\":var h=s.toLowerCase().slice(0,5);if(h!==\"data-\"&&h!==\"aria-\"){a.removeAttribute(s);return}}a.setAttribute(s,\"\"+u)}}function mr(a,s,u){if(u===null)a.removeAttribute(s);else{switch(typeof u){case\"undefined\":case\"function\":case\"symbol\":case\"boolean\":a.removeAttribute(s);return}a.setAttribute(s,\"\"+u)}}function _r(a,s,u,h){if(h===null)a.removeAttribute(u);else{switch(typeof h){case\"undefined\":case\"function\":case\"symbol\":case\"boolean\":a.removeAttribute(u);return}a.setAttributeNS(s,u,\"\"+h)}}function en(a){switch(typeof a){case\"bigint\":case\"boolean\":case\"number\":case\"string\":case\"undefined\":return a;case\"object\":return a;default:return\"\"}}function Pr(a){var s=a.type;return(a=a.nodeName)&&a.toLowerCase()===\"input\"&&(s===\"checkbox\"||s===\"radio\")}function od(a){var s=Pr(a)?\"checked\":\"value\",u=Object.getOwnPropertyDescriptor(a.constructor.prototype,s),h=\"\"+a[s];if(!a.hasOwnProperty(s)&&typeof u<\"u\"&&typeof u.get==\"function\"&&typeof u.set==\"function\"){var g=u.get,y=u.set;return Object.defineProperty(a,s,{configurable:!0,get:function(){return g.call(this)},set:function(C){h=\"\"+C,y.call(this,C)}}),Object.defineProperty(a,s,{enumerable:u.enumerable}),{getValue:function(){return h},setValue:function(C){h=\"\"+C},stopTracking:function(){a._valueTracker=null,delete a[s]}}}}function Bs(a){a._valueTracker||(a._valueTracker=od(a))}function au(a){if(!a)return!1;var s=a._valueTracker;if(!s)return!0;var u=s.getValue(),h=\"\";return a&&(h=Pr(a)?a.checked?\"true\":\"false\":a.value),a=h,a!==u?(s.setValue(a),!0):!1}function Io(a){if(a=a||(typeof document<\"u\"?document:void 0),typeof a>\"u\")return null;try{return a.activeElement||a.body}catch{return a.body}}var hm=/[\\n\"\\\\]/g;function Tr(a){return a.replace(hm,function(s){return\"\\\\\"+s.charCodeAt(0).toString(16)+\" \"})}function iu(a,s,u,h,g,y,C,D){a.name=\"\",C!=null&&typeof C!=\"function\"&&typeof C!=\"symbol\"&&typeof C!=\"boolean\"?a.type=C:a.removeAttribute(\"type\"),s!=null?C===\"number\"?(s===0&&a.value===\"\"||a.value!=s)&&(a.value=\"\"+en(s)):a.value!==\"\"+en(s)&&(a.value=\"\"+en(s)):C!==\"submit\"&&C!==\"reset\"||a.removeAttribute(\"value\"),s!=null?Do(a,C,en(s)):u!=null?Do(a,C,en(u)):h!=null&&a.removeAttribute(\"value\"),g==null&&y!=null&&(a.defaultChecked=!!y),g!=null&&(a.checked=g&&typeof g!=\"function\"&&typeof g!=\"symbol\"),D!=null&&typeof D!=\"function\"&&typeof D!=\"symbol\"&&typeof D!=\"boolean\"?a.name=\"\"+en(D):a.removeAttribute(\"name\")}function Us(a,s,u,h,g,y,C,D){if(y!=null&&typeof y!=\"function\"&&typeof y!=\"symbol\"&&typeof y!=\"boolean\"&&(a.type=y),s!=null||u!=null){if(!(y!==\"submit\"&&y!==\"reset\"||s!=null))return;u=u!=null?\"\"+en(u):\"\",s=s!=null?\"\"+en(s):u,D||s===a.value||(a.value=s),a.defaultValue=s}h=h??g,h=typeof h!=\"function\"&&typeof h!=\"symbol\"&&!!h,a.checked=D?a.checked:!!h,a.defaultChecked=!!h,C!=null&&typeof C!=\"function\"&&typeof C!=\"symbol\"&&typeof C!=\"boolean\"&&(a.name=C)}function Do(a,s,u){s===\"number\"&&Io(a.ownerDocument)===a||a.defaultValue===\"\"+u||(a.defaultValue=\"\"+u)}function er(a,s,u,h){if(a=a.options,s){s={};for(var g=0;g<u.length;g++)s[\"$\"+u[g]]=!0;for(u=0;u<a.length;u++)g=s.hasOwnProperty(\"$\"+a[u].value),a[u].selected!==g&&(a[u].selected=g),g&&h&&(a[u].defaultSelected=!0)}else{for(u=\"\"+en(u),s=null,g=0;g<a.length;g++){if(a[g].value===u){a[g].selected=!0,h&&(a[g].defaultSelected=!0);return}s!==null||a[g].disabled||(s=a[g])}s!==null&&(s.selected=!0)}}function ld(a,s,u){if(s!=null&&(s=\"\"+en(s),s!==a.value&&(a.value=s),u==null)){a.defaultValue!==s&&(a.defaultValue=s);return}a.defaultValue=u!=null?\"\"+en(u):\"\"}function Mo(a,s,u,h){if(s==null){if(h!=null){if(u!=null)throw Error(r(92));if(I(h)){if(1<h.length)throw Error(r(93));h=h[0]}u=h}u==null&&(u=\"\"),s=u}u=en(s),a.defaultValue=u,h=a.textContent,h===u&&h!==\"\"&&h!==null&&(a.value=h)}function at(a,s){if(s){var u=a.firstChild;if(u&&u===a.lastChild&&u.nodeType===3){u.nodeValue=s;return}}a.textContent=s}var ud=new Set(\"animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp\".split(\" \"));function Cn(a,s,u){var h=s.indexOf(\"--\")===0;u==null||typeof u==\"boolean\"||u===\"\"?h?a.setProperty(s,\"\"):s===\"float\"?a.cssFloat=\"\":a[s]=\"\":h?a.setProperty(s,u):typeof u!=\"number\"||u===0||ud.has(s)?s===\"float\"?a.cssFloat=u:a[s]=(\"\"+u).trim():a[s]=u+\"px\"}function qt(a,s,u){if(s!=null&&typeof s!=\"object\")throw Error(r(62));if(a=a.style,u!=null){for(var h in u)!u.hasOwnProperty(h)||s!=null&&s.hasOwnProperty(h)||(h.indexOf(\"--\")===0?a.setProperty(h,\"\"):h===\"float\"?a.cssFloat=\"\":a[h]=\"\");for(var g in s)h=s[g],s.hasOwnProperty(g)&&u[g]!==h&&Cn(a,g,h)}else for(var y in s)s.hasOwnProperty(y)&&Cn(a,y,s[y])}function zi(a){if(a.indexOf(\"-\")===-1)return!1;switch(a){case\"annotation-xml\":case\"color-profile\":case\"font-face\":case\"font-face-src\":case\"font-face-uri\":case\"font-face-format\":case\"font-face-name\":case\"missing-glyph\":return!1;default:return!0}}var gi=new Map([[\"acceptCharset\",\"accept-charset\"],[\"htmlFor\",\"for\"],[\"httpEquiv\",\"http-equiv\"],[\"crossOrigin\",\"crossorigin\"],[\"accentHeight\",\"accent-height\"],[\"alignmentBaseline\",\"alignment-baseline\"],[\"arabicForm\",\"arabic-form\"],[\"baselineShift\",\"baseline-shift\"],[\"capHeight\",\"cap-height\"],[\"clipPath\",\"clip-path\"],[\"clipRule\",\"clip-rule\"],[\"colorInterpolation\",\"color-interpolation\"],[\"colorInterpolationFilters\",\"color-interpolation-filters\"],[\"colorProfile\",\"color-profile\"],[\"colorRendering\",\"color-rendering\"],[\"dominantBaseline\",\"dominant-baseline\"],[\"enableBackground\",\"enable-background\"],[\"fillOpacity\",\"fill-opacity\"],[\"fillRule\",\"fill-rule\"],[\"floodColor\",\"flood-color\"],[\"floodOpacity\",\"flood-opacity\"],[\"fontFamily\",\"font-family\"],[\"fontSize\",\"font-size\"],[\"fontSizeAdjust\",\"font-size-adjust\"],[\"fontStretch\",\"font-stretch\"],[\"fontStyle\",\"font-style\"],[\"fontVariant\",\"font-variant\"],[\"fontWeight\",\"font-weight\"],[\"glyphName\",\"glyph-name\"],[\"glyphOrientationHorizontal\",\"glyph-orientation-horizontal\"],[\"glyphOrientationVertical\",\"glyph-orientation-vertical\"],[\"horizAdvX\",\"horiz-adv-x\"],[\"horizOriginX\",\"horiz-origin-x\"],[\"imageRendering\",\"image-rendering\"],[\"letterSpacing\",\"letter-spacing\"],[\"lightingColor\",\"lighting-color\"],[\"markerEnd\",\"marker-end\"],[\"markerMid\",\"marker-mid\"],[\"markerStart\",\"marker-start\"],[\"overlinePosition\",\"overline-position\"],[\"overlineThickness\",\"overline-thickness\"],[\"paintOrder\",\"paint-order\"],[\"panose-1\",\"panose-1\"],[\"pointerEvents\",\"pointer-events\"],[\"renderingIntent\",\"rendering-intent\"],[\"shapeRendering\",\"shape-rendering\"],[\"stopColor\",\"stop-color\"],[\"stopOpacity\",\"stop-opacity\"],[\"strikethroughPosition\",\"strikethrough-position\"],[\"strikethroughThickness\",\"strikethrough-thickness\"],[\"strokeDasharray\",\"stroke-dasharray\"],[\"strokeDashoffset\",\"stroke-dashoffset\"],[\"strokeLinecap\",\"stroke-linecap\"],[\"strokeLinejoin\",\"stroke-linejoin\"],[\"strokeMiterlimit\",\"stroke-miterlimit\"],[\"strokeOpacity\",\"stroke-opacity\"],[\"strokeWidth\",\"stroke-width\"],[\"textAnchor\",\"text-anchor\"],[\"textDecoration\",\"text-decoration\"],[\"textRendering\",\"text-rendering\"],[\"transformOrigin\",\"transform-origin\"],[\"underlinePosition\",\"underline-position\"],[\"underlineThickness\",\"underline-thickness\"],[\"unicodeBidi\",\"unicode-bidi\"],[\"unicodeRange\",\"unicode-range\"],[\"unitsPerEm\",\"units-per-em\"],[\"vAlphabetic\",\"v-alphabetic\"],[\"vHanging\",\"v-hanging\"],[\"vIdeographic\",\"v-ideographic\"],[\"vMathematical\",\"v-mathematical\"],[\"vectorEffect\",\"vector-effect\"],[\"vertAdvY\",\"vert-adv-y\"],[\"vertOriginX\",\"vert-origin-x\"],[\"vertOriginY\",\"vert-origin-y\"],[\"wordSpacing\",\"word-spacing\"],[\"writingMode\",\"writing-mode\"],[\"xmlnsXlink\",\"xmlns:xlink\"],[\"xHeight\",\"x-height\"]]),su=/^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:/i;function $i(a){return su.test(\"\"+a)?\"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')\":a}var De=null;function Ke(a){return a=a.target||a.srcElement||window,a.correspondingUseElement&&(a=a.correspondingUseElement),a.nodeType===3?a.parentNode:a}var lt=null,Rt=null;function Un(a){var s=un(a);if(s&&(a=s.stateNode)){var u=a[Me]||null;e:switch(a=s.stateNode,s.type){case\"input\":if(iu(a,u.value,u.defaultValue,u.defaultValue,u.checked,u.defaultChecked,u.type,u.name),s=u.name,u.type===\"radio\"&&s!=null){for(u=a;u.parentNode;)u=u.parentNode;for(u=u.querySelectorAll('input[name=\"'+Tr(\"\"+s)+'\"][type=\"radio\"]'),s=0;s<u.length;s++){var h=u[s];if(h!==a&&h.form===a.form){var g=h[Me]||null;if(!g)throw Error(r(90));iu(h,g.value,g.defaultValue,g.defaultValue,g.checked,g.defaultChecked,g.type,g.name)}}for(s=0;s<u.length;s++)h=u[s],h.form===a.form&&au(h)}break e;case\"textarea\":ld(a,u.value,u.defaultValue);break e;case\"select\":s=u.value,s!=null&&er(a,!!u.multiple,s,!1)}}}var Br=!1;function cd(a,s,u){if(Br)return a(s,u);Br=!0;try{var h=a(s);return h}finally{if(Br=!1,(lt!==null||Rt!==null)&&(Vd(),lt&&(s=lt,a=Rt,Rt=lt=null,Un(s),a)))for(s=0;s<a.length;s++)Un(a[s])}}function Fs(a,s){var u=a.stateNode;if(u===null)return null;var h=u[Me]||null;if(h===null)return null;u=h[s];e:switch(s){case\"onClick\":case\"onClickCapture\":case\"onDoubleClick\":case\"onDoubleClickCapture\":case\"onMouseDown\":case\"onMouseDownCapture\":case\"onMouseMove\":case\"onMouseMoveCapture\":case\"onMouseUp\":case\"onMouseUpCapture\":case\"onMouseEnter\":(h=!h.disabled)||(a=a.type,h=!(a===\"button\"||a===\"input\"||a===\"select\"||a===\"textarea\")),a=!h;break e;default:a=!1}if(a)return null;if(u&&typeof u!=\"function\")throw Error(r(231,s,typeof u));return u}var mm=!1;if(ye)try{var ou={};Object.defineProperty(ou,\"passive\",{get:function(){mm=!0}}),window.addEventListener(\"test\",ou,ou),window.removeEventListener(\"test\",ou,ou)}catch{mm=!1}var qi=null,pm=null,dd=null;function E1(){if(dd)return dd;var a,s=pm,u=s.length,h,g=\"value\"in qi?qi.value:qi.textContent,y=g.length;for(a=0;a<u&&s[a]===g[a];a++);var C=u-a;for(h=1;h<=C&&s[u-h]===g[y-h];h++);return dd=g.slice(a,1<h?1-h:void 0)}function fd(a){var s=a.keyCode;return\"charCode\"in a?(a=a.charCode,a===0&&s===13&&(a=13)):a=s,a===10&&(a=13),32<=a||a===13?a:0}function hd(){return!0}function y1(){return!1}function vr(a){function s(u,h,g,y,C){this._reactName=u,this._targetInst=g,this.type=h,this.nativeEvent=y,this.target=C,this.currentTarget=null;for(var D in a)a.hasOwnProperty(D)&&(u=a[D],this[D]=u?u(y):y[D]);return this.isDefaultPrevented=(y.defaultPrevented!=null?y.defaultPrevented:y.returnValue===!1)?hd:y1,this.isPropagationStopped=y1,this}return M(s.prototype,{preventDefault:function(){this.defaultPrevented=!0;var u=this.nativeEvent;u&&(u.preventDefault?u.preventDefault():typeof u.returnValue!=\"unknown\"&&(u.returnValue=!1),this.isDefaultPrevented=hd)},stopPropagation:function(){var u=this.nativeEvent;u&&(u.stopPropagation?u.stopPropagation():typeof u.cancelBubble!=\"unknown\"&&(u.cancelBubble=!0),this.isPropagationStopped=hd)},persist:function(){},isPersistent:hd}),s}var Hs={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(a){return a.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},md=vr(Hs),lu=M({},Hs,{view:0,detail:0}),OO=vr(lu),gm,bm,uu,pd=M({},lu,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:ym,button:0,buttons:0,relatedTarget:function(a){return a.relatedTarget===void 0?a.fromElement===a.srcElement?a.toElement:a.fromElement:a.relatedTarget},movementX:function(a){return\"movementX\"in a?a.movementX:(a!==uu&&(uu&&a.type===\"mousemove\"?(gm=a.screenX-uu.screenX,bm=a.screenY-uu.screenY):bm=gm=0,uu=a),gm)},movementY:function(a){return\"movementY\"in a?a.movementY:bm}}),_1=vr(pd),kO=M({},pd,{dataTransfer:0}),LO=vr(kO),IO=M({},lu,{relatedTarget:0}),Em=vr(IO),DO=M({},Hs,{animationName:0,elapsedTime:0,pseudoElement:0}),MO=vr(DO),PO=M({},Hs,{clipboardData:function(a){return\"clipboardData\"in a?a.clipboardData:window.clipboardData}}),BO=vr(PO),UO=M({},Hs,{data:0}),T1=vr(UO),FO={Esc:\"Escape\",Spacebar:\" \",Left:\"ArrowLeft\",Up:\"ArrowUp\",Right:\"ArrowRight\",Down:\"ArrowDown\",Del:\"Delete\",Win:\"OS\",Menu:\"ContextMenu\",Apps:\"ContextMenu\",Scroll:\"ScrollLock\",MozPrintableKey:\"Unidentified\"},HO={8:\"Backspace\",9:\"Tab\",12:\"Clear\",13:\"Enter\",16:\"Shift\",17:\"Control\",18:\"Alt\",19:\"Pause\",20:\"CapsLock\",27:\"Escape\",32:\" \",33:\"PageUp\",34:\"PageDown\",35:\"End\",36:\"Home\",37:\"ArrowLeft\",38:\"ArrowUp\",39:\"ArrowRight\",40:\"ArrowDown\",45:\"Insert\",46:\"Delete\",112:\"F1\",113:\"F2\",114:\"F3\",115:\"F4\",116:\"F5\",117:\"F6\",118:\"F7\",119:\"F8\",120:\"F9\",121:\"F10\",122:\"F11\",123:\"F12\",144:\"NumLock\",145:\"ScrollLock\",224:\"Meta\"},jO={Alt:\"altKey\",Control:\"ctrlKey\",Meta:\"metaKey\",Shift:\"shiftKey\"};function zO(a){var s=this.nativeEvent;return s.getModifierState?s.getModifierState(a):(a=jO[a])?!!s[a]:!1}function ym(){return zO}var $O=M({},lu,{key:function(a){if(a.key){var s=FO[a.key]||a.key;if(s!==\"Unidentified\")return s}return a.type===\"keypress\"?(a=fd(a),a===13?\"Enter\":String.fromCharCode(a)):a.type===\"keydown\"||a.type===\"keyup\"?HO[a.keyCode]||\"Unidentified\":\"\"},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:ym,charCode:function(a){return a.type===\"keypress\"?fd(a):0},keyCode:function(a){return a.type===\"keydown\"||a.type===\"keyup\"?a.keyCode:0},which:function(a){return a.type===\"keypress\"?fd(a):a.type===\"keydown\"||a.type===\"keyup\"?a.keyCode:0}}),qO=vr($O),YO=M({},pd,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),v1=vr(YO),GO=M({},lu,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:ym}),VO=vr(GO),KO=M({},Hs,{propertyName:0,elapsedTime:0,pseudoElement:0}),XO=vr(KO),WO=M({},pd,{deltaX:function(a){return\"deltaX\"in a?a.deltaX:\"wheelDeltaX\"in a?-a.wheelDeltaX:0},deltaY:function(a){return\"deltaY\"in a?a.deltaY:\"wheelDeltaY\"in a?-a.wheelDeltaY:\"wheelDelta\"in a?-a.wheelDelta:0},deltaZ:0,deltaMode:0}),QO=vr(WO),ZO=M({},Hs,{newState:0,oldState:0}),JO=vr(ZO),ek=[9,13,27,32],_m=ye&&\"CompositionEvent\"in window,cu=null;ye&&\"documentMode\"in document&&(cu=document.documentMode);var tk=ye&&\"TextEvent\"in window&&!cu,x1=ye&&(!_m||cu&&8<cu&&11>=cu),S1=\" \",A1=!1;function N1(a,s){switch(a){case\"keyup\":return ek.indexOf(s.keyCode)!==-1;case\"keydown\":return s.keyCode!==229;case\"keypress\":case\"mousedown\":case\"focusout\":return!0;default:return!1}}function w1(a){return a=a.detail,typeof a==\"object\"&&\"data\"in a?a.data:null}var Po=!1;function nk(a,s){switch(a){case\"compositionend\":return w1(s);case\"keypress\":return s.which!==32?null:(A1=!0,S1);case\"textInput\":return a=s.data,a===S1&&A1?null:a;default:return null}}function rk(a,s){if(Po)return a===\"compositionend\"||!_m&&N1(a,s)?(a=E1(),dd=pm=qi=null,Po=!1,a):null;switch(a){case\"paste\":return null;case\"keypress\":if(!(s.ctrlKey||s.altKey||s.metaKey)||s.ctrlKey&&s.altKey){if(s.char&&1<s.char.length)return s.char;if(s.which)return String.fromCharCode(s.which)}return null;case\"compositionend\":return x1&&s.locale!==\"ko\"?null:s.data;default:return null}}var ak={color:!0,date:!0,datetime:!0,\"datetime-local\":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function C1(a){var s=a&&a.nodeName&&a.nodeName.toLowerCase();return s===\"input\"?!!ak[a.type]:s===\"textarea\"}function R1(a,s,u,h){lt?Rt?Rt.push(h):Rt=[h]:lt=h,s=Zd(s,\"onChange\"),0<s.length&&(u=new md(\"onChange\",\"change\",null,u,h),a.push({event:u,listeners:s}))}var du=null,fu=null;function ik(a){tT(a,0)}function gd(a){var s=Pn(a);if(au(s))return a}function O1(a,s){if(a===\"change\")return s}var k1=!1;if(ye){var Tm;if(ye){var vm=\"oninput\"in document;if(!vm){var L1=document.createElement(\"div\");L1.setAttribute(\"oninput\",\"return;\"),vm=typeof L1.oninput==\"function\"}Tm=vm}else Tm=!1;k1=Tm&&(!document.documentMode||9<document.documentMode)}function I1(){du&&(du.detachEvent(\"onpropertychange\",D1),fu=du=null)}function D1(a){if(a.propertyName===\"value\"&&gd(fu)){var s=[];R1(s,fu,a,Ke(a)),cd(ik,s)}}function sk(a,s,u){a===\"focusin\"?(I1(),du=s,fu=u,du.attachEvent(\"onpropertychange\",D1)):a===\"focusout\"&&I1()}function ok(a){if(a===\"selectionchange\"||a===\"keyup\"||a===\"keydown\")return gd(fu)}function lk(a,s){if(a===\"click\")return gd(s)}function uk(a,s){if(a===\"input\"||a===\"change\")return gd(s)}function ck(a,s){return a===s&&(a!==0||1/a===1/s)||a!==a&&s!==s}var Ur=typeof Object.is==\"function\"?Object.is:ck;function hu(a,s){if(Ur(a,s))return!0;if(typeof a!=\"object\"||a===null||typeof s!=\"object\"||s===null)return!1;var u=Object.keys(a),h=Object.keys(s);if(u.length!==h.length)return!1;for(h=0;h<u.length;h++){var g=u[h];if(!Qn.call(s,g)||!Ur(a[g],s[g]))return!1}return!0}function M1(a){for(;a&&a.firstChild;)a=a.firstChild;return a}function P1(a,s){var u=M1(a);a=0;for(var h;u;){if(u.nodeType===3){if(h=a+u.textContent.length,a<=s&&h>=s)return{node:u,offset:s-a};a=h}e:{for(;u;){if(u.nextSibling){u=u.nextSibling;break e}u=u.parentNode}u=void 0}u=M1(u)}}function B1(a,s){return a&&s?a===s?!0:a&&a.nodeType===3?!1:s&&s.nodeType===3?B1(a,s.parentNode):\"contains\"in a?a.contains(s):a.compareDocumentPosition?!!(a.compareDocumentPosition(s)&16):!1:!1}function U1(a){a=a!=null&&a.ownerDocument!=null&&a.ownerDocument.defaultView!=null?a.ownerDocument.defaultView:window;for(var s=Io(a.document);s instanceof a.HTMLIFrameElement;){try{var u=typeof s.contentWindow.location.href==\"string\"}catch{u=!1}if(u)a=s.contentWindow;else break;s=Io(a.document)}return s}function xm(a){var s=a&&a.nodeName&&a.nodeName.toLowerCase();return s&&(s===\"input\"&&(a.type===\"text\"||a.type===\"search\"||a.type===\"tel\"||a.type===\"url\"||a.type===\"password\")||s===\"textarea\"||a.contentEditable===\"true\")}function dk(a,s){var u=U1(s);s=a.focusedElem;var h=a.selectionRange;if(u!==s&&s&&s.ownerDocument&&B1(s.ownerDocument.documentElement,s)){if(h!==null&&xm(s)){if(a=h.start,u=h.end,u===void 0&&(u=a),\"selectionStart\"in s)s.selectionStart=a,s.selectionEnd=Math.min(u,s.value.length);else if(u=(a=s.ownerDocument||document)&&a.defaultView||window,u.getSelection){u=u.getSelection();var g=s.textContent.length,y=Math.min(h.start,g);h=h.end===void 0?y:Math.min(h.end,g),!u.extend&&y>h&&(g=h,h=y,y=g),g=P1(s,y);var C=P1(s,h);g&&C&&(u.rangeCount!==1||u.anchorNode!==g.node||u.anchorOffset!==g.offset||u.focusNode!==C.node||u.focusOffset!==C.offset)&&(a=a.createRange(),a.setStart(g.node,g.offset),u.removeAllRanges(),y>h?(u.addRange(a),u.extend(C.node,C.offset)):(a.setEnd(C.node,C.offset),u.addRange(a)))}}for(a=[],u=s;u=u.parentNode;)u.nodeType===1&&a.push({element:u,left:u.scrollLeft,top:u.scrollTop});for(typeof s.focus==\"function\"&&s.focus(),s=0;s<a.length;s++)u=a[s],u.element.scrollLeft=u.left,u.element.scrollTop=u.top}}var fk=ye&&\"documentMode\"in document&&11>=document.documentMode,Bo=null,Sm=null,mu=null,Am=!1;function F1(a,s,u){var h=u.window===u?u.document:u.nodeType===9?u:u.ownerDocument;Am||Bo==null||Bo!==Io(h)||(h=Bo,\"selectionStart\"in h&&xm(h)?h={start:h.selectionStart,end:h.selectionEnd}:(h=(h.ownerDocument&&h.ownerDocument.defaultView||window).getSelection(),h={anchorNode:h.anchorNode,anchorOffset:h.anchorOffset,focusNode:h.focusNode,focusOffset:h.focusOffset}),mu&&hu(mu,h)||(mu=h,h=Zd(Sm,\"onSelect\"),0<h.length&&(s=new md(\"onSelect\",\"select\",null,s,u),a.push({event:s,listeners:h}),s.target=Bo)))}function js(a,s){var u={};return u[a.toLowerCase()]=s.toLowerCase(),u[\"Webkit\"+a]=\"webkit\"+s,u[\"Moz\"+a]=\"moz\"+s,u}var Uo={animationend:js(\"Animation\",\"AnimationEnd\"),animationiteration:js(\"Animation\",\"AnimationIteration\"),animationstart:js(\"Animation\",\"AnimationStart\"),transitionrun:js(\"Transition\",\"TransitionRun\"),transitionstart:js(\"Transition\",\"TransitionStart\"),transitioncancel:js(\"Transition\",\"TransitionCancel\"),transitionend:js(\"Transition\",\"TransitionEnd\")},Nm={},H1={};ye&&(H1=document.createElement(\"div\").style,\"AnimationEvent\"in window||(delete Uo.animationend.animation,delete Uo.animationiteration.animation,delete Uo.animationstart.animation),\"TransitionEvent\"in window||delete Uo.transitionend.transition);function zs(a){if(Nm[a])return Nm[a];if(!Uo[a])return a;var s=Uo[a],u;for(u in s)if(s.hasOwnProperty(u)&&u in H1)return Nm[a]=s[u];return a}var j1=zs(\"animationend\"),z1=zs(\"animationiteration\"),$1=zs(\"animationstart\"),hk=zs(\"transitionrun\"),mk=zs(\"transitionstart\"),pk=zs(\"transitioncancel\"),q1=zs(\"transitionend\"),Y1=new Map,G1=\"abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll scrollEnd toggle touchMove waiting wheel\".split(\" \");function wa(a,s){Y1.set(a,s),Jn(s,[a])}var ra=[],Fo=0,wm=0;function bd(){for(var a=Fo,s=wm=Fo=0;s<a;){var u=ra[s];ra[s++]=null;var h=ra[s];ra[s++]=null;var g=ra[s];ra[s++]=null;var y=ra[s];if(ra[s++]=null,h!==null&&g!==null){var C=h.pending;C===null?g.next=g:(g.next=C.next,C.next=g),h.pending=g}y!==0&&V1(u,g,y)}}function Ed(a,s,u,h){ra[Fo++]=a,ra[Fo++]=s,ra[Fo++]=u,ra[Fo++]=h,wm|=h,a.lanes|=h,a=a.alternate,a!==null&&(a.lanes|=h)}function Cm(a,s,u,h){return Ed(a,s,u,h),yd(a)}function Yi(a,s){return Ed(a,null,null,s),yd(a)}function V1(a,s,u){a.lanes|=u;var h=a.alternate;h!==null&&(h.lanes|=u);for(var g=!1,y=a.return;y!==null;)y.childLanes|=u,h=y.alternate,h!==null&&(h.childLanes|=u),y.tag===22&&(a=y.stateNode,a===null||a._visibility&1||(g=!0)),a=y,y=y.return;g&&s!==null&&a.tag===3&&(y=a.stateNode,g=31-Xt(u),y=y.hiddenUpdates,a=y[g],a===null?y[g]=[s]:a.push(s),s.lane=u|536870912)}function yd(a){if(50<Fu)throw Fu=0,Dp=null,Error(r(185));for(var s=a.return;s!==null;)a=s,s=a.return;return a.tag===3?a.stateNode:null}var Ho={},K1=new WeakMap;function aa(a,s){if(typeof a==\"object\"&&a!==null){var u=K1.get(a);return u!==void 0?u:(s={value:a,source:s,stack:be(s)},K1.set(a,s),s)}return{value:a,source:s,stack:be(s)}}var jo=[],zo=0,_d=null,Td=0,ia=[],sa=0,$s=null,bi=1,Ei=\"\";function qs(a,s){jo[zo++]=Td,jo[zo++]=_d,_d=a,Td=s}function X1(a,s,u){ia[sa++]=bi,ia[sa++]=Ei,ia[sa++]=$s,$s=a;var h=bi;a=Ei;var g=32-Xt(h)-1;h&=~(1<<g),u+=1;var y=32-Xt(s)+g;if(30<y){var C=g-g%5;y=(h&(1<<C)-1).toString(32),h>>=C,g-=C,bi=1<<32-Xt(s)+g|u<<g|h,Ei=y+a}else bi=1<<y|u<<g|h,Ei=a}function Rm(a){a.return!==null&&(qs(a,1),X1(a,1,0))}function Om(a){for(;a===_d;)_d=jo[--zo],jo[zo]=null,Td=jo[--zo],jo[zo]=null;for(;a===$s;)$s=ia[--sa],ia[sa]=null,Ei=ia[--sa],ia[sa]=null,bi=ia[--sa],ia[sa]=null}var pr=null,tr=null,Ft=!1,Ca=null,ja=!1,km=Error(r(519));function Ys(a){var s=Error(r(418,\"\"));throw bu(aa(s,a)),km}function W1(a){var s=a.stateNode,u=a.type,h=a.memoizedProps;switch(s[He]=a,s[Me]=h,u){case\"dialog\":kt(\"cancel\",s),kt(\"close\",s);break;case\"iframe\":case\"object\":case\"embed\":kt(\"load\",s);break;case\"video\":case\"audio\":for(u=0;u<ju.length;u++)kt(ju[u],s);break;case\"source\":kt(\"error\",s);break;case\"img\":case\"image\":case\"link\":kt(\"error\",s),kt(\"load\",s);break;case\"details\":kt(\"toggle\",s);break;case\"input\":kt(\"invalid\",s),Us(s,h.value,h.defaultValue,h.checked,h.defaultChecked,h.type,h.name,!0),Bs(s);break;case\"select\":kt(\"invalid\",s);break;case\"textarea\":kt(\"invalid\",s),Mo(s,h.value,h.defaultValue,h.children),Bs(s)}u=h.children,typeof u!=\"string\"&&typeof u!=\"number\"&&typeof u!=\"bigint\"||s.textContent===\"\"+u||h.suppressHydrationWarning===!0||iT(s.textContent,u)?(h.popover!=null&&(kt(\"beforetoggle\",s),kt(\"toggle\",s)),h.onScroll!=null&&kt(\"scroll\",s),h.onScrollEnd!=null&&kt(\"scrollend\",s),h.onClick!=null&&(s.onclick=Jd),s=!0):s=!1,s||Ys(a)}function Q1(a){for(pr=a.return;pr;)switch(pr.tag){case 3:case 27:ja=!0;return;case 5:case 13:ja=!1;return;default:pr=pr.return}}function pu(a){if(a!==pr)return!1;if(!Ft)return Q1(a),Ft=!0,!1;var s=!1,u;if((u=a.tag!==3&&a.tag!==27)&&((u=a.tag===5)&&(u=a.type,u=!(u!==\"form\"&&u!==\"button\")||Qp(a.type,a.memoizedProps)),u=!u),u&&(s=!0),s&&tr&&Ys(a),Q1(a),a.tag===13){if(a=a.memoizedState,a=a!==null?a.dehydrated:null,!a)throw Error(r(317));e:{for(a=a.nextSibling,s=0;a;){if(a.nodeType===8)if(u=a.data,u===\"/$\"){if(s===0){tr=Oa(a.nextSibling);break e}s--}else u!==\"$\"&&u!==\"$!\"&&u!==\"$?\"||s++;a=a.nextSibling}tr=null}}else tr=pr?Oa(a.stateNode.nextSibling):null;return!0}function gu(){tr=pr=null,Ft=!1}function bu(a){Ca===null?Ca=[a]:Ca.push(a)}var Eu=Error(r(460)),Z1=Error(r(474)),Lm={then:function(){}};function J1(a){return a=a.status,a===\"fulfilled\"||a===\"rejected\"}function vd(){}function ey(a,s,u){switch(u=a[u],u===void 0?a.push(s):u!==s&&(s.then(vd,vd),s=u),s.status){case\"fulfilled\":return s.value;case\"rejected\":throw a=s.reason,a===Eu?Error(r(483)):a;default:if(typeof s.status==\"string\")s.then(vd,vd);else{if(a=tn,a!==null&&100<a.shellSuspendCounter)throw Error(r(482));a=s,a.status=\"pending\",a.then(function(h){if(s.status===\"pending\"){var g=s;g.status=\"fulfilled\",g.value=h}},function(h){if(s.status===\"pending\"){var g=s;g.status=\"rejected\",g.reason=h}})}switch(s.status){case\"fulfilled\":return s.value;case\"rejected\":throw a=s.reason,a===Eu?Error(r(483)):a}throw yu=s,Eu}}var yu=null;function ty(){if(yu===null)throw Error(r(459));var a=yu;return yu=null,a}var $o=null,_u=0;function xd(a){var s=_u;return _u+=1,$o===null&&($o=[]),ey($o,a,s)}function Tu(a,s){s=s.props.ref,a.ref=s!==void 0?s:null}function Sd(a,s){throw s.$$typeof===o?Error(r(525)):(a=Object.prototype.toString.call(s),Error(r(31,a===\"[object Object]\"?\"object with keys {\"+Object.keys(s).join(\", \")+\"}\":a)))}function ny(a){var s=a._init;return s(a._payload)}function ry(a){function s(re,Z){if(a){var oe=re.deletions;oe===null?(re.deletions=[Z],re.flags|=16):oe.push(Z)}}function u(re,Z){if(!a)return null;for(;Z!==null;)s(re,Z),Z=Z.sibling;return null}function h(re){for(var Z=new Map;re!==null;)re.key!==null?Z.set(re.key,re):Z.set(re.index,re),re=re.sibling;return Z}function g(re,Z){return re=rs(re,Z),re.index=0,re.sibling=null,re}function y(re,Z,oe){return re.index=oe,a?(oe=re.alternate,oe!==null?(oe=oe.index,oe<Z?(re.flags|=33554434,Z):oe):(re.flags|=33554434,Z)):(re.flags|=1048576,Z)}function C(re){return a&&re.alternate===null&&(re.flags|=33554434),re}function D(re,Z,oe,_e){return Z===null||Z.tag!==6?(Z=Np(oe,re.mode,_e),Z.return=re,Z):(Z=g(Z,oe),Z.return=re,Z)}function z(re,Z,oe,_e){var ze=oe.type;return ze===d?Ee(re,Z,oe.props.children,_e,oe.key):Z!==null&&(Z.elementType===ze||typeof ze==\"object\"&&ze!==null&&ze.$$typeof===O&&ny(ze)===Z.type)?(Z=g(Z,oe.props),Tu(Z,oe),Z.return=re,Z):(Z=zd(oe.type,oe.key,oe.props,null,re.mode,_e),Tu(Z,oe),Z.return=re,Z)}function ee(re,Z,oe,_e){return Z===null||Z.tag!==4||Z.stateNode.containerInfo!==oe.containerInfo||Z.stateNode.implementation!==oe.implementation?(Z=wp(oe,re.mode,_e),Z.return=re,Z):(Z=g(Z,oe.children||[]),Z.return=re,Z)}function Ee(re,Z,oe,_e,ze){return Z===null||Z.tag!==7?(Z=to(oe,re.mode,_e,ze),Z.return=re,Z):(Z=g(Z,oe),Z.return=re,Z)}function Se(re,Z,oe){if(typeof Z==\"string\"&&Z!==\"\"||typeof Z==\"number\"||typeof Z==\"bigint\")return Z=Np(\"\"+Z,re.mode,oe),Z.return=re,Z;if(typeof Z==\"object\"&&Z!==null){switch(Z.$$typeof){case l:return oe=zd(Z.type,Z.key,Z.props,null,re.mode,oe),Tu(oe,Z),oe.return=re,oe;case c:return Z=wp(Z,re.mode,oe),Z.return=re,Z;case O:var _e=Z._init;return Z=_e(Z._payload),Se(re,Z,oe)}if(I(Z)||w(Z))return Z=to(Z,re.mode,oe,null),Z.return=re,Z;if(typeof Z.then==\"function\")return Se(re,xd(Z),oe);if(Z.$$typeof===_)return Se(re,Fd(re,Z),oe);Sd(re,Z)}return null}function ue(re,Z,oe,_e){var ze=Z!==null?Z.key:null;if(typeof oe==\"string\"&&oe!==\"\"||typeof oe==\"number\"||typeof oe==\"bigint\")return ze!==null?null:D(re,Z,\"\"+oe,_e);if(typeof oe==\"object\"&&oe!==null){switch(oe.$$typeof){case l:return oe.key===ze?z(re,Z,oe,_e):null;case c:return oe.key===ze?ee(re,Z,oe,_e):null;case O:return ze=oe._init,oe=ze(oe._payload),ue(re,Z,oe,_e)}if(I(oe)||w(oe))return ze!==null?null:Ee(re,Z,oe,_e,null);if(typeof oe.then==\"function\")return ue(re,Z,xd(oe),_e);if(oe.$$typeof===_)return ue(re,Z,Fd(re,oe),_e);Sd(re,oe)}return null}function ge(re,Z,oe,_e,ze){if(typeof _e==\"string\"&&_e!==\"\"||typeof _e==\"number\"||typeof _e==\"bigint\")return re=re.get(oe)||null,D(Z,re,\"\"+_e,ze);if(typeof _e==\"object\"&&_e!==null){switch(_e.$$typeof){case l:return re=re.get(_e.key===null?oe:_e.key)||null,z(Z,re,_e,ze);case c:return re=re.get(_e.key===null?oe:_e.key)||null,ee(Z,re,_e,ze);case O:var Tt=_e._init;return _e=Tt(_e._payload),ge(re,Z,oe,_e,ze)}if(I(_e)||w(_e))return re=re.get(oe)||null,Ee(Z,re,_e,ze,null);if(typeof _e.then==\"function\")return ge(re,Z,oe,xd(_e),ze);if(_e.$$typeof===_)return ge(re,Z,oe,Fd(Z,_e),ze);Sd(Z,_e)}return null}function Qe(re,Z,oe,_e){for(var ze=null,Tt=null,Je=Z,it=Z=0,Vn=null;Je!==null&&it<oe.length;it++){Je.index>it?(Vn=Je,Je=null):Vn=Je.sibling;var Ht=ue(re,Je,oe[it],_e);if(Ht===null){Je===null&&(Je=Vn);break}a&&Je&&Ht.alternate===null&&s(re,Je),Z=y(Ht,Z,it),Tt===null?ze=Ht:Tt.sibling=Ht,Tt=Ht,Je=Vn}if(it===oe.length)return u(re,Je),Ft&&qs(re,it),ze;if(Je===null){for(;it<oe.length;it++)Je=Se(re,oe[it],_e),Je!==null&&(Z=y(Je,Z,it),Tt===null?ze=Je:Tt.sibling=Je,Tt=Je);return Ft&&qs(re,it),ze}for(Je=h(Je);it<oe.length;it++)Vn=ge(Je,re,it,oe[it],_e),Vn!==null&&(a&&Vn.alternate!==null&&Je.delete(Vn.key===null?it:Vn.key),Z=y(Vn,Z,it),Tt===null?ze=Vn:Tt.sibling=Vn,Tt=Vn);return a&&Je.forEach(function(cs){return s(re,cs)}),Ft&&qs(re,it),ze}function ct(re,Z,oe,_e){if(oe==null)throw Error(r(151));for(var ze=null,Tt=null,Je=Z,it=Z=0,Vn=null,Ht=oe.next();Je!==null&&!Ht.done;it++,Ht=oe.next()){Je.index>it?(Vn=Je,Je=null):Vn=Je.sibling;var cs=ue(re,Je,Ht.value,_e);if(cs===null){Je===null&&(Je=Vn);break}a&&Je&&cs.alternate===null&&s(re,Je),Z=y(cs,Z,it),Tt===null?ze=cs:Tt.sibling=cs,Tt=cs,Je=Vn}if(Ht.done)return u(re,Je),Ft&&qs(re,it),ze;if(Je===null){for(;!Ht.done;it++,Ht=oe.next())Ht=Se(re,Ht.value,_e),Ht!==null&&(Z=y(Ht,Z,it),Tt===null?ze=Ht:Tt.sibling=Ht,Tt=Ht);return Ft&&qs(re,it),ze}for(Je=h(Je);!Ht.done;it++,Ht=oe.next())Ht=ge(Je,re,it,Ht.value,_e),Ht!==null&&(a&&Ht.alternate!==null&&Je.delete(Ht.key===null?it:Ht.key),Z=y(Ht,Z,it),Tt===null?ze=Ht:Tt.sibling=Ht,Tt=Ht);return a&&Je.forEach(function(R3){return s(re,R3)}),Ft&&qs(re,it),ze}function En(re,Z,oe,_e){if(typeof oe==\"object\"&&oe!==null&&oe.type===d&&oe.key===null&&(oe=oe.props.children),typeof oe==\"object\"&&oe!==null){switch(oe.$$typeof){case l:e:{for(var ze=oe.key;Z!==null;){if(Z.key===ze){if(ze=oe.type,ze===d){if(Z.tag===7){u(re,Z.sibling),_e=g(Z,oe.props.children),_e.return=re,re=_e;break e}}else if(Z.elementType===ze||typeof ze==\"object\"&&ze!==null&&ze.$$typeof===O&&ny(ze)===Z.type){u(re,Z.sibling),_e=g(Z,oe.props),Tu(_e,oe),_e.return=re,re=_e;break e}u(re,Z);break}else s(re,Z);Z=Z.sibling}oe.type===d?(_e=to(oe.props.children,re.mode,_e,oe.key),_e.return=re,re=_e):(_e=zd(oe.type,oe.key,oe.props,null,re.mode,_e),Tu(_e,oe),_e.return=re,re=_e)}return C(re);case c:e:{for(ze=oe.key;Z!==null;){if(Z.key===ze)if(Z.tag===4&&Z.stateNode.containerInfo===oe.containerInfo&&Z.stateNode.implementation===oe.implementation){u(re,Z.sibling),_e=g(Z,oe.children||[]),_e.return=re,re=_e;break e}else{u(re,Z);break}else s(re,Z);Z=Z.sibling}_e=wp(oe,re.mode,_e),_e.return=re,re=_e}return C(re);case O:return ze=oe._init,oe=ze(oe._payload),En(re,Z,oe,_e)}if(I(oe))return Qe(re,Z,oe,_e);if(w(oe)){if(ze=w(oe),typeof ze!=\"function\")throw Error(r(150));return oe=ze.call(oe),ct(re,Z,oe,_e)}if(typeof oe.then==\"function\")return En(re,Z,xd(oe),_e);if(oe.$$typeof===_)return En(re,Z,Fd(re,oe),_e);Sd(re,oe)}return typeof oe==\"string\"&&oe!==\"\"||typeof oe==\"number\"||typeof oe==\"bigint\"?(oe=\"\"+oe,Z!==null&&Z.tag===6?(u(re,Z.sibling),_e=g(Z,oe),_e.return=re,re=_e):(u(re,Z),_e=Np(oe,re.mode,_e),_e.return=re,re=_e),C(re)):u(re,Z)}return function(re,Z,oe,_e){try{_u=0;var ze=En(re,Z,oe,_e);return $o=null,ze}catch(Je){if(Je===Eu)throw Je;var Tt=ca(29,Je,null,re.mode);return Tt.lanes=_e,Tt.return=re,Tt}finally{}}}var Gs=ry(!0),ay=ry(!1),qo=je(null),Ad=je(0);function iy(a,s){a=Ri,Ue(Ad,a),Ue(qo,s),Ri=a|s.baseLanes}function Im(){Ue(Ad,Ri),Ue(qo,qo.current)}function Dm(){Ri=Ad.current,Ze(qo),Ze(Ad)}var oa=je(null),za=null;function Gi(a){var s=a.alternate;Ue(Fn,Fn.current&1),Ue(oa,a),za===null&&(s===null||qo.current!==null||s.memoizedState!==null)&&(za=a)}function sy(a){if(a.tag===22){if(Ue(Fn,Fn.current),Ue(oa,a),za===null){var s=a.alternate;s!==null&&s.memoizedState!==null&&(za=a)}}else Vi()}function Vi(){Ue(Fn,Fn.current),Ue(oa,oa.current)}function yi(a){Ze(oa),za===a&&(za=null),Ze(Fn)}var Fn=je(0);function Nd(a){for(var s=a;s!==null;){if(s.tag===13){var u=s.memoizedState;if(u!==null&&(u=u.dehydrated,u===null||u.data===\"$?\"||u.data===\"$!\"))return s}else if(s.tag===19&&s.memoizedProps.revealOrder!==void 0){if((s.flags&128)!==0)return s}else if(s.child!==null){s.child.return=s,s=s.child;continue}if(s===a)break;for(;s.sibling===null;){if(s.return===null||s.return===a)return null;s=s.return}s.sibling.return=s.return,s=s.sibling}return null}var gk=typeof AbortController<\"u\"?AbortController:function(){var a=[],s=this.signal={aborted:!1,addEventListener:function(u,h){a.push(h)}};this.abort=function(){s.aborted=!0,a.forEach(function(u){return u()})}},bk=e.unstable_scheduleCallback,Ek=e.unstable_NormalPriority,Hn={$$typeof:_,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Mm(){return{controller:new gk,data:new Map,refCount:0}}function vu(a){a.refCount--,a.refCount===0&&bk(Ek,function(){a.controller.abort()})}var xu=null,Pm=0,Yo=0,Go=null;function yk(a,s){if(xu===null){var u=xu=[];Pm=0,Yo=zp(),Go={status:\"pending\",value:void 0,then:function(h){u.push(h)}}}return Pm++,s.then(oy,oy),s}function oy(){if(--Pm===0&&xu!==null){Go!==null&&(Go.status=\"fulfilled\");var a=xu;xu=null,Yo=0,Go=null;for(var s=0;s<a.length;s++)(0,a[s])()}}function _k(a,s){var u=[],h={status:\"pending\",value:null,reason:null,then:function(g){u.push(g)}};return a.then(function(){h.status=\"fulfilled\",h.value=s;for(var g=0;g<u.length;g++)(0,u[g])(s)},function(g){for(h.status=\"rejected\",h.reason=g,g=0;g<u.length;g++)(0,u[g])(void 0)}),h}var ly=F.S;F.S=function(a,s){typeof s==\"object\"&&s!==null&&typeof s.then==\"function\"&&yk(a,s),ly!==null&&ly(a,s)};var Vs=je(null);function Bm(){var a=Vs.current;return a!==null?a:tn.pooledCache}function wd(a,s){s===null?Ue(Vs,Vs.current):Ue(Vs,s.pool)}function uy(){var a=Bm();return a===null?null:{parent:Hn._currentValue,pool:a}}var Ki=0,yt=null,Yt=null,Rn=null,Cd=!1,Vo=!1,Ks=!1,Rd=0,Su=0,Ko=null,Tk=0;function vn(){throw Error(r(321))}function Um(a,s){if(s===null)return!1;for(var u=0;u<s.length&&u<a.length;u++)if(!Ur(a[u],s[u]))return!1;return!0}function Fm(a,s,u,h,g,y){return Ki=y,yt=s,s.memoizedState=null,s.updateQueue=null,s.lanes=0,F.H=a===null||a.memoizedState===null?Xs:Xi,Ks=!1,y=u(h,g),Ks=!1,Vo&&(y=dy(s,u,h,g)),cy(a),y}function cy(a){F.H=$a;var s=Yt!==null&&Yt.next!==null;if(Ki=0,Rn=Yt=yt=null,Cd=!1,Su=0,Ko=null,s)throw Error(r(300));a===null||Yn||(a=a.dependencies,a!==null&&Ud(a)&&(Yn=!0))}function dy(a,s,u,h){yt=a;var g=0;do{if(Vo&&(Ko=null),Su=0,Vo=!1,25<=g)throw Error(r(301));if(g+=1,Rn=Yt=null,a.updateQueue!=null){var y=a.updateQueue;y.lastEffect=null,y.events=null,y.stores=null,y.memoCache!=null&&(y.memoCache.index=0)}F.H=Ws,y=s(u,h)}while(Vo);return y}function vk(){var a=F.H,s=a.useState()[0];return s=typeof s.then==\"function\"?Au(s):s,a=a.useState()[0],(Yt!==null?Yt.memoizedState:null)!==a&&(yt.flags|=1024),s}function Hm(){var a=Rd!==0;return Rd=0,a}function jm(a,s,u){s.updateQueue=a.updateQueue,s.flags&=-2053,a.lanes&=~u}function zm(a){if(Cd){for(a=a.memoizedState;a!==null;){var s=a.queue;s!==null&&(s.pending=null),a=a.next}Cd=!1}Ki=0,Rn=Yt=yt=null,Vo=!1,Su=Rd=0,Ko=null}function xr(){var a={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Rn===null?yt.memoizedState=Rn=a:Rn=Rn.next=a,Rn}function On(){if(Yt===null){var a=yt.alternate;a=a!==null?a.memoizedState:null}else a=Yt.next;var s=Rn===null?yt.memoizedState:Rn.next;if(s!==null)Rn=s,Yt=a;else{if(a===null)throw yt.alternate===null?Error(r(467)):Error(r(310));Yt=a,a={memoizedState:Yt.memoizedState,baseState:Yt.baseState,baseQueue:Yt.baseQueue,queue:Yt.queue,next:null},Rn===null?yt.memoizedState=Rn=a:Rn=Rn.next=a}return Rn}var Od;Od=function(){return{lastEffect:null,events:null,stores:null,memoCache:null}};function Au(a){var s=Su;return Su+=1,Ko===null&&(Ko=[]),a=ey(Ko,a,s),s=yt,(Rn===null?s.memoizedState:Rn.next)===null&&(s=s.alternate,F.H=s===null||s.memoizedState===null?Xs:Xi),a}function kd(a){if(a!==null&&typeof a==\"object\"){if(typeof a.then==\"function\")return Au(a);if(a.$$typeof===_)return sr(a)}throw Error(r(438,String(a)))}function $m(a){var s=null,u=yt.updateQueue;if(u!==null&&(s=u.memoCache),s==null){var h=yt.alternate;h!==null&&(h=h.updateQueue,h!==null&&(h=h.memoCache,h!=null&&(s={data:h.data.map(function(g){return g.slice()}),index:0})))}if(s==null&&(s={data:[],index:0}),u===null&&(u=Od(),yt.updateQueue=u),u.memoCache=s,u=s.data[s.index],u===void 0)for(u=s.data[s.index]=Array(a),h=0;h<a;h++)u[h]=B;return s.index++,u}function _i(a,s){return typeof s==\"function\"?s(a):s}function Ld(a){var s=On();return qm(s,Yt,a)}function qm(a,s,u){var h=a.queue;if(h===null)throw Error(r(311));h.lastRenderedReducer=u;var g=a.baseQueue,y=h.pending;if(y!==null){if(g!==null){var C=g.next;g.next=y.next,y.next=C}s.baseQueue=g=y,h.pending=null}if(y=a.baseState,g===null)a.memoizedState=y;else{s=g.next;var D=C=null,z=null,ee=s,Ee=!1;do{var Se=ee.lane&-536870913;if(Se!==ee.lane?(Dt&Se)===Se:(Ki&Se)===Se){var ue=ee.revertLane;if(ue===0)z!==null&&(z=z.next={lane:0,revertLane:0,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null}),Se===Yo&&(Ee=!0);else if((Ki&ue)===ue){ee=ee.next,ue===Yo&&(Ee=!0);continue}else Se={lane:0,revertLane:ee.revertLane,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},z===null?(D=z=Se,C=y):z=z.next=Se,yt.lanes|=ue,as|=ue;Se=ee.action,Ks&&u(y,Se),y=ee.hasEagerState?ee.eagerState:u(y,Se)}else ue={lane:Se,revertLane:ee.revertLane,action:ee.action,hasEagerState:ee.hasEagerState,eagerState:ee.eagerState,next:null},z===null?(D=z=ue,C=y):z=z.next=ue,yt.lanes|=Se,as|=Se;ee=ee.next}while(ee!==null&&ee!==s);if(z===null?C=y:z.next=D,!Ur(y,a.memoizedState)&&(Yn=!0,Ee&&(u=Go,u!==null)))throw u;a.memoizedState=y,a.baseState=C,a.baseQueue=z,h.lastRenderedState=y}return g===null&&(h.lanes=0),[a.memoizedState,h.dispatch]}function Ym(a){var s=On(),u=s.queue;if(u===null)throw Error(r(311));u.lastRenderedReducer=a;var h=u.dispatch,g=u.pending,y=s.memoizedState;if(g!==null){u.pending=null;var C=g=g.next;do y=a(y,C.action),C=C.next;while(C!==g);Ur(y,s.memoizedState)||(Yn=!0),s.memoizedState=y,s.baseQueue===null&&(s.baseState=y),u.lastRenderedState=y}return[y,h]}function fy(a,s,u){var h=yt,g=On(),y=Ft;if(y){if(u===void 0)throw Error(r(407));u=u()}else u=s();var C=!Ur((Yt||g).memoizedState,u);if(C&&(g.memoizedState=u,Yn=!0),g=g.queue,Km(py.bind(null,h,g,a),[a]),g.getSnapshot!==s||C||Rn!==null&&Rn.memoizedState.tag&1){if(h.flags|=2048,Xo(9,my.bind(null,h,g,u,s),{destroy:void 0},null),tn===null)throw Error(r(349));y||(Ki&60)!==0||hy(h,s,u)}return u}function hy(a,s,u){a.flags|=16384,a={getSnapshot:s,value:u},s=yt.updateQueue,s===null?(s=Od(),yt.updateQueue=s,s.stores=[a]):(u=s.stores,u===null?s.stores=[a]:u.push(a))}function my(a,s,u,h){s.value=u,s.getSnapshot=h,gy(s)&&by(a)}function py(a,s,u){return u(function(){gy(s)&&by(a)})}function gy(a){var s=a.getSnapshot;a=a.value;try{var u=s();return!Ur(a,u)}catch{return!0}}function by(a){var s=Yi(a,2);s!==null&&gr(s,a,2)}function Gm(a){var s=xr();if(typeof a==\"function\"){var u=a;if(a=u(),Ks){Kt(!0);try{u()}finally{Kt(!1)}}}return s.memoizedState=s.baseState=a,s.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:a},s}function Ey(a,s,u,h){return a.baseState=u,qm(a,Yt,typeof h==\"function\"?h:_i)}function xk(a,s,u,h,g){if(Md(a))throw Error(r(485));if(a=s.action,a!==null){var y={payload:g,action:a,next:null,isTransition:!0,status:\"pending\",value:null,reason:null,listeners:[],then:function(C){y.listeners.push(C)}};F.T!==null?u(!0):y.isTransition=!1,h(y),u=s.pending,u===null?(y.next=s.pending=y,yy(s,y)):(y.next=u.next,s.pending=u.next=y)}}function yy(a,s){var u=s.action,h=s.payload,g=a.state;if(s.isTransition){var y=F.T,C={};F.T=C;try{var D=u(g,h),z=F.S;z!==null&&z(C,D),_y(a,s,D)}catch(ee){Vm(a,s,ee)}finally{F.T=y}}else try{y=u(g,h),_y(a,s,y)}catch(ee){Vm(a,s,ee)}}function _y(a,s,u){u!==null&&typeof u==\"object\"&&typeof u.then==\"function\"?u.then(function(h){Ty(a,s,h)},function(h){return Vm(a,s,h)}):Ty(a,s,u)}function Ty(a,s,u){s.status=\"fulfilled\",s.value=u,vy(s),a.state=u,s=a.pending,s!==null&&(u=s.next,u===s?a.pending=null:(u=u.next,s.next=u,yy(a,u)))}function Vm(a,s,u){var h=a.pending;if(a.pending=null,h!==null){h=h.next;do s.status=\"rejected\",s.reason=u,vy(s),s=s.next;while(s!==h)}a.action=null}function vy(a){a=a.listeners;for(var s=0;s<a.length;s++)(0,a[s])()}function xy(a,s){return s}function Sy(a,s){if(Ft){var u=tn.formState;if(u!==null){e:{var h=yt;if(Ft){if(tr){t:{for(var g=tr,y=ja;g.nodeType!==8;){if(!y){g=null;break t}if(g=Oa(g.nextSibling),g===null){g=null;break t}}y=g.data,g=y===\"F!\"||y===\"F\"?g:null}if(g){tr=Oa(g.nextSibling),h=g.data===\"F!\";break e}}Ys(h)}h=!1}h&&(s=u[0])}}return u=xr(),u.memoizedState=u.baseState=s,h={pending:null,lanes:0,dispatch:null,lastRenderedReducer:xy,lastRenderedState:s},u.queue=h,u=zy.bind(null,yt,h),h.dispatch=u,h=Gm(!1),y=Jm.bind(null,yt,!1,h.queue),h=xr(),g={state:s,dispatch:null,action:a,pending:null},h.queue=g,u=xk.bind(null,yt,g,y,u),g.dispatch=u,h.memoizedState=a,[s,u,!1]}function Ay(a){var s=On();return Ny(s,Yt,a)}function Ny(a,s,u){s=qm(a,s,xy)[0],a=Ld(_i)[0],s=typeof s==\"object\"&&s!==null&&typeof s.then==\"function\"?Au(s):s;var h=On(),g=h.queue,y=g.dispatch;return u!==h.memoizedState&&(yt.flags|=2048,Xo(9,Sk.bind(null,g,u),{destroy:void 0},null)),[s,y,a]}function Sk(a,s){a.action=s}function wy(a){var s=On(),u=Yt;if(u!==null)return Ny(s,u,a);On(),s=s.memoizedState,u=On();var h=u.queue.dispatch;return u.memoizedState=a,[s,h,!1]}function Xo(a,s,u,h){return a={tag:a,create:s,inst:u,deps:h,next:null},s=yt.updateQueue,s===null&&(s=Od(),yt.updateQueue=s),u=s.lastEffect,u===null?s.lastEffect=a.next=a:(h=u.next,u.next=a,a.next=h,s.lastEffect=a),a}function Cy(){return On().memoizedState}function Id(a,s,u,h){var g=xr();yt.flags|=a,g.memoizedState=Xo(1|s,u,{destroy:void 0},h===void 0?null:h)}function Dd(a,s,u,h){var g=On();h=h===void 0?null:h;var y=g.memoizedState.inst;Yt!==null&&h!==null&&Um(h,Yt.memoizedState.deps)?g.memoizedState=Xo(s,u,y,h):(yt.flags|=a,g.memoizedState=Xo(1|s,u,y,h))}function Ry(a,s){Id(8390656,8,a,s)}function Km(a,s){Dd(2048,8,a,s)}function Oy(a,s){return Dd(4,2,a,s)}function ky(a,s){return Dd(4,4,a,s)}function Ly(a,s){if(typeof s==\"function\"){a=a();var u=s(a);return function(){typeof u==\"function\"?u():s(null)}}if(s!=null)return a=a(),s.current=a,function(){s.current=null}}function Iy(a,s,u){u=u!=null?u.concat([a]):null,Dd(4,4,Ly.bind(null,s,a),u)}function Xm(){}function Dy(a,s){var u=On();s=s===void 0?null:s;var h=u.memoizedState;return s!==null&&Um(s,h[1])?h[0]:(u.memoizedState=[a,s],a)}function My(a,s){var u=On();s=s===void 0?null:s;var h=u.memoizedState;if(s!==null&&Um(s,h[1]))return h[0];if(h=a(),Ks){Kt(!0);try{a()}finally{Kt(!1)}}return u.memoizedState=[h,s],h}function Wm(a,s,u){return u===void 0||(Ki&1073741824)!==0?a.memoizedState=s:(a.memoizedState=u,a=B_(),yt.lanes|=a,as|=a,u)}function Py(a,s,u,h){return Ur(u,s)?u:qo.current!==null?(a=Wm(a,u,h),Ur(a,s)||(Yn=!0),a):(Ki&42)===0?(Yn=!0,a.memoizedState=u):(a=B_(),yt.lanes|=a,as|=a,s)}function By(a,s,u,h,g){var y=ce.p;ce.p=y!==0&&8>y?y:8;var C=F.T,D={};F.T=D,Jm(a,!1,s,u);try{var z=g(),ee=F.S;if(ee!==null&&ee(D,z),z!==null&&typeof z==\"object\"&&typeof z.then==\"function\"){var Ee=_k(z,h);Nu(a,s,Ee,zr(a))}else Nu(a,s,h,zr(a))}catch(Se){Nu(a,s,{then:function(){},status:\"rejected\",reason:Se},zr())}finally{ce.p=y,F.T=C}}function Ak(){}function Qm(a,s,u,h){if(a.tag!==5)throw Error(r(476));var g=Uy(a).queue;By(a,g,s,Te,u===null?Ak:function(){return Fy(a),u(h)})}function Uy(a){var s=a.memoizedState;if(s!==null)return s;s={memoizedState:Te,baseState:Te,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:Te},next:null};var u={};return s.next={memoizedState:u,baseState:u,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:_i,lastRenderedState:u},next:null},a.memoizedState=s,a=a.alternate,a!==null&&(a.memoizedState=s),s}function Fy(a){var s=Uy(a).next.queue;Nu(a,s,{},zr())}function Zm(){return sr(Gu)}function Hy(){return On().memoizedState}function jy(){return On().memoizedState}function Nk(a){for(var s=a.return;s!==null;){switch(s.tag){case 24:case 3:var u=zr();a=Zi(u);var h=Ji(s,a,u);h!==null&&(gr(h,s,u),Ru(h,s,u)),s={cache:Mm()},a.payload=s;return}s=s.return}}function wk(a,s,u){var h=zr();u={lane:h,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null},Md(a)?$y(s,u):(u=Cm(a,s,u,h),u!==null&&(gr(u,a,h),qy(u,s,h)))}function zy(a,s,u){var h=zr();Nu(a,s,u,h)}function Nu(a,s,u,h){var g={lane:h,revertLane:0,action:u,hasEagerState:!1,eagerState:null,next:null};if(Md(a))$y(s,g);else{var y=a.alternate;if(a.lanes===0&&(y===null||y.lanes===0)&&(y=s.lastRenderedReducer,y!==null))try{var C=s.lastRenderedState,D=y(C,u);if(g.hasEagerState=!0,g.eagerState=D,Ur(D,C))return Ed(a,s,g,0),tn===null&&bd(),!1}catch{}finally{}if(u=Cm(a,s,g,h),u!==null)return gr(u,a,h),qy(u,s,h),!0}return!1}function Jm(a,s,u,h){if(h={lane:2,revertLane:zp(),action:h,hasEagerState:!1,eagerState:null,next:null},Md(a)){if(s)throw Error(r(479))}else s=Cm(a,u,h,2),s!==null&&gr(s,a,2)}function Md(a){var s=a.alternate;return a===yt||s!==null&&s===yt}function $y(a,s){Vo=Cd=!0;var u=a.pending;u===null?s.next=s:(s.next=u.next,u.next=s),a.pending=s}function qy(a,s,u){if((u&4194176)!==0){var h=s.lanes;h&=a.pendingLanes,u|=h,s.lanes=u,Ie(a,u)}}var $a={readContext:sr,use:kd,useCallback:vn,useContext:vn,useEffect:vn,useImperativeHandle:vn,useLayoutEffect:vn,useInsertionEffect:vn,useMemo:vn,useReducer:vn,useRef:vn,useState:vn,useDebugValue:vn,useDeferredValue:vn,useTransition:vn,useSyncExternalStore:vn,useId:vn};$a.useCacheRefresh=vn,$a.useMemoCache=vn,$a.useHostTransitionStatus=vn,$a.useFormState=vn,$a.useActionState=vn,$a.useOptimistic=vn;var Xs={readContext:sr,use:kd,useCallback:function(a,s){return xr().memoizedState=[a,s===void 0?null:s],a},useContext:sr,useEffect:Ry,useImperativeHandle:function(a,s,u){u=u!=null?u.concat([a]):null,Id(4194308,4,Ly.bind(null,s,a),u)},useLayoutEffect:function(a,s){return Id(4194308,4,a,s)},useInsertionEffect:function(a,s){Id(4,2,a,s)},useMemo:function(a,s){var u=xr();s=s===void 0?null:s;var h=a();if(Ks){Kt(!0);try{a()}finally{Kt(!1)}}return u.memoizedState=[h,s],h},useReducer:function(a,s,u){var h=xr();if(u!==void 0){var g=u(s);if(Ks){Kt(!0);try{u(s)}finally{Kt(!1)}}}else g=s;return h.memoizedState=h.baseState=g,a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:a,lastRenderedState:g},h.queue=a,a=a.dispatch=wk.bind(null,yt,a),[h.memoizedState,a]},useRef:function(a){var s=xr();return a={current:a},s.memoizedState=a},useState:function(a){a=Gm(a);var s=a.queue,u=zy.bind(null,yt,s);return s.dispatch=u,[a.memoizedState,u]},useDebugValue:Xm,useDeferredValue:function(a,s){var u=xr();return Wm(u,a,s)},useTransition:function(){var a=Gm(!1);return a=By.bind(null,yt,a.queue,!0,!1),xr().memoizedState=a,[!1,a]},useSyncExternalStore:function(a,s,u){var h=yt,g=xr();if(Ft){if(u===void 0)throw Error(r(407));u=u()}else{if(u=s(),tn===null)throw Error(r(349));(Dt&60)!==0||hy(h,s,u)}g.memoizedState=u;var y={value:u,getSnapshot:s};return g.queue=y,Ry(py.bind(null,h,y,a),[a]),h.flags|=2048,Xo(9,my.bind(null,h,y,u,s),{destroy:void 0},null),u},useId:function(){var a=xr(),s=tn.identifierPrefix;if(Ft){var u=Ei,h=bi;u=(h&~(1<<32-Xt(h)-1)).toString(32)+u,s=\":\"+s+\"R\"+u,u=Rd++,0<u&&(s+=\"H\"+u.toString(32)),s+=\":\"}else u=Tk++,s=\":\"+s+\"r\"+u.toString(32)+\":\";return a.memoizedState=s},useCacheRefresh:function(){return xr().memoizedState=Nk.bind(null,yt)}};Xs.useMemoCache=$m,Xs.useHostTransitionStatus=Zm,Xs.useFormState=Sy,Xs.useActionState=Sy,Xs.useOptimistic=function(a){var s=xr();s.memoizedState=s.baseState=a;var u={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return s.queue=u,s=Jm.bind(null,yt,!0,u),u.dispatch=s,[a,s]};var Xi={readContext:sr,use:kd,useCallback:Dy,useContext:sr,useEffect:Km,useImperativeHandle:Iy,useInsertionEffect:Oy,useLayoutEffect:ky,useMemo:My,useReducer:Ld,useRef:Cy,useState:function(){return Ld(_i)},useDebugValue:Xm,useDeferredValue:function(a,s){var u=On();return Py(u,Yt.memoizedState,a,s)},useTransition:function(){var a=Ld(_i)[0],s=On().memoizedState;return[typeof a==\"boolean\"?a:Au(a),s]},useSyncExternalStore:fy,useId:Hy};Xi.useCacheRefresh=jy,Xi.useMemoCache=$m,Xi.useHostTransitionStatus=Zm,Xi.useFormState=Ay,Xi.useActionState=Ay,Xi.useOptimistic=function(a,s){var u=On();return Ey(u,Yt,a,s)};var Ws={readContext:sr,use:kd,useCallback:Dy,useContext:sr,useEffect:Km,useImperativeHandle:Iy,useInsertionEffect:Oy,useLayoutEffect:ky,useMemo:My,useReducer:Ym,useRef:Cy,useState:function(){return Ym(_i)},useDebugValue:Xm,useDeferredValue:function(a,s){var u=On();return Yt===null?Wm(u,a,s):Py(u,Yt.memoizedState,a,s)},useTransition:function(){var a=Ym(_i)[0],s=On().memoizedState;return[typeof a==\"boolean\"?a:Au(a),s]},useSyncExternalStore:fy,useId:Hy};Ws.useCacheRefresh=jy,Ws.useMemoCache=$m,Ws.useHostTransitionStatus=Zm,Ws.useFormState=wy,Ws.useActionState=wy,Ws.useOptimistic=function(a,s){var u=On();return Yt!==null?Ey(u,Yt,a,s):(u.baseState=a,[a,u.queue.dispatch])};function ep(a,s,u,h){s=a.memoizedState,u=u(h,s),u=u==null?s:M({},s,u),a.memoizedState=u,a.lanes===0&&(a.updateQueue.baseState=u)}var tp={isMounted:function(a){return(a=a._reactInternals)?K(a)===a:!1},enqueueSetState:function(a,s,u){a=a._reactInternals;var h=zr(),g=Zi(h);g.payload=s,u!=null&&(g.callback=u),s=Ji(a,g,h),s!==null&&(gr(s,a,h),Ru(s,a,h))},enqueueReplaceState:function(a,s,u){a=a._reactInternals;var h=zr(),g=Zi(h);g.tag=1,g.payload=s,u!=null&&(g.callback=u),s=Ji(a,g,h),s!==null&&(gr(s,a,h),Ru(s,a,h))},enqueueForceUpdate:function(a,s){a=a._reactInternals;var u=zr(),h=Zi(u);h.tag=2,s!=null&&(h.callback=s),s=Ji(a,h,u),s!==null&&(gr(s,a,u),Ru(s,a,u))}};function Yy(a,s,u,h,g,y,C){return a=a.stateNode,typeof a.shouldComponentUpdate==\"function\"?a.shouldComponentUpdate(h,y,C):s.prototype&&s.prototype.isPureReactComponent?!hu(u,h)||!hu(g,y):!0}function Gy(a,s,u,h){a=s.state,typeof s.componentWillReceiveProps==\"function\"&&s.componentWillReceiveProps(u,h),typeof s.UNSAFE_componentWillReceiveProps==\"function\"&&s.UNSAFE_componentWillReceiveProps(u,h),s.state!==a&&tp.enqueueReplaceState(s,s.state,null)}function Qs(a,s){var u=s;if(\"ref\"in s){u={};for(var h in s)h!==\"ref\"&&(u[h]=s[h])}if(a=a.defaultProps){u===s&&(u=M({},u));for(var g in a)u[g]===void 0&&(u[g]=a[g])}return u}var Pd=typeof reportError==\"function\"?reportError:function(a){if(typeof window==\"object\"&&typeof window.ErrorEvent==\"function\"){var s=new window.ErrorEvent(\"error\",{bubbles:!0,cancelable:!0,message:typeof a==\"object\"&&a!==null&&typeof a.message==\"string\"?String(a.message):String(a),error:a});if(!window.dispatchEvent(s))return}else if(typeof process==\"object\"&&typeof process.emit==\"function\"){process.emit(\"uncaughtException\",a);return}console.error(a)};function Vy(a){Pd(a)}function Ky(a){console.error(a)}function Xy(a){Pd(a)}function Bd(a,s){try{var u=a.onUncaughtError;u(s.value,{componentStack:s.stack})}catch(h){setTimeout(function(){throw h})}}function Wy(a,s,u){try{var h=a.onCaughtError;h(u.value,{componentStack:u.stack,errorBoundary:s.tag===1?s.stateNode:null})}catch(g){setTimeout(function(){throw g})}}function np(a,s,u){return u=Zi(u),u.tag=3,u.payload={element:null},u.callback=function(){Bd(a,s)},u}function Qy(a){return a=Zi(a),a.tag=3,a}function Zy(a,s,u,h){var g=u.type.getDerivedStateFromError;if(typeof g==\"function\"){var y=h.value;a.payload=function(){return g(y)},a.callback=function(){Wy(s,u,h)}}var C=u.stateNode;C!==null&&typeof C.componentDidCatch==\"function\"&&(a.callback=function(){Wy(s,u,h),typeof g!=\"function\"&&(is===null?is=new Set([this]):is.add(this));var D=h.stack;this.componentDidCatch(h.value,{componentStack:D!==null?D:\"\"})})}function Ck(a,s,u,h,g){if(u.flags|=32768,h!==null&&typeof h==\"object\"&&typeof h.then==\"function\"){if(s=u.alternate,s!==null&&Cu(s,u,g,!0),u=oa.current,u!==null){switch(u.tag){case 13:return za===null?Bp():u.alternate===null&&bn===0&&(bn=3),u.flags&=-257,u.flags|=65536,u.lanes=g,h===Lm?u.flags|=16384:(s=u.updateQueue,s===null?u.updateQueue=new Set([h]):s.add(h),Fp(a,h,g)),!1;case 22:return u.flags|=65536,h===Lm?u.flags|=16384:(s=u.updateQueue,s===null?(s={transitions:null,markerInstances:null,retryQueue:new Set([h])},u.updateQueue=s):(u=s.retryQueue,u===null?s.retryQueue=new Set([h]):u.add(h)),Fp(a,h,g)),!1}throw Error(r(435,u.tag))}return Fp(a,h,g),Bp(),!1}if(Ft)return s=oa.current,s!==null?((s.flags&65536)===0&&(s.flags|=256),s.flags|=65536,s.lanes=g,h!==km&&(a=Error(r(422),{cause:h}),bu(aa(a,u)))):(h!==km&&(s=Error(r(423),{cause:h}),bu(aa(s,u))),a=a.current.alternate,a.flags|=65536,g&=-g,a.lanes|=g,h=aa(h,u),g=np(a.stateNode,h,g),bp(a,g),bn!==4&&(bn=2)),!1;var y=Error(r(520),{cause:h});if(y=aa(y,u),Bu===null?Bu=[y]:Bu.push(y),bn!==4&&(bn=2),s===null)return!0;h=aa(h,u),u=s;do{switch(u.tag){case 3:return u.flags|=65536,a=g&-g,u.lanes|=a,a=np(u.stateNode,h,a),bp(u,a),!1;case 1:if(s=u.type,y=u.stateNode,(u.flags&128)===0&&(typeof s.getDerivedStateFromError==\"function\"||y!==null&&typeof y.componentDidCatch==\"function\"&&(is===null||!is.has(y))))return u.flags|=65536,g&=-g,u.lanes|=g,g=Qy(g),Zy(g,a,u,h),bp(u,g),!1}u=u.return}while(u!==null);return!1}var Jy=Error(r(461)),Yn=!1;function nr(a,s,u,h){s.child=a===null?ay(s,null,u,h):Gs(s,a.child,u,h)}function e_(a,s,u,h,g){u=u.render;var y=s.ref;if(\"ref\"in h){var C={};for(var D in h)D!==\"ref\"&&(C[D]=h[D])}else C=h;return Js(s),h=Fm(a,s,u,C,y,g),D=Hm(),a!==null&&!Yn?(jm(a,s,g),Ti(a,s,g)):(Ft&&D&&Rm(s),s.flags|=1,nr(a,s,h,g),s.child)}function t_(a,s,u,h,g){if(a===null){var y=u.type;return typeof y==\"function\"&&!Ap(y)&&y.defaultProps===void 0&&u.compare===null?(s.tag=15,s.type=y,n_(a,s,y,h,g)):(a=zd(u.type,null,h,s,s.mode,g),a.ref=s.ref,a.return=s,s.child=a)}if(y=a.child,!dp(a,g)){var C=y.memoizedProps;if(u=u.compare,u=u!==null?u:hu,u(C,h)&&a.ref===s.ref)return Ti(a,s,g)}return s.flags|=1,a=rs(y,h),a.ref=s.ref,a.return=s,s.child=a}function n_(a,s,u,h,g){if(a!==null){var y=a.memoizedProps;if(hu(y,h)&&a.ref===s.ref)if(Yn=!1,s.pendingProps=h=y,dp(a,g))(a.flags&131072)!==0&&(Yn=!0);else return s.lanes=a.lanes,Ti(a,s,g)}return rp(a,s,u,h,g)}function r_(a,s,u){var h=s.pendingProps,g=h.children,y=(s.stateNode._pendingVisibility&2)!==0,C=a!==null?a.memoizedState:null;if(wu(a,s),h.mode===\"hidden\"||y){if((s.flags&128)!==0){if(h=C!==null?C.baseLanes|u:u,a!==null){for(g=s.child=a.child,y=0;g!==null;)y=y|g.lanes|g.childLanes,g=g.sibling;s.childLanes=y&~h}else s.childLanes=0,s.child=null;return a_(a,s,h,u)}if((u&536870912)!==0)s.memoizedState={baseLanes:0,cachePool:null},a!==null&&wd(s,C!==null?C.cachePool:null),C!==null?iy(s,C):Im(),sy(s);else return s.lanes=s.childLanes=536870912,a_(a,s,C!==null?C.baseLanes|u:u,u)}else C!==null?(wd(s,C.cachePool),iy(s,C),Vi(),s.memoizedState=null):(a!==null&&wd(s,null),Im(),Vi());return nr(a,s,g,u),s.child}function a_(a,s,u,h){var g=Bm();return g=g===null?null:{parent:Hn._currentValue,pool:g},s.memoizedState={baseLanes:u,cachePool:g},a!==null&&wd(s,null),Im(),sy(s),a!==null&&Cu(a,s,h,!0),null}function wu(a,s){var u=s.ref;if(u===null)a!==null&&a.ref!==null&&(s.flags|=2097664);else{if(typeof u!=\"function\"&&typeof u!=\"object\")throw Error(r(284));(a===null||a.ref!==u)&&(s.flags|=2097664)}}function rp(a,s,u,h,g){return Js(s),u=Fm(a,s,u,h,void 0,g),h=Hm(),a!==null&&!Yn?(jm(a,s,g),Ti(a,s,g)):(Ft&&h&&Rm(s),s.flags|=1,nr(a,s,u,g),s.child)}function i_(a,s,u,h,g,y){return Js(s),s.updateQueue=null,u=dy(s,h,u,g),cy(a),h=Hm(),a!==null&&!Yn?(jm(a,s,y),Ti(a,s,y)):(Ft&&h&&Rm(s),s.flags|=1,nr(a,s,u,y),s.child)}function s_(a,s,u,h,g){if(Js(s),s.stateNode===null){var y=Ho,C=u.contextType;typeof C==\"object\"&&C!==null&&(y=sr(C)),y=new u(h,y),s.memoizedState=y.state!==null&&y.state!==void 0?y.state:null,y.updater=tp,s.stateNode=y,y._reactInternals=s,y=s.stateNode,y.props=h,y.state=s.memoizedState,y.refs={},pp(s),C=u.contextType,y.context=typeof C==\"object\"&&C!==null?sr(C):Ho,y.state=s.memoizedState,C=u.getDerivedStateFromProps,typeof C==\"function\"&&(ep(s,u,C,h),y.state=s.memoizedState),typeof u.getDerivedStateFromProps==\"function\"||typeof y.getSnapshotBeforeUpdate==\"function\"||typeof y.UNSAFE_componentWillMount!=\"function\"&&typeof y.componentWillMount!=\"function\"||(C=y.state,typeof y.componentWillMount==\"function\"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount==\"function\"&&y.UNSAFE_componentWillMount(),C!==y.state&&tp.enqueueReplaceState(y,y.state,null),ku(s,h,y,g),Ou(),y.state=s.memoizedState),typeof y.componentDidMount==\"function\"&&(s.flags|=4194308),h=!0}else if(a===null){y=s.stateNode;var D=s.memoizedProps,z=Qs(u,D);y.props=z;var ee=y.context,Ee=u.contextType;C=Ho,typeof Ee==\"object\"&&Ee!==null&&(C=sr(Ee));var Se=u.getDerivedStateFromProps;Ee=typeof Se==\"function\"||typeof y.getSnapshotBeforeUpdate==\"function\",D=s.pendingProps!==D,Ee||typeof y.UNSAFE_componentWillReceiveProps!=\"function\"&&typeof y.componentWillReceiveProps!=\"function\"||(D||ee!==C)&&Gy(s,y,h,C),Qi=!1;var ue=s.memoizedState;y.state=ue,ku(s,h,y,g),Ou(),ee=s.memoizedState,D||ue!==ee||Qi?(typeof Se==\"function\"&&(ep(s,u,Se,h),ee=s.memoizedState),(z=Qi||Yy(s,u,z,h,ue,ee,C))?(Ee||typeof y.UNSAFE_componentWillMount!=\"function\"&&typeof y.componentWillMount!=\"function\"||(typeof y.componentWillMount==\"function\"&&y.componentWillMount(),typeof y.UNSAFE_componentWillMount==\"function\"&&y.UNSAFE_componentWillMount()),typeof y.componentDidMount==\"function\"&&(s.flags|=4194308)):(typeof y.componentDidMount==\"function\"&&(s.flags|=4194308),s.memoizedProps=h,s.memoizedState=ee),y.props=h,y.state=ee,y.context=C,h=z):(typeof y.componentDidMount==\"function\"&&(s.flags|=4194308),h=!1)}else{y=s.stateNode,gp(a,s),C=s.memoizedProps,Ee=Qs(u,C),y.props=Ee,Se=s.pendingProps,ue=y.context,ee=u.contextType,z=Ho,typeof ee==\"object\"&&ee!==null&&(z=sr(ee)),D=u.getDerivedStateFromProps,(ee=typeof D==\"function\"||typeof y.getSnapshotBeforeUpdate==\"function\")||typeof y.UNSAFE_componentWillReceiveProps!=\"function\"&&typeof y.componentWillReceiveProps!=\"function\"||(C!==Se||ue!==z)&&Gy(s,y,h,z),Qi=!1,ue=s.memoizedState,y.state=ue,ku(s,h,y,g),Ou();var ge=s.memoizedState;C!==Se||ue!==ge||Qi||a!==null&&a.dependencies!==null&&Ud(a.dependencies)?(typeof D==\"function\"&&(ep(s,u,D,h),ge=s.memoizedState),(Ee=Qi||Yy(s,u,Ee,h,ue,ge,z)||a!==null&&a.dependencies!==null&&Ud(a.dependencies))?(ee||typeof y.UNSAFE_componentWillUpdate!=\"function\"&&typeof y.componentWillUpdate!=\"function\"||(typeof y.componentWillUpdate==\"function\"&&y.componentWillUpdate(h,ge,z),typeof y.UNSAFE_componentWillUpdate==\"function\"&&y.UNSAFE_componentWillUpdate(h,ge,z)),typeof y.componentDidUpdate==\"function\"&&(s.flags|=4),typeof y.getSnapshotBeforeUpdate==\"function\"&&(s.flags|=1024)):(typeof y.componentDidUpdate!=\"function\"||C===a.memoizedProps&&ue===a.memoizedState||(s.flags|=4),typeof y.getSnapshotBeforeUpdate!=\"function\"||C===a.memoizedProps&&ue===a.memoizedState||(s.flags|=1024),s.memoizedProps=h,s.memoizedState=ge),y.props=h,y.state=ge,y.context=z,h=Ee):(typeof y.componentDidUpdate!=\"function\"||C===a.memoizedProps&&ue===a.memoizedState||(s.flags|=4),typeof y.getSnapshotBeforeUpdate!=\"function\"||C===a.memoizedProps&&ue===a.memoizedState||(s.flags|=1024),h=!1)}return y=h,wu(a,s),h=(s.flags&128)!==0,y||h?(y=s.stateNode,u=h&&typeof u.getDerivedStateFromError!=\"function\"?null:y.render(),s.flags|=1,a!==null&&h?(s.child=Gs(s,a.child,null,g),s.child=Gs(s,null,u,g)):nr(a,s,u,g),s.memoizedState=y.state,a=s.child):a=Ti(a,s,g),a}function o_(a,s,u,h){return gu(),s.flags|=256,nr(a,s,u,h),s.child}var ap={dehydrated:null,treeContext:null,retryLane:0};function ip(a){return{baseLanes:a,cachePool:uy()}}function sp(a,s,u){return a=a!==null?a.childLanes&~u:0,s&&(a|=da),a}function l_(a,s,u){var h=s.pendingProps,g=!1,y=(s.flags&128)!==0,C;if((C=y)||(C=a!==null&&a.memoizedState===null?!1:(Fn.current&2)!==0),C&&(g=!0,s.flags&=-129),C=(s.flags&32)!==0,s.flags&=-33,a===null){if(Ft){if(g?Gi(s):Vi(),Ft){var D=tr,z;if(z=D){e:{for(z=D,D=ja;z.nodeType!==8;){if(!D){D=null;break e}if(z=Oa(z.nextSibling),z===null){D=null;break e}}D=z}D!==null?(s.memoizedState={dehydrated:D,treeContext:$s!==null?{id:bi,overflow:Ei}:null,retryLane:536870912},z=ca(18,null,null,0),z.stateNode=D,z.return=s,s.child=z,pr=s,tr=null,z=!0):z=!1}z||Ys(s)}if(D=s.memoizedState,D!==null&&(D=D.dehydrated,D!==null))return D.data===\"$!\"?s.lanes=16:s.lanes=536870912,null;yi(s)}return D=h.children,h=h.fallback,g?(Vi(),g=s.mode,D=lp({mode:\"hidden\",children:D},g),h=to(h,g,u,null),D.return=s,h.return=s,D.sibling=h,s.child=D,g=s.child,g.memoizedState=ip(u),g.childLanes=sp(a,C,u),s.memoizedState=ap,h):(Gi(s),op(s,D))}if(z=a.memoizedState,z!==null&&(D=z.dehydrated,D!==null)){if(y)s.flags&256?(Gi(s),s.flags&=-257,s=up(a,s,u)):s.memoizedState!==null?(Vi(),s.child=a.child,s.flags|=128,s=null):(Vi(),g=h.fallback,D=s.mode,h=lp({mode:\"visible\",children:h.children},D),g=to(g,D,u,null),g.flags|=2,h.return=s,g.return=s,h.sibling=g,s.child=h,Gs(s,a.child,null,u),h=s.child,h.memoizedState=ip(u),h.childLanes=sp(a,C,u),s.memoizedState=ap,s=g);else if(Gi(s),D.data===\"$!\"){if(C=D.nextSibling&&D.nextSibling.dataset,C)var ee=C.dgst;C=ee,h=Error(r(419)),h.stack=\"\",h.digest=C,bu({value:h,source:null,stack:null}),s=up(a,s,u)}else if(Yn||Cu(a,s,u,!1),C=(u&a.childLanes)!==0,Yn||C){if(C=tn,C!==null){if(h=u&-u,(h&42)!==0)h=1;else switch(h){case 2:h=1;break;case 8:h=4;break;case 32:h=16;break;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:h=64;break;case 268435456:h=134217728;break;default:h=0}if(h=(h&(C.suspendedLanes|u))!==0?0:h,h!==0&&h!==z.retryLane)throw z.retryLane=h,Yi(a,h),gr(C,a,h),Jy}D.data===\"$?\"||Bp(),s=up(a,s,u)}else D.data===\"$?\"?(s.flags|=128,s.child=a.child,s=$k.bind(null,a),D._reactRetry=s,s=null):(a=z.treeContext,tr=Oa(D.nextSibling),pr=s,Ft=!0,Ca=null,ja=!1,a!==null&&(ia[sa++]=bi,ia[sa++]=Ei,ia[sa++]=$s,bi=a.id,Ei=a.overflow,$s=s),s=op(s,h.children),s.flags|=4096);return s}return g?(Vi(),g=h.fallback,D=s.mode,z=a.child,ee=z.sibling,h=rs(z,{mode:\"hidden\",children:h.children}),h.subtreeFlags=z.subtreeFlags&31457280,ee!==null?g=rs(ee,g):(g=to(g,D,u,null),g.flags|=2),g.return=s,h.return=s,h.sibling=g,s.child=h,h=g,g=s.child,D=a.child.memoizedState,D===null?D=ip(u):(z=D.cachePool,z!==null?(ee=Hn._currentValue,z=z.parent!==ee?{parent:ee,pool:ee}:z):z=uy(),D={baseLanes:D.baseLanes|u,cachePool:z}),g.memoizedState=D,g.childLanes=sp(a,C,u),s.memoizedState=ap,h):(Gi(s),u=a.child,a=u.sibling,u=rs(u,{mode:\"visible\",children:h.children}),u.return=s,u.sibling=null,a!==null&&(C=s.deletions,C===null?(s.deletions=[a],s.flags|=16):C.push(a)),s.child=u,s.memoizedState=null,u)}function op(a,s){return s=lp({mode:\"visible\",children:s},a.mode),s.return=a,a.child=s}function lp(a,s){return D_(a,s,0,null)}function up(a,s,u){return Gs(s,a.child,null,u),a=op(s,s.pendingProps.children),a.flags|=2,s.memoizedState=null,a}function u_(a,s,u){a.lanes|=s;var h=a.alternate;h!==null&&(h.lanes|=s),hp(a.return,s,u)}function cp(a,s,u,h,g){var y=a.memoizedState;y===null?a.memoizedState={isBackwards:s,rendering:null,renderingStartTime:0,last:h,tail:u,tailMode:g}:(y.isBackwards=s,y.rendering=null,y.renderingStartTime=0,y.last=h,y.tail=u,y.tailMode=g)}function c_(a,s,u){var h=s.pendingProps,g=h.revealOrder,y=h.tail;if(nr(a,s,h.children,u),h=Fn.current,(h&2)!==0)h=h&1|2,s.flags|=128;else{if(a!==null&&(a.flags&128)!==0)e:for(a=s.child;a!==null;){if(a.tag===13)a.memoizedState!==null&&u_(a,u,s);else if(a.tag===19)u_(a,u,s);else if(a.child!==null){a.child.return=a,a=a.child;continue}if(a===s)break e;for(;a.sibling===null;){if(a.return===null||a.return===s)break e;a=a.return}a.sibling.return=a.return,a=a.sibling}h&=1}switch(Ue(Fn,h),g){case\"forwards\":for(u=s.child,g=null;u!==null;)a=u.alternate,a!==null&&Nd(a)===null&&(g=u),u=u.sibling;u=g,u===null?(g=s.child,s.child=null):(g=u.sibling,u.sibling=null),cp(s,!1,g,u,y);break;case\"backwards\":for(u=null,g=s.child,s.child=null;g!==null;){if(a=g.alternate,a!==null&&Nd(a)===null){s.child=g;break}a=g.sibling,g.sibling=u,u=g,g=a}cp(s,!0,u,null,y);break;case\"together\":cp(s,!1,null,null,void 0);break;default:s.memoizedState=null}return s.child}function Ti(a,s,u){if(a!==null&&(s.dependencies=a.dependencies),as|=s.lanes,(u&s.childLanes)===0)if(a!==null){if(Cu(a,s,u,!1),(u&s.childLanes)===0)return null}else return null;if(a!==null&&s.child!==a.child)throw Error(r(153));if(s.child!==null){for(a=s.child,u=rs(a,a.pendingProps),s.child=u,u.return=s;a.sibling!==null;)a=a.sibling,u=u.sibling=rs(a,a.pendingProps),u.return=s;u.sibling=null}return s.child}function dp(a,s){return(a.lanes&s)!==0?!0:(a=a.dependencies,!!(a!==null&&Ud(a)))}function Rk(a,s,u){switch(s.tag){case 3:fr(s,s.stateNode.containerInfo),Wi(s,Hn,a.memoizedState.cache),gu();break;case 27:case 5:zn(s);break;case 4:fr(s,s.stateNode.containerInfo);break;case 10:Wi(s,s.type,s.memoizedProps.value);break;case 13:var h=s.memoizedState;if(h!==null)return h.dehydrated!==null?(Gi(s),s.flags|=128,null):(u&s.child.childLanes)!==0?l_(a,s,u):(Gi(s),a=Ti(a,s,u),a!==null?a.sibling:null);Gi(s);break;case 19:var g=(a.flags&128)!==0;if(h=(u&s.childLanes)!==0,h||(Cu(a,s,u,!1),h=(u&s.childLanes)!==0),g){if(h)return c_(a,s,u);s.flags|=128}if(g=s.memoizedState,g!==null&&(g.rendering=null,g.tail=null,g.lastEffect=null),Ue(Fn,Fn.current),h)break;return null;case 22:case 23:return s.lanes=0,r_(a,s,u);case 24:Wi(s,Hn,a.memoizedState.cache)}return Ti(a,s,u)}function d_(a,s,u){if(a!==null)if(a.memoizedProps!==s.pendingProps)Yn=!0;else{if(!dp(a,u)&&(s.flags&128)===0)return Yn=!1,Rk(a,s,u);Yn=(a.flags&131072)!==0}else Yn=!1,Ft&&(s.flags&1048576)!==0&&X1(s,Td,s.index);switch(s.lanes=0,s.tag){case 16:e:{a=s.pendingProps;var h=s.elementType,g=h._init;if(h=g(h._payload),s.type=h,typeof h==\"function\")Ap(h)?(a=Qs(h,a),s.tag=1,s=s_(null,s,h,a,u)):(s.tag=0,s=rp(null,s,h,a,u));else{if(h!=null){if(g=h.$$typeof,g===x){s.tag=11,s=e_(null,s,h,a,u);break e}else if(g===v){s.tag=14,s=t_(null,s,h,a,u);break e}}throw s=j(h)||h,Error(r(306,s,\"\"))}}return s;case 0:return rp(a,s,s.type,s.pendingProps,u);case 1:return h=s.type,g=Qs(h,s.pendingProps),s_(a,s,h,g,u);case 3:e:{if(fr(s,s.stateNode.containerInfo),a===null)throw Error(r(387));var y=s.pendingProps;g=s.memoizedState,h=g.element,gp(a,s),ku(s,y,null,u);var C=s.memoizedState;if(y=C.cache,Wi(s,Hn,y),y!==g.cache&&mp(s,[Hn],u,!0),Ou(),y=C.element,g.isDehydrated)if(g={element:y,isDehydrated:!1,cache:C.cache},s.updateQueue.baseState=g,s.memoizedState=g,s.flags&256){s=o_(a,s,y,u);break e}else if(y!==h){h=aa(Error(r(424)),s),bu(h),s=o_(a,s,y,u);break e}else for(tr=Oa(s.stateNode.containerInfo.firstChild),pr=s,Ft=!0,Ca=null,ja=!0,u=ay(s,null,y,u),s.child=u;u;)u.flags=u.flags&-3|4096,u=u.sibling;else{if(gu(),y===h){s=Ti(a,s,u);break e}nr(a,s,y,u)}s=s.child}return s;case 26:return wu(a,s),a===null?(u=mT(s.type,null,s.pendingProps,null))?s.memoizedState=u:Ft||(u=s.type,a=s.pendingProps,h=ef(pn.current).createElement(u),h[He]=s,h[Me]=a,rr(h,u,a),Zt(h),s.stateNode=h):s.memoizedState=mT(s.type,a.memoizedProps,s.pendingProps,a.memoizedState),null;case 27:return zn(s),a===null&&Ft&&(h=s.stateNode=dT(s.type,s.pendingProps,pn.current),pr=s,ja=!0,tr=Oa(h.firstChild)),h=s.pendingProps.children,a!==null||Ft?nr(a,s,h,u):s.child=Gs(s,null,h,u),wu(a,s),s.child;case 5:return a===null&&Ft&&((g=h=tr)&&(h=i3(h,s.type,s.pendingProps,ja),h!==null?(s.stateNode=h,pr=s,tr=Oa(h.firstChild),ja=!1,g=!0):g=!1),g||Ys(s)),zn(s),g=s.type,y=s.pendingProps,C=a!==null?a.memoizedProps:null,h=y.children,Qp(g,y)?h=null:C!==null&&Qp(g,C)&&(s.flags|=32),s.memoizedState!==null&&(g=Fm(a,s,vk,null,null,u),Gu._currentValue=g),wu(a,s),nr(a,s,h,u),s.child;case 6:return a===null&&Ft&&((a=u=tr)&&(u=s3(u,s.pendingProps,ja),u!==null?(s.stateNode=u,pr=s,tr=null,a=!0):a=!1),a||Ys(s)),null;case 13:return l_(a,s,u);case 4:return fr(s,s.stateNode.containerInfo),h=s.pendingProps,a===null?s.child=Gs(s,null,h,u):nr(a,s,h,u),s.child;case 11:return e_(a,s,s.type,s.pendingProps,u);case 7:return nr(a,s,s.pendingProps,u),s.child;case 8:return nr(a,s,s.pendingProps.children,u),s.child;case 12:return nr(a,s,s.pendingProps.children,u),s.child;case 10:return h=s.pendingProps,Wi(s,s.type,h.value),nr(a,s,h.children,u),s.child;case 9:return g=s.type._context,h=s.pendingProps.children,Js(s),g=sr(g),h=h(g),s.flags|=1,nr(a,s,h,u),s.child;case 14:return t_(a,s,s.type,s.pendingProps,u);case 15:return n_(a,s,s.type,s.pendingProps,u);case 19:return c_(a,s,u);case 22:return r_(a,s,u);case 24:return Js(s),h=sr(Hn),a===null?(g=Bm(),g===null&&(g=tn,y=Mm(),g.pooledCache=y,y.refCount++,y!==null&&(g.pooledCacheLanes|=u),g=y),s.memoizedState={parent:h,cache:g},pp(s),Wi(s,Hn,g)):((a.lanes&u)!==0&&(gp(a,s),ku(s,null,null,u),Ou()),g=a.memoizedState,y=s.memoizedState,g.parent!==h?(g={parent:h,cache:h},s.memoizedState=g,s.lanes===0&&(s.memoizedState=s.updateQueue.baseState=g),Wi(s,Hn,h)):(h=y.cache,Wi(s,Hn,h),h!==g.cache&&mp(s,[Hn],u,!0))),nr(a,s,s.pendingProps.children,u),s.child;case 29:throw s.pendingProps}throw Error(r(156,s.tag))}var fp=je(null),Zs=null,vi=null;function Wi(a,s,u){Ue(fp,s._currentValue),s._currentValue=u}function xi(a){a._currentValue=fp.current,Ze(fp)}function hp(a,s,u){for(;a!==null;){var h=a.alternate;if((a.childLanes&s)!==s?(a.childLanes|=s,h!==null&&(h.childLanes|=s)):h!==null&&(h.childLanes&s)!==s&&(h.childLanes|=s),a===u)break;a=a.return}}function mp(a,s,u,h){var g=a.child;for(g!==null&&(g.return=a);g!==null;){var y=g.dependencies;if(y!==null){var C=g.child;y=y.firstContext;e:for(;y!==null;){var D=y;y=g;for(var z=0;z<s.length;z++)if(D.context===s[z]){y.lanes|=u,D=y.alternate,D!==null&&(D.lanes|=u),hp(y.return,u,a),h||(C=null);break e}y=D.next}}else if(g.tag===18){if(C=g.return,C===null)throw Error(r(341));C.lanes|=u,y=C.alternate,y!==null&&(y.lanes|=u),hp(C,u,a),C=null}else C=g.child;if(C!==null)C.return=g;else for(C=g;C!==null;){if(C===a){C=null;break}if(g=C.sibling,g!==null){g.return=C.return,C=g;break}C=C.return}g=C}}function Cu(a,s,u,h){a=null;for(var g=s,y=!1;g!==null;){if(!y){if((g.flags&524288)!==0)y=!0;else if((g.flags&262144)!==0)break}if(g.tag===10){var C=g.alternate;if(C===null)throw Error(r(387));if(C=C.memoizedProps,C!==null){var D=g.type;Ur(g.pendingProps.value,C.value)||(a!==null?a.push(D):a=[D])}}else if(g===Tn.current){if(C=g.alternate,C===null)throw Error(r(387));C.memoizedState.memoizedState!==g.memoizedState.memoizedState&&(a!==null?a.push(Gu):a=[Gu])}g=g.return}a!==null&&mp(s,a,u,h),s.flags|=262144}function Ud(a){for(a=a.firstContext;a!==null;){if(!Ur(a.context._currentValue,a.memoizedValue))return!0;a=a.next}return!1}function Js(a){Zs=a,vi=null,a=a.dependencies,a!==null&&(a.firstContext=null)}function sr(a){return f_(Zs,a)}function Fd(a,s){return Zs===null&&Js(a),f_(a,s)}function f_(a,s){var u=s._currentValue;if(s={context:s,memoizedValue:u,next:null},vi===null){if(a===null)throw Error(r(308));vi=s,a.dependencies={lanes:0,firstContext:s},a.flags|=524288}else vi=vi.next=s;return u}var Qi=!1;function pp(a){a.updateQueue={baseState:a.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function gp(a,s){a=a.updateQueue,s.updateQueue===a&&(s.updateQueue={baseState:a.baseState,firstBaseUpdate:a.firstBaseUpdate,lastBaseUpdate:a.lastBaseUpdate,shared:a.shared,callbacks:null})}function Zi(a){return{lane:a,tag:0,payload:null,callback:null,next:null}}function Ji(a,s,u){var h=a.updateQueue;if(h===null)return null;if(h=h.shared,(hn&2)!==0){var g=h.pending;return g===null?s.next=s:(s.next=g.next,g.next=s),h.pending=s,s=yd(a),V1(a,null,u),s}return Ed(a,h,s,u),yd(a)}function Ru(a,s,u){if(s=s.updateQueue,s!==null&&(s=s.shared,(u&4194176)!==0)){var h=s.lanes;h&=a.pendingLanes,u|=h,s.lanes=u,Ie(a,u)}}function bp(a,s){var u=a.updateQueue,h=a.alternate;if(h!==null&&(h=h.updateQueue,u===h)){var g=null,y=null;if(u=u.firstBaseUpdate,u!==null){do{var C={lane:u.lane,tag:u.tag,payload:u.payload,callback:null,next:null};y===null?g=y=C:y=y.next=C,u=u.next}while(u!==null);y===null?g=y=s:y=y.next=s}else g=y=s;u={baseState:h.baseState,firstBaseUpdate:g,lastBaseUpdate:y,shared:h.shared,callbacks:h.callbacks},a.updateQueue=u;return}a=u.lastBaseUpdate,a===null?u.firstBaseUpdate=s:a.next=s,u.lastBaseUpdate=s}var Ep=!1;function Ou(){if(Ep){var a=Go;if(a!==null)throw a}}function ku(a,s,u,h){Ep=!1;var g=a.updateQueue;Qi=!1;var y=g.firstBaseUpdate,C=g.lastBaseUpdate,D=g.shared.pending;if(D!==null){g.shared.pending=null;var z=D,ee=z.next;z.next=null,C===null?y=ee:C.next=ee,C=z;var Ee=a.alternate;Ee!==null&&(Ee=Ee.updateQueue,D=Ee.lastBaseUpdate,D!==C&&(D===null?Ee.firstBaseUpdate=ee:D.next=ee,Ee.lastBaseUpdate=z))}if(y!==null){var Se=g.baseState;C=0,Ee=ee=z=null,D=y;do{var ue=D.lane&-536870913,ge=ue!==D.lane;if(ge?(Dt&ue)===ue:(h&ue)===ue){ue!==0&&ue===Yo&&(Ep=!0),Ee!==null&&(Ee=Ee.next={lane:0,tag:D.tag,payload:D.payload,callback:null,next:null});e:{var Qe=a,ct=D;ue=s;var En=u;switch(ct.tag){case 1:if(Qe=ct.payload,typeof Qe==\"function\"){Se=Qe.call(En,Se,ue);break e}Se=Qe;break e;case 3:Qe.flags=Qe.flags&-65537|128;case 0:if(Qe=ct.payload,ue=typeof Qe==\"function\"?Qe.call(En,Se,ue):Qe,ue==null)break e;Se=M({},Se,ue);break e;case 2:Qi=!0}}ue=D.callback,ue!==null&&(a.flags|=64,ge&&(a.flags|=8192),ge=g.callbacks,ge===null?g.callbacks=[ue]:ge.push(ue))}else ge={lane:ue,tag:D.tag,payload:D.payload,callback:D.callback,next:null},Ee===null?(ee=Ee=ge,z=Se):Ee=Ee.next=ge,C|=ue;if(D=D.next,D===null){if(D=g.shared.pending,D===null)break;ge=D,D=ge.next,ge.next=null,g.lastBaseUpdate=ge,g.shared.pending=null}}while(!0);Ee===null&&(z=Se),g.baseState=z,g.firstBaseUpdate=ee,g.lastBaseUpdate=Ee,y===null&&(g.shared.lanes=0),as|=C,a.lanes=C,a.memoizedState=Se}}function h_(a,s){if(typeof a!=\"function\")throw Error(r(191,a));a.call(s)}function m_(a,s){var u=a.callbacks;if(u!==null)for(a.callbacks=null,a=0;a<u.length;a++)h_(u[a],s)}function Lu(a,s){try{var u=s.updateQueue,h=u!==null?u.lastEffect:null;if(h!==null){var g=h.next;u=g;do{if((u.tag&a)===a){h=void 0;var y=u.create,C=u.inst;h=y(),C.destroy=h}u=u.next}while(u!==g)}}catch(D){Wt(s,s.return,D)}}function es(a,s,u){try{var h=s.updateQueue,g=h!==null?h.lastEffect:null;if(g!==null){var y=g.next;h=y;do{if((h.tag&a)===a){var C=h.inst,D=C.destroy;if(D!==void 0){C.destroy=void 0,g=s;var z=u;try{D()}catch(ee){Wt(g,z,ee)}}}h=h.next}while(h!==y)}}catch(ee){Wt(s,s.return,ee)}}function p_(a){var s=a.updateQueue;if(s!==null){var u=a.stateNode;try{m_(s,u)}catch(h){Wt(a,a.return,h)}}}function g_(a,s,u){u.props=Qs(a.type,a.memoizedProps),u.state=a.memoizedState;try{u.componentWillUnmount()}catch(h){Wt(a,s,h)}}function eo(a,s){try{var u=a.ref;if(u!==null){var h=a.stateNode;switch(a.tag){case 26:case 27:case 5:var g=h;break;default:g=h}typeof u==\"function\"?a.refCleanup=u(g):u.current=g}}catch(y){Wt(a,s,y)}}function Fr(a,s){var u=a.ref,h=a.refCleanup;if(u!==null)if(typeof h==\"function\")try{h()}catch(g){Wt(a,s,g)}finally{a.refCleanup=null,a=a.alternate,a!=null&&(a.refCleanup=null)}else if(typeof u==\"function\")try{u(null)}catch(g){Wt(a,s,g)}else u.current=null}function b_(a){var s=a.type,u=a.memoizedProps,h=a.stateNode;try{e:switch(s){case\"button\":case\"input\":case\"select\":case\"textarea\":u.autoFocus&&h.focus();break e;case\"img\":u.src?h.src=u.src:u.srcSet&&(h.srcset=u.srcSet)}}catch(g){Wt(a,a.return,g)}}function E_(a,s,u){try{var h=a.stateNode;e3(h,a.type,u,s),h[Me]=s}catch(g){Wt(a,a.return,g)}}function y_(a){return a.tag===5||a.tag===3||a.tag===26||a.tag===27||a.tag===4}function yp(a){e:for(;;){for(;a.sibling===null;){if(a.return===null||y_(a.return))return null;a=a.return}for(a.sibling.return=a.return,a=a.sibling;a.tag!==5&&a.tag!==6&&a.tag!==27&&a.tag!==18;){if(a.flags&2||a.child===null||a.tag===4)continue e;a.child.return=a,a=a.child}if(!(a.flags&2))return a.stateNode}}function _p(a,s,u){var h=a.tag;if(h===5||h===6)a=a.stateNode,s?u.nodeType===8?u.parentNode.insertBefore(a,s):u.insertBefore(a,s):(u.nodeType===8?(s=u.parentNode,s.insertBefore(a,u)):(s=u,s.appendChild(a)),u=u._reactRootContainer,u!=null||s.onclick!==null||(s.onclick=Jd));else if(h!==4&&h!==27&&(a=a.child,a!==null))for(_p(a,s,u),a=a.sibling;a!==null;)_p(a,s,u),a=a.sibling}function Hd(a,s,u){var h=a.tag;if(h===5||h===6)a=a.stateNode,s?u.insertBefore(a,s):u.appendChild(a);else if(h!==4&&h!==27&&(a=a.child,a!==null))for(Hd(a,s,u),a=a.sibling;a!==null;)Hd(a,s,u),a=a.sibling}var Si=!1,gn=!1,Tp=!1,__=typeof WeakSet==\"function\"?WeakSet:Set,Gn=null,T_=!1;function Ok(a,s){if(a=a.containerInfo,Xp=of,a=U1(a),xm(a)){if(\"selectionStart\"in a)var u={start:a.selectionStart,end:a.selectionEnd};else e:{u=(u=a.ownerDocument)&&u.defaultView||window;var h=u.getSelection&&u.getSelection();if(h&&h.rangeCount!==0){u=h.anchorNode;var g=h.anchorOffset,y=h.focusNode;h=h.focusOffset;try{u.nodeType,y.nodeType}catch{u=null;break e}var C=0,D=-1,z=-1,ee=0,Ee=0,Se=a,ue=null;t:for(;;){for(var ge;Se!==u||g!==0&&Se.nodeType!==3||(D=C+g),Se!==y||h!==0&&Se.nodeType!==3||(z=C+h),Se.nodeType===3&&(C+=Se.nodeValue.length),(ge=Se.firstChild)!==null;)ue=Se,Se=ge;for(;;){if(Se===a)break t;if(ue===u&&++ee===g&&(D=C),ue===y&&++Ee===h&&(z=C),(ge=Se.nextSibling)!==null)break;Se=ue,ue=Se.parentNode}Se=ge}u=D===-1||z===-1?null:{start:D,end:z}}else u=null}u=u||{start:0,end:0}}else u=null;for(Wp={focusedElem:a,selectionRange:u},of=!1,Gn=s;Gn!==null;)if(s=Gn,a=s.child,(s.subtreeFlags&1028)!==0&&a!==null)a.return=s,Gn=a;else for(;Gn!==null;){switch(s=Gn,y=s.alternate,a=s.flags,s.tag){case 0:break;case 11:case 15:break;case 1:if((a&1024)!==0&&y!==null){a=void 0,u=s,g=y.memoizedProps,y=y.memoizedState,h=u.stateNode;try{var Qe=Qs(u.type,g,u.elementType===u.type);a=h.getSnapshotBeforeUpdate(Qe,y),h.__reactInternalSnapshotBeforeUpdate=a}catch(ct){Wt(u,u.return,ct)}}break;case 3:if((a&1024)!==0){if(a=s.stateNode.containerInfo,u=a.nodeType,u===9)e0(a);else if(u===1)switch(a.nodeName){case\"HEAD\":case\"HTML\":case\"BODY\":e0(a);break;default:a.textContent=\"\"}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;default:if((a&1024)!==0)throw Error(r(163))}if(a=s.sibling,a!==null){a.return=s.return,Gn=a;break}Gn=s.return}return Qe=T_,T_=!1,Qe}function v_(a,s,u){var h=u.flags;switch(u.tag){case 0:case 11:case 15:Ni(a,u),h&4&&Lu(5,u);break;case 1:if(Ni(a,u),h&4)if(a=u.stateNode,s===null)try{a.componentDidMount()}catch(D){Wt(u,u.return,D)}else{var g=Qs(u.type,s.memoizedProps);s=s.memoizedState;try{a.componentDidUpdate(g,s,a.__reactInternalSnapshotBeforeUpdate)}catch(D){Wt(u,u.return,D)}}h&64&&p_(u),h&512&&eo(u,u.return);break;case 3:if(Ni(a,u),h&64&&(h=u.updateQueue,h!==null)){if(a=null,u.child!==null)switch(u.child.tag){case 27:case 5:a=u.child.stateNode;break;case 1:a=u.child.stateNode}try{m_(h,a)}catch(D){Wt(u,u.return,D)}}break;case 26:Ni(a,u),h&512&&eo(u,u.return);break;case 27:case 5:Ni(a,u),s===null&&h&4&&b_(u),h&512&&eo(u,u.return);break;case 12:Ni(a,u);break;case 13:Ni(a,u),h&4&&A_(a,u);break;case 22:if(g=u.memoizedState!==null||Si,!g){s=s!==null&&s.memoizedState!==null||gn;var y=Si,C=gn;Si=g,(gn=s)&&!C?ts(a,u,(u.subtreeFlags&8772)!==0):Ni(a,u),Si=y,gn=C}h&512&&(u.memoizedProps.mode===\"manual\"?eo(u,u.return):Fr(u,u.return));break;default:Ni(a,u)}}function x_(a){var s=a.alternate;s!==null&&(a.alternate=null,x_(s)),a.child=null,a.deletions=null,a.sibling=null,a.tag===5&&(s=a.stateNode,s!==null&&Dr(s)),a.stateNode=null,a.return=null,a.dependencies=null,a.memoizedProps=null,a.memoizedState=null,a.pendingProps=null,a.stateNode=null,a.updateQueue=null}var kn=null,Hr=!1;function Ai(a,s,u){for(u=u.child;u!==null;)S_(a,s,u),u=u.sibling}function S_(a,s,u){if(on&&typeof on.onCommitFiberUnmount==\"function\")try{on.onCommitFiberUnmount(An,u)}catch{}switch(u.tag){case 26:gn||Fr(u,s),Ai(a,s,u),u.memoizedState?u.memoizedState.count--:u.stateNode&&(u=u.stateNode,u.parentNode.removeChild(u));break;case 27:gn||Fr(u,s);var h=kn,g=Hr;for(kn=u.stateNode,Ai(a,s,u),u=u.stateNode,s=u.attributes;s.length;)u.removeAttributeNode(s[0]);Dr(u),kn=h,Hr=g;break;case 5:gn||Fr(u,s);case 6:g=kn;var y=Hr;if(kn=null,Ai(a,s,u),kn=g,Hr=y,kn!==null)if(Hr)try{a=kn,h=u.stateNode,a.nodeType===8?a.parentNode.removeChild(h):a.removeChild(h)}catch(C){Wt(u,s,C)}else try{kn.removeChild(u.stateNode)}catch(C){Wt(u,s,C)}break;case 18:kn!==null&&(Hr?(s=kn,u=u.stateNode,s.nodeType===8?Jp(s.parentNode,u):s.nodeType===1&&Jp(s,u),Wu(s)):Jp(kn,u.stateNode));break;case 4:h=kn,g=Hr,kn=u.stateNode.containerInfo,Hr=!0,Ai(a,s,u),kn=h,Hr=g;break;case 0:case 11:case 14:case 15:gn||es(2,u,s),gn||es(4,u,s),Ai(a,s,u);break;case 1:gn||(Fr(u,s),h=u.stateNode,typeof h.componentWillUnmount==\"function\"&&g_(u,s,h)),Ai(a,s,u);break;case 21:Ai(a,s,u);break;case 22:gn||Fr(u,s),gn=(h=gn)||u.memoizedState!==null,Ai(a,s,u),gn=h;break;default:Ai(a,s,u)}}function A_(a,s){if(s.memoizedState===null&&(a=s.alternate,a!==null&&(a=a.memoizedState,a!==null&&(a=a.dehydrated,a!==null))))try{Wu(a)}catch(u){Wt(s,s.return,u)}}function kk(a){switch(a.tag){case 13:case 19:var s=a.stateNode;return s===null&&(s=a.stateNode=new __),s;case 22:return a=a.stateNode,s=a._retryCache,s===null&&(s=a._retryCache=new __),s;default:throw Error(r(435,a.tag))}}function vp(a,s){var u=kk(a);s.forEach(function(h){var g=qk.bind(null,a,h);u.has(h)||(u.add(h),h.then(g,g))})}function la(a,s){var u=s.deletions;if(u!==null)for(var h=0;h<u.length;h++){var g=u[h],y=a,C=s,D=C;e:for(;D!==null;){switch(D.tag){case 27:case 5:kn=D.stateNode,Hr=!1;break e;case 3:kn=D.stateNode.containerInfo,Hr=!0;break e;case 4:kn=D.stateNode.containerInfo,Hr=!0;break e}D=D.return}if(kn===null)throw Error(r(160));S_(y,C,g),kn=null,Hr=!1,y=g.alternate,y!==null&&(y.return=null),g.return=null}if(s.subtreeFlags&13878)for(s=s.child;s!==null;)N_(s,a),s=s.sibling}var Ra=null;function N_(a,s){var u=a.alternate,h=a.flags;switch(a.tag){case 0:case 11:case 14:case 15:la(s,a),ua(a),h&4&&(es(3,a,a.return),Lu(3,a),es(5,a,a.return));break;case 1:la(s,a),ua(a),h&512&&(gn||u===null||Fr(u,u.return)),h&64&&Si&&(a=a.updateQueue,a!==null&&(h=a.callbacks,h!==null&&(u=a.shared.hiddenCallbacks,a.shared.hiddenCallbacks=u===null?h:u.concat(h))));break;case 26:var g=Ra;if(la(s,a),ua(a),h&512&&(gn||u===null||Fr(u,u.return)),h&4){var y=u!==null?u.memoizedState:null;if(h=a.memoizedState,u===null)if(h===null)if(a.stateNode===null){e:{h=a.type,u=a.memoizedProps,g=g.ownerDocument||g;t:switch(h){case\"title\":y=g.getElementsByTagName(\"title\")[0],(!y||y[Bt]||y[He]||y.namespaceURI===\"http://www.w3.org/2000/svg\"||y.hasAttribute(\"itemprop\"))&&(y=g.createElement(h),g.head.insertBefore(y,g.querySelector(\"head > title\"))),rr(y,h,u),y[He]=a,Zt(y),h=y;break e;case\"link\":var C=bT(\"link\",\"href\",g).get(h+(u.href||\"\"));if(C){for(var D=0;D<C.length;D++)if(y=C[D],y.getAttribute(\"href\")===(u.href==null?null:u.href)&&y.getAttribute(\"rel\")===(u.rel==null?null:u.rel)&&y.getAttribute(\"title\")===(u.title==null?null:u.title)&&y.getAttribute(\"crossorigin\")===(u.crossOrigin==null?null:u.crossOrigin)){C.splice(D,1);break t}}y=g.createElement(h),rr(y,h,u),g.head.appendChild(y);break;case\"meta\":if(C=bT(\"meta\",\"content\",g).get(h+(u.content||\"\"))){for(D=0;D<C.length;D++)if(y=C[D],y.getAttribute(\"content\")===(u.content==null?null:\"\"+u.content)&&y.getAttribute(\"name\")===(u.name==null?null:u.name)&&y.getAttribute(\"property\")===(u.property==null?null:u.property)&&y.getAttribute(\"http-equiv\")===(u.httpEquiv==null?null:u.httpEquiv)&&y.getAttribute(\"charset\")===(u.charSet==null?null:u.charSet)){C.splice(D,1);break t}}y=g.createElement(h),rr(y,h,u),g.head.appendChild(y);break;default:throw Error(r(468,h))}y[He]=a,Zt(y),h=y}a.stateNode=h}else ET(g,a.type,a.stateNode);else a.stateNode=gT(g,h,a.memoizedProps);else y!==h?(y===null?u.stateNode!==null&&(u=u.stateNode,u.parentNode.removeChild(u)):y.count--,h===null?ET(g,a.type,a.stateNode):gT(g,h,a.memoizedProps)):h===null&&a.stateNode!==null&&E_(a,a.memoizedProps,u.memoizedProps)}break;case 27:if(h&4&&a.alternate===null){g=a.stateNode,y=a.memoizedProps;try{for(var z=g.firstChild;z;){var ee=z.nextSibling,Ee=z.nodeName;z[Bt]||Ee===\"HEAD\"||Ee===\"BODY\"||Ee===\"SCRIPT\"||Ee===\"STYLE\"||Ee===\"LINK\"&&z.rel.toLowerCase()===\"stylesheet\"||g.removeChild(z),z=ee}for(var Se=a.type,ue=g.attributes;ue.length;)g.removeAttributeNode(ue[0]);rr(g,Se,y),g[He]=a,g[Me]=y}catch(Qe){Wt(a,a.return,Qe)}}case 5:if(la(s,a),ua(a),h&512&&(gn||u===null||Fr(u,u.return)),a.flags&32){g=a.stateNode;try{at(g,\"\")}catch(Qe){Wt(a,a.return,Qe)}}h&4&&a.stateNode!=null&&(g=a.memoizedProps,E_(a,g,u!==null?u.memoizedProps:g)),h&1024&&(Tp=!0);break;case 6:if(la(s,a),ua(a),h&4){if(a.stateNode===null)throw Error(r(162));h=a.memoizedProps,u=a.stateNode;try{u.nodeValue=h}catch(Qe){Wt(a,a.return,Qe)}}break;case 3:if(rf=null,g=Ra,Ra=tf(s.containerInfo),la(s,a),Ra=g,ua(a),h&4&&u!==null&&u.memoizedState.isDehydrated)try{Wu(s.containerInfo)}catch(Qe){Wt(a,a.return,Qe)}Tp&&(Tp=!1,w_(a));break;case 4:h=Ra,Ra=tf(a.stateNode.containerInfo),la(s,a),ua(a),Ra=h;break;case 12:la(s,a),ua(a);break;case 13:la(s,a),ua(a),a.child.flags&8192&&a.memoizedState!==null!=(u!==null&&u.memoizedState!==null)&&(kp=dn()),h&4&&(h=a.updateQueue,h!==null&&(a.updateQueue=null,vp(a,h)));break;case 22:if(h&512&&(gn||u===null||Fr(u,u.return)),z=a.memoizedState!==null,ee=u!==null&&u.memoizedState!==null,Ee=Si,Se=gn,Si=Ee||z,gn=Se||ee,la(s,a),gn=Se,Si=Ee,ua(a),s=a.stateNode,s._current=a,s._visibility&=-3,s._visibility|=s._pendingVisibility&2,h&8192&&(s._visibility=z?s._visibility&-2:s._visibility|1,z&&(s=Si||gn,u===null||ee||s||Wo(a)),a.memoizedProps===null||a.memoizedProps.mode!==\"manual\"))e:for(u=null,s=a;;){if(s.tag===5||s.tag===26||s.tag===27){if(u===null){ee=u=s;try{if(g=ee.stateNode,z)y=g.style,typeof y.setProperty==\"function\"?y.setProperty(\"display\",\"none\",\"important\"):y.display=\"none\";else{C=ee.stateNode,D=ee.memoizedProps.style;var ge=D!=null&&D.hasOwnProperty(\"display\")?D.display:null;C.style.display=ge==null||typeof ge==\"boolean\"?\"\":(\"\"+ge).trim()}}catch(Qe){Wt(ee,ee.return,Qe)}}}else if(s.tag===6){if(u===null){ee=s;try{ee.stateNode.nodeValue=z?\"\":ee.memoizedProps}catch(Qe){Wt(ee,ee.return,Qe)}}}else if((s.tag!==22&&s.tag!==23||s.memoizedState===null||s===a)&&s.child!==null){s.child.return=s,s=s.child;continue}if(s===a)break e;for(;s.sibling===null;){if(s.return===null||s.return===a)break e;u===s&&(u=null),s=s.return}u===s&&(u=null),s.sibling.return=s.return,s=s.sibling}h&4&&(h=a.updateQueue,h!==null&&(u=h.retryQueue,u!==null&&(h.retryQueue=null,vp(a,u))));break;case 19:la(s,a),ua(a),h&4&&(h=a.updateQueue,h!==null&&(a.updateQueue=null,vp(a,h)));break;case 21:break;default:la(s,a),ua(a)}}function ua(a){var s=a.flags;if(s&2){try{if(a.tag!==27){e:{for(var u=a.return;u!==null;){if(y_(u)){var h=u;break e}u=u.return}throw Error(r(160))}switch(h.tag){case 27:var g=h.stateNode,y=yp(a);Hd(a,y,g);break;case 5:var C=h.stateNode;h.flags&32&&(at(C,\"\"),h.flags&=-33);var D=yp(a);Hd(a,D,C);break;case 3:case 4:var z=h.stateNode.containerInfo,ee=yp(a);_p(a,ee,z);break;default:throw Error(r(161))}}}catch(Ee){Wt(a,a.return,Ee)}a.flags&=-3}s&4096&&(a.flags&=-4097)}function w_(a){if(a.subtreeFlags&1024)for(a=a.child;a!==null;){var s=a;w_(s),s.tag===5&&s.flags&1024&&s.stateNode.reset(),a=a.sibling}}function Ni(a,s){if(s.subtreeFlags&8772)for(s=s.child;s!==null;)v_(a,s.alternate,s),s=s.sibling}function Wo(a){for(a=a.child;a!==null;){var s=a;switch(s.tag){case 0:case 11:case 14:case 15:es(4,s,s.return),Wo(s);break;case 1:Fr(s,s.return);var u=s.stateNode;typeof u.componentWillUnmount==\"function\"&&g_(s,s.return,u),Wo(s);break;case 26:case 27:case 5:Fr(s,s.return),Wo(s);break;case 22:Fr(s,s.return),s.memoizedState===null&&Wo(s);break;default:Wo(s)}a=a.sibling}}function ts(a,s,u){for(u=u&&(s.subtreeFlags&8772)!==0,s=s.child;s!==null;){var h=s.alternate,g=a,y=s,C=y.flags;switch(y.tag){case 0:case 11:case 15:ts(g,y,u),Lu(4,y);break;case 1:if(ts(g,y,u),h=y,g=h.stateNode,typeof g.componentDidMount==\"function\")try{g.componentDidMount()}catch(ee){Wt(h,h.return,ee)}if(h=y,g=h.updateQueue,g!==null){var D=h.stateNode;try{var z=g.shared.hiddenCallbacks;if(z!==null)for(g.shared.hiddenCallbacks=null,g=0;g<z.length;g++)h_(z[g],D)}catch(ee){Wt(h,h.return,ee)}}u&&C&64&&p_(y),eo(y,y.return);break;case 26:case 27:case 5:ts(g,y,u),u&&h===null&&C&4&&b_(y),eo(y,y.return);break;case 12:ts(g,y,u);break;case 13:ts(g,y,u),u&&C&4&&A_(g,y);break;case 22:y.memoizedState===null&&ts(g,y,u),eo(y,y.return);break;default:ts(g,y,u)}s=s.sibling}}function xp(a,s){var u=null;a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),a=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(a=s.memoizedState.cachePool.pool),a!==u&&(a!=null&&a.refCount++,u!=null&&vu(u))}function Sp(a,s){a=null,s.alternate!==null&&(a=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==a&&(s.refCount++,a!=null&&vu(a))}function ns(a,s,u,h){if(s.subtreeFlags&10256)for(s=s.child;s!==null;)C_(a,s,u,h),s=s.sibling}function C_(a,s,u,h){var g=s.flags;switch(s.tag){case 0:case 11:case 15:ns(a,s,u,h),g&2048&&Lu(9,s);break;case 3:ns(a,s,u,h),g&2048&&(a=null,s.alternate!==null&&(a=s.alternate.memoizedState.cache),s=s.memoizedState.cache,s!==a&&(s.refCount++,a!=null&&vu(a)));break;case 12:if(g&2048){ns(a,s,u,h),a=s.stateNode;try{var y=s.memoizedProps,C=y.id,D=y.onPostCommit;typeof D==\"function\"&&D(C,s.alternate===null?\"mount\":\"update\",a.passiveEffectDuration,-0)}catch(z){Wt(s,s.return,z)}}else ns(a,s,u,h);break;case 23:break;case 22:y=s.stateNode,s.memoizedState!==null?y._visibility&4?ns(a,s,u,h):Iu(a,s):y._visibility&4?ns(a,s,u,h):(y._visibility|=4,Qo(a,s,u,h,(s.subtreeFlags&10256)!==0)),g&2048&&xp(s.alternate,s);break;case 24:ns(a,s,u,h),g&2048&&Sp(s.alternate,s);break;default:ns(a,s,u,h)}}function Qo(a,s,u,h,g){for(g=g&&(s.subtreeFlags&10256)!==0,s=s.child;s!==null;){var y=a,C=s,D=u,z=h,ee=C.flags;switch(C.tag){case 0:case 11:case 15:Qo(y,C,D,z,g),Lu(8,C);break;case 23:break;case 22:var Ee=C.stateNode;C.memoizedState!==null?Ee._visibility&4?Qo(y,C,D,z,g):Iu(y,C):(Ee._visibility|=4,Qo(y,C,D,z,g)),g&&ee&2048&&xp(C.alternate,C);break;case 24:Qo(y,C,D,z,g),g&&ee&2048&&Sp(C.alternate,C);break;default:Qo(y,C,D,z,g)}s=s.sibling}}function Iu(a,s){if(s.subtreeFlags&10256)for(s=s.child;s!==null;){var u=a,h=s,g=h.flags;switch(h.tag){case 22:Iu(u,h),g&2048&&xp(h.alternate,h);break;case 24:Iu(u,h),g&2048&&Sp(h.alternate,h);break;default:Iu(u,h)}s=s.sibling}}var Du=8192;function Zo(a){if(a.subtreeFlags&Du)for(a=a.child;a!==null;)R_(a),a=a.sibling}function R_(a){switch(a.tag){case 26:Zo(a),a.flags&Du&&a.memoizedState!==null&&y3(Ra,a.memoizedState,a.memoizedProps);break;case 5:Zo(a);break;case 3:case 4:var s=Ra;Ra=tf(a.stateNode.containerInfo),Zo(a),Ra=s;break;case 22:a.memoizedState===null&&(s=a.alternate,s!==null&&s.memoizedState!==null?(s=Du,Du=16777216,Zo(a),Du=s):Zo(a));break;default:Zo(a)}}function O_(a){var s=a.alternate;if(s!==null&&(a=s.child,a!==null)){s.child=null;do s=a.sibling,a.sibling=null,a=s;while(a!==null)}}function Mu(a){var s=a.deletions;if((a.flags&16)!==0){if(s!==null)for(var u=0;u<s.length;u++){var h=s[u];Gn=h,L_(h,a)}O_(a)}if(a.subtreeFlags&10256)for(a=a.child;a!==null;)k_(a),a=a.sibling}function k_(a){switch(a.tag){case 0:case 11:case 15:Mu(a),a.flags&2048&&es(9,a,a.return);break;case 3:Mu(a);break;case 12:Mu(a);break;case 22:var s=a.stateNode;a.memoizedState!==null&&s._visibility&4&&(a.return===null||a.return.tag!==13)?(s._visibility&=-5,jd(a)):Mu(a);break;default:Mu(a)}}function jd(a){var s=a.deletions;if((a.flags&16)!==0){if(s!==null)for(var u=0;u<s.length;u++){var h=s[u];Gn=h,L_(h,a)}O_(a)}for(a=a.child;a!==null;){switch(s=a,s.tag){case 0:case 11:case 15:es(8,s,s.return),jd(s);break;case 22:u=s.stateNode,u._visibility&4&&(u._visibility&=-5,jd(s));break;default:jd(s)}a=a.sibling}}function L_(a,s){for(;Gn!==null;){var u=Gn;switch(u.tag){case 0:case 11:case 15:es(8,u,s);break;case 23:case 22:if(u.memoizedState!==null&&u.memoizedState.cachePool!==null){var h=u.memoizedState.cachePool.pool;h!=null&&h.refCount++}break;case 24:vu(u.memoizedState.cache)}if(h=u.child,h!==null)h.return=u,Gn=h;else e:for(u=a;Gn!==null;){h=Gn;var g=h.sibling,y=h.return;if(x_(h),h===u){Gn=null;break e}if(g!==null){g.return=y,Gn=g;break e}Gn=y}}}function Lk(a,s,u,h){this.tag=a,this.key=u,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=s,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=h,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function ca(a,s,u,h){return new Lk(a,s,u,h)}function Ap(a){return a=a.prototype,!(!a||!a.isReactComponent)}function rs(a,s){var u=a.alternate;return u===null?(u=ca(a.tag,s,a.key,a.mode),u.elementType=a.elementType,u.type=a.type,u.stateNode=a.stateNode,u.alternate=a,a.alternate=u):(u.pendingProps=s,u.type=a.type,u.flags=0,u.subtreeFlags=0,u.deletions=null),u.flags=a.flags&31457280,u.childLanes=a.childLanes,u.lanes=a.lanes,u.child=a.child,u.memoizedProps=a.memoizedProps,u.memoizedState=a.memoizedState,u.updateQueue=a.updateQueue,s=a.dependencies,u.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext},u.sibling=a.sibling,u.index=a.index,u.ref=a.ref,u.refCleanup=a.refCleanup,u}function I_(a,s){a.flags&=31457282;var u=a.alternate;return u===null?(a.childLanes=0,a.lanes=s,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=u.childLanes,a.lanes=u.lanes,a.child=u.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=u.memoizedProps,a.memoizedState=u.memoizedState,a.updateQueue=u.updateQueue,a.type=u.type,s=u.dependencies,a.dependencies=s===null?null:{lanes:s.lanes,firstContext:s.firstContext}),a}function zd(a,s,u,h,g,y){var C=0;if(h=a,typeof a==\"function\")Ap(a)&&(C=1);else if(typeof a==\"string\")C=b3(a,u,Pt.current)?26:a===\"html\"||a===\"head\"||a===\"body\"?27:5;else e:switch(a){case d:return to(u.children,g,y,s);case f:C=8,g|=24;break;case m:return a=ca(12,u,s,g|2),a.elementType=m,a.lanes=y,a;case S:return a=ca(13,u,s,g),a.elementType=S,a.lanes=y,a;case N:return a=ca(19,u,s,g),a.elementType=N,a.lanes=y,a;case L:return D_(u,g,y,s);default:if(typeof a==\"object\"&&a!==null)switch(a.$$typeof){case p:case _:C=10;break e;case E:C=9;break e;case x:C=11;break e;case v:C=14;break e;case O:C=16,h=null;break e}C=29,u=Error(r(130,a===null?\"null\":typeof a,\"\")),h=null}return s=ca(C,u,s,g),s.elementType=a,s.type=h,s.lanes=y,s}function to(a,s,u,h){return a=ca(7,a,h,s),a.lanes=u,a}function D_(a,s,u,h){a=ca(22,a,h,s),a.elementType=L,a.lanes=u;var g={_visibility:1,_pendingVisibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null,_current:null,detach:function(){var y=g._current;if(y===null)throw Error(r(456));if((g._pendingVisibility&2)===0){var C=Yi(y,2);C!==null&&(g._pendingVisibility|=2,gr(C,y,2))}},attach:function(){var y=g._current;if(y===null)throw Error(r(456));if((g._pendingVisibility&2)!==0){var C=Yi(y,2);C!==null&&(g._pendingVisibility&=-3,gr(C,y,2))}}};return a.stateNode=g,a}function Np(a,s,u){return a=ca(6,a,null,s),a.lanes=u,a}function wp(a,s,u){return s=ca(4,a.children!==null?a.children:[],a.key,s),s.lanes=u,s.stateNode={containerInfo:a.containerInfo,pendingChildren:null,implementation:a.implementation},s}function wi(a){a.flags|=4}function M_(a,s){if(s.type!==\"stylesheet\"||(s.state.loading&4)!==0)a.flags&=-16777217;else if(a.flags|=16777216,!yT(s)){if(s=oa.current,s!==null&&((Dt&4194176)===Dt?za!==null:(Dt&62914560)!==Dt&&(Dt&536870912)===0||s!==za))throw yu=Lm,Z1;a.flags|=8192}}function $d(a,s){s!==null&&(a.flags|=4),a.flags&16384&&(s=a.tag!==22?$():536870912,a.lanes|=s,el|=s)}function Pu(a,s){if(!Ft)switch(a.tailMode){case\"hidden\":s=a.tail;for(var u=null;s!==null;)s.alternate!==null&&(u=s),s=s.sibling;u===null?a.tail=null:u.sibling=null;break;case\"collapsed\":u=a.tail;for(var h=null;u!==null;)u.alternate!==null&&(h=u),u=u.sibling;h===null?s||a.tail===null?a.tail=null:a.tail.sibling=null:h.sibling=null}}function fn(a){var s=a.alternate!==null&&a.alternate.child===a.child,u=0,h=0;if(s)for(var g=a.child;g!==null;)u|=g.lanes|g.childLanes,h|=g.subtreeFlags&31457280,h|=g.flags&31457280,g.return=a,g=g.sibling;else for(g=a.child;g!==null;)u|=g.lanes|g.childLanes,h|=g.subtreeFlags,h|=g.flags,g.return=a,g=g.sibling;return a.subtreeFlags|=h,a.childLanes=u,s}function Ik(a,s,u){var h=s.pendingProps;switch(Om(s),s.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return fn(s),null;case 1:return fn(s),null;case 3:return u=s.stateNode,h=null,a!==null&&(h=a.memoizedState.cache),s.memoizedState.cache!==h&&(s.flags|=2048),xi(Hn),mt(),u.pendingContext&&(u.context=u.pendingContext,u.pendingContext=null),(a===null||a.child===null)&&(pu(s)?wi(s):a===null||a.memoizedState.isDehydrated&&(s.flags&256)===0||(s.flags|=1024,Ca!==null&&(Mp(Ca),Ca=null))),fn(s),null;case 26:return u=s.memoizedState,a===null?(wi(s),u!==null?(fn(s),M_(s,u)):(fn(s),s.flags&=-16777217)):u?u!==a.memoizedState?(wi(s),fn(s),M_(s,u)):(fn(s),s.flags&=-16777217):(a.memoizedProps!==h&&wi(s),fn(s),s.flags&=-16777217),null;case 27:$n(s),u=pn.current;var g=s.type;if(a!==null&&s.stateNode!=null)a.memoizedProps!==h&&wi(s);else{if(!h){if(s.stateNode===null)throw Error(r(166));return fn(s),null}a=Pt.current,pu(s)?W1(s):(a=dT(g,h,u),s.stateNode=a,wi(s))}return fn(s),null;case 5:if($n(s),u=s.type,a!==null&&s.stateNode!=null)a.memoizedProps!==h&&wi(s);else{if(!h){if(s.stateNode===null)throw Error(r(166));return fn(s),null}if(a=Pt.current,pu(s))W1(s);else{switch(g=ef(pn.current),a){case 1:a=g.createElementNS(\"http://www.w3.org/2000/svg\",u);break;case 2:a=g.createElementNS(\"http://www.w3.org/1998/Math/MathML\",u);break;default:switch(u){case\"svg\":a=g.createElementNS(\"http://www.w3.org/2000/svg\",u);break;case\"math\":a=g.createElementNS(\"http://www.w3.org/1998/Math/MathML\",u);break;case\"script\":a=g.createElement(\"div\"),a.innerHTML=\"<script><\\/script>\",a=a.removeChild(a.firstChild);break;case\"select\":a=typeof h.is==\"string\"?g.createElement(\"select\",{is:h.is}):g.createElement(\"select\"),h.multiple?a.multiple=!0:h.size&&(a.size=h.size);break;default:a=typeof h.is==\"string\"?g.createElement(u,{is:h.is}):g.createElement(u)}}a[He]=s,a[Me]=h;e:for(g=s.child;g!==null;){if(g.tag===5||g.tag===6)a.appendChild(g.stateNode);else if(g.tag!==4&&g.tag!==27&&g.child!==null){g.child.return=g,g=g.child;continue}if(g===s)break e;for(;g.sibling===null;){if(g.return===null||g.return===s)break e;g=g.return}g.sibling.return=g.return,g=g.sibling}s.stateNode=a;e:switch(rr(a,u,h),u){case\"button\":case\"input\":case\"select\":case\"textarea\":a=!!h.autoFocus;break e;case\"img\":a=!0;break e;default:a=!1}a&&wi(s)}}return fn(s),s.flags&=-16777217,null;case 6:if(a&&s.stateNode!=null)a.memoizedProps!==h&&wi(s);else{if(typeof h!=\"string\"&&s.stateNode===null)throw Error(r(166));if(a=pn.current,pu(s)){if(a=s.stateNode,u=s.memoizedProps,h=null,g=pr,g!==null)switch(g.tag){case 27:case 5:h=g.memoizedProps}a[He]=s,a=!!(a.nodeValue===u||h!==null&&h.suppressHydrationWarning===!0||iT(a.nodeValue,u)),a||Ys(s)}else a=ef(a).createTextNode(h),a[He]=s,s.stateNode=a}return fn(s),null;case 13:if(h=s.memoizedState,a===null||a.memoizedState!==null&&a.memoizedState.dehydrated!==null){if(g=pu(s),h!==null&&h.dehydrated!==null){if(a===null){if(!g)throw Error(r(318));if(g=s.memoizedState,g=g!==null?g.dehydrated:null,!g)throw Error(r(317));g[He]=s}else gu(),(s.flags&128)===0&&(s.memoizedState=null),s.flags|=4;fn(s),g=!1}else Ca!==null&&(Mp(Ca),Ca=null),g=!0;if(!g)return s.flags&256?(yi(s),s):(yi(s),null)}if(yi(s),(s.flags&128)!==0)return s.lanes=u,s;if(u=h!==null,a=a!==null&&a.memoizedState!==null,u){h=s.child,g=null,h.alternate!==null&&h.alternate.memoizedState!==null&&h.alternate.memoizedState.cachePool!==null&&(g=h.alternate.memoizedState.cachePool.pool);var y=null;h.memoizedState!==null&&h.memoizedState.cachePool!==null&&(y=h.memoizedState.cachePool.pool),y!==g&&(h.flags|=2048)}return u!==a&&u&&(s.child.flags|=8192),$d(s,s.updateQueue),fn(s),null;case 4:return mt(),a===null&&Gp(s.stateNode.containerInfo),fn(s),null;case 10:return xi(s.type),fn(s),null;case 19:if(Ze(Fn),g=s.memoizedState,g===null)return fn(s),null;if(h=(s.flags&128)!==0,y=g.rendering,y===null)if(h)Pu(g,!1);else{if(bn!==0||a!==null&&(a.flags&128)!==0)for(a=s.child;a!==null;){if(y=Nd(a),y!==null){for(s.flags|=128,Pu(g,!1),a=y.updateQueue,s.updateQueue=a,$d(s,a),s.subtreeFlags=0,a=u,u=s.child;u!==null;)I_(u,a),u=u.sibling;return Ue(Fn,Fn.current&1|2),s.child}a=a.sibling}g.tail!==null&&dn()>qd&&(s.flags|=128,h=!0,Pu(g,!1),s.lanes=4194304)}else{if(!h)if(a=Nd(y),a!==null){if(s.flags|=128,h=!0,a=a.updateQueue,s.updateQueue=a,$d(s,a),Pu(g,!0),g.tail===null&&g.tailMode===\"hidden\"&&!y.alternate&&!Ft)return fn(s),null}else 2*dn()-g.renderingStartTime>qd&&u!==536870912&&(s.flags|=128,h=!0,Pu(g,!1),s.lanes=4194304);g.isBackwards?(y.sibling=s.child,s.child=y):(a=g.last,a!==null?a.sibling=y:s.child=y,g.last=y)}return g.tail!==null?(s=g.tail,g.rendering=s,g.tail=s.sibling,g.renderingStartTime=dn(),s.sibling=null,a=Fn.current,Ue(Fn,h?a&1|2:a&1),s):(fn(s),null);case 22:case 23:return yi(s),Dm(),h=s.memoizedState!==null,a!==null?a.memoizedState!==null!==h&&(s.flags|=8192):h&&(s.flags|=8192),h?(u&536870912)!==0&&(s.flags&128)===0&&(fn(s),s.subtreeFlags&6&&(s.flags|=8192)):fn(s),u=s.updateQueue,u!==null&&$d(s,u.retryQueue),u=null,a!==null&&a.memoizedState!==null&&a.memoizedState.cachePool!==null&&(u=a.memoizedState.cachePool.pool),h=null,s.memoizedState!==null&&s.memoizedState.cachePool!==null&&(h=s.memoizedState.cachePool.pool),h!==u&&(s.flags|=2048),a!==null&&Ze(Vs),null;case 24:return u=null,a!==null&&(u=a.memoizedState.cache),s.memoizedState.cache!==u&&(s.flags|=2048),xi(Hn),fn(s),null;case 25:return null}throw Error(r(156,s.tag))}function Dk(a,s){switch(Om(s),s.tag){case 1:return a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 3:return xi(Hn),mt(),a=s.flags,(a&65536)!==0&&(a&128)===0?(s.flags=a&-65537|128,s):null;case 26:case 27:case 5:return $n(s),null;case 13:if(yi(s),a=s.memoizedState,a!==null&&a.dehydrated!==null){if(s.alternate===null)throw Error(r(340));gu()}return a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 19:return Ze(Fn),null;case 4:return mt(),null;case 10:return xi(s.type),null;case 22:case 23:return yi(s),Dm(),a!==null&&Ze(Vs),a=s.flags,a&65536?(s.flags=a&-65537|128,s):null;case 24:return xi(Hn),null;case 25:return null;default:return null}}function P_(a,s){switch(Om(s),s.tag){case 3:xi(Hn),mt();break;case 26:case 27:case 5:$n(s);break;case 4:mt();break;case 13:yi(s);break;case 19:Ze(Fn);break;case 10:xi(s.type);break;case 22:case 23:yi(s),Dm(),a!==null&&Ze(Vs);break;case 24:xi(Hn)}}var Mk={getCacheForType:function(a){var s=sr(Hn),u=s.data.get(a);return u===void 0&&(u=a(),s.data.set(a,u)),u}},Pk=typeof WeakMap==\"function\"?WeakMap:Map,hn=0,tn=null,Nt=null,Dt=0,nn=0,jr=null,Ci=!1,Jo=!1,Cp=!1,Ri=0,bn=0,as=0,no=0,Rp=0,da=0,el=0,Bu=null,qa=null,Op=!1,kp=0,qd=1/0,Yd=null,is=null,Gd=!1,ro=null,Uu=0,Lp=0,Ip=null,Fu=0,Dp=null;function zr(){if((hn&2)!==0&&Dt!==0)return Dt&-Dt;if(F.T!==null){var a=Yo;return a!==0?a:zp()}return Fe()}function B_(){da===0&&(da=(Dt&536870912)===0||Ft?st():536870912);var a=oa.current;return a!==null&&(a.flags|=32),da}function gr(a,s,u){(a===tn&&nn===2||a.cancelPendingCommit!==null)&&(tl(a,0),Oi(a,Dt,da,!1)),G(a,u),((hn&2)===0||a!==tn)&&(a===tn&&((hn&2)===0&&(no|=u),bn===4&&Oi(a,Dt,da,!1)),Ya(a))}function U_(a,s,u){if((hn&6)!==0)throw Error(r(327));var h=!u&&(s&60)===0&&(s&a.expiredLanes)===0||pe(a,s),g=h?Fk(a,s):Up(a,s,!0),y=h;do{if(g===0){Jo&&!h&&Oi(a,s,0,!1);break}else if(g===6)Oi(a,s,0,!Ci);else{if(u=a.current.alternate,y&&!Bk(u)){g=Up(a,s,!1),y=!1;continue}if(g===2){if(y=s,a.errorRecoveryDisabledLanes&y)var C=0;else C=a.pendingLanes&-536870913,C=C!==0?C:C&536870912?536870912:0;if(C!==0){s=C;e:{var D=a;g=Bu;var z=D.current.memoizedState.isDehydrated;if(z&&(tl(D,C).flags|=256),C=Up(D,C,!1),C!==2){if(Cp&&!z){D.errorRecoveryDisabledLanes|=y,no|=y,g=4;break e}y=qa,qa=g,y!==null&&Mp(y)}g=C}if(y=!1,g!==2)continue}}if(g===1){tl(a,0),Oi(a,s,0,!0);break}e:{switch(h=a,g){case 0:case 1:throw Error(r(345));case 4:if((s&4194176)===s){Oi(h,s,da,!Ci);break e}break;case 2:qa=null;break;case 3:case 5:break;default:throw Error(r(329))}if(h.finishedWork=u,h.finishedLanes=s,(s&62914560)===s&&(y=kp+300-dn(),10<y)){if(Oi(h,s,da,!Ci),Y(h,0)!==0)break e;h.timeoutHandle=lT(F_.bind(null,h,u,qa,Yd,Op,s,da,no,el,Ci,2,-0,0),y);break e}F_(h,u,qa,Yd,Op,s,da,no,el,Ci,0,-0,0)}}break}while(!0);Ya(a)}function Mp(a){qa===null?qa=a:qa.push.apply(qa,a)}function F_(a,s,u,h,g,y,C,D,z,ee,Ee,Se,ue){var ge=s.subtreeFlags;if((ge&8192||(ge&16785408)===16785408)&&(Yu={stylesheets:null,count:0,unsuspend:E3},R_(s),s=_3(),s!==null)){a.cancelPendingCommit=s(G_.bind(null,a,u,h,g,C,D,z,1,Se,ue)),Oi(a,y,C,!ee);return}G_(a,u,h,g,C,D,z,Ee,Se,ue)}function Bk(a){for(var s=a;;){var u=s.tag;if((u===0||u===11||u===15)&&s.flags&16384&&(u=s.updateQueue,u!==null&&(u=u.stores,u!==null)))for(var h=0;h<u.length;h++){var g=u[h],y=g.getSnapshot;g=g.value;try{if(!Ur(y(),g))return!1}catch{return!1}}if(u=s.child,s.subtreeFlags&16384&&u!==null)u.return=s,s=u;else{if(s===a)break;for(;s.sibling===null;){if(s.return===null||s.return===a)return!0;s=s.return}s.sibling.return=s.return,s=s.sibling}}return!0}function Oi(a,s,u,h){s&=~Rp,s&=~no,a.suspendedLanes|=s,a.pingedLanes&=~s,h&&(a.warmLanes|=s),h=a.expirationTimes;for(var g=s;0<g;){var y=31-Xt(g),C=1<<y;h[y]=-1,g&=~C}u!==0&&me(a,u,s)}function Vd(){return(hn&6)===0?(Hu(0),!1):!0}function Pp(){if(Nt!==null){if(nn===0)var a=Nt.return;else a=Nt,vi=Zs=null,zm(a),$o=null,_u=0,a=Nt;for(;a!==null;)P_(a.alternate,a),a=a.return;Nt=null}}function tl(a,s){a.finishedWork=null,a.finishedLanes=0;var u=a.timeoutHandle;u!==-1&&(a.timeoutHandle=-1,n3(u)),u=a.cancelPendingCommit,u!==null&&(a.cancelPendingCommit=null,u()),Pp(),tn=a,Nt=u=rs(a.current,null),Dt=s,nn=0,jr=null,Ci=!1,Jo=pe(a,s),Cp=!1,el=da=Rp=no=as=bn=0,qa=Bu=null,Op=!1,(s&8)!==0&&(s|=s&32);var h=a.entangledLanes;if(h!==0)for(a=a.entanglements,h&=s;0<h;){var g=31-Xt(h),y=1<<g;s|=a[g],h&=~y}return Ri=s,bd(),u}function H_(a,s){yt=null,F.H=$a,s===Eu?(s=ty(),nn=3):s===Z1?(s=ty(),nn=4):nn=s===Jy?8:s!==null&&typeof s==\"object\"&&typeof s.then==\"function\"?6:1,jr=s,Nt===null&&(bn=1,Bd(a,aa(s,a.current)))}function j_(){var a=F.H;return F.H=$a,a===null?$a:a}function z_(){var a=F.A;return F.A=Mk,a}function Bp(){bn=4,Ci||(Dt&4194176)!==Dt&&oa.current!==null||(Jo=!0),(as&134217727)===0&&(no&134217727)===0||tn===null||Oi(tn,Dt,da,!1)}function Up(a,s,u){var h=hn;hn|=2;var g=j_(),y=z_();(tn!==a||Dt!==s)&&(Yd=null,tl(a,s)),s=!1;var C=bn;e:do try{if(nn!==0&&Nt!==null){var D=Nt,z=jr;switch(nn){case 8:Pp(),C=6;break e;case 3:case 2:case 6:oa.current===null&&(s=!0);var ee=nn;if(nn=0,jr=null,nl(a,D,z,ee),u&&Jo){C=0;break e}break;default:ee=nn,nn=0,jr=null,nl(a,D,z,ee)}}Uk(),C=bn;break}catch(Ee){H_(a,Ee)}while(!0);return s&&a.shellSuspendCounter++,vi=Zs=null,hn=h,F.H=g,F.A=y,Nt===null&&(tn=null,Dt=0,bd()),C}function Uk(){for(;Nt!==null;)$_(Nt)}function Fk(a,s){var u=hn;hn|=2;var h=j_(),g=z_();tn!==a||Dt!==s?(Yd=null,qd=dn()+500,tl(a,s)):Jo=pe(a,s);e:do try{if(nn!==0&&Nt!==null){s=Nt;var y=jr;t:switch(nn){case 1:nn=0,jr=null,nl(a,s,y,1);break;case 2:if(J1(y)){nn=0,jr=null,q_(s);break}s=function(){nn===2&&tn===a&&(nn=7),Ya(a)},y.then(s,s);break e;case 3:nn=7;break e;case 4:nn=5;break e;case 7:J1(y)?(nn=0,jr=null,q_(s)):(nn=0,jr=null,nl(a,s,y,7));break;case 5:var C=null;switch(Nt.tag){case 26:C=Nt.memoizedState;case 5:case 27:var D=Nt;if(!C||yT(C)){nn=0,jr=null;var z=D.sibling;if(z!==null)Nt=z;else{var ee=D.return;ee!==null?(Nt=ee,Kd(ee)):Nt=null}break t}}nn=0,jr=null,nl(a,s,y,5);break;case 6:nn=0,jr=null,nl(a,s,y,6);break;case 8:Pp(),bn=6;break e;default:throw Error(r(462))}}Hk();break}catch(Ee){H_(a,Ee)}while(!0);return vi=Zs=null,F.H=h,F.A=g,hn=u,Nt!==null?0:(tn=null,Dt=0,bd(),bn)}function Hk(){for(;Nt!==null&&!Ir();)$_(Nt)}function $_(a){var s=d_(a.alternate,a,Ri);a.memoizedProps=a.pendingProps,s===null?Kd(a):Nt=s}function q_(a){var s=a,u=s.alternate;switch(s.tag){case 15:case 0:s=i_(u,s,s.pendingProps,s.type,void 0,Dt);break;case 11:s=i_(u,s,s.pendingProps,s.type.render,s.ref,Dt);break;case 5:zm(s);default:P_(u,s),s=Nt=I_(s,Ri),s=d_(u,s,Ri)}a.memoizedProps=a.pendingProps,s===null?Kd(a):Nt=s}function nl(a,s,u,h){vi=Zs=null,zm(s),$o=null,_u=0;var g=s.return;try{if(Ck(a,g,s,u,Dt)){bn=1,Bd(a,aa(u,a.current)),Nt=null;return}}catch(y){if(g!==null)throw Nt=g,y;bn=1,Bd(a,aa(u,a.current)),Nt=null;return}s.flags&32768?(Ft||h===1?a=!0:Jo||(Dt&536870912)!==0?a=!1:(Ci=a=!0,(h===2||h===3||h===6)&&(h=oa.current,h!==null&&h.tag===13&&(h.flags|=16384))),Y_(s,a)):Kd(s)}function Kd(a){var s=a;do{if((s.flags&32768)!==0){Y_(s,Ci);return}a=s.return;var u=Ik(s.alternate,s,Ri);if(u!==null){Nt=u;return}if(s=s.sibling,s!==null){Nt=s;return}Nt=s=a}while(s!==null);bn===0&&(bn=5)}function Y_(a,s){do{var u=Dk(a.alternate,a);if(u!==null){u.flags&=32767,Nt=u;return}if(u=a.return,u!==null&&(u.flags|=32768,u.subtreeFlags=0,u.deletions=null),!s&&(a=a.sibling,a!==null)){Nt=a;return}Nt=a=u}while(a!==null);bn=6,Nt=null}function G_(a,s,u,h,g,y,C,D,z,ee){var Ee=F.T,Se=ce.p;try{ce.p=2,F.T=null,jk(a,s,u,h,Se,g,y,C,D,z,ee)}finally{F.T=Ee,ce.p=Se}}function jk(a,s,u,h,g,y,C,D){do rl();while(ro!==null);if((hn&6)!==0)throw Error(r(327));var z=a.finishedWork;if(h=a.finishedLanes,z===null)return null;if(a.finishedWork=null,a.finishedLanes=0,z===a.current)throw Error(r(177));a.callbackNode=null,a.callbackPriority=0,a.cancelPendingCommit=null;var ee=z.lanes|z.childLanes;if(ee|=wm,se(a,h,ee,y,C,D),a===tn&&(Nt=tn=null,Dt=0),(z.subtreeFlags&10256)===0&&(z.flags&10256)===0||Gd||(Gd=!0,Lp=ee,Ip=u,Yk(tt,function(){return rl(),null})),u=(z.flags&15990)!==0,(z.subtreeFlags&15990)!==0||u?(u=F.T,F.T=null,y=ce.p,ce.p=2,C=hn,hn|=4,Ok(a,z),N_(z,a),dk(Wp,a.containerInfo),of=!!Xp,Wp=Xp=null,a.current=z,v_(a,z.alternate,z),ta(),hn=C,ce.p=y,F.T=u):a.current=z,Gd?(Gd=!1,ro=a,Uu=h):V_(a,ee),ee=a.pendingLanes,ee===0&&(is=null),Na(z.stateNode),Ya(a),s!==null)for(g=a.onRecoverableError,z=0;z<s.length;z++)ee=s[z],g(ee.value,{componentStack:ee.stack});return(Uu&3)!==0&&rl(),ee=a.pendingLanes,(h&4194218)!==0&&(ee&42)!==0?a===Dp?Fu++:(Fu=0,Dp=a):Fu=0,Hu(0),null}function V_(a,s){(a.pooledCacheLanes&=s)===0&&(s=a.pooledCache,s!=null&&(a.pooledCache=null,vu(s)))}function rl(){if(ro!==null){var a=ro,s=Lp;Lp=0;var u=Le(Uu),h=F.T,g=ce.p;try{if(ce.p=32>u?32:u,F.T=null,ro===null)var y=!1;else{u=Ip,Ip=null;var C=ro,D=Uu;if(ro=null,Uu=0,(hn&6)!==0)throw Error(r(331));var z=hn;if(hn|=4,k_(C.current),C_(C,C.current,D,u),hn=z,Hu(0,!1),on&&typeof on.onPostCommitFiberRoot==\"function\")try{on.onPostCommitFiberRoot(An,C)}catch{}y=!0}return y}finally{ce.p=g,F.T=h,V_(a,s)}}return!1}function K_(a,s,u){s=aa(u,s),s=np(a.stateNode,s,2),a=Ji(a,s,2),a!==null&&(G(a,2),Ya(a))}function Wt(a,s,u){if(a.tag===3)K_(a,a,u);else for(;s!==null;){if(s.tag===3){K_(s,a,u);break}else if(s.tag===1){var h=s.stateNode;if(typeof s.type.getDerivedStateFromError==\"function\"||typeof h.componentDidCatch==\"function\"&&(is===null||!is.has(h))){a=aa(u,a),u=Qy(2),h=Ji(s,u,2),h!==null&&(Zy(u,h,s,a),G(h,2),Ya(h));break}}s=s.return}}function Fp(a,s,u){var h=a.pingCache;if(h===null){h=a.pingCache=new Pk;var g=new Set;h.set(s,g)}else g=h.get(s),g===void 0&&(g=new Set,h.set(s,g));g.has(u)||(Cp=!0,g.add(u),a=zk.bind(null,a,s,u),s.then(a,a))}function zk(a,s,u){var h=a.pingCache;h!==null&&h.delete(s),a.pingedLanes|=a.suspendedLanes&u,a.warmLanes&=~u,tn===a&&(Dt&u)===u&&(bn===4||bn===3&&(Dt&62914560)===Dt&&300>dn()-kp?(hn&2)===0&&tl(a,0):Rp|=u,el===Dt&&(el=0)),Ya(a)}function X_(a,s){s===0&&(s=$()),a=Yi(a,s),a!==null&&(G(a,s),Ya(a))}function $k(a){var s=a.memoizedState,u=0;s!==null&&(u=s.retryLane),X_(a,u)}function qk(a,s){var u=0;switch(a.tag){case 13:var h=a.stateNode,g=a.memoizedState;g!==null&&(u=g.retryLane);break;case 19:h=a.stateNode;break;case 22:h=a.stateNode._retryCache;break;default:throw Error(r(314))}h!==null&&h.delete(s),X_(a,u)}function Yk(a,s){return Aa(a,s)}var Xd=null,al=null,Hp=!1,Wd=!1,jp=!1,ao=0;function Ya(a){a!==al&&a.next===null&&(al===null?Xd=al=a:al=al.next=a),Wd=!0,Hp||(Hp=!0,Vk(Gk))}function Hu(a,s){if(!jp&&Wd){jp=!0;do for(var u=!1,h=Xd;h!==null;){if(a!==0){var g=h.pendingLanes;if(g===0)var y=0;else{var C=h.suspendedLanes,D=h.pingedLanes;y=(1<<31-Xt(42|a)+1)-1,y&=g&~(C&~D),y=y&201326677?y&201326677|1:y?y|2:0}y!==0&&(u=!0,Z_(h,y))}else y=Dt,y=Y(h,h===tn?y:0),(y&3)===0||pe(h,y)||(u=!0,Z_(h,y));h=h.next}while(u);jp=!1}}function Gk(){Wd=Hp=!1;var a=0;ao!==0&&(t3()&&(a=ao),ao=0);for(var s=dn(),u=null,h=Xd;h!==null;){var g=h.next,y=W_(h,s);y===0?(h.next=null,u===null?Xd=g:u.next=g,g===null&&(al=u)):(u=h,(a!==0||(y&3)!==0)&&(Wd=!0)),h=g}Hu(a)}function W_(a,s){for(var u=a.suspendedLanes,h=a.pingedLanes,g=a.expirationTimes,y=a.pendingLanes&-62914561;0<y;){var C=31-Xt(y),D=1<<C,z=g[C];z===-1?((D&u)===0||(D&h)!==0)&&(g[C]=ke(D,s)):z<=s&&(a.expiredLanes|=D),y&=~D}if(s=tn,u=Dt,u=Y(a,a===s?u:0),h=a.callbackNode,u===0||a===s&&nn===2||a.cancelPendingCommit!==null)return h!==null&&h!==null&&fi(h),a.callbackNode=null,a.callbackPriority=0;if((u&3)===0||pe(a,u)){if(s=u&-u,s===a.callbackPriority)return s;switch(h!==null&&fi(h),Le(u)){case 2:case 8:u=Ne;break;case 32:u=tt;break;case 268435456:u=It;break;default:u=tt}return h=Q_.bind(null,a),u=Aa(u,h),a.callbackPriority=s,a.callbackNode=u,s}return h!==null&&h!==null&&fi(h),a.callbackPriority=2,a.callbackNode=null,2}function Q_(a,s){var u=a.callbackNode;if(rl()&&a.callbackNode!==u)return null;var h=Dt;return h=Y(a,a===tn?h:0),h===0?null:(U_(a,h,s),W_(a,dn()),a.callbackNode!=null&&a.callbackNode===u?Q_.bind(null,a):null)}function Z_(a,s){if(rl())return null;U_(a,s,!0)}function Vk(a){r3(function(){(hn&6)!==0?Aa(de,a):a()})}function zp(){return ao===0&&(ao=st()),ao}function J_(a){return a==null||typeof a==\"symbol\"||typeof a==\"boolean\"?null:typeof a==\"function\"?a:$i(\"\"+a)}function eT(a,s){var u=s.ownerDocument.createElement(\"input\");return u.name=s.name,u.value=s.value,a.id&&u.setAttribute(\"form\",a.id),s.parentNode.insertBefore(u,s),a=new FormData(a),u.parentNode.removeChild(u),a}function Kk(a,s,u,h,g){if(s===\"submit\"&&u&&u.stateNode===g){var y=J_((g[Me]||null).action),C=h.submitter;C&&(s=(s=C[Me]||null)?J_(s.formAction):C.getAttribute(\"formAction\"),s!==null&&(y=s,C=null));var D=new md(\"action\",\"action\",null,h,g);a.push({event:D,listeners:[{instance:null,listener:function(){if(h.defaultPrevented){if(ao!==0){var z=C?eT(g,C):new FormData(g);Qm(u,{pending:!0,data:z,method:g.method,action:y},null,z)}}else typeof y==\"function\"&&(D.preventDefault(),z=C?eT(g,C):new FormData(g),Qm(u,{pending:!0,data:z,method:g.method,action:y},y,z))},currentTarget:g}]})}}for(var $p=0;$p<G1.length;$p++){var qp=G1[$p],Xk=qp.toLowerCase(),Wk=qp[0].toUpperCase()+qp.slice(1);wa(Xk,\"on\"+Wk)}wa(j1,\"onAnimationEnd\"),wa(z1,\"onAnimationIteration\"),wa($1,\"onAnimationStart\"),wa(\"dblclick\",\"onDoubleClick\"),wa(\"focusin\",\"onFocus\"),wa(\"focusout\",\"onBlur\"),wa(hk,\"onTransitionRun\"),wa(mk,\"onTransitionStart\"),wa(pk,\"onTransitionCancel\"),wa(q1,\"onTransitionEnd\"),At(\"onMouseEnter\",[\"mouseout\",\"mouseover\"]),At(\"onMouseLeave\",[\"mouseout\",\"mouseover\"]),At(\"onPointerEnter\",[\"pointerout\",\"pointerover\"]),At(\"onPointerLeave\",[\"pointerout\",\"pointerover\"]),Jn(\"onChange\",\"change click focusin focusout input keydown keyup selectionchange\".split(\" \")),Jn(\"onSelect\",\"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\".split(\" \")),Jn(\"onBeforeInput\",[\"compositionend\",\"keypress\",\"textInput\",\"paste\"]),Jn(\"onCompositionEnd\",\"compositionend focusout keydown keypress keyup mousedown\".split(\" \")),Jn(\"onCompositionStart\",\"compositionstart focusout keydown keypress keyup mousedown\".split(\" \")),Jn(\"onCompositionUpdate\",\"compositionupdate focusout keydown keypress keyup mousedown\".split(\" \"));var ju=\"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting\".split(\" \"),Qk=new Set(\"beforetoggle cancel close invalid load scroll scrollend toggle\".split(\" \").concat(ju));function tT(a,s){s=(s&4)!==0;for(var u=0;u<a.length;u++){var h=a[u],g=h.event;h=h.listeners;e:{var y=void 0;if(s)for(var C=h.length-1;0<=C;C--){var D=h[C],z=D.instance,ee=D.currentTarget;if(D=D.listener,z!==y&&g.isPropagationStopped())break e;y=D,g.currentTarget=ee;try{y(g)}catch(Ee){Pd(Ee)}g.currentTarget=null,y=z}else for(C=0;C<h.length;C++){if(D=h[C],z=D.instance,ee=D.currentTarget,D=D.listener,z!==y&&g.isPropagationStopped())break e;y=D,g.currentTarget=ee;try{y(g)}catch(Ee){Pd(Ee)}g.currentTarget=null,y=z}}}}function kt(a,s){var u=s[zt];u===void 0&&(u=s[zt]=new Set);var h=a+\"__bubble\";u.has(h)||(nT(s,a,2,!1),u.add(h))}function Yp(a,s,u){var h=0;s&&(h|=4),nT(u,a,h,s)}var Qd=\"_reactListening\"+Math.random().toString(36).slice(2);function Gp(a){if(!a[Qd]){a[Qd]=!0,na.forEach(function(u){u!==\"selectionchange\"&&(Qk.has(u)||Yp(u,!1,a),Yp(u,!0,a))});var s=a.nodeType===9?a:a.ownerDocument;s===null||s[Qd]||(s[Qd]=!0,Yp(\"selectionchange\",!1,s))}}function nT(a,s,u,h){switch(AT(s)){case 2:var g=x3;break;case 8:g=S3;break;default:g=i0}u=g.bind(null,s,u,a),g=void 0,!mm||s!==\"touchstart\"&&s!==\"touchmove\"&&s!==\"wheel\"||(g=!0),h?g!==void 0?a.addEventListener(s,u,{capture:!0,passive:g}):a.addEventListener(s,u,!0):g!==void 0?a.addEventListener(s,u,{passive:g}):a.addEventListener(s,u,!1)}function Vp(a,s,u,h,g){var y=h;if((s&1)===0&&(s&2)===0&&h!==null)e:for(;;){if(h===null)return;var C=h.tag;if(C===3||C===4){var D=h.stateNode.containerInfo;if(D===g||D.nodeType===8&&D.parentNode===g)break;if(C===4)for(C=h.return;C!==null;){var z=C.tag;if((z===3||z===4)&&(z=C.stateNode.containerInfo,z===g||z.nodeType===8&&z.parentNode===g))return;C=C.return}for(;D!==null;){if(C=hr(D),C===null)return;if(z=C.tag,z===5||z===6||z===26||z===27){h=y=C;continue e}D=D.parentNode}}h=h.return}cd(function(){var ee=y,Ee=Ke(u),Se=[];e:{var ue=Y1.get(a);if(ue!==void 0){var ge=md,Qe=a;switch(a){case\"keypress\":if(fd(u)===0)break e;case\"keydown\":case\"keyup\":ge=qO;break;case\"focusin\":Qe=\"focus\",ge=Em;break;case\"focusout\":Qe=\"blur\",ge=Em;break;case\"beforeblur\":case\"afterblur\":ge=Em;break;case\"click\":if(u.button===2)break e;case\"auxclick\":case\"dblclick\":case\"mousedown\":case\"mousemove\":case\"mouseup\":case\"mouseout\":case\"mouseover\":case\"contextmenu\":ge=_1;break;case\"drag\":case\"dragend\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"dragstart\":case\"drop\":ge=LO;break;case\"touchcancel\":case\"touchend\":case\"touchmove\":case\"touchstart\":ge=VO;break;case j1:case z1:case $1:ge=MO;break;case q1:ge=XO;break;case\"scroll\":case\"scrollend\":ge=OO;break;case\"wheel\":ge=QO;break;case\"copy\":case\"cut\":case\"paste\":ge=BO;break;case\"gotpointercapture\":case\"lostpointercapture\":case\"pointercancel\":case\"pointerdown\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"pointerup\":ge=v1;break;case\"toggle\":case\"beforetoggle\":ge=JO}var ct=(s&4)!==0,En=!ct&&(a===\"scroll\"||a===\"scrollend\"),re=ct?ue!==null?ue+\"Capture\":null:ue;ct=[];for(var Z=ee,oe;Z!==null;){var _e=Z;if(oe=_e.stateNode,_e=_e.tag,_e!==5&&_e!==26&&_e!==27||oe===null||re===null||(_e=Fs(Z,re),_e!=null&&ct.push(zu(Z,_e,oe))),En)break;Z=Z.return}0<ct.length&&(ue=new ge(ue,Qe,null,u,Ee),Se.push({event:ue,listeners:ct}))}}if((s&7)===0){e:{if(ue=a===\"mouseover\"||a===\"pointerover\",ge=a===\"mouseout\"||a===\"pointerout\",ue&&u!==De&&(Qe=u.relatedTarget||u.fromElement)&&(hr(Qe)||Qe[rt]))break e;if((ge||ue)&&(ue=Ee.window===Ee?Ee:(ue=Ee.ownerDocument)?ue.defaultView||ue.parentWindow:window,ge?(Qe=u.relatedTarget||u.toElement,ge=ee,Qe=Qe?hr(Qe):null,Qe!==null&&(En=K(Qe),ct=Qe.tag,Qe!==En||ct!==5&&ct!==27&&ct!==6)&&(Qe=null)):(ge=null,Qe=ee),ge!==Qe)){if(ct=_1,_e=\"onMouseLeave\",re=\"onMouseEnter\",Z=\"mouse\",(a===\"pointerout\"||a===\"pointerover\")&&(ct=v1,_e=\"onPointerLeave\",re=\"onPointerEnter\",Z=\"pointer\"),En=ge==null?ue:Pn(ge),oe=Qe==null?ue:Pn(Qe),ue=new ct(_e,Z+\"leave\",ge,u,Ee),ue.target=En,ue.relatedTarget=oe,_e=null,hr(Ee)===ee&&(ct=new ct(re,Z+\"enter\",Qe,u,Ee),ct.target=oe,ct.relatedTarget=En,_e=ct),En=_e,ge&&Qe)t:{for(ct=ge,re=Qe,Z=0,oe=ct;oe;oe=il(oe))Z++;for(oe=0,_e=re;_e;_e=il(_e))oe++;for(;0<Z-oe;)ct=il(ct),Z--;for(;0<oe-Z;)re=il(re),oe--;for(;Z--;){if(ct===re||re!==null&&ct===re.alternate)break t;ct=il(ct),re=il(re)}ct=null}else ct=null;ge!==null&&rT(Se,ue,ge,ct,!1),Qe!==null&&En!==null&&rT(Se,En,Qe,ct,!0)}}e:{if(ue=ee?Pn(ee):window,ge=ue.nodeName&&ue.nodeName.toLowerCase(),ge===\"select\"||ge===\"input\"&&ue.type===\"file\")var ze=O1;else if(C1(ue))if(k1)ze=uk;else{ze=ok;var Tt=sk}else ge=ue.nodeName,!ge||ge.toLowerCase()!==\"input\"||ue.type!==\"checkbox\"&&ue.type!==\"radio\"?ee&&zi(ee.elementType)&&(ze=O1):ze=lk;if(ze&&(ze=ze(a,ee))){R1(Se,ze,u,Ee);break e}Tt&&Tt(a,ue,ee),a===\"focusout\"&&ee&&ue.type===\"number\"&&ee.memoizedProps.value!=null&&Do(ue,\"number\",ue.value)}switch(Tt=ee?Pn(ee):window,a){case\"focusin\":(C1(Tt)||Tt.contentEditable===\"true\")&&(Bo=Tt,Sm=ee,mu=null);break;case\"focusout\":mu=Sm=Bo=null;break;case\"mousedown\":Am=!0;break;case\"contextmenu\":case\"mouseup\":case\"dragend\":Am=!1,F1(Se,u,Ee);break;case\"selectionchange\":if(fk)break;case\"keydown\":case\"keyup\":F1(Se,u,Ee)}var Je;if(_m)e:{switch(a){case\"compositionstart\":var it=\"onCompositionStart\";break e;case\"compositionend\":it=\"onCompositionEnd\";break e;case\"compositionupdate\":it=\"onCompositionUpdate\";break e}it=void 0}else Po?N1(a,u)&&(it=\"onCompositionEnd\"):a===\"keydown\"&&u.keyCode===229&&(it=\"onCompositionStart\");it&&(x1&&u.locale!==\"ko\"&&(Po||it!==\"onCompositionStart\"?it===\"onCompositionEnd\"&&Po&&(Je=E1()):(qi=Ee,pm=\"value\"in qi?qi.value:qi.textContent,Po=!0)),Tt=Zd(ee,it),0<Tt.length&&(it=new T1(it,a,null,u,Ee),Se.push({event:it,listeners:Tt}),Je?it.data=Je:(Je=w1(u),Je!==null&&(it.data=Je)))),(Je=tk?nk(a,u):rk(a,u))&&(it=Zd(ee,\"onBeforeInput\"),0<it.length&&(Tt=new T1(\"onBeforeInput\",\"beforeinput\",null,u,Ee),Se.push({event:Tt,listeners:it}),Tt.data=Je)),Kk(Se,a,ee,u,Ee)}tT(Se,s)})}function zu(a,s,u){return{instance:a,listener:s,currentTarget:u}}function Zd(a,s){for(var u=s+\"Capture\",h=[];a!==null;){var g=a,y=g.stateNode;g=g.tag,g!==5&&g!==26&&g!==27||y===null||(g=Fs(a,u),g!=null&&h.unshift(zu(a,g,y)),g=Fs(a,s),g!=null&&h.push(zu(a,g,y))),a=a.return}return h}function il(a){if(a===null)return null;do a=a.return;while(a&&a.tag!==5&&a.tag!==27);return a||null}function rT(a,s,u,h,g){for(var y=s._reactName,C=[];u!==null&&u!==h;){var D=u,z=D.alternate,ee=D.stateNode;if(D=D.tag,z!==null&&z===h)break;D!==5&&D!==26&&D!==27||ee===null||(z=ee,g?(ee=Fs(u,y),ee!=null&&C.unshift(zu(u,ee,z))):g||(ee=Fs(u,y),ee!=null&&C.push(zu(u,ee,z)))),u=u.return}C.length!==0&&a.push({event:s,listeners:C})}var Zk=/\\r\\n?/g,Jk=/\\u0000|\\uFFFD/g;function aT(a){return(typeof a==\"string\"?a:\"\"+a).replace(Zk,`\n`).replace(Jk,\"\")}function iT(a,s){return s=aT(s),aT(a)===s}function Jd(){}function Gt(a,s,u,h,g,y){switch(u){case\"children\":typeof h==\"string\"?s===\"body\"||s===\"textarea\"&&h===\"\"||at(a,h):(typeof h==\"number\"||typeof h==\"bigint\")&&s!==\"body\"&&at(a,\"\"+h);break;case\"className\":mr(a,\"class\",h);break;case\"tabIndex\":mr(a,\"tabindex\",h);break;case\"dir\":case\"role\":case\"viewBox\":case\"width\":case\"height\":mr(a,u,h);break;case\"style\":qt(a,h,y);break;case\"data\":if(s!==\"object\"){mr(a,\"data\",h);break}case\"src\":case\"href\":if(h===\"\"&&(s!==\"a\"||u!==\"href\")){a.removeAttribute(u);break}if(h==null||typeof h==\"function\"||typeof h==\"symbol\"||typeof h==\"boolean\"){a.removeAttribute(u);break}h=$i(\"\"+h),a.setAttribute(u,h);break;case\"action\":case\"formAction\":if(typeof h==\"function\"){a.setAttribute(u,\"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')\");break}else typeof y==\"function\"&&(u===\"formAction\"?(s!==\"input\"&&Gt(a,s,\"name\",g.name,g,null),Gt(a,s,\"formEncType\",g.formEncType,g,null),Gt(a,s,\"formMethod\",g.formMethod,g,null),Gt(a,s,\"formTarget\",g.formTarget,g,null)):(Gt(a,s,\"encType\",g.encType,g,null),Gt(a,s,\"method\",g.method,g,null),Gt(a,s,\"target\",g.target,g,null)));if(h==null||typeof h==\"symbol\"||typeof h==\"boolean\"){a.removeAttribute(u);break}h=$i(\"\"+h),a.setAttribute(u,h);break;case\"onClick\":h!=null&&(a.onclick=Jd);break;case\"onScroll\":h!=null&&kt(\"scroll\",a);break;case\"onScrollEnd\":h!=null&&kt(\"scrollend\",a);break;case\"dangerouslySetInnerHTML\":if(h!=null){if(typeof h!=\"object\"||!(\"__html\"in h))throw Error(r(61));if(u=h.__html,u!=null){if(g.children!=null)throw Error(r(60));a.innerHTML=u}}break;case\"multiple\":a.multiple=h&&typeof h!=\"function\"&&typeof h!=\"symbol\";break;case\"muted\":a.muted=h&&typeof h!=\"function\"&&typeof h!=\"symbol\";break;case\"suppressContentEditableWarning\":case\"suppressHydrationWarning\":case\"defaultValue\":case\"defaultChecked\":case\"innerHTML\":case\"ref\":break;case\"autoFocus\":break;case\"xlinkHref\":if(h==null||typeof h==\"function\"||typeof h==\"boolean\"||typeof h==\"symbol\"){a.removeAttribute(\"xlink:href\");break}u=$i(\"\"+h),a.setAttributeNS(\"http://www.w3.org/1999/xlink\",\"xlink:href\",u);break;case\"contentEditable\":case\"spellCheck\":case\"draggable\":case\"value\":case\"autoReverse\":case\"externalResourcesRequired\":case\"focusable\":case\"preserveAlpha\":h!=null&&typeof h!=\"function\"&&typeof h!=\"symbol\"?a.setAttribute(u,\"\"+h):a.removeAttribute(u);break;case\"inert\":case\"allowFullScreen\":case\"async\":case\"autoPlay\":case\"controls\":case\"default\":case\"defer\":case\"disabled\":case\"disablePictureInPicture\":case\"disableRemotePlayback\":case\"formNoValidate\":case\"hidden\":case\"loop\":case\"noModule\":case\"noValidate\":case\"open\":case\"playsInline\":case\"readOnly\":case\"required\":case\"reversed\":case\"scoped\":case\"seamless\":case\"itemScope\":h&&typeof h!=\"function\"&&typeof h!=\"symbol\"?a.setAttribute(u,\"\"):a.removeAttribute(u);break;case\"capture\":case\"download\":h===!0?a.setAttribute(u,\"\"):h!==!1&&h!=null&&typeof h!=\"function\"&&typeof h!=\"symbol\"?a.setAttribute(u,h):a.removeAttribute(u);break;case\"cols\":case\"rows\":case\"size\":case\"span\":h!=null&&typeof h!=\"function\"&&typeof h!=\"symbol\"&&!isNaN(h)&&1<=h?a.setAttribute(u,h):a.removeAttribute(u);break;case\"rowSpan\":case\"start\":h==null||typeof h==\"function\"||typeof h==\"symbol\"||isNaN(h)?a.removeAttribute(u):a.setAttribute(u,h);break;case\"popover\":kt(\"beforetoggle\",a),kt(\"toggle\",a),Bn(a,\"popover\",h);break;case\"xlinkActuate\":_r(a,\"http://www.w3.org/1999/xlink\",\"xlink:actuate\",h);break;case\"xlinkArcrole\":_r(a,\"http://www.w3.org/1999/xlink\",\"xlink:arcrole\",h);break;case\"xlinkRole\":_r(a,\"http://www.w3.org/1999/xlink\",\"xlink:role\",h);break;case\"xlinkShow\":_r(a,\"http://www.w3.org/1999/xlink\",\"xlink:show\",h);break;case\"xlinkTitle\":_r(a,\"http://www.w3.org/1999/xlink\",\"xlink:title\",h);break;case\"xlinkType\":_r(a,\"http://www.w3.org/1999/xlink\",\"xlink:type\",h);break;case\"xmlBase\":_r(a,\"http://www.w3.org/XML/1998/namespace\",\"xml:base\",h);break;case\"xmlLang\":_r(a,\"http://www.w3.org/XML/1998/namespace\",\"xml:lang\",h);break;case\"xmlSpace\":_r(a,\"http://www.w3.org/XML/1998/namespace\",\"xml:space\",h);break;case\"is\":Bn(a,\"is\",h);break;case\"innerText\":case\"textContent\":break;default:(!(2<u.length)||u[0]!==\"o\"&&u[0]!==\"O\"||u[1]!==\"n\"&&u[1]!==\"N\")&&(u=gi.get(u)||u,Bn(a,u,h))}}function Kp(a,s,u,h,g,y){switch(u){case\"style\":qt(a,h,y);break;case\"dangerouslySetInnerHTML\":if(h!=null){if(typeof h!=\"object\"||!(\"__html\"in h))throw Error(r(61));if(u=h.__html,u!=null){if(g.children!=null)throw Error(r(60));a.innerHTML=u}}break;case\"children\":typeof h==\"string\"?at(a,h):(typeof h==\"number\"||typeof h==\"bigint\")&&at(a,\"\"+h);break;case\"onScroll\":h!=null&&kt(\"scroll\",a);break;case\"onScrollEnd\":h!=null&&kt(\"scrollend\",a);break;case\"onClick\":h!=null&&(a.onclick=Jd);break;case\"suppressContentEditableWarning\":case\"suppressHydrationWarning\":case\"innerHTML\":case\"ref\":break;case\"innerText\":case\"textContent\":break;default:if(!pi.hasOwnProperty(u))e:{if(u[0]===\"o\"&&u[1]===\"n\"&&(g=u.endsWith(\"Capture\"),s=u.slice(2,g?u.length-7:void 0),y=a[Me]||null,y=y!=null?y[u]:null,typeof y==\"function\"&&a.removeEventListener(s,y,g),typeof h==\"function\")){typeof y!=\"function\"&&y!==null&&(u in a?a[u]=null:a.hasAttribute(u)&&a.removeAttribute(u)),a.addEventListener(s,h,g);break e}u in a?a[u]=h:h===!0?a.setAttribute(u,\"\"):Bn(a,u,h)}}}function rr(a,s,u){switch(s){case\"div\":case\"span\":case\"svg\":case\"path\":case\"a\":case\"g\":case\"p\":case\"li\":break;case\"img\":kt(\"error\",a),kt(\"load\",a);var h=!1,g=!1,y;for(y in u)if(u.hasOwnProperty(y)){var C=u[y];if(C!=null)switch(y){case\"src\":h=!0;break;case\"srcSet\":g=!0;break;case\"children\":case\"dangerouslySetInnerHTML\":throw Error(r(137,s));default:Gt(a,s,y,C,u,null)}}g&&Gt(a,s,\"srcSet\",u.srcSet,u,null),h&&Gt(a,s,\"src\",u.src,u,null);return;case\"input\":kt(\"invalid\",a);var D=y=C=g=null,z=null,ee=null;for(h in u)if(u.hasOwnProperty(h)){var Ee=u[h];if(Ee!=null)switch(h){case\"name\":g=Ee;break;case\"type\":C=Ee;break;case\"checked\":z=Ee;break;case\"defaultChecked\":ee=Ee;break;case\"value\":y=Ee;break;case\"defaultValue\":D=Ee;break;case\"children\":case\"dangerouslySetInnerHTML\":if(Ee!=null)throw Error(r(137,s));break;default:Gt(a,s,h,Ee,u,null)}}Us(a,y,D,z,ee,C,g,!1),Bs(a);return;case\"select\":kt(\"invalid\",a),h=C=y=null;for(g in u)if(u.hasOwnProperty(g)&&(D=u[g],D!=null))switch(g){case\"value\":y=D;break;case\"defaultValue\":C=D;break;case\"multiple\":h=D;default:Gt(a,s,g,D,u,null)}s=y,u=C,a.multiple=!!h,s!=null?er(a,!!h,s,!1):u!=null&&er(a,!!h,u,!0);return;case\"textarea\":kt(\"invalid\",a),y=g=h=null;for(C in u)if(u.hasOwnProperty(C)&&(D=u[C],D!=null))switch(C){case\"value\":h=D;break;case\"defaultValue\":g=D;break;case\"children\":y=D;break;case\"dangerouslySetInnerHTML\":if(D!=null)throw Error(r(91));break;default:Gt(a,s,C,D,u,null)}Mo(a,h,g,y),Bs(a);return;case\"option\":for(z in u)if(u.hasOwnProperty(z)&&(h=u[z],h!=null))switch(z){case\"selected\":a.selected=h&&typeof h!=\"function\"&&typeof h!=\"symbol\";break;default:Gt(a,s,z,h,u,null)}return;case\"dialog\":kt(\"cancel\",a),kt(\"close\",a);break;case\"iframe\":case\"object\":kt(\"load\",a);break;case\"video\":case\"audio\":for(h=0;h<ju.length;h++)kt(ju[h],a);break;case\"image\":kt(\"error\",a),kt(\"load\",a);break;case\"details\":kt(\"toggle\",a);break;case\"embed\":case\"source\":case\"link\":kt(\"error\",a),kt(\"load\",a);case\"area\":case\"base\":case\"br\":case\"col\":case\"hr\":case\"keygen\":case\"meta\":case\"param\":case\"track\":case\"wbr\":case\"menuitem\":for(ee in u)if(u.hasOwnProperty(ee)&&(h=u[ee],h!=null))switch(ee){case\"children\":case\"dangerouslySetInnerHTML\":throw Error(r(137,s));default:Gt(a,s,ee,h,u,null)}return;default:if(zi(s)){for(Ee in u)u.hasOwnProperty(Ee)&&(h=u[Ee],h!==void 0&&Kp(a,s,Ee,h,u,void 0));return}}for(D in u)u.hasOwnProperty(D)&&(h=u[D],h!=null&&Gt(a,s,D,h,u,null))}function e3(a,s,u,h){switch(s){case\"div\":case\"span\":case\"svg\":case\"path\":case\"a\":case\"g\":case\"p\":case\"li\":break;case\"input\":var g=null,y=null,C=null,D=null,z=null,ee=null,Ee=null;for(ge in u){var Se=u[ge];if(u.hasOwnProperty(ge)&&Se!=null)switch(ge){case\"checked\":break;case\"value\":break;case\"defaultValue\":z=Se;default:h.hasOwnProperty(ge)||Gt(a,s,ge,null,h,Se)}}for(var ue in h){var ge=h[ue];if(Se=u[ue],h.hasOwnProperty(ue)&&(ge!=null||Se!=null))switch(ue){case\"type\":y=ge;break;case\"name\":g=ge;break;case\"checked\":ee=ge;break;case\"defaultChecked\":Ee=ge;break;case\"value\":C=ge;break;case\"defaultValue\":D=ge;break;case\"children\":case\"dangerouslySetInnerHTML\":if(ge!=null)throw Error(r(137,s));break;default:ge!==Se&&Gt(a,s,ue,ge,h,Se)}}iu(a,C,D,z,ee,Ee,y,g);return;case\"select\":ge=C=D=ue=null;for(y in u)if(z=u[y],u.hasOwnProperty(y)&&z!=null)switch(y){case\"value\":break;case\"multiple\":ge=z;default:h.hasOwnProperty(y)||Gt(a,s,y,null,h,z)}for(g in h)if(y=h[g],z=u[g],h.hasOwnProperty(g)&&(y!=null||z!=null))switch(g){case\"value\":ue=y;break;case\"defaultValue\":D=y;break;case\"multiple\":C=y;default:y!==z&&Gt(a,s,g,y,h,z)}s=D,u=C,h=ge,ue!=null?er(a,!!u,ue,!1):!!h!=!!u&&(s!=null?er(a,!!u,s,!0):er(a,!!u,u?[]:\"\",!1));return;case\"textarea\":ge=ue=null;for(D in u)if(g=u[D],u.hasOwnProperty(D)&&g!=null&&!h.hasOwnProperty(D))switch(D){case\"value\":break;case\"children\":break;default:Gt(a,s,D,null,h,g)}for(C in h)if(g=h[C],y=u[C],h.hasOwnProperty(C)&&(g!=null||y!=null))switch(C){case\"value\":ue=g;break;case\"defaultValue\":ge=g;break;case\"children\":break;case\"dangerouslySetInnerHTML\":if(g!=null)throw Error(r(91));break;default:g!==y&&Gt(a,s,C,g,h,y)}ld(a,ue,ge);return;case\"option\":for(var Qe in u)if(ue=u[Qe],u.hasOwnProperty(Qe)&&ue!=null&&!h.hasOwnProperty(Qe))switch(Qe){case\"selected\":a.selected=!1;break;default:Gt(a,s,Qe,null,h,ue)}for(z in h)if(ue=h[z],ge=u[z],h.hasOwnProperty(z)&&ue!==ge&&(ue!=null||ge!=null))switch(z){case\"selected\":a.selected=ue&&typeof ue!=\"function\"&&typeof ue!=\"symbol\";break;default:Gt(a,s,z,ue,h,ge)}return;case\"img\":case\"link\":case\"area\":case\"base\":case\"br\":case\"col\":case\"embed\":case\"hr\":case\"keygen\":case\"meta\":case\"param\":case\"source\":case\"track\":case\"wbr\":case\"menuitem\":for(var ct in u)ue=u[ct],u.hasOwnProperty(ct)&&ue!=null&&!h.hasOwnProperty(ct)&&Gt(a,s,ct,null,h,ue);for(ee in h)if(ue=h[ee],ge=u[ee],h.hasOwnProperty(ee)&&ue!==ge&&(ue!=null||ge!=null))switch(ee){case\"children\":case\"dangerouslySetInnerHTML\":if(ue!=null)throw Error(r(137,s));break;default:Gt(a,s,ee,ue,h,ge)}return;default:if(zi(s)){for(var En in u)ue=u[En],u.hasOwnProperty(En)&&ue!==void 0&&!h.hasOwnProperty(En)&&Kp(a,s,En,void 0,h,ue);for(Ee in h)ue=h[Ee],ge=u[Ee],!h.hasOwnProperty(Ee)||ue===ge||ue===void 0&&ge===void 0||Kp(a,s,Ee,ue,h,ge);return}}for(var re in u)ue=u[re],u.hasOwnProperty(re)&&ue!=null&&!h.hasOwnProperty(re)&&Gt(a,s,re,null,h,ue);for(Se in h)ue=h[Se],ge=u[Se],!h.hasOwnProperty(Se)||ue===ge||ue==null&&ge==null||Gt(a,s,Se,ue,h,ge)}var Xp=null,Wp=null;function ef(a){return a.nodeType===9?a:a.ownerDocument}function sT(a){switch(a){case\"http://www.w3.org/2000/svg\":return 1;case\"http://www.w3.org/1998/Math/MathML\":return 2;default:return 0}}function oT(a,s){if(a===0)switch(s){case\"svg\":return 1;case\"math\":return 2;default:return 0}return a===1&&s===\"foreignObject\"?0:a}function Qp(a,s){return a===\"textarea\"||a===\"noscript\"||typeof s.children==\"string\"||typeof s.children==\"number\"||typeof s.children==\"bigint\"||typeof s.dangerouslySetInnerHTML==\"object\"&&s.dangerouslySetInnerHTML!==null&&s.dangerouslySetInnerHTML.__html!=null}var Zp=null;function t3(){var a=window.event;return a&&a.type===\"popstate\"?a===Zp?!1:(Zp=a,!0):(Zp=null,!1)}var lT=typeof setTimeout==\"function\"?setTimeout:void 0,n3=typeof clearTimeout==\"function\"?clearTimeout:void 0,uT=typeof Promise==\"function\"?Promise:void 0,r3=typeof queueMicrotask==\"function\"?queueMicrotask:typeof uT<\"u\"?function(a){return uT.resolve(null).then(a).catch(a3)}:lT;function a3(a){setTimeout(function(){throw a})}function Jp(a,s){var u=s,h=0;do{var g=u.nextSibling;if(a.removeChild(u),g&&g.nodeType===8)if(u=g.data,u===\"/$\"){if(h===0){a.removeChild(g),Wu(s);return}h--}else u!==\"$\"&&u!==\"$?\"&&u!==\"$!\"||h++;u=g}while(u);Wu(s)}function e0(a){var s=a.firstChild;for(s&&s.nodeType===10&&(s=s.nextSibling);s;){var u=s;switch(s=s.nextSibling,u.nodeName){case\"HTML\":case\"HEAD\":case\"BODY\":e0(u),Dr(u);continue;case\"SCRIPT\":case\"STYLE\":continue;case\"LINK\":if(u.rel.toLowerCase()===\"stylesheet\")continue}a.removeChild(u)}}function i3(a,s,u,h){for(;a.nodeType===1;){var g=u;if(a.nodeName.toLowerCase()!==s.toLowerCase()){if(!h&&(a.nodeName!==\"INPUT\"||a.type!==\"hidden\"))break}else if(h){if(!a[Bt])switch(s){case\"meta\":if(!a.hasAttribute(\"itemprop\"))break;return a;case\"link\":if(y=a.getAttribute(\"rel\"),y===\"stylesheet\"&&a.hasAttribute(\"data-precedence\"))break;if(y!==g.rel||a.getAttribute(\"href\")!==(g.href==null?null:g.href)||a.getAttribute(\"crossorigin\")!==(g.crossOrigin==null?null:g.crossOrigin)||a.getAttribute(\"title\")!==(g.title==null?null:g.title))break;return a;case\"style\":if(a.hasAttribute(\"data-precedence\"))break;return a;case\"script\":if(y=a.getAttribute(\"src\"),(y!==(g.src==null?null:g.src)||a.getAttribute(\"type\")!==(g.type==null?null:g.type)||a.getAttribute(\"crossorigin\")!==(g.crossOrigin==null?null:g.crossOrigin))&&y&&a.hasAttribute(\"async\")&&!a.hasAttribute(\"itemprop\"))break;return a;default:return a}}else if(s===\"input\"&&a.type===\"hidden\"){var y=g.name==null?null:\"\"+g.name;if(g.type===\"hidden\"&&a.getAttribute(\"name\")===y)return a}else return a;if(a=Oa(a.nextSibling),a===null)break}return null}function s3(a,s,u){if(s===\"\")return null;for(;a.nodeType!==3;)if((a.nodeType!==1||a.nodeName!==\"INPUT\"||a.type!==\"hidden\")&&!u||(a=Oa(a.nextSibling),a===null))return null;return a}function Oa(a){for(;a!=null;a=a.nextSibling){var s=a.nodeType;if(s===1||s===3)break;if(s===8){if(s=a.data,s===\"$\"||s===\"$!\"||s===\"$?\"||s===\"F!\"||s===\"F\")break;if(s===\"/$\")return null}}return a}function cT(a){a=a.previousSibling;for(var s=0;a;){if(a.nodeType===8){var u=a.data;if(u===\"$\"||u===\"$!\"||u===\"$?\"){if(s===0)return a;s--}else u===\"/$\"&&s++}a=a.previousSibling}return null}function dT(a,s,u){switch(s=ef(u),a){case\"html\":if(a=s.documentElement,!a)throw Error(r(452));return a;case\"head\":if(a=s.head,!a)throw Error(r(453));return a;case\"body\":if(a=s.body,!a)throw Error(r(454));return a;default:throw Error(r(451))}}var fa=new Map,fT=new Set;function tf(a){return typeof a.getRootNode==\"function\"?a.getRootNode():a.ownerDocument}var ki=ce.d;ce.d={f:o3,r:l3,D:u3,C:c3,L:d3,m:f3,X:m3,S:h3,M:p3};function o3(){var a=ki.f(),s=Vd();return a||s}function l3(a){var s=un(a);s!==null&&s.tag===5&&s.type===\"form\"?Fy(s):ki.r(a)}var sl=typeof document>\"u\"?null:document;function hT(a,s,u){var h=sl;if(h&&typeof s==\"string\"&&s){var g=Tr(s);g='link[rel=\"'+a+'\"][href=\"'+g+'\"]',typeof u==\"string\"&&(g+='[crossorigin=\"'+u+'\"]'),fT.has(g)||(fT.add(g),a={rel:a,crossOrigin:u,href:s},h.querySelector(g)===null&&(s=h.createElement(\"link\"),rr(s,\"link\",a),Zt(s),h.head.appendChild(s)))}}function u3(a){ki.D(a),hT(\"dns-prefetch\",a,null)}function c3(a,s){ki.C(a,s),hT(\"preconnect\",a,s)}function d3(a,s,u){ki.L(a,s,u);var h=sl;if(h&&a&&s){var g='link[rel=\"preload\"][as=\"'+Tr(s)+'\"]';s===\"image\"&&u&&u.imageSrcSet?(g+='[imagesrcset=\"'+Tr(u.imageSrcSet)+'\"]',typeof u.imageSizes==\"string\"&&(g+='[imagesizes=\"'+Tr(u.imageSizes)+'\"]')):g+='[href=\"'+Tr(a)+'\"]';var y=g;switch(s){case\"style\":y=ol(a);break;case\"script\":y=ll(a)}fa.has(y)||(a=M({rel:\"preload\",href:s===\"image\"&&u&&u.imageSrcSet?void 0:a,as:s},u),fa.set(y,a),h.querySelector(g)!==null||s===\"style\"&&h.querySelector($u(y))||s===\"script\"&&h.querySelector(qu(y))||(s=h.createElement(\"link\"),rr(s,\"link\",a),Zt(s),h.head.appendChild(s)))}}function f3(a,s){ki.m(a,s);var u=sl;if(u&&a){var h=s&&typeof s.as==\"string\"?s.as:\"script\",g='link[rel=\"modulepreload\"][as=\"'+Tr(h)+'\"][href=\"'+Tr(a)+'\"]',y=g;switch(h){case\"audioworklet\":case\"paintworklet\":case\"serviceworker\":case\"sharedworker\":case\"worker\":case\"script\":y=ll(a)}if(!fa.has(y)&&(a=M({rel:\"modulepreload\",href:a},s),fa.set(y,a),u.querySelector(g)===null)){switch(h){case\"audioworklet\":case\"paintworklet\":case\"serviceworker\":case\"sharedworker\":case\"worker\":case\"script\":if(u.querySelector(qu(y)))return}h=u.createElement(\"link\"),rr(h,\"link\",a),Zt(h),u.head.appendChild(h)}}}function h3(a,s,u){ki.S(a,s,u);var h=sl;if(h&&a){var g=Mr(h).hoistableStyles,y=ol(a);s=s||\"default\";var C=g.get(y);if(!C){var D={loading:0,preload:null};if(C=h.querySelector($u(y)))D.loading=5;else{a=M({rel:\"stylesheet\",href:a,\"data-precedence\":s},u),(u=fa.get(y))&&t0(a,u);var z=C=h.createElement(\"link\");Zt(z),rr(z,\"link\",a),z._p=new Promise(function(ee,Ee){z.onload=ee,z.onerror=Ee}),z.addEventListener(\"load\",function(){D.loading|=1}),z.addEventListener(\"error\",function(){D.loading|=2}),D.loading|=4,nf(C,s,h)}C={type:\"stylesheet\",instance:C,count:1,state:D},g.set(y,C)}}}function m3(a,s){ki.X(a,s);var u=sl;if(u&&a){var h=Mr(u).hoistableScripts,g=ll(a),y=h.get(g);y||(y=u.querySelector(qu(g)),y||(a=M({src:a,async:!0},s),(s=fa.get(g))&&n0(a,s),y=u.createElement(\"script\"),Zt(y),rr(y,\"link\",a),u.head.appendChild(y)),y={type:\"script\",instance:y,count:1,state:null},h.set(g,y))}}function p3(a,s){ki.M(a,s);var u=sl;if(u&&a){var h=Mr(u).hoistableScripts,g=ll(a),y=h.get(g);y||(y=u.querySelector(qu(g)),y||(a=M({src:a,async:!0,type:\"module\"},s),(s=fa.get(g))&&n0(a,s),y=u.createElement(\"script\"),Zt(y),rr(y,\"link\",a),u.head.appendChild(y)),y={type:\"script\",instance:y,count:1,state:null},h.set(g,y))}}function mT(a,s,u,h){var g=(g=pn.current)?tf(g):null;if(!g)throw Error(r(446));switch(a){case\"meta\":case\"title\":return null;case\"style\":return typeof u.precedence==\"string\"&&typeof u.href==\"string\"?(s=ol(u.href),u=Mr(g).hoistableStyles,h=u.get(s),h||(h={type:\"style\",instance:null,count:0,state:null},u.set(s,h)),h):{type:\"void\",instance:null,count:0,state:null};case\"link\":if(u.rel===\"stylesheet\"&&typeof u.href==\"string\"&&typeof u.precedence==\"string\"){a=ol(u.href);var y=Mr(g).hoistableStyles,C=y.get(a);if(C||(g=g.ownerDocument||g,C={type:\"stylesheet\",instance:null,count:0,state:{loading:0,preload:null}},y.set(a,C),(y=g.querySelector($u(a)))&&!y._p&&(C.instance=y,C.state.loading=5),fa.has(a)||(u={rel:\"preload\",as:\"style\",href:u.href,crossOrigin:u.crossOrigin,integrity:u.integrity,media:u.media,hrefLang:u.hrefLang,referrerPolicy:u.referrerPolicy},fa.set(a,u),y||g3(g,a,u,C.state))),s&&h===null)throw Error(r(528,\"\"));return C}if(s&&h!==null)throw Error(r(529,\"\"));return null;case\"script\":return s=u.async,u=u.src,typeof u==\"string\"&&s&&typeof s!=\"function\"&&typeof s!=\"symbol\"?(s=ll(u),u=Mr(g).hoistableScripts,h=u.get(s),h||(h={type:\"script\",instance:null,count:0,state:null},u.set(s,h)),h):{type:\"void\",instance:null,count:0,state:null};default:throw Error(r(444,a))}}function ol(a){return'href=\"'+Tr(a)+'\"'}function $u(a){return'link[rel=\"stylesheet\"]['+a+\"]\"}function pT(a){return M({},a,{\"data-precedence\":a.precedence,precedence:null})}function g3(a,s,u,h){a.querySelector('link[rel=\"preload\"][as=\"style\"]['+s+\"]\")?h.loading=1:(s=a.createElement(\"link\"),h.preload=s,s.addEventListener(\"load\",function(){return h.loading|=1}),s.addEventListener(\"error\",function(){return h.loading|=2}),rr(s,\"link\",u),Zt(s),a.head.appendChild(s))}function ll(a){return'[src=\"'+Tr(a)+'\"]'}function qu(a){return\"script[async]\"+a}function gT(a,s,u){if(s.count++,s.instance===null)switch(s.type){case\"style\":var h=a.querySelector('style[data-href~=\"'+Tr(u.href)+'\"]');if(h)return s.instance=h,Zt(h),h;var g=M({},u,{\"data-href\":u.href,\"data-precedence\":u.precedence,href:null,precedence:null});return h=(a.ownerDocument||a).createElement(\"style\"),Zt(h),rr(h,\"style\",g),nf(h,u.precedence,a),s.instance=h;case\"stylesheet\":g=ol(u.href);var y=a.querySelector($u(g));if(y)return s.state.loading|=4,s.instance=y,Zt(y),y;h=pT(u),(g=fa.get(g))&&t0(h,g),y=(a.ownerDocument||a).createElement(\"link\"),Zt(y);var C=y;return C._p=new Promise(function(D,z){C.onload=D,C.onerror=z}),rr(y,\"link\",h),s.state.loading|=4,nf(y,u.precedence,a),s.instance=y;case\"script\":return y=ll(u.src),(g=a.querySelector(qu(y)))?(s.instance=g,Zt(g),g):(h=u,(g=fa.get(y))&&(h=M({},u),n0(h,g)),a=a.ownerDocument||a,g=a.createElement(\"script\"),Zt(g),rr(g,\"link\",h),a.head.appendChild(g),s.instance=g);case\"void\":return null;default:throw Error(r(443,s.type))}else s.type===\"stylesheet\"&&(s.state.loading&4)===0&&(h=s.instance,s.state.loading|=4,nf(h,u.precedence,a));return s.instance}function nf(a,s,u){for(var h=u.querySelectorAll('link[rel=\"stylesheet\"][data-precedence],style[data-precedence]'),g=h.length?h[h.length-1]:null,y=g,C=0;C<h.length;C++){var D=h[C];if(D.dataset.precedence===s)y=D;else if(y!==g)break}y?y.parentNode.insertBefore(a,y.nextSibling):(s=u.nodeType===9?u.head:u,s.insertBefore(a,s.firstChild))}function t0(a,s){a.crossOrigin==null&&(a.crossOrigin=s.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=s.referrerPolicy),a.title==null&&(a.title=s.title)}function n0(a,s){a.crossOrigin==null&&(a.crossOrigin=s.crossOrigin),a.referrerPolicy==null&&(a.referrerPolicy=s.referrerPolicy),a.integrity==null&&(a.integrity=s.integrity)}var rf=null;function bT(a,s,u){if(rf===null){var h=new Map,g=rf=new Map;g.set(u,h)}else g=rf,h=g.get(u),h||(h=new Map,g.set(u,h));if(h.has(a))return h;for(h.set(a,null),u=u.getElementsByTagName(a),g=0;g<u.length;g++){var y=u[g];if(!(y[Bt]||y[He]||a===\"link\"&&y.getAttribute(\"rel\")===\"stylesheet\")&&y.namespaceURI!==\"http://www.w3.org/2000/svg\"){var C=y.getAttribute(s)||\"\";C=a+C;var D=h.get(C);D?D.push(y):h.set(C,[y])}}return h}function ET(a,s,u){a=a.ownerDocument||a,a.head.insertBefore(u,s===\"title\"?a.querySelector(\"head > title\"):null)}function b3(a,s,u){if(u===1||s.itemProp!=null)return!1;switch(a){case\"meta\":case\"title\":return!0;case\"style\":if(typeof s.precedence!=\"string\"||typeof s.href!=\"string\"||s.href===\"\")break;return!0;case\"link\":if(typeof s.rel!=\"string\"||typeof s.href!=\"string\"||s.href===\"\"||s.onLoad||s.onError)break;switch(s.rel){case\"stylesheet\":return a=s.disabled,typeof s.precedence==\"string\"&&a==null;default:return!0}case\"script\":if(s.async&&typeof s.async!=\"function\"&&typeof s.async!=\"symbol\"&&!s.onLoad&&!s.onError&&s.src&&typeof s.src==\"string\")return!0}return!1}function yT(a){return!(a.type===\"stylesheet\"&&(a.state.loading&3)===0)}var Yu=null;function E3(){}function y3(a,s,u){if(Yu===null)throw Error(r(475));var h=Yu;if(s.type===\"stylesheet\"&&(typeof u.media!=\"string\"||matchMedia(u.media).matches!==!1)&&(s.state.loading&4)===0){if(s.instance===null){var g=ol(u.href),y=a.querySelector($u(g));if(y){a=y._p,a!==null&&typeof a==\"object\"&&typeof a.then==\"function\"&&(h.count++,h=af.bind(h),a.then(h,h)),s.state.loading|=4,s.instance=y,Zt(y);return}y=a.ownerDocument||a,u=pT(u),(g=fa.get(g))&&t0(u,g),y=y.createElement(\"link\"),Zt(y);var C=y;C._p=new Promise(function(D,z){C.onload=D,C.onerror=z}),rr(y,\"link\",u),s.instance=y}h.stylesheets===null&&(h.stylesheets=new Map),h.stylesheets.set(s,a),(a=s.state.preload)&&(s.state.loading&3)===0&&(h.count++,s=af.bind(h),a.addEventListener(\"load\",s),a.addEventListener(\"error\",s))}}function _3(){if(Yu===null)throw Error(r(475));var a=Yu;return a.stylesheets&&a.count===0&&r0(a,a.stylesheets),0<a.count?function(s){var u=setTimeout(function(){if(a.stylesheets&&r0(a,a.stylesheets),a.unsuspend){var h=a.unsuspend;a.unsuspend=null,h()}},6e4);return a.unsuspend=s,function(){a.unsuspend=null,clearTimeout(u)}}:null}function af(){if(this.count--,this.count===0){if(this.stylesheets)r0(this,this.stylesheets);else if(this.unsuspend){var a=this.unsuspend;this.unsuspend=null,a()}}}var sf=null;function r0(a,s){a.stylesheets=null,a.unsuspend!==null&&(a.count++,sf=new Map,s.forEach(T3,a),sf=null,af.call(a))}function T3(a,s){if(!(s.state.loading&4)){var u=sf.get(a);if(u)var h=u.get(null);else{u=new Map,sf.set(a,u);for(var g=a.querySelectorAll(\"link[data-precedence],style[data-precedence]\"),y=0;y<g.length;y++){var C=g[y];(C.nodeName===\"LINK\"||C.getAttribute(\"media\")!==\"not all\")&&(u.set(C.dataset.precedence,C),h=C)}h&&u.set(null,h)}g=s.instance,C=g.getAttribute(\"data-precedence\"),y=u.get(C)||h,y===h&&u.set(null,g),u.set(C,g),this.count++,h=af.bind(this),g.addEventListener(\"load\",h),g.addEventListener(\"error\",h),y?y.parentNode.insertBefore(g,y.nextSibling):(a=a.nodeType===9?a.head:a,a.insertBefore(g,a.firstChild)),s.state.loading|=4}}var Gu={$$typeof:_,Provider:null,Consumer:null,_currentValue:Te,_currentValue2:Te,_threadCount:0};function v3(a,s,u,h,g,y,C,D){this.tag=1,this.containerInfo=a,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=W(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.finishedLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=W(0),this.hiddenUpdates=W(null),this.identifierPrefix=h,this.onUncaughtError=g,this.onCaughtError=y,this.onRecoverableError=C,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=D,this.incompleteTransitions=new Map}function _T(a,s,u,h,g,y,C,D,z,ee,Ee,Se){return a=new v3(a,s,u,C,D,z,ee,Se),s=1,y===!0&&(s|=24),y=ca(3,null,null,s),a.current=y,y.stateNode=a,s=Mm(),s.refCount++,a.pooledCache=s,s.refCount++,y.memoizedState={element:h,isDehydrated:u,cache:s},pp(y),a}function TT(a){return a?(a=Ho,a):Ho}function vT(a,s,u,h,g,y){g=TT(g),h.context===null?h.context=g:h.pendingContext=g,h=Zi(s),h.payload={element:u},y=y===void 0?null:y,y!==null&&(h.callback=y),u=Ji(a,h,s),u!==null&&(gr(u,a,s),Ru(u,a,s))}function xT(a,s){if(a=a.memoizedState,a!==null&&a.dehydrated!==null){var u=a.retryLane;a.retryLane=u!==0&&u<s?u:s}}function a0(a,s){xT(a,s),(a=a.alternate)&&xT(a,s)}function ST(a){if(a.tag===13){var s=Yi(a,67108864);s!==null&&gr(s,a,67108864),a0(a,67108864)}}var of=!0;function x3(a,s,u,h){var g=F.T;F.T=null;var y=ce.p;try{ce.p=2,i0(a,s,u,h)}finally{ce.p=y,F.T=g}}function S3(a,s,u,h){var g=F.T;F.T=null;var y=ce.p;try{ce.p=8,i0(a,s,u,h)}finally{ce.p=y,F.T=g}}function i0(a,s,u,h){if(of){var g=s0(h);if(g===null)Vp(a,s,h,lf,u),NT(a,h);else if(N3(g,a,s,u,h))h.stopPropagation();else if(NT(a,h),s&4&&-1<A3.indexOf(a)){for(;g!==null;){var y=un(g);if(y!==null)switch(y.tag){case 3:if(y=y.stateNode,y.current.memoizedState.isDehydrated){var C=Zn(y.pendingLanes);if(C!==0){var D=y;for(D.pendingLanes|=2,D.entangledLanes|=2;C;){var z=1<<31-Xt(C);D.entanglements[1]|=z,C&=~z}Ya(y),(hn&6)===0&&(qd=dn()+500,Hu(0))}}break;case 13:D=Yi(y,2),D!==null&&gr(D,y,2),Vd(),a0(y,2)}if(y=s0(h),y===null&&Vp(a,s,h,lf,u),y===g)break;g=y}g!==null&&h.stopPropagation()}else Vp(a,s,h,null,u)}}function s0(a){return a=Ke(a),o0(a)}var lf=null;function o0(a){if(lf=null,a=hr(a),a!==null){var s=K(a);if(s===null)a=null;else{var u=s.tag;if(u===13){if(a=ve(s),a!==null)return a;a=null}else if(u===3){if(s.stateNode.current.memoizedState.isDehydrated)return s.tag===3?s.stateNode.containerInfo:null;a=null}else s!==a&&(a=null)}}return lf=a,null}function AT(a){switch(a){case\"beforetoggle\":case\"cancel\":case\"click\":case\"close\":case\"contextmenu\":case\"copy\":case\"cut\":case\"auxclick\":case\"dblclick\":case\"dragend\":case\"dragstart\":case\"drop\":case\"focusin\":case\"focusout\":case\"input\":case\"invalid\":case\"keydown\":case\"keypress\":case\"keyup\":case\"mousedown\":case\"mouseup\":case\"paste\":case\"pause\":case\"play\":case\"pointercancel\":case\"pointerdown\":case\"pointerup\":case\"ratechange\":case\"reset\":case\"resize\":case\"seeked\":case\"submit\":case\"toggle\":case\"touchcancel\":case\"touchend\":case\"touchstart\":case\"volumechange\":case\"change\":case\"selectionchange\":case\"textInput\":case\"compositionstart\":case\"compositionend\":case\"compositionupdate\":case\"beforeblur\":case\"afterblur\":case\"beforeinput\":case\"blur\":case\"fullscreenchange\":case\"focus\":case\"hashchange\":case\"popstate\":case\"select\":case\"selectstart\":return 2;case\"drag\":case\"dragenter\":case\"dragexit\":case\"dragleave\":case\"dragover\":case\"mousemove\":case\"mouseout\":case\"mouseover\":case\"pointermove\":case\"pointerout\":case\"pointerover\":case\"scroll\":case\"touchmove\":case\"wheel\":case\"mouseenter\":case\"mouseleave\":case\"pointerenter\":case\"pointerleave\":return 8;case\"message\":switch(Ha()){case de:return 2;case Ne:return 8;case tt:case ht:return 32;case It:return 268435456;default:return 32}default:return 32}}var l0=!1,ss=null,os=null,ls=null,Vu=new Map,Ku=new Map,us=[],A3=\"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset\".split(\" \");function NT(a,s){switch(a){case\"focusin\":case\"focusout\":ss=null;break;case\"dragenter\":case\"dragleave\":os=null;break;case\"mouseover\":case\"mouseout\":ls=null;break;case\"pointerover\":case\"pointerout\":Vu.delete(s.pointerId);break;case\"gotpointercapture\":case\"lostpointercapture\":Ku.delete(s.pointerId)}}function Xu(a,s,u,h,g,y){return a===null||a.nativeEvent!==y?(a={blockedOn:s,domEventName:u,eventSystemFlags:h,nativeEvent:y,targetContainers:[g]},s!==null&&(s=un(s),s!==null&&ST(s)),a):(a.eventSystemFlags|=h,s=a.targetContainers,g!==null&&s.indexOf(g)===-1&&s.push(g),a)}function N3(a,s,u,h,g){switch(s){case\"focusin\":return ss=Xu(ss,a,s,u,h,g),!0;case\"dragenter\":return os=Xu(os,a,s,u,h,g),!0;case\"mouseover\":return ls=Xu(ls,a,s,u,h,g),!0;case\"pointerover\":var y=g.pointerId;return Vu.set(y,Xu(Vu.get(y)||null,a,s,u,h,g)),!0;case\"gotpointercapture\":return y=g.pointerId,Ku.set(y,Xu(Ku.get(y)||null,a,s,u,h,g)),!0}return!1}function wT(a){var s=hr(a.target);if(s!==null){var u=K(s);if(u!==null){if(s=u.tag,s===13){if(s=ve(u),s!==null){a.blockedOn=s,Xe(a.priority,function(){if(u.tag===13){var h=zr(),g=Yi(u,h);g!==null&&gr(g,u,h),a0(u,h)}});return}}else if(s===3&&u.stateNode.current.memoizedState.isDehydrated){a.blockedOn=u.tag===3?u.stateNode.containerInfo:null;return}}}a.blockedOn=null}function uf(a){if(a.blockedOn!==null)return!1;for(var s=a.targetContainers;0<s.length;){var u=s0(a.nativeEvent);if(u===null){u=a.nativeEvent;var h=new u.constructor(u.type,u);De=h,u.target.dispatchEvent(h),De=null}else return s=un(u),s!==null&&ST(s),a.blockedOn=u,!1;s.shift()}return!0}function CT(a,s,u){uf(a)&&u.delete(s)}function w3(){l0=!1,ss!==null&&uf(ss)&&(ss=null),os!==null&&uf(os)&&(os=null),ls!==null&&uf(ls)&&(ls=null),Vu.forEach(CT),Ku.forEach(CT)}function cf(a,s){a.blockedOn===s&&(a.blockedOn=null,l0||(l0=!0,e.unstable_scheduleCallback(e.unstable_NormalPriority,w3)))}var df=null;function RT(a){df!==a&&(df=a,e.unstable_scheduleCallback(e.unstable_NormalPriority,function(){df===a&&(df=null);for(var s=0;s<a.length;s+=3){var u=a[s],h=a[s+1],g=a[s+2];if(typeof h!=\"function\"){if(o0(h||u)===null)continue;break}var y=un(u);y!==null&&(a.splice(s,3),s-=3,Qm(y,{pending:!0,data:g,method:u.method,action:h},h,g))}}))}function Wu(a){function s(z){return cf(z,a)}ss!==null&&cf(ss,a),os!==null&&cf(os,a),ls!==null&&cf(ls,a),Vu.forEach(s),Ku.forEach(s);for(var u=0;u<us.length;u++){var h=us[u];h.blockedOn===a&&(h.blockedOn=null)}for(;0<us.length&&(u=us[0],u.blockedOn===null);)wT(u),u.blockedOn===null&&us.shift();if(u=(a.ownerDocument||a).$$reactFormReplay,u!=null)for(h=0;h<u.length;h+=3){var g=u[h],y=u[h+1],C=g[Me]||null;if(typeof y==\"function\")C||RT(u);else if(C){var D=null;if(y&&y.hasAttribute(\"formAction\")){if(g=y,C=y[Me]||null)D=C.formAction;else if(o0(g)!==null)continue}else D=C.action;typeof D==\"function\"?u[h+1]=D:(u.splice(h,3),h-=3),RT(u)}}}function u0(a){this._internalRoot=a}ff.prototype.render=u0.prototype.render=function(a){var s=this._internalRoot;if(s===null)throw Error(r(409));var u=s.current,h=zr();vT(u,h,a,s,null,null)},ff.prototype.unmount=u0.prototype.unmount=function(){var a=this._internalRoot;if(a!==null){this._internalRoot=null;var s=a.containerInfo;a.tag===0&&rl(),vT(a.current,2,null,a,null,null),Vd(),s[rt]=null}};function ff(a){this._internalRoot=a}ff.prototype.unstable_scheduleHydration=function(a){if(a){var s=Fe();a={blockedOn:null,target:a,priority:s};for(var u=0;u<us.length&&s!==0&&s<us[u].priority;u++);us.splice(u,0,a),u===0&&wT(a)}};var OT=t.version;if(OT!==\"19.0.0\")throw Error(r(527,OT,\"19.0.0\"));ce.findDOMNode=function(a){var s=a._reactInternals;if(s===void 0)throw typeof a.render==\"function\"?Error(r(188)):(a=Object.keys(a).join(\",\"),Error(r(268,a)));return a=le(s),a=a!==null?te(a):null,a=a===null?null:a.stateNode,a};var C3={bundleType:0,version:\"19.0.0\",rendererPackageName:\"react-dom\",currentDispatcherRef:F,findFiberByHostInstance:hr,reconcilerVersion:\"19.0.0\"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<\"u\"){var hf=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!hf.isDisabled&&hf.supportsFiber)try{An=hf.inject(C3),on=hf}catch{}}return Zu.createRoot=function(a,s){if(!i(a))throw Error(r(299));var u=!1,h=\"\",g=Vy,y=Ky,C=Xy,D=null;return s!=null&&(s.unstable_strictMode===!0&&(u=!0),s.identifierPrefix!==void 0&&(h=s.identifierPrefix),s.onUncaughtError!==void 0&&(g=s.onUncaughtError),s.onCaughtError!==void 0&&(y=s.onCaughtError),s.onRecoverableError!==void 0&&(C=s.onRecoverableError),s.unstable_transitionCallbacks!==void 0&&(D=s.unstable_transitionCallbacks)),s=_T(a,1,!1,null,null,u,h,g,y,C,D,null),a[rt]=s.current,Gp(a.nodeType===8?a.parentNode:a),new u0(s)},Zu.hydrateRoot=function(a,s,u){if(!i(a))throw Error(r(299));var h=!1,g=\"\",y=Vy,C=Ky,D=Xy,z=null,ee=null;return u!=null&&(u.unstable_strictMode===!0&&(h=!0),u.identifierPrefix!==void 0&&(g=u.identifierPrefix),u.onUncaughtError!==void 0&&(y=u.onUncaughtError),u.onCaughtError!==void 0&&(C=u.onCaughtError),u.onRecoverableError!==void 0&&(D=u.onRecoverableError),u.unstable_transitionCallbacks!==void 0&&(z=u.unstable_transitionCallbacks),u.formState!==void 0&&(ee=u.formState)),s=_T(a,1,!0,s,u??null,h,g,y,C,D,z,ee),s.context=TT(null),u=s.current,h=zr(),g=Zi(h),g.callback=null,Ji(u,g,h),s.current.lanes=h,G(s,h),Ya(s),a[rt]=s.current,Gp(a),new ff(s)},Zu.version=\"19.0.0\",Zu}var HT;function U3(){if(HT)return f0.exports;HT=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>\"u\"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=\"function\"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),f0.exports=B3(),f0.exports}var F3=U3();/**\n * react-router v7.7.1\n *\n * Copyright (c) Remix Software Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE.md file in the root directory of this source tree.\n *\n * @license MIT\n */var lS=e=>{throw TypeError(e)},H3=(e,t,n)=>t.has(e)||lS(\"Cannot \"+n),g0=(e,t,n)=>(H3(e,t,\"read from private field\"),n?n.call(e):t.get(e)),j3=(e,t,n)=>t.has(e)?lS(\"Cannot add the same private member more than once\"):t instanceof WeakSet?t.add(e):t.set(e,n),jT=\"popstate\";function z3(e={}){function t(r,i){let{pathname:o,search:l,hash:c}=r.location;return Ac(\"\",{pathname:o,search:l,hash:c},i.state&&i.state.usr||null,i.state&&i.state.key||\"default\")}function n(r,i){return typeof i==\"string\"?i:As(i)}return q3(t,n,null,e)}function xt(e,t){if(e===!1||e===null||typeof e>\"u\")throw new Error(t)}function Sn(e,t){if(!e){typeof console<\"u\"&&console.warn(t);try{throw new Error(t)}catch{}}}function $3(){return Math.random().toString(36).substring(2,10)}function zT(e,t){return{usr:e.state,key:e.key,idx:t}}function Ac(e,t,n=null,r){return{pathname:typeof e==\"string\"?e:e.pathname,search:\"\",hash:\"\",...typeof t==\"string\"?Ls(t):t,state:n,key:t&&t.key||r||$3()}}function As({pathname:e=\"/\",search:t=\"\",hash:n=\"\"}){return t&&t!==\"?\"&&(e+=t.charAt(0)===\"?\"?t:\"?\"+t),n&&n!==\"#\"&&(e+=n.charAt(0)===\"#\"?n:\"#\"+n),e}function Ls(e){let t={};if(e){let n=e.indexOf(\"#\");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf(\"?\");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function q3(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:o=!1}=r,l=i.history,c=\"POP\",d=null,f=m();f==null&&(f=0,l.replaceState({...l.state,idx:f},\"\"));function m(){return(l.state||{idx:null}).idx}function p(){c=\"POP\";let N=m(),v=N==null?null:N-f;f=N,d&&d({action:c,location:S.location,delta:v})}function E(N,v){c=\"PUSH\";let O=Ac(S.location,N,v);f=m()+1;let L=zT(O,f),B=S.createHref(O);try{l.pushState(L,\"\",B)}catch(k){if(k instanceof DOMException&&k.name===\"DataCloneError\")throw k;i.location.assign(B)}o&&d&&d({action:c,location:S.location,delta:1})}function _(N,v){c=\"REPLACE\";let O=Ac(S.location,N,v);f=m();let L=zT(O,f),B=S.createHref(O);l.replaceState(L,\"\",B),o&&d&&d({action:c,location:S.location,delta:0})}function x(N){return uS(N)}let S={get action(){return c},get location(){return e(i,l)},listen(N){if(d)throw new Error(\"A history only accepts one active listener\");return i.addEventListener(jT,p),d=N,()=>{i.removeEventListener(jT,p),d=null}},createHref(N){return t(i,N)},createURL:x,encodeLocation(N){let v=x(N);return{pathname:v.pathname,search:v.search,hash:v.hash}},push:E,replace:_,go(N){return l.go(N)}};return S}function uS(e,t=!1){let n=\"http://localhost\";typeof window<\"u\"&&(n=window.location.origin!==\"null\"?window.location.origin:window.location.href),xt(n,\"No window.location.(origin|href) available to create URL\");let r=typeof e==\"string\"?e:As(e);return r=r.replace(/ $/,\"%20\"),!t&&r.startsWith(\"//\")&&(r=n+r),new URL(r,n)}var mc,$T=class{constructor(e){if(j3(this,mc,new Map),e)for(let[t,n]of e)this.set(t,n)}get(e){if(g0(this,mc).has(e))return g0(this,mc).get(e);if(e.defaultValue!==void 0)return e.defaultValue;throw new Error(\"No value found for context\")}set(e,t){g0(this,mc).set(e,t)}};mc=new WeakMap;var Y3=new Set([\"lazy\",\"caseSensitive\",\"path\",\"id\",\"index\",\"children\"]);function G3(e){return Y3.has(e)}var V3=new Set([\"lazy\",\"caseSensitive\",\"path\",\"id\",\"index\",\"unstable_middleware\",\"children\"]);function K3(e){return V3.has(e)}function X3(e){return e.index===!0}function Nc(e,t,n=[],r={},i=!1){return e.map((o,l)=>{let c=[...n,String(l)],d=typeof o.id==\"string\"?o.id:c.join(\"-\");if(xt(o.index!==!0||!o.children,\"Cannot specify children on an index route\"),xt(i||!r[d],`Found a route id collision on id \"${d}\". Route id's must be globally unique within Data Router usages`),X3(o)){let f={...o,...t(o),id:d};return r[d]=f,f}else{let f={...o,...t(o),id:d,children:void 0};return r[d]=f,o.children&&(f.children=Nc(o.children,t,c,r,i)),f}})}function Es(e,t,n=\"/\"){return Mf(e,t,n,!1)}function Mf(e,t,n,r){let i=typeof t==\"string\"?Ls(t):t,o=_a(i.pathname||\"/\",n);if(o==null)return null;let l=cS(e);Q3(l);let c=null;for(let d=0;c==null&&d<l.length;++d){let f=lL(o);c=sL(l[d],f,r)}return c}function W3(e,t){let{route:n,pathname:r,params:i}=e;return{id:n.id,pathname:r,params:i,data:t[n.id],handle:n.handle}}function cS(e,t=[],n=[],r=\"\"){let i=(o,l,c)=>{let d={relativePath:c===void 0?o.path||\"\":c,caseSensitive:o.caseSensitive===!0,childrenIndex:l,route:o};d.relativePath.startsWith(\"/\")&&(xt(d.relativePath.startsWith(r),`Absolute route path \"${d.relativePath}\" nested under path \"${r}\" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),d.relativePath=d.relativePath.slice(r.length));let f=ei([r,d.relativePath]),m=n.concat(d);o.children&&o.children.length>0&&(xt(o.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path \"${f}\".`),cS(o.children,t,m,f)),!(o.path==null&&!o.index)&&t.push({path:f,score:aL(f,o.index),routesMeta:m})};return e.forEach((o,l)=>{var c;if(o.path===\"\"||!((c=o.path)!=null&&c.includes(\"?\")))i(o,l);else for(let d of dS(o.path))i(o,l,d)}),t}function dS(e){let t=e.split(\"/\");if(t.length===0)return[];let[n,...r]=t,i=n.endsWith(\"?\"),o=n.replace(/\\?$/,\"\");if(r.length===0)return i?[o,\"\"]:[o];let l=dS(r.join(\"/\")),c=[];return c.push(...l.map(d=>d===\"\"?o:[o,d].join(\"/\"))),i&&c.push(...l),c.map(d=>e.startsWith(\"/\")&&d===\"\"?\"/\":d)}function Q3(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:iL(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Z3=/^:[\\w-]+$/,J3=3,eL=2,tL=1,nL=10,rL=-2,qT=e=>e===\"*\";function aL(e,t){let n=e.split(\"/\"),r=n.length;return n.some(qT)&&(r+=rL),t&&(r+=eL),n.filter(i=>!qT(i)).reduce((i,o)=>i+(Z3.test(o)?J3:o===\"\"?tL:nL),r)}function iL(e,t){return e.length===t.length&&e.slice(0,-1).every((r,i)=>r===t[i])?e[e.length-1]-t[t.length-1]:0}function sL(e,t,n=!1){let{routesMeta:r}=e,i={},o=\"/\",l=[];for(let c=0;c<r.length;++c){let d=r[c],f=c===r.length-1,m=o===\"/\"?t:t.slice(o.length)||\"/\",p=Wf({path:d.relativePath,caseSensitive:d.caseSensitive,end:f},m),E=d.route;if(!p&&f&&n&&!r[r.length-1].route.index&&(p=Wf({path:d.relativePath,caseSensitive:d.caseSensitive,end:!1},m)),!p)return null;Object.assign(i,p.params),l.push({params:i,pathname:ei([o,p.pathname]),pathnameBase:fL(ei([o,p.pathnameBase])),route:E}),p.pathnameBase!==\"/\"&&(o=ei([o,p.pathnameBase]))}return l}function Wf(e,t){typeof e==\"string\"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=oL(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let o=i[0],l=o.replace(/(.)\\/+$/,\"$1\"),c=i.slice(1);return{params:r.reduce((f,{paramName:m,isOptional:p},E)=>{if(m===\"*\"){let x=c[E]||\"\";l=o.slice(0,o.length-x.length).replace(/(.)\\/+$/,\"$1\")}const _=c[E];return p&&!_?f[m]=void 0:f[m]=(_||\"\").replace(/%2F/g,\"/\"),f},{}),pathname:o,pathnameBase:l,pattern:e}}function oL(e,t=!1,n=!0){Sn(e===\"*\"||!e.endsWith(\"*\")||e.endsWith(\"/*\"),`Route path \"${e}\" will be treated as if it were \"${e.replace(/\\*$/,\"/*\")}\" because the \\`*\\` character must always follow a \\`/\\` in the pattern. To get rid of this warning, please change the route path to \"${e.replace(/\\*$/,\"/*\")}\".`);let r=[],i=\"^\"+e.replace(/\\/*\\*?$/,\"\").replace(/^\\/*/,\"/\").replace(/[\\\\.*+^${}|()[\\]]/g,\"\\\\$&\").replace(/\\/:([\\w-]+)(\\?)?/g,(l,c,d)=>(r.push({paramName:c,isOptional:d!=null}),d?\"/?([^\\\\/]+)?\":\"/([^\\\\/]+)\"));return e.endsWith(\"*\")?(r.push({paramName:\"*\"}),i+=e===\"*\"||e===\"/*\"?\"(.*)$\":\"(?:\\\\/(.+)|\\\\/*)$\"):n?i+=\"\\\\/*$\":e!==\"\"&&e!==\"/\"&&(i+=\"(?:(?=\\\\/|$))\"),[new RegExp(i,t?void 0:\"i\"),r]}function lL(e){try{return e.split(\"/\").map(t=>decodeURIComponent(t).replace(/\\//g,\"%2F\")).join(\"/\")}catch(t){return Sn(!1,`The URL path \"${e}\" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function _a(e,t){if(t===\"/\")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith(\"/\")?t.length-1:t.length,r=e.charAt(n);return r&&r!==\"/\"?null:e.slice(n)||\"/\"}function uL({basename:e,pathname:t}){return t===\"/\"?e:ei([e,t])}function cL(e,t=\"/\"){let{pathname:n,search:r=\"\",hash:i=\"\"}=typeof e==\"string\"?Ls(e):e;return{pathname:n?n.startsWith(\"/\")?n:dL(n,t):t,search:hL(r),hash:mL(i)}}function dL(e,t){let n=t.replace(/\\/+$/,\"\").split(\"/\");return e.split(\"/\").forEach(i=>{i===\"..\"?n.length>1&&n.pop():i!==\".\"&&n.push(i)}),n.length>1?n.join(\"/\"):\"/\"}function b0(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \\`to.${t}\\` field [${JSON.stringify(r)}]. Please separate it out to the \\`to.${n}\\` field. Alternatively you may provide the full path as a string in <Link to=\"...\"> and the router will parse it for you.`}function fS(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function Ah(e){let t=fS(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function Nh(e,t,n,r=!1){let i;typeof e==\"string\"?i=Ls(e):(i={...e},xt(!i.pathname||!i.pathname.includes(\"?\"),b0(\"?\",\"pathname\",\"search\",i)),xt(!i.pathname||!i.pathname.includes(\"#\"),b0(\"#\",\"pathname\",\"hash\",i)),xt(!i.search||!i.search.includes(\"#\"),b0(\"#\",\"search\",\"hash\",i)));let o=e===\"\"||i.pathname===\"\",l=o?\"/\":i.pathname,c;if(l==null)c=n;else{let p=t.length-1;if(!r&&l.startsWith(\"..\")){let E=l.split(\"/\");for(;E[0]===\"..\";)E.shift(),p-=1;i.pathname=E.join(\"/\")}c=p>=0?t[p]:\"/\"}let d=cL(i,c),f=l&&l!==\"/\"&&l.endsWith(\"/\"),m=(o||l===\".\")&&n.endsWith(\"/\");return!d.pathname.endsWith(\"/\")&&(f||m)&&(d.pathname+=\"/\"),d}var ei=e=>e.join(\"/\").replace(/\\/\\/+/g,\"/\"),fL=e=>e.replace(/\\/+$/,\"\").replace(/^\\/*/,\"/\"),hL=e=>!e||e===\"?\"?\"\":e.startsWith(\"?\")?e:\"?\"+e,mL=e=>!e||e===\"#\"?\"\":e.startsWith(\"#\")?e:\"#\"+e,Qf=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||\"\",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function wc(e){return e!=null&&typeof e.status==\"number\"&&typeof e.statusText==\"string\"&&typeof e.internal==\"boolean\"&&\"data\"in e}var hS=[\"POST\",\"PUT\",\"PATCH\",\"DELETE\"],pL=new Set(hS),gL=[\"GET\",...hS],bL=new Set(gL),EL=new Set([301,302,303,307,308]),yL=new Set([307,308]),E0={state:\"idle\",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},_L={state:\"idle\",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0},Ju={state:\"unblocked\",proceed:void 0,reset:void 0,location:void 0},TL=/^(?:[a-z][a-z0-9+.-]*:|\\/\\/)/i,Gb=e=>TL.test(e),vL=e=>({hasErrorBoundary:!!e.hasErrorBoundary}),mS=\"remix-router-transitions\",pS=Symbol(\"ResetLoaderData\");function xL(e){const t=e.window?e.window:typeof window<\"u\"?window:void 0,n=typeof t<\"u\"&&typeof t.document<\"u\"&&typeof t.document.createElement<\"u\";xt(e.routes.length>0,\"You must provide a non-empty routes array to createRouter\");let r=e.hydrationRouteProperties||[],i=e.mapRouteProperties||vL,o={},l=Nc(e.routes,i,void 0,o),c,d=e.basename||\"/\",f=e.dataStrategy||CL,m={unstable_middleware:!1,...e.future},p=null,E=new Set,_=null,x=null,S=null,N=e.hydrationData!=null,v=Es(l,e.history.location,d),O=!1,L=null,B;if(v==null&&!e.patchRoutesOnNavigation){let $=ha(404,{pathname:e.history.location.pathname}),{matches:W,route:G}=nv(l);B=!0,v=W,L={[G.id]:$}}else if(v&&!e.hydrationData&&Y(v,l,e.history.location.pathname).active&&(v=null),v)if(v.some($=>$.route.lazy))B=!1;else if(!v.some($=>$.route.loader))B=!0;else{let $=e.hydrationData?e.hydrationData.loaderData:null,W=e.hydrationData?e.hydrationData.errors:null;if(W){let G=v.findIndex(se=>W[se.route.id]!==void 0);B=v.slice(0,G+1).every(se=>!Ng(se.route,$,W))}else B=v.every(G=>!Ng(G.route,$,W))}else{B=!1,v=[];let $=Y(null,l,e.history.location.pathname);$.active&&$.matches&&(O=!0,v=$.matches)}let k,w={historyAction:e.history.action,location:e.history.location,matches:v,initialized:B,navigation:E0,restoreScrollPosition:e.hydrationData!=null?!1:null,preventScrollReset:!1,revalidation:\"idle\",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||L,fetchers:new Map,blockers:new Map},U=\"POP\",j=!1,F,M=!1,J=new Map,X=null,V=!1,ne=!1,ae=new Set,Q=new Map,be=0,K=-1,ve=new Map,R=new Set,le=new Map,te=new Map,I=new Set,ce=new Map,Te,xe=null;function Pe(){if(p=e.history.listen(({action:$,location:W,delta:G})=>{if(Te){Te(),Te=void 0;return}Sn(ce.size===0||G!=null,\"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.\");let se=qn({currentLocation:w.location,nextLocation:W,historyAction:$});if(se&&G!=null){let me=new Promise(Ie=>{Te=Ie});e.history.go(G*-1),Xt(se,{state:\"blocked\",location:W,proceed(){Xt(se,{state:\"proceeding\",proceed:void 0,reset:void 0,location:W}),me.then(()=>e.history.go(G))},reset(){let Ie=new Map(w.blockers);Ie.set(se,Ju),Ue({blockers:Ie})}});return}return Tn($,W)}),n){FL(t,J);let $=()=>HL(t,J);t.addEventListener(\"pagehide\",$),X=()=>t.removeEventListener(\"pagehide\",$)}return w.initialized||Tn(\"POP\",w.location,{initialHydration:!0}),k}function je(){p&&p(),X&&X(),E.clear(),F&&F.abort(),w.fetchers.forEach(($,W)=>ht(W)),w.blockers.forEach(($,W)=>Kt(W))}function Ze($){return E.add($),()=>E.delete($)}function Ue($,W={}){$.matches&&($.matches=$.matches.map(me=>{let Ie=o[me.route.id],Le=me.route;return Le.element!==Ie.element||Le.errorElement!==Ie.errorElement||Le.hydrateFallbackElement!==Ie.hydrateFallbackElement?{...me,route:Ie}:me})),w={...w,...$};let G=[],se=[];w.fetchers.forEach((me,Ie)=>{me.state===\"idle\"&&(I.has(Ie)?G.push(Ie):se.push(Ie))}),I.forEach(me=>{!w.fetchers.has(me)&&!Q.has(me)&&G.push(me)}),[...E].forEach(me=>me(w,{deletedFetchers:G,viewTransitionOpts:W.viewTransitionOpts,flushSync:W.flushSync===!0})),G.forEach(me=>ht(me)),se.forEach(me=>w.fetchers.delete(me))}function Pt($,W,{flushSync:G}={}){var He,Me;let se=w.actionData!=null&&w.navigation.formMethod!=null&&Nr(w.navigation.formMethod)&&w.navigation.state===\"loading\"&&((He=$.state)==null?void 0:He._isRedirect)!==!0,me;W.actionData?Object.keys(W.actionData).length>0?me=W.actionData:me=null:se?me=w.actionData:me=null;let Ie=W.loaderData?ev(w.loaderData,W.loaderData,W.matches||[],W.errors):w.loaderData,Le=w.blockers;Le.size>0&&(Le=new Map(Le),Le.forEach((rt,zt)=>Le.set(zt,Ju)));let Fe=V?!1:Zn($,W.matches||w.matches),Xe=j===!0||w.navigation.formMethod!=null&&Nr(w.navigation.formMethod)&&((Me=$.state)==null?void 0:Me._isRedirect)!==!0;c&&(l=c,c=void 0),V||U===\"POP\"||(U===\"PUSH\"?e.history.push($,$.state):U===\"REPLACE\"&&e.history.replace($,$.state));let Ge;if(U===\"POP\"){let rt=J.get(w.location.pathname);rt&&rt.has($.pathname)?Ge={currentLocation:w.location,nextLocation:$}:J.has($.pathname)&&(Ge={currentLocation:$,nextLocation:w.location})}else if(M){let rt=J.get(w.location.pathname);rt?rt.add($.pathname):(rt=new Set([$.pathname]),J.set(w.location.pathname,rt)),Ge={currentLocation:w.location,nextLocation:$}}Ue({...W,actionData:me,loaderData:Ie,historyAction:U,location:$,initialized:!0,navigation:E0,revalidation:\"idle\",restoreScrollPosition:Fe,preventScrollReset:Xe,blockers:Le},{viewTransitionOpts:Ge,flushSync:G===!0}),U=\"POP\",j=!1,M=!1,V=!1,ne=!1,xe==null||xe.resolve(),xe=null}async function mn($,W){if(typeof $==\"number\"){e.history.go($);return}let G=Ag(w.location,w.matches,d,$,W==null?void 0:W.fromRouteId,W==null?void 0:W.relative),{path:se,submission:me,error:Ie}=YT(!1,G,W),Le=w.location,Fe=Ac(w.location,se,W&&W.state);Fe={...Fe,...e.history.encodeLocation(Fe)};let Xe=W&&W.replace!=null?W.replace:void 0,Ge=\"PUSH\";Xe===!0?Ge=\"REPLACE\":Xe===!1||me!=null&&Nr(me.formMethod)&&me.formAction===w.location.pathname+w.location.search&&(Ge=\"REPLACE\");let He=W&&\"preventScrollReset\"in W?W.preventScrollReset===!0:void 0,Me=(W&&W.flushSync)===!0,rt=qn({currentLocation:Le,nextLocation:Fe,historyAction:Ge});if(rt){Xt(rt,{state:\"blocked\",location:Fe,proceed(){Xt(rt,{state:\"proceeding\",proceed:void 0,reset:void 0,location:Fe}),mn($,W)},reset(){let zt=new Map(w.blockers);zt.set(rt,Ju),Ue({blockers:zt})}});return}await Tn(Ge,Fe,{submission:me,pendingError:Ie,preventScrollReset:He,replace:W&&W.replace,enableViewTransition:W&&W.viewTransition,flushSync:Me})}function pn(){xe||(xe=jL()),Ha(),Ue({revalidation:\"loading\"});let $=xe.promise;return w.navigation.state===\"submitting\"?$:w.navigation.state===\"idle\"?(Tn(w.historyAction,w.location,{startUninterruptedRevalidation:!0}),$):(Tn(U||w.historyAction,w.navigation.location,{overrideNavigation:w.navigation,enableViewTransition:M===!0}),$)}async function Tn($,W,G){F&&F.abort(),F=null,U=$,V=(G&&G.startUninterruptedRevalidation)===!0,mi(w.location,w.matches),j=(G&&G.preventScrollReset)===!0,M=(G&&G.enableViewTransition)===!0;let se=c||l,me=G&&G.overrideNavigation,Ie=G!=null&&G.initialHydration&&w.matches&&w.matches.length>0&&!O?w.matches:Es(se,W,d),Le=(G&&G.flushSync)===!0;if(Ie&&w.initialized&&!ne&&DL(w.location,W)&&!(G&&G.submission&&Nr(G.submission.formMethod))){Pt(W,{matches:Ie},{flushSync:Le});return}let Fe=Y(Ie,se,W.pathname);if(Fe.active&&Fe.matches&&(Ie=Fe.matches),!Ie){let{error:wn,notFoundMatches:$t,route:Bt}=ji(W.pathname);Pt(W,{matches:$t,loaderData:{},errors:{[Bt.id]:wn}},{flushSync:Le});return}F=new AbortController;let Xe=pl(e.history,W,F.signal,G&&G.submission),Ge=new $T(e.unstable_getContext?await e.unstable_getContext():void 0),He;if(G&&G.pendingError)He=[lo(Ie).route.id,{type:\"error\",error:G.pendingError}];else if(G&&G.submission&&Nr(G.submission.formMethod)){let wn=await fr(Xe,W,G.submission,Ie,Ge,Fe.active,G&&G.initialHydration===!0,{replace:G.replace,flushSync:Le});if(wn.shortCircuited)return;if(wn.pendingActionResult){let[$t,Bt]=wn.pendingActionResult;if(Gr(Bt)&&wc(Bt.error)&&Bt.error.status===404){F=null,Pt(W,{matches:wn.matches,loaderData:{},errors:{[$t]:Bt.error}});return}}Ie=wn.matches||Ie,He=wn.pendingActionResult,me=y0(W,G.submission),Le=!1,Fe.active=!1,Xe=pl(e.history,Xe.url,Xe.signal)}let{shortCircuited:Me,matches:rt,loaderData:zt,errors:Nn}=await mt(Xe,W,Ie,Ge,Fe.active,me,G&&G.submission,G&&G.fetcherSubmission,G&&G.replace,G&&G.initialHydration===!0,Le,He);Me||(F=null,Pt(W,{matches:rt||Ie,...tv(He),loaderData:zt,errors:Nn}))}async function fr($,W,G,se,me,Ie,Le,Fe={}){Ha();let Xe=BL(W,G);if(Ue({navigation:Xe},{flushSync:Fe.flushSync===!0}),Ie){let Me=await pe(se,W.pathname,$.signal);if(Me.type===\"aborted\")return{shortCircuited:!0};if(Me.type===\"error\"){let rt=lo(Me.partialMatches).route.id;return{matches:Me.partialMatches,pendingActionResult:[rt,{type:\"error\",error:Me.error}]}}else if(Me.matches)se=Me.matches;else{let{notFoundMatches:rt,error:zt,route:Nn}=ji(W.pathname);return{matches:rt,pendingActionResult:[Nn.id,{type:\"error\",error:zt}]}}}let Ge,He=Pf(se,W);if(!He.route.action&&!He.route.lazy)Ge={type:\"error\",error:ha(405,{method:$.method,pathname:W.pathname,routeId:He.route.id})};else{let Me=xl(i,o,$,se,He,Le?[]:r,me),rt=await ta($,Me,me,null);if(Ge=rt[He.route.id],!Ge){for(let zt of se)if(rt[zt.route.id]){Ge=rt[zt.route.id];break}}if($.signal.aborted)return{shortCircuited:!0}}if(uo(Ge)){let Me;return Fe&&Fe.replace!=null?Me=Fe.replace:Me=QT(Ge.response.headers.get(\"Location\"),new URL($.url),d)===w.location.pathname+w.location.search,await Ir($,Ge,!0,{submission:G,replace:Me}),{shortCircuited:!0}}if(Gr(Ge)){let Me=lo(se,He.route.id);return(Fe&&Fe.replace)!==!0&&(U=\"PUSH\"),{matches:se,pendingActionResult:[Me.route.id,Ge,He.route.id]}}return{matches:se,pendingActionResult:[He.route.id,Ge]}}async function mt($,W,G,se,me,Ie,Le,Fe,Xe,Ge,He,Me){let rt=Ie||y0(W,Le),zt=Le||Fe||av(rt),Nn=!V&&!Ge;if(me){if(Nn){let ye=zn(Me);Ue({navigation:rt,...ye!==void 0?{actionData:ye}:{}},{flushSync:He})}let At=await pe(G,W.pathname,$.signal);if(At.type===\"aborted\")return{shortCircuited:!0};if(At.type===\"error\"){let ye=lo(At.partialMatches).route.id;return{matches:At.partialMatches,loaderData:{},errors:{[ye]:At.error}}}else if(At.matches)G=At.matches;else{let{error:ye,notFoundMatches:Ve,route:ut}=ji(W.pathname);return{matches:Ve,loaderData:{},errors:{[ut.id]:ye}}}}let wn=c||l,{dsMatches:$t,revalidatingFetchers:Bt}=GT($,se,i,o,e.history,w,G,zt,W,Ge?[]:r,Ge===!0,ne,ae,I,le,R,wn,d,e.patchRoutesOnNavigation!=null,Me);if(K=++be,!e.dataStrategy&&!$t.some(At=>At.shouldLoad)&&Bt.length===0){let At=An();return Pt(W,{matches:G,loaderData:{},errors:Me&&Gr(Me[1])?{[Me[0]]:Me[1].error}:null,...tv(Me),...At?{fetchers:new Map(w.fetchers)}:{}},{flushSync:He}),{shortCircuited:!0}}if(Nn){let At={};if(!me){At.navigation=rt;let ye=zn(Me);ye!==void 0&&(At.actionData=ye)}Bt.length>0&&(At.fetchers=$n(Bt)),Ue(At,{flushSync:He})}Bt.forEach(At=>{ln(At.key),At.controller&&Q.set(At.key,At.controller)});let Dr=()=>Bt.forEach(At=>ln(At.key));F&&F.signal.addEventListener(\"abort\",Dr);let{loaderResults:hr,fetcherResults:un}=await dn($t,Bt,$,se);if($.signal.aborted)return{shortCircuited:!0};F&&F.signal.removeEventListener(\"abort\",Dr),Bt.forEach(At=>Q.delete(At.key));let Pn=mf(hr);if(Pn)return await Ir($,Pn.result,!0,{replace:Xe}),{shortCircuited:!0};if(Pn=mf(un),Pn)return R.add(Pn.key),await Ir($,Pn.result,!0,{replace:Xe}),{shortCircuited:!0};let{loaderData:Mr,errors:Zt}=JT(w,G,hr,Me,Bt,un);Ge&&w.errors&&(Zt={...w.errors,...Zt});let na=An(),pi=on(K),Jn=na||pi||Bt.length>0;return{matches:G,loaderData:Mr,errors:Zt,...Jn?{fetchers:new Map(w.fetchers)}:{}}}function zn($){if($&&!Gr($[1]))return{[$[0]]:$[1].data};if(w.actionData)return Object.keys(w.actionData).length===0?null:w.actionData}function $n($){return $.forEach(W=>{let G=w.fetchers.get(W.key),se=ec(void 0,G?G.data:void 0);w.fetchers.set(W.key,se)}),new Map(w.fetchers)}async function Qn($,W,G,se){ln($);let me=(se&&se.flushSync)===!0,Ie=c||l,Le=Ag(w.location,w.matches,d,G,W,se==null?void 0:se.relative),Fe=Es(Ie,Le,d),Xe=Y(Fe,Ie,Le);if(Xe.active&&Xe.matches&&(Fe=Xe.matches),!Fe){Ne($,W,ha(404,{pathname:Le}),{flushSync:me});return}let{path:Ge,submission:He,error:Me}=YT(!0,Le,se);if(Me){Ne($,W,Me,{flushSync:me});return}let rt=new $T(e.unstable_getContext?await e.unstable_getContext():void 0),zt=(se&&se.preventScrollReset)===!0;if(He&&Nr(He.formMethod)){await Aa($,W,Ge,Fe,rt,Xe.active,me,zt,He);return}le.set($,{routeId:W,path:Ge}),await fi($,W,Ge,Fe,rt,Xe.active,me,zt,He)}async function Aa($,W,G,se,me,Ie,Le,Fe,Xe){Ha(),le.delete($);let Ge=w.fetchers.get($);de($,UL(Xe,Ge),{flushSync:Le});let He=new AbortController,Me=pl(e.history,G,He.signal,Xe);if(Ie){let ot=await pe(se,new URL(Me.url).pathname,Me.signal,$);if(ot.type===\"aborted\")return;if(ot.type===\"error\"){Ne($,W,ot.error,{flushSync:Le});return}else if(ot.matches)se=ot.matches;else{Ne($,W,ha(404,{pathname:G}),{flushSync:Le});return}}let rt=Pf(se,G);if(!rt.route.action&&!rt.route.lazy){let ot=ha(405,{method:Xe.formMethod,pathname:G,routeId:W});Ne($,W,ot,{flushSync:Le});return}Q.set($,He);let zt=be,Nn=xl(i,o,Me,se,rt,r,me),$t=(await ta(Me,Nn,me,$))[rt.route.id];if(Me.signal.aborted){Q.get($)===He&&Q.delete($);return}if(I.has($)){if(uo($t)||Gr($t)){de($,hs(void 0));return}}else{if(uo($t))if(Q.delete($),K>zt){de($,hs(void 0));return}else return R.add($),de($,ec(Xe)),Ir(Me,$t,!1,{fetcherSubmission:Xe,preventScrollReset:Fe});if(Gr($t)){Ne($,W,$t.error);return}}let Bt=w.navigation.location||w.location,Dr=pl(e.history,Bt,He.signal),hr=c||l,un=w.navigation.state!==\"idle\"?Es(hr,w.navigation.location,d):w.matches;xt(un,\"Didn't find any matches after fetcher action\");let Pn=++be;ve.set($,Pn);let Mr=ec(Xe,$t.data);w.fetchers.set($,Mr);let{dsMatches:Zt,revalidatingFetchers:na}=GT(Dr,me,i,o,e.history,w,un,Xe,Bt,r,!1,ne,ae,I,le,R,hr,d,e.patchRoutesOnNavigation!=null,[rt.route.id,$t]);na.filter(ot=>ot.key!==$).forEach(ot=>{let Jt=ot.key,Bn=w.fetchers.get(Jt),mr=ec(void 0,Bn?Bn.data:void 0);w.fetchers.set(Jt,mr),ln(Jt),ot.controller&&Q.set(Jt,ot.controller)}),Ue({fetchers:new Map(w.fetchers)});let pi=()=>na.forEach(ot=>ln(ot.key));He.signal.addEventListener(\"abort\",pi);let{loaderResults:Jn,fetcherResults:At}=await dn(Zt,na,Dr,me);if(He.signal.aborted)return;if(He.signal.removeEventListener(\"abort\",pi),ve.delete($),Q.delete($),na.forEach(ot=>Q.delete(ot.key)),w.fetchers.has($)){let ot=hs($t.data);w.fetchers.set($,ot)}let ye=mf(Jn);if(ye)return Ir(Dr,ye.result,!1,{preventScrollReset:Fe});if(ye=mf(At),ye)return R.add(ye.key),Ir(Dr,ye.result,!1,{preventScrollReset:Fe});let{loaderData:Ve,errors:ut}=JT(w,un,Jn,void 0,na,At);on(Pn),w.navigation.state===\"loading\"&&Pn>K?(xt(U,\"Expected pending action\"),F&&F.abort(),Pt(w.navigation.location,{matches:un,loaderData:Ve,errors:ut,fetchers:new Map(w.fetchers)})):(Ue({errors:ut,loaderData:ev(w.loaderData,Ve,un,ut),fetchers:new Map(w.fetchers)}),ne=!1)}async function fi($,W,G,se,me,Ie,Le,Fe,Xe){let Ge=w.fetchers.get($);de($,ec(Xe,Ge?Ge.data:void 0),{flushSync:Le});let He=new AbortController,Me=pl(e.history,G,He.signal);if(Ie){let Bt=await pe(se,new URL(Me.url).pathname,Me.signal,$);if(Bt.type===\"aborted\")return;if(Bt.type===\"error\"){Ne($,W,Bt.error,{flushSync:Le});return}else if(Bt.matches)se=Bt.matches;else{Ne($,W,ha(404,{pathname:G}),{flushSync:Le});return}}let rt=Pf(se,G);Q.set($,He);let zt=be,Nn=xl(i,o,Me,se,rt,r,me),$t=(await ta(Me,Nn,me,$))[rt.route.id];if(Q.get($)===He&&Q.delete($),!Me.signal.aborted){if(I.has($)){de($,hs(void 0));return}if(uo($t))if(K>zt){de($,hs(void 0));return}else{R.add($),await Ir(Me,$t,!1,{preventScrollReset:Fe});return}if(Gr($t)){Ne($,W,$t.error);return}de($,hs($t.data))}}async function Ir($,W,G,{submission:se,fetcherSubmission:me,preventScrollReset:Ie,replace:Le}={}){W.response.headers.has(\"X-Remix-Revalidate\")&&(ne=!0);let Fe=W.response.headers.get(\"Location\");xt(Fe,\"Expected a Location header on the redirect Response\"),Fe=QT(Fe,new URL($.url),d);let Xe=Ac(w.location,Fe,{_isRedirect:!0});if(n){let Nn=!1;if(W.response.headers.has(\"X-Remix-Reload-Document\"))Nn=!0;else if(Gb(Fe)){const wn=uS(Fe,!0);Nn=wn.origin!==t.location.origin||_a(wn.pathname,d)==null}if(Nn){Le?t.location.replace(Fe):t.location.assign(Fe);return}}F=null;let Ge=Le===!0||W.response.headers.has(\"X-Remix-Replace\")?\"REPLACE\":\"PUSH\",{formMethod:He,formAction:Me,formEncType:rt}=w.navigation;!se&&!me&&He&&Me&&rt&&(se=av(w.navigation));let zt=se||me;if(yL.has(W.response.status)&&zt&&Nr(zt.formMethod))await Tn(Ge,Xe,{submission:{...zt,formAction:Fe},preventScrollReset:Ie||j,enableViewTransition:G?M:void 0});else{let Nn=y0(Xe,se);await Tn(Ge,Xe,{overrideNavigation:Nn,fetcherSubmission:me,preventScrollReset:Ie||j,enableViewTransition:G?M:void 0})}}async function ta($,W,G,se){let me,Ie={};try{me=await RL(f,$,W,se,G,!1)}catch(Le){return W.filter(Fe=>Fe.shouldLoad).forEach(Fe=>{Ie[Fe.route.id]={type:\"error\",error:Le}}),Ie}if($.signal.aborted)return Ie;for(let[Le,Fe]of Object.entries(me))if(ML(Fe)){let Xe=Fe.result;Ie[Le]={type:\"redirect\",response:LL(Xe,$,Le,W,d)}}else Ie[Le]=await kL(Fe);return Ie}async function dn($,W,G,se){let me=ta(G,$,se,null),Ie=Promise.all(W.map(async Xe=>{if(Xe.matches&&Xe.match&&Xe.request&&Xe.controller){let He=(await ta(Xe.request,Xe.matches,se,Xe.key))[Xe.match.route.id];return{[Xe.key]:He}}else return Promise.resolve({[Xe.key]:{type:\"error\",error:ha(404,{pathname:Xe.path})}})})),Le=await me,Fe=(await Ie).reduce((Xe,Ge)=>Object.assign(Xe,Ge),{});return{loaderResults:Le,fetcherResults:Fe}}function Ha(){ne=!0,le.forEach(($,W)=>{Q.has(W)&&ae.add(W),ln(W)})}function de($,W,G={}){w.fetchers.set($,W),Ue({fetchers:new Map(w.fetchers)},{flushSync:(G&&G.flushSync)===!0})}function Ne($,W,G,se={}){let me=lo(w.matches,W);ht($),Ue({errors:{[me.route.id]:G},fetchers:new Map(w.fetchers)},{flushSync:(se&&se.flushSync)===!0})}function tt($){return te.set($,(te.get($)||0)+1),I.has($)&&I.delete($),w.fetchers.get($)||_L}function ht($){let W=w.fetchers.get($);Q.has($)&&!(W&&W.state===\"loading\"&&ve.has($))&&ln($),le.delete($),ve.delete($),R.delete($),I.delete($),ae.delete($),w.fetchers.delete($)}function It($){let W=(te.get($)||0)-1;W<=0?(te.delete($),I.add($)):te.set($,W),Ue({fetchers:new Map(w.fetchers)})}function ln($){let W=Q.get($);W&&(W.abort(),Q.delete($))}function yr($){for(let W of $){let G=tt(W),se=hs(G.data);w.fetchers.set(W,se)}}function An(){let $=[],W=!1;for(let G of R){let se=w.fetchers.get(G);xt(se,`Expected fetcher: ${G}`),se.state===\"loading\"&&(R.delete(G),$.push(G),W=!0)}return yr($),W}function on($){let W=[];for(let[G,se]of ve)if(se<$){let me=w.fetchers.get(G);xt(me,`Expected fetcher: ${G}`),me.state===\"loading\"&&(ln(G),ve.delete(G),W.push(G))}return yr(W),W.length>0}function Na($,W){let G=w.blockers.get($)||Ju;return ce.get($)!==W&&ce.set($,W),G}function Kt($){w.blockers.delete($),ce.delete($)}function Xt($,W){let G=w.blockers.get($)||Ju;xt(G.state===\"unblocked\"&&W.state===\"blocked\"||G.state===\"blocked\"&&W.state===\"blocked\"||G.state===\"blocked\"&&W.state===\"proceeding\"||G.state===\"blocked\"&&W.state===\"unblocked\"||G.state===\"proceeding\"&&W.state===\"unblocked\",`Invalid blocker state transition: ${G.state} -> ${W.state}`);let se=new Map(w.blockers);se.set($,W),Ue({blockers:se})}function qn({currentLocation:$,nextLocation:W,historyAction:G}){if(ce.size===0)return;ce.size>1&&Sn(!1,\"A router only supports one blocker at a time\");let se=Array.from(ce.entries()),[me,Ie]=se[se.length-1],Le=w.blockers.get(me);if(!(Le&&Le.state===\"proceeding\")&&Ie({currentLocation:$,nextLocation:W,historyAction:G}))return me}function ji($){let W=ha(404,{pathname:$}),G=c||l,{matches:se,route:me}=nv(G);return{notFoundMatches:se,route:me,error:W}}function Lo($,W,G){if(_=$,S=W,x=G||null,!N&&w.navigation===E0){N=!0;let se=Zn(w.location,w.matches);se!=null&&Ue({restoreScrollPosition:se})}return()=>{_=null,S=null,x=null}}function hi($,W){return x&&x($,W.map(se=>W3(se,w.loaderData)))||$.key}function mi($,W){if(_&&S){let G=hi($,W);_[G]=S()}}function Zn($,W){if(_){let G=hi($,W),se=_[G];if(typeof se==\"number\")return se}return null}function Y($,W,G){if(e.patchRoutesOnNavigation)if($){if(Object.keys($[0].params).length>0)return{active:!0,matches:Mf(W,G,d,!0)}}else return{active:!0,matches:Mf(W,G,d,!0)||[]};return{active:!1,matches:null}}async function pe($,W,G,se){if(!e.patchRoutesOnNavigation)return{type:\"success\",matches:$};let me=$;for(;;){let Ie=c==null,Le=c||l,Fe=o;try{await e.patchRoutesOnNavigation({signal:G,path:W,matches:me,fetcherKey:se,patch:(He,Me)=>{G.aborted||VT(He,Me,Le,Fe,i,!1)}})}catch(He){return{type:\"error\",error:He,partialMatches:me}}finally{Ie&&!G.aborted&&(l=[...l])}if(G.aborted)return{type:\"aborted\"};let Xe=Es(Le,W,d);if(Xe)return{type:\"success\",matches:Xe};let Ge=Mf(Le,W,d,!0);if(!Ge||me.length===Ge.length&&me.every((He,Me)=>He.route.id===Ge[Me].route.id))return{type:\"success\",matches:null};me=Ge}}function ke($){o={},c=Nc($,i,void 0,o)}function st($,W,G=!1){let se=c==null;VT($,W,c||l,o,i,G),se&&(l=[...l],Ue({}))}return k={get basename(){return d},get future(){return m},get state(){return w},get routes(){return l},get window(){return t},initialize:Pe,subscribe:Ze,enableScrollRestoration:Lo,navigate:mn,fetch:Qn,revalidate:pn,createHref:$=>e.history.createHref($),encodeLocation:$=>e.history.encodeLocation($),getFetcher:tt,deleteFetcher:It,dispose:je,getBlocker:Na,deleteBlocker:Kt,patchRoutes:st,_internalFetchControllers:Q,_internalSetRoutes:ke,_internalSetStateDoNotUseOrYouWillBreakYourApp($){Ue($)}},k}function SL(e){return e!=null&&(\"formData\"in e&&e.formData!=null||\"body\"in e&&e.body!==void 0)}function Ag(e,t,n,r,i,o){let l,c;if(i){l=[];for(let f of t)if(l.push(f),f.route.id===i){c=f;break}}else l=t,c=t[t.length-1];let d=Nh(r||\".\",Ah(l),_a(e.pathname,n)||e.pathname,o===\"path\");if(r==null&&(d.search=e.search,d.hash=e.hash),(r==null||r===\"\"||r===\".\")&&c){let f=Vb(d.search);if(c.route.index&&!f)d.search=d.search?d.search.replace(/^\\?/,\"?index&\"):\"?index\";else if(!c.route.index&&f){let m=new URLSearchParams(d.search),p=m.getAll(\"index\");m.delete(\"index\"),p.filter(_=>_).forEach(_=>m.append(\"index\",_));let E=m.toString();d.search=E?`?${E}`:\"\"}}return n!==\"/\"&&(d.pathname=uL({basename:n,pathname:d.pathname})),As(d)}function YT(e,t,n){if(!n||!SL(n))return{path:t};if(n.formMethod&&!PL(n.formMethod))return{path:t,error:ha(405,{method:n.formMethod})};let r=()=>({path:t,error:ha(400,{type:\"invalid-body\"})}),o=(n.formMethod||\"get\").toUpperCase(),l=TS(t);if(n.body!==void 0){if(n.formEncType===\"text/plain\"){if(!Nr(o))return r();let p=typeof n.body==\"string\"?n.body:n.body instanceof FormData||n.body instanceof URLSearchParams?Array.from(n.body.entries()).reduce((E,[_,x])=>`${E}${_}=${x}\n`,\"\"):String(n.body);return{path:t,submission:{formMethod:o,formAction:l,formEncType:n.formEncType,formData:void 0,json:void 0,text:p}}}else if(n.formEncType===\"application/json\"){if(!Nr(o))return r();try{let p=typeof n.body==\"string\"?JSON.parse(n.body):n.body;return{path:t,submission:{formMethod:o,formAction:l,formEncType:n.formEncType,formData:void 0,json:p,text:void 0}}}catch{return r()}}}xt(typeof FormData==\"function\",\"FormData is not available in this environment\");let c,d;if(n.formData)c=Cg(n.formData),d=n.formData;else if(n.body instanceof FormData)c=Cg(n.body),d=n.body;else if(n.body instanceof URLSearchParams)c=n.body,d=ZT(c);else if(n.body==null)c=new URLSearchParams,d=new FormData;else try{c=new URLSearchParams(n.body),d=ZT(c)}catch{return r()}let f={formMethod:o,formAction:l,formEncType:n&&n.formEncType||\"application/x-www-form-urlencoded\",formData:d,json:void 0,text:void 0};if(Nr(f.formMethod))return{path:t,submission:f};let m=Ls(t);return e&&m.search&&Vb(m.search)&&c.append(\"index\",\"\"),m.search=`?${c}`,{path:As(m),submission:f}}function GT(e,t,n,r,i,o,l,c,d,f,m,p,E,_,x,S,N,v,O,L){var V;let B=L?Gr(L[1])?L[1].error:L[1].data:void 0,k=i.createURL(o.location),w=i.createURL(d),U;if(m&&o.errors){let ne=Object.keys(o.errors)[0];U=l.findIndex(ae=>ae.route.id===ne)}else if(L&&Gr(L[1])){let ne=L[0];U=l.findIndex(ae=>ae.route.id===ne)-1}let j=L?L[1].statusCode:void 0,F=j&&j>=400,M={currentUrl:k,currentParams:((V=o.matches[0])==null?void 0:V.params)||{},nextUrl:w,nextParams:l[0].params,...c,actionResult:B,actionStatus:j},J=l.map((ne,ae)=>{let{route:Q}=ne,be=null;if(U!=null&&ae>U?be=!1:Q.lazy?be=!0:Q.loader==null?be=!1:m?be=Ng(Q,o.loaderData,o.errors):AL(o.loaderData,o.matches[ae],ne)&&(be=!0),be!==null)return wg(n,r,e,ne,f,t,be);let K=F?!1:p||k.pathname+k.search===w.pathname+w.search||k.search!==w.search||NL(o.matches[ae],ne),ve={...M,defaultShouldRevalidate:K},R=Zf(ne,ve);return wg(n,r,e,ne,f,t,R,ve)}),X=[];return x.forEach((ne,ae)=>{if(m||!l.some(I=>I.route.id===ne.routeId)||_.has(ae))return;let Q=o.fetchers.get(ae),be=Q&&Q.state!==\"idle\"&&Q.data===void 0,K=Es(N,ne.path,v);if(!K){if(O&&be)return;X.push({key:ae,routeId:ne.routeId,path:ne.path,matches:null,match:null,request:null,controller:null});return}if(S.has(ae))return;let ve=Pf(K,ne.path),R=new AbortController,le=pl(i,ne.path,R.signal),te=null;if(E.has(ae))E.delete(ae),te=xl(n,r,le,K,ve,f,t);else if(be)p&&(te=xl(n,r,le,K,ve,f,t));else{let I={...M,defaultShouldRevalidate:F?!1:p};Zf(ve,I)&&(te=xl(n,r,le,K,ve,f,t,I))}te&&X.push({key:ae,routeId:ne.routeId,path:ne.path,matches:te,match:ve,request:le,controller:R})}),{dsMatches:J,revalidatingFetchers:X}}function Ng(e,t,n){if(e.lazy)return!0;if(!e.loader)return!1;let r=t!=null&&e.id in t,i=n!=null&&n[e.id]!==void 0;return!r&&i?!1:typeof e.loader==\"function\"&&e.loader.hydrate===!0?!0:!r&&!i}function AL(e,t,n){let r=!t||n.route.id!==t.route.id,i=!e.hasOwnProperty(n.route.id);return r||i}function NL(e,t){let n=e.route.path;return e.pathname!==t.pathname||n!=null&&n.endsWith(\"*\")&&e.params[\"*\"]!==t.params[\"*\"]}function Zf(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if(typeof n==\"boolean\")return n}return t.defaultShouldRevalidate}function VT(e,t,n,r,i,o){let l;if(e){let f=r[e];xt(f,`No route found to patch children into: routeId = ${e}`),f.children||(f.children=[]),l=f.children}else l=n;let c=[],d=[];if(t.forEach(f=>{let m=l.find(p=>gS(f,p));m?d.push({existingRoute:m,newRoute:f}):c.push(f)}),c.length>0){let f=Nc(c,i,[e||\"_\",\"patch\",String((l==null?void 0:l.length)||\"0\")],r);l.push(...f)}if(o&&d.length>0)for(let f=0;f<d.length;f++){let{existingRoute:m,newRoute:p}=d[f],E=m,[_]=Nc([p],i,[],{},!0);Object.assign(E,{element:_.element?_.element:E.element,errorElement:_.errorElement?_.errorElement:E.errorElement,hydrateFallbackElement:_.hydrateFallbackElement?_.hydrateFallbackElement:E.hydrateFallbackElement})}}function gS(e,t){return\"id\"in e&&\"id\"in t&&e.id===t.id?!0:e.index===t.index&&e.path===t.path&&e.caseSensitive===t.caseSensitive?(!e.children||e.children.length===0)&&(!t.children||t.children.length===0)?!0:e.children.every((n,r)=>{var i;return(i=t.children)==null?void 0:i.some(o=>gS(n,o))}):!1}var KT=new WeakMap,bS=({key:e,route:t,manifest:n,mapRouteProperties:r})=>{let i=n[t.id];if(xt(i,\"No route found in manifest\"),!i.lazy||typeof i.lazy!=\"object\")return;let o=i.lazy[e];if(!o)return;let l=KT.get(i);l||(l={},KT.set(i,l));let c=l[e];if(c)return c;let d=(async()=>{let f=G3(e),p=i[e]!==void 0&&e!==\"hasErrorBoundary\";if(f)Sn(!f,\"Route property \"+e+\" is not a supported lazy route property. This property will be ignored.\"),l[e]=Promise.resolve();else if(p)Sn(!1,`Route \"${i.id}\" has a static property \"${e}\" defined. The lazy property will be ignored.`);else{let E=await o();E!=null&&(Object.assign(i,{[e]:E}),Object.assign(i,r(i)))}typeof i.lazy==\"object\"&&(i.lazy[e]=void 0,Object.values(i.lazy).every(E=>E===void 0)&&(i.lazy=void 0))})();return l[e]=d,d},XT=new WeakMap;function wL(e,t,n,r,i){let o=n[e.id];if(xt(o,\"No route found in manifest\"),!e.lazy)return{lazyRoutePromise:void 0,lazyHandlerPromise:void 0};if(typeof e.lazy==\"function\"){let m=XT.get(o);if(m)return{lazyRoutePromise:m,lazyHandlerPromise:m};let p=(async()=>{xt(typeof e.lazy==\"function\",\"No lazy route function found\");let E=await e.lazy(),_={};for(let x in E){let S=E[x];if(S===void 0)continue;let N=K3(x),O=o[x]!==void 0&&x!==\"hasErrorBoundary\";N?Sn(!N,\"Route property \"+x+\" is not a supported property to be returned from a lazy route function. This property will be ignored.\"):O?Sn(!O,`Route \"${o.id}\" has a static property \"${x}\" defined but its lazy function is also returning a value for this property. The lazy route property \"${x}\" will be ignored.`):_[x]=S}Object.assign(o,_),Object.assign(o,{...r(o),lazy:void 0})})();return XT.set(o,p),p.catch(()=>{}),{lazyRoutePromise:p,lazyHandlerPromise:p}}let l=Object.keys(e.lazy),c=[],d;for(let m of l){if(i&&i.includes(m))continue;let p=bS({key:m,route:e,manifest:n,mapRouteProperties:r});p&&(c.push(p),m===t&&(d=p))}let f=c.length>0?Promise.all(c).then(()=>{}):void 0;return f==null||f.catch(()=>{}),d==null||d.catch(()=>{}),{lazyRoutePromise:f,lazyHandlerPromise:d}}async function WT(e){let t=e.matches.filter(i=>i.shouldLoad),n={};return(await Promise.all(t.map(i=>i.resolve()))).forEach((i,o)=>{n[t[o].route.id]=i}),n}async function CL(e){return e.matches.some(t=>t.route.unstable_middleware)?ES(e,!1,()=>WT(e),(t,n)=>({[n]:{type:\"error\",result:t}})):WT(e)}async function ES(e,t,n,r){let{matches:i,request:o,params:l,context:c}=e,d={handlerResult:void 0};try{let f=i.flatMap(p=>p.route.unstable_middleware?p.route.unstable_middleware.map(E=>[p.route.id,E]):[]),m=await yS({request:o,params:l,context:c},f,t,d,n);return t?m:d.handlerResult}catch(f){if(!d.middlewareError)throw f;let m=await r(d.middlewareError.error,d.middlewareError.routeId);return d.handlerResult?Object.assign(d.handlerResult,m):m}}async function yS(e,t,n,r,i,o=0){let{request:l}=e;if(l.signal.aborted)throw l.signal.reason?l.signal.reason:new Error(`Request aborted without an \\`AbortSignal.reason\\`: ${l.method} ${l.url}`);let c=t[o];if(!c)return r.handlerResult=await i(),r.handlerResult;let[d,f]=c,m=!1,p,E=async()=>{if(m)throw new Error(\"You may only call `next()` once per middleware\");m=!0,await yS(e,t,n,r,i,o+1)};try{let _=await f({request:e.request,params:e.params,context:e.context},E);return m?_===void 0?p:_:E()}catch(_){throw r.middlewareError?r.middlewareError.error!==_&&(r.middlewareError={routeId:d,error:_}):r.middlewareError={routeId:d,error:_},_}}function _S(e,t,n,r,i){let o=bS({key:\"unstable_middleware\",route:r.route,manifest:t,mapRouteProperties:e}),l=wL(r.route,Nr(n.method)?\"action\":\"loader\",t,e,i);return{middleware:o,route:l.lazyRoutePromise,handler:l.lazyHandlerPromise}}function wg(e,t,n,r,i,o,l,c=null){let d=!1,f=_S(e,t,n,r,i);return{...r,_lazyPromises:f,shouldLoad:l,unstable_shouldRevalidateArgs:c,unstable_shouldCallHandler(m){return d=!0,c?typeof m==\"boolean\"?Zf(r,{...c,defaultShouldRevalidate:m}):Zf(r,c):l},resolve(m){return d||l||m&&!Nr(n.method)&&(r.route.lazy||r.route.loader)?OL({request:n,match:r,lazyHandlerPromise:f==null?void 0:f.handler,lazyRoutePromise:f==null?void 0:f.route,handlerOverride:m,scopedContext:o}):Promise.resolve({type:\"data\",result:void 0})}}}function xl(e,t,n,r,i,o,l,c=null){return r.map(d=>d.route.id!==i.route.id?{...d,shouldLoad:!1,unstable_shouldRevalidateArgs:c,unstable_shouldCallHandler:()=>!1,_lazyPromises:_S(e,t,n,d,o),resolve:()=>Promise.resolve({type:\"data\",result:void 0})}:wg(e,t,n,d,o,l,!0,c))}async function RL(e,t,n,r,i,o){n.some(f=>{var m;return(m=f._lazyPromises)==null?void 0:m.middleware})&&await Promise.all(n.map(f=>{var m;return(m=f._lazyPromises)==null?void 0:m.middleware}));let l={request:t,params:n[0].params,context:i,matches:n},d=await e({...l,fetcherKey:r,unstable_runClientMiddleware:f=>{let m=l;return ES(m,!1,()=>f({...m,fetcherKey:r,unstable_runClientMiddleware:()=>{throw new Error(\"Cannot call `unstable_runClientMiddleware()` from within an `unstable_runClientMiddleware` handler\")}}),(p,E)=>({[E]:{type:\"error\",result:p}}))}});try{await Promise.all(n.flatMap(f=>{var m,p;return[(m=f._lazyPromises)==null?void 0:m.handler,(p=f._lazyPromises)==null?void 0:p.route]}))}catch{}return d}async function OL({request:e,match:t,lazyHandlerPromise:n,lazyRoutePromise:r,handlerOverride:i,scopedContext:o}){let l,c,d=Nr(e.method),f=d?\"action\":\"loader\",m=p=>{let E,_=new Promise((N,v)=>E=v);c=()=>E(),e.signal.addEventListener(\"abort\",c);let x=N=>typeof p!=\"function\"?Promise.reject(new Error(`You cannot call the handler for a route which defines a boolean \"${f}\" [routeId: ${t.route.id}]`)):p({request:e,params:t.params,context:o},...N!==void 0?[N]:[]),S=(async()=>{try{return{type:\"data\",result:await(i?i(v=>x(v)):x())}}catch(N){return{type:\"error\",result:N}}})();return Promise.race([S,_])};try{let p=d?t.route.action:t.route.loader;if(n||r)if(p){let E,[_]=await Promise.all([m(p).catch(x=>{E=x}),n,r]);if(E!==void 0)throw E;l=_}else{await n;let E=d?t.route.action:t.route.loader;if(E)[l]=await Promise.all([m(E),r]);else if(f===\"action\"){let _=new URL(e.url),x=_.pathname+_.search;throw ha(405,{method:e.method,pathname:x,routeId:t.route.id})}else return{type:\"data\",result:void 0}}else if(p)l=await m(p);else{let E=new URL(e.url),_=E.pathname+E.search;throw ha(404,{pathname:_})}}catch(p){return{type:\"error\",result:p}}finally{c&&e.signal.removeEventListener(\"abort\",c)}return l}async function kL(e){var r,i,o,l,c,d;let{result:t,type:n}=e;if(vS(t)){let f;try{let m=t.headers.get(\"Content-Type\");m&&/\\bapplication\\/json\\b/.test(m)?t.body==null?f=null:f=await t.json():f=await t.text()}catch(m){return{type:\"error\",error:m}}return n===\"error\"?{type:\"error\",error:new Qf(t.status,t.statusText,f),statusCode:t.status,headers:t.headers}:{type:\"data\",data:f,statusCode:t.status,headers:t.headers}}return n===\"error\"?rv(t)?t.data instanceof Error?{type:\"error\",error:t.data,statusCode:(r=t.init)==null?void 0:r.status,headers:(i=t.init)!=null&&i.headers?new Headers(t.init.headers):void 0}:{type:\"error\",error:new Qf(((o=t.init)==null?void 0:o.status)||500,void 0,t.data),statusCode:wc(t)?t.status:void 0,headers:(l=t.init)!=null&&l.headers?new Headers(t.init.headers):void 0}:{type:\"error\",error:t,statusCode:wc(t)?t.status:void 0}:rv(t)?{type:\"data\",data:t.data,statusCode:(c=t.init)==null?void 0:c.status,headers:(d=t.init)!=null&&d.headers?new Headers(t.init.headers):void 0}:{type:\"data\",data:t}}function LL(e,t,n,r,i){let o=e.headers.get(\"Location\");if(xt(o,\"Redirects returned/thrown from loaders/actions must have a Location header\"),!Gb(o)){let l=r.slice(0,r.findIndex(c=>c.route.id===n)+1);o=Ag(new URL(t.url),l,i,o),e.headers.set(\"Location\",o)}return e}function QT(e,t,n){if(Gb(e)){let r=e,i=r.startsWith(\"//\")?new URL(t.protocol+r):new URL(r),o=_a(i.pathname,n)!=null;if(i.origin===t.origin&&o)return i.pathname+i.search+i.hash}return e}function pl(e,t,n,r){let i=e.createURL(TS(t)).toString(),o={signal:n};if(r&&Nr(r.formMethod)){let{formMethod:l,formEncType:c}=r;o.method=l.toUpperCase(),c===\"application/json\"?(o.headers=new Headers({\"Content-Type\":c}),o.body=JSON.stringify(r.json)):c===\"text/plain\"?o.body=r.text:c===\"application/x-www-form-urlencoded\"&&r.formData?o.body=Cg(r.formData):o.body=r.formData}return new Request(i,o)}function Cg(e){let t=new URLSearchParams;for(let[n,r]of e.entries())t.append(n,typeof r==\"string\"?r:r.name);return t}function ZT(e){let t=new FormData;for(let[n,r]of e.entries())t.append(n,r);return t}function IL(e,t,n,r=!1,i=!1){let o={},l=null,c,d=!1,f={},m=n&&Gr(n[1])?n[1].error:void 0;return e.forEach(p=>{if(!(p.route.id in t))return;let E=p.route.id,_=t[E];if(xt(!uo(_),\"Cannot handle redirect results in processLoaderData\"),Gr(_)){let x=_.error;if(m!==void 0&&(x=m,m=void 0),l=l||{},i)l[E]=x;else{let S=lo(e,E);l[S.route.id]==null&&(l[S.route.id]=x)}r||(o[E]=pS),d||(d=!0,c=wc(_.error)?_.error.status:500),_.headers&&(f[E]=_.headers)}else o[E]=_.data,_.statusCode&&_.statusCode!==200&&!d&&(c=_.statusCode),_.headers&&(f[E]=_.headers)}),m!==void 0&&n&&(l={[n[0]]:m},n[2]&&(o[n[2]]=void 0)),{loaderData:o,errors:l,statusCode:c||200,loaderHeaders:f}}function JT(e,t,n,r,i,o){let{loaderData:l,errors:c}=IL(t,n,r);return i.filter(d=>!d.matches||d.matches.some(f=>f.shouldLoad)).forEach(d=>{let{key:f,match:m,controller:p}=d,E=o[f];if(xt(E,\"Did not find corresponding fetcher result\"),!(p&&p.signal.aborted))if(Gr(E)){let _=lo(e.matches,m==null?void 0:m.route.id);c&&c[_.route.id]||(c={...c,[_.route.id]:E.error}),e.fetchers.delete(f)}else if(uo(E))xt(!1,\"Unhandled fetcher revalidation redirect\");else{let _=hs(E.data);e.fetchers.set(f,_)}}),{loaderData:l,errors:c}}function ev(e,t,n,r){let i=Object.entries(t).filter(([,o])=>o!==pS).reduce((o,[l,c])=>(o[l]=c,o),{});for(let o of n){let l=o.route.id;if(!t.hasOwnProperty(l)&&e.hasOwnProperty(l)&&o.route.loader&&(i[l]=e[l]),r&&r.hasOwnProperty(l))break}return i}function tv(e){return e?Gr(e[1])?{actionData:{}}:{actionData:{[e[0]]:e[1].data}}:{}}function lo(e,t){return(t?e.slice(0,e.findIndex(r=>r.route.id===t)+1):[...e]).reverse().find(r=>r.route.hasErrorBoundary===!0)||e[0]}function nv(e){let t=e.length===1?e[0]:e.find(n=>n.index||!n.path||n.path===\"/\")||{id:\"__shim-error-route__\"};return{matches:[{params:{},pathname:\"\",pathnameBase:\"\",route:t}],route:t}}function ha(e,{pathname:t,routeId:n,method:r,type:i,message:o}={}){let l=\"Unknown Server Error\",c=\"Unknown @remix-run/router error\";return e===400?(l=\"Bad Request\",r&&t&&n?c=`You made a ${r} request to \"${t}\" but did not provide a \\`loader\\` for route \"${n}\", so there is no way to handle the request.`:i===\"invalid-body\"&&(c=\"Unable to encode submission body\")):e===403?(l=\"Forbidden\",c=`Route \"${n}\" does not match URL \"${t}\"`):e===404?(l=\"Not Found\",c=`No route matches URL \"${t}\"`):e===405&&(l=\"Method Not Allowed\",r&&t&&n?c=`You made a ${r.toUpperCase()} request to \"${t}\" but did not provide an \\`action\\` for route \"${n}\", so there is no way to handle the request.`:r&&(c=`Invalid request method \"${r.toUpperCase()}\"`)),new Qf(e||500,l,new Error(c),!0)}function mf(e){let t=Object.entries(e);for(let n=t.length-1;n>=0;n--){let[r,i]=t[n];if(uo(i))return{key:r,result:i}}}function TS(e){let t=typeof e==\"string\"?Ls(e):e;return As({...t,hash:\"\"})}function DL(e,t){return e.pathname!==t.pathname||e.search!==t.search?!1:e.hash===\"\"?t.hash!==\"\":e.hash===t.hash?!0:t.hash!==\"\"}function ML(e){return vS(e.result)&&EL.has(e.result.status)}function Gr(e){return e.type===\"error\"}function uo(e){return(e&&e.type)===\"redirect\"}function rv(e){return typeof e==\"object\"&&e!=null&&\"type\"in e&&\"data\"in e&&\"init\"in e&&e.type===\"DataWithResponseInit\"}function vS(e){return e!=null&&typeof e.status==\"number\"&&typeof e.statusText==\"string\"&&typeof e.headers==\"object\"&&typeof e.body<\"u\"}function PL(e){return bL.has(e.toUpperCase())}function Nr(e){return pL.has(e.toUpperCase())}function Vb(e){return new URLSearchParams(e).getAll(\"index\").some(t=>t===\"\")}function Pf(e,t){let n=typeof t==\"string\"?Ls(t).search:t.search;if(e[e.length-1].route.index&&Vb(n||\"\"))return e[e.length-1];let r=fS(e);return r[r.length-1]}function av(e){let{formMethod:t,formAction:n,formEncType:r,text:i,formData:o,json:l}=e;if(!(!t||!n||!r)){if(i!=null)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:void 0,text:i};if(o!=null)return{formMethod:t,formAction:n,formEncType:r,formData:o,json:void 0,text:void 0};if(l!==void 0)return{formMethod:t,formAction:n,formEncType:r,formData:void 0,json:l,text:void 0}}}function y0(e,t){return t?{state:\"loading\",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}:{state:\"loading\",location:e,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0}}function BL(e,t){return{state:\"submitting\",location:e,formMethod:t.formMethod,formAction:t.formAction,formEncType:t.formEncType,formData:t.formData,json:t.json,text:t.text}}function ec(e,t){return e?{state:\"loading\",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t}:{state:\"loading\",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:t}}function UL(e,t){return{state:\"submitting\",formMethod:e.formMethod,formAction:e.formAction,formEncType:e.formEncType,formData:e.formData,json:e.json,text:e.text,data:t?t.data:void 0}}function hs(e){return{state:\"idle\",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0,json:void 0,text:void 0,data:e}}function FL(e,t){try{let n=e.sessionStorage.getItem(mS);if(n){let r=JSON.parse(n);for(let[i,o]of Object.entries(r||{}))o&&Array.isArray(o)&&t.set(i,new Set(o||[]))}}catch{}}function HL(e,t){if(t.size>0){let n={};for(let[r,i]of t)n[r]=[...i];try{e.sessionStorage.setItem(mS,JSON.stringify(n))}catch(r){Sn(!1,`Failed to save applied view transitions in sessionStorage (${r}).`)}}}function jL(){let e,t,n=new Promise((r,i)=>{e=async o=>{r(o);try{await n}catch{}},t=async o=>{i(o);try{await n}catch{}}});return{promise:n,resolve:e,reject:t}}var No=A.createContext(null);No.displayName=\"DataRouter\";var Hc=A.createContext(null);Hc.displayName=\"DataRouterState\";A.createContext(!1);var Kb=A.createContext({isTransitioning:!1});Kb.displayName=\"ViewTransition\";var xS=A.createContext(new Map);xS.displayName=\"Fetchers\";var zL=A.createContext(null);zL.displayName=\"Await\";var Pa=A.createContext(null);Pa.displayName=\"Navigation\";var wh=A.createContext(null);wh.displayName=\"Location\";var Ta=A.createContext({outlet:null,matches:[],isDataRoute:!1});Ta.displayName=\"Route\";var Xb=A.createContext(null);Xb.displayName=\"RouteError\";function $L(e,{relative:t}={}){xt($l(),\"useHref() may be used only in the context of a <Router> component.\");let{basename:n,navigator:r}=A.useContext(Pa),{hash:i,pathname:o,search:l}=jc(e,{relative:t}),c=o;return n!==\"/\"&&(c=o===\"/\"?n:ei([n,o])),r.createHref({pathname:c,search:l,hash:i})}function $l(){return A.useContext(wh)!=null}function ii(){return xt($l(),\"useLocation() may be used only in the context of a <Router> component.\"),A.useContext(wh).location}var SS=\"You should call navigate() in a React.useEffect(), not when your component is first rendered.\";function AS(e){A.useContext(Pa).static||A.useLayoutEffect(e)}function NS(){let{isDataRoute:e}=A.useContext(Ta);return e?aI():qL()}function qL(){xt($l(),\"useNavigate() may be used only in the context of a <Router> component.\");let e=A.useContext(No),{basename:t,navigator:n}=A.useContext(Pa),{matches:r}=A.useContext(Ta),{pathname:i}=ii(),o=JSON.stringify(Ah(r)),l=A.useRef(!1);return AS(()=>{l.current=!0}),A.useCallback((d,f={})=>{if(Sn(l.current,SS),!l.current)return;if(typeof d==\"number\"){n.go(d);return}let m=Nh(d,JSON.parse(o),i,f.relative===\"path\");e==null&&t!==\"/\"&&(m.pathname=m.pathname===\"/\"?t:ei([t,m.pathname])),(f.replace?n.replace:n.push)(m,f.state,f)},[t,n,o,i,e])}var YL=A.createContext(null);function GL(e){let t=A.useContext(Ta).outlet;return t&&A.createElement(YL.Provider,{value:e},t)}function Wb(){let{matches:e}=A.useContext(Ta),t=e[e.length-1];return t?t.params:{}}function jc(e,{relative:t}={}){let{matches:n}=A.useContext(Ta),{pathname:r}=ii(),i=JSON.stringify(Ah(n));return A.useMemo(()=>Nh(e,JSON.parse(i),r,t===\"path\"),[e,i,r,t])}function VL(e,t,n,r){xt($l(),\"useRoutes() may be used only in the context of a <Router> component.\");let{navigator:i}=A.useContext(Pa),{matches:o}=A.useContext(Ta),l=o[o.length-1],c=l?l.params:{},d=l?l.pathname:\"/\",f=l?l.pathnameBase:\"/\",m=l&&l.route;{let v=m&&m.path||\"\";wS(d,!m||v.endsWith(\"*\")||v.endsWith(\"*?\"),`You rendered descendant <Routes> (or called \\`useRoutes()\\`) at \"${d}\" (under <Route path=\"${v}\">) but the parent route path has no trailing \"*\". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path=\"${v}\"> to <Route path=\"${v===\"/\"?\"*\":`${v}/*`}\">.`)}let p=ii(),E;E=p;let _=E.pathname||\"/\",x=_;if(f!==\"/\"){let v=f.replace(/^\\//,\"\").split(\"/\");x=\"/\"+_.replace(/^\\//,\"\").split(\"/\").slice(v.length).join(\"/\")}let S=Es(e,{pathname:x});return Sn(m||S!=null,`No routes matched location \"${E.pathname}${E.search}${E.hash}\" `),Sn(S==null||S[S.length-1].route.element!==void 0||S[S.length-1].route.Component!==void 0||S[S.length-1].route.lazy!==void 0,`Matched leaf route at location \"${E.pathname}${E.search}${E.hash}\" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an \"empty\" page.`),ZL(S&&S.map(v=>Object.assign({},v,{params:Object.assign({},c,v.params),pathname:ei([f,i.encodeLocation?i.encodeLocation(v.pathname).pathname:v.pathname]),pathnameBase:v.pathnameBase===\"/\"?f:ei([f,i.encodeLocation?i.encodeLocation(v.pathnameBase).pathname:v.pathnameBase])})),o,n,r)}function KL(){let e=rI(),t=wc(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r=\"rgba(200,200,200, 0.5)\",i={padding:\"0.5rem\",backgroundColor:r},o={padding:\"2px 4px\",backgroundColor:r},l=null;return console.error(\"Error handled by React Router default ErrorBoundary:\",e),l=A.createElement(A.Fragment,null,A.createElement(\"p\",null,\"💿 Hey developer 👋\"),A.createElement(\"p\",null,\"You can provide a way better UX than this when your app throws errors by providing your own \",A.createElement(\"code\",{style:o},\"ErrorBoundary\"),\" or\",\" \",A.createElement(\"code\",{style:o},\"errorElement\"),\" prop on your route.\")),A.createElement(A.Fragment,null,A.createElement(\"h2\",null,\"Unexpected Application Error!\"),A.createElement(\"h3\",{style:{fontStyle:\"italic\"}},t),n?A.createElement(\"pre\",{style:i},n):null,l)}var XL=A.createElement(KL,null),WL=class extends A.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!==\"idle\"&&e.revalidation===\"idle\"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error(\"React Router caught the following error during render\",e,t)}render(){return this.state.error!==void 0?A.createElement(Ta.Provider,{value:this.props.routeContext},A.createElement(Xb.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function QL({routeContext:e,match:t,children:n}){let r=A.useContext(No);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),A.createElement(Ta.Provider,{value:e},n)}function ZL(e,t=[],n=null,r=null){if(e==null){if(!n)return null;if(n.errors)e=n.matches;else if(t.length===0&&!n.initialized&&n.matches.length>0)e=n.matches;else return null}let i=e,o=n==null?void 0:n.errors;if(o!=null){let d=i.findIndex(f=>f.route.id&&(o==null?void 0:o[f.route.id])!==void 0);xt(d>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(\",\")}`),i=i.slice(0,Math.min(i.length,d+1))}let l=!1,c=-1;if(n)for(let d=0;d<i.length;d++){let f=i[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(c=d),f.route.id){let{loaderData:m,errors:p}=n,E=f.route.loader&&!m.hasOwnProperty(f.route.id)&&(!p||p[f.route.id]===void 0);if(f.route.lazy||E){l=!0,c>=0?i=i.slice(0,c+1):i=[i[0]];break}}}return i.reduceRight((d,f,m)=>{let p,E=!1,_=null,x=null;n&&(p=o&&f.route.id?o[f.route.id]:void 0,_=f.route.errorElement||XL,l&&(c<0&&m===0?(wS(\"route-fallback\",!1,\"No `HydrateFallback` element provided to render during initial hydration\"),E=!0,x=null):c===m&&(E=!0,x=f.route.hydrateFallbackElement||null)));let S=t.concat(i.slice(0,m+1)),N=()=>{let v;return p?v=_:E?v=x:f.route.Component?v=A.createElement(f.route.Component,null):f.route.element?v=f.route.element:v=d,A.createElement(QL,{match:f,routeContext:{outlet:d,matches:S,isDataRoute:n!=null},children:v})};return n&&(f.route.ErrorBoundary||f.route.errorElement||m===0)?A.createElement(WL,{location:n.location,revalidation:n.revalidation,component:_,error:p,children:N(),routeContext:{outlet:null,matches:S,isDataRoute:!0}}):N()},null)}function Qb(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function JL(e){let t=A.useContext(No);return xt(t,Qb(e)),t}function eI(e){let t=A.useContext(Hc);return xt(t,Qb(e)),t}function tI(e){let t=A.useContext(Ta);return xt(t,Qb(e)),t}function Zb(e){let t=tI(e),n=t.matches[t.matches.length-1];return xt(n.route.id,`${e} can only be used on routes that contain a unique \"id\"`),n.route.id}function nI(){return Zb(\"useRouteId\")}function rI(){var r;let e=A.useContext(Xb),t=eI(\"useRouteError\"),n=Zb(\"useRouteError\");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function aI(){let{router:e}=JL(\"useNavigate\"),t=Zb(\"useNavigate\"),n=A.useRef(!1);return AS(()=>{n.current=!0}),A.useCallback(async(i,o={})=>{Sn(n.current,SS),n.current&&(typeof i==\"number\"?e.navigate(i):await e.navigate(i,{fromRouteId:t,...o}))},[e,t])}var iv={};function wS(e,t,n){!t&&!iv[e]&&(iv[e]=!0,Sn(!1,n))}var sv={};function ov(e,t){!e&&!sv[t]&&(sv[t]=!0,console.warn(t))}function iI(e){let t={hasErrorBoundary:e.hasErrorBoundary||e.ErrorBoundary!=null||e.errorElement!=null};return e.Component&&(e.element&&Sn(!1,\"You should not include both `Component` and `element` on your route - `Component` will be used.\"),Object.assign(t,{element:A.createElement(e.Component),Component:void 0})),e.HydrateFallback&&(e.hydrateFallbackElement&&Sn(!1,\"You should not include both `HydrateFallback` and `hydrateFallbackElement` on your route - `HydrateFallback` will be used.\"),Object.assign(t,{hydrateFallbackElement:A.createElement(e.HydrateFallback),HydrateFallback:void 0})),e.ErrorBoundary&&(e.errorElement&&Sn(!1,\"You should not include both `ErrorBoundary` and `errorElement` on your route - `ErrorBoundary` will be used.\"),Object.assign(t,{errorElement:A.createElement(e.ErrorBoundary),ErrorBoundary:void 0})),t}var sI=[\"HydrateFallback\",\"hydrateFallbackElement\"],oI=class{constructor(){this.status=\"pending\",this.promise=new Promise((e,t)=>{this.resolve=n=>{this.status===\"pending\"&&(this.status=\"resolved\",e(n))},this.reject=n=>{this.status===\"pending\"&&(this.status=\"rejected\",t(n))}})}};function lI({router:e,flushSync:t}){let[n,r]=A.useState(e.state),[i,o]=A.useState(),[l,c]=A.useState({isTransitioning:!1}),[d,f]=A.useState(),[m,p]=A.useState(),[E,_]=A.useState(),x=A.useRef(new Map),S=A.useCallback((L,{deletedFetchers:B,flushSync:k,viewTransitionOpts:w})=>{L.fetchers.forEach((j,F)=>{j.data!==void 0&&x.current.set(F,j.data)}),B.forEach(j=>x.current.delete(j)),ov(k===!1||t!=null,'You provided the `flushSync` option to a router update, but you are not using the `<RouterProvider>` from `react-router/dom` so `ReactDOM.flushSync()` is unavailable. Please update your app to `import { RouterProvider } from \"react-router/dom\"` and ensure you have `react-dom` installed as a dependency to use the `flushSync` option.');let U=e.window!=null&&e.window.document!=null&&typeof e.window.document.startViewTransition==\"function\";if(ov(w==null||U,\"You provided the `viewTransition` option to a router update, but you do not appear to be running in a DOM environment as `window.startViewTransition` is not available.\"),!w||!U){t&&k?t(()=>r(L)):A.startTransition(()=>r(L));return}if(t&&k){t(()=>{m&&(d&&d.resolve(),m.skipTransition()),c({isTransitioning:!0,flushSync:!0,currentLocation:w.currentLocation,nextLocation:w.nextLocation})});let j=e.window.document.startViewTransition(()=>{t(()=>r(L))});j.finished.finally(()=>{t(()=>{f(void 0),p(void 0),o(void 0),c({isTransitioning:!1})})}),t(()=>p(j));return}m?(d&&d.resolve(),m.skipTransition(),_({state:L,currentLocation:w.currentLocation,nextLocation:w.nextLocation})):(o(L),c({isTransitioning:!0,flushSync:!1,currentLocation:w.currentLocation,nextLocation:w.nextLocation}))},[e.window,t,m,d]);A.useLayoutEffect(()=>e.subscribe(S),[e,S]),A.useEffect(()=>{l.isTransitioning&&!l.flushSync&&f(new oI)},[l]),A.useEffect(()=>{if(d&&i&&e.window){let L=i,B=d.promise,k=e.window.document.startViewTransition(async()=>{A.startTransition(()=>r(L)),await B});k.finished.finally(()=>{f(void 0),p(void 0),o(void 0),c({isTransitioning:!1})}),p(k)}},[i,d,e.window]),A.useEffect(()=>{d&&i&&n.location.key===i.location.key&&d.resolve()},[d,m,n.location,i]),A.useEffect(()=>{!l.isTransitioning&&E&&(o(E.state),c({isTransitioning:!0,flushSync:!1,currentLocation:E.currentLocation,nextLocation:E.nextLocation}),_(void 0))},[l.isTransitioning,E]);let N=A.useMemo(()=>({createHref:e.createHref,encodeLocation:e.encodeLocation,go:L=>e.navigate(L),push:(L,B,k)=>e.navigate(L,{state:B,preventScrollReset:k==null?void 0:k.preventScrollReset}),replace:(L,B,k)=>e.navigate(L,{replace:!0,state:B,preventScrollReset:k==null?void 0:k.preventScrollReset})}),[e]),v=e.basename||\"/\",O=A.useMemo(()=>({router:e,navigator:N,static:!1,basename:v}),[e,N,v]);return A.createElement(A.Fragment,null,A.createElement(No.Provider,{value:O},A.createElement(Hc.Provider,{value:n},A.createElement(xS.Provider,{value:x.current},A.createElement(Kb.Provider,{value:l},A.createElement(fI,{basename:v,location:n.location,navigationType:n.historyAction,navigator:N},A.createElement(uI,{routes:e.routes,future:e.future,state:n})))))),null)}var uI=A.memo(cI);function cI({routes:e,future:t,state:n}){return VL(e,void 0,n,t)}function Bf({to:e,replace:t,state:n,relative:r}){xt($l(),\"<Navigate> may be used only in the context of a <Router> component.\");let{static:i}=A.useContext(Pa);Sn(!i,\"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.\");let{matches:o}=A.useContext(Ta),{pathname:l}=ii(),c=NS(),d=Nh(e,Ah(o),l,r===\"path\"),f=JSON.stringify(d);return A.useEffect(()=>{c(JSON.parse(f),{replace:t,state:n,relative:r})},[c,f,r,t,n]),null}function dI(e){return GL(e.context)}function fI({basename:e=\"/\",children:t=null,location:n,navigationType:r=\"POP\",navigator:i,static:o=!1}){xt(!$l(),\"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.\");let l=e.replace(/^\\/*/,\"/\"),c=A.useMemo(()=>({basename:l,navigator:i,static:o,future:{}}),[l,i,o]);typeof n==\"string\"&&(n=Ls(n));let{pathname:d=\"/\",search:f=\"\",hash:m=\"\",state:p=null,key:E=\"default\"}=n,_=A.useMemo(()=>{let x=_a(d,l);return x==null?null:{location:{pathname:x,search:f,hash:m,state:p,key:E},navigationType:r}},[l,d,f,m,p,E,r]);return Sn(_!=null,`<Router basename=\"${l}\"> is not able to match the URL \"${d}${f}${m}\" because it does not start with the basename, so the <Router> won't render anything.`),_==null?null:A.createElement(Pa.Provider,{value:c},A.createElement(wh.Provider,{children:t,value:_}))}var Uf=\"get\",Ff=\"application/x-www-form-urlencoded\";function Ch(e){return e!=null&&typeof e.tagName==\"string\"}function hI(e){return Ch(e)&&e.tagName.toLowerCase()===\"button\"}function mI(e){return Ch(e)&&e.tagName.toLowerCase()===\"form\"}function pI(e){return Ch(e)&&e.tagName.toLowerCase()===\"input\"}function gI(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function bI(e,t){return e.button===0&&(!t||t===\"_self\")&&!gI(e)}var pf=null;function EI(){if(pf===null)try{new FormData(document.createElement(\"form\"),0),pf=!1}catch{pf=!0}return pf}var yI=new Set([\"application/x-www-form-urlencoded\",\"multipart/form-data\",\"text/plain\"]);function _0(e){return e!=null&&!yI.has(e)?(Sn(!1,`\"${e}\" is not a valid \\`encType\\` for \\`<Form>\\`/\\`<fetcher.Form>\\` and will default to \"${Ff}\"`),null):e}function _I(e,t){let n,r,i,o,l;if(mI(e)){let c=e.getAttribute(\"action\");r=c?_a(c,t):null,n=e.getAttribute(\"method\")||Uf,i=_0(e.getAttribute(\"enctype\"))||Ff,o=new FormData(e)}else if(hI(e)||pI(e)&&(e.type===\"submit\"||e.type===\"image\")){let c=e.form;if(c==null)throw new Error('Cannot submit a <button> or <input type=\"submit\"> without a <form>');let d=e.getAttribute(\"formaction\")||c.getAttribute(\"action\");if(r=d?_a(d,t):null,n=e.getAttribute(\"formmethod\")||c.getAttribute(\"method\")||Uf,i=_0(e.getAttribute(\"formenctype\"))||_0(c.getAttribute(\"enctype\"))||Ff,o=new FormData(c,e),!EI()){let{name:f,type:m,value:p}=e;if(m===\"image\"){let E=f?`${f}.`:\"\";o.append(`${E}x`,\"0\"),o.append(`${E}y`,\"0\")}else f&&o.append(f,p)}}else{if(Ch(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type=\"submit|image\">');n=Uf,r=null,i=Ff,l=e}return o&&i===\"text/plain\"&&(l=o,o=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:o,body:l}}Object.getOwnPropertyNames(Object.prototype).sort().join(\"\\0\");function Jb(e,t){if(e===!1||e===null||typeof e>\"u\")throw new Error(t)}function TI(e,t,n){let r=typeof e==\"string\"?new URL(e,typeof window>\"u\"?\"server://singlefetch/\":window.location.origin):e;return r.pathname===\"/\"?r.pathname=`_root.${n}`:t&&_a(r.pathname,t)===\"/\"?r.pathname=`${t.replace(/\\/$/,\"\")}/_root.${n}`:r.pathname=`${r.pathname.replace(/\\/$/,\"\")}.${n}`,r}async function vI(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \\`${e.module}\\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function xI(e){return e==null?!1:e.href==null?e.rel===\"preload\"&&typeof e.imageSrcSet==\"string\"&&typeof e.imageSizes==\"string\":typeof e.rel==\"string\"&&typeof e.href==\"string\"}async function SI(e,t,n){let r=await Promise.all(e.map(async i=>{let o=t.routes[i.route.id];if(o){let l=await vI(o,n);return l.links?l.links():[]}return[]}));return CI(r.flat(1).filter(xI).filter(i=>i.rel===\"stylesheet\"||i.rel===\"preload\").map(i=>i.rel===\"stylesheet\"?{...i,rel:\"prefetch\",as:\"style\"}:{...i,rel:\"prefetch\"}))}function lv(e,t,n,r,i,o){let l=(d,f)=>n[f]?d.route.id!==n[f].route.id:!0,c=(d,f)=>{var m;return n[f].pathname!==d.pathname||((m=n[f].route.path)==null?void 0:m.endsWith(\"*\"))&&n[f].params[\"*\"]!==d.params[\"*\"]};return o===\"assets\"?t.filter((d,f)=>l(d,f)||c(d,f)):o===\"data\"?t.filter((d,f)=>{var p;let m=r.routes[d.route.id];if(!m||!m.hasLoader)return!1;if(l(d,f)||c(d,f))return!0;if(d.route.shouldRevalidate){let E=d.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:((p=n[0])==null?void 0:p.params)||{},nextUrl:new URL(e,window.origin),nextParams:d.params,defaultShouldRevalidate:!0});if(typeof E==\"boolean\")return E}return!0}):[]}function AI(e,t,{includeHydrateFallback:n}={}){return NI(e.map(r=>{let i=t.routes[r.route.id];if(!i)return[];let o=[i.module];return i.clientActionModule&&(o=o.concat(i.clientActionModule)),i.clientLoaderModule&&(o=o.concat(i.clientLoaderModule)),n&&i.hydrateFallbackModule&&(o=o.concat(i.hydrateFallbackModule)),i.imports&&(o=o.concat(i.imports)),o}).flat(1))}function NI(e){return[...new Set(e)]}function wI(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function CI(e,t){let n=new Set;return new Set(t),e.reduce((r,i)=>{let o=JSON.stringify(wI(i));return n.has(o)||(n.add(o),r.push({key:o,link:i})),r},[])}function CS(){let e=A.useContext(No);return Jb(e,\"You must render this element inside a <DataRouterContext.Provider> element\"),e}function RI(){let e=A.useContext(Hc);return Jb(e,\"You must render this element inside a <DataRouterStateContext.Provider> element\"),e}var eE=A.createContext(void 0);eE.displayName=\"FrameworkContext\";function RS(){let e=A.useContext(eE);return Jb(e,\"You must render this element inside a <HydratedRouter> element\"),e}function OI(e,t){let n=A.useContext(eE),[r,i]=A.useState(!1),[o,l]=A.useState(!1),{onFocus:c,onBlur:d,onMouseEnter:f,onMouseLeave:m,onTouchStart:p}=t,E=A.useRef(null);A.useEffect(()=>{if(e===\"render\"&&l(!0),e===\"viewport\"){let S=v=>{v.forEach(O=>{l(O.isIntersecting)})},N=new IntersectionObserver(S,{threshold:.5});return E.current&&N.observe(E.current),()=>{N.disconnect()}}},[e]),A.useEffect(()=>{if(r){let S=setTimeout(()=>{l(!0)},100);return()=>{clearTimeout(S)}}},[r]);let _=()=>{i(!0)},x=()=>{i(!1),l(!1)};return n?e!==\"intent\"?[o,E,{}]:[o,E,{onFocus:tc(c,_),onBlur:tc(d,x),onMouseEnter:tc(f,_),onMouseLeave:tc(m,x),onTouchStart:tc(p,_)}]:[!1,E,{}]}function tc(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function kI({page:e,...t}){let{router:n}=CS(),r=A.useMemo(()=>Es(n.routes,e,n.basename),[n.routes,e,n.basename]);return r?A.createElement(II,{page:e,matches:r,...t}):null}function LI(e){let{manifest:t,routeModules:n}=RS(),[r,i]=A.useState([]);return A.useEffect(()=>{let o=!1;return SI(e,t,n).then(l=>{o||i(l)}),()=>{o=!0}},[e,t,n]),r}function II({page:e,matches:t,...n}){let r=ii(),{manifest:i,routeModules:o}=RS(),{basename:l}=CS(),{loaderData:c,matches:d}=RI(),f=A.useMemo(()=>lv(e,t,d,i,r,\"data\"),[e,t,d,i,r]),m=A.useMemo(()=>lv(e,t,d,i,r,\"assets\"),[e,t,d,i,r]),p=A.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let x=new Set,S=!1;if(t.forEach(v=>{var L;let O=i.routes[v.route.id];!O||!O.hasLoader||(!f.some(B=>B.route.id===v.route.id)&&v.route.id in c&&((L=o[v.route.id])!=null&&L.shouldRevalidate)||O.hasClientLoader?S=!0:x.add(v.route.id))}),x.size===0)return[];let N=TI(e,l,\"data\");return S&&x.size>0&&N.searchParams.set(\"_routes\",t.filter(v=>x.has(v.route.id)).map(v=>v.route.id).join(\",\")),[N.pathname+N.search]},[l,c,r,i,f,t,e,o]),E=A.useMemo(()=>AI(m,i),[m,i]),_=LI(m);return A.createElement(A.Fragment,null,p.map(x=>A.createElement(\"link\",{key:x,rel:\"prefetch\",as:\"fetch\",href:x,...n})),E.map(x=>A.createElement(\"link\",{key:x,rel:\"modulepreload\",href:x,...n})),_.map(({key:x,link:S})=>A.createElement(\"link\",{key:x,...S})))}function DI(...e){return t=>{e.forEach(n=>{typeof n==\"function\"?n(t):n!=null&&(n.current=t)})}}var OS=typeof window<\"u\"&&typeof window.document<\"u\"&&typeof window.document.createElement<\"u\";try{OS&&(window.__reactRouterVersion=\"7.7.1\")}catch{}function MI(e,t){return xL({basename:t==null?void 0:t.basename,unstable_getContext:t==null?void 0:t.unstable_getContext,future:t==null?void 0:t.future,history:z3({window:t==null?void 0:t.window}),hydrationData:(t==null?void 0:t.hydrationData)||PI(),routes:e,mapRouteProperties:iI,hydrationRouteProperties:sI,dataStrategy:t==null?void 0:t.dataStrategy,patchRoutesOnNavigation:t==null?void 0:t.patchRoutesOnNavigation,window:t==null?void 0:t.window}).initialize()}function PI(){let e=window==null?void 0:window.__staticRouterHydrationData;return e&&e.errors&&(e={...e,errors:BI(e.errors)}),e}function BI(e){if(!e)return null;let t=Object.entries(e),n={};for(let[r,i]of t)if(i&&i.__type===\"RouteErrorResponse\")n[r]=new Qf(i.status,i.statusText,i.data,i.internal===!0);else if(i&&i.__type===\"Error\"){if(i.__subType){let o=window[i.__subType];if(typeof o==\"function\")try{let l=new o(i.message);l.stack=\"\",n[r]=l}catch{}}if(n[r]==null){let o=new Error(i.message);o.stack=\"\",n[r]=o}}else n[r]=i;return n}var kS=/^(?:[a-z][a-z0-9+.-]*:|\\/\\/)/i,Mn=A.forwardRef(function({onClick:t,discover:n=\"render\",prefetch:r=\"none\",relative:i,reloadDocument:o,replace:l,state:c,target:d,to:f,preventScrollReset:m,viewTransition:p,...E},_){let{basename:x}=A.useContext(Pa),S=typeof f==\"string\"&&kS.test(f),N,v=!1;if(typeof f==\"string\"&&S&&(N=f,OS))try{let F=new URL(window.location.href),M=f.startsWith(\"//\")?new URL(F.protocol+f):new URL(f),J=_a(M.pathname,x);M.origin===F.origin&&J!=null?f=J+M.search+M.hash:v=!0}catch{Sn(!1,`<Link to=\"${f}\"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let O=$L(f,{relative:i}),[L,B,k]=OI(r,E),w=jI(f,{replace:l,state:c,target:d,preventScrollReset:m,relative:i,viewTransition:p});function U(F){t&&t(F),F.defaultPrevented||w(F)}let j=A.createElement(\"a\",{...E,...k,href:N||O,onClick:v||o?t:U,ref:DI(_,B),target:d,\"data-discover\":!S&&n===\"render\"?\"true\":void 0});return L&&!S?A.createElement(A.Fragment,null,j,A.createElement(kI,{page:O})):j});Mn.displayName=\"Link\";var UI=A.forwardRef(function({\"aria-current\":t=\"page\",caseSensitive:n=!1,className:r=\"\",end:i=!1,style:o,to:l,viewTransition:c,children:d,...f},m){let p=jc(l,{relative:f.relative}),E=ii(),_=A.useContext(Hc),{navigator:x,basename:S}=A.useContext(Pa),N=_!=null&&GI(p)&&c===!0,v=x.encodeLocation?x.encodeLocation(p).pathname:p.pathname,O=E.pathname,L=_&&_.navigation&&_.navigation.location?_.navigation.location.pathname:null;n||(O=O.toLowerCase(),L=L?L.toLowerCase():null,v=v.toLowerCase()),L&&S&&(L=_a(L,S)||L);const B=v!==\"/\"&&v.endsWith(\"/\")?v.length-1:v.length;let k=O===v||!i&&O.startsWith(v)&&O.charAt(B)===\"/\",w=L!=null&&(L===v||!i&&L.startsWith(v)&&L.charAt(v.length)===\"/\"),U={isActive:k,isPending:w,isTransitioning:N},j=k?t:void 0,F;typeof r==\"function\"?F=r(U):F=[r,k?\"active\":null,w?\"pending\":null,N?\"transitioning\":null].filter(Boolean).join(\" \");let M=typeof o==\"function\"?o(U):o;return A.createElement(Mn,{...f,\"aria-current\":j,className:F,ref:m,style:M,to:l,viewTransition:c},typeof d==\"function\"?d(U):d)});UI.displayName=\"NavLink\";var FI=A.forwardRef(({discover:e=\"render\",fetcherKey:t,navigate:n,reloadDocument:r,replace:i,state:o,method:l=Uf,action:c,onSubmit:d,relative:f,preventScrollReset:m,viewTransition:p,...E},_)=>{let x=qI(),S=YI(c,{relative:f}),N=l.toLowerCase()===\"get\"?\"get\":\"post\",v=typeof c==\"string\"&&kS.test(c),O=L=>{if(d&&d(L),L.defaultPrevented)return;L.preventDefault();let B=L.nativeEvent.submitter,k=(B==null?void 0:B.getAttribute(\"formmethod\"))||l;x(B||L.currentTarget,{fetcherKey:t,method:k,navigate:n,replace:i,state:o,relative:f,preventScrollReset:m,viewTransition:p})};return A.createElement(\"form\",{ref:_,method:N,action:S,onSubmit:r?d:O,...E,\"data-discover\":!v&&e===\"render\"?\"true\":void 0})});FI.displayName=\"Form\";function HI(e){return`${e} must be used within a data router. See https://reactrouter.com/en/main/routers/picking-a-router.`}function LS(e){let t=A.useContext(No);return xt(t,HI(e)),t}function jI(e,{target:t,replace:n,state:r,preventScrollReset:i,relative:o,viewTransition:l}={}){let c=NS(),d=ii(),f=jc(e,{relative:o});return A.useCallback(m=>{if(bI(m,t)){m.preventDefault();let p=n!==void 0?n:As(d)===As(f);c(e,{replace:p,state:r,preventScrollReset:i,relative:o,viewTransition:l})}},[d,c,f,n,r,t,e,i,o,l])}var zI=0,$I=()=>`__${String(++zI)}__`;function qI(){let{router:e}=LS(\"useSubmit\"),{basename:t}=A.useContext(Pa),n=nI();return A.useCallback(async(r,i={})=>{let{action:o,method:l,encType:c,formData:d,body:f}=_I(r,t);if(i.navigate===!1){let m=i.fetcherKey||$I();await e.fetch(m,n,i.action||o,{preventScrollReset:i.preventScrollReset,formData:d,body:f,formMethod:i.method||l,formEncType:i.encType||c,flushSync:i.flushSync})}else await e.navigate(i.action||o,{preventScrollReset:i.preventScrollReset,formData:d,body:f,formMethod:i.method||l,formEncType:i.encType||c,replace:i.replace,state:i.state,fromRouteId:n,flushSync:i.flushSync,viewTransition:i.viewTransition})},[e,t,n])}function YI(e,{relative:t}={}){let{basename:n}=A.useContext(Pa),r=A.useContext(Ta);xt(r,\"useFormAction must be used inside a RouteContext\");let[i]=r.matches.slice(-1),o={...jc(e||\".\",{relative:t})},l=ii();if(e==null){o.search=l.search;let c=new URLSearchParams(o.search),d=c.getAll(\"index\");if(d.some(m=>m===\"\")){c.delete(\"index\"),d.filter(p=>p).forEach(p=>c.append(\"index\",p));let m=c.toString();o.search=m?`?${m}`:\"\"}}return(!e||e===\".\")&&i.route.index&&(o.search=o.search?o.search.replace(/^\\?/,\"?index&\"):\"?index\"),n!==\"/\"&&(o.pathname=o.pathname===\"/\"?n:ei([n,o.pathname])),As(o)}function GI(e,{relative:t}={}){let n=A.useContext(Kb);xt(n!=null,\"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?\");let{basename:r}=LS(\"useViewTransitionState\"),i=jc(e,{relative:t});if(!n.isTransitioning)return!1;let o=_a(n.currentLocation.pathname,r)||n.currentLocation.pathname,l=_a(n.nextLocation.pathname,r)||n.nextLocation.pathname;return Wf(i.pathname,l)!=null||Wf(i.pathname,o)!=null}var Cl=oS();const VI=zl(Cl);function KI(e){return A.createElement(lI,{flushSync:Cl.flushSync,...e})}function uv(e,t){if(typeof e==\"function\")return e(t);e!=null&&(e.current=t)}function go(...e){return t=>{let n=!1;const r=e.map(i=>{const o=uv(i,t);return!n&&typeof o==\"function\"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o==\"function\"?o():uv(e[i],null)}}}}function yn(...e){return A.useCallback(go(...e),e)}function Rl(e){const t=XI(e),n=A.forwardRef((r,i)=>{const{children:o,...l}=r,c=A.Children.toArray(o),d=c.find(QI);if(d){const f=d.props.children,m=c.map(p=>p===d?A.Children.count(f)>1?A.Children.only(null):A.isValidElement(f)?f.props.children:null:p);return b.jsx(t,{...l,ref:i,children:A.isValidElement(f)?A.cloneElement(f,void 0,m):null})}return b.jsx(t,{...l,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}var IS=Rl(\"Slot\");function XI(e){const t=A.forwardRef((n,r)=>{const{children:i,...o}=n;if(A.isValidElement(i)){const l=JI(i),c=ZI(o,i.props);return i.type!==A.Fragment&&(c.ref=r?go(r,l):l),A.cloneElement(i,c)}return A.Children.count(i)>1?A.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var DS=Symbol(\"radix.slottable\");function WI(e){const t=({children:n})=>b.jsx(b.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=DS,t}function QI(e){return A.isValidElement(e)&&typeof e.type==\"function\"&&\"__radixId\"in e.type&&e.type.__radixId===DS}function ZI(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...c)=>{const d=o(...c);return i(...c),d}:i&&(n[r]=i):r===\"style\"?n[r]={...i,...o}:r===\"className\"&&(n[r]=[i,o].filter(Boolean).join(\" \"))}return{...e,...n}}function JI(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,\"ref\"))==null?void 0:r.get,n=t&&\"isReactWarning\"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,\"ref\"))==null?void 0:i.get,n=t&&\"isReactWarning\"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function MS(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=MS(e[t]))&&(r&&(r+=\" \"),r+=n)}else for(n in e)e[n]&&(r&&(r+=\" \"),r+=n);return r}function PS(){for(var e,t,n=0,r=\"\",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=MS(e))&&(r&&(r+=\" \"),r+=t);return r}const cv=e=>typeof e==\"boolean\"?`${e}`:e===0?\"0\":e,dv=PS,eD=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return dv(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=t,l=Object.keys(i).map(f=>{const m=n==null?void 0:n[f],p=o==null?void 0:o[f];if(m===null)return null;const E=cv(m)||cv(p);return i[f][E]}),c=n&&Object.entries(n).reduce((f,m)=>{let[p,E]=m;return E===void 0||(f[p]=E),f},{}),d=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((f,m)=>{let{class:p,className:E,..._}=m;return Object.entries(_).every(x=>{let[S,N]=x;return Array.isArray(N)?N.includes({...o,...c}[S]):{...o,...c}[S]===N})?[...f,p,E]:f},[]);return dv(e,l,d,n==null?void 0:n.class,n==null?void 0:n.className)};/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const tD=e=>e.replace(/([a-z0-9])([A-Z])/g,\"$1-$2\").toLowerCase(),nD=e=>e.replace(/^([A-Z])|[\\s-_]+(\\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),fv=e=>{const t=nD(e);return t.charAt(0).toUpperCase()+t.slice(1)},BS=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==\"\"&&r.indexOf(t)===n).join(\" \").trim(),rD=e=>{for(const t in e)if(t.startsWith(\"aria-\")||t===\"role\"||t===\"title\")return!0};/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */var aD={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\"};/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const iD=A.forwardRef(({color:e=\"currentColor\",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i=\"\",children:o,iconNode:l,...c},d)=>A.createElement(\"svg\",{ref:d,...aD,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:BS(\"lucide\",i),...!o&&!rD(c)&&{\"aria-hidden\":\"true\"},...c},[...l.map(([f,m])=>A.createElement(f,m)),...Array.isArray(o)?o:[o]]));/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const sn=(e,t)=>{const n=A.forwardRef(({className:r,...i},o)=>A.createElement(iD,{ref:o,iconNode:t,className:BS(`lucide-${tD(fv(e))}`,`lucide-${e}`,r),...i}));return n.displayName=fv(e),n};/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const sD=[[\"path\",{d:\"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1\",key:\"ezmyqa\"}],[\"path\",{d:\"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1\",key:\"e1hn23\"}]],bo=sn(\"braces\",sD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const oD=[[\"path\",{d:\"M20 6 9 17l-5-5\",key:\"1gmf2c\"}]],lD=sn(\"check\",oD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const uD=[[\"path\",{d:\"m15 18-6-6 6-6\",key:\"1wnfg3\"}]],cD=sn(\"chevron-left\",uD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const dD=[[\"path\",{d:\"m9 18 6-6-6-6\",key:\"mthhwq\"}]],tE=sn(\"chevron-right\",dD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const fD=[[\"rect\",{width:\"8\",height:\"4\",x:\"8\",y:\"2\",rx:\"1\",ry:\"1\",key:\"tgr4d6\"}],[\"path\",{d:\"M8 4H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2\",key:\"4jdomd\"}],[\"path\",{d:\"M16 4h2a2 2 0 0 1 2 2v4\",key:\"3hqy98\"}],[\"path\",{d:\"M21 14H11\",key:\"1bme5i\"}],[\"path\",{d:\"m15 10-4 4 4 4\",key:\"5dvupr\"}]],hD=sn(\"clipboard-copy\",fD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const mD=[[\"path\",{d:\"M12 6v6l4 2\",key:\"mmk7yg\"}],[\"circle\",{cx:\"12\",cy:\"12\",r:\"10\",key:\"1mglay\"}]],pD=sn(\"clock\",mD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const gD=[[\"path\",{d:\"M15.536 11.293a1 1 0 0 0 0 1.414l2.376 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z\",key:\"1uwlt4\"}],[\"path\",{d:\"M2.297 11.293a1 1 0 0 0 0 1.414l2.377 2.377a1 1 0 0 0 1.414 0l2.377-2.377a1 1 0 0 0 0-1.414L6.088 8.916a1 1 0 0 0-1.414 0z\",key:\"10291m\"}],[\"path\",{d:\"M8.916 17.912a1 1 0 0 0 0 1.415l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.415l-2.377-2.376a1 1 0 0 0-1.414 0z\",key:\"1tqoq1\"}],[\"path\",{d:\"M8.916 4.674a1 1 0 0 0 0 1.414l2.377 2.376a1 1 0 0 0 1.414 0l2.377-2.376a1 1 0 0 0 0-1.414l-2.377-2.377a1 1 0 0 0-1.414 0z\",key:\"1x6lto\"}]],US=sn(\"component\",gD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const bD=[[\"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\"}]],nE=sn(\"download\",bD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const ED=[[\"circle\",{cx:\"12\",cy:\"12\",r:\"1\",key:\"41hilf\"}],[\"circle\",{cx:\"19\",cy:\"12\",r:\"1\",key:\"1wjl8i\"}],[\"circle\",{cx:\"5\",cy:\"12\",r:\"1\",key:\"1pcz8c\"}]],yD=sn(\"ellipsis\",ED);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const _D=[[\"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\"}]],TD=sn(\"external-link\",_D);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const vD=[[\"path\",{d:\"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z\",key:\"1rqfz7\"}],[\"path\",{d:\"M14 2v4a2 2 0 0 0 2 2h4\",key:\"tnqrlb\"}],[\"path\",{d:\"M10 12a1 1 0 0 0-1 1v1a1 1 0 0 1-1 1 1 1 0 0 1 1 1v1a1 1 0 0 0 1 1\",key:\"1oajmo\"}],[\"path\",{d:\"M14 18a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1 1 1 0 0 1-1-1v-1a1 1 0 0 0-1-1\",key:\"mpwhp6\"}]],FS=sn(\"file-json\",vD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const xD=[[\"path\",{d:\"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z\",key:\"1rqfz7\"}],[\"path\",{d:\"M14 2v4a2 2 0 0 0 2 2h4\",key:\"tnqrlb\"}],[\"path\",{d:\"M10 9H8\",key:\"b1mrlr\"}],[\"path\",{d:\"M16 13H8\",key:\"t4e002\"}],[\"path\",{d:\"M16 17H8\",key:\"z1uh3a\"}]],HS=sn(\"file-text\",xD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const SD=[[\"path\",{d:\"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z\",key:\"1rqfz7\"}],[\"path\",{d:\"M14 2v4a2 2 0 0 0 2 2h4\",key:\"tnqrlb\"}]],jS=sn(\"file\",SD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const AD=[[\"path\",{d:\"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8\",key:\"5wwlr5\"}],[\"path\",{d:\"M3 10a2 2 0 0 1 .709-1.528l7-5.999a2 2 0 0 1 2.582 0l7 5.999A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z\",key:\"1d0kgt\"}]],ND=sn(\"house\",AD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const wD=[[\"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\"}]],CD=sn(\"layout-dashboard\",wD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const RD=[[\"path\",{d:\"M9 17H7A5 5 0 0 1 7 7h2\",key:\"8i5ue5\"}],[\"path\",{d:\"M15 7h2a5 5 0 1 1 0 10h-2\",key:\"1b9ql8\"}],[\"line\",{x1:\"8\",x2:\"16\",y1:\"12\",y2:\"12\",key:\"1jonct\"}]],Eo=sn(\"link-2\",RD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const OD=[[\"path\",{d:\"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401\",key:\"kfwtm\"}]],kD=sn(\"moon\",OD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const LD=[[\"rect\",{width:\"18\",height:\"18\",x:\"3\",y:\"3\",rx:\"2\",key:\"afitv7\"}],[\"path\",{d:\"M9 3v18\",key:\"fh3hqa\"}]],ID=sn(\"panel-left\",LD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const DD=[[\"path\",{d:\"M12 17v5\",key:\"bb1du9\"}],[\"path\",{d:\"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z\",key:\"1nkz8b\"}]],zS=sn(\"pin\",DD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const MD=[[\"path\",{d:\"M12 17v5\",key:\"bb1du9\"}],[\"path\",{d:\"M15 9.34V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H7.89\",key:\"znwnzq\"}],[\"path\",{d:\"m2 2 20 20\",key:\"1ooewy\"}],[\"path\",{d:\"M9 9v1.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h11\",key:\"c9qhm2\"}]],PD=sn(\"pin-off\",MD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const BD=[[\"path\",{d:\"M16.247 7.761a6 6 0 0 1 0 8.478\",key:\"1fwjs5\"}],[\"path\",{d:\"M19.075 4.933a10 10 0 0 1 0 14.134\",key:\"ehdyv1\"}],[\"path\",{d:\"M4.925 19.067a10 10 0 0 1 0-14.134\",key:\"1q22gi\"}],[\"path\",{d:\"M7.753 16.239a6 6 0 0 1 0-8.478\",key:\"r2q7qm\"}],[\"circle\",{cx:\"12\",cy:\"12\",r:\"2\",key:\"1c9p78\"}]],$S=sn(\"radio\",BD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const UD=[[\"path\",{d:\"m21 21-4.34-4.34\",key:\"14j7rj\"}],[\"circle\",{cx:\"11\",cy:\"11\",r:\"8\",key:\"4ej97u\"}]],Rh=sn(\"search\",UD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const FD=[[\"rect\",{width:\"20\",height:\"8\",x:\"2\",y:\"2\",rx:\"2\",ry:\"2\",key:\"ngkwjq\"}],[\"rect\",{width:\"20\",height:\"8\",x:\"2\",y:\"14\",rx:\"2\",ry:\"2\",key:\"iecqi9\"}],[\"line\",{x1:\"6\",x2:\"6.01\",y1:\"6\",y2:\"6\",key:\"16zg32\"}],[\"line\",{x1:\"6\",x2:\"6.01\",y1:\"18\",y2:\"18\",key:\"nzw8ys\"}]],zc=sn(\"server\",FD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const HD=[[\"circle\",{cx:\"12\",cy:\"12\",r:\"4\",key:\"4exip2\"}],[\"path\",{d:\"M12 2v2\",key:\"tus03m\"}],[\"path\",{d:\"M12 20v2\",key:\"1lh1kg\"}],[\"path\",{d:\"m4.93 4.93 1.41 1.41\",key:\"149t6j\"}],[\"path\",{d:\"m17.66 17.66 1.41 1.41\",key:\"ptbguv\"}],[\"path\",{d:\"M2 12h2\",key:\"1t8f8n\"}],[\"path\",{d:\"M20 12h2\",key:\"1q8mjw\"}],[\"path\",{d:\"m6.34 17.66-1.41 1.41\",key:\"1m8zz5\"}],[\"path\",{d:\"m19.07 4.93-1.41 1.41\",key:\"1shlcs\"}]],jD=sn(\"sun\",HD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const zD=[[\"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\"}]],qS=sn(\"upload\",zD);/**\n * @license lucide-react v0.536.0 - ISC\n *\n * This source code is licensed under the ISC license.\n * See the LICENSE file in the root directory of this source tree.\n */const $D=[[\"path\",{d:\"M18 6 6 18\",key:\"1bl5f8\"}],[\"path\",{d:\"m6 6 12 12\",key:\"d8bk6v\"}]],YS=sn(\"x\",$D),T0=768;function qD(){const[e,t]=A.useState(void 0);return A.useEffect(()=>{const n=window.matchMedia(`(max-width: ${T0-1}px)`),r=()=>{t(window.innerWidth<T0)};return n.addEventListener(\"change\",r),t(window.innerWidth<T0),()=>n.removeEventListener(\"change\",r)},[]),!!e}const rE=\"-\",YD=e=>{const t=VD(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:l=>{const c=l.split(rE);return c[0]===\"\"&&c.length!==1&&c.shift(),GS(c,t)||GD(l)},getConflictingClassGroupIds:(l,c)=>{const d=n[l]||[];return c&&r[l]?[...d,...r[l]]:d}}},GS=(e,t)=>{var l;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?GS(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(rE);return(l=t.validators.find(({validator:c})=>c(o)))==null?void 0:l.classGroupId},hv=/^\\[(.+)\\]$/,GD=e=>{if(hv.test(e)){const t=hv.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(\":\"));if(n)return\"arbitrary..\"+n}},VD=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const i in n)Rg(n[i],r,i,t);return r},Rg=(e,t,n,r)=>{e.forEach(i=>{if(typeof i==\"string\"){const o=i===\"\"?t:mv(t,i);o.classGroupId=n;return}if(typeof i==\"function\"){if(KD(i)){Rg(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,l])=>{Rg(l,mv(t,o),n,r)})})},mv=(e,t)=>{let n=e;return t.split(rE).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},KD=e=>e.isThemeGetter,XD=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,l)=>{n.set(o,l),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let l=n.get(o);if(l!==void 0)return l;if((l=r.get(o))!==void 0)return i(o,l),l},set(o,l){n.has(o)?n.set(o,l):i(o,l)}}},Og=\"!\",kg=\":\",WD=kg.length,QD=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const o=[];let l=0,c=0,d=0,f;for(let x=0;x<i.length;x++){let S=i[x];if(l===0&&c===0){if(S===kg){o.push(i.slice(d,x)),d=x+WD;continue}if(S===\"/\"){f=x;continue}}S===\"[\"?l++:S===\"]\"?l--:S===\"(\"?c++:S===\")\"&&c--}const m=o.length===0?i:i.substring(d),p=ZD(m),E=p!==m,_=f&&f>d?f-d:void 0;return{modifiers:o,hasImportantModifier:E,baseClassName:p,maybePostfixModifierPosition:_}};if(t){const i=t+kg,o=r;r=l=>l.startsWith(i)?o(l.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:l,maybePostfixModifierPosition:void 0}}if(n){const i=r;r=o=>n({className:o,parseClassName:i})}return r},ZD=e=>e.endsWith(Og)?e.substring(0,e.length-1):e.startsWith(Og)?e.substring(1):e,JD=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const i=[];let o=[];return r.forEach(l=>{l[0]===\"[\"||t[l]?(i.push(...o.sort(),l),o=[]):o.push(l)}),i.push(...o.sort()),i}},eM=e=>({cache:XD(e.cacheSize),parseClassName:QD(e),sortModifiers:JD(e),...YD(e)}),tM=/\\s+/,nM=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,l=[],c=e.trim().split(tM);let d=\"\";for(let f=c.length-1;f>=0;f-=1){const m=c[f],{isExternal:p,modifiers:E,hasImportantModifier:_,baseClassName:x,maybePostfixModifierPosition:S}=n(m);if(p){d=m+(d.length>0?\" \"+d:d);continue}let N=!!S,v=r(N?x.substring(0,S):x);if(!v){if(!N){d=m+(d.length>0?\" \"+d:d);continue}if(v=r(x),!v){d=m+(d.length>0?\" \"+d:d);continue}N=!1}const O=o(E).join(\":\"),L=_?O+Og:O,B=L+v;if(l.includes(B))continue;l.push(B);const k=i(v,N);for(let w=0;w<k.length;++w){const U=k[w];l.push(L+U)}d=m+(d.length>0?\" \"+d:d)}return d};function rM(){let e=0,t,n,r=\"\";for(;e<arguments.length;)(t=arguments[e++])&&(n=VS(t))&&(r&&(r+=\" \"),r+=n);return r}const VS=e=>{if(typeof e==\"string\")return e;let t,n=\"\";for(let r=0;r<e.length;r++)e[r]&&(t=VS(e[r]))&&(n&&(n+=\" \"),n+=t);return n};function aM(e,...t){let n,r,i,o=l;function l(d){const f=t.reduce((m,p)=>p(m),e());return n=eM(f),r=n.cache.get,i=n.cache.set,o=c,c(d)}function c(d){const f=r(d);if(f)return f;const m=nM(d,n);return i(d,m),m}return function(){return o(rM.apply(null,arguments))}}const jn=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},KS=/^\\[(?:(\\w[\\w-]*):)?(.+)\\]$/i,XS=/^\\((?:(\\w[\\w-]*):)?(.+)\\)$/i,iM=/^\\d+\\/\\d+$/,sM=/^(\\d+(\\.\\d+)?)?(xs|sm|md|lg|xl)$/,oM=/\\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$/,lM=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\\(.+\\)$/,uM=/^(inset_)?-?((\\d+)?\\.?(\\d+)[a-z]+|0)_-?((\\d+)?\\.?(\\d+)[a-z]+|0)/,cM=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\\(.+\\)$/,ul=e=>iM.test(e),_t=e=>!!e&&!Number.isNaN(Number(e)),ds=e=>!!e&&Number.isInteger(Number(e)),v0=e=>e.endsWith(\"%\")&&_t(e.slice(0,-1)),Li=e=>sM.test(e),dM=()=>!0,fM=e=>oM.test(e)&&!lM.test(e),WS=()=>!1,hM=e=>uM.test(e),mM=e=>cM.test(e),pM=e=>!$e(e)&&!qe(e),gM=e=>ql(e,JS,WS),$e=e=>KS.test(e),io=e=>ql(e,eA,fM),x0=e=>ql(e,TM,_t),pv=e=>ql(e,QS,WS),bM=e=>ql(e,ZS,mM),gf=e=>ql(e,tA,hM),qe=e=>XS.test(e),nc=e=>Yl(e,eA),EM=e=>Yl(e,vM),gv=e=>Yl(e,QS),yM=e=>Yl(e,JS),_M=e=>Yl(e,ZS),bf=e=>Yl(e,tA,!0),ql=(e,t,n)=>{const r=KS.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Yl=(e,t,n=!1)=>{const r=XS.exec(e);return r?r[1]?t(r[1]):n:!1},QS=e=>e===\"position\"||e===\"percentage\",ZS=e=>e===\"image\"||e===\"url\",JS=e=>e===\"length\"||e===\"size\"||e===\"bg-size\",eA=e=>e===\"length\",TM=e=>e===\"number\",vM=e=>e===\"family-name\",tA=e=>e===\"shadow\",xM=()=>{const e=jn(\"color\"),t=jn(\"font\"),n=jn(\"text\"),r=jn(\"font-weight\"),i=jn(\"tracking\"),o=jn(\"leading\"),l=jn(\"breakpoint\"),c=jn(\"container\"),d=jn(\"spacing\"),f=jn(\"radius\"),m=jn(\"shadow\"),p=jn(\"inset-shadow\"),E=jn(\"text-shadow\"),_=jn(\"drop-shadow\"),x=jn(\"blur\"),S=jn(\"perspective\"),N=jn(\"aspect\"),v=jn(\"ease\"),O=jn(\"animate\"),L=()=>[\"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\"],k=()=>[...B(),qe,$e],w=()=>[\"auto\",\"hidden\",\"clip\",\"visible\",\"scroll\"],U=()=>[\"auto\",\"contain\",\"none\"],j=()=>[qe,$e,d],F=()=>[ul,\"full\",\"auto\",...j()],M=()=>[ds,\"none\",\"subgrid\",qe,$e],J=()=>[\"auto\",{span:[\"full\",ds,qe,$e]},ds,qe,$e],X=()=>[ds,\"auto\",qe,$e],V=()=>[\"auto\",\"min\",\"max\",\"fr\",qe,$e],ne=()=>[\"start\",\"end\",\"center\",\"between\",\"around\",\"evenly\",\"stretch\",\"baseline\",\"center-safe\",\"end-safe\"],ae=()=>[\"start\",\"end\",\"center\",\"stretch\",\"center-safe\",\"end-safe\"],Q=()=>[\"auto\",...j()],be=()=>[ul,\"auto\",\"full\",\"dvw\",\"dvh\",\"lvw\",\"lvh\",\"svw\",\"svh\",\"min\",\"max\",\"fit\",...j()],K=()=>[e,qe,$e],ve=()=>[...B(),gv,pv,{position:[qe,$e]}],R=()=>[\"no-repeat\",{repeat:[\"\",\"x\",\"y\",\"space\",\"round\"]}],le=()=>[\"auto\",\"cover\",\"contain\",yM,gM,{size:[qe,$e]}],te=()=>[v0,nc,io],I=()=>[\"\",\"none\",\"full\",f,qe,$e],ce=()=>[\"\",_t,nc,io],Te=()=>[\"solid\",\"dashed\",\"dotted\",\"double\"],xe=()=>[\"normal\",\"multiply\",\"screen\",\"overlay\",\"darken\",\"lighten\",\"color-dodge\",\"color-burn\",\"hard-light\",\"soft-light\",\"difference\",\"exclusion\",\"hue\",\"saturation\",\"color\",\"luminosity\"],Pe=()=>[_t,v0,gv,pv],je=()=>[\"\",\"none\",x,qe,$e],Ze=()=>[\"none\",_t,qe,$e],Ue=()=>[\"none\",_t,qe,$e],Pt=()=>[_t,qe,$e],mn=()=>[ul,\"full\",...j()];return{cacheSize:500,theme:{animate:[\"spin\",\"ping\",\"pulse\",\"bounce\"],aspect:[\"video\"],blur:[Li],breakpoint:[Li],color:[dM],container:[Li],\"drop-shadow\":[Li],ease:[\"in\",\"out\",\"in-out\"],font:[pM],\"font-weight\":[\"thin\",\"extralight\",\"light\",\"normal\",\"medium\",\"semibold\",\"bold\",\"extrabold\",\"black\"],\"inset-shadow\":[Li],leading:[\"none\",\"tight\",\"snug\",\"normal\",\"relaxed\",\"loose\"],perspective:[\"dramatic\",\"near\",\"normal\",\"midrange\",\"distant\",\"none\"],radius:[Li],shadow:[Li],spacing:[\"px\",_t],text:[Li],\"text-shadow\":[Li],tracking:[\"tighter\",\"tight\",\"normal\",\"wide\",\"wider\",\"widest\"]},classGroups:{aspect:[{aspect:[\"auto\",\"square\",ul,$e,qe,N]}],container:[\"container\"],columns:[{columns:[_t,$e,qe,c]}],\"break-after\":[{\"break-after\":L()}],\"break-before\":[{\"break-before\":L()}],\"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:k()}],overflow:[{overflow:w()}],\"overflow-x\":[{\"overflow-x\":w()}],\"overflow-y\":[{\"overflow-y\":w()}],overscroll:[{overscroll:U()}],\"overscroll-x\":[{\"overscroll-x\":U()}],\"overscroll-y\":[{\"overscroll-y\":U()}],position:[\"static\",\"fixed\",\"absolute\",\"relative\",\"sticky\"],inset:[{inset:F()}],\"inset-x\":[{\"inset-x\":F()}],\"inset-y\":[{\"inset-y\":F()}],start:[{start:F()}],end:[{end:F()}],top:[{top:F()}],right:[{right:F()}],bottom:[{bottom:F()}],left:[{left:F()}],visibility:[\"visible\",\"invisible\",\"collapse\"],z:[{z:[ds,\"auto\",qe,$e]}],basis:[{basis:[ul,\"full\",\"auto\",c,...j()]}],\"flex-direction\":[{flex:[\"row\",\"row-reverse\",\"col\",\"col-reverse\"]}],\"flex-wrap\":[{flex:[\"nowrap\",\"wrap\",\"wrap-reverse\"]}],flex:[{flex:[_t,ul,\"auto\",\"initial\",\"none\",$e]}],grow:[{grow:[\"\",_t,qe,$e]}],shrink:[{shrink:[\"\",_t,qe,$e]}],order:[{order:[ds,\"first\",\"last\",\"none\",qe,$e]}],\"grid-cols\":[{\"grid-cols\":M()}],\"col-start-end\":[{col:J()}],\"col-start\":[{\"col-start\":X()}],\"col-end\":[{\"col-end\":X()}],\"grid-rows\":[{\"grid-rows\":M()}],\"row-start-end\":[{row:J()}],\"row-start\":[{\"row-start\":X()}],\"row-end\":[{\"row-end\":X()}],\"grid-flow\":[{\"grid-flow\":[\"row\",\"col\",\"dense\",\"row-dense\",\"col-dense\"]}],\"auto-cols\":[{\"auto-cols\":V()}],\"auto-rows\":[{\"auto-rows\":V()}],gap:[{gap:j()}],\"gap-x\":[{\"gap-x\":j()}],\"gap-y\":[{\"gap-y\":j()}],\"justify-content\":[{justify:[...ne(),\"normal\"]}],\"justify-items\":[{\"justify-items\":[...ae(),\"normal\"]}],\"justify-self\":[{\"justify-self\":[\"auto\",...ae()]}],\"align-content\":[{content:[\"normal\",...ne()]}],\"align-items\":[{items:[...ae(),{baseline:[\"\",\"last\"]}]}],\"align-self\":[{self:[\"auto\",...ae(),{baseline:[\"\",\"last\"]}]}],\"place-content\":[{\"place-content\":ne()}],\"place-items\":[{\"place-items\":[...ae(),\"baseline\"]}],\"place-self\":[{\"place-self\":[\"auto\",...ae()]}],p:[{p:j()}],px:[{px:j()}],py:[{py:j()}],ps:[{ps:j()}],pe:[{pe:j()}],pt:[{pt:j()}],pr:[{pr:j()}],pb:[{pb:j()}],pl:[{pl:j()}],m:[{m:Q()}],mx:[{mx:Q()}],my:[{my:Q()}],ms:[{ms:Q()}],me:[{me:Q()}],mt:[{mt:Q()}],mr:[{mr:Q()}],mb:[{mb:Q()}],ml:[{ml:Q()}],\"space-x\":[{\"space-x\":j()}],\"space-x-reverse\":[\"space-x-reverse\"],\"space-y\":[{\"space-y\":j()}],\"space-y-reverse\":[\"space-y-reverse\"],size:[{size:be()}],w:[{w:[c,\"screen\",...be()]}],\"min-w\":[{\"min-w\":[c,\"screen\",\"none\",...be()]}],\"max-w\":[{\"max-w\":[c,\"screen\",\"none\",\"prose\",{screen:[l]},...be()]}],h:[{h:[\"screen\",\"lh\",...be()]}],\"min-h\":[{\"min-h\":[\"screen\",\"lh\",\"none\",...be()]}],\"max-h\":[{\"max-h\":[\"screen\",\"lh\",...be()]}],\"font-size\":[{text:[\"base\",n,nc,io]}],\"font-smoothing\":[\"antialiased\",\"subpixel-antialiased\"],\"font-style\":[\"italic\",\"not-italic\"],\"font-weight\":[{font:[r,qe,x0]}],\"font-stretch\":[{\"font-stretch\":[\"ultra-condensed\",\"extra-condensed\",\"condensed\",\"semi-condensed\",\"normal\",\"semi-expanded\",\"expanded\",\"extra-expanded\",\"ultra-expanded\",v0,$e]}],\"font-family\":[{font:[EM,$e,t]}],\"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,qe,$e]}],\"line-clamp\":[{\"line-clamp\":[_t,\"none\",qe,x0]}],leading:[{leading:[o,...j()]}],\"list-image\":[{\"list-image\":[\"none\",qe,$e]}],\"list-style-position\":[{list:[\"inside\",\"outside\"]}],\"list-style-type\":[{list:[\"disc\",\"decimal\",\"none\",qe,$e]}],\"text-alignment\":[{text:[\"left\",\"center\",\"right\",\"justify\",\"start\",\"end\"]}],\"placeholder-color\":[{placeholder:K()}],\"text-color\":[{text:K()}],\"text-decoration\":[\"underline\",\"overline\",\"line-through\",\"no-underline\"],\"text-decoration-style\":[{decoration:[...Te(),\"wavy\"]}],\"text-decoration-thickness\":[{decoration:[_t,\"from-font\",\"auto\",qe,io]}],\"text-decoration-color\":[{decoration:K()}],\"underline-offset\":[{\"underline-offset\":[_t,\"auto\",qe,$e]}],\"text-transform\":[\"uppercase\",\"lowercase\",\"capitalize\",\"normal-case\"],\"text-overflow\":[\"truncate\",\"text-ellipsis\",\"text-clip\"],\"text-wrap\":[{text:[\"wrap\",\"nowrap\",\"balance\",\"pretty\"]}],indent:[{indent:j()}],\"vertical-align\":[{align:[\"baseline\",\"top\",\"middle\",\"bottom\",\"text-top\",\"text-bottom\",\"sub\",\"super\",qe,$e]}],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\",qe,$e]}],\"bg-attachment\":[{bg:[\"fixed\",\"local\",\"scroll\"]}],\"bg-clip\":[{\"bg-clip\":[\"border\",\"padding\",\"content\",\"text\"]}],\"bg-origin\":[{\"bg-origin\":[\"border\",\"padding\",\"content\"]}],\"bg-position\":[{bg:ve()}],\"bg-repeat\":[{bg:R()}],\"bg-size\":[{bg:le()}],\"bg-image\":[{bg:[\"none\",{linear:[{to:[\"t\",\"tr\",\"r\",\"br\",\"b\",\"bl\",\"l\",\"tl\"]},ds,qe,$e],radial:[\"\",qe,$e],conic:[ds,qe,$e]},_M,bM]}],\"bg-color\":[{bg:K()}],\"gradient-from-pos\":[{from:te()}],\"gradient-via-pos\":[{via:te()}],\"gradient-to-pos\":[{to:te()}],\"gradient-from\":[{from:K()}],\"gradient-via\":[{via:K()}],\"gradient-to\":[{to:K()}],rounded:[{rounded:I()}],\"rounded-s\":[{\"rounded-s\":I()}],\"rounded-e\":[{\"rounded-e\":I()}],\"rounded-t\":[{\"rounded-t\":I()}],\"rounded-r\":[{\"rounded-r\":I()}],\"rounded-b\":[{\"rounded-b\":I()}],\"rounded-l\":[{\"rounded-l\":I()}],\"rounded-ss\":[{\"rounded-ss\":I()}],\"rounded-se\":[{\"rounded-se\":I()}],\"rounded-ee\":[{\"rounded-ee\":I()}],\"rounded-es\":[{\"rounded-es\":I()}],\"rounded-tl\":[{\"rounded-tl\":I()}],\"rounded-tr\":[{\"rounded-tr\":I()}],\"rounded-br\":[{\"rounded-br\":I()}],\"rounded-bl\":[{\"rounded-bl\":I()}],\"border-w\":[{border:ce()}],\"border-w-x\":[{\"border-x\":ce()}],\"border-w-y\":[{\"border-y\":ce()}],\"border-w-s\":[{\"border-s\":ce()}],\"border-w-e\":[{\"border-e\":ce()}],\"border-w-t\":[{\"border-t\":ce()}],\"border-w-r\":[{\"border-r\":ce()}],\"border-w-b\":[{\"border-b\":ce()}],\"border-w-l\":[{\"border-l\":ce()}],\"divide-x\":[{\"divide-x\":ce()}],\"divide-x-reverse\":[\"divide-x-reverse\"],\"divide-y\":[{\"divide-y\":ce()}],\"divide-y-reverse\":[\"divide-y-reverse\"],\"border-style\":[{border:[...Te(),\"hidden\",\"none\"]}],\"divide-style\":[{divide:[...Te(),\"hidden\",\"none\"]}],\"border-color\":[{border:K()}],\"border-color-x\":[{\"border-x\":K()}],\"border-color-y\":[{\"border-y\":K()}],\"border-color-s\":[{\"border-s\":K()}],\"border-color-e\":[{\"border-e\":K()}],\"border-color-t\":[{\"border-t\":K()}],\"border-color-r\":[{\"border-r\":K()}],\"border-color-b\":[{\"border-b\":K()}],\"border-color-l\":[{\"border-l\":K()}],\"divide-color\":[{divide:K()}],\"outline-style\":[{outline:[...Te(),\"none\",\"hidden\"]}],\"outline-offset\":[{\"outline-offset\":[_t,qe,$e]}],\"outline-w\":[{outline:[\"\",_t,nc,io]}],\"outline-color\":[{outline:K()}],shadow:[{shadow:[\"\",\"none\",m,bf,gf]}],\"shadow-color\":[{shadow:K()}],\"inset-shadow\":[{\"inset-shadow\":[\"none\",p,bf,gf]}],\"inset-shadow-color\":[{\"inset-shadow\":K()}],\"ring-w\":[{ring:ce()}],\"ring-w-inset\":[\"ring-inset\"],\"ring-color\":[{ring:K()}],\"ring-offset-w\":[{\"ring-offset\":[_t,io]}],\"ring-offset-color\":[{\"ring-offset\":K()}],\"inset-ring-w\":[{\"inset-ring\":ce()}],\"inset-ring-color\":[{\"inset-ring\":K()}],\"text-shadow\":[{\"text-shadow\":[\"none\",E,bf,gf]}],\"text-shadow-color\":[{\"text-shadow\":K()}],opacity:[{opacity:[_t,qe,$e]}],\"mix-blend\":[{\"mix-blend\":[...xe(),\"plus-darker\",\"plus-lighter\"]}],\"bg-blend\":[{\"bg-blend\":xe()}],\"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\":[_t]}],\"mask-image-linear-from-pos\":[{\"mask-linear-from\":Pe()}],\"mask-image-linear-to-pos\":[{\"mask-linear-to\":Pe()}],\"mask-image-linear-from-color\":[{\"mask-linear-from\":K()}],\"mask-image-linear-to-color\":[{\"mask-linear-to\":K()}],\"mask-image-t-from-pos\":[{\"mask-t-from\":Pe()}],\"mask-image-t-to-pos\":[{\"mask-t-to\":Pe()}],\"mask-image-t-from-color\":[{\"mask-t-from\":K()}],\"mask-image-t-to-color\":[{\"mask-t-to\":K()}],\"mask-image-r-from-pos\":[{\"mask-r-from\":Pe()}],\"mask-image-r-to-pos\":[{\"mask-r-to\":Pe()}],\"mask-image-r-from-color\":[{\"mask-r-from\":K()}],\"mask-image-r-to-color\":[{\"mask-r-to\":K()}],\"mask-image-b-from-pos\":[{\"mask-b-from\":Pe()}],\"mask-image-b-to-pos\":[{\"mask-b-to\":Pe()}],\"mask-image-b-from-color\":[{\"mask-b-from\":K()}],\"mask-image-b-to-color\":[{\"mask-b-to\":K()}],\"mask-image-l-from-pos\":[{\"mask-l-from\":Pe()}],\"mask-image-l-to-pos\":[{\"mask-l-to\":Pe()}],\"mask-image-l-from-color\":[{\"mask-l-from\":K()}],\"mask-image-l-to-color\":[{\"mask-l-to\":K()}],\"mask-image-x-from-pos\":[{\"mask-x-from\":Pe()}],\"mask-image-x-to-pos\":[{\"mask-x-to\":Pe()}],\"mask-image-x-from-color\":[{\"mask-x-from\":K()}],\"mask-image-x-to-color\":[{\"mask-x-to\":K()}],\"mask-image-y-from-pos\":[{\"mask-y-from\":Pe()}],\"mask-image-y-to-pos\":[{\"mask-y-to\":Pe()}],\"mask-image-y-from-color\":[{\"mask-y-from\":K()}],\"mask-image-y-to-color\":[{\"mask-y-to\":K()}],\"mask-image-radial\":[{\"mask-radial\":[qe,$e]}],\"mask-image-radial-from-pos\":[{\"mask-radial-from\":Pe()}],\"mask-image-radial-to-pos\":[{\"mask-radial-to\":Pe()}],\"mask-image-radial-from-color\":[{\"mask-radial-from\":K()}],\"mask-image-radial-to-color\":[{\"mask-radial-to\":K()}],\"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\":[_t]}],\"mask-image-conic-from-pos\":[{\"mask-conic-from\":Pe()}],\"mask-image-conic-to-pos\":[{\"mask-conic-to\":Pe()}],\"mask-image-conic-from-color\":[{\"mask-conic-from\":K()}],\"mask-image-conic-to-color\":[{\"mask-conic-to\":K()}],\"mask-mode\":[{mask:[\"alpha\",\"luminance\",\"match\"]}],\"mask-origin\":[{\"mask-origin\":[\"border\",\"padding\",\"content\",\"fill\",\"stroke\",\"view\"]}],\"mask-position\":[{mask:ve()}],\"mask-repeat\":[{mask:R()}],\"mask-size\":[{mask:le()}],\"mask-type\":[{\"mask-type\":[\"alpha\",\"luminance\"]}],\"mask-image\":[{mask:[\"none\",qe,$e]}],filter:[{filter:[\"\",\"none\",qe,$e]}],blur:[{blur:je()}],brightness:[{brightness:[_t,qe,$e]}],contrast:[{contrast:[_t,qe,$e]}],\"drop-shadow\":[{\"drop-shadow\":[\"\",\"none\",_,bf,gf]}],\"drop-shadow-color\":[{\"drop-shadow\":K()}],grayscale:[{grayscale:[\"\",_t,qe,$e]}],\"hue-rotate\":[{\"hue-rotate\":[_t,qe,$e]}],invert:[{invert:[\"\",_t,qe,$e]}],saturate:[{saturate:[_t,qe,$e]}],sepia:[{sepia:[\"\",_t,qe,$e]}],\"backdrop-filter\":[{\"backdrop-filter\":[\"\",\"none\",qe,$e]}],\"backdrop-blur\":[{\"backdrop-blur\":je()}],\"backdrop-brightness\":[{\"backdrop-brightness\":[_t,qe,$e]}],\"backdrop-contrast\":[{\"backdrop-contrast\":[_t,qe,$e]}],\"backdrop-grayscale\":[{\"backdrop-grayscale\":[\"\",_t,qe,$e]}],\"backdrop-hue-rotate\":[{\"backdrop-hue-rotate\":[_t,qe,$e]}],\"backdrop-invert\":[{\"backdrop-invert\":[\"\",_t,qe,$e]}],\"backdrop-opacity\":[{\"backdrop-opacity\":[_t,qe,$e]}],\"backdrop-saturate\":[{\"backdrop-saturate\":[_t,qe,$e]}],\"backdrop-sepia\":[{\"backdrop-sepia\":[\"\",_t,qe,$e]}],\"border-collapse\":[{border:[\"collapse\",\"separate\"]}],\"border-spacing\":[{\"border-spacing\":j()}],\"border-spacing-x\":[{\"border-spacing-x\":j()}],\"border-spacing-y\":[{\"border-spacing-y\":j()}],\"table-layout\":[{table:[\"auto\",\"fixed\"]}],caption:[{caption:[\"top\",\"bottom\"]}],transition:[{transition:[\"\",\"all\",\"colors\",\"opacity\",\"shadow\",\"transform\",\"none\",qe,$e]}],\"transition-behavior\":[{transition:[\"normal\",\"discrete\"]}],duration:[{duration:[_t,\"initial\",qe,$e]}],ease:[{ease:[\"linear\",\"initial\",v,qe,$e]}],delay:[{delay:[_t,qe,$e]}],animate:[{animate:[\"none\",O,qe,$e]}],backface:[{backface:[\"hidden\",\"visible\"]}],perspective:[{perspective:[S,qe,$e]}],\"perspective-origin\":[{\"perspective-origin\":k()}],rotate:[{rotate:Ze()}],\"rotate-x\":[{\"rotate-x\":Ze()}],\"rotate-y\":[{\"rotate-y\":Ze()}],\"rotate-z\":[{\"rotate-z\":Ze()}],scale:[{scale:Ue()}],\"scale-x\":[{\"scale-x\":Ue()}],\"scale-y\":[{\"scale-y\":Ue()}],\"scale-z\":[{\"scale-z\":Ue()}],\"scale-3d\":[\"scale-3d\"],skew:[{skew:Pt()}],\"skew-x\":[{\"skew-x\":Pt()}],\"skew-y\":[{\"skew-y\":Pt()}],transform:[{transform:[qe,$e,\"\",\"none\",\"gpu\",\"cpu\"]}],\"transform-origin\":[{origin:k()}],\"transform-style\":[{transform:[\"3d\",\"flat\"]}],translate:[{translate:mn()}],\"translate-x\":[{\"translate-x\":mn()}],\"translate-y\":[{\"translate-y\":mn()}],\"translate-z\":[{\"translate-z\":mn()}],\"translate-none\":[\"translate-none\"],accent:[{accent:K()}],appearance:[{appearance:[\"none\",\"auto\"]}],\"caret-color\":[{caret:K()}],\"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\",qe,$e]}],\"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\":j()}],\"scroll-mx\":[{\"scroll-mx\":j()}],\"scroll-my\":[{\"scroll-my\":j()}],\"scroll-ms\":[{\"scroll-ms\":j()}],\"scroll-me\":[{\"scroll-me\":j()}],\"scroll-mt\":[{\"scroll-mt\":j()}],\"scroll-mr\":[{\"scroll-mr\":j()}],\"scroll-mb\":[{\"scroll-mb\":j()}],\"scroll-ml\":[{\"scroll-ml\":j()}],\"scroll-p\":[{\"scroll-p\":j()}],\"scroll-px\":[{\"scroll-px\":j()}],\"scroll-py\":[{\"scroll-py\":j()}],\"scroll-ps\":[{\"scroll-ps\":j()}],\"scroll-pe\":[{\"scroll-pe\":j()}],\"scroll-pt\":[{\"scroll-pt\":j()}],\"scroll-pr\":[{\"scroll-pr\":j()}],\"scroll-pb\":[{\"scroll-pb\":j()}],\"scroll-pl\":[{\"scroll-pl\":j()}],\"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\",qe,$e]}],fill:[{fill:[\"none\",...K()]}],\"stroke-w\":[{stroke:[_t,nc,io,x0]}],stroke:[{stroke:[\"none\",...K()]}],\"forced-color-adjust\":[{\"forced-color-adjust\":[\"auto\",\"none\"]}]},conflictingClassGroups:{overflow:[\"overflow-x\",\"overflow-y\"],overscroll:[\"overscroll-x\",\"overscroll-y\"],inset:[\"inset-x\",\"inset-y\",\"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\",\"pt\",\"pr\",\"pb\",\"pl\"],px:[\"pr\",\"pl\"],py:[\"pt\",\"pb\"],m:[\"mx\",\"my\",\"ms\",\"me\",\"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-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-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-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-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\"]}},SM=aM(xM);function et(...e){return SM(PS(e))}const nA=eD(\"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive\",{variants:{variant:{default:\"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90\",destructive:\"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60\",outline:\"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50\",secondary:\"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80\",ghost:\"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50\",link:\"text-primary underline-offset-4 hover:underline\"},size:{default:\"h-9 px-4 py-2 has-[>svg]:px-3\",sm:\"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5\",lg:\"h-10 rounded-md px-6 has-[>svg]:px-4\",icon:\"size-9\"}},defaultVariants:{variant:\"default\",size:\"default\"}});function ri({className:e,variant:t,size:n,asChild:r=!1,...i}){const o=r?IS:\"button\";return b.jsx(o,{\"data-slot\":\"button\",className:et(nA({variant:t,size:n,className:e})),...i})}function rA({className:e,type:t,...n}){return b.jsx(\"input\",{type:t,\"data-slot\":\"input\",className:et(\"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm\",\"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]\",\"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive\",e),...n})}var AM=[\"a\",\"button\",\"div\",\"form\",\"h2\",\"h3\",\"img\",\"input\",\"label\",\"li\",\"nav\",\"ol\",\"p\",\"select\",\"span\",\"svg\",\"ul\"],Ot=AM.reduce((e,t)=>{const n=Rl(`Primitive.${t}`),r=A.forwardRef((i,o)=>{const{asChild:l,...c}=i,d=l?n:t;return typeof window<\"u\"&&(window[Symbol.for(\"radix-ui\")]=!0),b.jsx(d,{...c,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function NM(e,t){e&&Cl.flushSync(()=>e.dispatchEvent(t))}var wM=\"Separator\",bv=\"horizontal\",CM=[\"horizontal\",\"vertical\"],aA=A.forwardRef((e,t)=>{const{decorative:n,orientation:r=bv,...i}=e,o=RM(r)?r:bv,c=n?{role:\"none\"}:{\"aria-orientation\":o===\"vertical\"?o:void 0,role:\"separator\"};return b.jsx(Ot.div,{\"data-orientation\":o,...c,...i,ref:t})});aA.displayName=wM;function RM(e){return CM.includes(e)}var OM=aA;function Oh({className:e,orientation:t=\"horizontal\",decorative:n=!0,...r}){return b.jsx(OM,{\"data-slot\":\"separator\",decorative:n,orientation:t,className:et(\"bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px\",e),...r})}function Lt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}function kM(e,t){const n=A.createContext(t),r=o=>{const{children:l,...c}=o,d=A.useMemo(()=>c,Object.values(c));return b.jsx(n.Provider,{value:d,children:l})};r.displayName=e+\"Provider\";function i(o){const l=A.useContext(n);if(l)return l;if(t!==void 0)return t;throw new Error(`\\`${o}\\` must be used within \\`${e}\\``)}return[r,i]}function Is(e,t=[]){let n=[];function r(o,l){const c=A.createContext(l),d=n.length;n=[...n,l];const f=p=>{var v;const{scope:E,children:_,...x}=p,S=((v=E==null?void 0:E[e])==null?void 0:v[d])||c,N=A.useMemo(()=>x,Object.values(x));return b.jsx(S.Provider,{value:N,children:_})};f.displayName=o+\"Provider\";function m(p,E){var S;const _=((S=E==null?void 0:E[e])==null?void 0:S[d])||c,x=A.useContext(_);if(x)return x;if(l!==void 0)return l;throw new Error(`\\`${p}\\` must be used within \\`${o}\\``)}return[f,m]}const i=()=>{const o=n.map(l=>A.createContext(l));return function(c){const d=(c==null?void 0:c[e])||o;return A.useMemo(()=>({[`__scope${e}`]:{...c,[e]:d}}),[c,d])}};return i.scopeName=e,[r,LM(i,...t)]}function LM(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const l=r.reduce((c,{useScope:d,scopeName:f})=>{const p=d(o)[`__scope${f}`];return{...c,...p}},{});return A.useMemo(()=>({[`__scope${t.scopeName}`]:l}),[l])}};return n.scopeName=t.scopeName,n}var Pi=globalThis!=null&&globalThis.document?A.useLayoutEffect:()=>{},IM=sS[\" useId \".trim().toString()]||(()=>{}),DM=0;function Wr(e){const[t,n]=A.useState(IM());return Pi(()=>{n(r=>r??String(DM++))},[e]),e||(t?`radix-${t}`:\"\")}var MM=sS[\" useInsertionEffect \".trim().toString()]||Pi;function $c({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,l]=PM({defaultProp:t,onChange:n}),c=e!==void 0,d=c?e:i;{const m=A.useRef(e!==void 0);A.useEffect(()=>{const p=m.current;p!==c&&console.warn(`${r} is changing from ${p?\"controlled\":\"uncontrolled\"} to ${c?\"controlled\":\"uncontrolled\"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),m.current=c},[c,r])}const f=A.useCallback(m=>{var p;if(c){const E=BM(m)?m(e):m;E!==e&&((p=l.current)==null||p.call(l,E))}else o(m)},[c,e,o,l]);return[d,f]}function PM({defaultProp:e,onChange:t}){const[n,r]=A.useState(e),i=A.useRef(n),o=A.useRef(t);return MM(()=>{o.current=t},[t]),A.useEffect(()=>{var l;i.current!==n&&((l=o.current)==null||l.call(o,n),i.current=n)},[n,i]),[n,r,o]}function BM(e){return typeof e==\"function\"}function wr(e){const t=A.useRef(e);return A.useEffect(()=>{t.current=e}),A.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function UM(e,t=globalThis==null?void 0:globalThis.document){const n=wr(e);A.useEffect(()=>{const r=i=>{i.key===\"Escape\"&&n(i)};return t.addEventListener(\"keydown\",r,{capture:!0}),()=>t.removeEventListener(\"keydown\",r,{capture:!0})},[n,t])}var FM=\"DismissableLayer\",Lg=\"dismissableLayer.update\",HM=\"dismissableLayer.pointerDownOutside\",jM=\"dismissableLayer.focusOutside\",Ev,iA=A.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),kh=A.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:i,onFocusOutside:o,onInteractOutside:l,onDismiss:c,...d}=e,f=A.useContext(iA),[m,p]=A.useState(null),E=(m==null?void 0:m.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,_]=A.useState({}),x=yn(t,U=>p(U)),S=Array.from(f.layers),[N]=[...f.layersWithOutsidePointerEventsDisabled].slice(-1),v=S.indexOf(N),O=m?S.indexOf(m):-1,L=f.layersWithOutsidePointerEventsDisabled.size>0,B=O>=v,k=qM(U=>{const j=U.target,F=[...f.branches].some(M=>M.contains(j));!B||F||(i==null||i(U),l==null||l(U),U.defaultPrevented||c==null||c())},E),w=YM(U=>{const j=U.target;[...f.branches].some(M=>M.contains(j))||(o==null||o(U),l==null||l(U),U.defaultPrevented||c==null||c())},E);return UM(U=>{O===f.layers.size-1&&(r==null||r(U),!U.defaultPrevented&&c&&(U.preventDefault(),c()))},E),A.useEffect(()=>{if(m)return n&&(f.layersWithOutsidePointerEventsDisabled.size===0&&(Ev=E.body.style.pointerEvents,E.body.style.pointerEvents=\"none\"),f.layersWithOutsidePointerEventsDisabled.add(m)),f.layers.add(m),yv(),()=>{n&&f.layersWithOutsidePointerEventsDisabled.size===1&&(E.body.style.pointerEvents=Ev)}},[m,E,n,f]),A.useEffect(()=>()=>{m&&(f.layers.delete(m),f.layersWithOutsidePointerEventsDisabled.delete(m),yv())},[m,f]),A.useEffect(()=>{const U=()=>_({});return document.addEventListener(Lg,U),()=>document.removeEventListener(Lg,U)},[]),b.jsx(Ot.div,{...d,ref:x,style:{pointerEvents:L?B?\"auto\":\"none\":void 0,...e.style},onFocusCapture:Lt(e.onFocusCapture,w.onFocusCapture),onBlurCapture:Lt(e.onBlurCapture,w.onBlurCapture),onPointerDownCapture:Lt(e.onPointerDownCapture,k.onPointerDownCapture)})});kh.displayName=FM;var zM=\"DismissableLayerBranch\",$M=A.forwardRef((e,t)=>{const n=A.useContext(iA),r=A.useRef(null),i=yn(t,r);return A.useEffect(()=>{const o=r.current;if(o)return n.branches.add(o),()=>{n.branches.delete(o)}},[n.branches]),b.jsx(Ot.div,{...e,ref:i})});$M.displayName=zM;function qM(e,t=globalThis==null?void 0:globalThis.document){const n=wr(e),r=A.useRef(!1),i=A.useRef(()=>{});return A.useEffect(()=>{const o=c=>{if(c.target&&!r.current){let d=function(){sA(HM,n,f,{discrete:!0})};const f={originalEvent:c};c.pointerType===\"touch\"?(t.removeEventListener(\"click\",i.current),i.current=d,t.addEventListener(\"click\",i.current,{once:!0})):d()}else t.removeEventListener(\"click\",i.current);r.current=!1},l=window.setTimeout(()=>{t.addEventListener(\"pointerdown\",o)},0);return()=>{window.clearTimeout(l),t.removeEventListener(\"pointerdown\",o),t.removeEventListener(\"click\",i.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function YM(e,t=globalThis==null?void 0:globalThis.document){const n=wr(e),r=A.useRef(!1);return A.useEffect(()=>{const i=o=>{o.target&&!r.current&&sA(jM,n,{originalEvent:o},{discrete:!1})};return t.addEventListener(\"focusin\",i),()=>t.removeEventListener(\"focusin\",i)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function yv(){const e=new CustomEvent(Lg);document.dispatchEvent(e)}function sA(e,t,n,{discrete:r}){const i=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&i.addEventListener(e,t,{once:!0}),r?NM(i,o):i.dispatchEvent(o)}var S0=\"focusScope.autoFocusOnMount\",A0=\"focusScope.autoFocusOnUnmount\",_v={bubbles:!1,cancelable:!0},GM=\"FocusScope\",aE=A.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:i,onUnmountAutoFocus:o,...l}=e,[c,d]=A.useState(null),f=wr(i),m=wr(o),p=A.useRef(null),E=yn(t,S=>d(S)),_=A.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;A.useEffect(()=>{if(r){let S=function(L){if(_.paused||!c)return;const B=L.target;c.contains(B)?p.current=B:ms(p.current,{select:!0})},N=function(L){if(_.paused||!c)return;const B=L.relatedTarget;B!==null&&(c.contains(B)||ms(p.current,{select:!0}))},v=function(L){if(document.activeElement===document.body)for(const k of L)k.removedNodes.length>0&&ms(c)};document.addEventListener(\"focusin\",S),document.addEventListener(\"focusout\",N);const O=new MutationObserver(v);return c&&O.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener(\"focusin\",S),document.removeEventListener(\"focusout\",N),O.disconnect()}}},[r,c,_.paused]),A.useEffect(()=>{if(c){vv.add(_);const S=document.activeElement;if(!c.contains(S)){const v=new CustomEvent(S0,_v);c.addEventListener(S0,f),c.dispatchEvent(v),v.defaultPrevented||(VM(ZM(oA(c)),{select:!0}),document.activeElement===S&&ms(c))}return()=>{c.removeEventListener(S0,f),setTimeout(()=>{const v=new CustomEvent(A0,_v);c.addEventListener(A0,m),c.dispatchEvent(v),v.defaultPrevented||ms(S??document.body,{select:!0}),c.removeEventListener(A0,m),vv.remove(_)},0)}}},[c,f,m,_]);const x=A.useCallback(S=>{if(!n&&!r||_.paused)return;const N=S.key===\"Tab\"&&!S.altKey&&!S.ctrlKey&&!S.metaKey,v=document.activeElement;if(N&&v){const O=S.currentTarget,[L,B]=KM(O);L&&B?!S.shiftKey&&v===B?(S.preventDefault(),n&&ms(L,{select:!0})):S.shiftKey&&v===L&&(S.preventDefault(),n&&ms(B,{select:!0})):v===O&&S.preventDefault()}},[n,r,_.paused]);return b.jsx(Ot.div,{tabIndex:-1,...l,ref:E,onKeyDown:x})});aE.displayName=GM;function VM(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(ms(r,{select:t}),document.activeElement!==n)return}function KM(e){const t=oA(e),n=Tv(t,e),r=Tv(t.reverse(),e);return[n,r]}function oA(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const i=r.tagName===\"INPUT\"&&r.type===\"hidden\";return r.disabled||r.hidden||i?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Tv(e,t){for(const n of e)if(!XM(n,{upTo:t}))return n}function XM(e,{upTo:t}){if(getComputedStyle(e).visibility===\"hidden\")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display===\"none\")return!0;e=e.parentElement}return!1}function WM(e){return e instanceof HTMLInputElement&&\"select\"in e}function ms(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&WM(e)&&t&&e.select()}}var vv=QM();function QM(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=xv(e,t),e.unshift(t)},remove(t){var n;e=xv(e,t),(n=e[0])==null||n.resume()}}}function xv(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function ZM(e){return e.filter(t=>t.tagName!==\"A\")}var JM=\"Portal\",Lh=A.forwardRef((e,t)=>{var c;const{container:n,...r}=e,[i,o]=A.useState(!1);Pi(()=>o(!0),[]);const l=n||i&&((c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body);return l?VI.createPortal(b.jsx(Ot.div,{...r,ref:t}),l):null});Lh.displayName=JM;function e6(e,t){return A.useReducer((n,r)=>t[n][r]??n,e)}var ea=e=>{const{present:t,children:n}=e,r=t6(t),i=typeof n==\"function\"?n({present:r.isPresent}):A.Children.only(n),o=yn(r.ref,n6(i));return typeof n==\"function\"||r.isPresent?A.cloneElement(i,{ref:o}):null};ea.displayName=\"Presence\";function t6(e){const[t,n]=A.useState(),r=A.useRef(null),i=A.useRef(e),o=A.useRef(\"none\"),l=e?\"mounted\":\"unmounted\",[c,d]=e6(l,{mounted:{UNMOUNT:\"unmounted\",ANIMATION_OUT:\"unmountSuspended\"},unmountSuspended:{MOUNT:\"mounted\",ANIMATION_END:\"unmounted\"},unmounted:{MOUNT:\"mounted\"}});return A.useEffect(()=>{const f=Ef(r.current);o.current=c===\"mounted\"?f:\"none\"},[c]),Pi(()=>{const f=r.current,m=i.current;if(m!==e){const E=o.current,_=Ef(f);e?d(\"MOUNT\"):_===\"none\"||(f==null?void 0:f.display)===\"none\"?d(\"UNMOUNT\"):d(m&&E!==_?\"ANIMATION_OUT\":\"UNMOUNT\"),i.current=e}},[e,d]),Pi(()=>{if(t){let f;const m=t.ownerDocument.defaultView??window,p=_=>{const S=Ef(r.current).includes(_.animationName);if(_.target===t&&S&&(d(\"ANIMATION_END\"),!i.current)){const N=t.style.animationFillMode;t.style.animationFillMode=\"forwards\",f=m.setTimeout(()=>{t.style.animationFillMode===\"forwards\"&&(t.style.animationFillMode=N)})}},E=_=>{_.target===t&&(o.current=Ef(r.current))};return t.addEventListener(\"animationstart\",E),t.addEventListener(\"animationcancel\",p),t.addEventListener(\"animationend\",p),()=>{m.clearTimeout(f),t.removeEventListener(\"animationstart\",E),t.removeEventListener(\"animationcancel\",p),t.removeEventListener(\"animationend\",p)}}else d(\"ANIMATION_END\")},[t,d]),{isPresent:[\"mounted\",\"unmountSuspended\"].includes(c),ref:A.useCallback(f=>{r.current=f?getComputedStyle(f):null,n(f)},[])}}function Ef(e){return(e==null?void 0:e.animationName)||\"none\"}function n6(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,\"ref\"))==null?void 0:r.get,n=t&&\"isReactWarning\"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,\"ref\"))==null?void 0:i.get,n=t&&\"isReactWarning\"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var N0=0;function lA(){A.useEffect(()=>{const e=document.querySelectorAll(\"[data-radix-focus-guard]\");return document.body.insertAdjacentElement(\"afterbegin\",e[0]??Sv()),document.body.insertAdjacentElement(\"beforeend\",e[1]??Sv()),N0++,()=>{N0===1&&document.querySelectorAll(\"[data-radix-focus-guard]\").forEach(t=>t.remove()),N0--}},[])}function Sv(){const e=document.createElement(\"span\");return e.setAttribute(\"data-radix-focus-guard\",\"\"),e.tabIndex=0,e.style.outline=\"none\",e.style.opacity=\"0\",e.style.position=\"fixed\",e.style.pointerEvents=\"none\",e}var Qa=function(){return Qa=Object.assign||function(t){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o])}return t},Qa.apply(this,arguments)};function uA(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols==\"function\")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}function r6(e,t,n){if(n||arguments.length===2)for(var r=0,i=t.length,o;r<i;r++)(o||!(r in t))&&(o||(o=Array.prototype.slice.call(t,0,r)),o[r]=t[r]);return e.concat(o||Array.prototype.slice.call(t))}var Hf=\"right-scroll-bar-position\",jf=\"width-before-scroll-bar\",a6=\"with-scroll-bars-hidden\",i6=\"--removed-body-scroll-bar-size\";function w0(e,t){return typeof e==\"function\"?e(t):e&&(e.current=t),e}function s6(e,t){var n=A.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var i=n.value;i!==r&&(n.value=r,n.callback(r,i))}}}})[0];return n.callback=t,n.facade}var o6=typeof window<\"u\"?A.useLayoutEffect:A.useEffect,Av=new WeakMap;function l6(e,t){var n=s6(null,function(r){return e.forEach(function(i){return w0(i,r)})});return o6(function(){var r=Av.get(n);if(r){var i=new Set(r),o=new Set(e),l=n.current;i.forEach(function(c){o.has(c)||w0(c,null)}),o.forEach(function(c){i.has(c)||w0(c,l)})}Av.set(n,e)},[e]),n}function u6(e){return e}function c6(e,t){t===void 0&&(t=u6);var n=[],r=!1,i={read:function(){if(r)throw new Error(\"Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.\");return n.length?n[n.length-1]:e},useMedium:function(o){var l=t(o,r);return n.push(l),function(){n=n.filter(function(c){return c!==l})}},assignSyncMedium:function(o){for(r=!0;n.length;){var l=n;n=[],l.forEach(o)}n={push:function(c){return o(c)},filter:function(){return n}}},assignMedium:function(o){r=!0;var l=[];if(n.length){var c=n;n=[],c.forEach(o),l=n}var d=function(){var m=l;l=[],m.forEach(o)},f=function(){return Promise.resolve().then(d)};f(),n={push:function(m){l.push(m),f()},filter:function(m){return l=l.filter(m),n}}}};return i}function d6(e){e===void 0&&(e={});var t=c6(null);return t.options=Qa({async:!0,ssr:!1},e),t}var cA=function(e){var t=e.sideCar,n=uA(e,[\"sideCar\"]);if(!t)throw new Error(\"Sidecar: please provide `sideCar` property to import the right car\");var r=t.read();if(!r)throw new Error(\"Sidecar medium not found\");return A.createElement(r,Qa({},n))};cA.isSideCarExport=!0;function f6(e,t){return e.useMedium(t),cA}var dA=d6(),C0=function(){},Ih=A.forwardRef(function(e,t){var n=A.useRef(null),r=A.useState({onScrollCapture:C0,onWheelCapture:C0,onTouchMoveCapture:C0}),i=r[0],o=r[1],l=e.forwardProps,c=e.children,d=e.className,f=e.removeScrollBar,m=e.enabled,p=e.shards,E=e.sideCar,_=e.noRelative,x=e.noIsolation,S=e.inert,N=e.allowPinchZoom,v=e.as,O=v===void 0?\"div\":v,L=e.gapMode,B=uA(e,[\"forwardProps\",\"children\",\"className\",\"removeScrollBar\",\"enabled\",\"shards\",\"sideCar\",\"noRelative\",\"noIsolation\",\"inert\",\"allowPinchZoom\",\"as\",\"gapMode\"]),k=E,w=l6([n,t]),U=Qa(Qa({},B),i);return A.createElement(A.Fragment,null,m&&A.createElement(k,{sideCar:dA,removeScrollBar:f,shards:p,noRelative:_,noIsolation:x,inert:S,setCallbacks:o,allowPinchZoom:!!N,lockRef:n,gapMode:L}),l?A.cloneElement(A.Children.only(c),Qa(Qa({},U),{ref:w})):A.createElement(O,Qa({},U,{className:d,ref:w}),c))});Ih.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};Ih.classNames={fullWidth:jf,zeroRight:Hf};var h6=function(){if(typeof __webpack_nonce__<\"u\")return __webpack_nonce__};function m6(){if(!document)return null;var e=document.createElement(\"style\");e.type=\"text/css\";var t=h6();return t&&e.setAttribute(\"nonce\",t),e}function p6(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function g6(e){var t=document.head||document.getElementsByTagName(\"head\")[0];t.appendChild(e)}var b6=function(){var e=0,t=null;return{add:function(n){e==0&&(t=m6())&&(p6(t,n),g6(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},E6=function(){var e=b6();return function(t,n){A.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},fA=function(){var e=E6(),t=function(n){var r=n.styles,i=n.dynamic;return e(r,i),null};return t},y6={left:0,top:0,right:0,gap:0},R0=function(e){return parseInt(e||\"\",10)||0},_6=function(e){var t=window.getComputedStyle(document.body),n=t[e===\"padding\"?\"paddingLeft\":\"marginLeft\"],r=t[e===\"padding\"?\"paddingTop\":\"marginTop\"],i=t[e===\"padding\"?\"paddingRight\":\"marginRight\"];return[R0(n),R0(r),R0(i)]},T6=function(e){if(e===void 0&&(e=\"margin\"),typeof window>\"u\")return y6;var t=_6(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},v6=fA(),Sl=\"data-scroll-locked\",x6=function(e,t,n,r){var i=e.left,o=e.top,l=e.right,c=e.gap;return n===void 0&&(n=\"margin\"),`\n .`.concat(a6,` {\n overflow: hidden `).concat(r,`;\n padding-right: `).concat(c,\"px \").concat(r,`;\n }\n body[`).concat(Sl,`] {\n overflow: hidden `).concat(r,`;\n overscroll-behavior: contain;\n `).concat([t&&\"position: relative \".concat(r,\";\"),n===\"margin\"&&`\n padding-left: `.concat(i,`px;\n padding-top: `).concat(o,`px;\n padding-right: `).concat(l,`px;\n margin-left:0;\n margin-top:0;\n margin-right: `).concat(c,\"px \").concat(r,`;\n `),n===\"padding\"&&\"padding-right: \".concat(c,\"px \").concat(r,\";\")].filter(Boolean).join(\"\"),`\n }\n \n .`).concat(Hf,` {\n right: `).concat(c,\"px \").concat(r,`;\n }\n \n .`).concat(jf,` {\n margin-right: `).concat(c,\"px \").concat(r,`;\n }\n \n .`).concat(Hf,\" .\").concat(Hf,` {\n right: 0 `).concat(r,`;\n }\n \n .`).concat(jf,\" .\").concat(jf,` {\n margin-right: 0 `).concat(r,`;\n }\n \n body[`).concat(Sl,`] {\n `).concat(i6,\": \").concat(c,`px;\n }\n`)},Nv=function(){var e=parseInt(document.body.getAttribute(Sl)||\"0\",10);return isFinite(e)?e:0},S6=function(){A.useEffect(function(){return document.body.setAttribute(Sl,(Nv()+1).toString()),function(){var e=Nv()-1;e<=0?document.body.removeAttribute(Sl):document.body.setAttribute(Sl,e.toString())}},[])},A6=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,i=r===void 0?\"margin\":r;S6();var o=A.useMemo(function(){return T6(i)},[i]);return A.createElement(v6,{styles:x6(o,!t,i,n?\"\":\"!important\")})},Ig=!1;if(typeof window<\"u\")try{var yf=Object.defineProperty({},\"passive\",{get:function(){return Ig=!0,!0}});window.addEventListener(\"test\",yf,yf),window.removeEventListener(\"test\",yf,yf)}catch{Ig=!1}var cl=Ig?{passive:!1}:!1,N6=function(e){return e.tagName===\"TEXTAREA\"},hA=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!==\"hidden\"&&!(n.overflowY===n.overflowX&&!N6(e)&&n[t]===\"visible\")},w6=function(e){return hA(e,\"overflowY\")},C6=function(e){return hA(e,\"overflowX\")},wv=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<\"u\"&&r instanceof ShadowRoot&&(r=r.host);var i=mA(e,r);if(i){var o=pA(e,r),l=o[1],c=o[2];if(l>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},R6=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},O6=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},mA=function(e,t){return e===\"v\"?w6(t):C6(t)},pA=function(e,t){return e===\"v\"?R6(t):O6(t)},k6=function(e,t){return e===\"h\"&&t===\"rtl\"?-1:1},L6=function(e,t,n,r,i){var o=k6(e,window.getComputedStyle(t).direction),l=o*r,c=n.target,d=t.contains(c),f=!1,m=l>0,p=0,E=0;do{if(!c)break;var _=pA(e,c),x=_[0],S=_[1],N=_[2],v=S-N-o*x;(x||v)&&mA(e,c)&&(p+=v,E+=x);var O=c.parentNode;c=O&&O.nodeType===Node.DOCUMENT_FRAGMENT_NODE?O.host:O}while(!d&&c!==document.body||d&&(t.contains(c)||t===c));return(m&&Math.abs(p)<1||!m&&Math.abs(E)<1)&&(f=!0),f},_f=function(e){return\"changedTouches\"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Cv=function(e){return[e.deltaX,e.deltaY]},Rv=function(e){return e&&\"current\"in e?e.current:e},I6=function(e,t){return e[0]===t[0]&&e[1]===t[1]},D6=function(e){return`\n .block-interactivity-`.concat(e,` {pointer-events: none;}\n .allow-interactivity-`).concat(e,` {pointer-events: all;}\n`)},M6=0,dl=[];function P6(e){var t=A.useRef([]),n=A.useRef([0,0]),r=A.useRef(),i=A.useState(M6++)[0],o=A.useState(fA)[0],l=A.useRef(e);A.useEffect(function(){l.current=e},[e]),A.useEffect(function(){if(e.inert){document.body.classList.add(\"block-interactivity-\".concat(i));var S=r6([e.lockRef.current],(e.shards||[]).map(Rv),!0).filter(Boolean);return S.forEach(function(N){return N.classList.add(\"allow-interactivity-\".concat(i))}),function(){document.body.classList.remove(\"block-interactivity-\".concat(i)),S.forEach(function(N){return N.classList.remove(\"allow-interactivity-\".concat(i))})}}},[e.inert,e.lockRef.current,e.shards]);var c=A.useCallback(function(S,N){if(\"touches\"in S&&S.touches.length===2||S.type===\"wheel\"&&S.ctrlKey)return!l.current.allowPinchZoom;var v=_f(S),O=n.current,L=\"deltaX\"in S?S.deltaX:O[0]-v[0],B=\"deltaY\"in S?S.deltaY:O[1]-v[1],k,w=S.target,U=Math.abs(L)>Math.abs(B)?\"h\":\"v\";if(\"touches\"in S&&U===\"h\"&&w.type===\"range\")return!1;var j=wv(U,w);if(!j)return!0;if(j?k=U:(k=U===\"v\"?\"h\":\"v\",j=wv(U,w)),!j)return!1;if(!r.current&&\"changedTouches\"in S&&(L||B)&&(r.current=k),!k)return!0;var F=r.current||k;return L6(F,N,S,F===\"h\"?L:B)},[]),d=A.useCallback(function(S){var N=S;if(!(!dl.length||dl[dl.length-1]!==o)){var v=\"deltaY\"in N?Cv(N):_f(N),O=t.current.filter(function(k){return k.name===N.type&&(k.target===N.target||N.target===k.shadowParent)&&I6(k.delta,v)})[0];if(O&&O.should){N.cancelable&&N.preventDefault();return}if(!O){var L=(l.current.shards||[]).map(Rv).filter(Boolean).filter(function(k){return k.contains(N.target)}),B=L.length>0?c(N,L[0]):!l.current.noIsolation;B&&N.cancelable&&N.preventDefault()}}},[]),f=A.useCallback(function(S,N,v,O){var L={name:S,delta:N,target:v,should:O,shadowParent:B6(v)};t.current.push(L),setTimeout(function(){t.current=t.current.filter(function(B){return B!==L})},1)},[]),m=A.useCallback(function(S){n.current=_f(S),r.current=void 0},[]),p=A.useCallback(function(S){f(S.type,Cv(S),S.target,c(S,e.lockRef.current))},[]),E=A.useCallback(function(S){f(S.type,_f(S),S.target,c(S,e.lockRef.current))},[]);A.useEffect(function(){return dl.push(o),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:E}),document.addEventListener(\"wheel\",d,cl),document.addEventListener(\"touchmove\",d,cl),document.addEventListener(\"touchstart\",m,cl),function(){dl=dl.filter(function(S){return S!==o}),document.removeEventListener(\"wheel\",d,cl),document.removeEventListener(\"touchmove\",d,cl),document.removeEventListener(\"touchstart\",m,cl)}},[]);var _=e.removeScrollBar,x=e.inert;return A.createElement(A.Fragment,null,x?A.createElement(o,{styles:D6(i)}):null,_?A.createElement(A6,{noRelative:e.noRelative,gapMode:e.gapMode}):null)}function B6(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const U6=f6(dA,P6);var iE=A.forwardRef(function(e,t){return A.createElement(Ih,Qa({},e,{ref:t,sideCar:U6}))});iE.classNames=Ih.classNames;var F6=function(e){if(typeof document>\"u\")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},fl=new WeakMap,Tf=new WeakMap,vf={},O0=0,gA=function(e){return e&&(e.host||gA(e.parentNode))},H6=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=gA(n);return r&&e.contains(r)?r:(console.error(\"aria-hidden\",n,\"in not contained inside\",e,\". Doing nothing\"),null)}).filter(function(n){return!!n})},j6=function(e,t,n,r){var i=H6(t,Array.isArray(e)?e:[e]);vf[n]||(vf[n]=new WeakMap);var o=vf[n],l=[],c=new Set,d=new Set(i),f=function(p){!p||c.has(p)||(c.add(p),f(p.parentNode))};i.forEach(f);var m=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(E){if(c.has(E))m(E);else try{var _=E.getAttribute(r),x=_!==null&&_!==\"false\",S=(fl.get(E)||0)+1,N=(o.get(E)||0)+1;fl.set(E,S),o.set(E,N),l.push(E),S===1&&x&&Tf.set(E,!0),N===1&&E.setAttribute(n,\"true\"),x||E.setAttribute(r,\"true\")}catch(v){console.error(\"aria-hidden: cannot operate on \",E,v)}})};return m(t),c.clear(),O0++,function(){l.forEach(function(p){var E=fl.get(p)-1,_=o.get(p)-1;fl.set(p,E),o.set(p,_),E||(Tf.has(p)||p.removeAttribute(r),Tf.delete(p)),_||p.removeAttribute(n)}),O0--,O0||(fl=new WeakMap,fl=new WeakMap,Tf=new WeakMap,vf={})}},bA=function(e,t,n){n===void 0&&(n=\"data-aria-hidden\");var r=Array.from(Array.isArray(e)?e:[e]),i=F6(e);return i?(r.push.apply(r,Array.from(i.querySelectorAll(\"[aria-live], script\"))),j6(r,i,n,\"aria-hidden\")):function(){return null}},Dh=\"Dialog\",[EA,aW]=Is(Dh),[z6,Ba]=EA(Dh),yA=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:l=!0}=e,c=A.useRef(null),d=A.useRef(null),[f,m]=$c({prop:r,defaultProp:i??!1,onChange:o,caller:Dh});return b.jsx(z6,{scope:t,triggerRef:c,contentRef:d,contentId:Wr(),titleId:Wr(),descriptionId:Wr(),open:f,onOpenChange:m,onOpenToggle:A.useCallback(()=>m(p=>!p),[m]),modal:l,children:n})};yA.displayName=Dh;var _A=\"DialogTrigger\",$6=A.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ba(_A,n),o=yn(t,i.triggerRef);return b.jsx(Ot.button,{type:\"button\",\"aria-haspopup\":\"dialog\",\"aria-expanded\":i.open,\"aria-controls\":i.contentId,\"data-state\":lE(i.open),...r,ref:o,onClick:Lt(e.onClick,i.onOpenToggle)})});$6.displayName=_A;var sE=\"DialogPortal\",[q6,TA]=EA(sE,{forceMount:void 0}),vA=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:i}=e,o=Ba(sE,t);return b.jsx(q6,{scope:t,forceMount:n,children:A.Children.map(r,l=>b.jsx(ea,{present:n||o.open,children:b.jsx(Lh,{asChild:!0,container:i,children:l})}))})};vA.displayName=sE;var Jf=\"DialogOverlay\",xA=A.forwardRef((e,t)=>{const n=TA(Jf,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Ba(Jf,e.__scopeDialog);return o.modal?b.jsx(ea,{present:r||o.open,children:b.jsx(G6,{...i,ref:t})}):null});xA.displayName=Jf;var Y6=Rl(\"DialogOverlay.RemoveScroll\"),G6=A.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ba(Jf,n);return b.jsx(iE,{as:Y6,allowPinchZoom:!0,shards:[i.contentRef],children:b.jsx(Ot.div,{\"data-state\":lE(i.open),...r,ref:t,style:{pointerEvents:\"auto\",...r.style}})})}),yo=\"DialogContent\",SA=A.forwardRef((e,t)=>{const n=TA(yo,e.__scopeDialog),{forceMount:r=n.forceMount,...i}=e,o=Ba(yo,e.__scopeDialog);return b.jsx(ea,{present:r||o.open,children:o.modal?b.jsx(V6,{...i,ref:t}):b.jsx(K6,{...i,ref:t})})});SA.displayName=yo;var V6=A.forwardRef((e,t)=>{const n=Ba(yo,e.__scopeDialog),r=A.useRef(null),i=yn(t,n.contentRef,r);return A.useEffect(()=>{const o=r.current;if(o)return bA(o)},[]),b.jsx(AA,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Lt(e.onCloseAutoFocus,o=>{var l;o.preventDefault(),(l=n.triggerRef.current)==null||l.focus()}),onPointerDownOutside:Lt(e.onPointerDownOutside,o=>{const l=o.detail.originalEvent,c=l.button===0&&l.ctrlKey===!0;(l.button===2||c)&&o.preventDefault()}),onFocusOutside:Lt(e.onFocusOutside,o=>o.preventDefault())})}),K6=A.forwardRef((e,t)=>{const n=Ba(yo,e.__scopeDialog),r=A.useRef(!1),i=A.useRef(!1);return b.jsx(AA,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var l,c;(l=e.onCloseAutoFocus)==null||l.call(e,o),o.defaultPrevented||(r.current||(c=n.triggerRef.current)==null||c.focus(),o.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:o=>{var d,f;(d=e.onInteractOutside)==null||d.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type===\"pointerdown\"&&(i.current=!0));const l=o.target;((f=n.triggerRef.current)==null?void 0:f.contains(l))&&o.preventDefault(),o.detail.originalEvent.type===\"focusin\"&&i.current&&o.preventDefault()}})}),AA=A.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,...l}=e,c=Ba(yo,n),d=A.useRef(null),f=yn(t,d);return lA(),b.jsxs(b.Fragment,{children:[b.jsx(aE,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:b.jsx(kh,{role:\"dialog\",id:c.contentId,\"aria-describedby\":c.descriptionId,\"aria-labelledby\":c.titleId,\"data-state\":lE(c.open),...l,ref:f,onDismiss:()=>c.onOpenChange(!1)})}),b.jsxs(b.Fragment,{children:[b.jsx(X6,{titleId:c.titleId}),b.jsx(Q6,{contentRef:d,descriptionId:c.descriptionId})]})]})}),oE=\"DialogTitle\",NA=A.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ba(oE,n);return b.jsx(Ot.h2,{id:i.titleId,...r,ref:t})});NA.displayName=oE;var wA=\"DialogDescription\",CA=A.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ba(wA,n);return b.jsx(Ot.p,{id:i.descriptionId,...r,ref:t})});CA.displayName=wA;var RA=\"DialogClose\",OA=A.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,i=Ba(RA,n);return b.jsx(Ot.button,{type:\"button\",...r,ref:t,onClick:Lt(e.onClick,()=>i.onOpenChange(!1))})});OA.displayName=RA;function lE(e){return e?\"open\":\"closed\"}var kA=\"DialogTitleWarning\",[iW,LA]=kM(kA,{contentName:yo,titleName:oE,docsSlug:\"dialog\"}),X6=({titleId:e})=>{const t=LA(kA),n=`\\`${t.contentName}\\` requires a \\`${t.titleName}\\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \\`${t.titleName}\\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return A.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},W6=\"DialogDescriptionWarning\",Q6=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \\`Description\\` or \\`aria-describedby={undefined}\\` for {${LA(W6).contentName}}.`;return A.useEffect(()=>{var o;const i=(o=e.current)==null?void 0:o.getAttribute(\"aria-describedby\");t&&i&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},uE=yA,cE=vA,dE=xA,fE=SA,IA=NA,DA=CA,MA=OA;function Z6({...e}){return b.jsx(uE,{\"data-slot\":\"sheet\",...e})}function J6({...e}){return b.jsx(cE,{\"data-slot\":\"sheet-portal\",...e})}function e4({className:e,...t}){return b.jsx(dE,{\"data-slot\":\"sheet-overlay\",className:et(\"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50\",e),...t})}function t4({className:e,children:t,side:n=\"right\",...r}){return b.jsxs(J6,{children:[b.jsx(e4,{}),b.jsxs(fE,{\"data-slot\":\"sheet-content\",className:et(\"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500\",n===\"right\"&&\"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm\",n===\"left\"&&\"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm\",n===\"top\"&&\"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b\",n===\"bottom\"&&\"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t\",e),...r,children:[t,b.jsxs(MA,{className:\"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none\",children:[b.jsx(YS,{className:\"size-4\"}),b.jsx(\"span\",{className:\"sr-only\",children:\"Close\"})]})]})]})}function n4({className:e,...t}){return b.jsx(\"div\",{\"data-slot\":\"sheet-header\",className:et(\"flex flex-col gap-1.5 p-4\",e),...t})}function r4({className:e,...t}){return b.jsx(IA,{\"data-slot\":\"sheet-title\",className:et(\"text-foreground font-semibold\",e),...t})}function a4({className:e,...t}){return b.jsx(DA,{\"data-slot\":\"sheet-description\",className:et(\"text-muted-foreground text-sm\",e),...t})}const i4=[\"top\",\"right\",\"bottom\",\"left\"],Ns=Math.min,Vr=Math.max,eh=Math.round,xf=Math.floor,ti=e=>({x:e,y:e}),s4={left:\"right\",right:\"left\",bottom:\"top\",top:\"bottom\"},o4={start:\"end\",end:\"start\"};function Dg(e,t,n){return Vr(e,Ns(t,n))}function Bi(e,t){return typeof e==\"function\"?e(t):e}function Ui(e){return e.split(\"-\")[0]}function Gl(e){return e.split(\"-\")[1]}function hE(e){return e===\"x\"?\"y\":\"x\"}function mE(e){return e===\"y\"?\"height\":\"width\"}const l4=new Set([\"top\",\"bottom\"]);function Za(e){return l4.has(Ui(e))?\"y\":\"x\"}function pE(e){return hE(Za(e))}function u4(e,t,n){n===void 0&&(n=!1);const r=Gl(e),i=pE(e),o=mE(i);let l=i===\"x\"?r===(n?\"end\":\"start\")?\"right\":\"left\":r===\"start\"?\"bottom\":\"top\";return t.reference[o]>t.floating[o]&&(l=th(l)),[l,th(l)]}function c4(e){const t=th(e);return[Mg(e),t,Mg(t)]}function Mg(e){return e.replace(/start|end/g,t=>o4[t])}const Ov=[\"left\",\"right\"],kv=[\"right\",\"left\"],d4=[\"top\",\"bottom\"],f4=[\"bottom\",\"top\"];function h4(e,t,n){switch(e){case\"top\":case\"bottom\":return n?t?kv:Ov:t?Ov:kv;case\"left\":case\"right\":return t?d4:f4;default:return[]}}function m4(e,t,n,r){const i=Gl(e);let o=h4(Ui(e),n===\"start\",r);return i&&(o=o.map(l=>l+\"-\"+i),t&&(o=o.concat(o.map(Mg)))),o}function th(e){return e.replace(/left|right|bottom|top/g,t=>s4[t])}function p4(e){return{top:0,right:0,bottom:0,left:0,...e}}function PA(e){return typeof e!=\"number\"?p4(e):{top:e,right:e,bottom:e,left:e}}function nh(e){const{x:t,y:n,width:r,height:i}=e;return{width:r,height:i,top:n,left:t,right:t+r,bottom:n+i,x:t,y:n}}function Lv(e,t,n){let{reference:r,floating:i}=e;const o=Za(t),l=pE(t),c=mE(l),d=Ui(t),f=o===\"y\",m=r.x+r.width/2-i.width/2,p=r.y+r.height/2-i.height/2,E=r[c]/2-i[c]/2;let _;switch(d){case\"top\":_={x:m,y:r.y-i.height};break;case\"bottom\":_={x:m,y:r.y+r.height};break;case\"right\":_={x:r.x+r.width,y:p};break;case\"left\":_={x:r.x-i.width,y:p};break;default:_={x:r.x,y:r.y}}switch(Gl(t)){case\"start\":_[l]-=E*(n&&f?-1:1);break;case\"end\":_[l]+=E*(n&&f?-1:1);break}return _}const g4=async(e,t,n)=>{const{placement:r=\"bottom\",strategy:i=\"absolute\",middleware:o=[],platform:l}=n,c=o.filter(Boolean),d=await(l.isRTL==null?void 0:l.isRTL(t));let f=await l.getElementRects({reference:e,floating:t,strategy:i}),{x:m,y:p}=Lv(f,r,d),E=r,_={},x=0;for(let S=0;S<c.length;S++){const{name:N,fn:v}=c[S],{x:O,y:L,data:B,reset:k}=await v({x:m,y:p,initialPlacement:r,placement:E,strategy:i,middlewareData:_,rects:f,platform:l,elements:{reference:e,floating:t}});m=O??m,p=L??p,_={..._,[N]:{..._[N],...B}},k&&x<=50&&(x++,typeof k==\"object\"&&(k.placement&&(E=k.placement),k.rects&&(f=k.rects===!0?await l.getElementRects({reference:e,floating:t,strategy:i}):k.rects),{x:m,y:p}=Lv(f,E,d)),S=-1)}return{x:m,y:p,placement:E,strategy:i,middlewareData:_}};async function Cc(e,t){var n;t===void 0&&(t={});const{x:r,y:i,platform:o,rects:l,elements:c,strategy:d}=e,{boundary:f=\"clippingAncestors\",rootBoundary:m=\"viewport\",elementContext:p=\"floating\",altBoundary:E=!1,padding:_=0}=Bi(t,e),x=PA(_),N=c[E?p===\"floating\"?\"reference\":\"floating\":p],v=nh(await o.getClippingRect({element:(n=await(o.isElement==null?void 0:o.isElement(N)))==null||n?N:N.contextElement||await(o.getDocumentElement==null?void 0:o.getDocumentElement(c.floating)),boundary:f,rootBoundary:m,strategy:d})),O=p===\"floating\"?{x:r,y:i,width:l.floating.width,height:l.floating.height}:l.reference,L=await(o.getOffsetParent==null?void 0:o.getOffsetParent(c.floating)),B=await(o.isElement==null?void 0:o.isElement(L))?await(o.getScale==null?void 0:o.getScale(L))||{x:1,y:1}:{x:1,y:1},k=nh(o.convertOffsetParentRelativeRectToViewportRelativeRect?await o.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:O,offsetParent:L,strategy:d}):O);return{top:(v.top-k.top+x.top)/B.y,bottom:(k.bottom-v.bottom+x.bottom)/B.y,left:(v.left-k.left+x.left)/B.x,right:(k.right-v.right+x.right)/B.x}}const b4=e=>({name:\"arrow\",options:e,async fn(t){const{x:n,y:r,placement:i,rects:o,platform:l,elements:c,middlewareData:d}=t,{element:f,padding:m=0}=Bi(e,t)||{};if(f==null)return{};const p=PA(m),E={x:n,y:r},_=pE(i),x=mE(_),S=await l.getDimensions(f),N=_===\"y\",v=N?\"top\":\"left\",O=N?\"bottom\":\"right\",L=N?\"clientHeight\":\"clientWidth\",B=o.reference[x]+o.reference[_]-E[_]-o.floating[x],k=E[_]-o.reference[_],w=await(l.getOffsetParent==null?void 0:l.getOffsetParent(f));let U=w?w[L]:0;(!U||!await(l.isElement==null?void 0:l.isElement(w)))&&(U=c.floating[L]||o.floating[x]);const j=B/2-k/2,F=U/2-S[x]/2-1,M=Ns(p[v],F),J=Ns(p[O],F),X=M,V=U-S[x]-J,ne=U/2-S[x]/2+j,ae=Dg(X,ne,V),Q=!d.arrow&&Gl(i)!=null&&ne!==ae&&o.reference[x]/2-(ne<X?M:J)-S[x]/2<0,be=Q?ne<X?ne-X:ne-V:0;return{[_]:E[_]+be,data:{[_]:ae,centerOffset:ne-ae-be,...Q&&{alignmentOffset:be}},reset:Q}}}),E4=function(e){return e===void 0&&(e={}),{name:\"flip\",options:e,async fn(t){var n,r;const{placement:i,middlewareData:o,rects:l,initialPlacement:c,platform:d,elements:f}=t,{mainAxis:m=!0,crossAxis:p=!0,fallbackPlacements:E,fallbackStrategy:_=\"bestFit\",fallbackAxisSideDirection:x=\"none\",flipAlignment:S=!0,...N}=Bi(e,t);if((n=o.arrow)!=null&&n.alignmentOffset)return{};const v=Ui(i),O=Za(c),L=Ui(c)===c,B=await(d.isRTL==null?void 0:d.isRTL(f.floating)),k=E||(L||!S?[th(c)]:c4(c)),w=x!==\"none\";!E&&w&&k.push(...m4(c,S,x,B));const U=[c,...k],j=await Cc(t,N),F=[];let M=((r=o.flip)==null?void 0:r.overflows)||[];if(m&&F.push(j[v]),p){const ne=u4(i,l,B);F.push(j[ne[0]],j[ne[1]])}if(M=[...M,{placement:i,overflows:F}],!F.every(ne=>ne<=0)){var J,X;const ne=(((J=o.flip)==null?void 0:J.index)||0)+1,ae=U[ne];if(ae&&(!(p===\"alignment\"?O!==Za(ae):!1)||M.every(K=>Za(K.placement)===O?K.overflows[0]>0:!0)))return{data:{index:ne,overflows:M},reset:{placement:ae}};let Q=(X=M.filter(be=>be.overflows[0]<=0).sort((be,K)=>be.overflows[1]-K.overflows[1])[0])==null?void 0:X.placement;if(!Q)switch(_){case\"bestFit\":{var V;const be=(V=M.filter(K=>{if(w){const ve=Za(K.placement);return ve===O||ve===\"y\"}return!0}).map(K=>[K.placement,K.overflows.filter(ve=>ve>0).reduce((ve,R)=>ve+R,0)]).sort((K,ve)=>K[1]-ve[1])[0])==null?void 0:V[0];be&&(Q=be);break}case\"initialPlacement\":Q=c;break}if(i!==Q)return{reset:{placement:Q}}}return{}}}};function Iv(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function Dv(e){return i4.some(t=>e[t]>=0)}const y4=function(e){return e===void 0&&(e={}),{name:\"hide\",options:e,async fn(t){const{rects:n}=t,{strategy:r=\"referenceHidden\",...i}=Bi(e,t);switch(r){case\"referenceHidden\":{const o=await Cc(t,{...i,elementContext:\"reference\"}),l=Iv(o,n.reference);return{data:{referenceHiddenOffsets:l,referenceHidden:Dv(l)}}}case\"escaped\":{const o=await Cc(t,{...i,altBoundary:!0}),l=Iv(o,n.floating);return{data:{escapedOffsets:l,escaped:Dv(l)}}}default:return{}}}}},BA=new Set([\"left\",\"top\"]);async function _4(e,t){const{placement:n,platform:r,elements:i}=e,o=await(r.isRTL==null?void 0:r.isRTL(i.floating)),l=Ui(n),c=Gl(n),d=Za(n)===\"y\",f=BA.has(l)?-1:1,m=o&&d?-1:1,p=Bi(t,e);let{mainAxis:E,crossAxis:_,alignmentAxis:x}=typeof p==\"number\"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof x==\"number\"&&(_=c===\"end\"?x*-1:x),d?{x:_*m,y:E*f}:{x:E*f,y:_*m}}const T4=function(e){return e===void 0&&(e=0),{name:\"offset\",options:e,async fn(t){var n,r;const{x:i,y:o,placement:l,middlewareData:c}=t,d=await _4(t,e);return l===((n=c.offset)==null?void 0:n.placement)&&(r=c.arrow)!=null&&r.alignmentOffset?{}:{x:i+d.x,y:o+d.y,data:{...d,placement:l}}}}},v4=function(e){return e===void 0&&(e={}),{name:\"shift\",options:e,async fn(t){const{x:n,y:r,placement:i}=t,{mainAxis:o=!0,crossAxis:l=!1,limiter:c={fn:N=>{let{x:v,y:O}=N;return{x:v,y:O}}},...d}=Bi(e,t),f={x:n,y:r},m=await Cc(t,d),p=Za(Ui(i)),E=hE(p);let _=f[E],x=f[p];if(o){const N=E===\"y\"?\"top\":\"left\",v=E===\"y\"?\"bottom\":\"right\",O=_+m[N],L=_-m[v];_=Dg(O,_,L)}if(l){const N=p===\"y\"?\"top\":\"left\",v=p===\"y\"?\"bottom\":\"right\",O=x+m[N],L=x-m[v];x=Dg(O,x,L)}const S=c.fn({...t,[E]:_,[p]:x});return{...S,data:{x:S.x-n,y:S.y-r,enabled:{[E]:o,[p]:l}}}}}},x4=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:i,rects:o,middlewareData:l}=t,{offset:c=0,mainAxis:d=!0,crossAxis:f=!0}=Bi(e,t),m={x:n,y:r},p=Za(i),E=hE(p);let _=m[E],x=m[p];const S=Bi(c,t),N=typeof S==\"number\"?{mainAxis:S,crossAxis:0}:{mainAxis:0,crossAxis:0,...S};if(d){const L=E===\"y\"?\"height\":\"width\",B=o.reference[E]-o.floating[L]+N.mainAxis,k=o.reference[E]+o.reference[L]-N.mainAxis;_<B?_=B:_>k&&(_=k)}if(f){var v,O;const L=E===\"y\"?\"width\":\"height\",B=BA.has(Ui(i)),k=o.reference[p]-o.floating[L]+(B&&((v=l.offset)==null?void 0:v[p])||0)+(B?0:N.crossAxis),w=o.reference[p]+o.reference[L]+(B?0:((O=l.offset)==null?void 0:O[p])||0)-(B?N.crossAxis:0);x<k?x=k:x>w&&(x=w)}return{[E]:_,[p]:x}}}},S4=function(e){return e===void 0&&(e={}),{name:\"size\",options:e,async fn(t){var n,r;const{placement:i,rects:o,platform:l,elements:c}=t,{apply:d=()=>{},...f}=Bi(e,t),m=await Cc(t,f),p=Ui(i),E=Gl(i),_=Za(i)===\"y\",{width:x,height:S}=o.floating;let N,v;p===\"top\"||p===\"bottom\"?(N=p,v=E===(await(l.isRTL==null?void 0:l.isRTL(c.floating))?\"start\":\"end\")?\"left\":\"right\"):(v=p,N=E===\"end\"?\"top\":\"bottom\");const O=S-m.top-m.bottom,L=x-m.left-m.right,B=Ns(S-m[N],O),k=Ns(x-m[v],L),w=!t.middlewareData.shift;let U=B,j=k;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(j=L),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(U=O),w&&!E){const M=Vr(m.left,0),J=Vr(m.right,0),X=Vr(m.top,0),V=Vr(m.bottom,0);_?j=x-2*(M!==0||J!==0?M+J:Vr(m.left,m.right)):U=S-2*(X!==0||V!==0?X+V:Vr(m.top,m.bottom))}await d({...t,availableWidth:j,availableHeight:U});const F=await l.getDimensions(c.floating);return x!==F.width||S!==F.height?{reset:{rects:!0}}:{}}}};function Mh(){return typeof window<\"u\"}function Vl(e){return UA(e)?(e.nodeName||\"\").toLowerCase():\"#document\"}function Qr(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function si(e){var t;return(t=(UA(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function UA(e){return Mh()?e instanceof Node||e instanceof Qr(e).Node:!1}function Da(e){return Mh()?e instanceof Element||e instanceof Qr(e).Element:!1}function ai(e){return Mh()?e instanceof HTMLElement||e instanceof Qr(e).HTMLElement:!1}function Mv(e){return!Mh()||typeof ShadowRoot>\"u\"?!1:e instanceof ShadowRoot||e instanceof Qr(e).ShadowRoot}const A4=new Set([\"inline\",\"contents\"]);function qc(e){const{overflow:t,overflowX:n,overflowY:r,display:i}=Ma(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!A4.has(i)}const N4=new Set([\"table\",\"td\",\"th\"]);function w4(e){return N4.has(Vl(e))}const C4=[\":popover-open\",\":modal\"];function Ph(e){return C4.some(t=>{try{return e.matches(t)}catch{return!1}})}const R4=[\"transform\",\"translate\",\"scale\",\"rotate\",\"perspective\"],O4=[\"transform\",\"translate\",\"scale\",\"rotate\",\"perspective\",\"filter\"],k4=[\"paint\",\"layout\",\"strict\",\"content\"];function gE(e){const t=bE(),n=Da(e)?Ma(e):e;return R4.some(r=>n[r]?n[r]!==\"none\":!1)||(n.containerType?n.containerType!==\"normal\":!1)||!t&&(n.backdropFilter?n.backdropFilter!==\"none\":!1)||!t&&(n.filter?n.filter!==\"none\":!1)||O4.some(r=>(n.willChange||\"\").includes(r))||k4.some(r=>(n.contain||\"\").includes(r))}function L4(e){let t=ws(e);for(;ai(t)&&!Ol(t);){if(gE(t))return t;if(Ph(t))return null;t=ws(t)}return null}function bE(){return typeof CSS>\"u\"||!CSS.supports?!1:CSS.supports(\"-webkit-backdrop-filter\",\"none\")}const I4=new Set([\"html\",\"body\",\"#document\"]);function Ol(e){return I4.has(Vl(e))}function Ma(e){return Qr(e).getComputedStyle(e)}function Bh(e){return Da(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ws(e){if(Vl(e)===\"html\")return e;const t=e.assignedSlot||e.parentNode||Mv(e)&&e.host||si(e);return Mv(t)?t.host:t}function FA(e){const t=ws(e);return Ol(t)?e.ownerDocument?e.ownerDocument.body:e.body:ai(t)&&qc(t)?t:FA(t)}function Rc(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const i=FA(e),o=i===((r=e.ownerDocument)==null?void 0:r.body),l=Qr(i);if(o){const c=Pg(l);return t.concat(l,l.visualViewport||[],qc(i)?i:[],c&&n?Rc(c):[])}return t.concat(i,Rc(i,[],n))}function Pg(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function HA(e){const t=Ma(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const i=ai(e),o=i?e.offsetWidth:n,l=i?e.offsetHeight:r,c=eh(n)!==o||eh(r)!==l;return c&&(n=o,r=l),{width:n,height:r,$:c}}function EE(e){return Da(e)?e:e.contextElement}function Al(e){const t=EE(e);if(!ai(t))return ti(1);const n=t.getBoundingClientRect(),{width:r,height:i,$:o}=HA(t);let l=(o?eh(n.width):n.width)/r,c=(o?eh(n.height):n.height)/i;return(!l||!Number.isFinite(l))&&(l=1),(!c||!Number.isFinite(c))&&(c=1),{x:l,y:c}}const D4=ti(0);function jA(e){const t=Qr(e);return!bE()||!t.visualViewport?D4:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function M4(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Qr(e)?!1:t}function _o(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const i=e.getBoundingClientRect(),o=EE(e);let l=ti(1);t&&(r?Da(r)&&(l=Al(r)):l=Al(e));const c=M4(o,n,r)?jA(o):ti(0);let d=(i.left+c.x)/l.x,f=(i.top+c.y)/l.y,m=i.width/l.x,p=i.height/l.y;if(o){const E=Qr(o),_=r&&Da(r)?Qr(r):r;let x=E,S=Pg(x);for(;S&&r&&_!==x;){const N=Al(S),v=S.getBoundingClientRect(),O=Ma(S),L=v.left+(S.clientLeft+parseFloat(O.paddingLeft))*N.x,B=v.top+(S.clientTop+parseFloat(O.paddingTop))*N.y;d*=N.x,f*=N.y,m*=N.x,p*=N.y,d+=L,f+=B,x=Qr(S),S=Pg(x)}}return nh({width:m,height:p,x:d,y:f})}function yE(e,t){const n=Bh(e).scrollLeft;return t?t.left+n:_o(si(e)).left+n}function zA(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=r.left+t.scrollLeft-(n?0:yE(e,r)),o=r.top+t.scrollTop;return{x:i,y:o}}function P4(e){let{elements:t,rect:n,offsetParent:r,strategy:i}=e;const o=i===\"fixed\",l=si(r),c=t?Ph(t.floating):!1;if(r===l||c&&o)return n;let d={scrollLeft:0,scrollTop:0},f=ti(1);const m=ti(0),p=ai(r);if((p||!p&&!o)&&((Vl(r)!==\"body\"||qc(l))&&(d=Bh(r)),ai(r))){const _=_o(r);f=Al(r),m.x=_.x+r.clientLeft,m.y=_.y+r.clientTop}const E=l&&!p&&!o?zA(l,d,!0):ti(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-d.scrollLeft*f.x+m.x+E.x,y:n.y*f.y-d.scrollTop*f.y+m.y+E.y}}function B4(e){return Array.from(e.getClientRects())}function U4(e){const t=si(e),n=Bh(e),r=e.ownerDocument.body,i=Vr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),o=Vr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let l=-n.scrollLeft+yE(e);const c=-n.scrollTop;return Ma(r).direction===\"rtl\"&&(l+=Vr(t.clientWidth,r.clientWidth)-i),{width:i,height:o,x:l,y:c}}function F4(e,t){const n=Qr(e),r=si(e),i=n.visualViewport;let o=r.clientWidth,l=r.clientHeight,c=0,d=0;if(i){o=i.width,l=i.height;const f=bE();(!f||f&&t===\"fixed\")&&(c=i.offsetLeft,d=i.offsetTop)}return{width:o,height:l,x:c,y:d}}const H4=new Set([\"absolute\",\"fixed\"]);function j4(e,t){const n=_o(e,!0,t===\"fixed\"),r=n.top+e.clientTop,i=n.left+e.clientLeft,o=ai(e)?Al(e):ti(1),l=e.clientWidth*o.x,c=e.clientHeight*o.y,d=i*o.x,f=r*o.y;return{width:l,height:c,x:d,y:f}}function Pv(e,t,n){let r;if(t===\"viewport\")r=F4(e,n);else if(t===\"document\")r=U4(si(e));else if(Da(t))r=j4(t,n);else{const i=jA(e);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return nh(r)}function $A(e,t){const n=ws(e);return n===t||!Da(n)||Ol(n)?!1:Ma(n).position===\"fixed\"||$A(n,t)}function z4(e,t){const n=t.get(e);if(n)return n;let r=Rc(e,[],!1).filter(c=>Da(c)&&Vl(c)!==\"body\"),i=null;const o=Ma(e).position===\"fixed\";let l=o?ws(e):e;for(;Da(l)&&!Ol(l);){const c=Ma(l),d=gE(l);!d&&c.position===\"fixed\"&&(i=null),(o?!d&&!i:!d&&c.position===\"static\"&&!!i&&H4.has(i.position)||qc(l)&&!d&&$A(e,l))?r=r.filter(m=>m!==l):i=c,l=ws(l)}return t.set(e,r),r}function $4(e){let{element:t,boundary:n,rootBoundary:r,strategy:i}=e;const l=[...n===\"clippingAncestors\"?Ph(t)?[]:z4(t,this._c):[].concat(n),r],c=l[0],d=l.reduce((f,m)=>{const p=Pv(t,m,i);return f.top=Vr(p.top,f.top),f.right=Ns(p.right,f.right),f.bottom=Ns(p.bottom,f.bottom),f.left=Vr(p.left,f.left),f},Pv(t,c,i));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function q4(e){const{width:t,height:n}=HA(e);return{width:t,height:n}}function Y4(e,t,n){const r=ai(t),i=si(t),o=n===\"fixed\",l=_o(e,!0,o,t);let c={scrollLeft:0,scrollTop:0};const d=ti(0);function f(){d.x=yE(i)}if(r||!r&&!o)if((Vl(t)!==\"body\"||qc(i))&&(c=Bh(t)),r){const _=_o(t,!0,o,t);d.x=_.x+t.clientLeft,d.y=_.y+t.clientTop}else i&&f();o&&!r&&i&&f();const m=i&&!r&&!o?zA(i,c):ti(0),p=l.left+c.scrollLeft-d.x-m.x,E=l.top+c.scrollTop-d.y-m.y;return{x:p,y:E,width:l.width,height:l.height}}function k0(e){return Ma(e).position===\"static\"}function Bv(e,t){if(!ai(e)||Ma(e).position===\"fixed\")return null;if(t)return t(e);let n=e.offsetParent;return si(e)===n&&(n=n.ownerDocument.body),n}function qA(e,t){const n=Qr(e);if(Ph(e))return n;if(!ai(e)){let i=ws(e);for(;i&&!Ol(i);){if(Da(i)&&!k0(i))return i;i=ws(i)}return n}let r=Bv(e,t);for(;r&&w4(r)&&k0(r);)r=Bv(r,t);return r&&Ol(r)&&k0(r)&&!gE(r)?n:r||L4(e)||n}const G4=async function(e){const t=this.getOffsetParent||qA,n=this.getDimensions,r=await n(e.floating);return{reference:Y4(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function V4(e){return Ma(e).direction===\"rtl\"}const K4={convertOffsetParentRelativeRectToViewportRelativeRect:P4,getDocumentElement:si,getClippingRect:$4,getOffsetParent:qA,getElementRects:G4,getClientRects:B4,getDimensions:q4,getScale:Al,isElement:Da,isRTL:V4};function YA(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function X4(e,t){let n=null,r;const i=si(e);function o(){var c;clearTimeout(r),(c=n)==null||c.disconnect(),n=null}function l(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),o();const f=e.getBoundingClientRect(),{left:m,top:p,width:E,height:_}=f;if(c||t(),!E||!_)return;const x=xf(p),S=xf(i.clientWidth-(m+E)),N=xf(i.clientHeight-(p+_)),v=xf(m),L={rootMargin:-x+\"px \"+-S+\"px \"+-N+\"px \"+-v+\"px\",threshold:Vr(0,Ns(1,d))||1};let B=!0;function k(w){const U=w[0].intersectionRatio;if(U!==d){if(!B)return l();U?l(!1,U):r=setTimeout(()=>{l(!1,1e-7)},1e3)}U===1&&!YA(f,e.getBoundingClientRect())&&l(),B=!1}try{n=new IntersectionObserver(k,{...L,root:i.ownerDocument})}catch{n=new IntersectionObserver(k,L)}n.observe(e)}return l(!0),o}function W4(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:l=typeof ResizeObserver==\"function\",layoutShift:c=typeof IntersectionObserver==\"function\",animationFrame:d=!1}=r,f=EE(e),m=i||o?[...f?Rc(f):[],...Rc(t)]:[];m.forEach(v=>{i&&v.addEventListener(\"scroll\",n,{passive:!0}),o&&v.addEventListener(\"resize\",n)});const p=f&&c?X4(f,n):null;let E=-1,_=null;l&&(_=new ResizeObserver(v=>{let[O]=v;O&&O.target===f&&_&&(_.unobserve(t),cancelAnimationFrame(E),E=requestAnimationFrame(()=>{var L;(L=_)==null||L.observe(t)})),n()}),f&&!d&&_.observe(f),_.observe(t));let x,S=d?_o(e):null;d&&N();function N(){const v=_o(e);S&&!YA(S,v)&&n(),S=v,x=requestAnimationFrame(N)}return n(),()=>{var v;m.forEach(O=>{i&&O.removeEventListener(\"scroll\",n),o&&O.removeEventListener(\"resize\",n)}),p==null||p(),(v=_)==null||v.disconnect(),_=null,d&&cancelAnimationFrame(x)}}const Q4=T4,Z4=v4,J4=E4,eP=S4,tP=y4,Uv=b4,nP=x4,rP=(e,t,n)=>{const r=new Map,i={platform:K4,...n},o={...i.platform,_c:r};return g4(e,t,{...i,platform:o})};var aP=typeof document<\"u\",iP=function(){},zf=aP?A.useLayoutEffect:iP;function rh(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e==\"function\"&&e.toString()===t.toString())return!0;let n,r,i;if(e&&t&&typeof e==\"object\"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!rh(e[r],t[r]))return!1;return!0}if(i=Object.keys(e),n=i.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,i[r]))return!1;for(r=n;r--!==0;){const o=i[r];if(!(o===\"_owner\"&&e.$$typeof)&&!rh(e[o],t[o]))return!1}return!0}return e!==e&&t!==t}function GA(e){return typeof window>\"u\"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Fv(e,t){const n=GA(e);return Math.round(t*n)/n}function L0(e){const t=A.useRef(e);return zf(()=>{t.current=e}),t}function sP(e){e===void 0&&(e={});const{placement:t=\"bottom\",strategy:n=\"absolute\",middleware:r=[],platform:i,elements:{reference:o,floating:l}={},transform:c=!0,whileElementsMounted:d,open:f}=e,[m,p]=A.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[E,_]=A.useState(r);rh(E,r)||_(r);const[x,S]=A.useState(null),[N,v]=A.useState(null),O=A.useCallback(K=>{K!==w.current&&(w.current=K,S(K))},[]),L=A.useCallback(K=>{K!==U.current&&(U.current=K,v(K))},[]),B=o||x,k=l||N,w=A.useRef(null),U=A.useRef(null),j=A.useRef(m),F=d!=null,M=L0(d),J=L0(i),X=L0(f),V=A.useCallback(()=>{if(!w.current||!U.current)return;const K={placement:t,strategy:n,middleware:E};J.current&&(K.platform=J.current),rP(w.current,U.current,K).then(ve=>{const R={...ve,isPositioned:X.current!==!1};ne.current&&!rh(j.current,R)&&(j.current=R,Cl.flushSync(()=>{p(R)}))})},[E,t,n,J,X]);zf(()=>{f===!1&&j.current.isPositioned&&(j.current.isPositioned=!1,p(K=>({...K,isPositioned:!1})))},[f]);const ne=A.useRef(!1);zf(()=>(ne.current=!0,()=>{ne.current=!1}),[]),zf(()=>{if(B&&(w.current=B),k&&(U.current=k),B&&k){if(M.current)return M.current(B,k,V);V()}},[B,k,V,M,F]);const ae=A.useMemo(()=>({reference:w,floating:U,setReference:O,setFloating:L}),[O,L]),Q=A.useMemo(()=>({reference:B,floating:k}),[B,k]),be=A.useMemo(()=>{const K={position:n,left:0,top:0};if(!Q.floating)return K;const ve=Fv(Q.floating,m.x),R=Fv(Q.floating,m.y);return c?{...K,transform:\"translate(\"+ve+\"px, \"+R+\"px)\",...GA(Q.floating)>=1.5&&{willChange:\"transform\"}}:{position:n,left:ve,top:R}},[n,c,Q.floating,m.x,m.y]);return A.useMemo(()=>({...m,update:V,refs:ae,elements:Q,floatingStyles:be}),[m,V,ae,Q,be])}const oP=e=>{function t(n){return{}.hasOwnProperty.call(n,\"current\")}return{name:\"arrow\",options:e,fn(n){const{element:r,padding:i}=typeof e==\"function\"?e(n):e;return r&&t(r)?r.current!=null?Uv({element:r.current,padding:i}).fn(n):{}:r?Uv({element:r,padding:i}).fn(n):{}}}},lP=(e,t)=>({...Q4(e),options:[e,t]}),uP=(e,t)=>({...Z4(e),options:[e,t]}),cP=(e,t)=>({...nP(e),options:[e,t]}),dP=(e,t)=>({...J4(e),options:[e,t]}),fP=(e,t)=>({...eP(e),options:[e,t]}),hP=(e,t)=>({...tP(e),options:[e,t]}),mP=(e,t)=>({...oP(e),options:[e,t]});var pP=\"Arrow\",VA=A.forwardRef((e,t)=>{const{children:n,width:r=10,height:i=5,...o}=e;return b.jsx(Ot.svg,{...o,ref:t,width:r,height:i,viewBox:\"0 0 30 10\",preserveAspectRatio:\"none\",children:e.asChild?n:b.jsx(\"polygon\",{points:\"0,0 30,0 15,10\"})})});VA.displayName=pP;var gP=VA;function bP(e){const[t,n]=A.useState(void 0);return Pi(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const o=i[0];let l,c;if(\"borderBoxSize\"in o){const d=o.borderBoxSize,f=Array.isArray(d)?d[0]:d;l=f.inlineSize,c=f.blockSize}else l=e.offsetWidth,c=e.offsetHeight;n({width:l,height:c})});return r.observe(e,{box:\"border-box\"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var _E=\"Popper\",[KA,Uh]=Is(_E),[EP,XA]=KA(_E),WA=e=>{const{__scopePopper:t,children:n}=e,[r,i]=A.useState(null);return b.jsx(EP,{scope:t,anchor:r,onAnchorChange:i,children:n})};WA.displayName=_E;var QA=\"PopperAnchor\",ZA=A.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...i}=e,o=XA(QA,n),l=A.useRef(null),c=yn(t,l);return A.useEffect(()=>{o.onAnchorChange((r==null?void 0:r.current)||l.current)}),r?null:b.jsx(Ot.div,{...i,ref:c})});ZA.displayName=QA;var TE=\"PopperContent\",[yP,_P]=KA(TE),JA=A.forwardRef((e,t)=>{var Pe,je,Ze,Ue,Pt,mn;const{__scopePopper:n,side:r=\"bottom\",sideOffset:i=0,align:o=\"center\",alignOffset:l=0,arrowPadding:c=0,avoidCollisions:d=!0,collisionBoundary:f=[],collisionPadding:m=0,sticky:p=\"partial\",hideWhenDetached:E=!1,updatePositionStrategy:_=\"optimized\",onPlaced:x,...S}=e,N=XA(TE,n),[v,O]=A.useState(null),L=yn(t,pn=>O(pn)),[B,k]=A.useState(null),w=bP(B),U=(w==null?void 0:w.width)??0,j=(w==null?void 0:w.height)??0,F=r+(o!==\"center\"?\"-\"+o:\"\"),M=typeof m==\"number\"?m:{top:0,right:0,bottom:0,left:0,...m},J=Array.isArray(f)?f:[f],X=J.length>0,V={padding:M,boundary:J.filter(vP),altBoundary:X},{refs:ne,floatingStyles:ae,placement:Q,isPositioned:be,middlewareData:K}=sP({strategy:\"fixed\",placement:F,whileElementsMounted:(...pn)=>W4(...pn,{animationFrame:_===\"always\"}),elements:{reference:N.anchor},middleware:[lP({mainAxis:i+j,alignmentAxis:l}),d&&uP({mainAxis:!0,crossAxis:!1,limiter:p===\"partial\"?cP():void 0,...V}),d&&dP({...V}),fP({...V,apply:({elements:pn,rects:Tn,availableWidth:fr,availableHeight:mt})=>{const{width:zn,height:$n}=Tn.reference,Qn=pn.floating.style;Qn.setProperty(\"--radix-popper-available-width\",`${fr}px`),Qn.setProperty(\"--radix-popper-available-height\",`${mt}px`),Qn.setProperty(\"--radix-popper-anchor-width\",`${zn}px`),Qn.setProperty(\"--radix-popper-anchor-height\",`${$n}px`)}}),B&&mP({element:B,padding:c}),xP({arrowWidth:U,arrowHeight:j}),E&&hP({strategy:\"referenceHidden\",...V})]}),[ve,R]=nN(Q),le=wr(x);Pi(()=>{be&&(le==null||le())},[be,le]);const te=(Pe=K.arrow)==null?void 0:Pe.x,I=(je=K.arrow)==null?void 0:je.y,ce=((Ze=K.arrow)==null?void 0:Ze.centerOffset)!==0,[Te,xe]=A.useState();return Pi(()=>{v&&xe(window.getComputedStyle(v).zIndex)},[v]),b.jsx(\"div\",{ref:ne.setFloating,\"data-radix-popper-content-wrapper\":\"\",style:{...ae,transform:be?ae.transform:\"translate(0, -200%)\",minWidth:\"max-content\",zIndex:Te,\"--radix-popper-transform-origin\":[(Ue=K.transformOrigin)==null?void 0:Ue.x,(Pt=K.transformOrigin)==null?void 0:Pt.y].join(\" \"),...((mn=K.hide)==null?void 0:mn.referenceHidden)&&{visibility:\"hidden\",pointerEvents:\"none\"}},dir:e.dir,children:b.jsx(yP,{scope:n,placedSide:ve,onArrowChange:k,arrowX:te,arrowY:I,shouldHideArrow:ce,children:b.jsx(Ot.div,{\"data-side\":ve,\"data-align\":R,...S,ref:L,style:{...S.style,animation:be?void 0:\"none\"}})})})});JA.displayName=TE;var eN=\"PopperArrow\",TP={top:\"bottom\",right:\"left\",bottom:\"top\",left:\"right\"},tN=A.forwardRef(function(t,n){const{__scopePopper:r,...i}=t,o=_P(eN,r),l=TP[o.placedSide];return b.jsx(\"span\",{ref:o.onArrowChange,style:{position:\"absolute\",left:o.arrowX,top:o.arrowY,[l]:0,transformOrigin:{top:\"\",right:\"0 0\",bottom:\"center 0\",left:\"100% 0\"}[o.placedSide],transform:{top:\"translateY(100%)\",right:\"translateY(50%) rotate(90deg) translateX(-50%)\",bottom:\"rotate(180deg)\",left:\"translateY(50%) rotate(-90deg) translateX(50%)\"}[o.placedSide],visibility:o.shouldHideArrow?\"hidden\":void 0},children:b.jsx(gP,{...i,ref:n,style:{...i.style,display:\"block\"}})})});tN.displayName=eN;function vP(e){return e!==null}var xP=e=>({name:\"transformOrigin\",options:e,fn(t){var N,v,O;const{placement:n,rects:r,middlewareData:i}=t,l=((N=i.arrow)==null?void 0:N.centerOffset)!==0,c=l?0:e.arrowWidth,d=l?0:e.arrowHeight,[f,m]=nN(n),p={start:\"0%\",center:\"50%\",end:\"100%\"}[m],E=(((v=i.arrow)==null?void 0:v.x)??0)+c/2,_=(((O=i.arrow)==null?void 0:O.y)??0)+d/2;let x=\"\",S=\"\";return f===\"bottom\"?(x=l?p:`${E}px`,S=`${-d}px`):f===\"top\"?(x=l?p:`${E}px`,S=`${r.floating.height+d}px`):f===\"right\"?(x=`${-d}px`,S=l?p:`${_}px`):f===\"left\"&&(x=`${r.floating.width+d}px`,S=l?p:`${_}px`),{data:{x,y:S}}}});function nN(e){const[t,n=\"center\"]=e.split(\"-\");return[t,n]}var rN=WA,vE=ZA,aN=JA,iN=tN,SP=Object.freeze({position:\"absolute\",border:0,width:1,height:1,padding:0,margin:-1,overflow:\"hidden\",clip:\"rect(0, 0, 0, 0)\",whiteSpace:\"nowrap\",wordWrap:\"normal\"}),AP=\"VisuallyHidden\",sN=A.forwardRef((e,t)=>b.jsx(Ot.span,{...e,ref:t,style:{...SP,...e.style}}));sN.displayName=AP;var NP=sN,[Fh,sW]=Is(\"Tooltip\",[Uh]),Hh=Uh(),oN=\"TooltipProvider\",wP=700,Bg=\"tooltip.open\",[CP,xE]=Fh(oN),lN=e=>{const{__scopeTooltip:t,delayDuration:n=wP,skipDelayDuration:r=300,disableHoverableContent:i=!1,children:o}=e,l=A.useRef(!0),c=A.useRef(!1),d=A.useRef(0);return A.useEffect(()=>{const f=d.current;return()=>window.clearTimeout(f)},[]),b.jsx(CP,{scope:t,isOpenDelayedRef:l,delayDuration:n,onOpen:A.useCallback(()=>{window.clearTimeout(d.current),l.current=!1},[]),onClose:A.useCallback(()=>{window.clearTimeout(d.current),d.current=window.setTimeout(()=>l.current=!0,r)},[r]),isPointerInTransitRef:c,onPointerInTransitChange:A.useCallback(f=>{c.current=f},[]),disableHoverableContent:i,children:o})};lN.displayName=oN;var Oc=\"Tooltip\",[RP,Yc]=Fh(Oc),uN=e=>{const{__scopeTooltip:t,children:n,open:r,defaultOpen:i,onOpenChange:o,disableHoverableContent:l,delayDuration:c}=e,d=xE(Oc,e.__scopeTooltip),f=Hh(t),[m,p]=A.useState(null),E=Wr(),_=A.useRef(0),x=l??d.disableHoverableContent,S=c??d.delayDuration,N=A.useRef(!1),[v,O]=$c({prop:r,defaultProp:i??!1,onChange:U=>{U?(d.onOpen(),document.dispatchEvent(new CustomEvent(Bg))):d.onClose(),o==null||o(U)},caller:Oc}),L=A.useMemo(()=>v?N.current?\"delayed-open\":\"instant-open\":\"closed\",[v]),B=A.useCallback(()=>{window.clearTimeout(_.current),_.current=0,N.current=!1,O(!0)},[O]),k=A.useCallback(()=>{window.clearTimeout(_.current),_.current=0,O(!1)},[O]),w=A.useCallback(()=>{window.clearTimeout(_.current),_.current=window.setTimeout(()=>{N.current=!0,O(!0),_.current=0},S)},[S,O]);return A.useEffect(()=>()=>{_.current&&(window.clearTimeout(_.current),_.current=0)},[]),b.jsx(rN,{...f,children:b.jsx(RP,{scope:t,contentId:E,open:v,stateAttribute:L,trigger:m,onTriggerChange:p,onTriggerEnter:A.useCallback(()=>{d.isOpenDelayedRef.current?w():B()},[d.isOpenDelayedRef,w,B]),onTriggerLeave:A.useCallback(()=>{x?k():(window.clearTimeout(_.current),_.current=0)},[k,x]),onOpen:B,onClose:k,disableHoverableContent:x,children:n})})};uN.displayName=Oc;var Ug=\"TooltipTrigger\",cN=A.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Yc(Ug,n),o=xE(Ug,n),l=Hh(n),c=A.useRef(null),d=yn(t,c,i.onTriggerChange),f=A.useRef(!1),m=A.useRef(!1),p=A.useCallback(()=>f.current=!1,[]);return A.useEffect(()=>()=>document.removeEventListener(\"pointerup\",p),[p]),b.jsx(vE,{asChild:!0,...l,children:b.jsx(Ot.button,{\"aria-describedby\":i.open?i.contentId:void 0,\"data-state\":i.stateAttribute,...r,ref:d,onPointerMove:Lt(e.onPointerMove,E=>{E.pointerType!==\"touch\"&&!m.current&&!o.isPointerInTransitRef.current&&(i.onTriggerEnter(),m.current=!0)}),onPointerLeave:Lt(e.onPointerLeave,()=>{i.onTriggerLeave(),m.current=!1}),onPointerDown:Lt(e.onPointerDown,()=>{i.open&&i.onClose(),f.current=!0,document.addEventListener(\"pointerup\",p,{once:!0})}),onFocus:Lt(e.onFocus,()=>{f.current||i.onOpen()}),onBlur:Lt(e.onBlur,i.onClose),onClick:Lt(e.onClick,i.onClose)})})});cN.displayName=Ug;var SE=\"TooltipPortal\",[OP,kP]=Fh(SE,{forceMount:void 0}),dN=e=>{const{__scopeTooltip:t,forceMount:n,children:r,container:i}=e,o=Yc(SE,t);return b.jsx(OP,{scope:t,forceMount:n,children:b.jsx(ea,{present:n||o.open,children:b.jsx(Lh,{asChild:!0,container:i,children:r})})})};dN.displayName=SE;var kl=\"TooltipContent\",fN=A.forwardRef((e,t)=>{const n=kP(kl,e.__scopeTooltip),{forceMount:r=n.forceMount,side:i=\"top\",...o}=e,l=Yc(kl,e.__scopeTooltip);return b.jsx(ea,{present:r||l.open,children:l.disableHoverableContent?b.jsx(hN,{side:i,...o,ref:t}):b.jsx(LP,{side:i,...o,ref:t})})}),LP=A.forwardRef((e,t)=>{const n=Yc(kl,e.__scopeTooltip),r=xE(kl,e.__scopeTooltip),i=A.useRef(null),o=yn(t,i),[l,c]=A.useState(null),{trigger:d,onClose:f}=n,m=i.current,{onPointerInTransitChange:p}=r,E=A.useCallback(()=>{c(null),p(!1)},[p]),_=A.useCallback((x,S)=>{const N=x.currentTarget,v={x:x.clientX,y:x.clientY},O=PP(v,N.getBoundingClientRect()),L=BP(v,O),B=UP(S.getBoundingClientRect()),k=HP([...L,...B]);c(k),p(!0)},[p]);return A.useEffect(()=>()=>E(),[E]),A.useEffect(()=>{if(d&&m){const x=N=>_(N,m),S=N=>_(N,d);return d.addEventListener(\"pointerleave\",x),m.addEventListener(\"pointerleave\",S),()=>{d.removeEventListener(\"pointerleave\",x),m.removeEventListener(\"pointerleave\",S)}}},[d,m,_,E]),A.useEffect(()=>{if(l){const x=S=>{const N=S.target,v={x:S.clientX,y:S.clientY},O=(d==null?void 0:d.contains(N))||(m==null?void 0:m.contains(N)),L=!FP(v,l);O?E():L&&(E(),f())};return document.addEventListener(\"pointermove\",x),()=>document.removeEventListener(\"pointermove\",x)}},[d,m,l,f,E]),b.jsx(hN,{...e,ref:o})}),[IP,DP]=Fh(Oc,{isInside:!1}),MP=WI(\"TooltipContent\"),hN=A.forwardRef((e,t)=>{const{__scopeTooltip:n,children:r,\"aria-label\":i,onEscapeKeyDown:o,onPointerDownOutside:l,...c}=e,d=Yc(kl,n),f=Hh(n),{onClose:m}=d;return A.useEffect(()=>(document.addEventListener(Bg,m),()=>document.removeEventListener(Bg,m)),[m]),A.useEffect(()=>{if(d.trigger){const p=E=>{const _=E.target;_!=null&&_.contains(d.trigger)&&m()};return window.addEventListener(\"scroll\",p,{capture:!0}),()=>window.removeEventListener(\"scroll\",p,{capture:!0})}},[d.trigger,m]),b.jsx(kh,{asChild:!0,disableOutsidePointerEvents:!1,onEscapeKeyDown:o,onPointerDownOutside:l,onFocusOutside:p=>p.preventDefault(),onDismiss:m,children:b.jsxs(aN,{\"data-state\":d.stateAttribute,...f,...c,ref:t,style:{...c.style,\"--radix-tooltip-content-transform-origin\":\"var(--radix-popper-transform-origin)\",\"--radix-tooltip-content-available-width\":\"var(--radix-popper-available-width)\",\"--radix-tooltip-content-available-height\":\"var(--radix-popper-available-height)\",\"--radix-tooltip-trigger-width\":\"var(--radix-popper-anchor-width)\",\"--radix-tooltip-trigger-height\":\"var(--radix-popper-anchor-height)\"},children:[b.jsx(MP,{children:r}),b.jsx(IP,{scope:n,isInside:!0,children:b.jsx(NP,{id:d.contentId,role:\"tooltip\",children:i||r})})]})})});fN.displayName=kl;var mN=\"TooltipArrow\",pN=A.forwardRef((e,t)=>{const{__scopeTooltip:n,...r}=e,i=Hh(n);return DP(mN,n).isInside?null:b.jsx(iN,{...i,...r,ref:t})});pN.displayName=mN;function PP(e,t){const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),i=Math.abs(t.right-e.x),o=Math.abs(t.left-e.x);switch(Math.min(n,r,i,o)){case o:return\"left\";case i:return\"right\";case n:return\"top\";case r:return\"bottom\";default:throw new Error(\"unreachable\")}}function BP(e,t,n=5){const r=[];switch(t){case\"top\":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case\"bottom\":r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case\"left\":r.push({x:e.x+n,y:e.y-n},{x:e.x+n,y:e.y+n});break;case\"right\":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,y:e.y+n});break}return r}function UP(e){const{top:t,right:n,bottom:r,left:i}=e;return[{x:i,y:t},{x:n,y:t},{x:n,y:r},{x:i,y:r}]}function FP(e,t){const{x:n,y:r}=e;let i=!1;for(let o=0,l=t.length-1;o<t.length;l=o++){const c=t[o],d=t[l],f=c.x,m=c.y,p=d.x,E=d.y;m>r!=E>r&&n<(p-f)*(r-m)/(E-m)+f&&(i=!i)}return i}function HP(e){const t=e.slice();return t.sort((n,r)=>n.x<r.x?-1:n.x>r.x?1:n.y<r.y?-1:n.y>r.y?1:0),jP(t)}function jP(e){if(e.length<=1)return e.slice();const t=[];for(let r=0;r<e.length;r++){const i=e[r];for(;t.length>=2;){const o=t[t.length-1],l=t[t.length-2];if((o.x-l.x)*(i.y-l.y)>=(o.y-l.y)*(i.x-l.x))t.pop();else break}t.push(i)}t.pop();const n=[];for(let r=e.length-1;r>=0;r--){const i=e[r];for(;n.length>=2;){const o=n[n.length-1],l=n[n.length-2];if((o.x-l.x)*(i.y-l.y)>=(o.y-l.y)*(i.x-l.x))n.pop();else break}n.push(i)}return n.pop(),t.length===1&&n.length===1&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}var zP=lN,$P=uN,qP=cN,YP=dN,GP=fN,VP=pN;function Ds({delayDuration:e=0,...t}){return b.jsx(zP,{\"data-slot\":\"tooltip-provider\",delayDuration:e,...t})}function ba({...e}){return b.jsx(Ds,{children:b.jsx($P,{\"data-slot\":\"tooltip\",...e})})}function Ea({...e}){return b.jsx(qP,{\"data-slot\":\"tooltip-trigger\",...e})}function ya({className:e,sideOffset:t=0,children:n,...r}){return b.jsx(YP,{children:b.jsxs(GP,{\"data-slot\":\"tooltip-content\",sideOffset:t,className:et(\"bg-primary text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance\",e),...r,children:[n,b.jsx(VP,{className:\"bg-primary fill-primary z-50 size-2.5 translate-y-[calc(-50%_-_2px)] rotate-45 rounded-[2px]\"})]})})}const KP=\"sidebar_state\",XP=60*60*24*7,WP=\"16rem\",QP=\"18rem\",ZP=\"3rem\",JP=\"b\",gN=A.createContext(null);function jh(){const e=A.useContext(gN);if(!e)throw new Error(\"useSidebar must be used within a SidebarProvider.\");return e}function e5({defaultOpen:e=!0,open:t,onOpenChange:n,className:r,style:i,children:o,...l}){const c=qD(),[d,f]=A.useState(!1),[m,p]=A.useState(e),E=t??m,_=A.useCallback(v=>{const O=typeof v==\"function\"?v(E):v;n?n(O):p(O),document.cookie=`${KP}=${O}; path=/; max-age=${XP}`},[n,E]),x=A.useCallback(()=>c?f(v=>!v):_(v=>!v),[c,_,f]);A.useEffect(()=>{const v=O=>{O.key===JP&&(O.metaKey||O.ctrlKey)&&(O.preventDefault(),x())};return window.addEventListener(\"keydown\",v),()=>window.removeEventListener(\"keydown\",v)},[x]);const S=E?\"expanded\":\"collapsed\",N=A.useMemo(()=>({state:S,open:E,setOpen:_,isMobile:c,openMobile:d,setOpenMobile:f,toggleSidebar:x}),[S,E,_,c,d,f,x]);return b.jsx(gN.Provider,{value:N,children:b.jsx(Ds,{delayDuration:0,children:b.jsx(\"div\",{\"data-slot\":\"sidebar-wrapper\",style:{\"--sidebar-width\":WP,\"--sidebar-width-icon\":ZP,...i},className:et(\"group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full\",r),...l,children:o})})})}function t5({side:e=\"left\",variant:t=\"sidebar\",collapsible:n=\"offcanvas\",className:r,children:i,...o}){const{isMobile:l,state:c,openMobile:d,setOpenMobile:f}=jh();return n===\"none\"?b.jsx(\"div\",{\"data-slot\":\"sidebar\",className:et(\"bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col\",r),...o,children:i}):l?b.jsx(Z6,{open:d,onOpenChange:f,...o,children:b.jsxs(t4,{\"data-sidebar\":\"sidebar\",\"data-slot\":\"sidebar\",\"data-mobile\":\"true\",className:\"bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden\",style:{\"--sidebar-width\":QP},side:e,children:[b.jsxs(n4,{className:\"sr-only\",children:[b.jsx(r4,{children:\"Sidebar\"}),b.jsx(a4,{children:\"Displays the mobile sidebar.\"})]}),b.jsx(\"div\",{className:\"flex h-full w-full flex-col\",children:i})]})}):b.jsxs(\"div\",{className:\"group peer text-sidebar-foreground hidden md:block\",\"data-state\":c,\"data-collapsible\":c===\"collapsed\"?n:\"\",\"data-variant\":t,\"data-side\":e,\"data-slot\":\"sidebar\",children:[b.jsx(\"div\",{\"data-slot\":\"sidebar-gap\",className:et(\"relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear\",\"group-data-[collapsible=offcanvas]:w-0\",\"group-data-[side=right]:rotate-180\",t===\"floating\"||t===\"inset\"?\"group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]\":\"group-data-[collapsible=icon]:w-(--sidebar-width-icon)\")}),b.jsx(\"div\",{\"data-slot\":\"sidebar-container\",className:et(\"fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex\",e===\"left\"?\"left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]\":\"right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]\",t===\"floating\"||t===\"inset\"?\"p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]\":\"group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l\",r),...o,children:b.jsx(\"div\",{\"data-sidebar\":\"sidebar\",\"data-slot\":\"sidebar-inner\",className:\"bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm\",children:i})})]})}function Fg({className:e,onClick:t,...n}){const{toggleSidebar:r}=jh();return b.jsxs(ri,{\"data-sidebar\":\"trigger\",\"data-slot\":\"sidebar-trigger\",variant:\"ghost\",size:\"icon\",className:et(\"size-7\",e),onClick:i=>{t==null||t(i),r()},...n,children:[b.jsx(ID,{}),b.jsx(\"span\",{className:\"sr-only\",children:\"Toggle Sidebar\"})]})}function n5({className:e,...t}){return b.jsx(\"div\",{\"data-slot\":\"sidebar-header\",\"data-sidebar\":\"header\",className:et(\"flex flex-col gap-2 p-2\",e),...t})}function r5({className:e,...t}){return b.jsx(\"div\",{\"data-slot\":\"sidebar-footer\",\"data-sidebar\":\"footer\",className:et(\"flex flex-col gap-2 p-2\",e),...t})}function Hv({className:e,...t}){return b.jsx(Oh,{\"data-slot\":\"sidebar-separator\",\"data-sidebar\":\"separator\",className:et(\"bg-sidebar-border mx-2 w-auto\",e),...t})}function a5({className:e,...t}){return b.jsx(\"div\",{\"data-slot\":\"sidebar-content\",\"data-sidebar\":\"content\",className:et(\"flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden\",e),...t})}const i5=\"data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!--%20Created%20with%20Inkscape%20(http://www.inkscape.org/)%20--%3e%3csvg%20width='126.19592mm'%20height='43.06123mm'%20viewBox='0%200%20126.19592%2043.06123'%20version='1.1'%20id='svg1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:svg='http://www.w3.org/2000/svg'%3e%3cdefs%20id='defs1'%20/%3e%3cg%20id='layer1'%20style='display:inline'%20transform='translate(-41.904154,-168.00498)'%3e%3cpath%20id='path9-0'%20style='fill:%2300D8C0;fill-opacity:1;stroke:%23ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:0.2'%20d='m%20114.89996,168.10498%20c%20-1.06916,0%20-1.9358,0.86714%20-1.9358,1.96733%20v%203.84059%20h%20-2.61224%20c%20-1.09993,0%20-1.9668,0.86664%20-1.9668,1.9358%200,1.06918%200.86687,1.9358%201.9668,1.9358%20h%202.61224%20v%2013.58211%20c%200,1.09993%200.86664,1.96681%201.9358,1.96681%201.06916,0%201.9358,-0.86688%201.9358,-1.96681%20V%20177.7845%20h%202.55023%20c%201.1002,0%201.96681,-0.86662%201.96681,-1.9358%200,-1.06916%20-0.86661,-1.9358%20-1.96681,-1.9358%20h%20-2.55023%20v%20-3.84059%20c%200,-1.10019%20-0.86664,-1.96733%20-1.9358,-1.96733%20z'%20/%3e%3cpath%20id='path6-7'%20style='fill:%2300D8C0;fill-opacity:1;stroke:%23ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:0.2'%20d='m%20105.8658,183.59235%20c%200,-3.2075%20-2.6002,-5.8077%20-5.8077,-5.8077%20-3.20751,0%20-5.8077,2.6002%20-5.8077,5.82483%201.2e-4,4.19734%200,4.49999%200,7.73546%200,1.07815%20-0.866741,1.94487%20-1.935903,1.94487%20-1.069175,0%20-1.935901,-0.86672%20-1.935901,-1.94487%200,-3.23547%209.4e-5,-3.11312%200,-7.74183%200,-5.35659%204.333654,-9.69026%209.679504,-9.69026%205.34584,0%209.6795,4.33367%209.6795,9.69275%20v%207.68735%20c%200,1.11218%20-0.86674,1.97892%20-1.9359,1.97892%20-1.06916,0%20-1.9359,-0.86674%20-1.9359,-1.97892%20z'%20/%3e%3cpath%20id='path9-9-5'%20style='fill:%2300D8C0;fill-opacity:1;stroke:%23ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:0.2'%20d='m%20124.57948,173.88189%20c%20-1.06917,0%20-1.9358,0.86662%20-1.9358,1.96681%20v%207.74371%207.7742%20c%200,1.09993%200.86663,1.96681%201.9358,1.96681%201.06915,0%201.9358,-0.86688%201.9358,-1.96681%20v%20-7.75921%20c%200,-3.23303%202.62074,-5.85381%205.83065,-5.83841%201.0461,0.0155%201.91306,-0.85113%201.91306,-1.92029%200,-1.06916%20-0.86696,-1.936%20-1.91306,-1.9513%20-2.18669,-0.006%20-4.20651,0.71897%20-5.83117,1.94458%20-0.004,-1.09694%20-0.86834,-1.96009%20-1.93528,-1.96009%20z'%20/%3e%3cpath%20id='path9-9-8-0'%20style='fill:%2300D8C0;fill-opacity:1;stroke:%23ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:0.2'%20d='m%20137.48551,193.318%20c%20-1.06916,0%20-1.9359,-0.86674%20-1.9359,-1.96666%20v%20-10.95446%20c%200,-1.10019%200.86674,-1.96693%201.9359,-1.96693%201.06916,0%201.9359,0.86674%201.9359,1.96693%20v%2010.95446%20c%200,1.09992%20-0.86674,1.96666%20-1.9359,1.96666%20z'%20/%3e%3ccircle%20style='fill:%2300D8C0;fill-opacity:1;stroke:%23ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:0.2'%20id='path11-3'%20cx='137.48552'%20cy='175.84875'%20r='1.9358984'%20/%3e%3cpath%20id='path12-0'%20style='fill:%2300D8C0;fill-opacity:1;stroke:%23ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:0.2'%20d='m%20159.42593,173.88189%20c%20-1.06916,0%20-1.93632,0.86662%20-1.93632,1.96681%20v%200.001%20a%209.6795038,9.6795038%200%200%200%20-5.8074,-1.93683%209.6795038,9.6795038%200%200%200%20-9.67951,9.67951%209.6795038,9.6795038%200%200%200%209.67951,9.67951%209.6795038,9.6795038%200%200%200%205.8074,-1.9668%20v%203.82199%20c%200,3.28811%20-2.60016,5.88852%20-5.83168,5.88078%20l%20-93.953959,-0.008%20c%20-1.099919,0%20-1.966805,0.86664%20-1.966805,1.9358%200,1.06916%200.866886,1.93631%201.966805,1.93631%20l%2093.934319,0.005%20c%205.38943,0.0105%209.72344,-4.32282%209.72344,-9.74927%20v%20-11.5347%20-7.74371%20c%200,-1.10019%20-0.86662,-1.96681%20-1.9358,-1.96681%20z%20m%20-7.74372,3.90312%20a%205.8077041,5.8077041%200%200%201%205.8074,5.80172%20v%200.0114%20a%205.8077041,5.8077041%200%200%201%20-5.8074,5.80223%205.8077041,5.8077041%200%200%201%20-5.80791,-5.80792%205.8077041,5.8077041%200%200%201%205.80791,-5.8074%20z'%20/%3e%3cpath%20id='path15'%20style='fill:%2300D8C0;fill-opacity:1;stroke:%23ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:0.2'%20d='m%2085.216195,193.318%20c%20-1.069162,0%20-1.9359,-0.86674%20-1.9359,-1.96666%20v%20-20.98655%20c%200,-1.10019%200.866738,-1.96693%201.9359,-1.96693%201.069162,0%201.935901,0.86674%201.935901,1.96693%20v%2020.98655%20c%200,1.09992%20-0.866739,1.96666%20-1.935901,1.96666%20z'%20/%3e%3cpath%20id='path2-2-3'%20style='fill:%23888888;fill-opacity:1;stroke:%23ffffff;stroke-width:0.2;stroke-dasharray:none;stroke-opacity:0.2'%20d='m%2081.734029,179.04592%20-23.717415,0.004%20c%20-8.78429,0.0146%20-16.011886,7.2611%20-16.01246,16.03158%20v%205.1e-4%205.2e-4%20c%205.65e-4,8.77049%207.109474,15.87969%2015.953032,15.8812%20h%209.220626%20c%201.249561,0%202.206067,-0.97006%202.206067,-2.16731%200,-1.19725%20-0.956114,-2.16783%20-2.231906,-2.16783%20l%20-8.990665,-0.0114%20c%20-6.451791,-0.0129%20-11.597742,-5.20849%20-11.597742,-11.61738%200,-6.40889%205.145707,-11.60343%2011.493355,-11.60343%206.347649,0%2011.493356,5.19457%2011.493356,11.60343%200,8.81624%207.059408,15.96376%2015.695682,15.9644%20l%2066.275541,0.002%20c%209.23414,-3e-5%2016.47858,-7.14834%2016.47858,-15.96595%200,-4.51466%20-1.90726,-8.58331%20-5.00021,-11.48715%20v%209.75754%20c%200.086,0.56895%200.14469,1.14707%200.14469,1.73995%200,6.40551%20-5.19367,11.59754%20-11.62978,11.60756%20l%20-66.117409,0.009%20c%20-6.422849,0%20-11.565661,-5.20583%20-11.566219,-11.62771%20v%20-5.2e-4%20-5.2e-4%20c%204.13e-4,-5.32739%203.16079,-9.8136%207.902877,-11.17968%20z'%20/%3e%3c/g%3e%3c/svg%3e\";function s5(){return b.jsxs(\"div\",{className:\"flex items-center gap-2 p-3\",children:[b.jsx(\"img\",{src:i5,alt:\"Intrig Logo\",className:\"h-8\"}),b.jsx(\"div\",{className:\"text-lg\",children:\"|\"}),b.jsx(\"div\",{className:\"text-2xl\",children:\"Insight\"})]})}function o5(){const[e,t]=A.useState(\"light\");A.useEffect(()=>{const r=localStorage.getItem(\"theme\");if(r)t(r),document.documentElement.classList.toggle(\"dark\",r===\"dark\");else{const i=window.matchMedia(\"(prefers-color-scheme: dark)\").matches?\"dark\":\"light\";t(i),document.documentElement.classList.toggle(\"dark\",i===\"dark\")}},[]);const n=()=>{const r=e===\"dark\"?\"light\":\"dark\";t(r),document.documentElement.classList.toggle(\"dark\",r===\"dark\"),localStorage.setItem(\"theme\",r)};return b.jsx(Ds,{children:b.jsxs(ba,{children:[b.jsx(Ea,{asChild:!0,children:b.jsxs(ri,{variant:\"ghost\",size:\"icon\",onClick:n,className:\"h-8 w-8\",children:[e===\"dark\"?b.jsx(kD,{className:\"h-4 w-4\"}):b.jsx(jD,{className:\"h-4 w-4\"}),b.jsx(\"span\",{className:\"sr-only\",children:\"Toggle theme\"})]})}),b.jsx(ya,{side:\"right\",children:b.jsx(\"p\",{children:\"Toggle theme\"})})]})})}const l5=\"data:image/svg+xml,%3csvg%20width='98'%20height='96'%20viewBox='0%200%2098%2096'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M48.854%200C21.839%200%200%2022%200%2049.217c0%2021.756%2013.993%2040.172%2033.405%2046.69%202.427.49%203.316-1.059%203.316-2.362%200-1.141-.08-5.052-.08-9.127-13.59%202.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015%204.934.326%207.523%205.052%207.523%205.052%204.367%207.496%2011.404%205.378%2014.235%204.074.404-3.178%201.699-5.378%203.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283%200-5.378%201.94-9.778%205.014-13.2-.485-1.222-2.184-6.275.486-13.038%200%200%204.125-1.304%2013.426%205.052a46.97%2046.97%200%200%201%2012.214-1.63c4.125%200%208.33.571%2012.213%201.63%209.302-6.356%2013.427-5.052%2013.427-5.052%202.67%206.763.97%2011.816.485%2013.038%203.155%203.422%205.015%207.822%205.015%2013.2%200%2018.905-11.404%2023.06-22.324%2024.283%201.78%201.548%203.316%204.481%203.316%209.126%200%206.6-.08%2011.897-.08%2013.526%200%201.304.89%202.853%203.316%202.364%2019.412-6.52%2033.405-24.935%2033.405-46.691C97.707%2022%2075.788%200%2048.854%200z'%20fill='%2324292f'/%3e%3c/svg%3e\",u5=\"data:image/svg+xml,%3csvg%20width='98'%20height='96'%20viewBox='0%200%2098%2096'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M48.854%200C21.839%200%200%2022%200%2049.217c0%2021.756%2013.993%2040.172%2033.405%2046.69%202.427.49%203.316-1.059%203.316-2.362%200-1.141-.08-5.052-.08-9.127-13.59%202.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015%204.934.326%207.523%205.052%207.523%205.052%204.367%207.496%2011.404%205.378%2014.235%204.074.404-3.178%201.699-5.378%203.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283%200-5.378%201.94-9.778%205.014-13.2-.485-1.222-2.184-6.275.486-13.038%200%200%204.125-1.304%2013.426%205.052a46.97%2046.97%200%200%201%2012.214-1.63c4.125%200%208.33.571%2012.213%201.63%209.302-6.356%2013.427-5.052%2013.427-5.052%202.67%206.763.97%2011.816.485%2013.038%203.155%203.422%205.015%207.822%205.015%2013.2%200%2018.905-11.404%2023.06-22.324%2024.283%201.78%201.548%203.316%204.481%203.316%209.126%200%206.6-.08%2011.897-.08%2013.526%200%201.304.89%202.853%203.316%202.364%2019.412-6.52%2033.405-24.935%2033.405-46.691C97.707%2022%2075.788%200%2048.854%200z'%20fill='%23fff'/%3e%3c/svg%3e\";function c5(){const[e,t]=A.useState(!1);return A.useEffect(()=>{t(document.documentElement.classList.contains(\"dark\"));const n=new MutationObserver(r=>{r.forEach(i=>{i.attributeName===\"class\"&&t(document.documentElement.classList.contains(\"dark\"))})});return n.observe(document.documentElement,{attributes:!0}),()=>n.disconnect()},[]),b.jsx(Ds,{children:b.jsxs(ba,{children:[b.jsx(Ea,{asChild:!0,children:b.jsx(ri,{variant:\"ghost\",size:\"icon\",asChild:!0,className:\"h-8 w-8\",children:b.jsxs(\"a\",{href:\"https://github.com/intrigsoft/intrig-core\",target:\"_blank\",rel:\"noopener noreferrer\",children:[b.jsx(\"img\",{src:e?u5:l5,alt:\"GitHub\",className:\"h-5 w-5\"}),b.jsx(\"span\",{className:\"sr-only\",children:\"GitHub\"})]})})}),b.jsx(ya,{side:\"right\",children:b.jsx(\"p\",{children:\"GitHub\"})})]})})}var jv=1,d5=.9,f5=.8,h5=.17,I0=.1,D0=.999,m5=.9999,p5=.99,g5=/[\\\\\\/_+.#\"@\\[\\(\\{&]/,b5=/[\\\\\\/_+.#\"@\\[\\(\\{&]/g,E5=/[\\s-]/,bN=/[\\s-]/g;function Hg(e,t,n,r,i,o,l){if(o===t.length)return i===e.length?jv:p5;var c=`${i},${o}`;if(l[c]!==void 0)return l[c];for(var d=r.charAt(o),f=n.indexOf(d,i),m=0,p,E,_,x;f>=0;)p=Hg(e,t,n,r,f+1,o+1,l),p>m&&(f===i?p*=jv:g5.test(e.charAt(f-1))?(p*=f5,_=e.slice(i,f-1).match(b5),_&&i>0&&(p*=Math.pow(D0,_.length))):E5.test(e.charAt(f-1))?(p*=d5,x=e.slice(i,f-1).match(bN),x&&i>0&&(p*=Math.pow(D0,x.length))):(p*=h5,i>0&&(p*=Math.pow(D0,f-i))),e.charAt(f)!==t.charAt(o)&&(p*=m5)),(p<I0&&n.charAt(f-1)===r.charAt(o+1)||r.charAt(o+1)===r.charAt(o)&&n.charAt(f-1)!==r.charAt(o))&&(E=Hg(e,t,n,r,f+1,o+2,l),E*I0>p&&(p=E*I0)),p>m&&(m=p),f=n.indexOf(d,f+1);return l[c]=m,m}function zv(e){return e.toLowerCase().replace(bN,\" \")}function y5(e,t,n){return e=n&&n.length>0?`${e+\" \"+n.join(\" \")}`:e,Hg(e,t,zv(e),zv(t),0,0,{})}var rc='[cmdk-group=\"\"]',M0='[cmdk-group-items=\"\"]',_5='[cmdk-group-heading=\"\"]',EN='[cmdk-item=\"\"]',$v=`${EN}:not([aria-disabled=\"true\"])`,jg=\"cmdk-item-select\",gl=\"data-value\",T5=(e,t,n)=>y5(e,t,n),yN=A.createContext(void 0),Gc=()=>A.useContext(yN),_N=A.createContext(void 0),AE=()=>A.useContext(_N),TN=A.createContext(void 0),vN=A.forwardRef((e,t)=>{let n=bl(()=>{var te,I;return{search:\"\",value:(I=(te=e.value)!=null?te:e.defaultValue)!=null?I:\"\",selectedItemId:void 0,filtered:{count:0,items:new Map,groups:new Set}}}),r=bl(()=>new Set),i=bl(()=>new Map),o=bl(()=>new Map),l=bl(()=>new Set),c=xN(e),{label:d,children:f,value:m,onValueChange:p,filter:E,shouldFilter:_,loop:x,disablePointerSelection:S=!1,vimBindings:N=!0,...v}=e,O=Wr(),L=Wr(),B=Wr(),k=A.useRef(null),w=L5();To(()=>{if(m!==void 0){let te=m.trim();n.current.value=te,U.emit()}},[m]),To(()=>{w(6,V)},[]);let U=A.useMemo(()=>({subscribe:te=>(l.current.add(te),()=>l.current.delete(te)),snapshot:()=>n.current,setState:(te,I,ce)=>{var Te,xe,Pe,je;if(!Object.is(n.current[te],I)){if(n.current[te]=I,te===\"search\")X(),M(),w(1,J);else if(te===\"value\"){if(document.activeElement.hasAttribute(\"cmdk-input\")||document.activeElement.hasAttribute(\"cmdk-root\")){let Ze=document.getElementById(B);Ze?Ze.focus():(Te=document.getElementById(O))==null||Te.focus()}if(w(7,()=>{var Ze;n.current.selectedItemId=(Ze=ne())==null?void 0:Ze.id,U.emit()}),ce||w(5,V),((xe=c.current)==null?void 0:xe.value)!==void 0){let Ze=I??\"\";(je=(Pe=c.current).onValueChange)==null||je.call(Pe,Ze);return}}U.emit()}},emit:()=>{l.current.forEach(te=>te())}}),[]),j=A.useMemo(()=>({value:(te,I,ce)=>{var Te;I!==((Te=o.current.get(te))==null?void 0:Te.value)&&(o.current.set(te,{value:I,keywords:ce}),n.current.filtered.items.set(te,F(I,ce)),w(2,()=>{M(),U.emit()}))},item:(te,I)=>(r.current.add(te),I&&(i.current.has(I)?i.current.get(I).add(te):i.current.set(I,new Set([te]))),w(3,()=>{X(),M(),n.current.value||J(),U.emit()}),()=>{o.current.delete(te),r.current.delete(te),n.current.filtered.items.delete(te);let ce=ne();w(4,()=>{X(),(ce==null?void 0:ce.getAttribute(\"id\"))===te&&J(),U.emit()})}),group:te=>(i.current.has(te)||i.current.set(te,new Set),()=>{o.current.delete(te),i.current.delete(te)}),filter:()=>c.current.shouldFilter,label:d||e[\"aria-label\"],getDisablePointerSelection:()=>c.current.disablePointerSelection,listId:O,inputId:B,labelId:L,listInnerRef:k}),[]);function F(te,I){var ce,Te;let xe=(Te=(ce=c.current)==null?void 0:ce.filter)!=null?Te:T5;return te?xe(te,n.current.search,I):0}function M(){if(!n.current.search||c.current.shouldFilter===!1)return;let te=n.current.filtered.items,I=[];n.current.filtered.groups.forEach(Te=>{let xe=i.current.get(Te),Pe=0;xe.forEach(je=>{let Ze=te.get(je);Pe=Math.max(Ze,Pe)}),I.push([Te,Pe])});let ce=k.current;ae().sort((Te,xe)=>{var Pe,je;let Ze=Te.getAttribute(\"id\"),Ue=xe.getAttribute(\"id\");return((Pe=te.get(Ue))!=null?Pe:0)-((je=te.get(Ze))!=null?je:0)}).forEach(Te=>{let xe=Te.closest(M0);xe?xe.appendChild(Te.parentElement===xe?Te:Te.closest(`${M0} > *`)):ce.appendChild(Te.parentElement===ce?Te:Te.closest(`${M0} > *`))}),I.sort((Te,xe)=>xe[1]-Te[1]).forEach(Te=>{var xe;let Pe=(xe=k.current)==null?void 0:xe.querySelector(`${rc}[${gl}=\"${encodeURIComponent(Te[0])}\"]`);Pe==null||Pe.parentElement.appendChild(Pe)})}function J(){let te=ae().find(ce=>ce.getAttribute(\"aria-disabled\")!==\"true\"),I=te==null?void 0:te.getAttribute(gl);U.setState(\"value\",I||void 0)}function X(){var te,I,ce,Te;if(!n.current.search||c.current.shouldFilter===!1){n.current.filtered.count=r.current.size;return}n.current.filtered.groups=new Set;let xe=0;for(let Pe of r.current){let je=(I=(te=o.current.get(Pe))==null?void 0:te.value)!=null?I:\"\",Ze=(Te=(ce=o.current.get(Pe))==null?void 0:ce.keywords)!=null?Te:[],Ue=F(je,Ze);n.current.filtered.items.set(Pe,Ue),Ue>0&&xe++}for(let[Pe,je]of i.current)for(let Ze of je)if(n.current.filtered.items.get(Ze)>0){n.current.filtered.groups.add(Pe);break}n.current.filtered.count=xe}function V(){var te,I,ce;let Te=ne();Te&&(((te=Te.parentElement)==null?void 0:te.firstChild)===Te&&((ce=(I=Te.closest(rc))==null?void 0:I.querySelector(_5))==null||ce.scrollIntoView({block:\"nearest\"})),Te.scrollIntoView({block:\"nearest\"}))}function ne(){var te;return(te=k.current)==null?void 0:te.querySelector(`${EN}[aria-selected=\"true\"]`)}function ae(){var te;return Array.from(((te=k.current)==null?void 0:te.querySelectorAll($v))||[])}function Q(te){let I=ae()[te];I&&U.setState(\"value\",I.getAttribute(gl))}function be(te){var I;let ce=ne(),Te=ae(),xe=Te.findIndex(je=>je===ce),Pe=Te[xe+te];(I=c.current)!=null&&I.loop&&(Pe=xe+te<0?Te[Te.length-1]:xe+te===Te.length?Te[0]:Te[xe+te]),Pe&&U.setState(\"value\",Pe.getAttribute(gl))}function K(te){let I=ne(),ce=I==null?void 0:I.closest(rc),Te;for(;ce&&!Te;)ce=te>0?O5(ce,rc):k5(ce,rc),Te=ce==null?void 0:ce.querySelector($v);Te?U.setState(\"value\",Te.getAttribute(gl)):be(te)}let ve=()=>Q(ae().length-1),R=te=>{te.preventDefault(),te.metaKey?ve():te.altKey?K(1):be(1)},le=te=>{te.preventDefault(),te.metaKey?Q(0):te.altKey?K(-1):be(-1)};return A.createElement(Ot.div,{ref:t,tabIndex:-1,...v,\"cmdk-root\":\"\",onKeyDown:te=>{var I;(I=v.onKeyDown)==null||I.call(v,te);let ce=te.nativeEvent.isComposing||te.keyCode===229;if(!(te.defaultPrevented||ce))switch(te.key){case\"n\":case\"j\":{N&&te.ctrlKey&&R(te);break}case\"ArrowDown\":{R(te);break}case\"p\":case\"k\":{N&&te.ctrlKey&&le(te);break}case\"ArrowUp\":{le(te);break}case\"Home\":{te.preventDefault(),Q(0);break}case\"End\":{te.preventDefault(),ve();break}case\"Enter\":{te.preventDefault();let Te=ne();if(Te){let xe=new Event(jg);Te.dispatchEvent(xe)}}}}},A.createElement(\"label\",{\"cmdk-label\":\"\",htmlFor:j.inputId,id:j.labelId,style:D5},d),zh(e,te=>A.createElement(_N.Provider,{value:U},A.createElement(yN.Provider,{value:j},te))))}),v5=A.forwardRef((e,t)=>{var n,r;let i=Wr(),o=A.useRef(null),l=A.useContext(TN),c=Gc(),d=xN(e),f=(r=(n=d.current)==null?void 0:n.forceMount)!=null?r:l==null?void 0:l.forceMount;To(()=>{if(!f)return c.item(i,l==null?void 0:l.id)},[f]);let m=SN(i,o,[e.value,e.children,o],e.keywords),p=AE(),E=Cs(w=>w.value&&w.value===m.current),_=Cs(w=>f||c.filter()===!1?!0:w.search?w.filtered.items.get(i)>0:!0);A.useEffect(()=>{let w=o.current;if(!(!w||e.disabled))return w.addEventListener(jg,x),()=>w.removeEventListener(jg,x)},[_,e.onSelect,e.disabled]);function x(){var w,U;S(),(U=(w=d.current).onSelect)==null||U.call(w,m.current)}function S(){p.setState(\"value\",m.current,!0)}if(!_)return null;let{disabled:N,value:v,onSelect:O,forceMount:L,keywords:B,...k}=e;return A.createElement(Ot.div,{ref:go(o,t),...k,id:i,\"cmdk-item\":\"\",role:\"option\",\"aria-disabled\":!!N,\"aria-selected\":!!E,\"data-disabled\":!!N,\"data-selected\":!!E,onPointerMove:N||c.getDisablePointerSelection()?void 0:S,onClick:N?void 0:x},e.children)}),x5=A.forwardRef((e,t)=>{let{heading:n,children:r,forceMount:i,...o}=e,l=Wr(),c=A.useRef(null),d=A.useRef(null),f=Wr(),m=Gc(),p=Cs(_=>i||m.filter()===!1?!0:_.search?_.filtered.groups.has(l):!0);To(()=>m.group(l),[]),SN(l,c,[e.value,e.heading,d]);let E=A.useMemo(()=>({id:l,forceMount:i}),[i]);return A.createElement(Ot.div,{ref:go(c,t),...o,\"cmdk-group\":\"\",role:\"presentation\",hidden:p?void 0:!0},n&&A.createElement(\"div\",{ref:d,\"cmdk-group-heading\":\"\",\"aria-hidden\":!0,id:f},n),zh(e,_=>A.createElement(\"div\",{\"cmdk-group-items\":\"\",role:\"group\",\"aria-labelledby\":n?f:void 0},A.createElement(TN.Provider,{value:E},_))))}),S5=A.forwardRef((e,t)=>{let{alwaysRender:n,...r}=e,i=A.useRef(null),o=Cs(l=>!l.search);return!n&&!o?null:A.createElement(Ot.div,{ref:go(i,t),...r,\"cmdk-separator\":\"\",role:\"separator\"})}),A5=A.forwardRef((e,t)=>{let{onValueChange:n,...r}=e,i=e.value!=null,o=AE(),l=Cs(f=>f.search),c=Cs(f=>f.selectedItemId),d=Gc();return A.useEffect(()=>{e.value!=null&&o.setState(\"search\",e.value)},[e.value]),A.createElement(Ot.input,{ref:t,...r,\"cmdk-input\":\"\",autoComplete:\"off\",autoCorrect:\"off\",spellCheck:!1,\"aria-autocomplete\":\"list\",role:\"combobox\",\"aria-expanded\":!0,\"aria-controls\":d.listId,\"aria-labelledby\":d.labelId,\"aria-activedescendant\":c,id:d.inputId,type:\"text\",value:i?e.value:l,onChange:f=>{i||o.setState(\"search\",f.target.value),n==null||n(f.target.value)}})}),N5=A.forwardRef((e,t)=>{let{children:n,label:r=\"Suggestions\",...i}=e,o=A.useRef(null),l=A.useRef(null),c=Cs(f=>f.selectedItemId),d=Gc();return A.useEffect(()=>{if(l.current&&o.current){let f=l.current,m=o.current,p,E=new ResizeObserver(()=>{p=requestAnimationFrame(()=>{let _=f.offsetHeight;m.style.setProperty(\"--cmdk-list-height\",_.toFixed(1)+\"px\")})});return E.observe(f),()=>{cancelAnimationFrame(p),E.unobserve(f)}}},[]),A.createElement(Ot.div,{ref:go(o,t),...i,\"cmdk-list\":\"\",role:\"listbox\",tabIndex:-1,\"aria-activedescendant\":c,\"aria-label\":r,id:d.listId},zh(e,f=>A.createElement(\"div\",{ref:go(l,d.listInnerRef),\"cmdk-list-sizer\":\"\"},f)))}),w5=A.forwardRef((e,t)=>{let{open:n,onOpenChange:r,overlayClassName:i,contentClassName:o,container:l,...c}=e;return A.createElement(uE,{open:n,onOpenChange:r},A.createElement(cE,{container:l},A.createElement(dE,{\"cmdk-overlay\":\"\",className:i}),A.createElement(fE,{\"aria-label\":e.label,\"cmdk-dialog\":\"\",className:o},A.createElement(vN,{ref:t,...c}))))}),C5=A.forwardRef((e,t)=>Cs(n=>n.filtered.count===0)?A.createElement(Ot.div,{ref:t,...e,\"cmdk-empty\":\"\",role:\"presentation\"}):null),R5=A.forwardRef((e,t)=>{let{progress:n,children:r,label:i=\"Loading...\",...o}=e;return A.createElement(Ot.div,{ref:t,...o,\"cmdk-loading\":\"\",role:\"progressbar\",\"aria-valuenow\":n,\"aria-valuemin\":0,\"aria-valuemax\":100,\"aria-label\":i},zh(e,l=>A.createElement(\"div\",{\"aria-hidden\":!0},l)))}),wo=Object.assign(vN,{List:N5,Item:v5,Input:A5,Group:x5,Separator:S5,Dialog:w5,Empty:C5,Loading:R5});function O5(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return n;n=n.nextElementSibling}}function k5(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return n;n=n.previousElementSibling}}function xN(e){let t=A.useRef(e);return To(()=>{t.current=e}),t}var To=typeof window>\"u\"?A.useEffect:A.useLayoutEffect;function bl(e){let t=A.useRef();return t.current===void 0&&(t.current=e()),t}function Cs(e){let t=AE(),n=()=>e(t.snapshot());return A.useSyncExternalStore(t.subscribe,n,n)}function SN(e,t,n,r=[]){let i=A.useRef(),o=Gc();return To(()=>{var l;let c=(()=>{var f;for(let m of n){if(typeof m==\"string\")return m.trim();if(typeof m==\"object\"&&\"current\"in m)return m.current?(f=m.current.textContent)==null?void 0:f.trim():i.current}})(),d=r.map(f=>f.trim());o.value(e,c,d),(l=t.current)==null||l.setAttribute(gl,c),i.current=c}),i}var L5=()=>{let[e,t]=A.useState(),n=bl(()=>new Map);return To(()=>{n.current.forEach(r=>r()),n.current=new Map},[e]),(r,i)=>{n.current.set(r,i),t({})}};function I5(e){let t=e.type;return typeof t==\"function\"?t(e.props):\"render\"in t?t.render(e.props):e}function zh({asChild:e,children:t},n){return e&&A.isValidElement(t)?A.cloneElement(I5(t),{ref:t.ref},n(t.props.children)):n(t)}var D5={position:\"absolute\",width:\"1px\",height:\"1px\",padding:\"0\",margin:\"-1px\",overflow:\"hidden\",clip:\"rect(0, 0, 0, 0)\",whiteSpace:\"nowrap\",borderWidth:\"0\"};function M5({...e}){return b.jsx(uE,{\"data-slot\":\"dialog\",...e})}function P5({...e}){return b.jsx(cE,{\"data-slot\":\"dialog-portal\",...e})}function B5({className:e,...t}){return b.jsx(dE,{\"data-slot\":\"dialog-overlay\",className:et(\"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50\",e),...t})}function U5({className:e,children:t,showCloseButton:n=!0,...r}){return b.jsxs(P5,{\"data-slot\":\"dialog-portal\",children:[b.jsx(B5,{}),b.jsxs(fE,{\"data-slot\":\"dialog-content\",className:et(\"bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg\",e),...r,children:[t,n&&b.jsxs(MA,{\"data-slot\":\"dialog-close\",className:\"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",children:[b.jsx(YS,{}),b.jsx(\"span\",{className:\"sr-only\",children:\"Close\"})]})]})]})}function F5({className:e,...t}){return b.jsx(\"div\",{\"data-slot\":\"dialog-header\",className:et(\"flex flex-col gap-2 text-center sm:text-left\",e),...t})}function H5({className:e,...t}){return b.jsx(IA,{\"data-slot\":\"dialog-title\",className:et(\"text-lg leading-none font-semibold\",e),...t})}function j5({className:e,...t}){return b.jsx(DA,{\"data-slot\":\"dialog-description\",className:et(\"text-muted-foreground text-sm\",e),...t})}function z5({className:e,...t}){return b.jsx(wo,{\"data-slot\":\"command\",className:et(\"bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md\",e),...t})}function $5({title:e=\"Command Palette\",description:t=\"Search for a command to run...\",children:n,className:r,showCloseButton:i=!0,...o}){return b.jsxs(M5,{...o,children:[b.jsxs(F5,{className:\"sr-only\",children:[b.jsx(H5,{children:e}),b.jsx(j5,{children:t})]}),b.jsx(U5,{className:et(\"overflow-hidden p-0\",r),showCloseButton:i,children:b.jsx(z5,{className:\"[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5\",children:n})})]})}function q5({className:e,...t}){return b.jsxs(\"div\",{\"data-slot\":\"command-input-wrapper\",className:\"flex h-9 items-center gap-2 border-b px-3\",children:[b.jsx(Rh,{className:\"size-4 shrink-0 opacity-50\"}),b.jsx(wo.Input,{\"data-slot\":\"command-input\",className:et(\"placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50\",e),...t})]})}function Y5({className:e,...t}){return b.jsx(wo.List,{\"data-slot\":\"command-list\",className:et(\"max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto\",e),...t})}function G5({...e}){return b.jsx(wo.Empty,{\"data-slot\":\"command-empty\",className:\"py-6 text-center text-sm\",...e})}function qv({className:e,...t}){return b.jsx(wo.Group,{\"data-slot\":\"command-group\",className:et(\"text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium\",e),...t})}function V5({className:e,...t}){return b.jsx(wo.Separator,{\"data-slot\":\"command-separator\",className:et(\"bg-border -mx-1 h-px\",e),...t})}function Yv({className:e,...t}){return b.jsx(wo.Item,{\"data-slot\":\"command-item\",className:et(\"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",e),...t})}var jt;(function(e){e.assertEqual=i=>{};function t(i){}e.assertIs=t;function n(i){throw new Error}e.assertNever=n,e.arrayToEnum=i=>{const o={};for(const l of i)o[l]=l;return o},e.getValidEnumValues=i=>{const o=e.objectKeys(i).filter(c=>typeof i[i[c]]!=\"number\"),l={};for(const c of o)l[c]=i[c];return e.objectValues(l)},e.objectValues=i=>e.objectKeys(i).map(function(o){return i[o]}),e.objectKeys=typeof Object.keys==\"function\"?i=>Object.keys(i):i=>{const o=[];for(const l in i)Object.prototype.hasOwnProperty.call(i,l)&&o.push(l);return o},e.find=(i,o)=>{for(const l of i)if(o(l))return l},e.isInteger=typeof Number.isInteger==\"function\"?i=>Number.isInteger(i):i=>typeof i==\"number\"&&Number.isFinite(i)&&Math.floor(i)===i;function r(i,o=\" | \"){return i.map(l=>typeof l==\"string\"?`'${l}'`:l).join(o)}e.joinValues=r,e.jsonStringifyReplacer=(i,o)=>typeof o==\"bigint\"?o.toString():o})(jt||(jt={}));var Gv;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(Gv||(Gv={}));const Ye=jt.arrayToEnum([\"string\",\"nan\",\"number\",\"integer\",\"float\",\"boolean\",\"date\",\"bigint\",\"symbol\",\"function\",\"undefined\",\"null\",\"array\",\"object\",\"unknown\",\"promise\",\"void\",\"never\",\"map\",\"set\"]),bs=e=>{switch(typeof e){case\"undefined\":return Ye.undefined;case\"string\":return Ye.string;case\"number\":return Number.isNaN(e)?Ye.nan:Ye.number;case\"boolean\":return Ye.boolean;case\"function\":return Ye.function;case\"bigint\":return Ye.bigint;case\"symbol\":return Ye.symbol;case\"object\":return Array.isArray(e)?Ye.array:e===null?Ye.null:e.then&&typeof e.then==\"function\"&&e.catch&&typeof e.catch==\"function\"?Ye.promise:typeof Map<\"u\"&&e instanceof Map?Ye.map:typeof Set<\"u\"&&e instanceof Set?Ye.set:typeof Date<\"u\"&&e instanceof Date?Ye.date:Ye.object;default:return Ye.unknown}},Oe=jt.arrayToEnum([\"invalid_type\",\"invalid_literal\",\"custom\",\"invalid_union\",\"invalid_union_discriminator\",\"invalid_enum_value\",\"unrecognized_keys\",\"invalid_arguments\",\"invalid_return_type\",\"invalid_date\",\"invalid_string\",\"too_small\",\"too_big\",\"invalid_intersection_types\",\"not_multiple_of\",\"not_finite\"]);class Fi extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name=\"ZodError\",this.issues=t}format(t){const n=t||function(o){return o.message},r={_errors:[]},i=o=>{for(const l of o.issues)if(l.code===\"invalid_union\")l.unionErrors.map(i);else if(l.code===\"invalid_return_type\")i(l.returnTypeError);else if(l.code===\"invalid_arguments\")i(l.argumentsError);else if(l.path.length===0)r._errors.push(n(l));else{let c=r,d=0;for(;d<l.path.length;){const f=l.path[d];d===l.path.length-1?(c[f]=c[f]||{_errors:[]},c[f]._errors.push(n(l))):c[f]=c[f]||{_errors:[]},c=c[f],d++}}};return i(this),r}static assert(t){if(!(t instanceof Fi))throw new Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,jt.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(t=n=>n.message){const n={},r=[];for(const i of this.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}Fi.create=e=>new Fi(e);const zg=(e,t)=>{let n;switch(e.code){case Oe.invalid_type:e.received===Ye.undefined?n=\"Required\":n=`Expected ${e.expected}, received ${e.received}`;break;case Oe.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,jt.jsonStringifyReplacer)}`;break;case Oe.unrecognized_keys:n=`Unrecognized key(s) in object: ${jt.joinValues(e.keys,\", \")}`;break;case Oe.invalid_union:n=\"Invalid input\";break;case Oe.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${jt.joinValues(e.options)}`;break;case Oe.invalid_enum_value:n=`Invalid enum value. Expected ${jt.joinValues(e.options)}, received '${e.received}'`;break;case Oe.invalid_arguments:n=\"Invalid function arguments\";break;case Oe.invalid_return_type:n=\"Invalid function return type\";break;case Oe.invalid_date:n=\"Invalid date\";break;case Oe.invalid_string:typeof e.validation==\"object\"?\"includes\"in e.validation?(n=`Invalid input: must include \"${e.validation.includes}\"`,typeof e.validation.position==\"number\"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):\"startsWith\"in e.validation?n=`Invalid input: must start with \"${e.validation.startsWith}\"`:\"endsWith\"in e.validation?n=`Invalid input: must end with \"${e.validation.endsWith}\"`:jt.assertNever(e.validation):e.validation!==\"regex\"?n=`Invalid ${e.validation}`:n=\"Invalid\";break;case Oe.too_small:e.type===\"array\"?n=`Array must contain ${e.exact?\"exactly\":e.inclusive?\"at least\":\"more than\"} ${e.minimum} element(s)`:e.type===\"string\"?n=`String must contain ${e.exact?\"exactly\":e.inclusive?\"at least\":\"over\"} ${e.minimum} character(s)`:e.type===\"number\"?n=`Number must be ${e.exact?\"exactly equal to \":e.inclusive?\"greater than or equal to \":\"greater than \"}${e.minimum}`:e.type===\"date\"?n=`Date must be ${e.exact?\"exactly equal to \":e.inclusive?\"greater than or equal to \":\"greater than \"}${new Date(Number(e.minimum))}`:n=\"Invalid input\";break;case Oe.too_big:e.type===\"array\"?n=`Array must contain ${e.exact?\"exactly\":e.inclusive?\"at most\":\"less than\"} ${e.maximum} element(s)`:e.type===\"string\"?n=`String must contain ${e.exact?\"exactly\":e.inclusive?\"at most\":\"under\"} ${e.maximum} character(s)`:e.type===\"number\"?n=`Number must be ${e.exact?\"exactly\":e.inclusive?\"less than or equal to\":\"less than\"} ${e.maximum}`:e.type===\"bigint\"?n=`BigInt must be ${e.exact?\"exactly\":e.inclusive?\"less than or equal to\":\"less than\"} ${e.maximum}`:e.type===\"date\"?n=`Date must be ${e.exact?\"exactly\":e.inclusive?\"smaller than or equal to\":\"smaller than\"} ${new Date(Number(e.maximum))}`:n=\"Invalid input\";break;case Oe.custom:n=\"Invalid input\";break;case Oe.invalid_intersection_types:n=\"Intersection results could not be merged\";break;case Oe.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case Oe.not_finite:n=\"Number must be finite\";break;default:n=t.defaultError,jt.assertNever(e)}return{message:n}};let K5=zg;function X5(){return K5}const W5=e=>{const{data:t,path:n,errorMaps:r,issueData:i}=e,o=[...n,...i.path||[]],l={...i,path:o};if(i.message!==void 0)return{...i,path:o,message:i.message};let c=\"\";const d=r.filter(f=>!!f).slice().reverse();for(const f of d)c=f(l,{data:t,defaultError:c}).message;return{...i,path:o,message:c}};function Be(e,t){const n=X5(),r=W5({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===zg?void 0:zg].filter(i=>!!i)});e.common.issues.push(r)}class Jr{constructor(){this.value=\"valid\"}dirty(){this.value===\"valid\"&&(this.value=\"dirty\")}abort(){this.value!==\"aborted\"&&(this.value=\"aborted\")}static mergeArray(t,n){const r=[];for(const i of n){if(i.status===\"aborted\")return dt;i.status===\"dirty\"&&t.dirty(),r.push(i.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const i of n){const o=await i.key,l=await i.value;r.push({key:o,value:l})}return Jr.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const i of n){const{key:o,value:l}=i;if(o.status===\"aborted\"||l.status===\"aborted\")return dt;o.status===\"dirty\"&&t.dirty(),l.status===\"dirty\"&&t.dirty(),o.value!==\"__proto__\"&&(typeof l.value<\"u\"||i.alwaysSet)&&(r[o.value]=l.value)}return{status:t.value,value:r}}}const dt=Object.freeze({status:\"aborted\"}),pc=e=>({status:\"dirty\",value:e}),va=e=>({status:\"valid\",value:e}),Vv=e=>e.status===\"aborted\",Kv=e=>e.status===\"dirty\",Ll=e=>e.status===\"valid\",ah=e=>typeof Promise<\"u\"&&e instanceof Promise;var We;(function(e){e.errToObj=t=>typeof t==\"string\"?{message:t}:t||{},e.toString=t=>typeof t==\"string\"?t:t==null?void 0:t.message})(We||(We={}));class Rs{constructor(t,n,r,i){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=i}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Xv=(e,t)=>{if(Ll(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error(\"Validation failed but no issues detected.\");return{success:!1,get error(){if(this._error)return this._error;const n=new Fi(e.common.issues);return this._error=n,this._error}}};function St(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:i}=e;if(t&&(n||r))throw new Error(`Can't use \"invalid_type_error\" or \"required_error\" in conjunction with custom error map.`);return t?{errorMap:t,description:i}:{errorMap:(l,c)=>{const{message:d}=e;return l.code===\"invalid_enum_value\"?{message:d??c.defaultError}:typeof c.data>\"u\"?{message:d??r??c.defaultError}:l.code!==\"invalid_type\"?{message:c.defaultError}:{message:d??n??c.defaultError}},description:i}}class Ut{get description(){return this._def.description}_getType(t){return bs(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:bs(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Jr,ctx:{common:t.parent.common,data:t.data,parsedType:bs(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(ah(n))throw new Error(\"Synchronous parse encountered promise.\");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){const r={common:{issues:[],async:(n==null?void 0:n.async)??!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:bs(t)},i=this._parseSync({data:t,path:r.path,parent:r});return Xv(r,i)}\"~validate\"(t){var r,i;const n={common:{issues:[],async:!!this[\"~standard\"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:bs(t)};if(!this[\"~standard\"].async)try{const o=this._parseSync({data:t,path:[],parent:n});return Ll(o)?{value:o.value}:{issues:n.common.issues}}catch(o){(i=(r=o==null?void 0:o.message)==null?void 0:r.toLowerCase())!=null&&i.includes(\"encountered\")&&(this[\"~standard\"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:n}).then(o=>Ll(o)?{value:o.value}:{issues:n.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:bs(t)},i=this._parse({data:t,path:r.path,parent:r}),o=await(ah(i)?i:Promise.resolve(i));return Xv(r,o)}refine(t,n){const r=i=>typeof n==\"string\"||typeof n>\"u\"?{message:n}:typeof n==\"function\"?n(i):n;return this._refinement((i,o)=>{const l=t(i),c=()=>o.addIssue({code:Oe.custom,...r(i)});return typeof Promise<\"u\"&&l instanceof Promise?l.then(d=>d?!0:(c(),!1)):l?!0:(c(),!1)})}refinement(t,n){return this._refinement((r,i)=>t(r)?!0:(i.addIssue(typeof n==\"function\"?n(r,i):n),!1))}_refinement(t){return new xo({schema:this,typeName:ft.ZodEffects,effect:{type:\"refinement\",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this[\"~standard\"]={version:1,vendor:\"zod\",validate:n=>this[\"~validate\"](n)}}optional(){return Ts.create(this,this._def)}nullable(){return Ml.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ni.create(this)}promise(){return lh.create(this,this._def)}or(t){return sh.create([this,t],this._def)}and(t){return oh.create(this,t,this._def)}transform(t){return new xo({...St(this._def),schema:this,typeName:ft.ZodEffects,effect:{type:\"transform\",transform:t}})}default(t){const n=typeof t==\"function\"?t:()=>t;return new Vg({...St(this._def),innerType:this,defaultValue:n,typeName:ft.ZodDefault})}brand(){return new y9({typeName:ft.ZodBranded,type:this,...St(this._def)})}catch(t){const n=typeof t==\"function\"?t:()=>t;return new Kg({...St(this._def),innerType:this,catchValue:n,typeName:ft.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return NE.create(this,t)}readonly(){return Xg.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const Q5=/^c[^\\s-]{8,}$/i,Z5=/^[0-9a-z]+$/,J5=/^[0-9A-HJKMNP-TV-Z]{26}$/i,e9=/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/i,t9=/^[a-z0-9_-]{21}$/i,n9=/^[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]*$/,r9=/^[-+]?P(?!$)(?:(?:[-+]?\\d+Y)|(?:[-+]?\\d+[.,]\\d+Y$))?(?:(?:[-+]?\\d+M)|(?:[-+]?\\d+[.,]\\d+M$))?(?:(?:[-+]?\\d+W)|(?:[-+]?\\d+[.,]\\d+W$))?(?:(?:[-+]?\\d+D)|(?:[-+]?\\d+[.,]\\d+D$))?(?:T(?=[\\d+-])(?:(?:[-+]?\\d+H)|(?:[-+]?\\d+[.,]\\d+H$))?(?:(?:[-+]?\\d+M)|(?:[-+]?\\d+[.,]\\d+M$))?(?:[-+]?\\d+(?:[.,]\\d+)?S)?)??$/,a9=/^(?!\\.)(?!.*\\.\\.)([A-Z0-9_'+\\-\\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\\-]*\\.)+[A-Z]{2,}$/i,i9=\"^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$\";let P0;const s9=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,o9=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/(3[0-2]|[12]?[0-9])$/,l9=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,u9=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,c9=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,d9=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,AN=\"((\\\\d\\\\d[2468][048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\\\d|30)|(02)-(0[1-9]|1\\\\d|2[0-8])))\",f9=new RegExp(`^${AN}$`);function NN(e){let t=\"[0-5]\\\\d\";e.precision?t=`${t}\\\\.\\\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\\\.\\\\d+)?`);const n=e.precision?\"+\":\"?\";return`([01]\\\\d|2[0-3]):[0-5]\\\\d(:${t})${n}`}function h9(e){return new RegExp(`^${NN(e)}$`)}function m9(e){let t=`${AN}T${NN(e)}`;const n=[];return n.push(e.local?\"Z?\":\"Z\"),e.offset&&n.push(\"([+-]\\\\d{2}:?\\\\d{2})\"),t=`${t}(${n.join(\"|\")})`,new RegExp(`^${t}$`)}function p9(e,t){return!!((t===\"v4\"||!t)&&s9.test(e)||(t===\"v6\"||!t)&&l9.test(e))}function g9(e,t){if(!n9.test(e))return!1;try{const[n]=e.split(\".\"),r=n.replace(/-/g,\"+\").replace(/_/g,\"/\").padEnd(n.length+(4-n.length%4)%4,\"=\"),i=JSON.parse(atob(r));return!(typeof i!=\"object\"||i===null||\"typ\"in i&&(i==null?void 0:i.typ)!==\"JWT\"||!i.alg||t&&i.alg!==t)}catch{return!1}}function b9(e,t){return!!((t===\"v4\"||!t)&&o9.test(e)||(t===\"v6\"||!t)&&u9.test(e))}class ys extends Ut{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==Ye.string){const o=this._getOrReturnCtx(t);return Be(o,{code:Oe.invalid_type,expected:Ye.string,received:o.parsedType}),dt}const r=new Jr;let i;for(const o of this._def.checks)if(o.kind===\"min\")t.data.length<o.value&&(i=this._getOrReturnCtx(t,i),Be(i,{code:Oe.too_small,minimum:o.value,type:\"string\",inclusive:!0,exact:!1,message:o.message}),r.dirty());else if(o.kind===\"max\")t.data.length>o.value&&(i=this._getOrReturnCtx(t,i),Be(i,{code:Oe.too_big,maximum:o.value,type:\"string\",inclusive:!0,exact:!1,message:o.message}),r.dirty());else if(o.kind===\"length\"){const l=t.data.length>o.value,c=t.data.length<o.value;(l||c)&&(i=this._getOrReturnCtx(t,i),l?Be(i,{code:Oe.too_big,maximum:o.value,type:\"string\",inclusive:!0,exact:!0,message:o.message}):c&&Be(i,{code:Oe.too_small,minimum:o.value,type:\"string\",inclusive:!0,exact:!0,message:o.message}),r.dirty())}else if(o.kind===\"email\")a9.test(t.data)||(i=this._getOrReturnCtx(t,i),Be(i,{validation:\"email\",code:Oe.invalid_string,message:o.message}),r.dirty());else if(o.kind===\"emoji\")P0||(P0=new RegExp(i9,\"u\")),P0.test(t.data)||(i=this._getOrReturnCtx(t,i),Be(i,{validation:\"emoji\",code:Oe.invalid_string,message:o.message}),r.dirty());else if(o.kind===\"uuid\")e9.test(t.data)||(i=this._getOrReturnCtx(t,i),Be(i,{validation:\"uuid\",code:Oe.invalid_string,message:o.message}),r.dirty());else if(o.kind===\"nanoid\")t9.test(t.data)||(i=this._getOrReturnCtx(t,i),Be(i,{validation:\"nanoid\",code:Oe.invalid_string,message:o.message}),r.dirty());else if(o.kind===\"cuid\")Q5.test(t.data)||(i=this._getOrReturnCtx(t,i),Be(i,{validation:\"cuid\",code:Oe.invalid_string,message:o.message}),r.dirty());else if(o.kind===\"cuid2\")Z5.test(t.data)||(i=this._getOrReturnCtx(t,i),Be(i,{validation:\"cuid2\",code:Oe.invalid_string,message:o.message}),r.dirty());else if(o.kind===\"ulid\")J5.test(t.data)||(i=this._getOrReturnCtx(t,i),Be(i,{validation:\"ulid\",code:Oe.invalid_string,message:o.message}),r.dirty());else if(o.kind===\"url\")try{new URL(t.data)}catch{i=this._getOrReturnCtx(t,i),Be(i,{validation:\"url\",code:Oe.invalid_string,message:o.message}),r.dirty()}else o.kind===\"regex\"?(o.regex.lastIndex=0,o.regex.test(t.data)||(i=this._getOrReturnCtx(t,i),Be(i,{validation:\"regex\",code:Oe.invalid_string,message:o.message}),r.dirty())):o.kind===\"trim\"?t.data=t.data.trim():o.kind===\"includes\"?t.data.includes(o.value,o.position)||(i=this._getOrReturnCtx(t,i),Be(i,{code:Oe.invalid_string,validation:{includes:o.value,position:o.position},message:o.message}),r.dirty()):o.kind===\"toLowerCase\"?t.data=t.data.toLowerCase():o.kind===\"toUpperCase\"?t.data=t.data.toUpperCase():o.kind===\"startsWith\"?t.data.startsWith(o.value)||(i=this._getOrReturnCtx(t,i),Be(i,{code:Oe.invalid_string,validation:{startsWith:o.value},message:o.message}),r.dirty()):o.kind===\"endsWith\"?t.data.endsWith(o.value)||(i=this._getOrReturnCtx(t,i),Be(i,{code:Oe.invalid_string,validation:{endsWith:o.value},message:o.message}),r.dirty()):o.kind===\"datetime\"?m9(o).test(t.data)||(i=this._getOrReturnCtx(t,i),Be(i,{code:Oe.invalid_string,validation:\"datetime\",message:o.message}),r.dirty()):o.kind===\"date\"?f9.test(t.data)||(i=this._getOrReturnCtx(t,i),Be(i,{code:Oe.invalid_string,validation:\"date\",message:o.message}),r.dirty()):o.kind===\"time\"?h9(o).test(t.data)||(i=this._getOrReturnCtx(t,i),Be(i,{code:Oe.invalid_string,validation:\"time\",message:o.message}),r.dirty()):o.kind===\"duration\"?r9.test(t.data)||(i=this._getOrReturnCtx(t,i),Be(i,{validation:\"duration\",code:Oe.invalid_string,message:o.message}),r.dirty()):o.kind===\"ip\"?p9(t.data,o.version)||(i=this._getOrReturnCtx(t,i),Be(i,{validation:\"ip\",code:Oe.invalid_string,message:o.message}),r.dirty()):o.kind===\"jwt\"?g9(t.data,o.alg)||(i=this._getOrReturnCtx(t,i),Be(i,{validation:\"jwt\",code:Oe.invalid_string,message:o.message}),r.dirty()):o.kind===\"cidr\"?b9(t.data,o.version)||(i=this._getOrReturnCtx(t,i),Be(i,{validation:\"cidr\",code:Oe.invalid_string,message:o.message}),r.dirty()):o.kind===\"base64\"?c9.test(t.data)||(i=this._getOrReturnCtx(t,i),Be(i,{validation:\"base64\",code:Oe.invalid_string,message:o.message}),r.dirty()):o.kind===\"base64url\"?d9.test(t.data)||(i=this._getOrReturnCtx(t,i),Be(i,{validation:\"base64url\",code:Oe.invalid_string,message:o.message}),r.dirty()):jt.assertNever(o);return{status:r.value,value:t.data}}_regex(t,n,r){return this.refinement(i=>t.test(i),{validation:n,code:Oe.invalid_string,...We.errToObj(r)})}_addCheck(t){return new ys({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:\"email\",...We.errToObj(t)})}url(t){return this._addCheck({kind:\"url\",...We.errToObj(t)})}emoji(t){return this._addCheck({kind:\"emoji\",...We.errToObj(t)})}uuid(t){return this._addCheck({kind:\"uuid\",...We.errToObj(t)})}nanoid(t){return this._addCheck({kind:\"nanoid\",...We.errToObj(t)})}cuid(t){return this._addCheck({kind:\"cuid\",...We.errToObj(t)})}cuid2(t){return this._addCheck({kind:\"cuid2\",...We.errToObj(t)})}ulid(t){return this._addCheck({kind:\"ulid\",...We.errToObj(t)})}base64(t){return this._addCheck({kind:\"base64\",...We.errToObj(t)})}base64url(t){return this._addCheck({kind:\"base64url\",...We.errToObj(t)})}jwt(t){return this._addCheck({kind:\"jwt\",...We.errToObj(t)})}ip(t){return this._addCheck({kind:\"ip\",...We.errToObj(t)})}cidr(t){return this._addCheck({kind:\"cidr\",...We.errToObj(t)})}datetime(t){return typeof t==\"string\"?this._addCheck({kind:\"datetime\",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:\"datetime\",precision:typeof(t==null?void 0:t.precision)>\"u\"?null:t==null?void 0:t.precision,offset:(t==null?void 0:t.offset)??!1,local:(t==null?void 0:t.local)??!1,...We.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:\"date\",message:t})}time(t){return typeof t==\"string\"?this._addCheck({kind:\"time\",precision:null,message:t}):this._addCheck({kind:\"time\",precision:typeof(t==null?void 0:t.precision)>\"u\"?null:t==null?void 0:t.precision,...We.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:\"duration\",...We.errToObj(t)})}regex(t,n){return this._addCheck({kind:\"regex\",regex:t,...We.errToObj(n)})}includes(t,n){return this._addCheck({kind:\"includes\",value:t,position:n==null?void 0:n.position,...We.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:\"startsWith\",value:t,...We.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:\"endsWith\",value:t,...We.errToObj(n)})}min(t,n){return this._addCheck({kind:\"min\",value:t,...We.errToObj(n)})}max(t,n){return this._addCheck({kind:\"max\",value:t,...We.errToObj(n)})}length(t,n){return this._addCheck({kind:\"length\",value:t,...We.errToObj(n)})}nonempty(t){return this.min(1,We.errToObj(t))}trim(){return new ys({...this._def,checks:[...this._def.checks,{kind:\"trim\"}]})}toLowerCase(){return new ys({...this._def,checks:[...this._def.checks,{kind:\"toLowerCase\"}]})}toUpperCase(){return new ys({...this._def,checks:[...this._def.checks,{kind:\"toUpperCase\"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind===\"datetime\")}get isDate(){return!!this._def.checks.find(t=>t.kind===\"date\")}get isTime(){return!!this._def.checks.find(t=>t.kind===\"time\")}get isDuration(){return!!this._def.checks.find(t=>t.kind===\"duration\")}get isEmail(){return!!this._def.checks.find(t=>t.kind===\"email\")}get isURL(){return!!this._def.checks.find(t=>t.kind===\"url\")}get isEmoji(){return!!this._def.checks.find(t=>t.kind===\"emoji\")}get isUUID(){return!!this._def.checks.find(t=>t.kind===\"uuid\")}get isNANOID(){return!!this._def.checks.find(t=>t.kind===\"nanoid\")}get isCUID(){return!!this._def.checks.find(t=>t.kind===\"cuid\")}get isCUID2(){return!!this._def.checks.find(t=>t.kind===\"cuid2\")}get isULID(){return!!this._def.checks.find(t=>t.kind===\"ulid\")}get isIP(){return!!this._def.checks.find(t=>t.kind===\"ip\")}get isCIDR(){return!!this._def.checks.find(t=>t.kind===\"cidr\")}get isBase64(){return!!this._def.checks.find(t=>t.kind===\"base64\")}get isBase64url(){return!!this._def.checks.find(t=>t.kind===\"base64url\")}get minLength(){let t=null;for(const n of this._def.checks)n.kind===\"min\"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind===\"max\"&&(t===null||n.value<t)&&(t=n.value);return t}}ys.create=e=>new ys({checks:[],typeName:ft.ZodString,coerce:(e==null?void 0:e.coerce)??!1,...St(e)});function E9(e,t){const n=(e.toString().split(\".\")[1]||\"\").length,r=(t.toString().split(\".\")[1]||\"\").length,i=n>r?n:r,o=Number.parseInt(e.toFixed(i).replace(\".\",\"\")),l=Number.parseInt(t.toFixed(i).replace(\".\",\"\"));return o%l/10**i}class Il extends Ut{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==Ye.number){const o=this._getOrReturnCtx(t);return Be(o,{code:Oe.invalid_type,expected:Ye.number,received:o.parsedType}),dt}let r;const i=new Jr;for(const o of this._def.checks)o.kind===\"int\"?jt.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),Be(r,{code:Oe.invalid_type,expected:\"integer\",received:\"float\",message:o.message}),i.dirty()):o.kind===\"min\"?(o.inclusive?t.data<o.value:t.data<=o.value)&&(r=this._getOrReturnCtx(t,r),Be(r,{code:Oe.too_small,minimum:o.value,type:\"number\",inclusive:o.inclusive,exact:!1,message:o.message}),i.dirty()):o.kind===\"max\"?(o.inclusive?t.data>o.value:t.data>=o.value)&&(r=this._getOrReturnCtx(t,r),Be(r,{code:Oe.too_big,maximum:o.value,type:\"number\",inclusive:o.inclusive,exact:!1,message:o.message}),i.dirty()):o.kind===\"multipleOf\"?E9(t.data,o.value)!==0&&(r=this._getOrReturnCtx(t,r),Be(r,{code:Oe.not_multiple_of,multipleOf:o.value,message:o.message}),i.dirty()):o.kind===\"finite\"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),Be(r,{code:Oe.not_finite,message:o.message}),i.dirty()):jt.assertNever(o);return{status:i.value,value:t.data}}gte(t,n){return this.setLimit(\"min\",t,!0,We.toString(n))}gt(t,n){return this.setLimit(\"min\",t,!1,We.toString(n))}lte(t,n){return this.setLimit(\"max\",t,!0,We.toString(n))}lt(t,n){return this.setLimit(\"max\",t,!1,We.toString(n))}setLimit(t,n,r,i){return new Il({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:We.toString(i)}]})}_addCheck(t){return new Il({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:\"int\",message:We.toString(t)})}positive(t){return this._addCheck({kind:\"min\",value:0,inclusive:!1,message:We.toString(t)})}negative(t){return this._addCheck({kind:\"max\",value:0,inclusive:!1,message:We.toString(t)})}nonpositive(t){return this._addCheck({kind:\"max\",value:0,inclusive:!0,message:We.toString(t)})}nonnegative(t){return this._addCheck({kind:\"min\",value:0,inclusive:!0,message:We.toString(t)})}multipleOf(t,n){return this._addCheck({kind:\"multipleOf\",value:t,message:We.toString(n)})}finite(t){return this._addCheck({kind:\"finite\",message:We.toString(t)})}safe(t){return this._addCheck({kind:\"min\",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:We.toString(t)})._addCheck({kind:\"max\",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:We.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind===\"min\"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind===\"max\"&&(t===null||n.value<t)&&(t=n.value);return t}get isInt(){return!!this._def.checks.find(t=>t.kind===\"int\"||t.kind===\"multipleOf\"&&jt.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind===\"finite\"||r.kind===\"int\"||r.kind===\"multipleOf\")return!0;r.kind===\"min\"?(n===null||r.value>n)&&(n=r.value):r.kind===\"max\"&&(t===null||r.value<t)&&(t=r.value)}return Number.isFinite(n)&&Number.isFinite(t)}}Il.create=e=>new Il({checks:[],typeName:ft.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...St(e)});class kc extends Ut{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==Ye.bigint)return this._getInvalidInput(t);let r;const i=new Jr;for(const o of this._def.checks)o.kind===\"min\"?(o.inclusive?t.data<o.value:t.data<=o.value)&&(r=this._getOrReturnCtx(t,r),Be(r,{code:Oe.too_small,type:\"bigint\",minimum:o.value,inclusive:o.inclusive,message:o.message}),i.dirty()):o.kind===\"max\"?(o.inclusive?t.data>o.value:t.data>=o.value)&&(r=this._getOrReturnCtx(t,r),Be(r,{code:Oe.too_big,type:\"bigint\",maximum:o.value,inclusive:o.inclusive,message:o.message}),i.dirty()):o.kind===\"multipleOf\"?t.data%o.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),Be(r,{code:Oe.not_multiple_of,multipleOf:o.value,message:o.message}),i.dirty()):jt.assertNever(o);return{status:i.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return Be(n,{code:Oe.invalid_type,expected:Ye.bigint,received:n.parsedType}),dt}gte(t,n){return this.setLimit(\"min\",t,!0,We.toString(n))}gt(t,n){return this.setLimit(\"min\",t,!1,We.toString(n))}lte(t,n){return this.setLimit(\"max\",t,!0,We.toString(n))}lt(t,n){return this.setLimit(\"max\",t,!1,We.toString(n))}setLimit(t,n,r,i){return new kc({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:We.toString(i)}]})}_addCheck(t){return new kc({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:\"min\",value:BigInt(0),inclusive:!1,message:We.toString(t)})}negative(t){return this._addCheck({kind:\"max\",value:BigInt(0),inclusive:!1,message:We.toString(t)})}nonpositive(t){return this._addCheck({kind:\"max\",value:BigInt(0),inclusive:!0,message:We.toString(t)})}nonnegative(t){return this._addCheck({kind:\"min\",value:BigInt(0),inclusive:!0,message:We.toString(t)})}multipleOf(t,n){return this._addCheck({kind:\"multipleOf\",value:t,message:We.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind===\"min\"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind===\"max\"&&(t===null||n.value<t)&&(t=n.value);return t}}kc.create=e=>new kc({checks:[],typeName:ft.ZodBigInt,coerce:(e==null?void 0:e.coerce)??!1,...St(e)});class $g extends Ut{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==Ye.boolean){const r=this._getOrReturnCtx(t);return Be(r,{code:Oe.invalid_type,expected:Ye.boolean,received:r.parsedType}),dt}return va(t.data)}}$g.create=e=>new $g({typeName:ft.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...St(e)});class ih extends Ut{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==Ye.date){const o=this._getOrReturnCtx(t);return Be(o,{code:Oe.invalid_type,expected:Ye.date,received:o.parsedType}),dt}if(Number.isNaN(t.data.getTime())){const o=this._getOrReturnCtx(t);return Be(o,{code:Oe.invalid_date}),dt}const r=new Jr;let i;for(const o of this._def.checks)o.kind===\"min\"?t.data.getTime()<o.value&&(i=this._getOrReturnCtx(t,i),Be(i,{code:Oe.too_small,message:o.message,inclusive:!0,exact:!1,minimum:o.value,type:\"date\"}),r.dirty()):o.kind===\"max\"?t.data.getTime()>o.value&&(i=this._getOrReturnCtx(t,i),Be(i,{code:Oe.too_big,message:o.message,inclusive:!0,exact:!1,maximum:o.value,type:\"date\"}),r.dirty()):jt.assertNever(o);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new ih({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:\"min\",value:t.getTime(),message:We.toString(n)})}max(t,n){return this._addCheck({kind:\"max\",value:t.getTime(),message:We.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind===\"min\"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind===\"max\"&&(t===null||n.value<t)&&(t=n.value);return t!=null?new Date(t):null}}ih.create=e=>new ih({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:ft.ZodDate,...St(e)});class Wv extends Ut{_parse(t){if(this._getType(t)!==Ye.symbol){const r=this._getOrReturnCtx(t);return Be(r,{code:Oe.invalid_type,expected:Ye.symbol,received:r.parsedType}),dt}return va(t.data)}}Wv.create=e=>new Wv({typeName:ft.ZodSymbol,...St(e)});class Qv extends Ut{_parse(t){if(this._getType(t)!==Ye.undefined){const r=this._getOrReturnCtx(t);return Be(r,{code:Oe.invalid_type,expected:Ye.undefined,received:r.parsedType}),dt}return va(t.data)}}Qv.create=e=>new Qv({typeName:ft.ZodUndefined,...St(e)});class Zv extends Ut{_parse(t){if(this._getType(t)!==Ye.null){const r=this._getOrReturnCtx(t);return Be(r,{code:Oe.invalid_type,expected:Ye.null,received:r.parsedType}),dt}return va(t.data)}}Zv.create=e=>new Zv({typeName:ft.ZodNull,...St(e)});class qg extends Ut{constructor(){super(...arguments),this._any=!0}_parse(t){return va(t.data)}}qg.create=e=>new qg({typeName:ft.ZodAny,...St(e)});class Jv extends Ut{constructor(){super(...arguments),this._unknown=!0}_parse(t){return va(t.data)}}Jv.create=e=>new Jv({typeName:ft.ZodUnknown,...St(e)});class Os extends Ut{_parse(t){const n=this._getOrReturnCtx(t);return Be(n,{code:Oe.invalid_type,expected:Ye.never,received:n.parsedType}),dt}}Os.create=e=>new Os({typeName:ft.ZodNever,...St(e)});class ex extends Ut{_parse(t){if(this._getType(t)!==Ye.undefined){const r=this._getOrReturnCtx(t);return Be(r,{code:Oe.invalid_type,expected:Ye.void,received:r.parsedType}),dt}return va(t.data)}}ex.create=e=>new ex({typeName:ft.ZodVoid,...St(e)});class ni extends Ut{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),i=this._def;if(n.parsedType!==Ye.array)return Be(n,{code:Oe.invalid_type,expected:Ye.array,received:n.parsedType}),dt;if(i.exactLength!==null){const l=n.data.length>i.exactLength.value,c=n.data.length<i.exactLength.value;(l||c)&&(Be(n,{code:l?Oe.too_big:Oe.too_small,minimum:c?i.exactLength.value:void 0,maximum:l?i.exactLength.value:void 0,type:\"array\",inclusive:!0,exact:!0,message:i.exactLength.message}),r.dirty())}if(i.minLength!==null&&n.data.length<i.minLength.value&&(Be(n,{code:Oe.too_small,minimum:i.minLength.value,type:\"array\",inclusive:!0,exact:!1,message:i.minLength.message}),r.dirty()),i.maxLength!==null&&n.data.length>i.maxLength.value&&(Be(n,{code:Oe.too_big,maximum:i.maxLength.value,type:\"array\",inclusive:!0,exact:!1,message:i.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((l,c)=>i.type._parseAsync(new Rs(n,l,n.path,c)))).then(l=>Jr.mergeArray(r,l));const o=[...n.data].map((l,c)=>i.type._parseSync(new Rs(n,l,n.path,c)));return Jr.mergeArray(r,o)}get element(){return this._def.type}min(t,n){return new ni({...this._def,minLength:{value:t,message:We.toString(n)}})}max(t,n){return new ni({...this._def,maxLength:{value:t,message:We.toString(n)}})}length(t,n){return new ni({...this._def,exactLength:{value:t,message:We.toString(n)}})}nonempty(t){return this.min(1,t)}}ni.create=(e,t)=>new ni({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ft.ZodArray,...St(t)});function El(e){if(e instanceof Dn){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=Ts.create(El(r))}return new Dn({...e._def,shape:()=>t})}else return e instanceof ni?new ni({...e._def,type:El(e.element)}):e instanceof Ts?Ts.create(El(e.unwrap())):e instanceof Ml?Ml.create(El(e.unwrap())):e instanceof vo?vo.create(e.items.map(t=>El(t))):e}class Dn extends Ut{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=jt.objectKeys(t);return this._cached={shape:t,keys:n},this._cached}_parse(t){if(this._getType(t)!==Ye.object){const f=this._getOrReturnCtx(t);return Be(f,{code:Oe.invalid_type,expected:Ye.object,received:f.parsedType}),dt}const{status:r,ctx:i}=this._processInputParams(t),{shape:o,keys:l}=this._getCached(),c=[];if(!(this._def.catchall instanceof Os&&this._def.unknownKeys===\"strip\"))for(const f in i.data)l.includes(f)||c.push(f);const d=[];for(const f of l){const m=o[f],p=i.data[f];d.push({key:{status:\"valid\",value:f},value:m._parse(new Rs(i,p,i.path,f)),alwaysSet:f in i.data})}if(this._def.catchall instanceof Os){const f=this._def.unknownKeys;if(f===\"passthrough\")for(const m of c)d.push({key:{status:\"valid\",value:m},value:{status:\"valid\",value:i.data[m]}});else if(f===\"strict\")c.length>0&&(Be(i,{code:Oe.unrecognized_keys,keys:c}),r.dirty());else if(f!==\"strip\")throw new Error(\"Internal ZodObject error: invalid unknownKeys value.\")}else{const f=this._def.catchall;for(const m of c){const p=i.data[m];d.push({key:{status:\"valid\",value:m},value:f._parse(new Rs(i,p,i.path,m)),alwaysSet:m in i.data})}}return i.common.async?Promise.resolve().then(async()=>{const f=[];for(const m of d){const p=await m.key,E=await m.value;f.push({key:p,value:E,alwaysSet:m.alwaysSet})}return f}).then(f=>Jr.mergeObjectSync(r,f)):Jr.mergeObjectSync(r,d)}get shape(){return this._def.shape()}strict(t){return We.errToObj,new Dn({...this._def,unknownKeys:\"strict\",...t!==void 0?{errorMap:(n,r)=>{var o,l;const i=((l=(o=this._def).errorMap)==null?void 0:l.call(o,n,r).message)??r.defaultError;return n.code===\"unrecognized_keys\"?{message:We.errToObj(t).message??i}:{message:i}}}:{}})}strip(){return new Dn({...this._def,unknownKeys:\"strip\"})}passthrough(){return new Dn({...this._def,unknownKeys:\"passthrough\"})}extend(t){return new Dn({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Dn({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:ft.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Dn({...this._def,catchall:t})}pick(t){const n={};for(const r of jt.objectKeys(t))t[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new Dn({...this._def,shape:()=>n})}omit(t){const n={};for(const r of jt.objectKeys(this.shape))t[r]||(n[r]=this.shape[r]);return new Dn({...this._def,shape:()=>n})}deepPartial(){return El(this)}partial(t){const n={};for(const r of jt.objectKeys(this.shape)){const i=this.shape[r];t&&!t[r]?n[r]=i:n[r]=i.optional()}return new Dn({...this._def,shape:()=>n})}required(t){const n={};for(const r of jt.objectKeys(this.shape))if(t&&!t[r])n[r]=this.shape[r];else{let o=this.shape[r];for(;o instanceof Ts;)o=o._def.innerType;n[r]=o}return new Dn({...this._def,shape:()=>n})}keyof(){return wN(jt.objectKeys(this.shape))}}Dn.create=(e,t)=>new Dn({shape:()=>e,unknownKeys:\"strip\",catchall:Os.create(),typeName:ft.ZodObject,...St(t)});Dn.strictCreate=(e,t)=>new Dn({shape:()=>e,unknownKeys:\"strict\",catchall:Os.create(),typeName:ft.ZodObject,...St(t)});Dn.lazycreate=(e,t)=>new Dn({shape:e,unknownKeys:\"strip\",catchall:Os.create(),typeName:ft.ZodObject,...St(t)});class sh extends Ut{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function i(o){for(const c of o)if(c.result.status===\"valid\")return c.result;for(const c of o)if(c.result.status===\"dirty\")return n.common.issues.push(...c.ctx.common.issues),c.result;const l=o.map(c=>new Fi(c.ctx.common.issues));return Be(n,{code:Oe.invalid_union,unionErrors:l}),dt}if(n.common.async)return Promise.all(r.map(async o=>{const l={...n,common:{...n.common,issues:[]},parent:null};return{result:await o._parseAsync({data:n.data,path:n.path,parent:l}),ctx:l}})).then(i);{let o;const l=[];for(const d of r){const f={...n,common:{...n.common,issues:[]},parent:null},m=d._parseSync({data:n.data,path:n.path,parent:f});if(m.status===\"valid\")return m;m.status===\"dirty\"&&!o&&(o={result:m,ctx:f}),f.common.issues.length&&l.push(f.common.issues)}if(o)return n.common.issues.push(...o.ctx.common.issues),o.result;const c=l.map(d=>new Fi(d));return Be(n,{code:Oe.invalid_union,unionErrors:c}),dt}}get options(){return this._def.options}}sh.create=(e,t)=>new sh({options:e,typeName:ft.ZodUnion,...St(t)});function Yg(e,t){const n=bs(e),r=bs(t);if(e===t)return{valid:!0,data:e};if(n===Ye.object&&r===Ye.object){const i=jt.objectKeys(t),o=jt.objectKeys(e).filter(c=>i.indexOf(c)!==-1),l={...e,...t};for(const c of o){const d=Yg(e[c],t[c]);if(!d.valid)return{valid:!1};l[c]=d.data}return{valid:!0,data:l}}else if(n===Ye.array&&r===Ye.array){if(e.length!==t.length)return{valid:!1};const i=[];for(let o=0;o<e.length;o++){const l=e[o],c=t[o],d=Yg(l,c);if(!d.valid)return{valid:!1};i.push(d.data)}return{valid:!0,data:i}}else return n===Ye.date&&r===Ye.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class oh extends Ut{_parse(t){const{status:n,ctx:r}=this._processInputParams(t),i=(o,l)=>{if(Vv(o)||Vv(l))return dt;const c=Yg(o.value,l.value);return c.valid?((Kv(o)||Kv(l))&&n.dirty(),{status:n.value,value:c.data}):(Be(r,{code:Oe.invalid_intersection_types}),dt)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([o,l])=>i(o,l)):i(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}oh.create=(e,t,n)=>new oh({left:e,right:t,typeName:ft.ZodIntersection,...St(n)});class vo extends Ut{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ye.array)return Be(r,{code:Oe.invalid_type,expected:Ye.array,received:r.parsedType}),dt;if(r.data.length<this._def.items.length)return Be(r,{code:Oe.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:\"array\"}),dt;!this._def.rest&&r.data.length>this._def.items.length&&(Be(r,{code:Oe.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:\"array\"}),n.dirty());const o=[...r.data].map((l,c)=>{const d=this._def.items[c]||this._def.rest;return d?d._parse(new Rs(r,l,r.path,c)):null}).filter(l=>!!l);return r.common.async?Promise.all(o).then(l=>Jr.mergeArray(n,l)):Jr.mergeArray(n,o)}get items(){return this._def.items}rest(t){return new vo({...this._def,rest:t})}}vo.create=(e,t)=>{if(!Array.isArray(e))throw new Error(\"You must pass an array of schemas to z.tuple([ ... ])\");return new vo({items:e,typeName:ft.ZodTuple,rest:null,...St(t)})};class tx extends Ut{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ye.map)return Be(r,{code:Oe.invalid_type,expected:Ye.map,received:r.parsedType}),dt;const i=this._def.keyType,o=this._def.valueType,l=[...r.data.entries()].map(([c,d],f)=>({key:i._parse(new Rs(r,c,r.path,[f,\"key\"])),value:o._parse(new Rs(r,d,r.path,[f,\"value\"]))}));if(r.common.async){const c=new Map;return Promise.resolve().then(async()=>{for(const d of l){const f=await d.key,m=await d.value;if(f.status===\"aborted\"||m.status===\"aborted\")return dt;(f.status===\"dirty\"||m.status===\"dirty\")&&n.dirty(),c.set(f.value,m.value)}return{status:n.value,value:c}})}else{const c=new Map;for(const d of l){const f=d.key,m=d.value;if(f.status===\"aborted\"||m.status===\"aborted\")return dt;(f.status===\"dirty\"||m.status===\"dirty\")&&n.dirty(),c.set(f.value,m.value)}return{status:n.value,value:c}}}}tx.create=(e,t,n)=>new tx({valueType:t,keyType:e,typeName:ft.ZodMap,...St(n)});class Lc extends Ut{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==Ye.set)return Be(r,{code:Oe.invalid_type,expected:Ye.set,received:r.parsedType}),dt;const i=this._def;i.minSize!==null&&r.data.size<i.minSize.value&&(Be(r,{code:Oe.too_small,minimum:i.minSize.value,type:\"set\",inclusive:!0,exact:!1,message:i.minSize.message}),n.dirty()),i.maxSize!==null&&r.data.size>i.maxSize.value&&(Be(r,{code:Oe.too_big,maximum:i.maxSize.value,type:\"set\",inclusive:!0,exact:!1,message:i.maxSize.message}),n.dirty());const o=this._def.valueType;function l(d){const f=new Set;for(const m of d){if(m.status===\"aborted\")return dt;m.status===\"dirty\"&&n.dirty(),f.add(m.value)}return{status:n.value,value:f}}const c=[...r.data.values()].map((d,f)=>o._parse(new Rs(r,d,r.path,f)));return r.common.async?Promise.all(c).then(d=>l(d)):l(c)}min(t,n){return new Lc({...this._def,minSize:{value:t,message:We.toString(n)}})}max(t,n){return new Lc({...this._def,maxSize:{value:t,message:We.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}Lc.create=(e,t)=>new Lc({valueType:e,minSize:null,maxSize:null,typeName:ft.ZodSet,...St(t)});class Gg extends Ut{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}Gg.create=(e,t)=>new Gg({getter:e,typeName:ft.ZodLazy,...St(t)});class nx extends Ut{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return Be(n,{received:n.data,code:Oe.invalid_literal,expected:this._def.value}),dt}return{status:\"valid\",value:t.data}}get value(){return this._def.value}}nx.create=(e,t)=>new nx({value:e,typeName:ft.ZodLiteral,...St(t)});function wN(e,t){return new Dl({values:e,typeName:ft.ZodEnum,...St(t)})}class Dl extends Ut{_parse(t){if(typeof t.data!=\"string\"){const n=this._getOrReturnCtx(t),r=this._def.values;return Be(n,{expected:jt.joinValues(r),received:n.parsedType,code:Oe.invalid_type}),dt}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return Be(n,{received:n.data,code:Oe.invalid_enum_value,options:r}),dt}return va(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return Dl.create(t,{...this._def,...n})}exclude(t,n=this._def){return Dl.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}Dl.create=wN;class rx extends Ut{_parse(t){const n=jt.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==Ye.string&&r.parsedType!==Ye.number){const i=jt.objectValues(n);return Be(r,{expected:jt.joinValues(i),received:r.parsedType,code:Oe.invalid_type}),dt}if(this._cache||(this._cache=new Set(jt.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){const i=jt.objectValues(n);return Be(r,{received:r.data,code:Oe.invalid_enum_value,options:i}),dt}return va(t.data)}get enum(){return this._def.values}}rx.create=(e,t)=>new rx({values:e,typeName:ft.ZodNativeEnum,...St(t)});class lh extends Ut{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==Ye.promise&&n.common.async===!1)return Be(n,{code:Oe.invalid_type,expected:Ye.promise,received:n.parsedType}),dt;const r=n.parsedType===Ye.promise?n.data:Promise.resolve(n.data);return va(r.then(i=>this._def.type.parseAsync(i,{path:n.path,errorMap:n.common.contextualErrorMap})))}}lh.create=(e,t)=>new lh({type:e,typeName:ft.ZodPromise,...St(t)});class xo extends Ut{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ft.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),i=this._def.effect||null,o={addIssue:l=>{Be(r,l),l.fatal?n.abort():n.dirty()},get path(){return r.path}};if(o.addIssue=o.addIssue.bind(o),i.type===\"preprocess\"){const l=i.transform(r.data,o);if(r.common.async)return Promise.resolve(l).then(async c=>{if(n.value===\"aborted\")return dt;const d=await this._def.schema._parseAsync({data:c,path:r.path,parent:r});return d.status===\"aborted\"?dt:d.status===\"dirty\"||n.value===\"dirty\"?pc(d.value):d});{if(n.value===\"aborted\")return dt;const c=this._def.schema._parseSync({data:l,path:r.path,parent:r});return c.status===\"aborted\"?dt:c.status===\"dirty\"||n.value===\"dirty\"?pc(c.value):c}}if(i.type===\"refinement\"){const l=c=>{const d=i.refinement(c,o);if(r.common.async)return Promise.resolve(d);if(d instanceof Promise)throw new Error(\"Async refinement encountered during synchronous parse operation. Use .parseAsync instead.\");return c};if(r.common.async===!1){const c=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return c.status===\"aborted\"?dt:(c.status===\"dirty\"&&n.dirty(),l(c.value),{status:n.value,value:c.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(c=>c.status===\"aborted\"?dt:(c.status===\"dirty\"&&n.dirty(),l(c.value).then(()=>({status:n.value,value:c.value}))))}if(i.type===\"transform\")if(r.common.async===!1){const l=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!Ll(l))return dt;const c=i.transform(l.value,o);if(c instanceof Promise)throw new Error(\"Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.\");return{status:n.value,value:c}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(l=>Ll(l)?Promise.resolve(i.transform(l.value,o)).then(c=>({status:n.value,value:c})):dt);jt.assertNever(i)}}xo.create=(e,t,n)=>new xo({schema:e,typeName:ft.ZodEffects,effect:t,...St(n)});xo.createWithPreprocess=(e,t,n)=>new xo({schema:t,effect:{type:\"preprocess\",transform:e},typeName:ft.ZodEffects,...St(n)});class Ts extends Ut{_parse(t){return this._getType(t)===Ye.undefined?va(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Ts.create=(e,t)=>new Ts({innerType:e,typeName:ft.ZodOptional,...St(t)});class Ml extends Ut{_parse(t){return this._getType(t)===Ye.null?va(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Ml.create=(e,t)=>new Ml({innerType:e,typeName:ft.ZodNullable,...St(t)});class Vg extends Ut{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===Ye.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Vg.create=(e,t)=>new Vg({innerType:e,typeName:ft.ZodDefault,defaultValue:typeof t.default==\"function\"?t.default:()=>t.default,...St(t)});class Kg extends Ut{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},i=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return ah(i)?i.then(o=>({status:\"valid\",value:o.status===\"valid\"?o.value:this._def.catchValue({get error(){return new Fi(r.common.issues)},input:r.data})})):{status:\"valid\",value:i.status===\"valid\"?i.value:this._def.catchValue({get error(){return new Fi(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Kg.create=(e,t)=>new Kg({innerType:e,typeName:ft.ZodCatch,catchValue:typeof t.catch==\"function\"?t.catch:()=>t.catch,...St(t)});class ax extends Ut{_parse(t){if(this._getType(t)!==Ye.nan){const r=this._getOrReturnCtx(t);return Be(r,{code:Oe.invalid_type,expected:Ye.nan,received:r.parsedType}),dt}return{status:\"valid\",value:t.data}}}ax.create=e=>new ax({typeName:ft.ZodNaN,...St(e)});class y9 extends Ut{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class NE extends Ut{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const o=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return o.status===\"aborted\"?dt:o.status===\"dirty\"?(n.dirty(),pc(o.value)):this._def.out._parseAsync({data:o.value,path:r.path,parent:r})})();{const i=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return i.status===\"aborted\"?dt:i.status===\"dirty\"?(n.dirty(),{status:\"dirty\",value:i.value}):this._def.out._parseSync({data:i.value,path:r.path,parent:r})}}static create(t,n){return new NE({in:t,out:n,typeName:ft.ZodPipeline})}}class Xg extends Ut{_parse(t){const n=this._def.innerType._parse(t),r=i=>(Ll(i)&&(i.value=Object.freeze(i.value)),i);return ah(n)?n.then(i=>r(i)):r(n)}unwrap(){return this._def.innerType}}Xg.create=(e,t)=>new Xg({innerType:e,typeName:ft.ZodReadonly,...St(t)});var ft;(function(e){e.ZodString=\"ZodString\",e.ZodNumber=\"ZodNumber\",e.ZodNaN=\"ZodNaN\",e.ZodBigInt=\"ZodBigInt\",e.ZodBoolean=\"ZodBoolean\",e.ZodDate=\"ZodDate\",e.ZodSymbol=\"ZodSymbol\",e.ZodUndefined=\"ZodUndefined\",e.ZodNull=\"ZodNull\",e.ZodAny=\"ZodAny\",e.ZodUnknown=\"ZodUnknown\",e.ZodNever=\"ZodNever\",e.ZodVoid=\"ZodVoid\",e.ZodArray=\"ZodArray\",e.ZodObject=\"ZodObject\",e.ZodUnion=\"ZodUnion\",e.ZodDiscriminatedUnion=\"ZodDiscriminatedUnion\",e.ZodIntersection=\"ZodIntersection\",e.ZodTuple=\"ZodTuple\",e.ZodRecord=\"ZodRecord\",e.ZodMap=\"ZodMap\",e.ZodSet=\"ZodSet\",e.ZodFunction=\"ZodFunction\",e.ZodLazy=\"ZodLazy\",e.ZodLiteral=\"ZodLiteral\",e.ZodEnum=\"ZodEnum\",e.ZodEffects=\"ZodEffects\",e.ZodNativeEnum=\"ZodNativeEnum\",e.ZodOptional=\"ZodOptional\",e.ZodNullable=\"ZodNullable\",e.ZodDefault=\"ZodDefault\",e.ZodCatch=\"ZodCatch\",e.ZodPromise=\"ZodPromise\",e.ZodBranded=\"ZodBranded\",e.ZodPipeline=\"ZodPipeline\",e.ZodReadonly=\"ZodReadonly\"})(ft||(ft={}));const wt=ys.create,Yr=Il.create,Wg=$g.create,ir=qg.create;Os.create;const ka=ni.create,kr=Dn.create;sh.create;const _9=oh.create;vo.create;const Cr=Gg.create,wE=Dl.create;lh.create;Ts.create;Ml.create;const La=xo.createWithPreprocess;function Qg(){return{state:\"init\"}}function $h(e){return e.state===\"pending\"}function uh(e=void 0,t=void 0){return{state:\"pending\",progress:e,data:t}}function ar(e){return e.state===\"success\"}function B0(e,t){return{state:\"success\",data:e,headers:t}}function Kl(e){return e.state===\"error\"}function ac(e,t,n){return{state:\"error\",error:e,statusCode:t,request:n}}function oi(){return{state:\"success\"}}function CN(e,t){return function(){return e.apply(t,arguments)}}const{toString:T9}=Object.prototype,{getPrototypeOf:CE}=Object,{iterator:qh,toStringTag:RN}=Symbol,Yh=(e=>t=>{const n=T9.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ua=e=>(e=e.toLowerCase(),t=>Yh(t)===e),Gh=e=>t=>typeof t===e,{isArray:Xl}=Array,Ic=Gh(\"undefined\");function v9(e){return e!==null&&!Ic(e)&&e.constructor!==null&&!Ic(e.constructor)&&Rr(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ON=Ua(\"ArrayBuffer\");function x9(e){let t;return typeof ArrayBuffer<\"u\"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ON(e.buffer),t}const S9=Gh(\"string\"),Rr=Gh(\"function\"),kN=Gh(\"number\"),Vh=e=>e!==null&&typeof e==\"object\",A9=e=>e===!0||e===!1,$f=e=>{if(Yh(e)!==\"object\")return!1;const t=CE(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(RN in e)&&!(qh in e)},N9=Ua(\"Date\"),w9=Ua(\"File\"),C9=Ua(\"Blob\"),R9=Ua(\"FileList\"),O9=e=>Vh(e)&&Rr(e.pipe),k9=e=>{let t;return e&&(typeof FormData==\"function\"&&e instanceof FormData||Rr(e.append)&&((t=Yh(e))===\"formdata\"||t===\"object\"&&Rr(e.toString)&&e.toString()===\"[object FormData]\"))},L9=Ua(\"URLSearchParams\"),[I9,D9,M9,P9]=[\"ReadableStream\",\"Request\",\"Response\",\"Headers\"].map(Ua),B9=e=>e.trim?e.trim():e.replace(/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g,\"\");function Vc(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>\"u\")return;let r,i;if(typeof e!=\"object\"&&(e=[e]),Xl(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),l=o.length;let c;for(r=0;r<l;r++)c=o[r],t.call(null,e[c],c,e)}}function LN(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,i;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const co=typeof globalThis<\"u\"?globalThis:typeof self<\"u\"?self:typeof window<\"u\"?window:global,IN=e=>!Ic(e)&&e!==co;function Zg(){const{caseless:e}=IN(this)&&this||{},t={},n=(r,i)=>{const o=e&&LN(t,i)||i;$f(t[o])&&$f(r)?t[o]=Zg(t[o],r):$f(r)?t[o]=Zg({},r):Xl(r)?t[o]=r.slice():t[o]=r};for(let r=0,i=arguments.length;r<i;r++)arguments[r]&&Vc(arguments[r],n);return t}const U9=(e,t,n,{allOwnKeys:r}={})=>(Vc(t,(i,o)=>{n&&Rr(i)?e[o]=CN(i,n):e[o]=i},{allOwnKeys:r}),e),F9=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),H9=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,\"super\",{value:t.prototype}),n&&Object.assign(e.prototype,n)},j9=(e,t,n,r)=>{let i,o,l;const c={};if(t=t||{},e==null)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)l=i[o],(!r||r(l,e,t))&&!c[l]&&(t[l]=e[l],c[l]=!0);e=n!==!1&&CE(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},z9=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},$9=e=>{if(!e)return null;if(Xl(e))return e;let t=e.length;if(!kN(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},q9=(e=>t=>e&&t instanceof e)(typeof Uint8Array<\"u\"&&CE(Uint8Array)),Y9=(e,t)=>{const r=(e&&e[qh]).call(e);let i;for(;(i=r.next())&&!i.done;){const o=i.value;t.call(e,o[0],o[1])}},G9=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},V9=Ua(\"HTMLFormElement\"),K9=e=>e.toLowerCase().replace(/[-_\\s]([a-z\\d])(\\w*)/g,function(n,r,i){return r.toUpperCase()+i}),ix=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),X9=Ua(\"RegExp\"),DN=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Vc(n,(i,o)=>{let l;(l=t(i,o,e))!==!1&&(r[o]=l||i)}),Object.defineProperties(e,r)},W9=e=>{DN(e,(t,n)=>{if(Rr(e)&&[\"arguments\",\"caller\",\"callee\"].indexOf(n)!==-1)return!1;const r=e[n];if(Rr(r)){if(t.enumerable=!1,\"writable\"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error(\"Can not rewrite read-only method '\"+n+\"'\")})}})},Q9=(e,t)=>{const n={},r=i=>{i.forEach(o=>{n[o]=!0})};return Xl(e)?r(e):r(String(e).split(t)),n},Z9=()=>{},J9=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function e8(e){return!!(e&&Rr(e.append)&&e[RN]===\"FormData\"&&e[qh])}const t8=e=>{const t=new Array(10),n=(r,i)=>{if(Vh(r)){if(t.indexOf(r)>=0)return;if(!(\"toJSON\"in r)){t[i]=r;const o=Xl(r)?[]:{};return Vc(r,(l,c)=>{const d=n(l,i+1);!Ic(d)&&(o[c]=d)}),t[i]=void 0,o}}return r};return n(e,0)},n8=Ua(\"AsyncFunction\"),r8=e=>e&&(Vh(e)||Rr(e))&&Rr(e.then)&&Rr(e.catch),MN=((e,t)=>e?setImmediate:t?((n,r)=>(co.addEventListener(\"message\",({source:i,data:o})=>{i===co&&o===n&&r.length&&r.shift()()},!1),i=>{r.push(i),co.postMessage(n,\"*\")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate==\"function\",Rr(co.postMessage)),a8=typeof queueMicrotask<\"u\"?queueMicrotask.bind(co):typeof process<\"u\"&&process.nextTick||MN,i8=e=>e!=null&&Rr(e[qh]),fe={isArray:Xl,isArrayBuffer:ON,isBuffer:v9,isFormData:k9,isArrayBufferView:x9,isString:S9,isNumber:kN,isBoolean:A9,isObject:Vh,isPlainObject:$f,isReadableStream:I9,isRequest:D9,isResponse:M9,isHeaders:P9,isUndefined:Ic,isDate:N9,isFile:w9,isBlob:C9,isRegExp:X9,isFunction:Rr,isStream:O9,isURLSearchParams:L9,isTypedArray:q9,isFileList:R9,forEach:Vc,merge:Zg,extend:U9,trim:B9,stripBOM:F9,inherits:H9,toFlatObject:j9,kindOf:Yh,kindOfTest:Ua,endsWith:z9,toArray:$9,forEachEntry:Y9,matchAll:G9,isHTMLForm:V9,hasOwnProperty:ix,hasOwnProp:ix,reduceDescriptors:DN,freezeMethods:W9,toObjectSet:Q9,toCamelCase:K9,noop:Z9,toFiniteNumber:J9,findKey:LN,global:co,isContextDefined:IN,isSpecCompliantForm:e8,toJSONObject:t8,isAsyncFn:n8,isThenable:r8,setImmediate:MN,asap:a8,isIterable:i8};function gt(e,t,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name=\"AxiosError\",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status?i.status:null)}fe.inherits(gt,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:fe.toJSONObject(this.config),code:this.code,status:this.status}}});const PN=gt.prototype,BN={};[\"ERR_BAD_OPTION_VALUE\",\"ERR_BAD_OPTION\",\"ECONNABORTED\",\"ETIMEDOUT\",\"ERR_NETWORK\",\"ERR_FR_TOO_MANY_REDIRECTS\",\"ERR_DEPRECATED\",\"ERR_BAD_RESPONSE\",\"ERR_BAD_REQUEST\",\"ERR_CANCELED\",\"ERR_NOT_SUPPORT\",\"ERR_INVALID_URL\"].forEach(e=>{BN[e]={value:e}});Object.defineProperties(gt,BN);Object.defineProperty(PN,\"isAxiosError\",{value:!0});gt.from=(e,t,n,r,i,o)=>{const l=Object.create(PN);return fe.toFlatObject(e,l,function(d){return d!==Error.prototype},c=>c!==\"isAxiosError\"),gt.call(l,e.message,t,n,r,i),l.cause=e,l.name=e.name,o&&Object.assign(l,o),l};const s8=null;function Jg(e){return fe.isPlainObject(e)||fe.isArray(e)}function UN(e){return fe.endsWith(e,\"[]\")?e.slice(0,-2):e}function sx(e,t,n){return e?e.concat(t).map(function(i,o){return i=UN(i),!n&&o?\"[\"+i+\"]\":i}).join(n?\".\":\"\"):t}function o8(e){return fe.isArray(e)&&!e.some(Jg)}const l8=fe.toFlatObject(fe,{},null,function(t){return/^is[A-Z]/.test(t)});function Kh(e,t,n){if(!fe.isObject(e))throw new TypeError(\"target must be an object\");t=t||new FormData,n=fe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,N){return!fe.isUndefined(N[S])});const r=n.metaTokens,i=n.visitor||m,o=n.dots,l=n.indexes,d=(n.Blob||typeof Blob<\"u\"&&Blob)&&fe.isSpecCompliantForm(t);if(!fe.isFunction(i))throw new TypeError(\"visitor must be a function\");function f(x){if(x===null)return\"\";if(fe.isDate(x))return x.toISOString();if(!d&&fe.isBlob(x))throw new gt(\"Blob is not supported. Use a Buffer instead.\");return fe.isArrayBuffer(x)||fe.isTypedArray(x)?d&&typeof Blob==\"function\"?new Blob([x]):Buffer.from(x):x}function m(x,S,N){let v=x;if(x&&!N&&typeof x==\"object\"){if(fe.endsWith(S,\"{}\"))S=r?S:S.slice(0,-2),x=JSON.stringify(x);else if(fe.isArray(x)&&o8(x)||(fe.isFileList(x)||fe.endsWith(S,\"[]\"))&&(v=fe.toArray(x)))return S=UN(S),v.forEach(function(L,B){!(fe.isUndefined(L)||L===null)&&t.append(l===!0?sx([S],B,o):l===null?S:S+\"[]\",f(L))}),!1}return Jg(x)?!0:(t.append(sx(N,S,o),f(x)),!1)}const p=[],E=Object.assign(l8,{defaultVisitor:m,convertValue:f,isVisitable:Jg});function _(x,S){if(!fe.isUndefined(x)){if(p.indexOf(x)!==-1)throw Error(\"Circular reference detected in \"+S.join(\".\"));p.push(x),fe.forEach(x,function(v,O){(!(fe.isUndefined(v)||v===null)&&i.call(t,v,fe.isString(O)?O.trim():O,S,E))===!0&&_(v,S?S.concat(O):[O])}),p.pop()}}if(!fe.isObject(e))throw new TypeError(\"data must be an object\");return _(e),t}function ox(e){const t={\"!\":\"%21\",\"'\":\"%27\",\"(\":\"%28\",\")\":\"%29\",\"~\":\"%7E\",\"%20\":\"+\",\"%00\":\"\\0\"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function RE(e,t){this._pairs=[],e&&Kh(e,this,t)}const FN=RE.prototype;FN.append=function(t,n){this._pairs.push([t,n])};FN.toString=function(t){const n=t?function(r){return t.call(this,r,ox)}:ox;return this._pairs.map(function(i){return n(i[0])+\"=\"+n(i[1])},\"\").join(\"&\")};function u8(e){return encodeURIComponent(e).replace(/%3A/gi,\":\").replace(/%24/g,\"$\").replace(/%2C/gi,\",\").replace(/%20/g,\"+\").replace(/%5B/gi,\"[\").replace(/%5D/gi,\"]\")}function HN(e,t,n){if(!t)return e;const r=n&&n.encode||u8;fe.isFunction(n)&&(n={serialize:n});const i=n&&n.serialize;let o;if(i?o=i(t,n):o=fe.isURLSearchParams(t)?t.toString():new RE(t,n).toString(r),o){const l=e.indexOf(\"#\");l!==-1&&(e=e.slice(0,l)),e+=(e.indexOf(\"?\")===-1?\"?\":\"&\")+o}return e}class lx{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){fe.forEach(this.handlers,function(r){r!==null&&t(r)})}}const jN={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},c8=typeof URLSearchParams<\"u\"?URLSearchParams:RE,d8=typeof FormData<\"u\"?FormData:null,f8=typeof Blob<\"u\"?Blob:null,h8={isBrowser:!0,classes:{URLSearchParams:c8,FormData:d8,Blob:f8},protocols:[\"http\",\"https\",\"file\",\"blob\",\"url\",\"data\"]},OE=typeof window<\"u\"&&typeof document<\"u\",eb=typeof navigator==\"object\"&&navigator||void 0,m8=OE&&(!eb||[\"ReactNative\",\"NativeScript\",\"NS\"].indexOf(eb.product)<0),p8=typeof WorkerGlobalScope<\"u\"&&self instanceof WorkerGlobalScope&&typeof self.importScripts==\"function\",g8=OE&&window.location.href||\"http://localhost\",b8=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:OE,hasStandardBrowserEnv:m8,hasStandardBrowserWebWorkerEnv:p8,navigator:eb,origin:g8},Symbol.toStringTag,{value:\"Module\"})),lr={...b8,...h8};function E8(e,t){return Kh(e,new lr.classes.URLSearchParams,Object.assign({visitor:function(n,r,i,o){return lr.isNode&&fe.isBuffer(n)?(this.append(r,n.toString(\"base64\")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function y8(e){return fe.matchAll(/\\w+|\\[(\\w*)]/g,e).map(t=>t[0]===\"[]\"?\"\":t[1]||t[0])}function _8(e){const t={},n=Object.keys(e);let r;const i=n.length;let o;for(r=0;r<i;r++)o=n[r],t[o]=e[o];return t}function zN(e){function t(n,r,i,o){let l=n[o++];if(l===\"__proto__\")return!0;const c=Number.isFinite(+l),d=o>=n.length;return l=!l&&fe.isArray(i)?i.length:l,d?(fe.hasOwnProp(i,l)?i[l]=[i[l],r]:i[l]=r,!c):((!i[l]||!fe.isObject(i[l]))&&(i[l]=[]),t(n,r,i[l],o)&&fe.isArray(i[l])&&(i[l]=_8(i[l])),!c)}if(fe.isFormData(e)&&fe.isFunction(e.entries)){const n={};return fe.forEachEntry(e,(r,i)=>{t(y8(r),i,n,0)}),n}return null}function T8(e,t,n){if(fe.isString(e))try{return(t||JSON.parse)(e),fe.trim(e)}catch(r){if(r.name!==\"SyntaxError\")throw r}return(n||JSON.stringify)(e)}const Kc={transitional:jN,adapter:[\"xhr\",\"http\",\"fetch\"],transformRequest:[function(t,n){const r=n.getContentType()||\"\",i=r.indexOf(\"application/json\")>-1,o=fe.isObject(t);if(o&&fe.isHTMLForm(t)&&(t=new FormData(t)),fe.isFormData(t))return i?JSON.stringify(zN(t)):t;if(fe.isArrayBuffer(t)||fe.isBuffer(t)||fe.isStream(t)||fe.isFile(t)||fe.isBlob(t)||fe.isReadableStream(t))return t;if(fe.isArrayBufferView(t))return t.buffer;if(fe.isURLSearchParams(t))return n.setContentType(\"application/x-www-form-urlencoded;charset=utf-8\",!1),t.toString();let c;if(o){if(r.indexOf(\"application/x-www-form-urlencoded\")>-1)return E8(t,this.formSerializer).toString();if((c=fe.isFileList(t))||r.indexOf(\"multipart/form-data\")>-1){const d=this.env&&this.env.FormData;return Kh(c?{\"files[]\":t}:t,d&&new d,this.formSerializer)}}return o||i?(n.setContentType(\"application/json\",!1),T8(t)):t}],transformResponse:[function(t){const n=this.transitional||Kc.transitional,r=n&&n.forcedJSONParsing,i=this.responseType===\"json\";if(fe.isResponse(t)||fe.isReadableStream(t))return t;if(t&&fe.isString(t)&&(r&&!this.responseType||i)){const l=!(n&&n.silentJSONParsing)&&i;try{return JSON.parse(t)}catch(c){if(l)throw c.name===\"SyntaxError\"?gt.from(c,gt.ERR_BAD_RESPONSE,this,null,this.response):c}}return t}],timeout:0,xsrfCookieName:\"XSRF-TOKEN\",xsrfHeaderName:\"X-XSRF-TOKEN\",maxContentLength:-1,maxBodyLength:-1,env:{FormData:lr.classes.FormData,Blob:lr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:\"application/json, text/plain, */*\",\"Content-Type\":void 0}}};fe.forEach([\"delete\",\"get\",\"head\",\"post\",\"put\",\"patch\"],e=>{Kc.headers[e]={}});const v8=fe.toObjectSet([\"age\",\"authorization\",\"content-length\",\"content-type\",\"etag\",\"expires\",\"from\",\"host\",\"if-modified-since\",\"if-unmodified-since\",\"last-modified\",\"location\",\"max-forwards\",\"proxy-authorization\",\"referer\",\"retry-after\",\"user-agent\"]),x8=e=>{const t={};let n,r,i;return e&&e.split(`\n`).forEach(function(l){i=l.indexOf(\":\"),n=l.substring(0,i).trim().toLowerCase(),r=l.substring(i+1).trim(),!(!n||t[n]&&v8[n])&&(n===\"set-cookie\"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+\", \"+r:r)}),t},ux=Symbol(\"internals\");function ic(e){return e&&String(e).trim().toLowerCase()}function qf(e){return e===!1||e==null?e:fe.isArray(e)?e.map(qf):String(e)}function S8(e){const t=Object.create(null),n=/([^\\s,;=]+)\\s*(?:=\\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const A8=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function U0(e,t,n,r,i){if(fe.isFunction(r))return r.call(this,t,n);if(i&&(t=n),!!fe.isString(t)){if(fe.isString(r))return t.indexOf(r)!==-1;if(fe.isRegExp(r))return r.test(t)}}function N8(e){return e.trim().toLowerCase().replace(/([a-z\\d])(\\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function w8(e,t){const n=fe.toCamelCase(\" \"+t);[\"get\",\"set\",\"has\"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(i,o,l){return this[r].call(this,t,i,o,l)},configurable:!0})})}let Or=class{constructor(t){t&&this.set(t)}set(t,n,r){const i=this;function o(c,d,f){const m=ic(d);if(!m)throw new Error(\"header name must be a non-empty string\");const p=fe.findKey(i,m);(!p||i[p]===void 0||f===!0||f===void 0&&i[p]!==!1)&&(i[p||d]=qf(c))}const l=(c,d)=>fe.forEach(c,(f,m)=>o(f,m,d));if(fe.isPlainObject(t)||t instanceof this.constructor)l(t,n);else if(fe.isString(t)&&(t=t.trim())&&!A8(t))l(x8(t),n);else if(fe.isObject(t)&&fe.isIterable(t)){let c={},d,f;for(const m of t){if(!fe.isArray(m))throw TypeError(\"Object iterator must return a key-value pair\");c[f=m[0]]=(d=c[f])?fe.isArray(d)?[...d,m[1]]:[d,m[1]]:m[1]}l(c,n)}else t!=null&&o(n,t,r);return this}get(t,n){if(t=ic(t),t){const r=fe.findKey(this,t);if(r){const i=this[r];if(!n)return i;if(n===!0)return S8(i);if(fe.isFunction(n))return n.call(this,i,r);if(fe.isRegExp(n))return n.exec(i);throw new TypeError(\"parser must be boolean|regexp|function\")}}}has(t,n){if(t=ic(t),t){const r=fe.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||U0(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let i=!1;function o(l){if(l=ic(l),l){const c=fe.findKey(r,l);c&&(!n||U0(r,r[c],c,n))&&(delete r[c],i=!0)}}return fe.isArray(t)?t.forEach(o):o(t),i}clear(t){const n=Object.keys(this);let r=n.length,i=!1;for(;r--;){const o=n[r];(!t||U0(this,this[o],o,t,!0))&&(delete this[o],i=!0)}return i}normalize(t){const n=this,r={};return fe.forEach(this,(i,o)=>{const l=fe.findKey(r,o);if(l){n[l]=qf(i),delete n[o];return}const c=t?N8(o):String(o).trim();c!==o&&delete n[o],n[c]=qf(i),r[c]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return fe.forEach(this,(r,i)=>{r!=null&&r!==!1&&(n[i]=t&&fe.isArray(r)?r.join(\", \"):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+\": \"+n).join(`\n`)}getSetCookie(){return this.get(\"set-cookie\")||[]}get[Symbol.toStringTag](){return\"AxiosHeaders\"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(i=>r.set(i)),r}static accessor(t){const r=(this[ux]=this[ux]={accessors:{}}).accessors,i=this.prototype;function o(l){const c=ic(l);r[c]||(w8(i,l),r[c]=!0)}return fe.isArray(t)?t.forEach(o):o(t),this}};Or.accessor([\"Content-Type\",\"Content-Length\",\"Accept\",\"Accept-Encoding\",\"User-Agent\",\"Authorization\"]);fe.reduceDescriptors(Or.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});fe.freezeMethods(Or);function F0(e,t){const n=this||Kc,r=t||n,i=Or.from(r.headers);let o=r.data;return fe.forEach(e,function(c){o=c.call(n,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function $N(e){return!!(e&&e.__CANCEL__)}function Wl(e,t,n){gt.call(this,e??\"canceled\",gt.ERR_CANCELED,t,n),this.name=\"CanceledError\"}fe.inherits(Wl,gt,{__CANCEL__:!0});function qN(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new gt(\"Request failed with status code \"+n.status,[gt.ERR_BAD_REQUEST,gt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function C8(e){const t=/^([-+\\w]{1,25})(:?\\/\\/|:)/.exec(e);return t&&t[1]||\"\"}function R8(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i=0,o=0,l;return t=t!==void 0?t:1e3,function(d){const f=Date.now(),m=r[o];l||(l=f),n[i]=d,r[i]=f;let p=o,E=0;for(;p!==i;)E+=n[p++],p=p%e;if(i=(i+1)%e,i===o&&(o=(o+1)%e),f-l<t)return;const _=m&&f-m;return _?Math.round(E*1e3/_):void 0}}function O8(e,t){let n=0,r=1e3/t,i,o;const l=(f,m=Date.now())=>{n=m,i=null,o&&(clearTimeout(o),o=null),e.apply(null,f)};return[(...f)=>{const m=Date.now(),p=m-n;p>=r?l(f,m):(i=f,o||(o=setTimeout(()=>{o=null,l(i)},r-p)))},()=>i&&l(i)]}const ch=(e,t,n=3)=>{let r=0;const i=R8(50,250);return O8(o=>{const l=o.loaded,c=o.lengthComputable?o.total:void 0,d=l-r,f=i(d),m=l<=c;r=l;const p={loaded:l,total:c,progress:c?l/c:void 0,bytes:d,rate:f||void 0,estimated:f&&c&&m?(c-l)/f:void 0,event:o,lengthComputable:c!=null,[t?\"download\":\"upload\"]:!0};e(p)},n)},cx=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},dx=e=>(...t)=>fe.asap(()=>e(...t)),k8=lr.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,lr.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(lr.origin),lr.navigator&&/(msie|trident)/i.test(lr.navigator.userAgent)):()=>!0,L8=lr.hasStandardBrowserEnv?{write(e,t,n,r,i,o){const l=[e+\"=\"+encodeURIComponent(t)];fe.isNumber(n)&&l.push(\"expires=\"+new Date(n).toGMTString()),fe.isString(r)&&l.push(\"path=\"+r),fe.isString(i)&&l.push(\"domain=\"+i),o===!0&&l.push(\"secure\"),document.cookie=l.join(\"; \")},read(e){const t=document.cookie.match(new RegExp(\"(^|;\\\\s*)(\"+e+\")=([^;]*)\"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,\"\",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function I8(e){return/^([a-z][a-z\\d+\\-.]*:)?\\/\\//i.test(e)}function D8(e,t){return t?e.replace(/\\/?\\/$/,\"\")+\"/\"+t.replace(/^\\/+/,\"\"):e}function YN(e,t,n){let r=!I8(t);return e&&(r||n==!1)?D8(e,t):t}const fx=e=>e instanceof Or?{...e}:e;function So(e,t){t=t||{};const n={};function r(f,m,p,E){return fe.isPlainObject(f)&&fe.isPlainObject(m)?fe.merge.call({caseless:E},f,m):fe.isPlainObject(m)?fe.merge({},m):fe.isArray(m)?m.slice():m}function i(f,m,p,E){if(fe.isUndefined(m)){if(!fe.isUndefined(f))return r(void 0,f,p,E)}else return r(f,m,p,E)}function o(f,m){if(!fe.isUndefined(m))return r(void 0,m)}function l(f,m){if(fe.isUndefined(m)){if(!fe.isUndefined(f))return r(void 0,f)}else return r(void 0,m)}function c(f,m,p){if(p in t)return r(f,m);if(p in e)return r(void 0,f)}const d={url:o,method:o,data:o,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:c,headers:(f,m,p)=>i(fx(f),fx(m),p,!0)};return fe.forEach(Object.keys(Object.assign({},e,t)),function(m){const p=d[m]||i,E=p(e[m],t[m],m);fe.isUndefined(E)&&p!==c||(n[m]=E)}),n}const GN=e=>{const t=So({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:o,headers:l,auth:c}=t;t.headers=l=Or.from(l),t.url=HN(YN(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),c&&l.set(\"Authorization\",\"Basic \"+btoa((c.username||\"\")+\":\"+(c.password?unescape(encodeURIComponent(c.password)):\"\")));let d;if(fe.isFormData(n)){if(lr.hasStandardBrowserEnv||lr.hasStandardBrowserWebWorkerEnv)l.setContentType(void 0);else if((d=l.getContentType())!==!1){const[f,...m]=d?d.split(\";\").map(p=>p.trim()).filter(Boolean):[];l.setContentType([f||\"multipart/form-data\",...m].join(\"; \"))}}if(lr.hasStandardBrowserEnv&&(r&&fe.isFunction(r)&&(r=r(t)),r||r!==!1&&k8(t.url))){const f=i&&o&&L8.read(o);f&&l.set(i,f)}return t},M8=typeof XMLHttpRequest<\"u\",P8=M8&&function(e){return new Promise(function(n,r){const i=GN(e);let o=i.data;const l=Or.from(i.headers).normalize();let{responseType:c,onUploadProgress:d,onDownloadProgress:f}=i,m,p,E,_,x;function S(){_&&_(),x&&x(),i.cancelToken&&i.cancelToken.unsubscribe(m),i.signal&&i.signal.removeEventListener(\"abort\",m)}let N=new XMLHttpRequest;N.open(i.method.toUpperCase(),i.url,!0),N.timeout=i.timeout;function v(){if(!N)return;const L=Or.from(\"getAllResponseHeaders\"in N&&N.getAllResponseHeaders()),k={data:!c||c===\"text\"||c===\"json\"?N.responseText:N.response,status:N.status,statusText:N.statusText,headers:L,config:e,request:N};qN(function(U){n(U),S()},function(U){r(U),S()},k),N=null}\"onloadend\"in N?N.onloadend=v:N.onreadystatechange=function(){!N||N.readyState!==4||N.status===0&&!(N.responseURL&&N.responseURL.indexOf(\"file:\")===0)||setTimeout(v)},N.onabort=function(){N&&(r(new gt(\"Request aborted\",gt.ECONNABORTED,e,N)),N=null)},N.onerror=function(){r(new gt(\"Network Error\",gt.ERR_NETWORK,e,N)),N=null},N.ontimeout=function(){let B=i.timeout?\"timeout of \"+i.timeout+\"ms exceeded\":\"timeout exceeded\";const k=i.transitional||jN;i.timeoutErrorMessage&&(B=i.timeoutErrorMessage),r(new gt(B,k.clarifyTimeoutError?gt.ETIMEDOUT:gt.ECONNABORTED,e,N)),N=null},o===void 0&&l.setContentType(null),\"setRequestHeader\"in N&&fe.forEach(l.toJSON(),function(B,k){N.setRequestHeader(k,B)}),fe.isUndefined(i.withCredentials)||(N.withCredentials=!!i.withCredentials),c&&c!==\"json\"&&(N.responseType=i.responseType),f&&([E,x]=ch(f,!0),N.addEventListener(\"progress\",E)),d&&N.upload&&([p,_]=ch(d),N.upload.addEventListener(\"progress\",p),N.upload.addEventListener(\"loadend\",_)),(i.cancelToken||i.signal)&&(m=L=>{N&&(r(!L||L.type?new Wl(null,e,N):L),N.abort(),N=null)},i.cancelToken&&i.cancelToken.subscribe(m),i.signal&&(i.signal.aborted?m():i.signal.addEventListener(\"abort\",m)));const O=C8(i.url);if(O&&lr.protocols.indexOf(O)===-1){r(new gt(\"Unsupported protocol \"+O+\":\",gt.ERR_BAD_REQUEST,e));return}N.send(o||null)})},B8=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,i;const o=function(f){if(!i){i=!0,c();const m=f instanceof Error?f:this.reason;r.abort(m instanceof gt?m:new Wl(m instanceof Error?m.message:m))}};let l=t&&setTimeout(()=>{l=null,o(new gt(`timeout ${t} of ms exceeded`,gt.ETIMEDOUT))},t);const c=()=>{e&&(l&&clearTimeout(l),l=null,e.forEach(f=>{f.unsubscribe?f.unsubscribe(o):f.removeEventListener(\"abort\",o)}),e=null)};e.forEach(f=>f.addEventListener(\"abort\",o));const{signal:d}=r;return d.unsubscribe=()=>fe.asap(c),d}},U8=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,i;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},F8=async function*(e,t){for await(const n of H8(e))yield*U8(n,t)},H8=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},hx=(e,t,n,r)=>{const i=F8(e,t);let o=0,l,c=d=>{l||(l=!0,r&&r(d))};return new ReadableStream({async pull(d){try{const{done:f,value:m}=await i.next();if(f){c(),d.close();return}let p=m.byteLength;if(n){let E=o+=p;n(E)}d.enqueue(new Uint8Array(m))}catch(f){throw c(f),f}},cancel(d){return c(d),i.return()}},{highWaterMark:2})},Xh=typeof fetch==\"function\"&&typeof Request==\"function\"&&typeof Response==\"function\",VN=Xh&&typeof ReadableStream==\"function\",j8=Xh&&(typeof TextEncoder==\"function\"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),KN=(e,...t)=>{try{return!!e(...t)}catch{return!1}},z8=VN&&KN(()=>{let e=!1;const t=new Request(lr.origin,{body:new ReadableStream,method:\"POST\",get duplex(){return e=!0,\"half\"}}).headers.has(\"Content-Type\");return e&&!t}),mx=64*1024,tb=VN&&KN(()=>fe.isReadableStream(new Response(\"\").body)),dh={stream:tb&&(e=>e.body)};Xh&&(e=>{[\"text\",\"arrayBuffer\",\"blob\",\"formData\",\"stream\"].forEach(t=>{!dh[t]&&(dh[t]=fe.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new gt(`Response type '${t}' is not supported`,gt.ERR_NOT_SUPPORT,r)})})})(new Response);const $8=async e=>{if(e==null)return 0;if(fe.isBlob(e))return e.size;if(fe.isSpecCompliantForm(e))return(await new Request(lr.origin,{method:\"POST\",body:e}).arrayBuffer()).byteLength;if(fe.isArrayBufferView(e)||fe.isArrayBuffer(e))return e.byteLength;if(fe.isURLSearchParams(e)&&(e=e+\"\"),fe.isString(e))return(await j8(e)).byteLength},q8=async(e,t)=>{const n=fe.toFiniteNumber(e.getContentLength());return n??$8(t)},Y8=Xh&&(async e=>{let{url:t,method:n,data:r,signal:i,cancelToken:o,timeout:l,onDownloadProgress:c,onUploadProgress:d,responseType:f,headers:m,withCredentials:p=\"same-origin\",fetchOptions:E}=GN(e);f=f?(f+\"\").toLowerCase():\"text\";let _=B8([i,o&&o.toAbortSignal()],l),x;const S=_&&_.unsubscribe&&(()=>{_.unsubscribe()});let N;try{if(d&&z8&&n!==\"get\"&&n!==\"head\"&&(N=await q8(m,r))!==0){let k=new Request(t,{method:\"POST\",body:r,duplex:\"half\"}),w;if(fe.isFormData(r)&&(w=k.headers.get(\"content-type\"))&&m.setContentType(w),k.body){const[U,j]=cx(N,ch(dx(d)));r=hx(k.body,mx,U,j)}}fe.isString(p)||(p=p?\"include\":\"omit\");const v=\"credentials\"in Request.prototype;x=new Request(t,{...E,signal:_,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:\"half\",credentials:v?p:void 0});let O=await fetch(x);const L=tb&&(f===\"stream\"||f===\"response\");if(tb&&(c||L&&S)){const k={};[\"status\",\"statusText\",\"headers\"].forEach(F=>{k[F]=O[F]});const w=fe.toFiniteNumber(O.headers.get(\"content-length\")),[U,j]=c&&cx(w,ch(dx(c),!0))||[];O=new Response(hx(O.body,mx,U,()=>{j&&j(),S&&S()}),k)}f=f||\"text\";let B=await dh[fe.findKey(dh,f)||\"text\"](O,e);return!L&&S&&S(),await new Promise((k,w)=>{qN(k,w,{data:B,headers:Or.from(O.headers),status:O.status,statusText:O.statusText,config:e,request:x})})}catch(v){throw S&&S(),v&&v.name===\"TypeError\"&&/Load failed|fetch/i.test(v.message)?Object.assign(new gt(\"Network Error\",gt.ERR_NETWORK,e,x),{cause:v.cause||v}):gt.from(v,v&&v.code,e,x)}}),nb={http:s8,xhr:P8,fetch:Y8};fe.forEach(nb,(e,t)=>{if(e){try{Object.defineProperty(e,\"name\",{value:t})}catch{}Object.defineProperty(e,\"adapterName\",{value:t})}});const px=e=>`- ${e}`,G8=e=>fe.isFunction(e)||e===null||e===!1,XN={getAdapter:e=>{e=fe.isArray(e)?e:[e];const{length:t}=e;let n,r;const i={};for(let o=0;o<t;o++){n=e[o];let l;if(r=n,!G8(n)&&(r=nb[(l=String(n)).toLowerCase()],r===void 0))throw new gt(`Unknown adapter '${l}'`);if(r)break;i[l||\"#\"+o]=r}if(!r){const o=Object.entries(i).map(([c,d])=>`adapter ${c} `+(d===!1?\"is not supported by the environment\":\"is not available in the build\"));let l=t?o.length>1?`since :\n`+o.map(px).join(`\n`):\" \"+px(o[0]):\"as no adapter specified\";throw new gt(\"There is no suitable adapter to dispatch the request \"+l,\"ERR_NOT_SUPPORT\")}return r},adapters:nb};function H0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Wl(null,e)}function gx(e){return H0(e),e.headers=Or.from(e.headers),e.data=F0.call(e,e.transformRequest),[\"post\",\"put\",\"patch\"].indexOf(e.method)!==-1&&e.headers.setContentType(\"application/x-www-form-urlencoded\",!1),XN.getAdapter(e.adapter||Kc.adapter)(e).then(function(r){return H0(e),r.data=F0.call(e,e.transformResponse,r),r.headers=Or.from(r.headers),r},function(r){return $N(r)||(H0(e),r&&r.response&&(r.response.data=F0.call(e,e.transformResponse,r.response),r.response.headers=Or.from(r.response.headers))),Promise.reject(r)})}const WN=\"1.9.0\",Wh={};[\"object\",\"boolean\",\"number\",\"function\",\"string\",\"symbol\"].forEach((e,t)=>{Wh[e]=function(r){return typeof r===e||\"a\"+(t<1?\"n \":\" \")+e}});const bx={};Wh.transitional=function(t,n,r){function i(o,l){return\"[Axios v\"+WN+\"] Transitional option '\"+o+\"'\"+l+(r?\". \"+r:\"\")}return(o,l,c)=>{if(t===!1)throw new gt(i(l,\" has been removed\"+(n?\" in \"+n:\"\")),gt.ERR_DEPRECATED);return n&&!bx[l]&&(bx[l]=!0,console.warn(i(l,\" has been deprecated since v\"+n+\" and will be removed in the near future\"))),t?t(o,l,c):!0}};Wh.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function V8(e,t,n){if(typeof e!=\"object\")throw new gt(\"options must be an object\",gt.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const o=r[i],l=t[o];if(l){const c=e[o],d=c===void 0||l(c,o,e);if(d!==!0)throw new gt(\"option \"+o+\" must be \"+d,gt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new gt(\"Unknown option \"+o,gt.ERR_BAD_OPTION)}}const Yf={assertOptions:V8,validators:Wh},Ga=Yf.validators;let mo=class{constructor(t){this.defaults=t||{},this.interceptors={request:new lx,response:new lx}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let i={};Error.captureStackTrace?Error.captureStackTrace(i):i=new Error;const o=i.stack?i.stack.replace(/^.+\\n/,\"\"):\"\";try{r.stack?o&&!String(r.stack).endsWith(o.replace(/^.+\\n.+\\n/,\"\"))&&(r.stack+=`\n`+o):r.stack=o}catch{}}throw r}}_request(t,n){typeof t==\"string\"?(n=n||{},n.url=t):n=t||{},n=So(this.defaults,n);const{transitional:r,paramsSerializer:i,headers:o}=n;r!==void 0&&Yf.assertOptions(r,{silentJSONParsing:Ga.transitional(Ga.boolean),forcedJSONParsing:Ga.transitional(Ga.boolean),clarifyTimeoutError:Ga.transitional(Ga.boolean)},!1),i!=null&&(fe.isFunction(i)?n.paramsSerializer={serialize:i}:Yf.assertOptions(i,{encode:Ga.function,serialize:Ga.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),Yf.assertOptions(n,{baseUrl:Ga.spelling(\"baseURL\"),withXsrfToken:Ga.spelling(\"withXSRFToken\")},!0),n.method=(n.method||this.defaults.method||\"get\").toLowerCase();let l=o&&fe.merge(o.common,o[n.method]);o&&fe.forEach([\"delete\",\"get\",\"head\",\"post\",\"put\",\"patch\",\"common\"],x=>{delete o[x]}),n.headers=Or.concat(l,o);const c=[];let d=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen==\"function\"&&S.runWhen(n)===!1||(d=d&&S.synchronous,c.unshift(S.fulfilled,S.rejected))});const f=[];this.interceptors.response.forEach(function(S){f.push(S.fulfilled,S.rejected)});let m,p=0,E;if(!d){const x=[gx.bind(this),void 0];for(x.unshift.apply(x,c),x.push.apply(x,f),E=x.length,m=Promise.resolve(n);p<E;)m=m.then(x[p++],x[p++]);return m}E=c.length;let _=n;for(p=0;p<E;){const x=c[p++],S=c[p++];try{_=x(_)}catch(N){S.call(this,N);break}}try{m=gx.call(this,_)}catch(x){return Promise.reject(x)}for(p=0,E=f.length;p<E;)m=m.then(f[p++],f[p++]);return m}getUri(t){t=So(this.defaults,t);const n=YN(t.baseURL,t.url,t.allowAbsoluteUrls);return HN(n,t.params,t.paramsSerializer)}};fe.forEach([\"delete\",\"get\",\"head\",\"options\"],function(t){mo.prototype[t]=function(n,r){return this.request(So(r||{},{method:t,url:n,data:(r||{}).data}))}});fe.forEach([\"post\",\"put\",\"patch\"],function(t){function n(r){return function(o,l,c){return this.request(So(c||{},{method:t,headers:r?{\"Content-Type\":\"multipart/form-data\"}:{},url:o,data:l}))}}mo.prototype[t]=n(),mo.prototype[t+\"Form\"]=n(!0)});let K8=class QN{constructor(t){if(typeof t!=\"function\")throw new TypeError(\"executor must be a function.\");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(i=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](i);r._listeners=null}),this.promise.then=i=>{let o;const l=new Promise(c=>{r.subscribe(c),o=c}).then(i);return l.cancel=function(){r.unsubscribe(o)},l},t(function(o,l,c){r.reason||(r.reason=new Wl(o,l,c),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new QN(function(i){t=i}),cancel:t}}};function X8(e){return function(n){return e.apply(null,n)}}function W8(e){return fe.isObject(e)&&e.isAxiosError===!0}const rb={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(rb).forEach(([e,t])=>{rb[t]=e});function ZN(e){const t=new mo(e),n=CN(mo.prototype.request,t);return fe.extend(n,mo.prototype,t,{allOwnKeys:!0}),fe.extend(n,t,null,{allOwnKeys:!0}),n.create=function(i){return ZN(So(e,i))},n}const _n=ZN(Kc);_n.Axios=mo;_n.CanceledError=Wl;_n.CancelToken=K8;_n.isCancel=$N;_n.VERSION=WN;_n.toFormData=Kh;_n.AxiosError=gt;_n.Cancel=_n.CanceledError;_n.all=function(t){return Promise.all(t)};_n.spread=X8;_n.isAxiosError=W8;_n.mergeConfig=So;_n.AxiosHeaders=Or;_n.formToJSON=e=>zN(fe.isHTMLForm(e)?new FormData(e):e);_n.getAdapter=XN.getAdapter;_n.HttpStatusCode=rb;_n.default=_n;const{Axios:uW,AxiosError:cW,CanceledError:dW,isCancel:fW,CancelToken:hW,VERSION:mW,all:pW,Cancel:gW,isAxiosError:Q8,spread:bW,toFormData:EW,AxiosHeaders:yW,HttpStatusCode:_W,formToJSON:TW,getAdapter:vW,mergeConfig:xW}=_n;var Gf={exports:{}},Z8=Gf.exports,Ex;function J8(){return Ex||(Ex=1,function(e){(function(t,n){e.exports?e.exports=n():t.log=n()})(Z8,function(){var t=function(){},n=\"undefined\",r=typeof window!==n&&typeof window.navigator!==n&&/Trident\\/|MSIE /.test(window.navigator.userAgent),i=[\"trace\",\"debug\",\"info\",\"warn\",\"error\"],o={},l=null;function c(S,N){var v=S[N];if(typeof v.bind==\"function\")return v.bind(S);try{return Function.prototype.bind.call(v,S)}catch{return function(){return Function.prototype.apply.apply(v,[S,arguments])}}}function d(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function f(S){return S===\"debug\"&&(S=\"log\"),typeof console===n?!1:S===\"trace\"&&r?d:console[S]!==void 0?c(console,S):console.log!==void 0?c(console,\"log\"):t}function m(){for(var S=this.getLevel(),N=0;N<i.length;N++){var v=i[N];this[v]=N<S?t:this.methodFactory(v,S,this.name)}if(this.log=this.debug,typeof console===n&&S<this.levels.SILENT)return\"No console available for logging\"}function p(S){return function(){typeof console!==n&&(m.call(this),this[S].apply(this,arguments))}}function E(S,N,v){return f(S)||p.apply(this,arguments)}function _(S,N){var v=this,O,L,B,k=\"loglevel\";typeof S==\"string\"?k+=\":\"+S:typeof S==\"symbol\"&&(k=void 0);function w(J){var X=(i[J]||\"silent\").toUpperCase();if(!(typeof window===n||!k)){try{window.localStorage[k]=X;return}catch{}try{window.document.cookie=encodeURIComponent(k)+\"=\"+X+\";\"}catch{}}}function U(){var J;if(!(typeof window===n||!k)){try{J=window.localStorage[k]}catch{}if(typeof J===n)try{var X=window.document.cookie,V=encodeURIComponent(k),ne=X.indexOf(V+\"=\");ne!==-1&&(J=/^([^;]+)/.exec(X.slice(ne+V.length+1))[1])}catch{}return v.levels[J]===void 0&&(J=void 0),J}}function j(){if(!(typeof window===n||!k)){try{window.localStorage.removeItem(k)}catch{}try{window.document.cookie=encodeURIComponent(k)+\"=; expires=Thu, 01 Jan 1970 00:00:00 UTC\"}catch{}}}function F(J){var X=J;if(typeof X==\"string\"&&v.levels[X.toUpperCase()]!==void 0&&(X=v.levels[X.toUpperCase()]),typeof X==\"number\"&&X>=0&&X<=v.levels.SILENT)return X;throw new TypeError(\"log.setLevel() called with invalid level: \"+J)}v.name=S,v.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},v.methodFactory=N||E,v.getLevel=function(){return B??L??O},v.setLevel=function(J,X){return B=F(J),X!==!1&&w(B),m.call(v)},v.setDefaultLevel=function(J){L=F(J),U()||v.setLevel(J,!1)},v.resetLevel=function(){B=null,j(),m.call(v)},v.enableAll=function(J){v.setLevel(v.levels.TRACE,J)},v.disableAll=function(J){v.setLevel(v.levels.SILENT,J)},v.rebuild=function(){if(l!==v&&(O=F(l.getLevel())),m.call(v),l===v)for(var J in o)o[J].rebuild()},O=F(l?l.getLevel():\"WARN\");var M=U();M!=null&&(B=F(M)),m.call(v)}l=new _,l.getLogger=function(N){if(typeof N!=\"symbol\"&&typeof N!=\"string\"||N===\"\")throw new TypeError(\"You must supply a name when creating a logger.\");var v=o[N];return v||(v=o[N]=new _(N,l.methodFactory)),v};var x=typeof window!==n?window.log:void 0;return l.noConflict=function(){return typeof window!==n&&window.log===l&&(window.log=x),l},l.getLoggers=function(){return o},l.default=l,l})}(Gf)),Gf.exports}var eB=J8();const Ka=zl(eB),j0={},tB=typeof import.meta<\"u\"?j0==null?void 0:j0.VITE_LOG_LEVEL:void 0,nB=typeof localStorage<\"u\"?localStorage.getItem(\"LOG_LEVEL\"):null,rB=tB??nB??\"error\";Ka.setLevel(rB);typeof window<\"u\"&&(window.setLogLevel=e=>{Ka.setLevel(e);try{localStorage.setItem(\"LOG_LEVEL\",String(e))}catch{}console.log(`✏️ loglevel set to '${e}'`)});const oo={info:(e,t)=>t?Ka.info(e,t):Ka.info(e),warn:(e,t)=>t?Ka.warn(e,t):Ka.warn(e),error:(e,t)=>t?Ka.error(e,t):Ka.error(e),debug:(e,t)=>t?Ka.debug(e,t):Ka.debug(e)};class yx extends Error{constructor(t,n){super(t),this.name=\"ParseError\",this.type=n.type,this.field=n.field,this.value=n.value,this.line=n.line}}function z0(e){}function aB(e){if(typeof e==\"function\")throw new TypeError(\"`callbacks` must be an object, got a function instead. Did you mean `{onEvent: fn}`?\");const{onEvent:t=z0,onError:n=z0,onRetry:r=z0,onComment:i}=e;let o=\"\",l=!0,c,d=\"\",f=\"\";function m(S){const N=l?S.replace(/^\\xEF\\xBB\\xBF/,\"\"):S,[v,O]=iB(`${o}${N}`);for(const L of v)p(L);o=O,l=!1}function p(S){if(S===\"\"){_();return}if(S.startsWith(\":\")){i&&i(S.slice(S.startsWith(\": \")?2:1));return}const N=S.indexOf(\":\");if(N!==-1){const v=S.slice(0,N),O=S[N+1]===\" \"?2:1,L=S.slice(N+O);E(v,L,S);return}E(S,\"\",S)}function E(S,N,v){switch(S){case\"event\":f=N;break;case\"data\":d=`${d}${N}\n`;break;case\"id\":c=N.includes(\"\\0\")?void 0:N;break;case\"retry\":/^\\d+$/.test(N)?r(parseInt(N,10)):n(new yx(`Invalid \\`retry\\` value: \"${N}\"`,{type:\"invalid-retry\",value:N,line:v}));break;default:n(new yx(`Unknown field \"${S.length>20?`${S.slice(0,20)}…`:S}\"`,{type:\"unknown-field\",field:S,value:N,line:v}));break}}function _(){d.length>0&&t({id:c,event:f||void 0,data:d.endsWith(`\n`)?d.slice(0,-1):d}),c=void 0,d=\"\",f=\"\"}function x(S={}){o&&S.consume&&p(o),l=!0,c=void 0,d=\"\",f=\"\",o=\"\"}return{feed:m,reset:x}}function iB(e){const t=[];let n=\"\",r=0;for(;r<e.length;){const i=e.indexOf(\"\\r\",r),o=e.indexOf(`\n`,r);let l=-1;if(i!==-1&&o!==-1?l=Math.min(i,o):i!==-1?l=i:o!==-1&&(l=o),l===-1){n=e.slice(r);break}else{const c=e.slice(r,l);t.push(c),r=l+1,e[r-1]===\"\\r\"&&e[r]===`\n`&&r++}}return[t,n]}let kE=A.createContext({state:{},filteredState:{},dispatch(){},configs:{},async execute(){}});function sB(e,t){return{...e,[`${t.source}:${t.operation}:${t.key}`]:t.state}}function oB(e,t){const n=_n.create({...e??{},...t??{}});async function r(o){var c,d;let l=await((c=e==null?void 0:e.requestInterceptor)==null?void 0:c.call(e,o))??o;return((d=t==null?void 0:t.requestInterceptor)==null?void 0:d.call(t,l))??l}async function i(o){var c,d;let l=await((c=e==null?void 0:e.responseInterceptor)==null?void 0:c.call(e,o))??o;return((d=t==null?void 0:t.responseInterceptor)==null?void 0:d.call(t,l))??l}return n.interceptors.request.use(r),n.interceptors.response.use(i,o=>Promise.reject(o)),n}function lB({children:e,configs:t={}}){const[n,r]=A.useReducer(sB,{}),i=A.useMemo(()=>({deamon_api:oB(t.defaults,t.deamon_api)}),[t]),o=A.useMemo(()=>{async function l(c,d,f,m){var p,E,_,x,S;try{d(uh());let N=await i[c.source].request(c);if(N.status>=200&&N.status<300)if((E=(p=N.headers)==null?void 0:p[\"content-type\"])!=null&&E.includes(\"text/event-stream\")){const v=N.data.getReader(),O=new TextDecoder;let L;const B=aB({onEvent(k){let w=k.data;try{let U=JSON.parse(w);if(f){let j=f.safeParse(U);if(!j.success){d(ac(j.error.issues,N.status,c));return}U=j.data}w=U}catch(U){oo.error(U)}L=w,Cl.flushSync(()=>d(uh(void 0,w)))}});for(;;){let{done:k,value:w}=await v.read();if(k){Cl.flushSync(()=>d(B0(L,N.headers)));break}B.feed(O.decode(w,{stream:!0}))}}else if(f){let v=f.safeParse(N.data);if(!v.success){d(ac(v.error.issues,N.status,c));return}d(B0(v.data,N.headers))}else d(B0(N.data,N.headers));else{let{data:v,error:O}=(m==null?void 0:m.safeParse(N.data??{}))??{};d(ac(v??N.data??N.statusText,N.status))}}catch(N){if(Q8(N)){let{data:v,error:O}=(m==null?void 0:m.safeParse(((_=N.response)==null?void 0:_.data)??{}))??{};d(ac(v??((x=N.response)==null?void 0:x.data),(S=N.response)==null?void 0:S.status,c))}else d(ac(N))}}return{state:n,dispatch:r,filteredState:n,configs:t,execute:l}},[n,i]);return b.jsx(kE.Provider,{value:o,children:e})}function li({key:e,operation:t,source:n,schema:r,errorSchema:i,debounceDelay:o}){var S;const l=A.useContext(kE),[c,d]=A.useState(),f=A.useMemo(()=>{var N,v;return oo.info(`Updating status ${e} ${t} ${n}`),oo.debug(\"<=\",(N=l.state)==null?void 0:N[`${n}:${t}:${e}`]),((v=l.state)==null?void 0:v[`${n}:${t}:${e}`])??Qg()},[JSON.stringify((S=l.state)==null?void 0:S[`${n}:${t}:${e}`])]),m=A.useCallback(N=>{l.dispatch({key:e,operation:t,source:n,state:N})},[e,t,n,l.dispatch]),p=A.useMemo(()=>{var N,v;return o??((v=(N=l.configs)==null?void 0:N[n])==null?void 0:v.debounceDelay)??0},[l.configs,o,n]),E=A.useCallback(async N=>{oo.info(`Executing request ${e} ${t} ${n}`),oo.debug(\"=>\",N);let v=new AbortController;d(v);let O={...N,onUploadProgress(L){var B;m(uh({type:\"upload\",loaded:L.loaded,total:L.total})),(B=N.onUploadProgress)==null||B.call(N,L)},onDownloadProgress(L){var B;m(uh({type:\"download\",loaded:L.loaded,total:L.total})),(B=N.onDownloadProgress)==null||B.call(N,L)},signal:v.signal};await l.execute(O,m,r,i)},[f,l.dispatch,_n]),_=A.useMemo(()=>cB(E,p??0),[E]),x=A.useCallback(()=>{oo.info(`Clearing request ${e} ${t} ${n}`),m(Qg()),d(N=>{oo.info(`Aborting request ${e} ${t} ${n}`),N==null||N.abort()})},[m,c]);return[f,_,x,m]}function uB({schema:e,errorSchema:t}){const n=A.useContext(kE),r=A.useRef(null),i=A.useCallback(async l=>{var d;(d=r.current)==null||d.abort();const c=new AbortController;return r.current=c,new Promise((f,m)=>{n.execute({...l,signal:c.signal},p=>{ar(p)?f(p.data):Kl(p)&&m(p.error)},e,t)})},[n,e,t]),o=A.useCallback(()=>{var l;(l=r.current)==null||l.abort()},[]);return[i,o]}function cB(e,t){let n;return(...r)=>{n&&clearTimeout(n),n=setTimeout(()=>{e(...r)},t)}}var $0={},q0={},_x;function LE(){return _x||(_x=1,function(e){const t=\":A-Za-z_\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\",n=t+\"\\\\-.\\\\d\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040\",r=\"[\"+t+\"][\"+n+\"]*\",i=new RegExp(\"^\"+r+\"$\"),o=function(c,d){const f=[];let m=d.exec(c);for(;m;){const p=[];p.startIndex=d.lastIndex-m[0].length;const E=m.length;for(let _=0;_<E;_++)p.push(m[_]);f.push(p),m=d.exec(c)}return f},l=function(c){const d=i.exec(c);return!(d===null||typeof d>\"u\")};e.isExist=function(c){return typeof c<\"u\"},e.isEmptyObject=function(c){return Object.keys(c).length===0},e.merge=function(c,d,f){if(d){const m=Object.keys(d),p=m.length;for(let E=0;E<p;E++)f===\"strict\"?c[m[E]]=[d[m[E]]]:c[m[E]]=d[m[E]]}},e.getValue=function(c){return e.isExist(c)?c:\"\"},e.isName=l,e.getAllMatches=o,e.nameRegexp=r}(q0)),q0}var Tx;function JN(){if(Tx)return $0;Tx=1;const e=LE(),t={allowBooleanAttributes:!1,unpairedTags:[]};$0.validate=function(v,O){O=Object.assign({},t,O);const L=[];let B=!1,k=!1;v[0]===\"\\uFEFF\"&&(v=v.substr(1));for(let w=0;w<v.length;w++)if(v[w]===\"<\"&&v[w+1]===\"?\"){if(w+=2,w=r(v,w),w.err)return w}else if(v[w]===\"<\"){let U=w;if(w++,v[w]===\"!\"){w=i(v,w);continue}else{let j=!1;v[w]===\"/\"&&(j=!0,w++);let F=\"\";for(;w<v.length&&v[w]!==\">\"&&v[w]!==\" \"&&v[w]!==\"\t\"&&v[w]!==`\n`&&v[w]!==\"\\r\";w++)F+=v[w];if(F=F.trim(),F[F.length-1]===\"/\"&&(F=F.substring(0,F.length-1),w--),!x(F)){let X;return F.trim().length===0?X=\"Invalid space after '<'.\":X=\"Tag '\"+F+\"' is an invalid name.\",E(\"InvalidTag\",X,S(v,w))}const M=c(v,w);if(M===!1)return E(\"InvalidAttr\",\"Attributes for '\"+F+\"' have open quote.\",S(v,w));let J=M.value;if(w=M.index,J[J.length-1]===\"/\"){const X=w-J.length;J=J.substring(0,J.length-1);const V=f(J,O);if(V===!0)B=!0;else return E(V.err.code,V.err.msg,S(v,X+V.err.line))}else if(j)if(M.tagClosed){if(J.trim().length>0)return E(\"InvalidTag\",\"Closing tag '\"+F+\"' can't have attributes or invalid starting.\",S(v,U));if(L.length===0)return E(\"InvalidTag\",\"Closing tag '\"+F+\"' has not been opened.\",S(v,U));{const X=L.pop();if(F!==X.tagName){let V=S(v,X.tagStartPos);return E(\"InvalidTag\",\"Expected closing tag '\"+X.tagName+\"' (opened in line \"+V.line+\", col \"+V.col+\") instead of closing tag '\"+F+\"'.\",S(v,U))}L.length==0&&(k=!0)}}else return E(\"InvalidTag\",\"Closing tag '\"+F+\"' doesn't have proper closing.\",S(v,w));else{const X=f(J,O);if(X!==!0)return E(X.err.code,X.err.msg,S(v,w-J.length+X.err.line));if(k===!0)return E(\"InvalidXml\",\"Multiple possible root nodes found.\",S(v,w));O.unpairedTags.indexOf(F)!==-1||L.push({tagName:F,tagStartPos:U}),B=!0}for(w++;w<v.length;w++)if(v[w]===\"<\")if(v[w+1]===\"!\"){w++,w=i(v,w);continue}else if(v[w+1]===\"?\"){if(w=r(v,++w),w.err)return w}else break;else if(v[w]===\"&\"){const X=p(v,w);if(X==-1)return E(\"InvalidChar\",\"char '&' is not expected.\",S(v,w));w=X}else if(k===!0&&!n(v[w]))return E(\"InvalidXml\",\"Extra text at the end\",S(v,w));v[w]===\"<\"&&w--}}else{if(n(v[w]))continue;return E(\"InvalidChar\",\"char '\"+v[w]+\"' is not expected.\",S(v,w))}if(B){if(L.length==1)return E(\"InvalidTag\",\"Unclosed tag '\"+L[0].tagName+\"'.\",S(v,L[0].tagStartPos));if(L.length>0)return E(\"InvalidXml\",\"Invalid '\"+JSON.stringify(L.map(w=>w.tagName),null,4).replace(/\\r?\\n/g,\"\")+\"' found.\",{line:1,col:1})}else return E(\"InvalidXml\",\"Start tag expected.\",1);return!0};function n(v){return v===\" \"||v===\"\t\"||v===`\n`||v===\"\\r\"}function r(v,O){const L=O;for(;O<v.length;O++)if(v[O]==\"?\"||v[O]==\" \"){const B=v.substr(L,O-L);if(O>5&&B===\"xml\")return E(\"InvalidXml\",\"XML declaration allowed only at the start of the document.\",S(v,O));if(v[O]==\"?\"&&v[O+1]==\">\"){O++;break}else continue}return O}function i(v,O){if(v.length>O+5&&v[O+1]===\"-\"&&v[O+2]===\"-\"){for(O+=3;O<v.length;O++)if(v[O]===\"-\"&&v[O+1]===\"-\"&&v[O+2]===\">\"){O+=2;break}}else if(v.length>O+8&&v[O+1]===\"D\"&&v[O+2]===\"O\"&&v[O+3]===\"C\"&&v[O+4]===\"T\"&&v[O+5]===\"Y\"&&v[O+6]===\"P\"&&v[O+7]===\"E\"){let L=1;for(O+=8;O<v.length;O++)if(v[O]===\"<\")L++;else if(v[O]===\">\"&&(L--,L===0))break}else if(v.length>O+9&&v[O+1]===\"[\"&&v[O+2]===\"C\"&&v[O+3]===\"D\"&&v[O+4]===\"A\"&&v[O+5]===\"T\"&&v[O+6]===\"A\"&&v[O+7]===\"[\"){for(O+=8;O<v.length;O++)if(v[O]===\"]\"&&v[O+1]===\"]\"&&v[O+2]===\">\"){O+=2;break}}return O}const o='\"',l=\"'\";function c(v,O){let L=\"\",B=\"\",k=!1;for(;O<v.length;O++){if(v[O]===o||v[O]===l)B===\"\"?B=v[O]:B!==v[O]||(B=\"\");else if(v[O]===\">\"&&B===\"\"){k=!0;break}L+=v[O]}return B!==\"\"?!1:{value:L,index:O,tagClosed:k}}const d=new RegExp(`(\\\\s*)([^\\\\s=]+)(\\\\s*=)?(\\\\s*(['\"])(([\\\\s\\\\S])*?)\\\\5)?`,\"g\");function f(v,O){const L=e.getAllMatches(v,d),B={};for(let k=0;k<L.length;k++){if(L[k][1].length===0)return E(\"InvalidAttr\",\"Attribute '\"+L[k][2]+\"' has no space in starting.\",N(L[k]));if(L[k][3]!==void 0&&L[k][4]===void 0)return E(\"InvalidAttr\",\"Attribute '\"+L[k][2]+\"' is without value.\",N(L[k]));if(L[k][3]===void 0&&!O.allowBooleanAttributes)return E(\"InvalidAttr\",\"boolean attribute '\"+L[k][2]+\"' is not allowed.\",N(L[k]));const w=L[k][2];if(!_(w))return E(\"InvalidAttr\",\"Attribute '\"+w+\"' is an invalid name.\",N(L[k]));if(!B.hasOwnProperty(w))B[w]=1;else return E(\"InvalidAttr\",\"Attribute '\"+w+\"' is repeated.\",N(L[k]))}return!0}function m(v,O){let L=/\\d/;for(v[O]===\"x\"&&(O++,L=/[\\da-fA-F]/);O<v.length;O++){if(v[O]===\";\")return O;if(!v[O].match(L))break}return-1}function p(v,O){if(O++,v[O]===\";\")return-1;if(v[O]===\"#\")return O++,m(v,O);let L=0;for(;O<v.length;O++,L++)if(!(v[O].match(/\\w/)&&L<20)){if(v[O]===\";\")break;return-1}return O}function E(v,O,L){return{err:{code:v,msg:O,line:L.line||L,col:L.col}}}function _(v){return e.isName(v)}function x(v){return e.isName(v)}function S(v,O){const L=v.substring(0,O).split(/\\r?\\n/);return{line:L.length,col:L[L.length-1].length+1}}function N(v){return v.startIndex+v[1].length}return $0}var Sf={},vx;function dB(){if(vx)return Sf;vx=1;const e={preserveOrder:!1,attributeNamePrefix:\"@_\",attributesGroupName:!1,textNodeName:\"#text\",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(n,r){return r},attributeValueProcessor:function(n,r){return r},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(n,r,i){return n}},t=function(n){return Object.assign({},e,n)};return Sf.buildOptions=t,Sf.defaultOptions=e,Sf}var Y0,xx;function fB(){if(xx)return Y0;xx=1;class e{constructor(n){this.tagname=n,this.child=[],this[\":@\"]={}}add(n,r){n===\"__proto__\"&&(n=\"#__proto__\"),this.child.push({[n]:r})}addChild(n){n.tagname===\"__proto__\"&&(n.tagname=\"#__proto__\"),n[\":@\"]&&Object.keys(n[\":@\"]).length>0?this.child.push({[n.tagname]:n.child,\":@\":n[\":@\"]}):this.child.push({[n.tagname]:n.child})}}return Y0=e,Y0}var G0,Sx;function hB(){if(Sx)return G0;Sx=1;const e=LE();function t(f,m){const p={};if(f[m+3]===\"O\"&&f[m+4]===\"C\"&&f[m+5]===\"T\"&&f[m+6]===\"Y\"&&f[m+7]===\"P\"&&f[m+8]===\"E\"){m=m+9;let E=1,_=!1,x=!1,S=\"\";for(;m<f.length;m++)if(f[m]===\"<\"&&!x){if(_&&i(f,m)){m+=7;let N,v;[N,v,m]=n(f,m+1),v.indexOf(\"&\")===-1&&(p[d(N)]={regx:RegExp(`&${N};`,\"g\"),val:v})}else if(_&&o(f,m))m+=8;else if(_&&l(f,m))m+=8;else if(_&&c(f,m))m+=9;else if(r)x=!0;else throw new Error(\"Invalid DOCTYPE\");E++,S=\"\"}else if(f[m]===\">\"){if(x?f[m-1]===\"-\"&&f[m-2]===\"-\"&&(x=!1,E--):E--,E===0)break}else f[m]===\"[\"?_=!0:S+=f[m];if(E!==0)throw new Error(\"Unclosed DOCTYPE\")}else throw new Error(\"Invalid Tag instead of DOCTYPE\");return{entities:p,i:m}}function n(f,m){let p=\"\";for(;m<f.length&&f[m]!==\"'\"&&f[m]!=='\"';m++)p+=f[m];if(p=p.trim(),p.indexOf(\" \")!==-1)throw new Error(\"External entites are not supported\");const E=f[m++];let _=\"\";for(;m<f.length&&f[m]!==E;m++)_+=f[m];return[p,_,m]}function r(f,m){return f[m+1]===\"!\"&&f[m+2]===\"-\"&&f[m+3]===\"-\"}function i(f,m){return f[m+1]===\"!\"&&f[m+2]===\"E\"&&f[m+3]===\"N\"&&f[m+4]===\"T\"&&f[m+5]===\"I\"&&f[m+6]===\"T\"&&f[m+7]===\"Y\"}function o(f,m){return f[m+1]===\"!\"&&f[m+2]===\"E\"&&f[m+3]===\"L\"&&f[m+4]===\"E\"&&f[m+5]===\"M\"&&f[m+6]===\"E\"&&f[m+7]===\"N\"&&f[m+8]===\"T\"}function l(f,m){return f[m+1]===\"!\"&&f[m+2]===\"A\"&&f[m+3]===\"T\"&&f[m+4]===\"T\"&&f[m+5]===\"L\"&&f[m+6]===\"I\"&&f[m+7]===\"S\"&&f[m+8]===\"T\"}function c(f,m){return f[m+1]===\"!\"&&f[m+2]===\"N\"&&f[m+3]===\"O\"&&f[m+4]===\"T\"&&f[m+5]===\"A\"&&f[m+6]===\"T\"&&f[m+7]===\"I\"&&f[m+8]===\"O\"&&f[m+9]===\"N\"}function d(f){if(e.isName(f))return f;throw new Error(`Invalid entity name ${f}`)}return G0=t,G0}var V0,Ax;function mB(){if(Ax)return V0;Ax=1;const e=/^[-+]?0x[a-fA-F0-9]+$/,t=/^([\\-\\+])?(0*)([0-9]*(\\.[0-9]*)?)$/,n={hex:!0,leadingZeros:!0,decimalPoint:\".\",eNotation:!0};function r(l,c={}){if(c=Object.assign({},n,c),!l||typeof l!=\"string\")return l;let d=l.trim();if(c.skipLike!==void 0&&c.skipLike.test(d))return l;if(l===\"0\")return 0;if(c.hex&&e.test(d))return o(d,16);if(d.search(/[eE]/)!==-1){const f=d.match(/^([-\\+])?(0*)([0-9]*(\\.[0-9]*)?[eE][-\\+]?[0-9]+)$/);if(f){if(c.leadingZeros)d=(f[1]||\"\")+f[3];else if(!(f[2]===\"0\"&&f[3][0]===\".\"))return l;return c.eNotation?Number(d):l}else return l}else{const f=t.exec(d);if(f){const m=f[1],p=f[2];let E=i(f[3]);if(!c.leadingZeros&&p.length>0&&m&&d[2]!==\".\")return l;if(!c.leadingZeros&&p.length>0&&!m&&d[1]!==\".\")return l;if(c.leadingZeros&&p===l)return 0;{const _=Number(d),x=\"\"+_;return x.search(/[eE]/)!==-1?c.eNotation?_:l:d.indexOf(\".\")!==-1?x===\"0\"&&E===\"\"||x===E||m&&x===\"-\"+E?_:l:p?E===x||m+E===x?_:l:d===x||d===m+x?_:l}}else return l}}function i(l){return l&&l.indexOf(\".\")!==-1&&(l=l.replace(/0+$/,\"\"),l===\".\"?l=\"0\":l[0]===\".\"?l=\"0\"+l:l[l.length-1]===\".\"&&(l=l.substr(0,l.length-1))),l}function o(l,c){if(parseInt)return parseInt(l,c);if(Number.parseInt)return Number.parseInt(l,c);if(window&&window.parseInt)return window.parseInt(l,c);throw new Error(\"parseInt, Number.parseInt, window.parseInt are not supported\")}return V0=r,V0}var K0,Nx;function ew(){if(Nx)return K0;Nx=1;function e(t){return typeof t==\"function\"?t:Array.isArray(t)?n=>{for(const r of t)if(typeof r==\"string\"&&n===r||r instanceof RegExp&&r.test(n))return!0}:()=>!1}return K0=e,K0}var X0,wx;function pB(){if(wx)return X0;wx=1;const e=LE(),t=fB(),n=hB(),r=mB(),i=ew();class o{constructor(w){this.options=w,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:\"'\"},gt:{regex:/&(gt|#62|#x3E);/g,val:\">\"},lt:{regex:/&(lt|#60|#x3C);/g,val:\"<\"},quot:{regex:/&(quot|#34|#x22);/g,val:'\"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:\"&\"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:\" \"},cent:{regex:/&(cent|#162);/g,val:\"¢\"},pound:{regex:/&(pound|#163);/g,val:\"£\"},yen:{regex:/&(yen|#165);/g,val:\"¥\"},euro:{regex:/&(euro|#8364);/g,val:\"€\"},copyright:{regex:/&(copy|#169);/g,val:\"©\"},reg:{regex:/&(reg|#174);/g,val:\"®\"},inr:{regex:/&(inr|#8377);/g,val:\"₹\"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(U,j)=>String.fromCharCode(Number.parseInt(j,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(U,j)=>String.fromCharCode(Number.parseInt(j,16))}},this.addExternalEntities=l,this.parseXml=p,this.parseTextData=c,this.resolveNameSpace=d,this.buildAttributesMap=m,this.isItStopNode=S,this.replaceEntitiesValue=_,this.readStopNodeData=L,this.saveTextToParentTag=x,this.addChild=E,this.ignoreAttributesFn=i(this.options.ignoreAttributes)}}function l(k){const w=Object.keys(k);for(let U=0;U<w.length;U++){const j=w[U];this.lastEntities[j]={regex:new RegExp(\"&\"+j+\";\",\"g\"),val:k[j]}}}function c(k,w,U,j,F,M,J){if(k!==void 0&&(this.options.trimValues&&!j&&(k=k.trim()),k.length>0)){J||(k=this.replaceEntitiesValue(k));const X=this.options.tagValueProcessor(w,k,U,F,M);return X==null?k:typeof X!=typeof k||X!==k?X:this.options.trimValues?B(k,this.options.parseTagValue,this.options.numberParseOptions):k.trim()===k?B(k,this.options.parseTagValue,this.options.numberParseOptions):k}}function d(k){if(this.options.removeNSPrefix){const w=k.split(\":\"),U=k.charAt(0)===\"/\"?\"/\":\"\";if(w[0]===\"xmlns\")return\"\";w.length===2&&(k=U+w[1])}return k}const f=new RegExp(`([^\\\\s=]+)\\\\s*(=\\\\s*(['\"])([\\\\s\\\\S]*?)\\\\3)?`,\"gm\");function m(k,w,U){if(this.options.ignoreAttributes!==!0&&typeof k==\"string\"){const j=e.getAllMatches(k,f),F=j.length,M={};for(let J=0;J<F;J++){const X=this.resolveNameSpace(j[J][1]);if(this.ignoreAttributesFn(X,w))continue;let V=j[J][4],ne=this.options.attributeNamePrefix+X;if(X.length)if(this.options.transformAttributeName&&(ne=this.options.transformAttributeName(ne)),ne===\"__proto__\"&&(ne=\"#__proto__\"),V!==void 0){this.options.trimValues&&(V=V.trim()),V=this.replaceEntitiesValue(V);const ae=this.options.attributeValueProcessor(X,V,w);ae==null?M[ne]=V:typeof ae!=typeof V||ae!==V?M[ne]=ae:M[ne]=B(V,this.options.parseAttributeValue,this.options.numberParseOptions)}else this.options.allowBooleanAttributes&&(M[ne]=!0)}if(!Object.keys(M).length)return;if(this.options.attributesGroupName){const J={};return J[this.options.attributesGroupName]=M,J}return M}}const p=function(k){k=k.replace(/\\r\\n?/g,`\n`);const w=new t(\"!xml\");let U=w,j=\"\",F=\"\";for(let M=0;M<k.length;M++)if(k[M]===\"<\")if(k[M+1]===\"/\"){const X=v(k,\">\",M,\"Closing Tag is not closed.\");let V=k.substring(M+2,X).trim();if(this.options.removeNSPrefix){const Q=V.indexOf(\":\");Q!==-1&&(V=V.substr(Q+1))}this.options.transformTagName&&(V=this.options.transformTagName(V)),U&&(j=this.saveTextToParentTag(j,U,F));const ne=F.substring(F.lastIndexOf(\".\")+1);if(V&&this.options.unpairedTags.indexOf(V)!==-1)throw new Error(`Unpaired tag can not be used as closing tag: </${V}>`);let ae=0;ne&&this.options.unpairedTags.indexOf(ne)!==-1?(ae=F.lastIndexOf(\".\",F.lastIndexOf(\".\")-1),this.tagsNodeStack.pop()):ae=F.lastIndexOf(\".\"),F=F.substring(0,ae),U=this.tagsNodeStack.pop(),j=\"\",M=X}else if(k[M+1]===\"?\"){let X=O(k,M,!1,\"?>\");if(!X)throw new Error(\"Pi Tag is not closed.\");if(j=this.saveTextToParentTag(j,U,F),!(this.options.ignoreDeclaration&&X.tagName===\"?xml\"||this.options.ignorePiTags)){const V=new t(X.tagName);V.add(this.options.textNodeName,\"\"),X.tagName!==X.tagExp&&X.attrExpPresent&&(V[\":@\"]=this.buildAttributesMap(X.tagExp,F,X.tagName)),this.addChild(U,V,F)}M=X.closeIndex+1}else if(k.substr(M+1,3)===\"!--\"){const X=v(k,\"-->\",M+4,\"Comment is not closed.\");if(this.options.commentPropName){const V=k.substring(M+4,X-2);j=this.saveTextToParentTag(j,U,F),U.add(this.options.commentPropName,[{[this.options.textNodeName]:V}])}M=X}else if(k.substr(M+1,2)===\"!D\"){const X=n(k,M);this.docTypeEntities=X.entities,M=X.i}else if(k.substr(M+1,2)===\"![\"){const X=v(k,\"]]>\",M,\"CDATA is not closed.\")-2,V=k.substring(M+9,X);j=this.saveTextToParentTag(j,U,F);let ne=this.parseTextData(V,U.tagname,F,!0,!1,!0,!0);ne==null&&(ne=\"\"),this.options.cdataPropName?U.add(this.options.cdataPropName,[{[this.options.textNodeName]:V}]):U.add(this.options.textNodeName,ne),M=X+2}else{let X=O(k,M,this.options.removeNSPrefix),V=X.tagName;const ne=X.rawTagName;let ae=X.tagExp,Q=X.attrExpPresent,be=X.closeIndex;this.options.transformTagName&&(V=this.options.transformTagName(V)),U&&j&&U.tagname!==\"!xml\"&&(j=this.saveTextToParentTag(j,U,F,!1));const K=U;if(K&&this.options.unpairedTags.indexOf(K.tagname)!==-1&&(U=this.tagsNodeStack.pop(),F=F.substring(0,F.lastIndexOf(\".\"))),V!==w.tagname&&(F+=F?\".\"+V:V),this.isItStopNode(this.options.stopNodes,F,V)){let ve=\"\";if(ae.length>0&&ae.lastIndexOf(\"/\")===ae.length-1)V[V.length-1]===\"/\"?(V=V.substr(0,V.length-1),F=F.substr(0,F.length-1),ae=V):ae=ae.substr(0,ae.length-1),M=X.closeIndex;else if(this.options.unpairedTags.indexOf(V)!==-1)M=X.closeIndex;else{const le=this.readStopNodeData(k,ne,be+1);if(!le)throw new Error(`Unexpected end of ${ne}`);M=le.i,ve=le.tagContent}const R=new t(V);V!==ae&&Q&&(R[\":@\"]=this.buildAttributesMap(ae,F,V)),ve&&(ve=this.parseTextData(ve,V,F,!0,Q,!0,!0)),F=F.substr(0,F.lastIndexOf(\".\")),R.add(this.options.textNodeName,ve),this.addChild(U,R,F)}else{if(ae.length>0&&ae.lastIndexOf(\"/\")===ae.length-1){V[V.length-1]===\"/\"?(V=V.substr(0,V.length-1),F=F.substr(0,F.length-1),ae=V):ae=ae.substr(0,ae.length-1),this.options.transformTagName&&(V=this.options.transformTagName(V));const ve=new t(V);V!==ae&&Q&&(ve[\":@\"]=this.buildAttributesMap(ae,F,V)),this.addChild(U,ve,F),F=F.substr(0,F.lastIndexOf(\".\"))}else{const ve=new t(V);this.tagsNodeStack.push(U),V!==ae&&Q&&(ve[\":@\"]=this.buildAttributesMap(ae,F,V)),this.addChild(U,ve,F),U=ve}j=\"\",M=be}}else j+=k[M];return w.child};function E(k,w,U){const j=this.options.updateTag(w.tagname,U,w[\":@\"]);j===!1||(typeof j==\"string\"&&(w.tagname=j),k.addChild(w))}const _=function(k){if(this.options.processEntities){for(let w in this.docTypeEntities){const U=this.docTypeEntities[w];k=k.replace(U.regx,U.val)}for(let w in this.lastEntities){const U=this.lastEntities[w];k=k.replace(U.regex,U.val)}if(this.options.htmlEntities)for(let w in this.htmlEntities){const U=this.htmlEntities[w];k=k.replace(U.regex,U.val)}k=k.replace(this.ampEntity.regex,this.ampEntity.val)}return k};function x(k,w,U,j){return k&&(j===void 0&&(j=w.child.length===0),k=this.parseTextData(k,w.tagname,U,!1,w[\":@\"]?Object.keys(w[\":@\"]).length!==0:!1,j),k!==void 0&&k!==\"\"&&w.add(this.options.textNodeName,k),k=\"\"),k}function S(k,w,U){const j=\"*.\"+U;for(const F in k){const M=k[F];if(j===M||w===M)return!0}return!1}function N(k,w,U=\">\"){let j,F=\"\";for(let M=w;M<k.length;M++){let J=k[M];if(j)J===j&&(j=\"\");else if(J==='\"'||J===\"'\")j=J;else if(J===U[0])if(U[1]){if(k[M+1]===U[1])return{data:F,index:M}}else return{data:F,index:M};else J===\"\t\"&&(J=\" \");F+=J}}function v(k,w,U,j){const F=k.indexOf(w,U);if(F===-1)throw new Error(j);return F+w.length-1}function O(k,w,U,j=\">\"){const F=N(k,w+1,j);if(!F)return;let M=F.data;const J=F.index,X=M.search(/\\s/);let V=M,ne=!0;X!==-1&&(V=M.substring(0,X),M=M.substring(X+1).trimStart());const ae=V;if(U){const Q=V.indexOf(\":\");Q!==-1&&(V=V.substr(Q+1),ne=V!==F.data.substr(Q+1))}return{tagName:V,tagExp:M,closeIndex:J,attrExpPresent:ne,rawTagName:ae}}function L(k,w,U){const j=U;let F=1;for(;U<k.length;U++)if(k[U]===\"<\")if(k[U+1]===\"/\"){const M=v(k,\">\",U,`${w} is not closed`);if(k.substring(U+2,M).trim()===w&&(F--,F===0))return{tagContent:k.substring(j,U),i:M};U=M}else if(k[U+1]===\"?\")U=v(k,\"?>\",U+1,\"StopNode is not closed.\");else if(k.substr(U+1,3)===\"!--\")U=v(k,\"-->\",U+3,\"StopNode is not closed.\");else if(k.substr(U+1,2)===\"![\")U=v(k,\"]]>\",U,\"StopNode is not closed.\")-2;else{const M=O(k,U,\">\");M&&((M&&M.tagName)===w&&M.tagExp[M.tagExp.length-1]!==\"/\"&&F++,U=M.closeIndex)}}function B(k,w,U){if(w&&typeof k==\"string\"){const j=k.trim();return j===\"true\"?!0:j===\"false\"?!1:r(k,U)}else return e.isExist(k)?k:\"\"}return X0=o,X0}var W0={},Cx;function gB(){if(Cx)return W0;Cx=1;function e(o,l){return t(o,l)}function t(o,l,c){let d;const f={};for(let m=0;m<o.length;m++){const p=o[m],E=n(p);let _=\"\";if(c===void 0?_=E:_=c+\".\"+E,E===l.textNodeName)d===void 0?d=p[E]:d+=\"\"+p[E];else{if(E===void 0)continue;if(p[E]){let x=t(p[E],l,_);const S=i(x,l);p[\":@\"]?r(x,p[\":@\"],_,l):Object.keys(x).length===1&&x[l.textNodeName]!==void 0&&!l.alwaysCreateTextNode?x=x[l.textNodeName]:Object.keys(x).length===0&&(l.alwaysCreateTextNode?x[l.textNodeName]=\"\":x=\"\"),f[E]!==void 0&&f.hasOwnProperty(E)?(Array.isArray(f[E])||(f[E]=[f[E]]),f[E].push(x)):l.isArray(E,_,S)?f[E]=[x]:f[E]=x}}}return typeof d==\"string\"?d.length>0&&(f[l.textNodeName]=d):d!==void 0&&(f[l.textNodeName]=d),f}function n(o){const l=Object.keys(o);for(let c=0;c<l.length;c++){const d=l[c];if(d!==\":@\")return d}}function r(o,l,c,d){if(l){const f=Object.keys(l),m=f.length;for(let p=0;p<m;p++){const E=f[p];d.isArray(E,c+\".\"+E,!0,!0)?o[E]=[l[E]]:o[E]=l[E]}}}function i(o,l){const{textNodeName:c}=l,d=Object.keys(o).length;return!!(d===0||d===1&&(o[c]||typeof o[c]==\"boolean\"||o[c]===0))}return W0.prettify=e,W0}var Q0,Rx;function bB(){if(Rx)return Q0;Rx=1;const{buildOptions:e}=dB(),t=pB(),{prettify:n}=gB(),r=JN();class i{constructor(l){this.externalEntities={},this.options=e(l)}parse(l,c){if(typeof l!=\"string\")if(l.toString)l=l.toString();else throw new Error(\"XML data is accepted in String or Bytes[] form.\");if(c){c===!0&&(c={});const m=r.validate(l,c);if(m!==!0)throw Error(`${m.err.msg}:${m.err.line}:${m.err.col}`)}const d=new t(this.options);d.addExternalEntities(this.externalEntities);const f=d.parseXml(l);return this.options.preserveOrder||f===void 0?f:n(f,this.options)}addEntity(l,c){if(c.indexOf(\"&\")!==-1)throw new Error(\"Entity value can't have '&'\");if(l.indexOf(\"&\")!==-1||l.indexOf(\";\")!==-1)throw new Error(\"An entity must be set without '&' and ';'. Eg. use '#xD' for '
'\");if(c===\"&\")throw new Error(\"An entity with value '&' is not permitted\");this.externalEntities[l]=c}}return Q0=i,Q0}var Z0,Ox;function EB(){if(Ox)return Z0;Ox=1;const e=`\n`;function t(c,d){let f=\"\";return d.format&&d.indentBy.length>0&&(f=e),n(c,d,\"\",f)}function n(c,d,f,m){let p=\"\",E=!1;for(let _=0;_<c.length;_++){const x=c[_],S=r(x);if(S===void 0)continue;let N=\"\";if(f.length===0?N=S:N=`${f}.${S}`,S===d.textNodeName){let k=x[S];o(N,d)||(k=d.tagValueProcessor(S,k),k=l(k,d)),E&&(p+=m),p+=k,E=!1;continue}else if(S===d.cdataPropName){E&&(p+=m),p+=`<![CDATA[${x[S][0][d.textNodeName]}]]>`,E=!1;continue}else if(S===d.commentPropName){p+=m+`<!--${x[S][0][d.textNodeName]}-->`,E=!0;continue}else if(S[0]===\"?\"){const k=i(x[\":@\"],d),w=S===\"?xml\"?\"\":m;let U=x[S][0][d.textNodeName];U=U.length!==0?\" \"+U:\"\",p+=w+`<${S}${U}${k}?>`,E=!0;continue}let v=m;v!==\"\"&&(v+=d.indentBy);const O=i(x[\":@\"],d),L=m+`<${S}${O}`,B=n(x[S],d,N,v);d.unpairedTags.indexOf(S)!==-1?d.suppressUnpairedNode?p+=L+\">\":p+=L+\"/>\":(!B||B.length===0)&&d.suppressEmptyNode?p+=L+\"/>\":B&&B.endsWith(\">\")?p+=L+`>${B}${m}</${S}>`:(p+=L+\">\",B&&m!==\"\"&&(B.includes(\"/>\")||B.includes(\"</\"))?p+=m+d.indentBy+B+m:p+=B,p+=`</${S}>`),E=!0}return p}function r(c){const d=Object.keys(c);for(let f=0;f<d.length;f++){const m=d[f];if(c.hasOwnProperty(m)&&m!==\":@\")return m}}function i(c,d){let f=\"\";if(c&&!d.ignoreAttributes)for(let m in c){if(!c.hasOwnProperty(m))continue;let p=d.attributeValueProcessor(m,c[m]);p=l(p,d),p===!0&&d.suppressBooleanAttributes?f+=` ${m.substr(d.attributeNamePrefix.length)}`:f+=` ${m.substr(d.attributeNamePrefix.length)}=\"${p}\"`}return f}function o(c,d){c=c.substr(0,c.length-d.textNodeName.length-1);let f=c.substr(c.lastIndexOf(\".\")+1);for(let m in d.stopNodes)if(d.stopNodes[m]===c||d.stopNodes[m]===\"*.\"+f)return!0;return!1}function l(c,d){if(c&&c.length>0&&d.processEntities)for(let f=0;f<d.entities.length;f++){const m=d.entities[f];c=c.replace(m.regex,m.val)}return c}return Z0=t,Z0}var J0,kx;function yB(){if(kx)return J0;kx=1;const e=EB(),t=ew(),n={attributeNamePrefix:\"@_\",attributesGroupName:!1,textNodeName:\"#text\",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:\" \",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(c,d){return d},attributeValueProcessor:function(c,d){return d},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp(\"&\",\"g\"),val:\"&\"},{regex:new RegExp(\">\",\"g\"),val:\">\"},{regex:new RegExp(\"<\",\"g\"),val:\"<\"},{regex:new RegExp(\"'\",\"g\"),val:\"'\"},{regex:new RegExp('\"',\"g\"),val:\""\"}],processEntities:!0,stopNodes:[],oneListGroup:!1};function r(c){this.options=Object.assign({},n,c),this.options.ignoreAttributes===!0||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=t(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=l),this.processTextOrObjNode=i,this.options.format?(this.indentate=o,this.tagEndChar=`>\n`,this.newLine=`\n`):(this.indentate=function(){return\"\"},this.tagEndChar=\">\",this.newLine=\"\")}r.prototype.build=function(c){return this.options.preserveOrder?e(c,this.options):(Array.isArray(c)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(c={[this.options.arrayNodeName]:c}),this.j2x(c,0,[]).val)},r.prototype.j2x=function(c,d,f){let m=\"\",p=\"\";const E=f.join(\".\");for(let _ in c)if(Object.prototype.hasOwnProperty.call(c,_))if(typeof c[_]>\"u\")this.isAttribute(_)&&(p+=\"\");else if(c[_]===null)this.isAttribute(_)||_===this.options.cdataPropName?p+=\"\":_[0]===\"?\"?p+=this.indentate(d)+\"<\"+_+\"?\"+this.tagEndChar:p+=this.indentate(d)+\"<\"+_+\"/\"+this.tagEndChar;else if(c[_]instanceof Date)p+=this.buildTextValNode(c[_],_,\"\",d);else if(typeof c[_]!=\"object\"){const x=this.isAttribute(_);if(x&&!this.ignoreAttributesFn(x,E))m+=this.buildAttrPairStr(x,\"\"+c[_]);else if(!x)if(_===this.options.textNodeName){let S=this.options.tagValueProcessor(_,\"\"+c[_]);p+=this.replaceEntitiesValue(S)}else p+=this.buildTextValNode(c[_],_,\"\",d)}else if(Array.isArray(c[_])){const x=c[_].length;let S=\"\",N=\"\";for(let v=0;v<x;v++){const O=c[_][v];if(!(typeof O>\"u\"))if(O===null)_[0]===\"?\"?p+=this.indentate(d)+\"<\"+_+\"?\"+this.tagEndChar:p+=this.indentate(d)+\"<\"+_+\"/\"+this.tagEndChar;else if(typeof O==\"object\")if(this.options.oneListGroup){const L=this.j2x(O,d+1,f.concat(_));S+=L.val,this.options.attributesGroupName&&O.hasOwnProperty(this.options.attributesGroupName)&&(N+=L.attrStr)}else S+=this.processTextOrObjNode(O,_,d,f);else if(this.options.oneListGroup){let L=this.options.tagValueProcessor(_,O);L=this.replaceEntitiesValue(L),S+=L}else S+=this.buildTextValNode(O,_,\"\",d)}this.options.oneListGroup&&(S=this.buildObjectNode(S,_,N,d)),p+=S}else if(this.options.attributesGroupName&&_===this.options.attributesGroupName){const x=Object.keys(c[_]),S=x.length;for(let N=0;N<S;N++)m+=this.buildAttrPairStr(x[N],\"\"+c[_][x[N]])}else p+=this.processTextOrObjNode(c[_],_,d,f);return{attrStr:m,val:p}},r.prototype.buildAttrPairStr=function(c,d){return d=this.options.attributeValueProcessor(c,\"\"+d),d=this.replaceEntitiesValue(d),this.options.suppressBooleanAttributes&&d===\"true\"?\" \"+c:\" \"+c+'=\"'+d+'\"'};function i(c,d,f,m){const p=this.j2x(c,f+1,m.concat(d));return c[this.options.textNodeName]!==void 0&&Object.keys(c).length===1?this.buildTextValNode(c[this.options.textNodeName],d,p.attrStr,f):this.buildObjectNode(p.val,d,p.attrStr,f)}r.prototype.buildObjectNode=function(c,d,f,m){if(c===\"\")return d[0]===\"?\"?this.indentate(m)+\"<\"+d+f+\"?\"+this.tagEndChar:this.indentate(m)+\"<\"+d+f+this.closeTag(d)+this.tagEndChar;{let p=\"</\"+d+this.tagEndChar,E=\"\";return d[0]===\"?\"&&(E=\"?\",p=\"\"),(f||f===\"\")&&c.indexOf(\"<\")===-1?this.indentate(m)+\"<\"+d+f+E+\">\"+c+p:this.options.commentPropName!==!1&&d===this.options.commentPropName&&E.length===0?this.indentate(m)+`<!--${c}-->`+this.newLine:this.indentate(m)+\"<\"+d+f+E+this.tagEndChar+c+this.indentate(m)+p}},r.prototype.closeTag=function(c){let d=\"\";return this.options.unpairedTags.indexOf(c)!==-1?this.options.suppressUnpairedNode||(d=\"/\"):this.options.suppressEmptyNode?d=\"/\":d=`></${c}`,d},r.prototype.buildTextValNode=function(c,d,f,m){if(this.options.cdataPropName!==!1&&d===this.options.cdataPropName)return this.indentate(m)+`<![CDATA[${c}]]>`+this.newLine;if(this.options.commentPropName!==!1&&d===this.options.commentPropName)return this.indentate(m)+`<!--${c}-->`+this.newLine;if(d[0]===\"?\")return this.indentate(m)+\"<\"+d+f+\"?\"+this.tagEndChar;{let p=this.options.tagValueProcessor(d,c);return p=this.replaceEntitiesValue(p),p===\"\"?this.indentate(m)+\"<\"+d+f+this.closeTag(d)+this.tagEndChar:this.indentate(m)+\"<\"+d+f+\">\"+p+\"</\"+d+this.tagEndChar}},r.prototype.replaceEntitiesValue=function(c){if(c&&c.length>0&&this.options.processEntities)for(let d=0;d<this.options.entities.length;d++){const f=this.options.entities[d];c=c.replace(f.regex,f.val)}return c};function o(c){return this.options.indentBy.repeat(c)}function l(c){return c.startsWith(this.options.attributeNamePrefix)&&c!==this.options.textNodeName?c.substr(this.attrPrefixLen):!1}return J0=r,J0}var eg,Lx;function _B(){if(Lx)return eg;Lx=1;const e=JN(),t=bB(),n=yB();return eg={XMLParser:t,XMLValidator:e,XMLBuilder:n},eg}_B();const Pl={};function TB(e,t,n){return Pl[t]?Pl[t](e,t,n):e}Pl[\"application/json\"]=(e,t,n)=>e;function ab(e,t,n){t instanceof Blob||typeof t==\"string\"?e.append(n,t):t!==null&&typeof t==\"object\"?Array.isArray(t)?t.forEach((r,i)=>{const o=`${n}`;ab(e,r,o)}):Object.keys(t).forEach(r=>{const i=n?`${n}[${r}]`:r;ab(e,t[r],i)}):e.append(n,t==null?\"\":String(t))}Pl[\"multipart/form-data\"]=(e,t,n)=>{let r=e,i=new FormData;return Object.keys(r).forEach(o=>{ab(i,r[o],o)}),i};Pl[\"application/octet-stream\"]=(e,t,n)=>e;Pl[\"application/x-www-form-urlencoded\"]=(e,t,n)=>{let r=new FormData;for(let i in e){const o=e[i];r.append(i,o instanceof Blob||typeof o==\"string\"?o:String(o))}return r};const vB=kr({total:Yr(),page:Yr(),limit:Yr(),totalPages:Yr(),hasNext:Wg(),hasPrevious:Wg()}),xB=kr({id:wt(),name:wt(),type:wE([\"rest\",\"schema\"]),source:wt(),path:wt(),data:ir(),lastAccessed:Yr().optional().nullable()}),SB=_9(Cr(()=>vB),kr({data:La(e=>Array.isArray(e)?e:[e],ka(Cr(()=>xB))).optional().nullable()})),AB=ir(),ib=\"GET /api/data/search| -> application/json\",sb=\"deamon_api\";function tw(e={}){let[t,n,r]=li({key:(e==null?void 0:e.key)??\"default\",operation:ib,source:sb,schema:SB,errorSchema:AB}),i=A.useCallback((o={})=>{let{...l}=o;return n({method:\"get\",url:\"/api/data/search\",headers:{},params:l,key:`${sb}: ${ib}`,source:\"deamon_api\"}),oi()},[n]);return A.useEffect(()=>(e.fetchOnMount&&i(e.params),()=>{e.clearOnUnmount&&r()}),[]),[t,i,r]}tw.key=`${sb}: ${ib}`;const IE=tw;function DE(e,t){const[n,r]=A.useState(e),[i,o]=A.useState(e),l=A.useRef(null);return A.useEffect(()=>(l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{o(n)},t),()=>{l.current&&clearTimeout(l.current)}),[n,t]),[n,r,i]}function ME({placeholder:e=\"Search endpoints and data types...\",source:t}){const[n,r]=A.useState(!1),[i,o,l]=DE(\"\",300),[c,d]=IE({clearOnUnmount:!0});A.useEffect(()=>{l?d({query:l,page:1,size:10,source:t}):m([])},[l]);const[f,m]=A.useState([]);A.useEffect(()=>{ar(c)&&c.data&&m(c.data.data??[])},[c]),A.useEffect(()=>{const x=S=>{S.key===\"k\"&&(S.metaKey||S.ctrlKey)&&(S.preventDefault(),r(N=>!N))};return document.addEventListener(\"keydown\",x),()=>document.removeEventListener(\"keydown\",x)},[]);const p=x=>{o(x)},E=A.useMemo(()=>f.filter(x=>x.type===\"rest\"),[f]),_=A.useMemo(()=>f.filter(x=>x.type===\"schema\"),[f]);return b.jsxs(b.Fragment,{children:[b.jsxs(\"button\",{onClick:()=>r(!0),className:\"flex items-center w-full gap-2 px-3 py-2 text-lg text-muted-foreground rounded-md bg-secondary\",children:[b.jsx(Rh,{className:\"w-4 h-4\"}),b.jsx(\"span\",{children:e}),b.jsxs(\"kbd\",{className:\"ml-auto pointer-events-none inline-flex h-5 select-none items-center gap-1 rounded border bg-muted px-1.5 font-mono text-[10px] font-medium text-muted-foreground\",children:[b.jsx(\"span\",{className:\"text-xs\",children:\"⌘\"}),\"K\"]})]}),b.jsxs($5,{open:n,onOpenChange:r,className:\"fixed w-[500px] h-[700px]\",children:[b.jsx(q5,{placeholder:e,value:i,onValueChange:p}),b.jsxs(Y5,{className:\"h-[650px] max-h-[650px] overflow-y-auto\",children:[b.jsx(G5,{children:\"No results found.\"}),E.length>0&&b.jsx(qv,{heading:\"REST APIs\",children:E.map(x=>{var S,N,v,O,L,B,k,w,U,j,F,M,J,X,V,ne,ae,Q,be,K,ve;return b.jsx(Yv,{value:x.name,onSelect:()=>{r(!1)},children:b.jsxs(Mn,{to:`/sources/${x.source}/endpoint/${x.id}`,className:\"flex items-center w-full\",children:[b.jsx(Eo,{className:\"mr-2 h-4 w-4\"}),b.jsxs(\"div\",{className:\"flex flex-col w-full\",children:[b.jsxs(\"div\",{className:\"flex justify-between items-center\",children:[b.jsx(\"span\",{className:\"font-medium\",children:x.name}),((S=x.data)==null?void 0:S.method)&&b.jsx(\"span\",{className:`text-xs px-2 py-1 rounded-md font-medium ${x.data.method.toLowerCase()===\"get\"?\"bg-blue-100 text-blue-700\":x.data.method.toLowerCase()===\"post\"?\"bg-green-100 text-green-700\":x.data.method.toLowerCase()===\"put\"?\"bg-amber-100 text-amber-700\":x.data.method.toLowerCase()===\"delete\"?\"bg-red-100 text-red-700\":x.data.method.toLowerCase()===\"patch\"?\"bg-purple-100 text-purple-700\":\"bg-gray-100 text-gray-700\"}`,children:x.data.method.toUpperCase()})]}),b.jsx(\"span\",{className:\"text-xs text-muted-foreground\",children:((N=x.data)==null?void 0:N.requestUrl)||x.path}),((v=x.data)==null?void 0:v.summary)&&b.jsx(\"span\",{className:\"text-xs text-muted-foreground mt-1\",children:x.data.summary}),b.jsx(\"div\",{className:\"flex gap-1 mt-1\",children:b.jsxs(Ds,{children:[((L=(O=x.data)==null?void 0:O.contentType)==null?void 0:L.includes(\"multipart/form-data\"))&&b.jsxs(ba,{children:[b.jsx(Ea,{asChild:!0,children:b.jsx(\"div\",{className:\"p-1 rounded-md bg-purple-100 text-purple-700\",children:b.jsx(qS,{className:\"h-3 w-3\"})})}),b.jsx(ya,{children:b.jsx(\"p\",{children:\"Multipart Form Data\"})})]}),((k=(B=x.data)==null?void 0:B.contentType)==null?void 0:k.includes(\"application/x-www-form-urlencoded\"))&&b.jsxs(ba,{children:[b.jsx(Ea,{asChild:!0,children:b.jsx(\"div\",{className:\"p-1 rounded-md bg-blue-100 text-blue-700\",children:b.jsx(HS,{className:\"h-3 w-3\"})})}),b.jsx(ya,{children:b.jsx(\"p\",{children:\"Form URL Encoded\"})})]}),((U=(w=x.data)==null?void 0:w.responseType)==null?void 0:U.includes(\"text/event-stream\"))&&b.jsxs(ba,{children:[b.jsx(Ea,{asChild:!0,children:b.jsx(\"div\",{className:\"p-1 rounded-md bg-green-100 text-green-700\",children:b.jsx($S,{className:\"h-3 w-3\"})})}),b.jsx(ya,{children:b.jsx(\"p\",{children:\"SSE (Server-Sent Events)\"})})]}),(((F=(j=x.data)==null?void 0:j.responseType)==null?void 0:F.includes(\"application/octet-stream\"))||((J=(M=x.data)==null?void 0:M.responseType)==null?void 0:J.includes(\"application/pdf\"))||((V=(X=x.data)==null?void 0:X.responseType)==null?void 0:V.includes(\"application/zip\"))||((ae=(ne=x.data)==null?void 0:ne.responseType)==null?void 0:ae.includes(\"application/x-msdownload\"))||((be=(Q=x.data)==null?void 0:Q.responseType)==null?void 0:be.includes(\"application/vnd.ms-excel\"))||((ve=(K=x.data)==null?void 0:K.responseType)==null?void 0:ve.includes(\"application/vnd.openxmlformats-officedocument\")))&&b.jsxs(ba,{children:[b.jsx(Ea,{asChild:!0,children:b.jsx(\"div\",{className:\"p-1 rounded-md bg-amber-100 text-amber-700\",children:b.jsx(nE,{className:\"h-3 w-3\"})})}),b.jsx(ya,{children:b.jsx(\"p\",{children:\"Downloadable Content\"})})]})]})})]})]})},x.id)})}),_.length>0&&b.jsx(qv,{heading:\"Schemas\",children:_.map(x=>{var S,N;return b.jsx(Yv,{value:x.name,onSelect:()=>{r(!1)},children:b.jsxs(Mn,{to:`/sources/${x.source}/datatype/${x.id}`,className:\"flex items-center w-full\",children:[b.jsx(bo,{className:\"mr-2 h-4 w-4\"}),b.jsxs(\"div\",{className:\"flex flex-col w-full\",children:[b.jsx(\"span\",{className:\"font-medium\",children:x.name}),((N=(S=x.data)==null?void 0:S.schema)==null?void 0:N.properties)&&b.jsx(\"div\",{className:\"text-xs text-muted-foreground mt-1\",children:b.jsx(\"div\",{className:\"flex flex-wrap gap-1\",children:Object.keys(x.data.schema.properties).map(v=>b.jsx(\"span\",{className:\"px-2 py-0.5 rounded-md bg-secondary text-secondary-foreground\",children:v},v))})})]})]})},x.id)})})]}),b.jsxs(\"div\",{className:\"border-t py-2\",children:[b.jsx(V5,{}),b.jsxs(\"div\",{className:\"flex justify-between px-4 pt-2 text-xs text-muted-foreground\",children:[b.jsxs(\"div\",{className:\"flex items-center\",children:[b.jsx(\"kbd\",{className:\"mr-1 rounded border bg-muted px-1.5 font-mono\",children:\"Enter\"}),b.jsx(\"span\",{children:\"to select\"})]}),b.jsxs(\"div\",{className:\"flex items-center\",children:[b.jsx(\"kbd\",{className:\"mr-1 rounded border bg-muted px-1.5 font-mono\",children:\"↑\"}),b.jsx(\"kbd\",{className:\"mx-1 rounded border bg-muted px-1.5 font-mono\",children:\"↓\"}),b.jsx(\"span\",{children:\"to navigate\"})]}),b.jsxs(\"div\",{className:\"flex items-center\",children:[b.jsx(\"kbd\",{className:\"mr-1 rounded border bg-muted px-1.5 font-mono\",children:\"Esc\"}),b.jsx(\"span\",{children:\"to close\"})]})]})]})]})]})}var NB=A.createContext(void 0);function PE(e){const t=A.useContext(NB);return e||t||\"ltr\"}function wB(e,[t,n]){return Math.min(n,Math.max(t,e))}function CB(e,t){return A.useReducer((n,r)=>t[n][r]??n,e)}var BE=\"ScrollArea\",[nw,SW]=Is(BE),[RB,xa]=nw(BE),rw=A.forwardRef((e,t)=>{const{__scopeScrollArea:n,type:r=\"hover\",dir:i,scrollHideDelay:o=600,...l}=e,[c,d]=A.useState(null),[f,m]=A.useState(null),[p,E]=A.useState(null),[_,x]=A.useState(null),[S,N]=A.useState(null),[v,O]=A.useState(0),[L,B]=A.useState(0),[k,w]=A.useState(!1),[U,j]=A.useState(!1),F=yn(t,J=>d(J)),M=PE(i);return b.jsx(RB,{scope:n,type:r,dir:M,scrollHideDelay:o,scrollArea:c,viewport:f,onViewportChange:m,content:p,onContentChange:E,scrollbarX:_,onScrollbarXChange:x,scrollbarXEnabled:k,onScrollbarXEnabledChange:w,scrollbarY:S,onScrollbarYChange:N,scrollbarYEnabled:U,onScrollbarYEnabledChange:j,onCornerWidthChange:O,onCornerHeightChange:B,children:b.jsx(Ot.div,{dir:M,...l,ref:F,style:{position:\"relative\",\"--radix-scroll-area-corner-width\":v+\"px\",\"--radix-scroll-area-corner-height\":L+\"px\",...e.style}})})});rw.displayName=BE;var aw=\"ScrollAreaViewport\",iw=A.forwardRef((e,t)=>{const{__scopeScrollArea:n,children:r,nonce:i,...o}=e,l=xa(aw,n),c=A.useRef(null),d=yn(t,c,l.onViewportChange);return b.jsxs(b.Fragment,{children:[b.jsx(\"style\",{dangerouslySetInnerHTML:{__html:\"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}\"},nonce:i}),b.jsx(Ot.div,{\"data-radix-scroll-area-viewport\":\"\",...o,ref:d,style:{overflowX:l.scrollbarXEnabled?\"scroll\":\"hidden\",overflowY:l.scrollbarYEnabled?\"scroll\":\"hidden\",...e.style},children:b.jsx(\"div\",{ref:l.onContentChange,style:{minWidth:\"100%\",display:\"table\"},children:r})})]})});iw.displayName=aw;var ui=\"ScrollAreaScrollbar\",sw=A.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=xa(ui,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:l}=i,c=e.orientation===\"horizontal\";return A.useEffect(()=>(c?o(!0):l(!0),()=>{c?o(!1):l(!1)}),[c,o,l]),i.type===\"hover\"?b.jsx(OB,{...r,ref:t,forceMount:n}):i.type===\"scroll\"?b.jsx(kB,{...r,ref:t,forceMount:n}):i.type===\"auto\"?b.jsx(ow,{...r,ref:t,forceMount:n}):i.type===\"always\"?b.jsx(UE,{...r,ref:t}):null});sw.displayName=ui;var OB=A.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=xa(ui,e.__scopeScrollArea),[o,l]=A.useState(!1);return A.useEffect(()=>{const c=i.scrollArea;let d=0;if(c){const f=()=>{window.clearTimeout(d),l(!0)},m=()=>{d=window.setTimeout(()=>l(!1),i.scrollHideDelay)};return c.addEventListener(\"pointerenter\",f),c.addEventListener(\"pointerleave\",m),()=>{window.clearTimeout(d),c.removeEventListener(\"pointerenter\",f),c.removeEventListener(\"pointerleave\",m)}}},[i.scrollArea,i.scrollHideDelay]),b.jsx(ea,{present:n||o,children:b.jsx(ow,{\"data-state\":o?\"visible\":\"hidden\",...r,ref:t})})}),kB=A.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=xa(ui,e.__scopeScrollArea),o=e.orientation===\"horizontal\",l=Zh(()=>d(\"SCROLL_END\"),100),[c,d]=CB(\"hidden\",{hidden:{SCROLL:\"scrolling\"},scrolling:{SCROLL_END:\"idle\",POINTER_ENTER:\"interacting\"},interacting:{SCROLL:\"interacting\",POINTER_LEAVE:\"idle\"},idle:{HIDE:\"hidden\",SCROLL:\"scrolling\",POINTER_ENTER:\"interacting\"}});return A.useEffect(()=>{if(c===\"idle\"){const f=window.setTimeout(()=>d(\"HIDE\"),i.scrollHideDelay);return()=>window.clearTimeout(f)}},[c,i.scrollHideDelay,d]),A.useEffect(()=>{const f=i.viewport,m=o?\"scrollLeft\":\"scrollTop\";if(f){let p=f[m];const E=()=>{const _=f[m];p!==_&&(d(\"SCROLL\"),l()),p=_};return f.addEventListener(\"scroll\",E),()=>f.removeEventListener(\"scroll\",E)}},[i.viewport,o,d,l]),b.jsx(ea,{present:n||c!==\"hidden\",children:b.jsx(UE,{\"data-state\":c===\"hidden\"?\"hidden\":\"visible\",...r,ref:t,onPointerEnter:Lt(e.onPointerEnter,()=>d(\"POINTER_ENTER\")),onPointerLeave:Lt(e.onPointerLeave,()=>d(\"POINTER_LEAVE\"))})})}),ow=A.forwardRef((e,t)=>{const n=xa(ui,e.__scopeScrollArea),{forceMount:r,...i}=e,[o,l]=A.useState(!1),c=e.orientation===\"horizontal\",d=Zh(()=>{if(n.viewport){const f=n.viewport.offsetWidth<n.viewport.scrollWidth,m=n.viewport.offsetHeight<n.viewport.scrollHeight;l(c?f:m)}},10);return Bl(n.viewport,d),Bl(n.content,d),b.jsx(ea,{present:r||o,children:b.jsx(UE,{\"data-state\":o?\"visible\":\"hidden\",...i,ref:t})})}),UE=A.forwardRef((e,t)=>{const{orientation:n=\"vertical\",...r}=e,i=xa(ui,e.__scopeScrollArea),o=A.useRef(null),l=A.useRef(0),[c,d]=A.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),f=fw(c.viewport,c.content),m={...r,sizes:c,onSizesChange:d,hasThumb:f>0&&f<1,onThumbChange:E=>o.current=E,onThumbPointerUp:()=>l.current=0,onThumbPointerDown:E=>l.current=E};function p(E,_){return BB(E,l.current,c,_)}return n===\"horizontal\"?b.jsx(LB,{...m,ref:t,onThumbPositionChange:()=>{if(i.viewport&&o.current){const E=i.viewport.scrollLeft,_=Ix(E,c,i.dir);o.current.style.transform=`translate3d(${_}px, 0, 0)`}},onWheelScroll:E=>{i.viewport&&(i.viewport.scrollLeft=E)},onDragScroll:E=>{i.viewport&&(i.viewport.scrollLeft=p(E,i.dir))}}):n===\"vertical\"?b.jsx(IB,{...m,ref:t,onThumbPositionChange:()=>{if(i.viewport&&o.current){const E=i.viewport.scrollTop,_=Ix(E,c);o.current.style.transform=`translate3d(0, ${_}px, 0)`}},onWheelScroll:E=>{i.viewport&&(i.viewport.scrollTop=E)},onDragScroll:E=>{i.viewport&&(i.viewport.scrollTop=p(E))}}):null}),LB=A.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...i}=e,o=xa(ui,e.__scopeScrollArea),[l,c]=A.useState(),d=A.useRef(null),f=yn(t,d,o.onScrollbarXChange);return A.useEffect(()=>{d.current&&c(getComputedStyle(d.current))},[d]),b.jsx(uw,{\"data-orientation\":\"horizontal\",...i,ref:f,sizes:n,style:{bottom:0,left:o.dir===\"rtl\"?\"var(--radix-scroll-area-corner-width)\":0,right:o.dir===\"ltr\"?\"var(--radix-scroll-area-corner-width)\":0,\"--radix-scroll-area-thumb-width\":Qh(n)+\"px\",...e.style},onThumbPointerDown:m=>e.onThumbPointerDown(m.x),onDragScroll:m=>e.onDragScroll(m.x),onWheelScroll:(m,p)=>{if(o.viewport){const E=o.viewport.scrollLeft+m.deltaX;e.onWheelScroll(E),mw(E,p)&&m.preventDefault()}},onResize:()=>{d.current&&o.viewport&&l&&r({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:d.current.clientWidth,paddingStart:hh(l.paddingLeft),paddingEnd:hh(l.paddingRight)}})}})}),IB=A.forwardRef((e,t)=>{const{sizes:n,onSizesChange:r,...i}=e,o=xa(ui,e.__scopeScrollArea),[l,c]=A.useState(),d=A.useRef(null),f=yn(t,d,o.onScrollbarYChange);return A.useEffect(()=>{d.current&&c(getComputedStyle(d.current))},[d]),b.jsx(uw,{\"data-orientation\":\"vertical\",...i,ref:f,sizes:n,style:{top:0,right:o.dir===\"ltr\"?0:void 0,left:o.dir===\"rtl\"?0:void 0,bottom:\"var(--radix-scroll-area-corner-height)\",\"--radix-scroll-area-thumb-height\":Qh(n)+\"px\",...e.style},onThumbPointerDown:m=>e.onThumbPointerDown(m.y),onDragScroll:m=>e.onDragScroll(m.y),onWheelScroll:(m,p)=>{if(o.viewport){const E=o.viewport.scrollTop+m.deltaY;e.onWheelScroll(E),mw(E,p)&&m.preventDefault()}},onResize:()=>{d.current&&o.viewport&&l&&r({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:d.current.clientHeight,paddingStart:hh(l.paddingTop),paddingEnd:hh(l.paddingBottom)}})}})}),[DB,lw]=nw(ui),uw=A.forwardRef((e,t)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:i,onThumbChange:o,onThumbPointerUp:l,onThumbPointerDown:c,onThumbPositionChange:d,onDragScroll:f,onWheelScroll:m,onResize:p,...E}=e,_=xa(ui,n),[x,S]=A.useState(null),N=yn(t,F=>S(F)),v=A.useRef(null),O=A.useRef(\"\"),L=_.viewport,B=r.content-r.viewport,k=wr(m),w=wr(d),U=Zh(p,10);function j(F){if(v.current){const M=F.clientX-v.current.left,J=F.clientY-v.current.top;f({x:M,y:J})}}return A.useEffect(()=>{const F=M=>{const J=M.target;(x==null?void 0:x.contains(J))&&k(M,B)};return document.addEventListener(\"wheel\",F,{passive:!1}),()=>document.removeEventListener(\"wheel\",F,{passive:!1})},[L,x,B,k]),A.useEffect(w,[r,w]),Bl(x,U),Bl(_.content,U),b.jsx(DB,{scope:n,scrollbar:x,hasThumb:i,onThumbChange:wr(o),onThumbPointerUp:wr(l),onThumbPositionChange:w,onThumbPointerDown:wr(c),children:b.jsx(Ot.div,{...E,ref:N,style:{position:\"absolute\",...E.style},onPointerDown:Lt(e.onPointerDown,F=>{F.button===0&&(F.target.setPointerCapture(F.pointerId),v.current=x.getBoundingClientRect(),O.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect=\"none\",_.viewport&&(_.viewport.style.scrollBehavior=\"auto\"),j(F))}),onPointerMove:Lt(e.onPointerMove,j),onPointerUp:Lt(e.onPointerUp,F=>{const M=F.target;M.hasPointerCapture(F.pointerId)&&M.releasePointerCapture(F.pointerId),document.body.style.webkitUserSelect=O.current,_.viewport&&(_.viewport.style.scrollBehavior=\"\"),v.current=null})})})}),fh=\"ScrollAreaThumb\",cw=A.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=lw(fh,e.__scopeScrollArea);return b.jsx(ea,{present:n||i.hasThumb,children:b.jsx(MB,{ref:t,...r})})}),MB=A.forwardRef((e,t)=>{const{__scopeScrollArea:n,style:r,...i}=e,o=xa(fh,n),l=lw(fh,n),{onThumbPositionChange:c}=l,d=yn(t,p=>l.onThumbChange(p)),f=A.useRef(void 0),m=Zh(()=>{f.current&&(f.current(),f.current=void 0)},100);return A.useEffect(()=>{const p=o.viewport;if(p){const E=()=>{if(m(),!f.current){const _=UB(p,c);f.current=_,c()}};return c(),p.addEventListener(\"scroll\",E),()=>p.removeEventListener(\"scroll\",E)}},[o.viewport,m,c]),b.jsx(Ot.div,{\"data-state\":l.hasThumb?\"visible\":\"hidden\",...i,ref:d,style:{width:\"var(--radix-scroll-area-thumb-width)\",height:\"var(--radix-scroll-area-thumb-height)\",...r},onPointerDownCapture:Lt(e.onPointerDownCapture,p=>{const _=p.target.getBoundingClientRect(),x=p.clientX-_.left,S=p.clientY-_.top;l.onThumbPointerDown({x,y:S})}),onPointerUp:Lt(e.onPointerUp,l.onThumbPointerUp)})});cw.displayName=fh;var FE=\"ScrollAreaCorner\",dw=A.forwardRef((e,t)=>{const n=xa(FE,e.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!==\"scroll\"&&r?b.jsx(PB,{...e,ref:t}):null});dw.displayName=FE;var PB=A.forwardRef((e,t)=>{const{__scopeScrollArea:n,...r}=e,i=xa(FE,n),[o,l]=A.useState(0),[c,d]=A.useState(0),f=!!(o&&c);return Bl(i.scrollbarX,()=>{var p;const m=((p=i.scrollbarX)==null?void 0:p.offsetHeight)||0;i.onCornerHeightChange(m),d(m)}),Bl(i.scrollbarY,()=>{var p;const m=((p=i.scrollbarY)==null?void 0:p.offsetWidth)||0;i.onCornerWidthChange(m),l(m)}),f?b.jsx(Ot.div,{...r,ref:t,style:{width:o,height:c,position:\"absolute\",right:i.dir===\"ltr\"?0:void 0,left:i.dir===\"rtl\"?0:void 0,bottom:0,...e.style}}):null});function hh(e){return e?parseInt(e,10):0}function fw(e,t){const n=e/t;return isNaN(n)?0:n}function Qh(e){const t=fw(e.viewport,e.content),n=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,r=(e.scrollbar.size-n)*t;return Math.max(r,18)}function BB(e,t,n,r=\"ltr\"){const i=Qh(n),o=i/2,l=t||o,c=i-l,d=n.scrollbar.paddingStart+l,f=n.scrollbar.size-n.scrollbar.paddingEnd-c,m=n.content-n.viewport,p=r===\"ltr\"?[0,m]:[m*-1,0];return hw([d,f],p)(e)}function Ix(e,t,n=\"ltr\"){const r=Qh(t),i=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-i,l=t.content-t.viewport,c=o-r,d=n===\"ltr\"?[0,l]:[l*-1,0],f=wB(e,d);return hw([0,l],[0,c])(f)}function hw(e,t){return n=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const r=(t[1]-t[0])/(e[1]-e[0]);return t[0]+r*(n-e[0])}}function mw(e,t){return e>0&&e<t}var UB=(e,t=()=>{})=>{let n={left:e.scrollLeft,top:e.scrollTop},r=0;return function i(){const o={left:e.scrollLeft,top:e.scrollTop},l=n.left!==o.left,c=n.top!==o.top;(l||c)&&t(),n=o,r=window.requestAnimationFrame(i)}(),()=>window.cancelAnimationFrame(r)};function Zh(e,t){const n=wr(e),r=A.useRef(0);return A.useEffect(()=>()=>window.clearTimeout(r.current),[]),A.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,t)},[n,t])}function Bl(e,t){const n=wr(t);Pi(()=>{let r=0;if(e){const i=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return i.observe(e),()=>{window.cancelAnimationFrame(r),i.unobserve(e)}}},[e,n])}var FB=rw,HB=iw,jB=dw;function mh({className:e,children:t,...n}){return b.jsxs(FB,{\"data-slot\":\"scroll-area\",className:et(\"relative\",e),...n,children:[b.jsx(HB,{\"data-slot\":\"scroll-area-viewport\",className:\"focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1\",children:t}),b.jsx(zB,{}),b.jsx(jB,{})]})}function zB({className:e,orientation:t=\"vertical\",...n}){return b.jsx(sw,{\"data-slot\":\"scroll-area-scrollbar\",orientation:t,className:et(\"flex touch-none p-px transition-colors select-none\",t===\"vertical\"&&\"h-full w-2.5 border-l border-l-transparent\",t===\"horizontal\"&&\"h-2.5 flex-col border-t border-t-transparent\",e),...n,children:b.jsx(cw,{\"data-slot\":\"scroll-area-thumb\",className:\"bg-border relative flex-1 rounded-full\"})})}const pw=kr({id:wt(),name:wt(),source:wt(),accessTime:wt(),type:wE([\"schema\",\"endpoint\"]),pinned:Wg().optional().nullable()}),$B=La(e=>Array.isArray(e)?e:[e],ka(Cr(()=>pw))),qB=ir(),ob=\"GET /api/data/last-visited| -> application/json\",lb=\"deamon_api\";function gw(e={}){let[t,n,r]=li({key:(e==null?void 0:e.key)??\"default\",operation:ob,source:lb,schema:$B,errorSchema:qB}),i=A.useCallback((o={})=>{let{...l}=o;return n({method:\"get\",url:\"/api/data/last-visited\",headers:{},params:l,key:`${lb}: ${ob}`,source:\"deamon_api\"}),oi()},[n]);return A.useEffect(()=>(e.fetchOnMount&&i(e.params),()=>{e.clearOnUnmount&&r()}),[]),[t,i,r]}gw.key=`${lb}: ${ob}`;const YB=gw;ir();const GB=La(e=>Array.isArray(e)?e:[e],ka(Cr(()=>pw))),VB=ir(),ub=\"GET /api/data/pinned| -> application/json\",cb=\"deamon_api\";function bw(e={}){let[t,n,r]=li({key:(e==null?void 0:e.key)??\"default\",operation:ub,source:cb,schema:GB,errorSchema:VB}),i=A.useCallback((o={})=>{let{...l}=o;return n({method:\"get\",url:\"/api/data/pinned\",headers:{},params:l,key:`${cb}: ${ub}`,source:\"deamon_api\"}),oi()},[n]);return A.useEffect(()=>(e.fetchOnMount&&i(e.params),()=>{e.clearOnUnmount&&r()}),[]),[t,i,r]}bw.key=`${cb}: ${ub}`;const Ew=bw,db=kr({id:wt(),type:wE([\"schema\",\"endpoint\"]),source:wt().optional().nullable(),name:wt().optional().nullable()}),KB=La(e=>Array.isArray(e)?e:[e],ka(Cr(()=>db))),XB=ir(),yw=\"POST /api/data/toggle-pin| application/json -> application/json\",_w=\"deamon_api\";function Tw(){const[e,t]=uB({schema:KB,errorSchema:XB});return[A.useCallback(async(r,i={})=>{let{...o}=i;const l=db.safeParse(r);return l.success?await e({method:\"post\",url:\"/api/data/toggle-pin\",headers:{\"Content-Type\":\"application/json\"},params:o,key:`${_w}: ${yw}`,source:\"deamon_api\",data:TB(r,\"application/json\",db)}):Promise.reject(l.error)},[e]),t]}Tw.key=`${_w}: ${yw}`;const WB=Tw,vw=A.createContext({pinnedItems:[],refreshPinnedItems:()=>{}});function HE({children:e}){const[t,n]=A.useState([]),[r,i]=Ew({clearOnUnmount:!0,fetchOnMount:!0,params:{limit:1e3}});A.useEffect(()=>{ar(r)&&n(r.data)},[r]);const o=A.useCallback(()=>{i({limit:1e3})},[]);return b.jsx(vw.Provider,{value:{pinnedItems:t,refreshPinnedItems:o},children:e})}function Jh({item:e}){const{pinnedItems:t,refreshPinnedItems:n}=A.useContext(vw),r=A.useMemo(()=>t.some(d=>d.id===e.id&&d.type===e.type),[t,e.id,e.type]),[i]=WB(),[o,l]=A.useTransition(),c=A.useCallback(()=>{l(async()=>{await i({id:e.id,type:e.type,source:e.source,name:e.name},{}),n()})},[e]);return b.jsx(ri,{variant:\"ghost\",size:\"sm\",className:\"ml-2 h-6 w-6 p-0\",onClick:c,title:r?\"Unpin\":\"Pin\",disabled:o,children:o?b.jsx(\"span\",{className:\"h-3 w-3 animate-spin\",children:\"⋯\"}):r?b.jsx(PD,{className:\"h-3 w-3\"}):b.jsx(zS,{className:\"h-3 w-3\"})})}function QB(){const{pathname:e}=ii(),[t,n]=YB({clearOnUnmount:!0,fetchOnMount:!0,params:{limit:20}}),[r,i]=A.useState([]);return A.useEffect(()=>{ar(t)&&i(t.data)},[t]),A.useEffect(()=>{n({limit:20})},[e]),r.length===0?b.jsx(mh,{className:\"h-[calc(100vh-250px)] w-full\",children:b.jsx(\"div\",{className:\"p-4 text-center text-muted-foreground\",children:\"No recently viewed components.\"})}):b.jsx(\"div\",{className:\"px-2 py-1\",children:r.map((o,l)=>b.jsxs(A.Fragment,{children:[b.jsx(Mn,{to:o.type===\"schema\"?`/sources/${o.source}/datatype/${o.id}`:`/sources/${o.source}/endpoint/${o.id}`,style:{textDecoration:\"none\",color:\"inherit\"},children:b.jsxs(\"div\",{className:\"flex items-center py-2 px-2 hover:bg-accent/50 rounded-md relative group\",children:[b.jsxs(\"div\",{className:\"mr-2 flex-shrink-0\",children:[o.type===\"schema\"&&b.jsx(bo,{className:\"h-4 w-4 text-muted-foreground\"}),o.type===\"endpoint\"&&b.jsx(Eo,{className:\"h-4 w-4 text-muted-foreground\"}),![\"schema\",\"endpoint\"].includes(o.type)&&b.jsx(zc,{className:\"h-4 w-4 text-muted-foreground\"})]}),b.jsx(\"div\",{className:\"flex-1 truncate\",children:b.jsx(Ds,{children:b.jsxs(ba,{children:[b.jsx(Ea,{asChild:!0,children:b.jsxs(\"div\",{children:[b.jsx(\"div\",{className:\"font-medium text-sm truncate\",children:o.name}),b.jsx(\"div\",{className:\"text-xs text-muted-foreground truncate\",children:o.source})]})}),b.jsx(ya,{children:b.jsx(\"p\",{children:o.name})})]})})}),b.jsx(\"div\",{className:\"absolute bottom-1 right-1 opacity-0 group-hover:opacity-100 transition-opacity\",children:b.jsx(Jh,{item:o})})]})}),l<r.length-1&&b.jsx(Oh,{className:\"my-1\"})]},`${o.type}-${o.id}`))})}ir();function ZB(){const{pathname:e}=ii(),[t,n]=Ew({clearOnUnmount:!0,fetchOnMount:!0,params:{limit:20}}),[r,i]=A.useState([]);return A.useEffect(()=>{ar(t)&&i(t.data)},[t]),A.useEffect(()=>{n({limit:20})},[e]),r.length===0?b.jsx(mh,{className:\"h-[calc(100vh-250px)] w-full\",children:b.jsx(\"div\",{className:\"p-4 text-center text-muted-foreground\",children:\"No recently viewed components.\"})}):b.jsx(mh,{className:\"h-[calc(100vh-250px)] w-full\",children:b.jsx(\"div\",{className:\"px-2 py-1\",children:r.map((o,l)=>b.jsxs(A.Fragment,{children:[b.jsx(Mn,{to:o.type===\"schema\"?`/sources/${o.source}/datatype/${o.id}`:`/sources/${o.source}/endpoint/${o.id}`,style:{textDecoration:\"none\",color:\"inherit\"},children:b.jsxs(\"div\",{className:\"flex items-center py-2 px-2 hover:bg-accent/50 rounded-md relative w-[85%] group\",children:[b.jsxs(\"div\",{className:\"mr-2 flex-shrink-0\",children:[o.type===\"schema\"&&b.jsx(bo,{className:\"h-4 w-4 text-muted-foreground\"}),o.type===\"endpoint\"&&b.jsx(Eo,{className:\"h-4 w-4 text-muted-foreground\"}),![\"schema\",\"endpoint\"].includes(o.type)&&b.jsx(zc,{className:\"h-4 w-4 text-muted-foreground\"})]}),b.jsx(\"div\",{className:\"flex-1 truncate\",children:b.jsx(Ds,{children:b.jsxs(ba,{children:[b.jsx(Ea,{asChild:!0,children:b.jsxs(\"div\",{children:[b.jsx(\"div\",{className:\"font-medium text-sm truncate\",children:o.name}),b.jsxs(\"div\",{className:\"text-xs text-muted-foreground truncate\",children:[o.type,\" • \",o.source]})]})}),b.jsx(ya,{children:b.jsx(\"p\",{children:o.name})})]})})}),b.jsx(\"div\",{className:\"absolute bottom-1 right-1 opacity-0 group-hover:opacity-100 transition-opacity\",children:b.jsx(Jh,{item:o})})]})}),l<r.length-1&&b.jsx(Oh,{className:\"my-1\"})]},`${o.type}-${o.id}`))})})}function JB(e){const t=e+\"CollectionProvider\",[n,r]=Is(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),l=S=>{const{scope:N,children:v}=S,O=Ii.useRef(null),L=Ii.useRef(new Map).current;return b.jsx(i,{scope:N,itemMap:L,collectionRef:O,children:v})};l.displayName=t;const c=e+\"CollectionSlot\",d=Rl(c),f=Ii.forwardRef((S,N)=>{const{scope:v,children:O}=S,L=o(c,v),B=yn(N,L.collectionRef);return b.jsx(d,{ref:B,children:O})});f.displayName=c;const m=e+\"CollectionItemSlot\",p=\"data-radix-collection-item\",E=Rl(m),_=Ii.forwardRef((S,N)=>{const{scope:v,children:O,...L}=S,B=Ii.useRef(null),k=yn(N,B),w=o(m,v);return Ii.useEffect(()=>(w.itemMap.set(B,{ref:B,...L}),()=>void w.itemMap.delete(B))),b.jsx(E,{[p]:\"\",ref:k,children:O})});_.displayName=m;function x(S){const N=o(e+\"CollectionConsumer\",S);return Ii.useCallback(()=>{const O=N.collectionRef.current;if(!O)return[];const L=Array.from(O.querySelectorAll(`[${p}]`));return Array.from(N.itemMap.values()).sort((w,U)=>L.indexOf(w.ref.current)-L.indexOf(U.ref.current))},[N.collectionRef,N.itemMap])}return[{Provider:l,Slot:f,ItemSlot:_},x,r]}var tg=\"rovingFocusGroup.onEntryFocus\",eU={bubbles:!1,cancelable:!0},Xc=\"RovingFocusGroup\",[fb,xw,tU]=JB(Xc),[nU,Sw]=Is(Xc,[tU]),[rU,aU]=nU(Xc),Aw=A.forwardRef((e,t)=>b.jsx(fb.Provider,{scope:e.__scopeRovingFocusGroup,children:b.jsx(fb.Slot,{scope:e.__scopeRovingFocusGroup,children:b.jsx(iU,{...e,ref:t})})}));Aw.displayName=Xc;var iU=A.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:i=!1,dir:o,currentTabStopId:l,defaultCurrentTabStopId:c,onCurrentTabStopIdChange:d,onEntryFocus:f,preventScrollOnEntryFocus:m=!1,...p}=e,E=A.useRef(null),_=yn(t,E),x=PE(o),[S,N]=$c({prop:l,defaultProp:c??null,onChange:d,caller:Xc}),[v,O]=A.useState(!1),L=wr(f),B=xw(n),k=A.useRef(!1),[w,U]=A.useState(0);return A.useEffect(()=>{const j=E.current;if(j)return j.addEventListener(tg,L),()=>j.removeEventListener(tg,L)},[L]),b.jsx(rU,{scope:n,orientation:r,dir:x,loop:i,currentTabStopId:S,onItemFocus:A.useCallback(j=>N(j),[N]),onItemShiftTab:A.useCallback(()=>O(!0),[]),onFocusableItemAdd:A.useCallback(()=>U(j=>j+1),[]),onFocusableItemRemove:A.useCallback(()=>U(j=>j-1),[]),children:b.jsx(Ot.div,{tabIndex:v||w===0?-1:0,\"data-orientation\":r,...p,ref:_,style:{outline:\"none\",...e.style},onMouseDown:Lt(e.onMouseDown,()=>{k.current=!0}),onFocus:Lt(e.onFocus,j=>{const F=!k.current;if(j.target===j.currentTarget&&F&&!v){const M=new CustomEvent(tg,eU);if(j.currentTarget.dispatchEvent(M),!M.defaultPrevented){const J=B().filter(Q=>Q.focusable),X=J.find(Q=>Q.active),V=J.find(Q=>Q.id===S),ae=[X,V,...J].filter(Boolean).map(Q=>Q.ref.current);Cw(ae,m)}}k.current=!1}),onBlur:Lt(e.onBlur,()=>O(!1))})})}),Nw=\"RovingFocusGroupItem\",ww=A.forwardRef((e,t)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:i=!1,tabStopId:o,children:l,...c}=e,d=Wr(),f=o||d,m=aU(Nw,n),p=m.currentTabStopId===f,E=xw(n),{onFocusableItemAdd:_,onFocusableItemRemove:x,currentTabStopId:S}=m;return A.useEffect(()=>{if(r)return _(),()=>x()},[r,_,x]),b.jsx(fb.ItemSlot,{scope:n,id:f,focusable:r,active:i,children:b.jsx(Ot.span,{tabIndex:p?0:-1,\"data-orientation\":m.orientation,...c,ref:t,onMouseDown:Lt(e.onMouseDown,N=>{r?m.onItemFocus(f):N.preventDefault()}),onFocus:Lt(e.onFocus,()=>m.onItemFocus(f)),onKeyDown:Lt(e.onKeyDown,N=>{if(N.key===\"Tab\"&&N.shiftKey){m.onItemShiftTab();return}if(N.target!==N.currentTarget)return;const v=lU(N,m.orientation,m.dir);if(v!==void 0){if(N.metaKey||N.ctrlKey||N.altKey||N.shiftKey)return;N.preventDefault();let L=E().filter(B=>B.focusable).map(B=>B.ref.current);if(v===\"last\")L.reverse();else if(v===\"prev\"||v===\"next\"){v===\"prev\"&&L.reverse();const B=L.indexOf(N.currentTarget);L=m.loop?uU(L,B+1):L.slice(B+1)}setTimeout(()=>Cw(L))}}),children:typeof l==\"function\"?l({isCurrentTabStop:p,hasTabStop:S!=null}):l})})});ww.displayName=Nw;var sU={ArrowLeft:\"prev\",ArrowUp:\"prev\",ArrowRight:\"next\",ArrowDown:\"next\",PageUp:\"first\",Home:\"first\",PageDown:\"last\",End:\"last\"};function oU(e,t){return t!==\"rtl\"?e:e===\"ArrowLeft\"?\"ArrowRight\":e===\"ArrowRight\"?\"ArrowLeft\":e}function lU(e,t,n){const r=oU(e.key,n);if(!(t===\"vertical\"&&[\"ArrowLeft\",\"ArrowRight\"].includes(r))&&!(t===\"horizontal\"&&[\"ArrowUp\",\"ArrowDown\"].includes(r)))return sU[r]}function Cw(e,t=!1){const n=document.activeElement;for(const r of e)if(r===n||(r.focus({preventScroll:t}),document.activeElement!==n))return}function uU(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var cU=Aw,dU=ww,em=\"Tabs\",[fU,AW]=Is(em,[Sw]),Rw=Sw(),[hU,jE]=fU(em),Ow=A.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,onValueChange:i,defaultValue:o,orientation:l=\"horizontal\",dir:c,activationMode:d=\"automatic\",...f}=e,m=PE(c),[p,E]=$c({prop:r,onChange:i,defaultProp:o??\"\",caller:em});return b.jsx(hU,{scope:n,baseId:Wr(),value:p,onValueChange:E,orientation:l,dir:m,activationMode:d,children:b.jsx(Ot.div,{dir:m,\"data-orientation\":l,...f,ref:t})})});Ow.displayName=em;var kw=\"TabsList\",Lw=A.forwardRef((e,t)=>{const{__scopeTabs:n,loop:r=!0,...i}=e,o=jE(kw,n),l=Rw(n);return b.jsx(cU,{asChild:!0,...l,orientation:o.orientation,dir:o.dir,loop:r,children:b.jsx(Ot.div,{role:\"tablist\",\"aria-orientation\":o.orientation,...i,ref:t})})});Lw.displayName=kw;var Iw=\"TabsTrigger\",Dw=A.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,disabled:i=!1,...o}=e,l=jE(Iw,n),c=Rw(n),d=Bw(l.baseId,r),f=Uw(l.baseId,r),m=r===l.value;return b.jsx(dU,{asChild:!0,...c,focusable:!i,active:m,children:b.jsx(Ot.button,{type:\"button\",role:\"tab\",\"aria-selected\":m,\"aria-controls\":f,\"data-state\":m?\"active\":\"inactive\",\"data-disabled\":i?\"\":void 0,disabled:i,id:d,...o,ref:t,onMouseDown:Lt(e.onMouseDown,p=>{!i&&p.button===0&&p.ctrlKey===!1?l.onValueChange(r):p.preventDefault()}),onKeyDown:Lt(e.onKeyDown,p=>{[\" \",\"Enter\"].includes(p.key)&&l.onValueChange(r)}),onFocus:Lt(e.onFocus,()=>{const p=l.activationMode!==\"manual\";!m&&!i&&p&&l.onValueChange(r)})})})});Dw.displayName=Iw;var Mw=\"TabsContent\",Pw=A.forwardRef((e,t)=>{const{__scopeTabs:n,value:r,forceMount:i,children:o,...l}=e,c=jE(Mw,n),d=Bw(c.baseId,r),f=Uw(c.baseId,r),m=r===c.value,p=A.useRef(m);return A.useEffect(()=>{const E=requestAnimationFrame(()=>p.current=!1);return()=>cancelAnimationFrame(E)},[]),b.jsx(ea,{present:i||m,children:({present:E})=>b.jsx(Ot.div,{\"data-state\":m?\"active\":\"inactive\",\"data-orientation\":c.orientation,role:\"tabpanel\",\"aria-labelledby\":d,hidden:!E,id:f,tabIndex:0,...l,ref:t,style:{...e.style,animationDuration:p.current?\"0s\":void 0},children:E&&o})})});Pw.displayName=Mw;function Bw(e,t){return`${e}-trigger-${t}`}function Uw(e,t){return`${e}-content-${t}`}var mU=Ow,pU=Lw,gU=Dw,bU=Pw;function Wc({className:e,...t}){return b.jsx(mU,{\"data-slot\":\"tabs\",className:et(\"flex flex-col gap-2\",e),...t})}function Qc({className:e,...t}){return b.jsx(pU,{\"data-slot\":\"tabs-list\",className:et(\"bg-muted text-muted-foreground inline-flex h-9 w-fit items-center justify-center rounded-lg p-[3px]\",e),...t})}function ks({className:e,...t}){return b.jsx(gU,{\"data-slot\":\"tabs-trigger\",className:et(\"data-[state=active]:bg-background dark:data-[state=active]:text-foreground focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring dark:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 text-foreground dark:text-muted-foreground inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap transition-[color,box-shadow] focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:shadow-sm [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4\",e),...t})}function Mi({className:e,...t}){return b.jsx(bU,{\"data-slot\":\"tabs-content\",className:et(\"flex-1 outline-none\",e),...t})}function EU(){const{state:e}=jh(),t=e===\"collapsed\",[n,r]=A.useState(\"recent-viewed\");return b.jsxs(t5,{className:\"relative\",children:[b.jsx(n5,{className:\"relative\",children:b.jsxs(\"div\",{className:\"flex items-center justify-between w-full\",children:[b.jsx(Mn,{to:\"/\",style:{textDecoration:\"none\",color:\"inherit\"},className:\"flex items-center\",children:b.jsx(s5,{})}),!t&&b.jsx(Fg,{className:\"absolute top-5 right-2\"})]})}),b.jsx(Hv,{}),b.jsxs(a5,{children:[b.jsx(\"div\",{className:\"px-4 py-2\",children:b.jsx(ME,{placeholder:\"Search...\"})}),b.jsx(\"div\",{className:\"px-4 py-2\",children:b.jsxs(Wc,{value:n,onValueChange:r,className:\"w-full\",children:[b.jsxs(Qc,{className:\"w-full grid grid-cols-2\",children:[b.jsx(ks,{value:\"recent-viewed\",className:\"flex items-center gap-1\",children:b.jsx(pD,{className:\"h-4 w-4\"})}),b.jsx(ks,{value:\"pinned\",className:\"flex items-center gap-1\",children:b.jsx(zS,{className:\"h-4 w-4\"})})]}),b.jsx(Mi,{value:\"recent-viewed\",children:b.jsx(QB,{})}),b.jsx(Mi,{value:\"pinned\",children:b.jsx(ZB,{})}),b.jsx(Mi,{value:\"recent-searches\",children:b.jsx(\"div\",{className:\"p-4 text-center text-gray-500\",children:\"Recent searches feature coming soon.\"})})]})})]}),b.jsx(Hv,{}),b.jsx(r5,{children:b.jsxs(\"div\",{className:\"flex items-center justify-between px-2\",children:[b.jsx(o5,{}),b.jsx(c5,{})]})})]})}class yU extends A.Component{constructor(t){super(t),this.state={hasError:!1,error:null}}static getDerivedStateFromError(t){return{hasError:!0,error:t}}componentDidCatch(t,n){console.error(\"Error caught by ErrorBoundary:\",t,n)}render(){var t;return this.state.hasError?this.props.fallback?this.props.fallback:b.jsx(\"div\",{className:\"flex items-center justify-center min-h-[50vh] p-6\",children:b.jsxs(\"div\",{className:\"w-full max-w-md p-6 bg-white rounded-lg shadow-lg border border-red-200\",children:[b.jsx(\"div\",{className:\"flex items-center justify-center w-12 h-12 mx-auto mb-4 bg-red-100 rounded-full\",children:b.jsx(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",className:\"w-6 h-6 text-red-600\",fill:\"none\",viewBox:\"0 0 24 24\",stroke:\"currentColor\",children:b.jsx(\"path\",{strokeLinecap:\"round\",strokeLinejoin:\"round\",strokeWidth:2,d:\"M12 9v2m0 4h.01m-6.938 4h13.856c1.54 0 2.502-1.667 1.732-3L13.732 4c-.77-1.333-2.694-1.333-3.464 0L3.34 16c-.77 1.333.192 3 1.732 3z\"})})}),b.jsx(\"h2\",{className:\"mb-4 text-xl font-semibold text-center text-gray-800\",children:\"Something went wrong\"}),b.jsx(\"div\",{className:\"mb-4 p-3 bg-gray-50 rounded border border-gray-200 overflow-auto\",children:b.jsx(\"p\",{className:\"text-sm font-mono text-red-600\",children:((t=this.state.error)==null?void 0:t.message)||\"An unexpected error occurred\"})}),b.jsx(\"button\",{onClick:()=>window.location.reload(),className:\"w-full px-4 py-2 text-white bg-blue-600 rounded hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-opacity-50 transition-colors\",children:\"Reload page\"})]})}):this.props.children}}function _U(){const{state:e}=jh(),t=e===\"collapsed\";return b.jsxs(b.Fragment,{children:[b.jsx(Fg,{className:\"fixed bottom-4 right-4 md:hidden\"}),t&&b.jsx(Fg,{className:\"fixed top-4 left-4 z-20 hidden md:flex\"})]})}function TU(){return b.jsxs(e5,{children:[b.jsxs(\"div\",{className:\"flex min-h-screen h-screen w-full\",children:[b.jsx(EU,{}),b.jsx(\"main\",{className:\"flex-1 p-4 w-full h-full overflow-auto\",children:b.jsx(yU,{children:b.jsx(dI,{})})})]}),b.jsx(_U,{})]})}function vU(){return b.jsx(TU,{})}function fo({title:e,value:t,usedValue:n,icon:r,description:i}){return b.jsxs(\"div\",{className:\"rounded-lg border bg-card text-card-foreground shadow-sm p-6\",children:[b.jsxs(\"div\",{className:\"flex items-center justify-between space-y-0 pb-2\",children:[b.jsx(\"h3\",{className:\"text-sm font-medium tracking-tight mr-2\",children:e}),r&&b.jsx(\"div\",{className:\"text-muted-foreground\",children:r})]}),b.jsx(\"div\",{className:\"text-3xl font-bold\",children:n!==void 0?b.jsxs(\"span\",{children:[b.jsx(\"span\",{className:\"text-green-600\",children:n}),\" / \",t]}):t})]})}function xU({name:e,id:t,specUrl:n,isOpenApi:r=!1}){return b.jsx(Mn,{to:`/sources/${t}`,className:\"block no-underline text-inherit\",children:b.jsxs(\"div\",{className:\"rounded-lg border bg-card text-card-foreground shadow-sm p-4 hover:shadow-md transition-shadow\",children:[b.jsxs(\"div\",{className:\"flex items-center justify-between space-y-0 pb-2\",children:[b.jsx(\"h3\",{className:\"text-sm font-medium tracking-tight\",children:e}),r&&b.jsx(\"div\",{className:\"text-blue-500\",title:\"OpenAPI Source\",children:b.jsx(zc,{className:\"h-4 w-4\"})}),!r&&b.jsx(\"div\",{className:\"text-muted-foreground\",title:\"Source\",children:b.jsx(FS,{className:\"h-4 w-4\"})})]}),b.jsxs(\"div\",{className:\"text-xs text-muted-foreground mb-2\",children:[\"ID: \",t]}),b.jsx(\"div\",{className:\"text-xs text-muted-foreground truncate\",title:n,children:n})]})})}const SU=kr({sourceCount:Yr(),endpointCount:Yr(),dataTypeCount:Yr(),controllerCount:Yr(),usedEndpointCount:Yr(),usedDataTypeCount:Yr(),usedSourceCount:Yr(),usedControllerCount:Yr()}),AU=ir(),hb=\"GET /api/data/data-stats| -> application/json\",mb=\"deamon_api\";function Fw(e={}){let[t,n,r]=li({key:(e==null?void 0:e.key)??\"default\",operation:hb,source:mb,schema:SU,errorSchema:AU}),i=A.useCallback((o={})=>{let{...l}=o;return n({method:\"get\",url:\"/api/data/data-stats\",headers:{},params:l,key:`${mb}: ${hb}`,source:\"deamon_api\"}),oi()},[n]);return A.useEffect(()=>(e.fetchOnMount&&i(e.params),()=>{e.clearOnUnmount&&r()}),[]),[t,i,r]}Fw.key=`${mb}: ${hb}`;const Hw=Fw,jw=kr({id:wt(),name:wt(),specUrl:wt()}),NU=La(e=>Array.isArray(e)?e:[e],ka(Cr(()=>jw))),wU=ir(),pb=\"GET /api/config/sources/list| -> application/json\",gb=\"deamon_api\";function zw(e={}){let[t,n,r]=li({key:(e==null?void 0:e.key)??\"default\",operation:pb,source:gb,schema:NU,errorSchema:wU}),i=A.useCallback((o={})=>{let{...l}=o;return n({method:\"get\",url:\"/api/config/sources/list\",headers:{},params:l,key:`${gb}: ${pb}`,source:\"deamon_api\"}),oi()},[n]);return A.useEffect(()=>(e.fetchOnMount&&i(e.params),()=>{e.clearOnUnmount&&r()}),[]),[t,i,r]}zw.key=`${gb}: ${pb}`;const CU=zw;function RU(){const[e]=Hw({clearOnUnmount:!0,fetchOnMount:!0,params:{}}),[t]=CU({clearOnUnmount:!0,fetchOnMount:!0,params:{}}),n=A.useMemo(()=>ar(t)?t.data:[],[t]),r=A.useMemo(()=>ar(e)?e.data:(Kl(e)&&console.error(\"Error fetching stats:\",e.error),null),[e]);return b.jsxs(\"div\",{className:\"container mx-auto p-4 w-full flex flex-col\",children:[b.jsxs(\"div\",{className:\"flex items-center mb-6\",children:[b.jsx(CD,{className:\"h-6 w-6 mr-2 text-primary\"}),b.jsx(\"h1\",{className:\"text-2xl font-bold\",children:\"API Insight Dashboard\"})]}),b.jsx(\"p\",{className:\"text-muted-foreground mb-8 max-w-3xl\",children:\"Welcome to the API Insight Dashboard. Explore your API sources, search for endpoints and data types, and view detailed statistics about your APIs.\"}),r&&b.jsxs(\"div\",{className:\"p-4 border rounded-lg shadow-sm bg-card mb-8\",children:[b.jsx(\"h2\",{className:\"text-lg font-semibold mb-3\",children:\"API Statistics Overview\"}),b.jsx(\"p\",{className:\"text-sm text-muted-foreground mb-4\",children:\"Summary of all API resources across all sources\"}),b.jsxs(\"div\",{className:\"grid grid-cols-1 md:grid-cols-4 gap-4\",children:[b.jsx(fo,{title:\"Sources\",value:r.sourceCount,usedValue:r.usedSourceCount,icon:b.jsx(zc,{className:\"h-4 w-4\"}),description:\"Total number of API sources\"}),b.jsx(fo,{title:\"Controllers\",value:r.controllerCount,usedValue:r.usedControllerCount,icon:b.jsx(US,{className:\"h-4 w-4\"}),description:\"Total number of API controllers\"}),b.jsx(fo,{title:\"Endpoints\",value:r.endpointCount,usedValue:r.usedEndpointCount,icon:b.jsx(Eo,{className:\"h-4 w-4\"}),description:\"Total number of API endpoints\"}),b.jsx(fo,{title:\"Data Types\",value:r.dataTypeCount,usedValue:r.usedDataTypeCount,icon:b.jsx(bo,{className:\"h-4 w-4\"}),description:\"Total number of data models\"})]})]}),b.jsx(\"div\",{className:\"mx-auto w-full mb-8\",children:b.jsxs(\"div\",{className:\"p-4 border rounded-lg shadow-sm bg-card\",children:[b.jsx(\"h2\",{className:\"text-lg font-semibold mb-3\",children:\"Search API Resources\"}),b.jsx(\"p\",{className:\"text-sm text-muted-foreground mb-3\",children:\"Search across all sources for endpoints, controllers, or data types\"}),b.jsx(ME,{})]})}),b.jsx(\"div\",{className:\"w-full\",children:b.jsxs(\"div\",{className:\"p-4 border rounded-lg shadow-sm bg-card\",children:[b.jsx(\"h2\",{className:\"text-lg font-semibold mb-3\",children:\"API Sources\"}),b.jsx(\"p\",{className:\"text-sm text-muted-foreground mb-4\",children:\"Browse all available API sources and click to view detailed information\"}),b.jsxs(\"div\",{className:\"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4\",children:[n.map(i=>b.jsx(xU,{id:i.id,name:i.name,specUrl:i.specUrl,isOpenApi:!0},i.id)),n.length===0&&b.jsx(\"div\",{className:\"col-span-full text-center p-8 text-muted-foreground\",children:\"No API sources found. Add a source to get started.\"})]})]})})]})}function OU(){return b.jsxs(\"div\",{className:\"container mx-auto p-4\",children:[b.jsx(\"h1\",{className:\"text-2xl font-bold mb-4\",children:\"About Page\"}),b.jsx(\"p\",{children:\"This is the about page for the Insight application.\"})]})}const kU=ir(),LU=ir(),bb=\"GET /api/config/sources/{id}/download| -> application/json\",Eb=\"deamon_api\";function $w(e={}){let[t,n,r,i]=li({key:(e==null?void 0:e.key)??\"default\",operation:bb,source:Eb,schema:kU,errorSchema:LU});A.useEffect(()=>{var l;if(ar(t)){let c=document.createElement(\"a\");c.href=URL.createObjectURL(new Blob([t.data],{type:\"application/octet-stream\"}));const d=(l=t.headers)==null?void 0:l[\"content-disposition\"];let f=\"SourcesControllerDownloadOpenApiFile.\";if(d){const m=/filename\\*=(?:UTF-8'')?([^;\\r\\n]+)|filename=\"?([^\";\\r\\n]+)\"?/i,p=d.match(m);p&&p[1]?f=decodeURIComponent(p[1].replace(/\\+/g,\" \")):p&&p[2]&&(f=decodeURIComponent(p[2].replace(/\\+/g,\" \"))),c.download=f}c.download=f,document.body.appendChild(c),c.click(),document.body.removeChild(c),i(Qg())}},[t]);let o=A.useCallback(l=>{let{id:c,...d}=l;return n({method:\"get\",url:`/api/config/sources/${c}/download`,headers:{},params:d,key:`${Eb}: ${bb}`,source:\"deamon_api\"}),oi()},[n]);return A.useEffect(()=>(e.fetchOnMount&&o(e.params),()=>{e.clearOnUnmount&&r()}),[]),[t,o,r]}$w.key=`${Eb}: ${bb}`;const IU=$w;function DU({sourceId:e,variant:t=\"outline\",size:n=\"sm\",className:r=\"w-full\"}){const[i,o]=IU({clearOnUnmount:!0}),l=async()=>{e&&o({id:e})};return b.jsxs(ri,{onClick:l,variant:t,size:n,className:r,children:[b.jsx(nE,{className:\"h-4 w-4 mr-2\"}),\"Download OpenAPI File\"]})}function zE({...e}){return b.jsx(\"nav\",{\"aria-label\":\"breadcrumb\",\"data-slot\":\"breadcrumb\",...e})}function $E({className:e,...t}){return b.jsx(\"ol\",{\"data-slot\":\"breadcrumb-list\",className:et(\"text-muted-foreground flex flex-wrap items-center gap-1.5 text-sm break-words sm:gap-2.5\",e),...t})}function vs({className:e,...t}){return b.jsx(\"li\",{\"data-slot\":\"breadcrumb-item\",className:et(\"inline-flex items-center gap-1.5\",e),...t})}function Dc({asChild:e,className:t,...n}){const r=e?IS:\"a\";return b.jsx(r,{\"data-slot\":\"breadcrumb-link\",className:et(\"hover:text-foreground transition-colors\",t),...n})}function qE({className:e,...t}){return b.jsx(\"span\",{\"data-slot\":\"breadcrumb-page\",role:\"link\",\"aria-disabled\":\"true\",\"aria-current\":\"page\",className:et(\"text-foreground font-normal\",e),...t})}function Mc({children:e,className:t,...n}){return b.jsx(\"li\",{\"data-slot\":\"breadcrumb-separator\",role:\"presentation\",\"aria-hidden\":\"true\",className:et(\"[&>svg]:size-3.5\",t),...n,children:e??b.jsx(tE,{})})}function qw({className:e,...t}){return b.jsx(\"nav\",{role:\"navigation\",\"aria-label\":\"pagination\",\"data-slot\":\"pagination\",className:et(\"mx-auto flex w-full justify-center\",e),...t})}function Yw({className:e,...t}){return b.jsx(\"ul\",{\"data-slot\":\"pagination-content\",className:et(\"flex flex-row items-center gap-1\",e),...t})}function Xn({...e}){return b.jsx(\"li\",{\"data-slot\":\"pagination-item\",...e})}function ga({className:e,isActive:t,size:n=\"icon\",...r}){return b.jsx(\"a\",{\"aria-current\":t?\"page\":void 0,\"data-slot\":\"pagination-link\",\"data-active\":t,className:et(nA({variant:t?\"outline\":\"ghost\",size:n}),e),...r})}function Gw({className:e,...t}){return b.jsxs(ga,{\"aria-label\":\"Go to previous page\",size:\"default\",className:et(\"gap-1 px-2.5 sm:pl-2.5\",e),...t,children:[b.jsx(cD,{}),b.jsx(\"span\",{className:\"hidden sm:block\",children:\"Previous\"})]})}function Vw({className:e,...t}){return b.jsxs(ga,{\"aria-label\":\"Go to next page\",size:\"default\",className:et(\"gap-1 px-2.5 sm:pr-2.5\",e),...t,children:[b.jsx(\"span\",{className:\"hidden sm:block\",children:\"Next\"}),b.jsx(tE,{})]})}function ph({className:e,...t}){return b.jsxs(\"span\",{\"aria-hidden\":!0,\"data-slot\":\"pagination-ellipsis\",className:et(\"flex size-9 items-center justify-center\",e),...t,children:[b.jsx(yD,{className:\"size-4\"}),b.jsx(\"span\",{className:\"sr-only\",children:\"More pages\"})]})}const MU=new RegExp(\"([\\\\p{Ll}\\\\d])(\\\\p{Lu})\",\"gu\"),PU=new RegExp(\"(\\\\p{Lu})([\\\\p{Lu}][\\\\p{Ll}])\",\"gu\"),BU=new RegExp(\"(\\\\d)\\\\p{Ll}|(\\\\p{L})\\\\d\",\"u\"),UU=/[^\\p{L}\\d]+/giu,Dx=\"$1\\0$2\",Mx=\"\";function Kw(e){let t=e.trim();t=t.replace(MU,Dx).replace(PU,Dx),t=t.replace(UU,\"\\0\");let n=0,r=t.length;for(;t.charAt(n)===\"\\0\";)n++;if(n===r)return[];for(;t.charAt(r-1)===\"\\0\";)r--;return t.slice(n,r).split(/\\0/g)}function FU(e){const t=Kw(e);for(let n=0;n<t.length;n++){const r=t[n],i=BU.exec(r);if(i){const o=i.index+(i[1]??i[2]).length;t.splice(n,1,r.slice(0,o),r.slice(o))}}return t}function sc(e,t){const[n,r,i]=jU(e,t);return n+r.map(HU(t==null?void 0:t.locale)).join(\"_\")+i}function HU(e){return e===!1?t=>t.toUpperCase():t=>t.toLocaleUpperCase(e)}function jU(e,t={}){const n=t.split??(t.separateNumbers?FU:Kw),r=t.prefixCharacters??Mx,i=t.suffixCharacters??Mx;let o=0,l=e.length;for(;o<e.length;){const c=e.charAt(o);if(!r.includes(c))break;o++}for(;l>o;){const c=l-1,d=e.charAt(c);if(!i.includes(d))break;l=c}return[e.slice(0,o),n(e.slice(o,l)),e.slice(l)]}function zU({sourceId:e}){var f,m;const[t,n,r]=DE(\"\",300),[i,o]=A.useState(1),[l,c]=IE({clearOnUnmount:!0,fetchOnMount:!0,params:{source:e,type:\"rest\",query:r,page:i,size:12},key:\"endpoint\"});A.useEffect(()=>{c({source:e,type:\"rest\",query:r,page:i,size:12})},[r,i]);const d=A.useMemo(()=>ar(l)?l.data:null,[l]);return b.jsxs(\"div\",{className:\"w-full\",children:[b.jsxs(\"div\",{className:\"mb-4 relative\",children:[b.jsx(Rh,{className:\"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground\"}),b.jsx(rA,{placeholder:\"Search endpoints...\",value:t,onChange:p=>n(p.target.value),className:\"pl-10\"})]}),b.jsx(\"div\",{className:\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4\",children:(f=d==null?void 0:d.data)==null?void 0:f.map(p=>{var E,_,x,S,N,v,O,L,B;return b.jsx(Mn,{to:`endpoint/${p.id}`,className:\"block no-underline text-inherit\",children:b.jsxs(\"div\",{className:\"rounded-lg border bg-card text-card-foreground shadow-sm p-4 hover:shadow-md transition-shadow h-full flex flex-col relative\",children:[b.jsx(\"span\",{className:`absolute top-2 right-2 px-2 py-1 text-xs rounded-md text-white font-medium ${sc(p.data.method)===\"GET\"?\"bg-blue-600\":sc(p.data.method)===\"POST\"?\"bg-green-600\":sc(p.data.method)===\"PUT\"?\"bg-yellow-600\":sc(p.data.method)===\"DELETE\"?\"bg-red-600\":\"bg-gray-600\"}`,children:sc(p.data.method)}),b.jsx(\"div\",{className:\"pb-2 pr-16\",children:b.jsx(\"h3\",{className:\"text-sm font-medium tracking-tight break-words\",children:p.name})}),b.jsx(\"div\",{className:\"text-xs font-mono mb-2 break-all\",children:p.data.requestUrl||p.path}),b.jsx(\"div\",{className:\"text-xs text-muted-foreground line-clamp-3 overflow-hidden\",children:p.data.summary||p.data.description}),b.jsx(\"div\",{className:\"absolute bottom-2 right-2 flex gap-1\",children:b.jsxs(Ds,{children:[((E=p.data.contentType)==null?void 0:E.includes(\"multipart/form-data\"))&&b.jsxs(ba,{children:[b.jsx(Ea,{asChild:!0,children:b.jsx(\"div\",{className:\"p-1 rounded-md bg-purple-100 text-purple-700\",children:b.jsx(qS,{className:\"h-3 w-3\"})})}),b.jsx(ya,{children:b.jsx(\"p\",{children:\"Multipart Form Data\"})})]}),((_=p.data.contentType)==null?void 0:_.includes(\"application/x-www-form-urlencoded\"))&&b.jsxs(ba,{children:[b.jsx(Ea,{asChild:!0,children:b.jsx(\"div\",{className:\"p-1 rounded-md bg-blue-100 text-blue-700\",children:b.jsx(HS,{className:\"h-3 w-3\"})})}),b.jsx(ya,{children:b.jsx(\"p\",{children:\"Form URL Encoded\"})})]}),((x=p.data.responseType)==null?void 0:x.includes(\"text/event-stream\"))&&b.jsxs(ba,{children:[b.jsx(Ea,{asChild:!0,children:b.jsx(\"div\",{className:\"p-1 rounded-md bg-green-100 text-green-700\",children:b.jsx($S,{className:\"h-3 w-3\"})})}),b.jsx(ya,{children:b.jsx(\"p\",{children:\"SSE (Server-Sent Events)\"})})]}),(((S=p.data.responseType)==null?void 0:S.includes(\"application/octet-stream\"))||((N=p.data.responseType)==null?void 0:N.includes(\"application/pdf\"))||((v=p.data.responseType)==null?void 0:v.includes(\"application/zip\"))||((O=p.data.responseType)==null?void 0:O.includes(\"application/x-msdownload\"))||((L=p.data.responseType)==null?void 0:L.includes(\"application/vnd.ms-excel\"))||((B=p.data.responseType)==null?void 0:B.includes(\"application/vnd.openxmlformats-officedocument\")))&&b.jsxs(ba,{children:[b.jsx(Ea,{asChild:!0,children:b.jsx(\"div\",{className:\"p-1 rounded-md bg-amber-100 text-amber-700\",children:b.jsx(nE,{className:\"h-3 w-3\"})})}),b.jsx(ya,{children:b.jsx(\"p\",{children:\"Downloadable Content\"})})]})]})})]})},p.id)})}),((m=d==null?void 0:d.data)==null?void 0:m.length)===0&&b.jsxs(\"div\",{className:\"text-center py-8\",children:[b.jsx(Eo,{className:\"mx-auto h-12 w-12 text-muted-foreground/50\"}),b.jsx(\"h3\",{className:\"mt-2 text-lg font-semibold\",children:\"No endpoints found\"}),b.jsx(\"p\",{className:\"text-sm text-muted-foreground\",children:t?\"Try a different search term\":\"No endpoints available for this source\"})]}),d&&d.totalPages>1&&b.jsx(\"div\",{className:\"mt-8\",children:b.jsx(qw,{children:b.jsxs(Yw,{children:[d.hasPrevious&&b.jsx(Xn,{children:b.jsx(Gw,{onClick:()=>o(p=>Math.max(1,p-1)),style:{cursor:d.hasPrevious?\"pointer\":\"not-allowed\"}})}),i>2&&b.jsx(Xn,{children:b.jsx(ga,{onClick:()=>o(1),isActive:i===1,children:\"1\"})}),i>3&&b.jsx(Xn,{children:b.jsx(ph,{})}),i>1&&b.jsx(Xn,{children:b.jsx(ga,{onClick:()=>o(i-1),children:i-1})}),b.jsx(Xn,{children:b.jsx(ga,{isActive:!0,children:i})}),i<d.totalPages&&b.jsx(Xn,{children:b.jsx(ga,{onClick:()=>o(i+1),children:i+1})}),i<d.totalPages-2&&b.jsx(Xn,{children:b.jsx(ph,{})}),i<d.totalPages-1&&b.jsx(Xn,{children:b.jsx(ga,{onClick:()=>o(d.totalPages),children:d.totalPages})}),d.hasNext&&b.jsx(Xn,{children:b.jsx(Vw,{onClick:()=>o(p=>Math.min(d.totalPages,p+1)),style:{cursor:d.hasNext?\"pointer\":\"not-allowed\"}})})]})})})]})}function $U({sourceId:e}){var f,m;const[t,n,r]=DE(\"\",300),[i,o]=A.useState(1),[l,c]=IE({clearOnUnmount:!0,fetchOnMount:!0,params:{source:e,type:\"schema\",query:r,page:i,size:12},key:\"datatype\"});A.useEffect(()=>{c({source:e,type:\"schema\",query:r,page:i,size:12})},[r,i]);const d=A.useMemo(()=>ar(l)?l.data:null,[l]);return b.jsxs(\"div\",{className:\"w-full\",children:[b.jsxs(\"div\",{className:\"mb-4 relative\",children:[b.jsx(Rh,{className:\"absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-muted-foreground\"}),b.jsx(rA,{placeholder:\"Search data types...\",value:t,onChange:p=>n(p.target.value),className:\"pl-10\"})]}),b.jsx(\"div\",{className:\"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4\",children:(f=d==null?void 0:d.data)==null?void 0:f.map(p=>{var E,_,x;return b.jsx(Mn,{to:`datatype/${p.id}`,className:\"block no-underline text-inherit\",children:b.jsxs(\"div\",{className:\"rounded-lg border bg-card text-card-foreground shadow-sm p-4 hover:shadow-md transition-shadow h-full flex flex-col relative\",children:[b.jsx(\"div\",{className:\"pb-2\",children:b.jsx(\"h3\",{className:\"text-sm font-medium tracking-tight break-words\",children:p.name})}),((_=(E=p.data)==null?void 0:E.schema)==null?void 0:_.properties)&&b.jsxs(\"div\",{className:\"flex flex-wrap gap-1 mb-2\",children:[Object.keys(p.data.schema.properties).slice(0,5).map(S=>b.jsx(\"span\",{className:\"px-2 py-0.5 text-xs rounded-md bg-secondary text-secondary-foreground\",children:S},S)),Object.keys(p.data.schema.properties).length>5&&b.jsxs(\"span\",{className:\"px-2 py-0.5 text-xs rounded-md bg-secondary text-secondary-foreground\",children:[\"+\",Object.keys(p.data.schema.properties).length-5,\" more\"]})]}),b.jsx(\"div\",{className:\"text-xs text-muted-foreground line-clamp-3 overflow-hidden\",children:(x=p.data)==null?void 0:x.description})]})},p.id)})}),((m=d==null?void 0:d.data)==null?void 0:m.length)===0&&b.jsxs(\"div\",{className:\"text-center py-8\",children:[b.jsx(bo,{className:\"mx-auto h-12 w-12 text-muted-foreground/50\"}),b.jsx(\"h3\",{className:\"mt-2 text-lg font-semibold\",children:\"No data types found\"}),b.jsx(\"p\",{className:\"text-sm text-muted-foreground\",children:t?\"Try a different search term\":\"No data types available for this source\"})]}),d&&d.totalPages>1&&b.jsx(\"div\",{className:\"mt-8\",children:b.jsx(qw,{children:b.jsxs(Yw,{children:[d.hasPrevious&&b.jsx(Xn,{children:b.jsx(Gw,{onClick:()=>o(p=>Math.max(1,p-1)),style:{cursor:d.hasPrevious?\"pointer\":\"not-allowed\"}})}),i>2&&b.jsx(Xn,{children:b.jsx(ga,{onClick:()=>o(1),isActive:i===1,children:\"1\"})}),i>3&&b.jsx(Xn,{children:b.jsx(ph,{})}),i>1&&b.jsx(Xn,{children:b.jsx(ga,{onClick:()=>o(i-1),children:i-1})}),b.jsx(Xn,{children:b.jsx(ga,{isActive:!0,children:i})}),i<d.totalPages&&b.jsx(Xn,{children:b.jsx(ga,{onClick:()=>o(i+1),children:i+1})}),i<d.totalPages-2&&b.jsx(Xn,{children:b.jsx(ph,{})}),i<d.totalPages-1&&b.jsx(Xn,{children:b.jsx(ga,{onClick:()=>o(d.totalPages),children:d.totalPages})}),d.hasNext&&b.jsx(Xn,{children:b.jsx(Vw,{onClick:()=>o(p=>Math.min(d.totalPages,p+1)),style:{cursor:d.hasNext?\"pointer\":\"not-allowed\"}})})]})})})]})}const qU=ir(),yb=\"GET /api/config/sources/{id}| -> application/json\",_b=\"deamon_api\";function Xw(e={}){let[t,n,r]=li({key:(e==null?void 0:e.key)??\"default\",operation:yb,source:_b,schema:jw,errorSchema:qU}),i=A.useCallback(o=>{let{id:l,...c}=o;return n({method:\"get\",url:`/api/config/sources/${l}`,headers:{},params:c,key:`${_b}: ${yb}`,source:\"deamon_api\"}),oi()},[n]);return A.useEffect(()=>(e.fetchOnMount&&i(e.params),()=>{e.clearOnUnmount&&r()}),[]),[t,i,r]}Xw.key=`${_b}: ${yb}`;const YU=Xw;function GU(){const{sourceId:e}=Wb(),[t,n]=YU({clearOnUnmount:!0}),[r,i]=Hw({clearOnUnmount:!0});A.useEffect(()=>{e&&n({id:e})},[e]);const o=A.useMemo(()=>ar(t)?t.data:null,[t]);A.useEffect(()=>{e&&i({source:e})},[e]);const l=A.useMemo(()=>ar(r)?r.data:null,[r]);return!o&&e?b.jsx(\"div\",{children:\"Source not found\"}):b.jsx(\"div\",{className:\"container mx-auto p-4 w-full flex flex-col\",children:o?b.jsxs(b.Fragment,{children:[b.jsx(zE,{className:\"mb-4\",children:b.jsxs($E,{children:[b.jsx(vs,{children:b.jsx(Dc,{asChild:!0,children:b.jsx(Mn,{to:\"/\",children:b.jsx(ND,{className:\"h-3 w-3\"})})})}),b.jsx(Mc,{children:b.jsx(tE,{className:\"h-3 w-3\"})}),b.jsx(vs,{children:b.jsx(qE,{children:o.name})})]})}),b.jsx(\"h1\",{className:\"text-2xl font-bold mb-6\",children:o.name}),b.jsxs(\"div\",{className:\"flex flex-col md:flex-row justify-between mb-8\",children:[b.jsxs(\"div\",{className:\"flex flex-col items-start p-4 border rounded-lg shadow-sm bg-card\",children:[b.jsx(\"h3\",{className:\"text-lg font-semibold mb-3\",children:\"Source Information\"}),b.jsxs(\"div\",{className:\"grid grid-cols-[auto_1fr] gap-x-3 gap-y-2 items-start\",children:[b.jsx(\"span\",{className:\"font-medium text-sm\",children:\"ID:\"}),b.jsx(\"span\",{className:\"text-sm text-muted-foreground font-mono\",children:o.id}),b.jsx(\"span\",{className:\"font-medium text-sm\",children:\"Name:\"}),b.jsx(\"span\",{className:\"text-sm text-muted-foreground\",children:o.name}),b.jsx(\"span\",{className:\"font-medium text-sm\",children:\"Spec URL:\"}),b.jsx(\"a\",{href:o.specUrl,target:\"_blank\",rel:\"noopener noreferrer\",className:\"text-sm text-blue-600 hover:underline truncate max-w-xs\",children:o.specUrl}),b.jsx(\"span\",{className:\"font-medium text-sm\",children:\"Type:\"}),b.jsxs(\"span\",{className:\"inline-flex items-center gap-1 px-2 py-1 rounded-full bg-blue-100 text-blue-800 text-xs\",children:[b.jsx(zc,{className:\"h-3 w-3\"}),b.jsx(\"span\",{children:\"OpenAPI\"})]}),b.jsx(\"span\",{className:\"font-medium text-sm\",children:\"Last Updated:\"}),b.jsx(\"span\",{className:\"text-sm text-muted-foreground\",children:new Date().toLocaleDateString()})]}),b.jsx(\"div\",{className:\"mt-4 pt-3 border-t\",children:b.jsx(DU,{sourceId:e})})]}),l&&b.jsxs(\"div\",{className:\"flex flex-col p-4 border rounded-lg shadow-sm bg-card\",children:[b.jsx(\"h3\",{className:\"text-lg font-semibold mb-3\",children:\"API Statistics\"}),b.jsxs(\"div\",{className:\"grid grid-cols-1 md:grid-cols-3 gap-4\",children:[b.jsx(fo,{title:\"Controllers\",value:l.controllerCount,usedValue:l.usedControllerCount,icon:b.jsx(US,{className:\"h-4 w-4\"}),description:\"Total number of API controllers\"}),b.jsx(fo,{title:\"Endpoints\",value:l.endpointCount,usedValue:l.usedEndpointCount,icon:b.jsx(Eo,{className:\"h-4 w-4\"}),description:\"Total number of API endpoints\"}),b.jsx(fo,{title:\"Data Types\",value:l.dataTypeCount,usedValue:l.usedDataTypeCount,icon:b.jsx(bo,{className:\"h-4 w-4\"}),description:\"Total number of data models\"})]})]})]}),b.jsx(\"div\",{className:\"mx-auto w-full mb-8\",children:b.jsxs(\"div\",{className:\"p-4 border rounded-lg shadow-sm bg-card\",children:[b.jsx(\"h3\",{className:\"text-lg font-semibold mb-3\",children:\"Search API Resources\"}),b.jsx(\"p\",{className:\"text-sm text-muted-foreground mb-3\",children:\"Search for endpoints, controllers, or data types in this API source\"}),b.jsx(ME,{source:e})]})}),b.jsx(\"div\",{className:\"mb-8\",children:b.jsxs(\"div\",{className:\"p-4 border rounded-lg shadow-sm bg-card\",children:[b.jsx(\"h3\",{className:\"text-lg font-semibold mb-3\",children:\"API Resources\"}),b.jsxs(Wc,{defaultValue:\"endpoints\",className:\"w-full\",children:[b.jsxs(Qc,{className:\"mb-4\",children:[b.jsxs(ks,{value:\"endpoints\",children:[b.jsx(Eo,{className:\"h-4 w-4 mr-2\"}),\"Endpoints\"]}),b.jsxs(ks,{value:\"datatypes\",children:[b.jsx(bo,{className:\"h-4 w-4 mr-2\"}),\"Data Types\"]})]}),b.jsx(Mi,{value:\"endpoints\",className:\"mt-0\",children:b.jsxs(\"div\",{className:\"p-1\",children:[b.jsx(\"p\",{className:\"text-sm text-muted-foreground mb-4\",children:\"Browse all available API endpoints in this source\"}),b.jsx(zU,{sourceId:e})]})}),b.jsx(Mi,{value:\"datatypes\",className:\"mt-0\",children:b.jsxs(\"div\",{className:\"p-1\",children:[b.jsx(\"p\",{className:\"text-sm text-muted-foreground mb-4\",children:\"Browse all available data models in this source\"}),b.jsx($U,{sourceId:e})]})})]})]})})]}):b.jsx(Bf,{to:\"/\",replace:!0})})}const gh=kr({name:wt(),id:wt()}),VU=kr({name:wt(),in:wt(),ref:wt(),relatedType:Cr(()=>gh)}),Ww=kr({name:wt(),content:wt()}),KU=kr({id:wt(),name:wt(),method:wt(),path:wt(),description:wt().optional().nullable(),requestBody:Cr(()=>gh).optional().nullable(),contentType:wt().optional().nullable(),response:Cr(()=>gh).optional().nullable(),responseType:wt().optional().nullable(),requestUrl:wt(),variables:La(e=>Array.isArray(e)?e:[e],ka(Cr(()=>VU))),responseExamples:ir(),tabs:La(e=>Array.isArray(e)?e:[e],ka(Cr(()=>Ww)))}),XU=ir(),Tb=\"GET /api/data/get/endpoint/{id}| -> application/json\",vb=\"deamon_api\";function Qw(e={}){let[t,n,r]=li({key:(e==null?void 0:e.key)??\"default\",operation:Tb,source:vb,schema:KU,errorSchema:XU}),i=A.useCallback(o=>{let{id:l,...c}=o;return n({method:\"get\",url:`/api/data/get/endpoint/${l}`,headers:{},params:c,key:`${vb}: ${Tb}`,source:\"deamon_api\"}),oi()},[n]);return A.useEffect(()=>(e.fetchOnMount&&i(e.params),()=>{e.clearOnUnmount&&r()}),[]),[t,i,r]}Qw.key=`${vb}: ${Tb}`;const WU=Qw,QU=kr({files:La(e=>Array.isArray(e)?e:[e],ka(wt()))}),ZU=ir(),xb=\"GET /api/data/files| -> application/json\",Sb=\"deamon_api\";function Zw(e={}){let[t,n,r]=li({key:(e==null?void 0:e.key)??\"default\",operation:xb,source:Sb,schema:QU,errorSchema:ZU}),i=A.useCallback((o={})=>{let{...l}=o;return n({method:\"get\",url:\"/api/data/files\",headers:{},params:l,key:`${Sb}: ${xb}`,source:\"deamon_api\"}),oi()},[n]);return A.useEffect(()=>(e.fetchOnMount&&i(e.params),()=>{e.clearOnUnmount&&r()}),[]),[t,i,r]}Zw.key=`${Sb}: ${xb}`;const tm=Zw,Kr=A.forwardRef(({className:e,...t},n)=>b.jsx(\"div\",{ref:n,className:et(\"rounded-lg border bg-card text-card-foreground shadow-sm\",e),...t}));Kr.displayName=\"Card\";const Ja=A.forwardRef(({className:e,...t},n)=>b.jsx(\"div\",{ref:n,className:et(\"flex flex-col space-y-1.5 p-6\",e),...t}));Ja.displayName=\"CardHeader\";const xs=A.forwardRef(({className:e,...t},n)=>b.jsx(\"h3\",{ref:n,className:et(\"text-lg font-semibold leading-none tracking-tight\",e),...t}));xs.displayName=\"CardTitle\";const Ss=A.forwardRef(({className:e,...t},n)=>b.jsx(\"p\",{ref:n,className:et(\"text-sm text-muted-foreground\",e),...t}));Ss.displayName=\"CardDescription\";const Xr=A.forwardRef(({className:e,...t},n)=>b.jsx(\"div\",{ref:n,className:et(\"p-6 pt-0\",e),...t}));Xr.displayName=\"CardContent\";const JU=A.forwardRef(({className:e,...t},n)=>b.jsx(\"div\",{ref:n,className:et(\"flex items-center p-6 pt-0\",e),...t}));JU.displayName=\"CardFooter\";function Px(e){const t=[],n=String(e||\"\");let r=n.indexOf(\",\"),i=0,o=!1;for(;!o;){r===-1&&(r=n.length,o=!0);const l=n.slice(i,r).trim();(l||!o)&&t.push(l),i=r+1,r=n.indexOf(\",\",i)}return t}function Jw(e,t){const n={};return(e[e.length-1]===\"\"?[...e,\"\"]:e).join((n.padRight?\" \":\"\")+\",\"+(n.padLeft===!1?\"\":\" \")).trim()}const e7=/^[$_\\p{ID_Start}][$_\\u{200C}\\u{200D}\\p{ID_Continue}]*$/u,t7=/^[$_\\p{ID_Start}][-$_\\u{200C}\\u{200D}\\p{ID_Continue}]*$/u,n7={};function Bx(e,t){return(n7.jsx?t7:e7).test(e)}const r7=/[ \\t\\n\\f\\r]/g;function a7(e){return typeof e==\"object\"?e.type===\"text\"?Ux(e.value):!1:Ux(e)}function Ux(e){return e.replace(r7,\"\")===\"\"}let Zc=class{constructor(t,n,r){this.normal=n,this.property=t,r&&(this.space=r)}};Zc.prototype.normal={};Zc.prototype.property={};Zc.prototype.space=void 0;function eC(e,t){const n={},r={};for(const i of e)Object.assign(n,i.property),Object.assign(r,i.normal);return new Zc(n,r,t)}function Pc(e){return e.toLowerCase()}let Lr=class{constructor(t,n){this.attribute=n,this.property=t}};Lr.prototype.attribute=\"\";Lr.prototype.booleanish=!1;Lr.prototype.boolean=!1;Lr.prototype.commaOrSpaceSeparated=!1;Lr.prototype.commaSeparated=!1;Lr.prototype.defined=!1;Lr.prototype.mustUseProperty=!1;Lr.prototype.number=!1;Lr.prototype.overloadedBoolean=!1;Lr.prototype.property=\"\";Lr.prototype.spaceSeparated=!1;Lr.prototype.space=void 0;let i7=0;const Et=Co(),Ln=Co(),Ab=Co(),Ce=Co(),rn=Co(),Nl=Co(),$r=Co();function Co(){return 2**++i7}const Nb=Object.freeze(Object.defineProperty({__proto__:null,boolean:Et,booleanish:Ln,commaOrSpaceSeparated:$r,commaSeparated:Nl,number:Ce,overloadedBoolean:Ab,spaceSeparated:rn},Symbol.toStringTag,{value:\"Module\"})),ng=Object.keys(Nb);let YE=class extends Lr{constructor(t,n,r,i){let o=-1;if(super(t,n),Fx(this,\"space\",i),typeof r==\"number\")for(;++o<ng.length;){const l=ng[o];Fx(this,ng[o],(r&Nb[l])===Nb[l])}}};YE.prototype.defined=!0;function Fx(e,t,n){n&&(e[t]=n)}function Ql(e){const t={},n={};for(const[r,i]of Object.entries(e.properties)){const o=new YE(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Pc(r)]=r,n[Pc(o.attribute)]=r}return new Zc(t,n,e.space)}const tC=Ql({properties:{ariaActiveDescendant:null,ariaAtomic:Ln,ariaAutoComplete:null,ariaBusy:Ln,ariaChecked:Ln,ariaColCount:Ce,ariaColIndex:Ce,ariaColSpan:Ce,ariaControls:rn,ariaCurrent:null,ariaDescribedBy:rn,ariaDetails:null,ariaDisabled:Ln,ariaDropEffect:rn,ariaErrorMessage:null,ariaExpanded:Ln,ariaFlowTo:rn,ariaGrabbed:Ln,ariaHasPopup:null,ariaHidden:Ln,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:rn,ariaLevel:Ce,ariaLive:null,ariaModal:Ln,ariaMultiLine:Ln,ariaMultiSelectable:Ln,ariaOrientation:null,ariaOwns:rn,ariaPlaceholder:null,ariaPosInSet:Ce,ariaPressed:Ln,ariaReadOnly:Ln,ariaRelevant:null,ariaRequired:Ln,ariaRoleDescription:rn,ariaRowCount:Ce,ariaRowIndex:Ce,ariaRowSpan:Ce,ariaSelected:Ln,ariaSetSize:Ce,ariaSort:null,ariaValueMax:Ce,ariaValueMin:Ce,ariaValueNow:Ce,ariaValueText:null,role:null},transform(e,t){return t===\"role\"?t:\"aria-\"+t.slice(4).toLowerCase()}});function nC(e,t){return t in e?e[t]:t}function rC(e,t){return nC(e,t.toLowerCase())}const s7=Ql({attributes:{acceptcharset:\"accept-charset\",classname:\"class\",htmlfor:\"for\",httpequiv:\"http-equiv\"},mustUseProperty:[\"checked\",\"multiple\",\"muted\",\"selected\"],properties:{abbr:null,accept:Nl,acceptCharset:rn,accessKey:rn,action:null,allow:null,allowFullScreen:Et,allowPaymentRequest:Et,allowUserMedia:Et,alt:null,as:null,async:Et,autoCapitalize:null,autoComplete:rn,autoFocus:Et,autoPlay:Et,blocking:rn,capture:null,charSet:null,checked:Et,cite:null,className:rn,cols:Ce,colSpan:null,content:null,contentEditable:Ln,controls:Et,controlsList:rn,coords:Ce|Nl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Et,defer:Et,dir:null,dirName:null,disabled:Et,download:Ab,draggable:Ln,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Et,formTarget:null,headers:rn,height:Ce,hidden:Ab,high:Ce,href:null,hrefLang:null,htmlFor:rn,httpEquiv:rn,id:null,imageSizes:null,imageSrcSet:null,inert:Et,inputMode:null,integrity:null,is:null,isMap:Et,itemId:null,itemProp:rn,itemRef:rn,itemScope:Et,itemType:rn,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Et,low:Ce,manifest:null,max:null,maxLength:Ce,media:null,method:null,min:null,minLength:Ce,multiple:Et,muted:Et,name:null,nonce:null,noModule:Et,noValidate:Et,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Et,optimum:Ce,pattern:null,ping:rn,placeholder:null,playsInline:Et,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Et,referrerPolicy:null,rel:rn,required:Et,reversed:Et,rows:Ce,rowSpan:Ce,sandbox:rn,scope:null,scoped:Et,seamless:Et,selected:Et,shadowRootClonable:Et,shadowRootDelegatesFocus:Et,shadowRootMode:null,shape:null,size:Ce,sizes:null,slot:null,span:Ce,spellCheck:Ln,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Ce,step:null,style:null,tabIndex:Ce,target:null,title:null,translate:null,type:null,typeMustMatch:Et,useMap:null,value:Ln,width:Ce,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:rn,axis:null,background:null,bgColor:null,border:Ce,borderColor:null,bottomMargin:Ce,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Et,declare:Et,event:null,face:null,frame:null,frameBorder:null,hSpace:Ce,leftMargin:Ce,link:null,longDesc:null,lowSrc:null,marginHeight:Ce,marginWidth:Ce,noResize:Et,noHref:Et,noShade:Et,noWrap:Et,object:null,profile:null,prompt:null,rev:null,rightMargin:Ce,rules:null,scheme:null,scrolling:Ln,standby:null,summary:null,text:null,topMargin:Ce,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Ce,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Et,disableRemotePlayback:Et,prefix:null,property:null,results:Ce,security:null,unselectable:null},space:\"html\",transform:rC}),o7=Ql({attributes:{accentHeight:\"accent-height\",alignmentBaseline:\"alignment-baseline\",arabicForm:\"arabic-form\",baselineShift:\"baseline-shift\",capHeight:\"cap-height\",className:\"class\",clipPath:\"clip-path\",clipRule:\"clip-rule\",colorInterpolation:\"color-interpolation\",colorInterpolationFilters:\"color-interpolation-filters\",colorProfile:\"color-profile\",colorRendering:\"color-rendering\",crossOrigin:\"crossorigin\",dataType:\"datatype\",dominantBaseline:\"dominant-baseline\",enableBackground:\"enable-background\",fillOpacity:\"fill-opacity\",fillRule:\"fill-rule\",floodColor:\"flood-color\",floodOpacity:\"flood-opacity\",fontFamily:\"font-family\",fontSize:\"font-size\",fontSizeAdjust:\"font-size-adjust\",fontStretch:\"font-stretch\",fontStyle:\"font-style\",fontVariant:\"font-variant\",fontWeight:\"font-weight\",glyphName:\"glyph-name\",glyphOrientationHorizontal:\"glyph-orientation-horizontal\",glyphOrientationVertical:\"glyph-orientation-vertical\",hrefLang:\"hreflang\",horizAdvX:\"horiz-adv-x\",horizOriginX:\"horiz-origin-x\",horizOriginY:\"horiz-origin-y\",imageRendering:\"image-rendering\",letterSpacing:\"letter-spacing\",lightingColor:\"lighting-color\",markerEnd:\"marker-end\",markerMid:\"marker-mid\",markerStart:\"marker-start\",navDown:\"nav-down\",navDownLeft:\"nav-down-left\",navDownRight:\"nav-down-right\",navLeft:\"nav-left\",navNext:\"nav-next\",navPrev:\"nav-prev\",navRight:\"nav-right\",navUp:\"nav-up\",navUpLeft:\"nav-up-left\",navUpRight:\"nav-up-right\",onAbort:\"onabort\",onActivate:\"onactivate\",onAfterPrint:\"onafterprint\",onBeforePrint:\"onbeforeprint\",onBegin:\"onbegin\",onCancel:\"oncancel\",onCanPlay:\"oncanplay\",onCanPlayThrough:\"oncanplaythrough\",onChange:\"onchange\",onClick:\"onclick\",onClose:\"onclose\",onCopy:\"oncopy\",onCueChange:\"oncuechange\",onCut:\"oncut\",onDblClick:\"ondblclick\",onDrag:\"ondrag\",onDragEnd:\"ondragend\",onDragEnter:\"ondragenter\",onDragExit:\"ondragexit\",onDragLeave:\"ondragleave\",onDragOver:\"ondragover\",onDragStart:\"ondragstart\",onDrop:\"ondrop\",onDurationChange:\"ondurationchange\",onEmptied:\"onemptied\",onEnd:\"onend\",onEnded:\"onended\",onError:\"onerror\",onFocus:\"onfocus\",onFocusIn:\"onfocusin\",onFocusOut:\"onfocusout\",onHashChange:\"onhashchange\",onInput:\"oninput\",onInvalid:\"oninvalid\",onKeyDown:\"onkeydown\",onKeyPress:\"onkeypress\",onKeyUp:\"onkeyup\",onLoad:\"onload\",onLoadedData:\"onloadeddata\",onLoadedMetadata:\"onloadedmetadata\",onLoadStart:\"onloadstart\",onMessage:\"onmessage\",onMouseDown:\"onmousedown\",onMouseEnter:\"onmouseenter\",onMouseLeave:\"onmouseleave\",onMouseMove:\"onmousemove\",onMouseOut:\"onmouseout\",onMouseOver:\"onmouseover\",onMouseUp:\"onmouseup\",onMouseWheel:\"onmousewheel\",onOffline:\"onoffline\",onOnline:\"ononline\",onPageHide:\"onpagehide\",onPageShow:\"onpageshow\",onPaste:\"onpaste\",onPause:\"onpause\",onPlay:\"onplay\",onPlaying:\"onplaying\",onPopState:\"onpopstate\",onProgress:\"onprogress\",onRateChange:\"onratechange\",onRepeat:\"onrepeat\",onReset:\"onreset\",onResize:\"onresize\",onScroll:\"onscroll\",onSeeked:\"onseeked\",onSeeking:\"onseeking\",onSelect:\"onselect\",onShow:\"onshow\",onStalled:\"onstalled\",onStorage:\"onstorage\",onSubmit:\"onsubmit\",onSuspend:\"onsuspend\",onTimeUpdate:\"ontimeupdate\",onToggle:\"ontoggle\",onUnload:\"onunload\",onVolumeChange:\"onvolumechange\",onWaiting:\"onwaiting\",onZoom:\"onzoom\",overlinePosition:\"overline-position\",overlineThickness:\"overline-thickness\",paintOrder:\"paint-order\",panose1:\"panose-1\",pointerEvents:\"pointer-events\",referrerPolicy:\"referrerpolicy\",renderingIntent:\"rendering-intent\",shapeRendering:\"shape-rendering\",stopColor:\"stop-color\",stopOpacity:\"stop-opacity\",strikethroughPosition:\"strikethrough-position\",strikethroughThickness:\"strikethrough-thickness\",strokeDashArray:\"stroke-dasharray\",strokeDashOffset:\"stroke-dashoffset\",strokeLineCap:\"stroke-linecap\",strokeLineJoin:\"stroke-linejoin\",strokeMiterLimit:\"stroke-miterlimit\",strokeOpacity:\"stroke-opacity\",strokeWidth:\"stroke-width\",tabIndex:\"tabindex\",textAnchor:\"text-anchor\",textDecoration:\"text-decoration\",textRendering:\"text-rendering\",transformOrigin:\"transform-origin\",typeOf:\"typeof\",underlinePosition:\"underline-position\",underlineThickness:\"underline-thickness\",unicodeBidi:\"unicode-bidi\",unicodeRange:\"unicode-range\",unitsPerEm:\"units-per-em\",vAlphabetic:\"v-alphabetic\",vHanging:\"v-hanging\",vIdeographic:\"v-ideographic\",vMathematical:\"v-mathematical\",vectorEffect:\"vector-effect\",vertAdvY:\"vert-adv-y\",vertOriginX:\"vert-origin-x\",vertOriginY:\"vert-origin-y\",wordSpacing:\"word-spacing\",writingMode:\"writing-mode\",xHeight:\"x-height\",playbackOrder:\"playbackorder\",timelineBegin:\"timelinebegin\"},properties:{about:$r,accentHeight:Ce,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Ce,amplitude:Ce,arabicForm:null,ascent:Ce,attributeName:null,attributeType:null,azimuth:Ce,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Ce,by:null,calcMode:null,capHeight:Ce,className:rn,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Ce,diffuseConstant:Ce,direction:null,display:null,dur:null,divisor:Ce,dominantBaseline:null,download:Et,dx:null,dy:null,edgeMode:null,editable:null,elevation:Ce,enableBackground:null,end:null,event:null,exponent:Ce,externalResourcesRequired:null,fill:null,fillOpacity:Ce,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Nl,g2:Nl,glyphName:Nl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Ce,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Ce,horizOriginX:Ce,horizOriginY:Ce,id:null,ideographic:Ce,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Ce,k:Ce,k1:Ce,k2:Ce,k3:Ce,k4:Ce,kernelMatrix:$r,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Ce,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Ce,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Ce,overlineThickness:Ce,paintOrder:null,panose1:null,path:null,pathLength:Ce,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:rn,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Ce,pointsAtY:Ce,pointsAtZ:Ce,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:$r,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:$r,rev:$r,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:$r,requiredFeatures:$r,requiredFonts:$r,requiredFormats:$r,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Ce,specularExponent:Ce,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Ce,strikethroughThickness:Ce,string:null,stroke:null,strokeDashArray:$r,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Ce,strokeOpacity:Ce,strokeWidth:null,style:null,surfaceScale:Ce,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:$r,tabIndex:Ce,tableValues:null,target:null,targetX:Ce,targetY:Ce,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:$r,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Ce,underlineThickness:Ce,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Ce,values:null,vAlphabetic:Ce,vMathematical:Ce,vectorEffect:null,vHanging:Ce,vIdeographic:Ce,version:null,vertAdvY:Ce,vertOriginX:Ce,vertOriginY:Ce,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Ce,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:\"svg\",transform:nC}),aC=Ql({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:\"xlink\",transform(e,t){return\"xlink:\"+t.slice(5).toLowerCase()}}),iC=Ql({attributes:{xmlnsxlink:\"xmlns:xlink\"},properties:{xmlnsXLink:null,xmlns:null},space:\"xmlns\",transform:rC}),sC=Ql({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:\"xml\",transform(e,t){return\"xml:\"+t.slice(3).toLowerCase()}}),l7={classId:\"classID\",dataType:\"datatype\",itemId:\"itemID\",strokeDashArray:\"strokeDasharray\",strokeDashOffset:\"strokeDashoffset\",strokeLineCap:\"strokeLinecap\",strokeLineJoin:\"strokeLinejoin\",strokeMiterLimit:\"strokeMiterlimit\",typeOf:\"typeof\",xLinkActuate:\"xlinkActuate\",xLinkArcRole:\"xlinkArcrole\",xLinkHref:\"xlinkHref\",xLinkRole:\"xlinkRole\",xLinkShow:\"xlinkShow\",xLinkTitle:\"xlinkTitle\",xLinkType:\"xlinkType\",xmlnsXLink:\"xmlnsXlink\"},u7=/[A-Z]/g,Hx=/-[a-z]/g,c7=/^data[-\\w.:]+$/i;function GE(e,t){const n=Pc(t);let r=t,i=Lr;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===\"data\"&&c7.test(t)){if(t.charAt(4)===\"-\"){const o=t.slice(5).replace(Hx,f7);r=\"data\"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!Hx.test(o)){let l=o.replace(u7,d7);l.charAt(0)!==\"-\"&&(l=\"-\"+l),t=\"data\"+l}}i=YE}return new i(r,t)}function d7(e){return\"-\"+e.toLowerCase()}function f7(e){return e.charAt(1).toUpperCase()}const nm=eC([tC,s7,aC,iC,sC],\"html\"),Zl=eC([tC,o7,aC,iC,sC],\"svg\");function jx(e){const t=String(e||\"\").trim();return t?t.split(/[ \\t\\n\\r\\f]+/g):[]}function oC(e){return e.join(\" \").trim()}var hl={},rg,zx;function h7(){if(zx)return rg;zx=1;var e=/\\/\\*[^*]*\\*+([^/*][^*]*\\*+)*\\//g,t=/\\n/g,n=/^\\s*/,r=/^(\\*?[-#/*\\\\\\w]+(\\[[0-9a-z_-]+\\])?)\\s*/,i=/^:\\s*/,o=/^((?:'(?:\\\\'|.)*?'|\"(?:\\\\\"|.)*?\"|\\([^)]*?\\)|[^};])+)/,l=/^[;\\s]*/,c=/^\\s+|\\s+$/g,d=`\n`,f=\"/\",m=\"*\",p=\"\",E=\"comment\",_=\"declaration\";rg=function(S,N){if(typeof S!=\"string\")throw new TypeError(\"First argument must be a string\");if(!S)return[];N=N||{};var v=1,O=1;function L(V){var ne=V.match(t);ne&&(v+=ne.length);var ae=V.lastIndexOf(d);O=~ae?V.length-ae:O+V.length}function B(){var V={line:v,column:O};return function(ne){return ne.position=new k(V),j(),ne}}function k(V){this.start=V,this.end={line:v,column:O},this.source=N.source}k.prototype.content=S;function w(V){var ne=new Error(N.source+\":\"+v+\":\"+O+\": \"+V);if(ne.reason=V,ne.filename=N.source,ne.line=v,ne.column=O,ne.source=S,!N.silent)throw ne}function U(V){var ne=V.exec(S);if(ne){var ae=ne[0];return L(ae),S=S.slice(ae.length),ne}}function j(){U(n)}function F(V){var ne;for(V=V||[];ne=M();)ne!==!1&&V.push(ne);return V}function M(){var V=B();if(!(f!=S.charAt(0)||m!=S.charAt(1))){for(var ne=2;p!=S.charAt(ne)&&(m!=S.charAt(ne)||f!=S.charAt(ne+1));)++ne;if(ne+=2,p===S.charAt(ne-1))return w(\"End of comment missing\");var ae=S.slice(2,ne-2);return O+=2,L(ae),S=S.slice(ne),O+=2,V({type:E,comment:ae})}}function J(){var V=B(),ne=U(r);if(ne){if(M(),!U(i))return w(\"property missing ':'\");var ae=U(o),Q=V({type:_,property:x(ne[0].replace(e,p)),value:ae?x(ae[0].replace(e,p)):p});return U(l),Q}}function X(){var V=[];F(V);for(var ne;ne=J();)ne!==!1&&(V.push(ne),F(V));return V}return j(),X()};function x(S){return S?S.replace(c,p):p}return rg}var $x;function m7(){if($x)return hl;$x=1;var e=hl&&hl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(hl,\"__esModule\",{value:!0}),hl.default=n;var t=e(h7());function n(r,i){var o=null;if(!r||typeof r!=\"string\")return o;var l=(0,t.default)(r),c=typeof i==\"function\";return l.forEach(function(d){if(d.type===\"declaration\"){var f=d.property,m=d.value;c?i(f,m,d):m&&(o=o||{},o[f]=m)}}),o}return hl}var oc={},qx;function p7(){if(qx)return oc;qx=1,Object.defineProperty(oc,\"__esModule\",{value:!0}),oc.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,n=/^[^-]+$/,r=/^-(webkit|moz|ms|o|khtml)-/,i=/^-(ms)-/,o=function(f){return!f||n.test(f)||e.test(f)},l=function(f,m){return m.toUpperCase()},c=function(f,m){return\"\".concat(m,\"-\")},d=function(f,m){return m===void 0&&(m={}),o(f)?f:(f=f.toLowerCase(),m.reactCompat?f=f.replace(i,c):f=f.replace(r,c),f.replace(t,l))};return oc.camelCase=d,oc}var lc,Yx;function g7(){if(Yx)return lc;Yx=1;var e=lc&&lc.__importDefault||function(i){return i&&i.__esModule?i:{default:i}},t=e(m7()),n=p7();function r(i,o){var l={};return!i||typeof i!=\"string\"||(0,t.default)(i,function(c,d){c&&d&&(l[(0,n.camelCase)(c,o)]=d)}),l}return r.default=r,lc=r,lc}var b7=g7();const E7=zl(b7),rm=lC(\"end\"),ci=lC(\"start\");function lC(e){return t;function t(n){const r=n&&n.position&&n.position[e]||{};if(typeof r.line==\"number\"&&r.line>0&&typeof r.column==\"number\"&&r.column>0)return{line:r.line,column:r.column,offset:typeof r.offset==\"number\"&&r.offset>-1?r.offset:void 0}}}function y7(e){const t=ci(e),n=rm(e);if(t&&n)return{start:t,end:n}}function bc(e){return!e||typeof e!=\"object\"?\"\":\"position\"in e||\"type\"in e?Gx(e.position):\"start\"in e||\"end\"in e?Gx(e):\"line\"in e||\"column\"in e?wb(e):\"\"}function wb(e){return Vx(e&&e.line)+\":\"+Vx(e&&e.column)}function Gx(e){return wb(e&&e.start)+\"-\"+wb(e&&e.end)}function Vx(e){return e&&typeof e==\"number\"?e:1}class cr extends Error{constructor(t,n,r){super(),typeof n==\"string\"&&(r=n,n=void 0);let i=\"\",o={},l=!1;if(n&&(\"line\"in n&&\"column\"in n?o={place:n}:\"start\"in n&&\"end\"in n?o={place:n}:\"type\"in n?o={ancestors:[n],place:n.position}:o={...n}),typeof t==\"string\"?i=t:!o.cause&&t&&(l=!0,i=t.message,o.cause=t),!o.ruleId&&!o.source&&typeof r==\"string\"){const d=r.indexOf(\":\");d===-1?o.ruleId=r:(o.source=r.slice(0,d),o.ruleId=r.slice(d+1))}if(!o.place&&o.ancestors&&o.ancestors){const d=o.ancestors[o.ancestors.length-1];d&&(o.place=d.position)}const c=o.place&&\"start\"in o.place?o.place.start:o.place;this.ancestors=o.ancestors||void 0,this.cause=o.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file=\"\",this.message=i,this.line=c?c.line:void 0,this.name=bc(o.place)||\"1:1\",this.place=o.place||void 0,this.reason=this.message,this.ruleId=o.ruleId||void 0,this.source=o.source||void 0,this.stack=l&&o.cause&&typeof o.cause.stack==\"string\"?o.cause.stack:\"\",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}cr.prototype.file=\"\";cr.prototype.name=\"\";cr.prototype.reason=\"\";cr.prototype.message=\"\";cr.prototype.stack=\"\";cr.prototype.column=void 0;cr.prototype.line=void 0;cr.prototype.ancestors=void 0;cr.prototype.cause=void 0;cr.prototype.fatal=void 0;cr.prototype.place=void 0;cr.prototype.ruleId=void 0;cr.prototype.source=void 0;const VE={}.hasOwnProperty,_7=new Map,T7=/[A-Z]/g,v7=new Set([\"table\",\"tbody\",\"thead\",\"tfoot\",\"tr\"]),x7=new Set([\"td\",\"th\"]),uC=\"https://github.com/syntax-tree/hast-util-to-jsx-runtime\";function S7(e,t){if(!t||t.Fragment===void 0)throw new TypeError(\"Expected `Fragment` in options\");const n=t.filePath||void 0;let r;if(t.development){if(typeof t.jsxDEV!=\"function\")throw new TypeError(\"Expected `jsxDEV` in options when `development: true`\");r=L7(n,t.jsxDEV)}else{if(typeof t.jsx!=\"function\")throw new TypeError(\"Expected `jsx` in production options\");if(typeof t.jsxs!=\"function\")throw new TypeError(\"Expected `jsxs` in production options\");r=k7(n,t.jsx,t.jsxs)}const i={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:r,elementAttributeNameCase:t.elementAttributeNameCase||\"react\",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:n,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space===\"svg\"?Zl:nm,stylePropertyNameCase:t.stylePropertyNameCase||\"dom\",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},o=cC(i,e,void 0);return o&&typeof o!=\"string\"?o:i.create(e,i.Fragment,{children:o||void 0},void 0)}function cC(e,t,n){if(t.type===\"element\")return A7(e,t,n);if(t.type===\"mdxFlowExpression\"||t.type===\"mdxTextExpression\")return N7(e,t);if(t.type===\"mdxJsxFlowElement\"||t.type===\"mdxJsxTextElement\")return C7(e,t,n);if(t.type===\"mdxjsEsm\")return w7(e,t);if(t.type===\"root\")return R7(e,t,n);if(t.type===\"text\")return O7(e,t)}function A7(e,t,n){const r=e.schema;let i=r;t.tagName.toLowerCase()===\"svg\"&&r.space===\"html\"&&(i=Zl,e.schema=i),e.ancestors.push(t);const o=fC(e,t.tagName,!1),l=I7(e,t);let c=XE(e,t);return v7.has(t.tagName)&&(c=c.filter(function(d){return typeof d==\"string\"?!a7(d):!0})),dC(e,l,o,t),KE(l,c),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}function N7(e,t){if(t.data&&t.data.estree&&e.evaluater){const r=t.data.estree.body[0];return r.type,e.evaluater.evaluateExpression(r.expression)}Bc(e,t.position)}function w7(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Bc(e,t.position)}function C7(e,t,n){const r=e.schema;let i=r;t.name===\"svg\"&&r.space===\"html\"&&(i=Zl,e.schema=i),e.ancestors.push(t);const o=t.name===null?e.Fragment:fC(e,t.name,!0),l=D7(e,t),c=XE(e,t);return dC(e,l,o,t),KE(l,c),e.ancestors.pop(),e.schema=r,e.create(t,o,l,n)}function R7(e,t,n){const r={};return KE(r,XE(e,t)),e.create(t,e.Fragment,r,n)}function O7(e,t){return t.value}function dC(e,t,n,r){typeof n!=\"string\"&&n!==e.Fragment&&e.passNode&&(t.node=r)}function KE(e,t){if(t.length>0){const n=t.length>1?t:t[0];n&&(e.children=n)}}function k7(e,t,n){return r;function r(i,o,l,c){const f=Array.isArray(l.children)?n:t;return c?f(o,l,c):f(o,l)}}function L7(e,t){return n;function n(r,i,o,l){const c=Array.isArray(o.children),d=ci(r);return t(i,o,l,c,{columnNumber:d?d.column-1:void 0,fileName:e,lineNumber:d?d.line:void 0},void 0)}}function I7(e,t){const n={};let r,i;for(i in t.properties)if(i!==\"children\"&&VE.call(t.properties,i)){const o=M7(e,i,t.properties[i]);if(o){const[l,c]=o;e.tableCellAlignToStyle&&l===\"align\"&&typeof c==\"string\"&&x7.has(t.tagName)?r=c:n[l]=c}}if(r){const o=n.style||(n.style={});o[e.stylePropertyNameCase===\"css\"?\"text-align\":\"textAlign\"]=r}return n}function D7(e,t){const n={};for(const r of t.attributes)if(r.type===\"mdxJsxExpressionAttribute\")if(r.data&&r.data.estree&&e.evaluater){const o=r.data.estree.body[0];o.type;const l=o.expression;l.type;const c=l.properties[0];c.type,Object.assign(n,e.evaluater.evaluateExpression(c.argument))}else Bc(e,t.position);else{const i=r.name;let o;if(r.value&&typeof r.value==\"object\")if(r.value.data&&r.value.data.estree&&e.evaluater){const c=r.value.data.estree.body[0];c.type,o=e.evaluater.evaluateExpression(c.expression)}else Bc(e,t.position);else o=r.value===null?!0:r.value;n[i]=o}return n}function XE(e,t){const n=[];let r=-1;const i=e.passKeys?new Map:_7;for(;++r<t.children.length;){const o=t.children[r];let l;if(e.passKeys){const d=o.type===\"element\"?o.tagName:o.type===\"mdxJsxFlowElement\"||o.type===\"mdxJsxTextElement\"?o.name:void 0;if(d){const f=i.get(d)||0;l=d+\"-\"+f,i.set(d,f+1)}}const c=cC(e,o,l);c!==void 0&&n.push(c)}return n}function M7(e,t,n){const r=GE(e.schema,t);if(!(n==null||typeof n==\"number\"&&Number.isNaN(n))){if(Array.isArray(n)&&(n=r.commaSeparated?Jw(n):oC(n)),r.property===\"style\"){let i=typeof n==\"object\"?n:P7(e,String(n));return e.stylePropertyNameCase===\"css\"&&(i=B7(i)),[\"style\",i]}return[e.elementAttributeNameCase===\"react\"&&r.space?l7[r.property]||r.property:r.attribute,n]}}function P7(e,t){try{return E7(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};const r=n,i=new cr(\"Cannot parse `style` attribute\",{ancestors:e.ancestors,cause:r,ruleId:\"style\",source:\"hast-util-to-jsx-runtime\"});throw i.file=e.filePath||void 0,i.url=uC+\"#cannot-parse-style-attribute\",i}}function fC(e,t,n){let r;if(!n)r={type:\"Literal\",value:t};else if(t.includes(\".\")){const i=t.split(\".\");let o=-1,l;for(;++o<i.length;){const c=Bx(i[o])?{type:\"Identifier\",name:i[o]}:{type:\"Literal\",value:i[o]};l=l?{type:\"MemberExpression\",object:l,property:c,computed:!!(o&&c.type===\"Literal\"),optional:!1}:c}r=l}else r=Bx(t)&&!/^[a-z]/.test(t)?{type:\"Identifier\",name:t}:{type:\"Literal\",value:t};if(r.type===\"Literal\"){const i=r.value;return VE.call(e.components,i)?e.components[i]:i}if(e.evaluater)return e.evaluater.evaluateExpression(r);Bc(e)}function Bc(e,t){const n=new cr(\"Cannot handle MDX estrees without `createEvaluater`\",{ancestors:e.ancestors,place:t,ruleId:\"mdx-estree\",source:\"hast-util-to-jsx-runtime\"});throw n.file=e.filePath||void 0,n.url=uC+\"#cannot-handle-mdx-estrees-without-createevaluater\",n}function B7(e){const t={};let n;for(n in e)VE.call(e,n)&&(t[U7(n)]=e[n]);return t}function U7(e){let t=e.replace(T7,F7);return t.slice(0,3)===\"ms-\"&&(t=\"-\"+t),t}function F7(e){return\"-\"+e.toLowerCase()}const ag={action:[\"form\"],cite:[\"blockquote\",\"del\",\"ins\",\"q\"],data:[\"object\"],formAction:[\"button\",\"input\"],href:[\"a\",\"area\",\"base\",\"link\"],icon:[\"menuitem\"],itemId:null,manifest:[\"html\"],ping:[\"a\",\"area\"],poster:[\"video\"],src:[\"audio\",\"embed\",\"iframe\",\"img\",\"input\",\"script\",\"source\",\"track\",\"video\"]},H7={};function WE(e,t){const n=H7,r=typeof n.includeImageAlt==\"boolean\"?n.includeImageAlt:!0,i=typeof n.includeHtml==\"boolean\"?n.includeHtml:!0;return hC(e,r,i)}function hC(e,t,n){if(j7(e)){if(\"value\"in e)return e.type===\"html\"&&!n?\"\":e.value;if(t&&\"alt\"in e&&e.alt)return e.alt;if(\"children\"in e)return Kx(e.children,t,n)}return Array.isArray(e)?Kx(e,t,n):\"\"}function Kx(e,t,n){const r=[];let i=-1;for(;++i<e.length;)r[i]=hC(e[i],t,n);return r.join(\"\")}function j7(e){return!!(e&&typeof e==\"object\")}const Xx=document.createElement(\"i\");function QE(e){const t=\"&\"+e+\";\";Xx.innerHTML=t;const n=Xx.textContent;return n.charCodeAt(n.length-1)===59&&e!==\"semi\"||n===t?!1:n}function Zr(e,t,n,r){const i=e.length;let o=0,l;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,n=n>0?n:0,r.length<1e4)l=Array.from(r),l.unshift(t,n),e.splice(...l);else for(n&&e.splice(t,n);o<r.length;)l=r.slice(o,o+1e4),l.unshift(t,0),e.splice(...l),o+=1e4,t+=1e4}function ma(e,t){return e.length>0?(Zr(e,e.length,0,t),e):t}const Wx={}.hasOwnProperty;function mC(e){const t={};let n=-1;for(;++n<e.length;)z7(t,e[n]);return t}function z7(e,t){let n;for(n in t){const i=(Wx.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let l;if(o)for(l in o){Wx.call(i,l)||(i[l]=[]);const c=o[l];$7(i[l],Array.isArray(c)?c:c?[c]:[])}}}function $7(e,t){let n=-1;const r=[];for(;++n<t.length;)(t[n].add===\"after\"?e:r).push(t[n]);Zr(e,0,0,r)}function pC(e,t){const n=Number.parseInt(e,t);return n<9||n===11||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(n&65535)===65535||(n&65535)===65534||n>1114111?\"�\":String.fromCodePoint(n)}function Ia(e){return e.replace(/[\\t\\n\\r ]+/g,\" \").replace(/^ | $/g,\"\").toLowerCase().toUpperCase()}const Er=Ms(/[A-Za-z]/),ur=Ms(/[\\dA-Za-z]/),q7=Ms(/[#-'*+\\--9=?A-Z^-~]/);function bh(e){return e!==null&&(e<32||e===127)}const Cb=Ms(/\\d/),Y7=Ms(/[\\dA-Fa-f]/),G7=Ms(/[!-/:-@[-`{-~]/);function nt(e){return e!==null&&e<-2}function Qt(e){return e!==null&&(e<0||e===32)}function Ct(e){return e===-2||e===-1||e===32}const am=Ms(new RegExp(\"\\\\p{P}|\\\\p{S}\",\"u\")),Ao=Ms(/\\s/);function Ms(e){return t;function t(n){return n!==null&&n>-1&&e.test(String.fromCharCode(n))}}function Jl(e){const t=[];let n=-1,r=0,i=0;for(;++n<e.length;){const o=e.charCodeAt(n);let l=\"\";if(o===37&&ur(e.charCodeAt(n+1))&&ur(e.charCodeAt(n+2)))i=2;else if(o<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o))||(l=String.fromCharCode(o));else if(o>55295&&o<57344){const c=e.charCodeAt(n+1);o<56320&&c>56319&&c<57344?(l=String.fromCharCode(o,c),i=1):l=\"�\"}else l=String.fromCharCode(o);l&&(t.push(e.slice(r,n),encodeURIComponent(l)),r=n+i+1,l=\"\"),i&&(n+=i,i=0)}return t.join(\"\")+e.slice(r)}function Mt(e,t,n,r){const i=r?r-1:Number.POSITIVE_INFINITY;let o=0;return l;function l(d){return Ct(d)?(e.enter(n),c(d)):t(d)}function c(d){return Ct(d)&&o++<i?(e.consume(d),c):(e.exit(n),t(d))}}const V7={tokenize:K7};function K7(e){const t=e.attempt(this.parser.constructs.contentInitial,r,i);let n;return t;function r(c){if(c===null){e.consume(c);return}return e.enter(\"lineEnding\"),e.consume(c),e.exit(\"lineEnding\"),Mt(e,t,\"linePrefix\")}function i(c){return e.enter(\"paragraph\"),o(c)}function o(c){const d=e.enter(\"chunkText\",{contentType:\"text\",previous:n});return n&&(n.next=d),n=d,l(c)}function l(c){if(c===null){e.exit(\"chunkText\"),e.exit(\"paragraph\"),e.consume(c);return}return nt(c)?(e.consume(c),e.exit(\"chunkText\"),o):(e.consume(c),l)}}const X7={tokenize:W7},Qx={tokenize:Q7};function W7(e){const t=this,n=[];let r=0,i,o,l;return c;function c(L){if(r<n.length){const B=n[r];return t.containerState=B[1],e.attempt(B[0].continuation,d,f)(L)}return f(L)}function d(L){if(r++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&O();const B=t.events.length;let k=B,w;for(;k--;)if(t.events[k][0]===\"exit\"&&t.events[k][1].type===\"chunkFlow\"){w=t.events[k][1].end;break}v(r);let U=B;for(;U<t.events.length;)t.events[U][1].end={...w},U++;return Zr(t.events,k+1,0,t.events.slice(B)),t.events.length=U,f(L)}return c(L)}function f(L){if(r===n.length){if(!i)return E(L);if(i.currentConstruct&&i.currentConstruct.concrete)return x(L);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Qx,m,p)(L)}function m(L){return i&&O(),v(r),E(L)}function p(L){return t.parser.lazy[t.now().line]=r!==n.length,l=t.now().offset,x(L)}function E(L){return t.containerState={},e.attempt(Qx,_,x)(L)}function _(L){return r++,n.push([t.currentConstruct,t.containerState]),E(L)}function x(L){if(L===null){i&&O(),v(0),e.consume(L);return}return i=i||t.parser.flow(t.now()),e.enter(\"chunkFlow\",{_tokenizer:i,contentType:\"flow\",previous:o}),S(L)}function S(L){if(L===null){N(e.exit(\"chunkFlow\"),!0),v(0),e.consume(L);return}return nt(L)?(e.consume(L),N(e.exit(\"chunkFlow\")),r=0,t.interrupt=void 0,c):(e.consume(L),S)}function N(L,B){const k=t.sliceStream(L);if(B&&k.push(null),L.previous=o,o&&(o.next=L),o=L,i.defineSkip(L.start),i.write(k),t.parser.lazy[L.start.line]){let w=i.events.length;for(;w--;)if(i.events[w][1].start.offset<l&&(!i.events[w][1].end||i.events[w][1].end.offset>l))return;const U=t.events.length;let j=U,F,M;for(;j--;)if(t.events[j][0]===\"exit\"&&t.events[j][1].type===\"chunkFlow\"){if(F){M=t.events[j][1].end;break}F=!0}for(v(r),w=U;w<t.events.length;)t.events[w][1].end={...M},w++;Zr(t.events,j+1,0,t.events.slice(U)),t.events.length=w}}function v(L){let B=n.length;for(;B-- >L;){const k=n[B];t.containerState=k[1],k[0].exit.call(t,e)}n.length=L}function O(){i.write([null]),o=void 0,i=void 0,t.containerState._closeFlow=void 0}}function Q7(e,t,n){return Mt(e,e.attempt(this.parser.constructs.document,t,n),\"linePrefix\",this.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)}function Ul(e){if(e===null||Qt(e)||Ao(e))return 1;if(am(e))return 2}function im(e,t,n){const r=[];let i=-1;for(;++i<e.length;){const o=e[i].resolveAll;o&&!r.includes(o)&&(t=o(t,n),r.push(o))}return t}const Rb={name:\"attention\",resolveAll:Z7,tokenize:J7};function Z7(e,t){let n=-1,r,i,o,l,c,d,f,m;for(;++n<e.length;)if(e[n][0]===\"enter\"&&e[n][1].type===\"attentionSequence\"&&e[n][1]._close){for(r=n;r--;)if(e[r][0]===\"exit\"&&e[r][1].type===\"attentionSequence\"&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[n][1]).charCodeAt(0)){if((e[r][1]._close||e[n][1]._open)&&(e[n][1].end.offset-e[n][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[n][1].end.offset-e[n][1].start.offset)%3))continue;d=e[r][1].end.offset-e[r][1].start.offset>1&&e[n][1].end.offset-e[n][1].start.offset>1?2:1;const p={...e[r][1].end},E={...e[n][1].start};Zx(p,-d),Zx(E,d),l={type:d>1?\"strongSequence\":\"emphasisSequence\",start:p,end:{...e[r][1].end}},c={type:d>1?\"strongSequence\":\"emphasisSequence\",start:{...e[n][1].start},end:E},o={type:d>1?\"strongText\":\"emphasisText\",start:{...e[r][1].end},end:{...e[n][1].start}},i={type:d>1?\"strong\":\"emphasis\",start:{...l.start},end:{...c.end}},e[r][1].end={...l.start},e[n][1].start={...c.end},f=[],e[r][1].end.offset-e[r][1].start.offset&&(f=ma(f,[[\"enter\",e[r][1],t],[\"exit\",e[r][1],t]])),f=ma(f,[[\"enter\",i,t],[\"enter\",l,t],[\"exit\",l,t],[\"enter\",o,t]]),f=ma(f,im(t.parser.constructs.insideSpan.null,e.slice(r+1,n),t)),f=ma(f,[[\"exit\",o,t],[\"enter\",c,t],[\"exit\",c,t],[\"exit\",i,t]]),e[n][1].end.offset-e[n][1].start.offset?(m=2,f=ma(f,[[\"enter\",e[n][1],t],[\"exit\",e[n][1],t]])):m=0,Zr(e,r-1,n-r+3,f),n=r+f.length-m-2;break}}for(n=-1;++n<e.length;)e[n][1].type===\"attentionSequence\"&&(e[n][1].type=\"data\");return e}function J7(e,t){const n=this.parser.constructs.attentionMarkers.null,r=this.previous,i=Ul(r);let o;return l;function l(d){return o=d,e.enter(\"attentionSequence\"),c(d)}function c(d){if(d===o)return e.consume(d),c;const f=e.exit(\"attentionSequence\"),m=Ul(d),p=!m||m===2&&i||n.includes(d),E=!i||i===2&&m||n.includes(r);return f._open=!!(o===42?p:p&&(i||!E)),f._close=!!(o===42?E:E&&(m||!p)),t(d)}}function Zx(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const eF={name:\"autolink\",tokenize:tF};function tF(e,t,n){let r=0;return i;function i(_){return e.enter(\"autolink\"),e.enter(\"autolinkMarker\"),e.consume(_),e.exit(\"autolinkMarker\"),e.enter(\"autolinkProtocol\"),o}function o(_){return Er(_)?(e.consume(_),l):_===64?n(_):f(_)}function l(_){return _===43||_===45||_===46||ur(_)?(r=1,c(_)):f(_)}function c(_){return _===58?(e.consume(_),r=0,d):(_===43||_===45||_===46||ur(_))&&r++<32?(e.consume(_),c):(r=0,f(_))}function d(_){return _===62?(e.exit(\"autolinkProtocol\"),e.enter(\"autolinkMarker\"),e.consume(_),e.exit(\"autolinkMarker\"),e.exit(\"autolink\"),t):_===null||_===32||_===60||bh(_)?n(_):(e.consume(_),d)}function f(_){return _===64?(e.consume(_),m):q7(_)?(e.consume(_),f):n(_)}function m(_){return ur(_)?p(_):n(_)}function p(_){return _===46?(e.consume(_),r=0,m):_===62?(e.exit(\"autolinkProtocol\").type=\"autolinkEmail\",e.enter(\"autolinkMarker\"),e.consume(_),e.exit(\"autolinkMarker\"),e.exit(\"autolink\"),t):E(_)}function E(_){if((_===45||ur(_))&&r++<63){const x=_===45?E:p;return e.consume(_),x}return n(_)}}const Jc={partial:!0,tokenize:nF};function nF(e,t,n){return r;function r(o){return Ct(o)?Mt(e,i,\"linePrefix\")(o):i(o)}function i(o){return o===null||nt(o)?t(o):n(o)}}const gC={continuation:{tokenize:aF},exit:iF,name:\"blockQuote\",tokenize:rF};function rF(e,t,n){const r=this;return i;function i(l){if(l===62){const c=r.containerState;return c.open||(e.enter(\"blockQuote\",{_container:!0}),c.open=!0),e.enter(\"blockQuotePrefix\"),e.enter(\"blockQuoteMarker\"),e.consume(l),e.exit(\"blockQuoteMarker\"),o}return n(l)}function o(l){return Ct(l)?(e.enter(\"blockQuotePrefixWhitespace\"),e.consume(l),e.exit(\"blockQuotePrefixWhitespace\"),e.exit(\"blockQuotePrefix\"),t):(e.exit(\"blockQuotePrefix\"),t(l))}}function aF(e,t,n){const r=this;return i;function i(l){return Ct(l)?Mt(e,o,\"linePrefix\",r.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)(l):o(l)}function o(l){return e.attempt(gC,t,n)(l)}}function iF(e){e.exit(\"blockQuote\")}const bC={name:\"characterEscape\",tokenize:sF};function sF(e,t,n){return r;function r(o){return e.enter(\"characterEscape\"),e.enter(\"escapeMarker\"),e.consume(o),e.exit(\"escapeMarker\"),i}function i(o){return G7(o)?(e.enter(\"characterEscapeValue\"),e.consume(o),e.exit(\"characterEscapeValue\"),e.exit(\"characterEscape\"),t):n(o)}}const EC={name:\"characterReference\",tokenize:oF};function oF(e,t,n){const r=this;let i=0,o,l;return c;function c(p){return e.enter(\"characterReference\"),e.enter(\"characterReferenceMarker\"),e.consume(p),e.exit(\"characterReferenceMarker\"),d}function d(p){return p===35?(e.enter(\"characterReferenceMarkerNumeric\"),e.consume(p),e.exit(\"characterReferenceMarkerNumeric\"),f):(e.enter(\"characterReferenceValue\"),o=31,l=ur,m(p))}function f(p){return p===88||p===120?(e.enter(\"characterReferenceMarkerHexadecimal\"),e.consume(p),e.exit(\"characterReferenceMarkerHexadecimal\"),e.enter(\"characterReferenceValue\"),o=6,l=Y7,m):(e.enter(\"characterReferenceValue\"),o=7,l=Cb,m(p))}function m(p){if(p===59&&i){const E=e.exit(\"characterReferenceValue\");return l===ur&&!QE(r.sliceSerialize(E))?n(p):(e.enter(\"characterReferenceMarker\"),e.consume(p),e.exit(\"characterReferenceMarker\"),e.exit(\"characterReference\"),t)}return l(p)&&i++<o?(e.consume(p),m):n(p)}}const Jx={partial:!0,tokenize:uF},e2={concrete:!0,name:\"codeFenced\",tokenize:lF};function lF(e,t,n){const r=this,i={partial:!0,tokenize:k};let o=0,l=0,c;return d;function d(w){return f(w)}function f(w){const U=r.events[r.events.length-1];return o=U&&U[1].type===\"linePrefix\"?U[2].sliceSerialize(U[1],!0).length:0,c=w,e.enter(\"codeFenced\"),e.enter(\"codeFencedFence\"),e.enter(\"codeFencedFenceSequence\"),m(w)}function m(w){return w===c?(l++,e.consume(w),m):l<3?n(w):(e.exit(\"codeFencedFenceSequence\"),Ct(w)?Mt(e,p,\"whitespace\")(w):p(w))}function p(w){return w===null||nt(w)?(e.exit(\"codeFencedFence\"),r.interrupt?t(w):e.check(Jx,S,B)(w)):(e.enter(\"codeFencedFenceInfo\"),e.enter(\"chunkString\",{contentType:\"string\"}),E(w))}function E(w){return w===null||nt(w)?(e.exit(\"chunkString\"),e.exit(\"codeFencedFenceInfo\"),p(w)):Ct(w)?(e.exit(\"chunkString\"),e.exit(\"codeFencedFenceInfo\"),Mt(e,_,\"whitespace\")(w)):w===96&&w===c?n(w):(e.consume(w),E)}function _(w){return w===null||nt(w)?p(w):(e.enter(\"codeFencedFenceMeta\"),e.enter(\"chunkString\",{contentType:\"string\"}),x(w))}function x(w){return w===null||nt(w)?(e.exit(\"chunkString\"),e.exit(\"codeFencedFenceMeta\"),p(w)):w===96&&w===c?n(w):(e.consume(w),x)}function S(w){return e.attempt(i,B,N)(w)}function N(w){return e.enter(\"lineEnding\"),e.consume(w),e.exit(\"lineEnding\"),v}function v(w){return o>0&&Ct(w)?Mt(e,O,\"linePrefix\",o+1)(w):O(w)}function O(w){return w===null||nt(w)?e.check(Jx,S,B)(w):(e.enter(\"codeFlowValue\"),L(w))}function L(w){return w===null||nt(w)?(e.exit(\"codeFlowValue\"),O(w)):(e.consume(w),L)}function B(w){return e.exit(\"codeFenced\"),t(w)}function k(w,U,j){let F=0;return M;function M(ae){return w.enter(\"lineEnding\"),w.consume(ae),w.exit(\"lineEnding\"),J}function J(ae){return w.enter(\"codeFencedFence\"),Ct(ae)?Mt(w,X,\"linePrefix\",r.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)(ae):X(ae)}function X(ae){return ae===c?(w.enter(\"codeFencedFenceSequence\"),V(ae)):j(ae)}function V(ae){return ae===c?(F++,w.consume(ae),V):F>=l?(w.exit(\"codeFencedFenceSequence\"),Ct(ae)?Mt(w,ne,\"whitespace\")(ae):ne(ae)):j(ae)}function ne(ae){return ae===null||nt(ae)?(w.exit(\"codeFencedFence\"),U(ae)):j(ae)}}}function uF(e,t,n){const r=this;return i;function i(l){return l===null?n(l):(e.enter(\"lineEnding\"),e.consume(l),e.exit(\"lineEnding\"),o)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}const ig={name:\"codeIndented\",tokenize:dF},cF={partial:!0,tokenize:fF};function dF(e,t,n){const r=this;return i;function i(f){return e.enter(\"codeIndented\"),Mt(e,o,\"linePrefix\",5)(f)}function o(f){const m=r.events[r.events.length-1];return m&&m[1].type===\"linePrefix\"&&m[2].sliceSerialize(m[1],!0).length>=4?l(f):n(f)}function l(f){return f===null?d(f):nt(f)?e.attempt(cF,l,d)(f):(e.enter(\"codeFlowValue\"),c(f))}function c(f){return f===null||nt(f)?(e.exit(\"codeFlowValue\"),l(f)):(e.consume(f),c)}function d(f){return e.exit(\"codeIndented\"),t(f)}}function fF(e,t,n){const r=this;return i;function i(l){return r.parser.lazy[r.now().line]?n(l):nt(l)?(e.enter(\"lineEnding\"),e.consume(l),e.exit(\"lineEnding\"),i):Mt(e,o,\"linePrefix\",5)(l)}function o(l){const c=r.events[r.events.length-1];return c&&c[1].type===\"linePrefix\"&&c[2].sliceSerialize(c[1],!0).length>=4?t(l):nt(l)?i(l):n(l)}}const hF={name:\"codeText\",previous:pF,resolve:mF,tokenize:gF};function mF(e){let t=e.length-4,n=3,r,i;if((e[n][1].type===\"lineEnding\"||e[n][1].type===\"space\")&&(e[t][1].type===\"lineEnding\"||e[t][1].type===\"space\")){for(r=n;++r<t;)if(e[r][1].type===\"codeTextData\"){e[n][1].type=\"codeTextPadding\",e[t][1].type=\"codeTextPadding\",n+=2,t-=2;break}}for(r=n-1,t++;++r<=t;)i===void 0?r!==t&&e[r][1].type!==\"lineEnding\"&&(i=r):(r===t||e[r][1].type===\"lineEnding\")&&(e[i][1].type=\"codeTextData\",r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),t-=r-i-2,r=i+2),i=void 0);return e}function pF(e){return e!==96||this.events[this.events.length-1][1].type===\"characterEscape\"}function gF(e,t,n){let r=0,i,o;return l;function l(p){return e.enter(\"codeText\"),e.enter(\"codeTextSequence\"),c(p)}function c(p){return p===96?(e.consume(p),r++,c):(e.exit(\"codeTextSequence\"),d(p))}function d(p){return p===null?n(p):p===32?(e.enter(\"space\"),e.consume(p),e.exit(\"space\"),d):p===96?(o=e.enter(\"codeTextSequence\"),i=0,m(p)):nt(p)?(e.enter(\"lineEnding\"),e.consume(p),e.exit(\"lineEnding\"),d):(e.enter(\"codeTextData\"),f(p))}function f(p){return p===null||p===32||p===96||nt(p)?(e.exit(\"codeTextData\"),d(p)):(e.consume(p),f)}function m(p){return p===96?(e.consume(p),i++,m):i===r?(e.exit(\"codeTextSequence\"),e.exit(\"codeText\"),t(p)):(o.type=\"codeTextData\",f(p))}}class bF{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError(\"Cannot access index `\"+t+\"` in a splice buffer of size `\"+(this.left.length+this.right.length)+\"`\");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,n){const r=n??Number.POSITIVE_INFINITY;return r<this.left.length?this.left.slice(t,r):t>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(t,n,r){const i=n||0;this.setCursor(Math.trunc(t));const o=this.right.splice(this.right.length-i,Number.POSITIVE_INFINITY);return r&&uc(this.left,r),o.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),uc(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),uc(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const n=this.left.splice(t,Number.POSITIVE_INFINITY);uc(this.right,n.reverse())}else{const n=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);uc(this.left,n.reverse())}}}function uc(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function yC(e){const t={};let n=-1,r,i,o,l,c,d,f;const m=new bF(e);for(;++n<m.length;){for(;n in t;)n=t[n];if(r=m.get(n),n&&r[1].type===\"chunkFlow\"&&m.get(n-1)[1].type===\"listItemPrefix\"&&(d=r[1]._tokenizer.events,o=0,o<d.length&&d[o][1].type===\"lineEndingBlank\"&&(o+=2),o<d.length&&d[o][1].type===\"content\"))for(;++o<d.length&&d[o][1].type!==\"content\";)d[o][1].type===\"chunkText\"&&(d[o][1]._isInFirstContentOfListItem=!0,o++);if(r[0]===\"enter\")r[1].contentType&&(Object.assign(t,EF(m,n)),n=t[n],f=!0);else if(r[1]._container){for(o=n,i=void 0;o--;)if(l=m.get(o),l[1].type===\"lineEnding\"||l[1].type===\"lineEndingBlank\")l[0]===\"enter\"&&(i&&(m.get(i)[1].type=\"lineEndingBlank\"),l[1].type=\"lineEnding\",i=o);else if(!(l[1].type===\"linePrefix\"||l[1].type===\"listItemIndent\"))break;i&&(r[1].end={...m.get(i)[1].start},c=m.slice(i,n),c.unshift(r),m.splice(i,n-i+1,c))}}return Zr(e,0,Number.POSITIVE_INFINITY,m.slice(0)),!f}function EF(e,t){const n=e.get(t)[1],r=e.get(t)[2];let i=t-1;const o=[];let l=n._tokenizer;l||(l=r.parser[n.contentType](n.start),n._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));const c=l.events,d=[],f={};let m,p,E=-1,_=n,x=0,S=0;const N=[S];for(;_;){for(;e.get(++i)[1]!==_;);o.push(i),_._tokenizer||(m=r.sliceStream(_),_.next||m.push(null),p&&l.defineSkip(_.start),_._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(m),_._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),p=_,_=_.next}for(_=n;++E<c.length;)c[E][0]===\"exit\"&&c[E-1][0]===\"enter\"&&c[E][1].type===c[E-1][1].type&&c[E][1].start.line!==c[E][1].end.line&&(S=E+1,N.push(S),_._tokenizer=void 0,_.previous=void 0,_=_.next);for(l.events=[],_?(_._tokenizer=void 0,_.previous=void 0):N.pop(),E=N.length;E--;){const v=c.slice(N[E],N[E+1]),O=o.pop();d.push([O,O+v.length-1]),e.splice(O,2,v)}for(d.reverse(),E=-1;++E<d.length;)f[x+d[E][0]]=x+d[E][1],x+=d[E][1]-d[E][0]-1;return f}const yF={resolve:TF,tokenize:vF},_F={partial:!0,tokenize:xF};function TF(e){return yC(e),e}function vF(e,t){let n;return r;function r(c){return e.enter(\"content\"),n=e.enter(\"chunkContent\",{contentType:\"content\"}),i(c)}function i(c){return c===null?o(c):nt(c)?e.check(_F,l,o)(c):(e.consume(c),i)}function o(c){return e.exit(\"chunkContent\"),e.exit(\"content\"),t(c)}function l(c){return e.consume(c),e.exit(\"chunkContent\"),n.next=e.enter(\"chunkContent\",{contentType:\"content\",previous:n}),n=n.next,i}}function xF(e,t,n){const r=this;return i;function i(l){return e.exit(\"chunkContent\"),e.enter(\"lineEnding\"),e.consume(l),e.exit(\"lineEnding\"),Mt(e,o,\"linePrefix\")}function o(l){if(l===null||nt(l))return n(l);const c=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes(\"codeIndented\")&&c&&c[1].type===\"linePrefix\"&&c[2].sliceSerialize(c[1],!0).length>=4?t(l):e.interrupt(r.parser.constructs.flow,n,t)(l)}}function _C(e,t,n,r,i,o,l,c,d){const f=d||Number.POSITIVE_INFINITY;let m=0;return p;function p(v){return v===60?(e.enter(r),e.enter(i),e.enter(o),e.consume(v),e.exit(o),E):v===null||v===32||v===41||bh(v)?n(v):(e.enter(r),e.enter(l),e.enter(c),e.enter(\"chunkString\",{contentType:\"string\"}),S(v))}function E(v){return v===62?(e.enter(o),e.consume(v),e.exit(o),e.exit(i),e.exit(r),t):(e.enter(c),e.enter(\"chunkString\",{contentType:\"string\"}),_(v))}function _(v){return v===62?(e.exit(\"chunkString\"),e.exit(c),E(v)):v===null||v===60||nt(v)?n(v):(e.consume(v),v===92?x:_)}function x(v){return v===60||v===62||v===92?(e.consume(v),_):_(v)}function S(v){return!m&&(v===null||v===41||Qt(v))?(e.exit(\"chunkString\"),e.exit(c),e.exit(l),e.exit(r),t(v)):m<f&&v===40?(e.consume(v),m++,S):v===41?(e.consume(v),m--,S):v===null||v===32||v===40||bh(v)?n(v):(e.consume(v),v===92?N:S)}function N(v){return v===40||v===41||v===92?(e.consume(v),S):S(v)}}function TC(e,t,n,r,i,o){const l=this;let c=0,d;return f;function f(_){return e.enter(r),e.enter(i),e.consume(_),e.exit(i),e.enter(o),m}function m(_){return c>999||_===null||_===91||_===93&&!d||_===94&&!c&&\"_hiddenFootnoteSupport\"in l.parser.constructs?n(_):_===93?(e.exit(o),e.enter(i),e.consume(_),e.exit(i),e.exit(r),t):nt(_)?(e.enter(\"lineEnding\"),e.consume(_),e.exit(\"lineEnding\"),m):(e.enter(\"chunkString\",{contentType:\"string\"}),p(_))}function p(_){return _===null||_===91||_===93||nt(_)||c++>999?(e.exit(\"chunkString\"),m(_)):(e.consume(_),d||(d=!Ct(_)),_===92?E:p)}function E(_){return _===91||_===92||_===93?(e.consume(_),c++,p):p(_)}}function vC(e,t,n,r,i,o){let l;return c;function c(E){return E===34||E===39||E===40?(e.enter(r),e.enter(i),e.consume(E),e.exit(i),l=E===40?41:E,d):n(E)}function d(E){return E===l?(e.enter(i),e.consume(E),e.exit(i),e.exit(r),t):(e.enter(o),f(E))}function f(E){return E===l?(e.exit(o),d(l)):E===null?n(E):nt(E)?(e.enter(\"lineEnding\"),e.consume(E),e.exit(\"lineEnding\"),Mt(e,f,\"linePrefix\")):(e.enter(\"chunkString\",{contentType:\"string\"}),m(E))}function m(E){return E===l||E===null||nt(E)?(e.exit(\"chunkString\"),f(E)):(e.consume(E),E===92?p:m)}function p(E){return E===l||E===92?(e.consume(E),m):m(E)}}function Ec(e,t){let n;return r;function r(i){return nt(i)?(e.enter(\"lineEnding\"),e.consume(i),e.exit(\"lineEnding\"),n=!0,r):Ct(i)?Mt(e,r,n?\"linePrefix\":\"lineSuffix\")(i):t(i)}}const SF={name:\"definition\",tokenize:NF},AF={partial:!0,tokenize:wF};function NF(e,t,n){const r=this;let i;return o;function o(_){return e.enter(\"definition\"),l(_)}function l(_){return TC.call(r,e,c,n,\"definitionLabel\",\"definitionLabelMarker\",\"definitionLabelString\")(_)}function c(_){return i=Ia(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),_===58?(e.enter(\"definitionMarker\"),e.consume(_),e.exit(\"definitionMarker\"),d):n(_)}function d(_){return Qt(_)?Ec(e,f)(_):f(_)}function f(_){return _C(e,m,n,\"definitionDestination\",\"definitionDestinationLiteral\",\"definitionDestinationLiteralMarker\",\"definitionDestinationRaw\",\"definitionDestinationString\")(_)}function m(_){return e.attempt(AF,p,p)(_)}function p(_){return Ct(_)?Mt(e,E,\"whitespace\")(_):E(_)}function E(_){return _===null||nt(_)?(e.exit(\"definition\"),r.parser.defined.push(i),t(_)):n(_)}}function wF(e,t,n){return r;function r(c){return Qt(c)?Ec(e,i)(c):n(c)}function i(c){return vC(e,o,n,\"definitionTitle\",\"definitionTitleMarker\",\"definitionTitleString\")(c)}function o(c){return Ct(c)?Mt(e,l,\"whitespace\")(c):l(c)}function l(c){return c===null||nt(c)?t(c):n(c)}}const CF={name:\"hardBreakEscape\",tokenize:RF};function RF(e,t,n){return r;function r(o){return e.enter(\"hardBreakEscape\"),e.consume(o),i}function i(o){return nt(o)?(e.exit(\"hardBreakEscape\"),t(o)):n(o)}}const OF={name:\"headingAtx\",resolve:kF,tokenize:LF};function kF(e,t){let n=e.length-2,r=3,i,o;return e[r][1].type===\"whitespace\"&&(r+=2),n-2>r&&e[n][1].type===\"whitespace\"&&(n-=2),e[n][1].type===\"atxHeadingSequence\"&&(r===n-1||n-4>r&&e[n-2][1].type===\"whitespace\")&&(n-=r+1===n?2:4),n>r&&(i={type:\"atxHeadingText\",start:e[r][1].start,end:e[n][1].end},o={type:\"chunkText\",start:e[r][1].start,end:e[n][1].end,contentType:\"text\"},Zr(e,r,n-r+1,[[\"enter\",i,t],[\"enter\",o,t],[\"exit\",o,t],[\"exit\",i,t]])),e}function LF(e,t,n){let r=0;return i;function i(m){return e.enter(\"atxHeading\"),o(m)}function o(m){return e.enter(\"atxHeadingSequence\"),l(m)}function l(m){return m===35&&r++<6?(e.consume(m),l):m===null||Qt(m)?(e.exit(\"atxHeadingSequence\"),c(m)):n(m)}function c(m){return m===35?(e.enter(\"atxHeadingSequence\"),d(m)):m===null||nt(m)?(e.exit(\"atxHeading\"),t(m)):Ct(m)?Mt(e,c,\"whitespace\")(m):(e.enter(\"atxHeadingText\"),f(m))}function d(m){return m===35?(e.consume(m),d):(e.exit(\"atxHeadingSequence\"),c(m))}function f(m){return m===null||m===35||Qt(m)?(e.exit(\"atxHeadingText\"),c(m)):(e.consume(m),f)}}const IF=[\"address\",\"article\",\"aside\",\"base\",\"basefont\",\"blockquote\",\"body\",\"caption\",\"center\",\"col\",\"colgroup\",\"dd\",\"details\",\"dialog\",\"dir\",\"div\",\"dl\",\"dt\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"frame\",\"frameset\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"head\",\"header\",\"hr\",\"html\",\"iframe\",\"legend\",\"li\",\"link\",\"main\",\"menu\",\"menuitem\",\"nav\",\"noframes\",\"ol\",\"optgroup\",\"option\",\"p\",\"param\",\"search\",\"section\",\"summary\",\"table\",\"tbody\",\"td\",\"tfoot\",\"th\",\"thead\",\"title\",\"tr\",\"track\",\"ul\"],t2=[\"pre\",\"script\",\"style\",\"textarea\"],DF={concrete:!0,name:\"htmlFlow\",resolveTo:BF,tokenize:UF},MF={partial:!0,tokenize:HF},PF={partial:!0,tokenize:FF};function BF(e){let t=e.length;for(;t--&&!(e[t][0]===\"enter\"&&e[t][1].type===\"htmlFlow\"););return t>1&&e[t-2][1].type===\"linePrefix\"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function UF(e,t,n){const r=this;let i,o,l,c,d;return f;function f(I){return m(I)}function m(I){return e.enter(\"htmlFlow\"),e.enter(\"htmlFlowData\"),e.consume(I),p}function p(I){return I===33?(e.consume(I),E):I===47?(e.consume(I),o=!0,S):I===63?(e.consume(I),i=3,r.interrupt?t:R):Er(I)?(e.consume(I),l=String.fromCharCode(I),N):n(I)}function E(I){return I===45?(e.consume(I),i=2,_):I===91?(e.consume(I),i=5,c=0,x):Er(I)?(e.consume(I),i=4,r.interrupt?t:R):n(I)}function _(I){return I===45?(e.consume(I),r.interrupt?t:R):n(I)}function x(I){const ce=\"CDATA[\";return I===ce.charCodeAt(c++)?(e.consume(I),c===ce.length?r.interrupt?t:X:x):n(I)}function S(I){return Er(I)?(e.consume(I),l=String.fromCharCode(I),N):n(I)}function N(I){if(I===null||I===47||I===62||Qt(I)){const ce=I===47,Te=l.toLowerCase();return!ce&&!o&&t2.includes(Te)?(i=1,r.interrupt?t(I):X(I)):IF.includes(l.toLowerCase())?(i=6,ce?(e.consume(I),v):r.interrupt?t(I):X(I)):(i=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(I):o?O(I):L(I))}return I===45||ur(I)?(e.consume(I),l+=String.fromCharCode(I),N):n(I)}function v(I){return I===62?(e.consume(I),r.interrupt?t:X):n(I)}function O(I){return Ct(I)?(e.consume(I),O):M(I)}function L(I){return I===47?(e.consume(I),M):I===58||I===95||Er(I)?(e.consume(I),B):Ct(I)?(e.consume(I),L):M(I)}function B(I){return I===45||I===46||I===58||I===95||ur(I)?(e.consume(I),B):k(I)}function k(I){return I===61?(e.consume(I),w):Ct(I)?(e.consume(I),k):L(I)}function w(I){return I===null||I===60||I===61||I===62||I===96?n(I):I===34||I===39?(e.consume(I),d=I,U):Ct(I)?(e.consume(I),w):j(I)}function U(I){return I===d?(e.consume(I),d=null,F):I===null||nt(I)?n(I):(e.consume(I),U)}function j(I){return I===null||I===34||I===39||I===47||I===60||I===61||I===62||I===96||Qt(I)?k(I):(e.consume(I),j)}function F(I){return I===47||I===62||Ct(I)?L(I):n(I)}function M(I){return I===62?(e.consume(I),J):n(I)}function J(I){return I===null||nt(I)?X(I):Ct(I)?(e.consume(I),J):n(I)}function X(I){return I===45&&i===2?(e.consume(I),Q):I===60&&i===1?(e.consume(I),be):I===62&&i===4?(e.consume(I),le):I===63&&i===3?(e.consume(I),R):I===93&&i===5?(e.consume(I),ve):nt(I)&&(i===6||i===7)?(e.exit(\"htmlFlowData\"),e.check(MF,te,V)(I)):I===null||nt(I)?(e.exit(\"htmlFlowData\"),V(I)):(e.consume(I),X)}function V(I){return e.check(PF,ne,te)(I)}function ne(I){return e.enter(\"lineEnding\"),e.consume(I),e.exit(\"lineEnding\"),ae}function ae(I){return I===null||nt(I)?V(I):(e.enter(\"htmlFlowData\"),X(I))}function Q(I){return I===45?(e.consume(I),R):X(I)}function be(I){return I===47?(e.consume(I),l=\"\",K):X(I)}function K(I){if(I===62){const ce=l.toLowerCase();return t2.includes(ce)?(e.consume(I),le):X(I)}return Er(I)&&l.length<8?(e.consume(I),l+=String.fromCharCode(I),K):X(I)}function ve(I){return I===93?(e.consume(I),R):X(I)}function R(I){return I===62?(e.consume(I),le):I===45&&i===2?(e.consume(I),R):X(I)}function le(I){return I===null||nt(I)?(e.exit(\"htmlFlowData\"),te(I)):(e.consume(I),le)}function te(I){return e.exit(\"htmlFlow\"),t(I)}}function FF(e,t,n){const r=this;return i;function i(l){return nt(l)?(e.enter(\"lineEnding\"),e.consume(l),e.exit(\"lineEnding\"),o):n(l)}function o(l){return r.parser.lazy[r.now().line]?n(l):t(l)}}function HF(e,t,n){return r;function r(i){return e.enter(\"lineEnding\"),e.consume(i),e.exit(\"lineEnding\"),e.attempt(Jc,t,n)}}const jF={name:\"htmlText\",tokenize:zF};function zF(e,t,n){const r=this;let i,o,l;return c;function c(R){return e.enter(\"htmlText\"),e.enter(\"htmlTextData\"),e.consume(R),d}function d(R){return R===33?(e.consume(R),f):R===47?(e.consume(R),k):R===63?(e.consume(R),L):Er(R)?(e.consume(R),j):n(R)}function f(R){return R===45?(e.consume(R),m):R===91?(e.consume(R),o=0,x):Er(R)?(e.consume(R),O):n(R)}function m(R){return R===45?(e.consume(R),_):n(R)}function p(R){return R===null?n(R):R===45?(e.consume(R),E):nt(R)?(l=p,be(R)):(e.consume(R),p)}function E(R){return R===45?(e.consume(R),_):p(R)}function _(R){return R===62?Q(R):R===45?E(R):p(R)}function x(R){const le=\"CDATA[\";return R===le.charCodeAt(o++)?(e.consume(R),o===le.length?S:x):n(R)}function S(R){return R===null?n(R):R===93?(e.consume(R),N):nt(R)?(l=S,be(R)):(e.consume(R),S)}function N(R){return R===93?(e.consume(R),v):S(R)}function v(R){return R===62?Q(R):R===93?(e.consume(R),v):S(R)}function O(R){return R===null||R===62?Q(R):nt(R)?(l=O,be(R)):(e.consume(R),O)}function L(R){return R===null?n(R):R===63?(e.consume(R),B):nt(R)?(l=L,be(R)):(e.consume(R),L)}function B(R){return R===62?Q(R):L(R)}function k(R){return Er(R)?(e.consume(R),w):n(R)}function w(R){return R===45||ur(R)?(e.consume(R),w):U(R)}function U(R){return nt(R)?(l=U,be(R)):Ct(R)?(e.consume(R),U):Q(R)}function j(R){return R===45||ur(R)?(e.consume(R),j):R===47||R===62||Qt(R)?F(R):n(R)}function F(R){return R===47?(e.consume(R),Q):R===58||R===95||Er(R)?(e.consume(R),M):nt(R)?(l=F,be(R)):Ct(R)?(e.consume(R),F):Q(R)}function M(R){return R===45||R===46||R===58||R===95||ur(R)?(e.consume(R),M):J(R)}function J(R){return R===61?(e.consume(R),X):nt(R)?(l=J,be(R)):Ct(R)?(e.consume(R),J):F(R)}function X(R){return R===null||R===60||R===61||R===62||R===96?n(R):R===34||R===39?(e.consume(R),i=R,V):nt(R)?(l=X,be(R)):Ct(R)?(e.consume(R),X):(e.consume(R),ne)}function V(R){return R===i?(e.consume(R),i=void 0,ae):R===null?n(R):nt(R)?(l=V,be(R)):(e.consume(R),V)}function ne(R){return R===null||R===34||R===39||R===60||R===61||R===96?n(R):R===47||R===62||Qt(R)?F(R):(e.consume(R),ne)}function ae(R){return R===47||R===62||Qt(R)?F(R):n(R)}function Q(R){return R===62?(e.consume(R),e.exit(\"htmlTextData\"),e.exit(\"htmlText\"),t):n(R)}function be(R){return e.exit(\"htmlTextData\"),e.enter(\"lineEnding\"),e.consume(R),e.exit(\"lineEnding\"),K}function K(R){return Ct(R)?Mt(e,ve,\"linePrefix\",r.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)(R):ve(R)}function ve(R){return e.enter(\"htmlTextData\"),l(R)}}const ZE={name:\"labelEnd\",resolveAll:GF,resolveTo:VF,tokenize:KF},$F={tokenize:XF},qF={tokenize:WF},YF={tokenize:QF};function GF(e){let t=-1;const n=[];for(;++t<e.length;){const r=e[t][1];if(n.push(e[t]),r.type===\"labelImage\"||r.type===\"labelLink\"||r.type===\"labelEnd\"){const i=r.type===\"labelImage\"?4:2;r.type=\"data\",t+=i}}return e.length!==n.length&&Zr(e,0,e.length,n),e}function VF(e,t){let n=e.length,r=0,i,o,l,c;for(;n--;)if(i=e[n][1],o){if(i.type===\"link\"||i.type===\"labelLink\"&&i._inactive)break;e[n][0]===\"enter\"&&i.type===\"labelLink\"&&(i._inactive=!0)}else if(l){if(e[n][0]===\"enter\"&&(i.type===\"labelImage\"||i.type===\"labelLink\")&&!i._balanced&&(o=n,i.type!==\"labelLink\")){r=2;break}}else i.type===\"labelEnd\"&&(l=n);const d={type:e[o][1].type===\"labelLink\"?\"link\":\"image\",start:{...e[o][1].start},end:{...e[e.length-1][1].end}},f={type:\"label\",start:{...e[o][1].start},end:{...e[l][1].end}},m={type:\"labelText\",start:{...e[o+r+2][1].end},end:{...e[l-2][1].start}};return c=[[\"enter\",d,t],[\"enter\",f,t]],c=ma(c,e.slice(o+1,o+r+3)),c=ma(c,[[\"enter\",m,t]]),c=ma(c,im(t.parser.constructs.insideSpan.null,e.slice(o+r+4,l-3),t)),c=ma(c,[[\"exit\",m,t],e[l-2],e[l-1],[\"exit\",f,t]]),c=ma(c,e.slice(l+1)),c=ma(c,[[\"exit\",d,t]]),Zr(e,o,e.length,c),e}function KF(e,t,n){const r=this;let i=r.events.length,o,l;for(;i--;)if((r.events[i][1].type===\"labelImage\"||r.events[i][1].type===\"labelLink\")&&!r.events[i][1]._balanced){o=r.events[i][1];break}return c;function c(E){return o?o._inactive?p(E):(l=r.parser.defined.includes(Ia(r.sliceSerialize({start:o.end,end:r.now()}))),e.enter(\"labelEnd\"),e.enter(\"labelMarker\"),e.consume(E),e.exit(\"labelMarker\"),e.exit(\"labelEnd\"),d):n(E)}function d(E){return E===40?e.attempt($F,m,l?m:p)(E):E===91?e.attempt(qF,m,l?f:p)(E):l?m(E):p(E)}function f(E){return e.attempt(YF,m,p)(E)}function m(E){return t(E)}function p(E){return o._balanced=!0,n(E)}}function XF(e,t,n){return r;function r(p){return e.enter(\"resource\"),e.enter(\"resourceMarker\"),e.consume(p),e.exit(\"resourceMarker\"),i}function i(p){return Qt(p)?Ec(e,o)(p):o(p)}function o(p){return p===41?m(p):_C(e,l,c,\"resourceDestination\",\"resourceDestinationLiteral\",\"resourceDestinationLiteralMarker\",\"resourceDestinationRaw\",\"resourceDestinationString\",32)(p)}function l(p){return Qt(p)?Ec(e,d)(p):m(p)}function c(p){return n(p)}function d(p){return p===34||p===39||p===40?vC(e,f,n,\"resourceTitle\",\"resourceTitleMarker\",\"resourceTitleString\")(p):m(p)}function f(p){return Qt(p)?Ec(e,m)(p):m(p)}function m(p){return p===41?(e.enter(\"resourceMarker\"),e.consume(p),e.exit(\"resourceMarker\"),e.exit(\"resource\"),t):n(p)}}function WF(e,t,n){const r=this;return i;function i(c){return TC.call(r,e,o,l,\"reference\",\"referenceMarker\",\"referenceString\")(c)}function o(c){return r.parser.defined.includes(Ia(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(c):n(c)}function l(c){return n(c)}}function QF(e,t,n){return r;function r(o){return e.enter(\"reference\"),e.enter(\"referenceMarker\"),e.consume(o),e.exit(\"referenceMarker\"),i}function i(o){return o===93?(e.enter(\"referenceMarker\"),e.consume(o),e.exit(\"referenceMarker\"),e.exit(\"reference\"),t):n(o)}}const ZF={name:\"labelStartImage\",resolveAll:ZE.resolveAll,tokenize:JF};function JF(e,t,n){const r=this;return i;function i(c){return e.enter(\"labelImage\"),e.enter(\"labelImageMarker\"),e.consume(c),e.exit(\"labelImageMarker\"),o}function o(c){return c===91?(e.enter(\"labelMarker\"),e.consume(c),e.exit(\"labelMarker\"),e.exit(\"labelImage\"),l):n(c)}function l(c){return c===94&&\"_hiddenFootnoteSupport\"in r.parser.constructs?n(c):t(c)}}const eH={name:\"labelStartLink\",resolveAll:ZE.resolveAll,tokenize:tH};function tH(e,t,n){const r=this;return i;function i(l){return e.enter(\"labelLink\"),e.enter(\"labelMarker\"),e.consume(l),e.exit(\"labelMarker\"),e.exit(\"labelLink\"),o}function o(l){return l===94&&\"_hiddenFootnoteSupport\"in r.parser.constructs?n(l):t(l)}}const sg={name:\"lineEnding\",tokenize:nH};function nH(e,t){return n;function n(r){return e.enter(\"lineEnding\"),e.consume(r),e.exit(\"lineEnding\"),Mt(e,t,\"linePrefix\")}}const Vf={name:\"thematicBreak\",tokenize:rH};function rH(e,t,n){let r=0,i;return o;function o(f){return e.enter(\"thematicBreak\"),l(f)}function l(f){return i=f,c(f)}function c(f){return f===i?(e.enter(\"thematicBreakSequence\"),d(f)):r>=3&&(f===null||nt(f))?(e.exit(\"thematicBreak\"),t(f)):n(f)}function d(f){return f===i?(e.consume(f),r++,d):(e.exit(\"thematicBreakSequence\"),Ct(f)?Mt(e,c,\"whitespace\")(f):c(f))}}const Ar={continuation:{tokenize:oH},exit:uH,name:\"list\",tokenize:sH},aH={partial:!0,tokenize:cH},iH={partial:!0,tokenize:lH};function sH(e,t,n){const r=this,i=r.events[r.events.length-1];let o=i&&i[1].type===\"linePrefix\"?i[2].sliceSerialize(i[1],!0).length:0,l=0;return c;function c(_){const x=r.containerState.type||(_===42||_===43||_===45?\"listUnordered\":\"listOrdered\");if(x===\"listUnordered\"?!r.containerState.marker||_===r.containerState.marker:Cb(_)){if(r.containerState.type||(r.containerState.type=x,e.enter(x,{_container:!0})),x===\"listUnordered\")return e.enter(\"listItemPrefix\"),_===42||_===45?e.check(Vf,n,f)(_):f(_);if(!r.interrupt||_===49)return e.enter(\"listItemPrefix\"),e.enter(\"listItemValue\"),d(_)}return n(_)}function d(_){return Cb(_)&&++l<10?(e.consume(_),d):(!r.interrupt||l<2)&&(r.containerState.marker?_===r.containerState.marker:_===41||_===46)?(e.exit(\"listItemValue\"),f(_)):n(_)}function f(_){return e.enter(\"listItemMarker\"),e.consume(_),e.exit(\"listItemMarker\"),r.containerState.marker=r.containerState.marker||_,e.check(Jc,r.interrupt?n:m,e.attempt(aH,E,p))}function m(_){return r.containerState.initialBlankLine=!0,o++,E(_)}function p(_){return Ct(_)?(e.enter(\"listItemPrefixWhitespace\"),e.consume(_),e.exit(\"listItemPrefixWhitespace\"),E):n(_)}function E(_){return r.containerState.size=o+r.sliceSerialize(e.exit(\"listItemPrefix\"),!0).length,t(_)}}function oH(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Jc,i,o);function i(c){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Mt(e,t,\"listItemIndent\",r.containerState.size+1)(c)}function o(c){return r.containerState.furtherBlankLines||!Ct(c)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,l(c)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(iH,t,l)(c))}function l(c){return r.containerState._closeFlow=!0,r.interrupt=void 0,Mt(e,e.attempt(Ar,t,n),\"linePrefix\",r.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)(c)}}function lH(e,t,n){const r=this;return Mt(e,i,\"listItemIndent\",r.containerState.size+1);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type===\"listItemIndent\"&&l[2].sliceSerialize(l[1],!0).length===r.containerState.size?t(o):n(o)}}function uH(e){e.exit(this.containerState.type)}function cH(e,t,n){const r=this;return Mt(e,i,\"listItemPrefixWhitespace\",r.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:5);function i(o){const l=r.events[r.events.length-1];return!Ct(o)&&l&&l[1].type===\"listItemPrefixWhitespace\"?t(o):n(o)}}const n2={name:\"setextUnderline\",resolveTo:dH,tokenize:fH};function dH(e,t){let n=e.length,r,i,o;for(;n--;)if(e[n][0]===\"enter\"){if(e[n][1].type===\"content\"){r=n;break}e[n][1].type===\"paragraph\"&&(i=n)}else e[n][1].type===\"content\"&&e.splice(n,1),!o&&e[n][1].type===\"definition\"&&(o=n);const l={type:\"setextHeading\",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[i][1].type=\"setextHeadingText\",o?(e.splice(i,0,[\"enter\",l,t]),e.splice(o+1,0,[\"exit\",e[r][1],t]),e[r][1].end={...e[o][1].end}):e[r][1]=l,e.push([\"exit\",l,t]),e}function fH(e,t,n){const r=this;let i;return o;function o(f){let m=r.events.length,p;for(;m--;)if(r.events[m][1].type!==\"lineEnding\"&&r.events[m][1].type!==\"linePrefix\"&&r.events[m][1].type!==\"content\"){p=r.events[m][1].type===\"paragraph\";break}return!r.parser.lazy[r.now().line]&&(r.interrupt||p)?(e.enter(\"setextHeadingLine\"),i=f,l(f)):n(f)}function l(f){return e.enter(\"setextHeadingLineSequence\"),c(f)}function c(f){return f===i?(e.consume(f),c):(e.exit(\"setextHeadingLineSequence\"),Ct(f)?Mt(e,d,\"lineSuffix\")(f):d(f))}function d(f){return f===null||nt(f)?(e.exit(\"setextHeadingLine\"),t(f)):n(f)}}const hH={tokenize:mH};function mH(e){const t=this,n=e.attempt(Jc,r,e.attempt(this.parser.constructs.flowInitial,i,Mt(e,e.attempt(this.parser.constructs.flow,i,e.attempt(yF,i)),\"linePrefix\")));return n;function r(o){if(o===null){e.consume(o);return}return e.enter(\"lineEndingBlank\"),e.consume(o),e.exit(\"lineEndingBlank\"),t.currentConstruct=void 0,n}function i(o){if(o===null){e.consume(o);return}return e.enter(\"lineEnding\"),e.consume(o),e.exit(\"lineEnding\"),t.currentConstruct=void 0,n}}const pH={resolveAll:SC()},gH=xC(\"string\"),bH=xC(\"text\");function xC(e){return{resolveAll:SC(e===\"text\"?EH:void 0),tokenize:t};function t(n){const r=this,i=this.parser.constructs[e],o=n.attempt(i,l,c);return l;function l(m){return f(m)?o(m):c(m)}function c(m){if(m===null){n.consume(m);return}return n.enter(\"data\"),n.consume(m),d}function d(m){return f(m)?(n.exit(\"data\"),o(m)):(n.consume(m),d)}function f(m){if(m===null)return!0;const p=i[m];let E=-1;if(p)for(;++E<p.length;){const _=p[E];if(!_.previous||_.previous.call(r,r.previous))return!0}return!1}}}function SC(e){return t;function t(n,r){let i=-1,o;for(;++i<=n.length;)o===void 0?n[i]&&n[i][1].type===\"data\"&&(o=i,i++):(!n[i]||n[i][1].type!==\"data\")&&(i!==o+2&&(n[o][1].end=n[i-1][1].end,n.splice(o+2,i-o-2),i=o+2),o=void 0);return e?e(n,r):n}}function EH(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||e[n][1].type===\"lineEnding\")&&e[n-1][1].type===\"data\"){const r=e[n-1][1],i=t.sliceStream(r);let o=i.length,l=-1,c=0,d;for(;o--;){const f=i[o];if(typeof f==\"string\"){for(l=f.length;f.charCodeAt(l-1)===32;)c++,l--;if(l)break;l=-1}else if(f===-2)d=!0,c++;else if(f!==-1){o++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(c=0),c){const f={type:n===e.length||d||c<2?\"lineSuffix\":\"hardBreakTrailing\",start:{_bufferIndex:o?l:r.start._bufferIndex+l,_index:r.start._index+o,line:r.end.line,column:r.end.column-c,offset:r.end.offset-c},end:{...r.end}};r.end={...f.start},r.start.offset===r.end.offset?Object.assign(r,f):(e.splice(n,0,[\"enter\",f,t],[\"exit\",f,t]),n+=2)}n++}return e}const yH={42:Ar,43:Ar,45:Ar,48:Ar,49:Ar,50:Ar,51:Ar,52:Ar,53:Ar,54:Ar,55:Ar,56:Ar,57:Ar,62:gC},_H={91:SF},TH={[-2]:ig,[-1]:ig,32:ig},vH={35:OF,42:Vf,45:[n2,Vf],60:DF,61:n2,95:Vf,96:e2,126:e2},xH={38:EC,92:bC},SH={[-5]:sg,[-4]:sg,[-3]:sg,33:ZF,38:EC,42:Rb,60:[eF,jF],91:eH,92:[CF,bC],93:ZE,95:Rb,96:hF},AH={null:[Rb,pH]},NH={null:[42,95]},wH={null:[]},CH=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:NH,contentInitial:_H,disable:wH,document:yH,flow:vH,flowInitial:TH,insideSpan:AH,string:xH,text:SH},Symbol.toStringTag,{value:\"Module\"}));function RH(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0};const i={},o=[];let l=[],c=[];const d={attempt:U(k),check:U(w),consume:O,enter:L,exit:B,interrupt:U(w,{interrupt:!0})},f={code:null,containerState:{},defineSkip:S,events:[],now:x,parser:e,previous:null,sliceSerialize:E,sliceStream:_,write:p};let m=t.tokenize.call(f,d);return t.resolveAll&&o.push(t),f;function p(J){return l=ma(l,J),N(),l[l.length-1]!==null?[]:(j(t,0),f.events=im(o,f.events,f),f.events)}function E(J,X){return kH(_(J),X)}function _(J){return OH(l,J)}function x(){const{_bufferIndex:J,_index:X,line:V,column:ne,offset:ae}=r;return{_bufferIndex:J,_index:X,line:V,column:ne,offset:ae}}function S(J){i[J.line]=J.column,M()}function N(){let J;for(;r._index<l.length;){const X=l[r._index];if(typeof X==\"string\")for(J=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===J&&r._bufferIndex<X.length;)v(X.charCodeAt(r._bufferIndex));else v(X)}}function v(J){m=m(J)}function O(J){nt(J)?(r.line++,r.column=1,r.offset+=J===-3?2:1,M()):J!==-1&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===l[r._index].length&&(r._bufferIndex=-1,r._index++)),f.previous=J}function L(J,X){const V=X||{};return V.type=J,V.start=x(),f.events.push([\"enter\",V,f]),c.push(V),V}function B(J){const X=c.pop();return X.end=x(),f.events.push([\"exit\",X,f]),X}function k(J,X){j(J,X.from)}function w(J,X){X.restore()}function U(J,X){return V;function V(ne,ae,Q){let be,K,ve,R;return Array.isArray(ne)?te(ne):\"tokenize\"in ne?te([ne]):le(ne);function le(xe){return Pe;function Pe(je){const Ze=je!==null&&xe[je],Ue=je!==null&&xe.null,Pt=[...Array.isArray(Ze)?Ze:Ze?[Ze]:[],...Array.isArray(Ue)?Ue:Ue?[Ue]:[]];return te(Pt)(je)}}function te(xe){return be=xe,K=0,xe.length===0?Q:I(xe[K])}function I(xe){return Pe;function Pe(je){return R=F(),ve=xe,xe.partial||(f.currentConstruct=xe),xe.name&&f.parser.constructs.disable.null.includes(xe.name)?Te():xe.tokenize.call(X?Object.assign(Object.create(f),X):f,d,ce,Te)(je)}}function ce(xe){return J(ve,R),ae}function Te(xe){return R.restore(),++K<be.length?I(be[K]):Q}}}function j(J,X){J.resolveAll&&!o.includes(J)&&o.push(J),J.resolve&&Zr(f.events,X,f.events.length-X,J.resolve(f.events.slice(X),f)),J.resolveTo&&(f.events=J.resolveTo(f.events,f))}function F(){const J=x(),X=f.previous,V=f.currentConstruct,ne=f.events.length,ae=Array.from(c);return{from:ne,restore:Q};function Q(){r=J,f.previous=X,f.currentConstruct=V,f.events.length=ne,c=ae,M()}}function M(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}function OH(e,t){const n=t.start._index,r=t.start._bufferIndex,i=t.end._index,o=t.end._bufferIndex;let l;if(n===i)l=[e[n].slice(r,o)];else{if(l=e.slice(n,i),r>-1){const c=l[0];typeof c==\"string\"?l[0]=c.slice(r):l.shift()}o>0&&l.push(e[i].slice(0,o))}return l}function kH(e,t){let n=-1;const r=[];let i;for(;++n<e.length;){const o=e[n];let l;if(typeof o==\"string\")l=o;else switch(o){case-5:{l=\"\\r\";break}case-4:{l=`\n`;break}case-3:{l=`\\r\n`;break}case-2:{l=t?\" \":\"\t\";break}case-1:{if(!t&&i)continue;l=\" \";break}default:l=String.fromCharCode(o)}i=o===-2,r.push(l)}return r.join(\"\")}function LH(e){const r={constructs:mC([CH,...(e||{}).extensions||[]]),content:i(V7),defined:[],document:i(X7),flow:i(hH),lazy:{},string:i(gH),text:i(bH)};return r;function i(o){return l;function l(c){return RH(r,o,c)}}}function IH(e){for(;!yC(e););return e}const r2=/[\\0\\t\\n\\r]/g;function DH(){let e=1,t=\"\",n=!0,r;return i;function i(o,l,c){const d=[];let f,m,p,E,_;for(o=t+(typeof o==\"string\"?o.toString():new TextDecoder(l||void 0).decode(o)),p=0,t=\"\",n&&(o.charCodeAt(0)===65279&&p++,n=void 0);p<o.length;){if(r2.lastIndex=p,f=r2.exec(o),E=f&&f.index!==void 0?f.index:o.length,_=o.charCodeAt(E),!f){t=o.slice(p);break}if(_===10&&p===E&&r)d.push(-3),r=void 0;else switch(r&&(d.push(-5),r=void 0),p<E&&(d.push(o.slice(p,E)),e+=E-p),_){case 0:{d.push(65533),e++;break}case 9:{for(m=Math.ceil(e/4)*4,d.push(-2);e++<m;)d.push(-1);break}case 10:{d.push(-4),e=1;break}default:r=!0,e=1}p=E+1}return c&&(r&&d.push(-5),t&&d.push(t),d.push(null)),d}}const MH=/\\\\([!-/:-@[-`{-~])|&(#(?:\\d{1,7}|x[\\da-f]{1,6})|[\\da-z]{1,31});/gi;function PH(e){return e.replace(MH,BH)}function BH(e,t,n){if(t)return t;if(n.charCodeAt(0)===35){const i=n.charCodeAt(1),o=i===120||i===88;return pC(n.slice(o?2:1),o?16:10)}return QE(n)||e}const AC={}.hasOwnProperty;function UH(e,t,n){return typeof t!=\"string\"&&(n=t,t=void 0),FH(n)(IH(LH(n).document().write(DH()(e,t,!0))))}function FH(e){const t={transforms:[],canContainEols:[\"emphasis\",\"fragment\",\"heading\",\"paragraph\",\"strong\"],enter:{autolink:o(Qn),autolinkProtocol:F,autolinkEmail:F,atxHeading:o(fr),blockQuote:o(Ue),characterEscape:F,characterReference:F,codeFenced:o(Pt),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:o(Pt,l),codeText:o(mn,l),codeTextData:F,data:F,codeFlowValue:F,definition:o(pn),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:o(Tn),hardBreakEscape:o(mt),hardBreakTrailing:o(mt),htmlFlow:o(zn,l),htmlFlowData:F,htmlText:o(zn,l),htmlTextData:F,image:o($n),label:l,link:o(Qn),listItem:o(fi),listItemValue:E,listOrdered:o(Aa,p),listUnordered:o(Aa),paragraph:o(Ir),reference:I,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:o(fr),strong:o(ta),thematicBreak:o(Ha)},exit:{atxHeading:d(),atxHeadingSequence:k,autolink:d(),autolinkEmail:Ze,autolinkProtocol:je,blockQuote:d(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:Te,characterReferenceMarkerNumeric:Te,characterReferenceValue:xe,characterReference:Pe,codeFenced:d(N),codeFencedFence:S,codeFencedFenceInfo:_,codeFencedFenceMeta:x,codeFlowValue:M,codeIndented:d(v),codeText:d(ae),codeTextData:M,data:M,definition:d(),definitionDestinationString:B,definitionLabelString:O,definitionTitleString:L,emphasis:d(),hardBreakEscape:d(X),hardBreakTrailing:d(X),htmlFlow:d(V),htmlFlowData:M,htmlText:d(ne),htmlTextData:M,image:d(be),label:ve,labelText:K,lineEnding:J,link:d(Q),listItem:d(),listOrdered:d(),listUnordered:d(),paragraph:d(),referenceString:ce,resourceDestinationString:R,resourceTitleString:le,resource:te,setextHeading:d(j),setextHeadingLineSequence:U,setextHeadingText:w,strong:d(),thematicBreak:d()}};NC(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(de){let Ne={type:\"root\",children:[]};const tt={stack:[Ne],tokenStack:[],config:t,enter:c,exit:f,buffer:l,resume:m,data:n},ht=[];let It=-1;for(;++It<de.length;)if(de[It][1].type===\"listOrdered\"||de[It][1].type===\"listUnordered\")if(de[It][0]===\"enter\")ht.push(It);else{const ln=ht.pop();It=i(de,ln,It)}for(It=-1;++It<de.length;){const ln=t[de[It][0]];AC.call(ln,de[It][1].type)&&ln[de[It][1].type].call(Object.assign({sliceSerialize:de[It][2].sliceSerialize},tt),de[It][1])}if(tt.tokenStack.length>0){const ln=tt.tokenStack[tt.tokenStack.length-1];(ln[1]||a2).call(tt,void 0,ln[0])}for(Ne.position={start:fs(de.length>0?de[0][1].start:{line:1,column:1,offset:0}),end:fs(de.length>0?de[de.length-2][1].end:{line:1,column:1,offset:0})},It=-1;++It<t.transforms.length;)Ne=t.transforms[It](Ne)||Ne;return Ne}function i(de,Ne,tt){let ht=Ne-1,It=-1,ln=!1,yr,An,on,Na;for(;++ht<=tt;){const Kt=de[ht];switch(Kt[1].type){case\"listUnordered\":case\"listOrdered\":case\"blockQuote\":{Kt[0]===\"enter\"?It++:It--,Na=void 0;break}case\"lineEndingBlank\":{Kt[0]===\"enter\"&&(yr&&!Na&&!It&&!on&&(on=ht),Na=void 0);break}case\"linePrefix\":case\"listItemValue\":case\"listItemMarker\":case\"listItemPrefix\":case\"listItemPrefixWhitespace\":break;default:Na=void 0}if(!It&&Kt[0]===\"enter\"&&Kt[1].type===\"listItemPrefix\"||It===-1&&Kt[0]===\"exit\"&&(Kt[1].type===\"listUnordered\"||Kt[1].type===\"listOrdered\")){if(yr){let Xt=ht;for(An=void 0;Xt--;){const qn=de[Xt];if(qn[1].type===\"lineEnding\"||qn[1].type===\"lineEndingBlank\"){if(qn[0]===\"exit\")continue;An&&(de[An][1].type=\"lineEndingBlank\",ln=!0),qn[1].type=\"lineEnding\",An=Xt}else if(!(qn[1].type===\"linePrefix\"||qn[1].type===\"blockQuotePrefix\"||qn[1].type===\"blockQuotePrefixWhitespace\"||qn[1].type===\"blockQuoteMarker\"||qn[1].type===\"listItemIndent\"))break}on&&(!An||on<An)&&(yr._spread=!0),yr.end=Object.assign({},An?de[An][1].start:Kt[1].end),de.splice(An||ht,0,[\"exit\",yr,Kt[2]]),ht++,tt++}if(Kt[1].type===\"listItemPrefix\"){const Xt={type:\"listItem\",_spread:!1,start:Object.assign({},Kt[1].start),end:void 0};yr=Xt,de.splice(ht,0,[\"enter\",Xt,Kt[2]]),ht++,tt++,on=void 0,Na=!0}}}return de[Ne][1]._spread=ln,tt}function o(de,Ne){return tt;function tt(ht){c.call(this,de(ht),ht),Ne&&Ne.call(this,ht)}}function l(){this.stack.push({type:\"fragment\",children:[]})}function c(de,Ne,tt){this.stack[this.stack.length-1].children.push(de),this.stack.push(de),this.tokenStack.push([Ne,tt||void 0]),de.position={start:fs(Ne.start),end:void 0}}function d(de){return Ne;function Ne(tt){de&&de.call(this,tt),f.call(this,tt)}}function f(de,Ne){const tt=this.stack.pop(),ht=this.tokenStack.pop();if(ht)ht[0].type!==de.type&&(Ne?Ne.call(this,de,ht[0]):(ht[1]||a2).call(this,de,ht[0]));else throw new Error(\"Cannot close `\"+de.type+\"` (\"+bc({start:de.start,end:de.end})+\"): it’s not open\");tt.position.end=fs(de.end)}function m(){return WE(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function E(de){if(this.data.expectingFirstListItemValue){const Ne=this.stack[this.stack.length-2];Ne.start=Number.parseInt(this.sliceSerialize(de),10),this.data.expectingFirstListItemValue=void 0}}function _(){const de=this.resume(),Ne=this.stack[this.stack.length-1];Ne.lang=de}function x(){const de=this.resume(),Ne=this.stack[this.stack.length-1];Ne.meta=de}function S(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function N(){const de=this.resume(),Ne=this.stack[this.stack.length-1];Ne.value=de.replace(/^(\\r?\\n|\\r)|(\\r?\\n|\\r)$/g,\"\"),this.data.flowCodeInside=void 0}function v(){const de=this.resume(),Ne=this.stack[this.stack.length-1];Ne.value=de.replace(/(\\r?\\n|\\r)$/g,\"\")}function O(de){const Ne=this.resume(),tt=this.stack[this.stack.length-1];tt.label=Ne,tt.identifier=Ia(this.sliceSerialize(de)).toLowerCase()}function L(){const de=this.resume(),Ne=this.stack[this.stack.length-1];Ne.title=de}function B(){const de=this.resume(),Ne=this.stack[this.stack.length-1];Ne.url=de}function k(de){const Ne=this.stack[this.stack.length-1];if(!Ne.depth){const tt=this.sliceSerialize(de).length;Ne.depth=tt}}function w(){this.data.setextHeadingSlurpLineEnding=!0}function U(de){const Ne=this.stack[this.stack.length-1];Ne.depth=this.sliceSerialize(de).codePointAt(0)===61?1:2}function j(){this.data.setextHeadingSlurpLineEnding=void 0}function F(de){const tt=this.stack[this.stack.length-1].children;let ht=tt[tt.length-1];(!ht||ht.type!==\"text\")&&(ht=dn(),ht.position={start:fs(de.start),end:void 0},tt.push(ht)),this.stack.push(ht)}function M(de){const Ne=this.stack.pop();Ne.value+=this.sliceSerialize(de),Ne.position.end=fs(de.end)}function J(de){const Ne=this.stack[this.stack.length-1];if(this.data.atHardBreak){const tt=Ne.children[Ne.children.length-1];tt.position.end=fs(de.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(Ne.type)&&(F.call(this,de),M.call(this,de))}function X(){this.data.atHardBreak=!0}function V(){const de=this.resume(),Ne=this.stack[this.stack.length-1];Ne.value=de}function ne(){const de=this.resume(),Ne=this.stack[this.stack.length-1];Ne.value=de}function ae(){const de=this.resume(),Ne=this.stack[this.stack.length-1];Ne.value=de}function Q(){const de=this.stack[this.stack.length-1];if(this.data.inReference){const Ne=this.data.referenceType||\"shortcut\";de.type+=\"Reference\",de.referenceType=Ne,delete de.url,delete de.title}else delete de.identifier,delete de.label;this.data.referenceType=void 0}function be(){const de=this.stack[this.stack.length-1];if(this.data.inReference){const Ne=this.data.referenceType||\"shortcut\";de.type+=\"Reference\",de.referenceType=Ne,delete de.url,delete de.title}else delete de.identifier,delete de.label;this.data.referenceType=void 0}function K(de){const Ne=this.sliceSerialize(de),tt=this.stack[this.stack.length-2];tt.label=PH(Ne),tt.identifier=Ia(Ne).toLowerCase()}function ve(){const de=this.stack[this.stack.length-1],Ne=this.resume(),tt=this.stack[this.stack.length-1];if(this.data.inReference=!0,tt.type===\"link\"){const ht=de.children;tt.children=ht}else tt.alt=Ne}function R(){const de=this.resume(),Ne=this.stack[this.stack.length-1];Ne.url=de}function le(){const de=this.resume(),Ne=this.stack[this.stack.length-1];Ne.title=de}function te(){this.data.inReference=void 0}function I(){this.data.referenceType=\"collapsed\"}function ce(de){const Ne=this.resume(),tt=this.stack[this.stack.length-1];tt.label=Ne,tt.identifier=Ia(this.sliceSerialize(de)).toLowerCase(),this.data.referenceType=\"full\"}function Te(de){this.data.characterReferenceType=de.type}function xe(de){const Ne=this.sliceSerialize(de),tt=this.data.characterReferenceType;let ht;tt?(ht=pC(Ne,tt===\"characterReferenceMarkerNumeric\"?10:16),this.data.characterReferenceType=void 0):ht=QE(Ne);const It=this.stack[this.stack.length-1];It.value+=ht}function Pe(de){const Ne=this.stack.pop();Ne.position.end=fs(de.end)}function je(de){M.call(this,de);const Ne=this.stack[this.stack.length-1];Ne.url=this.sliceSerialize(de)}function Ze(de){M.call(this,de);const Ne=this.stack[this.stack.length-1];Ne.url=\"mailto:\"+this.sliceSerialize(de)}function Ue(){return{type:\"blockquote\",children:[]}}function Pt(){return{type:\"code\",lang:null,meta:null,value:\"\"}}function mn(){return{type:\"inlineCode\",value:\"\"}}function pn(){return{type:\"definition\",identifier:\"\",label:null,title:null,url:\"\"}}function Tn(){return{type:\"emphasis\",children:[]}}function fr(){return{type:\"heading\",depth:0,children:[]}}function mt(){return{type:\"break\"}}function zn(){return{type:\"html\",value:\"\"}}function $n(){return{type:\"image\",title:null,url:\"\",alt:null}}function Qn(){return{type:\"link\",title:null,url:\"\",children:[]}}function Aa(de){return{type:\"list\",ordered:de.type===\"listOrdered\",start:null,spread:de._spread,children:[]}}function fi(de){return{type:\"listItem\",spread:de._spread,checked:null,children:[]}}function Ir(){return{type:\"paragraph\",children:[]}}function ta(){return{type:\"strong\",children:[]}}function dn(){return{type:\"text\",value:\"\"}}function Ha(){return{type:\"thematicBreak\"}}}function fs(e){return{line:e.line,column:e.column,offset:e.offset}}function NC(e,t){let n=-1;for(;++n<t.length;){const r=t[n];Array.isArray(r)?NC(e,r):HH(e,r)}}function HH(e,t){let n;for(n in t)if(AC.call(t,n))switch(n){case\"canContainEols\":{const r=t[n];r&&e[n].push(...r);break}case\"transforms\":{const r=t[n];r&&e[n].push(...r);break}case\"enter\":case\"exit\":{const r=t[n];r&&Object.assign(e[n],r);break}}}function a2(e,t){throw e?new Error(\"Cannot close `\"+e.type+\"` (\"+bc({start:e.start,end:e.end})+\"): a different token (`\"+t.type+\"`, \"+bc({start:t.start,end:t.end})+\") is open\"):new Error(\"Cannot close document, a token (`\"+t.type+\"`, \"+bc({start:t.start,end:t.end})+\") is still open\")}function jH(e){const t=this;t.parser=n;function n(r){return UH(r,{...t.data(\"settings\"),...e,extensions:t.data(\"micromarkExtensions\")||[],mdastExtensions:t.data(\"fromMarkdownExtensions\")||[]})}}function zH(e,t){const n={type:\"element\",tagName:\"blockquote\",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)}function $H(e,t){const n={type:\"element\",tagName:\"br\",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:\"text\",value:`\n`}]}function qH(e,t){const n=t.value?t.value+`\n`:\"\",r={};t.lang&&(r.className=[\"language-\"+t.lang]);let i={type:\"element\",tagName:\"code\",properties:r,children:[{type:\"text\",value:n}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:\"element\",tagName:\"pre\",properties:{},children:[i]},e.patch(t,i),i}function YH(e,t){const n={type:\"element\",tagName:\"del\",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function GH(e,t){const n={type:\"element\",tagName:\"em\",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function VH(e,t){const n=typeof e.options.clobberPrefix==\"string\"?e.options.clobberPrefix:\"user-content-\",r=String(t.identifier).toUpperCase(),i=Jl(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let l,c=e.footnoteCounts.get(r);c===void 0?(c=0,e.footnoteOrder.push(r),l=e.footnoteOrder.length):l=o+1,c+=1,e.footnoteCounts.set(r,c);const d={type:\"element\",tagName:\"a\",properties:{href:\"#\"+n+\"fn-\"+i,id:n+\"fnref-\"+i+(c>1?\"-\"+c:\"\"),dataFootnoteRef:!0,ariaDescribedBy:[\"footnote-label\"]},children:[{type:\"text\",value:String(l)}]};e.patch(t,d);const f={type:\"element\",tagName:\"sup\",properties:{},children:[d]};return e.patch(t,f),e.applyData(t,f)}function KH(e,t){const n={type:\"element\",tagName:\"h\"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function XH(e,t){if(e.options.allowDangerousHtml){const n={type:\"raw\",value:t.value};return e.patch(t,n),e.applyData(t,n)}}function wC(e,t){const n=t.referenceType;let r=\"]\";if(n===\"collapsed\"?r+=\"[]\":n===\"full\"&&(r+=\"[\"+(t.label||t.identifier)+\"]\"),t.type===\"imageReference\")return[{type:\"text\",value:\"![\"+t.alt+r}];const i=e.all(t),o=i[0];o&&o.type===\"text\"?o.value=\"[\"+o.value:i.unshift({type:\"text\",value:\"[\"});const l=i[i.length-1];return l&&l.type===\"text\"?l.value+=r:i.push({type:\"text\",value:r}),i}function WH(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return wC(e,t);const i={src:Jl(r.url||\"\"),alt:t.alt};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:\"element\",tagName:\"img\",properties:i,children:[]};return e.patch(t,o),e.applyData(t,o)}function QH(e,t){const n={src:Jl(t.url)};t.alt!==null&&t.alt!==void 0&&(n.alt=t.alt),t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:\"element\",tagName:\"img\",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)}function ZH(e,t){const n={type:\"text\",value:t.value.replace(/\\r?\\n|\\r/g,\" \")};e.patch(t,n);const r={type:\"element\",tagName:\"code\",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)}function JH(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return wC(e,t);const i={href:Jl(r.url||\"\")};r.title!==null&&r.title!==void 0&&(i.title=r.title);const o={type:\"element\",tagName:\"a\",properties:i,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)}function ej(e,t){const n={href:Jl(t.url)};t.title!==null&&t.title!==void 0&&(n.title=t.title);const r={type:\"element\",tagName:\"a\",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function tj(e,t,n){const r=e.all(t),i=n?nj(n):CC(t),o={},l=[];if(typeof t.checked==\"boolean\"){const m=r[0];let p;m&&m.type===\"element\"&&m.tagName===\"p\"?p=m:(p={type:\"element\",tagName:\"p\",properties:{},children:[]},r.unshift(p)),p.children.length>0&&p.children.unshift({type:\"text\",value:\" \"}),p.children.unshift({type:\"element\",tagName:\"input\",properties:{type:\"checkbox\",checked:t.checked,disabled:!0},children:[]}),o.className=[\"task-list-item\"]}let c=-1;for(;++c<r.length;){const m=r[c];(i||c!==0||m.type!==\"element\"||m.tagName!==\"p\")&&l.push({type:\"text\",value:`\n`}),m.type===\"element\"&&m.tagName===\"p\"&&!i?l.push(...m.children):l.push(m)}const d=r[r.length-1];d&&(i||d.type!==\"element\"||d.tagName!==\"p\")&&l.push({type:\"text\",value:`\n`});const f={type:\"element\",tagName:\"li\",properties:o,children:l};return e.patch(t,f),e.applyData(t,f)}function nj(e){let t=!1;if(e.type===\"list\"){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r<n.length;)t=CC(n[r])}return t}function CC(e){const t=e.spread;return t??e.children.length>1}function rj(e,t){const n={},r=e.all(t);let i=-1;for(typeof t.start==\"number\"&&t.start!==1&&(n.start=t.start);++i<r.length;){const l=r[i];if(l.type===\"element\"&&l.tagName===\"li\"&&l.properties&&Array.isArray(l.properties.className)&&l.properties.className.includes(\"task-list-item\")){n.className=[\"contains-task-list\"];break}}const o={type:\"element\",tagName:t.ordered?\"ol\":\"ul\",properties:n,children:e.wrap(r,!0)};return e.patch(t,o),e.applyData(t,o)}function aj(e,t){const n={type:\"element\",tagName:\"p\",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function ij(e,t){const n={type:\"root\",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)}function sj(e,t){const n={type:\"element\",tagName:\"strong\",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function oj(e,t){const n=e.all(t),r=n.shift(),i=[];if(r){const l={type:\"element\",tagName:\"thead\",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],l),i.push(l)}if(n.length>0){const l={type:\"element\",tagName:\"tbody\",properties:{},children:e.wrap(n,!0)},c=ci(t.children[1]),d=rm(t.children[t.children.length-1]);c&&d&&(l.position={start:c,end:d}),i.push(l)}const o={type:\"element\",tagName:\"table\",properties:{},children:e.wrap(i,!0)};return e.patch(t,o),e.applyData(t,o)}function lj(e,t,n){const r=n?n.children:void 0,o=(r?r.indexOf(t):1)===0?\"th\":\"td\",l=n&&n.type===\"table\"?n.align:void 0,c=l?l.length:t.children.length;let d=-1;const f=[];for(;++d<c;){const p=t.children[d],E={},_=l?l[d]:void 0;_&&(E.align=_);let x={type:\"element\",tagName:o,properties:E,children:[]};p&&(x.children=e.all(p),e.patch(p,x),x=e.applyData(p,x)),f.push(x)}const m={type:\"element\",tagName:\"tr\",properties:{},children:e.wrap(f,!0)};return e.patch(t,m),e.applyData(t,m)}function uj(e,t){const n={type:\"element\",tagName:\"td\",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}const i2=9,s2=32;function cj(e){const t=String(e),n=/\\r?\\n|\\r/g;let r=n.exec(t),i=0;const o=[];for(;r;)o.push(o2(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return o.push(o2(t.slice(i),i>0,!1)),o.join(\"\")}function o2(e,t,n){let r=0,i=e.length;if(t){let o=e.codePointAt(r);for(;o===i2||o===s2;)r++,o=e.codePointAt(r)}if(n){let o=e.codePointAt(i-1);for(;o===i2||o===s2;)i--,o=e.codePointAt(i-1)}return i>r?e.slice(r,i):\"\"}function dj(e,t){const n={type:\"text\",value:cj(String(t.value))};return e.patch(t,n),e.applyData(t,n)}function fj(e,t){const n={type:\"element\",tagName:\"hr\",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)}const hj={blockquote:zH,break:$H,code:qH,delete:YH,emphasis:GH,footnoteReference:VH,heading:KH,html:XH,imageReference:WH,image:QH,inlineCode:ZH,linkReference:JH,link:ej,listItem:tj,list:rj,paragraph:aj,root:ij,strong:sj,table:oj,tableCell:uj,tableRow:lj,text:dj,thematicBreak:fj,toml:Af,yaml:Af,definition:Af,footnoteDefinition:Af};function Af(){}const RC=-1,sm=0,yc=1,Eh=2,JE=3,e1=4,t1=5,n1=6,OC=7,kC=8,l2=typeof self==\"object\"?self:globalThis,mj=(e,t)=>{const n=(i,o)=>(e.set(o,i),i),r=i=>{if(e.has(i))return e.get(i);const[o,l]=t[i];switch(o){case sm:case RC:return n(l,i);case yc:{const c=n([],i);for(const d of l)c.push(r(d));return c}case Eh:{const c=n({},i);for(const[d,f]of l)c[r(d)]=r(f);return c}case JE:return n(new Date(l),i);case e1:{const{source:c,flags:d}=l;return n(new RegExp(c,d),i)}case t1:{const c=n(new Map,i);for(const[d,f]of l)c.set(r(d),r(f));return c}case n1:{const c=n(new Set,i);for(const d of l)c.add(r(d));return c}case OC:{const{name:c,message:d}=l;return n(new l2[c](d),i)}case kC:return n(BigInt(l),i);case\"BigInt\":return n(Object(BigInt(l)),i);case\"ArrayBuffer\":return n(new Uint8Array(l).buffer,l);case\"DataView\":{const{buffer:c}=new Uint8Array(l);return n(new DataView(c),l)}}return n(new l2[o](l),i)};return r},u2=e=>mj(new Map,e)(0),ml=\"\",{toString:pj}={},{keys:gj}=Object,cc=e=>{const t=typeof e;if(t!==\"object\"||!e)return[sm,t];const n=pj.call(e).slice(8,-1);switch(n){case\"Array\":return[yc,ml];case\"Object\":return[Eh,ml];case\"Date\":return[JE,ml];case\"RegExp\":return[e1,ml];case\"Map\":return[t1,ml];case\"Set\":return[n1,ml];case\"DataView\":return[yc,n]}return n.includes(\"Array\")?[yc,n]:n.includes(\"Error\")?[OC,n]:[Eh,n]},Nf=([e,t])=>e===sm&&(t===\"function\"||t===\"symbol\"),bj=(e,t,n,r)=>{const i=(l,c)=>{const d=r.push(l)-1;return n.set(c,d),d},o=l=>{if(n.has(l))return n.get(l);let[c,d]=cc(l);switch(c){case sm:{let m=l;switch(d){case\"bigint\":c=kC,m=l.toString();break;case\"function\":case\"symbol\":if(e)throw new TypeError(\"unable to serialize \"+d);m=null;break;case\"undefined\":return i([RC],l)}return i([c,m],l)}case yc:{if(d){let E=l;return d===\"DataView\"?E=new Uint8Array(l.buffer):d===\"ArrayBuffer\"&&(E=new Uint8Array(l)),i([d,[...E]],l)}const m=[],p=i([c,m],l);for(const E of l)m.push(o(E));return p}case Eh:{if(d)switch(d){case\"BigInt\":return i([d,l.toString()],l);case\"Boolean\":case\"Number\":case\"String\":return i([d,l.valueOf()],l)}if(t&&\"toJSON\"in l)return o(l.toJSON());const m=[],p=i([c,m],l);for(const E of gj(l))(e||!Nf(cc(l[E])))&&m.push([o(E),o(l[E])]);return p}case JE:return i([c,l.toISOString()],l);case e1:{const{source:m,flags:p}=l;return i([c,{source:m,flags:p}],l)}case t1:{const m=[],p=i([c,m],l);for(const[E,_]of l)(e||!(Nf(cc(E))||Nf(cc(_))))&&m.push([o(E),o(_)]);return p}case n1:{const m=[],p=i([c,m],l);for(const E of l)(e||!Nf(cc(E)))&&m.push(o(E));return p}}const{message:f}=l;return i([c,{name:d,message:f}],l)};return o},c2=(e,{json:t,lossy:n}={})=>{const r=[];return bj(!(t||n),!!t,new Map,r)(e),r},Fl=typeof structuredClone==\"function\"?(e,t)=>t&&(\"json\"in t||\"lossy\"in t)?u2(c2(e,t)):structuredClone(e):(e,t)=>u2(c2(e,t));function Ej(e,t){const n=[{type:\"text\",value:\"↩\"}];return t>1&&n.push({type:\"element\",tagName:\"sup\",properties:{},children:[{type:\"text\",value:String(t)}]}),n}function yj(e,t){return\"Back to reference \"+(e+1)+(t>1?\"-\"+t:\"\")}function _j(e){const t=typeof e.options.clobberPrefix==\"string\"?e.options.clobberPrefix:\"user-content-\",n=e.options.footnoteBackContent||Ej,r=e.options.footnoteBackLabel||yj,i=e.options.footnoteLabel||\"Footnotes\",o=e.options.footnoteLabelTagName||\"h2\",l=e.options.footnoteLabelProperties||{className:[\"sr-only\"]},c=[];let d=-1;for(;++d<e.footnoteOrder.length;){const f=e.footnoteById.get(e.footnoteOrder[d]);if(!f)continue;const m=e.all(f),p=String(f.identifier).toUpperCase(),E=Jl(p.toLowerCase());let _=0;const x=[],S=e.footnoteCounts.get(p);for(;S!==void 0&&++_<=S;){x.length>0&&x.push({type:\"text\",value:\" \"});let O=typeof n==\"string\"?n:n(d,_);typeof O==\"string\"&&(O={type:\"text\",value:O}),x.push({type:\"element\",tagName:\"a\",properties:{href:\"#\"+t+\"fnref-\"+E+(_>1?\"-\"+_:\"\"),dataFootnoteBackref:\"\",ariaLabel:typeof r==\"string\"?r:r(d,_),className:[\"data-footnote-backref\"]},children:Array.isArray(O)?O:[O]})}const N=m[m.length-1];if(N&&N.type===\"element\"&&N.tagName===\"p\"){const O=N.children[N.children.length-1];O&&O.type===\"text\"?O.value+=\" \":N.children.push({type:\"text\",value:\" \"}),N.children.push(...x)}else m.push(...x);const v={type:\"element\",tagName:\"li\",properties:{id:t+\"fn-\"+E},children:e.wrap(m,!0)};e.patch(f,v),c.push(v)}if(c.length!==0)return{type:\"element\",tagName:\"section\",properties:{dataFootnotes:!0,className:[\"footnotes\"]},children:[{type:\"element\",tagName:o,properties:{...Fl(l),id:\"footnote-label\"},children:[{type:\"text\",value:i}]},{type:\"text\",value:`\n`},{type:\"element\",tagName:\"ol\",properties:{},children:e.wrap(c,!0)},{type:\"text\",value:`\n`}]}}const ed=function(e){if(e==null)return Sj;if(typeof e==\"function\")return om(e);if(typeof e==\"object\")return Array.isArray(e)?Tj(e):vj(e);if(typeof e==\"string\")return xj(e);throw new Error(\"Expected function, string, or object as test\")};function Tj(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=ed(e[n]);return om(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function vj(e){const t=e;return om(n);function n(r){const i=r;let o;for(o in e)if(i[o]!==t[o])return!1;return!0}}function xj(e){return om(t);function t(n){return n&&n.type===e}}function om(e){return t;function t(n,r,i){return!!(Aj(n)&&e.call(this,n,typeof r==\"number\"?r:void 0,i||void 0))}}function Sj(){return!0}function Aj(e){return e!==null&&typeof e==\"object\"&&\"type\"in e}const LC=[],Nj=!0,Ob=!1,wj=\"skip\";function IC(e,t,n,r){let i;typeof t==\"function\"&&typeof n!=\"function\"?(r=n,n=t):i=t;const o=ed(i),l=r?-1:1;c(e,void 0,[])();function c(d,f,m){const p=d&&typeof d==\"object\"?d:{};if(typeof p.type==\"string\"){const _=typeof p.tagName==\"string\"?p.tagName:typeof p.name==\"string\"?p.name:void 0;Object.defineProperty(E,\"name\",{value:\"node (\"+(d.type+(_?\"<\"+_+\">\":\"\"))+\")\"})}return E;function E(){let _=LC,x,S,N;if((!t||o(d,f,m[m.length-1]||void 0))&&(_=Cj(n(d,m)),_[0]===Ob))return _;if(\"children\"in d&&d.children){const v=d;if(v.children&&_[0]!==wj)for(S=(r?v.children.length:-1)+l,N=m.concat(v);S>-1&&S<v.children.length;){const O=v.children[S];if(x=c(O,S,N)(),x[0]===Ob)return x;S=typeof x[1]==\"number\"?x[1]:S+l}}return _}}}function Cj(e){return Array.isArray(e)?e:typeof e==\"number\"?[Nj,e]:e==null?LC:[e]}function td(e,t,n,r){let i,o,l;typeof t==\"function\"&&typeof n!=\"function\"?(o=void 0,l=t,i=n):(o=t,l=n,i=r),IC(e,o,c,i);function c(d,f){const m=f[f.length-1],p=m?m.children.indexOf(d):void 0;return l(d,p,m)}}const kb={}.hasOwnProperty,Rj={};function Oj(e,t){const n=t||Rj,r=new Map,i=new Map,o=new Map,l={...hj,...n.handlers},c={all:f,applyData:Lj,definitionById:r,footnoteById:i,footnoteCounts:o,footnoteOrder:[],handlers:l,one:d,options:n,patch:kj,wrap:Dj};return td(e,function(m){if(m.type===\"definition\"||m.type===\"footnoteDefinition\"){const p=m.type===\"definition\"?r:i,E=String(m.identifier).toUpperCase();p.has(E)||p.set(E,m)}}),c;function d(m,p){const E=m.type,_=c.handlers[E];if(kb.call(c.handlers,E)&&_)return _(c,m,p);if(c.options.passThrough&&c.options.passThrough.includes(E)){if(\"children\"in m){const{children:S,...N}=m,v=Fl(N);return v.children=c.all(m),v}return Fl(m)}return(c.options.unknownHandler||Ij)(c,m,p)}function f(m){const p=[];if(\"children\"in m){const E=m.children;let _=-1;for(;++_<E.length;){const x=c.one(E[_],m);if(x){if(_&&E[_-1].type===\"break\"&&(!Array.isArray(x)&&x.type===\"text\"&&(x.value=d2(x.value)),!Array.isArray(x)&&x.type===\"element\")){const S=x.children[0];S&&S.type===\"text\"&&(S.value=d2(S.value))}Array.isArray(x)?p.push(...x):p.push(x)}}}return p}}function kj(e,t){e.position&&(t.position=y7(e))}function Lj(e,t){let n=t;if(e&&e.data){const r=e.data.hName,i=e.data.hChildren,o=e.data.hProperties;if(typeof r==\"string\")if(n.type===\"element\")n.tagName=r;else{const l=\"children\"in n?n.children:[n];n={type:\"element\",tagName:r,properties:{},children:l}}n.type===\"element\"&&o&&Object.assign(n.properties,Fl(o)),\"children\"in n&&n.children&&i!==null&&i!==void 0&&(n.children=i)}return n}function Ij(e,t){const n=t.data||{},r=\"value\"in t&&!(kb.call(n,\"hProperties\")||kb.call(n,\"hChildren\"))?{type:\"text\",value:t.value}:{type:\"element\",tagName:\"div\",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Dj(e,t){const n=[];let r=-1;for(t&&n.push({type:\"text\",value:`\n`});++r<e.length;)r&&n.push({type:\"text\",value:`\n`}),n.push(e[r]);return t&&e.length>0&&n.push({type:\"text\",value:`\n`}),n}function d2(e){let t=0,n=e.charCodeAt(t);for(;n===9||n===32;)t++,n=e.charCodeAt(t);return e.slice(t)}function f2(e,t){const n=Oj(e,t),r=n.one(e,void 0),i=_j(n),o=Array.isArray(r)?{type:\"root\",children:r}:r||{type:\"root\",children:[]};return i&&o.children.push({type:\"text\",value:`\n`},i),o}function Mj(e,t){return e&&\"run\"in e?async function(n,r){const i=f2(n,{file:r,...t});await e.run(i,r)}:function(n,r){return f2(n,{file:r,...e||t})}}function h2(e){if(e)throw e}var og,m2;function Pj(){if(m2)return og;m2=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,n=Object.defineProperty,r=Object.getOwnPropertyDescriptor,i=function(f){return typeof Array.isArray==\"function\"?Array.isArray(f):t.call(f)===\"[object Array]\"},o=function(f){if(!f||t.call(f)!==\"[object Object]\")return!1;var m=e.call(f,\"constructor\"),p=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,\"isPrototypeOf\");if(f.constructor&&!m&&!p)return!1;var E;for(E in f);return typeof E>\"u\"||e.call(f,E)},l=function(f,m){n&&m.name===\"__proto__\"?n(f,m.name,{enumerable:!0,configurable:!0,value:m.newValue,writable:!0}):f[m.name]=m.newValue},c=function(f,m){if(m===\"__proto__\")if(e.call(f,m)){if(r)return r(f,m).value}else return;return f[m]};return og=function d(){var f,m,p,E,_,x,S=arguments[0],N=1,v=arguments.length,O=!1;for(typeof S==\"boolean\"&&(O=S,S=arguments[1]||{},N=2),(S==null||typeof S!=\"object\"&&typeof S!=\"function\")&&(S={});N<v;++N)if(f=arguments[N],f!=null)for(m in f)p=c(S,m),E=c(f,m),S!==E&&(O&&E&&(o(E)||(_=i(E)))?(_?(_=!1,x=p&&i(p)?p:[]):x=p&&o(p)?p:{},l(S,{name:m,newValue:d(O,x,E)})):typeof E<\"u\"&&l(S,{name:m,newValue:E}));return S},og}var Bj=Pj();const lg=zl(Bj);function Lb(e){if(typeof e!=\"object\"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Uj(){const e=[],t={run:n,use:r};return t;function n(...i){let o=-1;const l=i.pop();if(typeof l!=\"function\")throw new TypeError(\"Expected function as last argument, not \"+l);c(null,...i);function c(d,...f){const m=e[++o];let p=-1;if(d){l(d);return}for(;++p<i.length;)(f[p]===null||f[p]===void 0)&&(f[p]=i[p]);i=f,m?Fj(m,c)(...f):l(null,...f)}}function r(i){if(typeof i!=\"function\")throw new TypeError(\"Expected `middelware` to be a function, not \"+i);return e.push(i),t}}function Fj(e,t){let n;return r;function r(...l){const c=e.length>l.length;let d;c&&l.push(i);try{d=e.apply(this,l)}catch(f){const m=f;if(c&&n)throw m;return i(m)}c||(d&&d.then&&typeof d.then==\"function\"?d.then(o,i):d instanceof Error?i(d):o(d))}function i(l,...c){n||(n=!0,t(l,...c))}function o(l){i(null,l)}}const Xa={basename:Hj,dirname:jj,extname:zj,join:$j,sep:\"/\"};function Hj(e,t){if(t!==void 0&&typeof t!=\"string\")throw new TypeError('\"ext\" argument must be a string');nd(e);let n=0,r=-1,i=e.length,o;if(t===void 0||t.length===0||t.length>e.length){for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else r<0&&(o=!0,r=i+1);return r<0?\"\":e.slice(n,r)}if(t===e)return\"\";let l=-1,c=t.length-1;for(;i--;)if(e.codePointAt(i)===47){if(o){n=i+1;break}}else l<0&&(o=!0,l=i+1),c>-1&&(e.codePointAt(i)===t.codePointAt(c--)?c<0&&(r=i):(c=-1,r=l));return n===r?r=l:r<0&&(r=e.length),e.slice(n,r)}function jj(e){if(nd(e),e.length===0)return\".\";let t=-1,n=e.length,r;for(;--n;)if(e.codePointAt(n)===47){if(r){t=n;break}}else r||(r=!0);return t<0?e.codePointAt(0)===47?\"/\":\".\":t===1&&e.codePointAt(0)===47?\"//\":e.slice(0,t)}function zj(e){nd(e);let t=e.length,n=-1,r=0,i=-1,o=0,l;for(;t--;){const c=e.codePointAt(t);if(c===47){if(l){r=t+1;break}continue}n<0&&(l=!0,n=t+1),c===46?i<0?i=t:o!==1&&(o=1):i>-1&&(o=-1)}return i<0||n<0||o===0||o===1&&i===n-1&&i===r+1?\"\":e.slice(i,n)}function $j(...e){let t=-1,n;for(;++t<e.length;)nd(e[t]),e[t]&&(n=n===void 0?e[t]:n+\"/\"+e[t]);return n===void 0?\".\":qj(n)}function qj(e){nd(e);const t=e.codePointAt(0)===47;let n=Yj(e,!t);return n.length===0&&!t&&(n=\".\"),n.length>0&&e.codePointAt(e.length-1)===47&&(n+=\"/\"),t?\"/\"+n:n}function Yj(e,t){let n=\"\",r=0,i=-1,o=0,l=-1,c,d;for(;++l<=e.length;){if(l<e.length)c=e.codePointAt(l);else{if(c===47)break;c=47}if(c===47){if(!(i===l-1||o===1))if(i!==l-1&&o===2){if(n.length<2||r!==2||n.codePointAt(n.length-1)!==46||n.codePointAt(n.length-2)!==46){if(n.length>2){if(d=n.lastIndexOf(\"/\"),d!==n.length-1){d<0?(n=\"\",r=0):(n=n.slice(0,d),r=n.length-1-n.lastIndexOf(\"/\")),i=l,o=0;continue}}else if(n.length>0){n=\"\",r=0,i=l,o=0;continue}}t&&(n=n.length>0?n+\"/..\":\"..\",r=2)}else n.length>0?n+=\"/\"+e.slice(i+1,l):n=e.slice(i+1,l),r=l-i-1;i=l,o=0}else c===46&&o>-1?o++:o=-1}return n}function nd(e){if(typeof e!=\"string\")throw new TypeError(\"Path must be a string. Received \"+JSON.stringify(e))}const Gj={cwd:Vj};function Vj(){return\"/\"}function Ib(e){return!!(e!==null&&typeof e==\"object\"&&\"href\"in e&&e.href&&\"protocol\"in e&&e.protocol&&e.auth===void 0)}function Kj(e){if(typeof e==\"string\")e=new URL(e);else if(!Ib(e)){const t=new TypeError('The \"path\" argument must be of type string or an instance of URL. Received `'+e+\"`\");throw t.code=\"ERR_INVALID_ARG_TYPE\",t}if(e.protocol!==\"file:\"){const t=new TypeError(\"The URL must be of scheme file\");throw t.code=\"ERR_INVALID_URL_SCHEME\",t}return Xj(e)}function Xj(e){if(e.hostname!==\"\"){const r=new TypeError('File URL host must be \"localhost\" or empty on darwin');throw r.code=\"ERR_INVALID_FILE_URL_HOST\",r}const t=e.pathname;let n=-1;for(;++n<t.length;)if(t.codePointAt(n)===37&&t.codePointAt(n+1)===50){const r=t.codePointAt(n+2);if(r===70||r===102){const i=new TypeError(\"File URL path must not include encoded / characters\");throw i.code=\"ERR_INVALID_FILE_URL_PATH\",i}}return decodeURIComponent(t)}const ug=[\"history\",\"path\",\"basename\",\"stem\",\"extname\",\"dirname\"];class DC{constructor(t){let n;t?Ib(t)?n={path:t}:typeof t==\"string\"||Wj(t)?n={value:t}:n=t:n={},this.cwd=\"cwd\"in n?\"\":Gj.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let r=-1;for(;++r<ug.length;){const o=ug[r];o in n&&n[o]!==void 0&&n[o]!==null&&(this[o]=o===\"history\"?[...n[o]]:n[o])}let i;for(i in n)ug.includes(i)||(this[i]=n[i])}get basename(){return typeof this.path==\"string\"?Xa.basename(this.path):void 0}set basename(t){dg(t,\"basename\"),cg(t,\"basename\"),this.path=Xa.join(this.dirname||\"\",t)}get dirname(){return typeof this.path==\"string\"?Xa.dirname(this.path):void 0}set dirname(t){p2(this.basename,\"dirname\"),this.path=Xa.join(t||\"\",this.basename)}get extname(){return typeof this.path==\"string\"?Xa.extname(this.path):void 0}set extname(t){if(cg(t,\"extname\"),p2(this.dirname,\"extname\"),t){if(t.codePointAt(0)!==46)throw new Error(\"`extname` must start with `.`\");if(t.includes(\".\",1))throw new Error(\"`extname` cannot contain multiple dots\")}this.path=Xa.join(this.dirname,this.stem+(t||\"\"))}get path(){return this.history[this.history.length-1]}set path(t){Ib(t)&&(t=Kj(t)),dg(t,\"path\"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path==\"string\"?Xa.basename(this.path,this.extname):void 0}set stem(t){dg(t,\"stem\"),cg(t,\"stem\"),this.path=Xa.join(this.dirname||\"\",t+(this.extname||\"\"))}fail(t,n,r){const i=this.message(t,n,r);throw i.fatal=!0,i}info(t,n,r){const i=this.message(t,n,r);return i.fatal=void 0,i}message(t,n,r){const i=new cr(t,n,r);return this.path&&(i.name=this.path+\":\"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(t){return this.value===void 0?\"\":typeof this.value==\"string\"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function cg(e,t){if(e&&e.includes(Xa.sep))throw new Error(\"`\"+t+\"` cannot be a path: did not expect `\"+Xa.sep+\"`\")}function dg(e,t){if(!e)throw new Error(\"`\"+t+\"` cannot be empty\")}function p2(e,t){if(!e)throw new Error(\"Setting `\"+t+\"` requires `path` to be set too\")}function Wj(e){return!!(e&&typeof e==\"object\"&&\"byteLength\"in e&&\"byteOffset\"in e)}const Qj=function(e){const r=this.constructor.prototype,i=r[e],o=function(){return i.apply(o,arguments)};return Object.setPrototypeOf(o,r),o},Zj={}.hasOwnProperty;class r1 extends Qj{constructor(){super(\"copy\"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Uj()}copy(){const t=new r1;let n=-1;for(;++n<this.attachers.length;){const r=this.attachers[n];t.use(...r)}return t.data(lg(!0,{},this.namespace)),t}data(t,n){return typeof t==\"string\"?arguments.length===2?(mg(\"data\",this.frozen),this.namespace[t]=n,this):Zj.call(this.namespace,t)&&this.namespace[t]||void 0:t?(mg(\"data\",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[n,...r]=this.attachers[this.freezeIndex];if(r[0]===!1)continue;r[0]===!0&&(r[0]=void 0);const i=n.call(t,...r);typeof i==\"function\"&&this.transformers.use(i)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const n=wf(t),r=this.parser||this.Parser;return fg(\"parse\",r),r(String(n),n)}process(t,n){const r=this;return this.freeze(),fg(\"process\",this.parser||this.Parser),hg(\"process\",this.compiler||this.Compiler),n?i(void 0,n):new Promise(i);function i(o,l){const c=wf(t),d=r.parse(c);r.run(d,c,function(m,p,E){if(m||!p||!E)return f(m);const _=p,x=r.stringify(_,E);tz(x)?E.value=x:E.result=x,f(m,E)});function f(m,p){m||!p?l(m):o?o(p):n(void 0,p)}}}processSync(t){let n=!1,r;return this.freeze(),fg(\"processSync\",this.parser||this.Parser),hg(\"processSync\",this.compiler||this.Compiler),this.process(t,i),b2(\"processSync\",\"process\",n),r;function i(o,l){n=!0,h2(o),r=l}}run(t,n,r){g2(t),this.freeze();const i=this.transformers;return!r&&typeof n==\"function\"&&(r=n,n=void 0),r?o(void 0,r):new Promise(o);function o(l,c){const d=wf(n);i.run(t,d,f);function f(m,p,E){const _=p||t;m?c(m):l?l(_):r(void 0,_,E)}}}runSync(t,n){let r=!1,i;return this.run(t,n,o),b2(\"runSync\",\"run\",r),i;function o(l,c){h2(l),i=c,r=!0}}stringify(t,n){this.freeze();const r=wf(n),i=this.compiler||this.Compiler;return hg(\"stringify\",i),g2(t),i(t,r)}use(t,...n){const r=this.attachers,i=this.namespace;if(mg(\"use\",this.frozen),t!=null)if(typeof t==\"function\")d(t,n);else if(typeof t==\"object\")Array.isArray(t)?c(t):l(t);else throw new TypeError(\"Expected usable value, not `\"+t+\"`\");return this;function o(f){if(typeof f==\"function\")d(f,[]);else if(typeof f==\"object\")if(Array.isArray(f)){const[m,...p]=f;d(m,p)}else l(f);else throw new TypeError(\"Expected usable value, not `\"+f+\"`\")}function l(f){if(!(\"plugins\"in f)&&!(\"settings\"in f))throw new Error(\"Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither\");c(f.plugins),f.settings&&(i.settings=lg(!0,i.settings,f.settings))}function c(f){let m=-1;if(f!=null)if(Array.isArray(f))for(;++m<f.length;){const p=f[m];o(p)}else throw new TypeError(\"Expected a list of plugins, not `\"+f+\"`\")}function d(f,m){let p=-1,E=-1;for(;++p<r.length;)if(r[p][0]===f){E=p;break}if(E===-1)r.push([f,...m]);else if(m.length>0){let[_,...x]=m;const S=r[E][1];Lb(S)&&Lb(_)&&(_=lg(!0,S,_)),r[E]=[f,_,...x]}}}}const Jj=new r1().freeze();function fg(e,t){if(typeof t!=\"function\")throw new TypeError(\"Cannot `\"+e+\"` without `parser`\")}function hg(e,t){if(typeof t!=\"function\")throw new TypeError(\"Cannot `\"+e+\"` without `compiler`\")}function mg(e,t){if(t)throw new Error(\"Cannot call `\"+e+\"` on a frozen processor.\\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.\")}function g2(e){if(!Lb(e)||typeof e.type!=\"string\")throw new TypeError(\"Expected node, got `\"+e+\"`\")}function b2(e,t,n){if(!n)throw new Error(\"`\"+e+\"` finished async. Use `\"+t+\"` instead\")}function wf(e){return ez(e)?e:new DC(e)}function ez(e){return!!(e&&typeof e==\"object\"&&\"message\"in e&&\"messages\"in e)}function tz(e){return typeof e==\"string\"||nz(e)}function nz(e){return!!(e&&typeof e==\"object\"&&\"byteLength\"in e&&\"byteOffset\"in e)}const rz=\"https://github.com/remarkjs/react-markdown/blob/main/changelog.md\",E2=[],y2={allowDangerousHtml:!0},az=/^(https?|ircs?|mailto|xmpp)$/i,iz=[{from:\"astPlugins\",id:\"remove-buggy-html-in-markdown-parser\"},{from:\"allowDangerousHtml\",id:\"remove-buggy-html-in-markdown-parser\"},{from:\"allowNode\",id:\"replace-allownode-allowedtypes-and-disallowedtypes\",to:\"allowElement\"},{from:\"allowedTypes\",id:\"replace-allownode-allowedtypes-and-disallowedtypes\",to:\"allowedElements\"},{from:\"className\",id:\"remove-classname\"},{from:\"disallowedTypes\",id:\"replace-allownode-allowedtypes-and-disallowedtypes\",to:\"disallowedElements\"},{from:\"escapeHtml\",id:\"remove-buggy-html-in-markdown-parser\"},{from:\"includeElementIndex\",id:\"#remove-includeelementindex\"},{from:\"includeNodeIndex\",id:\"change-includenodeindex-to-includeelementindex\"},{from:\"linkTarget\",id:\"remove-linktarget\"},{from:\"plugins\",id:\"change-plugins-to-remarkplugins\",to:\"remarkPlugins\"},{from:\"rawSourcePos\",id:\"#remove-rawsourcepos\"},{from:\"renderers\",id:\"change-renderers-to-components\",to:\"components\"},{from:\"source\",id:\"change-source-to-children\",to:\"children\"},{from:\"sourcePos\",id:\"#remove-sourcepos\"},{from:\"transformImageUri\",id:\"#add-urltransform\",to:\"urlTransform\"},{from:\"transformLinkUri\",id:\"#add-urltransform\",to:\"urlTransform\"}];function sz(e){const t=oz(e),n=lz(e);return uz(t.runSync(t.parse(n),n),e)}function oz(e){const t=e.rehypePlugins||E2,n=e.remarkPlugins||E2,r=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...y2}:y2;return Jj().use(jH).use(n).use(Mj,r).use(t)}function lz(e){const t=e.children||\"\",n=new DC;return typeof t==\"string\"&&(n.value=t),n}function uz(e,t){const n=t.allowedElements,r=t.allowElement,i=t.components,o=t.disallowedElements,l=t.skipHtml,c=t.unwrapDisallowed,d=t.urlTransform||cz;for(const m of iz)Object.hasOwn(t,m.from)&&(\"\"+m.from+(m.to?\"use `\"+m.to+\"` instead\":\"remove it\")+rz+m.id,void 0);return td(e,f),S7(e,{Fragment:b.Fragment,components:i,ignoreInvalidStyle:!0,jsx:b.jsx,jsxs:b.jsxs,passKeys:!0,passNode:!0});function f(m,p,E){if(m.type===\"raw\"&&E&&typeof p==\"number\")return l?E.children.splice(p,1):E.children[p]={type:\"text\",value:m.value},p;if(m.type===\"element\"){let _;for(_ in ag)if(Object.hasOwn(ag,_)&&Object.hasOwn(m.properties,_)){const x=m.properties[_],S=ag[_];(S===null||S.includes(m.tagName))&&(m.properties[_]=d(String(x||\"\"),_,m))}}if(m.type===\"element\"){let _=n?!n.includes(m.tagName):o?o.includes(m.tagName):!1;if(!_&&r&&typeof p==\"number\"&&(_=!r(m,p,E)),_&&E&&typeof p==\"number\")return c&&m.children?E.children.splice(p,1,...m.children):E.children.splice(p,1),p}}}function cz(e){const t=e.indexOf(\":\"),n=e.indexOf(\"?\"),r=e.indexOf(\"#\"),i=e.indexOf(\"/\");return t===-1||i!==-1&&t>i||n!==-1&&t>n||r!==-1&&t>r||az.test(e.slice(0,t))?e:\"\"}const _2=function(e,t,n){const r=ed(n);if(!e||!e.type||!e.children)throw new Error(\"Expected parent node\");if(typeof t==\"number\"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error(\"Expected positive finite number as index\")}else if(t=e.children.indexOf(t),t<0)throw new Error(\"Expected child node or index\");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]},Ro=function(e){if(e==null)return hz;if(typeof e==\"string\")return fz(e);if(typeof e==\"object\")return dz(e);if(typeof e==\"function\")return a1(e);throw new Error(\"Expected function, string, or array as `test`\")};function dz(e){const t=[];let n=-1;for(;++n<e.length;)t[n]=Ro(e[n]);return a1(r);function r(...i){let o=-1;for(;++o<t.length;)if(t[o].apply(this,i))return!0;return!1}}function fz(e){return a1(t);function t(n){return n.tagName===e}}function a1(e){return t;function t(n,r,i){return!!(mz(n)&&e.call(this,n,typeof r==\"number\"?r:void 0,i||void 0))}}function hz(e){return!!(e&&typeof e==\"object\"&&\"type\"in e&&e.type===\"element\"&&\"tagName\"in e&&typeof e.tagName==\"string\")}function mz(e){return e!==null&&typeof e==\"object\"&&\"type\"in e&&\"tagName\"in e}const T2=/\\n/g,v2=/[\\t ]+/g,Db=Ro(\"br\"),x2=Ro(vz),pz=Ro(\"p\"),S2=Ro(\"tr\"),gz=Ro([\"datalist\",\"head\",\"noembed\",\"noframes\",\"noscript\",\"rp\",\"script\",\"style\",\"template\",\"title\",Tz,xz]),MC=Ro([\"address\",\"article\",\"aside\",\"blockquote\",\"body\",\"caption\",\"center\",\"dd\",\"dialog\",\"dir\",\"dl\",\"dt\",\"div\",\"figure\",\"figcaption\",\"footer\",\"form,\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"html\",\"legend\",\"li\",\"listing\",\"main\",\"menu\",\"nav\",\"ol\",\"p\",\"plaintext\",\"pre\",\"section\",\"ul\",\"xmp\"]);function bz(e,t){const n=t||{},r=\"children\"in e?e.children:[],i=MC(e),o=UC(e,{whitespace:n.whitespace||\"normal\"}),l=[];(e.type===\"text\"||e.type===\"comment\")&&l.push(...BC(e,{breakBefore:!0,breakAfter:!0}));let c=-1;for(;++c<r.length;)l.push(...PC(r[c],e,{whitespace:o,breakBefore:c?void 0:i,breakAfter:c<r.length-1?Db(r[c+1]):i}));const d=[];let f;for(c=-1;++c<l.length;){const m=l[c];typeof m==\"number\"?f!==void 0&&m>f&&(f=m):m&&(f!==void 0&&f>-1&&d.push(`\n`.repeat(f)||\" \"),f=-1,d.push(m))}return d.join(\"\")}function PC(e,t,n){return e.type===\"element\"?Ez(e,t,n):e.type===\"text\"?n.whitespace===\"normal\"?BC(e,n):yz(e):[]}function Ez(e,t,n){const r=UC(e,n),i=e.children||[];let o=-1,l=[];if(gz(e))return l;let c,d;for(Db(e)||S2(e)&&_2(t,e,S2)?d=`\n`:pz(e)?(c=2,d=2):MC(e)&&(c=1,d=1);++o<i.length;)l=l.concat(PC(i[o],e,{whitespace:r,breakBefore:o?void 0:c,breakAfter:o<i.length-1?Db(i[o+1]):d}));return x2(e)&&_2(t,e,x2)&&l.push(\"\t\"),c&&l.unshift(c),d&&l.push(d),l}function BC(e,t){const n=String(e.value),r=[],i=[];let o=0;for(;o<=n.length;){T2.lastIndex=o;const d=T2.exec(n),f=d&&\"index\"in d?d.index:n.length;r.push(_z(n.slice(o,f).replace(/[\\u061C\\u200E\\u200F\\u202A-\\u202E\\u2066-\\u2069]/g,\"\"),o===0?t.breakBefore:!0,f===n.length?t.breakAfter:!0)),o=f+1}let l=-1,c;for(;++l<r.length;)r[l].charCodeAt(r[l].length-1)===8203||l<r.length-1&&r[l+1].charCodeAt(0)===8203?(i.push(r[l]),c=void 0):r[l]?(typeof c==\"number\"&&i.push(c),i.push(r[l]),c=0):(l===0||l===r.length-1)&&i.push(0);return i}function yz(e){return[String(e.value)]}function _z(e,t,n){const r=[];let i=0,o;for(;i<e.length;){v2.lastIndex=i;const l=v2.exec(e);o=l?l.index:e.length,!i&&!o&&l&&!t&&r.push(\"\"),i!==o&&r.push(e.slice(i,o)),i=l?o+l[0].length:o}return i!==o&&!n&&r.push(\"\"),r.join(\" \")}function UC(e,t){if(e.type===\"element\"){const n=e.properties||{};switch(e.tagName){case\"listing\":case\"plaintext\":case\"xmp\":return\"pre\";case\"nobr\":return\"nowrap\";case\"pre\":return n.wrap?\"pre-wrap\":\"pre\";case\"td\":case\"th\":return n.noWrap?\"nowrap\":t.whitespace;case\"textarea\":return\"pre-wrap\"}}return t.whitespace}function Tz(e){return!!(e.properties||{}).hidden}function vz(e){return e.tagName===\"td\"||e.tagName===\"th\"}function xz(e){return e.tagName===\"dialog\"&&!(e.properties||{}).open}function Sz(e){const t=e.regex,n=e.COMMENT(\"//\",\"$\",{contains:[{begin:/\\\\\\n/}]}),r=\"decltype\\\\(auto\\\\)\",i=\"[a-zA-Z_]\\\\w*::\",l=\"(?!struct)(\"+r+\"|\"+t.optional(i)+\"[a-zA-Z_]\\\\w*\"+t.optional(\"<[^<>]+>\")+\")\",c={className:\"type\",begin:\"\\\\b[a-z\\\\d_]*_t\\\\b\"},f={className:\"string\",variants:[{begin:'(u8?|U|L)?\"',end:'\"',illegal:\"\\\\n\",contains:[e.BACKSLASH_ESCAPE]},{begin:\"(u8?|U|L)?'(\"+\"\\\\\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\\\S)\"+\"|.)\",end:\"'\",illegal:\".\"},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R\"([^()\\\\ ]{0,16})\\(/,end:/\\)([^()\\\\ ]{0,16})\"/})]},m={className:\"number\",variants:[{begin:\"[+-]?(?:(?:[0-9](?:'?[0-9])*\\\\.(?:[0-9](?:'?[0-9])*)?|\\\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)\"},{begin:\"[+-]?\\\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)\"}],relevance:0},p={className:\"meta\",begin:/#\\s*[a-z]+\\b/,end:/$/,keywords:{keyword:\"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include\"},contains:[{begin:/\\\\\\n/,relevance:0},e.inherit(f,{className:\"string\"}),{className:\"string\",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},E={className:\"title\",begin:t.optional(i)+e.IDENT_RE,relevance:0},_=t.optional(i)+e.IDENT_RE+\"\\\\s*\\\\(\",x=[\"alignas\",\"alignof\",\"and\",\"and_eq\",\"asm\",\"atomic_cancel\",\"atomic_commit\",\"atomic_noexcept\",\"auto\",\"bitand\",\"bitor\",\"break\",\"case\",\"catch\",\"class\",\"co_await\",\"co_return\",\"co_yield\",\"compl\",\"concept\",\"const_cast|10\",\"consteval\",\"constexpr\",\"constinit\",\"continue\",\"decltype\",\"default\",\"delete\",\"do\",\"dynamic_cast|10\",\"else\",\"enum\",\"explicit\",\"export\",\"extern\",\"false\",\"final\",\"for\",\"friend\",\"goto\",\"if\",\"import\",\"inline\",\"module\",\"mutable\",\"namespace\",\"new\",\"noexcept\",\"not\",\"not_eq\",\"nullptr\",\"operator\",\"or\",\"or_eq\",\"override\",\"private\",\"protected\",\"public\",\"reflexpr\",\"register\",\"reinterpret_cast|10\",\"requires\",\"return\",\"sizeof\",\"static_assert\",\"static_cast|10\",\"struct\",\"switch\",\"synchronized\",\"template\",\"this\",\"thread_local\",\"throw\",\"transaction_safe\",\"transaction_safe_dynamic\",\"true\",\"try\",\"typedef\",\"typeid\",\"typename\",\"union\",\"using\",\"virtual\",\"volatile\",\"while\",\"xor\",\"xor_eq\"],S=[\"bool\",\"char\",\"char16_t\",\"char32_t\",\"char8_t\",\"double\",\"float\",\"int\",\"long\",\"short\",\"void\",\"wchar_t\",\"unsigned\",\"signed\",\"const\",\"static\"],N=[\"any\",\"auto_ptr\",\"barrier\",\"binary_semaphore\",\"bitset\",\"complex\",\"condition_variable\",\"condition_variable_any\",\"counting_semaphore\",\"deque\",\"false_type\",\"flat_map\",\"flat_set\",\"future\",\"imaginary\",\"initializer_list\",\"istringstream\",\"jthread\",\"latch\",\"lock_guard\",\"multimap\",\"multiset\",\"mutex\",\"optional\",\"ostringstream\",\"packaged_task\",\"pair\",\"promise\",\"priority_queue\",\"queue\",\"recursive_mutex\",\"recursive_timed_mutex\",\"scoped_lock\",\"set\",\"shared_future\",\"shared_lock\",\"shared_mutex\",\"shared_timed_mutex\",\"shared_ptr\",\"stack\",\"string_view\",\"stringstream\",\"timed_mutex\",\"thread\",\"true_type\",\"tuple\",\"unique_lock\",\"unique_ptr\",\"unordered_map\",\"unordered_multimap\",\"unordered_multiset\",\"unordered_set\",\"variant\",\"vector\",\"weak_ptr\",\"wstring\",\"wstring_view\"],v=[\"abort\",\"abs\",\"acos\",\"apply\",\"as_const\",\"asin\",\"atan\",\"atan2\",\"calloc\",\"ceil\",\"cerr\",\"cin\",\"clog\",\"cos\",\"cosh\",\"cout\",\"declval\",\"endl\",\"exchange\",\"exit\",\"exp\",\"fabs\",\"floor\",\"fmod\",\"forward\",\"fprintf\",\"fputs\",\"free\",\"frexp\",\"fscanf\",\"future\",\"invoke\",\"isalnum\",\"isalpha\",\"iscntrl\",\"isdigit\",\"isgraph\",\"islower\",\"isprint\",\"ispunct\",\"isspace\",\"isupper\",\"isxdigit\",\"labs\",\"launder\",\"ldexp\",\"log\",\"log10\",\"make_pair\",\"make_shared\",\"make_shared_for_overwrite\",\"make_tuple\",\"make_unique\",\"malloc\",\"memchr\",\"memcmp\",\"memcpy\",\"memset\",\"modf\",\"move\",\"pow\",\"printf\",\"putchar\",\"puts\",\"realloc\",\"scanf\",\"sin\",\"sinh\",\"snprintf\",\"sprintf\",\"sqrt\",\"sscanf\",\"std\",\"stderr\",\"stdin\",\"stdout\",\"strcat\",\"strchr\",\"strcmp\",\"strcpy\",\"strcspn\",\"strlen\",\"strncat\",\"strncmp\",\"strncpy\",\"strpbrk\",\"strrchr\",\"strspn\",\"strstr\",\"swap\",\"tan\",\"tanh\",\"terminate\",\"to_underlying\",\"tolower\",\"toupper\",\"vfprintf\",\"visit\",\"vprintf\",\"vsprintf\"],B={type:S,keyword:x,literal:[\"NULL\",\"false\",\"nullopt\",\"nullptr\",\"true\"],built_in:[\"_Pragma\"],_type_hints:N},k={className:\"function.dispatch\",relevance:0,keywords:{_hint:v},begin:t.concat(/\\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\\s*\\(/))},w=[k,p,c,n,e.C_BLOCK_COMMENT_MODE,m,f],U={variants:[{begin:/=/,end:/;/},{begin:/\\(/,end:/\\)/},{beginKeywords:\"new throw return else\",end:/;/}],keywords:B,contains:w.concat([{begin:/\\(/,end:/\\)/,keywords:B,contains:w.concat([\"self\"]),relevance:0}]),relevance:0},j={className:\"function\",begin:\"(\"+l+\"[\\\\*&\\\\s]+)+\"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:B,illegal:/[^\\w\\s\\*&:<>.]/,contains:[{begin:r,keywords:B,relevance:0},{begin:_,returnBegin:!0,contains:[E],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[f,m]},{relevance:0,match:/,/},{className:\"params\",begin:/\\(/,end:/\\)/,keywords:B,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,f,m,c,{begin:/\\(/,end:/\\)/,keywords:B,relevance:0,contains:[\"self\",n,e.C_BLOCK_COMMENT_MODE,f,m,c]}]},c,n,e.C_BLOCK_COMMENT_MODE,p]};return{name:\"C++\",aliases:[\"cc\",\"c++\",\"h++\",\"hpp\",\"hh\",\"hxx\",\"cxx\"],keywords:B,illegal:\"</\",classNameAliases:{\"function.dispatch\":\"built_in\"},contains:[].concat(U,j,k,w,[p,{begin:\"\\\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\\\s*<(?!<)\",end:\">\",keywords:B,contains:[\"self\",c]},{begin:e.IDENT_RE+\"::\",keywords:B},{match:[/\\b(?:enum(?:\\s+(?:class|struct))?|class|struct|union)/,/\\s+/,/\\w+/],className:{1:\"keyword\",3:\"title.class\"}}])}}function Az(e){const t={type:[\"boolean\",\"byte\",\"word\",\"String\"],built_in:[\"KeyboardController\",\"MouseController\",\"SoftwareSerial\",\"EthernetServer\",\"EthernetClient\",\"LiquidCrystal\",\"RobotControl\",\"GSMVoiceCall\",\"EthernetUDP\",\"EsploraTFT\",\"HttpClient\",\"RobotMotor\",\"WiFiClient\",\"GSMScanner\",\"FileSystem\",\"Scheduler\",\"GSMServer\",\"YunClient\",\"YunServer\",\"IPAddress\",\"GSMClient\",\"GSMModem\",\"Keyboard\",\"Ethernet\",\"Console\",\"GSMBand\",\"Esplora\",\"Stepper\",\"Process\",\"WiFiUDP\",\"GSM_SMS\",\"Mailbox\",\"USBHost\",\"Firmata\",\"PImage\",\"Client\",\"Server\",\"GSMPIN\",\"FileIO\",\"Bridge\",\"Serial\",\"EEPROM\",\"Stream\",\"Mouse\",\"Audio\",\"Servo\",\"File\",\"Task\",\"GPRS\",\"WiFi\",\"Wire\",\"TFT\",\"GSM\",\"SPI\",\"SD\"],_hints:[\"setup\",\"loop\",\"runShellCommandAsynchronously\",\"analogWriteResolution\",\"retrieveCallingNumber\",\"printFirmwareVersion\",\"analogReadResolution\",\"sendDigitalPortPair\",\"noListenOnLocalhost\",\"readJoystickButton\",\"setFirmwareVersion\",\"readJoystickSwitch\",\"scrollDisplayRight\",\"getVoiceCallStatus\",\"scrollDisplayLeft\",\"writeMicroseconds\",\"delayMicroseconds\",\"beginTransmission\",\"getSignalStrength\",\"runAsynchronously\",\"getAsynchronously\",\"listenOnLocalhost\",\"getCurrentCarrier\",\"readAccelerometer\",\"messageAvailable\",\"sendDigitalPorts\",\"lineFollowConfig\",\"countryNameWrite\",\"runShellCommand\",\"readStringUntil\",\"rewindDirectory\",\"readTemperature\",\"setClockDivider\",\"readLightSensor\",\"endTransmission\",\"analogReference\",\"detachInterrupt\",\"countryNameRead\",\"attachInterrupt\",\"encryptionType\",\"readBytesUntil\",\"robotNameWrite\",\"readMicrophone\",\"robotNameRead\",\"cityNameWrite\",\"userNameWrite\",\"readJoystickY\",\"readJoystickX\",\"mouseReleased\",\"openNextFile\",\"scanNetworks\",\"noInterrupts\",\"digitalWrite\",\"beginSpeaker\",\"mousePressed\",\"isActionDone\",\"mouseDragged\",\"displayLogos\",\"noAutoscroll\",\"addParameter\",\"remoteNumber\",\"getModifiers\",\"keyboardRead\",\"userNameRead\",\"waitContinue\",\"processInput\",\"parseCommand\",\"printVersion\",\"readNetworks\",\"writeMessage\",\"blinkVersion\",\"cityNameRead\",\"readMessage\",\"setDataMode\",\"parsePacket\",\"isListening\",\"setBitOrder\",\"beginPacket\",\"isDirectory\",\"motorsWrite\",\"drawCompass\",\"digitalRead\",\"clearScreen\",\"serialEvent\",\"rightToLeft\",\"setTextSize\",\"leftToRight\",\"requestFrom\",\"keyReleased\",\"compassRead\",\"analogWrite\",\"interrupts\",\"WiFiServer\",\"disconnect\",\"playMelody\",\"parseFloat\",\"autoscroll\",\"getPINUsed\",\"setPINUsed\",\"setTimeout\",\"sendAnalog\",\"readSlider\",\"analogRead\",\"beginWrite\",\"createChar\",\"motorsStop\",\"keyPressed\",\"tempoWrite\",\"readButton\",\"subnetMask\",\"debugPrint\",\"macAddress\",\"writeGreen\",\"randomSeed\",\"attachGPRS\",\"readString\",\"sendString\",\"remotePort\",\"releaseAll\",\"mouseMoved\",\"background\",\"getXChange\",\"getYChange\",\"answerCall\",\"getResult\",\"voiceCall\",\"endPacket\",\"constrain\",\"getSocket\",\"writeJSON\",\"getButton\",\"available\",\"connected\",\"findUntil\",\"readBytes\",\"exitValue\",\"readGreen\",\"writeBlue\",\"startLoop\",\"IPAddress\",\"isPressed\",\"sendSysex\",\"pauseMode\",\"gatewayIP\",\"setCursor\",\"getOemKey\",\"tuneWrite\",\"noDisplay\",\"loadImage\",\"switchPIN\",\"onRequest\",\"onReceive\",\"changePIN\",\"playFile\",\"noBuffer\",\"parseInt\",\"overflow\",\"checkPIN\",\"knobRead\",\"beginTFT\",\"bitClear\",\"updateIR\",\"bitWrite\",\"position\",\"writeRGB\",\"highByte\",\"writeRed\",\"setSpeed\",\"readBlue\",\"noStroke\",\"remoteIP\",\"transfer\",\"shutdown\",\"hangCall\",\"beginSMS\",\"endWrite\",\"attached\",\"maintain\",\"noCursor\",\"checkReg\",\"checkPUK\",\"shiftOut\",\"isValid\",\"shiftIn\",\"pulseIn\",\"connect\",\"println\",\"localIP\",\"pinMode\",\"getIMEI\",\"display\",\"noBlink\",\"process\",\"getBand\",\"running\",\"beginSD\",\"drawBMP\",\"lowByte\",\"setBand\",\"release\",\"bitRead\",\"prepare\",\"pointTo\",\"readRed\",\"setMode\",\"noFill\",\"remove\",\"listen\",\"stroke\",\"detach\",\"attach\",\"noTone\",\"exists\",\"buffer\",\"height\",\"bitSet\",\"circle\",\"config\",\"cursor\",\"random\",\"IRread\",\"setDNS\",\"endSMS\",\"getKey\",\"micros\",\"millis\",\"begin\",\"print\",\"write\",\"ready\",\"flush\",\"width\",\"isPIN\",\"blink\",\"clear\",\"press\",\"mkdir\",\"rmdir\",\"close\",\"point\",\"yield\",\"image\",\"BSSID\",\"click\",\"delay\",\"read\",\"text\",\"move\",\"peek\",\"beep\",\"rect\",\"line\",\"open\",\"seek\",\"fill\",\"size\",\"turn\",\"stop\",\"home\",\"find\",\"step\",\"tone\",\"sqrt\",\"RSSI\",\"SSID\",\"end\",\"bit\",\"tan\",\"cos\",\"sin\",\"pow\",\"map\",\"abs\",\"max\",\"min\",\"get\",\"run\",\"put\"],literal:[\"DIGITAL_MESSAGE\",\"FIRMATA_STRING\",\"ANALOG_MESSAGE\",\"REPORT_DIGITAL\",\"REPORT_ANALOG\",\"INPUT_PULLUP\",\"SET_PIN_MODE\",\"INTERNAL2V56\",\"SYSTEM_RESET\",\"LED_BUILTIN\",\"INTERNAL1V1\",\"SYSEX_START\",\"INTERNAL\",\"EXTERNAL\",\"DEFAULT\",\"OUTPUT\",\"INPUT\",\"HIGH\",\"LOW\"]},n=Sz(e),r=n.keywords;return r.type=[...r.type,...t.type],r.literal=[...r.literal,...t.literal],r.built_in=[...r.built_in,...t.built_in],r._hints=t._hints,n.name=\"Arduino\",n.aliases=[\"ino\"],n.supersetOf=\"cpp\",n}function Nz(e){const t=e.regex,n={},r={begin:/\\$\\{/,end:/\\}/,contains:[\"self\",{begin:/:-/,contains:[n]}]};Object.assign(n,{className:\"variable\",variants:[{begin:t.concat(/\\$[\\w\\d#@][\\w\\d_]*/,\"(?![\\\\w\\\\d])(?![$])\")},r]});const i={className:\"subst\",begin:/\\$\\(/,end:/\\)/,contains:[e.BACKSLASH_ESCAPE]},o=e.inherit(e.COMMENT(),{match:[/(^|\\s)/,/#.*$/],scope:{2:\"comment\"}}),l={begin:/<<-?\\s*(?=\\w+)/,starts:{contains:[e.END_SAME_AS_BEGIN({begin:/(\\w+)/,end:/(\\w+)/,className:\"string\"})]}},c={className:\"string\",begin:/\"/,end:/\"/,contains:[e.BACKSLASH_ESCAPE,n,i]};i.contains.push(c);const d={match:/\\\\\"/},f={className:\"string\",begin:/'/,end:/'/},m={match:/\\\\'/},p={begin:/\\$?\\(\\(/,end:/\\)\\)/,contains:[{begin:/\\d+#[0-9a-f]+/,className:\"number\"},e.NUMBER_MODE,n]},E=[\"fish\",\"bash\",\"zsh\",\"sh\",\"csh\",\"ksh\",\"tcsh\",\"dash\",\"scsh\"],_=e.SHEBANG({binary:`(${E.join(\"|\")})`,relevance:10}),x={className:\"function\",begin:/\\w[\\w\\d_]*\\s*\\(\\s*\\)\\s*\\{/,returnBegin:!0,contains:[e.inherit(e.TITLE_MODE,{begin:/\\w[\\w\\d_]*/})],relevance:0},S=[\"if\",\"then\",\"else\",\"elif\",\"fi\",\"time\",\"for\",\"while\",\"until\",\"in\",\"do\",\"done\",\"case\",\"esac\",\"coproc\",\"function\",\"select\"],N=[\"true\",\"false\"],v={match:/(\\/[a-z._-]+)+/},O=[\"break\",\"cd\",\"continue\",\"eval\",\"exec\",\"exit\",\"export\",\"getopts\",\"hash\",\"pwd\",\"readonly\",\"return\",\"shift\",\"test\",\"times\",\"trap\",\"umask\",\"unset\"],L=[\"alias\",\"bind\",\"builtin\",\"caller\",\"command\",\"declare\",\"echo\",\"enable\",\"help\",\"let\",\"local\",\"logout\",\"mapfile\",\"printf\",\"read\",\"readarray\",\"source\",\"sudo\",\"type\",\"typeset\",\"ulimit\",\"unalias\"],B=[\"autoload\",\"bg\",\"bindkey\",\"bye\",\"cap\",\"chdir\",\"clone\",\"comparguments\",\"compcall\",\"compctl\",\"compdescribe\",\"compfiles\",\"compgroups\",\"compquote\",\"comptags\",\"comptry\",\"compvalues\",\"dirs\",\"disable\",\"disown\",\"echotc\",\"echoti\",\"emulate\",\"fc\",\"fg\",\"float\",\"functions\",\"getcap\",\"getln\",\"history\",\"integer\",\"jobs\",\"kill\",\"limit\",\"log\",\"noglob\",\"popd\",\"print\",\"pushd\",\"pushln\",\"rehash\",\"sched\",\"setcap\",\"setopt\",\"stat\",\"suspend\",\"ttyctl\",\"unfunction\",\"unhash\",\"unlimit\",\"unsetopt\",\"vared\",\"wait\",\"whence\",\"where\",\"which\",\"zcompile\",\"zformat\",\"zftp\",\"zle\",\"zmodload\",\"zparseopts\",\"zprof\",\"zpty\",\"zregexparse\",\"zsocket\",\"zstyle\",\"ztcp\"],k=[\"chcon\",\"chgrp\",\"chown\",\"chmod\",\"cp\",\"dd\",\"df\",\"dir\",\"dircolors\",\"ln\",\"ls\",\"mkdir\",\"mkfifo\",\"mknod\",\"mktemp\",\"mv\",\"realpath\",\"rm\",\"rmdir\",\"shred\",\"sync\",\"touch\",\"truncate\",\"vdir\",\"b2sum\",\"base32\",\"base64\",\"cat\",\"cksum\",\"comm\",\"csplit\",\"cut\",\"expand\",\"fmt\",\"fold\",\"head\",\"join\",\"md5sum\",\"nl\",\"numfmt\",\"od\",\"paste\",\"ptx\",\"pr\",\"sha1sum\",\"sha224sum\",\"sha256sum\",\"sha384sum\",\"sha512sum\",\"shuf\",\"sort\",\"split\",\"sum\",\"tac\",\"tail\",\"tr\",\"tsort\",\"unexpand\",\"uniq\",\"wc\",\"arch\",\"basename\",\"chroot\",\"date\",\"dirname\",\"du\",\"echo\",\"env\",\"expr\",\"factor\",\"groups\",\"hostid\",\"id\",\"link\",\"logname\",\"nice\",\"nohup\",\"nproc\",\"pathchk\",\"pinky\",\"printenv\",\"printf\",\"pwd\",\"readlink\",\"runcon\",\"seq\",\"sleep\",\"stat\",\"stdbuf\",\"stty\",\"tee\",\"test\",\"timeout\",\"tty\",\"uname\",\"unlink\",\"uptime\",\"users\",\"who\",\"whoami\",\"yes\"];return{name:\"Bash\",aliases:[\"sh\",\"zsh\"],keywords:{$pattern:/\\b[a-z][a-z0-9._-]+\\b/,keyword:S,literal:N,built_in:[...O,...L,\"set\",\"shopt\",...B,...k]},contains:[_,e.SHEBANG(),x,p,o,l,v,c,d,f,m,n]}}function wz(e){const t=e.regex,n=e.COMMENT(\"//\",\"$\",{contains:[{begin:/\\\\\\n/}]}),r=\"decltype\\\\(auto\\\\)\",i=\"[a-zA-Z_]\\\\w*::\",l=\"(\"+r+\"|\"+t.optional(i)+\"[a-zA-Z_]\\\\w*\"+t.optional(\"<[^<>]+>\")+\")\",c={className:\"type\",variants:[{begin:\"\\\\b[a-z\\\\d_]*_t\\\\b\"},{match:/\\batomic_[a-z]{3,6}\\b/}]},f={className:\"string\",variants:[{begin:'(u8?|U|L)?\"',end:'\"',illegal:\"\\\\n\",contains:[e.BACKSLASH_ESCAPE]},{begin:\"(u8?|U|L)?'(\"+\"\\\\\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\\\S)\"+\"|.)\",end:\"'\",illegal:\".\"},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R\"([^()\\\\ ]{0,16})\\(/,end:/\\)([^()\\\\ ]{0,16})\"/})]},m={className:\"number\",variants:[{match:/\\b(0b[01']+)/},{match:/(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)((ll|LL|l|L)(u|U)?|(u|U)(ll|LL|l|L)?|f|F|b|B)/},{match:/(-?)\\b(0[xX][a-fA-F0-9]+(?:'[a-fA-F0-9]+)*(?:\\.[a-fA-F0-9]*(?:'[a-fA-F0-9]*)*)?(?:[pP][-+]?[0-9]+)?(l|L)?(u|U)?)/},{match:/(-?)\\b\\d+(?:'\\d+)*(?:\\.\\d*(?:'\\d*)*)?(?:[eE][-+]?\\d+)?/}],relevance:0},p={className:\"meta\",begin:/#\\s*[a-z]+\\b/,end:/$/,keywords:{keyword:\"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef elifdef elifndef include\"},contains:[{begin:/\\\\\\n/,relevance:0},e.inherit(f,{className:\"string\"}),{className:\"string\",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},E={className:\"title\",begin:t.optional(i)+e.IDENT_RE,relevance:0},_=t.optional(i)+e.IDENT_RE+\"\\\\s*\\\\(\",N={keyword:[\"asm\",\"auto\",\"break\",\"case\",\"continue\",\"default\",\"do\",\"else\",\"enum\",\"extern\",\"for\",\"fortran\",\"goto\",\"if\",\"inline\",\"register\",\"restrict\",\"return\",\"sizeof\",\"typeof\",\"typeof_unqual\",\"struct\",\"switch\",\"typedef\",\"union\",\"volatile\",\"while\",\"_Alignas\",\"_Alignof\",\"_Atomic\",\"_Generic\",\"_Noreturn\",\"_Static_assert\",\"_Thread_local\",\"alignas\",\"alignof\",\"noreturn\",\"static_assert\",\"thread_local\",\"_Pragma\"],type:[\"float\",\"double\",\"signed\",\"unsigned\",\"int\",\"short\",\"long\",\"char\",\"void\",\"_Bool\",\"_BitInt\",\"_Complex\",\"_Imaginary\",\"_Decimal32\",\"_Decimal64\",\"_Decimal96\",\"_Decimal128\",\"_Decimal64x\",\"_Decimal128x\",\"_Float16\",\"_Float32\",\"_Float64\",\"_Float128\",\"_Float32x\",\"_Float64x\",\"_Float128x\",\"const\",\"static\",\"constexpr\",\"complex\",\"bool\",\"imaginary\"],literal:\"true false NULL\",built_in:\"std string wstring cin cout cerr clog stdin stdout stderr stringstream istringstream ostringstream auto_ptr deque list queue stack vector map set pair bitset multiset multimap unordered_set unordered_map unordered_multiset unordered_multimap priority_queue make_pair array shared_ptr abort terminate abs acos asin atan2 atan calloc ceil cosh cos exit exp fabs floor fmod fprintf fputs free frexp fscanf future isalnum isalpha iscntrl isdigit isgraph islower isprint ispunct isspace isupper isxdigit tolower toupper labs ldexp log10 log malloc realloc memchr memcmp memcpy memset modf pow printf putchar puts scanf sinh sin snprintf sprintf sqrt sscanf strcat strchr strcmp strcpy strcspn strlen strncat strncmp strncpy strpbrk strrchr strspn strstr tanh tan vfprintf vprintf vsprintf endl initializer_list unique_ptr\"},v=[p,c,n,e.C_BLOCK_COMMENT_MODE,m,f],O={variants:[{begin:/=/,end:/;/},{begin:/\\(/,end:/\\)/},{beginKeywords:\"new throw return else\",end:/;/}],keywords:N,contains:v.concat([{begin:/\\(/,end:/\\)/,keywords:N,contains:v.concat([\"self\"]),relevance:0}]),relevance:0},L={begin:\"(\"+l+\"[\\\\*&\\\\s]+)+\"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:N,illegal:/[^\\w\\s\\*&:<>.]/,contains:[{begin:r,keywords:N,relevance:0},{begin:_,returnBegin:!0,contains:[e.inherit(E,{className:\"title.function\"})],relevance:0},{relevance:0,match:/,/},{className:\"params\",begin:/\\(/,end:/\\)/,keywords:N,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,f,m,c,{begin:/\\(/,end:/\\)/,keywords:N,relevance:0,contains:[\"self\",n,e.C_BLOCK_COMMENT_MODE,f,m,c]}]},c,n,e.C_BLOCK_COMMENT_MODE,p]};return{name:\"C\",aliases:[\"h\"],keywords:N,disableAutodetect:!0,illegal:\"</\",contains:[].concat(O,L,v,[p,{begin:e.IDENT_RE+\"::\",keywords:N},{className:\"class\",beginKeywords:\"enum class struct union\",end:/[{;:<>=]/,contains:[{beginKeywords:\"final class struct\"},e.TITLE_MODE]}]),exports:{preprocessor:p,strings:f,keywords:N}}}function Cz(e){const t=e.regex,n=e.COMMENT(\"//\",\"$\",{contains:[{begin:/\\\\\\n/}]}),r=\"decltype\\\\(auto\\\\)\",i=\"[a-zA-Z_]\\\\w*::\",l=\"(?!struct)(\"+r+\"|\"+t.optional(i)+\"[a-zA-Z_]\\\\w*\"+t.optional(\"<[^<>]+>\")+\")\",c={className:\"type\",begin:\"\\\\b[a-z\\\\d_]*_t\\\\b\"},f={className:\"string\",variants:[{begin:'(u8?|U|L)?\"',end:'\"',illegal:\"\\\\n\",contains:[e.BACKSLASH_ESCAPE]},{begin:\"(u8?|U|L)?'(\"+\"\\\\\\\\(x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4,8}|[0-7]{3}|\\\\S)\"+\"|.)\",end:\"'\",illegal:\".\"},e.END_SAME_AS_BEGIN({begin:/(?:u8?|U|L)?R\"([^()\\\\ ]{0,16})\\(/,end:/\\)([^()\\\\ ]{0,16})\"/})]},m={className:\"number\",variants:[{begin:\"[+-]?(?:(?:[0-9](?:'?[0-9])*\\\\.(?:[0-9](?:'?[0-9])*)?|\\\\.[0-9](?:'?[0-9])*)(?:[Ee][+-]?[0-9](?:'?[0-9])*)?|[0-9](?:'?[0-9])*[Ee][+-]?[0-9](?:'?[0-9])*|0[Xx](?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*(?:\\\\.(?:[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)?)?|\\\\.[0-9A-Fa-f](?:'?[0-9A-Fa-f])*)[Pp][+-]?[0-9](?:'?[0-9])*)(?:[Ff](?:16|32|64|128)?|(BF|bf)16|[Ll]|)\"},{begin:\"[+-]?\\\\b(?:0[Bb][01](?:'?[01])*|0[Xx][0-9A-Fa-f](?:'?[0-9A-Fa-f])*|0(?:'?[0-7])*|[1-9](?:'?[0-9])*)(?:[Uu](?:LL?|ll?)|[Uu][Zz]?|(?:LL?|ll?)[Uu]?|[Zz][Uu]|)\"}],relevance:0},p={className:\"meta\",begin:/#\\s*[a-z]+\\b/,end:/$/,keywords:{keyword:\"if else elif endif define undef warning error line pragma _Pragma ifdef ifndef include\"},contains:[{begin:/\\\\\\n/,relevance:0},e.inherit(f,{className:\"string\"}),{className:\"string\",begin:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},E={className:\"title\",begin:t.optional(i)+e.IDENT_RE,relevance:0},_=t.optional(i)+e.IDENT_RE+\"\\\\s*\\\\(\",x=[\"alignas\",\"alignof\",\"and\",\"and_eq\",\"asm\",\"atomic_cancel\",\"atomic_commit\",\"atomic_noexcept\",\"auto\",\"bitand\",\"bitor\",\"break\",\"case\",\"catch\",\"class\",\"co_await\",\"co_return\",\"co_yield\",\"compl\",\"concept\",\"const_cast|10\",\"consteval\",\"constexpr\",\"constinit\",\"continue\",\"decltype\",\"default\",\"delete\",\"do\",\"dynamic_cast|10\",\"else\",\"enum\",\"explicit\",\"export\",\"extern\",\"false\",\"final\",\"for\",\"friend\",\"goto\",\"if\",\"import\",\"inline\",\"module\",\"mutable\",\"namespace\",\"new\",\"noexcept\",\"not\",\"not_eq\",\"nullptr\",\"operator\",\"or\",\"or_eq\",\"override\",\"private\",\"protected\",\"public\",\"reflexpr\",\"register\",\"reinterpret_cast|10\",\"requires\",\"return\",\"sizeof\",\"static_assert\",\"static_cast|10\",\"struct\",\"switch\",\"synchronized\",\"template\",\"this\",\"thread_local\",\"throw\",\"transaction_safe\",\"transaction_safe_dynamic\",\"true\",\"try\",\"typedef\",\"typeid\",\"typename\",\"union\",\"using\",\"virtual\",\"volatile\",\"while\",\"xor\",\"xor_eq\"],S=[\"bool\",\"char\",\"char16_t\",\"char32_t\",\"char8_t\",\"double\",\"float\",\"int\",\"long\",\"short\",\"void\",\"wchar_t\",\"unsigned\",\"signed\",\"const\",\"static\"],N=[\"any\",\"auto_ptr\",\"barrier\",\"binary_semaphore\",\"bitset\",\"complex\",\"condition_variable\",\"condition_variable_any\",\"counting_semaphore\",\"deque\",\"false_type\",\"flat_map\",\"flat_set\",\"future\",\"imaginary\",\"initializer_list\",\"istringstream\",\"jthread\",\"latch\",\"lock_guard\",\"multimap\",\"multiset\",\"mutex\",\"optional\",\"ostringstream\",\"packaged_task\",\"pair\",\"promise\",\"priority_queue\",\"queue\",\"recursive_mutex\",\"recursive_timed_mutex\",\"scoped_lock\",\"set\",\"shared_future\",\"shared_lock\",\"shared_mutex\",\"shared_timed_mutex\",\"shared_ptr\",\"stack\",\"string_view\",\"stringstream\",\"timed_mutex\",\"thread\",\"true_type\",\"tuple\",\"unique_lock\",\"unique_ptr\",\"unordered_map\",\"unordered_multimap\",\"unordered_multiset\",\"unordered_set\",\"variant\",\"vector\",\"weak_ptr\",\"wstring\",\"wstring_view\"],v=[\"abort\",\"abs\",\"acos\",\"apply\",\"as_const\",\"asin\",\"atan\",\"atan2\",\"calloc\",\"ceil\",\"cerr\",\"cin\",\"clog\",\"cos\",\"cosh\",\"cout\",\"declval\",\"endl\",\"exchange\",\"exit\",\"exp\",\"fabs\",\"floor\",\"fmod\",\"forward\",\"fprintf\",\"fputs\",\"free\",\"frexp\",\"fscanf\",\"future\",\"invoke\",\"isalnum\",\"isalpha\",\"iscntrl\",\"isdigit\",\"isgraph\",\"islower\",\"isprint\",\"ispunct\",\"isspace\",\"isupper\",\"isxdigit\",\"labs\",\"launder\",\"ldexp\",\"log\",\"log10\",\"make_pair\",\"make_shared\",\"make_shared_for_overwrite\",\"make_tuple\",\"make_unique\",\"malloc\",\"memchr\",\"memcmp\",\"memcpy\",\"memset\",\"modf\",\"move\",\"pow\",\"printf\",\"putchar\",\"puts\",\"realloc\",\"scanf\",\"sin\",\"sinh\",\"snprintf\",\"sprintf\",\"sqrt\",\"sscanf\",\"std\",\"stderr\",\"stdin\",\"stdout\",\"strcat\",\"strchr\",\"strcmp\",\"strcpy\",\"strcspn\",\"strlen\",\"strncat\",\"strncmp\",\"strncpy\",\"strpbrk\",\"strrchr\",\"strspn\",\"strstr\",\"swap\",\"tan\",\"tanh\",\"terminate\",\"to_underlying\",\"tolower\",\"toupper\",\"vfprintf\",\"visit\",\"vprintf\",\"vsprintf\"],B={type:S,keyword:x,literal:[\"NULL\",\"false\",\"nullopt\",\"nullptr\",\"true\"],built_in:[\"_Pragma\"],_type_hints:N},k={className:\"function.dispatch\",relevance:0,keywords:{_hint:v},begin:t.concat(/\\b/,/(?!decltype)/,/(?!if)/,/(?!for)/,/(?!switch)/,/(?!while)/,e.IDENT_RE,t.lookahead(/(<[^<>]+>|)\\s*\\(/))},w=[k,p,c,n,e.C_BLOCK_COMMENT_MODE,m,f],U={variants:[{begin:/=/,end:/;/},{begin:/\\(/,end:/\\)/},{beginKeywords:\"new throw return else\",end:/;/}],keywords:B,contains:w.concat([{begin:/\\(/,end:/\\)/,keywords:B,contains:w.concat([\"self\"]),relevance:0}]),relevance:0},j={className:\"function\",begin:\"(\"+l+\"[\\\\*&\\\\s]+)+\"+_,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,keywords:B,illegal:/[^\\w\\s\\*&:<>.]/,contains:[{begin:r,keywords:B,relevance:0},{begin:_,returnBegin:!0,contains:[E],relevance:0},{begin:/::/,relevance:0},{begin:/:/,endsWithParent:!0,contains:[f,m]},{relevance:0,match:/,/},{className:\"params\",begin:/\\(/,end:/\\)/,keywords:B,relevance:0,contains:[n,e.C_BLOCK_COMMENT_MODE,f,m,c,{begin:/\\(/,end:/\\)/,keywords:B,relevance:0,contains:[\"self\",n,e.C_BLOCK_COMMENT_MODE,f,m,c]}]},c,n,e.C_BLOCK_COMMENT_MODE,p]};return{name:\"C++\",aliases:[\"cc\",\"c++\",\"h++\",\"hpp\",\"hh\",\"hxx\",\"cxx\"],keywords:B,illegal:\"</\",classNameAliases:{\"function.dispatch\":\"built_in\"},contains:[].concat(U,j,k,w,[p,{begin:\"\\\\b(deque|list|queue|priority_queue|pair|stack|vector|map|set|bitset|multiset|multimap|unordered_map|unordered_set|unordered_multiset|unordered_multimap|array|tuple|optional|variant|function|flat_map|flat_set)\\\\s*<(?!<)\",end:\">\",keywords:B,contains:[\"self\",c]},{begin:e.IDENT_RE+\"::\",keywords:B},{match:[/\\b(?:enum(?:\\s+(?:class|struct))?|class|struct|union)/,/\\s+/,/\\w+/],className:{1:\"keyword\",3:\"title.class\"}}])}}function Rz(e){const t=[\"bool\",\"byte\",\"char\",\"decimal\",\"delegate\",\"double\",\"dynamic\",\"enum\",\"float\",\"int\",\"long\",\"nint\",\"nuint\",\"object\",\"sbyte\",\"short\",\"string\",\"ulong\",\"uint\",\"ushort\"],n=[\"public\",\"private\",\"protected\",\"static\",\"internal\",\"protected\",\"abstract\",\"async\",\"extern\",\"override\",\"unsafe\",\"virtual\",\"new\",\"sealed\",\"partial\"],r=[\"default\",\"false\",\"null\",\"true\"],i=[\"abstract\",\"as\",\"base\",\"break\",\"case\",\"catch\",\"class\",\"const\",\"continue\",\"do\",\"else\",\"event\",\"explicit\",\"extern\",\"finally\",\"fixed\",\"for\",\"foreach\",\"goto\",\"if\",\"implicit\",\"in\",\"interface\",\"internal\",\"is\",\"lock\",\"namespace\",\"new\",\"operator\",\"out\",\"override\",\"params\",\"private\",\"protected\",\"public\",\"readonly\",\"record\",\"ref\",\"return\",\"scoped\",\"sealed\",\"sizeof\",\"stackalloc\",\"static\",\"struct\",\"switch\",\"this\",\"throw\",\"try\",\"typeof\",\"unchecked\",\"unsafe\",\"using\",\"virtual\",\"void\",\"volatile\",\"while\"],o=[\"add\",\"alias\",\"and\",\"ascending\",\"args\",\"async\",\"await\",\"by\",\"descending\",\"dynamic\",\"equals\",\"file\",\"from\",\"get\",\"global\",\"group\",\"init\",\"into\",\"join\",\"let\",\"nameof\",\"not\",\"notnull\",\"on\",\"or\",\"orderby\",\"partial\",\"record\",\"remove\",\"required\",\"scoped\",\"select\",\"set\",\"unmanaged\",\"value|0\",\"var\",\"when\",\"where\",\"with\",\"yield\"],l={keyword:i.concat(o),built_in:t,literal:r},c=e.inherit(e.TITLE_MODE,{begin:\"[a-zA-Z](\\\\.?\\\\w)*\"}),d={className:\"number\",variants:[{begin:\"\\\\b(0b[01']+)\"},{begin:\"(-?)\\\\b([\\\\d']+(\\\\.[\\\\d']*)?|\\\\.[\\\\d']+)(u|U|l|L|ul|UL|f|F|b|B)\"},{begin:\"(-?)(\\\\b0[xX][a-fA-F0-9']+|(\\\\b[\\\\d']+(\\\\.[\\\\d']*)?|\\\\.[\\\\d']+)([eE][-+]?[\\\\d']+)?)\"}],relevance:0},f={className:\"string\",begin:/\"\"\"(\"*)(?!\")(.|\\n)*?\"\"\"\\1/,relevance:1},m={className:\"string\",begin:'@\"',end:'\"',contains:[{begin:'\"\"'}]},p=e.inherit(m,{illegal:/\\n/}),E={className:\"subst\",begin:/\\{/,end:/\\}/,keywords:l},_=e.inherit(E,{illegal:/\\n/}),x={className:\"string\",begin:/\\$\"/,end:'\"',illegal:/\\n/,contains:[{begin:/\\{\\{/},{begin:/\\}\\}/},e.BACKSLASH_ESCAPE,_]},S={className:\"string\",begin:/\\$@\"/,end:'\"',contains:[{begin:/\\{\\{/},{begin:/\\}\\}/},{begin:'\"\"'},E]},N=e.inherit(S,{illegal:/\\n/,contains:[{begin:/\\{\\{/},{begin:/\\}\\}/},{begin:'\"\"'},_]});E.contains=[S,x,m,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.C_BLOCK_COMMENT_MODE],_.contains=[N,x,p,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,d,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\\n/})];const v={variants:[f,S,x,m,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},O={begin:\"<\",end:\">\",contains:[{beginKeywords:\"in out\"},c]},L=e.IDENT_RE+\"(<\"+e.IDENT_RE+\"(\\\\s*,\\\\s*\"+e.IDENT_RE+\")*>)?(\\\\[\\\\])?\",B={begin:\"@\"+e.IDENT_RE,relevance:0};return{name:\"C#\",aliases:[\"cs\",\"c#\"],keywords:l,illegal:/::/,contains:[e.COMMENT(\"///\",\"$\",{returnBegin:!0,contains:[{className:\"doctag\",variants:[{begin:\"///\",relevance:0},{begin:\"<!--|-->\"},{begin:\"</?\",end:\">\"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:\"meta\",begin:\"#\",end:\"$\",keywords:{keyword:\"if else elif endif define undef warning error line region endregion pragma checksum\"}},v,d,{beginKeywords:\"class interface\",relevance:0,end:/[{;=]/,illegal:/[^\\s:,]/,contains:[{beginKeywords:\"where class\"},c,O,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:\"namespace\",relevance:0,end:/[{;=]/,illegal:/[^\\s:]/,contains:[c,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:\"record\",relevance:0,end:/[{;=]/,illegal:/[^\\s:]/,contains:[c,O,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:\"meta\",begin:\"^\\\\s*\\\\[(?=[\\\\w])\",excludeBegin:!0,end:\"\\\\]\",excludeEnd:!0,contains:[{className:\"string\",begin:/\"/,end:/\"/}]},{beginKeywords:\"new return throw await else\",relevance:0},{className:\"function\",begin:\"(\"+L+\"\\\\s+)+\"+e.IDENT_RE+\"\\\\s*(<[^=]+>\\\\s*)?\\\\(\",returnBegin:!0,end:/\\s*[{;=]/,excludeEnd:!0,keywords:l,contains:[{beginKeywords:n.join(\" \"),relevance:0},{begin:e.IDENT_RE+\"\\\\s*(<[^=]+>\\\\s*)?\\\\(\",returnBegin:!0,contains:[e.TITLE_MODE,O],relevance:0},{match:/\\(\\)/},{className:\"params\",begin:/\\(/,end:/\\)/,excludeBegin:!0,excludeEnd:!0,keywords:l,relevance:0,contains:[v,d,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},B]}}const Oz=e=>({IMPORTANT:{scope:\"meta\",begin:\"!important\"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:\"number\",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\\b/},FUNCTION_DISPATCH:{className:\"built_in\",begin:/[\\w-]+(?=\\()/},ATTRIBUTE_SELECTOR_MODE:{scope:\"selector-attr\",begin:/\\[/,end:/\\]/,illegal:\"$\",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:\"number\",begin:e.NUMBER_RE+\"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?\",relevance:0},CSS_VARIABLE:{className:\"attr\",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),kz=[\"a\",\"abbr\",\"address\",\"article\",\"aside\",\"audio\",\"b\",\"blockquote\",\"body\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"dd\",\"del\",\"details\",\"dfn\",\"div\",\"dl\",\"dt\",\"em\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"label\",\"legend\",\"li\",\"main\",\"mark\",\"menu\",\"nav\",\"object\",\"ol\",\"optgroup\",\"option\",\"p\",\"picture\",\"q\",\"quote\",\"samp\",\"section\",\"select\",\"source\",\"span\",\"strong\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"ul\",\"var\",\"video\"],Lz=[\"defs\",\"g\",\"marker\",\"mask\",\"pattern\",\"svg\",\"switch\",\"symbol\",\"feBlend\",\"feColorMatrix\",\"feComponentTransfer\",\"feComposite\",\"feConvolveMatrix\",\"feDiffuseLighting\",\"feDisplacementMap\",\"feFlood\",\"feGaussianBlur\",\"feImage\",\"feMerge\",\"feMorphology\",\"feOffset\",\"feSpecularLighting\",\"feTile\",\"feTurbulence\",\"linearGradient\",\"radialGradient\",\"stop\",\"circle\",\"ellipse\",\"image\",\"line\",\"path\",\"polygon\",\"polyline\",\"rect\",\"text\",\"use\",\"textPath\",\"tspan\",\"foreignObject\",\"clipPath\"],Iz=[...kz,...Lz],Dz=[\"any-hover\",\"any-pointer\",\"aspect-ratio\",\"color\",\"color-gamut\",\"color-index\",\"device-aspect-ratio\",\"device-height\",\"device-width\",\"display-mode\",\"forced-colors\",\"grid\",\"height\",\"hover\",\"inverted-colors\",\"monochrome\",\"orientation\",\"overflow-block\",\"overflow-inline\",\"pointer\",\"prefers-color-scheme\",\"prefers-contrast\",\"prefers-reduced-motion\",\"prefers-reduced-transparency\",\"resolution\",\"scan\",\"scripting\",\"update\",\"width\",\"min-width\",\"max-width\",\"min-height\",\"max-height\"].sort().reverse(),Mz=[\"active\",\"any-link\",\"blank\",\"checked\",\"current\",\"default\",\"defined\",\"dir\",\"disabled\",\"drop\",\"empty\",\"enabled\",\"first\",\"first-child\",\"first-of-type\",\"fullscreen\",\"future\",\"focus\",\"focus-visible\",\"focus-within\",\"has\",\"host\",\"host-context\",\"hover\",\"indeterminate\",\"in-range\",\"invalid\",\"is\",\"lang\",\"last-child\",\"last-of-type\",\"left\",\"link\",\"local-link\",\"not\",\"nth-child\",\"nth-col\",\"nth-last-child\",\"nth-last-col\",\"nth-last-of-type\",\"nth-of-type\",\"only-child\",\"only-of-type\",\"optional\",\"out-of-range\",\"past\",\"placeholder-shown\",\"read-only\",\"read-write\",\"required\",\"right\",\"root\",\"scope\",\"target\",\"target-within\",\"user-invalid\",\"valid\",\"visited\",\"where\"].sort().reverse(),Pz=[\"after\",\"backdrop\",\"before\",\"cue\",\"cue-region\",\"first-letter\",\"first-line\",\"grammar-error\",\"marker\",\"part\",\"placeholder\",\"selection\",\"slotted\",\"spelling-error\"].sort().reverse(),Bz=[\"accent-color\",\"align-content\",\"align-items\",\"align-self\",\"alignment-baseline\",\"all\",\"anchor-name\",\"animation\",\"animation-composition\",\"animation-delay\",\"animation-direction\",\"animation-duration\",\"animation-fill-mode\",\"animation-iteration-count\",\"animation-name\",\"animation-play-state\",\"animation-range\",\"animation-range-end\",\"animation-range-start\",\"animation-timeline\",\"animation-timing-function\",\"appearance\",\"aspect-ratio\",\"backdrop-filter\",\"backface-visibility\",\"background\",\"background-attachment\",\"background-blend-mode\",\"background-clip\",\"background-color\",\"background-image\",\"background-origin\",\"background-position\",\"background-position-x\",\"background-position-y\",\"background-repeat\",\"background-size\",\"baseline-shift\",\"block-size\",\"border\",\"border-block\",\"border-block-color\",\"border-block-end\",\"border-block-end-color\",\"border-block-end-style\",\"border-block-end-width\",\"border-block-start\",\"border-block-start-color\",\"border-block-start-style\",\"border-block-start-width\",\"border-block-style\",\"border-block-width\",\"border-bottom\",\"border-bottom-color\",\"border-bottom-left-radius\",\"border-bottom-right-radius\",\"border-bottom-style\",\"border-bottom-width\",\"border-collapse\",\"border-color\",\"border-end-end-radius\",\"border-end-start-radius\",\"border-image\",\"border-image-outset\",\"border-image-repeat\",\"border-image-slice\",\"border-image-source\",\"border-image-width\",\"border-inline\",\"border-inline-color\",\"border-inline-end\",\"border-inline-end-color\",\"border-inline-end-style\",\"border-inline-end-width\",\"border-inline-start\",\"border-inline-start-color\",\"border-inline-start-style\",\"border-inline-start-width\",\"border-inline-style\",\"border-inline-width\",\"border-left\",\"border-left-color\",\"border-left-style\",\"border-left-width\",\"border-radius\",\"border-right\",\"border-right-color\",\"border-right-style\",\"border-right-width\",\"border-spacing\",\"border-start-end-radius\",\"border-start-start-radius\",\"border-style\",\"border-top\",\"border-top-color\",\"border-top-left-radius\",\"border-top-right-radius\",\"border-top-style\",\"border-top-width\",\"border-width\",\"bottom\",\"box-align\",\"box-decoration-break\",\"box-direction\",\"box-flex\",\"box-flex-group\",\"box-lines\",\"box-ordinal-group\",\"box-orient\",\"box-pack\",\"box-shadow\",\"box-sizing\",\"break-after\",\"break-before\",\"break-inside\",\"caption-side\",\"caret-color\",\"clear\",\"clip\",\"clip-path\",\"clip-rule\",\"color\",\"color-interpolation\",\"color-interpolation-filters\",\"color-profile\",\"color-rendering\",\"color-scheme\",\"column-count\",\"column-fill\",\"column-gap\",\"column-rule\",\"column-rule-color\",\"column-rule-style\",\"column-rule-width\",\"column-span\",\"column-width\",\"columns\",\"contain\",\"contain-intrinsic-block-size\",\"contain-intrinsic-height\",\"contain-intrinsic-inline-size\",\"contain-intrinsic-size\",\"contain-intrinsic-width\",\"container\",\"container-name\",\"container-type\",\"content\",\"content-visibility\",\"counter-increment\",\"counter-reset\",\"counter-set\",\"cue\",\"cue-after\",\"cue-before\",\"cursor\",\"cx\",\"cy\",\"direction\",\"display\",\"dominant-baseline\",\"empty-cells\",\"enable-background\",\"field-sizing\",\"fill\",\"fill-opacity\",\"fill-rule\",\"filter\",\"flex\",\"flex-basis\",\"flex-direction\",\"flex-flow\",\"flex-grow\",\"flex-shrink\",\"flex-wrap\",\"float\",\"flood-color\",\"flood-opacity\",\"flow\",\"font\",\"font-display\",\"font-family\",\"font-feature-settings\",\"font-kerning\",\"font-language-override\",\"font-optical-sizing\",\"font-palette\",\"font-size\",\"font-size-adjust\",\"font-smooth\",\"font-smoothing\",\"font-stretch\",\"font-style\",\"font-synthesis\",\"font-synthesis-position\",\"font-synthesis-small-caps\",\"font-synthesis-style\",\"font-synthesis-weight\",\"font-variant\",\"font-variant-alternates\",\"font-variant-caps\",\"font-variant-east-asian\",\"font-variant-emoji\",\"font-variant-ligatures\",\"font-variant-numeric\",\"font-variant-position\",\"font-variation-settings\",\"font-weight\",\"forced-color-adjust\",\"gap\",\"glyph-orientation-horizontal\",\"glyph-orientation-vertical\",\"grid\",\"grid-area\",\"grid-auto-columns\",\"grid-auto-flow\",\"grid-auto-rows\",\"grid-column\",\"grid-column-end\",\"grid-column-start\",\"grid-gap\",\"grid-row\",\"grid-row-end\",\"grid-row-start\",\"grid-template\",\"grid-template-areas\",\"grid-template-columns\",\"grid-template-rows\",\"hanging-punctuation\",\"height\",\"hyphenate-character\",\"hyphenate-limit-chars\",\"hyphens\",\"icon\",\"image-orientation\",\"image-rendering\",\"image-resolution\",\"ime-mode\",\"initial-letter\",\"initial-letter-align\",\"inline-size\",\"inset\",\"inset-area\",\"inset-block\",\"inset-block-end\",\"inset-block-start\",\"inset-inline\",\"inset-inline-end\",\"inset-inline-start\",\"isolation\",\"justify-content\",\"justify-items\",\"justify-self\",\"kerning\",\"left\",\"letter-spacing\",\"lighting-color\",\"line-break\",\"line-height\",\"line-height-step\",\"list-style\",\"list-style-image\",\"list-style-position\",\"list-style-type\",\"margin\",\"margin-block\",\"margin-block-end\",\"margin-block-start\",\"margin-bottom\",\"margin-inline\",\"margin-inline-end\",\"margin-inline-start\",\"margin-left\",\"margin-right\",\"margin-top\",\"margin-trim\",\"marker\",\"marker-end\",\"marker-mid\",\"marker-start\",\"marks\",\"mask\",\"mask-border\",\"mask-border-mode\",\"mask-border-outset\",\"mask-border-repeat\",\"mask-border-slice\",\"mask-border-source\",\"mask-border-width\",\"mask-clip\",\"mask-composite\",\"mask-image\",\"mask-mode\",\"mask-origin\",\"mask-position\",\"mask-repeat\",\"mask-size\",\"mask-type\",\"masonry-auto-flow\",\"math-depth\",\"math-shift\",\"math-style\",\"max-block-size\",\"max-height\",\"max-inline-size\",\"max-width\",\"min-block-size\",\"min-height\",\"min-inline-size\",\"min-width\",\"mix-blend-mode\",\"nav-down\",\"nav-index\",\"nav-left\",\"nav-right\",\"nav-up\",\"none\",\"normal\",\"object-fit\",\"object-position\",\"offset\",\"offset-anchor\",\"offset-distance\",\"offset-path\",\"offset-position\",\"offset-rotate\",\"opacity\",\"order\",\"orphans\",\"outline\",\"outline-color\",\"outline-offset\",\"outline-style\",\"outline-width\",\"overflow\",\"overflow-anchor\",\"overflow-block\",\"overflow-clip-margin\",\"overflow-inline\",\"overflow-wrap\",\"overflow-x\",\"overflow-y\",\"overlay\",\"overscroll-behavior\",\"overscroll-behavior-block\",\"overscroll-behavior-inline\",\"overscroll-behavior-x\",\"overscroll-behavior-y\",\"padding\",\"padding-block\",\"padding-block-end\",\"padding-block-start\",\"padding-bottom\",\"padding-inline\",\"padding-inline-end\",\"padding-inline-start\",\"padding-left\",\"padding-right\",\"padding-top\",\"page\",\"page-break-after\",\"page-break-before\",\"page-break-inside\",\"paint-order\",\"pause\",\"pause-after\",\"pause-before\",\"perspective\",\"perspective-origin\",\"place-content\",\"place-items\",\"place-self\",\"pointer-events\",\"position\",\"position-anchor\",\"position-visibility\",\"print-color-adjust\",\"quotes\",\"r\",\"resize\",\"rest\",\"rest-after\",\"rest-before\",\"right\",\"rotate\",\"row-gap\",\"ruby-align\",\"ruby-position\",\"scale\",\"scroll-behavior\",\"scroll-margin\",\"scroll-margin-block\",\"scroll-margin-block-end\",\"scroll-margin-block-start\",\"scroll-margin-bottom\",\"scroll-margin-inline\",\"scroll-margin-inline-end\",\"scroll-margin-inline-start\",\"scroll-margin-left\",\"scroll-margin-right\",\"scroll-margin-top\",\"scroll-padding\",\"scroll-padding-block\",\"scroll-padding-block-end\",\"scroll-padding-block-start\",\"scroll-padding-bottom\",\"scroll-padding-inline\",\"scroll-padding-inline-end\",\"scroll-padding-inline-start\",\"scroll-padding-left\",\"scroll-padding-right\",\"scroll-padding-top\",\"scroll-snap-align\",\"scroll-snap-stop\",\"scroll-snap-type\",\"scroll-timeline\",\"scroll-timeline-axis\",\"scroll-timeline-name\",\"scrollbar-color\",\"scrollbar-gutter\",\"scrollbar-width\",\"shape-image-threshold\",\"shape-margin\",\"shape-outside\",\"shape-rendering\",\"speak\",\"speak-as\",\"src\",\"stop-color\",\"stop-opacity\",\"stroke\",\"stroke-dasharray\",\"stroke-dashoffset\",\"stroke-linecap\",\"stroke-linejoin\",\"stroke-miterlimit\",\"stroke-opacity\",\"stroke-width\",\"tab-size\",\"table-layout\",\"text-align\",\"text-align-all\",\"text-align-last\",\"text-anchor\",\"text-combine-upright\",\"text-decoration\",\"text-decoration-color\",\"text-decoration-line\",\"text-decoration-skip\",\"text-decoration-skip-ink\",\"text-decoration-style\",\"text-decoration-thickness\",\"text-emphasis\",\"text-emphasis-color\",\"text-emphasis-position\",\"text-emphasis-style\",\"text-indent\",\"text-justify\",\"text-orientation\",\"text-overflow\",\"text-rendering\",\"text-shadow\",\"text-size-adjust\",\"text-transform\",\"text-underline-offset\",\"text-underline-position\",\"text-wrap\",\"text-wrap-mode\",\"text-wrap-style\",\"timeline-scope\",\"top\",\"touch-action\",\"transform\",\"transform-box\",\"transform-origin\",\"transform-style\",\"transition\",\"transition-behavior\",\"transition-delay\",\"transition-duration\",\"transition-property\",\"transition-timing-function\",\"translate\",\"unicode-bidi\",\"user-modify\",\"user-select\",\"vector-effect\",\"vertical-align\",\"view-timeline\",\"view-timeline-axis\",\"view-timeline-inset\",\"view-timeline-name\",\"view-transition-name\",\"visibility\",\"voice-balance\",\"voice-duration\",\"voice-family\",\"voice-pitch\",\"voice-range\",\"voice-rate\",\"voice-stress\",\"voice-volume\",\"white-space\",\"white-space-collapse\",\"widows\",\"width\",\"will-change\",\"word-break\",\"word-spacing\",\"word-wrap\",\"writing-mode\",\"x\",\"y\",\"z-index\",\"zoom\"].sort().reverse();function Uz(e){const t=e.regex,n=Oz(e),r={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i=\"and or not only\",o=/@-?\\w[\\w]*(-\\w+)*/,l=\"[a-zA-Z-][a-zA-Z0-9_-]*\",c=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:\"CSS\",case_insensitive:!0,illegal:/[=|'\\$]/,keywords:{keyframePosition:\"from to\"},classNameAliases:{keyframePosition:\"selector-tag\"},contains:[n.BLOCK_COMMENT,r,n.CSS_NUMBER_MODE,{className:\"selector-id\",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:\"selector-class\",begin:\"\\\\.\"+l,relevance:0},n.ATTRIBUTE_SELECTOR_MODE,{className:\"selector-pseudo\",variants:[{begin:\":(\"+Mz.join(\"|\")+\")\"},{begin:\":(:)?(\"+Pz.join(\"|\")+\")\"}]},n.CSS_VARIABLE,{className:\"attribute\",begin:\"\\\\b(\"+Bz.join(\"|\")+\")\\\\b\"},{begin:/:/,end:/[;}{]/,contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...c,{begin:/(url|data-uri)\\(/,end:/\\)/,relevance:0,keywords:{built_in:\"url data-uri\"},contains:[...c,{className:\"string\",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},n.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:\"[{;]\",relevance:0,illegal:/:/,contains:[{className:\"keyword\",begin:o},{begin:/\\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:Dz.join(\" \")},contains:[{begin:/[a-z-]+(?=:)/,className:\"attribute\"},...c,n.CSS_NUMBER_MODE]}]},{className:\"selector-tag\",begin:\"\\\\b(\"+Iz.join(\"|\")+\")\\\\b\"}]}}function Fz(e){const t=e.regex;return{name:\"Diff\",aliases:[\"patch\"],contains:[{className:\"meta\",relevance:10,match:t.either(/^@@ +-\\d+,\\d+ +\\+\\d+,\\d+ +@@/,/^\\*\\*\\* +\\d+,\\d+ +\\*\\*\\*\\*$/,/^--- +\\d+,\\d+ +----$/)},{className:\"comment\",variants:[{begin:t.either(/Index: /,/^index/,/={3,}/,/^-{3}/,/^\\*{3} /,/^\\+{3}/,/^diff --git/),end:/$/},{match:/^\\*{15}$/}]},{className:\"addition\",begin:/^\\+/,end:/$/},{className:\"deletion\",begin:/^-/,end:/$/},{className:\"addition\",begin:/^!/,end:/$/}]}}function Hz(e){const o={keyword:[\"break\",\"case\",\"chan\",\"const\",\"continue\",\"default\",\"defer\",\"else\",\"fallthrough\",\"for\",\"func\",\"go\",\"goto\",\"if\",\"import\",\"interface\",\"map\",\"package\",\"range\",\"return\",\"select\",\"struct\",\"switch\",\"type\",\"var\"],type:[\"bool\",\"byte\",\"complex64\",\"complex128\",\"error\",\"float32\",\"float64\",\"int8\",\"int16\",\"int32\",\"int64\",\"string\",\"uint8\",\"uint16\",\"uint32\",\"uint64\",\"int\",\"uint\",\"uintptr\",\"rune\"],literal:[\"true\",\"false\",\"iota\",\"nil\"],built_in:[\"append\",\"cap\",\"close\",\"complex\",\"copy\",\"imag\",\"len\",\"make\",\"new\",\"panic\",\"print\",\"println\",\"real\",\"recover\",\"delete\"]};return{name:\"Go\",aliases:[\"golang\"],keywords:o,illegal:\"</\",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:\"string\",variants:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:\"`\",end:\"`\"}]},{className:\"number\",variants:[{match:/-?\\b0[xX]\\.[a-fA-F0-9](_?[a-fA-F0-9])*[pP][+-]?\\d(_?\\d)*i?/,relevance:0},{match:/-?\\b0[xX](_?[a-fA-F0-9])+((\\.([a-fA-F0-9](_?[a-fA-F0-9])*)?)?[pP][+-]?\\d(_?\\d)*)?i?/,relevance:0},{match:/-?\\b0[oO](_?[0-7])*i?/,relevance:0},{match:/-?\\.\\d(_?\\d)*([eE][+-]?\\d(_?\\d)*)?i?/,relevance:0},{match:/-?\\b\\d(_?\\d)*(\\.(\\d(_?\\d)*)?)?([eE][+-]?\\d(_?\\d)*)?i?/,relevance:0}]},{begin:/:=/},{className:\"function\",beginKeywords:\"func\",end:\"\\\\s*(\\\\{|$)\",excludeEnd:!0,contains:[e.TITLE_MODE,{className:\"params\",begin:/\\(/,end:/\\)/,endsParent:!0,keywords:o,illegal:/[\"']/}]}]}}function jz(e){const t=e.regex,n=/[_A-Za-z][_0-9A-Za-z]*/;return{name:\"GraphQL\",aliases:[\"gql\"],case_insensitive:!0,disableAutodetect:!1,keywords:{keyword:[\"query\",\"mutation\",\"subscription\",\"type\",\"input\",\"schema\",\"directive\",\"interface\",\"union\",\"scalar\",\"fragment\",\"enum\",\"on\"],literal:[\"true\",\"false\",\"null\"]},contains:[e.HASH_COMMENT_MODE,e.QUOTE_STRING_MODE,e.NUMBER_MODE,{scope:\"punctuation\",match:/[.]{3}/,relevance:0},{scope:\"punctuation\",begin:/[\\!\\(\\)\\:\\=\\[\\]\\{\\|\\}]{1}/,relevance:0},{scope:\"variable\",begin:/\\$/,end:/\\W/,excludeEnd:!0,relevance:0},{scope:\"meta\",match:/@\\w+/,excludeEnd:!0},{scope:\"symbol\",begin:t.concat(n,t.lookahead(/\\s*:/)),relevance:0}],illegal:[/[;<']/,/BEGIN/]}}function zz(e){const t=e.regex,n={className:\"number\",relevance:0,variants:[{begin:/([+-]+)?[\\d]+_[\\d_]+/},{begin:e.NUMBER_RE}]},r=e.COMMENT();r.variants=[{begin:/;/,end:/$/},{begin:/#/,end:/$/}];const i={className:\"variable\",variants:[{begin:/\\$[\\w\\d\"][\\w\\d_]*/},{begin:/\\$\\{(.*?)\\}/}]},o={className:\"literal\",begin:/\\bon|off|true|false|yes|no\\b/},l={className:\"string\",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:\"'''\",end:\"'''\",relevance:10},{begin:'\"\"\"',end:'\"\"\"',relevance:10},{begin:'\"',end:'\"'},{begin:\"'\",end:\"'\"}]},c={begin:/\\[/,end:/\\]/,contains:[r,o,i,l,n,\"self\"],relevance:0},d=/[A-Za-z0-9_-]+/,f=/\"(\\\\\"|[^\"])*\"/,m=/'[^']*'/,p=t.either(d,f,m),E=t.concat(p,\"(\\\\s*\\\\.\\\\s*\",p,\")*\",t.lookahead(/\\s*=\\s*[^#\\s]/));return{name:\"TOML, also INI\",aliases:[\"toml\"],case_insensitive:!0,illegal:/\\S/,contains:[r,{className:\"section\",begin:/\\[+/,end:/\\]+/},{begin:E,className:\"attr\",starts:{end:/$/,contains:[r,c,o,i,l,n]}}]}}var yl=\"[0-9](_*[0-9])*\",Cf=`\\\\.(${yl})`,Rf=\"[0-9a-fA-F](_*[0-9a-fA-F])*\",A2={className:\"number\",variants:[{begin:`(\\\\b(${yl})((${Cf})|\\\\.)?|(${Cf}))[eE][+-]?(${yl})[fFdD]?\\\\b`},{begin:`\\\\b(${yl})((${Cf})[fFdD]?\\\\b|\\\\.([fFdD]\\\\b)?)`},{begin:`(${Cf})[fFdD]?\\\\b`},{begin:`\\\\b(${yl})[fFdD]\\\\b`},{begin:`\\\\b0[xX]((${Rf})\\\\.?|(${Rf})?\\\\.(${Rf}))[pP][+-]?(${yl})[fFdD]?\\\\b`},{begin:\"\\\\b(0|[1-9](_*[0-9])*)[lL]?\\\\b\"},{begin:`\\\\b0[xX](${Rf})[lL]?\\\\b`},{begin:\"\\\\b0(_*[0-7])*[lL]?\\\\b\"},{begin:\"\\\\b0[bB][01](_*[01])*[lL]?\\\\b\"}],relevance:0};function FC(e,t,n){return n===-1?\"\":e.replace(t,r=>FC(e,t,n-1))}function $z(e){const t=e.regex,n=\"[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*\",r=n+FC(\"(?:<\"+n+\"~~~(?:\\\\s*,\\\\s*\"+n+\"~~~)*>)?\",/~~~/g,2),d={keyword:[\"synchronized\",\"abstract\",\"private\",\"var\",\"static\",\"if\",\"const \",\"for\",\"while\",\"strictfp\",\"finally\",\"protected\",\"import\",\"native\",\"final\",\"void\",\"enum\",\"else\",\"break\",\"transient\",\"catch\",\"instanceof\",\"volatile\",\"case\",\"assert\",\"package\",\"default\",\"public\",\"try\",\"switch\",\"continue\",\"throws\",\"protected\",\"public\",\"private\",\"module\",\"requires\",\"exports\",\"do\",\"sealed\",\"yield\",\"permits\",\"goto\",\"when\"],literal:[\"false\",\"true\",\"null\"],type:[\"char\",\"boolean\",\"long\",\"float\",\"int\",\"byte\",\"short\",\"double\"],built_in:[\"super\",\"this\"]},f={className:\"meta\",begin:\"@\"+n,contains:[{begin:/\\(/,end:/\\)/,contains:[\"self\"]}]},m={className:\"params\",begin:/\\(/,end:/\\)/,keywords:d,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0};return{name:\"Java\",aliases:[\"jsp\"],keywords:d,illegal:/<\\/|#/,contains:[e.COMMENT(\"/\\\\*\\\\*\",\"\\\\*/\",{relevance:0,contains:[{begin:/\\w+@/,relevance:0},{className:\"doctag\",begin:\"@[A-Za-z]+\"}]}),{begin:/import java\\.[a-z]+\\./,keywords:\"import\",relevance:2},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/\"\"\"/,end:/\"\"\"/,className:\"string\",contains:[e.BACKSLASH_ESCAPE]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{match:[/\\b(?:class|interface|enum|extends|implements|new)/,/\\s+/,n],className:{1:\"keyword\",3:\"title.class\"}},{match:/non-sealed/,scope:\"keyword\"},{begin:[t.concat(/(?!else)/,n),/\\s+/,n,/\\s+/,/=(?!=)/],className:{1:\"type\",3:\"variable\",5:\"operator\"}},{begin:[/record/,/\\s+/,n],className:{1:\"keyword\",3:\"title.class\"},contains:[m,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:\"new throw return else\",relevance:0},{begin:[\"(?:\"+r+\"\\\\s+)\",e.UNDERSCORE_IDENT_RE,/\\s*(?=\\()/],className:{2:\"title.function\"},keywords:d,contains:[{className:\"params\",begin:/\\(/,end:/\\)/,keywords:d,relevance:0,contains:[f,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,A2,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},A2,f]}}const N2=\"[A-Za-z$_][0-9A-Za-z$_]*\",qz=[\"as\",\"in\",\"of\",\"if\",\"for\",\"while\",\"finally\",\"var\",\"new\",\"function\",\"do\",\"return\",\"void\",\"else\",\"break\",\"catch\",\"instanceof\",\"with\",\"throw\",\"case\",\"default\",\"try\",\"switch\",\"continue\",\"typeof\",\"delete\",\"let\",\"yield\",\"const\",\"class\",\"debugger\",\"async\",\"await\",\"static\",\"import\",\"from\",\"export\",\"extends\",\"using\"],Yz=[\"true\",\"false\",\"null\",\"undefined\",\"NaN\",\"Infinity\"],HC=[\"Object\",\"Function\",\"Boolean\",\"Symbol\",\"Math\",\"Date\",\"Number\",\"BigInt\",\"String\",\"RegExp\",\"Array\",\"Float32Array\",\"Float64Array\",\"Int8Array\",\"Uint8Array\",\"Uint8ClampedArray\",\"Int16Array\",\"Int32Array\",\"Uint16Array\",\"Uint32Array\",\"BigInt64Array\",\"BigUint64Array\",\"Set\",\"Map\",\"WeakSet\",\"WeakMap\",\"ArrayBuffer\",\"SharedArrayBuffer\",\"Atomics\",\"DataView\",\"JSON\",\"Promise\",\"Generator\",\"GeneratorFunction\",\"AsyncFunction\",\"Reflect\",\"Proxy\",\"Intl\",\"WebAssembly\"],jC=[\"Error\",\"EvalError\",\"InternalError\",\"RangeError\",\"ReferenceError\",\"SyntaxError\",\"TypeError\",\"URIError\"],zC=[\"setInterval\",\"setTimeout\",\"clearInterval\",\"clearTimeout\",\"require\",\"exports\",\"eval\",\"isFinite\",\"isNaN\",\"parseFloat\",\"parseInt\",\"decodeURI\",\"decodeURIComponent\",\"encodeURI\",\"encodeURIComponent\",\"escape\",\"unescape\"],Gz=[\"arguments\",\"this\",\"super\",\"console\",\"window\",\"document\",\"localStorage\",\"sessionStorage\",\"module\",\"global\"],Vz=[].concat(zC,HC,jC);function Kz(e){const t=e.regex,n=(K,{after:ve})=>{const R=\"</\"+K[0].slice(1);return K.input.indexOf(R,ve)!==-1},r=N2,i={begin:\"<>\",end:\"</>\"},o=/<[A-Za-z0-9\\\\._:-]+\\s*\\/>/,l={begin:/<[A-Za-z0-9\\\\._:-]+/,end:/\\/[A-Za-z0-9\\\\._:-]+>|\\/>/,isTrulyOpeningTag:(K,ve)=>{const R=K[0].length+K.index,le=K.input[R];if(le===\"<\"||le===\",\"){ve.ignoreMatch();return}le===\">\"&&(n(K,{after:R})||ve.ignoreMatch());let te;const I=K.input.substring(R);if(te=I.match(/^\\s*=/)){ve.ignoreMatch();return}if((te=I.match(/^\\s+extends\\s+/))&&te.index===0){ve.ignoreMatch();return}}},c={$pattern:N2,keyword:qz,literal:Yz,built_in:Vz,\"variable.language\":Gz},d=\"[0-9](_?[0-9])*\",f=`\\\\.(${d})`,m=\"0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*\",p={className:\"number\",variants:[{begin:`(\\\\b(${m})((${f})|\\\\.)?|(${f}))[eE][+-]?(${d})\\\\b`},{begin:`\\\\b(${m})\\\\b((${f})\\\\b|\\\\.)?|(${f})\\\\b`},{begin:\"\\\\b(0|[1-9](_?[0-9])*)n\\\\b\"},{begin:\"\\\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\\\b\"},{begin:\"\\\\b0[bB][0-1](_?[0-1])*n?\\\\b\"},{begin:\"\\\\b0[oO][0-7](_?[0-7])*n?\\\\b\"},{begin:\"\\\\b0[0-7]+n?\\\\b\"}],relevance:0},E={className:\"subst\",begin:\"\\\\$\\\\{\",end:\"\\\\}\",keywords:c,contains:[]},_={begin:\".?html`\",end:\"\",starts:{end:\"`\",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,E],subLanguage:\"xml\"}},x={begin:\".?css`\",end:\"\",starts:{end:\"`\",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,E],subLanguage:\"css\"}},S={begin:\".?gql`\",end:\"\",starts:{end:\"`\",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,E],subLanguage:\"graphql\"}},N={className:\"string\",begin:\"`\",end:\"`\",contains:[e.BACKSLASH_ESCAPE,E]},O={className:\"comment\",variants:[e.COMMENT(/\\/\\*\\*(?!\\/)/,\"\\\\*/\",{relevance:0,contains:[{begin:\"(?=@[A-Za-z]+)\",relevance:0,contains:[{className:\"doctag\",begin:\"@[A-Za-z]+\"},{className:\"type\",begin:\"\\\\{\",end:\"\\\\}\",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:\"variable\",begin:r+\"(?=\\\\s*(-)|$)\",endsParent:!0,relevance:0},{begin:/(?=[^\\n])\\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},L=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,x,S,N,{match:/\\$\\d+/},p];E.contains=L.concat({begin:/\\{/,end:/\\}/,keywords:c,contains:[\"self\"].concat(L)});const B=[].concat(O,E.contains),k=B.concat([{begin:/(\\s*)\\(/,end:/\\)/,keywords:c,contains:[\"self\"].concat(B)}]),w={className:\"params\",begin:/(\\s*)\\(/,end:/\\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:k},U={variants:[{match:[/class/,/\\s+/,r,/\\s+/,/extends/,/\\s+/,t.concat(r,\"(\",t.concat(/\\./,r),\")*\")],scope:{1:\"keyword\",3:\"title.class\",5:\"keyword\",7:\"title.class.inherited\"}},{match:[/class/,/\\s+/,r],scope:{1:\"keyword\",3:\"title.class\"}}]},j={relevance:0,match:t.either(/\\bJSON/,/\\b[A-Z][a-z]+([A-Z][a-z]*|\\d)*/,/\\b[A-Z]{2,}([A-Z][a-z]+|\\d)+([A-Z][a-z]*)*/,/\\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\\d)*([A-Z][a-z]*)*/),className:\"title.class\",keywords:{_:[...HC,...jC]}},F={label:\"use_strict\",className:\"meta\",relevance:10,begin:/^\\s*['\"]use (strict|asm)['\"]/},M={variants:[{match:[/function/,/\\s+/,r,/(?=\\s*\\()/]},{match:[/function/,/\\s*(?=\\()/]}],className:{1:\"keyword\",3:\"title.function\"},label:\"func.def\",contains:[w],illegal:/%/},J={relevance:0,match:/\\b[A-Z][A-Z_0-9]+\\b/,className:\"variable.constant\"};function X(K){return t.concat(\"(?!\",K.join(\"|\"),\")\")}const V={match:t.concat(/\\b/,X([...zC,\"super\",\"import\"].map(K=>`${K}\\\\s*\\\\(`)),r,t.lookahead(/\\s*\\(/)),className:\"title.function\",relevance:0},ne={begin:t.concat(/\\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:\"prototype\",className:\"property\",relevance:0},ae={match:[/get|set/,/\\s+/,r,/(?=\\()/],className:{1:\"keyword\",3:\"title.function\"},contains:[{begin:/\\(\\)/},w]},Q=\"(\\\\([^()]*(\\\\([^()]*(\\\\([^()]*\\\\)[^()]*)*\\\\)[^()]*)*\\\\)|\"+e.UNDERSCORE_IDENT_RE+\")\\\\s*=>\",be={match:[/const|var|let/,/\\s+/,r,/\\s*/,/=\\s*/,/(async\\s*)?/,t.lookahead(Q)],keywords:\"async\",className:{1:\"keyword\",3:\"title.function\"},contains:[w]};return{name:\"JavaScript\",aliases:[\"js\",\"jsx\",\"mjs\",\"cjs\"],keywords:c,exports:{PARAMS_CONTAINS:k,CLASS_REFERENCE:j},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:\"shebang\",binary:\"node\",relevance:5}),F,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,x,S,N,O,{match:/\\$\\d+/},p,j,{scope:\"attr\",match:r+t.lookahead(\":\"),relevance:0},be,{begin:\"(\"+e.RE_STARTERS_RE+\"|\\\\b(case|return|throw)\\\\b)\\\\s*\",keywords:\"return throw case\",relevance:0,contains:[O,e.REGEXP_MODE,{className:\"function\",begin:Q,returnBegin:!0,end:\"\\\\s*=>\",contains:[{className:\"params\",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\\(\\s*\\)/,skip:!0},{begin:/(\\s*)\\(/,end:/\\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:k}]}]},{begin:/,/,relevance:0},{match:/\\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:l.begin,\"on:begin\":l.isTrulyOpeningTag,end:l.end}],subLanguage:\"xml\",contains:[{begin:l.begin,end:l.end,skip:!0,contains:[\"self\"]}]}]},M,{beginKeywords:\"while if switch catch for\"},{begin:\"\\\\b(?!function)\"+e.UNDERSCORE_IDENT_RE+\"\\\\([^()]*(\\\\([^()]*(\\\\([^()]*\\\\)[^()]*)*\\\\)[^()]*)*\\\\)\\\\s*\\\\{\",returnBegin:!0,label:\"func.def\",contains:[w,e.inherit(e.TITLE_MODE,{begin:r,className:\"title.function\"})]},{match:/\\.\\.\\./,relevance:0},ne,{match:\"\\\\$\"+r,relevance:0},{match:[/\\bconstructor(?=\\s*\\()/],className:{1:\"title.function\"},contains:[w]},V,J,U,ae,{match:/\\$[(.]/}]}}function Xz(e){const t={className:\"attr\",begin:/\"(\\\\.|[^\\\\\"\\r\\n])*\"(?=\\s*:)/,relevance:1.01},n={match:/[{}[\\],:]/,className:\"punctuation\",relevance:0},r=[\"true\",\"false\",\"null\"],i={scope:\"literal\",beginKeywords:r.join(\" \")};return{name:\"JSON\",aliases:[\"jsonc\"],keywords:{literal:r},contains:[t,n,e.QUOTE_STRING_MODE,i,e.C_NUMBER_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE],illegal:\"\\\\S\"}}var _l=\"[0-9](_*[0-9])*\",Of=`\\\\.(${_l})`,kf=\"[0-9a-fA-F](_*[0-9a-fA-F])*\",Wz={className:\"number\",variants:[{begin:`(\\\\b(${_l})((${Of})|\\\\.)?|(${Of}))[eE][+-]?(${_l})[fFdD]?\\\\b`},{begin:`\\\\b(${_l})((${Of})[fFdD]?\\\\b|\\\\.([fFdD]\\\\b)?)`},{begin:`(${Of})[fFdD]?\\\\b`},{begin:`\\\\b(${_l})[fFdD]\\\\b`},{begin:`\\\\b0[xX]((${kf})\\\\.?|(${kf})?\\\\.(${kf}))[pP][+-]?(${_l})[fFdD]?\\\\b`},{begin:\"\\\\b(0|[1-9](_*[0-9])*)[lL]?\\\\b\"},{begin:`\\\\b0[xX](${kf})[lL]?\\\\b`},{begin:\"\\\\b0(_*[0-7])*[lL]?\\\\b\"},{begin:\"\\\\b0[bB][01](_*[01])*[lL]?\\\\b\"}],relevance:0};function Qz(e){const t={keyword:\"abstract as val var vararg get set class object open private protected public noinline crossinline dynamic final enum if else do while for when throw try catch finally import package is in fun override companion reified inline lateinit init interface annotation data sealed internal infix operator out by constructor super tailrec where const inner suspend typealias external expect actual\",built_in:\"Byte Short Char Int Long Boolean Float Double Void Unit Nothing\",literal:\"true false null\"},n={className:\"keyword\",begin:/\\b(break|continue|return|this)\\b/,starts:{contains:[{className:\"symbol\",begin:/@\\w+/}]}},r={className:\"symbol\",begin:e.UNDERSCORE_IDENT_RE+\"@\"},i={className:\"subst\",begin:/\\$\\{/,end:/\\}/,contains:[e.C_NUMBER_MODE]},o={className:\"variable\",begin:\"\\\\$\"+e.UNDERSCORE_IDENT_RE},l={className:\"string\",variants:[{begin:'\"\"\"',end:'\"\"\"(?=[^\"])',contains:[o,i]},{begin:\"'\",end:\"'\",illegal:/\\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'\"',end:'\"',illegal:/\\n/,contains:[e.BACKSLASH_ESCAPE,o,i]}]};i.contains.push(l);const c={className:\"meta\",begin:\"@(?:file|property|field|get|set|receiver|param|setparam|delegate)\\\\s*:(?:\\\\s*\"+e.UNDERSCORE_IDENT_RE+\")?\"},d={className:\"meta\",begin:\"@\"+e.UNDERSCORE_IDENT_RE,contains:[{begin:/\\(/,end:/\\)/,contains:[e.inherit(l,{className:\"string\"}),\"self\"]}]},f=Wz,m=e.COMMENT(\"/\\\\*\",\"\\\\*/\",{contains:[e.C_BLOCK_COMMENT_MODE]}),p={variants:[{className:\"type\",begin:e.UNDERSCORE_IDENT_RE},{begin:/\\(/,end:/\\)/,contains:[]}]},E=p;return E.variants[1].contains=[p],p.variants[1].contains=[E],{name:\"Kotlin\",aliases:[\"kt\",\"kts\"],keywords:t,contains:[e.COMMENT(\"/\\\\*\\\\*\",\"\\\\*/\",{relevance:0,contains:[{className:\"doctag\",begin:\"@[A-Za-z]+\"}]}),e.C_LINE_COMMENT_MODE,m,n,r,c,d,{className:\"function\",beginKeywords:\"fun\",end:\"[(]|$\",returnBegin:!0,excludeEnd:!0,keywords:t,relevance:5,contains:[{begin:e.UNDERSCORE_IDENT_RE+\"\\\\s*\\\\(\",returnBegin:!0,relevance:0,contains:[e.UNDERSCORE_TITLE_MODE]},{className:\"type\",begin:/</,end:/>/,keywords:\"reified\",relevance:0},{className:\"params\",begin:/\\(/,end:/\\)/,endsParent:!0,keywords:t,relevance:0,contains:[{begin:/:/,end:/[=,\\/]/,endsWithParent:!0,contains:[p,e.C_LINE_COMMENT_MODE,m],relevance:0},e.C_LINE_COMMENT_MODE,m,c,d,l,e.C_NUMBER_MODE]},m]},{begin:[/class|interface|trait/,/\\s+/,e.UNDERSCORE_IDENT_RE],beginScope:{3:\"title.class\"},keywords:\"class interface trait\",end:/[:\\{(]|$/,excludeEnd:!0,illegal:\"extends implements\",contains:[{beginKeywords:\"public protected internal private constructor\"},e.UNDERSCORE_TITLE_MODE,{className:\"type\",begin:/</,end:/>/,excludeBegin:!0,excludeEnd:!0,relevance:0},{className:\"type\",begin:/[,:]\\s*/,end:/[<\\(,){\\s]|$/,excludeBegin:!0,returnEnd:!0},c,d]},l,{className:\"meta\",begin:\"^#!/usr/bin/env\",end:\"$\",illegal:`\n`},f]}}const Zz=e=>({IMPORTANT:{scope:\"meta\",begin:\"!important\"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:\"number\",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\\b/},FUNCTION_DISPATCH:{className:\"built_in\",begin:/[\\w-]+(?=\\()/},ATTRIBUTE_SELECTOR_MODE:{scope:\"selector-attr\",begin:/\\[/,end:/\\]/,illegal:\"$\",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:\"number\",begin:e.NUMBER_RE+\"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?\",relevance:0},CSS_VARIABLE:{className:\"attr\",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),Jz=[\"a\",\"abbr\",\"address\",\"article\",\"aside\",\"audio\",\"b\",\"blockquote\",\"body\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"dd\",\"del\",\"details\",\"dfn\",\"div\",\"dl\",\"dt\",\"em\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"label\",\"legend\",\"li\",\"main\",\"mark\",\"menu\",\"nav\",\"object\",\"ol\",\"optgroup\",\"option\",\"p\",\"picture\",\"q\",\"quote\",\"samp\",\"section\",\"select\",\"source\",\"span\",\"strong\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"ul\",\"var\",\"video\"],e$=[\"defs\",\"g\",\"marker\",\"mask\",\"pattern\",\"svg\",\"switch\",\"symbol\",\"feBlend\",\"feColorMatrix\",\"feComponentTransfer\",\"feComposite\",\"feConvolveMatrix\",\"feDiffuseLighting\",\"feDisplacementMap\",\"feFlood\",\"feGaussianBlur\",\"feImage\",\"feMerge\",\"feMorphology\",\"feOffset\",\"feSpecularLighting\",\"feTile\",\"feTurbulence\",\"linearGradient\",\"radialGradient\",\"stop\",\"circle\",\"ellipse\",\"image\",\"line\",\"path\",\"polygon\",\"polyline\",\"rect\",\"text\",\"use\",\"textPath\",\"tspan\",\"foreignObject\",\"clipPath\"],t$=[...Jz,...e$],n$=[\"any-hover\",\"any-pointer\",\"aspect-ratio\",\"color\",\"color-gamut\",\"color-index\",\"device-aspect-ratio\",\"device-height\",\"device-width\",\"display-mode\",\"forced-colors\",\"grid\",\"height\",\"hover\",\"inverted-colors\",\"monochrome\",\"orientation\",\"overflow-block\",\"overflow-inline\",\"pointer\",\"prefers-color-scheme\",\"prefers-contrast\",\"prefers-reduced-motion\",\"prefers-reduced-transparency\",\"resolution\",\"scan\",\"scripting\",\"update\",\"width\",\"min-width\",\"max-width\",\"min-height\",\"max-height\"].sort().reverse(),$C=[\"active\",\"any-link\",\"blank\",\"checked\",\"current\",\"default\",\"defined\",\"dir\",\"disabled\",\"drop\",\"empty\",\"enabled\",\"first\",\"first-child\",\"first-of-type\",\"fullscreen\",\"future\",\"focus\",\"focus-visible\",\"focus-within\",\"has\",\"host\",\"host-context\",\"hover\",\"indeterminate\",\"in-range\",\"invalid\",\"is\",\"lang\",\"last-child\",\"last-of-type\",\"left\",\"link\",\"local-link\",\"not\",\"nth-child\",\"nth-col\",\"nth-last-child\",\"nth-last-col\",\"nth-last-of-type\",\"nth-of-type\",\"only-child\",\"only-of-type\",\"optional\",\"out-of-range\",\"past\",\"placeholder-shown\",\"read-only\",\"read-write\",\"required\",\"right\",\"root\",\"scope\",\"target\",\"target-within\",\"user-invalid\",\"valid\",\"visited\",\"where\"].sort().reverse(),qC=[\"after\",\"backdrop\",\"before\",\"cue\",\"cue-region\",\"first-letter\",\"first-line\",\"grammar-error\",\"marker\",\"part\",\"placeholder\",\"selection\",\"slotted\",\"spelling-error\"].sort().reverse(),r$=[\"accent-color\",\"align-content\",\"align-items\",\"align-self\",\"alignment-baseline\",\"all\",\"anchor-name\",\"animation\",\"animation-composition\",\"animation-delay\",\"animation-direction\",\"animation-duration\",\"animation-fill-mode\",\"animation-iteration-count\",\"animation-name\",\"animation-play-state\",\"animation-range\",\"animation-range-end\",\"animation-range-start\",\"animation-timeline\",\"animation-timing-function\",\"appearance\",\"aspect-ratio\",\"backdrop-filter\",\"backface-visibility\",\"background\",\"background-attachment\",\"background-blend-mode\",\"background-clip\",\"background-color\",\"background-image\",\"background-origin\",\"background-position\",\"background-position-x\",\"background-position-y\",\"background-repeat\",\"background-size\",\"baseline-shift\",\"block-size\",\"border\",\"border-block\",\"border-block-color\",\"border-block-end\",\"border-block-end-color\",\"border-block-end-style\",\"border-block-end-width\",\"border-block-start\",\"border-block-start-color\",\"border-block-start-style\",\"border-block-start-width\",\"border-block-style\",\"border-block-width\",\"border-bottom\",\"border-bottom-color\",\"border-bottom-left-radius\",\"border-bottom-right-radius\",\"border-bottom-style\",\"border-bottom-width\",\"border-collapse\",\"border-color\",\"border-end-end-radius\",\"border-end-start-radius\",\"border-image\",\"border-image-outset\",\"border-image-repeat\",\"border-image-slice\",\"border-image-source\",\"border-image-width\",\"border-inline\",\"border-inline-color\",\"border-inline-end\",\"border-inline-end-color\",\"border-inline-end-style\",\"border-inline-end-width\",\"border-inline-start\",\"border-inline-start-color\",\"border-inline-start-style\",\"border-inline-start-width\",\"border-inline-style\",\"border-inline-width\",\"border-left\",\"border-left-color\",\"border-left-style\",\"border-left-width\",\"border-radius\",\"border-right\",\"border-right-color\",\"border-right-style\",\"border-right-width\",\"border-spacing\",\"border-start-end-radius\",\"border-start-start-radius\",\"border-style\",\"border-top\",\"border-top-color\",\"border-top-left-radius\",\"border-top-right-radius\",\"border-top-style\",\"border-top-width\",\"border-width\",\"bottom\",\"box-align\",\"box-decoration-break\",\"box-direction\",\"box-flex\",\"box-flex-group\",\"box-lines\",\"box-ordinal-group\",\"box-orient\",\"box-pack\",\"box-shadow\",\"box-sizing\",\"break-after\",\"break-before\",\"break-inside\",\"caption-side\",\"caret-color\",\"clear\",\"clip\",\"clip-path\",\"clip-rule\",\"color\",\"color-interpolation\",\"color-interpolation-filters\",\"color-profile\",\"color-rendering\",\"color-scheme\",\"column-count\",\"column-fill\",\"column-gap\",\"column-rule\",\"column-rule-color\",\"column-rule-style\",\"column-rule-width\",\"column-span\",\"column-width\",\"columns\",\"contain\",\"contain-intrinsic-block-size\",\"contain-intrinsic-height\",\"contain-intrinsic-inline-size\",\"contain-intrinsic-size\",\"contain-intrinsic-width\",\"container\",\"container-name\",\"container-type\",\"content\",\"content-visibility\",\"counter-increment\",\"counter-reset\",\"counter-set\",\"cue\",\"cue-after\",\"cue-before\",\"cursor\",\"cx\",\"cy\",\"direction\",\"display\",\"dominant-baseline\",\"empty-cells\",\"enable-background\",\"field-sizing\",\"fill\",\"fill-opacity\",\"fill-rule\",\"filter\",\"flex\",\"flex-basis\",\"flex-direction\",\"flex-flow\",\"flex-grow\",\"flex-shrink\",\"flex-wrap\",\"float\",\"flood-color\",\"flood-opacity\",\"flow\",\"font\",\"font-display\",\"font-family\",\"font-feature-settings\",\"font-kerning\",\"font-language-override\",\"font-optical-sizing\",\"font-palette\",\"font-size\",\"font-size-adjust\",\"font-smooth\",\"font-smoothing\",\"font-stretch\",\"font-style\",\"font-synthesis\",\"font-synthesis-position\",\"font-synthesis-small-caps\",\"font-synthesis-style\",\"font-synthesis-weight\",\"font-variant\",\"font-variant-alternates\",\"font-variant-caps\",\"font-variant-east-asian\",\"font-variant-emoji\",\"font-variant-ligatures\",\"font-variant-numeric\",\"font-variant-position\",\"font-variation-settings\",\"font-weight\",\"forced-color-adjust\",\"gap\",\"glyph-orientation-horizontal\",\"glyph-orientation-vertical\",\"grid\",\"grid-area\",\"grid-auto-columns\",\"grid-auto-flow\",\"grid-auto-rows\",\"grid-column\",\"grid-column-end\",\"grid-column-start\",\"grid-gap\",\"grid-row\",\"grid-row-end\",\"grid-row-start\",\"grid-template\",\"grid-template-areas\",\"grid-template-columns\",\"grid-template-rows\",\"hanging-punctuation\",\"height\",\"hyphenate-character\",\"hyphenate-limit-chars\",\"hyphens\",\"icon\",\"image-orientation\",\"image-rendering\",\"image-resolution\",\"ime-mode\",\"initial-letter\",\"initial-letter-align\",\"inline-size\",\"inset\",\"inset-area\",\"inset-block\",\"inset-block-end\",\"inset-block-start\",\"inset-inline\",\"inset-inline-end\",\"inset-inline-start\",\"isolation\",\"justify-content\",\"justify-items\",\"justify-self\",\"kerning\",\"left\",\"letter-spacing\",\"lighting-color\",\"line-break\",\"line-height\",\"line-height-step\",\"list-style\",\"list-style-image\",\"list-style-position\",\"list-style-type\",\"margin\",\"margin-block\",\"margin-block-end\",\"margin-block-start\",\"margin-bottom\",\"margin-inline\",\"margin-inline-end\",\"margin-inline-start\",\"margin-left\",\"margin-right\",\"margin-top\",\"margin-trim\",\"marker\",\"marker-end\",\"marker-mid\",\"marker-start\",\"marks\",\"mask\",\"mask-border\",\"mask-border-mode\",\"mask-border-outset\",\"mask-border-repeat\",\"mask-border-slice\",\"mask-border-source\",\"mask-border-width\",\"mask-clip\",\"mask-composite\",\"mask-image\",\"mask-mode\",\"mask-origin\",\"mask-position\",\"mask-repeat\",\"mask-size\",\"mask-type\",\"masonry-auto-flow\",\"math-depth\",\"math-shift\",\"math-style\",\"max-block-size\",\"max-height\",\"max-inline-size\",\"max-width\",\"min-block-size\",\"min-height\",\"min-inline-size\",\"min-width\",\"mix-blend-mode\",\"nav-down\",\"nav-index\",\"nav-left\",\"nav-right\",\"nav-up\",\"none\",\"normal\",\"object-fit\",\"object-position\",\"offset\",\"offset-anchor\",\"offset-distance\",\"offset-path\",\"offset-position\",\"offset-rotate\",\"opacity\",\"order\",\"orphans\",\"outline\",\"outline-color\",\"outline-offset\",\"outline-style\",\"outline-width\",\"overflow\",\"overflow-anchor\",\"overflow-block\",\"overflow-clip-margin\",\"overflow-inline\",\"overflow-wrap\",\"overflow-x\",\"overflow-y\",\"overlay\",\"overscroll-behavior\",\"overscroll-behavior-block\",\"overscroll-behavior-inline\",\"overscroll-behavior-x\",\"overscroll-behavior-y\",\"padding\",\"padding-block\",\"padding-block-end\",\"padding-block-start\",\"padding-bottom\",\"padding-inline\",\"padding-inline-end\",\"padding-inline-start\",\"padding-left\",\"padding-right\",\"padding-top\",\"page\",\"page-break-after\",\"page-break-before\",\"page-break-inside\",\"paint-order\",\"pause\",\"pause-after\",\"pause-before\",\"perspective\",\"perspective-origin\",\"place-content\",\"place-items\",\"place-self\",\"pointer-events\",\"position\",\"position-anchor\",\"position-visibility\",\"print-color-adjust\",\"quotes\",\"r\",\"resize\",\"rest\",\"rest-after\",\"rest-before\",\"right\",\"rotate\",\"row-gap\",\"ruby-align\",\"ruby-position\",\"scale\",\"scroll-behavior\",\"scroll-margin\",\"scroll-margin-block\",\"scroll-margin-block-end\",\"scroll-margin-block-start\",\"scroll-margin-bottom\",\"scroll-margin-inline\",\"scroll-margin-inline-end\",\"scroll-margin-inline-start\",\"scroll-margin-left\",\"scroll-margin-right\",\"scroll-margin-top\",\"scroll-padding\",\"scroll-padding-block\",\"scroll-padding-block-end\",\"scroll-padding-block-start\",\"scroll-padding-bottom\",\"scroll-padding-inline\",\"scroll-padding-inline-end\",\"scroll-padding-inline-start\",\"scroll-padding-left\",\"scroll-padding-right\",\"scroll-padding-top\",\"scroll-snap-align\",\"scroll-snap-stop\",\"scroll-snap-type\",\"scroll-timeline\",\"scroll-timeline-axis\",\"scroll-timeline-name\",\"scrollbar-color\",\"scrollbar-gutter\",\"scrollbar-width\",\"shape-image-threshold\",\"shape-margin\",\"shape-outside\",\"shape-rendering\",\"speak\",\"speak-as\",\"src\",\"stop-color\",\"stop-opacity\",\"stroke\",\"stroke-dasharray\",\"stroke-dashoffset\",\"stroke-linecap\",\"stroke-linejoin\",\"stroke-miterlimit\",\"stroke-opacity\",\"stroke-width\",\"tab-size\",\"table-layout\",\"text-align\",\"text-align-all\",\"text-align-last\",\"text-anchor\",\"text-combine-upright\",\"text-decoration\",\"text-decoration-color\",\"text-decoration-line\",\"text-decoration-skip\",\"text-decoration-skip-ink\",\"text-decoration-style\",\"text-decoration-thickness\",\"text-emphasis\",\"text-emphasis-color\",\"text-emphasis-position\",\"text-emphasis-style\",\"text-indent\",\"text-justify\",\"text-orientation\",\"text-overflow\",\"text-rendering\",\"text-shadow\",\"text-size-adjust\",\"text-transform\",\"text-underline-offset\",\"text-underline-position\",\"text-wrap\",\"text-wrap-mode\",\"text-wrap-style\",\"timeline-scope\",\"top\",\"touch-action\",\"transform\",\"transform-box\",\"transform-origin\",\"transform-style\",\"transition\",\"transition-behavior\",\"transition-delay\",\"transition-duration\",\"transition-property\",\"transition-timing-function\",\"translate\",\"unicode-bidi\",\"user-modify\",\"user-select\",\"vector-effect\",\"vertical-align\",\"view-timeline\",\"view-timeline-axis\",\"view-timeline-inset\",\"view-timeline-name\",\"view-transition-name\",\"visibility\",\"voice-balance\",\"voice-duration\",\"voice-family\",\"voice-pitch\",\"voice-range\",\"voice-rate\",\"voice-stress\",\"voice-volume\",\"white-space\",\"white-space-collapse\",\"widows\",\"width\",\"will-change\",\"word-break\",\"word-spacing\",\"word-wrap\",\"writing-mode\",\"x\",\"y\",\"z-index\",\"zoom\"].sort().reverse(),a$=$C.concat(qC).sort().reverse();function i$(e){const t=Zz(e),n=a$,r=\"and or not only\",i=\"[\\\\w-]+\",o=\"(\"+i+\"|@\\\\{\"+i+\"\\\\})\",l=[],c=[],d=function(L){return{className:\"string\",begin:\"~?\"+L+\".*?\"+L}},f=function(L,B,k){return{className:L,begin:B,relevance:k}},m={$pattern:/[a-z-]+/,keyword:r,attribute:n$.join(\" \")},p={begin:\"\\\\(\",end:\"\\\\)\",contains:c,keywords:m,relevance:0};c.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,d(\"'\"),d('\"'),t.CSS_NUMBER_MODE,{begin:\"(url|data-uri)\\\\(\",starts:{className:\"string\",end:\"[\\\\)\\\\n]\",excludeEnd:!0}},t.HEXCOLOR,p,f(\"variable\",\"@@?\"+i,10),f(\"variable\",\"@\\\\{\"+i+\"\\\\}\"),f(\"built_in\",\"~?`[^`]*?`\"),{className:\"attribute\",begin:i+\"\\\\s*:\",end:\":\",returnBegin:!0,excludeEnd:!0},t.IMPORTANT,{beginKeywords:\"and not\"},t.FUNCTION_DISPATCH);const E=c.concat({begin:/\\{/,end:/\\}/,contains:l}),_={beginKeywords:\"when\",endsWithParent:!0,contains:[{beginKeywords:\"and not\"}].concat(c)},x={begin:o+\"\\\\s*:\",returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/},t.CSS_VARIABLE,{className:\"attribute\",begin:\"\\\\b(\"+r$.join(\"|\")+\")\\\\b\",end:/(?=:)/,starts:{endsWithParent:!0,illegal:\"[<=$]\",relevance:0,contains:c}}]},S={className:\"keyword\",begin:\"@(import|media|charset|font-face|(-[a-z]+-)?keyframes|supports|document|namespace|page|viewport|host)\\\\b\",starts:{end:\"[;{}]\",keywords:m,returnEnd:!0,contains:c,relevance:0}},N={className:\"variable\",variants:[{begin:\"@\"+i+\"\\\\s*:\",relevance:15},{begin:\"@\"+i}],starts:{end:\"[;}]\",returnEnd:!0,contains:E}},v={variants:[{begin:\"[\\\\.#:&\\\\[>]\",end:\"[;{}]\"},{begin:o,end:/\\{/}],returnBegin:!0,returnEnd:!0,illegal:`[<='$\"]`,relevance:0,contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,_,f(\"keyword\",\"all\\\\b\"),f(\"variable\",\"@\\\\{\"+i+\"\\\\}\"),{begin:\"\\\\b(\"+t$.join(\"|\")+\")\\\\b\",className:\"selector-tag\"},t.CSS_NUMBER_MODE,f(\"selector-tag\",o,0),f(\"selector-id\",\"#\"+o),f(\"selector-class\",\"\\\\.\"+o,0),f(\"selector-tag\",\"&\",0),t.ATTRIBUTE_SELECTOR_MODE,{className:\"selector-pseudo\",begin:\":(\"+$C.join(\"|\")+\")\"},{className:\"selector-pseudo\",begin:\":(:)?(\"+qC.join(\"|\")+\")\"},{begin:/\\(/,end:/\\)/,relevance:0,contains:E},{begin:\"!important\"},t.FUNCTION_DISPATCH]},O={begin:i+`:(:)?(${n.join(\"|\")})`,returnBegin:!0,contains:[v]};return l.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,S,N,O,x,v,_,t.FUNCTION_DISPATCH),{name:\"Less\",case_insensitive:!0,illegal:`[=>'/<($\"]`,contains:l}}function s$(e){const t=\"\\\\[=*\\\\[\",n=\"\\\\]=*\\\\]\",r={begin:t,end:n,contains:[\"self\"]},i=[e.COMMENT(\"--(?!\"+t+\")\",\"$\"),e.COMMENT(\"--\"+t,n,{contains:[r],relevance:10})];return{name:\"Lua\",aliases:[\"pluto\"],keywords:{$pattern:e.UNDERSCORE_IDENT_RE,literal:\"true false nil\",keyword:\"and break do else elseif end for goto if in local not or repeat return then until while\",built_in:\"_G _ENV _VERSION __index __newindex __mode __call __metatable __tostring __len __gc __add __sub __mul __div __mod __pow __concat __unm __eq __lt __le assert collectgarbage dofile error getfenv getmetatable ipairs load loadfile loadstring module next pairs pcall print rawequal rawget rawset require select setfenv setmetatable tonumber tostring type unpack xpcall arg self coroutine resume yield status wrap create running debug getupvalue debug sethook getmetatable gethook setmetatable setlocal traceback setfenv getinfo setupvalue getlocal getregistry getfenv io lines write close flush open output type read stderr stdin input stdout popen tmpfile math log max acos huge ldexp pi cos tanh pow deg tan cosh sinh random randomseed frexp ceil floor rad abs sqrt modf asin min mod fmod log10 atan2 exp sin atan os exit setlocale date getenv difftime remove time clock tmpname rename execute package preload loadlib loaded loaders cpath config path seeall string sub upper len gfind rep find match char dump gmatch reverse byte format gsub lower table setn insert getn foreachi maxn foreach concat sort remove\"},contains:i.concat([{className:\"function\",beginKeywords:\"function\",end:\"\\\\)\",contains:[e.inherit(e.TITLE_MODE,{begin:\"([_a-zA-Z]\\\\w*\\\\.)*([_a-zA-Z]\\\\w*:)?[_a-zA-Z]\\\\w*\"}),{className:\"params\",begin:\"\\\\(\",endsWithParent:!0,contains:i}].concat(i)},e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:\"string\",begin:t,end:n,contains:[r],relevance:5}])}}function o$(e){const t={className:\"variable\",variants:[{begin:\"\\\\$\\\\(\"+e.UNDERSCORE_IDENT_RE+\"\\\\)\",contains:[e.BACKSLASH_ESCAPE]},{begin:/\\$[@%<?\\^\\+\\*]/}]},n={className:\"string\",begin:/\"/,end:/\"/,contains:[e.BACKSLASH_ESCAPE,t]},r={className:\"variable\",begin:/\\$\\([\\w-]+\\s/,end:/\\)/,keywords:{built_in:\"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value\"},contains:[t,n]},i={begin:\"^\"+e.UNDERSCORE_IDENT_RE+\"\\\\s*(?=[:+?]?=)\"},o={className:\"meta\",begin:/^\\.PHONY:/,end:/$/,keywords:{$pattern:/[\\.\\w]+/,keyword:\".PHONY\"}},l={className:\"section\",begin:/^[^\\s]+:/,end:/$/,contains:[t]};return{name:\"Makefile\",aliases:[\"mk\",\"mak\",\"make\"],keywords:{$pattern:/[\\w-]+/,keyword:\"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath\"},contains:[e.HASH_COMMENT_MODE,t,n,r,i,o,l]}}function l$(e){const t=e.regex,n={begin:/<\\/?[A-Za-z_]/,end:\">\",subLanguage:\"xml\",relevance:0},r={begin:\"^[-\\\\*]{3,}\",end:\"$\"},i={className:\"code\",variants:[{begin:\"(`{3,})[^`](.|\\\\n)*?\\\\1`*[ ]*\"},{begin:\"(~{3,})[^~](.|\\\\n)*?\\\\1~*[ ]*\"},{begin:\"```\",end:\"```+[ ]*$\"},{begin:\"~~~\",end:\"~~~+[ ]*$\"},{begin:\"`.+?`\"},{begin:\"(?=^( {4}|\\\\t))\",contains:[{begin:\"^( {4}|\\\\t)\",end:\"(\\\\n)$\"}],relevance:0}]},o={className:\"bullet\",begin:\"^[ \t]*([*+-]|(\\\\d+\\\\.))(?=\\\\s+)\",end:\"\\\\s+\",excludeEnd:!0},l={begin:/^\\[[^\\n]+\\]:/,returnBegin:!0,contains:[{className:\"symbol\",begin:/\\[/,end:/\\]/,excludeBegin:!0,excludeEnd:!0},{className:\"link\",begin:/:\\s*/,end:/$/,excludeBegin:!0}]},c=/[A-Za-z][A-Za-z0-9+.-]*/,d={variants:[{begin:/\\[.+?\\]\\[.*?\\]/,relevance:0},{begin:/\\[.+?\\]\\(((data|javascript|mailto):|(?:http|ftp)s?:\\/\\/).*?\\)/,relevance:2},{begin:t.concat(/\\[.+?\\]\\(/,c,/:\\/\\/.*?\\)/),relevance:2},{begin:/\\[.+?\\]\\([./?&#].*?\\)/,relevance:1},{begin:/\\[.*?\\]\\(.*?\\)/,relevance:0}],returnBegin:!0,contains:[{match:/\\[(?=\\])/},{className:\"string\",relevance:0,begin:\"\\\\[\",end:\"\\\\]\",excludeBegin:!0,returnEnd:!0},{className:\"link\",relevance:0,begin:\"\\\\]\\\\(\",end:\"\\\\)\",excludeBegin:!0,excludeEnd:!0},{className:\"symbol\",relevance:0,begin:\"\\\\]\\\\[\",end:\"\\\\]\",excludeBegin:!0,excludeEnd:!0}]},f={className:\"strong\",contains:[],variants:[{begin:/_{2}(?!\\s)/,end:/_{2}/},{begin:/\\*{2}(?!\\s)/,end:/\\*{2}/}]},m={className:\"emphasis\",contains:[],variants:[{begin:/\\*(?![*\\s])/,end:/\\*/},{begin:/_(?![_\\s])/,end:/_/,relevance:0}]},p=e.inherit(f,{contains:[]}),E=e.inherit(m,{contains:[]});f.contains.push(E),m.contains.push(p);let _=[n,d];return[f,m,p,E].forEach(v=>{v.contains=v.contains.concat(_)}),_=_.concat(f,m),{name:\"Markdown\",aliases:[\"md\",\"mkdown\",\"mkd\"],contains:[{className:\"section\",variants:[{begin:\"^#{1,6}\",end:\"$\",contains:_},{begin:\"(?=^.+?\\\\n[=-]{2,}$)\",contains:[{begin:\"^[=-]*$\"},{begin:\"^\",end:\"\\\\n\",contains:_}]}]},n,o,f,m,{className:\"quote\",begin:\"^>\\\\s+\",contains:_,end:\"$\"},i,r,d,l,{scope:\"literal\",match:/&([a-zA-Z0-9]+|#[0-9]{1,7}|#[Xx][0-9a-fA-F]{1,6});/}]}}function u$(e){const t={className:\"built_in\",begin:\"\\\\b(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)\\\\w+\"},n=/[a-zA-Z@][a-zA-Z0-9_]*/,c={\"variable.language\":[\"this\",\"super\"],$pattern:n,keyword:[\"while\",\"export\",\"sizeof\",\"typedef\",\"const\",\"struct\",\"for\",\"union\",\"volatile\",\"static\",\"mutable\",\"if\",\"do\",\"return\",\"goto\",\"enum\",\"else\",\"break\",\"extern\",\"asm\",\"case\",\"default\",\"register\",\"explicit\",\"typename\",\"switch\",\"continue\",\"inline\",\"readonly\",\"assign\",\"readwrite\",\"self\",\"@synchronized\",\"id\",\"typeof\",\"nonatomic\",\"IBOutlet\",\"IBAction\",\"strong\",\"weak\",\"copy\",\"in\",\"out\",\"inout\",\"bycopy\",\"byref\",\"oneway\",\"__strong\",\"__weak\",\"__block\",\"__autoreleasing\",\"@private\",\"@protected\",\"@public\",\"@try\",\"@property\",\"@end\",\"@throw\",\"@catch\",\"@finally\",\"@autoreleasepool\",\"@synthesize\",\"@dynamic\",\"@selector\",\"@optional\",\"@required\",\"@encode\",\"@package\",\"@import\",\"@defs\",\"@compatibility_alias\",\"__bridge\",\"__bridge_transfer\",\"__bridge_retained\",\"__bridge_retain\",\"__covariant\",\"__contravariant\",\"__kindof\",\"_Nonnull\",\"_Nullable\",\"_Null_unspecified\",\"__FUNCTION__\",\"__PRETTY_FUNCTION__\",\"__attribute__\",\"getter\",\"setter\",\"retain\",\"unsafe_unretained\",\"nonnull\",\"nullable\",\"null_unspecified\",\"null_resettable\",\"class\",\"instancetype\",\"NS_DESIGNATED_INITIALIZER\",\"NS_UNAVAILABLE\",\"NS_REQUIRES_SUPER\",\"NS_RETURNS_INNER_POINTER\",\"NS_INLINE\",\"NS_AVAILABLE\",\"NS_DEPRECATED\",\"NS_ENUM\",\"NS_OPTIONS\",\"NS_SWIFT_UNAVAILABLE\",\"NS_ASSUME_NONNULL_BEGIN\",\"NS_ASSUME_NONNULL_END\",\"NS_REFINED_FOR_SWIFT\",\"NS_SWIFT_NAME\",\"NS_SWIFT_NOTHROW\",\"NS_DURING\",\"NS_HANDLER\",\"NS_ENDHANDLER\",\"NS_VALUERETURN\",\"NS_VOIDRETURN\"],literal:[\"false\",\"true\",\"FALSE\",\"TRUE\",\"nil\",\"YES\",\"NO\",\"NULL\"],built_in:[\"dispatch_once_t\",\"dispatch_queue_t\",\"dispatch_sync\",\"dispatch_async\",\"dispatch_once\"],type:[\"int\",\"float\",\"char\",\"unsigned\",\"signed\",\"short\",\"long\",\"double\",\"wchar_t\",\"unichar\",\"void\",\"bool\",\"BOOL\",\"id|0\",\"_Bool\"]},d={$pattern:n,keyword:[\"@interface\",\"@class\",\"@protocol\",\"@implementation\"]};return{name:\"Objective-C\",aliases:[\"mm\",\"objc\",\"obj-c\",\"obj-c++\",\"objective-c++\"],keywords:c,illegal:\"</\",contains:[t,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.C_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{className:\"string\",variants:[{begin:'@\"',end:'\"',illegal:\"\\\\n\",contains:[e.BACKSLASH_ESCAPE]}]},{className:\"meta\",begin:/#\\s*[a-z]+\\b/,end:/$/,keywords:{keyword:\"if else elif endif define undef warning error line pragma ifdef ifndef include\"},contains:[{begin:/\\\\\\n/,relevance:0},e.inherit(e.QUOTE_STRING_MODE,{className:\"string\"}),{className:\"string\",begin:/<.*?>/,end:/$/,illegal:\"\\\\n\"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:\"class\",begin:\"(\"+d.keyword.join(\"|\")+\")\\\\b\",end:/(\\{|$)/,excludeEnd:!0,keywords:d,contains:[e.UNDERSCORE_TITLE_MODE]},{begin:\"\\\\.\"+e.UNDERSCORE_IDENT_RE,relevance:0}]}}function c$(e){const t=e.regex,n=[\"abs\",\"accept\",\"alarm\",\"and\",\"atan2\",\"bind\",\"binmode\",\"bless\",\"break\",\"caller\",\"chdir\",\"chmod\",\"chomp\",\"chop\",\"chown\",\"chr\",\"chroot\",\"class\",\"close\",\"closedir\",\"connect\",\"continue\",\"cos\",\"crypt\",\"dbmclose\",\"dbmopen\",\"defined\",\"delete\",\"die\",\"do\",\"dump\",\"each\",\"else\",\"elsif\",\"endgrent\",\"endhostent\",\"endnetent\",\"endprotoent\",\"endpwent\",\"endservent\",\"eof\",\"eval\",\"exec\",\"exists\",\"exit\",\"exp\",\"fcntl\",\"field\",\"fileno\",\"flock\",\"for\",\"foreach\",\"fork\",\"format\",\"formline\",\"getc\",\"getgrent\",\"getgrgid\",\"getgrnam\",\"gethostbyaddr\",\"gethostbyname\",\"gethostent\",\"getlogin\",\"getnetbyaddr\",\"getnetbyname\",\"getnetent\",\"getpeername\",\"getpgrp\",\"getpriority\",\"getprotobyname\",\"getprotobynumber\",\"getprotoent\",\"getpwent\",\"getpwnam\",\"getpwuid\",\"getservbyname\",\"getservbyport\",\"getservent\",\"getsockname\",\"getsockopt\",\"given\",\"glob\",\"gmtime\",\"goto\",\"grep\",\"gt\",\"hex\",\"if\",\"index\",\"int\",\"ioctl\",\"join\",\"keys\",\"kill\",\"last\",\"lc\",\"lcfirst\",\"length\",\"link\",\"listen\",\"local\",\"localtime\",\"log\",\"lstat\",\"lt\",\"ma\",\"map\",\"method\",\"mkdir\",\"msgctl\",\"msgget\",\"msgrcv\",\"msgsnd\",\"my\",\"ne\",\"next\",\"no\",\"not\",\"oct\",\"open\",\"opendir\",\"or\",\"ord\",\"our\",\"pack\",\"package\",\"pipe\",\"pop\",\"pos\",\"print\",\"printf\",\"prototype\",\"push\",\"q|0\",\"qq\",\"quotemeta\",\"qw\",\"qx\",\"rand\",\"read\",\"readdir\",\"readline\",\"readlink\",\"readpipe\",\"recv\",\"redo\",\"ref\",\"rename\",\"require\",\"reset\",\"return\",\"reverse\",\"rewinddir\",\"rindex\",\"rmdir\",\"say\",\"scalar\",\"seek\",\"seekdir\",\"select\",\"semctl\",\"semget\",\"semop\",\"send\",\"setgrent\",\"sethostent\",\"setnetent\",\"setpgrp\",\"setpriority\",\"setprotoent\",\"setpwent\",\"setservent\",\"setsockopt\",\"shift\",\"shmctl\",\"shmget\",\"shmread\",\"shmwrite\",\"shutdown\",\"sin\",\"sleep\",\"socket\",\"socketpair\",\"sort\",\"splice\",\"split\",\"sprintf\",\"sqrt\",\"srand\",\"stat\",\"state\",\"study\",\"sub\",\"substr\",\"symlink\",\"syscall\",\"sysopen\",\"sysread\",\"sysseek\",\"system\",\"syswrite\",\"tell\",\"telldir\",\"tie\",\"tied\",\"time\",\"times\",\"tr\",\"truncate\",\"uc\",\"ucfirst\",\"umask\",\"undef\",\"unless\",\"unlink\",\"unpack\",\"unshift\",\"untie\",\"until\",\"use\",\"utime\",\"values\",\"vec\",\"wait\",\"waitpid\",\"wantarray\",\"warn\",\"when\",\"while\",\"write\",\"x|0\",\"xor\",\"y|0\"],r=/[dualxmsipngr]{0,12}/,i={$pattern:/[\\w.]+/,keyword:n.join(\" \")},o={className:\"subst\",begin:\"[$@]\\\\{\",end:\"\\\\}\",keywords:i},l={begin:/->\\{/,end:/\\}/},c={scope:\"attr\",match:/\\s+:\\s*\\w+(\\s*\\(.*?\\))?/},d={scope:\"variable\",variants:[{begin:/\\$\\d/},{begin:t.concat(/[$%@](?!\")(\\^\\w\\b|#\\w+(::\\w+)*|\\{\\w+\\}|\\w+(::\\w*)*)/,\"(?![A-Za-z])(?![@$%])\")},{begin:/[$%@](?!\")[^\\s\\w{=]|\\$=/,relevance:0}],contains:[c]},f={className:\"number\",variants:[{match:/0?\\.[0-9][0-9_]+\\b/},{match:/\\bv?(0|[1-9][0-9_]*(\\.[0-9_]+)?|[1-9][0-9_]*)\\b/},{match:/\\b0[0-7][0-7_]*\\b/},{match:/\\b0x[0-9a-fA-F][0-9a-fA-F_]*\\b/},{match:/\\b0b[0-1][0-1_]*\\b/}],relevance:0},m=[e.BACKSLASH_ESCAPE,o,d],p=[/!/,/\\//,/\\|/,/\\?/,/'/,/\"/,/#/],E=(S,N,v=\"\\\\1\")=>{const O=v===\"\\\\1\"?v:t.concat(v,N);return t.concat(t.concat(\"(?:\",S,\")\"),N,/(?:\\\\.|[^\\\\\\/])*?/,O,/(?:\\\\.|[^\\\\\\/])*?/,v,r)},_=(S,N,v)=>t.concat(t.concat(\"(?:\",S,\")\"),N,/(?:\\\\.|[^\\\\\\/])*?/,v,r),x=[d,e.HASH_COMMENT_MODE,e.COMMENT(/^=\\w/,/=cut/,{endsWithParent:!0}),l,{className:\"string\",contains:m,variants:[{begin:\"q[qwxr]?\\\\s*\\\\(\",end:\"\\\\)\",relevance:5},{begin:\"q[qwxr]?\\\\s*\\\\[\",end:\"\\\\]\",relevance:5},{begin:\"q[qwxr]?\\\\s*\\\\{\",end:\"\\\\}\",relevance:5},{begin:\"q[qwxr]?\\\\s*\\\\|\",end:\"\\\\|\",relevance:5},{begin:\"q[qwxr]?\\\\s*<\",end:\">\",relevance:5},{begin:\"qw\\\\s+q\",end:\"q\",relevance:5},{begin:\"'\",end:\"'\",contains:[e.BACKSLASH_ESCAPE]},{begin:'\"',end:'\"'},{begin:\"`\",end:\"`\",contains:[e.BACKSLASH_ESCAPE]},{begin:/\\{\\w+\\}/,relevance:0},{begin:\"-?\\\\w+\\\\s*=>\",relevance:0}]},f,{begin:\"(\\\\/\\\\/|\"+e.RE_STARTERS_RE+\"|\\\\b(split|return|print|reverse|grep)\\\\b)\\\\s*\",keywords:\"split return print reverse grep\",relevance:0,contains:[e.HASH_COMMENT_MODE,{className:\"regexp\",variants:[{begin:E(\"s|tr|y\",t.either(...p,{capture:!0}))},{begin:E(\"s|tr|y\",\"\\\\(\",\"\\\\)\")},{begin:E(\"s|tr|y\",\"\\\\[\",\"\\\\]\")},{begin:E(\"s|tr|y\",\"\\\\{\",\"\\\\}\")}],relevance:2},{className:\"regexp\",variants:[{begin:/(m|qr)\\/\\//,relevance:0},{begin:_(\"(?:m|qr)?\",/\\//,/\\//)},{begin:_(\"m|qr\",t.either(...p,{capture:!0}),/\\1/)},{begin:_(\"m|qr\",/\\(/,/\\)/)},{begin:_(\"m|qr\",/\\[/,/\\]/)},{begin:_(\"m|qr\",/\\{/,/\\}/)}]}]},{className:\"function\",beginKeywords:\"sub method\",end:\"(\\\\s*\\\\(.*?\\\\))?[;{]\",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,c]},{className:\"class\",beginKeywords:\"class\",end:\"[;{]\",excludeEnd:!0,relevance:5,contains:[e.TITLE_MODE,c,f]},{begin:\"-\\\\w\\\\b\",relevance:0},{begin:\"^__DATA__$\",end:\"^__END__$\",subLanguage:\"mojolicious\",contains:[{begin:\"^@@.*\",end:\"$\",className:\"comment\"}]}];return o.contains=x,l.contains=x,{name:\"Perl\",aliases:[\"pl\",\"pm\"],keywords:i,contains:x}}function d$(e){const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*/,n),i=t.concat(/(\\\\?[A-Z][a-z0-9_\\x7f-\\xff]+|\\\\?[A-Z]+(?=[A-Z][a-z0-9_\\x7f-\\xff])){1,}/,n),o=t.concat(/[A-Z]+/,n),l={scope:\"variable\",match:\"\\\\$+\"+r},c={scope:\"meta\",variants:[{begin:/<\\?php/,relevance:10},{begin:/<\\?=/},{begin:/<\\?/,relevance:.1},{begin:/\\?>/}]},d={scope:\"subst\",variants:[{begin:/\\$\\w+/},{begin:/\\{\\$/,end:/\\}/}]},f=e.inherit(e.APOS_STRING_MODE,{illegal:null}),m=e.inherit(e.QUOTE_STRING_MODE,{illegal:null,contains:e.QUOTE_STRING_MODE.contains.concat(d)}),p={begin:/<<<[ \\t]*(?:(\\w+)|\"(\\w+)\")\\n/,end:/[ \\t]*(\\w+)\\b/,contains:e.QUOTE_STRING_MODE.contains.concat(d),\"on:begin\":(ne,ae)=>{ae.data._beginMatch=ne[1]||ne[2]},\"on:end\":(ne,ae)=>{ae.data._beginMatch!==ne[1]&&ae.ignoreMatch()}},E=e.END_SAME_AS_BEGIN({begin:/<<<[ \\t]*'(\\w+)'\\n/,end:/[ \\t]*(\\w+)\\b/}),_=`[ \t\n]`,x={scope:\"string\",variants:[m,f,p,E]},S={scope:\"number\",variants:[{begin:\"\\\\b0[bB][01]+(?:_[01]+)*\\\\b\"},{begin:\"\\\\b0[oO][0-7]+(?:_[0-7]+)*\\\\b\"},{begin:\"\\\\b0[xX][\\\\da-fA-F]+(?:_[\\\\da-fA-F]+)*\\\\b\"},{begin:\"(?:\\\\b\\\\d+(?:_\\\\d+)*(\\\\.(?:\\\\d+(?:_\\\\d+)*))?|\\\\B\\\\.\\\\d+)(?:[eE][+-]?\\\\d+)?\"}],relevance:0},N=[\"false\",\"null\",\"true\"],v=[\"__CLASS__\",\"__DIR__\",\"__FILE__\",\"__FUNCTION__\",\"__COMPILER_HALT_OFFSET__\",\"__LINE__\",\"__METHOD__\",\"__NAMESPACE__\",\"__TRAIT__\",\"die\",\"echo\",\"exit\",\"include\",\"include_once\",\"print\",\"require\",\"require_once\",\"array\",\"abstract\",\"and\",\"as\",\"binary\",\"bool\",\"boolean\",\"break\",\"callable\",\"case\",\"catch\",\"class\",\"clone\",\"const\",\"continue\",\"declare\",\"default\",\"do\",\"double\",\"else\",\"elseif\",\"empty\",\"enddeclare\",\"endfor\",\"endforeach\",\"endif\",\"endswitch\",\"endwhile\",\"enum\",\"eval\",\"extends\",\"final\",\"finally\",\"float\",\"for\",\"foreach\",\"from\",\"global\",\"goto\",\"if\",\"implements\",\"instanceof\",\"insteadof\",\"int\",\"integer\",\"interface\",\"isset\",\"iterable\",\"list\",\"match|0\",\"mixed\",\"new\",\"never\",\"object\",\"or\",\"private\",\"protected\",\"public\",\"readonly\",\"real\",\"return\",\"string\",\"switch\",\"throw\",\"trait\",\"try\",\"unset\",\"use\",\"var\",\"void\",\"while\",\"xor\",\"yield\"],O=[\"Error|0\",\"AppendIterator\",\"ArgumentCountError\",\"ArithmeticError\",\"ArrayIterator\",\"ArrayObject\",\"AssertionError\",\"BadFunctionCallException\",\"BadMethodCallException\",\"CachingIterator\",\"CallbackFilterIterator\",\"CompileError\",\"Countable\",\"DirectoryIterator\",\"DivisionByZeroError\",\"DomainException\",\"EmptyIterator\",\"ErrorException\",\"Exception\",\"FilesystemIterator\",\"FilterIterator\",\"GlobIterator\",\"InfiniteIterator\",\"InvalidArgumentException\",\"IteratorIterator\",\"LengthException\",\"LimitIterator\",\"LogicException\",\"MultipleIterator\",\"NoRewindIterator\",\"OutOfBoundsException\",\"OutOfRangeException\",\"OuterIterator\",\"OverflowException\",\"ParentIterator\",\"ParseError\",\"RangeException\",\"RecursiveArrayIterator\",\"RecursiveCachingIterator\",\"RecursiveCallbackFilterIterator\",\"RecursiveDirectoryIterator\",\"RecursiveFilterIterator\",\"RecursiveIterator\",\"RecursiveIteratorIterator\",\"RecursiveRegexIterator\",\"RecursiveTreeIterator\",\"RegexIterator\",\"RuntimeException\",\"SeekableIterator\",\"SplDoublyLinkedList\",\"SplFileInfo\",\"SplFileObject\",\"SplFixedArray\",\"SplHeap\",\"SplMaxHeap\",\"SplMinHeap\",\"SplObjectStorage\",\"SplObserver\",\"SplPriorityQueue\",\"SplQueue\",\"SplStack\",\"SplSubject\",\"SplTempFileObject\",\"TypeError\",\"UnderflowException\",\"UnexpectedValueException\",\"UnhandledMatchError\",\"ArrayAccess\",\"BackedEnum\",\"Closure\",\"Fiber\",\"Generator\",\"Iterator\",\"IteratorAggregate\",\"Serializable\",\"Stringable\",\"Throwable\",\"Traversable\",\"UnitEnum\",\"WeakReference\",\"WeakMap\",\"Directory\",\"__PHP_Incomplete_Class\",\"parent\",\"php_user_filter\",\"self\",\"static\",\"stdClass\"],B={keyword:v,literal:(ne=>{const ae=[];return ne.forEach(Q=>{ae.push(Q),Q.toLowerCase()===Q?ae.push(Q.toUpperCase()):ae.push(Q.toLowerCase())}),ae})(N),built_in:O},k=ne=>ne.map(ae=>ae.replace(/\\|\\d+$/,\"\")),w={variants:[{match:[/new/,t.concat(_,\"+\"),t.concat(\"(?!\",k(O).join(\"\\\\b|\"),\"\\\\b)\"),i],scope:{1:\"keyword\",4:\"title.class\"}}]},U=t.concat(r,\"\\\\b(?!\\\\()\"),j={variants:[{match:[t.concat(/::/,t.lookahead(/(?!class\\b)/)),U],scope:{2:\"variable.constant\"}},{match:[/::/,/class/],scope:{2:\"variable.language\"}},{match:[i,t.concat(/::/,t.lookahead(/(?!class\\b)/)),U],scope:{1:\"title.class\",3:\"variable.constant\"}},{match:[i,t.concat(\"::\",t.lookahead(/(?!class\\b)/))],scope:{1:\"title.class\"}},{match:[i,/::/,/class/],scope:{1:\"title.class\",3:\"variable.language\"}}]},F={scope:\"attr\",match:t.concat(r,t.lookahead(\":\"),t.lookahead(/(?!::)/))},M={relevance:0,begin:/\\(/,end:/\\)/,keywords:B,contains:[F,l,j,e.C_BLOCK_COMMENT_MODE,x,S,w]},J={relevance:0,match:[/\\b/,t.concat(\"(?!fn\\\\b|function\\\\b|\",k(v).join(\"\\\\b|\"),\"|\",k(O).join(\"\\\\b|\"),\"\\\\b)\"),r,t.concat(_,\"*\"),t.lookahead(/(?=\\()/)],scope:{3:\"title.function.invoke\"},contains:[M]};M.contains.push(J);const X=[F,j,e.C_BLOCK_COMMENT_MODE,x,S,w],V={begin:t.concat(/#\\[\\s*\\\\?/,t.either(i,o)),beginScope:\"meta\",end:/]/,endScope:\"meta\",keywords:{literal:N,keyword:[\"new\",\"array\"]},contains:[{begin:/\\[/,end:/]/,keywords:{literal:N,keyword:[\"new\",\"array\"]},contains:[\"self\",...X]},...X,{scope:\"meta\",variants:[{match:i},{match:o}]}]};return{case_insensitive:!1,keywords:B,contains:[V,e.HASH_COMMENT_MODE,e.COMMENT(\"//\",\"$\"),e.COMMENT(\"/\\\\*\",\"\\\\*/\",{contains:[{scope:\"doctag\",match:\"@[A-Za-z]+\"}]}),{match:/__halt_compiler\\(\\);/,keywords:\"__halt_compiler\",starts:{scope:\"comment\",end:e.MATCH_NOTHING_RE,contains:[{match:/\\?>/,scope:\"meta\",endsParent:!0}]}},c,{scope:\"variable.language\",match:/\\$this\\b/},l,J,j,{match:[/const/,/\\s/,r],scope:{1:\"keyword\",3:\"variable.constant\"}},w,{scope:\"function\",relevance:0,beginKeywords:\"fn function\",end:/[;{]/,excludeEnd:!0,illegal:\"[$%\\\\[]\",contains:[{beginKeywords:\"use\"},e.UNDERSCORE_TITLE_MODE,{begin:\"=>\",endsParent:!0},{scope:\"params\",begin:\"\\\\(\",end:\"\\\\)\",excludeBegin:!0,excludeEnd:!0,keywords:B,contains:[\"self\",V,l,j,e.C_BLOCK_COMMENT_MODE,x,S]}]},{scope:\"class\",variants:[{beginKeywords:\"enum\",illegal:/[($\"]/},{beginKeywords:\"class interface trait\",illegal:/[:($\"]/}],relevance:0,end:/\\{/,excludeEnd:!0,contains:[{beginKeywords:\"extends implements\"},e.UNDERSCORE_TITLE_MODE]},{beginKeywords:\"namespace\",relevance:0,end:\";\",illegal:/[.']/,contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{scope:\"title.class\"})]},{beginKeywords:\"use\",relevance:0,end:\";\",contains:[{match:/\\b(as|const|function)\\b/,scope:\"keyword\"},e.UNDERSCORE_TITLE_MODE]},x,S]}}function f$(e){return{name:\"PHP template\",subLanguage:\"xml\",contains:[{begin:/<\\?(php|=)?/,end:/\\?>/,subLanguage:\"php\",contains:[{begin:\"/\\\\*\",end:\"\\\\*/\",skip:!0},{begin:'b\"',end:'\"',skip:!0},{begin:\"b'\",end:\"'\",skip:!0},e.inherit(e.APOS_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0}),e.inherit(e.QUOTE_STRING_MODE,{illegal:null,className:null,contains:null,skip:!0})]}]}}function h$(e){return{name:\"Plain text\",aliases:[\"text\",\"txt\"],disableAutodetect:!0}}function m$(e){const t=e.regex,n=new RegExp(\"[\\\\p{XID_Start}_]\\\\p{XID_Continue}*\",\"u\"),r=[\"and\",\"as\",\"assert\",\"async\",\"await\",\"break\",\"case\",\"class\",\"continue\",\"def\",\"del\",\"elif\",\"else\",\"except\",\"finally\",\"for\",\"from\",\"global\",\"if\",\"import\",\"in\",\"is\",\"lambda\",\"match\",\"nonlocal|10\",\"not\",\"or\",\"pass\",\"raise\",\"return\",\"try\",\"while\",\"with\",\"yield\"],c={$pattern:/[A-Za-z]\\w+|__\\w+__/,keyword:r,built_in:[\"__import__\",\"abs\",\"all\",\"any\",\"ascii\",\"bin\",\"bool\",\"breakpoint\",\"bytearray\",\"bytes\",\"callable\",\"chr\",\"classmethod\",\"compile\",\"complex\",\"delattr\",\"dict\",\"dir\",\"divmod\",\"enumerate\",\"eval\",\"exec\",\"filter\",\"float\",\"format\",\"frozenset\",\"getattr\",\"globals\",\"hasattr\",\"hash\",\"help\",\"hex\",\"id\",\"input\",\"int\",\"isinstance\",\"issubclass\",\"iter\",\"len\",\"list\",\"locals\",\"map\",\"max\",\"memoryview\",\"min\",\"next\",\"object\",\"oct\",\"open\",\"ord\",\"pow\",\"print\",\"property\",\"range\",\"repr\",\"reversed\",\"round\",\"set\",\"setattr\",\"slice\",\"sorted\",\"staticmethod\",\"str\",\"sum\",\"super\",\"tuple\",\"type\",\"vars\",\"zip\"],literal:[\"__debug__\",\"Ellipsis\",\"False\",\"None\",\"NotImplemented\",\"True\"],type:[\"Any\",\"Callable\",\"Coroutine\",\"Dict\",\"List\",\"Literal\",\"Generic\",\"Optional\",\"Sequence\",\"Set\",\"Tuple\",\"Type\",\"Union\"]},d={className:\"meta\",begin:/^(>>>|\\.\\.\\.) /},f={className:\"subst\",begin:/\\{/,end:/\\}/,keywords:c,illegal:/#/},m={begin:/\\{\\{/,relevance:0},p={className:\"string\",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?\"\"\"/,end:/\"\"\"/,contains:[e.BACKSLASH_ESCAPE,d],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,d,m,f]},{begin:/([fF][rR]|[rR][fF]|[fF])\"\"\"/,end:/\"\"\"/,contains:[e.BACKSLASH_ESCAPE,d,m,f]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])\"/,end:/\"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])\"/,end:/\"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,m,f]},{begin:/([fF][rR]|[rR][fF]|[fF])\"/,end:/\"/,contains:[e.BACKSLASH_ESCAPE,m,f]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},E=\"[0-9](_?[0-9])*\",_=`(\\\\b(${E}))?\\\\.(${E})|\\\\b(${E})\\\\.`,x=`\\\\b|${r.join(\"|\")}`,S={className:\"number\",relevance:0,variants:[{begin:`(\\\\b(${E})|(${_}))[eE][+-]?(${E})[jJ]?(?=${x})`},{begin:`(${_})[jJ]?`},{begin:`\\\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${x})`},{begin:`\\\\b0[bB](_?[01])+[lL]?(?=${x})`},{begin:`\\\\b0[oO](_?[0-7])+[lL]?(?=${x})`},{begin:`\\\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${x})`},{begin:`\\\\b(${E})[jJ](?=${x})`}]},N={className:\"comment\",begin:t.lookahead(/# type:/),end:/$/,keywords:c,contains:[{begin:/# type:/},{begin:/#/,end:/\\b\\B/,endsWithParent:!0}]},v={className:\"params\",variants:[{className:\"\",begin:/\\(\\s*\\)/,skip:!0},{begin:/\\(/,end:/\\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:[\"self\",d,S,p,e.HASH_COMMENT_MODE]}]};return f.contains=[p,S,d],{name:\"Python\",aliases:[\"py\",\"gyp\",\"ipython\"],unicodeRegex:!0,keywords:c,illegal:/(<\\/|\\?)|=>/,contains:[d,S,{scope:\"variable.language\",match:/\\bself\\b/},{beginKeywords:\"if\",relevance:0},{match:/\\bor\\b/,scope:\"keyword\"},p,N,e.HASH_COMMENT_MODE,{match:[/\\bdef/,/\\s+/,n],scope:{1:\"keyword\",3:\"title.function\"},contains:[v]},{variants:[{match:[/\\bclass/,/\\s+/,n,/\\s*/,/\\(\\s*/,n,/\\s*\\)/]},{match:[/\\bclass/,/\\s+/,n]}],scope:{1:\"keyword\",3:\"title.class\",6:\"title.class.inherited\"}},{className:\"meta\",begin:/^[\\t ]*@/,end:/(?=#)|$/,contains:[S,v,p]}]}}function p$(e){return{aliases:[\"pycon\"],contains:[{className:\"meta.prompt\",starts:{end:/ |$/,starts:{end:\"$\",subLanguage:\"python\"}},variants:[{begin:/^>>>(?=[ ]|$)/},{begin:/^\\.\\.\\.(?=[ ]|$)/}]}]}}function g$(e){const t=e.regex,n=/(?:(?:[a-zA-Z]|\\.[._a-zA-Z])[._a-zA-Z0-9]*)|\\.(?!\\d)/,r=t.either(/0[xX][0-9a-fA-F]+\\.[0-9a-fA-F]*[pP][+-]?\\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\\d+)?[Li]?/,/(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?[Li]?/),i=/[=!<>:]=|\\|\\||&&|:::?|<-|<<-|->>|->|\\|>|[-+*\\/?!$&|:<=>@^~]|\\*\\*/,o=t.either(/[()]/,/[{}]/,/\\[\\[/,/[[\\]]/,/\\\\/,/,/);return{name:\"R\",keywords:{$pattern:n,keyword:\"function if in break next repeat else for while\",literal:\"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10\",built_in:\"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm\"},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:\"doctag\",match:/@examples/,starts:{end:t.lookahead(t.either(/\\n^#'\\s*(?=@[a-zA-Z]+)/,/\\n^(?!#')/)),endsParent:!0}},{scope:\"doctag\",begin:\"@param\",end:/$/,contains:[{scope:\"variable\",variants:[{match:n},{match:/`(?:\\\\.|[^`\\\\])+`/}],endsParent:!0}]},{scope:\"doctag\",match:/@[a-zA-Z]+/},{scope:\"keyword\",match:/\\\\[a-zA-Z]+/}]}),e.HASH_COMMENT_MODE,{scope:\"string\",contains:[e.BACKSLASH_ESCAPE],variants:[e.END_SAME_AS_BEGIN({begin:/[rR]\"(-*)\\(/,end:/\\)(-*)\"/}),e.END_SAME_AS_BEGIN({begin:/[rR]\"(-*)\\{/,end:/\\}(-*)\"/}),e.END_SAME_AS_BEGIN({begin:/[rR]\"(-*)\\[/,end:/\\](-*)\"/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\\(/,end:/\\)(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\\{/,end:/\\}(-*)'/}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\\[/,end:/\\](-*)'/}),{begin:'\"',end:'\"',relevance:0},{begin:\"'\",end:\"'\",relevance:0}]},{relevance:0,variants:[{scope:{1:\"operator\",2:\"number\"},match:[i,r]},{scope:{1:\"operator\",2:\"number\"},match:[/%[^%]*%/,r]},{scope:{1:\"punctuation\",2:\"number\"},match:[o,r]},{scope:{2:\"number\"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:\"operator\"},match:[n,/\\s+/,/<-/,/\\s+/]},{scope:\"operator\",relevance:0,variants:[{match:i},{match:/%[^%]*%/}]},{scope:\"punctuation\",relevance:0,match:o},{begin:\"`\",end:\"`\",contains:[{begin:/\\\\./}]}]}}function b$(e){const t=e.regex,n=\"([a-zA-Z_]\\\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\\\*\\\\*|[-/+%^&*~`|]|\\\\[\\\\]=?)\",r=t.either(/\\b([A-Z]+[a-z0-9]+)+/,/\\b([A-Z]+[a-z0-9]+)+[A-Z]+/),i=t.concat(r,/(::\\w+)*/),l={\"variable.constant\":[\"__FILE__\",\"__LINE__\",\"__ENCODING__\"],\"variable.language\":[\"self\",\"super\"],keyword:[\"alias\",\"and\",\"begin\",\"BEGIN\",\"break\",\"case\",\"class\",\"defined\",\"do\",\"else\",\"elsif\",\"end\",\"END\",\"ensure\",\"for\",\"if\",\"in\",\"module\",\"next\",\"not\",\"or\",\"redo\",\"require\",\"rescue\",\"retry\",\"return\",\"then\",\"undef\",\"unless\",\"until\",\"when\",\"while\",\"yield\",...[\"include\",\"extend\",\"prepend\",\"public\",\"private\",\"protected\",\"raise\",\"throw\"]],built_in:[\"proc\",\"lambda\",\"attr_accessor\",\"attr_reader\",\"attr_writer\",\"define_method\",\"private_constant\",\"module_function\"],literal:[\"true\",\"false\",\"nil\"]},c={className:\"doctag\",begin:\"@[A-Za-z]+\"},d={begin:\"#<\",end:\">\"},f=[e.COMMENT(\"#\",\"$\",{contains:[c]}),e.COMMENT(\"^=begin\",\"^=end\",{contains:[c],relevance:10}),e.COMMENT(\"^__END__\",e.MATCH_NOTHING_RE)],m={className:\"subst\",begin:/#\\{/,end:/\\}/,keywords:l},p={className:\"string\",contains:[e.BACKSLASH_ESCAPE,m],variants:[{begin:/'/,end:/'/},{begin:/\"/,end:/\"/},{begin:/`/,end:/`/},{begin:/%[qQwWx]?\\(/,end:/\\)/},{begin:/%[qQwWx]?\\[/,end:/\\]/},{begin:/%[qQwWx]?\\{/,end:/\\}/},{begin:/%[qQwWx]?</,end:/>/},{begin:/%[qQwWx]?\\//,end:/\\//},{begin:/%[qQwWx]?%/,end:/%/},{begin:/%[qQwWx]?-/,end:/-/},{begin:/%[qQwWx]?\\|/,end:/\\|/},{begin:/\\B\\?(\\\\\\d{1,3})/},{begin:/\\B\\?(\\\\x[A-Fa-f0-9]{1,2})/},{begin:/\\B\\?(\\\\u\\{?[A-Fa-f0-9]{1,6}\\}?)/},{begin:/\\B\\?(\\\\M-\\\\C-|\\\\M-\\\\c|\\\\c\\\\M-|\\\\M-|\\\\C-\\\\M-)[\\x20-\\x7e]/},{begin:/\\B\\?\\\\(c|C-)[\\x20-\\x7e]/},{begin:/\\B\\?\\\\?\\S/},{begin:t.concat(/<<[-~]?'?/,t.lookahead(/(\\w+)(?=\\W)[^\\n]*\\n(?:[^\\n]*\\n)*?\\s*\\1\\b/)),contains:[e.END_SAME_AS_BEGIN({begin:/(\\w+)/,end:/(\\w+)/,contains:[e.BACKSLASH_ESCAPE,m]})]}]},E=\"[1-9](_?[0-9])*|0\",_=\"[0-9](_?[0-9])*\",x={className:\"number\",relevance:0,variants:[{begin:`\\\\b(${E})(\\\\.(${_}))?([eE][+-]?(${_})|r)?i?\\\\b`},{begin:\"\\\\b0[dD][0-9](_?[0-9])*r?i?\\\\b\"},{begin:\"\\\\b0[bB][0-1](_?[0-1])*r?i?\\\\b\"},{begin:\"\\\\b0[oO][0-7](_?[0-7])*r?i?\\\\b\"},{begin:\"\\\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*r?i?\\\\b\"},{begin:\"\\\\b0(_?[0-7])+r?i?\\\\b\"}]},S={variants:[{match:/\\(\\)/},{className:\"params\",begin:/\\(/,end:/(?=\\))/,excludeBegin:!0,endsParent:!0,keywords:l}]},w=[p,{variants:[{match:[/class\\s+/,i,/\\s+<\\s+/,i]},{match:[/\\b(class|module)\\s+/,i]}],scope:{2:\"title.class\",4:\"title.class.inherited\"},keywords:l},{match:[/(include|extend)\\s+/,i],scope:{2:\"title.class\"},keywords:l},{relevance:0,match:[i,/\\.new[. (]/],scope:{1:\"title.class\"}},{relevance:0,match:/\\b[A-Z][A-Z_0-9]+\\b/,className:\"variable.constant\"},{relevance:0,match:r,scope:\"title.class\"},{match:[/def/,/\\s+/,n],scope:{1:\"keyword\",3:\"title.function\"},contains:[S]},{begin:e.IDENT_RE+\"::\"},{className:\"symbol\",begin:e.UNDERSCORE_IDENT_RE+\"(!|\\\\?)?:\",relevance:0},{className:\"symbol\",begin:\":(?!\\\\s)\",contains:[p,{begin:n}],relevance:0},x,{className:\"variable\",begin:\"(\\\\$\\\\W)|((\\\\$|@@?)(\\\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])\"},{className:\"params\",begin:/\\|(?!=)/,end:/\\|/,excludeBegin:!0,excludeEnd:!0,relevance:0,keywords:l},{begin:\"(\"+e.RE_STARTERS_RE+\"|unless)\\\\s*\",keywords:\"unless\",contains:[{className:\"regexp\",contains:[e.BACKSLASH_ESCAPE,m],illegal:/\\n/,variants:[{begin:\"/\",end:\"/[a-z]*\"},{begin:/%r\\{/,end:/\\}[a-z]*/},{begin:\"%r\\\\(\",end:\"\\\\)[a-z]*\"},{begin:\"%r!\",end:\"![a-z]*\"},{begin:\"%r\\\\[\",end:\"\\\\][a-z]*\"}]}].concat(d,f),relevance:0}].concat(d,f);m.contains=w,S.contains=w;const M=[{begin:/^\\s*=>/,starts:{end:\"$\",contains:w}},{className:\"meta.prompt\",begin:\"^(\"+\"[>?]>\"+\"|\"+\"[\\\\w#]+\\\\(\\\\w+\\\\):\\\\d+:\\\\d+[>*]\"+\"|\"+\"(\\\\w+-)?\\\\d+\\\\.\\\\d+\\\\.\\\\d+(p\\\\d+)?[^\\\\d][^>]+>\"+\")(?=[ ])\",starts:{end:\"$\",keywords:l,contains:w}}];return f.unshift(d),{name:\"Ruby\",aliases:[\"rb\",\"gemspec\",\"podspec\",\"thor\",\"irb\"],keywords:l,illegal:/\\/\\*/,contains:[e.SHEBANG({binary:\"ruby\"})].concat(M).concat(f).concat(w)}}function E$(e){const t=e.regex,n=/(r#)?/,r=t.concat(n,e.UNDERSCORE_IDENT_RE),i=t.concat(n,e.IDENT_RE),o={className:\"title.function.invoke\",relevance:0,begin:t.concat(/\\b/,/(?!let|for|while|if|else|match\\b)/,i,t.lookahead(/\\s*\\(/))},l=\"([ui](8|16|32|64|128|size)|f(32|64))?\",c=[\"abstract\",\"as\",\"async\",\"await\",\"become\",\"box\",\"break\",\"const\",\"continue\",\"crate\",\"do\",\"dyn\",\"else\",\"enum\",\"extern\",\"false\",\"final\",\"fn\",\"for\",\"if\",\"impl\",\"in\",\"let\",\"loop\",\"macro\",\"match\",\"mod\",\"move\",\"mut\",\"override\",\"priv\",\"pub\",\"ref\",\"return\",\"self\",\"Self\",\"static\",\"struct\",\"super\",\"trait\",\"true\",\"try\",\"type\",\"typeof\",\"union\",\"unsafe\",\"unsized\",\"use\",\"virtual\",\"where\",\"while\",\"yield\"],d=[\"true\",\"false\",\"Some\",\"None\",\"Ok\",\"Err\"],f=[\"drop \",\"Copy\",\"Send\",\"Sized\",\"Sync\",\"Drop\",\"Fn\",\"FnMut\",\"FnOnce\",\"ToOwned\",\"Clone\",\"Debug\",\"PartialEq\",\"PartialOrd\",\"Eq\",\"Ord\",\"AsRef\",\"AsMut\",\"Into\",\"From\",\"Default\",\"Iterator\",\"Extend\",\"IntoIterator\",\"DoubleEndedIterator\",\"ExactSizeIterator\",\"SliceConcatExt\",\"ToString\",\"assert!\",\"assert_eq!\",\"bitflags!\",\"bytes!\",\"cfg!\",\"col!\",\"concat!\",\"concat_idents!\",\"debug_assert!\",\"debug_assert_eq!\",\"env!\",\"eprintln!\",\"panic!\",\"file!\",\"format!\",\"format_args!\",\"include_bytes!\",\"include_str!\",\"line!\",\"local_data_key!\",\"module_path!\",\"option_env!\",\"print!\",\"println!\",\"select!\",\"stringify!\",\"try!\",\"unimplemented!\",\"unreachable!\",\"vec!\",\"write!\",\"writeln!\",\"macro_rules!\",\"assert_ne!\",\"debug_assert_ne!\"],m=[\"i8\",\"i16\",\"i32\",\"i64\",\"i128\",\"isize\",\"u8\",\"u16\",\"u32\",\"u64\",\"u128\",\"usize\",\"f32\",\"f64\",\"str\",\"char\",\"bool\",\"Box\",\"Option\",\"Result\",\"String\",\"Vec\"];return{name:\"Rust\",aliases:[\"rs\"],keywords:{$pattern:e.IDENT_RE+\"!?\",type:m,keyword:c,literal:d,built_in:f},illegal:\"</\",contains:[e.C_LINE_COMMENT_MODE,e.COMMENT(\"/\\\\*\",\"\\\\*/\",{contains:[\"self\"]}),e.inherit(e.QUOTE_STRING_MODE,{begin:/b?\"/,illegal:null}),{className:\"symbol\",begin:/'[a-zA-Z_][a-zA-Z0-9_]*(?!')/},{scope:\"string\",variants:[{begin:/b?r(#*)\"(.|\\n)*?\"\\1(?!#)/},{begin:/b?'/,end:/'/,contains:[{scope:\"char.escape\",match:/\\\\('|\\w|x\\w{2}|u\\w{4}|U\\w{8})/}]}]},{className:\"number\",variants:[{begin:\"\\\\b0b([01_]+)\"+l},{begin:\"\\\\b0o([0-7_]+)\"+l},{begin:\"\\\\b0x([A-Fa-f0-9_]+)\"+l},{begin:\"\\\\b(\\\\d[\\\\d_]*(\\\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)\"+l}],relevance:0},{begin:[/fn/,/\\s+/,r],className:{1:\"keyword\",3:\"title.function\"}},{className:\"meta\",begin:\"#!?\\\\[\",end:\"\\\\]\",contains:[{className:\"string\",begin:/\"/,end:/\"/,contains:[e.BACKSLASH_ESCAPE]}]},{begin:[/let/,/\\s+/,/(?:mut\\s+)?/,r],className:{1:\"keyword\",3:\"keyword\",4:\"variable\"}},{begin:[/for/,/\\s+/,r,/\\s+/,/in/],className:{1:\"keyword\",3:\"variable\",5:\"keyword\"}},{begin:[/type/,/\\s+/,r],className:{1:\"keyword\",3:\"title.class\"}},{begin:[/(?:trait|enum|struct|union|impl|for)/,/\\s+/,r],className:{1:\"keyword\",3:\"title.class\"}},{begin:e.IDENT_RE+\"::\",keywords:{keyword:\"Self\",built_in:f,type:m}},{className:\"punctuation\",begin:\"->\"},o]}}const y$=e=>({IMPORTANT:{scope:\"meta\",begin:\"!important\"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:\"number\",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\\b/},FUNCTION_DISPATCH:{className:\"built_in\",begin:/[\\w-]+(?=\\()/},ATTRIBUTE_SELECTOR_MODE:{scope:\"selector-attr\",begin:/\\[/,end:/\\]/,illegal:\"$\",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:\"number\",begin:e.NUMBER_RE+\"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?\",relevance:0},CSS_VARIABLE:{className:\"attr\",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),_$=[\"a\",\"abbr\",\"address\",\"article\",\"aside\",\"audio\",\"b\",\"blockquote\",\"body\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"dd\",\"del\",\"details\",\"dfn\",\"div\",\"dl\",\"dt\",\"em\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"html\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"label\",\"legend\",\"li\",\"main\",\"mark\",\"menu\",\"nav\",\"object\",\"ol\",\"optgroup\",\"option\",\"p\",\"picture\",\"q\",\"quote\",\"samp\",\"section\",\"select\",\"source\",\"span\",\"strong\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"ul\",\"var\",\"video\"],T$=[\"defs\",\"g\",\"marker\",\"mask\",\"pattern\",\"svg\",\"switch\",\"symbol\",\"feBlend\",\"feColorMatrix\",\"feComponentTransfer\",\"feComposite\",\"feConvolveMatrix\",\"feDiffuseLighting\",\"feDisplacementMap\",\"feFlood\",\"feGaussianBlur\",\"feImage\",\"feMerge\",\"feMorphology\",\"feOffset\",\"feSpecularLighting\",\"feTile\",\"feTurbulence\",\"linearGradient\",\"radialGradient\",\"stop\",\"circle\",\"ellipse\",\"image\",\"line\",\"path\",\"polygon\",\"polyline\",\"rect\",\"text\",\"use\",\"textPath\",\"tspan\",\"foreignObject\",\"clipPath\"],v$=[..._$,...T$],x$=[\"any-hover\",\"any-pointer\",\"aspect-ratio\",\"color\",\"color-gamut\",\"color-index\",\"device-aspect-ratio\",\"device-height\",\"device-width\",\"display-mode\",\"forced-colors\",\"grid\",\"height\",\"hover\",\"inverted-colors\",\"monochrome\",\"orientation\",\"overflow-block\",\"overflow-inline\",\"pointer\",\"prefers-color-scheme\",\"prefers-contrast\",\"prefers-reduced-motion\",\"prefers-reduced-transparency\",\"resolution\",\"scan\",\"scripting\",\"update\",\"width\",\"min-width\",\"max-width\",\"min-height\",\"max-height\"].sort().reverse(),S$=[\"active\",\"any-link\",\"blank\",\"checked\",\"current\",\"default\",\"defined\",\"dir\",\"disabled\",\"drop\",\"empty\",\"enabled\",\"first\",\"first-child\",\"first-of-type\",\"fullscreen\",\"future\",\"focus\",\"focus-visible\",\"focus-within\",\"has\",\"host\",\"host-context\",\"hover\",\"indeterminate\",\"in-range\",\"invalid\",\"is\",\"lang\",\"last-child\",\"last-of-type\",\"left\",\"link\",\"local-link\",\"not\",\"nth-child\",\"nth-col\",\"nth-last-child\",\"nth-last-col\",\"nth-last-of-type\",\"nth-of-type\",\"only-child\",\"only-of-type\",\"optional\",\"out-of-range\",\"past\",\"placeholder-shown\",\"read-only\",\"read-write\",\"required\",\"right\",\"root\",\"scope\",\"target\",\"target-within\",\"user-invalid\",\"valid\",\"visited\",\"where\"].sort().reverse(),A$=[\"after\",\"backdrop\",\"before\",\"cue\",\"cue-region\",\"first-letter\",\"first-line\",\"grammar-error\",\"marker\",\"part\",\"placeholder\",\"selection\",\"slotted\",\"spelling-error\"].sort().reverse(),N$=[\"accent-color\",\"align-content\",\"align-items\",\"align-self\",\"alignment-baseline\",\"all\",\"anchor-name\",\"animation\",\"animation-composition\",\"animation-delay\",\"animation-direction\",\"animation-duration\",\"animation-fill-mode\",\"animation-iteration-count\",\"animation-name\",\"animation-play-state\",\"animation-range\",\"animation-range-end\",\"animation-range-start\",\"animation-timeline\",\"animation-timing-function\",\"appearance\",\"aspect-ratio\",\"backdrop-filter\",\"backface-visibility\",\"background\",\"background-attachment\",\"background-blend-mode\",\"background-clip\",\"background-color\",\"background-image\",\"background-origin\",\"background-position\",\"background-position-x\",\"background-position-y\",\"background-repeat\",\"background-size\",\"baseline-shift\",\"block-size\",\"border\",\"border-block\",\"border-block-color\",\"border-block-end\",\"border-block-end-color\",\"border-block-end-style\",\"border-block-end-width\",\"border-block-start\",\"border-block-start-color\",\"border-block-start-style\",\"border-block-start-width\",\"border-block-style\",\"border-block-width\",\"border-bottom\",\"border-bottom-color\",\"border-bottom-left-radius\",\"border-bottom-right-radius\",\"border-bottom-style\",\"border-bottom-width\",\"border-collapse\",\"border-color\",\"border-end-end-radius\",\"border-end-start-radius\",\"border-image\",\"border-image-outset\",\"border-image-repeat\",\"border-image-slice\",\"border-image-source\",\"border-image-width\",\"border-inline\",\"border-inline-color\",\"border-inline-end\",\"border-inline-end-color\",\"border-inline-end-style\",\"border-inline-end-width\",\"border-inline-start\",\"border-inline-start-color\",\"border-inline-start-style\",\"border-inline-start-width\",\"border-inline-style\",\"border-inline-width\",\"border-left\",\"border-left-color\",\"border-left-style\",\"border-left-width\",\"border-radius\",\"border-right\",\"border-right-color\",\"border-right-style\",\"border-right-width\",\"border-spacing\",\"border-start-end-radius\",\"border-start-start-radius\",\"border-style\",\"border-top\",\"border-top-color\",\"border-top-left-radius\",\"border-top-right-radius\",\"border-top-style\",\"border-top-width\",\"border-width\",\"bottom\",\"box-align\",\"box-decoration-break\",\"box-direction\",\"box-flex\",\"box-flex-group\",\"box-lines\",\"box-ordinal-group\",\"box-orient\",\"box-pack\",\"box-shadow\",\"box-sizing\",\"break-after\",\"break-before\",\"break-inside\",\"caption-side\",\"caret-color\",\"clear\",\"clip\",\"clip-path\",\"clip-rule\",\"color\",\"color-interpolation\",\"color-interpolation-filters\",\"color-profile\",\"color-rendering\",\"color-scheme\",\"column-count\",\"column-fill\",\"column-gap\",\"column-rule\",\"column-rule-color\",\"column-rule-style\",\"column-rule-width\",\"column-span\",\"column-width\",\"columns\",\"contain\",\"contain-intrinsic-block-size\",\"contain-intrinsic-height\",\"contain-intrinsic-inline-size\",\"contain-intrinsic-size\",\"contain-intrinsic-width\",\"container\",\"container-name\",\"container-type\",\"content\",\"content-visibility\",\"counter-increment\",\"counter-reset\",\"counter-set\",\"cue\",\"cue-after\",\"cue-before\",\"cursor\",\"cx\",\"cy\",\"direction\",\"display\",\"dominant-baseline\",\"empty-cells\",\"enable-background\",\"field-sizing\",\"fill\",\"fill-opacity\",\"fill-rule\",\"filter\",\"flex\",\"flex-basis\",\"flex-direction\",\"flex-flow\",\"flex-grow\",\"flex-shrink\",\"flex-wrap\",\"float\",\"flood-color\",\"flood-opacity\",\"flow\",\"font\",\"font-display\",\"font-family\",\"font-feature-settings\",\"font-kerning\",\"font-language-override\",\"font-optical-sizing\",\"font-palette\",\"font-size\",\"font-size-adjust\",\"font-smooth\",\"font-smoothing\",\"font-stretch\",\"font-style\",\"font-synthesis\",\"font-synthesis-position\",\"font-synthesis-small-caps\",\"font-synthesis-style\",\"font-synthesis-weight\",\"font-variant\",\"font-variant-alternates\",\"font-variant-caps\",\"font-variant-east-asian\",\"font-variant-emoji\",\"font-variant-ligatures\",\"font-variant-numeric\",\"font-variant-position\",\"font-variation-settings\",\"font-weight\",\"forced-color-adjust\",\"gap\",\"glyph-orientation-horizontal\",\"glyph-orientation-vertical\",\"grid\",\"grid-area\",\"grid-auto-columns\",\"grid-auto-flow\",\"grid-auto-rows\",\"grid-column\",\"grid-column-end\",\"grid-column-start\",\"grid-gap\",\"grid-row\",\"grid-row-end\",\"grid-row-start\",\"grid-template\",\"grid-template-areas\",\"grid-template-columns\",\"grid-template-rows\",\"hanging-punctuation\",\"height\",\"hyphenate-character\",\"hyphenate-limit-chars\",\"hyphens\",\"icon\",\"image-orientation\",\"image-rendering\",\"image-resolution\",\"ime-mode\",\"initial-letter\",\"initial-letter-align\",\"inline-size\",\"inset\",\"inset-area\",\"inset-block\",\"inset-block-end\",\"inset-block-start\",\"inset-inline\",\"inset-inline-end\",\"inset-inline-start\",\"isolation\",\"justify-content\",\"justify-items\",\"justify-self\",\"kerning\",\"left\",\"letter-spacing\",\"lighting-color\",\"line-break\",\"line-height\",\"line-height-step\",\"list-style\",\"list-style-image\",\"list-style-position\",\"list-style-type\",\"margin\",\"margin-block\",\"margin-block-end\",\"margin-block-start\",\"margin-bottom\",\"margin-inline\",\"margin-inline-end\",\"margin-inline-start\",\"margin-left\",\"margin-right\",\"margin-top\",\"margin-trim\",\"marker\",\"marker-end\",\"marker-mid\",\"marker-start\",\"marks\",\"mask\",\"mask-border\",\"mask-border-mode\",\"mask-border-outset\",\"mask-border-repeat\",\"mask-border-slice\",\"mask-border-source\",\"mask-border-width\",\"mask-clip\",\"mask-composite\",\"mask-image\",\"mask-mode\",\"mask-origin\",\"mask-position\",\"mask-repeat\",\"mask-size\",\"mask-type\",\"masonry-auto-flow\",\"math-depth\",\"math-shift\",\"math-style\",\"max-block-size\",\"max-height\",\"max-inline-size\",\"max-width\",\"min-block-size\",\"min-height\",\"min-inline-size\",\"min-width\",\"mix-blend-mode\",\"nav-down\",\"nav-index\",\"nav-left\",\"nav-right\",\"nav-up\",\"none\",\"normal\",\"object-fit\",\"object-position\",\"offset\",\"offset-anchor\",\"offset-distance\",\"offset-path\",\"offset-position\",\"offset-rotate\",\"opacity\",\"order\",\"orphans\",\"outline\",\"outline-color\",\"outline-offset\",\"outline-style\",\"outline-width\",\"overflow\",\"overflow-anchor\",\"overflow-block\",\"overflow-clip-margin\",\"overflow-inline\",\"overflow-wrap\",\"overflow-x\",\"overflow-y\",\"overlay\",\"overscroll-behavior\",\"overscroll-behavior-block\",\"overscroll-behavior-inline\",\"overscroll-behavior-x\",\"overscroll-behavior-y\",\"padding\",\"padding-block\",\"padding-block-end\",\"padding-block-start\",\"padding-bottom\",\"padding-inline\",\"padding-inline-end\",\"padding-inline-start\",\"padding-left\",\"padding-right\",\"padding-top\",\"page\",\"page-break-after\",\"page-break-before\",\"page-break-inside\",\"paint-order\",\"pause\",\"pause-after\",\"pause-before\",\"perspective\",\"perspective-origin\",\"place-content\",\"place-items\",\"place-self\",\"pointer-events\",\"position\",\"position-anchor\",\"position-visibility\",\"print-color-adjust\",\"quotes\",\"r\",\"resize\",\"rest\",\"rest-after\",\"rest-before\",\"right\",\"rotate\",\"row-gap\",\"ruby-align\",\"ruby-position\",\"scale\",\"scroll-behavior\",\"scroll-margin\",\"scroll-margin-block\",\"scroll-margin-block-end\",\"scroll-margin-block-start\",\"scroll-margin-bottom\",\"scroll-margin-inline\",\"scroll-margin-inline-end\",\"scroll-margin-inline-start\",\"scroll-margin-left\",\"scroll-margin-right\",\"scroll-margin-top\",\"scroll-padding\",\"scroll-padding-block\",\"scroll-padding-block-end\",\"scroll-padding-block-start\",\"scroll-padding-bottom\",\"scroll-padding-inline\",\"scroll-padding-inline-end\",\"scroll-padding-inline-start\",\"scroll-padding-left\",\"scroll-padding-right\",\"scroll-padding-top\",\"scroll-snap-align\",\"scroll-snap-stop\",\"scroll-snap-type\",\"scroll-timeline\",\"scroll-timeline-axis\",\"scroll-timeline-name\",\"scrollbar-color\",\"scrollbar-gutter\",\"scrollbar-width\",\"shape-image-threshold\",\"shape-margin\",\"shape-outside\",\"shape-rendering\",\"speak\",\"speak-as\",\"src\",\"stop-color\",\"stop-opacity\",\"stroke\",\"stroke-dasharray\",\"stroke-dashoffset\",\"stroke-linecap\",\"stroke-linejoin\",\"stroke-miterlimit\",\"stroke-opacity\",\"stroke-width\",\"tab-size\",\"table-layout\",\"text-align\",\"text-align-all\",\"text-align-last\",\"text-anchor\",\"text-combine-upright\",\"text-decoration\",\"text-decoration-color\",\"text-decoration-line\",\"text-decoration-skip\",\"text-decoration-skip-ink\",\"text-decoration-style\",\"text-decoration-thickness\",\"text-emphasis\",\"text-emphasis-color\",\"text-emphasis-position\",\"text-emphasis-style\",\"text-indent\",\"text-justify\",\"text-orientation\",\"text-overflow\",\"text-rendering\",\"text-shadow\",\"text-size-adjust\",\"text-transform\",\"text-underline-offset\",\"text-underline-position\",\"text-wrap\",\"text-wrap-mode\",\"text-wrap-style\",\"timeline-scope\",\"top\",\"touch-action\",\"transform\",\"transform-box\",\"transform-origin\",\"transform-style\",\"transition\",\"transition-behavior\",\"transition-delay\",\"transition-duration\",\"transition-property\",\"transition-timing-function\",\"translate\",\"unicode-bidi\",\"user-modify\",\"user-select\",\"vector-effect\",\"vertical-align\",\"view-timeline\",\"view-timeline-axis\",\"view-timeline-inset\",\"view-timeline-name\",\"view-transition-name\",\"visibility\",\"voice-balance\",\"voice-duration\",\"voice-family\",\"voice-pitch\",\"voice-range\",\"voice-rate\",\"voice-stress\",\"voice-volume\",\"white-space\",\"white-space-collapse\",\"widows\",\"width\",\"will-change\",\"word-break\",\"word-spacing\",\"word-wrap\",\"writing-mode\",\"x\",\"y\",\"z-index\",\"zoom\"].sort().reverse();function w$(e){const t=y$(e),n=A$,r=S$,i=\"@[a-z-]+\",o=\"and or not only\",c={className:\"variable\",begin:\"(\\\\$\"+\"[a-zA-Z-][a-zA-Z0-9_-]*\"+\")\\\\b\",relevance:0};return{name:\"SCSS\",case_insensitive:!0,illegal:\"[=/|']\",contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{className:\"selector-id\",begin:\"#[A-Za-z0-9_-]+\",relevance:0},{className:\"selector-class\",begin:\"\\\\.[A-Za-z0-9_-]+\",relevance:0},t.ATTRIBUTE_SELECTOR_MODE,{className:\"selector-tag\",begin:\"\\\\b(\"+v$.join(\"|\")+\")\\\\b\",relevance:0},{className:\"selector-pseudo\",begin:\":(\"+r.join(\"|\")+\")\"},{className:\"selector-pseudo\",begin:\":(:)?(\"+n.join(\"|\")+\")\"},c,{begin:/\\(/,end:/\\)/,contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:\"attribute\",begin:\"\\\\b(\"+N$.join(\"|\")+\")\\\\b\"},{begin:\"\\\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\\\b\"},{begin:/:/,end:/[;}{]/,relevance:0,contains:[t.BLOCK_COMMENT,c,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]},{begin:\"@(page|font-face)\",keywords:{$pattern:i,keyword:\"@page @font-face\"}},{begin:\"@\",end:\"[{;]\",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,keyword:o,attribute:x$.join(\" \")},contains:[{begin:i,className:\"keyword\"},{begin:/[a-z-]+(?=:)/,className:\"attribute\"},c,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]},t.FUNCTION_DISPATCH]}}function C$(e){return{name:\"Shell Session\",aliases:[\"console\",\"shellsession\"],contains:[{className:\"meta.prompt\",begin:/^\\s{0,3}[/~\\w\\d[\\]()@-]*[>%$#][ ]?/,starts:{end:/[^\\\\](?=\\s*$)/,subLanguage:\"bash\"}}]}}function R$(e){const t=e.regex,n=e.COMMENT(\"--\",\"$\"),r={scope:\"string\",variants:[{begin:/'/,end:/'/,contains:[{match:/''/}]}]},i={begin:/\"/,end:/\"/,contains:[{match:/\"\"/}]},o=[\"true\",\"false\",\"unknown\"],l=[\"double precision\",\"large object\",\"with timezone\",\"without timezone\"],c=[\"bigint\",\"binary\",\"blob\",\"boolean\",\"char\",\"character\",\"clob\",\"date\",\"dec\",\"decfloat\",\"decimal\",\"float\",\"int\",\"integer\",\"interval\",\"nchar\",\"nclob\",\"national\",\"numeric\",\"real\",\"row\",\"smallint\",\"time\",\"timestamp\",\"varchar\",\"varying\",\"varbinary\"],d=[\"add\",\"asc\",\"collation\",\"desc\",\"final\",\"first\",\"last\",\"view\"],f=[\"abs\",\"acos\",\"all\",\"allocate\",\"alter\",\"and\",\"any\",\"are\",\"array\",\"array_agg\",\"array_max_cardinality\",\"as\",\"asensitive\",\"asin\",\"asymmetric\",\"at\",\"atan\",\"atomic\",\"authorization\",\"avg\",\"begin\",\"begin_frame\",\"begin_partition\",\"between\",\"bigint\",\"binary\",\"blob\",\"boolean\",\"both\",\"by\",\"call\",\"called\",\"cardinality\",\"cascaded\",\"case\",\"cast\",\"ceil\",\"ceiling\",\"char\",\"char_length\",\"character\",\"character_length\",\"check\",\"classifier\",\"clob\",\"close\",\"coalesce\",\"collate\",\"collect\",\"column\",\"commit\",\"condition\",\"connect\",\"constraint\",\"contains\",\"convert\",\"copy\",\"corr\",\"corresponding\",\"cos\",\"cosh\",\"count\",\"covar_pop\",\"covar_samp\",\"create\",\"cross\",\"cube\",\"cume_dist\",\"current\",\"current_catalog\",\"current_date\",\"current_default_transform_group\",\"current_path\",\"current_role\",\"current_row\",\"current_schema\",\"current_time\",\"current_timestamp\",\"current_path\",\"current_role\",\"current_transform_group_for_type\",\"current_user\",\"cursor\",\"cycle\",\"date\",\"day\",\"deallocate\",\"dec\",\"decimal\",\"decfloat\",\"declare\",\"default\",\"define\",\"delete\",\"dense_rank\",\"deref\",\"describe\",\"deterministic\",\"disconnect\",\"distinct\",\"double\",\"drop\",\"dynamic\",\"each\",\"element\",\"else\",\"empty\",\"end\",\"end_frame\",\"end_partition\",\"end-exec\",\"equals\",\"escape\",\"every\",\"except\",\"exec\",\"execute\",\"exists\",\"exp\",\"external\",\"extract\",\"false\",\"fetch\",\"filter\",\"first_value\",\"float\",\"floor\",\"for\",\"foreign\",\"frame_row\",\"free\",\"from\",\"full\",\"function\",\"fusion\",\"get\",\"global\",\"grant\",\"group\",\"grouping\",\"groups\",\"having\",\"hold\",\"hour\",\"identity\",\"in\",\"indicator\",\"initial\",\"inner\",\"inout\",\"insensitive\",\"insert\",\"int\",\"integer\",\"intersect\",\"intersection\",\"interval\",\"into\",\"is\",\"join\",\"json_array\",\"json_arrayagg\",\"json_exists\",\"json_object\",\"json_objectagg\",\"json_query\",\"json_table\",\"json_table_primitive\",\"json_value\",\"lag\",\"language\",\"large\",\"last_value\",\"lateral\",\"lead\",\"leading\",\"left\",\"like\",\"like_regex\",\"listagg\",\"ln\",\"local\",\"localtime\",\"localtimestamp\",\"log\",\"log10\",\"lower\",\"match\",\"match_number\",\"match_recognize\",\"matches\",\"max\",\"member\",\"merge\",\"method\",\"min\",\"minute\",\"mod\",\"modifies\",\"module\",\"month\",\"multiset\",\"national\",\"natural\",\"nchar\",\"nclob\",\"new\",\"no\",\"none\",\"normalize\",\"not\",\"nth_value\",\"ntile\",\"null\",\"nullif\",\"numeric\",\"octet_length\",\"occurrences_regex\",\"of\",\"offset\",\"old\",\"omit\",\"on\",\"one\",\"only\",\"open\",\"or\",\"order\",\"out\",\"outer\",\"over\",\"overlaps\",\"overlay\",\"parameter\",\"partition\",\"pattern\",\"per\",\"percent\",\"percent_rank\",\"percentile_cont\",\"percentile_disc\",\"period\",\"portion\",\"position\",\"position_regex\",\"power\",\"precedes\",\"precision\",\"prepare\",\"primary\",\"procedure\",\"ptf\",\"range\",\"rank\",\"reads\",\"real\",\"recursive\",\"ref\",\"references\",\"referencing\",\"regr_avgx\",\"regr_avgy\",\"regr_count\",\"regr_intercept\",\"regr_r2\",\"regr_slope\",\"regr_sxx\",\"regr_sxy\",\"regr_syy\",\"release\",\"result\",\"return\",\"returns\",\"revoke\",\"right\",\"rollback\",\"rollup\",\"row\",\"row_number\",\"rows\",\"running\",\"savepoint\",\"scope\",\"scroll\",\"search\",\"second\",\"seek\",\"select\",\"sensitive\",\"session_user\",\"set\",\"show\",\"similar\",\"sin\",\"sinh\",\"skip\",\"smallint\",\"some\",\"specific\",\"specifictype\",\"sql\",\"sqlexception\",\"sqlstate\",\"sqlwarning\",\"sqrt\",\"start\",\"static\",\"stddev_pop\",\"stddev_samp\",\"submultiset\",\"subset\",\"substring\",\"substring_regex\",\"succeeds\",\"sum\",\"symmetric\",\"system\",\"system_time\",\"system_user\",\"table\",\"tablesample\",\"tan\",\"tanh\",\"then\",\"time\",\"timestamp\",\"timezone_hour\",\"timezone_minute\",\"to\",\"trailing\",\"translate\",\"translate_regex\",\"translation\",\"treat\",\"trigger\",\"trim\",\"trim_array\",\"true\",\"truncate\",\"uescape\",\"union\",\"unique\",\"unknown\",\"unnest\",\"update\",\"upper\",\"user\",\"using\",\"value\",\"values\",\"value_of\",\"var_pop\",\"var_samp\",\"varbinary\",\"varchar\",\"varying\",\"versioning\",\"when\",\"whenever\",\"where\",\"width_bucket\",\"window\",\"with\",\"within\",\"without\",\"year\"],m=[\"abs\",\"acos\",\"array_agg\",\"asin\",\"atan\",\"avg\",\"cast\",\"ceil\",\"ceiling\",\"coalesce\",\"corr\",\"cos\",\"cosh\",\"count\",\"covar_pop\",\"covar_samp\",\"cume_dist\",\"dense_rank\",\"deref\",\"element\",\"exp\",\"extract\",\"first_value\",\"floor\",\"json_array\",\"json_arrayagg\",\"json_exists\",\"json_object\",\"json_objectagg\",\"json_query\",\"json_table\",\"json_table_primitive\",\"json_value\",\"lag\",\"last_value\",\"lead\",\"listagg\",\"ln\",\"log\",\"log10\",\"lower\",\"max\",\"min\",\"mod\",\"nth_value\",\"ntile\",\"nullif\",\"percent_rank\",\"percentile_cont\",\"percentile_disc\",\"position\",\"position_regex\",\"power\",\"rank\",\"regr_avgx\",\"regr_avgy\",\"regr_count\",\"regr_intercept\",\"regr_r2\",\"regr_slope\",\"regr_sxx\",\"regr_sxy\",\"regr_syy\",\"row_number\",\"sin\",\"sinh\",\"sqrt\",\"stddev_pop\",\"stddev_samp\",\"substring\",\"substring_regex\",\"sum\",\"tan\",\"tanh\",\"translate\",\"translate_regex\",\"treat\",\"trim\",\"trim_array\",\"unnest\",\"upper\",\"value_of\",\"var_pop\",\"var_samp\",\"width_bucket\"],p=[\"current_catalog\",\"current_date\",\"current_default_transform_group\",\"current_path\",\"current_role\",\"current_schema\",\"current_transform_group_for_type\",\"current_user\",\"session_user\",\"system_time\",\"system_user\",\"current_time\",\"localtime\",\"current_timestamp\",\"localtimestamp\"],E=[\"create table\",\"insert into\",\"primary key\",\"foreign key\",\"not null\",\"alter table\",\"add constraint\",\"grouping sets\",\"on overflow\",\"character set\",\"respect nulls\",\"ignore nulls\",\"nulls first\",\"nulls last\",\"depth first\",\"breadth first\"],_=m,x=[...f,...d].filter(k=>!m.includes(k)),S={scope:\"variable\",match:/@[a-z0-9][a-z0-9_]*/},N={scope:\"operator\",match:/[-+*/=%^~]|&&?|\\|\\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,relevance:0},v={match:t.concat(/\\b/,t.either(..._),/\\s*\\(/),relevance:0,keywords:{built_in:_}};function O(k){return t.concat(/\\b/,t.either(...k.map(w=>w.replace(/\\s+/,\"\\\\s+\"))),/\\b/)}const L={scope:\"keyword\",match:O(E),relevance:0};function B(k,{exceptions:w,when:U}={}){const j=U;return w=w||[],k.map(F=>F.match(/\\|\\d+$/)||w.includes(F)?F:j(F)?`${F}|0`:F)}return{name:\"SQL\",case_insensitive:!0,illegal:/[{}]|<\\//,keywords:{$pattern:/\\b[\\w\\.]+/,keyword:B(x,{when:k=>k.length<3}),literal:o,type:c,built_in:p},contains:[{scope:\"type\",match:O(l)},L,v,S,r,i,e.C_NUMBER_MODE,e.C_BLOCK_COMMENT_MODE,n,N]}}function YC(e){return e?typeof e==\"string\"?e:e.source:null}function dc(e){return Vt(\"(?=\",e,\")\")}function Vt(...e){return e.map(n=>YC(n)).join(\"\")}function O$(e){const t=e[e.length-1];return typeof t==\"object\"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function br(...e){return\"(\"+(O$(e).capture?\"\":\"?:\")+e.map(r=>YC(r)).join(\"|\")+\")\"}const i1=e=>Vt(/\\b/,e,/\\w$/.test(e)?/\\b/:/\\B/),k$=[\"Protocol\",\"Type\"].map(i1),w2=[\"init\",\"self\"].map(i1),L$=[\"Any\",\"Self\"],pg=[\"actor\",\"any\",\"associatedtype\",\"async\",\"await\",/as\\?/,/as!/,\"as\",\"borrowing\",\"break\",\"case\",\"catch\",\"class\",\"consume\",\"consuming\",\"continue\",\"convenience\",\"copy\",\"default\",\"defer\",\"deinit\",\"didSet\",\"distributed\",\"do\",\"dynamic\",\"each\",\"else\",\"enum\",\"extension\",\"fallthrough\",/fileprivate\\(set\\)/,\"fileprivate\",\"final\",\"for\",\"func\",\"get\",\"guard\",\"if\",\"import\",\"indirect\",\"infix\",/init\\?/,/init!/,\"inout\",/internal\\(set\\)/,\"internal\",\"in\",\"is\",\"isolated\",\"nonisolated\",\"lazy\",\"let\",\"macro\",\"mutating\",\"nonmutating\",/open\\(set\\)/,\"open\",\"operator\",\"optional\",\"override\",\"package\",\"postfix\",\"precedencegroup\",\"prefix\",/private\\(set\\)/,\"private\",\"protocol\",/public\\(set\\)/,\"public\",\"repeat\",\"required\",\"rethrows\",\"return\",\"set\",\"some\",\"static\",\"struct\",\"subscript\",\"super\",\"switch\",\"throws\",\"throw\",/try\\?/,/try!/,\"try\",\"typealias\",/unowned\\(safe\\)/,/unowned\\(unsafe\\)/,\"unowned\",\"var\",\"weak\",\"where\",\"while\",\"willSet\"],C2=[\"false\",\"nil\",\"true\"],I$=[\"assignment\",\"associativity\",\"higherThan\",\"left\",\"lowerThan\",\"none\",\"right\"],D$=[\"#colorLiteral\",\"#column\",\"#dsohandle\",\"#else\",\"#elseif\",\"#endif\",\"#error\",\"#file\",\"#fileID\",\"#fileLiteral\",\"#filePath\",\"#function\",\"#if\",\"#imageLiteral\",\"#keyPath\",\"#line\",\"#selector\",\"#sourceLocation\",\"#warning\"],R2=[\"abs\",\"all\",\"any\",\"assert\",\"assertionFailure\",\"debugPrint\",\"dump\",\"fatalError\",\"getVaList\",\"isKnownUniquelyReferenced\",\"max\",\"min\",\"numericCast\",\"pointwiseMax\",\"pointwiseMin\",\"precondition\",\"preconditionFailure\",\"print\",\"readLine\",\"repeatElement\",\"sequence\",\"stride\",\"swap\",\"swift_unboxFromSwiftValueWithType\",\"transcode\",\"type\",\"unsafeBitCast\",\"unsafeDowncast\",\"withExtendedLifetime\",\"withUnsafeMutablePointer\",\"withUnsafePointer\",\"withVaList\",\"withoutActuallyEscaping\",\"zip\"],GC=br(/[/=\\-+!*%<>&|^~?]/,/[\\u00A1-\\u00A7]/,/[\\u00A9\\u00AB]/,/[\\u00AC\\u00AE]/,/[\\u00B0\\u00B1]/,/[\\u00B6\\u00BB\\u00BF\\u00D7\\u00F7]/,/[\\u2016-\\u2017]/,/[\\u2020-\\u2027]/,/[\\u2030-\\u203E]/,/[\\u2041-\\u2053]/,/[\\u2055-\\u205E]/,/[\\u2190-\\u23FF]/,/[\\u2500-\\u2775]/,/[\\u2794-\\u2BFF]/,/[\\u2E00-\\u2E7F]/,/[\\u3001-\\u3003]/,/[\\u3008-\\u3020]/,/[\\u3030]/),VC=br(GC,/[\\u0300-\\u036F]/,/[\\u1DC0-\\u1DFF]/,/[\\u20D0-\\u20FF]/,/[\\uFE00-\\uFE0F]/,/[\\uFE20-\\uFE2F]/),gg=Vt(GC,VC,\"*\"),KC=br(/[a-zA-Z_]/,/[\\u00A8\\u00AA\\u00AD\\u00AF\\u00B2-\\u00B5\\u00B7-\\u00BA]/,/[\\u00BC-\\u00BE\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u00FF]/,/[\\u0100-\\u02FF\\u0370-\\u167F\\u1681-\\u180D\\u180F-\\u1DBF]/,/[\\u1E00-\\u1FFF]/,/[\\u200B-\\u200D\\u202A-\\u202E\\u203F-\\u2040\\u2054\\u2060-\\u206F]/,/[\\u2070-\\u20CF\\u2100-\\u218F\\u2460-\\u24FF\\u2776-\\u2793]/,/[\\u2C00-\\u2DFF\\u2E80-\\u2FFF]/,/[\\u3004-\\u3007\\u3021-\\u302F\\u3031-\\u303F\\u3040-\\uD7FF]/,/[\\uF900-\\uFD3D\\uFD40-\\uFDCF\\uFDF0-\\uFE1F\\uFE30-\\uFE44]/,/[\\uFE47-\\uFEFE\\uFF00-\\uFFFD]/),yh=br(KC,/\\d/,/[\\u0300-\\u036F\\u1DC0-\\u1DFF\\u20D0-\\u20FF\\uFE20-\\uFE2F]/),Va=Vt(KC,yh,\"*\"),Lf=Vt(/[A-Z]/,yh,\"*\"),M$=[\"attached\",\"autoclosure\",Vt(/convention\\(/,br(\"swift\",\"block\",\"c\"),/\\)/),\"discardableResult\",\"dynamicCallable\",\"dynamicMemberLookup\",\"escaping\",\"freestanding\",\"frozen\",\"GKInspectable\",\"IBAction\",\"IBDesignable\",\"IBInspectable\",\"IBOutlet\",\"IBSegueAction\",\"inlinable\",\"main\",\"nonobjc\",\"NSApplicationMain\",\"NSCopying\",\"NSManaged\",Vt(/objc\\(/,Va,/\\)/),\"objc\",\"objcMembers\",\"propertyWrapper\",\"requires_stored_property_inits\",\"resultBuilder\",\"Sendable\",\"testable\",\"UIApplicationMain\",\"unchecked\",\"unknown\",\"usableFromInline\",\"warn_unqualified_access\"],P$=[\"iOS\",\"iOSApplicationExtension\",\"macOS\",\"macOSApplicationExtension\",\"macCatalyst\",\"macCatalystApplicationExtension\",\"watchOS\",\"watchOSApplicationExtension\",\"tvOS\",\"tvOSApplicationExtension\",\"swift\"];function B$(e){const t={match:/\\s+/,relevance:0},n=e.COMMENT(\"/\\\\*\",\"\\\\*/\",{contains:[\"self\"]}),r=[e.C_LINE_COMMENT_MODE,n],i={match:[/\\./,br(...k$,...w2)],className:{2:\"keyword\"}},o={match:Vt(/\\./,br(...pg)),relevance:0},l=pg.filter(mt=>typeof mt==\"string\").concat([\"_|0\"]),c=pg.filter(mt=>typeof mt!=\"string\").concat(L$).map(i1),d={variants:[{className:\"keyword\",match:br(...c,...w2)}]},f={$pattern:br(/\\b\\w+/,/#\\w+/),keyword:l.concat(D$),literal:C2},m=[i,o,d],p={match:Vt(/\\./,br(...R2)),relevance:0},E={className:\"built_in\",match:Vt(/\\b/,br(...R2),/(?=\\()/)},_=[p,E],x={match:/->/,relevance:0},S={className:\"operator\",relevance:0,variants:[{match:gg},{match:`\\\\.(\\\\.|${VC})+`}]},N=[x,S],v=\"([0-9]_*)+\",O=\"([0-9a-fA-F]_*)+\",L={className:\"number\",relevance:0,variants:[{match:`\\\\b(${v})(\\\\.(${v}))?([eE][+-]?(${v}))?\\\\b`},{match:`\\\\b0x(${O})(\\\\.(${O}))?([pP][+-]?(${v}))?\\\\b`},{match:/\\b0o([0-7]_*)+\\b/},{match:/\\b0b([01]_*)+\\b/}]},B=(mt=\"\")=>({className:\"subst\",variants:[{match:Vt(/\\\\/,mt,/[0\\\\tnr\"']/)},{match:Vt(/\\\\/,mt,/u\\{[0-9a-fA-F]{1,8}\\}/)}]}),k=(mt=\"\")=>({className:\"subst\",match:Vt(/\\\\/,mt,/[\\t ]*(?:[\\r\\n]|\\r\\n)/)}),w=(mt=\"\")=>({className:\"subst\",label:\"interpol\",begin:Vt(/\\\\/,mt,/\\(/),end:/\\)/}),U=(mt=\"\")=>({begin:Vt(mt,/\"\"\"/),end:Vt(/\"\"\"/,mt),contains:[B(mt),k(mt),w(mt)]}),j=(mt=\"\")=>({begin:Vt(mt,/\"/),end:Vt(/\"/,mt),contains:[B(mt),w(mt)]}),F={className:\"string\",variants:[U(),U(\"#\"),U(\"##\"),U(\"###\"),j(),j(\"#\"),j(\"##\"),j(\"###\")]},M=[e.BACKSLASH_ESCAPE,{begin:/\\[/,end:/\\]/,relevance:0,contains:[e.BACKSLASH_ESCAPE]}],J={begin:/\\/[^\\s](?=[^/\\n]*\\/)/,end:/\\//,contains:M},X=mt=>{const zn=Vt(mt,/\\//),$n=Vt(/\\//,mt);return{begin:zn,end:$n,contains:[...M,{scope:\"comment\",begin:`#(?!.*${$n})`,end:/$/}]}},V={scope:\"regexp\",variants:[X(\"###\"),X(\"##\"),X(\"#\"),J]},ne={match:Vt(/`/,Va,/`/)},ae={className:\"variable\",match:/\\$\\d+/},Q={className:\"variable\",match:`\\\\$${yh}+`},be=[ne,ae,Q],K={match:/(@|#(un)?)available/,scope:\"keyword\",starts:{contains:[{begin:/\\(/,end:/\\)/,keywords:P$,contains:[...N,L,F]}]}},ve={scope:\"keyword\",match:Vt(/@/,br(...M$),dc(br(/\\(/,/\\s+/)))},R={scope:\"meta\",match:Vt(/@/,Va)},le=[K,ve,R],te={match:dc(/\\b[A-Z]/),relevance:0,contains:[{className:\"type\",match:Vt(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,yh,\"+\")},{className:\"type\",match:Lf,relevance:0},{match:/[?!]+/,relevance:0},{match:/\\.\\.\\./,relevance:0},{match:Vt(/\\s+&\\s+/,dc(Lf)),relevance:0}]},I={begin:/</,end:/>/,keywords:f,contains:[...r,...m,...le,x,te]};te.contains.push(I);const ce={match:Vt(Va,/\\s*:/),keywords:\"_|0\",relevance:0},Te={begin:/\\(/,end:/\\)/,relevance:0,keywords:f,contains:[\"self\",ce,...r,V,...m,..._,...N,L,F,...be,...le,te]},xe={begin:/</,end:/>/,keywords:\"repeat each\",contains:[...r,te]},Pe={begin:br(dc(Vt(Va,/\\s*:/)),dc(Vt(Va,/\\s+/,Va,/\\s*:/))),end:/:/,relevance:0,contains:[{className:\"keyword\",match:/\\b_\\b/},{className:\"params\",match:Va}]},je={begin:/\\(/,end:/\\)/,keywords:f,contains:[Pe,...r,...m,...N,L,F,...le,te,Te],endsParent:!0,illegal:/[\"']/},Ze={match:[/(func|macro)/,/\\s+/,br(ne.match,Va,gg)],className:{1:\"keyword\",3:\"title.function\"},contains:[xe,je,t],illegal:[/\\[/,/%/]},Ue={match:[/\\b(?:subscript|init[?!]?)/,/\\s*(?=[<(])/],className:{1:\"keyword\"},contains:[xe,je,t],illegal:/\\[|%/},Pt={match:[/operator/,/\\s+/,gg],className:{1:\"keyword\",3:\"title\"}},mn={begin:[/precedencegroup/,/\\s+/,Lf],className:{1:\"keyword\",3:\"title\"},contains:[te],keywords:[...I$,...C2],end:/}/},pn={match:[/class\\b/,/\\s+/,/func\\b/,/\\s+/,/\\b[A-Za-z_][A-Za-z0-9_]*\\b/],scope:{1:\"keyword\",3:\"keyword\",5:\"title.function\"}},Tn={match:[/class\\b/,/\\s+/,/var\\b/],scope:{1:\"keyword\",3:\"keyword\"}},fr={begin:[/(struct|protocol|class|extension|enum|actor)/,/\\s+/,Va,/\\s*/],beginScope:{1:\"keyword\",3:\"title.class\"},keywords:f,contains:[xe,...m,{begin:/:/,end:/\\{/,keywords:f,contains:[{scope:\"title.class.inherited\",match:Lf},...m],relevance:0}]};for(const mt of F.variants){const zn=mt.contains.find(Qn=>Qn.label===\"interpol\");zn.keywords=f;const $n=[...m,..._,...N,L,F,...be];zn.contains=[...$n,{begin:/\\(/,end:/\\)/,contains:[\"self\",...$n]}]}return{name:\"Swift\",keywords:f,contains:[...r,Ze,Ue,pn,Tn,fr,Pt,mn,{beginKeywords:\"import\",end:/$/,contains:[...r],relevance:0},V,...m,..._,...N,L,F,...be,...le,te,Te]}}const _h=\"[A-Za-z$_][0-9A-Za-z$_]*\",XC=[\"as\",\"in\",\"of\",\"if\",\"for\",\"while\",\"finally\",\"var\",\"new\",\"function\",\"do\",\"return\",\"void\",\"else\",\"break\",\"catch\",\"instanceof\",\"with\",\"throw\",\"case\",\"default\",\"try\",\"switch\",\"continue\",\"typeof\",\"delete\",\"let\",\"yield\",\"const\",\"class\",\"debugger\",\"async\",\"await\",\"static\",\"import\",\"from\",\"export\",\"extends\",\"using\"],WC=[\"true\",\"false\",\"null\",\"undefined\",\"NaN\",\"Infinity\"],QC=[\"Object\",\"Function\",\"Boolean\",\"Symbol\",\"Math\",\"Date\",\"Number\",\"BigInt\",\"String\",\"RegExp\",\"Array\",\"Float32Array\",\"Float64Array\",\"Int8Array\",\"Uint8Array\",\"Uint8ClampedArray\",\"Int16Array\",\"Int32Array\",\"Uint16Array\",\"Uint32Array\",\"BigInt64Array\",\"BigUint64Array\",\"Set\",\"Map\",\"WeakSet\",\"WeakMap\",\"ArrayBuffer\",\"SharedArrayBuffer\",\"Atomics\",\"DataView\",\"JSON\",\"Promise\",\"Generator\",\"GeneratorFunction\",\"AsyncFunction\",\"Reflect\",\"Proxy\",\"Intl\",\"WebAssembly\"],ZC=[\"Error\",\"EvalError\",\"InternalError\",\"RangeError\",\"ReferenceError\",\"SyntaxError\",\"TypeError\",\"URIError\"],JC=[\"setInterval\",\"setTimeout\",\"clearInterval\",\"clearTimeout\",\"require\",\"exports\",\"eval\",\"isFinite\",\"isNaN\",\"parseFloat\",\"parseInt\",\"decodeURI\",\"decodeURIComponent\",\"encodeURI\",\"encodeURIComponent\",\"escape\",\"unescape\"],eR=[\"arguments\",\"this\",\"super\",\"console\",\"window\",\"document\",\"localStorage\",\"sessionStorage\",\"module\",\"global\"],tR=[].concat(JC,QC,ZC);function U$(e){const t=e.regex,n=(K,{after:ve})=>{const R=\"</\"+K[0].slice(1);return K.input.indexOf(R,ve)!==-1},r=_h,i={begin:\"<>\",end:\"</>\"},o=/<[A-Za-z0-9\\\\._:-]+\\s*\\/>/,l={begin:/<[A-Za-z0-9\\\\._:-]+/,end:/\\/[A-Za-z0-9\\\\._:-]+>|\\/>/,isTrulyOpeningTag:(K,ve)=>{const R=K[0].length+K.index,le=K.input[R];if(le===\"<\"||le===\",\"){ve.ignoreMatch();return}le===\">\"&&(n(K,{after:R})||ve.ignoreMatch());let te;const I=K.input.substring(R);if(te=I.match(/^\\s*=/)){ve.ignoreMatch();return}if((te=I.match(/^\\s+extends\\s+/))&&te.index===0){ve.ignoreMatch();return}}},c={$pattern:_h,keyword:XC,literal:WC,built_in:tR,\"variable.language\":eR},d=\"[0-9](_?[0-9])*\",f=`\\\\.(${d})`,m=\"0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*\",p={className:\"number\",variants:[{begin:`(\\\\b(${m})((${f})|\\\\.)?|(${f}))[eE][+-]?(${d})\\\\b`},{begin:`\\\\b(${m})\\\\b((${f})\\\\b|\\\\.)?|(${f})\\\\b`},{begin:\"\\\\b(0|[1-9](_?[0-9])*)n\\\\b\"},{begin:\"\\\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\\\b\"},{begin:\"\\\\b0[bB][0-1](_?[0-1])*n?\\\\b\"},{begin:\"\\\\b0[oO][0-7](_?[0-7])*n?\\\\b\"},{begin:\"\\\\b0[0-7]+n?\\\\b\"}],relevance:0},E={className:\"subst\",begin:\"\\\\$\\\\{\",end:\"\\\\}\",keywords:c,contains:[]},_={begin:\".?html`\",end:\"\",starts:{end:\"`\",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,E],subLanguage:\"xml\"}},x={begin:\".?css`\",end:\"\",starts:{end:\"`\",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,E],subLanguage:\"css\"}},S={begin:\".?gql`\",end:\"\",starts:{end:\"`\",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,E],subLanguage:\"graphql\"}},N={className:\"string\",begin:\"`\",end:\"`\",contains:[e.BACKSLASH_ESCAPE,E]},O={className:\"comment\",variants:[e.COMMENT(/\\/\\*\\*(?!\\/)/,\"\\\\*/\",{relevance:0,contains:[{begin:\"(?=@[A-Za-z]+)\",relevance:0,contains:[{className:\"doctag\",begin:\"@[A-Za-z]+\"},{className:\"type\",begin:\"\\\\{\",end:\"\\\\}\",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:\"variable\",begin:r+\"(?=\\\\s*(-)|$)\",endsParent:!0,relevance:0},{begin:/(?=[^\\n])\\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},L=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,x,S,N,{match:/\\$\\d+/},p];E.contains=L.concat({begin:/\\{/,end:/\\}/,keywords:c,contains:[\"self\"].concat(L)});const B=[].concat(O,E.contains),k=B.concat([{begin:/(\\s*)\\(/,end:/\\)/,keywords:c,contains:[\"self\"].concat(B)}]),w={className:\"params\",begin:/(\\s*)\\(/,end:/\\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:k},U={variants:[{match:[/class/,/\\s+/,r,/\\s+/,/extends/,/\\s+/,t.concat(r,\"(\",t.concat(/\\./,r),\")*\")],scope:{1:\"keyword\",3:\"title.class\",5:\"keyword\",7:\"title.class.inherited\"}},{match:[/class/,/\\s+/,r],scope:{1:\"keyword\",3:\"title.class\"}}]},j={relevance:0,match:t.either(/\\bJSON/,/\\b[A-Z][a-z]+([A-Z][a-z]*|\\d)*/,/\\b[A-Z]{2,}([A-Z][a-z]+|\\d)+([A-Z][a-z]*)*/,/\\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\\d)*([A-Z][a-z]*)*/),className:\"title.class\",keywords:{_:[...QC,...ZC]}},F={label:\"use_strict\",className:\"meta\",relevance:10,begin:/^\\s*['\"]use (strict|asm)['\"]/},M={variants:[{match:[/function/,/\\s+/,r,/(?=\\s*\\()/]},{match:[/function/,/\\s*(?=\\()/]}],className:{1:\"keyword\",3:\"title.function\"},label:\"func.def\",contains:[w],illegal:/%/},J={relevance:0,match:/\\b[A-Z][A-Z_0-9]+\\b/,className:\"variable.constant\"};function X(K){return t.concat(\"(?!\",K.join(\"|\"),\")\")}const V={match:t.concat(/\\b/,X([...JC,\"super\",\"import\"].map(K=>`${K}\\\\s*\\\\(`)),r,t.lookahead(/\\s*\\(/)),className:\"title.function\",relevance:0},ne={begin:t.concat(/\\./,t.lookahead(t.concat(r,/(?![0-9A-Za-z$_(])/))),end:r,excludeBegin:!0,keywords:\"prototype\",className:\"property\",relevance:0},ae={match:[/get|set/,/\\s+/,r,/(?=\\()/],className:{1:\"keyword\",3:\"title.function\"},contains:[{begin:/\\(\\)/},w]},Q=\"(\\\\([^()]*(\\\\([^()]*(\\\\([^()]*\\\\)[^()]*)*\\\\)[^()]*)*\\\\)|\"+e.UNDERSCORE_IDENT_RE+\")\\\\s*=>\",be={match:[/const|var|let/,/\\s+/,r,/\\s*/,/=\\s*/,/(async\\s*)?/,t.lookahead(Q)],keywords:\"async\",className:{1:\"keyword\",3:\"title.function\"},contains:[w]};return{name:\"JavaScript\",aliases:[\"js\",\"jsx\",\"mjs\",\"cjs\"],keywords:c,exports:{PARAMS_CONTAINS:k,CLASS_REFERENCE:j},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:\"shebang\",binary:\"node\",relevance:5}),F,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,_,x,S,N,O,{match:/\\$\\d+/},p,j,{scope:\"attr\",match:r+t.lookahead(\":\"),relevance:0},be,{begin:\"(\"+e.RE_STARTERS_RE+\"|\\\\b(case|return|throw)\\\\b)\\\\s*\",keywords:\"return throw case\",relevance:0,contains:[O,e.REGEXP_MODE,{className:\"function\",begin:Q,returnBegin:!0,end:\"\\\\s*=>\",contains:[{className:\"params\",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\\(\\s*\\)/,skip:!0},{begin:/(\\s*)\\(/,end:/\\)/,excludeBegin:!0,excludeEnd:!0,keywords:c,contains:k}]}]},{begin:/,/,relevance:0},{match:/\\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:o},{begin:l.begin,\"on:begin\":l.isTrulyOpeningTag,end:l.end}],subLanguage:\"xml\",contains:[{begin:l.begin,end:l.end,skip:!0,contains:[\"self\"]}]}]},M,{beginKeywords:\"while if switch catch for\"},{begin:\"\\\\b(?!function)\"+e.UNDERSCORE_IDENT_RE+\"\\\\([^()]*(\\\\([^()]*(\\\\([^()]*\\\\)[^()]*)*\\\\)[^()]*)*\\\\)\\\\s*\\\\{\",returnBegin:!0,label:\"func.def\",contains:[w,e.inherit(e.TITLE_MODE,{begin:r,className:\"title.function\"})]},{match:/\\.\\.\\./,relevance:0},ne,{match:\"\\\\$\"+r,relevance:0},{match:[/\\bconstructor(?=\\s*\\()/],className:{1:\"title.function\"},contains:[w]},V,J,U,ae,{match:/\\$[(.]/}]}}function F$(e){const t=e.regex,n=U$(e),r=_h,i=[\"any\",\"void\",\"number\",\"boolean\",\"string\",\"object\",\"never\",\"symbol\",\"bigint\",\"unknown\"],o={begin:[/namespace/,/\\s+/,e.IDENT_RE],beginScope:{1:\"keyword\",3:\"title.class\"}},l={beginKeywords:\"interface\",end:/\\{/,excludeEnd:!0,keywords:{keyword:\"interface extends\",built_in:i},contains:[n.exports.CLASS_REFERENCE]},c={className:\"meta\",relevance:10,begin:/^\\s*['\"]use strict['\"]/},d=[\"type\",\"interface\",\"public\",\"private\",\"protected\",\"implements\",\"declare\",\"abstract\",\"readonly\",\"enum\",\"override\",\"satisfies\"],f={$pattern:_h,keyword:XC.concat(d),literal:WC,built_in:tR.concat(i),\"variable.language\":eR},m={className:\"meta\",begin:\"@\"+r},p=(S,N,v)=>{const O=S.contains.findIndex(L=>L.label===N);if(O===-1)throw new Error(\"can not find mode to replace\");S.contains.splice(O,1,v)};Object.assign(n.keywords,f),n.exports.PARAMS_CONTAINS.push(m);const E=n.contains.find(S=>S.scope===\"attr\"),_=Object.assign({},E,{match:t.concat(r,t.lookahead(/\\s*\\?:/))});n.exports.PARAMS_CONTAINS.push([n.exports.CLASS_REFERENCE,E,_]),n.contains=n.contains.concat([m,o,l,_]),p(n,\"shebang\",e.SHEBANG()),p(n,\"use_strict\",c);const x=n.contains.find(S=>S.label===\"func.def\");return x.relevance=0,Object.assign(n,{name:\"TypeScript\",aliases:[\"ts\",\"tsx\",\"mts\",\"cts\"]}),n}function H$(e){const t=e.regex,n={className:\"string\",begin:/\"(\"\"|[^/n])\"C\\b/},r={className:\"string\",begin:/\"/,end:/\"/,illegal:/\\n/,contains:[{begin:/\"\"/}]},i=/\\d{1,2}\\/\\d{1,2}\\/\\d{4}/,o=/\\d{4}-\\d{1,2}-\\d{1,2}/,l=/(\\d|1[012])(:\\d+){0,2} *(AM|PM)/,c=/\\d{1,2}(:\\d{1,2}){1,2}/,d={className:\"literal\",variants:[{begin:t.concat(/# */,t.either(o,i),/ *#/)},{begin:t.concat(/# */,c,/ *#/)},{begin:t.concat(/# */,l,/ *#/)},{begin:t.concat(/# */,t.either(o,i),/ +/,t.either(l,c),/ *#/)}]},f={className:\"number\",relevance:0,variants:[{begin:/\\b\\d[\\d_]*((\\.[\\d_]+(E[+-]?[\\d_]+)?)|(E[+-]?[\\d_]+))[RFD@!#]?/},{begin:/\\b\\d[\\d_]*((U?[SIL])|[%&])?/},{begin:/&H[\\dA-F_]+((U?[SIL])|[%&])?/},{begin:/&O[0-7_]+((U?[SIL])|[%&])?/},{begin:/&B[01_]+((U?[SIL])|[%&])?/}]},m={className:\"label\",begin:/^\\w+:/},p=e.COMMENT(/'''/,/$/,{contains:[{className:\"doctag\",begin:/<\\/?/,end:/>/}]}),E=e.COMMENT(null,/$/,{variants:[{begin:/'/},{begin:/([\\t ]|^)REM(?=\\s)/}]});return{name:\"Visual Basic .NET\",aliases:[\"vb\"],case_insensitive:!0,classNameAliases:{label:\"symbol\"},keywords:{keyword:\"addhandler alias aggregate ansi as async assembly auto binary by byref byval call case catch class compare const continue custom declare default delegate dim distinct do each equals else elseif end enum erase error event exit explicit finally for friend from function get global goto group handles if implements imports in inherits interface into iterator join key let lib loop me mid module mustinherit mustoverride mybase myclass namespace narrowing new next notinheritable notoverridable of off on operator option optional order overloads overridable overrides paramarray partial preserve private property protected public raiseevent readonly redim removehandler resume return select set shadows shared skip static step stop structure strict sub synclock take text then throw to try unicode until using when where while widening with withevents writeonly yield\",built_in:\"addressof and andalso await directcast gettype getxmlnamespace is isfalse isnot istrue like mod nameof new not or orelse trycast typeof xor cbool cbyte cchar cdate cdbl cdec cint clng cobj csbyte cshort csng cstr cuint culng cushort\",type:\"boolean byte char date decimal double integer long object sbyte short single string uinteger ulong ushort\",literal:\"true false nothing\"},illegal:\"//|\\\\{|\\\\}|endif|gosub|variant|wend|^\\\\$ \",contains:[n,r,d,f,m,p,E,{className:\"meta\",begin:/[\\t ]*#(const|disable|else|elseif|enable|end|externalsource|if|region)\\b/,end:/$/,keywords:{keyword:\"const disable else elseif enable end externalsource if region then\"},contains:[E]}]}}function j$(e){e.regex;const t=e.COMMENT(/\\(;/,/;\\)/);t.contains.push(\"self\");const n=e.COMMENT(/;;/,/$/),r=[\"anyfunc\",\"block\",\"br\",\"br_if\",\"br_table\",\"call\",\"call_indirect\",\"data\",\"drop\",\"elem\",\"else\",\"end\",\"export\",\"func\",\"global.get\",\"global.set\",\"local.get\",\"local.set\",\"local.tee\",\"get_global\",\"get_local\",\"global\",\"if\",\"import\",\"local\",\"loop\",\"memory\",\"memory.grow\",\"memory.size\",\"module\",\"mut\",\"nop\",\"offset\",\"param\",\"result\",\"return\",\"select\",\"set_global\",\"set_local\",\"start\",\"table\",\"tee_local\",\"then\",\"type\",\"unreachable\"],i={begin:[/(?:func|call|call_indirect)/,/\\s+/,/\\$[^\\s)]+/],className:{1:\"keyword\",3:\"title.function\"}},o={className:\"variable\",begin:/\\$[\\w_]+/},l={match:/(\\((?!;)|\\))+/,className:\"punctuation\",relevance:0},c={className:\"number\",relevance:0,match:/[+-]?\\b(?:\\d(?:_?\\d)*(?:\\.\\d(?:_?\\d)*)?(?:[eE][+-]?\\d(?:_?\\d)*)?|0x[\\da-fA-F](?:_?[\\da-fA-F])*(?:\\.[\\da-fA-F](?:_?[\\da-fA-D])*)?(?:[pP][+-]?\\d(?:_?\\d)*)?)\\b|\\binf\\b|\\bnan(?::0x[\\da-fA-F](?:_?[\\da-fA-D])*)?\\b/},d={match:/(i32|i64|f32|f64)(?!\\.)/,className:\"type\"},f={className:\"keyword\",match:/\\b(f32|f64|i32|i64)(?:\\.(?:abs|add|and|ceil|clz|const|convert_[su]\\/i(?:32|64)|copysign|ctz|demote\\/f64|div(?:_[su])?|eqz?|extend_[su]\\/i32|floor|ge(?:_[su])?|gt(?:_[su])?|le(?:_[su])?|load(?:(?:8|16|32)_[su])?|lt(?:_[su])?|max|min|mul|nearest|neg?|or|popcnt|promote\\/f32|reinterpret\\/[fi](?:32|64)|rem_[su]|rot[lr]|shl|shr_[su]|store(?:8|16|32)?|sqrt|sub|trunc(?:_[su]\\/f(?:32|64))?|wrap\\/i64|xor))\\b/};return{name:\"WebAssembly\",keywords:{$pattern:/[\\w.]+/,keyword:r},contains:[n,t,{match:[/(?:offset|align)/,/\\s*/,/=/],className:{1:\"keyword\",3:\"operator\"}},o,l,i,e.QUOTE_STRING_MODE,d,f,c]}}function z$(e){const t=e.regex,n=t.concat(/[\\p{L}_]/u,t.optional(/[\\p{L}0-9_.-]*:/u),/[\\p{L}0-9_.-]*/u),r=/[\\p{L}0-9._:-]+/u,i={className:\"symbol\",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\\s/,contains:[{className:\"keyword\",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\\n/}]},l=e.inherit(o,{begin:/\\(/,end:/\\)/}),c=e.inherit(e.APOS_STRING_MODE,{className:\"string\"}),d=e.inherit(e.QUOTE_STRING_MODE,{className:\"string\"}),f={endsWithParent:!0,illegal:/</,relevance:0,contains:[{className:\"attr\",begin:r,relevance:0},{begin:/=\\s*/,relevance:0,contains:[{className:\"string\",endsParent:!0,variants:[{begin:/\"/,end:/\"/,contains:[i]},{begin:/'/,end:/'/,contains:[i]},{begin:/[^\\s\"'=<>`]+/}]}]}]};return{name:\"HTML, XML\",aliases:[\"html\",\"xhtml\",\"rss\",\"atom\",\"xjb\",\"xsd\",\"xsl\",\"plist\",\"wsf\",\"svg\"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:\"meta\",begin:/<![a-z]/,end:/>/,relevance:10,contains:[o,d,c,l,{begin:/\\[/,end:/\\]/,contains:[{className:\"meta\",begin:/<![a-z]/,end:/>/,contains:[o,l,d,c]}]}]},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\\[CDATA\\[/,end:/\\]\\]>/,relevance:10},i,{className:\"meta\",end:/\\?>/,variants:[{begin:/<\\?xml/,relevance:10,contains:[d]},{begin:/<\\?[a-z][a-z0-9]+/}]},{className:\"tag\",begin:/<style(?=\\s|>)/,end:/>/,keywords:{name:\"style\"},contains:[f],starts:{end:/<\\/style>/,returnEnd:!0,subLanguage:[\"css\",\"xml\"]}},{className:\"tag\",begin:/<script(?=\\s|>)/,end:/>/,keywords:{name:\"script\"},contains:[f],starts:{end:/<\\/script>/,returnEnd:!0,subLanguage:[\"javascript\",\"handlebars\",\"xml\"]}},{className:\"tag\",begin:/<>|<\\/>/},{className:\"tag\",begin:t.concat(/</,t.lookahead(t.concat(n,t.either(/\\/>/,/>/,/\\s/)))),end:/\\/?>/,contains:[{className:\"name\",begin:n,relevance:0,starts:f}]},{className:\"tag\",begin:t.concat(/<\\//,t.lookahead(t.concat(n,/>/))),contains:[{className:\"name\",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}function $$(e){const t=\"true false yes no null\",n=\"[\\\\w#;/?:@&=+$,.~*'()[\\\\]]+\",r={className:\"attr\",variants:[{begin:/[\\w*@][\\w*@ :()\\./-]*:(?=[ \\t]|$)/},{begin:/\"[\\w*@][\\w*@ :()\\./-]*\":(?=[ \\t]|$)/},{begin:/'[\\w*@][\\w*@ :()\\./-]*':(?=[ \\t]|$)/}]},i={className:\"template-variable\",variants:[{begin:/\\{\\{/,end:/\\}\\}/},{begin:/%\\{/,end:/\\}/}]},o={className:\"string\",relevance:0,begin:/'/,end:/'/,contains:[{match:/''/,scope:\"char.escape\",relevance:0}]},l={className:\"string\",relevance:0,variants:[{begin:/\"/,end:/\"/},{begin:/\\S+/}],contains:[e.BACKSLASH_ESCAPE,i]},c=e.inherit(l,{variants:[{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]},{begin:/\"/,end:/\"/},{begin:/[^\\s,{}[\\]]+/}]}),E={className:\"number\",begin:\"\\\\b\"+\"[0-9]{4}(-[0-9][0-9]){0,2}\"+\"([Tt \\\\t][0-9][0-9]?(:[0-9][0-9]){2})?\"+\"(\\\\.[0-9]*)?\"+\"([ \\\\t])*(Z|[-+][0-9][0-9]?(:[0-9][0-9])?)?\"+\"\\\\b\"},_={end:\",\",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},x={begin:/\\{/,end:/\\}/,contains:[_],illegal:\"\\\\n\",relevance:0},S={begin:\"\\\\[\",end:\"\\\\]\",contains:[_],illegal:\"\\\\n\",relevance:0},N=[r,{className:\"meta\",begin:\"^---\\\\s*$\",relevance:10},{className:\"string\",begin:\"[\\\\|>]([1-9]?[+-])?[ ]*\\\\n( +)[^ ][^\\\\n]*\\\\n(\\\\2[^\\\\n]+\\\\n?)*\"},{begin:\"<%[%=-]?\",end:\"[%-]?%>\",subLanguage:\"ruby\",excludeBegin:!0,excludeEnd:!0,relevance:0},{className:\"type\",begin:\"!\\\\w+!\"+n},{className:\"type\",begin:\"!<\"+n+\">\"},{className:\"type\",begin:\"!\"+n},{className:\"type\",begin:\"!!\"+n},{className:\"meta\",begin:\"&\"+e.UNDERSCORE_IDENT_RE+\"$\"},{className:\"meta\",begin:\"\\\\*\"+e.UNDERSCORE_IDENT_RE+\"$\"},{className:\"bullet\",begin:\"-(?=[ ]|$)\",relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},E,{className:\"number\",begin:e.C_NUMBER_RE+\"\\\\b\",relevance:0},x,S,o,l],v=[...N];return v.pop(),v.push(c),_.contains=v,{name:\"YAML\",case_insensitive:!0,aliases:[\"yml\"],contains:N}}const q$={arduino:Az,bash:Nz,c:wz,cpp:Cz,csharp:Rz,css:Uz,diff:Fz,go:Hz,graphql:jz,ini:zz,java:$z,javascript:Kz,json:Xz,kotlin:Qz,less:i$,lua:s$,makefile:o$,markdown:l$,objectivec:u$,perl:c$,php:d$,\"php-template\":f$,plaintext:h$,python:m$,\"python-repl\":p$,r:g$,ruby:b$,rust:E$,scss:w$,shell:C$,sql:R$,swift:B$,typescript:F$,vbnet:H$,wasm:j$,xml:z$,yaml:$$};var bg,O2;function Y$(){if(O2)return bg;O2=1;function e(Y){return Y instanceof Map?Y.clear=Y.delete=Y.set=function(){throw new Error(\"map is read-only\")}:Y instanceof Set&&(Y.add=Y.clear=Y.delete=function(){throw new Error(\"set is read-only\")}),Object.freeze(Y),Object.getOwnPropertyNames(Y).forEach(pe=>{const ke=Y[pe],st=typeof ke;(st===\"object\"||st===\"function\")&&!Object.isFrozen(ke)&&e(ke)}),Y}class t{constructor(pe){pe.data===void 0&&(pe.data={}),this.data=pe.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function n(Y){return Y.replace(/&/g,\"&\").replace(/</g,\"<\").replace(/>/g,\">\").replace(/\"/g,\""\").replace(/'/g,\"'\")}function r(Y,...pe){const ke=Object.create(null);for(const st in Y)ke[st]=Y[st];return pe.forEach(function(st){for(const $ in st)ke[$]=st[$]}),ke}const i=\"</span>\",o=Y=>!!Y.scope,l=(Y,{prefix:pe})=>{if(Y.startsWith(\"language:\"))return Y.replace(\"language:\",\"language-\");if(Y.includes(\".\")){const ke=Y.split(\".\");return[`${pe}${ke.shift()}`,...ke.map((st,$)=>`${st}${\"_\".repeat($+1)}`)].join(\" \")}return`${pe}${Y}`};class c{constructor(pe,ke){this.buffer=\"\",this.classPrefix=ke.classPrefix,pe.walk(this)}addText(pe){this.buffer+=n(pe)}openNode(pe){if(!o(pe))return;const ke=l(pe.scope,{prefix:this.classPrefix});this.span(ke)}closeNode(pe){o(pe)&&(this.buffer+=i)}value(){return this.buffer}span(pe){this.buffer+=`<span class=\"${pe}\">`}}const d=(Y={})=>{const pe={children:[]};return Object.assign(pe,Y),pe};class f{constructor(){this.rootNode=d(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(pe){this.top.children.push(pe)}openNode(pe){const ke=d({scope:pe});this.add(ke),this.stack.push(ke)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(pe){return this.constructor._walk(pe,this.rootNode)}static _walk(pe,ke){return typeof ke==\"string\"?pe.addText(ke):ke.children&&(pe.openNode(ke),ke.children.forEach(st=>this._walk(pe,st)),pe.closeNode(ke)),pe}static _collapse(pe){typeof pe!=\"string\"&&pe.children&&(pe.children.every(ke=>typeof ke==\"string\")?pe.children=[pe.children.join(\"\")]:pe.children.forEach(ke=>{f._collapse(ke)}))}}class m extends f{constructor(pe){super(),this.options=pe}addText(pe){pe!==\"\"&&this.add(pe)}startScope(pe){this.openNode(pe)}endScope(){this.closeNode()}__addSublanguage(pe,ke){const st=pe.root;ke&&(st.scope=`language:${ke}`),this.add(st)}toHTML(){return new c(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function p(Y){return Y?typeof Y==\"string\"?Y:Y.source:null}function E(Y){return S(\"(?=\",Y,\")\")}function _(Y){return S(\"(?:\",Y,\")*\")}function x(Y){return S(\"(?:\",Y,\")?\")}function S(...Y){return Y.map(ke=>p(ke)).join(\"\")}function N(Y){const pe=Y[Y.length-1];return typeof pe==\"object\"&&pe.constructor===Object?(Y.splice(Y.length-1,1),pe):{}}function v(...Y){return\"(\"+(N(Y).capture?\"\":\"?:\")+Y.map(st=>p(st)).join(\"|\")+\")\"}function O(Y){return new RegExp(Y.toString()+\"|\").exec(\"\").length-1}function L(Y,pe){const ke=Y&&Y.exec(pe);return ke&&ke.index===0}const B=/\\[(?:[^\\\\\\]]|\\\\.)*\\]|\\(\\??|\\\\([1-9][0-9]*)|\\\\./;function k(Y,{joinWith:pe}){let ke=0;return Y.map(st=>{ke+=1;const $=ke;let W=p(st),G=\"\";for(;W.length>0;){const se=B.exec(W);if(!se){G+=W;break}G+=W.substring(0,se.index),W=W.substring(se.index+se[0].length),se[0][0]===\"\\\\\"&&se[1]?G+=\"\\\\\"+String(Number(se[1])+$):(G+=se[0],se[0]===\"(\"&&ke++)}return G}).map(st=>`(${st})`).join(pe)}const w=/\\b\\B/,U=\"[a-zA-Z]\\\\w*\",j=\"[a-zA-Z_]\\\\w*\",F=\"\\\\b\\\\d+(\\\\.\\\\d+)?\",M=\"(-?)(\\\\b0[xX][a-fA-F0-9]+|(\\\\b\\\\d+(\\\\.\\\\d*)?|\\\\.\\\\d+)([eE][-+]?\\\\d+)?)\",J=\"\\\\b(0b[01]+)\",X=\"!|!=|!==|%|%=|&|&&|&=|\\\\*|\\\\*=|\\\\+|\\\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\\\?|\\\\[|\\\\{|\\\\(|\\\\^|\\\\^=|\\\\||\\\\|=|\\\\|\\\\||~\",V=(Y={})=>{const pe=/^#![ ]*\\//;return Y.binary&&(Y.begin=S(pe,/.*\\b/,Y.binary,/\\b.*/)),r({scope:\"meta\",begin:pe,end:/$/,relevance:0,\"on:begin\":(ke,st)=>{ke.index!==0&&st.ignoreMatch()}},Y)},ne={begin:\"\\\\\\\\[\\\\s\\\\S]\",relevance:0},ae={scope:\"string\",begin:\"'\",end:\"'\",illegal:\"\\\\n\",contains:[ne]},Q={scope:\"string\",begin:'\"',end:'\"',illegal:\"\\\\n\",contains:[ne]},be={begin:/\\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\\b/},K=function(Y,pe,ke={}){const st=r({scope:\"comment\",begin:Y,end:pe,contains:[]},ke);st.contains.push({scope:\"doctag\",begin:\"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)\",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const $=v(\"I\",\"a\",\"is\",\"so\",\"us\",\"to\",\"at\",\"if\",\"in\",\"it\",\"on\",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return st.contains.push({begin:S(/[ ]+/,\"(\",$,/[.]?[:]?([.][ ]|[ ])/,\"){3}\")}),st},ve=K(\"//\",\"$\"),R=K(\"/\\\\*\",\"\\\\*/\"),le=K(\"#\",\"$\"),te={scope:\"number\",begin:F,relevance:0},I={scope:\"number\",begin:M,relevance:0},ce={scope:\"number\",begin:J,relevance:0},Te={scope:\"regexp\",begin:/\\/(?=[^/\\n]*\\/)/,end:/\\/[gimuy]*/,contains:[ne,{begin:/\\[/,end:/\\]/,relevance:0,contains:[ne]}]},xe={scope:\"title\",begin:U,relevance:0},Pe={scope:\"title\",begin:j,relevance:0},je={begin:\"\\\\.\\\\s*\"+j,relevance:0};var Ue=Object.freeze({__proto__:null,APOS_STRING_MODE:ae,BACKSLASH_ESCAPE:ne,BINARY_NUMBER_MODE:ce,BINARY_NUMBER_RE:J,COMMENT:K,C_BLOCK_COMMENT_MODE:R,C_LINE_COMMENT_MODE:ve,C_NUMBER_MODE:I,C_NUMBER_RE:M,END_SAME_AS_BEGIN:function(Y){return Object.assign(Y,{\"on:begin\":(pe,ke)=>{ke.data._beginMatch=pe[1]},\"on:end\":(pe,ke)=>{ke.data._beginMatch!==pe[1]&&ke.ignoreMatch()}})},HASH_COMMENT_MODE:le,IDENT_RE:U,MATCH_NOTHING_RE:w,METHOD_GUARD:je,NUMBER_MODE:te,NUMBER_RE:F,PHRASAL_WORDS_MODE:be,QUOTE_STRING_MODE:Q,REGEXP_MODE:Te,RE_STARTERS_RE:X,SHEBANG:V,TITLE_MODE:xe,UNDERSCORE_IDENT_RE:j,UNDERSCORE_TITLE_MODE:Pe});function Pt(Y,pe){Y.input[Y.index-1]===\".\"&&pe.ignoreMatch()}function mn(Y,pe){Y.className!==void 0&&(Y.scope=Y.className,delete Y.className)}function pn(Y,pe){pe&&Y.beginKeywords&&(Y.begin=\"\\\\b(\"+Y.beginKeywords.split(\" \").join(\"|\")+\")(?!\\\\.)(?=\\\\b|\\\\s)\",Y.__beforeBegin=Pt,Y.keywords=Y.keywords||Y.beginKeywords,delete Y.beginKeywords,Y.relevance===void 0&&(Y.relevance=0))}function Tn(Y,pe){Array.isArray(Y.illegal)&&(Y.illegal=v(...Y.illegal))}function fr(Y,pe){if(Y.match){if(Y.begin||Y.end)throw new Error(\"begin & end are not supported with match\");Y.begin=Y.match,delete Y.match}}function mt(Y,pe){Y.relevance===void 0&&(Y.relevance=1)}const zn=(Y,pe)=>{if(!Y.beforeMatch)return;if(Y.starts)throw new Error(\"beforeMatch cannot be used with starts\");const ke=Object.assign({},Y);Object.keys(Y).forEach(st=>{delete Y[st]}),Y.keywords=ke.keywords,Y.begin=S(ke.beforeMatch,E(ke.begin)),Y.starts={relevance:0,contains:[Object.assign(ke,{endsParent:!0})]},Y.relevance=0,delete ke.beforeMatch},$n=[\"of\",\"and\",\"for\",\"in\",\"not\",\"or\",\"if\",\"then\",\"parent\",\"list\",\"value\"],Qn=\"keyword\";function Aa(Y,pe,ke=Qn){const st=Object.create(null);return typeof Y==\"string\"?$(ke,Y.split(\" \")):Array.isArray(Y)?$(ke,Y):Object.keys(Y).forEach(function(W){Object.assign(st,Aa(Y[W],pe,W))}),st;function $(W,G){pe&&(G=G.map(se=>se.toLowerCase())),G.forEach(function(se){const me=se.split(\"|\");st[me[0]]=[W,fi(me[0],me[1])]})}}function fi(Y,pe){return pe?Number(pe):Ir(Y)?0:1}function Ir(Y){return $n.includes(Y.toLowerCase())}const ta={},dn=Y=>{console.error(Y)},Ha=(Y,...pe)=>{console.log(`WARN: ${Y}`,...pe)},de=(Y,pe)=>{ta[`${Y}/${pe}`]||(console.log(`Deprecated as of ${Y}. ${pe}`),ta[`${Y}/${pe}`]=!0)},Ne=new Error;function tt(Y,pe,{key:ke}){let st=0;const $=Y[ke],W={},G={};for(let se=1;se<=pe.length;se++)G[se+st]=$[se],W[se+st]=!0,st+=O(pe[se-1]);Y[ke]=G,Y[ke]._emit=W,Y[ke]._multi=!0}function ht(Y){if(Array.isArray(Y.begin)){if(Y.skip||Y.excludeBegin||Y.returnBegin)throw dn(\"skip, excludeBegin, returnBegin not compatible with beginScope: {}\"),Ne;if(typeof Y.beginScope!=\"object\"||Y.beginScope===null)throw dn(\"beginScope must be object\"),Ne;tt(Y,Y.begin,{key:\"beginScope\"}),Y.begin=k(Y.begin,{joinWith:\"\"})}}function It(Y){if(Array.isArray(Y.end)){if(Y.skip||Y.excludeEnd||Y.returnEnd)throw dn(\"skip, excludeEnd, returnEnd not compatible with endScope: {}\"),Ne;if(typeof Y.endScope!=\"object\"||Y.endScope===null)throw dn(\"endScope must be object\"),Ne;tt(Y,Y.end,{key:\"endScope\"}),Y.end=k(Y.end,{joinWith:\"\"})}}function ln(Y){Y.scope&&typeof Y.scope==\"object\"&&Y.scope!==null&&(Y.beginScope=Y.scope,delete Y.scope)}function yr(Y){ln(Y),typeof Y.beginScope==\"string\"&&(Y.beginScope={_wrap:Y.beginScope}),typeof Y.endScope==\"string\"&&(Y.endScope={_wrap:Y.endScope}),ht(Y),It(Y)}function An(Y){function pe(G,se){return new RegExp(p(G),\"m\"+(Y.case_insensitive?\"i\":\"\")+(Y.unicodeRegex?\"u\":\"\")+(se?\"g\":\"\"))}class ke{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(se,me){me.position=this.position++,this.matchIndexes[this.matchAt]=me,this.regexes.push([me,se]),this.matchAt+=O(se)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const se=this.regexes.map(me=>me[1]);this.matcherRe=pe(k(se,{joinWith:\"|\"}),!0),this.lastIndex=0}exec(se){this.matcherRe.lastIndex=this.lastIndex;const me=this.matcherRe.exec(se);if(!me)return null;const Ie=me.findIndex((Fe,Xe)=>Xe>0&&Fe!==void 0),Le=this.matchIndexes[Ie];return me.splice(0,Ie),Object.assign(me,Le)}}class st{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(se){if(this.multiRegexes[se])return this.multiRegexes[se];const me=new ke;return this.rules.slice(se).forEach(([Ie,Le])=>me.addRule(Ie,Le)),me.compile(),this.multiRegexes[se]=me,me}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(se,me){this.rules.push([se,me]),me.type===\"begin\"&&this.count++}exec(se){const me=this.getMatcher(this.regexIndex);me.lastIndex=this.lastIndex;let Ie=me.exec(se);if(this.resumingScanAtSamePosition()&&!(Ie&&Ie.index===this.lastIndex)){const Le=this.getMatcher(0);Le.lastIndex=this.lastIndex+1,Ie=Le.exec(se)}return Ie&&(this.regexIndex+=Ie.position+1,this.regexIndex===this.count&&this.considerAll()),Ie}}function $(G){const se=new st;return G.contains.forEach(me=>se.addRule(me.begin,{rule:me,type:\"begin\"})),G.terminatorEnd&&se.addRule(G.terminatorEnd,{type:\"end\"}),G.illegal&&se.addRule(G.illegal,{type:\"illegal\"}),se}function W(G,se){const me=G;if(G.isCompiled)return me;[mn,fr,yr,zn].forEach(Le=>Le(G,se)),Y.compilerExtensions.forEach(Le=>Le(G,se)),G.__beforeBegin=null,[pn,Tn,mt].forEach(Le=>Le(G,se)),G.isCompiled=!0;let Ie=null;return typeof G.keywords==\"object\"&&G.keywords.$pattern&&(G.keywords=Object.assign({},G.keywords),Ie=G.keywords.$pattern,delete G.keywords.$pattern),Ie=Ie||/\\w+/,G.keywords&&(G.keywords=Aa(G.keywords,Y.case_insensitive)),me.keywordPatternRe=pe(Ie,!0),se&&(G.begin||(G.begin=/\\B|\\b/),me.beginRe=pe(me.begin),!G.end&&!G.endsWithParent&&(G.end=/\\B|\\b/),G.end&&(me.endRe=pe(me.end)),me.terminatorEnd=p(me.end)||\"\",G.endsWithParent&&se.terminatorEnd&&(me.terminatorEnd+=(G.end?\"|\":\"\")+se.terminatorEnd)),G.illegal&&(me.illegalRe=pe(G.illegal)),G.contains||(G.contains=[]),G.contains=[].concat(...G.contains.map(function(Le){return Na(Le===\"self\"?G:Le)})),G.contains.forEach(function(Le){W(Le,me)}),G.starts&&W(G.starts,se),me.matcher=$(me),me}if(Y.compilerExtensions||(Y.compilerExtensions=[]),Y.contains&&Y.contains.includes(\"self\"))throw new Error(\"ERR: contains `self` is not supported at the top-level of a language. See documentation.\");return Y.classNameAliases=r(Y.classNameAliases||{}),W(Y)}function on(Y){return Y?Y.endsWithParent||on(Y.starts):!1}function Na(Y){return Y.variants&&!Y.cachedVariants&&(Y.cachedVariants=Y.variants.map(function(pe){return r(Y,{variants:null},pe)})),Y.cachedVariants?Y.cachedVariants:on(Y)?r(Y,{starts:Y.starts?r(Y.starts):null}):Object.isFrozen(Y)?r(Y):Y}var Kt=\"11.11.1\";class Xt extends Error{constructor(pe,ke){super(pe),this.name=\"HTMLInjectionError\",this.html=ke}}const qn=n,ji=r,Lo=Symbol(\"nomatch\"),hi=7,mi=function(Y){const pe=Object.create(null),ke=Object.create(null),st=[];let $=!0;const W=\"Could not find the language '{}', did you forget to load/include a language module?\",G={disableAutodetect:!0,name:\"Plain text\",contains:[]};let se={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\\blang(?:uage)?-([\\w-]+)\\b/i,classPrefix:\"hljs-\",cssSelector:\"pre code\",languages:null,__emitter:m};function me(ye){return se.noHighlightRe.test(ye)}function Ie(ye){let Ve=ye.className+\" \";Ve+=ye.parentNode?ye.parentNode.className:\"\";const ut=se.languageDetectRe.exec(Ve);if(ut){const ot=un(ut[1]);return ot||(Ha(W.replace(\"{}\",ut[1])),Ha(\"Falling back to no-highlight mode for this block.\",ye)),ot?ut[1]:\"no-highlight\"}return Ve.split(/\\s+/).find(ot=>me(ot)||un(ot))}function Le(ye,Ve,ut){let ot=\"\",Jt=\"\";typeof Ve==\"object\"?(ot=ye,ut=Ve.ignoreIllegals,Jt=Ve.language):(de(\"10.7.0\",\"highlight(lang, code, ...args) has been deprecated.\"),de(\"10.7.0\",`Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277`),Jt=ye,ot=Ve),ut===void 0&&(ut=!0);const Bn={code:ot,language:Jt};Jn(\"before:highlight\",Bn);const mr=Bn.result?Bn.result:Fe(Bn.language,Bn.code,ut);return mr.code=Bn.code,Jn(\"after:highlight\",mr),mr}function Fe(ye,Ve,ut,ot){const Jt=Object.create(null);function Bn(De,Ke){return De.keywords[Ke]}function mr(){if(!at.keywords){Cn.addText(qt);return}let De=0;at.keywordPatternRe.lastIndex=0;let Ke=at.keywordPatternRe.exec(qt),lt=\"\";for(;Ke;){lt+=qt.substring(De,Ke.index);const Rt=er.case_insensitive?Ke[0].toLowerCase():Ke[0],Un=Bn(at,Rt);if(Un){const[Br,cd]=Un;if(Cn.addText(lt),lt=\"\",Jt[Rt]=(Jt[Rt]||0)+1,Jt[Rt]<=hi&&(zi+=cd),Br.startsWith(\"_\"))lt+=Ke[0];else{const Fs=er.classNameAliases[Br]||Br;Pr(Ke[0],Fs)}}else lt+=Ke[0];De=at.keywordPatternRe.lastIndex,Ke=at.keywordPatternRe.exec(qt)}lt+=qt.substring(De),Cn.addText(lt)}function _r(){if(qt===\"\")return;let De=null;if(typeof at.subLanguage==\"string\"){if(!pe[at.subLanguage]){Cn.addText(qt);return}De=Fe(at.subLanguage,qt,!0,ud[at.subLanguage]),ud[at.subLanguage]=De._top}else De=Ge(qt,at.subLanguage.length?at.subLanguage:null);at.relevance>0&&(zi+=De.relevance),Cn.__addSublanguage(De._emitter,De.language)}function en(){at.subLanguage!=null?_r():mr(),qt=\"\"}function Pr(De,Ke){De!==\"\"&&(Cn.startScope(Ke),Cn.addText(De),Cn.endScope())}function od(De,Ke){let lt=1;const Rt=Ke.length-1;for(;lt<=Rt;){if(!De._emit[lt]){lt++;continue}const Un=er.classNameAliases[De[lt]]||De[lt],Br=Ke[lt];Un?Pr(Br,Un):(qt=Br,mr(),qt=\"\"),lt++}}function Bs(De,Ke){return De.scope&&typeof De.scope==\"string\"&&Cn.openNode(er.classNameAliases[De.scope]||De.scope),De.beginScope&&(De.beginScope._wrap?(Pr(qt,er.classNameAliases[De.beginScope._wrap]||De.beginScope._wrap),qt=\"\"):De.beginScope._multi&&(od(De.beginScope,Ke),qt=\"\")),at=Object.create(De,{parent:{value:at}}),at}function au(De,Ke,lt){let Rt=L(De.endRe,lt);if(Rt){if(De[\"on:end\"]){const Un=new t(De);De[\"on:end\"](Ke,Un),Un.isMatchIgnored&&(Rt=!1)}if(Rt){for(;De.endsParent&&De.parent;)De=De.parent;return De}}if(De.endsWithParent)return au(De.parent,Ke,lt)}function Io(De){return at.matcher.regexIndex===0?(qt+=De[0],1):($i=!0,0)}function hm(De){const Ke=De[0],lt=De.rule,Rt=new t(lt),Un=[lt.__beforeBegin,lt[\"on:begin\"]];for(const Br of Un)if(Br&&(Br(De,Rt),Rt.isMatchIgnored))return Io(Ke);return lt.skip?qt+=Ke:(lt.excludeBegin&&(qt+=Ke),en(),!lt.returnBegin&&!lt.excludeBegin&&(qt=Ke)),Bs(lt,De),lt.returnBegin?0:Ke.length}function Tr(De){const Ke=De[0],lt=Ve.substring(De.index),Rt=au(at,De,lt);if(!Rt)return Lo;const Un=at;at.endScope&&at.endScope._wrap?(en(),Pr(Ke,at.endScope._wrap)):at.endScope&&at.endScope._multi?(en(),od(at.endScope,De)):Un.skip?qt+=Ke:(Un.returnEnd||Un.excludeEnd||(qt+=Ke),en(),Un.excludeEnd&&(qt=Ke));do at.scope&&Cn.closeNode(),!at.skip&&!at.subLanguage&&(zi+=at.relevance),at=at.parent;while(at!==Rt.parent);return Rt.starts&&Bs(Rt.starts,De),Un.returnEnd?0:Ke.length}function iu(){const De=[];for(let Ke=at;Ke!==er;Ke=Ke.parent)Ke.scope&&De.unshift(Ke.scope);De.forEach(Ke=>Cn.openNode(Ke))}let Us={};function Do(De,Ke){const lt=Ke&&Ke[0];if(qt+=De,lt==null)return en(),0;if(Us.type===\"begin\"&&Ke.type===\"end\"&&Us.index===Ke.index&<===\"\"){if(qt+=Ve.slice(Ke.index,Ke.index+1),!$){const Rt=new Error(`0 width match regex (${ye})`);throw Rt.languageName=ye,Rt.badRule=Us.rule,Rt}return 1}if(Us=Ke,Ke.type===\"begin\")return hm(Ke);if(Ke.type===\"illegal\"&&!ut){const Rt=new Error('Illegal lexeme \"'+lt+'\" for mode \"'+(at.scope||\"<unnamed>\")+'\"');throw Rt.mode=at,Rt}else if(Ke.type===\"end\"){const Rt=Tr(Ke);if(Rt!==Lo)return Rt}if(Ke.type===\"illegal\"&<===\"\")return qt+=`\n`,1;if(su>1e5&&su>Ke.index*3)throw new Error(\"potential infinite loop, way more iterations than matches\");return qt+=lt,lt.length}const er=un(ye);if(!er)throw dn(W.replace(\"{}\",ye)),new Error('Unknown language: \"'+ye+'\"');const ld=An(er);let Mo=\"\",at=ot||ld;const ud={},Cn=new se.__emitter(se);iu();let qt=\"\",zi=0,gi=0,su=0,$i=!1;try{if(er.__emitTokens)er.__emitTokens(Ve,Cn);else{for(at.matcher.considerAll();;){su++,$i?$i=!1:at.matcher.considerAll(),at.matcher.lastIndex=gi;const De=at.matcher.exec(Ve);if(!De)break;const Ke=Ve.substring(gi,De.index),lt=Do(Ke,De);gi=De.index+lt}Do(Ve.substring(gi))}return Cn.finalize(),Mo=Cn.toHTML(),{language:ye,value:Mo,relevance:zi,illegal:!1,_emitter:Cn,_top:at}}catch(De){if(De.message&&De.message.includes(\"Illegal\"))return{language:ye,value:qn(Ve),illegal:!0,relevance:0,_illegalBy:{message:De.message,index:gi,context:Ve.slice(gi-100,gi+100),mode:De.mode,resultSoFar:Mo},_emitter:Cn};if($)return{language:ye,value:qn(Ve),illegal:!1,relevance:0,errorRaised:De,_emitter:Cn,_top:at};throw De}}function Xe(ye){const Ve={value:qn(ye),illegal:!1,relevance:0,_top:G,_emitter:new se.__emitter(se)};return Ve._emitter.addText(ye),Ve}function Ge(ye,Ve){Ve=Ve||se.languages||Object.keys(pe);const ut=Xe(ye),ot=Ve.filter(un).filter(Mr).map(en=>Fe(en,ye,!1));ot.unshift(ut);const Jt=ot.sort((en,Pr)=>{if(en.relevance!==Pr.relevance)return Pr.relevance-en.relevance;if(en.language&&Pr.language){if(un(en.language).supersetOf===Pr.language)return 1;if(un(Pr.language).supersetOf===en.language)return-1}return 0}),[Bn,mr]=Jt,_r=Bn;return _r.secondBest=mr,_r}function He(ye,Ve,ut){const ot=Ve&&ke[Ve]||ut;ye.classList.add(\"hljs\"),ye.classList.add(`language-${ot}`)}function Me(ye){let Ve=null;const ut=Ie(ye);if(me(ut))return;if(Jn(\"before:highlightElement\",{el:ye,language:ut}),ye.dataset.highlighted){console.log(\"Element previously highlighted. To highlight again, first unset `dataset.highlighted`.\",ye);return}if(ye.children.length>0&&(se.ignoreUnescapedHTML||(console.warn(\"One of your code blocks includes unescaped HTML. This is a potentially serious security risk.\"),console.warn(\"https://github.com/highlightjs/highlight.js/wiki/security\"),console.warn(\"The element with unescaped HTML:\"),console.warn(ye)),se.throwUnescapedHTML))throw new Xt(\"One of your code blocks includes unescaped HTML.\",ye.innerHTML);Ve=ye;const ot=Ve.textContent,Jt=ut?Le(ot,{language:ut,ignoreIllegals:!0}):Ge(ot);ye.innerHTML=Jt.value,ye.dataset.highlighted=\"yes\",He(ye,ut,Jt.language),ye.result={language:Jt.language,re:Jt.relevance,relevance:Jt.relevance},Jt.secondBest&&(ye.secondBest={language:Jt.secondBest.language,relevance:Jt.secondBest.relevance}),Jn(\"after:highlightElement\",{el:ye,result:Jt,text:ot})}function rt(ye){se=ji(se,ye)}const zt=()=>{$t(),de(\"10.6.0\",\"initHighlighting() deprecated. Use highlightAll() now.\")};function Nn(){$t(),de(\"10.6.0\",\"initHighlightingOnLoad() deprecated. Use highlightAll() now.\")}let wn=!1;function $t(){function ye(){$t()}if(document.readyState===\"loading\"){wn||window.addEventListener(\"DOMContentLoaded\",ye,!1),wn=!0;return}document.querySelectorAll(se.cssSelector).forEach(Me)}function Bt(ye,Ve){let ut=null;try{ut=Ve(Y)}catch(ot){if(dn(\"Language definition for '{}' could not be registered.\".replace(\"{}\",ye)),$)dn(ot);else throw ot;ut=G}ut.name||(ut.name=ye),pe[ye]=ut,ut.rawDefinition=Ve.bind(null,Y),ut.aliases&&Pn(ut.aliases,{languageName:ye})}function Dr(ye){delete pe[ye];for(const Ve of Object.keys(ke))ke[Ve]===ye&&delete ke[Ve]}function hr(){return Object.keys(pe)}function un(ye){return ye=(ye||\"\").toLowerCase(),pe[ye]||pe[ke[ye]]}function Pn(ye,{languageName:Ve}){typeof ye==\"string\"&&(ye=[ye]),ye.forEach(ut=>{ke[ut.toLowerCase()]=Ve})}function Mr(ye){const Ve=un(ye);return Ve&&!Ve.disableAutodetect}function Zt(ye){ye[\"before:highlightBlock\"]&&!ye[\"before:highlightElement\"]&&(ye[\"before:highlightElement\"]=Ve=>{ye[\"before:highlightBlock\"](Object.assign({block:Ve.el},Ve))}),ye[\"after:highlightBlock\"]&&!ye[\"after:highlightElement\"]&&(ye[\"after:highlightElement\"]=Ve=>{ye[\"after:highlightBlock\"](Object.assign({block:Ve.el},Ve))})}function na(ye){Zt(ye),st.push(ye)}function pi(ye){const Ve=st.indexOf(ye);Ve!==-1&&st.splice(Ve,1)}function Jn(ye,Ve){const ut=ye;st.forEach(function(ot){ot[ut]&&ot[ut](Ve)})}function At(ye){return de(\"10.7.0\",\"highlightBlock will be removed entirely in v12.0\"),de(\"10.7.0\",\"Please use highlightElement now.\"),Me(ye)}Object.assign(Y,{highlight:Le,highlightAuto:Ge,highlightAll:$t,highlightElement:Me,highlightBlock:At,configure:rt,initHighlighting:zt,initHighlightingOnLoad:Nn,registerLanguage:Bt,unregisterLanguage:Dr,listLanguages:hr,getLanguage:un,registerAliases:Pn,autoDetection:Mr,inherit:ji,addPlugin:na,removePlugin:pi}),Y.debugMode=function(){$=!1},Y.safeMode=function(){$=!0},Y.versionString=Kt,Y.regex={concat:S,lookahead:E,either:v,optional:x,anyNumberOfTimes:_};for(const ye in Ue)typeof Ue[ye]==\"object\"&&e(Ue[ye]);return Object.assign(Y,Ue),Y},Zn=mi({});return Zn.newInstance=()=>mi({}),bg=Zn,Zn.HighlightJS=Zn,Zn.default=Zn,bg}var G$=Y$();const V$=zl(G$),k2={},K$=\"hljs-\";function X$(e){const t=V$.newInstance();return e&&o(e),{highlight:n,highlightAuto:r,listLanguages:i,register:o,registerAlias:l,registered:c};function n(d,f,m){const p=m||k2,E=typeof p.prefix==\"string\"?p.prefix:K$;if(!t.getLanguage(d))throw new Error(\"Unknown language: `\"+d+\"` is not registered\");t.configure({__emitter:W$,classPrefix:E});const _=t.highlight(f,{ignoreIllegals:!0,language:d});if(_.errorRaised)throw new Error(\"Could not highlight with `Highlight.js`\",{cause:_.errorRaised});const x=_._emitter.root,S=x.data;return S.language=_.language,S.relevance=_.relevance,x}function r(d,f){const p=(f||k2).subset||i();let E=-1,_=0,x;for(;++E<p.length;){const S=p[E];if(!t.getLanguage(S))continue;const N=n(S,d,f);N.data&&N.data.relevance!==void 0&&N.data.relevance>_&&(_=N.data.relevance,x=N)}return x||{type:\"root\",children:[],data:{language:void 0,relevance:_}}}function i(){return t.listLanguages()}function o(d,f){if(typeof d==\"string\")t.registerLanguage(d,f);else{let m;for(m in d)Object.hasOwn(d,m)&&t.registerLanguage(m,d[m])}}function l(d,f){if(typeof d==\"string\")t.registerAliases(typeof f==\"string\"?f:[...f],{languageName:d});else{let m;for(m in d)if(Object.hasOwn(d,m)){const p=d[m];t.registerAliases(typeof p==\"string\"?p:[...p],{languageName:m})}}}function c(d){return!!t.getLanguage(d)}}class W${constructor(t){this.options=t,this.root={type:\"root\",children:[],data:{language:void 0,relevance:0}},this.stack=[this.root]}addText(t){if(t===\"\")return;const n=this.stack[this.stack.length-1],r=n.children[n.children.length-1];r&&r.type===\"text\"?r.value+=t:n.children.push({type:\"text\",value:t})}startScope(t){this.openNode(String(t))}endScope(){this.closeNode()}__addSublanguage(t,n){const r=this.stack[this.stack.length-1],i=t.root.children;n?r.children.push({type:\"element\",tagName:\"span\",properties:{className:[n]},children:i}):r.children.push(...i)}openNode(t){const n=this,r=t.split(\".\").map(function(l,c){return c?l+\"_\".repeat(c):n.options.classPrefix+l}),i=this.stack[this.stack.length-1],o={type:\"element\",tagName:\"span\",properties:{className:r},children:[]};i.children.push(o),this.stack.push(o)}closeNode(){this.stack.pop()}finalize(){}toHTML(){return\"\"}}const Q$={};function Z$(e){const t=e||Q$,n=t.aliases,r=t.detect||!1,i=t.languages||q$,o=t.plainText,l=t.prefix,c=t.subset;let d=\"hljs\";const f=X$(i);if(n&&f.registerAlias(n),l){const m=l.indexOf(\"-\");d=m===-1?l:l.slice(0,m)}return function(m,p){td(m,\"element\",function(E,_,x){if(E.tagName!==\"code\"||!x||x.type!==\"element\"||x.tagName!==\"pre\")return;const S=J$(E);if(S===!1||!S&&!r||S&&o&&o.includes(S))return;Array.isArray(E.properties.className)||(E.properties.className=[]),E.properties.className.includes(d)||E.properties.className.unshift(d);const N=bz(E,{whitespace:\"pre\"});let v;try{v=S?f.highlight(S,N,{prefix:l}):f.highlightAuto(N,{prefix:l,subset:c})}catch(O){const L=O;if(S&&/Unknown language/.test(L.message)){p.message(\"Cannot highlight as `\"+S+\"`, it’s not registered\",{ancestors:[x,E],cause:L,place:E.position,ruleId:\"missing-language\",source:\"rehype-highlight\"});return}throw L}!S&&v.data&&v.data.language&&E.properties.className.push(\"language-\"+v.data.language),v.children.length>0&&(E.children=v.children)})}}function J$(e){const t=e.properties.className;let n=-1;if(!Array.isArray(t))return;let r;for(;++n<t.length;){const i=String(t[n]);if(i===\"no-highlight\"||i===\"nohighlight\")return!1;!r&&i.slice(0,5)===\"lang-\"&&(r=i.slice(5)),!r&&i.slice(0,9)===\"language-\"&&(r=i.slice(9))}return r}const L2=/[#.]/g;function eq(e,t){const n=e||\"\",r={};let i=0,o,l;for(;i<n.length;){L2.lastIndex=i;const c=L2.exec(n),d=n.slice(i,c?c.index:n.length);d&&(o?o===\"#\"?r.id=d:Array.isArray(r.className)?r.className.push(d):r.className=[d]:l=d,i+=d.length),c&&(o=c[0],i++)}return{type:\"element\",tagName:l||t||\"div\",properties:r,children:[]}}function nR(e,t,n){const r=n?aq(n):void 0;function i(o,l,...c){let d;if(o==null){d={type:\"root\",children:[]};const f=l;c.unshift(f)}else{d=eq(o,t);const f=d.tagName.toLowerCase(),m=r?r.get(f):void 0;if(d.tagName=m||f,tq(l))c.unshift(l);else for(const[p,E]of Object.entries(l))nq(e,d.properties,p,E)}for(const f of c)Mb(d.children,f);return d.type===\"element\"&&d.tagName===\"template\"&&(d.content={type:\"root\",children:d.children},d.children=[]),d}return i}function tq(e){if(e===null||typeof e!=\"object\"||Array.isArray(e))return!0;if(typeof e.type!=\"string\")return!1;const t=e,n=Object.keys(e);for(const r of n){const i=t[r];if(i&&typeof i==\"object\"){if(!Array.isArray(i))return!0;const o=i;for(const l of o)if(typeof l!=\"number\"&&typeof l!=\"string\")return!0}}return!!(\"children\"in e&&Array.isArray(e.children))}function nq(e,t,n,r){const i=GE(e,n);let o;if(r!=null){if(typeof r==\"number\"){if(Number.isNaN(r))return;o=r}else typeof r==\"boolean\"?o=r:typeof r==\"string\"?i.spaceSeparated?o=jx(r):i.commaSeparated?o=Px(r):i.commaOrSpaceSeparated?o=jx(Px(r).join(\" \")):o=I2(i,i.property,r):Array.isArray(r)?o=[...r]:o=i.property===\"style\"?rq(r):String(r);if(Array.isArray(o)){const l=[];for(const c of o)l.push(I2(i,i.property,c));o=l}i.property===\"className\"&&Array.isArray(t.className)&&(o=t.className.concat(o)),t[i.property]=o}}function Mb(e,t){if(t!=null)if(typeof t==\"number\"||typeof t==\"string\")e.push({type:\"text\",value:String(t)});else if(Array.isArray(t))for(const n of t)Mb(e,n);else if(typeof t==\"object\"&&\"type\"in t)t.type===\"root\"?Mb(e,t.children):e.push(t);else throw new Error(\"Expected node, nodes, or string, got `\"+t+\"`\")}function I2(e,t,n){if(typeof n==\"string\"){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(n===\"\"||Pc(n)===Pc(t)))return!0}return n}function rq(e){const t=[];for(const[n,r]of Object.entries(e))t.push([n,r].join(\": \"));return t.join(\"; \")}function aq(e){const t=new Map;for(const n of e)t.set(n.toLowerCase(),n);return t}const iq=[\"altGlyph\",\"altGlyphDef\",\"altGlyphItem\",\"animateColor\",\"animateMotion\",\"animateTransform\",\"clipPath\",\"feBlend\",\"feColorMatrix\",\"feComponentTransfer\",\"feComposite\",\"feConvolveMatrix\",\"feDiffuseLighting\",\"feDisplacementMap\",\"feDistantLight\",\"feDropShadow\",\"feFlood\",\"feFuncA\",\"feFuncB\",\"feFuncG\",\"feFuncR\",\"feGaussianBlur\",\"feImage\",\"feMerge\",\"feMergeNode\",\"feMorphology\",\"feOffset\",\"fePointLight\",\"feSpecularLighting\",\"feSpotLight\",\"feTile\",\"feTurbulence\",\"foreignObject\",\"glyphRef\",\"linearGradient\",\"radialGradient\",\"solidColor\",\"textArea\",\"textPath\"],sq=nR(nm,\"div\"),oq=nR(Zl,\"g\",iq);function lq(e){const t=String(e),n=[];return{toOffset:i,toPoint:r};function r(o){if(typeof o==\"number\"&&o>-1&&o<=t.length){let l=0;for(;;){let c=n[l];if(c===void 0){const d=D2(t,n[l-1]);c=d===-1?t.length+1:d+1,n[l]=c}if(c>o)return{line:l+1,column:o-(l>0?n[l-1]:0)+1,offset:o};l++}}}function i(o){if(o&&typeof o.line==\"number\"&&typeof o.column==\"number\"&&!Number.isNaN(o.line)&&!Number.isNaN(o.column)){for(;n.length<o.line;){const c=n[n.length-1],d=D2(t,c),f=d===-1?t.length+1:d+1;if(c===f)break;n.push(f)}const l=(o.line>1?n[o.line-2]:0)+o.column-1;if(l<n[o.line-1])return l}}}function D2(e,t){const n=e.indexOf(\"\\r\",t),r=e.indexOf(`\n`,t);return r===-1?n:n===-1||n+1===r?r:n<r?n:r}const ho={html:\"http://www.w3.org/1999/xhtml\",mathml:\"http://www.w3.org/1998/Math/MathML\",svg:\"http://www.w3.org/2000/svg\",xlink:\"http://www.w3.org/1999/xlink\",xml:\"http://www.w3.org/XML/1998/namespace\",xmlns:\"http://www.w3.org/2000/xmlns/\"},rR={}.hasOwnProperty,uq=Object.prototype;function cq(e,t){const n=t||{};return s1({file:n.file||void 0,location:!1,schema:n.space===\"svg\"?Zl:nm,verbose:n.verbose||!1},e)}function s1(e,t){let n;switch(t.nodeName){case\"#comment\":{const r=t;return n={type:\"comment\",value:r.data},Kf(e,r,n),n}case\"#document\":case\"#document-fragment\":{const r=t,i=\"mode\"in r?r.mode===\"quirks\"||r.mode===\"limited-quirks\":!1;if(n={type:\"root\",children:aR(e,t.childNodes),data:{quirksMode:i}},e.file&&e.location){const o=String(e.file),l=lq(o),c=l.toPoint(0),d=l.toPoint(o.length);n.position={start:c,end:d}}return n}case\"#documentType\":{const r=t;return n={type:\"doctype\"},Kf(e,r,n),n}case\"#text\":{const r=t;return n={type:\"text\",value:r.value},Kf(e,r,n),n}default:return n=dq(e,t),n}}function aR(e,t){let n=-1;const r=[];for(;++n<t.length;){const i=s1(e,t[n]);r.push(i)}return r}function dq(e,t){const n=e.schema;e.schema=t.namespaceURI===ho.svg?Zl:nm;let r=-1;const i={};for(;++r<t.attrs.length;){const c=t.attrs[r],d=(c.prefix?c.prefix+\":\":\"\")+c.name;rR.call(uq,d)||(i[d]=c.value)}const l=(e.schema.space===\"svg\"?oq:sq)(t.tagName,i,aR(e,t.childNodes));if(Kf(e,t,l),l.tagName===\"template\"){const c=t,d=c.sourceCodeLocation,f=d&&d.startTag&&vl(d.startTag),m=d&&d.endTag&&vl(d.endTag),p=s1(e,c.content);f&&m&&e.file&&(p.position={start:f.end,end:m.start}),l.content=p}return e.schema=n,l}function Kf(e,t,n){if(\"sourceCodeLocation\"in t&&t.sourceCodeLocation&&e.file){const r=fq(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function fq(e,t,n){const r=vl(n);if(t.type===\"element\"){const i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){const o={};let l;if(n.attrs)for(l in n.attrs)rR.call(n.attrs,l)&&(o[GE(e.schema,l).property]=vl(n.attrs[l]));n.startTag;const c=vl(n.startTag),d=n.endTag?vl(n.endTag):void 0,f={opening:c};d&&(f.closing=d),f.properties=o,t.data={position:f}}}return r}function vl(e){const t=M2({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=M2({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function M2(e){return e.line&&e.column?e:void 0}class rd{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}rd.prototype.property={};rd.prototype.normal={};rd.prototype.space=null;function iR(e,t){const n={},r={};let i=-1;for(;++i<e.length;)Object.assign(n,e[i].property),Object.assign(r,e[i].normal);return new rd(n,r,t)}function Pb(e){return e.toLowerCase()}class Sa{constructor(t,n){this.property=t,this.attribute=n}}Sa.prototype.space=null;Sa.prototype.boolean=!1;Sa.prototype.booleanish=!1;Sa.prototype.overloadedBoolean=!1;Sa.prototype.number=!1;Sa.prototype.commaSeparated=!1;Sa.prototype.spaceSeparated=!1;Sa.prototype.commaOrSpaceSeparated=!1;Sa.prototype.mustUseProperty=!1;Sa.prototype.defined=!1;let hq=0;const pt=Oo(),In=Oo(),sR=Oo(),Re=Oo(),an=Oo(),wl=Oo(),qr=Oo();function Oo(){return 2**++hq}const Bb=Object.freeze(Object.defineProperty({__proto__:null,boolean:pt,booleanish:In,commaOrSpaceSeparated:qr,commaSeparated:wl,number:Re,overloadedBoolean:sR,spaceSeparated:an},Symbol.toStringTag,{value:\"Module\"})),Eg=Object.keys(Bb);class o1 extends Sa{constructor(t,n,r,i){let o=-1;if(super(t,n),P2(this,\"space\",i),typeof r==\"number\")for(;++o<Eg.length;){const l=Eg[o];P2(this,Eg[o],(r&Bb[l])===Bb[l])}}}o1.prototype.defined=!0;function P2(e,t,n){n&&(e[t]=n)}const mq={}.hasOwnProperty;function eu(e){const t={},n={};let r;for(r in e.properties)if(mq.call(e.properties,r)){const i=e.properties[r],o=new o1(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[Pb(r)]=r,n[Pb(o.attribute)]=r}return new rd(t,n,e.space)}const oR=eu({space:\"xlink\",transform(e,t){return\"xlink:\"+t.slice(5).toLowerCase()},properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),lR=eu({space:\"xml\",transform(e,t){return\"xml:\"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function uR(e,t){return t in e?e[t]:t}function cR(e,t){return uR(e,t.toLowerCase())}const dR=eu({space:\"xmlns\",attributes:{xmlnsxlink:\"xmlns:xlink\"},transform:cR,properties:{xmlns:null,xmlnsXLink:null}}),fR=eu({transform(e,t){return t===\"role\"?t:\"aria-\"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:In,ariaAutoComplete:null,ariaBusy:In,ariaChecked:In,ariaColCount:Re,ariaColIndex:Re,ariaColSpan:Re,ariaControls:an,ariaCurrent:null,ariaDescribedBy:an,ariaDetails:null,ariaDisabled:In,ariaDropEffect:an,ariaErrorMessage:null,ariaExpanded:In,ariaFlowTo:an,ariaGrabbed:In,ariaHasPopup:null,ariaHidden:In,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:an,ariaLevel:Re,ariaLive:null,ariaModal:In,ariaMultiLine:In,ariaMultiSelectable:In,ariaOrientation:null,ariaOwns:an,ariaPlaceholder:null,ariaPosInSet:Re,ariaPressed:In,ariaReadOnly:In,ariaRelevant:null,ariaRequired:In,ariaRoleDescription:an,ariaRowCount:Re,ariaRowIndex:Re,ariaRowSpan:Re,ariaSelected:In,ariaSetSize:Re,ariaSort:null,ariaValueMax:Re,ariaValueMin:Re,ariaValueNow:Re,ariaValueText:null,role:null}}),pq=eu({space:\"html\",attributes:{acceptcharset:\"accept-charset\",classname:\"class\",htmlfor:\"for\",httpequiv:\"http-equiv\"},transform:cR,mustUseProperty:[\"checked\",\"multiple\",\"muted\",\"selected\"],properties:{abbr:null,accept:wl,acceptCharset:an,accessKey:an,action:null,allow:null,allowFullScreen:pt,allowPaymentRequest:pt,allowUserMedia:pt,alt:null,as:null,async:pt,autoCapitalize:null,autoComplete:an,autoFocus:pt,autoPlay:pt,blocking:an,capture:null,charSet:null,checked:pt,cite:null,className:an,cols:Re,colSpan:null,content:null,contentEditable:In,controls:pt,controlsList:an,coords:Re|wl,crossOrigin:null,data:null,dateTime:null,decoding:null,default:pt,defer:pt,dir:null,dirName:null,disabled:pt,download:sR,draggable:In,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:pt,formTarget:null,headers:an,height:Re,hidden:pt,high:Re,href:null,hrefLang:null,htmlFor:an,httpEquiv:an,id:null,imageSizes:null,imageSrcSet:null,inert:pt,inputMode:null,integrity:null,is:null,isMap:pt,itemId:null,itemProp:an,itemRef:an,itemScope:pt,itemType:an,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:pt,low:Re,manifest:null,max:null,maxLength:Re,media:null,method:null,min:null,minLength:Re,multiple:pt,muted:pt,name:null,nonce:null,noModule:pt,noValidate:pt,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:pt,optimum:Re,pattern:null,ping:an,placeholder:null,playsInline:pt,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:pt,referrerPolicy:null,rel:an,required:pt,reversed:pt,rows:Re,rowSpan:Re,sandbox:an,scope:null,scoped:pt,seamless:pt,selected:pt,shadowRootClonable:pt,shadowRootDelegatesFocus:pt,shadowRootMode:null,shape:null,size:Re,sizes:null,slot:null,span:Re,spellCheck:In,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Re,step:null,style:null,tabIndex:Re,target:null,title:null,translate:null,type:null,typeMustMatch:pt,useMap:null,value:In,width:Re,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:an,axis:null,background:null,bgColor:null,border:Re,borderColor:null,bottomMargin:Re,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:pt,declare:pt,event:null,face:null,frame:null,frameBorder:null,hSpace:Re,leftMargin:Re,link:null,longDesc:null,lowSrc:null,marginHeight:Re,marginWidth:Re,noResize:pt,noHref:pt,noShade:pt,noWrap:pt,object:null,profile:null,prompt:null,rev:null,rightMargin:Re,rules:null,scheme:null,scrolling:In,standby:null,summary:null,text:null,topMargin:Re,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Re,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:pt,disableRemotePlayback:pt,prefix:null,property:null,results:Re,security:null,unselectable:null}}),gq=eu({space:\"svg\",attributes:{accentHeight:\"accent-height\",alignmentBaseline:\"alignment-baseline\",arabicForm:\"arabic-form\",baselineShift:\"baseline-shift\",capHeight:\"cap-height\",className:\"class\",clipPath:\"clip-path\",clipRule:\"clip-rule\",colorInterpolation:\"color-interpolation\",colorInterpolationFilters:\"color-interpolation-filters\",colorProfile:\"color-profile\",colorRendering:\"color-rendering\",crossOrigin:\"crossorigin\",dataType:\"datatype\",dominantBaseline:\"dominant-baseline\",enableBackground:\"enable-background\",fillOpacity:\"fill-opacity\",fillRule:\"fill-rule\",floodColor:\"flood-color\",floodOpacity:\"flood-opacity\",fontFamily:\"font-family\",fontSize:\"font-size\",fontSizeAdjust:\"font-size-adjust\",fontStretch:\"font-stretch\",fontStyle:\"font-style\",fontVariant:\"font-variant\",fontWeight:\"font-weight\",glyphName:\"glyph-name\",glyphOrientationHorizontal:\"glyph-orientation-horizontal\",glyphOrientationVertical:\"glyph-orientation-vertical\",hrefLang:\"hreflang\",horizAdvX:\"horiz-adv-x\",horizOriginX:\"horiz-origin-x\",horizOriginY:\"horiz-origin-y\",imageRendering:\"image-rendering\",letterSpacing:\"letter-spacing\",lightingColor:\"lighting-color\",markerEnd:\"marker-end\",markerMid:\"marker-mid\",markerStart:\"marker-start\",navDown:\"nav-down\",navDownLeft:\"nav-down-left\",navDownRight:\"nav-down-right\",navLeft:\"nav-left\",navNext:\"nav-next\",navPrev:\"nav-prev\",navRight:\"nav-right\",navUp:\"nav-up\",navUpLeft:\"nav-up-left\",navUpRight:\"nav-up-right\",onAbort:\"onabort\",onActivate:\"onactivate\",onAfterPrint:\"onafterprint\",onBeforePrint:\"onbeforeprint\",onBegin:\"onbegin\",onCancel:\"oncancel\",onCanPlay:\"oncanplay\",onCanPlayThrough:\"oncanplaythrough\",onChange:\"onchange\",onClick:\"onclick\",onClose:\"onclose\",onCopy:\"oncopy\",onCueChange:\"oncuechange\",onCut:\"oncut\",onDblClick:\"ondblclick\",onDrag:\"ondrag\",onDragEnd:\"ondragend\",onDragEnter:\"ondragenter\",onDragExit:\"ondragexit\",onDragLeave:\"ondragleave\",onDragOver:\"ondragover\",onDragStart:\"ondragstart\",onDrop:\"ondrop\",onDurationChange:\"ondurationchange\",onEmptied:\"onemptied\",onEnd:\"onend\",onEnded:\"onended\",onError:\"onerror\",onFocus:\"onfocus\",onFocusIn:\"onfocusin\",onFocusOut:\"onfocusout\",onHashChange:\"onhashchange\",onInput:\"oninput\",onInvalid:\"oninvalid\",onKeyDown:\"onkeydown\",onKeyPress:\"onkeypress\",onKeyUp:\"onkeyup\",onLoad:\"onload\",onLoadedData:\"onloadeddata\",onLoadedMetadata:\"onloadedmetadata\",onLoadStart:\"onloadstart\",onMessage:\"onmessage\",onMouseDown:\"onmousedown\",onMouseEnter:\"onmouseenter\",onMouseLeave:\"onmouseleave\",onMouseMove:\"onmousemove\",onMouseOut:\"onmouseout\",onMouseOver:\"onmouseover\",onMouseUp:\"onmouseup\",onMouseWheel:\"onmousewheel\",onOffline:\"onoffline\",onOnline:\"ononline\",onPageHide:\"onpagehide\",onPageShow:\"onpageshow\",onPaste:\"onpaste\",onPause:\"onpause\",onPlay:\"onplay\",onPlaying:\"onplaying\",onPopState:\"onpopstate\",onProgress:\"onprogress\",onRateChange:\"onratechange\",onRepeat:\"onrepeat\",onReset:\"onreset\",onResize:\"onresize\",onScroll:\"onscroll\",onSeeked:\"onseeked\",onSeeking:\"onseeking\",onSelect:\"onselect\",onShow:\"onshow\",onStalled:\"onstalled\",onStorage:\"onstorage\",onSubmit:\"onsubmit\",onSuspend:\"onsuspend\",onTimeUpdate:\"ontimeupdate\",onToggle:\"ontoggle\",onUnload:\"onunload\",onVolumeChange:\"onvolumechange\",onWaiting:\"onwaiting\",onZoom:\"onzoom\",overlinePosition:\"overline-position\",overlineThickness:\"overline-thickness\",paintOrder:\"paint-order\",panose1:\"panose-1\",pointerEvents:\"pointer-events\",referrerPolicy:\"referrerpolicy\",renderingIntent:\"rendering-intent\",shapeRendering:\"shape-rendering\",stopColor:\"stop-color\",stopOpacity:\"stop-opacity\",strikethroughPosition:\"strikethrough-position\",strikethroughThickness:\"strikethrough-thickness\",strokeDashArray:\"stroke-dasharray\",strokeDashOffset:\"stroke-dashoffset\",strokeLineCap:\"stroke-linecap\",strokeLineJoin:\"stroke-linejoin\",strokeMiterLimit:\"stroke-miterlimit\",strokeOpacity:\"stroke-opacity\",strokeWidth:\"stroke-width\",tabIndex:\"tabindex\",textAnchor:\"text-anchor\",textDecoration:\"text-decoration\",textRendering:\"text-rendering\",transformOrigin:\"transform-origin\",typeOf:\"typeof\",underlinePosition:\"underline-position\",underlineThickness:\"underline-thickness\",unicodeBidi:\"unicode-bidi\",unicodeRange:\"unicode-range\",unitsPerEm:\"units-per-em\",vAlphabetic:\"v-alphabetic\",vHanging:\"v-hanging\",vIdeographic:\"v-ideographic\",vMathematical:\"v-mathematical\",vectorEffect:\"vector-effect\",vertAdvY:\"vert-adv-y\",vertOriginX:\"vert-origin-x\",vertOriginY:\"vert-origin-y\",wordSpacing:\"word-spacing\",writingMode:\"writing-mode\",xHeight:\"x-height\",playbackOrder:\"playbackorder\",timelineBegin:\"timelinebegin\"},transform:uR,properties:{about:qr,accentHeight:Re,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Re,amplitude:Re,arabicForm:null,ascent:Re,attributeName:null,attributeType:null,azimuth:Re,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Re,by:null,calcMode:null,capHeight:Re,className:an,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Re,diffuseConstant:Re,direction:null,display:null,dur:null,divisor:Re,dominantBaseline:null,download:pt,dx:null,dy:null,edgeMode:null,editable:null,elevation:Re,enableBackground:null,end:null,event:null,exponent:Re,externalResourcesRequired:null,fill:null,fillOpacity:Re,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:wl,g2:wl,glyphName:wl,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Re,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Re,horizOriginX:Re,horizOriginY:Re,id:null,ideographic:Re,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Re,k:Re,k1:Re,k2:Re,k3:Re,k4:Re,kernelMatrix:qr,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Re,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Re,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Re,overlineThickness:Re,paintOrder:null,panose1:null,path:null,pathLength:Re,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:an,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Re,pointsAtY:Re,pointsAtZ:Re,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:qr,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:qr,rev:qr,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:qr,requiredFeatures:qr,requiredFonts:qr,requiredFormats:qr,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Re,specularExponent:Re,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Re,strikethroughThickness:Re,string:null,stroke:null,strokeDashArray:qr,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Re,strokeOpacity:Re,strokeWidth:null,style:null,surfaceScale:Re,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:qr,tabIndex:Re,tableValues:null,target:null,targetX:Re,targetY:Re,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:qr,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Re,underlineThickness:Re,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Re,values:null,vAlphabetic:Re,vMathematical:Re,vectorEffect:null,vHanging:Re,vIdeographic:Re,version:null,vertAdvY:Re,vertOriginX:Re,vertOriginY:Re,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Re,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),bq=/^data[-\\w.:]+$/i,B2=/-[a-z]/g,Eq=/[A-Z]/g;function yq(e,t){const n=Pb(t);let r=t,i=Sa;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)===\"data\"&&bq.test(t)){if(t.charAt(4)===\"-\"){const o=t.slice(5).replace(B2,Tq);r=\"data\"+o.charAt(0).toUpperCase()+o.slice(1)}else{const o=t.slice(4);if(!B2.test(o)){let l=o.replace(Eq,_q);l.charAt(0)!==\"-\"&&(l=\"-\"+l),t=\"data\"+l}}i=o1}return new i(r,t)}function _q(e){return\"-\"+e.toLowerCase()}function Tq(e){return e.charAt(1).toUpperCase()}const vq=iR([lR,oR,dR,fR,pq],\"html\"),hR=iR([lR,oR,dR,fR,gq],\"svg\"),U2={}.hasOwnProperty;function mR(e,t){const n=t||{};function r(i,...o){let l=r.invalid;const c=r.handlers;if(i&&U2.call(i,e)){const d=String(i[e]);l=U2.call(c,d)?c[d]:r.unknown}if(l)return l.call(this,i,...o)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const xq={},Sq={}.hasOwnProperty,pR=mR(\"type\",{handlers:{root:Nq,element:kq,text:Rq,comment:Oq,doctype:Cq}});function Aq(e,t){const r=(t||xq).space;return pR(e,r===\"svg\"?hR:vq)}function Nq(e,t){const n={nodeName:\"#document\",mode:(e.data||{}).quirksMode?\"quirks\":\"no-quirks\",childNodes:[]};return n.childNodes=l1(e.children,n,t),tu(e,n),n}function wq(e,t){const n={nodeName:\"#document-fragment\",childNodes:[]};return n.childNodes=l1(e.children,n,t),tu(e,n),n}function Cq(e){const t={nodeName:\"#documentType\",name:\"html\",publicId:\"\",systemId:\"\",parentNode:null};return tu(e,t),t}function Rq(e){const t={nodeName:\"#text\",value:e.value,parentNode:null};return tu(e,t),t}function Oq(e){const t={nodeName:\"#comment\",data:e.value,parentNode:null};return tu(e,t),t}function kq(e,t){const n=t;let r=n;e.type===\"element\"&&e.tagName.toLowerCase()===\"svg\"&&n.space===\"html\"&&(r=hR);const i=[];let o;if(e.properties){for(o in e.properties)if(o!==\"children\"&&Sq.call(e.properties,o)){const d=Lq(r,o,e.properties[o]);d&&i.push(d)}}const l=r.space,c={nodeName:e.tagName,tagName:e.tagName,attrs:i,namespaceURI:ho[l],childNodes:[],parentNode:null};return c.childNodes=l1(e.children,c,r),tu(e,c),e.tagName===\"template\"&&e.content&&(c.content=wq(e.content,r)),c}function Lq(e,t,n){const r=yq(e,t);if(n===!1||n===null||n===void 0||typeof n==\"number\"&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?Jw(n):oC(n));const i={name:r.attribute,value:n===!0?\"\":String(n)};if(r.space&&r.space!==\"html\"&&r.space!==\"svg\"){const o=i.name.indexOf(\":\");o<0?i.prefix=\"\":(i.name=i.name.slice(o+1),i.prefix=r.attribute.slice(0,o)),i.namespace=ho[r.space]}return i}function l1(e,t,n){let r=-1;const i=[];if(e)for(;++r<e.length;){const o=pR(e[r],n);o.parentNode=t,i.push(o)}return i}function tu(e,t){const n=e.position;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}const Iq=[\"area\",\"base\",\"basefont\",\"bgsound\",\"br\",\"col\",\"command\",\"embed\",\"frame\",\"hr\",\"image\",\"img\",\"input\",\"keygen\",\"link\",\"meta\",\"param\",\"source\",\"track\",\"wbr\"],Dq=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),cn=\"�\";var P;(function(e){e[e.EOF=-1]=\"EOF\",e[e.NULL=0]=\"NULL\",e[e.TABULATION=9]=\"TABULATION\",e[e.CARRIAGE_RETURN=13]=\"CARRIAGE_RETURN\",e[e.LINE_FEED=10]=\"LINE_FEED\",e[e.FORM_FEED=12]=\"FORM_FEED\",e[e.SPACE=32]=\"SPACE\",e[e.EXCLAMATION_MARK=33]=\"EXCLAMATION_MARK\",e[e.QUOTATION_MARK=34]=\"QUOTATION_MARK\",e[e.AMPERSAND=38]=\"AMPERSAND\",e[e.APOSTROPHE=39]=\"APOSTROPHE\",e[e.HYPHEN_MINUS=45]=\"HYPHEN_MINUS\",e[e.SOLIDUS=47]=\"SOLIDUS\",e[e.DIGIT_0=48]=\"DIGIT_0\",e[e.DIGIT_9=57]=\"DIGIT_9\",e[e.SEMICOLON=59]=\"SEMICOLON\",e[e.LESS_THAN_SIGN=60]=\"LESS_THAN_SIGN\",e[e.EQUALS_SIGN=61]=\"EQUALS_SIGN\",e[e.GREATER_THAN_SIGN=62]=\"GREATER_THAN_SIGN\",e[e.QUESTION_MARK=63]=\"QUESTION_MARK\",e[e.LATIN_CAPITAL_A=65]=\"LATIN_CAPITAL_A\",e[e.LATIN_CAPITAL_Z=90]=\"LATIN_CAPITAL_Z\",e[e.RIGHT_SQUARE_BRACKET=93]=\"RIGHT_SQUARE_BRACKET\",e[e.GRAVE_ACCENT=96]=\"GRAVE_ACCENT\",e[e.LATIN_SMALL_A=97]=\"LATIN_SMALL_A\",e[e.LATIN_SMALL_Z=122]=\"LATIN_SMALL_Z\"})(P||(P={}));const Sr={DASH_DASH:\"--\",CDATA_START:\"[CDATA[\",DOCTYPE:\"doctype\",SCRIPT:\"script\",PUBLIC:\"public\",SYSTEM:\"system\"};function gR(e){return e>=55296&&e<=57343}function Mq(e){return e>=56320&&e<=57343}function Pq(e,t){return(e-55296)*1024+9216+t}function bR(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function ER(e){return e>=64976&&e<=65007||Dq.has(e)}var he;(function(e){e.controlCharacterInInputStream=\"control-character-in-input-stream\",e.noncharacterInInputStream=\"noncharacter-in-input-stream\",e.surrogateInInputStream=\"surrogate-in-input-stream\",e.nonVoidHtmlElementStartTagWithTrailingSolidus=\"non-void-html-element-start-tag-with-trailing-solidus\",e.endTagWithAttributes=\"end-tag-with-attributes\",e.endTagWithTrailingSolidus=\"end-tag-with-trailing-solidus\",e.unexpectedSolidusInTag=\"unexpected-solidus-in-tag\",e.unexpectedNullCharacter=\"unexpected-null-character\",e.unexpectedQuestionMarkInsteadOfTagName=\"unexpected-question-mark-instead-of-tag-name\",e.invalidFirstCharacterOfTagName=\"invalid-first-character-of-tag-name\",e.unexpectedEqualsSignBeforeAttributeName=\"unexpected-equals-sign-before-attribute-name\",e.missingEndTagName=\"missing-end-tag-name\",e.unexpectedCharacterInAttributeName=\"unexpected-character-in-attribute-name\",e.unknownNamedCharacterReference=\"unknown-named-character-reference\",e.missingSemicolonAfterCharacterReference=\"missing-semicolon-after-character-reference\",e.unexpectedCharacterAfterDoctypeSystemIdentifier=\"unexpected-character-after-doctype-system-identifier\",e.unexpectedCharacterInUnquotedAttributeValue=\"unexpected-character-in-unquoted-attribute-value\",e.eofBeforeTagName=\"eof-before-tag-name\",e.eofInTag=\"eof-in-tag\",e.missingAttributeValue=\"missing-attribute-value\",e.missingWhitespaceBetweenAttributes=\"missing-whitespace-between-attributes\",e.missingWhitespaceAfterDoctypePublicKeyword=\"missing-whitespace-after-doctype-public-keyword\",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers=\"missing-whitespace-between-doctype-public-and-system-identifiers\",e.missingWhitespaceAfterDoctypeSystemKeyword=\"missing-whitespace-after-doctype-system-keyword\",e.missingQuoteBeforeDoctypePublicIdentifier=\"missing-quote-before-doctype-public-identifier\",e.missingQuoteBeforeDoctypeSystemIdentifier=\"missing-quote-before-doctype-system-identifier\",e.missingDoctypePublicIdentifier=\"missing-doctype-public-identifier\",e.missingDoctypeSystemIdentifier=\"missing-doctype-system-identifier\",e.abruptDoctypePublicIdentifier=\"abrupt-doctype-public-identifier\",e.abruptDoctypeSystemIdentifier=\"abrupt-doctype-system-identifier\",e.cdataInHtmlContent=\"cdata-in-html-content\",e.incorrectlyOpenedComment=\"incorrectly-opened-comment\",e.eofInScriptHtmlCommentLikeText=\"eof-in-script-html-comment-like-text\",e.eofInDoctype=\"eof-in-doctype\",e.nestedComment=\"nested-comment\",e.abruptClosingOfEmptyComment=\"abrupt-closing-of-empty-comment\",e.eofInComment=\"eof-in-comment\",e.incorrectlyClosedComment=\"incorrectly-closed-comment\",e.eofInCdata=\"eof-in-cdata\",e.absenceOfDigitsInNumericCharacterReference=\"absence-of-digits-in-numeric-character-reference\",e.nullCharacterReference=\"null-character-reference\",e.surrogateCharacterReference=\"surrogate-character-reference\",e.characterReferenceOutsideUnicodeRange=\"character-reference-outside-unicode-range\",e.controlCharacterReference=\"control-character-reference\",e.noncharacterCharacterReference=\"noncharacter-character-reference\",e.missingWhitespaceBeforeDoctypeName=\"missing-whitespace-before-doctype-name\",e.missingDoctypeName=\"missing-doctype-name\",e.invalidCharacterSequenceAfterDoctypeName=\"invalid-character-sequence-after-doctype-name\",e.duplicateAttribute=\"duplicate-attribute\",e.nonConformingDoctype=\"non-conforming-doctype\",e.missingDoctype=\"missing-doctype\",e.misplacedDoctype=\"misplaced-doctype\",e.endTagWithoutMatchingOpenElement=\"end-tag-without-matching-open-element\",e.closingOfElementWithOpenChildElements=\"closing-of-element-with-open-child-elements\",e.disallowedContentInNoscriptInHead=\"disallowed-content-in-noscript-in-head\",e.openElementsLeftAfterEof=\"open-elements-left-after-eof\",e.abandonedHeadElementChild=\"abandoned-head-element-child\",e.misplacedStartTagForHeadElement=\"misplaced-start-tag-for-head-element\",e.nestedNoscriptInHead=\"nested-noscript-in-head\",e.eofInElementThatCanContainOnlyText=\"eof-in-element-that-can-contain-only-text\"})(he||(he={}));const Bq=65536;class Uq{constructor(t){this.handler=t,this.html=\"\",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Bq,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,n){const{line:r,col:i,offset:o}=this,l=i+n,c=o+n;return{code:t,startLine:r,endLine:r,startCol:l,endCol:l,startOffset:c,endOffset:c}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const n=this.html.charCodeAt(this.pos+1);if(Mq(n))return this.pos++,this._addGap(),Pq(t,n)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,P.EOF;return this._err(he.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,n){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=n}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,n){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(n)return this.html.startsWith(t,this.pos);for(let r=0;r<t.length;r++)if((this.html.charCodeAt(this.pos+r)|32)!==t.charCodeAt(r))return!1;return!0}peek(t){const n=this.pos+t;if(n>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,P.EOF;const r=this.html.charCodeAt(n);return r===P.CARRIAGE_RETURN?P.LINE_FEED:r}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,P.EOF;let t=this.html.charCodeAt(this.pos);return t===P.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,P.LINE_FEED):t===P.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,gR(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===P.LINE_FEED||t===P.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){bR(t)?this._err(he.controlCharacterInInputStream):ER(t)&&this._err(he.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var vt;(function(e){e[e.CHARACTER=0]=\"CHARACTER\",e[e.NULL_CHARACTER=1]=\"NULL_CHARACTER\",e[e.WHITESPACE_CHARACTER=2]=\"WHITESPACE_CHARACTER\",e[e.START_TAG=3]=\"START_TAG\",e[e.END_TAG=4]=\"END_TAG\",e[e.COMMENT=5]=\"COMMENT\",e[e.DOCTYPE=6]=\"DOCTYPE\",e[e.EOF=7]=\"EOF\",e[e.HIBERNATION=8]=\"HIBERNATION\"})(vt||(vt={}));function yR(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}const Fq=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\\0\\0\\0\\0\\0\\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\\0\\0\\0͔͂\\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\\0\\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\\0\\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\\0ц\\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\\0\\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\\0\\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\\0ֿ\\0\\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\\0ࣃbleBracket;柦nǔࣈ\\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻\"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\\0စbleBracket;柧nǔည\\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\\0\\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\\0ጬጱ\\0\\0\\0\\0\\0ጸጽ፷ᎅ\\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\\0ᖰᖶᖿ\\0\\0\\0\\0ᗆᗛᗫᙟ᙭\\0ᚕ᚛ᚲᚹ\\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\\0\\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\\0\\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\\0ᠳƲᠯ\\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\\0᧨ᨑᨕᨲ\\0ᨷᩐ\\0\\0᪴\\0\\0᫁\\0\\0ᬡᬮ᭒\\0᯽\\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\\0\\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\\0\\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\\0\\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\\0\\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\\0\\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\\0\\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\\0\\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\\0ᾞ\\0ᾡᾧ\\0\\0ῆῌ\\0ΐ\\0ῦῪ \\0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\\0\\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\\0⁐β•‥‧\\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\\0‶;慔;慖ʴ‾⁁\\0\\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\\0⊪\\0⊸⋅⋎\\0⋕⋳\\0\\0⋸⌢⍧⍢⍿\\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\\0⒪\\0⒱\\0\\0\\0\\0\\0⒵Ⓔ\\0ⓆⓈⓍ\\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\\0\\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0ⴭ\\0ⴸⵈⵠⵥⶄᬇ\\0\\0ⶍⶫ\\0ⷈⷎ\\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\\0\\0\\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\\0\\0⺀⺝\\0⺢⺹\\0\\0⻋ຜ\\0⼓\\0\\0⼫⾼\\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\\0\\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\\0㍺㎤\\0\\0㏬㏰\\0㐨㑈㑚㒭㒱㓊㓱\\0㘖\\0\\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\\0\\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\\0㙾㛂\\0\\0\\0\\0\\0㛛㜃\\0㜉㝬\\0\\0\\0㞇ɲ㙖\\0\\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\\0\\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\\0\\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\\0㪋\\0㪐㪛\\0\\0㪝㪨㪫㪯\\0\\0㫃㫎\\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split(\"\").map(e=>e.charCodeAt(0))),Hq=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function jq(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Hq.get(e))!==null&&t!==void 0?t:e}var Wn;(function(e){e[e.NUM=35]=\"NUM\",e[e.SEMI=59]=\"SEMI\",e[e.EQUALS=61]=\"EQUALS\",e[e.ZERO=48]=\"ZERO\",e[e.NINE=57]=\"NINE\",e[e.LOWER_A=97]=\"LOWER_A\",e[e.LOWER_F=102]=\"LOWER_F\",e[e.LOWER_X=120]=\"LOWER_X\",e[e.LOWER_Z=122]=\"LOWER_Z\",e[e.UPPER_A=65]=\"UPPER_A\",e[e.UPPER_F=70]=\"UPPER_F\",e[e.UPPER_Z=90]=\"UPPER_Z\"})(Wn||(Wn={}));const zq=32;var _s;(function(e){e[e.VALUE_LENGTH=49152]=\"VALUE_LENGTH\",e[e.BRANCH_LENGTH=16256]=\"BRANCH_LENGTH\",e[e.JUMP_TABLE=127]=\"JUMP_TABLE\"})(_s||(_s={}));function Ub(e){return e>=Wn.ZERO&&e<=Wn.NINE}function $q(e){return e>=Wn.UPPER_A&&e<=Wn.UPPER_F||e>=Wn.LOWER_A&&e<=Wn.LOWER_F}function qq(e){return e>=Wn.UPPER_A&&e<=Wn.UPPER_Z||e>=Wn.LOWER_A&&e<=Wn.LOWER_Z||Ub(e)}function Yq(e){return e===Wn.EQUALS||qq(e)}var Kn;(function(e){e[e.EntityStart=0]=\"EntityStart\",e[e.NumericStart=1]=\"NumericStart\",e[e.NumericDecimal=2]=\"NumericDecimal\",e[e.NumericHex=3]=\"NumericHex\",e[e.NamedEntity=4]=\"NamedEntity\"})(Kn||(Kn={}));var Di;(function(e){e[e.Legacy=0]=\"Legacy\",e[e.Strict=1]=\"Strict\",e[e.Attribute=2]=\"Attribute\"})(Di||(Di={}));class Gq{constructor(t,n,r){this.decodeTree=t,this.emitCodePoint=n,this.errors=r,this.state=Kn.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Di.Strict}startEntity(t){this.decodeMode=t,this.state=Kn.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,n){switch(this.state){case Kn.EntityStart:return t.charCodeAt(n)===Wn.NUM?(this.state=Kn.NumericStart,this.consumed+=1,this.stateNumericStart(t,n+1)):(this.state=Kn.NamedEntity,this.stateNamedEntity(t,n));case Kn.NumericStart:return this.stateNumericStart(t,n);case Kn.NumericDecimal:return this.stateNumericDecimal(t,n);case Kn.NumericHex:return this.stateNumericHex(t,n);case Kn.NamedEntity:return this.stateNamedEntity(t,n)}}stateNumericStart(t,n){return n>=t.length?-1:(t.charCodeAt(n)|zq)===Wn.LOWER_X?(this.state=Kn.NumericHex,this.consumed+=1,this.stateNumericHex(t,n+1)):(this.state=Kn.NumericDecimal,this.stateNumericDecimal(t,n))}addToNumericResult(t,n,r,i){if(n!==r){const o=r-n;this.result=this.result*Math.pow(i,o)+Number.parseInt(t.substr(n,o),i),this.consumed+=o}}stateNumericHex(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(Ub(i)||$q(i))n+=1;else return this.addToNumericResult(t,r,n,16),this.emitNumericEntity(i,3)}return this.addToNumericResult(t,r,n,16),-1}stateNumericDecimal(t,n){const r=n;for(;n<t.length;){const i=t.charCodeAt(n);if(Ub(i))n+=1;else return this.addToNumericResult(t,r,n,10),this.emitNumericEntity(i,2)}return this.addToNumericResult(t,r,n,10),-1}emitNumericEntity(t,n){var r;if(this.consumed<=n)return(r=this.errors)===null||r===void 0||r.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Wn.SEMI)this.consumed+=1;else if(this.decodeMode===Di.Strict)return 0;return this.emitCodePoint(jq(this.result),this.consumed),this.errors&&(t!==Wn.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,n){const{decodeTree:r}=this;let i=r[this.treeIndex],o=(i&_s.VALUE_LENGTH)>>14;for(;n<t.length;n++,this.excess++){const l=t.charCodeAt(n);if(this.treeIndex=Vq(r,i,this.treeIndex+Math.max(1,o),l),this.treeIndex<0)return this.result===0||this.decodeMode===Di.Attribute&&(o===0||Yq(l))?0:this.emitNotTerminatedNamedEntity();if(i=r[this.treeIndex],o=(i&_s.VALUE_LENGTH)>>14,o!==0){if(l===Wn.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess);this.decodeMode!==Di.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:n,decodeTree:r}=this,i=(r[n]&_s.VALUE_LENGTH)>>14;return this.emitNamedEntityData(n,i,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,n,r){const{decodeTree:i}=this;return this.emitCodePoint(n===1?i[t]&~_s.VALUE_LENGTH:i[t+1],r),n===3&&this.emitCodePoint(i[t+2],r),r}end(){var t;switch(this.state){case Kn.NamedEntity:return this.result!==0&&(this.decodeMode!==Di.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case Kn.NumericDecimal:return this.emitNumericEntity(0,2);case Kn.NumericHex:return this.emitNumericEntity(0,3);case Kn.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Kn.EntityStart:return 0}}}function Vq(e,t,n,r){const i=(t&_s.BRANCH_LENGTH)>>7,o=t&_s.JUMP_TABLE;if(i===0)return o!==0&&r===o?n:-1;if(o){const d=r-o;return d<0||d>=i?-1:e[n+d]-1}let l=n,c=l+i-1;for(;l<=c;){const d=l+c>>>1,f=e[d];if(f<r)l=d+1;else if(f>r)c=d-1;else return e[d+i]}return-1}var Ae;(function(e){e.HTML=\"http://www.w3.org/1999/xhtml\",e.MATHML=\"http://www.w3.org/1998/Math/MathML\",e.SVG=\"http://www.w3.org/2000/svg\",e.XLINK=\"http://www.w3.org/1999/xlink\",e.XML=\"http://www.w3.org/XML/1998/namespace\",e.XMLNS=\"http://www.w3.org/2000/xmlns/\"})(Ae||(Ae={}));var po;(function(e){e.TYPE=\"type\",e.ACTION=\"action\",e.ENCODING=\"encoding\",e.PROMPT=\"prompt\",e.NAME=\"name\",e.COLOR=\"color\",e.FACE=\"face\",e.SIZE=\"size\"})(po||(po={}));var pa;(function(e){e.NO_QUIRKS=\"no-quirks\",e.QUIRKS=\"quirks\",e.LIMITED_QUIRKS=\"limited-quirks\"})(pa||(pa={}));var ie;(function(e){e.A=\"a\",e.ADDRESS=\"address\",e.ANNOTATION_XML=\"annotation-xml\",e.APPLET=\"applet\",e.AREA=\"area\",e.ARTICLE=\"article\",e.ASIDE=\"aside\",e.B=\"b\",e.BASE=\"base\",e.BASEFONT=\"basefont\",e.BGSOUND=\"bgsound\",e.BIG=\"big\",e.BLOCKQUOTE=\"blockquote\",e.BODY=\"body\",e.BR=\"br\",e.BUTTON=\"button\",e.CAPTION=\"caption\",e.CENTER=\"center\",e.CODE=\"code\",e.COL=\"col\",e.COLGROUP=\"colgroup\",e.DD=\"dd\",e.DESC=\"desc\",e.DETAILS=\"details\",e.DIALOG=\"dialog\",e.DIR=\"dir\",e.DIV=\"div\",e.DL=\"dl\",e.DT=\"dt\",e.EM=\"em\",e.EMBED=\"embed\",e.FIELDSET=\"fieldset\",e.FIGCAPTION=\"figcaption\",e.FIGURE=\"figure\",e.FONT=\"font\",e.FOOTER=\"footer\",e.FOREIGN_OBJECT=\"foreignObject\",e.FORM=\"form\",e.FRAME=\"frame\",e.FRAMESET=\"frameset\",e.H1=\"h1\",e.H2=\"h2\",e.H3=\"h3\",e.H4=\"h4\",e.H5=\"h5\",e.H6=\"h6\",e.HEAD=\"head\",e.HEADER=\"header\",e.HGROUP=\"hgroup\",e.HR=\"hr\",e.HTML=\"html\",e.I=\"i\",e.IMG=\"img\",e.IMAGE=\"image\",e.INPUT=\"input\",e.IFRAME=\"iframe\",e.KEYGEN=\"keygen\",e.LABEL=\"label\",e.LI=\"li\",e.LINK=\"link\",e.LISTING=\"listing\",e.MAIN=\"main\",e.MALIGNMARK=\"malignmark\",e.MARQUEE=\"marquee\",e.MATH=\"math\",e.MENU=\"menu\",e.META=\"meta\",e.MGLYPH=\"mglyph\",e.MI=\"mi\",e.MO=\"mo\",e.MN=\"mn\",e.MS=\"ms\",e.MTEXT=\"mtext\",e.NAV=\"nav\",e.NOBR=\"nobr\",e.NOFRAMES=\"noframes\",e.NOEMBED=\"noembed\",e.NOSCRIPT=\"noscript\",e.OBJECT=\"object\",e.OL=\"ol\",e.OPTGROUP=\"optgroup\",e.OPTION=\"option\",e.P=\"p\",e.PARAM=\"param\",e.PLAINTEXT=\"plaintext\",e.PRE=\"pre\",e.RB=\"rb\",e.RP=\"rp\",e.RT=\"rt\",e.RTC=\"rtc\",e.RUBY=\"ruby\",e.S=\"s\",e.SCRIPT=\"script\",e.SEARCH=\"search\",e.SECTION=\"section\",e.SELECT=\"select\",e.SOURCE=\"source\",e.SMALL=\"small\",e.SPAN=\"span\",e.STRIKE=\"strike\",e.STRONG=\"strong\",e.STYLE=\"style\",e.SUB=\"sub\",e.SUMMARY=\"summary\",e.SUP=\"sup\",e.TABLE=\"table\",e.TBODY=\"tbody\",e.TEMPLATE=\"template\",e.TEXTAREA=\"textarea\",e.TFOOT=\"tfoot\",e.TD=\"td\",e.TH=\"th\",e.THEAD=\"thead\",e.TITLE=\"title\",e.TR=\"tr\",e.TRACK=\"track\",e.TT=\"tt\",e.U=\"u\",e.UL=\"ul\",e.SVG=\"svg\",e.VAR=\"var\",e.WBR=\"wbr\",e.XMP=\"xmp\"})(ie||(ie={}));var T;(function(e){e[e.UNKNOWN=0]=\"UNKNOWN\",e[e.A=1]=\"A\",e[e.ADDRESS=2]=\"ADDRESS\",e[e.ANNOTATION_XML=3]=\"ANNOTATION_XML\",e[e.APPLET=4]=\"APPLET\",e[e.AREA=5]=\"AREA\",e[e.ARTICLE=6]=\"ARTICLE\",e[e.ASIDE=7]=\"ASIDE\",e[e.B=8]=\"B\",e[e.BASE=9]=\"BASE\",e[e.BASEFONT=10]=\"BASEFONT\",e[e.BGSOUND=11]=\"BGSOUND\",e[e.BIG=12]=\"BIG\",e[e.BLOCKQUOTE=13]=\"BLOCKQUOTE\",e[e.BODY=14]=\"BODY\",e[e.BR=15]=\"BR\",e[e.BUTTON=16]=\"BUTTON\",e[e.CAPTION=17]=\"CAPTION\",e[e.CENTER=18]=\"CENTER\",e[e.CODE=19]=\"CODE\",e[e.COL=20]=\"COL\",e[e.COLGROUP=21]=\"COLGROUP\",e[e.DD=22]=\"DD\",e[e.DESC=23]=\"DESC\",e[e.DETAILS=24]=\"DETAILS\",e[e.DIALOG=25]=\"DIALOG\",e[e.DIR=26]=\"DIR\",e[e.DIV=27]=\"DIV\",e[e.DL=28]=\"DL\",e[e.DT=29]=\"DT\",e[e.EM=30]=\"EM\",e[e.EMBED=31]=\"EMBED\",e[e.FIELDSET=32]=\"FIELDSET\",e[e.FIGCAPTION=33]=\"FIGCAPTION\",e[e.FIGURE=34]=\"FIGURE\",e[e.FONT=35]=\"FONT\",e[e.FOOTER=36]=\"FOOTER\",e[e.FOREIGN_OBJECT=37]=\"FOREIGN_OBJECT\",e[e.FORM=38]=\"FORM\",e[e.FRAME=39]=\"FRAME\",e[e.FRAMESET=40]=\"FRAMESET\",e[e.H1=41]=\"H1\",e[e.H2=42]=\"H2\",e[e.H3=43]=\"H3\",e[e.H4=44]=\"H4\",e[e.H5=45]=\"H5\",e[e.H6=46]=\"H6\",e[e.HEAD=47]=\"HEAD\",e[e.HEADER=48]=\"HEADER\",e[e.HGROUP=49]=\"HGROUP\",e[e.HR=50]=\"HR\",e[e.HTML=51]=\"HTML\",e[e.I=52]=\"I\",e[e.IMG=53]=\"IMG\",e[e.IMAGE=54]=\"IMAGE\",e[e.INPUT=55]=\"INPUT\",e[e.IFRAME=56]=\"IFRAME\",e[e.KEYGEN=57]=\"KEYGEN\",e[e.LABEL=58]=\"LABEL\",e[e.LI=59]=\"LI\",e[e.LINK=60]=\"LINK\",e[e.LISTING=61]=\"LISTING\",e[e.MAIN=62]=\"MAIN\",e[e.MALIGNMARK=63]=\"MALIGNMARK\",e[e.MARQUEE=64]=\"MARQUEE\",e[e.MATH=65]=\"MATH\",e[e.MENU=66]=\"MENU\",e[e.META=67]=\"META\",e[e.MGLYPH=68]=\"MGLYPH\",e[e.MI=69]=\"MI\",e[e.MO=70]=\"MO\",e[e.MN=71]=\"MN\",e[e.MS=72]=\"MS\",e[e.MTEXT=73]=\"MTEXT\",e[e.NAV=74]=\"NAV\",e[e.NOBR=75]=\"NOBR\",e[e.NOFRAMES=76]=\"NOFRAMES\",e[e.NOEMBED=77]=\"NOEMBED\",e[e.NOSCRIPT=78]=\"NOSCRIPT\",e[e.OBJECT=79]=\"OBJECT\",e[e.OL=80]=\"OL\",e[e.OPTGROUP=81]=\"OPTGROUP\",e[e.OPTION=82]=\"OPTION\",e[e.P=83]=\"P\",e[e.PARAM=84]=\"PARAM\",e[e.PLAINTEXT=85]=\"PLAINTEXT\",e[e.PRE=86]=\"PRE\",e[e.RB=87]=\"RB\",e[e.RP=88]=\"RP\",e[e.RT=89]=\"RT\",e[e.RTC=90]=\"RTC\",e[e.RUBY=91]=\"RUBY\",e[e.S=92]=\"S\",e[e.SCRIPT=93]=\"SCRIPT\",e[e.SEARCH=94]=\"SEARCH\",e[e.SECTION=95]=\"SECTION\",e[e.SELECT=96]=\"SELECT\",e[e.SOURCE=97]=\"SOURCE\",e[e.SMALL=98]=\"SMALL\",e[e.SPAN=99]=\"SPAN\",e[e.STRIKE=100]=\"STRIKE\",e[e.STRONG=101]=\"STRONG\",e[e.STYLE=102]=\"STYLE\",e[e.SUB=103]=\"SUB\",e[e.SUMMARY=104]=\"SUMMARY\",e[e.SUP=105]=\"SUP\",e[e.TABLE=106]=\"TABLE\",e[e.TBODY=107]=\"TBODY\",e[e.TEMPLATE=108]=\"TEMPLATE\",e[e.TEXTAREA=109]=\"TEXTAREA\",e[e.TFOOT=110]=\"TFOOT\",e[e.TD=111]=\"TD\",e[e.TH=112]=\"TH\",e[e.THEAD=113]=\"THEAD\",e[e.TITLE=114]=\"TITLE\",e[e.TR=115]=\"TR\",e[e.TRACK=116]=\"TRACK\",e[e.TT=117]=\"TT\",e[e.U=118]=\"U\",e[e.UL=119]=\"UL\",e[e.SVG=120]=\"SVG\",e[e.VAR=121]=\"VAR\",e[e.WBR=122]=\"WBR\",e[e.XMP=123]=\"XMP\"})(T||(T={}));const Kq=new Map([[ie.A,T.A],[ie.ADDRESS,T.ADDRESS],[ie.ANNOTATION_XML,T.ANNOTATION_XML],[ie.APPLET,T.APPLET],[ie.AREA,T.AREA],[ie.ARTICLE,T.ARTICLE],[ie.ASIDE,T.ASIDE],[ie.B,T.B],[ie.BASE,T.BASE],[ie.BASEFONT,T.BASEFONT],[ie.BGSOUND,T.BGSOUND],[ie.BIG,T.BIG],[ie.BLOCKQUOTE,T.BLOCKQUOTE],[ie.BODY,T.BODY],[ie.BR,T.BR],[ie.BUTTON,T.BUTTON],[ie.CAPTION,T.CAPTION],[ie.CENTER,T.CENTER],[ie.CODE,T.CODE],[ie.COL,T.COL],[ie.COLGROUP,T.COLGROUP],[ie.DD,T.DD],[ie.DESC,T.DESC],[ie.DETAILS,T.DETAILS],[ie.DIALOG,T.DIALOG],[ie.DIR,T.DIR],[ie.DIV,T.DIV],[ie.DL,T.DL],[ie.DT,T.DT],[ie.EM,T.EM],[ie.EMBED,T.EMBED],[ie.FIELDSET,T.FIELDSET],[ie.FIGCAPTION,T.FIGCAPTION],[ie.FIGURE,T.FIGURE],[ie.FONT,T.FONT],[ie.FOOTER,T.FOOTER],[ie.FOREIGN_OBJECT,T.FOREIGN_OBJECT],[ie.FORM,T.FORM],[ie.FRAME,T.FRAME],[ie.FRAMESET,T.FRAMESET],[ie.H1,T.H1],[ie.H2,T.H2],[ie.H3,T.H3],[ie.H4,T.H4],[ie.H5,T.H5],[ie.H6,T.H6],[ie.HEAD,T.HEAD],[ie.HEADER,T.HEADER],[ie.HGROUP,T.HGROUP],[ie.HR,T.HR],[ie.HTML,T.HTML],[ie.I,T.I],[ie.IMG,T.IMG],[ie.IMAGE,T.IMAGE],[ie.INPUT,T.INPUT],[ie.IFRAME,T.IFRAME],[ie.KEYGEN,T.KEYGEN],[ie.LABEL,T.LABEL],[ie.LI,T.LI],[ie.LINK,T.LINK],[ie.LISTING,T.LISTING],[ie.MAIN,T.MAIN],[ie.MALIGNMARK,T.MALIGNMARK],[ie.MARQUEE,T.MARQUEE],[ie.MATH,T.MATH],[ie.MENU,T.MENU],[ie.META,T.META],[ie.MGLYPH,T.MGLYPH],[ie.MI,T.MI],[ie.MO,T.MO],[ie.MN,T.MN],[ie.MS,T.MS],[ie.MTEXT,T.MTEXT],[ie.NAV,T.NAV],[ie.NOBR,T.NOBR],[ie.NOFRAMES,T.NOFRAMES],[ie.NOEMBED,T.NOEMBED],[ie.NOSCRIPT,T.NOSCRIPT],[ie.OBJECT,T.OBJECT],[ie.OL,T.OL],[ie.OPTGROUP,T.OPTGROUP],[ie.OPTION,T.OPTION],[ie.P,T.P],[ie.PARAM,T.PARAM],[ie.PLAINTEXT,T.PLAINTEXT],[ie.PRE,T.PRE],[ie.RB,T.RB],[ie.RP,T.RP],[ie.RT,T.RT],[ie.RTC,T.RTC],[ie.RUBY,T.RUBY],[ie.S,T.S],[ie.SCRIPT,T.SCRIPT],[ie.SEARCH,T.SEARCH],[ie.SECTION,T.SECTION],[ie.SELECT,T.SELECT],[ie.SOURCE,T.SOURCE],[ie.SMALL,T.SMALL],[ie.SPAN,T.SPAN],[ie.STRIKE,T.STRIKE],[ie.STRONG,T.STRONG],[ie.STYLE,T.STYLE],[ie.SUB,T.SUB],[ie.SUMMARY,T.SUMMARY],[ie.SUP,T.SUP],[ie.TABLE,T.TABLE],[ie.TBODY,T.TBODY],[ie.TEMPLATE,T.TEMPLATE],[ie.TEXTAREA,T.TEXTAREA],[ie.TFOOT,T.TFOOT],[ie.TD,T.TD],[ie.TH,T.TH],[ie.THEAD,T.THEAD],[ie.TITLE,T.TITLE],[ie.TR,T.TR],[ie.TRACK,T.TRACK],[ie.TT,T.TT],[ie.U,T.U],[ie.UL,T.UL],[ie.SVG,T.SVG],[ie.VAR,T.VAR],[ie.WBR,T.WBR],[ie.XMP,T.XMP]]);function nu(e){var t;return(t=Kq.get(e))!==null&&t!==void 0?t:T.UNKNOWN}const we=T,Xq={[Ae.HTML]:new Set([we.ADDRESS,we.APPLET,we.AREA,we.ARTICLE,we.ASIDE,we.BASE,we.BASEFONT,we.BGSOUND,we.BLOCKQUOTE,we.BODY,we.BR,we.BUTTON,we.CAPTION,we.CENTER,we.COL,we.COLGROUP,we.DD,we.DETAILS,we.DIR,we.DIV,we.DL,we.DT,we.EMBED,we.FIELDSET,we.FIGCAPTION,we.FIGURE,we.FOOTER,we.FORM,we.FRAME,we.FRAMESET,we.H1,we.H2,we.H3,we.H4,we.H5,we.H6,we.HEAD,we.HEADER,we.HGROUP,we.HR,we.HTML,we.IFRAME,we.IMG,we.INPUT,we.LI,we.LINK,we.LISTING,we.MAIN,we.MARQUEE,we.MENU,we.META,we.NAV,we.NOEMBED,we.NOFRAMES,we.NOSCRIPT,we.OBJECT,we.OL,we.P,we.PARAM,we.PLAINTEXT,we.PRE,we.SCRIPT,we.SECTION,we.SELECT,we.SOURCE,we.STYLE,we.SUMMARY,we.TABLE,we.TBODY,we.TD,we.TEMPLATE,we.TEXTAREA,we.TFOOT,we.TH,we.THEAD,we.TITLE,we.TR,we.TRACK,we.UL,we.WBR,we.XMP]),[Ae.MATHML]:new Set([we.MI,we.MO,we.MN,we.MS,we.MTEXT,we.ANNOTATION_XML]),[Ae.SVG]:new Set([we.TITLE,we.FOREIGN_OBJECT,we.DESC]),[Ae.XLINK]:new Set,[Ae.XML]:new Set,[Ae.XMLNS]:new Set},Fb=new Set([we.H1,we.H2,we.H3,we.H4,we.H5,we.H6]);ie.STYLE,ie.SCRIPT,ie.XMP,ie.IFRAME,ie.NOEMBED,ie.NOFRAMES,ie.PLAINTEXT;var H;(function(e){e[e.DATA=0]=\"DATA\",e[e.RCDATA=1]=\"RCDATA\",e[e.RAWTEXT=2]=\"RAWTEXT\",e[e.SCRIPT_DATA=3]=\"SCRIPT_DATA\",e[e.PLAINTEXT=4]=\"PLAINTEXT\",e[e.TAG_OPEN=5]=\"TAG_OPEN\",e[e.END_TAG_OPEN=6]=\"END_TAG_OPEN\",e[e.TAG_NAME=7]=\"TAG_NAME\",e[e.RCDATA_LESS_THAN_SIGN=8]=\"RCDATA_LESS_THAN_SIGN\",e[e.RCDATA_END_TAG_OPEN=9]=\"RCDATA_END_TAG_OPEN\",e[e.RCDATA_END_TAG_NAME=10]=\"RCDATA_END_TAG_NAME\",e[e.RAWTEXT_LESS_THAN_SIGN=11]=\"RAWTEXT_LESS_THAN_SIGN\",e[e.RAWTEXT_END_TAG_OPEN=12]=\"RAWTEXT_END_TAG_OPEN\",e[e.RAWTEXT_END_TAG_NAME=13]=\"RAWTEXT_END_TAG_NAME\",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]=\"SCRIPT_DATA_LESS_THAN_SIGN\",e[e.SCRIPT_DATA_END_TAG_OPEN=15]=\"SCRIPT_DATA_END_TAG_OPEN\",e[e.SCRIPT_DATA_END_TAG_NAME=16]=\"SCRIPT_DATA_END_TAG_NAME\",e[e.SCRIPT_DATA_ESCAPE_START=17]=\"SCRIPT_DATA_ESCAPE_START\",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]=\"SCRIPT_DATA_ESCAPE_START_DASH\",e[e.SCRIPT_DATA_ESCAPED=19]=\"SCRIPT_DATA_ESCAPED\",e[e.SCRIPT_DATA_ESCAPED_DASH=20]=\"SCRIPT_DATA_ESCAPED_DASH\",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]=\"SCRIPT_DATA_ESCAPED_DASH_DASH\",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]=\"SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN\",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]=\"SCRIPT_DATA_ESCAPED_END_TAG_OPEN\",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]=\"SCRIPT_DATA_ESCAPED_END_TAG_NAME\",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]=\"SCRIPT_DATA_DOUBLE_ESCAPE_START\",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]=\"SCRIPT_DATA_DOUBLE_ESCAPED\",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]=\"SCRIPT_DATA_DOUBLE_ESCAPED_DASH\",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]=\"SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH\",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]=\"SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN\",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]=\"SCRIPT_DATA_DOUBLE_ESCAPE_END\",e[e.BEFORE_ATTRIBUTE_NAME=31]=\"BEFORE_ATTRIBUTE_NAME\",e[e.ATTRIBUTE_NAME=32]=\"ATTRIBUTE_NAME\",e[e.AFTER_ATTRIBUTE_NAME=33]=\"AFTER_ATTRIBUTE_NAME\",e[e.BEFORE_ATTRIBUTE_VALUE=34]=\"BEFORE_ATTRIBUTE_VALUE\",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]=\"ATTRIBUTE_VALUE_DOUBLE_QUOTED\",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]=\"ATTRIBUTE_VALUE_SINGLE_QUOTED\",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]=\"ATTRIBUTE_VALUE_UNQUOTED\",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]=\"AFTER_ATTRIBUTE_VALUE_QUOTED\",e[e.SELF_CLOSING_START_TAG=39]=\"SELF_CLOSING_START_TAG\",e[e.BOGUS_COMMENT=40]=\"BOGUS_COMMENT\",e[e.MARKUP_DECLARATION_OPEN=41]=\"MARKUP_DECLARATION_OPEN\",e[e.COMMENT_START=42]=\"COMMENT_START\",e[e.COMMENT_START_DASH=43]=\"COMMENT_START_DASH\",e[e.COMMENT=44]=\"COMMENT\",e[e.COMMENT_LESS_THAN_SIGN=45]=\"COMMENT_LESS_THAN_SIGN\",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]=\"COMMENT_LESS_THAN_SIGN_BANG\",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]=\"COMMENT_LESS_THAN_SIGN_BANG_DASH\",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]=\"COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH\",e[e.COMMENT_END_DASH=49]=\"COMMENT_END_DASH\",e[e.COMMENT_END=50]=\"COMMENT_END\",e[e.COMMENT_END_BANG=51]=\"COMMENT_END_BANG\",e[e.DOCTYPE=52]=\"DOCTYPE\",e[e.BEFORE_DOCTYPE_NAME=53]=\"BEFORE_DOCTYPE_NAME\",e[e.DOCTYPE_NAME=54]=\"DOCTYPE_NAME\",e[e.AFTER_DOCTYPE_NAME=55]=\"AFTER_DOCTYPE_NAME\",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]=\"AFTER_DOCTYPE_PUBLIC_KEYWORD\",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]=\"BEFORE_DOCTYPE_PUBLIC_IDENTIFIER\",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]=\"DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED\",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]=\"DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED\",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]=\"AFTER_DOCTYPE_PUBLIC_IDENTIFIER\",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]=\"BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS\",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]=\"AFTER_DOCTYPE_SYSTEM_KEYWORD\",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]=\"BEFORE_DOCTYPE_SYSTEM_IDENTIFIER\",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]=\"DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED\",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]=\"DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED\",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]=\"AFTER_DOCTYPE_SYSTEM_IDENTIFIER\",e[e.BOGUS_DOCTYPE=67]=\"BOGUS_DOCTYPE\",e[e.CDATA_SECTION=68]=\"CDATA_SECTION\",e[e.CDATA_SECTION_BRACKET=69]=\"CDATA_SECTION_BRACKET\",e[e.CDATA_SECTION_END=70]=\"CDATA_SECTION_END\",e[e.CHARACTER_REFERENCE=71]=\"CHARACTER_REFERENCE\",e[e.AMBIGUOUS_AMPERSAND=72]=\"AMBIGUOUS_AMPERSAND\"})(H||(H={}));const xn={DATA:H.DATA,RCDATA:H.RCDATA,RAWTEXT:H.RAWTEXT,SCRIPT_DATA:H.SCRIPT_DATA,PLAINTEXT:H.PLAINTEXT,CDATA_SECTION:H.CDATA_SECTION};function Wq(e){return e>=P.DIGIT_0&&e<=P.DIGIT_9}function gc(e){return e>=P.LATIN_CAPITAL_A&&e<=P.LATIN_CAPITAL_Z}function Qq(e){return e>=P.LATIN_SMALL_A&&e<=P.LATIN_SMALL_Z}function ps(e){return Qq(e)||gc(e)}function F2(e){return ps(e)||Wq(e)}function If(e){return e+32}function _R(e){return e===P.SPACE||e===P.LINE_FEED||e===P.TABULATION||e===P.FORM_FEED}function H2(e){return _R(e)||e===P.SOLIDUS||e===P.GREATER_THAN_SIGN}function Zq(e){return e===P.NULL?he.nullCharacterReference:e>1114111?he.characterReferenceOutsideUnicodeRange:gR(e)?he.surrogateCharacterReference:ER(e)?he.noncharacterCharacterReference:bR(e)||e===P.CARRIAGE_RETURN?he.controlCharacterReference:null}class Jq{constructor(t,n){this.options=t,this.handler=n,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName=\"\",this.active=!1,this.state=H.DATA,this.returnState=H.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:\"\",value:\"\"},this.preprocessor=new Uq(n),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Gq(Fq,(r,i)=>{this.preprocessor.pos=this.entityStartPos+i-1,this._flushCodePointConsumedAsCharacterReference(r)},n.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(he.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:r=>{this._err(he.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+r)},validateNumericCharacterReference:r=>{const i=Zq(r);i&&this._err(i,1)}}:void 0)}_err(t,n=0){var r,i;(i=(r=this.handler).onParseError)===null||i===void 0||i.call(r,this.preprocessor.getError(t,n))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error(\"Parser was already resumed\");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,n,r){this.active=!0,this.preprocessor.write(t,n),this._runParsingLoop(),this.paused||r==null||r()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let n=0;n<t;n++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,n){return this.preprocessor.startsWith(t,n)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:vt.START_TAG,tagName:\"\",tagID:T.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:vt.END_TAG,tagName:\"\",tagID:T.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:vt.COMMENT,data:\"\",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:vt.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,n){this.currentCharacterToken={type:t,chars:n,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:\"\"},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,n;const r=this.currentToken;if(yR(r,this.currentAttr.name)===null){if(r.attrs.push(this.currentAttr),r.location&&this.currentLocation){const i=(t=(n=r.location).attrs)!==null&&t!==void 0?t:n.attrs=Object.create(null);i[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(he.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=nu(t.tagName),t.type===vt.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(he.endTagWithAttributes),t.selfClosing&&this._err(he.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case vt.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case vt.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case vt.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:vt.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,n){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=n;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,n)}_emitCodePoint(t){const n=_R(t)?vt.WHITESPACE_CHARACTER:t===P.NULL?vt.NULL_CHARACTER:vt.CHARACTER;this._appendCharToCurrentCharacterToken(n,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(vt.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=H.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Di.Attribute:Di.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===H.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===H.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===H.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case H.DATA:{this._stateData(t);break}case H.RCDATA:{this._stateRcdata(t);break}case H.RAWTEXT:{this._stateRawtext(t);break}case H.SCRIPT_DATA:{this._stateScriptData(t);break}case H.PLAINTEXT:{this._statePlaintext(t);break}case H.TAG_OPEN:{this._stateTagOpen(t);break}case H.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case H.TAG_NAME:{this._stateTagName(t);break}case H.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case H.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case H.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case H.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case H.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case H.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case H.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case H.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case H.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case H.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case H.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case H.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case H.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case H.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case H.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case H.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case H.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case H.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case H.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case H.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case H.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case H.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case H.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case H.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case H.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case H.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case H.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case H.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case H.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case H.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case H.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case H.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case H.BOGUS_COMMENT:{this._stateBogusComment(t);break}case H.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case H.COMMENT_START:{this._stateCommentStart(t);break}case H.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case H.COMMENT:{this._stateComment(t);break}case H.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case H.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case H.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case H.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case H.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case H.COMMENT_END:{this._stateCommentEnd(t);break}case H.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case H.DOCTYPE:{this._stateDoctype(t);break}case H.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case H.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case H.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case H.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case H.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case H.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case H.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case H.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case H.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case H.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case H.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case H.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case H.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case H.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case H.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case H.CDATA_SECTION:{this._stateCdataSection(t);break}case H.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case H.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case H.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case H.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error(\"Unknown state\")}}_stateData(t){switch(t){case P.LESS_THAN_SIGN:{this.state=H.TAG_OPEN;break}case P.AMPERSAND:{this._startCharacterReference();break}case P.NULL:{this._err(he.unexpectedNullCharacter),this._emitCodePoint(t);break}case P.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case P.AMPERSAND:{this._startCharacterReference();break}case P.LESS_THAN_SIGN:{this.state=H.RCDATA_LESS_THAN_SIGN;break}case P.NULL:{this._err(he.unexpectedNullCharacter),this._emitChars(cn);break}case P.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case P.LESS_THAN_SIGN:{this.state=H.RAWTEXT_LESS_THAN_SIGN;break}case P.NULL:{this._err(he.unexpectedNullCharacter),this._emitChars(cn);break}case P.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case P.LESS_THAN_SIGN:{this.state=H.SCRIPT_DATA_LESS_THAN_SIGN;break}case P.NULL:{this._err(he.unexpectedNullCharacter),this._emitChars(cn);break}case P.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case P.NULL:{this._err(he.unexpectedNullCharacter),this._emitChars(cn);break}case P.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(ps(t))this._createStartTagToken(),this.state=H.TAG_NAME,this._stateTagName(t);else switch(t){case P.EXCLAMATION_MARK:{this.state=H.MARKUP_DECLARATION_OPEN;break}case P.SOLIDUS:{this.state=H.END_TAG_OPEN;break}case P.QUESTION_MARK:{this._err(he.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=H.BOGUS_COMMENT,this._stateBogusComment(t);break}case P.EOF:{this._err(he.eofBeforeTagName),this._emitChars(\"<\"),this._emitEOFToken();break}default:this._err(he.invalidFirstCharacterOfTagName),this._emitChars(\"<\"),this.state=H.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(ps(t))this._createEndTagToken(),this.state=H.TAG_NAME,this._stateTagName(t);else switch(t){case P.GREATER_THAN_SIGN:{this._err(he.missingEndTagName),this.state=H.DATA;break}case P.EOF:{this._err(he.eofBeforeTagName),this._emitChars(\"</\"),this._emitEOFToken();break}default:this._err(he.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=H.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const n=this.currentToken;switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this.state=H.BEFORE_ATTRIBUTE_NAME;break}case P.SOLIDUS:{this.state=H.SELF_CLOSING_START_TAG;break}case P.GREATER_THAN_SIGN:{this.state=H.DATA,this.emitCurrentTagToken();break}case P.NULL:{this._err(he.unexpectedNullCharacter),n.tagName+=cn;break}case P.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:n.tagName+=String.fromCodePoint(gc(t)?If(t):t)}}_stateRcdataLessThanSign(t){t===P.SOLIDUS?this.state=H.RCDATA_END_TAG_OPEN:(this._emitChars(\"<\"),this.state=H.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){ps(t)?(this.state=H.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars(\"</\"),this.state=H.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const n=this.currentToken;switch(n.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=H.BEFORE_ATTRIBUTE_NAME,!1;case P.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=H.SELF_CLOSING_START_TAG,!1;case P.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=H.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars(\"</\"),this.state=H.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===P.SOLIDUS?this.state=H.RAWTEXT_END_TAG_OPEN:(this._emitChars(\"<\"),this.state=H.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){ps(t)?(this.state=H.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars(\"</\"),this.state=H.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars(\"</\"),this.state=H.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case P.SOLIDUS:{this.state=H.SCRIPT_DATA_END_TAG_OPEN;break}case P.EXCLAMATION_MARK:{this.state=H.SCRIPT_DATA_ESCAPE_START,this._emitChars(\"<!\");break}default:this._emitChars(\"<\"),this.state=H.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){ps(t)?(this.state=H.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars(\"</\"),this.state=H.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars(\"</\"),this.state=H.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===P.HYPHEN_MINUS?(this.state=H.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars(\"-\")):(this.state=H.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===P.HYPHEN_MINUS?(this.state=H.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(\"-\")):(this.state=H.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case P.HYPHEN_MINUS:{this.state=H.SCRIPT_DATA_ESCAPED_DASH,this._emitChars(\"-\");break}case P.LESS_THAN_SIGN:{this.state=H.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case P.NULL:{this._err(he.unexpectedNullCharacter),this._emitChars(cn);break}case P.EOF:{this._err(he.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case P.HYPHEN_MINUS:{this.state=H.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars(\"-\");break}case P.LESS_THAN_SIGN:{this.state=H.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case P.NULL:{this._err(he.unexpectedNullCharacter),this.state=H.SCRIPT_DATA_ESCAPED,this._emitChars(cn);break}case P.EOF:{this._err(he.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=H.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case P.HYPHEN_MINUS:{this._emitChars(\"-\");break}case P.LESS_THAN_SIGN:{this.state=H.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case P.GREATER_THAN_SIGN:{this.state=H.SCRIPT_DATA,this._emitChars(\">\");break}case P.NULL:{this._err(he.unexpectedNullCharacter),this.state=H.SCRIPT_DATA_ESCAPED,this._emitChars(cn);break}case P.EOF:{this._err(he.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=H.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===P.SOLIDUS?this.state=H.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:ps(t)?(this._emitChars(\"<\"),this.state=H.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars(\"<\"),this.state=H.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){ps(t)?(this.state=H.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars(\"</\"),this.state=H.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars(\"</\"),this.state=H.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Sr.SCRIPT,!1)&&H2(this.preprocessor.peek(Sr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Sr.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=H.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case P.HYPHEN_MINUS:{this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars(\"-\");break}case P.LESS_THAN_SIGN:{this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(\"<\");break}case P.NULL:{this._err(he.unexpectedNullCharacter),this._emitChars(cn);break}case P.EOF:{this._err(he.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case P.HYPHEN_MINUS:{this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars(\"-\");break}case P.LESS_THAN_SIGN:{this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(\"<\");break}case P.NULL:{this._err(he.unexpectedNullCharacter),this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(cn);break}case P.EOF:{this._err(he.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case P.HYPHEN_MINUS:{this._emitChars(\"-\");break}case P.LESS_THAN_SIGN:{this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars(\"<\");break}case P.GREATER_THAN_SIGN:{this.state=H.SCRIPT_DATA,this._emitChars(\">\");break}case P.NULL:{this._err(he.unexpectedNullCharacter),this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(cn);break}case P.EOF:{this._err(he.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===P.SOLIDUS?(this.state=H.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars(\"/\")):(this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Sr.SCRIPT,!1)&&H2(this.preprocessor.peek(Sr.SCRIPT.length))){this._emitCodePoint(t);for(let n=0;n<Sr.SCRIPT.length;n++)this._emitCodePoint(this._consume());this.state=H.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=H.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.SOLIDUS:case P.GREATER_THAN_SIGN:case P.EOF:{this.state=H.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case P.EQUALS_SIGN:{this._err(he.unexpectedEqualsSignBeforeAttributeName),this._createAttr(\"=\"),this.state=H.ATTRIBUTE_NAME;break}default:this._createAttr(\"\"),this.state=H.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:case P.SOLIDUS:case P.GREATER_THAN_SIGN:case P.EOF:{this._leaveAttrName(),this.state=H.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case P.EQUALS_SIGN:{this._leaveAttrName(),this.state=H.BEFORE_ATTRIBUTE_VALUE;break}case P.QUOTATION_MARK:case P.APOSTROPHE:case P.LESS_THAN_SIGN:{this._err(he.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case P.NULL:{this._err(he.unexpectedNullCharacter),this.currentAttr.name+=cn;break}default:this.currentAttr.name+=String.fromCodePoint(gc(t)?If(t):t)}}_stateAfterAttributeName(t){switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.SOLIDUS:{this.state=H.SELF_CLOSING_START_TAG;break}case P.EQUALS_SIGN:{this.state=H.BEFORE_ATTRIBUTE_VALUE;break}case P.GREATER_THAN_SIGN:{this.state=H.DATA,this.emitCurrentTagToken();break}case P.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:this._createAttr(\"\"),this.state=H.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.QUOTATION_MARK:{this.state=H.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case P.APOSTROPHE:{this.state=H.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case P.GREATER_THAN_SIGN:{this._err(he.missingAttributeValue),this.state=H.DATA,this.emitCurrentTagToken();break}default:this.state=H.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case P.QUOTATION_MARK:{this.state=H.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case P.AMPERSAND:{this._startCharacterReference();break}case P.NULL:{this._err(he.unexpectedNullCharacter),this.currentAttr.value+=cn;break}case P.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case P.APOSTROPHE:{this.state=H.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case P.AMPERSAND:{this._startCharacterReference();break}case P.NULL:{this._err(he.unexpectedNullCharacter),this.currentAttr.value+=cn;break}case P.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this._leaveAttrValue(),this.state=H.BEFORE_ATTRIBUTE_NAME;break}case P.AMPERSAND:{this._startCharacterReference();break}case P.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=H.DATA,this.emitCurrentTagToken();break}case P.NULL:{this._err(he.unexpectedNullCharacter),this.currentAttr.value+=cn;break}case P.QUOTATION_MARK:case P.APOSTROPHE:case P.LESS_THAN_SIGN:case P.EQUALS_SIGN:case P.GRAVE_ACCENT:{this._err(he.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case P.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this._leaveAttrValue(),this.state=H.BEFORE_ATTRIBUTE_NAME;break}case P.SOLIDUS:{this._leaveAttrValue(),this.state=H.SELF_CLOSING_START_TAG;break}case P.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=H.DATA,this.emitCurrentTagToken();break}case P.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:this._err(he.missingWhitespaceBetweenAttributes),this.state=H.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case P.GREATER_THAN_SIGN:{const n=this.currentToken;n.selfClosing=!0,this.state=H.DATA,this.emitCurrentTagToken();break}case P.EOF:{this._err(he.eofInTag),this._emitEOFToken();break}default:this._err(he.unexpectedSolidusInTag),this.state=H.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const n=this.currentToken;switch(t){case P.GREATER_THAN_SIGN:{this.state=H.DATA,this.emitCurrentComment(n);break}case P.EOF:{this.emitCurrentComment(n),this._emitEOFToken();break}case P.NULL:{this._err(he.unexpectedNullCharacter),n.data+=cn;break}default:n.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Sr.DASH_DASH,!0)?(this._createCommentToken(Sr.DASH_DASH.length+1),this.state=H.COMMENT_START):this._consumeSequenceIfMatch(Sr.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Sr.DOCTYPE.length+1),this.state=H.DOCTYPE):this._consumeSequenceIfMatch(Sr.CDATA_START,!0)?this.inForeignNode?this.state=H.CDATA_SECTION:(this._err(he.cdataInHtmlContent),this._createCommentToken(Sr.CDATA_START.length+1),this.currentToken.data=\"[CDATA[\",this.state=H.BOGUS_COMMENT):this._ensureHibernation()||(this._err(he.incorrectlyOpenedComment),this._createCommentToken(2),this.state=H.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case P.HYPHEN_MINUS:{this.state=H.COMMENT_START_DASH;break}case P.GREATER_THAN_SIGN:{this._err(he.abruptClosingOfEmptyComment),this.state=H.DATA;const n=this.currentToken;this.emitCurrentComment(n);break}default:this.state=H.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const n=this.currentToken;switch(t){case P.HYPHEN_MINUS:{this.state=H.COMMENT_END;break}case P.GREATER_THAN_SIGN:{this._err(he.abruptClosingOfEmptyComment),this.state=H.DATA,this.emitCurrentComment(n);break}case P.EOF:{this._err(he.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=\"-\",this.state=H.COMMENT,this._stateComment(t)}}_stateComment(t){const n=this.currentToken;switch(t){case P.HYPHEN_MINUS:{this.state=H.COMMENT_END_DASH;break}case P.LESS_THAN_SIGN:{n.data+=\"<\",this.state=H.COMMENT_LESS_THAN_SIGN;break}case P.NULL:{this._err(he.unexpectedNullCharacter),n.data+=cn;break}case P.EOF:{this._err(he.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const n=this.currentToken;switch(t){case P.EXCLAMATION_MARK:{n.data+=\"!\",this.state=H.COMMENT_LESS_THAN_SIGN_BANG;break}case P.LESS_THAN_SIGN:{n.data+=\"<\";break}default:this.state=H.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===P.HYPHEN_MINUS?this.state=H.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=H.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===P.HYPHEN_MINUS?this.state=H.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=H.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==P.GREATER_THAN_SIGN&&t!==P.EOF&&this._err(he.nestedComment),this.state=H.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const n=this.currentToken;switch(t){case P.HYPHEN_MINUS:{this.state=H.COMMENT_END;break}case P.EOF:{this._err(he.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=\"-\",this.state=H.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const n=this.currentToken;switch(t){case P.GREATER_THAN_SIGN:{this.state=H.DATA,this.emitCurrentComment(n);break}case P.EXCLAMATION_MARK:{this.state=H.COMMENT_END_BANG;break}case P.HYPHEN_MINUS:{n.data+=\"-\";break}case P.EOF:{this._err(he.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=\"--\",this.state=H.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const n=this.currentToken;switch(t){case P.HYPHEN_MINUS:{n.data+=\"--!\",this.state=H.COMMENT_END_DASH;break}case P.GREATER_THAN_SIGN:{this._err(he.incorrectlyClosedComment),this.state=H.DATA,this.emitCurrentComment(n);break}case P.EOF:{this._err(he.eofInComment),this.emitCurrentComment(n),this._emitEOFToken();break}default:n.data+=\"--!\",this.state=H.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this.state=H.BEFORE_DOCTYPE_NAME;break}case P.GREATER_THAN_SIGN:{this.state=H.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case P.EOF:{this._err(he.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingWhitespaceBeforeDoctypeName),this.state=H.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(gc(t))this._createDoctypeToken(String.fromCharCode(If(t))),this.state=H.DOCTYPE_NAME;else switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.NULL:{this._err(he.unexpectedNullCharacter),this._createDoctypeToken(cn),this.state=H.DOCTYPE_NAME;break}case P.GREATER_THAN_SIGN:{this._err(he.missingDoctypeName),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=H.DATA;break}case P.EOF:{this._err(he.eofInDoctype),this._createDoctypeToken(null);const n=this.currentToken;n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=H.DOCTYPE_NAME}}_stateDoctypeName(t){const n=this.currentToken;switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this.state=H.AFTER_DOCTYPE_NAME;break}case P.GREATER_THAN_SIGN:{this.state=H.DATA,this.emitCurrentDoctype(n);break}case P.NULL:{this._err(he.unexpectedNullCharacter),n.name+=cn;break}case P.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.name+=String.fromCodePoint(gc(t)?If(t):t)}}_stateAfterDoctypeName(t){const n=this.currentToken;switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.GREATER_THAN_SIGN:{this.state=H.DATA,this.emitCurrentDoctype(n);break}case P.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Sr.PUBLIC,!1)?this.state=H.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Sr.SYSTEM,!1)?this.state=H.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(he.invalidCharacterSequenceAfterDoctypeName),n.forceQuirks=!0,this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const n=this.currentToken;switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this.state=H.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case P.QUOTATION_MARK:{this._err(he.missingWhitespaceAfterDoctypePublicKeyword),n.publicId=\"\",this.state=H.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case P.APOSTROPHE:{this._err(he.missingWhitespaceAfterDoctypePublicKeyword),n.publicId=\"\",this.state=H.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case P.GREATER_THAN_SIGN:{this._err(he.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=H.DATA,this.emitCurrentDoctype(n);break}case P.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.QUOTATION_MARK:{n.publicId=\"\",this.state=H.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case P.APOSTROPHE:{n.publicId=\"\",this.state=H.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case P.GREATER_THAN_SIGN:{this._err(he.missingDoctypePublicIdentifier),n.forceQuirks=!0,this.state=H.DATA,this.emitCurrentDoctype(n);break}case P.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingQuoteBeforeDoctypePublicIdentifier),n.forceQuirks=!0,this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case P.QUOTATION_MARK:{this.state=H.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case P.NULL:{this._err(he.unexpectedNullCharacter),n.publicId+=cn;break}case P.GREATER_THAN_SIGN:{this._err(he.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=H.DATA;break}case P.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case P.APOSTROPHE:{this.state=H.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case P.NULL:{this._err(he.unexpectedNullCharacter),n.publicId+=cn;break}case P.GREATER_THAN_SIGN:{this._err(he.abruptDoctypePublicIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=H.DATA;break}case P.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const n=this.currentToken;switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this.state=H.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case P.GREATER_THAN_SIGN:{this.state=H.DATA,this.emitCurrentDoctype(n);break}case P.QUOTATION_MARK:{this._err(he.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId=\"\",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case P.APOSTROPHE:{this._err(he.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),n.systemId=\"\",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case P.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const n=this.currentToken;switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=H.DATA;break}case P.QUOTATION_MARK:{n.systemId=\"\",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case P.APOSTROPHE:{n.systemId=\"\",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case P.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const n=this.currentToken;switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:{this.state=H.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case P.QUOTATION_MARK:{this._err(he.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId=\"\",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case P.APOSTROPHE:{this._err(he.missingWhitespaceAfterDoctypeSystemKeyword),n.systemId=\"\",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case P.GREATER_THAN_SIGN:{this._err(he.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=H.DATA,this.emitCurrentDoctype(n);break}case P.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.QUOTATION_MARK:{n.systemId=\"\",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case P.APOSTROPHE:{n.systemId=\"\",this.state=H.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case P.GREATER_THAN_SIGN:{this._err(he.missingDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=H.DATA,this.emitCurrentDoctype(n);break}case P.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.missingQuoteBeforeDoctypeSystemIdentifier),n.forceQuirks=!0,this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const n=this.currentToken;switch(t){case P.QUOTATION_MARK:{this.state=H.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case P.NULL:{this._err(he.unexpectedNullCharacter),n.systemId+=cn;break}case P.GREATER_THAN_SIGN:{this._err(he.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=H.DATA;break}case P.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const n=this.currentToken;switch(t){case P.APOSTROPHE:{this.state=H.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case P.NULL:{this._err(he.unexpectedNullCharacter),n.systemId+=cn;break}case P.GREATER_THAN_SIGN:{this._err(he.abruptDoctypeSystemIdentifier),n.forceQuirks=!0,this.emitCurrentDoctype(n),this.state=H.DATA;break}case P.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:n.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const n=this.currentToken;switch(t){case P.SPACE:case P.LINE_FEED:case P.TABULATION:case P.FORM_FEED:break;case P.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=H.DATA;break}case P.EOF:{this._err(he.eofInDoctype),n.forceQuirks=!0,this.emitCurrentDoctype(n),this._emitEOFToken();break}default:this._err(he.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=H.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const n=this.currentToken;switch(t){case P.GREATER_THAN_SIGN:{this.emitCurrentDoctype(n),this.state=H.DATA;break}case P.NULL:{this._err(he.unexpectedNullCharacter);break}case P.EOF:{this.emitCurrentDoctype(n),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case P.RIGHT_SQUARE_BRACKET:{this.state=H.CDATA_SECTION_BRACKET;break}case P.EOF:{this._err(he.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===P.RIGHT_SQUARE_BRACKET?this.state=H.CDATA_SECTION_END:(this._emitChars(\"]\"),this.state=H.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case P.GREATER_THAN_SIGN:{this.state=H.DATA;break}case P.RIGHT_SQUARE_BRACKET:{this._emitChars(\"]\");break}default:this._emitChars(\"]]\"),this.state=H.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(P.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&F2(this.preprocessor.peek(1))?H.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){F2(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===P.SEMICOLON&&this._err(he.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const TR=new Set([T.DD,T.DT,T.LI,T.OPTGROUP,T.OPTION,T.P,T.RB,T.RP,T.RT,T.RTC]),j2=new Set([...TR,T.CAPTION,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]),Th=new Set([T.APPLET,T.CAPTION,T.HTML,T.MARQUEE,T.OBJECT,T.TABLE,T.TD,T.TEMPLATE,T.TH]),eY=new Set([...Th,T.OL,T.UL]),tY=new Set([...Th,T.BUTTON]),z2=new Set([T.ANNOTATION_XML,T.MI,T.MN,T.MO,T.MS,T.MTEXT]),$2=new Set([T.DESC,T.FOREIGN_OBJECT,T.TITLE]),nY=new Set([T.TR,T.TEMPLATE,T.HTML]),rY=new Set([T.TBODY,T.TFOOT,T.THEAD,T.TEMPLATE,T.HTML]),aY=new Set([T.TABLE,T.TEMPLATE,T.HTML]),iY=new Set([T.TD,T.TH]);class sY{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,n,r){this.treeAdapter=n,this.handler=r,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=T.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===T.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Ae.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,n){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=n,this.currentTagId=n,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,n,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,n){const r=this._indexOf(t);this.items[r]=n,r===this.stackTop&&(this.current=n)}insertAfter(t,n,r){const i=this._indexOf(t)+1;this.items.splice(i,0,n),this.tagIDs.splice(i,0,r),this.stackTop++,i===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,i===this.stackTop)}popUntilTagNamePopped(t){let n=this.stackTop+1;do n=this.tagIDs.lastIndexOf(t,n-1);while(n>0&&this.treeAdapter.getNamespaceURI(this.items[n])!==Ae.HTML);this.shortenToLength(Math.max(n,0))}shortenToLength(t){for(;this.stackTop>=t;){const n=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(n,this.stackTop<t)}}popUntilElementPopped(t){const n=this._indexOf(t);this.shortenToLength(Math.max(n,0))}popUntilPopped(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(Math.max(r,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(Fb,Ae.HTML)}popUntilTableCellPopped(){this.popUntilPopped(iY,Ae.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,n){for(let r=this.stackTop;r>=0;r--)if(t.has(this.tagIDs[r])&&this.treeAdapter.getNamespaceURI(this.items[r])===n)return r;return-1}clearBackTo(t,n){const r=this._indexOfTagNames(t,n);this.shortenToLength(r+1)}clearBackToTableContext(){this.clearBackTo(aY,Ae.HTML)}clearBackToTableBodyContext(){this.clearBackTo(rY,Ae.HTML)}clearBackToTableRowContext(){this.clearBackTo(nY,Ae.HTML)}remove(t){const n=this._indexOf(t);n>=0&&(n===this.stackTop?this.pop():(this.items.splice(n,1),this.tagIDs.splice(n,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===T.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const n=this._indexOf(t)-1;return n>=0?this.items[n]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===T.HTML}hasInDynamicScope(t,n){for(let r=this.stackTop;r>=0;r--){const i=this.tagIDs[r];switch(this.treeAdapter.getNamespaceURI(this.items[r])){case Ae.HTML:{if(i===t)return!0;if(n.has(i))return!1;break}case Ae.SVG:{if($2.has(i))return!1;break}case Ae.MATHML:{if(z2.has(i))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Th)}hasInListItemScope(t){return this.hasInDynamicScope(t,eY)}hasInButtonScope(t){return this.hasInDynamicScope(t,tY)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case Ae.HTML:{if(Fb.has(n))return!0;if(Th.has(n))return!1;break}case Ae.SVG:{if($2.has(n))return!1;break}case Ae.MATHML:{if(z2.has(n))return!1;break}}}return!0}hasInTableScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===Ae.HTML)switch(this.tagIDs[n]){case t:return!0;case T.TABLE:case T.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===Ae.HTML)switch(this.tagIDs[t]){case T.TBODY:case T.THEAD:case T.TFOOT:return!0;case T.TABLE:case T.HTML:return!1}return!0}hasInSelectScope(t){for(let n=this.stackTop;n>=0;n--)if(this.treeAdapter.getNamespaceURI(this.items[n])===Ae.HTML)switch(this.tagIDs[n]){case t:return!0;case T.OPTION:case T.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&TR.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&j2.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&j2.has(this.currentTagId);)this.pop()}}const yg=3;var Wa;(function(e){e[e.Marker=0]=\"Marker\",e[e.Element=1]=\"Element\"})(Wa||(Wa={}));const q2={type:Wa.Marker};class oY{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,n){const r=[],i=n.length,o=this.treeAdapter.getTagName(t),l=this.treeAdapter.getNamespaceURI(t);for(let c=0;c<this.entries.length;c++){const d=this.entries[c];if(d.type===Wa.Marker)break;const{element:f}=d;if(this.treeAdapter.getTagName(f)===o&&this.treeAdapter.getNamespaceURI(f)===l){const m=this.treeAdapter.getAttrList(f);m.length===i&&r.push({idx:c,attrs:m})}}return r}_ensureNoahArkCondition(t){if(this.entries.length<yg)return;const n=this.treeAdapter.getAttrList(t),r=this._getNoahArkConditionCandidates(t,n);if(r.length<yg)return;const i=new Map(n.map(l=>[l.name,l.value]));let o=0;for(let l=0;l<r.length;l++){const c=r[l];c.attrs.every(d=>i.get(d.name)===d.value)&&(o+=1,o>=yg&&this.entries.splice(c.idx,1))}}insertMarker(){this.entries.unshift(q2)}pushElement(t,n){this._ensureNoahArkCondition(t),this.entries.unshift({type:Wa.Element,element:t,token:n})}insertElementAfterBookmark(t,n){const r=this.entries.indexOf(this.bookmark);this.entries.splice(r,0,{type:Wa.Element,element:t,token:n})}removeEntry(t){const n=this.entries.indexOf(t);n!==-1&&this.entries.splice(n,1)}clearToLastMarker(){const t=this.entries.indexOf(q2);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const n=this.entries.find(r=>r.type===Wa.Marker||this.treeAdapter.getTagName(r.element)===t);return n&&n.type===Wa.Element?n:null}getElementEntry(t){return this.entries.find(n=>n.type===Wa.Element&&n.element===t)}}const gs={createDocument(){return{nodeName:\"#document\",mode:pa.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:\"#document-fragment\",childNodes:[]}},createElement(e,t,n){return{nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:\"#comment\",data:e,parentNode:null}},createTextNode(e){return{nodeName:\"#text\",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,n,r){const i=e.childNodes.find(o=>o.nodeName===\"#documentType\");if(i)i.name=t,i.publicId=n,i.systemId=r;else{const o={nodeName:\"#documentType\",name:t,publicId:n,systemId:r,parentNode:null};gs.appendChild(e,o)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(gs.isTextNode(n)){n.value+=t;return}}gs.appendChild(e,gs.createTextNode(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&gs.isTextNode(r)?r.value+=t:gs.insertBefore(e,gs.createTextNode(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map(r=>r.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName===\"#text\"},isCommentNode(e){return e.nodeName===\"#comment\"},isDocumentTypeNode(e){return e.nodeName===\"#documentType\"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,\"tagName\")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},vR=\"html\",lY=\"about:legacy-compat\",uY=\"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd\",xR=[\"+//silmaril//dtd html pro v0r11 19970101//\",\"-//as//dtd html 3.0 aswedit + extensions//\",\"-//advasoft ltd//dtd html 3.0 aswedit + extensions//\",\"-//ietf//dtd html 2.0 level 1//\",\"-//ietf//dtd html 2.0 level 2//\",\"-//ietf//dtd html 2.0 strict level 1//\",\"-//ietf//dtd html 2.0 strict level 2//\",\"-//ietf//dtd html 2.0 strict//\",\"-//ietf//dtd html 2.0//\",\"-//ietf//dtd html 2.1e//\",\"-//ietf//dtd html 3.0//\",\"-//ietf//dtd html 3.2 final//\",\"-//ietf//dtd html 3.2//\",\"-//ietf//dtd html 3//\",\"-//ietf//dtd html level 0//\",\"-//ietf//dtd html level 1//\",\"-//ietf//dtd html level 2//\",\"-//ietf//dtd html level 3//\",\"-//ietf//dtd html strict level 0//\",\"-//ietf//dtd html strict level 1//\",\"-//ietf//dtd html strict level 2//\",\"-//ietf//dtd html strict level 3//\",\"-//ietf//dtd html strict//\",\"-//ietf//dtd html//\",\"-//metrius//dtd metrius presentational//\",\"-//microsoft//dtd internet explorer 2.0 html strict//\",\"-//microsoft//dtd internet explorer 2.0 html//\",\"-//microsoft//dtd internet explorer 2.0 tables//\",\"-//microsoft//dtd internet explorer 3.0 html strict//\",\"-//microsoft//dtd internet explorer 3.0 html//\",\"-//microsoft//dtd internet explorer 3.0 tables//\",\"-//netscape comm. corp.//dtd html//\",\"-//netscape comm. corp.//dtd strict html//\",\"-//o'reilly and associates//dtd html 2.0//\",\"-//o'reilly and associates//dtd html extended 1.0//\",\"-//o'reilly and associates//dtd html extended relaxed 1.0//\",\"-//sq//dtd html 2.0 hotmetal + extensions//\",\"-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//\",\"-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//\",\"-//spyglass//dtd html 2.0 extended//\",\"-//sun microsystems corp.//dtd hotjava html//\",\"-//sun microsystems corp.//dtd hotjava strict html//\",\"-//w3c//dtd html 3 1995-03-24//\",\"-//w3c//dtd html 3.2 draft//\",\"-//w3c//dtd html 3.2 final//\",\"-//w3c//dtd html 3.2//\",\"-//w3c//dtd html 3.2s draft//\",\"-//w3c//dtd html 4.0 frameset//\",\"-//w3c//dtd html 4.0 transitional//\",\"-//w3c//dtd html experimental 19960712//\",\"-//w3c//dtd html experimental 970421//\",\"-//w3c//dtd w3 html//\",\"-//w3o//dtd w3 html 3.0//\",\"-//webtechs//dtd mozilla html 2.0//\",\"-//webtechs//dtd mozilla html//\"],cY=[...xR,\"-//w3c//dtd html 4.01 frameset//\",\"-//w3c//dtd html 4.01 transitional//\"],dY=new Set([\"-//w3o//dtd w3 html strict 3.0//en//\",\"-/w3c/dtd html 4.0 transitional/en\",\"html\"]),SR=[\"-//w3c//dtd xhtml 1.0 frameset//\",\"-//w3c//dtd xhtml 1.0 transitional//\"],fY=[...SR,\"-//w3c//dtd html 4.01 frameset//\",\"-//w3c//dtd html 4.01 transitional//\"];function Y2(e,t){return t.some(n=>e.startsWith(n))}function hY(e){return e.name===vR&&e.publicId===null&&(e.systemId===null||e.systemId===lY)}function mY(e){if(e.name!==vR)return pa.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===uY)return pa.QUIRKS;let{publicId:n}=e;if(n!==null){if(n=n.toLowerCase(),dY.has(n))return pa.QUIRKS;let r=t===null?cY:xR;if(Y2(n,r))return pa.QUIRKS;if(r=t===null?SR:fY,Y2(n,r))return pa.LIMITED_QUIRKS}return pa.NO_QUIRKS}const G2={TEXT_HTML:\"text/html\",APPLICATION_XML:\"application/xhtml+xml\"},pY=\"definitionurl\",gY=\"definitionURL\",bY=new Map([\"attributeName\",\"attributeType\",\"baseFrequency\",\"baseProfile\",\"calcMode\",\"clipPathUnits\",\"diffuseConstant\",\"edgeMode\",\"filterUnits\",\"glyphRef\",\"gradientTransform\",\"gradientUnits\",\"kernelMatrix\",\"kernelUnitLength\",\"keyPoints\",\"keySplines\",\"keyTimes\",\"lengthAdjust\",\"limitingConeAngle\",\"markerHeight\",\"markerUnits\",\"markerWidth\",\"maskContentUnits\",\"maskUnits\",\"numOctaves\",\"pathLength\",\"patternContentUnits\",\"patternTransform\",\"patternUnits\",\"pointsAtX\",\"pointsAtY\",\"pointsAtZ\",\"preserveAlpha\",\"preserveAspectRatio\",\"primitiveUnits\",\"refX\",\"refY\",\"repeatCount\",\"repeatDur\",\"requiredExtensions\",\"requiredFeatures\",\"specularConstant\",\"specularExponent\",\"spreadMethod\",\"startOffset\",\"stdDeviation\",\"stitchTiles\",\"surfaceScale\",\"systemLanguage\",\"tableValues\",\"targetX\",\"targetY\",\"textLength\",\"viewBox\",\"viewTarget\",\"xChannelSelector\",\"yChannelSelector\",\"zoomAndPan\"].map(e=>[e.toLowerCase(),e])),EY=new Map([[\"xlink:actuate\",{prefix:\"xlink\",name:\"actuate\",namespace:Ae.XLINK}],[\"xlink:arcrole\",{prefix:\"xlink\",name:\"arcrole\",namespace:Ae.XLINK}],[\"xlink:href\",{prefix:\"xlink\",name:\"href\",namespace:Ae.XLINK}],[\"xlink:role\",{prefix:\"xlink\",name:\"role\",namespace:Ae.XLINK}],[\"xlink:show\",{prefix:\"xlink\",name:\"show\",namespace:Ae.XLINK}],[\"xlink:title\",{prefix:\"xlink\",name:\"title\",namespace:Ae.XLINK}],[\"xlink:type\",{prefix:\"xlink\",name:\"type\",namespace:Ae.XLINK}],[\"xml:lang\",{prefix:\"xml\",name:\"lang\",namespace:Ae.XML}],[\"xml:space\",{prefix:\"xml\",name:\"space\",namespace:Ae.XML}],[\"xmlns\",{prefix:\"\",name:\"xmlns\",namespace:Ae.XMLNS}],[\"xmlns:xlink\",{prefix:\"xmlns\",name:\"xlink\",namespace:Ae.XMLNS}]]),yY=new Map([\"altGlyph\",\"altGlyphDef\",\"altGlyphItem\",\"animateColor\",\"animateMotion\",\"animateTransform\",\"clipPath\",\"feBlend\",\"feColorMatrix\",\"feComponentTransfer\",\"feComposite\",\"feConvolveMatrix\",\"feDiffuseLighting\",\"feDisplacementMap\",\"feDistantLight\",\"feFlood\",\"feFuncA\",\"feFuncB\",\"feFuncG\",\"feFuncR\",\"feGaussianBlur\",\"feImage\",\"feMerge\",\"feMergeNode\",\"feMorphology\",\"feOffset\",\"fePointLight\",\"feSpecularLighting\",\"feSpotLight\",\"feTile\",\"feTurbulence\",\"foreignObject\",\"glyphRef\",\"linearGradient\",\"radialGradient\",\"textPath\"].map(e=>[e.toLowerCase(),e])),_Y=new Set([T.B,T.BIG,T.BLOCKQUOTE,T.BODY,T.BR,T.CENTER,T.CODE,T.DD,T.DIV,T.DL,T.DT,T.EM,T.EMBED,T.H1,T.H2,T.H3,T.H4,T.H5,T.H6,T.HEAD,T.HR,T.I,T.IMG,T.LI,T.LISTING,T.MENU,T.META,T.NOBR,T.OL,T.P,T.PRE,T.RUBY,T.S,T.SMALL,T.SPAN,T.STRONG,T.STRIKE,T.SUB,T.SUP,T.TABLE,T.TT,T.U,T.UL,T.VAR]);function TY(e){const t=e.tagID;return t===T.FONT&&e.attrs.some(({name:r})=>r===po.COLOR||r===po.SIZE||r===po.FACE)||_Y.has(t)}function AR(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===pY){e.attrs[t].name=gY;break}}function NR(e){for(let t=0;t<e.attrs.length;t++){const n=bY.get(e.attrs[t].name);n!=null&&(e.attrs[t].name=n)}}function u1(e){for(let t=0;t<e.attrs.length;t++){const n=EY.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function vY(e){const t=yY.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=nu(e.tagName))}function xY(e,t){return t===Ae.MATHML&&(e===T.MI||e===T.MO||e===T.MN||e===T.MS||e===T.MTEXT)}function SY(e,t,n){if(t===Ae.MATHML&&e===T.ANNOTATION_XML){for(let r=0;r<n.length;r++)if(n[r].name===po.ENCODING){const i=n[r].value.toLowerCase();return i===G2.TEXT_HTML||i===G2.APPLICATION_XML}}return t===Ae.SVG&&(e===T.FOREIGN_OBJECT||e===T.DESC||e===T.TITLE)}function AY(e,t,n,r){return(!r||r===Ae.HTML)&&SY(e,t,n)||(!r||r===Ae.MATHML)&&xY(e,t)}const NY=\"hidden\",wY=8,CY=3;var q;(function(e){e[e.INITIAL=0]=\"INITIAL\",e[e.BEFORE_HTML=1]=\"BEFORE_HTML\",e[e.BEFORE_HEAD=2]=\"BEFORE_HEAD\",e[e.IN_HEAD=3]=\"IN_HEAD\",e[e.IN_HEAD_NO_SCRIPT=4]=\"IN_HEAD_NO_SCRIPT\",e[e.AFTER_HEAD=5]=\"AFTER_HEAD\",e[e.IN_BODY=6]=\"IN_BODY\",e[e.TEXT=7]=\"TEXT\",e[e.IN_TABLE=8]=\"IN_TABLE\",e[e.IN_TABLE_TEXT=9]=\"IN_TABLE_TEXT\",e[e.IN_CAPTION=10]=\"IN_CAPTION\",e[e.IN_COLUMN_GROUP=11]=\"IN_COLUMN_GROUP\",e[e.IN_TABLE_BODY=12]=\"IN_TABLE_BODY\",e[e.IN_ROW=13]=\"IN_ROW\",e[e.IN_CELL=14]=\"IN_CELL\",e[e.IN_SELECT=15]=\"IN_SELECT\",e[e.IN_SELECT_IN_TABLE=16]=\"IN_SELECT_IN_TABLE\",e[e.IN_TEMPLATE=17]=\"IN_TEMPLATE\",e[e.AFTER_BODY=18]=\"AFTER_BODY\",e[e.IN_FRAMESET=19]=\"IN_FRAMESET\",e[e.AFTER_FRAMESET=20]=\"AFTER_FRAMESET\",e[e.AFTER_AFTER_BODY=21]=\"AFTER_AFTER_BODY\",e[e.AFTER_AFTER_FRAMESET=22]=\"AFTER_AFTER_FRAMESET\"})(q||(q={}));const RY={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},wR=new Set([T.TABLE,T.TBODY,T.TFOOT,T.THEAD,T.TR]),V2={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:gs,onParseError:null};class K2{constructor(t,n,r=null,i=null){this.fragmentContext=r,this.scriptHandler=i,this.currentToken=null,this.stopped=!1,this.insertionMode=q.INITIAL,this.originalInsertionMode=q.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...V2,...t},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=n??this.treeAdapter.createDocument(),this.tokenizer=new Jq(this.options,this),this.activeFormattingElements=new oY(this.treeAdapter),this.fragmentContextID=r?nu(this.treeAdapter.getTagName(r)):T.UNKNOWN,this._setContextModes(r??this.document,this.fragmentContextID),this.openElements=new sY(this.document,this.treeAdapter,this)}static parse(t,n){const r=new this(n);return r.tokenizer.write(t,!0),r.document}static getFragmentParser(t,n){const r={...V2,...n};t??(t=r.treeAdapter.createElement(ie.TEMPLATE,Ae.HTML,[]));const i=r.treeAdapter.createElement(\"documentmock\",Ae.HTML,[]),o=new this(r,i,t);return o.fragmentContextID===T.TEMPLATE&&o.tmplInsertionModeStack.unshift(q.IN_TEMPLATE),o._initTokenizerForFragmentParsing(),o._insertFakeRootElement(),o._resetInsertionMode(),o._findFormInFragmentContext(),o}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),n=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,n),n}_err(t,n,r){var i;if(!this.onParseError)return;const o=(i=t.location)!==null&&i!==void 0?i:RY,l={code:n,startLine:o.startLine,startCol:o.startCol,startOffset:o.startOffset,endLine:r?o.startLine:o.endLine,endCol:r?o.startCol:o.endCol,endOffset:r?o.startOffset:o.endOffset};this.onParseError(l)}onItemPush(t,n,r){var i,o;(o=(i=this.treeAdapter).onItemPush)===null||o===void 0||o.call(i,t),r&&this.openElements.stackTop>0&&this._setContextModes(t,n)}onItemPop(t,n){var r,i;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(i=(r=this.treeAdapter).onItemPop)===null||i===void 0||i.call(r,t,this.openElements.current),n){let o,l;this.openElements.stackTop===0&&this.fragmentContext?(o=this.fragmentContext,l=this.fragmentContextID):{current:o,currentTagId:l}=this.openElements,this._setContextModes(o,l)}}_setContextModes(t,n){const r=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===Ae.HTML;this.currentNotInHTML=!r,this.tokenizer.inForeignNode=!r&&t!==void 0&&n!==void 0&&!this._isIntegrationPoint(n,t)}_switchToTextParsing(t,n){this._insertElement(t,Ae.HTML),this.tokenizer.state=n,this.originalInsertionMode=this.insertionMode,this.insertionMode=q.TEXT}switchToPlaintextParsing(){this.insertionMode=q.TEXT,this.originalInsertionMode=q.IN_BODY,this.tokenizer.state=xn.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===ie.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==Ae.HTML))switch(this.fragmentContextID){case T.TITLE:case T.TEXTAREA:{this.tokenizer.state=xn.RCDATA;break}case T.STYLE:case T.XMP:case T.IFRAME:case T.NOEMBED:case T.NOFRAMES:case T.NOSCRIPT:{this.tokenizer.state=xn.RAWTEXT;break}case T.SCRIPT:{this.tokenizer.state=xn.SCRIPT_DATA;break}case T.PLAINTEXT:{this.tokenizer.state=xn.PLAINTEXT;break}}}_setDocumentType(t){const n=t.name||\"\",r=t.publicId||\"\",i=t.systemId||\"\";if(this.treeAdapter.setDocumentType(this.document,n,r,i),t.location){const l=this.treeAdapter.getChildNodes(this.document).find(c=>this.treeAdapter.isDocumentTypeNode(c));l&&this.treeAdapter.setNodeSourceCodeLocation(l,t.location)}}_attachElementToTree(t,n){if(this.options.sourceCodeLocationInfo){const r=n&&{...n,startTag:n};this.treeAdapter.setNodeSourceCodeLocation(t,r)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const r=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(r??this.document,t)}}_appendElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location)}_insertElement(t,n){const r=this.treeAdapter.createElement(t.tagName,n,t.attrs);this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID)}_insertFakeElement(t,n){const r=this.treeAdapter.createElement(t,Ae.HTML,[]);this._attachElementToTree(r,null),this.openElements.push(r,n)}_insertTemplate(t){const n=this.treeAdapter.createElement(t.tagName,Ae.HTML,t.attrs),r=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(n,r),this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(ie.HTML,Ae.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,T.HTML)}_appendCommentNode(t,n){const r=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(n,r),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(r,t.location)}_insertCharacters(t){let n,r;if(this._shouldFosterParentOnInsertion()?({parent:n,beforeElement:r}=this._findFosterParentingLocation(),r?this.treeAdapter.insertTextBefore(n,t.chars,r):this.treeAdapter.insertText(n,t.chars)):(n=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(n,t.chars)),!t.location)return;const i=this.treeAdapter.getChildNodes(n),o=r?i.lastIndexOf(r):i.length,l=i[o-1];if(this.treeAdapter.getNodeSourceCodeLocation(l)){const{endLine:d,endCol:f,endOffset:m}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(l,{endLine:d,endCol:f,endOffset:m})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(l,t.location)}_adoptNodes(t,n){for(let r=this.treeAdapter.getFirstChild(t);r;r=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(r),this.treeAdapter.appendChild(n,r)}_setEndLocation(t,n){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&n.location){const r=n.location,i=this.treeAdapter.getTagName(t),o=n.type===vt.END_TAG&&i===n.tagName?{endTag:{...r},endLine:r.endLine,endCol:r.endCol,endOffset:r.endOffset}:{endLine:r.startLine,endCol:r.startCol,endOffset:r.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,o)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let n,r;return this.openElements.stackTop===0&&this.fragmentContext?(n=this.fragmentContext,r=this.fragmentContextID):{current:n,currentTagId:r}=this.openElements,t.tagID===T.SVG&&this.treeAdapter.getTagName(n)===ie.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(n)===Ae.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===T.MGLYPH||t.tagID===T.MALIGNMARK)&&r!==void 0&&!this._isIntegrationPoint(r,n,Ae.HTML)}_processToken(t){switch(t.type){case vt.CHARACTER:{this.onCharacter(t);break}case vt.NULL_CHARACTER:{this.onNullCharacter(t);break}case vt.COMMENT:{this.onComment(t);break}case vt.DOCTYPE:{this.onDoctype(t);break}case vt.START_TAG:{this._processStartTag(t);break}case vt.END_TAG:{this.onEndTag(t);break}case vt.EOF:{this.onEof(t);break}case vt.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,n,r){const i=this.treeAdapter.getNamespaceURI(n),o=this.treeAdapter.getAttrList(n);return AY(t,i,o,r)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const n=this.activeFormattingElements.entries.findIndex(i=>i.type===Wa.Marker||this.openElements.contains(i.element)),r=n===-1?t-1:n-1;for(let i=r;i>=0;i--){const o=this.activeFormattingElements.entries[i];this._insertElement(o.token,this.treeAdapter.getNamespaceURI(o.element)),o.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=q.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(T.P),this.openElements.popUntilTagNamePopped(T.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case T.TR:{this.insertionMode=q.IN_ROW;return}case T.TBODY:case T.THEAD:case T.TFOOT:{this.insertionMode=q.IN_TABLE_BODY;return}case T.CAPTION:{this.insertionMode=q.IN_CAPTION;return}case T.COLGROUP:{this.insertionMode=q.IN_COLUMN_GROUP;return}case T.TABLE:{this.insertionMode=q.IN_TABLE;return}case T.BODY:{this.insertionMode=q.IN_BODY;return}case T.FRAMESET:{this.insertionMode=q.IN_FRAMESET;return}case T.SELECT:{this._resetInsertionModeForSelect(t);return}case T.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case T.HTML:{this.insertionMode=this.headElement?q.AFTER_HEAD:q.BEFORE_HEAD;return}case T.TD:case T.TH:{if(t>0){this.insertionMode=q.IN_CELL;return}break}case T.HEAD:{if(t>0){this.insertionMode=q.IN_HEAD;return}break}}this.insertionMode=q.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let n=t-1;n>0;n--){const r=this.openElements.tagIDs[n];if(r===T.TEMPLATE)break;if(r===T.TABLE){this.insertionMode=q.IN_SELECT_IN_TABLE;return}}this.insertionMode=q.IN_SELECT}_isElementCausesFosterParenting(t){return wR.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const n=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case T.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(n)===Ae.HTML)return{parent:this.treeAdapter.getTemplateContent(n),beforeElement:null};break}case T.TABLE:{const r=this.treeAdapter.getParentNode(n);return r?{parent:r,beforeElement:n}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const n=this._findFosterParentingLocation();n.beforeElement?this.treeAdapter.insertBefore(n.parent,t,n.beforeElement):this.treeAdapter.appendChild(n.parent,t)}_isSpecialElement(t,n){const r=this.treeAdapter.getNamespaceURI(t);return Xq[r].has(n)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){iV(this,t);return}switch(this.insertionMode){case q.INITIAL:{fc(this,t);break}case q.BEFORE_HTML:{_c(this,t);break}case q.BEFORE_HEAD:{Tc(this,t);break}case q.IN_HEAD:{vc(this,t);break}case q.IN_HEAD_NO_SCRIPT:{xc(this,t);break}case q.AFTER_HEAD:{Sc(this,t);break}case q.IN_BODY:case q.IN_CAPTION:case q.IN_CELL:case q.IN_TEMPLATE:{RR(this,t);break}case q.TEXT:case q.IN_SELECT:case q.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case q.IN_TABLE:case q.IN_TABLE_BODY:case q.IN_ROW:{_g(this,t);break}case q.IN_TABLE_TEXT:{MR(this,t);break}case q.IN_COLUMN_GROUP:{vh(this,t);break}case q.AFTER_BODY:{xh(this,t);break}case q.AFTER_AFTER_BODY:{Xf(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){aV(this,t);return}switch(this.insertionMode){case q.INITIAL:{fc(this,t);break}case q.BEFORE_HTML:{_c(this,t);break}case q.BEFORE_HEAD:{Tc(this,t);break}case q.IN_HEAD:{vc(this,t);break}case q.IN_HEAD_NO_SCRIPT:{xc(this,t);break}case q.AFTER_HEAD:{Sc(this,t);break}case q.TEXT:{this._insertCharacters(t);break}case q.IN_TABLE:case q.IN_TABLE_BODY:case q.IN_ROW:{_g(this,t);break}case q.IN_COLUMN_GROUP:{vh(this,t);break}case q.AFTER_BODY:{xh(this,t);break}case q.AFTER_AFTER_BODY:{Xf(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Hb(this,t);return}switch(this.insertionMode){case q.INITIAL:case q.BEFORE_HTML:case q.BEFORE_HEAD:case q.IN_HEAD:case q.IN_HEAD_NO_SCRIPT:case q.AFTER_HEAD:case q.IN_BODY:case q.IN_TABLE:case q.IN_CAPTION:case q.IN_COLUMN_GROUP:case q.IN_TABLE_BODY:case q.IN_ROW:case q.IN_CELL:case q.IN_SELECT:case q.IN_SELECT_IN_TABLE:case q.IN_TEMPLATE:case q.IN_FRAMESET:case q.AFTER_FRAMESET:{Hb(this,t);break}case q.IN_TABLE_TEXT:{hc(this,t);break}case q.AFTER_BODY:{PY(this,t);break}case q.AFTER_AFTER_BODY:case q.AFTER_AFTER_FRAMESET:{BY(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case q.INITIAL:{UY(this,t);break}case q.BEFORE_HEAD:case q.IN_HEAD:case q.IN_HEAD_NO_SCRIPT:case q.AFTER_HEAD:{this._err(t,he.misplacedDoctype);break}case q.IN_TABLE_TEXT:{hc(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,he.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?sV(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case q.INITIAL:{fc(this,t);break}case q.BEFORE_HTML:{FY(this,t);break}case q.BEFORE_HEAD:{jY(this,t);break}case q.IN_HEAD:{Fa(this,t);break}case q.IN_HEAD_NO_SCRIPT:{qY(this,t);break}case q.AFTER_HEAD:{GY(this,t);break}case q.IN_BODY:{dr(this,t);break}case q.IN_TABLE:{Hl(this,t);break}case q.IN_TABLE_TEXT:{hc(this,t);break}case q.IN_CAPTION:{zG(this,t);break}case q.IN_COLUMN_GROUP:{f1(this,t);break}case q.IN_TABLE_BODY:{cm(this,t);break}case q.IN_ROW:{dm(this,t);break}case q.IN_CELL:{YG(this,t);break}case q.IN_SELECT:{UR(this,t);break}case q.IN_SELECT_IN_TABLE:{VG(this,t);break}case q.IN_TEMPLATE:{XG(this,t);break}case q.AFTER_BODY:{QG(this,t);break}case q.IN_FRAMESET:{ZG(this,t);break}case q.AFTER_FRAMESET:{eV(this,t);break}case q.AFTER_AFTER_BODY:{nV(this,t);break}case q.AFTER_AFTER_FRAMESET:{rV(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?oV(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case q.INITIAL:{fc(this,t);break}case q.BEFORE_HTML:{HY(this,t);break}case q.BEFORE_HEAD:{zY(this,t);break}case q.IN_HEAD:{$Y(this,t);break}case q.IN_HEAD_NO_SCRIPT:{YY(this,t);break}case q.AFTER_HEAD:{VY(this,t);break}case q.IN_BODY:{um(this,t);break}case q.TEXT:{LG(this,t);break}case q.IN_TABLE:{Uc(this,t);break}case q.IN_TABLE_TEXT:{hc(this,t);break}case q.IN_CAPTION:{$G(this,t);break}case q.IN_COLUMN_GROUP:{qG(this,t);break}case q.IN_TABLE_BODY:{jb(this,t);break}case q.IN_ROW:{BR(this,t);break}case q.IN_CELL:{GG(this,t);break}case q.IN_SELECT:{FR(this,t);break}case q.IN_SELECT_IN_TABLE:{KG(this,t);break}case q.IN_TEMPLATE:{WG(this,t);break}case q.AFTER_BODY:{jR(this,t);break}case q.IN_FRAMESET:{JG(this,t);break}case q.AFTER_FRAMESET:{tV(this,t);break}case q.AFTER_AFTER_BODY:{Xf(this,t);break}}}onEof(t){switch(this.insertionMode){case q.INITIAL:{fc(this,t);break}case q.BEFORE_HTML:{_c(this,t);break}case q.BEFORE_HEAD:{Tc(this,t);break}case q.IN_HEAD:{vc(this,t);break}case q.IN_HEAD_NO_SCRIPT:{xc(this,t);break}case q.AFTER_HEAD:{Sc(this,t);break}case q.IN_BODY:case q.IN_TABLE:case q.IN_CAPTION:case q.IN_COLUMN_GROUP:case q.IN_TABLE_BODY:case q.IN_ROW:case q.IN_CELL:case q.IN_SELECT:case q.IN_SELECT_IN_TABLE:{IR(this,t);break}case q.TEXT:{IG(this,t);break}case q.IN_TABLE_TEXT:{hc(this,t);break}case q.IN_TEMPLATE:{HR(this,t);break}case q.AFTER_BODY:case q.IN_FRAMESET:case q.AFTER_FRAMESET:case q.AFTER_AFTER_BODY:case q.AFTER_AFTER_FRAMESET:{d1(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===P.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case q.IN_HEAD:case q.IN_HEAD_NO_SCRIPT:case q.AFTER_HEAD:case q.TEXT:case q.IN_COLUMN_GROUP:case q.IN_SELECT:case q.IN_SELECT_IN_TABLE:case q.IN_FRAMESET:case q.AFTER_FRAMESET:{this._insertCharacters(t);break}case q.IN_BODY:case q.IN_CAPTION:case q.IN_CELL:case q.IN_TEMPLATE:case q.AFTER_BODY:case q.AFTER_AFTER_BODY:case q.AFTER_AFTER_FRAMESET:{CR(this,t);break}case q.IN_TABLE:case q.IN_TABLE_BODY:case q.IN_ROW:{_g(this,t);break}case q.IN_TABLE_TEXT:{DR(this,t);break}}}}function OY(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):LR(e,t),n}function kY(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}function LY(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let o=0,l=i;l!==n;o++,l=i){i=e.openElements.getCommonAncestor(l);const c=e.activeFormattingElements.getElementEntry(l),d=c&&o>=CY;!c||d?(d&&e.activeFormattingElements.removeEntry(c),e.openElements.remove(l)):(l=IY(e,c),r===t&&(e.activeFormattingElements.bookmark=c),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(l,r),r=l)}return r}function IY(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function DY(e,t,n){const r=e.treeAdapter.getTagName(t),i=nu(r);if(e._isElementCausesFosterParenting(i))e._fosterParentElement(n);else{const o=e.treeAdapter.getNamespaceURI(t);i===T.TEMPLATE&&o===Ae.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function MY(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,o=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o,i.tagID)}function c1(e,t){for(let n=0;n<wY;n++){const r=OY(e,t);if(!r)break;const i=kY(e,r);if(!i)break;e.activeFormattingElements.bookmark=r;const o=LY(e,i,r.element),l=e.openElements.getCommonAncestor(r.element);e.treeAdapter.detachNode(o),l&&DY(e,l,o),MY(e,i,r)}}function Hb(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function PY(e,t){e._appendCommentNode(t,e.openElements.items[0])}function BY(e,t){e._appendCommentNode(t,e.document)}function d1(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const r=e.openElements.items[0],i=e.treeAdapter.getNodeSourceCodeLocation(r);if(i&&!i.endTag&&(e._setEndLocation(r,t),e.openElements.stackTop>=1)){const o=e.openElements.items[1],l=e.treeAdapter.getNodeSourceCodeLocation(o);l&&!l.endTag&&e._setEndLocation(o,t)}}}}function UY(e,t){e._setDocumentType(t);const n=t.forceQuirks?pa.QUIRKS:mY(t);hY(t)||e._err(t,he.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=q.BEFORE_HTML}function fc(e,t){e._err(t,he.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,pa.QUIRKS),e.insertionMode=q.BEFORE_HTML,e._processToken(t)}function FY(e,t){t.tagID===T.HTML?(e._insertElement(t,Ae.HTML),e.insertionMode=q.BEFORE_HEAD):_c(e,t)}function HY(e,t){const n=t.tagID;(n===T.HTML||n===T.HEAD||n===T.BODY||n===T.BR)&&_c(e,t)}function _c(e,t){e._insertFakeRootElement(),e.insertionMode=q.BEFORE_HEAD,e._processToken(t)}function jY(e,t){switch(t.tagID){case T.HTML:{dr(e,t);break}case T.HEAD:{e._insertElement(t,Ae.HTML),e.headElement=e.openElements.current,e.insertionMode=q.IN_HEAD;break}default:Tc(e,t)}}function zY(e,t){const n=t.tagID;n===T.HEAD||n===T.BODY||n===T.HTML||n===T.BR?Tc(e,t):e._err(t,he.endTagWithoutMatchingOpenElement)}function Tc(e,t){e._insertFakeElement(ie.HEAD,T.HEAD),e.headElement=e.openElements.current,e.insertionMode=q.IN_HEAD,e._processToken(t)}function Fa(e,t){switch(t.tagID){case T.HTML:{dr(e,t);break}case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:{e._appendElement(t,Ae.HTML),t.ackSelfClosing=!0;break}case T.TITLE:{e._switchToTextParsing(t,xn.RCDATA);break}case T.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,xn.RAWTEXT):(e._insertElement(t,Ae.HTML),e.insertionMode=q.IN_HEAD_NO_SCRIPT);break}case T.NOFRAMES:case T.STYLE:{e._switchToTextParsing(t,xn.RAWTEXT);break}case T.SCRIPT:{e._switchToTextParsing(t,xn.SCRIPT_DATA);break}case T.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=q.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(q.IN_TEMPLATE);break}case T.HEAD:{e._err(t,he.misplacedStartTagForHeadElement);break}default:vc(e,t)}}function $Y(e,t){switch(t.tagID){case T.HEAD:{e.openElements.pop(),e.insertionMode=q.AFTER_HEAD;break}case T.BODY:case T.BR:case T.HTML:{vc(e,t);break}case T.TEMPLATE:{ko(e,t);break}default:e._err(t,he.endTagWithoutMatchingOpenElement)}}function ko(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==T.TEMPLATE&&e._err(t,he.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,he.endTagWithoutMatchingOpenElement)}function vc(e,t){e.openElements.pop(),e.insertionMode=q.AFTER_HEAD,e._processToken(t)}function qY(e,t){switch(t.tagID){case T.HTML:{dr(e,t);break}case T.BASEFONT:case T.BGSOUND:case T.HEAD:case T.LINK:case T.META:case T.NOFRAMES:case T.STYLE:{Fa(e,t);break}case T.NOSCRIPT:{e._err(t,he.nestedNoscriptInHead);break}default:xc(e,t)}}function YY(e,t){switch(t.tagID){case T.NOSCRIPT:{e.openElements.pop(),e.insertionMode=q.IN_HEAD;break}case T.BR:{xc(e,t);break}default:e._err(t,he.endTagWithoutMatchingOpenElement)}}function xc(e,t){const n=t.type===vt.EOF?he.openElementsLeftAfterEof:he.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=q.IN_HEAD,e._processToken(t)}function GY(e,t){switch(t.tagID){case T.HTML:{dr(e,t);break}case T.BODY:{e._insertElement(t,Ae.HTML),e.framesetOk=!1,e.insertionMode=q.IN_BODY;break}case T.FRAMESET:{e._insertElement(t,Ae.HTML),e.insertionMode=q.IN_FRAMESET;break}case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:{e._err(t,he.abandonedHeadElementChild),e.openElements.push(e.headElement,T.HEAD),Fa(e,t),e.openElements.remove(e.headElement);break}case T.HEAD:{e._err(t,he.misplacedStartTagForHeadElement);break}default:Sc(e,t)}}function VY(e,t){switch(t.tagID){case T.BODY:case T.HTML:case T.BR:{Sc(e,t);break}case T.TEMPLATE:{ko(e,t);break}default:e._err(t,he.endTagWithoutMatchingOpenElement)}}function Sc(e,t){e._insertFakeElement(ie.BODY,T.BODY),e.insertionMode=q.IN_BODY,lm(e,t)}function lm(e,t){switch(t.type){case vt.CHARACTER:{RR(e,t);break}case vt.WHITESPACE_CHARACTER:{CR(e,t);break}case vt.COMMENT:{Hb(e,t);break}case vt.START_TAG:{dr(e,t);break}case vt.END_TAG:{um(e,t);break}case vt.EOF:{IR(e,t);break}}}function CR(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function RR(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function KY(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function XY(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}function WY(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Ae.HTML),e.insertionMode=q.IN_FRAMESET)}function QY(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,Ae.HTML)}function ZY(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Fb.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Ae.HTML)}function JY(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,Ae.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function eG(e,t){const n=e.openElements.tmplCount>0;(!e.formElement||n)&&(e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,Ae.HTML),n||(e.formElement=e.openElements.current))}function tG(e,t){e.framesetOk=!1;const n=t.tagID;for(let r=e.openElements.stackTop;r>=0;r--){const i=e.openElements.tagIDs[r];if(n===T.LI&&i===T.LI||(n===T.DD||n===T.DT)&&(i===T.DD||i===T.DT)){e.openElements.generateImpliedEndTagsWithExclusion(i),e.openElements.popUntilTagNamePopped(i);break}if(i!==T.ADDRESS&&i!==T.DIV&&i!==T.P&&e._isSpecialElement(e.openElements.items[r],i))break}e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,Ae.HTML)}function nG(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,Ae.HTML),e.tokenizer.state=xn.PLAINTEXT}function rG(e,t){e.openElements.hasInScope(T.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Ae.HTML),e.framesetOk=!1}function aG(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(ie.A);n&&(c1(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,Ae.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function iG(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ae.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function sG(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(T.NOBR)&&(c1(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Ae.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function oG(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ae.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function lG(e,t){e.treeAdapter.getDocumentMode(e.document)!==pa.QUIRKS&&e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._insertElement(t,Ae.HTML),e.framesetOk=!1,e.insertionMode=q.IN_TABLE}function OR(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Ae.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function kR(e){const t=yR(e,po.TYPE);return t!=null&&t.toLowerCase()===NY}function uG(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Ae.HTML),kR(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function cG(e,t){e._appendElement(t,Ae.HTML),t.ackSelfClosing=!0}function dG(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._appendElement(t,Ae.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function fG(e,t){t.tagName=ie.IMG,t.tagID=T.IMG,OR(e,t)}function hG(e,t){e._insertElement(t,Ae.HTML),e.skipNextNewLine=!0,e.tokenizer.state=xn.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=q.TEXT}function mG(e,t){e.openElements.hasInButtonScope(T.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,xn.RAWTEXT)}function pG(e,t){e.framesetOk=!1,e._switchToTextParsing(t,xn.RAWTEXT)}function X2(e,t){e._switchToTextParsing(t,xn.RAWTEXT)}function gG(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ae.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===q.IN_TABLE||e.insertionMode===q.IN_CAPTION||e.insertionMode===q.IN_TABLE_BODY||e.insertionMode===q.IN_ROW||e.insertionMode===q.IN_CELL?q.IN_SELECT_IN_TABLE:q.IN_SELECT}function bG(e,t){e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Ae.HTML)}function EG(e,t){e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Ae.HTML)}function yG(e,t){e.openElements.hasInScope(T.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(T.RTC),e._insertElement(t,Ae.HTML)}function _G(e,t){e._reconstructActiveFormattingElements(),AR(t),u1(t),t.selfClosing?e._appendElement(t,Ae.MATHML):e._insertElement(t,Ae.MATHML),t.ackSelfClosing=!0}function TG(e,t){e._reconstructActiveFormattingElements(),NR(t),u1(t),t.selfClosing?e._appendElement(t,Ae.SVG):e._insertElement(t,Ae.SVG),t.ackSelfClosing=!0}function W2(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Ae.HTML)}function dr(e,t){switch(t.tagID){case T.I:case T.S:case T.B:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.SMALL:case T.STRIKE:case T.STRONG:{iG(e,t);break}case T.A:{aG(e,t);break}case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:{ZY(e,t);break}case T.P:case T.DL:case T.OL:case T.UL:case T.DIV:case T.DIR:case T.NAV:case T.MAIN:case T.MENU:case T.ASIDE:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.DETAILS:case T.ADDRESS:case T.ARTICLE:case T.SEARCH:case T.SECTION:case T.SUMMARY:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:{QY(e,t);break}case T.LI:case T.DD:case T.DT:{tG(e,t);break}case T.BR:case T.IMG:case T.WBR:case T.AREA:case T.EMBED:case T.KEYGEN:{OR(e,t);break}case T.HR:{dG(e,t);break}case T.RB:case T.RTC:{EG(e,t);break}case T.RT:case T.RP:{yG(e,t);break}case T.PRE:case T.LISTING:{JY(e,t);break}case T.XMP:{mG(e,t);break}case T.SVG:{TG(e,t);break}case T.HTML:{KY(e,t);break}case T.BASE:case T.LINK:case T.META:case T.STYLE:case T.TITLE:case T.SCRIPT:case T.BGSOUND:case T.BASEFONT:case T.TEMPLATE:{Fa(e,t);break}case T.BODY:{XY(e,t);break}case T.FORM:{eG(e,t);break}case T.NOBR:{sG(e,t);break}case T.MATH:{_G(e,t);break}case T.TABLE:{lG(e,t);break}case T.INPUT:{uG(e,t);break}case T.PARAM:case T.TRACK:case T.SOURCE:{cG(e,t);break}case T.IMAGE:{fG(e,t);break}case T.BUTTON:{rG(e,t);break}case T.APPLET:case T.OBJECT:case T.MARQUEE:{oG(e,t);break}case T.IFRAME:{pG(e,t);break}case T.SELECT:{gG(e,t);break}case T.OPTION:case T.OPTGROUP:{bG(e,t);break}case T.NOEMBED:case T.NOFRAMES:{X2(e,t);break}case T.FRAMESET:{WY(e,t);break}case T.TEXTAREA:{hG(e,t);break}case T.NOSCRIPT:{e.options.scriptingEnabled?X2(e,t):W2(e,t);break}case T.PLAINTEXT:{nG(e,t);break}case T.COL:case T.TH:case T.TD:case T.TR:case T.HEAD:case T.FRAME:case T.TBODY:case T.TFOOT:case T.THEAD:case T.CAPTION:case T.COLGROUP:break;default:W2(e,t)}}function vG(e,t){if(e.openElements.hasInScope(T.BODY)&&(e.insertionMode=q.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}function xG(e,t){e.openElements.hasInScope(T.BODY)&&(e.insertionMode=q.AFTER_BODY,jR(e,t))}function SG(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}function AG(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(T.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(T.FORM):n&&e.openElements.remove(n))}function NG(e){e.openElements.hasInButtonScope(T.P)||e._insertFakeElement(ie.P,T.P),e._closePElement()}function wG(e){e.openElements.hasInListItemScope(T.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(T.LI),e.openElements.popUntilTagNamePopped(T.LI))}function CG(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}function RG(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function OG(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}function kG(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(ie.BR,T.BR),e.openElements.pop(),e.framesetOk=!1}function LR(e,t){const n=t.tagName,r=t.tagID;for(let i=e.openElements.stackTop;i>0;i--){const o=e.openElements.items[i],l=e.openElements.tagIDs[i];if(r===l&&(r!==T.UNKNOWN||e.treeAdapter.getTagName(o)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=i&&e.openElements.shortenToLength(i);break}if(e._isSpecialElement(o,l))break}}function um(e,t){switch(t.tagID){case T.A:case T.B:case T.I:case T.S:case T.U:case T.EM:case T.TT:case T.BIG:case T.CODE:case T.FONT:case T.NOBR:case T.SMALL:case T.STRIKE:case T.STRONG:{c1(e,t);break}case T.P:{NG(e);break}case T.DL:case T.UL:case T.OL:case T.DIR:case T.DIV:case T.NAV:case T.PRE:case T.MAIN:case T.MENU:case T.ASIDE:case T.BUTTON:case T.CENTER:case T.FIGURE:case T.FOOTER:case T.HEADER:case T.HGROUP:case T.DIALOG:case T.ADDRESS:case T.ARTICLE:case T.DETAILS:case T.SEARCH:case T.SECTION:case T.SUMMARY:case T.LISTING:case T.FIELDSET:case T.BLOCKQUOTE:case T.FIGCAPTION:{SG(e,t);break}case T.LI:{wG(e);break}case T.DD:case T.DT:{CG(e,t);break}case T.H1:case T.H2:case T.H3:case T.H4:case T.H5:case T.H6:{RG(e);break}case T.BR:{kG(e);break}case T.BODY:{vG(e,t);break}case T.HTML:{xG(e,t);break}case T.FORM:{AG(e);break}case T.APPLET:case T.OBJECT:case T.MARQUEE:{OG(e,t);break}case T.TEMPLATE:{ko(e,t);break}default:LR(e,t)}}function IR(e,t){e.tmplInsertionModeStack.length>0?HR(e,t):d1(e,t)}function LG(e,t){var n;t.tagID===T.SCRIPT&&((n=e.scriptHandler)===null||n===void 0||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function IG(e,t){e._err(t,he.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function _g(e,t){if(e.openElements.currentTagId!==void 0&&wR.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=q.IN_TABLE_TEXT,t.type){case vt.CHARACTER:{MR(e,t);break}case vt.WHITESPACE_CHARACTER:{DR(e,t);break}}else ad(e,t)}function DG(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Ae.HTML),e.insertionMode=q.IN_CAPTION}function MG(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Ae.HTML),e.insertionMode=q.IN_COLUMN_GROUP}function PG(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ie.COLGROUP,T.COLGROUP),e.insertionMode=q.IN_COLUMN_GROUP,f1(e,t)}function BG(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Ae.HTML),e.insertionMode=q.IN_TABLE_BODY}function UG(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(ie.TBODY,T.TBODY),e.insertionMode=q.IN_TABLE_BODY,cm(e,t)}function FG(e,t){e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function HG(e,t){kR(t)?e._appendElement(t,Ae.HTML):ad(e,t),t.ackSelfClosing=!0}function jG(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,Ae.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Hl(e,t){switch(t.tagID){case T.TD:case T.TH:case T.TR:{UG(e,t);break}case T.STYLE:case T.SCRIPT:case T.TEMPLATE:{Fa(e,t);break}case T.COL:{PG(e,t);break}case T.FORM:{jG(e,t);break}case T.TABLE:{FG(e,t);break}case T.TBODY:case T.TFOOT:case T.THEAD:{BG(e,t);break}case T.INPUT:{HG(e,t);break}case T.CAPTION:{DG(e,t);break}case T.COLGROUP:{MG(e,t);break}default:ad(e,t)}}function Uc(e,t){switch(t.tagID){case T.TABLE:{e.openElements.hasInTableScope(T.TABLE)&&(e.openElements.popUntilTagNamePopped(T.TABLE),e._resetInsertionMode());break}case T.TEMPLATE:{ko(e,t);break}case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:ad(e,t)}}function ad(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,lm(e,t),e.fosterParentingEnabled=n}function DR(e,t){e.pendingCharacterTokens.push(t)}function MR(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function hc(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)ad(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const PR=new Set([T.CAPTION,T.COL,T.COLGROUP,T.TBODY,T.TD,T.TFOOT,T.TH,T.THEAD,T.TR]);function zG(e,t){const n=t.tagID;PR.has(n)?e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=q.IN_TABLE,Hl(e,t)):dr(e,t)}function $G(e,t){const n=t.tagID;switch(n){case T.CAPTION:case T.TABLE:{e.openElements.hasInTableScope(T.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(T.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=q.IN_TABLE,n===T.TABLE&&Uc(e,t));break}case T.BODY:case T.COL:case T.COLGROUP:case T.HTML:case T.TBODY:case T.TD:case T.TFOOT:case T.TH:case T.THEAD:case T.TR:break;default:um(e,t)}}function f1(e,t){switch(t.tagID){case T.HTML:{dr(e,t);break}case T.COL:{e._appendElement(t,Ae.HTML),t.ackSelfClosing=!0;break}case T.TEMPLATE:{Fa(e,t);break}default:vh(e,t)}}function qG(e,t){switch(t.tagID){case T.COLGROUP:{e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=q.IN_TABLE);break}case T.TEMPLATE:{ko(e,t);break}case T.COL:break;default:vh(e,t)}}function vh(e,t){e.openElements.currentTagId===T.COLGROUP&&(e.openElements.pop(),e.insertionMode=q.IN_TABLE,e._processToken(t))}function cm(e,t){switch(t.tagID){case T.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Ae.HTML),e.insertionMode=q.IN_ROW;break}case T.TH:case T.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(ie.TR,T.TR),e.insertionMode=q.IN_ROW,dm(e,t);break}case T.CAPTION:case T.COL:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=q.IN_TABLE,Hl(e,t));break}default:Hl(e,t)}}function jb(e,t){const n=t.tagID;switch(t.tagID){case T.TBODY:case T.TFOOT:case T.THEAD:{e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=q.IN_TABLE);break}case T.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=q.IN_TABLE,Uc(e,t));break}case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TD:case T.TH:case T.TR:break;default:Uc(e,t)}}function dm(e,t){switch(t.tagID){case T.TH:case T.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,Ae.HTML),e.insertionMode=q.IN_CELL,e.activeFormattingElements.insertMarker();break}case T.CAPTION:case T.COL:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:{e.openElements.hasInTableScope(T.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=q.IN_TABLE_BODY,cm(e,t));break}default:Hl(e,t)}}function BR(e,t){switch(t.tagID){case T.TR:{e.openElements.hasInTableScope(T.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=q.IN_TABLE_BODY);break}case T.TABLE:{e.openElements.hasInTableScope(T.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=q.IN_TABLE_BODY,jb(e,t));break}case T.TBODY:case T.TFOOT:case T.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(T.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=q.IN_TABLE_BODY,jb(e,t));break}case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:case T.TD:case T.TH:break;default:Uc(e,t)}}function YG(e,t){const n=t.tagID;PR.has(n)?(e.openElements.hasInTableScope(T.TD)||e.openElements.hasInTableScope(T.TH))&&(e._closeTableCell(),dm(e,t)):dr(e,t)}function GG(e,t){const n=t.tagID;switch(n){case T.TD:case T.TH:{e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=q.IN_ROW);break}case T.TABLE:case T.TBODY:case T.TFOOT:case T.THEAD:case T.TR:{e.openElements.hasInTableScope(n)&&(e._closeTableCell(),BR(e,t));break}case T.BODY:case T.CAPTION:case T.COL:case T.COLGROUP:case T.HTML:break;default:um(e,t)}}function UR(e,t){switch(t.tagID){case T.HTML:{dr(e,t);break}case T.OPTION:{e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e._insertElement(t,Ae.HTML);break}case T.OPTGROUP:{e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop(),e._insertElement(t,Ae.HTML);break}case T.HR:{e.openElements.currentTagId===T.OPTION&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop(),e._appendElement(t,Ae.HTML),t.ackSelfClosing=!0;break}case T.INPUT:case T.KEYGEN:case T.TEXTAREA:case T.SELECT:{e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),t.tagID!==T.SELECT&&e._processStartTag(t));break}case T.SCRIPT:case T.TEMPLATE:{Fa(e,t);break}}}function FR(e,t){switch(t.tagID){case T.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===T.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===T.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===T.OPTGROUP&&e.openElements.pop();break}case T.OPTION:{e.openElements.currentTagId===T.OPTION&&e.openElements.pop();break}case T.SELECT:{e.openElements.hasInSelectScope(T.SELECT)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode());break}case T.TEMPLATE:{ko(e,t);break}}}function VG(e,t){const n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e._processStartTag(t)):UR(e,t)}function KG(e,t){const n=t.tagID;n===T.CAPTION||n===T.TABLE||n===T.TBODY||n===T.TFOOT||n===T.THEAD||n===T.TR||n===T.TD||n===T.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(T.SELECT),e._resetInsertionMode(),e.onEndTag(t)):FR(e,t)}function XG(e,t){switch(t.tagID){case T.BASE:case T.BASEFONT:case T.BGSOUND:case T.LINK:case T.META:case T.NOFRAMES:case T.SCRIPT:case T.STYLE:case T.TEMPLATE:case T.TITLE:{Fa(e,t);break}case T.CAPTION:case T.COLGROUP:case T.TBODY:case T.TFOOT:case T.THEAD:{e.tmplInsertionModeStack[0]=q.IN_TABLE,e.insertionMode=q.IN_TABLE,Hl(e,t);break}case T.COL:{e.tmplInsertionModeStack[0]=q.IN_COLUMN_GROUP,e.insertionMode=q.IN_COLUMN_GROUP,f1(e,t);break}case T.TR:{e.tmplInsertionModeStack[0]=q.IN_TABLE_BODY,e.insertionMode=q.IN_TABLE_BODY,cm(e,t);break}case T.TD:case T.TH:{e.tmplInsertionModeStack[0]=q.IN_ROW,e.insertionMode=q.IN_ROW,dm(e,t);break}default:e.tmplInsertionModeStack[0]=q.IN_BODY,e.insertionMode=q.IN_BODY,dr(e,t)}}function WG(e,t){t.tagID===T.TEMPLATE&&ko(e,t)}function HR(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(T.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):d1(e,t)}function QG(e,t){t.tagID===T.HTML?dr(e,t):xh(e,t)}function jR(e,t){var n;if(t.tagID===T.HTML){if(e.fragmentContext||(e.insertionMode=q.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===T.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(!((n=e.treeAdapter.getNodeSourceCodeLocation(r))===null||n===void 0)&&n.endTag)&&e._setEndLocation(r,t)}}else xh(e,t)}function xh(e,t){e.insertionMode=q.IN_BODY,lm(e,t)}function ZG(e,t){switch(t.tagID){case T.HTML:{dr(e,t);break}case T.FRAMESET:{e._insertElement(t,Ae.HTML);break}case T.FRAME:{e._appendElement(t,Ae.HTML),t.ackSelfClosing=!0;break}case T.NOFRAMES:{Fa(e,t);break}}}function JG(e,t){t.tagID===T.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==T.FRAMESET&&(e.insertionMode=q.AFTER_FRAMESET))}function eV(e,t){switch(t.tagID){case T.HTML:{dr(e,t);break}case T.NOFRAMES:{Fa(e,t);break}}}function tV(e,t){t.tagID===T.HTML&&(e.insertionMode=q.AFTER_AFTER_FRAMESET)}function nV(e,t){t.tagID===T.HTML?dr(e,t):Xf(e,t)}function Xf(e,t){e.insertionMode=q.IN_BODY,lm(e,t)}function rV(e,t){switch(t.tagID){case T.HTML:{dr(e,t);break}case T.NOFRAMES:{Fa(e,t);break}}}function aV(e,t){t.chars=cn,e._insertCharacters(t)}function iV(e,t){e._insertCharacters(t),e.framesetOk=!1}function zR(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Ae.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function sV(e,t){if(TY(t))zR(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===Ae.MATHML?AR(t):r===Ae.SVG&&(vY(t),NR(t)),u1(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}function oV(e,t){if(t.tagID===T.P||t.tagID===T.BR){zR(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===Ae.HTML){e._endTagOutsideForeignContent(t);break}const i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}ie.AREA,ie.BASE,ie.BASEFONT,ie.BGSOUND,ie.BR,ie.COL,ie.EMBED,ie.FRAME,ie.HR,ie.IMG,ie.INPUT,ie.KEYGEN,ie.LINK,ie.META,ie.PARAM,ie.SOURCE,ie.TRACK,ie.WBR;const lV=/<(\\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\\t\\n\\f\\r />])/gi,uV=new Set([\"mdxFlowExpression\",\"mdxJsxFlowElement\",\"mdxJsxTextElement\",\"mdxTextExpression\",\"mdxjsEsm\"]),Q2={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function $R(e,t){const n=yV(e),r=mR(\"type\",{handlers:{root:cV,element:dV,text:fV,comment:YR,doctype:hV,raw:pV},unknown:gV}),i={parser:n?new K2(Q2):K2.getFragmentParser(void 0,Q2),handle(c){r(c,i)},stitches:!1,options:t||{}};r(e,i),ru(i,ci());const o=n?i.parser.document:i.parser.getFragment(),l=cq(o,{file:i.options.file});return i.stitches&&td(l,\"comment\",function(c,d,f){const m=c;if(m.value.stitch&&f&&d!==void 0){const p=f.children;return p[d]=m.value.stitch,d}}),l.type===\"root\"&&l.children.length===1&&l.children[0].type===e.type?l.children[0]:l}function qR(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function cV(e,t){qR(e.children,t)}function dV(e,t){bV(e,t),qR(e.children,t),EV(e,t)}function fV(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const n={type:vt.CHARACTER,chars:e.value,location:id(e)};ru(t,ci(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function hV(e,t){const n={type:vt.DOCTYPE,name:\"html\",forceQuirks:!1,publicId:\"\",systemId:\"\",location:id(e)};ru(t,ci(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function mV(e,t){t.stitches=!0;const n=_V(e);if(\"children\"in e&&\"children\"in n){const r=$R({type:\"root\",children:e.children},t.options);n.children=r.children}YR({type:\"comment\",value:{stitch:n}},t)}function YR(e,t){const n=e.value,r={type:vt.COMMENT,data:n,location:id(e)};ru(t,ci(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function pV(e,t){if(t.parser.tokenizer.preprocessor.html=\"\",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,GR(t,ci(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(lV,\"<$1$2\"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const n=t.parser.tokenizer._consume();t.parser.tokenizer._callState(n)}}function gV(e,t){const n=e;if(t.options.passThrough&&t.options.passThrough.includes(n.type))mV(n,t);else{let r=\"\";throw uV.has(n.type)&&(r=\". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax\"),new Error(\"Cannot compile `\"+n.type+\"` node\"+r)}}function ru(e,t){GR(e,t);const n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=xn.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:\"\",value:\"\"}}function GR(e,t){if(t&&t.offset!==void 0){const n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function bV(e,t){const n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===xn.PLAINTEXT)return;ru(t,ci(e));const r=t.parser.openElements.current;let i=\"namespaceURI\"in r?r.namespaceURI:ho.html;i===ho.html&&n===\"svg\"&&(i=ho.svg);const o=Aq({...e,children:[]},{space:i===ho.svg?\"svg\":\"html\"}),l={type:vt.START_TAG,tagName:n,tagID:nu(n),selfClosing:!1,ackSelfClosing:!1,attrs:\"attrs\"in o?o.attrs:[],location:id(e)};t.parser.currentToken=l,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n}function EV(e,t){const n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Iq.includes(n)||t.parser.tokenizer.state===xn.PLAINTEXT)return;ru(t,rm(e));const r={type:vt.END_TAG,tagName:n,tagID:nu(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:id(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===xn.RCDATA||t.parser.tokenizer.state===xn.RAWTEXT||t.parser.tokenizer.state===xn.SCRIPT_DATA)&&(t.parser.tokenizer.state=xn.DATA)}function yV(e){const t=e.type===\"root\"?e.children[0]:e;return!!(t&&(t.type===\"doctype\"||t.type===\"element\"&&t.tagName.toLowerCase()===\"html\"))}function id(e){const t=ci(e)||{line:void 0,column:void 0,offset:void 0},n=rm(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function _V(e){return\"children\"in e?Fl({...e,children:[]}):Fl(e)}function TV(e){return function(t,n){return $R(t,{...e,file:n})}}function Z2(e,t){const n=String(e);if(typeof t!=\"string\")throw new TypeError(\"Expected character\");let r=0,i=n.indexOf(t);for(;i!==-1;)r++,i=n.indexOf(t,i+t.length);return r}function vV(e){if(typeof e!=\"string\")throw new TypeError(\"Expected a string\");return e.replace(/[|\\\\{}()[\\]^$+*?.]/g,\"\\\\$&\").replace(/-/g,\"\\\\x2d\")}function xV(e,t,n){const i=ed((n||{}).ignore||[]),o=SV(t);let l=-1;for(;++l<o.length;)IC(e,\"text\",c);function c(f,m){let p=-1,E;for(;++p<m.length;){const _=m[p],x=E?E.children:void 0;if(i(_,x?x.indexOf(_):void 0,E))return;E=_}if(E)return d(f,m)}function d(f,m){const p=m[m.length-1],E=o[l][0],_=o[l][1];let x=0;const N=p.children.indexOf(f);let v=!1,O=[];E.lastIndex=0;let L=E.exec(f.value);for(;L;){const B=L.index,k={index:L.index,input:L.input,stack:[...m,f]};let w=_(...L,k);if(typeof w==\"string\"&&(w=w.length>0?{type:\"text\",value:w}:void 0),w===!1?E.lastIndex=B+1:(x!==B&&O.push({type:\"text\",value:f.value.slice(x,B)}),Array.isArray(w)?O.push(...w):w&&O.push(w),x=B+L[0].length,v=!0),!E.global)break;L=E.exec(f.value)}return v?(x<f.value.length&&O.push({type:\"text\",value:f.value.slice(x)}),p.children.splice(N,1,...O)):O=[f],N+O.length}}function SV(e){const t=[];if(!Array.isArray(e))throw new TypeError(\"Expected find and replace tuple or list of tuples\");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){const i=n[r];t.push([AV(i[0]),NV(i[1])])}return t}function AV(e){return typeof e==\"string\"?new RegExp(vV(e),\"g\"):e}function NV(e){return typeof e==\"function\"?e:function(){return e}}const Tg=\"phrasing\",vg=[\"autolink\",\"link\",\"image\",\"label\"];function wV(){return{transforms:[DV],enter:{literalAutolink:RV,literalAutolinkEmail:xg,literalAutolinkHttp:xg,literalAutolinkWww:xg},exit:{literalAutolink:IV,literalAutolinkEmail:LV,literalAutolinkHttp:OV,literalAutolinkWww:kV}}}function CV(){return{unsafe:[{character:\"@\",before:\"[+\\\\-.\\\\w]\",after:\"[\\\\-.\\\\w]\",inConstruct:Tg,notInConstruct:vg},{character:\".\",before:\"[Ww]\",after:\"[\\\\-.\\\\w]\",inConstruct:Tg,notInConstruct:vg},{character:\":\",before:\"[ps]\",after:\"\\\\/\",inConstruct:Tg,notInConstruct:vg}]}}function RV(e){this.enter({type:\"link\",title:null,url:\"\",children:[]},e)}function xg(e){this.config.enter.autolinkProtocol.call(this,e)}function OV(e){this.config.exit.autolinkProtocol.call(this,e)}function kV(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url=\"http://\"+this.sliceSerialize(e)}function LV(e){this.config.exit.autolinkEmail.call(this,e)}function IV(e){this.exit(e)}function DV(e){xV(e,[[/(https?:\\/\\/|www(?=\\.))([-.\\w]+)([^ \\t\\r\\n]*)/gi,MV],[new RegExp(\"(?<=^|\\\\s|\\\\p{P}|\\\\p{S})([-.\\\\w+]+)@([-\\\\w]+(?:\\\\.[-\\\\w]+)+)\",\"gu\"),PV]],{ignore:[\"link\",\"linkReference\"]})}function MV(e,t,n,r,i){let o=\"\";if(!VR(i)||(/^w/i.test(t)&&(n=t+n,t=\"\",o=\"http://\"),!BV(n)))return!1;const l=UV(n+r);if(!l[0])return!1;const c={type:\"link\",title:null,url:o+t+l[0],children:[{type:\"text\",value:t+l[0]}]};return l[1]?[c,{type:\"text\",value:l[1]}]:c}function PV(e,t,n,r){return!VR(r,!0)||/[-\\d_]$/.test(n)?!1:{type:\"link\",title:null,url:\"mailto:\"+t+\"@\"+n,children:[{type:\"text\",value:t+\"@\"+n}]}}function BV(e){const t=e.split(\".\");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\\d]/.test(t[t.length-2])))}function UV(e){const t=/[!\"&'),.:;<>?\\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(\")\");const i=Z2(e,\"(\");let o=Z2(e,\")\");for(;r!==-1&&i>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(\")\"),o++;return[e,n]}function VR(e,t){const n=e.input.charCodeAt(e.index-1);return(e.index===0||Ao(n)||am(n))&&(!t||n!==47)}KR.peek=VV;function FV(){this.buffer()}function HV(e){this.enter({type:\"footnoteReference\",identifier:\"\",label:\"\"},e)}function jV(){this.buffer()}function zV(e){this.enter({type:\"footnoteDefinition\",identifier:\"\",label:\"\",children:[]},e)}function $V(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Ia(this.sliceSerialize(e)).toLowerCase(),n.label=t}function qV(e){this.exit(e)}function YV(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.identifier=Ia(this.sliceSerialize(e)).toLowerCase(),n.label=t}function GV(e){this.exit(e)}function VV(){return\"[\"}function KR(e,t,n,r){const i=n.createTracker(r);let o=i.move(\"[^\");const l=n.enter(\"footnoteReference\"),c=n.enter(\"reference\");return o+=i.move(n.safe(n.associationId(e),{after:\"]\",before:o})),c(),l(),o+=i.move(\"]\"),o}function KV(){return{enter:{gfmFootnoteCallString:FV,gfmFootnoteCall:HV,gfmFootnoteDefinitionLabelString:jV,gfmFootnoteDefinition:zV},exit:{gfmFootnoteCallString:$V,gfmFootnoteCall:qV,gfmFootnoteDefinitionLabelString:YV,gfmFootnoteDefinition:GV}}}function XV(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:n,footnoteReference:KR},unsafe:[{character:\"[\",inConstruct:[\"label\",\"phrasing\",\"reference\"]}]};function n(r,i,o,l){const c=o.createTracker(l);let d=c.move(\"[^\");const f=o.enter(\"footnoteDefinition\"),m=o.enter(\"label\");return d+=c.move(o.safe(o.associationId(r),{before:d,after:\"]\"})),m(),d+=c.move(\"]:\"),r.children&&r.children.length>0&&(c.shift(4),d+=c.move((t?`\n`:\" \")+o.indentLines(o.containerFlow(r,c.current()),t?XR:WV))),f(),d}}function WV(e,t,n){return t===0?e:XR(e,t,n)}function XR(e,t,n){return(n?\"\":\" \")+e}const QV=[\"autolink\",\"destinationLiteral\",\"destinationRaw\",\"reference\",\"titleQuote\",\"titleApostrophe\"];WR.peek=nK;function ZV(){return{canContainEols:[\"delete\"],enter:{strikethrough:eK},exit:{strikethrough:tK}}}function JV(){return{unsafe:[{character:\"~\",inConstruct:\"phrasing\",notInConstruct:QV}],handlers:{delete:WR}}}function eK(e){this.enter({type:\"delete\",children:[]},e)}function tK(e){this.exit(e)}function WR(e,t,n,r){const i=n.createTracker(r),o=n.enter(\"strikethrough\");let l=i.move(\"~~\");return l+=n.containerPhrasing(e,{...i.current(),before:l,after:\"~\"}),l+=i.move(\"~~\"),o(),l}function nK(){return\"~\"}function rK(e){return e.length}function aK(e,t){const n=t||{},r=(n.align||[]).concat(),i=n.stringLength||rK,o=[],l=[],c=[],d=[];let f=0,m=-1;for(;++m<e.length;){const S=[],N=[];let v=-1;for(e[m].length>f&&(f=e[m].length);++v<e[m].length;){const O=iK(e[m][v]);if(n.alignDelimiters!==!1){const L=i(O);N[v]=L,(d[v]===void 0||L>d[v])&&(d[v]=L)}S.push(O)}l[m]=S,c[m]=N}let p=-1;if(typeof r==\"object\"&&\"length\"in r)for(;++p<f;)o[p]=J2(r[p]);else{const S=J2(r);for(;++p<f;)o[p]=S}p=-1;const E=[],_=[];for(;++p<f;){const S=o[p];let N=\"\",v=\"\";S===99?(N=\":\",v=\":\"):S===108?N=\":\":S===114&&(v=\":\");let O=n.alignDelimiters===!1?1:Math.max(1,d[p]-N.length-v.length);const L=N+\"-\".repeat(O)+v;n.alignDelimiters!==!1&&(O=N.length+O+v.length,O>d[p]&&(d[p]=O),_[p]=O),E[p]=L}l.splice(1,0,E),c.splice(1,0,_),m=-1;const x=[];for(;++m<l.length;){const S=l[m],N=c[m];p=-1;const v=[];for(;++p<f;){const O=S[p]||\"\";let L=\"\",B=\"\";if(n.alignDelimiters!==!1){const k=d[p]-(N[p]||0),w=o[p];w===114?L=\" \".repeat(k):w===99?k%2?(L=\" \".repeat(k/2+.5),B=\" \".repeat(k/2-.5)):(L=\" \".repeat(k/2),B=L):B=\" \".repeat(k)}n.delimiterStart!==!1&&!p&&v.push(\"|\"),n.padding!==!1&&!(n.alignDelimiters===!1&&O===\"\")&&(n.delimiterStart!==!1||p)&&v.push(\" \"),n.alignDelimiters!==!1&&v.push(L),v.push(O),n.alignDelimiters!==!1&&v.push(B),n.padding!==!1&&v.push(\" \"),(n.delimiterEnd!==!1||p!==f-1)&&v.push(\"|\")}x.push(n.delimiterEnd===!1?v.join(\"\").replace(/ +$/,\"\"):v.join(\"\"))}return x.join(`\n`)}function iK(e){return e==null?\"\":String(e)}function J2(e){const t=typeof e==\"string\"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function sK(e,t,n,r){const i=n.enter(\"blockquote\"),o=n.createTracker(r);o.move(\"> \"),o.shift(2);const l=n.indentLines(n.containerFlow(e,o.current()),oK);return i(),l}function oK(e,t,n){return\">\"+(n?\"\":\" \")+e}function lK(e,t){return eS(e,t.inConstruct,!0)&&!eS(e,t.notInConstruct,!1)}function eS(e,t,n){if(typeof t==\"string\"&&(t=[t]),!t||t.length===0)return n;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}function tS(e,t,n,r){let i=-1;for(;++i<n.unsafe.length;)if(n.unsafe[i].character===`\n`&&lK(n.stack,n.unsafe[i]))return/[ \\t]/.test(r.before)?\"\":\" \";return`\\\\\n`}function uK(e,t){const n=String(e);let r=n.indexOf(t),i=r,o=0,l=0;if(typeof t!=\"string\")throw new TypeError(\"Expected substring\");for(;r!==-1;)r===i?++o>l&&(l=o):o=1,i=r+t.length,r=n.indexOf(t,i);return l}function cK(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \\r\\n]/.test(e.value)&&!/^[\\t ]*(?:[\\r\\n]|$)|(?:^|[\\r\\n])[\\t ]*$/.test(e.value))}function dK(e){const t=e.options.fence||\"`\";if(t!==\"`\"&&t!==\"~\")throw new Error(\"Cannot serialize code with `\"+t+\"` for `options.fence`, expected `` ` `` or `~`\");return t}function fK(e,t,n,r){const i=dK(n),o=e.value||\"\",l=i===\"`\"?\"GraveAccent\":\"Tilde\";if(cK(e,n)){const p=n.enter(\"codeIndented\"),E=n.indentLines(o,hK);return p(),E}const c=n.createTracker(r),d=i.repeat(Math.max(uK(o,i)+1,3)),f=n.enter(\"codeFenced\");let m=c.move(d);if(e.lang){const p=n.enter(`codeFencedLang${l}`);m+=c.move(n.safe(e.lang,{before:m,after:\" \",encode:[\"`\"],...c.current()})),p()}if(e.lang&&e.meta){const p=n.enter(`codeFencedMeta${l}`);m+=c.move(\" \"),m+=c.move(n.safe(e.meta,{before:m,after:`\n`,encode:[\"`\"],...c.current()})),p()}return m+=c.move(`\n`),o&&(m+=c.move(o+`\n`)),m+=c.move(d),f(),m}function hK(e,t,n){return(n?\"\":\" \")+e}function h1(e){const t=e.options.quote||'\"';if(t!=='\"'&&t!==\"'\")throw new Error(\"Cannot serialize title with `\"+t+\"` for `options.quote`, expected `\\\"`, or `'`\");return t}function mK(e,t,n,r){const i=h1(n),o=i==='\"'?\"Quote\":\"Apostrophe\",l=n.enter(\"definition\");let c=n.enter(\"label\");const d=n.createTracker(r);let f=d.move(\"[\");return f+=d.move(n.safe(n.associationId(e),{before:f,after:\"]\",...d.current()})),f+=d.move(\"]: \"),c(),!e.url||/[\\0- \\u007F]/.test(e.url)?(c=n.enter(\"destinationLiteral\"),f+=d.move(\"<\"),f+=d.move(n.safe(e.url,{before:f,after:\">\",...d.current()})),f+=d.move(\">\")):(c=n.enter(\"destinationRaw\"),f+=d.move(n.safe(e.url,{before:f,after:e.title?\" \":`\n`,...d.current()}))),c(),e.title&&(c=n.enter(`title${o}`),f+=d.move(\" \"+i),f+=d.move(n.safe(e.title,{before:f,after:i,...d.current()})),f+=d.move(i),c()),l(),f}function pK(e){const t=e.options.emphasis||\"*\";if(t!==\"*\"&&t!==\"_\")throw new Error(\"Cannot serialize emphasis with `\"+t+\"` for `options.emphasis`, expected `*`, or `_`\");return t}function Fc(e){return\"&#x\"+e.toString(16).toUpperCase()+\";\"}function Sh(e,t,n){const r=Ul(e),i=Ul(t);return r===void 0?i===void 0?n===\"_\"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:r===1?i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:i===void 0?{inside:!1,outside:!1}:i===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}QR.peek=gK;function QR(e,t,n,r){const i=pK(n),o=n.enter(\"emphasis\"),l=n.createTracker(r),c=l.move(i);let d=l.move(n.containerPhrasing(e,{after:i,before:c,...l.current()}));const f=d.charCodeAt(0),m=Sh(r.before.charCodeAt(r.before.length-1),f,i);m.inside&&(d=Fc(f)+d.slice(1));const p=d.charCodeAt(d.length-1),E=Sh(r.after.charCodeAt(0),p,i);E.inside&&(d=d.slice(0,-1)+Fc(p));const _=l.move(i);return o(),n.attentionEncodeSurroundingInfo={after:E.outside,before:m.outside},c+d+_}function gK(e,t,n){return n.options.emphasis||\"*\"}function bK(e,t){let n=!1;return td(e,function(r){if(\"value\"in r&&/\\r?\\n|\\r/.test(r.value)||r.type===\"break\")return n=!0,Ob}),!!((!e.depth||e.depth<3)&&WE(e)&&(t.options.setext||n))}function EK(e,t,n,r){const i=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(bK(e,n)){const m=n.enter(\"headingSetext\"),p=n.enter(\"phrasing\"),E=n.containerPhrasing(e,{...o.current(),before:`\n`,after:`\n`});return p(),m(),E+`\n`+(i===1?\"=\":\"-\").repeat(E.length-(Math.max(E.lastIndexOf(\"\\r\"),E.lastIndexOf(`\n`))+1))}const l=\"#\".repeat(i),c=n.enter(\"headingAtx\"),d=n.enter(\"phrasing\");o.move(l+\" \");let f=n.containerPhrasing(e,{before:\"# \",after:`\n`,...o.current()});return/^[\\t ]/.test(f)&&(f=Fc(f.charCodeAt(0))+f.slice(1)),f=f?l+\" \"+f:l,n.options.closeAtx&&(f+=\" \"+l),d(),c(),f}ZR.peek=yK;function ZR(e){return e.value||\"\"}function yK(){return\"<\"}JR.peek=_K;function JR(e,t,n,r){const i=h1(n),o=i==='\"'?\"Quote\":\"Apostrophe\",l=n.enter(\"image\");let c=n.enter(\"label\");const d=n.createTracker(r);let f=d.move(\"![\");return f+=d.move(n.safe(e.alt,{before:f,after:\"]\",...d.current()})),f+=d.move(\"](\"),c(),!e.url&&e.title||/[\\0- \\u007F]/.test(e.url)?(c=n.enter(\"destinationLiteral\"),f+=d.move(\"<\"),f+=d.move(n.safe(e.url,{before:f,after:\">\",...d.current()})),f+=d.move(\">\")):(c=n.enter(\"destinationRaw\"),f+=d.move(n.safe(e.url,{before:f,after:e.title?\" \":\")\",...d.current()}))),c(),e.title&&(c=n.enter(`title${o}`),f+=d.move(\" \"+i),f+=d.move(n.safe(e.title,{before:f,after:i,...d.current()})),f+=d.move(i),c()),f+=d.move(\")\"),l(),f}function _K(){return\"!\"}eO.peek=TK;function eO(e,t,n,r){const i=e.referenceType,o=n.enter(\"imageReference\");let l=n.enter(\"label\");const c=n.createTracker(r);let d=c.move(\"![\");const f=n.safe(e.alt,{before:d,after:\"]\",...c.current()});d+=c.move(f+\"][\"),l();const m=n.stack;n.stack=[],l=n.enter(\"reference\");const p=n.safe(n.associationId(e),{before:d,after:\"]\",...c.current()});return l(),n.stack=m,o(),i===\"full\"||!f||f!==p?d+=c.move(p+\"]\"):i===\"shortcut\"?d=d.slice(0,-1):d+=c.move(\"]\"),d}function TK(){return\"!\"}tO.peek=vK;function tO(e,t,n){let r=e.value||\"\",i=\"`\",o=-1;for(;new RegExp(\"(^|[^`])\"+i+\"([^`]|$)\").test(r);)i+=\"`\";for(/[^ \\r\\n]/.test(r)&&(/^[ \\r\\n]/.test(r)&&/[ \\r\\n]$/.test(r)||/^`|`$/.test(r))&&(r=\" \"+r+\" \");++o<n.unsafe.length;){const l=n.unsafe[o],c=n.compilePattern(l);let d;if(l.atBreak)for(;d=c.exec(r);){let f=d.index;r.charCodeAt(f)===10&&r.charCodeAt(f-1)===13&&f--,r=r.slice(0,f)+\" \"+r.slice(d.index+1)}}return i+r+i}function vK(){return\"`\"}function nO(e,t){const n=WE(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type===\"text\"&&(n===e.url||\"mailto:\"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\\0- <>\\u007F]/.test(e.url))}rO.peek=xK;function rO(e,t,n,r){const i=h1(n),o=i==='\"'?\"Quote\":\"Apostrophe\",l=n.createTracker(r);let c,d;if(nO(e,n)){const m=n.stack;n.stack=[],c=n.enter(\"autolink\");let p=l.move(\"<\");return p+=l.move(n.containerPhrasing(e,{before:p,after:\">\",...l.current()})),p+=l.move(\">\"),c(),n.stack=m,p}c=n.enter(\"link\"),d=n.enter(\"label\");let f=l.move(\"[\");return f+=l.move(n.containerPhrasing(e,{before:f,after:\"](\",...l.current()})),f+=l.move(\"](\"),d(),!e.url&&e.title||/[\\0- \\u007F]/.test(e.url)?(d=n.enter(\"destinationLiteral\"),f+=l.move(\"<\"),f+=l.move(n.safe(e.url,{before:f,after:\">\",...l.current()})),f+=l.move(\">\")):(d=n.enter(\"destinationRaw\"),f+=l.move(n.safe(e.url,{before:f,after:e.title?\" \":\")\",...l.current()}))),d(),e.title&&(d=n.enter(`title${o}`),f+=l.move(\" \"+i),f+=l.move(n.safe(e.title,{before:f,after:i,...l.current()})),f+=l.move(i),d()),f+=l.move(\")\"),c(),f}function xK(e,t,n){return nO(e,n)?\"<\":\"[\"}aO.peek=SK;function aO(e,t,n,r){const i=e.referenceType,o=n.enter(\"linkReference\");let l=n.enter(\"label\");const c=n.createTracker(r);let d=c.move(\"[\");const f=n.containerPhrasing(e,{before:d,after:\"]\",...c.current()});d+=c.move(f+\"][\"),l();const m=n.stack;n.stack=[],l=n.enter(\"reference\");const p=n.safe(n.associationId(e),{before:d,after:\"]\",...c.current()});return l(),n.stack=m,o(),i===\"full\"||!f||f!==p?d+=c.move(p+\"]\"):i===\"shortcut\"?d=d.slice(0,-1):d+=c.move(\"]\"),d}function SK(){return\"[\"}function m1(e){const t=e.options.bullet||\"*\";if(t!==\"*\"&&t!==\"+\"&&t!==\"-\")throw new Error(\"Cannot serialize items with `\"+t+\"` for `options.bullet`, expected `*`, `+`, or `-`\");return t}function AK(e){const t=m1(e),n=e.options.bulletOther;if(!n)return t===\"*\"?\"-\":\"*\";if(n!==\"*\"&&n!==\"+\"&&n!==\"-\")throw new Error(\"Cannot serialize items with `\"+n+\"` for `options.bulletOther`, expected `*`, `+`, or `-`\");if(n===t)throw new Error(\"Expected `bullet` (`\"+t+\"`) and `bulletOther` (`\"+n+\"`) to be different\");return n}function NK(e){const t=e.options.bulletOrdered||\".\";if(t!==\".\"&&t!==\")\")throw new Error(\"Cannot serialize items with `\"+t+\"` for `options.bulletOrdered`, expected `.` or `)`\");return t}function iO(e){const t=e.options.rule||\"*\";if(t!==\"*\"&&t!==\"-\"&&t!==\"_\")throw new Error(\"Cannot serialize rules with `\"+t+\"` for `options.rule`, expected `*`, `-`, or `_`\");return t}function wK(e,t,n,r){const i=n.enter(\"list\"),o=n.bulletCurrent;let l=e.ordered?NK(n):m1(n);const c=e.ordered?l===\".\"?\")\":\".\":AK(n);let d=t&&n.bulletLastUsed?l===n.bulletLastUsed:!1;if(!e.ordered){const m=e.children?e.children[0]:void 0;if((l===\"*\"||l===\"-\")&&m&&(!m.children||!m.children[0])&&n.stack[n.stack.length-1]===\"list\"&&n.stack[n.stack.length-2]===\"listItem\"&&n.stack[n.stack.length-3]===\"list\"&&n.stack[n.stack.length-4]===\"listItem\"&&n.indexStack[n.indexStack.length-1]===0&&n.indexStack[n.indexStack.length-2]===0&&n.indexStack[n.indexStack.length-3]===0&&(d=!0),iO(n)===l&&m){let p=-1;for(;++p<e.children.length;){const E=e.children[p];if(E&&E.type===\"listItem\"&&E.children&&E.children[0]&&E.children[0].type===\"thematicBreak\"){d=!0;break}}}}d&&(l=c),n.bulletCurrent=l;const f=n.containerFlow(e,r);return n.bulletLastUsed=l,n.bulletCurrent=o,i(),f}function CK(e){const t=e.options.listItemIndent||\"one\";if(t!==\"tab\"&&t!==\"one\"&&t!==\"mixed\")throw new Error(\"Cannot serialize items with `\"+t+\"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`\");return t}function RK(e,t,n,r){const i=CK(n);let o=n.bulletCurrent||m1(n);t&&t.type===\"list\"&&t.ordered&&(o=(typeof t.start==\"number\"&&t.start>-1?t.start:1)+(n.options.incrementListMarker===!1?0:t.children.indexOf(e))+o);let l=o.length+1;(i===\"tab\"||i===\"mixed\"&&(t&&t.type===\"list\"&&t.spread||e.spread))&&(l=Math.ceil(l/4)*4);const c=n.createTracker(r);c.move(o+\" \".repeat(l-o.length)),c.shift(l);const d=n.enter(\"listItem\"),f=n.indentLines(n.containerFlow(e,c.current()),m);return d(),f;function m(p,E,_){return E?(_?\"\":\" \".repeat(l))+p:(_?o:o+\" \".repeat(l-o.length))+p}}function OK(e,t,n,r){const i=n.enter(\"paragraph\"),o=n.enter(\"phrasing\"),l=n.containerPhrasing(e,r);return o(),i(),l}const kK=ed([\"break\",\"delete\",\"emphasis\",\"footnote\",\"footnoteReference\",\"image\",\"imageReference\",\"inlineCode\",\"inlineMath\",\"link\",\"linkReference\",\"mdxJsxTextElement\",\"mdxTextExpression\",\"strong\",\"text\",\"textDirective\"]);function LK(e,t,n,r){return(e.children.some(function(l){return kK(l)})?n.containerPhrasing:n.containerFlow).call(n,e,r)}function IK(e){const t=e.options.strong||\"*\";if(t!==\"*\"&&t!==\"_\")throw new Error(\"Cannot serialize strong with `\"+t+\"` for `options.strong`, expected `*`, or `_`\");return t}sO.peek=DK;function sO(e,t,n,r){const i=IK(n),o=n.enter(\"strong\"),l=n.createTracker(r),c=l.move(i+i);let d=l.move(n.containerPhrasing(e,{after:i,before:c,...l.current()}));const f=d.charCodeAt(0),m=Sh(r.before.charCodeAt(r.before.length-1),f,i);m.inside&&(d=Fc(f)+d.slice(1));const p=d.charCodeAt(d.length-1),E=Sh(r.after.charCodeAt(0),p,i);E.inside&&(d=d.slice(0,-1)+Fc(p));const _=l.move(i+i);return o(),n.attentionEncodeSurroundingInfo={after:E.outside,before:m.outside},c+d+_}function DK(e,t,n){return n.options.strong||\"*\"}function MK(e,t,n,r){return n.safe(e.value,r)}function PK(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error(\"Cannot serialize rules with repetition `\"+t+\"` for `options.ruleRepetition`, expected `3` or more\");return t}function BK(e,t,n){const r=(iO(n)+(n.options.ruleSpaces?\" \":\"\")).repeat(PK(n));return n.options.ruleSpaces?r.slice(0,-1):r}const oO={blockquote:sK,break:tS,code:fK,definition:mK,emphasis:QR,hardBreak:tS,heading:EK,html:ZR,image:JR,imageReference:eO,inlineCode:tO,link:rO,linkReference:aO,list:wK,listItem:RK,paragraph:OK,root:LK,strong:sO,text:MK,thematicBreak:BK};function UK(){return{enter:{table:FK,tableData:nS,tableHeader:nS,tableRow:jK},exit:{codeText:zK,table:HK,tableData:Sg,tableHeader:Sg,tableRow:Sg}}}function FK(e){const t=e._align;this.enter({type:\"table\",align:t.map(function(n){return n===\"none\"?null:n}),children:[]},e),this.data.inTable=!0}function HK(e){this.exit(e),this.data.inTable=void 0}function jK(e){this.enter({type:\"tableRow\",children:[]},e)}function Sg(e){this.exit(e)}function nS(e){this.enter({type:\"tableCell\",children:[]},e)}function zK(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\\\([\\\\|])/g,$K));const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}function $K(e,t){return t===\"|\"?t:e}function qK(e){const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,o=n?\" \":\"|\";return{unsafe:[{character:\"\\r\",inConstruct:\"tableCell\"},{character:`\n`,inConstruct:\"tableCell\"},{atBreak:!0,character:\"|\",after:\"[\t :-]\"},{character:\"|\",inConstruct:\"tableCell\"},{atBreak:!0,character:\":\",after:\"-\"},{atBreak:!0,character:\"-\",after:\"[:|-]\"}],handlers:{inlineCode:E,table:l,tableCell:d,tableRow:c}};function l(_,x,S,N){return f(m(_,S,N),_.align)}function c(_,x,S,N){const v=p(_,S,N),O=f([v]);return O.slice(0,O.indexOf(`\n`))}function d(_,x,S,N){const v=S.enter(\"tableCell\"),O=S.enter(\"phrasing\"),L=S.containerPhrasing(_,{...N,before:o,after:o});return O(),v(),L}function f(_,x){return aK(_,{align:x,alignDelimiters:r,padding:n,stringLength:i})}function m(_,x,S){const N=_.children;let v=-1;const O=[],L=x.enter(\"table\");for(;++v<N.length;)O[v]=p(N[v],x,S);return L(),O}function p(_,x,S){const N=_.children;let v=-1;const O=[],L=x.enter(\"tableRow\");for(;++v<N.length;)O[v]=d(N[v],_,x,S);return L(),O}function E(_,x,S){let N=oO.inlineCode(_,x,S);return S.stack.includes(\"tableCell\")&&(N=N.replace(/\\|/g,\"\\\\$&\")),N}}function YK(){return{exit:{taskListCheckValueChecked:rS,taskListCheckValueUnchecked:rS,paragraph:VK}}}function GK(){return{unsafe:[{atBreak:!0,character:\"-\",after:\"[:|-]\"}],handlers:{listItem:KK}}}function rS(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type===\"taskListCheckValueChecked\"}function VK(e){const t=this.stack[this.stack.length-2];if(t&&t.type===\"listItem\"&&typeof t.checked==\"boolean\"){const n=this.stack[this.stack.length-1];n.type;const r=n.children[0];if(r&&r.type===\"text\"){const i=t.children;let o=-1,l;for(;++o<i.length;){const c=i[o];if(c.type===\"paragraph\"){l=c;break}}l===n&&(r.value=r.value.slice(1),r.value.length===0?n.children.shift():n.position&&r.position&&typeof r.position.start.offset==\"number\"&&(r.position.start.column++,r.position.start.offset++,n.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function KK(e,t,n,r){const i=e.children[0],o=typeof e.checked==\"boolean\"&&i&&i.type===\"paragraph\",l=\"[\"+(e.checked?\"x\":\" \")+\"] \",c=n.createTracker(r);o&&c.move(l);let d=oO.listItem(e,t,n,{...r,...c.current()});return o&&(d=d.replace(/^(?:[*+-]|\\d+\\.)([\\r\\n]| {1,3})/,f)),d;function f(m){return m+l}}function XK(){return[wV(),KV(),ZV(),UK(),YK()]}function WK(e){return{extensions:[CV(),XV(e),JV(),qK(e),GK()]}}const QK={tokenize:rX,partial:!0},lO={tokenize:aX,partial:!0},uO={tokenize:iX,partial:!0},cO={tokenize:sX,partial:!0},ZK={tokenize:oX,partial:!0},dO={name:\"wwwAutolink\",tokenize:tX,previous:hO},fO={name:\"protocolAutolink\",tokenize:nX,previous:mO},Hi={name:\"emailAutolink\",tokenize:eX,previous:pO},di={};function JK(){return{text:di}}let so=48;for(;so<123;)di[so]=Hi,so++,so===58?so=65:so===91&&(so=97);di[43]=Hi;di[45]=Hi;di[46]=Hi;di[95]=Hi;di[72]=[Hi,fO];di[104]=[Hi,fO];di[87]=[Hi,dO];di[119]=[Hi,dO];function eX(e,t,n){const r=this;let i,o;return l;function l(p){return!zb(p)||!pO.call(r,r.previous)||p1(r.events)?n(p):(e.enter(\"literalAutolink\"),e.enter(\"literalAutolinkEmail\"),c(p))}function c(p){return zb(p)?(e.consume(p),c):p===64?(e.consume(p),d):n(p)}function d(p){return p===46?e.check(ZK,m,f)(p):p===45||p===95||ur(p)?(o=!0,e.consume(p),d):m(p)}function f(p){return e.consume(p),i=!0,d}function m(p){return o&&i&&Er(r.previous)?(e.exit(\"literalAutolinkEmail\"),e.exit(\"literalAutolink\"),t(p)):n(p)}}function tX(e,t,n){const r=this;return i;function i(l){return l!==87&&l!==119||!hO.call(r,r.previous)||p1(r.events)?n(l):(e.enter(\"literalAutolink\"),e.enter(\"literalAutolinkWww\"),e.check(QK,e.attempt(lO,e.attempt(uO,o),n),n)(l))}function o(l){return e.exit(\"literalAutolinkWww\"),e.exit(\"literalAutolink\"),t(l)}}function nX(e,t,n){const r=this;let i=\"\",o=!1;return l;function l(p){return(p===72||p===104)&&mO.call(r,r.previous)&&!p1(r.events)?(e.enter(\"literalAutolink\"),e.enter(\"literalAutolinkHttp\"),i+=String.fromCodePoint(p),e.consume(p),c):n(p)}function c(p){if(Er(p)&&i.length<5)return i+=String.fromCodePoint(p),e.consume(p),c;if(p===58){const E=i.toLowerCase();if(E===\"http\"||E===\"https\")return e.consume(p),d}return n(p)}function d(p){return p===47?(e.consume(p),o?f:(o=!0,d)):n(p)}function f(p){return p===null||bh(p)||Qt(p)||Ao(p)||am(p)?n(p):e.attempt(lO,e.attempt(uO,m),n)(p)}function m(p){return e.exit(\"literalAutolinkHttp\"),e.exit(\"literalAutolink\"),t(p)}}function rX(e,t,n){let r=0;return i;function i(l){return(l===87||l===119)&&r<3?(r++,e.consume(l),i):l===46&&r===3?(e.consume(l),o):n(l)}function o(l){return l===null?n(l):t(l)}}function aX(e,t,n){let r,i,o;return l;function l(f){return f===46||f===95?e.check(cO,d,c)(f):f===null||Qt(f)||Ao(f)||f!==45&&am(f)?d(f):(o=!0,e.consume(f),l)}function c(f){return f===95?r=!0:(i=r,r=void 0),e.consume(f),l}function d(f){return i||r||!o?n(f):t(f)}}function iX(e,t){let n=0,r=0;return i;function i(l){return l===40?(n++,e.consume(l),i):l===41&&r<n?o(l):l===33||l===34||l===38||l===39||l===41||l===42||l===44||l===46||l===58||l===59||l===60||l===63||l===93||l===95||l===126?e.check(cO,t,o)(l):l===null||Qt(l)||Ao(l)?t(l):(e.consume(l),i)}function o(l){return l===41&&r++,e.consume(l),i}}function sX(e,t,n){return r;function r(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(e.consume(c),r):c===38?(e.consume(c),o):c===93?(e.consume(c),i):c===60||c===null||Qt(c)||Ao(c)?t(c):n(c)}function i(c){return c===null||c===40||c===91||Qt(c)||Ao(c)?t(c):r(c)}function o(c){return Er(c)?l(c):n(c)}function l(c){return c===59?(e.consume(c),r):Er(c)?(e.consume(c),l):n(c)}}function oX(e,t,n){return r;function r(o){return e.consume(o),i}function i(o){return ur(o)?n(o):t(o)}}function hO(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Qt(e)}function mO(e){return!Er(e)}function pO(e){return!(e===47||zb(e))}function zb(e){return e===43||e===45||e===46||e===95||ur(e)}function p1(e){let t=e.length,n=!1;for(;t--;){const r=e[t][1];if((r.type===\"labelLink\"||r.type===\"labelImage\")&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}const lX={tokenize:gX,partial:!0};function uX(){return{document:{91:{name:\"gfmFootnoteDefinition\",tokenize:hX,continuation:{tokenize:mX},exit:pX}},text:{91:{name:\"gfmFootnoteCall\",tokenize:fX},93:{name:\"gfmPotentialFootnoteCall\",add:\"after\",tokenize:cX,resolveTo:dX}}}}function cX(e,t,n){const r=this;let i=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let l;for(;i--;){const d=r.events[i][1];if(d.type===\"labelImage\"){l=d;break}if(d.type===\"gfmFootnoteCall\"||d.type===\"labelLink\"||d.type===\"label\"||d.type===\"image\"||d.type===\"link\")break}return c;function c(d){if(!l||!l._balanced)return n(d);const f=Ia(r.sliceSerialize({start:l.end,end:r.now()}));return f.codePointAt(0)!==94||!o.includes(f.slice(1))?n(d):(e.enter(\"gfmFootnoteCallLabelMarker\"),e.consume(d),e.exit(\"gfmFootnoteCallLabelMarker\"),t(d))}}function dX(e,t){let n=e.length;for(;n--;)if(e[n][1].type===\"labelImage\"&&e[n][0]===\"enter\"){e[n][1];break}e[n+1][1].type=\"data\",e[n+3][1].type=\"gfmFootnoteCallLabelMarker\";const r={type:\"gfmFootnoteCall\",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:\"gfmFootnoteCallMarker\",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;const o={type:\"gfmFootnoteCallString\",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},l={type:\"chunkString\",contentType:\"string\",start:Object.assign({},o.start),end:Object.assign({},o.end)},c=[e[n+1],e[n+2],[\"enter\",r,t],e[n+3],e[n+4],[\"enter\",i,t],[\"exit\",i,t],[\"enter\",o,t],[\"enter\",l,t],[\"exit\",l,t],[\"exit\",o,t],e[e.length-2],e[e.length-1],[\"exit\",r,t]];return e.splice(n,e.length-n+1,...c),e}function fX(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o=0,l;return c;function c(p){return e.enter(\"gfmFootnoteCall\"),e.enter(\"gfmFootnoteCallLabelMarker\"),e.consume(p),e.exit(\"gfmFootnoteCallLabelMarker\"),d}function d(p){return p!==94?n(p):(e.enter(\"gfmFootnoteCallMarker\"),e.consume(p),e.exit(\"gfmFootnoteCallMarker\"),e.enter(\"gfmFootnoteCallString\"),e.enter(\"chunkString\").contentType=\"string\",f)}function f(p){if(o>999||p===93&&!l||p===null||p===91||Qt(p))return n(p);if(p===93){e.exit(\"chunkString\");const E=e.exit(\"gfmFootnoteCallString\");return i.includes(Ia(r.sliceSerialize(E)))?(e.enter(\"gfmFootnoteCallLabelMarker\"),e.consume(p),e.exit(\"gfmFootnoteCallLabelMarker\"),e.exit(\"gfmFootnoteCall\"),t):n(p)}return Qt(p)||(l=!0),o++,e.consume(p),p===92?m:f}function m(p){return p===91||p===92||p===93?(e.consume(p),o++,f):f(p)}}function hX(e,t,n){const r=this,i=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,l=0,c;return d;function d(x){return e.enter(\"gfmFootnoteDefinition\")._container=!0,e.enter(\"gfmFootnoteDefinitionLabel\"),e.enter(\"gfmFootnoteDefinitionLabelMarker\"),e.consume(x),e.exit(\"gfmFootnoteDefinitionLabelMarker\"),f}function f(x){return x===94?(e.enter(\"gfmFootnoteDefinitionMarker\"),e.consume(x),e.exit(\"gfmFootnoteDefinitionMarker\"),e.enter(\"gfmFootnoteDefinitionLabelString\"),e.enter(\"chunkString\").contentType=\"string\",m):n(x)}function m(x){if(l>999||x===93&&!c||x===null||x===91||Qt(x))return n(x);if(x===93){e.exit(\"chunkString\");const S=e.exit(\"gfmFootnoteDefinitionLabelString\");return o=Ia(r.sliceSerialize(S)),e.enter(\"gfmFootnoteDefinitionLabelMarker\"),e.consume(x),e.exit(\"gfmFootnoteDefinitionLabelMarker\"),e.exit(\"gfmFootnoteDefinitionLabel\"),E}return Qt(x)||(c=!0),l++,e.consume(x),x===92?p:m}function p(x){return x===91||x===92||x===93?(e.consume(x),l++,m):m(x)}function E(x){return x===58?(e.enter(\"definitionMarker\"),e.consume(x),e.exit(\"definitionMarker\"),i.includes(o)||i.push(o),Mt(e,_,\"gfmFootnoteDefinitionWhitespace\")):n(x)}function _(x){return t(x)}}function mX(e,t,n){return e.check(Jc,t,e.attempt(lX,t,n))}function pX(e){e.exit(\"gfmFootnoteDefinition\")}function gX(e,t,n){const r=this;return Mt(e,i,\"gfmFootnoteDefinitionIndent\",5);function i(o){const l=r.events[r.events.length-1];return l&&l[1].type===\"gfmFootnoteDefinitionIndent\"&&l[2].sliceSerialize(l[1],!0).length===4?t(o):n(o)}}function bX(e){let n=(e||{}).singleTilde;const r={name:\"strikethrough\",tokenize:o,resolveAll:i};return n==null&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}};function i(l,c){let d=-1;for(;++d<l.length;)if(l[d][0]===\"enter\"&&l[d][1].type===\"strikethroughSequenceTemporary\"&&l[d][1]._close){let f=d;for(;f--;)if(l[f][0]===\"exit\"&&l[f][1].type===\"strikethroughSequenceTemporary\"&&l[f][1]._open&&l[d][1].end.offset-l[d][1].start.offset===l[f][1].end.offset-l[f][1].start.offset){l[d][1].type=\"strikethroughSequence\",l[f][1].type=\"strikethroughSequence\";const m={type:\"strikethrough\",start:Object.assign({},l[f][1].start),end:Object.assign({},l[d][1].end)},p={type:\"strikethroughText\",start:Object.assign({},l[f][1].end),end:Object.assign({},l[d][1].start)},E=[[\"enter\",m,c],[\"enter\",l[f][1],c],[\"exit\",l[f][1],c],[\"enter\",p,c]],_=c.parser.constructs.insideSpan.null;_&&Zr(E,E.length,0,im(_,l.slice(f+1,d),c)),Zr(E,E.length,0,[[\"exit\",p,c],[\"enter\",l[d][1],c],[\"exit\",l[d][1],c],[\"exit\",m,c]]),Zr(l,f-1,d-f+3,E),d=f+E.length-2;break}}for(d=-1;++d<l.length;)l[d][1].type===\"strikethroughSequenceTemporary\"&&(l[d][1].type=\"data\");return l}function o(l,c,d){const f=this.previous,m=this.events;let p=0;return E;function E(x){return f===126&&m[m.length-1][1].type!==\"characterEscape\"?d(x):(l.enter(\"strikethroughSequenceTemporary\"),_(x))}function _(x){const S=Ul(f);if(x===126)return p>1?d(x):(l.consume(x),p++,_);if(p<2&&!n)return d(x);const N=l.exit(\"strikethroughSequenceTemporary\"),v=Ul(x);return N._open=!v||v===2&&!!S,N._close=!S||S===2&&!!v,c(x)}}}class EX{constructor(){this.map=[]}add(t,n,r){yX(this,t,n,r)}consume(t){if(this.map.sort(function(o,l){return o[0]-l[0]}),this.map.length===0)return;let n=this.map.length;const r=[];for(;n>0;)n-=1,r.push(t.slice(this.map[n][0]+this.map[n][1]),this.map[n][2]),t.length=this.map[n][0];r.push(t.slice()),t.length=0;let i=r.pop();for(;i;){for(const o of i)t.push(o);i=r.pop()}this.map.length=0}}function yX(e,t,n,r){let i=0;if(!(n===0&&r.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}function _X(e,t){let n=!1;const r=[];for(;t<e.length;){const i=e[t];if(n){if(i[0]===\"enter\")i[1].type===\"tableContent\"&&r.push(e[t+1][1].type===\"tableDelimiterMarker\"?\"left\":\"none\");else if(i[1].type===\"tableContent\"){if(e[t-1][1].type===\"tableDelimiterMarker\"){const o=r.length-1;r[o]=r[o]===\"left\"?\"center\":\"right\"}}else if(i[1].type===\"tableDelimiterRow\")break}else i[0]===\"enter\"&&i[1].type===\"tableDelimiterRow\"&&(n=!0);t+=1}return r}function TX(){return{flow:{null:{name:\"table\",tokenize:vX,resolveAll:xX}}}}function vX(e,t,n){const r=this;let i=0,o=0,l;return c;function c(M){let J=r.events.length-1;for(;J>-1;){const ne=r.events[J][1].type;if(ne===\"lineEnding\"||ne===\"linePrefix\")J--;else break}const X=J>-1?r.events[J][1].type:null,V=X===\"tableHead\"||X===\"tableRow\"?w:d;return V===w&&r.parser.lazy[r.now().line]?n(M):V(M)}function d(M){return e.enter(\"tableHead\"),e.enter(\"tableRow\"),f(M)}function f(M){return M===124||(l=!0,o+=1),m(M)}function m(M){return M===null?n(M):nt(M)?o>1?(o=0,r.interrupt=!0,e.exit(\"tableRow\"),e.enter(\"lineEnding\"),e.consume(M),e.exit(\"lineEnding\"),_):n(M):Ct(M)?Mt(e,m,\"whitespace\")(M):(o+=1,l&&(l=!1,i+=1),M===124?(e.enter(\"tableCellDivider\"),e.consume(M),e.exit(\"tableCellDivider\"),l=!0,m):(e.enter(\"data\"),p(M)))}function p(M){return M===null||M===124||Qt(M)?(e.exit(\"data\"),m(M)):(e.consume(M),M===92?E:p)}function E(M){return M===92||M===124?(e.consume(M),p):p(M)}function _(M){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(M):(e.enter(\"tableDelimiterRow\"),l=!1,Ct(M)?Mt(e,x,\"linePrefix\",r.parser.constructs.disable.null.includes(\"codeIndented\")?void 0:4)(M):x(M))}function x(M){return M===45||M===58?N(M):M===124?(l=!0,e.enter(\"tableCellDivider\"),e.consume(M),e.exit(\"tableCellDivider\"),S):k(M)}function S(M){return Ct(M)?Mt(e,N,\"whitespace\")(M):N(M)}function N(M){return M===58?(o+=1,l=!0,e.enter(\"tableDelimiterMarker\"),e.consume(M),e.exit(\"tableDelimiterMarker\"),v):M===45?(o+=1,v(M)):M===null||nt(M)?B(M):k(M)}function v(M){return M===45?(e.enter(\"tableDelimiterFiller\"),O(M)):k(M)}function O(M){return M===45?(e.consume(M),O):M===58?(l=!0,e.exit(\"tableDelimiterFiller\"),e.enter(\"tableDelimiterMarker\"),e.consume(M),e.exit(\"tableDelimiterMarker\"),L):(e.exit(\"tableDelimiterFiller\"),L(M))}function L(M){return Ct(M)?Mt(e,B,\"whitespace\")(M):B(M)}function B(M){return M===124?x(M):M===null||nt(M)?!l||i!==o?k(M):(e.exit(\"tableDelimiterRow\"),e.exit(\"tableHead\"),t(M)):k(M)}function k(M){return n(M)}function w(M){return e.enter(\"tableRow\"),U(M)}function U(M){return M===124?(e.enter(\"tableCellDivider\"),e.consume(M),e.exit(\"tableCellDivider\"),U):M===null||nt(M)?(e.exit(\"tableRow\"),t(M)):Ct(M)?Mt(e,U,\"whitespace\")(M):(e.enter(\"data\"),j(M))}function j(M){return M===null||M===124||Qt(M)?(e.exit(\"data\"),U(M)):(e.consume(M),M===92?F:j)}function F(M){return M===92||M===124?(e.consume(M),j):j(M)}}function xX(e,t){let n=-1,r=!0,i=0,o=[0,0,0,0],l=[0,0,0,0],c=!1,d=0,f,m,p;const E=new EX;for(;++n<e.length;){const _=e[n],x=_[1];_[0]===\"enter\"?x.type===\"tableHead\"?(c=!1,d!==0&&(aS(E,t,d,f,m),m=void 0,d=0),f={type:\"table\",start:Object.assign({},x.start),end:Object.assign({},x.end)},E.add(n,0,[[\"enter\",f,t]])):x.type===\"tableRow\"||x.type===\"tableDelimiterRow\"?(r=!0,p=void 0,o=[0,0,0,0],l=[0,n+1,0,0],c&&(c=!1,m={type:\"tableBody\",start:Object.assign({},x.start),end:Object.assign({},x.end)},E.add(n,0,[[\"enter\",m,t]])),i=x.type===\"tableDelimiterRow\"?2:m?3:1):i&&(x.type===\"data\"||x.type===\"tableDelimiterMarker\"||x.type===\"tableDelimiterFiller\")?(r=!1,l[2]===0&&(o[1]!==0&&(l[0]=l[1],p=Df(E,t,o,i,void 0,p),o=[0,0,0,0]),l[2]=n)):x.type===\"tableCellDivider\"&&(r?r=!1:(o[1]!==0&&(l[0]=l[1],p=Df(E,t,o,i,void 0,p)),o=l,l=[o[1],n,0,0])):x.type===\"tableHead\"?(c=!0,d=n):x.type===\"tableRow\"||x.type===\"tableDelimiterRow\"?(d=n,o[1]!==0?(l[0]=l[1],p=Df(E,t,o,i,n,p)):l[1]!==0&&(p=Df(E,t,l,i,n,p)),i=0):i&&(x.type===\"data\"||x.type===\"tableDelimiterMarker\"||x.type===\"tableDelimiterFiller\")&&(l[3]=n)}for(d!==0&&aS(E,t,d,f,m),E.consume(t.events),n=-1;++n<t.events.length;){const _=t.events[n];_[0]===\"enter\"&&_[1].type===\"table\"&&(_[1]._align=_X(t.events,n))}return e}function Df(e,t,n,r,i,o){const l=r===1?\"tableHeader\":r===2?\"tableDelimiter\":\"tableData\",c=\"tableContent\";n[0]!==0&&(o.end=Object.assign({},Tl(t.events,n[0])),e.add(n[0],0,[[\"exit\",o,t]]));const d=Tl(t.events,n[1]);if(o={type:l,start:Object.assign({},d),end:Object.assign({},d)},e.add(n[1],0,[[\"enter\",o,t]]),n[2]!==0){const f=Tl(t.events,n[2]),m=Tl(t.events,n[3]),p={type:c,start:Object.assign({},f),end:Object.assign({},m)};if(e.add(n[2],0,[[\"enter\",p,t]]),r!==2){const E=t.events[n[2]],_=t.events[n[3]];if(E[1].end=Object.assign({},_[1].end),E[1].type=\"chunkText\",E[1].contentType=\"text\",n[3]>n[2]+1){const x=n[2]+1,S=n[3]-n[2]-1;e.add(x,S,[])}}e.add(n[3]+1,0,[[\"exit\",p,t]])}return i!==void 0&&(o.end=Object.assign({},Tl(t.events,i)),e.add(i,0,[[\"exit\",o,t]]),o=void 0),o}function aS(e,t,n,r,i){const o=[],l=Tl(t.events,n);i&&(i.end=Object.assign({},l),o.push([\"exit\",i,t])),r.end=Object.assign({},l),o.push([\"exit\",r,t]),e.add(n+1,0,o)}function Tl(e,t){const n=e[t],r=n[0]===\"enter\"?\"start\":\"end\";return n[1][r]}const SX={name:\"tasklistCheck\",tokenize:NX};function AX(){return{text:{91:SX}}}function NX(e,t,n){const r=this;return i;function i(d){return r.previous!==null||!r._gfmTasklistFirstContentOfListItem?n(d):(e.enter(\"taskListCheck\"),e.enter(\"taskListCheckMarker\"),e.consume(d),e.exit(\"taskListCheckMarker\"),o)}function o(d){return Qt(d)?(e.enter(\"taskListCheckValueUnchecked\"),e.consume(d),e.exit(\"taskListCheckValueUnchecked\"),l):d===88||d===120?(e.enter(\"taskListCheckValueChecked\"),e.consume(d),e.exit(\"taskListCheckValueChecked\"),l):n(d)}function l(d){return d===93?(e.enter(\"taskListCheckMarker\"),e.consume(d),e.exit(\"taskListCheckMarker\"),e.exit(\"taskListCheck\"),c):n(d)}function c(d){return nt(d)?t(d):Ct(d)?e.check({tokenize:wX},t,n)(d):n(d)}}function wX(e,t,n){return Mt(e,r,\"whitespace\");function r(i){return i===null?n(i):t(i)}}function CX(e){return mC([JK(),uX(),bX(e),TX(),AX()])}const RX={};function OX(e){const t=this,n=e||RX,r=t.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),o=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),l=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push(CX(n)),o.push(XK()),l.push(WK(n))}function g1({content:e,className:t}){return A.useEffect(()=>{document.querySelectorAll(\"link[data-hljs-theme]\").forEach(o=>o.remove());const r=document.documentElement.classList.contains(\"dark\")?\"github-dark\":\"github\",i=document.createElement(\"link\");return i.rel=\"stylesheet\",i.href=`/node_modules/highlight.js/styles/${r}.css`,i.setAttribute(\"data-hljs-theme\",\"true\"),document.head.appendChild(i),()=>{document.querySelectorAll(\"link[data-hljs-theme]\").forEach(o=>o.remove())}},[]),b.jsx(\"div\",{className:et(\"markdown-renderer prose dark:prose-invert max-w-none\",t),children:b.jsx(sz,{remarkPlugins:[OX],rehypePlugins:[TV,[Z$,{detect:!0,ignoreMissing:!0}]],components:{pre:({node:n,...r})=>{const i=A.useRef(null),[o,l]=A.useState(!1);return b.jsxs(\"div\",{className:\"relative group\",children:[b.jsx(\"pre\",{className:\"bg-muted p-4 rounded-md overflow-x-auto text-sm my-4\",...r,ref:i}),b.jsx(\"button\",{className:\"absolute top-3 right-3 bg-muted/80 hover:bg-muted text-muted-foreground hover:text-foreground p-1.5 rounded-md opacity-0 group-hover:opacity-100 transition-opacity shadow-sm border border-border\",onClick:()=>{var d;const c=(d=i.current)==null?void 0:d.innerText;c&&(navigator.clipboard.writeText(c),l(!0),setTimeout(()=>l(!1),2e3))},\"aria-label\":o?\"Copied\":\"Copy code\",title:o?\"Copied\":\"Copy code\",children:o?b.jsx(lD,{className:\"h-4 w-4\"}):b.jsx(hD,{className:\"h-4 w-4\"})})]})},code:({node:n,className:r,children:i,...o})=>/language-(\\w+)/.exec(r||\"\")?b.jsx(\"code\",{className:r,...o,children:i}):b.jsx(\"code\",{className:\"bg-muted px-1.5 py-0.5 rounded text-sm font-mono\",...o,children:i}),a:({node:n,...r})=>b.jsx(\"a\",{className:\"text-primary underline hover:text-primary/80\",...r}),h1:({node:n,...r})=>b.jsx(\"h1\",{className:\"text-2xl font-bold tracking-tight mt-8 mb-4\",...r}),h2:({node:n,...r})=>b.jsx(\"h2\",{className:\"text-xl font-bold tracking-tight mt-8 mb-4\",...r}),h3:({node:n,...r})=>b.jsx(\"h3\",{className:\"text-lg font-bold tracking-tight mt-6 mb-3\",...r}),h4:({node:n,...r})=>b.jsx(\"h4\",{className:\"text-sm font-bold tracking-tight mt-4 mb-2 underline\",...r}),ul:({node:n,...r})=>b.jsx(\"ul\",{className:\"list-disc pl-6 my-4\",...r}),ol:({node:n,...r})=>b.jsx(\"ol\",{className:\"list-decimal pl-6 my-4\",...r}),blockquote:({node:n,...r})=>b.jsx(\"blockquote\",{className:\"border-l-4 border-muted-foreground/30 pl-4 italic my-4\",...r}),table:({node:n,...r})=>b.jsx(\"div\",{className:\"overflow-x-auto my-6\",children:b.jsx(\"table\",{className:\"w-full border-collapse\",...r})}),th:({node:n,...r})=>b.jsx(\"th\",{className:\"border border-border px-4 py-2 text-left font-bold bg-muted\",...r}),td:({node:n,...r})=>b.jsx(\"td\",{className:\"border border-border px-4 py-2\",...r}),summary:({node:n,...r})=>b.jsx(\"summary\",{className:\"text-lg font-bold tracking-tight mt-1 mb-1 cursor-pointer hover:text-primary transition-colors\",...r}),details:({node:n,...r})=>b.jsx(\"details\",{className:\"border rounded-md border-border my-4 p-4 bg-muted/20 hover:bg-muted/30 transition-colors shadow-sm\",...r})},children:e})})}var fm=\"Popover\",[gO,RW]=Is(fm,[Uh]),sd=Uh(),[kX,Ps]=gO(fm),bO=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:i,onOpenChange:o,modal:l=!1}=e,c=sd(t),d=A.useRef(null),[f,m]=A.useState(!1),[p,E]=$c({prop:r,defaultProp:i??!1,onChange:o,caller:fm});return b.jsx(rN,{...c,children:b.jsx(kX,{scope:t,contentId:Wr(),triggerRef:d,open:p,onOpenChange:E,onOpenToggle:A.useCallback(()=>E(_=>!_),[E]),hasCustomAnchor:f,onCustomAnchorAdd:A.useCallback(()=>m(!0),[]),onCustomAnchorRemove:A.useCallback(()=>m(!1),[]),modal:l,children:n})})};bO.displayName=fm;var EO=\"PopoverAnchor\",LX=A.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Ps(EO,n),o=sd(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:c}=i;return A.useEffect(()=>(l(),()=>c()),[l,c]),b.jsx(vE,{...o,...r,ref:t})});LX.displayName=EO;var yO=\"PopoverTrigger\",_O=A.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Ps(yO,n),o=sd(n),l=yn(t,i.triggerRef),c=b.jsx(Ot.button,{type:\"button\",\"aria-haspopup\":\"dialog\",\"aria-expanded\":i.open,\"aria-controls\":i.contentId,\"data-state\":AO(i.open),...r,ref:l,onClick:Lt(e.onClick,i.onOpenToggle)});return i.hasCustomAnchor?c:b.jsx(vE,{asChild:!0,...o,children:c})});_O.displayName=yO;var b1=\"PopoverPortal\",[IX,DX]=gO(b1,{forceMount:void 0}),TO=e=>{const{__scopePopover:t,forceMount:n,children:r,container:i}=e,o=Ps(b1,t);return b.jsx(IX,{scope:t,forceMount:n,children:b.jsx(ea,{present:n||o.open,children:b.jsx(Lh,{asChild:!0,container:i,children:r})})})};TO.displayName=b1;var jl=\"PopoverContent\",vO=A.forwardRef((e,t)=>{const n=DX(jl,e.__scopePopover),{forceMount:r=n.forceMount,...i}=e,o=Ps(jl,e.__scopePopover);return b.jsx(ea,{present:r||o.open,children:o.modal?b.jsx(PX,{...i,ref:t}):b.jsx(BX,{...i,ref:t})})});vO.displayName=jl;var MX=Rl(\"PopoverContent.RemoveScroll\"),PX=A.forwardRef((e,t)=>{const n=Ps(jl,e.__scopePopover),r=A.useRef(null),i=yn(t,r),o=A.useRef(!1);return A.useEffect(()=>{const l=r.current;if(l)return bA(l)},[]),b.jsx(iE,{as:MX,allowPinchZoom:!0,children:b.jsx(xO,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Lt(e.onCloseAutoFocus,l=>{var c;l.preventDefault(),o.current||(c=n.triggerRef.current)==null||c.focus()}),onPointerDownOutside:Lt(e.onPointerDownOutside,l=>{const c=l.detail.originalEvent,d=c.button===0&&c.ctrlKey===!0,f=c.button===2||d;o.current=f},{checkForDefaultPrevented:!1}),onFocusOutside:Lt(e.onFocusOutside,l=>l.preventDefault(),{checkForDefaultPrevented:!1})})})}),BX=A.forwardRef((e,t)=>{const n=Ps(jl,e.__scopePopover),r=A.useRef(!1),i=A.useRef(!1);return b.jsx(xO,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:o=>{var l,c;(l=e.onCloseAutoFocus)==null||l.call(e,o),o.defaultPrevented||(r.current||(c=n.triggerRef.current)==null||c.focus(),o.preventDefault()),r.current=!1,i.current=!1},onInteractOutside:o=>{var d,f;(d=e.onInteractOutside)==null||d.call(e,o),o.defaultPrevented||(r.current=!0,o.detail.originalEvent.type===\"pointerdown\"&&(i.current=!0));const l=o.target;((f=n.triggerRef.current)==null?void 0:f.contains(l))&&o.preventDefault(),o.detail.originalEvent.type===\"focusin\"&&i.current&&o.preventDefault()}})}),xO=A.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:i,onCloseAutoFocus:o,disableOutsidePointerEvents:l,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:m,...p}=e,E=Ps(jl,n),_=sd(n);return lA(),b.jsx(aE,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:i,onUnmountAutoFocus:o,children:b.jsx(kh,{asChild:!0,disableOutsidePointerEvents:l,onInteractOutside:m,onEscapeKeyDown:c,onPointerDownOutside:d,onFocusOutside:f,onDismiss:()=>E.onOpenChange(!1),children:b.jsx(aN,{\"data-state\":AO(E.open),role:\"dialog\",id:E.contentId,..._,...p,ref:t,style:{...p.style,\"--radix-popover-content-transform-origin\":\"var(--radix-popper-transform-origin)\",\"--radix-popover-content-available-width\":\"var(--radix-popper-available-width)\",\"--radix-popover-content-available-height\":\"var(--radix-popper-available-height)\",\"--radix-popover-trigger-width\":\"var(--radix-popper-anchor-width)\",\"--radix-popover-trigger-height\":\"var(--radix-popper-anchor-height)\"}})})})}),SO=\"PopoverClose\",UX=A.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=Ps(SO,n);return b.jsx(Ot.button,{type:\"button\",...r,ref:t,onClick:Lt(e.onClick,()=>i.onOpenChange(!1))})});UX.displayName=SO;var FX=\"PopoverArrow\",HX=A.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,i=sd(n);return b.jsx(iN,{...i,...r,ref:t})});HX.displayName=FX;function AO(e){return e?\"open\":\"closed\"}var jX=bO,zX=_O,$X=TO,qX=vO;function YX({...e}){return b.jsx(jX,{\"data-slot\":\"popover\",...e})}function GX({...e}){return b.jsx(zX,{\"data-slot\":\"popover-trigger\",...e})}function VX({className:e,align:t=\"center\",sideOffset:n=4,...r}){return b.jsx($X,{children:b.jsx(qX,{\"data-slot\":\"popover-content\",align:t,sideOffset:n,className:et(\"bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden\",e),...r})})}const KX=kr({id:wt(),name:wt(),method:wt(),path:wt()}),XX=kr({id:wt(),name:wt(),description:wt(),jsonSchema:ir(),tabs:La(e=>Array.isArray(e)?e:[e],ka(Cr(()=>Ww))),relatedTypes:La(e=>Array.isArray(e)?e:[e],ka(Cr(()=>gh))),relatedEndpoints:La(e=>Array.isArray(e)?e:[e],ka(Cr(()=>KX)))}),WX=ir(),$b=\"GET /api/data/get/schema/{id}| -> application/json\",qb=\"deamon_api\";function NO(e={}){let[t,n,r]=li({key:(e==null?void 0:e.key)??\"default\",operation:$b,source:qb,schema:XX,errorSchema:WX}),i=A.useCallback(o=>{let{id:l,...c}=o;return n({method:\"get\",url:`/api/data/get/schema/${l}`,headers:{},params:c,key:`${qb}: ${$b}`,source:\"deamon_api\"}),oi()},[n]);return A.useEffect(()=>(e.fetchOnMount&&i(e.params),()=>{e.clearOnUnmount&&r()}),[]),[t,i,r]}NO.key=`${qb}: ${$b}`;const wO=NO;function iS({schemaId:e,schemaName:t,sourceId:n,buttonText:r=\"View Model Schema\"}){const[i,o]=A.useState(!1),[l,c]=wO({clearOnUnmount:!0,fetchOnMount:!1,params:{id:e}}),d=m=>{o(m),m&&c({id:e})},f=Ii.useMemo(()=>ar(l)?l.data:null,[l]);return b.jsxs(\"div\",{className:\"flex\",children:[b.jsxs(YX,{open:i,onOpenChange:d,children:[b.jsx(GX,{asChild:!0,children:b.jsxs(ri,{variant:\"outline\",size:\"sm\",className:\"rounded-r-none border-r-0\",children:[b.jsx(FS,{className:\"mr-2 h-4 w-4\"}),r]})}),b.jsxs(VX,{className:\"w-[500px] p-0\",align:\"start\",children:[$h(l)&&b.jsxs(\"div\",{className:\"p-4 space-y-2\",children:[b.jsx(\"div\",{className:\"h-4 w-48 bg-muted rounded animate-pulse\"}),b.jsx(\"div\",{className:\"h-8 w-96 bg-muted rounded animate-pulse\"}),b.jsx(\"div\",{className:\"h-4 w-72 bg-muted rounded animate-pulse\"})]}),Kl(l)&&b.jsx(\"div\",{className:\"p-4\",children:b.jsx(\"p\",{className:\"text-destructive\",children:\"Failed to load schema data\"})}),f&&b.jsxs(\"div\",{className:\"p-4\",children:[b.jsx(\"h3\",{className:\"text-lg font-semibold mb-2\",children:f.name}),b.jsx(\"p\",{className:\"text-sm text-muted-foreground mb-4\",children:f.description}),f.tabs&&f.tabs.length>0&&b.jsxs(Wc,{defaultValue:f.tabs[0].name,className:\"w-full\",children:[b.jsx(Qc,{className:\"mb-4\",children:f.tabs.map(m=>b.jsx(ks,{value:m.name,children:m.name},m.name))}),f.tabs.map(m=>b.jsx(Mi,{value:m.name,className:\"mt-0\",children:b.jsx(Kr,{children:b.jsx(Xr,{className:\"pt-6\",children:b.jsx(g1,{content:m.content.trim()})})})},m.name))]})]})]})]}),b.jsx(ri,{variant:\"outline\",size:\"sm\",className:\"rounded-l-none px-2\",asChild:!0,children:b.jsx(Mn,{to:`/sources/${n}/datatype/${e}`,rel:\"noopener noreferrer\",children:b.jsx(TD,{className:\"h-4 w-4\"})})})]})}function CO(){const[e]=tm(),t=A.useMemo(()=>ar(e)?e.data.files.length:0,[]);return t===0?null:b.jsxs(\"div\",{className:\"flex items-center gap-1 bg-muted px-2 py-1 rounded-full text-xs font-medium\",children:[b.jsx(jS,{className:\"h-3 w-3\"}),b.jsx(\"span\",{children:t})]})}function RO({sourceId:e,id:t,type:n}){const[r]=tm(),[i,o]=A.useState([]);return A.useEffect(()=>{ar(r)&&o(r.data.files)},[r]),$h(r)?b.jsxs(Kr,{children:[b.jsxs(Ja,{children:[b.jsx(xs,{children:\"Usage\"}),b.jsxs(Ss,{children:[\"Loading files where this \",n,\" is used...\"]})]}),b.jsx(Xr,{children:b.jsx(\"div\",{className:\"flex justify-center py-4\",children:b.jsx(\"div\",{className:\"h-6 w-6 animate-spin rounded-full border-2 border-primary border-t-transparent\"})})})]}):Kl(r)?b.jsxs(Kr,{children:[b.jsxs(Ja,{children:[b.jsx(xs,{children:\"Usage\"}),b.jsxs(Ss,{children:[\"Files where this \",n,\" is used\"]})]}),b.jsx(Xr,{children:b.jsx(\"div\",{className:\"text-center text-muted-foreground py-2\",children:r.error.message})})]}):b.jsxs(Kr,{children:[b.jsxs(Ja,{children:[b.jsx(xs,{children:\"Usage\"}),b.jsx(Ss,{children:n===\"datatype\"?\"TSX files where this datatype is used (usage will not count unless explicitly imported)\":\"TSX files where this endpoint is used\"})]}),b.jsx(Xr,{children:i.length===0?b.jsxs(\"div\",{className:\"text-center text-muted-foreground py-2\",children:[\"No TSX files found using this \",n]}):b.jsx(mh,{className:\"h-[200px]\",children:b.jsx(\"div\",{className:\"px-2 py-1\",children:i.map((l,c)=>{const d=l.split(\"/\"),f=d[d.length-1],m=d.slice(0,-1).join(\"/\");return b.jsxs(A.Fragment,{children:[b.jsxs(\"div\",{className:\"flex items-center py-2 px-2 rounded-md hover:bg-accent/50\",children:[b.jsx(\"div\",{className:\"mr-2 flex-shrink-0\",children:b.jsx(jS,{className:\"h-4 w-4 text-muted-foreground\"})}),b.jsxs(\"div\",{className:\"flex-1 truncate\",children:[b.jsx(\"div\",{className:\"font-medium text-sm truncate\",children:f}),b.jsx(\"div\",{className:\"text-xs text-muted-foreground truncate font-mono\",children:m})]})]}),c<i.length-1&&b.jsx(Oh,{className:\"my-1\"})]},c)})})})})]})}function QX(){var o,l,c;const{sourceId:e,endpointId:t}=Wb();tm({clearOnUnmount:!0,fetchOnMount:!0,params:{sourceId:e??\"\",id:t??\"\",type:\"endpoint\"}});const[n,r]=WU({clearOnUnmount:!0,fetchOnMount:!0,params:{id:t??\"\"}});A.useEffect(()=>{r({id:t??\"\"})},[t]);const i=A.useMemo(()=>ar(n)?n.data:(Kl(n)&&console.error(n),null),[n]);return $h(n)?b.jsxs(\"div\",{className:\"container mx-auto space-y-8 py-6\",children:[b.jsxs(\"div\",{className:\"flex flex-col gap-2\",children:[b.jsx(\"div\",{className:\"h-4 w-24 bg-muted rounded animate-pulse\"}),b.jsx(\"div\",{className:\"h-8 w-64 bg-muted rounded animate-pulse\"}),b.jsxs(\"div\",{className:\"flex items-center gap-2\",children:[b.jsx(\"div\",{className:\"h-6 w-16 bg-muted rounded animate-pulse\"}),b.jsx(\"div\",{className:\"h-6 w-48 bg-muted rounded animate-pulse\"})]}),b.jsx(\"div\",{className:\"h-4 w-96 bg-muted rounded animate-pulse\"})]}),b.jsxs(\"div\",{className:\"grid grid-cols-1 md:grid-cols-3 gap-6\",children:[b.jsx(\"div\",{className:\"md:col-span-2 h-96 bg-muted rounded animate-pulse\"}),b.jsx(\"div\",{className:\"h-64 bg-muted rounded animate-pulse\"})]}),b.jsx(\"div\",{className:\"h-96 bg-muted rounded animate-pulse\"})]}):i?b.jsxs(\"div\",{className:\"container mx-auto space-y-8 py-6\",children:[b.jsxs(\"div\",{className:\"flex flex-col gap-2 relative\",children:[b.jsx(zE,{children:b.jsxs($E,{children:[b.jsx(vs,{children:b.jsx(Dc,{asChild:!0,children:b.jsx(Mn,{to:\"/sources\",children:\"Sources\"})})}),b.jsx(Mc,{}),b.jsx(vs,{children:b.jsx(Dc,{asChild:!0,children:b.jsx(Mn,{to:`/sources/${e}`,children:e})})}),b.jsx(Mc,{}),b.jsx(vs,{children:b.jsx(qE,{children:i.name})})]})}),b.jsx(\"div\",{className:\"absolute top-0 right-0\",children:b.jsx(Jh,{item:{id:i.id||t||\"\",name:i.name,source:e||\"\",type:\"endpoint\",accessTime:new Date().toISOString()}})}),b.jsxs(\"div\",{className:\"flex items-center gap-2\",children:[b.jsx(\"h1\",{className:\"text-3xl font-bold tracking-tight\",children:i.name}),b.jsx(CO,{})]}),b.jsxs(\"div\",{className:\"flex items-center gap-2\",children:[b.jsx(\"span\",{className:`px-2 py-1 text-xs font-medium rounded-md text-white ${i.method===\"GET\"?\"bg-blue-600\":i.method===\"POST\"?\"bg-green-600\":i.method===\"PUT\"?\"bg-yellow-600\":\"bg-red-600\"}`,children:i.method}),b.jsx(\"code\",{className:\"font-mono text-sm bg-muted px-2 py-1 rounded\",children:i.path})]}),b.jsx(\"p\",{className:\"text-muted-foreground\",children:i.description})]}),b.jsxs(Wc,{defaultValue:((l=(o=i.tabs)==null?void 0:o[0])==null?void 0:l.name)??\"overview\",className:\"w-full\",children:[b.jsxs(Qc,{className:\"mb-4\",children:[b.jsx(ks,{value:\"overview\",children:\"Overview\"}),i.tabs&&i.tabs.map(d=>b.jsx(ks,{value:d.name,children:d.name},d.name))]}),b.jsx(Mi,{value:\"overview\",children:b.jsxs(\"div\",{className:\"grid grid-cols-1 md:grid-cols-3 gap-6\",children:[b.jsxs(Kr,{className:\"md:col-span-2\",children:[b.jsxs(Ja,{children:[b.jsx(xs,{children:\"Request\"}),b.jsxs(Ss,{children:[\"Information about the request for \",i.name,\" endpoint\"]})]}),b.jsxs(Xr,{className:\"space-y-6\",children:[i.requestBody&&b.jsxs(\"div\",{className:\"border-b pb-4\",children:[b.jsx(\"h3\",{className:\"text-sm font-medium mb-2\",children:\"Request Model\"}),b.jsxs(\"div\",{className:\"flex items-center gap-2\",children:[b.jsx(\"code\",{className:\"font-mono text-sm bg-muted px-2 py-1 rounded\",children:i.requestBody.name}),b.jsx(iS,{schemaId:i.requestBody.id,schemaName:i.requestBody.name,sourceId:e||\"\",buttonText:\"View Model Schema\"})]})]}),b.jsxs(\"div\",{children:[b.jsx(\"h3\",{className:\"text-sm font-medium mb-2\",children:\"Parameters\"}),i.variables&&i.variables.length>0?b.jsx(\"div\",{className:\"border rounded-md overflow-hidden\",children:b.jsxs(\"table\",{className:\"w-full text-sm\",children:[b.jsx(\"thead\",{className:\"bg-muted\",children:b.jsxs(\"tr\",{children:[b.jsx(\"th\",{className:\"text-left p-2 font-medium\",children:\"Parameter\"}),b.jsx(\"th\",{className:\"text-left p-2 font-medium\",children:\"Type\"}),b.jsx(\"th\",{className:\"text-left p-2 font-medium\",children:\"Required\"}),b.jsx(\"th\",{className:\"text-left p-2 font-medium\",children:\"Description\"})]})}),b.jsx(\"tbody\",{className:\"divide-y\",children:i.variables.map(d=>b.jsxs(\"tr\",{children:[b.jsx(\"td\",{className:\"p-2 font-mono\",children:d.name}),b.jsx(\"td\",{className:\"p-2 font-mono text-xs\",children:d.relatedType&&b.jsx(Mn,{to:`/sources/${e}/datatype/${d.relatedType.id}`,children:d.relatedType.name})}),b.jsx(\"td\",{className:\"p-2\",children:d.in===\"path\"?\"Yes\":\"No\"}),b.jsx(\"td\",{className:\"p-2\",children:d.description||\"\"})]},d.name))})]})}):b.jsx(\"p\",{className:\"text-muted-foreground\",children:\"This endpoint doesn't require any parameters.\"})]})]})]}),b.jsxs(\"div\",{className:\"grid grid-cols-1 gap-6\",children:[b.jsxs(Kr,{children:[b.jsxs(Ja,{children:[b.jsx(xs,{children:\"Response\"}),b.jsx(Ss,{children:\"Response data structure\"})]}),b.jsxs(Xr,{children:[b.jsxs(\"div\",{className:\"mb-4\",children:[b.jsx(\"p\",{className:\"text-sm mb-2\",children:\"Response Type:\"}),b.jsx(\"code\",{className:\"font-mono text-sm bg-muted px-2 py-1 rounded block overflow-auto\",children:((c=i.response)==null?void 0:c.name)||\"No response type defined\"})]}),b.jsx(\"div\",{className:\"flex flex-col gap-2\",children:i.response&&b.jsx(iS,{schemaId:i.response.id,schemaName:i.response.name,sourceId:e||\"\",buttonText:\"View Response Model\"})})]})]}),b.jsx(RO,{sourceId:e||\"\",id:i.id||t||\"\",type:\"endpoint\"})]})]})}),i.tabs&&i.tabs.map(d=>b.jsx(Mi,{value:d.name,children:b.jsx(Kr,{children:b.jsx(Xr,{className:\"pt-6\",children:b.jsx(g1,{content:d.content||\"\"})})})},d.name))]})]}):b.jsxs(\"div\",{className:\"container mx-auto py-12 text-center\",children:[b.jsx(\"h1\",{className:\"text-2xl font-bold\",children:\"Endpoint not found\"}),b.jsx(\"p\",{className:\"mt-4\",children:\"The endpoint you're looking for doesn't exist or hasn't been configured yet.\"}),b.jsx(ri,{asChild:!0,className:\"mt-6\",children:b.jsx(Mn,{to:`/sources/${e}`,children:\"Back to Source\"})})]})}function ZX(){return b.jsx(HE,{children:b.jsx(QX,{})})}function JX(){var l,c;const{sourceId:e,datatypeId:t}=Wb();tm({clearOnUnmount:!0,fetchOnMount:!0,params:{sourceId:e??\"\",id:t??\"\",type:\"datatype\"}});const[n,r]=wO({clearOnUnmount:!0,fetchOnMount:!0,params:{id:t??\"\"}});A.useEffect(()=>{r({id:t??\"\"})},[t]);const i=A.useMemo(()=>ar(n)?n.data:(Kl(n)&&console.error(n),null),[n]),o=A.useMemo(()=>i==null?void 0:i.jsonSchema,[i]);return $h(n)?b.jsxs(\"div\",{className:\"container mx-auto space-y-8 py-6\",children:[b.jsxs(\"div\",{className:\"flex flex-col gap-2\",children:[b.jsx(\"div\",{className:\"h-4 w-48 bg-muted rounded animate-pulse\"}),b.jsx(\"div\",{className:\"h-8 w-96 bg-muted rounded animate-pulse\"}),b.jsx(\"div\",{className:\"h-4 w-72 bg-muted rounded animate-pulse\"})]}),b.jsxs(Kr,{children:[b.jsxs(Ja,{children:[b.jsx(\"div\",{className:\"h-6 w-32 bg-muted rounded animate-pulse\"}),b.jsx(\"div\",{className:\"h-4 w-64 bg-muted rounded animate-pulse\"})]}),b.jsx(Xr,{children:b.jsx(\"div\",{className:\"space-y-4\",children:[1,2,3,4].map(d=>b.jsxs(\"div\",{className:\"flex gap-4\",children:[b.jsx(\"div\",{className:\"h-4 w-32 bg-muted rounded animate-pulse\"}),b.jsx(\"div\",{className:\"h-4 w-24 bg-muted rounded animate-pulse\"}),b.jsx(\"div\",{className:\"h-4 w-24 bg-muted rounded animate-pulse\"}),b.jsx(\"div\",{className:\"h-4 w-16 bg-muted rounded animate-pulse\"}),b.jsx(\"div\",{className:\"h-4 w-48 bg-muted rounded animate-pulse\"})]},d))})})]}),b.jsxs(Kr,{children:[b.jsxs(Ja,{children:[b.jsx(\"div\",{className:\"h-6 w-40 bg-muted rounded animate-pulse\"}),b.jsx(\"div\",{className:\"h-4 w-56 bg-muted rounded animate-pulse\"})]}),b.jsx(Xr,{children:b.jsx(\"div\",{className:\"space-y-4\",children:[1,2].map(d=>b.jsxs(\"div\",{className:\"flex justify-between items-center p-3 border rounded-md\",children:[b.jsx(\"div\",{className:\"h-4 w-64 bg-muted rounded animate-pulse\"}),b.jsx(\"div\",{className:\"h-8 w-24 bg-muted rounded animate-pulse\"})]},d))})})]})]}):i?b.jsxs(\"div\",{className:\"container mx-auto space-y-8 py-6\",children:[b.jsxs(\"div\",{className:\"flex flex-col gap-2 relative\",children:[b.jsx(zE,{children:b.jsxs($E,{children:[b.jsx(vs,{children:b.jsx(Dc,{asChild:!0,children:b.jsx(Mn,{to:\"/sources\",children:\"Sources\"})})}),b.jsx(Mc,{}),b.jsx(vs,{children:b.jsx(Dc,{asChild:!0,children:b.jsx(Mn,{to:`/sources/${e}`,children:e})})}),b.jsx(Mc,{}),b.jsx(vs,{children:b.jsx(qE,{children:i.name})})]})}),b.jsx(\"div\",{className:\"absolute top-0 right-0\",children:b.jsx(Jh,{item:{id:i.id||t||\"\",name:i.name,source:e||\"\",type:\"schema\",accessTime:new Date().toISOString()}})}),b.jsxs(\"div\",{className:\"flex items-center gap-2\",children:[b.jsx(\"h1\",{className:\"text-3xl font-bold tracking-tight\",children:i.name}),b.jsx(CO,{})]}),b.jsx(\"p\",{className:\"text-muted-foreground\",children:i.description})]}),b.jsxs(Kr,{children:[b.jsxs(Ja,{children:[b.jsx(xs,{children:\"Properties\"}),b.jsxs(Ss,{children:[\"Fields and types for the \",i.name,\" model\"]})]}),b.jsx(Xr,{children:b.jsx(\"div\",{className:\"border rounded-md overflow-hidden\",children:b.jsxs(\"table\",{className:\"w-full text-sm\",children:[b.jsx(\"thead\",{className:\"bg-muted\",children:b.jsxs(\"tr\",{children:[b.jsx(\"th\",{className:\"text-left p-2 font-medium\",children:\"Property\"}),b.jsx(\"th\",{className:\"text-left p-2 font-medium\",children:\"Type\"}),b.jsx(\"th\",{className:\"text-left p-2 font-medium\",children:\"Format\"}),b.jsx(\"th\",{className:\"text-left p-2 font-medium\",children:\"Required\"}),b.jsx(\"th\",{className:\"text-left p-2 font-medium\",children:\"Description\"})]})}),b.jsx(\"tbody\",{className:\"divide-y\",children:(l=Object.entries((o==null?void 0:o.properties)??{}))==null?void 0:l.map(([d,f])=>{var p,E;const m=f;return b.jsxs(\"tr\",{children:[b.jsx(\"td\",{className:\"p-2 font-mono\",children:d}),b.jsx(\"td\",{className:\"p-2 font-mono\",children:m==null?void 0:m.type}),b.jsx(\"td\",{className:\"p-2 font-mono text-xs\",children:(m==null?void 0:m.format)||((p=m==null?void 0:m.enum)==null?void 0:p.join(\", \"))||\"-\"}),b.jsx(\"td\",{className:\"p-2\",children:(E=o==null?void 0:o.required)!=null&&E.includes(d)?\"Yes\":\"No\"}),b.jsx(\"td\",{className:\"p-2\",children:m==null?void 0:m.description})]},d)})})]})})})]}),i.tabs&&i.tabs.length>0&&b.jsxs(Wc,{defaultValue:i.tabs[0].name,className:\"w-full\",children:[b.jsx(Qc,{className:\"mb-4\",children:i.tabs.map(d=>b.jsx(ks,{value:d.name,children:d.name},d.name))}),i.tabs.map(d=>b.jsx(Mi,{value:d.name,className:\"mt-0\",children:b.jsx(Kr,{children:b.jsx(Xr,{className:\"pt-6\",children:b.jsx(g1,{content:d.content.trim()})})})},d.name))]}),b.jsxs(\"div\",{className:\"grid grid-cols-1 md:grid-cols-2 gap-6\",children:[b.jsxs(Kr,{children:[b.jsxs(Ja,{children:[b.jsx(xs,{children:\"Related Endpoints\"}),b.jsx(Ss,{children:\"Endpoints that use this model\"})]}),b.jsx(Xr,{children:b.jsxs(\"div\",{className:\"space-y-3\",children:[(c=i.relatedEndpoints)==null?void 0:c.map(d=>b.jsxs(\"div\",{className:\"flex justify-between items-center p-3 border rounded-md\",children:[b.jsxs(\"div\",{className:\"flex flex-col gap-1\",children:[b.jsxs(\"div\",{className:\"flex items-center gap-2\",children:[b.jsx(\"span\",{className:`px-2 py-1 text-xs font-medium rounded-md text-white ${d.method===\"GET\"?\"bg-blue-600\":d.method===\"POST\"?\"bg-green-600\":d.method===\"PUT\"?\"bg-yellow-600\":\"bg-red-600\"}`,children:d.method}),b.jsx(\"span\",{className:\"font-medium\",children:d.name})]}),b.jsx(\"code\",{className:\"font-mono text-sm bg-muted px-2 py-1 rounded\",children:d.path})]}),b.jsx(ri,{variant:\"outline\",size:\"sm\",asChild:!0,children:b.jsx(Mn,{to:`/sources/${e}/endpoints/${d.id}`,children:\"View Details\"})})]},d.id)),(!i.relatedEndpoints||i.relatedEndpoints.length===0)&&b.jsx(\"p\",{className:\"text-muted-foreground\",children:\"No related endpoints found for this data type.\"})]})})]}),b.jsx(RO,{sourceId:e||\"\",id:i.id||t||\"\",type:\"datatype\"})]})]}):b.jsxs(\"div\",{className:\"container mx-auto py-12 text-center\",children:[b.jsx(\"h1\",{className:\"text-2xl font-bold\",children:\"Data Type not found\"}),b.jsx(\"p\",{className:\"mt-4\",children:\"The data type you're looking for doesn't exist or hasn't been configured yet.\"}),b.jsx(ri,{asChild:!0,className:\"mt-6\",children:b.jsx(Mn,{to:`/sources/${e}`,children:\"Back to Source\"})})]})}function eW(){return b.jsx(HE,{children:b.jsx(JX,{})})}const tW=MI([{path:\"/\",element:b.jsx(vU,{}),children:[{index:!0,element:b.jsx(RU,{})},{path:\"about\",element:b.jsx(OU,{})},{path:\"sources\",element:b.jsx(Bf,{to:\"/\",replace:!0})},{path:\"sources/:sourceId\",element:b.jsx(GU,{})},{path:\"sources/:sourceId/endpoint\",element:b.jsx(Bf,{to:e=>`/sources/${e.sourceId}`,replace:!0})},{path:\"sources/:sourceId/endpoint/:endpointId\",element:b.jsx(ZX,{})},{path:\"sources/:sourceId/datatype\",element:b.jsx(Bf,{to:e=>`./sources/${e.sourceId}`,replace:!0})},{path:\"sources/:sourceId/datatype/:datatypeId\",element:b.jsx(eW,{})}]}],{basename:\"/\"}),nW=void 0,rW=F3.createRoot(document.getElementById(\"root\"));rW.render(b.jsx(A.StrictMode,{children:b.jsx(lB,{configs:{deamon_api:{baseURL:nW}},children:b.jsx(HE,{children:b.jsx(KI,{router:tW})})})}));\n");
|
|
9644
|
+
;// ../../dist/app/insight/favicon.ico
|
|
9645
|
+
const favicon_namespaceObject = "data:image/vnd.microsoft.icon;base64,AAABAAEAIBoAAAEAIACQDQAAFgAAACgAAAAgAAAANAAAAAEAIAAAAAAAAA0AACMuAAAjLgAAAAAAAAAAAAD/////////////////////////////////////+/v7/+Xl5f/ExMT/qamp/5mZmf+Tk5P/kpKS/5KSkv+SkpL/kpKS/5KSkv+SkpL/kpKS/5iYmP/T09P///////////////////////////////////////r6+v/g4OD/ysrK/////////////////////////////f39/+Li4v+ysrL/kpKS/4iIiP+Hh4f/h4eH/4eHh/+Hh4f/h4eH/4eHh/+Hh4f/h4eH/4eHh/+Hh4f/hYWF/6Ojo//4+Pj///////////////////////39/f/e3t7/rq6u/5CQkP+UlJT///////////////////////f39//CwsL/kZGR/4aGhv+Hh4f/iIiI/4eHh/+Ghob/hoaG/4aGhv+Ghob/hoaG/4aGhv+Ghob/hoaG/4aGhv+FhYX/ra2t//v7+//////////////////19fX/vr6+/4+Pj/+Ghob/h4eH/5SUlP/////////////////z8/P/sbGx/4iIiP+Hh4f/iIiI/4aGhv+MjIz/nZ2d/7CwsP+7u7z/vr6//76+v/++vr//vr7A/76+wP++vsD/v77A/8bGx//u7e//////////////////8vLy/66urv+IiIj/h4eH/4iIiP+Hhoj/mZma////////////9/f3/7Kysv+Hh4f/iIiI/4eHh/+Li4v/rKys/9vb2//19fX//f36//r86f/5/OX/+fzl//n85f/5/OX/+fzl//n85f/5/OX/+vzl//n85f/4++T/+Pzk//P15v+wsLD/h4eH/4iIiP+Hh4n/jo+I/7O2n//d4Mv///////7+/v/ExMT/iIiI/4iIiP+Hh4f/kpKS/83Nzf/6+vr///////7//f/j7Yz/yt4n/8ndI//J3SP/yd0j/8ndI//J3SP/yd0j/8ndI//J3SP/yd0j/8ndI//K3ij/r7Zz/4mIiv+IiIj/h4eJ/5WYff+1xDv/x9wh/8/iNv//////5OTk/5KSkv+Hh4f/h4eH/5GRkf/W1tb/////////////////+vzs/8rfL/++1wD/v9gA/7/YAP+/2AD/v9gA/7/YAP+/2AD/v9gA/7/YAP+/2AD/wNkA/7bILv+Oj4T/h4eI/4eHif+Ul3z/ucoq/8HZAP+/2AD/xNsV//39/f+1tbX/hoaG/4iIiP+JiYn/yMjI//7+/v/////////////////+/vr/3Opz/8TbEv/E2hD/xNoQ/8TaEP/E2hD/xNoQ/8TaEP/E2hD/xNoQ/8TaEP/E2RX/oahp/4eHiv+Ih4j/jo+I/7jGR//F3A7/xNoP/8TaDv/J3SP/6Ojo/5SUlP+Hh4f/h4eH/6Wlpf/29vb////////////////////////////8/fT/9PjS//L3zP/y98z/8vfM//L3zP/y98z/8vfM//L3zP/y98z/8/jN/9/jvf+Skoz/h4eI/4eHh/+5ubT/8/fQ//L3y//y98v/8vfL//P4z//IyMj/iYmJ/4iIiP+JiYn/0NDQ////////////////////////////////////////////////////////////////////////////////////////////z8/Q/4iIif+Hh4f/kJCQ/+Xl5f///////////////////////////62trf+Hh4f/h4eH/5WVlf/t7e3///////////////////////////////////////////////////////////////////////////////////////////+3t7f/hoaG/4aGhv+mpqb/+vr6////////////////////////////nJyc/4eHh/+Ghob/pKSk//n5+f//////////////////////////////////////////////////////////////////////////////////////+/v7/6ioqP+Ghob/hoaG/7q6uv////////////////////////////////+VlZX/h4eH/4aGhv+tra3//f39///////////////////////////////////////////////////////////////////////////////////////4+Pj/oaGh/4aGhv+Ghob/xcXF/////////////////////////////////5aWlv+Hh4f/hoaG/62trf/9/f3///////////////////////////////////////////////////////////////////////////////////////f39/+enp7/h4eH/4eHh//FxcX/////////////////////////////////np6e/4eHh/+Ghob/pKSk//n5+f//////////////////////////////////////////////////////////////////////////////////////8fHx/5eXl/+Hh4f/hoaG/7u7u/////////////////////////////////+wsLD/h4eH/4eHh/+VlZX/7e3t///////////////////////////////////////////////////////////////////////////////////////g4OD/jY2N/4iIiP+Ghob/qamp//v7+////////////////////////////8zMzP+Kior/iIiI/4mJif/R0dH//////////////////////////////////////////////////////////////////////////////////////8DAwP+Hh4f/iIiI/4eHh/+UlJT/6+vr////////////////////////////7Ozs/5eXl/+Hh4f/h4eH/6ampv/39/f////////////////////////////////////////////////////////////////////////////u7u7/mZmZ/4eHh/+IiIj/iIiI/4iIiP/FxcX////////////////////////////+/v7/u7u7/4aGhv+IiIj/iYmJ/8nJyf///////////////////////////////////////////////////////////////////////Pz8/7q6uv+Hh4f/iIiI/4iIiP+IiIj/h4eH/5eXl//p6en////////////////////////////p6en/lpaW/4eHh/+Hh4f/kZGR/9jY2P////////////////////////////////////////////////////////////39/f/Kysr/jIyM/4iIiP+IiIj/iIiI/4iIiP+IiIj/h4eH/6qqqv/z8/P////////////////////////////MzMz/ioqK/4iIiP+Hh4f/kpKS/87Ozv/6+vr////////////////////////////////////////////39/f/w8PD/42Njf+Hh4f/iIiI/4iIiP+IiIj/iIiI/4iIiP+IiIj/iIiI/6ysrP/s7Oz///////////////////////r6+v+6urr/iIiI/4iIiP+Hh4f/i4uL/66urv/c3Nz/9vb2//7+/v////////////39/f/z8/P/1tbW/6ampv+JiYn/h4eH/4iIiP+IiIj/iIiI/4iIiP+IiIj/iIiI/4iIiP+IiIj/h4eH/5qamv/Ly8v/7+/v//////////////////f39/+5ubn/ioqK/4eHh/+IiIj/hoaG/4yMjP+enp7/sbGx/7u7u/+6urr/rq6u/5ubm/+Kior/h4eH/4iIiP+IiIj/iIiI/4iIiP+IiIj/iIiI/4iIiP+IiIj/iIiI/4iIiP+IiIj/h4eH/4iIiP+lpaX///////////////////////r6+v/Kysr/lJSU/4aGhv+Hh4f/iIiI/4eHh/+Ghob/hoaG/4aGhv+Ghob/h4eH/4iIiP+IiIj/iIiI/4iIiP+IiIj/iIiI/4iIiP+IiIj/iIiI/4iIiP+IiIj/iIiI/4iIiP+IiIj/h4eH/5ubm/////////////////////////////7+/v/n5+f/t7e3/5WVlf+JiYn/h4eH/4eHh/+Hh4f/h4eH/4eHh/+Hh4f/h4eH/4eHh/+Hh4f/h4eH/4eHh/+Hh4f/h4eH/4eHh/+Hh4f/h4eH/4eHh/+Hh4f/h4eH/4eHh/+Ghob/m5ub///////////////////////////////////////9/f3/6enp/8jIyP+srKz/m5ub/5SUlP+SkpL/kpKS/5KSkv+SkpL/kpKS/5KSkv+SkpL/kpKS/5KSkv+SkpL/kpKS/5KSkv+SkpL/kpKS/5KSkv+SkpL/kpKS/5GRkf+kpKT/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
|
9603
9646
|
;// ./src/app/insight-assets.ts
|
|
9604
9647
|
// Import insight assets using webpack's require.context
|
|
9605
9648
|
// These will be bundled into main.js
|
|
9649
|
+
// import * as fs from 'fs';
|
|
9650
|
+
// import * as path from 'path';
|
|
9651
|
+
// import { fileURLToPath } from 'url';
|
|
9652
|
+
|
|
9606
9653
|
|
|
9607
9654
|
|
|
9608
9655
|
|
|
9609
9656
|
// Function to load assets at runtime
|
|
9610
9657
|
function loadInsightAssets() {
|
|
9611
|
-
const __filename = (0,external_url_namespaceObject.fileURLToPath)("file:///home/tiran-intrigsoft/IdeaProjects/intrig-core/app/intrig/src/app/insight-assets.ts");
|
|
9612
|
-
const __dirname = external_path_namespaceObject.dirname(__filename);
|
|
9613
|
-
// In production, the assets are in the dist directory
|
|
9614
|
-
// The path structure is different between development and production
|
|
9615
|
-
let insightDistPath;
|
|
9616
|
-
// Try the dist path first (production)
|
|
9617
|
-
insightDistPath = external_path_namespaceObject.resolve(__dirname, '..', 'assets', 'insight');
|
|
9618
|
-
// If that doesn't exist, try the development path
|
|
9619
|
-
if (!external_fs_namespaceObject.existsSync(insightDistPath)) {
|
|
9620
|
-
insightDistPath = external_path_namespaceObject.resolve(process.cwd(), 'dist', 'app', 'intrig', 'assets', 'insight');
|
|
9621
|
-
}
|
|
9622
|
-
// Check if the assets directory exists
|
|
9623
|
-
if (!external_fs_namespaceObject.existsSync(insightDistPath)) {
|
|
9624
|
-
throw new Error(`Insight assets directory not found at ${insightDistPath}`);
|
|
9625
|
-
}
|
|
9626
|
-
// Load the assets
|
|
9627
|
-
const html = external_fs_namespaceObject.readFileSync(external_path_namespaceObject.join(insightDistPath, 'index.html'), 'utf8');
|
|
9628
|
-
// Find the CSS and JS files in the assets directory
|
|
9629
|
-
const assetsDir = external_path_namespaceObject.join(insightDistPath, 'assets');
|
|
9630
|
-
const files = external_fs_namespaceObject.readdirSync(assetsDir);
|
|
9631
|
-
const cssFile = files.find((file)=>file.endsWith('.css'));
|
|
9632
|
-
const jsFile = files.find((file)=>file.endsWith('.js'));
|
|
9633
|
-
if (!cssFile || !jsFile) {
|
|
9634
|
-
throw new Error('CSS or JS file not found in insight assets directory');
|
|
9635
|
-
}
|
|
9636
|
-
const css = external_fs_namespaceObject.readFileSync(external_path_namespaceObject.join(assetsDir, cssFile), 'utf8');
|
|
9637
|
-
const js = external_fs_namespaceObject.readFileSync(external_path_namespaceObject.join(assetsDir, jsFile), 'utf8');
|
|
9638
|
-
// Load favicon and package.json
|
|
9639
|
-
const favicon = external_fs_namespaceObject.readFileSync(external_path_namespaceObject.join(insightDistPath, 'favicon.ico'));
|
|
9640
|
-
const packageJson = external_fs_namespaceObject.readFileSync(external_path_namespaceObject.join(insightDistPath, 'package.json'), 'utf8');
|
|
9641
9658
|
return {
|
|
9642
|
-
html,
|
|
9643
|
-
css,
|
|
9644
|
-
js,
|
|
9645
|
-
favicon
|
|
9646
|
-
packageJson: JSON.parse(packageJson)
|
|
9659
|
+
html: insightraw,
|
|
9660
|
+
css: assetsraw,
|
|
9661
|
+
js: insight_assetsraw,
|
|
9662
|
+
favicon: favicon_namespaceObject
|
|
9647
9663
|
};
|
|
9648
9664
|
}
|
|
9649
9665
|
|
|
9650
|
-
;// external "open"
|
|
9651
|
-
const external_open_namespaceObject = await import("open");
|
|
9652
|
-
var external_open_default = /*#__PURE__*/__webpack_require__.n(external_open_namespaceObject);
|
|
9653
9666
|
;// external "net"
|
|
9654
9667
|
const external_net_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("net");
|
|
9655
9668
|
;// ./src/app/cli/commands/insight.command.ts
|
|
@@ -9666,11 +9679,12 @@ function insight_command_ts_metadata(k, v) {
|
|
|
9666
9679
|
|
|
9667
9680
|
|
|
9668
9681
|
|
|
9682
|
+
// import open from 'open'
|
|
9669
9683
|
|
|
9670
9684
|
|
|
9671
9685
|
|
|
9672
9686
|
|
|
9673
|
-
|
|
9687
|
+
const INTRIG_INSIGHT = ` ${external_chalk_default().bold.yellow('INTRIG INSIGHT')} `;
|
|
9674
9688
|
const SOCIAL_NUMBERS = [
|
|
9675
9689
|
12496,
|
|
9676
9690
|
14288,
|
|
@@ -9704,18 +9718,19 @@ class InsightCommand extends external_nest_commander_namespaceObject.CommandRunn
|
|
|
9704
9718
|
insightAssets = loadInsightAssets();
|
|
9705
9719
|
this.logger.log('Successfully loaded insight assets');
|
|
9706
9720
|
} catch (error) {
|
|
9721
|
+
console.error(error);
|
|
9707
9722
|
this.logger.error(`Failed to load insight assets: ${error.message}`);
|
|
9708
9723
|
throw error;
|
|
9709
9724
|
}
|
|
9710
9725
|
// Set up middleware to serve bundled assets
|
|
9711
|
-
app.use(
|
|
9726
|
+
// app.use(express.static('public'));
|
|
9712
9727
|
// Serve CSS file
|
|
9713
|
-
app.get('/assets/index
|
|
9728
|
+
app.get('/assets/index.css', (req, res)=>{
|
|
9714
9729
|
res.type('text/css');
|
|
9715
9730
|
res.send(insightAssets.css);
|
|
9716
9731
|
});
|
|
9717
9732
|
// Serve JS file
|
|
9718
|
-
app.get('/assets/index
|
|
9733
|
+
app.get('/assets/index.js', (req, res)=>{
|
|
9719
9734
|
res.type('application/javascript');
|
|
9720
9735
|
res.send(insightAssets.js);
|
|
9721
9736
|
});
|
|
@@ -9739,8 +9754,9 @@ class InsightCommand extends external_nest_commander_namespaceObject.CommandRunn
|
|
|
9739
9754
|
// Clear console for a cleaner look
|
|
9740
9755
|
console.clear();
|
|
9741
9756
|
// Print a decorative header
|
|
9742
|
-
console.log('\n'
|
|
9743
|
-
console.log(external_chalk_default().bold.cyan('
|
|
9757
|
+
console.log('\n');
|
|
9758
|
+
console.log(external_chalk_default().bold.cyan('╔════════════════════════════════════════════════════════════╗'));
|
|
9759
|
+
console.log(external_chalk_default().bold.cyan(`║ ${INTRIG_INSIGHT} ║`));
|
|
9744
9760
|
console.log(external_chalk_default().bold.cyan('╚════════════════════════════════════════════════════════════╝\n'));
|
|
9745
9761
|
// Server URL with prominent styling
|
|
9746
9762
|
console.log(external_chalk_default().bold.green('✓ ') + external_chalk_default().bold('Server Status: ') + external_chalk_default().green('Running'));
|
|
@@ -9748,9 +9764,9 @@ class InsightCommand extends external_nest_commander_namespaceObject.CommandRunn
|
|
|
9748
9764
|
// Port information with appropriate styling
|
|
9749
9765
|
console.log(external_chalk_default().bold.magenta('ℹ ') + external_chalk_default().bold('Port: ') + external_chalk_default().magenta(`${port}`));
|
|
9750
9766
|
// Routes information
|
|
9751
|
-
console.log(
|
|
9752
|
-
console.log(
|
|
9753
|
-
console.log(
|
|
9767
|
+
// console.log(chalk.bold.magenta('ℹ ') + chalk.bold('Routes: '));
|
|
9768
|
+
// console.log(chalk.bold.gray(' ├─ ') + chalk.gray('API ') + chalk.blue.underline(`http://localhost:${port}/api`));
|
|
9769
|
+
// console.log(chalk.bold.gray(' └─ ') + chalk.gray('ASSETS ') + chalk.blue.underline(`http://localhost:${port}/assets`));
|
|
9754
9770
|
// Footer with helpful information
|
|
9755
9771
|
console.log('\n' + external_chalk_default().cyan('Press Ctrl+C to stop the server') + '\n');
|
|
9756
9772
|
});
|
|
@@ -9759,7 +9775,8 @@ class InsightCommand extends external_nest_commander_namespaceObject.CommandRunn
|
|
|
9759
9775
|
process.on('SIGTERM', ()=>this.shutdown());
|
|
9760
9776
|
// Only open the browser if the silent flag is not set
|
|
9761
9777
|
if (!options?.silent) {
|
|
9762
|
-
await
|
|
9778
|
+
const open = (await import(/* webpackIgnore: true */ 'open')).default;
|
|
9779
|
+
await open(`http://localhost:${port}`);
|
|
9763
9780
|
}
|
|
9764
9781
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
9765
9782
|
return new Promise(()=>{});
|
|
@@ -10486,15 +10503,20 @@ function sources_controller_ts_param(paramIndex, decorator) {
|
|
|
10486
10503
|
|
|
10487
10504
|
|
|
10488
10505
|
|
|
10506
|
+
|
|
10507
|
+
|
|
10508
|
+
|
|
10509
|
+
|
|
10489
10510
|
let CreateSourceDto = class CreateSourceDto {
|
|
10490
10511
|
constructor(specUrl){
|
|
10491
10512
|
this.specUrl = specUrl;
|
|
10492
10513
|
}
|
|
10493
10514
|
};
|
|
10494
10515
|
class SourcesController {
|
|
10495
|
-
constructor(configService, openApiService){
|
|
10516
|
+
constructor(configService, openApiService, nestConfigService){
|
|
10496
10517
|
this.configService = configService;
|
|
10497
10518
|
this.openApiService = openApiService;
|
|
10519
|
+
this.nestConfigService = nestConfigService;
|
|
10498
10520
|
this.logger = new common_namespaceObject.Logger(SourcesController.name);
|
|
10499
10521
|
}
|
|
10500
10522
|
async createFromUrl(dto) {
|
|
@@ -10522,6 +10544,38 @@ class SourcesController {
|
|
|
10522
10544
|
}
|
|
10523
10545
|
return source;
|
|
10524
10546
|
}
|
|
10547
|
+
downloadOpenApiFile(id, res) {
|
|
10548
|
+
this.logger.log(`Downloading OpenAPI file for source with id: ${id}`);
|
|
10549
|
+
// Check if source exists
|
|
10550
|
+
const source = this.configService.list().find((source)=>source.id === id);
|
|
10551
|
+
if (!source) {
|
|
10552
|
+
throw new common_namespaceObject.NotFoundException(`Source with id ${id} not found`);
|
|
10553
|
+
}
|
|
10554
|
+
// Construct file path
|
|
10555
|
+
const rootDir = this.nestConfigService.get('rootDir');
|
|
10556
|
+
const filePath = (0,external_path_namespaceObject.join)(rootDir, '.intrig', 'specs', `${id}-latest.json`);
|
|
10557
|
+
// Check if file exists
|
|
10558
|
+
if (!(0,external_fs_namespaceObject.existsSync)(filePath)) {
|
|
10559
|
+
throw new common_namespaceObject.NotFoundException(`OpenAPI file for source ${id} not found`);
|
|
10560
|
+
}
|
|
10561
|
+
try {
|
|
10562
|
+
// Set response headers
|
|
10563
|
+
res.setHeader('Content-Type', 'application/json');
|
|
10564
|
+
res.setHeader('Content-Disposition', `attachment; filename="${id}-openapi.json"`);
|
|
10565
|
+
res.setHeader('Access-Control-Expose-Headers', 'Content-Disposition');
|
|
10566
|
+
// Send file content
|
|
10567
|
+
res.download(filePath, `${id}-openapi.json`, (err)=>{
|
|
10568
|
+
if (err) {
|
|
10569
|
+
this.logger.error(`Failed to download OpenAPI file for source ${id}:`, err);
|
|
10570
|
+
throw new common_namespaceObject.NotFoundException(`Failed to download OpenAPI file for source ${id}`);
|
|
10571
|
+
}
|
|
10572
|
+
});
|
|
10573
|
+
this.logger.log(`Successfully downloaded OpenAPI file for source ${id}`);
|
|
10574
|
+
} catch (error) {
|
|
10575
|
+
this.logger.error(`Failed to read OpenAPI file for source ${id}:`, error);
|
|
10576
|
+
throw new common_namespaceObject.NotFoundException(`Failed to read OpenAPI file for source ${id}`);
|
|
10577
|
+
}
|
|
10578
|
+
}
|
|
10525
10579
|
}
|
|
10526
10580
|
sources_controller_ts_decorate([
|
|
10527
10581
|
(0,swagger_namespaceObject.ApiBody)({
|
|
@@ -10596,6 +10650,40 @@ sources_controller_ts_decorate([
|
|
|
10596
10650
|
]),
|
|
10597
10651
|
sources_controller_ts_metadata("design:returntype", typeof IntrigSourceConfig === "undefined" ? Object : IntrigSourceConfig)
|
|
10598
10652
|
], SourcesController.prototype, "getById", null);
|
|
10653
|
+
sources_controller_ts_decorate([
|
|
10654
|
+
(0,swagger_namespaceObject.ApiResponse)({
|
|
10655
|
+
status: 200,
|
|
10656
|
+
description: 'Downloads the OpenAPI3 file for the given source',
|
|
10657
|
+
headers: {
|
|
10658
|
+
'Content-Type': {
|
|
10659
|
+
description: 'application/json'
|
|
10660
|
+
},
|
|
10661
|
+
'Content-Disposition': {
|
|
10662
|
+
description: 'attachment; filename="openapi.json"'
|
|
10663
|
+
}
|
|
10664
|
+
},
|
|
10665
|
+
content: {
|
|
10666
|
+
'application/json': {
|
|
10667
|
+
schema: {
|
|
10668
|
+
type: 'object'
|
|
10669
|
+
}
|
|
10670
|
+
}
|
|
10671
|
+
}
|
|
10672
|
+
}),
|
|
10673
|
+
(0,swagger_namespaceObject.ApiResponse)({
|
|
10674
|
+
status: 404,
|
|
10675
|
+
description: 'Source or OpenAPI file not found'
|
|
10676
|
+
}),
|
|
10677
|
+
(0,common_namespaceObject.Get)(":id/download"),
|
|
10678
|
+
sources_controller_ts_param(0, (0,common_namespaceObject.Param)('id')),
|
|
10679
|
+
sources_controller_ts_param(1, (0,common_namespaceObject.Res)()),
|
|
10680
|
+
sources_controller_ts_metadata("design:type", Function),
|
|
10681
|
+
sources_controller_ts_metadata("design:paramtypes", [
|
|
10682
|
+
String,
|
|
10683
|
+
typeof external_express_namespaceObject.Response === "undefined" ? Object : external_express_namespaceObject.Response
|
|
10684
|
+
]),
|
|
10685
|
+
sources_controller_ts_metadata("design:returntype", void 0)
|
|
10686
|
+
], SourcesController.prototype, "downloadOpenApiFile", null);
|
|
10599
10687
|
SourcesController = sources_controller_ts_decorate([
|
|
10600
10688
|
(0,swagger_namespaceObject.ApiTags)('Sources'),
|
|
10601
10689
|
(0,swagger_namespaceObject.ApiExtraModels)(IntrigSourceConfig),
|
|
@@ -10603,7 +10691,8 @@ SourcesController = sources_controller_ts_decorate([
|
|
|
10603
10691
|
sources_controller_ts_metadata("design:type", Function),
|
|
10604
10692
|
sources_controller_ts_metadata("design:paramtypes", [
|
|
10605
10693
|
typeof IntrigConfigService === "undefined" ? Object : IntrigConfigService,
|
|
10606
|
-
typeof OpenapiService === "undefined" ? Object : OpenapiService
|
|
10694
|
+
typeof OpenapiService === "undefined" ? Object : OpenapiService,
|
|
10695
|
+
typeof config_namespaceObject.ConfigService === "undefined" ? Object : config_namespaceObject.ConfigService
|
|
10607
10696
|
])
|
|
10608
10697
|
], SourcesController);
|
|
10609
10698
|
|
|
@@ -10797,10 +10886,18 @@ function extractRequestsFromSpec(spec) {
|
|
|
10797
10886
|
const response = operation.responses?.['200'] ?? operation.responses?.['201'];
|
|
10798
10887
|
for (const [mediaType, content] of Object.entries(response?.content ?? {})){
|
|
10799
10888
|
const ref = content.schema;
|
|
10889
|
+
const responseHeaders = {};
|
|
10890
|
+
for(const key in response?.headers ?? {}){
|
|
10891
|
+
const description = response?.headers?.[key].description;
|
|
10892
|
+
if (description) {
|
|
10893
|
+
responseHeaders[key] = description;
|
|
10894
|
+
}
|
|
10895
|
+
}
|
|
10800
10896
|
params = {
|
|
10801
10897
|
...params,
|
|
10802
10898
|
response: ref.$ref.split("/").pop(),
|
|
10803
10899
|
responseType: mediaType,
|
|
10900
|
+
responseHeaders,
|
|
10804
10901
|
errorResponses,
|
|
10805
10902
|
responseExamples: content.examples ? Object.fromEntries(Object.entries(content.examples).map(([k, v])=>[
|
|
10806
10903
|
k,
|
|
@@ -11237,6 +11334,7 @@ function code_analyzer_ts_metadata(k, v) {
|
|
|
11237
11334
|
|
|
11238
11335
|
|
|
11239
11336
|
|
|
11337
|
+
|
|
11240
11338
|
class CodeAnalyzer {
|
|
11241
11339
|
/**
|
|
11242
11340
|
* Creates a new CodeAnalyzer instance
|
|
@@ -11244,6 +11342,8 @@ class CodeAnalyzer {
|
|
|
11244
11342
|
this.configService = configService;
|
|
11245
11343
|
this.intrigConfigService = intrigConfigService;
|
|
11246
11344
|
this.logger = new common_namespaceObject.Logger(CodeAnalyzer.name);
|
|
11345
|
+
this.project = null;
|
|
11346
|
+
this.isProjectInitialized = false;
|
|
11247
11347
|
this.sourceUsageMap = new Map();
|
|
11248
11348
|
this.dataTypeUsageMap = new Map();
|
|
11249
11349
|
this.controllerUsageMap = new Map();
|
|
@@ -11253,9 +11353,23 @@ class CodeAnalyzer {
|
|
|
11253
11353
|
const projectRootPath = process.cwd();
|
|
11254
11354
|
const config = this.intrigConfigService.get();
|
|
11255
11355
|
const tsConfigPath = config.codeAnalyzer?.tsConfigPath || 'tsconfig.json';
|
|
11256
|
-
|
|
11257
|
-
|
|
11258
|
-
|
|
11356
|
+
const fullTsConfigPath = external_path_namespaceObject.join(projectRootPath, tsConfigPath);
|
|
11357
|
+
// Check if tsconfig file exists before initializing project
|
|
11358
|
+
if (external_fs_namespaceObject.existsSync(fullTsConfigPath)) {
|
|
11359
|
+
try {
|
|
11360
|
+
this.project = new external_ts_morph_namespaceObject.Project({
|
|
11361
|
+
tsConfigFilePath: fullTsConfigPath
|
|
11362
|
+
});
|
|
11363
|
+
this.isProjectInitialized = true;
|
|
11364
|
+
this.logger.debug(`CodeAnalyzer initialized with tsconfig at: ${fullTsConfigPath}`);
|
|
11365
|
+
} catch (error) {
|
|
11366
|
+
this.logger.warn(`Failed to initialize CodeAnalyzer with tsconfig at ${fullTsConfigPath}: ${error.message}`);
|
|
11367
|
+
this.isProjectInitialized = false;
|
|
11368
|
+
}
|
|
11369
|
+
} else {
|
|
11370
|
+
this.logger.warn(`tsconfig file not found at: ${fullTsConfigPath}. CodeAnalyzer will not be initialized.`);
|
|
11371
|
+
this.isProjectInitialized = false;
|
|
11372
|
+
}
|
|
11259
11373
|
}
|
|
11260
11374
|
/**
|
|
11261
11375
|
* Set the current list of resource descriptors
|
|
@@ -11274,17 +11388,31 @@ class CodeAnalyzer {
|
|
|
11274
11388
|
* @param endpointName The name of the endpoint to check
|
|
11275
11389
|
* @param includeAsync Whether to check async variants as well
|
|
11276
11390
|
*/ isEndpointUsed(endpointName, includeAsync = true) {
|
|
11391
|
+
if (!this.isProjectInitialized) {
|
|
11392
|
+
return false;
|
|
11393
|
+
}
|
|
11277
11394
|
return this.endpointUsageMap.has(endpointName);
|
|
11278
11395
|
}
|
|
11279
11396
|
/**
|
|
11280
11397
|
* Check if a data type is used in the codebase
|
|
11281
11398
|
* @param typeName The name of the data type to check
|
|
11282
11399
|
*/ isDataTypeUsed(typeName) {
|
|
11400
|
+
if (!this.isProjectInitialized) {
|
|
11401
|
+
return false;
|
|
11402
|
+
}
|
|
11283
11403
|
return this.dataTypeUsageMap.has(typeName);
|
|
11284
11404
|
}
|
|
11285
11405
|
/**
|
|
11286
11406
|
* Get usage statistics for the current resource descriptors
|
|
11287
11407
|
*/ getUsageStats() {
|
|
11408
|
+
if (!this.isProjectInitialized) {
|
|
11409
|
+
return {
|
|
11410
|
+
usedEndpoints: [],
|
|
11411
|
+
unusedEndpoints: [],
|
|
11412
|
+
usedDataTypes: [],
|
|
11413
|
+
unusedDataTypes: []
|
|
11414
|
+
};
|
|
11415
|
+
}
|
|
11288
11416
|
const usedEndpoints = [];
|
|
11289
11417
|
const unusedEndpoints = [];
|
|
11290
11418
|
const usedDataTypes = [];
|
|
@@ -11323,6 +11451,10 @@ class CodeAnalyzer {
|
|
|
11323
11451
|
'**/*.ts',
|
|
11324
11452
|
'**/*.tsx'
|
|
11325
11453
|
]) {
|
|
11454
|
+
if (!this.isProjectInitialized) {
|
|
11455
|
+
this.logger.warn('Cannot reindex: project not initialized due to missing tsconfig file');
|
|
11456
|
+
return;
|
|
11457
|
+
}
|
|
11326
11458
|
this.logger.debug(`Reindexing codebase with patterns: ${sourceGlobs.join(', ')}`);
|
|
11327
11459
|
// Clear previous analysis results
|
|
11328
11460
|
this.clearAnalysisResults();
|
|
@@ -11344,6 +11476,10 @@ class CodeAnalyzer {
|
|
|
11344
11476
|
'**/*.ts',
|
|
11345
11477
|
'**/*.tsx'
|
|
11346
11478
|
]) {
|
|
11479
|
+
if (!this.isProjectInitialized || !this.project) {
|
|
11480
|
+
this.logger.warn('Cannot analyze: project not initialized due to missing tsconfig file');
|
|
11481
|
+
return;
|
|
11482
|
+
}
|
|
11347
11483
|
// Add source files to the project
|
|
11348
11484
|
sourceGlobs.forEach((glob)=>{
|
|
11349
11485
|
this.project.addSourceFilesAtPaths(glob);
|
|
@@ -11394,6 +11530,9 @@ class CodeAnalyzer {
|
|
|
11394
11530
|
* @param type Optional type to filter by ('rest' or 'schema')
|
|
11395
11531
|
* @returns The count of resources that match the filters
|
|
11396
11532
|
*/ getUsageCounts(source, type) {
|
|
11533
|
+
if (!this.isProjectInitialized) {
|
|
11534
|
+
return 0;
|
|
11535
|
+
}
|
|
11397
11536
|
this.logger.debug(`Getting usage counts with filters - source: ${source || 'all'}, type: ${type || 'all'}`);
|
|
11398
11537
|
switch(type){
|
|
11399
11538
|
case 'source':
|
|
@@ -11433,6 +11572,9 @@ class CodeAnalyzer {
|
|
|
11433
11572
|
* @param id The endpoint or datatype identifier
|
|
11434
11573
|
* @returns Array of file paths where the endpoint or datatype is used
|
|
11435
11574
|
*/ getFileList(sourceId, type, id) {
|
|
11575
|
+
if (!this.isProjectInitialized) {
|
|
11576
|
+
return [];
|
|
11577
|
+
}
|
|
11436
11578
|
this.logger.debug(`Getting file list for ${type} '${id}' in source '${sourceId}'`);
|
|
11437
11579
|
const name = this.getResourceDescriptors().find((d)=>d.id === id)?.name ?? '';
|
|
11438
11580
|
if (type === 'endpoint') {
|
|
@@ -12298,10 +12440,6 @@ GeneratorModule = generator_module_ts_decorate([
|
|
|
12298
12440
|
(0,common_namespaceObject.Module)({})
|
|
12299
12441
|
], GeneratorModule);
|
|
12300
12442
|
|
|
12301
|
-
;// external "lowdb"
|
|
12302
|
-
const external_lowdb_namespaceObject = await import("lowdb");
|
|
12303
|
-
;// external "lowdb/node"
|
|
12304
|
-
const node_namespaceObject = await import("lowdb/node");
|
|
12305
12443
|
;// ./src/app/deamon/models/entity-view.model.ts
|
|
12306
12444
|
function entity_view_model_ts_decorate(decorators, target, key, desc) {
|
|
12307
12445
|
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
@@ -12386,8 +12524,8 @@ function last_visit_service_ts_metadata(k, v) {
|
|
|
12386
12524
|
|
|
12387
12525
|
|
|
12388
12526
|
|
|
12389
|
-
|
|
12390
|
-
|
|
12527
|
+
// import { Low } from 'lowdb';
|
|
12528
|
+
// import { JSONFile } from 'lowdb/node';
|
|
12391
12529
|
|
|
12392
12530
|
class LastVisitService {
|
|
12393
12531
|
constructor(configService){
|
|
@@ -12399,16 +12537,17 @@ class LastVisitService {
|
|
|
12399
12537
|
this.dbFile = (0,external_path_namespaceObject.join)(this.configDir, 'last-visit.json');
|
|
12400
12538
|
// Ensure the config directory exists
|
|
12401
12539
|
(0,external_fs_extra_namespaceObject.ensureDirSync)(this.configDir);
|
|
12402
|
-
// Initialize the database
|
|
12403
|
-
const adapter = new node_namespaceObject.JSONFile(this.dbFile);
|
|
12404
|
-
this.db = new external_lowdb_namespaceObject.Low(adapter, {
|
|
12405
|
-
items: [],
|
|
12406
|
-
pinnedItems: []
|
|
12407
|
-
});
|
|
12408
12540
|
// Load the database
|
|
12409
|
-
this.loadDb();
|
|
12541
|
+
this.loadDb().catch((e)=>console.error('Failed to load last visit database', e));
|
|
12410
12542
|
}
|
|
12411
12543
|
async loadDb() {
|
|
12544
|
+
const { JSONFile } = await import(/* webpackIgnore: true */ 'lowdb/node');
|
|
12545
|
+
const adapter = new JSONFile(this.dbFile);
|
|
12546
|
+
const { Low } = await import(/* webpackIgnore: true */ 'lowdb');
|
|
12547
|
+
this.db = new Low(adapter, {
|
|
12548
|
+
items: [],
|
|
12549
|
+
pinnedItems: []
|
|
12550
|
+
});
|
|
12412
12551
|
try {
|
|
12413
12552
|
await this.db.read();
|
|
12414
12553
|
// Initialize if data is null
|
|
@@ -13448,6 +13587,8 @@ DeamonModule = deamon_module_ts_decorate([
|
|
|
13448
13587
|
};
|
|
13449
13588
|
});
|
|
13450
13589
|
|
|
13590
|
+
;// external "url"
|
|
13591
|
+
const external_url_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("url");
|
|
13451
13592
|
;// external "process"
|
|
13452
13593
|
const external_process_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("process");
|
|
13453
13594
|
;// ./src/app/debug/debug.controller.ts
|
|
@@ -13557,7 +13698,8 @@ const core_namespaceObject = __WEBPACK_EXTERNAL_createRequire(import.meta.url)("
|
|
|
13557
13698
|
const isVerbose = process.argv.includes('--verbose');
|
|
13558
13699
|
const logger = new common_namespaceObject.Logger('Main');
|
|
13559
13700
|
async function bootstrapDeamon() {
|
|
13560
|
-
const app = await core_namespaceObject.NestFactory.create(AppModule
|
|
13701
|
+
const app = await core_namespaceObject.NestFactory.create(AppModule, {
|
|
13702
|
+
});
|
|
13561
13703
|
app.enableShutdownHooks();
|
|
13562
13704
|
app.enableCors();
|
|
13563
13705
|
const globalPrefix = 'api';
|
|
@@ -13596,7 +13738,7 @@ async function bootstrap() {
|
|
|
13596
13738
|
} else {
|
|
13597
13739
|
try {
|
|
13598
13740
|
await external_nest_commander_namespaceObject.CommandFactory.run(AppModule, {
|
|
13599
|
-
|
|
13741
|
+
logger: isVerbose ? logger : false,
|
|
13600
13742
|
errorHandler (err) {
|
|
13601
13743
|
if (err.code === 'commander.help') {
|
|
13602
13744
|
return process.exit(0);
|