diff --git a/404.html b/404.html index a165010..b826d82 100644 --- a/404.html +++ b/404.html @@ -9,7 +9,7 @@ - + @@ -18,7 +18,7 @@
- + \ No newline at end of file diff --git a/SUMMARY.html b/SUMMARY.html index 55187b7..ca2d071 100644 --- a/SUMMARY.html +++ b/SUMMARY.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content
- + \ No newline at end of file diff --git a/api/api-keys.html b/api/api-keys.html index 91db33a..c85ca07 100644 --- a/api/api-keys.html +++ b/api/api-keys.html @@ -9,9 +9,9 @@ - + - + @@ -24,17 +24,17 @@

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Request Body

application/json
JSON
{
  
"name": "CI/CD Pipeline Key",
  
"expiresInDays": 90
}

Responses

API key created. The raw key value is only shown once.

-
application/json
JSON
{
  
"key": "oa_live_abc123..."
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

List API Keys

List API keys

GET
/v1/api-keys

Returns all API keys belonging to the currently authenticated user. The raw key value is not included.

+
application/json
JSON
{
  
"key": "oa_live_abc123..."
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

List API Keys

List API keys

GET
/v1/api-keys

Returns all API keys belonging to the currently authenticated user. The raw key value is not included.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Responses

List of API keys (without raw key values).

-
application/json
JSON
[
  
{
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"name": "CI/CD Pipeline Key",
  
  
"key": "oa_live_abc1...",
  
  
"expiresAt": "string",
  
  
"createdAt": "string"
  
}
]

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Delete an API Key

Delete an API key

DELETE
/v1/api-keys/{id}

Permanently revokes and deletes an API key by ID. Only the owning user can delete their own keys. Disabled in demo mode.

+
application/json
JSON
[
  
{
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"name": "CI/CD Pipeline Key",
  
  
"key": "oa_live_abc1...",
  
  
"expiresAt": "string",
  
  
"createdAt": "string"
  
}
]

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Delete an API Key

Delete an API key

DELETE
/v1/api-keys/{id}

Permanently revokes and deletes an API key by ID. Only the owning user can delete their own keys. Disabled in demo mode.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*

The ID of the API key to delete.

Type
string
Required
Example"clx1y2z3a0000b4d2"

Responses

API key deleted. No content returned.

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI
- + \ No newline at end of file diff --git a/api/archived-email.html b/api/archived-email.html index 68842d3..b94f351 100644 --- a/api/archived-email.html +++ b/api/archived-email.html @@ -9,9 +9,9 @@ - + - + @@ -27,18 +27,18 @@
Type
string
Required
Example"clx1y2z3a0000b4d2"

Query Parameters

page

Page number for pagination.

Type
integer
Example1
Default
1
limit

Number of items per page.

Type
integer
Example10
Default
10

Responses

Paginated list of archived emails.

-
application/json
JSON
{
  
"items": [
  
  
{
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
"ingestionSourceId": "clx1y2z3a0000b4d2",
  
  
  
"userEmail": "user@company.com",
  
  
  
"messageIdHeader": "string",
  
  
  
"sentAt": "string",
  
  
  
"subject": "Q4 Invoice",
  
  
  
"senderName": "Finance Dept",
  
  
  
"senderEmail": "finance@vendor.com",
  
  
  
"recipients": [
  
  
  
  
{
  
  
  
  
  
"name": "John Doe",
  
  
  
  
  
"email": "john.doe@example.com"
  
  
  
  
}
  
  
  
],
  
  
  
"storagePath": "string",
  
  
  
"storageHashSha256": "string",
  
  
  
"sizeBytes": 0,
  
  
  
"isIndexed": true,
  
  
  
"hasAttachments": true,
  
  
  
"isOnLegalHold": true,
  
  
  
"archivedAt": "string",
  
  
  
"attachments": [
  
  
  
  
{
  
  
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
  
  
"filename": "invoice.pdf",
  
  
  
  
  
"mimeType": "application/pdf",
  
  
  
  
  
"sizeBytes": 204800,
  
  
  
  
  
"storagePath": "open-archiver/attachments/abc123.pdf"
  
  
  
  
}
  
  
  
],
  
  
  
"thread": [
  
  
  
  
{
  
  
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
  
  
"subject": "Re: Q4 Invoice",
  
  
  
  
  
"sentAt": "string",
  
  
  
  
  
"senderEmail": "finance@vendor.com"
  
  
  
  
}
  
  
  
],
  
  
  
"path": "string",
  
  
  
"tags": [
  
  
  
  
"string"
  
  
  
]
  
  
}
  
],
  
"total": 1234,
  
"page": 1,
  
"limit": 10
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Get a Single Email

Get a single archived email

GET
/v1/archived-emails/{id}

Retrieves the full details of a single archived email by ID, including attachments and thread. Requires read:archive permission.

+
application/json
JSON
{
  
"items": [
  
  
{
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
"ingestionSourceId": "clx1y2z3a0000b4d2",
  
  
  
"userEmail": "user@company.com",
  
  
  
"messageIdHeader": "string",
  
  
  
"sentAt": "string",
  
  
  
"subject": "Q4 Invoice",
  
  
  
"senderName": "Finance Dept",
  
  
  
"senderEmail": "finance@vendor.com",
  
  
  
"recipients": [
  
  
  
  
{
  
  
  
  
  
"name": "John Doe",
  
  
  
  
  
"email": "john.doe@example.com"
  
  
  
  
}
  
  
  
],
  
  
  
"storagePath": "string",
  
  
  
"storageHashSha256": "string",
  
  
  
"sizeBytes": 0,
  
  
  
"isIndexed": true,
  
  
  
"hasAttachments": true,
  
  
  
"isOnLegalHold": true,
  
  
  
"archivedAt": "string",
  
  
  
"attachments": [
  
  
  
  
{
  
  
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
  
  
"filename": "invoice.pdf",
  
  
  
  
  
"mimeType": "application/pdf",
  
  
  
  
  
"sizeBytes": 204800,
  
  
  
  
  
"storagePath": "open-archiver/attachments/abc123.pdf"
  
  
  
  
}
  
  
  
],
  
  
  
"thread": [
  
  
  
  
{
  
  
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
  
  
"subject": "Re: Q4 Invoice",
  
  
  
  
  
"sentAt": "string",
  
  
  
  
  
"senderEmail": "finance@vendor.com"
  
  
  
  
}
  
  
  
],
  
  
  
"path": "string",
  
  
  
"tags": [
  
  
  
  
"string"
  
  
  
]
  
  
}
  
],
  
"total": 1234,
  
"page": 1,
  
"limit": 10
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Get a Single Email

Get a single archived email

GET
/v1/archived-emails/{id}

Retrieves the full details of a single archived email by ID, including attachments and thread. Requires read:archive permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*

The ID of the archived email.

Type
string
Required
Example"clx1y2z3a0000b4d2"

Responses

Archived email details.

-
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"ingestionSourceId": "clx1y2z3a0000b4d2",
  
"userEmail": "user@company.com",
  
"messageIdHeader": "string",
  
"sentAt": "string",
  
"subject": "Q4 Invoice",
  
"senderName": "Finance Dept",
  
"senderEmail": "finance@vendor.com",
  
"recipients": [
  
  
{
  
  
  
"name": "John Doe",
  
  
  
"email": "john.doe@example.com"
  
  
}
  
],
  
"storagePath": "string",
  
"storageHashSha256": "string",
  
"sizeBytes": 0,
  
"isIndexed": true,
  
"hasAttachments": true,
  
"isOnLegalHold": true,
  
"archivedAt": "string",
  
"attachments": [
  
  
{
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
"filename": "invoice.pdf",
  
  
  
"mimeType": "application/pdf",
  
  
  
"sizeBytes": 204800,
  
  
  
"storagePath": "open-archiver/attachments/abc123.pdf"
  
  
}
  
],
  
"thread": [
  
  
{
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
"subject": "Re: Q4 Invoice",
  
  
  
"sentAt": "string",
  
  
  
"senderEmail": "finance@vendor.com"
  
  
}
  
],
  
"path": "string",
  
"tags": [
  
  
"string"
  
]
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Delete an Email

Delete an archived email

DELETE
/v1/archived-emails/{id}

Permanently deletes an archived email by ID. Deletion must be enabled in system settings and the email must not be on legal hold. Requires delete:archive permission.

+
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"ingestionSourceId": "clx1y2z3a0000b4d2",
  
"userEmail": "user@company.com",
  
"messageIdHeader": "string",
  
"sentAt": "string",
  
"subject": "Q4 Invoice",
  
"senderName": "Finance Dept",
  
"senderEmail": "finance@vendor.com",
  
"recipients": [
  
  
{
  
  
  
"name": "John Doe",
  
  
  
"email": "john.doe@example.com"
  
  
}
  
],
  
"storagePath": "string",
  
"storageHashSha256": "string",
  
"sizeBytes": 0,
  
"isIndexed": true,
  
"hasAttachments": true,
  
"isOnLegalHold": true,
  
"archivedAt": "string",
  
"attachments": [
  
  
{
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
"filename": "invoice.pdf",
  
  
  
"mimeType": "application/pdf",
  
  
  
"sizeBytes": 204800,
  
  
  
"storagePath": "open-archiver/attachments/abc123.pdf"
  
  
}
  
],
  
"thread": [
  
  
{
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
"subject": "Re: Q4 Invoice",
  
  
  
"sentAt": "string",
  
  
  
"senderEmail": "finance@vendor.com"
  
  
}
  
],
  
"path": "string",
  
"tags": [
  
  
"string"
  
]
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Delete an Email

Delete an archived email

DELETE
/v1/archived-emails/{id}

Permanently deletes an archived email by ID. Deletion must be enabled in system settings and the email must not be on legal hold. Requires delete:archive permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*

The ID of the archived email to delete.

Type
string
Required
Example"clx1y2z3a0000b4d2"

Responses

Email deleted successfully. No content returned.

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI
- + \ No newline at end of file diff --git a/api/auth.html b/api/auth.html index 0fd9ecf..4744094 100644 --- a/api/auth.html +++ b/api/auth.html @@ -9,9 +9,9 @@ - + - + @@ -22,12 +22,12 @@
Skip to content

Auth API

Handles user authentication including initial setup, login, and application setup status.

Setup

Initial setup

POST
/v1/auth/setup

Creates the initial administrator user. Can only be called once when no users exist.

Request Body

application/json
JSON
{
  
"email": "admin@example.com",
  
"password": "securepassword123",
  
"first_name": "Admin",
  
"last_name": "User"
}

Responses

Admin user created and logged in successfully.

-
application/json
JSON
{
  
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  
"user": {
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"first_name": "Jane",
  
  
"last_name": "Doe",
  
  
"email": "jane.doe@example.com",
  
  
"role": {
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
"slug": "predefined_super_admin",
  
  
  
"name": "Super Admin",
  
  
  
"policies": [
  
  
  
  
{
  
  
  
  
  
"action": "read",
  
  
  
  
  
"subject": "archive",
  
  
  
  
  
"conditions": {
  
  
  
  
  
}
  
  
  
  
}
  
  
  
],
  
  
  
"createdAt": "string",
  
  
  
"updatedAt": "string"
  
  
},
  
  
"createdAt": "string"
  
}
}

Playground

Body

Samples

Powered by VitePress OpenAPI

Login

Login

POST
/v1/auth/login

Authenticates a user with email and password and returns a JWT access token.

+
application/json
JSON
{
  
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  
"user": {
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"first_name": "Jane",
  
  
"last_name": "Doe",
  
  
"email": "jane.doe@example.com",
  
  
"role": {
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
"slug": "predefined_super_admin",
  
  
  
"name": "Super Admin",
  
  
  
"policies": [
  
  
  
  
{
  
  
  
  
  
"action": "read",
  
  
  
  
  
"subject": "archive",
  
  
  
  
  
"conditions": {
  
  
  
  
  
}
  
  
  
  
}
  
  
  
],
  
  
  
"createdAt": "string",
  
  
  
"updatedAt": "string"
  
  
},
  
  
"createdAt": "string"
  
}
}

Playground

Body

Samples

Powered by VitePress OpenAPI

Login

Login

POST
/v1/auth/login

Authenticates a user with email and password and returns a JWT access token.

Request Body

application/json
JSON
{
  
"email": "user@example.com",
  
"password": "securepassword123"
}

Responses

Authentication successful.

-
application/json
JSON
{
  
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  
"user": {
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"first_name": "Jane",
  
  
"last_name": "Doe",
  
  
"email": "jane.doe@example.com",
  
  
"role": {
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
"slug": "predefined_super_admin",
  
  
  
"name": "Super Admin",
  
  
  
"policies": [
  
  
  
  
{
  
  
  
  
  
"action": "read",
  
  
  
  
  
"subject": "archive",
  
  
  
  
  
"conditions": {
  
  
  
  
  
}
  
  
  
  
}
  
  
  
],
  
  
  
"createdAt": "string",
  
  
  
"updatedAt": "string"
  
  
},
  
  
"createdAt": "string"
  
}
}

Playground

Body

Samples

Powered by VitePress OpenAPI

Check Setup Status

Check setup status

GET
/v1/auth/status

Returns whether the application has been set up (i.e., whether an admin user exists).

+
application/json
JSON
{
  
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
  
"user": {
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"first_name": "Jane",
  
  
"last_name": "Doe",
  
  
"email": "jane.doe@example.com",
  
  
"role": {
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
"slug": "predefined_super_admin",
  
  
  
"name": "Super Admin",
  
  
  
"policies": [
  
  
  
  
{
  
  
  
  
  
"action": "read",
  
  
  
  
  
"subject": "archive",
  
  
  
  
  
"conditions": {
  
  
  
  
  
}
  
  
  
  
}
  
  
  
],
  
  
  
"createdAt": "string",
  
  
  
"updatedAt": "string"
  
  
},
  
  
"createdAt": "string"
  
}
}

Playground

Body

Samples

Powered by VitePress OpenAPI

Check Setup Status

Check setup status

GET
/v1/auth/status

Returns whether the application has been set up (i.e., whether an admin user exists).

Responses

Setup status returned.

-
application/json
JSON
{
  
"needsSetup": false
}

Playground

Samples

Powered by VitePress OpenAPI
- +
application/json
JSON
{
  
"needsSetup": false
}

Playground

Samples

Powered by VitePress OpenAPI + \ No newline at end of file diff --git a/api/authentication.html b/api/authentication.html index 5b32b86..4716000 100644 --- a/api/authentication.html +++ b/api/authentication.html @@ -9,9 +9,9 @@ - + - + @@ -23,7 +23,7 @@
Skip to content

API Authentication

The API supports two authentication methods. Use whichever fits your use case.

Method 1: JWT (User Login)

Obtain a short-lived JWT by calling POST /v1/auth/login with your email and password, then pass it as a Bearer token in the Authorization header.

Example:

http
GET /api/v1/dashboard/stats
 Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...

Method 2: API Key

Long-lived API keys are suited for automated scripts and integrations. Create one in Settings > API Keys, then pass it in the X-API-KEY header.

Example:

http
GET /api/v1/dashboard/stats
 X-API-KEY: a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2

Creating an API Key

  1. Navigate to Settings > API Keys in the dashboard.
  2. Click "Generate API Key".
  3. Provide a descriptive name and select an expiration period (max 2 years).
  4. Copy the key immediately — it will not be shown again.

If the token or API key is missing, expired, or invalid, the API responds with 401 Unauthorized.

- + \ No newline at end of file diff --git a/api/dashboard.html b/api/dashboard.html index 9ea5ba4..1e8c15c 100644 --- a/api/dashboard.html +++ b/api/dashboard.html @@ -9,9 +9,9 @@ - + - + @@ -24,24 +24,24 @@

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Responses

Dashboard statistics.

-
application/json
JSON
{
  
"totalEmailsArchived": 125000,
  
"totalStorageUsed": 5368709120,
  
"failedIngestionsLast7Days": 2
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Get Ingestion History

Get ingestion history

GET
/v1/dashboard/ingestion-history

Returns time-series data of email ingestion counts for the last 30 days. Requires read:dashboard permission.

+
application/json
JSON
{
  
"totalEmailsArchived": 125000,
  
"totalStorageUsed": 5368709120,
  
"failedIngestionsLast7Days": 2
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Get Ingestion History

Get ingestion history

GET
/v1/dashboard/ingestion-history

Returns time-series data of email ingestion counts for the last 30 days. Requires read:dashboard permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Responses

Ingestion history wrapped in a history array.

-
application/json
JSON
{
  
"history": [
  
  
{
  
  
  
"date": "string",
  
  
  
"count": 0
  
  
}
  
]
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Get Ingestion Source Summaries

Get ingestion source summaries

GET
/v1/dashboard/ingestion-sources

Returns a summary list of ingestion sources with their storage usage. Requires read:dashboard permission.

+
application/json
JSON
{
  
"history": [
  
  
{
  
  
  
"date": "string",
  
  
  
"count": 0
  
  
}
  
]
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Get Ingestion Source Summaries

Get ingestion source summaries

GET
/v1/dashboard/ingestion-sources

Returns a summary list of ingestion sources with their storage usage. Requires read:dashboard permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Responses

List of ingestion source summaries.

-
application/json
JSON
[
  
{
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"name": "Company Google Workspace",
  
  
"provider": "google_workspace",
  
  
"status": "active",
  
  
"storageUsed": 1073741824
  
}
]

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Get Recent Syncs

Get recent sync activity

GET
/v1/dashboard/recent-syncs

Returns the most recent sync sessions across all ingestion sources. Requires read:dashboard permission.

+
application/json
JSON
[
  
{
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"name": "Company Google Workspace",
  
  
"provider": "google_workspace",
  
  
"status": "active",
  
  
"storageUsed": 1073741824
  
}
]

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Get Recent Syncs

Get recent sync activity

GET
/v1/dashboard/recent-syncs

Returns the most recent sync sessions across all ingestion sources. Requires read:dashboard permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Responses

List of recent sync sessions.

-
application/json
JSON
[
  
{
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"sourceName": "Company Google Workspace",
  
  
"startTime": "string",
  
  
"duration": 4500,
  
  
"emailsProcessed": 120,
  
  
"status": "completed"
  
}
]

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Get Indexed Email Insights

Get indexed email insights

GET
/v1/dashboard/indexed-insights

Returns top-sender statistics from the search index. Requires read:dashboard permission.

+
application/json
JSON
[
  
{
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"sourceName": "Company Google Workspace",
  
  
"startTime": "string",
  
  
"duration": 4500,
  
  
"emailsProcessed": 120,
  
  
"status": "completed"
  
}
]

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Get Indexed Email Insights

Get indexed email insights

GET
/v1/dashboard/indexed-insights

Returns top-sender statistics from the search index. Requires read:dashboard permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Responses

Indexed email insights.

-
application/json
JSON
{
  
"topSenders": [
  
  
{
  
  
  
"sender": "finance@vendor.com",
  
  
  
"count": 342
  
  
}
  
]
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI
- +
application/json
JSON
{
  
"topSenders": [
  
  
{
  
  
  
"sender": "finance@vendor.com",
  
  
  
"count": 342
  
  
}
  
]
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI + \ No newline at end of file diff --git a/api/iam.html b/api/iam.html index 4d0d11e..cf77385 100644 --- a/api/iam.html +++ b/api/iam.html @@ -9,9 +9,9 @@ - + - + @@ -24,24 +24,24 @@

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Responses

List of roles.

-
application/json
JSON
[
  
{
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"slug": "predefined_super_admin",
  
  
"name": "Super Admin",
  
  
"policies": [
  
  
  
{
  
  
  
  
"action": "read",
  
  
  
  
"subject": "archive",
  
  
  
  
"conditions": {
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
}
]

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Create a Role

Create a role

POST
/v1/iam/roles

Creates a new IAM role with the given name and CASL policies. Requires manage:all (Super Admin) permission.

+
application/json
JSON
[
  
{
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"slug": "predefined_super_admin",
  
  
"name": "Super Admin",
  
  
"policies": [
  
  
  
{
  
  
  
  
"action": "read",
  
  
  
  
"subject": "archive",
  
  
  
  
"conditions": {
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
}
]

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Create a Role

Create a role

POST
/v1/iam/roles

Creates a new IAM role with the given name and CASL policies. Requires manage:all (Super Admin) permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Request Body

application/json
JSON
{
  
"name": "Compliance Officer",
  
"policies": [
  
  
{
  
  
  
"action": "read",
  
  
  
"subject": "archive",
  
  
  
"conditions": {
  
  
  
}
  
  
}
  
]
}

Responses

Role created.

-
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"slug": "predefined_super_admin",
  
"name": "Super Admin",
  
"policies": [
  
  
{
  
  
  
"action": "read",
  
  
  
"subject": "archive",
  
  
  
"conditions": {
  
  
  
}
  
  
}
  
],
  
"createdAt": "string",
  
"updatedAt": "string"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

Get a Role

Get a role

GET
/v1/iam/roles/{id}

Returns a single IAM role by ID. Requires read:roles permission.

+
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"slug": "predefined_super_admin",
  
"name": "Super Admin",
  
"policies": [
  
  
{
  
  
  
"action": "read",
  
  
  
"subject": "archive",
  
  
  
"conditions": {
  
  
  
}
  
  
}
  
],
  
"createdAt": "string",
  
"updatedAt": "string"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

Get a Role

Get a role

GET
/v1/iam/roles/{id}

Returns a single IAM role by ID. Requires read:roles permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*
Type
string
Required
Example"clx1y2z3a0000b4d2"

Responses

Role details.

-
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"slug": "predefined_super_admin",
  
"name": "Super Admin",
  
"policies": [
  
  
{
  
  
  
"action": "read",
  
  
  
"subject": "archive",
  
  
  
"conditions": {
  
  
  
}
  
  
}
  
],
  
"createdAt": "string",
  
"updatedAt": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Update a Role

Update a role

PUT
/v1/iam/roles/{id}

Updates the name or policies of an IAM role. Requires manage:all (Super Admin) permission.

+
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"slug": "predefined_super_admin",
  
"name": "Super Admin",
  
"policies": [
  
  
{
  
  
  
"action": "read",
  
  
  
"subject": "archive",
  
  
  
"conditions": {
  
  
  
}
  
  
}
  
],
  
"createdAt": "string",
  
"updatedAt": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Update a Role

Update a role

PUT
/v1/iam/roles/{id}

Updates the name or policies of an IAM role. Requires manage:all (Super Admin) permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*
Type
string
Required
Example"clx1y2z3a0000b4d2"

Request Body

application/json
JSON
{
  
"name": "Senior Compliance Officer",
  
"policies": [
  
  
{
  
  
  
"action": "read",
  
  
  
"subject": "archive",
  
  
  
"conditions": {
  
  
  
}
  
  
}
  
]
}

Responses

Updated role.

-
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"slug": "predefined_super_admin",
  
"name": "Super Admin",
  
"policies": [
  
  
{
  
  
  
"action": "read",
  
  
  
"subject": "archive",
  
  
  
"conditions": {
  
  
  
}
  
  
}
  
],
  
"createdAt": "string",
  
"updatedAt": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Delete a Role

Delete a role

DELETE
/v1/iam/roles/{id}

Permanently deletes an IAM role. Requires manage:all (Super Admin) permission.

+
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"slug": "predefined_super_admin",
  
"name": "Super Admin",
  
"policies": [
  
  
{
  
  
  
"action": "read",
  
  
  
"subject": "archive",
  
  
  
"conditions": {
  
  
  
}
  
  
}
  
],
  
"createdAt": "string",
  
"updatedAt": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Delete a Role

Delete a role

DELETE
/v1/iam/roles/{id}

Permanently deletes an IAM role. Requires manage:all (Super Admin) permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*
Type
string
Required
Example"clx1y2z3a0000b4d2"

Responses

Role deleted. No content returned.

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI
- + \ No newline at end of file diff --git a/api/index.html b/api/index.html index c57bf76..d01352a 100644 --- a/api/index.html +++ b/api/index.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

API Overview

Welcome to the Open Archiver API documentation. This section provides detailed information about the available API endpoints.

All API endpoints are prefixed with /api/v1.

Authentication

Before making requests to protected endpoints, you must authenticate with the API. See the Authentication Guide for details on how to obtain and use API tokens.

API Services

- + \ No newline at end of file diff --git a/api/ingestion.html b/api/ingestion.html index f76529b..fa7df3c 100644 --- a/api/ingestion.html +++ b/api/ingestion.html @@ -9,11 +9,11 @@ - + - + - + @@ -24,19 +24,19 @@

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Request Body

application/json
JSON
{
  
"name": "Company Google Workspace",
  
"provider": "string",
  
"providerConfig": {
  
}
}

Responses

Ingestion source created successfully.

-
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"name": "Company Google Workspace",
  
"provider": "google_workspace",
  
"status": "active",
  
"createdAt": "string",
  
"updatedAt": "string",
  
"lastSyncStartedAt": "string",
  
"lastSyncFinishedAt": "string",
  
"lastSyncStatusMessage": "string"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

List Ingestion Sources

List ingestion sources

GET
/v1/ingestion-sources

Returns all ingestion sources accessible to the authenticated user. Credentials are excluded from the response. Requires read:ingestion permission.

+
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"name": "Company Google Workspace",
  
"provider": "google_workspace",
  
"status": "active",
  
"createdAt": "string",
  
"updatedAt": "string",
  
"lastSyncStartedAt": "string",
  
"lastSyncFinishedAt": "string",
  
"lastSyncStatusMessage": "string"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

List Ingestion Sources

List ingestion sources

GET
/v1/ingestion-sources

Returns all ingestion sources accessible to the authenticated user. Credentials are excluded from the response. Requires read:ingestion permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Responses

Array of ingestion sources.

-
application/json
JSON
[
  
{
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"name": "Company Google Workspace",
  
  
"provider": "google_workspace",
  
  
"status": "active",
  
  
"createdAt": "string",
  
  
"updatedAt": "string",
  
  
"lastSyncStartedAt": "string",
  
  
"lastSyncFinishedAt": "string",
  
  
"lastSyncStatusMessage": "string"
  
}
]

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Get an Ingestion Source

Get an ingestion source

GET
/v1/ingestion-sources/{id}

Returns a single ingestion source by ID. Credentials are excluded. Requires read:ingestion permission.

+
application/json
JSON
[
  
{
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"name": "Company Google Workspace",
  
  
"provider": "google_workspace",
  
  
"status": "active",
  
  
"createdAt": "string",
  
  
"updatedAt": "string",
  
  
"lastSyncStartedAt": "string",
  
  
"lastSyncFinishedAt": "string",
  
  
"lastSyncStatusMessage": "string"
  
}
]

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Get an Ingestion Source

Get an ingestion source

GET
/v1/ingestion-sources/{id}

Returns a single ingestion source by ID. Credentials are excluded. Requires read:ingestion permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*
Type
string
Required
Example"clx1y2z3a0000b4d2"

Responses

Ingestion source details.

-
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"name": "Company Google Workspace",
  
"provider": "google_workspace",
  
"status": "active",
  
"createdAt": "string",
  
"updatedAt": "string",
  
"lastSyncStartedAt": "string",
  
"lastSyncFinishedAt": "string",
  
"lastSyncStatusMessage": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Update an Ingestion Source

Update an ingestion source

PUT
/v1/ingestion-sources/{id}

Updates configuration for an existing ingestion source. Requires update:ingestion permission.

+
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"name": "Company Google Workspace",
  
"provider": "google_workspace",
  
"status": "active",
  
"createdAt": "string",
  
"updatedAt": "string",
  
"lastSyncStartedAt": "string",
  
"lastSyncFinishedAt": "string",
  
"lastSyncStatusMessage": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Update an Ingestion Source

Update an ingestion source

PUT
/v1/ingestion-sources/{id}

Updates configuration for an existing ingestion source. Requires update:ingestion permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*
Type
string
Required
Example"clx1y2z3a0000b4d2"

Request Body

application/json
JSON
{
  
"name": "string",
  
"provider": "string",
  
"status": "string",
  
"providerConfig": {
  
}
}

Responses

Updated ingestion source.

-
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"name": "Company Google Workspace",
  
"provider": "google_workspace",
  
"status": "active",
  
"createdAt": "string",
  
"updatedAt": "string",
  
"lastSyncStartedAt": "string",
  
"lastSyncFinishedAt": "string",
  
"lastSyncStatusMessage": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Delete an Ingestion Source

Delete an ingestion source

DELETE
/v1/ingestion-sources/{id}

Permanently deletes an ingestion source. Deletion must be enabled in system settings. Requires delete:ingestion permission.

+
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"name": "Company Google Workspace",
  
"provider": "google_workspace",
  
"status": "active",
  
"createdAt": "string",
  
"updatedAt": "string",
  
"lastSyncStartedAt": "string",
  
"lastSyncFinishedAt": "string",
  
"lastSyncStatusMessage": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Delete an Ingestion Source

Delete an ingestion source

DELETE
/v1/ingestion-sources/{id}

Permanently deletes an ingestion source. Deletion must be enabled in system settings. Requires delete:ingestion permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*
Type
string
Required
Example"clx1y2z3a0000b4d2"

Responses

Ingestion source deleted. No content returned.

@@ -44,16 +44,20 @@

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*
Type
string
Required
Example"clx1y2z3a0000b4d2"

Responses

Initial import job accepted and queued.

-
application/json
JSON
{
  
"message": "Operation completed successfully."
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Pause an Ingestion Source

Pause an ingestion source

POST
/v1/ingestion-sources/{id}/pause

Sets the ingestion source status to paused, stopping continuous sync. Requires update:ingestion permission.

+
application/json
JSON
{
  
"message": "Operation completed successfully."
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Pause an Ingestion Source

Pause an ingestion source

POST
/v1/ingestion-sources/{id}/pause

Sets the ingestion source status to paused, stopping continuous sync. Requires update:ingestion permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*
Type
string
Required
Example"clx1y2z3a0000b4d2"

Responses

Ingestion source paused. Returns the updated source.

-
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"name": "Company Google Workspace",
  
"provider": "google_workspace",
  
"status": "active",
  
"createdAt": "string",
  
"updatedAt": "string",
  
"lastSyncStartedAt": "string",
  
"lastSyncFinishedAt": "string",
  
"lastSyncStatusMessage": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Force Sync

Force sync

POST
/v1/ingestion-sources/{id}/sync

Triggers an out-of-schedule continuous sync for the ingestion source. Requires sync:ingestion permission.

+
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"name": "Company Google Workspace",
  
"provider": "google_workspace",
  
"status": "active",
  
"createdAt": "string",
  
"updatedAt": "string",
  
"lastSyncStartedAt": "string",
  
"lastSyncFinishedAt": "string",
  
"lastSyncStatusMessage": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Force Sync

Force sync

POST
/v1/ingestion-sources/{id}/sync

Triggers an out-of-schedule continuous sync for the ingestion source. Requires sync:ingestion permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*
Type
string
Required
Example"clx1y2z3a0000b4d2"

Responses

Force sync job accepted and queued.

-
application/json
JSON
{
  
"message": "Operation completed successfully."
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI
- +
application/json
JSON
{
  
"message": "Operation completed successfully."
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Unmerge an Ingestion Source

Unmerge a child ingestion source

POST
/v1/ingestion-sources/{id}/unmerge

Detaches a child source from its merge group, making it a standalone root source. Requires update:ingestion permission.

+

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

+
Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

+
Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*
Type
string
Required

Responses

Source unmerged. Returns the updated source.

+
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"name": "Company Google Workspace",
  
"provider": "google_workspace",
  
"status": "active",
  
"createdAt": "string",
  
"updatedAt": "string",
  
"lastSyncStartedAt": "string",
  
"lastSyncFinishedAt": "string",
  
"lastSyncStatusMessage": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI
+ \ No newline at end of file diff --git a/api/integrity.html b/api/integrity.html index 44758d6..54314f5 100644 --- a/api/integrity.html +++ b/api/integrity.html @@ -9,9 +9,9 @@ - + - + @@ -25,8 +25,8 @@
Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*

UUID of the archived email to verify.

Type
string
Required
Example"550e8400-e29b-41d4-a716-446655440000"
Format
"uuid"

Responses

Integrity check results for the email and its attachments.

-
application/json
JSON
[
  
{
  
  
"type": "string",
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"filename": "invoice.pdf",
  
  
"isValid": true,
  
  
"reason": "string",
  
  
"storedHash": "a3f1b2c4...",
  
  
"computedHash": "a3f1b2c4..."
  
}
]

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI - +
application/json
JSON
[
  
{
  
  
"type": "string",
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"filename": "invoice.pdf",
  
  
"isValid": true,
  
  
"reason": "string",
  
  
"storedHash": "a3f1b2c4...",
  
  
"computedHash": "a3f1b2c4..."
  
}
]

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI + \ No newline at end of file diff --git a/api/jobs.html b/api/jobs.html index 98e2e9e..89e23e0 100644 --- a/api/jobs.html +++ b/api/jobs.html @@ -9,9 +9,9 @@ - + - + @@ -24,14 +24,14 @@

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Responses

List of queue overviews.

-
application/json
JSON
{
  
"queues": [
  
  
{
  
  
  
"name": "ingestion",
  
  
  
"counts": {
  
  
  
  
"active": 0,
  
  
  
  
"completed": 56,
  
  
  
  
"failed": 4,
  
  
  
  
"delayed": 0,
  
  
  
  
"waiting": 0,
  
  
  
  
"paused": 0
  
  
  
}
  
  
}
  
]
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Get Jobs in a Queue

Get jobs in a queue

GET
/v1/jobs/queues/{queueName}

Returns a paginated list of jobs within a specific queue, filtered by status. Requires manage:all (Super Admin) permission.

+
application/json
JSON
{
  
"queues": [
  
  
{
  
  
  
"name": "ingestion",
  
  
  
"counts": {
  
  
  
  
"active": 0,
  
  
  
  
"completed": 56,
  
  
  
  
"failed": 4,
  
  
  
  
"delayed": 0,
  
  
  
  
"waiting": 0,
  
  
  
  
"paused": 0
  
  
  
}
  
  
}
  
]
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Get Jobs in a Queue

Get jobs in a queue

GET
/v1/jobs/queues/{queueName}

Returns a paginated list of jobs within a specific queue, filtered by status. Requires manage:all (Super Admin) permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

queueName*

The name of the queue (e.g. ingestion or indexing).

Type
string
Required
Example"ingestion"

Query Parameters

status

Filter jobs by status.

Type
string
Valid values
"active""completed""failed""delayed""waiting""paused"
Default
"failed"
page
Type
integer
Default
1
limit
Type
integer
Default
10

Responses

Detailed view of the queue including paginated jobs.

-
application/json
JSON
{
  
"name": "ingestion",
  
"counts": {
  
  
"active": 0,
  
  
"completed": 56,
  
  
"failed": 4,
  
  
"delayed": 0,
  
  
"waiting": 0,
  
  
"paused": 0
  
},
  
"jobs": [
  
  
{
  
  
  
"id": "1",
  
  
  
"name": "initial-import",
  
  
  
"data": {
  
  
  
},
  
  
  
"state": "failed",
  
  
  
"failedReason": "Error: Connection timed out",
  
  
  
"timestamp": 1678886400000,
  
  
  
"processedOn": 1678886401000,
  
  
  
"finishedOn": 1678886402000,
  
  
  
"attemptsMade": 5,
  
  
  
"stacktrace": [
  
  
  
  
"string"
  
  
  
],
  
  
  
"returnValue": "string",
  
  
  
"ingestionSourceId": "string",
  
  
  
"error": "string"
  
  
}
  
],
  
"pagination": {
  
  
"currentPage": 1,
  
  
"totalPages": 3,
  
  
"totalJobs": 25,
  
  
"limit": 10
  
}
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI
- +
application/json
JSON
{
  
"name": "ingestion",
  
"counts": {
  
  
"active": 0,
  
  
"completed": 56,
  
  
"failed": 4,
  
  
"delayed": 0,
  
  
"waiting": 0,
  
  
"paused": 0
  
},
  
"jobs": [
  
  
{
  
  
  
"id": "1",
  
  
  
"name": "initial-import",
  
  
  
"data": {
  
  
  
},
  
  
  
"state": "failed",
  
  
  
"failedReason": "Error: Connection timed out",
  
  
  
"timestamp": 1678886400000,
  
  
  
"processedOn": 1678886401000,
  
  
  
"finishedOn": 1678886402000,
  
  
  
"attemptsMade": 5,
  
  
  
"stacktrace": [
  
  
  
  
"string"
  
  
  
],
  
  
  
"returnValue": "string",
  
  
  
"ingestionSourceId": "string",
  
  
  
"error": "string"
  
  
}
  
],
  
"pagination": {
  
  
"currentPage": 1,
  
  
"totalPages": 3,
  
  
"totalJobs": 25,
  
  
"limit": 10
  
}
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI + \ No newline at end of file diff --git a/api/rate-limiting.html b/api/rate-limiting.html index 65beaed..e1ae0f1 100644 --- a/api/rate-limiting.html +++ b/api/rate-limiting.html @@ -9,9 +9,9 @@ - + - + @@ -24,7 +24,7 @@ "status": 429, "message": "Too many requests from this IP, please try again after 15 minutes" }

Configuration

You can customize the rate-limiting settings by setting the following environment variables in your .env file:

Handling Rate Limits

If you are developing a client that interacts with the API, you should handle rate limiting gracefully:

  1. Check the Status Code: Monitor for a 429 HTTP status code in responses.
  2. Implement a Retry Mechanism: When you receive a 429 response, it is best practice to wait before retrying the request. Implementing an exponential backoff strategy is recommended.
  3. Check Headers: The response will include the following standard headers to help you manage your request rate:

Excluded Endpoints

Certain essential endpoints are excluded from rate limiting to ensure the application's UI remains responsive. These are:

These endpoints can be called as needed without affecting your rate limit count.

- + \ No newline at end of file diff --git a/api/search.html b/api/search.html index a7e55a6..6f791cb 100644 --- a/api/search.html +++ b/api/search.html @@ -9,9 +9,9 @@ - + - + @@ -28,8 +28,8 @@
Type
integer
Example1
Default
1
limit

Number of results per page.

Type
integer
Example10
Default
10
matchingStrategy

Meilisearch matching strategy. last returns results containing at least one keyword; all requires all keywords; frequency sorts by keyword frequency.

Type
string
Valid values
"last""all""frequency"
Default
"last"

Responses

Search results.

-
application/json
JSON
{
  
"hits": [
  
  
{
  
  
}
  
],
  
"total": 42,
  
"page": 1,
  
"limit": 10,
  
"totalPages": 5,
  
"processingTimeMs": 12
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI - +
application/json
JSON
{
  
"hits": [
  
  
{
  
  
}
  
],
  
"total": 42,
  
"page": 1,
  
"limit": 10,
  
"totalPages": 5,
  
"processingTimeMs": 12
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI + \ No newline at end of file diff --git a/api/settings.html b/api/settings.html index d63a214..ab1d877 100644 --- a/api/settings.html +++ b/api/settings.html @@ -9,9 +9,9 @@ - + - + @@ -24,12 +24,12 @@

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Responses

Current system settings.

-
application/json
JSON
{
  
"language": "en",
  
"theme": "system",
  
"supportEmail": "support@example.com"
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Update System Settings

Update system settings

PUT
/v1/settings/system

Updates system settings. Requires manage:settings permission.

+
application/json
JSON
{
  
"language": "en",
  
"theme": "system",
  
"supportEmail": "support@example.com"
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Update System Settings

Update system settings

PUT
/v1/settings/system

Updates system settings. Requires manage:settings permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Request Body

application/json
JSON
{
  
"language": "en",
  
"theme": "system",
  
"supportEmail": "support@example.com"
}

Responses

Updated system settings.

-
application/json
JSON
{
  
"language": "en",
  
"theme": "system",
  
"supportEmail": "support@example.com"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI
- +
application/json
JSON
{
  
"language": "en",
  
"theme": "system",
  
"supportEmail": "support@example.com"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI + \ No newline at end of file diff --git a/api/storage.html b/api/storage.html index 3bafa84..9a7639d 100644 --- a/api/storage.html +++ b/api/storage.html @@ -9,9 +9,9 @@ - + - + @@ -25,8 +25,8 @@
Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Query Parameters

path*

The relative storage path of the file to download.

Type
string
Required
Example"open-archiver/emails/abc123.eml"

Responses

The file content as a binary stream. The Content-Disposition header is set to trigger a browser download.

-
application/octet-stream

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI - +
application/octet-stream

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI + \ No newline at end of file diff --git a/api/upload.html b/api/upload.html index 22093e9..6a8fc9f 100644 --- a/api/upload.html +++ b/api/upload.html @@ -9,9 +9,9 @@ - + - + @@ -25,8 +25,8 @@
Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Request Body

multipart/form-data
object

The file to upload.

Format"binary"

Responses

File uploaded successfully. Returns the storage path.

-
application/json
JSON
{
  
"filePath": "open-archiver/tmp/uuid-filename.pst"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI - +
application/json
JSON
{
  
"filePath": "open-archiver/tmp/uuid-filename.pst"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI + \ No newline at end of file diff --git a/api/users.html b/api/users.html index 113fb93..1db4ba2 100644 --- a/api/users.html +++ b/api/users.html @@ -9,9 +9,9 @@ - + - + @@ -24,19 +24,19 @@

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Responses

List of users.

-
application/json
JSON
[
  
{
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"first_name": "Jane",
  
  
"last_name": "Doe",
  
  
"email": "jane.doe@example.com",
  
  
"role": {
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
"slug": "predefined_super_admin",
  
  
  
"name": "Super Admin",
  
  
  
"policies": [
  
  
  
  
{
  
  
  
  
  
"action": "read",
  
  
  
  
  
"subject": "archive",
  
  
  
  
  
"conditions": {
  
  
  
  
  
}
  
  
  
  
}
  
  
  
],
  
  
  
"createdAt": "string",
  
  
  
"updatedAt": "string"
  
  
},
  
  
"createdAt": "string"
  
}
]

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Create a User

Create a user

POST
/v1/users

Creates a new user account and optionally assigns a role. Requires manage:all (Super Admin) permission.

+
application/json
JSON
[
  
{
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"first_name": "Jane",
  
  
"last_name": "Doe",
  
  
"email": "jane.doe@example.com",
  
  
"role": {
  
  
  
"id": "clx1y2z3a0000b4d2",
  
  
  
"slug": "predefined_super_admin",
  
  
  
"name": "Super Admin",
  
  
  
"policies": [
  
  
  
  
{
  
  
  
  
  
"action": "read",
  
  
  
  
  
"subject": "archive",
  
  
  
  
  
"conditions": {
  
  
  
  
  
}
  
  
  
  
}
  
  
  
],
  
  
  
"createdAt": "string",
  
  
  
"updatedAt": "string"
  
  
},
  
  
"createdAt": "string"
  
}
]

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Create a User

Create a user

POST
/v1/users

Creates a new user account and optionally assigns a role. Requires manage:all (Super Admin) permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Request Body

application/json
JSON
{
  
"email": "jane.doe@example.com",
  
"first_name": "Jane",
  
"last_name": "Doe",
  
"password": "securepassword123",
  
"roleId": "clx1y2z3a0000b4d2"
}

Responses

User created.

-
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"first_name": "Jane",
  
"last_name": "Doe",
  
"email": "jane.doe@example.com",
  
"role": {
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"slug": "predefined_super_admin",
  
  
"name": "Super Admin",
  
  
"policies": [
  
  
  
{
  
  
  
  
"action": "read",
  
  
  
  
"subject": "archive",
  
  
  
  
"conditions": {
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
},
  
"createdAt": "string"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

Get a User

Get a user

GET
/v1/users/{id}

Returns a single user by ID. Requires read:users permission.

+
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"first_name": "Jane",
  
"last_name": "Doe",
  
"email": "jane.doe@example.com",
  
"role": {
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"slug": "predefined_super_admin",
  
  
"name": "Super Admin",
  
  
"policies": [
  
  
  
{
  
  
  
  
"action": "read",
  
  
  
  
"subject": "archive",
  
  
  
  
"conditions": {
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
},
  
"createdAt": "string"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

Get a User

Get a user

GET
/v1/users/{id}

Returns a single user by ID. Requires read:users permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*
Type
string
Required
Example"clx1y2z3a0000b4d2"

Responses

User details.

-
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"first_name": "Jane",
  
"last_name": "Doe",
  
"email": "jane.doe@example.com",
  
"role": {
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"slug": "predefined_super_admin",
  
  
"name": "Super Admin",
  
  
"policies": [
  
  
  
{
  
  
  
  
"action": "read",
  
  
  
  
"subject": "archive",
  
  
  
  
"conditions": {
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
},
  
"createdAt": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Update a User

Update a user

PUT
/v1/users/{id}

Updates a user's email, name, or role assignment. Requires manage:all (Super Admin) permission.

+
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"first_name": "Jane",
  
"last_name": "Doe",
  
"email": "jane.doe@example.com",
  
"role": {
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"slug": "predefined_super_admin",
  
  
"name": "Super Admin",
  
  
"policies": [
  
  
  
{
  
  
  
  
"action": "read",
  
  
  
  
"subject": "archive",
  
  
  
  
"conditions": {
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
},
  
"createdAt": "string"
}

Playground

Authorization
Variables
Key
Value

Samples

Powered by VitePress OpenAPI

Update a User

Update a user

PUT
/v1/users/{id}

Updates a user's email, name, or role assignment. Requires manage:all (Super Admin) permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*
Type
string
Required
Example"clx1y2z3a0000b4d2"

Request Body

application/json
JSON
{
  
"email": "string",
  
"first_name": "string",
  
"last_name": "string",
  
"roleId": "string"
}

Responses

Updated user.

-
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"first_name": "Jane",
  
"last_name": "Doe",
  
"email": "jane.doe@example.com",
  
"role": {
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"slug": "predefined_super_admin",
  
  
"name": "Super Admin",
  
  
"policies": [
  
  
  
{
  
  
  
  
"action": "read",
  
  
  
  
"subject": "archive",
  
  
  
  
"conditions": {
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
},
  
"createdAt": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Delete a User

Delete a user

DELETE
/v1/users/{id}

Permanently deletes a user. Cannot delete the last remaining user. Requires manage:all (Super Admin) permission.

+
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"first_name": "Jane",
  
"last_name": "Doe",
  
"email": "jane.doe@example.com",
  
"role": {
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"slug": "predefined_super_admin",
  
  
"name": "Super Admin",
  
  
"policies": [
  
  
  
{
  
  
  
  
"action": "read",
  
  
  
  
"subject": "archive",
  
  
  
  
"conditions": {
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
},
  
"createdAt": "string"
}

Playground

Authorization
Variables
Key
Value
Body

Samples

Powered by VitePress OpenAPI

Delete a User

Delete a user

DELETE
/v1/users/{id}

Permanently deletes a user. Cannot delete the last remaining user. Requires manage:all (Super Admin) permission.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Parameters

Path Parameters

id*
Type
string
Required
Example"clx1y2z3a0000b4d2"

Responses

User deleted. No content returned.

@@ -44,16 +44,16 @@

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Responses

Current user's profile.

-
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"first_name": "Jane",
  
"last_name": "Doe",
  
"email": "jane.doe@example.com",
  
"role": {
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"slug": "predefined_super_admin",
  
  
"name": "Super Admin",
  
  
"policies": [
  
  
  
{
  
  
  
  
"action": "read",
  
  
  
  
"subject": "archive",
  
  
  
  
"conditions": {
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
},
  
"createdAt": "string"
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Update Current User Profile

Update current user profile

PATCH
/v1/users/profile

Updates the email, first name, or last name of the currently authenticated user. Disabled in demo mode.

+
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"first_name": "Jane",
  
"last_name": "Doe",
  
"email": "jane.doe@example.com",
  
"role": {
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"slug": "predefined_super_admin",
  
  
"name": "Super Admin",
  
  
"policies": [
  
  
  
{
  
  
  
  
"action": "read",
  
  
  
  
"subject": "archive",
  
  
  
  
"conditions": {
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
},
  
"createdAt": "string"
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

Update Current User Profile

Update current user profile

PATCH
/v1/users/profile

Updates the email, first name, or last name of the currently authenticated user. Disabled in demo mode.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Request Body

application/json
JSON
{
  
"email": "string",
  
"first_name": "string",
  
"last_name": "string"
}

Responses

Updated user profile.

-
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"first_name": "Jane",
  
"last_name": "Doe",
  
"email": "jane.doe@example.com",
  
"role": {
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"slug": "predefined_super_admin",
  
  
"name": "Super Admin",
  
  
"policies": [
  
  
  
{
  
  
  
  
"action": "read",
  
  
  
  
"subject": "archive",
  
  
  
  
"conditions": {
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
},
  
"createdAt": "string"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

Update Password

Update password

POST
/v1/users/profile/password

Updates the password of the currently authenticated user. The current password must be provided for verification. Disabled in demo mode.

+
application/json
JSON
{
  
"id": "clx1y2z3a0000b4d2",
  
"first_name": "Jane",
  
"last_name": "Doe",
  
"email": "jane.doe@example.com",
  
"role": {
  
  
"id": "clx1y2z3a0000b4d2",
  
  
"slug": "predefined_super_admin",
  
  
"name": "Super Admin",
  
  
"policies": [
  
  
  
{
  
  
  
  
"action": "read",
  
  
  
  
"subject": "archive",
  
  
  
  
"conditions": {
  
  
  
  
}
  
  
  
}
  
  
],
  
  
"createdAt": "string",
  
  
"updatedAt": "string"
  
},
  
"createdAt": "string"
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI

Update Password

Update password

POST
/v1/users/profile/password

Updates the password of the currently authenticated user. The current password must be provided for verification. Disabled in demo mode.

Authorizations

bearerAuth

JWT obtained from POST /v1/auth/login. Pass as Authorization: Bearer <token>.

Type
HTTP (bearer)
or
apiKeyAuth

API key generated via POST /v1/api-keys. Pass as X-API-KEY: <key>.

Type
API Key (header: X-API-KEY)

Request Body

application/json
JSON
{
  
"currentPassword": "string",
  
"newPassword": "string"
}

Responses

Password updated successfully.

-
application/json
JSON
{
  
"message": "Operation completed successfully."
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI
- +
application/json
JSON
{
  
"message": "Operation completed successfully."
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI + \ No newline at end of file diff --git a/assets/api_ingestion.md.CRDN5lCu.js b/assets/api_ingestion.md.CRDN5lCu.js deleted file mode 100644 index fcc53d7..0000000 --- a/assets/api_ingestion.md.CRDN5lCu.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r,C as t,c as s,o as l,j as n,G as a,a as i}from"./chunks/framework.DHqKNX4U.js";const S=JSON.parse('{"title":"Ingestion API","description":"","frontmatter":{"aside":false},"headers":[],"relativePath":"api/ingestion.md","filePath":"api/ingestion.md"}'),d={name:"api/ingestion.md"};function g(c,e,u,p,I,m){const o=t("OAOperation");return l(),s("div",null,[e[0]||(e[0]=n("h1",{id:"ingestion-api",tabindex:"-1"},[i("Ingestion API "),n("a",{class:"header-anchor",href:"#ingestion-api","aria-label":'Permalink to "Ingestion API"'},"​")],-1)),e[1]||(e[1]=n("p",null,"Manage ingestion sources — the configured connections to email providers (Google Workspace, Microsoft 365, IMAP, and file imports). Credentials are never returned in responses.",-1)),e[2]||(e[2]=n("h2",{id:"create-an-ingestion-source",tabindex:"-1"},[i("Create an Ingestion Source "),n("a",{class:"header-anchor",href:"#create-an-ingestion-source","aria-label":'Permalink to "Create an Ingestion Source"'},"​")],-1)),a(o,{operationId:"createIngestionSource"}),e[3]||(e[3]=n("h2",{id:"list-ingestion-sources",tabindex:"-1"},[i("List Ingestion Sources "),n("a",{class:"header-anchor",href:"#list-ingestion-sources","aria-label":'Permalink to "List Ingestion Sources"'},"​")],-1)),a(o,{operationId:"listIngestionSources"}),e[4]||(e[4]=n("h2",{id:"get-an-ingestion-source",tabindex:"-1"},[i("Get an Ingestion Source "),n("a",{class:"header-anchor",href:"#get-an-ingestion-source","aria-label":'Permalink to "Get an Ingestion Source"'},"​")],-1)),a(o,{operationId:"getIngestionSourceById"}),e[5]||(e[5]=n("h2",{id:"update-an-ingestion-source",tabindex:"-1"},[i("Update an Ingestion Source "),n("a",{class:"header-anchor",href:"#update-an-ingestion-source","aria-label":'Permalink to "Update an Ingestion Source"'},"​")],-1)),a(o,{operationId:"updateIngestionSource"}),e[6]||(e[6]=n("h2",{id:"delete-an-ingestion-source",tabindex:"-1"},[i("Delete an Ingestion Source "),n("a",{class:"header-anchor",href:"#delete-an-ingestion-source","aria-label":'Permalink to "Delete an Ingestion Source"'},"​")],-1)),a(o,{operationId:"deleteIngestionSource"}),e[7]||(e[7]=n("h2",{id:"trigger-initial-import",tabindex:"-1"},[i("Trigger Initial Import "),n("a",{class:"header-anchor",href:"#trigger-initial-import","aria-label":'Permalink to "Trigger Initial Import"'},"​")],-1)),a(o,{operationId:"triggerInitialImport"}),e[8]||(e[8]=n("h2",{id:"pause-an-ingestion-source",tabindex:"-1"},[i("Pause an Ingestion Source "),n("a",{class:"header-anchor",href:"#pause-an-ingestion-source","aria-label":'Permalink to "Pause an Ingestion Source"'},"​")],-1)),a(o,{operationId:"pauseIngestionSource"}),e[9]||(e[9]=n("h2",{id:"force-sync",tabindex:"-1"},[i("Force Sync "),n("a",{class:"header-anchor",href:"#force-sync","aria-label":'Permalink to "Force Sync"'},"​")],-1)),a(o,{operationId:"triggerForceSync"})])}const h=r(d,[["render",g]]);export{S as __pageData,h as default}; diff --git a/assets/api_ingestion.md.CRDN5lCu.lean.js b/assets/api_ingestion.md.CRDN5lCu.lean.js deleted file mode 100644 index fcc53d7..0000000 --- a/assets/api_ingestion.md.CRDN5lCu.lean.js +++ /dev/null @@ -1 +0,0 @@ -import{_ as r,C as t,c as s,o as l,j as n,G as a,a as i}from"./chunks/framework.DHqKNX4U.js";const S=JSON.parse('{"title":"Ingestion API","description":"","frontmatter":{"aside":false},"headers":[],"relativePath":"api/ingestion.md","filePath":"api/ingestion.md"}'),d={name:"api/ingestion.md"};function g(c,e,u,p,I,m){const o=t("OAOperation");return l(),s("div",null,[e[0]||(e[0]=n("h1",{id:"ingestion-api",tabindex:"-1"},[i("Ingestion API "),n("a",{class:"header-anchor",href:"#ingestion-api","aria-label":'Permalink to "Ingestion API"'},"​")],-1)),e[1]||(e[1]=n("p",null,"Manage ingestion sources — the configured connections to email providers (Google Workspace, Microsoft 365, IMAP, and file imports). Credentials are never returned in responses.",-1)),e[2]||(e[2]=n("h2",{id:"create-an-ingestion-source",tabindex:"-1"},[i("Create an Ingestion Source "),n("a",{class:"header-anchor",href:"#create-an-ingestion-source","aria-label":'Permalink to "Create an Ingestion Source"'},"​")],-1)),a(o,{operationId:"createIngestionSource"}),e[3]||(e[3]=n("h2",{id:"list-ingestion-sources",tabindex:"-1"},[i("List Ingestion Sources "),n("a",{class:"header-anchor",href:"#list-ingestion-sources","aria-label":'Permalink to "List Ingestion Sources"'},"​")],-1)),a(o,{operationId:"listIngestionSources"}),e[4]||(e[4]=n("h2",{id:"get-an-ingestion-source",tabindex:"-1"},[i("Get an Ingestion Source "),n("a",{class:"header-anchor",href:"#get-an-ingestion-source","aria-label":'Permalink to "Get an Ingestion Source"'},"​")],-1)),a(o,{operationId:"getIngestionSourceById"}),e[5]||(e[5]=n("h2",{id:"update-an-ingestion-source",tabindex:"-1"},[i("Update an Ingestion Source "),n("a",{class:"header-anchor",href:"#update-an-ingestion-source","aria-label":'Permalink to "Update an Ingestion Source"'},"​")],-1)),a(o,{operationId:"updateIngestionSource"}),e[6]||(e[6]=n("h2",{id:"delete-an-ingestion-source",tabindex:"-1"},[i("Delete an Ingestion Source "),n("a",{class:"header-anchor",href:"#delete-an-ingestion-source","aria-label":'Permalink to "Delete an Ingestion Source"'},"​")],-1)),a(o,{operationId:"deleteIngestionSource"}),e[7]||(e[7]=n("h2",{id:"trigger-initial-import",tabindex:"-1"},[i("Trigger Initial Import "),n("a",{class:"header-anchor",href:"#trigger-initial-import","aria-label":'Permalink to "Trigger Initial Import"'},"​")],-1)),a(o,{operationId:"triggerInitialImport"}),e[8]||(e[8]=n("h2",{id:"pause-an-ingestion-source",tabindex:"-1"},[i("Pause an Ingestion Source "),n("a",{class:"header-anchor",href:"#pause-an-ingestion-source","aria-label":'Permalink to "Pause an Ingestion Source"'},"​")],-1)),a(o,{operationId:"pauseIngestionSource"}),e[9]||(e[9]=n("h2",{id:"force-sync",tabindex:"-1"},[i("Force Sync "),n("a",{class:"header-anchor",href:"#force-sync","aria-label":'Permalink to "Force Sync"'},"​")],-1)),a(o,{operationId:"triggerForceSync"})])}const h=r(d,[["render",g]]);export{S as __pageData,h as default}; diff --git a/assets/api_ingestion.md.D362LBU_.js b/assets/api_ingestion.md.D362LBU_.js new file mode 100644 index 0000000..4b45205 --- /dev/null +++ b/assets/api_ingestion.md.D362LBU_.js @@ -0,0 +1 @@ +import{_ as r,C as t,c as s,o as l,j as n,G as a,a as o}from"./chunks/framework.DHqKNX4U.js";const f=JSON.parse('{"title":"Ingestion API","description":"","frontmatter":{"aside":false},"headers":[],"relativePath":"api/ingestion.md","filePath":"api/ingestion.md"}'),g={name:"api/ingestion.md"};function d(u,e,c,p,I,m){const i=t("OAOperation");return l(),s("div",null,[e[0]||(e[0]=n("h1",{id:"ingestion-api",tabindex:"-1"},[o("Ingestion API "),n("a",{class:"header-anchor",href:"#ingestion-api","aria-label":'Permalink to "Ingestion API"'},"​")],-1)),e[1]||(e[1]=n("p",null,"Manage ingestion sources — the configured connections to email providers (Google Workspace, Microsoft 365, IMAP, and file imports). Credentials are never returned in responses.",-1)),e[2]||(e[2]=n("h2",{id:"create-an-ingestion-source",tabindex:"-1"},[o("Create an Ingestion Source "),n("a",{class:"header-anchor",href:"#create-an-ingestion-source","aria-label":'Permalink to "Create an Ingestion Source"'},"​")],-1)),a(i,{operationId:"createIngestionSource"}),e[3]||(e[3]=n("h2",{id:"list-ingestion-sources",tabindex:"-1"},[o("List Ingestion Sources "),n("a",{class:"header-anchor",href:"#list-ingestion-sources","aria-label":'Permalink to "List Ingestion Sources"'},"​")],-1)),a(i,{operationId:"listIngestionSources"}),e[4]||(e[4]=n("h2",{id:"get-an-ingestion-source",tabindex:"-1"},[o("Get an Ingestion Source "),n("a",{class:"header-anchor",href:"#get-an-ingestion-source","aria-label":'Permalink to "Get an Ingestion Source"'},"​")],-1)),a(i,{operationId:"getIngestionSourceById"}),e[5]||(e[5]=n("h2",{id:"update-an-ingestion-source",tabindex:"-1"},[o("Update an Ingestion Source "),n("a",{class:"header-anchor",href:"#update-an-ingestion-source","aria-label":'Permalink to "Update an Ingestion Source"'},"​")],-1)),a(i,{operationId:"updateIngestionSource"}),e[6]||(e[6]=n("h2",{id:"delete-an-ingestion-source",tabindex:"-1"},[o("Delete an Ingestion Source "),n("a",{class:"header-anchor",href:"#delete-an-ingestion-source","aria-label":'Permalink to "Delete an Ingestion Source"'},"​")],-1)),a(i,{operationId:"deleteIngestionSource"}),e[7]||(e[7]=n("h2",{id:"trigger-initial-import",tabindex:"-1"},[o("Trigger Initial Import "),n("a",{class:"header-anchor",href:"#trigger-initial-import","aria-label":'Permalink to "Trigger Initial Import"'},"​")],-1)),a(i,{operationId:"triggerInitialImport"}),e[8]||(e[8]=n("h2",{id:"pause-an-ingestion-source",tabindex:"-1"},[o("Pause an Ingestion Source "),n("a",{class:"header-anchor",href:"#pause-an-ingestion-source","aria-label":'Permalink to "Pause an Ingestion Source"'},"​")],-1)),a(i,{operationId:"pauseIngestionSource"}),e[9]||(e[9]=n("h2",{id:"force-sync",tabindex:"-1"},[o("Force Sync "),n("a",{class:"header-anchor",href:"#force-sync","aria-label":'Permalink to "Force Sync"'},"​")],-1)),a(i,{operationId:"triggerForceSync"}),e[10]||(e[10]=n("h2",{id:"unmerge-an-ingestion-source",tabindex:"-1"},[o("Unmerge an Ingestion Source "),n("a",{class:"header-anchor",href:"#unmerge-an-ingestion-source","aria-label":'Permalink to "Unmerge an Ingestion Source"'},"​")],-1)),a(i,{operationId:"unmergeIngestionSource"})])}const h=r(g,[["render",d]]);export{f as __pageData,h as default}; diff --git a/assets/api_ingestion.md.D362LBU_.lean.js b/assets/api_ingestion.md.D362LBU_.lean.js new file mode 100644 index 0000000..4b45205 --- /dev/null +++ b/assets/api_ingestion.md.D362LBU_.lean.js @@ -0,0 +1 @@ +import{_ as r,C as t,c as s,o as l,j as n,G as a,a as o}from"./chunks/framework.DHqKNX4U.js";const f=JSON.parse('{"title":"Ingestion API","description":"","frontmatter":{"aside":false},"headers":[],"relativePath":"api/ingestion.md","filePath":"api/ingestion.md"}'),g={name:"api/ingestion.md"};function d(u,e,c,p,I,m){const i=t("OAOperation");return l(),s("div",null,[e[0]||(e[0]=n("h1",{id:"ingestion-api",tabindex:"-1"},[o("Ingestion API "),n("a",{class:"header-anchor",href:"#ingestion-api","aria-label":'Permalink to "Ingestion API"'},"​")],-1)),e[1]||(e[1]=n("p",null,"Manage ingestion sources — the configured connections to email providers (Google Workspace, Microsoft 365, IMAP, and file imports). Credentials are never returned in responses.",-1)),e[2]||(e[2]=n("h2",{id:"create-an-ingestion-source",tabindex:"-1"},[o("Create an Ingestion Source "),n("a",{class:"header-anchor",href:"#create-an-ingestion-source","aria-label":'Permalink to "Create an Ingestion Source"'},"​")],-1)),a(i,{operationId:"createIngestionSource"}),e[3]||(e[3]=n("h2",{id:"list-ingestion-sources",tabindex:"-1"},[o("List Ingestion Sources "),n("a",{class:"header-anchor",href:"#list-ingestion-sources","aria-label":'Permalink to "List Ingestion Sources"'},"​")],-1)),a(i,{operationId:"listIngestionSources"}),e[4]||(e[4]=n("h2",{id:"get-an-ingestion-source",tabindex:"-1"},[o("Get an Ingestion Source "),n("a",{class:"header-anchor",href:"#get-an-ingestion-source","aria-label":'Permalink to "Get an Ingestion Source"'},"​")],-1)),a(i,{operationId:"getIngestionSourceById"}),e[5]||(e[5]=n("h2",{id:"update-an-ingestion-source",tabindex:"-1"},[o("Update an Ingestion Source "),n("a",{class:"header-anchor",href:"#update-an-ingestion-source","aria-label":'Permalink to "Update an Ingestion Source"'},"​")],-1)),a(i,{operationId:"updateIngestionSource"}),e[6]||(e[6]=n("h2",{id:"delete-an-ingestion-source",tabindex:"-1"},[o("Delete an Ingestion Source "),n("a",{class:"header-anchor",href:"#delete-an-ingestion-source","aria-label":'Permalink to "Delete an Ingestion Source"'},"​")],-1)),a(i,{operationId:"deleteIngestionSource"}),e[7]||(e[7]=n("h2",{id:"trigger-initial-import",tabindex:"-1"},[o("Trigger Initial Import "),n("a",{class:"header-anchor",href:"#trigger-initial-import","aria-label":'Permalink to "Trigger Initial Import"'},"​")],-1)),a(i,{operationId:"triggerInitialImport"}),e[8]||(e[8]=n("h2",{id:"pause-an-ingestion-source",tabindex:"-1"},[o("Pause an Ingestion Source "),n("a",{class:"header-anchor",href:"#pause-an-ingestion-source","aria-label":'Permalink to "Pause an Ingestion Source"'},"​")],-1)),a(i,{operationId:"pauseIngestionSource"}),e[9]||(e[9]=n("h2",{id:"force-sync",tabindex:"-1"},[o("Force Sync "),n("a",{class:"header-anchor",href:"#force-sync","aria-label":'Permalink to "Force Sync"'},"​")],-1)),a(i,{operationId:"triggerForceSync"}),e[10]||(e[10]=n("h2",{id:"unmerge-an-ingestion-source",tabindex:"-1"},[o("Unmerge an Ingestion Source "),n("a",{class:"header-anchor",href:"#unmerge-an-ingestion-source","aria-label":'Permalink to "Unmerge an Ingestion Source"'},"​")],-1)),a(i,{operationId:"unmergeIngestionSource"})])}const h=r(g,[["render",d]]);export{f as __pageData,h as default}; diff --git a/assets/app.Dfrf8uHm.js b/assets/app.BneHbokF.js similarity index 95% rename from assets/app.Dfrf8uHm.js rename to assets/app.BneHbokF.js index 1beda29..32237b3 100644 --- a/assets/app.Dfrf8uHm.js +++ b/assets/app.BneHbokF.js @@ -1 +1 @@ -import{R as p}from"./chunks/theme.W2NStNbJ.js";import{R as s,ay as i,az as u,aA as c,aB as l,aC as f,aD as d,aE as m,aF as h,aG as A,aH as g,d as v,u as y,v as C,s as R,aI as w,aJ as P,aK as E,ah as b}from"./chunks/framework.DHqKNX4U.js";function r(e){if(e.extends){const a=r(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const n=r(p),S=v({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=y();return C(()=>{R(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&w(),P(),E(),n.setup&&n.setup(),()=>b(n.Layout)}});async function T(){globalThis.__VITEPRESS__=!0;const e=F(),a=D();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function D(){return g(S)}function F(){let e=s;return h(a=>{let t=A(a),o=null;return t&&(e&&(t=t.replace(/\.js$/,".lean.js")),o=import(t)),s&&(e=!1),o},n.NotFound)}s&&T().then(({app:e,router:a,data:t})=>{a.go().then(()=>{i(a.route,t.site),e.mount("#app")})});export{T as createApp}; +import{R as p}from"./chunks/theme.DMwvsXz4.js";import{R as s,ay as i,az as u,aA as c,aB as l,aC as f,aD as d,aE as m,aF as h,aG as A,aH as g,d as v,u as y,v as C,s as R,aI as w,aJ as P,aK as E,ah as b}from"./chunks/framework.DHqKNX4U.js";function r(e){if(e.extends){const a=r(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const n=r(p),S=v({name:"VitePressApp",setup(){const{site:e,lang:a,dir:t}=y();return C(()=>{R(()=>{document.documentElement.lang=a.value,document.documentElement.dir=t.value})}),e.value.router.prefetchLinks&&w(),P(),E(),n.setup&&n.setup(),()=>b(n.Layout)}});async function T(){globalThis.__VITEPRESS__=!0;const e=F(),a=D();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),n.enhanceApp&&await n.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function D(){return g(S)}function F(){let e=s;return h(a=>{let t=A(a),o=null;return t&&(e&&(t=t.replace(/\.js$/,".lean.js")),o=import(t)),s&&(e=!1),o},n.NotFound)}s&&T().then(({app:e,router:a,data:t})=>{a.go().then(()=>{i(a.route,t.site),e.mount("#app")})});export{T as createApp}; diff --git a/assets/chunks/@localSearchIndexroot.DlAxI0nG.js b/assets/chunks/@localSearchIndexroot.DlAxI0nG.js deleted file mode 100644 index e2bdd11..0000000 --- a/assets/chunks/@localSearchIndexroot.DlAxI0nG.js +++ /dev/null @@ -1 +0,0 @@ -const e='{"documentCount":551,"nextId":551,"documentIds":{"0":"/SUMMARY.html#table-of-contents","1":"/SUMMARY.html#user-guides","2":"/api/api-keys.html#api-keys","3":"/api/api-keys.html#generate-an-api-key","4":"/api/api-keys.html#list-api-keys","5":"/api/api-keys.html#delete-an-api-key","6":"/api/archived-email.html#archived-email-api","7":"/api/archived-email.html#list-emails-for-an-ingestion-source","8":"/api/archived-email.html#get-a-single-email","9":"/api/archived-email.html#delete-an-email","10":"/api/authentication.html#api-authentication","11":"/api/authentication.html#method-1-jwt-user-login","12":"/api/authentication.html#method-2-api-key","13":"/api/authentication.html#creating-an-api-key","14":"/api/auth.html#auth-api","15":"/api/auth.html#setup","16":"/api/auth.html#login","17":"/api/auth.html#check-setup-status","18":"/api/dashboard.html#dashboard-api","19":"/api/dashboard.html#get-stats","20":"/api/dashboard.html#get-ingestion-history","21":"/api/dashboard.html#get-ingestion-source-summaries","22":"/api/dashboard.html#get-recent-syncs","23":"/api/dashboard.html#get-indexed-email-insights","24":"/api/iam.html#iam-api","25":"/api/iam.html#list-all-roles","26":"/api/iam.html#create-a-role","27":"/api/iam.html#get-a-role","28":"/api/iam.html#update-a-role","29":"/api/iam.html#delete-a-role","30":"/api/#api-overview","31":"/api/#authentication","32":"/api/#api-services","33":"/api/ingestion.html#ingestion-api","34":"/api/ingestion.html#create-an-ingestion-source","35":"/api/ingestion.html#list-ingestion-sources","36":"/api/ingestion.html#get-an-ingestion-source","37":"/api/ingestion.html#update-an-ingestion-source","38":"/api/ingestion.html#delete-an-ingestion-source","39":"/api/ingestion.html#trigger-initial-import","40":"/api/ingestion.html#pause-an-ingestion-source","41":"/api/ingestion.html#force-sync","42":"/api/integrity.html#integrity-check-api","43":"/api/integrity.html#check-email-integrity","44":"/api/jobs.html#jobs-api","45":"/api/jobs.html#list-all-queues","46":"/api/jobs.html#get-jobs-in-a-queue","47":"/api/rate-limiting.html#rate-limiting","48":"/api/rate-limiting.html#how-it-works","49":"/api/rate-limiting.html#response-body","50":"/api/rate-limiting.html#configuration","51":"/api/rate-limiting.html#handling-rate-limits","52":"/api/rate-limiting.html#excluded-endpoints","53":"/api/search.html#search-api","54":"/api/search.html#search-emails","55":"/api/settings.html#settings-api","56":"/api/settings.html#get-system-settings","57":"/api/settings.html#update-system-settings","58":"/api/storage.html#storage-api","59":"/api/storage.html#download-a-file","60":"/api/upload.html#upload-api","61":"/api/upload.html#upload-a-file","62":"/api/users.html#users-api","63":"/api/users.html#list-all-users","64":"/api/users.html#create-a-user","65":"/api/users.html#get-a-user","66":"/api/users.html#update-a-user","67":"/api/users.html#delete-a-user","68":"/api/users.html#get-current-user-profile","69":"/api/users.html#update-current-user-profile","70":"/api/users.html#update-password","71":"/enterprise/audit-log/api.html#audit-log-api-endpoints","72":"/enterprise/audit-log/api.html#get-audit-logs","73":"/enterprise/audit-log/api.html#query-parameters","74":"/enterprise/audit-log/api.html#response-body","75":"/enterprise/audit-log/api.html#verify-audit-log-integrity","76":"/enterprise/audit-log/api.html#response-body-1","77":"/enterprise/audit-log/audit-service.html#audit-log-backend-implementation","78":"/enterprise/audit-log/audit-service.html#hashing-and-verification-logic","79":"/enterprise/audit-log/audit-service.html#hash-calculation","80":"/enterprise/audit-log/audit-service.html#verification-process","81":"/enterprise/audit-log/audit-service.html#service-integration","82":"/enterprise/audit-log/guide.html#audit-log-user-interface","83":"/enterprise/audit-log/guide.html#viewing-audit-logs","84":"/enterprise/audit-log/guide.html#filtering-and-sorting","85":"/enterprise/audit-log/guide.html#pagination","86":"/enterprise/audit-log/guide.html#verifying-log-integrity","87":"/enterprise/audit-log/guide.html#verification-responses","88":"/enterprise/audit-log/guide.html#viewing-log-details","89":"/enterprise/audit-log/#audit-log","90":"/enterprise/audit-log/#core-principles","91":"/enterprise/audit-log/#_1-immutability","92":"/enterprise/audit-log/#_2-completeness","93":"/enterprise/audit-log/#_3-attribution","94":"/enterprise/audit-log/#_4-clarity-and-detail","95":"/enterprise/audit-log/#_5-verifiability","96":"/enterprise/legal-holds/api.html#legal-holds-api-endpoints","97":"/enterprise/legal-holds/api.html#hold-management-endpoints","98":"/enterprise/legal-holds/api.html#list-all-holds","99":"/enterprise/legal-holds/api.html#response-body","100":"/enterprise/legal-holds/api.html#get-hold-by-id","101":"/enterprise/legal-holds/api.html#path-parameters","102":"/enterprise/legal-holds/api.html#response","103":"/enterprise/legal-holds/api.html#create-hold","104":"/enterprise/legal-holds/api.html#request-body","105":"/enterprise/legal-holds/api.html#example-request","106":"/enterprise/legal-holds/api.html#response-1","107":"/enterprise/legal-holds/api.html#update-hold","108":"/enterprise/legal-holds/api.html#path-parameters-1","109":"/enterprise/legal-holds/api.html#request-body-1","110":"/enterprise/legal-holds/api.html#example-—-deactivate-a-hold","111":"/enterprise/legal-holds/api.html#response-2","112":"/enterprise/legal-holds/api.html#delete-hold","113":"/enterprise/legal-holds/api.html#path-parameters-2","114":"/enterprise/legal-holds/api.html#response-3","115":"/enterprise/legal-holds/api.html#bulk-operations","116":"/enterprise/legal-holds/api.html#bulk-apply-hold-via-search-query","117":"/enterprise/legal-holds/api.html#path-parameters-3","118":"/enterprise/legal-holds/api.html#request-body-2","119":"/enterprise/legal-holds/api.html#searchquery-object","120":"/enterprise/legal-holds/api.html#example-request-1","121":"/enterprise/legal-holds/api.html#response-body-1","122":"/enterprise/legal-holds/api.html#response-codes","123":"/enterprise/legal-holds/api.html#release-all-emails-from-hold","124":"/enterprise/legal-holds/api.html#path-parameters-4","125":"/enterprise/legal-holds/api.html#response-body-2","126":"/enterprise/legal-holds/api.html#response-codes-1","127":"/enterprise/legal-holds/api.html#per-email-hold-endpoints","128":"/enterprise/legal-holds/api.html#get-holds-applied-to-an-email","129":"/enterprise/legal-holds/api.html#path-parameters-5","130":"/enterprise/legal-holds/api.html#response-body-3","131":"/enterprise/legal-holds/api.html#response-codes-2","132":"/enterprise/legal-holds/api.html#apply-a-hold-to-a-specific-email","133":"/enterprise/legal-holds/api.html#path-parameters-6","134":"/enterprise/legal-holds/api.html#request-body-3","135":"/enterprise/legal-holds/api.html#example-request-2","136":"/enterprise/legal-holds/api.html#response-body-4","137":"/enterprise/legal-holds/api.html#response-codes-3","138":"/enterprise/legal-holds/api.html#remove-a-hold-from-a-specific-email","139":"/enterprise/legal-holds/api.html#path-parameters-7","140":"/enterprise/legal-holds/api.html#response-body-5","141":"/enterprise/legal-holds/api.html#response-codes-4","142":"/enterprise/legal-holds/api.html#error-responses","143":"/enterprise/legal-holds/api.html#validation-constraints","144":"/enterprise/legal-holds/guide.html#legal-holds-user-interface-guide","145":"/enterprise/legal-holds/guide.html#overview","146":"/enterprise/legal-holds/guide.html#holds-table","147":"/enterprise/legal-holds/guide.html#creating-a-hold","148":"/enterprise/legal-holds/guide.html#form-fields","149":"/enterprise/legal-holds/guide.html#after-creation","150":"/enterprise/legal-holds/guide.html#editing-a-hold","151":"/enterprise/legal-holds/guide.html#activating-and-deactivating-a-hold","152":"/enterprise/legal-holds/guide.html#deleting-a-hold","153":"/enterprise/legal-holds/guide.html#bulk-apply","154":"/enterprise/legal-holds/guide.html#search-fields","155":"/enterprise/legal-holds/guide.html#what-happens-during-bulk-apply","156":"/enterprise/legal-holds/guide.html#bulk-apply-and-the-audit-log","157":"/enterprise/legal-holds/guide.html#release-all-emails","158":"/enterprise/legal-holds/guide.html#per-email-hold-controls","159":"/enterprise/legal-holds/guide.html#viewing-holds-on-a-specific-email","160":"/enterprise/legal-holds/guide.html#applying-a-hold-to-a-specific-email","161":"/enterprise/legal-holds/guide.html#removing-a-hold-from-a-specific-email","162":"/enterprise/legal-holds/guide.html#delete-button-behaviour-under-a-hold","163":"/enterprise/legal-holds/guide.html#permissions-reference","164":"/enterprise/legal-holds/guide.html#workflow-responding-to-a-litigation-notice","165":"/enterprise/legal-holds/guide.html#troubleshooting","166":"/enterprise/legal-holds/guide.html#cannot-delete-hold-—-cannot-delete-an-active-legal-hold","167":"/enterprise/legal-holds/guide.html#bulk-apply-returns-0-emails","168":"/enterprise/legal-holds/guide.html#delete-email-returns-an-error-instead-of-deleting","169":"/enterprise/legal-holds/guide.html#hold-emails-count-shows-0-after-bulk-apply","170":"/enterprise/legal-holds/#legal-holds","171":"/enterprise/legal-holds/#core-principles","172":"/enterprise/legal-holds/#_1-absolute-immunity-—-highest-precedence-in-the-lifecycle-pipeline","173":"/enterprise/legal-holds/#_2-many-to-many-relationship","174":"/enterprise/legal-holds/#_3-active-inactive-state-management","175":"/enterprise/legal-holds/#_4-bulk-preservation-via-search-queries","176":"/enterprise/legal-holds/#_5-gobd-audit-trail","177":"/enterprise/legal-holds/#feature-requirements","178":"/enterprise/legal-holds/#use-cases","179":"/enterprise/legal-holds/#active-litigation-hold","180":"/enterprise/legal-holds/#regulatory-investigation","181":"/enterprise/legal-holds/#tax-audit","182":"/enterprise/legal-holds/#ediscovery-case-management","183":"/enterprise/legal-holds/#architecture-overview","184":"/enterprise/legal-holds/#data-model","185":"/enterprise/legal-holds/#legal-holds-table","186":"/enterprise/legal-holds/#email-legal-holds-join-table","187":"/enterprise/legal-holds/#integration-points","188":"/enterprise/legal-holds/#retentionhook-deletion-guard","189":"/enterprise/legal-holds/#lifecycle-worker","190":"/enterprise/legal-holds/#audit-log","191":"/enterprise/retention-labels/api.html#retention-labels-api-endpoints","192":"/enterprise/retention-labels/api.html#label-management-endpoints","193":"/enterprise/retention-labels/api.html#list-all-labels","194":"/enterprise/retention-labels/api.html#response-body","195":"/enterprise/retention-labels/api.html#get-label-by-id","196":"/enterprise/retention-labels/api.html#path-parameters","197":"/enterprise/retention-labels/api.html#response-body-1","198":"/enterprise/retention-labels/api.html#create-label","199":"/enterprise/retention-labels/api.html#request-body","200":"/enterprise/retention-labels/api.html#example-request","201":"/enterprise/retention-labels/api.html#response","202":"/enterprise/retention-labels/api.html#update-label","203":"/enterprise/retention-labels/api.html#path-parameters-1","204":"/enterprise/retention-labels/api.html#request-body-1","205":"/enterprise/retention-labels/api.html#example-request-1","206":"/enterprise/retention-labels/api.html#response-1","207":"/enterprise/retention-labels/api.html#delete-label","208":"/enterprise/retention-labels/api.html#path-parameters-2","209":"/enterprise/retention-labels/api.html#deletion-logic","210":"/enterprise/retention-labels/api.html#response-body-2","211":"/enterprise/retention-labels/api.html#response-codes","212":"/enterprise/retention-labels/api.html#email-label-endpoints","213":"/enterprise/retention-labels/api.html#get-email-s-label","214":"/enterprise/retention-labels/api.html#path-parameters-3","215":"/enterprise/retention-labels/api.html#response-body-3","216":"/enterprise/retention-labels/api.html#response-codes-1","217":"/enterprise/retention-labels/api.html#apply-label-to-email","218":"/enterprise/retention-labels/api.html#path-parameters-4","219":"/enterprise/retention-labels/api.html#request-body-2","220":"/enterprise/retention-labels/api.html#example-request-2","221":"/enterprise/retention-labels/api.html#response-body-4","222":"/enterprise/retention-labels/api.html#response-codes-2","223":"/enterprise/retention-labels/api.html#remove-label-from-email","224":"/enterprise/retention-labels/api.html#path-parameters-5","225":"/enterprise/retention-labels/api.html#response-body-5","226":"/enterprise/retention-labels/api.html#response-codes-3","227":"/enterprise/retention-labels/api.html#error-responses","228":"/enterprise/retention-labels/api.html#validation-constraints","229":"/enterprise/retention-labels/automated-tagging.html#retention-labels-automated-application-guide","230":"/enterprise/retention-labels/automated-tagging.html#overview","231":"/enterprise/retention-labels/automated-tagging.html#common-use-cases","232":"/enterprise/retention-labels/automated-tagging.html#_1-financial-document-classification","233":"/enterprise/retention-labels/automated-tagging.html#_2-legal-and-compliance-tagging","234":"/enterprise/retention-labels/automated-tagging.html#_3-executive-communication-preservation","235":"/enterprise/retention-labels/automated-tagging.html#_4-data-classification-integration","236":"/enterprise/retention-labels/automated-tagging.html#_5-project-based-retention","237":"/enterprise/retention-labels/automated-tagging.html#api-workflow","238":"/enterprise/retention-labels/automated-tagging.html#step-1-authentication-setup","239":"/enterprise/retention-labels/automated-tagging.html#step-2-identify-target-emails","240":"/enterprise/retention-labels/automated-tagging.html#step-3-check-current-label-status","241":"/enterprise/retention-labels/automated-tagging.html#step-4-apply-retention-label","242":"/enterprise/retention-labels/automated-tagging.html#step-5-verify-application","243":"/enterprise/retention-labels/automated-tagging.html#label-management","244":"/enterprise/retention-labels/automated-tagging.html#getting-available-labels","245":"/enterprise/retention-labels/automated-tagging.html#label-selection-strategy","246":"/enterprise/retention-labels/automated-tagging.html#implementation-patterns","247":"/enterprise/retention-labels/automated-tagging.html#pattern-1-post-ingestion-processing","248":"/enterprise/retention-labels/automated-tagging.html#pattern-2-batch-processing","249":"/enterprise/retention-labels/automated-tagging.html#pattern-3-event-driven-tagging","250":"/enterprise/retention-labels/automated-tagging.html#authentication-and-security","251":"/enterprise/retention-labels/automated-tagging.html#api-key-management","252":"/enterprise/retention-labels/automated-tagging.html#request-authentication","253":"/enterprise/retention-labels/automated-tagging.html#error-handling","254":"/enterprise/retention-labels/automated-tagging.html#common-error-scenarios","255":"/enterprise/retention-labels/automated-tagging.html#best-practices","256":"/enterprise/retention-labels/automated-tagging.html#performance-considerations","257":"/enterprise/retention-labels/automated-tagging.html#rate-limiting","258":"/enterprise/retention-labels/automated-tagging.html#efficiency-tips","259":"/enterprise/retention-labels/automated-tagging.html#monitoring-and-auditing","260":"/enterprise/retention-labels/automated-tagging.html#logging-recommendations","261":"/enterprise/retention-labels/automated-tagging.html#audit-trail","262":"/enterprise/retention-labels/automated-tagging.html#integration-examples","263":"/enterprise/retention-labels/automated-tagging.html#scenario-invoice-processing-system","264":"/enterprise/retention-labels/automated-tagging.html#scenario-legal-hold-implementation","265":"/enterprise/retention-labels/automated-tagging.html#scenario-data-classification-integration","266":"/enterprise/retention-labels/automated-tagging.html#getting-started","267":"/enterprise/retention-labels/guide.html#retention-labels-user-interface-guide","268":"/enterprise/retention-labels/guide.html#overview","269":"/enterprise/retention-labels/guide.html#labels-table","270":"/enterprise/retention-labels/guide.html#creating-a-label","271":"/enterprise/retention-labels/guide.html#form-fields","272":"/enterprise/retention-labels/guide.html#example-labels","273":"/enterprise/retention-labels/guide.html#success-and-error-handling","274":"/enterprise/retention-labels/guide.html#editing-a-label","275":"/enterprise/retention-labels/guide.html#editable-fields","276":"/enterprise/retention-labels/guide.html#retention-period-restrictions","277":"/enterprise/retention-labels/guide.html#update-process","278":"/enterprise/retention-labels/guide.html#deleting-a-label","279":"/enterprise/retention-labels/guide.html#smart-deletion-behavior","280":"/enterprise/retention-labels/guide.html#hard-delete","281":"/enterprise/retention-labels/guide.html#soft-disable","282":"/enterprise/retention-labels/guide.html#confirmation-dialog","283":"/enterprise/retention-labels/guide.html#applying-labels-to-emails","284":"/enterprise/retention-labels/guide.html#from-email-detail-page","285":"/enterprise/retention-labels/guide.html#label-application-process","286":"/enterprise/retention-labels/guide.html#one-label-per-email-rule","287":"/enterprise/retention-labels/guide.html#permissions-required","288":"/enterprise/retention-labels/guide.html#label-management","289":"/enterprise/retention-labels/guide.html#email-label-operations","290":"/enterprise/retention-labels/guide.html#status-indicators","291":"/enterprise/retention-labels/guide.html#enabled-labels-green-badge","292":"/enterprise/retention-labels/guide.html#disabled-labels-gray-badge","293":"/enterprise/retention-labels/guide.html#best-practices","294":"/enterprise/retention-labels/guide.html#naming-conventions","295":"/enterprise/retention-labels/guide.html#descriptions","296":"/enterprise/retention-labels/guide.html#retention-periods","297":"/enterprise/retention-labels/guide.html#label-lifecycle","298":"/enterprise/retention-labels/guide.html#troubleshooting","299":"/enterprise/retention-labels/guide.html#cannot-edit-retention-period","300":"/enterprise/retention-labels/guide.html#label-not-appearing-in-email-application-dropdown","301":"/enterprise/retention-labels/guide.html#cannot-delete-label","302":"/enterprise/retention-labels/guide.html#permission-denied-errors","303":"/enterprise/retention-labels/#retention-labels","304":"/enterprise/retention-labels/#core-principles","305":"/enterprise/retention-labels/#_1-item-level-retention-override","306":"/enterprise/retention-labels/#_2-one-label-per-email","307":"/enterprise/retention-labels/#_3-deletion-behavior","308":"/enterprise/retention-labels/#_4-immutable-retention-period","309":"/enterprise/retention-labels/#_5-user-attribution-and-audit-trail","310":"/enterprise/retention-labels/#_6-lifecycle-integration","311":"/enterprise/retention-labels/#feature-requirements","312":"/enterprise/retention-labels/#use-cases","313":"/enterprise/retention-labels/#legal-hold-alternative","314":"/enterprise/retention-labels/#executive-communications","315":"/enterprise/retention-labels/#regulatory-exceptions","316":"/enterprise/retention-labels/#project-specific-retention","317":"/enterprise/retention-labels/#architecture-overview","318":"/enterprise/retention-labels/#data-model","319":"/enterprise/retention-labels/#retention-labels-table","320":"/enterprise/retention-labels/#email-label-applications-table","321":"/enterprise/retention-labels/#integration-points","322":"/enterprise/retention-labels/#lifecycle-worker","323":"/enterprise/retention-labels/#audit-log","324":"/enterprise/retention-labels/#email-detail-pages","325":"/enterprise/retention-policy/api.html#retention-policy-api-endpoints","326":"/enterprise/retention-policy/api.html#list-all-policies","327":"/enterprise/retention-policy/api.html#response-body","328":"/enterprise/retention-policy/api.html#get-policy-by-id","329":"/enterprise/retention-policy/api.html#path-parameters","330":"/enterprise/retention-policy/api.html#response-body-1","331":"/enterprise/retention-policy/api.html#create-policy","332":"/enterprise/retention-policy/api.html#request-body","333":"/enterprise/retention-policy/api.html#conditions-rulegroup-schema","334":"/enterprise/retention-policy/api.html#example-request","335":"/enterprise/retention-policy/api.html#response","336":"/enterprise/retention-policy/api.html#update-policy","337":"/enterprise/retention-policy/api.html#path-parameters-1","338":"/enterprise/retention-policy/api.html#request-body-1","339":"/enterprise/retention-policy/api.html#response-1","340":"/enterprise/retention-policy/api.html#delete-policy","341":"/enterprise/retention-policy/api.html#path-parameters-2","342":"/enterprise/retention-policy/api.html#response-2","343":"/enterprise/retention-policy/api.html#evaluate-email-policy-simulator","344":"/enterprise/retention-policy/api.html#request-body-2","345":"/enterprise/retention-policy/api.html#example-request-1","346":"/enterprise/retention-policy/api.html#response-body-2","347":"/enterprise/retention-policy/api.html#response-codes","348":"/enterprise/retention-policy/guide.html#retention-policy-user-interface","349":"/enterprise/retention-policy/guide.html#policy-table","350":"/enterprise/retention-policy/guide.html#creating-a-policy","351":"/enterprise/retention-policy/guide.html#basic-information","352":"/enterprise/retention-policy/guide.html#ingestion-scope","353":"/enterprise/retention-policy/guide.html#condition-rules","354":"/enterprise/retention-policy/guide.html#supported-operators","355":"/enterprise/retention-policy/guide.html#policy-status","356":"/enterprise/retention-policy/guide.html#editing-a-policy","357":"/enterprise/retention-policy/guide.html#deleting-a-policy","358":"/enterprise/retention-policy/guide.html#policy-simulator","359":"/enterprise/retention-policy/guide.html#simulator-input-fields","360":"/enterprise/retention-policy/guide.html#simulator-results","361":"/enterprise/retention-policy/#retention-policy","362":"/enterprise/retention-policy/#core-principles","363":"/enterprise/retention-policy/#_1-policy-based-automation","364":"/enterprise/retention-policy/#_2-condition-based-targeting","365":"/enterprise/retention-policy/#_3-ingestion-scope","366":"/enterprise/retention-policy/#_4-priority-and-max-duration-wins","367":"/enterprise/retention-policy/#_5-full-audit-trail","368":"/enterprise/retention-policy/#_6-fail-safe-behavior","369":"/enterprise/retention-policy/#feature-requirements","370":"/enterprise/retention-policy/#architecture-overview","371":"/enterprise/retention-policy/lifecycle-worker.html#retention-policy-lifecycle-worker","372":"/enterprise/retention-policy/lifecycle-worker.html#location","373":"/enterprise/retention-policy/lifecycle-worker.html#how-it-works","374":"/enterprise/retention-policy/lifecycle-worker.html#scheduling","375":"/enterprise/retention-policy/lifecycle-worker.html#batch-processing","376":"/enterprise/retention-policy/lifecycle-worker.html#per-email-processing-flow","377":"/enterprise/retention-policy/lifecycle-worker.html#error-handling","378":"/enterprise/retention-policy/lifecycle-worker.html#system-actor","379":"/enterprise/retention-policy/lifecycle-worker.html#audit-trail","380":"/enterprise/retention-policy/lifecycle-worker.html#configuration","381":"/enterprise/retention-policy/lifecycle-worker.html#bullmq-worker-settings","382":"/enterprise/retention-policy/lifecycle-worker.html#integration-with-deletion-guard","383":"/enterprise/retention-policy/retention-service.html#retention-policy-backend-implementation","384":"/enterprise/retention-policy/retention-service.html#database-schema","385":"/enterprise/retention-policy/retention-service.html#crud-operations","386":"/enterprise/retention-policy/retention-service.html#createpolicy-data-actorid-actorip","387":"/enterprise/retention-policy/retention-service.html#getpolicies","388":"/enterprise/retention-policy/retention-service.html#getpolicybyid-id","389":"/enterprise/retention-policy/retention-service.html#updatepolicy-id-data-actorid-actorip","390":"/enterprise/retention-policy/retention-service.html#deletepolicy-id-actorid-actorip","391":"/enterprise/retention-policy/retention-service.html#evaluation-engine","392":"/enterprise/retention-policy/retention-service.html#evaluateemail-metadata","393":"/enterprise/retention-policy/retention-service.html#evaluaterulegroup-group-metadata","394":"/enterprise/retention-policy/retention-service.html#evaluaterule-rule-metadata","395":"/enterprise/retention-policy/retention-service.html#applyoperator-haystack-operator-needle","396":"/enterprise/retention-policy/retention-service.html#security-regex-match-safeguards","397":"/enterprise/retention-policy/retention-service.html#request-validation","398":"/enterprise/retention-policy/retention-service.html#module-registration","399":"/#get-started-👋","400":"/#what-is-open-archiver","401":"/#key-features","402":"/#installation","403":"/#data-source-configuration-🔌","404":"/#contributing","405":"/services/#services","406":"/services/iam-service/iam-policy.html#iam-policy","407":"/services/iam-service/iam-policy.html#policy-structure","408":"/services/iam-service/iam-policy.html#actions","409":"/services/iam-service/iam-policy.html#subjects","410":"/services/iam-service/iam-policy.html#advanced-conditions-with-mongodb-style-queries","411":"/services/iam-service/iam-policy.html#supported-operators-and-examples","412":"/services/iam-service/iam-policy.html#eq-equal","413":"/services/iam-service/iam-policy.html#ne-not-equal","414":"/services/iam-service/iam-policy.html#in-in-array","415":"/services/iam-service/iam-policy.html#nin-not-in-array","416":"/services/iam-service/iam-policy.html#lt-lte-less-than-less-than-or-equal","417":"/services/iam-service/iam-policy.html#gt-gte-greater-than-greater-than-or-equal","418":"/services/iam-service/iam-policy.html#exists","419":"/services/iam-service/iam-policy.html#inverted-rules-creating-exceptions-with-cannot","420":"/services/iam-service/iam-policy.html#policy-evaluation-logic","421":"/services/iam-service/iam-policy.html#dynamic-policies-with-placeholders","422":"/services/iam-service/iam-policy.html#special-permissions-for-user-and-role-management","423":"/services/iam-service/iam-policy.html#policy-examples","424":"/services/iam-service/iam-policy.html#administrator","425":"/services/iam-service/iam-policy.html#end-user","426":"/services/iam-service/iam-policy.html#global-read-only-auditor","427":"/services/iam-service/iam-policy.html#ingestion-admin","428":"/services/iam-service/iam-policy.html#auditor-for-specific-ingestion-sources","429":"/services/iam-service/iam-policy.html#limit-access-to-a-specific-mailbox","430":"/services/job-queue.html#job-queue-service","431":"/services/job-queue.html#architecture","432":"/services/job-queue.html#queues","433":"/services/job-queue.html#job-flow","434":"/services/job-queue.html#sync-cycle-coordination","435":"/services/job-queue.html#session-heartbeat","436":"/services/job-queue.html#stale-session-detection","437":"/services/job-queue.html#configuration","438":"/services/job-queue.html#tuning-ingestion-worker-concurrency","439":"/services/job-queue.html#tuning-meili-indexing-batch","440":"/services/job-queue.html#resilience","441":"/services/storage-service.html#pluggable-storage-service-storageservice","442":"/services/storage-service.html#overview","443":"/services/storage-service.html#configuration","444":"/services/storage-service.html#_1-choosing-the-backend","445":"/services/storage-service.html#_2-local-filesystem-configuration","446":"/services/storage-service.html#_3-s3-compatible-storage-configuration","447":"/services/storage-service.html#how-to-use-the-service","448":"/services/storage-service.html#example-usage-in-ingestionservice","449":"/services/storage-service.html#api-reference","450":"/services/storage-service.html#put-path-content","451":"/services/storage-service.html#get-path","452":"/services/storage-service.html#delete-path","453":"/services/storage-service.html#exists-path","454":"/services/ocr-service.html#ocr-service","455":"/services/ocr-service.html#overview","456":"/services/ocr-service.html#configuration","457":"/services/ocr-service.html#file-size-limits","458":"/services/ocr-service.html#supported-file-formats","459":"/services/ocr-service.html#with-apache-tika","460":"/services/ocr-service.html#with-legacy-fallback","461":"/services/ocr-service.html#features-of-the-tika-integration-ocrservice","462":"/services/ocr-service.html#caching","463":"/services/ocr-service.html#concurrency-management-semaphore","464":"/services/ocr-service.html#health-check-and-dns-fallback","465":"/services/ocr-service.html#legacy-fallback-methods","466":"/user-guides/email-providers/eml.html#eml-import","467":"/user-guides/email-providers/eml.html#preparing-the-zip-file","468":"/user-guides/email-providers/eml.html#creating-an-eml-ingestion-source","469":"/user-guides/email-providers/google-workspace.html#connecting-to-google-workspace","470":"/user-guides/email-providers/google-workspace.html#prerequisites","471":"/user-guides/email-providers/google-workspace.html#setup-overview","472":"/user-guides/email-providers/google-workspace.html#part-1-google-cloud-console-setup","473":"/user-guides/email-providers/google-workspace.html#troubleshooting","474":"/user-guides/email-providers/google-workspace.html#error-iam-disableserviceaccountkeycreation","475":"/user-guides/email-providers/google-workspace.html#part-2-grant-domain-wide-delegation","476":"/user-guides/email-providers/google-workspace.html#part-3-connecting-in-openarchiver","477":"/user-guides/email-providers/google-workspace.html#what-happens-next","478":"/user-guides/email-providers/#connecting-email-providers","479":"/user-guides/email-providers/imap.html#connecting-to-a-generic-imap-server","480":"/user-guides/email-providers/imap.html#step-by-step-guide","481":"/user-guides/email-providers/imap.html#security-recommendation-use-an-app-password","482":"/user-guides/email-providers/imap.html#how-to-obtain-an-app-password-for-gmail","483":"/user-guides/email-providers/imap.html#how-to-obtain-an-app-password-for-outlook-microsoft-accounts","484":"/user-guides/email-providers/imap.html#what-happens-next","485":"/user-guides/email-providers/mbox.html#mbox-ingestion","486":"/user-guides/email-providers/mbox.html#_1-exporting-from-your-email-client","487":"/user-guides/email-providers/mbox.html#_2-uploading-to-openarchiver","488":"/user-guides/email-providers/mbox.html#_3-folder-structure","489":"/user-guides/email-providers/microsoft-365.html#connecting-to-microsoft-365","490":"/user-guides/email-providers/microsoft-365.html#prerequisites","491":"/user-guides/email-providers/microsoft-365.html#setup-overview","492":"/user-guides/email-providers/microsoft-365.html#part-1-register-a-new-application-in-microsoft-entra-id","493":"/user-guides/email-providers/microsoft-365.html#part-2-grant-api-permissions","494":"/user-guides/email-providers/microsoft-365.html#part-3-create-a-client-secret","495":"/user-guides/email-providers/microsoft-365.html#part-4-connecting-in-openarchiver","496":"/user-guides/email-providers/microsoft-365.html#what-happens-next","497":"/user-guides/email-providers/pst.html#pst-import","498":"/user-guides/email-providers/pst.html#preparing-the-pst-file","499":"/user-guides/email-providers/pst.html#creating-a-pst-ingestion-source","500":"/user-guides/integrity-check.html#integrity-check","501":"/user-guides/integrity-check.html#how-it-works","502":"/user-guides/integrity-check.html#the-integrity-report","503":"/user-guides/integrity-check.html#statuses","504":"/user-guides/integrity-check.html#reasons-for-an-invalid-status","505":"/user-guides/integrity-check.html#what-to-do-if-an-integrity-check-fails","506":"/user-guides/installation.html#installation-guide","507":"/user-guides/installation.html#prerequisites","508":"/user-guides/installation.html#_1-clone-the-repository","509":"/user-guides/installation.html#_2-create-a-directory-for-local-storage-important","510":"/user-guides/installation.html#_3-configure-your-environment","511":"/user-guides/installation.html#key-configuration-steps","512":"/user-guides/installation.html#storage-configuration","513":"/user-guides/installation.html#using-external-services","514":"/user-guides/installation.html#environment-variable-reference","515":"/user-guides/installation.html#application-settings","516":"/user-guides/installation.html#docker-compose-service-configuration","517":"/user-guides/installation.html#storage-settings","518":"/user-guides/installation.html#security-authentication","519":"/user-guides/installation.html#apache-tika-integration","520":"/user-guides/installation.html#_4-run-the-application","521":"/user-guides/installation.html#_5-access-the-application","522":"/user-guides/installation.html#_6-next-steps","523":"/user-guides/installation.html#updating-your-installation","524":"/user-guides/installation.html#deploying-on-coolify","525":"/user-guides/installation.html#modify-docker-compose-yml-for-coolify","526":"/user-guides/installation.html#where-is-my-data-stored-when-using-local-storage-and-docker","527":"/user-guides/installation.html#to-save-data-to-a-specific-folder","528":"/user-guides/settings/system.html#system-settings","529":"/user-guides/settings/system.html#configuration","530":"/user-guides/settings/system.html#language","531":"/user-guides/settings/system.html#default-theme","532":"/user-guides/settings/system.html#support-email","533":"/user-guides/troubleshooting/cors-errors.html#troubleshooting-cors-errors","534":"/user-guides/troubleshooting/cors-errors.html#symptoms","535":"/user-guides/troubleshooting/cors-errors.html#root-cause","536":"/user-guides/troubleshooting/cors-errors.html#solution","537":"/user-guides/troubleshooting/cors-errors.html#example-configuration","538":"/user-guides/upgrade-and-migration/upgrade.html#upgrading-your-instance","539":"/user-guides/upgrade-and-migration/upgrade.html#checking-for-new-versions","540":"/user-guides/upgrade-and-migration/upgrade.html#upgrading-your-instance-1","541":"/user-guides/upgrade-and-migration/upgrade.html#migrating-data","542":"/user-guides/upgrade-and-migration/upgrade.html#upgrading-meilisearch","543":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#upgrading-meilisearch","544":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#experimental-dumpless-upgrade","545":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#how-to-enable","546":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#standard-migration-process-recommended","547":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#step-1-create-a-dump","548":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#step-2-upgrade-your-open-archiver-instance","549":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#step-3-import-the-dump","550":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#step-4-clean-up"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[3,1,1],"1":[2,3,26],"2":[2,1,34],"3":[4,2,1],"4":[3,2,1],"5":[4,2,1],"6":[3,1,16],"7":[6,3,1],"8":[4,3,1],"9":[3,3,1],"10":[2,1,13],"11":[6,2,33],"12":[4,2,32],"13":[4,5,46],"14":[2,1,11],"15":[1,2,1],"16":[1,2,1],"17":[3,2,1],"18":[2,1,12],"19":[2,2,1],"20":[3,2,1],"21":[4,2,1],"22":[3,2,1],"23":[4,2,1],"24":[2,1,21],"25":[3,2,1],"26":[3,2,1],"27":[3,2,1],"28":[3,2,1],"29":[3,2,1],"30":[2,1,22],"31":[1,2,24],"32":[2,2,30],"33":[2,1,24],"34":[4,2,1],"35":[3,2,1],"36":[4,2,1],"37":[4,2,1],"38":[4,2,1],"39":[3,2,1],"40":[4,2,1],"41":[2,2,1],"42":[3,1,20],"43":[3,3,1],"44":[2,1,40],"45":[3,2,1],"46":[5,2,1],"47":[2,1,32],"48":[3,2,53],"49":[2,5,34],"50":[1,2,42],"51":[3,2,79],"52":[2,2,32],"53":[2,1,11],"54":[2,2,1],"55":[2,1,17],"56":[3,2,1],"57":[3,2,1],"58":[2,1,17],"59":[3,2,1],"60":[2,1,27],"61":[3,2,1],"62":[2,1,15],"63":[3,2,1],"64":[3,2,1],"65":[3,2,1],"66":[3,2,1],"67":[3,2,1],"68":[4,2,1],"69":[4,2,1],"70":[2,2,1],"71":[4,1,26],"72":[3,4,24],"73":[2,6,44],"74":[2,6,36],"75":[4,4,24],"76":[2,6,19],"77":[4,1,29],"78":[4,4,16],"79":[2,8,78],"80":[2,8,86],"81":[2,4,38],"82":[4,1,36],"83":[3,4,68],"84":[3,4,25],"85":[1,4,19],"86":[3,4,42],"87":[2,6,71],"88":[3,4,33],"89":[2,1,51],"90":[2,2,16],"91":[2,4,40],"92":[2,4,35],"93":[2,4,39],"94":[4,4,40],"95":[2,4,42],"96":[4,1,39],"97":[3,4,1],"98":[3,6,26],"99":[2,8,57],"100":[4,6,19],"101":[2,9,13],"102":[1,9,17],"103":[2,6,23],"104":[2,7,34],"105":[2,7,25],"106":[1,7,23],"107":[2,6,29],"108":[2,7,13],"109":[2,7,34],"110":[4,7,5],"111":[1,7,52],"112":[2,6,23],"113":[2,7,13],"114":[1,7,51],"115":[2,4,1],"116":[6,6,50],"117":[2,11,13],"118":[2,11,14],"119":[2,13,36],"120":[2,11,25],"121":[2,11,64],"122":[2,11,43],"123":[5,6,29],"124":[2,11,13],"125":[2,11,5],"126":[2,11,55],"127":[4,4,1],"128":[6,7,26],"129":[2,11,12],"130":[2,11,54],"131":[2,11,13],"132":[6,7,32],"133":[2,11,12],"134":[2,11,15],"135":[2,11,9],"136":[2,11,35],"137":[2,11,34],"138":[6,7,33],"139":[2,11,16],"140":[2,11,9],"141":[2,11,17],"142":[2,4,47],"143":[2,4,34],"144":[5,1,43],"145":[1,5,46],"146":[2,5,87],"147":[3,5,20],"148":[2,8,45],"149":[2,8,23],"150":[3,5,24],"151":[5,5,61],"152":[3,5,72],"153":[2,5,28],"154":[2,7,50],"155":[5,7,91],"156":[6,7,32],"157":[3,5,67],"158":[4,5,1],"159":[6,9,29],"160":[6,9,28],"161":[6,9,54],"162":[6,9,39],"163":[2,5,28],"164":[6,5,100],"165":[1,5,1],"166":[10,6,16],"167":[5,6,47],"168":[8,6,25],"169":[8,6,22],"170":[2,1,40],"171":[2,2,1],"172":[9,4,81],"173":[4,4,45],"174":[5,4,70],"175":[6,4,59],"176":[4,4,47],"177":[2,2,39],"178":[2,2,1],"179":[3,4,49],"180":[2,4,40],"181":[2,4,28],"182":[3,4,32],"183":[2,2,89],"184":[2,2,1],"185":[3,4,53],"186":[5,4,57],"187":[2,2,1],"188":[4,4,50],"189":[2,4,32],"190":[2,4,55],"191":[4,1,41],"192":[3,4,1],"193":[3,6,17],"194":[2,8,48],"195":[4,6,19],"196":[2,9,13],"197":[2,9,17],"198":[2,6,23],"199":[2,7,30],"200":[2,7,19],"201":[1,7,21],"202":[2,6,25],"203":[2,7,13],"204":[2,7,39],"205":[2,7,14],"206":[1,7,34],"207":[2,6,22],"208":[2,7,13],"209":[2,7,42],"210":[2,7,7],"211":[2,7,24],"212":[3,4,1],"213":[4,6,21],"214":[2,8,12],"215":[2,8,37],"216":[2,8,15],"217":[4,6,25],"218":[2,8,12],"219":[2,8,15],"220":[2,8,9],"221":[2,8,25],"222":[2,8,27],"223":[4,6,22],"224":[2,8,12],"225":[2,8,17],"226":[2,8,20],"227":[2,4,47],"228":[2,4,27],"229":[5,1,21],"230":[1,5,39],"231":[3,5,1],"232":[4,8,46],"233":[5,8,33],"234":[4,8,38],"235":[4,8,36],"236":[4,8,38],"237":[2,5,1],"238":[4,7,34],"239":[5,7,28],"240":[6,7,33],"241":[5,7,23],"242":[4,7,15],"243":[2,5,1],"244":[3,7,27],"245":[3,7,39],"246":[2,5,1],"247":[5,7,32],"248":[4,7,24],"249":[5,7,33],"250":[3,5,1],"251":[3,8,35],"252":[2,8,17],"253":[2,5,1],"254":[3,7,36],"255":[2,7,30],"256":[2,5,1],"257":[2,7,28],"258":[2,7,32],"259":[3,5,1],"260":[2,8,24],"261":[2,8,33],"262":[2,5,1],"263":[4,7,31],"264":[4,7,34],"265":[4,7,37],"266":[2,5,63],"267":[5,1,33],"268":[1,5,33],"269":[2,5,86],"270":[3,5,16],"271":[2,8,40],"272":[2,8,45],"273":[4,8,40],"274":[3,5,16],"275":[2,8,23],"276":[3,8,52],"277":[2,8,21],"278":[3,5,13],"279":[3,8,7],"280":[2,11,23],"281":[2,11,44],"282":[2,8,36],"283":[4,5,15],"284":[4,8,50],"285":[3,8,39],"286":[5,8,28],"287":[2,5,7],"288":[2,7,11],"289":[3,7,11],"290":[2,5,1],"291":[5,7,17],"292":[5,7,36],"293":[2,5,1],"294":[2,7,30],"295":[1,7,25],"296":[2,7,39],"297":[2,7,29],"298":[1,5,1],"299":[4,6,34],"300":[7,6,29],"301":[3,6,36],"302":[3,6,31],"303":[2,1,41],"304":[2,2,1],"305":[5,4,36],"306":[5,4,26],"307":[3,4,65],"308":[4,4,32],"309":[6,4,32],"310":[3,4,29],"311":[2,2,33],"312":[2,2,1],"313":[3,4,28],"314":[2,4,19],"315":[2,4,26],"316":[3,4,19],"317":[2,2,77],"318":[2,2,1],"319":[3,4,48],"320":[4,4,42],"321":[2,2,1],"322":[2,4,25],"323":[2,4,29],"324":[3,4,23],"325":[4,1,39],"326":[3,4,16],"327":[2,7,40],"328":[4,4,19],"329":[2,7,13],"330":[2,7,17],"331":[2,4,23],"332":[2,5,74],"333":[3,7,69],"334":[2,5,44],"335":[1,5,21],"336":[2,4,25],"337":[2,5,13],"338":[2,5,31],"339":[1,5,23],"340":[2,4,20],"341":[2,5,13],"342":[1,5,17],"343":[5,4,41],"344":[2,8,43],"345":[2,8,25],"346":[2,8,52],"347":[2,8,14],"348":[4,1,31],"349":[2,4,93],"350":[3,4,18],"351":[2,6,38],"352":[2,6,39],"353":[2,6,67],"354":[2,6,46],"355":[2,6,13],"356":[3,4,37],"357":[3,4,34],"358":[2,4,23],"359":[3,5,50],"360":[2,5,72],"361":[2,1,46],"362":[2,2,1],"363":[4,4,51],"364":[4,4,43],"365":[3,4,38],"366":[6,4,51],"367":[4,4,39],"368":[4,4,50],"369":[2,2,29],"370":[2,2,79],"371":[4,1,37],"372":[1,4,8],"373":[3,4,1],"374":[1,7,44],"375":[2,7,48],"376":[4,7,130],"377":[2,7,50],"378":[2,4,42],"379":[2,4,51],"380":[1,4,16],"381":[3,4,32],"382":[4,4,55],"383":[4,1,39],"384":[2,4,88],"385":[2,4,8],"386":[5,6,31],"387":[2,6,33],"388":[3,6,12],"389":[6,6,41],"390":[5,6,27],"391":[2,4,31],"392":[3,6,93],"393":[4,6,26],"394":[4,6,44],"395":[5,6,42],"396":[4,6,60],"397":[2,4,68],"398":[2,4,44],"399":[3,1,19],"400":[5,3,55],"401":[2,3,116],"402":[1,3,17],"403":[4,3,35],"404":[1,3,59],"405":[1,1,1],"406":[2,1,29],"407":[2,2,78],"408":[1,2,40],"409":[1,2,32],"410":[6,2,85],"411":[4,8,12],"412":[3,12,37],"413":[4,12,30],"414":[4,12,35],"415":[5,12,32],"416":[7,12,30],"417":[7,12,24],"418":[1,12,21],"419":[6,2,77],"420":[3,2,38],"421":[4,4,30],"422":[7,2,52],"423":[2,2,25],"424":[1,3,19],"425":[2,3,40],"426":[4,3,38],"427":[2,3,22],"428":[5,3,33],"429":[6,3,48],"430":[3,1,19],"431":[1,3,24],"432":[1,4,23],"433":[2,4,38],"434":[3,3,105],"435":[2,6,33],"436":[3,6,79],"437":[1,3,36],"438":[4,4,45],"439":[4,4,36],"440":[1,3,76],"441":[5,1,1],"442":[1,5,73],"443":[1,5,28],"444":[4,5,31],"445":[4,5,43],"446":[5,5,69],"447":[5,5,40],"448":[4,8,79],"449":[2,5,15],"450":[4,6,63],"451":[3,6,39],"452":[3,6,40],"453":[3,6,31],"454":[2,1,34],"455":[1,2,78],"456":[1,2,57],"457":[3,2,40],"458":[3,2,20],"459":[3,5,80],"460":[3,5,31],"461":[7,2,18],"462":[1,9,55],"463":[4,9,65],"464":[5,9,49],"465":[3,2,58],"466":[2,1,27],"467":[4,2,64],"468":[5,2,103],"469":[4,1,51],"470":[1,4,20],"471":[2,4,27],"472":[6,6,113],"473":[1,6,1],"474":[5,7,130],"475":[6,6,98],"476":[5,6,87],"477":[4,4,77],"478":[3,1,43],"479":[6,1,38],"480":[3,6,113],"481":[6,6,68],"482":[8,12,68],"483":[10,12,53],"484":[4,6,88],"485":[2,1,24],"486":[6,2,56],"487":[4,2,83],"488":[3,2,45],"489":[4,1,54],"490":[1,4,20],"491":[2,4,44],"492":[10,6,89],"493":[5,6,102],"494":[6,6,100],"495":[5,6,80],"496":[4,4,72],"497":[2,1,22],"498":[4,2,50],"499":[5,2,102],"500":[2,1,25],"501":[3,2,66],"502":[3,2,31],"503":[1,4,40],"504":[6,4,64],"505":[8,2,86],"506":[2,1,21],"507":[1,2,29],"508":[4,2,19],"509":[9,2,78],"510":[4,2,34],"511":[3,6,94],"512":[2,6,49],"513":[3,6,69],"514":[3,6,12],"515":[2,8,81],"516":[4,8,76],"517":[2,8,91],"518":[3,8,111],"519":[3,8,39],"520":[4,2,47],"521":[4,2,58],"522":[3,2,30],"523":[3,2,31],"524":[3,2,43],"525":[6,5,96],"526":[12,2,129],"527":[7,14,103],"528":[2,1,18],"529":[1,2,1],"530":[1,3,52],"531":[2,3,25],"532":[2,3,30],"533":[3,1,48],"534":[1,3,66],"535":[2,3,58],"536":[1,3,70],"537":[2,4,70],"538":[3,1,15],"539":[4,3,37],"540":[3,3,34],"541":[2,3,34],"542":[2,3,39],"543":[2,1,46],"544":[3,2,90],"545":[3,5,78],"546":[5,2,31],"547":[5,7,89],"548":[7,7,31],"549":[5,7,74],"550":[4,7,65]},"averageFieldLength":[3.058076225045374,4.858439201451903,34.64428312159711],"storedFields":{"0":{"title":"Table of contents","titles":[]},"1":{"title":"User guides","titles":["Table of contents"]},"2":{"title":"API Keys","titles":[]},"3":{"title":"Generate an API Key","titles":["API Keys"]},"4":{"title":"List API Keys","titles":["API Keys"]},"5":{"title":"Delete an API Key","titles":["API Keys"]},"6":{"title":"Archived Email API","titles":[]},"7":{"title":"List Emails for an Ingestion Source","titles":["Archived Email API"]},"8":{"title":"Get a Single Email","titles":["Archived Email API"]},"9":{"title":"Delete an Email","titles":["Archived Email API"]},"10":{"title":"API Authentication","titles":[]},"11":{"title":"Method 1: JWT (User Login)","titles":["API Authentication"]},"12":{"title":"Method 2: API Key","titles":["API Authentication"]},"13":{"title":"Creating an API Key","titles":["API Authentication","Method 2: API Key"]},"14":{"title":"Auth API","titles":[]},"15":{"title":"Setup","titles":["Auth API"]},"16":{"title":"Login","titles":["Auth API"]},"17":{"title":"Check Setup Status","titles":["Auth API"]},"18":{"title":"Dashboard API","titles":[]},"19":{"title":"Get Stats","titles":["Dashboard API"]},"20":{"title":"Get Ingestion History","titles":["Dashboard API"]},"21":{"title":"Get Ingestion Source Summaries","titles":["Dashboard API"]},"22":{"title":"Get Recent Syncs","titles":["Dashboard API"]},"23":{"title":"Get Indexed Email Insights","titles":["Dashboard API"]},"24":{"title":"IAM API","titles":[]},"25":{"title":"List All Roles","titles":["IAM API"]},"26":{"title":"Create a Role","titles":["IAM API"]},"27":{"title":"Get a Role","titles":["IAM API"]},"28":{"title":"Update a Role","titles":["IAM API"]},"29":{"title":"Delete a Role","titles":["IAM API"]},"30":{"title":"API Overview","titles":[]},"31":{"title":"Authentication","titles":["API Overview"]},"32":{"title":"API Services","titles":["API Overview"]},"33":{"title":"Ingestion API","titles":[]},"34":{"title":"Create an Ingestion Source","titles":["Ingestion API"]},"35":{"title":"List Ingestion Sources","titles":["Ingestion API"]},"36":{"title":"Get an Ingestion Source","titles":["Ingestion API"]},"37":{"title":"Update an Ingestion Source","titles":["Ingestion API"]},"38":{"title":"Delete an Ingestion Source","titles":["Ingestion API"]},"39":{"title":"Trigger Initial Import","titles":["Ingestion API"]},"40":{"title":"Pause an Ingestion Source","titles":["Ingestion API"]},"41":{"title":"Force Sync","titles":["Ingestion API"]},"42":{"title":"Integrity Check API","titles":[]},"43":{"title":"Check Email Integrity","titles":["Integrity Check API"]},"44":{"title":"Jobs API","titles":[]},"45":{"title":"List All Queues","titles":["Jobs API"]},"46":{"title":"Get Jobs in a Queue","titles":["Jobs API"]},"47":{"title":"Rate Limiting","titles":[]},"48":{"title":"How It Works","titles":["Rate Limiting"]},"49":{"title":"Response Body","titles":["Rate Limiting","How It Works"]},"50":{"title":"Configuration","titles":["Rate Limiting"]},"51":{"title":"Handling Rate Limits","titles":["Rate Limiting"]},"52":{"title":"Excluded Endpoints","titles":["Rate Limiting"]},"53":{"title":"Search API","titles":[]},"54":{"title":"Search Emails","titles":["Search API"]},"55":{"title":"Settings API","titles":[]},"56":{"title":"Get System Settings","titles":["Settings API"]},"57":{"title":"Update System Settings","titles":["Settings API"]},"58":{"title":"Storage API","titles":[]},"59":{"title":"Download a File","titles":["Storage API"]},"60":{"title":"Upload API","titles":[]},"61":{"title":"Upload a File","titles":["Upload API"]},"62":{"title":"Users API","titles":[]},"63":{"title":"List All Users","titles":["Users API"]},"64":{"title":"Create a User","titles":["Users API"]},"65":{"title":"Get a User","titles":["Users API"]},"66":{"title":"Update a User","titles":["Users API"]},"67":{"title":"Delete a User","titles":["Users API"]},"68":{"title":"Get Current User Profile","titles":["Users API"]},"69":{"title":"Update Current User Profile","titles":["Users API"]},"70":{"title":"Update Password","titles":["Users API"]},"71":{"title":"Audit Log: API Endpoints","titles":[]},"72":{"title":"Get Audit Logs","titles":["Audit Log: API Endpoints"]},"73":{"title":"Query Parameters","titles":["Audit Log: API Endpoints","Get Audit Logs"]},"74":{"title":"Response Body","titles":["Audit Log: API Endpoints","Get Audit Logs"]},"75":{"title":"Verify Audit Log Integrity","titles":["Audit Log: API Endpoints"]},"76":{"title":"Response Body","titles":["Audit Log: API Endpoints","Verify Audit Log Integrity"]},"77":{"title":"Audit Log: Backend Implementation","titles":[]},"78":{"title":"Hashing and Verification Logic","titles":["Audit Log: Backend Implementation"]},"79":{"title":"Hash Calculation","titles":["Audit Log: Backend Implementation","Hashing and Verification Logic"]},"80":{"title":"Verification Process","titles":["Audit Log: Backend Implementation","Hashing and Verification Logic"]},"81":{"title":"Service Integration","titles":["Audit Log: Backend Implementation"]},"82":{"title":"Audit Log: User Interface","titles":[]},"83":{"title":"Viewing Audit Logs","titles":["Audit Log: User Interface"]},"84":{"title":"Filtering and Sorting","titles":["Audit Log: User Interface"]},"85":{"title":"Pagination","titles":["Audit Log: User Interface"]},"86":{"title":"Verifying Log Integrity","titles":["Audit Log: User Interface"]},"87":{"title":"Verification Responses","titles":["Audit Log: User Interface","Verifying Log Integrity"]},"88":{"title":"Viewing Log Details","titles":["Audit Log: User Interface"]},"89":{"title":"Audit Log","titles":[]},"90":{"title":"Core Principles","titles":["Audit Log"]},"91":{"title":"1. Immutability","titles":["Audit Log","Core Principles"]},"92":{"title":"2. Completeness","titles":["Audit Log","Core Principles"]},"93":{"title":"3. Attribution","titles":["Audit Log","Core Principles"]},"94":{"title":"4. Clarity and Detail","titles":["Audit Log","Core Principles"]},"95":{"title":"5. Verifiability","titles":["Audit Log","Core Principles"]},"96":{"title":"Legal Holds: API Endpoints","titles":[]},"97":{"title":"Hold Management Endpoints","titles":["Legal Holds: API Endpoints"]},"98":{"title":"List All Holds","titles":["Legal Holds: API Endpoints","Hold Management Endpoints"]},"99":{"title":"Response Body","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","List All Holds"]},"100":{"title":"Get Hold by ID","titles":["Legal Holds: API Endpoints","Hold Management Endpoints"]},"101":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Get Hold by ID"]},"102":{"title":"Response","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Get Hold by ID"]},"103":{"title":"Create Hold","titles":["Legal Holds: API Endpoints","Hold Management Endpoints"]},"104":{"title":"Request Body","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Create Hold"]},"105":{"title":"Example Request","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Create Hold"]},"106":{"title":"Response","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Create Hold"]},"107":{"title":"Update Hold","titles":["Legal Holds: API Endpoints","Hold Management Endpoints"]},"108":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Update Hold"]},"109":{"title":"Request Body","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Update Hold"]},"110":{"title":"Example — Deactivate a Hold","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Update Hold"]},"111":{"title":"Response","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Update Hold"]},"112":{"title":"Delete Hold","titles":["Legal Holds: API Endpoints","Hold Management Endpoints"]},"113":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Delete Hold"]},"114":{"title":"Response","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Delete Hold"]},"115":{"title":"Bulk Operations","titles":["Legal Holds: API Endpoints"]},"116":{"title":"Bulk Apply Hold via Search Query","titles":["Legal Holds: API Endpoints","Bulk Operations"]},"117":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Bulk Operations","Bulk Apply Hold via Search Query"]},"118":{"title":"Request Body","titles":["Legal Holds: API Endpoints","Bulk Operations","Bulk Apply Hold via Search Query"]},"119":{"title":"searchQuery Object","titles":["Legal Holds: API Endpoints","Bulk Operations","Bulk Apply Hold via Search Query","Request Body"]},"120":{"title":"Example Request","titles":["Legal Holds: API Endpoints","Bulk Operations","Bulk Apply Hold via Search Query"]},"121":{"title":"Response Body","titles":["Legal Holds: API Endpoints","Bulk Operations","Bulk Apply Hold via Search Query"]},"122":{"title":"Response Codes","titles":["Legal Holds: API Endpoints","Bulk Operations","Bulk Apply Hold via Search Query"]},"123":{"title":"Release All Emails from Hold","titles":["Legal Holds: API Endpoints","Bulk Operations"]},"124":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Bulk Operations","Release All Emails from Hold"]},"125":{"title":"Response Body","titles":["Legal Holds: API Endpoints","Bulk Operations","Release All Emails from Hold"]},"126":{"title":"Response Codes","titles":["Legal Holds: API Endpoints","Bulk Operations","Release All Emails from Hold"]},"127":{"title":"Per-Email Hold Endpoints","titles":["Legal Holds: API Endpoints"]},"128":{"title":"Get Holds Applied to an Email","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints"]},"129":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Get Holds Applied to an Email"]},"130":{"title":"Response Body","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Get Holds Applied to an Email"]},"131":{"title":"Response Codes","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Get Holds Applied to an Email"]},"132":{"title":"Apply a Hold to a Specific Email","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints"]},"133":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Apply a Hold to a Specific Email"]},"134":{"title":"Request Body","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Apply a Hold to a Specific Email"]},"135":{"title":"Example Request","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Apply a Hold to a Specific Email"]},"136":{"title":"Response Body","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Apply a Hold to a Specific Email"]},"137":{"title":"Response Codes","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Apply a Hold to a Specific Email"]},"138":{"title":"Remove a Hold from a Specific Email","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints"]},"139":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Remove a Hold from a Specific Email"]},"140":{"title":"Response Body","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Remove a Hold from a Specific Email"]},"141":{"title":"Response Codes","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Remove a Hold from a Specific Email"]},"142":{"title":"Error Responses","titles":["Legal Holds: API Endpoints"]},"143":{"title":"Validation Constraints","titles":["Legal Holds: API Endpoints"]},"144":{"title":"Legal Holds: User Interface Guide","titles":[]},"145":{"title":"Overview","titles":["Legal Holds: User Interface Guide"]},"146":{"title":"Holds Table","titles":["Legal Holds: User Interface Guide"]},"147":{"title":"Creating a Hold","titles":["Legal Holds: User Interface Guide"]},"148":{"title":"Form Fields","titles":["Legal Holds: User Interface Guide","Creating a Hold"]},"149":{"title":"After Creation","titles":["Legal Holds: User Interface Guide","Creating a Hold"]},"150":{"title":"Editing a Hold","titles":["Legal Holds: User Interface Guide"]},"151":{"title":"Activating and Deactivating a Hold","titles":["Legal Holds: User Interface Guide"]},"152":{"title":"Deleting a Hold","titles":["Legal Holds: User Interface Guide"]},"153":{"title":"Bulk Apply","titles":["Legal Holds: User Interface Guide"]},"154":{"title":"Search Fields","titles":["Legal Holds: User Interface Guide","Bulk Apply"]},"155":{"title":"What Happens During Bulk Apply","titles":["Legal Holds: User Interface Guide","Bulk Apply"]},"156":{"title":"Bulk Apply and the Audit Log","titles":["Legal Holds: User Interface Guide","Bulk Apply"]},"157":{"title":"Release All Emails","titles":["Legal Holds: User Interface Guide"]},"158":{"title":"Per-Email Hold Controls","titles":["Legal Holds: User Interface Guide"]},"159":{"title":"Viewing Holds on a Specific Email","titles":["Legal Holds: User Interface Guide","Per-Email Hold Controls"]},"160":{"title":"Applying a Hold to a Specific Email","titles":["Legal Holds: User Interface Guide","Per-Email Hold Controls"]},"161":{"title":"Removing a Hold from a Specific Email","titles":["Legal Holds: User Interface Guide","Per-Email Hold Controls"]},"162":{"title":"Delete Button Behaviour Under a Hold","titles":["Legal Holds: User Interface Guide","Per-Email Hold Controls"]},"163":{"title":"Permissions Reference","titles":["Legal Holds: User Interface Guide"]},"164":{"title":"Workflow: Responding to a Litigation Notice","titles":["Legal Holds: User Interface Guide"]},"165":{"title":"Troubleshooting","titles":["Legal Holds: User Interface Guide"]},"166":{"title":"Cannot Delete Hold — "Cannot delete an active legal hold"","titles":["Legal Holds: User Interface Guide","Troubleshooting"]},"167":{"title":"Bulk Apply Returns 0 Emails","titles":["Legal Holds: User Interface Guide","Troubleshooting"]},"168":{"title":"Delete Email Returns an Error Instead of Deleting","titles":["Legal Holds: User Interface Guide","Troubleshooting"]},"169":{"title":"Hold Emails Count Shows 0 After Bulk Apply","titles":["Legal Holds: User Interface Guide","Troubleshooting"]},"170":{"title":"Legal Holds","titles":[]},"171":{"title":"Core Principles","titles":["Legal Holds"]},"172":{"title":"1. Absolute Immunity — Highest Precedence in the Lifecycle Pipeline","titles":["Legal Holds","Core Principles"]},"173":{"title":"2. Many-to-Many Relationship","titles":["Legal Holds","Core Principles"]},"174":{"title":"3. Active/Inactive State Management","titles":["Legal Holds","Core Principles"]},"175":{"title":"4. Bulk Preservation via Search Queries","titles":["Legal Holds","Core Principles"]},"176":{"title":"5. GoBD Audit Trail","titles":["Legal Holds","Core Principles"]},"177":{"title":"Feature Requirements","titles":["Legal Holds"]},"178":{"title":"Use Cases","titles":["Legal Holds"]},"179":{"title":"Active Litigation Hold","titles":["Legal Holds","Use Cases"]},"180":{"title":"Regulatory Investigation","titles":["Legal Holds","Use Cases"]},"181":{"title":"Tax Audit","titles":["Legal Holds","Use Cases"]},"182":{"title":"eDiscovery Case Management","titles":["Legal Holds","Use Cases"]},"183":{"title":"Architecture Overview","titles":["Legal Holds"]},"184":{"title":"Data Model","titles":["Legal Holds"]},"185":{"title":"legal_holds Table","titles":["Legal Holds","Data Model"]},"186":{"title":"email_legal_holds Join Table","titles":["Legal Holds","Data Model"]},"187":{"title":"Integration Points","titles":["Legal Holds"]},"188":{"title":"RetentionHook (Deletion Guard)","titles":["Legal Holds","Integration Points"]},"189":{"title":"Lifecycle Worker","titles":["Legal Holds","Integration Points"]},"190":{"title":"Audit Log","titles":["Legal Holds","Integration Points"]},"191":{"title":"Retention Labels: API Endpoints","titles":[]},"192":{"title":"Label Management Endpoints","titles":["Retention Labels: API Endpoints"]},"193":{"title":"List All Labels","titles":["Retention Labels: API Endpoints","Label Management Endpoints"]},"194":{"title":"Response Body","titles":["Retention Labels: API Endpoints","Label Management Endpoints","List All Labels"]},"195":{"title":"Get Label by ID","titles":["Retention Labels: API Endpoints","Label Management Endpoints"]},"196":{"title":"Path Parameters","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Get Label by ID"]},"197":{"title":"Response Body","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Get Label by ID"]},"198":{"title":"Create Label","titles":["Retention Labels: API Endpoints","Label Management Endpoints"]},"199":{"title":"Request Body","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Create Label"]},"200":{"title":"Example Request","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Create Label"]},"201":{"title":"Response","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Create Label"]},"202":{"title":"Update Label","titles":["Retention Labels: API Endpoints","Label Management Endpoints"]},"203":{"title":"Path Parameters","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Update Label"]},"204":{"title":"Request Body","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Update Label"]},"205":{"title":"Example Request","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Update Label"]},"206":{"title":"Response","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Update Label"]},"207":{"title":"Delete Label","titles":["Retention Labels: API Endpoints","Label Management Endpoints"]},"208":{"title":"Path Parameters","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Delete Label"]},"209":{"title":"Deletion Logic","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Delete Label"]},"210":{"title":"Response Body","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Delete Label"]},"211":{"title":"Response Codes","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Delete Label"]},"212":{"title":"Email Label Endpoints","titles":["Retention Labels: API Endpoints"]},"213":{"title":"Get Email\'s Label","titles":["Retention Labels: API Endpoints","Email Label Endpoints"]},"214":{"title":"Path Parameters","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Get Email\'s Label"]},"215":{"title":"Response Body","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Get Email\'s Label"]},"216":{"title":"Response Codes","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Get Email\'s Label"]},"217":{"title":"Apply Label to Email","titles":["Retention Labels: API Endpoints","Email Label Endpoints"]},"218":{"title":"Path Parameters","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Apply Label to Email"]},"219":{"title":"Request Body","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Apply Label to Email"]},"220":{"title":"Example Request","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Apply Label to Email"]},"221":{"title":"Response Body","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Apply Label to Email"]},"222":{"title":"Response Codes","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Apply Label to Email"]},"223":{"title":"Remove Label from Email","titles":["Retention Labels: API Endpoints","Email Label Endpoints"]},"224":{"title":"Path Parameters","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Remove Label from Email"]},"225":{"title":"Response Body","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Remove Label from Email"]},"226":{"title":"Response Codes","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Remove Label from Email"]},"227":{"title":"Error Responses","titles":["Retention Labels: API Endpoints"]},"228":{"title":"Validation Constraints","titles":["Retention Labels: API Endpoints"]},"229":{"title":"Retention Labels: Automated Application Guide","titles":[]},"230":{"title":"Overview","titles":["Retention Labels: Automated Application Guide"]},"231":{"title":"Common Use Cases","titles":["Retention Labels: Automated Application Guide"]},"232":{"title":"1. Financial Document Classification","titles":["Retention Labels: Automated Application Guide","Common Use Cases"]},"233":{"title":"2. Legal and Compliance Tagging","titles":["Retention Labels: Automated Application Guide","Common Use Cases"]},"234":{"title":"3. Executive Communication Preservation","titles":["Retention Labels: Automated Application Guide","Common Use Cases"]},"235":{"title":"4. Data Classification Integration","titles":["Retention Labels: Automated Application Guide","Common Use Cases"]},"236":{"title":"5. Project-Based Retention","titles":["Retention Labels: Automated Application Guide","Common Use Cases"]},"237":{"title":"API Workflow","titles":["Retention Labels: Automated Application Guide"]},"238":{"title":"Step 1: Authentication Setup","titles":["Retention Labels: Automated Application Guide","API Workflow"]},"239":{"title":"Step 2: Identify Target Emails","titles":["Retention Labels: Automated Application Guide","API Workflow"]},"240":{"title":"Step 3: Check Current Label Status","titles":["Retention Labels: Automated Application Guide","API Workflow"]},"241":{"title":"Step 4: Apply Retention Label","titles":["Retention Labels: Automated Application Guide","API Workflow"]},"242":{"title":"Step 5: Verify Application","titles":["Retention Labels: Automated Application Guide","API Workflow"]},"243":{"title":"Label Management","titles":["Retention Labels: Automated Application Guide"]},"244":{"title":"Getting Available Labels","titles":["Retention Labels: Automated Application Guide","Label Management"]},"245":{"title":"Label Selection Strategy","titles":["Retention Labels: Automated Application Guide","Label Management"]},"246":{"title":"Implementation Patterns","titles":["Retention Labels: Automated Application Guide"]},"247":{"title":"Pattern 1: Post-Ingestion Processing","titles":["Retention Labels: Automated Application Guide","Implementation Patterns"]},"248":{"title":"Pattern 2: Batch Processing","titles":["Retention Labels: Automated Application Guide","Implementation Patterns"]},"249":{"title":"Pattern 3: Event-Driven Tagging","titles":["Retention Labels: Automated Application Guide","Implementation Patterns"]},"250":{"title":"Authentication and Security","titles":["Retention Labels: Automated Application Guide"]},"251":{"title":"API Key Management","titles":["Retention Labels: Automated Application Guide","Authentication and Security"]},"252":{"title":"Request Authentication","titles":["Retention Labels: Automated Application Guide","Authentication and Security"]},"253":{"title":"Error Handling","titles":["Retention Labels: Automated Application Guide"]},"254":{"title":"Common Error Scenarios","titles":["Retention Labels: Automated Application Guide","Error Handling"]},"255":{"title":"Best Practices","titles":["Retention Labels: Automated Application Guide","Error Handling"]},"256":{"title":"Performance Considerations","titles":["Retention Labels: Automated Application Guide"]},"257":{"title":"Rate Limiting","titles":["Retention Labels: Automated Application Guide","Performance Considerations"]},"258":{"title":"Efficiency Tips","titles":["Retention Labels: Automated Application Guide","Performance Considerations"]},"259":{"title":"Monitoring and Auditing","titles":["Retention Labels: Automated Application Guide"]},"260":{"title":"Logging Recommendations","titles":["Retention Labels: Automated Application Guide","Monitoring and Auditing"]},"261":{"title":"Audit Trail","titles":["Retention Labels: Automated Application Guide","Monitoring and Auditing"]},"262":{"title":"Integration Examples","titles":["Retention Labels: Automated Application Guide"]},"263":{"title":"Scenario: Invoice Processing System","titles":["Retention Labels: Automated Application Guide","Integration Examples"]},"264":{"title":"Scenario: Legal Hold Implementation","titles":["Retention Labels: Automated Application Guide","Integration Examples"]},"265":{"title":"Scenario: Data Classification Integration","titles":["Retention Labels: Automated Application Guide","Integration Examples"]},"266":{"title":"Getting Started","titles":["Retention Labels: Automated Application Guide"]},"267":{"title":"Retention Labels: User Interface Guide","titles":[]},"268":{"title":"Overview","titles":["Retention Labels: User Interface Guide"]},"269":{"title":"Labels Table","titles":["Retention Labels: User Interface Guide"]},"270":{"title":"Creating a Label","titles":["Retention Labels: User Interface Guide"]},"271":{"title":"Form Fields","titles":["Retention Labels: User Interface Guide","Creating a Label"]},"272":{"title":"Example Labels","titles":["Retention Labels: User Interface Guide","Creating a Label"]},"273":{"title":"Success and Error Handling","titles":["Retention Labels: User Interface Guide","Creating a Label"]},"274":{"title":"Editing a Label","titles":["Retention Labels: User Interface Guide"]},"275":{"title":"Editable Fields","titles":["Retention Labels: User Interface Guide","Editing a Label"]},"276":{"title":"Retention Period Restrictions","titles":["Retention Labels: User Interface Guide","Editing a Label"]},"277":{"title":"Update Process","titles":["Retention Labels: User Interface Guide","Editing a Label"]},"278":{"title":"Deleting a Label","titles":["Retention Labels: User Interface Guide"]},"279":{"title":"Smart Deletion Behavior","titles":["Retention Labels: User Interface Guide","Deleting a Label"]},"280":{"title":"Hard Delete","titles":["Retention Labels: User Interface Guide","Deleting a Label","Smart Deletion Behavior"]},"281":{"title":"Soft Disable","titles":["Retention Labels: User Interface Guide","Deleting a Label","Smart Deletion Behavior"]},"282":{"title":"Confirmation Dialog","titles":["Retention Labels: User Interface Guide","Deleting a Label"]},"283":{"title":"Applying Labels to Emails","titles":["Retention Labels: User Interface Guide"]},"284":{"title":"From Email Detail Page","titles":["Retention Labels: User Interface Guide","Applying Labels to Emails"]},"285":{"title":"Label Application Process","titles":["Retention Labels: User Interface Guide","Applying Labels to Emails"]},"286":{"title":"One Label Per Email Rule","titles":["Retention Labels: User Interface Guide","Applying Labels to Emails"]},"287":{"title":"Permissions Required","titles":["Retention Labels: User Interface Guide"]},"288":{"title":"Label Management","titles":["Retention Labels: User Interface Guide","Permissions Required"]},"289":{"title":"Email Label Operations","titles":["Retention Labels: User Interface Guide","Permissions Required"]},"290":{"title":"Status Indicators","titles":["Retention Labels: User Interface Guide"]},"291":{"title":"Enabled Labels (Green Badge)","titles":["Retention Labels: User Interface Guide","Status Indicators"]},"292":{"title":"Disabled Labels (Gray Badge)","titles":["Retention Labels: User Interface Guide","Status Indicators"]},"293":{"title":"Best Practices","titles":["Retention Labels: User Interface Guide"]},"294":{"title":"Naming Conventions","titles":["Retention Labels: User Interface Guide","Best Practices"]},"295":{"title":"Descriptions","titles":["Retention Labels: User Interface Guide","Best Practices"]},"296":{"title":"Retention Periods","titles":["Retention Labels: User Interface Guide","Best Practices"]},"297":{"title":"Label Lifecycle","titles":["Retention Labels: User Interface Guide","Best Practices"]},"298":{"title":"Troubleshooting","titles":["Retention Labels: User Interface Guide"]},"299":{"title":"Cannot Edit Retention Period","titles":["Retention Labels: User Interface Guide","Troubleshooting"]},"300":{"title":"Label Not Appearing in Email Application Dropdown","titles":["Retention Labels: User Interface Guide","Troubleshooting"]},"301":{"title":"Cannot Delete Label","titles":["Retention Labels: User Interface Guide","Troubleshooting"]},"302":{"title":"Permission Denied Errors","titles":["Retention Labels: User Interface Guide","Troubleshooting"]},"303":{"title":"Retention Labels","titles":[]},"304":{"title":"Core Principles","titles":["Retention Labels"]},"305":{"title":"1. Item-Level Retention Override","titles":["Retention Labels","Core Principles"]},"306":{"title":"2. One Label Per Email","titles":["Retention Labels","Core Principles"]},"307":{"title":"3. Deletion Behavior","titles":["Retention Labels","Core Principles"]},"308":{"title":"4. Immutable Retention Period","titles":["Retention Labels","Core Principles"]},"309":{"title":"5. User Attribution and Audit Trail","titles":["Retention Labels","Core Principles"]},"310":{"title":"6. Lifecycle Integration","titles":["Retention Labels","Core Principles"]},"311":{"title":"Feature Requirements","titles":["Retention Labels"]},"312":{"title":"Use Cases","titles":["Retention Labels"]},"313":{"title":"Legal Hold Alternative","titles":["Retention Labels","Use Cases"]},"314":{"title":"Executive Communications","titles":["Retention Labels","Use Cases"]},"315":{"title":"Regulatory Exceptions","titles":["Retention Labels","Use Cases"]},"316":{"title":"Project-Specific Retention","titles":["Retention Labels","Use Cases"]},"317":{"title":"Architecture Overview","titles":["Retention Labels"]},"318":{"title":"Data Model","titles":["Retention Labels"]},"319":{"title":"Retention Labels Table","titles":["Retention Labels","Data Model"]},"320":{"title":"Email Label Applications Table","titles":["Retention Labels","Data Model"]},"321":{"title":"Integration Points","titles":["Retention Labels"]},"322":{"title":"Lifecycle Worker","titles":["Retention Labels","Integration Points"]},"323":{"title":"Audit Log","titles":["Retention Labels","Integration Points"]},"324":{"title":"Email Detail Pages","titles":["Retention Labels","Integration Points"]},"325":{"title":"Retention Policy: API Endpoints","titles":[]},"326":{"title":"List All Policies","titles":["Retention Policy: API Endpoints"]},"327":{"title":"Response Body","titles":["Retention Policy: API Endpoints","List All Policies"]},"328":{"title":"Get Policy by ID","titles":["Retention Policy: API Endpoints"]},"329":{"title":"Path Parameters","titles":["Retention Policy: API Endpoints","Get Policy by ID"]},"330":{"title":"Response Body","titles":["Retention Policy: API Endpoints","Get Policy by ID"]},"331":{"title":"Create Policy","titles":["Retention Policy: API Endpoints"]},"332":{"title":"Request Body","titles":["Retention Policy: API Endpoints","Create Policy"]},"333":{"title":"Conditions (RuleGroup) Schema","titles":["Retention Policy: API Endpoints","Create Policy","Request Body"]},"334":{"title":"Example Request","titles":["Retention Policy: API Endpoints","Create Policy"]},"335":{"title":"Response","titles":["Retention Policy: API Endpoints","Create Policy"]},"336":{"title":"Update Policy","titles":["Retention Policy: API Endpoints"]},"337":{"title":"Path Parameters","titles":["Retention Policy: API Endpoints","Update Policy"]},"338":{"title":"Request Body","titles":["Retention Policy: API Endpoints","Update Policy"]},"339":{"title":"Response","titles":["Retention Policy: API Endpoints","Update Policy"]},"340":{"title":"Delete Policy","titles":["Retention Policy: API Endpoints"]},"341":{"title":"Path Parameters","titles":["Retention Policy: API Endpoints","Delete Policy"]},"342":{"title":"Response","titles":["Retention Policy: API Endpoints","Delete Policy"]},"343":{"title":"Evaluate Email (Policy Simulator)","titles":["Retention Policy: API Endpoints"]},"344":{"title":"Request Body","titles":["Retention Policy: API Endpoints","Evaluate Email (Policy Simulator)"]},"345":{"title":"Example Request","titles":["Retention Policy: API Endpoints","Evaluate Email (Policy Simulator)"]},"346":{"title":"Response Body","titles":["Retention Policy: API Endpoints","Evaluate Email (Policy Simulator)"]},"347":{"title":"Response Codes","titles":["Retention Policy: API Endpoints","Evaluate Email (Policy Simulator)"]},"348":{"title":"Retention Policy: User Interface","titles":[]},"349":{"title":"Policy Table","titles":["Retention Policy: User Interface"]},"350":{"title":"Creating a Policy","titles":["Retention Policy: User Interface"]},"351":{"title":"Basic Information","titles":["Retention Policy: User Interface","Creating a Policy"]},"352":{"title":"Ingestion Scope","titles":["Retention Policy: User Interface","Creating a Policy"]},"353":{"title":"Condition Rules","titles":["Retention Policy: User Interface","Creating a Policy"]},"354":{"title":"Supported Operators","titles":["Retention Policy: User Interface","Creating a Policy"]},"355":{"title":"Policy Status","titles":["Retention Policy: User Interface","Creating a Policy"]},"356":{"title":"Editing a Policy","titles":["Retention Policy: User Interface"]},"357":{"title":"Deleting a Policy","titles":["Retention Policy: User Interface"]},"358":{"title":"Policy Simulator","titles":["Retention Policy: User Interface"]},"359":{"title":"Simulator Input Fields","titles":["Retention Policy: User Interface","Policy Simulator"]},"360":{"title":"Simulator Results","titles":["Retention Policy: User Interface","Policy Simulator"]},"361":{"title":"Retention Policy","titles":[]},"362":{"title":"Core Principles","titles":["Retention Policy"]},"363":{"title":"1. Policy-Based Automation","titles":["Retention Policy","Core Principles"]},"364":{"title":"2. Condition-Based Targeting","titles":["Retention Policy","Core Principles"]},"365":{"title":"3. Ingestion Scope","titles":["Retention Policy","Core Principles"]},"366":{"title":"4. Priority and Max-Duration-Wins","titles":["Retention Policy","Core Principles"]},"367":{"title":"5. Full Audit Trail","titles":["Retention Policy","Core Principles"]},"368":{"title":"6. Fail-Safe Behavior","titles":["Retention Policy","Core Principles"]},"369":{"title":"Feature Requirements","titles":["Retention Policy"]},"370":{"title":"Architecture Overview","titles":["Retention Policy"]},"371":{"title":"Retention Policy: Lifecycle Worker","titles":[]},"372":{"title":"Location","titles":["Retention Policy: Lifecycle Worker"]},"373":{"title":"How It Works","titles":["Retention Policy: Lifecycle Worker"]},"374":{"title":"Scheduling","titles":["Retention Policy: Lifecycle Worker","How It Works"]},"375":{"title":"Batch Processing","titles":["Retention Policy: Lifecycle Worker","How It Works"]},"376":{"title":"Per-Email Processing Flow","titles":["Retention Policy: Lifecycle Worker","How It Works"]},"377":{"title":"Error Handling","titles":["Retention Policy: Lifecycle Worker","How It Works"]},"378":{"title":"System Actor","titles":["Retention Policy: Lifecycle Worker"]},"379":{"title":"Audit Trail","titles":["Retention Policy: Lifecycle Worker"]},"380":{"title":"Configuration","titles":["Retention Policy: Lifecycle Worker"]},"381":{"title":"BullMQ Worker Settings","titles":["Retention Policy: Lifecycle Worker"]},"382":{"title":"Integration with Deletion Guard","titles":["Retention Policy: Lifecycle Worker"]},"383":{"title":"Retention Policy: Backend Implementation","titles":[]},"384":{"title":"Database Schema","titles":["Retention Policy: Backend Implementation"]},"385":{"title":"CRUD Operations","titles":["Retention Policy: Backend Implementation"]},"386":{"title":"createPolicy(data, actorId, actorIp)","titles":["Retention Policy: Backend Implementation","CRUD Operations"]},"387":{"title":"getPolicies()","titles":["Retention Policy: Backend Implementation","CRUD Operations"]},"388":{"title":"getPolicyById(id)","titles":["Retention Policy: Backend Implementation","CRUD Operations"]},"389":{"title":"updatePolicy(id, data, actorId, actorIp)","titles":["Retention Policy: Backend Implementation","CRUD Operations"]},"390":{"title":"deletePolicy(id, actorId, actorIp)","titles":["Retention Policy: Backend Implementation","CRUD Operations"]},"391":{"title":"Evaluation Engine","titles":["Retention Policy: Backend Implementation"]},"392":{"title":"evaluateEmail(metadata)","titles":["Retention Policy: Backend Implementation","Evaluation Engine"]},"393":{"title":"_evaluateRuleGroup(group, metadata)","titles":["Retention Policy: Backend Implementation","Evaluation Engine"]},"394":{"title":"_evaluateRule(rule, metadata)","titles":["Retention Policy: Backend Implementation","Evaluation Engine"]},"395":{"title":"_applyOperator(haystack, operator, needle)","titles":["Retention Policy: Backend Implementation","Evaluation Engine"]},"396":{"title":"Security: regex_match Safeguards","titles":["Retention Policy: Backend Implementation","Evaluation Engine"]},"397":{"title":"Request Validation","titles":["Retention Policy: Backend Implementation"]},"398":{"title":"Module Registration","titles":["Retention Policy: Backend Implementation"]},"399":{"title":"Get Started 👋","titles":[]},"400":{"title":"What is Open Archiver?","titles":["Get Started 👋"]},"401":{"title":"Key Features","titles":["Get Started 👋"]},"402":{"title":"Installation","titles":["Get Started 👋"]},"403":{"title":"Data Source Configuration 🔌","titles":["Get Started 👋"]},"404":{"title":"Contributing","titles":["Get Started 👋"]},"405":{"title":"services","titles":[]},"406":{"title":"IAM Policy","titles":[]},"407":{"title":"Policy Structure","titles":["IAM Policy"]},"408":{"title":"Actions","titles":["IAM Policy"]},"409":{"title":"Subjects","titles":["IAM Policy"]},"410":{"title":"Advanced Conditions with MongoDB-Style Queries","titles":["IAM Policy"]},"411":{"title":"Supported Operators and Examples","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries"]},"412":{"title":"$eq (Equal)","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries","Supported Operators and Examples"]},"413":{"title":"$ne (Not Equal)","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries","Supported Operators and Examples"]},"414":{"title":"$in (In Array)","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries","Supported Operators and Examples"]},"415":{"title":"$nin (Not In Array)","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries","Supported Operators and Examples"]},"416":{"title":"$lt / $lte (Less Than / Less Than or Equal)","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries","Supported Operators and Examples"]},"417":{"title":"$gt / $gte (Greater Than / Greater Than or Equal)","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries","Supported Operators and Examples"]},"418":{"title":"$exists","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries","Supported Operators and Examples"]},"419":{"title":"Inverted Rules: Creating Exceptions with cannot","titles":["IAM Policy"]},"420":{"title":"Policy Evaluation Logic","titles":["IAM Policy"]},"421":{"title":"Dynamic Policies with Placeholders","titles":["IAM Policy","Policy Evaluation Logic"]},"422":{"title":"Special Permissions for User and Role Management","titles":["IAM Policy"]},"423":{"title":"Policy Examples","titles":["IAM Policy"]},"424":{"title":"Administrator","titles":["IAM Policy","Policy Examples"]},"425":{"title":"End-User","titles":["IAM Policy","Policy Examples"]},"426":{"title":"Global Read-Only Auditor","titles":["IAM Policy","Policy Examples"]},"427":{"title":"Ingestion Admin","titles":["IAM Policy","Policy Examples"]},"428":{"title":"Auditor for Specific Ingestion Sources","titles":["IAM Policy","Policy Examples"]},"429":{"title":"Limit Access to a Specific Mailbox","titles":["IAM Policy","Policy Examples"]},"430":{"title":"Job Queue Service","titles":[]},"431":{"title":"Architecture","titles":["Job Queue Service"]},"432":{"title":"Queues","titles":["Job Queue Service","Architecture"]},"433":{"title":"Job Flow","titles":["Job Queue Service","Architecture"]},"434":{"title":"Sync Cycle Coordination","titles":["Job Queue Service"]},"435":{"title":"Session Heartbeat","titles":["Job Queue Service","Sync Cycle Coordination"]},"436":{"title":"Stale Session Detection","titles":["Job Queue Service","Sync Cycle Coordination"]},"437":{"title":"Configuration","titles":["Job Queue Service"]},"438":{"title":"Tuning INGESTION_WORKER_CONCURRENCY","titles":["Job Queue Service","Configuration"]},"439":{"title":"Tuning MEILI_INDEXING_BATCH","titles":["Job Queue Service","Configuration"]},"440":{"title":"Resilience","titles":["Job Queue Service"]},"441":{"title":"Pluggable Storage Service (StorageService)","titles":[]},"442":{"title":"Overview","titles":["Pluggable Storage Service (StorageService)"]},"443":{"title":"Configuration","titles":["Pluggable Storage Service (StorageService)"]},"444":{"title":"1. Choosing the Backend","titles":["Pluggable Storage Service (StorageService)","Configuration"]},"445":{"title":"2. Local Filesystem Configuration","titles":["Pluggable Storage Service (StorageService)","Configuration"]},"446":{"title":"3. S3-Compatible Storage Configuration","titles":["Pluggable Storage Service (StorageService)","Configuration"]},"447":{"title":"How to Use the Service","titles":["Pluggable Storage Service (StorageService)"]},"448":{"title":"Example: Usage in IngestionService","titles":["Pluggable Storage Service (StorageService)","How to Use the Service"]},"449":{"title":"API Reference","titles":["Pluggable Storage Service (StorageService)"]},"450":{"title":"put(path, content)","titles":["Pluggable Storage Service (StorageService)","API Reference"]},"451":{"title":"get(path)","titles":["Pluggable Storage Service (StorageService)","API Reference"]},"452":{"title":"delete(path)","titles":["Pluggable Storage Service (StorageService)","API Reference"]},"453":{"title":"exists(path)","titles":["Pluggable Storage Service (StorageService)","API Reference"]},"454":{"title":"OCR Service","titles":[]},"455":{"title":"Overview","titles":["OCR Service"]},"456":{"title":"Configuration","titles":["OCR Service"]},"457":{"title":"File Size Limits","titles":["OCR Service"]},"458":{"title":"Supported File Formats","titles":["OCR Service"]},"459":{"title":"With Apache Tika","titles":["OCR Service","Supported File Formats"]},"460":{"title":"With Legacy Fallback","titles":["OCR Service","Supported File Formats"]},"461":{"title":"Features of the Tika Integration (OcrService)","titles":["OCR Service"]},"462":{"title":"Caching","titles":["OCR Service","Features of the Tika Integration (OcrService)"]},"463":{"title":"Concurrency Management (Semaphore)","titles":["OCR Service","Features of the Tika Integration (OcrService)"]},"464":{"title":"Health Check and DNS Fallback","titles":["OCR Service","Features of the Tika Integration (OcrService)"]},"465":{"title":"Legacy Fallback Methods","titles":["OCR Service"]},"466":{"title":"EML Import","titles":[]},"467":{"title":"Preparing the Zip File","titles":["EML Import"]},"468":{"title":"Creating an EML Ingestion Source","titles":["EML Import"]},"469":{"title":"Connecting to Google Workspace","titles":[]},"470":{"title":"Prerequisites","titles":["Connecting to Google Workspace"]},"471":{"title":"Setup Overview","titles":["Connecting to Google Workspace"]},"472":{"title":"Part 1: Google Cloud Console Setup","titles":["Connecting to Google Workspace","Setup Overview"]},"473":{"title":"Troubleshooting","titles":["Connecting to Google Workspace","Setup Overview"]},"474":{"title":"Error: "iam.disableServiceAccountKeyCreation"","titles":["Connecting to Google Workspace","Setup Overview","Troubleshooting"]},"475":{"title":"Part 2: Grant Domain-Wide Delegation","titles":["Connecting to Google Workspace","Setup Overview"]},"476":{"title":"Part 3: Connecting in OpenArchiver","titles":["Connecting to Google Workspace","Setup Overview"]},"477":{"title":"What Happens Next?","titles":["Connecting to Google Workspace"]},"478":{"title":"Connecting Email Providers","titles":[]},"479":{"title":"Connecting to a Generic IMAP Server","titles":[]},"480":{"title":"Step-by-Step Guide","titles":["Connecting to a Generic IMAP Server"]},"481":{"title":"Security Recommendation: Use an App Password","titles":["Connecting to a Generic IMAP Server"]},"482":{"title":"How to Obtain an App Password for Gmail","titles":["Connecting to a Generic IMAP Server","Security Recommendation: Use an App Password"]},"483":{"title":"How to Obtain an App Password for Outlook/Microsoft Accounts","titles":["Connecting to a Generic IMAP Server","Security Recommendation: Use an App Password"]},"484":{"title":"What Happens Next?","titles":["Connecting to a Generic IMAP Server"]},"485":{"title":"Mbox Ingestion","titles":[]},"486":{"title":"1. Exporting from Your Email Client","titles":["Mbox Ingestion"]},"487":{"title":"2. Uploading to OpenArchiver","titles":["Mbox Ingestion"]},"488":{"title":"3. Folder Structure","titles":["Mbox Ingestion"]},"489":{"title":"Connecting to Microsoft 365","titles":[]},"490":{"title":"Prerequisites","titles":["Connecting to Microsoft 365"]},"491":{"title":"Setup Overview","titles":["Connecting to Microsoft 365"]},"492":{"title":"Part 1: Register a New Application in Microsoft Entra ID","titles":["Connecting to Microsoft 365","Setup Overview"]},"493":{"title":"Part 2: Grant API Permissions","titles":["Connecting to Microsoft 365","Setup Overview"]},"494":{"title":"Part 3: Create a Client Secret","titles":["Connecting to Microsoft 365","Setup Overview"]},"495":{"title":"Part 4: Connecting in OpenArchiver","titles":["Connecting to Microsoft 365","Setup Overview"]},"496":{"title":"What Happens Next?","titles":["Connecting to Microsoft 365"]},"497":{"title":"PST Import","titles":[]},"498":{"title":"Preparing the PST File","titles":["PST Import"]},"499":{"title":"Creating a PST Ingestion Source","titles":["PST Import"]},"500":{"title":"Integrity Check","titles":[]},"501":{"title":"How It Works","titles":["Integrity Check"]},"502":{"title":"The Integrity Report","titles":["Integrity Check"]},"503":{"title":"Statuses","titles":["Integrity Check","The Integrity Report"]},"504":{"title":"Reasons for an "Invalid" Status","titles":["Integrity Check","The Integrity Report"]},"505":{"title":"What to Do If an Integrity Check Fails","titles":["Integrity Check"]},"506":{"title":"Installation Guide","titles":[]},"507":{"title":"Prerequisites","titles":["Installation Guide"]},"508":{"title":"1. Clone the Repository","titles":["Installation Guide"]},"509":{"title":"2. Create a Directory for Local Storage (Important)","titles":["Installation Guide"]},"510":{"title":"3. Configure Your Environment","titles":["Installation Guide"]},"511":{"title":"Key Configuration Steps","titles":["Installation Guide","3. Configure Your Environment"]},"512":{"title":"Storage Configuration","titles":["Installation Guide","3. Configure Your Environment"]},"513":{"title":"Using External Services","titles":["Installation Guide","3. Configure Your Environment"]},"514":{"title":"Environment Variable Reference","titles":["Installation Guide","3. Configure Your Environment"]},"515":{"title":"Application Settings","titles":["Installation Guide","3. Configure Your Environment","Environment Variable Reference"]},"516":{"title":"Docker Compose Service Configuration","titles":["Installation Guide","3. Configure Your Environment","Environment Variable Reference"]},"517":{"title":"Storage Settings","titles":["Installation Guide","3. Configure Your Environment","Environment Variable Reference"]},"518":{"title":"Security & Authentication","titles":["Installation Guide","3. Configure Your Environment","Environment Variable Reference"]},"519":{"title":"Apache Tika Integration","titles":["Installation Guide","3. Configure Your Environment","Environment Variable Reference"]},"520":{"title":"4. Run the Application","titles":["Installation Guide"]},"521":{"title":"5. Access the Application","titles":["Installation Guide"]},"522":{"title":"6. Next Steps","titles":["Installation Guide"]},"523":{"title":"Updating Your Installation","titles":["Installation Guide"]},"524":{"title":"Deploying on Coolify","titles":["Installation Guide"]},"525":{"title":"Modify docker-compose.yml for Coolify","titles":["Installation Guide","Deploying on Coolify"]},"526":{"title":"Where is my data stored (When using local storage and Docker)?","titles":["Installation Guide"]},"527":{"title":"To save data to a specific folder","titles":["Installation Guide","Where is my data stored (When using local storage and Docker)?"]},"528":{"title":"System Settings","titles":[]},"529":{"title":"Configuration","titles":["System Settings"]},"530":{"title":"Language","titles":["System Settings","Configuration"]},"531":{"title":"Default Theme","titles":["System Settings","Configuration"]},"532":{"title":"Support Email","titles":["System Settings","Configuration"]},"533":{"title":"Troubleshooting CORS Errors","titles":[]},"534":{"title":"Symptoms","titles":["Troubleshooting CORS Errors"]},"535":{"title":"Root Cause","titles":["Troubleshooting CORS Errors"]},"536":{"title":"Solution","titles":["Troubleshooting CORS Errors"]},"537":{"title":"Example Configuration","titles":["Troubleshooting CORS Errors","Solution"]},"538":{"title":"Upgrading Your Instance","titles":[]},"539":{"title":"Checking for New Versions","titles":["Upgrading Your Instance"]},"540":{"title":"Upgrading Your Instance","titles":["Upgrading Your Instance"]},"541":{"title":"Migrating Data","titles":["Upgrading Your Instance"]},"542":{"title":"Upgrading Meilisearch","titles":["Upgrading Your Instance"]},"543":{"title":"Upgrading Meilisearch","titles":[]},"544":{"title":"Experimental: Dumpless Upgrade","titles":["Upgrading Meilisearch"]},"545":{"title":"How to Enable","titles":["Upgrading Meilisearch","Experimental: Dumpless Upgrade"]},"546":{"title":"Standard Migration Process (Recommended)","titles":["Upgrading Meilisearch"]},"547":{"title":"Step 1: Create a Dump","titles":["Upgrading Meilisearch","Standard Migration Process (Recommended)"]},"548":{"title":"Step 2: Upgrade Your Open Archiver Instance","titles":["Upgrading Meilisearch","Standard Migration Process (Recommended)"]},"549":{"title":"Step 3: Import the Dump","titles":["Upgrading Meilisearch","Standard Migration Process (Recommended)"]},"550":{"title":"Step 4: Clean Up","titles":["Upgrading Meilisearch","Standard Migration Process (Recommended)"]}},"dirtCount":0,"index":[["└──",{"2":{"467":5}}],["└→",{"2":{"433":4}}],["│",{"2":{"467":4}}],["├──",{"2":{"467":4}}],["993",{"2":{"480":1}}],["9998",{"2":{"456":1,"464":1,"519":1}}],["900000",{"2":{"518":1}}],["9000",{"2":{"446":1}}],["9012",{"2":{"99":1,"346":1}}],["`failed",{"2":{"448":1}}],["`",{"2":{"448":2}}],["`successfully",{"2":{"448":1}}],["`$",{"2":{"448":1}}],["~50kb",{"2":{"438":1}}],["×",{"2":{"433":1}}],["$app",{"2":{"536":1}}],["$",{"2":{"421":1,"425":2,"448":3,"509":2}}],["$exists",{"0":{"418":1},"2":{"418":1}}],["$eq",{"0":{"412":1},"2":{"412":1}}],["$gte",{"0":{"417":1},"2":{"417":1}}],["$gt",{"0":{"417":1},"2":{"417":1}}],["$lte",{"0":{"416":1},"2":{"416":1}}],["$lt",{"0":{"416":1},"2":{"416":2,"417":1}}],["$nin",{"0":{"415":1},"2":{"415":1}}],["$ne",{"0":{"413":1},"2":{"413":1}}],["$in",{"0":{"414":1},"2":{"414":1,"428":2}}],["🔌",{"0":{"403":1}}],["👋",{"0":{"399":1},"1":{"400":1,"401":1,"402":1,"403":1,"404":1}}],["||",{"2":{"434":1}}],["|",{"2":{"332":2,"450":1}}],["zip",{"0":{"467":1},"2":{"459":1,"466":1,"467":5,"468":6}}],["zero",{"2":{"308":1,"392":1}}],["zod",{"2":{"183":1,"317":1,"370":1,"397":1}}],["6379",{"2":{"516":1}}],["6",{"0":{"310":1,"368":1,"522":1},"2":{"272":1}}],["60000",{"2":{"50":1}}],["7d",{"2":{"518":1}}],["7700",{"2":{"516":1,"547":1}}],["7",{"2":{"263":1,"272":1,"296":1,"327":2}}],["7+",{"2":{"232":1}}],["7890",{"2":{"99":1,"121":1,"130":1,"135":1,"136":1,"194":1,"215":1,"220":1,"221":1,"327":1,"346":1}}],["≥",{"2":{"228":1,"397":2}}],["==",{"2":{"395":1}}],["===",{"2":{"376":1,"395":1}}],["=",{"2":{"209":1,"296":1,"307":1,"351":1,"384":3,"392":2,"434":1,"448":2}}],["+",{"2":{"175":1,"180":1,"190":1,"395":1,"434":1,"492":1,"493":1,"494":1}}],["←",{"2":{"172":1}}],["→",{"2":{"144":2,"164":2,"238":2,"267":2,"348":2,"433":1}}],["q4",{"2":{"200":2,"205":2,"272":1,"294":1,"345":1}}],["q3",{"2":{"99":1,"130":1,"148":1}}],["quickly",{"2":{"175":1}}],["queries",{"0":{"175":1,"410":1},"1":{"411":1,"412":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1},"2":{"322":1,"392":1,"410":1}}],["query=subject",{"2":{"239":1}}],["queryused",{"2":{"121":2}}],["query",{"0":{"73":1,"116":1},"1":{"117":1,"118":1,"119":1,"120":1,"121":1,"122":1},"2":{"116":1,"118":1,"119":1,"120":1,"121":2,"143":1,"154":1,"155":3,"156":1,"164":2,"167":2,"175":1,"179":1,"180":1,"190":1,"248":1,"376":1,"410":1,"496":1}}],["queue",{"0":{"46":1,"430":1},"1":{"431":1,"432":1,"433":1,"434":1,"435":1,"436":1,"437":1,"438":1,"439":1,"440":1},"2":{"374":1,"381":2,"430":1,"431":3,"432":1,"433":1,"435":1}}],["queues",{"0":{"45":1,"432":1},"2":{"44":2,"440":1}}],["quot",{"0":{"166":2,"474":2,"504":2},"2":{"13":2,"84":2,"86":2,"114":2,"119":12,"143":8,"146":2,"147":2,"148":4,"152":2,"156":2,"162":2,"164":2,"179":2,"232":2,"233":2,"234":2,"235":6,"236":2,"263":2,"264":2,"265":4,"269":2,"270":2,"272":10,"276":2,"280":2,"281":6,"282":2,"284":8,"285":4,"294":4,"300":2,"332":2,"338":4,"344":4,"346":2,"349":6,"350":2,"352":4,"358":2,"359":2,"360":2,"376":2,"379":2,"392":2,"407":4,"419":10,"420":2,"422":8,"450":2,"468":2,"472":26,"474":10,"475":10,"476":8,"477":4,"480":10,"481":4,"482":8,"483":4,"487":2,"492":8,"493":6,"494":2,"495":8,"496":4,"499":2,"503":4,"504":2,"505":2,"526":2,"527":2,"534":2,"544":2}}],["8901",{"2":{"99":1,"130":1,"194":1,"334":1,"345":1}}],["8858",{"2":{"74":2}}],["5432",{"2":{"516":1}}],["5xx",{"2":{"255":1}}],["50mb",{"2":{"457":1,"465":1}}],["50",{"2":{"248":1,"333":1,"377":1,"381":1,"397":2}}],["500",{"2":{"126":1,"155":1,"216":1,"226":1,"333":1,"344":2,"397":4,"437":1,"516":1}}],["5",{"0":{"95":1,"176":1,"236":1,"242":1,"309":1,"367":1,"521":1},"2":{"236":1,"437":1,"440":1,"465":1}}],["know",{"2":{"448":1}}],["knowing",{"2":{"434":1}}],["known",{"2":{"378":1}}],["knowledge",{"2":{"94":1}}],["kept",{"2":{"361":1,"366":1}}],["keeps",{"2":{"307":1,"462":1}}],["keep",{"2":{"281":1,"381":2,"400":1,"472":1}}],["key=$",{"2":{"545":1,"549":1}}],["key=minioadmin",{"2":{"446":1}}],["keyword",{"2":{"180":1}}],["keywords",{"2":{"154":1,"164":2,"181":1,"232":1,"233":1,"263":1,"264":1}}],["key",{"0":{"3":1,"5":1,"12":1,"13":1,"251":1,"401":1,"511":1},"1":{"13":1},"2":{"2":1,"12":2,"13":3,"119":1,"186":1,"238":2,"252":2,"261":1,"266":1,"320":2,"410":2,"412":1,"446":5,"462":2,"472":4,"474":3,"476":1,"494":1,"511":5,"516":2,"517":5,"518":6,"545":1,"547":3,"549":1}}],["keys",{"0":{"2":1,"4":1},"1":{"3":1,"4":1,"5":1},"2":{"2":2,"12":2,"13":1,"79":1,"251":3,"472":1,"474":1}}],["38",{"2":{"526":1}}],["32",{"2":{"511":4,"517":1,"518":1}}],["31",{"2":{"120":1,"121":1}}],["310",{"2":{"99":1}}],["345678901234",{"2":{"99":1,"346":1}}],["3000",{"2":{"515":3,"521":1,"534":2,"536":1,"537":2}}],["30",{"2":{"99":2,"194":1,"215":1,"221":1,"436":1}}],["3",{"0":{"93":1,"174":1,"234":1,"240":1,"249":1,"307":1,"365":1,"446":1,"476":1,"488":1,"494":1,"510":1,"549":1},"1":{"511":1,"512":1,"513":1,"514":1,"515":1,"516":1,"517":1,"518":1,"519":1},"2":{"296":1,"472":1,"518":1}}],["36500",{"2":{"296":1}}],["3650",{"2":{"194":1,"272":1,"296":1,"334":1,"346":1}}],["365",{"0":{"489":1},"1":{"490":1,"491":1,"492":1,"493":1,"494":1,"495":1,"496":1},"2":{"1":1,"33":1,"400":1,"401":1,"403":1,"478":1,"489":1,"490":1,"492":1,"495":2,"522":1}}],["07",{"2":{"526":1}}],["05",{"2":{"467":1}}],["05t09",{"2":{"130":1}}],["04",{"2":{"467":1}}],["03",{"2":{"467":1}}],["03t00",{"2":{"74":1}}],["02",{"2":{"374":2,"467":1}}],["0",{"0":{"167":1,"169":1},"2":{"106":1,"122":1,"126":1,"172":1,"346":1,"374":1,"376":2,"392":1,"446":2,"518":1}}],["09",{"2":{"99":1,"130":1,"194":1}}],["01t00",{"2":{"194":1,"327":2,"416":1,"417":1}}],["01t08",{"2":{"99":1}}],["01",{"2":{"99":3,"105":1,"120":2,"121":2,"130":1,"136":1,"416":1,"417":1,"467":1}}],["000",{"2":{"104":1,"109":1,"116":1,"143":1,"148":1,"155":1,"175":1}}],["000z",{"2":{"74":1,"99":4,"130":2,"136":1,"194":2,"215":1,"221":1,"327":2,"416":1,"417":1}}],["00",{"2":{"74":2,"99":5,"130":3,"136":1,"194":3,"215":1,"221":1,"327":4,"374":2,"416":2,"417":2}}],["\\tconstructor",{"2":{"448":1}}],["\\tpublic",{"2":{"448":1}}],["\\tprivate",{"2":{"448":1}}],["\\tpattern",{"2":{"374":1}}],["\\t\\ttry",{"2":{"448":1}}],["\\t\\tthis",{"2":{"448":1}}],["\\t\\tconst",{"2":{"448":1}}],["\\t\\t\\tconsole",{"2":{"448":2}}],["\\t\\t\\tawait",{"2":{"448":1}}],["\\t\\t\\t\\t",{"2":{"334":6,"428":1}}],["\\t\\t\\t",{"2":{"74":10,"120":3,"121":3,"142":2,"227":4,"333":6,"334":4,"419":1,"425":2,"428":2,"429":1,"448":2}}],["\\t\\t",{"2":{"74":5,"99":16,"120":4,"121":4,"130":10,"142":2,"194":12,"227":4,"327":10,"333":4,"334":3,"345":5,"346":2,"407":1,"414":1,"419":7,"424":2,"425":12,"426":2,"427":2,"428":4,"429":4,"448":5,"526":4}}],["\\t",{"2":{"49":2,"74":4,"76":5,"99":4,"105":3,"110":1,"120":2,"121":4,"125":1,"130":4,"135":1,"136":5,"140":1,"142":9,"194":4,"200":3,"205":2,"210":2,"215":5,"220":1,"221":5,"225":2,"227":9,"327":2,"333":3,"334":8,"345":2,"346":4,"407":5,"414":2,"419":4,"424":2,"425":8,"426":2,"427":2,"428":2,"429":2,"448":2,"526":8,"534":3}}],["4gb",{"2":{"507":1}}],["422",{"2":{"106":1,"111":1,"122":1,"137":1,"142":2,"201":1,"206":1,"222":1,"227":2,"254":1,"335":1,"339":1,"347":1}}],["429",{"2":{"48":1,"49":1,"51":2}}],["4000",{"2":{"515":1}}],["400",{"2":{"188":1}}],["409",{"2":{"106":1,"114":1,"122":1,"137":1,"142":1,"152":1,"201":1,"204":1,"206":1,"222":1,"254":1,"335":1}}],["404",{"2":{"102":1,"111":1,"114":1,"122":1,"137":1,"141":1,"197":1,"206":1,"211":1,"222":1,"227":1,"254":2,"330":1,"339":1,"342":1}}],["401",{"2":{"13":1}}],["456",{"2":{"376":1}}],["45",{"2":{"99":1}}],["4821",{"2":{"99":1,"125":1}}],["4",{"0":{"94":1,"175":1,"235":1,"241":1,"308":1,"366":1,"495":1,"520":1,"550":1}}],["4902",{"2":{"74":2}}],["japanese",{"2":{"530":1}}],["junk",{"2":{"515":1}}],["just",{"2":{"169":1,"472":1,"511":1}}],["jpeg",{"2":{"459":1}}],["joined",{"2":{"410":1}}],["join",{"0":{"186":1},"2":{"376":1}}],["john",{"2":{"120":1,"121":1}}],["job",{"0":{"430":1,"433":1},"1":{"431":1,"432":1,"433":1,"434":1,"435":1,"436":1,"437":1,"438":1,"439":1,"440":1},"2":{"44":1,"374":2,"377":2,"381":3,"430":1,"431":1,"433":1,"434":4,"435":1,"436":2,"437":1,"438":2,"439":1,"440":1,"477":1,"496":1}}],["jobs",{"0":{"44":1,"46":1},"1":{"45":1,"46":1},"2":{"44":1,"377":1,"381":2,"432":1,"436":1,"437":1,"440":2}}],["jsonb",{"2":{"384":2,"434":1}}],["jsonnull",{"2":{"215":1}}],["json",{"2":{"49":2,"74":1,"76":2,"79":1,"83":1,"94":1,"99":1,"105":1,"110":1,"120":1,"121":2,"125":1,"130":1,"135":1,"136":1,"140":1,"142":2,"155":1,"156":1,"176":1,"190":1,"194":1,"200":1,"205":1,"210":2,"215":1,"220":1,"221":1,"225":2,"227":2,"241":1,"252":1,"327":1,"333":1,"334":1,"345":1,"346":1,"407":2,"410":1,"412":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1,"419":1,"424":1,"425":1,"426":1,"427":1,"428":1,"429":1,"459":1,"460":1,"465":1,"472":3,"474":2,"476":2,"526":1,"534":3}}],["jwt",{"0":{"11":1},"2":{"11":1,"511":1,"518":4}}],["u",{"2":{"509":1}}],["uri",{"2":{"492":1}}],["url=https",{"2":{"537":1}}],["url=http",{"2":{"456":1,"536":1,"537":1}}],["url",{"2":{"96":1,"191":1,"325":1,"446":1,"456":4,"459":1,"464":1,"513":1,"515":5,"516":2,"519":2,"535":3,"536":8,"537":2}}],["uuids",{"2":{"332":1,"346":1,"376":1,"384":1,"392":1}}],["uuid",{"2":{"100":1,"101":2,"104":2,"108":2,"113":2,"117":2,"124":2,"129":2,"130":1,"133":2,"134":2,"136":1,"139":4,"143":3,"146":1,"185":2,"186":3,"195":1,"196":2,"203":2,"208":2,"214":2,"218":2,"219":2,"224":2,"228":4,"241":1,"269":1,"319":1,"320":3,"328":1,"329":2,"337":2,"341":2,"344":2,"349":1,"376":1,"379":1,"384":1,"388":1,"390":1,"397":1}}],["unexpected",{"2":{"534":1}}],["unit",{"2":{"517":1}}],["unified",{"2":{"442":1}}],["universal",{"2":{"401":1}}],["uniqueness",{"2":{"186":1,"275":1}}],["unique",{"2":{"83":1,"104":1,"148":1,"185":1,"198":1,"199":1,"228":1,"271":1,"316":1,"319":2,"331":1,"332":1,"351":1,"384":2,"448":1,"450":1,"451":1,"452":1,"453":1,"475":2,"481":1,"501":1,"511":2}}],["until",{"2":{"375":1,"484":1,"544":1}}],["unused",{"2":{"297":1}}],["undone",{"2":{"282":1}}],["underlying",{"2":{"442":1}}],["under",{"0":{"162":1},"2":{"155":1,"156":1,"162":1,"168":1,"173":1,"182":1,"188":1,"363":1,"472":1,"475":2}}],["underneath",{"2":{"146":1,"269":1,"349":1}}],["understand",{"2":{"94":1,"266":1}}],["unnecessary",{"2":{"258":1,"463":1}}],["unlike",{"2":{"303":1}}],["unlink",{"2":{"190":1}}],["unlinked",{"2":{"190":1}}],["unlinks",{"2":{"138":1}}],["unlabeled",{"2":{"248":1}}],["unconditional",{"2":{"170":1}}],["unprocessable",{"2":{"106":1,"111":1,"122":1,"137":1,"142":1,"201":1,"206":1,"222":1,"227":1,"335":1,"339":1,"347":1}}],["unable",{"2":{"484":1}}],["unambiguous",{"2":{"306":1}}],["unambiguously",{"2":{"93":1}}],["unaffected",{"2":{"138":1}}],["unauthorized",{"2":{"13":1,"422":1,"504":1,"505":1}}],["unbroken",{"2":{"86":1,"95":1}}],["us8wwos0o4ok4go4gc8cog84",{"2":{"526":4}}],["usually",{"2":{"474":1,"547":1}}],["usage",{"0":{"448":1},"2":{"207":1,"271":1,"457":1}}],["using",{"0":{"513":1,"526":1},"1":{"527":1},"2":{"80":1,"152":1,"236":1,"251":1,"364":3,"375":1,"384":1,"393":1,"397":1,"399":1,"424":1,"428":1,"434":1,"440":1,"446":1,"458":1,"465":3,"467":1,"468":1,"474":1,"481":1,"484":1,"487":1,"499":1,"506":1,"510":1,"512":1,"520":1,"526":1,"535":2,"536":1,"544":1,"545":2,"546":1}}],["useful",{"2":{"268":1,"407":1,"416":1,"419":1,"466":1,"497":1}}],["used",{"2":{"80":1,"156":1,"176":1,"301":1,"310":1,"366":1,"391":1,"392":1,"396":1,"447":1,"455":1,"462":2,"463":1,"488":2,"515":2,"516":2,"530":1,"543":1,"547":1}}],["uses",{"2":{"79":1,"154":1,"180":1,"186":1,"279":1,"320":1,"401":1,"444":2,"455":1,"464":1,"469":1,"489":1,"512":1}}],["use",{"0":{"178":1,"231":1,"312":1,"447":1,"481":1},"1":{"179":1,"180":1,"181":1,"182":1,"232":1,"233":1,"234":1,"235":1,"236":1,"313":1,"314":1,"315":1,"316":1,"448":1,"482":1,"483":1},"2":{"10":2,"31":1,"142":1,"145":1,"149":1,"155":1,"166":1,"175":1,"186":1,"227":1,"229":1,"232":1,"235":1,"238":1,"239":1,"244":1,"251":1,"258":1,"266":1,"276":1,"282":1,"292":1,"294":1,"296":1,"400":1,"408":1,"409":1,"410":1,"412":1,"413":1,"414":1,"415":1,"419":2,"421":1,"443":1,"444":1,"446":1,"448":1,"455":1,"463":1,"467":1,"468":1,"474":1,"476":1,"480":1,"482":1,"483":2,"486":1,"487":1,"494":1,"496":1,"498":1,"499":1,"507":1,"509":1,"512":2,"513":1,"517":1,"526":1,"536":1,"544":1,"547":1}}],["username",{"2":{"480":2,"484":1,"516":2}}],["user1",{"2":{"429":1}}],["user123",{"2":{"215":1,"221":1}}],["useremail",{"2":{"429":2}}],["userid",{"2":{"425":2,"448":2}}],["users",{"0":{"62":1,"63":1},"1":{"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1},"2":{"62":1,"71":1,"180":1,"238":1,"324":1,"406":1,"409":1,"422":2,"426":1,"475":1,"476":1,"477":3,"496":2,"528":1,"531":1,"532":1}}],["user",{"0":{"1":1,"11":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"82":1,"144":1,"267":1,"309":1,"348":1,"422":1,"425":1},"1":{"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"268":1,"269":1,"270":1,"271":1,"272":1,"273":1,"274":1,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1,"283":1,"284":1,"285":1,"286":1,"287":1,"288":1,"289":1,"290":1,"291":1,"292":1,"293":1,"294":1,"295":1,"296":1,"297":1,"298":1,"299":1,"300":1,"301":1,"302":1,"349":1,"350":1,"351":1,"352":1,"353":1,"354":1,"355":1,"356":1,"357":1,"358":1,"359":1,"360":1},"2":{"2":2,"14":1,"32":1,"62":1,"74":1,"82":2,"83":1,"92":1,"93":1,"119":1,"130":1,"136":1,"186":2,"238":2,"251":1,"309":1,"320":2,"369":1,"382":1,"398":1,"408":6,"409":2,"413":1,"415":1,"419":1,"420":2,"421":3,"422":2,"424":1,"425":4,"429":2,"433":1,"446":2,"450":1,"469":3,"474":1,"475":1,"476":1,"477":2,"489":2,"493":3,"496":1,"509":1,"516":2,"531":1,"532":1}}],["upgraded",{"2":{"550":1}}],["upgrade=true",{"2":{"545":1}}],["upgrades",{"2":{"544":1}}],["upgrade",{"0":{"544":1,"548":1},"1":{"545":1},"2":{"540":1,"541":1,"542":2,"543":1,"544":3,"545":6,"548":1}}],["upgrading",{"0":{"538":1,"540":1,"542":1,"543":1},"1":{"539":1,"540":1,"541":1,"542":1,"544":1,"545":1,"546":1,"547":1,"548":1,"549":1,"550":1},"2":{"538":1,"543":1,"546":1,"547":1}}],["upon",{"2":{"179":1,"355":1,"521":1}}],["up",{"0":{"550":1},"2":{"83":1,"167":1,"266":1,"300":1,"377":1,"399":1,"436":1,"459":1,"469":1,"489":1,"496":1,"506":1,"520":1,"521":1,"523":1,"527":1,"537":1,"540":1,"541":2,"545":1,"549":1,"550":1}}],["updating",{"0":{"523":1},"2":{"62":1,"545":1}}],["updatepolicy",{"0":{"389":1}}],["updated",{"2":{"109":1,"111":1,"169":1,"185":1,"190":1,"204":1,"205":2,"206":1,"338":1,"339":1,"384":1,"436":1,"474":1}}],["updatedat",{"2":{"99":2,"327":1,"389":1}}],["updates",{"2":{"107":1,"202":1,"277":1,"285":1,"323":1,"336":1,"389":1,"435":1}}],["update",{"0":{"28":1,"37":1,"57":1,"66":1,"69":1,"70":1,"107":1,"202":1,"277":1,"336":1},"1":{"108":1,"109":1,"110":1,"111":1,"203":1,"204":1,"205":1,"206":1,"337":1,"338":1,"339":1},"2":{"55":1,"108":1,"190":5,"203":1,"277":1,"323":4,"337":1,"384":1,"389":1,"408":2,"422":1,"484":1,"513":2,"523":1,"530":1,"539":1,"542":1}}],["uploads",{"2":{"517":1}}],["uploading",{"0":{"487":1},"2":{"533":1}}],["uploadedfilepath",{"2":{"60":1}}],["upload",{"0":{"60":1,"61":1},"1":{"61":1},"2":{"60":1,"468":1,"487":3,"499":1}}],["utc",{"2":{"51":1,"374":2}}],["ui",{"2":{"18":1,"52":1,"116":1,"162":1,"172":1,"175":1,"245":1,"266":1,"309":1,"317":1,"369":1,"382":1,"530":1}}],["ng",{"2":{"486":1}}],["n",{"2":{"349":1,"433":1,"434":1}}],["now",{"2":{"475":2,"484":1,"493":2,"494":2,"495":1,"510":1,"549":2,"550":1}}],["node",{"2":{"474":1,"515":2}}],["nodejs",{"2":{"450":1,"451":1}}],["non",{"2":{"368":1,"392":1,"396":2,"446":1}}],["normalizes",{"2":{"387":1}}],["normalization",{"2":{"79":1}}],["normal",{"2":{"268":1,"272":1,"303":1,"314":1}}],["normally",{"2":{"126":1,"174":1,"525":1}}],["no",{"2":{"86":1,"87":1,"95":1,"104":2,"114":1,"119":2,"122":1,"126":1,"130":1,"132":1,"141":1,"146":2,"149":1,"155":1,"160":1,"161":1,"167":1,"172":1,"189":1,"199":1,"215":1,"225":2,"240":1,"284":1,"332":4,"342":1,"344":1,"346":1,"349":2,"353":1,"357":1,"360":2,"365":1,"368":1,"376":2,"392":3,"427":1,"440":1,"442":1,"527":1,"541":1}}],["nothing",{"2":{"186":1}}],["notes",{"2":{"539":1}}],["note",{"2":{"114":1,"161":1,"422":1,"468":1,"474":1,"487":1,"499":1,"544":1}}],["notice",{"0":{"164":1},"2":{"105":1,"164":1,"179":1,"249":1,"264":1}}],["notification",{"2":{"87":3,"155":1,"157":1,"249":1,"273":2,"277":1,"539":1}}],["not",{"0":{"300":1,"413":1,"415":1},"2":{"13":1,"80":2,"87":2,"92":1,"102":1,"111":2,"114":2,"116":1,"121":1,"122":2,"123":1,"126":1,"137":2,"138":1,"141":1,"151":1,"152":1,"155":1,"162":1,"164":1,"197":1,"206":2,"211":2,"222":2,"227":1,"251":1,"254":2,"292":1,"330":1,"333":2,"339":2,"342":2,"343":1,"354":4,"368":1,"376":1,"377":1,"384":4,"388":1,"389":1,"390":1,"392":2,"395":2,"413":1,"415":1,"418":1,"436":1,"451":1,"452":1,"455":1,"456":1,"459":1,"460":1,"465":1,"472":1,"474":1,"484":1,"495":1,"498":1,"501":1,"503":1,"504":3,"511":1,"512":1,"517":2,"518":1,"519":1,"521":1,"526":1,"533":1,"534":2,"535":1,"542":1,"544":2}}],["numeric",{"2":{"349":1,"416":1}}],["numbers",{"2":{"296":1}}],["number",{"2":{"48":1,"50":1,"51":2,"73":4,"121":1,"156":2,"199":1,"269":1,"271":1,"319":1,"332":1,"349":1,"351":1,"380":1,"384":1,"437":2,"467":1,"477":1,"480":1,"498":1,"516":1,"517":1,"518":1}}],["nullable",{"2":{"186":1,"320":1}}],["null",{"2":{"74":1,"99":2,"105":1,"130":1,"142":1,"194":1,"215":1,"216":1,"227":1,"240":1,"327":2,"332":4,"338":2,"365":1,"384":8,"388":1,"392":2,"397":1,"526":1}}],["neither",{"2":{"488":1}}],["nested",{"2":{"467":1}}],["necessary",{"2":{"443":1,"471":1,"509":1,"525":1}}],["network",{"2":{"525":2}}],["networks",{"2":{"524":1,"525":6}}],["net",{"2":{"153":1,"155":1,"175":1,"176":1,"525":3}}],["next",{"0":{"477":1,"484":1,"496":1,"522":1},"2":{"111":1,"126":1,"151":1,"157":1,"161":1,"167":1,"174":1,"377":1,"436":2,"440":1,"493":1,"509":1,"522":1}}],["newly",{"2":{"121":1,"155":1,"156":1,"232":1,"238":1,"247":1}}],["new",{"0":{"492":1,"539":1},"2":{"79":1,"91":1,"103":1,"109":1,"122":2,"137":1,"147":2,"155":1,"164":2,"198":1,"209":1,"240":1,"245":1,"258":2,"263":1,"265":1,"269":2,"270":1,"281":1,"285":1,"286":2,"291":1,"292":1,"299":1,"306":1,"319":1,"331":1,"386":1,"395":1,"404":1,"408":1,"425":1,"436":1,"448":1,"468":1,"472":2,"474":1,"475":1,"476":2,"477":1,"480":2,"483":3,"484":2,"487":1,"491":1,"492":1,"493":1,"494":2,"495":2,"496":1,"499":1,"523":1,"527":2,"539":1,"540":1,"541":1,"543":1,"544":1,"545":3,"546":1}}],["needle",{"0":{"395":1},"2":{"395":8}}],["need",{"2":{"164":1,"239":1,"266":1,"403":1,"406":1,"472":2,"481":1,"505":1,"510":1,"524":1,"525":1,"527":2,"532":1,"542":1,"543":1,"545":1,"547":1,"549":3}}],["needing",{"2":{"94":1,"489":1}}],["needed",{"2":{"52":1,"266":1,"445":1,"527":1}}],["needs",{"2":{"48":1,"425":1,"426":1,"472":1,"491":1}}],["never",{"2":{"33":1,"209":1,"275":1,"280":1,"301":1,"307":1,"363":1,"440":1,"447":1}}],["navigating",{"2":{"494":1,"521":1}}],["navigation",{"2":{"474":1,"492":1}}],["navigate",{"2":{"13":1,"85":1,"164":1,"238":1,"284":1,"472":2,"474":2,"475":1,"476":1,"480":1,"483":1,"487":1,"494":1,"495":1}}],["native",{"2":{"410":1}}],["naming",{"0":{"294":1},"2":{"294":1}}],["names",{"2":{"232":1,"244":1,"245":1,"294":1,"360":1}}],["named",{"2":{"179":1,"512":1,"526":2,"527":1}}],["name",{"2":{"13":1,"99":2,"104":2,"105":1,"106":1,"107":1,"109":2,"142":2,"143":1,"146":2,"148":2,"150":1,"159":1,"164":1,"185":2,"194":2,"198":1,"199":2,"200":1,"201":1,"205":1,"227":2,"228":1,"261":1,"269":3,"271":2,"272":3,"273":2,"275":1,"284":1,"319":2,"327":1,"331":1,"332":2,"334":1,"335":1,"349":3,"351":2,"352":1,"354":1,"378":1,"381":2,"384":2,"386":1,"390":1,"397":1,"407":1,"446":1,"468":1,"472":1,"476":2,"480":2,"482":2,"492":2,"493":1,"495":2,"499":1,"516":1,"517":1,"526":5,"547":2,"549":1}}],["yamlvolumes",{"2":{"527":1}}],["yamlservices",{"2":{"527":2,"545":2,"549":1}}],["yml",{"0":{"525":1},"2":{"468":1,"487":1,"499":1,"513":3,"516":1,"524":1,"525":2,"526":1,"527":3,"545":2,"549":2,"550":2}}],["year",{"2":{"236":1,"263":1,"265":1,"327":1,"334":1}}],["years",{"2":{"13":1,"232":1,"272":3,"296":4,"313":1,"327":1}}],["yet",{"2":{"149":1}}],["yes",{"2":{"104":1,"118":1,"119":1,"134":1,"199":2,"219":1,"332":4,"344":4,"493":1}}],["you",{"2":{"31":1,"50":1,"51":5,"84":1,"85":1,"86":1,"88":1,"153":1,"276":1,"284":2,"286":1,"302":1,"399":1,"401":1,"403":1,"404":2,"412":1,"419":1,"421":1,"443":2,"445":1,"446":1,"447":1,"456":1,"466":1,"467":2,"470":2,"472":5,"474":5,"475":4,"476":2,"479":2,"480":4,"481":3,"482":3,"483":1,"484":3,"485":1,"486":2,"487":2,"490":1,"492":4,"493":3,"494":2,"495":2,"497":1,"498":2,"500":1,"501":1,"502":1,"504":1,"505":6,"506":1,"507":1,"509":3,"510":1,"511":4,"512":1,"513":2,"518":1,"520":3,"521":5,"524":3,"525":4,"526":6,"527":6,"533":2,"534":2,"535":3,"536":2,"537":2,"539":1,"541":1,"542":1,"543":1,"544":3,"545":5,"547":4,"548":1,"549":3,"550":2}}],["your",{"0":{"486":1,"510":1,"523":1,"538":1,"540":1,"548":1},"1":{"511":1,"512":1,"513":1,"514":1,"515":1,"516":1,"517":1,"518":1,"519":1,"539":1,"540":1,"541":1,"542":1},"2":{"10":1,"11":1,"47":1,"48":1,"50":1,"51":1,"52":1,"155":1,"241":1,"245":1,"252":1,"266":4,"294":1,"296":1,"302":1,"400":1,"401":1,"402":1,"403":1,"446":4,"447":1,"456":2,"467":2,"468":4,"470":2,"472":2,"474":7,"475":3,"476":2,"477":1,"478":2,"480":6,"481":3,"482":1,"483":2,"484":4,"486":2,"487":5,"488":1,"489":1,"490":1,"492":1,"493":4,"494":1,"495":1,"496":1,"498":3,"499":4,"500":1,"501":1,"505":3,"507":2,"508":1,"509":3,"510":1,"511":2,"512":1,"513":5,"515":1,"520":2,"521":2,"522":1,"523":1,"524":2,"525":2,"526":10,"527":5,"534":1,"535":2,"536":5,"537":4,"538":1,"540":2,"541":1,"542":1,"543":1,"544":2,"545":6,"546":1,"547":5,"549":5,"550":4}}],["xls",{"2":{"459":1}}],["xlsx",{"2":{"345":1,"359":1,"455":2,"459":1,"460":1,"465":2}}],["x3c",{"2":{"448":1,"526":1}}],["xml",{"2":{"344":1,"459":1,"460":1,"465":1}}],["xyz",{"2":{"264":1,"294":1}}],["x26",{"2":{"239":2}}],["x",{"2":{"12":2,"269":1,"488":2,"545":2,"547":1}}],["2gb",{"2":{"507":1}}],["24",{"2":{"494":1}}],["2190",{"2":{"272":1}}],["22",{"2":{"136":1,"526":1}}],["25t11",{"2":{"526":1}}],["2555",{"2":{"194":1,"200":1,"215":1,"221":1,"272":1,"296":1,"327":1}}],["255",{"2":{"104":1,"109":1,"143":1,"148":1,"185":1,"199":1,"228":1,"271":1,"319":1,"332":1,"397":1}}],["256",{"2":{"42":1,"79":2,"91":1,"462":1,"517":1}}],["204",{"2":{"114":1,"342":1}}],["2000",{"2":{"344":1,"397":1}}],["200",{"2":{"111":1,"122":1,"126":1,"131":1,"137":1,"141":1,"206":1,"211":1,"216":1,"222":1,"226":1,"333":1,"339":1,"347":1,"354":1,"396":1}}],["201",{"2":{"106":1,"201":1,"335":1}}],["20t16",{"2":{"99":1}}],["2024",{"2":{"416":1,"417":1}}],["2023",{"2":{"120":1,"121":1}}],["2026",{"2":{"99":4,"105":2,"130":2,"136":2,"148":1,"164":1,"179":1}}],["2025",{"2":{"74":1,"99":3,"120":1,"121":1,"130":2,"148":1,"194":2,"200":2,"205":2,"215":1,"221":1,"272":1,"327":2,"526":1}}],["20",{"2":{"73":1,"74":1}}],["2",{"0":{"12":1,"92":1,"173":1,"233":1,"239":1,"248":1,"306":1,"364":1,"445":1,"475":1,"487":1,"493":1,"509":1,"548":1},"1":{"13":1},"2":{"13":1,"104":1,"109":1,"143":1,"148":1,"167":1,"172":1,"334":1,"374":1,"414":1,"428":1,"482":2,"526":2,"545":1}}],["h",{"2":{"547":1}}],["html",{"2":{"459":1}}],["https",{"2":{"475":2,"508":1,"534":1,"535":1,"537":1}}],["http",{"2":{"48":1,"51":1,"464":1,"515":2,"516":1,"519":1,"521":1,"534":1,"535":1,"547":1}}],["httpget",{"2":{"11":1,"12":1}}],["hundreds",{"2":{"459":1}}],["human",{"2":{"94":1,"185":1,"199":1,"319":1,"332":1,"384":1}}],["hypothetical",{"2":{"358":1}}],["host",{"2":{"468":1,"480":1,"484":1,"487":1,"499":1,"509":1,"513":3,"516":4}}],["hostname",{"2":{"464":1}}],["hosted",{"2":{"400":1,"479":1,"546":1}}],["honored",{"2":{"366":1}}],["hook",{"2":{"183":1,"188":2}}],["hooks",{"2":{"183":1}}],["holdid",{"2":{"134":1,"135":1,"138":1,"139":1,"143":1}}],["holdname",{"2":{"130":2,"136":1}}],["hold",{"0":{"97":1,"100":1,"103":1,"107":1,"110":1,"112":1,"116":1,"123":1,"127":1,"132":1,"138":1,"147":1,"150":1,"151":1,"152":1,"158":1,"160":1,"161":1,"162":1,"166":2,"169":1,"179":1,"264":1,"313":1},"1":{"98":1,"99":1,"100":1,"101":2,"102":2,"103":1,"104":2,"105":2,"106":2,"107":1,"108":2,"109":2,"110":2,"111":2,"112":1,"113":2,"114":2,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"124":1,"125":1,"126":1,"128":1,"129":1,"130":1,"131":1,"132":1,"133":2,"134":2,"135":2,"136":2,"137":2,"138":1,"139":2,"140":2,"141":2,"148":1,"149":1,"159":1,"160":1,"161":1,"162":1},"2":{"100":1,"101":1,"102":1,"103":1,"104":2,"106":2,"107":1,"108":1,"109":1,"111":3,"112":1,"113":1,"114":4,"116":1,"117":1,"121":2,"122":2,"123":2,"124":1,"126":3,"130":1,"131":1,"132":2,"134":1,"136":1,"137":3,"138":3,"139":1,"140":1,"141":2,"142":1,"143":1,"144":1,"146":8,"148":1,"149":1,"150":1,"151":2,"152":6,"154":1,"155":3,"156":1,"157":3,"159":2,"160":2,"161":4,"162":2,"163":4,"164":6,"166":1,"168":1,"172":3,"173":2,"174":5,"175":1,"176":3,"177":2,"179":2,"180":1,"181":2,"183":5,"185":4,"186":3,"188":1,"190":13,"194":1,"215":1,"221":1,"233":2,"249":1,"264":2,"272":1,"294":1}}],["holds",{"0":{"96":1,"98":1,"128":1,"144":1,"146":1,"159":1,"170":1,"185":1,"186":1},"1":{"97":1,"98":1,"99":2,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":2,"130":2,"131":2,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"143":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"186":1,"187":1,"188":1,"189":1,"190":1},"2":{"96":4,"98":2,"100":1,"103":2,"107":1,"112":2,"114":2,"116":1,"122":1,"123":2,"128":3,"130":1,"132":1,"138":1,"144":3,"145":1,"146":1,"147":1,"152":2,"153":1,"157":1,"159":2,"160":2,"163":2,"164":1,"168":1,"170":1,"173":2,"175":1,"177":3,"182":3,"183":8,"186":1,"268":1,"296":1,"313":1,"401":1,"438":1}}],["hover",{"2":{"83":1,"504":1}}],["however",{"2":{"419":1,"513":1,"544":1}}],["how",{"0":{"48":1,"373":1,"447":1,"482":1,"483":1,"501":1,"545":1},"1":{"49":1,"374":1,"375":1,"376":1,"377":1,"448":1},"2":{"31":1,"146":1,"155":1,"157":1,"229":1,"361":1,"423":1,"428":1,"434":1,"480":1,"481":1,"486":1,"500":1,"527":1,"533":1,"544":1}}],["hide",{"2":{"415":1}}],["historical",{"2":{"234":1}}],["history",{"0":{"20":1},"2":{"85":1,"190":1,"400":1}}],["hit",{"2":{"155":1,"462":1}}],["hits",{"2":{"155":1,"462":1}}],["high",{"2":{"401":1}}],["higher",{"2":{"332":1,"349":1,"351":1,"384":1}}],["highest",{"0":{"172":1},"2":{"145":1,"310":1}}],["highly",{"2":{"80":1}}],["hex",{"2":{"511":4,"517":1,"518":1}}],["heartbeat",{"0":{"435":1},"2":{"440":1}}],["hear",{"2":{"404":1}}],["health",{"0":{"464":1},"2":{"260":1,"456":1}}],["headers",{"2":{"51":2,"488":2}}],["header",{"2":{"11":1,"12":1,"84":1,"488":1}}],["here>",{"2":{"526":1}}],["here",{"2":{"130":1,"136":1,"241":1,"252":1,"411":1,"423":1,"467":1,"480":1,"486":1,"505":1,"514":1,"525":1,"527":1}}],["helps",{"2":{"509":1}}],["helpers",{"2":{"455":1}}],["help",{"2":{"51":1,"399":1,"524":1,"533":1}}],["happen",{"2":{"535":1}}],["happens",{"0":{"155":1,"477":1,"484":1,"496":1}}],["hand",{"2":{"492":1,"493":1}}],["handlers",{"2":{"183":1,"317":1,"370":1}}],["handled",{"2":{"77":1,"383":1}}],["handle",{"2":{"51":1,"175":1,"245":1,"255":1,"258":1,"489":1}}],["handles",{"2":{"14":1,"32":2,"44":2,"440":2,"465":1}}],["handling",{"0":{"51":1,"253":1,"273":1,"377":1},"1":{"254":1,"255":1},"2":{"266":1,"396":1,"442":1}}],["haystack",{"0":{"395":1},"2":{"395":8}}],["hard",{"0":{"280":1},"2":{"209":1,"301":1,"307":1}}],["had",{"2":{"126":1}}],["has",{"2":{"80":1,"87":3,"132":1,"157":1,"160":1,"161":2,"174":2,"209":1,"217":1,"254":1,"275":1,"280":1,"286":1,"301":1,"305":1,"307":1,"308":1,"310":1,"322":1,"349":1,"353":1,"376":1,"392":1,"398":1,"420":1,"436":2,"450":1,"474":2,"501":1,"503":1,"504":2}}],["hashing",{"0":{"78":1},"1":{"79":1,"80":1},"2":{"78":1}}],["hashes",{"2":{"42":1,"88":1}}],["hash",{"0":{"79":1},"2":{"42":1,"79":3,"80":3,"86":2,"87":1,"91":2,"95":2,"462":2,"463":1,"501":1,"504":2,"526":2}}],["have",{"2":{"51":1,"82":1,"86":1,"87":2,"95":1,"151":1,"247":1,"286":1,"302":1,"306":1,"308":2,"316":1,"371":1,"375":1,"401":1,"404":1,"418":2,"422":1,"434":1,"442":1,"470":2,"472":1,"474":1,"480":1,"482":1,"483":1,"487":1,"490":1,"495":1,"505":1,"509":1,"520":1,"544":1,"550":1}}],["bind",{"2":{"527":1}}],["blank",{"2":{"492":1}}],["block",{"2":{"377":1,"396":1,"525":2,"527":1}}],["blocks",{"2":{"172":1,"183":1}}],["blocked",{"2":{"162":1,"188":1,"534":1}}],["bcc",{"2":{"376":1}}],["bcde",{"2":{"99":1,"130":1,"194":1,"334":1,"345":1}}],["b2c3d4e5",{"2":{"99":1,"130":1,"194":1,"334":1,"345":1}}],["buffer",{"2":{"448":1,"450":2,"462":1,"465":1}}],["bucket",{"2":{"446":3,"448":1,"517":2}}],["bucket=email",{"2":{"446":1}}],["built",{"2":{"431":1,"434":1,"442":1,"519":1}}],["build",{"2":{"535":1}}],["building",{"2":{"474":1}}],["builds",{"2":{"376":1}}],["builder",{"2":{"364":1}}],["bug",{"2":{"404":1}}],["bugs",{"2":{"396":1,"404":1}}],["business",{"2":{"183":1,"230":1,"234":1,"245":1,"247":1,"260":1,"265":1,"266":1,"268":1,"295":1,"296":2,"314":1,"316":1}}],["bulkapplyholdresult",{"2":{"183":1}}],["bulkapplyhold",{"2":{"156":1}}],["bulk",{"0":{"115":1,"116":1,"153":1,"155":1,"156":1,"167":1,"169":1,"175":1},"1":{"116":1,"117":2,"118":2,"119":2,"120":2,"121":2,"122":2,"123":1,"124":1,"125":1,"126":1,"154":1,"155":1,"156":1},"2":{"116":1,"149":1,"153":1,"155":1,"156":1,"163":1,"164":3,"169":1,"175":1,"176":2,"177":1,"179":1,"180":1,"183":1,"190":1,"401":1}}],["bullmq",{"0":{"381":1},"2":{"44":1,"370":1,"371":1,"374":2,"377":1,"381":1,"431":1,"434":2,"440":1}}],["but",{"2":{"92":1,"162":1,"269":1,"307":1,"427":1,"429":2,"459":1,"484":1,"511":1,"521":1,"526":1}}],["buttons",{"2":{"284":1,"349":1}}],["button",{"0":{"162":1},"2":{"86":1,"147":1,"154":1,"161":1,"162":1,"270":1,"282":2,"284":1,"350":1,"353":1,"356":1,"357":1,"358":1,"468":2,"476":1,"480":2,"487":1,"492":2,"493":3,"495":1,"499":2}}],["bridge",{"2":{"525":1}}],["brings",{"2":{"434":1}}],["browser",{"2":{"521":1,"534":1,"535":1,"536":1}}],["broad",{"2":{"419":1,"459":1}}],["broader",{"2":{"407":1,"419":1}}],["broken",{"2":{"76":1,"80":1,"87":2}}],["breakdown",{"2":{"411":1}}],["break",{"2":{"91":1}}],["brute",{"2":{"47":1}}],["b58a",{"2":{"74":2}}],["bottom",{"2":{"482":1,"493":1,"527":1}}],["both",{"2":{"71":1,"128":1,"309":1,"391":1,"394":1,"401":1,"410":1,"493":1,"536":1}}],["boxes",{"2":{"493":1}}],["box",{"2":{"474":1,"493":1}}],["bootstrap",{"2":{"370":1}}],["boolean",{"2":{"109":1,"185":1,"319":1,"332":1,"384":1,"453":1}}],["body",{"0":{"49":1,"74":1,"76":1,"99":1,"104":1,"109":1,"118":1,"121":1,"125":1,"130":1,"134":1,"136":1,"140":1,"194":1,"197":1,"199":1,"204":1,"210":1,"215":1,"219":1,"221":1,"225":1,"327":1,"330":1,"332":1,"338":1,"344":1,"346":1},"1":{"119":1,"333":1},"2":{"107":1,"122":1,"137":1,"154":1,"202":1,"211":1,"222":1,"336":1,"347":1,"517":2}}],["bad",{"2":{"188":1}}],["badges",{"2":{"349":1}}],["badge",{"0":{"291":1,"292":1},"2":{"83":1,"146":4,"159":1,"164":1,"269":3,"281":1,"300":1,"349":1,"352":1,"503":2,"504":1}}],["bashcurl",{"2":{"547":1}}],["bashcp",{"2":{"510":1}}],["bash",{"2":{"523":1}}],["bashdocker",{"2":{"520":2,"526":2,"527":1,"537":1,"540":2,"545":1,"547":1,"548":1,"549":1,"550":1}}],["bashopenssl",{"2":{"511":2}}],["bashsudo",{"2":{"509":1}}],["bashgit",{"2":{"508":1,"540":1,"548":1}}],["basic",{"0":{"351":1}}],["basis",{"2":{"104":1,"148":1}}],["base",{"2":{"96":1,"191":1,"325":1}}],["based",{"0":{"236":1,"363":1,"364":1},"2":{"60":1,"92":1,"230":1,"235":1,"247":1,"249":1,"281":1,"361":1,"375":1,"378":1,"416":1,"423":1,"447":1,"455":1,"518":1,"526":1}}],["backup",{"2":{"505":2}}],["backed",{"2":{"431":1}}],["backends",{"2":{"401":1,"442":1}}],["backend",{"0":{"77":1,"383":1,"444":1},"1":{"78":1,"79":1,"80":1,"81":1,"384":1,"385":1,"386":1,"387":1,"388":1,"389":1,"390":1,"391":1,"392":1,"393":1,"394":1,"395":1,"396":1,"397":1,"398":1},"2":{"58":1,"77":2,"162":1,"172":1,"183":2,"317":1,"370":1,"383":1,"384":1,"443":1,"452":1,"455":1,"461":1,"515":3,"517":1,"520":1,"530":1,"536":1,"537":1}}],["background",{"2":{"371":1,"477":1,"493":1,"496":1,"520":1}}],["back",{"2":{"367":1,"379":1,"456":1,"475":1,"519":1}}],["backoff",{"2":{"51":1,"440":1}}],["batches",{"2":{"80":1,"155":1,"175":1,"248":2,"257":1,"363":1,"375":2}}],["batched",{"2":{"44":1,"433":1}}],["batch",{"0":{"248":1,"375":1,"439":1},"2":{"44":1,"257":1,"368":1,"375":3,"376":1,"377":1,"380":2,"432":1,"433":1,"435":1,"437":2,"439":1,"516":2}}],["behind",{"2":{"537":1}}],["behalf",{"2":{"469":1,"489":1,"493":1}}],["behavior",{"0":{"279":1,"307":1,"368":1},"1":{"280":1,"281":1},"2":{"168":1,"301":1,"394":2}}],["behaviour",{"0":{"162":1}}],["benefit",{"2":{"463":1}}],["belonging",{"2":{"429":1}}],["below",{"2":{"85":1,"96":1,"118":1,"146":1,"191":1,"269":1,"353":1,"395":1,"478":1,"543":1}}],["begin",{"2":{"403":1,"477":1,"496":2}}],["beginning",{"2":{"95":1}}],["become",{"2":{"544":1}}],["becomes",{"2":{"149":1,"154":1,"305":1,"308":1}}],["because",{"2":{"382":1,"504":1,"543":1}}],["beyond",{"2":{"234":1,"272":1,"314":1}}],["being",{"2":{"209":1,"281":1,"301":1,"307":1,"463":1,"493":1,"526":2}}],["been",{"2":{"80":1,"86":1,"87":5,"95":1,"209":1,"247":1,"254":1,"275":1,"280":1,"301":1,"307":1,"308":1,"375":1,"436":1,"450":1,"501":1,"504":2}}],["between",{"2":{"79":1,"161":1,"257":1,"333":1,"395":1,"442":1,"531":1}}],["best",{"0":{"255":1,"293":1},"1":{"294":1,"295":1,"296":1,"297":1},"2":{"51":1,"251":1,"468":2,"499":2}}],["before",{"2":{"31":1,"51":1,"60":1,"114":1,"142":1,"154":1,"155":1,"157":1,"167":2,"168":1,"172":1,"174":2,"181":1,"188":1,"240":1,"258":1,"349":1,"360":1,"361":1,"394":1,"397":1,"436":1,"439":1,"494":2,"498":1,"509":1,"526":1,"544":1,"547":1}}],["be",{"2":{"13":1,"52":1,"60":1,"73":1,"80":1,"82":1,"84":1,"91":1,"93":1,"94":1,"95":1,"96":1,"109":1,"114":1,"126":2,"131":1,"137":1,"143":4,"151":1,"152":1,"154":1,"157":1,"161":1,"164":1,"167":1,"172":1,"173":1,"174":5,"182":2,"191":1,"198":1,"204":1,"227":2,"228":3,"245":1,"269":2,"271":1,"275":3,"276":1,"281":1,"282":1,"283":1,"291":1,"292":2,"301":1,"307":1,"315":1,"319":1,"325":1,"331":1,"333":1,"352":1,"356":1,"360":1,"365":1,"366":1,"378":1,"382":2,"392":1,"397":1,"407":6,"410":1,"421":1,"422":1,"445":2,"447":1,"450":2,"457":1,"463":1,"467":2,"472":1,"474":1,"482":2,"483":1,"488":1,"492":1,"494":1,"498":1,"504":3,"505":1,"511":1,"515":1,"517":2,"518":1,"521":2,"526":3,"527":1,"530":1,"532":1,"534":1,"536":1,"537":1,"547":2,"549":1}}],["bearer",{"2":{"11":2,"252":1,"547":1}}],["bytes",{"2":{"517":1}}],["byte",{"2":{"511":2,"517":1,"518":1}}],["bypasses",{"2":{"376":1,"382":1}}],["by",{"0":{"100":1,"195":1,"328":1,"480":1},"1":{"101":1,"102":1,"196":1,"197":1,"329":1,"330":1},"2":{"11":1,"48":1,"50":1,"53":1,"73":2,"77":1,"84":2,"88":1,"89":1,"98":1,"100":1,"111":1,"114":1,"121":1,"126":1,"145":1,"146":1,"154":2,"157":1,"162":1,"164":1,"174":1,"186":1,"193":1,"195":1,"242":1,"266":1,"269":2,"284":1,"313":1,"320":1,"326":1,"328":1,"349":2,"363":1,"374":1,"375":2,"379":1,"382":2,"383":1,"387":1,"388":1,"390":1,"391":1,"398":1,"419":2,"420":1,"425":1,"429":1,"431":1,"433":1,"463":2,"475":1,"488":3,"496":1,"505":1,"509":1,"512":1,"515":2,"516":1,"521":1,"525":1,"536":2,"542":1,"543":2,"547":2}}],["v0",{"2":{"518":1}}],["vnd",{"2":{"460":2,"465":2}}],["volume",{"2":{"468":1,"487":1,"499":1,"512":1,"526":10,"527":3,"547":1}}],["volumes",{"2":{"230":1,"520":1,"526":4,"527":4}}],["void",{"2":{"450":1,"452":1}}],["void>",{"2":{"448":1}}],["ve",{"2":{"526":1,"527":1}}],["vendor",{"2":{"400":1}}],["versatile",{"2":{"455":1}}],["versions",{"0":{"539":1},"2":{"539":1}}],["version",{"2":{"398":1,"523":1,"526":1,"538":1,"540":1,"541":2,"542":1,"543":3,"544":1,"545":3,"546":1}}],["very",{"2":{"116":1,"151":1,"174":1,"296":1,"518":1}}],["verifiability",{"0":{"95":1}}],["verifiable",{"2":{"89":1,"91":1}}],["verified",{"2":{"76":1,"87":1,"95":1,"477":1,"550":1}}],["verification",{"0":{"78":1,"80":1,"87":1},"1":{"79":1,"80":1},"2":{"75":1,"78":1,"80":4,"86":1,"91":1,"482":2,"483":2}}],["verifyauditlog",{"2":{"80":1}}],["verifying",{"0":{"86":1},"1":{"87":1},"2":{"71":1,"77":1,"360":1}}],["verify",{"0":{"75":1,"242":1},"1":{"76":1},"2":{"42":1,"75":1,"86":1,"164":1,"167":1,"240":1,"302":1,"456":1,"464":1,"500":1,"501":1,"505":1}}],["vs",{"2":{"194":1}}],["v",{"2":{"164":1}}],["visit",{"2":{"482":1,"521":1}}],["visible",{"2":{"148":1,"494":1}}],["views",{"2":{"317":1}}],["viewed",{"2":{"292":1}}],["viewing",{"0":{"83":1,"88":1,"159":1},"2":{"177":1}}],["view",{"2":{"82":1,"84":1,"88":1,"144":1,"163":2,"183":1,"267":1,"288":1,"289":1,"348":1,"378":1,"408":1,"425":1,"426":1,"484":1,"502":1}}],["via",{"0":{"116":1,"175":1},"1":{"117":1,"118":1,"119":1,"120":1,"121":1,"122":1},"2":{"48":1,"112":1,"150":1,"152":1,"179":1,"190":1,"247":2,"263":1,"265":1,"374":1,"376":1,"382":1,"410":1,"434":1,"436":1,"440":1,"443":1,"447":1,"535":1}}],["vast",{"2":{"459":1}}],["vary",{"2":{"526":1}}],["var",{"2":{"445":1,"509":3,"511":1,"517":1,"526":2,"527":2}}],["varchar",{"2":{"185":1,"319":1}}],["variable",{"0":{"514":1},"1":{"515":1,"516":1,"517":1,"518":1,"519":1},"2":{"375":1,"380":1,"437":1,"444":1,"511":1,"515":1,"516":1,"517":1,"518":1,"519":1,"536":2,"545":2}}],["variables",{"2":{"48":1,"50":1,"251":1,"443":1,"456":1,"510":1,"512":2,"513":1,"514":1,"516":1,"536":2}}],["variety",{"2":{"364":1,"455":1,"466":1,"478":1,"497":1}}],["various",{"2":{"81":1,"454":1}}],["valkey",{"2":{"431":1,"507":1,"511":1,"513":2,"516":4,"525":1}}],["validates",{"2":{"277":1,"397":1}}],["validated",{"2":{"155":1}}],["validation",{"0":{"143":1,"228":1,"397":1},"2":{"106":1,"111":1,"142":1,"183":1,"201":1,"206":1,"227":1,"254":1,"273":2,"317":1,"333":1,"335":1,"339":1,"347":1,"356":1,"370":1}}],["valid",{"2":{"143":3,"228":2,"397":1,"398":1,"467":1,"484":1,"503":2,"534":1}}],["values",{"2":{"273":1,"332":1,"349":1,"356":1,"414":1,"415":1,"434":1,"511":1}}],["value",{"2":{"2":1,"119":1,"308":1,"333":4,"334":2,"349":1,"353":2,"354":1,"378":1,"381":1,"392":1,"397":1,"407":1,"410":1,"412":1,"413":2,"414":1,"415":1,"416":2,"417":2,"438":1,"439":1,"494":2,"495":4,"515":2,"516":1,"517":1,"518":2,"519":1,"536":1}}],["v1",{"2":{"11":2,"12":1,"30":1,"72":1,"75":1,"96":1,"191":1,"239":2,"240":1,"241":1,"244":1,"325":1,"545":2}}],["ls",{"2":{"526":1}}],["lru",{"2":{"462":1}}],["lt",{"2":{"333":1,"354":1,"450":1,"451":1,"452":1,"453":1}}],["ll",{"2":{"284":2,"482":1,"510":1,"527":2}}],["latest",{"2":{"523":3,"525":1,"538":1,"540":3,"541":1,"548":1}}],["languages",{"2":{"530":1}}],["language",{"0":{"530":1},"2":{"410":1,"530":4}}],["labeled",{"2":{"269":1,"292":1}}],["labeling",{"2":{"239":1,"249":1}}],["labelid",{"2":{"215":1,"219":1,"220":1,"221":1,"241":1}}],["labelname",{"2":{"215":1,"221":1}}],["label",{"0":{"192":1,"195":1,"198":1,"202":1,"207":1,"212":1,"213":1,"217":1,"223":1,"240":1,"241":1,"243":1,"245":1,"270":1,"274":1,"278":1,"285":1,"286":1,"288":1,"289":1,"297":1,"300":1,"301":1,"306":1,"320":1},"1":{"193":1,"194":1,"195":1,"196":2,"197":2,"198":1,"199":2,"200":2,"201":2,"202":1,"203":2,"204":2,"205":2,"206":2,"207":1,"208":2,"209":2,"210":2,"211":2,"213":1,"214":2,"215":2,"216":2,"217":1,"218":2,"219":2,"220":2,"221":2,"222":2,"223":1,"224":2,"225":2,"226":2,"244":1,"245":1,"271":1,"272":1,"273":1,"275":1,"276":1,"277":1,"279":1,"280":1,"281":1,"282":1},"2":{"172":2,"195":1,"196":1,"197":1,"198":2,"199":2,"201":2,"202":1,"203":1,"204":1,"206":3,"207":1,"208":1,"209":2,"211":2,"213":2,"215":3,"216":1,"217":4,"219":1,"222":3,"223":2,"225":4,"226":1,"228":2,"230":1,"232":1,"240":5,"241":4,"242":1,"245":2,"247":2,"251":1,"254":4,"258":1,"260":2,"261":2,"263":1,"264":1,"265":2,"269":7,"271":3,"273":2,"274":1,"275":1,"276":2,"277":1,"280":3,"281":6,"282":2,"284":7,"285":5,"286":4,"291":1,"292":2,"297":1,"299":2,"300":2,"301":3,"302":3,"305":2,"306":3,"307":9,"308":1,"309":1,"310":2,"317":6,"319":4,"320":6,"322":2,"323":8,"324":1}}],["labels",{"0":{"191":1,"193":1,"229":1,"244":1,"267":1,"269":1,"272":1,"283":1,"291":1,"292":1,"303":1,"319":1},"1":{"192":1,"193":1,"194":2,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"258":1,"259":1,"260":1,"261":1,"262":1,"263":1,"264":1,"265":1,"266":1,"268":1,"269":1,"270":1,"271":1,"272":1,"273":1,"274":1,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1,"283":1,"284":2,"285":2,"286":2,"287":1,"288":1,"289":1,"290":1,"291":1,"292":1,"293":1,"294":1,"295":1,"296":1,"297":1,"298":1,"299":1,"300":1,"301":1,"302":1,"304":1,"305":1,"306":1,"307":1,"308":1,"309":1,"310":1,"311":1,"312":1,"313":1,"314":1,"315":1,"316":1,"317":1,"318":1,"319":1,"320":1,"321":1,"322":1,"323":1,"324":1},"2":{"111":1,"145":1,"174":1,"191":2,"193":2,"195":1,"198":1,"202":1,"207":1,"229":1,"230":1,"233":2,"234":1,"235":2,"236":1,"244":3,"245":2,"247":1,"248":1,"249":1,"258":1,"266":2,"267":4,"268":1,"269":1,"283":1,"285":1,"288":2,"289":2,"295":1,"297":3,"300":2,"302":1,"303":2,"305":1,"307":2,"308":1,"310":1,"311":3,"313":1,"317":3,"322":1,"324":1,"488":2,"526":1,"530":1}}],["lastsyncstatusmessage",{"2":{"418":2}}],["last",{"2":{"119":1,"143":1,"161":1,"185":1,"381":2,"384":1,"433":1,"435":1,"436":1,"550":1}}],["larger",{"2":{"457":1}}],["large",{"2":{"116":1,"230":1,"296":1,"434":2,"435":1,"439":1,"450":1,"463":2,"468":1,"499":1}}],["let",{"2":{"524":1}}],["lets",{"2":{"153":1}}],["legacy",{"0":{"460":1,"465":1},"2":{"455":1,"456":1,"457":1,"458":1}}],["legalholdmodule",{"2":{"188":1}}],["legalholdservice",{"2":{"183":1,"189":1}}],["legalhold",{"2":{"183":1,"190":5}}],["legalholdid",{"2":{"121":1,"130":2,"136":1}}],["legal",{"0":{"96":1,"144":1,"166":1,"170":1,"185":1,"186":1,"233":1,"264":1,"313":1},"1":{"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"143":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"171":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"186":1,"187":1,"188":1,"189":1,"190":1},"2":{"96":3,"98":1,"100":1,"103":1,"104":1,"112":2,"116":1,"123":1,"128":1,"132":1,"138":1,"142":2,"144":2,"145":2,"146":1,"148":1,"152":2,"157":1,"159":1,"160":1,"162":1,"164":2,"168":1,"170":1,"172":3,"174":2,"175":1,"176":1,"177":2,"182":1,"183":10,"186":3,"190":1,"194":1,"215":1,"221":1,"233":4,"249":1,"264":2,"268":1,"272":1,"294":1,"295":2,"296":2,"313":1,"345":1,"382":1,"401":1}}],["less",{"0":{"416":2},"2":{"416":2}}],["length",{"2":{"333":1,"396":2}}],["learn",{"2":{"544":1}}],["leave",{"2":{"492":1}}],["leaving",{"2":{"440":1}}],["leadership",{"2":{"234":1,"314":1}}],["least",{"2":{"109":1,"154":1,"157":1,"172":1,"227":1,"271":1,"393":1,"420":1,"462":1,"507":1}}],["levels",{"2":{"287":1}}],["level",{"0":{"305":1},"2":{"186":1,"189":1,"234":1,"268":1,"272":1,"303":1,"320":1,"474":2,"494":1,"525":1}}],["left",{"2":{"51":1,"492":1,"493":1}}],["loss",{"2":{"544":1}}],["lose",{"2":{"151":1,"152":1,"494":1}}],["low",{"2":{"438":1}}],["lowercased",{"2":{"394":1,"395":1}}],["lower",{"2":{"332":1,"349":1,"351":1,"384":1}}],["love",{"2":{"404":1}}],["lockduration",{"2":{"440":1}}],["lock",{"2":{"400":1}}],["locked",{"2":{"299":1}}],["location",{"0":{"372":1},"2":{"183":1,"317":1,"370":1,"504":1,"505":1}}],["located",{"2":{"77":1,"144":1,"267":1,"348":1,"383":1,"493":1,"526":1,"549":1}}],["locally",{"2":{"537":1}}],["localhost",{"2":{"464":1,"515":2,"521":1,"534":2,"537":1,"547":1}}],["localfilesystemprovider",{"2":{"447":1}}],["local",{"0":{"445":1,"509":1,"526":1},"1":{"527":1},"2":{"58":1,"146":1,"269":1,"401":1,"442":1,"444":1,"445":3,"448":1,"468":4,"487":4,"499":4,"507":3,"511":2,"512":2,"517":3,"526":3,"527":1}}],["looks",{"2":{"480":1}}],["look",{"2":{"284":1,"526":2,"528":1,"537":1,"547":1}}],["loop",{"2":{"80":1,"189":1,"438":1}}],["load",{"2":{"463":1}}],["loads",{"2":{"169":1,"439":1}}],["loading",{"2":{"80":1,"375":1,"434":1}}],["logged",{"2":{"377":2,"396":2}}],["logging",{"0":{"260":1},"2":{"505":1,"522":1}}],["logiclabshq",{"2":{"525":1}}],["logiclabs",{"2":{"508":1}}],["logical",{"2":{"353":1}}],["logicaloperator",{"2":{"333":1,"334":1}}],["logic",{"0":{"78":1,"209":1,"420":1},"1":{"79":1,"80":1,"421":1},"2":{"77":1,"78":1,"183":1,"245":1,"248":1,"255":1,"266":1,"279":1,"307":1,"317":1,"364":1,"366":1,"391":1,"393":1,"410":1,"420":1,"442":1,"455":1}}],["logid",{"2":{"76":1}}],["logins",{"2":{"92":1}}],["login",{"0":{"11":1,"16":1},"2":{"11":1,"14":1,"73":1,"74":1,"481":1,"521":1}}],["logs",{"0":{"72":1,"83":1},"1":{"73":1,"74":1},"2":{"72":1,"75":1,"80":2,"84":1,"95":1,"176":1,"190":1,"368":1,"376":1,"401":1,"505":2,"534":1}}],["log",{"0":{"71":1,"75":1,"77":1,"82":1,"86":1,"88":1,"89":1,"156":1,"190":1,"323":1},"1":{"72":1,"73":1,"74":1,"75":1,"76":2,"78":1,"79":1,"80":1,"81":1,"83":1,"84":1,"85":1,"86":1,"87":2,"88":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1},"2":{"71":2,"72":1,"75":1,"76":2,"77":2,"78":1,"79":1,"80":5,"81":3,"82":1,"83":2,"85":1,"86":3,"87":10,"88":2,"89":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"121":1,"148":1,"155":1,"156":1,"164":1,"176":1,"179":1,"189":1,"248":1,"255":1,"260":1,"261":1,"285":1,"309":1,"323":1,"367":2,"376":2,"378":2,"379":1,"386":2,"389":1,"390":1,"448":1,"480":1}}],["longest",{"2":{"346":1,"360":1,"366":1,"376":1,"392":2}}],["longer",{"2":{"146":1,"161":1,"357":1,"366":1,"527":1}}],["long",{"2":{"12":1,"173":1,"361":1,"505":1,"511":1}}],["light",{"2":{"531":1}}],["lightweight",{"2":{"313":1}}],["lib",{"2":{"526":2}}],["library",{"2":{"472":1}}],["libraries",{"2":{"455":1}}],["live",{"2":{"360":1}}],["lived",{"2":{"11":1,"12":1}}],["line",{"2":{"236":1,"344":1,"359":1,"376":1,"550":1}}],["lines",{"2":{"232":1,"525":1}}],["linkage",{"2":{"176":1,"183":1}}],["links",{"2":{"122":1,"132":1,"151":2,"155":1,"157":1,"164":1,"175":1}}],["link",{"2":{"104":1,"130":1,"131":1,"136":1,"141":1,"152":1,"157":1,"161":1,"173":1,"186":1,"190":1}}],["linking",{"2":{"96":1,"132":1}}],["linked",{"2":{"93":1,"98":1,"121":2,"126":1,"128":1,"138":1,"146":3,"149":1,"151":1,"155":1,"156":1,"157":1,"161":1,"172":1,"182":1,"190":1}}],["lifting",{"2":{"174":1}}],["lift",{"2":{"142":1}}],["lifts",{"2":{"111":1,"157":1}}],["lifecycle",{"0":{"172":1,"189":1,"297":1,"310":1,"322":1,"371":1},"1":{"372":1,"373":1,"374":1,"375":1,"376":1,"377":1,"378":1,"379":1,"380":1,"381":1,"382":1},"2":{"111":1,"126":1,"145":1,"151":1,"157":1,"161":1,"172":2,"174":1,"183":1,"189":1,"297":1,"303":1,"310":1,"322":1,"357":1,"361":1,"363":1,"367":1,"368":1,"370":2,"371":1,"372":1,"374":2,"378":2,"379":2,"381":2,"382":1,"391":1,"392":1,"401":1}}],["litigation",{"0":{"164":1,"179":1},"2":{"99":1,"105":1,"130":1,"136":1,"145":1,"148":1,"164":1,"170":1,"173":1,"179":2,"194":2,"215":1,"221":1,"233":1,"272":1,"313":1,"401":1}}],["license",{"2":{"96":1,"177":1,"191":1,"311":1,"325":1,"369":1,"398":1}}],["like",{"2":{"92":1,"235":1,"401":1,"404":1,"442":1,"446":1,"455":1,"480":1,"481":1,"482":1,"488":1,"526":1,"533":1,"537":1}}],["lies",{"2":{"78":1}}],["limit=50",{"2":{"239":1}}],["limit=100",{"2":{"239":1}}],["limited",{"2":{"49":1,"459":1,"460":1,"465":1}}],["limiter",{"2":{"48":1}}],["limit",{"0":{"429":1},"2":{"48":1,"50":2,"51":2,"52":1,"73":1,"74":1,"396":1,"397":1,"457":2,"465":1,"517":1,"518":2}}],["limits",{"0":{"51":1,"457":1},"2":{"48":2,"333":1}}],["limiting",{"0":{"47":1,"257":1},"1":{"48":1,"49":1,"50":1,"51":1,"52":1},"2":{"47":1,"50":1,"51":1,"52":1}}],["listing",{"2":{"376":1,"379":1}}],["lists",{"2":{"159":1,"160":1,"236":1}}],["list",{"0":{"4":1,"7":1,"25":1,"35":1,"45":1,"63":1,"98":1,"193":1,"326":1},"1":{"99":1,"194":1,"327":1},"2":{"72":1,"102":1,"197":1,"244":1,"284":1,"330":1,"359":2,"360":1,"414":1,"428":1,"459":1,"472":1,"474":1,"475":2,"477":1,"478":1,"493":1,"496":1,"514":1,"526":2,"539":1}}],["19z",{"2":{"526":1}}],["16",{"2":{"482":1}}],["16t14",{"2":{"136":1}}],["127",{"2":{"446":1}}],["1247",{"2":{"121":1}}],["12",{"2":{"120":1,"121":1,"494":1}}],["123",{"2":{"76":1,"376":1,"450":1}}],["11",{"2":{"99":1}}],["10+",{"2":{"313":1}}],["1095",{"2":{"296":1}}],["10",{"2":{"74":1,"194":1,"215":1,"221":1,"265":1,"272":1,"296":1,"327":2,"334":1,"381":1}}],["100m",{"2":{"517":2}}],["100mb",{"2":{"457":1}}],["1000",{"2":{"80":1,"199":1,"228":1,"271":1,"332":1,"397":1}}],["100",{"2":{"48":1,"50":1,"74":1,"248":1,"296":1,"344":1,"397":1,"518":1}}],["15t14",{"2":{"215":1,"221":1}}],["15t12",{"2":{"194":1}}],["15t11",{"2":{"130":1}}],["15t10",{"2":{"99":2}}],["15",{"2":{"49":1,"99":1,"105":1,"130":1,"518":1}}],["1",{"0":{"11":1,"91":1,"172":1,"232":1,"238":1,"247":1,"305":1,"363":1,"444":1,"472":1,"486":1,"492":1,"508":1,"547":1},"2":{"48":1,"50":1,"73":1,"74":3,"116":1,"143":1,"155":1,"167":1,"172":1,"175":1,"199":1,"227":1,"228":2,"271":1,"327":1,"332":1,"333":1,"397":4,"414":1,"428":1,"440":1,"446":2,"474":1,"476":1,"545":1}}],["flushes",{"2":{"435":1}}],["flowproducer",{"2":{"434":1}}],["flow",{"0":{"376":1,"433":1},"2":{"392":1,"433":1,"434":1}}],["flexible",{"2":{"364":1,"410":1}}],["flag",{"2":{"174":1,"396":1,"520":1,"527":1,"545":2,"549":1,"550":1}}],["flags",{"2":{"172":1,"396":2}}],["fk",{"2":{"185":1,"186":3,"320":3}}],["f23456789012",{"2":{"99":1,"130":1,"194":1,"334":1,"345":1}}],["f6a7",{"2":{"99":1,"130":1,"194":1,"334":1,"345":1}}],["fetch",{"2":{"392":1,"496":1,"534":1}}],["fetched",{"2":{"169":1}}],["fetches",{"2":{"80":1}}],["few",{"2":{"266":1}}],["features",{"0":{"401":1,"461":1},"1":{"462":1,"463":1,"464":1}}],["featureenabled",{"2":{"398":1}}],["feature",{"0":{"177":1,"311":1,"369":1},"2":{"47":1,"71":1,"81":1,"89":1,"96":2,"170":1,"172":1,"177":2,"183":1,"191":2,"303":1,"311":2,"317":2,"325":2,"361":1,"369":1,"370":2,"398":1,"404":1,"496":1,"501":1,"505":1,"533":1,"544":1}}],["facing",{"2":{"515":2,"532":1,"535":1,"536":1}}],["factory",{"2":{"447":1}}],["fastmail",{"2":{"481":1}}],["falls",{"2":{"519":1}}],["fall",{"2":{"456":1}}],["fallback",{"0":{"460":1,"464":1,"465":1},"2":{"455":1,"457":1,"458":1,"464":2}}],["false",{"2":{"76":1,"99":1,"109":1,"110":1,"111":1,"114":1,"130":1,"188":1,"194":1,"390":1,"407":1,"453":1,"515":1,"516":1,"517":1,"518":1}}],["failed",{"2":{"377":1,"381":1,"434":2,"534":1}}],["fail",{"0":{"368":1},"2":{"188":1,"255":1}}],["fails",{"0":{"505":1},"2":{"80":2,"377":2,"464":1,"544":2}}],["failures",{"2":{"87":1,"255":1,"368":1,"440":1}}],["failure",{"2":{"76":1,"87":1,"260":1,"377":1,"504":1}}],["future",{"2":{"297":1,"366":1}}],["further",{"2":{"189":1}}],["fulfill",{"2":{"90":1}}],["fully",{"2":{"247":1,"291":1,"379":1,"425":1,"494":1}}],["full",{"0":{"367":1},"2":{"53":1,"83":1,"88":1,"93":1,"119":1,"154":2,"175":2,"261":1,"367":1,"401":1,"424":1,"427":1,"440":1,"446":1,"480":1}}],["functional",{"2":{"291":1}}],["functionality",{"2":{"32":1,"462":1,"463":1}}],["functions",{"2":{"90":1}}],["function",{"2":{"79":2,"374":1,"465":1,"472":1}}],["footer",{"2":{"539":1}}],["foe",{"2":{"509":1}}],["four",{"2":{"491":1}}],["found",{"2":{"102":1,"111":1,"114":1,"122":1,"126":1,"137":2,"141":1,"197":1,"206":1,"211":1,"222":2,"227":1,"254":2,"330":1,"339":1,"342":1,"360":1,"388":1,"389":1,"390":1,"451":1,"547":1}}],["folders",{"2":{"515":1}}],["folder",{"0":{"488":1,"527":1},"2":{"467":4,"468":1,"486":3,"487":1,"488":2,"496":2,"498":2,"499":1,"526":1,"527":2}}],["follows",{"2":{"407":1}}],["follow",{"2":{"402":1,"403":1,"540":1}}],["following",{"2":{"49":1,"50":1,"51":1,"79":1,"80":1,"83":1,"90":1,"146":1,"269":1,"307":1,"317":1,"349":1,"350":1,"370":1,"385":1,"408":1,"409":1,"460":1,"467":1,"472":1,"474":1,"475":1,"488":1,"490":1,"493":1,"498":1,"509":1,"511":2,"523":1,"527":1,"534":2,"543":1}}],["forbids",{"2":{"420":1}}],["fork",{"2":{"404":1}}],["formal",{"2":{"313":1}}],["formats",{"0":{"458":1},"1":{"459":1,"460":1},"2":{"454":1,"455":1,"459":6,"460":2,"465":1}}],["format",{"2":{"49":1,"142":1,"146":1,"227":1,"228":2,"254":1,"269":1,"401":1,"455":1,"459":2,"485":1,"486":1}}],["form",{"0":{"148":1,"271":1},"2":{"350":1,"356":1,"480":1,"482":1,"483":1}}],["forces",{"2":{"114":1,"174":1}}],["force",{"0":{"41":1},"2":{"47":1,"446":2,"517":2,"527":2,"537":1}}],["for",{"0":{"7":1,"422":1,"428":1,"482":1,"483":1,"504":1,"509":1,"525":1,"539":1},"2":{"2":1,"6":1,"12":1,"18":1,"31":1,"32":1,"44":1,"47":1,"51":1,"71":1,"72":1,"73":3,"77":1,"79":1,"80":1,"81":1,"83":1,"89":1,"94":1,"96":1,"104":1,"121":1,"123":1,"142":1,"144":1,"145":2,"146":1,"148":1,"156":1,"157":2,"170":1,"173":2,"175":1,"176":1,"177":3,"182":1,"183":2,"186":2,"190":1,"191":1,"194":1,"200":1,"205":1,"209":1,"227":1,"230":1,"232":2,"233":1,"234":1,"238":2,"239":1,"247":1,"248":2,"249":1,"251":2,"255":2,"260":2,"263":1,"264":1,"267":1,"268":2,"269":2,"271":1,"272":1,"276":1,"284":1,"291":1,"292":1,"295":1,"297":1,"302":2,"303":1,"305":1,"311":2,"315":1,"317":3,"320":1,"324":1,"325":1,"327":1,"332":1,"334":1,"344":1,"348":1,"349":4,"351":1,"359":1,"360":1,"366":1,"369":1,"370":4,"376":3,"377":1,"381":3,"383":1,"384":1,"391":2,"392":1,"400":2,"404":3,"406":2,"407":2,"408":2,"409":1,"410":3,"413":1,"416":1,"419":3,"420":1,"426":1,"433":1,"434":2,"436":1,"437":1,"439":1,"442":2,"443":1,"446":5,"448":1,"450":3,"453":1,"454":2,"455":3,"457":1,"459":2,"462":1,"463":4,"464":1,"465":1,"466":1,"468":4,"469":1,"472":2,"474":2,"477":1,"478":1,"479":1,"480":6,"481":1,"482":1,"483":1,"484":2,"485":1,"486":1,"487":1,"489":1,"491":2,"492":1,"493":3,"497":1,"499":4,"501":3,"502":1,"504":1,"505":3,"506":1,"509":1,"510":1,"511":6,"512":1,"513":5,"514":1,"515":3,"516":10,"517":9,"518":5,"519":2,"520":2,"524":1,"525":1,"526":3,"530":2,"531":1,"532":1,"535":1,"537":1,"538":1,"539":1,"541":1,"542":2,"544":1,"545":1,"546":1,"547":2,"550":1}}],["frontend",{"2":{"183":3,"317":2,"370":2,"515":2,"520":1,"530":1,"536":1,"537":1}}],["from",{"0":{"123":1,"138":1,"161":1,"223":1,"284":1,"486":1},"1":{"124":1,"125":1,"126":1,"139":1,"140":1,"141":1,"224":1,"225":1,"226":1},"2":{"47":1,"49":1,"52":1,"58":1,"81":1,"83":1,"95":1,"105":1,"111":1,"119":1,"120":1,"121":1,"138":1,"140":1,"150":1,"152":1,"154":1,"161":1,"163":2,"164":1,"166":1,"167":1,"168":1,"170":1,"172":1,"174":1,"177":1,"179":1,"180":1,"190":2,"204":1,"223":1,"233":1,"234":1,"272":1,"274":1,"278":1,"280":1,"284":1,"285":1,"292":1,"307":2,"311":1,"314":1,"338":1,"346":1,"352":1,"353":1,"360":1,"365":1,"367":1,"376":3,"400":2,"404":1,"407":1,"410":1,"415":1,"434":1,"435":1,"436":1,"439":1,"440":1,"442":2,"448":2,"451":1,"452":1,"454":1,"455":1,"462":1,"463":2,"465":1,"466":2,"468":1,"474":2,"475":2,"476":2,"478":1,"479":1,"480":2,"484":2,"493":2,"495":1,"497":1,"498":1,"499":2,"504":2,"505":2,"513":1,"518":1,"519":1,"523":1,"525":4,"527":1,"535":1,"540":1,"546":1,"549":2,"550":3}}],["french",{"2":{"530":1}}],["freezes",{"2":{"179":1}}],["free",{"2":{"148":1,"400":1}}],["frequency",{"2":{"119":1,"143":1,"437":1,"515":2}}],["friendly",{"2":{"82":1}}],["frame",{"2":{"48":1}}],["finishes",{"2":{"434":1}}],["finished",{"2":{"44":1,"432":1,"433":2,"434":3}}],["fine",{"2":{"410":1}}],["find",{"2":{"239":1,"264":1,"404":1,"472":1,"474":1,"475":1,"493":1,"511":1,"527":1,"539":1,"547":1,"549":1}}],["financial",{"0":{"232":1},"2":{"200":2,"205":2,"232":4,"263":1,"265":2,"272":1,"296":1,"315":1}}],["finance",{"2":{"180":1,"334":4,"345":1,"359":1}}],["finalization",{"2":{"434":1}}],["finalizes",{"2":{"434":1}}],["final",{"2":{"172":1,"493":1}}],["finally",{"2":{"164":1,"476":1}}],["fires",{"2":{"116":1}}],["first",{"2":{"114":1,"142":1,"152":2,"155":1,"166":1,"189":1,"463":1,"477":1,"492":1,"508":1,"521":2}}],["fields",{"0":{"148":1,"154":1,"271":1,"275":1,"359":1},"2":{"107":1,"109":1,"154":1,"202":1,"204":2,"254":1,"273":1,"277":1,"333":1,"336":1,"338":2,"356":1,"364":1,"387":1,"389":2,"480":2}}],["field",{"2":{"104":1,"109":1,"118":1,"119":1,"134":1,"142":1,"143":1,"154":1,"164":1,"169":1,"182":1,"199":1,"204":1,"211":1,"219":1,"227":2,"228":1,"332":1,"333":2,"334":2,"344":1,"346":1,"353":2,"366":1,"378":1,"387":1,"394":2,"407":1,"410":2,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1,"475":2,"482":1,"483":1}}],["fixed",{"2":{"79":1}}],["fill",{"2":{"476":1,"480":2,"495":1,"512":1}}],["filled",{"2":{"154":1,"480":1}}],["filtered",{"2":{"378":1}}],["filters",{"2":{"119":1,"120":1,"121":1,"175":1}}],["filter",{"2":{"73":4,"119":1,"154":2,"258":1,"474":1}}],["filtering",{"0":{"84":1},"2":{"72":1}}],["filenames",{"2":{"376":1}}],["filepath",{"2":{"60":1}}],["filesystem",{"0":{"445":1},"2":{"58":1,"401":1,"442":1,"444":1,"468":1,"487":1,"499":1,"512":1}}],["files",{"2":{"58":1,"60":1,"442":1,"445":1,"450":2,"457":2,"463":1,"466":1,"467":2,"468":2,"485":1,"497":1,"498":1,"499":2,"501":1,"517":2,"519":1,"526":2,"533":1}}],["file",{"0":{"59":1,"61":1,"457":1,"458":1,"467":1,"498":1},"1":{"459":1,"460":1},"2":{"32":1,"33":1,"50":1,"60":1,"344":1,"359":1,"376":1,"394":1,"404":1,"439":1,"442":1,"443":1,"450":5,"451":4,"452":4,"453":3,"454":1,"455":2,"456":1,"457":2,"459":2,"462":3,"463":3,"467":3,"468":5,"472":3,"476":2,"486":2,"487":6,"498":3,"499":8,"501":1,"502":1,"503":4,"504":6,"505":3,"509":1,"510":3,"513":3,"520":1,"524":1,"525":5,"526":1,"527":2,"535":1,"536":1,"537":1,"545":1,"547":2,"549":5}}],["fits",{"2":{"10":1}}],["wrong",{"2":{"521":1}}],["write",{"2":{"509":1}}],["writes",{"2":{"434":1}}],["writing",{"2":{"448":1}}],["written",{"2":{"121":1,"155":1}}],["www",{"2":{"475":2}}],["web",{"2":{"487":1,"521":2,"533":1,"539":1}}],["webhooks",{"2":{"247":1}}],["we",{"2":{"404":2,"481":1,"494":1,"518":1,"544":1}}],["well",{"2":{"378":1,"400":1}}],["welcome",{"2":{"30":1,"399":1,"404":1}}],["weekly",{"2":{"248":1}}],["were",{"2":{"126":1,"155":1,"156":1,"157":2,"167":1,"174":1,"360":1,"365":1,"389":1,"436":1,"501":1}}],["won",{"2":{"307":1}}],["wordprocessingml",{"2":{"460":1,"465":1}}],["word",{"2":{"172":1,"519":1}}],["working",{"2":{"550":1}}],["work",{"2":{"480":1}}],["workflows",{"2":{"229":1}}],["workflow",{"0":{"164":1,"237":1},"1":{"238":1,"239":1,"240":1,"241":1,"242":1},"2":{"266":1}}],["workers",{"2":{"370":1,"372":1}}],["worker",{"0":{"189":1,"322":1,"371":1,"381":1,"438":1},"1":{"372":1,"373":1,"374":1,"375":1,"376":1,"377":1,"378":1,"379":1,"380":1,"381":1,"382":1},"2":{"111":1,"126":1,"151":1,"157":1,"161":1,"172":2,"174":1,"189":1,"310":1,"322":1,"357":1,"363":1,"368":1,"370":3,"371":2,"372":1,"374":1,"375":2,"376":1,"377":1,"378":2,"379":2,"382":1,"391":1,"392":1,"431":5,"436":1,"437":1,"439":1,"440":2}}],["works",{"0":{"48":1,"373":1,"501":1},"1":{"49":1,"374":1,"375":1,"376":1,"377":1},"2":{"376":1,"434":1,"500":1}}],["workspace",{"0":{"469":1},"1":{"470":1,"471":1,"472":1,"473":1,"474":1,"475":1,"476":1,"477":1},"2":{"1":1,"33":1,"400":1,"401":1,"403":1,"469":1,"470":1,"471":1,"475":3,"476":3,"477":1,"478":1,"522":1}}],["would",{"2":{"91":1,"305":1,"360":1,"513":1,"525":1}}],["want",{"2":{"512":1,"527":1,"545":2}}],["walk",{"2":{"479":1,"485":1,"506":1}}],["ways",{"2":{"545":1}}],["way",{"2":{"410":1}}],["warning",{"2":{"126":1,"155":1,"157":1,"276":1,"396":2,"493":1,"544":1}}],["was",{"2":{"83":2,"87":1,"121":2,"126":1,"137":1,"141":1,"146":1,"152":1,"159":1,"164":1,"169":1,"179":1,"185":1,"186":1,"225":3,"226":1,"242":1,"269":1,"273":1,"320":1,"390":1,"484":1,"503":1}}],["wait",{"2":{"51":1,"463":1}}],["whole",{"2":{"527":1}}],["who",{"2":{"186":1,"320":1,"401":1,"406":1,"426":1,"521":1}}],["why",{"2":{"185":1,"434":1,"526":1}}],["what",{"0":{"155":1,"400":1,"477":1,"484":1,"496":1,"505":1},"2":{"121":1,"305":1,"401":1,"500":1,"525":1,"526":1}}],["whether",{"2":{"146":1,"151":1,"172":1,"185":1,"226":1,"269":1,"319":1,"332":1,"349":1,"355":1,"384":1,"458":1}}],["where",{"0":{"526":1},"1":{"527":1},"2":{"87":1,"294":1,"295":1,"392":1,"407":1,"410":1,"413":1,"414":1,"415":1,"416":1,"417":1,"440":1,"445":2,"509":1,"521":1,"526":1,"532":1}}],["when",{"0":{"526":1},"1":{"527":1},"2":{"49":1,"51":2,"157":1,"164":1,"169":1,"174":1,"186":1,"257":1,"286":1,"300":1,"305":1,"320":1,"332":1,"333":1,"349":2,"352":2,"354":1,"360":1,"363":1,"365":1,"366":1,"382":1,"401":1,"407":1,"434":3,"436":2,"445":1,"446":2,"450":1,"452":1,"455":1,"459":1,"460":1,"465":1,"468":1,"474":1,"487":1,"499":1,"501":1,"502":1,"512":1,"530":1,"533":1,"535":1,"539":1,"541":2,"542":1,"543":1}}],["which",{"2":{"81":1,"83":1,"180":1,"244":1,"266":2,"303":1,"349":1,"352":1,"353":1,"363":1,"364":1,"376":1,"383":1,"387":1,"389":1,"391":1,"407":1,"410":1,"442":1,"444":1,"455":2,"479":1,"480":1,"492":1,"509":1,"512":1,"518":1,"547":1}}],["whichever",{"2":{"10":1}}],["while",{"2":{"80":1,"152":1,"206":1,"209":1,"230":1,"266":1,"308":1,"422":1,"484":1,"549":1}}],["wish",{"2":{"443":1}}],["wildcards",{"2":{"424":1}}],["wildcard",{"2":{"408":1,"409":1}}],["will",{"2":{"13":1,"48":1,"49":1,"51":2,"87":1,"88":1,"111":1,"126":2,"151":1,"157":1,"161":1,"162":1,"167":1,"172":1,"174":2,"204":1,"273":2,"276":1,"307":1,"392":1,"399":1,"403":1,"421":1,"444":1,"445":3,"447":1,"450":1,"452":1,"456":1,"457":1,"463":1,"464":1,"467":1,"468":1,"472":3,"475":1,"476":2,"477":6,"479":1,"480":3,"482":1,"483":1,"484":4,"485":1,"486":1,"488":2,"492":3,"493":1,"494":2,"496":6,"498":1,"499":1,"506":1,"509":2,"511":1,"513":1,"517":1,"518":1,"520":1,"521":1,"524":1,"526":5,"527":2,"530":3,"531":1,"533":1,"537":1,"539":1,"540":1,"542":1,"543":1,"545":1,"547":3,"549":3}}],["wins",{"0":{"366":1},"2":{"366":1,"392":2}}],["window",{"2":{"50":3,"51":3,"181":1,"518":3}}],["wide",{"0":{"475":1},"2":{"55":1,"155":1,"175":1,"382":1,"455":1,"469":1,"475":2}}],["without",{"2":{"52":1,"92":1,"94":1,"175":1,"349":1,"358":1,"363":1,"426":1,"448":1,"452":1,"469":1,"481":1,"489":1,"493":1,"544":1}}],["within",{"2":{"48":1,"50":1,"80":1,"82":1,"87":1,"89":1,"176":1,"353":1,"364":1,"392":1,"410":1,"429":1,"440":1,"445":1,"469":1,"489":1,"491":1,"492":1,"518":1}}],["with",{"0":{"382":1,"410":1,"419":1,"421":1,"459":1,"460":1},"1":{"411":1,"412":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1},"2":{"11":1,"13":1,"30":1,"31":1,"48":1,"49":1,"51":1,"71":1,"72":1,"79":1,"80":4,"83":1,"86":1,"87":2,"88":1,"89":1,"94":1,"95":1,"98":1,"105":1,"106":2,"111":1,"114":2,"122":1,"126":1,"136":1,"146":2,"152":1,"154":1,"157":1,"173":1,"177":1,"183":2,"188":2,"189":1,"199":1,"201":1,"206":1,"211":1,"230":1,"232":1,"233":1,"234":1,"235":3,"236":1,"238":2,"244":1,"245":1,"260":1,"261":1,"263":1,"265":1,"266":3,"268":1,"269":3,"270":1,"271":1,"273":1,"276":1,"281":1,"282":1,"286":1,"299":1,"303":1,"307":1,"308":1,"311":1,"315":1,"317":2,"319":1,"324":1,"333":3,"335":1,"339":1,"342":1,"349":2,"354":5,"356":1,"360":1,"361":1,"365":1,"368":1,"369":1,"370":2,"374":1,"376":1,"379":1,"382":1,"386":1,"389":1,"390":1,"392":1,"395":3,"399":1,"410":1,"411":1,"419":1,"421":1,"434":2,"436":1,"438":1,"439":1,"440":1,"442":1,"451":1,"453":1,"456":1,"457":2,"459":1,"462":1,"469":1,"470":1,"480":1,"493":1,"494":1,"501":1,"507":1,"511":2,"517":1,"518":1,"520":1,"521":1,"523":1,"525":2,"526":1,"527":1,"531":1,"533":1,"536":2,"540":2,"541":1,"543":1,"544":1,"545":1,"548":1,"550":1}}],["r",{"2":{"509":1}}],["right",{"2":{"486":1}}],["rich",{"2":{"459":1}}],["rtf",{"2":{"459":1}}],["runtime",{"2":{"421":1}}],["running",{"2":{"402":1,"520":1,"521":1,"537":1,"548":1,"550":2}}],["run",{"0":{"520":1},"2":{"374":1,"431":1,"437":1,"493":1,"509":1,"523":1,"526":1,"527":1}}],["runs",{"2":{"371":1,"436":1}}],["rulegroup",{"0":{"333":1},"2":{"332":1}}],["rule",{"0":{"286":1,"394":1},"2":{"260":1,"333":1,"349":2,"353":5,"367":1,"392":1,"393":2,"394":1,"397":1,"407":4,"410":1,"412":1,"419":4,"420":3,"429":1,"474":1}}],["rules",{"0":{"353":1,"419":1},"2":{"230":1,"245":1,"247":1,"265":1,"266":1,"303":1,"310":1,"315":1,"332":1,"333":2,"334":1,"348":1,"353":1,"356":1,"361":1,"368":1,"370":1,"393":1,"397":1,"410":3,"419":3,"420":2,"429":1,"474":1}}],["routing",{"2":{"524":1}}],["route",{"2":{"183":1,"317":1,"370":1}}],["routes",{"2":{"81":1,"183":4,"317":3,"370":3,"398":2}}],["roll",{"2":{"518":1}}],["role",{"0":{"26":1,"27":1,"28":1,"29":1,"422":1},"2":{"24":1,"415":1,"422":1,"518":1}}],["roles",{"0":{"25":1},"2":{"24":3,"238":1,"406":1,"409":2,"422":2,"423":1,"426":1,"472":1,"474":3,"490":1}}],["root",{"0":{"535":1},"2":{"445":3,"468":1,"487":1,"488":1,"499":1,"511":2,"517":2}}],["robust",{"2":{"400":1,"461":1}}],["rotate",{"2":{"251":1}}],["rows",{"2":{"112":1,"152":1,"387":1}}],["row",{"2":{"88":1,"164":1,"185":1,"274":1,"356":1,"357":1,"434":3,"436":1}}],["rand",{"2":{"511":2}}],["randomly",{"2":{"526":1}}],["random",{"2":{"511":1}}],["range",{"2":{"73":2,"154":1,"164":2,"175":1,"179":1,"180":1,"264":1,"459":1}}],["ram",{"2":{"438":1,"507":2}}],["rather",{"2":{"257":1,"258":1,"368":1,"434":1}}],["rates",{"2":{"260":1}}],["ratelimit",{"2":{"51":3}}],["rate",{"0":{"47":1,"51":1,"257":1},"1":{"48":1,"49":1,"50":1,"51":1,"52":1},"2":{"47":1,"48":1,"49":1,"50":3,"51":3,"52":2,"462":1,"518":2}}],["rawemail",{"2":{"448":2}}],["raw",{"2":{"2":1,"387":1,"501":1}}],["renew",{"2":{"494":1}}],["reflect",{"2":{"484":1}}],["refer",{"2":{"459":1,"486":1,"550":1}}],["references",{"2":{"233":1,"294":1}}],["referenced",{"2":{"182":1}}],["reference",{"0":{"163":1,"449":1,"514":1},"1":{"450":1,"451":1,"452":1,"453":1,"515":1,"516":1,"517":1,"518":1,"519":1},"2":{"146":1,"164":1,"185":1,"186":2,"234":1,"269":1,"295":1,"320":2,"349":1}}],["refresh",{"2":{"169":1}}],["rebuild",{"2":{"167":1}}],["rejected",{"2":{"396":1}}],["reject",{"2":{"162":1}}],["repository",{"0":{"508":1},"2":{"404":2,"508":1,"523":1,"540":1}}],["report",{"0":{"502":1},"1":{"503":1,"504":1},"2":{"502":2}}],["reporting",{"2":{"260":1,"404":1}}],["reports",{"2":{"157":1}}],["repeating",{"2":{"433":1}}],["repeatable",{"2":{"374":2,"381":1}}],["repeated",{"2":{"245":1}}],["represents",{"2":{"407":1,"409":7,"410":1}}],["represent",{"2":{"305":1}}],["representation",{"2":{"79":1}}],["replaced",{"2":{"217":1,"286":1,"421":1}}],["redirected",{"2":{"521":2}}],["redirect",{"2":{"492":1}}],["redis",{"2":{"431":1,"434":2,"507":1,"511":2,"513":2,"516":10}}],["redundant",{"2":{"462":1}}],["reducing",{"2":{"266":1}}],["reduces",{"2":{"463":1}}],["reduce",{"2":{"258":1,"438":1,"439":1}}],["redos",{"2":{"396":1}}],["red",{"2":{"146":1,"503":1}}],["reliability",{"2":{"505":1}}],["relative",{"2":{"468":1,"487":1,"499":1}}],["relations",{"2":{"307":2}}],["relationship",{"0":{"173":1},"2":{"434":1}}],["related",{"2":{"79":1,"180":1,"194":1,"233":2,"236":2,"272":1,"313":1,"316":1,"334":1,"512":1,"533":1}}],["relevant",{"2":{"164":2,"170":1,"180":1,"181":1,"249":1,"264":1,"294":1,"420":1,"430":1}}],["releasing",{"2":{"144":1}}],["releases",{"2":{"539":2}}],["released",{"2":{"181":1,"190":1}}],["release",{"0":{"123":1,"157":1},"1":{"124":1,"125":1,"126":1},"2":{"123":1,"124":1,"126":1,"157":1,"163":1,"164":1,"539":1}}],["remote",{"2":{"534":1}}],["removal",{"2":{"176":1,"309":1,"323":1}}],["removing",{"0":{"161":1},"2":{"161":1,"177":1,"311":1,"525":1}}],["removeonfail",{"2":{"381":1}}],["removeoncomplete",{"2":{"381":1}}],["remove",{"0":{"138":1,"223":1},"1":{"139":1,"140":1,"141":1,"224":1,"225":1,"226":1},"2":{"139":1,"151":1,"161":1,"163":1,"164":1,"168":1,"284":1,"289":1,"307":1,"324":1,"353":2,"498":1,"513":1,"525":4,"527":2,"550":2}}],["removes",{"2":{"123":1,"152":1,"157":1,"161":1,"223":1,"285":1,"306":1}}],["removed",{"2":{"114":1,"126":1,"140":1,"141":1,"157":1,"174":1,"209":1,"225":2,"226":1,"280":1,"286":1,"301":1,"307":1,"323":1}}],["reminder",{"2":{"494":1}}],["remains",{"2":{"52":1,"161":1,"173":1,"281":1}}],["remaining",{"2":{"51":1,"368":1,"377":1}}],["re",{"2":{"99":1,"440":1,"526":1,"527":1}}],["reachable",{"2":{"464":1}}],["react",{"2":{"249":1}}],["reactivate",{"2":{"109":1}}],["real",{"2":{"401":1}}],["reasons",{"0":{"504":1},"2":{"504":1,"535":1}}],["reason",{"2":{"99":2,"104":1,"105":1,"107":1,"109":2,"143":1,"146":3,"148":1,"150":1,"164":1,"185":1,"295":1,"379":1,"504":2}}],["readonly",{"2":{"475":2}}],["reads",{"2":{"434":1,"448":1}}],["readablestream",{"2":{"450":2,"451":1}}],["readable",{"2":{"94":1,"185":1,"199":1,"319":1,"332":1,"384":1,"451":2}}],["reading",{"2":{"24":1,"534":1}}],["read",{"0":{"426":1},"2":{"18":1,"24":1,"55":1,"58":1,"128":1,"163":1,"177":1,"213":1,"238":1,"289":1,"343":1,"360":1,"404":1,"407":2,"408":2,"419":4,"422":1,"425":1,"426":2,"428":1,"429":2,"475":1,"489":1,"491":1,"493":3,"504":2}}],["revoke",{"2":{"481":1}}],["reveal",{"2":{"480":1}}],["reverse",{"2":{"84":1,"525":1,"535":1,"537":1}}],["review",{"2":{"82":1,"155":1,"164":1,"294":1,"297":1,"505":2}}],["region",{"2":{"446":2,"517":2}}],["region=us",{"2":{"446":1}}],["registering",{"2":{"491":1}}],["register",{"0":{"492":1},"2":{"374":1,"492":2}}],["registered",{"2":{"374":1}}],["registers",{"2":{"81":1,"188":1,"398":1}}],["registrations",{"2":{"492":1}}],["registration",{"0":{"398":1},"2":{"183":2,"317":1,"370":1,"489":1,"492":2,"495":1}}],["regexp",{"2":{"395":1}}],["regex",{"0":{"396":1},"2":{"333":2,"354":2,"368":2,"395":1,"396":3}}],["regular",{"2":{"354":1,"396":1}}],["regularly",{"2":{"251":1,"505":1}}],["regulations",{"2":{"235":1,"295":1,"361":1}}],["regulator",{"2":{"180":1}}],["regulatory",{"0":{"180":1,"315":1},"2":{"89":1,"170":1,"173":1,"200":1,"230":1,"232":1,"233":1,"263":1,"268":1,"296":1,"315":1,"327":1}}],["regarding",{"2":{"105":1,"272":1}}],["regardless",{"2":{"79":1,"145":1,"180":1,"226":1,"305":1,"315":1,"365":1,"376":1,"382":1}}],["recreated",{"2":{"527":1}}],["recreate",{"2":{"527":2,"537":1}}],["recurring",{"2":{"363":1}}],["recipients",{"2":{"344":1,"345":1,"359":1,"376":1,"397":1}}],["recipient",{"2":{"333":1,"334":1,"344":1,"353":1,"359":1,"364":1,"376":1,"394":2}}],["recognize",{"2":{"480":1,"482":1,"492":1}}],["recognition",{"2":{"454":1}}],["recovery",{"2":{"440":2,"544":1}}],["reconciliation",{"2":{"345":1}}],["recommend",{"2":{"481":1,"494":1,"544":1}}],["recommendation",{"0":{"481":1},"1":{"482":1,"483":1}}],["recommendations",{"0":{"260":1}}],["recommended",{"0":{"546":1},"1":{"547":1,"548":1,"549":1,"550":1},"2":{"51":1,"446":1,"455":1,"468":1,"480":1,"487":1,"499":1,"506":1,"511":1,"524":1,"546":1}}],["recording",{"2":{"389":1,"390":1}}],["records",{"2":{"179":1,"200":1,"205":2,"232":1,"263":1,"272":1,"285":1,"296":2,"315":1,"376":1,"377":1,"505":1}}],["recorded",{"2":{"93":1,"164":1,"173":1,"176":1,"261":1,"309":1,"367":1}}],["record",{"2":{"81":1,"89":1,"104":1,"114":1,"152":1,"164":1,"174":1,"182":1,"260":1,"376":1,"400":1,"401":1}}],["recalculating",{"2":{"95":1}}],["recalculation",{"2":{"80":1}}],["recalculated",{"2":{"80":1,"87":1}}],["recalculates",{"2":{"80":1,"86":1,"501":1}}],["receipts",{"2":{"232":1}}],["receiving",{"2":{"179":1}}],["receivedorigin",{"2":{"534":1}}],["received",{"2":{"99":1,"105":1,"180":1}}],["receive",{"2":{"51":1,"122":1,"164":1,"249":1,"474":1}}],["recently",{"2":{"462":1,"544":1}}],["recent",{"0":{"22":1},"2":{"239":1}}],["resides",{"2":{"455":1}}],["resilience",{"0":{"440":1}}],["resolving",{"2":{"537":1}}],["resolve",{"2":{"452":1,"474":1,"533":1}}],["resolves",{"2":{"450":1,"451":1,"452":1,"453":1}}],["resolution",{"2":{"366":1}}],["resources",{"2":{"408":1,"409":1,"422":1,"424":1,"426":1,"427":1,"533":1}}],["resource",{"2":{"83":2,"94":1,"227":1,"407":1,"408":5,"410":1,"463":1,"533":1,"534":1}}],["resume",{"2":{"181":1,"484":1}}],["resulting",{"2":{"544":1}}],["result",{"2":{"116":1,"263":1,"264":1,"265":1,"307":1,"463":1}}],["results",{"0":{"360":1},"2":{"73":1,"116":1,"155":2,"167":2,"175":1,"235":1,"248":1,"266":1,"284":1,"292":1,"301":1,"434":1,"500":1}}],["restart",{"2":{"521":1,"523":1,"527":1,"530":1,"537":1,"540":2,"545":1,"549":2,"550":1}}],["restore",{"2":{"505":2}}],["rest",{"2":{"401":1,"511":1,"517":1}}],["restriction",{"2":{"276":1,"349":1,"419":1}}],["restrictions",{"0":{"276":1}}],["restricted",{"2":{"235":1,"349":1,"422":1}}],["restricts",{"2":{"48":1}}],["restful",{"2":{"96":1,"191":1,"325":1}}],["reset",{"2":{"51":2,"440":1}}],["responsible",{"2":{"79":1,"174":1,"454":1}}],["responsive",{"2":{"52":1}}],["response",{"0":{"49":1,"74":1,"76":1,"99":1,"102":1,"106":1,"111":1,"114":1,"121":1,"122":1,"125":1,"126":1,"130":1,"131":1,"136":1,"137":1,"140":1,"141":1,"194":1,"197":1,"201":1,"206":1,"210":1,"211":1,"215":1,"216":1,"221":1,"222":1,"225":1,"226":1,"327":1,"330":1,"335":1,"339":1,"342":1,"346":1,"347":1},"2":{"49":1,"51":2,"142":1,"211":1,"227":1,"242":1,"255":1,"257":1,"534":1}}],["responses",{"0":{"87":1,"142":1,"227":1},"2":{"33":1,"51":1}}],["responding",{"0":{"164":1},"2":{"145":1}}],["respond",{"2":{"48":1}}],["responds",{"2":{"13":1}}],["retained",{"2":{"234":1,"263":1,"269":1,"315":1,"349":1,"377":1,"381":2}}],["retain",{"2":{"199":1,"271":1,"319":1,"327":1,"332":1,"351":1,"384":1}}],["retentionpolicymodule",{"2":{"398":1}}],["retentionpolicycontroller",{"2":{"397":1}}],["retentionpolicy",{"2":{"386":1}}],["retentionperioddays",{"2":{"194":2,"199":1,"200":1,"204":1,"215":1,"221":1,"227":1,"305":1,"308":1,"322":1,"327":1,"332":1,"334":1,"392":1}}],["retentionrulegroup",{"2":{"384":1,"393":1}}],["retentionexpiration",{"2":{"379":1}}],["retentionservice",{"2":{"370":1,"376":1,"383":2,"385":1}}],["retentionlabel",{"2":{"323":3}}],["retentionlabelservice",{"2":{"317":1}}],["retentionhook",{"0":{"188":1},"2":{"172":1,"183":2,"188":2}}],["retention",{"0":{"191":1,"229":1,"236":1,"241":1,"267":1,"276":1,"296":1,"299":1,"303":1,"305":1,"308":1,"316":1,"319":1,"325":1,"348":1,"361":1,"371":1,"383":1},"1":{"192":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"258":1,"259":1,"260":1,"261":1,"262":1,"263":1,"264":1,"265":1,"266":1,"268":1,"269":1,"270":1,"271":1,"272":1,"273":1,"274":1,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1,"283":1,"284":1,"285":1,"286":1,"287":1,"288":1,"289":1,"290":1,"291":1,"292":1,"293":1,"294":1,"295":1,"296":1,"297":1,"298":1,"299":1,"300":1,"301":1,"302":1,"304":1,"305":1,"306":1,"307":1,"308":1,"309":1,"310":1,"311":1,"312":1,"313":1,"314":1,"315":1,"316":1,"317":1,"318":1,"319":1,"320":1,"321":1,"322":1,"323":1,"324":1,"326":1,"327":1,"328":1,"329":1,"330":1,"331":1,"332":1,"333":1,"334":1,"335":1,"336":1,"337":1,"338":1,"339":1,"340":1,"341":1,"342":1,"343":1,"344":1,"345":1,"346":1,"347":1,"349":1,"350":1,"351":1,"352":1,"353":1,"354":1,"355":1,"356":1,"357":1,"358":1,"359":1,"360":1,"362":1,"363":1,"364":1,"365":1,"366":1,"367":1,"368":1,"369":1,"370":1,"372":1,"373":1,"374":1,"375":1,"376":1,"377":1,"378":1,"379":1,"380":1,"381":1,"382":1,"384":1,"385":1,"386":1,"387":1,"388":1,"389":1,"390":1,"391":1,"392":1,"393":1,"394":1,"395":1,"396":1,"397":1,"398":1},"2":{"111":1,"126":1,"145":1,"151":1,"157":1,"161":1,"162":1,"172":3,"174":2,"181":1,"183":1,"191":4,"193":1,"194":1,"195":1,"198":1,"200":1,"202":1,"205":1,"206":1,"207":1,"209":1,"213":1,"217":1,"223":1,"227":1,"228":1,"229":2,"230":3,"232":2,"233":1,"234":1,"235":3,"236":3,"240":1,"241":1,"244":3,"245":1,"247":1,"261":1,"265":1,"266":2,"267":2,"268":4,"269":2,"271":1,"272":5,"275":1,"276":3,"281":1,"282":1,"283":1,"284":2,"285":1,"286":1,"292":1,"295":1,"296":1,"299":2,"301":1,"303":6,"305":6,"306":2,"307":2,"308":3,"309":1,"310":4,"311":2,"313":2,"314":2,"315":1,"316":1,"317":8,"319":1,"320":1,"322":3,"323":1,"324":1,"325":4,"326":1,"327":1,"328":1,"331":1,"332":1,"334":1,"336":1,"340":1,"343":1,"346":1,"348":3,"349":2,"351":1,"360":3,"361":2,"363":2,"366":1,"369":2,"370":12,"371":3,"375":1,"376":2,"378":1,"380":1,"382":2,"383":2,"384":2,"386":1,"392":1,"397":2,"398":4,"401":2}}],["retries",{"2":{"440":2}}],["retrieve",{"2":{"73":2,"451":1}}],["retrieves",{"2":{"72":1,"98":1,"100":1,"193":1,"195":1,"213":1,"326":1,"328":1,"451":1}}],["retrieving",{"2":{"6":1,"71":1,"77":1,"442":1}}],["retrying",{"2":{"51":1}}],["retry",{"2":{"51":1,"255":1,"440":2,"474":1}}],["returns",{"0":{"167":1,"168":1},"2":{"102":1,"106":1,"111":1,"122":1,"126":1,"128":1,"130":1,"131":1,"136":1,"152":1,"188":1,"197":1,"201":1,"206":1,"215":1,"216":1,"240":1,"244":1,"299":1,"330":1,"335":1,"339":1,"343":1,"376":1,"387":1,"388":1,"390":1,"392":1,"450":1,"451":1,"452":1,"453":1,"547":1}}],["return",{"2":{"49":1,"172":1,"204":1,"276":1,"392":1,"434":1,"449":1,"474":1}}],["returned",{"2":{"33":1,"60":1,"375":1}}],["requiring",{"2":{"442":1,"469":1}}],["requirepermission",{"2":{"398":1}}],["requireauth",{"2":{"398":1}}],["requirements",{"0":{"177":1,"311":1,"369":1},"2":{"176":1,"200":1,"230":1,"235":1,"236":1,"296":1,"316":1,"327":1}}],["requirement",{"2":{"114":1,"174":1,"295":1,"305":1,"366":1}}],["requiredorigin",{"2":{"534":1}}],["required",{"0":{"287":1},"1":{"288":1,"289":1},"2":{"72":1,"75":1,"98":1,"100":1,"103":1,"104":1,"107":1,"112":1,"116":1,"118":1,"119":1,"123":1,"128":1,"132":1,"134":1,"138":1,"142":1,"148":1,"163":1,"193":1,"195":1,"198":1,"199":1,"202":1,"207":1,"213":1,"217":1,"219":1,"223":1,"227":1,"238":1,"251":1,"254":1,"271":2,"273":1,"302":1,"326":1,"328":1,"331":1,"332":1,"336":1,"340":1,"343":1,"344":1,"472":1,"480":1,"493":1,"495":1,"512":1,"517":5,"520":1,"541":1}}],["requires",{"2":{"18":1,"24":2,"44":1,"55":1,"58":1,"62":1,"177":1,"284":1,"288":2,"289":2,"311":1,"366":1,"369":1,"434":1,"536":1,"543":1}}],["require",{"2":{"6":1,"71":1,"96":2,"191":2,"287":1,"325":2}}],["requested",{"2":{"227":1}}],["request",{"0":{"104":1,"105":1,"109":1,"118":1,"120":1,"134":1,"135":1,"199":1,"200":1,"204":1,"205":1,"219":1,"220":1,"252":1,"332":1,"334":1,"338":1,"344":1,"345":1,"397":1},"1":{"119":1,"333":1},"2":{"51":2,"107":1,"116":1,"122":1,"137":1,"162":1,"183":1,"188":1,"202":1,"222":1,"242":1,"254":1,"307":1,"317":1,"336":1,"347":1,"370":1,"398":1,"404":1,"463":1,"493":1,"517":1,"533":1,"534":1,"547":2}}],["requests",{"2":{"31":1,"48":3,"49":1,"50":2,"51":2,"145":1,"180":1,"252":1,"397":1,"404":1,"463":2,"518":3}}],["elements",{"2":{"530":1}}],["eliminates",{"2":{"230":1}}],["ecosystem",{"2":{"492":1}}],["ecmascript",{"2":{"333":1,"354":1}}],["equivalent",{"2":{"412":1}}],["equality",{"2":{"412":1}}],["equal",{"0":{"412":1,"413":1,"416":1,"417":1},"2":{"413":1,"416":1,"417":1,"434":1}}],["equals",{"2":{"333":3,"354":5,"395":2}}],["err",{"2":{"368":1}}],["errors",{"0":{"302":1,"533":1},"1":{"534":1,"535":1,"536":1,"537":1},"2":{"106":1,"111":1,"142":3,"201":1,"206":1,"227":3,"255":2,"273":1,"335":1,"339":1,"347":1,"533":1,"534":1,"535":1,"537":1}}],["error",{"0":{"142":1,"168":1,"227":1,"253":1,"254":1,"273":1,"377":1,"474":1},"1":{"254":1,"255":1},"2":{"87":1,"126":2,"142":3,"152":1,"162":1,"172":1,"188":2,"204":1,"216":2,"226":2,"227":3,"254":1,"266":1,"273":1,"276":2,"299":1,"368":2,"377":3,"389":1,"396":1,"436":2,"440":1,"448":3,"451":1,"452":1,"474":1,"484":1,"532":1,"534":2}}],["etc",{"2":{"175":1,"234":1,"249":1,"401":1}}],["editor",{"2":{"510":1,"525":1,"536":1}}],["editable",{"0":{"275":1}}],["edit",{"0":{"299":1},"2":{"150":1,"163":1,"269":1,"274":2,"276":1,"288":1,"299":1,"349":1,"356":2,"474":3,"484":1,"527":1}}],["editing",{"0":{"150":1,"274":1,"356":1},"1":{"275":1,"276":1,"277":1},"2":{"267":1,"311":1,"348":1}}],["ediscovery",{"0":{"182":1},"2":{"104":1,"170":1,"182":1,"185":1,"400":1,"401":1}}],["efforts",{"2":{"463":1}}],["efficiency",{"0":{"258":1},"2":{"450":1}}],["efficiently",{"2":{"496":1}}],["efficient",{"2":{"80":1,"401":1,"461":1}}],["effective",{"2":{"307":1}}],["effect",{"2":{"132":1,"160":1,"537":1}}],["ef1234567890",{"2":{"99":1,"121":1,"130":1,"135":1,"136":1,"194":1,"215":1,"220":1,"221":1,"327":1,"346":1}}],["e5f6",{"2":{"99":1,"121":1,"130":1,"135":1,"136":1,"194":1,"215":1,"220":1,"221":1,"327":1,"346":1}}],["evaluation",{"0":{"391":1,"420":1},"1":{"392":1,"393":1,"394":1,"395":1,"396":1,"421":1},"2":{"172":1,"189":2,"310":1,"322":2,"325":1,"344":1,"347":1,"351":1,"357":1,"359":1,"370":2,"383":1,"391":1,"392":3}}],["evaluaterule",{"0":{"394":1}}],["evaluaterulegroup",{"0":{"393":1}}],["evaluateemail",{"0":{"392":1},"2":{"376":1}}],["evaluates",{"2":{"172":1,"343":1,"358":1,"371":1,"376":1,"393":2,"394":1,"420":1}}],["evaluated",{"2":{"126":1,"174":1,"364":1,"392":1}}],["evaluate",{"0":{"343":1},"1":{"344":1,"345":1,"346":1,"347":1},"2":{"111":1,"343":1,"353":1,"359":1,"397":4}}],["evidence",{"2":{"89":1,"170":1,"176":1,"233":1}}],["ever",{"2":{"481":1,"489":1}}],["every",{"2":{"89":1,"91":1,"92":1,"157":1,"174":1,"175":1,"176":1,"180":1,"309":1,"363":1,"367":2,"379":2,"393":1,"435":1,"436":1,"550":1}}],["event",{"0":{"249":1},"2":{"83":2,"92":1,"93":1,"94":2,"367":1}}],["events",{"2":{"81":1,"82":1,"182":1,"190":1,"249":2}}],["even",{"2":{"80":1,"116":1,"255":1,"420":1}}],["estonian",{"2":{"530":1}}],["establishing",{"2":{"89":1}}],["essential",{"2":{"52":1}}],["either",{"2":{"84":1,"474":1}}],["east",{"2":{"446":1}}],["easy",{"2":{"83":1}}],["easily",{"2":{"82":1,"480":1}}],["each",{"2":{"80":1,"86":1,"91":1,"93":1,"95":1,"98":1,"144":1,"155":1,"161":1,"164":1,"173":1,"269":1,"286":1,"297":1,"306":1,"349":1,"352":1,"353":2,"365":1,"366":1,"376":1,"392":1,"397":3,"407":1,"410":1,"434":1,"435":1,"438":1,"439":1,"477":1,"501":1,"502":1,"525":2}}],["eb8780215f82",{"2":{"74":2}}],["e8026a75",{"2":{"74":2}}],["e",{"2":{"73":1,"80":1,"119":1,"164":1,"173":1,"236":1,"296":1,"313":1,"315":1,"344":1,"359":2,"376":2,"377":1,"394":1,"442":1,"444":1,"450":1,"463":1,"464":1,"468":1,"472":2,"476":2,"487":1,"495":1,"499":1,"515":1,"517":1,"535":1}}],["employs",{"2":{"455":1}}],["empty",{"2":{"130":1,"131":1,"143":1,"375":1,"393":1,"397":1}}],["eml`",{"2":{"448":1}}],["eml",{"0":{"466":1,"468":1},"1":{"467":1,"468":1},"2":{"60":1,"401":1,"415":1,"439":1,"450":1,"459":1,"466":1,"467":7,"468":3,"478":1,"501":1}}],["emailmetadata",{"2":{"344":5,"345":1}}],["emaillegalholdinfo",{"2":{"183":1}}],["emailid",{"2":{"128":1,"129":1,"132":1,"133":1,"138":1,"139":1,"143":1,"188":1,"189":1,"213":1,"214":1,"217":1,"218":1,"223":1,"224":1,"240":1,"241":1}}],["emailcount",{"2":{"99":2,"106":1,"169":1}}],["emailsalreadyprotected",{"2":{"156":1}}],["emailsreleased",{"2":{"125":1,"126":1}}],["emailslinked",{"2":{"121":2,"122":1,"156":1}}],["emails",{"0":{"7":1,"54":1,"123":1,"157":1,"167":1,"169":1,"239":1,"283":1},"1":{"124":1,"125":1,"126":1,"284":1,"285":1,"286":1},"2":{"6":1,"32":1,"53":1,"96":1,"98":1,"111":2,"116":1,"121":2,"122":1,"126":3,"137":1,"138":1,"145":1,"146":4,"149":2,"151":2,"152":2,"153":1,"155":3,"156":2,"157":2,"161":1,"163":1,"164":1,"167":1,"170":1,"172":1,"174":1,"179":1,"181":1,"182":1,"183":1,"186":1,"189":1,"190":1,"191":1,"194":1,"199":1,"204":1,"206":1,"209":3,"229":1,"230":2,"232":2,"233":3,"234":1,"236":2,"239":6,"245":1,"247":2,"248":4,"249":2,"255":1,"257":1,"258":3,"264":3,"265":1,"266":2,"267":1,"268":1,"269":4,"271":1,"272":2,"275":1,"276":1,"280":1,"281":3,"283":1,"284":1,"291":1,"292":2,"299":1,"301":1,"302":1,"303":3,"307":4,"311":1,"313":1,"314":1,"315":1,"316":1,"319":2,"327":1,"332":3,"338":1,"349":2,"351":1,"352":1,"353":2,"357":1,"361":2,"363":1,"364":2,"365":2,"368":1,"371":2,"375":4,"376":1,"377":1,"380":1,"384":1,"392":1,"400":1,"401":2,"403":1,"409":1,"425":1,"429":1,"436":1,"437":1,"440":1,"450":1,"466":1,"467":1,"468":2,"477":1,"478":1,"479":1,"484":3,"486":3,"487":2,"488":2,"496":1,"497":1,"498":2,"499":1,"500":1,"501":1,"509":1,"511":1,"515":1,"516":1,"518":1,"522":1,"526":1}}],["email",{"0":{"6":1,"8":1,"9":1,"23":1,"43":1,"127":1,"128":1,"132":1,"138":1,"158":1,"159":1,"160":1,"161":1,"168":1,"186":1,"212":1,"213":1,"217":1,"223":1,"284":1,"286":1,"289":1,"300":1,"306":1,"320":1,"324":1,"343":1,"376":1,"478":1,"486":1,"532":1},"1":{"7":1,"8":1,"9":1,"128":1,"129":2,"130":2,"131":2,"132":1,"133":2,"134":2,"135":2,"136":2,"137":2,"138":1,"139":2,"140":2,"141":2,"159":1,"160":1,"161":1,"162":1,"213":1,"214":2,"215":2,"216":2,"217":1,"218":2,"219":2,"220":2,"221":2,"222":2,"223":1,"224":2,"225":2,"226":2,"344":1,"345":1,"346":1,"347":1},"2":{"1":1,"11":1,"32":3,"33":1,"42":1,"44":3,"112":1,"122":1,"123":1,"126":1,"128":2,"129":1,"132":3,"133":1,"137":1,"138":2,"139":1,"140":1,"141":1,"144":2,"149":1,"151":1,"152":1,"154":3,"155":2,"157":3,"159":2,"161":3,"162":3,"163":2,"164":4,"168":2,"172":2,"173":3,"175":1,"176":2,"177":2,"180":1,"183":4,"186":2,"188":1,"189":1,"190":7,"213":2,"214":1,"217":3,"218":1,"222":1,"223":2,"224":1,"225":1,"228":1,"240":3,"241":2,"247":1,"254":2,"260":1,"261":1,"263":2,"265":1,"283":1,"284":2,"285":2,"286":2,"289":2,"300":1,"302":1,"305":2,"306":2,"307":2,"308":1,"310":2,"317":4,"320":4,"322":3,"324":1,"325":1,"333":1,"343":1,"344":3,"353":1,"354":1,"358":1,"359":3,"363":2,"364":1,"366":2,"367":1,"368":3,"376":9,"377":3,"378":1,"379":2,"383":1,"391":1,"392":3,"394":3,"400":2,"403":1,"432":2,"433":1,"435":1,"437":1,"438":2,"439":1,"440":1,"448":3,"454":1,"459":1,"466":1,"467":5,"472":2,"475":1,"476":2,"478":2,"479":2,"480":5,"481":2,"485":1,"486":2,"488":2,"489":1,"501":3,"502":2,"505":2,"515":2,"532":2}}],["epoch",{"2":{"51":1,"79":1}}],["english",{"2":{"530":1}}],["engine",{"0":{"391":1},"1":{"392":1,"393":1,"394":1,"395":1,"396":1},"2":{"154":1,"361":1,"369":1,"370":1,"371":1,"383":2,"391":1,"401":1,"410":1,"543":1}}],["enhanced",{"2":{"481":1}}],["enhancements",{"2":{"366":1,"404":1,"461":1}}],["enqueued",{"2":{"436":1,"440":1}}],["enum",{"2":{"384":1}}],["encrypting",{"2":{"511":2,"518":1}}],["encryption",{"2":{"511":3,"517":2,"518":1}}],["encrypted",{"2":{"401":1,"517":1}}],["encounter",{"2":{"505":1,"533":1}}],["encounters",{"2":{"368":1}}],["encapsulates",{"2":{"77":1,"383":1}}],["enforced",{"2":{"474":1}}],["enforce",{"2":{"320":1}}],["enforcement",{"2":{"230":1,"266":1,"363":1,"370":1,"371":1,"376":1,"382":1,"391":1}}],["enforcing",{"2":{"186":1}}],["enables",{"2":{"361":1}}],["enable",{"0":{"545":1},"2":{"355":1,"376":1,"382":1,"456":1,"472":3,"482":1,"483":1,"516":1,"518":2}}],["enabled",{"0":{"291":1},"2":{"96":1,"154":1,"177":1,"191":1,"244":1,"269":1,"285":1,"311":1,"325":1,"352":1,"369":1,"384":1,"400":1,"483":1,"505":1,"516":1}}],["enabling",{"2":{"229":1}}],["ensuring",{"2":{"79":2,"86":1,"95":1,"230":1,"306":1,"309":1,"361":1,"363":1,"367":1,"401":1,"496":1,"505":1,"525":1}}],["ensures",{"2":{"261":1,"266":1,"276":1,"366":1,"377":1,"379":1,"382":1,"398":3,"509":1,"541":1,"544":1}}],["ensure",{"2":{"52":1,"79":1,"89":1,"93":1,"234":1,"236":1,"314":1,"450":1,"467":1,"498":1,"527":1,"536":2,"537":1}}],["endswith",{"2":{"395":2}}],["ends",{"2":{"333":2,"354":3,"395":1,"526":1}}],["end",{"0":{"425":1},"2":{"73":1,"154":1,"525":2}}],["enddate",{"2":{"73":1,"120":1,"121":1}}],["endpoint=http",{"2":{"446":1}}],["endpoint",{"2":{"55":2,"72":1,"75":1,"98":1,"100":1,"102":1,"103":1,"107":1,"112":1,"116":1,"123":1,"128":1,"132":1,"138":1,"193":1,"195":1,"197":1,"198":1,"202":1,"204":1,"207":1,"213":1,"217":1,"223":1,"326":1,"328":1,"330":1,"331":1,"336":1,"338":1,"340":1,"343":2,"391":1,"446":3,"517":2,"547":1}}],["endpoints",{"0":{"52":1,"71":1,"96":1,"97":1,"127":1,"191":1,"192":1,"212":1,"325":1},"1":{"72":1,"73":1,"74":1,"75":1,"76":1,"97":1,"98":2,"99":2,"100":2,"101":2,"102":2,"103":2,"104":2,"105":2,"106":2,"107":2,"108":2,"109":2,"110":2,"111":2,"112":2,"113":2,"114":2,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":2,"129":2,"130":2,"131":2,"132":2,"133":2,"134":2,"135":2,"136":2,"137":2,"138":2,"139":2,"140":2,"141":2,"142":1,"143":1,"192":1,"193":2,"194":2,"195":2,"196":2,"197":2,"198":2,"199":2,"200":2,"201":2,"202":2,"203":2,"204":2,"205":2,"206":2,"207":2,"208":2,"209":2,"210":2,"211":2,"212":1,"213":2,"214":2,"215":2,"216":2,"217":2,"218":2,"219":2,"220":2,"221":2,"222":2,"223":2,"224":2,"225":2,"226":2,"227":1,"228":1,"326":1,"327":1,"328":1,"329":1,"330":1,"331":1,"332":1,"333":1,"334":1,"335":1,"336":1,"337":1,"338":1,"339":1,"340":1,"341":1,"342":1,"343":1,"344":1,"345":1,"346":1,"347":1},"2":{"6":2,"30":2,"31":1,"52":2,"71":2,"96":2,"142":1,"191":2,"227":1,"325":2}}],["entering",{"2":{"471":1,"491":1}}],["enter",{"2":{"164":1,"468":3,"475":1,"476":1,"480":4,"487":2,"494":1,"499":3}}],["enterprise",{"2":{"72":1,"75":1,"81":1,"89":1,"96":2,"170":1,"177":1,"183":4,"191":2,"240":1,"241":1,"244":1,"303":1,"311":1,"317":3,"325":2,"361":1,"369":1,"370":6,"372":1,"374":1,"383":1,"398":2}}],["entity",{"2":{"106":1,"111":1,"122":1,"137":1,"142":1,"201":1,"206":1,"222":1,"227":1,"335":1,"339":1,"347":1,"407":1}}],["entirely",{"2":{"474":1}}],["entire",{"2":{"75":1,"80":1,"85":1,"86":1,"95":1,"375":1,"377":1,"434":1,"476":1,"518":1,"525":2}}],["entra",{"0":{"492":1},"2":{"489":1,"491":2,"492":1,"495":1}}],["entry",{"2":{"79":1,"80":3,"86":1,"87":7,"88":2,"91":4,"93":1,"95":1,"156":1,"189":1,"367":1,"376":2,"379":1,"386":1,"389":1,"390":1}}],["entries",{"2":{"72":1,"73":1,"77":1,"80":1,"83":1,"85":1,"86":1,"87":2,"94":1,"95":1,"155":1,"167":1,"190":1,"323":1,"344":1,"397":3}}],["env=production",{"2":{"549":1}}],["envorigin=$app",{"2":{"536":1}}],["envapp",{"2":{"536":1,"537":2}}],["envstorage",{"2":{"511":1}}],["env",{"2":{"50":1,"443":1,"445":2,"446":2,"447":1,"456":3,"509":1,"510":4,"513":1,"515":1,"520":1,"535":1,"536":1,"537":1,"547":1}}],["environments",{"2":{"464":1,"544":1}}],["environment",{"0":{"510":1,"514":1},"1":{"511":1,"512":1,"513":1,"514":1,"515":2,"516":2,"517":2,"518":2,"519":2},"2":{"48":1,"50":1,"251":1,"375":1,"380":1,"437":1,"443":1,"448":1,"456":1,"510":2,"514":1,"515":1,"536":1,"545":3}}],["extremely",{"2":{"419":1}}],["extracttextlegacy",{"2":{"465":1}}],["extract",{"2":{"455":1,"458":1}}],["extractor",{"2":{"455":2}}],["extracting",{"2":{"454":1,"463":1}}],["extraction",{"2":{"439":1,"454":1,"455":2,"456":2,"457":1,"460":1,"461":1,"465":1,"519":1}}],["extracted",{"2":{"376":1}}],["extracts",{"2":{"376":1}}],["extension",{"2":{"394":1}}],["extensions",{"2":{"344":1,"359":1,"376":1}}],["extended",{"2":{"194":1,"200":1,"232":1,"233":1,"234":1,"272":1,"313":1,"314":1,"334":1}}],["external",{"0":{"513":1},"2":{"93":1,"230":1,"507":1,"513":2}}],["execute",{"2":{"547":1}}],["executed",{"2":{"121":1}}],["executives",{"2":{"234":1,"272":1}}],["executive",{"0":{"234":1,"314":1},"2":{"194":1,"234":2,"272":1,"294":1,"314":1}}],["examined",{"2":{"292":1}}],["examples",{"0":{"262":1,"411":1,"423":1},"1":{"263":1,"264":1,"265":1,"412":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1,"424":1,"425":1,"426":1,"427":1,"428":1,"429":1},"2":{"148":1,"411":1,"423":1,"509":1}}],["example",{"0":{"105":1,"110":1,"120":1,"135":1,"200":1,"205":1,"220":1,"272":1,"334":1,"345":1,"448":1,"537":1},"2":{"11":1,"12":1,"333":1,"429":1,"456":1,"467":1,"468":1,"487":1,"499":1,"510":2,"513":1,"525":1,"526":3}}],["exactly",{"2":{"475":1,"535":1}}],["exact",{"2":{"121":1,"155":1,"156":1,"176":1,"333":1,"354":1,"526":1,"536":1}}],["existence",{"2":{"453":1}}],["existing",{"2":{"202":1,"217":1,"235":1,"258":1,"281":1,"285":1,"299":1,"306":1,"336":1,"408":1,"547":1}}],["exist",{"2":{"111":1,"114":1,"122":1,"206":1,"211":1,"254":1,"339":1,"342":1,"452":1}}],["exists",{"0":{"453":1},"2":{"106":1,"201":1,"240":1,"273":1,"335":1,"418":1,"450":1,"453":1,"505":1}}],["exclude",{"2":{"419":1,"474":1}}],["excluded",{"0":{"52":1},"2":{"52":1,"396":1}}],["excorp",{"2":{"105":1}}],["excel",{"2":{"519":1}}],["excessive",{"2":{"457":1}}],["except",{"2":{"413":1,"419":1}}],["exceptions",{"0":{"315":1,"419":1},"2":{"407":1,"419":1}}],["exception",{"2":{"92":1}}],["exceeding",{"2":{"396":1}}],["exceeds",{"2":{"376":1}}],["exceeded",{"2":{"48":1,"371":1}}],["excerpt",{"2":{"146":1}}],["experimental",{"0":{"544":1},"1":{"545":1},"2":{"544":2,"545":5}}],["experiencing",{"2":{"534":1}}],["experiences",{"2":{"439":1}}],["expected",{"2":{"168":1,"297":1,"301":1,"503":1}}],["explanation",{"2":{"271":1}}],["explains",{"2":{"229":1,"282":1,"500":1}}],["explicitly",{"2":{"142":1,"363":1,"420":1}}],["explicit",{"2":{"114":1,"174":1}}],["expressive",{"2":{"410":1}}],["expression",{"2":{"354":1,"396":1}}],["express",{"2":{"183":1,"317":1,"370":1}}],["exposed",{"2":{"525":1}}],["exposes",{"2":{"71":1,"96":1,"191":1,"325":1}}],["export",{"2":{"486":4}}],["exports",{"2":{"486":1}}],["exporting",{"0":{"486":1}}],["exponential",{"2":{"51":1,"440":1}}],["expiry",{"2":{"346":1,"349":1,"360":1,"376":1,"384":2,"386":1,"494":1}}],["expires",{"2":{"332":1,"360":1,"363":1,"494":2,"518":1}}],["expired",{"2":{"13":1,"126":1,"151":1,"157":1,"161":1,"174":1,"376":2}}],["expiration",{"2":{"13":1,"518":1}}],["eyjhbgcioijiuzi1niisinr5cci6ikpxvcj9",{"2":{"11":1}}],["dns",{"0":{"464":1},"2":{"464":1}}],["dynamic",{"0":{"421":1},"2":{"421":1}}],["d",{"2":{"404":2,"520":2,"523":1,"527":1,"537":1,"540":1,"545":1,"549":1,"550":1}}],["dto",{"2":{"389":1}}],["drafts",{"2":{"467":1}}],["drizzle",{"2":{"317":1,"370":1,"384":1,"410":1}}],["driver",{"2":{"525":1,"526":1,"527":1}}],["driven",{"0":{"249":1}}],["driving",{"2":{"295":1}}],["dropdowns",{"2":{"291":1,"292":1}}],["dropdown",{"0":{"300":1},"2":{"146":1,"150":1,"151":1,"152":1,"160":1,"166":1,"269":1,"274":1,"278":1,"285":1,"359":1,"476":1,"480":1,"495":1}}],["dump=",{"2":{"549":1}}],["dumps",{"2":{"547":2,"549":1}}],["dump",{"0":{"547":1,"549":1},"2":{"544":1,"546":2,"547":8,"548":1,"549":7,"550":2}}],["dumpless",{"0":{"544":1},"1":{"545":1},"2":{"544":3,"545":5}}],["dutch",{"2":{"530":1}}],["due",{"2":{"377":1,"504":2}}],["duration",{"0":{"366":1},"2":{"366":1,"392":2,"494":1}}],["during",{"0":{"155":1},"2":{"80":1,"216":1,"226":1,"310":1,"322":1,"356":1,"374":1,"401":1,"438":1,"463":1}}],["duplicate",{"2":{"186":1,"436":1}}],["db",{"2":{"136":1,"186":1,"387":1,"516":1}}],["diagnose",{"2":{"533":1}}],["dialog",{"0":{"282":1},"2":{"88":1,"147":1,"152":1,"153":1,"157":1,"270":1,"273":1,"274":1,"276":1,"278":1,"282":1,"285":1,"299":1,"350":1,"356":1,"357":1,"480":1,"493":1}}],["diff",{"2":{"525":1}}],["diffservices",{"2":{"525":1}}],["different",{"2":{"287":2,"442":1,"535":1}}],["digit",{"2":{"482":1}}],["directory",{"0":{"509":1},"2":{"450":1,"468":1,"475":1,"487":1,"492":2,"495":1,"499":1,"509":4,"526":3,"527":1,"549":1}}],["directly",{"2":{"447":1,"462":1,"465":1,"527":1}}],["disallows",{"2":{"534":1}}],["disabling",{"2":{"323":1}}],["disable",{"0":{"281":1},"2":{"209":1,"282":1,"307":1,"474":1,"516":1,"518":1}}],["disableserviceaccountkeycreation",{"0":{"474":1},"2":{"474":2}}],["disables",{"2":{"207":1}}],["disabled",{"0":{"292":1},"2":{"162":1,"210":1,"211":1,"222":1,"244":1,"245":1,"254":1,"269":1,"281":3,"297":1,"300":3,"301":1,"307":2,"319":2,"352":1,"382":1,"511":1,"518":1}}],["disk",{"2":{"448":1}}],["discovered",{"2":{"477":1,"496":1}}],["discovery",{"2":{"477":1,"496":1}}],["discover",{"2":{"476":1}}],["discussion",{"2":{"404":1}}],["discard",{"2":{"155":1}}],["discrepancies",{"2":{"79":1}}],["dispatch",{"2":{"440":1}}],["dispatches",{"2":{"434":1}}],["dispatched",{"2":{"433":1,"436":1}}],["dispute",{"2":{"99":1,"105":1,"272":1}}],["display",{"2":{"273":1,"276":1,"324":1,"354":1,"530":1,"539":1}}],["displayed",{"2":{"83":2,"87":2,"146":1,"162":1,"269":3,"349":1,"360":1,"482":1,"494":1,"502":1,"532":1}}],["displays",{"2":{"83":1,"146":1,"269":1,"349":3,"352":1,"360":1}}],["double",{"2":{"484":1}}],["down",{"2":{"483":1,"548":1}}],["downloaded",{"2":{"472":1,"476":1}}],["download",{"0":{"59":1},"2":{"58":1}}],["downloads",{"2":{"32":1,"92":1}}],["dot",{"2":{"472":1}}],["done",{"2":{"472":1,"488":1,"536":1}}],["don",{"2":{"472":1}}],["docker",{"0":{"516":1,"525":1,"526":1},"1":{"527":1},"2":{"464":1,"468":2,"487":2,"499":2,"506":1,"507":2,"510":2,"512":2,"513":3,"516":1,"520":2,"523":3,"524":2,"525":2,"526":8,"527":3,"540":1,"545":2,"546":2,"548":2,"549":2,"550":2}}],["doc",{"2":{"459":1}}],["docx",{"2":{"401":1,"455":1,"459":1,"460":1,"465":1}}],["documents",{"2":{"119":1,"167":1,"232":1,"296":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1,"454":1}}],["document",{"0":{"232":1},"2":{"44":1,"232":1,"249":1,"297":1,"406":1,"430":1,"432":1,"459":1,"460":1,"465":1}}],["documentation",{"2":{"1":1,"30":1,"236":1,"459":1,"481":1,"486":1,"544":1,"547":1}}],["domain",{"0":{"475":1},"2":{"333":2,"334":2,"354":2,"395":1,"469":1,"475":3,"476":1,"480":1,"533":1,"536":1}}],["doe",{"2":{"120":1,"121":1,"164":1}}],["doesn",{"2":{"254":1,"300":1,"448":1}}],["does",{"2":{"87":2,"111":1,"114":1,"122":1,"151":1,"206":1,"211":1,"292":1,"339":1,"342":1,"343":1,"377":1,"452":1,"498":1,"503":1,"504":1,"535":1}}],["do",{"0":{"505":1},"2":{"80":2,"116":1,"186":1,"204":1,"418":1,"472":1,"513":1,"524":1,"527":1,"544":1,"545":1,"547":1}}],["dos",{"2":{"47":1}}],["dark",{"2":{"531":1}}],["daily",{"2":{"248":1,"374":2,"381":1}}],["day",{"2":{"227":1,"228":1,"271":1,"397":1}}],["days",{"2":{"199":1,"269":2,"271":2,"272":3,"296":4,"319":2,"332":1,"349":1,"351":2,"360":1,"363":1,"376":2,"384":2}}],["date",{"2":{"73":6,"83":1,"98":1,"146":3,"154":3,"159":1,"164":2,"175":1,"179":1,"180":1,"193":1,"264":1,"269":3,"376":1,"387":1,"416":1,"459":1,"496":1,"541":1}}],["datasets",{"2":{"175":1}}],["databases",{"2":{"543":1}}],["database",{"0":{"384":1},"2":{"79":1,"80":1,"112":1,"126":1,"152":1,"155":1,"183":2,"186":1,"188":1,"317":2,"320":1,"370":2,"376":1,"377":1,"384":1,"386":1,"387":1,"410":1,"501":2,"503":1,"511":2,"513":1,"516":5,"518":1,"520":1,"521":1,"541":3,"544":2,"545":1}}],["data",{"0":{"184":1,"235":1,"265":1,"318":1,"386":1,"389":1,"403":1,"526":1,"527":1,"541":1},"1":{"185":1,"186":1,"319":1,"320":1,"527":1},"2":{"32":1,"71":1,"74":1,"87":1,"92":1,"145":1,"167":1,"235":2,"265":2,"343":1,"360":1,"361":2,"397":1,"401":2,"426":1,"445":1,"468":3,"469":1,"475":3,"487":3,"489":1,"499":3,"504":1,"505":2,"509":4,"511":2,"512":1,"517":2,"518":1,"520":1,"526":13,"527":9,"542":1,"543":1,"544":1,"546":1,"547":2,"549":3,"550":1}}],["dashboard",{"0":{"18":1},"1":{"19":1,"20":1,"21":1,"22":1,"23":1},"2":{"11":1,"12":1,"13":1,"18":2,"32":2,"144":1,"164":1,"183":2,"238":1,"267":1,"317":1,"348":1,"370":1,"407":1,"409":2,"425":2,"426":1,"468":1,"476":1,"480":1,"499":1}}],["decides",{"2":{"455":1}}],["decisions",{"2":{"261":1,"309":1}}],["decision",{"2":{"172":1}}],["decouple",{"2":{"442":1}}],["demonstrates",{"2":{"428":1}}],["demonstrating",{"2":{"423":1}}],["developer",{"2":{"534":1}}],["developers",{"2":{"406":1}}],["development",{"2":{"515":1}}],["developing",{"2":{"51":1}}],["deduplicates",{"2":{"463":1}}],["deduplication",{"2":{"401":1}}],["dedicated",{"2":{"95":1,"251":1}}],["denies",{"2":{"419":1}}],["denied",{"0":{"302":1},"2":{"420":1}}],["denial",{"2":{"47":1,"396":1}}],["delta",{"2":{"496":1}}],["delegation",{"0":{"475":1},"2":{"469":1,"475":2}}],["deletion",{"0":{"188":1,"209":1,"279":1,"307":1,"382":1},"1":{"280":1,"281":1},"2":{"111":1,"142":1,"145":1,"146":1,"151":2,"152":1,"157":1,"162":1,"170":1,"172":1,"176":1,"183":1,"188":2,"278":1,"279":1,"282":2,"301":1,"307":3,"323":1,"357":1,"360":1,"363":2,"367":3,"376":2,"379":1,"382":2,"401":1,"518":3}}],["deletions",{"2":{"92":1,"367":1,"378":2,"382":1}}],["deleting",{"0":{"152":1,"168":1,"278":1,"357":1},"1":{"279":1,"280":1,"281":1,"282":1},"2":{"6":1,"62":1,"168":1,"267":1,"311":1,"348":1,"357":1,"442":1}}],["deletepolicy",{"0":{"390":1}}],["deletearchivedemail",{"2":{"188":1,"376":1,"382":1}}],["deletes",{"2":{"112":1,"207":1,"340":1,"371":1,"376":1,"390":1,"452":1}}],["deleted",{"2":{"87":1,"114":2,"123":1,"126":1,"151":1,"152":2,"157":1,"161":1,"167":1,"172":1,"174":2,"190":1,"209":1,"210":1,"211":1,"254":1,"280":1,"281":1,"301":1,"342":1,"357":1,"361":1,"368":1,"376":1,"379":2,"390":1,"434":1,"436":1,"452":1,"504":1}}],["delete",{"0":{"5":1,"9":1,"29":1,"38":1,"67":1,"112":1,"162":1,"166":2,"168":1,"207":1,"280":1,"301":1,"340":1,"452":1},"1":{"113":1,"114":1,"208":1,"209":1,"210":1,"211":1,"341":1,"342":1},"2":{"91":1,"112":2,"113":1,"138":2,"142":1,"152":4,"162":1,"163":1,"164":1,"172":1,"186":2,"188":1,"190":1,"207":2,"208":1,"209":1,"217":1,"223":3,"238":1,"251":1,"269":1,"278":1,"282":1,"284":1,"288":1,"289":1,"292":1,"302":1,"307":3,"311":1,"323":1,"332":1,"334":1,"340":2,"341":1,"346":2,"349":1,"353":1,"357":1,"379":1,"384":1,"390":1,"392":2,"408":3,"422":1,"452":1,"481":1}}],["delays",{"2":{"257":1}}],["deprecated",{"2":{"518":2}}],["dependency",{"2":{"447":1}}],["depends",{"2":{"394":1,"458":1}}],["depending",{"2":{"146":1,"207":1,"468":1,"477":1,"484":1,"499":1,"526":1,"549":1}}],["deployments",{"2":{"439":1}}],["deploying",{"0":{"524":1},"1":{"525":1},"2":{"403":1,"506":1,"522":1,"524":1,"525":1}}],["deploy",{"2":{"266":1}}],["department",{"2":{"264":1,"334":1}}],["departments",{"2":{"233":1}}],["debugging",{"2":{"255":1,"377":1,"381":1}}],["debug",{"2":{"189":1}}],["def",{"2":{"376":1}}],["defining",{"2":{"429":1}}],["definition",{"2":{"370":1,"525":1,"527":1}}],["definitions",{"2":{"183":1,"317":1,"513":1}}],["defines",{"2":{"410":1}}],["defined",{"2":{"384":1,"407":1,"410":1}}],["define",{"2":{"353":1,"361":1,"363":1,"401":1,"410":1,"448":1,"536":1}}],["defaultredispassword",{"2":{"516":1}}],["defaults",{"2":{"50":2,"73":3,"185":1,"332":1,"359":1}}],["default",{"0":{"531":1},"2":{"48":1,"269":1,"327":1,"349":1,"352":1,"374":1,"380":1,"384":1,"412":1,"419":1,"423":1,"437":1,"492":1,"512":1,"513":1,"515":1,"516":1,"517":1,"518":1,"519":1,"530":1,"531":3}}],["deactivating",{"0":{"151":1},"2":{"144":1,"151":1}}],["deactivation",{"2":{"114":1,"174":1,"176":1}}],["deactivates",{"2":{"174":1}}],["deactivated",{"2":{"146":1,"174":1,"190":1}}],["deactivate",{"0":{"110":1},"2":{"109":1,"114":1,"142":1,"150":1,"151":1,"152":3,"163":1,"164":1,"166":1,"168":1}}],["determining",{"2":{"351":1}}],["determine",{"2":{"235":1,"247":1,"361":1,"515":1}}],["determines",{"2":{"151":1,"383":1,"391":1,"444":1,"530":1}}],["detects",{"2":{"440":1}}],["detection",{"0":{"436":1},"2":{"436":1,"440":1}}],["detector",{"2":{"435":1}}],["detectable",{"2":{"91":1}}],["detected",{"2":{"87":1,"436":1}}],["detail",{"0":{"94":1,"284":1,"324":1},"2":{"144":1,"149":1,"159":1,"162":1,"164":1,"183":2,"283":1,"317":1}}],["details",{"0":{"88":1},"2":{"31":1,"74":1,"83":2,"88":1,"94":1,"261":1,"292":1,"323":2,"379":1,"386":1,"404":1,"475":2,"476":1,"480":2,"495":1,"515":1,"547":1}}],["detailed",{"2":{"30":1,"94":1,"271":1,"351":1,"402":1,"403":1,"411":1,"542":1}}],["destruction",{"2":{"170":1}}],["design",{"2":{"382":1,"442":1}}],["designed",{"2":{"80":1,"82":1,"89":1,"92":1,"170":1,"368":1,"447":1,"459":1}}],["desired",{"2":{"164":1,"277":1,"285":1,"299":1}}],["described",{"2":{"474":1}}],["describes",{"2":{"430":1}}],["descriptions",{"0":{"295":1},"2":{"295":1}}],["description",{"2":{"73":1,"101":1,"104":2,"108":1,"109":2,"113":1,"117":1,"118":1,"119":1,"124":1,"129":1,"133":1,"134":1,"139":1,"146":1,"148":1,"183":1,"185":2,"186":1,"194":2,"196":1,"199":3,"200":1,"203":1,"205":2,"208":1,"214":1,"218":1,"219":1,"224":1,"228":1,"269":1,"271":1,"272":2,"275":1,"282":1,"317":1,"319":3,"320":1,"327":1,"329":1,"332":3,"333":1,"334":1,"337":1,"341":1,"344":1,"346":1,"351":2,"354":1,"370":1,"380":1,"381":1,"384":3,"397":1,"437":1,"472":1,"494":2,"515":1,"516":1,"517":1,"518":1,"519":1}}],["descriptively",{"2":{"164":1}}],["descriptive",{"2":{"13":1,"148":1,"271":1,"294":1,"351":1,"436":1,"480":1,"492":1}}],["desc",{"2":{"73":2,"239":1}}],["cd",{"2":{"508":1,"526":1}}],["cdef",{"2":{"99":1,"346":1}}],["csv",{"2":{"459":1}}],["cc",{"2":{"376":1}}],["cto",{"2":{"234":1}}],["cfo",{"2":{"234":1,"345":1,"359":1}}],["certificates",{"2":{"494":1}}],["certain",{"2":{"52":1}}],["center",{"2":{"491":1,"492":1,"495":1}}],["ceo",{"2":{"234":1}}],["c",{"2":{"234":1,"272":1,"534":1}}],["c3d4e5f6",{"2":{"99":1,"346":1}}],["clear",{"2":{"338":2,"401":1,"494":1,"502":1}}],["cleanstalesessions",{"2":{"436":1}}],["clean",{"0":{"550":1},"2":{"306":1}}],["cleanup",{"2":{"297":1}}],["cleaned",{"2":{"167":1}}],["clone",{"0":{"508":1},"2":{"508":2}}],["cloud",{"0":{"472":1},"2":{"444":1,"469":1,"470":1,"471":1,"472":2,"474":2,"475":1,"490":1}}],["closes",{"2":{"273":1}}],["clock",{"2":{"209":1}}],["class",{"2":{"385":1,"448":1}}],["classification",{"0":{"232":1,"235":1,"265":1},"2":{"235":2,"248":1,"265":1,"266":1}}],["clarity",{"0":{"94":1}}],["cli",{"2":{"545":1}}],["clients",{"2":{"466":1,"486":2,"488":1}}],["client",{"0":{"486":1,"494":1},"2":{"51":1,"475":5,"486":1,"491":1,"494":3,"495":2}}],["clicking",{"2":{"84":1,"88":1,"161":1,"284":1}}],["click",{"2":{"13":1,"147":1,"150":1,"152":1,"160":1,"164":3,"270":1,"274":1,"277":1,"278":1,"285":1,"350":1,"356":1,"357":1,"468":3,"472":6,"474":2,"475":4,"476":2,"480":2,"482":2,"483":1,"486":1,"487":1,"492":2,"493":4,"494":2,"495":2,"499":3}}],["chown",{"2":{"509":1}}],["choosing",{"0":{"444":1}}],["choose",{"2":{"353":1,"468":2,"478":1,"482":1,"486":1,"487":1,"499":2,"531":1}}],["child",{"2":{"434":3}}],["character",{"2":{"454":1}}],["characters",{"2":{"104":2,"109":2,"143":2,"148":2,"199":2,"228":2,"271":2,"332":2,"333":1,"344":2,"396":1,"397":7}}],["chars",{"2":{"333":1,"354":1}}],["changes",{"2":{"277":2,"358":1,"422":1,"476":2,"480":2,"495":2,"504":1,"523":1,"525":1,"527":1,"535":1,"537":1,"540":1,"548":1}}],["change",{"2":{"276":1,"284":1,"285":1,"442":1,"477":1,"496":1,"511":1,"512":1,"513":1,"518":1,"527":3,"530":1,"542":1,"543":1}}],["changed",{"2":{"150":1,"389":1,"496":1,"503":1,"530":1}}],["changing",{"2":{"151":1}}],["chained",{"2":{"91":1,"176":1}}],["chain",{"2":{"75":1,"76":1,"80":2,"86":2,"87":4,"89":1,"91":2,"95":1}}],["chronological",{"2":{"84":2}}],["chunks",{"2":{"80":1}}],["checked",{"2":{"518":1}}],["checkmark",{"2":{"493":1}}],["checktikaavailability",{"2":{"464":1}}],["checkduplicate",{"2":{"436":1,"440":1}}],["checks",{"2":{"376":1,"453":1,"539":1}}],["checkboxes",{"2":{"352":1}}],["checking",{"0":{"539":1},"2":{"242":1}}],["check",{"0":{"17":1,"42":1,"43":1,"240":1,"464":1,"500":1,"505":1},"1":{"43":1,"501":1,"502":1,"503":1,"504":1,"505":1},"2":{"51":2,"75":1,"80":1,"86":1,"164":1,"188":1,"211":1,"240":1,"255":1,"258":1,"300":1,"392":1,"412":1,"453":1,"456":1,"464":2,"477":1,"484":3,"493":1,"500":1,"501":1,"505":2,"520":1,"547":1}}],["custodian",{"2":{"164":1,"179":1}}],["custodians",{"2":{"164":1}}],["custom",{"2":{"79":1,"268":1,"316":1,"482":1,"488":1}}],["customize",{"2":{"50":1,"510":1}}],["currently",{"2":{"98":1,"114":1,"128":1,"146":2,"159":1,"160":1,"185":1,"204":1,"209":1,"213":1,"276":1,"281":1,"292":1,"299":1,"301":1,"307":2,"332":1,"346":1,"360":1,"544":2}}],["currenthash",{"2":{"74":1,"80":2,"87":2}}],["current",{"0":{"68":1,"69":1,"240":1},"2":{"51":2,"80":1,"88":1,"240":2,"284":1,"356":1,"389":1,"392":1,"421":2,"484":1,"503":2,"504":1,"509":1,"546":1}}],["cross",{"2":{"533":1,"534":2}}],["cron",{"2":{"374":2,"381":1,"433":1,"437":1,"515":1}}],["crashes",{"2":{"440":1}}],["crashed",{"2":{"436":1}}],["crash",{"2":{"440":1}}],["critical",{"2":{"296":1,"493":1}}],["criteria",{"2":{"249":1,"264":1,"410":1}}],["crud",{"0":{"385":1},"1":{"386":1,"387":1,"388":1,"389":1,"390":1},"2":{"183":1,"317":1,"370":1,"383":1}}],["crucial",{"2":{"47":1,"454":1,"493":1,"505":1}}],["cryptographically",{"2":{"91":1,"176":1}}],["cryptographic",{"2":{"86":1,"95":1,"501":1}}],["credential",{"2":{"513":1}}],["credentials",{"2":{"33":1,"443":1,"446":1,"471":1,"472":1,"476":1,"484":1,"491":1,"512":1}}],["creating",{"0":{"13":1,"147":1,"270":1,"350":1,"419":1,"468":1,"499":1},"1":{"148":1,"149":1,"271":1,"272":1,"273":1,"351":1,"352":1,"353":1,"354":1,"355":1},"2":{"60":1,"62":1,"77":1,"91":1,"144":1,"266":1,"267":1,"311":1,"348":1,"406":1,"407":1,"410":1,"419":1,"491":1,"509":1,"544":1,"546":1}}],["creation",{"0":{"149":1},"2":{"2":1,"79":1,"80":1,"98":1,"146":1,"147":1,"176":1,"179":1,"185":2,"193":1,"269":1,"270":1,"319":1,"323":1,"350":1,"355":1,"356":1,"367":1,"384":1,"474":2,"547":2}}],["createpolicy",{"0":{"386":1}}],["creates",{"2":{"103":1,"179":1,"180":1,"198":1,"331":1,"386":1,"390":1,"434":2}}],["createauditlog",{"2":{"81":1}}],["create",{"0":{"26":1,"34":1,"64":1,"103":1,"198":1,"331":1,"494":1,"509":1,"547":1},"1":{"104":1,"105":1,"106":1,"199":1,"200":1,"201":1,"332":1,"333":1,"334":1,"335":1},"2":{"12":1,"73":1,"79":1,"147":1,"163":1,"164":2,"190":1,"204":1,"238":2,"245":1,"266":1,"270":1,"288":1,"299":1,"323":1,"338":1,"350":1,"386":1,"407":1,"408":3,"419":1,"421":1,"422":1,"425":2,"445":1,"447":1,"468":1,"472":8,"474":1,"476":2,"480":2,"481":1,"482":1,"483":2,"492":1,"494":1,"495":2,"499":1,"509":2,"510":1,"520":2,"525":1,"544":2,"547":1}}],["createdat",{"2":{"99":2,"194":2,"327":1,"526":1}}],["created",{"2":{"2":1,"103":1,"106":2,"146":2,"147":1,"185":1,"186":1,"190":1,"201":2,"238":1,"269":2,"273":1,"319":1,"335":2,"384":1,"389":1,"425":1,"436":1,"445":1,"472":1,"475":2,"511":1,"526":1,"543":1,"547":1,"548":1}}],["cycle",{"0":{"434":1},"1":{"435":1,"436":1},"2":{"44":1,"111":1,"126":1,"151":1,"157":1,"161":1,"174":2,"430":1,"432":1,"433":2,"434":3}}],["covered",{"2":{"542":1}}],["coolify",{"0":{"524":1,"525":1},"1":{"525":1},"2":{"524":2,"525":3}}],["coordinated",{"2":{"434":1}}],["coordination",{"0":{"434":1},"1":{"435":1,"436":1},"2":{"430":1}}],["copied",{"2":{"475":1,"495":1}}],["copy",{"2":{"13":1,"475":1,"476":1,"482":1,"494":2,"495":1,"510":1}}],["costs",{"2":{"401":1}}],["coerced",{"2":{"397":1}}],["combination",{"2":{"455":1}}],["combine",{"2":{"423":1}}],["combining",{"2":{"420":1}}],["comes",{"2":{"410":1}}],["comment",{"2":{"513":1}}],["communicate",{"2":{"525":1}}],["communication",{"0":{"234":1},"2":{"400":1}}],["communications",{"0":{"314":1},"2":{"180":1,"194":1,"234":3,"268":1,"272":1,"314":1,"401":1}}],["community",{"2":{"404":1}}],["command",{"2":{"511":1,"520":1,"526":2,"527":1,"545":2,"547":1,"549":3,"550":1}}],["commands",{"2":{"509":1,"523":1,"542":1}}],["comma",{"2":{"359":2,"475":1}}],["common",{"0":{"231":1,"254":1},"1":{"232":1,"233":1,"234":1,"235":1,"236":1},"2":{"296":1,"419":1,"442":1,"455":1,"479":1,"485":1,"504":2,"533":1}}],["com",{"2":{"119":1,"120":1,"121":1,"333":1,"334":2,"345":2,"359":1,"429":1,"475":3,"476":1,"480":2,"482":1,"508":1,"526":4,"537":2}}],["computer",{"2":{"472":1,"499":1}}],["computes",{"2":{"79":1}}],["compressed",{"2":{"467":1}}],["compress",{"2":{"467":1}}],["compression",{"2":{"401":1,"467":2}}],["comprehensive",{"2":{"82":1,"267":1,"348":1,"401":1}}],["compose",{"0":{"516":1,"525":1},"2":{"468":1,"487":1,"499":1,"506":1,"507":1,"512":1,"513":3,"516":1,"520":3,"523":2,"524":1,"525":2,"526":5,"527":4,"537":1,"540":2,"545":3,"546":1,"547":1,"548":2,"549":3,"550":3}}],["composed",{"2":{"317":1,"370":1}}],["composite",{"2":{"186":1,"320":1}}],["components",{"2":{"317":1,"370":1}}],["component",{"2":{"183":1,"317":1,"370":1,"371":1,"454":1}}],["completion",{"2":{"434":1}}],["completely",{"2":{"307":1}}],["completed",{"2":{"122":1,"169":1,"226":1,"347":1,"381":1,"434":2}}],["completeness",{"0":{"92":1}}],["complete",{"2":{"87":1,"89":1,"144":1,"190":1,"309":1,"459":1,"463":1,"477":1,"484":1,"505":1,"514":1,"550":1}}],["complex",{"2":{"295":1,"410":1,"511":1}}],["compliance",{"0":{"233":1},"2":{"89":1,"90":1,"144":1,"145":1,"148":1,"164":1,"170":1,"179":1,"183":2,"229":1,"232":1,"235":1,"260":1,"263":1,"265":1,"267":1,"268":1,"276":1,"315":1,"317":2,"348":1,"361":1,"370":2,"374":1,"381":1,"382":1,"384":1,"401":1}}],["compatibility",{"2":{"459":1}}],["compatible",{"0":{"446":1},"2":{"58":1,"401":1,"442":1,"444":1,"512":1,"517":5,"543":1}}],["company",{"2":{"194":1}}],["compare",{"2":{"353":1}}],["compares",{"2":{"80":2,"86":1,"394":2,"501":1}}],["comparisons",{"2":{"394":1,"416":1}}],["comparison",{"2":{"353":1,"394":1,"395":1}}],["comparing",{"2":{"95":1}}],["cors",{"0":{"533":1},"1":{"534":1,"535":1,"536":1,"537":1},"2":{"515":1,"533":2,"534":2,"537":1}}],["corruption",{"2":{"504":1,"505":1}}],["corrupted",{"2":{"501":1,"544":1}}],["correctly",{"2":{"525":1,"533":1,"536":2,"537":1,"550":1}}],["correct",{"2":{"447":1,"505":1,"509":1,"526":4}}],["corresponds",{"2":{"547":1}}],["corresponding",{"2":{"266":1}}],["correspondence",{"2":{"200":1,"334":1}}],["corp",{"2":{"119":1,"164":1}}],["core",{"0":{"90":1,"171":1,"304":1,"362":1},"1":{"91":1,"92":1,"93":1,"94":1,"95":1,"172":1,"173":1,"174":1,"175":1,"176":1,"305":1,"306":1,"307":1,"308":1,"309":1,"310":1,"363":1,"364":1,"365":1,"366":1,"367":1,"368":1},"2":{"78":1,"90":1,"382":1,"383":1,"391":1,"442":1}}],["counsel",{"2":{"105":1,"145":1}}],["counted",{"2":{"121":1,"155":1}}],["count",{"0":{"169":1},"2":{"52":1,"98":1,"164":1,"169":1}}],["could",{"2":{"93":1,"227":1,"504":4}}],["column",{"2":{"185":1,"186":1,"319":1,"320":1,"384":1,"387":1,"494":1}}],["columns",{"2":{"83":1,"146":1,"269":1,"349":1}}],["color",{"2":{"83":1,"531":1}}],["codes",{"0":{"122":1,"126":1,"131":1,"137":1,"141":1,"211":1,"216":1,"222":1,"226":1,"347":1},"2":{"255":1}}],["coded",{"2":{"83":1}}],["code",{"2":{"48":1,"51":2,"404":3,"442":1}}],["concurrent",{"2":{"438":1}}],["concurrency",{"0":{"438":1,"463":1},"2":{"437":1}}],["concludes",{"2":{"164":1,"174":1,"181":1}}],["conduct",{"2":{"404":1}}],["condition",{"0":{"353":1,"364":1},"2":{"332":1,"364":1,"392":2}}],["conditions",{"0":{"333":1,"410":1},"1":{"411":1,"412":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1},"2":{"327":1,"332":1,"334":1,"338":2,"349":4,"353":2,"363":1,"364":2,"384":1,"392":1,"407":3,"410":3,"419":1,"421":1,"423":1,"425":2,"428":1,"429":1}}],["connect",{"2":{"401":1,"403":1,"477":1,"478":1,"484":2,"496":1,"513":1}}],["connection",{"2":{"464":1,"469":2,"477":1,"480":3,"484":2,"489":2,"495":1,"496":1,"516":1}}],["connections",{"2":{"33":1}}],["connectivity",{"2":{"456":1}}],["connecting",{"0":{"469":1,"476":1,"478":1,"479":1,"489":1,"495":1},"1":{"470":1,"471":1,"472":1,"473":1,"474":1,"475":1,"476":1,"477":1,"480":1,"481":1,"482":1,"483":1,"484":1,"490":1,"491":1,"492":1,"493":1,"494":1,"495":1,"496":1},"2":{"1":3,"403":3,"478":1,"479":1,"522":3}}],["converted",{"2":{"465":1}}],["converts",{"2":{"79":1,"387":1}}],["convenience",{"2":{"464":1,"513":1}}],["conventions",{"0":{"294":1}}],["conflicts",{"2":{"524":1}}],["conflict",{"2":{"106":1,"114":1,"122":1,"137":1,"152":1,"186":1,"201":1,"204":1,"206":1,"222":1,"254":1,"273":1,"276":1,"299":1,"335":1,"366":1}}],["config",{"2":{"526":1,"527":2,"549":1}}],["configuring",{"2":{"471":1,"509":1}}],["configure",{"0":{"510":1},"1":{"511":1,"512":1,"513":1,"514":1,"515":1,"516":1,"517":1,"518":1,"519":1},"2":{"403":1,"406":1,"456":1,"495":1,"513":1,"515":1,"516":1,"522":1,"528":1,"545":1}}],["configured",{"2":{"33":1,"58":1,"144":1,"267":1,"348":1,"363":1,"374":1,"440":1,"443":1,"455":1,"457":1,"459":1,"460":1,"468":1,"487":1,"499":1,"510":1,"520":1,"533":1,"535":1,"536":1}}],["configurations",{"2":{"360":1}}],["configuration",{"0":{"50":1,"380":1,"403":1,"437":1,"443":1,"445":1,"446":1,"456":1,"511":1,"512":1,"516":1,"529":1,"537":1},"1":{"438":1,"439":1,"444":1,"445":1,"446":1,"530":1,"531":1,"532":1},"2":{"55":1,"376":1,"430":1,"442":1,"447":1,"448":1,"455":1,"476":1,"480":2,"495":1,"510":1,"514":1,"525":1,"537":2,"545":1}}],["configurable",{"2":{"48":1,"375":1}}],["confident",{"2":{"505":1}}],["confidential",{"2":{"120":1,"121":1,"235":1,"265":2}}],["confirms",{"2":{"277":1}}],["confirmations",{"2":{"232":1}}],["confirmation",{"0":{"282":1},"2":{"155":1,"157":1,"278":1,"357":1,"493":1}}],["confirm",{"2":{"152":1,"164":1,"242":1,"282":1,"285":1}}],["confirming",{"2":{"87":1,"273":1}}],["consult",{"2":{"481":1}}],["console",{"0":{"472":1},"2":{"470":1,"471":2,"472":1,"474":1,"475":2,"534":1}}],["consent",{"2":{"469":1,"493":2}}],["consists",{"2":{"353":1}}],["consistent",{"2":{"230":1,"266":1,"294":1,"442":1}}],["consistency",{"2":{"79":1}}],["considered",{"2":{"436":1}}],["consider",{"2":{"296":1,"297":1}}],["considerations",{"0":{"256":1},"1":{"257":1,"258":1}}],["constraint",{"2":{"143":1,"228":1,"275":1,"319":1,"320":1,"397":1,"474":1}}],["constraints",{"0":{"143":1,"228":1}}],["constructs",{"2":{"79":1}}],["contact",{"2":{"302":1,"532":1}}],["containers",{"2":{"520":2,"527":1}}],["container",{"2":{"468":4,"487":4,"499":4,"527":1,"545":1,"547":2,"549":1}}],["contain",{"2":{"467":1,"498":1}}],["contains",{"2":{"91":1,"156":1,"333":4,"350":1,"354":5,"395":2,"472":1}}],["containing",{"2":{"88":1,"468":1}}],["contribute",{"2":{"404":1}}],["contributions",{"2":{"404":2}}],["contributing",{"0":{"404":1},"2":{"404":1}}],["contractual",{"2":{"236":1}}],["contracts",{"2":{"236":1,"316":1}}],["controlled",{"2":{"375":1,"382":1}}],["controller",{"2":{"183":2,"317":2,"370":2,"397":1}}],["control",{"2":{"268":1,"364":1,"406":1,"410":1,"423":1,"427":1,"475":1,"518":1}}],["controls",{"0":{"158":1},"1":{"159":1,"160":1,"161":1,"162":1},"2":{"85":1,"144":1,"324":1,"352":1,"355":1,"475":1,"531":1,"533":1}}],["continues",{"2":{"161":1,"269":1,"292":1,"368":1,"377":1}}],["continue",{"2":{"152":1,"255":1,"472":1}}],["continuous",{"2":{"44":2,"363":1,"401":1,"432":2,"433":2,"434":1,"436":2,"437":1,"477":1,"496":1,"515":1}}],["content",{"0":{"450":1},"2":{"114":1,"154":1,"230":1,"232":1,"235":1,"241":1,"247":1,"252":1,"265":1,"342":1,"450":2,"451":1,"454":1,"462":1,"476":1,"501":1,"503":1,"504":1}}],["contents",{"0":{"0":1},"1":{"1":1},"2":{"472":1}}],["contextual",{"2":{"94":1}}],["context",{"2":{"94":1}}],["caching",{"0":{"462":1}}],["cache",{"2":{"245":1,"258":1,"462":5}}],["catch",{"2":{"396":1,"448":1}}],["category",{"2":{"265":1}}],["categorizes",{"2":{"265":1}}],["caught",{"2":{"396":1}}],["causing",{"2":{"368":1}}],["cause",{"0":{"535":1},"2":{"166":1,"167":2,"168":1,"169":1,"299":1,"300":1,"301":1,"302":1}}],["caution",{"2":{"368":1,"544":1}}],["capabilities",{"2":{"459":1}}],["capability",{"2":{"303":1}}],["capture",{"2":{"180":1}}],["captured",{"2":{"164":1}}],["care",{"2":{"448":1}}],["carefully",{"2":{"155":1}}],["carve",{"2":{"419":1}}],["card",{"2":{"83":1,"159":1,"160":1,"161":1,"183":1}}],["carry",{"2":{"2":1}}],["calendar",{"2":{"494":1}}],["calculates",{"2":{"501":1}}],["calculated",{"2":{"376":1}}],["calculatehash",{"2":{"79":1,"80":1}}],["calculation",{"0":{"79":1}}],["calls",{"2":{"188":1,"189":1,"245":1,"257":1,"258":1,"376":1}}],["called",{"2":{"52":1,"81":1,"374":1,"382":1,"481":1,"526":1}}],["calling",{"2":{"11":1,"114":1}}],["cancel",{"2":{"282":1}}],["candelete",{"2":{"188":1}}],["cannot",{"0":{"166":2,"299":1,"301":1,"419":1},"2":{"114":1,"137":1,"142":1,"152":2,"204":1,"245":1,"269":1,"276":1,"281":1,"282":1,"292":1,"302":1,"319":1,"382":1,"407":1,"419":2,"420":2}}],["canonicalstringify",{"2":{"79":1}}],["canonical",{"2":{"79":3}}],["can",{"2":{"48":1,"50":1,"52":1,"73":1,"84":1,"88":1,"95":1,"122":1,"172":2,"173":1,"174":2,"182":1,"269":1,"275":3,"283":1,"286":1,"291":1,"292":1,"297":1,"301":1,"306":1,"307":1,"308":1,"313":1,"352":1,"356":1,"364":1,"365":1,"378":1,"382":1,"407":3,"419":3,"420":2,"421":1,"422":1,"429":1,"450":1,"455":1,"459":1,"463":1,"467":2,"474":1,"477":1,"478":1,"481":1,"484":1,"486":1,"487":1,"492":1,"496":1,"498":2,"504":1,"505":2,"509":1,"511":2,"513":1,"517":1,"520":2,"521":2,"524":1,"525":2,"526":2,"527":1,"531":1,"533":1,"535":1,"539":1,"545":2,"547":3,"548":1}}],["casting",{"2":{"175":1}}],["cast",{"2":{"153":1,"176":1}}],["cascades",{"2":{"186":2}}],["cascade",{"2":{"112":1,"152":1}}],["casl",{"2":{"24":1}}],["cases",{"0":{"178":1,"231":1,"312":1},"1":{"179":1,"180":1,"181":1,"182":1,"232":1,"233":1,"234":1,"235":1,"236":1,"313":1,"314":1,"315":1,"316":1},"2":{"104":1,"182":1,"185":1,"266":1,"512":1}}],["caseid",{"2":{"99":2,"104":1,"105":1,"143":1,"182":1}}],["case",{"0":{"182":1},"2":{"10":1,"173":1,"175":1,"182":1,"185":1,"233":1,"264":1,"294":2,"333":5,"354":5,"394":1,"396":1,"412":1,"413":1,"414":1,"415":1,"419":1,"440":1,"481":1}}],["oauth",{"2":{"475":1}}],["odp",{"2":{"459":1}}],["ods",{"2":{"459":1}}],["odt",{"2":{"459":1}}],["ocrservice",{"0":{"461":1},"1":{"462":1,"463":1,"464":1},"2":{"461":2}}],["ocr",{"0":{"454":1},"1":{"455":1,"456":1,"457":1,"458":1,"459":1,"460":1,"461":1,"462":1,"463":1,"464":1,"465":1},"2":{"454":1,"459":1}}],["occur",{"2":{"535":1}}],["occurs",{"2":{"89":1,"189":1}}],["occurred",{"2":{"82":1,"126":1}}],["ou",{"2":{"508":1}}],["our",{"2":{"402":1,"403":1,"404":3}}],["outlook",{"0":{"483":1},"2":{"481":1,"497":1}}],["out",{"2":{"116":1,"175":1,"419":1,"480":1,"513":1,"518":1}}],["outside",{"2":{"105":1}}],["output",{"2":{"79":1}}],["owned",{"2":{"509":1}}],["own",{"2":{"173":1,"402":1,"425":1,"513":1}}],["omitted",{"2":{"146":1}}],["optical",{"2":{"454":1}}],["option",{"2":{"151":1,"153":1,"157":1,"166":1,"274":1,"278":1,"492":1,"518":1,"545":3}}],["options",{"2":{"146":1,"269":1,"430":1,"483":2,"526":1}}],["optionally",{"2":{"182":1,"365":1}}],["optional",{"2":{"104":1,"109":1,"148":1,"185":2,"204":1,"271":1,"319":1,"338":1,"344":1,"351":1,"359":1,"384":1,"407":2,"446":2,"492":1,"511":1,"516":1,"517":1,"519":1}}],["operating",{"2":{"531":1}}],["operational",{"2":{"464":1}}],["operation",{"2":{"116":1,"121":1,"122":1,"123":1,"132":1,"153":1,"155":1,"157":2,"160":1,"163":1,"167":1,"169":1,"175":2,"226":1,"261":1,"282":1}}],["operations",{"0":{"115":1,"289":1,"385":1},"1":{"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"386":1,"387":1,"388":1,"389":1,"390":1},"2":{"176":2,"177":1,"183":1,"186":1,"190":1,"255":1,"258":1,"287":1,"291":1,"302":1,"309":1,"311":1,"317":1,"320":1,"323":1,"370":1,"383":1,"442":1}}],["operates",{"2":{"382":1}}],["operators",{"0":{"354":1,"411":1},"1":{"412":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1},"2":{"333":1,"353":1,"364":1,"411":1}}],["operator",{"0":{"395":1},"2":{"333":3,"334":2,"353":3,"354":1,"394":1,"395":2,"396":1,"412":1,"428":1,"434":1}}],["openarchiver",{"0":{"476":1,"487":1,"495":1},"2":{"466":1,"467":1,"468":2,"471":1,"482":2,"483":1,"485":1,"487":1,"488":1,"491":2,"492":1,"494":1,"495":1,"497":1,"498":2,"499":2,"508":2,"526":2}}],["openarchiverfeature",{"2":{"398":1}}],["openxmlformats",{"2":{"460":2,"465":2}}],["opendocument",{"2":{"459":1}}],["opens",{"2":{"153":1,"358":1}}],["open",{"0":{"400":1,"548":1},"2":{"2":1,"30":1,"82":1,"88":1,"89":1,"147":1,"164":1,"270":1,"274":1,"278":1,"350":1,"356":1,"378":1,"399":1,"400":3,"402":1,"404":2,"406":1,"445":1,"476":1,"478":1,"480":1,"500":1,"501":1,"502":1,"506":1,"508":1,"509":4,"510":1,"511":1,"513":1,"516":2,"517":2,"521":1,"522":1,"523":1,"524":1,"525":7,"526":1,"527":8,"536":1,"538":1,"539":1,"540":2,"542":1,"543":2,"548":1}}],["otherwise",{"2":{"145":1,"305":1,"376":1,"392":1,"453":1}}],["other",{"2":{"81":1,"138":1,"148":1,"152":1,"161":1,"255":1,"427":1,"447":1,"466":1,"476":1,"482":1,"486":1,"518":1,"520":1,"525":2,"527":3,"532":1,"549":1}}],["obligation",{"2":{"382":1}}],["obsolete",{"2":{"297":1}}],["objects",{"2":{"130":1,"131":1,"407":1}}],["object",{"0":{"119":1},"2":{"79":5,"83":1,"94":1,"102":1,"106":1,"111":1,"118":2,"119":2,"136":1,"197":1,"201":1,"206":1,"330":1,"335":1,"339":1,"401":1,"407":2,"410":1,"419":1,"421":1,"442":1,"444":1,"446":1,"512":1}}],["obtain",{"0":{"482":1,"483":1},"2":{"11":1,"31":1}}],["ok",{"2":{"76":2,"111":1,"122":1,"126":1,"131":1,"137":1,"141":1,"206":1,"211":1,"216":1,"222":1,"226":1,"339":1,"347":1}}],["overwhelmed",{"2":{"463":1}}],["overwhelming",{"2":{"257":1}}],["overwritten",{"2":{"450":1}}],["overhead",{"2":{"266":1}}],["overrides",{"2":{"303":1}}],["override",{"0":{"305":1},"2":{"172":1,"268":1,"303":1}}],["over",{"2":{"53":1,"297":1,"305":1,"322":1,"364":1,"427":1,"504":1}}],["overview",{"0":{"30":1,"145":1,"183":1,"230":1,"268":1,"317":1,"370":1,"442":1,"455":1,"471":1,"491":1},"1":{"31":1,"32":1,"472":1,"473":1,"474":1,"475":1,"476":1,"492":1,"493":1,"494":1,"495":1},"2":{"492":1,"495":2}}],["origin=$app",{"2":{"515":1,"537":2}}],["origin",{"2":{"515":1,"533":1,"534":3,"536":3,"537":1}}],["original",{"2":{"488":1,"501":1,"503":2}}],["orchestration",{"2":{"432":1}}],["orm",{"2":{"317":1,"370":1,"384":1,"410":1}}],["organize",{"2":{"467":1,"498":1}}],["organized",{"2":{"467":1,"498":1}}],["organizational",{"2":{"492":1}}],["organizations",{"2":{"361":1}}],["organization",{"2":{"294":1,"296":1,"382":1,"469":1,"470":1,"474":9,"489":1,"493":2,"496":1}}],["organise",{"2":{"182":1}}],["ordering",{"2":{"366":1,"384":1}}],["ordered",{"2":{"98":1,"193":1,"326":1,"375":1,"387":1}}],["order",{"2":{"73":1,"79":2,"84":1,"99":1,"146":1,"269":1,"351":1}}],["or",{"0":{"416":1,"417":1},"2":{"13":2,"58":1,"73":1,"83":1,"84":1,"87":3,"91":1,"93":1,"102":1,"104":1,"107":1,"119":1,"126":1,"130":1,"137":2,"145":2,"149":1,"150":1,"162":1,"168":2,"170":1,"172":1,"177":1,"180":1,"188":1,"197":1,"207":1,"209":1,"210":1,"211":1,"215":1,"216":1,"222":1,"230":1,"232":1,"233":2,"235":1,"236":2,"240":1,"242":1,"247":1,"249":1,"251":1,"254":2,"258":1,"263":1,"271":1,"273":1,"281":1,"284":1,"285":2,"294":1,"295":3,"297":1,"299":2,"302":1,"303":1,"307":2,"313":1,"314":1,"316":1,"323":1,"324":1,"330":1,"334":1,"349":4,"353":3,"363":1,"364":1,"365":1,"377":1,"384":2,"388":1,"393":3,"401":1,"403":1,"407":6,"416":3,"417":2,"418":1,"434":2,"447":1,"448":2,"450":1,"458":1,"469":1,"474":1,"479":1,"480":3,"484":1,"490":1,"494":1,"496":1,"501":1,"504":2,"505":2,"507":3,"513":2,"516":1,"517":2,"518":2,"531":1,"532":1,"534":1,"536":1,"550":1}}],["ongoing",{"2":{"233":1,"272":1}}],["on",{"0":{"159":1,"524":1},"1":{"525":1},"2":{"31":1,"83":1,"88":1,"105":1,"126":1,"144":1,"146":1,"151":1,"152":1,"153":1,"157":2,"159":1,"161":1,"162":1,"163":1,"164":3,"167":1,"172":1,"174":1,"185":1,"186":3,"207":1,"230":1,"235":1,"247":1,"249":1,"274":1,"281":1,"284":1,"346":1,"356":1,"357":1,"360":1,"363":1,"366":1,"368":1,"374":1,"384":2,"386":1,"394":1,"401":1,"404":2,"407":2,"408":1,"410":1,"423":1,"431":1,"433":1,"435":1,"436":2,"438":1,"439":1,"440":1,"445":1,"447":1,"455":1,"456":1,"457":1,"458":1,"463":1,"464":1,"468":2,"469":1,"472":1,"474":1,"475":1,"477":1,"482":1,"484":2,"486":2,"487":2,"489":1,"492":1,"493":1,"495":1,"499":2,"507":2,"509":1,"524":1,"525":1,"526":3,"527":1,"532":1,"537":1,"539":1,"547":1,"549":1,"550":1}}],["ones",{"2":{"244":1,"258":1,"513":1}}],["one",{"0":{"286":1,"306":1},"2":{"12":1,"87":1,"91":1,"109":1,"143":1,"154":1,"157":1,"168":1,"172":1,"173":2,"209":1,"223":1,"240":1,"281":1,"286":2,"299":2,"306":1,"307":2,"320":1,"363":1,"365":1,"393":1,"403":1,"414":1,"415":1,"419":1,"420":1,"433":1,"438":1,"463":1,"467":1,"472":1,"481":1,"484":1,"490":1,"494":1,"511":2,"533":1,"534":1,"545":1,"550":1}}],["once",{"2":{"2":1,"181":1,"308":1,"357":1,"374":1,"434":1,"474":1,"477":1,"480":1,"487":1,"496":1,"520":1,"521":1,"526":1,"548":1,"550":1}}],["only",{"0":{"426":1},"2":{"2":1,"71":1,"92":1,"107":1,"122":1,"151":1,"153":1,"161":1,"202":1,"204":1,"258":1,"275":1,"301":1,"308":1,"332":1,"336":1,"338":1,"343":1,"360":1,"365":1,"389":1,"396":1,"412":1,"418":1,"429":1,"442":1,"456":1,"474":1,"481":1,"492":2,"494":1,"496":1,"530":1,"543":1}}],["often",{"2":{"480":1}}],["official",{"2":{"459":1,"544":1,"547":1,"550":1}}],["officedocument",{"2":{"460":2,"465":2}}],["office",{"2":{"454":1,"459":1}}],["officer",{"2":{"174":1,"179":1,"180":1,"181":1}}],["officers",{"2":{"145":1,"148":1}}],["offset",{"2":{"375":1}}],["of",{"0":{"0":1,"168":1,"461":1},"1":{"1":1,"462":1,"463":1,"464":1},"2":{"42":1,"47":2,"48":1,"50":1,"51":2,"72":1,"73":1,"75":1,"77":1,"78":1,"79":4,"80":3,"82":1,"83":7,"85":1,"86":2,"87":5,"88":1,"89":2,"91":1,"94":1,"95":2,"98":1,"101":1,"104":1,"107":1,"108":1,"113":1,"116":1,"117":1,"121":2,"124":1,"129":1,"130":1,"131":1,"133":1,"134":1,"139":2,"143":1,"144":1,"145":1,"146":2,"148":1,"153":1,"154":2,"155":3,"156":2,"170":1,"173":1,"174":1,"175":2,"176":1,"179":1,"180":2,"185":1,"186":2,"196":1,"199":1,"203":1,"208":1,"209":1,"214":1,"218":1,"219":1,"224":1,"226":1,"230":1,"249":1,"251":1,"261":2,"267":1,"269":2,"271":2,"281":1,"297":1,"299":1,"301":1,"303":1,"305":1,"309":1,"310":1,"315":1,"317":1,"319":2,"320":1,"329":1,"332":2,"333":2,"337":1,"341":1,"343":1,"346":1,"348":1,"349":3,"351":2,"353":1,"354":2,"357":1,"359":2,"360":1,"361":1,"364":2,"365":1,"367":1,"368":1,"370":1,"371":1,"376":3,"377":1,"379":1,"380":1,"382":1,"383":1,"384":2,"392":2,"396":1,"400":1,"401":3,"402":1,"404":1,"407":5,"410":3,"411":1,"414":2,"415":1,"421":1,"426":1,"428":1,"430":1,"434":1,"437":2,"446":3,"447":1,"450":1,"451":2,"452":1,"453":2,"455":2,"456":1,"459":2,"462":3,"465":1,"466":1,"467":2,"468":1,"469":2,"472":1,"474":2,"475":1,"476":2,"477":5,"478":1,"481":1,"484":4,"485":1,"486":1,"488":3,"489":1,"490":1,"492":1,"493":1,"494":1,"495":2,"496":3,"497":1,"498":1,"499":1,"500":1,"501":2,"502":1,"503":2,"505":2,"507":2,"513":1,"514":1,"515":3,"516":2,"517":1,"518":2,"519":1,"520":1,"525":3,"527":1,"528":1,"530":1,"534":1,"536":2,"539":2,"540":1,"541":1,"544":1,"545":2,"547":3,"549":2,"550":1}}],["mycompany",{"2":{"537":2}}],["my",{"0":{"526":1},"1":{"527":1}}],["myaccount",{"2":{"482":1}}],["mkdir",{"2":{"509":1}}],["md",{"2":{"404":1}}],["ml",{"2":{"235":1,"265":1}}],["multiline",{"2":{"396":1}}],["multiple",{"2":{"173":1,"182":1,"366":1,"392":1,"438":1,"463":1}}],["must",{"2":{"31":1,"109":1,"143":3,"154":1,"174":1,"198":1,"227":1,"228":3,"271":1,"315":1,"331":1,"333":1,"353":2,"392":1,"393":2,"397":1,"407":1,"410":1,"422":1,"429":1,"443":1,"445":1,"446":1,"456":1,"470":2,"474":1,"482":1,"483":1,"490":1,"493":2,"494":1,"509":1,"511":1,"537":1,"544":1,"547":1}}],["mozilla",{"2":{"486":1}}],["mountpoint",{"2":{"526":2}}],["mount",{"2":{"468":1,"487":1,"499":1,"527":1}}],["mounted",{"2":{"468":1,"487":1,"499":1}}],["months",{"2":{"494":1}}],["mongodb",{"0":{"410":1},"1":{"411":1,"412":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1},"2":{"410":1}}],["monitoring",{"0":{"259":1},"1":{"260":1,"261":1},"2":{"248":1,"260":1,"266":1,"381":1,"462":1,"505":1}}],["monitor",{"2":{"44":1,"51":1,"82":1,"232":1,"247":1,"257":1,"266":1,"547":1}}],["most",{"2":{"286":1,"306":1,"426":1,"438":1,"486":1,"492":1,"504":1,"512":1}}],["moment",{"2":{"179":1,"501":1}}],["model",{"0":{"184":1,"318":1},"1":{"185":1,"186":1,"319":1,"320":1}}],["modifications",{"2":{"442":1,"505":1}}],["modification",{"2":{"176":1,"185":1,"367":1,"524":1}}],["modified",{"2":{"107":1,"138":1,"202":1,"204":1,"258":1,"275":3,"276":1,"308":1,"336":1,"356":1,"389":1,"504":1,"525":1}}],["modifying",{"2":{"299":1,"426":1}}],["modify",{"0":{"525":1},"2":{"150":1,"206":1,"277":1,"343":1,"408":1,"422":1,"474":1,"513":1,"549":2}}],["module",{"0":{"398":1},"2":{"81":1,"176":1,"183":2,"370":3,"398":1}}],["modules",{"2":{"81":1,"183":4,"317":3,"370":4,"383":1}}],["more",{"2":{"87":1,"168":1,"209":1,"281":1,"299":1,"307":2,"363":1,"365":1,"403":1,"404":1,"438":1,"454":1,"515":1,"547":1,"550":1}}],["mbox",{"0":{"485":1},"1":{"486":1,"487":1,"488":1},"2":{"60":1,"478":1,"485":2,"486":4,"487":7}}],["msg",{"2":{"459":1}}],["ms",{"2":{"50":1,"518":1}}],["meili",{"0":{"439":1},"2":{"437":1,"511":1,"513":1,"516":3,"545":4,"547":3,"549":3}}],["meilisearch",{"0":{"542":1,"543":1},"1":{"544":1,"545":1,"546":1,"547":1,"548":1,"549":1,"550":1},"2":{"44":1,"53":1,"116":1,"118":1,"119":1,"154":1,"155":1,"167":2,"175":1,"410":1,"432":1,"439":1,"507":1,"511":1,"513":2,"516":3,"525":1,"542":2,"543":3,"544":3,"545":8,"546":1,"547":8,"549":5,"550":3}}],["merges",{"2":{"434":1}}],["meets",{"2":{"236":1}}],["menus",{"2":{"530":1}}],["menu",{"2":{"146":1,"269":1,"472":1,"474":1,"480":1,"493":1,"494":1}}],["mean",{"2":{"500":1}}],["meaning",{"2":{"419":1}}],["means",{"2":{"87":3,"151":1,"161":1,"346":1,"392":1,"410":1,"474":1,"503":2}}],["measure",{"2":{"47":1,"422":1}}],["memory",{"2":{"79":1,"80":1,"375":1,"434":1,"438":2,"439":2,"450":1,"457":1,"465":1}}],["met",{"2":{"407":1}}],["metadata",{"0":{"392":1,"393":1,"394":1},"2":{"175":1,"247":1,"284":1,"325":1,"343":1,"346":1,"353":1,"358":1,"360":1,"364":1,"376":2,"392":1,"394":1,"501":1}}],["meta",{"2":{"74":1}}],["method",{"0":{"11":1,"12":1},"1":{"13":1},"2":{"72":1,"75":1,"79":1,"80":2,"81":1,"98":1,"100":1,"103":1,"107":1,"112":1,"116":1,"123":1,"128":1,"132":1,"138":1,"193":1,"195":1,"198":1,"202":1,"207":1,"213":1,"217":1,"223":1,"326":1,"328":1,"331":1,"336":1,"340":1,"343":1,"382":1,"392":1,"455":2,"456":1,"464":1,"468":1,"469":1,"487":1,"489":1,"499":1,"506":1,"544":1}}],["methods",{"0":{"465":1},"2":{"10":1,"385":1,"449":1,"456":1,"458":1}}],["mechanism",{"2":{"51":1,"145":1,"170":1,"172":1,"366":1,"430":1,"455":1,"463":1}}],["messageid",{"2":{"448":3}}],["messages",{"2":{"273":1,"448":1,"485":1,"530":1}}],["message",{"2":{"49":1,"76":2,"140":1,"142":3,"152":1,"225":2,"227":4,"276":2,"280":1,"281":1,"360":1,"436":1,"450":1,"474":1,"504":1,"534":1}}],["migrated",{"2":{"550":1}}],["migrate",{"2":{"542":1,"543":1,"544":1,"545":1}}],["migration",{"0":{"546":1},"1":{"547":1,"548":1,"549":1,"550":1},"2":{"543":1,"544":1,"546":1,"550":1}}],["migrations",{"2":{"541":2}}],["migrating",{"0":{"541":1}}],["might",{"2":{"145":1,"521":1}}],["mime",{"2":{"465":1}}],["misses",{"2":{"462":1}}],["missing",{"2":{"13":1,"254":1,"273":1,"395":1}}],["mid",{"2":{"440":1}}],["minio",{"2":{"401":1,"444":1,"446":1}}],["minimize",{"2":{"401":1}}],["minimal",{"2":{"251":1}}],["minimum",{"2":{"199":1,"238":1,"332":1}}],["minutes",{"2":{"49":1,"436":1,"518":1}}],["minute",{"2":{"48":1,"50":1}}],["mirroring",{"2":{"121":1}}],["millions",{"2":{"80":1}}],["milliseconds",{"2":{"50":1,"79":1,"518":1}}],["microsoft",{"0":{"483":1,"489":1,"492":1},"1":{"490":1,"491":1,"492":1,"493":1,"494":1,"495":1,"496":1},"2":{"1":1,"33":1,"400":1,"401":1,"403":1,"459":1,"478":1,"483":2,"489":3,"490":1,"491":1,"492":2,"493":1,"495":2,"496":2,"497":1,"522":1}}],["master",{"2":{"511":1,"516":2,"545":2,"547":2,"549":2}}],["mass",{"2":{"249":1}}],["machine",{"2":{"507":3,"508":1,"509":1,"527":1}}],["mammoth",{"2":{"455":1,"465":1}}],["major",{"2":{"400":1,"542":1,"543":1}}],["mark",{"2":{"315":1}}],["marked",{"2":{"209":1,"281":1,"307":1,"504":1,"544":1}}],["mapdbpolicytotype",{"2":{"387":1}}],["mapped",{"2":{"387":1,"549":1}}],["mapping",{"2":{"265":1}}],["map",{"2":{"245":1,"265":1}}],["matters",{"2":{"295":1}}],["matter",{"2":{"164":2,"174":1,"182":1,"264":2}}],["matches",{"2":{"260":1,"332":1,"333":1,"349":1,"353":1,"354":1,"368":1,"376":1,"384":1,"392":1,"394":2,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1,"503":1}}],["matched",{"2":{"122":1,"167":1,"346":2,"360":1,"376":1,"392":2}}],["matchingpolicyids",{"2":{"346":2,"376":1,"392":1}}],["matchingstrategy",{"2":{"119":1,"120":1,"121":1,"143":1}}],["matching",{"2":{"116":1,"119":1,"155":1,"175":1,"181":1,"232":1,"249":1,"264":2,"310":1,"332":1,"343":1,"346":1,"349":1,"351":1,"360":3,"364":1,"366":1,"368":1,"376":3,"379":1,"384":1,"392":1,"396":3}}],["match",{"0":{"396":1},"2":{"80":2,"87":2,"119":1,"154":1,"333":7,"334":2,"338":1,"353":2,"354":8,"360":1,"366":1,"368":1,"392":2,"395":2,"396":1,"429":1,"503":1,"504":1,"535":1}}],["may",{"2":{"87":1,"131":1,"143":1,"282":1,"468":1,"482":1,"484":1,"499":1,"505":1,"532":2,"533":1,"534":1,"544":1,"549":1}}],["manually",{"2":{"164":1,"303":1,"484":1,"509":1,"542":1,"544":1}}],["manual",{"2":{"145":1,"172":1,"230":1,"266":1,"309":1,"363":1,"382":1,"415":1,"541":1,"543":1}}],["managing",{"2":{"96":1,"191":1,"325":1,"406":1}}],["managed",{"2":{"513":1}}],["manager",{"2":{"494":1}}],["manageable",{"2":{"80":1,"248":1}}],["manages",{"2":{"32":3}}],["management",{"0":{"97":1,"174":1,"182":1,"192":1,"243":1,"251":1,"288":1,"422":1,"463":1},"1":{"98":1,"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"244":1,"245":1},"2":{"24":2,"144":1,"177":1,"183":1,"229":1,"251":1,"267":1,"302":2,"317":1,"348":1,"361":1,"369":1,"370":1}}],["manage",{"2":{"2":1,"24":2,"33":1,"44":1,"51":1,"55":1,"62":2,"98":1,"100":1,"103":1,"107":1,"112":1,"116":1,"123":1,"132":1,"138":1,"163":6,"177":2,"193":1,"195":1,"198":1,"202":1,"207":1,"288":2,"302":1,"311":1,"325":1,"326":1,"328":1,"331":1,"336":1,"340":1,"343":1,"369":1,"398":1,"401":1,"408":1,"422":2,"424":1,"425":3,"427":1,"472":1,"475":1,"524":1,"525":1}}],["many",{"0":{"173":2},"2":{"48":1,"49":1,"146":1,"155":1,"157":1,"479":1,"481":1}}],["make",{"2":{"48":1,"338":2,"461":1,"521":1,"524":1,"527":1}}],["making",{"2":{"31":1,"242":1,"358":1,"426":1,"454":1,"525":1,"537":1}}],["mail",{"2":{"480":1,"491":1,"493":1}}],["mailboxes",{"2":{"434":5,"438":1,"440":1,"469":1,"477":2,"489":1,"493":1,"496":1}}],["mailbox",{"0":{"429":1},"2":{"44":1,"432":1,"433":4,"434":1,"435":2,"436":1,"437":1,"438":1,"477":1,"484":1}}],["maintain",{"2":{"294":1,"401":1}}],["maintaining",{"2":{"47":1}}],["main",{"2":{"32":1,"83":1,"146":1,"167":1,"269":1,"349":1,"455":1,"471":1,"476":1,"480":1,"481":2,"484":1,"491":1,"492":1}}],["maximum",{"2":{"50":1,"51":1,"148":2,"271":2,"333":1,"457":2,"517":1,"518":1}}],["max",{"0":{"366":1},"2":{"13":1,"50":1,"104":2,"109":2,"143":1,"199":2,"228":1,"332":2,"333":1,"344":4,"354":1,"366":1,"392":2,"396":1,"397":8,"518":1}}],["ps",{"2":{"520":1,"547":1}}],["pst",{"0":{"497":1,"498":1,"499":1},"1":{"498":1,"499":1},"2":{"60":1,"413":2,"415":1,"478":1,"497":1,"498":4,"499":6}}],["p",{"2":{"509":1}}],["png",{"2":{"459":1}}],["pptx",{"2":{"459":1}}],["ppt",{"2":{"459":1}}],["pieces",{"2":{"495":1}}],["picked",{"2":{"436":1}}],["pipeline",{"0":{"172":1},"2":{"172":1}}],["pdf2json",{"2":{"455":1,"465":1}}],["pdfs",{"2":{"454":1}}],["pdf",{"2":{"344":1,"345":1,"359":1,"376":1,"394":1,"401":1,"455":1,"459":1,"460":2,"465":1,"519":1}}],["pk",{"2":{"185":1,"319":1,"384":1}}],["pencil",{"2":{"356":1,"474":1}}],["pending",{"2":{"170":1}}],["person",{"2":{"521":1}}],["personal",{"2":{"480":1}}],["persistent",{"2":{"520":1}}],["persisted",{"2":{"176":1,"512":1}}],["permitted",{"2":{"475":1}}],["permit",{"2":{"474":1}}],["permission",{"0":{"302":1},"2":{"6":1,"18":1,"24":2,"44":1,"55":1,"58":1,"62":1,"98":1,"100":1,"103":1,"107":1,"112":1,"116":1,"123":1,"128":1,"132":1,"138":1,"163":1,"177":3,"193":1,"195":1,"198":1,"202":1,"207":1,"213":1,"217":1,"223":1,"284":1,"287":1,"288":2,"289":2,"311":2,"325":1,"326":1,"328":1,"331":1,"336":1,"340":1,"343":1,"369":1,"407":2,"410":1,"420":2,"422":1,"425":1,"469":1,"489":1,"493":1,"504":1,"509":1}}],["permissions",{"0":{"163":1,"287":1,"422":1,"493":1},"1":{"288":1,"289":1},"2":{"2":1,"71":1,"96":1,"191":1,"238":2,"251":1,"266":1,"302":2,"324":1,"398":1,"407":1,"408":1,"419":2,"422":1,"471":1,"474":2,"491":1,"493":10,"505":1,"509":1}}],["permanent",{"2":{"296":1,"360":1,"400":1}}],["permanently",{"2":{"112":1,"151":1,"152":1,"174":1,"209":1,"280":1,"332":1,"334":1,"340":1,"346":2,"361":1,"371":1,"384":1,"392":1}}],["performing",{"2":{"484":1,"533":1}}],["perform",{"2":{"401":1,"545":1}}],["performance",{"0":{"256":1},"1":{"257":1,"258":1},"2":{"401":1,"455":1,"462":1}}],["performed",{"2":{"83":2,"94":1,"407":2,"464":1,"491":1}}],["performs",{"2":{"79":1,"456":1}}],["per",{"0":{"127":1,"158":1,"286":1,"306":1,"376":1},"1":{"128":1,"129":1,"130":1,"131":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"159":1,"160":1,"161":1,"162":1},"2":{"48":2,"50":1,"73":1,"144":1,"155":2,"183":1,"189":1,"190":1,"200":1,"320":1,"327":1,"333":1,"352":1,"380":1,"397":1,"433":2,"437":1,"438":1}}],["periodically",{"2":{"248":1,"297":1,"371":1,"477":1,"484":1}}],["periods",{"0":{"296":1},"2":{"126":1,"157":1,"232":1,"233":1,"235":1,"236":1,"244":1,"245":1,"268":1,"272":1,"294":1,"296":1,"303":1,"313":1,"314":1,"315":1,"316":1}}],["period",{"0":{"276":1,"299":1,"308":1},"2":{"13":1,"151":1,"161":1,"174":1,"180":1,"206":1,"227":1,"228":1,"263":1,"269":1,"271":1,"272":3,"275":1,"276":2,"284":1,"295":1,"299":2,"305":1,"308":1,"310":1,"319":1,"332":1,"343":1,"346":1,"349":1,"351":1,"360":3,"363":1,"366":1,"371":1,"376":1,"384":1,"386":1,"392":1,"397":1}}],["pull",{"2":{"404":2,"520":1,"523":4,"540":4,"548":3}}],["purposes",{"2":{"366":1}}],["purpose",{"2":{"89":1,"271":1,"294":1,"297":1,"319":1,"351":1,"432":1,"442":1}}],["put",{"0":{"450":1},"2":{"55":1,"107":2,"114":1,"202":2,"336":2,"448":1,"468":1,"487":1,"499":1}}],["public",{"2":{"55":1,"235":1,"515":2,"532":1,"535":1,"536":1}}],["plain",{"2":{"454":1,"459":1,"460":1,"465":1}}],["platforms",{"2":{"400":1}}],["platform",{"2":{"399":1,"400":1}}],["placeholder",{"2":{"421":2,"511":1}}],["placeholders",{"0":{"421":1}}],["place",{"2":{"179":1,"401":1,"468":1,"487":1,"499":1}}],["placed",{"2":{"155":1,"173":1,"185":1}}],["plus",{"2":{"270":1}}],["pluggable",{"0":{"441":1},"1":{"442":1,"443":1,"444":1,"445":1,"446":1,"447":1,"448":1,"449":1,"450":1,"451":1,"452":1,"453":1},"2":{"1":1,"401":1}}],["please",{"2":{"49":1,"404":3,"459":1,"481":1,"484":1,"498":1,"542":1,"544":2,"550":1}}],["pane",{"2":{"492":1,"493":1,"494":1}}],["pair",{"2":{"412":1}}],["pattern",{"0":{"247":1,"248":1,"249":1},"2":{"333":1,"419":1,"437":1}}],["patterns",{"0":{"246":1},"1":{"247":1,"248":1,"249":1},"2":{"236":1,"294":1,"368":1,"396":1}}],["path=",{"2":{"445":1,"511":1}}],["path",{"0":{"101":1,"108":1,"113":1,"117":1,"124":1,"129":1,"133":1,"139":1,"196":1,"203":1,"208":1,"214":1,"218":1,"224":1,"329":1,"337":1,"341":1,"450":1,"451":1,"452":1,"453":1},"2":{"445":4,"446":2,"448":1,"450":3,"451":3,"452":1,"453":1,"468":11,"487":11,"499":11,"509":2,"511":3,"517":4,"526":2}}],["parsers",{"2":{"519":1}}],["parsed",{"2":{"438":1}}],["parallel",{"2":{"437":1,"438":1,"463":1}}],["parameter",{"2":{"73":1,"101":1,"108":1,"113":1,"117":1,"124":1,"129":1,"133":1,"139":1,"196":1,"203":1,"208":1,"214":1,"218":1,"224":1,"329":1,"337":1,"341":1}}],["parameters",{"0":{"73":1,"101":1,"108":1,"113":1,"117":1,"124":1,"129":1,"133":1,"139":1,"196":1,"203":1,"208":1,"214":1,"218":1,"224":1,"329":1,"337":1,"341":1}}],["parent",{"2":{"434":2}}],["parts",{"2":{"471":1,"491":1}}],["partial",{"2":{"436":1,"440":1}}],["partially",{"2":{"389":1}}],["participants",{"2":{"264":1}}],["participant",{"2":{"236":1}}],["particularly",{"2":{"268":1}}],["particular",{"2":{"236":1}}],["part",{"0":{"472":1,"475":1,"476":1,"492":1,"493":1,"494":1,"495":1},"2":{"251":1,"472":2,"474":1,"476":1,"526":1}}],["payment",{"2":{"232":1}}],["paste",{"2":{"475":2,"476":1,"482":1,"495":1}}],["past",{"2":{"91":1}}],["passing",{"2":{"397":1}}],["passes",{"2":{"376":1,"394":2}}],["passed",{"2":{"60":1}}],["pass",{"2":{"11":1,"12":1,"119":1,"393":2,"545":1}}],["passwords",{"2":{"469":1,"481":1,"482":1,"483":1,"489":1}}],["password",{"0":{"70":1,"481":1,"482":1,"483":1},"1":{"482":1,"483":1},"2":{"11":1,"480":2,"481":5,"482":5,"483":6,"484":1,"491":1,"494":3,"498":3,"511":4,"516":6}}],["packages",{"2":{"77":1,"81":1,"183":9,"317":6,"370":8,"372":1,"383":1,"384":1,"455":1,"461":1}}],["pagination",{"0":{"85":1},"2":{"85":1,"375":1}}],["paginated",{"2":{"72":1}}],["pages",{"0":{"324":1},"2":{"116":1,"155":1,"175":1,"283":1,"317":1,"324":1,"532":1}}],["page",{"0":{"284":1},"2":{"73":3,"74":1,"83":1,"144":1,"146":1,"149":1,"155":2,"159":1,"162":1,"164":1,"167":1,"169":2,"183":2,"269":1,"317":2,"349":1,"370":2,"468":1,"474":1,"476":1,"480":1,"484":1,"487":1,"492":2,"493":1,"495":3,"499":1,"521":3,"539":1}}],["paused",{"2":{"382":1,"484":1}}],["pause",{"0":{"40":1},"2":{"484":1}}],["private",{"2":{"472":1}}],["privileges",{"2":{"470":1,"518":1}}],["priority",{"0":{"366":1},"2":{"145":1,"310":1,"326":1,"327":1,"332":2,"334":1,"349":4,"351":2,"366":1,"384":3,"386":1,"387":1,"397":1}}],["principles",{"0":{"90":1,"171":1,"304":1,"362":1},"1":{"91":1,"92":1,"93":1,"94":1,"95":1,"172":1,"173":1,"174":1,"175":1,"176":1,"305":1,"306":1,"307":1,"308":1,"309":1,"310":1,"363":1,"364":1,"365":1,"366":1,"367":1,"368":1},"2":{"90":1}}],["primary",{"2":{"89":1,"175":1,"186":1,"320":1,"392":1,"442":1,"455":1,"456":1}}],["prerequisite",{"2":{"544":1}}],["prerequisites",{"0":{"470":1,"490":1,"507":1}}],["prepare",{"2":{"498":1}}],["preparing",{"0":{"467":1,"498":1}}],["prepends",{"2":{"395":1}}],["pressure",{"2":{"438":1,"439":1}}],["present",{"2":{"389":1,"488":1}}],["preserving",{"2":{"268":1}}],["preserve",{"2":{"233":1,"234":1,"272":1,"301":1,"488":1}}],["preserves",{"2":{"209":1}}],["preserved",{"2":{"164":1,"264":1,"314":1,"436":1,"467":1,"498":1}}],["preservation",{"0":{"175":1,"234":1},"2":{"99":1,"105":1,"153":1,"175":1,"176":1,"180":1,"316":1}}],["prefix",{"2":{"333":1,"354":1}}],["prefixed",{"2":{"30":1}}],["pre",{"2":{"245":1,"356":1,"395":1}}],["prevents",{"2":{"276":1,"435":1}}],["preventing",{"2":{"209":1,"474":1}}],["prevent",{"2":{"170":1,"308":1,"357":1,"396":1,"401":1,"422":1,"457":1,"463":1,"465":1,"494":1,"509":1,"550":1}}],["previous",{"2":{"88":1,"91":1,"286":1,"495":1}}],["previoushash",{"2":{"74":1,"80":1,"87":1}}],["preview",{"2":{"83":1,"155":1,"167":1}}],["precise",{"2":{"364":1}}],["precision",{"2":{"79":1}}],["precedence",{"0":{"172":1},"2":{"172":1,"305":1,"322":1,"420":1}}],["preceding",{"2":{"80":1,"87":1,"91":1}}],["practices",{"0":{"255":1,"293":1},"1":{"294":1,"295":1,"296":1,"297":1},"2":{"251":1}}],["practice",{"2":{"51":1}}],["production",{"2":{"535":1,"544":1}}],["produces",{"2":{"379":1}}],["proxy",{"2":{"525":1,"535":1,"537":1}}],["protocol",{"2":{"479":1,"535":1}}],["protections",{"2":{"396":1}}],["protection",{"2":{"142":1,"152":1,"155":1,"174":1,"235":1,"361":1,"498":1}}],["protect",{"2":{"47":1,"152":1,"161":1}}],["protected",{"2":{"31":1,"111":1,"126":1,"155":1,"157":1,"174":1,"398":1,"498":1}}],["progress",{"2":{"463":1}}],["programmatically",{"2":{"230":1,"303":1}}],["programmatic",{"2":{"2":1}}],["pronged",{"2":{"455":1}}],["promise",{"2":{"448":1,"449":1,"450":2,"451":2,"452":3,"453":2}}],["problematic",{"2":{"377":1}}],["problem",{"2":{"299":1,"300":1,"301":1,"302":1,"504":1}}],["proper",{"2":{"266":1}}],["property",{"2":{"79":2,"272":1}}],["procedures",{"2":{"297":1}}],["proceed",{"2":{"282":1,"525":1,"544":1,"548":1}}],["proceeds",{"2":{"157":1}}],["processed",{"2":{"375":1,"440":1,"462":1,"465":3}}],["processes",{"2":{"80":1,"92":1,"116":1,"265":1,"363":1,"375":1,"431":3}}],["processing",{"0":{"247":1,"248":1,"263":1,"375":1,"376":1},"2":{"80":1,"216":1,"226":1,"255":1,"258":2,"368":1,"377":2,"435":1,"457":1,"462":2,"463":1}}],["process",{"0":{"80":1,"277":1,"285":1,"546":1},"1":{"547":1,"548":1,"549":1,"550":1},"2":{"44":1,"75":1,"80":1,"83":1,"86":2,"91":1,"93":1,"95":1,"248":2,"257":1,"380":1,"404":1,"432":1,"433":2,"434":1,"435":1,"437":1,"438":2,"459":1,"468":1,"471":1,"477":1,"485":1,"491":1,"496":1,"499":1,"501":1,"542":1,"543":2,"544":2,"546":1,"547":1,"548":1}}],["projects",{"2":{"236":1,"316":1}}],["project",{"0":{"236":1,"316":1},"2":{"99":1,"105":1,"120":1,"121":1,"130":1,"136":1,"148":1,"179":1,"236":4,"249":1,"272":2,"472":4,"474":4,"526":3,"527":1}}],["providing",{"2":{"94":1,"152":1}}],["provided",{"2":{"107":1,"109":1,"142":1,"143":1,"146":1,"204":1,"227":1,"269":1,"338":1,"346":1,"360":1,"484":1,"511":1}}],["provider",{"2":{"352":1,"403":1,"413":1,"415":1,"444":1,"446":1,"447":1,"468":1,"476":1,"478":1,"479":1,"480":3,"481":1,"495":1,"499":1}}],["providerconfig",{"2":{"60":1}}],["providers",{"0":{"478":1},"2":{"1":1,"33":1,"440":1,"442":2,"447":1,"478":1,"481":1}}],["provides",{"2":{"30":1,"32":1,"82":1,"144":1,"170":1,"179":1,"267":1,"303":1,"348":1,"366":1,"385":1,"400":1,"406":1,"410":1,"442":1,"461":1,"469":1,"478":1,"489":1,"502":1,"538":1}}],["provide",{"2":{"13":1,"89":1,"268":1,"295":1,"324":1,"412":1,"443":1,"445":1,"446":1,"447":1,"476":1,"532":1}}],["proof",{"2":{"89":1,"121":1,"155":1,"176":1,"179":1,"400":1}}],["profiles",{"2":{"493":1}}],["profile",{"0":{"68":1,"69":1}}],["point",{"2":{"513":1,"544":1}}],["points",{"0":{"187":1,"321":1},"1":{"188":1,"189":1,"190":1,"322":1,"323":1,"324":1}}],["potential",{"2":{"509":1,"524":1}}],["potentially",{"2":{"153":1}}],["portuguese",{"2":{"530":1}}],["port",{"2":{"480":2,"484":1,"513":1,"515":4,"516":2,"535":1,"537":1}}],["portable",{"2":{"459":1}}],["power",{"2":{"410":1}}],["powerful",{"2":{"401":1,"455":1}}],["powered",{"2":{"53":1}}],["polling",{"2":{"247":1}}],["policies",{"0":{"326":1,"421":1},"1":{"327":1},"2":{"111":1,"145":1,"174":1,"181":1,"234":1,"265":1,"268":1,"295":1,"303":1,"305":1,"325":1,"326":2,"328":1,"331":1,"336":1,"340":1,"343":2,"346":2,"348":2,"349":3,"358":1,"360":4,"361":1,"363":1,"364":1,"365":1,"366":1,"367":1,"370":3,"371":1,"376":2,"379":1,"383":2,"384":1,"387":1,"391":1,"392":4,"401":1,"406":1,"407":1,"408":1,"409":1,"420":1,"421":1,"474":1}}],["policyevaluationrequest",{"2":{"376":1}}],["policy",{"0":{"325":1,"328":1,"331":1,"336":1,"340":1,"343":1,"348":1,"349":1,"350":1,"355":1,"356":1,"357":1,"358":1,"361":1,"363":1,"371":1,"383":1,"406":1,"407":1,"420":1,"423":1},"1":{"326":1,"327":1,"328":1,"329":2,"330":2,"331":1,"332":2,"333":2,"334":2,"335":2,"336":1,"337":2,"338":2,"339":2,"340":1,"341":2,"342":2,"343":1,"344":2,"345":2,"346":2,"347":2,"349":1,"350":1,"351":2,"352":2,"353":2,"354":2,"355":2,"356":1,"357":1,"358":1,"359":2,"360":2,"362":1,"363":1,"364":1,"365":1,"366":1,"367":1,"368":1,"369":1,"370":1,"372":1,"373":1,"374":1,"375":1,"376":1,"377":1,"378":1,"379":1,"380":1,"381":1,"382":1,"384":1,"385":1,"386":1,"387":1,"388":1,"389":1,"390":1,"391":1,"392":1,"393":1,"394":1,"395":1,"396":1,"397":1,"398":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1,"419":1,"420":1,"421":2,"422":1,"423":1,"424":2,"425":2,"426":2,"427":2,"428":2,"429":2},"2":{"24":1,"92":1,"162":1,"172":2,"191":2,"230":1,"240":1,"241":1,"244":1,"266":1,"305":1,"310":1,"311":1,"315":1,"317":4,"322":1,"325":4,"328":1,"329":1,"330":1,"331":2,"332":3,"335":2,"336":1,"337":1,"338":2,"339":2,"340":1,"341":1,"342":2,"343":1,"346":1,"348":1,"349":7,"350":1,"351":3,"352":2,"353":2,"355":2,"356":2,"357":3,"358":1,"360":2,"361":1,"363":1,"364":2,"365":2,"366":2,"367":1,"368":1,"369":3,"370":8,"371":1,"376":4,"379":1,"383":2,"384":2,"386":2,"388":1,"389":2,"390":3,"391":1,"392":4,"397":2,"398":4,"407":1,"419":1,"424":1,"425":1,"426":1,"427":1,"428":1,"429":1,"474":9,"534":1,"537":1}}],["possible",{"2":{"257":1}}],["positive",{"2":{"228":1,"332":1,"351":1,"397":2}}],["postgres",{"2":{"507":1,"511":1,"513":1,"516":4,"525":1}}],["postgresql",{"2":{"410":1,"434":2,"513":1,"516":5}}],["post",{"0":{"247":1},"2":{"11":1,"75":2,"103":2,"116":2,"123":2,"132":2,"198":2,"217":2,"241":1,"331":2,"343":2,"547":2}}],["popular",{"2":{"478":1}}],["populated",{"2":{"356":1}}],["pop",{"2":{"83":1}}],["snapshots",{"2":{"544":1}}],["snapshot",{"2":{"544":2}}],["sdk",{"2":{"472":1,"477":1}}],["switch",{"2":{"442":1,"527":1}}],["skips",{"2":{"436":1}}],["skipped",{"2":{"155":1,"189":1,"376":1,"392":1,"440":1,"457":1}}],["small",{"2":{"450":1,"524":1}}],["smaller",{"2":{"269":1,"468":1,"499":1}}],["smart",{"0":{"279":1},"1":{"280":1,"281":1}}],["sveltekit",{"2":{"183":1,"317":1,"370":1,"515":1,"535":1,"536":1}}],["sql",{"2":{"172":1}}],["spanish",{"2":{"530":1}}],["spreadsheetml",{"2":{"460":1,"465":1}}],["spoliation",{"2":{"170":1}}],["special",{"0":{"422":1}}],["specialized",{"2":{"94":1,"295":1}}],["specify",{"2":{"305":1,"443":1}}],["specified",{"2":{"96":1,"191":1,"254":1,"410":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1,"450":1,"451":2}}],["specifically",{"2":{"525":1}}],["specific",{"0":{"132":1,"138":1,"159":1,"160":1,"161":1,"316":1,"428":1,"429":1,"527":1},"1":{"133":1,"134":1,"135":1,"136":1,"137":1,"139":1,"140":1,"141":1},"2":{"48":1,"93":1,"94":1,"128":1,"138":2,"145":1,"161":1,"163":1,"164":1,"177":1,"179":1,"180":1,"213":1,"233":1,"236":2,"239":1,"245":1,"249":2,"264":1,"268":1,"295":1,"303":1,"305":1,"309":1,"313":1,"315":1,"316":1,"332":1,"359":1,"364":1,"365":1,"368":1,"377":1,"379":1,"414":1,"415":1,"419":4,"421":1,"423":1,"428":1,"429":2,"463":1,"474":1,"480":1,"481":2,"491":1,"493":1,"527":1,"536":1,"543":1}}],["saving",{"2":{"462":1}}],["saved",{"2":{"477":1,"495":1,"496":1,"527":2}}],["save",{"0":{"527":1},"2":{"277":1,"476":2,"480":2,"484":1,"495":2,"525":1,"527":1}}],["satisfy",{"2":{"410":1}}],["satisfying",{"2":{"176":1}}],["sample",{"2":{"266":1}}],["same",{"2":{"2":1,"79":2,"80":1,"102":1,"132":2,"138":1,"160":1,"174":1,"197":1,"273":1,"330":1,"356":1,"433":1,"462":2,"463":2,"494":1,"534":1}}],["safeguards",{"0":{"396":1}}],["safety",{"2":{"315":1,"395":1}}],["safe",{"0":{"368":1},"2":{"116":1,"188":1,"360":1}}],["site",{"2":{"534":1}}],["signing",{"2":{"511":1,"518":1}}],["significant",{"2":{"81":1,"82":1,"89":1,"92":1,"462":1,"477":1,"496":1}}],["signatures",{"2":{"501":3}}],["signature",{"2":{"501":1,"503":4}}],["signed",{"2":{"493":1}}],["sign",{"2":{"482":1,"483":1,"492":1}}],["sides",{"2":{"394":1}}],["side",{"2":{"368":1}}],["sizes",{"2":{"257":1,"438":1}}],["size",{"0":{"457":1},"2":{"175":1,"375":2,"380":1,"457":3,"465":1,"468":1,"477":1,"484":1,"499":1,"517":2,"549":1}}],["simplify",{"2":{"524":1}}],["simple",{"2":{"412":1,"420":1,"462":1}}],["simply",{"2":{"152":1,"481":1}}],["simulate",{"2":{"358":1}}],["simulation",{"2":{"343":1,"358":1,"370":1}}],["simulating",{"2":{"325":1,"348":1}}],["simulator",{"0":{"343":1,"358":1,"359":1,"360":1},"1":{"344":1,"345":1,"346":1,"347":1,"359":1,"360":1},"2":{"360":2,"391":1}}],["simultaneously",{"2":{"173":1,"463":1}}],["similar",{"2":{"162":1,"176":1,"534":1}}],["since",{"2":{"79":1,"501":1,"503":1,"518":1,"527":1}}],["single",{"0":{"8":1},"2":{"100":1,"102":1,"123":1,"132":1,"153":1,"157":1,"173":1,"175":1,"182":1,"195":1,"197":1,"328":1,"330":1,"366":1,"377":1,"388":1,"394":1,"407":3,"410":1,"429":1,"486":1,"492":1}}],["src",{"2":{"77":1,"81":1,"183":9,"317":6,"370":8,"372":1,"383":1,"384":1,"455":1,"461":1}}],["sovereign",{"2":{"400":1}}],["something",{"2":{"521":1,"526":1}}],["sometimes",{"2":{"481":1}}],["some",{"2":{"255":1,"440":1,"468":1,"488":1,"499":1,"505":1,"549":1}}],["soft",{"0":{"281":1},"2":{"209":1,"307":1}}],["solution",{"0":{"536":1},"1":{"537":1},"2":{"166":1,"167":2,"168":1,"299":1,"300":1,"301":1,"302":1,"400":1,"536":1}}],["solely",{"2":{"111":1,"126":1,"151":1,"157":1,"174":1}}],["so",{"2":{"116":1,"190":1,"204":1,"376":1,"467":1,"498":1,"513":1}}],["sort=archivedat",{"2":{"239":1}}],["sorted",{"2":{"84":1,"146":1,"269":1,"349":1}}],["sorts",{"2":{"79":1}}],["sort",{"2":{"73":2}}],["sorting",{"0":{"84":1},"2":{"72":1}}],["source",{"0":{"7":1,"21":1,"34":1,"36":1,"37":1,"38":1,"40":1,"403":1,"468":1,"499":1},"2":{"60":2,"93":1,"332":1,"344":1,"349":1,"352":2,"359":2,"365":1,"376":1,"384":1,"400":1,"412":1,"419":1,"429":2,"433":1,"434":1,"436":3,"440":1,"468":1,"476":2,"479":1,"480":3,"482":1,"483":1,"484":1,"487":1,"495":2,"499":1}}],["sources",{"0":{"35":1,"428":1},"2":{"1":1,"32":1,"33":1,"332":1,"338":1,"349":2,"352":4,"359":1,"365":2,"384":1,"403":1,"409":1,"413":1,"414":1,"415":1,"419":1,"425":2,"427":1,"428":1,"434":1,"466":1,"468":1,"476":2,"478":1,"480":1,"484":1,"495":2,"497":1,"499":1,"518":1,"522":1}}],["s3storageprovider",{"2":{"447":1}}],["s3",{"0":{"446":1},"2":{"58":1,"401":2,"442":1,"444":2,"446":18,"448":1,"512":5,"517":18}}],["symptoms",{"0":{"534":1}}],["syntax",{"2":{"396":1,"515":1}}],["synthetic",{"2":{"378":1}}],["syncing",{"2":{"515":1}}],["synchronize",{"2":{"408":1}}],["synchronization",{"2":{"401":1}}],["sync",{"0":{"41":1,"434":1},"1":{"435":1,"436":1},"2":{"44":5,"408":2,"430":1,"432":4,"433":4,"434":8,"436":4,"437":2,"438":1,"440":2,"477":1,"484":1,"496":1,"515":1,"531":1,"536":1}}],["syncsessionservice",{"2":{"436":1}}],["syncstate",{"2":{"434":1}}],["syncs",{"0":{"22":1}}],["systemdelete",{"2":{"376":1,"382":1}}],["systems",{"2":{"230":1,"235":1,"238":1,"251":2}}],["system",{"0":{"56":1,"57":1,"263":1,"378":1,"528":1},"1":{"529":1,"530":1,"531":1,"532":1},"2":{"52":1,"55":1,"82":2,"83":1,"89":1,"92":2,"93":1,"94":1,"155":1,"174":1,"175":1,"186":1,"198":1,"260":1,"261":1,"263":1,"265":2,"276":1,"277":1,"279":1,"280":1,"285":1,"302":1,"307":1,"331":1,"366":1,"368":1,"378":5,"379":1,"382":2,"401":2,"409":1,"410":1,"420":1,"423":1,"430":1,"431":1,"434":1,"455":1,"456":1,"477":3,"484":5,"496":3,"504":1,"518":1,"526":2,"528":1,"531":3}}],["s",{"0":{"213":1},"1":{"214":1,"215":1,"216":1},"2":{"52":1,"78":1,"79":1,"81":1,"83":1,"91":1,"93":1,"144":1,"146":2,"150":1,"154":2,"155":1,"159":1,"164":2,"168":1,"179":1,"240":1,"271":1,"276":1,"282":1,"285":1,"292":1,"296":1,"305":1,"310":1,"319":1,"322":1,"349":1,"351":1,"356":1,"357":1,"376":2,"390":1,"392":1,"407":2,"410":1,"426":1,"434":3,"442":1,"444":1,"451":1,"455":1,"458":2,"462":1,"467":1,"468":1,"475":1,"476":1,"477":1,"480":1,"481":1,"486":1,"487":1,"492":1,"493":2,"494":2,"496":1,"499":1,"501":2,"503":2,"504":1,"515":1,"525":1,"526":3,"527":2,"531":1,"534":2,"536":1,"537":2}}],["sheet",{"2":{"460":1,"465":1}}],["sharing",{"2":{"533":1}}],["shared",{"2":{"317":1,"370":1,"387":1}}],["sha256",{"2":{"501":1}}],["shape",{"2":{"102":1,"197":1,"330":1}}],["sha",{"2":{"42":1,"79":2,"91":1,"462":1}}],["show",{"2":{"273":1,"300":2,"477":1,"493":1,"496":1}}],["showing",{"2":{"146":1,"159":1}}],["shows",{"0":{"169":1},"2":{"146":1,"155":1,"276":1,"282":1,"285":1,"299":1,"349":1}}],["shown",{"2":{"2":1,"13":1,"157":1}}],["should",{"2":{"51":1,"60":1,"447":1,"467":2,"474":1,"493":1,"498":1,"515":1,"518":1,"536":1,"537":2,"550":1}}],["short",{"2":{"11":1,"146":1}}],["semaphore",{"0":{"463":1},"2":{"463":1}}],["session",{"0":{"435":1,"436":1},"2":{"434":2,"435":2,"436":3,"440":1}}],["sessions",{"2":{"434":2}}],["several",{"2":{"423":1,"461":1,"480":1,"535":1}}],["self",{"2":{"400":1,"479":1,"546":1}}],["selector",{"2":{"474":1}}],["selected",{"2":{"352":1,"472":1,"530":1}}],["selection",{"0":{"245":1},"2":{"291":1,"292":1}}],["select",{"2":{"13":1,"160":1,"285":1,"359":1,"468":2,"472":2,"474":2,"476":1,"480":1,"482":1,"486":1,"487":1,"492":1,"493":4,"494":2,"495":1,"499":2}}],["serialized",{"2":{"384":1}}],["served",{"2":{"462":1}}],["serve",{"2":{"313":1}}],["servers",{"2":{"401":1,"438":1}}],["server",{"0":{"479":1},"1":{"480":1,"481":1,"482":1,"483":1,"484":1},"2":{"1":1,"116":1,"126":1,"186":1,"216":2,"226":2,"257":1,"403":1,"444":1,"445":1,"456":2,"463":2,"464":1,"478":1,"480":2,"484":1,"507":3,"515":1,"519":1,"522":1,"530":1,"535":1,"536":1,"537":1}}],["service",{"0":{"81":1,"430":1,"441":1,"447":1,"454":1,"516":1},"1":{"431":1,"432":1,"433":1,"434":1,"435":1,"436":1,"437":1,"438":1,"439":1,"440":1,"442":1,"443":1,"444":1,"445":1,"446":1,"447":1,"448":2,"449":1,"450":1,"451":1,"452":1,"453":1,"455":1,"456":1,"457":1,"458":1,"459":1,"460":1,"461":1,"462":1,"463":1,"464":1,"465":1},"2":{"1":1,"32":6,"47":1,"77":1,"81":1,"183":1,"317":1,"370":1,"383":1,"396":1,"397":1,"442":1,"444":2,"445":1,"448":1,"454":1,"456":1,"457":1,"458":1,"459":1,"462":2,"464":2,"469":2,"471":1,"472":9,"474":1,"475":6,"476":2,"477":1,"480":1,"481":1,"489":1,"492":2,"493":1,"494":2,"496":1,"511":1,"513":2,"515":2,"516":4,"521":1,"525":2,"527":1,"545":1,"547":1,"549":3,"550":1}}],["services",{"0":{"32":1,"405":1,"513":1},"2":{"1":1,"77":1,"81":1,"230":1,"446":1,"447":1,"461":1,"466":1,"472":1,"479":1,"513":3,"516":1,"520":2,"521":1,"523":1,"525":2,"540":1,"548":1,"549":2,"550":1}}],["separate",{"2":{"468":1,"487":1,"499":1}}],["separated",{"2":{"359":2,"475":1}}],["separately",{"2":{"150":1}}],["sensitive",{"2":{"511":1,"518":1}}],["sensitivity",{"2":{"235":1}}],["sending",{"2":{"439":1,"547":1}}],["send",{"2":{"338":2}}],["sender",{"2":{"154":2,"175":1,"333":2,"334":1,"344":2,"345":1,"353":1,"359":2,"364":1,"376":2,"394":2,"397":1}}],["sent",{"2":{"180":1,"467":1}}],["sentat",{"2":{"154":1,"376":1,"416":1,"417":1}}],["second",{"2":{"440":1,"465":1}}],["seconds",{"2":{"51":1,"180":1}}],["secrets",{"2":{"494":2}}],["secret",{"0":{"494":1},"2":{"251":1,"446":3,"491":1,"494":4,"495":3,"511":1,"517":2,"518":3}}],["secure",{"2":{"400":1,"401":1,"469":1,"472":1,"480":1,"489":1,"491":1,"492":1,"494":1,"511":2}}],["securely",{"2":{"238":1,"251":1}}],["security",{"0":{"250":1,"396":1,"481":1,"518":1},"1":{"251":1,"252":1,"482":1,"483":1},"2":{"47":2,"48":1,"90":1,"114":1,"251":1,"422":1,"474":1,"475":1,"481":1,"483":2,"494":1,"533":1}}],["sec",{"2":{"99":1,"130":1,"148":1}}],["sections",{"2":{"350":1,"525":2}}],["section",{"2":{"30":1,"284":1,"352":1,"472":1,"475":1,"478":1,"483":1,"527":1,"545":1,"549":1,"550":1}}],["searchable",{"2":{"454":1}}],["searching",{"2":{"400":1}}],["searchquery",{"0":{"119":1},"2":{"118":1,"120":1,"156":1,"176":1}}],["searches",{"2":{"92":1}}],["search",{"0":{"53":1,"54":1,"116":1,"154":1,"175":1},"1":{"54":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1},"2":{"32":2,"53":1,"119":1,"143":1,"153":1,"155":2,"164":1,"167":2,"175":1,"190":2,"239":2,"249":1,"258":1,"264":1,"284":1,"401":2,"408":3,"426":2,"428":1,"429":2,"472":1,"474":1,"493":1,"542":1,"543":2,"550":1}}],["seeing",{"2":{"526":1}}],["see",{"2":{"31":1,"118":1,"146":1,"169":1,"284":2,"353":1,"395":1,"413":1,"429":1,"480":1,"481":1,"493":1,"504":1,"515":1,"521":1,"526":2,"534":1,"542":1,"547":1}}],["sets",{"2":{"116":1}}],["set",{"2":{"109":1,"266":1,"343":1,"365":1,"389":1,"407":2,"436":1,"445":1,"446":2,"456":3,"465":1,"469":1,"489":1,"494":1,"509":2,"511":2,"512":1,"515":2,"517":1,"518":2,"519":1,"521":1,"536":3}}],["setting",{"2":{"50":1,"111":1,"376":1,"381":1,"382":3,"399":1,"506":1,"530":1,"531":1,"532":1,"536":1}}],["settings",{"0":{"55":1,"56":1,"57":1,"381":1,"515":1,"517":1,"528":1},"1":{"56":1,"57":1,"529":1,"530":1,"531":1,"532":1},"2":{"12":1,"13":1,"50":1,"52":1,"55":1,"409":2,"443":1,"510":1,"525":1,"527":1,"528":2}}],["setup",{"0":{"15":1,"17":1,"238":1,"471":1,"472":1,"491":1},"1":{"472":1,"473":1,"474":1,"475":1,"476":1,"492":1,"493":1,"494":1,"495":1},"2":{"14":2,"471":1,"491":1,"512":1,"521":2,"524":1}}],["screen",{"2":{"492":1}}],["scroll",{"2":{"483":1}}],["scripts",{"2":{"12":1}}],["scans",{"2":{"371":1}}],["scan",{"2":{"233":1}}],["scalable",{"2":{"80":1}}],["scenarios",{"0":{"254":1},"2":{"423":1,"550":1}}],["scenario",{"0":{"263":1,"264":1,"265":1},"2":{"232":1,"233":1,"234":1,"235":1,"236":1}}],["schemas",{"2":{"397":1}}],["schema",{"0":{"333":1,"384":1},"2":{"183":2,"317":2,"370":2,"384":1,"541":1}}],["scheduler",{"2":{"436":1,"440":1}}],["schedulelifecyclejob",{"2":{"374":1}}],["schedules",{"2":{"276":1,"308":1}}],["scheduled",{"2":{"248":1,"374":1}}],["schedule",{"2":{"44":1,"281":1,"285":1,"363":1,"374":1,"432":1,"433":1,"436":1}}],["scheduling",{"0":{"374":1},"2":{"44":1,"437":1}}],["scopes",{"2":{"475":3}}],["scope",{"0":{"352":1,"365":1},"2":{"121":1,"155":1,"176":1,"332":1,"338":1,"344":1,"349":2,"353":1,"359":1,"365":2,"384":1,"386":1,"392":3,"397":1,"526":1}}],["scoped",{"2":{"2":1,"179":1,"349":1,"365":1}}],["sure",{"2":{"521":1}}],["surfaces",{"2":{"190":1}}],["sudo",{"2":{"509":1}}],["suspect",{"2":{"505":1}}],["suspend",{"2":{"145":1}}],["suggesting",{"2":{"404":1}}],["summary",{"2":{"349":1}}],["summaries",{"0":{"21":1},"2":{"18":1}}],["suffix",{"2":{"333":1,"354":1}}],["sufficient",{"2":{"94":1}}],["subdirectories",{"2":{"445":1}}],["subsequent",{"2":{"463":1}}],["subset",{"2":{"410":1}}],["subsets",{"2":{"364":1}}],["substring",{"2":{"333":1,"354":1}}],["submission",{"2":{"360":1}}],["submitted",{"2":{"457":1}}],["submitting",{"2":{"404":1}}],["submit",{"2":{"164":1,"277":1,"404":1,"468":1,"499":1}}],["subjects",{"0":{"409":1},"2":{"409":1,"423":1}}],["subject",{"2":{"154":1,"232":1,"236":1,"275":1,"333":2,"344":2,"345":1,"353":1,"359":2,"364":1,"376":2,"394":2,"397":1,"407":3,"408":1,"409":1,"410":1,"419":3,"422":1,"424":1,"425":4,"426":1,"427":1,"428":1,"429":2}}],["successful",{"2":{"467":1,"498":1}}],["successfully",{"2":{"76":1,"87":1,"114":1,"137":1,"140":1,"211":1,"222":1,"225":1,"242":1,"280":1,"281":1,"342":1,"450":1,"452":1,"522":1,"548":1}}],["success",{"0":{"273":1},"2":{"76":1,"87":2,"155":1,"157":1,"260":1,"273":2,"277":1,"280":1,"281":1}}],["such",{"2":{"44":1,"89":1,"92":1,"141":1,"151":1,"175":1,"454":1,"460":1,"480":1,"492":1,"494":1,"509":1}}],["suitable",{"2":{"426":1,"512":1}}],["suit",{"2":{"48":1}}],["suited",{"2":{"12":1}}],["supported",{"0":{"354":1,"411":1,"458":1},"1":{"412":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1,"459":1,"460":1},"2":{"333":2,"353":1,"411":1,"492":1,"530":1}}],["support",{"0":{"532":1},"2":{"72":1,"401":1,"455":1,"481":1,"486":1,"498":1,"532":2}}],["supports",{"2":{"10":1,"459":1,"479":1}}],["superior",{"2":{"455":1}}],["super",{"2":{"24":1,"44":1,"62":1,"422":2,"470":1,"476":1,"518":3}}],["stuck",{"2":{"435":1}}],["style=true",{"2":{"446":1}}],["style",{"0":{"410":1},"1":{"411":1,"412":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1},"2":{"446":1,"517":2}}],["stop",{"2":{"548":1}}],["stops",{"2":{"172":1}}],["storing",{"2":{"400":1,"442":1,"485":1}}],["stores",{"2":{"434":1,"450":1}}],["store",{"2":{"238":1,"251":1,"442":1,"488":1,"494":1,"509":1,"510":1,"526":1}}],["stored",{"0":{"526":1},"1":{"527":1},"2":{"42":1,"80":1,"86":1,"87":1,"95":1,"401":1,"445":1,"450":1,"501":3,"503":1,"504":1,"526":2}}],["storageservice",{"0":{"441":1},"1":{"442":1,"443":1,"444":1,"445":1,"446":1,"447":1,"448":1,"449":1,"450":1,"451":1,"452":1,"453":1},"2":{"1":1,"442":1,"443":1,"447":2,"448":8,"449":1}}],["storage",{"0":{"58":1,"441":1,"446":1,"509":1,"512":1,"517":1,"526":1},"1":{"59":1,"442":1,"443":1,"444":1,"445":1,"446":1,"447":1,"448":1,"449":1,"450":1,"451":1,"452":1,"453":1,"527":1},"2":{"1":1,"32":2,"58":1,"60":1,"188":1,"377":1,"401":5,"439":1,"442":4,"443":1,"444":5,"445":4,"446":16,"452":1,"468":3,"487":3,"499":3,"504":3,"505":2,"511":4,"512":5,"517":20,"526":1}}],["still",{"2":{"166":1,"292":1,"452":1}}],["step",{"0":{"238":1,"239":1,"240":1,"241":1,"242":1,"480":2,"547":1,"548":1,"549":1,"550":1},"2":{"114":1,"155":1,"172":4,"189":1,"482":2,"483":2,"493":1,"495":1,"509":1,"522":1}}],["steps",{"0":{"511":1,"522":1},"2":{"79":1,"80":1,"486":1,"505":1,"540":1}}],["strong",{"2":{"511":2}}],["strongly",{"2":{"480":1,"481":1}}],["stream",{"2":{"451":2}}],["strategic",{"2":{"234":1}}],["strategy",{"0":{"245":1},"2":{"51":1,"119":1}}],["strict",{"2":{"89":1,"172":1}}],["strings",{"2":{"387":1,"395":1,"407":2}}],["stringification",{"2":{"79":1}}],["string",{"2":{"73":3,"79":2,"104":2,"109":2,"119":3,"143":1,"199":2,"332":4,"344":4,"346":2,"353":1,"364":1,"376":1,"394":1,"395":1,"407":2,"448":2,"450":1,"451":1,"452":1,"453":1,"511":3,"517":2,"518":1}}],["structured",{"2":{"94":1,"376":1,"448":1}}],["structure",{"0":{"407":1,"488":1},"2":{"79":1,"118":1,"407":1,"450":1,"467":4,"488":1,"498":3}}],["stays",{"2":{"496":1}}],["stalled",{"2":{"440":1}}],["stale",{"0":{"436":1},"2":{"155":1,"167":2,"435":1,"436":2,"440":1}}],["stable",{"2":{"381":1,"544":1}}],["stability",{"2":{"47":1}}],["starting",{"2":{"440":1,"513":1}}],["startswith",{"2":{"395":1}}],["starts",{"2":{"333":1,"354":2,"395":1,"434":1,"541":1}}],["startup",{"2":{"183":1,"188":1,"374":1,"456":1,"464":1,"550":1}}],["start",{"2":{"73":1,"154":1,"249":1,"404":1,"468":1,"477":1,"499":1,"520":2,"522":1,"547":1,"549":1}}],["startdate",{"2":{"73":1,"120":1,"121":1}}],["started",{"0":{"266":1,"399":1},"1":{"400":1,"401":1,"402":1,"403":1,"404":1},"2":{"1":1,"399":1,"478":1}}],["standardized",{"2":{"442":1}}],["standards",{"2":{"89":1}}],["standard",{"0":{"546":1},"1":{"547":1,"548":1,"549":1,"550":1},"2":{"51":1,"142":1,"181":1,"227":1,"234":1,"296":1,"401":2,"467":1,"479":1,"489":1,"542":1,"544":1,"548":1}}],["stating",{"2":{"474":1}}],["static",{"2":{"183":1}}],["statistics",{"2":{"18":1,"462":1}}],["stateful",{"2":{"396":1}}],["state",{"0":{"174":1},"2":{"103":1,"107":1,"146":1,"147":1,"150":1,"151":1,"167":1,"240":1,"306":1,"434":1,"484":1}}],["statements",{"2":{"24":1}}],["statuses",{"0":{"503":1}}],["statuscode",{"2":{"142":2,"227":2}}],["status",{"0":{"17":1,"240":1,"290":1,"355":1,"504":1},"1":{"291":1,"292":1},"2":{"14":1,"48":1,"49":1,"51":2,"52":1,"142":2,"146":1,"207":1,"227":2,"244":1,"255":1,"269":1,"281":1,"349":1,"412":3,"434":1,"436":1,"477":2,"484":1,"493":2,"496":2,"502":1,"503":3,"505":1,"520":1,"547":2}}],["stats",{"0":{"19":1},"2":{"11":1,"12":1}}],["i",{"2":{"395":1,"396":1}}],["irreversible",{"2":{"340":1,"357":1}}],["icon",{"2":{"270":1,"356":1,"357":1,"474":2}}],["id=minioadmin",{"2":{"446":1}}],["ids",{"2":{"244":1,"245":1,"343":1,"360":1,"367":1,"376":2,"379":1}}],["idea",{"2":{"404":1}}],["idempotency",{"2":{"186":1}}],["idempotent",{"2":{"132":1,"137":1,"155":1,"160":1}}],["identify",{"0":{"239":1},"2":{"164":1,"232":2,"234":1,"236":1,"244":1,"266":2,"297":1,"526":1,"536":1}}],["identifies",{"2":{"263":1}}],["identified",{"2":{"261":1,"463":1,"526":1}}],["identifier",{"2":{"73":1,"83":2,"93":1,"185":1,"319":1,"378":1,"384":1,"450":1,"451":1,"452":1,"453":1}}],["identification",{"2":{"83":1}}],["identity",{"2":{"24":1,"491":1,"492":2}}],["id",{"0":{"100":1,"195":1,"328":1,"388":1,"389":1,"390":1,"492":1},"1":{"101":1,"102":1,"196":1,"197":1,"329":1,"330":1},"2":{"74":1,"83":1,"87":1,"99":2,"100":1,"101":1,"107":1,"108":1,"111":1,"112":1,"113":1,"114":2,"116":1,"117":1,"122":1,"123":1,"124":1,"126":1,"155":1,"183":1,"185":2,"186":7,"190":7,"194":2,"195":1,"196":1,"202":1,"203":1,"206":1,"207":1,"208":1,"211":1,"228":2,"254":2,"260":2,"319":1,"320":5,"327":1,"328":1,"329":1,"336":1,"337":1,"339":1,"340":1,"341":1,"342":1,"376":1,"377":1,"378":1,"379":1,"381":2,"384":1,"414":3,"419":3,"421":2,"425":2,"428":3,"446":1,"475":5,"489":1,"491":1,"495":3,"509":2,"517":2}}],["ip",{"2":{"48":2,"49":2,"50":1,"83":2,"93":1,"99":1,"105":1,"378":1,"518":1,"536":1}}],["iam",{"0":{"24":1,"406":1,"474":1},"1":{"25":1,"26":1,"27":1,"28":1,"29":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1,"419":1,"420":1,"421":1,"422":1,"423":1,"424":1,"425":1,"426":1,"427":1,"428":1,"429":1},"2":{"406":1,"407":1,"408":1,"409":1,"472":1,"474":6}}],["if",{"0":{"505":1},"2":{"13":1,"48":1,"51":1,"80":2,"102":1,"122":1,"126":1,"130":1,"143":1,"146":1,"151":1,"161":1,"162":1,"164":2,"169":1,"172":1,"174":1,"183":1,"188":2,"197":1,"204":1,"209":2,"215":2,"217":1,"223":1,"225":2,"240":2,"255":1,"269":1,"273":1,"275":1,"276":2,"280":1,"281":1,"282":1,"284":2,"301":1,"307":3,"310":1,"322":1,"330":1,"353":1,"360":1,"366":1,"368":2,"376":3,"377":2,"388":1,"389":1,"390":1,"392":3,"394":2,"395":1,"404":2,"412":2,"418":1,"420":3,"439":1,"448":1,"450":1,"451":1,"452":1,"453":1,"456":2,"462":1,"463":1,"464":2,"468":1,"472":1,"474":2,"481":2,"487":1,"488":1,"494":1,"499":1,"504":1,"505":3,"507":1,"511":1,"512":1,"516":1,"517":6,"518":1,"519":1,"521":1,"524":1,"526":2,"533":1,"534":1,"537":2,"543":1,"544":2}}],["images",{"2":{"520":1,"523":2,"540":2,"548":1}}],["image",{"2":{"459":1,"525":1,"545":2,"546":1}}],["imap",{"0":{"479":1},"1":{"480":1,"481":1,"482":1,"483":1,"484":1},"2":{"1":1,"33":1,"400":1,"401":1,"403":1,"478":1,"479":2,"480":7,"484":1,"522":1}}],["immune",{"2":{"146":1,"161":1,"172":1,"173":1,"189":1}}],["immunity",{"0":{"172":1},"2":{"111":1,"146":1,"151":2,"157":1,"170":1,"185":1}}],["immutably",{"2":{"176":1}}],["immutable",{"0":{"308":1},"2":{"89":1,"308":1,"367":1,"401":1}}],["immutability",{"0":{"91":1},"2":{"78":1}}],["immediately",{"2":{"13":1,"91":1,"111":1,"149":1,"151":1,"157":1,"172":1,"179":1,"189":1,"355":1,"494":1,"530":1}}],["impersonated",{"2":{"476":1}}],["imposes",{"2":{"457":1}}],["importexporttools",{"2":{"486":1}}],["importing",{"2":{"466":1,"468":1,"477":1,"484":1,"496":1,"497":1,"498":1,"499":1,"544":1,"546":1}}],["important",{"0":{"509":1},"2":{"111":1,"151":1,"204":1,"234":1,"268":1,"272":1,"314":1,"422":1,"505":1,"530":1}}],["import",{"0":{"39":1,"466":1,"497":1,"549":1},"1":{"467":1,"468":1,"498":1,"499":1},"2":{"44":1,"413":1,"415":3,"432":1,"433":1,"434":1,"463":1,"466":1,"467":1,"468":2,"477":3,"478":3,"484":2,"487":1,"496":3,"497":1,"498":1,"499":2,"547":1,"549":4,"550":3}}],["imports",{"2":{"33":1,"401":1,"413":1,"433":1}}],["implicitly",{"2":{"410":1}}],["implementation",{"0":{"77":1,"246":1,"264":1,"383":1},"1":{"78":1,"79":1,"80":1,"81":1,"247":1,"248":1,"249":1,"384":1,"385":1,"386":1,"387":1,"388":1,"389":1,"390":1,"391":1,"392":1,"393":1,"394":1,"395":1,"396":1,"397":1,"398":1},"2":{"77":1,"232":1,"233":1,"234":1,"235":1,"236":1,"383":1,"392":1,"395":1}}],["implementing",{"2":{"51":1}}],["implement",{"2":{"51":1,"255":1,"258":1,"266":1,"307":1}}],["implements",{"2":{"47":1,"398":1,"449":1,"462":1}}],["italian",{"2":{"530":1}}],["item",{"0":{"305":1},"2":{"268":1,"303":1}}],["iteration",{"2":{"380":1}}],["iterative",{"2":{"80":1}}],["iterates",{"2":{"95":1,"375":1}}],["itself",{"2":{"123":1,"138":1,"161":1,"188":1,"307":1,"536":1}}],["its",{"2":{"42":1,"78":1,"87":1,"88":1,"89":1,"90":1,"100":1,"146":1,"161":1,"173":1,"189":1,"195":1,"207":1,"269":1,"292":1,"308":1,"328":1,"349":1,"352":1,"353":1,"376":2,"410":1,"412":1,"434":1,"442":1,"450":1,"455":1,"463":2,"484":1,"501":1,"502":1,"504":1,"505":2,"509":1,"535":1}}],["it",{"0":{"48":1,"373":1,"501":1},"1":{"49":1,"374":1,"375":1,"376":1,"377":1},"2":{"11":1,"12":1,"13":1,"51":1,"79":5,"80":5,"82":1,"86":1,"95":1,"114":1,"142":1,"144":1,"149":1,"151":1,"152":3,"161":2,"164":1,"170":1,"172":1,"174":1,"179":1,"209":2,"267":1,"269":1,"282":1,"284":1,"300":1,"301":1,"307":3,"343":1,"348":1,"353":1,"361":1,"367":1,"368":1,"371":1,"374":1,"379":1,"391":1,"392":2,"404":1,"406":1,"407":1,"412":1,"420":3,"422":1,"426":2,"434":3,"435":1,"436":1,"443":1,"448":2,"450":2,"455":1,"458":1,"467":1,"472":2,"474":3,"476":1,"482":2,"484":1,"487":1,"491":1,"493":1,"494":5,"498":2,"503":1,"505":1,"511":1,"515":1,"524":1,"526":3,"527":2,"544":2,"549":1,"550":1}}],["istorageprovider",{"2":{"442":1,"449":1}}],["iso",{"2":{"387":1}}],["isenabled",{"2":{"332":1,"387":1,"392":1}}],["isemailunderactivehold",{"2":{"189":1}}],["isdisabled",{"2":{"194":2,"209":1,"307":1}}],["isactive",{"2":{"99":2,"107":1,"109":1,"110":1,"111":1,"114":1,"130":2,"136":1,"150":1,"174":1,"327":1,"387":1}}],["issues",{"2":{"264":1,"465":1,"509":1,"533":1}}],["issued",{"2":{"172":1}}],["issue",{"2":{"87":1,"167":1,"377":1,"404":2,"504":1,"505":1,"534":1}}],["is",{"0":{"400":1,"526":1},"1":{"527":1},"2":{"2":1,"13":1,"47":1,"48":1,"49":1,"51":2,"55":1,"76":1,"77":1,"79":3,"80":2,"81":2,"82":1,"83":1,"86":1,"87":6,"89":2,"91":1,"92":1,"93":1,"95":1,"114":2,"116":1,"122":1,"123":1,"132":1,"137":1,"138":1,"142":1,"144":1,"146":4,"148":1,"150":1,"152":1,"155":4,"157":1,"160":1,"161":1,"162":3,"166":1,"167":1,"168":2,"169":1,"170":1,"172":3,"173":2,"174":1,"175":1,"176":2,"181":1,"183":1,"185":1,"188":4,"204":1,"206":1,"209":3,"215":2,"217":1,"223":1,"227":1,"240":1,"254":1,"267":1,"268":1,"269":3,"276":1,"280":1,"281":2,"284":2,"286":1,"299":1,"300":1,"301":2,"303":1,"307":4,"309":1,"310":1,"317":1,"319":2,"332":1,"340":1,"343":1,"348":1,"349":3,"352":2,"355":1,"356":1,"357":1,"360":1,"361":1,"363":2,"365":1,"366":2,"367":1,"368":2,"370":1,"371":1,"374":4,"375":2,"376":2,"377":1,"379":1,"382":1,"383":1,"384":3,"389":3,"391":2,"392":4,"396":4,"401":1,"406":1,"407":3,"411":1,"412":4,"413":1,"414":1,"415":1,"416":2,"417":1,"419":3,"420":2,"422":2,"429":1,"431":1,"434":2,"436":6,"438":1,"440":1,"442":2,"443":1,"445":1,"446":1,"447":1,"448":2,"451":1,"452":1,"454":2,"455":3,"456":2,"457":2,"459":2,"460":2,"462":3,"463":2,"464":2,"465":1,"466":1,"468":3,"469":1,"474":2,"475":2,"477":2,"479":1,"480":3,"484":3,"485":1,"487":3,"488":2,"489":1,"492":1,"493":1,"494":3,"495":1,"496":1,"497":1,"499":3,"501":1,"502":1,"503":2,"504":2,"505":2,"506":1,"509":2,"510":1,"511":1,"512":3,"514":1,"515":1,"517":5,"518":3,"522":1,"524":1,"525":1,"526":4,"527":1,"530":1,"533":1,"534":2,"535":1,"536":2,"537":2,"539":1,"541":2,"542":1,"543":1,"544":2,"548":1,"550":3}}],["inquiries",{"2":{"532":1}}],["inbox",{"2":{"467":1,"484":1}}],["inboxes",{"2":{"400":1}}],["injection",{"2":{"447":1}}],["info",{"2":{"317":1}}],["information",{"0":{"351":1},"2":{"30":1,"88":1,"215":1,"216":1,"240":1,"245":1,"258":1,"323":2,"495":1}}],["incorrectly",{"2":{"535":1}}],["incoming",{"2":{"397":1}}],["inclusive",{"2":{"515":1}}],["included",{"2":{"202":1,"336":1,"392":1}}],["includes",{"2":{"92":1,"94":1,"309":1,"379":1,"382":1,"395":2,"396":1,"398":2,"464":1,"465":1,"513":1,"525":1,"542":1,"543":1}}],["include",{"2":{"51":1,"87":1,"252":1,"294":1,"295":1,"323":2,"367":1,"386":1,"504":1,"515":1}}],["including",{"2":{"14":1,"88":1,"128":1,"400":1,"430":1,"450":1,"459":1,"466":1,"497":1,"515":1,"530":1}}],["increase",{"2":{"438":1}}],["increments",{"2":{"434":1}}],["incremental",{"2":{"258":1}}],["incidents",{"2":{"315":1}}],["ingesting",{"2":{"485":1}}],["ingestions",{"2":{"480":1,"484":1}}],["ingestionservice",{"0":{"448":1},"2":{"448":1}}],["ingestionsource",{"2":{"425":1}}],["ingestionsourceid",{"2":{"344":1,"345":1,"376":1,"392":1}}],["ingestionscope",{"2":{"327":1,"332":1,"334":1,"338":1,"392":1}}],["ingestion",{"0":{"7":1,"20":1,"21":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"40":1,"247":1,"352":1,"365":1,"427":1,"428":1,"438":1,"468":1,"485":1,"499":1},"1":{"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"486":1,"487":1,"488":1},"2":{"1":1,"32":2,"33":1,"44":3,"60":2,"92":1,"332":1,"338":1,"344":1,"349":3,"352":4,"353":1,"359":2,"365":3,"376":1,"384":2,"386":1,"392":1,"397":1,"401":1,"403":1,"407":2,"409":2,"412":1,"413":1,"414":3,"419":6,"425":4,"426":1,"427":2,"428":4,"429":1,"431":3,"432":2,"433":1,"434":1,"436":1,"437":1,"438":1,"468":3,"476":2,"479":1,"480":3,"482":1,"483":1,"484":2,"487":2,"495":2,"499":3,"518":1,"522":1}}],["ingest",{"2":{"478":1}}],["ingested",{"2":{"232":1,"247":2,"436":1,"488":1}}],["inline",{"2":{"151":1,"273":1}}],["input",{"0":{"359":1},"2":{"142":1,"227":1}}],["inactive",{"0":{"174":1},"2":{"122":1,"128":1,"137":1,"146":1,"159":1,"349":1}}],["indefinitely",{"2":{"264":1}}],["independently",{"2":{"173":1,"431":1}}],["indexes",{"2":{"401":1}}],["indexed",{"0":{"23":1},"2":{"53":1,"247":1}}],["index",{"2":{"44":1,"155":1,"167":3,"432":1,"433":1,"437":1,"439":1,"543":1,"549":1}}],["indexing",{"0":{"439":1},"2":{"44":3,"400":1,"431":3,"432":2,"433":1,"435":1,"437":1,"439":1,"516":2}}],["individually",{"2":{"257":1}}],["individual",{"2":{"149":1,"164":1,"177":1,"190":2,"191":1,"267":1,"283":1,"303":1,"311":1,"317":1,"324":1,"349":1,"352":1,"469":1}}],["indicate",{"2":{"294":1,"332":1,"349":1}}],["indicates",{"2":{"87":2,"360":1,"392":1,"503":2,"504":2}}],["indicators",{"0":{"290":1},"1":{"291":1,"292":1}}],["indicating",{"2":{"87":1,"146":1,"269":1,"349":1,"375":1,"436":1}}],["investigate",{"2":{"505":1}}],["investigations",{"2":{"145":1,"170":1,"233":1}}],["investigation",{"0":{"180":1},"2":{"99":1,"130":1,"148":1,"173":1,"313":1}}],["inverts",{"2":{"407":1}}],["inverted",{"0":{"419":1},"2":{"407":2,"419":4,"420":1}}],["inverse",{"2":{"333":2,"354":2}}],["invoice",{"0":{"263":1},"2":{"239":1,"263":2,"333":1,"345":1}}],["invoices",{"2":{"232":1}}],["involving",{"2":{"234":1}}],["involves",{"2":{"80":1,"471":1,"491":1,"546":1}}],["invalid",{"0":{"504":1},"2":{"13":1,"122":1,"137":1,"142":1,"222":1,"227":1,"254":2,"273":1,"368":1,"396":1,"503":2,"504":1,"505":1}}],["introduced",{"2":{"544":1}}],["intact",{"2":{"503":1}}],["intuitive",{"2":{"82":1}}],["into",{"2":{"80":1,"81":1,"87":1,"375":1,"386":1,"407":1,"410":1,"434":2,"439":1,"471":1,"476":1,"482":1,"485":1,"488":1,"491":1,"522":1,"526":1,"527":1,"546":1}}],["intensive",{"2":{"463":1}}],["intended",{"2":{"145":1,"360":1,"406":1}}],["intelligent",{"2":{"279":1}}],["intellectual",{"2":{"272":1}}],["integer",{"2":{"199":1,"228":1,"319":1,"332":3,"346":1,"351":1,"384":2,"397":2}}],["integrate",{"2":{"235":1}}],["integrated",{"2":{"81":1}}],["integration",{"0":{"81":1,"187":1,"235":1,"262":1,"265":1,"310":1,"321":1,"382":1,"461":1,"519":1},"1":{"188":1,"189":1,"190":1,"263":1,"264":1,"265":1,"322":1,"323":1,"324":1,"462":1,"463":1,"464":1},"2":{"183":1,"317":1,"456":1}}],["integrations",{"2":{"12":1}}],["integrity",{"0":{"42":1,"43":1,"75":1,"86":1,"500":1,"502":1,"505":1},"1":{"43":1,"76":1,"87":1,"501":1,"502":1,"503":2,"504":2,"505":1},"2":{"75":1,"76":1,"80":1,"86":2,"87":1,"95":1,"276":1,"301":1,"500":2,"501":1,"502":1,"503":1,"505":2}}],["interact",{"2":{"533":1}}],["interacts",{"2":{"51":1}}],["interruption",{"2":{"494":1}}],["intervention",{"2":{"363":1,"541":1}}],["internal",{"2":{"126":1,"216":1,"226":1,"361":1,"378":1}}],["interface",{"0":{"82":1,"144":1,"267":1,"348":1},"1":{"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"268":1,"269":1,"270":1,"271":1,"272":1,"273":1,"274":1,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1,"283":1,"284":1,"285":1,"286":1,"287":1,"288":1,"289":1,"290":1,"291":1,"292":1,"293":1,"294":1,"295":1,"296":1,"297":1,"298":1,"299":1,"300":1,"301":1,"302":1,"349":1,"350":1,"351":1,"352":1,"353":1,"354":1,"355":1,"356":1,"357":1,"358":1,"359":1,"360":1},"2":{"82":1,"144":1,"267":1,"348":1,"398":1,"442":2,"449":1,"487":1,"502":1,"521":1,"530":1,"539":1}}],["initiatives",{"2":{"316":1}}],["initiate",{"2":{"86":1}}],["initiated",{"2":{"83":1,"92":1,"93":1}}],["initiates",{"2":{"75":1}}],["initialize",{"2":{"188":1}}],["initial",{"0":{"39":1},"2":{"14":1,"44":1,"401":1,"432":1,"433":2,"434":1,"464":1,"477":2,"484":2,"496":2}}],["inspect",{"2":{"526":3}}],["inspecting",{"2":{"488":1}}],["inside",{"2":{"468":2,"487":2,"499":2,"547":1,"549":1}}],["insights",{"0":{"23":1}}],["insensitive",{"2":{"333":5,"354":5,"394":1,"396":1}}],["inserts",{"2":{"186":1,"386":1}}],["inserted",{"2":{"87":1,"155":1}}],["insufficient",{"2":{"302":1}}],["instructions",{"2":{"469":1,"486":1,"489":1,"538":1,"542":1}}],["instead",{"0":{"168":1},"2":{"209":1,"281":1,"299":1,"301":1,"310":1,"447":1,"481":1,"513":1,"521":1,"544":1}}],["installed",{"2":{"507":2}}],["installation",{"0":{"402":1,"506":1,"523":1},"1":{"507":1,"508":1,"509":1,"510":1,"511":1,"512":1,"513":1,"514":1,"515":1,"516":1,"517":1,"518":1,"519":1,"520":1,"521":1,"522":1,"523":1,"524":1,"525":1,"526":1,"527":1},"2":{"1":1,"402":2}}],["instantiated",{"2":{"448":1}}],["instantiate",{"2":{"447":1}}],["instantaneous",{"2":{"174":1}}],["instances",{"2":{"507":1,"513":2,"546":1}}],["instance",{"0":{"538":1,"540":1,"548":1},"1":{"539":1,"540":1,"541":1,"542":1},"2":{"47":1,"402":1,"447":1,"456":1,"511":2,"518":1,"521":1,"523":1,"536":1,"538":1,"540":2,"544":1,"545":1,"546":1,"550":1}}],["in",{"0":{"46":1,"172":1,"300":1,"414":1,"415":1,"448":1,"476":1,"492":1,"495":1},"2":{"11":1,"12":2,"13":1,"33":1,"50":2,"51":4,"60":1,"77":1,"78":1,"79":1,"80":3,"83":1,"84":1,"88":1,"96":1,"103":1,"107":1,"116":1,"123":1,"145":1,"146":2,"147":1,"148":1,"151":1,"152":1,"153":1,"155":1,"157":1,"160":1,"161":1,"162":1,"164":1,"167":2,"172":1,"174":1,"175":2,"176":2,"179":1,"180":1,"183":1,"189":1,"190":1,"191":1,"202":1,"211":1,"232":1,"238":1,"245":1,"248":2,"252":1,"257":1,"261":1,"269":3,"276":1,"281":1,"282":1,"284":1,"285":1,"291":1,"292":2,"301":1,"307":1,"309":1,"317":1,"325":1,"336":1,"347":1,"360":1,"363":2,"367":2,"368":2,"375":1,"376":3,"377":1,"378":2,"383":1,"384":1,"389":1,"392":2,"393":1,"396":1,"400":1,"401":1,"406":1,"408":1,"409":1,"414":1,"415":1,"421":1,"423":1,"434":3,"437":1,"438":2,"443":1,"447":1,"455":1,"456":2,"463":1,"464":1,"465":1,"467":2,"468":4,"470":1,"471":2,"472":4,"474":4,"475":4,"476":3,"477":1,"480":3,"481":1,"482":2,"483":3,"486":1,"487":3,"489":1,"490":1,"491":1,"492":3,"493":6,"494":4,"495":4,"496":1,"498":2,"499":4,"501":2,"502":1,"503":1,"505":1,"509":2,"510":1,"511":1,"512":1,"515":1,"517":1,"518":3,"519":1,"520":1,"521":1,"525":1,"526":5,"527":2,"532":1,"533":2,"534":2,"535":3,"536":3,"539":1,"544":2,"545":2,"547":1,"549":2,"550":1}}],["aes",{"2":{"517":1}}],["amount",{"2":{"477":1,"496":1}}],["amp",{"0":{"518":1},"2":{"401":3,"472":2,"474":2,"494":1}}],["away",{"2":{"494":1}}],["aware",{"2":{"344":1,"359":1}}],["aws",{"2":{"401":1,"444":1,"446":3}}],["ai",{"2":{"235":1}}],["a7b8",{"2":{"99":1,"346":1}}],["able",{"2":{"474":1}}],["ability",{"2":{"458":1}}],["abstract",{"2":{"442":1}}],["absolute",{"0":{"172":1},"2":{"170":1,"445":1}}],["abc",{"2":{"194":2,"215":1,"221":1,"376":1,"450":1}}],["abcd",{"2":{"99":1,"121":1,"130":1,"135":1,"136":1,"194":1,"215":1,"220":1,"221":1,"327":1,"346":1}}],["abort",{"2":{"282":1}}],["aborted",{"2":{"188":1}}],["above",{"2":{"147":1,"270":1,"350":1,"493":1}}],["about",{"2":{"30":1}}],["a1b2c3d4",{"2":{"99":1,"121":1,"130":1,"135":1,"136":1,"194":1,"215":1,"220":1,"221":1,"327":1,"346":1}}],["a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2",{"2":{"12":1}}],["availability",{"2":{"464":1}}],["available",{"0":{"244":1},"2":{"30":1,"85":1,"144":1,"153":1,"157":1,"244":1,"285":1,"408":1,"409":1,"465":1,"474":1,"514":1,"539":1}}],["average",{"2":{"438":1}}],["avoid",{"2":{"79":1,"80":1,"245":1,"257":1,"258":1,"375":1,"462":1,"524":1}}],["aligned",{"2":{"537":1}}],["alongside",{"2":{"501":1}}],["alpha",{"2":{"236":1,"272":2}}],["already",{"2":{"106":1,"121":1,"137":1,"155":2,"156":1,"174":1,"201":1,"217":1,"269":1,"273":1,"284":1,"286":1,"292":1,"335":1,"436":1,"440":1,"450":1,"463":1,"468":1,"472":1,"487":1,"499":1}}],["also",{"2":{"92":1,"96":1,"144":1,"172":1,"188":1,"191":1,"325":1,"425":1,"445":1,"495":1,"527":1}}],["alternatively",{"2":{"545":1}}],["alternative",{"0":{"313":1},"2":{"313":1,"468":1,"487":1,"499":1}}],["alter",{"2":{"91":1}}],["altered",{"2":{"87":1,"501":1}}],["always",{"2":{"79":2,"103":1,"147":1,"275":2,"295":1,"346":1,"360":1,"376":1,"382":1,"389":1,"392":1,"420":1,"515":1,"536":2,"541":1}}],["allow",{"2":{"413":1,"481":1,"486":1,"525":1,"528":1}}],["allows",{"2":{"84":1,"86":1,"182":1,"230":1,"408":6,"420":2,"425":1,"429":1,"442":1,"466":1,"469":1,"479":1,"489":1,"493":1,"497":1,"500":1,"501":1,"532":1,"544":1}}],["allowing",{"2":{"82":1,"85":1,"268":1,"364":1}}],["allowed",{"2":{"50":1,"51":1,"518":1,"534":1}}],["all",{"0":{"25":1,"45":1,"63":1,"98":1,"123":1,"157":1,"193":1,"326":1},"1":{"99":1,"124":1,"125":1,"126":1,"194":1,"327":1},"2":{"6":1,"24":1,"30":1,"42":1,"44":2,"62":1,"77":1,"82":1,"88":1,"89":1,"96":2,"98":2,"100":1,"103":1,"107":1,"109":1,"111":1,"112":2,"116":2,"119":2,"120":1,"121":1,"123":3,"126":1,"128":1,"132":1,"138":1,"142":1,"143":1,"144":1,"145":1,"146":1,"151":1,"152":1,"155":1,"157":2,"159":1,"160":1,"163":7,"164":2,"167":1,"177":3,"180":1,"181":1,"182":1,"183":1,"190":2,"191":2,"193":2,"195":1,"198":1,"202":1,"204":2,"207":1,"227":1,"244":2,"249":1,"252":1,"255":1,"258":1,"260":1,"261":1,"264":3,"267":1,"269":1,"285":1,"288":2,"291":1,"302":1,"307":1,"311":1,"323":1,"325":3,"326":2,"327":1,"328":1,"331":1,"332":2,"336":1,"338":4,"340":1,"343":2,"346":2,"348":1,"349":3,"352":3,"353":2,"356":1,"358":1,"359":1,"360":2,"365":1,"369":1,"371":1,"375":1,"376":2,"378":1,"383":1,"384":2,"387":1,"392":3,"394":1,"397":1,"398":2,"401":2,"408":1,"409":2,"410":2,"413":1,"415":1,"419":2,"420":1,"422":1,"424":2,"427":1,"434":2,"436":1,"439":1,"440":1,"442":1,"449":1,"469":1,"476":1,"477":2,"480":1,"484":1,"489":1,"491":1,"493":1,"496":2,"515":2,"520":1,"525":2,"526":2,"528":1,"530":1,"539":1}}],["acls",{"2":{"516":1}}],["achieve",{"2":{"423":1}}],["achieved",{"2":{"419":1,"429":1}}],["across",{"2":{"153":1,"198":1,"294":1,"331":1,"426":1,"442":1,"475":1}}],["acme",{"2":{"120":1,"121":1,"164":1,"334":2,"345":2,"359":1}}],["acts",{"2":{"492":1}}],["actually",{"2":{"226":1}}],["act",{"2":{"174":1}}],["activating",{"0":{"151":1}}],["activate",{"2":{"150":1,"151":1,"152":1,"163":1}}],["actively",{"2":{"435":1}}],["active",{"0":{"166":1,"174":1,"179":1},"2":{"103":1,"114":2,"122":1,"128":1,"132":1,"142":1,"146":1,"147":1,"149":1,"151":1,"152":4,"153":1,"159":1,"160":1,"161":1,"162":1,"166":1,"168":1,"172":1,"173":1,"177":1,"183":1,"185":1,"188":1,"276":1,"308":1,"311":1,"332":1,"343":1,"349":1,"355":1,"358":1,"369":1,"371":1,"384":1,"392":1,"412":3,"456":1,"477":2,"484":1,"496":1}}],["activities",{"2":{"89":1,"401":1}}],["activity",{"2":{"82":1,"435":1,"436":1}}],["actiononexpiry",{"2":{"332":1,"334":1,"346":2,"392":1}}],["actions",{"0":{"408":1},"2":{"92":1,"146":1,"150":1,"151":1,"152":1,"166":1,"269":1,"274":1,"278":1,"309":1,"349":1,"408":1,"422":1,"423":1,"472":1,"533":1}}],["action",{"2":{"73":1,"83":4,"89":1,"94":1,"150":1,"152":1,"156":1,"176":1,"190":1,"210":2,"211":1,"249":1,"263":1,"264":1,"265":1,"282":1,"285":1,"323":5,"332":1,"340":1,"346":1,"360":2,"363":1,"379":1,"384":2,"386":2,"389":1,"390":1,"407":4,"408":1,"419":2,"422":1,"424":1,"425":4,"426":1,"427":1,"428":1,"429":1}}],["actiontype",{"2":{"73":1,"74":1,"190":1}}],["actorid",{"0":{"386":1,"389":1,"390":1}}],["actoridentifier",{"2":{"74":1}}],["actorip",{"0":{"386":1,"389":1,"390":1},"2":{"74":1}}],["actor",{"0":{"378":1},"2":{"73":2,"83":1,"93":2,"173":1,"261":1,"378":2,"379":1}}],["accurate",{"2":{"505":1}}],["accumulate",{"2":{"297":1}}],["accidental",{"2":{"357":1,"504":1}}],["account",{"2":{"469":1,"470":1,"471":1,"472":6,"474":2,"475":5,"476":1,"479":1,"480":2,"481":2,"482":1,"483":2,"492":1,"521":1}}],["accounts",{"0":{"483":1},"2":{"62":1,"251":1,"409":1,"422":1,"472":1,"475":1,"492":1}}],["according",{"2":{"467":1,"498":1}}],["accordingly",{"2":{"257":1}}],["accepted",{"2":{"204":1,"338":1}}],["accepts",{"2":{"175":1,"392":1}}],["accessing",{"2":{"535":1}}],["accessible",{"2":{"71":1,"537":1}}],["accesses",{"2":{"521":1}}],["accessed",{"2":{"401":1}}],["access",{"0":{"429":1,"521":1},"2":{"2":1,"24":1,"302":1,"369":1,"406":1,"410":1,"412":1,"414":1,"418":1,"419":4,"422":1,"423":1,"424":1,"426":1,"428":1,"429":2,"446":5,"469":1,"470":1,"475":2,"481":2,"505":1,"509":1,"517":4,"518":1,"521":1,"535":1,"536":1}}],["auditing",{"0":{"259":1},"1":{"260":1,"261":1},"2":{"401":1}}],["audits",{"2":{"170":1}}],["auditservice",{"2":{"77":2,"81":1}}],["auditable",{"2":{"114":1,"174":1}}],["auditor",{"0":{"426":1,"428":1},"2":{"93":1,"94":1,"414":1,"426":1}}],["auditlogmodule",{"2":{"81":1}}],["audit",{"0":{"71":1,"72":1,"75":1,"77":1,"82":1,"83":1,"89":1,"156":1,"176":1,"181":1,"190":1,"261":1,"309":1,"323":1,"367":1,"379":1},"1":{"72":1,"73":2,"74":2,"75":1,"76":2,"78":1,"79":1,"80":1,"81":1,"83":1,"84":1,"85":1,"86":1,"87":1,"88":1,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1},"2":{"71":2,"72":2,"75":2,"76":2,"77":2,"78":1,"81":3,"82":1,"83":1,"85":1,"86":1,"87":4,"89":1,"90":1,"95":1,"121":1,"145":1,"148":1,"155":1,"156":1,"164":1,"176":2,"179":1,"181":2,"182":1,"190":2,"248":1,"255":1,"261":1,"285":1,"309":1,"323":1,"367":2,"376":1,"378":2,"379":1,"386":2,"389":1,"390":1,"401":1,"505":2}}],["automatic",{"2":{"265":1}}],["automatically",{"2":{"229":1,"232":1,"286":1,"306":1,"401":1,"440":1,"448":1,"456":1,"464":1,"477":1,"502":1,"525":1,"539":1,"541":1,"545":1}}],["automation",{"0":{"363":1},"2":{"245":1,"266":1}}],["automates",{"2":{"361":1}}],["automate",{"2":{"235":1}}],["automated",{"0":{"229":1},"1":{"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"258":1,"259":1,"260":1,"261":1,"262":1,"263":1,"264":1,"265":1,"266":1},"2":{"12":1,"92":1,"93":1,"145":1,"229":1,"230":1,"238":1,"251":1,"261":2,"266":1,"305":1,"309":1,"367":2,"370":1,"371":1,"378":1,"379":1,"382":1,"391":1}}],["auto",{"2":{"185":1,"319":1,"384":1,"395":1}}],["authority",{"2":{"476":1}}],["authoritative",{"2":{"136":1}}],["authorize",{"2":{"475":3}}],["authorizing",{"2":{"471":1}}],["authorization",{"2":{"11":2,"252":1,"547":1}}],["authenticated",{"2":{"93":1,"369":1}}],["authenticate",{"2":{"31":1,"494":1}}],["authentication",{"0":{"10":1,"31":1,"238":1,"250":1,"252":1,"518":1},"1":{"11":1,"12":1,"13":1,"251":1,"252":1},"2":{"6":1,"10":1,"14":1,"31":1,"32":1,"71":1,"72":1,"75":1,"96":1,"98":1,"100":1,"103":1,"107":1,"112":1,"116":1,"123":1,"128":1,"132":1,"138":1,"191":1,"193":1,"195":1,"198":1,"202":1,"207":1,"213":1,"217":1,"223":1,"266":1,"325":1,"326":1,"328":1,"331":1,"336":1,"340":1,"343":1,"398":1,"511":1}}],["auth",{"0":{"14":1},"1":{"15":1,"16":1,"17":1},"2":{"11":1,"32":1,"52":1,"183":1,"317":1,"370":1,"475":2}}],["affordable",{"2":{"400":1}}],["affect",{"2":{"360":1}}],["affects",{"2":{"357":1}}],["affected",{"2":{"83":2,"94":1,"505":1}}],["affecting",{"2":{"52":1,"481":1}}],["after",{"0":{"149":1,"169":1},"2":{"49":1,"126":1,"247":1,"360":1,"403":1,"434":1,"477":1,"484":1,"496":1,"518":1,"522":1,"525":1,"527":2,"530":1,"537":1,"545":1}}],["adapter",{"2":{"515":1}}],["advanced",{"0":{"410":1},"1":{"411":1,"412":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1},"2":{"483":1,"519":1,"550":1}}],["adjust",{"2":{"257":1,"266":1}}],["adding",{"2":{"419":1}}],["additions",{"2":{"164":1}}],["added",{"2":{"353":1}}],["add",{"2":{"149":1,"164":1,"257":1,"353":1,"472":1,"474":2,"475":1,"493":2,"494":1,"545":1,"549":1}}],["addressing",{"2":{"517":1}}],["addresses",{"2":{"344":1,"359":1,"376":1}}],["address",{"2":{"48":2,"49":1,"50":1,"83":2,"93":1,"154":1,"164":1,"333":1,"344":1,"354":1,"359":1,"376":1,"394":1,"476":1,"480":2,"532":2}}],["adheres",{"2":{"90":1}}],["admins",{"2":{"422":1}}],["administrator",{"0":{"424":1},"2":{"302":1,"469":1,"470":1,"474":3,"476":1,"490":4,"494":1}}],["administrators",{"2":{"82":1,"268":1,"297":1,"406":1,"442":1,"469":1,"489":1,"528":1,"532":1}}],["administrative",{"2":{"266":1,"311":1,"366":1,"398":1}}],["admin",{"0":{"427":1},"2":{"24":1,"44":1,"62":1,"238":1,"422":1,"471":1,"472":2,"474":2,"475":3,"476":2,"477":1,"491":1,"492":1,"493":1,"495":1,"516":2,"518":1,"521":1,"547":1}}],["aggregation",{"2":{"434":1}}],["aggregated",{"2":{"18":1,"434":1}}],["age",{"2":{"376":3}}],["against",{"2":{"42":1,"111":1,"154":1,"155":1,"174":1,"325":1,"343":1,"353":1,"358":1,"364":1,"371":1,"394":3,"396":1}}],["again",{"2":{"13":1,"49":1,"155":1,"462":1,"482":1,"484":1,"521":1}}],["apache",{"0":{"459":1,"519":1},"2":{"455":2,"456":2,"457":1,"458":1,"459":2,"519":1}}],["apppasswords",{"2":{"482":1}}],["appearing",{"0":{"300":1}}],["appear",{"2":{"292":1,"475":1}}],["appears",{"2":{"148":1,"151":1,"269":1,"273":1,"291":1,"357":1,"494":1}}],["approach",{"2":{"266":1,"455":1}}],["appropriately",{"2":{"255":1}}],["appropriate",{"2":{"6":1,"71":1,"96":1,"191":1,"230":1,"235":1,"238":1,"241":1,"245":1,"247":1,"249":1,"266":1,"276":1,"315":1,"324":1}}],["app",{"0":{"481":1,"482":1,"483":1},"1":{"482":1,"483":1},"2":{"183":1,"481":4,"482":2,"483":3,"489":1,"492":2,"495":1,"515":2,"517":1,"535":1,"536":4}}],["applicable",{"2":{"295":1,"343":1}}],["applications",{"0":{"320":1},"2":{"209":1,"260":1,"261":1,"308":1,"492":1,"533":1}}],["application",{"0":{"229":1,"242":1,"285":1,"300":1,"492":1,"515":1,"520":1,"521":1},"1":{"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"258":1,"259":1,"260":1,"261":1,"262":1,"263":1,"264":1,"265":1,"266":1},"2":{"14":1,"47":1,"52":1,"79":1,"81":2,"188":1,"230":1,"241":1,"251":1,"252":1,"285":1,"309":1,"317":2,"323":1,"374":1,"403":1,"426":1,"442":2,"455":1,"460":5,"464":1,"465":5,"471":1,"476":1,"481":1,"490":2,"491":5,"492":3,"493":3,"494":1,"495":2,"506":1,"509":2,"510":1,"513":1,"515":2,"519":1,"525":1,"528":1,"530":1,"531":1,"534":1,"535":2,"536":2,"537":3,"540":1,"541":2}}],["appliedretentiondays",{"2":{"346":2,"376":3,"392":2}}],["appliedbyuserid",{"2":{"130":2,"136":1,"215":1,"221":1}}],["appliedat",{"2":{"130":2,"136":2,"173":1,"215":1,"221":1}}],["applied",{"0":{"128":1},"1":{"129":1,"130":1,"131":1},"2":{"130":1,"137":3,"141":1,"159":2,"177":1,"186":3,"204":1,"206":1,"209":2,"213":1,"215":2,"222":1,"223":1,"225":2,"240":1,"242":1,"245":1,"261":1,"269":2,"275":1,"276":1,"280":1,"281":2,"283":1,"284":2,"291":1,"292":1,"299":1,"301":1,"303":1,"305":1,"306":1,"307":3,"308":1,"310":1,"319":1,"320":4,"322":1,"324":1,"360":1,"541":1}}],["applies",{"2":{"116":1,"179":1,"181":1,"217":1,"285":1,"332":1,"352":2,"363":1,"364":1,"365":1,"366":1,"395":1}}],["applyoperator",{"0":{"395":1}}],["applying",{"0":{"160":1,"283":1},"1":{"284":1,"285":1,"286":1},"2":{"144":1,"155":1,"160":1,"167":1,"177":1,"191":1,"240":1,"258":1,"267":1,"306":1,"311":1,"313":1}}],["apply",{"0":{"116":1,"132":1,"153":1,"155":1,"156":1,"167":1,"169":1,"217":1,"241":1},"1":{"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"133":1,"134":1,"135":1,"136":1,"137":1,"154":1,"155":1,"156":1,"218":1,"219":1,"220":1,"221":1,"222":1},"2":{"116":1,"117":1,"134":1,"149":1,"153":1,"154":1,"155":1,"156":1,"160":1,"163":2,"164":3,"175":1,"190":1,"219":1,"222":1,"229":1,"232":1,"233":2,"234":1,"235":2,"236":1,"241":2,"247":2,"248":1,"249":1,"254":1,"263":1,"264":1,"265":1,"284":1,"285":1,"286":1,"289":1,"300":1,"302":1,"303":1,"314":1,"316":1,"324":1,"338":1,"356":1,"365":1,"383":1,"391":1,"527":1,"528":1}}],["apis",{"2":{"472":4}}],["api",{"0":{"2":1,"3":1,"4":1,"5":1,"6":1,"10":1,"12":1,"13":1,"14":1,"18":1,"24":1,"30":1,"32":1,"33":1,"42":1,"44":1,"53":1,"55":1,"58":1,"60":1,"62":1,"71":1,"96":1,"191":1,"237":1,"251":1,"325":1,"449":1,"493":1},"1":{"3":1,"4":1,"5":1,"7":1,"8":1,"9":1,"11":1,"12":1,"13":2,"15":1,"16":1,"17":1,"19":1,"20":1,"21":1,"22":1,"23":1,"25":1,"26":1,"27":1,"28":1,"29":1,"31":1,"32":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"43":1,"45":1,"46":1,"54":1,"56":1,"57":1,"59":1,"61":1,"63":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"72":1,"73":1,"74":1,"75":1,"76":1,"97":1,"98":1,"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"143":1,"192":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"238":1,"239":1,"240":1,"241":1,"242":1,"326":1,"327":1,"328":1,"329":1,"330":1,"331":1,"332":1,"333":1,"334":1,"335":1,"336":1,"337":1,"338":1,"339":1,"340":1,"341":1,"342":1,"343":1,"344":1,"345":1,"346":1,"347":1,"450":1,"451":1,"452":1,"453":1},"2":{"1":2,"2":3,"10":1,"11":1,"12":5,"13":4,"30":4,"31":2,"47":1,"48":1,"49":1,"51":1,"71":1,"72":1,"75":1,"81":1,"96":2,"191":2,"229":1,"238":3,"239":3,"240":1,"241":1,"244":1,"245":1,"247":1,"251":2,"252":2,"257":2,"258":2,"261":1,"263":1,"265":1,"266":2,"309":1,"317":2,"320":1,"325":2,"369":1,"370":2,"398":2,"440":1,"442":1,"446":1,"472":2,"475":1,"489":1,"493":2,"496":1,"518":5,"530":1,"547":2}}],["analyze",{"2":{"247":1}}],["analysis",{"2":{"230":1,"232":1,"263":1,"265":1}}],["annual",{"2":{"181":1}}],["annotated",{"2":{"98":1}}],["another",{"2":{"173":1,"242":1,"533":1}}],["any",{"2":{"79":1,"88":1,"91":1,"95":1,"145":1,"151":2,"152":1,"155":1,"159":1,"172":2,"173":1,"175":1,"188":1,"204":1,"209":1,"274":1,"275":1,"280":1,"285":1,"305":2,"306":2,"307":1,"308":1,"310":1,"322":1,"324":1,"343":1,"353":1,"356":1,"357":1,"358":1,"366":1,"394":2,"422":1,"448":1,"463":1,"467":2,"472":1,"479":1,"484":1,"498":2,"505":1,"518":1,"527":1}}],["an",{"0":{"3":1,"5":1,"7":1,"9":1,"13":1,"34":1,"36":1,"37":1,"38":1,"40":1,"128":1,"166":1,"168":1,"468":1,"481":1,"482":1,"483":1,"504":1,"505":1},"1":{"129":1,"130":1,"131":1,"482":1,"483":1},"2":{"13":1,"42":1,"48":2,"49":1,"51":1,"87":2,"89":1,"93":2,"94":1,"104":1,"114":1,"130":2,"132":1,"142":1,"151":1,"152":2,"161":1,"162":2,"170":1,"172":3,"174":2,"177":2,"181":2,"182":1,"185":1,"188":3,"202":1,"217":1,"223":1,"238":2,"266":1,"273":1,"276":1,"284":2,"286":1,"300":1,"303":1,"305":1,"306":1,"310":1,"311":1,"322":1,"333":1,"336":1,"351":1,"354":1,"359":1,"361":1,"363":1,"365":1,"366":2,"368":2,"369":1,"375":1,"379":1,"386":1,"389":2,"390":1,"393":1,"401":1,"404":3,"407":3,"408":1,"410":1,"412":2,"414":1,"419":2,"426":1,"435":2,"436":1,"442":1,"444":1,"447":1,"448":1,"451":1,"452":1,"456":1,"467":1,"474":1,"479":1,"480":2,"481":2,"486":1,"489":1,"492":3,"494":2,"501":1,"502":2,"503":1,"505":2,"518":2,"519":1,"525":1,"539":1,"542":1,"543":1,"544":1,"545":1}}],["and",{"0":{"78":1,"84":1,"94":1,"151":1,"156":1,"233":1,"250":1,"259":1,"273":1,"309":1,"366":1,"411":1,"422":1,"464":1,"526":1},"1":{"79":1,"80":1,"251":1,"252":1,"260":1,"261":1,"412":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1,"527":1},"2":{"2":2,"6":2,"11":1,"12":1,"13":1,"14":1,"18":1,"24":2,"31":1,"32":1,"33":1,"42":1,"44":2,"47":2,"55":1,"62":1,"71":2,"72":1,"77":1,"78":1,"79":1,"80":3,"82":2,"83":1,"86":2,"87":1,"88":1,"89":1,"90":1,"91":1,"92":2,"93":1,"94":2,"95":2,"96":2,"111":1,"112":1,"116":1,"128":1,"137":1,"144":2,"145":3,"146":1,"148":1,"152":1,"154":1,"159":1,"160":1,"161":2,"164":5,"170":1,"172":1,"173":2,"174":1,"175":1,"176":2,"177":1,"179":2,"180":1,"181":1,"182":1,"183":4,"188":1,"191":2,"204":1,"229":1,"230":1,"232":1,"238":1,"244":1,"245":1,"247":2,"248":2,"255":2,"257":1,"260":1,"261":1,"266":3,"267":2,"268":1,"269":2,"273":1,"276":2,"277":1,"282":1,"284":2,"286":1,"292":1,"296":3,"297":1,"307":2,"309":3,"311":1,"317":3,"324":1,"325":2,"333":2,"338":1,"343":2,"348":2,"349":3,"352":1,"353":1,"356":1,"360":1,"361":1,"363":1,"364":1,"366":1,"367":1,"368":1,"369":1,"370":4,"371":1,"376":2,"377":3,"379":1,"383":1,"386":3,"387":1,"390":1,"391":1,"392":1,"393":2,"396":3,"398":1,"399":1,"400":3,"401":6,"404":2,"406":3,"410":4,"419":1,"422":3,"423":1,"425":1,"426":1,"427":1,"429":1,"430":1,"432":1,"434":3,"436":1,"438":1,"439":1,"440":2,"442":1,"443":2,"446":1,"447":1,"449":1,"453":1,"454":2,"455":3,"457":1,"459":2,"460":1,"461":1,"462":1,"463":2,"464":1,"465":1,"466":1,"468":3,"472":6,"474":2,"475":4,"476":1,"477":3,"478":1,"481":2,"482":2,"483":1,"484":4,"486":1,"487":2,"489":1,"491":1,"493":2,"494":2,"495":2,"499":3,"500":2,"501":2,"502":2,"503":1,"504":1,"505":3,"507":2,"509":2,"510":1,"511":2,"512":1,"513":4,"515":1,"518":1,"519":1,"520":2,"521":1,"522":1,"524":1,"525":5,"527":1,"528":1,"530":1,"533":2,"536":2,"537":2,"539":2,"544":1,"546":1,"547":1,"548":1,"549":2,"550":2}}],["atomic",{"2":{"544":1}}],["atomically",{"2":{"434":2}}],["attributed",{"2":{"309":1,"378":1}}],["attribution",{"0":{"93":1,"309":1},"2":{"173":1}}],["attempts",{"2":{"307":1,"440":1}}],["attempted",{"2":{"206":1,"222":1}}],["attempting",{"2":{"152":1,"204":1,"254":1,"292":1,"544":1}}],["attempt",{"2":{"91":1,"172":1,"276":1,"464":1,"484":1,"488":1,"545":1}}],["attachmenttypes",{"2":{"344":1,"345":1,"376":1}}],["attachment",{"2":{"154":1,"232":1,"263":2,"333":1,"353":1,"359":1,"364":1,"376":1,"394":2,"397":1,"504":1,"505":1}}],["attachments",{"2":{"42":1,"401":1,"439":2,"454":1,"500":1,"501":1,"502":1,"509":1,"511":1,"519":1}}],["attacks",{"2":{"47":1}}],["at",{"2":{"2":1,"42":1,"80":1,"95":1,"109":1,"144":1,"146":1,"154":1,"157":1,"172":1,"185":2,"186":2,"188":1,"227":1,"267":1,"269":1,"271":1,"286":1,"306":2,"319":1,"320":2,"348":1,"374":2,"384":2,"393":1,"398":1,"401":1,"420":1,"421":1,"434":1,"435":1,"436":1,"438":3,"440":1,"450":2,"451":1,"474":2,"475":1,"482":1,"492":1,"493":1,"502":1,"507":1,"511":1,"517":1,"525":1,"526":1,"527":1,"537":1}}],["asamplemasterkey",{"2":{"516":1}}],["asked",{"2":{"482":1}}],["assign",{"2":{"251":1}}],["associations",{"2":{"123":1,"126":1}}],["associated",{"2":{"88":1,"112":1,"436":1,"470":1}}],["async",{"2":{"188":1,"448":1}}],["asynchronous",{"2":{"44":1,"116":1,"449":1}}],["ascending",{"2":{"98":1,"146":1,"193":1,"269":1,"326":1,"375":1,"387":1}}],["asc",{"2":{"73":1}}],["as",{"2":{"2":1,"11":1,"44":1,"47":1,"52":1,"60":1,"83":1,"89":1,"92":1,"96":1,"102":1,"155":1,"164":1,"172":1,"173":2,"175":1,"176":1,"189":1,"191":1,"197":1,"209":1,"251":1,"261":1,"265":1,"266":1,"269":1,"281":1,"299":1,"307":1,"313":1,"330":1,"352":1,"356":1,"368":1,"371":1,"374":1,"396":2,"400":2,"407":2,"410":1,"412":1,"435":1,"436":1,"445":1,"451":1,"454":1,"460":1,"462":1,"468":2,"472":2,"474":1,"475":1,"477":1,"479":1,"480":1,"486":1,"487":2,"492":2,"493":1,"494":2,"496":1,"499":2,"504":1,"509":1,"525":1,"544":1,"547":1}}],["arguments",{"2":{"448":1}}],["around",{"2":{"442":1}}],["arbitrary",{"2":{"363":1}}],["arrives",{"2":{"263":1}}],["arrays",{"2":{"397":1}}],["array",{"0":{"414":1,"415":1},"2":{"130":2,"131":1,"332":1,"384":1,"392":1,"393":1,"407":3,"414":1,"415":1}}],["architecture",{"0":{"183":1,"317":1,"370":1,"431":1},"1":{"432":1,"433":1},"2":{"430":1}}],["archiving",{"2":{"400":2,"403":1,"469":2,"472":1,"477":1,"481":1,"489":2,"492":1,"494":1,"496":1,"522":1}}],["archival",{"2":{"42":1}}],["archivepath",{"2":{"448":3}}],["archiveemail",{"2":{"448":1}}],["archives",{"2":{"427":1,"468":2}}],["archive",{"2":{"6":1,"58":1,"128":1,"163":1,"167":1,"177":1,"213":1,"217":1,"223":1,"238":2,"251":1,"284":1,"289":2,"302":1,"311":1,"409":1,"425":1,"426":1,"429":2,"445":1,"446":1,"448":1,"459":1,"466":1,"467":1,"468":3,"476":1,"477":1,"478":1,"479":1,"484":1,"488":1,"495":1,"496":1,"499":2,"505":1,"515":2,"516":2,"537":2}}],["archivedat",{"2":{"375":1}}],["archivedemail",{"2":{"190":3,"323":2,"379":1}}],["archivedemailservice",{"2":{"188":1,"376":1,"382":1}}],["archived",{"0":{"6":1},"1":{"7":1,"8":1,"9":1},"2":{"6":1,"32":2,"42":1,"53":1,"96":1,"128":1,"129":1,"132":1,"133":1,"138":1,"139":1,"144":1,"146":1,"159":1,"170":1,"183":1,"186":1,"191":1,"213":1,"214":1,"217":1,"218":1,"223":1,"224":1,"229":1,"239":3,"267":1,"283":1,"284":2,"303":1,"306":1,"317":1,"320":1,"324":1,"361":2,"364":1,"365":1,"371":1,"375":1,"376":1,"409":1,"425":1,"448":1,"500":1,"501":3,"503":1,"505":1}}],["archivermodule",{"2":{"398":1}}],["archiver",{"0":{"400":1,"548":1},"2":{"2":1,"30":1,"82":1,"89":1,"378":1,"399":1,"400":2,"402":1,"406":1,"445":1,"472":2,"474":1,"478":1,"491":1,"500":1,"501":1,"502":1,"506":1,"508":1,"509":4,"511":1,"512":1,"513":1,"517":2,"521":1,"522":1,"523":1,"524":1,"525":6,"526":8,"527":10,"538":1,"539":1,"540":2,"542":1,"543":2,"548":1}}],["areas",{"2":{"532":1}}],["area",{"2":{"476":1}}],["are",{"2":{"2":1,"12":1,"30":1,"33":1,"44":1,"48":2,"51":1,"52":2,"71":1,"85":1,"87":1,"93":1,"94":1,"103":1,"107":1,"109":1,"121":1,"130":1,"138":1,"144":1,"145":2,"146":2,"147":1,"149":1,"152":1,"155":3,"170":1,"189":1,"202":1,"204":3,"234":1,"261":1,"269":1,"303":1,"314":1,"336":1,"338":3,"349":1,"353":1,"361":2,"364":2,"368":1,"375":1,"377":2,"378":1,"387":1,"389":1,"394":2,"396":2,"397":1,"398":1,"401":1,"407":1,"408":1,"409":1,"410":4,"419":1,"421":1,"422":1,"423":1,"436":1,"440":2,"449":1,"474":2,"486":1,"501":1,"505":3,"512":1,"516":2,"518":1,"521":3,"524":1,"525":1,"526":1,"535":3,"536":2,"537":2,"541":1,"543":1,"544":1}}],["a",{"0":{"8":1,"26":1,"27":1,"28":1,"29":1,"46":1,"59":1,"61":1,"64":1,"65":1,"66":1,"67":1,"110":1,"132":2,"138":2,"147":1,"150":1,"151":1,"152":1,"159":1,"160":2,"161":2,"162":1,"164":1,"270":1,"274":1,"278":1,"350":1,"356":1,"357":1,"429":1,"479":1,"492":1,"494":1,"499":1,"509":1,"527":1,"547":1},"1":{"133":2,"134":2,"135":2,"136":2,"137":2,"139":2,"140":2,"141":2,"148":1,"149":1,"271":1,"272":1,"273":1,"275":1,"276":1,"277":1,"279":1,"280":1,"281":1,"282":1,"351":1,"352":1,"353":1,"354":1,"355":1,"480":1,"481":1,"482":1,"483":1,"484":1},"2":{"1":1,"11":2,"13":1,"47":2,"48":1,"49":1,"51":4,"60":1,"72":1,"75":1,"79":7,"80":2,"82":1,"83":4,"86":1,"87":3,"88":1,"89":2,"91":3,"93":1,"94":1,"95":1,"96":1,"100":1,"102":1,"103":1,"106":1,"107":1,"112":1,"116":2,"118":1,"123":1,"126":1,"128":1,"132":1,"138":2,"143":3,"144":1,"146":4,"148":2,"151":1,"152":3,"153":3,"155":2,"156":1,"157":3,"160":2,"161":1,"163":5,"164":1,"167":1,"172":2,"173":3,"174":2,"175":3,"177":2,"179":6,"180":4,"181":1,"182":2,"183":1,"186":1,"188":1,"189":1,"190":1,"191":1,"195":1,"197":1,"198":1,"201":1,"204":1,"207":1,"213":1,"215":1,"217":2,"222":1,"225":1,"226":1,"228":2,"238":1,"240":1,"254":1,"266":1,"267":1,"269":3,"271":2,"273":2,"276":3,"277":1,"281":1,"284":1,"285":1,"286":2,"292":1,"299":1,"300":2,"305":2,"306":2,"307":4,"308":1,"309":1,"310":1,"313":1,"320":1,"322":1,"325":1,"328":1,"330":1,"331":1,"335":1,"340":1,"343":2,"348":1,"349":3,"351":2,"352":1,"353":1,"357":2,"358":1,"359":3,"360":3,"363":1,"364":4,"366":1,"368":1,"371":1,"374":1,"376":5,"377":3,"378":1,"382":3,"383":1,"386":1,"388":1,"389":1,"390":1,"391":1,"392":2,"393":1,"394":1,"395":1,"396":3,"397":1,"398":1,"400":3,"401":2,"403":1,"404":3,"406":1,"407":7,"408":6,"409":1,"410":6,"411":1,"412":1,"413":1,"414":1,"415":1,"418":1,"419":6,"420":5,"422":3,"424":1,"425":1,"428":1,"429":3,"434":2,"436":4,"438":1,"440":1,"442":4,"448":2,"449":1,"450":6,"451":4,"452":2,"453":2,"454":1,"455":5,"456":1,"457":1,"459":2,"462":3,"463":4,"464":2,"465":3,"466":2,"467":2,"468":3,"469":3,"472":8,"474":4,"475":1,"476":3,"477":3,"478":1,"479":1,"480":4,"481":2,"482":2,"483":3,"484":1,"485":1,"486":3,"487":2,"488":1,"489":2,"491":3,"492":1,"493":4,"494":5,"495":2,"496":3,"497":1,"498":1,"499":3,"501":2,"502":2,"503":1,"504":4,"505":2,"507":1,"509":1,"510":2,"511":6,"512":1,"514":1,"517":4,"518":3,"522":1,"524":1,"525":2,"526":4,"527":4,"530":1,"532":1,"533":1,"534":2,"535":3,"536":2,"537":1,"539":2,"541":1,"542":1,"543":3,"544":6,"545":2,"546":1,"547":3,"549":1}}],["tls",{"2":{"516":2}}],["txt",{"2":{"459":1}}],["turned",{"2":{"482":1}}],["turning",{"2":{"407":1}}],["tuning",{"0":{"438":1,"439":1}}],["tbd",{"2":{"401":2}}],["t",{"2":{"254":1,"300":1,"307":1,"448":1,"472":1}}],["typical",{"2":{"438":1}}],["typically",{"2":{"232":1,"422":1,"480":1,"535":1}}],["typo",{"2":{"154":1}}],["typeerror",{"2":{"534":1}}],["type=s3",{"2":{"444":1,"446":1}}],["type=local",{"2":{"444":1,"445":1}}],["typescriptimport",{"2":{"448":1}}],["typescriptrepeat",{"2":{"374":1}}],["typescript",{"2":{"317":1,"370":1}}],["types",{"2":{"87":1,"183":4,"232":1,"263":1,"317":4,"359":1,"370":4,"397":1,"455":1,"459":1,"465":1,"492":1}}],["type",{"2":{"73":2,"83":3,"101":1,"104":1,"108":1,"109":1,"113":1,"117":1,"118":1,"119":1,"124":1,"129":1,"133":1,"134":1,"139":1,"185":1,"186":1,"196":1,"199":1,"203":1,"208":1,"214":1,"218":1,"219":1,"224":1,"241":1,"252":1,"319":1,"320":1,"323":10,"329":1,"332":1,"333":1,"337":1,"341":1,"344":1,"346":1,"352":1,"353":1,"364":1,"379":2,"384":1,"386":2,"387":1,"389":1,"390":1,"394":1,"444":1,"445":1,"446":1,"472":1,"487":1,"512":2,"517":6}}],["twice",{"2":{"132":1,"160":1}}],["two",{"2":{"10":1,"44":1,"71":1,"87":1,"395":1,"419":1,"429":1,"431":1,"455":1,"472":1,"474":1,"475":1,"483":2,"493":1,"536":1,"545":1}}],["tiff",{"2":{"459":1}}],["tika",{"0":{"459":1,"461":1,"519":1},"1":{"462":1,"463":1,"464":1},"2":{"455":2,"456":8,"457":1,"458":1,"459":3,"460":1,"463":2,"464":4,"465":1,"519":3}}],["tick",{"2":{"436":2,"440":1}}],["title",{"2":{"282":1}}],["titan",{"2":{"99":1,"105":1,"120":1,"121":1,"130":1,"136":1,"148":1,"179":1}}],["tips",{"0":{"258":1}}],["timing",{"2":{"175":1}}],["timeout",{"2":{"465":1}}],["times",{"2":{"257":1}}],["timestamptz",{"2":{"185":2,"186":1,"319":1,"320":1,"384":2}}],["timestamped",{"2":{"179":1}}],["timestamp",{"2":{"74":1,"79":2,"83":1,"84":2,"136":1,"173":1,"185":2,"186":1,"260":1,"261":1,"319":1,"320":1,"384":2,"389":1}}],["time",{"2":{"2":1,"42":1,"48":1,"50":2,"51":1,"80":1,"83":1,"95":1,"116":1,"294":1,"297":1,"306":1,"361":1,"389":1,"401":1,"435":1,"438":2,"457":1,"462":1,"468":1,"477":1,"484":1,"494":1,"496":1,"499":1,"518":1,"549":1,"550":1}}],["ts",{"2":{"77":1,"81":1,"183":7,"317":5,"370":7,"372":1,"383":1,"384":1,"397":1,"398":1,"431":2,"455":1,"461":1,"465":1}}],["telling",{"2":{"549":1}}],["terminal",{"2":{"527":1}}],["term",{"2":{"505":1}}],["tenant",{"2":{"490":1,"492":1,"495":1}}],["tenants",{"2":{"434":1}}],["temporarily",{"2":{"549":1}}],["temporary",{"2":{"60":1,"255":1}}],["temp",{"2":{"468":3,"487":3,"499":3}}],["technology",{"2":{"442":1}}],["testing",{"2":{"360":1,"391":1}}],["test",{"2":{"266":1,"395":1}}],["textextractor",{"2":{"455":1,"465":1}}],["text",{"2":{"53":1,"119":1,"148":1,"154":2,"175":1,"185":1,"269":1,"319":1,"384":2,"401":1,"439":1,"454":2,"455":2,"456":1,"457":1,"458":1,"459":2,"460":3,"461":1,"462":1,"463":1,"465":2,"476":1,"510":1,"519":1,"525":1,"536":1}}],["treat",{"2":{"494":1}}],["treating",{"2":{"435":1}}],["treated",{"2":{"368":1,"396":2,"412":1}}],["traditional",{"2":{"479":1}}],["transient",{"2":{"440":1}}],["translated",{"2":{"410":1}}],["trash",{"2":{"357":1,"515":1}}],["traceable",{"2":{"379":1}}],["traceability",{"2":{"93":1,"261":1,"309":1,"367":1}}],["track",{"2":{"260":1,"462":1}}],["trails",{"2":{"255":1}}],["trail",{"0":{"176":1,"261":1,"309":1,"367":1,"379":1},"2":{"401":1}}],["troubleshooting",{"0":{"165":1,"298":1,"473":1,"533":1},"1":{"166":1,"167":1,"168":1,"169":1,"299":1,"300":1,"301":1,"302":1,"474":1,"534":1,"535":1,"536":1,"537":1},"2":{"550":1}}],["trustworthiness",{"2":{"505":1}}],["truncated",{"2":{"83":1}}],["true",{"2":{"76":1,"99":1,"109":1,"130":1,"136":1,"185":1,"194":1,"209":1,"307":1,"327":1,"332":1,"376":1,"382":1,"384":1,"392":1,"393":1,"407":2,"418":1,"419":2,"420":1,"446":1,"453":1,"515":1,"518":1}}],["trying",{"2":{"300":1,"474":1}}],["try",{"2":{"49":1,"396":1,"484":1,"521":1}}],["triggered",{"2":{"367":1,"379":1}}],["triggers",{"2":{"249":1,"433":1}}],["trigger",{"0":{"39":1},"2":{"263":1,"264":1,"265":1}}],["taskuid",{"2":{"547":1}}],["tasks",{"2":{"44":1}}],["tab",{"2":{"475":1,"494":1}}],["table",{"0":{"0":1,"146":1,"185":1,"186":1,"269":1,"319":1,"320":1,"349":1},"1":{"1":1},"2":{"80":1,"83":1,"84":1,"85":1,"88":1,"146":2,"147":1,"163":1,"176":1,"183":1,"186":1,"269":2,"270":1,"281":1,"288":1,"300":1,"317":1,"320":1,"322":1,"349":2,"350":1,"370":1,"375":1,"384":1,"434":1,"484":1,"493":1}}],["tar",{"2":{"459":1}}],["targets",{"2":{"353":1}}],["targeting",{"0":{"364":1},"2":{"332":1}}],["targetid",{"2":{"74":1,"190":1}}],["targeted",{"2":{"305":1}}],["target",{"0":{"239":1},"2":{"83":2,"94":1,"190":1,"261":1,"323":5,"364":1,"379":2,"386":1}}],["targettype",{"2":{"74":1,"190":1}}],["takeout",{"2":{"486":1}}],["taken",{"2":{"360":1,"492":1}}],["take",{"2":{"307":1,"332":1,"346":1,"363":1,"420":1,"468":1,"477":1,"484":1,"496":1,"499":1,"505":1,"537":1,"544":1,"549":1}}],["takes",{"2":{"305":1,"322":1}}],["tagging",{"0":{"233":1,"249":1},"2":{"230":1}}],["tagged",{"2":{"209":1,"307":1}}],["tag",{"2":{"230":1,"232":1,"233":1,"236":1}}],["tax",{"0":{"181":1},"2":{"181":1,"296":1}}],["tampering",{"2":{"276":1,"308":1,"504":1}}],["tamper",{"2":{"89":1,"400":1}}],["tampered",{"2":{"80":1,"86":1,"87":3,"95":1,"501":1}}],["thunderbird",{"2":{"486":1,"488":1}}],["than",{"0":{"416":2,"417":2},"2":{"257":1,"258":1,"368":1,"416":2,"417":2,"434":1,"457":1,"518":1}}],["that",{"2":{"2":2,"51":1,"79":2,"82":1,"83":2,"86":1,"87":7,"89":1,"93":1,"121":1,"126":1,"145":1,"151":1,"152":1,"153":1,"156":1,"157":1,"159":1,"161":1,"170":1,"174":3,"179":1,"183":1,"190":2,"239":1,"276":1,"282":1,"286":1,"292":1,"294":1,"303":1,"305":2,"315":1,"316":1,"346":1,"358":1,"360":3,"361":2,"363":1,"365":1,"366":2,"367":1,"371":2,"376":2,"377":1,"379":2,"382":3,"383":1,"391":1,"392":1,"407":1,"408":1,"409":1,"410":2,"418":1,"419":2,"421":1,"422":2,"429":1,"434":1,"436":1,"437":1,"442":1,"450":2,"451":1,"452":1,"453":1,"455":2,"464":1,"469":2,"479":1,"480":1,"481":1,"486":1,"489":2,"494":2,"495":1,"501":1,"503":4,"504":2,"505":3,"518":1,"525":1,"526":4,"533":1,"535":1,"536":2,"537":1,"541":1,"543":1,"544":1,"546":1,"547":1,"550":1}}],["throwing",{"2":{"452":1}}],["throws",{"2":{"188":1,"389":1,"451":1}}],["throughout",{"2":{"81":1}}],["through",{"2":{"81":1,"85":1,"91":1,"95":1,"155":1,"175":1,"245":1,"266":1,"283":1,"375":1,"387":1,"479":1,"485":1,"487":1,"506":1,"525":1,"526":1}}],["three",{"2":{"172":1,"471":1,"472":1,"495":1}}],["thousands",{"2":{"153":1,"434":1}}],["those",{"2":{"111":1,"151":1,"152":1,"173":1,"179":1,"365":1}}],["this",{"2":{"30":1,"47":1,"48":1,"49":1,"77":1,"79":1,"84":1,"86":1,"87":5,"88":1,"91":1,"92":1,"93":1,"94":1,"106":1,"111":1,"114":1,"121":2,"126":1,"141":1,"146":1,"148":1,"151":1,"152":1,"154":1,"155":1,"156":1,"157":3,"161":1,"167":2,"168":2,"172":2,"174":1,"182":1,"188":1,"199":1,"201":1,"209":1,"225":1,"229":1,"230":1,"240":1,"244":1,"261":1,"266":1,"268":1,"269":1,"271":1,"276":2,"281":1,"282":1,"301":1,"307":1,"309":1,"319":1,"335":1,"340":1,"343":1,"349":1,"352":2,"366":1,"376":1,"377":1,"378":1,"379":1,"382":2,"383":1,"392":1,"399":1,"406":1,"407":2,"410":2,"412":3,"416":1,"419":2,"421":1,"422":1,"424":1,"425":1,"426":1,"427":1,"428":1,"429":2,"430":1,"434":1,"435":1,"438":1,"439":1,"440":1,"442":1,"445":1,"448":2,"454":1,"455":1,"463":1,"464":1,"466":1,"468":1,"469":2,"472":4,"474":2,"475":1,"476":2,"477":1,"478":1,"479":2,"480":3,"481":1,"482":1,"483":1,"484":1,"485":1,"487":1,"488":1,"489":2,"492":3,"493":1,"494":3,"495":2,"496":1,"497":1,"499":1,"500":1,"501":1,"502":1,"503":2,"504":4,"506":2,"509":4,"511":1,"512":1,"513":1,"515":1,"518":1,"520":1,"524":2,"525":2,"526":4,"527":4,"530":1,"531":1,"532":2,"533":1,"534":1,"535":1,"536":2,"537":2,"538":1,"540":1,"541":1,"542":1,"543":1,"544":3,"545":1,"547":3,"549":1}}],["they",{"2":{"80":2,"145":1,"151":1,"152":1,"174":1,"245":1,"308":1,"360":1,"361":1,"410":1,"419":1,"425":1,"475":1,"481":1,"501":1}}],["these",{"2":{"48":1,"52":2,"154":1,"410":1,"422":1,"474":1,"488":1,"501":2,"513":1,"516":1,"525":2,"528":1,"535":1,"537":1,"540":1}}],["there",{"2":{"44":1,"87":1,"155":1,"521":1}}],["their",{"2":{"24":1,"151":1,"174":1,"244":1,"281":1,"308":1,"360":1,"365":1,"371":1,"469":1,"475":1,"477":1,"489":1,"493":1,"500":1,"539":1}}],["then",{"2":{"11":1,"12":1,"164":1,"419":1,"463":1,"468":1,"477":2,"486":1,"499":1,"526":1,"546":1}}],["theme",{"0":{"531":1},"2":{"528":1,"531":3}}],["themselves",{"2":{"152":1}}],["them",{"2":{"2":1,"96":1,"144":1,"145":1,"152":1,"180":1,"191":1,"371":1,"429":1,"436":1,"440":1,"477":1,"480":1,"501":1,"527":1,"537":1,"543":1}}],["the",{"0":{"156":1,"172":1,"444":1,"447":1,"461":1,"467":1,"498":1,"502":1,"508":1,"520":1,"521":1,"549":1},"1":{"448":1,"462":1,"463":1,"464":1,"503":1,"504":1},"2":{"2":4,"6":1,"10":1,"11":1,"12":1,"13":4,"18":1,"30":2,"31":2,"32":1,"33":1,"42":2,"47":3,"48":4,"49":2,"50":5,"51":11,"52":1,"55":2,"58":1,"60":2,"71":2,"73":10,"75":2,"77":4,"78":2,"79":14,"80":19,"81":7,"82":2,"83":15,"84":3,"85":2,"86":6,"87":14,"88":5,"89":3,"90":2,"91":3,"92":1,"93":3,"94":4,"95":7,"96":3,"98":1,"101":2,"102":1,"103":1,"104":1,"106":1,"107":3,"108":2,"111":3,"113":2,"114":3,"116":4,"117":2,"121":4,"122":2,"123":2,"124":2,"126":3,"129":2,"131":1,"132":3,"133":2,"134":2,"136":2,"137":1,"138":2,"139":4,"142":1,"144":1,"145":2,"146":11,"147":4,"148":3,"149":2,"150":4,"151":4,"152":7,"153":1,"154":3,"155":8,"156":2,"157":4,"159":2,"160":3,"161":6,"162":6,"164":17,"166":3,"167":7,"168":2,"169":5,"170":2,"172":6,"173":1,"174":6,"175":5,"176":5,"177":5,"179":3,"180":1,"181":2,"183":1,"185":2,"186":4,"188":3,"189":2,"190":1,"191":3,"196":2,"197":1,"198":2,"201":1,"202":2,"203":2,"204":3,"206":2,"208":2,"209":3,"211":3,"213":1,"214":2,"215":1,"217":2,"218":2,"219":2,"223":1,"224":2,"227":2,"229":1,"238":2,"239":1,"240":2,"241":2,"242":2,"245":1,"247":1,"249":1,"252":1,"254":2,"257":1,"261":3,"266":3,"267":1,"269":11,"270":3,"271":3,"273":3,"274":3,"275":1,"276":3,"277":5,"278":3,"279":1,"280":3,"281":5,"282":3,"283":1,"284":4,"285":8,"286":2,"295":2,"297":1,"299":3,"300":2,"301":2,"302":1,"303":2,"305":2,"307":7,"309":1,"310":3,"311":4,"317":2,"319":2,"320":7,"322":3,"325":4,"329":2,"330":1,"331":2,"332":3,"335":1,"336":2,"337":2,"338":3,"339":2,"341":2,"342":1,"343":1,"346":3,"347":1,"348":1,"349":10,"350":5,"351":3,"352":4,"353":6,"355":1,"356":5,"357":3,"358":1,"359":2,"360":6,"361":2,"363":5,"365":1,"366":3,"367":5,"368":7,"369":5,"370":3,"371":3,"374":5,"375":4,"376":17,"377":9,"378":2,"379":5,"381":2,"382":4,"383":4,"384":2,"385":2,"386":3,"387":3,"389":4,"390":2,"391":4,"392":12,"393":1,"394":6,"396":2,"397":2,"398":7,"399":1,"401":4,"403":1,"404":4,"407":7,"408":7,"409":2,"410":8,"411":1,"412":1,"413":2,"414":3,"415":3,"416":2,"417":2,"418":1,"419":2,"420":2,"421":5,"422":1,"423":2,"425":3,"426":1,"428":1,"429":3,"430":3,"431":3,"433":2,"434":8,"435":3,"436":8,"438":1,"439":2,"440":4,"442":6,"443":4,"444":3,"445":5,"446":8,"447":4,"448":5,"449":2,"450":5,"451":6,"452":6,"453":4,"454":1,"455":4,"456":7,"457":4,"458":2,"459":2,"460":1,"461":1,"462":9,"463":5,"464":6,"465":2,"467":4,"468":20,"469":4,"470":1,"471":7,"472":12,"474":21,"475":16,"476":13,"477":13,"478":1,"479":1,"480":14,"481":2,"482":5,"483":5,"484":16,"485":1,"486":1,"487":12,"488":5,"489":4,"490":1,"491":9,"492":11,"493":17,"494":9,"495":14,"496":12,"498":4,"499":20,"500":3,"501":9,"502":2,"503":10,"504":6,"505":8,"506":2,"508":1,"509":7,"510":4,"511":8,"512":3,"513":5,"515":12,"516":19,"517":8,"518":8,"519":2,"520":8,"521":9,"522":1,"523":7,"524":1,"525":12,"526":13,"527":13,"528":2,"530":7,"531":4,"534":5,"535":6,"536":8,"537":5,"538":1,"539":3,"540":7,"541":3,"542":2,"543":3,"544":5,"545":8,"546":3,"547":13,"548":4,"549":12,"550":7}}],["top",{"2":{"474":1,"492":1,"525":1}}],["toggle",{"2":{"352":2,"355":1,"382":1}}],["together",{"2":{"182":1,"516":1}}],["toast",{"2":{"162":1}}],["tolerance",{"2":{"154":1}}],["total",{"2":{"74":1,"434":2,"438":1}}],["toolkit",{"2":{"455":1}}],["tool",{"2":{"343":1,"358":1,"360":1,"505":1}}],["tools",{"2":{"144":1,"267":1,"348":1}}],["too",{"2":{"48":1,"49":1}}],["tokens",{"2":{"31":1,"511":1,"518":2}}],["token",{"2":{"11":1,"13":1,"398":1,"534":1}}],["to",{"0":{"128":1,"132":1,"160":1,"164":1,"173":1,"217":1,"283":1,"429":1,"447":1,"469":1,"479":1,"482":1,"483":1,"487":1,"489":1,"505":1,"527":2,"545":1},"1":{"129":1,"130":1,"131":1,"133":1,"134":1,"135":1,"136":1,"137":1,"218":1,"219":1,"220":1,"221":1,"222":1,"284":1,"285":1,"286":1,"448":1,"470":1,"471":1,"472":1,"473":1,"474":1,"475":1,"476":1,"477":1,"480":1,"481":1,"482":1,"483":1,"484":1,"490":1,"491":1,"492":1,"493":1,"494":1,"495":1,"496":1},"2":{"1":3,"2":2,"13":1,"30":1,"31":2,"33":1,"47":1,"48":1,"50":2,"51":2,"52":1,"60":1,"71":1,"73":7,"75":1,"79":4,"80":2,"81":1,"82":2,"84":1,"85":1,"86":3,"89":2,"90":2,"91":2,"92":1,"93":2,"94":2,"95":1,"96":2,"101":1,"104":2,"108":1,"109":3,"111":1,"113":1,"116":1,"117":1,"119":1,"121":3,"124":1,"128":1,"132":2,"134":1,"137":1,"138":1,"139":1,"141":1,"142":1,"145":1,"146":2,"147":1,"148":1,"149":2,"150":1,"151":1,"152":3,"154":1,"155":4,"159":1,"161":1,"164":4,"167":1,"169":1,"170":2,"172":1,"173":1,"175":2,"176":1,"177":1,"179":1,"180":1,"181":1,"182":3,"185":2,"186":2,"190":1,"191":2,"194":1,"196":1,"199":1,"203":1,"204":2,"206":2,"208":1,"209":2,"213":1,"217":1,"219":1,"222":1,"225":1,"229":3,"230":1,"232":2,"233":4,"235":2,"236":2,"238":1,"239":1,"241":1,"244":2,"245":3,"249":2,"254":1,"257":1,"258":4,"264":1,"265":1,"266":2,"267":1,"268":1,"269":3,"270":1,"271":1,"272":1,"274":1,"275":2,"276":2,"277":1,"278":1,"280":1,"281":2,"282":2,"283":1,"284":1,"286":1,"291":1,"292":3,"297":1,"299":1,"300":2,"301":2,"302":2,"303":3,"306":1,"307":3,"308":2,"309":1,"313":3,"314":3,"316":2,"319":2,"320":3,"324":1,"325":1,"329":1,"332":6,"337":1,"338":3,"341":1,"346":1,"349":1,"350":1,"351":1,"352":2,"353":3,"356":1,"357":1,"359":3,"361":1,"363":1,"364":1,"365":3,"366":1,"367":1,"368":1,"369":1,"374":2,"375":1,"376":2,"377":3,"378":2,"379":1,"380":1,"383":1,"384":1,"387":2,"389":1,"391":1,"393":1,"396":1,"397":2,"399":1,"400":1,"401":5,"402":1,"403":7,"404":3,"406":2,"407":5,"408":6,"410":3,"412":2,"413":2,"414":1,"416":1,"417":1,"419":7,"421":2,"422":6,"423":2,"424":1,"425":3,"426":1,"428":2,"429":4,"434":1,"435":1,"436":1,"438":1,"439":1,"440":1,"442":4,"443":1,"445":1,"446":3,"447":1,"448":3,"450":1,"451":1,"452":1,"453":1,"455":1,"456":3,"457":1,"458":1,"459":3,"460":1,"461":1,"462":1,"463":2,"464":2,"465":1,"466":1,"467":4,"468":3,"469":2,"470":1,"472":6,"474":11,"475":5,"476":4,"477":4,"478":4,"479":1,"480":6,"481":5,"482":2,"483":4,"484":4,"486":5,"487":4,"488":2,"489":3,"491":1,"492":3,"493":2,"494":4,"495":4,"496":6,"497":1,"498":3,"499":3,"500":1,"501":2,"504":3,"505":3,"508":1,"509":2,"510":2,"511":2,"512":3,"513":5,"515":5,"516":2,"517":1,"518":1,"519":1,"521":3,"522":5,"523":2,"524":4,"525":3,"526":3,"527":10,"528":2,"532":2,"534":1,"535":2,"536":4,"537":2,"538":1,"540":1,"541":2,"542":1,"543":2,"544":3,"545":9,"547":3,"549":5,"550":2}}],["glance",{"2":{"502":1}}],["global",{"0":{"426":1},"2":{"376":1,"396":1,"490":1,"528":1}}],["gz",{"2":{"459":1}}],["git",{"2":{"507":1,"508":1,"523":1}}],["github",{"2":{"404":1,"508":1,"539":1}}],["give",{"2":{"425":1,"472":1,"476":1,"480":1,"482":1,"492":1,"495":1,"526":1}}],["gives",{"2":{"310":1}}],["given",{"2":{"111":1,"114":1,"122":1,"123":1,"206":1,"211":1,"339":1,"342":1,"383":1,"391":1}}],["gmail",{"0":{"482":1},"2":{"400":1,"472":1,"475":1,"480":1,"481":1,"486":1,"488":2}}],["greek",{"2":{"530":1}}],["green",{"0":{"291":1},"2":{"269":1,"273":1,"493":1,"503":1}}],["greater",{"0":{"417":2},"2":{"417":2}}],["grouped",{"2":{"364":1}}],["group",{"0":{"393":1},"2":{"333":1,"349":1,"353":1,"392":1,"393":1,"397":1}}],["groups",{"2":{"303":1}}],["graph",{"2":{"489":1,"493":1,"496":2}}],["grained",{"2":{"410":1}}],["granularly",{"2":{"422":1}}],["granular",{"2":{"401":1,"406":1}}],["granted",{"2":{"407":1,"410":1,"422":1}}],["grants",{"2":{"185":1,"408":1,"419":1,"424":1,"426":1,"427":1,"429":2,"469":1,"481":1,"489":1}}],["grant",{"0":{"475":1,"493":1},"2":{"151":1,"412":1,"414":1,"418":1,"419":3,"428":1,"472":1,"493":3}}],["granting",{"2":{"146":1,"491":1}}],["gray",{"0":{"292":1},"2":{"146":1,"269":1,"300":1}}],["grade",{"2":{"89":1,"170":1,"303":1,"361":1}}],["gracefully",{"2":{"51":1,"245":1}}],["guessing",{"2":{"535":1}}],["guarantees",{"2":{"442":1}}],["guard",{"0":{"188":1,"382":1},"2":{"183":1,"188":1,"376":1,"382":2}}],["guards",{"2":{"183":1,"317":1,"370":1,"395":1}}],["guidelines",{"2":{"467":1,"498":1}}],["guide",{"0":{"144":1,"229":1,"267":1,"480":1,"506":1},"1":{"145":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"230":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"258":1,"259":1,"260":1,"261":1,"262":1,"263":1,"264":1,"265":1,"266":1,"268":1,"269":1,"270":1,"271":1,"272":1,"273":1,"274":1,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1,"283":1,"284":1,"285":1,"286":1,"287":1,"288":1,"289":1,"290":1,"291":1,"292":1,"293":1,"294":1,"295":1,"296":1,"297":1,"298":1,"299":1,"300":1,"301":1,"302":1,"507":1,"508":1,"509":1,"510":1,"511":1,"512":1,"513":1,"514":1,"515":1,"516":1,"517":1,"518":1,"519":1,"520":1,"521":1,"522":1,"523":1,"524":1,"525":1,"526":1,"527":1},"2":{"31":1,"229":1,"399":1,"402":2,"406":1,"469":1,"479":1,"485":1,"489":1,"500":1,"506":1,"533":1,"538":1,"542":1,"550":1}}],["guides",{"0":{"1":1},"2":{"403":1,"478":1}}],["going",{"2":{"527":1}}],["go",{"2":{"468":1,"472":1,"474":1,"475":2,"476":1,"480":1,"482":1,"483":1,"492":1,"495":2,"499":1}}],["governed",{"2":{"363":1}}],["governance",{"2":{"361":1}}],["governingrule",{"2":{"376":1,"379":1}}],["governing",{"2":{"305":1,"367":1}}],["govern",{"2":{"145":1,"269":1,"292":1}}],["gobd",{"0":{"176":1},"2":{"89":1,"121":1,"155":1,"176":1}}],["googleapis",{"2":{"475":2}}],["google",{"0":{"469":1,"472":1},"1":{"470":1,"471":1,"472":1,"473":1,"474":1,"475":1,"476":1,"477":1},"2":{"1":1,"33":1,"400":1,"401":1,"403":1,"444":1,"469":2,"470":2,"471":2,"472":2,"474":2,"475":5,"476":3,"477":1,"478":1,"482":2,"486":1,"522":1}}],["g",{"2":{"73":1,"80":1,"119":1,"164":1,"173":1,"236":1,"296":1,"313":1,"315":1,"344":1,"359":2,"376":2,"377":1,"394":1,"442":1,"444":1,"450":1,"463":1,"464":1,"468":1,"472":2,"476":2,"487":1,"495":1,"499":1,"509":1,"515":1,"517":1,"535":1}}],["gt",{"2":{"12":1,"13":1,"333":1,"354":1,"450":1,"451":1,"452":1,"453":1,"472":3,"474":2,"475":2,"492":2}}],["german",{"2":{"89":1,"530":1}}],["general",{"2":{"315":1,"457":1,"486":1}}],["generation",{"2":{"79":1}}],["generating",{"2":{"79":1}}],["generated",{"2":{"185":1,"319":1,"384":1,"471":1,"476":1,"483":1,"491":1,"502":1,"526":1}}],["generate",{"0":{"3":1},"2":{"2":1,"13":1,"190":1,"238":1,"323":1,"472":1,"474":1,"481":1,"482":1,"511":2}}],["generic",{"0":{"479":1},"1":{"480":1,"481":1,"482":1,"483":1,"484":1},"2":{"1":1,"400":1,"403":1,"478":1,"480":1,"522":1}}],["getmeili",{"2":{"545":2}}],["getpolicybyid",{"0":{"388":1}}],["getpolicies",{"0":{"387":1}}],["getting",{"0":{"244":1,"266":1}}],["gettime",{"2":{"79":1}}],["get",{"0":{"8":1,"19":1,"20":1,"21":1,"22":1,"23":1,"27":1,"36":1,"46":1,"56":1,"65":1,"68":1,"72":1,"100":1,"128":1,"195":1,"213":1,"328":1,"399":1,"451":1},"1":{"73":1,"74":1,"101":1,"102":1,"129":1,"130":1,"131":1,"196":1,"197":1,"214":1,"215":1,"216":1,"329":1,"330":1,"400":1,"401":1,"402":1,"403":1,"404":1},"2":{"1":1,"55":1,"72":2,"98":2,"100":2,"101":1,"128":2,"193":2,"195":2,"196":1,"213":2,"239":3,"240":1,"242":1,"244":1,"326":2,"328":2,"329":1,"399":1,"402":1,"475":1,"477":1,"478":1,"496":1}}]],"serializationVersion":2}';export{e as default}; diff --git a/assets/chunks/@localSearchIndexroot.DlbI2vL1.js b/assets/chunks/@localSearchIndexroot.DlbI2vL1.js new file mode 100644 index 0000000..caaf41d --- /dev/null +++ b/assets/chunks/@localSearchIndexroot.DlbI2vL1.js @@ -0,0 +1 @@ +const e='{"documentCount":565,"nextId":565,"documentIds":{"0":"/SUMMARY.html#table-of-contents","1":"/SUMMARY.html#user-guides","2":"/api/api-keys.html#api-keys","3":"/api/api-keys.html#generate-an-api-key","4":"/api/api-keys.html#list-api-keys","5":"/api/api-keys.html#delete-an-api-key","6":"/api/archived-email.html#archived-email-api","7":"/api/archived-email.html#list-emails-for-an-ingestion-source","8":"/api/archived-email.html#get-a-single-email","9":"/api/archived-email.html#delete-an-email","10":"/api/auth.html#auth-api","11":"/api/auth.html#setup","12":"/api/auth.html#login","13":"/api/auth.html#check-setup-status","14":"/api/authentication.html#api-authentication","15":"/api/authentication.html#method-1-jwt-user-login","16":"/api/authentication.html#method-2-api-key","17":"/api/authentication.html#creating-an-api-key","18":"/api/dashboard.html#dashboard-api","19":"/api/dashboard.html#get-stats","20":"/api/dashboard.html#get-ingestion-history","21":"/api/dashboard.html#get-ingestion-source-summaries","22":"/api/dashboard.html#get-recent-syncs","23":"/api/dashboard.html#get-indexed-email-insights","24":"/api/iam.html#iam-api","25":"/api/iam.html#list-all-roles","26":"/api/iam.html#create-a-role","27":"/api/iam.html#get-a-role","28":"/api/iam.html#update-a-role","29":"/api/iam.html#delete-a-role","30":"/api/#api-overview","31":"/api/#authentication","32":"/api/#api-services","33":"/api/ingestion.html#ingestion-api","34":"/api/ingestion.html#create-an-ingestion-source","35":"/api/ingestion.html#list-ingestion-sources","36":"/api/ingestion.html#get-an-ingestion-source","37":"/api/ingestion.html#update-an-ingestion-source","38":"/api/ingestion.html#delete-an-ingestion-source","39":"/api/ingestion.html#trigger-initial-import","40":"/api/ingestion.html#pause-an-ingestion-source","41":"/api/ingestion.html#force-sync","42":"/api/ingestion.html#unmerge-an-ingestion-source","43":"/api/integrity.html#integrity-check-api","44":"/api/integrity.html#check-email-integrity","45":"/api/jobs.html#jobs-api","46":"/api/jobs.html#list-all-queues","47":"/api/jobs.html#get-jobs-in-a-queue","48":"/api/rate-limiting.html#rate-limiting","49":"/api/rate-limiting.html#how-it-works","50":"/api/rate-limiting.html#response-body","51":"/api/rate-limiting.html#configuration","52":"/api/rate-limiting.html#handling-rate-limits","53":"/api/rate-limiting.html#excluded-endpoints","54":"/api/search.html#search-api","55":"/api/search.html#search-emails","56":"/api/settings.html#settings-api","57":"/api/settings.html#get-system-settings","58":"/api/settings.html#update-system-settings","59":"/api/storage.html#storage-api","60":"/api/storage.html#download-a-file","61":"/api/upload.html#upload-api","62":"/api/upload.html#upload-a-file","63":"/api/users.html#users-api","64":"/api/users.html#list-all-users","65":"/api/users.html#create-a-user","66":"/api/users.html#get-a-user","67":"/api/users.html#update-a-user","68":"/api/users.html#delete-a-user","69":"/api/users.html#get-current-user-profile","70":"/api/users.html#update-current-user-profile","71":"/api/users.html#update-password","72":"/enterprise/audit-log/api.html#audit-log-api-endpoints","73":"/enterprise/audit-log/api.html#get-audit-logs","74":"/enterprise/audit-log/api.html#query-parameters","75":"/enterprise/audit-log/api.html#response-body","76":"/enterprise/audit-log/api.html#verify-audit-log-integrity","77":"/enterprise/audit-log/api.html#response-body-1","78":"/enterprise/audit-log/audit-service.html#audit-log-backend-implementation","79":"/enterprise/audit-log/audit-service.html#hashing-and-verification-logic","80":"/enterprise/audit-log/audit-service.html#hash-calculation","81":"/enterprise/audit-log/audit-service.html#verification-process","82":"/enterprise/audit-log/audit-service.html#service-integration","83":"/enterprise/audit-log/guide.html#audit-log-user-interface","84":"/enterprise/audit-log/guide.html#viewing-audit-logs","85":"/enterprise/audit-log/guide.html#filtering-and-sorting","86":"/enterprise/audit-log/guide.html#pagination","87":"/enterprise/audit-log/guide.html#verifying-log-integrity","88":"/enterprise/audit-log/guide.html#verification-responses","89":"/enterprise/audit-log/guide.html#viewing-log-details","90":"/enterprise/audit-log/#audit-log","91":"/enterprise/audit-log/#core-principles","92":"/enterprise/audit-log/#_1-immutability","93":"/enterprise/audit-log/#_2-completeness","94":"/enterprise/audit-log/#_3-attribution","95":"/enterprise/audit-log/#_4-clarity-and-detail","96":"/enterprise/audit-log/#_5-verifiability","97":"/enterprise/legal-holds/api.html#legal-holds-api-endpoints","98":"/enterprise/legal-holds/api.html#hold-management-endpoints","99":"/enterprise/legal-holds/api.html#list-all-holds","100":"/enterprise/legal-holds/api.html#response-body","101":"/enterprise/legal-holds/api.html#get-hold-by-id","102":"/enterprise/legal-holds/api.html#path-parameters","103":"/enterprise/legal-holds/api.html#response","104":"/enterprise/legal-holds/api.html#create-hold","105":"/enterprise/legal-holds/api.html#request-body","106":"/enterprise/legal-holds/api.html#example-request","107":"/enterprise/legal-holds/api.html#response-1","108":"/enterprise/legal-holds/api.html#update-hold","109":"/enterprise/legal-holds/api.html#path-parameters-1","110":"/enterprise/legal-holds/api.html#request-body-1","111":"/enterprise/legal-holds/api.html#example-—-deactivate-a-hold","112":"/enterprise/legal-holds/api.html#response-2","113":"/enterprise/legal-holds/api.html#delete-hold","114":"/enterprise/legal-holds/api.html#path-parameters-2","115":"/enterprise/legal-holds/api.html#response-3","116":"/enterprise/legal-holds/api.html#bulk-operations","117":"/enterprise/legal-holds/api.html#bulk-apply-hold-via-search-query","118":"/enterprise/legal-holds/api.html#path-parameters-3","119":"/enterprise/legal-holds/api.html#request-body-2","120":"/enterprise/legal-holds/api.html#searchquery-object","121":"/enterprise/legal-holds/api.html#example-request-1","122":"/enterprise/legal-holds/api.html#response-body-1","123":"/enterprise/legal-holds/api.html#response-codes","124":"/enterprise/legal-holds/api.html#release-all-emails-from-hold","125":"/enterprise/legal-holds/api.html#path-parameters-4","126":"/enterprise/legal-holds/api.html#response-body-2","127":"/enterprise/legal-holds/api.html#response-codes-1","128":"/enterprise/legal-holds/api.html#per-email-hold-endpoints","129":"/enterprise/legal-holds/api.html#get-holds-applied-to-an-email","130":"/enterprise/legal-holds/api.html#path-parameters-5","131":"/enterprise/legal-holds/api.html#response-body-3","132":"/enterprise/legal-holds/api.html#response-codes-2","133":"/enterprise/legal-holds/api.html#apply-a-hold-to-a-specific-email","134":"/enterprise/legal-holds/api.html#path-parameters-6","135":"/enterprise/legal-holds/api.html#request-body-3","136":"/enterprise/legal-holds/api.html#example-request-2","137":"/enterprise/legal-holds/api.html#response-body-4","138":"/enterprise/legal-holds/api.html#response-codes-3","139":"/enterprise/legal-holds/api.html#remove-a-hold-from-a-specific-email","140":"/enterprise/legal-holds/api.html#path-parameters-7","141":"/enterprise/legal-holds/api.html#response-body-5","142":"/enterprise/legal-holds/api.html#response-codes-4","143":"/enterprise/legal-holds/api.html#error-responses","144":"/enterprise/legal-holds/api.html#validation-constraints","145":"/enterprise/legal-holds/guide.html#legal-holds-user-interface-guide","146":"/enterprise/legal-holds/guide.html#overview","147":"/enterprise/legal-holds/guide.html#holds-table","148":"/enterprise/legal-holds/guide.html#creating-a-hold","149":"/enterprise/legal-holds/guide.html#form-fields","150":"/enterprise/legal-holds/guide.html#after-creation","151":"/enterprise/legal-holds/guide.html#editing-a-hold","152":"/enterprise/legal-holds/guide.html#activating-and-deactivating-a-hold","153":"/enterprise/legal-holds/guide.html#deleting-a-hold","154":"/enterprise/legal-holds/guide.html#bulk-apply","155":"/enterprise/legal-holds/guide.html#search-fields","156":"/enterprise/legal-holds/guide.html#what-happens-during-bulk-apply","157":"/enterprise/legal-holds/guide.html#bulk-apply-and-the-audit-log","158":"/enterprise/legal-holds/guide.html#release-all-emails","159":"/enterprise/legal-holds/guide.html#per-email-hold-controls","160":"/enterprise/legal-holds/guide.html#viewing-holds-on-a-specific-email","161":"/enterprise/legal-holds/guide.html#applying-a-hold-to-a-specific-email","162":"/enterprise/legal-holds/guide.html#removing-a-hold-from-a-specific-email","163":"/enterprise/legal-holds/guide.html#delete-button-behaviour-under-a-hold","164":"/enterprise/legal-holds/guide.html#permissions-reference","165":"/enterprise/legal-holds/guide.html#workflow-responding-to-a-litigation-notice","166":"/enterprise/legal-holds/guide.html#troubleshooting","167":"/enterprise/legal-holds/guide.html#cannot-delete-hold-—-cannot-delete-an-active-legal-hold","168":"/enterprise/legal-holds/guide.html#bulk-apply-returns-0-emails","169":"/enterprise/legal-holds/guide.html#delete-email-returns-an-error-instead-of-deleting","170":"/enterprise/legal-holds/guide.html#hold-emails-count-shows-0-after-bulk-apply","171":"/enterprise/legal-holds/#legal-holds","172":"/enterprise/legal-holds/#core-principles","173":"/enterprise/legal-holds/#_1-absolute-immunity-—-highest-precedence-in-the-lifecycle-pipeline","174":"/enterprise/legal-holds/#_2-many-to-many-relationship","175":"/enterprise/legal-holds/#_3-active-inactive-state-management","176":"/enterprise/legal-holds/#_4-bulk-preservation-via-search-queries","177":"/enterprise/legal-holds/#_5-gobd-audit-trail","178":"/enterprise/legal-holds/#feature-requirements","179":"/enterprise/legal-holds/#use-cases","180":"/enterprise/legal-holds/#active-litigation-hold","181":"/enterprise/legal-holds/#regulatory-investigation","182":"/enterprise/legal-holds/#tax-audit","183":"/enterprise/legal-holds/#ediscovery-case-management","184":"/enterprise/legal-holds/#architecture-overview","185":"/enterprise/legal-holds/#data-model","186":"/enterprise/legal-holds/#legal-holds-table","187":"/enterprise/legal-holds/#email-legal-holds-join-table","188":"/enterprise/legal-holds/#integration-points","189":"/enterprise/legal-holds/#retentionhook-deletion-guard","190":"/enterprise/legal-holds/#lifecycle-worker","191":"/enterprise/legal-holds/#audit-log","192":"/enterprise/retention-labels/api.html#retention-labels-api-endpoints","193":"/enterprise/retention-labels/api.html#label-management-endpoints","194":"/enterprise/retention-labels/api.html#list-all-labels","195":"/enterprise/retention-labels/api.html#response-body","196":"/enterprise/retention-labels/api.html#get-label-by-id","197":"/enterprise/retention-labels/api.html#path-parameters","198":"/enterprise/retention-labels/api.html#response-body-1","199":"/enterprise/retention-labels/api.html#create-label","200":"/enterprise/retention-labels/api.html#request-body","201":"/enterprise/retention-labels/api.html#example-request","202":"/enterprise/retention-labels/api.html#response","203":"/enterprise/retention-labels/api.html#update-label","204":"/enterprise/retention-labels/api.html#path-parameters-1","205":"/enterprise/retention-labels/api.html#request-body-1","206":"/enterprise/retention-labels/api.html#example-request-1","207":"/enterprise/retention-labels/api.html#response-1","208":"/enterprise/retention-labels/api.html#delete-label","209":"/enterprise/retention-labels/api.html#path-parameters-2","210":"/enterprise/retention-labels/api.html#deletion-logic","211":"/enterprise/retention-labels/api.html#response-body-2","212":"/enterprise/retention-labels/api.html#response-codes","213":"/enterprise/retention-labels/api.html#email-label-endpoints","214":"/enterprise/retention-labels/api.html#get-email-s-label","215":"/enterprise/retention-labels/api.html#path-parameters-3","216":"/enterprise/retention-labels/api.html#response-body-3","217":"/enterprise/retention-labels/api.html#response-codes-1","218":"/enterprise/retention-labels/api.html#apply-label-to-email","219":"/enterprise/retention-labels/api.html#path-parameters-4","220":"/enterprise/retention-labels/api.html#request-body-2","221":"/enterprise/retention-labels/api.html#example-request-2","222":"/enterprise/retention-labels/api.html#response-body-4","223":"/enterprise/retention-labels/api.html#response-codes-2","224":"/enterprise/retention-labels/api.html#remove-label-from-email","225":"/enterprise/retention-labels/api.html#path-parameters-5","226":"/enterprise/retention-labels/api.html#response-body-5","227":"/enterprise/retention-labels/api.html#response-codes-3","228":"/enterprise/retention-labels/api.html#error-responses","229":"/enterprise/retention-labels/api.html#validation-constraints","230":"/enterprise/retention-labels/automated-tagging.html#retention-labels-automated-application-guide","231":"/enterprise/retention-labels/automated-tagging.html#overview","232":"/enterprise/retention-labels/automated-tagging.html#common-use-cases","233":"/enterprise/retention-labels/automated-tagging.html#_1-financial-document-classification","234":"/enterprise/retention-labels/automated-tagging.html#_2-legal-and-compliance-tagging","235":"/enterprise/retention-labels/automated-tagging.html#_3-executive-communication-preservation","236":"/enterprise/retention-labels/automated-tagging.html#_4-data-classification-integration","237":"/enterprise/retention-labels/automated-tagging.html#_5-project-based-retention","238":"/enterprise/retention-labels/automated-tagging.html#api-workflow","239":"/enterprise/retention-labels/automated-tagging.html#step-1-authentication-setup","240":"/enterprise/retention-labels/automated-tagging.html#step-2-identify-target-emails","241":"/enterprise/retention-labels/automated-tagging.html#step-3-check-current-label-status","242":"/enterprise/retention-labels/automated-tagging.html#step-4-apply-retention-label","243":"/enterprise/retention-labels/automated-tagging.html#step-5-verify-application","244":"/enterprise/retention-labels/automated-tagging.html#label-management","245":"/enterprise/retention-labels/automated-tagging.html#getting-available-labels","246":"/enterprise/retention-labels/automated-tagging.html#label-selection-strategy","247":"/enterprise/retention-labels/automated-tagging.html#implementation-patterns","248":"/enterprise/retention-labels/automated-tagging.html#pattern-1-post-ingestion-processing","249":"/enterprise/retention-labels/automated-tagging.html#pattern-2-batch-processing","250":"/enterprise/retention-labels/automated-tagging.html#pattern-3-event-driven-tagging","251":"/enterprise/retention-labels/automated-tagging.html#authentication-and-security","252":"/enterprise/retention-labels/automated-tagging.html#api-key-management","253":"/enterprise/retention-labels/automated-tagging.html#request-authentication","254":"/enterprise/retention-labels/automated-tagging.html#error-handling","255":"/enterprise/retention-labels/automated-tagging.html#common-error-scenarios","256":"/enterprise/retention-labels/automated-tagging.html#best-practices","257":"/enterprise/retention-labels/automated-tagging.html#performance-considerations","258":"/enterprise/retention-labels/automated-tagging.html#rate-limiting","259":"/enterprise/retention-labels/automated-tagging.html#efficiency-tips","260":"/enterprise/retention-labels/automated-tagging.html#monitoring-and-auditing","261":"/enterprise/retention-labels/automated-tagging.html#logging-recommendations","262":"/enterprise/retention-labels/automated-tagging.html#audit-trail","263":"/enterprise/retention-labels/automated-tagging.html#integration-examples","264":"/enterprise/retention-labels/automated-tagging.html#scenario-invoice-processing-system","265":"/enterprise/retention-labels/automated-tagging.html#scenario-legal-hold-implementation","266":"/enterprise/retention-labels/automated-tagging.html#scenario-data-classification-integration","267":"/enterprise/retention-labels/automated-tagging.html#getting-started","268":"/enterprise/retention-labels/#retention-labels","269":"/enterprise/retention-labels/#core-principles","270":"/enterprise/retention-labels/#_1-item-level-retention-override","271":"/enterprise/retention-labels/#_2-one-label-per-email","272":"/enterprise/retention-labels/#_3-deletion-behavior","273":"/enterprise/retention-labels/#_4-immutable-retention-period","274":"/enterprise/retention-labels/#_5-user-attribution-and-audit-trail","275":"/enterprise/retention-labels/#_6-lifecycle-integration","276":"/enterprise/retention-labels/#feature-requirements","277":"/enterprise/retention-labels/#use-cases","278":"/enterprise/retention-labels/#legal-hold-alternative","279":"/enterprise/retention-labels/#executive-communications","280":"/enterprise/retention-labels/#regulatory-exceptions","281":"/enterprise/retention-labels/#project-specific-retention","282":"/enterprise/retention-labels/#architecture-overview","283":"/enterprise/retention-labels/#data-model","284":"/enterprise/retention-labels/#retention-labels-table","285":"/enterprise/retention-labels/#email-label-applications-table","286":"/enterprise/retention-labels/#integration-points","287":"/enterprise/retention-labels/#lifecycle-worker","288":"/enterprise/retention-labels/#audit-log","289":"/enterprise/retention-labels/#email-detail-pages","290":"/enterprise/retention-labels/guide.html#retention-labels-user-interface-guide","291":"/enterprise/retention-labels/guide.html#overview","292":"/enterprise/retention-labels/guide.html#labels-table","293":"/enterprise/retention-labels/guide.html#creating-a-label","294":"/enterprise/retention-labels/guide.html#form-fields","295":"/enterprise/retention-labels/guide.html#example-labels","296":"/enterprise/retention-labels/guide.html#success-and-error-handling","297":"/enterprise/retention-labels/guide.html#editing-a-label","298":"/enterprise/retention-labels/guide.html#editable-fields","299":"/enterprise/retention-labels/guide.html#retention-period-restrictions","300":"/enterprise/retention-labels/guide.html#update-process","301":"/enterprise/retention-labels/guide.html#deleting-a-label","302":"/enterprise/retention-labels/guide.html#smart-deletion-behavior","303":"/enterprise/retention-labels/guide.html#hard-delete","304":"/enterprise/retention-labels/guide.html#soft-disable","305":"/enterprise/retention-labels/guide.html#confirmation-dialog","306":"/enterprise/retention-labels/guide.html#applying-labels-to-emails","307":"/enterprise/retention-labels/guide.html#from-email-detail-page","308":"/enterprise/retention-labels/guide.html#label-application-process","309":"/enterprise/retention-labels/guide.html#one-label-per-email-rule","310":"/enterprise/retention-labels/guide.html#permissions-required","311":"/enterprise/retention-labels/guide.html#label-management","312":"/enterprise/retention-labels/guide.html#email-label-operations","313":"/enterprise/retention-labels/guide.html#status-indicators","314":"/enterprise/retention-labels/guide.html#enabled-labels-green-badge","315":"/enterprise/retention-labels/guide.html#disabled-labels-gray-badge","316":"/enterprise/retention-labels/guide.html#best-practices","317":"/enterprise/retention-labels/guide.html#naming-conventions","318":"/enterprise/retention-labels/guide.html#descriptions","319":"/enterprise/retention-labels/guide.html#retention-periods","320":"/enterprise/retention-labels/guide.html#label-lifecycle","321":"/enterprise/retention-labels/guide.html#troubleshooting","322":"/enterprise/retention-labels/guide.html#cannot-edit-retention-period","323":"/enterprise/retention-labels/guide.html#label-not-appearing-in-email-application-dropdown","324":"/enterprise/retention-labels/guide.html#cannot-delete-label","325":"/enterprise/retention-labels/guide.html#permission-denied-errors","326":"/enterprise/retention-policy/api.html#retention-policy-api-endpoints","327":"/enterprise/retention-policy/api.html#list-all-policies","328":"/enterprise/retention-policy/api.html#response-body","329":"/enterprise/retention-policy/api.html#get-policy-by-id","330":"/enterprise/retention-policy/api.html#path-parameters","331":"/enterprise/retention-policy/api.html#response-body-1","332":"/enterprise/retention-policy/api.html#create-policy","333":"/enterprise/retention-policy/api.html#request-body","334":"/enterprise/retention-policy/api.html#conditions-rulegroup-schema","335":"/enterprise/retention-policy/api.html#example-request","336":"/enterprise/retention-policy/api.html#response","337":"/enterprise/retention-policy/api.html#update-policy","338":"/enterprise/retention-policy/api.html#path-parameters-1","339":"/enterprise/retention-policy/api.html#request-body-1","340":"/enterprise/retention-policy/api.html#response-1","341":"/enterprise/retention-policy/api.html#delete-policy","342":"/enterprise/retention-policy/api.html#path-parameters-2","343":"/enterprise/retention-policy/api.html#response-2","344":"/enterprise/retention-policy/api.html#evaluate-email-policy-simulator","345":"/enterprise/retention-policy/api.html#request-body-2","346":"/enterprise/retention-policy/api.html#example-request-1","347":"/enterprise/retention-policy/api.html#response-body-2","348":"/enterprise/retention-policy/api.html#response-codes","349":"/enterprise/retention-policy/#retention-policy","350":"/enterprise/retention-policy/#core-principles","351":"/enterprise/retention-policy/#_1-policy-based-automation","352":"/enterprise/retention-policy/#_2-condition-based-targeting","353":"/enterprise/retention-policy/#_3-ingestion-scope","354":"/enterprise/retention-policy/#_4-priority-and-max-duration-wins","355":"/enterprise/retention-policy/#_5-full-audit-trail","356":"/enterprise/retention-policy/#_6-fail-safe-behavior","357":"/enterprise/retention-policy/#feature-requirements","358":"/enterprise/retention-policy/#architecture-overview","359":"/enterprise/retention-policy/lifecycle-worker.html#retention-policy-lifecycle-worker","360":"/enterprise/retention-policy/lifecycle-worker.html#location","361":"/enterprise/retention-policy/lifecycle-worker.html#how-it-works","362":"/enterprise/retention-policy/lifecycle-worker.html#scheduling","363":"/enterprise/retention-policy/lifecycle-worker.html#batch-processing","364":"/enterprise/retention-policy/lifecycle-worker.html#per-email-processing-flow","365":"/enterprise/retention-policy/lifecycle-worker.html#error-handling","366":"/enterprise/retention-policy/lifecycle-worker.html#system-actor","367":"/enterprise/retention-policy/lifecycle-worker.html#audit-trail","368":"/enterprise/retention-policy/lifecycle-worker.html#configuration","369":"/enterprise/retention-policy/lifecycle-worker.html#bullmq-worker-settings","370":"/enterprise/retention-policy/lifecycle-worker.html#integration-with-deletion-guard","371":"/enterprise/retention-policy/guide.html#retention-policy-user-interface","372":"/enterprise/retention-policy/guide.html#policy-table","373":"/enterprise/retention-policy/guide.html#creating-a-policy","374":"/enterprise/retention-policy/guide.html#basic-information","375":"/enterprise/retention-policy/guide.html#ingestion-scope","376":"/enterprise/retention-policy/guide.html#condition-rules","377":"/enterprise/retention-policy/guide.html#supported-operators","378":"/enterprise/retention-policy/guide.html#policy-status","379":"/enterprise/retention-policy/guide.html#editing-a-policy","380":"/enterprise/retention-policy/guide.html#deleting-a-policy","381":"/enterprise/retention-policy/guide.html#policy-simulator","382":"/enterprise/retention-policy/guide.html#simulator-input-fields","383":"/enterprise/retention-policy/guide.html#simulator-results","384":"/enterprise/retention-policy/retention-service.html#retention-policy-backend-implementation","385":"/enterprise/retention-policy/retention-service.html#database-schema","386":"/enterprise/retention-policy/retention-service.html#crud-operations","387":"/enterprise/retention-policy/retention-service.html#createpolicy-data-actorid-actorip","388":"/enterprise/retention-policy/retention-service.html#getpolicies","389":"/enterprise/retention-policy/retention-service.html#getpolicybyid-id","390":"/enterprise/retention-policy/retention-service.html#updatepolicy-id-data-actorid-actorip","391":"/enterprise/retention-policy/retention-service.html#deletepolicy-id-actorid-actorip","392":"/enterprise/retention-policy/retention-service.html#evaluation-engine","393":"/enterprise/retention-policy/retention-service.html#evaluateemail-metadata","394":"/enterprise/retention-policy/retention-service.html#evaluaterulegroup-group-metadata","395":"/enterprise/retention-policy/retention-service.html#evaluaterule-rule-metadata","396":"/enterprise/retention-policy/retention-service.html#applyoperator-haystack-operator-needle","397":"/enterprise/retention-policy/retention-service.html#security-regex-match-safeguards","398":"/enterprise/retention-policy/retention-service.html#request-validation","399":"/enterprise/retention-policy/retention-service.html#module-registration","400":"/services/iam-service/iam-policy.html#iam-policy","401":"/services/iam-service/iam-policy.html#policy-structure","402":"/services/iam-service/iam-policy.html#actions","403":"/services/iam-service/iam-policy.html#subjects","404":"/services/iam-service/iam-policy.html#advanced-conditions-with-mongodb-style-queries","405":"/services/iam-service/iam-policy.html#supported-operators-and-examples","406":"/services/iam-service/iam-policy.html#eq-equal","407":"/services/iam-service/iam-policy.html#ne-not-equal","408":"/services/iam-service/iam-policy.html#in-in-array","409":"/services/iam-service/iam-policy.html#nin-not-in-array","410":"/services/iam-service/iam-policy.html#lt-lte-less-than-less-than-or-equal","411":"/services/iam-service/iam-policy.html#gt-gte-greater-than-greater-than-or-equal","412":"/services/iam-service/iam-policy.html#exists","413":"/services/iam-service/iam-policy.html#inverted-rules-creating-exceptions-with-cannot","414":"/services/iam-service/iam-policy.html#policy-evaluation-logic","415":"/services/iam-service/iam-policy.html#dynamic-policies-with-placeholders","416":"/services/iam-service/iam-policy.html#special-permissions-for-user-and-role-management","417":"/services/iam-service/iam-policy.html#policy-examples","418":"/services/iam-service/iam-policy.html#administrator","419":"/services/iam-service/iam-policy.html#end-user","420":"/services/iam-service/iam-policy.html#global-read-only-auditor","421":"/services/iam-service/iam-policy.html#ingestion-admin","422":"/services/iam-service/iam-policy.html#auditor-for-specific-ingestion-sources","423":"/services/iam-service/iam-policy.html#limit-access-to-a-specific-mailbox","424":"/services/#services","425":"/#get-started-👋","426":"/#what-is-open-archiver","427":"/#key-features","428":"/#installation","429":"/#data-source-configuration-🔌","430":"/#contributing","431":"/services/job-queue.html#job-queue-service","432":"/services/job-queue.html#architecture","433":"/services/job-queue.html#queues","434":"/services/job-queue.html#job-flow","435":"/services/job-queue.html#sync-cycle-coordination","436":"/services/job-queue.html#session-heartbeat","437":"/services/job-queue.html#stale-session-detection","438":"/services/job-queue.html#configuration","439":"/services/job-queue.html#tuning-ingestion-worker-concurrency","440":"/services/job-queue.html#tuning-meili-indexing-batch","441":"/services/job-queue.html#resilience","442":"/services/ocr-service.html#ocr-service","443":"/services/ocr-service.html#overview","444":"/services/ocr-service.html#configuration","445":"/services/ocr-service.html#file-size-limits","446":"/services/ocr-service.html#supported-file-formats","447":"/services/ocr-service.html#with-apache-tika","448":"/services/ocr-service.html#with-legacy-fallback","449":"/services/ocr-service.html#features-of-the-tika-integration-ocrservice","450":"/services/ocr-service.html#caching","451":"/services/ocr-service.html#concurrency-management-semaphore","452":"/services/ocr-service.html#health-check-and-dns-fallback","453":"/services/ocr-service.html#legacy-fallback-methods","454":"/services/storage-service.html#pluggable-storage-service-storageservice","455":"/services/storage-service.html#overview","456":"/services/storage-service.html#configuration","457":"/services/storage-service.html#_1-choosing-the-backend","458":"/services/storage-service.html#_2-local-filesystem-configuration","459":"/services/storage-service.html#_3-s3-compatible-storage-configuration","460":"/services/storage-service.html#how-to-use-the-service","461":"/services/storage-service.html#example-usage-in-ingestionservice","462":"/services/storage-service.html#api-reference","463":"/services/storage-service.html#put-path-content","464":"/services/storage-service.html#get-path","465":"/services/storage-service.html#delete-path","466":"/services/storage-service.html#exists-path","467":"/user-guides/email-providers/eml.html#eml-import","468":"/user-guides/email-providers/eml.html#preparing-the-zip-file","469":"/user-guides/email-providers/eml.html#creating-an-eml-ingestion-source","470":"/user-guides/email-providers/imap.html#connecting-to-a-generic-imap-server","471":"/user-guides/email-providers/imap.html#step-by-step-guide","472":"/user-guides/email-providers/imap.html#security-recommendation-use-an-app-password","473":"/user-guides/email-providers/imap.html#how-to-obtain-an-app-password-for-gmail","474":"/user-guides/email-providers/imap.html#how-to-obtain-an-app-password-for-outlook-microsoft-accounts","475":"/user-guides/email-providers/imap.html#what-happens-next","476":"/user-guides/email-providers/#connecting-email-providers","477":"/user-guides/email-providers/mbox.html#mbox-ingestion","478":"/user-guides/email-providers/mbox.html#_1-exporting-from-your-email-client","479":"/user-guides/email-providers/mbox.html#_2-uploading-to-openarchiver","480":"/user-guides/email-providers/mbox.html#_3-folder-structure","481":"/user-guides/email-providers/merging-sources.html#merging-ingestion-sources","482":"/user-guides/email-providers/merging-sources.html#concepts","483":"/user-guides/email-providers/merging-sources.html#root-ownership-—-how-storage-and-data-work","484":"/user-guides/email-providers/merging-sources.html#when-to-use-merged-sources","485":"/user-guides/email-providers/merging-sources.html#how-to-merge-a-new-source-into-an-existing-one","486":"/user-guides/email-providers/merging-sources.html#how-emails-appear-when-merged","487":"/user-guides/email-providers/merging-sources.html#how-syncing-works","488":"/user-guides/email-providers/merging-sources.html#deduplication-across-the-group","489":"/user-guides/email-providers/merging-sources.html#preserve-original-file-gobd-compliance-and-merged-sources","490":"/user-guides/email-providers/merging-sources.html#editing-sources-in-a-group","491":"/user-guides/email-providers/merging-sources.html#unmerging-a-child-source","492":"/user-guides/email-providers/merging-sources.html#deleting-sources-in-a-group","493":"/user-guides/email-providers/merging-sources.html#known-limitations","494":"/user-guides/email-providers/microsoft-365.html#connecting-to-microsoft-365","495":"/user-guides/email-providers/microsoft-365.html#prerequisites","496":"/user-guides/email-providers/microsoft-365.html#setup-overview","497":"/user-guides/email-providers/microsoft-365.html#part-1-register-a-new-application-in-microsoft-entra-id","498":"/user-guides/email-providers/microsoft-365.html#part-2-grant-api-permissions","499":"/user-guides/email-providers/microsoft-365.html#part-3-create-a-client-secret","500":"/user-guides/email-providers/microsoft-365.html#part-4-connecting-in-openarchiver","501":"/user-guides/email-providers/microsoft-365.html#what-happens-next","502":"/user-guides/email-providers/google-workspace.html#connecting-to-google-workspace","503":"/user-guides/email-providers/google-workspace.html#prerequisites","504":"/user-guides/email-providers/google-workspace.html#setup-overview","505":"/user-guides/email-providers/google-workspace.html#part-1-google-cloud-console-setup","506":"/user-guides/email-providers/google-workspace.html#troubleshooting","507":"/user-guides/email-providers/google-workspace.html#error-iam-disableserviceaccountkeycreation","508":"/user-guides/email-providers/google-workspace.html#part-2-grant-domain-wide-delegation","509":"/user-guides/email-providers/google-workspace.html#part-3-connecting-in-openarchiver","510":"/user-guides/email-providers/google-workspace.html#what-happens-next","511":"/user-guides/email-providers/pst.html#pst-import","512":"/user-guides/email-providers/pst.html#preparing-the-pst-file","513":"/user-guides/email-providers/pst.html#creating-a-pst-ingestion-source","514":"/user-guides/installation.html#installation-guide","515":"/user-guides/installation.html#prerequisites","516":"/user-guides/installation.html#_1-clone-the-repository","517":"/user-guides/installation.html#_2-create-a-directory-for-local-storage-important","518":"/user-guides/installation.html#_3-configure-your-environment","519":"/user-guides/installation.html#key-configuration-steps","520":"/user-guides/installation.html#storage-configuration","521":"/user-guides/installation.html#using-external-services","522":"/user-guides/installation.html#environment-variable-reference","523":"/user-guides/installation.html#application-settings","524":"/user-guides/installation.html#docker-compose-service-configuration","525":"/user-guides/installation.html#storage-settings","526":"/user-guides/installation.html#security-authentication","527":"/user-guides/installation.html#apache-tika-integration","528":"/user-guides/installation.html#_4-run-the-application","529":"/user-guides/installation.html#_5-access-the-application","530":"/user-guides/installation.html#_6-next-steps","531":"/user-guides/installation.html#updating-your-installation","532":"/user-guides/installation.html#deploying-on-coolify","533":"/user-guides/installation.html#modify-docker-compose-yml-for-coolify","534":"/user-guides/installation.html#where-is-my-data-stored-when-using-local-storage-and-docker","535":"/user-guides/installation.html#to-save-data-to-a-specific-folder","536":"/user-guides/integrity-check.html#integrity-check","537":"/user-guides/integrity-check.html#how-it-works","538":"/user-guides/integrity-check.html#the-integrity-report","539":"/user-guides/integrity-check.html#statuses","540":"/user-guides/integrity-check.html#reasons-for-an-invalid-status","541":"/user-guides/integrity-check.html#what-to-do-if-an-integrity-check-fails","542":"/user-guides/settings/system.html#system-settings","543":"/user-guides/settings/system.html#configuration","544":"/user-guides/settings/system.html#language","545":"/user-guides/settings/system.html#default-theme","546":"/user-guides/settings/system.html#support-email","547":"/user-guides/troubleshooting/cors-errors.html#troubleshooting-cors-errors","548":"/user-guides/troubleshooting/cors-errors.html#symptoms","549":"/user-guides/troubleshooting/cors-errors.html#root-cause","550":"/user-guides/troubleshooting/cors-errors.html#solution","551":"/user-guides/troubleshooting/cors-errors.html#example-configuration","552":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#upgrading-meilisearch","553":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#experimental-dumpless-upgrade","554":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#how-to-enable","555":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#standard-migration-process-recommended","556":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#step-1-create-a-dump","557":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#step-2-upgrade-your-open-archiver-instance","558":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#step-3-import-the-dump","559":"/user-guides/upgrade-and-migration/meilisearch-upgrade.html#step-4-clean-up","560":"/user-guides/upgrade-and-migration/upgrade.html#upgrading-your-instance","561":"/user-guides/upgrade-and-migration/upgrade.html#checking-for-new-versions","562":"/user-guides/upgrade-and-migration/upgrade.html#upgrading-your-instance-1","563":"/user-guides/upgrade-and-migration/upgrade.html#migrating-data","564":"/user-guides/upgrade-and-migration/upgrade.html#upgrading-meilisearch"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[3,1,1],"1":[2,3,26],"2":[2,1,34],"3":[4,2,1],"4":[3,2,1],"5":[4,2,1],"6":[3,1,16],"7":[6,3,1],"8":[4,3,1],"9":[3,3,1],"10":[2,1,11],"11":[1,2,1],"12":[1,2,1],"13":[3,2,1],"14":[2,1,13],"15":[6,2,33],"16":[4,2,32],"17":[4,5,46],"18":[2,1,12],"19":[2,2,1],"20":[3,2,1],"21":[4,2,1],"22":[3,2,1],"23":[4,2,1],"24":[2,1,21],"25":[3,2,1],"26":[3,2,1],"27":[3,2,1],"28":[3,2,1],"29":[3,2,1],"30":[2,1,22],"31":[1,2,24],"32":[2,2,30],"33":[2,1,24],"34":[4,2,1],"35":[3,2,1],"36":[4,2,1],"37":[4,2,1],"38":[4,2,1],"39":[3,2,1],"40":[4,2,1],"41":[2,2,1],"42":[4,2,1],"43":[3,1,20],"44":[3,3,1],"45":[2,1,40],"46":[3,2,1],"47":[5,2,1],"48":[2,1,32],"49":[3,2,53],"50":[2,5,34],"51":[1,2,42],"52":[3,2,79],"53":[2,2,32],"54":[2,1,11],"55":[2,2,1],"56":[2,1,17],"57":[3,2,1],"58":[3,2,1],"59":[2,1,17],"60":[3,2,1],"61":[2,1,27],"62":[3,2,1],"63":[2,1,15],"64":[3,2,1],"65":[3,2,1],"66":[3,2,1],"67":[3,2,1],"68":[3,2,1],"69":[4,2,1],"70":[4,2,1],"71":[2,2,1],"72":[4,1,26],"73":[3,4,24],"74":[2,6,44],"75":[2,6,36],"76":[4,4,24],"77":[2,6,19],"78":[4,1,29],"79":[4,4,16],"80":[2,8,78],"81":[2,8,86],"82":[2,4,38],"83":[4,1,36],"84":[3,4,68],"85":[3,4,25],"86":[1,4,19],"87":[3,4,42],"88":[2,6,71],"89":[3,4,33],"90":[2,1,51],"91":[2,2,16],"92":[2,4,40],"93":[2,4,35],"94":[2,4,39],"95":[4,4,40],"96":[2,4,42],"97":[4,1,39],"98":[3,4,1],"99":[3,6,26],"100":[2,8,57],"101":[4,6,19],"102":[2,9,13],"103":[1,9,17],"104":[2,6,23],"105":[2,7,34],"106":[2,7,25],"107":[1,7,23],"108":[2,6,29],"109":[2,7,13],"110":[2,7,34],"111":[4,7,5],"112":[1,7,52],"113":[2,6,23],"114":[2,7,13],"115":[1,7,51],"116":[2,4,1],"117":[6,6,50],"118":[2,11,13],"119":[2,11,14],"120":[2,13,36],"121":[2,11,25],"122":[2,11,64],"123":[2,11,43],"124":[5,6,29],"125":[2,11,13],"126":[2,11,5],"127":[2,11,55],"128":[4,4,1],"129":[6,7,26],"130":[2,11,12],"131":[2,11,54],"132":[2,11,13],"133":[6,7,32],"134":[2,11,12],"135":[2,11,15],"136":[2,11,9],"137":[2,11,35],"138":[2,11,34],"139":[6,7,33],"140":[2,11,16],"141":[2,11,9],"142":[2,11,17],"143":[2,4,47],"144":[2,4,34],"145":[5,1,43],"146":[1,5,46],"147":[2,5,87],"148":[3,5,20],"149":[2,8,45],"150":[2,8,23],"151":[3,5,24],"152":[5,5,61],"153":[3,5,72],"154":[2,5,28],"155":[2,7,50],"156":[5,7,91],"157":[6,7,32],"158":[3,5,67],"159":[4,5,1],"160":[6,9,29],"161":[6,9,28],"162":[6,9,54],"163":[6,9,39],"164":[2,5,28],"165":[6,5,100],"166":[1,5,1],"167":[10,6,16],"168":[5,6,47],"169":[8,6,25],"170":[8,6,22],"171":[2,1,40],"172":[2,2,1],"173":[9,4,81],"174":[4,4,45],"175":[5,4,70],"176":[6,4,59],"177":[4,4,47],"178":[2,2,39],"179":[2,2,1],"180":[3,4,49],"181":[2,4,40],"182":[2,4,28],"183":[3,4,32],"184":[2,2,89],"185":[2,2,1],"186":[3,4,53],"187":[5,4,57],"188":[2,2,1],"189":[4,4,50],"190":[2,4,32],"191":[2,4,55],"192":[4,1,41],"193":[3,4,1],"194":[3,6,17],"195":[2,8,48],"196":[4,6,19],"197":[2,9,13],"198":[2,9,17],"199":[2,6,23],"200":[2,7,30],"201":[2,7,19],"202":[1,7,21],"203":[2,6,25],"204":[2,7,13],"205":[2,7,39],"206":[2,7,14],"207":[1,7,34],"208":[2,6,22],"209":[2,7,13],"210":[2,7,42],"211":[2,7,7],"212":[2,7,24],"213":[3,4,1],"214":[4,6,21],"215":[2,8,12],"216":[2,8,37],"217":[2,8,15],"218":[4,6,25],"219":[2,8,12],"220":[2,8,15],"221":[2,8,9],"222":[2,8,25],"223":[2,8,27],"224":[4,6,22],"225":[2,8,12],"226":[2,8,17],"227":[2,8,20],"228":[2,4,47],"229":[2,4,27],"230":[5,1,21],"231":[1,5,39],"232":[3,5,1],"233":[4,8,46],"234":[5,8,33],"235":[4,8,38],"236":[4,8,36],"237":[4,8,38],"238":[2,5,1],"239":[4,7,34],"240":[5,7,28],"241":[6,7,33],"242":[5,7,23],"243":[4,7,15],"244":[2,5,1],"245":[3,7,27],"246":[3,7,39],"247":[2,5,1],"248":[5,7,32],"249":[4,7,24],"250":[5,7,33],"251":[3,5,1],"252":[3,8,35],"253":[2,8,17],"254":[2,5,1],"255":[3,7,36],"256":[2,7,30],"257":[2,5,1],"258":[2,7,28],"259":[2,7,32],"260":[3,5,1],"261":[2,8,24],"262":[2,8,33],"263":[2,5,1],"264":[4,7,31],"265":[4,7,34],"266":[4,7,37],"267":[2,5,63],"268":[2,1,41],"269":[2,2,1],"270":[5,4,36],"271":[5,4,26],"272":[3,4,65],"273":[4,4,32],"274":[6,4,32],"275":[3,4,29],"276":[2,2,33],"277":[2,2,1],"278":[3,4,28],"279":[2,4,19],"280":[2,4,26],"281":[3,4,19],"282":[2,2,77],"283":[2,2,1],"284":[3,4,48],"285":[4,4,42],"286":[2,2,1],"287":[2,4,25],"288":[2,4,29],"289":[3,4,23],"290":[5,1,33],"291":[1,5,33],"292":[2,5,86],"293":[3,5,16],"294":[2,8,40],"295":[2,8,45],"296":[4,8,40],"297":[3,5,16],"298":[2,8,23],"299":[3,8,52],"300":[2,8,21],"301":[3,5,13],"302":[3,8,7],"303":[2,11,23],"304":[2,11,44],"305":[2,8,36],"306":[4,5,15],"307":[4,8,50],"308":[3,8,39],"309":[5,8,28],"310":[2,5,7],"311":[2,7,11],"312":[3,7,11],"313":[2,5,1],"314":[5,7,17],"315":[5,7,36],"316":[2,5,1],"317":[2,7,30],"318":[1,7,25],"319":[2,7,39],"320":[2,7,29],"321":[1,5,1],"322":[4,6,34],"323":[7,6,29],"324":[3,6,36],"325":[3,6,31],"326":[4,1,39],"327":[3,4,16],"328":[2,7,40],"329":[4,4,19],"330":[2,7,13],"331":[2,7,17],"332":[2,4,23],"333":[2,5,74],"334":[3,7,69],"335":[2,5,44],"336":[1,5,21],"337":[2,4,25],"338":[2,5,13],"339":[2,5,31],"340":[1,5,23],"341":[2,4,20],"342":[2,5,13],"343":[1,5,17],"344":[5,4,41],"345":[2,8,43],"346":[2,8,25],"347":[2,8,52],"348":[2,8,14],"349":[2,1,46],"350":[2,2,1],"351":[4,4,51],"352":[4,4,43],"353":[3,4,38],"354":[6,4,51],"355":[4,4,39],"356":[4,4,50],"357":[2,2,29],"358":[2,2,79],"359":[4,1,37],"360":[1,4,8],"361":[3,4,1],"362":[1,7,44],"363":[2,7,48],"364":[4,7,130],"365":[2,7,50],"366":[2,4,42],"367":[2,4,51],"368":[1,4,16],"369":[3,4,32],"370":[4,4,55],"371":[4,1,31],"372":[2,4,93],"373":[3,4,18],"374":[2,6,38],"375":[2,6,39],"376":[2,6,67],"377":[2,6,46],"378":[2,6,13],"379":[3,4,37],"380":[3,4,34],"381":[2,4,23],"382":[3,5,50],"383":[2,5,72],"384":[4,1,39],"385":[2,4,88],"386":[2,4,8],"387":[5,6,31],"388":[2,6,33],"389":[3,6,12],"390":[6,6,41],"391":[5,6,27],"392":[2,4,31],"393":[3,6,93],"394":[4,6,26],"395":[4,6,44],"396":[5,6,42],"397":[4,6,60],"398":[2,4,68],"399":[2,4,44],"400":[2,1,29],"401":[2,2,78],"402":[1,2,40],"403":[1,2,32],"404":[6,2,85],"405":[4,8,12],"406":[3,12,37],"407":[4,12,30],"408":[4,12,35],"409":[5,12,32],"410":[7,12,30],"411":[7,12,24],"412":[1,12,21],"413":[6,2,77],"414":[3,2,38],"415":[4,4,30],"416":[7,2,52],"417":[2,2,25],"418":[1,3,19],"419":[2,3,40],"420":[4,3,38],"421":[2,3,22],"422":[5,3,33],"423":[6,3,48],"424":[1,1,1],"425":[3,1,19],"426":[5,3,55],"427":[2,3,116],"428":[1,3,17],"429":[4,3,35],"430":[1,3,59],"431":[3,1,19],"432":[1,3,24],"433":[1,4,23],"434":[2,4,38],"435":[3,3,105],"436":[2,6,33],"437":[3,6,79],"438":[1,3,36],"439":[4,4,45],"440":[4,4,36],"441":[1,3,76],"442":[2,1,34],"443":[1,2,78],"444":[1,2,57],"445":[3,2,40],"446":[3,2,20],"447":[3,5,80],"448":[3,5,31],"449":[7,2,18],"450":[1,9,55],"451":[4,9,65],"452":[5,9,49],"453":[3,2,58],"454":[5,1,1],"455":[1,5,73],"456":[1,5,28],"457":[4,5,31],"458":[4,5,43],"459":[5,5,69],"460":[5,5,40],"461":[4,8,79],"462":[2,5,15],"463":[4,6,63],"464":[3,6,39],"465":[3,6,40],"466":[3,6,31],"467":[2,1,27],"468":[4,2,64],"469":[5,2,103],"470":[6,1,38],"471":[3,6,113],"472":[6,6,68],"473":[8,12,68],"474":[10,12,53],"475":[4,6,88],"476":[3,1,46],"477":[2,1,24],"478":[6,2,56],"479":[4,2,83],"480":[3,2,45],"481":[3,1,43],"482":[1,3,70],"483":[7,3,93],"484":[5,3,48],"485":[10,3,69],"486":[5,3,58],"487":[3,3,64],"488":[4,3,35],"489":[8,3,61],"490":[5,3,32],"491":[4,3,68],"492":[5,3,54],"493":[2,3,51],"494":[4,1,54],"495":[1,4,20],"496":[2,4,44],"497":[10,6,89],"498":[5,6,102],"499":[6,6,100],"500":[5,6,80],"501":[4,4,72],"502":[4,1,51],"503":[1,4,20],"504":[2,4,27],"505":[6,6,113],"506":[1,6,1],"507":[5,7,130],"508":[6,6,98],"509":[5,6,87],"510":[4,4,77],"511":[2,1,22],"512":[4,2,50],"513":[5,2,102],"514":[2,1,21],"515":[1,2,29],"516":[4,2,19],"517":[9,2,78],"518":[4,2,34],"519":[3,6,94],"520":[2,6,49],"521":[3,6,69],"522":[3,6,12],"523":[2,8,81],"524":[4,8,76],"525":[2,8,91],"526":[3,8,111],"527":[3,8,39],"528":[4,2,47],"529":[4,2,58],"530":[3,2,30],"531":[3,2,31],"532":[3,2,43],"533":[6,5,96],"534":[12,2,129],"535":[7,14,103],"536":[2,1,25],"537":[3,2,66],"538":[3,2,31],"539":[1,4,40],"540":[6,4,64],"541":[8,2,86],"542":[2,1,18],"543":[1,2,1],"544":[1,3,52],"545":[2,3,25],"546":[2,3,30],"547":[3,1,48],"548":[1,3,66],"549":[2,3,58],"550":[1,3,70],"551":[2,4,70],"552":[2,1,46],"553":[3,2,90],"554":[3,5,78],"555":[5,2,31],"556":[5,7,89],"557":[7,7,31],"558":[5,7,74],"559":[4,7,65],"560":[3,1,15],"561":[4,3,37],"562":[3,3,34],"563":[2,3,34],"564":[2,3,39]},"averageFieldLength":[3.0991150442477884,4.807079646017702,35.113274336283204],"storedFields":{"0":{"title":"Table of contents","titles":[]},"1":{"title":"User guides","titles":["Table of contents"]},"2":{"title":"API Keys","titles":[]},"3":{"title":"Generate an API Key","titles":["API Keys"]},"4":{"title":"List API Keys","titles":["API Keys"]},"5":{"title":"Delete an API Key","titles":["API Keys"]},"6":{"title":"Archived Email API","titles":[]},"7":{"title":"List Emails for an Ingestion Source","titles":["Archived Email API"]},"8":{"title":"Get a Single Email","titles":["Archived Email API"]},"9":{"title":"Delete an Email","titles":["Archived Email API"]},"10":{"title":"Auth API","titles":[]},"11":{"title":"Setup","titles":["Auth API"]},"12":{"title":"Login","titles":["Auth API"]},"13":{"title":"Check Setup Status","titles":["Auth API"]},"14":{"title":"API Authentication","titles":[]},"15":{"title":"Method 1: JWT (User Login)","titles":["API Authentication"]},"16":{"title":"Method 2: API Key","titles":["API Authentication"]},"17":{"title":"Creating an API Key","titles":["API Authentication","Method 2: API Key"]},"18":{"title":"Dashboard API","titles":[]},"19":{"title":"Get Stats","titles":["Dashboard API"]},"20":{"title":"Get Ingestion History","titles":["Dashboard API"]},"21":{"title":"Get Ingestion Source Summaries","titles":["Dashboard API"]},"22":{"title":"Get Recent Syncs","titles":["Dashboard API"]},"23":{"title":"Get Indexed Email Insights","titles":["Dashboard API"]},"24":{"title":"IAM API","titles":[]},"25":{"title":"List All Roles","titles":["IAM API"]},"26":{"title":"Create a Role","titles":["IAM API"]},"27":{"title":"Get a Role","titles":["IAM API"]},"28":{"title":"Update a Role","titles":["IAM API"]},"29":{"title":"Delete a Role","titles":["IAM API"]},"30":{"title":"API Overview","titles":[]},"31":{"title":"Authentication","titles":["API Overview"]},"32":{"title":"API Services","titles":["API Overview"]},"33":{"title":"Ingestion API","titles":[]},"34":{"title":"Create an Ingestion Source","titles":["Ingestion API"]},"35":{"title":"List Ingestion Sources","titles":["Ingestion API"]},"36":{"title":"Get an Ingestion Source","titles":["Ingestion API"]},"37":{"title":"Update an Ingestion Source","titles":["Ingestion API"]},"38":{"title":"Delete an Ingestion Source","titles":["Ingestion API"]},"39":{"title":"Trigger Initial Import","titles":["Ingestion API"]},"40":{"title":"Pause an Ingestion Source","titles":["Ingestion API"]},"41":{"title":"Force Sync","titles":["Ingestion API"]},"42":{"title":"Unmerge an Ingestion Source","titles":["Ingestion API"]},"43":{"title":"Integrity Check API","titles":[]},"44":{"title":"Check Email Integrity","titles":["Integrity Check API"]},"45":{"title":"Jobs API","titles":[]},"46":{"title":"List All Queues","titles":["Jobs API"]},"47":{"title":"Get Jobs in a Queue","titles":["Jobs API"]},"48":{"title":"Rate Limiting","titles":[]},"49":{"title":"How It Works","titles":["Rate Limiting"]},"50":{"title":"Response Body","titles":["Rate Limiting","How It Works"]},"51":{"title":"Configuration","titles":["Rate Limiting"]},"52":{"title":"Handling Rate Limits","titles":["Rate Limiting"]},"53":{"title":"Excluded Endpoints","titles":["Rate Limiting"]},"54":{"title":"Search API","titles":[]},"55":{"title":"Search Emails","titles":["Search API"]},"56":{"title":"Settings API","titles":[]},"57":{"title":"Get System Settings","titles":["Settings API"]},"58":{"title":"Update System Settings","titles":["Settings API"]},"59":{"title":"Storage API","titles":[]},"60":{"title":"Download a File","titles":["Storage API"]},"61":{"title":"Upload API","titles":[]},"62":{"title":"Upload a File","titles":["Upload API"]},"63":{"title":"Users API","titles":[]},"64":{"title":"List All Users","titles":["Users API"]},"65":{"title":"Create a User","titles":["Users API"]},"66":{"title":"Get a User","titles":["Users API"]},"67":{"title":"Update a User","titles":["Users API"]},"68":{"title":"Delete a User","titles":["Users API"]},"69":{"title":"Get Current User Profile","titles":["Users API"]},"70":{"title":"Update Current User Profile","titles":["Users API"]},"71":{"title":"Update Password","titles":["Users API"]},"72":{"title":"Audit Log: API Endpoints","titles":[]},"73":{"title":"Get Audit Logs","titles":["Audit Log: API Endpoints"]},"74":{"title":"Query Parameters","titles":["Audit Log: API Endpoints","Get Audit Logs"]},"75":{"title":"Response Body","titles":["Audit Log: API Endpoints","Get Audit Logs"]},"76":{"title":"Verify Audit Log Integrity","titles":["Audit Log: API Endpoints"]},"77":{"title":"Response Body","titles":["Audit Log: API Endpoints","Verify Audit Log Integrity"]},"78":{"title":"Audit Log: Backend Implementation","titles":[]},"79":{"title":"Hashing and Verification Logic","titles":["Audit Log: Backend Implementation"]},"80":{"title":"Hash Calculation","titles":["Audit Log: Backend Implementation","Hashing and Verification Logic"]},"81":{"title":"Verification Process","titles":["Audit Log: Backend Implementation","Hashing and Verification Logic"]},"82":{"title":"Service Integration","titles":["Audit Log: Backend Implementation"]},"83":{"title":"Audit Log: User Interface","titles":[]},"84":{"title":"Viewing Audit Logs","titles":["Audit Log: User Interface"]},"85":{"title":"Filtering and Sorting","titles":["Audit Log: User Interface"]},"86":{"title":"Pagination","titles":["Audit Log: User Interface"]},"87":{"title":"Verifying Log Integrity","titles":["Audit Log: User Interface"]},"88":{"title":"Verification Responses","titles":["Audit Log: User Interface","Verifying Log Integrity"]},"89":{"title":"Viewing Log Details","titles":["Audit Log: User Interface"]},"90":{"title":"Audit Log","titles":[]},"91":{"title":"Core Principles","titles":["Audit Log"]},"92":{"title":"1. Immutability","titles":["Audit Log","Core Principles"]},"93":{"title":"2. Completeness","titles":["Audit Log","Core Principles"]},"94":{"title":"3. Attribution","titles":["Audit Log","Core Principles"]},"95":{"title":"4. Clarity and Detail","titles":["Audit Log","Core Principles"]},"96":{"title":"5. Verifiability","titles":["Audit Log","Core Principles"]},"97":{"title":"Legal Holds: API Endpoints","titles":[]},"98":{"title":"Hold Management Endpoints","titles":["Legal Holds: API Endpoints"]},"99":{"title":"List All Holds","titles":["Legal Holds: API Endpoints","Hold Management Endpoints"]},"100":{"title":"Response Body","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","List All Holds"]},"101":{"title":"Get Hold by ID","titles":["Legal Holds: API Endpoints","Hold Management Endpoints"]},"102":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Get Hold by ID"]},"103":{"title":"Response","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Get Hold by ID"]},"104":{"title":"Create Hold","titles":["Legal Holds: API Endpoints","Hold Management Endpoints"]},"105":{"title":"Request Body","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Create Hold"]},"106":{"title":"Example Request","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Create Hold"]},"107":{"title":"Response","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Create Hold"]},"108":{"title":"Update Hold","titles":["Legal Holds: API Endpoints","Hold Management Endpoints"]},"109":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Update Hold"]},"110":{"title":"Request Body","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Update Hold"]},"111":{"title":"Example — Deactivate a Hold","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Update Hold"]},"112":{"title":"Response","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Update Hold"]},"113":{"title":"Delete Hold","titles":["Legal Holds: API Endpoints","Hold Management Endpoints"]},"114":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Delete Hold"]},"115":{"title":"Response","titles":["Legal Holds: API Endpoints","Hold Management Endpoints","Delete Hold"]},"116":{"title":"Bulk Operations","titles":["Legal Holds: API Endpoints"]},"117":{"title":"Bulk Apply Hold via Search Query","titles":["Legal Holds: API Endpoints","Bulk Operations"]},"118":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Bulk Operations","Bulk Apply Hold via Search Query"]},"119":{"title":"Request Body","titles":["Legal Holds: API Endpoints","Bulk Operations","Bulk Apply Hold via Search Query"]},"120":{"title":"searchQuery Object","titles":["Legal Holds: API Endpoints","Bulk Operations","Bulk Apply Hold via Search Query","Request Body"]},"121":{"title":"Example Request","titles":["Legal Holds: API Endpoints","Bulk Operations","Bulk Apply Hold via Search Query"]},"122":{"title":"Response Body","titles":["Legal Holds: API Endpoints","Bulk Operations","Bulk Apply Hold via Search Query"]},"123":{"title":"Response Codes","titles":["Legal Holds: API Endpoints","Bulk Operations","Bulk Apply Hold via Search Query"]},"124":{"title":"Release All Emails from Hold","titles":["Legal Holds: API Endpoints","Bulk Operations"]},"125":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Bulk Operations","Release All Emails from Hold"]},"126":{"title":"Response Body","titles":["Legal Holds: API Endpoints","Bulk Operations","Release All Emails from Hold"]},"127":{"title":"Response Codes","titles":["Legal Holds: API Endpoints","Bulk Operations","Release All Emails from Hold"]},"128":{"title":"Per-Email Hold Endpoints","titles":["Legal Holds: API Endpoints"]},"129":{"title":"Get Holds Applied to an Email","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints"]},"130":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Get Holds Applied to an Email"]},"131":{"title":"Response Body","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Get Holds Applied to an Email"]},"132":{"title":"Response Codes","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Get Holds Applied to an Email"]},"133":{"title":"Apply a Hold to a Specific Email","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints"]},"134":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Apply a Hold to a Specific Email"]},"135":{"title":"Request Body","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Apply a Hold to a Specific Email"]},"136":{"title":"Example Request","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Apply a Hold to a Specific Email"]},"137":{"title":"Response Body","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Apply a Hold to a Specific Email"]},"138":{"title":"Response Codes","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Apply a Hold to a Specific Email"]},"139":{"title":"Remove a Hold from a Specific Email","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints"]},"140":{"title":"Path Parameters","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Remove a Hold from a Specific Email"]},"141":{"title":"Response Body","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Remove a Hold from a Specific Email"]},"142":{"title":"Response Codes","titles":["Legal Holds: API Endpoints","Per-Email Hold Endpoints","Remove a Hold from a Specific Email"]},"143":{"title":"Error Responses","titles":["Legal Holds: API Endpoints"]},"144":{"title":"Validation Constraints","titles":["Legal Holds: API Endpoints"]},"145":{"title":"Legal Holds: User Interface Guide","titles":[]},"146":{"title":"Overview","titles":["Legal Holds: User Interface Guide"]},"147":{"title":"Holds Table","titles":["Legal Holds: User Interface Guide"]},"148":{"title":"Creating a Hold","titles":["Legal Holds: User Interface Guide"]},"149":{"title":"Form Fields","titles":["Legal Holds: User Interface Guide","Creating a Hold"]},"150":{"title":"After Creation","titles":["Legal Holds: User Interface Guide","Creating a Hold"]},"151":{"title":"Editing a Hold","titles":["Legal Holds: User Interface Guide"]},"152":{"title":"Activating and Deactivating a Hold","titles":["Legal Holds: User Interface Guide"]},"153":{"title":"Deleting a Hold","titles":["Legal Holds: User Interface Guide"]},"154":{"title":"Bulk Apply","titles":["Legal Holds: User Interface Guide"]},"155":{"title":"Search Fields","titles":["Legal Holds: User Interface Guide","Bulk Apply"]},"156":{"title":"What Happens During Bulk Apply","titles":["Legal Holds: User Interface Guide","Bulk Apply"]},"157":{"title":"Bulk Apply and the Audit Log","titles":["Legal Holds: User Interface Guide","Bulk Apply"]},"158":{"title":"Release All Emails","titles":["Legal Holds: User Interface Guide"]},"159":{"title":"Per-Email Hold Controls","titles":["Legal Holds: User Interface Guide"]},"160":{"title":"Viewing Holds on a Specific Email","titles":["Legal Holds: User Interface Guide","Per-Email Hold Controls"]},"161":{"title":"Applying a Hold to a Specific Email","titles":["Legal Holds: User Interface Guide","Per-Email Hold Controls"]},"162":{"title":"Removing a Hold from a Specific Email","titles":["Legal Holds: User Interface Guide","Per-Email Hold Controls"]},"163":{"title":"Delete Button Behaviour Under a Hold","titles":["Legal Holds: User Interface Guide","Per-Email Hold Controls"]},"164":{"title":"Permissions Reference","titles":["Legal Holds: User Interface Guide"]},"165":{"title":"Workflow: Responding to a Litigation Notice","titles":["Legal Holds: User Interface Guide"]},"166":{"title":"Troubleshooting","titles":["Legal Holds: User Interface Guide"]},"167":{"title":"Cannot Delete Hold — "Cannot delete an active legal hold"","titles":["Legal Holds: User Interface Guide","Troubleshooting"]},"168":{"title":"Bulk Apply Returns 0 Emails","titles":["Legal Holds: User Interface Guide","Troubleshooting"]},"169":{"title":"Delete Email Returns an Error Instead of Deleting","titles":["Legal Holds: User Interface Guide","Troubleshooting"]},"170":{"title":"Hold Emails Count Shows 0 After Bulk Apply","titles":["Legal Holds: User Interface Guide","Troubleshooting"]},"171":{"title":"Legal Holds","titles":[]},"172":{"title":"Core Principles","titles":["Legal Holds"]},"173":{"title":"1. Absolute Immunity — Highest Precedence in the Lifecycle Pipeline","titles":["Legal Holds","Core Principles"]},"174":{"title":"2. Many-to-Many Relationship","titles":["Legal Holds","Core Principles"]},"175":{"title":"3. Active/Inactive State Management","titles":["Legal Holds","Core Principles"]},"176":{"title":"4. Bulk Preservation via Search Queries","titles":["Legal Holds","Core Principles"]},"177":{"title":"5. GoBD Audit Trail","titles":["Legal Holds","Core Principles"]},"178":{"title":"Feature Requirements","titles":["Legal Holds"]},"179":{"title":"Use Cases","titles":["Legal Holds"]},"180":{"title":"Active Litigation Hold","titles":["Legal Holds","Use Cases"]},"181":{"title":"Regulatory Investigation","titles":["Legal Holds","Use Cases"]},"182":{"title":"Tax Audit","titles":["Legal Holds","Use Cases"]},"183":{"title":"eDiscovery Case Management","titles":["Legal Holds","Use Cases"]},"184":{"title":"Architecture Overview","titles":["Legal Holds"]},"185":{"title":"Data Model","titles":["Legal Holds"]},"186":{"title":"legal_holds Table","titles":["Legal Holds","Data Model"]},"187":{"title":"email_legal_holds Join Table","titles":["Legal Holds","Data Model"]},"188":{"title":"Integration Points","titles":["Legal Holds"]},"189":{"title":"RetentionHook (Deletion Guard)","titles":["Legal Holds","Integration Points"]},"190":{"title":"Lifecycle Worker","titles":["Legal Holds","Integration Points"]},"191":{"title":"Audit Log","titles":["Legal Holds","Integration Points"]},"192":{"title":"Retention Labels: API Endpoints","titles":[]},"193":{"title":"Label Management Endpoints","titles":["Retention Labels: API Endpoints"]},"194":{"title":"List All Labels","titles":["Retention Labels: API Endpoints","Label Management Endpoints"]},"195":{"title":"Response Body","titles":["Retention Labels: API Endpoints","Label Management Endpoints","List All Labels"]},"196":{"title":"Get Label by ID","titles":["Retention Labels: API Endpoints","Label Management Endpoints"]},"197":{"title":"Path Parameters","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Get Label by ID"]},"198":{"title":"Response Body","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Get Label by ID"]},"199":{"title":"Create Label","titles":["Retention Labels: API Endpoints","Label Management Endpoints"]},"200":{"title":"Request Body","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Create Label"]},"201":{"title":"Example Request","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Create Label"]},"202":{"title":"Response","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Create Label"]},"203":{"title":"Update Label","titles":["Retention Labels: API Endpoints","Label Management Endpoints"]},"204":{"title":"Path Parameters","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Update Label"]},"205":{"title":"Request Body","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Update Label"]},"206":{"title":"Example Request","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Update Label"]},"207":{"title":"Response","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Update Label"]},"208":{"title":"Delete Label","titles":["Retention Labels: API Endpoints","Label Management Endpoints"]},"209":{"title":"Path Parameters","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Delete Label"]},"210":{"title":"Deletion Logic","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Delete Label"]},"211":{"title":"Response Body","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Delete Label"]},"212":{"title":"Response Codes","titles":["Retention Labels: API Endpoints","Label Management Endpoints","Delete Label"]},"213":{"title":"Email Label Endpoints","titles":["Retention Labels: API Endpoints"]},"214":{"title":"Get Email\'s Label","titles":["Retention Labels: API Endpoints","Email Label Endpoints"]},"215":{"title":"Path Parameters","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Get Email\'s Label"]},"216":{"title":"Response Body","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Get Email\'s Label"]},"217":{"title":"Response Codes","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Get Email\'s Label"]},"218":{"title":"Apply Label to Email","titles":["Retention Labels: API Endpoints","Email Label Endpoints"]},"219":{"title":"Path Parameters","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Apply Label to Email"]},"220":{"title":"Request Body","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Apply Label to Email"]},"221":{"title":"Example Request","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Apply Label to Email"]},"222":{"title":"Response Body","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Apply Label to Email"]},"223":{"title":"Response Codes","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Apply Label to Email"]},"224":{"title":"Remove Label from Email","titles":["Retention Labels: API Endpoints","Email Label Endpoints"]},"225":{"title":"Path Parameters","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Remove Label from Email"]},"226":{"title":"Response Body","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Remove Label from Email"]},"227":{"title":"Response Codes","titles":["Retention Labels: API Endpoints","Email Label Endpoints","Remove Label from Email"]},"228":{"title":"Error Responses","titles":["Retention Labels: API Endpoints"]},"229":{"title":"Validation Constraints","titles":["Retention Labels: API Endpoints"]},"230":{"title":"Retention Labels: Automated Application Guide","titles":[]},"231":{"title":"Overview","titles":["Retention Labels: Automated Application Guide"]},"232":{"title":"Common Use Cases","titles":["Retention Labels: Automated Application Guide"]},"233":{"title":"1. Financial Document Classification","titles":["Retention Labels: Automated Application Guide","Common Use Cases"]},"234":{"title":"2. Legal and Compliance Tagging","titles":["Retention Labels: Automated Application Guide","Common Use Cases"]},"235":{"title":"3. Executive Communication Preservation","titles":["Retention Labels: Automated Application Guide","Common Use Cases"]},"236":{"title":"4. Data Classification Integration","titles":["Retention Labels: Automated Application Guide","Common Use Cases"]},"237":{"title":"5. Project-Based Retention","titles":["Retention Labels: Automated Application Guide","Common Use Cases"]},"238":{"title":"API Workflow","titles":["Retention Labels: Automated Application Guide"]},"239":{"title":"Step 1: Authentication Setup","titles":["Retention Labels: Automated Application Guide","API Workflow"]},"240":{"title":"Step 2: Identify Target Emails","titles":["Retention Labels: Automated Application Guide","API Workflow"]},"241":{"title":"Step 3: Check Current Label Status","titles":["Retention Labels: Automated Application Guide","API Workflow"]},"242":{"title":"Step 4: Apply Retention Label","titles":["Retention Labels: Automated Application Guide","API Workflow"]},"243":{"title":"Step 5: Verify Application","titles":["Retention Labels: Automated Application Guide","API Workflow"]},"244":{"title":"Label Management","titles":["Retention Labels: Automated Application Guide"]},"245":{"title":"Getting Available Labels","titles":["Retention Labels: Automated Application Guide","Label Management"]},"246":{"title":"Label Selection Strategy","titles":["Retention Labels: Automated Application Guide","Label Management"]},"247":{"title":"Implementation Patterns","titles":["Retention Labels: Automated Application Guide"]},"248":{"title":"Pattern 1: Post-Ingestion Processing","titles":["Retention Labels: Automated Application Guide","Implementation Patterns"]},"249":{"title":"Pattern 2: Batch Processing","titles":["Retention Labels: Automated Application Guide","Implementation Patterns"]},"250":{"title":"Pattern 3: Event-Driven Tagging","titles":["Retention Labels: Automated Application Guide","Implementation Patterns"]},"251":{"title":"Authentication and Security","titles":["Retention Labels: Automated Application Guide"]},"252":{"title":"API Key Management","titles":["Retention Labels: Automated Application Guide","Authentication and Security"]},"253":{"title":"Request Authentication","titles":["Retention Labels: Automated Application Guide","Authentication and Security"]},"254":{"title":"Error Handling","titles":["Retention Labels: Automated Application Guide"]},"255":{"title":"Common Error Scenarios","titles":["Retention Labels: Automated Application Guide","Error Handling"]},"256":{"title":"Best Practices","titles":["Retention Labels: Automated Application Guide","Error Handling"]},"257":{"title":"Performance Considerations","titles":["Retention Labels: Automated Application Guide"]},"258":{"title":"Rate Limiting","titles":["Retention Labels: Automated Application Guide","Performance Considerations"]},"259":{"title":"Efficiency Tips","titles":["Retention Labels: Automated Application Guide","Performance Considerations"]},"260":{"title":"Monitoring and Auditing","titles":["Retention Labels: Automated Application Guide"]},"261":{"title":"Logging Recommendations","titles":["Retention Labels: Automated Application Guide","Monitoring and Auditing"]},"262":{"title":"Audit Trail","titles":["Retention Labels: Automated Application Guide","Monitoring and Auditing"]},"263":{"title":"Integration Examples","titles":["Retention Labels: Automated Application Guide"]},"264":{"title":"Scenario: Invoice Processing System","titles":["Retention Labels: Automated Application Guide","Integration Examples"]},"265":{"title":"Scenario: Legal Hold Implementation","titles":["Retention Labels: Automated Application Guide","Integration Examples"]},"266":{"title":"Scenario: Data Classification Integration","titles":["Retention Labels: Automated Application Guide","Integration Examples"]},"267":{"title":"Getting Started","titles":["Retention Labels: Automated Application Guide"]},"268":{"title":"Retention Labels","titles":[]},"269":{"title":"Core Principles","titles":["Retention Labels"]},"270":{"title":"1. Item-Level Retention Override","titles":["Retention Labels","Core Principles"]},"271":{"title":"2. One Label Per Email","titles":["Retention Labels","Core Principles"]},"272":{"title":"3. Deletion Behavior","titles":["Retention Labels","Core Principles"]},"273":{"title":"4. Immutable Retention Period","titles":["Retention Labels","Core Principles"]},"274":{"title":"5. User Attribution and Audit Trail","titles":["Retention Labels","Core Principles"]},"275":{"title":"6. Lifecycle Integration","titles":["Retention Labels","Core Principles"]},"276":{"title":"Feature Requirements","titles":["Retention Labels"]},"277":{"title":"Use Cases","titles":["Retention Labels"]},"278":{"title":"Legal Hold Alternative","titles":["Retention Labels","Use Cases"]},"279":{"title":"Executive Communications","titles":["Retention Labels","Use Cases"]},"280":{"title":"Regulatory Exceptions","titles":["Retention Labels","Use Cases"]},"281":{"title":"Project-Specific Retention","titles":["Retention Labels","Use Cases"]},"282":{"title":"Architecture Overview","titles":["Retention Labels"]},"283":{"title":"Data Model","titles":["Retention Labels"]},"284":{"title":"Retention Labels Table","titles":["Retention Labels","Data Model"]},"285":{"title":"Email Label Applications Table","titles":["Retention Labels","Data Model"]},"286":{"title":"Integration Points","titles":["Retention Labels"]},"287":{"title":"Lifecycle Worker","titles":["Retention Labels","Integration Points"]},"288":{"title":"Audit Log","titles":["Retention Labels","Integration Points"]},"289":{"title":"Email Detail Pages","titles":["Retention Labels","Integration Points"]},"290":{"title":"Retention Labels: User Interface Guide","titles":[]},"291":{"title":"Overview","titles":["Retention Labels: User Interface Guide"]},"292":{"title":"Labels Table","titles":["Retention Labels: User Interface Guide"]},"293":{"title":"Creating a Label","titles":["Retention Labels: User Interface Guide"]},"294":{"title":"Form Fields","titles":["Retention Labels: User Interface Guide","Creating a Label"]},"295":{"title":"Example Labels","titles":["Retention Labels: User Interface Guide","Creating a Label"]},"296":{"title":"Success and Error Handling","titles":["Retention Labels: User Interface Guide","Creating a Label"]},"297":{"title":"Editing a Label","titles":["Retention Labels: User Interface Guide"]},"298":{"title":"Editable Fields","titles":["Retention Labels: User Interface Guide","Editing a Label"]},"299":{"title":"Retention Period Restrictions","titles":["Retention Labels: User Interface Guide","Editing a Label"]},"300":{"title":"Update Process","titles":["Retention Labels: User Interface Guide","Editing a Label"]},"301":{"title":"Deleting a Label","titles":["Retention Labels: User Interface Guide"]},"302":{"title":"Smart Deletion Behavior","titles":["Retention Labels: User Interface Guide","Deleting a Label"]},"303":{"title":"Hard Delete","titles":["Retention Labels: User Interface Guide","Deleting a Label","Smart Deletion Behavior"]},"304":{"title":"Soft Disable","titles":["Retention Labels: User Interface Guide","Deleting a Label","Smart Deletion Behavior"]},"305":{"title":"Confirmation Dialog","titles":["Retention Labels: User Interface Guide","Deleting a Label"]},"306":{"title":"Applying Labels to Emails","titles":["Retention Labels: User Interface Guide"]},"307":{"title":"From Email Detail Page","titles":["Retention Labels: User Interface Guide","Applying Labels to Emails"]},"308":{"title":"Label Application Process","titles":["Retention Labels: User Interface Guide","Applying Labels to Emails"]},"309":{"title":"One Label Per Email Rule","titles":["Retention Labels: User Interface Guide","Applying Labels to Emails"]},"310":{"title":"Permissions Required","titles":["Retention Labels: User Interface Guide"]},"311":{"title":"Label Management","titles":["Retention Labels: User Interface Guide","Permissions Required"]},"312":{"title":"Email Label Operations","titles":["Retention Labels: User Interface Guide","Permissions Required"]},"313":{"title":"Status Indicators","titles":["Retention Labels: User Interface Guide"]},"314":{"title":"Enabled Labels (Green Badge)","titles":["Retention Labels: User Interface Guide","Status Indicators"]},"315":{"title":"Disabled Labels (Gray Badge)","titles":["Retention Labels: User Interface Guide","Status Indicators"]},"316":{"title":"Best Practices","titles":["Retention Labels: User Interface Guide"]},"317":{"title":"Naming Conventions","titles":["Retention Labels: User Interface Guide","Best Practices"]},"318":{"title":"Descriptions","titles":["Retention Labels: User Interface Guide","Best Practices"]},"319":{"title":"Retention Periods","titles":["Retention Labels: User Interface Guide","Best Practices"]},"320":{"title":"Label Lifecycle","titles":["Retention Labels: User Interface Guide","Best Practices"]},"321":{"title":"Troubleshooting","titles":["Retention Labels: User Interface Guide"]},"322":{"title":"Cannot Edit Retention Period","titles":["Retention Labels: User Interface Guide","Troubleshooting"]},"323":{"title":"Label Not Appearing in Email Application Dropdown","titles":["Retention Labels: User Interface Guide","Troubleshooting"]},"324":{"title":"Cannot Delete Label","titles":["Retention Labels: User Interface Guide","Troubleshooting"]},"325":{"title":"Permission Denied Errors","titles":["Retention Labels: User Interface Guide","Troubleshooting"]},"326":{"title":"Retention Policy: API Endpoints","titles":[]},"327":{"title":"List All Policies","titles":["Retention Policy: API Endpoints"]},"328":{"title":"Response Body","titles":["Retention Policy: API Endpoints","List All Policies"]},"329":{"title":"Get Policy by ID","titles":["Retention Policy: API Endpoints"]},"330":{"title":"Path Parameters","titles":["Retention Policy: API Endpoints","Get Policy by ID"]},"331":{"title":"Response Body","titles":["Retention Policy: API Endpoints","Get Policy by ID"]},"332":{"title":"Create Policy","titles":["Retention Policy: API Endpoints"]},"333":{"title":"Request Body","titles":["Retention Policy: API Endpoints","Create Policy"]},"334":{"title":"Conditions (RuleGroup) Schema","titles":["Retention Policy: API Endpoints","Create Policy","Request Body"]},"335":{"title":"Example Request","titles":["Retention Policy: API Endpoints","Create Policy"]},"336":{"title":"Response","titles":["Retention Policy: API Endpoints","Create Policy"]},"337":{"title":"Update Policy","titles":["Retention Policy: API Endpoints"]},"338":{"title":"Path Parameters","titles":["Retention Policy: API Endpoints","Update Policy"]},"339":{"title":"Request Body","titles":["Retention Policy: API Endpoints","Update Policy"]},"340":{"title":"Response","titles":["Retention Policy: API Endpoints","Update Policy"]},"341":{"title":"Delete Policy","titles":["Retention Policy: API Endpoints"]},"342":{"title":"Path Parameters","titles":["Retention Policy: API Endpoints","Delete Policy"]},"343":{"title":"Response","titles":["Retention Policy: API Endpoints","Delete Policy"]},"344":{"title":"Evaluate Email (Policy Simulator)","titles":["Retention Policy: API Endpoints"]},"345":{"title":"Request Body","titles":["Retention Policy: API Endpoints","Evaluate Email (Policy Simulator)"]},"346":{"title":"Example Request","titles":["Retention Policy: API Endpoints","Evaluate Email (Policy Simulator)"]},"347":{"title":"Response Body","titles":["Retention Policy: API Endpoints","Evaluate Email (Policy Simulator)"]},"348":{"title":"Response Codes","titles":["Retention Policy: API Endpoints","Evaluate Email (Policy Simulator)"]},"349":{"title":"Retention Policy","titles":[]},"350":{"title":"Core Principles","titles":["Retention Policy"]},"351":{"title":"1. Policy-Based Automation","titles":["Retention Policy","Core Principles"]},"352":{"title":"2. Condition-Based Targeting","titles":["Retention Policy","Core Principles"]},"353":{"title":"3. Ingestion Scope","titles":["Retention Policy","Core Principles"]},"354":{"title":"4. Priority and Max-Duration-Wins","titles":["Retention Policy","Core Principles"]},"355":{"title":"5. Full Audit Trail","titles":["Retention Policy","Core Principles"]},"356":{"title":"6. Fail-Safe Behavior","titles":["Retention Policy","Core Principles"]},"357":{"title":"Feature Requirements","titles":["Retention Policy"]},"358":{"title":"Architecture Overview","titles":["Retention Policy"]},"359":{"title":"Retention Policy: Lifecycle Worker","titles":[]},"360":{"title":"Location","titles":["Retention Policy: Lifecycle Worker"]},"361":{"title":"How It Works","titles":["Retention Policy: Lifecycle Worker"]},"362":{"title":"Scheduling","titles":["Retention Policy: Lifecycle Worker","How It Works"]},"363":{"title":"Batch Processing","titles":["Retention Policy: Lifecycle Worker","How It Works"]},"364":{"title":"Per-Email Processing Flow","titles":["Retention Policy: Lifecycle Worker","How It Works"]},"365":{"title":"Error Handling","titles":["Retention Policy: Lifecycle Worker","How It Works"]},"366":{"title":"System Actor","titles":["Retention Policy: Lifecycle Worker"]},"367":{"title":"Audit Trail","titles":["Retention Policy: Lifecycle Worker"]},"368":{"title":"Configuration","titles":["Retention Policy: Lifecycle Worker"]},"369":{"title":"BullMQ Worker Settings","titles":["Retention Policy: Lifecycle Worker"]},"370":{"title":"Integration with Deletion Guard","titles":["Retention Policy: Lifecycle Worker"]},"371":{"title":"Retention Policy: User Interface","titles":[]},"372":{"title":"Policy Table","titles":["Retention Policy: User Interface"]},"373":{"title":"Creating a Policy","titles":["Retention Policy: User Interface"]},"374":{"title":"Basic Information","titles":["Retention Policy: User Interface","Creating a Policy"]},"375":{"title":"Ingestion Scope","titles":["Retention Policy: User Interface","Creating a Policy"]},"376":{"title":"Condition Rules","titles":["Retention Policy: User Interface","Creating a Policy"]},"377":{"title":"Supported Operators","titles":["Retention Policy: User Interface","Creating a Policy"]},"378":{"title":"Policy Status","titles":["Retention Policy: User Interface","Creating a Policy"]},"379":{"title":"Editing a Policy","titles":["Retention Policy: User Interface"]},"380":{"title":"Deleting a Policy","titles":["Retention Policy: User Interface"]},"381":{"title":"Policy Simulator","titles":["Retention Policy: User Interface"]},"382":{"title":"Simulator Input Fields","titles":["Retention Policy: User Interface","Policy Simulator"]},"383":{"title":"Simulator Results","titles":["Retention Policy: User Interface","Policy Simulator"]},"384":{"title":"Retention Policy: Backend Implementation","titles":[]},"385":{"title":"Database Schema","titles":["Retention Policy: Backend Implementation"]},"386":{"title":"CRUD Operations","titles":["Retention Policy: Backend Implementation"]},"387":{"title":"createPolicy(data, actorId, actorIp)","titles":["Retention Policy: Backend Implementation","CRUD Operations"]},"388":{"title":"getPolicies()","titles":["Retention Policy: Backend Implementation","CRUD Operations"]},"389":{"title":"getPolicyById(id)","titles":["Retention Policy: Backend Implementation","CRUD Operations"]},"390":{"title":"updatePolicy(id, data, actorId, actorIp)","titles":["Retention Policy: Backend Implementation","CRUD Operations"]},"391":{"title":"deletePolicy(id, actorId, actorIp)","titles":["Retention Policy: Backend Implementation","CRUD Operations"]},"392":{"title":"Evaluation Engine","titles":["Retention Policy: Backend Implementation"]},"393":{"title":"evaluateEmail(metadata)","titles":["Retention Policy: Backend Implementation","Evaluation Engine"]},"394":{"title":"_evaluateRuleGroup(group, metadata)","titles":["Retention Policy: Backend Implementation","Evaluation Engine"]},"395":{"title":"_evaluateRule(rule, metadata)","titles":["Retention Policy: Backend Implementation","Evaluation Engine"]},"396":{"title":"_applyOperator(haystack, operator, needle)","titles":["Retention Policy: Backend Implementation","Evaluation Engine"]},"397":{"title":"Security: regex_match Safeguards","titles":["Retention Policy: Backend Implementation","Evaluation Engine"]},"398":{"title":"Request Validation","titles":["Retention Policy: Backend Implementation"]},"399":{"title":"Module Registration","titles":["Retention Policy: Backend Implementation"]},"400":{"title":"IAM Policy","titles":[]},"401":{"title":"Policy Structure","titles":["IAM Policy"]},"402":{"title":"Actions","titles":["IAM Policy"]},"403":{"title":"Subjects","titles":["IAM Policy"]},"404":{"title":"Advanced Conditions with MongoDB-Style Queries","titles":["IAM Policy"]},"405":{"title":"Supported Operators and Examples","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries"]},"406":{"title":"$eq (Equal)","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries","Supported Operators and Examples"]},"407":{"title":"$ne (Not Equal)","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries","Supported Operators and Examples"]},"408":{"title":"$in (In Array)","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries","Supported Operators and Examples"]},"409":{"title":"$nin (Not In Array)","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries","Supported Operators and Examples"]},"410":{"title":"$lt / $lte (Less Than / Less Than or Equal)","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries","Supported Operators and Examples"]},"411":{"title":"$gt / $gte (Greater Than / Greater Than or Equal)","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries","Supported Operators and Examples"]},"412":{"title":"$exists","titles":["IAM Policy","Advanced Conditions with MongoDB-Style Queries","Supported Operators and Examples"]},"413":{"title":"Inverted Rules: Creating Exceptions with cannot","titles":["IAM Policy"]},"414":{"title":"Policy Evaluation Logic","titles":["IAM Policy"]},"415":{"title":"Dynamic Policies with Placeholders","titles":["IAM Policy","Policy Evaluation Logic"]},"416":{"title":"Special Permissions for User and Role Management","titles":["IAM Policy"]},"417":{"title":"Policy Examples","titles":["IAM Policy"]},"418":{"title":"Administrator","titles":["IAM Policy","Policy Examples"]},"419":{"title":"End-User","titles":["IAM Policy","Policy Examples"]},"420":{"title":"Global Read-Only Auditor","titles":["IAM Policy","Policy Examples"]},"421":{"title":"Ingestion Admin","titles":["IAM Policy","Policy Examples"]},"422":{"title":"Auditor for Specific Ingestion Sources","titles":["IAM Policy","Policy Examples"]},"423":{"title":"Limit Access to a Specific Mailbox","titles":["IAM Policy","Policy Examples"]},"424":{"title":"services","titles":[]},"425":{"title":"Get Started 👋","titles":[]},"426":{"title":"What is Open Archiver?","titles":["Get Started 👋"]},"427":{"title":"Key Features","titles":["Get Started 👋"]},"428":{"title":"Installation","titles":["Get Started 👋"]},"429":{"title":"Data Source Configuration 🔌","titles":["Get Started 👋"]},"430":{"title":"Contributing","titles":["Get Started 👋"]},"431":{"title":"Job Queue Service","titles":[]},"432":{"title":"Architecture","titles":["Job Queue Service"]},"433":{"title":"Queues","titles":["Job Queue Service","Architecture"]},"434":{"title":"Job Flow","titles":["Job Queue Service","Architecture"]},"435":{"title":"Sync Cycle Coordination","titles":["Job Queue Service"]},"436":{"title":"Session Heartbeat","titles":["Job Queue Service","Sync Cycle Coordination"]},"437":{"title":"Stale Session Detection","titles":["Job Queue Service","Sync Cycle Coordination"]},"438":{"title":"Configuration","titles":["Job Queue Service"]},"439":{"title":"Tuning INGESTION_WORKER_CONCURRENCY","titles":["Job Queue Service","Configuration"]},"440":{"title":"Tuning MEILI_INDEXING_BATCH","titles":["Job Queue Service","Configuration"]},"441":{"title":"Resilience","titles":["Job Queue Service"]},"442":{"title":"OCR Service","titles":[]},"443":{"title":"Overview","titles":["OCR Service"]},"444":{"title":"Configuration","titles":["OCR Service"]},"445":{"title":"File Size Limits","titles":["OCR Service"]},"446":{"title":"Supported File Formats","titles":["OCR Service"]},"447":{"title":"With Apache Tika","titles":["OCR Service","Supported File Formats"]},"448":{"title":"With Legacy Fallback","titles":["OCR Service","Supported File Formats"]},"449":{"title":"Features of the Tika Integration (OcrService)","titles":["OCR Service"]},"450":{"title":"Caching","titles":["OCR Service","Features of the Tika Integration (OcrService)"]},"451":{"title":"Concurrency Management (Semaphore)","titles":["OCR Service","Features of the Tika Integration (OcrService)"]},"452":{"title":"Health Check and DNS Fallback","titles":["OCR Service","Features of the Tika Integration (OcrService)"]},"453":{"title":"Legacy Fallback Methods","titles":["OCR Service"]},"454":{"title":"Pluggable Storage Service (StorageService)","titles":[]},"455":{"title":"Overview","titles":["Pluggable Storage Service (StorageService)"]},"456":{"title":"Configuration","titles":["Pluggable Storage Service (StorageService)"]},"457":{"title":"1. Choosing the Backend","titles":["Pluggable Storage Service (StorageService)","Configuration"]},"458":{"title":"2. Local Filesystem Configuration","titles":["Pluggable Storage Service (StorageService)","Configuration"]},"459":{"title":"3. S3-Compatible Storage Configuration","titles":["Pluggable Storage Service (StorageService)","Configuration"]},"460":{"title":"How to Use the Service","titles":["Pluggable Storage Service (StorageService)"]},"461":{"title":"Example: Usage in IngestionService","titles":["Pluggable Storage Service (StorageService)","How to Use the Service"]},"462":{"title":"API Reference","titles":["Pluggable Storage Service (StorageService)"]},"463":{"title":"put(path, content)","titles":["Pluggable Storage Service (StorageService)","API Reference"]},"464":{"title":"get(path)","titles":["Pluggable Storage Service (StorageService)","API Reference"]},"465":{"title":"delete(path)","titles":["Pluggable Storage Service (StorageService)","API Reference"]},"466":{"title":"exists(path)","titles":["Pluggable Storage Service (StorageService)","API Reference"]},"467":{"title":"EML Import","titles":[]},"468":{"title":"Preparing the Zip File","titles":["EML Import"]},"469":{"title":"Creating an EML Ingestion Source","titles":["EML Import"]},"470":{"title":"Connecting to a Generic IMAP Server","titles":[]},"471":{"title":"Step-by-Step Guide","titles":["Connecting to a Generic IMAP Server"]},"472":{"title":"Security Recommendation: Use an App Password","titles":["Connecting to a Generic IMAP Server"]},"473":{"title":"How to Obtain an App Password for Gmail","titles":["Connecting to a Generic IMAP Server","Security Recommendation: Use an App Password"]},"474":{"title":"How to Obtain an App Password for Outlook/Microsoft Accounts","titles":["Connecting to a Generic IMAP Server","Security Recommendation: Use an App Password"]},"475":{"title":"What Happens Next?","titles":["Connecting to a Generic IMAP Server"]},"476":{"title":"Connecting Email Providers","titles":[]},"477":{"title":"Mbox Ingestion","titles":[]},"478":{"title":"1. Exporting from Your Email Client","titles":["Mbox Ingestion"]},"479":{"title":"2. Uploading to OpenArchiver","titles":["Mbox Ingestion"]},"480":{"title":"3. Folder Structure","titles":["Mbox Ingestion"]},"481":{"title":"Merging Ingestion Sources","titles":[]},"482":{"title":"Concepts","titles":["Merging Ingestion Sources"]},"483":{"title":"Root Ownership — How Storage and Data Work","titles":["Merging Ingestion Sources"]},"484":{"title":"When to Use Merged Sources","titles":["Merging Ingestion Sources"]},"485":{"title":"How to Merge a New Source Into an Existing One","titles":["Merging Ingestion Sources"]},"486":{"title":"How Emails Appear When Merged","titles":["Merging Ingestion Sources"]},"487":{"title":"How Syncing Works","titles":["Merging Ingestion Sources"]},"488":{"title":"Deduplication Across the Group","titles":["Merging Ingestion Sources"]},"489":{"title":"Preserve Original File (GoBD Compliance) and Merged Sources","titles":["Merging Ingestion Sources"]},"490":{"title":"Editing Sources in a Group","titles":["Merging Ingestion Sources"]},"491":{"title":"Unmerging a Child Source","titles":["Merging Ingestion Sources"]},"492":{"title":"Deleting Sources in a Group","titles":["Merging Ingestion Sources"]},"493":{"title":"Known Limitations","titles":["Merging Ingestion Sources"]},"494":{"title":"Connecting to Microsoft 365","titles":[]},"495":{"title":"Prerequisites","titles":["Connecting to Microsoft 365"]},"496":{"title":"Setup Overview","titles":["Connecting to Microsoft 365"]},"497":{"title":"Part 1: Register a New Application in Microsoft Entra ID","titles":["Connecting to Microsoft 365","Setup Overview"]},"498":{"title":"Part 2: Grant API Permissions","titles":["Connecting to Microsoft 365","Setup Overview"]},"499":{"title":"Part 3: Create a Client Secret","titles":["Connecting to Microsoft 365","Setup Overview"]},"500":{"title":"Part 4: Connecting in OpenArchiver","titles":["Connecting to Microsoft 365","Setup Overview"]},"501":{"title":"What Happens Next?","titles":["Connecting to Microsoft 365"]},"502":{"title":"Connecting to Google Workspace","titles":[]},"503":{"title":"Prerequisites","titles":["Connecting to Google Workspace"]},"504":{"title":"Setup Overview","titles":["Connecting to Google Workspace"]},"505":{"title":"Part 1: Google Cloud Console Setup","titles":["Connecting to Google Workspace","Setup Overview"]},"506":{"title":"Troubleshooting","titles":["Connecting to Google Workspace","Setup Overview"]},"507":{"title":"Error: "iam.disableServiceAccountKeyCreation"","titles":["Connecting to Google Workspace","Setup Overview","Troubleshooting"]},"508":{"title":"Part 2: Grant Domain-Wide Delegation","titles":["Connecting to Google Workspace","Setup Overview"]},"509":{"title":"Part 3: Connecting in OpenArchiver","titles":["Connecting to Google Workspace","Setup Overview"]},"510":{"title":"What Happens Next?","titles":["Connecting to Google Workspace"]},"511":{"title":"PST Import","titles":[]},"512":{"title":"Preparing the PST File","titles":["PST Import"]},"513":{"title":"Creating a PST Ingestion Source","titles":["PST Import"]},"514":{"title":"Installation Guide","titles":[]},"515":{"title":"Prerequisites","titles":["Installation Guide"]},"516":{"title":"1. Clone the Repository","titles":["Installation Guide"]},"517":{"title":"2. Create a Directory for Local Storage (Important)","titles":["Installation Guide"]},"518":{"title":"3. Configure Your Environment","titles":["Installation Guide"]},"519":{"title":"Key Configuration Steps","titles":["Installation Guide","3. Configure Your Environment"]},"520":{"title":"Storage Configuration","titles":["Installation Guide","3. Configure Your Environment"]},"521":{"title":"Using External Services","titles":["Installation Guide","3. Configure Your Environment"]},"522":{"title":"Environment Variable Reference","titles":["Installation Guide","3. Configure Your Environment"]},"523":{"title":"Application Settings","titles":["Installation Guide","3. Configure Your Environment","Environment Variable Reference"]},"524":{"title":"Docker Compose Service Configuration","titles":["Installation Guide","3. Configure Your Environment","Environment Variable Reference"]},"525":{"title":"Storage Settings","titles":["Installation Guide","3. Configure Your Environment","Environment Variable Reference"]},"526":{"title":"Security & Authentication","titles":["Installation Guide","3. Configure Your Environment","Environment Variable Reference"]},"527":{"title":"Apache Tika Integration","titles":["Installation Guide","3. Configure Your Environment","Environment Variable Reference"]},"528":{"title":"4. Run the Application","titles":["Installation Guide"]},"529":{"title":"5. Access the Application","titles":["Installation Guide"]},"530":{"title":"6. Next Steps","titles":["Installation Guide"]},"531":{"title":"Updating Your Installation","titles":["Installation Guide"]},"532":{"title":"Deploying on Coolify","titles":["Installation Guide"]},"533":{"title":"Modify docker-compose.yml for Coolify","titles":["Installation Guide","Deploying on Coolify"]},"534":{"title":"Where is my data stored (When using local storage and Docker)?","titles":["Installation Guide"]},"535":{"title":"To save data to a specific folder","titles":["Installation Guide","Where is my data stored (When using local storage and Docker)?"]},"536":{"title":"Integrity Check","titles":[]},"537":{"title":"How It Works","titles":["Integrity Check"]},"538":{"title":"The Integrity Report","titles":["Integrity Check"]},"539":{"title":"Statuses","titles":["Integrity Check","The Integrity Report"]},"540":{"title":"Reasons for an "Invalid" Status","titles":["Integrity Check","The Integrity Report"]},"541":{"title":"What to Do If an Integrity Check Fails","titles":["Integrity Check"]},"542":{"title":"System Settings","titles":[]},"543":{"title":"Configuration","titles":["System Settings"]},"544":{"title":"Language","titles":["System Settings","Configuration"]},"545":{"title":"Default Theme","titles":["System Settings","Configuration"]},"546":{"title":"Support Email","titles":["System Settings","Configuration"]},"547":{"title":"Troubleshooting CORS Errors","titles":[]},"548":{"title":"Symptoms","titles":["Troubleshooting CORS Errors"]},"549":{"title":"Root Cause","titles":["Troubleshooting CORS Errors"]},"550":{"title":"Solution","titles":["Troubleshooting CORS Errors"]},"551":{"title":"Example Configuration","titles":["Troubleshooting CORS Errors","Solution"]},"552":{"title":"Upgrading Meilisearch","titles":[]},"553":{"title":"Experimental: Dumpless Upgrade","titles":["Upgrading Meilisearch"]},"554":{"title":"How to Enable","titles":["Upgrading Meilisearch","Experimental: Dumpless Upgrade"]},"555":{"title":"Standard Migration Process (Recommended)","titles":["Upgrading Meilisearch"]},"556":{"title":"Step 1: Create a Dump","titles":["Upgrading Meilisearch","Standard Migration Process (Recommended)"]},"557":{"title":"Step 2: Upgrade Your Open Archiver Instance","titles":["Upgrading Meilisearch","Standard Migration Process (Recommended)"]},"558":{"title":"Step 3: Import the Dump","titles":["Upgrading Meilisearch","Standard Migration Process (Recommended)"]},"559":{"title":"Step 4: Clean Up","titles":["Upgrading Meilisearch","Standard Migration Process (Recommended)"]},"560":{"title":"Upgrading Your Instance","titles":[]},"561":{"title":"Checking for New Versions","titles":["Upgrading Your Instance"]},"562":{"title":"Upgrading Your Instance","titles":["Upgrading Your Instance"]},"563":{"title":"Migrating Data","titles":["Upgrading Your Instance"]},"564":{"title":"Upgrading Meilisearch","titles":["Upgrading Your Instance"]}},"dirtCount":0,"index":[["⋮",{"2":{"490":1,"491":1}}],["└──",{"2":{"468":5}}],["└→",{"2":{"434":4}}],["│",{"2":{"468":4}}],["├──",{"2":{"468":4}}],["`failed",{"2":{"461":1}}],["`",{"2":{"461":2}}],["`successfully",{"2":{"461":1}}],["`$",{"2":{"461":1}}],["993",{"2":{"471":1}}],["9998",{"2":{"444":1,"452":1,"527":1}}],["900000",{"2":{"526":1}}],["9000",{"2":{"459":1}}],["9012",{"2":{"100":1,"347":1}}],["~50kb",{"2":{"439":1}}],["×",{"2":{"434":1}}],["🔌",{"0":{"429":1}}],["👋",{"0":{"425":1},"1":{"426":1,"427":1,"428":1,"429":1,"430":1}}],["$app",{"2":{"550":1}}],["$",{"2":{"415":1,"419":2,"461":3,"517":2}}],["$exists",{"0":{"412":1},"2":{"412":1}}],["$eq",{"0":{"406":1},"2":{"406":1}}],["$gte",{"0":{"411":1},"2":{"411":1}}],["$gt",{"0":{"411":1},"2":{"411":1}}],["$lte",{"0":{"410":1},"2":{"410":1}}],["$lt",{"0":{"410":1},"2":{"410":2,"411":1}}],["$nin",{"0":{"409":1},"2":{"409":1}}],["$ne",{"0":{"407":1},"2":{"407":1}}],["$in",{"0":{"408":1},"2":{"408":1,"422":2}}],["||",{"2":{"435":1}}],["|",{"2":{"333":2,"463":1}}],["6379",{"2":{"524":1}}],["6",{"0":{"275":1,"356":1,"530":1},"2":{"295":1}}],["60000",{"2":{"51":1}}],["zip",{"0":{"468":1},"2":{"447":1,"467":1,"468":5,"469":6}}],["zero",{"2":{"273":1,"393":1}}],["zod",{"2":{"184":1,"282":1,"358":1,"398":1}}],["7d",{"2":{"526":1}}],["7700",{"2":{"524":1,"556":1}}],["7",{"2":{"264":1,"295":1,"319":1,"328":2}}],["7+",{"2":{"233":1}}],["7890",{"2":{"100":1,"122":1,"131":1,"136":1,"137":1,"195":1,"216":1,"221":1,"222":1,"328":1,"347":1}}],["≥",{"2":{"229":1,"398":2}}],["==",{"2":{"396":1}}],["===",{"2":{"364":1,"396":1}}],["=",{"2":{"210":1,"272":1,"319":1,"374":1,"385":3,"393":2,"435":1,"461":2}}],["+",{"2":{"176":1,"181":1,"191":1,"396":1,"435":1,"484":1,"497":1,"498":1,"499":1}}],["←",{"2":{"173":1}}],["→",{"2":{"145":2,"165":2,"239":2,"290":2,"371":2,"434":1}}],["q4",{"2":{"201":2,"206":2,"295":1,"317":1,"346":1}}],["q3",{"2":{"100":1,"131":1,"149":1}}],["quickly",{"2":{"176":1}}],["queries",{"0":{"176":1,"404":1},"1":{"405":1,"406":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1},"2":{"287":1,"393":1,"404":1}}],["query=subject",{"2":{"240":1}}],["queryused",{"2":{"122":2}}],["query",{"0":{"74":1,"117":1},"1":{"118":1,"119":1,"120":1,"121":1,"122":1,"123":1},"2":{"117":1,"119":1,"120":1,"121":1,"122":2,"144":1,"155":1,"156":3,"157":1,"165":2,"168":2,"176":1,"180":1,"181":1,"191":1,"249":1,"364":1,"404":1,"501":1}}],["queue",{"0":{"47":1,"431":1},"1":{"432":1,"433":1,"434":1,"435":1,"436":1,"437":1,"438":1,"439":1,"440":1,"441":1},"2":{"362":1,"369":2,"431":1,"432":3,"433":1,"434":1,"436":1}}],["queues",{"0":{"46":1,"433":1},"2":{"45":2,"441":1,"487":1}}],["quot",{"0":{"167":2,"507":2,"540":2},"2":{"17":2,"85":2,"87":2,"115":2,"120":12,"144":8,"147":2,"148":2,"149":4,"153":2,"157":2,"163":2,"165":2,"180":2,"233":2,"234":2,"235":2,"236":6,"237":2,"264":2,"265":2,"266":4,"292":2,"293":2,"295":10,"299":2,"303":2,"304":6,"305":2,"307":8,"308":4,"317":4,"323":2,"333":2,"339":4,"345":4,"347":2,"364":2,"367":2,"372":6,"373":2,"375":4,"381":2,"382":2,"383":2,"393":2,"401":4,"413":10,"414":2,"416":8,"463":2,"469":2,"471":10,"472":4,"473":8,"474":4,"479":2,"497":8,"498":6,"499":2,"500":8,"501":4,"505":26,"507":10,"508":10,"509":8,"510":4,"513":2,"534":2,"535":2,"539":4,"540":2,"541":2,"548":2,"553":2}}],["8901",{"2":{"100":1,"131":1,"195":1,"335":1,"346":1}}],["8858",{"2":{"75":2}}],["5432",{"2":{"524":1}}],["5xx",{"2":{"256":1}}],["50mb",{"2":{"445":1,"453":1}}],["50",{"2":{"249":1,"334":1,"365":1,"369":1,"398":2}}],["500",{"2":{"127":1,"156":1,"217":1,"227":1,"334":1,"345":2,"398":4,"438":1,"524":1}}],["5",{"0":{"96":1,"177":1,"237":1,"243":1,"274":1,"355":1,"529":1},"2":{"237":1,"438":1,"441":1,"453":1}}],["know",{"2":{"461":1}}],["knowing",{"2":{"435":1}}],["known",{"0":{"493":1},"2":{"366":1}}],["knowledge",{"2":{"95":1}}],["kept",{"2":{"349":1,"354":1}}],["keep",{"2":{"304":1,"369":2,"426":1,"505":1}}],["keeps",{"2":{"272":1,"450":1}}],["key=$",{"2":{"554":1,"558":1}}],["key=minioadmin",{"2":{"459":1}}],["keyword",{"2":{"181":1}}],["keywords",{"2":{"155":1,"165":2,"182":1,"233":1,"234":1,"264":1,"265":1}}],["key",{"0":{"3":1,"5":1,"16":1,"17":1,"252":1,"427":1,"519":1},"1":{"17":1},"2":{"2":1,"16":2,"17":3,"120":1,"187":1,"239":2,"253":2,"262":1,"267":1,"285":2,"404":2,"406":1,"450":2,"459":5,"483":1,"499":1,"505":4,"507":3,"509":1,"519":5,"524":2,"525":5,"526":6,"554":1,"556":3,"558":1}}],["keys",{"0":{"2":1,"4":1},"1":{"3":1,"4":1,"5":1},"2":{"2":2,"16":2,"17":1,"80":1,"252":3,"505":1,"507":1}}],["38",{"2":{"534":1}}],["32",{"2":{"519":4,"525":1,"526":1}}],["31",{"2":{"121":1,"122":1}}],["310",{"2":{"100":1}}],["345678901234",{"2":{"100":1,"347":1}}],["3000",{"2":{"523":3,"529":1,"548":2,"550":1,"551":2}}],["30",{"2":{"100":2,"195":1,"216":1,"222":1,"437":1}}],["3",{"0":{"94":1,"175":1,"235":1,"241":1,"250":1,"272":1,"353":1,"459":1,"480":1,"499":1,"509":1,"518":1,"558":1},"1":{"519":1,"520":1,"521":1,"522":1,"523":1,"524":1,"525":1,"526":1,"527":1},"2":{"319":1,"505":1,"526":1}}],["36500",{"2":{"319":1}}],["3650",{"2":{"195":1,"295":1,"319":1,"335":1,"347":1}}],["365",{"0":{"494":1},"1":{"495":1,"496":1,"497":1,"498":1,"499":1,"500":1,"501":1},"2":{"1":1,"33":1,"426":1,"427":1,"429":1,"476":1,"484":1,"487":1,"494":1,"495":1,"497":1,"500":2,"530":1}}],["07",{"2":{"534":1}}],["05",{"2":{"468":1}}],["05t09",{"2":{"131":1}}],["04",{"2":{"468":1}}],["03",{"2":{"468":1}}],["03t00",{"2":{"75":1}}],["02",{"2":{"362":2,"468":1}}],["0",{"0":{"168":1,"170":1},"2":{"107":1,"123":1,"127":1,"173":1,"347":1,"362":1,"364":2,"393":1,"459":2,"526":1}}],["09",{"2":{"100":1,"131":1,"195":1}}],["01t00",{"2":{"195":1,"328":2,"410":1,"411":1}}],["01t08",{"2":{"100":1}}],["01",{"2":{"100":3,"106":1,"121":2,"122":2,"131":1,"137":1,"410":1,"411":1,"468":1}}],["000",{"2":{"105":1,"110":1,"117":1,"144":1,"149":1,"156":1,"176":1}}],["000z",{"2":{"75":1,"100":4,"131":2,"137":1,"195":2,"216":1,"222":1,"328":2,"410":1,"411":1}}],["00",{"2":{"75":2,"100":5,"131":3,"137":1,"195":3,"216":1,"222":1,"328":4,"362":2,"410":2,"411":2}}],["\\tconstructor",{"2":{"461":1}}],["\\tpublic",{"2":{"461":1}}],["\\tprivate",{"2":{"461":1}}],["\\tpattern",{"2":{"362":1}}],["\\t\\ttry",{"2":{"461":1}}],["\\t\\tthis",{"2":{"461":1}}],["\\t\\tconst",{"2":{"461":1}}],["\\t\\t\\tconsole",{"2":{"461":2}}],["\\t\\t\\tawait",{"2":{"461":1}}],["\\t\\t\\t\\t",{"2":{"335":6,"422":1}}],["\\t\\t\\t",{"2":{"75":10,"121":3,"122":3,"143":2,"228":4,"334":6,"335":4,"413":1,"419":2,"422":2,"423":1,"461":2}}],["\\t\\t",{"2":{"75":5,"100":16,"121":4,"122":4,"131":10,"143":2,"195":12,"228":4,"328":10,"334":4,"335":3,"346":5,"347":2,"401":1,"408":1,"413":7,"418":2,"419":12,"420":2,"421":2,"422":4,"423":4,"461":5,"534":4}}],["\\t",{"2":{"50":2,"75":4,"77":5,"100":4,"106":3,"111":1,"121":2,"122":4,"126":1,"131":4,"136":1,"137":5,"141":1,"143":9,"195":4,"201":3,"206":2,"211":2,"216":5,"221":1,"222":5,"226":2,"228":9,"328":2,"334":3,"335":8,"346":2,"347":4,"401":5,"408":2,"413":4,"418":2,"419":8,"420":2,"421":2,"422":2,"423":2,"461":2,"534":8,"548":3}}],["4gb",{"2":{"515":1}}],["422",{"2":{"107":1,"112":1,"123":1,"138":1,"143":2,"202":1,"207":1,"223":1,"228":2,"255":1,"336":1,"340":1,"348":1}}],["429",{"2":{"49":1,"50":1,"52":2}}],["4000",{"2":{"523":1}}],["400",{"2":{"189":1}}],["409",{"2":{"107":1,"115":1,"123":1,"138":1,"143":1,"153":1,"202":1,"205":1,"207":1,"223":1,"255":1,"336":1}}],["404",{"2":{"103":1,"112":1,"115":1,"123":1,"138":1,"142":1,"198":1,"207":1,"212":1,"223":1,"228":1,"255":2,"331":1,"340":1,"343":1}}],["401",{"2":{"17":1}}],["456",{"2":{"364":1}}],["45",{"2":{"100":1}}],["4821",{"2":{"100":1,"126":1}}],["4",{"0":{"95":1,"176":1,"236":1,"242":1,"273":1,"354":1,"500":1,"528":1,"559":1},"2":{"489":1}}],["4902",{"2":{"75":2}}],["japanese",{"2":{"544":1}}],["junk",{"2":{"523":1}}],["just",{"2":{"170":1,"505":1,"519":1}}],["jpeg",{"2":{"447":1}}],["joined",{"2":{"404":1}}],["join",{"0":{"187":1},"2":{"364":1}}],["john",{"2":{"121":1,"122":1}}],["job",{"0":{"431":1,"434":1},"1":{"432":1,"433":1,"434":1,"435":1,"436":1,"437":1,"438":1,"439":1,"440":1,"441":1},"2":{"45":1,"362":2,"365":2,"369":3,"431":1,"432":1,"434":1,"435":4,"436":1,"437":2,"438":1,"439":2,"440":1,"441":1,"501":1,"510":1}}],["jobs",{"0":{"45":1,"47":1},"1":{"46":1,"47":1},"2":{"45":1,"365":1,"369":2,"433":1,"437":1,"438":1,"441":2}}],["jsonb",{"2":{"385":2,"435":1}}],["jsonnull",{"2":{"216":1}}],["json",{"2":{"50":2,"75":1,"77":2,"80":1,"84":1,"95":1,"100":1,"106":1,"111":1,"121":1,"122":2,"126":1,"131":1,"136":1,"137":1,"141":1,"143":2,"156":1,"157":1,"177":1,"191":1,"195":1,"201":1,"206":1,"211":2,"216":1,"221":1,"222":1,"226":2,"228":2,"242":1,"253":1,"328":1,"334":1,"335":1,"346":1,"347":1,"401":2,"404":1,"406":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1,"413":1,"418":1,"419":1,"420":1,"421":1,"422":1,"423":1,"447":1,"448":1,"453":1,"505":3,"507":2,"509":2,"534":1,"548":3}}],["jwt",{"0":{"15":1},"2":{"15":1,"519":1,"526":4}}],["u",{"2":{"517":1}}],["uri",{"2":{"497":1}}],["url=https",{"2":{"551":1}}],["url=http",{"2":{"444":1,"550":1,"551":1}}],["url",{"2":{"97":1,"192":1,"326":1,"444":4,"447":1,"452":1,"459":1,"521":1,"523":5,"524":2,"527":2,"549":3,"550":8,"551":2}}],["uuids",{"2":{"333":1,"347":1,"364":1,"385":1,"393":1}}],["uuid",{"2":{"101":1,"102":2,"105":2,"109":2,"114":2,"118":2,"125":2,"130":2,"131":1,"134":2,"135":2,"137":1,"140":4,"144":3,"147":1,"186":2,"187":3,"196":1,"197":2,"204":2,"209":2,"215":2,"219":2,"220":2,"225":2,"229":4,"242":1,"284":1,"285":3,"292":1,"329":1,"330":2,"338":2,"342":2,"345":2,"364":1,"367":1,"372":1,"385":1,"389":1,"391":1,"398":1}}],["us8wwos0o4ok4go4gc8cog84",{"2":{"534":4}}],["usually",{"2":{"507":1,"556":1}}],["usual",{"2":{"485":1}}],["usage",{"0":{"461":1},"2":{"208":1,"294":1,"445":1}}],["using",{"0":{"521":1,"534":1},"1":{"535":1},"2":{"81":1,"153":1,"237":1,"252":1,"352":3,"363":1,"385":1,"394":1,"398":1,"418":1,"422":1,"425":1,"435":1,"441":1,"446":1,"453":3,"459":1,"468":1,"469":1,"472":1,"475":1,"479":1,"507":1,"513":1,"514":1,"518":1,"520":1,"528":1,"534":1,"549":2,"550":1,"553":1,"554":2,"555":1}}],["useful",{"2":{"291":1,"401":1,"410":1,"413":1,"467":1,"481":1,"511":1}}],["used",{"2":{"81":1,"157":1,"177":1,"275":1,"324":1,"354":1,"392":1,"393":1,"397":1,"443":1,"450":2,"451":1,"460":1,"480":2,"489":1,"523":2,"524":2,"544":1,"552":1,"556":1}}],["uses",{"2":{"80":1,"155":1,"181":1,"187":1,"285":1,"302":1,"427":1,"443":1,"452":1,"457":2,"494":1,"502":1,"520":1}}],["use",{"0":{"179":1,"232":1,"277":1,"460":1,"472":1,"484":1},"1":{"180":1,"181":1,"182":1,"183":1,"233":1,"234":1,"235":1,"236":1,"237":1,"278":1,"279":1,"280":1,"281":1,"461":1,"473":1,"474":1},"2":{"14":2,"31":1,"143":1,"146":1,"150":1,"156":1,"167":1,"176":1,"187":1,"228":1,"230":1,"233":1,"236":1,"239":1,"240":1,"245":1,"252":1,"259":1,"267":1,"299":1,"305":1,"315":1,"317":1,"319":1,"402":1,"403":1,"404":1,"406":1,"407":1,"408":1,"409":1,"413":2,"415":1,"426":1,"443":1,"451":1,"456":1,"457":1,"459":1,"461":1,"468":1,"469":1,"471":1,"473":1,"474":2,"478":1,"479":1,"490":1,"499":1,"501":1,"507":1,"509":1,"512":1,"513":1,"515":1,"517":1,"520":2,"521":1,"525":1,"534":1,"550":1,"553":1,"556":1}}],["username",{"2":{"471":2,"475":1,"524":2}}],["user1",{"2":{"423":1}}],["user123",{"2":{"216":1,"222":1}}],["useremail",{"2":{"423":2}}],["userid",{"2":{"419":2,"461":2}}],["users",{"0":{"63":1,"64":1},"1":{"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1},"2":{"63":1,"72":1,"181":1,"239":1,"289":1,"400":1,"403":1,"416":2,"420":1,"501":2,"508":1,"509":1,"510":3,"542":1,"545":1,"546":1}}],["user",{"0":{"1":1,"15":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"83":1,"145":1,"274":1,"290":1,"371":1,"416":1,"419":1},"1":{"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"291":1,"292":1,"293":1,"294":1,"295":1,"296":1,"297":1,"298":1,"299":1,"300":1,"301":1,"302":1,"303":1,"304":1,"305":1,"306":1,"307":1,"308":1,"309":1,"310":1,"311":1,"312":1,"313":1,"314":1,"315":1,"316":1,"317":1,"318":1,"319":1,"320":1,"321":1,"322":1,"323":1,"324":1,"325":1,"372":1,"373":1,"374":1,"375":1,"376":1,"377":1,"378":1,"379":1,"380":1,"381":1,"382":1,"383":1},"2":{"2":2,"10":1,"32":1,"63":1,"75":1,"83":2,"84":1,"93":1,"94":1,"120":1,"131":1,"137":1,"187":2,"239":2,"252":1,"274":1,"285":2,"357":1,"370":1,"399":1,"402":6,"403":2,"407":1,"409":1,"413":1,"414":2,"415":3,"416":2,"418":1,"419":4,"423":2,"434":1,"459":2,"463":1,"494":2,"498":3,"501":1,"502":3,"507":1,"508":1,"509":1,"510":2,"517":1,"524":2,"545":1,"546":1}}],["upgraded",{"2":{"559":1}}],["upgrade=true",{"2":{"554":1}}],["upgrades",{"2":{"553":1}}],["upgrade",{"0":{"553":1,"557":1},"1":{"554":1},"2":{"552":1,"553":3,"554":6,"557":1,"562":1,"563":1,"564":2}}],["upgrading",{"0":{"552":1,"560":1,"562":1,"564":1},"1":{"553":1,"554":1,"555":1,"556":1,"557":1,"558":1,"559":1,"561":1,"562":1,"563":1,"564":1},"2":{"552":1,"555":1,"556":1,"560":1}}],["upon",{"2":{"180":1,"378":1,"529":1}}],["up",{"0":{"559":1},"2":{"84":1,"168":1,"267":1,"323":1,"365":1,"425":1,"437":1,"447":1,"487":1,"494":1,"501":1,"502":1,"514":1,"528":1,"529":1,"531":1,"535":1,"551":1,"554":1,"558":1,"559":1,"562":1,"563":2}}],["updating",{"0":{"531":1},"2":{"63":1,"554":1}}],["updatepolicy",{"0":{"390":1}}],["updated",{"2":{"110":1,"112":1,"170":1,"186":1,"191":1,"205":1,"206":2,"207":1,"339":1,"340":1,"385":1,"437":1,"507":1}}],["updatedat",{"2":{"100":2,"328":1,"390":1}}],["updates",{"2":{"108":1,"203":1,"288":1,"300":1,"308":1,"337":1,"390":1,"436":1}}],["update",{"0":{"28":1,"37":1,"58":1,"67":1,"70":1,"71":1,"108":1,"203":1,"300":1,"337":1},"1":{"109":1,"110":1,"111":1,"112":1,"204":1,"205":1,"206":1,"207":1,"338":1,"339":1,"340":1},"2":{"56":1,"109":1,"191":5,"204":1,"288":4,"300":1,"338":1,"385":1,"390":1,"402":2,"416":1,"475":1,"521":2,"531":1,"544":1,"561":1,"564":1}}],["uploads",{"2":{"525":1}}],["uploading",{"0":{"479":1},"2":{"547":1}}],["uploadedfilepath",{"2":{"61":1}}],["upload",{"0":{"61":1,"62":1},"1":{"62":1},"2":{"61":1,"469":1,"479":3,"513":1}}],["utc",{"2":{"52":1,"362":2}}],["unexpected",{"2":{"548":1}}],["unmerging",{"0":{"491":1},"2":{"491":2,"493":1}}],["unmerge",{"0":{"42":1},"2":{"491":1,"493":1}}],["unmodified",{"2":{"489":1}}],["unit",{"2":{"525":1}}],["unified",{"2":{"455":1,"481":1,"484":1,"486":1}}],["universal",{"2":{"427":1}}],["uniqueness",{"2":{"187":1,"298":1}}],["unique",{"2":{"84":1,"105":1,"149":1,"186":1,"199":1,"200":1,"229":1,"281":1,"284":2,"294":1,"332":1,"333":1,"374":1,"385":2,"461":1,"463":1,"464":1,"465":1,"466":1,"472":1,"508":2,"519":2,"537":1}}],["until",{"2":{"363":1,"475":1,"553":1}}],["unused",{"2":{"320":1}}],["undone",{"2":{"305":1}}],["underlying",{"2":{"455":1}}],["under",{"0":{"163":1},"2":{"156":1,"157":1,"163":1,"169":1,"174":1,"183":1,"189":1,"351":1,"482":2,"483":1,"485":1,"491":2,"492":2,"505":1,"508":2}}],["underneath",{"2":{"147":1,"292":1,"372":1}}],["understand",{"2":{"95":1,"267":1}}],["unnecessary",{"2":{"259":1,"451":1}}],["unlike",{"2":{"268":1}}],["unlink",{"2":{"191":1}}],["unlinked",{"2":{"191":1}}],["unlinks",{"2":{"139":1}}],["unlabeled",{"2":{"249":1}}],["unconditional",{"2":{"171":1}}],["unprocessable",{"2":{"107":1,"112":1,"123":1,"138":1,"143":1,"202":1,"207":1,"223":1,"228":1,"336":1,"340":1,"348":1}}],["unable",{"2":{"475":1}}],["unambiguous",{"2":{"271":1}}],["unambiguously",{"2":{"94":1}}],["unaffected",{"2":{"139":1}}],["unauthorized",{"2":{"17":1,"416":1,"540":1,"541":1}}],["unbroken",{"2":{"87":1,"96":1}}],["ui",{"2":{"18":1,"53":1,"117":1,"163":1,"173":1,"176":1,"246":1,"267":1,"274":1,"282":1,"357":1,"370":1,"544":1}}],["ng",{"2":{"478":1}}],["n",{"2":{"372":1,"434":1,"435":1}}],["node",{"2":{"507":1,"523":2}}],["nodejs",{"2":{"463":1,"464":1}}],["now",{"2":{"475":1,"491":1,"498":2,"499":2,"500":1,"508":2,"518":1,"558":2,"559":1}}],["non",{"2":{"356":1,"393":1,"397":2,"459":1,"487":1}}],["normalizes",{"2":{"388":1}}],["normalization",{"2":{"80":1}}],["normal",{"2":{"268":1,"279":1,"291":1,"295":1,"487":1}}],["normally",{"2":{"127":1,"175":1,"485":1,"533":1}}],["no",{"2":{"87":1,"88":1,"96":1,"105":2,"115":1,"120":2,"123":1,"127":1,"131":1,"133":1,"142":1,"147":2,"150":1,"156":1,"161":1,"162":1,"168":1,"173":1,"190":1,"200":1,"216":1,"226":2,"241":1,"307":1,"333":4,"343":1,"345":1,"347":1,"353":1,"356":1,"364":2,"372":2,"376":1,"380":1,"383":2,"393":3,"421":1,"441":1,"455":1,"482":1,"489":2,"491":1,"535":1,"563":1}}],["nothing",{"2":{"187":1,"486":1}}],["notes",{"2":{"561":1}}],["note",{"2":{"115":1,"162":1,"416":1,"469":1,"479":1,"491":1,"507":1,"513":1,"553":1}}],["notice",{"0":{"165":1},"2":{"106":1,"165":1,"180":1,"250":1,"265":1}}],["notification",{"2":{"88":3,"156":1,"158":1,"250":1,"296":2,"300":1,"561":1}}],["not",{"0":{"323":1,"407":1,"409":1},"2":{"17":1,"81":2,"88":2,"93":1,"103":1,"112":2,"115":2,"117":1,"122":1,"123":2,"124":1,"127":1,"138":2,"139":1,"142":1,"152":1,"153":1,"156":1,"163":1,"165":1,"198":1,"207":2,"212":2,"223":2,"228":1,"252":1,"255":2,"315":1,"331":1,"334":2,"340":2,"343":2,"344":1,"356":1,"364":1,"365":1,"377":4,"385":4,"389":1,"390":1,"391":1,"393":2,"396":2,"407":1,"409":1,"412":1,"437":1,"443":1,"444":1,"447":1,"448":1,"453":1,"464":1,"465":1,"475":1,"483":1,"488":1,"491":1,"492":1,"493":2,"500":1,"505":1,"507":1,"512":1,"519":1,"520":1,"525":2,"526":1,"527":1,"529":1,"534":1,"537":1,"539":1,"540":3,"547":1,"548":2,"549":1,"553":2,"564":1}}],["numeric",{"2":{"372":1,"410":1}}],["numbers",{"2":{"319":1}}],["number",{"2":{"49":1,"51":1,"52":2,"74":4,"122":1,"157":2,"200":1,"284":1,"292":1,"294":1,"333":1,"368":1,"372":1,"374":1,"385":1,"438":2,"468":1,"471":1,"510":1,"512":1,"524":1,"525":1,"526":1}}],["nullable",{"2":{"187":1,"285":1}}],["null",{"2":{"75":1,"100":2,"106":1,"131":1,"143":1,"195":1,"216":1,"217":1,"228":1,"241":1,"328":2,"333":4,"339":2,"353":1,"385":8,"389":1,"393":2,"398":1,"534":1}}],["nesting",{"2":{"482":1}}],["nested",{"2":{"468":1}}],["neither",{"2":{"480":1}}],["necessary",{"2":{"456":1,"504":1,"517":1,"533":1}}],["network",{"2":{"533":2}}],["networks",{"2":{"532":1,"533":6}}],["net",{"2":{"154":1,"156":1,"176":1,"177":1,"533":3}}],["next",{"0":{"475":1,"501":1,"510":1,"530":1},"2":{"112":1,"127":1,"152":1,"158":1,"162":1,"168":1,"175":1,"365":1,"437":2,"441":1,"491":1,"498":1,"517":1,"530":1}}],["newly",{"2":{"122":1,"156":1,"157":1,"233":1,"239":1,"248":1}}],["new",{"0":{"485":1,"497":1,"561":1},"2":{"80":1,"92":1,"104":1,"110":1,"123":2,"138":1,"148":2,"156":1,"165":2,"199":1,"210":1,"241":1,"246":1,"259":2,"264":1,"266":1,"271":1,"284":1,"292":2,"293":1,"304":1,"308":1,"309":2,"314":1,"315":1,"322":1,"332":1,"387":1,"396":1,"402":1,"419":1,"430":1,"437":1,"461":1,"469":1,"471":2,"474":3,"475":2,"479":1,"484":1,"485":2,"491":1,"496":1,"497":1,"498":1,"499":2,"500":2,"501":1,"505":2,"507":1,"508":1,"509":2,"510":1,"513":1,"531":1,"535":2,"552":1,"553":1,"554":3,"555":1,"561":1,"562":1,"563":1}}],["needle",{"0":{"396":1},"2":{"396":8}}],["need",{"2":{"165":1,"240":1,"267":1,"400":1,"429":1,"472":1,"505":2,"518":1,"532":1,"533":1,"535":2,"541":1,"546":1,"552":1,"554":1,"556":1,"558":3,"564":1}}],["needing",{"2":{"95":1,"494":1}}],["needed",{"2":{"53":1,"267":1,"458":1,"535":1}}],["needs",{"2":{"49":1,"419":1,"420":1,"496":1,"505":1}}],["never",{"2":{"33":1,"210":1,"272":1,"298":1,"303":1,"324":1,"351":1,"441":1,"460":1,"483":1,"487":1}}],["navigating",{"2":{"499":1,"529":1}}],["navigation",{"2":{"497":1,"507":1}}],["navigate",{"2":{"17":1,"86":1,"165":1,"239":1,"307":1,"471":1,"474":1,"479":1,"485":1,"499":1,"500":1,"505":2,"507":2,"508":1,"509":1}}],["native",{"2":{"404":1}}],["naming",{"0":{"317":1},"2":{"317":1}}],["names",{"2":{"233":1,"245":1,"246":1,"317":1,"383":1}}],["named",{"2":{"180":1,"520":1,"534":2,"535":1}}],["name",{"2":{"17":1,"100":2,"105":2,"106":1,"107":1,"108":1,"110":2,"143":2,"144":1,"147":2,"149":2,"151":1,"160":1,"165":1,"186":2,"195":2,"199":1,"200":2,"201":1,"202":1,"206":1,"228":2,"229":1,"262":1,"284":2,"292":3,"294":2,"295":3,"296":2,"298":1,"307":1,"328":1,"332":1,"333":2,"335":1,"336":1,"366":1,"369":2,"372":3,"374":2,"375":1,"377":1,"385":2,"387":1,"391":1,"398":1,"401":1,"459":1,"469":1,"471":2,"473":2,"483":1,"491":1,"497":2,"498":1,"500":2,"505":1,"509":2,"513":1,"524":1,"525":1,"534":5,"556":2,"558":1}}],["yamlvolumes",{"2":{"535":1}}],["yamlservices",{"2":{"535":2,"554":2,"558":1}}],["yml",{"0":{"533":1},"2":{"469":1,"479":1,"513":1,"521":3,"524":1,"532":1,"533":2,"534":1,"535":3,"554":2,"558":2,"559":2}}],["year",{"2":{"237":1,"264":1,"266":1,"328":1,"335":1}}],["years",{"2":{"17":1,"233":1,"278":1,"295":3,"319":4,"328":1}}],["yet",{"2":{"150":1}}],["yes",{"2":{"105":1,"119":1,"120":1,"135":1,"200":2,"220":1,"333":4,"345":4,"498":1}}],["you",{"2":{"31":1,"51":1,"52":5,"85":1,"86":1,"87":1,"89":1,"154":1,"299":1,"307":2,"309":1,"325":1,"406":1,"413":1,"415":1,"425":1,"427":1,"429":1,"430":2,"444":1,"456":2,"458":1,"459":1,"460":1,"467":1,"468":2,"470":2,"471":4,"472":3,"473":3,"474":1,"475":3,"477":1,"478":2,"479":2,"481":2,"482":1,"486":2,"487":1,"489":1,"490":1,"493":3,"495":1,"497":4,"498":3,"499":2,"500":2,"503":2,"505":5,"507":5,"508":4,"509":2,"511":1,"512":2,"514":1,"515":1,"517":3,"518":1,"519":4,"520":1,"521":2,"526":1,"528":3,"529":5,"532":3,"533":4,"534":6,"535":6,"536":1,"537":1,"538":1,"540":1,"541":6,"547":2,"548":2,"549":3,"550":2,"551":2,"552":1,"553":3,"554":5,"556":4,"557":1,"558":3,"559":2,"561":1,"563":1,"564":1}}],["your",{"0":{"478":1,"518":1,"531":1,"557":1,"560":1,"562":1},"1":{"519":1,"520":1,"521":1,"522":1,"523":1,"524":1,"525":1,"526":1,"527":1,"561":1,"562":1,"563":1,"564":1},"2":{"14":1,"15":1,"48":1,"49":1,"51":1,"52":1,"53":1,"156":1,"242":1,"246":1,"253":1,"267":4,"317":1,"319":1,"325":1,"426":1,"427":1,"428":1,"429":1,"444":2,"459":4,"460":1,"468":2,"469":4,"471":6,"472":3,"473":1,"474":2,"475":4,"476":2,"478":2,"479":5,"480":1,"484":1,"494":1,"495":1,"497":1,"498":4,"499":1,"500":1,"501":1,"503":2,"505":2,"507":7,"508":3,"509":2,"510":1,"512":3,"513":4,"515":2,"516":1,"517":3,"518":1,"519":2,"520":1,"521":5,"523":1,"528":2,"529":2,"530":1,"531":1,"532":2,"533":2,"534":10,"535":5,"536":1,"537":1,"541":3,"548":1,"549":2,"550":5,"551":4,"552":1,"553":2,"554":6,"555":1,"556":5,"558":5,"559":4,"560":1,"562":2,"563":1,"564":1}}],["x3c",{"2":{"461":1,"534":1}}],["xls",{"2":{"447":1}}],["xlsx",{"2":{"346":1,"382":1,"443":2,"447":1,"448":1,"453":2}}],["xml",{"2":{"345":1,"447":1,"448":1,"453":1}}],["xyz",{"2":{"265":1,"317":1}}],["x26",{"2":{"240":2}}],["x",{"2":{"16":2,"292":1,"480":2,"554":2,"556":1}}],["2gb",{"2":{"515":1}}],["24",{"2":{"499":1}}],["2190",{"2":{"295":1}}],["22",{"2":{"137":1,"534":1}}],["25t11",{"2":{"534":1}}],["2555",{"2":{"195":1,"201":1,"216":1,"222":1,"295":1,"319":1,"328":1}}],["255",{"2":{"105":1,"110":1,"144":1,"149":1,"186":1,"200":1,"229":1,"284":1,"294":1,"333":1,"398":1}}],["256",{"2":{"43":1,"80":2,"92":1,"450":1,"525":1}}],["204",{"2":{"115":1,"343":1}}],["2000",{"2":{"345":1,"398":1}}],["200",{"2":{"112":1,"123":1,"127":1,"132":1,"138":1,"142":1,"207":1,"212":1,"217":1,"223":1,"227":1,"334":1,"340":1,"348":1,"377":1,"397":1}}],["201",{"2":{"107":1,"202":1,"336":1}}],["20t16",{"2":{"100":1}}],["2024",{"2":{"410":1,"411":1}}],["2023",{"2":{"121":1,"122":1}}],["2026",{"2":{"100":4,"106":2,"131":2,"137":2,"149":1,"165":1,"180":1}}],["2025",{"2":{"75":1,"100":3,"121":1,"122":1,"131":2,"149":1,"195":2,"201":2,"206":2,"216":1,"222":1,"295":1,"328":2,"534":1}}],["20",{"2":{"74":1,"75":1}}],["2",{"0":{"16":1,"93":1,"174":1,"234":1,"240":1,"249":1,"271":1,"352":1,"458":1,"479":1,"498":1,"508":1,"517":1,"557":1},"1":{"17":1},"2":{"17":1,"105":1,"110":1,"144":1,"149":1,"168":1,"173":1,"335":1,"362":1,"408":1,"422":1,"473":2,"534":2,"554":1}}],["h",{"2":{"556":1}}],["html",{"2":{"447":1}}],["https",{"2":{"508":2,"516":1,"548":1,"549":1,"551":1}}],["http",{"2":{"49":1,"52":1,"452":1,"523":2,"524":1,"527":1,"529":1,"548":1,"549":1,"556":1}}],["httpget",{"2":{"15":1,"16":1}}],["hundreds",{"2":{"447":1}}],["human",{"2":{"95":1,"186":1,"200":1,"284":1,"333":1,"385":1}}],["hypothetical",{"2":{"381":1}}],["host",{"2":{"469":1,"471":1,"475":1,"479":1,"513":1,"517":1,"521":3,"524":4}}],["hostname",{"2":{"452":1}}],["hosted",{"2":{"426":1,"470":1,"555":1}}],["honored",{"2":{"354":1}}],["hook",{"2":{"184":1,"189":2}}],["hooks",{"2":{"184":1}}],["holdid",{"2":{"135":1,"136":1,"139":1,"140":1,"144":1}}],["holdname",{"2":{"131":2,"137":1}}],["hold",{"0":{"98":1,"101":1,"104":1,"108":1,"111":1,"113":1,"117":1,"124":1,"128":1,"133":1,"139":1,"148":1,"151":1,"152":1,"153":1,"159":1,"161":1,"162":1,"163":1,"167":2,"170":1,"180":1,"265":1,"278":1},"1":{"99":1,"100":1,"101":1,"102":2,"103":2,"104":1,"105":2,"106":2,"107":2,"108":1,"109":2,"110":2,"111":2,"112":2,"113":1,"114":2,"115":2,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"125":1,"126":1,"127":1,"129":1,"130":1,"131":1,"132":1,"133":1,"134":2,"135":2,"136":2,"137":2,"138":2,"139":1,"140":2,"141":2,"142":2,"149":1,"150":1,"160":1,"161":1,"162":1,"163":1},"2":{"101":1,"102":1,"103":1,"104":1,"105":2,"107":2,"108":1,"109":1,"110":1,"112":3,"113":1,"114":1,"115":4,"117":1,"118":1,"122":2,"123":2,"124":2,"125":1,"127":3,"131":1,"132":1,"133":2,"135":1,"137":1,"138":3,"139":3,"140":1,"141":1,"142":2,"143":1,"144":1,"145":1,"147":8,"149":1,"150":1,"151":1,"152":2,"153":6,"155":1,"156":3,"157":1,"158":3,"160":2,"161":2,"162":4,"163":2,"164":4,"165":6,"167":1,"169":1,"173":3,"174":2,"175":5,"176":1,"177":3,"178":2,"180":2,"181":1,"182":2,"184":5,"186":4,"187":3,"189":1,"191":13,"195":1,"216":1,"222":1,"234":2,"250":1,"265":2,"295":1,"317":1}}],["holds",{"0":{"97":1,"99":1,"129":1,"145":1,"147":1,"160":1,"171":1,"186":1,"187":1},"1":{"98":1,"99":1,"100":2,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":2,"131":2,"132":2,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"143":1,"144":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"186":1,"187":1,"188":1,"189":1,"190":1,"191":1},"2":{"97":4,"99":2,"101":1,"104":2,"108":1,"113":2,"115":2,"117":1,"123":1,"124":2,"129":3,"131":1,"133":1,"139":1,"145":3,"146":1,"147":1,"148":1,"153":2,"154":1,"158":1,"160":2,"161":2,"164":2,"165":1,"169":1,"171":1,"174":2,"176":1,"178":3,"183":3,"184":8,"187":1,"278":1,"291":1,"319":1,"427":1,"439":1}}],["hover",{"2":{"84":1,"540":1}}],["however",{"2":{"413":1,"521":1,"553":1}}],["how",{"0":{"49":1,"361":1,"460":1,"473":1,"474":1,"483":1,"485":1,"486":1,"487":1,"537":1,"554":1},"1":{"50":1,"362":1,"363":1,"364":1,"365":1,"461":1},"2":{"31":1,"147":1,"156":1,"158":1,"230":1,"349":1,"417":1,"422":1,"435":1,"471":1,"472":1,"478":1,"535":1,"536":1,"547":1,"553":1}}],["hierarchy",{"2":{"482":1}}],["hide",{"2":{"409":1}}],["historical",{"2":{"235":1,"481":1,"484":2,"491":1,"493":1}}],["history",{"0":{"20":1},"2":{"86":1,"191":1,"426":1}}],["hit",{"2":{"156":1,"450":1}}],["hits",{"2":{"156":1,"450":1}}],["high",{"2":{"427":1}}],["higher",{"2":{"333":1,"372":1,"374":1,"385":1}}],["highest",{"0":{"173":1},"2":{"146":1,"275":1}}],["highly",{"2":{"81":1}}],["hex",{"2":{"519":4,"525":1,"526":1}}],["heartbeat",{"0":{"436":1},"2":{"441":1}}],["hear",{"2":{"430":1}}],["health",{"0":{"452":1},"2":{"261":1,"444":1}}],["headers",{"2":{"52":2,"480":2}}],["header",{"2":{"15":1,"16":1,"85":1,"480":1,"488":1}}],["here>",{"2":{"534":1}}],["here",{"2":{"131":1,"137":1,"242":1,"253":1,"405":1,"417":1,"468":1,"471":1,"478":1,"522":1,"533":1,"535":1,"541":1}}],["helps",{"2":{"517":1}}],["helpers",{"2":{"443":1}}],["help",{"2":{"52":1,"425":1,"532":1,"547":1}}],["happen",{"2":{"549":1}}],["happens",{"0":{"156":1,"475":1,"501":1,"510":1}}],["hand",{"2":{"497":1,"498":1}}],["handlers",{"2":{"184":1,"282":1,"358":1}}],["handled",{"2":{"78":1,"384":1}}],["handle",{"2":{"52":1,"176":1,"246":1,"256":1,"259":1,"494":1}}],["handles",{"2":{"10":1,"32":2,"45":2,"441":2,"453":1}}],["handling",{"0":{"52":1,"254":1,"296":1,"365":1},"1":{"255":1,"256":1},"2":{"267":1,"397":1,"455":1}}],["haystack",{"0":{"396":1},"2":{"396":8}}],["hard",{"0":{"303":1},"2":{"210":1,"272":1,"324":1}}],["had",{"2":{"127":1}}],["has",{"2":{"81":1,"88":3,"133":1,"158":1,"161":1,"162":2,"175":2,"210":1,"218":1,"255":1,"270":1,"272":1,"273":1,"275":1,"287":1,"298":1,"303":1,"309":1,"324":1,"364":1,"372":1,"376":1,"393":1,"399":1,"414":1,"437":2,"463":1,"489":1,"492":1,"507":2,"537":1,"539":1,"540":2}}],["hashing",{"0":{"79":1},"1":{"80":1,"81":1},"2":{"79":1}}],["hashes",{"2":{"43":1,"89":1}}],["hash",{"0":{"80":1},"2":{"43":1,"80":3,"81":3,"87":2,"88":1,"92":2,"96":2,"450":2,"451":1,"534":2,"537":1,"540":2}}],["have",{"2":{"52":1,"83":1,"87":1,"88":2,"96":1,"152":1,"248":1,"271":1,"273":2,"281":1,"309":1,"325":1,"359":1,"363":1,"412":2,"416":1,"427":1,"430":1,"435":1,"455":1,"471":1,"473":1,"474":1,"479":1,"483":1,"495":1,"500":1,"503":2,"505":1,"507":1,"517":1,"528":1,"541":1,"553":1,"559":1}}],["bind",{"2":{"535":1}}],["blank",{"2":{"497":1}}],["block",{"2":{"365":1,"397":1,"533":2,"535":1}}],["blocks",{"2":{"173":1,"184":1}}],["blocked",{"2":{"163":1,"189":1,"548":1}}],["bcc",{"2":{"364":1}}],["bcde",{"2":{"100":1,"131":1,"195":1,"335":1,"346":1}}],["b2c3d4e5",{"2":{"100":1,"131":1,"195":1,"335":1,"346":1}}],["bucket",{"2":{"459":3,"461":1,"525":2}}],["bucket=email",{"2":{"459":1}}],["buffer",{"2":{"450":1,"453":1,"461":1,"463":2}}],["built",{"2":{"432":1,"435":1,"455":1,"527":1}}],["build",{"2":{"549":1}}],["building",{"2":{"507":1}}],["builds",{"2":{"364":1}}],["builder",{"2":{"352":1}}],["bug",{"2":{"430":1}}],["bugs",{"2":{"397":1,"430":1}}],["business",{"2":{"184":1,"231":1,"235":1,"246":1,"248":1,"261":1,"266":1,"267":1,"279":1,"281":1,"291":1,"318":1,"319":2}}],["bulkapplyholdresult",{"2":{"184":1}}],["bulkapplyhold",{"2":{"157":1}}],["bulk",{"0":{"116":1,"117":1,"154":1,"156":1,"157":1,"168":1,"170":1,"176":1},"1":{"117":1,"118":2,"119":2,"120":2,"121":2,"122":2,"123":2,"124":1,"125":1,"126":1,"127":1,"155":1,"156":1,"157":1},"2":{"117":1,"150":1,"154":1,"156":1,"157":1,"164":1,"165":3,"170":1,"176":1,"177":2,"178":1,"180":1,"181":1,"184":1,"191":1,"427":1}}],["bullmq",{"0":{"369":1},"2":{"45":1,"358":1,"359":1,"362":2,"365":1,"369":1,"432":1,"435":2,"441":1}}],["but",{"2":{"93":1,"163":1,"272":1,"292":1,"421":1,"423":2,"447":1,"475":1,"482":1,"483":1,"519":1,"529":1,"534":1}}],["buttons",{"2":{"307":1,"372":1}}],["button",{"0":{"163":1},"2":{"87":1,"148":1,"155":1,"162":1,"163":1,"293":1,"305":2,"307":1,"373":1,"376":1,"379":1,"380":1,"381":1,"469":2,"471":2,"479":1,"497":2,"498":3,"500":1,"509":1,"513":2}}],["bridge",{"2":{"533":1}}],["brings",{"2":{"435":1}}],["browser",{"2":{"529":1,"548":1,"549":1,"550":1}}],["browse",{"2":{"486":1}}],["browsing",{"2":{"481":1,"483":1}}],["broad",{"2":{"413":1,"447":1}}],["broader",{"2":{"401":1,"413":1}}],["broken",{"2":{"77":1,"81":1,"88":2}}],["breakdown",{"2":{"405":1}}],["break",{"2":{"92":1}}],["brute",{"2":{"48":1}}],["b58a",{"2":{"75":2}}],["boxes",{"2":{"498":1}}],["box",{"2":{"498":1,"507":1}}],["bottom",{"2":{"473":1,"485":1,"498":1,"535":1}}],["both",{"2":{"72":1,"129":1,"274":1,"392":1,"395":1,"404":1,"427":1,"498":1,"550":1}}],["bootstrap",{"2":{"358":1}}],["boolean",{"2":{"110":1,"186":1,"284":1,"333":1,"385":1,"466":1}}],["body",{"0":{"50":1,"75":1,"77":1,"100":1,"105":1,"110":1,"119":1,"122":1,"126":1,"131":1,"135":1,"137":1,"141":1,"195":1,"198":1,"200":1,"205":1,"211":1,"216":1,"220":1,"222":1,"226":1,"328":1,"331":1,"333":1,"339":1,"345":1,"347":1},"1":{"120":1,"334":1},"2":{"108":1,"123":1,"138":1,"155":1,"203":1,"212":1,"223":1,"337":1,"348":1,"525":2}}],["bad",{"2":{"189":1}}],["badges",{"2":{"372":1}}],["badge",{"0":{"314":1,"315":1},"2":{"84":1,"147":4,"160":1,"165":1,"292":3,"304":1,"323":1,"372":1,"375":1,"539":2,"540":1}}],["bashcurl",{"2":{"556":1}}],["bashcp",{"2":{"518":1}}],["bash",{"2":{"531":1}}],["bashdocker",{"2":{"528":2,"534":2,"535":1,"551":1,"554":1,"556":1,"557":1,"558":1,"559":1,"562":2}}],["bashopenssl",{"2":{"519":2}}],["bashsudo",{"2":{"517":1}}],["bashgit",{"2":{"516":1,"557":1,"562":1}}],["basic",{"0":{"374":1}}],["basis",{"2":{"105":1,"149":1}}],["base",{"2":{"97":1,"192":1,"326":1}}],["based",{"0":{"237":1,"351":1,"352":1},"2":{"61":1,"93":1,"231":1,"236":1,"248":1,"250":1,"304":1,"349":1,"363":1,"366":1,"410":1,"417":1,"443":1,"460":1,"487":2,"526":1,"534":1}}],["backup",{"2":{"541":2}}],["backfill",{"2":{"484":1}}],["backed",{"2":{"432":1}}],["backends",{"2":{"427":1,"455":1}}],["backend",{"0":{"78":1,"384":1,"457":1},"1":{"79":1,"80":1,"81":1,"82":1,"385":1,"386":1,"387":1,"388":1,"389":1,"390":1,"391":1,"392":1,"393":1,"394":1,"395":1,"396":1,"397":1,"398":1,"399":1},"2":{"59":1,"78":2,"163":1,"173":1,"184":2,"282":1,"358":1,"384":1,"385":1,"443":1,"449":1,"456":1,"465":1,"523":3,"525":1,"528":1,"544":1,"550":1,"551":1}}],["background",{"2":{"359":1,"498":1,"501":1,"510":1,"528":1}}],["back",{"2":{"355":1,"367":1,"444":1,"508":1,"527":1}}],["backoff",{"2":{"52":1,"441":1}}],["batches",{"2":{"81":1,"156":1,"176":1,"249":2,"258":1,"351":1,"363":2}}],["batched",{"2":{"45":1,"434":1}}],["batch",{"0":{"249":1,"363":1,"440":1},"2":{"45":1,"258":1,"356":1,"363":3,"364":1,"365":1,"368":2,"433":1,"434":1,"436":1,"438":2,"440":1,"524":2}}],["behind",{"2":{"551":1}}],["behalf",{"2":{"494":1,"498":1,"502":1}}],["behavior",{"0":{"272":1,"302":1,"356":1},"1":{"303":1,"304":1},"2":{"169":1,"324":1,"395":2}}],["behaviour",{"0":{"163":1},"2":{"489":1}}],["benefit",{"2":{"451":1}}],["begin",{"2":{"429":1,"501":2,"510":1}}],["beginning",{"2":{"96":1}}],["belongs",{"2":{"483":1}}],["belonging",{"2":{"423":1}}],["below",{"2":{"86":1,"97":1,"119":1,"147":1,"192":1,"292":1,"376":1,"396":1,"476":1,"552":1}}],["become",{"2":{"553":1}}],["becomes",{"2":{"150":1,"155":1,"270":1,"273":1,"491":1}}],["because",{"2":{"370":1,"486":1,"491":1,"492":1,"540":1,"552":1}}],["beyond",{"2":{"235":1,"279":1,"295":1}}],["being",{"2":{"210":1,"272":1,"304":1,"324":1,"451":1,"498":1,"534":2}}],["been",{"2":{"81":1,"87":1,"88":5,"96":1,"210":1,"248":1,"255":1,"272":1,"273":1,"298":1,"303":1,"324":1,"363":1,"437":1,"463":1,"537":1,"540":2}}],["between",{"2":{"80":1,"162":1,"258":1,"334":1,"396":1,"455":1,"481":1,"545":1}}],["best",{"0":{"256":1,"316":1},"1":{"317":1,"318":1,"319":1,"320":1},"2":{"52":1,"252":1,"469":2,"513":2}}],["before",{"2":{"31":1,"52":1,"61":1,"115":1,"143":1,"155":1,"156":1,"158":1,"168":2,"169":1,"173":1,"175":2,"182":1,"189":1,"241":1,"259":1,"349":1,"372":1,"383":1,"395":1,"398":1,"437":1,"440":1,"489":1,"493":1,"499":2,"512":1,"517":1,"534":1,"553":1,"556":1}}],["be",{"2":{"17":1,"53":1,"61":1,"74":1,"81":1,"83":1,"85":1,"92":1,"94":1,"95":1,"96":1,"97":1,"110":1,"115":1,"127":2,"132":1,"138":1,"144":4,"152":1,"153":1,"155":1,"158":1,"162":1,"165":1,"168":1,"173":1,"174":1,"175":5,"183":2,"192":1,"199":1,"205":1,"228":2,"229":3,"246":1,"272":1,"280":1,"284":1,"292":2,"294":1,"298":3,"299":1,"304":1,"305":1,"306":1,"314":1,"315":2,"324":1,"326":1,"332":1,"334":1,"353":1,"354":1,"366":1,"370":2,"375":1,"379":1,"383":1,"393":1,"398":1,"401":6,"404":1,"415":1,"416":1,"445":1,"451":1,"458":2,"460":1,"463":2,"468":2,"473":2,"474":1,"480":1,"485":1,"490":1,"491":1,"497":1,"499":1,"505":1,"507":1,"512":1,"519":1,"523":1,"525":2,"526":1,"529":2,"534":3,"535":1,"540":3,"541":1,"544":1,"546":1,"548":1,"550":1,"551":1,"556":2,"558":1}}],["bearer",{"2":{"15":2,"253":1,"556":1}}],["bytes",{"2":{"525":1}}],["byte",{"2":{"519":2,"525":1,"526":1}}],["bypasses",{"2":{"364":1,"370":1}}],["by",{"0":{"101":1,"196":1,"329":1,"471":1},"1":{"102":1,"103":1,"197":1,"198":1,"330":1,"331":1},"2":{"15":1,"49":1,"51":1,"54":1,"74":2,"78":1,"85":2,"89":1,"90":1,"99":1,"101":1,"112":1,"115":1,"122":1,"127":1,"146":1,"147":1,"155":2,"158":1,"163":1,"165":1,"175":1,"187":1,"194":1,"196":1,"243":1,"267":1,"278":1,"285":1,"292":2,"307":1,"327":1,"329":1,"351":1,"362":1,"363":2,"367":1,"370":2,"372":2,"384":1,"388":1,"389":1,"391":1,"392":1,"399":1,"413":2,"414":1,"419":1,"423":1,"432":1,"434":1,"451":2,"480":3,"482":2,"483":4,"486":2,"488":1,"489":1,"490":1,"491":3,"492":2,"493":1,"501":1,"508":1,"517":1,"520":1,"523":2,"524":1,"529":1,"533":1,"541":1,"550":2,"552":2,"556":2,"564":1}}],["v0",{"2":{"526":1}}],["volume",{"2":{"469":1,"479":1,"513":1,"520":1,"534":10,"535":3,"556":1}}],["volumes",{"2":{"231":1,"528":1,"534":4,"535":4}}],["void",{"2":{"463":1,"465":1}}],["void>",{"2":{"461":1}}],["vnd",{"2":{"448":2,"453":2}}],["ve",{"2":{"534":1,"535":1}}],["vendor",{"2":{"426":1}}],["versatile",{"2":{"443":1}}],["versions",{"0":{"561":1},"2":{"561":1}}],["version",{"2":{"399":1,"531":1,"534":1,"552":3,"553":1,"554":3,"555":1,"560":1,"562":1,"563":2,"564":1}}],["very",{"2":{"117":1,"152":1,"175":1,"319":1,"526":1}}],["verifiability",{"0":{"96":1}}],["verifiable",{"2":{"90":1,"92":1}}],["verified",{"2":{"77":1,"88":1,"96":1,"510":1,"559":1}}],["verification",{"0":{"79":1,"81":1,"88":1},"1":{"80":1,"81":1},"2":{"76":1,"79":1,"81":4,"87":1,"92":1,"473":2,"474":2}}],["verifyauditlog",{"2":{"81":1}}],["verifying",{"0":{"87":1},"1":{"88":1},"2":{"72":1,"78":1,"383":1}}],["verify",{"0":{"76":1,"243":1},"1":{"77":1},"2":{"43":1,"76":1,"87":1,"165":1,"168":1,"241":1,"325":1,"444":1,"452":1,"536":1,"537":1,"541":1}}],["vs",{"2":{"195":1}}],["v",{"2":{"165":1}}],["visit",{"2":{"473":1,"529":1}}],["visible",{"2":{"149":1,"485":1,"499":1}}],["viewed",{"2":{"315":1}}],["views",{"2":{"282":1,"481":1}}],["viewing",{"0":{"84":1,"89":1,"160":1},"2":{"178":1}}],["view",{"2":{"83":1,"85":1,"89":1,"145":1,"164":2,"184":1,"290":1,"311":1,"312":1,"366":1,"371":1,"402":1,"419":1,"420":1,"475":1,"538":1}}],["via",{"0":{"117":1,"176":1},"1":{"118":1,"119":1,"120":1,"121":1,"122":1,"123":1},"2":{"49":1,"113":1,"151":1,"153":1,"180":1,"191":1,"248":2,"264":1,"266":1,"362":1,"364":1,"370":1,"404":1,"435":1,"437":1,"441":1,"456":1,"460":1,"486":1,"549":1}}],["vast",{"2":{"447":1}}],["vary",{"2":{"534":1}}],["var",{"2":{"458":1,"517":3,"519":1,"525":1,"534":2,"535":2}}],["varchar",{"2":{"186":1,"284":1}}],["variable",{"0":{"522":1},"1":{"523":1,"524":1,"525":1,"526":1,"527":1},"2":{"363":1,"368":1,"438":1,"457":1,"519":1,"523":1,"524":1,"525":1,"526":1,"527":1,"550":2,"554":2}}],["variables",{"2":{"49":1,"51":1,"252":1,"444":1,"456":1,"518":1,"520":2,"521":1,"522":1,"524":1,"550":2}}],["variety",{"2":{"352":1,"443":1,"467":1,"476":1,"511":1}}],["various",{"2":{"82":1,"442":1}}],["valkey",{"2":{"432":1,"515":1,"519":1,"521":2,"524":4,"533":1}}],["validates",{"2":{"300":1,"398":1}}],["validated",{"2":{"156":1}}],["validation",{"0":{"144":1,"229":1,"398":1},"2":{"107":1,"112":1,"143":1,"184":1,"202":1,"207":1,"228":1,"255":1,"282":1,"296":2,"334":1,"336":1,"340":1,"348":1,"358":1,"379":1}}],["valid",{"2":{"144":3,"229":2,"398":1,"399":1,"468":1,"475":1,"539":2,"548":1}}],["values",{"2":{"296":1,"333":1,"372":1,"379":1,"408":1,"409":1,"435":1,"519":1}}],["value",{"2":{"2":1,"120":1,"273":1,"334":4,"335":2,"366":1,"369":1,"372":1,"376":2,"377":1,"393":1,"398":1,"401":1,"404":1,"406":1,"407":2,"408":1,"409":1,"410":2,"411":2,"439":1,"440":1,"499":2,"500":4,"523":2,"524":1,"525":1,"526":2,"527":1,"550":1}}],["v1",{"2":{"15":2,"16":1,"30":1,"73":1,"76":1,"97":1,"192":1,"240":2,"241":1,"242":1,"245":1,"326":1,"554":2}}],["19z",{"2":{"534":1}}],["17a",{"2":{"489":1}}],["16",{"2":{"473":1}}],["16t14",{"2":{"137":1}}],["127",{"2":{"459":1}}],["1247",{"2":{"122":1}}],["12",{"2":{"121":1,"122":1,"499":1}}],["123",{"2":{"77":1,"364":1,"463":1}}],["11",{"2":{"100":1}}],["1095",{"2":{"319":1}}],["10+",{"2":{"278":1}}],["10",{"2":{"75":1,"195":1,"216":1,"222":1,"266":1,"295":1,"319":1,"328":2,"335":1,"369":1}}],["100m",{"2":{"525":2}}],["100mb",{"2":{"445":1}}],["1000",{"2":{"81":1,"200":1,"229":1,"294":1,"333":1,"398":1}}],["100",{"2":{"49":1,"51":1,"75":1,"249":1,"319":1,"345":1,"398":1,"526":1}}],["15t14",{"2":{"216":1,"222":1}}],["15t12",{"2":{"195":1}}],["15t11",{"2":{"131":1}}],["15t10",{"2":{"100":2}}],["15",{"2":{"50":1,"100":1,"106":1,"131":1,"526":1}}],["1",{"0":{"15":1,"92":1,"173":1,"233":1,"239":1,"248":1,"270":1,"351":1,"457":1,"478":1,"497":1,"505":1,"516":1,"556":1},"2":{"49":1,"51":1,"74":1,"75":3,"117":1,"144":1,"156":1,"168":1,"173":1,"176":1,"200":1,"228":1,"229":2,"294":1,"328":1,"333":1,"334":1,"398":4,"408":1,"422":1,"441":1,"459":2,"507":1,"509":1,"554":1}}],["flat",{"2":{"482":1}}],["flag",{"2":{"175":1,"397":1,"528":1,"535":1,"554":2,"558":1,"559":1}}],["flags",{"2":{"173":1,"397":2}}],["flushes",{"2":{"436":1}}],["flowproducer",{"2":{"435":1}}],["flow",{"0":{"364":1,"434":1},"2":{"393":1,"434":1,"435":1}}],["flexible",{"2":{"352":1,"404":1}}],["fk",{"2":{"186":1,"187":3,"285":3}}],["f23456789012",{"2":{"100":1,"131":1,"195":1,"335":1,"346":1}}],["f6a7",{"2":{"100":1,"131":1,"195":1,"335":1,"346":1}}],["fetch",{"2":{"393":1,"482":1,"483":1,"501":1,"548":1}}],["fetched",{"2":{"170":1,"483":1,"491":1}}],["fetches",{"2":{"81":1}}],["few",{"2":{"267":1}}],["features",{"0":{"427":1,"449":1},"1":{"450":1,"451":1,"452":1}}],["featureenabled",{"2":{"399":1}}],["feature",{"0":{"178":1,"276":1,"357":1},"2":{"48":1,"72":1,"82":1,"90":1,"97":2,"171":1,"173":1,"178":2,"184":1,"192":2,"268":1,"276":2,"282":2,"326":2,"349":1,"357":1,"358":2,"399":1,"430":1,"501":1,"537":1,"541":1,"547":1,"553":1}}],["facing",{"2":{"523":2,"546":1,"549":1,"550":1}}],["factory",{"2":{"460":1}}],["fastmail",{"2":{"472":1}}],["falls",{"2":{"527":1}}],["fall",{"2":{"444":1}}],["fallback",{"0":{"448":1,"452":1,"453":1},"2":{"443":1,"445":1,"446":1,"452":2}}],["false",{"2":{"77":1,"100":1,"110":1,"111":1,"112":1,"115":1,"131":1,"189":1,"195":1,"391":1,"401":1,"466":1,"523":1,"524":1,"525":1,"526":1}}],["failed",{"2":{"365":1,"369":1,"435":2,"548":1}}],["fail",{"0":{"356":1},"2":{"189":1,"256":1}}],["fails",{"0":{"541":1},"2":{"81":2,"365":2,"452":1,"553":2}}],["failures",{"2":{"88":1,"256":1,"356":1,"441":1}}],["failure",{"2":{"77":1,"88":1,"261":1,"365":1,"540":1}}],["future",{"2":{"320":1,"354":1}}],["further",{"2":{"190":1}}],["fulfill",{"2":{"91":1}}],["fully",{"2":{"248":1,"314":1,"367":1,"419":1,"499":1}}],["full",{"0":{"355":1},"2":{"54":1,"84":1,"89":1,"94":1,"120":1,"155":2,"176":2,"262":1,"355":1,"418":1,"421":1,"427":1,"441":1,"459":1,"471":1}}],["functional",{"2":{"314":1}}],["functionality",{"2":{"32":1,"450":1,"451":1}}],["functions",{"2":{"91":1}}],["function",{"2":{"80":2,"362":1,"453":1,"505":1}}],["footer",{"2":{"561":1}}],["foe",{"2":{"517":1}}],["four",{"2":{"496":1}}],["found",{"2":{"103":1,"112":1,"115":1,"123":1,"127":1,"138":2,"142":1,"198":1,"207":1,"212":1,"223":2,"228":1,"255":2,"331":1,"340":1,"343":1,"383":1,"389":1,"390":1,"391":1,"464":1,"556":1}}],["folders",{"2":{"523":1}}],["folder",{"0":{"480":1,"535":1},"2":{"468":4,"469":1,"478":3,"479":1,"480":2,"483":2,"501":2,"512":2,"513":1,"534":1,"535":2}}],["follow",{"2":{"428":1,"429":1,"562":1}}],["follows",{"2":{"401":1}}],["following",{"2":{"50":1,"51":1,"52":1,"80":1,"81":1,"84":1,"91":1,"147":1,"272":1,"282":1,"292":1,"358":1,"372":1,"373":1,"386":1,"402":1,"403":1,"448":1,"468":1,"480":1,"495":1,"498":1,"505":1,"507":1,"508":1,"512":1,"517":1,"519":2,"531":1,"535":1,"548":2,"552":1}}],["fork",{"2":{"430":1}}],["forbids",{"2":{"414":1}}],["formal",{"2":{"278":1}}],["formats",{"0":{"446":1},"1":{"447":1,"448":1},"2":{"442":1,"443":1,"447":6,"448":2,"453":1}}],["format",{"2":{"50":1,"143":1,"147":1,"228":1,"229":2,"255":1,"292":1,"427":1,"443":1,"447":2,"477":1,"478":1}}],["form",{"0":{"149":1,"294":1},"2":{"373":1,"379":1,"471":1,"473":1,"474":1,"485":2}}],["forces",{"2":{"115":1,"175":1}}],["force",{"0":{"41":1},"2":{"48":1,"459":2,"487":1,"525":2,"535":2,"551":1}}],["for",{"0":{"7":1,"416":1,"422":1,"473":1,"474":1,"517":1,"533":1,"540":1,"561":1},"2":{"2":1,"6":1,"16":1,"18":1,"31":1,"32":1,"45":1,"48":1,"52":1,"72":1,"73":1,"74":3,"78":1,"80":1,"81":1,"82":1,"84":1,"90":1,"95":1,"97":1,"105":1,"122":1,"124":1,"143":1,"145":1,"146":2,"147":1,"149":1,"157":1,"158":2,"171":1,"174":2,"176":1,"177":1,"178":3,"183":1,"184":2,"187":2,"191":1,"192":1,"195":1,"201":1,"206":1,"210":1,"228":1,"231":1,"233":2,"234":1,"235":1,"239":2,"240":1,"248":1,"249":2,"250":1,"252":2,"256":2,"261":2,"264":1,"265":1,"268":1,"270":1,"276":2,"280":1,"282":3,"285":1,"289":1,"290":1,"291":2,"292":2,"294":1,"295":1,"299":1,"307":1,"314":1,"315":1,"318":1,"320":1,"325":2,"326":1,"328":1,"333":1,"335":1,"345":1,"354":1,"357":1,"358":4,"364":3,"365":1,"369":3,"371":1,"372":4,"374":1,"382":1,"383":1,"384":1,"385":1,"392":2,"393":1,"400":2,"401":2,"402":2,"403":1,"404":3,"407":1,"410":1,"413":3,"414":1,"420":1,"426":2,"430":3,"434":1,"435":2,"437":1,"438":1,"440":1,"442":2,"443":3,"445":1,"447":2,"450":1,"451":4,"452":1,"453":1,"455":2,"456":1,"459":5,"461":1,"463":3,"466":1,"467":1,"469":4,"470":1,"471":6,"472":1,"473":1,"474":1,"475":2,"476":1,"477":1,"478":1,"479":1,"481":1,"483":1,"486":1,"487":1,"489":1,"494":1,"496":2,"497":1,"498":3,"502":1,"505":2,"507":2,"510":1,"511":1,"513":4,"514":1,"517":1,"518":1,"519":6,"520":1,"521":5,"522":1,"523":3,"524":10,"525":9,"526":5,"527":2,"528":2,"532":1,"533":1,"534":3,"537":3,"538":1,"540":1,"541":3,"544":2,"545":1,"546":1,"549":1,"551":1,"553":1,"554":1,"555":1,"556":2,"559":1,"560":1,"561":1,"563":1,"564":2}}],["frontend",{"2":{"184":3,"282":2,"358":2,"523":2,"528":1,"544":1,"550":1,"551":1}}],["from",{"0":{"124":1,"139":1,"162":1,"224":1,"307":1,"478":1},"1":{"125":1,"126":1,"127":1,"140":1,"141":1,"142":1,"225":1,"226":1,"227":1},"2":{"48":1,"50":1,"53":1,"59":1,"82":1,"84":1,"96":1,"106":1,"112":1,"120":1,"121":1,"122":1,"139":1,"141":1,"151":1,"153":1,"155":1,"162":1,"164":2,"165":1,"167":1,"168":1,"169":1,"171":1,"173":1,"175":1,"178":1,"180":1,"181":1,"191":2,"205":1,"224":1,"234":1,"235":1,"272":2,"276":1,"279":1,"295":1,"297":1,"301":1,"303":1,"307":1,"308":1,"315":1,"339":1,"347":1,"353":1,"355":1,"364":3,"375":1,"376":1,"383":1,"401":1,"404":1,"409":1,"426":2,"430":1,"435":1,"436":1,"437":1,"440":1,"441":1,"442":1,"443":1,"450":1,"451":2,"453":1,"455":2,"461":2,"464":1,"465":1,"467":2,"469":1,"470":1,"471":2,"475":2,"476":1,"482":1,"483":2,"485":1,"491":1,"493":1,"498":2,"500":1,"507":2,"508":2,"509":2,"511":1,"512":1,"513":2,"521":1,"526":1,"527":1,"531":1,"533":4,"535":1,"540":2,"541":2,"549":1,"555":1,"558":2,"559":3,"562":1}}],["french",{"2":{"544":1}}],["freezes",{"2":{"180":1}}],["free",{"2":{"149":1,"426":1}}],["frequency",{"2":{"120":1,"144":1,"438":1,"523":2}}],["friendly",{"2":{"83":1}}],["frame",{"2":{"49":1}}],["finish",{"2":{"487":1}}],["finishes",{"2":{"435":1}}],["finished",{"2":{"45":1,"433":1,"434":2,"435":3}}],["fine",{"2":{"404":1}}],["find",{"2":{"240":1,"265":1,"430":1,"498":1,"505":1,"507":1,"508":1,"519":1,"535":1,"556":1,"558":1,"561":1}}],["financial",{"0":{"233":1},"2":{"201":2,"206":2,"233":4,"264":1,"266":2,"280":1,"295":1,"319":1}}],["finance",{"2":{"181":1,"335":4,"346":1,"382":1}}],["finalization",{"2":{"435":1}}],["finalizes",{"2":{"435":1}}],["final",{"2":{"173":1,"498":1}}],["finally",{"2":{"165":1,"509":1}}],["fires",{"2":{"117":1}}],["first",{"2":{"115":1,"143":1,"153":2,"156":1,"167":1,"190":1,"451":1,"497":1,"510":1,"516":1,"529":2}}],["fields",{"0":{"149":1,"155":1,"294":1,"298":1,"382":1},"2":{"108":1,"110":1,"155":1,"203":1,"205":2,"255":1,"296":1,"300":1,"334":1,"337":1,"339":2,"352":1,"379":1,"388":1,"390":2,"471":2}}],["field",{"2":{"105":1,"110":1,"119":1,"120":1,"135":1,"143":1,"144":1,"155":1,"165":1,"170":1,"183":1,"200":1,"205":1,"212":1,"220":1,"228":2,"229":1,"333":1,"334":2,"335":2,"345":1,"347":1,"354":1,"366":1,"376":2,"388":1,"395":2,"401":1,"404":2,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1,"473":1,"474":1,"508":2}}],["fixed",{"2":{"80":1}}],["fill",{"2":{"471":2,"485":1,"500":1,"509":1,"520":1}}],["filled",{"2":{"155":1,"471":1}}],["filtered",{"2":{"366":1}}],["filters",{"2":{"120":1,"121":1,"122":1,"176":1}}],["filter",{"2":{"74":4,"120":1,"155":2,"259":1,"507":1}}],["filtering",{"0":{"85":1},"2":{"73":1,"486":1}}],["filenames",{"2":{"364":1}}],["filepath",{"2":{"61":1}}],["filesystem",{"0":{"458":1},"2":{"59":1,"427":1,"455":1,"457":1,"469":1,"479":1,"513":1,"520":1}}],["files",{"2":{"59":1,"61":1,"445":2,"451":1,"455":1,"458":1,"463":2,"467":1,"468":2,"469":2,"477":1,"492":1,"511":1,"512":1,"513":2,"525":2,"527":1,"534":2,"537":1,"547":1}}],["file",{"0":{"60":1,"62":1,"445":1,"446":1,"468":1,"489":1,"512":1},"1":{"447":1,"448":1},"2":{"32":1,"33":1,"51":1,"61":1,"345":1,"364":1,"382":1,"395":1,"430":1,"440":1,"442":1,"443":2,"444":1,"445":2,"447":2,"450":3,"451":3,"455":1,"456":1,"463":5,"464":4,"465":4,"466":3,"468":3,"469":5,"478":2,"479":6,"483":1,"487":2,"489":2,"505":3,"509":2,"512":3,"513":8,"517":1,"518":3,"521":3,"528":1,"532":1,"533":5,"534":1,"535":2,"537":1,"538":1,"539":4,"540":6,"541":3,"549":1,"550":1,"551":1,"554":1,"556":2,"558":5}}],["fits",{"2":{"14":1}}],["wrong",{"2":{"529":1}}],["write",{"2":{"517":1}}],["writes",{"2":{"435":1}}],["writing",{"2":{"461":1}}],["written",{"2":{"122":1,"156":1,"483":1}}],["www",{"2":{"508":2}}],["web",{"2":{"479":1,"529":2,"547":1,"561":1}}],["webhooks",{"2":{"248":1}}],["we",{"2":{"430":2,"472":1,"499":1,"526":1,"553":1}}],["well",{"2":{"366":1,"426":1}}],["welcome",{"2":{"30":1,"425":1,"430":1}}],["weekly",{"2":{"249":1}}],["were",{"2":{"127":1,"156":1,"157":1,"158":2,"168":1,"175":1,"353":1,"383":1,"390":1,"437":1,"491":1,"537":1}}],["won",{"2":{"272":1}}],["wordprocessingml",{"2":{"448":1,"453":1}}],["word",{"2":{"173":1,"527":1}}],["working",{"2":{"559":1}}],["work",{"0":{"483":1},"2":{"471":1}}],["workflows",{"2":{"230":1}}],["workflow",{"0":{"165":1,"238":1},"1":{"239":1,"240":1,"241":1,"242":1,"243":1},"2":{"267":1}}],["workers",{"2":{"358":1,"360":1}}],["worker",{"0":{"190":1,"287":1,"359":1,"369":1,"439":1},"1":{"360":1,"361":1,"362":1,"363":1,"364":1,"365":1,"366":1,"367":1,"368":1,"369":1,"370":1},"2":{"112":1,"127":1,"152":1,"158":1,"162":1,"173":2,"175":1,"190":1,"275":1,"287":1,"351":1,"356":1,"358":3,"359":2,"360":1,"362":1,"363":2,"364":1,"365":1,"366":2,"367":2,"370":1,"380":1,"392":1,"393":1,"432":5,"437":1,"438":1,"440":1,"441":2}}],["works",{"0":{"49":1,"361":1,"487":1,"537":1},"1":{"50":1,"362":1,"363":1,"364":1,"365":1},"2":{"364":1,"435":1,"536":1}}],["workspace",{"0":{"502":1},"1":{"503":1,"504":1,"505":1,"506":1,"507":1,"508":1,"509":1,"510":1},"2":{"1":1,"33":1,"426":1,"427":1,"429":1,"476":1,"484":2,"487":1,"502":1,"503":1,"504":1,"508":3,"509":3,"510":1,"530":1}}],["would",{"2":{"92":1,"270":1,"383":1,"521":1,"533":1}}],["want",{"2":{"481":1,"490":1,"520":1,"535":1,"554":2}}],["walk",{"2":{"470":1,"477":1,"514":1}}],["ways",{"2":{"554":1}}],["way",{"2":{"404":1}}],["warning",{"2":{"127":1,"156":1,"158":1,"299":1,"397":2,"492":1,"498":1,"553":1}}],["was",{"2":{"84":2,"88":1,"122":2,"127":1,"138":1,"142":1,"147":1,"153":1,"160":1,"165":1,"170":1,"180":1,"186":1,"187":1,"226":3,"227":1,"243":1,"285":1,"292":1,"296":1,"391":1,"475":1,"491":1,"539":1}}],["wait",{"2":{"52":1,"451":1}}],["whole",{"2":{"535":1}}],["who",{"2":{"187":1,"285":1,"400":1,"420":1,"427":1,"529":1}}],["why",{"2":{"186":1,"435":1,"534":1}}],["what",{"0":{"156":1,"426":1,"475":1,"501":1,"510":1,"541":1},"2":{"122":1,"270":1,"427":1,"533":1,"534":1,"536":1}}],["whether",{"2":{"147":1,"152":1,"173":1,"186":1,"227":1,"284":1,"292":1,"333":1,"372":1,"378":1,"385":1,"446":1,"487":1}}],["where",{"0":{"534":1},"1":{"535":1},"2":{"88":1,"317":1,"318":1,"393":1,"401":1,"404":1,"407":1,"408":1,"409":1,"410":1,"411":1,"441":1,"458":2,"482":1,"517":1,"529":1,"534":1,"546":1}}],["when",{"0":{"484":1,"486":1,"534":1},"1":{"535":1},"2":{"50":1,"52":2,"158":1,"165":1,"170":1,"175":1,"187":1,"258":1,"270":1,"285":1,"309":1,"323":1,"333":1,"334":1,"351":1,"353":1,"354":1,"370":1,"372":2,"375":2,"377":1,"383":1,"401":1,"427":1,"435":3,"437":2,"443":1,"447":1,"448":1,"453":1,"458":1,"459":2,"463":1,"465":1,"469":1,"479":1,"481":2,"485":1,"486":1,"487":1,"488":1,"489":1,"492":1,"507":1,"513":1,"520":1,"537":1,"538":1,"544":1,"547":1,"549":1,"552":1,"561":1,"563":2,"564":1}}],["which",{"2":{"82":1,"84":1,"181":1,"245":1,"267":2,"268":1,"351":1,"352":1,"364":1,"372":1,"375":1,"376":1,"384":1,"388":1,"390":1,"392":1,"401":1,"404":1,"443":2,"455":1,"457":1,"470":1,"471":1,"497":1,"517":1,"520":1,"526":1,"556":1}}],["whichever",{"2":{"14":1}}],["while",{"2":{"81":1,"153":1,"207":1,"210":1,"231":1,"267":1,"273":1,"416":1,"475":1,"491":1,"558":1}}],["wish",{"2":{"456":1}}],["wildcards",{"2":{"418":1}}],["wildcard",{"2":{"402":1,"403":1}}],["will",{"2":{"17":1,"49":1,"50":1,"52":2,"88":1,"89":1,"112":1,"127":2,"152":1,"158":1,"162":1,"163":1,"168":1,"173":1,"175":2,"205":1,"272":1,"296":2,"299":1,"393":1,"415":1,"425":1,"429":1,"444":1,"445":1,"451":1,"452":1,"457":1,"458":3,"460":1,"463":1,"465":1,"468":1,"469":1,"470":1,"471":3,"473":1,"474":1,"475":4,"477":1,"478":1,"480":2,"483":2,"485":2,"491":1,"497":3,"498":1,"499":2,"501":6,"505":3,"508":1,"509":2,"510":6,"512":1,"513":1,"514":1,"517":2,"519":1,"521":1,"525":1,"526":1,"528":1,"529":1,"532":1,"534":5,"535":2,"544":3,"545":1,"547":1,"551":1,"552":1,"554":1,"556":3,"558":3,"561":1,"562":1,"564":1}}],["wins",{"0":{"354":1},"2":{"354":1,"393":2}}],["window",{"2":{"51":3,"52":3,"182":1,"526":3}}],["wide",{"0":{"508":1},"2":{"56":1,"156":1,"176":1,"370":1,"443":1,"502":1,"508":2}}],["without",{"2":{"53":1,"93":1,"95":1,"176":1,"351":1,"372":1,"381":1,"420":1,"461":1,"465":1,"472":1,"483":1,"494":1,"498":1,"502":1,"553":1}}],["within",{"2":{"49":1,"51":1,"81":1,"83":1,"88":1,"90":1,"177":1,"352":1,"376":1,"393":1,"404":1,"423":1,"441":1,"458":1,"494":1,"496":1,"497":1,"502":1,"526":1}}],["with",{"0":{"370":1,"404":1,"413":1,"415":1,"447":1,"448":1},"1":{"405":1,"406":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1},"2":{"15":1,"17":1,"30":1,"31":1,"49":1,"50":1,"52":1,"72":1,"73":1,"80":1,"81":4,"84":1,"87":1,"88":2,"89":1,"90":1,"95":1,"96":1,"99":1,"106":1,"107":2,"112":1,"115":2,"123":1,"127":1,"137":1,"147":2,"153":1,"155":1,"158":1,"174":1,"178":1,"184":2,"189":2,"190":1,"200":1,"202":1,"207":1,"212":1,"231":1,"233":1,"234":1,"235":1,"236":3,"237":1,"239":2,"245":1,"246":1,"261":1,"262":1,"264":1,"266":1,"267":3,"268":1,"272":1,"273":1,"276":1,"280":1,"282":2,"284":1,"289":1,"291":1,"292":3,"293":1,"294":1,"296":1,"299":1,"304":1,"305":1,"309":1,"322":1,"334":3,"336":1,"340":1,"343":1,"349":1,"353":1,"356":1,"357":1,"358":2,"362":1,"364":1,"367":1,"370":1,"372":2,"377":5,"379":1,"383":1,"387":1,"390":1,"391":1,"393":1,"396":3,"404":1,"405":1,"413":1,"415":1,"425":1,"435":2,"437":1,"439":1,"440":1,"441":1,"444":1,"445":2,"447":1,"450":1,"455":1,"464":1,"466":1,"471":1,"481":1,"484":2,"487":2,"493":2,"498":1,"499":1,"502":1,"503":1,"515":1,"519":2,"525":1,"526":1,"528":1,"529":1,"531":1,"533":2,"534":1,"535":1,"537":1,"545":1,"547":1,"550":2,"552":1,"553":1,"554":1,"557":1,"559":1,"562":2,"563":1}}],["ls",{"2":{"534":1}}],["lru",{"2":{"450":1}}],["lt",{"2":{"334":1,"377":1,"463":1,"464":1,"465":1,"466":1}}],["ll",{"2":{"307":2,"473":1,"518":1,"535":2}}],["latest",{"2":{"531":3,"533":1,"557":1,"560":1,"562":3,"563":1}}],["languages",{"2":{"544":1}}],["language",{"0":{"544":1},"2":{"404":1,"544":4}}],["labeled",{"2":{"292":1,"315":1}}],["labeling",{"2":{"240":1,"250":1}}],["labelid",{"2":{"216":1,"220":1,"221":1,"222":1,"242":1}}],["labelname",{"2":{"216":1,"222":1}}],["label",{"0":{"193":1,"196":1,"199":1,"203":1,"208":1,"213":1,"214":1,"218":1,"224":1,"241":1,"242":1,"244":1,"246":1,"271":1,"285":1,"293":1,"297":1,"301":1,"308":1,"309":1,"311":1,"312":1,"320":1,"323":1,"324":1},"1":{"194":1,"195":1,"196":1,"197":2,"198":2,"199":1,"200":2,"201":2,"202":2,"203":1,"204":2,"205":2,"206":2,"207":2,"208":1,"209":2,"210":2,"211":2,"212":2,"214":1,"215":2,"216":2,"217":2,"218":1,"219":2,"220":2,"221":2,"222":2,"223":2,"224":1,"225":2,"226":2,"227":2,"245":1,"246":1,"294":1,"295":1,"296":1,"298":1,"299":1,"300":1,"302":1,"303":1,"304":1,"305":1},"2":{"173":2,"196":1,"197":1,"198":1,"199":2,"200":2,"202":2,"203":1,"204":1,"205":1,"207":3,"208":1,"209":1,"210":2,"212":2,"214":2,"216":3,"217":1,"218":4,"220":1,"223":3,"224":2,"226":4,"227":1,"229":2,"231":1,"233":1,"241":5,"242":4,"243":1,"246":2,"248":2,"252":1,"255":4,"259":1,"261":2,"262":2,"264":1,"265":1,"266":2,"270":2,"271":3,"272":9,"273":1,"274":1,"275":2,"282":6,"284":4,"285":6,"287":2,"288":8,"289":1,"292":7,"294":3,"296":2,"297":1,"298":1,"299":2,"300":1,"303":3,"304":6,"305":2,"307":7,"308":5,"309":4,"314":1,"315":2,"320":1,"322":2,"323":2,"324":3,"325":3}}],["labels",{"0":{"192":1,"194":1,"230":1,"245":1,"268":1,"284":1,"290":1,"292":1,"295":1,"306":1,"314":1,"315":1},"1":{"193":1,"194":1,"195":2,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"258":1,"259":1,"260":1,"261":1,"262":1,"263":1,"264":1,"265":1,"266":1,"267":1,"269":1,"270":1,"271":1,"272":1,"273":1,"274":1,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1,"283":1,"284":1,"285":1,"286":1,"287":1,"288":1,"289":1,"291":1,"292":1,"293":1,"294":1,"295":1,"296":1,"297":1,"298":1,"299":1,"300":1,"301":1,"302":1,"303":1,"304":1,"305":1,"306":1,"307":2,"308":2,"309":2,"310":1,"311":1,"312":1,"313":1,"314":1,"315":1,"316":1,"317":1,"318":1,"319":1,"320":1,"321":1,"322":1,"323":1,"324":1,"325":1},"2":{"112":1,"146":1,"175":1,"192":2,"194":2,"196":1,"199":1,"203":1,"208":1,"230":1,"231":1,"234":2,"235":1,"236":2,"237":1,"245":3,"246":2,"248":1,"249":1,"250":1,"259":1,"267":2,"268":2,"270":1,"272":2,"273":1,"275":1,"276":3,"278":1,"282":3,"287":1,"289":1,"290":4,"291":1,"292":1,"306":1,"308":1,"311":2,"312":2,"318":1,"320":3,"323":2,"325":1,"480":2,"534":1,"544":1}}],["lastsyncstatusmessage",{"2":{"412":2}}],["last",{"2":{"120":1,"144":1,"162":1,"186":1,"369":2,"385":1,"434":1,"436":1,"437":1,"559":1}}],["larger",{"2":{"445":1}}],["large",{"2":{"117":1,"231":1,"319":1,"435":2,"436":1,"440":1,"451":2,"463":1,"469":1,"513":1}}],["let",{"2":{"481":1,"532":1}}],["lets",{"2":{"154":1}}],["legacy",{"0":{"448":1,"453":1},"2":{"443":1,"444":1,"445":1,"446":1}}],["legalholdmodule",{"2":{"189":1}}],["legalholdservice",{"2":{"184":1,"190":1}}],["legalhold",{"2":{"184":1,"191":5}}],["legalholdid",{"2":{"122":1,"131":2,"137":1}}],["legal",{"0":{"97":1,"145":1,"167":1,"171":1,"186":1,"187":1,"234":1,"265":1,"278":1},"1":{"98":1,"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"143":1,"144":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"172":1,"173":1,"174":1,"175":1,"176":1,"177":1,"178":1,"179":1,"180":1,"181":1,"182":1,"183":1,"184":1,"185":1,"186":1,"187":1,"188":1,"189":1,"190":1,"191":1},"2":{"97":3,"99":1,"101":1,"104":1,"105":1,"113":2,"117":1,"124":1,"129":1,"133":1,"139":1,"143":2,"145":2,"146":2,"147":1,"149":1,"153":2,"158":1,"160":1,"161":1,"163":1,"165":2,"169":1,"171":1,"173":3,"175":2,"176":1,"177":1,"178":2,"183":1,"184":10,"187":3,"191":1,"195":1,"216":1,"222":1,"234":4,"250":1,"265":2,"278":1,"291":1,"295":1,"317":1,"318":2,"319":2,"346":1,"370":1,"427":1}}],["less",{"0":{"410":2},"2":{"410":2}}],["length",{"2":{"334":1,"397":2}}],["learn",{"2":{"553":1}}],["leave",{"2":{"497":1}}],["leaving",{"2":{"441":1}}],["leadership",{"2":{"235":1,"279":1}}],["least",{"2":{"110":1,"155":1,"158":1,"173":1,"228":1,"294":1,"394":1,"414":1,"450":1,"485":1,"515":1}}],["levels",{"2":{"310":1}}],["level",{"0":{"270":1},"2":{"187":1,"190":1,"235":1,"268":1,"285":1,"291":1,"295":1,"482":1,"486":1,"499":1,"507":2,"533":1}}],["left",{"2":{"52":1,"497":1,"498":1}}],["loss",{"2":{"553":1}}],["lose",{"2":{"152":1,"153":1,"499":1}}],["low",{"2":{"439":1}}],["lowercased",{"2":{"395":1,"396":1}}],["lower",{"2":{"333":1,"372":1,"374":1,"385":1}}],["love",{"2":{"430":1}}],["lockduration",{"2":{"441":1}}],["lock",{"2":{"426":1}}],["locked",{"2":{"322":1}}],["location",{"0":{"360":1},"2":{"184":1,"282":1,"358":1,"540":1,"541":1}}],["located",{"2":{"78":1,"145":1,"290":1,"371":1,"384":1,"498":1,"534":1,"558":1}}],["locally",{"2":{"551":1}}],["localfilesystemprovider",{"2":{"460":1}}],["localhost",{"2":{"452":1,"523":2,"529":1,"548":2,"551":1,"556":1}}],["local",{"0":{"458":1,"517":1,"534":1},"1":{"535":1},"2":{"59":1,"147":1,"292":1,"427":1,"455":1,"457":1,"458":3,"461":1,"469":4,"479":4,"513":4,"515":3,"519":2,"520":2,"525":3,"534":3,"535":1}}],["looks",{"2":{"471":1}}],["look",{"2":{"307":1,"534":2,"542":1,"551":1,"556":1}}],["loop",{"2":{"81":1,"190":1,"439":1}}],["load",{"2":{"451":1}}],["loads",{"2":{"170":1,"440":1}}],["loading",{"2":{"81":1,"363":1,"435":1}}],["logged",{"2":{"365":2,"397":2}}],["logging",{"0":{"261":1},"2":{"530":1,"541":1}}],["logiclabshq",{"2":{"533":1}}],["logiclabs",{"2":{"516":1}}],["logical",{"2":{"376":1}}],["logicaloperator",{"2":{"334":1,"335":1}}],["logic",{"0":{"79":1,"210":1,"414":1},"1":{"80":1,"81":1,"415":1},"2":{"78":1,"79":1,"184":1,"246":1,"249":1,"256":1,"267":1,"272":1,"282":1,"302":1,"352":1,"354":1,"392":1,"394":1,"404":1,"414":1,"443":1,"455":1}}],["logid",{"2":{"77":1}}],["logins",{"2":{"93":1}}],["login",{"0":{"12":1,"15":1},"2":{"10":1,"15":1,"74":1,"75":1,"472":1,"529":1}}],["logs",{"0":{"73":1,"84":1},"1":{"74":1,"75":1},"2":{"73":1,"76":1,"81":2,"85":1,"96":1,"177":1,"191":1,"356":1,"364":1,"427":1,"541":2,"548":1}}],["log",{"0":{"72":1,"76":1,"78":1,"83":1,"87":1,"89":1,"90":1,"157":1,"191":1,"288":1},"1":{"73":1,"74":1,"75":1,"76":1,"77":2,"79":1,"80":1,"81":1,"82":1,"84":1,"85":1,"86":1,"87":1,"88":2,"89":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1},"2":{"72":2,"73":1,"76":1,"77":2,"78":2,"79":1,"80":1,"81":5,"82":3,"83":1,"84":2,"86":1,"87":3,"88":10,"89":2,"90":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1,"122":1,"149":1,"156":1,"157":1,"165":1,"177":1,"180":1,"190":1,"249":1,"256":1,"261":1,"262":1,"274":1,"288":1,"308":1,"355":2,"364":2,"366":2,"367":1,"387":2,"390":1,"391":1,"461":1,"471":1}}],["longest",{"2":{"347":1,"354":1,"364":1,"383":1,"393":2}}],["longer",{"2":{"147":1,"162":1,"354":1,"380":1,"535":1}}],["long",{"2":{"16":1,"174":1,"349":1,"519":1,"541":1}}],["light",{"2":{"545":1}}],["lightweight",{"2":{"278":1}}],["lib",{"2":{"534":2}}],["library",{"2":{"505":1}}],["libraries",{"2":{"443":1}}],["live",{"2":{"383":1,"481":1,"484":2,"487":1}}],["lived",{"2":{"15":1,"16":1}}],["line",{"2":{"237":1,"345":1,"364":1,"382":1,"559":1}}],["lines",{"2":{"233":1,"533":1}}],["linkage",{"2":{"177":1,"184":1}}],["links",{"2":{"123":1,"133":1,"152":2,"156":1,"158":1,"165":1,"176":1}}],["link",{"2":{"105":1,"131":1,"132":1,"137":1,"142":1,"153":1,"158":1,"162":1,"174":1,"187":1,"191":1}}],["linking",{"2":{"97":1,"133":1}}],["linked",{"2":{"94":1,"99":1,"122":2,"127":1,"129":1,"139":1,"147":3,"150":1,"152":1,"156":1,"157":1,"158":1,"162":1,"173":1,"183":1,"191":1}}],["lifting",{"2":{"175":1}}],["lift",{"2":{"143":1}}],["lifts",{"2":{"112":1,"158":1}}],["lifecycle",{"0":{"173":1,"190":1,"275":1,"287":1,"320":1,"359":1},"1":{"360":1,"361":1,"362":1,"363":1,"364":1,"365":1,"366":1,"367":1,"368":1,"369":1,"370":1},"2":{"112":1,"127":1,"146":1,"152":1,"158":1,"162":1,"173":2,"175":1,"184":1,"190":1,"268":1,"275":1,"287":1,"320":1,"349":1,"351":1,"355":1,"356":1,"358":2,"359":1,"360":1,"362":2,"366":2,"367":2,"369":2,"370":1,"380":1,"392":1,"393":1,"427":1}}],["litigation",{"0":{"165":1,"180":1},"2":{"100":1,"106":1,"131":1,"137":1,"146":1,"149":1,"165":1,"171":1,"174":1,"180":2,"195":2,"216":1,"222":1,"234":1,"278":1,"295":1,"427":1}}],["license",{"2":{"97":1,"178":1,"192":1,"276":1,"326":1,"357":1,"399":1}}],["like",{"2":{"93":1,"236":1,"427":1,"430":1,"443":1,"455":1,"459":1,"471":1,"472":1,"473":1,"480":1,"534":1,"547":1,"551":1}}],["lies",{"2":{"79":1}}],["limitations",{"0":{"493":1}}],["limit=50",{"2":{"240":1}}],["limit=100",{"2":{"240":1}}],["limited",{"2":{"50":1,"447":1,"448":1,"453":1}}],["limiter",{"2":{"49":1}}],["limit",{"0":{"423":1},"2":{"49":1,"51":2,"52":2,"53":1,"74":1,"75":1,"397":1,"398":1,"445":2,"453":1,"525":1,"526":2}}],["limits",{"0":{"52":1,"445":1},"2":{"49":2,"334":1}}],["limiting",{"0":{"48":1,"258":1},"1":{"49":1,"50":1,"51":1,"52":1,"53":1},"2":{"48":1,"51":1,"52":1,"53":1}}],["listing",{"2":{"364":1,"367":1}}],["lists",{"2":{"160":1,"161":1,"237":1}}],["list",{"0":{"4":1,"7":1,"25":1,"35":1,"46":1,"64":1,"99":1,"194":1,"327":1},"1":{"100":1,"195":1,"328":1},"2":{"73":1,"103":1,"198":1,"245":1,"307":1,"331":1,"382":2,"383":1,"408":1,"422":1,"447":1,"476":1,"498":1,"501":1,"505":1,"507":1,"508":2,"510":1,"522":1,"534":2,"561":1}}],["r",{"2":{"517":1}}],["rfc",{"2":{"488":1}}],["right",{"2":{"478":1}}],["rich",{"2":{"447":1}}],["rtf",{"2":{"447":1}}],["running",{"2":{"428":1,"528":1,"529":1,"551":1,"557":1,"559":2}}],["runtime",{"2":{"415":1}}],["run",{"0":{"528":1},"2":{"362":1,"432":1,"438":1,"485":1,"498":1,"517":1,"531":1,"534":1,"535":1}}],["runs",{"2":{"359":1,"437":1}}],["rulegroup",{"0":{"334":1},"2":{"333":1}}],["rule",{"0":{"309":1,"395":1},"2":{"261":1,"334":1,"355":1,"372":2,"376":5,"393":1,"394":2,"395":1,"398":1,"401":4,"404":1,"406":1,"413":4,"414":3,"423":1,"507":1}}],["rules",{"0":{"376":1,"413":1},"2":{"231":1,"246":1,"248":1,"266":1,"267":1,"268":1,"275":1,"280":1,"333":1,"334":2,"335":1,"349":1,"356":1,"358":1,"371":1,"376":1,"379":1,"394":1,"398":1,"404":3,"413":3,"414":2,"423":1,"507":1}}],["routing",{"2":{"532":1}}],["route",{"2":{"184":1,"282":1,"358":1}}],["routes",{"2":{"82":1,"184":4,"282":3,"358":3,"399":2}}],["roll",{"2":{"526":1}}],["role",{"0":{"26":1,"27":1,"28":1,"29":1,"416":1},"2":{"24":1,"409":1,"416":1,"526":1}}],["roles",{"0":{"25":1},"2":{"24":3,"239":1,"400":1,"403":2,"416":2,"417":1,"420":1,"495":1,"505":1,"507":3}}],["root",{"0":{"483":1,"549":1},"2":{"458":3,"469":1,"479":1,"480":1,"482":7,"483":11,"485":3,"486":3,"487":1,"489":4,"490":1,"491":4,"492":5,"493":2,"513":1,"519":2,"525":2}}],["robust",{"2":{"426":1,"449":1}}],["rotate",{"2":{"252":1}}],["rows",{"2":{"113":1,"153":1,"388":1}}],["row",{"2":{"89":1,"165":1,"186":1,"297":1,"379":1,"380":1,"435":3,"437":1,"482":1,"483":1,"490":1,"491":1}}],["rand",{"2":{"519":2}}],["randomly",{"2":{"534":1}}],["random",{"2":{"519":1}}],["range",{"2":{"74":2,"155":1,"165":2,"176":1,"180":1,"181":1,"265":1,"447":1}}],["ram",{"2":{"439":1,"515":2}}],["rather",{"2":{"258":1,"259":1,"356":1,"435":1}}],["rates",{"2":{"261":1}}],["ratelimit",{"2":{"52":3}}],["rate",{"0":{"48":1,"52":1,"258":1},"1":{"49":1,"50":1,"51":1,"52":1,"53":1},"2":{"48":1,"49":1,"50":1,"51":3,"52":3,"53":2,"450":1,"526":2}}],["rawemail",{"2":{"461":2}}],["raw",{"2":{"2":1,"388":1,"489":1,"537":1}}],["renew",{"2":{"499":1}}],["reflect",{"2":{"475":1}}],["refer",{"2":{"447":1,"478":1,"559":1}}],["references",{"2":{"234":1,"317":1}}],["referenced",{"2":{"183":1}}],["reference",{"0":{"164":1,"462":1,"522":1},"1":{"463":1,"464":1,"465":1,"466":1,"523":1,"524":1,"525":1,"526":1,"527":1},"2":{"147":1,"165":1,"186":1,"187":2,"235":1,"285":2,"292":1,"318":1,"372":1}}],["refresh",{"2":{"170":1}}],["rebuild",{"2":{"168":1}}],["rejected",{"2":{"397":1}}],["reject",{"2":{"163":1}}],["reply",{"2":{"486":1}}],["replaced",{"2":{"218":1,"309":1,"415":1}}],["repository",{"0":{"516":1},"2":{"430":2,"516":1,"531":1,"562":1}}],["report",{"0":{"538":1},"1":{"539":1,"540":1},"2":{"538":2}}],["reporting",{"2":{"261":1,"430":1}}],["reports",{"2":{"158":1}}],["repeating",{"2":{"434":1}}],["repeatable",{"2":{"362":2,"369":1}}],["repeated",{"2":{"246":1}}],["represents",{"2":{"401":1,"403":7,"404":1}}],["represent",{"2":{"270":1}}],["representation",{"2":{"80":1}}],["redirected",{"2":{"529":2}}],["redirect",{"2":{"497":1}}],["redirects",{"2":{"482":1}}],["redis",{"2":{"432":1,"435":2,"515":1,"519":2,"521":2,"524":10}}],["redundant",{"2":{"450":1}}],["reducing",{"2":{"267":1}}],["reduces",{"2":{"451":1}}],["reduce",{"2":{"259":1,"439":1,"440":1}}],["redos",{"2":{"397":1}}],["red",{"2":{"147":1,"539":1}}],["reliability",{"2":{"541":1}}],["relative",{"2":{"469":1,"479":1,"513":1}}],["relations",{"2":{"272":2}}],["relationship",{"0":{"174":1},"2":{"435":1,"482":1}}],["related",{"2":{"80":1,"181":1,"195":1,"234":2,"237":2,"278":1,"281":1,"295":1,"335":1,"520":1,"547":1}}],["relevant",{"2":{"165":2,"171":1,"181":1,"182":1,"250":1,"265":1,"317":1,"414":1,"431":1}}],["releasing",{"2":{"145":1}}],["releases",{"2":{"561":2}}],["released",{"2":{"182":1,"191":1}}],["release",{"0":{"124":1,"158":1},"1":{"125":1,"126":1,"127":1},"2":{"124":1,"125":1,"127":1,"158":1,"164":1,"165":1,"561":1}}],["remote",{"2":{"548":1}}],["removal",{"2":{"177":1,"274":1,"288":1}}],["removing",{"0":{"162":1},"2":{"162":1,"178":1,"276":1,"533":1}}],["removeonfail",{"2":{"369":1}}],["removeoncomplete",{"2":{"369":1}}],["remove",{"0":{"139":1,"224":1},"1":{"140":1,"141":1,"142":1,"225":1,"226":1,"227":1},"2":{"140":1,"152":1,"162":1,"164":1,"165":1,"169":1,"272":1,"289":1,"307":1,"312":1,"376":2,"512":1,"521":1,"533":4,"535":2,"559":2}}],["removes",{"2":{"124":1,"153":1,"158":1,"162":1,"224":1,"271":1,"308":1,"492":2}}],["removed",{"2":{"115":1,"127":1,"141":1,"142":1,"158":1,"175":1,"210":1,"226":2,"227":1,"272":1,"288":1,"303":1,"309":1,"324":1,"492":1}}],["reminder",{"2":{"499":1}}],["remain",{"2":{"491":1}}],["remains",{"2":{"53":1,"162":1,"174":1,"304":1,"493":1}}],["remaining",{"2":{"52":1,"356":1,"365":1}}],["re",{"2":{"100":1,"441":1,"487":1,"534":1,"535":1}}],["reachable",{"2":{"452":1}}],["react",{"2":{"250":1}}],["reactivate",{"2":{"110":1}}],["real",{"2":{"427":1}}],["reasons",{"0":{"540":1},"2":{"540":1,"549":1}}],["reason",{"2":{"100":2,"105":1,"106":1,"108":1,"110":2,"144":1,"147":3,"149":1,"151":1,"165":1,"186":1,"318":1,"367":1,"540":2}}],["readonly",{"2":{"508":2}}],["reads",{"2":{"435":1,"461":1}}],["readablestream",{"2":{"463":2,"464":1}}],["readable",{"2":{"95":1,"186":1,"200":1,"284":1,"333":1,"385":1,"464":2}}],["reading",{"2":{"24":1,"548":1}}],["read",{"0":{"420":1},"2":{"18":1,"24":1,"56":1,"59":1,"129":1,"164":1,"178":1,"214":1,"239":1,"312":1,"344":1,"383":1,"401":2,"402":2,"413":4,"416":1,"419":1,"420":2,"422":1,"423":2,"430":1,"494":1,"496":1,"498":3,"508":1,"540":2}}],["revoke",{"2":{"472":1}}],["reveal",{"2":{"471":1}}],["reverse",{"2":{"85":1,"533":1,"549":1,"551":1}}],["review",{"2":{"83":1,"156":1,"165":1,"317":1,"320":1,"541":2}}],["region",{"2":{"459":2,"525":2}}],["region=us",{"2":{"459":1}}],["registering",{"2":{"496":1}}],["register",{"0":{"497":1},"2":{"362":1,"497":2}}],["registered",{"2":{"362":1}}],["registers",{"2":{"82":1,"189":1,"399":1}}],["registrations",{"2":{"497":1}}],["registration",{"0":{"399":1},"2":{"184":2,"282":1,"358":1,"494":1,"497":2,"500":1}}],["regexp",{"2":{"396":1}}],["regex",{"0":{"397":1},"2":{"334":2,"356":2,"377":2,"396":1,"397":3}}],["regular",{"2":{"377":1,"397":1}}],["regularly",{"2":{"252":1,"541":1}}],["regulations",{"2":{"236":1,"318":1,"349":1}}],["regulator",{"2":{"181":1}}],["regulatory",{"0":{"181":1,"280":1},"2":{"90":1,"171":1,"174":1,"201":1,"231":1,"233":1,"234":1,"264":1,"280":1,"291":1,"319":1,"328":1}}],["regarding",{"2":{"106":1,"295":1}}],["regardless",{"2":{"80":1,"146":1,"181":1,"227":1,"270":1,"280":1,"353":1,"364":1,"370":1,"487":1}}],["recreated",{"2":{"535":1}}],["recreate",{"2":{"493":1,"535":2,"551":1}}],["recurring",{"2":{"351":1}}],["recipients",{"2":{"345":1,"346":1,"364":1,"382":1,"398":1}}],["recipient",{"2":{"334":1,"335":1,"345":1,"352":1,"364":1,"376":1,"382":1,"395":2}}],["recognize",{"2":{"471":1,"473":1,"497":1}}],["recognition",{"2":{"442":1}}],["recovery",{"2":{"441":2,"553":1}}],["reconciliation",{"2":{"346":1}}],["recommend",{"2":{"472":1,"499":1,"553":1}}],["recommendation",{"0":{"472":1},"1":{"473":1,"474":1}}],["recommendations",{"0":{"261":1}}],["recommended",{"0":{"555":1},"1":{"556":1,"557":1,"558":1,"559":1},"2":{"52":1,"443":1,"459":1,"469":1,"471":1,"479":1,"513":1,"514":1,"519":1,"532":1,"555":1}}],["recording",{"2":{"390":1,"391":1}}],["records",{"2":{"180":1,"201":1,"206":2,"233":1,"264":1,"280":1,"295":1,"308":1,"319":2,"364":1,"365":1,"541":1}}],["recorded",{"2":{"94":1,"165":1,"174":1,"177":1,"262":1,"274":1,"355":1}}],["record",{"2":{"82":1,"90":1,"105":1,"115":1,"153":1,"165":1,"175":1,"183":1,"261":1,"364":1,"426":1,"427":1}}],["recalculating",{"2":{"96":1}}],["recalculation",{"2":{"81":1}}],["recalculated",{"2":{"81":1,"88":1}}],["recalculates",{"2":{"81":1,"87":1,"537":1}}],["receipts",{"2":{"233":1}}],["receiving",{"2":{"180":1}}],["receivedorigin",{"2":{"548":1}}],["received",{"2":{"100":1,"106":1,"181":1}}],["receive",{"2":{"52":1,"123":1,"165":1,"250":1,"507":1}}],["recently",{"2":{"450":1,"553":1}}],["recent",{"0":{"22":1},"2":{"240":1}}],["resides",{"2":{"443":1}}],["resilience",{"0":{"441":1}}],["resolving",{"2":{"551":1}}],["resolve",{"2":{"465":1,"507":1,"547":1}}],["resolves",{"2":{"463":1,"464":1,"465":1,"466":1}}],["resolution",{"2":{"354":1}}],["resources",{"2":{"402":1,"403":1,"416":1,"418":1,"420":1,"421":1,"547":1}}],["resource",{"2":{"84":2,"95":1,"228":1,"401":1,"402":5,"404":1,"451":1,"547":1,"548":1}}],["resume",{"2":{"182":1,"475":1}}],["resulting",{"2":{"553":1}}],["result",{"2":{"117":1,"264":1,"265":1,"266":1,"272":1,"451":1}}],["results",{"0":{"383":1},"2":{"74":1,"117":1,"156":2,"168":2,"176":1,"236":1,"249":1,"267":1,"307":1,"315":1,"324":1,"435":1,"536":1}}],["restore",{"2":{"541":2}}],["restart",{"2":{"529":1,"531":1,"535":1,"544":1,"551":1,"554":1,"558":2,"559":1,"562":2}}],["rest",{"2":{"427":1,"519":1,"525":1}}],["restriction",{"2":{"299":1,"372":1,"413":1}}],["restrictions",{"0":{"299":1}}],["restricted",{"2":{"236":1,"372":1,"416":1}}],["restricts",{"2":{"49":1}}],["restful",{"2":{"97":1,"192":1,"326":1}}],["reset",{"2":{"52":2,"441":1}}],["responsible",{"2":{"80":1,"175":1,"442":1}}],["responsive",{"2":{"53":1}}],["response",{"0":{"50":1,"75":1,"77":1,"100":1,"103":1,"107":1,"112":1,"115":1,"122":1,"123":1,"126":1,"127":1,"131":1,"132":1,"137":1,"138":1,"141":1,"142":1,"195":1,"198":1,"202":1,"207":1,"211":1,"212":1,"216":1,"217":1,"222":1,"223":1,"226":1,"227":1,"328":1,"331":1,"336":1,"340":1,"343":1,"347":1,"348":1},"2":{"50":1,"52":2,"143":1,"212":1,"228":1,"243":1,"256":1,"258":1,"548":1}}],["responses",{"0":{"88":1,"143":1,"228":1},"2":{"33":1,"52":1}}],["responding",{"0":{"165":1},"2":{"146":1}}],["respond",{"2":{"49":1}}],["responds",{"2":{"17":1}}],["retained",{"2":{"235":1,"264":1,"280":1,"292":1,"365":1,"369":2,"372":1}}],["retain",{"2":{"200":1,"284":1,"294":1,"328":1,"333":1,"374":1,"385":1}}],["retentionpolicymodule",{"2":{"399":1}}],["retentionpolicycontroller",{"2":{"398":1}}],["retentionpolicy",{"2":{"387":1}}],["retentionperioddays",{"2":{"195":2,"200":1,"201":1,"205":1,"216":1,"222":1,"228":1,"270":1,"273":1,"287":1,"328":1,"333":1,"335":1,"393":1}}],["retentionrulegroup",{"2":{"385":1,"394":1}}],["retentionexpiration",{"2":{"367":1}}],["retentionservice",{"2":{"358":1,"364":1,"384":2,"386":1}}],["retentionlabel",{"2":{"288":3}}],["retentionlabelservice",{"2":{"282":1}}],["retentionhook",{"0":{"189":1},"2":{"173":1,"184":2,"189":2}}],["retention",{"0":{"192":1,"230":1,"237":1,"242":1,"268":1,"270":1,"273":1,"281":1,"284":1,"290":1,"299":1,"319":1,"322":1,"326":1,"349":1,"359":1,"371":1,"384":1},"1":{"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"258":1,"259":1,"260":1,"261":1,"262":1,"263":1,"264":1,"265":1,"266":1,"267":1,"269":1,"270":1,"271":1,"272":1,"273":1,"274":1,"275":1,"276":1,"277":1,"278":1,"279":1,"280":1,"281":1,"282":1,"283":1,"284":1,"285":1,"286":1,"287":1,"288":1,"289":1,"291":1,"292":1,"293":1,"294":1,"295":1,"296":1,"297":1,"298":1,"299":1,"300":1,"301":1,"302":1,"303":1,"304":1,"305":1,"306":1,"307":1,"308":1,"309":1,"310":1,"311":1,"312":1,"313":1,"314":1,"315":1,"316":1,"317":1,"318":1,"319":1,"320":1,"321":1,"322":1,"323":1,"324":1,"325":1,"327":1,"328":1,"329":1,"330":1,"331":1,"332":1,"333":1,"334":1,"335":1,"336":1,"337":1,"338":1,"339":1,"340":1,"341":1,"342":1,"343":1,"344":1,"345":1,"346":1,"347":1,"348":1,"350":1,"351":1,"352":1,"353":1,"354":1,"355":1,"356":1,"357":1,"358":1,"360":1,"361":1,"362":1,"363":1,"364":1,"365":1,"366":1,"367":1,"368":1,"369":1,"370":1,"372":1,"373":1,"374":1,"375":1,"376":1,"377":1,"378":1,"379":1,"380":1,"381":1,"382":1,"383":1,"385":1,"386":1,"387":1,"388":1,"389":1,"390":1,"391":1,"392":1,"393":1,"394":1,"395":1,"396":1,"397":1,"398":1,"399":1},"2":{"112":1,"127":1,"146":1,"152":1,"158":1,"162":1,"163":1,"173":3,"175":2,"182":1,"184":1,"192":4,"194":1,"195":1,"196":1,"199":1,"201":1,"203":1,"206":1,"207":1,"208":1,"210":1,"214":1,"218":1,"224":1,"228":1,"229":1,"230":2,"231":3,"233":2,"234":1,"235":1,"236":3,"237":3,"241":1,"242":1,"245":3,"246":1,"248":1,"262":1,"266":1,"267":2,"268":6,"270":6,"271":2,"272":2,"273":3,"274":1,"275":4,"276":2,"278":2,"279":2,"280":1,"281":1,"282":8,"284":1,"285":1,"287":3,"288":1,"289":1,"290":2,"291":4,"292":2,"294":1,"295":5,"298":1,"299":3,"304":1,"305":1,"306":1,"307":2,"308":1,"309":1,"315":1,"318":1,"319":1,"322":2,"324":1,"326":4,"327":1,"328":1,"329":1,"332":1,"333":1,"335":1,"337":1,"341":1,"344":1,"347":1,"349":2,"351":2,"354":1,"357":2,"358":12,"359":3,"363":1,"364":2,"366":1,"368":1,"370":2,"371":3,"372":2,"374":1,"383":3,"384":2,"385":2,"387":1,"393":1,"398":2,"399":4,"427":2}}],["retries",{"2":{"441":2}}],["retrieve",{"2":{"74":2,"464":1}}],["retrieves",{"2":{"73":1,"99":1,"101":1,"194":1,"196":1,"214":1,"327":1,"329":1,"464":1,"482":1}}],["retrieving",{"2":{"6":1,"72":1,"78":1,"455":1}}],["retrying",{"2":{"52":1}}],["retry",{"2":{"52":1,"256":1,"441":2,"507":1}}],["returns",{"0":{"168":1,"169":1},"2":{"103":1,"107":1,"112":1,"123":1,"127":1,"129":1,"131":1,"132":1,"137":1,"153":1,"189":1,"198":1,"202":1,"207":1,"216":1,"217":1,"241":1,"245":1,"322":1,"331":1,"336":1,"340":1,"344":1,"364":1,"388":1,"389":1,"391":1,"393":1,"463":1,"464":1,"465":1,"466":1,"486":1,"556":1}}],["return",{"2":{"50":1,"173":1,"205":1,"299":1,"393":1,"435":1,"462":1,"507":1}}],["returned",{"2":{"33":1,"61":1,"363":1}}],["requiring",{"2":{"455":1,"502":1}}],["requirepermission",{"2":{"399":1}}],["requireauth",{"2":{"399":1}}],["requirements",{"0":{"178":1,"276":1,"357":1},"2":{"177":1,"201":1,"231":1,"236":1,"237":1,"281":1,"319":1,"328":1}}],["requirement",{"2":{"115":1,"175":1,"270":1,"318":1,"354":1}}],["requiredorigin",{"2":{"548":1}}],["required",{"0":{"310":1},"1":{"311":1,"312":1},"2":{"73":1,"76":1,"99":1,"101":1,"104":1,"105":1,"108":1,"113":1,"117":1,"119":1,"120":1,"124":1,"129":1,"133":1,"135":1,"139":1,"143":1,"149":1,"164":1,"194":1,"196":1,"199":1,"200":1,"203":1,"208":1,"214":1,"218":1,"220":1,"224":1,"228":1,"239":1,"252":1,"255":1,"294":2,"296":1,"325":1,"327":1,"329":1,"332":1,"333":1,"337":1,"341":1,"344":1,"345":1,"471":1,"498":1,"500":1,"505":1,"520":1,"525":5,"528":1,"563":1}}],["requires",{"2":{"18":1,"24":2,"45":1,"56":1,"59":1,"63":1,"178":1,"276":1,"307":1,"311":2,"312":2,"354":1,"357":1,"435":1,"550":1,"552":1}}],["require",{"2":{"6":1,"72":1,"97":2,"192":2,"310":1,"326":2,"489":1}}],["requested",{"2":{"228":1}}],["request",{"0":{"105":1,"106":1,"110":1,"119":1,"121":1,"135":1,"136":1,"200":1,"201":1,"205":1,"206":1,"220":1,"221":1,"253":1,"333":1,"335":1,"339":1,"345":1,"346":1,"398":1},"1":{"120":1,"334":1},"2":{"52":2,"108":1,"117":1,"123":1,"138":1,"163":1,"184":1,"189":1,"203":1,"223":1,"243":1,"255":1,"272":1,"282":1,"337":1,"348":1,"358":1,"399":1,"430":1,"451":1,"498":1,"525":1,"547":1,"548":1,"556":2}}],["requests",{"2":{"31":1,"49":3,"50":1,"51":2,"52":2,"146":1,"181":1,"253":1,"398":1,"430":1,"451":2,"526":3}}],["elements",{"2":{"544":1}}],["eliminates",{"2":{"231":1}}],["ecosystem",{"2":{"497":1}}],["ecmascript",{"2":{"334":1,"377":1}}],["equivalent",{"2":{"406":1}}],["equality",{"2":{"406":1}}],["equal",{"0":{"406":1,"407":1,"410":1,"411":1},"2":{"407":1,"410":1,"411":1,"435":1}}],["equals",{"2":{"334":3,"377":5,"396":2}}],["err",{"2":{"356":1}}],["errors",{"0":{"325":1,"547":1},"1":{"548":1,"549":1,"550":1,"551":1},"2":{"107":1,"112":1,"143":3,"202":1,"207":1,"228":3,"256":2,"296":1,"336":1,"340":1,"348":1,"547":1,"548":1,"549":1,"551":1}}],["error",{"0":{"143":1,"169":1,"228":1,"254":1,"255":1,"296":1,"365":1,"507":1},"1":{"255":1,"256":1},"2":{"88":1,"127":2,"143":3,"153":1,"163":1,"173":1,"189":2,"205":1,"217":2,"227":2,"228":3,"255":1,"267":1,"296":1,"299":2,"322":1,"356":2,"365":3,"390":1,"397":1,"437":2,"441":1,"461":3,"464":1,"465":1,"475":1,"487":2,"507":1,"546":1,"548":2}}],["etc",{"2":{"176":1,"235":1,"250":1,"427":1}}],["editor",{"2":{"518":1,"533":1,"550":1}}],["edited",{"2":{"490":1}}],["editable",{"0":{"298":1}}],["edit",{"0":{"322":1},"2":{"151":1,"164":1,"292":1,"297":2,"299":1,"311":1,"322":1,"372":1,"379":2,"475":1,"490":1,"507":3,"535":1}}],["editing",{"0":{"151":1,"297":1,"379":1,"490":1},"1":{"298":1,"299":1,"300":1},"2":{"276":1,"290":1,"371":1}}],["ediscovery",{"0":{"183":1},"2":{"105":1,"171":1,"183":1,"186":1,"426":1,"427":1}}],["efforts",{"2":{"451":1}}],["efficiency",{"0":{"259":1},"2":{"463":1}}],["efficiently",{"2":{"501":1}}],["efficient",{"2":{"81":1,"427":1,"449":1}}],["effectively",{"2":{"492":1}}],["effective",{"2":{"272":1}}],["effect",{"2":{"133":1,"161":1,"489":1,"551":1}}],["ef1234567890",{"2":{"100":1,"122":1,"131":1,"136":1,"137":1,"195":1,"216":1,"221":1,"222":1,"328":1,"347":1}}],["e5f6",{"2":{"100":1,"122":1,"131":1,"136":1,"137":1,"195":1,"216":1,"221":1,"222":1,"328":1,"347":1}}],["evaluation",{"0":{"392":1,"414":1},"1":{"393":1,"394":1,"395":1,"396":1,"397":1,"415":1},"2":{"173":1,"190":2,"275":1,"287":2,"326":1,"345":1,"348":1,"358":2,"374":1,"380":1,"382":1,"384":1,"392":1,"393":3}}],["evaluaterule",{"0":{"395":1}}],["evaluaterulegroup",{"0":{"394":1}}],["evaluateemail",{"0":{"393":1},"2":{"364":1}}],["evaluates",{"2":{"173":1,"344":1,"359":1,"364":1,"381":1,"394":2,"395":1,"414":1}}],["evaluated",{"2":{"127":1,"175":1,"352":1,"393":1}}],["evaluate",{"0":{"344":1},"1":{"345":1,"346":1,"347":1,"348":1},"2":{"112":1,"344":1,"376":1,"382":1,"398":4}}],["evidence",{"2":{"90":1,"171":1,"177":1,"234":1}}],["ever",{"2":{"472":1,"494":1}}],["every",{"2":{"90":1,"92":1,"93":1,"158":1,"175":1,"176":1,"177":1,"181":1,"274":1,"351":1,"355":2,"367":2,"394":1,"436":1,"437":1,"482":1,"483":3,"559":1}}],["event",{"0":{"250":1},"2":{"84":2,"93":1,"94":1,"95":2,"355":1}}],["events",{"2":{"82":1,"83":1,"183":1,"191":1,"250":2}}],["even",{"2":{"81":1,"117":1,"256":1,"414":1}}],["estonian",{"2":{"544":1}}],["establishing",{"2":{"90":1}}],["essential",{"2":{"53":1}}],["either",{"2":{"85":1,"507":1}}],["east",{"2":{"459":1}}],["easy",{"2":{"84":1}}],["easily",{"2":{"83":1,"471":1}}],["each",{"2":{"81":1,"87":1,"92":1,"94":1,"96":1,"99":1,"145":1,"156":1,"162":1,"165":1,"174":1,"271":1,"292":1,"309":1,"320":1,"353":1,"354":1,"364":1,"372":1,"375":1,"376":2,"393":1,"398":3,"401":1,"404":1,"435":1,"436":1,"439":1,"440":1,"487":1,"490":1,"510":1,"533":2,"537":1,"538":1}}],["eb8780215f82",{"2":{"75":2}}],["e8026a75",{"2":{"75":2}}],["e",{"2":{"74":1,"81":1,"120":1,"165":1,"174":1,"237":1,"278":1,"280":1,"319":1,"345":1,"364":2,"365":1,"382":2,"395":1,"451":1,"452":1,"455":1,"457":1,"463":1,"469":1,"479":1,"500":1,"505":2,"509":2,"513":1,"523":1,"525":1,"549":1}}],["employs",{"2":{"443":1}}],["empty",{"2":{"131":1,"132":1,"144":1,"363":1,"394":1,"398":1}}],["eml`",{"2":{"461":1}}],["eml",{"0":{"467":1,"469":1},"1":{"468":1,"469":1},"2":{"61":1,"409":1,"427":1,"440":1,"447":1,"463":1,"467":1,"468":7,"469":3,"476":1,"487":1,"489":1,"537":1}}],["emailmetadata",{"2":{"345":5,"346":1}}],["emaillegalholdinfo",{"2":{"184":1}}],["emailid",{"2":{"129":1,"130":1,"133":1,"134":1,"139":1,"140":1,"144":1,"189":1,"190":1,"214":1,"215":1,"218":1,"219":1,"224":1,"225":1,"241":1,"242":1}}],["emailcount",{"2":{"100":2,"107":1,"170":1}}],["emailsalreadyprotected",{"2":{"157":1}}],["emailsreleased",{"2":{"126":1,"127":1}}],["emailslinked",{"2":{"122":2,"123":1,"157":1}}],["emails",{"0":{"7":1,"55":1,"124":1,"158":1,"168":1,"170":1,"240":1,"306":1,"486":1},"1":{"125":1,"126":1,"127":1,"307":1,"308":1,"309":1},"2":{"6":1,"32":1,"54":1,"97":1,"99":1,"112":2,"117":1,"122":2,"123":1,"127":3,"138":1,"139":1,"146":1,"147":4,"150":2,"152":2,"153":2,"154":1,"156":3,"157":2,"158":2,"162":1,"164":1,"165":1,"168":1,"171":1,"173":1,"175":1,"180":1,"182":1,"183":1,"184":1,"187":1,"190":1,"191":1,"192":1,"195":1,"200":1,"205":1,"207":1,"210":3,"230":1,"231":2,"233":2,"234":3,"235":1,"237":2,"240":6,"246":1,"248":2,"249":4,"250":2,"256":1,"258":1,"259":3,"265":3,"266":1,"267":2,"268":3,"272":4,"276":1,"278":1,"279":1,"280":1,"281":1,"284":2,"290":1,"291":1,"292":4,"294":1,"295":2,"298":1,"299":1,"303":1,"304":3,"306":1,"307":1,"314":1,"315":2,"322":1,"324":1,"325":1,"328":1,"333":3,"339":1,"349":2,"351":1,"352":2,"353":2,"356":1,"359":2,"363":4,"364":1,"365":1,"368":1,"372":2,"374":1,"375":1,"376":2,"380":1,"385":1,"393":1,"403":1,"419":1,"423":1,"426":1,"427":2,"429":1,"437":1,"438":1,"441":1,"463":1,"467":1,"468":1,"469":2,"470":1,"475":3,"476":1,"478":3,"479":2,"480":2,"481":1,"482":3,"483":5,"484":1,"485":1,"486":3,"488":1,"489":1,"491":4,"492":3,"493":1,"501":1,"510":1,"511":1,"512":2,"513":1,"517":1,"519":1,"523":1,"524":1,"526":1,"530":1,"534":1,"536":1,"537":1}}],["email",{"0":{"6":1,"8":1,"9":1,"23":1,"44":1,"128":1,"129":1,"133":1,"139":1,"159":1,"160":1,"161":1,"162":1,"169":1,"187":1,"213":1,"214":1,"218":1,"224":1,"271":1,"285":1,"289":1,"307":1,"309":1,"312":1,"323":1,"344":1,"364":1,"476":1,"478":1,"546":1},"1":{"7":1,"8":1,"9":1,"129":1,"130":2,"131":2,"132":2,"133":1,"134":2,"135":2,"136":2,"137":2,"138":2,"139":1,"140":2,"141":2,"142":2,"160":1,"161":1,"162":1,"163":1,"214":1,"215":2,"216":2,"217":2,"218":1,"219":2,"220":2,"221":2,"222":2,"223":2,"224":1,"225":2,"226":2,"227":2,"345":1,"346":1,"347":1,"348":1},"2":{"1":1,"15":1,"32":3,"33":1,"43":1,"45":3,"113":1,"123":1,"124":1,"127":1,"129":2,"130":1,"133":3,"134":1,"138":1,"139":2,"140":1,"141":1,"142":1,"145":2,"150":1,"152":1,"153":1,"155":3,"156":2,"158":3,"160":2,"162":3,"163":3,"164":2,"165":4,"169":2,"173":2,"174":3,"176":1,"177":2,"178":2,"181":1,"184":4,"187":2,"189":1,"190":1,"191":7,"214":2,"215":1,"218":3,"219":1,"223":1,"224":2,"225":1,"226":1,"229":1,"241":3,"242":2,"248":1,"255":2,"261":1,"262":1,"264":2,"266":1,"270":2,"271":2,"272":2,"273":1,"275":2,"282":4,"285":4,"287":3,"289":1,"306":1,"307":2,"308":2,"309":2,"312":2,"323":1,"325":1,"326":1,"334":1,"344":1,"345":3,"351":2,"352":1,"354":2,"355":1,"356":3,"364":9,"365":3,"366":1,"367":2,"376":1,"377":1,"381":1,"382":3,"384":1,"392":1,"393":3,"395":3,"426":2,"429":1,"433":2,"434":1,"436":1,"438":1,"439":2,"440":1,"441":1,"442":1,"447":1,"461":3,"467":1,"468":5,"470":2,"471":5,"472":2,"476":2,"477":1,"478":2,"480":2,"483":2,"488":1,"491":1,"494":1,"505":2,"508":1,"509":2,"523":2,"537":3,"538":2,"541":2,"546":2}}],["epoch",{"2":{"52":1,"80":1}}],["english",{"2":{"544":1}}],["engine",{"0":{"392":1},"1":{"393":1,"394":1,"395":1,"396":1,"397":1},"2":{"155":1,"349":1,"357":1,"358":1,"359":1,"384":2,"392":1,"404":1,"427":1,"552":1}}],["enhanced",{"2":{"472":1}}],["enhancements",{"2":{"354":1,"430":1,"449":1}}],["enqueued",{"2":{"437":1,"441":1}}],["enum",{"2":{"385":1}}],["encounter",{"2":{"541":1,"547":1}}],["encounters",{"2":{"356":1}}],["encrypting",{"2":{"519":2,"526":1}}],["encryption",{"2":{"519":3,"525":2,"526":1}}],["encrypted",{"2":{"427":1,"525":1}}],["encapsulates",{"2":{"78":1,"384":1}}],["enforced",{"2":{"507":1}}],["enforce",{"2":{"285":1}}],["enforcement",{"2":{"231":1,"267":1,"351":1,"358":1,"359":1,"364":1,"370":1,"392":1}}],["enforcing",{"2":{"187":1}}],["enable",{"0":{"554":1},"2":{"364":1,"370":1,"378":1,"444":1,"473":1,"474":1,"489":1,"505":3,"524":1,"526":2}}],["enables",{"2":{"349":1}}],["enabled",{"0":{"314":1},"2":{"97":1,"155":1,"178":1,"192":1,"245":1,"276":1,"292":1,"308":1,"326":1,"357":1,"375":1,"385":1,"426":1,"474":1,"489":1,"524":1,"541":1}}],["enabling",{"2":{"230":1}}],["ensuring",{"2":{"80":2,"87":1,"96":1,"231":1,"271":1,"274":1,"349":1,"351":1,"355":1,"427":1,"501":1,"533":1,"541":1}}],["ensures",{"2":{"262":1,"267":1,"299":1,"354":1,"365":1,"367":1,"370":1,"399":3,"489":1,"517":1,"553":1,"563":1}}],["ensure",{"2":{"53":1,"80":1,"90":1,"94":1,"235":1,"237":1,"279":1,"463":1,"468":1,"512":1,"535":1,"550":2,"551":1}}],["endswith",{"2":{"396":2}}],["ends",{"2":{"334":2,"377":3,"396":1,"534":1}}],["end",{"0":{"419":1},"2":{"74":1,"155":1,"533":2}}],["enddate",{"2":{"74":1,"121":1,"122":1}}],["endpoint=http",{"2":{"459":1}}],["endpoint",{"2":{"56":2,"73":1,"76":1,"99":1,"101":1,"103":1,"104":1,"108":1,"113":1,"117":1,"124":1,"129":1,"133":1,"139":1,"194":1,"196":1,"198":1,"199":1,"203":1,"205":1,"208":1,"214":1,"218":1,"224":1,"327":1,"329":1,"331":1,"332":1,"337":1,"339":1,"341":1,"344":2,"392":1,"459":3,"525":2,"556":1}}],["endpoints",{"0":{"53":1,"72":1,"97":1,"98":1,"128":1,"192":1,"193":1,"213":1,"326":1},"1":{"73":1,"74":1,"75":1,"76":1,"77":1,"98":1,"99":2,"100":2,"101":2,"102":2,"103":2,"104":2,"105":2,"106":2,"107":2,"108":2,"109":2,"110":2,"111":2,"112":2,"113":2,"114":2,"115":2,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":2,"130":2,"131":2,"132":2,"133":2,"134":2,"135":2,"136":2,"137":2,"138":2,"139":2,"140":2,"141":2,"142":2,"143":1,"144":1,"193":1,"194":2,"195":2,"196":2,"197":2,"198":2,"199":2,"200":2,"201":2,"202":2,"203":2,"204":2,"205":2,"206":2,"207":2,"208":2,"209":2,"210":2,"211":2,"212":2,"213":1,"214":2,"215":2,"216":2,"217":2,"218":2,"219":2,"220":2,"221":2,"222":2,"223":2,"224":2,"225":2,"226":2,"227":2,"228":1,"229":1,"327":1,"328":1,"329":1,"330":1,"331":1,"332":1,"333":1,"334":1,"335":1,"336":1,"337":1,"338":1,"339":1,"340":1,"341":1,"342":1,"343":1,"344":1,"345":1,"346":1,"347":1,"348":1},"2":{"6":2,"30":2,"31":1,"53":2,"72":2,"97":2,"143":1,"192":2,"228":1,"326":2}}],["entering",{"2":{"496":1,"504":1}}],["enter",{"2":{"165":1,"469":3,"471":4,"479":2,"499":1,"508":1,"509":1,"513":3}}],["enterprise",{"2":{"73":1,"76":1,"82":1,"90":1,"97":2,"171":1,"178":1,"184":4,"192":2,"241":1,"242":1,"245":1,"268":1,"276":1,"282":3,"326":2,"349":1,"357":1,"358":6,"360":1,"362":1,"384":1,"399":2}}],["entity",{"2":{"107":1,"112":1,"123":1,"138":1,"143":1,"202":1,"207":1,"223":1,"228":1,"336":1,"340":1,"348":1,"401":1}}],["entirely",{"2":{"507":1}}],["entire",{"2":{"76":1,"81":1,"86":1,"87":1,"96":1,"363":1,"365":1,"435":1,"483":1,"488":1,"489":2,"492":1,"509":1,"526":1,"533":2}}],["entra",{"0":{"497":1},"2":{"494":1,"496":2,"497":1,"500":1}}],["entry",{"2":{"80":1,"81":3,"87":1,"88":7,"89":2,"92":4,"94":1,"96":1,"157":1,"190":1,"355":1,"364":2,"367":1,"387":1,"390":1,"391":1}}],["entries",{"2":{"73":1,"74":1,"78":1,"81":1,"84":1,"86":1,"87":1,"88":2,"95":1,"96":1,"156":1,"168":1,"191":1,"288":1,"345":1,"398":3,"492":1}}],["env=production",{"2":{"558":1}}],["envorigin=$app",{"2":{"550":1}}],["envapp",{"2":{"550":1,"551":2}}],["envstorage",{"2":{"519":1}}],["env",{"2":{"51":1,"444":3,"456":1,"458":2,"459":2,"460":1,"517":1,"518":4,"521":1,"523":1,"528":1,"549":1,"550":1,"551":1,"556":1}}],["environments",{"2":{"452":1,"553":1}}],["environment",{"0":{"518":1,"522":1},"1":{"519":1,"520":1,"521":1,"522":1,"523":2,"524":2,"525":2,"526":2,"527":2},"2":{"49":1,"51":1,"252":1,"363":1,"368":1,"438":1,"444":1,"456":1,"461":1,"518":2,"522":1,"523":1,"550":1,"554":3}}],["extra",{"2":{"483":1}}],["extracttextlegacy",{"2":{"453":1}}],["extract",{"2":{"443":1,"446":1}}],["extractor",{"2":{"443":2}}],["extracting",{"2":{"442":1,"451":1}}],["extraction",{"2":{"440":1,"442":1,"443":2,"444":2,"445":1,"448":1,"449":1,"453":1,"527":1}}],["extracted",{"2":{"364":1}}],["extracts",{"2":{"364":1}}],["extremely",{"2":{"413":1}}],["extension",{"2":{"395":1}}],["extensions",{"2":{"345":1,"364":1,"382":1}}],["extended",{"2":{"195":1,"201":1,"233":1,"234":1,"235":1,"278":1,"279":1,"295":1,"335":1}}],["external",{"0":{"521":1},"2":{"94":1,"231":1,"515":1,"521":2}}],["execute",{"2":{"556":1}}],["executed",{"2":{"122":1}}],["executives",{"2":{"235":1,"295":1}}],["executive",{"0":{"235":1,"279":1},"2":{"195":1,"235":2,"279":1,"295":1,"317":1}}],["examined",{"2":{"315":1}}],["examples",{"0":{"263":1,"405":1,"417":1},"1":{"264":1,"265":1,"266":1,"406":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1,"418":1,"419":1,"420":1,"421":1,"422":1,"423":1},"2":{"149":1,"405":1,"417":1,"517":1}}],["example",{"0":{"106":1,"111":1,"121":1,"136":1,"201":1,"206":1,"221":1,"295":1,"335":1,"346":1,"461":1,"551":1},"2":{"15":1,"16":1,"334":1,"423":1,"444":1,"468":1,"469":1,"479":1,"481":1,"513":1,"518":2,"521":1,"533":1,"534":3}}],["exactly",{"2":{"508":1,"549":1}}],["exact",{"2":{"122":1,"156":1,"157":1,"177":1,"334":1,"377":1,"534":1,"550":1}}],["existence",{"2":{"466":1}}],["existing",{"0":{"485":1},"2":{"203":1,"218":1,"236":1,"259":1,"271":1,"304":1,"308":1,"322":1,"337":1,"402":1,"484":1,"485":1,"493":2,"556":1}}],["exist",{"2":{"112":1,"115":1,"123":1,"207":1,"212":1,"255":1,"340":1,"343":1,"465":1}}],["exists",{"0":{"466":1},"2":{"107":1,"202":1,"241":1,"296":1,"336":1,"412":1,"463":1,"466":1,"485":1,"488":1,"541":1}}],["exclude",{"2":{"413":1,"507":1}}],["excluded",{"0":{"53":1},"2":{"53":1,"397":1}}],["excorp",{"2":{"106":1}}],["excel",{"2":{"527":1}}],["excessive",{"2":{"445":1}}],["except",{"2":{"407":1,"413":1}}],["exceptions",{"0":{"280":1,"413":1},"2":{"401":1,"413":1}}],["exception",{"2":{"93":1}}],["exceeding",{"2":{"397":1}}],["exceeds",{"2":{"364":1}}],["exceeded",{"2":{"49":1,"359":1}}],["excerpt",{"2":{"147":1}}],["expand",{"2":{"485":1,"490":1,"491":1}}],["experimental",{"0":{"553":1},"1":{"554":1},"2":{"553":2,"554":5}}],["experiencing",{"2":{"548":1}}],["experiences",{"2":{"440":1}}],["expected",{"2":{"169":1,"320":1,"324":1,"539":1}}],["explanation",{"2":{"294":1}}],["explains",{"2":{"230":1,"305":1,"536":1}}],["explicitly",{"2":{"143":1,"351":1,"414":1}}],["explicit",{"2":{"115":1,"175":1}}],["expressive",{"2":{"404":1}}],["expression",{"2":{"377":1,"397":1}}],["express",{"2":{"184":1,"282":1,"358":1}}],["exposed",{"2":{"533":1}}],["exposes",{"2":{"72":1,"97":1,"192":1,"326":1}}],["export",{"2":{"478":4,"484":1}}],["exports",{"2":{"478":1}}],["exporting",{"0":{"478":1}}],["exponential",{"2":{"52":1,"441":1}}],["expiry",{"2":{"347":1,"364":1,"372":1,"383":1,"385":2,"387":1,"499":1}}],["expires",{"2":{"333":1,"351":1,"383":1,"499":2,"526":1}}],["expired",{"2":{"17":1,"127":1,"152":1,"158":1,"162":1,"175":1,"364":2}}],["expiration",{"2":{"17":1,"526":1}}],["eyjhbgcioijiuzi1niisinr5cci6ikpxvcj9",{"2":{"15":1}}],["dns",{"0":{"452":1},"2":{"452":1}}],["d",{"2":{"430":2,"528":2,"531":1,"535":1,"551":1,"554":1,"558":1,"559":1,"562":1}}],["dynamic",{"0":{"415":1},"2":{"415":1}}],["dto",{"2":{"390":1}}],["drafts",{"2":{"468":1}}],["driver",{"2":{"533":1,"534":1,"535":1}}],["driven",{"0":{"250":1}}],["driving",{"2":{"318":1}}],["drizzle",{"2":{"282":1,"358":1,"385":1,"404":1}}],["dropdowns",{"2":{"314":1,"315":1}}],["dropdown",{"0":{"323":1},"2":{"147":1,"151":1,"152":1,"153":1,"161":1,"167":1,"292":1,"297":1,"301":1,"308":1,"382":1,"471":1,"485":1,"500":1,"509":1}}],["dump=",{"2":{"558":1}}],["dumps",{"2":{"556":2,"558":1}}],["dump",{"0":{"556":1,"558":1},"2":{"553":1,"555":2,"556":8,"557":1,"558":7,"559":2}}],["dumpless",{"0":{"553":1},"1":{"554":1},"2":{"553":3,"554":5}}],["dutch",{"2":{"544":1}}],["due",{"2":{"365":1,"540":2}}],["duration",{"0":{"354":1},"2":{"354":1,"393":2,"499":1}}],["during",{"0":{"156":1},"2":{"81":1,"217":1,"227":1,"275":1,"287":1,"362":1,"379":1,"427":1,"439":1,"451":1,"483":1,"484":1}}],["duplicate",{"2":{"187":1,"437":1,"488":1}}],["db",{"2":{"137":1,"187":1,"388":1,"524":1}}],["diagnose",{"2":{"547":1}}],["dialog",{"0":{"305":1},"2":{"89":1,"148":1,"153":1,"154":1,"158":1,"293":1,"296":1,"297":1,"299":1,"301":1,"305":1,"308":1,"322":1,"373":1,"379":1,"380":1,"471":1,"492":1,"498":1}}],["diff",{"2":{"533":1}}],["diffservices",{"2":{"533":1}}],["different",{"2":{"310":2,"455":1,"486":1,"549":1}}],["digit",{"2":{"473":1}}],["directory",{"0":{"517":1},"2":{"463":1,"469":1,"479":1,"497":2,"500":1,"508":1,"513":1,"517":4,"534":3,"535":1,"558":1}}],["directly",{"2":{"450":1,"453":1,"460":1,"535":1}}],["disallows",{"2":{"548":1}}],["disabling",{"2":{"288":1}}],["disable",{"0":{"304":1},"2":{"210":1,"272":1,"305":1,"507":1,"524":1,"526":1}}],["disableserviceaccountkeycreation",{"0":{"507":1},"2":{"507":2}}],["disables",{"2":{"208":1}}],["disabled",{"0":{"315":1},"2":{"163":1,"211":1,"212":1,"223":1,"245":1,"246":1,"255":1,"272":2,"284":2,"292":1,"304":3,"320":1,"323":3,"324":1,"370":1,"375":1,"519":1,"526":1}}],["disk",{"2":{"461":1}}],["discover",{"2":{"509":1}}],["discovered",{"2":{"501":1,"510":1}}],["discovery",{"2":{"501":1,"510":1}}],["discussion",{"2":{"430":1}}],["discard",{"2":{"156":1}}],["discrepancies",{"2":{"80":1}}],["dispatch",{"2":{"441":1}}],["dispatches",{"2":{"435":1}}],["dispatched",{"2":{"434":1,"437":1}}],["dispute",{"2":{"100":1,"106":1,"295":1}}],["display",{"2":{"289":1,"296":1,"299":1,"377":1,"544":1,"561":1}}],["displayed",{"2":{"84":2,"88":2,"147":1,"163":1,"292":3,"372":1,"383":1,"473":1,"499":1,"538":1,"546":1}}],["displays",{"2":{"84":1,"147":1,"292":1,"372":3,"375":1,"383":1}}],["dot",{"2":{"505":1}}],["don",{"2":{"505":1}}],["done",{"2":{"480":1,"505":1,"550":1}}],["double",{"2":{"475":1}}],["down",{"2":{"474":1,"557":1}}],["downloaded",{"2":{"505":1,"509":1}}],["download",{"0":{"60":1},"2":{"59":1}}],["downloads",{"2":{"32":1,"93":1}}],["docker",{"0":{"524":1,"533":1,"534":1},"1":{"535":1},"2":{"452":1,"469":2,"479":2,"513":2,"514":1,"515":2,"518":2,"520":2,"521":3,"524":1,"528":2,"531":3,"532":2,"533":2,"534":8,"535":3,"554":2,"555":2,"557":2,"558":2,"559":2,"562":1}}],["doc",{"2":{"447":1}}],["docx",{"2":{"427":1,"443":1,"447":1,"448":1,"453":1}}],["documents",{"2":{"120":1,"168":1,"233":1,"319":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1,"442":1}}],["document",{"0":{"233":1},"2":{"45":1,"233":1,"250":1,"320":1,"400":1,"431":1,"433":1,"447":1,"448":1,"453":1}}],["documentation",{"2":{"1":1,"30":1,"237":1,"447":1,"472":1,"478":1,"553":1,"556":1}}],["domain",{"0":{"508":1},"2":{"334":2,"335":2,"377":2,"396":1,"471":1,"502":1,"508":3,"509":1,"547":1,"550":1}}],["doe",{"2":{"121":1,"122":1,"165":1}}],["doesn",{"2":{"255":1,"323":1,"461":1}}],["does",{"2":{"88":2,"112":1,"115":1,"123":1,"152":1,"207":1,"212":1,"315":1,"340":1,"343":1,"344":1,"365":1,"465":1,"491":1,"512":1,"539":1,"540":1,"549":1}}],["do",{"0":{"541":1},"2":{"81":2,"117":1,"187":1,"205":1,"412":1,"505":1,"521":1,"532":1,"535":1,"553":1,"554":1,"556":1}}],["dos",{"2":{"48":1}}],["dark",{"2":{"545":1}}],["daily",{"2":{"249":1,"362":2,"369":1}}],["day",{"2":{"228":1,"229":1,"294":1,"398":1}}],["days",{"2":{"200":1,"284":2,"292":2,"294":2,"295":3,"319":4,"333":1,"351":1,"364":2,"372":1,"374":2,"383":1,"385":2}}],["date",{"2":{"74":6,"84":1,"99":1,"147":3,"155":3,"160":1,"165":2,"176":1,"180":1,"181":1,"194":1,"265":1,"292":3,"364":1,"388":1,"410":1,"447":1,"501":1,"563":1}}],["datasets",{"2":{"176":1}}],["databases",{"2":{"552":1}}],["database",{"0":{"385":1},"2":{"80":1,"81":1,"113":1,"127":1,"153":1,"156":1,"184":2,"187":1,"189":1,"282":2,"285":1,"358":2,"364":1,"365":1,"385":1,"387":1,"388":1,"404":1,"483":2,"486":1,"519":2,"521":1,"524":5,"526":1,"528":1,"529":1,"537":2,"539":1,"553":2,"554":1,"563":3}}],["data",{"0":{"185":1,"236":1,"266":1,"283":1,"387":1,"390":1,"429":1,"483":1,"534":1,"535":1,"563":1},"1":{"186":1,"187":1,"284":1,"285":1,"535":1},"2":{"32":1,"72":1,"75":1,"88":1,"93":1,"146":1,"168":1,"236":2,"266":2,"344":1,"349":2,"383":1,"398":1,"420":1,"427":2,"458":1,"469":3,"479":3,"482":1,"483":1,"486":1,"491":1,"493":1,"494":1,"502":1,"508":3,"513":3,"517":4,"519":2,"520":1,"525":2,"526":1,"528":1,"534":13,"535":9,"540":1,"541":2,"552":1,"553":1,"555":1,"556":2,"558":3,"559":1,"564":1}}],["dashboard",{"0":{"18":1},"1":{"19":1,"20":1,"21":1,"22":1,"23":1},"2":{"15":1,"16":1,"17":1,"18":2,"32":2,"145":1,"165":1,"184":2,"239":1,"282":1,"290":1,"358":1,"371":1,"401":1,"403":2,"419":2,"420":1,"469":1,"471":1,"509":1,"513":1}}],["decouple",{"2":{"455":1}}],["decides",{"2":{"443":1}}],["decisions",{"2":{"262":1,"274":1}}],["decision",{"2":{"173":1}}],["deduplicates",{"2":{"451":1}}],["deduplication",{"0":{"488":1},"2":{"427":1}}],["dedicated",{"2":{"96":1,"252":1}}],["demonstrates",{"2":{"422":1}}],["demonstrating",{"2":{"417":1}}],["developer",{"2":{"548":1}}],["developers",{"2":{"400":1}}],["development",{"2":{"523":1}}],["developing",{"2":{"52":1}}],["denies",{"2":{"413":1}}],["denied",{"0":{"325":1},"2":{"414":1}}],["denial",{"2":{"48":1,"397":1}}],["delegation",{"0":{"508":1},"2":{"502":1,"508":2}}],["deletion",{"0":{"189":1,"210":1,"272":1,"302":1,"370":1},"1":{"303":1,"304":1},"2":{"112":1,"143":1,"146":1,"147":1,"152":2,"153":1,"158":1,"163":1,"171":1,"173":1,"177":1,"184":1,"189":2,"272":3,"288":1,"301":1,"302":1,"305":2,"324":1,"351":2,"355":3,"364":2,"367":1,"370":2,"380":1,"383":1,"427":1,"526":3}}],["deletions",{"2":{"93":1,"355":1,"366":2,"370":1}}],["deleting",{"0":{"153":1,"169":1,"301":1,"380":1,"492":1},"1":{"302":1,"303":1,"304":1,"305":1},"2":{"6":1,"63":1,"169":1,"276":1,"290":1,"371":1,"380":1,"455":1,"492":2}}],["deletepolicy",{"0":{"391":1}}],["deletearchivedemail",{"2":{"189":1,"364":1,"370":1}}],["deletes",{"2":{"113":1,"208":1,"341":1,"359":1,"364":1,"391":1,"465":1,"492":1}}],["deleted",{"2":{"88":1,"115":2,"124":1,"127":1,"152":1,"153":2,"158":1,"162":1,"168":1,"173":1,"175":2,"191":1,"210":1,"211":1,"212":1,"255":1,"303":1,"304":1,"324":1,"343":1,"349":1,"356":1,"364":1,"367":2,"380":1,"391":1,"435":1,"437":1,"465":1,"491":1,"492":1,"540":1}}],["delete",{"0":{"5":1,"9":1,"29":1,"38":1,"68":1,"113":1,"163":1,"167":2,"169":1,"208":1,"303":1,"324":1,"341":1,"465":1},"1":{"114":1,"115":1,"209":1,"210":1,"211":1,"212":1,"342":1,"343":1},"2":{"92":1,"113":2,"114":1,"139":2,"143":1,"153":4,"163":1,"164":1,"165":1,"173":1,"187":2,"189":1,"191":1,"208":2,"209":1,"210":1,"218":1,"224":3,"239":1,"252":1,"272":3,"276":1,"288":1,"292":1,"301":1,"305":1,"307":1,"311":1,"312":1,"315":1,"325":1,"333":1,"335":1,"341":2,"342":1,"347":2,"367":1,"372":1,"376":1,"380":1,"385":1,"391":1,"393":2,"402":3,"416":1,"465":1,"472":1,"492":1,"493":1}}],["delta",{"2":{"501":1}}],["delays",{"2":{"258":1}}],["deprecated",{"2":{"526":2}}],["dependency",{"2":{"460":1}}],["depends",{"2":{"395":1,"446":1}}],["depending",{"2":{"147":1,"208":1,"469":1,"475":1,"510":1,"513":1,"534":1,"558":1}}],["deployments",{"2":{"440":1}}],["deploying",{"0":{"532":1},"1":{"533":1},"2":{"429":1,"514":1,"530":1,"532":1,"533":1}}],["deploy",{"2":{"267":1}}],["department",{"2":{"265":1,"335":1}}],["departments",{"2":{"234":1}}],["debugging",{"2":{"256":1,"365":1,"369":1}}],["debug",{"2":{"190":1}}],["def",{"2":{"364":1}}],["defining",{"2":{"423":1}}],["definition",{"2":{"358":1,"482":1,"533":1,"535":1}}],["definitions",{"2":{"184":1,"282":1,"521":1}}],["defines",{"2":{"404":1}}],["defined",{"2":{"385":1,"401":1,"404":1}}],["define",{"2":{"349":1,"351":1,"376":1,"404":1,"427":1,"461":1,"550":1}}],["defaultredispassword",{"2":{"524":1}}],["defaults",{"2":{"51":2,"74":3,"186":1,"333":1,"382":1}}],["default",{"0":{"545":1},"2":{"49":1,"292":1,"328":1,"362":1,"368":1,"372":1,"375":1,"385":1,"406":1,"413":1,"417":1,"438":1,"497":1,"520":1,"521":1,"523":1,"524":1,"525":1,"526":1,"527":1,"544":1,"545":3}}],["deactivating",{"0":{"152":1},"2":{"145":1,"152":1}}],["deactivation",{"2":{"115":1,"175":1,"177":1}}],["deactivates",{"2":{"175":1}}],["deactivated",{"2":{"147":1,"175":1,"191":1}}],["deactivate",{"0":{"111":1},"2":{"110":1,"115":1,"143":1,"151":1,"152":1,"153":3,"164":1,"165":1,"167":1,"169":1}}],["detach",{"2":{"491":1}}],["detail",{"0":{"95":1,"289":1,"307":1},"2":{"145":1,"150":1,"160":1,"163":1,"165":1,"184":2,"282":1,"306":1}}],["details",{"0":{"89":1},"2":{"31":1,"75":1,"84":2,"89":1,"95":1,"262":1,"288":2,"315":1,"367":1,"387":1,"430":1,"471":2,"485":1,"500":1,"508":2,"509":1,"523":1,"556":1}}],["detailed",{"2":{"30":1,"95":1,"294":1,"374":1,"405":1,"428":1,"429":1,"564":1}}],["determining",{"2":{"374":1}}],["determine",{"2":{"236":1,"248":1,"349":1,"523":1}}],["determines",{"2":{"152":1,"384":1,"392":1,"457":1,"544":1}}],["detects",{"2":{"441":1}}],["detection",{"0":{"437":1},"2":{"437":1,"441":1,"488":1}}],["detector",{"2":{"436":1}}],["detectable",{"2":{"92":1}}],["detected",{"2":{"88":1,"437":1}}],["destruction",{"2":{"171":1}}],["design",{"2":{"370":1,"455":1,"483":1}}],["designed",{"2":{"81":1,"83":1,"90":1,"93":1,"171":1,"356":1,"447":1,"460":1}}],["desired",{"2":{"165":1,"300":1,"308":1,"322":1}}],["described",{"2":{"507":1}}],["describes",{"2":{"431":1}}],["descriptions",{"0":{"318":1},"2":{"318":1}}],["description",{"2":{"74":1,"102":1,"105":2,"109":1,"110":2,"114":1,"118":1,"119":1,"120":1,"125":1,"130":1,"134":1,"135":1,"140":1,"147":1,"149":1,"184":1,"186":2,"187":1,"195":2,"197":1,"200":3,"201":1,"204":1,"206":2,"209":1,"215":1,"219":1,"220":1,"225":1,"229":1,"282":1,"284":3,"285":1,"292":1,"294":1,"295":2,"298":1,"305":1,"328":1,"330":1,"333":3,"334":1,"335":1,"338":1,"342":1,"345":1,"347":1,"358":1,"368":1,"369":1,"374":2,"377":1,"385":3,"398":1,"438":1,"499":2,"505":1,"523":1,"524":1,"525":1,"526":1,"527":1}}],["descriptively",{"2":{"165":1}}],["descriptive",{"2":{"17":1,"149":1,"294":1,"317":1,"374":1,"437":1,"471":1,"497":1}}],["desc",{"2":{"74":2,"240":1}}],["cd",{"2":{"516":1,"534":1}}],["cdef",{"2":{"100":1,"347":1}}],["csv",{"2":{"447":1}}],["cc",{"2":{"364":1}}],["cto",{"2":{"235":1}}],["cfo",{"2":{"235":1,"346":1,"382":1}}],["certificates",{"2":{"499":1}}],["certain",{"2":{"53":1}}],["center",{"2":{"496":1,"497":1,"500":1}}],["ceo",{"2":{"235":1}}],["c",{"2":{"235":1,"295":1,"548":1}}],["c3d4e5f6",{"2":{"100":1,"347":1}}],["clear",{"2":{"339":2,"427":1,"499":1,"538":1}}],["cleanstalesessions",{"2":{"437":1}}],["cleanup",{"2":{"320":1}}],["clean",{"0":{"559":1},"2":{"271":1}}],["cleaned",{"2":{"168":1}}],["clone",{"0":{"516":1},"2":{"516":2}}],["cloud",{"0":{"505":1},"2":{"457":1,"495":1,"502":1,"503":1,"504":1,"505":2,"507":2,"508":1}}],["closes",{"2":{"296":1}}],["clock",{"2":{"210":1}}],["class",{"2":{"386":1,"461":1}}],["classification",{"0":{"233":1,"236":1,"266":1},"2":{"236":2,"249":1,"266":1,"267":1}}],["clarity",{"0":{"95":1}}],["cli",{"2":{"554":1}}],["clients",{"2":{"467":1,"478":2,"480":1}}],["client",{"0":{"478":1,"499":1},"2":{"52":1,"478":1,"496":1,"499":3,"500":2,"508":5}}],["clicking",{"2":{"85":1,"89":1,"162":1,"307":1,"490":1,"491":1}}],["click",{"2":{"17":1,"148":1,"151":1,"153":1,"161":1,"165":3,"293":1,"297":1,"300":1,"301":1,"308":1,"373":1,"379":1,"380":1,"469":3,"471":2,"473":2,"474":1,"478":1,"479":1,"485":2,"491":1,"497":2,"498":4,"499":2,"500":2,"505":6,"507":2,"508":4,"509":2,"513":3}}],["chown",{"2":{"517":1}}],["choosing",{"0":{"457":1}}],["choose",{"2":{"376":1,"469":2,"473":1,"476":1,"478":1,"479":1,"513":2,"545":1}}],["chevron",{"2":{"490":1,"491":1}}],["checked",{"2":{"526":1}}],["checkmark",{"2":{"498":1}}],["checktikaavailability",{"2":{"452":1}}],["checkduplicate",{"2":{"437":1,"441":1}}],["checkboxes",{"2":{"375":1}}],["checks",{"2":{"364":1,"466":1,"561":1}}],["checking",{"0":{"561":1},"2":{"243":1}}],["check",{"0":{"13":1,"43":1,"44":1,"241":1,"452":1,"536":1,"541":1},"1":{"44":1,"537":1,"538":1,"539":1,"540":1,"541":1},"2":{"52":2,"76":1,"81":1,"87":1,"165":1,"189":1,"212":1,"241":1,"256":1,"259":1,"323":1,"393":1,"406":1,"444":1,"452":2,"466":1,"475":3,"485":1,"498":1,"510":1,"528":1,"536":1,"537":1,"541":2,"556":1}}],["children",{"2":{"482":1,"483":1,"487":1,"489":1,"492":2}}],["child",{"0":{"491":1},"2":{"435":3,"482":2,"483":6,"489":2,"490":1,"491":7,"492":3,"493":3}}],["character",{"2":{"442":1}}],["characters",{"2":{"105":2,"110":2,"144":2,"149":2,"200":2,"229":2,"294":2,"333":2,"334":1,"345":2,"397":1,"398":7}}],["chars",{"2":{"334":1,"377":1}}],["changes",{"2":{"300":2,"381":1,"416":1,"471":2,"500":2,"509":2,"531":1,"533":1,"535":1,"540":1,"549":1,"551":1,"557":1,"562":1}}],["change",{"2":{"299":1,"307":1,"308":1,"455":1,"501":1,"510":1,"519":1,"520":1,"521":1,"526":1,"535":3,"544":1,"552":1,"564":1}}],["changed",{"2":{"151":1,"390":1,"501":1,"539":1,"544":1}}],["changing",{"2":{"152":1}}],["chained",{"2":{"92":1,"177":1}}],["chain",{"2":{"76":1,"77":1,"81":2,"87":2,"88":4,"90":1,"92":2,"96":1}}],["chronological",{"2":{"85":2}}],["chunks",{"2":{"81":1}}],["cutover",{"2":{"484":1}}],["custodian",{"2":{"165":1,"180":1}}],["custodians",{"2":{"165":1}}],["custom",{"2":{"80":1,"281":1,"291":1,"473":1,"480":1}}],["customize",{"2":{"51":1,"518":1}}],["currently",{"2":{"99":1,"115":1,"129":1,"147":2,"160":1,"161":1,"186":1,"205":1,"210":1,"214":1,"272":2,"299":1,"304":1,"315":1,"322":1,"324":1,"333":1,"347":1,"383":1,"487":1,"553":2}}],["currenthash",{"2":{"75":1,"81":2,"88":2}}],["current",{"0":{"69":1,"70":1,"241":1},"2":{"52":2,"81":1,"89":1,"241":2,"307":1,"379":1,"390":1,"393":1,"415":2,"475":1,"484":1,"517":1,"539":2,"540":1,"555":1}}],["cross",{"2":{"547":1,"548":2}}],["cron",{"2":{"362":2,"369":1,"434":1,"438":1,"523":1}}],["crashes",{"2":{"441":1}}],["crashed",{"2":{"437":1}}],["crash",{"2":{"441":1}}],["critical",{"2":{"319":1,"498":1}}],["criteria",{"2":{"250":1,"265":1,"404":1}}],["crud",{"0":{"386":1},"1":{"387":1,"388":1,"389":1,"390":1,"391":1},"2":{"184":1,"282":1,"358":1,"384":1}}],["crucial",{"2":{"48":1,"442":1,"498":1,"541":1}}],["cryptographically",{"2":{"92":1,"177":1}}],["cryptographic",{"2":{"87":1,"96":1,"537":1}}],["credential",{"2":{"521":1}}],["credentials",{"2":{"33":1,"456":1,"459":1,"475":1,"496":1,"504":1,"505":1,"509":1,"520":1}}],["creating",{"0":{"17":1,"148":1,"293":1,"373":1,"413":1,"469":1,"513":1},"1":{"149":1,"150":1,"294":1,"295":1,"296":1,"374":1,"375":1,"376":1,"377":1,"378":1},"2":{"61":1,"63":1,"78":1,"92":1,"145":1,"267":1,"276":1,"290":1,"371":1,"400":1,"401":1,"404":1,"413":1,"496":1,"517":1,"553":1,"555":1}}],["creation",{"0":{"150":1},"2":{"2":1,"80":1,"81":1,"99":1,"147":1,"148":1,"177":1,"180":1,"186":2,"194":1,"284":1,"288":1,"292":1,"293":1,"355":1,"373":1,"378":1,"379":1,"385":1,"485":1,"493":1,"507":2,"556":2}}],["createpolicy",{"0":{"387":1}}],["creates",{"2":{"104":1,"180":1,"181":1,"199":1,"332":1,"387":1,"391":1,"435":2}}],["createauditlog",{"2":{"82":1}}],["create",{"0":{"26":1,"34":1,"65":1,"104":1,"199":1,"332":1,"499":1,"517":1,"556":1},"1":{"105":1,"106":1,"107":1,"200":1,"201":1,"202":1,"333":1,"334":1,"335":1,"336":1},"2":{"16":1,"74":1,"80":1,"148":1,"164":1,"165":2,"191":1,"205":1,"239":2,"246":1,"267":1,"288":1,"293":1,"311":1,"322":1,"339":1,"373":1,"387":1,"401":1,"402":3,"413":1,"415":1,"416":1,"419":2,"458":1,"460":1,"469":1,"471":2,"472":1,"473":1,"474":2,"485":1,"497":1,"499":1,"500":2,"505":8,"507":1,"509":2,"513":1,"517":2,"518":1,"528":2,"533":1,"553":2,"556":1}}],["createdat",{"2":{"100":2,"195":2,"328":1,"534":1}}],["created",{"2":{"2":1,"104":1,"107":2,"147":2,"148":1,"186":1,"187":1,"191":1,"202":2,"239":1,"284":1,"292":2,"296":1,"336":2,"385":1,"390":1,"419":1,"437":1,"458":1,"483":1,"505":1,"508":2,"519":1,"534":1,"552":1,"556":1,"557":1}}],["cycle",{"0":{"435":1},"1":{"436":1,"437":1},"2":{"45":1,"112":1,"127":1,"152":1,"158":1,"162":1,"175":2,"431":1,"433":1,"434":2,"435":3,"487":1}}],["coolify",{"0":{"532":1,"533":1},"1":{"533":1},"2":{"532":2,"533":3}}],["coordinated",{"2":{"435":1}}],["coordination",{"0":{"435":1},"1":{"436":1,"437":1},"2":{"431":1}}],["copied",{"2":{"500":1,"508":1}}],["copy",{"2":{"17":1,"473":1,"499":2,"500":1,"508":1,"509":1,"518":1}}],["covered",{"2":{"564":1}}],["covers",{"2":{"488":1}}],["cover",{"2":{"484":1}}],["costs",{"2":{"427":1}}],["coerced",{"2":{"398":1}}],["combination",{"2":{"443":1}}],["combine",{"2":{"417":1,"481":1}}],["combining",{"2":{"414":1}}],["comes",{"2":{"404":1}}],["comment",{"2":{"521":1}}],["communicate",{"2":{"533":1}}],["communication",{"0":{"235":1},"2":{"426":1}}],["communications",{"0":{"279":1},"2":{"181":1,"195":1,"235":3,"279":1,"291":1,"295":1,"427":1}}],["community",{"2":{"430":1}}],["command",{"2":{"519":1,"528":1,"534":2,"535":1,"554":2,"556":1,"558":3,"559":1}}],["commands",{"2":{"517":1,"531":1,"564":1}}],["comma",{"2":{"382":2,"508":1}}],["common",{"0":{"232":1,"255":1},"1":{"233":1,"234":1,"235":1,"236":1,"237":1},"2":{"319":1,"413":1,"443":1,"455":1,"470":1,"477":1,"540":2,"547":1}}],["com",{"2":{"120":1,"121":1,"122":1,"334":1,"335":2,"346":2,"382":1,"423":1,"471":2,"473":1,"508":3,"509":1,"516":1,"534":4,"551":2}}],["computer",{"2":{"505":1,"513":1}}],["computes",{"2":{"80":1}}],["compressed",{"2":{"468":1}}],["compress",{"2":{"468":1}}],["compression",{"2":{"427":1,"468":2}}],["comprehensive",{"2":{"83":1,"290":1,"371":1,"427":1}}],["compose",{"0":{"524":1,"533":1},"2":{"469":1,"479":1,"513":1,"514":1,"515":1,"520":1,"521":3,"524":1,"528":3,"531":2,"532":1,"533":2,"534":5,"535":4,"551":1,"554":3,"555":1,"556":1,"557":2,"558":3,"559":3,"562":2}}],["composed",{"2":{"282":1,"358":1}}],["composite",{"2":{"187":1,"285":1}}],["components",{"2":{"282":1,"358":1}}],["component",{"2":{"184":1,"282":1,"358":1,"359":1,"442":1}}],["completion",{"2":{"435":1}}],["completely",{"2":{"272":1}}],["completed",{"2":{"123":1,"170":1,"227":1,"348":1,"369":1,"435":2}}],["completeness",{"0":{"93":1}}],["complete",{"2":{"88":1,"90":1,"145":1,"191":1,"274":1,"447":1,"451":1,"475":1,"485":1,"510":1,"522":1,"541":1,"559":1}}],["complex",{"2":{"318":1,"404":1,"519":1}}],["compliance",{"0":{"234":1,"489":1},"2":{"90":1,"91":1,"145":1,"146":1,"149":1,"165":1,"171":1,"180":1,"184":2,"230":1,"233":1,"236":1,"261":1,"264":1,"266":1,"280":1,"282":2,"290":1,"291":1,"299":1,"349":1,"358":2,"362":1,"369":1,"370":1,"371":1,"385":1,"427":1,"483":1,"489":2}}],["compatibility",{"2":{"447":1}}],["compatible",{"0":{"459":1},"2":{"59":1,"427":1,"455":1,"457":1,"520":1,"525":5,"552":1}}],["company",{"2":{"195":1}}],["compare",{"2":{"376":1}}],["compares",{"2":{"81":2,"87":1,"395":2,"537":1}}],["comparisons",{"2":{"395":1,"410":1}}],["comparison",{"2":{"376":1,"395":1,"396":1}}],["comparing",{"2":{"96":1}}],["corruption",{"2":{"540":1,"541":1}}],["corrupted",{"2":{"537":1,"553":1}}],["correctly",{"2":{"533":1,"547":1,"550":2,"551":1,"559":1}}],["correct",{"2":{"460":1,"486":1,"517":1,"534":4,"541":1}}],["corresponds",{"2":{"556":1}}],["corresponding",{"2":{"267":1}}],["correspondence",{"2":{"201":1,"335":1}}],["cors",{"0":{"547":1},"1":{"548":1,"549":1,"550":1,"551":1},"2":{"523":1,"547":2,"548":2,"551":1}}],["corp",{"2":{"120":1,"165":1}}],["core",{"0":{"91":1,"172":1,"269":1,"350":1},"1":{"92":1,"93":1,"94":1,"95":1,"96":1,"173":1,"174":1,"175":1,"176":1,"177":1,"270":1,"271":1,"272":1,"273":1,"274":1,"275":1,"351":1,"352":1,"353":1,"354":1,"355":1,"356":1},"2":{"79":1,"91":1,"370":1,"384":1,"392":1,"455":1}}],["counsel",{"2":{"106":1,"146":1}}],["counted",{"2":{"122":1,"156":1}}],["count",{"0":{"170":1},"2":{"53":1,"99":1,"165":1,"170":1}}],["could",{"2":{"94":1,"228":1,"540":4}}],["column",{"2":{"186":1,"187":1,"284":1,"285":1,"385":1,"388":1,"499":1}}],["columns",{"2":{"84":1,"147":1,"292":1,"372":1}}],["color",{"2":{"84":1,"545":1}}],["codes",{"0":{"123":1,"127":1,"132":1,"138":1,"142":1,"212":1,"217":1,"223":1,"227":1,"348":1},"2":{"256":1}}],["coded",{"2":{"84":1}}],["code",{"2":{"49":1,"52":2,"430":3,"455":1}}],["concepts",{"0":{"482":1}}],["concurrent",{"2":{"439":1}}],["concurrency",{"0":{"439":1,"451":1},"2":{"438":1}}],["concludes",{"2":{"165":1,"175":1,"182":1}}],["conduct",{"2":{"430":1}}],["condition",{"0":{"352":1,"376":1},"2":{"333":1,"352":1,"393":2}}],["conditions",{"0":{"334":1,"404":1},"1":{"405":1,"406":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1},"2":{"328":1,"333":1,"335":1,"339":2,"351":1,"352":2,"372":4,"376":2,"385":1,"393":1,"401":3,"404":3,"413":1,"415":1,"417":1,"419":2,"422":1,"423":1}}],["connector",{"2":{"484":2}}],["connects",{"2":{"482":1}}],["connect",{"2":{"427":1,"429":1,"475":2,"476":1,"501":1,"510":1,"521":1}}],["connection",{"2":{"452":1,"471":3,"475":2,"481":1,"484":2,"494":2,"500":1,"501":1,"502":2,"510":1,"524":1}}],["connections",{"2":{"33":1}}],["connectivity",{"2":{"444":1}}],["connecting",{"0":{"470":1,"476":1,"494":1,"500":1,"502":1,"509":1},"1":{"471":1,"472":1,"473":1,"474":1,"475":1,"495":1,"496":1,"497":1,"498":1,"499":1,"500":1,"501":1,"503":1,"504":1,"505":1,"506":1,"507":1,"508":1,"509":1,"510":1},"2":{"1":3,"429":3,"470":1,"476":1,"530":3}}],["converted",{"2":{"453":1}}],["converts",{"2":{"80":1,"388":1}}],["convenience",{"2":{"452":1,"521":1}}],["conventions",{"0":{"317":1}}],["conflicts",{"2":{"532":1}}],["conflict",{"2":{"107":1,"115":1,"123":1,"138":1,"153":1,"187":1,"202":1,"205":1,"207":1,"223":1,"255":1,"296":1,"299":1,"322":1,"336":1,"354":1}}],["confident",{"2":{"541":1}}],["confidential",{"2":{"121":1,"122":1,"236":1,"266":2}}],["config",{"2":{"534":1,"535":2,"558":1}}],["configuring",{"2":{"504":1,"517":1}}],["configure",{"0":{"518":1},"1":{"519":1,"520":1,"521":1,"522":1,"523":1,"524":1,"525":1,"526":1,"527":1},"2":{"400":1,"429":1,"444":1,"500":1,"521":1,"523":1,"524":1,"530":1,"542":1,"554":1}}],["configured",{"2":{"33":1,"59":1,"145":1,"290":1,"351":1,"362":1,"371":1,"441":1,"443":1,"445":1,"447":1,"448":1,"456":1,"469":1,"479":1,"485":1,"513":1,"518":1,"528":1,"547":1,"549":1,"550":1}}],["configurations",{"2":{"383":1}}],["configuration",{"0":{"51":1,"368":1,"429":1,"438":1,"444":1,"456":1,"458":1,"459":1,"519":1,"520":1,"524":1,"543":1,"551":1},"1":{"439":1,"440":1,"457":1,"458":1,"459":1,"544":1,"545":1,"546":1},"2":{"56":1,"364":1,"431":1,"443":1,"455":1,"460":1,"461":1,"471":2,"483":1,"492":2,"500":1,"509":1,"518":1,"522":1,"533":1,"551":2,"554":1}}],["configurable",{"2":{"49":1,"363":1}}],["confirms",{"2":{"300":1}}],["confirmations",{"2":{"233":1}}],["confirmation",{"0":{"305":1},"2":{"156":1,"158":1,"301":1,"380":1,"492":1,"498":1}}],["confirm",{"2":{"153":1,"165":1,"243":1,"305":1,"308":1}}],["confirming",{"2":{"88":1,"296":1}}],["console",{"0":{"505":1},"2":{"503":1,"504":2,"505":1,"507":1,"508":2,"548":1}}],["consent",{"2":{"498":2,"502":1}}],["consult",{"2":{"472":1}}],["consists",{"2":{"376":1}}],["consistent",{"2":{"231":1,"267":1,"317":1,"455":1,"489":1}}],["consistency",{"2":{"80":1}}],["considered",{"2":{"437":1}}],["consider",{"2":{"319":1,"320":1}}],["considerations",{"0":{"257":1},"1":{"258":1,"259":1}}],["constraint",{"2":{"144":1,"229":1,"284":1,"285":1,"298":1,"398":1,"507":1}}],["constraints",{"0":{"144":1,"229":1}}],["constructs",{"2":{"80":1}}],["contact",{"2":{"325":1,"546":1}}],["containers",{"2":{"528":2,"535":1}}],["container",{"2":{"469":4,"479":4,"513":4,"535":1,"554":1,"556":2,"558":1}}],["contain",{"2":{"468":1,"512":1}}],["contains",{"2":{"92":1,"157":1,"334":4,"373":1,"377":5,"396":2,"505":1}}],["containing",{"2":{"89":1,"469":1}}],["contribute",{"2":{"430":1}}],["contributions",{"2":{"430":2}}],["contributing",{"0":{"430":1},"2":{"430":1}}],["contractual",{"2":{"237":1}}],["contracts",{"2":{"237":1,"281":1}}],["controlled",{"2":{"363":1,"370":1}}],["controller",{"2":{"184":2,"282":2,"358":2,"398":1}}],["control",{"2":{"291":1,"352":1,"400":1,"404":1,"417":1,"421":1,"508":1,"526":1}}],["controls",{"0":{"159":1},"1":{"160":1,"161":1,"162":1,"163":1},"2":{"86":1,"145":1,"289":1,"375":1,"378":1,"508":1,"545":1,"547":1}}],["continues",{"2":{"162":1,"292":1,"315":1,"356":1,"365":1}}],["continue",{"2":{"153":1,"256":1,"487":1,"505":1}}],["continuous",{"2":{"45":2,"351":1,"427":1,"433":2,"434":2,"435":1,"437":2,"438":1,"501":1,"510":1,"523":1}}],["content",{"0":{"463":1},"2":{"115":1,"155":1,"231":1,"233":1,"236":1,"242":1,"248":1,"253":1,"266":1,"343":1,"442":1,"450":1,"463":2,"464":1,"509":1,"537":1,"539":1,"540":1}}],["contents",{"0":{"0":1},"1":{"1":1},"2":{"505":1}}],["contextual",{"2":{"95":1}}],["context",{"2":{"95":1}}],["caching",{"0":{"450":1}}],["cache",{"2":{"246":1,"259":1,"450":5}}],["catch",{"2":{"397":1,"461":1}}],["category",{"2":{"266":1}}],["categorizes",{"2":{"266":1}}],["caught",{"2":{"397":1}}],["causing",{"2":{"356":1}}],["cause",{"0":{"549":1},"2":{"167":1,"168":2,"169":1,"170":1,"322":1,"323":1,"324":1,"325":1}}],["caution",{"2":{"356":1,"553":1}}],["capabilities",{"2":{"447":1}}],["capability",{"2":{"268":1}}],["capture",{"2":{"181":1}}],["captured",{"2":{"165":1}}],["care",{"2":{"461":1}}],["carefully",{"2":{"156":1}}],["carve",{"2":{"413":1}}],["card",{"2":{"84":1,"160":1,"161":1,"162":1,"184":1}}],["carry",{"2":{"2":1}}],["calendar",{"2":{"499":1}}],["calculates",{"2":{"537":1}}],["calculated",{"2":{"364":1}}],["calculatehash",{"2":{"80":1,"81":1}}],["calculation",{"0":{"80":1}}],["calls",{"2":{"189":1,"190":1,"246":1,"258":1,"259":1,"364":1}}],["called",{"2":{"53":1,"82":1,"362":1,"370":1,"472":1,"534":1}}],["calling",{"2":{"15":1,"115":1}}],["cancel",{"2":{"305":1}}],["candelete",{"2":{"189":1}}],["cannot",{"0":{"167":2,"322":1,"324":1,"413":1},"2":{"115":1,"138":1,"143":1,"153":2,"205":1,"246":1,"284":1,"292":1,"299":1,"304":1,"305":1,"315":1,"325":1,"370":1,"401":1,"413":2,"414":2}}],["canonicalstringify",{"2":{"80":1}}],["canonical",{"2":{"80":3}}],["can",{"2":{"49":1,"51":1,"53":1,"74":1,"85":1,"89":1,"96":1,"123":1,"173":2,"174":1,"175":2,"183":1,"271":1,"272":1,"273":1,"278":1,"292":1,"298":3,"306":1,"309":1,"314":1,"315":1,"320":1,"324":1,"352":1,"353":1,"366":1,"370":1,"375":1,"379":1,"401":3,"413":3,"414":2,"415":1,"416":1,"423":1,"443":1,"447":1,"451":1,"463":1,"468":2,"472":1,"475":1,"476":1,"478":1,"479":1,"485":1,"490":1,"493":1,"497":1,"501":1,"507":1,"510":1,"512":2,"517":1,"519":2,"521":1,"525":1,"528":2,"529":2,"532":1,"533":2,"534":2,"535":1,"540":1,"541":2,"545":1,"547":1,"549":1,"554":2,"556":3,"557":1,"561":1}}],["casting",{"2":{"176":1}}],["cast",{"2":{"154":1,"177":1}}],["cascades",{"2":{"187":2}}],["cascade",{"2":{"113":1,"153":1}}],["casl",{"2":{"24":1}}],["cases",{"0":{"179":1,"232":1,"277":1},"1":{"180":1,"181":1,"182":1,"183":1,"233":1,"234":1,"235":1,"236":1,"237":1,"278":1,"279":1,"280":1,"281":1},"2":{"105":1,"183":1,"186":1,"267":1,"520":1}}],["caseid",{"2":{"100":2,"105":1,"106":1,"144":1,"183":1}}],["case",{"0":{"183":1},"2":{"14":1,"174":1,"176":1,"183":1,"186":1,"234":1,"265":1,"317":2,"334":5,"377":5,"395":1,"397":1,"406":1,"407":1,"408":1,"409":1,"413":1,"441":1,"472":1}}],["oauth",{"2":{"508":1}}],["odp",{"2":{"447":1}}],["ods",{"2":{"447":1}}],["odt",{"2":{"447":1}}],["ocrservice",{"0":{"449":1},"1":{"450":1,"451":1,"452":1},"2":{"449":2}}],["ocr",{"0":{"442":1},"1":{"443":1,"444":1,"445":1,"446":1,"447":1,"448":1,"449":1,"450":1,"451":1,"452":1,"453":1},"2":{"442":1,"447":1}}],["occur",{"2":{"549":1}}],["occurs",{"2":{"90":1,"190":1}}],["occurred",{"2":{"83":1,"127":1}}],["ou",{"2":{"516":1}}],["our",{"2":{"428":1,"429":1,"430":3}}],["outlook",{"0":{"474":1},"2":{"472":1,"511":1}}],["out",{"2":{"117":1,"176":1,"413":1,"471":1,"521":1,"526":1}}],["outside",{"2":{"106":1}}],["output",{"2":{"80":1}}],["ownership",{"0":{"483":1}}],["owned",{"2":{"482":2,"486":1,"491":1,"492":1,"493":1,"517":1}}],["own",{"2":{"174":1,"419":1,"428":1,"483":2,"489":1,"521":1}}],["omitted",{"2":{"147":1}}],["optical",{"2":{"442":1}}],["option",{"2":{"152":1,"154":1,"158":1,"167":1,"297":1,"301":1,"497":1,"526":1,"554":3}}],["options",{"2":{"147":1,"292":1,"431":1,"474":2,"485":1,"534":1}}],["optionally",{"2":{"183":1,"353":1}}],["optional",{"2":{"105":1,"110":1,"149":1,"186":2,"205":1,"284":1,"294":1,"339":1,"345":1,"374":1,"382":1,"385":1,"401":2,"459":2,"497":1,"519":1,"524":1,"525":1,"527":1}}],["operating",{"2":{"545":1}}],["operational",{"2":{"452":1}}],["operation",{"2":{"117":1,"122":1,"123":1,"124":1,"133":1,"154":1,"156":1,"158":2,"161":1,"164":1,"168":1,"170":1,"176":2,"227":1,"262":1,"305":1}}],["operations",{"0":{"116":1,"312":1,"386":1},"1":{"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"387":1,"388":1,"389":1,"390":1,"391":1},"2":{"177":2,"178":1,"184":1,"187":1,"191":1,"256":1,"259":1,"274":1,"276":1,"282":1,"285":1,"288":1,"310":1,"314":1,"325":1,"358":1,"384":1,"455":1}}],["operates",{"2":{"370":1}}],["operators",{"0":{"377":1,"405":1},"1":{"406":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1},"2":{"334":1,"352":1,"376":1,"405":1}}],["operator",{"0":{"396":1},"2":{"334":3,"335":2,"376":3,"377":1,"395":1,"396":2,"397":1,"406":1,"422":1,"435":1}}],["openarchiver",{"0":{"479":1,"500":1,"509":1},"2":{"467":1,"468":1,"469":2,"473":2,"474":1,"477":1,"479":1,"480":1,"483":1,"496":2,"497":1,"499":1,"500":1,"504":1,"511":1,"512":2,"513":2,"516":2,"534":2}}],["openarchiverfeature",{"2":{"399":1}}],["openxmlformats",{"2":{"448":2,"453":2}}],["opendocument",{"2":{"447":1}}],["opens",{"2":{"154":1,"381":1}}],["open",{"0":{"426":1,"557":1},"2":{"2":1,"30":1,"83":1,"89":1,"90":1,"148":1,"165":1,"293":1,"297":1,"301":1,"366":1,"373":1,"379":1,"400":1,"425":1,"426":3,"428":1,"430":2,"458":1,"471":1,"476":1,"485":1,"491":1,"509":1,"514":1,"516":1,"517":4,"518":1,"519":1,"521":1,"524":2,"525":2,"529":1,"530":1,"531":1,"532":1,"533":7,"534":1,"535":8,"536":1,"537":1,"538":1,"550":1,"552":2,"557":1,"560":1,"561":1,"562":2,"564":1}}],["otherwise",{"2":{"146":1,"270":1,"364":1,"393":1,"466":1}}],["other",{"2":{"82":1,"139":1,"149":1,"153":1,"162":1,"256":1,"421":1,"460":1,"467":1,"473":1,"478":1,"509":1,"526":1,"528":1,"533":2,"535":3,"546":1,"558":1}}],["obligation",{"2":{"370":1}}],["obsolete",{"2":{"320":1}}],["objects",{"2":{"131":1,"132":1,"401":1}}],["object",{"0":{"120":1},"2":{"80":5,"84":1,"95":1,"103":1,"107":1,"112":1,"119":2,"120":2,"137":1,"198":1,"202":1,"207":1,"331":1,"336":1,"340":1,"401":2,"404":1,"413":1,"415":1,"427":1,"455":1,"457":1,"459":1,"520":1}}],["obtain",{"0":{"473":1,"474":1},"2":{"15":1,"31":1}}],["ok",{"2":{"77":2,"112":1,"123":1,"127":1,"132":1,"138":1,"142":1,"207":1,"212":1,"217":1,"223":1,"227":1,"340":1,"348":1}}],["overwritten",{"2":{"463":1}}],["overwhelmed",{"2":{"451":1}}],["overwhelming",{"2":{"258":1}}],["overhead",{"2":{"267":1}}],["overrides",{"2":{"268":1}}],["override",{"0":{"270":1},"2":{"173":1,"268":1,"291":1}}],["over",{"2":{"54":1,"270":1,"287":1,"320":1,"352":1,"421":1,"540":1}}],["overview",{"0":{"30":1,"146":1,"184":1,"231":1,"282":1,"291":1,"358":1,"443":1,"455":1,"496":1,"504":1},"1":{"31":1,"32":1,"497":1,"498":1,"499":1,"500":1,"505":1,"506":1,"507":1,"508":1,"509":1},"2":{"497":1,"500":2}}],["origin=$app",{"2":{"523":1,"551":2}}],["origin",{"2":{"523":1,"547":1,"548":3,"550":3,"551":1}}],["original",{"0":{"489":1},"2":{"480":1,"483":1,"486":1,"489":2,"537":1,"539":2}}],["orchestration",{"2":{"433":1}}],["organize",{"2":{"468":1,"512":1}}],["organized",{"2":{"468":1,"512":1}}],["organizational",{"2":{"497":1}}],["organizations",{"2":{"349":1}}],["organization",{"2":{"317":1,"319":1,"370":1,"494":1,"498":2,"501":1,"502":1,"503":1,"507":9}}],["organise",{"2":{"183":1}}],["orm",{"2":{"282":1,"358":1,"385":1,"404":1}}],["ordering",{"2":{"354":1,"385":1}}],["ordered",{"2":{"99":1,"194":1,"327":1,"363":1,"388":1}}],["order",{"2":{"74":1,"80":2,"85":1,"100":1,"147":1,"292":1,"374":1}}],["or",{"0":{"410":1,"411":1},"2":{"17":2,"59":1,"74":1,"84":1,"85":1,"88":3,"92":1,"94":1,"103":1,"105":1,"108":1,"120":1,"127":1,"131":1,"138":2,"146":2,"150":1,"151":1,"163":1,"169":2,"171":1,"173":1,"178":1,"181":1,"189":1,"198":1,"208":1,"210":1,"211":1,"212":1,"216":1,"217":1,"223":1,"231":1,"233":1,"234":2,"236":1,"237":2,"241":1,"243":1,"248":1,"250":1,"252":1,"255":2,"259":1,"264":1,"268":1,"272":2,"278":1,"279":1,"281":1,"288":1,"289":1,"294":1,"296":1,"304":1,"307":1,"308":2,"317":1,"318":3,"320":1,"322":2,"325":1,"331":1,"335":1,"351":1,"352":1,"353":1,"365":1,"372":4,"376":3,"385":2,"389":1,"394":3,"401":6,"410":3,"411":2,"412":1,"427":1,"429":1,"435":2,"446":1,"460":1,"461":2,"463":1,"470":1,"471":3,"475":1,"481":2,"484":1,"487":2,"488":1,"489":1,"490":1,"491":1,"495":1,"499":1,"501":1,"502":1,"507":1,"515":3,"521":2,"524":1,"525":2,"526":2,"537":1,"540":2,"541":2,"545":1,"546":1,"548":1,"550":1,"559":1}}],["ongoing",{"2":{"234":1,"295":1}}],["on",{"0":{"160":1,"532":1},"1":{"533":1},"2":{"31":1,"84":1,"89":1,"106":1,"127":1,"145":1,"147":1,"152":1,"153":1,"154":1,"158":2,"160":1,"162":1,"163":1,"164":1,"165":3,"168":1,"173":1,"175":1,"186":1,"187":3,"208":1,"231":1,"236":1,"248":1,"250":1,"297":1,"304":1,"307":1,"347":1,"351":1,"354":1,"356":1,"362":1,"379":1,"380":1,"383":1,"385":2,"387":1,"395":1,"401":2,"402":1,"404":1,"417":1,"427":1,"430":2,"432":1,"434":1,"436":1,"437":2,"439":1,"440":1,"441":1,"443":1,"444":1,"445":1,"446":1,"451":1,"452":1,"458":1,"460":1,"469":2,"473":1,"475":2,"478":2,"479":2,"487":1,"489":3,"490":1,"491":1,"494":1,"497":1,"498":1,"500":1,"502":1,"505":1,"507":1,"508":1,"510":1,"513":2,"515":2,"517":1,"532":1,"533":1,"534":3,"535":1,"546":1,"551":1,"556":1,"558":1,"559":1,"561":1}}],["ones",{"2":{"245":1,"259":1,"521":1}}],["one",{"0":{"271":1,"309":1,"485":1},"2":{"16":1,"88":1,"92":1,"110":1,"144":1,"155":1,"158":1,"169":1,"173":1,"174":2,"210":1,"224":1,"241":1,"271":1,"272":2,"285":1,"304":1,"309":2,"322":2,"351":1,"353":1,"394":1,"408":1,"409":1,"413":1,"414":1,"429":1,"434":1,"439":1,"451":1,"468":1,"472":1,"475":1,"482":1,"484":1,"485":1,"493":1,"495":1,"499":1,"505":1,"519":2,"547":1,"548":1,"554":1,"559":1}}],["once",{"2":{"2":1,"182":1,"273":1,"362":1,"380":1,"435":1,"471":1,"479":1,"485":1,"501":1,"507":1,"510":1,"528":1,"529":1,"534":1,"557":1,"559":1}}],["only",{"0":{"420":1},"2":{"2":1,"72":1,"93":1,"108":1,"123":1,"152":1,"154":1,"162":1,"203":1,"205":1,"259":1,"273":1,"298":1,"324":1,"333":1,"337":1,"339":1,"344":1,"353":1,"383":1,"390":1,"397":1,"406":1,"412":1,"423":1,"444":1,"455":1,"472":1,"482":1,"483":1,"485":2,"491":1,"492":1,"493":1,"497":2,"499":1,"501":1,"507":1,"544":1,"552":1}}],["often",{"2":{"471":1}}],["official",{"2":{"447":1,"553":1,"556":1,"559":1}}],["officedocument",{"2":{"448":2,"453":2}}],["office",{"2":{"442":1,"447":1}}],["officer",{"2":{"175":1,"180":1,"181":1,"182":1}}],["officers",{"2":{"146":1,"149":1}}],["offset",{"2":{"363":1}}],["of",{"0":{"0":1,"169":1,"449":1},"1":{"1":1,"450":1,"451":1,"452":1},"2":{"43":1,"48":2,"49":1,"51":1,"52":2,"73":1,"74":1,"76":1,"78":1,"79":1,"80":4,"81":3,"83":1,"84":7,"86":1,"87":2,"88":5,"89":1,"90":2,"92":1,"95":1,"96":2,"99":1,"102":1,"105":1,"108":1,"109":1,"114":1,"117":1,"118":1,"122":2,"125":1,"130":1,"131":1,"132":1,"134":1,"135":1,"140":2,"144":1,"145":1,"146":1,"147":2,"149":1,"154":1,"155":2,"156":3,"157":2,"171":1,"174":1,"175":1,"176":2,"177":1,"180":1,"181":2,"186":1,"187":2,"197":1,"200":1,"204":1,"209":1,"210":1,"215":1,"219":1,"220":1,"225":1,"227":1,"231":1,"250":1,"252":1,"262":2,"268":1,"270":1,"274":1,"275":1,"280":1,"282":1,"284":2,"285":1,"290":1,"292":2,"294":2,"304":1,"320":1,"322":1,"324":1,"330":1,"333":2,"334":2,"338":1,"342":1,"344":1,"347":1,"349":1,"352":2,"353":1,"355":1,"356":1,"358":1,"359":1,"364":3,"365":1,"367":1,"368":1,"370":1,"371":1,"372":3,"374":2,"376":1,"377":2,"380":1,"382":2,"383":1,"384":1,"385":2,"393":2,"397":1,"401":5,"404":3,"405":1,"408":2,"409":1,"415":1,"420":1,"422":1,"426":1,"427":3,"428":1,"430":1,"431":1,"435":1,"438":2,"443":2,"444":1,"447":2,"450":3,"453":1,"459":3,"460":1,"463":1,"464":2,"465":1,"466":2,"467":1,"468":2,"469":1,"472":1,"475":4,"476":1,"477":1,"478":1,"480":3,"482":1,"483":1,"485":2,"487":1,"494":1,"495":1,"497":1,"498":1,"499":1,"500":2,"501":3,"502":2,"505":1,"507":2,"508":1,"509":2,"510":5,"511":1,"512":1,"513":1,"515":2,"521":1,"522":1,"523":3,"524":2,"525":1,"526":2,"527":1,"528":1,"533":3,"535":1,"536":1,"537":2,"538":1,"539":2,"541":2,"542":1,"544":1,"548":1,"550":2,"553":1,"554":2,"556":3,"558":2,"559":1,"561":2,"562":1,"563":1}}],["mycompany",{"2":{"551":2}}],["my",{"0":{"534":1},"1":{"535":1}}],["myaccount",{"2":{"473":1}}],["mkdir",{"2":{"517":1}}],["md",{"2":{"430":1}}],["ml",{"2":{"236":1,"266":1}}],["multiline",{"2":{"397":1}}],["multiple",{"2":{"174":1,"183":1,"354":1,"393":1,"439":1,"451":1,"481":1}}],["must",{"2":{"31":1,"110":1,"144":3,"155":1,"175":1,"199":1,"228":1,"229":3,"280":1,"294":1,"332":1,"334":1,"376":2,"393":1,"394":2,"398":1,"401":1,"404":1,"416":1,"423":1,"444":1,"456":1,"458":1,"459":1,"473":1,"474":1,"493":1,"495":1,"498":2,"499":1,"503":2,"507":1,"517":1,"519":1,"551":1,"553":1,"556":1}}],["moved",{"2":{"491":1}}],["mozilla",{"2":{"478":1}}],["mountpoint",{"2":{"534":2}}],["mount",{"2":{"469":1,"479":1,"513":1,"535":1}}],["mounted",{"2":{"469":1,"479":1,"513":1}}],["months",{"2":{"499":1}}],["mongodb",{"0":{"404":1},"1":{"405":1,"406":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1},"2":{"404":1}}],["monitoring",{"0":{"260":1},"1":{"261":1,"262":1},"2":{"249":1,"261":1,"267":1,"369":1,"450":1,"541":1}}],["monitor",{"2":{"45":1,"52":1,"83":1,"233":1,"248":1,"258":1,"267":1,"556":1}}],["most",{"2":{"271":1,"309":1,"420":1,"439":1,"478":1,"497":1,"520":1,"540":1}}],["moment",{"2":{"180":1,"537":1}}],["model",{"0":{"185":1,"283":1},"1":{"186":1,"187":1,"284":1,"285":1}}],["modifications",{"2":{"455":1,"541":1}}],["modification",{"2":{"177":1,"186":1,"355":1,"532":1}}],["modified",{"2":{"108":1,"139":1,"203":1,"205":1,"259":1,"273":1,"298":3,"299":1,"337":1,"379":1,"390":1,"533":1,"540":1}}],["modifying",{"2":{"322":1,"420":1}}],["modify",{"0":{"533":1},"2":{"151":1,"207":1,"300":1,"344":1,"402":1,"416":1,"507":1,"521":1,"558":2}}],["module",{"0":{"399":1},"2":{"82":1,"177":1,"184":2,"358":3,"399":1}}],["modules",{"2":{"82":1,"184":4,"282":3,"358":4,"384":1}}],["more",{"2":{"88":1,"169":1,"210":1,"272":2,"304":1,"322":1,"351":1,"353":1,"429":1,"430":1,"439":1,"442":1,"523":1,"556":1,"559":1}}],["mbox",{"0":{"477":1},"1":{"478":1,"479":1,"480":1},"2":{"61":1,"476":1,"477":2,"478":4,"479":7,"481":1,"484":1,"487":1}}],["msg",{"2":{"447":1}}],["ms",{"2":{"51":1,"526":1}}],["member",{"2":{"482":1}}],["memory",{"2":{"80":1,"81":1,"363":1,"435":1,"439":2,"440":2,"445":1,"453":1,"463":1}}],["merge",{"0":{"485":1},"2":{"482":2,"484":3,"485":1,"486":1,"488":1,"493":3}}],["merged",{"0":{"484":1,"486":1,"489":1},"2":{"481":1,"482":1,"483":1,"487":1,"489":1}}],["merges",{"2":{"435":1}}],["merging",{"0":{"481":1},"1":{"482":1,"483":1,"484":1,"485":1,"486":1,"487":1,"488":1,"489":1,"490":1,"491":1,"492":1,"493":1},"2":{"476":1,"485":1,"493":1}}],["meili",{"0":{"440":1},"2":{"438":1,"519":1,"521":1,"524":3,"554":4,"556":3,"558":3}}],["meilisearch",{"0":{"552":1,"564":1},"1":{"553":1,"554":1,"555":1,"556":1,"557":1,"558":1,"559":1},"2":{"45":1,"54":1,"117":1,"119":1,"120":1,"155":1,"156":1,"168":2,"176":1,"404":1,"433":1,"440":1,"515":1,"519":1,"521":2,"524":3,"533":1,"552":3,"553":3,"554":8,"555":1,"556":8,"558":5,"559":3,"564":2}}],["meets",{"2":{"237":1}}],["menus",{"2":{"544":1}}],["menu",{"2":{"147":1,"292":1,"471":1,"490":1,"491":1,"498":1,"499":1,"505":1,"507":1}}],["mean",{"2":{"536":1}}],["meaning",{"2":{"413":1}}],["means",{"2":{"88":3,"152":1,"162":1,"347":1,"393":1,"404":1,"483":1,"507":1,"539":2}}],["measure",{"2":{"48":1,"416":1}}],["met",{"2":{"401":1}}],["metadata",{"0":{"393":1,"394":1,"395":1},"2":{"176":1,"248":1,"307":1,"326":1,"344":1,"347":1,"352":1,"364":2,"376":1,"381":1,"383":1,"393":1,"395":1,"537":1}}],["meta",{"2":{"75":1}}],["method",{"0":{"15":1,"16":1},"1":{"17":1},"2":{"73":1,"76":1,"80":1,"81":2,"82":1,"99":1,"101":1,"104":1,"108":1,"113":1,"117":1,"124":1,"129":1,"133":1,"139":1,"194":1,"196":1,"199":1,"203":1,"208":1,"214":1,"218":1,"224":1,"327":1,"329":1,"332":1,"337":1,"341":1,"344":1,"370":1,"393":1,"443":2,"444":1,"452":1,"469":1,"479":1,"494":1,"502":1,"513":1,"514":1,"553":1}}],["methods",{"0":{"453":1},"2":{"14":1,"386":1,"444":1,"446":1,"462":1}}],["mechanism",{"2":{"52":1,"146":1,"171":1,"173":1,"354":1,"431":1,"443":1,"451":1}}],["messageid",{"2":{"461":3}}],["messages",{"2":{"296":1,"461":1,"477":1,"544":1}}],["message",{"2":{"50":1,"77":2,"141":1,"143":3,"153":1,"226":2,"228":4,"299":2,"303":1,"304":1,"383":1,"437":1,"463":1,"486":1,"488":1,"507":1,"540":1,"548":1}}],["migrate",{"2":{"552":1,"553":1,"554":1,"564":1}}],["migrated",{"2":{"493":1,"559":1}}],["migrations",{"2":{"563":2}}],["migration",{"0":{"555":1},"1":{"556":1,"557":1,"558":1,"559":1},"2":{"484":1,"552":1,"553":1,"555":1,"559":1}}],["migrating",{"0":{"563":1},"2":{"481":1}}],["might",{"2":{"146":1,"529":1}}],["mime",{"2":{"453":1}}],["misses",{"2":{"450":1}}],["missing",{"2":{"17":1,"255":1,"296":1,"396":1}}],["mid",{"2":{"441":1}}],["minio",{"2":{"427":1,"457":1,"459":1}}],["minimize",{"2":{"427":1}}],["minimal",{"2":{"252":1}}],["minimum",{"2":{"200":1,"239":1,"333":1}}],["minutes",{"2":{"50":1,"437":1,"526":1}}],["minute",{"2":{"49":1,"51":1}}],["mirroring",{"2":{"122":1}}],["millions",{"2":{"81":1}}],["milliseconds",{"2":{"51":1,"80":1,"526":1}}],["microsoft",{"0":{"474":1,"494":1,"497":1},"1":{"495":1,"496":1,"497":1,"498":1,"499":1,"500":1,"501":1},"2":{"1":1,"33":1,"426":1,"427":1,"429":1,"447":1,"474":2,"476":1,"484":1,"487":1,"494":3,"495":1,"496":1,"497":2,"498":1,"500":2,"501":2,"511":1,"530":1}}],["master",{"2":{"519":1,"524":2,"554":2,"556":2,"558":2}}],["mass",{"2":{"250":1}}],["machine",{"2":{"515":3,"516":1,"517":1,"535":1}}],["mammoth",{"2":{"443":1,"453":1}}],["major",{"2":{"426":1,"552":1,"564":1}}],["mark",{"2":{"280":1}}],["marked",{"2":{"210":1,"272":1,"304":1,"540":1,"553":1}}],["mapdbpolicytotype",{"2":{"388":1}}],["mapped",{"2":{"388":1,"558":1}}],["mapping",{"2":{"266":1}}],["map",{"2":{"246":1,"266":1}}],["matters",{"2":{"318":1}}],["matter",{"2":{"165":2,"175":1,"183":1,"265":2}}],["matches",{"2":{"261":1,"333":1,"334":1,"356":1,"364":1,"372":1,"376":1,"377":1,"385":1,"393":1,"395":2,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1,"539":1}}],["matched",{"2":{"123":1,"168":1,"347":2,"364":1,"383":1,"393":2,"488":1}}],["matchingpolicyids",{"2":{"347":2,"364":1,"393":1}}],["matchingstrategy",{"2":{"120":1,"121":1,"122":1,"144":1}}],["matching",{"2":{"117":1,"120":1,"156":1,"176":1,"182":1,"233":1,"250":1,"265":2,"275":1,"333":1,"344":1,"347":1,"352":1,"354":1,"356":1,"364":3,"367":1,"372":1,"374":1,"383":3,"385":1,"393":1,"397":3}}],["match",{"0":{"397":1},"2":{"81":2,"88":2,"120":1,"155":1,"334":7,"335":2,"339":1,"354":1,"356":1,"376":2,"377":8,"383":1,"393":2,"396":2,"397":1,"423":1,"539":1,"540":1,"549":1}}],["may",{"2":{"88":1,"132":1,"144":1,"305":1,"469":1,"473":1,"475":1,"513":1,"541":1,"546":2,"547":1,"548":1,"553":1,"558":1}}],["manually",{"2":{"165":1,"268":1,"475":1,"517":1,"553":1,"564":1}}],["manual",{"2":{"146":1,"173":1,"231":1,"267":1,"274":1,"351":1,"370":1,"409":1,"552":1,"563":1}}],["managing",{"2":{"97":1,"192":1,"326":1,"400":1}}],["managed",{"2":{"521":1}}],["manager",{"2":{"499":1}}],["manageable",{"2":{"81":1,"249":1}}],["manages",{"2":{"32":3}}],["management",{"0":{"98":1,"175":1,"183":1,"193":1,"244":1,"252":1,"311":1,"416":1,"451":1},"1":{"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"245":1,"246":1},"2":{"24":2,"145":1,"178":1,"184":1,"230":1,"252":1,"282":1,"290":1,"325":2,"349":1,"357":1,"358":1,"371":1}}],["manage",{"2":{"2":1,"24":2,"33":1,"45":1,"52":1,"56":1,"63":2,"99":1,"101":1,"104":1,"108":1,"113":1,"117":1,"124":1,"133":1,"139":1,"164":6,"178":2,"194":1,"196":1,"199":1,"203":1,"208":1,"276":1,"311":2,"325":1,"326":1,"327":1,"329":1,"332":1,"337":1,"341":1,"344":1,"357":1,"399":1,"402":1,"416":2,"418":1,"419":3,"421":1,"427":1,"505":1,"508":1,"532":1,"533":1}}],["many",{"0":{"174":2},"2":{"49":1,"50":1,"147":1,"156":1,"158":1,"470":1,"472":1}}],["make",{"2":{"49":1,"339":2,"449":1,"491":1,"529":1,"532":1,"535":1}}],["making",{"2":{"31":1,"243":1,"381":1,"420":1,"442":1,"533":1,"551":1}}],["mail",{"2":{"471":1,"496":1,"498":1}}],["mailboxes",{"2":{"435":5,"439":1,"441":1,"494":1,"498":1,"501":1,"502":1,"510":2}}],["mailbox",{"0":{"423":1},"2":{"45":1,"433":1,"434":4,"435":1,"436":2,"437":1,"438":1,"439":1,"475":1,"484":1,"510":1}}],["maintain",{"2":{"317":1,"427":1}}],["maintaining",{"2":{"48":1}}],["main",{"2":{"32":1,"84":1,"147":1,"168":1,"292":1,"372":1,"443":1,"471":1,"472":2,"475":1,"496":1,"497":1,"504":1,"509":1}}],["maximum",{"2":{"51":1,"52":1,"149":2,"294":2,"334":1,"445":2,"525":1,"526":1}}],["max",{"0":{"354":1},"2":{"17":1,"51":1,"105":2,"110":2,"144":1,"200":2,"229":1,"333":2,"334":1,"345":4,"354":1,"377":1,"393":2,"397":1,"398":8,"526":1}}],["ps",{"2":{"528":1,"556":1}}],["pst",{"0":{"511":1,"512":1,"513":1},"1":{"512":1,"513":1},"2":{"61":1,"407":2,"409":1,"476":1,"481":1,"484":1,"487":1,"511":1,"512":4,"513":6}}],["p",{"2":{"517":1}}],["physically",{"2":{"482":1,"486":1}}],["png",{"2":{"447":1}}],["pptx",{"2":{"447":1}}],["ppt",{"2":{"447":1}}],["pieces",{"2":{"500":1}}],["picks",{"2":{"487":1}}],["picked",{"2":{"437":1}}],["pipeline",{"0":{"173":1},"2":{"173":1}}],["pdf2json",{"2":{"443":1,"453":1}}],["pdfs",{"2":{"442":1}}],["pdf",{"2":{"345":1,"346":1,"364":1,"382":1,"395":1,"427":1,"443":1,"447":1,"448":2,"453":1,"527":1}}],["pk",{"2":{"186":1,"284":1,"385":1}}],["pencil",{"2":{"379":1,"507":1}}],["pending",{"2":{"171":1}}],["person",{"2":{"529":1}}],["personal",{"2":{"471":1}}],["persistent",{"2":{"528":1}}],["persisted",{"2":{"177":1,"520":1}}],["permitted",{"2":{"508":1}}],["permit",{"2":{"507":1}}],["permission",{"0":{"325":1},"2":{"6":1,"18":1,"24":2,"45":1,"56":1,"59":1,"63":1,"99":1,"101":1,"104":1,"108":1,"113":1,"117":1,"124":1,"129":1,"133":1,"139":1,"164":1,"178":3,"194":1,"196":1,"199":1,"203":1,"208":1,"214":1,"218":1,"224":1,"276":2,"307":1,"310":1,"311":2,"312":2,"326":1,"327":1,"329":1,"332":1,"337":1,"341":1,"344":1,"357":1,"401":2,"404":1,"414":2,"416":1,"419":1,"494":1,"498":1,"502":1,"517":1,"540":1}}],["permissions",{"0":{"164":1,"310":1,"416":1,"498":1},"1":{"311":1,"312":1},"2":{"2":1,"72":1,"97":1,"192":1,"239":2,"252":1,"267":1,"289":1,"325":2,"399":1,"401":1,"402":1,"413":2,"416":1,"496":1,"498":10,"504":1,"507":2,"517":1,"541":1}}],["permanent",{"2":{"319":1,"383":1,"426":1}}],["permanently",{"2":{"113":1,"152":1,"153":1,"175":1,"210":1,"303":1,"333":1,"335":1,"341":1,"347":2,"349":1,"359":1,"385":1,"393":1}}],["performing",{"2":{"475":1,"547":1}}],["perform",{"2":{"427":1,"554":1}}],["performance",{"0":{"257":1},"1":{"258":1,"259":1},"2":{"427":1,"443":1,"450":1}}],["performed",{"2":{"84":2,"95":1,"401":2,"452":1,"496":1}}],["performs",{"2":{"80":1,"444":1}}],["per",{"0":{"128":1,"159":1,"271":1,"309":1,"364":1},"1":{"129":1,"130":1,"131":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"160":1,"161":1,"162":1,"163":1},"2":{"49":2,"51":1,"74":1,"145":1,"156":2,"184":1,"190":1,"191":1,"201":1,"285":1,"328":1,"334":1,"368":1,"375":1,"398":1,"434":2,"438":1,"439":1}}],["periodically",{"2":{"249":1,"320":1,"359":1,"475":1,"510":1}}],["periods",{"0":{"319":1},"2":{"127":1,"158":1,"233":1,"234":1,"236":1,"237":1,"245":1,"246":1,"268":1,"278":1,"279":1,"280":1,"281":1,"291":1,"295":1,"317":1,"319":1}}],["period",{"0":{"273":1,"299":1,"322":1},"2":{"17":1,"152":1,"162":1,"175":1,"181":1,"207":1,"228":1,"229":1,"264":1,"270":1,"273":1,"275":1,"284":1,"292":1,"294":1,"295":3,"298":1,"299":2,"307":1,"318":1,"322":2,"333":1,"344":1,"347":1,"351":1,"354":1,"359":1,"364":1,"372":1,"374":1,"383":3,"385":1,"387":1,"393":1,"398":1,"484":1}}],["pull",{"2":{"430":2,"528":1,"531":4,"557":3,"562":4}}],["purposes",{"2":{"354":1}}],["purpose",{"2":{"90":1,"284":1,"294":1,"317":1,"320":1,"374":1,"433":1,"455":1}}],["put",{"0":{"463":1},"2":{"56":1,"108":2,"115":1,"203":2,"337":2,"461":1,"469":1,"479":1,"513":1}}],["public",{"2":{"56":1,"236":1,"523":2,"546":1,"549":1,"550":1}}],["plain",{"2":{"442":1,"447":1,"448":1,"453":1}}],["platforms",{"2":{"426":1}}],["platform",{"2":{"425":1,"426":1}}],["placeholder",{"2":{"415":2,"519":1}}],["placeholders",{"0":{"415":1}}],["place",{"2":{"180":1,"427":1,"469":1,"479":1,"513":1}}],["placed",{"2":{"156":1,"174":1,"186":1}}],["plus",{"2":{"293":1}}],["pluggable",{"0":{"454":1},"1":{"455":1,"456":1,"457":1,"458":1,"459":1,"460":1,"461":1,"462":1,"463":1,"464":1,"465":1,"466":1},"2":{"1":1,"427":1}}],["please",{"2":{"50":1,"430":3,"447":1,"472":1,"475":1,"512":1,"553":2,"559":1,"564":1}}],["pane",{"2":{"497":1,"498":1,"499":1}}],["pair",{"2":{"406":1,"481":1}}],["pattern",{"0":{"248":1,"249":1,"250":1},"2":{"334":1,"413":1,"438":1}}],["patterns",{"0":{"247":1},"1":{"248":1,"249":1,"250":1},"2":{"237":1,"317":1,"356":1,"397":1}}],["path=",{"2":{"458":1,"519":1}}],["path",{"0":{"102":1,"109":1,"114":1,"118":1,"125":1,"130":1,"134":1,"140":1,"197":1,"204":1,"209":1,"215":1,"219":1,"225":1,"330":1,"338":1,"342":1,"463":1,"464":1,"465":1,"466":1},"2":{"458":4,"459":2,"461":1,"463":3,"464":3,"465":1,"466":1,"469":11,"479":11,"483":1,"513":11,"517":2,"519":3,"525":4,"534":2}}],["parsers",{"2":{"527":1}}],["parsed",{"2":{"439":1}}],["parallel",{"2":{"438":1,"439":1,"451":1}}],["parameter",{"2":{"74":1,"102":1,"109":1,"114":1,"118":1,"125":1,"130":1,"134":1,"140":1,"197":1,"204":1,"209":1,"215":1,"219":1,"225":1,"330":1,"338":1,"342":1}}],["parameters",{"0":{"74":1,"102":1,"109":1,"114":1,"118":1,"125":1,"130":1,"134":1,"140":1,"197":1,"204":1,"209":1,"215":1,"219":1,"225":1,"330":1,"338":1,"342":1}}],["parent",{"2":{"435":2,"482":1}}],["parts",{"2":{"496":1,"504":1}}],["partial",{"2":{"437":1,"441":1}}],["partially",{"2":{"390":1}}],["participants",{"2":{"265":1}}],["participant",{"2":{"237":1}}],["particularly",{"2":{"291":1}}],["particular",{"2":{"237":1}}],["part",{"0":{"497":1,"498":1,"499":1,"500":1,"505":1,"508":1,"509":1},"2":{"252":1,"505":2,"507":1,"509":1,"534":1}}],["payment",{"2":{"233":1}}],["paste",{"2":{"473":1,"500":1,"508":2,"509":1}}],["past",{"2":{"92":1}}],["passing",{"2":{"398":1}}],["passes",{"2":{"364":1,"395":2}}],["passed",{"2":{"61":1}}],["pass",{"2":{"15":1,"16":1,"120":1,"394":2,"554":1}}],["passwords",{"2":{"472":1,"473":1,"474":1,"494":1,"502":1}}],["password",{"0":{"71":1,"472":1,"473":1,"474":1},"1":{"473":1,"474":1},"2":{"15":1,"471":2,"472":5,"473":5,"474":6,"475":1,"496":1,"499":3,"512":3,"519":4,"524":6}}],["packages",{"2":{"78":1,"82":1,"184":9,"282":6,"358":8,"360":1,"384":1,"385":1,"443":1,"449":1}}],["pagination",{"0":{"86":1},"2":{"86":1,"363":1}}],["paginated",{"2":{"73":1}}],["pages",{"0":{"289":1},"2":{"117":1,"156":1,"176":1,"282":1,"289":1,"306":1,"546":1}}],["page",{"0":{"307":1},"2":{"74":3,"75":1,"84":1,"145":1,"147":1,"150":1,"156":2,"160":1,"163":1,"165":1,"168":1,"170":2,"184":2,"282":2,"292":1,"358":2,"372":1,"469":1,"471":1,"475":1,"479":1,"485":1,"497":2,"498":1,"500":3,"507":1,"509":1,"513":1,"529":3,"561":1}}],["paused",{"2":{"370":1,"475":1}}],["pause",{"0":{"40":1},"2":{"475":1}}],["practical",{"2":{"483":1}}],["practices",{"0":{"256":1,"316":1},"1":{"317":1,"318":1,"319":1,"320":1},"2":{"252":1}}],["practice",{"2":{"52":1}}],["private",{"2":{"505":1}}],["privileges",{"2":{"503":1,"526":1}}],["principle",{"2":{"483":1}}],["principles",{"0":{"91":1,"172":1,"269":1,"350":1},"1":{"92":1,"93":1,"94":1,"95":1,"96":1,"173":1,"174":1,"175":1,"176":1,"177":1,"270":1,"271":1,"272":1,"273":1,"274":1,"275":1,"351":1,"352":1,"353":1,"354":1,"355":1,"356":1},"2":{"91":1}}],["priority",{"0":{"354":1},"2":{"146":1,"275":1,"327":1,"328":1,"333":2,"335":1,"354":1,"372":4,"374":2,"385":3,"387":1,"388":1,"398":1}}],["primary",{"2":{"90":1,"176":1,"187":1,"285":1,"393":1,"443":1,"444":1,"455":1,"482":1}}],["prerequisite",{"2":{"553":1}}],["prerequisites",{"0":{"495":1,"503":1,"515":1}}],["prepare",{"2":{"512":1}}],["preparing",{"0":{"468":1,"512":1}}],["prepends",{"2":{"396":1}}],["pressure",{"2":{"439":1,"440":1}}],["present",{"2":{"390":1,"480":1}}],["preserving",{"2":{"291":1}}],["preserveoriginalfile",{"2":{"483":1,"489":1}}],["preserve",{"0":{"489":1},"2":{"234":1,"235":1,"295":1,"324":1,"480":1,"483":1,"489":2}}],["preserves",{"2":{"210":1}}],["preserved",{"2":{"165":1,"265":1,"279":1,"437":1,"468":1,"512":1}}],["preservation",{"0":{"176":1,"235":1},"2":{"100":1,"106":1,"154":1,"176":1,"177":1,"181":1,"281":1}}],["prefix",{"2":{"334":1,"377":1}}],["prefixed",{"2":{"30":1}}],["pre",{"2":{"246":1,"379":1,"396":1}}],["prevents",{"2":{"299":1,"436":1}}],["preventing",{"2":{"210":1,"507":1}}],["prevent",{"2":{"171":1,"273":1,"380":1,"397":1,"416":1,"427":1,"445":1,"451":1,"453":1,"499":1,"517":1,"559":1}}],["previously",{"2":{"493":1}}],["previous",{"2":{"89":1,"92":1,"309":1,"500":1}}],["previoushash",{"2":{"75":1,"81":1,"88":1}}],["preview",{"2":{"84":1,"156":1,"168":1}}],["precise",{"2":{"352":1}}],["precision",{"2":{"80":1}}],["precedence",{"0":{"173":1},"2":{"173":1,"270":1,"287":1,"414":1}}],["preceding",{"2":{"81":1,"88":1,"92":1}}],["production",{"2":{"549":1,"553":1}}],["produces",{"2":{"367":1}}],["proxy",{"2":{"533":1,"549":1,"551":1}}],["protocol",{"2":{"470":1,"549":1}}],["protections",{"2":{"397":1}}],["protection",{"2":{"143":1,"153":1,"156":1,"175":1,"236":1,"349":1,"512":1}}],["protect",{"2":{"48":1,"153":1,"162":1}}],["protected",{"2":{"31":1,"112":1,"127":1,"156":1,"158":1,"175":1,"399":1,"512":1}}],["promise",{"2":{"461":1,"462":1,"463":2,"464":2,"465":3,"466":2}}],["progress",{"2":{"451":1}}],["programmatically",{"2":{"231":1,"268":1}}],["programmatic",{"2":{"2":1}}],["pronged",{"2":{"443":1}}],["problematic",{"2":{"365":1}}],["problem",{"2":{"322":1,"323":1,"324":1,"325":1,"540":1}}],["proper",{"2":{"267":1}}],["property",{"2":{"80":2,"295":1}}],["procedures",{"2":{"320":1}}],["proceed",{"2":{"305":1,"533":1,"553":1,"557":1}}],["proceeds",{"2":{"158":1}}],["processed",{"2":{"363":1,"441":1,"450":1,"453":3}}],["processes",{"2":{"81":1,"93":1,"117":1,"266":1,"351":1,"363":1,"432":3}}],["processing",{"0":{"248":1,"249":1,"264":1,"363":1,"364":1},"2":{"81":1,"217":1,"227":1,"256":1,"259":2,"356":1,"365":2,"436":1,"445":1,"450":2,"451":1}}],["process",{"0":{"81":1,"300":1,"308":1,"555":1},"1":{"556":1,"557":1,"558":1,"559":1},"2":{"45":1,"76":1,"81":1,"84":1,"87":2,"92":1,"94":1,"96":1,"249":2,"258":1,"368":1,"430":1,"433":1,"434":2,"435":1,"436":1,"438":1,"439":2,"447":1,"469":1,"477":1,"496":1,"501":1,"504":1,"510":1,"513":1,"537":1,"552":2,"553":2,"555":1,"556":1,"557":1,"564":1}}],["projects",{"2":{"237":1,"281":1}}],["project",{"0":{"237":1,"281":1},"2":{"100":1,"106":1,"121":1,"122":1,"131":1,"137":1,"149":1,"180":1,"237":4,"250":1,"295":2,"505":4,"507":4,"534":3,"535":1}}],["providing",{"2":{"95":1,"153":1}}],["provided",{"2":{"108":1,"110":1,"143":1,"144":1,"147":1,"205":1,"228":1,"292":1,"339":1,"347":1,"383":1,"475":1,"519":1}}],["provider",{"2":{"375":1,"407":1,"409":1,"429":1,"457":1,"459":1,"460":1,"469":1,"470":1,"471":3,"472":1,"476":1,"482":1,"483":1,"484":1,"485":1,"488":1,"500":1,"509":1,"513":1}}],["providerconfig",{"2":{"61":1}}],["providers",{"0":{"476":1},"2":{"1":1,"33":1,"441":1,"455":2,"460":1,"472":1,"476":1,"481":1}}],["provides",{"2":{"30":1,"32":1,"83":1,"145":1,"171":1,"180":1,"268":1,"290":1,"354":1,"371":1,"386":1,"400":1,"404":1,"426":1,"449":1,"455":1,"476":1,"494":1,"502":1,"538":1,"560":1}}],["provide",{"2":{"17":1,"90":1,"289":1,"291":1,"318":1,"406":1,"456":1,"458":1,"459":1,"460":1,"509":1,"546":1}}],["proof",{"2":{"90":1,"122":1,"156":1,"177":1,"180":1,"426":1}}],["profiles",{"2":{"498":1}}],["profile",{"0":{"69":1,"70":1}}],["point",{"2":{"521":1,"553":1}}],["points",{"0":{"188":1,"286":1},"1":{"189":1,"190":1,"191":1,"287":1,"288":1,"289":1}}],["potential",{"2":{"517":1,"532":1}}],["potentially",{"2":{"154":1}}],["portuguese",{"2":{"544":1}}],["port",{"2":{"471":2,"475":1,"521":1,"523":4,"524":2,"549":1,"551":1}}],["portable",{"2":{"447":1}}],["powerful",{"2":{"427":1,"443":1}}],["power",{"2":{"404":1}}],["powered",{"2":{"54":1}}],["polling",{"2":{"248":1}}],["policies",{"0":{"327":1,"415":1},"1":{"328":1},"2":{"112":1,"146":1,"175":1,"182":1,"235":1,"266":1,"268":1,"270":1,"291":1,"318":1,"326":1,"327":2,"329":1,"332":1,"337":1,"341":1,"344":2,"347":2,"349":1,"351":1,"352":1,"353":1,"354":1,"355":1,"358":3,"359":1,"364":2,"367":1,"371":2,"372":3,"381":1,"383":4,"384":2,"385":1,"388":1,"392":1,"393":4,"400":1,"401":1,"402":1,"403":1,"414":1,"415":1,"427":1,"507":1}}],["policyevaluationrequest",{"2":{"364":1}}],["policy",{"0":{"326":1,"329":1,"332":1,"337":1,"341":1,"344":1,"349":1,"351":1,"359":1,"371":1,"372":1,"373":1,"378":1,"379":1,"380":1,"381":1,"384":1,"400":1,"401":1,"414":1,"417":1},"1":{"327":1,"328":1,"329":1,"330":2,"331":2,"332":1,"333":2,"334":2,"335":2,"336":2,"337":1,"338":2,"339":2,"340":2,"341":1,"342":2,"343":2,"344":1,"345":2,"346":2,"347":2,"348":2,"350":1,"351":1,"352":1,"353":1,"354":1,"355":1,"356":1,"357":1,"358":1,"360":1,"361":1,"362":1,"363":1,"364":1,"365":1,"366":1,"367":1,"368":1,"369":1,"370":1,"372":1,"373":1,"374":2,"375":2,"376":2,"377":2,"378":2,"379":1,"380":1,"381":1,"382":2,"383":2,"385":1,"386":1,"387":1,"388":1,"389":1,"390":1,"391":1,"392":1,"393":1,"394":1,"395":1,"396":1,"397":1,"398":1,"399":1,"401":1,"402":1,"403":1,"404":1,"405":1,"406":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1,"413":1,"414":1,"415":2,"416":1,"417":1,"418":2,"419":2,"420":2,"421":2,"422":2,"423":2},"2":{"24":1,"93":1,"163":1,"173":2,"192":2,"231":1,"241":1,"242":1,"245":1,"267":1,"270":1,"275":1,"276":1,"280":1,"282":4,"287":1,"326":4,"329":1,"330":1,"331":1,"332":2,"333":3,"336":2,"337":1,"338":1,"339":2,"340":2,"341":1,"342":1,"343":2,"344":1,"347":1,"349":1,"351":1,"352":2,"353":2,"354":2,"355":1,"356":1,"357":3,"358":8,"359":1,"364":4,"367":1,"371":1,"372":7,"373":1,"374":3,"375":2,"376":2,"378":2,"379":2,"380":3,"381":1,"383":2,"384":2,"385":2,"387":2,"389":1,"390":2,"391":3,"392":1,"393":4,"398":2,"399":4,"401":1,"413":1,"418":1,"419":1,"420":1,"421":1,"422":1,"423":1,"507":9,"548":1,"551":1}}],["possible",{"2":{"258":1}}],["positive",{"2":{"229":1,"333":1,"374":1,"398":2}}],["postgres",{"2":{"515":1,"519":1,"521":1,"524":4,"533":1}}],["postgresql",{"2":{"404":1,"435":2,"521":1,"524":5}}],["post",{"0":{"248":1},"2":{"15":1,"76":2,"104":2,"117":2,"124":2,"133":2,"199":2,"218":2,"242":1,"332":2,"344":2,"556":2}}],["popular",{"2":{"476":1}}],["populated",{"2":{"379":1}}],["pop",{"2":{"84":1}}],["snapshots",{"2":{"553":1}}],["snapshot",{"2":{"553":2}}],["sdk",{"2":{"505":1,"510":1}}],["switch",{"2":{"455":1,"535":1}}],["skips",{"2":{"437":1}}],["skipped",{"2":{"156":1,"190":1,"364":1,"393":1,"441":1,"445":1,"488":1}}],["small",{"2":{"463":1,"532":1}}],["smaller",{"2":{"292":1,"469":1,"513":1}}],["smart",{"0":{"302":1},"1":{"303":1,"304":1}}],["sveltekit",{"2":{"184":1,"282":1,"358":1,"523":1,"549":1,"550":1}}],["sql",{"2":{"173":1}}],["spanish",{"2":{"544":1}}],["span",{"2":{"486":1}}],["spreadsheetml",{"2":{"448":1,"453":1}}],["spoliation",{"2":{"171":1}}],["special",{"0":{"416":1}}],["specialized",{"2":{"95":1,"318":1}}],["specify",{"2":{"270":1,"456":1}}],["specified",{"2":{"97":1,"192":1,"255":1,"404":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1,"463":1,"464":2}}],["specifically",{"2":{"533":1}}],["specific",{"0":{"133":1,"139":1,"160":1,"161":1,"162":1,"281":1,"422":1,"423":1,"535":1},"1":{"134":1,"135":1,"136":1,"137":1,"138":1,"140":1,"141":1,"142":1},"2":{"49":1,"94":1,"95":1,"129":1,"139":2,"146":1,"162":1,"164":1,"165":1,"178":1,"180":1,"181":1,"214":1,"234":1,"237":2,"240":1,"246":1,"250":2,"265":1,"268":1,"270":1,"274":1,"278":1,"280":1,"281":1,"291":1,"318":1,"333":1,"352":1,"353":1,"356":1,"365":1,"367":1,"382":1,"408":1,"409":1,"413":4,"415":1,"417":1,"422":1,"423":2,"451":1,"471":1,"472":2,"488":1,"490":1,"496":1,"498":1,"507":1,"535":1,"550":1,"552":1}}],["saving",{"2":{"450":1}}],["saved",{"2":{"500":1,"501":1,"510":1,"535":2}}],["save",{"0":{"535":1},"2":{"300":1,"471":2,"475":1,"500":2,"509":2,"533":1,"535":1}}],["satisfy",{"2":{"404":1}}],["satisfying",{"2":{"177":1}}],["sample",{"2":{"267":1}}],["same",{"2":{"2":1,"80":2,"81":1,"103":1,"133":2,"139":1,"161":1,"175":1,"198":1,"296":1,"331":1,"379":1,"434":1,"450":2,"451":2,"486":1,"488":1,"499":1,"548":1}}],["safeguards",{"0":{"397":1}}],["safety",{"2":{"280":1,"396":1}}],["safe",{"0":{"356":1},"2":{"117":1,"189":1,"383":1}}],["site",{"2":{"548":1}}],["signatures",{"2":{"537":3}}],["signature",{"2":{"537":1,"539":4}}],["signing",{"2":{"519":1,"526":1}}],["significant",{"2":{"82":1,"83":1,"90":1,"93":1,"450":1,"501":1,"510":1}}],["signed",{"2":{"498":1}}],["sign",{"2":{"473":1,"474":1,"497":1}}],["sides",{"2":{"395":1}}],["side",{"2":{"356":1}}],["sizes",{"2":{"258":1,"439":1}}],["size",{"0":{"445":1},"2":{"176":1,"363":2,"368":1,"445":3,"453":1,"469":1,"475":1,"510":1,"513":1,"525":2,"558":1}}],["simplify",{"2":{"532":1}}],["simple",{"2":{"406":1,"414":1,"450":1}}],["simply",{"2":{"153":1,"472":1}}],["simulate",{"2":{"381":1}}],["simulation",{"2":{"344":1,"358":1,"381":1}}],["simulating",{"2":{"326":1,"371":1}}],["simulator",{"0":{"344":1,"381":1,"382":1,"383":1},"1":{"345":1,"346":1,"347":1,"348":1,"382":1,"383":1},"2":{"383":2,"392":1}}],["simultaneously",{"2":{"174":1,"451":1}}],["similar",{"2":{"163":1,"177":1,"548":1}}],["since",{"2":{"80":1,"526":1,"535":1,"537":1,"539":1}}],["single",{"0":{"8":1},"2":{"101":1,"103":1,"124":1,"133":1,"154":1,"158":1,"174":1,"176":1,"183":1,"196":1,"198":1,"329":1,"331":1,"354":1,"365":1,"389":1,"395":1,"401":3,"404":1,"423":1,"478":1,"497":1}}],["src",{"2":{"78":1,"82":1,"184":9,"282":6,"358":8,"360":1,"384":1,"385":1,"443":1,"449":1}}],["sovereign",{"2":{"426":1}}],["something",{"2":{"529":1,"534":1}}],["sometimes",{"2":{"472":1}}],["some",{"2":{"256":1,"441":1,"469":1,"480":1,"513":1,"541":1,"558":1}}],["soft",{"0":{"304":1},"2":{"210":1,"272":1}}],["solution",{"0":{"550":1},"1":{"551":1},"2":{"167":1,"168":2,"169":1,"322":1,"323":1,"324":1,"325":1,"426":1,"550":1}}],["solely",{"2":{"112":1,"127":1,"152":1,"158":1,"175":1}}],["so",{"2":{"117":1,"191":1,"205":1,"364":1,"468":1,"481":1,"484":1,"512":1,"521":1}}],["sort=archivedat",{"2":{"240":1}}],["sorted",{"2":{"85":1,"147":1,"292":1,"372":1}}],["sorts",{"2":{"80":1}}],["sort",{"2":{"74":2}}],["sorting",{"0":{"85":1},"2":{"73":1}}],["source",{"0":{"7":1,"21":1,"34":1,"36":1,"37":1,"38":1,"40":1,"42":1,"429":1,"469":1,"485":1,"491":1,"513":1},"2":{"61":2,"94":1,"333":1,"345":1,"353":1,"364":1,"372":1,"375":2,"382":2,"385":1,"406":1,"413":1,"423":2,"426":1,"434":1,"435":1,"437":3,"441":1,"469":1,"470":1,"471":3,"473":1,"474":1,"475":1,"479":1,"482":7,"483":3,"485":5,"486":3,"487":2,"489":2,"490":2,"491":5,"492":3,"493":2,"500":2,"509":2,"513":1}}],["sources",{"0":{"35":1,"422":1,"481":1,"484":1,"489":1,"490":1,"492":1},"1":{"482":1,"483":1,"484":1,"485":1,"486":1,"487":1,"488":1,"489":1,"490":1,"491":1,"492":1,"493":1},"2":{"1":1,"32":1,"33":1,"333":1,"339":1,"353":2,"372":2,"375":4,"382":1,"385":1,"403":1,"407":1,"408":1,"409":1,"413":1,"419":2,"421":1,"422":1,"429":1,"435":1,"467":1,"469":1,"471":1,"475":1,"476":2,"481":1,"483":3,"487":2,"489":1,"493":2,"500":2,"509":2,"511":1,"513":1,"526":1,"530":1}}],["s3storageprovider",{"2":{"460":1}}],["s3",{"0":{"459":1},"2":{"59":1,"427":2,"455":1,"457":2,"459":18,"461":1,"520":5,"525":18}}],["symptoms",{"0":{"548":1}}],["syntax",{"2":{"397":1,"523":1}}],["synthetic",{"2":{"366":1}}],["synced",{"2":{"487":1}}],["syncing",{"0":{"487":1},"2":{"523":1}}],["synchronization",{"2":{"427":1}}],["synchronize",{"2":{"402":1}}],["sync",{"0":{"41":1,"435":1},"1":{"436":1,"437":1},"2":{"45":5,"402":2,"431":1,"433":4,"434":4,"435":8,"437":4,"438":2,"439":1,"441":2,"475":1,"487":3,"492":1,"501":1,"510":1,"523":1,"545":1,"550":1}}],["syncsessionservice",{"2":{"437":1}}],["syncstate",{"2":{"435":1}}],["syncs",{"0":{"22":1},"2":{"487":1}}],["systemdelete",{"2":{"364":1,"370":1}}],["systems",{"2":{"231":1,"236":1,"239":1,"252":2}}],["system",{"0":{"57":1,"58":1,"264":1,"366":1,"542":1},"1":{"543":1,"544":1,"545":1,"546":1},"2":{"53":1,"56":1,"83":2,"84":1,"90":1,"93":2,"94":1,"95":1,"156":1,"175":1,"176":1,"187":1,"199":1,"261":1,"262":1,"264":1,"266":2,"272":1,"299":1,"300":1,"302":1,"303":1,"308":1,"325":1,"332":1,"354":1,"356":1,"366":5,"367":1,"370":2,"403":1,"404":1,"414":1,"417":1,"427":2,"431":1,"432":1,"435":1,"443":1,"444":1,"475":5,"482":1,"487":1,"501":3,"510":3,"526":1,"534":2,"540":1,"542":1,"545":3}}],["s",{"0":{"214":1},"1":{"215":1,"216":1,"217":1},"2":{"53":1,"79":1,"80":1,"82":1,"84":1,"92":1,"94":1,"145":1,"147":2,"151":1,"155":2,"156":1,"160":1,"165":2,"169":1,"180":1,"241":1,"270":1,"275":1,"284":1,"287":1,"294":1,"299":1,"305":1,"308":1,"315":1,"319":1,"364":2,"372":1,"374":1,"379":1,"380":1,"391":1,"393":1,"401":2,"404":1,"420":1,"435":3,"443":1,"446":2,"450":1,"455":1,"457":1,"464":1,"468":1,"469":1,"471":1,"472":1,"478":1,"479":1,"483":10,"489":2,"491":1,"492":2,"497":1,"498":2,"499":2,"501":1,"508":1,"509":1,"510":1,"513":1,"523":1,"533":1,"534":3,"535":2,"537":2,"539":2,"540":1,"545":1,"548":2,"550":1,"551":2}}],["sheet",{"2":{"448":1,"453":1}}],["sharing",{"2":{"547":1}}],["shared",{"2":{"282":1,"358":1,"388":1}}],["sha256",{"2":{"537":1}}],["shape",{"2":{"103":1,"198":1,"331":1}}],["sha",{"2":{"43":1,"80":2,"92":1,"450":1}}],["show",{"2":{"296":1,"323":2,"483":1,"498":1,"501":1,"510":1}}],["showing",{"2":{"147":1,"160":1}}],["shows",{"0":{"170":1},"2":{"147":1,"156":1,"299":1,"305":1,"308":1,"322":1,"372":1}}],["shown",{"2":{"2":1,"17":1,"158":1,"482":1,"492":1}}],["should",{"2":{"52":1,"61":1,"460":1,"468":2,"498":1,"507":1,"512":1,"523":1,"526":1,"550":1,"551":2,"559":1}}],["short",{"2":{"15":1,"147":1}}],["screen",{"2":{"497":1}}],["scroll",{"2":{"474":1}}],["scripts",{"2":{"16":1}}],["scans",{"2":{"359":1}}],["scan",{"2":{"234":1}}],["scalable",{"2":{"81":1}}],["scenarios",{"0":{"255":1},"2":{"417":1,"559":1}}],["scenario",{"0":{"264":1,"265":1,"266":1},"2":{"233":1,"234":1,"235":1,"236":1,"237":1}}],["schemas",{"2":{"398":1}}],["schema",{"0":{"334":1,"385":1},"2":{"184":2,"282":2,"358":2,"385":1,"563":1}}],["scheduler",{"2":{"437":1,"441":1,"487":1}}],["schedulelifecyclejob",{"2":{"362":1}}],["schedules",{"2":{"273":1,"299":1}}],["scheduled",{"2":{"249":1,"362":1}}],["schedule",{"2":{"45":1,"304":1,"308":1,"351":1,"362":1,"433":1,"434":1,"437":1}}],["scheduling",{"0":{"362":1},"2":{"45":1,"438":1}}],["scopes",{"2":{"508":3}}],["scope",{"0":{"353":1,"375":1},"2":{"122":1,"156":1,"177":1,"333":1,"339":1,"345":1,"353":2,"372":2,"376":1,"382":1,"385":1,"387":1,"393":3,"398":1,"534":1}}],["scoped",{"2":{"2":1,"180":1,"353":1,"372":1,"483":1}}],["suspect",{"2":{"541":1}}],["suspend",{"2":{"146":1}}],["sure",{"2":{"529":1}}],["surfaces",{"2":{"191":1}}],["sudo",{"2":{"517":1}}],["suggesting",{"2":{"430":1}}],["summary",{"2":{"372":1}}],["summaries",{"0":{"21":1},"2":{"18":1}}],["suffix",{"2":{"334":1,"377":1}}],["sufficient",{"2":{"95":1}}],["subdirectories",{"2":{"458":1}}],["submission",{"2":{"383":1}}],["submitted",{"2":{"445":1}}],["submitting",{"2":{"430":1}}],["submit",{"2":{"165":1,"300":1,"430":1,"469":1,"485":1,"513":1}}],["subsequent",{"2":{"451":1}}],["subset",{"2":{"404":1}}],["subsets",{"2":{"352":1}}],["substring",{"2":{"334":1,"377":1}}],["subjects",{"0":{"403":1},"2":{"403":1,"417":1}}],["subject",{"2":{"155":1,"233":1,"237":1,"298":1,"334":2,"345":2,"346":1,"352":1,"364":2,"376":1,"382":2,"395":2,"398":1,"401":3,"402":1,"403":1,"404":1,"413":3,"416":1,"418":1,"419":4,"420":1,"421":1,"422":1,"423":2}}],["successful",{"2":{"468":1,"512":1}}],["successfully",{"2":{"77":1,"88":1,"115":1,"138":1,"141":1,"212":1,"223":1,"226":1,"243":1,"303":1,"304":1,"343":1,"463":1,"465":1,"530":1,"557":1}}],["success",{"0":{"296":1},"2":{"77":1,"88":2,"156":1,"158":1,"261":1,"296":2,"300":1,"303":1,"304":1}}],["such",{"2":{"45":1,"90":1,"93":1,"142":1,"152":1,"176":1,"442":1,"448":1,"471":1,"497":1,"499":1,"517":1}}],["suitable",{"2":{"420":1,"520":1}}],["suit",{"2":{"49":1}}],["suited",{"2":{"16":1}}],["supported",{"0":{"377":1,"405":1,"446":1},"1":{"406":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1,"447":1,"448":1},"2":{"334":2,"376":1,"405":1,"482":1,"493":1,"497":1,"544":1}}],["support",{"0":{"546":1},"2":{"73":1,"427":1,"443":1,"472":1,"478":1,"512":1,"546":2}}],["supports",{"2":{"14":1,"447":1,"470":1}}],["superior",{"2":{"443":1}}],["super",{"2":{"24":1,"45":1,"63":1,"416":2,"503":1,"509":1,"526":3}}],["semaphore",{"0":{"451":1},"2":{"451":1}}],["session",{"0":{"436":1,"437":1},"2":{"435":2,"436":2,"437":3,"441":1}}],["sessions",{"2":{"435":2}}],["self",{"2":{"426":1,"470":1,"555":1}}],["selector",{"2":{"507":1}}],["selected",{"2":{"375":1,"493":1,"505":1,"544":1}}],["selection",{"0":{"246":1},"2":{"314":1,"315":1}}],["select",{"2":{"17":1,"161":1,"308":1,"382":1,"469":2,"471":1,"473":1,"478":1,"479":1,"485":1,"497":1,"498":4,"499":2,"500":1,"505":2,"507":2,"509":1,"513":2}}],["several",{"2":{"417":1,"449":1,"471":1,"549":1}}],["serialized",{"2":{"385":1}}],["served",{"2":{"450":1}}],["serve",{"2":{"278":1}}],["servers",{"2":{"427":1,"439":1}}],["server",{"0":{"470":1},"1":{"471":1,"472":1,"473":1,"474":1,"475":1},"2":{"1":1,"117":1,"127":1,"187":1,"217":2,"227":2,"258":1,"429":1,"444":2,"451":2,"452":1,"457":1,"458":1,"471":2,"475":1,"476":1,"515":3,"523":1,"527":1,"530":1,"544":1,"549":1,"550":1,"551":1}}],["service",{"0":{"82":1,"431":1,"442":1,"454":1,"460":1,"524":1},"1":{"432":1,"433":1,"434":1,"435":1,"436":1,"437":1,"438":1,"439":1,"440":1,"441":1,"443":1,"444":1,"445":1,"446":1,"447":1,"448":1,"449":1,"450":1,"451":1,"452":1,"453":1,"455":1,"456":1,"457":1,"458":1,"459":1,"460":1,"461":2,"462":1,"463":1,"464":1,"465":1,"466":1},"2":{"1":1,"32":6,"48":1,"78":1,"82":1,"184":1,"282":1,"358":1,"384":1,"397":1,"398":1,"442":1,"444":1,"445":1,"446":1,"447":1,"450":2,"452":2,"455":1,"457":2,"458":1,"461":1,"471":1,"472":1,"494":1,"497":2,"498":1,"499":2,"501":1,"502":2,"504":1,"505":9,"507":1,"508":6,"509":2,"510":1,"519":1,"521":2,"523":2,"524":4,"529":1,"533":2,"535":1,"554":1,"556":1,"558":3,"559":1}}],["services",{"0":{"32":1,"424":1,"521":1},"2":{"1":1,"78":1,"82":1,"231":1,"449":1,"459":1,"460":1,"467":1,"470":1,"505":1,"521":3,"524":1,"528":2,"529":1,"531":1,"533":2,"557":1,"558":2,"559":1,"562":1}}],["separate",{"2":{"469":1,"479":1,"513":1}}],["separated",{"2":{"382":2,"508":1}}],["separately",{"2":{"151":1}}],["sensitive",{"2":{"519":1,"526":1}}],["sensitivity",{"2":{"236":1}}],["sending",{"2":{"440":1,"556":1}}],["send",{"2":{"339":2}}],["sender",{"2":{"155":2,"176":1,"334":2,"335":1,"345":2,"346":1,"352":1,"364":2,"376":1,"382":2,"395":2,"398":1}}],["sent",{"2":{"181":1,"468":1}}],["sentat",{"2":{"155":1,"364":1,"410":1,"411":1}}],["second",{"2":{"441":1,"453":1}}],["seconds",{"2":{"52":1,"181":1}}],["secrets",{"2":{"499":2}}],["secret",{"0":{"499":1},"2":{"252":1,"459":3,"496":1,"499":4,"500":3,"519":1,"525":2,"526":3}}],["secure",{"2":{"426":1,"427":1,"471":1,"494":1,"496":1,"497":1,"499":1,"502":1,"505":1,"519":2}}],["securely",{"2":{"239":1,"252":1}}],["security",{"0":{"251":1,"397":1,"472":1,"526":1},"1":{"252":1,"253":1,"473":1,"474":1},"2":{"48":2,"49":1,"91":1,"115":1,"252":1,"416":1,"472":1,"474":2,"499":1,"507":1,"508":1,"547":1}}],["sec",{"2":{"100":1,"131":1,"149":1,"489":1}}],["sections",{"2":{"373":1,"533":2}}],["section",{"2":{"30":1,"307":1,"375":1,"474":1,"476":1,"485":2,"505":1,"508":1,"535":1,"554":1,"558":1,"559":1}}],["searchable",{"2":{"442":1}}],["searching",{"2":{"426":1}}],["searchquery",{"0":{"120":1},"2":{"119":1,"121":1,"157":1,"177":1}}],["searches",{"2":{"93":1}}],["search",{"0":{"54":1,"55":1,"117":1,"155":1,"176":1},"1":{"55":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1},"2":{"32":2,"54":1,"120":1,"144":1,"154":1,"156":2,"165":1,"168":2,"176":1,"191":2,"240":2,"250":1,"259":1,"265":1,"307":1,"402":3,"420":2,"422":1,"423":2,"427":2,"481":1,"486":1,"492":1,"498":1,"505":1,"507":1,"552":2,"559":1,"564":1}}],["seeing",{"2":{"534":1}}],["see",{"2":{"31":1,"119":1,"147":1,"170":1,"307":2,"376":1,"396":1,"407":1,"423":1,"471":1,"472":1,"486":1,"498":1,"523":1,"529":1,"534":2,"540":1,"548":1,"556":1,"564":1}}],["sets",{"2":{"117":1}}],["set",{"2":{"110":1,"267":1,"344":1,"353":1,"390":1,"401":2,"437":1,"444":3,"453":1,"458":1,"459":2,"482":1,"483":1,"494":1,"499":1,"502":1,"517":2,"519":2,"520":1,"523":2,"525":1,"526":2,"527":1,"529":1,"550":3}}],["setting",{"2":{"51":1,"112":1,"364":1,"369":1,"370":3,"425":1,"483":3,"489":4,"514":1,"544":1,"545":1,"546":1,"550":1}}],["settings",{"0":{"56":1,"57":1,"58":1,"369":1,"523":1,"525":1,"542":1},"1":{"57":1,"58":1,"543":1,"544":1,"545":1,"546":1},"2":{"16":1,"17":1,"51":1,"53":1,"56":1,"403":2,"456":1,"518":1,"533":1,"535":1,"542":2}}],["setup",{"0":{"11":1,"13":1,"239":1,"496":1,"504":1,"505":1},"1":{"497":1,"498":1,"499":1,"500":1,"505":1,"506":1,"507":1,"508":1,"509":1},"2":{"10":2,"496":1,"504":1,"520":1,"529":2,"532":1}}],["stuck",{"2":{"436":1}}],["style=true",{"2":{"459":1}}],["style",{"0":{"404":1},"1":{"405":1,"406":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1},"2":{"459":1,"525":2}}],["stop",{"2":{"557":1}}],["stops",{"2":{"173":1}}],["storing",{"2":{"426":1,"455":1,"477":1}}],["stores",{"2":{"435":1,"463":1}}],["store",{"2":{"239":1,"252":1,"455":1,"480":1,"499":1,"517":1,"518":1,"534":1}}],["stored",{"0":{"534":1},"1":{"535":1},"2":{"43":1,"81":1,"87":1,"88":1,"96":1,"427":1,"458":1,"463":1,"482":2,"483":2,"485":1,"488":1,"489":1,"491":2,"492":2,"534":2,"537":3,"539":1,"540":1}}],["storageservice",{"0":{"454":1},"1":{"455":1,"456":1,"457":1,"458":1,"459":1,"460":1,"461":1,"462":1,"463":1,"464":1,"465":1,"466":1},"2":{"1":1,"455":1,"456":1,"460":2,"461":8,"462":1}}],["storage",{"0":{"59":1,"454":1,"459":1,"483":1,"517":1,"520":1,"525":1,"534":1},"1":{"60":1,"455":1,"456":1,"457":1,"458":1,"459":1,"460":1,"461":1,"462":1,"463":1,"464":1,"465":1,"466":1,"535":1},"2":{"1":1,"32":2,"59":1,"61":1,"189":1,"365":1,"427":5,"440":1,"455":4,"456":1,"457":5,"458":4,"459":16,"465":1,"469":3,"479":3,"483":2,"486":1,"492":1,"513":3,"519":4,"520":5,"525":20,"534":1,"540":3,"541":2}}],["still",{"2":{"167":1,"315":1,"465":1,"486":1}}],["step",{"0":{"239":1,"240":1,"241":1,"242":1,"243":1,"471":2,"556":1,"557":1,"558":1,"559":1},"2":{"115":1,"156":1,"173":4,"190":1,"473":2,"474":2,"498":1,"500":1,"517":1,"530":1}}],["steps",{"0":{"519":1,"530":1},"2":{"80":1,"81":1,"478":1,"541":1,"562":1}}],["strong",{"2":{"519":2}}],["strongly",{"2":{"471":1,"472":1}}],["stream",{"2":{"464":2}}],["strategic",{"2":{"235":1}}],["strategy",{"0":{"246":1},"2":{"52":1,"120":1}}],["stripping",{"2":{"489":1}}],["strict",{"2":{"90":1,"173":1}}],["strings",{"2":{"388":1,"396":1,"401":2}}],["stringification",{"2":{"80":1}}],["string",{"2":{"74":3,"80":2,"105":2,"110":2,"120":3,"144":1,"200":2,"333":4,"345":4,"347":2,"352":1,"364":1,"376":1,"395":1,"396":1,"401":2,"461":2,"463":1,"464":1,"465":1,"466":1,"519":3,"525":2,"526":1}}],["structured",{"2":{"95":1,"364":1,"461":1}}],["structure",{"0":{"401":1,"480":1},"2":{"80":1,"119":1,"401":1,"463":1,"468":4,"480":1,"512":3}}],["stays",{"2":{"501":1}}],["stay",{"2":{"493":1}}],["standalone",{"2":{"491":2,"493":1}}],["standardized",{"2":{"455":1}}],["standards",{"2":{"90":1}}],["standard",{"0":{"555":1},"1":{"556":1,"557":1,"558":1,"559":1},"2":{"52":1,"143":1,"182":1,"228":1,"235":1,"319":1,"427":2,"468":1,"470":1,"494":1,"553":1,"557":1,"564":1}}],["stalled",{"2":{"441":1}}],["stale",{"0":{"437":1},"2":{"156":1,"168":2,"436":1,"437":2,"441":1}}],["stable",{"2":{"369":1,"553":1}}],["stability",{"2":{"48":1}}],["starting",{"2":{"441":1,"521":1}}],["startswith",{"2":{"396":1}}],["starts",{"2":{"334":1,"377":2,"396":1,"435":1,"563":1}}],["startup",{"2":{"184":1,"189":1,"362":1,"444":1,"452":1,"559":1}}],["start",{"2":{"74":1,"155":1,"250":1,"430":1,"469":1,"510":1,"513":1,"528":2,"530":1,"556":1,"558":1}}],["startdate",{"2":{"74":1,"121":1,"122":1}}],["started",{"0":{"267":1,"425":1},"1":{"426":1,"427":1,"428":1,"429":1,"430":1},"2":{"1":1,"425":1,"476":1}}],["stating",{"2":{"507":1}}],["static",{"2":{"184":1}}],["statistics",{"2":{"18":1,"450":1}}],["stateful",{"2":{"397":1}}],["state",{"0":{"175":1},"2":{"104":1,"108":1,"147":1,"148":1,"151":1,"152":1,"168":1,"241":1,"271":1,"435":1,"475":1,"492":1}}],["statements",{"2":{"24":1}}],["stats",{"0":{"19":1},"2":{"15":1,"16":1}}],["statuses",{"0":{"539":1}}],["statuscode",{"2":{"143":2,"228":2}}],["status",{"0":{"13":1,"241":1,"313":1,"378":1,"540":1},"1":{"314":1,"315":1},"2":{"10":1,"49":1,"50":1,"52":2,"53":1,"143":2,"147":1,"208":1,"228":2,"245":1,"256":1,"292":1,"304":1,"372":1,"406":3,"435":1,"437":1,"475":1,"487":2,"498":2,"501":2,"510":2,"528":1,"538":1,"539":3,"541":1,"556":2}}],["ignored",{"2":{"483":1}}],["i",{"2":{"396":1,"397":1}}],["irreversible",{"2":{"341":1,"380":1}}],["icon",{"2":{"293":1,"379":1,"380":1,"507":2}}],["id=minioadmin",{"2":{"459":1}}],["ids",{"2":{"245":1,"246":1,"344":1,"355":1,"364":2,"367":1,"383":1}}],["idea",{"2":{"430":1}}],["idempotency",{"2":{"187":1}}],["idempotent",{"2":{"133":1,"138":1,"156":1,"161":1}}],["identify",{"0":{"240":1},"2":{"165":1,"233":2,"235":1,"237":1,"245":1,"267":2,"320":1,"534":1,"550":1}}],["identifies",{"2":{"264":1}}],["identified",{"2":{"262":1,"451":1,"534":1}}],["identifier",{"2":{"74":1,"84":2,"94":1,"186":1,"284":1,"366":1,"385":1,"463":1,"464":1,"465":1,"466":1}}],["identification",{"2":{"84":1}}],["identity",{"2":{"24":1,"496":1,"497":2}}],["id",{"0":{"101":1,"196":1,"329":1,"389":1,"390":1,"391":1,"497":1},"1":{"102":1,"103":1,"197":1,"198":1,"330":1,"331":1},"2":{"75":1,"84":1,"88":1,"100":2,"101":1,"102":1,"108":1,"109":1,"112":1,"113":1,"114":1,"115":2,"117":1,"118":1,"123":1,"124":1,"125":1,"127":1,"156":1,"184":1,"186":2,"187":7,"191":7,"195":2,"196":1,"197":1,"203":1,"204":1,"207":1,"208":1,"209":1,"212":1,"229":2,"255":2,"261":2,"284":1,"285":5,"328":1,"329":1,"330":1,"337":1,"338":1,"340":1,"341":1,"342":1,"343":1,"364":1,"365":1,"366":1,"367":1,"369":2,"385":1,"408":3,"413":3,"415":2,"419":2,"422":3,"459":1,"483":4,"486":1,"488":2,"491":1,"494":1,"496":1,"500":3,"508":5,"517":2,"525":2}}],["ip",{"2":{"49":2,"50":2,"51":1,"84":2,"94":1,"100":1,"106":1,"366":1,"526":1,"550":1}}],["iam",{"0":{"24":1,"400":1,"507":1},"1":{"25":1,"26":1,"27":1,"28":1,"29":1,"401":1,"402":1,"403":1,"404":1,"405":1,"406":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1,"413":1,"414":1,"415":1,"416":1,"417":1,"418":1,"419":1,"420":1,"421":1,"422":1,"423":1},"2":{"400":1,"401":1,"402":1,"403":1,"505":1,"507":6}}],["if",{"0":{"541":1},"2":{"17":1,"49":1,"52":1,"81":2,"103":1,"123":1,"127":1,"131":1,"144":1,"147":1,"152":1,"162":1,"163":1,"165":2,"170":1,"173":1,"175":1,"184":1,"189":2,"198":1,"205":1,"210":2,"216":2,"218":1,"224":1,"226":2,"241":2,"256":1,"272":3,"275":1,"287":1,"292":1,"296":1,"298":1,"299":2,"303":1,"304":1,"305":1,"307":2,"324":1,"331":1,"354":1,"356":2,"364":3,"365":2,"376":1,"383":1,"389":1,"390":1,"391":1,"393":3,"395":2,"396":1,"406":2,"412":1,"414":3,"430":2,"440":1,"444":2,"450":1,"451":1,"452":2,"461":1,"463":1,"464":1,"465":1,"466":1,"469":1,"472":2,"479":1,"480":1,"482":1,"486":1,"488":1,"489":1,"493":1,"499":1,"505":1,"507":2,"513":1,"515":1,"519":1,"520":1,"524":1,"525":6,"526":1,"527":1,"529":1,"532":1,"534":2,"540":1,"541":3,"547":1,"548":1,"551":2,"552":1,"553":2}}],["images",{"2":{"528":1,"531":2,"557":1,"562":2}}],["image",{"2":{"447":1,"533":1,"554":2,"555":1}}],["imap",{"0":{"470":1},"1":{"471":1,"472":1,"473":1,"474":1,"475":1},"2":{"1":1,"33":1,"426":1,"427":1,"429":1,"470":2,"471":7,"475":1,"476":1,"484":1,"487":1,"530":1}}],["immune",{"2":{"147":1,"162":1,"173":1,"174":1,"190":1}}],["immunity",{"0":{"173":1},"2":{"112":1,"147":1,"152":2,"158":1,"171":1,"186":1}}],["immutably",{"2":{"177":1}}],["immutable",{"0":{"273":1},"2":{"90":1,"273":1,"355":1,"427":1}}],["immutability",{"0":{"92":1},"2":{"79":1}}],["immediately",{"2":{"17":1,"92":1,"112":1,"150":1,"152":1,"158":1,"173":1,"180":1,"190":1,"378":1,"499":1,"544":1}}],["impersonated",{"2":{"509":1}}],["imposes",{"2":{"445":1}}],["imported",{"2":{"487":1}}],["importexporttools",{"2":{"478":1}}],["importing",{"2":{"467":1,"469":1,"475":1,"501":1,"510":1,"511":1,"512":1,"513":1,"553":1,"555":1}}],["important",{"0":{"517":1},"2":{"112":1,"152":1,"205":1,"235":1,"279":1,"291":1,"295":1,"416":1,"541":1,"544":1}}],["import",{"0":{"39":1,"467":1,"511":1,"558":1},"1":{"468":1,"469":1,"512":1,"513":1},"2":{"45":1,"407":1,"409":3,"433":1,"434":1,"435":1,"451":1,"467":1,"468":1,"469":2,"475":2,"476":3,"479":1,"481":1,"484":2,"485":1,"501":3,"510":3,"511":1,"512":1,"513":2,"556":1,"558":4,"559":3}}],["imports",{"2":{"33":1,"407":1,"427":1,"434":1,"487":1}}],["implicitly",{"2":{"404":1}}],["implementation",{"0":{"78":1,"247":1,"265":1,"384":1},"1":{"79":1,"80":1,"81":1,"82":1,"248":1,"249":1,"250":1,"385":1,"386":1,"387":1,"388":1,"389":1,"390":1,"391":1,"392":1,"393":1,"394":1,"395":1,"396":1,"397":1,"398":1,"399":1},"2":{"78":1,"233":1,"234":1,"235":1,"236":1,"237":1,"384":1,"393":1,"396":1}}],["implementing",{"2":{"52":1}}],["implement",{"2":{"52":1,"256":1,"259":1,"267":1,"272":1}}],["implements",{"2":{"48":1,"399":1,"450":1,"462":1}}],["italian",{"2":{"544":1}}],["item",{"0":{"270":1},"2":{"268":1,"291":1}}],["iteration",{"2":{"368":1}}],["iterative",{"2":{"81":1}}],["iterates",{"2":{"96":1,"363":1}}],["itself",{"2":{"124":1,"139":1,"162":1,"189":1,"272":1,"550":1}}],["its",{"2":{"43":1,"79":1,"88":1,"89":1,"90":1,"91":1,"101":1,"147":1,"162":1,"174":1,"190":1,"196":1,"208":1,"273":1,"292":1,"315":1,"329":1,"364":2,"372":1,"375":1,"376":1,"404":1,"406":1,"435":1,"443":1,"451":2,"455":1,"463":1,"475":1,"482":1,"485":2,"488":1,"491":1,"492":1,"517":1,"537":1,"538":1,"540":1,"541":2,"549":1}}],["it",{"0":{"49":1,"361":1,"537":1},"1":{"50":1,"362":1,"363":1,"364":1,"365":1},"2":{"15":1,"16":1,"17":1,"52":1,"80":5,"81":5,"83":1,"87":1,"96":1,"115":1,"143":1,"145":1,"150":1,"152":1,"153":3,"162":2,"165":1,"171":1,"173":1,"175":1,"180":1,"210":2,"272":3,"290":1,"292":1,"305":1,"307":1,"323":1,"324":1,"344":1,"349":1,"355":1,"356":1,"359":1,"362":1,"367":1,"371":1,"376":1,"392":1,"393":2,"400":1,"401":1,"406":1,"414":3,"416":1,"420":2,"430":1,"435":3,"436":1,"437":1,"443":1,"446":1,"456":1,"461":2,"463":2,"468":1,"473":2,"475":1,"479":1,"482":1,"484":3,"486":1,"488":1,"491":1,"493":2,"496":1,"498":1,"499":5,"505":2,"507":3,"509":1,"512":2,"519":1,"523":1,"532":1,"534":3,"535":2,"539":1,"541":1,"553":2,"558":1,"559":1}}],["istorageprovider",{"2":{"455":1,"462":1}}],["iso",{"2":{"388":1}}],["isenabled",{"2":{"333":1,"388":1,"393":1}}],["isemailunderactivehold",{"2":{"190":1}}],["isdisabled",{"2":{"195":2,"210":1,"272":1}}],["isactive",{"2":{"100":2,"108":1,"110":1,"111":1,"112":1,"115":1,"131":2,"137":1,"151":1,"175":1,"328":1,"388":1}}],["issues",{"2":{"265":1,"453":1,"517":1,"547":1}}],["issued",{"2":{"173":1}}],["issue",{"2":{"88":1,"168":1,"365":1,"430":2,"540":1,"541":1,"548":1}}],["is",{"0":{"426":1,"534":1},"1":{"535":1},"2":{"2":1,"17":1,"48":1,"49":1,"50":1,"52":2,"56":1,"77":1,"78":1,"80":3,"81":2,"82":2,"83":1,"84":1,"87":1,"88":6,"90":2,"92":1,"93":1,"94":1,"96":1,"115":2,"117":1,"123":1,"124":1,"133":1,"138":1,"139":1,"143":1,"145":1,"147":4,"149":1,"151":1,"153":1,"156":4,"158":1,"161":1,"162":1,"163":3,"167":1,"168":1,"169":2,"170":1,"171":1,"173":3,"174":2,"175":1,"176":1,"177":2,"182":1,"184":1,"186":1,"189":4,"205":1,"207":1,"210":3,"216":2,"218":1,"224":1,"228":1,"241":1,"255":1,"268":1,"272":4,"274":1,"275":1,"282":1,"284":2,"290":1,"291":1,"292":3,"299":1,"303":1,"304":2,"307":2,"309":1,"322":1,"323":1,"324":2,"333":1,"341":1,"344":1,"349":1,"351":2,"353":1,"354":2,"355":1,"356":2,"358":1,"359":1,"362":4,"363":2,"364":2,"365":1,"367":1,"370":1,"371":1,"372":3,"375":2,"378":1,"379":1,"380":1,"383":1,"384":1,"385":3,"390":3,"392":2,"393":4,"397":4,"400":1,"401":3,"405":1,"406":4,"407":1,"408":1,"409":1,"410":2,"411":1,"413":3,"414":2,"416":2,"423":1,"427":1,"432":1,"435":2,"437":6,"439":1,"441":1,"442":2,"443":3,"444":2,"445":2,"447":2,"448":2,"450":3,"451":2,"452":2,"453":1,"455":2,"456":1,"458":1,"459":1,"460":1,"461":2,"464":1,"465":1,"467":1,"469":3,"470":1,"471":3,"475":3,"477":1,"479":3,"480":2,"481":1,"482":4,"483":4,"485":1,"486":2,"488":1,"489":2,"491":1,"492":1,"493":1,"494":1,"497":1,"498":1,"499":3,"500":1,"501":1,"502":1,"507":2,"508":2,"510":2,"511":1,"513":3,"514":1,"517":2,"518":1,"519":1,"520":3,"522":1,"523":1,"525":5,"526":3,"530":1,"532":1,"533":1,"534":4,"535":1,"537":1,"538":1,"539":2,"540":2,"541":2,"544":1,"547":1,"548":2,"549":1,"550":2,"551":2,"552":1,"553":2,"557":1,"559":3,"561":1,"563":2,"564":1}}],["inquiries",{"2":{"546":1}}],["inherited",{"2":{"483":1}}],["inbox",{"2":{"468":1,"475":1}}],["inboxes",{"2":{"426":1}}],["injection",{"2":{"460":1}}],["info",{"2":{"282":1}}],["information",{"0":{"374":1},"2":{"30":1,"89":1,"216":1,"217":1,"241":1,"246":1,"259":1,"288":2,"500":1}}],["incorrectly",{"2":{"549":1}}],["incoming",{"2":{"398":1}}],["inclusive",{"2":{"523":1}}],["included",{"2":{"203":1,"337":1,"393":1}}],["includes",{"2":{"93":1,"95":1,"274":1,"367":1,"370":1,"396":2,"397":1,"399":2,"452":1,"453":1,"521":1,"533":1,"552":1,"564":1}}],["include",{"2":{"52":1,"88":1,"253":1,"288":2,"317":1,"318":1,"355":1,"387":1,"523":1,"540":1}}],["including",{"2":{"10":1,"89":1,"129":1,"426":1,"431":1,"447":1,"463":1,"467":1,"483":1,"511":1,"523":1,"544":1}}],["increase",{"2":{"439":1}}],["increments",{"2":{"435":1}}],["incremental",{"2":{"259":1}}],["incidents",{"2":{"280":1}}],["ingesting",{"2":{"477":1,"488":1}}],["ingestions",{"2":{"471":1,"475":1,"482":1,"485":1,"490":1}}],["ingestionservice",{"0":{"461":1},"2":{"461":1}}],["ingestionsource",{"2":{"419":1}}],["ingestionsourceid",{"2":{"345":1,"346":1,"364":1,"393":1,"483":1}}],["ingestionscope",{"2":{"328":1,"333":1,"335":1,"339":1,"393":1}}],["ingestion",{"0":{"7":1,"20":1,"21":1,"33":1,"34":1,"35":1,"36":1,"37":1,"38":1,"40":1,"42":1,"248":1,"353":1,"375":1,"421":1,"422":1,"439":1,"469":1,"477":1,"481":1,"513":1},"1":{"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"478":1,"479":1,"480":1,"482":1,"483":1,"484":1,"485":1,"486":1,"487":1,"488":1,"489":1,"490":1,"491":1,"492":1,"493":1},"2":{"1":1,"32":2,"33":1,"45":3,"61":2,"93":1,"333":1,"339":1,"345":1,"353":3,"364":1,"372":3,"375":4,"376":1,"382":2,"385":2,"387":1,"393":1,"398":1,"401":2,"403":2,"406":1,"407":1,"408":3,"413":6,"419":4,"420":1,"421":2,"422":4,"423":1,"427":1,"429":1,"432":3,"433":2,"434":1,"435":1,"437":1,"438":1,"439":1,"469":3,"470":1,"471":3,"473":1,"474":1,"475":2,"476":1,"479":2,"481":2,"482":2,"483":2,"485":3,"500":2,"509":2,"513":3,"526":1,"530":1}}],["ingest",{"2":{"476":1}}],["ingested",{"2":{"233":1,"248":2,"437":1,"480":1,"483":1,"489":1,"491":2,"492":1,"493":1}}],["inline",{"2":{"152":1,"296":1}}],["input",{"0":{"382":1},"2":{"143":1,"228":1}}],["inactive",{"0":{"175":1},"2":{"123":1,"129":1,"138":1,"147":1,"160":1,"372":1}}],["independent",{"2":{"491":1}}],["independently",{"2":{"174":1,"432":1,"487":1,"490":1}}],["indefinitely",{"2":{"265":1}}],["indexes",{"2":{"427":1}}],["indexed",{"0":{"23":1},"2":{"54":1,"248":1}}],["index",{"2":{"45":1,"156":1,"168":3,"433":1,"434":1,"438":1,"440":1,"492":1,"552":1,"558":1}}],["indexing",{"0":{"440":1},"2":{"45":3,"426":1,"432":3,"433":2,"434":1,"436":1,"438":1,"440":1,"524":2}}],["individually",{"2":{"258":1}}],["individual",{"2":{"150":1,"165":1,"178":1,"191":2,"192":1,"268":1,"276":1,"282":1,"289":1,"290":1,"306":1,"372":1,"375":1,"502":1}}],["indicate",{"2":{"317":1,"333":1,"372":1}}],["indicates",{"2":{"88":2,"383":1,"393":1,"539":2,"540":2}}],["indicators",{"0":{"313":1},"1":{"314":1,"315":1}}],["indicating",{"2":{"88":1,"147":1,"292":1,"363":1,"372":1,"437":1}}],["investigate",{"2":{"541":1}}],["investigations",{"2":{"146":1,"171":1,"234":1}}],["investigation",{"0":{"181":1},"2":{"100":1,"131":1,"149":1,"174":1,"278":1}}],["inverts",{"2":{"401":1}}],["inverted",{"0":{"413":1},"2":{"401":2,"413":4,"414":1}}],["inverse",{"2":{"334":2,"377":2}}],["invoice",{"0":{"264":1},"2":{"240":1,"264":2,"334":1,"346":1}}],["invoices",{"2":{"233":1}}],["involving",{"2":{"235":1}}],["involves",{"2":{"81":1,"496":1,"504":1,"555":1}}],["invalid",{"0":{"540":1},"2":{"17":1,"123":1,"138":1,"143":1,"223":1,"228":1,"255":2,"296":1,"356":1,"397":1,"539":2,"540":1,"541":1}}],["introduced",{"2":{"553":1}}],["intact",{"2":{"539":1}}],["intuitive",{"2":{"83":1}}],["into",{"0":{"485":1},"2":{"81":1,"82":1,"88":1,"363":1,"387":1,"401":1,"404":1,"435":2,"440":1,"473":1,"477":1,"480":1,"482":2,"484":1,"485":1,"493":1,"496":1,"504":1,"509":1,"530":1,"534":1,"535":1,"555":1}}],["intensive",{"2":{"451":1}}],["intended",{"2":{"146":1,"383":1,"400":1}}],["intelligent",{"2":{"302":1}}],["intellectual",{"2":{"295":1}}],["integer",{"2":{"200":1,"229":1,"284":1,"333":3,"347":1,"374":1,"385":2,"398":2}}],["integrate",{"2":{"236":1}}],["integrated",{"2":{"82":1}}],["integration",{"0":{"82":1,"188":1,"236":1,"263":1,"266":1,"275":1,"286":1,"370":1,"449":1,"527":1},"1":{"189":1,"190":1,"191":1,"264":1,"265":1,"266":1,"287":1,"288":1,"289":1,"450":1,"451":1,"452":1},"2":{"184":1,"282":1,"444":1}}],["integrations",{"2":{"16":1}}],["integrity",{"0":{"43":1,"44":1,"76":1,"87":1,"536":1,"538":1,"541":1},"1":{"44":1,"77":1,"88":1,"537":1,"538":1,"539":2,"540":2,"541":1},"2":{"76":1,"77":1,"81":1,"87":2,"88":1,"96":1,"299":1,"324":1,"536":2,"537":1,"538":1,"539":1,"541":2}}],["interact",{"2":{"547":1}}],["interacts",{"2":{"52":1}}],["interruption",{"2":{"499":1}}],["intervention",{"2":{"351":1,"563":1}}],["internal",{"2":{"127":1,"217":1,"227":1,"349":1,"366":1}}],["interface",{"0":{"83":1,"145":1,"290":1,"371":1},"1":{"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"291":1,"292":1,"293":1,"294":1,"295":1,"296":1,"297":1,"298":1,"299":1,"300":1,"301":1,"302":1,"303":1,"304":1,"305":1,"306":1,"307":1,"308":1,"309":1,"310":1,"311":1,"312":1,"313":1,"314":1,"315":1,"316":1,"317":1,"318":1,"319":1,"320":1,"321":1,"322":1,"323":1,"324":1,"325":1,"372":1,"373":1,"374":1,"375":1,"376":1,"377":1,"378":1,"379":1,"380":1,"381":1,"382":1,"383":1},"2":{"83":1,"145":1,"290":1,"371":1,"399":1,"455":2,"462":1,"479":1,"529":1,"538":1,"544":1,"561":1}}],["initiatives",{"2":{"281":1}}],["initiate",{"2":{"87":1}}],["initiated",{"2":{"84":1,"93":1,"94":1}}],["initiates",{"2":{"76":1}}],["initialize",{"2":{"189":1}}],["initial",{"0":{"39":1},"2":{"10":1,"45":1,"427":1,"433":1,"434":2,"435":1,"452":1,"475":2,"485":1,"501":2,"510":2}}],["inspect",{"2":{"534":3}}],["inspecting",{"2":{"480":1}}],["inside",{"2":{"469":2,"479":2,"513":2,"556":1,"558":1}}],["insights",{"0":{"23":1}}],["insensitive",{"2":{"334":5,"377":5,"395":1,"397":1}}],["inserts",{"2":{"187":1,"387":1}}],["inserted",{"2":{"88":1,"156":1}}],["insufficient",{"2":{"325":1}}],["instructions",{"2":{"478":1,"494":1,"502":1,"560":1,"564":1}}],["instead",{"0":{"169":1},"2":{"210":1,"275":1,"304":1,"322":1,"324":1,"460":1,"472":1,"521":1,"529":1,"553":1}}],["installed",{"2":{"515":2}}],["installation",{"0":{"428":1,"514":1,"531":1},"1":{"515":1,"516":1,"517":1,"518":1,"519":1,"520":1,"521":1,"522":1,"523":1,"524":1,"525":1,"526":1,"527":1,"528":1,"529":1,"530":1,"531":1,"532":1,"533":1,"534":1,"535":1},"2":{"1":1,"428":2}}],["instantiated",{"2":{"461":1}}],["instantiate",{"2":{"460":1}}],["instantaneous",{"2":{"175":1}}],["instances",{"2":{"515":1,"521":2,"555":1}}],["instance",{"0":{"557":1,"560":1,"562":1},"1":{"561":1,"562":1,"563":1,"564":1},"2":{"48":1,"428":1,"444":1,"460":1,"519":2,"526":1,"529":1,"531":1,"550":1,"553":1,"554":1,"555":1,"559":1,"560":1,"562":2}}],["in",{"0":{"47":1,"173":1,"323":1,"408":1,"409":1,"461":1,"490":1,"492":1,"497":1,"500":1,"509":1},"2":{"15":1,"16":2,"17":1,"33":1,"51":2,"52":4,"61":1,"78":1,"79":1,"80":1,"81":3,"84":1,"85":1,"89":1,"97":1,"104":1,"108":1,"117":1,"124":1,"146":1,"147":2,"148":1,"149":1,"152":1,"153":1,"154":1,"156":1,"158":1,"161":1,"162":1,"163":1,"165":1,"168":2,"173":1,"175":1,"176":2,"177":2,"180":1,"181":1,"184":1,"190":1,"191":1,"192":1,"203":1,"212":1,"233":1,"239":1,"246":1,"249":2,"253":1,"258":1,"262":1,"272":1,"274":1,"282":1,"292":3,"299":1,"304":1,"305":1,"307":1,"308":1,"314":1,"315":2,"324":1,"326":1,"337":1,"348":1,"351":2,"355":2,"356":2,"363":1,"364":3,"365":1,"366":2,"383":1,"384":1,"385":1,"390":1,"393":2,"394":1,"397":1,"400":1,"402":1,"403":1,"408":1,"409":1,"415":1,"417":1,"426":1,"427":1,"435":3,"438":1,"439":2,"443":1,"444":2,"451":1,"452":1,"453":1,"456":1,"460":1,"468":2,"469":4,"471":3,"472":1,"473":2,"474":3,"478":1,"479":3,"481":1,"482":2,"483":3,"484":2,"485":1,"486":3,"488":1,"490":2,"492":1,"494":1,"495":1,"496":1,"497":3,"498":6,"499":4,"500":4,"501":1,"503":1,"504":2,"505":4,"507":4,"508":4,"509":3,"510":1,"512":2,"513":4,"517":2,"518":1,"519":1,"520":1,"523":1,"525":1,"526":3,"527":1,"528":1,"529":1,"533":1,"534":5,"535":2,"537":2,"538":1,"539":1,"541":1,"546":1,"547":2,"548":2,"549":3,"550":3,"553":2,"554":2,"556":1,"558":2,"559":1,"561":1}}],["aes",{"2":{"525":1}}],["amount",{"2":{"501":1,"510":1}}],["amp",{"0":{"526":1},"2":{"427":3,"499":1,"505":2,"507":2}}],["away",{"2":{"499":1}}],["aware",{"2":{"345":1,"382":1}}],["aws",{"2":{"427":1,"457":1,"459":3}}],["ai",{"2":{"236":1}}],["a7b8",{"2":{"100":1,"347":1}}],["able",{"2":{"507":1}}],["abstract",{"2":{"455":1}}],["absolute",{"0":{"173":1},"2":{"171":1,"458":1}}],["ability",{"2":{"446":1}}],["abc",{"2":{"195":2,"216":1,"222":1,"364":1,"463":1}}],["abcd",{"2":{"100":1,"122":1,"131":1,"136":1,"137":1,"195":1,"216":1,"221":1,"222":1,"328":1,"347":1}}],["abort",{"2":{"305":1}}],["aborted",{"2":{"189":1}}],["above",{"2":{"148":1,"293":1,"373":1,"498":1}}],["about",{"2":{"30":1}}],["a1b2c3d4",{"2":{"100":1,"122":1,"131":1,"136":1,"137":1,"195":1,"216":1,"221":1,"222":1,"328":1,"347":1}}],["a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2c3d4e5f6a1b2",{"2":{"16":1}}],["availability",{"2":{"452":1}}],["available",{"0":{"245":1},"2":{"30":1,"86":1,"145":1,"154":1,"158":1,"245":1,"308":1,"402":1,"403":1,"453":1,"507":1,"522":1,"561":1}}],["average",{"2":{"439":1}}],["avoid",{"2":{"80":1,"81":1,"246":1,"258":1,"259":1,"363":1,"450":1,"532":1}}],["aligned",{"2":{"551":1}}],["alongside",{"2":{"485":1,"537":1}}],["alpha",{"2":{"237":1,"295":2}}],["already",{"2":{"107":1,"122":1,"138":1,"156":2,"157":1,"175":1,"202":1,"218":1,"292":1,"296":1,"307":1,"309":1,"315":1,"336":1,"437":1,"441":1,"451":1,"463":1,"469":1,"479":1,"485":1,"486":1,"488":1,"492":1,"505":1,"513":1}}],["also",{"2":{"93":1,"97":1,"145":1,"173":1,"189":1,"192":1,"326":1,"419":1,"458":1,"483":1,"486":1,"487":1,"489":1,"492":1,"500":1,"535":1}}],["alternatively",{"2":{"554":1}}],["alternative",{"0":{"278":1},"2":{"278":1,"469":1,"479":1,"513":1}}],["alter",{"2":{"92":1}}],["altered",{"2":{"88":1,"537":1}}],["always",{"2":{"80":2,"104":1,"148":1,"298":2,"318":1,"347":1,"364":1,"370":1,"383":1,"390":1,"393":1,"414":1,"489":1,"523":1,"550":2,"563":1}}],["allow",{"2":{"407":1,"472":1,"478":1,"533":1,"542":1}}],["allows",{"2":{"85":1,"87":1,"183":1,"231":1,"402":6,"414":2,"419":1,"423":1,"455":1,"467":1,"470":1,"494":1,"498":1,"502":1,"511":1,"536":1,"537":1,"546":1,"553":1}}],["allowing",{"2":{"83":1,"86":1,"291":1,"352":1}}],["allowed",{"2":{"51":1,"52":1,"526":1,"548":1}}],["all",{"0":{"25":1,"46":1,"64":1,"99":1,"124":1,"158":1,"194":1,"327":1},"1":{"100":1,"125":1,"126":1,"127":1,"195":1,"328":1},"2":{"6":1,"24":1,"30":1,"43":1,"45":2,"63":1,"78":1,"83":1,"89":1,"90":1,"97":2,"99":2,"101":1,"104":1,"108":1,"110":1,"112":1,"113":2,"117":2,"120":2,"121":1,"122":1,"124":3,"127":1,"129":1,"133":1,"139":1,"143":1,"144":1,"145":1,"146":1,"147":1,"152":1,"153":1,"156":1,"158":2,"160":1,"161":1,"164":7,"165":2,"168":1,"178":3,"181":1,"182":1,"183":1,"184":1,"191":2,"192":2,"194":2,"196":1,"199":1,"203":1,"205":2,"208":1,"228":1,"245":2,"250":1,"253":1,"256":1,"259":1,"261":1,"262":1,"265":3,"272":1,"276":1,"288":1,"290":1,"292":1,"308":1,"311":2,"314":1,"325":1,"326":3,"327":2,"328":1,"329":1,"332":1,"333":2,"337":1,"339":4,"341":1,"344":2,"347":2,"353":1,"357":1,"359":1,"363":1,"364":2,"366":1,"371":1,"372":3,"375":3,"376":2,"379":1,"381":1,"382":1,"383":2,"384":1,"385":2,"388":1,"393":3,"395":1,"398":1,"399":2,"402":1,"403":2,"404":2,"407":1,"409":1,"413":2,"414":1,"416":1,"418":2,"421":1,"427":2,"435":2,"437":1,"440":1,"441":1,"455":1,"462":1,"471":1,"475":1,"482":4,"483":2,"485":1,"486":3,"487":2,"489":1,"491":1,"492":4,"494":1,"496":1,"498":1,"501":2,"502":1,"509":1,"510":2,"523":2,"528":1,"533":2,"534":2,"542":1,"544":1,"561":1}}],["acls",{"2":{"524":1}}],["achieve",{"2":{"417":1}}],["achieved",{"2":{"413":1,"423":1}}],["across",{"0":{"488":1},"2":{"154":1,"199":1,"317":1,"332":1,"420":1,"455":1,"489":1,"508":1}}],["acme",{"2":{"121":1,"122":1,"165":1,"335":2,"346":2,"382":1}}],["acts",{"2":{"482":1,"497":1}}],["actually",{"2":{"227":1}}],["act",{"2":{"175":1}}],["activating",{"0":{"152":1}}],["activate",{"2":{"151":1,"152":1,"153":1,"164":1}}],["actively",{"2":{"436":1}}],["active",{"0":{"167":1,"175":1,"180":1},"2":{"104":1,"115":2,"123":1,"129":1,"133":1,"143":1,"147":1,"148":1,"150":1,"152":1,"153":4,"154":1,"160":1,"161":1,"162":1,"163":1,"167":1,"169":1,"173":1,"174":1,"178":1,"184":1,"186":1,"189":1,"273":1,"276":1,"299":1,"333":1,"344":1,"357":1,"359":1,"372":1,"378":1,"381":1,"385":1,"393":1,"406":3,"444":1,"475":1,"484":1,"487":2,"501":1,"510":2}}],["activities",{"2":{"90":1,"427":1}}],["activity",{"2":{"83":1,"436":1,"437":1}}],["actiononexpiry",{"2":{"333":1,"335":1,"347":2,"393":1}}],["actions",{"0":{"402":1},"2":{"93":1,"147":1,"151":1,"152":1,"153":1,"167":1,"274":1,"292":1,"297":1,"301":1,"372":1,"402":1,"416":1,"417":1,"490":1,"491":1,"505":1,"547":1}}],["action",{"2":{"74":1,"84":4,"90":1,"95":1,"151":1,"153":1,"157":1,"177":1,"191":1,"211":2,"212":1,"250":1,"264":1,"265":1,"266":1,"288":5,"305":1,"308":1,"333":1,"341":1,"347":1,"351":1,"367":1,"383":2,"385":2,"387":2,"390":1,"391":1,"401":4,"402":1,"413":2,"416":1,"418":1,"419":4,"420":1,"421":1,"422":1,"423":1}}],["actiontype",{"2":{"74":1,"75":1,"191":1}}],["actorid",{"0":{"387":1,"390":1,"391":1}}],["actoridentifier",{"2":{"75":1}}],["actorip",{"0":{"387":1,"390":1,"391":1},"2":{"75":1}}],["actor",{"0":{"366":1},"2":{"74":2,"84":1,"94":2,"174":1,"262":1,"366":2,"367":1}}],["accurate",{"2":{"541":1}}],["accumulate",{"2":{"320":1}}],["accidental",{"2":{"380":1,"540":1}}],["account",{"2":{"470":1,"471":2,"472":2,"473":1,"474":2,"497":1,"502":1,"503":1,"504":1,"505":6,"507":2,"508":5,"509":1,"529":1}}],["accounts",{"0":{"474":1},"2":{"63":1,"252":1,"403":1,"416":1,"497":1,"505":1,"508":1}}],["according",{"2":{"468":1,"512":1}}],["accordingly",{"2":{"258":1}}],["accepted",{"2":{"205":1,"339":1}}],["accepts",{"2":{"176":1,"393":1}}],["accessing",{"2":{"549":1}}],["accessible",{"2":{"72":1,"551":1}}],["accesses",{"2":{"529":1}}],["accessed",{"2":{"427":1}}],["access",{"0":{"423":1,"529":1},"2":{"2":1,"24":1,"325":1,"357":1,"400":1,"404":1,"406":1,"408":1,"412":1,"413":4,"416":1,"417":1,"418":1,"420":1,"422":1,"423":2,"459":5,"472":2,"502":1,"503":1,"508":2,"517":1,"525":4,"526":1,"529":1,"541":1,"549":1,"550":1}}],["auditing",{"0":{"260":1},"1":{"261":1,"262":1},"2":{"427":1}}],["audits",{"2":{"171":1}}],["auditservice",{"2":{"78":2,"82":1}}],["auditable",{"2":{"115":1,"175":1}}],["auditor",{"0":{"420":1,"422":1},"2":{"94":1,"95":1,"408":1,"420":1}}],["auditlogmodule",{"2":{"82":1}}],["audit",{"0":{"72":1,"73":1,"76":1,"78":1,"83":1,"84":1,"90":1,"157":1,"177":1,"182":1,"191":1,"262":1,"274":1,"288":1,"355":1,"367":1},"1":{"73":1,"74":2,"75":2,"76":1,"77":2,"79":1,"80":1,"81":1,"82":1,"84":1,"85":1,"86":1,"87":1,"88":1,"89":1,"91":1,"92":1,"93":1,"94":1,"95":1,"96":1},"2":{"72":2,"73":2,"76":2,"77":2,"78":2,"79":1,"82":3,"83":1,"84":1,"86":1,"87":1,"88":4,"90":1,"91":1,"96":1,"122":1,"146":1,"149":1,"156":1,"157":1,"165":1,"177":2,"180":1,"182":2,"183":1,"191":2,"249":1,"256":1,"262":1,"274":1,"288":1,"308":1,"355":2,"364":1,"366":2,"367":1,"387":2,"390":1,"391":1,"427":1,"541":2}}],["automatic",{"2":{"266":1}}],["automatically",{"2":{"230":1,"233":1,"271":1,"309":1,"427":1,"441":1,"444":1,"452":1,"461":1,"482":1,"487":1,"510":1,"533":1,"538":1,"554":1,"561":1,"563":1}}],["automation",{"0":{"351":1},"2":{"246":1,"267":1}}],["automates",{"2":{"349":1}}],["automate",{"2":{"236":1}}],["automated",{"0":{"230":1},"1":{"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"258":1,"259":1,"260":1,"261":1,"262":1,"263":1,"264":1,"265":1,"266":1,"267":1},"2":{"16":1,"93":1,"94":1,"146":1,"230":1,"231":1,"239":1,"252":1,"262":2,"267":1,"270":1,"274":1,"355":2,"358":1,"359":1,"366":1,"367":1,"370":1,"392":1}}],["auto",{"2":{"186":1,"284":1,"385":1,"396":1}}],["authority",{"2":{"509":1}}],["authoritative",{"2":{"137":1}}],["authorize",{"2":{"508":3}}],["authorizing",{"2":{"504":1}}],["authorization",{"2":{"15":2,"253":1,"556":1}}],["authenticated",{"2":{"94":1,"357":1}}],["authenticate",{"2":{"31":1,"499":1}}],["authentication",{"0":{"14":1,"31":1,"239":1,"251":1,"253":1,"526":1},"1":{"15":1,"16":1,"17":1,"252":1,"253":1},"2":{"6":1,"10":1,"14":1,"31":1,"32":1,"72":1,"73":1,"76":1,"97":1,"99":1,"101":1,"104":1,"108":1,"113":1,"117":1,"124":1,"129":1,"133":1,"139":1,"192":1,"194":1,"196":1,"199":1,"203":1,"208":1,"214":1,"218":1,"224":1,"267":1,"326":1,"327":1,"329":1,"332":1,"337":1,"341":1,"344":1,"399":1,"519":1}}],["auth",{"0":{"10":1},"1":{"11":1,"12":1,"13":1},"2":{"15":1,"32":1,"53":1,"184":1,"282":1,"358":1,"508":2}}],["affordable",{"2":{"426":1}}],["affect",{"2":{"383":1}}],["affects",{"2":{"380":1}}],["affected",{"2":{"84":2,"95":1,"541":1}}],["affecting",{"2":{"53":1,"472":1}}],["after",{"0":{"150":1,"170":1},"2":{"50":1,"127":1,"248":1,"383":1,"429":1,"435":1,"475":1,"491":1,"501":1,"510":1,"526":1,"530":1,"533":1,"535":2,"544":1,"551":1,"554":1}}],["adapter",{"2":{"523":1}}],["advanced",{"0":{"404":1},"1":{"405":1,"406":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1},"2":{"474":1,"485":1,"527":1,"559":1}}],["adjust",{"2":{"258":1,"267":1}}],["adding",{"2":{"413":1,"489":1}}],["additions",{"2":{"165":1}}],["added",{"2":{"376":1}}],["add",{"2":{"150":1,"165":1,"258":1,"376":1,"484":1,"498":2,"499":1,"505":1,"507":2,"508":1,"554":1,"558":1}}],["addressing",{"2":{"525":1}}],["addresses",{"2":{"345":1,"364":1,"382":1}}],["address",{"2":{"49":2,"50":1,"51":1,"84":2,"94":1,"155":1,"165":1,"334":1,"345":1,"364":1,"377":1,"382":1,"395":1,"471":2,"509":1,"546":2}}],["adheres",{"2":{"91":1}}],["admins",{"2":{"416":1}}],["administrator",{"0":{"418":1},"2":{"325":1,"495":4,"499":1,"502":1,"503":1,"507":3,"509":1}}],["administrators",{"2":{"83":1,"291":1,"320":1,"400":1,"455":1,"494":1,"502":1,"542":1,"546":1}}],["administrative",{"2":{"267":1,"276":1,"354":1,"399":1}}],["admin",{"0":{"421":1},"2":{"24":1,"45":1,"63":1,"239":1,"416":1,"496":1,"497":1,"498":1,"500":1,"504":1,"505":2,"507":2,"508":3,"509":2,"510":1,"524":2,"526":1,"529":1,"556":1}}],["aggregate",{"2":{"486":1}}],["aggregated",{"2":{"18":1,"435":1}}],["aggregation",{"2":{"435":1}}],["age",{"2":{"364":3}}],["against",{"2":{"43":1,"112":1,"155":1,"156":1,"175":1,"326":1,"344":1,"352":1,"359":1,"376":1,"381":1,"395":3,"397":1}}],["again",{"2":{"17":1,"50":1,"156":1,"450":1,"473":1,"475":1,"488":1,"529":1}}],["apache",{"0":{"447":1,"527":1},"2":{"443":2,"444":2,"445":1,"446":1,"447":2,"527":1}}],["apppasswords",{"2":{"473":1}}],["appearing",{"0":{"323":1}}],["appear",{"0":{"486":1},"2":{"315":1,"481":1,"484":1,"485":1,"508":1}}],["appears",{"2":{"149":1,"152":1,"292":1,"296":1,"314":1,"380":1,"486":1,"499":1}}],["approach",{"2":{"267":1,"443":1}}],["appropriately",{"2":{"256":1}}],["appropriate",{"2":{"6":1,"72":1,"97":1,"192":1,"231":1,"236":1,"239":1,"242":1,"246":1,"248":1,"250":1,"267":1,"280":1,"289":1,"299":1}}],["app",{"0":{"472":1,"473":1,"474":1},"1":{"473":1,"474":1},"2":{"184":1,"472":4,"473":2,"474":3,"494":1,"497":2,"500":1,"523":2,"525":1,"549":1,"550":4}}],["applicable",{"2":{"318":1,"344":1}}],["applications",{"0":{"285":1},"2":{"210":1,"261":1,"262":1,"273":1,"497":1,"547":1}}],["application",{"0":{"230":1,"243":1,"308":1,"323":1,"497":1,"523":1,"528":1,"529":1},"1":{"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"258":1,"259":1,"260":1,"261":1,"262":1,"263":1,"264":1,"265":1,"266":1,"267":1},"2":{"10":1,"48":1,"53":1,"80":1,"82":2,"189":1,"231":1,"242":1,"252":1,"253":1,"274":1,"282":2,"288":1,"308":1,"362":1,"420":1,"429":1,"443":1,"448":5,"452":1,"453":5,"455":2,"472":1,"495":2,"496":5,"497":3,"498":3,"499":1,"500":2,"504":1,"509":1,"514":1,"517":2,"518":1,"521":1,"523":2,"527":1,"533":1,"542":1,"544":1,"545":1,"548":1,"549":2,"550":2,"551":3,"562":1,"563":2}}],["appliedretentiondays",{"2":{"347":2,"364":3,"393":2}}],["appliedbyuserid",{"2":{"131":2,"137":1,"216":1,"222":1}}],["appliedat",{"2":{"131":2,"137":2,"174":1,"216":1,"222":1}}],["applied",{"0":{"129":1},"1":{"130":1,"131":1,"132":1},"2":{"131":1,"138":3,"142":1,"160":2,"178":1,"187":3,"205":1,"207":1,"210":2,"214":1,"216":2,"223":1,"224":1,"226":2,"241":1,"243":1,"246":1,"262":1,"268":1,"270":1,"271":1,"272":3,"273":1,"275":1,"284":1,"285":4,"287":1,"289":1,"292":2,"298":1,"299":1,"303":1,"304":2,"306":1,"307":2,"314":1,"315":1,"322":1,"324":1,"383":1,"563":1}}],["applies",{"2":{"117":1,"180":1,"182":1,"218":1,"308":1,"333":1,"351":1,"352":1,"353":1,"354":1,"375":2,"396":1,"483":1,"486":1}}],["applyoperator",{"0":{"396":1}}],["applying",{"0":{"161":1,"306":1},"1":{"307":1,"308":1,"309":1},"2":{"145":1,"156":1,"161":1,"168":1,"178":1,"192":1,"241":1,"259":1,"271":1,"276":1,"278":1,"290":1}}],["apply",{"0":{"117":1,"133":1,"154":1,"156":1,"157":1,"168":1,"170":1,"218":1,"242":1},"1":{"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"134":1,"135":1,"136":1,"137":1,"138":1,"155":1,"156":1,"157":1,"219":1,"220":1,"221":1,"222":1,"223":1},"2":{"117":1,"118":1,"135":1,"150":1,"154":1,"155":1,"156":1,"157":1,"161":1,"164":2,"165":3,"176":1,"191":1,"220":1,"223":1,"230":1,"233":1,"234":2,"235":1,"236":2,"237":1,"242":2,"248":2,"249":1,"250":1,"255":1,"264":1,"265":1,"266":1,"268":1,"279":1,"281":1,"289":1,"307":1,"308":1,"309":1,"312":1,"323":1,"325":1,"339":1,"353":1,"379":1,"384":1,"392":1,"535":1,"542":1}}],["apis",{"2":{"505":4}}],["api",{"0":{"2":1,"3":1,"4":1,"5":1,"6":1,"10":1,"14":1,"16":1,"17":1,"18":1,"24":1,"30":1,"32":1,"33":1,"43":1,"45":1,"54":1,"56":1,"59":1,"61":1,"63":1,"72":1,"97":1,"192":1,"238":1,"252":1,"326":1,"462":1,"498":1},"1":{"3":1,"4":1,"5":1,"7":1,"8":1,"9":1,"11":1,"12":1,"13":1,"15":1,"16":1,"17":2,"19":1,"20":1,"21":1,"22":1,"23":1,"25":1,"26":1,"27":1,"28":1,"29":1,"31":1,"32":1,"34":1,"35":1,"36":1,"37":1,"38":1,"39":1,"40":1,"41":1,"42":1,"44":1,"46":1,"47":1,"55":1,"57":1,"58":1,"60":1,"62":1,"64":1,"65":1,"66":1,"67":1,"68":1,"69":1,"70":1,"71":1,"73":1,"74":1,"75":1,"76":1,"77":1,"98":1,"99":1,"100":1,"101":1,"102":1,"103":1,"104":1,"105":1,"106":1,"107":1,"108":1,"109":1,"110":1,"111":1,"112":1,"113":1,"114":1,"115":1,"116":1,"117":1,"118":1,"119":1,"120":1,"121":1,"122":1,"123":1,"124":1,"125":1,"126":1,"127":1,"128":1,"129":1,"130":1,"131":1,"132":1,"133":1,"134":1,"135":1,"136":1,"137":1,"138":1,"139":1,"140":1,"141":1,"142":1,"143":1,"144":1,"193":1,"194":1,"195":1,"196":1,"197":1,"198":1,"199":1,"200":1,"201":1,"202":1,"203":1,"204":1,"205":1,"206":1,"207":1,"208":1,"209":1,"210":1,"211":1,"212":1,"213":1,"214":1,"215":1,"216":1,"217":1,"218":1,"219":1,"220":1,"221":1,"222":1,"223":1,"224":1,"225":1,"226":1,"227":1,"228":1,"229":1,"239":1,"240":1,"241":1,"242":1,"243":1,"327":1,"328":1,"329":1,"330":1,"331":1,"332":1,"333":1,"334":1,"335":1,"336":1,"337":1,"338":1,"339":1,"340":1,"341":1,"342":1,"343":1,"344":1,"345":1,"346":1,"347":1,"348":1,"463":1,"464":1,"465":1,"466":1},"2":{"1":2,"2":3,"14":1,"15":1,"16":5,"17":4,"30":4,"31":2,"48":1,"49":1,"50":1,"52":1,"72":1,"73":1,"76":1,"82":1,"97":2,"192":2,"230":1,"239":3,"240":3,"241":1,"242":1,"245":1,"246":1,"248":1,"252":2,"253":2,"258":2,"259":2,"262":1,"264":1,"266":1,"267":2,"274":1,"282":2,"285":1,"326":2,"357":1,"358":2,"399":2,"441":1,"455":1,"459":1,"494":1,"498":2,"501":1,"505":2,"508":1,"526":5,"544":1,"556":2}}],["analyze",{"2":{"248":1}}],["analysis",{"2":{"231":1,"233":1,"264":1,"266":1}}],["annual",{"2":{"182":1}}],["annotated",{"2":{"99":1}}],["another",{"2":{"174":1,"243":1,"547":1}}],["anywhere",{"2":{"488":1}}],["any",{"2":{"80":1,"89":1,"92":1,"96":1,"146":1,"152":2,"153":1,"156":1,"160":1,"173":2,"174":1,"176":1,"189":1,"205":1,"210":1,"270":2,"271":2,"272":1,"273":1,"275":1,"287":1,"289":1,"297":1,"298":1,"303":1,"308":1,"344":1,"354":1,"376":1,"379":1,"380":1,"381":1,"395":2,"416":1,"451":1,"461":1,"468":2,"470":1,"475":1,"483":2,"489":1,"505":1,"512":2,"526":1,"535":1,"541":1}}],["an",{"0":{"3":1,"5":1,"7":1,"9":1,"17":1,"34":1,"36":1,"37":1,"38":1,"40":1,"42":1,"129":1,"167":1,"169":1,"469":1,"472":1,"473":1,"474":1,"485":1,"540":1,"541":1},"1":{"130":1,"131":1,"132":1,"473":1,"474":1},"2":{"17":1,"43":1,"49":2,"50":1,"52":1,"88":2,"90":1,"94":2,"95":1,"105":1,"115":1,"131":2,"133":1,"143":1,"152":1,"153":2,"162":1,"163":2,"171":1,"173":3,"175":2,"178":2,"182":2,"183":1,"186":1,"189":3,"203":1,"218":1,"224":1,"239":2,"267":1,"268":1,"270":1,"271":1,"275":1,"276":1,"287":1,"296":1,"299":1,"307":2,"309":1,"323":1,"334":1,"337":1,"349":1,"351":1,"353":1,"354":2,"356":2,"357":1,"363":1,"367":1,"374":1,"377":1,"382":1,"387":1,"390":2,"391":1,"394":1,"401":3,"402":1,"404":1,"406":2,"408":1,"413":2,"420":1,"427":1,"430":3,"436":2,"437":1,"444":1,"455":1,"457":1,"460":1,"461":1,"464":1,"465":1,"468":1,"470":1,"471":2,"472":2,"478":1,"482":2,"484":2,"489":1,"491":1,"494":1,"497":3,"499":2,"507":1,"526":2,"527":1,"533":1,"537":1,"538":2,"539":1,"541":2,"552":1,"553":1,"554":1,"561":1,"564":1}}],["and",{"0":{"79":1,"85":1,"95":1,"152":1,"157":1,"234":1,"251":1,"260":1,"274":1,"296":1,"354":1,"405":1,"416":1,"452":1,"483":1,"489":1,"534":1},"1":{"80":1,"81":1,"252":1,"253":1,"261":1,"262":1,"406":1,"407":1,"408":1,"409":1,"410":1,"411":1,"412":1,"535":1},"2":{"2":2,"6":2,"10":1,"15":1,"16":1,"17":1,"18":1,"24":2,"31":1,"32":1,"33":1,"43":1,"45":2,"48":2,"56":1,"63":1,"72":2,"73":1,"78":1,"79":1,"80":1,"81":3,"83":2,"84":1,"87":2,"88":1,"89":1,"90":1,"91":1,"92":1,"93":2,"94":1,"95":2,"96":2,"97":2,"112":1,"113":1,"117":1,"129":1,"138":1,"145":2,"146":3,"147":1,"149":1,"153":1,"155":1,"160":1,"161":1,"162":2,"165":5,"171":1,"173":1,"174":2,"175":1,"176":1,"177":2,"178":1,"180":2,"181":1,"182":1,"183":1,"184":4,"189":1,"192":2,"205":1,"230":1,"231":1,"233":1,"239":1,"245":1,"246":1,"248":2,"249":2,"256":2,"258":1,"261":1,"262":1,"267":3,"272":2,"274":3,"276":1,"282":3,"289":1,"290":2,"291":1,"292":2,"296":1,"299":2,"300":1,"305":1,"307":2,"309":1,"315":1,"319":3,"320":1,"326":2,"334":2,"339":1,"344":2,"349":1,"351":1,"352":1,"354":1,"355":1,"356":1,"357":1,"358":4,"359":1,"364":2,"365":3,"367":1,"371":2,"372":3,"375":1,"376":1,"379":1,"383":1,"384":1,"387":3,"388":1,"391":1,"392":1,"393":1,"394":2,"397":3,"399":1,"400":3,"404":4,"413":1,"416":3,"417":1,"419":1,"420":1,"421":1,"423":1,"425":1,"426":3,"427":6,"430":2,"431":1,"433":1,"435":3,"437":1,"439":1,"440":1,"441":2,"442":2,"443":3,"445":1,"447":2,"448":1,"449":1,"450":1,"451":2,"452":1,"453":1,"455":1,"456":2,"459":1,"460":1,"462":1,"466":1,"467":1,"469":3,"472":2,"473":2,"474":1,"475":4,"476":1,"478":1,"479":2,"481":1,"482":3,"483":2,"484":4,"485":1,"486":1,"487":1,"488":1,"491":1,"492":4,"493":2,"494":1,"496":1,"498":2,"499":2,"500":2,"505":6,"507":2,"508":4,"509":1,"510":3,"513":3,"515":2,"517":2,"518":1,"519":2,"520":1,"521":4,"523":1,"526":1,"527":1,"528":2,"529":1,"530":1,"532":1,"533":5,"535":1,"536":2,"537":2,"538":2,"539":1,"540":1,"541":3,"542":1,"544":1,"547":2,"550":2,"551":2,"553":1,"555":1,"556":1,"557":1,"558":2,"559":2,"561":2}}],["atomic",{"2":{"553":1}}],["atomically",{"2":{"435":2}}],["attributed",{"2":{"274":1,"366":1}}],["attribution",{"0":{"94":1,"274":1},"2":{"174":1}}],["attempts",{"2":{"272":1,"441":1}}],["attempted",{"2":{"207":1,"223":1}}],["attempting",{"2":{"153":1,"205":1,"255":1,"315":1,"553":1}}],["attempt",{"2":{"92":1,"173":1,"299":1,"452":1,"475":1,"480":1,"554":1}}],["attachmenttypes",{"2":{"345":1,"346":1,"364":1}}],["attachment",{"2":{"155":1,"233":1,"264":2,"334":1,"352":1,"364":1,"376":1,"382":1,"395":2,"398":1,"489":1,"540":1,"541":1}}],["attachments",{"2":{"43":1,"427":1,"440":2,"442":1,"483":1,"492":1,"517":1,"519":1,"527":1,"536":1,"537":1,"538":1}}],["attacks",{"2":{"48":1}}],["at",{"2":{"2":1,"43":1,"81":1,"96":1,"110":1,"145":1,"147":1,"155":1,"158":1,"173":1,"186":2,"187":2,"189":1,"228":1,"271":2,"284":1,"285":2,"290":1,"292":1,"294":1,"309":1,"362":2,"371":1,"385":2,"394":1,"399":1,"414":1,"415":1,"427":1,"435":1,"436":1,"437":1,"439":3,"441":1,"463":2,"464":1,"473":1,"485":3,"486":1,"493":1,"497":1,"498":1,"507":2,"508":1,"515":1,"519":1,"525":1,"533":1,"534":1,"535":1,"538":1,"551":1}}],["asamplemasterkey",{"2":{"524":1}}],["asked",{"2":{"473":1}}],["assistants",{"2":{"483":1}}],["assistant",{"2":{"482":1}}],["assigned",{"2":{"483":1}}],["assign",{"2":{"252":1}}],["associations",{"2":{"124":1,"127":1}}],["associated",{"2":{"89":1,"113":1,"437":1,"503":1}}],["async",{"2":{"189":1,"461":1}}],["asynchronous",{"2":{"45":1,"117":1,"462":1}}],["ascending",{"2":{"99":1,"147":1,"194":1,"292":1,"327":1,"363":1,"388":1}}],["asc",{"2":{"74":1}}],["as",{"2":{"2":1,"15":1,"45":1,"48":1,"53":1,"61":1,"84":1,"90":1,"93":1,"97":1,"103":1,"156":1,"165":1,"173":1,"174":2,"176":1,"177":1,"190":1,"192":1,"198":1,"210":1,"252":1,"262":1,"266":1,"267":1,"272":1,"278":1,"292":1,"304":1,"322":1,"331":1,"356":1,"359":1,"362":1,"375":1,"379":1,"397":2,"401":2,"404":1,"406":1,"426":2,"436":1,"437":1,"442":1,"448":1,"450":1,"458":1,"464":1,"469":2,"470":1,"471":1,"478":1,"479":2,"482":2,"485":1,"497":2,"498":1,"499":2,"501":1,"505":2,"507":1,"508":1,"510":1,"513":2,"517":1,"533":1,"540":1,"553":1,"556":1}}],["arguments",{"2":{"461":1}}],["around",{"2":{"455":1}}],["arbitrary",{"2":{"351":1}}],["arrived",{"2":{"486":1}}],["arrives",{"2":{"264":1}}],["arrays",{"2":{"398":1}}],["array",{"0":{"408":1,"409":1},"2":{"131":2,"132":1,"333":1,"385":1,"393":1,"394":1,"401":3,"408":1,"409":1}}],["architecture",{"0":{"184":1,"282":1,"358":1,"432":1},"1":{"433":1,"434":1},"2":{"431":1}}],["archiving",{"2":{"426":2,"429":1,"472":1,"494":2,"497":1,"499":1,"501":1,"502":2,"505":1,"510":1,"530":1}}],["archival",{"2":{"43":1}}],["archivepath",{"2":{"461":3}}],["archiveemail",{"2":{"461":1}}],["archives",{"2":{"421":1,"469":2}}],["archive",{"2":{"6":1,"59":1,"129":1,"164":1,"168":1,"178":1,"214":1,"218":1,"224":1,"239":2,"252":1,"276":1,"307":1,"312":2,"325":1,"403":1,"419":1,"420":1,"423":2,"447":1,"458":1,"459":1,"461":1,"467":1,"468":1,"469":3,"470":1,"475":1,"476":1,"480":1,"481":1,"484":2,"492":1,"500":1,"501":1,"509":1,"510":1,"513":2,"523":2,"524":2,"541":1,"551":2}}],["archivedat",{"2":{"363":1}}],["archivedemail",{"2":{"191":3,"288":2,"367":1}}],["archivedemailservice",{"2":{"189":1,"364":1,"370":1}}],["archived",{"0":{"6":1},"1":{"7":1,"8":1,"9":1},"2":{"6":1,"32":2,"43":1,"54":1,"97":1,"129":1,"130":1,"133":1,"134":1,"139":1,"140":1,"145":1,"147":1,"160":1,"171":1,"184":1,"187":1,"192":1,"214":1,"215":1,"218":1,"219":1,"224":1,"225":1,"230":1,"240":3,"268":1,"271":1,"282":1,"285":1,"289":1,"290":1,"306":1,"307":2,"349":2,"352":1,"353":1,"359":1,"363":1,"364":1,"403":1,"419":1,"461":1,"483":1,"486":1,"536":1,"537":3,"539":1,"541":1}}],["archivermodule",{"2":{"399":1}}],["archiver",{"0":{"426":1,"557":1},"2":{"2":1,"30":1,"83":1,"90":1,"366":1,"400":1,"425":1,"426":2,"428":1,"458":1,"476":1,"496":1,"505":2,"507":1,"514":1,"516":1,"517":4,"519":1,"520":1,"521":1,"525":2,"529":1,"530":1,"531":1,"532":1,"533":6,"534":8,"535":10,"536":1,"537":1,"538":1,"552":2,"557":1,"560":1,"561":1,"562":2,"564":1}}],["areas",{"2":{"546":1}}],["area",{"2":{"509":1}}],["are",{"2":{"2":1,"16":1,"30":1,"33":1,"45":1,"49":2,"52":1,"53":2,"72":1,"86":1,"88":1,"94":1,"95":1,"104":1,"108":1,"110":1,"122":1,"131":1,"139":1,"145":1,"146":2,"147":2,"148":1,"150":1,"153":1,"156":3,"171":1,"190":1,"203":1,"205":3,"235":1,"262":1,"268":1,"279":1,"292":1,"337":1,"339":3,"349":2,"352":2,"356":1,"363":1,"365":2,"366":1,"372":1,"376":1,"388":1,"390":1,"395":2,"397":2,"398":1,"399":1,"401":1,"402":1,"403":1,"404":4,"413":1,"415":1,"416":1,"417":1,"427":1,"437":1,"441":2,"462":1,"478":1,"482":2,"483":2,"486":1,"487":3,"489":1,"492":4,"493":1,"507":2,"520":1,"524":2,"526":1,"529":3,"532":1,"533":1,"534":1,"537":1,"541":3,"549":3,"550":2,"551":2,"552":1,"553":1,"563":1}}],["a",{"0":{"8":1,"26":1,"27":1,"28":1,"29":1,"47":1,"60":1,"62":1,"65":1,"66":1,"67":1,"68":1,"111":1,"133":2,"139":2,"148":1,"151":1,"152":1,"153":1,"160":1,"161":2,"162":2,"163":1,"165":1,"293":1,"297":1,"301":1,"373":1,"379":1,"380":1,"423":1,"470":1,"485":1,"490":1,"491":1,"492":1,"497":1,"499":1,"513":1,"517":1,"535":1,"556":1},"1":{"134":2,"135":2,"136":2,"137":2,"138":2,"140":2,"141":2,"142":2,"149":1,"150":1,"294":1,"295":1,"296":1,"298":1,"299":1,"300":1,"302":1,"303":1,"304":1,"305":1,"374":1,"375":1,"376":1,"377":1,"378":1,"471":1,"472":1,"473":1,"474":1,"475":1},"2":{"1":1,"15":2,"17":1,"48":2,"49":1,"50":1,"52":4,"61":1,"73":1,"76":1,"80":7,"81":2,"83":1,"84":4,"87":1,"88":3,"89":1,"90":2,"92":3,"94":1,"95":1,"96":1,"97":1,"101":1,"103":1,"104":1,"107":1,"108":1,"113":1,"117":2,"119":1,"124":1,"127":1,"129":1,"133":1,"139":2,"144":3,"145":1,"147":4,"149":2,"152":1,"153":3,"154":3,"156":2,"157":1,"158":3,"161":2,"162":1,"164":5,"165":1,"168":1,"173":2,"174":3,"175":2,"176":3,"178":2,"180":6,"181":4,"182":1,"183":2,"184":1,"187":1,"189":1,"190":1,"191":1,"192":1,"196":1,"198":1,"199":1,"202":1,"205":1,"208":1,"214":1,"216":1,"218":2,"223":1,"226":1,"227":1,"229":2,"239":1,"241":1,"255":1,"267":1,"270":2,"271":2,"272":4,"273":1,"274":1,"275":1,"278":1,"285":1,"287":1,"290":1,"292":3,"294":2,"296":2,"299":3,"300":1,"304":1,"307":1,"308":1,"309":2,"315":1,"322":1,"323":2,"326":1,"329":1,"331":1,"332":1,"336":1,"341":1,"344":2,"351":1,"352":4,"354":1,"356":1,"359":1,"362":1,"364":5,"365":3,"366":1,"370":3,"371":1,"372":3,"374":2,"375":1,"376":1,"380":2,"381":1,"382":3,"383":3,"384":1,"387":1,"389":1,"390":1,"391":1,"392":1,"393":2,"394":1,"395":1,"396":1,"397":3,"398":1,"399":1,"400":1,"401":7,"402":6,"403":1,"404":6,"405":1,"406":1,"407":1,"408":1,"409":1,"412":1,"413":6,"414":5,"416":3,"418":1,"419":1,"422":1,"423":3,"426":3,"427":2,"429":1,"430":3,"435":2,"437":4,"439":1,"441":1,"442":1,"443":5,"444":1,"445":1,"447":2,"450":3,"451":4,"452":2,"453":3,"455":4,"461":2,"462":1,"463":6,"464":4,"465":2,"466":2,"467":2,"468":2,"469":3,"470":1,"471":4,"472":2,"473":2,"474":3,"475":1,"476":1,"477":1,"478":3,"479":2,"480":1,"481":3,"482":5,"483":3,"484":5,"486":4,"487":2,"490":1,"491":2,"492":4,"493":4,"494":2,"496":3,"497":1,"498":4,"499":5,"500":2,"501":3,"502":3,"505":8,"507":4,"508":1,"509":3,"510":3,"511":1,"512":1,"513":3,"515":1,"517":1,"518":2,"519":6,"520":1,"522":1,"525":4,"526":3,"530":1,"532":1,"533":2,"534":4,"535":4,"537":2,"538":2,"539":1,"540":4,"541":2,"544":1,"546":1,"547":1,"548":2,"549":3,"550":2,"551":1,"552":3,"553":6,"554":2,"555":1,"556":3,"558":1,"561":2,"563":1,"564":1}}],["tls",{"2":{"524":2}}],["txt",{"2":{"447":1}}],["turned",{"2":{"473":1}}],["turning",{"2":{"401":1}}],["tuning",{"0":{"439":1,"440":1}}],["tbd",{"2":{"427":2}}],["t",{"2":{"255":1,"272":1,"323":1,"461":1,"505":1}}],["typical",{"2":{"439":1}}],["typically",{"2":{"233":1,"416":1,"471":1,"549":1}}],["typo",{"2":{"155":1}}],["typeerror",{"2":{"548":1}}],["type=s3",{"2":{"457":1,"459":1}}],["type=local",{"2":{"457":1,"458":1}}],["typescriptimport",{"2":{"461":1}}],["typescriptrepeat",{"2":{"362":1}}],["typescript",{"2":{"282":1,"358":1}}],["types",{"2":{"88":1,"184":4,"233":1,"264":1,"282":4,"358":4,"382":1,"398":1,"443":1,"447":1,"453":1,"497":1}}],["type",{"2":{"74":2,"84":3,"102":1,"105":1,"109":1,"110":1,"114":1,"118":1,"119":1,"120":1,"125":1,"130":1,"134":1,"135":1,"140":1,"186":1,"187":1,"197":1,"200":1,"204":1,"209":1,"215":1,"219":1,"220":1,"225":1,"242":1,"253":1,"284":1,"285":1,"288":10,"330":1,"333":1,"334":1,"338":1,"342":1,"345":1,"347":1,"352":1,"367":2,"375":1,"376":1,"385":1,"387":2,"388":1,"390":1,"391":1,"395":1,"457":1,"458":1,"459":1,"479":1,"505":1,"520":2,"525":6}}],["twice",{"2":{"133":1,"161":1}}],["two",{"2":{"14":1,"45":1,"72":1,"88":1,"396":1,"413":1,"423":1,"432":1,"443":1,"474":2,"493":1,"498":1,"505":1,"507":1,"508":1,"550":1,"554":1}}],["tiff",{"2":{"447":1}}],["tika",{"0":{"447":1,"449":1,"527":1},"1":{"450":1,"451":1,"452":1},"2":{"443":2,"444":8,"445":1,"446":1,"447":3,"448":1,"451":2,"452":4,"453":1,"527":3}}],["tick",{"2":{"437":2,"441":1}}],["title",{"2":{"305":1}}],["titan",{"2":{"100":1,"106":1,"121":1,"122":1,"131":1,"137":1,"149":1,"180":1}}],["tips",{"0":{"259":1}}],["timing",{"2":{"176":1}}],["timeout",{"2":{"453":1}}],["times",{"2":{"258":1}}],["timestamptz",{"2":{"186":2,"187":1,"284":1,"285":1,"385":2}}],["timestamped",{"2":{"180":1}}],["timestamp",{"2":{"75":1,"80":2,"84":1,"85":2,"137":1,"174":1,"186":2,"187":1,"261":1,"262":1,"284":1,"285":1,"385":2,"390":1}}],["time",{"2":{"2":1,"43":1,"49":1,"51":2,"52":1,"81":1,"84":1,"96":1,"117":1,"271":1,"317":1,"320":1,"349":1,"390":1,"427":1,"436":1,"439":2,"445":1,"450":1,"469":1,"475":1,"485":1,"493":1,"499":1,"501":1,"510":1,"513":1,"526":1,"558":1,"559":1}}],["ts",{"2":{"78":1,"82":1,"184":7,"282":5,"358":7,"360":1,"384":1,"385":1,"398":1,"399":1,"432":2,"443":1,"449":1,"453":1}}],["telling",{"2":{"558":1}}],["tenant",{"2":{"495":1,"497":1,"500":1}}],["tenants",{"2":{"435":1}}],["terminal",{"2":{"535":1}}],["terms",{"2":{"483":1}}],["term",{"2":{"482":1,"541":1}}],["temporarily",{"2":{"558":1}}],["temporary",{"2":{"61":1,"256":1}}],["temp",{"2":{"469":3,"479":3,"513":3}}],["technology",{"2":{"455":1}}],["testing",{"2":{"383":1,"392":1}}],["test",{"2":{"267":1,"396":1}}],["textextractor",{"2":{"443":1,"453":1}}],["text",{"2":{"54":1,"120":1,"149":1,"155":2,"176":1,"186":1,"284":1,"292":1,"385":2,"427":1,"440":1,"442":2,"443":2,"444":1,"445":1,"446":1,"447":2,"448":3,"449":1,"450":1,"451":1,"453":2,"509":1,"518":1,"527":1,"533":1,"550":1}}],["treat",{"2":{"499":1}}],["treating",{"2":{"436":1}}],["treated",{"2":{"356":1,"397":2,"406":1}}],["traditional",{"2":{"470":1}}],["transfer",{"2":{"491":1}}],["transient",{"2":{"441":1}}],["translated",{"2":{"404":1}}],["trash",{"2":{"380":1,"523":1}}],["traceable",{"2":{"367":1}}],["traceability",{"2":{"94":1,"262":1,"274":1,"355":1}}],["track",{"2":{"261":1,"450":1}}],["trails",{"2":{"256":1}}],["trail",{"0":{"177":1,"262":1,"274":1,"355":1,"367":1},"2":{"427":1}}],["troubleshooting",{"0":{"166":1,"321":1,"506":1,"547":1},"1":{"167":1,"168":1,"169":1,"170":1,"322":1,"323":1,"324":1,"325":1,"507":1,"548":1,"549":1,"550":1,"551":1},"2":{"559":1}}],["trustworthiness",{"2":{"541":1}}],["truncated",{"2":{"84":1}}],["true",{"2":{"77":1,"100":1,"110":1,"131":1,"137":1,"186":1,"195":1,"210":1,"272":1,"328":1,"333":1,"364":1,"370":1,"385":1,"393":1,"394":1,"401":2,"412":1,"413":2,"414":1,"459":1,"466":1,"523":1,"526":1}}],["trying",{"2":{"323":1,"507":1}}],["try",{"2":{"50":1,"397":1,"475":1,"529":1}}],["triggered",{"2":{"355":1,"367":1}}],["triggers",{"2":{"250":1,"434":1}}],["trigger",{"0":{"39":1},"2":{"264":1,"265":1,"266":1,"487":1}}],["taskuid",{"2":{"556":1}}],["tasks",{"2":{"45":1}}],["tab",{"2":{"499":1,"508":1}}],["table",{"0":{"0":1,"147":1,"186":1,"187":1,"284":1,"285":1,"292":1,"372":1},"1":{"1":1},"2":{"81":1,"84":1,"85":1,"86":1,"89":1,"147":2,"148":1,"164":1,"177":1,"184":1,"187":1,"282":1,"285":1,"287":1,"292":2,"293":1,"304":1,"311":1,"323":1,"358":1,"363":1,"372":2,"373":1,"385":1,"435":1,"475":1,"482":1,"490":1,"498":1}}],["tar",{"2":{"447":1}}],["targets",{"2":{"376":1}}],["targeting",{"0":{"352":1},"2":{"333":1}}],["targetid",{"2":{"75":1,"191":1}}],["targeted",{"2":{"270":1}}],["target",{"0":{"240":1},"2":{"84":2,"95":1,"191":1,"262":1,"288":5,"352":1,"367":2,"387":1,"485":1,"493":1}}],["targettype",{"2":{"75":1,"191":1}}],["takeout",{"2":{"478":1}}],["taken",{"2":{"383":1,"497":1}}],["take",{"2":{"272":1,"333":1,"347":1,"351":1,"414":1,"469":1,"475":1,"501":1,"510":1,"513":1,"541":1,"551":1,"553":1,"558":1}}],["takes",{"2":{"270":1,"287":1}}],["tagging",{"0":{"234":1,"250":1},"2":{"231":1}}],["tagged",{"2":{"210":1,"272":1}}],["tag",{"2":{"231":1,"233":1,"234":1,"237":1}}],["tax",{"0":{"182":1},"2":{"182":1,"319":1}}],["tampering",{"2":{"273":1,"299":1,"540":1}}],["tamper",{"2":{"90":1,"426":1}}],["tampered",{"2":{"81":1,"87":1,"88":3,"96":1,"537":1}}],["thunderbird",{"2":{"478":1,"480":1}}],["than",{"0":{"410":2,"411":2},"2":{"258":1,"259":1,"356":1,"410":2,"411":2,"435":1,"445":1,"486":1,"526":1}}],["that",{"2":{"2":2,"52":1,"80":2,"83":1,"84":2,"87":1,"88":7,"90":1,"94":1,"122":1,"127":1,"146":1,"152":1,"153":1,"154":1,"157":1,"158":1,"160":1,"162":1,"171":1,"175":3,"180":1,"184":1,"191":2,"240":1,"268":1,"270":2,"280":1,"281":1,"299":1,"305":1,"309":1,"315":1,"317":1,"347":1,"349":2,"351":1,"353":1,"354":2,"355":1,"359":2,"364":2,"365":1,"367":2,"370":3,"381":1,"383":3,"384":1,"392":1,"393":1,"401":1,"402":1,"403":1,"404":2,"412":1,"413":2,"415":1,"416":2,"423":1,"435":1,"437":1,"438":1,"443":2,"452":1,"455":1,"463":2,"464":1,"465":1,"466":1,"470":1,"471":1,"472":1,"478":1,"481":1,"487":1,"494":2,"499":2,"500":1,"502":2,"526":1,"533":1,"534":4,"537":1,"539":4,"540":2,"541":3,"547":1,"549":1,"550":2,"551":1,"552":1,"553":1,"555":1,"556":1,"559":1,"563":1}}],["threads",{"2":{"486":1}}],["thread",{"2":{"481":1,"486":1}}],["three",{"2":{"173":1,"500":1,"504":1,"505":1}}],["throwing",{"2":{"465":1}}],["throws",{"2":{"189":1,"390":1,"464":1}}],["throughout",{"2":{"82":1}}],["through",{"2":{"82":1,"86":1,"92":1,"96":1,"156":1,"176":1,"246":1,"267":1,"306":1,"363":1,"388":1,"470":1,"477":1,"479":1,"514":1,"533":1,"534":1}}],["thousands",{"2":{"154":1,"435":1}}],["those",{"2":{"112":1,"152":1,"153":1,"174":1,"180":1,"353":1,"483":1,"485":1,"491":1}}],["this",{"2":{"30":1,"48":1,"49":1,"50":1,"78":1,"80":1,"85":1,"87":1,"88":5,"89":1,"92":1,"93":1,"94":1,"95":1,"107":1,"112":1,"115":1,"122":2,"127":1,"142":1,"147":1,"149":1,"152":1,"153":1,"155":1,"156":1,"157":1,"158":3,"162":1,"168":2,"169":2,"173":2,"175":1,"183":1,"189":1,"200":1,"202":1,"210":1,"226":1,"230":1,"231":1,"241":1,"245":1,"262":1,"267":1,"272":1,"274":1,"284":1,"291":1,"292":1,"294":1,"299":2,"304":1,"305":1,"324":1,"336":1,"341":1,"344":1,"354":1,"364":1,"365":1,"366":1,"367":1,"370":2,"372":1,"375":2,"384":1,"393":1,"400":1,"401":2,"404":2,"406":3,"410":1,"413":2,"415":1,"416":1,"418":1,"419":1,"420":1,"421":1,"422":1,"423":2,"425":1,"431":1,"435":1,"436":1,"439":1,"440":1,"441":1,"442":1,"443":1,"451":1,"452":1,"455":1,"458":1,"461":2,"467":1,"469":1,"470":2,"471":3,"472":1,"473":1,"474":1,"475":1,"476":1,"477":1,"479":1,"480":1,"481":1,"483":2,"485":1,"489":2,"492":1,"494":2,"497":3,"498":1,"499":3,"500":2,"501":1,"502":2,"505":4,"507":2,"508":1,"509":2,"510":1,"511":1,"513":1,"514":2,"517":4,"519":1,"520":1,"521":1,"523":1,"526":1,"528":1,"532":2,"533":2,"534":4,"535":4,"536":1,"537":1,"538":1,"539":2,"540":4,"544":1,"545":1,"546":2,"547":1,"548":1,"549":1,"550":2,"551":2,"552":1,"553":3,"554":1,"556":3,"558":1,"560":1,"562":1,"563":1,"564":1}}],["they",{"2":{"81":2,"146":1,"152":1,"153":1,"175":1,"246":1,"273":1,"349":1,"383":1,"404":1,"413":1,"419":1,"472":1,"483":1,"486":1,"487":1,"508":1,"537":1}}],["these",{"2":{"49":1,"53":2,"155":1,"404":1,"416":1,"480":1,"507":1,"521":1,"524":1,"533":2,"537":2,"542":1,"549":1,"551":1,"562":1}}],["there",{"2":{"45":1,"88":1,"156":1,"486":1,"529":1}}],["their",{"2":{"24":1,"152":1,"175":1,"245":1,"273":1,"304":1,"353":1,"359":1,"383":1,"481":1,"483":1,"487":1,"492":1,"494":1,"498":1,"502":1,"508":1,"510":1,"536":1,"561":1}}],["then",{"2":{"15":1,"16":1,"165":1,"413":1,"451":1,"469":1,"478":1,"490":1,"510":2,"513":1,"534":1,"555":1}}],["theme",{"0":{"545":1},"2":{"542":1,"545":3}}],["themselves",{"2":{"153":1}}],["them",{"2":{"2":1,"97":1,"145":1,"146":1,"153":1,"181":1,"192":1,"359":1,"423":1,"437":1,"441":1,"471":1,"510":1,"535":1,"537":1,"551":1,"552":1}}],["the",{"0":{"157":1,"173":1,"449":1,"457":1,"460":1,"468":1,"488":1,"512":1,"516":1,"528":1,"529":1,"538":1,"558":1},"1":{"450":1,"451":1,"452":1,"461":1,"539":1,"540":1},"2":{"2":4,"6":1,"14":1,"15":1,"16":1,"17":4,"18":1,"30":2,"31":2,"32":1,"33":1,"43":2,"48":3,"49":4,"50":2,"51":5,"52":11,"53":1,"56":2,"59":1,"61":2,"72":2,"74":10,"76":2,"78":4,"79":2,"80":14,"81":19,"82":7,"83":2,"84":15,"85":3,"86":2,"87":6,"88":14,"89":5,"90":3,"91":2,"92":3,"93":1,"94":3,"95":4,"96":7,"97":3,"99":1,"102":2,"103":1,"104":1,"105":1,"107":1,"108":3,"109":2,"112":3,"114":2,"115":3,"117":4,"118":2,"122":4,"123":2,"124":2,"125":2,"127":3,"130":2,"132":1,"133":3,"134":2,"135":2,"137":2,"138":1,"139":2,"140":4,"143":1,"145":1,"146":2,"147":11,"148":4,"149":3,"150":2,"151":4,"152":4,"153":7,"154":1,"155":3,"156":8,"157":2,"158":4,"160":2,"161":3,"162":6,"163":6,"165":17,"167":3,"168":7,"169":2,"170":5,"171":2,"173":6,"174":1,"175":6,"176":5,"177":5,"178":5,"180":3,"181":1,"182":2,"184":1,"186":2,"187":4,"189":3,"190":2,"191":1,"192":3,"197":2,"198":1,"199":2,"202":1,"203":2,"204":2,"205":3,"207":2,"209":2,"210":3,"212":3,"214":1,"215":2,"216":1,"218":2,"219":2,"220":2,"224":1,"225":2,"228":2,"230":1,"239":2,"240":1,"241":2,"242":2,"243":2,"246":1,"248":1,"250":1,"253":1,"255":2,"258":1,"262":3,"267":3,"268":2,"270":2,"272":7,"274":1,"275":3,"276":4,"282":2,"284":2,"285":7,"287":3,"290":1,"292":11,"293":3,"294":3,"296":3,"297":3,"298":1,"299":3,"300":5,"301":3,"302":1,"303":3,"304":5,"305":3,"306":1,"307":4,"308":8,"309":2,"318":2,"320":1,"322":3,"323":2,"324":2,"325":1,"326":4,"330":2,"331":1,"332":2,"333":3,"336":1,"337":2,"338":2,"339":3,"340":2,"342":2,"343":1,"344":1,"347":3,"348":1,"349":2,"351":5,"353":1,"354":3,"355":5,"356":7,"357":5,"358":3,"359":3,"362":5,"363":4,"364":17,"365":9,"366":2,"367":5,"369":2,"370":4,"371":1,"372":10,"373":5,"374":3,"375":4,"376":6,"378":1,"379":5,"380":3,"381":1,"382":2,"383":6,"384":4,"385":2,"386":2,"387":3,"388":3,"390":4,"391":2,"392":4,"393":12,"394":1,"395":6,"397":2,"398":2,"399":7,"401":7,"402":7,"403":2,"404":8,"405":1,"406":1,"407":2,"408":3,"409":3,"410":2,"411":2,"412":1,"413":2,"414":2,"415":5,"416":1,"417":2,"419":3,"420":1,"422":1,"423":3,"425":1,"427":4,"429":1,"430":4,"431":3,"432":3,"434":2,"435":8,"436":3,"437":8,"439":1,"440":2,"441":4,"442":1,"443":4,"444":7,"445":4,"446":2,"447":2,"448":1,"449":1,"450":9,"451":5,"452":6,"453":2,"455":6,"456":4,"457":3,"458":5,"459":8,"460":4,"461":5,"462":2,"463":5,"464":6,"465":6,"466":4,"468":4,"469":20,"470":1,"471":14,"472":2,"473":5,"474":5,"475":16,"476":1,"477":1,"478":1,"479":12,"480":5,"482":11,"483":15,"484":1,"485":11,"486":9,"487":2,"488":3,"489":8,"490":5,"491":12,"492":7,"493":4,"494":4,"495":1,"496":9,"497":11,"498":17,"499":9,"500":14,"501":12,"502":4,"503":1,"504":7,"505":12,"507":21,"508":16,"509":13,"510":13,"512":4,"513":20,"514":2,"516":1,"517":7,"518":4,"519":8,"520":3,"521":5,"523":12,"524":19,"525":8,"526":8,"527":2,"528":8,"529":9,"530":1,"531":7,"532":1,"533":12,"534":13,"535":13,"536":3,"537":9,"538":2,"539":10,"540":6,"541":8,"542":2,"544":7,"545":4,"548":5,"549":6,"550":8,"551":5,"552":3,"553":5,"554":8,"555":3,"556":13,"557":4,"558":12,"559":7,"560":1,"561":3,"562":7,"563":3,"564":2}}],["top",{"2":{"497":1,"507":1,"533":1}}],["toggle",{"2":{"370":1,"375":2,"378":1}}],["together",{"2":{"183":1,"524":1}}],["toast",{"2":{"163":1}}],["tolerance",{"2":{"155":1}}],["total",{"2":{"75":1,"435":2,"439":1}}],["toolkit",{"2":{"443":1}}],["tool",{"2":{"344":1,"381":1,"383":1,"541":1}}],["tools",{"2":{"145":1,"290":1,"371":1}}],["too",{"2":{"49":1,"50":1}}],["tokens",{"2":{"31":1,"519":1,"526":2}}],["token",{"2":{"15":1,"17":1,"399":1,"548":1}}],["to",{"0":{"129":1,"133":1,"161":1,"165":1,"174":1,"218":1,"306":1,"423":1,"460":1,"470":1,"473":1,"474":1,"479":1,"484":1,"485":1,"494":1,"502":1,"535":2,"541":1,"554":1},"1":{"130":1,"131":1,"132":1,"134":1,"135":1,"136":1,"137":1,"138":1,"219":1,"220":1,"221":1,"222":1,"223":1,"307":1,"308":1,"309":1,"461":1,"471":1,"472":1,"473":1,"474":1,"475":1,"495":1,"496":1,"497":1,"498":1,"499":1,"500":1,"501":1,"503":1,"504":1,"505":1,"506":1,"507":1,"508":1,"509":1,"510":1},"2":{"1":3,"2":2,"17":1,"30":1,"31":2,"33":1,"48":1,"49":1,"51":2,"52":2,"53":1,"61":1,"72":1,"74":7,"76":1,"80":4,"81":2,"82":1,"83":2,"85":1,"86":1,"87":3,"90":2,"91":2,"92":2,"93":1,"94":2,"95":2,"96":1,"97":2,"102":1,"105":2,"109":1,"110":3,"112":1,"114":1,"117":1,"118":1,"120":1,"122":3,"125":1,"129":1,"133":2,"135":1,"138":1,"139":1,"140":1,"142":1,"143":1,"146":1,"147":2,"148":1,"149":1,"150":2,"151":1,"152":1,"153":3,"155":1,"156":4,"160":1,"162":1,"165":4,"168":1,"170":1,"171":2,"173":1,"174":1,"176":2,"177":1,"178":1,"180":1,"181":1,"182":1,"183":3,"186":2,"187":2,"191":1,"192":2,"195":1,"197":1,"200":1,"204":1,"205":2,"207":2,"209":1,"210":2,"214":1,"218":1,"220":1,"223":1,"226":1,"230":3,"231":1,"233":2,"234":4,"236":2,"237":2,"239":1,"240":1,"242":1,"245":2,"246":3,"250":2,"255":1,"258":1,"259":4,"265":1,"266":1,"267":2,"268":3,"271":1,"272":3,"273":2,"274":1,"278":3,"279":3,"281":2,"284":2,"285":3,"289":1,"290":1,"291":1,"292":3,"293":1,"294":1,"295":1,"297":1,"298":2,"299":2,"300":1,"301":1,"303":1,"304":2,"305":2,"306":1,"307":1,"309":1,"314":1,"315":3,"320":1,"322":1,"323":2,"324":2,"325":2,"326":1,"330":1,"333":6,"338":1,"339":3,"342":1,"347":1,"349":1,"351":1,"352":1,"353":3,"354":1,"355":1,"356":1,"357":1,"362":2,"363":1,"364":2,"365":3,"366":2,"367":1,"368":1,"372":1,"373":1,"374":1,"375":2,"376":3,"379":1,"380":1,"382":3,"384":1,"385":1,"388":2,"390":1,"392":1,"394":1,"397":1,"398":2,"400":2,"401":5,"402":6,"404":3,"406":2,"407":2,"408":1,"410":1,"411":1,"413":7,"415":2,"416":6,"417":2,"418":1,"419":3,"420":1,"422":2,"423":4,"425":1,"426":1,"427":5,"428":1,"429":7,"430":3,"435":1,"436":1,"437":1,"439":1,"440":1,"441":1,"443":1,"444":3,"445":1,"446":1,"447":3,"448":1,"449":1,"450":1,"451":2,"452":2,"453":1,"455":4,"456":1,"458":1,"459":3,"460":1,"461":3,"463":1,"464":1,"465":1,"466":1,"467":1,"468":4,"469":3,"470":1,"471":6,"472":5,"473":2,"474":4,"475":4,"476":4,"478":5,"479":4,"480":2,"481":1,"482":2,"483":4,"484":1,"485":2,"486":2,"490":1,"491":2,"493":2,"494":3,"496":1,"497":3,"498":2,"499":4,"500":4,"501":6,"502":2,"503":1,"505":6,"507":11,"508":5,"509":4,"510":4,"511":1,"512":3,"513":3,"516":1,"517":2,"518":2,"519":2,"520":3,"521":5,"523":5,"524":2,"525":1,"526":1,"527":1,"529":3,"530":5,"531":2,"532":4,"533":3,"534":3,"535":10,"536":1,"537":2,"540":3,"541":3,"542":2,"546":2,"548":1,"549":2,"550":4,"551":2,"552":2,"553":3,"554":9,"556":3,"558":5,"559":2,"560":1,"562":1,"563":2,"564":1}}],["glance",{"2":{"538":1}}],["global",{"0":{"420":1},"2":{"364":1,"397":1,"495":1,"542":1}}],["gap",{"2":{"484":1}}],["gz",{"2":{"447":1}}],["git",{"2":{"515":1,"516":1,"531":1}}],["github",{"2":{"430":1,"516":1,"561":1}}],["give",{"2":{"419":1,"471":1,"473":1,"497":1,"500":1,"505":1,"509":1,"534":1}}],["gives",{"2":{"275":1}}],["given",{"2":{"112":1,"115":1,"123":1,"124":1,"207":1,"212":1,"340":1,"343":1,"384":1,"392":1}}],["gmail",{"0":{"473":1},"2":{"426":1,"471":1,"472":1,"478":1,"480":2,"505":1,"508":1}}],["greek",{"2":{"544":1}}],["green",{"0":{"314":1},"2":{"292":1,"296":1,"498":1,"539":1}}],["greater",{"0":{"411":2},"2":{"411":2}}],["grouped",{"2":{"352":1}}],["group",{"0":{"394":1,"488":1,"490":1,"492":1},"2":{"334":1,"372":1,"376":1,"393":1,"394":1,"398":1,"482":2,"483":2,"486":3,"488":2,"489":3,"490":2,"491":2,"492":2,"493":1}}],["groups",{"2":{"268":1,"481":1}}],["graph",{"2":{"494":1,"498":1,"501":2}}],["grained",{"2":{"404":1}}],["granularly",{"2":{"416":1}}],["granular",{"2":{"400":1,"427":1}}],["granted",{"2":{"401":1,"404":1,"416":1}}],["grants",{"2":{"186":1,"402":1,"413":1,"418":1,"420":1,"421":1,"423":2,"472":1,"494":1,"502":1}}],["grant",{"0":{"498":1,"508":1},"2":{"152":1,"406":1,"408":1,"412":1,"413":3,"422":1,"498":3,"505":1}}],["granting",{"2":{"147":1,"496":1}}],["gray",{"0":{"315":1},"2":{"147":1,"292":1,"323":1}}],["grade",{"2":{"90":1,"171":1,"268":1,"349":1}}],["gracefully",{"2":{"52":1,"246":1}}],["guessing",{"2":{"549":1}}],["guarantees",{"2":{"455":1}}],["guard",{"0":{"189":1,"370":1},"2":{"184":1,"189":1,"364":1,"370":2}}],["guards",{"2":{"184":1,"282":1,"358":1,"396":1}}],["guidelines",{"2":{"468":1,"512":1}}],["guide",{"0":{"145":1,"230":1,"290":1,"471":1,"514":1},"1":{"146":1,"147":1,"148":1,"149":1,"150":1,"151":1,"152":1,"153":1,"154":1,"155":1,"156":1,"157":1,"158":1,"159":1,"160":1,"161":1,"162":1,"163":1,"164":1,"165":1,"166":1,"167":1,"168":1,"169":1,"170":1,"231":1,"232":1,"233":1,"234":1,"235":1,"236":1,"237":1,"238":1,"239":1,"240":1,"241":1,"242":1,"243":1,"244":1,"245":1,"246":1,"247":1,"248":1,"249":1,"250":1,"251":1,"252":1,"253":1,"254":1,"255":1,"256":1,"257":1,"258":1,"259":1,"260":1,"261":1,"262":1,"263":1,"264":1,"265":1,"266":1,"267":1,"291":1,"292":1,"293":1,"294":1,"295":1,"296":1,"297":1,"298":1,"299":1,"300":1,"301":1,"302":1,"303":1,"304":1,"305":1,"306":1,"307":1,"308":1,"309":1,"310":1,"311":1,"312":1,"313":1,"314":1,"315":1,"316":1,"317":1,"318":1,"319":1,"320":1,"321":1,"322":1,"323":1,"324":1,"325":1,"515":1,"516":1,"517":1,"518":1,"519":1,"520":1,"521":1,"522":1,"523":1,"524":1,"525":1,"526":1,"527":1,"528":1,"529":1,"530":1,"531":1,"532":1,"533":1,"534":1,"535":1},"2":{"31":1,"230":1,"400":1,"425":1,"428":2,"470":1,"477":1,"494":1,"502":1,"514":1,"536":1,"547":1,"559":1,"560":1,"564":1}}],["guides",{"0":{"1":1},"2":{"429":1,"476":1}}],["going",{"2":{"535":1}}],["go",{"2":{"469":1,"471":1,"473":1,"474":1,"497":1,"500":2,"505":1,"507":1,"508":2,"509":1,"513":1}}],["governs",{"2":{"489":1}}],["governed",{"2":{"351":1}}],["governance",{"2":{"349":1}}],["governingrule",{"2":{"364":1,"367":1}}],["governing",{"2":{"270":1,"355":1}}],["govern",{"2":{"146":1,"292":1,"315":1}}],["gobd",{"0":{"177":1,"489":1},"2":{"90":1,"122":1,"156":1,"177":1,"483":1,"489":1}}],["googleapis",{"2":{"508":2}}],["google",{"0":{"502":1,"505":1},"1":{"503":1,"504":1,"505":1,"506":1,"507":1,"508":1,"509":1,"510":1},"2":{"1":1,"33":1,"426":1,"427":1,"429":1,"457":1,"473":2,"476":1,"478":1,"484":2,"487":1,"502":2,"503":2,"504":2,"505":2,"507":2,"508":5,"509":3,"510":1,"530":1}}],["g",{"2":{"74":1,"81":1,"120":1,"165":1,"174":1,"237":1,"278":1,"280":1,"319":1,"345":1,"364":2,"365":1,"382":2,"395":1,"451":1,"452":1,"455":1,"457":1,"463":1,"469":1,"479":1,"500":1,"505":2,"509":2,"513":1,"517":1,"523":1,"525":1,"549":1}}],["gt",{"2":{"16":1,"17":1,"334":1,"377":1,"463":1,"464":1,"465":1,"466":1,"497":2,"505":3,"507":2,"508":2}}],["german",{"2":{"90":1,"544":1}}],["general",{"2":{"280":1,"445":1,"478":1}}],["generation",{"2":{"80":1}}],["generating",{"2":{"80":1}}],["generated",{"2":{"186":1,"284":1,"385":1,"474":1,"496":1,"504":1,"509":1,"534":1,"538":1}}],["generate",{"0":{"3":1},"2":{"2":1,"17":1,"191":1,"239":1,"288":1,"472":1,"473":1,"505":1,"507":1,"519":2}}],["generic",{"0":{"470":1},"1":{"471":1,"472":1,"473":1,"474":1,"475":1},"2":{"1":1,"426":1,"429":1,"471":1,"476":1,"530":1}}],["getmeili",{"2":{"554":2}}],["getpolicybyid",{"0":{"389":1}}],["getpolicies",{"0":{"388":1}}],["getting",{"0":{"245":1,"267":1}}],["gettime",{"2":{"80":1}}],["get",{"0":{"8":1,"19":1,"20":1,"21":1,"22":1,"23":1,"27":1,"36":1,"47":1,"57":1,"66":1,"69":1,"73":1,"101":1,"129":1,"196":1,"214":1,"329":1,"425":1,"464":1},"1":{"74":1,"75":1,"102":1,"103":1,"130":1,"131":1,"132":1,"197":1,"198":1,"215":1,"216":1,"217":1,"330":1,"331":1,"426":1,"427":1,"428":1,"429":1,"430":1},"2":{"1":1,"56":1,"73":2,"99":2,"101":2,"102":1,"129":2,"194":2,"196":2,"197":1,"214":2,"240":3,"241":1,"243":1,"245":1,"327":2,"329":2,"330":1,"425":1,"428":1,"476":1,"501":1,"508":1,"510":1}}]],"serializationVersion":2}';export{e as default}; diff --git a/assets/chunks/VPLocalSearchBox.BV0hXMa1.js b/assets/chunks/VPLocalSearchBox.DoKgPKr6.js similarity index 99% rename from assets/chunks/VPLocalSearchBox.BV0hXMa1.js rename to assets/chunks/VPLocalSearchBox.DoKgPKr6.js index b8fa3d8..46b9bbf 100644 --- a/assets/chunks/VPLocalSearchBox.BV0hXMa1.js +++ b/assets/chunks/VPLocalSearchBox.DoKgPKr6.js @@ -1,4 +1,4 @@ -var Nt=Object.defineProperty;var Ft=(a,e,t)=>e in a?Nt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Ce=(a,e,t)=>Ft(a,typeof e!="symbol"?e+"":e,t);import{V as Ot,D as le,h as ge,a4 as et,aL as Rt,aM as Ct,aN as Mt,q as $e,aO as At,d as Lt,aP as tt,p as he,aQ as Dt,aR as Pt,s as zt,aS as Vt,v as Me,P as fe,O as _e,aT as $t,aU as jt,W as Bt,R as Wt,$ as Kt,b as Jt,o as H,j as _,a0 as Ut,at as qt,k as L,av as Gt,a5 as Ht,c as Z,e as Se,n as st,B as nt,F as it,a as pe,t as ve,am as Qt,as as rt,aV as Yt,aB as Zt,aG as Xt,aW as es,_ as ts}from"./framework.DHqKNX4U.js";import{u as ss,c as ns}from"./theme.W2NStNbJ.js";const is={root:()=>Ot(()=>import("./@localSearchIndexroot.DlAxI0nG.js"),[])};/*! +var Nt=Object.defineProperty;var Ft=(a,e,t)=>e in a?Nt(a,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):a[e]=t;var Ce=(a,e,t)=>Ft(a,typeof e!="symbol"?e+"":e,t);import{V as Ot,D as le,h as ge,a4 as et,aL as Rt,aM as Ct,aN as Mt,q as $e,aO as At,d as Lt,aP as tt,p as he,aQ as Dt,aR as Pt,s as zt,aS as Vt,v as Me,P as fe,O as _e,aT as $t,aU as jt,W as Bt,R as Wt,$ as Kt,b as Jt,o as H,j as _,a0 as Ut,at as qt,k as L,av as Gt,a5 as Ht,c as Z,e as Se,n as st,B as nt,F as it,a as pe,t as ve,am as Qt,as as rt,aV as Yt,aB as Zt,aG as Xt,aW as es,_ as ts}from"./framework.DHqKNX4U.js";import{u as ss,c as ns}from"./theme.DMwvsXz4.js";const is={root:()=>Ot(()=>import("./@localSearchIndexroot.DlbI2vL1.js"),[])};/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var vt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],ke=vt.join(","),mt=typeof Element>"u",re=mt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ne=!mt&&Element.prototype.getRootNode?function(a){var e;return a==null||(e=a.getRootNode)===null||e===void 0?void 0:e.call(a)}:function(a){return a==null?void 0:a.ownerDocument},Fe=function a(e,t){var s;t===void 0&&(t=!0);var n=e==null||(s=e.getAttribute)===null||s===void 0?void 0:s.call(e,"inert"),r=n===""||n==="true",i=r||t&&e&&a(e.parentNode);return i},rs=function(e){var t,s=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return s===""||s==="true"},gt=function(e,t,s){if(Fe(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(ke));return t&&re.call(e,ke)&&n.unshift(e),n=n.filter(s),n},bt=function a(e,t,s){for(var n=[],r=Array.from(e);r.length;){var i=r.shift();if(!Fe(i,!1))if(i.tagName==="SLOT"){var o=i.assignedElements(),l=o.length?o:i.children,c=a(l,!0,s);s.flatten?n.push.apply(n,c):n.push({scopeParent:i,candidates:c})}else{var h=re.call(i,ke);h&&s.filter(i)&&(t||!e.includes(i))&&n.push(i);var m=i.shadowRoot||typeof s.getShadowRoot=="function"&&s.getShadowRoot(i),f=!Fe(m,!1)&&(!s.shadowRootFilter||s.shadowRootFilter(i));if(m&&f){var b=a(m===!0?i.children:m.children,!0,s);s.flatten?n.push.apply(n,b):n.push({scopeParent:i,candidates:b})}else r.unshift.apply(r,i.children)}}return n},yt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},ie=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||rs(e))&&!yt(e)?0:e.tabIndex},as=function(e,t){var s=ie(e);return s<0&&t&&!yt(e)?0:s},os=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},wt=function(e){return e.tagName==="INPUT"},ls=function(e){return wt(e)&&e.type==="hidden"},cs=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(s){return s.tagName==="SUMMARY"});return t},us=function(e,t){for(var s=0;ssummary:first-of-type"),i=r?e.parentElement:e;if(re.call(i,"details:not([open]) *"))return!0;if(!s||s==="full"||s==="legacy-full"){if(typeof n=="function"){for(var o=e;e;){var l=e.parentElement,c=Ne(e);if(l&&!l.shadowRoot&&n(l)===!0)return at(e);e.assignedSlot?e=e.assignedSlot:!l&&c!==e.ownerDocument?e=c.host:e=l}e=o}if(ps(e))return!e.getClientRects().length;if(s!=="legacy-full")return!0}else if(s==="non-zero-area")return at(e);return!1},ms=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var s=0;s=0)},bs=function a(e){var t=[],s=[];return e.forEach(function(n,r){var i=!!n.scopeParent,o=i?n.scopeParent:n,l=as(o,i),c=i?a(n.candidates):o;l===0?i?t.push.apply(t,c):t.push(o):s.push({documentOrder:r,tabIndex:l,item:n,isScope:i,content:c})}),s.sort(os).reduce(function(n,r){return r.isScope?n.push.apply(n,r.content):n.push(r.content),n},[]).concat(t)},ys=function(e,t){t=t||{};var s;return t.getShadowRoot?s=bt([e],t.includeContainer,{filter:je.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:gs}):s=gt(e,t.includeContainer,je.bind(null,t)),bs(s)},ws=function(e,t){t=t||{};var s;return t.getShadowRoot?s=bt([e],t.includeContainer,{filter:Oe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):s=gt(e,t.includeContainer,Oe.bind(null,t)),s},ae=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return re.call(e,ke)===!1?!1:je(t,e)},xs=vt.concat("iframe").join(","),Ae=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return re.call(e,xs)===!1?!1:Oe(t,e)};/*! diff --git a/assets/chunks/theme.W2NStNbJ.js b/assets/chunks/theme.DMwvsXz4.js similarity index 93% rename from assets/chunks/theme.W2NStNbJ.js rename to assets/chunks/theme.DMwvsXz4.js index 55f0bcd..68f17de 100644 --- a/assets/chunks/theme.W2NStNbJ.js +++ b/assets/chunks/theme.DMwvsXz4.js @@ -1,10 +1,10 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.BV0hXMa1.js","assets/chunks/framework.DHqKNX4U.js","assets/chunks/angular-html-DPB4Rf0C.DESgnZjY.js","assets/chunks/html-B50bmoVb.5itfvePp.js","assets/chunks/javascript-C25yR2R2.wDzz0qaB.js","assets/chunks/css-CECN5uSL.DPfMkruS.js","assets/chunks/angular-ts-CTOR2ofC.ClihVIms.js","assets/chunks/scss-B1FaCqwR.Ck2k-5yS.js","assets/chunks/apl-CjNiDgad.By2JoYGR.js","assets/chunks/xml-C2J0sS9M.D2gdfNFA.js","assets/chunks/java-DY6VlHhP.CylS5w8V.js","assets/chunks/json-DxJze_jm.Cp-IABpG.js","assets/chunks/astro-CFFExE8Q.D2C4GZx1.js","assets/chunks/typescript-RycA9KXf.BPQ3VLAy.js","assets/chunks/postcss-05aHdL-n.CXtECtnM.js","assets/chunks/tsx-B8rCNbgL.COt5Ahok.js","assets/chunks/blade-D0HyNvCw.B22AUbhu.js","assets/chunks/html-derivative-C6bxFbFW.Mh7OQFDx.js","assets/chunks/sql-Cn_v3PB0.BLtJtn59.js","assets/chunks/bsl-NkNNwerW.Bi1psIsY.js","assets/chunks/sdbl-B7T8abf4.DVxCFoDh.js","assets/chunks/cairo-DM6WF2e3.D1_L8Xgr.js","assets/chunks/python-BFNSHbwJ.B6aJPvgy.js","assets/chunks/cobol-DBolczTz.B27wNAoL.js","assets/chunks/coffee-DGBR_nr_.C_2Gbh_i.js","assets/chunks/cpp-Cj177cuW.De-5Ift6.js","assets/chunks/regexp-BazyLpPg.CDVJQ6XC.js","assets/chunks/glsl-CkUcVZNK.CSaOZ92O.js","assets/chunks/c-eeMepfLm.BIGW1oBm.js","assets/chunks/crystal-CRJyc4G-.Cv5qkeAc.js","assets/chunks/shellscript-InADTalH.Yzrsuije.js","assets/chunks/edge-BYQkOzbF.BlTtajtD.js","assets/chunks/elixir-Dh036GMp.Bt_17l8z.js","assets/chunks/elm-BtNbw_Cd.CXIbmfSn.js","assets/chunks/erb-ScVOXVpH.DBtFm1BM.js","assets/chunks/ruby-BeqCs27h.B7Un6byt.js","assets/chunks/haml-NZLVzu_R.CwCNWgR-.js","assets/chunks/graphql-CBu2ehBn.DnJ3pOcc.js","assets/chunks/jsx-BtKADgXT.g9-lgVsj.js","assets/chunks/lua-Bp3IRv7I.Dsg1hLJt.js","assets/chunks/yaml-DaO7k5B1.Buea-lGh.js","assets/chunks/erlang-DNcDT8Hi.BZf5DRJy.js","assets/chunks/markdown-CrScaQ96.Cvjx9yec.js","assets/chunks/fortran-fixed-form-B67KFkXH.CDH49byh.js","assets/chunks/fortran-free-form-CwqYvCLJ.BxgE0vQu.js","assets/chunks/fsharp-CYOiIVNx.CQbQ22yi.js","assets/chunks/gdresource-CvCIUjhi.BN-sfLSk.js","assets/chunks/gdshader-Bk8fF6yr.DkwncUOv.js","assets/chunks/gdscript-DSAxJ_aS.C5YyOfLZ.js","assets/chunks/git-commit-Bd32YZ0K.B_zh-QqN.js","assets/chunks/diff-BxzP2J8R.D97Zzqfu.js","assets/chunks/git-rebase-ZWUFO_T4.C1umF-NW.js","assets/chunks/glimmer-js-DkxNrfPT.B-b35-8d.js","assets/chunks/glimmer-ts-D6YZEmK_.Se2tVUnQ.js","assets/chunks/hack-ItRNKiEb.CGIm0b5K.js","assets/chunks/handlebars-mxStpSE7.B6AqvhLx.js","assets/chunks/http-DLvAkeD-.B-3JyST8.js","assets/chunks/hurl-CgkFN90t.Ciy-8C2E.js","assets/chunks/csv-CmYOceLb.Co7V7EpZ.js","assets/chunks/hxml-GbqSQCLa.CZX2AIRF.js","assets/chunks/haxe-TztHsm5T.CzTSHFRz.js","assets/chunks/jinja-CFW5uAwY.ByuzBqu1.js","assets/chunks/jison-DdreslRX.nxeSEs3j.js","assets/chunks/julia-CZiKXNNP.BkVwBpLe.js","assets/chunks/r-CSmzDPi7.Dspwwk_N.js","assets/chunks/just-CEK2SJ_k.BwuhYwfc.js","assets/chunks/perl-DkVrgJBg.XkcgxGZs.js","assets/chunks/latex-B8Egmqc5.DuG8MMkm.js","assets/chunks/tex-AHxmLTL0.CvqJy4qb.js","assets/chunks/liquid-CHzkx3jT.B1uKXIcK.js","assets/chunks/marko-CJBA24Ri.CEUdhXun.js","assets/chunks/less-B1GLI2Di.B1dDrJ26.js","assets/chunks/mdc-C9YSUwVC.QDiAWeOc.js","assets/chunks/nextflow-47kAzSl1.DTaQeSIP.js","assets/chunks/nextflow-groovy-Drz_2V0j.BeH2EWoN.js","assets/chunks/nginx-D7O4WoB1.BLs5wP_5.js","assets/chunks/nim-QAjRdh9w.BmsfyvWw.js","assets/chunks/php-BIzsF_5x.BVktt7F6.js","assets/chunks/pug-XOw9Q1Ho.DbVWXRvf.js","assets/chunks/qml-rTNXsquU.D7cb-65z.js","assets/chunks/razor-Ci8D0dQK.DUnMO2ts.js","assets/chunks/csharp-CCgA4A09.COcwbKMJ.js","assets/chunks/rst-DM32Wy3O.n0qpWXJ4.js","assets/chunks/cmake-BJz8BOTU.D1j8_8rp.js","assets/chunks/sas-fpEvgATw.DGFTbZf0.js","assets/chunks/shaderlab-Cr62-Wb4.Dg-YLyZM.js","assets/chunks/hlsl-Bk8TCZNL.D3lLCCz7.js","assets/chunks/shellsession-DiDJNQdy.6b8mv5tD.js","assets/chunks/soy-C1-6njHa.bBoLPmyR.js","assets/chunks/sparql-B0KWFEri.C0kn9QnI.js","assets/chunks/turtle-_H59FV7D.BsS91CYL.js","assets/chunks/stata-B8c5fTjX.B5gLgQfq.js","assets/chunks/surrealql-CQi7GQN7.DwxZRr_q.js","assets/chunks/svelte-rYri41WT.DUX-c_w_.js","assets/chunks/templ-Crs9Ui8q.DWxMd01m.js","assets/chunks/go-CvFNMTvu.CxLEBnE3.js","assets/chunks/ts-tags-BUclWxCG.CZyjpXn1.js","assets/chunks/twig-DwV2Fi4L.Cs5KKVgC.js","assets/chunks/vue-DXEmyXn9.BYsJrqyF.js","assets/chunks/vue-html-j9xNEdu3.pBkLY7_g.js","assets/chunks/vue-vine-D41-N99t.DPWpdtYA.js","assets/chunks/stylus-CyKEU1Ej.BEDo0Tqx.js","assets/chunks/xsl-BmSZphgC.jxtCyhIJ.js"])))=>i.map(i=>d[i]); -var QV=Object.defineProperty;var ZV=Object.getPrototypeOf;var XV=Reflect.get;var xO=e=>{throw TypeError(e)};var YV=(e,t,r)=>t in e?QV(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Re=(e,t,r)=>YV(e,typeof t!="symbol"?t+"":t,r),Qx=(e,t,r)=>t.has(e)||xO("Cannot "+r);var is=(e,t,r)=>(Qx(e,t,"read from private field"),r?r.call(e):t.get(e)),Xc=(e,t,r)=>t.has(e)?xO("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ka=(e,t,r,n)=>(Qx(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),Zx=(e,t,r)=>(Qx(e,t,"access private method"),r);var kO=(e,t,r)=>XV(ZV(e),r,t);import{d as Te,c as K,r as pe,n as Lt,a as Vt,t as ze,o as E,b as ve,w as U,T as nC,e as je,_ as yr,u as eU,i as tU,f as rU,g as oC,h as le,j as ue,k as S,l as Yd,m as l_,p as Oe,q as cr,s as Lo,v as Oo,x as nd,y as _h,z as LL,A as nU,F as dt,B as zt,C as od,D as La,E as pw,G as ye,H as NL,I as si,J as fw,K as jr,L as _i,M as oU,N as Sh,O as c_,P as Io,Q as RL,R as hw,S as mw,U as sU,V as ce,W as BL,X as wp,Y as qL,Z as ep,$ as Ch,a0 as la,a1 as el,a2 as zL,a3 as FL,a4 as os,a5 as yc,a6 as Vc,a7 as gw,a8 as VL,a9 as UL,aa as HL,ab as Sd,ac as sC,ad as Mn,ae as Ln,af as xp,ag as iU,ah as _l,ai as jO,aj as Uc,ak as aU,al as WL,am as GL,an as lU,ao as cU,ap as uU,aq as dU,ar as pU,as as fU,at as u_,au as _O,av as hU,aw as mU,ax as gU}from"./framework.DHqKNX4U.js";const vU=Te({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,r)=>(E(),K("span",{class:Lt(["VPBadge",t.type])},[pe(t.$slots,"default",{},()=>[Vt(ze(t.text),1)])],2))}}),yU={key:0,class:"VPBackdrop"},bU=Te({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,r)=>(E(),ve(nC,{name:"fade"},{default:U(()=>[t.show?(E(),K("div",yU)):je("",!0)]),_:1}))}}),wU=yr(bU,[["__scopeId","data-v-c421aa49"]]),Yr=eU;function xU(e,t){let r,n=!1;return()=>{r&&clearTimeout(r),n?r=setTimeout(e,t):(e(),(n=!0)&&setTimeout(()=>n=!1,t))}}function d_(e){return e.startsWith("/")?e:`/${e}`}function iC(e){const{pathname:t,search:r,hash:n,protocol:o}=new URL(e,"http://a.com");if(tU(e)||e.startsWith("#")||!o.startsWith("http")||!rU(t))return e;const{site:s}=Yr(),i=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,s.value.cleanUrls?"":".html")}${r}${n}`);return oC(i)}function pv({correspondingLink:e=!1}={}){const{site:t,localeIndex:r,page:n,theme:o,hash:s}=Yr(),i=le(()=>{var l,c;return{label:(l=t.value.locales[r.value])==null?void 0:l.label,link:((c=t.value.locales[r.value])==null?void 0:c.link)||(r.value==="root"?"/":`/${r.value}/`)}});return{localeLinks:le(()=>Object.entries(t.value.locales).flatMap(([l,c])=>i.value.label===c.label?[]:{text:c.label,link:kU(c.link||(l==="root"?"/":`/${l}/`),o.value.i18nRouting!==!1&&e,n.value.relativePath.slice(i.value.link.length-1),!t.value.cleanUrls)+s.value})),currentLang:i}}function kU(e,t,r,n){return t?e.replace(/\/$/,"")+d_(r.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const jU={class:"NotFound"},_U={class:"code"},SU={class:"title"},CU={class:"quote"},AU={class:"action"},EU=["href","aria-label"],OU=Te({__name:"NotFound",setup(e){const{theme:t}=Yr(),{currentLang:r}=pv();return(n,o)=>{var s,i,a,l,c;return E(),K("div",jU,[ue("p",_U,ze(((s=S(t).notFound)==null?void 0:s.code)??"404"),1),ue("h1",SU,ze(((i=S(t).notFound)==null?void 0:i.title)??"PAGE NOT FOUND"),1),o[0]||(o[0]=ue("div",{class:"divider"},null,-1)),ue("blockquote",CU,ze(((a=S(t).notFound)==null?void 0:a.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),ue("div",AU,[ue("a",{class:"link",href:S(oC)(S(r).link),"aria-label":((l=S(t).notFound)==null?void 0:l.linkLabel)??"go to home"},ze(((c=S(t).notFound)==null?void 0:c.linkText)??"Take me home"),9,EU)])])}}}),$U=yr(OU,[["__scopeId","data-v-ec86ced4"]]);function JL(e,t){if(Array.isArray(e))return J0(e);if(e==null)return[];t=d_(t);const r=Object.keys(e).sort((o,s)=>s.split("/").length-o.split("/").length).find(o=>t.startsWith(d_(o))),n=r?e[r]:[];return Array.isArray(n)?J0(n):J0(n.items,n.base)}function TU(e){const t=[];let r=0;for(const n in e){const o=e[n];if(o.items){r=t.push(o);continue}t[r]||t.push({items:[]}),t[r].items.push(o)}return t}function PU(e){const t=[];function r(n){for(const o of n)o.text&&o.link&&t.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&r(o.items)}return r(e),t}function p_(e,t){return Array.isArray(t)?t.some(r=>p_(e,r)):Yd(e,t.link)?!0:t.items?p_(e,t.items):!1}function J0(e,t){return[...e].map(r=>{const n={...r},o=n.base||t;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=J0(n.items,o)),n})}function Hc(){const{frontmatter:e,page:t,theme:r}=Yr(),n=l_("(min-width: 960px)"),o=Oe(!1),s=le(()=>{const v=r.value.sidebar,g=t.value.relativePath;return v?JL(v,g):[]}),i=Oe(s.value);cr(s,(v,g)=>{JSON.stringify(v)!==JSON.stringify(g)&&(i.value=s.value)});const a=le(()=>e.value.sidebar!==!1&&i.value.length>0&&e.value.layout!=="home"),l=le(()=>c?e.value.aside==null?r.value.aside==="left":e.value.aside==="left":!1),c=le(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:r.value.aside!==!1),u=le(()=>a.value&&n.value),d=le(()=>a.value?TU(i.value):[]);function p(){o.value=!0}function f(){o.value=!1}function m(){o.value?f():p()}return{isOpen:o,sidebar:i,sidebarGroups:d,hasSidebar:a,hasAside:c,leftAside:l,isSidebarEnabled:u,open:p,close:f,toggle:m}}function IU(e,t){let r;Lo(()=>{r=e.value?document.activeElement:void 0}),Oo(()=>{window.addEventListener("keyup",n)}),nd(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&e.value&&(t(),r==null||r.focus())}}function DU(e){const{page:t,hash:r}=Yr(),n=Oe(!1),o=le(()=>e.value.collapsed!=null),s=le(()=>!!e.value.link),i=Oe(!1),a=()=>{i.value=Yd(t.value.relativePath,e.value.link)};cr([t,e,r],a),Oo(a);const l=le(()=>i.value?!0:e.value.items?p_(t.value.relativePath,e.value.items):!1),c=le(()=>!!(e.value.items&&e.value.items.length));Lo(()=>{n.value=!!(o.value&&e.value.collapsed)}),_h(()=>{(i.value||l.value)&&(n.value=!1)});function u(){o.value&&(n.value=!n.value)}return{collapsed:n,collapsible:o,isLink:s,isActiveLink:i,hasActiveLink:l,hasChildren:c,toggle:u}}function MU(){const{hasSidebar:e}=Hc(),t=l_("(min-width: 960px)"),r=l_("(min-width: 1280px)");return{isAsideEnabled:le(()=>!r.value&&!t.value?!1:e.value?r.value:t.value)}}const LU=/\b(?:VPBadge|header-anchor|footnote-ref|ignore-header)\b/,f_=[];function KL(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function aC(e){const t=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(r=>r.id&&r.hasChildNodes()).map(r=>{const n=Number(r.tagName[1]);return{element:r,title:NU(r),link:"#"+r.id,level:n}});return RU(t,e)}function NU(e){let t="";for(const r of e.childNodes)if(r.nodeType===1){if(LU.test(r.className))continue;t+=r.textContent}else r.nodeType===3&&(t+=r.textContent);return t.trim()}function RU(e,t){if(t===!1)return[];const r=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2,[n,o]=typeof r=="number"?[r,r]:r==="deep"?[2,6]:r;return zU(e,n,o)}function BU(e,t){const{isAsideEnabled:r}=MU(),n=xU(s,100);let o=null;Oo(()=>{requestAnimationFrame(s),window.addEventListener("scroll",n)}),LL(()=>{i(location.hash)}),nd(()=>{window.removeEventListener("scroll",n)});function s(){if(!r.value)return;const a=window.scrollY,l=window.innerHeight,c=document.body.offsetHeight,u=Math.abs(a+l-c)<1,d=f_.map(({element:f,link:m})=>({link:m,top:qU(f)})).filter(({top:f})=>!Number.isNaN(f)).sort((f,m)=>f.top-m.top);if(!d.length){i(null);return}if(a<1){i(null);return}if(u){i(d[d.length-1].link);return}let p=null;for(const{link:f,top:m}of d){if(m>a+nU()+4)break;p=f}i(p)}function i(a){o&&o.classList.remove("active"),a==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(a)}"]`);const l=o;l?(l.classList.add("active"),t.value.style.top=l.offsetTop+39+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function qU(e){let t=0;for(;e!==document.body;){if(e===null)return NaN;t+=e.offsetTop,e=e.offsetParent}return t}function zU(e,t,r){f_.length=0;const n=[],o=[];return e.forEach(s=>{const i={...s,children:[]};let a=o[o.length-1];for(;a&&a.level>=i.level;)o.pop(),a=o[o.length-1];if(i.element.classList.contains("ignore-header")||a&&"shouldIgnore"in a){o.push({level:i.level,shouldIgnore:!0});return}i.level>r||i.level{const o=od("VPDocOutlineItem",!0);return E(),K("ul",{class:Lt(["VPDocOutlineItem",r.root?"root":"nested"])},[(E(!0),K(dt,null,zt(r.headers,({children:s,link:i,title:a})=>(E(),K("li",null,[ue("a",{class:"outline-link",href:i,onClick:t,title:a},ze(a),9,FU),s!=null&&s.length?(E(),ve(o,{key:0,headers:s},null,8,["headers"])):je("",!0)]))),256))],2)}}}),QL=yr(VU,[["__scopeId","data-v-c6ed6775"]]),UU={class:"content"},HU={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},WU=Te({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:r}=Yr(),n=La([]);pw(()=>{n.value=aC(t.value.outline??r.value.outline)});const o=Oe(),s=Oe();return BU(o,s),(i,a)=>(E(),K("nav",{"aria-labelledby":"doc-outline-aria-label",class:Lt(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o},[ue("div",UU,[ue("div",{class:"outline-marker",ref_key:"marker",ref:s},null,512),ue("div",HU,ze(S(KL)(S(r))),1),ye(QL,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),GU=yr(WU,[["__scopeId","data-v-1cf7166c"]]),JU={class:"VPDocAsideCarbonAds"},KU=Te({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const t=()=>null;return(r,n)=>(E(),K("div",JU,[ye(S(t),{"carbon-ads":r.carbonAds},null,8,["carbon-ads"])]))}}),QU={class:"VPDocAside"},ZU=Te({__name:"VPDocAside",setup(e){const{theme:t}=Yr();return(r,n)=>(E(),K("div",QU,[pe(r.$slots,"aside-top",{},void 0,!0),pe(r.$slots,"aside-outline-before",{},void 0,!0),ye(GU),pe(r.$slots,"aside-outline-after",{},void 0,!0),n[0]||(n[0]=ue("div",{class:"spacer"},null,-1)),pe(r.$slots,"aside-ads-before",{},void 0,!0),S(t).carbonAds?(E(),ve(KU,{key:0,"carbon-ads":S(t).carbonAds},null,8,["carbon-ads"])):je("",!0),pe(r.$slots,"aside-ads-after",{},void 0,!0),pe(r.$slots,"aside-bottom",{},void 0,!0)]))}}),XU=yr(ZU,[["__scopeId","data-v-0970baee"]]);function YU(){const{theme:e,page:t}=Yr();return le(()=>{const{text:r="Edit this page",pattern:n=""}=e.value.editLink||{};let o;return typeof n=="function"?o=n(t.value):o=n.replace(/:path/g,t.value.filePath),{url:o,text:r}})}function eH(){const{page:e,theme:t,frontmatter:r}=Yr();return le(()=>{var c,u,d,p,f,m,v,g;const n=JL(t.value.sidebar,e.value.relativePath),o=PU(n),s=tH(o,y=>y.link.replace(/[?#].*$/,"")),i=s.findIndex(y=>Yd(e.value.relativePath,y.link)),a=((c=t.value.docFooter)==null?void 0:c.prev)===!1&&!r.value.prev||r.value.prev===!1,l=((u=t.value.docFooter)==null?void 0:u.next)===!1&&!r.value.next||r.value.next===!1;return{prev:a?void 0:{text:(typeof r.value.prev=="string"?r.value.prev:typeof r.value.prev=="object"?r.value.prev.text:void 0)??((d=s[i-1])==null?void 0:d.docFooterText)??((p=s[i-1])==null?void 0:p.text),link:(typeof r.value.prev=="object"?r.value.prev.link:void 0)??((f=s[i-1])==null?void 0:f.link)},next:l?void 0:{text:(typeof r.value.next=="string"?r.value.next:typeof r.value.next=="object"?r.value.next.text:void 0)??((m=s[i+1])==null?void 0:m.docFooterText)??((v=s[i+1])==null?void 0:v.text),link:(typeof r.value.next=="object"?r.value.next.link:void 0)??((g=s[i+1])==null?void 0:g.link)}}})}function tH(e,t){const r=new Set;return e.filter(n=>{const o=t(n);return r.has(o)?!1:r.add(o)})}const Sl=Te({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const t=e,r=le(()=>t.tag??(t.href?"a":"span")),n=le(()=>t.href&&NL.test(t.href)||t.target==="_blank");return(o,s)=>(E(),ve(si(r.value),{class:Lt(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?S(iC)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:U(()=>[pe(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),rH={class:"VPLastUpdated"},nH=["datetime"],oH=Te({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:r,lang:n}=Yr(),o=le(()=>new Date(r.value.lastUpdated)),s=le(()=>o.value.toISOString()),i=Oe("");return Oo(()=>{Lo(()=>{var a,l,c;i.value=new Intl.DateTimeFormat((l=(a=t.value.lastUpdated)==null?void 0:a.formatOptions)!=null&&l.forceLocale?n.value:void 0,((c=t.value.lastUpdated)==null?void 0:c.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(a,l)=>{var c;return E(),K("p",rH,[Vt(ze(((c=S(t).lastUpdated)==null?void 0:c.text)||S(t).lastUpdatedText||"Last updated")+": ",1),ue("time",{datetime:s.value},ze(i.value),9,nH)])}}}),sH=yr(oH,[["__scopeId","data-v-c286d0a2"]]),iH={key:0,class:"VPDocFooter"},aH={key:0,class:"edit-info"},lH={key:0,class:"edit-link"},cH={key:1,class:"last-updated"},uH={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},dH={class:"pager"},pH=["innerHTML"],fH=["innerHTML"],hH={class:"pager"},mH=["innerHTML"],gH=["innerHTML"],vH=Te({__name:"VPDocFooter",setup(e){const{theme:t,page:r,frontmatter:n}=Yr(),o=YU(),s=eH(),i=le(()=>t.value.editLink&&n.value.editLink!==!1),a=le(()=>r.value.lastUpdated),l=le(()=>i.value||a.value||s.value.prev||s.value.next);return(c,u)=>{var d,p,f,m;return l.value?(E(),K("footer",iH,[pe(c.$slots,"doc-footer-before",{},void 0,!0),i.value||a.value?(E(),K("div",aH,[i.value?(E(),K("div",lH,[ye(Sl,{class:"edit-link-button",href:S(o).url,"no-icon":!0},{default:U(()=>[u[0]||(u[0]=ue("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Vt(" "+ze(S(o).text),1)]),_:1,__:[0]},8,["href"])])):je("",!0),a.value?(E(),K("div",cH,[ye(sH)])):je("",!0)])):je("",!0),(d=S(s).prev)!=null&&d.link||(p=S(s).next)!=null&&p.link?(E(),K("nav",uH,[u[1]||(u[1]=ue("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),ue("div",dH,[(f=S(s).prev)!=null&&f.link?(E(),ve(Sl,{key:0,class:"pager-link prev",href:S(s).prev.link},{default:U(()=>{var v;return[ue("span",{class:"desc",innerHTML:((v=S(t).docFooter)==null?void 0:v.prev)||"Previous page"},null,8,pH),ue("span",{class:"title",innerHTML:S(s).prev.text},null,8,fH)]}),_:1},8,["href"])):je("",!0)]),ue("div",hH,[(m=S(s).next)!=null&&m.link?(E(),ve(Sl,{key:0,class:"pager-link next",href:S(s).next.link},{default:U(()=>{var v;return[ue("span",{class:"desc",innerHTML:((v=S(t).docFooter)==null?void 0:v.next)||"Next page"},null,8,mH),ue("span",{class:"title",innerHTML:S(s).next.text},null,8,gH)]}),_:1},8,["href"])):je("",!0)])])):je("",!0)])):je("",!0)}}}),yH=yr(vH,[["__scopeId","data-v-a014c1de"]]),bH={class:"container"},wH={class:"aside-container"},xH={class:"aside-content"},kH={class:"content"},jH={class:"content-container"},_H={class:"main"},SH=Te({__name:"VPDoc",setup(e){const{theme:t}=Yr(),r=fw(),{hasSidebar:n,hasAside:o,leftAside:s}=Hc(),i=le(()=>r.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(a,l)=>{const c=od("Content");return E(),K("div",{class:Lt(["VPDoc",{"has-sidebar":S(n),"has-aside":S(o)}])},[pe(a.$slots,"doc-top",{},void 0,!0),ue("div",bH,[S(o)?(E(),K("div",{key:0,class:Lt(["aside",{"left-aside":S(s)}])},[l[0]||(l[0]=ue("div",{class:"aside-curtain"},null,-1)),ue("div",wH,[ue("div",xH,[ye(XU,null,{"aside-top":U(()=>[pe(a.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":U(()=>[pe(a.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":U(()=>[pe(a.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":U(()=>[pe(a.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":U(()=>[pe(a.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":U(()=>[pe(a.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):je("",!0),ue("div",kH,[ue("div",jH,[pe(a.$slots,"doc-before",{},void 0,!0),ue("main",_H,[ye(c,{class:Lt(["vp-doc",[i.value,S(t).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),ye(yH,null,{"doc-footer-before":U(()=>[pe(a.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),pe(a.$slots,"doc-after",{},void 0,!0)])])]),pe(a.$slots,"doc-bottom",{},void 0,!0)],2)}}}),CH=yr(SH,[["__scopeId","data-v-29334b8c"]]),AH=Te({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const t=e,r=le(()=>t.href&&NL.test(t.href)),n=le(()=>t.tag||(t.href?"a":"button"));return(o,s)=>(E(),ve(si(n.value),{class:Lt(["VPButton",[o.size,o.theme]]),href:o.href?S(iC)(o.href):void 0,target:t.target??(r.value?"_blank":void 0),rel:t.rel??(r.value?"noreferrer":void 0)},{default:U(()=>[Vt(ze(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),EH=yr(AH,[["__scopeId","data-v-b09c63e0"]]),OH=["src","alt"],$H=Te({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(t,r)=>{const n=od("VPImage",!0);return t.image?(E(),K(dt,{key:0},[typeof t.image=="string"||"src"in t.image?(E(),K("img",jr({key:0,class:"VPImage"},typeof t.image=="string"?t.$attrs:{...t.image,...t.$attrs},{src:S(oC)(typeof t.image=="string"?t.image:t.image.src),alt:t.alt??(typeof t.image=="string"?"":t.image.alt||"")}),null,16,OH)):(E(),K(dt,{key:1},[ye(n,jr({class:"dark",image:t.image.dark,alt:t.image.alt},t.$attrs),null,16,["image","alt"]),ye(n,jr({class:"light",image:t.image.light,alt:t.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):je("",!0)}}}),_b=yr($H,[["__scopeId","data-v-384abc6c"]]),TH={class:"container"},PH={class:"main"},IH={class:"heading"},DH=["innerHTML"],MH=["innerHTML"],LH=["innerHTML"],NH={key:0,class:"actions"},RH={key:0,class:"image"},BH={class:"image-container"},qH=Te({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const t=_i("hero-image-slot-exists");return(r,n)=>(E(),K("div",{class:Lt(["VPHero",{"has-image":r.image||S(t)}])},[ue("div",TH,[ue("div",PH,[pe(r.$slots,"home-hero-info-before",{},void 0,!0),pe(r.$slots,"home-hero-info",{},()=>[ue("h1",IH,[r.name?(E(),K("span",{key:0,innerHTML:r.name,class:"name clip"},null,8,DH)):je("",!0),r.text?(E(),K("span",{key:1,innerHTML:r.text,class:"text"},null,8,MH)):je("",!0)]),r.tagline?(E(),K("p",{key:0,innerHTML:r.tagline,class:"tagline"},null,8,LH)):je("",!0)],!0),pe(r.$slots,"home-hero-info-after",{},void 0,!0),r.actions?(E(),K("div",NH,[(E(!0),K(dt,null,zt(r.actions,o=>(E(),K("div",{key:o.link,class:"action"},[ye(EH,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):je("",!0),pe(r.$slots,"home-hero-actions-after",{},void 0,!0)]),r.image||S(t)?(E(),K("div",RH,[ue("div",BH,[n[0]||(n[0]=ue("div",{class:"image-bg"},null,-1)),pe(r.$slots,"home-hero-image",{},()=>[r.image?(E(),ve(_b,{key:0,class:"image-src",image:r.image},null,8,["image"])):je("",!0)],!0)])])):je("",!0)])],2))}}),zH=yr(qH,[["__scopeId","data-v-debe2302"]]),FH=Te({__name:"VPHomeHero",setup(e){const{frontmatter:t}=Yr();return(r,n)=>S(t).hero?(E(),ve(zH,{key:0,class:"VPHomeHero",name:S(t).hero.name,text:S(t).hero.text,tagline:S(t).hero.tagline,image:S(t).hero.image,actions:S(t).hero.actions},{"home-hero-info-before":U(()=>[pe(r.$slots,"home-hero-info-before")]),"home-hero-info":U(()=>[pe(r.$slots,"home-hero-info")]),"home-hero-info-after":U(()=>[pe(r.$slots,"home-hero-info-after")]),"home-hero-actions-after":U(()=>[pe(r.$slots,"home-hero-actions-after")]),"home-hero-image":U(()=>[pe(r.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):je("",!0)}}),VH={class:"box"},UH={key:0,class:"icon"},HH=["innerHTML"],WH=["innerHTML"],GH=["innerHTML"],JH={key:4,class:"link-text"},KH={class:"link-text-value"},QH=Te({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(t,r)=>(E(),ve(Sl,{class:"VPFeature",href:t.link,rel:t.rel,target:t.target,"no-icon":!0,tag:t.link?"a":"div"},{default:U(()=>[ue("article",VH,[typeof t.icon=="object"&&t.icon.wrap?(E(),K("div",UH,[ye(_b,{image:t.icon,alt:t.icon.alt,height:t.icon.height||48,width:t.icon.width||48},null,8,["image","alt","height","width"])])):typeof t.icon=="object"?(E(),ve(_b,{key:1,image:t.icon,alt:t.icon.alt,height:t.icon.height||48,width:t.icon.width||48},null,8,["image","alt","height","width"])):t.icon?(E(),K("div",{key:2,class:"icon",innerHTML:t.icon},null,8,HH)):je("",!0),ue("h2",{class:"title",innerHTML:t.title},null,8,WH),t.details?(E(),K("p",{key:3,class:"details",innerHTML:t.details},null,8,GH)):je("",!0),t.linkText?(E(),K("div",JH,[ue("p",KH,[Vt(ze(t.linkText)+" ",1),r[0]||(r[0]=ue("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):je("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),ZH=yr(QH,[["__scopeId","data-v-d171c205"]]),XH={key:0,class:"VPFeatures"},YH={class:"container"},eW={class:"items"},tW=Te({__name:"VPFeatures",props:{features:{}},setup(e){const t=e,r=le(()=>{const n=t.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(E(),K("div",XH,[ue("div",YH,[ue("div",eW,[(E(!0),K(dt,null,zt(n.features,s=>(E(),K("div",{key:s.title,class:Lt(["item",[r.value]])},[ye(ZH,{icon:s.icon,title:s.title,details:s.details,link:s.link,"link-text":s.linkText,rel:s.rel,target:s.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):je("",!0)}}),rW=yr(tW,[["__scopeId","data-v-aa084f6f"]]),nW=Te({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=Yr();return(r,n)=>S(t).features?(E(),ve(rW,{key:0,class:"VPHomeFeatures",features:S(t).features},null,8,["features"])):je("",!0)}}),oW=Te({__name:"VPHomeContent",setup(e){const{width:t}=oU({initialWidth:0,includeScrollbar:!1});return(r,n)=>(E(),K("div",{class:"vp-doc container",style:Sh(S(t)?{"--vp-offset":`calc(50% - ${S(t)/2}px)`}:{})},[pe(r.$slots,"default",{},void 0,!0)],4))}}),sW=yr(oW,[["__scopeId","data-v-7f92ddbb"]]),iW=Te({__name:"VPHome",setup(e){const{frontmatter:t,theme:r}=Yr();return(n,o)=>{const s=od("Content");return E(),K("div",{class:Lt(["VPHome",{"external-link-icon-enabled":S(r).externalLinkIcon}])},[pe(n.$slots,"home-hero-before",{},void 0,!0),ye(FH,null,{"home-hero-info-before":U(()=>[pe(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":U(()=>[pe(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":U(()=>[pe(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":U(()=>[pe(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":U(()=>[pe(n.$slots,"home-hero-image",{},void 0,!0)]),_:3}),pe(n.$slots,"home-hero-after",{},void 0,!0),pe(n.$slots,"home-features-before",{},void 0,!0),ye(nW),pe(n.$slots,"home-features-after",{},void 0,!0),S(t).markdownStyles!==!1?(E(),ve(sW,{key:0},{default:U(()=>[ye(s)]),_:1})):(E(),ve(s,{key:1}))],2)}}}),aW=yr(iW,[["__scopeId","data-v-eaa9258b"]]),lW={},cW={class:"VPPage"};function uW(e,t){const r=od("Content");return E(),K("div",cW,[pe(e.$slots,"page-top"),ye(r),pe(e.$slots,"page-bottom")])}const dW=yr(lW,[["render",uW]]),pW=Te({__name:"VPContent",setup(e){const{page:t,frontmatter:r}=Yr(),{hasSidebar:n}=Hc();return(o,s)=>(E(),K("div",{class:Lt(["VPContent",{"has-sidebar":S(n),"is-home":S(r).layout==="home"}]),id:"VPContent"},[S(t).isNotFound?pe(o.$slots,"not-found",{key:0},()=>[ye($U)],!0):S(r).layout==="page"?(E(),ve(dW,{key:1},{"page-top":U(()=>[pe(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":U(()=>[pe(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):S(r).layout==="home"?(E(),ve(aW,{key:2},{"home-hero-before":U(()=>[pe(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":U(()=>[pe(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":U(()=>[pe(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":U(()=>[pe(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":U(()=>[pe(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":U(()=>[pe(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":U(()=>[pe(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":U(()=>[pe(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":U(()=>[pe(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):S(r).layout&&S(r).layout!=="doc"?(E(),ve(si(S(r).layout),{key:3})):(E(),ve(CH,{key:4},{"doc-top":U(()=>[pe(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":U(()=>[pe(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":U(()=>[pe(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":U(()=>[pe(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":U(()=>[pe(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":U(()=>[pe(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":U(()=>[pe(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":U(()=>[pe(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":U(()=>[pe(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":U(()=>[pe(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":U(()=>[pe(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),fW=yr(pW,[["__scopeId","data-v-413f3f32"]]),hW={class:"container"},mW=["innerHTML"],gW=["innerHTML"],vW=Te({__name:"VPFooter",setup(e){const{theme:t,frontmatter:r}=Yr(),{hasSidebar:n}=Hc();return(o,s)=>S(t).footer&&S(r).footer!==!1?(E(),K("footer",{key:0,class:Lt(["VPFooter",{"has-sidebar":S(n)}])},[ue("div",hW,[S(t).footer.message?(E(),K("p",{key:0,class:"message",innerHTML:S(t).footer.message},null,8,mW)):je("",!0),S(t).footer.copyright?(E(),K("p",{key:1,class:"copyright",innerHTML:S(t).footer.copyright},null,8,gW)):je("",!0)])],2)):je("",!0)}}),yW=yr(vW,[["__scopeId","data-v-a1bcc99e"]]);function bW(){const{theme:e,frontmatter:t}=Yr(),r=La([]),n=le(()=>r.value.length>0);return pw(()=>{r.value=aC(t.value.outline??e.value.outline)}),{headers:r,hasLocalNav:n}}const wW={class:"menu-text"},xW={class:"header"},kW={class:"outline"},jW=Te({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const t=e,{theme:r}=Yr(),n=Oe(!1),o=Oe(0),s=Oe(),i=Oe();function a(d){var p;(p=s.value)!=null&&p.contains(d.target)||(n.value=!1)}cr(n,d=>{if(d){document.addEventListener("click",a);return}document.removeEventListener("click",a)}),c_("Escape",()=>{n.value=!1}),pw(()=>{n.value=!1});function l(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-t.navHeight,0)}function c(d){d.target.classList.contains("outline-link")&&(i.value&&(i.value.style.transition="none"),Io(()=>{n.value=!1}))}function u(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(d,p)=>(E(),K("div",{class:"VPLocalNavOutlineDropdown",style:Sh({"--vp-vh":o.value+"px"}),ref_key:"main",ref:s},[d.headers.length>0?(E(),K("button",{key:0,onClick:l,class:Lt({open:n.value})},[ue("span",wW,ze(S(KL)(S(r))),1),p[0]||(p[0]=ue("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(E(),K("button",{key:1,onClick:u},ze(S(r).returnToTopLabel||"Return to top"),1)),ye(nC,{name:"flyout"},{default:U(()=>[n.value?(E(),K("div",{key:0,ref_key:"items",ref:i,class:"items",onClick:c},[ue("div",xW,[ue("a",{class:"top-link",href:"#",onClick:u},ze(S(r).returnToTopLabel||"Return to top"),1)]),ue("div",kW,[ye(QL,{headers:d.headers},null,8,["headers"])])],512)):je("",!0)]),_:1})],4))}}),_W=yr(jW,[["__scopeId","data-v-bab32157"]]),SW={class:"container"},CW=["aria-expanded"],AW={class:"menu-text"},EW=Te({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t,frontmatter:r}=Yr(),{hasSidebar:n}=Hc(),{headers:o}=bW(),{y:s}=RL(),i=Oe(0);Oo(()=>{i.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),pw(()=>{o.value=aC(r.value.outline??t.value.outline)});const a=le(()=>o.value.length===0),l=le(()=>a.value&&!n.value),c=le(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:a.value,fixed:l.value}));return(u,d)=>S(r).layout!=="home"&&(!l.value||S(s)>=i.value)?(E(),K("div",{key:0,class:Lt(c.value)},[ue("div",SW,[S(n)?(E(),K("button",{key:0,class:"menu","aria-expanded":u.open,"aria-controls":"VPSidebarNav",onClick:d[0]||(d[0]=p=>u.$emit("open-menu"))},[d[1]||(d[1]=ue("span",{class:"vpi-align-left menu-icon"},null,-1)),ue("span",AW,ze(S(t).sidebarMenuLabel||"Menu"),1)],8,CW)):je("",!0),ye(_W,{headers:S(o),navHeight:i.value},null,8,["headers","navHeight"])])],2)):je("",!0)}}),OW=yr(EW,[["__scopeId","data-v-e17e33c6"]]);function $W(){const e=Oe(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function r(){e.value=!1,window.removeEventListener("resize",o)}function n(){e.value?r():t()}function o(){window.outerWidth>=768&&r()}const s=fw();return cr(()=>s.path,r),{isScreenOpen:e,openScreen:t,closeScreen:r,toggleScreen:n}}const TW={},PW={class:"VPSwitch",type:"button",role:"switch"},IW={class:"check"},DW={key:0,class:"icon"};function MW(e,t){return E(),K("button",PW,[ue("span",IW,[e.$slots.default?(E(),K("span",DW,[pe(e.$slots,"default",{},void 0,!0)])):je("",!0)])])}const LW=yr(TW,[["render",MW],["__scopeId","data-v-44c0c9c3"]]),NW=Te({__name:"VPSwitchAppearance",setup(e){const{isDark:t,theme:r}=Yr(),n=_i("toggle-appearance",()=>{t.value=!t.value}),o=Oe("");return _h(()=>{o.value=t.value?r.value.lightModeSwitchTitle||"Switch to light theme":r.value.darkModeSwitchTitle||"Switch to dark theme"}),(s,i)=>(E(),ve(LW,{title:o.value,class:"VPSwitchAppearance","aria-checked":S(t),onClick:S(n)},{default:U(()=>i[0]||(i[0]=[ue("span",{class:"vpi-sun sun"},null,-1),ue("span",{class:"vpi-moon moon"},null,-1)])),_:1,__:[0]},8,["title","aria-checked","onClick"]))}}),lC=yr(NW,[["__scopeId","data-v-77125d61"]]),RW={key:0,class:"VPNavBarAppearance"},BW=Te({__name:"VPNavBarAppearance",setup(e){const{site:t}=Yr();return(r,n)=>S(t).appearance&&S(t).appearance!=="force-dark"&&S(t).appearance!=="force-auto"?(E(),K("div",RW,[ye(lC)])):je("",!0)}}),qW=yr(BW,[["__scopeId","data-v-1a8fd632"]]),cC=Oe();let ZL=!1,Xx=0;function zW(e){const t=Oe(!1);if(hw){!ZL&&FW(),Xx++;const r=cr(cC,n=>{var o,s,i;n===e.el.value||(o=e.el.value)!=null&&o.contains(n)?(t.value=!0,(s=e.onFocus)==null||s.call(e)):(t.value=!1,(i=e.onBlur)==null||i.call(e))});nd(()=>{r(),Xx--,Xx||VW()})}return mw(t)}function FW(){document.addEventListener("focusin",XL),ZL=!0,cC.value=document.activeElement}function VW(){document.removeEventListener("focusin",XL)}function XL(){cC.value=document.activeElement}const UW={class:"VPMenuLink"},HW=["innerHTML"],WW=Te({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:t}=Yr();return(r,n)=>(E(),K("div",UW,[ye(Sl,{class:Lt({active:S(Yd)(S(t).relativePath,r.item.activeMatch||r.item.link,!!r.item.activeMatch)}),href:r.item.link,target:r.item.target,rel:r.item.rel,"no-icon":r.item.noIcon},{default:U(()=>[ue("span",{innerHTML:r.item.text},null,8,HW)]),_:1},8,["class","href","target","rel","no-icon"])]))}}),vw=yr(WW,[["__scopeId","data-v-af9bd7aa"]]),GW={class:"VPMenuGroup"},JW={key:0,class:"title"},KW=Te({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(t,r)=>(E(),K("div",GW,[t.text?(E(),K("p",JW,ze(t.text),1)):je("",!0),(E(!0),K(dt,null,zt(t.items,n=>(E(),K(dt,null,["link"in n?(E(),ve(vw,{key:0,item:n},null,8,["item"])):je("",!0)],64))),256))]))}}),QW=yr(KW,[["__scopeId","data-v-c41d4d34"]]),ZW={class:"VPMenu"},XW={key:0,class:"items"},YW=Te({__name:"VPMenu",props:{items:{}},setup(e){return(t,r)=>(E(),K("div",ZW,[t.items?(E(),K("div",XW,[(E(!0),K(dt,null,zt(t.items,n=>(E(),K(dt,{key:JSON.stringify(n)},["link"in n?(E(),ve(vw,{key:0,item:n},null,8,["item"])):"component"in n?(E(),ve(si(n.component),jr({key:1,ref_for:!0},n.props),null,16)):(E(),ve(QW,{key:2,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):je("",!0),pe(t.$slots,"default",{},void 0,!0)]))}}),eG=yr(YW,[["__scopeId","data-v-a0929307"]]),tG=["aria-expanded","aria-label"],rG={key:0,class:"text"},nG=["innerHTML"],oG={key:1,class:"vpi-more-horizontal icon"},sG={class:"menu"},iG=Te({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const t=Oe(!1),r=Oe();zW({el:r,onBlur:n});function n(){t.value=!1}return(o,s)=>(E(),K("div",{class:"VPFlyout",ref_key:"el",ref:r,onMouseenter:s[1]||(s[1]=i=>t.value=!0),onMouseleave:s[2]||(s[2]=i=>t.value=!1)},[ue("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":o.label,onClick:s[0]||(s[0]=i=>t.value=!t.value)},[o.button||o.icon?(E(),K("span",rG,[o.icon?(E(),K("span",{key:0,class:Lt([o.icon,"option-icon"])},null,2)):je("",!0),o.button?(E(),K("span",{key:1,innerHTML:o.button},null,8,nG)):je("",!0),s[3]||(s[3]=ue("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(E(),K("span",oG))],8,tG),ue("div",sG,[ye(eG,{items:o.items},{default:U(()=>[pe(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),uC=yr(iG,[["__scopeId","data-v-ce17dc3c"]]),aG=["href","aria-label","innerHTML"],lG=Te({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const t=e,r=Oe();Oo(async()=>{var s;await Io();const o=(s=r.value)==null?void 0:s.children[0];o instanceof HTMLElement&&o.className.startsWith("vpi-social-")&&(getComputedStyle(o).maskImage||getComputedStyle(o).webkitMaskImage)==="none"&&o.style.setProperty("--icon",`url('https://api.iconify.design/simple-icons/${t.icon}.svg')`)});const n=le(()=>typeof t.icon=="object"?t.icon.svg:``);return(o,s)=>(E(),K("a",{ref_key:"el",ref:r,class:"VPSocialLink no-icon",href:o.link,"aria-label":o.ariaLabel??(typeof o.icon=="string"?o.icon:""),target:"_blank",rel:"noopener",innerHTML:n.value},null,8,aG))}}),cG=yr(lG,[["__scopeId","data-v-3c299a96"]]),uG={class:"VPSocialLinks"},dG=Te({__name:"VPSocialLinks",props:{links:{}},setup(e){return(t,r)=>(E(),K("div",uG,[(E(!0),K(dt,null,zt(t.links,({link:n,icon:o,ariaLabel:s})=>(E(),ve(cG,{key:n,icon:o,link:n,ariaLabel:s},null,8,["icon","link","ariaLabel"]))),128))]))}}),dC=yr(dG,[["__scopeId","data-v-0ebd8679"]]),pG={key:0,class:"group translations"},fG={class:"trans-title"},hG={key:1,class:"group"},mG={class:"item appearance"},gG={class:"label"},vG={class:"appearance-action"},yG={key:2,class:"group"},bG={class:"item social-links"},wG=Te({__name:"VPNavBarExtra",setup(e){const{site:t,theme:r}=Yr(),{localeLinks:n,currentLang:o}=pv({correspondingLink:!0}),s=le(()=>n.value.length&&o.value.label||t.value.appearance||r.value.socialLinks);return(i,a)=>s.value?(E(),ve(uC,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:U(()=>[S(n).length&&S(o).label?(E(),K("div",pG,[ue("p",fG,ze(S(o).label),1),(E(!0),K(dt,null,zt(S(n),l=>(E(),ve(vw,{key:l.link,item:l},null,8,["item"]))),128))])):je("",!0),S(t).appearance&&S(t).appearance!=="force-dark"&&S(t).appearance!=="force-auto"?(E(),K("div",hG,[ue("div",mG,[ue("p",gG,ze(S(r).darkModeSwitchLabel||"Appearance"),1),ue("div",vG,[ye(lC)])])])):je("",!0),S(r).socialLinks?(E(),K("div",yG,[ue("div",bG,[ye(dC,{class:"social-links-list",links:S(r).socialLinks},null,8,["links"])])])):je("",!0)]),_:1})):je("",!0)}}),xG=yr(wG,[["__scopeId","data-v-cb22ae83"]]),kG=["aria-expanded"],jG=Te({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,r)=>(E(),K("button",{type:"button",class:Lt(["VPNavBarHamburger",{active:t.active}]),"aria-label":"mobile navigation","aria-expanded":t.active,"aria-controls":"VPNavScreen",onClick:r[0]||(r[0]=n=>t.$emit("click"))},r[1]||(r[1]=[ue("span",{class:"container"},[ue("span",{class:"top"}),ue("span",{class:"middle"}),ue("span",{class:"bottom"})],-1)]),10,kG))}}),_G=yr(jG,[["__scopeId","data-v-42f375ed"]]),SG=["innerHTML"],CG=Te({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:t}=Yr();return(r,n)=>(E(),ve(Sl,{class:Lt({VPNavBarMenuLink:!0,active:S(Yd)(S(t).relativePath,r.item.activeMatch||r.item.link,!!r.item.activeMatch)}),href:r.item.link,target:r.item.target,rel:r.item.rel,"no-icon":r.item.noIcon,tabindex:"0"},{default:U(()=>[ue("span",{innerHTML:r.item.text},null,8,SG)]),_:1},8,["class","href","target","rel","no-icon"]))}}),AG=yr(CG,[["__scopeId","data-v-358f64d2"]]),EG=Te({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const t=e,{page:r}=Yr(),n=s=>"component"in s?!1:"link"in s?Yd(r.value.relativePath,s.link,!!t.item.activeMatch):s.items.some(n),o=le(()=>n(t.item));return(s,i)=>(E(),ve(uC,{class:Lt({VPNavBarMenuGroup:!0,active:S(Yd)(S(r).relativePath,s.item.activeMatch,!!s.item.activeMatch)||o.value}),button:s.item.text,items:s.item.items},null,8,["class","button","items"]))}}),OG={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},$G=Te({__name:"VPNavBarMenu",setup(e){const{theme:t}=Yr();return(r,n)=>S(t).nav?(E(),K("nav",OG,[n[0]||(n[0]=ue("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(E(!0),K(dt,null,zt(S(t).nav,o=>(E(),K(dt,{key:JSON.stringify(o)},["link"in o?(E(),ve(AG,{key:0,item:o},null,8,["item"])):"component"in o?(E(),ve(si(o.component),jr({key:1,ref_for:!0},o.props),null,16)):(E(),ve(EG,{key:2,item:o},null,8,["item"]))],64))),128))])):je("",!0)}}),TG=yr($G,[["__scopeId","data-v-bc890e2b"]]);function PG(e){const{localeIndex:t,theme:r}=Yr();function n(o){var m,v,g;const s=o.split("."),i=(m=r.value.search)==null?void 0:m.options,a=i&&typeof i=="object",l=a&&((g=(v=i.locales)==null?void 0:v[t.value])==null?void 0:g.translations)||null,c=a&&i.translations||null;let u=l,d=c,p=e;const f=s.pop();for(const y of s){let b=null;const w=p==null?void 0:p[y];w&&(b=p=w);const k=d==null?void 0:d[y];k&&(b=d=k);const x=u==null?void 0:u[y];x&&(b=u=x),w||(p=b),k||(d=b),x||(u=b)}return(u==null?void 0:u[f])??(d==null?void 0:d[f])??(p==null?void 0:p[f])??""}return n}const IG=["aria-label"],DG={class:"DocSearch-Button-Container"},MG={class:"DocSearch-Button-Placeholder"},SO=Te({__name:"VPNavBarSearchButton",setup(e){const r=PG({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,o)=>(E(),K("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":S(r)("button.buttonAriaLabel")},[ue("span",DG,[o[0]||(o[0]=ue("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),ue("span",MG,ze(S(r)("button.buttonText")),1)]),o[1]||(o[1]=ue("span",{class:"DocSearch-Button-Keys"},[ue("kbd",{class:"DocSearch-Button-Key"}),ue("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,IG))}}),LG={class:"VPNavBarSearch"},NG={id:"local-search"},RG={key:1,id:"docsearch"},BG=Te({__name:"VPNavBarSearch",setup(e){const t=sU(()=>ce(()=>import("./VPLocalSearchBox.BV0hXMa1.js"),__vite__mapDeps([0,1]))),r=()=>null,{theme:n}=Yr(),o=Oe(!1),s=Oe(!1);Oo(()=>{});function i(){o.value||(o.value=!0,setTimeout(a,16))}function a(){const d=new Event("keydown");d.key="k",d.metaKey=!0,window.dispatchEvent(d),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||a()},16)}function l(d){const p=d.target,f=p.tagName;return p.isContentEditable||f==="INPUT"||f==="SELECT"||f==="TEXTAREA"}const c=Oe(!1);c_("k",d=>{(d.ctrlKey||d.metaKey)&&(d.preventDefault(),c.value=!0)}),c_("/",d=>{l(d)||(d.preventDefault(),c.value=!0)});const u="local";return(d,p)=>{var f;return E(),K("div",LG,[S(u)==="local"?(E(),K(dt,{key:0},[c.value?(E(),ve(S(t),{key:0,onClose:p[0]||(p[0]=m=>c.value=!1)})):je("",!0),ue("div",NG,[ye(SO,{onClick:p[1]||(p[1]=m=>c.value=!0)})])],64)):S(u)==="algolia"?(E(),K(dt,{key:1},[o.value?(E(),ve(S(r),{key:0,algolia:((f=S(n).search)==null?void 0:f.options)??S(n).algolia,onVnodeBeforeMount:p[2]||(p[2]=m=>s.value=!0)},null,8,["algolia"])):je("",!0),s.value?je("",!0):(E(),K("div",RG,[ye(SO,{onClick:i})]))],64)):je("",!0)])}}}),qG=Te({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=Yr();return(r,n)=>S(t).socialLinks?(E(),ve(dC,{key:0,class:"VPNavBarSocialLinks",links:S(t).socialLinks},null,8,["links"])):je("",!0)}}),zG=yr(qG,[["__scopeId","data-v-399e1608"]]),FG=["href","rel","target"],VG=["innerHTML"],UG={key:2},HG=Te({__name:"VPNavBarTitle",setup(e){const{site:t,theme:r}=Yr(),{hasSidebar:n}=Hc(),{currentLang:o}=pv(),s=le(()=>{var l;return typeof r.value.logoLink=="string"?r.value.logoLink:(l=r.value.logoLink)==null?void 0:l.link}),i=le(()=>{var l;return typeof r.value.logoLink=="string"||(l=r.value.logoLink)==null?void 0:l.rel}),a=le(()=>{var l;return typeof r.value.logoLink=="string"||(l=r.value.logoLink)==null?void 0:l.target});return(l,c)=>(E(),K("div",{class:Lt(["VPNavBarTitle",{"has-sidebar":S(n)}])},[ue("a",{class:"title",href:s.value??S(iC)(S(o).link),rel:i.value,target:a.value},[pe(l.$slots,"nav-bar-title-before",{},void 0,!0),S(r).logo?(E(),ve(_b,{key:0,class:"logo",image:S(r).logo},null,8,["image"])):je("",!0),S(r).siteTitle?(E(),K("span",{key:1,innerHTML:S(r).siteTitle},null,8,VG)):S(r).siteTitle===void 0?(E(),K("span",UG,ze(S(t).title),1)):je("",!0),pe(l.$slots,"nav-bar-title-after",{},void 0,!0)],8,FG)],2))}}),WG=yr(HG,[["__scopeId","data-v-cea99ba2"]]),GG={class:"items"},JG={class:"title"},KG=Te({__name:"VPNavBarTranslations",setup(e){const{theme:t}=Yr(),{localeLinks:r,currentLang:n}=pv({correspondingLink:!0});return(o,s)=>S(r).length&&S(n).label?(E(),ve(uC,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:S(t).langMenuLabel||"Change language"},{default:U(()=>[ue("div",GG,[ue("p",JG,ze(S(n).label),1),(E(!0),K(dt,null,zt(S(r),i=>(E(),ve(vw,{key:i.link,item:i},null,8,["item"]))),128))])]),_:1},8,["label"])):je("",!0)}}),QG=yr(KG,[["__scopeId","data-v-46d426ad"]]),ZG={class:"wrapper"},XG={class:"container"},YG={class:"title"},eJ={class:"content"},tJ={class:"content-body"},rJ=Te({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const t=e,{y:r}=RL(),{hasSidebar:n}=Hc(),{frontmatter:o}=Yr(),s=Oe({});return _h(()=>{s.value={"has-sidebar":n.value,home:o.value.layout==="home",top:r.value===0,"screen-open":t.isScreenOpen}}),(i,a)=>(E(),K("div",{class:Lt(["VPNavBar",s.value])},[ue("div",ZG,[ue("div",XG,[ue("div",YG,[ye(WG,null,{"nav-bar-title-before":U(()=>[pe(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":U(()=>[pe(i.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),ue("div",eJ,[ue("div",tJ,[pe(i.$slots,"nav-bar-content-before",{},void 0,!0),ye(BG,{class:"search"}),ye(TG,{class:"menu"}),ye(QG,{class:"translations"}),ye(qW,{class:"appearance"}),ye(zG,{class:"social-links"}),ye(xG,{class:"extra"}),pe(i.$slots,"nav-bar-content-after",{},void 0,!0),ye(_G,{class:"hamburger",active:i.isScreenOpen,onClick:a[0]||(a[0]=l=>i.$emit("toggle-screen"))},null,8,["active"])])])])]),a[1]||(a[1]=ue("div",{class:"divider"},[ue("div",{class:"divider-line"})],-1))],2))}}),nJ=yr(rJ,[["__scopeId","data-v-9f44cfca"]]),oJ={key:0,class:"VPNavScreenAppearance"},sJ={class:"text"},iJ=Te({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:r}=Yr();return(n,o)=>S(t).appearance&&S(t).appearance!=="force-dark"&&S(t).appearance!=="force-auto"?(E(),K("div",oJ,[ue("p",sJ,ze(S(r).darkModeSwitchLabel||"Appearance"),1),ye(lC)])):je("",!0)}}),aJ=yr(iJ,[["__scopeId","data-v-9f412837"]]),lJ=["innerHTML"],cJ=Te({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const t=_i("close-screen");return(r,n)=>(E(),ve(Sl,{class:"VPNavScreenMenuLink",href:r.item.link,target:r.item.target,rel:r.item.rel,"no-icon":r.item.noIcon,onClick:S(t)},{default:U(()=>[ue("span",{innerHTML:r.item.text},null,8,lJ)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),uJ=yr(cJ,[["__scopeId","data-v-b98c94d9"]]),dJ=["innerHTML"],pJ=Te({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const t=_i("close-screen");return(r,n)=>(E(),ve(Sl,{class:"VPNavScreenMenuGroupLink",href:r.item.link,target:r.item.target,rel:r.item.rel,"no-icon":r.item.noIcon,onClick:S(t)},{default:U(()=>[ue("span",{innerHTML:r.item.text},null,8,dJ)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),YL=yr(pJ,[["__scopeId","data-v-5f06e998"]]),fJ={class:"VPNavScreenMenuGroupSection"},hJ={key:0,class:"title"},mJ=Te({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(t,r)=>(E(),K("div",fJ,[t.text?(E(),K("p",hJ,ze(t.text),1)):je("",!0),(E(!0),K(dt,null,zt(t.items,n=>(E(),ve(YL,{key:n.text,item:n},null,8,["item"]))),128))]))}}),gJ=yr(mJ,[["__scopeId","data-v-2d23fe70"]]),vJ=["aria-controls","aria-expanded"],yJ=["innerHTML"],bJ=["id"],wJ={key:0,class:"item"},xJ={key:1,class:"item"},kJ={key:2,class:"group"},jJ=Te({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const t=e,r=Oe(!1),n=le(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){r.value=!r.value}return(s,i)=>(E(),K("div",{class:Lt(["VPNavScreenMenuGroup",{open:r.value}])},[ue("button",{class:"button","aria-controls":n.value,"aria-expanded":r.value,onClick:o},[ue("span",{class:"button-text",innerHTML:s.text},null,8,yJ),i[0]||(i[0]=ue("span",{class:"vpi-plus button-icon"},null,-1))],8,vJ),ue("div",{id:n.value,class:"items"},[(E(!0),K(dt,null,zt(s.items,a=>(E(),K(dt,{key:JSON.stringify(a)},["link"in a?(E(),K("div",wJ,[ye(YL,{item:a},null,8,["item"])])):"component"in a?(E(),K("div",xJ,[(E(),ve(si(a.component),jr({ref_for:!0},a.props,{"screen-menu":""}),null,16))])):(E(),K("div",kJ,[ye(gJ,{text:a.text,items:a.items},null,8,["text","items"])]))],64))),128))],8,bJ)],2))}}),_J=yr(jJ,[["__scopeId","data-v-9e77eea0"]]),SJ={key:0,class:"VPNavScreenMenu"},CJ=Te({__name:"VPNavScreenMenu",setup(e){const{theme:t}=Yr();return(r,n)=>S(t).nav?(E(),K("nav",SJ,[(E(!0),K(dt,null,zt(S(t).nav,o=>(E(),K(dt,{key:JSON.stringify(o)},["link"in o?(E(),ve(uJ,{key:0,item:o},null,8,["item"])):"component"in o?(E(),ve(si(o.component),jr({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(E(),ve(_J,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):je("",!0)}}),AJ=Te({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=Yr();return(r,n)=>S(t).socialLinks?(E(),ve(dC,{key:0,class:"VPNavScreenSocialLinks",links:S(t).socialLinks},null,8,["links"])):je("",!0)}}),EJ={class:"list"},OJ=Te({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:r}=pv({correspondingLink:!0}),n=Oe(!1);function o(){n.value=!n.value}return(s,i)=>S(t).length&&S(r).label?(E(),K("div",{key:0,class:Lt(["VPNavScreenTranslations",{open:n.value}])},[ue("button",{class:"title",onClick:o},[i[0]||(i[0]=ue("span",{class:"vpi-languages icon lang"},null,-1)),Vt(" "+ze(S(r).label)+" ",1),i[1]||(i[1]=ue("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),ue("ul",EJ,[(E(!0),K(dt,null,zt(S(t),a=>(E(),K("li",{key:a.link,class:"item"},[ye(Sl,{class:"link",href:a.link},{default:U(()=>[Vt(ze(a.text),1)]),_:2},1032,["href"])]))),128))])],2)):je("",!0)}}),$J=yr(OJ,[["__scopeId","data-v-13dfd227"]]),TJ={class:"container"},PJ=Te({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=Oe(null),r=BL(hw?document.body:null);return(n,o)=>(E(),ve(nC,{name:"fade",onEnter:o[0]||(o[0]=s=>r.value=!0),onAfterLeave:o[1]||(o[1]=s=>r.value=!1)},{default:U(()=>[n.open?(E(),K("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t,id:"VPNavScreen"},[ue("div",TJ,[pe(n.$slots,"nav-screen-content-before",{},void 0,!0),ye(CJ,{class:"menu"}),ye($J,{class:"translations"}),ye(aJ,{class:"appearance"}),ye(AJ,{class:"social-links"}),pe(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):je("",!0)]),_:3}))}}),IJ=yr(PJ,[["__scopeId","data-v-554db04e"]]),DJ={key:0,class:"VPNav"},MJ=Te({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:r,toggleScreen:n}=$W(),{frontmatter:o}=Yr(),s=le(()=>o.value.navbar!==!1);return wp("close-screen",r),Lo(()=>{hw&&document.documentElement.classList.toggle("hide-nav",!s.value)}),(i,a)=>s.value?(E(),K("header",DJ,[ye(nJ,{"is-screen-open":S(t),onToggleScreen:S(n)},{"nav-bar-title-before":U(()=>[pe(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":U(()=>[pe(i.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":U(()=>[pe(i.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":U(()=>[pe(i.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),ye(IJ,{open:S(t)},{"nav-screen-content-before":U(()=>[pe(i.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":U(()=>[pe(i.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):je("",!0)}}),LJ=yr(MJ,[["__scopeId","data-v-06aeb22c"]]),NJ=["role","tabindex"],RJ={key:1,class:"items"},BJ=Te({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const t=e,{collapsed:r,collapsible:n,isLink:o,isActiveLink:s,hasActiveLink:i,hasChildren:a,toggle:l}=DU(le(()=>t.item)),c=le(()=>a.value?"section":"div"),u=le(()=>o.value?"a":"div"),d=le(()=>a.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),p=le(()=>o.value?void 0:"button"),f=le(()=>[[`level-${t.depth}`],{collapsible:n.value},{collapsed:r.value},{"is-link":o.value},{"is-active":s.value},{"has-active":i.value}]);function m(g){"key"in g&&g.key!=="Enter"||!t.item.link&&l()}function v(){t.item.link&&l()}return(g,y)=>{const b=od("VPSidebarItem",!0);return E(),ve(si(c.value),{class:Lt(["VPSidebarItem",f.value])},{default:U(()=>[g.item.text?(E(),K("div",jr({key:0,class:"item",role:p.value},qL(g.item.items?{click:m,keydown:m}:{},!0),{tabindex:g.item.items&&0}),[y[1]||(y[1]=ue("div",{class:"indicator"},null,-1)),g.item.link?(E(),ve(Sl,{key:0,tag:u.value,class:"link",href:g.item.link,rel:g.item.rel,target:g.item.target},{default:U(()=>[(E(),ve(si(d.value),{class:"text",innerHTML:g.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(E(),ve(si(d.value),{key:1,class:"text",innerHTML:g.item.text},null,8,["innerHTML"])),g.item.collapsed!=null&&g.item.items&&g.item.items.length?(E(),K("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:v,onKeydown:ep(v,["enter"]),tabindex:"0"},y[0]||(y[0]=[ue("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):je("",!0)],16,NJ)):je("",!0),g.item.items&&g.item.items.length?(E(),K("div",RJ,[g.depth<5?(E(!0),K(dt,{key:0},zt(g.item.items,w=>(E(),ve(b,{key:w.text,item:w,depth:g.depth+1},null,8,["item","depth"]))),128)):je("",!0)])):je("",!0)]),_:1},8,["class"])}}}),qJ=yr(BJ,[["__scopeId","data-v-5f79b55d"]]),zJ=Te({__name:"VPSidebarGroup",props:{items:{}},setup(e){const t=Oe(!0);let r=null;return Oo(()=>{r=setTimeout(()=>{r=null,t.value=!1},300)}),Ch(()=>{r!=null&&(clearTimeout(r),r=null)}),(n,o)=>(E(!0),K(dt,null,zt(n.items,s=>(E(),K("div",{key:s.text,class:Lt(["group",{"no-transition":t.value}])},[ye(qJ,{item:s,depth:0},null,8,["item"])],2))),128))}}),FJ=yr(zJ,[["__scopeId","data-v-6b998b36"]]),VJ={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},UJ=Te({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:t,hasSidebar:r}=Hc(),n=e,o=Oe(null),s=BL(hw?document.body:null);cr([n,o],()=>{var a;n.open?(s.value=!0,(a=o.value)==null||a.focus()):s.value=!1},{immediate:!0,flush:"post"});const i=Oe(0);return cr(t,()=>{i.value+=1},{deep:!0}),(a,l)=>S(r)?(E(),K("aside",{key:0,class:Lt(["VPSidebar",{open:a.open}]),ref_key:"navEl",ref:o,onClick:l[0]||(l[0]=la(()=>{},["stop"]))},[l[2]||(l[2]=ue("div",{class:"curtain"},null,-1)),ue("nav",VJ,[l[1]||(l[1]=ue("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),pe(a.$slots,"sidebar-nav-before",{},void 0,!0),(E(),ve(FJ,{items:S(t),key:i.value},null,8,["items"])),pe(a.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):je("",!0)}}),HJ=yr(UJ,[["__scopeId","data-v-91b447a8"]]),WJ=Te({__name:"VPSkipLink",setup(e){const{theme:t}=Yr(),r=fw(),n=Oe();cr(()=>r.path,()=>n.value.focus());function o({target:s}){const i=document.getElementById(decodeURIComponent(s.hash).slice(1));if(i){const a=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",a)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",a),i.focus(),window.scrollTo(0,0)}}return(s,i)=>(E(),K(dt,null,[ue("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),ue("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:o},ze(S(t).skipToContentLabel||"Skip to content"),1)],64))}}),GJ=yr(WJ,[["__scopeId","data-v-9f15b6e6"]]),JJ=Te({__name:"Layout",setup(e){const{isOpen:t,open:r,close:n}=Hc(),o=fw();cr(()=>o.path,n),IU(t,n);const{frontmatter:s}=Yr(),i=el(),a=le(()=>!!i["home-hero-image"]);return wp("hero-image-slot-exists",a),(l,c)=>{const u=od("Content");return S(s).layout!==!1?(E(),K("div",{key:0,class:Lt(["Layout",S(s).pageClass])},[pe(l.$slots,"layout-top",{},void 0,!0),ye(GJ),ye(wU,{class:"backdrop",show:S(t),onClick:S(n)},null,8,["show","onClick"]),ye(LJ,null,{"nav-bar-title-before":U(()=>[pe(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":U(()=>[pe(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":U(()=>[pe(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":U(()=>[pe(l.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":U(()=>[pe(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":U(()=>[pe(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),ye(OW,{open:S(t),onOpenMenu:S(r)},null,8,["open","onOpenMenu"]),ye(HJ,{open:S(t)},{"sidebar-nav-before":U(()=>[pe(l.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":U(()=>[pe(l.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),ye(fW,null,{"page-top":U(()=>[pe(l.$slots,"page-top",{},void 0,!0)]),"page-bottom":U(()=>[pe(l.$slots,"page-bottom",{},void 0,!0)]),"not-found":U(()=>[pe(l.$slots,"not-found",{},void 0,!0)]),"home-hero-before":U(()=>[pe(l.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":U(()=>[pe(l.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":U(()=>[pe(l.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":U(()=>[pe(l.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":U(()=>[pe(l.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":U(()=>[pe(l.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":U(()=>[pe(l.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":U(()=>[pe(l.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":U(()=>[pe(l.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":U(()=>[pe(l.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":U(()=>[pe(l.$slots,"doc-before",{},void 0,!0)]),"doc-after":U(()=>[pe(l.$slots,"doc-after",{},void 0,!0)]),"doc-top":U(()=>[pe(l.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":U(()=>[pe(l.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":U(()=>[pe(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":U(()=>[pe(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":U(()=>[pe(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":U(()=>[pe(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":U(()=>[pe(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":U(()=>[pe(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),ye(yW),pe(l.$slots,"layout-bottom",{},void 0,!0)],2)):(E(),ve(u,{key:1}))}}}),KJ=yr(JJ,[["__scopeId","data-v-6d457d7f"]]),Kv={Layout:KJ,enhanceApp:({app:e})=>{e.component("Badge",vU)}},QJ=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#4d9375","activityBar.background":"#121212","activityBar.border":"#191919","activityBar.foreground":"#dbd7caee","activityBar.inactiveForeground":"#dedcd550","activityBarBadge.background":"#bfbaaa","activityBarBadge.foreground":"#121212","badge.background":"#dedcd590","badge.foreground":"#121212","breadcrumb.activeSelectionForeground":"#eeeeee18","breadcrumb.background":"#181818","breadcrumb.focusForeground":"#dbd7caee","breadcrumb.foreground":"#959da5","breadcrumbPicker.background":"#121212","button.background":"#4d9375","button.foreground":"#121212","button.hoverBackground":"#4d9375","checkbox.background":"#181818","checkbox.border":"#2f363d","debugToolBar.background":"#121212","descriptionForeground":"#dedcd590","diffEditor.insertedTextBackground":"#4d937550","diffEditor.removedTextBackground":"#ab595950","dropdown.background":"#121212","dropdown.border":"#191919","dropdown.foreground":"#dbd7caee","dropdown.listBackground":"#181818","editor.background":"#121212","editor.findMatchBackground":"#e6cc7722","editor.findMatchHighlightBackground":"#e6cc7744","editor.focusedStackFrameHighlightBackground":"#b808","editor.foldBackground":"#eeeeee10","editor.foreground":"#dbd7caee","editor.inactiveSelectionBackground":"#eeeeee10","editor.lineHighlightBackground":"#181818","editor.selectionBackground":"#eeeeee18","editor.selectionHighlightBackground":"#eeeeee10","editor.stackFrameHighlightBackground":"#a707","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#5eaab5","editorBracketHighlight.foreground2":"#4d9375","editorBracketHighlight.foreground3":"#d4976c","editorBracketHighlight.foreground4":"#d9739f","editorBracketHighlight.foreground5":"#e6cc77","editorBracketHighlight.foreground6":"#6394bf","editorBracketMatch.background":"#4d937520","editorError.foreground":"#cb7676","editorGroup.border":"#191919","editorGroupHeader.tabsBackground":"#121212","editorGroupHeader.tabsBorder":"#191919","editorGutter.addedBackground":"#4d9375","editorGutter.commentRangeForeground":"#dedcd550","editorGutter.deletedBackground":"#cb7676","editorGutter.foldingControlForeground":"#dedcd590","editorGutter.modifiedBackground":"#6394bf","editorHint.foreground":"#4d9375","editorIndentGuide.activeBackground":"#ffffff30","editorIndentGuide.background":"#ffffff15","editorInfo.foreground":"#6394bf","editorInlayHint.background":"#181818","editorInlayHint.foreground":"#666666","editorLineNumber.activeForeground":"#bfbaaa","editorLineNumber.foreground":"#dedcd550","editorOverviewRuler.border":"#111","editorStickyScroll.background":"#181818","editorStickyScrollHover.background":"#181818","editorWarning.foreground":"#d4976c","editorWhitespace.foreground":"#ffffff15","editorWidget.background":"#121212","errorForeground":"#cb7676","focusBorder":"#00000000","foreground":"#dbd7caee","gitDecoration.addedResourceForeground":"#4d9375","gitDecoration.conflictingResourceForeground":"#d4976c","gitDecoration.deletedResourceForeground":"#cb7676","gitDecoration.ignoredResourceForeground":"#dedcd550","gitDecoration.modifiedResourceForeground":"#6394bf","gitDecoration.submoduleResourceForeground":"#dedcd590","gitDecoration.untrackedResourceForeground":"#5eaab5","input.background":"#181818","input.border":"#191919","input.foreground":"#dbd7caee","input.placeholderForeground":"#dedcd590","inputOption.activeBackground":"#dedcd550","list.activeSelectionBackground":"#181818","list.activeSelectionForeground":"#dbd7caee","list.focusBackground":"#181818","list.highlightForeground":"#4d9375","list.hoverBackground":"#181818","list.hoverForeground":"#dbd7caee","list.inactiveFocusBackground":"#121212","list.inactiveSelectionBackground":"#181818","list.inactiveSelectionForeground":"#dbd7caee","menu.separatorBackground":"#191919","notificationCenterHeader.background":"#121212","notificationCenterHeader.foreground":"#959da5","notifications.background":"#121212","notifications.border":"#191919","notifications.foreground":"#dbd7caee","notificationsErrorIcon.foreground":"#cb7676","notificationsInfoIcon.foreground":"#6394bf","notificationsWarningIcon.foreground":"#d4976c","panel.background":"#121212","panel.border":"#191919","panelInput.border":"#2f363d","panelTitle.activeBorder":"#4d9375","panelTitle.activeForeground":"#dbd7caee","panelTitle.inactiveForeground":"#959da5","peekViewEditor.background":"#121212","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.background":"#121212","peekViewResult.matchHighlightBackground":"#ffd33d33","pickerGroup.border":"#191919","pickerGroup.foreground":"#dbd7caee","problemsErrorIcon.foreground":"#cb7676","problemsInfoIcon.foreground":"#6394bf","problemsWarningIcon.foreground":"#d4976c","progressBar.background":"#4d9375","quickInput.background":"#121212","quickInput.foreground":"#dbd7caee","quickInputList.focusBackground":"#181818","scrollbar.shadow":"#0000","scrollbarSlider.activeBackground":"#dedcd550","scrollbarSlider.background":"#dedcd510","scrollbarSlider.hoverBackground":"#dedcd550","settings.headerForeground":"#dbd7caee","settings.modifiedItemIndicator":"#4d9375","sideBar.background":"#121212","sideBar.border":"#191919","sideBar.foreground":"#bfbaaa","sideBarSectionHeader.background":"#121212","sideBarSectionHeader.border":"#191919","sideBarSectionHeader.foreground":"#dbd7caee","sideBarTitle.foreground":"#dbd7caee","statusBar.background":"#121212","statusBar.border":"#191919","statusBar.debuggingBackground":"#181818","statusBar.debuggingForeground":"#bfbaaa","statusBar.foreground":"#bfbaaa","statusBar.noFolderBackground":"#121212","statusBarItem.prominentBackground":"#181818","tab.activeBackground":"#121212","tab.activeBorder":"#191919","tab.activeBorderTop":"#dedcd590","tab.activeForeground":"#dbd7caee","tab.border":"#191919","tab.hoverBackground":"#181818","tab.inactiveBackground":"#121212","tab.inactiveForeground":"#959da5","tab.unfocusedActiveBorder":"#191919","tab.unfocusedActiveBorderTop":"#191919","tab.unfocusedHoverBackground":"#121212","terminal.ansiBlack":"#393a34","terminal.ansiBlue":"#6394bf","terminal.ansiBrightBlack":"#777777","terminal.ansiBrightBlue":"#6394bf","terminal.ansiBrightCyan":"#5eaab5","terminal.ansiBrightGreen":"#4d9375","terminal.ansiBrightMagenta":"#d9739f","terminal.ansiBrightRed":"#cb7676","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#e6cc77","terminal.ansiCyan":"#5eaab5","terminal.ansiGreen":"#4d9375","terminal.ansiMagenta":"#d9739f","terminal.ansiRed":"#cb7676","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#e6cc77","terminal.foreground":"#dbd7caee","terminal.selectionBackground":"#eeeeee18","textBlockQuote.background":"#121212","textBlockQuote.border":"#191919","textCodeBlock.background":"#121212","textLink.activeForeground":"#4d9375","textLink.foreground":"#4d9375","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","titleBar.activeBackground":"#121212","titleBar.activeForeground":"#bfbaaa","titleBar.border":"#181818","titleBar.inactiveBackground":"#121212","titleBar.inactiveForeground":"#959da5","tree.indentGuidesStroke":"#2f363d","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},"displayName":"Vitesse Dark","name":"vitesse-dark","semanticHighlighting":true,"semanticTokenColors":{"class":"#6872ab","interface":"#5d99a9","namespace":"#db889a","property":"#b8a965","type":"#5d99a9"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#758575dd"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#666666"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#c99076"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#80a665"}},{"scope":"variable.parameter.function","settings":{"foreground":"#dbd7caee"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#4d9375"}},{"scope":"entity.name.function","settings":{"foreground":"#80a665"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#4d9375"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#cb7676"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#dbd7caee"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#c98a7d"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#c98a7d77"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#b8a96577"}},{"scope":"support","settings":{"foreground":"#b8a965"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#b8a965"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#bd976a"}},{"scope":["variable","identifier"],"settings":{"foreground":"#bd976a"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#5DA994"}},{"scope":"namespace","settings":{"foreground":"#db889a"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#cb7676"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"carriage-return","settings":{"background":"#f97583","content":"^M","fontStyle":"italic underline","foreground":"#24292e"}},{"scope":"message.error","settings":{"foreground":"#fdaeb7"}},{"scope":"string variable","settings":{"foreground":"#c98a7d"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#c4704f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#c98a7d"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#e6cc77"}},{"scope":["support.constant"],"settings":{"foreground":"#c99076"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#4C9A91"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#cb7676"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#4d9375"}},{"scope":"meta.module-reference","settings":{"foreground":"#4d9375"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#d4976c"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#4d9375"}},{"scope":"markup.quote","settings":{"foreground":"#5d99a9"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#dbd7caee"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#dbd7caee"}},{"scope":"markup.raw","settings":{"foreground":"#4d9375"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#86181d","foreground":"#fdaeb7"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#144620","foreground":"#85e89d"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#c24e00","foreground":"#ffab70"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#79b8ff","foreground":"#2f363d"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#b392f0"}},{"scope":"meta.diff.header","settings":{"foreground":"#79b8ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"meta.output","settings":{"foreground":"#79b8ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#d1d5da"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#fdaeb7"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#c98a7d"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#dedcd590"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#6872ab"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#80a665"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"dark"}')),ZJ=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#1c6b48","activityBar.background":"#ffffff","activityBar.border":"#f0f0f0","activityBar.foreground":"#393a34","activityBar.inactiveForeground":"#393a3450","activityBarBadge.background":"#4e4f47","activityBarBadge.foreground":"#ffffff","badge.background":"#393a3490","badge.foreground":"#ffffff","breadcrumb.activeSelectionForeground":"#22222218","breadcrumb.background":"#f7f7f7","breadcrumb.focusForeground":"#393a34","breadcrumb.foreground":"#6a737d","breadcrumbPicker.background":"#ffffff","button.background":"#1c6b48","button.foreground":"#ffffff","button.hoverBackground":"#1c6b48","checkbox.background":"#f7f7f7","checkbox.border":"#d1d5da","debugToolBar.background":"#ffffff","descriptionForeground":"#393a3490","diffEditor.insertedTextBackground":"#1c6b4830","diffEditor.removedTextBackground":"#ab595940","dropdown.background":"#ffffff","dropdown.border":"#f0f0f0","dropdown.foreground":"#393a34","dropdown.listBackground":"#f7f7f7","editor.background":"#ffffff","editor.findMatchBackground":"#e6cc7744","editor.findMatchHighlightBackground":"#e6cc7766","editor.focusedStackFrameHighlightBackground":"#fff5b1","editor.foldBackground":"#22222210","editor.foreground":"#393a34","editor.inactiveSelectionBackground":"#22222210","editor.lineHighlightBackground":"#f7f7f7","editor.selectionBackground":"#22222218","editor.selectionHighlightBackground":"#22222210","editor.stackFrameHighlightBackground":"#fffbdd","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#2993a3","editorBracketHighlight.foreground2":"#1e754f","editorBracketHighlight.foreground3":"#a65e2b","editorBracketHighlight.foreground4":"#a13865","editorBracketHighlight.foreground5":"#bda437","editorBracketHighlight.foreground6":"#296aa3","editorBracketMatch.background":"#1c6b4820","editorError.foreground":"#ab5959","editorGroup.border":"#f0f0f0","editorGroupHeader.tabsBackground":"#ffffff","editorGroupHeader.tabsBorder":"#f0f0f0","editorGutter.addedBackground":"#1e754f","editorGutter.commentRangeForeground":"#393a3450","editorGutter.deletedBackground":"#ab5959","editorGutter.foldingControlForeground":"#393a3490","editorGutter.modifiedBackground":"#296aa3","editorHint.foreground":"#1e754f","editorIndentGuide.activeBackground":"#00000030","editorIndentGuide.background":"#00000015","editorInfo.foreground":"#296aa3","editorInlayHint.background":"#f7f7f7","editorInlayHint.foreground":"#999999","editorLineNumber.activeForeground":"#4e4f47","editorLineNumber.foreground":"#393a3450","editorOverviewRuler.border":"#fff","editorStickyScroll.background":"#f7f7f7","editorStickyScrollHover.background":"#f7f7f7","editorWarning.foreground":"#a65e2b","editorWhitespace.foreground":"#00000015","editorWidget.background":"#ffffff","errorForeground":"#ab5959","focusBorder":"#00000000","foreground":"#393a34","gitDecoration.addedResourceForeground":"#1e754f","gitDecoration.conflictingResourceForeground":"#a65e2b","gitDecoration.deletedResourceForeground":"#ab5959","gitDecoration.ignoredResourceForeground":"#393a3450","gitDecoration.modifiedResourceForeground":"#296aa3","gitDecoration.submoduleResourceForeground":"#393a3490","gitDecoration.untrackedResourceForeground":"#2993a3","input.background":"#f7f7f7","input.border":"#f0f0f0","input.foreground":"#393a34","input.placeholderForeground":"#393a3490","inputOption.activeBackground":"#393a3450","list.activeSelectionBackground":"#f7f7f7","list.activeSelectionForeground":"#393a34","list.focusBackground":"#f7f7f7","list.highlightForeground":"#1c6b48","list.hoverBackground":"#f7f7f7","list.hoverForeground":"#393a34","list.inactiveFocusBackground":"#ffffff","list.inactiveSelectionBackground":"#f7f7f7","list.inactiveSelectionForeground":"#393a34","menu.separatorBackground":"#f0f0f0","notificationCenterHeader.background":"#ffffff","notificationCenterHeader.foreground":"#6a737d","notifications.background":"#ffffff","notifications.border":"#f0f0f0","notifications.foreground":"#393a34","notificationsErrorIcon.foreground":"#ab5959","notificationsInfoIcon.foreground":"#296aa3","notificationsWarningIcon.foreground":"#a65e2b","panel.background":"#ffffff","panel.border":"#f0f0f0","panelInput.border":"#e1e4e8","panelTitle.activeBorder":"#1c6b48","panelTitle.activeForeground":"#393a34","panelTitle.inactiveForeground":"#6a737d","peekViewEditor.background":"#ffffff","peekViewResult.background":"#ffffff","pickerGroup.border":"#f0f0f0","pickerGroup.foreground":"#393a34","problemsErrorIcon.foreground":"#ab5959","problemsInfoIcon.foreground":"#296aa3","problemsWarningIcon.foreground":"#a65e2b","progressBar.background":"#1c6b48","quickInput.background":"#ffffff","quickInput.foreground":"#393a34","quickInputList.focusBackground":"#f7f7f7","scrollbar.shadow":"#6a737d33","scrollbarSlider.activeBackground":"#393a3450","scrollbarSlider.background":"#393a3410","scrollbarSlider.hoverBackground":"#393a3450","settings.headerForeground":"#393a34","settings.modifiedItemIndicator":"#1c6b48","sideBar.background":"#ffffff","sideBar.border":"#f0f0f0","sideBar.foreground":"#4e4f47","sideBarSectionHeader.background":"#ffffff","sideBarSectionHeader.border":"#f0f0f0","sideBarSectionHeader.foreground":"#393a34","sideBarTitle.foreground":"#393a34","statusBar.background":"#ffffff","statusBar.border":"#f0f0f0","statusBar.debuggingBackground":"#f7f7f7","statusBar.debuggingForeground":"#4e4f47","statusBar.foreground":"#4e4f47","statusBar.noFolderBackground":"#ffffff","statusBarItem.prominentBackground":"#f7f7f7","tab.activeBackground":"#ffffff","tab.activeBorder":"#f0f0f0","tab.activeBorderTop":"#393a3490","tab.activeForeground":"#393a34","tab.border":"#f0f0f0","tab.hoverBackground":"#f7f7f7","tab.inactiveBackground":"#ffffff","tab.inactiveForeground":"#6a737d","tab.unfocusedActiveBorder":"#f0f0f0","tab.unfocusedActiveBorderTop":"#f0f0f0","tab.unfocusedHoverBackground":"#ffffff","terminal.ansiBlack":"#121212","terminal.ansiBlue":"#296aa3","terminal.ansiBrightBlack":"#aaaaaa","terminal.ansiBrightBlue":"#296aa3","terminal.ansiBrightCyan":"#2993a3","terminal.ansiBrightGreen":"#1e754f","terminal.ansiBrightMagenta":"#a13865","terminal.ansiBrightRed":"#ab5959","terminal.ansiBrightWhite":"#dddddd","terminal.ansiBrightYellow":"#bda437","terminal.ansiCyan":"#2993a3","terminal.ansiGreen":"#1e754f","terminal.ansiMagenta":"#a13865","terminal.ansiRed":"#ab5959","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#bda437","terminal.foreground":"#393a34","terminal.selectionBackground":"#22222218","textBlockQuote.background":"#ffffff","textBlockQuote.border":"#f0f0f0","textCodeBlock.background":"#ffffff","textLink.activeForeground":"#1c6b48","textLink.foreground":"#1c6b48","textPreformat.foreground":"#586069","textSeparator.foreground":"#d1d5da","titleBar.activeBackground":"#ffffff","titleBar.activeForeground":"#4e4f47","titleBar.border":"#f7f7f7","titleBar.inactiveBackground":"#ffffff","titleBar.inactiveForeground":"#6a737d","tree.indentGuidesStroke":"#e1e4e8","welcomePage.buttonBackground":"#f6f8fa","welcomePage.buttonHoverBackground":"#e1e4e8"},"displayName":"Vitesse Light","name":"vitesse-light","semanticHighlighting":true,"semanticTokenColors":{"class":"#5a6aa6","interface":"#2e808f","namespace":"#b05a78","property":"#998418","type":"#2e808f"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#a0ada0"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#999999"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#a65e2b"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#59873a"}},{"scope":"variable.parameter.function","settings":{"foreground":"#393a34"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#1e754f"}},{"scope":"entity.name.function","settings":{"foreground":"#59873a"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#1e754f"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#ab5959"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#393a34"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#b56959"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#b5695977"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#99841877"}},{"scope":"support","settings":{"foreground":"#998418"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#998418"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#b07d48"}},{"scope":["variable","identifier"],"settings":{"foreground":"#b07d48"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#2e8f82"}},{"scope":"namespace","settings":{"foreground":"#b05a78"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#ab5959"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"carriage-return","settings":{"background":"#d73a49","content":"^M","fontStyle":"italic underline","foreground":"#fafbfc"}},{"scope":"message.error","settings":{"foreground":"#b31d28"}},{"scope":"string variable","settings":{"foreground":"#b56959"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#ab5e3f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#b56959"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#bda437"}},{"scope":["support.constant"],"settings":{"foreground":"#a65e2b"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#2f798a"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#ab5959"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#1e754f"}},{"scope":"meta.module-reference","settings":{"foreground":"#1c6b48"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#a65e2b"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#1c6b48"}},{"scope":"markup.quote","settings":{"foreground":"#2e808f"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#393a34"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#393a34"}},{"scope":"markup.raw","settings":{"foreground":"#1c6b48"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#ffeef0","foreground":"#b31d28"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#f0fff4","foreground":"#22863a"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#ffebda","foreground":"#e36209"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#005cc5","foreground":"#f6f8fa"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#6f42c1"}},{"scope":"meta.diff.header","settings":{"foreground":"#005cc5"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#005cc5"}},{"scope":"meta.output","settings":{"foreground":"#005cc5"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#586069"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#b31d28"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#b56959"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#393a3490"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#5a6aa6"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#59873a"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"light"}'));function XJ(e,t){var r;const n=La();return Lo(()=>{n.value=e()},{...t,flush:(r=t==null?void 0:t.flush)!==null&&r!==void 0?r:"sync"}),mw(n)}function Ah(e,t){return gw()?(VL(e,t),!0):!1}function YJ(){const e=new Set,t=r=>{e.delete(r)};return{on:r=>{e.add(r);const n=()=>t(r);return Ah(n),{off:n}},off:t,trigger:(...r)=>Promise.all(Array.from(e).map(n=>n(...r))),clear:()=>{e.clear()}}}function eK(e){let t=!1,r;const n=UL(!0);return(...o)=>(t||(r=n.run(()=>e(...o)),t=!0),r)}const Yx=new WeakMap,tK=(...e)=>{var t;const r=e[0],n=(t=Vc())===null||t===void 0?void 0:t.proxy,o=n??gw();if(o==null&&!HL())throw new Error("injectLocal must be called in setup");return o&&Yx.has(o)&&r in Yx.get(o)?Yx.get(o)[r]:_i(...e)},Vl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const rK=e=>typeof e<"u",nK=Object.prototype.toString,oK=e=>nK.call(e)==="[object Object]",sK=()=>{},CO=iK();function iK(){var e,t,r;return Vl&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((r=window)===null||r===void 0?void 0:r.navigator.userAgent))}function eN(...e){if(e.length!==1)return zL(...e);const t=e[0];return typeof t=="function"?mw(FL(()=>({get:t,set:sK}))):Oe(t)}function aK(e,t){function r(...n){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(o).catch(s)})}return r}const tN=e=>e();function lK(e=tN,t={}){const{initialState:r="active"}=t,n=eN(r==="active");function o(){n.value=!1}function s(){n.value=!0}const i=(...a)=>{n.value&&e(...a)};return{isActive:mw(n),pause:o,resume:s,eventFilter:i}}function AO(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ek(e){return Array.isArray(e)?e:[e]}function rN(e){return Vc()}function cK(e){if(!Vl)return e;let t=0,r,n;const o=()=>{t-=1,n&&t<=0&&(n.stop(),r=void 0,n=void 0)};return(...s)=>(t+=1,n||(n=UL(!0),r=n.run(()=>e(...s))),Ah(o),r)}function nN(e,t=1e4){return FL((r,n)=>{let o=os(e),s;const i=()=>setTimeout(()=>{o=os(e),n()},os(t));return Ah(()=>{clearTimeout(s)}),{get(){return r(),o},set(a){o=a,n(),clearTimeout(s),s=i()}}})}function uK(e,t,r={}){const{eventFilter:n=tN,...o}=r;return cr(e,aK(n,t),o)}function dK(e,t,r={}){const{eventFilter:n,initialState:o="active",...s}=r,{eventFilter:i,pause:a,resume:l,isActive:c}=lK(n,{initialState:o});return{stop:uK(e,t,{...s,eventFilter:i}),pause:a,resume:l,isActive:c}}function pK(e,t){rN()&&Ch(e,t)}function oN(e,t=!0,r){rN()?Oo(e,r):t?e():Io(e)}function sN(e,t,r={}){const{immediate:n=!0,immediateCallback:o=!1}=r,s=La(!1);let i;function a(){i&&(clearTimeout(i),i=void 0)}function l(){s.value=!1,a()}function c(...u){o&&e(),a(),s.value=!0,i=setTimeout(()=>{s.value=!1,i=void 0,e(...u)},os(t))}return n&&(s.value=!0,Vl&&c()),Ah(l),{isPending:Sd(s),start:c,stop:l}}function fK(e,t,r){return cr(e,t,{...r,immediate:!0})}const bl=Vl?window:void 0;function Ga(e){var t;const r=os(e);return(t=r==null?void 0:r.$el)!==null&&t!==void 0?t:r}function Ru(...e){const t=(n,o,s,i)=>(n.addEventListener(o,s,i),()=>n.removeEventListener(o,s,i)),r=le(()=>{const n=ek(os(e[0])).filter(o=>o!=null);return n.every(o=>typeof o!="string")?n:void 0});return fK(()=>{var n,o;return[(n=(o=r.value)===null||o===void 0?void 0:o.map(s=>Ga(s)))!==null&&n!==void 0?n:[bl].filter(s=>s!=null),ek(os(r.value?e[1]:e[0])),ek(S(r.value?e[2]:e[1])),os(r.value?e[3]:e[2])]},([n,o,s,i],a,l)=>{if(!(n!=null&&n.length)||!(o!=null&&o.length)||!(s!=null&&s.length))return;const c=oK(i)?{...i}:i,u=n.flatMap(d=>o.flatMap(p=>s.map(f=>t(d,p,f,c))));l(()=>{u.forEach(d=>d())})},{flush:"post"})}function iN(){const e=La(!1),t=Vc();return t&&Oo(()=>{e.value=!0},t),e}function aN(e){const t=iN();return le(()=>(t.value,!!e()))}function hK(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function mK(...e){let t,r,n={};e.length===3?(t=e[0],r=e[1],n=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,r=e[0],n=e[1]):(t=e[0],r=e[1]):(t=!0,r=e[0]);const{target:o=bl,eventName:s="keydown",passive:i=!1,dedupe:a=!1}=n,l=hK(t);return Ru(o,s,c=>{c.repeat&&os(a)||l(c)&&r(c)},i)}const gK=Symbol("vueuse-ssr-width");function vK(){const e=HL()?tK(gK,null):null;return typeof e=="number"?e:void 0}function yK(e,t={}){const{window:r=bl,ssrWidth:n=vK()}=t,o=aN(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function"),s=La(typeof n=="number"),i=La(),a=La(!1),l=c=>{a.value=c.matches};return Lo(()=>{if(s.value){s.value=!o.value,a.value=os(e).split(",").some(c=>{const u=c.includes("not all"),d=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let f=!!(d||p);return d&&f&&(f=n>=AO(d[1])),p&&f&&(f=n<=AO(p[1])),u?!f:f});return}o.value&&(i.value=r.matchMedia(os(e)),a.value=i.value.matches)}),Ru(i,"change",l,{passive:!0}),le(()=>a.value)}function bK(e){return JSON.parse(JSON.stringify(e))}const Qv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Zv="__vueuse_ssr_handlers__",wK=xK();function xK(){return Zv in Qv||(Qv[Zv]=Qv[Zv]||{}),Qv[Zv]}function lN(e,t){return wK[e]||t}function kK(e){return yK("(prefers-color-scheme: dark)",e)}function jK(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const _K={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},EO="vueuse-storage";function Tf(e,t,r,n={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=bl,eventFilter:p,onError:f=z=>{console.error(z)},initOnMounted:m}=n,v=(u?La:Oe)(typeof t=="function"?t():t),g=le(()=>os(e));if(!r)try{r=lN("getDefaultStorage",()=>bl==null?void 0:bl.localStorage)()}catch(z){f(z)}if(!r)return v;const y=os(t),b=jK(y),w=(o=n.serializer)!==null&&o!==void 0?o:_K[b],{pause:k,resume:x}=dK(v,z=>I(z),{flush:s,deep:i,eventFilter:p});cr(g,()=>N(),{flush:s});let j=!1;const _=z=>{m&&!j||N(z)},C=z=>{m&&!j||F(z)};d&&a&&(r instanceof Storage?Ru(d,"storage",_,{passive:!0}):Ru(d,EO,C)),m?oN(()=>{j=!0,N()}):N();function A(z,L){if(d){const X={key:g.value,oldValue:z,newValue:L,storageArea:r};d.dispatchEvent(r instanceof Storage?new StorageEvent("storage",X):new CustomEvent(EO,{detail:X}))}}function I(z){try{const L=r.getItem(g.value);if(z==null)A(L,null),r.removeItem(g.value);else{const X=w.write(z);L!==X&&(r.setItem(g.value,X),A(L,X))}}catch(L){f(L)}}function M(z){const L=z?z.newValue:r.getItem(g.value);if(L==null)return l&&y!=null&&r.setItem(g.value,w.write(y)),y;if(!z&&c){const X=w.read(L);return typeof c=="function"?c(X,y):b==="object"&&!Array.isArray(X)?{...y,...X}:X}else return typeof L!="string"?L:w.read(L)}function N(z){if(!(z&&z.storageArea!==r)){if(z&&z.key==null){v.value=y;return}if(!(z&&z.key!==g.value)){k();try{const L=w.write(v.value);(z===void 0||(z==null?void 0:z.newValue)!==L)&&(v.value=M(z))}catch(L){f(L)}finally{z?Io(x):x()}}}}function F(z){N(z.detail)}return v}const SK="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function CK(e={}){const{selector:t="html",attribute:r="class",initialValue:n="auto",window:o=bl,storage:s,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},p=kK({window:o}),f=le(()=>p.value?"dark":"light"),m=l||(i==null?eN(n):Tf(i,n,s,{window:o,listenToStorageChanges:a})),v=le(()=>m.value==="auto"?f.value:m.value),g=lN("updateHTMLAttrs",(k,x,j)=>{const _=typeof k=="string"?o==null?void 0:o.document.querySelector(k):Ga(k);if(!_)return;const C=new Set,A=new Set;let I=null;if(x==="class"){const N=j.split(/\s/g);Object.values(d).flatMap(F=>(F||"").split(/\s/g)).filter(Boolean).forEach(F=>{N.includes(F)?C.add(F):A.add(F)})}else I={key:x,value:j};if(C.size===0&&A.size===0&&I===null)return;let M;u&&(M=o.document.createElement("style"),M.appendChild(document.createTextNode(SK)),o.document.head.appendChild(M));for(const N of C)_.classList.add(N);for(const N of A)_.classList.remove(N);I&&_.setAttribute(I.key,I.value),u&&(o.getComputedStyle(M).opacity,document.head.removeChild(M))});function y(k){var x;g(t,r,(x=d[k])!==null&&x!==void 0?x:k)}function b(k){e.onChanged?e.onChanged(k,y):y(k)}cr(v,b,{flush:"post",immediate:!0}),oN(()=>b(v.value));const w=le({get(){return c?m.value:v.value},set(k){m.value=k}});return Object.assign(w,{store:m,system:f,state:v})}function AK(e={}){const{valueDark:t="dark",valueLight:r=""}=e,n=CK({...e,onChanged:(s,i)=>{var a;e.onChanged?(a=e.onChanged)===null||a===void 0||a.call(e,s==="dark",i,s):i(s)},modes:{dark:t,light:r}}),o=le(()=>n.system.value);return le({get(){return n.value==="dark"},set(s){const i=s?"dark":"light";o.value===i?n.value="auto":n.value=i}})}function cN(e,t,r={}){const{window:n=bl,...o}=r;let s;const i=aN(()=>n&&"ResizeObserver"in n),a=()=>{s&&(s.disconnect(),s=void 0)},l=cr(le(()=>{const u=os(e);return Array.isArray(u)?u.map(d=>Ga(d)):[Ga(u)]}),u=>{if(a(),i.value&&n){s=new ResizeObserver(t);for(const d of u)d&&s.observe(d,o)}},{immediate:!0,flush:"post"}),c=()=>{a(),l()};return Ah(c),{isSupported:i,stop:c}}const rm=new Map;function EK(e){const t=gw();function r(a){var l;const c=rm.get(e)||new Set;c.add(a),rm.set(e,c);const u=()=>o(a);return t==null||(l=t.cleanups)===null||l===void 0||l.push(u),u}function n(a){function l(...c){o(l),a(...c)}return r(l)}function o(a){const l=rm.get(e);l&&(l.delete(a),l.size||s())}function s(){rm.delete(e)}function i(a,l){var c;(c=rm.get(e))===null||c===void 0||c.forEach(u=>u(a,l))}return{on:r,once:n,off:o,emit:i,reset:s}}function ca(e,t,r,n={}){var o,s;const{clone:i=!1,passive:a=!1,eventName:l,deep:c=!1,defaultValue:u,shouldEmit:d}=n,p=Vc(),f=r||(p==null?void 0:p.emit)||(p==null||(o=p.$emit)===null||o===void 0?void 0:o.bind(p))||(p==null||(s=p.proxy)===null||s===void 0||(s=s.$emit)===null||s===void 0?void 0:s.bind(p==null?void 0:p.proxy));let m=l;t||(t="modelValue"),m=m||`update:${t.toString()}`;const v=b=>i?typeof i=="function"?i(b):bK(b):b,g=()=>rK(e[t])?v(e[t]):u,y=b=>{d?d(b)&&f(m,b):f(m,b)};if(a){const b=Oe(g());let w=!1;return cr(()=>e[t],k=>{w||(w=!0,b.value=v(k),Io(()=>w=!1))}),cr(b,k=>{!w&&(k!==e[t]||c)&&y(k)},{deep:c}),b}else return le({get(){return g()},set(b){y(b)}})}const OK=e=>Object.entries(e),$K={c:["libcurl"],clojure:["clj_http"],csharp:["httpclient","restsharp"],dart:["http"],fsharp:["httpclient"],go:["native"],http:["http1.1"],java:["asynchttp","nethttp","okhttp","unirest"],js:["axios","fetch","jquery","ofetch","xhr"],kotlin:["okhttp"],node:["axios","fetch","ofetch","undici"],objc:["nsurlsession"],ocaml:["cohttp"],php:["curl","guzzle"],powershell:["restmethod","webrequest"],python:["python3","requests","httpx_sync","httpx_async"],r:["httr"],ruby:["native"],rust:["reqwest"],shell:["curl","httpie","wget"],swift:["nsurlsession"]};OK($K).flatMap(([e,t])=>t.map(r=>`${e}/${r}`));const OO="",$O=` +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/chunks/VPLocalSearchBox.DoKgPKr6.js","assets/chunks/framework.DHqKNX4U.js","assets/chunks/angular-html-DPB4Rf0C.DESgnZjY.js","assets/chunks/html-B50bmoVb.5itfvePp.js","assets/chunks/javascript-C25yR2R2.wDzz0qaB.js","assets/chunks/css-CECN5uSL.DPfMkruS.js","assets/chunks/angular-ts-CTOR2ofC.ClihVIms.js","assets/chunks/scss-B1FaCqwR.Ck2k-5yS.js","assets/chunks/apl-CjNiDgad.By2JoYGR.js","assets/chunks/xml-C2J0sS9M.D2gdfNFA.js","assets/chunks/java-DY6VlHhP.CylS5w8V.js","assets/chunks/json-DxJze_jm.Cp-IABpG.js","assets/chunks/astro-CFFExE8Q.D2C4GZx1.js","assets/chunks/typescript-RycA9KXf.BPQ3VLAy.js","assets/chunks/postcss-05aHdL-n.CXtECtnM.js","assets/chunks/tsx-B8rCNbgL.COt5Ahok.js","assets/chunks/blade-D0HyNvCw.B22AUbhu.js","assets/chunks/html-derivative-C6bxFbFW.Mh7OQFDx.js","assets/chunks/sql-Cn_v3PB0.BLtJtn59.js","assets/chunks/bsl-NkNNwerW.Bi1psIsY.js","assets/chunks/sdbl-B7T8abf4.DVxCFoDh.js","assets/chunks/cairo-DM6WF2e3.D1_L8Xgr.js","assets/chunks/python-BFNSHbwJ.B6aJPvgy.js","assets/chunks/cobol-DBolczTz.B27wNAoL.js","assets/chunks/coffee-DGBR_nr_.C_2Gbh_i.js","assets/chunks/cpp-Cj177cuW.De-5Ift6.js","assets/chunks/regexp-BazyLpPg.CDVJQ6XC.js","assets/chunks/glsl-CkUcVZNK.CSaOZ92O.js","assets/chunks/c-eeMepfLm.BIGW1oBm.js","assets/chunks/crystal-CRJyc4G-.Cv5qkeAc.js","assets/chunks/shellscript-InADTalH.Yzrsuije.js","assets/chunks/edge-BYQkOzbF.BlTtajtD.js","assets/chunks/elixir-Dh036GMp.Bt_17l8z.js","assets/chunks/elm-BtNbw_Cd.CXIbmfSn.js","assets/chunks/erb-ScVOXVpH.DBtFm1BM.js","assets/chunks/ruby-BeqCs27h.B7Un6byt.js","assets/chunks/haml-NZLVzu_R.CwCNWgR-.js","assets/chunks/graphql-CBu2ehBn.DnJ3pOcc.js","assets/chunks/jsx-BtKADgXT.g9-lgVsj.js","assets/chunks/lua-Bp3IRv7I.Dsg1hLJt.js","assets/chunks/yaml-DaO7k5B1.Buea-lGh.js","assets/chunks/erlang-DNcDT8Hi.BZf5DRJy.js","assets/chunks/markdown-CrScaQ96.Cvjx9yec.js","assets/chunks/fortran-fixed-form-B67KFkXH.CDH49byh.js","assets/chunks/fortran-free-form-CwqYvCLJ.BxgE0vQu.js","assets/chunks/fsharp-CYOiIVNx.CQbQ22yi.js","assets/chunks/gdresource-CvCIUjhi.BN-sfLSk.js","assets/chunks/gdshader-Bk8fF6yr.DkwncUOv.js","assets/chunks/gdscript-DSAxJ_aS.C5YyOfLZ.js","assets/chunks/git-commit-Bd32YZ0K.B_zh-QqN.js","assets/chunks/diff-BxzP2J8R.D97Zzqfu.js","assets/chunks/git-rebase-ZWUFO_T4.C1umF-NW.js","assets/chunks/glimmer-js-DkxNrfPT.B-b35-8d.js","assets/chunks/glimmer-ts-D6YZEmK_.Se2tVUnQ.js","assets/chunks/hack-ItRNKiEb.CGIm0b5K.js","assets/chunks/handlebars-mxStpSE7.B6AqvhLx.js","assets/chunks/http-DLvAkeD-.B-3JyST8.js","assets/chunks/hurl-CgkFN90t.Ciy-8C2E.js","assets/chunks/csv-CmYOceLb.Co7V7EpZ.js","assets/chunks/hxml-GbqSQCLa.CZX2AIRF.js","assets/chunks/haxe-TztHsm5T.CzTSHFRz.js","assets/chunks/jinja-CFW5uAwY.ByuzBqu1.js","assets/chunks/jison-DdreslRX.nxeSEs3j.js","assets/chunks/julia-CZiKXNNP.BkVwBpLe.js","assets/chunks/r-CSmzDPi7.Dspwwk_N.js","assets/chunks/just-CEK2SJ_k.BwuhYwfc.js","assets/chunks/perl-DkVrgJBg.XkcgxGZs.js","assets/chunks/latex-B8Egmqc5.DuG8MMkm.js","assets/chunks/tex-AHxmLTL0.CvqJy4qb.js","assets/chunks/liquid-CHzkx3jT.B1uKXIcK.js","assets/chunks/marko-CJBA24Ri.CEUdhXun.js","assets/chunks/less-B1GLI2Di.B1dDrJ26.js","assets/chunks/mdc-C9YSUwVC.QDiAWeOc.js","assets/chunks/nextflow-47kAzSl1.DTaQeSIP.js","assets/chunks/nextflow-groovy-Drz_2V0j.BeH2EWoN.js","assets/chunks/nginx-D7O4WoB1.BLs5wP_5.js","assets/chunks/nim-QAjRdh9w.BmsfyvWw.js","assets/chunks/php-BIzsF_5x.BVktt7F6.js","assets/chunks/pug-XOw9Q1Ho.DbVWXRvf.js","assets/chunks/qml-rTNXsquU.D7cb-65z.js","assets/chunks/razor-Ci8D0dQK.DUnMO2ts.js","assets/chunks/csharp-CCgA4A09.COcwbKMJ.js","assets/chunks/rst-DM32Wy3O.n0qpWXJ4.js","assets/chunks/cmake-BJz8BOTU.D1j8_8rp.js","assets/chunks/sas-fpEvgATw.DGFTbZf0.js","assets/chunks/shaderlab-Cr62-Wb4.Dg-YLyZM.js","assets/chunks/hlsl-Bk8TCZNL.D3lLCCz7.js","assets/chunks/shellsession-DiDJNQdy.6b8mv5tD.js","assets/chunks/soy-C1-6njHa.bBoLPmyR.js","assets/chunks/sparql-B0KWFEri.C0kn9QnI.js","assets/chunks/turtle-_H59FV7D.BsS91CYL.js","assets/chunks/stata-B8c5fTjX.B5gLgQfq.js","assets/chunks/surrealql-CQi7GQN7.DwxZRr_q.js","assets/chunks/svelte-rYri41WT.DUX-c_w_.js","assets/chunks/templ-Crs9Ui8q.DWxMd01m.js","assets/chunks/go-CvFNMTvu.CxLEBnE3.js","assets/chunks/ts-tags-BUclWxCG.CZyjpXn1.js","assets/chunks/twig-DwV2Fi4L.Cs5KKVgC.js","assets/chunks/vue-DXEmyXn9.BYsJrqyF.js","assets/chunks/vue-html-j9xNEdu3.pBkLY7_g.js","assets/chunks/vue-vine-D41-N99t.DPWpdtYA.js","assets/chunks/stylus-CyKEU1Ej.BEDo0Tqx.js","assets/chunks/xsl-BmSZphgC.jxtCyhIJ.js"])))=>i.map(i=>d[i]); +var QV=Object.defineProperty;var ZV=Object.getPrototypeOf;var XV=Reflect.get;var xO=e=>{throw TypeError(e)};var YV=(e,t,r)=>t in e?QV(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var Re=(e,t,r)=>YV(e,typeof t!="symbol"?t+"":t,r),Qx=(e,t,r)=>t.has(e)||xO("Cannot "+r);var is=(e,t,r)=>(Qx(e,t,"read from private field"),r?r.call(e):t.get(e)),Xc=(e,t,r)=>t.has(e)?xO("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),ka=(e,t,r,n)=>(Qx(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),Zx=(e,t,r)=>(Qx(e,t,"access private method"),r);var kO=(e,t,r)=>XV(ZV(e),r,t);import{d as Te,c as K,r as pe,n as Nt,a as Vt,t as ze,o as E,b as ve,w as U,T as nC,e as je,_ as yr,u as eU,i as tU,f as rU,g as oC,h as le,j as ue,k as S,l as Yd,m as l_,p as Oe,q as cr,s as No,v as Oo,x as nd,y as _h,z as NN,A as nU,F as dt,B as zt,C as od,D as Na,E as pw,G as ye,H as LN,I as si,J as fw,K as jr,L as _i,M as oU,N as Sh,O as c_,P as Io,Q as RN,R as hw,S as mw,U as sU,V as ce,W as BN,X as wp,Y as qN,Z as ep,$ as Ch,a0 as la,a1 as el,a2 as zN,a3 as FN,a4 as os,a5 as yc,a6 as Vc,a7 as gw,a8 as VN,a9 as UN,aa as HN,ab as Sd,ac as sC,ad as Mn,ae as Nn,af as xp,ag as iU,ah as _l,ai as jO,aj as Uc,ak as aU,al as WN,am as GN,an as lU,ao as cU,ap as uU,aq as dU,ar as pU,as as fU,at as u_,au as _O,av as hU,aw as mU,ax as gU}from"./framework.DHqKNX4U.js";const vU=Te({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(e){return(t,r)=>(E(),K("span",{class:Nt(["VPBadge",t.type])},[pe(t.$slots,"default",{},()=>[Vt(ze(t.text),1)])],2))}}),yU={key:0,class:"VPBackdrop"},bU=Te({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(e){return(t,r)=>(E(),ve(nC,{name:"fade"},{default:U(()=>[t.show?(E(),K("div",yU)):je("",!0)]),_:1}))}}),wU=yr(bU,[["__scopeId","data-v-c421aa49"]]),Yr=eU;function xU(e,t){let r,n=!1;return()=>{r&&clearTimeout(r),n?r=setTimeout(e,t):(e(),(n=!0)&&setTimeout(()=>n=!1,t))}}function d_(e){return e.startsWith("/")?e:`/${e}`}function iC(e){const{pathname:t,search:r,hash:n,protocol:o}=new URL(e,"http://a.com");if(tU(e)||e.startsWith("#")||!o.startsWith("http")||!rU(t))return e;const{site:s}=Yr(),i=t.endsWith("/")||t.endsWith(".html")?e:e.replace(/(?:(^\.+)\/)?.*$/,`$1${t.replace(/(\.md)?$/,s.value.cleanUrls?"":".html")}${r}${n}`);return oC(i)}function pv({correspondingLink:e=!1}={}){const{site:t,localeIndex:r,page:n,theme:o,hash:s}=Yr(),i=le(()=>{var l,c;return{label:(l=t.value.locales[r.value])==null?void 0:l.label,link:((c=t.value.locales[r.value])==null?void 0:c.link)||(r.value==="root"?"/":`/${r.value}/`)}});return{localeLinks:le(()=>Object.entries(t.value.locales).flatMap(([l,c])=>i.value.label===c.label?[]:{text:c.label,link:kU(c.link||(l==="root"?"/":`/${l}/`),o.value.i18nRouting!==!1&&e,n.value.relativePath.slice(i.value.link.length-1),!t.value.cleanUrls)+s.value})),currentLang:i}}function kU(e,t,r,n){return t?e.replace(/\/$/,"")+d_(r.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):e}const jU={class:"NotFound"},_U={class:"code"},SU={class:"title"},CU={class:"quote"},AU={class:"action"},EU=["href","aria-label"],OU=Te({__name:"NotFound",setup(e){const{theme:t}=Yr(),{currentLang:r}=pv();return(n,o)=>{var s,i,a,l,c;return E(),K("div",jU,[ue("p",_U,ze(((s=S(t).notFound)==null?void 0:s.code)??"404"),1),ue("h1",SU,ze(((i=S(t).notFound)==null?void 0:i.title)??"PAGE NOT FOUND"),1),o[0]||(o[0]=ue("div",{class:"divider"},null,-1)),ue("blockquote",CU,ze(((a=S(t).notFound)==null?void 0:a.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),ue("div",AU,[ue("a",{class:"link",href:S(oC)(S(r).link),"aria-label":((l=S(t).notFound)==null?void 0:l.linkLabel)??"go to home"},ze(((c=S(t).notFound)==null?void 0:c.linkText)??"Take me home"),9,EU)])])}}}),$U=yr(OU,[["__scopeId","data-v-ec86ced4"]]);function JN(e,t){if(Array.isArray(e))return J0(e);if(e==null)return[];t=d_(t);const r=Object.keys(e).sort((o,s)=>s.split("/").length-o.split("/").length).find(o=>t.startsWith(d_(o))),n=r?e[r]:[];return Array.isArray(n)?J0(n):J0(n.items,n.base)}function TU(e){const t=[];let r=0;for(const n in e){const o=e[n];if(o.items){r=t.push(o);continue}t[r]||t.push({items:[]}),t[r].items.push(o)}return t}function PU(e){const t=[];function r(n){for(const o of n)o.text&&o.link&&t.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&r(o.items)}return r(e),t}function p_(e,t){return Array.isArray(t)?t.some(r=>p_(e,r)):Yd(e,t.link)?!0:t.items?p_(e,t.items):!1}function J0(e,t){return[...e].map(r=>{const n={...r},o=n.base||t;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=J0(n.items,o)),n})}function Hc(){const{frontmatter:e,page:t,theme:r}=Yr(),n=l_("(min-width: 960px)"),o=Oe(!1),s=le(()=>{const v=r.value.sidebar,g=t.value.relativePath;return v?JN(v,g):[]}),i=Oe(s.value);cr(s,(v,g)=>{JSON.stringify(v)!==JSON.stringify(g)&&(i.value=s.value)});const a=le(()=>e.value.sidebar!==!1&&i.value.length>0&&e.value.layout!=="home"),l=le(()=>c?e.value.aside==null?r.value.aside==="left":e.value.aside==="left":!1),c=le(()=>e.value.layout==="home"?!1:e.value.aside!=null?!!e.value.aside:r.value.aside!==!1),u=le(()=>a.value&&n.value),d=le(()=>a.value?TU(i.value):[]);function p(){o.value=!0}function f(){o.value=!1}function m(){o.value?f():p()}return{isOpen:o,sidebar:i,sidebarGroups:d,hasSidebar:a,hasAside:c,leftAside:l,isSidebarEnabled:u,open:p,close:f,toggle:m}}function IU(e,t){let r;No(()=>{r=e.value?document.activeElement:void 0}),Oo(()=>{window.addEventListener("keyup",n)}),nd(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&e.value&&(t(),r==null||r.focus())}}function DU(e){const{page:t,hash:r}=Yr(),n=Oe(!1),o=le(()=>e.value.collapsed!=null),s=le(()=>!!e.value.link),i=Oe(!1),a=()=>{i.value=Yd(t.value.relativePath,e.value.link)};cr([t,e,r],a),Oo(a);const l=le(()=>i.value?!0:e.value.items?p_(t.value.relativePath,e.value.items):!1),c=le(()=>!!(e.value.items&&e.value.items.length));No(()=>{n.value=!!(o.value&&e.value.collapsed)}),_h(()=>{(i.value||l.value)&&(n.value=!1)});function u(){o.value&&(n.value=!n.value)}return{collapsed:n,collapsible:o,isLink:s,isActiveLink:i,hasActiveLink:l,hasChildren:c,toggle:u}}function MU(){const{hasSidebar:e}=Hc(),t=l_("(min-width: 960px)"),r=l_("(min-width: 1280px)");return{isAsideEnabled:le(()=>!r.value&&!t.value?!1:e.value?r.value:t.value)}}const NU=/\b(?:VPBadge|header-anchor|footnote-ref|ignore-header)\b/,f_=[];function KN(e){return typeof e.outline=="object"&&!Array.isArray(e.outline)&&e.outline.label||e.outlineTitle||"On this page"}function aC(e){const t=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(r=>r.id&&r.hasChildNodes()).map(r=>{const n=Number(r.tagName[1]);return{element:r,title:LU(r),link:"#"+r.id,level:n}});return RU(t,e)}function LU(e){let t="";for(const r of e.childNodes)if(r.nodeType===1){if(NU.test(r.className))continue;t+=r.textContent}else r.nodeType===3&&(t+=r.textContent);return t.trim()}function RU(e,t){if(t===!1)return[];const r=(typeof t=="object"&&!Array.isArray(t)?t.level:t)||2,[n,o]=typeof r=="number"?[r,r]:r==="deep"?[2,6]:r;return zU(e,n,o)}function BU(e,t){const{isAsideEnabled:r}=MU(),n=xU(s,100);let o=null;Oo(()=>{requestAnimationFrame(s),window.addEventListener("scroll",n)}),NN(()=>{i(location.hash)}),nd(()=>{window.removeEventListener("scroll",n)});function s(){if(!r.value)return;const a=window.scrollY,l=window.innerHeight,c=document.body.offsetHeight,u=Math.abs(a+l-c)<1,d=f_.map(({element:f,link:m})=>({link:m,top:qU(f)})).filter(({top:f})=>!Number.isNaN(f)).sort((f,m)=>f.top-m.top);if(!d.length){i(null);return}if(a<1){i(null);return}if(u){i(d[d.length-1].link);return}let p=null;for(const{link:f,top:m}of d){if(m>a+nU()+4)break;p=f}i(p)}function i(a){o&&o.classList.remove("active"),a==null?o=null:o=e.value.querySelector(`a[href="${decodeURIComponent(a)}"]`);const l=o;l?(l.classList.add("active"),t.value.style.top=l.offsetTop+39+"px",t.value.style.opacity="1"):(t.value.style.top="33px",t.value.style.opacity="0")}}function qU(e){let t=0;for(;e!==document.body;){if(e===null)return NaN;t+=e.offsetTop,e=e.offsetParent}return t}function zU(e,t,r){f_.length=0;const n=[],o=[];return e.forEach(s=>{const i={...s,children:[]};let a=o[o.length-1];for(;a&&a.level>=i.level;)o.pop(),a=o[o.length-1];if(i.element.classList.contains("ignore-header")||a&&"shouldIgnore"in a){o.push({level:i.level,shouldIgnore:!0});return}i.level>r||i.level{const o=od("VPDocOutlineItem",!0);return E(),K("ul",{class:Nt(["VPDocOutlineItem",r.root?"root":"nested"])},[(E(!0),K(dt,null,zt(r.headers,({children:s,link:i,title:a})=>(E(),K("li",null,[ue("a",{class:"outline-link",href:i,onClick:t,title:a},ze(a),9,FU),s!=null&&s.length?(E(),ve(o,{key:0,headers:s},null,8,["headers"])):je("",!0)]))),256))],2)}}}),QN=yr(VU,[["__scopeId","data-v-c6ed6775"]]),UU={class:"content"},HU={"aria-level":"2",class:"outline-title",id:"doc-outline-aria-label",role:"heading"},WU=Te({__name:"VPDocAsideOutline",setup(e){const{frontmatter:t,theme:r}=Yr(),n=Na([]);pw(()=>{n.value=aC(t.value.outline??r.value.outline)});const o=Oe(),s=Oe();return BU(o,s),(i,a)=>(E(),K("nav",{"aria-labelledby":"doc-outline-aria-label",class:Nt(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o},[ue("div",UU,[ue("div",{class:"outline-marker",ref_key:"marker",ref:s},null,512),ue("div",HU,ze(S(KN)(S(r))),1),ye(QN,{headers:n.value,root:!0},null,8,["headers"])])],2))}}),GU=yr(WU,[["__scopeId","data-v-1cf7166c"]]),JU={class:"VPDocAsideCarbonAds"},KU=Te({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(e){const t=()=>null;return(r,n)=>(E(),K("div",JU,[ye(S(t),{"carbon-ads":r.carbonAds},null,8,["carbon-ads"])]))}}),QU={class:"VPDocAside"},ZU=Te({__name:"VPDocAside",setup(e){const{theme:t}=Yr();return(r,n)=>(E(),K("div",QU,[pe(r.$slots,"aside-top",{},void 0,!0),pe(r.$slots,"aside-outline-before",{},void 0,!0),ye(GU),pe(r.$slots,"aside-outline-after",{},void 0,!0),n[0]||(n[0]=ue("div",{class:"spacer"},null,-1)),pe(r.$slots,"aside-ads-before",{},void 0,!0),S(t).carbonAds?(E(),ve(KU,{key:0,"carbon-ads":S(t).carbonAds},null,8,["carbon-ads"])):je("",!0),pe(r.$slots,"aside-ads-after",{},void 0,!0),pe(r.$slots,"aside-bottom",{},void 0,!0)]))}}),XU=yr(ZU,[["__scopeId","data-v-0970baee"]]);function YU(){const{theme:e,page:t}=Yr();return le(()=>{const{text:r="Edit this page",pattern:n=""}=e.value.editLink||{};let o;return typeof n=="function"?o=n(t.value):o=n.replace(/:path/g,t.value.filePath),{url:o,text:r}})}function eH(){const{page:e,theme:t,frontmatter:r}=Yr();return le(()=>{var c,u,d,p,f,m,v,g;const n=JN(t.value.sidebar,e.value.relativePath),o=PU(n),s=tH(o,y=>y.link.replace(/[?#].*$/,"")),i=s.findIndex(y=>Yd(e.value.relativePath,y.link)),a=((c=t.value.docFooter)==null?void 0:c.prev)===!1&&!r.value.prev||r.value.prev===!1,l=((u=t.value.docFooter)==null?void 0:u.next)===!1&&!r.value.next||r.value.next===!1;return{prev:a?void 0:{text:(typeof r.value.prev=="string"?r.value.prev:typeof r.value.prev=="object"?r.value.prev.text:void 0)??((d=s[i-1])==null?void 0:d.docFooterText)??((p=s[i-1])==null?void 0:p.text),link:(typeof r.value.prev=="object"?r.value.prev.link:void 0)??((f=s[i-1])==null?void 0:f.link)},next:l?void 0:{text:(typeof r.value.next=="string"?r.value.next:typeof r.value.next=="object"?r.value.next.text:void 0)??((m=s[i+1])==null?void 0:m.docFooterText)??((v=s[i+1])==null?void 0:v.text),link:(typeof r.value.next=="object"?r.value.next.link:void 0)??((g=s[i+1])==null?void 0:g.link)}}})}function tH(e,t){const r=new Set;return e.filter(n=>{const o=t(n);return r.has(o)?!1:r.add(o)})}const Sl=Te({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(e){const t=e,r=le(()=>t.tag??(t.href?"a":"span")),n=le(()=>t.href&&LN.test(t.href)||t.target==="_blank");return(o,s)=>(E(),ve(si(r.value),{class:Nt(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?S(iC)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:U(()=>[pe(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),rH={class:"VPLastUpdated"},nH=["datetime"],oH=Te({__name:"VPDocFooterLastUpdated",setup(e){const{theme:t,page:r,lang:n}=Yr(),o=le(()=>new Date(r.value.lastUpdated)),s=le(()=>o.value.toISOString()),i=Oe("");return Oo(()=>{No(()=>{var a,l,c;i.value=new Intl.DateTimeFormat((l=(a=t.value.lastUpdated)==null?void 0:a.formatOptions)!=null&&l.forceLocale?n.value:void 0,((c=t.value.lastUpdated)==null?void 0:c.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(o.value)})}),(a,l)=>{var c;return E(),K("p",rH,[Vt(ze(((c=S(t).lastUpdated)==null?void 0:c.text)||S(t).lastUpdatedText||"Last updated")+": ",1),ue("time",{datetime:s.value},ze(i.value),9,nH)])}}}),sH=yr(oH,[["__scopeId","data-v-c286d0a2"]]),iH={key:0,class:"VPDocFooter"},aH={key:0,class:"edit-info"},lH={key:0,class:"edit-link"},cH={key:1,class:"last-updated"},uH={key:1,class:"prev-next","aria-labelledby":"doc-footer-aria-label"},dH={class:"pager"},pH=["innerHTML"],fH=["innerHTML"],hH={class:"pager"},mH=["innerHTML"],gH=["innerHTML"],vH=Te({__name:"VPDocFooter",setup(e){const{theme:t,page:r,frontmatter:n}=Yr(),o=YU(),s=eH(),i=le(()=>t.value.editLink&&n.value.editLink!==!1),a=le(()=>r.value.lastUpdated),l=le(()=>i.value||a.value||s.value.prev||s.value.next);return(c,u)=>{var d,p,f,m;return l.value?(E(),K("footer",iH,[pe(c.$slots,"doc-footer-before",{},void 0,!0),i.value||a.value?(E(),K("div",aH,[i.value?(E(),K("div",lH,[ye(Sl,{class:"edit-link-button",href:S(o).url,"no-icon":!0},{default:U(()=>[u[0]||(u[0]=ue("span",{class:"vpi-square-pen edit-link-icon"},null,-1)),Vt(" "+ze(S(o).text),1)]),_:1,__:[0]},8,["href"])])):je("",!0),a.value?(E(),K("div",cH,[ye(sH)])):je("",!0)])):je("",!0),(d=S(s).prev)!=null&&d.link||(p=S(s).next)!=null&&p.link?(E(),K("nav",uH,[u[1]||(u[1]=ue("span",{class:"visually-hidden",id:"doc-footer-aria-label"},"Pager",-1)),ue("div",dH,[(f=S(s).prev)!=null&&f.link?(E(),ve(Sl,{key:0,class:"pager-link prev",href:S(s).prev.link},{default:U(()=>{var v;return[ue("span",{class:"desc",innerHTML:((v=S(t).docFooter)==null?void 0:v.prev)||"Previous page"},null,8,pH),ue("span",{class:"title",innerHTML:S(s).prev.text},null,8,fH)]}),_:1},8,["href"])):je("",!0)]),ue("div",hH,[(m=S(s).next)!=null&&m.link?(E(),ve(Sl,{key:0,class:"pager-link next",href:S(s).next.link},{default:U(()=>{var v;return[ue("span",{class:"desc",innerHTML:((v=S(t).docFooter)==null?void 0:v.next)||"Next page"},null,8,mH),ue("span",{class:"title",innerHTML:S(s).next.text},null,8,gH)]}),_:1},8,["href"])):je("",!0)])])):je("",!0)])):je("",!0)}}}),yH=yr(vH,[["__scopeId","data-v-a014c1de"]]),bH={class:"container"},wH={class:"aside-container"},xH={class:"aside-content"},kH={class:"content"},jH={class:"content-container"},_H={class:"main"},SH=Te({__name:"VPDoc",setup(e){const{theme:t}=Yr(),r=fw(),{hasSidebar:n,hasAside:o,leftAside:s}=Hc(),i=le(()=>r.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(a,l)=>{const c=od("Content");return E(),K("div",{class:Nt(["VPDoc",{"has-sidebar":S(n),"has-aside":S(o)}])},[pe(a.$slots,"doc-top",{},void 0,!0),ue("div",bH,[S(o)?(E(),K("div",{key:0,class:Nt(["aside",{"left-aside":S(s)}])},[l[0]||(l[0]=ue("div",{class:"aside-curtain"},null,-1)),ue("div",wH,[ue("div",xH,[ye(XU,null,{"aside-top":U(()=>[pe(a.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":U(()=>[pe(a.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":U(()=>[pe(a.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":U(()=>[pe(a.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":U(()=>[pe(a.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":U(()=>[pe(a.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):je("",!0),ue("div",kH,[ue("div",jH,[pe(a.$slots,"doc-before",{},void 0,!0),ue("main",_H,[ye(c,{class:Nt(["vp-doc",[i.value,S(t).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),ye(yH,null,{"doc-footer-before":U(()=>[pe(a.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),pe(a.$slots,"doc-after",{},void 0,!0)])])]),pe(a.$slots,"doc-bottom",{},void 0,!0)],2)}}}),CH=yr(SH,[["__scopeId","data-v-29334b8c"]]),AH=Te({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{},target:{},rel:{}},setup(e){const t=e,r=le(()=>t.href&&LN.test(t.href)),n=le(()=>t.tag||(t.href?"a":"button"));return(o,s)=>(E(),ve(si(n.value),{class:Nt(["VPButton",[o.size,o.theme]]),href:o.href?S(iC)(o.href):void 0,target:t.target??(r.value?"_blank":void 0),rel:t.rel??(r.value?"noreferrer":void 0)},{default:U(()=>[Vt(ze(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),EH=yr(AH,[["__scopeId","data-v-b09c63e0"]]),OH=["src","alt"],$H=Te({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(e){return(t,r)=>{const n=od("VPImage",!0);return t.image?(E(),K(dt,{key:0},[typeof t.image=="string"||"src"in t.image?(E(),K("img",jr({key:0,class:"VPImage"},typeof t.image=="string"?t.$attrs:{...t.image,...t.$attrs},{src:S(oC)(typeof t.image=="string"?t.image:t.image.src),alt:t.alt??(typeof t.image=="string"?"":t.image.alt||"")}),null,16,OH)):(E(),K(dt,{key:1},[ye(n,jr({class:"dark",image:t.image.dark,alt:t.image.alt},t.$attrs),null,16,["image","alt"]),ye(n,jr({class:"light",image:t.image.light,alt:t.image.alt},t.$attrs),null,16,["image","alt"])],64))],64)):je("",!0)}}}),_b=yr($H,[["__scopeId","data-v-384abc6c"]]),TH={class:"container"},PH={class:"main"},IH={class:"heading"},DH=["innerHTML"],MH=["innerHTML"],NH=["innerHTML"],LH={key:0,class:"actions"},RH={key:0,class:"image"},BH={class:"image-container"},qH=Te({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(e){const t=_i("hero-image-slot-exists");return(r,n)=>(E(),K("div",{class:Nt(["VPHero",{"has-image":r.image||S(t)}])},[ue("div",TH,[ue("div",PH,[pe(r.$slots,"home-hero-info-before",{},void 0,!0),pe(r.$slots,"home-hero-info",{},()=>[ue("h1",IH,[r.name?(E(),K("span",{key:0,innerHTML:r.name,class:"name clip"},null,8,DH)):je("",!0),r.text?(E(),K("span",{key:1,innerHTML:r.text,class:"text"},null,8,MH)):je("",!0)]),r.tagline?(E(),K("p",{key:0,innerHTML:r.tagline,class:"tagline"},null,8,NH)):je("",!0)],!0),pe(r.$slots,"home-hero-info-after",{},void 0,!0),r.actions?(E(),K("div",LH,[(E(!0),K(dt,null,zt(r.actions,o=>(E(),K("div",{key:o.link,class:"action"},[ye(EH,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link,target:o.target,rel:o.rel},null,8,["theme","text","href","target","rel"])]))),128))])):je("",!0),pe(r.$slots,"home-hero-actions-after",{},void 0,!0)]),r.image||S(t)?(E(),K("div",RH,[ue("div",BH,[n[0]||(n[0]=ue("div",{class:"image-bg"},null,-1)),pe(r.$slots,"home-hero-image",{},()=>[r.image?(E(),ve(_b,{key:0,class:"image-src",image:r.image},null,8,["image"])):je("",!0)],!0)])])):je("",!0)])],2))}}),zH=yr(qH,[["__scopeId","data-v-debe2302"]]),FH=Te({__name:"VPHomeHero",setup(e){const{frontmatter:t}=Yr();return(r,n)=>S(t).hero?(E(),ve(zH,{key:0,class:"VPHomeHero",name:S(t).hero.name,text:S(t).hero.text,tagline:S(t).hero.tagline,image:S(t).hero.image,actions:S(t).hero.actions},{"home-hero-info-before":U(()=>[pe(r.$slots,"home-hero-info-before")]),"home-hero-info":U(()=>[pe(r.$slots,"home-hero-info")]),"home-hero-info-after":U(()=>[pe(r.$slots,"home-hero-info-after")]),"home-hero-actions-after":U(()=>[pe(r.$slots,"home-hero-actions-after")]),"home-hero-image":U(()=>[pe(r.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):je("",!0)}}),VH={class:"box"},UH={key:0,class:"icon"},HH=["innerHTML"],WH=["innerHTML"],GH=["innerHTML"],JH={key:4,class:"link-text"},KH={class:"link-text-value"},QH=Te({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(e){return(t,r)=>(E(),ve(Sl,{class:"VPFeature",href:t.link,rel:t.rel,target:t.target,"no-icon":!0,tag:t.link?"a":"div"},{default:U(()=>[ue("article",VH,[typeof t.icon=="object"&&t.icon.wrap?(E(),K("div",UH,[ye(_b,{image:t.icon,alt:t.icon.alt,height:t.icon.height||48,width:t.icon.width||48},null,8,["image","alt","height","width"])])):typeof t.icon=="object"?(E(),ve(_b,{key:1,image:t.icon,alt:t.icon.alt,height:t.icon.height||48,width:t.icon.width||48},null,8,["image","alt","height","width"])):t.icon?(E(),K("div",{key:2,class:"icon",innerHTML:t.icon},null,8,HH)):je("",!0),ue("h2",{class:"title",innerHTML:t.title},null,8,WH),t.details?(E(),K("p",{key:3,class:"details",innerHTML:t.details},null,8,GH)):je("",!0),t.linkText?(E(),K("div",JH,[ue("p",KH,[Vt(ze(t.linkText)+" ",1),r[0]||(r[0]=ue("span",{class:"vpi-arrow-right link-text-icon"},null,-1))])])):je("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),ZH=yr(QH,[["__scopeId","data-v-d171c205"]]),XH={key:0,class:"VPFeatures"},YH={class:"container"},eW={class:"items"},tW=Te({__name:"VPFeatures",props:{features:{}},setup(e){const t=e,r=le(()=>{const n=t.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(E(),K("div",XH,[ue("div",YH,[ue("div",eW,[(E(!0),K(dt,null,zt(n.features,s=>(E(),K("div",{key:s.title,class:Nt(["item",[r.value]])},[ye(ZH,{icon:s.icon,title:s.title,details:s.details,link:s.link,"link-text":s.linkText,rel:s.rel,target:s.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):je("",!0)}}),rW=yr(tW,[["__scopeId","data-v-aa084f6f"]]),nW=Te({__name:"VPHomeFeatures",setup(e){const{frontmatter:t}=Yr();return(r,n)=>S(t).features?(E(),ve(rW,{key:0,class:"VPHomeFeatures",features:S(t).features},null,8,["features"])):je("",!0)}}),oW=Te({__name:"VPHomeContent",setup(e){const{width:t}=oU({initialWidth:0,includeScrollbar:!1});return(r,n)=>(E(),K("div",{class:"vp-doc container",style:Sh(S(t)?{"--vp-offset":`calc(50% - ${S(t)/2}px)`}:{})},[pe(r.$slots,"default",{},void 0,!0)],4))}}),sW=yr(oW,[["__scopeId","data-v-7f92ddbb"]]),iW=Te({__name:"VPHome",setup(e){const{frontmatter:t,theme:r}=Yr();return(n,o)=>{const s=od("Content");return E(),K("div",{class:Nt(["VPHome",{"external-link-icon-enabled":S(r).externalLinkIcon}])},[pe(n.$slots,"home-hero-before",{},void 0,!0),ye(FH,null,{"home-hero-info-before":U(()=>[pe(n.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":U(()=>[pe(n.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":U(()=>[pe(n.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":U(()=>[pe(n.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":U(()=>[pe(n.$slots,"home-hero-image",{},void 0,!0)]),_:3}),pe(n.$slots,"home-hero-after",{},void 0,!0),pe(n.$slots,"home-features-before",{},void 0,!0),ye(nW),pe(n.$slots,"home-features-after",{},void 0,!0),S(t).markdownStyles!==!1?(E(),ve(sW,{key:0},{default:U(()=>[ye(s)]),_:1})):(E(),ve(s,{key:1}))],2)}}}),aW=yr(iW,[["__scopeId","data-v-eaa9258b"]]),lW={},cW={class:"VPPage"};function uW(e,t){const r=od("Content");return E(),K("div",cW,[pe(e.$slots,"page-top"),ye(r),pe(e.$slots,"page-bottom")])}const dW=yr(lW,[["render",uW]]),pW=Te({__name:"VPContent",setup(e){const{page:t,frontmatter:r}=Yr(),{hasSidebar:n}=Hc();return(o,s)=>(E(),K("div",{class:Nt(["VPContent",{"has-sidebar":S(n),"is-home":S(r).layout==="home"}]),id:"VPContent"},[S(t).isNotFound?pe(o.$slots,"not-found",{key:0},()=>[ye($U)],!0):S(r).layout==="page"?(E(),ve(dW,{key:1},{"page-top":U(()=>[pe(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":U(()=>[pe(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):S(r).layout==="home"?(E(),ve(aW,{key:2},{"home-hero-before":U(()=>[pe(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":U(()=>[pe(o.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":U(()=>[pe(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":U(()=>[pe(o.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":U(()=>[pe(o.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":U(()=>[pe(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":U(()=>[pe(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":U(()=>[pe(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":U(()=>[pe(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):S(r).layout&&S(r).layout!=="doc"?(E(),ve(si(S(r).layout),{key:3})):(E(),ve(CH,{key:4},{"doc-top":U(()=>[pe(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":U(()=>[pe(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":U(()=>[pe(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":U(()=>[pe(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":U(()=>[pe(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":U(()=>[pe(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":U(()=>[pe(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":U(()=>[pe(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":U(()=>[pe(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":U(()=>[pe(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":U(()=>[pe(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),fW=yr(pW,[["__scopeId","data-v-413f3f32"]]),hW={class:"container"},mW=["innerHTML"],gW=["innerHTML"],vW=Te({__name:"VPFooter",setup(e){const{theme:t,frontmatter:r}=Yr(),{hasSidebar:n}=Hc();return(o,s)=>S(t).footer&&S(r).footer!==!1?(E(),K("footer",{key:0,class:Nt(["VPFooter",{"has-sidebar":S(n)}])},[ue("div",hW,[S(t).footer.message?(E(),K("p",{key:0,class:"message",innerHTML:S(t).footer.message},null,8,mW)):je("",!0),S(t).footer.copyright?(E(),K("p",{key:1,class:"copyright",innerHTML:S(t).footer.copyright},null,8,gW)):je("",!0)])],2)):je("",!0)}}),yW=yr(vW,[["__scopeId","data-v-a1bcc99e"]]);function bW(){const{theme:e,frontmatter:t}=Yr(),r=Na([]),n=le(()=>r.value.length>0);return pw(()=>{r.value=aC(t.value.outline??e.value.outline)}),{headers:r,hasLocalNav:n}}const wW={class:"menu-text"},xW={class:"header"},kW={class:"outline"},jW=Te({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(e){const t=e,{theme:r}=Yr(),n=Oe(!1),o=Oe(0),s=Oe(),i=Oe();function a(d){var p;(p=s.value)!=null&&p.contains(d.target)||(n.value=!1)}cr(n,d=>{if(d){document.addEventListener("click",a);return}document.removeEventListener("click",a)}),c_("Escape",()=>{n.value=!1}),pw(()=>{n.value=!1});function l(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-t.navHeight,0)}function c(d){d.target.classList.contains("outline-link")&&(i.value&&(i.value.style.transition="none"),Io(()=>{n.value=!1}))}function u(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(d,p)=>(E(),K("div",{class:"VPLocalNavOutlineDropdown",style:Sh({"--vp-vh":o.value+"px"}),ref_key:"main",ref:s},[d.headers.length>0?(E(),K("button",{key:0,onClick:l,class:Nt({open:n.value})},[ue("span",wW,ze(S(KN)(S(r))),1),p[0]||(p[0]=ue("span",{class:"vpi-chevron-right icon"},null,-1))],2)):(E(),K("button",{key:1,onClick:u},ze(S(r).returnToTopLabel||"Return to top"),1)),ye(nC,{name:"flyout"},{default:U(()=>[n.value?(E(),K("div",{key:0,ref_key:"items",ref:i,class:"items",onClick:c},[ue("div",xW,[ue("a",{class:"top-link",href:"#",onClick:u},ze(S(r).returnToTopLabel||"Return to top"),1)]),ue("div",kW,[ye(QN,{headers:d.headers},null,8,["headers"])])],512)):je("",!0)]),_:1})],4))}}),_W=yr(jW,[["__scopeId","data-v-bab32157"]]),SW={class:"container"},CW=["aria-expanded"],AW={class:"menu-text"},EW=Te({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(e){const{theme:t,frontmatter:r}=Yr(),{hasSidebar:n}=Hc(),{headers:o}=bW(),{y:s}=RN(),i=Oe(0);Oo(()=>{i.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),pw(()=>{o.value=aC(r.value.outline??t.value.outline)});const a=le(()=>o.value.length===0),l=le(()=>a.value&&!n.value),c=le(()=>({VPLocalNav:!0,"has-sidebar":n.value,empty:a.value,fixed:l.value}));return(u,d)=>S(r).layout!=="home"&&(!l.value||S(s)>=i.value)?(E(),K("div",{key:0,class:Nt(c.value)},[ue("div",SW,[S(n)?(E(),K("button",{key:0,class:"menu","aria-expanded":u.open,"aria-controls":"VPSidebarNav",onClick:d[0]||(d[0]=p=>u.$emit("open-menu"))},[d[1]||(d[1]=ue("span",{class:"vpi-align-left menu-icon"},null,-1)),ue("span",AW,ze(S(t).sidebarMenuLabel||"Menu"),1)],8,CW)):je("",!0),ye(_W,{headers:S(o),navHeight:i.value},null,8,["headers","navHeight"])])],2)):je("",!0)}}),OW=yr(EW,[["__scopeId","data-v-e17e33c6"]]);function $W(){const e=Oe(!1);function t(){e.value=!0,window.addEventListener("resize",o)}function r(){e.value=!1,window.removeEventListener("resize",o)}function n(){e.value?r():t()}function o(){window.outerWidth>=768&&r()}const s=fw();return cr(()=>s.path,r),{isScreenOpen:e,openScreen:t,closeScreen:r,toggleScreen:n}}const TW={},PW={class:"VPSwitch",type:"button",role:"switch"},IW={class:"check"},DW={key:0,class:"icon"};function MW(e,t){return E(),K("button",PW,[ue("span",IW,[e.$slots.default?(E(),K("span",DW,[pe(e.$slots,"default",{},void 0,!0)])):je("",!0)])])}const NW=yr(TW,[["render",MW],["__scopeId","data-v-44c0c9c3"]]),LW=Te({__name:"VPSwitchAppearance",setup(e){const{isDark:t,theme:r}=Yr(),n=_i("toggle-appearance",()=>{t.value=!t.value}),o=Oe("");return _h(()=>{o.value=t.value?r.value.lightModeSwitchTitle||"Switch to light theme":r.value.darkModeSwitchTitle||"Switch to dark theme"}),(s,i)=>(E(),ve(NW,{title:o.value,class:"VPSwitchAppearance","aria-checked":S(t),onClick:S(n)},{default:U(()=>i[0]||(i[0]=[ue("span",{class:"vpi-sun sun"},null,-1),ue("span",{class:"vpi-moon moon"},null,-1)])),_:1,__:[0]},8,["title","aria-checked","onClick"]))}}),lC=yr(LW,[["__scopeId","data-v-77125d61"]]),RW={key:0,class:"VPNavBarAppearance"},BW=Te({__name:"VPNavBarAppearance",setup(e){const{site:t}=Yr();return(r,n)=>S(t).appearance&&S(t).appearance!=="force-dark"&&S(t).appearance!=="force-auto"?(E(),K("div",RW,[ye(lC)])):je("",!0)}}),qW=yr(BW,[["__scopeId","data-v-1a8fd632"]]),cC=Oe();let ZN=!1,Xx=0;function zW(e){const t=Oe(!1);if(hw){!ZN&&FW(),Xx++;const r=cr(cC,n=>{var o,s,i;n===e.el.value||(o=e.el.value)!=null&&o.contains(n)?(t.value=!0,(s=e.onFocus)==null||s.call(e)):(t.value=!1,(i=e.onBlur)==null||i.call(e))});nd(()=>{r(),Xx--,Xx||VW()})}return mw(t)}function FW(){document.addEventListener("focusin",XN),ZN=!0,cC.value=document.activeElement}function VW(){document.removeEventListener("focusin",XN)}function XN(){cC.value=document.activeElement}const UW={class:"VPMenuLink"},HW=["innerHTML"],WW=Te({__name:"VPMenuLink",props:{item:{}},setup(e){const{page:t}=Yr();return(r,n)=>(E(),K("div",UW,[ye(Sl,{class:Nt({active:S(Yd)(S(t).relativePath,r.item.activeMatch||r.item.link,!!r.item.activeMatch)}),href:r.item.link,target:r.item.target,rel:r.item.rel,"no-icon":r.item.noIcon},{default:U(()=>[ue("span",{innerHTML:r.item.text},null,8,HW)]),_:1},8,["class","href","target","rel","no-icon"])]))}}),vw=yr(WW,[["__scopeId","data-v-af9bd7aa"]]),GW={class:"VPMenuGroup"},JW={key:0,class:"title"},KW=Te({__name:"VPMenuGroup",props:{text:{},items:{}},setup(e){return(t,r)=>(E(),K("div",GW,[t.text?(E(),K("p",JW,ze(t.text),1)):je("",!0),(E(!0),K(dt,null,zt(t.items,n=>(E(),K(dt,null,["link"in n?(E(),ve(vw,{key:0,item:n},null,8,["item"])):je("",!0)],64))),256))]))}}),QW=yr(KW,[["__scopeId","data-v-c41d4d34"]]),ZW={class:"VPMenu"},XW={key:0,class:"items"},YW=Te({__name:"VPMenu",props:{items:{}},setup(e){return(t,r)=>(E(),K("div",ZW,[t.items?(E(),K("div",XW,[(E(!0),K(dt,null,zt(t.items,n=>(E(),K(dt,{key:JSON.stringify(n)},["link"in n?(E(),ve(vw,{key:0,item:n},null,8,["item"])):"component"in n?(E(),ve(si(n.component),jr({key:1,ref_for:!0},n.props),null,16)):(E(),ve(QW,{key:2,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):je("",!0),pe(t.$slots,"default",{},void 0,!0)]))}}),eG=yr(YW,[["__scopeId","data-v-a0929307"]]),tG=["aria-expanded","aria-label"],rG={key:0,class:"text"},nG=["innerHTML"],oG={key:1,class:"vpi-more-horizontal icon"},sG={class:"menu"},iG=Te({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(e){const t=Oe(!1),r=Oe();zW({el:r,onBlur:n});function n(){t.value=!1}return(o,s)=>(E(),K("div",{class:"VPFlyout",ref_key:"el",ref:r,onMouseenter:s[1]||(s[1]=i=>t.value=!0),onMouseleave:s[2]||(s[2]=i=>t.value=!1)},[ue("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":t.value,"aria-label":o.label,onClick:s[0]||(s[0]=i=>t.value=!t.value)},[o.button||o.icon?(E(),K("span",rG,[o.icon?(E(),K("span",{key:0,class:Nt([o.icon,"option-icon"])},null,2)):je("",!0),o.button?(E(),K("span",{key:1,innerHTML:o.button},null,8,nG)):je("",!0),s[3]||(s[3]=ue("span",{class:"vpi-chevron-down text-icon"},null,-1))])):(E(),K("span",oG))],8,tG),ue("div",sG,[ye(eG,{items:o.items},{default:U(()=>[pe(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),uC=yr(iG,[["__scopeId","data-v-ce17dc3c"]]),aG=["href","aria-label","innerHTML"],lG=Te({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(e){const t=e,r=Oe();Oo(async()=>{var s;await Io();const o=(s=r.value)==null?void 0:s.children[0];o instanceof HTMLElement&&o.className.startsWith("vpi-social-")&&(getComputedStyle(o).maskImage||getComputedStyle(o).webkitMaskImage)==="none"&&o.style.setProperty("--icon",`url('https://api.iconify.design/simple-icons/${t.icon}.svg')`)});const n=le(()=>typeof t.icon=="object"?t.icon.svg:``);return(o,s)=>(E(),K("a",{ref_key:"el",ref:r,class:"VPSocialLink no-icon",href:o.link,"aria-label":o.ariaLabel??(typeof o.icon=="string"?o.icon:""),target:"_blank",rel:"noopener",innerHTML:n.value},null,8,aG))}}),cG=yr(lG,[["__scopeId","data-v-3c299a96"]]),uG={class:"VPSocialLinks"},dG=Te({__name:"VPSocialLinks",props:{links:{}},setup(e){return(t,r)=>(E(),K("div",uG,[(E(!0),K(dt,null,zt(t.links,({link:n,icon:o,ariaLabel:s})=>(E(),ve(cG,{key:n,icon:o,link:n,ariaLabel:s},null,8,["icon","link","ariaLabel"]))),128))]))}}),dC=yr(dG,[["__scopeId","data-v-0ebd8679"]]),pG={key:0,class:"group translations"},fG={class:"trans-title"},hG={key:1,class:"group"},mG={class:"item appearance"},gG={class:"label"},vG={class:"appearance-action"},yG={key:2,class:"group"},bG={class:"item social-links"},wG=Te({__name:"VPNavBarExtra",setup(e){const{site:t,theme:r}=Yr(),{localeLinks:n,currentLang:o}=pv({correspondingLink:!0}),s=le(()=>n.value.length&&o.value.label||t.value.appearance||r.value.socialLinks);return(i,a)=>s.value?(E(),ve(uC,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:U(()=>[S(n).length&&S(o).label?(E(),K("div",pG,[ue("p",fG,ze(S(o).label),1),(E(!0),K(dt,null,zt(S(n),l=>(E(),ve(vw,{key:l.link,item:l},null,8,["item"]))),128))])):je("",!0),S(t).appearance&&S(t).appearance!=="force-dark"&&S(t).appearance!=="force-auto"?(E(),K("div",hG,[ue("div",mG,[ue("p",gG,ze(S(r).darkModeSwitchLabel||"Appearance"),1),ue("div",vG,[ye(lC)])])])):je("",!0),S(r).socialLinks?(E(),K("div",yG,[ue("div",bG,[ye(dC,{class:"social-links-list",links:S(r).socialLinks},null,8,["links"])])])):je("",!0)]),_:1})):je("",!0)}}),xG=yr(wG,[["__scopeId","data-v-cb22ae83"]]),kG=["aria-expanded"],jG=Te({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(e){return(t,r)=>(E(),K("button",{type:"button",class:Nt(["VPNavBarHamburger",{active:t.active}]),"aria-label":"mobile navigation","aria-expanded":t.active,"aria-controls":"VPNavScreen",onClick:r[0]||(r[0]=n=>t.$emit("click"))},r[1]||(r[1]=[ue("span",{class:"container"},[ue("span",{class:"top"}),ue("span",{class:"middle"}),ue("span",{class:"bottom"})],-1)]),10,kG))}}),_G=yr(jG,[["__scopeId","data-v-42f375ed"]]),SG=["innerHTML"],CG=Te({__name:"VPNavBarMenuLink",props:{item:{}},setup(e){const{page:t}=Yr();return(r,n)=>(E(),ve(Sl,{class:Nt({VPNavBarMenuLink:!0,active:S(Yd)(S(t).relativePath,r.item.activeMatch||r.item.link,!!r.item.activeMatch)}),href:r.item.link,target:r.item.target,rel:r.item.rel,"no-icon":r.item.noIcon,tabindex:"0"},{default:U(()=>[ue("span",{innerHTML:r.item.text},null,8,SG)]),_:1},8,["class","href","target","rel","no-icon"]))}}),AG=yr(CG,[["__scopeId","data-v-358f64d2"]]),EG=Te({__name:"VPNavBarMenuGroup",props:{item:{}},setup(e){const t=e,{page:r}=Yr(),n=s=>"component"in s?!1:"link"in s?Yd(r.value.relativePath,s.link,!!t.item.activeMatch):s.items.some(n),o=le(()=>n(t.item));return(s,i)=>(E(),ve(uC,{class:Nt({VPNavBarMenuGroup:!0,active:S(Yd)(S(r).relativePath,s.item.activeMatch,!!s.item.activeMatch)||o.value}),button:s.item.text,items:s.item.items},null,8,["class","button","items"]))}}),OG={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},$G=Te({__name:"VPNavBarMenu",setup(e){const{theme:t}=Yr();return(r,n)=>S(t).nav?(E(),K("nav",OG,[n[0]||(n[0]=ue("span",{id:"main-nav-aria-label",class:"visually-hidden"}," Main Navigation ",-1)),(E(!0),K(dt,null,zt(S(t).nav,o=>(E(),K(dt,{key:JSON.stringify(o)},["link"in o?(E(),ve(AG,{key:0,item:o},null,8,["item"])):"component"in o?(E(),ve(si(o.component),jr({key:1,ref_for:!0},o.props),null,16)):(E(),ve(EG,{key:2,item:o},null,8,["item"]))],64))),128))])):je("",!0)}}),TG=yr($G,[["__scopeId","data-v-bc890e2b"]]);function PG(e){const{localeIndex:t,theme:r}=Yr();function n(o){var m,v,g;const s=o.split("."),i=(m=r.value.search)==null?void 0:m.options,a=i&&typeof i=="object",l=a&&((g=(v=i.locales)==null?void 0:v[t.value])==null?void 0:g.translations)||null,c=a&&i.translations||null;let u=l,d=c,p=e;const f=s.pop();for(const y of s){let b=null;const w=p==null?void 0:p[y];w&&(b=p=w);const k=d==null?void 0:d[y];k&&(b=d=k);const x=u==null?void 0:u[y];x&&(b=u=x),w||(p=b),k||(d=b),x||(u=b)}return(u==null?void 0:u[f])??(d==null?void 0:d[f])??(p==null?void 0:p[f])??""}return n}const IG=["aria-label"],DG={class:"DocSearch-Button-Container"},MG={class:"DocSearch-Button-Placeholder"},SO=Te({__name:"VPNavBarSearchButton",setup(e){const r=PG({button:{buttonText:"Search",buttonAriaLabel:"Search"}});return(n,o)=>(E(),K("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":S(r)("button.buttonAriaLabel")},[ue("span",DG,[o[0]||(o[0]=ue("span",{class:"vp-icon DocSearch-Search-Icon"},null,-1)),ue("span",MG,ze(S(r)("button.buttonText")),1)]),o[1]||(o[1]=ue("span",{class:"DocSearch-Button-Keys"},[ue("kbd",{class:"DocSearch-Button-Key"}),ue("kbd",{class:"DocSearch-Button-Key"},"K")],-1))],8,IG))}}),NG={class:"VPNavBarSearch"},LG={id:"local-search"},RG={key:1,id:"docsearch"},BG=Te({__name:"VPNavBarSearch",setup(e){const t=sU(()=>ce(()=>import("./VPLocalSearchBox.DoKgPKr6.js"),__vite__mapDeps([0,1]))),r=()=>null,{theme:n}=Yr(),o=Oe(!1),s=Oe(!1);Oo(()=>{});function i(){o.value||(o.value=!0,setTimeout(a,16))}function a(){const d=new Event("keydown");d.key="k",d.metaKey=!0,window.dispatchEvent(d),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||a()},16)}function l(d){const p=d.target,f=p.tagName;return p.isContentEditable||f==="INPUT"||f==="SELECT"||f==="TEXTAREA"}const c=Oe(!1);c_("k",d=>{(d.ctrlKey||d.metaKey)&&(d.preventDefault(),c.value=!0)}),c_("/",d=>{l(d)||(d.preventDefault(),c.value=!0)});const u="local";return(d,p)=>{var f;return E(),K("div",NG,[S(u)==="local"?(E(),K(dt,{key:0},[c.value?(E(),ve(S(t),{key:0,onClose:p[0]||(p[0]=m=>c.value=!1)})):je("",!0),ue("div",LG,[ye(SO,{onClick:p[1]||(p[1]=m=>c.value=!0)})])],64)):S(u)==="algolia"?(E(),K(dt,{key:1},[o.value?(E(),ve(S(r),{key:0,algolia:((f=S(n).search)==null?void 0:f.options)??S(n).algolia,onVnodeBeforeMount:p[2]||(p[2]=m=>s.value=!0)},null,8,["algolia"])):je("",!0),s.value?je("",!0):(E(),K("div",RG,[ye(SO,{onClick:i})]))],64)):je("",!0)])}}}),qG=Te({__name:"VPNavBarSocialLinks",setup(e){const{theme:t}=Yr();return(r,n)=>S(t).socialLinks?(E(),ve(dC,{key:0,class:"VPNavBarSocialLinks",links:S(t).socialLinks},null,8,["links"])):je("",!0)}}),zG=yr(qG,[["__scopeId","data-v-399e1608"]]),FG=["href","rel","target"],VG=["innerHTML"],UG={key:2},HG=Te({__name:"VPNavBarTitle",setup(e){const{site:t,theme:r}=Yr(),{hasSidebar:n}=Hc(),{currentLang:o}=pv(),s=le(()=>{var l;return typeof r.value.logoLink=="string"?r.value.logoLink:(l=r.value.logoLink)==null?void 0:l.link}),i=le(()=>{var l;return typeof r.value.logoLink=="string"||(l=r.value.logoLink)==null?void 0:l.rel}),a=le(()=>{var l;return typeof r.value.logoLink=="string"||(l=r.value.logoLink)==null?void 0:l.target});return(l,c)=>(E(),K("div",{class:Nt(["VPNavBarTitle",{"has-sidebar":S(n)}])},[ue("a",{class:"title",href:s.value??S(iC)(S(o).link),rel:i.value,target:a.value},[pe(l.$slots,"nav-bar-title-before",{},void 0,!0),S(r).logo?(E(),ve(_b,{key:0,class:"logo",image:S(r).logo},null,8,["image"])):je("",!0),S(r).siteTitle?(E(),K("span",{key:1,innerHTML:S(r).siteTitle},null,8,VG)):S(r).siteTitle===void 0?(E(),K("span",UG,ze(S(t).title),1)):je("",!0),pe(l.$slots,"nav-bar-title-after",{},void 0,!0)],8,FG)],2))}}),WG=yr(HG,[["__scopeId","data-v-cea99ba2"]]),GG={class:"items"},JG={class:"title"},KG=Te({__name:"VPNavBarTranslations",setup(e){const{theme:t}=Yr(),{localeLinks:r,currentLang:n}=pv({correspondingLink:!0});return(o,s)=>S(r).length&&S(n).label?(E(),ve(uC,{key:0,class:"VPNavBarTranslations",icon:"vpi-languages",label:S(t).langMenuLabel||"Change language"},{default:U(()=>[ue("div",GG,[ue("p",JG,ze(S(n).label),1),(E(!0),K(dt,null,zt(S(r),i=>(E(),ve(vw,{key:i.link,item:i},null,8,["item"]))),128))])]),_:1},8,["label"])):je("",!0)}}),QG=yr(KG,[["__scopeId","data-v-46d426ad"]]),ZG={class:"wrapper"},XG={class:"container"},YG={class:"title"},eJ={class:"content"},tJ={class:"content-body"},rJ=Te({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(e){const t=e,{y:r}=RN(),{hasSidebar:n}=Hc(),{frontmatter:o}=Yr(),s=Oe({});return _h(()=>{s.value={"has-sidebar":n.value,home:o.value.layout==="home",top:r.value===0,"screen-open":t.isScreenOpen}}),(i,a)=>(E(),K("div",{class:Nt(["VPNavBar",s.value])},[ue("div",ZG,[ue("div",XG,[ue("div",YG,[ye(WG,null,{"nav-bar-title-before":U(()=>[pe(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":U(()=>[pe(i.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),ue("div",eJ,[ue("div",tJ,[pe(i.$slots,"nav-bar-content-before",{},void 0,!0),ye(BG,{class:"search"}),ye(TG,{class:"menu"}),ye(QG,{class:"translations"}),ye(qW,{class:"appearance"}),ye(zG,{class:"social-links"}),ye(xG,{class:"extra"}),pe(i.$slots,"nav-bar-content-after",{},void 0,!0),ye(_G,{class:"hamburger",active:i.isScreenOpen,onClick:a[0]||(a[0]=l=>i.$emit("toggle-screen"))},null,8,["active"])])])])]),a[1]||(a[1]=ue("div",{class:"divider"},[ue("div",{class:"divider-line"})],-1))],2))}}),nJ=yr(rJ,[["__scopeId","data-v-9f44cfca"]]),oJ={key:0,class:"VPNavScreenAppearance"},sJ={class:"text"},iJ=Te({__name:"VPNavScreenAppearance",setup(e){const{site:t,theme:r}=Yr();return(n,o)=>S(t).appearance&&S(t).appearance!=="force-dark"&&S(t).appearance!=="force-auto"?(E(),K("div",oJ,[ue("p",sJ,ze(S(r).darkModeSwitchLabel||"Appearance"),1),ye(lC)])):je("",!0)}}),aJ=yr(iJ,[["__scopeId","data-v-9f412837"]]),lJ=["innerHTML"],cJ=Te({__name:"VPNavScreenMenuLink",props:{item:{}},setup(e){const t=_i("close-screen");return(r,n)=>(E(),ve(Sl,{class:"VPNavScreenMenuLink",href:r.item.link,target:r.item.target,rel:r.item.rel,"no-icon":r.item.noIcon,onClick:S(t)},{default:U(()=>[ue("span",{innerHTML:r.item.text},null,8,lJ)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),uJ=yr(cJ,[["__scopeId","data-v-b98c94d9"]]),dJ=["innerHTML"],pJ=Te({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(e){const t=_i("close-screen");return(r,n)=>(E(),ve(Sl,{class:"VPNavScreenMenuGroupLink",href:r.item.link,target:r.item.target,rel:r.item.rel,"no-icon":r.item.noIcon,onClick:S(t)},{default:U(()=>[ue("span",{innerHTML:r.item.text},null,8,dJ)]),_:1},8,["href","target","rel","no-icon","onClick"]))}}),YN=yr(pJ,[["__scopeId","data-v-5f06e998"]]),fJ={class:"VPNavScreenMenuGroupSection"},hJ={key:0,class:"title"},mJ=Te({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(e){return(t,r)=>(E(),K("div",fJ,[t.text?(E(),K("p",hJ,ze(t.text),1)):je("",!0),(E(!0),K(dt,null,zt(t.items,n=>(E(),ve(YN,{key:n.text,item:n},null,8,["item"]))),128))]))}}),gJ=yr(mJ,[["__scopeId","data-v-2d23fe70"]]),vJ=["aria-controls","aria-expanded"],yJ=["innerHTML"],bJ=["id"],wJ={key:0,class:"item"},xJ={key:1,class:"item"},kJ={key:2,class:"group"},jJ=Te({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(e){const t=e,r=Oe(!1),n=le(()=>`NavScreenGroup-${t.text.replace(" ","-").toLowerCase()}`);function o(){r.value=!r.value}return(s,i)=>(E(),K("div",{class:Nt(["VPNavScreenMenuGroup",{open:r.value}])},[ue("button",{class:"button","aria-controls":n.value,"aria-expanded":r.value,onClick:o},[ue("span",{class:"button-text",innerHTML:s.text},null,8,yJ),i[0]||(i[0]=ue("span",{class:"vpi-plus button-icon"},null,-1))],8,vJ),ue("div",{id:n.value,class:"items"},[(E(!0),K(dt,null,zt(s.items,a=>(E(),K(dt,{key:JSON.stringify(a)},["link"in a?(E(),K("div",wJ,[ye(YN,{item:a},null,8,["item"])])):"component"in a?(E(),K("div",xJ,[(E(),ve(si(a.component),jr({ref_for:!0},a.props,{"screen-menu":""}),null,16))])):(E(),K("div",kJ,[ye(gJ,{text:a.text,items:a.items},null,8,["text","items"])]))],64))),128))],8,bJ)],2))}}),_J=yr(jJ,[["__scopeId","data-v-9e77eea0"]]),SJ={key:0,class:"VPNavScreenMenu"},CJ=Te({__name:"VPNavScreenMenu",setup(e){const{theme:t}=Yr();return(r,n)=>S(t).nav?(E(),K("nav",SJ,[(E(!0),K(dt,null,zt(S(t).nav,o=>(E(),K(dt,{key:JSON.stringify(o)},["link"in o?(E(),ve(uJ,{key:0,item:o},null,8,["item"])):"component"in o?(E(),ve(si(o.component),jr({key:1,ref_for:!0},o.props,{"screen-menu":""}),null,16)):(E(),ve(_J,{key:2,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):je("",!0)}}),AJ=Te({__name:"VPNavScreenSocialLinks",setup(e){const{theme:t}=Yr();return(r,n)=>S(t).socialLinks?(E(),ve(dC,{key:0,class:"VPNavScreenSocialLinks",links:S(t).socialLinks},null,8,["links"])):je("",!0)}}),EJ={class:"list"},OJ=Te({__name:"VPNavScreenTranslations",setup(e){const{localeLinks:t,currentLang:r}=pv({correspondingLink:!0}),n=Oe(!1);function o(){n.value=!n.value}return(s,i)=>S(t).length&&S(r).label?(E(),K("div",{key:0,class:Nt(["VPNavScreenTranslations",{open:n.value}])},[ue("button",{class:"title",onClick:o},[i[0]||(i[0]=ue("span",{class:"vpi-languages icon lang"},null,-1)),Vt(" "+ze(S(r).label)+" ",1),i[1]||(i[1]=ue("span",{class:"vpi-chevron-down icon chevron"},null,-1))]),ue("ul",EJ,[(E(!0),K(dt,null,zt(S(t),a=>(E(),K("li",{key:a.link,class:"item"},[ye(Sl,{class:"link",href:a.link},{default:U(()=>[Vt(ze(a.text),1)]),_:2},1032,["href"])]))),128))])],2)):je("",!0)}}),$J=yr(OJ,[["__scopeId","data-v-13dfd227"]]),TJ={class:"container"},PJ=Te({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(e){const t=Oe(null),r=BN(hw?document.body:null);return(n,o)=>(E(),ve(nC,{name:"fade",onEnter:o[0]||(o[0]=s=>r.value=!0),onAfterLeave:o[1]||(o[1]=s=>r.value=!1)},{default:U(()=>[n.open?(E(),K("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:t,id:"VPNavScreen"},[ue("div",TJ,[pe(n.$slots,"nav-screen-content-before",{},void 0,!0),ye(CJ,{class:"menu"}),ye($J,{class:"translations"}),ye(aJ,{class:"appearance"}),ye(AJ,{class:"social-links"}),pe(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):je("",!0)]),_:3}))}}),IJ=yr(PJ,[["__scopeId","data-v-554db04e"]]),DJ={key:0,class:"VPNav"},MJ=Te({__name:"VPNav",setup(e){const{isScreenOpen:t,closeScreen:r,toggleScreen:n}=$W(),{frontmatter:o}=Yr(),s=le(()=>o.value.navbar!==!1);return wp("close-screen",r),No(()=>{hw&&document.documentElement.classList.toggle("hide-nav",!s.value)}),(i,a)=>s.value?(E(),K("header",DJ,[ye(nJ,{"is-screen-open":S(t),onToggleScreen:S(n)},{"nav-bar-title-before":U(()=>[pe(i.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":U(()=>[pe(i.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":U(()=>[pe(i.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":U(()=>[pe(i.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),ye(IJ,{open:S(t)},{"nav-screen-content-before":U(()=>[pe(i.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":U(()=>[pe(i.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):je("",!0)}}),NJ=yr(MJ,[["__scopeId","data-v-06aeb22c"]]),LJ=["role","tabindex"],RJ={key:1,class:"items"},BJ=Te({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(e){const t=e,{collapsed:r,collapsible:n,isLink:o,isActiveLink:s,hasActiveLink:i,hasChildren:a,toggle:l}=DU(le(()=>t.item)),c=le(()=>a.value?"section":"div"),u=le(()=>o.value?"a":"div"),d=le(()=>a.value?t.depth+2===7?"p":`h${t.depth+2}`:"p"),p=le(()=>o.value?void 0:"button"),f=le(()=>[[`level-${t.depth}`],{collapsible:n.value},{collapsed:r.value},{"is-link":o.value},{"is-active":s.value},{"has-active":i.value}]);function m(g){"key"in g&&g.key!=="Enter"||!t.item.link&&l()}function v(){t.item.link&&l()}return(g,y)=>{const b=od("VPSidebarItem",!0);return E(),ve(si(c.value),{class:Nt(["VPSidebarItem",f.value])},{default:U(()=>[g.item.text?(E(),K("div",jr({key:0,class:"item",role:p.value},qN(g.item.items?{click:m,keydown:m}:{},!0),{tabindex:g.item.items&&0}),[y[1]||(y[1]=ue("div",{class:"indicator"},null,-1)),g.item.link?(E(),ve(Sl,{key:0,tag:u.value,class:"link",href:g.item.link,rel:g.item.rel,target:g.item.target},{default:U(()=>[(E(),ve(si(d.value),{class:"text",innerHTML:g.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(E(),ve(si(d.value),{key:1,class:"text",innerHTML:g.item.text},null,8,["innerHTML"])),g.item.collapsed!=null&&g.item.items&&g.item.items.length?(E(),K("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:v,onKeydown:ep(v,["enter"]),tabindex:"0"},y[0]||(y[0]=[ue("span",{class:"vpi-chevron-right caret-icon"},null,-1)]),32)):je("",!0)],16,LJ)):je("",!0),g.item.items&&g.item.items.length?(E(),K("div",RJ,[g.depth<5?(E(!0),K(dt,{key:0},zt(g.item.items,w=>(E(),ve(b,{key:w.text,item:w,depth:g.depth+1},null,8,["item","depth"]))),128)):je("",!0)])):je("",!0)]),_:1},8,["class"])}}}),qJ=yr(BJ,[["__scopeId","data-v-5f79b55d"]]),zJ=Te({__name:"VPSidebarGroup",props:{items:{}},setup(e){const t=Oe(!0);let r=null;return Oo(()=>{r=setTimeout(()=>{r=null,t.value=!1},300)}),Ch(()=>{r!=null&&(clearTimeout(r),r=null)}),(n,o)=>(E(!0),K(dt,null,zt(n.items,s=>(E(),K("div",{key:s.text,class:Nt(["group",{"no-transition":t.value}])},[ye(qJ,{item:s,depth:0},null,8,["item"])],2))),128))}}),FJ=yr(zJ,[["__scopeId","data-v-6b998b36"]]),VJ={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},UJ=Te({__name:"VPSidebar",props:{open:{type:Boolean}},setup(e){const{sidebarGroups:t,hasSidebar:r}=Hc(),n=e,o=Oe(null),s=BN(hw?document.body:null);cr([n,o],()=>{var a;n.open?(s.value=!0,(a=o.value)==null||a.focus()):s.value=!1},{immediate:!0,flush:"post"});const i=Oe(0);return cr(t,()=>{i.value+=1},{deep:!0}),(a,l)=>S(r)?(E(),K("aside",{key:0,class:Nt(["VPSidebar",{open:a.open}]),ref_key:"navEl",ref:o,onClick:l[0]||(l[0]=la(()=>{},["stop"]))},[l[2]||(l[2]=ue("div",{class:"curtain"},null,-1)),ue("nav",VJ,[l[1]||(l[1]=ue("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),pe(a.$slots,"sidebar-nav-before",{},void 0,!0),(E(),ve(FJ,{items:S(t),key:i.value},null,8,["items"])),pe(a.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):je("",!0)}}),HJ=yr(UJ,[["__scopeId","data-v-91b447a8"]]),WJ=Te({__name:"VPSkipLink",setup(e){const{theme:t}=Yr(),r=fw(),n=Oe();cr(()=>r.path,()=>n.value.focus());function o({target:s}){const i=document.getElementById(decodeURIComponent(s.hash).slice(1));if(i){const a=()=>{i.removeAttribute("tabindex"),i.removeEventListener("blur",a)};i.setAttribute("tabindex","-1"),i.addEventListener("blur",a),i.focus(),window.scrollTo(0,0)}}return(s,i)=>(E(),K(dt,null,[ue("span",{ref_key:"backToTop",ref:n,tabindex:"-1"},null,512),ue("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:o},ze(S(t).skipToContentLabel||"Skip to content"),1)],64))}}),GJ=yr(WJ,[["__scopeId","data-v-9f15b6e6"]]),JJ=Te({__name:"Layout",setup(e){const{isOpen:t,open:r,close:n}=Hc(),o=fw();cr(()=>o.path,n),IU(t,n);const{frontmatter:s}=Yr(),i=el(),a=le(()=>!!i["home-hero-image"]);return wp("hero-image-slot-exists",a),(l,c)=>{const u=od("Content");return S(s).layout!==!1?(E(),K("div",{key:0,class:Nt(["Layout",S(s).pageClass])},[pe(l.$slots,"layout-top",{},void 0,!0),ye(GJ),ye(wU,{class:"backdrop",show:S(t),onClick:S(n)},null,8,["show","onClick"]),ye(NJ,null,{"nav-bar-title-before":U(()=>[pe(l.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":U(()=>[pe(l.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":U(()=>[pe(l.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":U(()=>[pe(l.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":U(()=>[pe(l.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":U(()=>[pe(l.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),ye(OW,{open:S(t),onOpenMenu:S(r)},null,8,["open","onOpenMenu"]),ye(HJ,{open:S(t)},{"sidebar-nav-before":U(()=>[pe(l.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":U(()=>[pe(l.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),ye(fW,null,{"page-top":U(()=>[pe(l.$slots,"page-top",{},void 0,!0)]),"page-bottom":U(()=>[pe(l.$slots,"page-bottom",{},void 0,!0)]),"not-found":U(()=>[pe(l.$slots,"not-found",{},void 0,!0)]),"home-hero-before":U(()=>[pe(l.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info-before":U(()=>[pe(l.$slots,"home-hero-info-before",{},void 0,!0)]),"home-hero-info":U(()=>[pe(l.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-info-after":U(()=>[pe(l.$slots,"home-hero-info-after",{},void 0,!0)]),"home-hero-actions-after":U(()=>[pe(l.$slots,"home-hero-actions-after",{},void 0,!0)]),"home-hero-image":U(()=>[pe(l.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":U(()=>[pe(l.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":U(()=>[pe(l.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":U(()=>[pe(l.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":U(()=>[pe(l.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":U(()=>[pe(l.$slots,"doc-before",{},void 0,!0)]),"doc-after":U(()=>[pe(l.$slots,"doc-after",{},void 0,!0)]),"doc-top":U(()=>[pe(l.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":U(()=>[pe(l.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":U(()=>[pe(l.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":U(()=>[pe(l.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":U(()=>[pe(l.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":U(()=>[pe(l.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":U(()=>[pe(l.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":U(()=>[pe(l.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),ye(yW),pe(l.$slots,"layout-bottom",{},void 0,!0)],2)):(E(),ve(u,{key:1}))}}}),KJ=yr(JJ,[["__scopeId","data-v-6d457d7f"]]),Kv={Layout:KJ,enhanceApp:({app:e})=>{e.component("Badge",vU)}},QJ=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#4d9375","activityBar.background":"#121212","activityBar.border":"#191919","activityBar.foreground":"#dbd7caee","activityBar.inactiveForeground":"#dedcd550","activityBarBadge.background":"#bfbaaa","activityBarBadge.foreground":"#121212","badge.background":"#dedcd590","badge.foreground":"#121212","breadcrumb.activeSelectionForeground":"#eeeeee18","breadcrumb.background":"#181818","breadcrumb.focusForeground":"#dbd7caee","breadcrumb.foreground":"#959da5","breadcrumbPicker.background":"#121212","button.background":"#4d9375","button.foreground":"#121212","button.hoverBackground":"#4d9375","checkbox.background":"#181818","checkbox.border":"#2f363d","debugToolBar.background":"#121212","descriptionForeground":"#dedcd590","diffEditor.insertedTextBackground":"#4d937550","diffEditor.removedTextBackground":"#ab595950","dropdown.background":"#121212","dropdown.border":"#191919","dropdown.foreground":"#dbd7caee","dropdown.listBackground":"#181818","editor.background":"#121212","editor.findMatchBackground":"#e6cc7722","editor.findMatchHighlightBackground":"#e6cc7744","editor.focusedStackFrameHighlightBackground":"#b808","editor.foldBackground":"#eeeeee10","editor.foreground":"#dbd7caee","editor.inactiveSelectionBackground":"#eeeeee10","editor.lineHighlightBackground":"#181818","editor.selectionBackground":"#eeeeee18","editor.selectionHighlightBackground":"#eeeeee10","editor.stackFrameHighlightBackground":"#a707","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#5eaab5","editorBracketHighlight.foreground2":"#4d9375","editorBracketHighlight.foreground3":"#d4976c","editorBracketHighlight.foreground4":"#d9739f","editorBracketHighlight.foreground5":"#e6cc77","editorBracketHighlight.foreground6":"#6394bf","editorBracketMatch.background":"#4d937520","editorError.foreground":"#cb7676","editorGroup.border":"#191919","editorGroupHeader.tabsBackground":"#121212","editorGroupHeader.tabsBorder":"#191919","editorGutter.addedBackground":"#4d9375","editorGutter.commentRangeForeground":"#dedcd550","editorGutter.deletedBackground":"#cb7676","editorGutter.foldingControlForeground":"#dedcd590","editorGutter.modifiedBackground":"#6394bf","editorHint.foreground":"#4d9375","editorIndentGuide.activeBackground":"#ffffff30","editorIndentGuide.background":"#ffffff15","editorInfo.foreground":"#6394bf","editorInlayHint.background":"#181818","editorInlayHint.foreground":"#666666","editorLineNumber.activeForeground":"#bfbaaa","editorLineNumber.foreground":"#dedcd550","editorOverviewRuler.border":"#111","editorStickyScroll.background":"#181818","editorStickyScrollHover.background":"#181818","editorWarning.foreground":"#d4976c","editorWhitespace.foreground":"#ffffff15","editorWidget.background":"#121212","errorForeground":"#cb7676","focusBorder":"#00000000","foreground":"#dbd7caee","gitDecoration.addedResourceForeground":"#4d9375","gitDecoration.conflictingResourceForeground":"#d4976c","gitDecoration.deletedResourceForeground":"#cb7676","gitDecoration.ignoredResourceForeground":"#dedcd550","gitDecoration.modifiedResourceForeground":"#6394bf","gitDecoration.submoduleResourceForeground":"#dedcd590","gitDecoration.untrackedResourceForeground":"#5eaab5","input.background":"#181818","input.border":"#191919","input.foreground":"#dbd7caee","input.placeholderForeground":"#dedcd590","inputOption.activeBackground":"#dedcd550","list.activeSelectionBackground":"#181818","list.activeSelectionForeground":"#dbd7caee","list.focusBackground":"#181818","list.highlightForeground":"#4d9375","list.hoverBackground":"#181818","list.hoverForeground":"#dbd7caee","list.inactiveFocusBackground":"#121212","list.inactiveSelectionBackground":"#181818","list.inactiveSelectionForeground":"#dbd7caee","menu.separatorBackground":"#191919","notificationCenterHeader.background":"#121212","notificationCenterHeader.foreground":"#959da5","notifications.background":"#121212","notifications.border":"#191919","notifications.foreground":"#dbd7caee","notificationsErrorIcon.foreground":"#cb7676","notificationsInfoIcon.foreground":"#6394bf","notificationsWarningIcon.foreground":"#d4976c","panel.background":"#121212","panel.border":"#191919","panelInput.border":"#2f363d","panelTitle.activeBorder":"#4d9375","panelTitle.activeForeground":"#dbd7caee","panelTitle.inactiveForeground":"#959da5","peekViewEditor.background":"#121212","peekViewEditor.matchHighlightBackground":"#ffd33d33","peekViewResult.background":"#121212","peekViewResult.matchHighlightBackground":"#ffd33d33","pickerGroup.border":"#191919","pickerGroup.foreground":"#dbd7caee","problemsErrorIcon.foreground":"#cb7676","problemsInfoIcon.foreground":"#6394bf","problemsWarningIcon.foreground":"#d4976c","progressBar.background":"#4d9375","quickInput.background":"#121212","quickInput.foreground":"#dbd7caee","quickInputList.focusBackground":"#181818","scrollbar.shadow":"#0000","scrollbarSlider.activeBackground":"#dedcd550","scrollbarSlider.background":"#dedcd510","scrollbarSlider.hoverBackground":"#dedcd550","settings.headerForeground":"#dbd7caee","settings.modifiedItemIndicator":"#4d9375","sideBar.background":"#121212","sideBar.border":"#191919","sideBar.foreground":"#bfbaaa","sideBarSectionHeader.background":"#121212","sideBarSectionHeader.border":"#191919","sideBarSectionHeader.foreground":"#dbd7caee","sideBarTitle.foreground":"#dbd7caee","statusBar.background":"#121212","statusBar.border":"#191919","statusBar.debuggingBackground":"#181818","statusBar.debuggingForeground":"#bfbaaa","statusBar.foreground":"#bfbaaa","statusBar.noFolderBackground":"#121212","statusBarItem.prominentBackground":"#181818","tab.activeBackground":"#121212","tab.activeBorder":"#191919","tab.activeBorderTop":"#dedcd590","tab.activeForeground":"#dbd7caee","tab.border":"#191919","tab.hoverBackground":"#181818","tab.inactiveBackground":"#121212","tab.inactiveForeground":"#959da5","tab.unfocusedActiveBorder":"#191919","tab.unfocusedActiveBorderTop":"#191919","tab.unfocusedHoverBackground":"#121212","terminal.ansiBlack":"#393a34","terminal.ansiBlue":"#6394bf","terminal.ansiBrightBlack":"#777777","terminal.ansiBrightBlue":"#6394bf","terminal.ansiBrightCyan":"#5eaab5","terminal.ansiBrightGreen":"#4d9375","terminal.ansiBrightMagenta":"#d9739f","terminal.ansiBrightRed":"#cb7676","terminal.ansiBrightWhite":"#ffffff","terminal.ansiBrightYellow":"#e6cc77","terminal.ansiCyan":"#5eaab5","terminal.ansiGreen":"#4d9375","terminal.ansiMagenta":"#d9739f","terminal.ansiRed":"#cb7676","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#e6cc77","terminal.foreground":"#dbd7caee","terminal.selectionBackground":"#eeeeee18","textBlockQuote.background":"#121212","textBlockQuote.border":"#191919","textCodeBlock.background":"#121212","textLink.activeForeground":"#4d9375","textLink.foreground":"#4d9375","textPreformat.foreground":"#d1d5da","textSeparator.foreground":"#586069","titleBar.activeBackground":"#121212","titleBar.activeForeground":"#bfbaaa","titleBar.border":"#181818","titleBar.inactiveBackground":"#121212","titleBar.inactiveForeground":"#959da5","tree.indentGuidesStroke":"#2f363d","welcomePage.buttonBackground":"#2f363d","welcomePage.buttonHoverBackground":"#444d56"},"displayName":"Vitesse Dark","name":"vitesse-dark","semanticHighlighting":true,"semanticTokenColors":{"class":"#6872ab","interface":"#5d99a9","namespace":"#db889a","property":"#b8a965","type":"#5d99a9"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#758575dd"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#666666"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#c99076"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#80a665"}},{"scope":"variable.parameter.function","settings":{"foreground":"#dbd7caee"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#4d9375"}},{"scope":"entity.name.function","settings":{"foreground":"#80a665"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#4d9375"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#cb7676"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#dbd7caee"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#c98a7d"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#c98a7d77"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#b8a96577"}},{"scope":"support","settings":{"foreground":"#b8a965"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#b8a965"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#bd976a"}},{"scope":["variable","identifier"],"settings":{"foreground":"#bd976a"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#5DA994"}},{"scope":"namespace","settings":{"foreground":"#db889a"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#cb7676"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#fdaeb7"}},{"scope":"carriage-return","settings":{"background":"#f97583","content":"^M","fontStyle":"italic underline","foreground":"#24292e"}},{"scope":"message.error","settings":{"foreground":"#fdaeb7"}},{"scope":"string variable","settings":{"foreground":"#c98a7d"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#c4704f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#c98a7d"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#e6cc77"}},{"scope":["support.constant"],"settings":{"foreground":"#c99076"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#4C9A91"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#cb7676"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#4d9375"}},{"scope":"meta.module-reference","settings":{"foreground":"#4d9375"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#d4976c"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#4d9375"}},{"scope":"markup.quote","settings":{"foreground":"#5d99a9"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#dbd7caee"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#dbd7caee"}},{"scope":"markup.raw","settings":{"foreground":"#4d9375"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#86181d","foreground":"#fdaeb7"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#144620","foreground":"#85e89d"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#c24e00","foreground":"#ffab70"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#79b8ff","foreground":"#2f363d"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#b392f0"}},{"scope":"meta.diff.header","settings":{"foreground":"#79b8ff"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#79b8ff"}},{"scope":"meta.output","settings":{"foreground":"#79b8ff"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#d1d5da"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#fdaeb7"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#c98a7d"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#dedcd590"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#6872ab"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#80a665"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"dark"}')),ZJ=Object.freeze(JSON.parse('{"colors":{"activityBar.activeBorder":"#1c6b48","activityBar.background":"#ffffff","activityBar.border":"#f0f0f0","activityBar.foreground":"#393a34","activityBar.inactiveForeground":"#393a3450","activityBarBadge.background":"#4e4f47","activityBarBadge.foreground":"#ffffff","badge.background":"#393a3490","badge.foreground":"#ffffff","breadcrumb.activeSelectionForeground":"#22222218","breadcrumb.background":"#f7f7f7","breadcrumb.focusForeground":"#393a34","breadcrumb.foreground":"#6a737d","breadcrumbPicker.background":"#ffffff","button.background":"#1c6b48","button.foreground":"#ffffff","button.hoverBackground":"#1c6b48","checkbox.background":"#f7f7f7","checkbox.border":"#d1d5da","debugToolBar.background":"#ffffff","descriptionForeground":"#393a3490","diffEditor.insertedTextBackground":"#1c6b4830","diffEditor.removedTextBackground":"#ab595940","dropdown.background":"#ffffff","dropdown.border":"#f0f0f0","dropdown.foreground":"#393a34","dropdown.listBackground":"#f7f7f7","editor.background":"#ffffff","editor.findMatchBackground":"#e6cc7744","editor.findMatchHighlightBackground":"#e6cc7766","editor.focusedStackFrameHighlightBackground":"#fff5b1","editor.foldBackground":"#22222210","editor.foreground":"#393a34","editor.inactiveSelectionBackground":"#22222210","editor.lineHighlightBackground":"#f7f7f7","editor.selectionBackground":"#22222218","editor.selectionHighlightBackground":"#22222210","editor.stackFrameHighlightBackground":"#fffbdd","editor.wordHighlightBackground":"#1c6b4805","editor.wordHighlightStrongBackground":"#1c6b4810","editorBracketHighlight.foreground1":"#2993a3","editorBracketHighlight.foreground2":"#1e754f","editorBracketHighlight.foreground3":"#a65e2b","editorBracketHighlight.foreground4":"#a13865","editorBracketHighlight.foreground5":"#bda437","editorBracketHighlight.foreground6":"#296aa3","editorBracketMatch.background":"#1c6b4820","editorError.foreground":"#ab5959","editorGroup.border":"#f0f0f0","editorGroupHeader.tabsBackground":"#ffffff","editorGroupHeader.tabsBorder":"#f0f0f0","editorGutter.addedBackground":"#1e754f","editorGutter.commentRangeForeground":"#393a3450","editorGutter.deletedBackground":"#ab5959","editorGutter.foldingControlForeground":"#393a3490","editorGutter.modifiedBackground":"#296aa3","editorHint.foreground":"#1e754f","editorIndentGuide.activeBackground":"#00000030","editorIndentGuide.background":"#00000015","editorInfo.foreground":"#296aa3","editorInlayHint.background":"#f7f7f7","editorInlayHint.foreground":"#999999","editorLineNumber.activeForeground":"#4e4f47","editorLineNumber.foreground":"#393a3450","editorOverviewRuler.border":"#fff","editorStickyScroll.background":"#f7f7f7","editorStickyScrollHover.background":"#f7f7f7","editorWarning.foreground":"#a65e2b","editorWhitespace.foreground":"#00000015","editorWidget.background":"#ffffff","errorForeground":"#ab5959","focusBorder":"#00000000","foreground":"#393a34","gitDecoration.addedResourceForeground":"#1e754f","gitDecoration.conflictingResourceForeground":"#a65e2b","gitDecoration.deletedResourceForeground":"#ab5959","gitDecoration.ignoredResourceForeground":"#393a3450","gitDecoration.modifiedResourceForeground":"#296aa3","gitDecoration.submoduleResourceForeground":"#393a3490","gitDecoration.untrackedResourceForeground":"#2993a3","input.background":"#f7f7f7","input.border":"#f0f0f0","input.foreground":"#393a34","input.placeholderForeground":"#393a3490","inputOption.activeBackground":"#393a3450","list.activeSelectionBackground":"#f7f7f7","list.activeSelectionForeground":"#393a34","list.focusBackground":"#f7f7f7","list.highlightForeground":"#1c6b48","list.hoverBackground":"#f7f7f7","list.hoverForeground":"#393a34","list.inactiveFocusBackground":"#ffffff","list.inactiveSelectionBackground":"#f7f7f7","list.inactiveSelectionForeground":"#393a34","menu.separatorBackground":"#f0f0f0","notificationCenterHeader.background":"#ffffff","notificationCenterHeader.foreground":"#6a737d","notifications.background":"#ffffff","notifications.border":"#f0f0f0","notifications.foreground":"#393a34","notificationsErrorIcon.foreground":"#ab5959","notificationsInfoIcon.foreground":"#296aa3","notificationsWarningIcon.foreground":"#a65e2b","panel.background":"#ffffff","panel.border":"#f0f0f0","panelInput.border":"#e1e4e8","panelTitle.activeBorder":"#1c6b48","panelTitle.activeForeground":"#393a34","panelTitle.inactiveForeground":"#6a737d","peekViewEditor.background":"#ffffff","peekViewResult.background":"#ffffff","pickerGroup.border":"#f0f0f0","pickerGroup.foreground":"#393a34","problemsErrorIcon.foreground":"#ab5959","problemsInfoIcon.foreground":"#296aa3","problemsWarningIcon.foreground":"#a65e2b","progressBar.background":"#1c6b48","quickInput.background":"#ffffff","quickInput.foreground":"#393a34","quickInputList.focusBackground":"#f7f7f7","scrollbar.shadow":"#6a737d33","scrollbarSlider.activeBackground":"#393a3450","scrollbarSlider.background":"#393a3410","scrollbarSlider.hoverBackground":"#393a3450","settings.headerForeground":"#393a34","settings.modifiedItemIndicator":"#1c6b48","sideBar.background":"#ffffff","sideBar.border":"#f0f0f0","sideBar.foreground":"#4e4f47","sideBarSectionHeader.background":"#ffffff","sideBarSectionHeader.border":"#f0f0f0","sideBarSectionHeader.foreground":"#393a34","sideBarTitle.foreground":"#393a34","statusBar.background":"#ffffff","statusBar.border":"#f0f0f0","statusBar.debuggingBackground":"#f7f7f7","statusBar.debuggingForeground":"#4e4f47","statusBar.foreground":"#4e4f47","statusBar.noFolderBackground":"#ffffff","statusBarItem.prominentBackground":"#f7f7f7","tab.activeBackground":"#ffffff","tab.activeBorder":"#f0f0f0","tab.activeBorderTop":"#393a3490","tab.activeForeground":"#393a34","tab.border":"#f0f0f0","tab.hoverBackground":"#f7f7f7","tab.inactiveBackground":"#ffffff","tab.inactiveForeground":"#6a737d","tab.unfocusedActiveBorder":"#f0f0f0","tab.unfocusedActiveBorderTop":"#f0f0f0","tab.unfocusedHoverBackground":"#ffffff","terminal.ansiBlack":"#121212","terminal.ansiBlue":"#296aa3","terminal.ansiBrightBlack":"#aaaaaa","terminal.ansiBrightBlue":"#296aa3","terminal.ansiBrightCyan":"#2993a3","terminal.ansiBrightGreen":"#1e754f","terminal.ansiBrightMagenta":"#a13865","terminal.ansiBrightRed":"#ab5959","terminal.ansiBrightWhite":"#dddddd","terminal.ansiBrightYellow":"#bda437","terminal.ansiCyan":"#2993a3","terminal.ansiGreen":"#1e754f","terminal.ansiMagenta":"#a13865","terminal.ansiRed":"#ab5959","terminal.ansiWhite":"#dbd7ca","terminal.ansiYellow":"#bda437","terminal.foreground":"#393a34","terminal.selectionBackground":"#22222218","textBlockQuote.background":"#ffffff","textBlockQuote.border":"#f0f0f0","textCodeBlock.background":"#ffffff","textLink.activeForeground":"#1c6b48","textLink.foreground":"#1c6b48","textPreformat.foreground":"#586069","textSeparator.foreground":"#d1d5da","titleBar.activeBackground":"#ffffff","titleBar.activeForeground":"#4e4f47","titleBar.border":"#f7f7f7","titleBar.inactiveBackground":"#ffffff","titleBar.inactiveForeground":"#6a737d","tree.indentGuidesStroke":"#e1e4e8","welcomePage.buttonBackground":"#f6f8fa","welcomePage.buttonHoverBackground":"#e1e4e8"},"displayName":"Vitesse Light","name":"vitesse-light","semanticHighlighting":true,"semanticTokenColors":{"class":"#5a6aa6","interface":"#2e808f","namespace":"#b05a78","property":"#998418","type":"#2e808f"},"tokenColors":[{"scope":["comment","punctuation.definition.comment","string.comment"],"settings":{"foreground":"#a0ada0"}},{"scope":["delimiter.bracket","delimiter","invalid.illegal.character-not-allowed-here.html","keyword.operator.rest","keyword.operator.spread","keyword.operator.type.annotation","keyword.operator.relational","keyword.operator.assignment","keyword.operator.type","meta.brace","meta.tag.block.any.html","meta.tag.inline.any.html","meta.tag.structure.input.void.html","meta.type.annotation","meta.embedded.block.github-actions-expression","storage.type.function.arrow","meta.objectliteral.ts","punctuation","punctuation.definition.string.begin.html.vue","punctuation.definition.string.end.html.vue"],"settings":{"foreground":"#999999"}},{"scope":["constant","entity.name.constant","variable.language","meta.definition.variable"],"settings":{"foreground":"#a65e2b"}},{"scope":["entity","entity.name"],"settings":{"foreground":"#59873a"}},{"scope":"variable.parameter.function","settings":{"foreground":"#393a34"}},{"scope":["entity.name.tag","tag.html"],"settings":{"foreground":"#1e754f"}},{"scope":"entity.name.function","settings":{"foreground":"#59873a"}},{"scope":["keyword","storage.type.class.jsdoc","punctuation.definition.template-expression"],"settings":{"foreground":"#1e754f"}},{"scope":["storage","storage.type","support.type.builtin","constant.language.undefined","constant.language.null","constant.language.import-export-all.ts"],"settings":{"foreground":"#ab5959"}},{"scope":["text.html.derivative","storage.modifier.package","storage.modifier.import","storage.type.java"],"settings":{"foreground":"#393a34"}},{"scope":["string","string punctuation.section.embedded source","attribute.value"],"settings":{"foreground":"#b56959"}},{"scope":["punctuation.definition.string"],"settings":{"foreground":"#b5695977"}},{"scope":["punctuation.support.type.property-name"],"settings":{"foreground":"#99841877"}},{"scope":"support","settings":{"foreground":"#998418"}},{"scope":["property","meta.property-name","meta.object-literal.key","entity.name.tag.yaml","attribute.name"],"settings":{"foreground":"#998418"}},{"scope":["entity.other.attribute-name","invalid.deprecated.entity.other.attribute-name.html"],"settings":{"foreground":"#b07d48"}},{"scope":["variable","identifier"],"settings":{"foreground":"#b07d48"}},{"scope":["support.type.primitive","entity.name.type"],"settings":{"foreground":"#2e8f82"}},{"scope":"namespace","settings":{"foreground":"#b05a78"}},{"scope":["keyword.operator","keyword.operator.assignment.compound","meta.var.expr.ts"],"settings":{"foreground":"#ab5959"}},{"scope":"invalid.broken","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.deprecated","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.illegal","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"invalid.unimplemented","settings":{"fontStyle":"italic","foreground":"#b31d28"}},{"scope":"carriage-return","settings":{"background":"#d73a49","content":"^M","fontStyle":"italic underline","foreground":"#fafbfc"}},{"scope":"message.error","settings":{"foreground":"#b31d28"}},{"scope":"string variable","settings":{"foreground":"#b56959"}},{"scope":["source.regexp","string.regexp"],"settings":{"foreground":"#ab5e3f"}},{"scope":["string.regexp.character-class","string.regexp constant.character.escape","string.regexp source.ruby.embedded","string.regexp string.regexp.arbitrary-repitition"],"settings":{"foreground":"#b56959"}},{"scope":"string.regexp constant.character.escape","settings":{"foreground":"#bda437"}},{"scope":["support.constant"],"settings":{"foreground":"#a65e2b"}},{"scope":["keyword.operator.quantifier.regexp","constant.numeric","number"],"settings":{"foreground":"#2f798a"}},{"scope":["keyword.other.unit"],"settings":{"foreground":"#ab5959"}},{"scope":["constant.language.boolean","constant.language"],"settings":{"foreground":"#1e754f"}},{"scope":"meta.module-reference","settings":{"foreground":"#1c6b48"}},{"scope":"punctuation.definition.list.begin.markdown","settings":{"foreground":"#a65e2b"}},{"scope":["markup.heading","markup.heading entity.name"],"settings":{"fontStyle":"bold","foreground":"#1c6b48"}},{"scope":"markup.quote","settings":{"foreground":"#2e808f"}},{"scope":"markup.italic","settings":{"fontStyle":"italic","foreground":"#393a34"}},{"scope":"markup.bold","settings":{"fontStyle":"bold","foreground":"#393a34"}},{"scope":"markup.raw","settings":{"foreground":"#1c6b48"}},{"scope":["markup.deleted","meta.diff.header.from-file","punctuation.definition.deleted"],"settings":{"background":"#ffeef0","foreground":"#b31d28"}},{"scope":["markup.inserted","meta.diff.header.to-file","punctuation.definition.inserted"],"settings":{"background":"#f0fff4","foreground":"#22863a"}},{"scope":["markup.changed","punctuation.definition.changed"],"settings":{"background":"#ffebda","foreground":"#e36209"}},{"scope":["markup.ignored","markup.untracked"],"settings":{"background":"#005cc5","foreground":"#f6f8fa"}},{"scope":"meta.diff.range","settings":{"fontStyle":"bold","foreground":"#6f42c1"}},{"scope":"meta.diff.header","settings":{"foreground":"#005cc5"}},{"scope":"meta.separator","settings":{"fontStyle":"bold","foreground":"#005cc5"}},{"scope":"meta.output","settings":{"foreground":"#005cc5"}},{"scope":["brackethighlighter.tag","brackethighlighter.curly","brackethighlighter.round","brackethighlighter.square","brackethighlighter.angle","brackethighlighter.quote"],"settings":{"foreground":"#586069"}},{"scope":"brackethighlighter.unmatched","settings":{"foreground":"#b31d28"}},{"scope":["constant.other.reference.link","string.other.link","punctuation.definition.string.begin.markdown","punctuation.definition.string.end.markdown"],"settings":{"foreground":"#b56959"}},{"scope":["markup.underline.link.markdown","markup.underline.link.image.markdown"],"settings":{"fontStyle":"underline","foreground":"#393a3490"}},{"scope":["type.identifier","constant.other.character-class.regexp"],"settings":{"foreground":"#5a6aa6"}},{"scope":["entity.other.attribute-name.html.vue"],"settings":{"foreground":"#59873a"}},{"scope":["invalid.illegal.unrecognized-tag.html"],"settings":{"fontStyle":"normal"}}],"type":"light"}'));function XJ(e,t){var r;const n=Na();return No(()=>{n.value=e()},{...t,flush:(r=t==null?void 0:t.flush)!==null&&r!==void 0?r:"sync"}),mw(n)}function Ah(e,t){return gw()?(VN(e,t),!0):!1}function YJ(){const e=new Set,t=r=>{e.delete(r)};return{on:r=>{e.add(r);const n=()=>t(r);return Ah(n),{off:n}},off:t,trigger:(...r)=>Promise.all(Array.from(e).map(n=>n(...r))),clear:()=>{e.clear()}}}function eK(e){let t=!1,r;const n=UN(!0);return(...o)=>(t||(r=n.run(()=>e(...o)),t=!0),r)}const Yx=new WeakMap,tK=(...e)=>{var t;const r=e[0],n=(t=Vc())===null||t===void 0?void 0:t.proxy,o=n??gw();if(o==null&&!HN())throw new Error("injectLocal must be called in setup");return o&&Yx.has(o)&&r in Yx.get(o)?Yx.get(o)[r]:_i(...e)},Vl=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const rK=e=>typeof e<"u",nK=Object.prototype.toString,oK=e=>nK.call(e)==="[object Object]",sK=()=>{},CO=iK();function iK(){var e,t,r;return Vl&&!!(!((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0)&&e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test((r=window)===null||r===void 0?void 0:r.navigator.userAgent))}function eL(...e){if(e.length!==1)return zN(...e);const t=e[0];return typeof t=="function"?mw(FN(()=>({get:t,set:sK}))):Oe(t)}function aK(e,t){function r(...n){return new Promise((o,s)=>{Promise.resolve(e(()=>t.apply(this,n),{fn:t,thisArg:this,args:n})).then(o).catch(s)})}return r}const tL=e=>e();function lK(e=tL,t={}){const{initialState:r="active"}=t,n=eL(r==="active");function o(){n.value=!1}function s(){n.value=!0}const i=(...a)=>{n.value&&e(...a)};return{isActive:mw(n),pause:o,resume:s,eventFilter:i}}function AO(e){return e.endsWith("rem")?Number.parseFloat(e)*16:Number.parseFloat(e)}function ek(e){return Array.isArray(e)?e:[e]}function rL(e){return Vc()}function cK(e){if(!Vl)return e;let t=0,r,n;const o=()=>{t-=1,n&&t<=0&&(n.stop(),r=void 0,n=void 0)};return(...s)=>(t+=1,n||(n=UN(!0),r=n.run(()=>e(...s))),Ah(o),r)}function nL(e,t=1e4){return FN((r,n)=>{let o=os(e),s;const i=()=>setTimeout(()=>{o=os(e),n()},os(t));return Ah(()=>{clearTimeout(s)}),{get(){return r(),o},set(a){o=a,n(),clearTimeout(s),s=i()}}})}function uK(e,t,r={}){const{eventFilter:n=tL,...o}=r;return cr(e,aK(n,t),o)}function dK(e,t,r={}){const{eventFilter:n,initialState:o="active",...s}=r,{eventFilter:i,pause:a,resume:l,isActive:c}=lK(n,{initialState:o});return{stop:uK(e,t,{...s,eventFilter:i}),pause:a,resume:l,isActive:c}}function pK(e,t){rL()&&Ch(e,t)}function oL(e,t=!0,r){rL()?Oo(e,r):t?e():Io(e)}function sL(e,t,r={}){const{immediate:n=!0,immediateCallback:o=!1}=r,s=Na(!1);let i;function a(){i&&(clearTimeout(i),i=void 0)}function l(){s.value=!1,a()}function c(...u){o&&e(),a(),s.value=!0,i=setTimeout(()=>{s.value=!1,i=void 0,e(...u)},os(t))}return n&&(s.value=!0,Vl&&c()),Ah(l),{isPending:Sd(s),start:c,stop:l}}function fK(e,t,r){return cr(e,t,{...r,immediate:!0})}const bl=Vl?window:void 0;function Ga(e){var t;const r=os(e);return(t=r==null?void 0:r.$el)!==null&&t!==void 0?t:r}function Ru(...e){const t=(n,o,s,i)=>(n.addEventListener(o,s,i),()=>n.removeEventListener(o,s,i)),r=le(()=>{const n=ek(os(e[0])).filter(o=>o!=null);return n.every(o=>typeof o!="string")?n:void 0});return fK(()=>{var n,o;return[(n=(o=r.value)===null||o===void 0?void 0:o.map(s=>Ga(s)))!==null&&n!==void 0?n:[bl].filter(s=>s!=null),ek(os(r.value?e[1]:e[0])),ek(S(r.value?e[2]:e[1])),os(r.value?e[3]:e[2])]},([n,o,s,i],a,l)=>{if(!(n!=null&&n.length)||!(o!=null&&o.length)||!(s!=null&&s.length))return;const c=oK(i)?{...i}:i,u=n.flatMap(d=>o.flatMap(p=>s.map(f=>t(d,p,f,c))));l(()=>{u.forEach(d=>d())})},{flush:"post"})}function iL(){const e=Na(!1),t=Vc();return t&&Oo(()=>{e.value=!0},t),e}function aL(e){const t=iL();return le(()=>(t.value,!!e()))}function hK(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function mK(...e){let t,r,n={};e.length===3?(t=e[0],r=e[1],n=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,r=e[0],n=e[1]):(t=e[0],r=e[1]):(t=!0,r=e[0]);const{target:o=bl,eventName:s="keydown",passive:i=!1,dedupe:a=!1}=n,l=hK(t);return Ru(o,s,c=>{c.repeat&&os(a)||l(c)&&r(c)},i)}const gK=Symbol("vueuse-ssr-width");function vK(){const e=HN()?tK(gK,null):null;return typeof e=="number"?e:void 0}function yK(e,t={}){const{window:r=bl,ssrWidth:n=vK()}=t,o=aL(()=>r&&"matchMedia"in r&&typeof r.matchMedia=="function"),s=Na(typeof n=="number"),i=Na(),a=Na(!1),l=c=>{a.value=c.matches};return No(()=>{if(s.value){s.value=!o.value,a.value=os(e).split(",").some(c=>{const u=c.includes("not all"),d=c.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),p=c.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let f=!!(d||p);return d&&f&&(f=n>=AO(d[1])),p&&f&&(f=n<=AO(p[1])),u?!f:f});return}o.value&&(i.value=r.matchMedia(os(e)),a.value=i.value.matches)}),Ru(i,"change",l,{passive:!0}),le(()=>a.value)}function bK(e){return JSON.parse(JSON.stringify(e))}const Qv=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Zv="__vueuse_ssr_handlers__",wK=xK();function xK(){return Zv in Qv||(Qv[Zv]=Qv[Zv]||{}),Qv[Zv]}function lL(e,t){return wK[e]||t}function kK(e){return yK("(prefers-color-scheme: dark)",e)}function jK(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const _K={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},EO="vueuse-storage";function Tf(e,t,r,n={}){var o;const{flush:s="pre",deep:i=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:d=bl,eventFilter:p,onError:f=z=>{console.error(z)},initOnMounted:m}=n,v=(u?Na:Oe)(typeof t=="function"?t():t),g=le(()=>os(e));if(!r)try{r=lL("getDefaultStorage",()=>bl==null?void 0:bl.localStorage)()}catch(z){f(z)}if(!r)return v;const y=os(t),b=jK(y),w=(o=n.serializer)!==null&&o!==void 0?o:_K[b],{pause:k,resume:x}=dK(v,z=>I(z),{flush:s,deep:i,eventFilter:p});cr(g,()=>L(),{flush:s});let j=!1;const _=z=>{m&&!j||L(z)},C=z=>{m&&!j||F(z)};d&&a&&(r instanceof Storage?Ru(d,"storage",_,{passive:!0}):Ru(d,EO,C)),m?oL(()=>{j=!0,L()}):L();function A(z,N){if(d){const X={key:g.value,oldValue:z,newValue:N,storageArea:r};d.dispatchEvent(r instanceof Storage?new StorageEvent("storage",X):new CustomEvent(EO,{detail:X}))}}function I(z){try{const N=r.getItem(g.value);if(z==null)A(N,null),r.removeItem(g.value);else{const X=w.write(z);N!==X&&(r.setItem(g.value,X),A(N,X))}}catch(N){f(N)}}function M(z){const N=z?z.newValue:r.getItem(g.value);if(N==null)return l&&y!=null&&r.setItem(g.value,w.write(y)),y;if(!z&&c){const X=w.read(N);return typeof c=="function"?c(X,y):b==="object"&&!Array.isArray(X)?{...y,...X}:X}else return typeof N!="string"?N:w.read(N)}function L(z){if(!(z&&z.storageArea!==r)){if(z&&z.key==null){v.value=y;return}if(!(z&&z.key!==g.value)){k();try{const N=w.write(v.value);(z===void 0||(z==null?void 0:z.newValue)!==N)&&(v.value=M(z))}catch(N){f(N)}finally{z?Io(x):x()}}}}function F(z){L(z.detail)}return v}const SK="*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function CK(e={}){const{selector:t="html",attribute:r="class",initialValue:n="auto",window:o=bl,storage:s,storageKey:i="vueuse-color-scheme",listenToStorageChanges:a=!0,storageRef:l,emitAuto:c,disableTransition:u=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},p=kK({window:o}),f=le(()=>p.value?"dark":"light"),m=l||(i==null?eL(n):Tf(i,n,s,{window:o,listenToStorageChanges:a})),v=le(()=>m.value==="auto"?f.value:m.value),g=lL("updateHTMLAttrs",(k,x,j)=>{const _=typeof k=="string"?o==null?void 0:o.document.querySelector(k):Ga(k);if(!_)return;const C=new Set,A=new Set;let I=null;if(x==="class"){const L=j.split(/\s/g);Object.values(d).flatMap(F=>(F||"").split(/\s/g)).filter(Boolean).forEach(F=>{L.includes(F)?C.add(F):A.add(F)})}else I={key:x,value:j};if(C.size===0&&A.size===0&&I===null)return;let M;u&&(M=o.document.createElement("style"),M.appendChild(document.createTextNode(SK)),o.document.head.appendChild(M));for(const L of C)_.classList.add(L);for(const L of A)_.classList.remove(L);I&&_.setAttribute(I.key,I.value),u&&(o.getComputedStyle(M).opacity,document.head.removeChild(M))});function y(k){var x;g(t,r,(x=d[k])!==null&&x!==void 0?x:k)}function b(k){e.onChanged?e.onChanged(k,y):y(k)}cr(v,b,{flush:"post",immediate:!0}),oL(()=>b(v.value));const w=le({get(){return c?m.value:v.value},set(k){m.value=k}});return Object.assign(w,{store:m,system:f,state:v})}function AK(e={}){const{valueDark:t="dark",valueLight:r=""}=e,n=CK({...e,onChanged:(s,i)=>{var a;e.onChanged?(a=e.onChanged)===null||a===void 0||a.call(e,s==="dark",i,s):i(s)},modes:{dark:t,light:r}}),o=le(()=>n.system.value);return le({get(){return n.value==="dark"},set(s){const i=s?"dark":"light";o.value===i?n.value="auto":n.value=i}})}function cL(e,t,r={}){const{window:n=bl,...o}=r;let s;const i=aL(()=>n&&"ResizeObserver"in n),a=()=>{s&&(s.disconnect(),s=void 0)},l=cr(le(()=>{const u=os(e);return Array.isArray(u)?u.map(d=>Ga(d)):[Ga(u)]}),u=>{if(a(),i.value&&n){s=new ResizeObserver(t);for(const d of u)d&&s.observe(d,o)}},{immediate:!0,flush:"post"}),c=()=>{a(),l()};return Ah(c),{isSupported:i,stop:c}}const rm=new Map;function EK(e){const t=gw();function r(a){var l;const c=rm.get(e)||new Set;c.add(a),rm.set(e,c);const u=()=>o(a);return t==null||(l=t.cleanups)===null||l===void 0||l.push(u),u}function n(a){function l(...c){o(l),a(...c)}return r(l)}function o(a){const l=rm.get(e);l&&(l.delete(a),l.size||s())}function s(){rm.delete(e)}function i(a,l){var c;(c=rm.get(e))===null||c===void 0||c.forEach(u=>u(a,l))}return{on:r,once:n,off:o,emit:i,reset:s}}function ca(e,t,r,n={}){var o,s;const{clone:i=!1,passive:a=!1,eventName:l,deep:c=!1,defaultValue:u,shouldEmit:d}=n,p=Vc(),f=r||(p==null?void 0:p.emit)||(p==null||(o=p.$emit)===null||o===void 0?void 0:o.bind(p))||(p==null||(s=p.proxy)===null||s===void 0||(s=s.$emit)===null||s===void 0?void 0:s.bind(p==null?void 0:p.proxy));let m=l;t||(t="modelValue"),m=m||`update:${t.toString()}`;const v=b=>i?typeof i=="function"?i(b):bK(b):b,g=()=>rK(e[t])?v(e[t]):u,y=b=>{d?d(b)&&f(m,b):f(m,b)};if(a){const b=Oe(g());let w=!1;return cr(()=>e[t],k=>{w||(w=!0,b.value=v(k),Io(()=>w=!1))}),cr(b,k=>{!w&&(k!==e[t]||c)&&y(k)},{deep:c}),b}else return le({get(){return g()},set(b){y(b)}})}const OK=e=>Object.entries(e),$K={c:["libcurl"],clojure:["clj_http"],csharp:["httpclient","restsharp"],dart:["http"],fsharp:["httpclient"],go:["native"],http:["http1.1"],java:["asynchttp","nethttp","okhttp","unirest"],js:["axios","fetch","jquery","ofetch","xhr"],kotlin:["okhttp"],node:["axios","fetch","ofetch","undici"],objc:["nsurlsession"],ocaml:["cohttp"],php:["curl","guzzle"],powershell:["restmethod","webrequest"],python:["python3","requests","httpx_sync","httpx_async"],r:["httr"],ruby:["native"],rust:["reqwest"],shell:["curl","httpie","wget"],swift:["nsurlsession"]};OK($K).flatMap(([e,t])=>t.map(r=>`${e}/${r}`));const OO="",$O=` `;class Fo{constructor({indent:t,join:r}={}){Re(this,"postProcessors");Re(this,"code");Re(this,"indentationCharacter");Re(this,"lineJoin");Re(this,"indentLine");Re(this,"unshift");Re(this,"push");Re(this,"blank");Re(this,"join");Re(this,"addPostProcessor");this.postProcessors=[],this.code=[],this.indentationCharacter=OO,this.lineJoin=$O,this.indentLine=(n,o=0)=>`${this.indentationCharacter.repeat(o)}${n}`,this.unshift=(n,o)=>{const s=this.indentLine(n,o);this.code.unshift(s)},this.push=(n,o)=>{const s=this.indentLine(n,o);this.code.push(s)},this.blank=()=>{this.code.push("")},this.join=()=>{const n=this.code.join(this.lineJoin);return this.postProcessors.reduce((o,s)=>s(o),n)},this.addPostProcessor=n=>{this.postProcessors=[...this.postProcessors,n]},this.indentationCharacter=t||OO,this.lineJoin=r??$O}}function Sb(e,t={}){const{delimiter:r='"',escapeChar:n="\\",escapeNewlines:o=!0}=t;return[...e.toString()].map(s=>s==="\b"?`${n}b`:s===" "?`${n}t`:s===` -`?o?`${n}n`:s:s==="\f"?`${n}f`:s==="\r"?o?`${n}r`:s:s===n?n+n:s===r?n+r:s<" "||s>"~"?JSON.stringify(s).slice(1,-1):s).join("")}const pC=e=>Sb(e,{delimiter:"'"}),xs=e=>Sb(e,{delimiter:'"'});function TK(e){return{...e,method:(e.method||"GET").toUpperCase()}}function PK(e){return e!=null&&e.length?`?${e.map(t=>`${encodeURIComponent(t.name)}=${encodeURIComponent(t.value)}`).join("&")}`:""}const fv=(e=[])=>{const t=new URLSearchParams;return e.forEach(r=>{t.append(r.name,r.value)}),t};function IK(e,t){return`${e}${t}`}function DK(e){const t={};if(e.headers)for(const r of e.headers)r.value&&!/[; ]/.test(r.name)&&(t[r.name]=r.value);if(e.cookies&&e.cookies.length>0){const r=e.cookies.map(n=>`${encodeURIComponent(n.name)}=${encodeURIComponent(n.value)}`).join("; ");t.Cookie=r}return t}const MK={info:{key:"libcurl",title:"Libcurl",link:"http://curl.haxx.se/libcurl",description:"Simple REST and HTTP API Client for C"},convert:({method:e,fullUrl:t,headersObj:r,allHeaders:n,postData:o})=>{const{push:s,blank:i,join:a}=new Fo({indent:" "});s("CURL *hnd = curl_easy_init();"),i(),s(`curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "${e.toUpperCase()}");`),s(`curl_easy_setopt(hnd, CURLOPT_URL, "${t}");`);const l=Object.keys(r);return l.length&&(i(),s("struct curl_slist *headers = NULL;"),l.forEach(c=>{r[c]?s(`headers = curl_slist_append(headers, "${c}: ${xs(r[c])}");`):s(`headers = curl_slist_append(headers, "${c};");`)}),s("curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);")),n.cookie&&(i(),s(`curl_easy_setopt(hnd, CURLOPT_COOKIE, "${n.cookie}");`)),o!=null&&(i(),o.text?s(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ${JSON.stringify(o.text)});`):o.mimeType==="application/x-www-form-urlencoded"&&o.params?s(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "${fv(o.params).toString()}");`):o.mimeType==="multipart/form-data"&&o.params&&(s("curl_mime *mime = curl_mime_init(hnd);"),o.params.forEach(c=>{i(),s("{"),s("curl_mimepart *part = curl_mime_addpart(mime);",1),c.name&&s(`curl_mime_name(part, "${c.name}");`,1),c.fileName?s(`curl_mime_filedata(part, "${c.fileName}");`,1):c.value&&s(`curl_mime_data(part, "${xs(c.value)}", CURL_ZERO_TERMINATED);`,1),s("}")}),i(),s("curl_easy_setopt(hnd, CURLOPT_MIMEPOST, mime);"))),i(),s("CURLcode ret = curl_easy_perform(hnd);"),a()}};function Ro(e,t){var d,p,f;const r=new URL((t==null?void 0:t.url)??""),n=r.pathname==="/"?r.origin:r.toString(),o={method:(t==null?void 0:t.method)??"GET",url:n,httpVersion:"HTTP/1.1",cookies:[],headers:(t==null?void 0:t.headers)??[],headersSize:-1,bodySize:-1,queryString:Array.from(r.searchParams.entries()).map(([m,v])=>({name:m,value:v})),postData:t==null?void 0:t.postData},s=((o==null?void 0:o.headers)??[]).reduce((m,v)=>({...m,[v.name]:v.value}),{}),i=(o.queryString??[]).reduce((m,v)=>({...m,[v.name]:v.value}),{}),a=(o.cookies??[]).reduce((m,v)=>({...m,[v.name]:v.value}),{}),l=new URL(o.url),c={protocol:l.protocol,hostname:l.hostname,host:l.hostname,port:l.port,pathname:l.pathname.split("/").map(m=>encodeURIComponent(decodeURIComponent(m))).join("/")+l.search,path:l.pathname.split("/").map(m=>encodeURIComponent(decodeURIComponent(m))).join("/")+l.search,search:l.search,hash:l.hash,href:l.href,origin:l.origin,password:l.password,searchParams:l.searchParams,username:l.username,toString:l.toString,toJSON:()=>l.toJSON()},u={url:o.url,uriObj:c,method:((d=o.method)==null?void 0:d.toLocaleUpperCase())??"GET",httpVersion:o.httpVersion,cookies:o.cookies??[],headers:o.headers??[],headersSize:o.headersSize,headersObj:s??{},bodySize:o.bodySize,queryString:o.queryString??[],postData:o.postData?{mimeType:o.postData.mimeType??"application/json",text:o.postData.text??"",params:o.postData.params??[],paramsObj:((p=o.postData.params)==null?void 0:p.reduce((m,v)=>(v.name&&v.value!==void 0&&(m[v.name]=v.value),m),{}))??{}}:void 0,allHeaders:s??{},fullUrl:o.url,queryObj:i??{},cookiesObj:a??{}};if(((f=u.postData)==null?void 0:f.mimeType)==="application/json"&&u.postData.text)try{u.postData.jsonObj=JSON.parse(u.postData.text)}catch(m){console.error("Error parsing JSON:",m)}return typeof e.convert=="function"?e.convert(u):""}const LK={target:"c",client:"libcurl",title:"Libcurl",generate(e){return Ro(MK,e)}},cc=(e,t)=>Object.keys(e).find(r=>r.toLowerCase()===t.toLowerCase()),tp=(e,t)=>{const r=cc(e,t);if(r)return e[r]},uN=(e,t)=>!!cc(e,t);class TO{constructor(t){Re(this,"name");Re(this,"toString");this.name="",this.toString=()=>`:${this.name}`,this.name=t}}let NK=class{constructor(t){Re(this,"path");Re(this,"toString");this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,this.path=t}};const dN=e=>e===void 0?null:e===null?"null":e.constructor.name.toLowerCase(),pN=e=>dN(e)==="object"?Object.keys(e).length===0:!1,PO=e=>(Object.keys(e).filter(t=>pN(e[t])).forEach(t=>{delete e[t]}),e),K0=(e,t)=>{const r=" ".repeat(e);return t.replace(/\n/g,` -${r}`)},h_=e=>{switch(dN(e)){case"string":return`"${e.replace(/"/g,'\\"')}"`;case"file":return e.toString();case"keyword":return e.toString();case"null":return"nil";case"regexp":return`#"${e.source}"`;case"object":{const t=Object.keys(e).reduce((r,n)=>{const o=K0(n.length+2,h_(e[n]));return`${r}:${n} ${o} - `},"").trim();return`{${K0(1,t)}}`}case"array":{const t=e.reduce((r,n)=>`${r} ${h_(n)}`,"").trim();return`[${K0(1,t)}]`}default:return e.toString()}},RK={info:{key:"clj_http",title:"clj-http",link:"https://github.com/dakrone/clj-http",description:"An idiomatic clojure http client wrapping the apache client."},convert:({queryObj:e,method:t,postData:r,url:n,allHeaders:o},s)=>{const{push:i,join:a}=new Fo({indent:s==null?void 0:s.indent}),l=["get","post","put","delete","patch","head","options"];if(t=t.toLowerCase(),!l.includes(t))return i("Method not supported"),a();const c={headers:o,"query-params":e};switch(e&&Object.keys(e).length>0&&(n=n.split("?")[0]),r==null?void 0:r.mimeType){case"application/json":{c["content-type"]=new TO("json"),c["form-params"]=r.jsonObj;const u=cc(c.headers,"content-type");u&&delete c.headers[u]}break;case"application/x-www-form-urlencoded":{c["form-params"]=r.paramsObj;const u=cc(c.headers,"content-type");u&&delete c.headers[u]}break;case"text/plain":{c.body=r.text;const u=cc(c.headers,"content-type");u&&delete c.headers[u]}break;case"multipart/form-data":{if(r!=null&&r.params){c.multipart=r.params.map(d=>d.fileName&&!d.value?{name:d.name,content:new NK(d.fileName)}:{name:d.name,content:d.value});const u=cc(c.headers,"content-type");u&&delete c.headers[u]}break}}switch(tp(c.headers,"accept")){case"application/json":{c.accept=new TO("json");const u=cc(c.headers,"accept");u&&delete c.headers[u]}break}if(i(`(require '[clj-http.client :as client]) -`),pN(PO(c)))i(`(client/${t} "${n}")`);else{const u=11+t.length+n.length,d=K0(u,h_(PO(c)));i(`(client/${t} "${n}" ${d})`)}return a()}},BK={target:"clojure",client:"clj_http",title:"clj-http",generate(e){return Ro(RK,e)}},fC=typeof Buffer=="function";typeof TextDecoder=="function"&&new TextDecoder;const IO=typeof TextEncoder=="function"?new TextEncoder:void 0,qK="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Cm=Array.prototype.slice.call(qK);(e=>{let t={};return e.forEach((r,n)=>t[r]=n),t})(Cm);const ul=String.fromCharCode.bind(String);typeof Uint8Array.from=="function"&&Uint8Array.from.bind(Uint8Array);const zK=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),FK=e=>{let t,r,n,o,s="";const i=e.length%3;for(let a=0;a255||(n=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=r<<16|n<<8|o,s+=Cm[t>>18&63]+Cm[t>>12&63]+Cm[t>>6&63]+Cm[t&63]}return i?s.slice(0,i-3)+"===".substring(i):s},fN=typeof btoa=="function"?e=>btoa(e):fC?e=>Buffer.from(e,"binary").toString("base64"):FK,VK=fC?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?ul(192|t>>>6)+ul(128|t&63):ul(224|t>>>12&15)+ul(128|t>>>6&63)+ul(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return ul(240|t>>>18&7)+ul(128|t>>>12&63)+ul(128|t>>>6&63)+ul(128|t&63)}},HK=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,WK=e=>e.replace(HK,UK),DO=fC?e=>Buffer.from(e,"utf8").toString("base64"):IO?e=>VK(IO.encode(e)):e=>fN(WK(e)),GK=(e,t=!1)=>t?zK(DO(e)):DO(e),JK={target:"csharp",client:"httpclient",title:"HttpClient",generate(e,t){const r={method:"GET",url:"",...e};r.method=r.method.toUpperCase();const n=fv(r.queryString),o=n.size?`?${n.toString()}`:"",s=`${r.url}${o}`,i=[];i.push("using var client = new HttpClient();"),i.push("");const a=KK(r.method);return i.push(`var request = new HttpRequestMessage(${a}, "${s}");`),QK(i,r,t),ZK(i,r),i.push(""),i.push("using var response = await client.SendAsync(request);"),i.join(` +`?o?`${n}n`:s:s==="\f"?`${n}f`:s==="\r"?o?`${n}r`:s:s===n?n+n:s===r?n+r:s<" "||s>"~"?JSON.stringify(s).slice(1,-1):s).join("")}const pC=e=>Sb(e,{delimiter:"'"}),xs=e=>Sb(e,{delimiter:'"'});function TK(e){return{...e,method:(e.method||"GET").toUpperCase()}}function PK(e){return e!=null&&e.length?`?${e.map(t=>`${encodeURIComponent(t.name)}=${encodeURIComponent(t.value)}`).join("&")}`:""}const fv=(e=[])=>{const t=new URLSearchParams;return e.forEach(r=>{t.append(r.name,r.value)}),t};function IK(e,t){return`${e}${t}`}function DK(e){const t={};if(e.headers)for(const r of e.headers)r.value&&!/[; ]/.test(r.name)&&(t[r.name]=r.value);if(e.cookies&&e.cookies.length>0){const r=e.cookies.map(n=>`${encodeURIComponent(n.name)}=${encodeURIComponent(n.value)}`).join("; ");t.Cookie=r}return t}const MK={info:{key:"libcurl",title:"Libcurl",link:"http://curl.haxx.se/libcurl",description:"Simple REST and HTTP API Client for C"},convert:({method:e,fullUrl:t,headersObj:r,allHeaders:n,postData:o})=>{const{push:s,blank:i,join:a}=new Fo({indent:" "});s("CURL *hnd = curl_easy_init();"),i(),s(`curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "${e.toUpperCase()}");`),s(`curl_easy_setopt(hnd, CURLOPT_URL, "${t}");`);const l=Object.keys(r);return l.length&&(i(),s("struct curl_slist *headers = NULL;"),l.forEach(c=>{r[c]?s(`headers = curl_slist_append(headers, "${c}: ${xs(r[c])}");`):s(`headers = curl_slist_append(headers, "${c};");`)}),s("curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);")),n.cookie&&(i(),s(`curl_easy_setopt(hnd, CURLOPT_COOKIE, "${n.cookie}");`)),o!=null&&(i(),o.text?s(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ${JSON.stringify(o.text)});`):o.mimeType==="application/x-www-form-urlencoded"&&o.params?s(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, "${fv(o.params).toString()}");`):o.mimeType==="multipart/form-data"&&o.params&&(s("curl_mime *mime = curl_mime_init(hnd);"),o.params.forEach(c=>{i(),s("{"),s("curl_mimepart *part = curl_mime_addpart(mime);",1),c.name&&s(`curl_mime_name(part, "${c.name}");`,1),c.fileName?s(`curl_mime_filedata(part, "${c.fileName}");`,1):c.value&&s(`curl_mime_data(part, "${xs(c.value)}", CURL_ZERO_TERMINATED);`,1),s("}")}),i(),s("curl_easy_setopt(hnd, CURLOPT_MIMEPOST, mime);"))),i(),s("CURLcode ret = curl_easy_perform(hnd);"),a()}};function Ro(e,t){var d,p,f;const r=new URL((t==null?void 0:t.url)??""),n=r.pathname==="/"?r.origin:r.toString(),o={method:(t==null?void 0:t.method)??"GET",url:n,httpVersion:"HTTP/1.1",cookies:[],headers:(t==null?void 0:t.headers)??[],headersSize:-1,bodySize:-1,queryString:Array.from(r.searchParams.entries()).map(([m,v])=>({name:m,value:v})),postData:t==null?void 0:t.postData},s=((o==null?void 0:o.headers)??[]).reduce((m,v)=>({...m,[v.name]:v.value}),{}),i=(o.queryString??[]).reduce((m,v)=>({...m,[v.name]:v.value}),{}),a=(o.cookies??[]).reduce((m,v)=>({...m,[v.name]:v.value}),{}),l=new URL(o.url),c={protocol:l.protocol,hostname:l.hostname,host:l.hostname,port:l.port,pathname:l.pathname.split("/").map(m=>encodeURIComponent(decodeURIComponent(m))).join("/")+l.search,path:l.pathname.split("/").map(m=>encodeURIComponent(decodeURIComponent(m))).join("/")+l.search,search:l.search,hash:l.hash,href:l.href,origin:l.origin,password:l.password,searchParams:l.searchParams,username:l.username,toString:l.toString,toJSON:()=>l.toJSON()},u={url:o.url,uriObj:c,method:((d=o.method)==null?void 0:d.toLocaleUpperCase())??"GET",httpVersion:o.httpVersion,cookies:o.cookies??[],headers:o.headers??[],headersSize:o.headersSize,headersObj:s??{},bodySize:o.bodySize,queryString:o.queryString??[],postData:o.postData?{mimeType:o.postData.mimeType??"application/json",text:o.postData.text??"",params:o.postData.params??[],paramsObj:((p=o.postData.params)==null?void 0:p.reduce((m,v)=>(v.name&&v.value!==void 0&&(m[v.name]=v.value),m),{}))??{}}:void 0,allHeaders:s??{},fullUrl:o.url,queryObj:i??{},cookiesObj:a??{}};if(((f=u.postData)==null?void 0:f.mimeType)==="application/json"&&u.postData.text)try{u.postData.jsonObj=JSON.parse(u.postData.text)}catch(m){console.error("Error parsing JSON:",m)}return typeof e.convert=="function"?e.convert(u):""}const NK={target:"c",client:"libcurl",title:"Libcurl",generate(e){return Ro(MK,e)}},cc=(e,t)=>Object.keys(e).find(r=>r.toLowerCase()===t.toLowerCase()),tp=(e,t)=>{const r=cc(e,t);if(r)return e[r]},uL=(e,t)=>!!cc(e,t);class TO{constructor(t){Re(this,"name");Re(this,"toString");this.name="",this.toString=()=>`:${this.name}`,this.name=t}}let LK=class{constructor(t){Re(this,"path");Re(this,"toString");this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,this.path=t}};const dL=e=>e===void 0?null:e===null?"null":e.constructor.name.toLowerCase(),pL=e=>dL(e)==="object"?Object.keys(e).length===0:!1,PO=e=>(Object.keys(e).filter(t=>pL(e[t])).forEach(t=>{delete e[t]}),e),K0=(e,t)=>{const r=" ".repeat(e);return t.replace(/\n/g,` +${r}`)},h_=e=>{switch(dL(e)){case"string":return`"${e.replace(/"/g,'\\"')}"`;case"file":return e.toString();case"keyword":return e.toString();case"null":return"nil";case"regexp":return`#"${e.source}"`;case"object":{const t=Object.keys(e).reduce((r,n)=>{const o=K0(n.length+2,h_(e[n]));return`${r}:${n} ${o} + `},"").trim();return`{${K0(1,t)}}`}case"array":{const t=e.reduce((r,n)=>`${r} ${h_(n)}`,"").trim();return`[${K0(1,t)}]`}default:return e.toString()}},RK={info:{key:"clj_http",title:"clj-http",link:"https://github.com/dakrone/clj-http",description:"An idiomatic clojure http client wrapping the apache client."},convert:({queryObj:e,method:t,postData:r,url:n,allHeaders:o},s)=>{const{push:i,join:a}=new Fo({indent:s==null?void 0:s.indent}),l=["get","post","put","delete","patch","head","options"];if(t=t.toLowerCase(),!l.includes(t))return i("Method not supported"),a();const c={headers:o,"query-params":e};switch(e&&Object.keys(e).length>0&&(n=n.split("?")[0]),r==null?void 0:r.mimeType){case"application/json":{c["content-type"]=new TO("json"),c["form-params"]=r.jsonObj;const u=cc(c.headers,"content-type");u&&delete c.headers[u]}break;case"application/x-www-form-urlencoded":{c["form-params"]=r.paramsObj;const u=cc(c.headers,"content-type");u&&delete c.headers[u]}break;case"text/plain":{c.body=r.text;const u=cc(c.headers,"content-type");u&&delete c.headers[u]}break;case"multipart/form-data":{if(r!=null&&r.params){c.multipart=r.params.map(d=>d.fileName&&!d.value?{name:d.name,content:new LK(d.fileName)}:{name:d.name,content:d.value});const u=cc(c.headers,"content-type");u&&delete c.headers[u]}break}}switch(tp(c.headers,"accept")){case"application/json":{c.accept=new TO("json");const u=cc(c.headers,"accept");u&&delete c.headers[u]}break}if(i(`(require '[clj-http.client :as client]) +`),pL(PO(c)))i(`(client/${t} "${n}")`);else{const u=11+t.length+n.length,d=K0(u,h_(PO(c)));i(`(client/${t} "${n}" ${d})`)}return a()}},BK={target:"clojure",client:"clj_http",title:"clj-http",generate(e){return Ro(RK,e)}},fC=typeof Buffer=="function";typeof TextDecoder=="function"&&new TextDecoder;const IO=typeof TextEncoder=="function"?new TextEncoder:void 0,qK="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",Cm=Array.prototype.slice.call(qK);(e=>{let t={};return e.forEach((r,n)=>t[r]=n),t})(Cm);const ul=String.fromCharCode.bind(String);typeof Uint8Array.from=="function"&&Uint8Array.from.bind(Uint8Array);const zK=e=>e.replace(/=/g,"").replace(/[+\/]/g,t=>t=="+"?"-":"_"),FK=e=>{let t,r,n,o,s="";const i=e.length%3;for(let a=0;a255||(n=e.charCodeAt(a++))>255||(o=e.charCodeAt(a++))>255)throw new TypeError("invalid character found");t=r<<16|n<<8|o,s+=Cm[t>>18&63]+Cm[t>>12&63]+Cm[t>>6&63]+Cm[t&63]}return i?s.slice(0,i-3)+"===".substring(i):s},fL=typeof btoa=="function"?e=>btoa(e):fC?e=>Buffer.from(e,"binary").toString("base64"):FK,VK=fC?e=>Buffer.from(e).toString("base64"):e=>{let t=[];for(let r=0,n=e.length;r{if(e.length<2){var t=e.charCodeAt(0);return t<128?e:t<2048?ul(192|t>>>6)+ul(128|t&63):ul(224|t>>>12&15)+ul(128|t>>>6&63)+ul(128|t&63)}else{var t=65536+(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320);return ul(240|t>>>18&7)+ul(128|t>>>12&63)+ul(128|t>>>6&63)+ul(128|t&63)}},HK=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,WK=e=>e.replace(HK,UK),DO=fC?e=>Buffer.from(e,"utf8").toString("base64"):IO?e=>VK(IO.encode(e)):e=>fL(WK(e)),GK=(e,t=!1)=>t?zK(DO(e)):DO(e),JK={target:"csharp",client:"httpclient",title:"HttpClient",generate(e,t){const r={method:"GET",url:"",...e};r.method=r.method.toUpperCase();const n=fv(r.queryString),o=n.size?`?${n.toString()}`:"",s=`${r.url}${o}`,i=[];i.push("using var client = new HttpClient();"),i.push("");const a=KK(r.method);return i.push(`var request = new HttpRequestMessage(${a}, "${s}");`),QK(i,r,t),ZK(i,r),i.push(""),i.push("using var response = await client.SendAsync(request);"),i.join(` `)}};function KK(e){switch(e){case"GET":return"HttpMethod.Get";case"POST":return"HttpMethod.Post";case"PUT":return"HttpMethod.Put";case"DELETE":return"HttpMethod.Delete";case"PATCH":return"HttpMethod.Patch";case"HEAD":return"HttpMethod.Head";case"OPTIONS":return"HttpMethod.Options";default:return`new HttpMethod("${e}")`}}function QK(e,t,r){var a,l;const n=t.headers||[],o=t.cookies||[],s=n.find(c=>c.name.toLowerCase()==="authorization");if(s){const[c,u]=s.value.split(" ",2);c&&u&&e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("${c}", "${u}");`)}else if((a=r==null?void 0:r.auth)!=null&&a.username&&((l=r==null?void 0:r.auth)!=null&&l.password)){const c=GK(`${r.auth.username}:${r.auth.password}`);e.push(`request.Headers.Authorization = new AuthenticationHeaderValue("Basic", "${c}");`)}const i=new Map;for(const c of n){const u=c.name,d=c.value;u.toLowerCase()!=="authorization"&&i.set(u,d)}for(const[c,u]of i)if(c.toLowerCase()==="accept"&&XK(u))e.push(`request.Headers.Accept.Add(new MediaTypeWithQualityHeaderValue("${u}"));`);else{if(c.toLowerCase()==="content-type"&&t.postData)continue;e.push(`request.Headers.TryAddWithoutValidation("${c}", "${u}");`)}if(o.length>0){const c=o.map(u=>`${u.name}=${u.value}`).join("; ");e.push(`request.Headers.TryAddWithoutValidation("Cookie", "${c}");`)}}function ZK(e,t){if(!t.postData)return;const{mimeType:r,text:n,params:o}=t.postData;if(r==="application/json"&&n)try{const s=JSON.parse(n),i=JSON.stringify(s,null,2),a=tk(i);e.push("request.Content = new StringContent("),e.push(`${a},`),e.push('System.Text.Encoding.UTF8, "application/json");')}catch{const s=tk(n);e.push("request.Content = new StringContent("),e.push(`${s},`),e.push('System.Text.Encoding.UTF8, "application/json");')}else if(r==="application/x-www-form-urlencoded"&&o){const s=o.map(i=>i.name);if(s.length!==new Set(s).size){e.push("var formParams = new List>"),e.push("{");for(const i of o)e.push(` new("${i.name}", "${i.value}"),`);e.push("};"),e.push("request.Content = new FormUrlEncodedContent(formParams);")}else{e.push("var formParams = new Dictionary"),e.push("{");for(const i of o)e.push(` ["${i.name}"] = "${i.value}",`);e.push("};"),e.push("request.Content = new FormUrlEncodedContent(formParams);")}}else if(r==="multipart/form-data"&&o){e.push("var content = new MultipartFormDataContent();");for(const s of o)s.fileName!==void 0?e.push(`content.Add(new StreamContent(File.OpenRead("${s.fileName}")), "${s.name}", "${s.fileName}");`):e.push(`content.Add(new StringContent("${s.value}"), "${s.name}");`);e.push("request.Content = content;")}else if(r==="application/octet-stream"&&n)e.push('var content = new ByteArrayContent(System.Text.Encoding.UTF8.GetBytes("'+n.replace(/"/g,'\\"')+'"));'),e.push('content.Headers.ContentType = new MediaTypeHeaderValue("application/octet-stream");'),e.push("request.Content = content;");else if(n){const s=tk(n);e.push("request.Content = new StringContent("),e.push(`${s},`),e.push(`System.Text.Encoding.UTF8, "${r}");`)}}function tk(e){let t=3;for(;e.includes('"'.repeat(t));)t++;const r='"'.repeat(t);return`${r} ${e} ${r}`}function XK(e){return/^[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*\/[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*(\s*;\s*[a-zA-Z0-9][a-zA-Z0-9!#$&\-\^_]*=.*)?$/.test(e)}const YK={info:{key:"restsharp",title:"RestSharp",link:"http://restsharp.org/",description:"Simple REST and HTTP API Client for .NET"},convert:({allHeaders:e,method:t,fullUrl:r,headersObj:n,cookies:o,postData:s})=>{const{push:i,join:a}=new Fo;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";if(i(`var client = new RestClient("${r}");`),i(`var request = new RestRequest(Method.${t.toUpperCase()});`),Object.keys(n).forEach(l=>{i(`request.AddHeader("${l}", "${xs(n[l])}");`)}),o==null||o.forEach(({name:l,value:c})=>{i(`request.AddCookie("${l}", "${c}");`)}),s==null?void 0:s.text){const l=tp(e,"content-type"),c=JSON.stringify(s.text);i(`request.AddParameter("${l}", ${c}, ParameterType.RequestBody);`)}return i("IRestResponse response = client.Execute(request);"),a()}},eQ={target:"csharp",client:"restsharp",title:"RestSharp",generate(e){return Ro(YK,e)}},tQ={target:"dart",client:"http",title:"Http",generate(e,t){var p,f,m;const r={method:"GET",...e};r.method=r.method.toUpperCase();let n=`import 'package:http/http.dart' as http; @@ -72,7 +72,7 @@ ${c.value}\r `).join("")+`--${l}--\r `}}return i.forEach((l,c)=>{s+=`${c}: ${l}\r `}),s+=`\r -${a}`,s}},gQ={info:{key:"asynchttp",title:"AsyncHttp",link:"https://github.com/AsyncHttpClient/async-http-client",description:"Asynchronous Http and WebSocket Client library for Java"},convert:({method:e,allHeaders:t,postData:r,fullUrl:n},o)=>{const s={indent:" ",...o},{blank:i,push:a,join:l}=new Fo({indent:s.indent});return a("AsyncHttpClient client = new DefaultAsyncHttpClient();"),a(`client.prepare("${e.toUpperCase()}", "${n}")`),Object.keys(t).forEach(c=>{a(`.setHeader("${c}", "${xs(t[c])}")`,1)}),r!=null&&r.text&&a(`.setBody(${JSON.stringify(r.text)})`,1),a(".execute()",1),a(".toCompletableFuture()",1),a(".thenAccept(System.out::println)",1),a(".join();",1),i(),a("client.close();"),l()}},vQ={target:"java",client:"asynchttp",title:"AsyncHttp",generate(e){return Ro(gQ,e)}},yQ={info:{key:"nethttp",title:"java.net.http",link:"https://openjdk.java.net/groups/net/httpclient/intro.html",description:"Java Standardized HTTP Client API"},convert:({allHeaders:e,fullUrl:t,method:r,postData:n},o)=>{const s={indent:" ",...o},{push:i,join:a}=new Fo({indent:s.indent});return i("HttpRequest request = HttpRequest.newBuilder()"),i(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach(l=>{i(`.header("${l}", "${xs(e[l])}")`,2)}),n!=null&&n.text?i(`.method("${r.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(n.text)}))`,2):i(`.method("${r.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),i(".build();",2),i("HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"),i("System.out.println(response.body());"),a()}},bQ={target:"java",client:"nethttp",title:"java.net.http",generate(e){return Ro(yQ,e)}},wQ={info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,method:t,fullUrl:r,allHeaders:n},o)=>{const s={indent:" ",...o},{push:i,blank:a,join:l}=new Fo({indent:s.indent}),c=["GET","POST","PUT","DELETE","PATCH","HEAD"],u=["POST","PUT","DELETE","PATCH"];return i("OkHttpClient client = new OkHttpClient();"),a(),e!=null&&(e.mimeType==="application/x-www-form-urlencoded"&&e.params?(i("FormBody formBody = new FormBody.Builder()"),e.params.forEach(d=>{i(`.addEncoded("${d.name}", "${d.value}")`,1)}),i(".build();",1),a()):e.mimeType==="multipart/form-data"&&e.params?(i("MultipartBody body = new MultipartBody.Builder()"),i(".setType(MultipartBody.FORM)",1),e.params.forEach(d=>{d.fileName!==void 0?i(`.addFormDataPart("${d.name}", "${d.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), new File("${d.fileName}")))`,1):d.value!==void 0&&i(`.addFormDataPart("${d.name}", "${d.value}")`,1)}),i(".build();",1),a()):(i(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),i(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`))),i("Request request = new Request.Builder()"),i(`.url("${r}")`,1),c.includes(t.toUpperCase())?u.includes(t.toUpperCase())?e!=null&&(e.text||e.params)?i(`.${t.toLowerCase()}(body)`,1):i(`.${t.toLowerCase()}(null)`,1):i(`.${t.toLowerCase()}()`,1):e!=null&&e.text?i(`.method("${t.toUpperCase()}", body)`,1):i(`.method("${t.toUpperCase()}", null)`,1),Object.keys(n).forEach(d=>{i(`.addHeader("${d}", "${xs(n[d])}")`,1)}),i(".build();",1),a(),i("Response response = client.newCall(request).execute();"),l()}},xQ={target:"java",client:"okhttp",title:"OkHttp",generate(e){return Ro(wQ,e)}},kQ={info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,allHeaders:t,postData:r,fullUrl:n},o)=>{const s={indent:" ",...o},{join:i,push:a}=new Fo({indent:s.indent});return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?a(`HttpResponse response = Unirest.${e.toLowerCase()}("${n}")`):a(`HttpResponse response = Unirest.customMethod("${e.toUpperCase()}","${n}")`),Object.keys(t).forEach(l=>{a(`.header("${l}", "${xs(t[l])}")`,1)}),r!=null&&r.text&&a(`.body(${JSON.stringify(r.text)})`,1),a(".asString();",1),i()}},jQ={target:"java",client:"unirest",title:"Unirest",generate(e){return Ro(kQ,e)}},{toString:_Q}=Object.prototype;function SQ(e){return _Q.call(e)==="[object RegExp]"}function CQ(e){const t=typeof e;return e!==null&&(t==="object"||t==="function")}const{propertyIsEnumerable:AQ}=Object.prototype;function EQ(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>AQ.call(e,t))]}const OQ=["await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","export","extends","false","finally","for","function","if","import","in","instanceof","new","null","return","super","switch","this","throw","true","try","typeof","var","void","while","with","yield","implements","interface","let","package","private","protected","public","static","arguments","eval"],$Q=["globalThis","Infinity","NaN","undefined"];function TQ({includeGlobalProperties:e=!1}={}){return new Set([...OQ,...e?$Q:[]])}const PQ=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*/u,hN=`(?e(...r);return Object.defineProperty(t,"name",{value:`functionTimeout(${e.name||""})`,configurable:!0}),t}const MO=typeof Worker<"u"?Worker:void 0;let NQ=class extends Error{constructor(t){super(t),this.name="TimeoutError"}},RQ=class extends Error{constructor(t){super(),this.name="AbortError",this.message=t}};const LO=e=>globalThis.DOMException===void 0?new RQ(e):new DOMException(e),NO=e=>{const t=e.reason===void 0?LO("This operation was aborted."):e.reason;return t instanceof Error?t:LO(t)};function BQ(e,t){const{milliseconds:r,fallback:n,message:o,customTimers:s={setTimeout,clearTimeout}}=t;let i,a;const l=new Promise((c,u)=>{if(typeof r!="number"||Math.sign(r)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${r}\``);if(t.signal){const{signal:p}=t;p.aborted&&u(NO(p)),a=()=>{u(NO(p))},p.addEventListener("abort",a,{once:!0})}if(r===Number.POSITIVE_INFINITY){e.then(c,u);return}const d=new NQ;i=s.setTimeout.call(void 0,()=>{if(n){try{c(n())}catch(p){u(p)}return}typeof e.cancel=="function"&&e.cancel(),o===!1?c():o instanceof Error?u(o):(d.message=o??`Promise timed out after ${r} milliseconds`,u(d))},r),(async()=>{try{c(await e)}catch(p){u(p)}})()}).finally(()=>{l.clear(),a&&t.signal&&t.signal.removeEventListener("abort",a)});return l.clear=()=>{s.clearTimeout.call(void 0,i),i=void 0},l}const qQ=e=>{const t=e.addEventListener||e.on||e.addListener,r=e.removeEventListener||e.off||e.removeListener;if(!t||!r)throw new TypeError("Emitter is not compatible");return{addListener:t.bind(e),removeListener:r.bind(e)}};function zQ(e,t,r){let n;const o=new Promise((s,i)=>{var f;if(r={rejectionEvents:["error"],multiArgs:!1,resolveImmediately:!1,...r},!(r.count>=0&&(r.count===Number.POSITIVE_INFINITY||Number.isInteger(r.count))))throw new TypeError("The `count` option should be at least 0 or more");(f=r.signal)==null||f.throwIfAborted();const a=[t].flat(),l=[],{addListener:c,removeListener:u}=qQ(e),d=(...m)=>{const v=r.multiArgs?m:m[0];r.filter&&!r.filter(v)||(l.push(v),r.count===l.length&&(n(),s(l)))},p=m=>{n(),i(m)};n=()=>{for(const m of a)u(m,d);for(const m of r.rejectionEvents)u(m,p)};for(const m of a)c(m,d);for(const m of r.rejectionEvents)c(m,p);r.signal&&r.signal.addEventListener("abort",()=>{p(r.signal.reason)},{once:!0}),r.resolveImmediately&&s(l)});if(o.cancel=n,typeof r.timeout=="number"){const s=BQ(o,{milliseconds:r.timeout});return s.cancel=n,s}return o}function qm(e,t,r){typeof r=="function"&&(r={filter:r}),r={...r,count:1,resolveImmediately:!1};const n=zQ(e,t,r),o=n.then(s=>s[0]);return o.cancel=n.cancel,o}var PL,IL;const FQ=!!((IL=(PL=globalThis.process)==null?void 0:PL.versions)!=null&&IL.node),VQ=e=>new globalThis.Blob([e],{type:"text/javascript"}),UQ=e=>`data:text/javascript;base64,${globalThis.Buffer.from(e).toString("base64")}`;function mN(e){let t,r;const n=()=>{t&&URL.revokeObjectURL(t),r==null||r.terminate()};return FQ?r=new MO(UQ(e),{type:"module"}):(t=URL.createObjectURL(VQ(e)),r=new MO(t,{type:"module"})),{worker:r,cleanup:n}}const HQ=e=>` +${a}`,s}},gQ={info:{key:"asynchttp",title:"AsyncHttp",link:"https://github.com/AsyncHttpClient/async-http-client",description:"Asynchronous Http and WebSocket Client library for Java"},convert:({method:e,allHeaders:t,postData:r,fullUrl:n},o)=>{const s={indent:" ",...o},{blank:i,push:a,join:l}=new Fo({indent:s.indent});return a("AsyncHttpClient client = new DefaultAsyncHttpClient();"),a(`client.prepare("${e.toUpperCase()}", "${n}")`),Object.keys(t).forEach(c=>{a(`.setHeader("${c}", "${xs(t[c])}")`,1)}),r!=null&&r.text&&a(`.setBody(${JSON.stringify(r.text)})`,1),a(".execute()",1),a(".toCompletableFuture()",1),a(".thenAccept(System.out::println)",1),a(".join();",1),i(),a("client.close();"),l()}},vQ={target:"java",client:"asynchttp",title:"AsyncHttp",generate(e){return Ro(gQ,e)}},yQ={info:{key:"nethttp",title:"java.net.http",link:"https://openjdk.java.net/groups/net/httpclient/intro.html",description:"Java Standardized HTTP Client API"},convert:({allHeaders:e,fullUrl:t,method:r,postData:n},o)=>{const s={indent:" ",...o},{push:i,join:a}=new Fo({indent:s.indent});return i("HttpRequest request = HttpRequest.newBuilder()"),i(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach(l=>{i(`.header("${l}", "${xs(e[l])}")`,2)}),n!=null&&n.text?i(`.method("${r.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(n.text)}))`,2):i(`.method("${r.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),i(".build();",2),i("HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"),i("System.out.println(response.body());"),a()}},bQ={target:"java",client:"nethttp",title:"java.net.http",generate(e){return Ro(yQ,e)}},wQ={info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,method:t,fullUrl:r,allHeaders:n},o)=>{const s={indent:" ",...o},{push:i,blank:a,join:l}=new Fo({indent:s.indent}),c=["GET","POST","PUT","DELETE","PATCH","HEAD"],u=["POST","PUT","DELETE","PATCH"];return i("OkHttpClient client = new OkHttpClient();"),a(),e!=null&&(e.mimeType==="application/x-www-form-urlencoded"&&e.params?(i("FormBody formBody = new FormBody.Builder()"),e.params.forEach(d=>{i(`.addEncoded("${d.name}", "${d.value}")`,1)}),i(".build();",1),a()):e.mimeType==="multipart/form-data"&&e.params?(i("MultipartBody body = new MultipartBody.Builder()"),i(".setType(MultipartBody.FORM)",1),e.params.forEach(d=>{d.fileName!==void 0?i(`.addFormDataPart("${d.name}", "${d.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), new File("${d.fileName}")))`,1):d.value!==void 0&&i(`.addFormDataPart("${d.name}", "${d.value}")`,1)}),i(".build();",1),a()):(i(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),i(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`))),i("Request request = new Request.Builder()"),i(`.url("${r}")`,1),c.includes(t.toUpperCase())?u.includes(t.toUpperCase())?e!=null&&(e.text||e.params)?i(`.${t.toLowerCase()}(body)`,1):i(`.${t.toLowerCase()}(null)`,1):i(`.${t.toLowerCase()}()`,1):e!=null&&e.text?i(`.method("${t.toUpperCase()}", body)`,1):i(`.method("${t.toUpperCase()}", null)`,1),Object.keys(n).forEach(d=>{i(`.addHeader("${d}", "${xs(n[d])}")`,1)}),i(".build();",1),a(),i("Response response = client.newCall(request).execute();"),l()}},xQ={target:"java",client:"okhttp",title:"OkHttp",generate(e){return Ro(wQ,e)}},kQ={info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,allHeaders:t,postData:r,fullUrl:n},o)=>{const s={indent:" ",...o},{join:i,push:a}=new Fo({indent:s.indent});return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?a(`HttpResponse response = Unirest.${e.toLowerCase()}("${n}")`):a(`HttpResponse response = Unirest.customMethod("${e.toUpperCase()}","${n}")`),Object.keys(t).forEach(l=>{a(`.header("${l}", "${xs(t[l])}")`,1)}),r!=null&&r.text&&a(`.body(${JSON.stringify(r.text)})`,1),a(".asString();",1),i()}},jQ={target:"java",client:"unirest",title:"Unirest",generate(e){return Ro(kQ,e)}},{toString:_Q}=Object.prototype;function SQ(e){return _Q.call(e)==="[object RegExp]"}function CQ(e){const t=typeof e;return e!==null&&(t==="object"||t==="function")}const{propertyIsEnumerable:AQ}=Object.prototype;function EQ(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>AQ.call(e,t))]}const OQ=["await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","export","extends","false","finally","for","function","if","import","in","instanceof","new","null","return","super","switch","this","throw","true","try","typeof","var","void","while","with","yield","implements","interface","let","package","private","protected","public","static","arguments","eval"],$Q=["globalThis","Infinity","NaN","undefined"];function TQ({includeGlobalProperties:e=!1}={}){return new Set([...OQ,...e?$Q:[]])}const PQ=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}]*/u,hL=`(?e(...r);return Object.defineProperty(t,"name",{value:`functionTimeout(${e.name||""})`,configurable:!0}),t}const MO=typeof Worker<"u"?Worker:void 0;let LQ=class extends Error{constructor(t){super(t),this.name="TimeoutError"}},RQ=class extends Error{constructor(t){super(),this.name="AbortError",this.message=t}};const NO=e=>globalThis.DOMException===void 0?new RQ(e):new DOMException(e),LO=e=>{const t=e.reason===void 0?NO("This operation was aborted."):e.reason;return t instanceof Error?t:NO(t)};function BQ(e,t){const{milliseconds:r,fallback:n,message:o,customTimers:s={setTimeout,clearTimeout}}=t;let i,a;const l=new Promise((c,u)=>{if(typeof r!="number"||Math.sign(r)!==1)throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${r}\``);if(t.signal){const{signal:p}=t;p.aborted&&u(LO(p)),a=()=>{u(LO(p))},p.addEventListener("abort",a,{once:!0})}if(r===Number.POSITIVE_INFINITY){e.then(c,u);return}const d=new LQ;i=s.setTimeout.call(void 0,()=>{if(n){try{c(n())}catch(p){u(p)}return}typeof e.cancel=="function"&&e.cancel(),o===!1?c():o instanceof Error?u(o):(d.message=o??`Promise timed out after ${r} milliseconds`,u(d))},r),(async()=>{try{c(await e)}catch(p){u(p)}})()}).finally(()=>{l.clear(),a&&t.signal&&t.signal.removeEventListener("abort",a)});return l.clear=()=>{s.clearTimeout.call(void 0,i),i=void 0},l}const qQ=e=>{const t=e.addEventListener||e.on||e.addListener,r=e.removeEventListener||e.off||e.removeListener;if(!t||!r)throw new TypeError("Emitter is not compatible");return{addListener:t.bind(e),removeListener:r.bind(e)}};function zQ(e,t,r){let n;const o=new Promise((s,i)=>{var f;if(r={rejectionEvents:["error"],multiArgs:!1,resolveImmediately:!1,...r},!(r.count>=0&&(r.count===Number.POSITIVE_INFINITY||Number.isInteger(r.count))))throw new TypeError("The `count` option should be at least 0 or more");(f=r.signal)==null||f.throwIfAborted();const a=[t].flat(),l=[],{addListener:c,removeListener:u}=qQ(e),d=(...m)=>{const v=r.multiArgs?m:m[0];r.filter&&!r.filter(v)||(l.push(v),r.count===l.length&&(n(),s(l)))},p=m=>{n(),i(m)};n=()=>{for(const m of a)u(m,d);for(const m of r.rejectionEvents)u(m,p)};for(const m of a)c(m,d);for(const m of r.rejectionEvents)c(m,p);r.signal&&r.signal.addEventListener("abort",()=>{p(r.signal.reason)},{once:!0}),r.resolveImmediately&&s(l)});if(o.cancel=n,typeof r.timeout=="number"){const s=BQ(o,{milliseconds:r.timeout});return s.cancel=n,s}return o}function qm(e,t,r){typeof r=="function"&&(r={filter:r}),r={...r,count:1,resolveImmediately:!1};const n=zQ(e,t,r),o=n.then(s=>s[0]);return o.cancel=n.cancel,o}var PN,IN;const FQ=!!((IN=(PN=globalThis.process)==null?void 0:PN.versions)!=null&&IN.node),VQ=e=>new globalThis.Blob([e],{type:"text/javascript"}),UQ=e=>`data:text/javascript;base64,${globalThis.Buffer.from(e).toString("base64")}`;function mL(e){let t,r;const n=()=>{t&&URL.revokeObjectURL(t),r==null||r.terminate()};return FQ?r=new MO(UQ(e),{type:"module"}):(t=URL.createObjectURL(VQ(e)),r=new MO(t,{type:"module"})),{worker:r,cleanup:n}}const HQ=e=>` globalThis.onmessage = async ({data: arguments_}) => { try { const output = await (${e.toString()})(...arguments_); @@ -81,7 +81,7 @@ ${a}`,s}},gQ={info:{key:"asynchttp",title:"AsyncHttp",link:"https://github.com/A globalThis.postMessage({error}); } }; - `;function gN(e){const t=HQ(e),r=()=>mN(t);async function n({worker:s,arguments_:i}){const a=qm(s,"message",{rejectionEvents:["error","messageerror"]});s.postMessage(i);const{data:{output:l,error:c}}=await a;if(c)throw c;return l}const o=async(...s)=>{const{worker:i,cleanup:a}=r();try{return await n({arguments_:s,worker:i})}finally{a()}};return o.withSignal=s=>async(...i)=>{s.throwIfAborted();const{worker:a,cleanup:l}=r(),c=qm(s,[],{rejectionEvents:["abort"]});try{return await Promise.race([n({arguments_:i,worker:a}),c])}catch(u){throw s.throwIfAborted(),u}finally{c.cancel(),l()}},o}const WQ=e=>` + `;function gL(e){const t=HQ(e),r=()=>mL(t);async function n({worker:s,arguments_:i}){const a=qm(s,"message",{rejectionEvents:["error","messageerror"]});s.postMessage(i);const{data:{output:l,error:c}}=await a;if(c)throw c;return l}const o=async(...s)=>{const{worker:i,cleanup:a}=r();try{return await n({arguments_:s,worker:i})}finally{a()}};return o.withSignal=s=>async(...i)=>{s.throwIfAborted();const{worker:a,cleanup:l}=r(),c=qm(s,[],{rejectionEvents:["abort"]});try{return await Promise.race([n({arguments_:i,worker:a}),c])}catch(u){throw s.throwIfAborted(),u}finally{c.cancel(),l()}},o}const WQ=e=>` const nothing = Symbol('nothing'); let iterator = nothing; @@ -97,7 +97,7 @@ ${a}`,s}},gQ={info:{key:"asynchttp",title:"AsyncHttp",link:"https://github.com/A globalThis.postMessage({error}); } }; - `;function GQ(e){const t=WQ(e),r=()=>mN(t),n=(...o)=>({async*[Symbol.asyncIterator](){const{worker:s,cleanup:i}=r();try{let a=!0;for(;;){const l=qm(s,"message",{rejectionEvents:["error","messageerror"]});s.postMessage(a?o:void 0),a=!1;const{data:{output:c,error:u}}=await l;if(u)throw u;const{value:d,done:p}=c;if(p)break;yield d}}finally{i()}}});return n.withSignal=o=>(...s)=>({async*[Symbol.asyncIterator](){o.throwIfAborted();const{worker:i,cleanup:a}=r(),l=qm(o,[],{rejectionEvents:["abort"]});try{let c=!0;for(;;){const u=Promise.race([qm(i,"message",{rejectionEvents:["error","messageerror"]}),l]);i.postMessage(c?s:void 0),c=!1;const{data:{output:d,error:p}}=await u;if(p)throw p;const{value:f,done:m}=d;if(m)break;yield f}}catch(c){throw o.throwIfAborted(),c}finally{l.cancel(),a()}}}),n}const JQ={},KQ=e=>{if(e===void 0||Number.isNaN(e))return;const t=Math.max(1,Math.trunc(Math.abs(e)));if(Number.isFinite(t))return t};function QQ(e,t,{timeout:r,throwOnTimeout:n}={}){try{return LQ(()=>structuredClone(e).test(t),{timeout:KQ(r),context:JQ})()}catch(o){throw o}}gN((e,t,r)=>new RegExp(e,t).test(r));gN((e,t,r)=>{const n=new RegExp(e,t).exec(r);if(n!==null)return{match:n[0],index:n.index,groups:n.slice(1),namedGroups:n.groups??{},input:n.input}});GQ(function*(e,t,r){const n=new RegExp(e,t),o=r.matchAll(n);for(const s of o)yield{match:s[0],index:s.index,groups:s.slice(1),namedGroups:s.groups??{},input:s.input}});const ZQ=MQ();function XQ(e){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\`.`);return e.length>1e5?!1:QQ(ZQ,e,{timeout:1e3})}const YQ={"\n":String.raw`\n`,"\r":String.raw`\r`," ":String.raw`\t`,"\b":String.raw`\b`,"\f":String.raw`\f`,"\v":String.raw`\v`,"\0":String.raw`\0`};function yw(e,t,r){const n=[];return function o(s,i={},a=""){const l=i.indent||" ";let c;i.inlineCharacterLimit===void 0?c={newline:` + `;function GQ(e){const t=WQ(e),r=()=>mL(t),n=(...o)=>({async*[Symbol.asyncIterator](){const{worker:s,cleanup:i}=r();try{let a=!0;for(;;){const l=qm(s,"message",{rejectionEvents:["error","messageerror"]});s.postMessage(a?o:void 0),a=!1;const{data:{output:c,error:u}}=await l;if(u)throw u;const{value:d,done:p}=c;if(p)break;yield d}}finally{i()}}});return n.withSignal=o=>(...s)=>({async*[Symbol.asyncIterator](){o.throwIfAborted();const{worker:i,cleanup:a}=r(),l=qm(o,[],{rejectionEvents:["abort"]});try{let c=!0;for(;;){const u=Promise.race([qm(i,"message",{rejectionEvents:["error","messageerror"]}),l]);i.postMessage(c?s:void 0),c=!1;const{data:{output:d,error:p}}=await u;if(p)throw p;const{value:f,done:m}=d;if(m)break;yield f}}catch(c){throw o.throwIfAborted(),c}finally{l.cancel(),a()}}}),n}const JQ={},KQ=e=>{if(e===void 0||Number.isNaN(e))return;const t=Math.max(1,Math.trunc(Math.abs(e)));if(Number.isFinite(t))return t};function QQ(e,t,{timeout:r,throwOnTimeout:n}={}){try{return NQ(()=>structuredClone(e).test(t),{timeout:KQ(r),context:JQ})()}catch(o){throw o}}gL((e,t,r)=>new RegExp(e,t).test(r));gL((e,t,r)=>{const n=new RegExp(e,t).exec(r);if(n!==null)return{match:n[0],index:n.index,groups:n.slice(1),namedGroups:n.groups??{},input:n.input}});GQ(function*(e,t,r){const n=new RegExp(e,t),o=r.matchAll(n);for(const s of o)yield{match:s[0],index:s.index,groups:s.slice(1),namedGroups:s.groups??{},input:s.input}});const ZQ=MQ();function XQ(e){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\`.`);return e.length>1e5?!1:QQ(ZQ,e,{timeout:1e3})}const YQ={"\n":String.raw`\n`,"\r":String.raw`\r`," ":String.raw`\t`,"\b":String.raw`\b`,"\f":String.raw`\f`,"\v":String.raw`\v`,"\0":String.raw`\0`};function yw(e,t,r){const n=[];return function o(s,i={},a=""){const l=i.indent||" ";let c;i.inlineCharacterLimit===void 0?c={newline:` `,newlineOrSpace:` `,pad:a,indent:a+l}:c={newline:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newlineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};const u=f=>{if(i.inlineCharacterLimit===void 0)return f;const m=f.replaceAll(c.newline,"").replaceAll(c.newlineOrSpace," ").replaceAll(c.pad,"").replaceAll(c.indent,"");return m.length<=i.inlineCharacterLimit?m:f.replaceAll(c.newline,` `).replaceAll(c.newlineOrSpace,` @@ -116,9 +116,9 @@ ${n}}`}function nZ(e,t){const r=" ".repeat(t);return e.split(` `,d.forEach(p=>{p.fileName!==void 0?r+=`formData.append('${p.name}', new Blob([]), '${p.fileName}') `:p.value!==void 0&&(r+=`formData.append('${p.name}', '${p.value}') `)}),r+=` -`,n.body=new Au("formData");else if(c==="application/x-www-form-urlencoded"&&d){const p=Object.fromEntries(d.map(f=>[f.name,f.value]));n.body=new Au(`new URLSearchParams(${ua(p)})`)}else n.body=t.postData.text}const i=Object.keys(n).length?`, ${ua(n)}`:"";return`${r}fetch('${t.url}${s}'${i})`}},sZ={info:{key:"jquery",title:"jQuery",link:"http://api.jquery.com/jquery.ajax/",description:"Perform an asynchronous HTTP (Ajax) requests with jQuery"},convert:({fullUrl:e,method:t,allHeaders:r,postData:n},o)=>{let s;const i={indent:" ",...o},{blank:a,push:l,join:c}=new Fo({indent:i.indent}),u={async:!0,crossDomain:!0,url:e,method:t,headers:r};switch(n==null?void 0:n.mimeType){case"application/x-www-form-urlencoded":u.data=n!=null&&n.paramsObj?n.paramsObj:n.text;break;case"application/json":u.processData=!1,u.data=n.text;break;case"multipart/form-data":if(!(n!=null&&n.params))break;if(l("const form = new FormData();"),n.params.forEach(p=>{l(`form.append('${p.name}', '${p.value||p.fileName||""}');`)}),u.processData=!1,u.contentType=!1,u.mimeType="multipart/form-data",u.data="[form]",uN(r,"content-type")&&!((s=tp(r,"content-type"))===null||s===void 0)&&s.includes("boundary")){const p=cc(r,"content-type");p&&delete u.headers[p]}a();break;default:n!=null&&n.text&&(u.data=n.text)}const d=yw(u,{indent:i.indent}).replace("'[form]'","form");return l(`const settings = ${d};`),a(),l("$.ajax(settings).done(function (response) {"),l("console.log(response);",1),l("});"),c()}},iZ={target:"js",client:"jquery",title:"jQuery",generate(e){return Ro(sZ,e)}},aZ={target:"js",client:"ofetch",title:"ofetch",generate(e){var o,s,i;const t={method:"GET",...e};t.method=t.method.toUpperCase();const r={method:t.method==="GET"?void 0:t.method};(o=t.queryString)!=null&&o.length&&(r.query=Object.fromEntries(t.queryString.map(a=>[a.name,a.value]))),(s=t.headers)!=null&&s.length&&(r.headers={},t.headers.forEach(a=>{r.headers[a.name]=a.value})),(i=t.cookies)!=null&&i.length&&(r.headers=r.headers||{},t.cookies.forEach(a=>{r.headers["Set-Cookie"]=r.headers["Set-Cookie"]?`${r.headers["Set-Cookie"]}; ${a.name}=${a.value}`:`${a.name}=${a.value}`})),Object.keys(r).forEach(a=>{r[a]===void 0&&delete r[a]}),t.postData&&(r.body=t.postData.text,t.postData.mimeType==="application/json"&&(r.body=JSON.parse(r.body)));const n=Object.keys(r).length?`, ${ua(r)}`:"";return`import { ofetch } from 'ofetch' +`,n.body=new Au("formData");else if(c==="application/x-www-form-urlencoded"&&d){const p=Object.fromEntries(d.map(f=>[f.name,f.value]));n.body=new Au(`new URLSearchParams(${ua(p)})`)}else n.body=t.postData.text}const i=Object.keys(n).length?`, ${ua(n)}`:"";return`${r}fetch('${t.url}${s}'${i})`}},sZ={info:{key:"jquery",title:"jQuery",link:"http://api.jquery.com/jquery.ajax/",description:"Perform an asynchronous HTTP (Ajax) requests with jQuery"},convert:({fullUrl:e,method:t,allHeaders:r,postData:n},o)=>{let s;const i={indent:" ",...o},{blank:a,push:l,join:c}=new Fo({indent:i.indent}),u={async:!0,crossDomain:!0,url:e,method:t,headers:r};switch(n==null?void 0:n.mimeType){case"application/x-www-form-urlencoded":u.data=n!=null&&n.paramsObj?n.paramsObj:n.text;break;case"application/json":u.processData=!1,u.data=n.text;break;case"multipart/form-data":if(!(n!=null&&n.params))break;if(l("const form = new FormData();"),n.params.forEach(p=>{l(`form.append('${p.name}', '${p.value||p.fileName||""}');`)}),u.processData=!1,u.contentType=!1,u.mimeType="multipart/form-data",u.data="[form]",uL(r,"content-type")&&!((s=tp(r,"content-type"))===null||s===void 0)&&s.includes("boundary")){const p=cc(r,"content-type");p&&delete u.headers[p]}a();break;default:n!=null&&n.text&&(u.data=n.text)}const d=yw(u,{indent:i.indent}).replace("'[form]'","form");return l(`const settings = ${d};`),a(),l("$.ajax(settings).done(function (response) {"),l("console.log(response);",1),l("});"),c()}},iZ={target:"js",client:"jquery",title:"jQuery",generate(e){return Ro(sZ,e)}},aZ={target:"js",client:"ofetch",title:"ofetch",generate(e){var o,s,i;const t={method:"GET",...e};t.method=t.method.toUpperCase();const r={method:t.method==="GET"?void 0:t.method};(o=t.queryString)!=null&&o.length&&(r.query=Object.fromEntries(t.queryString.map(a=>[a.name,a.value]))),(s=t.headers)!=null&&s.length&&(r.headers={},t.headers.forEach(a=>{r.headers[a.name]=a.value})),(i=t.cookies)!=null&&i.length&&(r.headers=r.headers||{},t.cookies.forEach(a=>{r.headers["Set-Cookie"]=r.headers["Set-Cookie"]?`${r.headers["Set-Cookie"]}; ${a.name}=${a.value}`:`${a.name}=${a.value}`})),Object.keys(r).forEach(a=>{r[a]===void 0&&delete r[a]}),t.postData&&(r.body=t.postData.text,t.postData.mimeType==="application/json"&&(r.body=JSON.parse(r.body)));const n=Object.keys(r).length?`, ${ua(r)}`:"";return`import { ofetch } from 'ofetch' -ofetch('${t.url}'${n})`}},lZ={info:{key:"xhr",title:"XMLHttpRequest",link:"https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest",description:"W3C Standard API that provides scripted client functionality"},convert:({postData:e,allHeaders:t,method:r,fullUrl:n},o)=>{let s;const i={indent:" ",cors:!0,...o},{blank:a,push:l,join:c}=new Fo({indent:i.indent});switch(e==null?void 0:e.mimeType){case"application/json":l(`const data = JSON.stringify(${yw(e==null?void 0:e.jsonObj,{indent:i.indent})});`),a();break;case"multipart/form-data":if(!(e!=null&&e.params))break;if(l("const data = new FormData();"),e.params.forEach(u=>{l(`data.append('${u.name}', '${u.value||u.fileName||""}');`)}),uN(t,"content-type")&&!((s=tp(t,"content-type"))===null||s===void 0)&&s.includes("boundary")){const u=cc(t,"content-type");u&&delete t[u]}a();break;default:l(`const data = ${e!=null&&e.text?`'${e.text}'`:"null"};`),a()}return l("const xhr = new XMLHttpRequest();"),i.cors&&l("xhr.withCredentials = true;"),a(),l("xhr.addEventListener('readystatechange', function () {"),l("if (this.readyState === this.DONE) {",1),l("console.log(this.responseText);",2),l("}",1),l("});"),a(),l(`xhr.open('${r}', '${n}');`),Object.keys(t).forEach(u=>{l(`xhr.setRequestHeader('${u}', '${pC(t[u])}');`)}),a(),l("xhr.send(data);"),c()}},cZ={target:"js",client:"xhr",title:"XHR",generate(e){return Ro(lZ,e)}},uZ={info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,fullUrl:t,method:r,allHeaders:n},o)=>{const s={indent:" ",...o},{blank:i,join:a,push:l}=new Fo({indent:s.indent}),c=["GET","POST","PUT","DELETE","PATCH","HEAD"],u=["POST","PUT","DELETE","PATCH"];return l("val client = OkHttpClient()"),i(),e!=null&&(e.mimeType==="application/x-www-form-urlencoded"&&e.params?(l("val formBody = FormBody.Builder()"),e.params.forEach(d=>{l(`.addEncoded("${d.name}", "${d.value}")`,1)}),l(".build()",1),i()):e.mimeType==="multipart/form-data"&&e.params?(l("val body = MultipartBody.Builder()"),l(".setType(MultipartBody.FORM)",1),e.params.forEach(d=>{d.fileName!==void 0?l(`.addFormDataPart("${d.name}", "${d.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), File("${d.fileName}")))`,1):d.value!==void 0&&l(`.addFormDataPart("${d.name}", "${d.value}")`,1)}),l(".build()",1),i()):(l(`val mediaType = MediaType.parse("${e.mimeType}")`),l(`val body = RequestBody.create(mediaType, ${JSON.stringify(e.text)})`))),l("val request = Request.Builder()"),l(`.url("${t}")`,1),c.includes(r.toUpperCase())?u.includes(r.toUpperCase())?e!=null&&(e.text||e.params)?l(`.${r.toLowerCase()}(body)`,1):l(`.${r.toLowerCase()}(null)`,1):l(`.${r.toLowerCase()}()`,1):e!=null&&e.text?l(`.method("${r.toUpperCase()}", body)`,1):l(`.method("${r.toUpperCase()}", null)`,1),Object.keys(n).forEach(d=>{l(`.addHeader("${d}", "${xs(n[d])}")`,1)}),l(".build()",1),i(),l("val response = client.newCall(request).execute()"),a()}},dZ={target:"kotlin",client:"okhttp",title:"OkHttp",generate(e){return Ro(uZ,e)}},pZ={info:{key:"axios",title:"Axios",link:"https://github.com/axios/axios",description:"Promise based HTTP client for the browser and node.js"},convert:({method:e,url:t,queryObj:r,allHeaders:n,postData:o},s)=>{const i={indent:" ",...s},{blank:a,join:l,push:c,addPostProcessor:u}=new Fo({indent:i.indent});c("const axios = require('axios').default;");const d={method:e,url:t};switch(Object.keys(r).length&&(d.params=r),Object.keys(n).length&&(d.headers=n),o==null?void 0:o.mimeType){case"application/x-www-form-urlencoded":o.params&&(c("const { URLSearchParams } = require('url');"),a(),c("const encodedParams = new URLSearchParams();"),o.params.forEach(f=>{c(`encodedParams.set('${f.name}', '${f.value}');`)}),a(),d.data="encodedParams,",u(f=>f.replace(/'encodedParams,'/,"encodedParams,")));break;case"application/json":a(),o!=null&&o.jsonObj&&(d.data=o.jsonObj);break;default:a(),o!=null&&o.text&&(d.data=o.text)}const p=yw(d,{indent:" ",inlineCharacterLimit:80});return c(`const options = ${p};`),a(),c("try {"),c("const { data } = await axios.request(options);",1),c("console.log(data);",1),c("} catch (error) {"),c("console.error(error);",1),c("}"),l()}},fZ={target:"node",client:"axios",title:"Axios",generate(e){return Ro(pZ,e)}},hZ={target:"node",client:"fetch",title:"Fetch",generate(e){var a,l;const t={method:"GET",...e};let r="";t.method=t.method.toUpperCase();const n={method:t.method==="GET"?void 0:t.method},o=fv(t.queryString),s=o.size?`?${o.toString()}`:"";if((a=t.headers)!=null&&a.length&&(n.headers={},t.headers.forEach(c=>{n.headers[c.name]=c.value})),(l=t.cookies)!=null&&l.length&&(n.headers=n.headers||{},t.cookies.forEach(c=>{n.headers["Set-Cookie"]=n.headers["Set-Cookie"]?`${n.headers["Set-Cookie"]}; ${c.name}=${c.value}`:`${c.name}=${c.value}`})),Object.keys(n).forEach(c=>{n[c]===void 0&&delete n[c]}),t.postData){const{mimeType:c,text:u,params:d}=t.postData;let p=!1;if(c==="application/json"&&u)try{n.body=new Au(`JSON.stringify(${ua(JSON.parse(u))})`)}catch{n.body=u}else if(c==="multipart/form-data"&&d)r=`const formData = new FormData() +ofetch('${t.url}'${n})`}},lZ={info:{key:"xhr",title:"XMLHttpRequest",link:"https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest",description:"W3C Standard API that provides scripted client functionality"},convert:({postData:e,allHeaders:t,method:r,fullUrl:n},o)=>{let s;const i={indent:" ",cors:!0,...o},{blank:a,push:l,join:c}=new Fo({indent:i.indent});switch(e==null?void 0:e.mimeType){case"application/json":l(`const data = JSON.stringify(${yw(e==null?void 0:e.jsonObj,{indent:i.indent})});`),a();break;case"multipart/form-data":if(!(e!=null&&e.params))break;if(l("const data = new FormData();"),e.params.forEach(u=>{l(`data.append('${u.name}', '${u.value||u.fileName||""}');`)}),uL(t,"content-type")&&!((s=tp(t,"content-type"))===null||s===void 0)&&s.includes("boundary")){const u=cc(t,"content-type");u&&delete t[u]}a();break;default:l(`const data = ${e!=null&&e.text?`'${e.text}'`:"null"};`),a()}return l("const xhr = new XMLHttpRequest();"),i.cors&&l("xhr.withCredentials = true;"),a(),l("xhr.addEventListener('readystatechange', function () {"),l("if (this.readyState === this.DONE) {",1),l("console.log(this.responseText);",2),l("}",1),l("});"),a(),l(`xhr.open('${r}', '${n}');`),Object.keys(t).forEach(u=>{l(`xhr.setRequestHeader('${u}', '${pC(t[u])}');`)}),a(),l("xhr.send(data);"),c()}},cZ={target:"js",client:"xhr",title:"XHR",generate(e){return Ro(lZ,e)}},uZ={info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,fullUrl:t,method:r,allHeaders:n},o)=>{const s={indent:" ",...o},{blank:i,join:a,push:l}=new Fo({indent:s.indent}),c=["GET","POST","PUT","DELETE","PATCH","HEAD"],u=["POST","PUT","DELETE","PATCH"];return l("val client = OkHttpClient()"),i(),e!=null&&(e.mimeType==="application/x-www-form-urlencoded"&&e.params?(l("val formBody = FormBody.Builder()"),e.params.forEach(d=>{l(`.addEncoded("${d.name}", "${d.value}")`,1)}),l(".build()",1),i()):e.mimeType==="multipart/form-data"&&e.params?(l("val body = MultipartBody.Builder()"),l(".setType(MultipartBody.FORM)",1),e.params.forEach(d=>{d.fileName!==void 0?l(`.addFormDataPart("${d.name}", "${d.fileName}", RequestBody.create(MediaType.parse("application/octet-stream"), File("${d.fileName}")))`,1):d.value!==void 0&&l(`.addFormDataPart("${d.name}", "${d.value}")`,1)}),l(".build()",1),i()):(l(`val mediaType = MediaType.parse("${e.mimeType}")`),l(`val body = RequestBody.create(mediaType, ${JSON.stringify(e.text)})`))),l("val request = Request.Builder()"),l(`.url("${t}")`,1),c.includes(r.toUpperCase())?u.includes(r.toUpperCase())?e!=null&&(e.text||e.params)?l(`.${r.toLowerCase()}(body)`,1):l(`.${r.toLowerCase()}(null)`,1):l(`.${r.toLowerCase()}()`,1):e!=null&&e.text?l(`.method("${r.toUpperCase()}", body)`,1):l(`.method("${r.toUpperCase()}", null)`,1),Object.keys(n).forEach(d=>{l(`.addHeader("${d}", "${xs(n[d])}")`,1)}),l(".build()",1),i(),l("val response = client.newCall(request).execute()"),a()}},dZ={target:"kotlin",client:"okhttp",title:"OkHttp",generate(e){return Ro(uZ,e)}},pZ={info:{key:"axios",title:"Axios",link:"https://github.com/axios/axios",description:"Promise based HTTP client for the browser and node.js"},convert:({method:e,url:t,queryObj:r,allHeaders:n,postData:o},s)=>{const i={indent:" ",...s},{blank:a,join:l,push:c,addPostProcessor:u}=new Fo({indent:i.indent});c("const axios = require('axios').default;");const d={method:e,url:t};switch(Object.keys(r).length&&(d.params=r),Object.keys(n).length&&(d.headers=n),o==null?void 0:o.mimeType){case"application/x-www-form-urlencoded":o.params&&(c("const { URLSearchParams } = require('url');"),a(),c("const encodedParams = new URLSearchParams();"),o.params.forEach(f=>{c(`encodedParams.set('${f.name}', '${f.value}');`)}),a(),d.data="encodedParams,",u(f=>f.replace(/'encodedParams,'/,"encodedParams,")));break;case"application/json":a(),o!=null&&o.jsonObj&&(d.data=o.jsonObj);break;default:a(),o!=null&&o.text&&(d.data=o.text)}const p=yw(d,{indent:" ",inlineCharacterLimit:80});return c(`const options = ${p};`),a(),c("try {"),c("const { data } = await axios.request(options);",1),c("console.log(data);",1),c("} catch (error) {"),c("console.error(error);",1),c("}"),l()}},fZ={target:"node",client:"axios",title:"Axios",generate(e){return Ro(pZ,e)}},hZ={target:"node",client:"fetch",title:"Fetch",generate(e){var a,l;const t={method:"GET",...e};let r="";t.method=t.method.toUpperCase();const n={method:t.method==="GET"?void 0:t.method},o=fv(t.queryString),s=o.size?`?${o.toString()}`:"";if((a=t.headers)!=null&&a.length&&(n.headers={},t.headers.forEach(c=>{n.headers[c.name]=c.value})),(l=t.cookies)!=null&&l.length&&(n.headers=n.headers||{},t.cookies.forEach(c=>{n.headers["Set-Cookie"]=n.headers["Set-Cookie"]?`${n.headers["Set-Cookie"]}; ${c.name}=${c.value}`:`${c.name}=${c.value}`})),Object.keys(n).forEach(c=>{n[c]===void 0&&delete n[c]}),t.postData){const{mimeType:c,text:u,params:d}=t.postData;let p=!1;if(c==="application/json"&&u)try{n.body=new Au(`JSON.stringify(${ua(JSON.parse(u))})`)}catch{n.body=u}else if(c==="multipart/form-data"&&d)r=`const formData = new FormData() `,d.forEach(f=>{f.fileName!==void 0?(p||(r=`import fs from 'node:fs' ${r}`,p=!0),r+=`formData.append('${f.name}', new Blob([fs.readFileSync('${f.fileName}')]), '${f.fileName}') @@ -129,7 +129,7 @@ ${r}`,p=!0),r+=`formData.append('${f.name}', new Blob([fs.readFileSync('${f.file ofetch('${t.url}'${n})`}},gZ={target:"node",client:"undici",title:"undici",generate(e){var i,a;const t={method:"GET",...e};t.method=t.method.toUpperCase();const r={method:t.method==="GET"?void 0:t.method},n=fv(t.queryString),o=n.size?`?${n.toString()}`:"";(i=t.headers)!=null&&i.length&&(r.headers={},t.headers.forEach(l=>{r.headers[l.name]=l.value})),(a=t.cookies)!=null&&a.length&&(r.headers=r.headers||{},t.cookies.forEach(l=>{r.headers["Set-Cookie"]=r.headers["Set-Cookie"]?`${r.headers["Set-Cookie"]}; ${l.name}=${l.value}`:`${l.name}=${l.value}`})),Object.keys(r).forEach(l=>{r[l]===void 0&&delete r[l]}),t.postData&&(r.body=t.postData.text,t.postData.mimeType==="application/json"&&(r.body=new Au(`JSON.stringify(${ua(JSON.parse(r.body))})`)));const s=Object.keys(r).length?`, ${ua(r)}`:"";return`import { request } from 'undici' const { statusCode, body } = await request('${t.url}${o}'${s})`}},rk=(e,t,r,n)=>{const o=`${e} *${t} = `,s=m_(r,n?o.length:void 0);return`${o}${s};`},m_=(e,t)=>{const r=t===void 0?", ":`, - ${" ".repeat(t)}`;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`;case"[object Array]":return`@[ ${e.map(n=>m_(n)).join(r)} ]`;case"[object Object]":{const n=[],o=e;for(const s in o)Object.hasOwn(o,s)&&n.push(`@"${s}": ${m_(o[s])}`);return`@{ ${n.join(r)} }`}case"[object Boolean]":return e?"@YES":"@NO";default:return e==null?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},vZ={info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,method:r,fullUrl:n},o)=>{let s;const i={indent:" ",pretty:!0,timeout:10,...o},{push:a,join:l,blank:c}=new Fo({indent:i.indent}),u={hasHeaders:!1,hasBody:!1};if(a("#import "),Object.keys(e).length&&(u.hasHeaders=!0,c(),a(rk("NSDictionary","headers",e,i.pretty))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(!((s=t.params)===null||s===void 0)&&s.length){c();const[d,...p]=t.params;a(`NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"${d.name}=${d.value}" dataUsingEncoding:NSUTF8StringEncoding]];`),p.forEach(({name:f,value:m})=>{a(`[postData appendData:[@"&${f}=${m}" dataUsingEncoding:NSUTF8StringEncoding]];`)})}else u.hasBody=!1;break;case"application/json":t.jsonObj&&(a(rk("NSDictionary","parameters",t.jsonObj,i.pretty)),c(),a("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"));break;case"multipart/form-data":a(rk("NSArray","parameters",t.params||[],i.pretty)),a(`NSString *boundary = @"${t.boundary}";`),c(),a("NSError *error;"),a("NSMutableString *body = [NSMutableString string];"),a("for (NSDictionary *param in parameters) {"),a('[body appendFormat:@"--%@\\r\\n", boundary];',1),a('if (param[@"fileName"]) {',1),a('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];',2),a('[body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];',2),a('[body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];',2),a("if (error) {",2),a('NSLog(@"%@", error);',3),a("}",2),a("} else {",1),a('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];',2),a('[body appendFormat:@"%@", param[@"value"]];',2),a("}",1),a("}"),a('[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];'),a("NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];");break;default:c(),a(`NSData *postData = [[NSData alloc] initWithData:[@"${t.text}" dataUsingEncoding:NSUTF8StringEncoding]];`)}return c(),a(`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"${n}"]`),a(" cachePolicy:NSURLRequestUseProtocolCachePolicy"),a(` timeoutInterval:${i.timeout.toFixed(1)}];`),a(`[request setHTTPMethod:@"${r}"];`),u.hasHeaders&&a("[request setAllHTTPHeaderFields:headers];"),u.hasBody&&a("[request setHTTPBody:postData];"),c(),a("NSURLSession *session = [NSURLSession sharedSession];"),a("NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request"),a(" completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"),a(" if (error) {",1),a(' NSLog(@"%@", error);',2),a(" } else {",1),a(" NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",2),a(' NSLog(@"%@", httpResponse);',2),a(" }",1),a(" }];"),a("[dataTask resume];"),l()}},yZ={target:"objc",client:"nsurlsession",title:"NSURLSession",generate(e){return Ro(vZ,e)}},bZ={info:{key:"cohttp",title:"CoHTTP",link:"https://github.com/mirage/ocaml-cohttp",description:"Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml"},convert:({fullUrl:e,allHeaders:t,postData:r,method:n},o)=>{const s={indent:" ",...o},i=["get","post","head","delete","patch","put","options"],{push:a,blank:l,join:c}=new Fo({indent:s.indent});a("open Cohttp_lwt_unix"),a("open Cohttp"),a("open Lwt"),l(),a(`let uri = Uri.of_string "${e}" in`);const u=Object.keys(t);u.length===1?a(`let headers = Header.add (Header.init ()) "${u[0]}" "${xs(t[u[0]])}" in`):u.length>1&&(a("let headers = Header.add_list (Header.init ()) ["),u.forEach(m=>{a(`("${m}", "${xs(t[m])}");`,1)}),a("] in")),r!=null&&r.text&&a(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(r.text)} in`),l();const d=u.length?"~headers ":"",p=r!=null&&r.text?"~body ":"",f=i.includes(n.toLowerCase())?`\`${n.toUpperCase()}`:`(Code.method_of_string "${n}")`;return a(`Client.call ${d}${p}${f} uri`),a(">>= fun (res, body_stream) ->"),a("(* Do stuff with the result *)",1),c()}},wZ={target:"ocaml",client:"cohttp",title:"Cohttp",generate(e){return Ro(bZ,e)}};function md(e){return" ".repeat(e*2)}let vN=class{constructor(t){this.value=t}};function ag(e,t=0){if(e==null)return"null";if(e instanceof vN){const r=e.value.split(` + ${" ".repeat(t)}`;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`;case"[object Array]":return`@[ ${e.map(n=>m_(n)).join(r)} ]`;case"[object Object]":{const n=[],o=e;for(const s in o)Object.hasOwn(o,s)&&n.push(`@"${s}": ${m_(o[s])}`);return`@{ ${n.join(r)} }`}case"[object Boolean]":return e?"@YES":"@NO";default:return e==null?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},vZ={info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,method:r,fullUrl:n},o)=>{let s;const i={indent:" ",pretty:!0,timeout:10,...o},{push:a,join:l,blank:c}=new Fo({indent:i.indent}),u={hasHeaders:!1,hasBody:!1};if(a("#import "),Object.keys(e).length&&(u.hasHeaders=!0,c(),a(rk("NSDictionary","headers",e,i.pretty))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(!((s=t.params)===null||s===void 0)&&s.length){c();const[d,...p]=t.params;a(`NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"${d.name}=${d.value}" dataUsingEncoding:NSUTF8StringEncoding]];`),p.forEach(({name:f,value:m})=>{a(`[postData appendData:[@"&${f}=${m}" dataUsingEncoding:NSUTF8StringEncoding]];`)})}else u.hasBody=!1;break;case"application/json":t.jsonObj&&(a(rk("NSDictionary","parameters",t.jsonObj,i.pretty)),c(),a("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"));break;case"multipart/form-data":a(rk("NSArray","parameters",t.params||[],i.pretty)),a(`NSString *boundary = @"${t.boundary}";`),c(),a("NSError *error;"),a("NSMutableString *body = [NSMutableString string];"),a("for (NSDictionary *param in parameters) {"),a('[body appendFormat:@"--%@\\r\\n", boundary];',1),a('if (param[@"fileName"]) {',1),a('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];',2),a('[body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];',2),a('[body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];',2),a("if (error) {",2),a('NSLog(@"%@", error);',3),a("}",2),a("} else {",1),a('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];',2),a('[body appendFormat:@"%@", param[@"value"]];',2),a("}",1),a("}"),a('[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];'),a("NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];");break;default:c(),a(`NSData *postData = [[NSData alloc] initWithData:[@"${t.text}" dataUsingEncoding:NSUTF8StringEncoding]];`)}return c(),a(`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"${n}"]`),a(" cachePolicy:NSURLRequestUseProtocolCachePolicy"),a(` timeoutInterval:${i.timeout.toFixed(1)}];`),a(`[request setHTTPMethod:@"${r}"];`),u.hasHeaders&&a("[request setAllHTTPHeaderFields:headers];"),u.hasBody&&a("[request setHTTPBody:postData];"),c(),a("NSURLSession *session = [NSURLSession sharedSession];"),a("NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request"),a(" completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"),a(" if (error) {",1),a(' NSLog(@"%@", error);',2),a(" } else {",1),a(" NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",2),a(' NSLog(@"%@", httpResponse);',2),a(" }",1),a(" }];"),a("[dataTask resume];"),l()}},yZ={target:"objc",client:"nsurlsession",title:"NSURLSession",generate(e){return Ro(vZ,e)}},bZ={info:{key:"cohttp",title:"CoHTTP",link:"https://github.com/mirage/ocaml-cohttp",description:"Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml"},convert:({fullUrl:e,allHeaders:t,postData:r,method:n},o)=>{const s={indent:" ",...o},i=["get","post","head","delete","patch","put","options"],{push:a,blank:l,join:c}=new Fo({indent:s.indent});a("open Cohttp_lwt_unix"),a("open Cohttp"),a("open Lwt"),l(),a(`let uri = Uri.of_string "${e}" in`);const u=Object.keys(t);u.length===1?a(`let headers = Header.add (Header.init ()) "${u[0]}" "${xs(t[u[0]])}" in`):u.length>1&&(a("let headers = Header.add_list (Header.init ()) ["),u.forEach(m=>{a(`("${m}", "${xs(t[m])}");`,1)}),a("] in")),r!=null&&r.text&&a(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(r.text)} in`),l();const d=u.length?"~headers ":"",p=r!=null&&r.text?"~body ":"",f=i.includes(n.toLowerCase())?`\`${n.toUpperCase()}`:`(Code.method_of_string "${n}")`;return a(`Client.call ${d}${p}${f} uri`),a(">>= fun (res, body_stream) ->"),a("(* Do stuff with the result *)",1),c()}},wZ={target:"ocaml",client:"cohttp",title:"Cohttp",generate(e){return Ro(bZ,e)}};function md(e){return" ".repeat(e*2)}let vL=class{constructor(t){this.value=t}};function ag(e,t=0){if(e==null)return"null";if(e instanceof vL){const r=e.value.split(` `);if(r.length>1){const n=md(t+1);return r.map((o,s)=>s===0?o:`${n}${o}`).join(` `)}return e.value}if(typeof e=="string")return`'${e.replace(/\\/g,"\\\\").replace(/'/g,"\\'")}'`;if(typeof e=="number"||typeof e=="boolean")return String(e);if(Array.isArray(e)){if(e.length===0)return"[]";const r=e.map(n=>ag(n,t+1)).join(`, `+md(t+1));return`[ @@ -140,9 +140,9 @@ ${md(t+1)}${n} ${md(t)}]`}return"null"}const xZ={target:"php",client:"curl",title:"cURL",generate(e,t){var l,c,u,d;const r={method:"GET",...e};r.method=r.method.toUpperCase();const n=[],o=(l=r.queryString)!=null&&l.length?"?"+r.queryString.map(p=>{const f=encodeURIComponent(p.name),m=encodeURIComponent(p.value);return`${f}=${m}`}).join("&"):"",s=`${r.url}${o}`;n.push(`$ch = curl_init("${s}");`),n.push(""),r.method==="POST"&&n.push("curl_setopt($ch, CURLOPT_POST, true);"),(c=t==null?void 0:t.auth)!=null&&c.username&&((u=t==null?void 0:t.auth)!=null&&u.password)&&n.push(`curl_setopt($ch, CURLOPT_USERPWD, '${t.auth.username}:${t.auth.password}');`);const i=[...r.headers||[]],a=()=>i.some(p=>p.name.toLowerCase()==="content-type");if(r.postData&&(r.postData.mimeType==="multipart/form-data"&&r.postData.params&&!a()?i.push({name:"Content-Type",value:"multipart/form-data"}):r.postData.mimeType==="application/x-www-form-urlencoded"&&r.postData.params&&!a()?i.push({name:"Content-Type",value:"application/x-www-form-urlencoded"}):r.postData.mimeType==="application/octet-stream"&&!a()&&i.push({name:"Content-Type",value:"application/octet-stream"})),i.length){const p=i.map(m=>`'${m.name}: ${m.value}'`);n.push(`curl_setopt($ch, CURLOPT_HTTPHEADER, [${p.join(", ")}]);`);const f=i.find(m=>m.name.toLowerCase()==="accept-encoding");f&&/gzip|deflate/.test(f.value)&&n.push("curl_setopt($ch, CURLOPT_ENCODING, '');")}if((d=r.cookies)!=null&&d.length){const p=r.cookies.map(f=>{const m=encodeURIComponent(f.name),v=encodeURIComponent(f.value);return`${m}=${v}`}).join("; ");n.push(`curl_setopt($ch, CURLOPT_COOKIE, '${p}');`)}if(r.postData){if(r.postData.mimeType==="application/json"){if(r.postData.text)try{const p=JSON.parse(r.postData.text),f=ag(p);n.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${f}));`)}catch{n.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${r.postData.text}');`)}}else if(r.postData.mimeType==="multipart/form-data"&&r.postData.params){const p=r.postData.params.reduce((f,m)=>(m.fileName!==void 0?f.push(`'${m.name}' => '@${m.fileName}'`):m.value!==void 0&&f.push(`'${m.name}' => '${m.value}'`),f),[]);n.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, [${p.join(", ")}]);`)}else if(r.postData.mimeType==="application/x-www-form-urlencoded"&&r.postData.params){const p=r.postData.params.map(f=>{const m=encodeURIComponent(f.name),v=f.value?encodeURIComponent(f.value):"";return`${m}=${v}`}).join("&");n.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${p}');`)}else if(r.postData.mimeType==="application/octet-stream")n.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${r.postData.text||""}');`);else if(r.postData.text)try{const p=JSON.parse(r.postData.text),f=ag(p);n.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode(${f}));`)}catch{n.push(`curl_setopt($ch, CURLOPT_POSTFIELDS, '${r.postData.text}');`)}}return n.push(""),n.push("curl_exec($ch);"),n.push(""),n.push("curl_close($ch);"),n.join(` `).replace(/\n\n\n/g,` -`)}},kZ={target:"php",client:"guzzle",title:"Guzzle",generate(e,t){var i;if(!e)return"";const r={},n=(e.method||"GET").toUpperCase(),o=e.url||"";if(e.headers&&Array.isArray(e.headers)&&e.headers.length>0){const a={};e.headers.forEach(l=>{a[l.name]===void 0?a[l.name]=l.value:Array.isArray(a[l.name])?a[l.name].push(l.value):a[l.name]=[a[l.name],l.value]}),r.headers=a}if(e.queryString&&e.queryString.length>0){const a={};e.queryString.forEach(l=>{a[l.name]=l.value}),r.query=a}if(e.cookies&&e.cookies.length>0){const a={};e.cookies.forEach(l=>{a[l.name]=l.value}),r.cookies=a}if((i=t==null?void 0:t.auth)!=null&&i.username&&t.auth.password&&(r.auth=[t.auth.username,t.auth.password]),e.postData)if(e.postData.mimeType==="application/json")try{r.json=JSON.parse(e.postData.text||"{}")}catch{r.body=e.postData.text}else if(e.postData.mimeType==="multipart/form-data"){if(e.postData.params)r.multipart=e.postData.params.map(a=>({name:a.name,contents:a.fileName?new vN(`fopen('${a.fileName}', 'r')`):a.value||""}));else if(e.postData.text)try{r.form_params=JSON.parse(e.postData.text)}catch{r.body=e.postData.text}}else if(e.postData.mimeType==="application/x-www-form-urlencoded"){if(e.postData.params){const a={};e.postData.params.forEach(l=>{a[l.name]=l.value||""}),r.form_params=a}}else r.body=e.postData.text;e.headers&&Array.isArray(e.headers)&&e.headers.some(a=>a.name==="Accept-Encoding"&&a.value.includes("gzip"))&&(r.decode_content=!0);let s=`$client = new GuzzleHttp\\Client(); +`)}},kZ={target:"php",client:"guzzle",title:"Guzzle",generate(e,t){var i;if(!e)return"";const r={},n=(e.method||"GET").toUpperCase(),o=e.url||"";if(e.headers&&Array.isArray(e.headers)&&e.headers.length>0){const a={};e.headers.forEach(l=>{a[l.name]===void 0?a[l.name]=l.value:Array.isArray(a[l.name])?a[l.name].push(l.value):a[l.name]=[a[l.name],l.value]}),r.headers=a}if(e.queryString&&e.queryString.length>0){const a={};e.queryString.forEach(l=>{a[l.name]=l.value}),r.query=a}if(e.cookies&&e.cookies.length>0){const a={};e.cookies.forEach(l=>{a[l.name]=l.value}),r.cookies=a}if((i=t==null?void 0:t.auth)!=null&&i.username&&t.auth.password&&(r.auth=[t.auth.username,t.auth.password]),e.postData)if(e.postData.mimeType==="application/json")try{r.json=JSON.parse(e.postData.text||"{}")}catch{r.body=e.postData.text}else if(e.postData.mimeType==="multipart/form-data"){if(e.postData.params)r.multipart=e.postData.params.map(a=>({name:a.name,contents:a.fileName?new vL(`fopen('${a.fileName}', 'r')`):a.value||""}));else if(e.postData.text)try{r.form_params=JSON.parse(e.postData.text)}catch{r.body=e.postData.text}}else if(e.postData.mimeType==="application/x-www-form-urlencoded"){if(e.postData.params){const a={};e.postData.params.forEach(l=>{a[l.name]=l.value||""}),r.form_params=a}}else r.body=e.postData.text;e.headers&&Array.isArray(e.headers)&&e.headers.some(a=>a.name==="Accept-Encoding"&&a.value.includes("gzip"))&&(r.decode_content=!0);let s=`$client = new GuzzleHttp\\Client(); -`;if(Object.keys(r).length>0){const a=ag(r);s+=`$response = $client->request('${n}', '${o}', ${a});`}else s+=`$response = $client->request('${n}', '${o}');`;return s}},yN=e=>({method:t,headersObj:r,cookies:n,uriObj:o,fullUrl:s,postData:i,allHeaders:a})=>{const{push:l,join:c}=new Fo;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";const u=[],d=Object.keys(r);return d.length&&(l("$headers=@{}"),d.forEach(p=>{p!=="connection"&&l(`$headers.Add("${p}", "${Sb(r[p],{escapeChar:"`"})}")`)}),u.push("-Headers $headers")),n.length&&(l("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),n.forEach(p=>{l("$cookie = New-Object System.Net.Cookie"),l(`$cookie.Name = '${p.name}'`),l(`$cookie.Value = '${p.value}'`),l(`$cookie.Domain = '${o.host}'`),l("$session.Cookies.Add($cookie)")}),u.push("-WebSession $session")),i!=null&&i.text&&(u.push(`-ContentType '${Sb(tp(a,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),u.push(`-Body '${i.text}'`)),l(`$response = ${e} -Uri '${s}' -Method ${t} ${u.join(" ")}`),c()},jZ={info:{key:"restmethod",title:"Invoke-RestMethod",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",description:"Powershell Invoke-RestMethod client"},convert:yN("Invoke-RestMethod")},_Z={target:"powershell",client:"restmethod",title:"Invoke-RestMethod",generate(e){return Ro(jZ,e)}},SZ={info:{key:"webrequest",title:"Invoke-WebRequest",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",description:"Powershell Invoke-WebRequest client"},convert:yN("Invoke-WebRequest")},CZ={target:"powershell",client:"webrequest",title:"Invoke-WebRequest",generate(e){return Ro(SZ,e)}},RO=40;function Xv(e){const t=[["true","True"],["false","False"],["null","None"]];let r=e;for(const[n,o]of t){const s=[`(: )${n}(?=,|\\n)`,`^( +)${n}(?=,|\\n)`];for(const i of s)r=r.replace(new RegExp(i,"gm"),`$1${o}`)}return r}function hC(e,t,r){var l,c,u,d,p,f;const n={url:"https://example.com",method:"get",...t},o=n.method.toLowerCase(),s={};if((l=n.headers)!=null&&l.length&&(s.headers=n.headers.reduce((m,v)=>(v.name in m||(m[v.name]=v.value),m),{})),(c=n.queryString)!=null&&c.length&&(s.params=Object.fromEntries(n.queryString.map(m=>[m.name,m.value]))),(u=n.cookies)!=null&&u.length&&(s.cookies=Object.fromEntries(n.cookies.map(m=>[m.name,m.value]))),(d=r==null?void 0:r.auth)!=null&&d.username&&((p=r==null?void 0:r.auth)!=null&&p.password)&&(s.auth=[r.auth.username,r.auth.password]),n.postData){const{mimeType:m,text:v,params:g}=n.postData;if(m==="application/json"&&v)try{s.json=JSON.parse(v)}catch{s.data=v}else if(m==="application/octet-stream"&&v)s.data=v;else if(m==="multipart/form-data"&&g){const y=[],b={};g.forEach(w=>{w.fileName!==void 0?y.push({key:w.name,file:`open("${w.fileName}", "rb")`}):w.value!==void 0&&(b[w.name]=w.value)}),Object.keys(y).length&&(s.files=y),Object.keys(b).length&&(s.data=b)}else m==="application/x-www-form-urlencoded"&&g&&(s.data=Object.fromEntries(g.map(y=>[y.name,y.value])))}const i=[],a=`"${n.url}"`;n.url.length>RO?i.push(a):i.push("");for(const[m,v]of Object.entries(s))if(m==="auth")i.push(`${m}=(${Xv(JSON.stringify(v[0]))}, ${Xv(JSON.stringify(v[1]))})`);else if(m==="files"){const g=`[ +`;if(Object.keys(r).length>0){const a=ag(r);s+=`$response = $client->request('${n}', '${o}', ${a});`}else s+=`$response = $client->request('${n}', '${o}');`;return s}},yL=e=>({method:t,headersObj:r,cookies:n,uriObj:o,fullUrl:s,postData:i,allHeaders:a})=>{const{push:l,join:c}=new Fo;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";const u=[],d=Object.keys(r);return d.length&&(l("$headers=@{}"),d.forEach(p=>{p!=="connection"&&l(`$headers.Add("${p}", "${Sb(r[p],{escapeChar:"`"})}")`)}),u.push("-Headers $headers")),n.length&&(l("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),n.forEach(p=>{l("$cookie = New-Object System.Net.Cookie"),l(`$cookie.Name = '${p.name}'`),l(`$cookie.Value = '${p.value}'`),l(`$cookie.Domain = '${o.host}'`),l("$session.Cookies.Add($cookie)")}),u.push("-WebSession $session")),i!=null&&i.text&&(u.push(`-ContentType '${Sb(tp(a,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),u.push(`-Body '${i.text}'`)),l(`$response = ${e} -Uri '${s}' -Method ${t} ${u.join(" ")}`),c()},jZ={info:{key:"restmethod",title:"Invoke-RestMethod",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",description:"Powershell Invoke-RestMethod client"},convert:yL("Invoke-RestMethod")},_Z={target:"powershell",client:"restmethod",title:"Invoke-RestMethod",generate(e){return Ro(jZ,e)}},SZ={info:{key:"webrequest",title:"Invoke-WebRequest",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",description:"Powershell Invoke-WebRequest client"},convert:yL("Invoke-WebRequest")},CZ={target:"powershell",client:"webrequest",title:"Invoke-WebRequest",generate(e){return Ro(SZ,e)}},RO=40;function Xv(e){const t=[["true","True"],["false","False"],["null","None"]];let r=e;for(const[n,o]of t){const s=[`(: )${n}(?=,|\\n)`,`^( +)${n}(?=,|\\n)`];for(const i of s)r=r.replace(new RegExp(i,"gm"),`$1${o}`)}return r}function hC(e,t,r){var l,c,u,d,p,f;const n={url:"https://example.com",method:"get",...t},o=n.method.toLowerCase(),s={};if((l=n.headers)!=null&&l.length&&(s.headers=n.headers.reduce((m,v)=>(v.name in m||(m[v.name]=v.value),m),{})),(c=n.queryString)!=null&&c.length&&(s.params=Object.fromEntries(n.queryString.map(m=>[m.name,m.value]))),(u=n.cookies)!=null&&u.length&&(s.cookies=Object.fromEntries(n.cookies.map(m=>[m.name,m.value]))),(d=r==null?void 0:r.auth)!=null&&d.username&&((p=r==null?void 0:r.auth)!=null&&p.password)&&(s.auth=[r.auth.username,r.auth.password]),n.postData){const{mimeType:m,text:v,params:g}=n.postData;if(m==="application/json"&&v)try{s.json=JSON.parse(v)}catch{s.data=v}else if(m==="application/octet-stream"&&v)s.data=v;else if(m==="multipart/form-data"&&g){const y=[],b={};g.forEach(w=>{w.fileName!==void 0?y.push({key:w.name,file:`open("${w.fileName}", "rb")`}):w.value!==void 0&&(b[w.name]=w.value)}),Object.keys(y).length&&(s.files=y),Object.keys(b).length&&(s.data=b)}else m==="application/x-www-form-urlencoded"&&g&&(s.data=Object.fromEntries(g.map(y=>[y.name,y.value])))}const i=[],a=`"${n.url}"`;n.url.length>RO?i.push(a):i.push("");for(const[m,v]of Object.entries(s))if(m==="auth")i.push(`${m}=(${Xv(JSON.stringify(v[0]))}, ${Xv(JSON.stringify(v[1]))})`);else if(m==="files"){const g=`[ `+v.map(({key:y,file:b})=>` ("${y}", ${b})`).join(`, `)+` ]`;i.push(`${m}=${g}`)}else if(m==="json"){const g=Xv(JSON.stringify(v,null,2).split(` @@ -158,10 +158,10 @@ ${md(t)}]`}return"null"}const xZ={target:"php",client:"curl",title:"cURL",genera )`}const AZ={target:"python",client:"httpx_async",title:"HTTPX (Async)",generate(e,t){let r=hC("await client",e,t);return r=r.split(` `).map(n=>n.trim()===""?n:" "+n).join(` `),`async with httpx.AsyncClient() as client: -${r}`}},EZ={target:"python",client:"httpx_sync",title:"HTTPX (Sync)",generate(e,t){return hC("httpx",e,t)}},OZ={info:{key:"python3",title:"http.client",link:"https://docs.python.org/3/library/http.client.html",description:"Python3 HTTP Client"},convert:({uriObj:{path:e,protocol:t,host:r},postData:n,allHeaders:o,method:s},i={})=>{const{insecureSkipVerify:a=!1}=i,{push:l,blank:c,join:u}=new Fo;l("import http.client"),a&&l("import ssl"),c(),t==="https:"?(l(`conn = http.client.HTTPSConnection("${r}"${a?", context = ssl._create_unverified_context()":""})`),c()):(l(`conn = http.client.HTTPConnection("${r}")`),c());const d=JSON.stringify(n==null?void 0:n.text);d&&(l(`payload = ${d}`),c());const p=o,f=Object.keys(p).length;if(f===1)for(const m in p)l(`headers = { '${m}': "${xs(p[m])}" }`),c();else if(f>1){let m=1;l("headers = {");for(const v in p)m++!==f?l(` '${v}': "${xs(p[v])}",`):l(` '${v}': "${xs(p[v])}"`);l("}"),c()}return l(d&&f?`conn.request("${s}", "${e}", payload, headers)`:d&&!f?`conn.request("${s}", "${e}", payload)`:!d&&f?`conn.request("${s}", "${e}", headers=headers)`:`conn.request("${s}", "${e}")`),c(),l("res = conn.getresponse()"),l("data = res.read()"),c(),l('print(data.decode("utf-8"))'),u()}},$Z={target:"python",client:"python3",title:"http.client",generate(e){return Ro(OZ,e)}},TZ={target:"python",client:"requests",title:"Requests",generate(e,t){return hC("requests",e,t)}},PZ={info:{key:"httr",title:"httr",link:"https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html",description:"httr: Tools for Working with URLs and HTTP"},convert:({url:e,queryObj:t,queryString:r,postData:n,allHeaders:o,method:s},i={})=>{let a,l;const{push:c,blank:u,join:d}=new Fo({indent:(a=i.indent)!==null&&a!==void 0?a:" "});c("library(httr)"),u(),c(`url <- "${e}"`),u();const p=t;delete t.key;const f=Object.entries(p),m=f.length;if(m===1){const A=f[0];c(`queryString <- list(${A[0]} = "${A[1]}")`),u()}else m>1&&(c("queryString <- list("),f.forEach(([A,I],M)=>{const N=M!==m-1?",":"";c(`${A} = "${I}"${N}`,1)}),c(")"),u());const v=JSON.stringify(n==null?void 0:n.text);if(v&&(c(`payload <- ${v}`),u()),n&&(n.text||n.jsonObj||n.params))switch(n.mimeType){case"application/x-www-form-urlencoded":c('encode <- "form"'),u();break;case"application/json":c('encode <- "json"'),u();break;case"multipart/form-data":c('encode <- "multipart"'),u();break;default:c('encode <- "raw"'),u();break}const g=tp(o,"cookie"),y=tp(o,"accept"),b=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,w=y?`accept("${xs(y)}")`:void 0,k=`content_type("${xs((l=n==null?void 0:n.mimeType)!==null&&l!==void 0?l:"application/octet-stream")}")`,x=Object.entries(o).filter(([A])=>!["cookie","accept","content-type"].includes(A.toLowerCase())).map(([A,I])=>`'${A}' = '${pC(I)}'`).join(", "),j=x?`add_headers(${x})`:void 0;let _=`response <- VERB("${s}", url`;v&&(_+=", body = payload"),r.length&&(_+=", query = queryString");const C=[j,k,w,b].filter(A=>!!A).join(", ");return C&&(_+=`, ${C}`),n&&(n.text||n.jsonObj||n.params)&&(_+=", encode = encode"),_+=")",c(_),u(),c('content(response, "text")'),d()}},IZ={target:"r",client:"httr",title:"httr",generate(e){return Ro(PZ,e)}},DZ={info:{key:"native",title:"net::http",link:"http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html",description:"Ruby HTTP client"},convert:({uriObj:e,method:t,fullUrl:r,postData:n,allHeaders:o},s={})=>{const{insecureSkipVerify:i=!1}=s,{push:a,blank:l,join:c}=new Fo;a("require 'uri'"),a("require 'net/http'"),l();const u=t.toUpperCase(),d=["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"],p=u.charAt(0)+u.substring(1).toLowerCase();d.includes(u)||(a(`class Net::HTTP::${p} < Net::HTTPRequest`),a(` METHOD = '${u.toUpperCase()}'`),a(` REQUEST_HAS_BODY = '${n!=null&&n.text?"true":"false"}'`),a(" RESPONSE_HAS_BODY = true"),a("end"),l()),a(`url = URI("${r}")`),l(),a("http = Net::HTTP.new(url.host, url.port)"),e.protocol==="https:"&&(a("http.use_ssl = true"),i&&a("http.verify_mode = OpenSSL::SSL::VERIFY_NONE")),l(),a(`request = Net::HTTP::${p}.new(url)`);const f=Object.keys(o);return f.length&&f.forEach(m=>{a(`request["${m}"] = '${pC(o[m])}'`)}),n!=null&&n.text&&a(`request.body = ${JSON.stringify(n.text)}`),l(),a("response = http.request(request)"),a("puts response.read_body"),c()}},MZ={target:"ruby",client:"native",title:"net::http",generate(e){return Ro(DZ,e)}};function LZ(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\0/g,"\\0")}function vi(e){return`"${LZ(e)}"`}function Ia(e,t){return`${" ".repeat(e*4)}${t}`}function zm(e,...t){return Ia(1,`.${e}(${t.join(", ")})`)}function NZ(e){try{const t=JSON.parse(e),r=JSON.stringify(t,null,4).split(` +${r}`}},EZ={target:"python",client:"httpx_sync",title:"HTTPX (Sync)",generate(e,t){return hC("httpx",e,t)}},OZ={info:{key:"python3",title:"http.client",link:"https://docs.python.org/3/library/http.client.html",description:"Python3 HTTP Client"},convert:({uriObj:{path:e,protocol:t,host:r},postData:n,allHeaders:o,method:s},i={})=>{const{insecureSkipVerify:a=!1}=i,{push:l,blank:c,join:u}=new Fo;l("import http.client"),a&&l("import ssl"),c(),t==="https:"?(l(`conn = http.client.HTTPSConnection("${r}"${a?", context = ssl._create_unverified_context()":""})`),c()):(l(`conn = http.client.HTTPConnection("${r}")`),c());const d=JSON.stringify(n==null?void 0:n.text);d&&(l(`payload = ${d}`),c());const p=o,f=Object.keys(p).length;if(f===1)for(const m in p)l(`headers = { '${m}': "${xs(p[m])}" }`),c();else if(f>1){let m=1;l("headers = {");for(const v in p)m++!==f?l(` '${v}': "${xs(p[v])}",`):l(` '${v}': "${xs(p[v])}"`);l("}"),c()}return l(d&&f?`conn.request("${s}", "${e}", payload, headers)`:d&&!f?`conn.request("${s}", "${e}", payload)`:!d&&f?`conn.request("${s}", "${e}", headers=headers)`:`conn.request("${s}", "${e}")`),c(),l("res = conn.getresponse()"),l("data = res.read()"),c(),l('print(data.decode("utf-8"))'),u()}},$Z={target:"python",client:"python3",title:"http.client",generate(e){return Ro(OZ,e)}},TZ={target:"python",client:"requests",title:"Requests",generate(e,t){return hC("requests",e,t)}},PZ={info:{key:"httr",title:"httr",link:"https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html",description:"httr: Tools for Working with URLs and HTTP"},convert:({url:e,queryObj:t,queryString:r,postData:n,allHeaders:o,method:s},i={})=>{let a,l;const{push:c,blank:u,join:d}=new Fo({indent:(a=i.indent)!==null&&a!==void 0?a:" "});c("library(httr)"),u(),c(`url <- "${e}"`),u();const p=t;delete t.key;const f=Object.entries(p),m=f.length;if(m===1){const A=f[0];c(`queryString <- list(${A[0]} = "${A[1]}")`),u()}else m>1&&(c("queryString <- list("),f.forEach(([A,I],M)=>{const L=M!==m-1?",":"";c(`${A} = "${I}"${L}`,1)}),c(")"),u());const v=JSON.stringify(n==null?void 0:n.text);if(v&&(c(`payload <- ${v}`),u()),n&&(n.text||n.jsonObj||n.params))switch(n.mimeType){case"application/x-www-form-urlencoded":c('encode <- "form"'),u();break;case"application/json":c('encode <- "json"'),u();break;case"multipart/form-data":c('encode <- "multipart"'),u();break;default:c('encode <- "raw"'),u();break}const g=tp(o,"cookie"),y=tp(o,"accept"),b=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,w=y?`accept("${xs(y)}")`:void 0,k=`content_type("${xs((l=n==null?void 0:n.mimeType)!==null&&l!==void 0?l:"application/octet-stream")}")`,x=Object.entries(o).filter(([A])=>!["cookie","accept","content-type"].includes(A.toLowerCase())).map(([A,I])=>`'${A}' = '${pC(I)}'`).join(", "),j=x?`add_headers(${x})`:void 0;let _=`response <- VERB("${s}", url`;v&&(_+=", body = payload"),r.length&&(_+=", query = queryString");const C=[j,k,w,b].filter(A=>!!A).join(", ");return C&&(_+=`, ${C}`),n&&(n.text||n.jsonObj||n.params)&&(_+=", encode = encode"),_+=")",c(_),u(),c('content(response, "text")'),d()}},IZ={target:"r",client:"httr",title:"httr",generate(e){return Ro(PZ,e)}},DZ={info:{key:"native",title:"net::http",link:"http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html",description:"Ruby HTTP client"},convert:({uriObj:e,method:t,fullUrl:r,postData:n,allHeaders:o},s={})=>{const{insecureSkipVerify:i=!1}=s,{push:a,blank:l,join:c}=new Fo;a("require 'uri'"),a("require 'net/http'"),l();const u=t.toUpperCase(),d=["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"],p=u.charAt(0)+u.substring(1).toLowerCase();d.includes(u)||(a(`class Net::HTTP::${p} < Net::HTTPRequest`),a(` METHOD = '${u.toUpperCase()}'`),a(` REQUEST_HAS_BODY = '${n!=null&&n.text?"true":"false"}'`),a(" RESPONSE_HAS_BODY = true"),a("end"),l()),a(`url = URI("${r}")`),l(),a("http = Net::HTTP.new(url.host, url.port)"),e.protocol==="https:"&&(a("http.use_ssl = true"),i&&a("http.verify_mode = OpenSSL::SSL::VERIFY_NONE")),l(),a(`request = Net::HTTP::${p}.new(url)`);const f=Object.keys(o);return f.length&&f.forEach(m=>{a(`request["${m}"] = '${pC(o[m])}'`)}),n!=null&&n.text&&a(`request.body = ${JSON.stringify(n.text)}`),l(),a("response = http.request(request)"),a("puts response.read_body"),c()}},MZ={target:"ruby",client:"native",title:"net::http",generate(e){return Ro(DZ,e)}};function NZ(e){return e.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t").replace(/\0/g,"\\0")}function vi(e){return`"${NZ(e)}"`}function Ia(e,t){return`${" ".repeat(e*4)}${t}`}function zm(e,...t){return Ia(1,`.${e}(${t.join(", ")})`)}function LZ(e){try{const t=JSON.parse(e),r=JSON.stringify(t,null,4).split(` `);return r.map((n,o)=>o===0?n:(r.length-1,Ia(1,n))).join(` `)}catch{return e}}const RZ={target:"rust",client:"reqwest",title:"reqwest",generate(e,t){if(!e)return"";const r=TK(e),n=PK(r.queryString),o=IK(r.url||"",n),s=DK(r),i=[],a=qZ(t==null?void 0:t.auth);a&&i.push(a),i.push(...zZ(s));const l=FZ(r.postData);return l&&i.push(l),VZ(o,r.method,i)}},BZ=e=>e.fileName?[Ia(2,`let part = reqwest::multipart::Part::text(${vi(e.value||"")})`),Ia(3,`.file_name(${vi(e.fileName)});`),Ia(2,`form = form.part(${vi(e.name)}, part);`)].join(` -`):Ia(2,`form = form.text(${vi(e.name)}, ${vi(e.value||"")});`),qZ=e=>!(e!=null&&e.username)||!(e!=null&&e.password)?null:zm("basic_auth",vi(e.username),vi(e.password)),zZ=e=>Object.entries(e).map(([t,r])=>zm("header",vi(t),vi(r))),FZ=e=>{if(!e)return null;const{mimeType:t,text:r,params:n}=e;switch(t){case"application/json":{const o=NZ(r);return zm("json",`&serde_json::json!(${o})`)}case"application/x-www-form-urlencoded":{const o=(n==null?void 0:n.map(s=>`(${vi(s.name)}, ${vi(s.value||"")})`).join(", "))||"";return zm("form",`&[${o}]`)}case"multipart/form-data":{const o=(n==null?void 0:n.map(BZ).join(` +`):Ia(2,`form = form.text(${vi(e.name)}, ${vi(e.value||"")});`),qZ=e=>!(e!=null&&e.username)||!(e!=null&&e.password)?null:zm("basic_auth",vi(e.username),vi(e.password)),zZ=e=>Object.entries(e).map(([t,r])=>zm("header",vi(t),vi(r))),FZ=e=>{if(!e)return null;const{mimeType:t,text:r,params:n}=e;switch(t){case"application/json":{const o=LZ(r);return zm("json",`&serde_json::json!(${o})`)}case"application/x-www-form-urlencoded":{const o=(n==null?void 0:n.map(s=>`(${vi(s.name)}, ${vi(s.value||"")})`).join(", "))||"";return zm("form",`&[${o}]`)}case"multipart/form-data":{const o=(n==null?void 0:n.map(BZ).join(` `))||"",s=[".multipart({",Ia(2,"let mut form = reqwest::multipart::Form::new();"),o,Ia(3,"form"),Ia(2,"})")].join(` `);return Ia(1,s)}default:return zm("body",vi(r||""))}},VZ=(e,t,r)=>{const n=["let client = reqwest::Client::new();",""];r.length>0?(n.push("let request = client"),n.push(Ia(1,`.${t.toLowerCase()}(${vi(e)})`)),n.push(...r)):n.push(`let request = client.${t.toLowerCase()}(${vi(e)})`);const o=n[n.length-1];return n[n.length-1]=o+";",n.push(""),n.push("let response = request.send().await?;"),n.join(` `)},Ci=e=>e.replace(/'/g,"'\\''"),UZ={target:"shell",client:"curl",title:"Curl",generate(e,t){var l,c,u,d,p;const r={method:"GET",...e};r.method=r.method.toUpperCase();const n=["curl"],o=(l=r.queryString)!=null&&l.length?"?"+r.queryString.map(f=>{const m=encodeURIComponent(f.name),v=encodeURIComponent(f.value);return`${m}=${v}`}).join("&"):"",s=`${r.url}${o}`,i=/[\s<>[\]{}|\\^%$]/.test(s),a=o||i?`'${s}'`:s;if(n[0]=`curl ${a}`,r.method!=="GET"&&n.push(`--request ${r.method}`),((c=t==null?void 0:t.auth)==null?void 0:c.username)&&((u=t==null?void 0:t.auth)==null?void 0:u.password)){const f=Ci(`${t.auth.username}:${t.auth.password}`);n.push(`--user '${f}'`)}if((d=r.headers)!=null&&d.length){r.headers.forEach(m=>{const v=Ci(`${m.name}: ${m.value}`);n.push(`--header '${v}'`)});const f=r.headers.find(m=>m.name.toLowerCase()==="accept-encoding");f&&/gzip|deflate/.test(f.value)&&n.push("--compressed")}if((p=r.cookies)!=null&&p.length){const f=r.cookies.map(v=>{const g=encodeURIComponent(v.name),y=encodeURIComponent(v.value);return`${g}=${y}`}).join("; "),m=Ci(f);n.push(`--cookie '${m}'`)}if(r.postData)if(r.postData.mimeType==="application/json"){if(r.postData.text)try{const f=JSON.parse(r.postData.text),m=JSON.stringify(f,null,2),v=Ci(m);n.push(`--data '${v}'`)}catch{const f=Ci(r.postData.text??"");n.push(`--data '${f}'`)}}else if(r.postData.mimeType==="application/octet-stream"){const f=Ci(r.postData.text??"");n.push(`--data-binary '${f}'`)}else if(r.postData.mimeType==="application/x-www-form-urlencoded"&&r.postData.params)r.postData.params.forEach(f=>{const m=Ci(f.value??""),v=encodeURIComponent(f.name),g=Ci(v);n.push(`--data-urlencode '${g}=${m}'`)});else if(r.postData.mimeType==="multipart/form-data"&&r.postData.params)r.postData.params.forEach(f=>{const m=Ci(f.name);if(f.fileName!==void 0){const v=Ci(f.fileName);n.push(`--form '${m}=@${v}'`)}else{const v=Ci(f.value??"");n.push(`--form '${m}=${v}'`)}});else try{const f=JSON.parse(r.postData.text??""),m=JSON.stringify(f,null,2),v=Ci(m);n.push(`--data '${v}'`)}catch{const f=Ci(r.postData.text??"");n.push(`--data '${f}'`)}return n.join(` \\ @@ -170,27 +170,27 @@ ${a.indent}`:" "});let d=!1;const p=[];a.headers&&p.push(a.short?"-h":"--headers ${s.indent}`:" "});return s.verbose?i(`wget ${s.short?"-v":"--verbose"}`):i(`wget ${s.short?"-q":"--quiet"}`),i(`--method ${Xi(e)}`),Object.keys(r).forEach(l=>{const c=`${l}: ${r[l]}`;i(`--header ${Xi(c)}`)}),t!=null&&t.text&&i(`--body-data ${HZ(Xi(t.text))}`),i(s.short?"-O":"--output-document"),i(`- ${Xi(n)}`),a()}},KZ={target:"shell",client:"wget",title:"Wget",generate(e){return Ro(JZ,e)}},BO=(e,t)=>t.repeat(e),qO=(e,t,r,n)=>{const o=BO(n,r),s=BO(n-1,r),i=t?`, ${o}`:", ";return t?`[ ${o}${e.join(i)} -${s}]`:`[${e.join(i)}]`},nk=(e,t,r)=>`let ${e} = ${g_(t,r)}`,g_=(e,t,r)=>{const n=r===void 0?1:r+1;switch(Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":{let o=!1;const s=e.map(i=>(Object.prototype.toString.call(i)==="[object Object]"&&(o=Object.keys(i).length>1),g_(i,t,n)));return qO(s,o,t.indent,n)}case"[object Object]":{const o=[],s=e;for(const i in s)Object.hasOwn(s,i)&&o.push(`"${i}": ${g_(s[i],t,n)}`);return qO(o,t.pretty&&o.length>1,t.indent,n)}case"[object Boolean]":return e.toString();default:return e==null?"":`"${e.toString().replace(/"/g,'\\"')}"`}},QZ={info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,fullUrl:r,method:n},o)=>{let s;const i={indent:" ",pretty:!0,timeout:"10",...o},{push:a,blank:l,join:c}=new Fo({indent:i.indent}),u={hasHeaders:!1,hasBody:!1};if(a("import Foundation"),Object.keys(e).length&&(u.hasHeaders=!0,l(),a(nk("headers",e,i))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(l(),!((s=t.params)===null||s===void 0)&&s.length){const[d,...p]=t.params;a(`let postData = NSMutableData(data: "${d.name}=${d.value}".data(using: String.Encoding.utf8)!)`),p.forEach(({name:f,value:m})=>{a(`postData.append("&${f}=${m}".data(using: String.Encoding.utf8)!)`)})}else u.hasBody=!1;break;case"application/json":t.jsonObj&&(a(`${nk("parameters",t.jsonObj,i)} as [String : Any]`),l(),a("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])"));break;case"multipart/form-data":a(nk("parameters",t.params,i)),l(),a(`let boundary = "${t.boundary}"`),l(),a('var body = ""'),a("var error: NSError? = nil"),a("for param in parameters {"),a('let paramName = param["name"]!',1),a('body += "--\\(boundary)\\r\\n"',1),a('body += "Content-Disposition:form-data; name=\\"\\(paramName)\\""',1),a('if let filename = param["fileName"] {',1),a('let contentType = param["content-type"]!',2),a("let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)",2),a("if (error != nil) {",2),a("print(error as Any)",3),a("}",2),a('body += "; filename=\\"\\(filename)\\"\\r\\n"',2),a('body += "Content-Type: \\(contentType)\\r\\n\\r\\n"',2),a("body += fileContent",2),a('} else if let paramValue = param["value"] {',1),a('body += "\\r\\n\\r\\n\\(paramValue)"',2),a("}",1),a("}");break;default:l(),a(`let postData = NSData(data: "${t.text}".data(using: String.Encoding.utf8)!)`)}return l(),a(`let request = NSMutableURLRequest(url: NSURL(string: "${r}")! as URL,`),a(" cachePolicy: .useProtocolCachePolicy,"),a(` timeoutInterval: ${Number.parseInt(i.timeout,10).toFixed(1)})`),a(`request.httpMethod = "${n}"`),u.hasHeaders&&a("request.allHTTPHeaderFields = headers"),u.hasBody&&a("request.httpBody = postData as Data"),l(),a("let session = URLSession.shared"),a("let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in"),a("if (error != nil) {",1),a("print(error as Any)",2),a("} else {",1),a("let httpResponse = response as? HTTPURLResponse",2),a("print(httpResponse)",2),a("}",1),a("})"),l(),a("dataTask.resume()"),c()}},ZZ={target:"swift",client:"nsurlsession",title:"NSURLSession",generate(e){return Ro(QZ,e)}},ok=[{key:"c",title:"C",default:"libcurl",clients:[LK]},{key:"csharp",title:"C#",default:"restsharp",clients:[JK,eQ]},{key:"clojure",title:"Clojure",default:"clj_http",clients:[BK]},{key:"dart",title:"Dart",default:"http",clients:[tQ]},{key:"fsharp",title:"F#",default:"httpclient",clients:[rQ]},{key:"go",title:"Go",default:"native",clients:[hQ]},{key:"http",title:"HTTP",default:"http1.1",clients:[mQ]},{key:"java",title:"Java",default:"unirest",clients:[vQ,bQ,xQ,jQ]},{key:"js",title:"JavaScript",default:"fetch",clients:[oZ,tZ,aZ,iZ,cZ]},{key:"kotlin",title:"Kotlin",default:"okhttp",clients:[dZ]},{key:"node",title:"Node.js",default:"fetch",clients:[hZ,fZ,mZ,gZ]},{key:"objc",title:"Objective-C",default:"nsurlsession",clients:[yZ]},{key:"ocaml",title:"OCaml",default:"cohttp",clients:[wZ]},{key:"php",title:"PHP",default:"curl",clients:[xZ,kZ]},{key:"powershell",title:"PowerShell",default:"webrequest",clients:[CZ,_Z]},{key:"python",title:"Python",default:"python3",clients:[$Z,TZ,EZ,AZ]},{key:"r",title:"R",default:"httr",clients:[IZ]},{key:"ruby",title:"Ruby",default:"native",clients:[MZ]},{key:"rust",title:"Rust",default:"reqwest",clients:[RZ]},{key:"shell",title:"Shell",default:"curl",clients:[UZ,KZ,GZ]},{key:"swift",title:"Swift",default:"nsurlsession",clients:[ZZ]}];function XZ(){function e(t,r){var n;return(n=ok.find(({key:o})=>o===t))==null?void 0:n.clients.find(o=>o.client===r)}return{print(t,r,n){var o;return(o=e(t,r))==null?void 0:o.generate(n)},clients(){return ok},plugins(){return ok.flatMap(({key:t,clients:r})=>r.map(n=>({target:t,client:n.client})))},findPlugin:e,hasPlugin(t,r){return!!e(t,r)}}}const YZ=/^(?:application|text)\/.*json(?:$|;|\+)/,eX=/^(?:text|application)\/.*xml(?:$|;|\+)/,tX=/^application\/x-www-form-urlencoded(?:$|;|\+)/,rX=/^multipart\/form-data(?:$|;|\+)/,nX=/^text\/plain(?:$|;|\+)/,oX=/^(?:application|image|video|audio)\/.*$/;function bN(e){return YZ.test(e.toLowerCase())}function mC(e){return eX.test(e.toLowerCase())}function bw(e){return tX.test(e.toLowerCase())}function ww(e){return rX.test(e.toLowerCase())}function sX(e){return nX.test(e.toLowerCase())}function iX(e){return bN(e)||mC(e)||bw(e)||ww(e)||sX(e)?!1:oX.test(e.toLowerCase())}const aX=/\b\w/g;function lX(e){const t={method:e.method.toUpperCase(),url:decodeURI(e.url.toString()),httpVersion:"HTTP/1.1",headers:Object.entries(e.headers).map(([r,n])=>({name:r.replace(aX,o=>o.toUpperCase()),value:n})),queryString:[...Object.entries(e.query).flatMap(([r,n])=>Array.isArray(n)?n.map(o=>({name:r,value:String(o)})):[{name:r,value:typeof n=="object"?JSON.stringify(n):String(n)}])],cookies:Object.entries(e.cookies).map(([r,n])=>({name:r,value:n})),headersSize:-1,bodySize:-1};if(e.body!==void 0)if(typeof e.body=="string")t.postData={mimeType:e.contentType||"application/json",text:e.body};else if(e.body instanceof FormData){const r={};e.body.forEach((n,o)=>{if(n instanceof File)r[o]={type:"file",text:"BINARY",name:n.name,size:n.size,mimeType:n.type||"application/octet-stream"};else{const s=e.body.getAll(o);s.length>1?r[o]=s:r[o]=s[0]}}),t.postData={mimeType:e.contentType||"multipart/form-data",params:Object.entries(r).map(([n,o])=>typeof o=="object"&&o!==null&&"text"in o?{name:n,value:o.text,fileName:o.name,contentType:o.mimeType}:{name:n,value:String(o)})}}else typeof e.body=="object"&&(e.contentType&&(bw(e.contentType)||ww(e.contentType))?t.postData={mimeType:e.contentType,params:Object.entries(e.body).map(([r,n])=>({name:r,value:String(n)}))}:t.postData={mimeType:e.contentType||"application/json",text:JSON.stringify(e.body)});return t}function zO(e,t){if(Array.isArray(e)){if(e.length===0)return{matched:!1,value:void 0};const r=e[0];return t&&r&&typeof r=="object"&&"value"in r?{matched:!0,value:r.value}:t?{matched:r!=null,value:r}:{matched:!0,value:r}}if(e&&typeof e=="object"){const r=Object.keys(e);if(r.length===0)return{matched:!1,value:void 0};const n=r[0],o=e[n];return o&&typeof o=="object"&&"value"in o?{matched:!0,value:o.value}:{matched:o!==void 0,value:o}}return{matched:!1,value:void 0}}function gC(e){var t;return(e==null?void 0:e["x-playground-example"])!==void 0?e["x-playground-example"]:((t=e==null?void 0:e.schema)==null?void 0:t["x-playground-example"])!==void 0?e.schema["x-playground-example"]:null}function vC(e){var t,r,n;if((e==null?void 0:e.example)!==void 0)return e.example;if((e==null?void 0:e.examples)!==void 0){const o=zO(e.examples,!1);if(o.matched)return o.value}if(((t=e==null?void 0:e.schema)==null?void 0:t.example)!==void 0)return e.schema.example;if(((r=e==null?void 0:e.schema)==null?void 0:r.examples)!==void 0){const o=zO(e.schema.examples,!0);if(o.matched)return o.value}return(e==null?void 0:e.subexample)!==void 0?e.subexample:e!=null&&e.subexamples&&((n=e==null?void 0:e.subexamples)==null?void 0:n.length)>0?e.subexamples[0]:null}function hv(e){return gC(e)??vC(e)}function Cb(e,t="http://localhost"){return URL.canParse(e)?e:(console.error("Failed to resolve base URL:",e),t)}class wN{constructor({baseUrl:t,path:r,url:n,method:o,parameters:s,authorizations:i,body:a,variables:l,headers:c,query:u,contentType:d,cookies:p}){Re(this,"baseUrl");Re(this,"path");Re(this,"url");Re(this,"method");Re(this,"parameters");Re(this,"authorizations");Re(this,"body");Re(this,"variables");Re(this,"headers");Re(this,"query");Re(this,"contentType");Re(this,"cookies");const f=n||(t&&r?new URL(`${t}${r}`):new URL(kw));this.baseUrl=t,this.path=r,this.url=f,this.method=o,this.parameters=s,this.authorizations=i,this.body=a,this.variables=l||{},this.headers=c||{},this.query=u||{},this.contentType=d,this.cookies=p||{}}}function yC(e,t,r){const n=new Set(t.map(o=>o.name));for(const[o,s]of Object.entries(e))n.has(o)&&(s===void 0||s===""||r(o,String(s)))}function cX(e,t,r=""){let n=r;return yC(e,t,(o,s)=>{n=n.replace(`{${o}}`,s)}),n}function uX(e,t,r,n){const o=new Headers;if(e)if(e instanceof Headers)for(const[s,i]of e.entries())o.set(s.toLowerCase(),i);else for(const[s,i]of Object.entries(e))o.set(s.toLowerCase(),i);return yC(t,r,(s,i)=>{o.set(s.toLowerCase(),i)}),dX(n).forEach((s,i)=>{o.set(i.toLowerCase(),s)}),Object.fromEntries(o)}function dX(e){const t=new Headers;if(!e)return t;const r=Array.isArray(e)?e:[e];if(r.length===0)return t;for(const n of r){if(!(n!=null&&n.type))continue;const o=S(n.value??n.name??"");if(!o){console.warn("Empty value for authorization scheme:",n.type);continue}switch(n.type){case"http":t.set("Authorization",o);break;case"apiKey":(!n.in||n.in==="header")&&t.set(n.name??"",o);break;case"openIdConnect":case"oauth2":t.set("Authorization",`Bearer ${o}`);break;default:console.warn("Unknown authorization type:",n.type)}}return t}function xN(e,t){const r={};return Object.entries(t).forEach(([n,o])=>{if(o!==null&&typeof o=="object"&&!Array.isArray(o)){const s=xN(`${e}[${n}]`,o);Object.assign(r,s)}else Array.isArray(o)?o.some(s=>s!==null&&typeof s=="object")?r[`${e}[${n}]`]=JSON.stringify(o):r[`${e}[${n}]`]=o.join(","):o!==null&&typeof o=="object"?r[`${e}[${n}]`]=JSON.stringify(o):r[`${e}[${n}]`]=String(o)}),r}function pX(e,t,r="form",n=!0){if(t==null||t==="")return{};if(Array.isArray(t)){const o=i=>Array.isArray(i)||i!==null&&typeof i=="object"?JSON.stringify(i):String(i),s=t.map(o);return r==="spaceDelimited"?n?{[e]:s}:{[e]:s.join(" ")}:r==="pipeDelimited"?n?{[e]:s}:{[e]:s.join("|")}:r==="form"?n?{[e]:s}:{[e]:s.join(",")}:{[e]:n?s:s.join(",")}}if(typeof t=="object"){if(r==="deepObject"){if(n)return xN(e,t);{const o=Object.entries(t).map(([s,i])=>`${s},${i}`).join(",");return{[e]:o}}}if(r==="form"){if(n)return Object.entries(t).reduce((o,[s,i])=>{if(Array.isArray(i)){const a=i.some(l=>l!==null&&typeof l=="object");o[s]=a?JSON.stringify(i):i.join(",")}else i!==null&&typeof i=="object"?o[s]=JSON.stringify(i):o[s]=String(i);return o},{});{const o=Object.entries(t).map(([s,i])=>{let a;return Array.isArray(i)?a=i.some(l=>l!==null&&typeof l=="object")?JSON.stringify(i):i.join(","):i!==null&&typeof i=="object"?a=JSON.stringify(i):a=String(i),`${s},${a}`}).join(",");return{[e]:o}}}return{[e]:JSON.stringify(t)}}return{[e]:String(t)}}function fX(e,t){let r={};return t.forEach(n=>{if(!n.name)return;const o=e[n.name];if(o===void 0||o==="")return;const s=n.style||"form",i=n.explode??!0,a=pX(n.name,o,s,i);r={...r,...a}}),r}function hX(e,t){const r={};return yC(e,t,(n,o)=>{r[n]=o}),r}function mX(e){const t={};if(!e)return t;const r=Array.isArray(e)?e:[e];for(const n of r)if(n!=null&&n.type&&n.type==="apiKey"&&n.in==="query"){const o=S(n.value??n.name??"");if(!o)continue;const s=n.name??"";if(!s)continue;t[s]=o}return t}function gX(e){const t={};if(!e)return t;const r=Array.isArray(e)?e:[e];for(const n of r)if(n!=null&&n.type&&n.type==="apiKey"&&n.in==="cookie"){const o=S(n.value??n.name??"");if(!o)continue;const s=n.name??"";if(!s)continue;t[s]=o}return t}function vX(e,t){return e.forEach(r=>{if(!r.name||t[r.name]!==void 0)return;const n=hv(r);n!=null&&(typeof n=="object"&&n!==null?t[r.name]=JSON.stringify(n):t[r.name]=String(n))}),t}function xw({url:e=void 0,path:t,method:r="GET",baseUrl:n,parameters:o=[],authorizations:s=[],body:i=void 0,headers:a=void 0,variables:l={},cookies:c={},contentType:u=void 0}){const d=vX(o,l),p=o.filter(j=>j.in==="path"),f=o.filter(j=>j.in==="query"),m=o.filter(j=>j.in==="header"),v=o.filter(j=>j.in==="cookie"),g=cX(d,p,t),y=(r==null?void 0:r.toUpperCase())||"GET",b={...fX(d,f),...mX(s)},w=uX(a,d,m,s),k={...c||{},...hX(d,v),...gX(s)};n=n?Cb(n):kw;const x=e?new URL(e):n?new URL(`${n}${g}`):new URL(g,"http://localhost");return u&&!(i instanceof FormData)?w["content-type"]=u:i&&!w["content-type"]&&!(i instanceof FormData)&&(w["content-type"]="application/json"),new wN({path:g,url:x,method:y,parameters:o,authorizations:s,body:["POST","PUT","PATCH","DELETE","OPTIONS","TRACE"].includes(y)&&i?i:void 0,variables:d,headers:w,query:b,cookies:k,contentType:w["content-type"]})}async function kN(e,t){const r=t instanceof wN?t:xw(t),n=lX(r),{lang:o,target:s,client:i}=e;if(!s)return console.error(`Language "${o}" has missing property "target" in availableLanguages`),"";if(!i)return console.error(`Language "${o}" has missing property "client" in availableLanguages`),"";try{return XZ().print(s,i,n)??""}catch(a){return console.error(a,t),""}}const yX=e=>e!==null&&typeof e=="object",bX=Array.isArray;function jN(e){const t=yc(e)?S(e):e;return yX(t)?bX(t)?wX(t):xX(t):t}function _N(e){return e!==null&&!yc(e)&&typeof e=="object"?jN(e):S(e)}function wX(e){return e.map(t=>_N(t))}function xX(e){const t={};return Object.keys(e).forEach(r=>{const n=r;t[n]=_N(e[n])}),t}const kX="Response",jX="Responses",_X="Loading...",SX="Samples",CX="Parameters",AX="Required",EX="Key",OX="Value",$X="Variables",TX="Type",PX="Headers",IX="Schema",DX="Authorizations",MX="Authorization",LX="Deprecated",NX="Body",RX="License",BX="Contact",qX="Servers",zX="Server",FX="Select...",VX="Operations",UX="Default",HX="Example",WX="Examples",GX="or",JX="Enum",KX="Playground",QX="Collapse",ZX="Expand",XX="Format",YX="Maximum",eY="Minimum",tY="Pattern",rY={Response:kX,Responses:jX,"Try it out":"Try it out",Loading:_X,Samples:SX,"Response time":"Response time",Parameters:CX,"Path Parameters":"Path Parameters","Query Parameters":"Query Parameters",Required:AX,Key:EX,Value:OX,Variables:$X,"Powered by":"Powered by",Type:TX,"Header Parameters":"Header Parameters",Headers:PX,"Request Body":"Request Body",Schema:IX,JSON:"JSON",Authorizations:DX,Authorization:MX,"Use example":"Use example",Deprecated:LX,Body:NX,"Terms of Service":"Terms of Service",License:RX,Contact:BX,"API Documentation":"API Documentation","External Documentation":"External Documentation",Servers:qX,Server:zX,"Your browser does not support the audio element.":"Your browser does not support the audio element.","Unrecognized response type. Raw content:":"Unrecognized response type. Raw content:","Download file":"Download file",Select:FX,"operation.badgePrefix.operationId":"ID: ","Content-Type":"Content-Type","Hide operations":"Hide operations","Show operations":"Show operations",Operations:VX,Default:UX,Example:HX,Examples:WX,"tags.goTo":"View {tag} operations",or:GX,Enum:JX,"Copy endpoint":"Copy endpoint","Custom Server":"Custom Server","Enter a custom server URL":"Enter a custom server URL","Select a server":"Select a server...","Select an example":"Select an example",Playground:KX,"Collapse all":"Collapse all","Expand all":"Expand all",Collapse:QX,Expand:ZX,"Download OpenAPI Document":"Download OpenAPI Document","Any of":"Any of","Valid values":"Valid values","Exclusive Maximum":"Exclusive Maximum","Exclusive Minimum":"Exclusive Minimum",Format:XX,Maximum:YX,"Max Items":"Max Items","Max Length":"Max Length","Max Properties":"Max Properties",Minimum:eY,"Min Items":"Min Items","Min Length":"Min Length","Min Properties":"Min Properties","Multiple of":"Multiple of",Pattern:tY,"Unique Items":"Unique Items","Add Field":"Add Field","Click to set in playground":"Click to set in playground"},nY="Respuesta",oY="Respuestas",sY="Cargando...",iY="Ejemplos",aY="Parámetros",lY="Requerido",cY="Key",uY="Value",dY="Variables",pY="Tipo",fY="Headers",hY="Schema",mY="Autorizaciones",gY="Autorización",vY="Obsoleto",yY="Cuerpo",bY="Licencia",wY="Contacto",xY="Servidores",kY="Servidor",jY="Seleccionar...",_Y="Operaciones",SY="Por defecto",CY="Ejemplo",AY="Ejemplos",EY="o",OY="Enum",$Y="Playground",TY="Colapsar",PY="Expandir",IY="Formato",DY="Máximo",MY="Mínimo",LY="Patrón",NY={Response:nY,Responses:oY,"Try it out":"Probar",Loading:sY,Samples:iY,"Response time":"Tiempo de respuesta",Parameters:aY,"Path Parameters":"Path Parameters","Query Parameters":"Query Parameters",Required:lY,Key:cY,Value:uY,Variables:dY,"Powered by":"Powered by",Type:pY,"Header Parameters":"Header Parameters",Headers:fY,"Request Body":"Cuerpo de la petición",Schema:hY,JSON:"JSON",Authorizations:mY,Authorization:gY,"Use example":"Usar ejemplo",Deprecated:vY,Body:yY,"Terms of Service":"Términos de servicio",License:bY,Contact:wY,"API Documentation":"Documentación de la API","External Documentation":"Documentación externa",Servers:xY,Server:kY,"Your browser does not support the audio element.":"Tu navegador no soporta el elemento de audio.","Unrecognized response type. Raw content:":"Tipo de respuesta no reconocido. Contenido en crudo:","Download file":"Descargar archivo",Select:jY,"operation.badgePrefix.operationId":"ID: ","Content-Type":"Content-Type","Hide operations":"Ocultar operaciones","Show operations":"Mostrar operaciones",Operations:_Y,Default:SY,Example:CY,Examples:AY,"tags.goTo":"Ver operaciones de {tag}",or:EY,Enum:OY,"Copy endpoint":"Copiar endpoint","Custom Server":"Servidor personalizado","Enter a custom server URL":"Introduce una URL de servidor personalizada","Select a server":"Selecciona un servidor...","Select an example":"Selecciona un ejemplo",Playground:$Y,"Collapse all":"Colapsar todo","Expand all":"Expandir todo",Collapse:TY,Expand:PY,"Download OpenAPI Document":"Descargar Documento OpenAPI","Any of":"Cualquiera de","Valid values":"Valores válidos","Exclusive Maximum":"Máximo exclusivo","Exclusive Minimum":"Mínimo exclusivo",Format:IY,Maximum:DY,"Max Items":"Máx. elementos","Max Length":"Longitud máx.","Max Properties":"Máx. propiedades",Minimum:MY,"Min Items":"Mín. elementos","Min Length":"Longitud mín.","Min Properties":"Mín. propiedades","Multiple of":"Múltiplo de",Pattern:LY,"Unique Items":"Elementos únicos","Add Field":"Agregar campo","Click to set in playground":"Clic para usar en el playground"},RY="レスポンス",BY="レスポンス",qY="Loading...",zY="サンプル",FY="パラメータ",VY="必須",UY="キー",HY="値",WY="変数",GY="型",JY="ヘッダー",KY="スキーマ",QY="認証",ZY="認証",XY="非推奨",YY="ボディ",eee="ライセンス",tee="連絡先",ree="サーバー",nee="サーバー",oee="選択...",see="オペレーション",iee="デフォルト",aee="例",lee="例",cee="or",uee="Enum",dee="Playground",pee="折りたたむ",fee="展開",hee="フォーマット",mee="最大値",gee="最小値",vee="パターン",yee={Response:RY,Responses:BY,"Try it out":"実行",Loading:qY,Samples:zY,"Response time":"応答時間",Parameters:FY,"Path Parameters":"パスパラメータ","Query Parameters":"クエリパラメータ",Required:VY,Key:UY,Value:HY,Variables:WY,"Powered by":"Powered by",Type:GY,"Header Parameters":"ヘッダーパラメータ",Headers:JY,"Request Body":"リクエストボディ",Schema:KY,JSON:"JSON",Authorizations:QY,Authorization:ZY,"Use example":"例を使用",Deprecated:XY,Body:YY,"Terms of Service":"利用規約",License:eee,Contact:tee,"API Documentation":"API ドキュメント","External Documentation":"外部ドキュメント",Servers:ree,Server:nee,"Your browser does not support the audio element.":"ブラウザがオーディオ要素をサポートしていません。","Unrecognized response type. Raw content:":"認識できないレスポンスタイプ。生のコンテンツ:","Download file":"ファイルをダウンロード",Select:oee,"operation.badgePrefix.operationId":"ID: ","Content-Type":"Content-Type","Hide operations":"オペレーションを隠す","Show operations":"オペレーションを表示",Operations:see,Default:iee,Example:aee,Examples:lee,"tags.goTo":"{tag}のオペレーションを表示",or:cee,Enum:uee,"Copy endpoint":"エンドポイントをコピー","Custom Server":"カスタムサーバー","Enter a custom server URL":"カスタムサーバーの URL を入力","Select a server":"サーバーを選択...","Select an example":"例を選択",Playground:dee,"Collapse all":"すべて折りたたむ","Expand all":"すべて展開",Collapse:pee,Expand:fee,"Download OpenAPI Document":"OpenAPI ドキュメントをダウンロード","Any of":"いずれか","Valid values":"有効な値","Exclusive Maximum":"排他的最大値","Exclusive Minimum":"排他的最小値",Format:hee,Maximum:mee,"Max Items":"最大項目数","Max Length":"最大長","Max Properties":"最大プロパティ数",Minimum:gee,"Min Items":"最小項目数","Min Length":"最小長","Min Properties":"最小プロパティ数","Multiple of":"の倍数",Pattern:vee,"Unique Items":"ユニーク項目","Add Field":"フィールドを追加","Click to set in playground":"クリックしてプレイグラウンドに設定"},bee="Resposta",wee="Respostas",xee="Carregando...",kee="Exemplos",jee="Parâmetros",_ee="Obrigatório",See="Chave",Cee="Valor",Aee="Variáveis",Eee="Tipo",Oee="Cabeçalhos",$ee="Esquema",Tee="Autorizações",Pee="Autorização",Iee="Obsoleto",Dee="Corpo",Mee="Licença",Lee="Contato",Nee="Servidores",Ree="Servidor",Bee="Selecionar...",qee="Operações",zee="Padrão",Fee="Exemplo",Vee="Exemplos",Uee="ou",Hee="Enum",Wee="Playground",Gee="Recolher",Jee="Expandir",Kee="Formato",Qee="Máximo",Zee="Mínimo",Xee="Padrão",Yee={Response:bee,Responses:wee,"Try it out":"Testar",Loading:xee,Samples:kee,"Response time":"Tempo de resposta",Parameters:jee,"Path Parameters":"Parâmetros de Caminho","Query Parameters":"Parâmetros de Consulta",Required:_ee,Key:See,Value:Cee,Variables:Aee,"Powered by":"Desenvolvido por",Type:Eee,"Header Parameters":"Parâmetros de Cabeçalho",Headers:Oee,"Request Body":"Corpo da Requisição",Schema:$ee,JSON:"JSON",Authorizations:Tee,Authorization:Pee,"Use example":"Usar exemplo",Deprecated:Iee,Body:Dee,"Terms of Service":"Termos de Serviço",License:Mee,Contact:Lee,"API Documentation":"Documentação da API","External Documentation":"Documentação Externa",Servers:Nee,Server:Ree,"Your browser does not support the audio element.":"Seu navegador não suporta o elemento de áudio.","Unrecognized response type. Raw content:":"Tipo de resposta não reconhecido. Conteúdo bruto:","Download file":"Baixar arquivo",Select:Bee,"operation.badgePrefix.operationId":"ID: ","Content-Type":"Content-Type","Hide operations":"Ocultar operações","Show operations":"Exibir operações",Operations:qee,Default:zee,Example:Fee,Examples:Vee,"tags.goTo":"Ver operações de {tag}",or:Uee,Enum:Hee,"Copy endpoint":"Copiar endpoint","Custom Server":"Servidor Personalizado","Enter a custom server URL":"Digite uma URL de servidor personalizada","Select a server":"Selecione um servidor...","Select an example":"Selecione um exemplo",Playground:Wee,"Collapse all":"Recolher tudo","Expand all":"Expandir tudo",Collapse:Gee,Expand:Jee,"Download OpenAPI Document":"Baixar Documento OpenAPI","Any of":"Qualquer um dos","Valid values":"Valores válidos","Exclusive Maximum":"Máximo exclusivo","Exclusive Minimum":"Mínimo exclusivo",Format:Kee,Maximum:Qee,"Max Items":"Máx. itens","Max Length":"Comp. máx.","Max Properties":"Máx. propriedades",Minimum:Zee,"Min Items":"Mín. itens","Min Length":"Comp. mín.","Min Properties":"Mín. propriedades","Multiple of":"Múltiplo de",Pattern:Xee,"Unique Items":"Itens únicos","Add Field":"Adicionar campo","Click to set in playground":"Clique para definir no playground"},ete="响应",tte="响应",rte="加载中...",nte="示例",ote="参数",ste="必填",ite="键",ate="值",lte="变量",cte="类型",ute="请求头",dte="模式",pte="授权",fte="授权",hte="已弃用",mte="主体",gte="许可证",vte="联系方式",yte="服务器",bte="服务器",wte="选择...",xte="操作",kte="默认",jte="示例",_te="示例",Ste="或",Cte="枚举",Ate="试验场",Ete="折叠",Ote="展开",$te="格式",Tte="最大值",Pte="最小值",Ite="模式",Dte={Response:ete,Responses:tte,"Try it out":"试一试",Loading:rte,Samples:nte,"Response time":"响应时间",Parameters:ote,"Path Parameters":"路径参数","Query Parameters":"查询参数",Required:ste,Key:ite,Value:ate,Variables:lte,"Powered by":"技术支持",Type:cte,"Header Parameters":"请求头参数",Headers:ute,"Request Body":"请求体",Schema:dte,JSON:"JSON",Authorizations:pte,Authorization:fte,"Use example":"使用示例",Deprecated:hte,Body:mte,"Terms of Service":"服务条款",License:gte,Contact:vte,"API Documentation":"API 文档","External Documentation":"外部文档",Servers:yte,Server:bte,"Your browser does not support the audio element.":"您的浏览器不支持音频元素。","Unrecognized response type. Raw content:":"无法识别的响应类型。原始内容:","Download file":"下载文件",Select:wte,"operation.badgePrefix.operationId":"ID: ","Content-Type":"Content-Type","Hide operations":"隐藏操作","Show operations":"显示操作",Operations:xte,Default:kte,Example:jte,Examples:_te,"tags.goTo":"查看 {tag} 操作",or:Ste,Enum:Cte,"Copy endpoint":"复制端点","Custom Server":"自定义服务器","Enter a custom server URL":"输入自定义服务器 URL","Select a server":"选择服务器...","Select an example":"选择示例",Playground:Ate,"Collapse all":"全部折叠","Expand all":"全部展开",Collapse:Ete,Expand:Ote,"Download OpenAPI Document":"下载 OpenAPI 文档","Any of":"任意一个","Valid values":"有效值","Exclusive Maximum":"独占最大值","Exclusive Minimum":"独占最小值",Format:$te,Maximum:Tte,"Max Items":"最大项数","Max Length":"最大长度","Max Properties":"最大属性数",Minimum:Pte,"Min Items":"最小项数","Min Length":"最小长度","Min Properties":"最小属性数","Multiple of":"倍数",Pattern:Ite,"Unique Items":"唯一项","Add Field":"添加字段","Click to set in playground":"点击在 Playground 中设置"},Mte={en:rY,es:NY,ja:yee,"pt-BR":Yee,zh:Dte};function Cs(e,t){return e[t]||(e[t]={}),e[t]}function An(e,t,r,n){const o=Cs(e,t);return o[r]?n!==void 0&&(o[r].value=n):o[r]=Oe(n),o[r]}function di(e,t,r,n){let o=e;for(const s of t)o=Cs(o,s);return o[r]?n!==void 0&&(o[r].value=n):o[r]=Oe(n),o[r]}const Lte=["header","path","description","security","parameters","request-body","responses","playground","code-samples","branding","footer"],kw="http://localhost",SN="--oa",CN=!0,AN=[{lang:"curl",label:"cURL",target:"shell",client:"curl",highlighter:"bash",icon:"curl"},{lang:"javascript",label:"JavaScript",target:"js",client:"fetch",highlighter:"javascript",icon:".js"},{lang:"php",label:"PHP",target:"php",client:"curl",highlighter:"php",icon:".php"},{lang:"python",label:"Python",target:"python",client:"requests",highlighter:"python",icon:".py"}],FO="/operations/",ar={theme:{highlighterTheme:{light:ZJ,dark:QJ}},path:{showBaseURL:!1},requestBody:{defaultView:"contentType"},jsonViewer:{deep:Number.POSITIVE_INFINITY,renderer:"vue-json-pretty"},schemaViewer:{deep:1},headingLevels:{h1:1,h2:2,h3:3,h4:4,h5:5,h6:6},response:{responseCodeSelector:"tabs",maxTabs:5,body:{defaultView:"contentType"}},playground:{jsonEditor:{mode:"tree",mainMenuBar:!1,navigationBar:!1,statusBar:!1},examples:{behavior:"value",playgroundExampleBehavior:"value"}},security:{defaultScheme:null},operation:{badges:["deprecated"],slots:Lte,hiddenSlots:[],cols:2,defaultBaseUrl:kw,getServers:null},i18n:{locale:"en",fallbackLocale:"en",messages:Mte,availableLocales:[{code:"en",label:"English"},{code:"es",label:"Español"},{code:"ja",label:"Japanese"},{code:"pt-BR",label:"Português (Brasil)"},{code:"zh",label:"中文"}]},spec:{groupByTags:!0,collapsePaths:!1,showPathsSummary:!0,avoidCirculars:!1,lazyRendering:!1,defaultTag:"Default",defaultTagDescription:"",wrapExamples:!0,disableDownload:!1},codeSamples:{defaultLang:"curl",availableLanguages:AN,generator:(e,t)=>kN(e,t),defaultHeaders:{}},linksPrefixes:{tags:"/tags/",operations:FO},server:{allowCustomServer:!1,getServers:null},storage:{prefix:SN,persistAuth:CN},markdown:{operationLink:{linkPrefix:FO},externalLinksNewTab:!1,config:void 0}};var DL,ML;const Ae={theme:{highlighterTheme:{light:ar.theme.highlighterTheme.light,dark:ar.theme.highlighterTheme.dark}},path:{showBaseURL:Oe(ar.path.showBaseURL)},requestBody:{defaultView:Oe(ar.requestBody.defaultView)},jsonViewer:{deep:Oe(ar.jsonViewer.deep),renderer:Oe(ar.jsonViewer.renderer)},schemaViewer:{deep:Oe(ar.schemaViewer.deep)},headingLevels:{...ar.headingLevels},response:{responseCodeSelector:Oe(ar.response.responseCodeSelector),maxTabs:Oe(ar.response.maxTabs),body:{defaultView:Oe(ar.response.body.defaultView)}},playground:{jsonEditor:{mode:Oe(ar.playground.jsonEditor.mode),mainMenuBar:Oe(ar.playground.jsonEditor.mainMenuBar),navigationBar:Oe(ar.playground.jsonEditor.navigationBar),statusBar:Oe(ar.playground.jsonEditor.statusBar)},examples:{behavior:Oe(((DL=ar.playground.examples)==null?void 0:DL.behavior)??"value"),playgroundExampleBehavior:Oe(((ML=ar.playground.examples)==null?void 0:ML.playgroundExampleBehavior)??"value")}},security:{defaultScheme:Oe(ar.security.defaultScheme)},operation:{badges:Oe(ar.operation.badges),slots:Oe(ar.operation.slots),hiddenSlots:Oe(ar.operation.hiddenSlots),cols:Oe(ar.operation.cols),defaultBaseUrl:ar.operation.defaultBaseUrl,getServers:ar.operation.getServers},i18n:{locale:Oe(ar.i18n.locale),fallbackLocale:Oe(ar.i18n.fallbackLocale),messages:ar.i18n.messages,availableLocales:ar.i18n.availableLocales},spec:{groupByTags:Oe(ar.spec.groupByTags),collapsePaths:Oe(ar.spec.collapsePaths),showPathsSummary:Oe(ar.spec.showPathsSummary),avoidCirculars:Oe(ar.spec.avoidCirculars),lazyRendering:Oe(ar.spec.lazyRendering),defaultTag:ar.spec.defaultTag,defaultTagDescription:ar.spec.defaultTagDescription,wrapExamples:ar.spec.wrapExamples,disableDownload:Oe(ar.spec.disableDownload)},codeSamples:{defaultLang:ar.codeSamples.defaultLang,availableLanguages:ar.codeSamples.availableLanguages,generator:ar.codeSamples.generator,defaultHeaders:ar.codeSamples.defaultHeaders},linksPrefixes:{tags:ar.linksPrefixes.tags,operations:ar.linksPrefixes.operations},server:{allowCustomServer:ar.server.allowCustomServer,getServers:ar.server.getServers},storage:{prefix:ar.storage.prefix,persistAuth:ar.storage.persistAuth},markdown:{operationLink:{linkPrefix:ar.markdown.operationLink.linkPrefix},externalLinksNewTab:ar.markdown.externalLinksNewTab,config:ar.markdown.config}},Nte=AK({storageKey:"vitepress-theme-appearance"});function kn(e={}){t(e);function t(W){var Ee,wt,br,wr,Gt,Pr,Dt,mr,Cr,nn,Tn,en,co,Qn,Zn,bo,uo,yn,bn,Fn,Qe,Ir,De,ot,Ot,ur,Et,gr,Jr;!W||!Object.keys(W).length||((Ee=W.theme)!=null&&Ee.highlighterTheme&&a(W.theme.highlighterTheme),((wt=W.path)==null?void 0:wt.showBaseURL)!==void 0&&An(Ae,"path","showBaseURL",W.path.showBaseURL),((br=W.requestBody)==null?void 0:br.defaultView)!==void 0&&An(Ae,"requestBody","defaultView",W.requestBody.defaultView),((wr=W.jsonViewer)==null?void 0:wr.deep)!==void 0&&An(Ae,"jsonViewer","deep",W.jsonViewer.deep),((Gt=W.jsonViewer)==null?void 0:Gt.renderer)!==void 0&&An(Ae,"jsonViewer","renderer",W.jsonViewer.renderer),((Pr=W.schemaViewer)==null?void 0:Pr.deep)!==void 0&&An(Ae,"schemaViewer","deep",W.schemaViewer.deep),W.headingLevels!==void 0&&k(W.headingLevels),((Dt=W.response)==null?void 0:Dt.responseCodeSelector)!==void 0&&An(Ae,"response","responseCodeSelector",W.response.responseCodeSelector),((mr=W.response)==null?void 0:mr.maxTabs)!==void 0&&An(Ae,"response","maxTabs",W.response.maxTabs),((nn=(Cr=W.response)==null?void 0:Cr.body)==null?void 0:nn.defaultView)!==void 0&&di(Ae,["response","body"],"defaultView",W.response.body.defaultView),((en=(Tn=W.playground)==null?void 0:Tn.jsonEditor)==null?void 0:en.mode)!==void 0&&di(Ae,["playground","jsonEditor"],"mode",W.playground.jsonEditor.mode),((Qn=(co=W.playground)==null?void 0:co.jsonEditor)==null?void 0:Qn.mainMenuBar)!==void 0&&di(Ae,["playground","jsonEditor"],"mainMenuBar",W.playground.jsonEditor.mainMenuBar),((bo=(Zn=W.playground)==null?void 0:Zn.jsonEditor)==null?void 0:bo.navigationBar)!==void 0&&di(Ae,["playground","jsonEditor"],"navigationBar",W.playground.jsonEditor.navigationBar),((yn=(uo=W.playground)==null?void 0:uo.jsonEditor)==null?void 0:yn.statusBar)!==void 0&&di(Ae,["playground","jsonEditor"],"statusBar",W.playground.jsonEditor.statusBar),((Fn=(bn=W.playground)==null?void 0:bn.examples)==null?void 0:Fn.behavior)!==void 0&&di(Ae,["playground","examples"],"behavior",W.playground.examples.behavior),((Ir=(Qe=W.playground)==null?void 0:Qe.examples)==null?void 0:Ir.playgroundExampleBehavior)!==void 0&&di(Ae,["playground","examples"],"playgroundExampleBehavior",W.playground.examples.playgroundExampleBehavior),((De=W.security)==null?void 0:De.defaultScheme)!==void 0&&An(Ae,"security","defaultScheme",W.security.defaultScheme),((ot=W.operation)==null?void 0:ot.badges)!==void 0&&An(Ae,"operation","badges",W.operation.badges),((Ot=W.operation)==null?void 0:Ot.slots)!==void 0&&An(Ae,"operation","slots",W.operation.slots),((ur=W.operation)==null?void 0:ur.hiddenSlots)!==void 0&&An(Ae,"operation","hiddenSlots",W.operation.hiddenSlots),((Et=W.operation)==null?void 0:Et.cols)!==void 0&&An(Ae,"operation","cols",W.operation.cols),((gr=W.operation)==null?void 0:gr.defaultBaseUrl)!==void 0&&Ce(W.operation.defaultBaseUrl),((Jr=W.operation)==null?void 0:Jr.getServers)!==void 0&&ae(W.operation.getServers),W.i18n!==void 0&&ft(W.i18n),W.spec!==void 0&&_t(W.spec),W.codeSamples!==void 0&&G(W.codeSamples),W.linksPrefixes!==void 0&&Me(W.linksPrefixes),W.server!==void 0&&pt(W.server),W.storage!==void 0&&Nr(W.storage),W.markdown!==void 0&&Ft(W.markdown))}function r(){t(ar)}function n(){return jN(Ae)}function o(){var W,Ee;return((Ee=(W=Ae==null?void 0:Ae.i18n)==null?void 0:W.locale)==null?void 0:Ee.value)||"en"}function s(W){console.warn("`setLocale` is deprecated. Use `setI18nConfig({ locale: value })` instead."),Ae.i18n.locale.value=W}function i(){var W;return(W=Ae==null?void 0:Ae.theme)==null?void 0:W.highlighterTheme}function a(W){var Ee;Ae.theme.highlighterTheme={...(Ee=Ae==null?void 0:Ae.theme)==null?void 0:Ee.highlighterTheme,...W}}function l(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.requestBody)==null?void 0:W.defaultView)==null?void 0:Ee.value}function c(W){An(Ae,"requestBody","defaultView",W)}function u(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.path)==null?void 0:W.showBaseURL)==null?void 0:Ee.value}function d(W){An(Ae,"path","showBaseURL",W)}function p(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.jsonViewer)==null?void 0:W.deep)==null?void 0:Ee.value}function f(W){An(Ae,"jsonViewer","deep",W)}function m(){var W,Ee;return((Ee=(W=Ae==null?void 0:Ae.jsonViewer)==null?void 0:W.renderer)==null?void 0:Ee.value)||"vue-json-pretty"}function v(W){An(Ae,"jsonViewer","renderer",W)}function g(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.schemaViewer)==null?void 0:W.deep)==null?void 0:Ee.value}function y(W){An(Ae,"schemaViewer","deep",W)}function b(){return Ae.headingLevels}function w(W){if(!Ae.headingLevels)return`h${W}`;const Ee=Ae.headingLevels[W];if(Ee<1||Ee>6)throw new Error(`Heading level for ${W} must be between 1 and 6.`);return`h${Ee}`}function k(W){Ae.headingLevels||(Ae.headingLevels={});for(const Ee of Object.keys(W)){const wt=W[Ee];if(wt<1||wt>6)throw new Error(`Heading level for ${Ee} must be between 1 and 6.`)}Object.assign(Ae.headingLevels,W)}function x(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.response)==null?void 0:W.responseCodeSelector)==null?void 0:Ee.value}function j(W){An(Ae,"response","responseCodeSelector",W)}function _(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.response)==null?void 0:W.maxTabs)==null?void 0:Ee.value}function C(W){An(Ae,"response","maxTabs",W)}function A(){var W,Ee,wt;return(wt=(Ee=(W=Ae==null?void 0:Ae.response)==null?void 0:W.body)==null?void 0:Ee.defaultView)==null?void 0:wt.value}function I(W){di(Ae,["response","body"],"defaultView",W)}function M(){var W,Ee,wt;return(wt=(Ee=(W=Ae==null?void 0:Ae.playground)==null?void 0:W.jsonEditor)==null?void 0:Ee.mode)==null?void 0:wt.value}function N(W){di(Ae,["playground","jsonEditor"],"mode",W)}function F(){var W,Ee,wt;return(wt=(Ee=(W=Ae==null?void 0:Ae.playground)==null?void 0:W.jsonEditor)==null?void 0:Ee.mainMenuBar)==null?void 0:wt.value}function z(W){di(Ae,["playground","jsonEditor"],"mainMenuBar",W)}function L(){var W,Ee,wt;return(wt=(Ee=(W=Ae==null?void 0:Ae.playground)==null?void 0:W.jsonEditor)==null?void 0:Ee.navigationBar)==null?void 0:wt.value}function X(W){di(Ae,["playground","jsonEditor"],"navigationBar",W)}function V(){var W,Ee,wt;return(wt=(Ee=(W=Ae==null?void 0:Ae.playground)==null?void 0:W.jsonEditor)==null?void 0:Ee.statusBar)==null?void 0:wt.value}function J(W){di(Ae,["playground","jsonEditor"],"statusBar",W)}function oe(){var W,Ee,wt;return((wt=(Ee=(W=Ae==null?void 0:Ae.playground)==null?void 0:W.examples)==null?void 0:Ee.behavior)==null?void 0:wt.value)??"value"}function H(W){di(Ae,["playground","examples"],"behavior",W)}function B(){var W,Ee,wt;return((wt=(Ee=(W=Ae==null?void 0:Ae.playground)==null?void 0:W.examples)==null?void 0:Ee.playgroundExampleBehavior)==null?void 0:wt.value)??"value"}function se(W){di(Ae,["playground","examples"],"playgroundExampleBehavior",W)}function q(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.security)==null?void 0:W.defaultScheme)==null?void 0:Ee.value}function O(W){An(Ae,"security","defaultScheme",W)}function D(){var W,Ee;return[...((Ee=(W=Ae==null?void 0:Ae.operation)==null?void 0:W.badges)==null?void 0:Ee.value)||[]]}function Z(W){An(Ae,"operation","badges",W)}function Se(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.operation)==null?void 0:W.slots)==null?void 0:Ee.value}function ie(W){An(Ae,"operation","slots",W)}function re(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.operation)==null?void 0:W.hiddenSlots)==null?void 0:Ee.value}function xe(W){An(Ae,"operation","hiddenSlots",W)}function R(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.operation)==null?void 0:W.cols)==null?void 0:Ee.value}function te(W){An(Ae,"operation","cols",W)}function ne(){var W;return((W=Ae==null?void 0:Ae.operation)==null?void 0:W.defaultBaseUrl)||kw}function Ce(W){const Ee=Cs(Ae,"operation");Ee.defaultBaseUrl=W}function me(){var W,Ee;return(W=Ae==null?void 0:Ae.operation)!=null&&W.getServers?(console.warn("operation.getServers is deprecated. Use server.getServers instead."),Ae.operation.getServers):((Ee=Ae==null?void 0:Ae.server)==null?void 0:Ee.getServers)||null}function ae(W){const Ee=Cs(Ae,"operation");Ee.getServers=W}function kt(){return Ae.i18n}function ft(W){const Ee=Cs(Ae,"i18n");W.locale&&An(Ae,"i18n","locale",W.locale),W.fallbackLocale&&An(Ae,"i18n","fallbackLocale",W.fallbackLocale),W.messages&&(Ee.messages=W.messages),W.availableLocales&&(Ee.availableLocales=W.availableLocales)}function Ue(){return Ae.spec}function gt(){var W;return(W=Ae==null?void 0:Ae.spec)==null?void 0:W.wrapExamples}function Ge(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.spec)==null?void 0:W.disableDownload)==null?void 0:Ee.value}function _t(W){const Ee=Cs(Ae,"spec");W.groupByTags!==void 0&&An(Ae,"spec","groupByTags",W.groupByTags),W.collapsePaths!==void 0&&An(Ae,"spec","collapsePaths",W.collapsePaths),W.showPathsSummary!==void 0&&An(Ae,"spec","showPathsSummary",W.showPathsSummary),W.avoidCirculars!==void 0&&An(Ae,"spec","avoidCirculars",W.avoidCirculars),W.lazyRendering!==void 0&&An(Ae,"spec","lazyRendering",W.lazyRendering),W.defaultTag!==void 0&&(Ee.defaultTag=W.defaultTag),W.defaultTagDescription!==void 0&&(Ee.defaultTagDescription=W.defaultTagDescription),W.wrapExamples!==void 0&&(Ee.wrapExamples=W.wrapExamples),W.disableDownload!==void 0&&An(Ae,"spec","disableDownload",W.disableDownload)}function It(){const W=vt(),Ee=Cs(Ae,"codeSamples"),wt=W.map(br=>br.lang);return Ee.defaultLang&&wt.includes(Ee.defaultLang)?Ee.defaultLang:wt[0]}function vt(W=[]){var wt;const Ee=Cs(Ae,"codeSamples");return W.length?((wt=Ee.availableLanguages)==null?void 0:wt.filter(br=>W.includes(br.lang)))||[]:Ee.availableLanguages||[]}function sr(){const W=Cs(Ae,"codeSamples");return W.generator||(W.generator=ar.codeSamples.generator),W.generator}function P(){const W=Cs(Ae,"codeSamples");return W.defaultHeaders||(W.defaultHeaders=ar.codeSamples.defaultHeaders),W.defaultHeaders}function G(W){const Ee=Cs(Ae,"codeSamples");W.defaultLang&&(Ee.defaultLang=W.defaultLang),W.availableLanguages&&ee(W.availableLanguages),W.generator&&(Ee.generator=W.generator),W.defaultHeaders&&(Ee.defaultHeaders=W.defaultHeaders)}function ee(W){const Ee=Cs(Ae,"codeSamples");Ee.availableLanguages=W}function be(){return Ae.linksPrefixes}function Me(W){const Ee=Cs(Ae,"linksPrefixes");W.tags&&(Ee.tags=W.tags),W.operations&&(Ee.operations=W.operations)}function Fe(){var W;return(W=Ae==null?void 0:Ae.linksPrefixes)==null?void 0:W.tags}function Ze(){var W;return(W=Ae==null?void 0:Ae.linksPrefixes)==null?void 0:W.operations}function we(){return Ae.server}function pt(W){const Ee=Cs(Ae,"server");W.allowCustomServer!==void 0&&(Ee.allowCustomServer=W.allowCustomServer),W.getServers!==void 0&&(Ee.getServers=W.getServers)}function St(){var W;return((W=Ae.server)==null?void 0:W.allowCustomServer)||!1}function rr(){return Ae.markdown}function Ve(){var W;return((W=Ae.markdown)==null?void 0:W.externalLinksNewTab)??!1}function Ft(W){const Ee=Cs(Ae,"markdown");if(W.operationLink!==void 0)if(W.operationLink===!1)Ee.operationLink=!1;else{const wt=Cs(Ee,"operationLink");W.operationLink.linkPrefix!==void 0&&(wt.linkPrefix=W.operationLink.linkPrefix),W.operationLink.transformHref!==void 0&&(wt.transformHref=W.operationLink.transformHref)}W.externalLinksNewTab!==void 0&&(Ee.externalLinksNewTab=W.externalLinksNewTab),W.config!==void 0&&(Ee.config=W.config)}function _r(){var W;return(W=Ae.markdown)==null?void 0:W.operationLink}function Bn(){var W;return((W=Ae==null?void 0:Ae.storage)==null?void 0:W.prefix)??SN}function Nr(W){const Ee=Cs(Ae,"storage");W.prefix!==void 0&&(Ee.prefix=W.prefix),W.persistAuth!==void 0&&(Ee.persistAuth=W.persistAuth)}function Sr(){var W;return((W=Ae==null?void 0:Ae.storage)==null?void 0:W.persistAuth)??CN}return{isDark:Nte,schemaConfig:Ae.requestBody,reset:r,getState:n,getLocale:o,setLocale:s,getHighlighterTheme:i,getSchemaDefaultView:l,getRequestBodyDefaultView:l,setSchemaDefaultView:c,setRequestBodyDefaultView:c,getShowBaseURL:u,setShowBaseURL:d,getJsonViewerDeep:p,setJsonViewerDeep:f,getJsonViewerRenderer:m,setJsonViewerRenderer:v,getSchemaViewerDeep:g,setSchemaViewerDeep:y,getHeadingLevels:b,getHeadingLevel:w,setHeadingLevels:k,getResponseCodeSelector:x,setResponseCodeSelector:j,getResponseCodeMaxTabs:_,setResponseCodeMaxTabs:C,getResponseBodyDefaultView:A,setResponseBodyDefaultView:I,getPlaygroundJsonEditorMode:M,setPlaygroundJsonEditorMode:N,getPlaygroundJsonEditorMainMenuBar:F,setPlaygroundJsonEditorMainMenuBar:z,getPlaygroundJsonEditorNavigationBar:L,setPlaygroundJsonEditorNavigationBar:X,getPlaygroundJsonEditorStatusBar:V,setPlaygroundJsonEditorStatusBar:J,getPlaygroundExamplesBehavior:oe,setPlaygroundExamplesBehavior:H,getPlaygroundXExampleBehavior:B,setPlaygroundXExampleBehavior:se,getSecurityDefaultScheme:q,setSecurityDefaultScheme:O,getOperationBadges:D,setOperationBadges:Z,getOperationSlots:Se,setOperationSlots:ie,getOperationHiddenSlots:re,setOperationHiddenSlots:xe,getOperationCols:R,setOperationCols:te,getOperationDefaultBaseUrl:ne,getOperationServers:me,getI18nConfig:kt,setI18nConfig:ft,getSpecConfig:Ue,getWrapExamples:gt,getSpecDisableDownload:Ge,setSpecConfig:_t,getCodeSamplesDefaultLang:It,getCodeSamplesAvailableLanguages:vt,getCodeSamplesGenerator:sr,getCodeSamplesDefaultHeaders:P,setCodeSamplesConfig:G,getLinksPrefixesConfig:be,setLinksPrefixesConfig:Me,getTagsLinkPrefix:Fe,getOperationsLinkPrefix:Ze,getServerConfig:we,setServerConfig:pt,getServerAllowCustomServer:St,getMarkdownConfig:rr,getExternalLinksNewTab:Ve,setMarkdownConfig:Ft,getOperationLinkConfig:_r,getStoragePrefix:Bn,getStoragePersistAuth:Sr,setStorageConfig:Nr}}function Up(e){if(e instanceof Promise)return e.then(sk).catch(ik);try{const t=e();return t instanceof Promise?t.then(sk).catch(ik):sk(t)}catch(t){return ik(t)}}const sk=e=>[e,null],ik=e=>[null,new Rte(e)];let Rte=class EN extends Error{constructor(t){super("thrown error",{cause:t}),this.cause=t,Error.captureStackTrace&&Error.captureStackTrace(this,EN)}};function lg(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function"){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const o=`/${t}`,s=typeof e["/**"]=="function"?e["/**"]({key:t,path:r,value:n}):e["/**"],i=typeof e["/*"]=="function"?e["/*"]({key:t,path:r,value:n}):e["/*"];let a={};if(o in e)a=e[o];else if(!s&&!i)return;return a=typeof a=="function"?a({key:t,path:r,value:n}):a,i&&(a=Object.assign(Object.assign({},i),a)),s?Object.assign(Object.assign({"/**":e["/**"]},s),a):a},ON=e=>{const t={},r=e.reduce((n,o)=>(Object.keys(o).forEach(s=>n.add(s)),n),new Set);for(const n of r.keys()){const o=e.filter(s=>n in s);if(o.length!==1){if(n.charAt(0)!=="/")throw new Error(`Cannot merge rules. Duplicate key: ${n}. Rules should not have same Rule key`);t[n]=(s,i)=>{const a=o.map(l=>typeof l[n]=="function"?l[n](s,i):l[n]);return ON(a)}}else t[n]=o[0][n]}return t},Tc=e=>typeof e=="object"&&e!==null,ak=e=>Array.isArray(e),zte=(e,t,r={})=>{var n,o;t=ak(t)?t:[t];const s=ak(r.rules)?ON(r.rules):r.rules,i=[{data:e,state:r.state,path:[],keys:[],keyIndex:-1,rules:s}];for(;i.length>0;){const a=i[i.length-1];if(a.keyIndex>=a.keys.length){for(;!((n=a.hooks)===null||n===void 0)&&n.length;)a.hooks.pop()();i.pop();continue}const l=a.keys[a.keyIndex++],[c,u,d]=i.length>1?[a.data[l],[...a.path,l],qte(a.rules,l,[...a.path,l],a.data[l])]:[a.data,a.path,s];let p={value:c,path:u,key:l,state:a.state,rules:d};const f=[];for(const m of t){if(!m||typeof m!="function")continue;const v=(o=m(p))!==null&&o!==void 0?o:{},{terminate:g,done:y,exitHook:b}=v,w=Bte(v,["terminate","done","exitHook"]);if(g)return;if(b&&f.push(b),p=Object.assign(Object.assign({},p),w),y){p=null;break}}if(p&&Tc(p.value)){const m=ak(p.value)?[...p.value.keys()]:Object.keys(p.value);i.push({hooks:f,state:p.state,data:p.value,path:u,keys:m,keyIndex:0,rules:p.rules})}else for(;f.length;)f.pop()()}},Fte=()=>{const e=new WeakMap;let t;return[({value:r})=>{t=r},({value:r,path:n,key:o,state:s})=>{if(o=n.length?o:"#",Tc(t)&&Tc(r)){if(e.has(t))return s.node[o]=e.get(t),{done:!0};const i=Array.isArray(r)?[]:{};s.node[o]=i,e.set(t,i)}else s.node[o]=r;return{value:r,state:Object.assign(Object.assign({},s),{node:s.node[o]})}}]};let $N=class extends Map{add(t,r){const n=this.get(t);return n?n.push(r):this.set(t,[r]),this}};const Vte=(e,t)=>{const r={};for(const n of t)n in e&&(r[n]=e[n],delete e[n]);return r},TN=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t))return[...e,...t];if(Tc(e)&&Tc(t)){const r=Object.assign({},e);for(const n of Object.keys(t))r[n]=TN(r[n],t[n]);return r}return t},v_=e=>e&&e.$ref&&typeof e.$ref=="string",Ute=e=>e&&e.anyOf&&Array.isArray(e.anyOf),Hte=e=>e&&e.oneOf&&Array.isArray(e.oneOf),PN=(e,t="")=>{const[r=t,n]=e.split("#"),o=n&&n!=="/"?n:"";return{filePath:r,pointer:o,normalized:Wte(r,o),jsonPath:DN(o)}},Wte=(e,t)=>e?`${e}${t?"#"+t:""}`:t?`#${t}`:"#",IN=(e,t,r=[t])=>{if(!Tc(e))return;let n=e;const o=DN(t);for(const s of o)if(Array.isArray(n)&&n.length>+s)n=n[+s];else if(Tc(n)&&s in n)n=n[s];else{if(!v_(n))return;{const i=PN(n.$ref);n=i.filePath||r.includes(i.pointer)?void 0:IN(e,i.pointer,[...r,i.pointer])}}return n},Ab={slash:/\//g,tilde:/~/g,escapedSlash:/~1/g,escapedTilde:/~0/g},DN=e=>e.split("/").map(t=>decodeURIComponent(t.replace(Ab.escapedSlash,"/").replace(Ab.escapedTilde,"~"))).slice(1),bC=e=>e.length?"/"+e.map(t=>encodeURIComponent(String(t).replace(Ab.tilde,"~0").replace(Ab.slash,"~1"))).join("/"):"",Gte=(e,t)=>JSON.stringify(e)==JSON.stringify(t),Jte=e=>{let t=1;for(;e*t%1!=0;)t*=10;return t};function Kte(e){const t=e.reduce((r,n)=>Math.max(r,Jte(n)),0);return e.reduce((r,n)=>Math.round(r*t*n*t/MN(r*t,n*t))/t)}function MN(e,t){return t===0?e:MN(t,e%t)}const LN=e=>{if(e.length===0)return[[]];const t=e[0],r=e.slice(1),n=LN(r),o=[];for(const s of t)for(const i of n)o.push([s,...i]);return o},Qte=e=>{const t=[];for(const r of e){if(!("properties"in r))continue;const n=new Set(Object.keys(r.properties)),o=new $N;for(const i of n.values())for(const a of e)if(!(a==r||a.properties&&i in a.properties))if("patternProperties"in a&&a.patternProperties)for(const l of Object.keys(a.patternProperties))new RegExp(l).test(i)||n.delete(i);else"additionalProperties"in a&&(a.additionalProperties===!1?n.delete(i):typeof a.additionalProperties=="object"&&o.add(i,a.additionalProperties));if(!n.size)continue;const s={};for(const i of n.values())o.has(i)?s[i]={allOf:[r.properties[i],...o.get(i)]}:s[i]=r.properties[i];t.push(s)}return t},Zte=e=>{const t=[];for(const r of e){if(!("patternProperties"in r))continue;const n=new Set(Object.keys(r.patternProperties));for(const s of e)if(s!=r&&"additionalProperties"in s&&!s.additionalProperties)for(const i of n.values())s.patternProperties&&i in s.patternProperties||n.delete(i);if(!n.size)continue;const o={};for(const s of n.values())o[s]=r.patternProperties[s];t.push(o)}return t},VO=e=>{const t={},r=wC(e);for(const[n,o]of Object.entries(r))o.includes(!1)?t[n]=!1:t[n]=o.length>1?{allOf:o}:o[0];return t},Xte=(e,t)=>!!e.reduce((r,n)=>r&&n===!0,!0)||mv(e,t),Yte=()=>"Could not merge values, they are probably incompatible",ere=e=>`Merge rule not found for key: ${e}`,wC=e=>{const t={};for(const r of e)for(const n of Object.keys(r))Array.isArray(t[n])?t[n].push(r[n]):t[n]=[r[n]];return t},mv=(e,t)=>{if(e.includes(!1))return!1;const r={},n=wC(e);"properties"in n&&(n.properties=Qte(e)),"patternProperties"in n&&(n.patternProperties=Zte(e));for(let[o,s]of Object.entries(n)){if(!s.length)continue;const i=t.mergeRules;let a=`/${o}`in i?i[`/${o}`]:i["/?"];a=a&&!("$"in a)&&"/"in a?a["/"]:a,a=typeof a=="function"?a():a;const l=a&&"$"in a?a.$:void 0;if(!l)throw new Error(ere(o));const c=s.length>1?l(s,Object.assign(Object.assign({},t),{allOfItems:e})):s[0];c===void 0?t.mergeError(s):r[o]=c}return Object.keys(r).length?r:void 0},fl=e=>e[e.length-1],Cd=e=>e.reduce((t,r)=>t||r,!1),nm=e=>Math.min(...e),om=e=>Math.max(...e),tre=e=>e.length>1?e.reduce((t,r)=>`${t}(?=${r})`,""):e[0],NN=([e,...t])=>t.reduce((r,n)=>r.filter(o=>n.includes(o)),e),rre=([e,...t])=>t.find(r=>!Gte(r,e))?void 0:e,Yi=([e,...t])=>t.reduce((r,n)=>TN(r,n),e),Fm=e=>LN(e).map(t=>({allOf:t})),nre=e=>({anyOf:e}),ore=e=>Kte(e),sre=(e,t)=>{const r=e.map(o=>o.map(s=>JSON.stringify(s))),n=NN(r).map(o=>JSON.parse(o)).sort();return n.length||t.mergeError(e),n},ire=(e,t)=>{const r=e.map(o=>Array.isArray(o)?o:[o]),n=NN(r);return n.length===1?n[0]:n.length?n:void 0},RN=e=>{const t=new Set;for(const r of e)for(const n of r)t.add(n);return Array.from(t).sort()},are=(e,t)=>{const r={},n=wC(e);for(const[o,s]of Object.entries(n))if(s.reduce((i,a)=>i&&Array.isArray(a),!0))r[o]=RN(s);else{const i=s.map(a=>Array.isArray(a)?{required:a}:a);r[o]=i.length>1?{allOf:i}:i[0]}return r},BN=(e,t)=>{if(!e.reduce((l,c)=>Array.isArray(c)||l,!1))return mv(e,t);const r=[];let n=1/0,o=0;const s=new $N;for(const l of t.allOfItems)"additionalItems"in l&&l.additionalItems&&"items"in l&&Array.isArray(l.items)&&s.add(l.items.length,l.additionalItems),"items"in l&&(r.push(l.items),Array.isArray(l.items)&&(o=Math.max(o,l.items.length),"additionalItems"in l&&l.additionalItems===!1&&(n=Math.min(n,l.items.length))));const i=Math.min(o,n),a=[...Array(i)].map(()=>({allOf:[]}));for(const l of r)if(Array.isArray(l))for(let c=0;cc.push(l));return a},lre=(e,t)=>{const r=[],n=[];for(const o of t.allOfItems)"items"in o&&!Array.isArray(o.items)&&n.push(o.items),"additionalItems"in o&&"items"in o&&Array.isArray(o.items)&&r.push(o.additionalItems);return n.length&&r.forEach(o=>o.allOf=n),mv(r,t)},ms=(e="draft-06",t={})=>Object.assign(Object.assign(Object.assign(Object.assign({"/maximum":{$:nm},"/exclusiveMaximum":{$:Cd},"/minimum":{$:om},"/exclusiveMinimum":{$:Cd},"/maxLength":{$:nm},"/minLength":{$:om},"/maxItems":{$:nm},"/minItems":{$:om},"/uniqueItems":{$:Cd},"/maxProperties":{$:nm},"/minProperties":{$:om},"/required":{$:RN},"/multipleOf":{$:ore},"/enum":{$:sre},"/type":{$:ire},"/allOf":{"/*":()=>ms(e,t),$:Fm},"/not":{$:nre},"/oneOf":{"/*":()=>ms(e,t),$:Fm,sibling:["definitions","$defs","$id","$schema"]},"/anyOf":{"/*":()=>ms(e,t),$:Fm,sibling:["definitions","$defs","$id","$schema"]},"/properties":{"/*":()=>ms(e,t),$:VO},"/items":()=>Object.assign(Object.assign({},ms(e,t)),{$:BN,"/*":({key:r})=>typeof r=="number"?ms(e,t):{}}),"/additionalProperties":()=>Object.assign(Object.assign({},ms(e,t)),{$:Xte}),"/additionalItems":()=>Object.assign(Object.assign({},ms(e,t)),{$:lre}),"/patternProperties":{"/*":()=>ms(e,t),$:VO},"/pattern":{$:tre},"/readOnly":{$:Cd},"/writeOnly":{$:Cd},"/example":{$:Yi},"/examples":{$:Yi},"/deprecated":{$:Cd}},e!=="draft-04"?{"/propertyNames":()=>ms(e,t),"/contains":()=>ms(e,t),"/dependencies":{"/*":()=>ms(e,t),$:are},"/const":{$:rre},"/exclusiveMaximum":{$:nm},"/exclusiveMinimum":{$:om},"/$defs":{"/*":()=>ms(e,t),$:Yi}}:{}),{"/definitions":{"/*":()=>ms(e,t),$:Yi},"/xml":{$:Yi},"/externalDocs":{$:fl},"/description":{$:fl},"/title":{$:fl},"/format":{$:fl},"/default":{$:fl},"/?":{$:fl}}),t),{$:mv}),Vm=e=>ms(e,{"/discriminator":{$:Yi},"/oneOf":{"/*":()=>Vm(e),$:Fm,sibling:["discriminator"]},"/anyOf":{"/*":()=>Vm(e),$:Fm,sibling:["discriminator"]}}),jw=e=>e==="3.0.x"?Object.assign(Object.assign({},Vm("draft-04")),{"/items":({key:t})=>Object.assign(Object.assign({},Vm("draft-04")),{$:BN})}):Vm("draft-06"),Ld=e=>({"/*":{"/schema":jw(e)}}),UO=e=>({"/content":{"/*":{"/schema":jw(e),"/encoding":{"/headers":Ld(e)}}}}),HO=e=>({"/*":{"/headers":Ld(e),"/content":{"/*":{"/schema":jw(e),"/encoding":{"/headers":Ld(e)}}}}}),cre=(e="3.0.x")=>({"/paths":{"/*":{"/*":{"/parameters":Ld(e),"/requestBody":UO(e),"/responses":HO(e)},"/parameters":Ld(e)}},"/components":{"/schemas":{"/*":jw(e)},"/responses":HO(e),"/parameters":Ld(e),"/requestBodies":{"/*":UO(e)},"/headers":Ld(e)}}),Ed=ms("draft-06",{"/args":()=>Ed,"/nullable":{$:Cd},"/specifiedByURL":{$:fl},"/values":{$:Yi,"/*":{$:Yi,"/description":{$:fl},"/deprecated":{$:fl,"/reason":{$:fl}}}},"/interfaces":{$:Yi,"/*":{$:Yi}},"/directives":{$:Yi,"/*":()=>Object.assign(Object.assign({},Ed),{"/meta":{$:Yi}})}}),ure={"/queries":{"/*":()=>Ed},"/mutations":{"/*":()=>Ed},"/subscriptions":{"/*":()=>Ed},"/components":{"/*":{"/*":Ed},"/directives":{"/*":{"/args":()=>Ed}}}},WO=(e,t,r)=>{const n=r.sibling||[],o=e,s=t,i=o[s],a=lg(o,[typeof s=="symbol"?s:s+""]),l=Vte(a,n);return Object.keys(a).length?Object.assign({[t]:i.map(c=>({allOf:[a,c]}))},l):e},qN=(e,t,r,n)=>{const o=[],s=bC(t),i=[],a={pointer:s,data:"",refs:[]};for(const c of e)if(v_(c)&&!i.includes(c.$ref)){a.data===""&&(a.data=JSON.stringify(e));const{$ref:u}=c,d=lg(c,["$ref"]),{filePath:p,normalized:f,pointer:m}=PN(u);if(s===m)continue;const v=n.find(g=>g.refs.includes(c.$ref)&&g.data===a.data&&m!==g.pointer);if(v)return{allOfItems:[{$ref:`#${v.pointer}`}],brokenRefs:i};if(!a.refs.includes(f)){a.refs.push(f);const g=p?void 0:IN(r,m);g===void 0?(i.push(f),o.push(c)):o.push(g)}Object.keys(d).length&&o.push(d)}else o.push(c);a.refs.length&&n.push(a);const l=zN(o);return l.find(c=>v_(c)&&!i.includes(c.$ref))?qN(l,t,r,n):{allOfItems:l,brokenRefs:i}},zN=e=>{const t=[];for(const r of e)if(Tc(r))if(r.allOf&&Array.isArray(r.allOf)){const{allOf:n}=r,o=lg(r,["allOf"]),s=Object.keys(o).length?[...n,o]:n;t.push(...zN(s))}else t.push(r);return t},dre=e=>{if(typeof e!="object"||!e)return ms();if("openapi"in e&&typeof e.openapi=="string"&&/3.+/.test(e.openapi)){const t=e.openapi.startsWith("3.1")?"3.1.x":"3.0.x";return cre(t)}return"graphapi"in e&&typeof e.graphapi=="string"?ure:ms()},pre=(e,t)=>{var r;const n=(r=void 0)!==null&&r!==void 0?r:dre(e);return((o,s=[],i={})=>{var a;s=Array.isArray(s)?s:[s];const l={"#":void 0},c=Object.assign({state:Object.assign(Object.assign({},(a=i.state)!==null&&a!==void 0?a:{}),{root:l,node:l})},i.rules?{rules:i.rules}:{}),[u,d]=Fte();return zte(o,[u,...s,d],c),l["#"]})(e,fre(t),{rules:n})},fre=e=>{const t=new Map;let r;const n=[];return({value:o,key:s,path:i,rules:a,state:l})=>{var c;i.length||(r=o);const u=b=>{var w;const k=hre(i);k?t.set(...k):(w=void 0)===null||w===void 0||w.call(e,Yte(),i,b)},d=()=>{const{node:b}=l,w=bC(i);if(t.has(w)){const k=t.get(w),x=b[s];Array.isArray(x)&&(x.length<2&&u((o==null?void 0:o.allOf)||[]),x.splice(k,1))}};if(!Tc(o)||Array.isArray(o))return{exitHook:d};if(!(b=>!!b&&b["/allOf"]&&"$"in b["/allOf"])(a))return{exitHook:d};const{allOf:p}=o,f=lg(o,["allOf"]),m=[];if(Array.isArray(p)&&m.push(...p),m.length)Object.keys(f).length&&m.push(f);else{const{$ref:b}=f;lg(f,["$ref"])}if(!m.length)return{value:f,exitHook:d};const{allOfItems:v,brokenRefs:g}=qN(m,i,r,n);if(g.length){for(const b of g)(c=void 0)===null||c===void 0||c.call(e,"Cannot resolve $ref",i,b);return{value:{allOf:v},exitHook:d}}if(v.length<2)return{value:v.length?v[0]:{},exitHook:d};const y=mv(v,{allOfItems:v,mergeRules:a,mergeError:u});return e!=null&&e.mergeCombinarySibling&&Ute(y)?{value:WO(y,"anyOf",a["/anyOf"]),exitHook:d}:e!=null&&e.mergeCombinarySibling&&Hte(y)?{value:WO(y,"oneOf",a["/oneOf"]),exitHook:d}:{value:y,exitHook:d}}},hre=e=>{for(let t=e.length-2;t>=0;t--)if(e[t]==="anyOf"||e[t]==="oneOf"){const r=e.slice(0,t+1);return[bC(r),e[t+1]]}},mre=Symbol.for("__confbox_fmt__"),gre=/^(\s+)/,vre=/(\s+)$/;function yre(e,t={}){var r,n;return{sample:t.indent===void 0&&t.preserveIndentation!==!1&&e.slice(0,(t==null?void 0:t.sampleSize)||1024),whiteSpace:t.preserveWhitespace===!1?void 0:{start:((r=gre.exec(e))==null?void 0:r[0])||"",end:((n=vre.exec(e))==null?void 0:n[0])||""}}}function bre(e,t,r){!t||typeof t!="object"||Object.defineProperty(t,mre,{enumerable:!1,configurable:!0,writable:!0,value:yre(e,r)})}function FN(e){return e==null}function wre(e){return typeof e=="object"&&!!e}function xre(e){return Array.isArray(e)?e:FN(e)?[]:[e]}function kre(e,t){var r,n,o,s;if(t)for(s=Object.keys(t),r=0,n=s.length;r`let ${e} = ${g_(t,r)}`,g_=(e,t,r)=>{const n=r===void 0?1:r+1;switch(Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":{let o=!1;const s=e.map(i=>(Object.prototype.toString.call(i)==="[object Object]"&&(o=Object.keys(i).length>1),g_(i,t,n)));return qO(s,o,t.indent,n)}case"[object Object]":{const o=[],s=e;for(const i in s)Object.hasOwn(s,i)&&o.push(`"${i}": ${g_(s[i],t,n)}`);return qO(o,t.pretty&&o.length>1,t.indent,n)}case"[object Boolean]":return e.toString();default:return e==null?"":`"${e.toString().replace(/"/g,'\\"')}"`}},QZ={info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,fullUrl:r,method:n},o)=>{let s;const i={indent:" ",pretty:!0,timeout:"10",...o},{push:a,blank:l,join:c}=new Fo({indent:i.indent}),u={hasHeaders:!1,hasBody:!1};if(a("import Foundation"),Object.keys(e).length&&(u.hasHeaders=!0,l(),a(nk("headers",e,i))),t&&(t.text||t.jsonObj||t.params))switch(u.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(l(),!((s=t.params)===null||s===void 0)&&s.length){const[d,...p]=t.params;a(`let postData = NSMutableData(data: "${d.name}=${d.value}".data(using: String.Encoding.utf8)!)`),p.forEach(({name:f,value:m})=>{a(`postData.append("&${f}=${m}".data(using: String.Encoding.utf8)!)`)})}else u.hasBody=!1;break;case"application/json":t.jsonObj&&(a(`${nk("parameters",t.jsonObj,i)} as [String : Any]`),l(),a("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])"));break;case"multipart/form-data":a(nk("parameters",t.params,i)),l(),a(`let boundary = "${t.boundary}"`),l(),a('var body = ""'),a("var error: NSError? = nil"),a("for param in parameters {"),a('let paramName = param["name"]!',1),a('body += "--\\(boundary)\\r\\n"',1),a('body += "Content-Disposition:form-data; name=\\"\\(paramName)\\""',1),a('if let filename = param["fileName"] {',1),a('let contentType = param["content-type"]!',2),a("let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)",2),a("if (error != nil) {",2),a("print(error as Any)",3),a("}",2),a('body += "; filename=\\"\\(filename)\\"\\r\\n"',2),a('body += "Content-Type: \\(contentType)\\r\\n\\r\\n"',2),a("body += fileContent",2),a('} else if let paramValue = param["value"] {',1),a('body += "\\r\\n\\r\\n\\(paramValue)"',2),a("}",1),a("}");break;default:l(),a(`let postData = NSData(data: "${t.text}".data(using: String.Encoding.utf8)!)`)}return l(),a(`let request = NSMutableURLRequest(url: NSURL(string: "${r}")! as URL,`),a(" cachePolicy: .useProtocolCachePolicy,"),a(` timeoutInterval: ${Number.parseInt(i.timeout,10).toFixed(1)})`),a(`request.httpMethod = "${n}"`),u.hasHeaders&&a("request.allHTTPHeaderFields = headers"),u.hasBody&&a("request.httpBody = postData as Data"),l(),a("let session = URLSession.shared"),a("let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in"),a("if (error != nil) {",1),a("print(error as Any)",2),a("} else {",1),a("let httpResponse = response as? HTTPURLResponse",2),a("print(httpResponse)",2),a("}",1),a("})"),l(),a("dataTask.resume()"),c()}},ZZ={target:"swift",client:"nsurlsession",title:"NSURLSession",generate(e){return Ro(QZ,e)}},ok=[{key:"c",title:"C",default:"libcurl",clients:[NK]},{key:"csharp",title:"C#",default:"restsharp",clients:[JK,eQ]},{key:"clojure",title:"Clojure",default:"clj_http",clients:[BK]},{key:"dart",title:"Dart",default:"http",clients:[tQ]},{key:"fsharp",title:"F#",default:"httpclient",clients:[rQ]},{key:"go",title:"Go",default:"native",clients:[hQ]},{key:"http",title:"HTTP",default:"http1.1",clients:[mQ]},{key:"java",title:"Java",default:"unirest",clients:[vQ,bQ,xQ,jQ]},{key:"js",title:"JavaScript",default:"fetch",clients:[oZ,tZ,aZ,iZ,cZ]},{key:"kotlin",title:"Kotlin",default:"okhttp",clients:[dZ]},{key:"node",title:"Node.js",default:"fetch",clients:[hZ,fZ,mZ,gZ]},{key:"objc",title:"Objective-C",default:"nsurlsession",clients:[yZ]},{key:"ocaml",title:"OCaml",default:"cohttp",clients:[wZ]},{key:"php",title:"PHP",default:"curl",clients:[xZ,kZ]},{key:"powershell",title:"PowerShell",default:"webrequest",clients:[CZ,_Z]},{key:"python",title:"Python",default:"python3",clients:[$Z,TZ,EZ,AZ]},{key:"r",title:"R",default:"httr",clients:[IZ]},{key:"ruby",title:"Ruby",default:"native",clients:[MZ]},{key:"rust",title:"Rust",default:"reqwest",clients:[RZ]},{key:"shell",title:"Shell",default:"curl",clients:[UZ,KZ,GZ]},{key:"swift",title:"Swift",default:"nsurlsession",clients:[ZZ]}];function XZ(){function e(t,r){var n;return(n=ok.find(({key:o})=>o===t))==null?void 0:n.clients.find(o=>o.client===r)}return{print(t,r,n){var o;return(o=e(t,r))==null?void 0:o.generate(n)},clients(){return ok},plugins(){return ok.flatMap(({key:t,clients:r})=>r.map(n=>({target:t,client:n.client})))},findPlugin:e,hasPlugin(t,r){return!!e(t,r)}}}const YZ=/^(?:application|text)\/.*json(?:$|;|\+)/,eX=/^(?:text|application)\/.*xml(?:$|;|\+)/,tX=/^application\/x-www-form-urlencoded(?:$|;|\+)/,rX=/^multipart\/form-data(?:$|;|\+)/,nX=/^text\/plain(?:$|;|\+)/,oX=/^(?:application|image|video|audio)\/.*$/;function bL(e){return YZ.test(e.toLowerCase())}function mC(e){return eX.test(e.toLowerCase())}function bw(e){return tX.test(e.toLowerCase())}function ww(e){return rX.test(e.toLowerCase())}function sX(e){return nX.test(e.toLowerCase())}function iX(e){return bL(e)||mC(e)||bw(e)||ww(e)||sX(e)?!1:oX.test(e.toLowerCase())}const aX=/\b\w/g;function lX(e){const t={method:e.method.toUpperCase(),url:decodeURI(e.url.toString()),httpVersion:"HTTP/1.1",headers:Object.entries(e.headers).map(([r,n])=>({name:r.replace(aX,o=>o.toUpperCase()),value:n})),queryString:[...Object.entries(e.query).flatMap(([r,n])=>Array.isArray(n)?n.map(o=>({name:r,value:String(o)})):[{name:r,value:typeof n=="object"?JSON.stringify(n):String(n)}])],cookies:Object.entries(e.cookies).map(([r,n])=>({name:r,value:n})),headersSize:-1,bodySize:-1};if(e.body!==void 0)if(typeof e.body=="string")t.postData={mimeType:e.contentType||"application/json",text:e.body};else if(e.body instanceof FormData){const r={};e.body.forEach((n,o)=>{if(n instanceof File)r[o]={type:"file",text:"BINARY",name:n.name,size:n.size,mimeType:n.type||"application/octet-stream"};else{const s=e.body.getAll(o);s.length>1?r[o]=s:r[o]=s[0]}}),t.postData={mimeType:e.contentType||"multipart/form-data",params:Object.entries(r).map(([n,o])=>typeof o=="object"&&o!==null&&"text"in o?{name:n,value:o.text,fileName:o.name,contentType:o.mimeType}:{name:n,value:String(o)})}}else typeof e.body=="object"&&(e.contentType&&(bw(e.contentType)||ww(e.contentType))?t.postData={mimeType:e.contentType,params:Object.entries(e.body).map(([r,n])=>({name:r,value:String(n)}))}:t.postData={mimeType:e.contentType||"application/json",text:JSON.stringify(e.body)});return t}function zO(e,t){if(Array.isArray(e)){if(e.length===0)return{matched:!1,value:void 0};const r=e[0];return t&&r&&typeof r=="object"&&"value"in r?{matched:!0,value:r.value}:t?{matched:r!=null,value:r}:{matched:!0,value:r}}if(e&&typeof e=="object"){const r=Object.keys(e);if(r.length===0)return{matched:!1,value:void 0};const n=r[0],o=e[n];return o&&typeof o=="object"&&"value"in o?{matched:!0,value:o.value}:{matched:o!==void 0,value:o}}return{matched:!1,value:void 0}}function gC(e){var t;return(e==null?void 0:e["x-playground-example"])!==void 0?e["x-playground-example"]:((t=e==null?void 0:e.schema)==null?void 0:t["x-playground-example"])!==void 0?e.schema["x-playground-example"]:null}function vC(e){var t,r,n;if((e==null?void 0:e.example)!==void 0)return e.example;if((e==null?void 0:e.examples)!==void 0){const o=zO(e.examples,!1);if(o.matched)return o.value}if(((t=e==null?void 0:e.schema)==null?void 0:t.example)!==void 0)return e.schema.example;if(((r=e==null?void 0:e.schema)==null?void 0:r.examples)!==void 0){const o=zO(e.schema.examples,!0);if(o.matched)return o.value}return(e==null?void 0:e.subexample)!==void 0?e.subexample:e!=null&&e.subexamples&&((n=e==null?void 0:e.subexamples)==null?void 0:n.length)>0?e.subexamples[0]:null}function hv(e){return gC(e)??vC(e)}function Cb(e,t="http://localhost"){return URL.canParse(e)?e:(console.error("Failed to resolve base URL:",e),t)}class wL{constructor({baseUrl:t,path:r,url:n,method:o,parameters:s,authorizations:i,body:a,variables:l,headers:c,query:u,contentType:d,cookies:p}){Re(this,"baseUrl");Re(this,"path");Re(this,"url");Re(this,"method");Re(this,"parameters");Re(this,"authorizations");Re(this,"body");Re(this,"variables");Re(this,"headers");Re(this,"query");Re(this,"contentType");Re(this,"cookies");const f=n||(t&&r?new URL(`${t}${r}`):new URL(kw));this.baseUrl=t,this.path=r,this.url=f,this.method=o,this.parameters=s,this.authorizations=i,this.body=a,this.variables=l||{},this.headers=c||{},this.query=u||{},this.contentType=d,this.cookies=p||{}}}function yC(e,t,r){const n=new Set(t.map(o=>o.name));for(const[o,s]of Object.entries(e))n.has(o)&&(s===void 0||s===""||r(o,String(s)))}function cX(e,t,r=""){let n=r;return yC(e,t,(o,s)=>{n=n.replace(`{${o}}`,s)}),n}function uX(e,t,r,n){const o=new Headers;if(e)if(e instanceof Headers)for(const[s,i]of e.entries())o.set(s.toLowerCase(),i);else for(const[s,i]of Object.entries(e))o.set(s.toLowerCase(),i);return yC(t,r,(s,i)=>{o.set(s.toLowerCase(),i)}),dX(n).forEach((s,i)=>{o.set(i.toLowerCase(),s)}),Object.fromEntries(o)}function dX(e){const t=new Headers;if(!e)return t;const r=Array.isArray(e)?e:[e];if(r.length===0)return t;for(const n of r){if(!(n!=null&&n.type))continue;const o=S(n.value??n.name??"");if(!o){console.warn("Empty value for authorization scheme:",n.type);continue}switch(n.type){case"http":t.set("Authorization",o);break;case"apiKey":(!n.in||n.in==="header")&&t.set(n.name??"",o);break;case"openIdConnect":case"oauth2":t.set("Authorization",`Bearer ${o}`);break;default:console.warn("Unknown authorization type:",n.type)}}return t}function xL(e,t){const r={};return Object.entries(t).forEach(([n,o])=>{if(o!==null&&typeof o=="object"&&!Array.isArray(o)){const s=xL(`${e}[${n}]`,o);Object.assign(r,s)}else Array.isArray(o)?o.some(s=>s!==null&&typeof s=="object")?r[`${e}[${n}]`]=JSON.stringify(o):r[`${e}[${n}]`]=o.join(","):o!==null&&typeof o=="object"?r[`${e}[${n}]`]=JSON.stringify(o):r[`${e}[${n}]`]=String(o)}),r}function pX(e,t,r="form",n=!0){if(t==null||t==="")return{};if(Array.isArray(t)){const o=i=>Array.isArray(i)||i!==null&&typeof i=="object"?JSON.stringify(i):String(i),s=t.map(o);return r==="spaceDelimited"?n?{[e]:s}:{[e]:s.join(" ")}:r==="pipeDelimited"?n?{[e]:s}:{[e]:s.join("|")}:r==="form"?n?{[e]:s}:{[e]:s.join(",")}:{[e]:n?s:s.join(",")}}if(typeof t=="object"){if(r==="deepObject"){if(n)return xL(e,t);{const o=Object.entries(t).map(([s,i])=>`${s},${i}`).join(",");return{[e]:o}}}if(r==="form"){if(n)return Object.entries(t).reduce((o,[s,i])=>{if(Array.isArray(i)){const a=i.some(l=>l!==null&&typeof l=="object");o[s]=a?JSON.stringify(i):i.join(",")}else i!==null&&typeof i=="object"?o[s]=JSON.stringify(i):o[s]=String(i);return o},{});{const o=Object.entries(t).map(([s,i])=>{let a;return Array.isArray(i)?a=i.some(l=>l!==null&&typeof l=="object")?JSON.stringify(i):i.join(","):i!==null&&typeof i=="object"?a=JSON.stringify(i):a=String(i),`${s},${a}`}).join(",");return{[e]:o}}}return{[e]:JSON.stringify(t)}}return{[e]:String(t)}}function fX(e,t){let r={};return t.forEach(n=>{if(!n.name)return;const o=e[n.name];if(o===void 0||o==="")return;const s=n.style||"form",i=n.explode??!0,a=pX(n.name,o,s,i);r={...r,...a}}),r}function hX(e,t){const r={};return yC(e,t,(n,o)=>{r[n]=o}),r}function mX(e){const t={};if(!e)return t;const r=Array.isArray(e)?e:[e];for(const n of r)if(n!=null&&n.type&&n.type==="apiKey"&&n.in==="query"){const o=S(n.value??n.name??"");if(!o)continue;const s=n.name??"";if(!s)continue;t[s]=o}return t}function gX(e){const t={};if(!e)return t;const r=Array.isArray(e)?e:[e];for(const n of r)if(n!=null&&n.type&&n.type==="apiKey"&&n.in==="cookie"){const o=S(n.value??n.name??"");if(!o)continue;const s=n.name??"";if(!s)continue;t[s]=o}return t}function vX(e,t){return e.forEach(r=>{if(!r.name||t[r.name]!==void 0)return;const n=hv(r);n!=null&&(typeof n=="object"&&n!==null?t[r.name]=JSON.stringify(n):t[r.name]=String(n))}),t}function xw({url:e=void 0,path:t,method:r="GET",baseUrl:n,parameters:o=[],authorizations:s=[],body:i=void 0,headers:a=void 0,variables:l={},cookies:c={},contentType:u=void 0}){const d=vX(o,l),p=o.filter(j=>j.in==="path"),f=o.filter(j=>j.in==="query"),m=o.filter(j=>j.in==="header"),v=o.filter(j=>j.in==="cookie"),g=cX(d,p,t),y=(r==null?void 0:r.toUpperCase())||"GET",b={...fX(d,f),...mX(s)},w=uX(a,d,m,s),k={...c||{},...hX(d,v),...gX(s)};n=n?Cb(n):kw;const x=e?new URL(e):n?new URL(`${n}${g}`):new URL(g,"http://localhost");return u&&!(i instanceof FormData)?w["content-type"]=u:i&&!w["content-type"]&&!(i instanceof FormData)&&(w["content-type"]="application/json"),new wL({path:g,url:x,method:y,parameters:o,authorizations:s,body:["POST","PUT","PATCH","DELETE","OPTIONS","TRACE"].includes(y)&&i?i:void 0,variables:d,headers:w,query:b,cookies:k,contentType:w["content-type"]})}async function kL(e,t){const r=t instanceof wL?t:xw(t),n=lX(r),{lang:o,target:s,client:i}=e;if(!s)return console.error(`Language "${o}" has missing property "target" in availableLanguages`),"";if(!i)return console.error(`Language "${o}" has missing property "client" in availableLanguages`),"";try{return XZ().print(s,i,n)??""}catch(a){return console.error(a,t),""}}const yX=e=>e!==null&&typeof e=="object",bX=Array.isArray;function jL(e){const t=yc(e)?S(e):e;return yX(t)?bX(t)?wX(t):xX(t):t}function _L(e){return e!==null&&!yc(e)&&typeof e=="object"?jL(e):S(e)}function wX(e){return e.map(t=>_L(t))}function xX(e){const t={};return Object.keys(e).forEach(r=>{const n=r;t[n]=_L(e[n])}),t}const kX="Response",jX="Responses",_X="Loading...",SX="Samples",CX="Parameters",AX="Required",EX="Key",OX="Value",$X="Variables",TX="Type",PX="Headers",IX="Schema",DX="Authorizations",MX="Authorization",NX="Deprecated",LX="Body",RX="License",BX="Contact",qX="Servers",zX="Server",FX="Select...",VX="Operations",UX="Default",HX="Example",WX="Examples",GX="or",JX="Enum",KX="Playground",QX="Collapse",ZX="Expand",XX="Format",YX="Maximum",eY="Minimum",tY="Pattern",rY={Response:kX,Responses:jX,"Try it out":"Try it out",Loading:_X,Samples:SX,"Response time":"Response time",Parameters:CX,"Path Parameters":"Path Parameters","Query Parameters":"Query Parameters",Required:AX,Key:EX,Value:OX,Variables:$X,"Powered by":"Powered by",Type:TX,"Header Parameters":"Header Parameters",Headers:PX,"Request Body":"Request Body",Schema:IX,JSON:"JSON",Authorizations:DX,Authorization:MX,"Use example":"Use example",Deprecated:NX,Body:LX,"Terms of Service":"Terms of Service",License:RX,Contact:BX,"API Documentation":"API Documentation","External Documentation":"External Documentation",Servers:qX,Server:zX,"Your browser does not support the audio element.":"Your browser does not support the audio element.","Unrecognized response type. Raw content:":"Unrecognized response type. Raw content:","Download file":"Download file",Select:FX,"operation.badgePrefix.operationId":"ID: ","Content-Type":"Content-Type","Hide operations":"Hide operations","Show operations":"Show operations",Operations:VX,Default:UX,Example:HX,Examples:WX,"tags.goTo":"View {tag} operations",or:GX,Enum:JX,"Copy endpoint":"Copy endpoint","Custom Server":"Custom Server","Enter a custom server URL":"Enter a custom server URL","Select a server":"Select a server...","Select an example":"Select an example",Playground:KX,"Collapse all":"Collapse all","Expand all":"Expand all",Collapse:QX,Expand:ZX,"Download OpenAPI Document":"Download OpenAPI Document","Any of":"Any of","Valid values":"Valid values","Exclusive Maximum":"Exclusive Maximum","Exclusive Minimum":"Exclusive Minimum",Format:XX,Maximum:YX,"Max Items":"Max Items","Max Length":"Max Length","Max Properties":"Max Properties",Minimum:eY,"Min Items":"Min Items","Min Length":"Min Length","Min Properties":"Min Properties","Multiple of":"Multiple of",Pattern:tY,"Unique Items":"Unique Items","Add Field":"Add Field","Click to set in playground":"Click to set in playground"},nY="Respuesta",oY="Respuestas",sY="Cargando...",iY="Ejemplos",aY="Parámetros",lY="Requerido",cY="Key",uY="Value",dY="Variables",pY="Tipo",fY="Headers",hY="Schema",mY="Autorizaciones",gY="Autorización",vY="Obsoleto",yY="Cuerpo",bY="Licencia",wY="Contacto",xY="Servidores",kY="Servidor",jY="Seleccionar...",_Y="Operaciones",SY="Por defecto",CY="Ejemplo",AY="Ejemplos",EY="o",OY="Enum",$Y="Playground",TY="Colapsar",PY="Expandir",IY="Formato",DY="Máximo",MY="Mínimo",NY="Patrón",LY={Response:nY,Responses:oY,"Try it out":"Probar",Loading:sY,Samples:iY,"Response time":"Tiempo de respuesta",Parameters:aY,"Path Parameters":"Path Parameters","Query Parameters":"Query Parameters",Required:lY,Key:cY,Value:uY,Variables:dY,"Powered by":"Powered by",Type:pY,"Header Parameters":"Header Parameters",Headers:fY,"Request Body":"Cuerpo de la petición",Schema:hY,JSON:"JSON",Authorizations:mY,Authorization:gY,"Use example":"Usar ejemplo",Deprecated:vY,Body:yY,"Terms of Service":"Términos de servicio",License:bY,Contact:wY,"API Documentation":"Documentación de la API","External Documentation":"Documentación externa",Servers:xY,Server:kY,"Your browser does not support the audio element.":"Tu navegador no soporta el elemento de audio.","Unrecognized response type. Raw content:":"Tipo de respuesta no reconocido. Contenido en crudo:","Download file":"Descargar archivo",Select:jY,"operation.badgePrefix.operationId":"ID: ","Content-Type":"Content-Type","Hide operations":"Ocultar operaciones","Show operations":"Mostrar operaciones",Operations:_Y,Default:SY,Example:CY,Examples:AY,"tags.goTo":"Ver operaciones de {tag}",or:EY,Enum:OY,"Copy endpoint":"Copiar endpoint","Custom Server":"Servidor personalizado","Enter a custom server URL":"Introduce una URL de servidor personalizada","Select a server":"Selecciona un servidor...","Select an example":"Selecciona un ejemplo",Playground:$Y,"Collapse all":"Colapsar todo","Expand all":"Expandir todo",Collapse:TY,Expand:PY,"Download OpenAPI Document":"Descargar Documento OpenAPI","Any of":"Cualquiera de","Valid values":"Valores válidos","Exclusive Maximum":"Máximo exclusivo","Exclusive Minimum":"Mínimo exclusivo",Format:IY,Maximum:DY,"Max Items":"Máx. elementos","Max Length":"Longitud máx.","Max Properties":"Máx. propiedades",Minimum:MY,"Min Items":"Mín. elementos","Min Length":"Longitud mín.","Min Properties":"Mín. propiedades","Multiple of":"Múltiplo de",Pattern:NY,"Unique Items":"Elementos únicos","Add Field":"Agregar campo","Click to set in playground":"Clic para usar en el playground"},RY="レスポンス",BY="レスポンス",qY="Loading...",zY="サンプル",FY="パラメータ",VY="必須",UY="キー",HY="値",WY="変数",GY="型",JY="ヘッダー",KY="スキーマ",QY="認証",ZY="認証",XY="非推奨",YY="ボディ",eee="ライセンス",tee="連絡先",ree="サーバー",nee="サーバー",oee="選択...",see="オペレーション",iee="デフォルト",aee="例",lee="例",cee="or",uee="Enum",dee="Playground",pee="折りたたむ",fee="展開",hee="フォーマット",mee="最大値",gee="最小値",vee="パターン",yee={Response:RY,Responses:BY,"Try it out":"実行",Loading:qY,Samples:zY,"Response time":"応答時間",Parameters:FY,"Path Parameters":"パスパラメータ","Query Parameters":"クエリパラメータ",Required:VY,Key:UY,Value:HY,Variables:WY,"Powered by":"Powered by",Type:GY,"Header Parameters":"ヘッダーパラメータ",Headers:JY,"Request Body":"リクエストボディ",Schema:KY,JSON:"JSON",Authorizations:QY,Authorization:ZY,"Use example":"例を使用",Deprecated:XY,Body:YY,"Terms of Service":"利用規約",License:eee,Contact:tee,"API Documentation":"API ドキュメント","External Documentation":"外部ドキュメント",Servers:ree,Server:nee,"Your browser does not support the audio element.":"ブラウザがオーディオ要素をサポートしていません。","Unrecognized response type. Raw content:":"認識できないレスポンスタイプ。生のコンテンツ:","Download file":"ファイルをダウンロード",Select:oee,"operation.badgePrefix.operationId":"ID: ","Content-Type":"Content-Type","Hide operations":"オペレーションを隠す","Show operations":"オペレーションを表示",Operations:see,Default:iee,Example:aee,Examples:lee,"tags.goTo":"{tag}のオペレーションを表示",or:cee,Enum:uee,"Copy endpoint":"エンドポイントをコピー","Custom Server":"カスタムサーバー","Enter a custom server URL":"カスタムサーバーの URL を入力","Select a server":"サーバーを選択...","Select an example":"例を選択",Playground:dee,"Collapse all":"すべて折りたたむ","Expand all":"すべて展開",Collapse:pee,Expand:fee,"Download OpenAPI Document":"OpenAPI ドキュメントをダウンロード","Any of":"いずれか","Valid values":"有効な値","Exclusive Maximum":"排他的最大値","Exclusive Minimum":"排他的最小値",Format:hee,Maximum:mee,"Max Items":"最大項目数","Max Length":"最大長","Max Properties":"最大プロパティ数",Minimum:gee,"Min Items":"最小項目数","Min Length":"最小長","Min Properties":"最小プロパティ数","Multiple of":"の倍数",Pattern:vee,"Unique Items":"ユニーク項目","Add Field":"フィールドを追加","Click to set in playground":"クリックしてプレイグラウンドに設定"},bee="Resposta",wee="Respostas",xee="Carregando...",kee="Exemplos",jee="Parâmetros",_ee="Obrigatório",See="Chave",Cee="Valor",Aee="Variáveis",Eee="Tipo",Oee="Cabeçalhos",$ee="Esquema",Tee="Autorizações",Pee="Autorização",Iee="Obsoleto",Dee="Corpo",Mee="Licença",Nee="Contato",Lee="Servidores",Ree="Servidor",Bee="Selecionar...",qee="Operações",zee="Padrão",Fee="Exemplo",Vee="Exemplos",Uee="ou",Hee="Enum",Wee="Playground",Gee="Recolher",Jee="Expandir",Kee="Formato",Qee="Máximo",Zee="Mínimo",Xee="Padrão",Yee={Response:bee,Responses:wee,"Try it out":"Testar",Loading:xee,Samples:kee,"Response time":"Tempo de resposta",Parameters:jee,"Path Parameters":"Parâmetros de Caminho","Query Parameters":"Parâmetros de Consulta",Required:_ee,Key:See,Value:Cee,Variables:Aee,"Powered by":"Desenvolvido por",Type:Eee,"Header Parameters":"Parâmetros de Cabeçalho",Headers:Oee,"Request Body":"Corpo da Requisição",Schema:$ee,JSON:"JSON",Authorizations:Tee,Authorization:Pee,"Use example":"Usar exemplo",Deprecated:Iee,Body:Dee,"Terms of Service":"Termos de Serviço",License:Mee,Contact:Nee,"API Documentation":"Documentação da API","External Documentation":"Documentação Externa",Servers:Lee,Server:Ree,"Your browser does not support the audio element.":"Seu navegador não suporta o elemento de áudio.","Unrecognized response type. Raw content:":"Tipo de resposta não reconhecido. Conteúdo bruto:","Download file":"Baixar arquivo",Select:Bee,"operation.badgePrefix.operationId":"ID: ","Content-Type":"Content-Type","Hide operations":"Ocultar operações","Show operations":"Exibir operações",Operations:qee,Default:zee,Example:Fee,Examples:Vee,"tags.goTo":"Ver operações de {tag}",or:Uee,Enum:Hee,"Copy endpoint":"Copiar endpoint","Custom Server":"Servidor Personalizado","Enter a custom server URL":"Digite uma URL de servidor personalizada","Select a server":"Selecione um servidor...","Select an example":"Selecione um exemplo",Playground:Wee,"Collapse all":"Recolher tudo","Expand all":"Expandir tudo",Collapse:Gee,Expand:Jee,"Download OpenAPI Document":"Baixar Documento OpenAPI","Any of":"Qualquer um dos","Valid values":"Valores válidos","Exclusive Maximum":"Máximo exclusivo","Exclusive Minimum":"Mínimo exclusivo",Format:Kee,Maximum:Qee,"Max Items":"Máx. itens","Max Length":"Comp. máx.","Max Properties":"Máx. propriedades",Minimum:Zee,"Min Items":"Mín. itens","Min Length":"Comp. mín.","Min Properties":"Mín. propriedades","Multiple of":"Múltiplo de",Pattern:Xee,"Unique Items":"Itens únicos","Add Field":"Adicionar campo","Click to set in playground":"Clique para definir no playground"},ete="响应",tte="响应",rte="加载中...",nte="示例",ote="参数",ste="必填",ite="键",ate="值",lte="变量",cte="类型",ute="请求头",dte="模式",pte="授权",fte="授权",hte="已弃用",mte="主体",gte="许可证",vte="联系方式",yte="服务器",bte="服务器",wte="选择...",xte="操作",kte="默认",jte="示例",_te="示例",Ste="或",Cte="枚举",Ate="试验场",Ete="折叠",Ote="展开",$te="格式",Tte="最大值",Pte="最小值",Ite="模式",Dte={Response:ete,Responses:tte,"Try it out":"试一试",Loading:rte,Samples:nte,"Response time":"响应时间",Parameters:ote,"Path Parameters":"路径参数","Query Parameters":"查询参数",Required:ste,Key:ite,Value:ate,Variables:lte,"Powered by":"技术支持",Type:cte,"Header Parameters":"请求头参数",Headers:ute,"Request Body":"请求体",Schema:dte,JSON:"JSON",Authorizations:pte,Authorization:fte,"Use example":"使用示例",Deprecated:hte,Body:mte,"Terms of Service":"服务条款",License:gte,Contact:vte,"API Documentation":"API 文档","External Documentation":"外部文档",Servers:yte,Server:bte,"Your browser does not support the audio element.":"您的浏览器不支持音频元素。","Unrecognized response type. Raw content:":"无法识别的响应类型。原始内容:","Download file":"下载文件",Select:wte,"operation.badgePrefix.operationId":"ID: ","Content-Type":"Content-Type","Hide operations":"隐藏操作","Show operations":"显示操作",Operations:xte,Default:kte,Example:jte,Examples:_te,"tags.goTo":"查看 {tag} 操作",or:Ste,Enum:Cte,"Copy endpoint":"复制端点","Custom Server":"自定义服务器","Enter a custom server URL":"输入自定义服务器 URL","Select a server":"选择服务器...","Select an example":"选择示例",Playground:Ate,"Collapse all":"全部折叠","Expand all":"全部展开",Collapse:Ete,Expand:Ote,"Download OpenAPI Document":"下载 OpenAPI 文档","Any of":"任意一个","Valid values":"有效值","Exclusive Maximum":"独占最大值","Exclusive Minimum":"独占最小值",Format:$te,Maximum:Tte,"Max Items":"最大项数","Max Length":"最大长度","Max Properties":"最大属性数",Minimum:Pte,"Min Items":"最小项数","Min Length":"最小长度","Min Properties":"最小属性数","Multiple of":"倍数",Pattern:Ite,"Unique Items":"唯一项","Add Field":"添加字段","Click to set in playground":"点击在 Playground 中设置"},Mte={en:rY,es:LY,ja:yee,"pt-BR":Yee,zh:Dte};function Cs(e,t){return e[t]||(e[t]={}),e[t]}function An(e,t,r,n){const o=Cs(e,t);return o[r]?n!==void 0&&(o[r].value=n):o[r]=Oe(n),o[r]}function di(e,t,r,n){let o=e;for(const s of t)o=Cs(o,s);return o[r]?n!==void 0&&(o[r].value=n):o[r]=Oe(n),o[r]}const Nte=["header","path","description","security","parameters","request-body","responses","playground","code-samples","branding","footer"],kw="http://localhost",SL="--oa",CL=!0,AL=[{lang:"curl",label:"cURL",target:"shell",client:"curl",highlighter:"bash",icon:"curl"},{lang:"javascript",label:"JavaScript",target:"js",client:"fetch",highlighter:"javascript",icon:".js"},{lang:"php",label:"PHP",target:"php",client:"curl",highlighter:"php",icon:".php"},{lang:"python",label:"Python",target:"python",client:"requests",highlighter:"python",icon:".py"}],FO="/operations/",ar={theme:{highlighterTheme:{light:ZJ,dark:QJ}},path:{showBaseURL:!1},requestBody:{defaultView:"contentType"},jsonViewer:{deep:Number.POSITIVE_INFINITY,renderer:"vue-json-pretty"},schemaViewer:{deep:1},headingLevels:{h1:1,h2:2,h3:3,h4:4,h5:5,h6:6},response:{responseCodeSelector:"tabs",maxTabs:5,body:{defaultView:"contentType"}},playground:{jsonEditor:{mode:"tree",mainMenuBar:!1,navigationBar:!1,statusBar:!1},examples:{behavior:"value",playgroundExampleBehavior:"value"}},security:{defaultScheme:null},operation:{badges:["deprecated"],slots:Nte,hiddenSlots:[],cols:2,defaultBaseUrl:kw,getServers:null},i18n:{locale:"en",fallbackLocale:"en",messages:Mte,availableLocales:[{code:"en",label:"English"},{code:"es",label:"Español"},{code:"ja",label:"Japanese"},{code:"pt-BR",label:"Português (Brasil)"},{code:"zh",label:"中文"}]},spec:{groupByTags:!0,collapsePaths:!1,showPathsSummary:!0,avoidCirculars:!1,lazyRendering:!1,defaultTag:"Default",defaultTagDescription:"",wrapExamples:!0,disableDownload:!1},codeSamples:{defaultLang:"curl",availableLanguages:AL,generator:(e,t)=>kL(e,t),defaultHeaders:{}},linksPrefixes:{tags:"/tags/",operations:FO},server:{allowCustomServer:!1,getServers:null},storage:{prefix:SL,persistAuth:CL},markdown:{operationLink:{linkPrefix:FO},externalLinksNewTab:!1,config:void 0}};var DN,MN;const Ae={theme:{highlighterTheme:{light:ar.theme.highlighterTheme.light,dark:ar.theme.highlighterTheme.dark}},path:{showBaseURL:Oe(ar.path.showBaseURL)},requestBody:{defaultView:Oe(ar.requestBody.defaultView)},jsonViewer:{deep:Oe(ar.jsonViewer.deep),renderer:Oe(ar.jsonViewer.renderer)},schemaViewer:{deep:Oe(ar.schemaViewer.deep)},headingLevels:{...ar.headingLevels},response:{responseCodeSelector:Oe(ar.response.responseCodeSelector),maxTabs:Oe(ar.response.maxTabs),body:{defaultView:Oe(ar.response.body.defaultView)}},playground:{jsonEditor:{mode:Oe(ar.playground.jsonEditor.mode),mainMenuBar:Oe(ar.playground.jsonEditor.mainMenuBar),navigationBar:Oe(ar.playground.jsonEditor.navigationBar),statusBar:Oe(ar.playground.jsonEditor.statusBar)},examples:{behavior:Oe(((DN=ar.playground.examples)==null?void 0:DN.behavior)??"value"),playgroundExampleBehavior:Oe(((MN=ar.playground.examples)==null?void 0:MN.playgroundExampleBehavior)??"value")}},security:{defaultScheme:Oe(ar.security.defaultScheme)},operation:{badges:Oe(ar.operation.badges),slots:Oe(ar.operation.slots),hiddenSlots:Oe(ar.operation.hiddenSlots),cols:Oe(ar.operation.cols),defaultBaseUrl:ar.operation.defaultBaseUrl,getServers:ar.operation.getServers},i18n:{locale:Oe(ar.i18n.locale),fallbackLocale:Oe(ar.i18n.fallbackLocale),messages:ar.i18n.messages,availableLocales:ar.i18n.availableLocales},spec:{groupByTags:Oe(ar.spec.groupByTags),collapsePaths:Oe(ar.spec.collapsePaths),showPathsSummary:Oe(ar.spec.showPathsSummary),avoidCirculars:Oe(ar.spec.avoidCirculars),lazyRendering:Oe(ar.spec.lazyRendering),defaultTag:ar.spec.defaultTag,defaultTagDescription:ar.spec.defaultTagDescription,wrapExamples:ar.spec.wrapExamples,disableDownload:Oe(ar.spec.disableDownload)},codeSamples:{defaultLang:ar.codeSamples.defaultLang,availableLanguages:ar.codeSamples.availableLanguages,generator:ar.codeSamples.generator,defaultHeaders:ar.codeSamples.defaultHeaders},linksPrefixes:{tags:ar.linksPrefixes.tags,operations:ar.linksPrefixes.operations},server:{allowCustomServer:ar.server.allowCustomServer,getServers:ar.server.getServers},storage:{prefix:ar.storage.prefix,persistAuth:ar.storage.persistAuth},markdown:{operationLink:{linkPrefix:ar.markdown.operationLink.linkPrefix},externalLinksNewTab:ar.markdown.externalLinksNewTab,config:ar.markdown.config}},Lte=AK({storageKey:"vitepress-theme-appearance"});function kn(e={}){t(e);function t(W){var Ee,wt,br,wr,Gt,Pr,Dt,mr,Cr,nn,Tn,en,co,Qn,Zn,bo,uo,yn,bn,Fn,Qe,Ir,De,ot,Ot,ur,Et,gr,Jr;!W||!Object.keys(W).length||((Ee=W.theme)!=null&&Ee.highlighterTheme&&a(W.theme.highlighterTheme),((wt=W.path)==null?void 0:wt.showBaseURL)!==void 0&&An(Ae,"path","showBaseURL",W.path.showBaseURL),((br=W.requestBody)==null?void 0:br.defaultView)!==void 0&&An(Ae,"requestBody","defaultView",W.requestBody.defaultView),((wr=W.jsonViewer)==null?void 0:wr.deep)!==void 0&&An(Ae,"jsonViewer","deep",W.jsonViewer.deep),((Gt=W.jsonViewer)==null?void 0:Gt.renderer)!==void 0&&An(Ae,"jsonViewer","renderer",W.jsonViewer.renderer),((Pr=W.schemaViewer)==null?void 0:Pr.deep)!==void 0&&An(Ae,"schemaViewer","deep",W.schemaViewer.deep),W.headingLevels!==void 0&&k(W.headingLevels),((Dt=W.response)==null?void 0:Dt.responseCodeSelector)!==void 0&&An(Ae,"response","responseCodeSelector",W.response.responseCodeSelector),((mr=W.response)==null?void 0:mr.maxTabs)!==void 0&&An(Ae,"response","maxTabs",W.response.maxTabs),((nn=(Cr=W.response)==null?void 0:Cr.body)==null?void 0:nn.defaultView)!==void 0&&di(Ae,["response","body"],"defaultView",W.response.body.defaultView),((en=(Tn=W.playground)==null?void 0:Tn.jsonEditor)==null?void 0:en.mode)!==void 0&&di(Ae,["playground","jsonEditor"],"mode",W.playground.jsonEditor.mode),((Qn=(co=W.playground)==null?void 0:co.jsonEditor)==null?void 0:Qn.mainMenuBar)!==void 0&&di(Ae,["playground","jsonEditor"],"mainMenuBar",W.playground.jsonEditor.mainMenuBar),((bo=(Zn=W.playground)==null?void 0:Zn.jsonEditor)==null?void 0:bo.navigationBar)!==void 0&&di(Ae,["playground","jsonEditor"],"navigationBar",W.playground.jsonEditor.navigationBar),((yn=(uo=W.playground)==null?void 0:uo.jsonEditor)==null?void 0:yn.statusBar)!==void 0&&di(Ae,["playground","jsonEditor"],"statusBar",W.playground.jsonEditor.statusBar),((Fn=(bn=W.playground)==null?void 0:bn.examples)==null?void 0:Fn.behavior)!==void 0&&di(Ae,["playground","examples"],"behavior",W.playground.examples.behavior),((Ir=(Qe=W.playground)==null?void 0:Qe.examples)==null?void 0:Ir.playgroundExampleBehavior)!==void 0&&di(Ae,["playground","examples"],"playgroundExampleBehavior",W.playground.examples.playgroundExampleBehavior),((De=W.security)==null?void 0:De.defaultScheme)!==void 0&&An(Ae,"security","defaultScheme",W.security.defaultScheme),((ot=W.operation)==null?void 0:ot.badges)!==void 0&&An(Ae,"operation","badges",W.operation.badges),((Ot=W.operation)==null?void 0:Ot.slots)!==void 0&&An(Ae,"operation","slots",W.operation.slots),((ur=W.operation)==null?void 0:ur.hiddenSlots)!==void 0&&An(Ae,"operation","hiddenSlots",W.operation.hiddenSlots),((Et=W.operation)==null?void 0:Et.cols)!==void 0&&An(Ae,"operation","cols",W.operation.cols),((gr=W.operation)==null?void 0:gr.defaultBaseUrl)!==void 0&&Ce(W.operation.defaultBaseUrl),((Jr=W.operation)==null?void 0:Jr.getServers)!==void 0&&ae(W.operation.getServers),W.i18n!==void 0&&ft(W.i18n),W.spec!==void 0&&_t(W.spec),W.codeSamples!==void 0&&G(W.codeSamples),W.linksPrefixes!==void 0&&Me(W.linksPrefixes),W.server!==void 0&&pt(W.server),W.storage!==void 0&&Lr(W.storage),W.markdown!==void 0&&Ft(W.markdown))}function r(){t(ar)}function n(){return jL(Ae)}function o(){var W,Ee;return((Ee=(W=Ae==null?void 0:Ae.i18n)==null?void 0:W.locale)==null?void 0:Ee.value)||"en"}function s(W){console.warn("`setLocale` is deprecated. Use `setI18nConfig({ locale: value })` instead."),Ae.i18n.locale.value=W}function i(){var W;return(W=Ae==null?void 0:Ae.theme)==null?void 0:W.highlighterTheme}function a(W){var Ee;Ae.theme.highlighterTheme={...(Ee=Ae==null?void 0:Ae.theme)==null?void 0:Ee.highlighterTheme,...W}}function l(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.requestBody)==null?void 0:W.defaultView)==null?void 0:Ee.value}function c(W){An(Ae,"requestBody","defaultView",W)}function u(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.path)==null?void 0:W.showBaseURL)==null?void 0:Ee.value}function d(W){An(Ae,"path","showBaseURL",W)}function p(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.jsonViewer)==null?void 0:W.deep)==null?void 0:Ee.value}function f(W){An(Ae,"jsonViewer","deep",W)}function m(){var W,Ee;return((Ee=(W=Ae==null?void 0:Ae.jsonViewer)==null?void 0:W.renderer)==null?void 0:Ee.value)||"vue-json-pretty"}function v(W){An(Ae,"jsonViewer","renderer",W)}function g(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.schemaViewer)==null?void 0:W.deep)==null?void 0:Ee.value}function y(W){An(Ae,"schemaViewer","deep",W)}function b(){return Ae.headingLevels}function w(W){if(!Ae.headingLevels)return`h${W}`;const Ee=Ae.headingLevels[W];if(Ee<1||Ee>6)throw new Error(`Heading level for ${W} must be between 1 and 6.`);return`h${Ee}`}function k(W){Ae.headingLevels||(Ae.headingLevels={});for(const Ee of Object.keys(W)){const wt=W[Ee];if(wt<1||wt>6)throw new Error(`Heading level for ${Ee} must be between 1 and 6.`)}Object.assign(Ae.headingLevels,W)}function x(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.response)==null?void 0:W.responseCodeSelector)==null?void 0:Ee.value}function j(W){An(Ae,"response","responseCodeSelector",W)}function _(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.response)==null?void 0:W.maxTabs)==null?void 0:Ee.value}function C(W){An(Ae,"response","maxTabs",W)}function A(){var W,Ee,wt;return(wt=(Ee=(W=Ae==null?void 0:Ae.response)==null?void 0:W.body)==null?void 0:Ee.defaultView)==null?void 0:wt.value}function I(W){di(Ae,["response","body"],"defaultView",W)}function M(){var W,Ee,wt;return(wt=(Ee=(W=Ae==null?void 0:Ae.playground)==null?void 0:W.jsonEditor)==null?void 0:Ee.mode)==null?void 0:wt.value}function L(W){di(Ae,["playground","jsonEditor"],"mode",W)}function F(){var W,Ee,wt;return(wt=(Ee=(W=Ae==null?void 0:Ae.playground)==null?void 0:W.jsonEditor)==null?void 0:Ee.mainMenuBar)==null?void 0:wt.value}function z(W){di(Ae,["playground","jsonEditor"],"mainMenuBar",W)}function N(){var W,Ee,wt;return(wt=(Ee=(W=Ae==null?void 0:Ae.playground)==null?void 0:W.jsonEditor)==null?void 0:Ee.navigationBar)==null?void 0:wt.value}function X(W){di(Ae,["playground","jsonEditor"],"navigationBar",W)}function V(){var W,Ee,wt;return(wt=(Ee=(W=Ae==null?void 0:Ae.playground)==null?void 0:W.jsonEditor)==null?void 0:Ee.statusBar)==null?void 0:wt.value}function J(W){di(Ae,["playground","jsonEditor"],"statusBar",W)}function oe(){var W,Ee,wt;return((wt=(Ee=(W=Ae==null?void 0:Ae.playground)==null?void 0:W.examples)==null?void 0:Ee.behavior)==null?void 0:wt.value)??"value"}function H(W){di(Ae,["playground","examples"],"behavior",W)}function B(){var W,Ee,wt;return((wt=(Ee=(W=Ae==null?void 0:Ae.playground)==null?void 0:W.examples)==null?void 0:Ee.playgroundExampleBehavior)==null?void 0:wt.value)??"value"}function se(W){di(Ae,["playground","examples"],"playgroundExampleBehavior",W)}function q(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.security)==null?void 0:W.defaultScheme)==null?void 0:Ee.value}function O(W){An(Ae,"security","defaultScheme",W)}function D(){var W,Ee;return[...((Ee=(W=Ae==null?void 0:Ae.operation)==null?void 0:W.badges)==null?void 0:Ee.value)||[]]}function Z(W){An(Ae,"operation","badges",W)}function Se(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.operation)==null?void 0:W.slots)==null?void 0:Ee.value}function ie(W){An(Ae,"operation","slots",W)}function re(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.operation)==null?void 0:W.hiddenSlots)==null?void 0:Ee.value}function xe(W){An(Ae,"operation","hiddenSlots",W)}function R(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.operation)==null?void 0:W.cols)==null?void 0:Ee.value}function te(W){An(Ae,"operation","cols",W)}function ne(){var W;return((W=Ae==null?void 0:Ae.operation)==null?void 0:W.defaultBaseUrl)||kw}function Ce(W){const Ee=Cs(Ae,"operation");Ee.defaultBaseUrl=W}function me(){var W,Ee;return(W=Ae==null?void 0:Ae.operation)!=null&&W.getServers?(console.warn("operation.getServers is deprecated. Use server.getServers instead."),Ae.operation.getServers):((Ee=Ae==null?void 0:Ae.server)==null?void 0:Ee.getServers)||null}function ae(W){const Ee=Cs(Ae,"operation");Ee.getServers=W}function kt(){return Ae.i18n}function ft(W){const Ee=Cs(Ae,"i18n");W.locale&&An(Ae,"i18n","locale",W.locale),W.fallbackLocale&&An(Ae,"i18n","fallbackLocale",W.fallbackLocale),W.messages&&(Ee.messages=W.messages),W.availableLocales&&(Ee.availableLocales=W.availableLocales)}function Ue(){return Ae.spec}function gt(){var W;return(W=Ae==null?void 0:Ae.spec)==null?void 0:W.wrapExamples}function Ge(){var W,Ee;return(Ee=(W=Ae==null?void 0:Ae.spec)==null?void 0:W.disableDownload)==null?void 0:Ee.value}function _t(W){const Ee=Cs(Ae,"spec");W.groupByTags!==void 0&&An(Ae,"spec","groupByTags",W.groupByTags),W.collapsePaths!==void 0&&An(Ae,"spec","collapsePaths",W.collapsePaths),W.showPathsSummary!==void 0&&An(Ae,"spec","showPathsSummary",W.showPathsSummary),W.avoidCirculars!==void 0&&An(Ae,"spec","avoidCirculars",W.avoidCirculars),W.lazyRendering!==void 0&&An(Ae,"spec","lazyRendering",W.lazyRendering),W.defaultTag!==void 0&&(Ee.defaultTag=W.defaultTag),W.defaultTagDescription!==void 0&&(Ee.defaultTagDescription=W.defaultTagDescription),W.wrapExamples!==void 0&&(Ee.wrapExamples=W.wrapExamples),W.disableDownload!==void 0&&An(Ae,"spec","disableDownload",W.disableDownload)}function It(){const W=vt(),Ee=Cs(Ae,"codeSamples"),wt=W.map(br=>br.lang);return Ee.defaultLang&&wt.includes(Ee.defaultLang)?Ee.defaultLang:wt[0]}function vt(W=[]){var wt;const Ee=Cs(Ae,"codeSamples");return W.length?((wt=Ee.availableLanguages)==null?void 0:wt.filter(br=>W.includes(br.lang)))||[]:Ee.availableLanguages||[]}function sr(){const W=Cs(Ae,"codeSamples");return W.generator||(W.generator=ar.codeSamples.generator),W.generator}function P(){const W=Cs(Ae,"codeSamples");return W.defaultHeaders||(W.defaultHeaders=ar.codeSamples.defaultHeaders),W.defaultHeaders}function G(W){const Ee=Cs(Ae,"codeSamples");W.defaultLang&&(Ee.defaultLang=W.defaultLang),W.availableLanguages&&ee(W.availableLanguages),W.generator&&(Ee.generator=W.generator),W.defaultHeaders&&(Ee.defaultHeaders=W.defaultHeaders)}function ee(W){const Ee=Cs(Ae,"codeSamples");Ee.availableLanguages=W}function be(){return Ae.linksPrefixes}function Me(W){const Ee=Cs(Ae,"linksPrefixes");W.tags&&(Ee.tags=W.tags),W.operations&&(Ee.operations=W.operations)}function Fe(){var W;return(W=Ae==null?void 0:Ae.linksPrefixes)==null?void 0:W.tags}function Ze(){var W;return(W=Ae==null?void 0:Ae.linksPrefixes)==null?void 0:W.operations}function we(){return Ae.server}function pt(W){const Ee=Cs(Ae,"server");W.allowCustomServer!==void 0&&(Ee.allowCustomServer=W.allowCustomServer),W.getServers!==void 0&&(Ee.getServers=W.getServers)}function St(){var W;return((W=Ae.server)==null?void 0:W.allowCustomServer)||!1}function rr(){return Ae.markdown}function Ve(){var W;return((W=Ae.markdown)==null?void 0:W.externalLinksNewTab)??!1}function Ft(W){const Ee=Cs(Ae,"markdown");if(W.operationLink!==void 0)if(W.operationLink===!1)Ee.operationLink=!1;else{const wt=Cs(Ee,"operationLink");W.operationLink.linkPrefix!==void 0&&(wt.linkPrefix=W.operationLink.linkPrefix),W.operationLink.transformHref!==void 0&&(wt.transformHref=W.operationLink.transformHref)}W.externalLinksNewTab!==void 0&&(Ee.externalLinksNewTab=W.externalLinksNewTab),W.config!==void 0&&(Ee.config=W.config)}function _r(){var W;return(W=Ae.markdown)==null?void 0:W.operationLink}function Bn(){var W;return((W=Ae==null?void 0:Ae.storage)==null?void 0:W.prefix)??SL}function Lr(W){const Ee=Cs(Ae,"storage");W.prefix!==void 0&&(Ee.prefix=W.prefix),W.persistAuth!==void 0&&(Ee.persistAuth=W.persistAuth)}function Sr(){var W;return((W=Ae==null?void 0:Ae.storage)==null?void 0:W.persistAuth)??CL}return{isDark:Lte,schemaConfig:Ae.requestBody,reset:r,getState:n,getLocale:o,setLocale:s,getHighlighterTheme:i,getSchemaDefaultView:l,getRequestBodyDefaultView:l,setSchemaDefaultView:c,setRequestBodyDefaultView:c,getShowBaseURL:u,setShowBaseURL:d,getJsonViewerDeep:p,setJsonViewerDeep:f,getJsonViewerRenderer:m,setJsonViewerRenderer:v,getSchemaViewerDeep:g,setSchemaViewerDeep:y,getHeadingLevels:b,getHeadingLevel:w,setHeadingLevels:k,getResponseCodeSelector:x,setResponseCodeSelector:j,getResponseCodeMaxTabs:_,setResponseCodeMaxTabs:C,getResponseBodyDefaultView:A,setResponseBodyDefaultView:I,getPlaygroundJsonEditorMode:M,setPlaygroundJsonEditorMode:L,getPlaygroundJsonEditorMainMenuBar:F,setPlaygroundJsonEditorMainMenuBar:z,getPlaygroundJsonEditorNavigationBar:N,setPlaygroundJsonEditorNavigationBar:X,getPlaygroundJsonEditorStatusBar:V,setPlaygroundJsonEditorStatusBar:J,getPlaygroundExamplesBehavior:oe,setPlaygroundExamplesBehavior:H,getPlaygroundXExampleBehavior:B,setPlaygroundXExampleBehavior:se,getSecurityDefaultScheme:q,setSecurityDefaultScheme:O,getOperationBadges:D,setOperationBadges:Z,getOperationSlots:Se,setOperationSlots:ie,getOperationHiddenSlots:re,setOperationHiddenSlots:xe,getOperationCols:R,setOperationCols:te,getOperationDefaultBaseUrl:ne,getOperationServers:me,getI18nConfig:kt,setI18nConfig:ft,getSpecConfig:Ue,getWrapExamples:gt,getSpecDisableDownload:Ge,setSpecConfig:_t,getCodeSamplesDefaultLang:It,getCodeSamplesAvailableLanguages:vt,getCodeSamplesGenerator:sr,getCodeSamplesDefaultHeaders:P,setCodeSamplesConfig:G,getLinksPrefixesConfig:be,setLinksPrefixesConfig:Me,getTagsLinkPrefix:Fe,getOperationsLinkPrefix:Ze,getServerConfig:we,setServerConfig:pt,getServerAllowCustomServer:St,getMarkdownConfig:rr,getExternalLinksNewTab:Ve,setMarkdownConfig:Ft,getOperationLinkConfig:_r,getStoragePrefix:Bn,getStoragePersistAuth:Sr,setStorageConfig:Lr}}function Up(e){if(e instanceof Promise)return e.then(sk).catch(ik);try{const t=e();return t instanceof Promise?t.then(sk).catch(ik):sk(t)}catch(t){return ik(t)}}const sk=e=>[e,null],ik=e=>[null,new Rte(e)];let Rte=class EL extends Error{constructor(t){super("thrown error",{cause:t}),this.cause=t,Error.captureStackTrace&&Error.captureStackTrace(this,EL)}};function lg(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function"){var o=0;for(n=Object.getOwnPropertySymbols(e);o{const o=`/${t}`,s=typeof e["/**"]=="function"?e["/**"]({key:t,path:r,value:n}):e["/**"],i=typeof e["/*"]=="function"?e["/*"]({key:t,path:r,value:n}):e["/*"];let a={};if(o in e)a=e[o];else if(!s&&!i)return;return a=typeof a=="function"?a({key:t,path:r,value:n}):a,i&&(a=Object.assign(Object.assign({},i),a)),s?Object.assign(Object.assign({"/**":e["/**"]},s),a):a},OL=e=>{const t={},r=e.reduce((n,o)=>(Object.keys(o).forEach(s=>n.add(s)),n),new Set);for(const n of r.keys()){const o=e.filter(s=>n in s);if(o.length!==1){if(n.charAt(0)!=="/")throw new Error(`Cannot merge rules. Duplicate key: ${n}. Rules should not have same Rule key`);t[n]=(s,i)=>{const a=o.map(l=>typeof l[n]=="function"?l[n](s,i):l[n]);return OL(a)}}else t[n]=o[0][n]}return t},Tc=e=>typeof e=="object"&&e!==null,ak=e=>Array.isArray(e),zte=(e,t,r={})=>{var n,o;t=ak(t)?t:[t];const s=ak(r.rules)?OL(r.rules):r.rules,i=[{data:e,state:r.state,path:[],keys:[],keyIndex:-1,rules:s}];for(;i.length>0;){const a=i[i.length-1];if(a.keyIndex>=a.keys.length){for(;!((n=a.hooks)===null||n===void 0)&&n.length;)a.hooks.pop()();i.pop();continue}const l=a.keys[a.keyIndex++],[c,u,d]=i.length>1?[a.data[l],[...a.path,l],qte(a.rules,l,[...a.path,l],a.data[l])]:[a.data,a.path,s];let p={value:c,path:u,key:l,state:a.state,rules:d};const f=[];for(const m of t){if(!m||typeof m!="function")continue;const v=(o=m(p))!==null&&o!==void 0?o:{},{terminate:g,done:y,exitHook:b}=v,w=Bte(v,["terminate","done","exitHook"]);if(g)return;if(b&&f.push(b),p=Object.assign(Object.assign({},p),w),y){p=null;break}}if(p&&Tc(p.value)){const m=ak(p.value)?[...p.value.keys()]:Object.keys(p.value);i.push({hooks:f,state:p.state,data:p.value,path:u,keys:m,keyIndex:0,rules:p.rules})}else for(;f.length;)f.pop()()}},Fte=()=>{const e=new WeakMap;let t;return[({value:r})=>{t=r},({value:r,path:n,key:o,state:s})=>{if(o=n.length?o:"#",Tc(t)&&Tc(r)){if(e.has(t))return s.node[o]=e.get(t),{done:!0};const i=Array.isArray(r)?[]:{};s.node[o]=i,e.set(t,i)}else s.node[o]=r;return{value:r,state:Object.assign(Object.assign({},s),{node:s.node[o]})}}]};let $L=class extends Map{add(t,r){const n=this.get(t);return n?n.push(r):this.set(t,[r]),this}};const Vte=(e,t)=>{const r={};for(const n of t)n in e&&(r[n]=e[n],delete e[n]);return r},TL=(e,t)=>{if(Array.isArray(e)&&Array.isArray(t))return[...e,...t];if(Tc(e)&&Tc(t)){const r=Object.assign({},e);for(const n of Object.keys(t))r[n]=TL(r[n],t[n]);return r}return t},v_=e=>e&&e.$ref&&typeof e.$ref=="string",Ute=e=>e&&e.anyOf&&Array.isArray(e.anyOf),Hte=e=>e&&e.oneOf&&Array.isArray(e.oneOf),PL=(e,t="")=>{const[r=t,n]=e.split("#"),o=n&&n!=="/"?n:"";return{filePath:r,pointer:o,normalized:Wte(r,o),jsonPath:DL(o)}},Wte=(e,t)=>e?`${e}${t?"#"+t:""}`:t?`#${t}`:"#",IL=(e,t,r=[t])=>{if(!Tc(e))return;let n=e;const o=DL(t);for(const s of o)if(Array.isArray(n)&&n.length>+s)n=n[+s];else if(Tc(n)&&s in n)n=n[s];else{if(!v_(n))return;{const i=PL(n.$ref);n=i.filePath||r.includes(i.pointer)?void 0:IL(e,i.pointer,[...r,i.pointer])}}return n},Ab={slash:/\//g,tilde:/~/g,escapedSlash:/~1/g,escapedTilde:/~0/g},DL=e=>e.split("/").map(t=>decodeURIComponent(t.replace(Ab.escapedSlash,"/").replace(Ab.escapedTilde,"~"))).slice(1),bC=e=>e.length?"/"+e.map(t=>encodeURIComponent(String(t).replace(Ab.tilde,"~0").replace(Ab.slash,"~1"))).join("/"):"",Gte=(e,t)=>JSON.stringify(e)==JSON.stringify(t),Jte=e=>{let t=1;for(;e*t%1!=0;)t*=10;return t};function Kte(e){const t=e.reduce((r,n)=>Math.max(r,Jte(n)),0);return e.reduce((r,n)=>Math.round(r*t*n*t/ML(r*t,n*t))/t)}function ML(e,t){return t===0?e:ML(t,e%t)}const NL=e=>{if(e.length===0)return[[]];const t=e[0],r=e.slice(1),n=NL(r),o=[];for(const s of t)for(const i of n)o.push([s,...i]);return o},Qte=e=>{const t=[];for(const r of e){if(!("properties"in r))continue;const n=new Set(Object.keys(r.properties)),o=new $L;for(const i of n.values())for(const a of e)if(!(a==r||a.properties&&i in a.properties))if("patternProperties"in a&&a.patternProperties)for(const l of Object.keys(a.patternProperties))new RegExp(l).test(i)||n.delete(i);else"additionalProperties"in a&&(a.additionalProperties===!1?n.delete(i):typeof a.additionalProperties=="object"&&o.add(i,a.additionalProperties));if(!n.size)continue;const s={};for(const i of n.values())o.has(i)?s[i]={allOf:[r.properties[i],...o.get(i)]}:s[i]=r.properties[i];t.push(s)}return t},Zte=e=>{const t=[];for(const r of e){if(!("patternProperties"in r))continue;const n=new Set(Object.keys(r.patternProperties));for(const s of e)if(s!=r&&"additionalProperties"in s&&!s.additionalProperties)for(const i of n.values())s.patternProperties&&i in s.patternProperties||n.delete(i);if(!n.size)continue;const o={};for(const s of n.values())o[s]=r.patternProperties[s];t.push(o)}return t},VO=e=>{const t={},r=wC(e);for(const[n,o]of Object.entries(r))o.includes(!1)?t[n]=!1:t[n]=o.length>1?{allOf:o}:o[0];return t},Xte=(e,t)=>!!e.reduce((r,n)=>r&&n===!0,!0)||mv(e,t),Yte=()=>"Could not merge values, they are probably incompatible",ere=e=>`Merge rule not found for key: ${e}`,wC=e=>{const t={};for(const r of e)for(const n of Object.keys(r))Array.isArray(t[n])?t[n].push(r[n]):t[n]=[r[n]];return t},mv=(e,t)=>{if(e.includes(!1))return!1;const r={},n=wC(e);"properties"in n&&(n.properties=Qte(e)),"patternProperties"in n&&(n.patternProperties=Zte(e));for(let[o,s]of Object.entries(n)){if(!s.length)continue;const i=t.mergeRules;let a=`/${o}`in i?i[`/${o}`]:i["/?"];a=a&&!("$"in a)&&"/"in a?a["/"]:a,a=typeof a=="function"?a():a;const l=a&&"$"in a?a.$:void 0;if(!l)throw new Error(ere(o));const c=s.length>1?l(s,Object.assign(Object.assign({},t),{allOfItems:e})):s[0];c===void 0?t.mergeError(s):r[o]=c}return Object.keys(r).length?r:void 0},fl=e=>e[e.length-1],Cd=e=>e.reduce((t,r)=>t||r,!1),nm=e=>Math.min(...e),om=e=>Math.max(...e),tre=e=>e.length>1?e.reduce((t,r)=>`${t}(?=${r})`,""):e[0],LL=([e,...t])=>t.reduce((r,n)=>r.filter(o=>n.includes(o)),e),rre=([e,...t])=>t.find(r=>!Gte(r,e))?void 0:e,Yi=([e,...t])=>t.reduce((r,n)=>TL(r,n),e),Fm=e=>NL(e).map(t=>({allOf:t})),nre=e=>({anyOf:e}),ore=e=>Kte(e),sre=(e,t)=>{const r=e.map(o=>o.map(s=>JSON.stringify(s))),n=LL(r).map(o=>JSON.parse(o)).sort();return n.length||t.mergeError(e),n},ire=(e,t)=>{const r=e.map(o=>Array.isArray(o)?o:[o]),n=LL(r);return n.length===1?n[0]:n.length?n:void 0},RL=e=>{const t=new Set;for(const r of e)for(const n of r)t.add(n);return Array.from(t).sort()},are=(e,t)=>{const r={},n=wC(e);for(const[o,s]of Object.entries(n))if(s.reduce((i,a)=>i&&Array.isArray(a),!0))r[o]=RL(s);else{const i=s.map(a=>Array.isArray(a)?{required:a}:a);r[o]=i.length>1?{allOf:i}:i[0]}return r},BL=(e,t)=>{if(!e.reduce((l,c)=>Array.isArray(c)||l,!1))return mv(e,t);const r=[];let n=1/0,o=0;const s=new $L;for(const l of t.allOfItems)"additionalItems"in l&&l.additionalItems&&"items"in l&&Array.isArray(l.items)&&s.add(l.items.length,l.additionalItems),"items"in l&&(r.push(l.items),Array.isArray(l.items)&&(o=Math.max(o,l.items.length),"additionalItems"in l&&l.additionalItems===!1&&(n=Math.min(n,l.items.length))));const i=Math.min(o,n),a=[...Array(i)].map(()=>({allOf:[]}));for(const l of r)if(Array.isArray(l))for(let c=0;cc.push(l));return a},lre=(e,t)=>{const r=[],n=[];for(const o of t.allOfItems)"items"in o&&!Array.isArray(o.items)&&n.push(o.items),"additionalItems"in o&&"items"in o&&Array.isArray(o.items)&&r.push(o.additionalItems);return n.length&&r.forEach(o=>o.allOf=n),mv(r,t)},ms=(e="draft-06",t={})=>Object.assign(Object.assign(Object.assign(Object.assign({"/maximum":{$:nm},"/exclusiveMaximum":{$:Cd},"/minimum":{$:om},"/exclusiveMinimum":{$:Cd},"/maxLength":{$:nm},"/minLength":{$:om},"/maxItems":{$:nm},"/minItems":{$:om},"/uniqueItems":{$:Cd},"/maxProperties":{$:nm},"/minProperties":{$:om},"/required":{$:RL},"/multipleOf":{$:ore},"/enum":{$:sre},"/type":{$:ire},"/allOf":{"/*":()=>ms(e,t),$:Fm},"/not":{$:nre},"/oneOf":{"/*":()=>ms(e,t),$:Fm,sibling:["definitions","$defs","$id","$schema"]},"/anyOf":{"/*":()=>ms(e,t),$:Fm,sibling:["definitions","$defs","$id","$schema"]},"/properties":{"/*":()=>ms(e,t),$:VO},"/items":()=>Object.assign(Object.assign({},ms(e,t)),{$:BL,"/*":({key:r})=>typeof r=="number"?ms(e,t):{}}),"/additionalProperties":()=>Object.assign(Object.assign({},ms(e,t)),{$:Xte}),"/additionalItems":()=>Object.assign(Object.assign({},ms(e,t)),{$:lre}),"/patternProperties":{"/*":()=>ms(e,t),$:VO},"/pattern":{$:tre},"/readOnly":{$:Cd},"/writeOnly":{$:Cd},"/example":{$:Yi},"/examples":{$:Yi},"/deprecated":{$:Cd}},e!=="draft-04"?{"/propertyNames":()=>ms(e,t),"/contains":()=>ms(e,t),"/dependencies":{"/*":()=>ms(e,t),$:are},"/const":{$:rre},"/exclusiveMaximum":{$:nm},"/exclusiveMinimum":{$:om},"/$defs":{"/*":()=>ms(e,t),$:Yi}}:{}),{"/definitions":{"/*":()=>ms(e,t),$:Yi},"/xml":{$:Yi},"/externalDocs":{$:fl},"/description":{$:fl},"/title":{$:fl},"/format":{$:fl},"/default":{$:fl},"/?":{$:fl}}),t),{$:mv}),Vm=e=>ms(e,{"/discriminator":{$:Yi},"/oneOf":{"/*":()=>Vm(e),$:Fm,sibling:["discriminator"]},"/anyOf":{"/*":()=>Vm(e),$:Fm,sibling:["discriminator"]}}),jw=e=>e==="3.0.x"?Object.assign(Object.assign({},Vm("draft-04")),{"/items":({key:t})=>Object.assign(Object.assign({},Vm("draft-04")),{$:BL})}):Vm("draft-06"),Nd=e=>({"/*":{"/schema":jw(e)}}),UO=e=>({"/content":{"/*":{"/schema":jw(e),"/encoding":{"/headers":Nd(e)}}}}),HO=e=>({"/*":{"/headers":Nd(e),"/content":{"/*":{"/schema":jw(e),"/encoding":{"/headers":Nd(e)}}}}}),cre=(e="3.0.x")=>({"/paths":{"/*":{"/*":{"/parameters":Nd(e),"/requestBody":UO(e),"/responses":HO(e)},"/parameters":Nd(e)}},"/components":{"/schemas":{"/*":jw(e)},"/responses":HO(e),"/parameters":Nd(e),"/requestBodies":{"/*":UO(e)},"/headers":Nd(e)}}),Ed=ms("draft-06",{"/args":()=>Ed,"/nullable":{$:Cd},"/specifiedByURL":{$:fl},"/values":{$:Yi,"/*":{$:Yi,"/description":{$:fl},"/deprecated":{$:fl,"/reason":{$:fl}}}},"/interfaces":{$:Yi,"/*":{$:Yi}},"/directives":{$:Yi,"/*":()=>Object.assign(Object.assign({},Ed),{"/meta":{$:Yi}})}}),ure={"/queries":{"/*":()=>Ed},"/mutations":{"/*":()=>Ed},"/subscriptions":{"/*":()=>Ed},"/components":{"/*":{"/*":Ed},"/directives":{"/*":{"/args":()=>Ed}}}},WO=(e,t,r)=>{const n=r.sibling||[],o=e,s=t,i=o[s],a=lg(o,[typeof s=="symbol"?s:s+""]),l=Vte(a,n);return Object.keys(a).length?Object.assign({[t]:i.map(c=>({allOf:[a,c]}))},l):e},qL=(e,t,r,n)=>{const o=[],s=bC(t),i=[],a={pointer:s,data:"",refs:[]};for(const c of e)if(v_(c)&&!i.includes(c.$ref)){a.data===""&&(a.data=JSON.stringify(e));const{$ref:u}=c,d=lg(c,["$ref"]),{filePath:p,normalized:f,pointer:m}=PL(u);if(s===m)continue;const v=n.find(g=>g.refs.includes(c.$ref)&&g.data===a.data&&m!==g.pointer);if(v)return{allOfItems:[{$ref:`#${v.pointer}`}],brokenRefs:i};if(!a.refs.includes(f)){a.refs.push(f);const g=p?void 0:IL(r,m);g===void 0?(i.push(f),o.push(c)):o.push(g)}Object.keys(d).length&&o.push(d)}else o.push(c);a.refs.length&&n.push(a);const l=zL(o);return l.find(c=>v_(c)&&!i.includes(c.$ref))?qL(l,t,r,n):{allOfItems:l,brokenRefs:i}},zL=e=>{const t=[];for(const r of e)if(Tc(r))if(r.allOf&&Array.isArray(r.allOf)){const{allOf:n}=r,o=lg(r,["allOf"]),s=Object.keys(o).length?[...n,o]:n;t.push(...zL(s))}else t.push(r);return t},dre=e=>{if(typeof e!="object"||!e)return ms();if("openapi"in e&&typeof e.openapi=="string"&&/3.+/.test(e.openapi)){const t=e.openapi.startsWith("3.1")?"3.1.x":"3.0.x";return cre(t)}return"graphapi"in e&&typeof e.graphapi=="string"?ure:ms()},pre=(e,t)=>{var r;const n=(r=void 0)!==null&&r!==void 0?r:dre(e);return((o,s=[],i={})=>{var a;s=Array.isArray(s)?s:[s];const l={"#":void 0},c=Object.assign({state:Object.assign(Object.assign({},(a=i.state)!==null&&a!==void 0?a:{}),{root:l,node:l})},i.rules?{rules:i.rules}:{}),[u,d]=Fte();return zte(o,[u,...s,d],c),l["#"]})(e,fre(t),{rules:n})},fre=e=>{const t=new Map;let r;const n=[];return({value:o,key:s,path:i,rules:a,state:l})=>{var c;i.length||(r=o);const u=b=>{var w;const k=hre(i);k?t.set(...k):(w=void 0)===null||w===void 0||w.call(e,Yte(),i,b)},d=()=>{const{node:b}=l,w=bC(i);if(t.has(w)){const k=t.get(w),x=b[s];Array.isArray(x)&&(x.length<2&&u((o==null?void 0:o.allOf)||[]),x.splice(k,1))}};if(!Tc(o)||Array.isArray(o))return{exitHook:d};if(!(b=>!!b&&b["/allOf"]&&"$"in b["/allOf"])(a))return{exitHook:d};const{allOf:p}=o,f=lg(o,["allOf"]),m=[];if(Array.isArray(p)&&m.push(...p),m.length)Object.keys(f).length&&m.push(f);else{const{$ref:b}=f;lg(f,["$ref"])}if(!m.length)return{value:f,exitHook:d};const{allOfItems:v,brokenRefs:g}=qL(m,i,r,n);if(g.length){for(const b of g)(c=void 0)===null||c===void 0||c.call(e,"Cannot resolve $ref",i,b);return{value:{allOf:v},exitHook:d}}if(v.length<2)return{value:v.length?v[0]:{},exitHook:d};const y=mv(v,{allOfItems:v,mergeRules:a,mergeError:u});return e!=null&&e.mergeCombinarySibling&&Ute(y)?{value:WO(y,"anyOf",a["/anyOf"]),exitHook:d}:e!=null&&e.mergeCombinarySibling&&Hte(y)?{value:WO(y,"oneOf",a["/oneOf"]),exitHook:d}:{value:y,exitHook:d}}},hre=e=>{for(let t=e.length-2;t>=0;t--)if(e[t]==="anyOf"||e[t]==="oneOf"){const r=e.slice(0,t+1);return[bC(r),e[t+1]]}},mre=Symbol.for("__confbox_fmt__"),gre=/^(\s+)/,vre=/(\s+)$/;function yre(e,t={}){var r,n;return{sample:t.indent===void 0&&t.preserveIndentation!==!1&&e.slice(0,(t==null?void 0:t.sampleSize)||1024),whiteSpace:t.preserveWhitespace===!1?void 0:{start:((r=gre.exec(e))==null?void 0:r[0])||"",end:((n=vre.exec(e))==null?void 0:n[0])||""}}}function bre(e,t,r){!t||typeof t!="object"||Object.defineProperty(t,mre,{enumerable:!1,configurable:!0,writable:!0,value:yre(e,r)})}function FL(e){return e==null}function wre(e){return typeof e=="object"&&!!e}function xre(e){return Array.isArray(e)?e:FL(e)?[]:[e]}function kre(e,t){var r,n,o,s;if(t)for(s=Object.keys(t),r=0,n=s.length;ra&&(s=" ... ",t=n-a+s.length),r-n>a&&(i=" ...",r=n+a-i.length),{str:s+e.slice(t,r).replace(/\t/g,"→")+i,pos:n-t+s.length}}function ck(e,t){return ei.repeat(" ",t-e.length)+e}function Sre(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],o=[],s,i=-1;s=r.exec(e.buffer);)o.push(s.index),n.push(s.index+s[0].length),e.position<=s.index&&i<0&&(i=n.length-2);i<0&&(i=n.length-1);var a="",l,c,u=Math.min(e.line+t.linesAfter,o.length).toString().length,d=t.maxLength-(t.indent+u+3);for(l=1;l<=t.linesBefore&&!(i-l<0);l++)c=lk(e.buffer,n[i-l],o[i-l],e.position-(n[i]-n[i-l]),d),a=ei.repeat(" ",t.indent)+ck((e.line-l+1).toString(),u)+" | "+c.str+` +`+e.mark.snippet),n+" "+r):n}function Am(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=VL(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}Am.prototype=Object.create(Error.prototype),Am.prototype.constructor=Am,Am.prototype.toString=function(e){return this.name+": "+VL(this,e)};var uc=Am;function lk(e,t,r,n,o){var s="",i="",a=Math.floor(o/2)-1;return n-t>a&&(s=" ... ",t=n-a+s.length),r-n>a&&(i=" ...",r=n+a-i.length),{str:s+e.slice(t,r).replace(/\t/g,"→")+i,pos:n-t+s.length}}function ck(e,t){return ei.repeat(" ",t-e.length)+e}function Sre(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],o=[],s,i=-1;s=r.exec(e.buffer);)o.push(s.index),n.push(s.index+s[0].length),e.position<=s.index&&i<0&&(i=n.length-2);i<0&&(i=n.length-1);var a="",l,c,u=Math.min(e.line+t.linesAfter,o.length).toString().length,d=t.maxLength-(t.indent+u+3);for(l=1;l<=t.linesBefore&&!(i-l<0);l++)c=lk(e.buffer,n[i-l],o[i-l],e.position-(n[i]-n[i-l]),d),a=ei.repeat(" ",t.indent)+ck((e.line-l+1).toString(),u)+" | "+c.str+` `+a;for(c=lk(e.buffer,n[i],o[i],e.position,d),a+=ei.repeat(" ",t.indent)+ck((e.line+1).toString(),u)+" | "+c.str+` `,a+=ei.repeat("-",t.indent+u+3+c.pos)+`^ `,l=1;l<=t.linesAfter&&!(i+l>=o.length);l++)c=lk(e.buffer,n[i+l],o[i+l],e.position-(n[i]-n[i+l]),d),a+=ei.repeat(" ",t.indent)+ck((e.line+l+1).toString(),u)+" | "+c.str+` -`;return a.replace(/\n$/,"")}var Cre=Sre,Are=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Ere=["scalar","sequence","mapping"];function Ore(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}function $re(e,t){if(t||(t={}),Object.keys(t).forEach(function(r){if(Are.indexOf(r)===-1)throw new uc('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=Ore(t.styleAliases||null),Ere.indexOf(this.kind)===-1)throw new uc('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var Us=$re;function GO(e,t){var r=[];return e[t].forEach(function(n){var o=r.length;r.forEach(function(s,i){s.tag===n.tag&&s.kind===n.kind&&s.multi===n.multi&&(o=i)}),r[o]=n}),r}function Tre(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function n(o){o.multi?(e.multi[o.kind].push(o),e.multi.fallback.push(o)):e[o.kind][o.tag]=e.fallback[o.tag]=o}for(t=0,r=arguments.length;t=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Jre=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Kre(e){return!(e===null||!Jre.test(e)||e[e.length-1]==="_")}function Qre(e){var t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1;return"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?1/0:-1/0:t===".nan"?NaN:r*parseFloat(t,10)}var Zre=/^[-+]?[0-9]+e/;function Xre(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(e===1/0)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(e===-1/0)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(ei.isNegativeZero(e))return"-0.0";return r=e.toString(10),Zre.test(r)?r.replace("e",".e"):r}function Yre(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!=0||ei.isNegativeZero(e))}var ene=new Us("tag:yaml.org,2002:float",{kind:"scalar",resolve:Kre,construct:Qre,predicate:Yre,represent:Xre,defaultStyle:"lowercase"}),tne=Pre.extend({implicit:[Lre,qre,Gre,ene]}),UN=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),HN=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function rne(e){return e===null?!1:UN.exec(e)!==null||HN.exec(e)!==null}function nne(e){var t,r,n,o,s,i,a,l=0,c=null,u,d,p;if(t=UN.exec(e),t===null&&(t=HN.exec(e)),t===null)throw Error("Date resolve error");if(r=+t[1],n=t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(r,n,o));if(s=+t[4],i=+t[5],a=+t[6],t[7]){for(l=t[7].slice(0,3);l.length<3;)l+="0";l=+l}return t[9]&&(u=+t[10],d=+(t[11]||0),c=(u*60+d)*6e4,t[9]==="-"&&(c=-c)),p=new Date(Date.UTC(r,n,o,s,i,a,l)),c&&p.setTime(p.getTime()-c),p}function one(e){return e.toISOString()}var sne=new Us("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:rne,construct:nne,instanceOf:Date,represent:one});function ine(e){return e==="<<"||e===null}var ane=new Us("tag:yaml.org,2002:merge",{kind:"scalar",resolve:ine}),xC=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function lne(e){if(e===null)return!1;var t,r,n=0,o=e.length,s=xC;for(r=0;r64)){if(t<0)return!1;n+=6}return n%8==0}function cne(e){var t,r,n=e.replace(/[\r\n=]/g,""),o=n.length,s=xC,i=0,a=[];for(t=0;t>16&255),a.push(i>>8&255),a.push(i&255)),i=i<<6|s.indexOf(n.charAt(t));return r=o%4*6,r===0?(a.push(i>>16&255),a.push(i>>8&255),a.push(i&255)):r===18?(a.push(i>>10&255),a.push(i>>2&255)):r===12&&a.push(i>>4&255),new Uint8Array(a)}function une(e){var t="",r=0,n,o,s=e.length,i=xC;for(n=0;n>18&63],t+=i[r>>12&63],t+=i[r>>6&63],t+=i[r&63]),r=(r<<8)+e[n];return o=s%3,o===0?(t+=i[r>>18&63],t+=i[r>>12&63],t+=i[r>>6&63],t+=i[r&63]):o===2?(t+=i[r>>10&63],t+=i[r>>4&63],t+=i[r<<2&63],t+=i[64]):o===1&&(t+=i[r>>2&63],t+=i[r<<4&63],t+=i[64],t+=i[64]),t}function dne(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var pne=new Us("tag:yaml.org,2002:binary",{kind:"scalar",resolve:lne,construct:cne,predicate:dne,represent:une}),fne=Object.prototype.hasOwnProperty,hne=Object.prototype.toString;function mne(e){if(e===null)return!0;var t=[],r,n,o,s,i,a=e;for(r=0,n=a.length;r>10)+55296,(e-65536&1023)+56320)}function QN(e,t,r){t==="__proto__"?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:r}):e[t]=r}for(var ZN=Array(256),XN=Array(256),Hp=0;Hp<256;Hp++)ZN[Hp]=QO(Hp)?1:0,XN[Hp]=QO(Hp);function Mne(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||Cne,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function YN(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=Cre(r),new uc(t,r)}function Qt(e,t){throw YN(e,t)}function $b(e,t){e.onWarning&&e.onWarning.call(null,YN(e,t))}var ZO={YAML:function(e,t,r){var n,o,s;e.version!==null&&Qt(e,"duplication of %YAML directive"),r.length!==1&&Qt(e,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),n===null&&Qt(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),s=parseInt(n[2],10),o!==1&&Qt(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=s<2,s!==1&&s!==2&&$b(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,o;r.length!==2&&Qt(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],JN.test(n)||Qt(e,"ill-formed tag handle (first argument) of the TAG directive"),Bu.call(e.tagMap,n)&&Qt(e,'there is a previously declared suffix for "'+n+'" tag handle'),KN.test(o)||Qt(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch{Qt(e,"tag prefix is malformed: "+o)}e.tagMap[n]=o}};function Eu(e,t,r,n){var o,s,i,a;if(t1&&(e.result+=ei.repeat(` -`,t-1))}function Lne(e,t,r){var n,o,s,i,a,l,c,u,d=e.kind,p=e.result,f=e.input.charCodeAt(e.position);if(wi(f)||bf(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96||(f===63||f===45)&&(o=e.input.charCodeAt(e.position+1),wi(o)||r&&bf(o)))return!1;for(e.kind="scalar",e.result="",s=i=e.position,a=!1;f!==0;){if(f===58){if(o=e.input.charCodeAt(e.position+1),wi(o)||r&&bf(o))break}else if(f===35){if(n=e.input.charCodeAt(e.position-1),wi(n))break}else{if(e.position===e.lineStart&&_w(e)||r&&bf(f))break;if(Cl(f))if(l=e.line,c=e.lineStart,u=e.lineIndent,es(e,!1,-1),e.lineIndent>=t){a=!0,f=e.input.charCodeAt(e.position);continue}else{e.position=i,e.line=l,e.lineStart=c,e.lineIndent=u;break}}a&&(a=(Eu(e,s,i,!1),jC(e,e.line-l),s=i=e.position,!1)),Ud(f)||(i=e.position+1),f=e.input.charCodeAt(++e.position)}return Eu(e,s,i,!1),e.result?!0:(e.kind=d,e.result=p,!1)}function Nne(e,t){var r=e.input.charCodeAt(e.position),n,o;if(r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=o=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(Eu(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,o=e.position;else return!0;else Cl(r)?(Eu(e,n,o,!0),jC(e,es(e,!1,t)),n=o=e.position):e.position===e.lineStart&&_w(e)?Qt(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);Qt(e,"unexpected end of the stream within a single quoted scalar")}function Rne(e,t){var r,n,o,s,i,a=e.input.charCodeAt(e.position);if(a!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(a=e.input.charCodeAt(e.position))!==0;){if(a===34)return Eu(e,r,e.position,!0),e.position++,!0;if(a===92){if(Eu(e,r,e.position,!0),a=e.input.charCodeAt(++e.position),Cl(a))es(e,!1,t);else if(a<256&&ZN[a])e.result+=XN[a],e.position++;else if((i=Pne(a))>0){for(o=i,s=0;o>0;o--)a=e.input.charCodeAt(++e.position),(i=Tne(a))>=0?s=(s<<4)+i:Qt(e,"expected hexadecimal character");e.result+=Dne(s),e.position++}else Qt(e,"unknown escape sequence");r=n=e.position}else Cl(a)?(Eu(e,r,n,!0),jC(e,es(e,!1,t)),r=n=e.position):e.position===e.lineStart&&_w(e)?Qt(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}Qt(e,"unexpected end of the stream within a double quoted scalar")}function Bne(e,t){var r=!0,n,o,s,i=e.tag,a,l=e.anchor,c,u,d,p,f,m=Object.create(null),v,g,y,b=e.input.charCodeAt(e.position);if(b===91)u=93,f=!1,a=[];else if(b===123)u=125,f=!0,a={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),b=e.input.charCodeAt(++e.position);b!==0;){if(es(e,!0,t),b=e.input.charCodeAt(e.position),b===u)return e.position++,e.tag=i,e.anchor=l,e.kind=f?"mapping":"sequence",e.result=a,!0;r?b===44&&Qt(e,"expected the node content, but found ','"):Qt(e,"missed comma between flow collection entries"),g=v=y=null,d=p=!1,b===63&&(c=e.input.charCodeAt(e.position+1),wi(c)&&(d=p=!0,e.position++,es(e,!0,t))),n=e.line,o=e.lineStart,s=e.position,Xf(e,t,Eb,!1,!0),g=e.tag,v=e.result,es(e,!0,t),b=e.input.charCodeAt(e.position),(p||e.line===n)&&b===58&&(d=!0,b=e.input.charCodeAt(++e.position),es(e,!0,t),Xf(e,t,Eb,!1,!0),y=e.result),f?wf(e,a,m,g,v,y,n,o,s):d?a.push(wf(e,null,m,g,v,y,n,o,s)):a.push(v),es(e,!0,t),b=e.input.charCodeAt(e.position),b===44?(r=!0,b=e.input.charCodeAt(++e.position)):r=!1}Qt(e,"unexpected end of the stream within a flow collection")}function qne(e,t){var r,n,o=uk,s=!1,i=!1,a=t,l=0,c=!1,u,d=e.input.charCodeAt(e.position);if(d===124)n=!1;else if(d===62)n=!0;else return!1;for(e.kind="scalar",e.result="";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)uk===o?o=d===43?JO:Ane:Qt(e,"repeat of a chomping mode identifier");else if((u=Ine(d))>=0)u===0?Qt(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):i?Qt(e,"repeat of an indentation width identifier"):(a=t+u-1,i=!0);else break;if(Ud(d)){do d=e.input.charCodeAt(++e.position);while(Ud(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!Cl(d)&&d!==0)}for(;d!==0;){for(kC(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!i||e.lineIndenta&&(a=e.lineIndent),Cl(d)){l++;continue}if(e.lineIndent=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Jre=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Kre(e){return!(e===null||!Jre.test(e)||e[e.length-1]==="_")}function Qre(e){var t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1;return"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?1/0:-1/0:t===".nan"?NaN:r*parseFloat(t,10)}var Zre=/^[-+]?[0-9]+e/;function Xre(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(e===1/0)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(e===-1/0)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(ei.isNegativeZero(e))return"-0.0";return r=e.toString(10),Zre.test(r)?r.replace("e",".e"):r}function Yre(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!=0||ei.isNegativeZero(e))}var ene=new Us("tag:yaml.org,2002:float",{kind:"scalar",resolve:Kre,construct:Qre,predicate:Yre,represent:Xre,defaultStyle:"lowercase"}),tne=Pre.extend({implicit:[Nre,qre,Gre,ene]}),UL=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),HL=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function rne(e){return e===null?!1:UL.exec(e)!==null||HL.exec(e)!==null}function nne(e){var t,r,n,o,s,i,a,l=0,c=null,u,d,p;if(t=UL.exec(e),t===null&&(t=HL.exec(e)),t===null)throw Error("Date resolve error");if(r=+t[1],n=t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(r,n,o));if(s=+t[4],i=+t[5],a=+t[6],t[7]){for(l=t[7].slice(0,3);l.length<3;)l+="0";l=+l}return t[9]&&(u=+t[10],d=+(t[11]||0),c=(u*60+d)*6e4,t[9]==="-"&&(c=-c)),p=new Date(Date.UTC(r,n,o,s,i,a,l)),c&&p.setTime(p.getTime()-c),p}function one(e){return e.toISOString()}var sne=new Us("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:rne,construct:nne,instanceOf:Date,represent:one});function ine(e){return e==="<<"||e===null}var ane=new Us("tag:yaml.org,2002:merge",{kind:"scalar",resolve:ine}),xC=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;function lne(e){if(e===null)return!1;var t,r,n=0,o=e.length,s=xC;for(r=0;r64)){if(t<0)return!1;n+=6}return n%8==0}function cne(e){var t,r,n=e.replace(/[\r\n=]/g,""),o=n.length,s=xC,i=0,a=[];for(t=0;t>16&255),a.push(i>>8&255),a.push(i&255)),i=i<<6|s.indexOf(n.charAt(t));return r=o%4*6,r===0?(a.push(i>>16&255),a.push(i>>8&255),a.push(i&255)):r===18?(a.push(i>>10&255),a.push(i>>2&255)):r===12&&a.push(i>>4&255),new Uint8Array(a)}function une(e){var t="",r=0,n,o,s=e.length,i=xC;for(n=0;n>18&63],t+=i[r>>12&63],t+=i[r>>6&63],t+=i[r&63]),r=(r<<8)+e[n];return o=s%3,o===0?(t+=i[r>>18&63],t+=i[r>>12&63],t+=i[r>>6&63],t+=i[r&63]):o===2?(t+=i[r>>10&63],t+=i[r>>4&63],t+=i[r<<2&63],t+=i[64]):o===1&&(t+=i[r>>2&63],t+=i[r<<4&63],t+=i[64],t+=i[64]),t}function dne(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var pne=new Us("tag:yaml.org,2002:binary",{kind:"scalar",resolve:lne,construct:cne,predicate:dne,represent:une}),fne=Object.prototype.hasOwnProperty,hne=Object.prototype.toString;function mne(e){if(e===null)return!0;var t=[],r,n,o,s,i,a=e;for(r=0,n=a.length;r>10)+55296,(e-65536&1023)+56320)}function QL(e,t,r){t==="__proto__"?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:r}):e[t]=r}for(var ZL=Array(256),XL=Array(256),Hp=0;Hp<256;Hp++)ZL[Hp]=QO(Hp)?1:0,XL[Hp]=QO(Hp);function Mne(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||Cne,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function YL(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=Cre(r),new uc(t,r)}function Qt(e,t){throw YL(e,t)}function $b(e,t){e.onWarning&&e.onWarning.call(null,YL(e,t))}var ZO={YAML:function(e,t,r){var n,o,s;e.version!==null&&Qt(e,"duplication of %YAML directive"),r.length!==1&&Qt(e,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),n===null&&Qt(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),s=parseInt(n[2],10),o!==1&&Qt(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=s<2,s!==1&&s!==2&&$b(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,o;r.length!==2&&Qt(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],JL.test(n)||Qt(e,"ill-formed tag handle (first argument) of the TAG directive"),Bu.call(e.tagMap,n)&&Qt(e,'there is a previously declared suffix for "'+n+'" tag handle'),KL.test(o)||Qt(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch{Qt(e,"tag prefix is malformed: "+o)}e.tagMap[n]=o}};function Eu(e,t,r,n){var o,s,i,a;if(t1&&(e.result+=ei.repeat(` +`,t-1))}function Nne(e,t,r){var n,o,s,i,a,l,c,u,d=e.kind,p=e.result,f=e.input.charCodeAt(e.position);if(wi(f)||bf(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96||(f===63||f===45)&&(o=e.input.charCodeAt(e.position+1),wi(o)||r&&bf(o)))return!1;for(e.kind="scalar",e.result="",s=i=e.position,a=!1;f!==0;){if(f===58){if(o=e.input.charCodeAt(e.position+1),wi(o)||r&&bf(o))break}else if(f===35){if(n=e.input.charCodeAt(e.position-1),wi(n))break}else{if(e.position===e.lineStart&&_w(e)||r&&bf(f))break;if(Cl(f))if(l=e.line,c=e.lineStart,u=e.lineIndent,es(e,!1,-1),e.lineIndent>=t){a=!0,f=e.input.charCodeAt(e.position);continue}else{e.position=i,e.line=l,e.lineStart=c,e.lineIndent=u;break}}a&&(a=(Eu(e,s,i,!1),jC(e,e.line-l),s=i=e.position,!1)),Ud(f)||(i=e.position+1),f=e.input.charCodeAt(++e.position)}return Eu(e,s,i,!1),e.result?!0:(e.kind=d,e.result=p,!1)}function Lne(e,t){var r=e.input.charCodeAt(e.position),n,o;if(r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=o=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(Eu(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,o=e.position;else return!0;else Cl(r)?(Eu(e,n,o,!0),jC(e,es(e,!1,t)),n=o=e.position):e.position===e.lineStart&&_w(e)?Qt(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);Qt(e,"unexpected end of the stream within a single quoted scalar")}function Rne(e,t){var r,n,o,s,i,a=e.input.charCodeAt(e.position);if(a!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(a=e.input.charCodeAt(e.position))!==0;){if(a===34)return Eu(e,r,e.position,!0),e.position++,!0;if(a===92){if(Eu(e,r,e.position,!0),a=e.input.charCodeAt(++e.position),Cl(a))es(e,!1,t);else if(a<256&&ZL[a])e.result+=XL[a],e.position++;else if((i=Pne(a))>0){for(o=i,s=0;o>0;o--)a=e.input.charCodeAt(++e.position),(i=Tne(a))>=0?s=(s<<4)+i:Qt(e,"expected hexadecimal character");e.result+=Dne(s),e.position++}else Qt(e,"unknown escape sequence");r=n=e.position}else Cl(a)?(Eu(e,r,n,!0),jC(e,es(e,!1,t)),r=n=e.position):e.position===e.lineStart&&_w(e)?Qt(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}Qt(e,"unexpected end of the stream within a double quoted scalar")}function Bne(e,t){var r=!0,n,o,s,i=e.tag,a,l=e.anchor,c,u,d,p,f,m=Object.create(null),v,g,y,b=e.input.charCodeAt(e.position);if(b===91)u=93,f=!1,a=[];else if(b===123)u=125,f=!0,a={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),b=e.input.charCodeAt(++e.position);b!==0;){if(es(e,!0,t),b=e.input.charCodeAt(e.position),b===u)return e.position++,e.tag=i,e.anchor=l,e.kind=f?"mapping":"sequence",e.result=a,!0;r?b===44&&Qt(e,"expected the node content, but found ','"):Qt(e,"missed comma between flow collection entries"),g=v=y=null,d=p=!1,b===63&&(c=e.input.charCodeAt(e.position+1),wi(c)&&(d=p=!0,e.position++,es(e,!0,t))),n=e.line,o=e.lineStart,s=e.position,Xf(e,t,Eb,!1,!0),g=e.tag,v=e.result,es(e,!0,t),b=e.input.charCodeAt(e.position),(p||e.line===n)&&b===58&&(d=!0,b=e.input.charCodeAt(++e.position),es(e,!0,t),Xf(e,t,Eb,!1,!0),y=e.result),f?wf(e,a,m,g,v,y,n,o,s):d?a.push(wf(e,null,m,g,v,y,n,o,s)):a.push(v),es(e,!0,t),b=e.input.charCodeAt(e.position),b===44?(r=!0,b=e.input.charCodeAt(++e.position)):r=!1}Qt(e,"unexpected end of the stream within a flow collection")}function qne(e,t){var r,n,o=uk,s=!1,i=!1,a=t,l=0,c=!1,u,d=e.input.charCodeAt(e.position);if(d===124)n=!1;else if(d===62)n=!0;else return!1;for(e.kind="scalar",e.result="";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)uk===o?o=d===43?JO:Ane:Qt(e,"repeat of a chomping mode identifier");else if((u=Ine(d))>=0)u===0?Qt(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):i?Qt(e,"repeat of an indentation width identifier"):(a=t+u-1,i=!0);else break;if(Ud(d)){do d=e.input.charCodeAt(++e.position);while(Ud(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!Cl(d)&&d!==0)}for(;d!==0;){for(kC(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!i||e.lineIndenta&&(a=e.lineIndent),Cl(d)){l++;continue}if(e.lineIndentt)&&l!==0)Qt(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(g&&(i=e.line,a=e.lineStart,l=e.position),Xf(e,t,Ob,!0,o)&&(g?m=e.result:v=e.result),g||(wf(e,d,p,f,m,v,i,a,l),f=m=v=null),es(e,!0,-1),b=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&b!==0)Qt(e,"bad indentation of a mapping entry");else if(e.lineIndentt?l=1:e.lineIndent===t?l=0:e.lineIndentt?l=1:e.lineIndent===t?l=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),d=0,p=e.implicitTypes.length;d"),e.result!==null&&m.kind!==e.kind&&Qt(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+m.kind+'", not "'+e.kind+'"'),m.resolve(e.result,e.tag)?(e.result=m.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Qt(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||u}function Hne(e){var t=e.position,r,n,o,s=!1,i;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(i=e.input.charCodeAt(e.position))!==0&&(es(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||i!==37));){for(s=!0,i=e.input.charCodeAt(++e.position),r=e.position;i!==0&&!wi(i);)i=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),o=[],n.length<1&&Qt(e,"directive name must not be less than one character in length");i!==0;){for(;Ud(i);)i=e.input.charCodeAt(++e.position);if(i===35){do i=e.input.charCodeAt(++e.position);while(i!==0&&!Cl(i));break}if(Cl(i))break;for(r=e.position;i!==0&&!wi(i);)i=e.input.charCodeAt(++e.position);o.push(e.input.slice(r,e.position))}i!==0&&kC(e),Bu.call(ZO,n)?ZO[n](e,n,o):$b(e,'unknown document directive "'+n+'"')}if(es(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,es(e,!0,-1)):s&&Qt(e,"directives end mark is expected"),Xf(e,e.lineIndent-1,Ob,!1,!0),es(e,!0,-1),e.checkLineBreaks&&One.test(e.input.slice(t,e.position))&&$b(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&_w(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,es(e,!0,-1));return}if(e.position{if(typeof s=="object"&&s!==null){if(t.has(s))return s;if(t.add(s),Array.isArray(s))for(let i=0;iMi.filter(I=>C&&C[A]&&C[A][I]).map(I=>{if(!C||!C[A]||!C[A][I])return null;const{operationId:M,summary:N,tags:F}=C[A][I];return{path:A,verb:I,operationId:M,summary:N,tags:F??[]}}))}function m(){return o().info??{}}function v(){return o().externalDocs??{}}function g(){return o().servers??[]}function y(C){var N;const A=a(p(),C);if(!A)return[];const I=c(C),M=(N=o().paths[I??""])==null?void 0:N.servers;return(A==null?void 0:A.servers)!==void 0?A.servers:M!==void 0?M:o().servers??[]}function b(){if(!o().paths)return[];const C=o().paths;return Object.values(C).reduce((A,I)=>{var M;for(const N of Mi)I&&((M=I[N])!=null&&M.tags)&&I[N].tags.forEach(F=>{A.includes(F)||A.push(F)});return A},[])}function w(C){const A=p()??{},I={};for(const[M,N]of Object.entries(A))if(N)for(const F of Mi){const z=N[F];z&&C(z)&&(I[M]=I[M]||{},I[M][F]=z)}return I}function k(C){const A=typeof C=="string"?[C]:C;return w(I=>{var M;return(M=I==null?void 0:I.tags)==null?void 0:M.some(N=>A.includes(N))})}function x(){return w(C=>!(C!=null&&C.tags)||C.tags.length===0)}function j(){return(o().tags??[]).map(C=>({name:C.name??null,description:C.description??null}))}function _(){const C=b(),A=j().filter(I=>C.includes(I.name??""));return[...A,...C.filter(I=>!A.map(M=>M.name).includes(I)).map(I=>({name:I,description:null}))]}return{spec:o(),originalSpec:s(),setSpec:n,getSpec:o,getOriginalSpec:s,setOriginalSpec:i,getOperation:l,getOperationPath:c,getOperationMethod:u,getOperationParameters:d,getPaths:p,getPathsByVerbs:f,getInfo:m,getExternalDocs:v,getServers:g,getOperationServers:y,getOperationsTags:b,getPathsByTags:k,getPathsWithoutTags:x,getTags:j,getFilteredTags:_}}const Mi=["get","put","post","delete","options","head","patch","trace"],rR=["string","number","integer","boolean","null"];async function eoe(e){var r,n,o,s,i;if(!(e!=null&&e.paths))return e;const t=Cb(((n=(r=e.servers)==null?void 0:r[0])==null?void 0:n.url)||"");for(const[a,l]of Object.entries(e.paths))for(const c of Mi){const u=l[c];if(!u)continue;const d=((s=(o=u.securityUi)==null?void 0:o[0])==null?void 0:s.schemes)||[],p=Object.keys(((i=u.requestBody)==null?void 0:i.content)||{}),f=p.map(v=>{var g,y,b;return Object.values(((b=(y=(g=u.requestBody)==null?void 0:g.content)==null?void 0:y[v])==null?void 0:b.examples)||{})}).flat().find(v=>v==null?void 0:v.isAutogenerated),m=xw({path:a,method:c,baseUrl:t,parameters:(u.parameters||[]).filter(v=>!("$ref"in v)),authorizations:Object.entries(d).map(([v,g])=>({...g,name:String(v),label:String(v)})),body:(f==null?void 0:f.value)||void 0,headers:{...kn().getCodeSamplesDefaultHeaders()||{}},variables:{},contentType:p.length>0?p[0]:void 0});u.codeSamples=await Promise.all(AN.map(async v=>({...v,source:await kN(v,m)})))}return e}const toe=/\//g;function roe(e){e.paths=e.paths||{};for(const t of Object.keys(e.paths)){const r=e.paths[t];for(const n of Mi){const o=r[n];o&&(o.operationId||(o.operationId=`${n}${t.replace(toe,"-")}`))}}return e}function noe(e){e.paths=e.paths||{};for(const t of Object.keys(e.paths)){const r=e.paths[t];for(const n of Mi){const o=r[n];o&&(o.summary||(o.summary=`${n.toUpperCase()} ${t}`))}}return e}function ooe({spec:e,defaultTag:t="Default",defaultTagDescription:r=""}){const n=new Set;e.paths=e.paths||{};for(const[,o]of Object.entries(e.paths))for(const s of Mi){if(!o||!o[s])continue;const i=o[s],a=i.tags||[t];i.tags=a,a.forEach(l=>n.add(l))}return e.tags=e.tags||[],n.has(t)&&!e.tags.some(o=>o.name===t)&&e.tags.push({name:t,description:r}),e}function nR(e,t=!1){return soe(e,t)}function soe(e,t){return Array.isArray(e)?e.map(r=>cg(r,t)):cg(e,t)}function cg(e,t){var r,n;return(r=e.meta)!=null&&r.isCircularReference?"[Circular Reference]":(n=e.meta)!=null&&n.isConstant?ioe(e):sR(e,"array")?oR(e,t):aoe(e)?e$(e,t):loe(e)?e$({...e,types:[e.types.find(o=>o!=="null")??"null"]},t):iR(e)?aR(e,t):coe(e,"object")?b_(e.properties||[],t):Yf(e.types[0]??"string",e.defaultValue)}function oR(e,t){var r;return iR(e)?[aR(e,t)]:(r=e.meta)!=null&&r.hasPrefixItems&&e.properties&&Array.isArray(e.properties)?e.properties.map(n=>cg(n,t)):e.properties&&Array.isArray(e.properties)?[b_(e.properties,t)]:e.subtype?e.subtype==="object"&&e.properties?[b_(e.properties,t)]:t?[hv(e)??Yf(e.subtype,e.defaultValue)]:[Yf(e.subtype,e.defaultValue)]:[]}function b_(e,t){return e.reduce((r,n)=>(sR(n,"array")?r[n.name]=oR(n,t):r[n.name]=cg(n,t),r),{})}function e$(e,t){var r;if(t){const n=hv(e);if(n!=null)return n}return((r=e.constraints)==null?void 0:r.format)==="binary"?"":Yf(e.types[0]??"string",e.defaultValue)}function ioe(e){return hv(e)??Yf(e.types[0]??"string",e.defaultValue)}function Yf(e,t){if(t!==void 0)return t;switch(e){case"string":return"string";case"number":case"integer":return 0;case"float":return 0;case"boolean":return!0;case"null":return null;case"array":return[];case"object":return{};default:return}}function sR(e,t){var r;return((r=e.types)==null?void 0:r.length)===1&&e.types[0]===t}function aoe(e){var t;return((t=e.types)==null?void 0:t.length)===1&&e.types[0]!=null&&rR.includes(e.types[0])}function loe(e){var t;return(t=e.types)==null?void 0:t.every(r=>r&&rR.includes(r))}function coe(e,t){var r;return((r=e.types)==null?void 0:r.includes(t))??!1}function uoe(e){var t;return!!((t=e.meta)!=null&&t.isOneOf)&&Array.isArray(e.properties)}function doe(e){var t;return!!((t=e.meta)!=null&&t.isAnyOf)&&Array.isArray(e.properties)}function iR(e){return uoe(e)||doe(e)}function aR(e,t){return e.properties&&e.properties.length>0?cg(e.properties[0],t):t?hv(e):Yf(e.types[0]??"string",e.defaultValue)}var ja={},gd={},Yv={},t$={},Wp={},r$;function lR(){return r$||(r$=1,Object.defineProperty(Wp,"__esModule",{value:!0}),Wp.DEFAULTS=Wp.TAGS=void 0,Wp.TAGS={OPENING:"OPENING",CLOSING:"CLOSING",SELF_CLOSING:"SELF_CLOSING"},Wp.DEFAULTS={SPACE:" ",NEW_LINE:` -`,ATTR_KEY:"@",CONTENT_KEY:"#",EMPTY_STR:"",DECLARATION:{version:"1.0"},ENTITY_MAP:{"<":"<",">":">","&":"&","'":"'",'"':"""},TYPE_HANDLER:e=>[!0,e],LEVEL:{INIT:0,INCREMENT:1},DOUBLE_QUOTES:{ENABLE:!0,DIASBLE:!1},MAKE_TAG:!0,BEAUTIFY:{ENABLE:!0,DISABLE:!1},SELF_CLOSING:{ENABLE:!0,DISABLE:!1},get EMPTY_OBJ(){return new Object},get EMPTY_ARR(){return new Array}}),Wp}var n$={},o$;function cR(){return o$||(o$=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.objIsEmpty=e.keyExists=e.isUndef=e.isArr=e.isStr=e.isFunc=e.isObj=void 0;const t="{}",r="[]",n=u=>!!u&&typeof u=="object";e.isObj=n;const o=u=>typeof u=="function";e.isFunc=o;const s=u=>typeof u=="string";e.isStr=s;const i=u=>Array.isArray(u);e.isArr=i;const a=u=>typeof u>"u";e.isUndef=a;const l=(u,d)=>(0,e.isObj)(u)&&d in u;e.keyExists=l;const c=u=>(0,e.isObj)(u)&&[t,r].includes(JSON.stringify(u));e.objIsEmpty=c}(n$)),n$}var s$;function poe(){return s$||(s$=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.setDeclaration=e.setAttributes=e.setStringVal=e.createTag=e.checkChildTags=e.createEntityHandler=e.beautify=void 0;const t=lR(),r=cR(),n=(c,u=t.DEFAULTS.LEVEL.INIT,d=t.DEFAULTS.BEAUTIFY.ENABLE)=>{let p=c;if(!d)return t.DEFAULTS.EMPTY_STR;if(c===t.DEFAULTS.SPACE){if(p=t.DEFAULTS.EMPTY_STR,u)for(let f=t.DEFAULTS.LEVEL.INIT;f{const u=c&&RegExp(Object.keys(c).join("|"),"gi");return d=>u?d.replace(u,p=>(c==null?void 0:c[p])||t.DEFAULTS.EMPTY_STR):d};e.createEntityHandler=o;const s=(c,u,d)=>{if((0,r.isObj)(c)&&!(0,r.isArr)(c)){const p=Object.keys(c);return!!(p.length&&(p.find(f=>f===d&&(0,r.isObj)(c[f]))||p.some(f=>![u,d].includes(f))))}else if((0,r.isArr)(c))return!!c.length;return!1};e.checkChildTags=s,e.createTag={[t.TAGS.OPENING]:c=>`${(0,e.beautify)(t.DEFAULTS.SPACE,c.level,c.beautify)}<${c.name}${(0,e.setAttributes)(c.attributes,c.setEntities)}${c.selfClosing?`/>${(0,e.beautify)(t.DEFAULTS.NEW_LINE,t.DEFAULTS.LEVEL.INIT,c.beautify)}`:">"}`,[t.TAGS.CLOSING]:c=>`${c.hasChidTags?(0,e.beautify)(t.DEFAULTS.SPACE,c.level,c.beautify):t.DEFAULTS.EMPTY_STR}${(0,e.beautify)(t.DEFAULTS.NEW_LINE,t.DEFAULTS.LEVEL.INIT,c.beautify)}`};const i=(c,u,d)=>{let p=(0,r.isFunc)(c)?c():c;return(0,r.isStr)(p)&&(p=d&&d(p)),u?`"${p}"`:`${p}`};e.setStringVal=i;const a=(c,u)=>{let d=t.DEFAULTS.EMPTY_STR;return c&&Object.keys(c).forEach(p=>{d+=` ${p}=${(0,e.setStringVal)(c[p],t.DEFAULTS.DOUBLE_QUOTES.ENABLE,u)}`}),d};e.setAttributes=a;const l=(c,u,d=t.DEFAULTS.BEAUTIFY.ENABLE)=>{const p=Object.assign({},(0,r.isObj)(c)?c:t.DEFAULTS.DECLARATION);return`${(0,e.beautify)(t.DEFAULTS.NEW_LINE,t.DEFAULTS.LEVEL.INIT,d)}`};e.setDeclaration=l}(t$)),t$}var i$;function foe(){if(i$)return Yv;i$=1,Object.defineProperty(Yv,"__esModule",{value:!0});const e=poe(),t=cR(),r=lR();return Yv.default=(n=r.DEFAULTS.EMPTY_OBJ,o=r.DEFAULTS.EMPTY_OBJ)=>{const s=(o==null?void 0:o.attrKey)||r.DEFAULTS.ATTR_KEY,i=(o==null?void 0:o.contentKey)||r.DEFAULTS.CONTENT_KEY,a=(0,e.createEntityHandler)(Object.assign({},(0,t.isObj)(o==null?void 0:o.entityMap)?o==null?void 0:o.entityMap:r.DEFAULTS.ENTITY_MAP));let l=(0,e.setDeclaration)(o==null?void 0:o.declaration,a,o==null?void 0:o.beautify);const c=(u,d,p)=>{var f;const m=(d==null?void 0:d[s])||r.DEFAULTS.EMPTY_OBJ;let v=(0,t.keyExists)(d,i)?d[i]:d;v=(0,t.isFunc)(v)?v():v;let[g,y]=(0,t.isFunc)(o==null?void 0:o.typeHandler)?(f=o.typeHandler)===null||f===void 0?void 0:f.call(r.DEFAULTS.EMPTY_OBJ,v):[r.DEFAULTS.MAKE_TAG,v];y=(0,t.objIsEmpty)(y)?r.DEFAULTS.EMPTY_STR:y;const b=(0,e.checkChildTags)(y,s,i),w=((0,t.keyExists)(o,"selfClosing")?o.selfClosing:r.DEFAULTS.SELF_CLOSING.ENABLE)&&[void 0,null,""].includes(y);!g||[s,i].includes(u)||!(0,t.isArr)(y)&&(l+=u&&e.createTag[r.TAGS.OPENING]({attributes:m,level:p,name:u,setEntities:a,beautify:o==null?void 0:o.beautify,selfClosing:w})||r.DEFAULTS.EMPTY_STR,w)||(b?(0,t.isArr)(y)?y.forEach(k=>{c(u,k,p)}):(l+=(0,e.beautify)(r.DEFAULTS.NEW_LINE,r.DEFAULTS.LEVEL.INIT,o==null?void 0:o.beautify),Object.keys(y).forEach(k=>{c(k,y[k],p+r.DEFAULTS.LEVEL.INCREMENT)})):l+=(0,e.setStringVal)(y,r.DEFAULTS.DOUBLE_QUOTES.DIASBLE,a),(0,t.isArr)(y)||(l+=u&&e.createTag[r.TAGS.CLOSING]({level:p,hasChidTags:b,name:u,setEntities:a,beautify:o==null?void 0:o.beautify})||r.DEFAULTS.EMPTY_STR))};return(u=>((0,t.isObj)(u)&&Object.keys(u).forEach(d=>{c(d,u[d],r.DEFAULTS.LEVEL.INIT)}),l))(n)},Yv}var a$;function hoe(){if(a$)return gd;a$=1;var e=gd&&gd.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(gd,"__esModule",{value:!0}),gd.toXmlString=void 0;const t=e(foe());return gd.toXmlString=t.default,gd}var l$;function moe(){if(l$)return ja;l$=1;var e=ja&&ja.__createBinding||(Object.create?function(o,s,i,a){a===void 0&&(a=i);var l=Object.getOwnPropertyDescriptor(s,i);(!l||("get"in l?!s.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,a,l)}:function(o,s,i,a){a===void 0&&(a=i),o[a]=s[i]}),t=ja&&ja.__setModuleDefault||(Object.create?function(o,s){Object.defineProperty(o,"default",{enumerable:!0,value:s})}:function(o,s){o.default=s}),r=ja&&ja.__importStar||function(o){if(o&&o.__esModule)return o;var s={};if(o!=null)for(var i in o)i!=="default"&&Object.prototype.hasOwnProperty.call(o,i)&&e(s,o,i);return t(s,o),s};Object.defineProperty(ja,"__esModule",{value:!0}),ja.jsXml=void 0;const n=r(hoe());return ja.jsXml=n,ja}var goe=moe();function voe(e,t=!1){const r=nR(e,t);return goe.jsXml.toXmlString(r)}function yoe(e){return mC(e)?{key:"XML",summary:"XML",valueGenerator:voe,lang:"xml"}:{key:"JSON",summary:"JSON",valueGenerator:nR,lang:"json",hideOnSchemaTabs:bw(e)||ww(e)||iX(e)}}function uR(e,t,r=!1){const n=yoe(e);return{[n.key]:boe(n,t,r)}}function boe(e,t,r=!1){return{summary:e.summary,description:"",value:e.valueGenerator(t,r),isAutogenerated:!0,lang:e.lang??"json",hideOnSchemaTabs:e.hideOnSchemaTabs??!1}}function Z0(e){var t,r;return(e==null?void 0:e.examples)!==void 0?e.examples:((t=e==null?void 0:e.schema)==null?void 0:t.examples)!==void 0?e.schema.examples:(e==null?void 0:e.example)!==void 0?[e.example]:(e==null?void 0:e.subexamples)!==void 0?e.subexamples:((r=e==null?void 0:e.schema)==null?void 0:r.example)!==void 0?[e.schema.example]:(e==null?void 0:e.subexample)!==void 0?[e.subexample]:null}const dR=["exclusiveMaximum","exclusiveMinimum","format","maximum","maxItems","maxLength","maxProperties","minimum","minItems","minLength","minProperties","multipleOf","pattern","uniqueItems","default"];function woe(e){return Object.keys(e).some(t=>dR.includes(t))}function pR(e){return Object.entries(e).filter(([t])=>dR.includes(t)).reduce((t,[r,n])=>(t[r]=n,t),{})}function xoe(e){return fR({key:"root",value:e,parent:null}),e}function fR(e){const{value:t}=e;if(typeof t!="object"||t===null)return;const r=koe(e.parent,t);if(r)e.parent.value[e.key]={type:"object",circularReference:r};else for(const[n,o]of Object.entries(t))fR({key:n,value:o,parent:e})}function koe(e,t){const r=t&&t[Nd]?t[Nd]:t;for(;e;){const n=e.value;if((n&&n[Nd]?n[Nd]:n)===r)return hR(e);e=e.parent}return null}function hR(e){return e?`${hR(e.parent)}/${e.key}`:""}class Ho{static createBaseProperty(t,r={},n=!1){const o=Array.isArray(r.type)?r.type:[r.type||"string"],s=Z0(r),i={name:t,types:o,required:n,...r.title&&{title:r.title},...r.description&&{description:r.description},...r.default!==void 0&&{defaultValue:r.default},...r.externalDocs&&{docs:r.externalDocs},...s&&{examples:s},...r.nullable&&{nullable:r.nullable}};return r.const!==void 0&&(i.meta={...i.meta||{},isConstant:!0}),woe(r)&&(i.constraints=pR(r)),Object.keys(r).forEach(a=>{a.startsWith("x-")&&(i.meta=i.meta||{},i.meta.extra=i.meta.extra||{},i.meta.extra[a]=r[a])}),i}static createCircularReferenceProperty(t,r){return{name:t,types:["object"],required:!1,description:`Circular reference to **${r}**`,meta:{isCircularReference:!0}}}static createUnionProperty(t,r,n="",o={},s=!1){const i=Ho.createBaseProperty(n,o,s),a=[...new Set(t.map(d=>fk(d)).filter(Boolean))];a.length>0&&(i.types=a);const l=r==="oneOf",c=l?"isOneOfItem":"isAnyOfItem",u=l?"isOneOf":"isAnyOf";return i.properties=t.map(d=>{const p=Ho.schemaToUiProperty("",d);return p.meta={...p.meta||{},[c]:!0},p}),i.meta={...i.meta||{},[u]:!0},i}static createOneOfProperty(t,r="",n={},o=!1){return Ho.createUnionProperty(t,"oneOf",r,n,o)}static createAnyOfProperty(t,r="",n={},o=!1){return Ho.createUnionProperty(t,"anyOf",r,n,o)}static schemaToUiProperty(t,r,n=!1){if(!r||Object.keys(r).length===0)return{name:t,types:[],required:n};if(r.circularReference)return Ho.createCircularReferenceProperty(t,r.circularReference);if(r.oneOf)return Ho.createOneOfProperty(r.oneOf,t,r,n);if(r.anyOf)return Ho.createAnyOfProperty(r.anyOf,t,r,n);if(r.const!==void 0){const s=Ho.createBaseProperty(t,r,n),i=fk(r);i&&(s.types=[i]);const a=Z0(r)||r.const;return a!==void 0&&(s.examples=Array.isArray(a)?a:[a]),s.meta={...s.meta||{},isConstant:!0},s}if(r.enum){let s=[];r.type?s=Array.isArray(r.type)?r.type:[r.type]:s=joe(r.enum),s.length===0&&(s=["string"]);const i=Ho.createBaseProperty(t,r,n);return i.enum=r.enum,i.types=s,i}const o=Ho.createBaseProperty(t,r,n);if(Array.isArray(r.type)?r.type.includes("array"):r.type==="array"){if(r.items){const s=fk(r.items);o.properties=s==="object"?Ho.extractProperties(r.items.properties,r.items.required||[],r.items.additionalProperties,r.items["x-additionalPropertiesName"]):void 0,s!==void 0&&(o.subtype=s);const i=Z0(r.items);if(i&&(o.subexamples=i),r.items.const!==void 0&&(o.meta={...o.meta||{},isConstant:!0}),r.items.oneOf||r.items.anyOf){const a=!!r.items.oneOf,l=a?r.items.oneOf:r.items.anyOf,c=a?"isOneOf":"isAnyOf",u=a?"isOneOfItem":"isAnyOfItem";o.meta={...o.meta||{},[c]:!0},o.properties=l.map(d=>{const p={...d,type:r.items.type};return{...Ho.schemaToUiProperty("",p),meta:{...d.meta||{},[u]:!0}}})}if(s!=="object"&&s!=="array"&&!r.items.oneOf&&!r.items.anyOf){const a=Ho.schemaToUiProperty("[item]",r.items);(a.description||a.enum||a.constraints||a.docs)&&(o.items=a)}}if(r.prefixItems&&Array.isArray(r.prefixItems)&&(o.properties=r.prefixItems.map((s,i)=>{const a=Ho.schemaToUiProperty(`[${i}]`,s,!1);return a.meta={...a.meta||{},isPrefixItem:!0,prefixItemIndex:i},a}),o.meta={...o.meta||{},hasPrefixItems:!0}),r.prefixItems&&Array.isArray(r.prefixItems)&&r.items){const s=Ho.schemaToUiProperty("[n+]",r.items,!1);s.meta={...s.meta||{},isAdditionalItems:!0},o.properties=[...o.properties||[],s],o.subtype=void 0}}else(Array.isArray(r.type)?r.type.includes("object"):r.type==="object")?o.properties=Ho.extractProperties(r.properties,r.required||[],r.additionalProperties,r["x-additionalPropertiesName"]):r.type===void 0&&(r.properties||r.additionalProperties)&&(o.types=["object"],o.properties=Ho.extractProperties(r.properties,r.required||[],r.additionalProperties,r["x-additionalPropertiesName"]));return o}static extractProperties(t,r=[],n,o){const s=[];if(t&&Object.entries(t).forEach(([i,a])=>{const l=r.includes(i);s.push(Ho.schemaToUiProperty(i,a,l))}),n){const i=typeof n=="object"?n:{type:"string"},a=o||"additionalProperties",l=Ho.schemaToUiProperty(a,i);l.required=!1,l.meta={...l.meta||{},isAdditionalProperties:!0},s.push(l)}return s}}function mR(e){if(!e||Object.keys(e).length===0)return[];const t=xoe(e);return Ho.schemaToUiProperty("",t)}function joe(e){const t=new Set;return e.forEach(r=>{r===null?t.add("null"):Array.isArray(r)?t.add("array"):typeof r=="object"?t.add("object"):typeof r=="string"?t.add("string"):typeof r=="boolean"?t.add("boolean"):typeof r=="number"&&t.add(Number.isInteger(r)?"integer":"number")}),t.has("number")&&t.delete("integer"),[...t]}function fk(e){return!e.type&&e.properties?"object":!e.type&&e.items?"array":!e.type&&e.const!==void 0?Array.isArray(e.const)?"array":typeof e.const=="object"&&e.const!==null?"object":typeof e.const=="string"?"string":typeof e.const=="number"?"number":typeof e.const=="boolean"?"boolean":"null":e.type}function _oe(e){if(!e.paths)return e;for(const t of Object.values(e.paths))for(const r of Mi){const n=t[r];if(n&&n.requestBody)for(const[o,s]of Object.entries(n.requestBody.content||{})){const i=s;i.schema&&(i.ui=mR(i.schema),i.examples={...i.examples||{},...uR(o,i.ui,!0)})}}return e}function Soe(e){if(!e.paths)return e;for(const t of Object.values(e.paths))for(const r of Mi){const n=t[r];if(n&&n.responses)for(const o of Object.values(n.responses))for(const[s,i]of Object.entries(o.content||{})){const a=i;a.schema&&(a.ui=mR(a.schema),a.examples={...a.examples||{},...uR(s,a.ui,!0)})}}return e}const c$="None";function Coe(e,t){const r=[];return e?(e.forEach(n=>{const o={id:Object.keys(n).length?Object.keys(n).join("|"):c$,schemes:{}};Object.keys(n).forEach(s=>{t&&t[s]&&(o.schemes[s]=t[s])}),r.push(o)}),r.length===1&&r[0].id===c$&&Object.keys(r[0].schemes).length===0?[]:r):r}function Aoe(e){var t;if(!(e!=null&&e.paths))return e;for(const r of Object.values(e.paths))for(const n of Mi){const o=r[n];o&&(o.securityUi=Coe(o.security??e.security??[],((t=e.components)==null?void 0:t.securitySchemes)||{}))}return e}function SC(){function e({spec:o,defaultTag:s=void 0,defaultTagDescription:i=void 0}){let a=Um(o);return a?!a.openapi||!String(a.openapi).startsWith("3.")?(console.warn("Only OpenAPI 3.x is supported"),{}):(a!=null&&a.paths&&(a=roe(a),a=noe(a),a=ooe({spec:a,defaultTag:s,defaultTagDescription:i})),a.externalDocs=a.externalDocs||{},a.info=a.info||{},a.servers=a.servers||[],a.tags=a.tags||[],{...a}):{}}async function t({spec:o}){let s=Um(o);const[i,a]=await Up(()=>eoe(s));return s=a?s:i,s}function r({spec:o,defaultTag:s=void 0,defaultTagDescription:i=void 0}){let a={...Um(o)};const[l,c]=Up(()=>pre(e({spec:o,defaultTag:s,defaultTagDescription:i})));a=c?a:l;const[u,d]=Up(()=>Yne(a));a=d?a:u;const[p,f]=Up(()=>Aoe(a));a=f?a:p;const[m,v]=Up(()=>_oe(a));a=v?a:m;const[g,y]=Up(()=>Soe(a));return a=y?a:g,a.externalDocs=a.externalDocs||a.externalDocs||{},a.info=a.info||a.info||{},a.servers=a.servers||a.servers||[],a.tags=a.tags||a.tags||[],{...a}}async function n({spec:o,defaultTag:s=void 0,defaultTagDescription:i=void 0}){let a=r({spec:o,defaultTag:s,defaultTagDescription:i});return a=await t({spec:a}),a}return{transformSync:e,transformAsync:t,parseSync:r,parseAsync:n}}const CC=Symbol("openapiLocal");let Em=null;function gR(e,t){return _C({spec:e,originalSpec:t})}function Eoe(e){const t=Um(e.spec),r=SC().parseSync({spec:e.spec,defaultTag:e.defaultTag,defaultTagDescription:e.defaultTagDescription});return gR(r,t)}async function Ooe(e){const t=Um(e.spec),r=await SC().parseAsync({spec:e.spec,defaultTag:e.defaultTag,defaultTagDescription:e.defaultTagDescription});return gR(r,t)}function AC(){return _i(CC,null)}function vR(){return Em}function yR(e={}){var n,o,s,i;e.config&&kn(e.config),e.spec&&(Em=Eoe({spec:e.spec,defaultTag:(o=(n=e.config)==null?void 0:n.spec)==null?void 0:o.defaultTag,defaultTagDescription:(i=(s=e.config)==null?void 0:s.spec)==null?void 0:i.defaultTagDescription}));const t=AC()??Em??_C({});async function r(a={}){var c,u,d,p;const l=a.spec??e.spec;if(!l)throw new Error("No spec provided");return Em=await Ooe({spec:l,defaultTag:(u=(c=e.config)==null?void 0:c.spec)==null?void 0:u.defaultTag,defaultTagDescription:(p=(d=e.config)==null?void 0:d.spec)==null?void 0:p.defaultTagDescription}),Em}return{...t,async:r}}var u$={};function w_({chain:e,messages:t,params:r,initialChain:n}){const o=e[0];if(n??(n=[...e]),o.includes("[")){const[i,a]=o.split("["),l=Number.parseInt(a.replace("]",""),10);if(l<0)throw new Error(`Invalid array index "${l}" for message "${n.join(".")}"`);const c=t[i];if(!Array.isArray(c)||c.length<=l)throw new Error(`Message "${n.join(".")}" not found`);const u=c[l];return e.length===1?typeof u=="string"?u:"":w_({chain:e.slice(1),messages:u,params:r,initialChain:n})}const s=t[o];if(s==null)throw new Error(`Message "${n.join(".")}" not found`);return e.length===1?typeof s!="string"?"":r?s.replace(/\{(\w*)\}/g,(i,a)=>{if(!(a in r))throw new Error(`Parameter "${a}" not found`);if(Array.isArray(r)){if(Number.isNaN(Number(a)))throw new Error(`Parameter "${a}" not found`);return String(r[a])}return String(r[a])}):s:w_({chain:e.slice(1),messages:s,params:r,initialChain:n})}const ey="[vue-i18n]",bR=Symbol("@byjohann/vue-i18n");function $oe(e){const{defaultLocale:t="en",logLevel:r="warn"}=e,n={...e.messages??{}},o=Oe(t),s=e.locales??(Object.keys(n).length?Object.keys(n):[o.value]),i=(c,u)=>{if(typeof c!="string")return r==="warn"&&console.warn(ey,`Message "${c}" must be a string`),"";if(!c)return r==="warn"&&console.warn(ey,"Message key is empty"),"";try{return w_({chain:c.split("."),messages:n[o.value],params:u})}catch(d){return r==="warn"&&console.warn(ey,d.message),c}},a=c=>{if(!s.includes(c)){r==="warn"&&console.warn(ey,`Locale "${c}" is not defined in the locales list. Available locales: ${s.join(", ")}`);return}o.value=c},l=()=>o.value;return{defaultLocale:t,locale:le(()=>o.value),locales:Object.freeze(s),messages:n,t:i,setLocale:a,getLocale:l,install(c){c.provide(bR,this),c.config.globalProperties.$t=this.t,c.config.globalProperties.$i18n=this}}}function Jn(){return _i(bR)}const Toe=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Poe=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Ioe=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Doe(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Moe(e);return}return t}function Moe(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Loe(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Ioe.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Toe.test(e)||Poe.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Doe)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}var Noe={207:(e,t,r)=>{e.exports=r(452)},452:e=>{var t=function(r){var n,o=Object.prototype,s=o.hasOwnProperty,i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(V,J,oe){return Object.defineProperty(V,J,{value:oe,enumerable:!0,configurable:!0,writable:!0}),V[J]}try{u({},"")}catch{u=function(V,J,oe){return V[J]=oe}}function d(V,J,oe,H){var B=J&&J.prototype instanceof b?J:b,se=Object.create(B.prototype),q=new z(H||[]);return se._invoke=function(O,D,Z){var Se=f;return function(ie,re){if(Se===v)throw new Error("Generator is already running");if(Se===g){if(ie==="throw")throw re;return X()}for(Z.method=ie,Z.arg=re;;){var xe=Z.delegate;if(xe){var R=M(xe,Z);if(R){if(R===y)continue;return R}}if(Z.method==="next")Z.sent=Z._sent=Z.arg;else if(Z.method==="throw"){if(Se===f)throw Se=g,Z.arg;Z.dispatchException(Z.arg)}else Z.method==="return"&&Z.abrupt("return",Z.arg);Se=v;var te=p(O,D,Z);if(te.type==="normal"){if(Se=Z.done?g:m,te.arg===y)continue;return{value:te.arg,done:Z.done}}te.type==="throw"&&(Se=g,Z.method="throw",Z.arg=te.arg)}}}(V,oe,q),se}function p(V,J,oe){try{return{type:"normal",arg:V.call(J,oe)}}catch(H){return{type:"throw",arg:H}}}r.wrap=d;var f="suspendedStart",m="suspendedYield",v="executing",g="completed",y={};function b(){}function w(){}function k(){}var x={};u(x,a,function(){return this});var j=Object.getPrototypeOf,_=j&&j(j(L([])));_&&_!==o&&s.call(_,a)&&(x=_);var C=k.prototype=b.prototype=Object.create(x);function A(V){["next","throw","return"].forEach(function(J){u(V,J,function(oe){return this._invoke(J,oe)})})}function I(V,J){function oe(B,se,q,O){var D=p(V[B],V,se);if(D.type!=="throw"){var Z=D.arg,Se=Z.value;return Se&&typeof Se=="object"&&s.call(Se,"__await")?J.resolve(Se.__await).then(function(ie){oe("next",ie,q,O)},function(ie){oe("throw",ie,q,O)}):J.resolve(Se).then(function(ie){Z.value=ie,q(Z)},function(ie){return oe("throw",ie,q,O)})}O(D.arg)}var H;this._invoke=function(B,se){function q(){return new J(function(O,D){oe(B,se,O,D)})}return H=H?H.then(q,q):q()}}function M(V,J){var oe=V.iterator[J.method];if(oe===n){if(J.delegate=null,J.method==="throw"){if(V.iterator.return&&(J.method="return",J.arg=n,M(V,J),J.method==="throw"))return y;J.method="throw",J.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var H=p(oe,V.iterator,J.arg);if(H.type==="throw")return J.method="throw",J.arg=H.arg,J.delegate=null,y;var B=H.arg;return B?B.done?(J[V.resultName]=B.value,J.next=V.nextLoc,J.method!=="return"&&(J.method="next",J.arg=n),J.delegate=null,y):B:(J.method="throw",J.arg=new TypeError("iterator result is not an object"),J.delegate=null,y)}function N(V){var J={tryLoc:V[0]};1 in V&&(J.catchLoc=V[1]),2 in V&&(J.finallyLoc=V[2],J.afterLoc=V[3]),this.tryEntries.push(J)}function F(V){var J=V.completion||{};J.type="normal",delete J.arg,V.completion=J}function z(V){this.tryEntries=[{tryLoc:"root"}],V.forEach(N,this),this.reset(!0)}function L(V){if(V){var J=V[a];if(J)return J.call(V);if(typeof V.next=="function")return V;if(!isNaN(V.length)){var oe=-1,H=function B(){for(;++oe=0;--H){var B=this.tryEntries[H],se=B.completion;if(B.tryLoc==="root")return oe("end");if(B.tryLoc<=this.prev){var q=s.call(B,"catchLoc"),O=s.call(B,"finallyLoc");if(q&&O){if(this.prev=0;--oe){var H=this.tryEntries[oe];if(H.tryLoc<=this.prev&&s.call(H,"finallyLoc")&&this.prev=0;--J){var oe=this.tryEntries[J];if(oe.finallyLoc===V)return this.complete(oe.completion,oe.afterLoc),F(oe),y}},catch:function(V){for(var J=this.tryEntries.length-1;J>=0;--J){var oe=this.tryEntries[J];if(oe.tryLoc===V){var H=oe.completion;if(H.type==="throw"){var B=H.arg;F(oe)}return B}}throw new Error("illegal catch attempt")},delegateYield:function(V,J,oe){return this.delegate={iterator:L(V),resultName:J,nextLoc:oe},this.method==="next"&&(this.arg=n),y}},r}(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}},d$={};function Oa(e){var t=d$[e];if(t!==void 0)return t.exports;var r=d$[e]={exports:{}};return Noe[e](r,r.exports,Oa),r.exports}Oa.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return Oa.d(t,{a:t}),t},Oa.d=(e,t)=>{for(var r in t)Oa.o(t,r)&&!Oa.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},Oa.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var wR={};function x_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rVoe});const Mt=(p$={Fragment:()=>dt,computed:()=>le,createTextVNode:()=>Vt,createVNode:()=>ye,defineComponent:()=>Te,nextTick:()=>Io,reactive:()=>sC,ref:()=>Oe,watch:()=>cr,watchEffect:()=>Lo},hk={},Oa.d(hk,p$),hk),Roe=(0,Mt.defineComponent)({props:{data:{required:!0,type:String},onClick:Function},render:function(){var e=this.data,t=this.onClick;return(0,Mt.createVNode)("span",{class:"vjs-tree-brackets",onClick:t},[e])}}),Boe=(0,Mt.defineComponent)({emits:["change","update:modelValue"],props:{checked:{type:Boolean,default:!1},isMultiple:Boolean,onChange:Function},setup:function(e,t){var r=t.emit;return{uiType:(0,Mt.computed)(function(){return e.isMultiple?"checkbox":"radio"}),model:(0,Mt.computed)({get:function(){return e.checked},set:function(n){return r("update:modelValue",n)}})}},render:function(){var e=this.uiType,t=this.model,r=this.$emit;return(0,Mt.createVNode)("label",{class:["vjs-check-controller",t?"is-checked":""],onClick:function(n){return n.stopPropagation()}},[(0,Mt.createVNode)("span",{class:"vjs-check-controller-inner is-".concat(e)},null),(0,Mt.createVNode)("input",{checked:t,class:"vjs-check-controller-original is-".concat(e),type:e,onChange:function(){return r("change",t)}},null)])}}),qoe=(0,Mt.defineComponent)({props:{nodeType:{required:!0,type:String},onClick:Function},render:function(){var e=this.nodeType,t=this.onClick,r=e==="objectStart"||e==="arrayStart";return r||e==="objectCollapsed"||e==="arrayCollapsed"?(0,Mt.createVNode)("span",{class:"vjs-carets vjs-carets-".concat(r?"open":"close"),onClick:t},[(0,Mt.createVNode)("svg",{viewBox:"0 0 1024 1024",focusable:"false","data-icon":"caret-down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},[(0,Mt.createVNode)("path",{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"},null)])]):null}});var p$,hk;function k_(e){return k_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k_(e)}function kR(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function Ad(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"root",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=(arguments.length>3?arguments[3]:void 0)||{},o=n.key,s=n.index,i=n.type,a=i===void 0?"content":i,l=n.showComma,c=l!==void 0&&l,u=n.length,d=u===void 0?1:u,p=kR(e);if(p==="array"){var f=f$(e.map(function(g,y,b){return Ad(g,"".concat(t,"[").concat(y,"]"),r+1,{index:y,showComma:y!==b.length-1,length:d,type:a})}));return[Ad("[",t,r,{showComma:!1,key:o,length:e.length,type:"arrayStart"})[0]].concat(f,Ad("]",t,r,{showComma:c,length:e.length,type:"arrayEnd"})[0])}if(p==="object"){var m=Object.keys(e),v=f$(m.map(function(g,y,b){return Ad(e[g],/^[a-zA-Z_]\w*$/.test(g)?"".concat(t,".").concat(g):"".concat(t,'["').concat(g,'"]'),r+1,{key:g,showComma:y!==b.length-1,length:d,type:a})}));return[Ad("{",t,r,{showComma:!1,key:o,index:s,length:m.length,type:"objectStart"})[0]].concat(v,Ad("}",t,r,{showComma:c,length:m.length,type:"objectEnd"})[0])}return[{content:e,level:r,key:o,index:s,path:t,showComma:c,length:d,type:a}]}function f$(e){if(typeof Array.prototype.flat=="function")return e.flat();for(var t=Tb(e),r=[];t.length;){var n=t.shift();Array.isArray(n)?t.unshift.apply(t,Tb(n)):r.push(n)}return r}function j_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(e==null)return e;if(e instanceof Date)return new Date(e);if(e instanceof RegExp)return new RegExp(e);if(k_(e)!=="object")return e;if(t.get(e))return t.get(e);if(Array.isArray(e)){var r=e.map(function(s){return j_(s,t)});return t.set(e,r),r}var n={};for(var o in e)n[o]=j_(e[o],t);return t.set(e,n),n}function h$(e,t,r,n,o,s,i){try{var a=e[s](i),l=a.value}catch(c){return void r(c)}a.done?t(l):Promise.resolve(l).then(n,o)}var zoe=Oa(207),m$=Oa.n(zoe);function g$(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function v$(e){for(var t=1;t=F||X.length>=z,oe=(V=e.pathCollapsible)===null||V===void 0?void 0:V.call(e,X);return X.type!=="objectStart"&&X.type!=="arrayStart"||!J&&!oe?L:Ai(Ai({},L),{},ug({},X.path,1))},{})},a=(0,Mt.reactive)({translateY:0,visibleData:null,hiddenPaths:i(e.deep,e.collapsedNodeLength),startIndex:0,endIndex:0}),l=[],c=[],u=0,d={},p=function(F){l=Array(F).fill(0).map(function(){return e.itemHeight||20}),(c=new Array(F+1))[0]=0;for(var z=0;zz&&(F=z);for(var L=F;L>>1;F[V]z.length?z.length-B:se;q<0&&(q=0);var O=q+B;a.translateY=q*e.itemHeight,a.startIndex=q,a.endIndex=O,a.visibleData=z.slice(q,O)}}else a.translateY=0,a.startIndex=0,a.endIndex=z.length,a.visibleData=z},k=null,x=function(){k&&cancelAnimationFrame(k),k=requestAnimationFrame(function(){w()})},j=function(F){var z,L,X=F.path,V=e.selectableType;if(V==="multiple"){var J=g.value.findIndex(function(se){return se===X}),oe=Tb(g.value);J!==-1?oe.splice(J,1):oe.push(X),r("update:selectedValue",oe),r("selectedChange",oe,Tb(g.value))}else if(V==="single"&&g.value[0]!==X){var H=(z=g.value,L=1,function(se){if(Array.isArray(se))return se}(z)||function(se,q){var O=se==null?null:typeof Symbol<"u"&&se[Symbol.iterator]||se["@@iterator"];if(O!=null){var D,Z,Se=[],ie=!0,re=!1;try{for(O=O.call(se);!(ie=(D=O.next()).done)&&(Se.push(D.value),!q||Se.length!==q);ie=!0);}catch(xe){re=!0,Z=xe}finally{try{ie||O.return==null||O.return()}finally{if(re)throw Z}}return Se}}(z,L)||xR(z,L)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],B=X;r("update:selectedValue",B),r("selectedChange",B,H)}},_=function(F){r("nodeClick",F)},C=function(F){r("nodeMouseover",F)},A=function(F,z){if(F)a.hiddenPaths=Ai(Ai({},a.hiddenPaths),{},ug({},z,1));else{var L=Ai({},a.hiddenPaths);delete L[z],a.hiddenPaths=L}},I=function(F,z){e.collapsedOnClickBrackets&&A(F,z.path),r("bracketsClick",F,z)},M=function(F,z){A(F,z.path),r("iconClick",F,z)},N=function(F,z){var L=j_(e.data),X=e.rootPath;new Function("data","val","data".concat(z.slice(X.length),"=val"))(L,F),r("update:data",L)};return(0,Mt.watchEffect)(function(){y.value&&function(F){throw new Error("[VueJSONPretty] ".concat(F))}(y.value)}),(0,Mt.watchEffect)(function(){v.value&&(e.virtual&&e.dynamicHeight&&l.length!==v.value.length&&p(v.value.length),w())}),(0,Mt.watch)(function(){return[e.dynamicHeight,e.itemHeight,s.value.length]},function(){e.virtual&&e.dynamicHeight&&(p(v.value.length),(0,Mt.nextTick)(w))}),(0,Mt.watch)(function(){return e.deep},function(F){F&&(a.hiddenPaths=i(F,e.collapsedNodeLength))}),(0,Mt.watch)(function(){return e.collapsedNodeLength},function(F){F&&(a.hiddenPaths=i(e.deep,F))}),function(){var F,z,L,X,V,J=(F=e.renderNodeKey)!==null&&F!==void 0?F:n.renderNodeKey,oe=(z=e.renderNodeValue)!==null&&z!==void 0?z:n.renderNodeValue,H=(L=(X=e.renderNodeActions)!==null&&X!==void 0?X:n.renderNodeActions)!==null&&L!==void 0&&L,B=(V=a.visibleData)===null||V===void 0?void 0:V.map(function(se,q){var O=a.startIndex+q;return(0,Mt.createVNode)("div",{key:se.id,ref:function(D){return function(Z,Se){Se?d[Z]=Se:delete d[Z]}(O,D||null)}},[(0,Mt.createVNode)(Foe,{data:e.data,rootPath:e.rootPath,indent:e.indent,node:se,collapsed:!!a.hiddenPaths[se.path],theme:e.theme,showDoubleQuotes:e.showDoubleQuotes,showLength:e.showLength,checked:g.value.includes(se.path),selectableType:e.selectableType,showLine:e.showLine,showLineNumber:e.showLineNumber,showSelectController:e.showSelectController,selectOnClickNode:e.selectOnClickNode,nodeSelectable:e.nodeSelectable,highlightSelectedNode:e.highlightSelectedNode,editable:e.editable,editableTrigger:e.editableTrigger,showIcon:e.showIcon,showKeyValueSpace:e.showKeyValueSpace,renderNodeKey:J,renderNodeValue:oe,renderNodeActions:H,onNodeClick:_,onNodeMouseover:C,onBracketsClick:I,onIconClick:M,onSelectedChange:j,onValueChange:N,class:e.dynamicHeight?"dynamic-height":void 0,style:e.dynamicHeight?{}:e.itemHeight&&e.itemHeight!==20?{lineHeight:"".concat(e.itemHeight,"px")}:{}},null)])});return(0,Mt.createVNode)("div",{ref:o,class:{"vjs-tree":!0,"is-virtual":e.virtual,dark:e.theme==="dark"},onScroll:e.virtual?x:void 0,style:e.showLineNumber?Ai({paddingLeft:"".concat(12*Number(s.value.length.toString().length),"px")},e.style):e.style},[e.virtual?(0,Mt.createVNode)("div",{class:"vjs-tree-list",style:{height:"".concat(e.height,"px")}},[(0,Mt.createVNode)("div",{class:"vjs-tree-list-holder",style:{height:"".concat(b.value,"px")}},[(0,Mt.createVNode)("div",{class:"vjs-tree-list-holder-inner",style:{transform:"translateY(".concat(a.translateY,"px)")}},[B])])]):B])}}});var Uoe=wR.A;const _R={__name:"OAVueJsonPretty",props:{code:{type:[String,Object,Array,Number,Boolean],required:!0},deep:{type:Number}},setup(e){const t=e,r=kn(),n=r.isDark,o=le(()=>typeof t.code=="string"?Loe(t.code):t.code),s=le(()=>t.deep??r.getJsonViewerDeep()??3),i=le(()=>n.value?"dark":"light");return(a,l)=>(E(),ve(S(Uoe),{data:o.value,theme:i.value,deep:s.value,"show-icon":"",class:"p-2"},null,8,["data","theme","deep"]))}},Hoe={class:"text-sm text-muted-foreground text-center"},EC={__name:"OAFooter",setup(e){const{t}=Jn();return(r,n)=>(E(),K("span",Hoe,[Vt(ze(S(t)("Powered by"))+" ",1),n[0]||(n[0]=ue("a",{href:"https://github.com/enzonotario/vitepress-openapi",target:"_blank",class:"text-primary-foreground"}," VitePress OpenAPI ",-1))]))}};function SR(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ttypeof e=="boolean"?`${e}`:e===0?"0":e,w$=CR,Sw=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return w$(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(c=>{const u=r==null?void 0:r[c],d=s==null?void 0:s[c];if(u===null)return null;const p=b$(u)||b$(d);return o[c][p]}),a=r&&Object.entries(r).reduce((c,u)=>{let[d,p]=u;return p===void 0||(c[d]=p),c},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((c,u)=>{let{class:d,className:p,...f}=u;return Object.entries(f).every(m=>{let[v,g]=m;return Array.isArray(g)?g.includes({...s,...a}[v]):{...s,...a}[v]===g})?[...c,d,p]:c},[]);return w$(e,i,l,r==null?void 0:r.class,r==null?void 0:r.className)},Woe=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n({classGroupId:e,validator:t}),AR=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),Pb="-",x$=[],Joe="arbitrary..",Koe=e=>{const t=Zoe(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return Qoe(o);const s=o.split(Pb),i=s[0]===""&&s.length>1?1:0;return ER(s,i,t)},getConflictingClassGroupIds:(o,s)=>{if(s){const i=n[o],a=r[o];return i?a?Woe(a,i):i:a||x$}return r[o]||x$}}},ER=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const n=e[t],o=r.nextPart.get(n);if(o){const l=ER(e,t+1,o);if(l)return l}const s=r.validators;if(s===null)return;const i=t===0?e.join(Pb):e.slice(t).join(Pb),a=s.length;for(let l=0;le.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?Joe+n:void 0})(),Zoe=e=>{const{theme:t,classGroups:r}=e;return Xoe(r,t)},Xoe=(e,t)=>{const r=AR();for(const n in e){const o=e[n];OC(o,r,n,t)}return r},OC=(e,t,r,n)=>{const o=e.length;for(let s=0;s{if(typeof e=="string"){ese(e,t,r);return}if(typeof e=="function"){tse(e,t,r,n);return}rse(e,t,r,n)},ese=(e,t,r)=>{const n=e===""?t:OR(t,e);n.classGroupId=r},tse=(e,t,r,n)=>{if(nse(e)){OC(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(Goe(r,e))},rse=(e,t,r,n)=>{const o=Object.entries(e),s=o.length;for(let i=0;i{let r=e;const n=t.split(Pb),o=n.length;for(let s=0;s"isThemeGetter"in e&&e.isThemeGetter===!0,ose=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(s,i)=>{r[s]=i,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(s){let i=r[s];if(i!==void 0)return i;if((i=n[s])!==void 0)return o(s,i),i},set(s,i){s in r?r[s]=i:o(s,i)}}},__="!",k$=":",sse=[],j$=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),ise=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const s=[];let i=0,a=0,l=0,c;const u=o.length;for(let v=0;vl?c-l:void 0;return j$(s,f,p,m)};if(t){const o=t+k$,s=n;n=i=>i.startsWith(o)?s(i.slice(o.length)):j$(sse,!1,i,void 0,!0)}if(r){const o=n;n=s=>r({className:s,parseClassName:o})}return n},ase=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let s=0;s0&&(o.sort(),n.push(...o),o=[]),n.push(i)):o.push(i)}return o.length>0&&(o.sort(),n.push(...o)),n}},lse=e=>({cache:ose(e.cacheSize),parseClassName:ise(e),sortModifiers:ase(e),...Koe(e)}),cse=/\s+/,use=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(cse);let l="";for(let c=a.length-1;c>=0;c-=1){const u=a[c],{isExternal:d,modifiers:p,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:v}=r(u);if(d){l=u+(l.length>0?" "+l:l);continue}let g=!!v,y=n(g?m.substring(0,v):m);if(!y){if(!g){l=u+(l.length>0?" "+l:l);continue}if(y=n(m),!y){l=u+(l.length>0?" "+l:l);continue}g=!1}const b=p.length===0?"":p.length===1?p[0]:s(p).join(":"),w=f?b+__:b,k=w+y;if(i.indexOf(k)>-1)continue;i.push(k);const x=o(y,g);for(let j=0;j0?" "+l:l)}return l},dse=(...e)=>{let t=0,r,n,o="";for(;t{if(typeof e=="string")return e;let t,r="";for(let n=0;n{let r,n,o,s;const i=l=>{const c=t.reduce((u,d)=>d(u),e());return r=lse(c),n=r.cache.get,o=r.cache.set,s=a,a(l)},a=l=>{const c=n(l);if(c)return c;const u=use(l,r);return o(l,u),u};return s=i,(...l)=>s(dse(...l))},fse=[],as=e=>{const t=r=>r[e]||fse;return t.isThemeGetter=!0,t},TR=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,PR=/^\((?:(\w[\w-]*):)?(.+)\)$/i,hse=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,mse=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gse=/\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$/,vse=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,yse=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,bse=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Yc=e=>hse.test(e),Zr=e=>!!e&&!Number.isNaN(Number(e)),eu=e=>!!e&&Number.isInteger(Number(e)),mk=e=>e.endsWith("%")&&Zr(e.slice(0,-1)),Yl=e=>mse.test(e),IR=()=>!0,wse=e=>gse.test(e)&&!vse.test(e),$C=()=>!1,xse=e=>yse.test(e),kse=e=>bse.test(e),jse=e=>!Rt(e)&&!qt(e),_se=e=>sd(e,LR,$C),Rt=e=>TR.test(e),vd=e=>sd(e,NR,wse),_$=e=>sd(e,Pse,Zr),Sse=e=>sd(e,BR,IR),Cse=e=>sd(e,RR,$C),S$=e=>sd(e,DR,$C),Ase=e=>sd(e,MR,kse),ty=e=>sd(e,qR,xse),qt=e=>PR.test(e),sm=e=>kp(e,NR),Ese=e=>kp(e,RR),C$=e=>kp(e,DR),Ose=e=>kp(e,LR),$se=e=>kp(e,MR),ry=e=>kp(e,qR,!0),Tse=e=>kp(e,BR,!0),sd=(e,t,r)=>{const n=TR.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},kp=(e,t,r=!1)=>{const n=PR.exec(e);return n?n[1]?t(n[1]):r:!1},DR=e=>e==="position"||e==="percentage",MR=e=>e==="image"||e==="url",LR=e=>e==="length"||e==="size"||e==="bg-size",NR=e=>e==="length",Pse=e=>e==="number",RR=e=>e==="family-name",BR=e=>e==="number"||e==="weight",qR=e=>e==="shadow",Ise=()=>{const e=as("color"),t=as("font"),r=as("text"),n=as("font-weight"),o=as("tracking"),s=as("leading"),i=as("breakpoint"),a=as("container"),l=as("spacing"),c=as("radius"),u=as("shadow"),d=as("inset-shadow"),p=as("text-shadow"),f=as("drop-shadow"),m=as("blur"),v=as("perspective"),g=as("aspect"),y=as("ease"),b=as("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...k(),qt,Rt],j=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto","contain","none"],C=()=>[qt,Rt,l],A=()=>[Yc,"full","auto",...C()],I=()=>[eu,"none","subgrid",qt,Rt],M=()=>["auto",{span:["full",eu,qt,Rt]},eu,qt,Rt],N=()=>[eu,"auto",qt,Rt],F=()=>["auto","min","max","fr",qt,Rt],z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],L=()=>["start","end","center","stretch","center-safe","end-safe"],X=()=>["auto",...C()],V=()=>[Yc,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],J=()=>[Yc,"screen","full","dvw","lvw","svw","min","max","fit",...C()],oe=()=>[Yc,"screen","full","lh","dvh","lvh","svh","min","max","fit",...C()],H=()=>[e,qt,Rt],B=()=>[...k(),C$,S$,{position:[qt,Rt]}],se=()=>["no-repeat",{repeat:["","x","y","space","round"]}],q=()=>["auto","cover","contain",Ose,_se,{size:[qt,Rt]}],O=()=>[mk,sm,vd],D=()=>["","none","full",c,qt,Rt],Z=()=>["",Zr,sm,vd],Se=()=>["solid","dashed","dotted","double"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],re=()=>[Zr,mk,C$,S$],xe=()=>["","none",m,qt,Rt],R=()=>["none",Zr,qt,Rt],te=()=>["none",Zr,qt,Rt],ne=()=>[Zr,qt,Rt],Ce=()=>[Yc,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Yl],breakpoint:[Yl],color:[IR],container:[Yl],"drop-shadow":[Yl],ease:["in","out","in-out"],font:[jse],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Yl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Yl],shadow:[Yl],spacing:["px",Zr],text:[Yl],"text-shadow":[Yl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Yc,Rt,qt,g]}],container:["container"],columns:[{columns:[Zr,Rt,qt,a]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:A()}],"inset-x":[{"inset-x":A()}],"inset-y":[{"inset-y":A()}],start:[{"inset-s":A(),start:A()}],end:[{"inset-e":A(),end:A()}],"inset-bs":[{"inset-bs":A()}],"inset-be":[{"inset-be":A()}],top:[{top:A()}],right:[{right:A()}],bottom:[{bottom:A()}],left:[{left:A()}],visibility:["visible","invisible","collapse"],z:[{z:[eu,"auto",qt,Rt]}],basis:[{basis:[Yc,"full","auto",a,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Zr,Yc,"auto","initial","none",Rt]}],grow:[{grow:["",Zr,qt,Rt]}],shrink:[{shrink:["",Zr,qt,Rt]}],order:[{order:[eu,"first","last","none",qt,Rt]}],"grid-cols":[{"grid-cols":I()}],"col-start-end":[{col:M()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":I()}],"row-start-end":[{row:M()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...z(),"normal"]}],"justify-items":[{"justify-items":[...L(),"normal"]}],"justify-self":[{"justify-self":["auto",...L()]}],"align-content":[{content:["normal",...z()]}],"align-items":[{items:[...L(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...L(),{baseline:["","last"]}]}],"place-content":[{"place-content":z()}],"place-items":[{"place-items":[...L(),"baseline"]}],"place-self":[{"place-self":["auto",...L()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pbs:[{pbs:C()}],pbe:[{pbe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:X()}],mx:[{mx:X()}],my:[{my:X()}],ms:[{ms:X()}],me:[{me:X()}],mbs:[{mbs:X()}],mbe:[{mbe:X()}],mt:[{mt:X()}],mr:[{mr:X()}],mb:[{mb:X()}],ml:[{ml:X()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:V()}],"inline-size":[{inline:["auto",...J()]}],"min-inline-size":[{"min-inline":["auto",...J()]}],"max-inline-size":[{"max-inline":["none",...J()]}],"block-size":[{block:["auto",...oe()]}],"min-block-size":[{"min-block":["auto",...oe()]}],"max-block-size":[{"max-block":["none",...oe()]}],w:[{w:[a,"screen",...V()]}],"min-w":[{"min-w":[a,"screen","none",...V()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...V()]}],h:[{h:["screen","lh",...V()]}],"min-h":[{"min-h":["screen","lh","none",...V()]}],"max-h":[{"max-h":["screen","lh",...V()]}],"font-size":[{text:["base",r,sm,vd]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,Tse,Sse]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",mk,Rt]}],"font-family":[{font:[Ese,Cse,t]}],"font-features":[{"font-features":[Rt]}],"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:[o,qt,Rt]}],"line-clamp":[{"line-clamp":[Zr,"none",qt,_$]}],leading:[{leading:[s,...C()]}],"list-image":[{"list-image":["none",qt,Rt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",qt,Rt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:H()}],"text-color":[{text:H()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Se(),"wavy"]}],"text-decoration-thickness":[{decoration:[Zr,"from-font","auto",qt,vd]}],"text-decoration-color":[{decoration:H()}],"underline-offset":[{"underline-offset":[Zr,"auto",qt,Rt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",qt,Rt]}],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",qt,Rt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:B()}],"bg-repeat":[{bg:se()}],"bg-size":[{bg:q()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},eu,qt,Rt],radial:["",qt,Rt],conic:[eu,qt,Rt]},$se,Ase]}],"bg-color":[{bg:H()}],"gradient-from-pos":[{from:O()}],"gradient-via-pos":[{via:O()}],"gradient-to-pos":[{to:O()}],"gradient-from":[{from:H()}],"gradient-via":[{via:H()}],"gradient-to":[{to:H()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:Z()}],"border-w-x":[{"border-x":Z()}],"border-w-y":[{"border-y":Z()}],"border-w-s":[{"border-s":Z()}],"border-w-e":[{"border-e":Z()}],"border-w-bs":[{"border-bs":Z()}],"border-w-be":[{"border-be":Z()}],"border-w-t":[{"border-t":Z()}],"border-w-r":[{"border-r":Z()}],"border-w-b":[{"border-b":Z()}],"border-w-l":[{"border-l":Z()}],"divide-x":[{"divide-x":Z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Se(),"hidden","none"]}],"divide-style":[{divide:[...Se(),"hidden","none"]}],"border-color":[{border:H()}],"border-color-x":[{"border-x":H()}],"border-color-y":[{"border-y":H()}],"border-color-s":[{"border-s":H()}],"border-color-e":[{"border-e":H()}],"border-color-bs":[{"border-bs":H()}],"border-color-be":[{"border-be":H()}],"border-color-t":[{"border-t":H()}],"border-color-r":[{"border-r":H()}],"border-color-b":[{"border-b":H()}],"border-color-l":[{"border-l":H()}],"divide-color":[{divide:H()}],"outline-style":[{outline:[...Se(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Zr,qt,Rt]}],"outline-w":[{outline:["",Zr,sm,vd]}],"outline-color":[{outline:H()}],shadow:[{shadow:["","none",u,ry,ty]}],"shadow-color":[{shadow:H()}],"inset-shadow":[{"inset-shadow":["none",d,ry,ty]}],"inset-shadow-color":[{"inset-shadow":H()}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:H()}],"ring-offset-w":[{"ring-offset":[Zr,vd]}],"ring-offset-color":[{"ring-offset":H()}],"inset-ring-w":[{"inset-ring":Z()}],"inset-ring-color":[{"inset-ring":H()}],"text-shadow":[{"text-shadow":["none",p,ry,ty]}],"text-shadow-color":[{"text-shadow":H()}],opacity:[{opacity:[Zr,qt,Rt]}],"mix-blend":[{"mix-blend":[...ie(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ie()}],"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":[Zr]}],"mask-image-linear-from-pos":[{"mask-linear-from":re()}],"mask-image-linear-to-pos":[{"mask-linear-to":re()}],"mask-image-linear-from-color":[{"mask-linear-from":H()}],"mask-image-linear-to-color":[{"mask-linear-to":H()}],"mask-image-t-from-pos":[{"mask-t-from":re()}],"mask-image-t-to-pos":[{"mask-t-to":re()}],"mask-image-t-from-color":[{"mask-t-from":H()}],"mask-image-t-to-color":[{"mask-t-to":H()}],"mask-image-r-from-pos":[{"mask-r-from":re()}],"mask-image-r-to-pos":[{"mask-r-to":re()}],"mask-image-r-from-color":[{"mask-r-from":H()}],"mask-image-r-to-color":[{"mask-r-to":H()}],"mask-image-b-from-pos":[{"mask-b-from":re()}],"mask-image-b-to-pos":[{"mask-b-to":re()}],"mask-image-b-from-color":[{"mask-b-from":H()}],"mask-image-b-to-color":[{"mask-b-to":H()}],"mask-image-l-from-pos":[{"mask-l-from":re()}],"mask-image-l-to-pos":[{"mask-l-to":re()}],"mask-image-l-from-color":[{"mask-l-from":H()}],"mask-image-l-to-color":[{"mask-l-to":H()}],"mask-image-x-from-pos":[{"mask-x-from":re()}],"mask-image-x-to-pos":[{"mask-x-to":re()}],"mask-image-x-from-color":[{"mask-x-from":H()}],"mask-image-x-to-color":[{"mask-x-to":H()}],"mask-image-y-from-pos":[{"mask-y-from":re()}],"mask-image-y-to-pos":[{"mask-y-to":re()}],"mask-image-y-from-color":[{"mask-y-from":H()}],"mask-image-y-to-color":[{"mask-y-to":H()}],"mask-image-radial":[{"mask-radial":[qt,Rt]}],"mask-image-radial-from-pos":[{"mask-radial-from":re()}],"mask-image-radial-to-pos":[{"mask-radial-to":re()}],"mask-image-radial-from-color":[{"mask-radial-from":H()}],"mask-image-radial-to-color":[{"mask-radial-to":H()}],"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":k()}],"mask-image-conic-pos":[{"mask-conic":[Zr]}],"mask-image-conic-from-pos":[{"mask-conic-from":re()}],"mask-image-conic-to-pos":[{"mask-conic-to":re()}],"mask-image-conic-from-color":[{"mask-conic-from":H()}],"mask-image-conic-to-color":[{"mask-conic-to":H()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:B()}],"mask-repeat":[{mask:se()}],"mask-size":[{mask:q()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",qt,Rt]}],filter:[{filter:["","none",qt,Rt]}],blur:[{blur:xe()}],brightness:[{brightness:[Zr,qt,Rt]}],contrast:[{contrast:[Zr,qt,Rt]}],"drop-shadow":[{"drop-shadow":["","none",f,ry,ty]}],"drop-shadow-color":[{"drop-shadow":H()}],grayscale:[{grayscale:["",Zr,qt,Rt]}],"hue-rotate":[{"hue-rotate":[Zr,qt,Rt]}],invert:[{invert:["",Zr,qt,Rt]}],saturate:[{saturate:[Zr,qt,Rt]}],sepia:[{sepia:["",Zr,qt,Rt]}],"backdrop-filter":[{"backdrop-filter":["","none",qt,Rt]}],"backdrop-blur":[{"backdrop-blur":xe()}],"backdrop-brightness":[{"backdrop-brightness":[Zr,qt,Rt]}],"backdrop-contrast":[{"backdrop-contrast":[Zr,qt,Rt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Zr,qt,Rt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Zr,qt,Rt]}],"backdrop-invert":[{"backdrop-invert":["",Zr,qt,Rt]}],"backdrop-opacity":[{"backdrop-opacity":[Zr,qt,Rt]}],"backdrop-saturate":[{"backdrop-saturate":[Zr,qt,Rt]}],"backdrop-sepia":[{"backdrop-sepia":["",Zr,qt,Rt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",qt,Rt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Zr,"initial",qt,Rt]}],ease:[{ease:["linear","initial",y,qt,Rt]}],delay:[{delay:[Zr,qt,Rt]}],animate:[{animate:["none",b,qt,Rt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,qt,Rt]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:R()}],"rotate-x":[{"rotate-x":R()}],"rotate-y":[{"rotate-y":R()}],"rotate-z":[{"rotate-z":R()}],scale:[{scale:te()}],"scale-x":[{"scale-x":te()}],"scale-y":[{"scale-y":te()}],"scale-z":[{"scale-z":te()}],"scale-3d":["scale-3d"],skew:[{skew:ne()}],"skew-x":[{"skew-x":ne()}],"skew-y":[{"skew-y":ne()}],transform:[{transform:[qt,Rt,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ce()}],"translate-x":[{"translate-x":Ce()}],"translate-y":[{"translate-y":Ce()}],"translate-z":[{"translate-z":Ce()}],"translate-none":["translate-none"],accent:[{accent:H()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:H()}],"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",qt,Rt]}],"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":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mbs":[{"scroll-mbs":C()}],"scroll-mbe":[{"scroll-mbe":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pbs":[{"scroll-pbs":C()}],"scroll-pbe":[{"scroll-pbe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"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",qt,Rt]}],fill:[{fill:["none",...H()]}],"stroke-w":[{stroke:[Zr,sm,vd,_$]}],stroke:[{stroke:["none",...H()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Dse=pse(Ise);function Ko(...e){return Dse(CR(e))}function Hm(){return typeof localStorage<"u"&&typeof localStorage.getItem=="function"}const Mse=/([{}])/g;function Lse({hash:e}){if(typeof window>"u")return;const t=document.querySelector(e.replace(Mse,"\\$1"));t&&(t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),window.location.hash=e)}const Pc=Te({__name:"Badge",props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(r,n)=>(E(),K("div",{class:Lt(S(Ko)(S(Nse)({variant:e.variant,size:e.size}),t.class))},[pe(r.$slots,"default")],2))}}),Nse=Sw("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground bg-muted",plain:"border-transparent"},size:{default:"",xs:"rounded px-1"}},defaultVariants:{variant:"default",size:"default"}}),Rse={class:"flex flex-row gap-2"},zR={__name:"OAHeaderBadges",props:{operation:{type:Object,required:!0},deprecated:{type:Boolean,required:!1}},setup(e){const t=kn(),{t:r}=Jn(),n=le(()=>t.getOperationBadges().filter(o=>!(o==="deprecated"&&!e.deprecated)));return(o,s)=>(E(),K("div",Rse,[(E(!0),K(dt,null,zt(n.value,i=>(E(),ve(S(Pc),{key:i,variant:"outline"},{default:U(()=>[i==="deprecated"?(E(),K(dt,{key:0},[Vt(ze(S(r)("Deprecated")),1)],64)):i==="operationId"?(E(),K(dt,{key:1},[Vt(ze(S(r)("operation.badgePrefix.operationId"))+ze(e.operation.operationId),1)],64)):je("",!0)]),_:2},1024))),128))]))}};function FR(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Bse=[["ß","ss"],["ẞ","Ss"],["ä","ae"],["Ä","Ae"],["ö","oe"],["Ö","Oe"],["ü","ue"],["Ü","Ue"],["À","A"],["Á","A"],["Â","A"],["Ã","A"],["Ä","Ae"],["Å","A"],["Æ","AE"],["Ç","C"],["È","E"],["É","E"],["Ê","E"],["Ë","E"],["Ə","A"],["Ì","I"],["Í","I"],["Î","I"],["Ï","I"],["Ð","D"],["Ñ","N"],["Ò","O"],["Ó","O"],["Ô","O"],["Õ","O"],["Ö","Oe"],["Ō","O"],["Ő","O"],["Ø","O"],["Œ","OE"],["Ù","U"],["Ú","U"],["Û","U"],["Ü","Ue"],["Ű","U"],["Ý","Y"],["Þ","TH"],["ß","ss"],["à","a"],["á","a"],["â","a"],["ã","a"],["ä","ae"],["å","a"],["æ","ae"],["ç","c"],["è","e"],["é","e"],["ê","e"],["ë","e"],["ə","a"],["ì","i"],["í","i"],["î","i"],["ï","i"],["ð","d"],["ñ","n"],["ò","o"],["ó","o"],["ô","o"],["õ","o"],["ö","oe"],["ō","o"],["ő","o"],["ø","o"],["œ","oe"],["ù","u"],["ú","u"],["û","u"],["ü","ue"],["ű","u"],["ý","y"],["þ","th"],["ÿ","y"],["à","a"],["À","A"],["á","a"],["Á","A"],["â","a"],["Â","A"],["ã","a"],["Ã","A"],["è","e"],["È","E"],["é","e"],["É","E"],["ê","e"],["Ê","E"],["ì","i"],["Ì","I"],["í","i"],["Í","I"],["ò","o"],["Ò","O"],["ó","o"],["Ó","O"],["ô","o"],["Ô","O"],["õ","o"],["Õ","O"],["ù","u"],["Ù","U"],["ú","u"],["Ú","U"],["ý","y"],["Ý","Y"],["ă","a"],["Ă","A"],["Đ","D"],["đ","d"],["ĩ","i"],["Ĩ","I"],["ũ","u"],["Ũ","U"],["ơ","o"],["Ơ","O"],["ư","u"],["Ư","U"],["ạ","a"],["Ạ","A"],["ả","a"],["Ả","A"],["ấ","a"],["Ấ","A"],["ầ","a"],["Ầ","A"],["ẩ","a"],["Ẩ","A"],["ẫ","a"],["Ẫ","A"],["ậ","a"],["Ậ","A"],["ắ","a"],["Ắ","A"],["ằ","a"],["Ằ","A"],["ẳ","a"],["Ẳ","A"],["ẵ","a"],["Ẵ","A"],["ặ","a"],["Ặ","A"],["ẹ","e"],["Ẹ","E"],["ẻ","e"],["Ẻ","E"],["ẽ","e"],["Ẽ","E"],["ế","e"],["Ế","E"],["ề","e"],["Ề","E"],["ể","e"],["Ể","E"],["ễ","e"],["Ễ","E"],["ệ","e"],["Ệ","E"],["ỉ","i"],["Ỉ","I"],["ị","i"],["Ị","I"],["ọ","o"],["Ọ","O"],["ỏ","o"],["Ỏ","O"],["ố","o"],["Ố","O"],["ồ","o"],["Ồ","O"],["ổ","o"],["Ổ","O"],["ỗ","o"],["Ỗ","O"],["ộ","o"],["Ộ","O"],["ớ","o"],["Ớ","O"],["ờ","o"],["Ờ","O"],["ở","o"],["Ở","O"],["ỡ","o"],["Ỡ","O"],["ợ","o"],["Ợ","O"],["ụ","u"],["Ụ","U"],["ủ","u"],["Ủ","U"],["ứ","u"],["Ứ","U"],["ừ","u"],["Ừ","U"],["ử","u"],["Ử","U"],["ữ","u"],["Ữ","U"],["ự","u"],["Ự","U"],["ỳ","y"],["Ỳ","Y"],["ỵ","y"],["Ỵ","Y"],["ỷ","y"],["Ỷ","Y"],["ỹ","y"],["Ỹ","Y"],["ء","e"],["آ","a"],["أ","a"],["ؤ","w"],["إ","a"],["ئ","y"],["ا","a"],["ب","b"],["ة","t"],["ت","t"],["ث","th"],["ج","j"],["ح","h"],["خ","kh"],["د","d"],["ذ","dh"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","z"],["ع","e"],["غ","gh"],["ـ","_"],["ف","f"],["ق","q"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","w"],["ى","a"],["ي","y"],["َ‎","a"],["ُ","u"],["ِ‎","i"],["٠","0"],["١","1"],["٢","2"],["٣","3"],["٤","4"],["٥","5"],["٦","6"],["٧","7"],["٨","8"],["٩","9"],["چ","ch"],["ک","k"],["گ","g"],["پ","p"],["ژ","zh"],["ی","y"],["۰","0"],["۱","1"],["۲","2"],["۳","3"],["۴","4"],["۵","5"],["۶","6"],["۷","7"],["۸","8"],["۹","9"],["ټ","p"],["ځ","z"],["څ","c"],["ډ","d"],["ﺫ","d"],["ﺭ","r"],["ړ","r"],["ﺯ","z"],["ږ","g"],["ښ","x"],["ګ","g"],["ڼ","n"],["ۀ","e"],["ې","e"],["ۍ","ai"],["ٹ","t"],["ڈ","d"],["ڑ","r"],["ں","n"],["ہ","h"],["ھ","h"],["ے","e"],["А","A"],["а","a"],["Б","B"],["б","b"],["В","V"],["в","v"],["Г","G"],["г","g"],["Д","D"],["д","d"],["ъе","ye"],["Ъе","Ye"],["ъЕ","yE"],["ЪЕ","YE"],["Е","E"],["е","e"],["Ё","Yo"],["ё","yo"],["Ж","Zh"],["ж","zh"],["З","Z"],["з","z"],["И","I"],["и","i"],["ый","iy"],["Ый","Iy"],["ЫЙ","IY"],["ыЙ","iY"],["Й","Y"],["й","y"],["К","K"],["к","k"],["Л","L"],["л","l"],["М","M"],["м","m"],["Н","N"],["н","n"],["О","O"],["о","o"],["П","P"],["п","p"],["Р","R"],["р","r"],["С","S"],["с","s"],["Т","T"],["т","t"],["У","U"],["у","u"],["Ф","F"],["ф","f"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Ч","Ch"],["ч","ch"],["Ш","Sh"],["ш","sh"],["Щ","Sch"],["щ","sch"],["Ъ",""],["ъ",""],["Ы","Y"],["ы","y"],["Ь",""],["ь",""],["Э","E"],["э","e"],["Ю","Yu"],["ю","yu"],["Я","Ya"],["я","ya"],["ă","a"],["Ă","A"],["ș","s"],["Ș","S"],["ț","t"],["Ț","T"],["ţ","t"],["Ţ","T"],["ş","s"],["Ş","S"],["ç","c"],["Ç","C"],["ğ","g"],["Ğ","G"],["ı","i"],["İ","I"],["ա","a"],["Ա","A"],["բ","b"],["Բ","B"],["գ","g"],["Գ","G"],["դ","d"],["Դ","D"],["ե","ye"],["Ե","Ye"],["զ","z"],["Զ","Z"],["է","e"],["Է","E"],["ը","y"],["Ը","Y"],["թ","t"],["Թ","T"],["ժ","zh"],["Ժ","Zh"],["ի","i"],["Ի","I"],["լ","l"],["Լ","L"],["խ","kh"],["Խ","Kh"],["ծ","ts"],["Ծ","Ts"],["կ","k"],["Կ","K"],["հ","h"],["Հ","H"],["ձ","dz"],["Ձ","Dz"],["ղ","gh"],["Ղ","Gh"],["ճ","tch"],["Ճ","Tch"],["մ","m"],["Մ","M"],["յ","y"],["Յ","Y"],["ն","n"],["Ն","N"],["շ","sh"],["Շ","Sh"],["ու","u"],["ՈՒ","U"],["Ու","U"],["ո","vo"],["Ո","Vo"],["չ","ch"],["Չ","Ch"],["պ","p"],["Պ","P"],["ջ","j"],["Ջ","J"],["ռ","r"],["Ռ","R"],["ս","s"],["Ս","S"],["վ","v"],["Վ","V"],["տ","t"],["Տ","T"],["ր","r"],["Ր","R"],["ց","c"],["Ց","C"],["փ","p"],["Փ","P"],["ք","q"],["Ք","Q"],["օ","o"],["Օ","O"],["ֆ","f"],["Ֆ","F"],["և","yev"],["ა","a"],["ბ","b"],["გ","g"],["დ","d"],["ე","e"],["ვ","v"],["ზ","z"],["თ","t"],["ი","i"],["კ","k"],["ლ","l"],["მ","m"],["ნ","n"],["ო","o"],["პ","p"],["ჟ","zh"],["რ","r"],["ს","s"],["ტ","t"],["უ","u"],["ფ","ph"],["ქ","q"],["ღ","gh"],["ყ","k"],["შ","sh"],["ჩ","ch"],["ც","ts"],["ძ","dz"],["წ","ts"],["ჭ","tch"],["ხ","kh"],["ჯ","j"],["ჰ","h"],["č","c"],["ď","d"],["ě","e"],["ň","n"],["ř","r"],["š","s"],["ť","t"],["ů","u"],["ž","z"],["Č","C"],["Ď","D"],["Ě","E"],["Ň","N"],["Ř","R"],["Š","S"],["Ť","T"],["Ů","U"],["Ž","Z"],["ހ","h"],["ށ","sh"],["ނ","n"],["ރ","r"],["ބ","b"],["ޅ","lh"],["ކ","k"],["އ","a"],["ވ","v"],["މ","m"],["ފ","f"],["ދ","dh"],["ތ","th"],["ލ","l"],["ގ","g"],["ޏ","gn"],["ސ","s"],["ޑ","d"],["ޒ","z"],["ޓ","t"],["ޔ","y"],["ޕ","p"],["ޖ","j"],["ޗ","ch"],["ޘ","tt"],["ޙ","hh"],["ޚ","kh"],["ޛ","th"],["ޜ","z"],["ޝ","sh"],["ޞ","s"],["ޟ","d"],["ޠ","t"],["ޡ","z"],["ޢ","a"],["ޣ","gh"],["ޤ","q"],["ޥ","w"],["ަ","a"],["ާ","aa"],["ި","i"],["ީ","ee"],["ު","u"],["ޫ","oo"],["ެ","e"],["ޭ","ey"],["ޮ","o"],["ޯ","oa"],["ް",""],["α","a"],["β","v"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","i"],["θ","th"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","ks"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","o"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","i"],["ώ","o"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","I"],["Θ","TH"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","KS"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","O"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","I"],["Ώ","O"],["Ϊ","I"],["Ϋ","Y"],["ā","a"],["ē","e"],["ģ","g"],["ī","i"],["ķ","k"],["ļ","l"],["ņ","n"],["ū","u"],["Ā","A"],["Ē","E"],["Ģ","G"],["Ī","I"],["Ķ","K"],["Ļ","L"],["Ņ","N"],["Ū","U"],["č","c"],["š","s"],["ž","z"],["Č","C"],["Š","S"],["Ž","Z"],["ą","a"],["č","c"],["ę","e"],["ė","e"],["į","i"],["š","s"],["ų","u"],["ū","u"],["ž","z"],["Ą","A"],["Č","C"],["Ę","E"],["Ė","E"],["Į","I"],["Š","S"],["Ų","U"],["Ū","U"],["Ќ","Kj"],["ќ","kj"],["Љ","Lj"],["љ","lj"],["Њ","Nj"],["њ","nj"],["Тс","Ts"],["тс","ts"],["ą","a"],["ć","c"],["ę","e"],["ł","l"],["ń","n"],["ś","s"],["ź","z"],["ż","z"],["Ą","A"],["Ć","C"],["Ę","E"],["Ł","L"],["Ń","N"],["Ś","S"],["Ź","Z"],["Ż","Z"],["Є","Ye"],["І","I"],["Ї","Yi"],["Ґ","G"],["є","ye"],["і","i"],["ї","yi"],["ґ","g"],["IJ","IJ"],["ij","ij"],["¢","c"],["¥","Y"],["߿","b"],["৳","t"],["૱","Bo"],["฿","B"],["₠","CE"],["₡","C"],["₢","Cr"],["₣","F"],["₥","m"],["₦","N"],["₧","Pt"],["₨","Rs"],["₩","W"],["₫","s"],["€","E"],["₭","K"],["₮","T"],["₯","Dp"],["₰","S"],["₱","P"],["₲","G"],["₳","A"],["₴","S"],["₵","C"],["₶","tt"],["₷","S"],["₸","T"],["₹","R"],["₺","L"],["₽","P"],["₿","B"],["﹩","$"],["¢","c"],["¥","Y"],["₩","W"],["𝐀","A"],["𝐁","B"],["𝐂","C"],["𝐃","D"],["𝐄","E"],["𝐅","F"],["𝐆","G"],["𝐇","H"],["𝐈","I"],["𝐉","J"],["𝐊","K"],["𝐋","L"],["𝐌","M"],["𝐍","N"],["𝐎","O"],["𝐏","P"],["𝐐","Q"],["𝐑","R"],["𝐒","S"],["𝐓","T"],["𝐔","U"],["𝐕","V"],["𝐖","W"],["𝐗","X"],["𝐘","Y"],["𝐙","Z"],["𝐚","a"],["𝐛","b"],["𝐜","c"],["𝐝","d"],["𝐞","e"],["𝐟","f"],["𝐠","g"],["𝐡","h"],["𝐢","i"],["𝐣","j"],["𝐤","k"],["𝐥","l"],["𝐦","m"],["𝐧","n"],["𝐨","o"],["𝐩","p"],["𝐪","q"],["𝐫","r"],["𝐬","s"],["𝐭","t"],["𝐮","u"],["𝐯","v"],["𝐰","w"],["𝐱","x"],["𝐲","y"],["𝐳","z"],["𝐴","A"],["𝐵","B"],["𝐶","C"],["𝐷","D"],["𝐸","E"],["𝐹","F"],["𝐺","G"],["𝐻","H"],["𝐼","I"],["𝐽","J"],["𝐾","K"],["𝐿","L"],["𝑀","M"],["𝑁","N"],["𝑂","O"],["𝑃","P"],["𝑄","Q"],["𝑅","R"],["𝑆","S"],["𝑇","T"],["𝑈","U"],["𝑉","V"],["𝑊","W"],["𝑋","X"],["𝑌","Y"],["𝑍","Z"],["𝑎","a"],["𝑏","b"],["𝑐","c"],["𝑑","d"],["𝑒","e"],["𝑓","f"],["𝑔","g"],["𝑖","i"],["𝑗","j"],["𝑘","k"],["𝑙","l"],["𝑚","m"],["𝑛","n"],["𝑜","o"],["𝑝","p"],["𝑞","q"],["𝑟","r"],["𝑠","s"],["𝑡","t"],["𝑢","u"],["𝑣","v"],["𝑤","w"],["𝑥","x"],["𝑦","y"],["𝑧","z"],["𝑨","A"],["𝑩","B"],["𝑪","C"],["𝑫","D"],["𝑬","E"],["𝑭","F"],["𝑮","G"],["𝑯","H"],["𝑰","I"],["𝑱","J"],["𝑲","K"],["𝑳","L"],["𝑴","M"],["𝑵","N"],["𝑶","O"],["𝑷","P"],["𝑸","Q"],["𝑹","R"],["𝑺","S"],["𝑻","T"],["𝑼","U"],["𝑽","V"],["𝑾","W"],["𝑿","X"],["𝒀","Y"],["𝒁","Z"],["𝒂","a"],["𝒃","b"],["𝒄","c"],["𝒅","d"],["𝒆","e"],["𝒇","f"],["𝒈","g"],["𝒉","h"],["𝒊","i"],["𝒋","j"],["𝒌","k"],["𝒍","l"],["𝒎","m"],["𝒏","n"],["𝒐","o"],["𝒑","p"],["𝒒","q"],["𝒓","r"],["𝒔","s"],["𝒕","t"],["𝒖","u"],["𝒗","v"],["𝒘","w"],["𝒙","x"],["𝒚","y"],["𝒛","z"],["𝒜","A"],["𝒞","C"],["𝒟","D"],["𝒢","g"],["𝒥","J"],["𝒦","K"],["𝒩","N"],["𝒪","O"],["𝒫","P"],["𝒬","Q"],["𝒮","S"],["𝒯","T"],["𝒰","U"],["𝒱","V"],["𝒲","W"],["𝒳","X"],["𝒴","Y"],["𝒵","Z"],["𝒶","a"],["𝒷","b"],["𝒸","c"],["𝒹","d"],["𝒻","f"],["𝒽","h"],["𝒾","i"],["𝒿","j"],["𝓀","k"],["𝓁","l"],["𝓂","m"],["𝓃","n"],["𝓅","p"],["𝓆","q"],["𝓇","r"],["𝓈","s"],["𝓉","t"],["𝓊","u"],["𝓋","v"],["𝓌","w"],["𝓍","x"],["𝓎","y"],["𝓏","z"],["𝓐","A"],["𝓑","B"],["𝓒","C"],["𝓓","D"],["𝓔","E"],["𝓕","F"],["𝓖","G"],["𝓗","H"],["𝓘","I"],["𝓙","J"],["𝓚","K"],["𝓛","L"],["𝓜","M"],["𝓝","N"],["𝓞","O"],["𝓟","P"],["𝓠","Q"],["𝓡","R"],["𝓢","S"],["𝓣","T"],["𝓤","U"],["𝓥","V"],["𝓦","W"],["𝓧","X"],["𝓨","Y"],["𝓩","Z"],["𝓪","a"],["𝓫","b"],["𝓬","c"],["𝓭","d"],["𝓮","e"],["𝓯","f"],["𝓰","g"],["𝓱","h"],["𝓲","i"],["𝓳","j"],["𝓴","k"],["𝓵","l"],["𝓶","m"],["𝓷","n"],["𝓸","o"],["𝓹","p"],["𝓺","q"],["𝓻","r"],["𝓼","s"],["𝓽","t"],["𝓾","u"],["𝓿","v"],["𝔀","w"],["𝔁","x"],["𝔂","y"],["𝔃","z"],["𝔄","A"],["𝔅","B"],["𝔇","D"],["𝔈","E"],["𝔉","F"],["𝔊","G"],["𝔍","J"],["𝔎","K"],["𝔏","L"],["𝔐","M"],["𝔑","N"],["𝔒","O"],["𝔓","P"],["𝔔","Q"],["𝔖","S"],["𝔗","T"],["𝔘","U"],["𝔙","V"],["𝔚","W"],["𝔛","X"],["𝔜","Y"],["𝔞","a"],["𝔟","b"],["𝔠","c"],["𝔡","d"],["𝔢","e"],["𝔣","f"],["𝔤","g"],["𝔥","h"],["𝔦","i"],["𝔧","j"],["𝔨","k"],["𝔩","l"],["𝔪","m"],["𝔫","n"],["𝔬","o"],["𝔭","p"],["𝔮","q"],["𝔯","r"],["𝔰","s"],["𝔱","t"],["𝔲","u"],["𝔳","v"],["𝔴","w"],["𝔵","x"],["𝔶","y"],["𝔷","z"],["𝔸","A"],["𝔹","B"],["𝔻","D"],["𝔼","E"],["𝔽","F"],["𝔾","G"],["𝕀","I"],["𝕁","J"],["𝕂","K"],["𝕃","L"],["𝕄","M"],["𝕆","O"],["𝕊","S"],["𝕋","T"],["𝕌","U"],["𝕍","V"],["𝕎","W"],["𝕏","X"],["𝕐","Y"],["𝕒","a"],["𝕓","b"],["𝕔","c"],["𝕕","d"],["𝕖","e"],["𝕗","f"],["𝕘","g"],["𝕙","h"],["𝕚","i"],["𝕛","j"],["𝕜","k"],["𝕝","l"],["𝕞","m"],["𝕟","n"],["𝕠","o"],["𝕡","p"],["𝕢","q"],["𝕣","r"],["𝕤","s"],["𝕥","t"],["𝕦","u"],["𝕧","v"],["𝕨","w"],["𝕩","x"],["𝕪","y"],["𝕫","z"],["𝕬","A"],["𝕭","B"],["𝕮","C"],["𝕯","D"],["𝕰","E"],["𝕱","F"],["𝕲","G"],["𝕳","H"],["𝕴","I"],["𝕵","J"],["𝕶","K"],["𝕷","L"],["𝕸","M"],["𝕹","N"],["𝕺","O"],["𝕻","P"],["𝕼","Q"],["𝕽","R"],["𝕾","S"],["𝕿","T"],["𝖀","U"],["𝖁","V"],["𝖂","W"],["𝖃","X"],["𝖄","Y"],["𝖅","Z"],["𝖆","a"],["𝖇","b"],["𝖈","c"],["𝖉","d"],["𝖊","e"],["𝖋","f"],["𝖌","g"],["𝖍","h"],["𝖎","i"],["𝖏","j"],["𝖐","k"],["𝖑","l"],["𝖒","m"],["𝖓","n"],["𝖔","o"],["𝖕","p"],["𝖖","q"],["𝖗","r"],["𝖘","s"],["𝖙","t"],["𝖚","u"],["𝖛","v"],["𝖜","w"],["𝖝","x"],["𝖞","y"],["𝖟","z"],["𝖠","A"],["𝖡","B"],["𝖢","C"],["𝖣","D"],["𝖤","E"],["𝖥","F"],["𝖦","G"],["𝖧","H"],["𝖨","I"],["𝖩","J"],["𝖪","K"],["𝖫","L"],["𝖬","M"],["𝖭","N"],["𝖮","O"],["𝖯","P"],["𝖰","Q"],["𝖱","R"],["𝖲","S"],["𝖳","T"],["𝖴","U"],["𝖵","V"],["𝖶","W"],["𝖷","X"],["𝖸","Y"],["𝖹","Z"],["𝖺","a"],["𝖻","b"],["𝖼","c"],["𝖽","d"],["𝖾","e"],["𝖿","f"],["𝗀","g"],["𝗁","h"],["𝗂","i"],["𝗃","j"],["𝗄","k"],["𝗅","l"],["𝗆","m"],["𝗇","n"],["𝗈","o"],["𝗉","p"],["𝗊","q"],["𝗋","r"],["𝗌","s"],["𝗍","t"],["𝗎","u"],["𝗏","v"],["𝗐","w"],["𝗑","x"],["𝗒","y"],["𝗓","z"],["𝗔","A"],["𝗕","B"],["𝗖","C"],["𝗗","D"],["𝗘","E"],["𝗙","F"],["𝗚","G"],["𝗛","H"],["𝗜","I"],["𝗝","J"],["𝗞","K"],["𝗟","L"],["𝗠","M"],["𝗡","N"],["𝗢","O"],["𝗣","P"],["𝗤","Q"],["𝗥","R"],["𝗦","S"],["𝗧","T"],["𝗨","U"],["𝗩","V"],["𝗪","W"],["𝗫","X"],["𝗬","Y"],["𝗭","Z"],["𝗮","a"],["𝗯","b"],["𝗰","c"],["𝗱","d"],["𝗲","e"],["𝗳","f"],["𝗴","g"],["𝗵","h"],["𝗶","i"],["𝗷","j"],["𝗸","k"],["𝗹","l"],["𝗺","m"],["𝗻","n"],["𝗼","o"],["𝗽","p"],["𝗾","q"],["𝗿","r"],["𝘀","s"],["𝘁","t"],["𝘂","u"],["𝘃","v"],["𝘄","w"],["𝘅","x"],["𝘆","y"],["𝘇","z"],["𝘈","A"],["𝘉","B"],["𝘊","C"],["𝘋","D"],["𝘌","E"],["𝘍","F"],["𝘎","G"],["𝘏","H"],["𝘐","I"],["𝘑","J"],["𝘒","K"],["𝘓","L"],["𝘔","M"],["𝘕","N"],["𝘖","O"],["𝘗","P"],["𝘘","Q"],["𝘙","R"],["𝘚","S"],["𝘛","T"],["𝘜","U"],["𝘝","V"],["𝘞","W"],["𝘟","X"],["𝘠","Y"],["𝘡","Z"],["𝘢","a"],["𝘣","b"],["𝘤","c"],["𝘥","d"],["𝘦","e"],["𝘧","f"],["𝘨","g"],["𝘩","h"],["𝘪","i"],["𝘫","j"],["𝘬","k"],["𝘭","l"],["𝘮","m"],["𝘯","n"],["𝘰","o"],["𝘱","p"],["𝘲","q"],["𝘳","r"],["𝘴","s"],["𝘵","t"],["𝘶","u"],["𝘷","v"],["𝘸","w"],["𝘹","x"],["𝘺","y"],["𝘻","z"],["𝘼","A"],["𝘽","B"],["𝘾","C"],["𝘿","D"],["𝙀","E"],["𝙁","F"],["𝙂","G"],["𝙃","H"],["𝙄","I"],["𝙅","J"],["𝙆","K"],["𝙇","L"],["𝙈","M"],["𝙉","N"],["𝙊","O"],["𝙋","P"],["𝙌","Q"],["𝙍","R"],["𝙎","S"],["𝙏","T"],["𝙐","U"],["𝙑","V"],["𝙒","W"],["𝙓","X"],["𝙔","Y"],["𝙕","Z"],["𝙖","a"],["𝙗","b"],["𝙘","c"],["𝙙","d"],["𝙚","e"],["𝙛","f"],["𝙜","g"],["𝙝","h"],["𝙞","i"],["𝙟","j"],["𝙠","k"],["𝙡","l"],["𝙢","m"],["𝙣","n"],["𝙤","o"],["𝙥","p"],["𝙦","q"],["𝙧","r"],["𝙨","s"],["𝙩","t"],["𝙪","u"],["𝙫","v"],["𝙬","w"],["𝙭","x"],["𝙮","y"],["𝙯","z"],["𝙰","A"],["𝙱","B"],["𝙲","C"],["𝙳","D"],["𝙴","E"],["𝙵","F"],["𝙶","G"],["𝙷","H"],["𝙸","I"],["𝙹","J"],["𝙺","K"],["𝙻","L"],["𝙼","M"],["𝙽","N"],["𝙾","O"],["𝙿","P"],["𝚀","Q"],["𝚁","R"],["𝚂","S"],["𝚃","T"],["𝚄","U"],["𝚅","V"],["𝚆","W"],["𝚇","X"],["𝚈","Y"],["𝚉","Z"],["𝚊","a"],["𝚋","b"],["𝚌","c"],["𝚍","d"],["𝚎","e"],["𝚏","f"],["𝚐","g"],["𝚑","h"],["𝚒","i"],["𝚓","j"],["𝚔","k"],["𝚕","l"],["𝚖","m"],["𝚗","n"],["𝚘","o"],["𝚙","p"],["𝚚","q"],["𝚛","r"],["𝚜","s"],["𝚝","t"],["𝚞","u"],["𝚟","v"],["𝚠","w"],["𝚡","x"],["𝚢","y"],["𝚣","z"],["𝚤","l"],["𝚥","j"],["𝛢","A"],["𝛣","B"],["𝛤","G"],["𝛥","D"],["𝛦","E"],["𝛧","Z"],["𝛨","I"],["𝛩","TH"],["𝛪","I"],["𝛫","K"],["𝛬","L"],["𝛭","M"],["𝛮","N"],["𝛯","KS"],["𝛰","O"],["𝛱","P"],["𝛲","R"],["𝛳","TH"],["𝛴","S"],["𝛵","T"],["𝛶","Y"],["𝛷","F"],["𝛸","x"],["𝛹","PS"],["𝛺","O"],["𝛻","D"],["𝛼","a"],["𝛽","b"],["𝛾","g"],["𝛿","d"],["𝜀","e"],["𝜁","z"],["𝜂","i"],["𝜃","th"],["𝜄","i"],["𝜅","k"],["𝜆","l"],["𝜇","m"],["𝜈","n"],["𝜉","ks"],["𝜊","o"],["𝜋","p"],["𝜌","r"],["𝜍","s"],["𝜎","s"],["𝜏","t"],["𝜐","y"],["𝜑","f"],["𝜒","x"],["𝜓","ps"],["𝜔","o"],["𝜕","d"],["𝜖","E"],["𝜗","TH"],["𝜘","K"],["𝜙","f"],["𝜚","r"],["𝜛","p"],["𝜜","A"],["𝜝","V"],["𝜞","G"],["𝜟","D"],["𝜠","E"],["𝜡","Z"],["𝜢","I"],["𝜣","TH"],["𝜤","I"],["𝜥","K"],["𝜦","L"],["𝜧","M"],["𝜨","N"],["𝜩","KS"],["𝜪","O"],["𝜫","P"],["𝜬","S"],["𝜭","TH"],["𝜮","S"],["𝜯","T"],["𝜰","Y"],["𝜱","F"],["𝜲","X"],["𝜳","PS"],["𝜴","O"],["𝜵","D"],["𝜶","a"],["𝜷","v"],["𝜸","g"],["𝜹","d"],["𝜺","e"],["𝜻","z"],["𝜼","i"],["𝜽","th"],["𝜾","i"],["𝜿","k"],["𝝀","l"],["𝝁","m"],["𝝂","n"],["𝝃","ks"],["𝝄","o"],["𝝅","p"],["𝝆","r"],["𝝇","s"],["𝝈","s"],["𝝉","t"],["𝝊","y"],["𝝋","f"],["𝝌","x"],["𝝍","ps"],["𝝎","o"],["𝝏","a"],["𝝐","e"],["𝝑","i"],["𝝒","k"],["𝝓","f"],["𝝔","r"],["𝝕","p"],["𝝖","A"],["𝝗","B"],["𝝘","G"],["𝝙","D"],["𝝚","E"],["𝝛","Z"],["𝝜","I"],["𝝝","TH"],["𝝞","I"],["𝝟","K"],["𝝠","L"],["𝝡","M"],["𝝢","N"],["𝝣","KS"],["𝝤","O"],["𝝥","P"],["𝝦","R"],["𝝧","TH"],["𝝨","S"],["𝝩","T"],["𝝪","Y"],["𝝫","F"],["𝝬","X"],["𝝭","PS"],["𝝮","O"],["𝝯","D"],["𝝰","a"],["𝝱","v"],["𝝲","g"],["𝝳","d"],["𝝴","e"],["𝝵","z"],["𝝶","i"],["𝝷","th"],["𝝸","i"],["𝝹","k"],["𝝺","l"],["𝝻","m"],["𝝼","n"],["𝝽","ks"],["𝝾","o"],["𝝿","p"],["𝞀","r"],["𝞁","s"],["𝞂","s"],["𝞃","t"],["𝞄","y"],["𝞅","f"],["𝞆","x"],["𝞇","ps"],["𝞈","o"],["𝞉","a"],["𝞊","e"],["𝞋","i"],["𝞌","k"],["𝞍","f"],["𝞎","r"],["𝞏","p"],["𝞐","A"],["𝞑","V"],["𝞒","G"],["𝞓","D"],["𝞔","E"],["𝞕","Z"],["𝞖","I"],["𝞗","TH"],["𝞘","I"],["𝞙","K"],["𝞚","L"],["𝞛","M"],["𝞜","N"],["𝞝","KS"],["𝞞","O"],["𝞟","P"],["𝞠","S"],["𝞡","TH"],["𝞢","S"],["𝞣","T"],["𝞤","Y"],["𝞥","F"],["𝞦","X"],["𝞧","PS"],["𝞨","O"],["𝞩","D"],["𝞪","av"],["𝞫","g"],["𝞬","d"],["𝞭","e"],["𝞮","z"],["𝞯","i"],["𝞰","i"],["𝞱","th"],["𝞲","i"],["𝞳","k"],["𝞴","l"],["𝞵","m"],["𝞶","n"],["𝞷","ks"],["𝞸","o"],["𝞹","p"],["𝞺","r"],["𝞻","s"],["𝞼","s"],["𝞽","t"],["𝞾","y"],["𝞿","f"],["𝟀","x"],["𝟁","ps"],["𝟂","o"],["𝟃","a"],["𝟄","e"],["𝟅","i"],["𝟆","k"],["𝟇","f"],["𝟈","r"],["𝟉","p"],["𝟊","F"],["𝟋","f"],["⒜","(a)"],["⒝","(b)"],["⒞","(c)"],["⒟","(d)"],["⒠","(e)"],["⒡","(f)"],["⒢","(g)"],["⒣","(h)"],["⒤","(i)"],["⒥","(j)"],["⒦","(k)"],["⒧","(l)"],["⒨","(m)"],["⒩","(n)"],["⒪","(o)"],["⒫","(p)"],["⒬","(q)"],["⒭","(r)"],["⒮","(s)"],["⒯","(t)"],["⒰","(u)"],["⒱","(v)"],["⒲","(w)"],["⒳","(x)"],["⒴","(y)"],["⒵","(z)"],["Ⓐ","(A)"],["Ⓑ","(B)"],["Ⓒ","(C)"],["Ⓓ","(D)"],["Ⓔ","(E)"],["Ⓕ","(F)"],["Ⓖ","(G)"],["Ⓗ","(H)"],["Ⓘ","(I)"],["Ⓙ","(J)"],["Ⓚ","(K)"],["Ⓛ","(L)"],["Ⓝ","(N)"],["Ⓞ","(O)"],["Ⓟ","(P)"],["Ⓠ","(Q)"],["Ⓡ","(R)"],["Ⓢ","(S)"],["Ⓣ","(T)"],["Ⓤ","(U)"],["Ⓥ","(V)"],["Ⓦ","(W)"],["Ⓧ","(X)"],["Ⓨ","(Y)"],["Ⓩ","(Z)"],["ⓐ","(a)"],["ⓑ","(b)"],["ⓒ","(c)"],["ⓓ","(d)"],["ⓔ","(e)"],["ⓕ","(f)"],["ⓖ","(g)"],["ⓗ","(h)"],["ⓘ","(i)"],["ⓙ","(j)"],["ⓚ","(k)"],["ⓛ","(l)"],["ⓜ","(m)"],["ⓝ","(n)"],["ⓞ","(o)"],["ⓟ","(p)"],["ⓠ","(q)"],["ⓡ","(r)"],["ⓢ","(s)"],["ⓣ","(t)"],["ⓤ","(u)"],["ⓥ","(v)"],["ⓦ","(w)"],["ⓧ","(x)"],["ⓨ","(y)"],["ⓩ","(z)"],["Ċ","C"],["ċ","c"],["Ġ","G"],["ġ","g"],["Ħ","H"],["ħ","h"],["Ż","Z"],["ż","z"],["𝟎","0"],["𝟏","1"],["𝟐","2"],["𝟑","3"],["𝟒","4"],["𝟓","5"],["𝟔","6"],["𝟕","7"],["𝟖","8"],["𝟗","9"],["𝟘","0"],["𝟙","1"],["𝟚","2"],["𝟛","3"],["𝟜","4"],["𝟝","5"],["𝟞","6"],["𝟟","7"],["𝟠","8"],["𝟡","9"],["𝟢","0"],["𝟣","1"],["𝟤","2"],["𝟥","3"],["𝟦","4"],["𝟧","5"],["𝟨","6"],["𝟩","7"],["𝟪","8"],["𝟫","9"],["𝟬","0"],["𝟭","1"],["𝟮","2"],["𝟯","3"],["𝟰","4"],["𝟱","5"],["𝟲","6"],["𝟳","7"],["𝟴","8"],["𝟵","9"],["𝟶","0"],["𝟷","1"],["𝟸","2"],["𝟹","3"],["𝟺","4"],["𝟻","5"],["𝟼","6"],["𝟽","7"],["𝟾","8"],["𝟿","9"],["①","1"],["②","2"],["③","3"],["④","4"],["⑤","5"],["⑥","6"],["⑦","7"],["⑧","8"],["⑨","9"],["⑩","10"],["⑪","11"],["⑫","12"],["⑬","13"],["⑭","14"],["⑮","15"],["⑯","16"],["⑰","17"],["⑱","18"],["⑲","19"],["⑳","20"],["⑴","1"],["⑵","2"],["⑶","3"],["⑷","4"],["⑸","5"],["⑹","6"],["⑺","7"],["⑻","8"],["⑼","9"],["⑽","10"],["⑾","11"],["⑿","12"],["⒀","13"],["⒁","14"],["⒂","15"],["⒃","16"],["⒄","17"],["⒅","18"],["⒆","19"],["⒇","20"],["⒈","1."],["⒉","2."],["⒊","3."],["⒋","4."],["⒌","5."],["⒍","6."],["⒎","7."],["⒏","8."],["⒐","9."],["⒑","10."],["⒒","11."],["⒓","12."],["⒔","13."],["⒕","14."],["⒖","15."],["⒗","16."],["⒘","17."],["⒙","18."],["⒚","19."],["⒛","20."],["⓪","0"],["⓫","11"],["⓬","12"],["⓭","13"],["⓮","14"],["⓯","15"],["⓰","16"],["⓱","17"],["⓲","18"],["⓳","19"],["⓴","20"],["⓵","1"],["⓶","2"],["⓷","3"],["⓸","4"],["⓹","5"],["⓺","6"],["⓻","7"],["⓼","8"],["⓽","9"],["⓾","10"],["⓿","0"],["🙰","&"],["🙱","&"],["🙲","&"],["🙳","&"],["🙴","&"],["🙵","&"],["🙶",'"'],["🙷",'"'],["🙸",'"'],["‽","?!"],["🙹","?!"],["🙺","?!"],["🙻","?!"],["🙼","/"],["🙽","\\"],["🜇","AR"],["🜈","V"],["🜉","V"],["🜆","VR"],["🜅","VF"],["🜩","2"],["🜪","5"],["🝡","f"],["🝢","W"],["🝣","U"],["🝧","V"],["🝨","T"],["🝪","V"],["🝫","MB"],["🝬","VB"],["🝲","3B"],["🝳","3B"],["💯","100"],["🔙","BACK"],["🔚","END"],["🔛","ON!"],["🔜","SOON"],["🔝","TOP"],["🔞","18"],["🔤","abc"],["🔠","ABCD"],["🔡","abcd"],["🔢","1234"],["🔣","T&@%"],["#️⃣","#"],["*️⃣","*"],["0️⃣","0"],["1️⃣","1"],["2️⃣","2"],["3️⃣","3"],["4️⃣","4"],["5️⃣","5"],["6️⃣","6"],["7️⃣","7"],["8️⃣","8"],["9️⃣","9"],["🔟","10"],["🅰️","A"],["🅱️","B"],["🆎","AB"],["🆑","CL"],["🅾️","O"],["🅿","P"],["🆘","SOS"],["🅲","C"],["🅳","D"],["🅴","E"],["🅵","F"],["🅶","G"],["🅷","H"],["🅸","I"],["🅹","J"],["🅺","K"],["🅻","L"],["🅼","M"],["🅽","N"],["🆀","Q"],["🆁","R"],["🆂","S"],["🆃","T"],["🆄","U"],["🆅","V"],["🆆","W"],["🆇","X"],["🆈","Y"],["🆉","Z"],["−","-"],["⁓","-"]],TC=new Map(Bse),A$=[["æ","ae"],["Æ","Ae"],["ø","oe"],["Ø","Oe"],["å","aa"],["Å","Aa"]],Pf={sv:[["ä","a"],["Ä","A"],["ö","o"],["Ö","O"],["å","a"],["Å","A"]],da:A$,nb:A$,de:[["ä","ae"],["Ä","Ae"],["ö","oe"],["Ö","Oe"],["ü","ue"],["Ü","Ue"],["ß","ss"],["ẞ","Ss"]],tr:[["â","a"],["Â","A"],["ö","o"],["Ö","O"],["ü","u"],["Ü","U"]],hu:[["ű","u"],["Ű","U"],["ö","o"],["Ö","O"],["ü","u"],["Ü","U"],["á","a"],["Á","A"],["é","e"],["É","E"],["í","i"],["Í","I"],["ó","o"],["Ó","O"],["ú","u"],["Ú","U"]],sr:[["ђ","dj"],["Ђ","Dj"],["џ","dz"],["Џ","Dz"],["љ","lj"],["Љ","Lj"],["њ","nj"],["Њ","Nj"],["ћ","c"],["Ћ","C"],["ч","ch"],["Ч","Ch"],["ш","sh"],["Ш","Sh"],["ж","zh"],["Ж","Zh"]]};for(const e of Object.keys(Pf))Pf[e]=new Map(Pf[e]);const qse=e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),VR=e=>{const t=[...e.keys()].sort((r,n)=>n.length-r.length);return new RegExp(t.map(r=>qse(r)).join("|"),"gu")},zse=VR(TC),UR=new Map;for(const[e,t]of Object.entries(Pf)){const r=new Map(TC);for(const[n,o]of t)r.set(n,o);UR.set(e,{replacements:r,pattern:VR(r)})}const Fse=e=>{if(!e)return;const t=e.toLowerCase().replace(/^no(-|$)/,"nb$1");if(Object.hasOwn(Pf,t))return t;const r=t.split("-")[0];if(Object.hasOwn(Pf,r))return r};function Vse(e,t){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\``);t={customReplacements:[],...t};const r=Fse(t.locale),n=[...t.customReplacements];let o=TC,s=zse;if(r&&({replacements:o,pattern:s}=UR.get(r)),e=e.normalize(),n.length>0){n.sort((i,a)=>a[0].length-i[0].length);for(const[i,a]of n)e=e.replaceAll(i,a)}return e=e.replace(s,i=>o.get(i)??i),e=e.normalize("NFD").replaceAll(new RegExp("\\p{Diacritic}","gu"),"").normalize(),e=e.replaceAll(new RegExp("\\p{Dash_Punctuation}","gu"),"-"),e}const Use=[["&"," and "],["🦄"," unicorn "],["♥"," love "]],Hse=e=>e.replaceAll(/([A-Z]{2,})(\d+)/g,"$1 $2").replaceAll(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replaceAll(/([a-z\d])([A-Z])/g,"$1 $2").replaceAll(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"),Wse=(e,t)=>{const r=FR(t);return e.replaceAll(new RegExp(`(?:${r}){2,}`,"g"),t).replaceAll(new RegExp(`^(?:${r})|(?:${r})$`,"g"),"")},Gse=e=>{let t=String.raw`a-z\d`;if(t+=e.lowercase?"":"A-Z",e.transliterate===!1&&(t+=String.raw`\p{L}\p{N}`),e.preserveCharacters.length>0)for(const n of e.preserveCharacters){if(n===e.separator)throw new Error(`The separator character \`${e.separator}\` cannot be included in preserved characters: ${e.preserveCharacters}`);t+=FR(n)}const r=e.transliterate?"g":"gu";return new RegExp(`[^${t}]+`,r)};function Jse(e,t){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\``);t={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[],transliterate:!0,...t};const r=t.preserveLeadingUnderscore&&e.startsWith("_"),n=t.preserveTrailingDash&&e.endsWith("-");if(t.transliterate){const s=new Map([...Use,...t.customReplacements]);e=Vse(e,{customReplacements:s,locale:t.locale})}else if(t.customReplacements.length>0)for(const[s,i]of t.customReplacements)e=e.replaceAll(s,i);t.decamelize&&(e=Hse(e));const o=Gse(t);return t.lowercase&&(e=t.locale?e.toLocaleLowerCase(t.locale):e.toLowerCase()),e=e.replaceAll(/([a-zA-Z\d]+)['\u2019]([ts])(\s|$)/g,"$1$2$3"),e=e.replace(o,t.separator),e=e.replaceAll("\\",""),t.separator&&(e=Wse(e,t.separator)),r&&(e=`_${e}`),n&&(e=`${e}-`),e}const Kse=["href","aria-label"],Rs={__name:"OAHeading",props:{id:{type:String,required:!1},level:{type:String,required:!0},prefix:{type:String,default:null},class:{type:String,required:!1},headerAnchorClass:{type:String,default:"header-anchor"}},setup(e){const t=e;function r(l){return l.map(c=>!c.children||typeof c.children=="string"?c.children||"":Array.isArray(c.children)?r(c.children):c.children.default?r(c.children.default()):"").join("")}const n=el().default,o=le(()=>r(n())),s=le(()=>{if(t.id)return t.id;const l=t.prefix?`${t.prefix}-${o.value}`:o.value;return Jse(l,{decamelize:!1})}),i=kn(),a=le(()=>i.getHeadingLevel(t.level)??t.level);return(l,c)=>(E(),ve(si(a.value),{id:s.value,tabindex:"-1",class:Lt(S(Ko)(t.class))},{default:U(()=>[pe(l.$slots,"default"),ue("a",{class:Lt(S(Ko)("header-anchor",t.headerAnchorClass)),href:`#${s.value}`,"aria-label":`Permalink to ${o.value}`},"​",10,Kse)]),_:3},8,["id","class"]))}},E$={};function Qse(e){let t=E$[e];if(t)return t;t=E$[e]=[];for(let r=0;r<128;r++){const n=String.fromCharCode(r);t.push(n)}for(let r=0;r=55296&&u<=57343?o+="���":o+=String.fromCharCode(u),s+=6;continue}}if((a&248)===240&&s+91114111?o+="����":(d-=65536,o+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),s+=9;continue}}o+="�"}return o})}eh.defaultChars=";/?:@&=+$,#";eh.componentChars="";const O$={};function Zse(e){let t=O$[e];if(t)return t;t=O$[e]=[];for(let r=0;r<128;r++){const n=String.fromCharCode(r);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2))}for(let r=0;r"u"&&(r=!0);const n=Zse(t);let o="";for(let s=0,i=e.length;s=55296&&a<=57343){if(a>=55296&&a<=56319&&s+1=56320&&l<=57343){o+=encodeURIComponent(e[s]+e[s+1]),s++;continue}}o+="%EF%BF%BD";continue}o+=encodeURIComponent(e[s])}return o}gv.defaultChars=";/?:@&=+$,-_.!~*'()#";gv.componentChars="-_.!~*'()";function PC(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Ib(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Xse=/^([a-z0-9.+-]+:)/i,Yse=/:[0-9]*$/,eie=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,tie=["<",">",'"',"`"," ","\r",` -`," "],rie=["{","}","|","\\","^","`"].concat(tie),nie=["'"].concat(rie),$$=["%","/","?",";","#"].concat(nie),T$=["/","?","#"],oie=255,P$=/^[+a-z0-9A-Z_-]{0,63}$/,sie=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,I$={javascript:!0,"javascript:":!0},D$={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function IC(e,t){if(e&&e instanceof Ib)return e;const r=new Ib;return r.parse(e,t),r}Ib.prototype.parse=function(e,t){let r,n,o,s=e;if(s=s.trim(),!t&&e.split("#").length===1){const c=eie.exec(s);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let i=Xse.exec(s);if(i&&(i=i[0],r=i.toLowerCase(),this.protocol=i,s=s.substr(i.length)),(t||i||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=s.substr(0,2)==="//",o&&!(i&&I$[i])&&(s=s.substr(2),this.slashes=!0)),!I$[i]&&(o||i&&!D$[i])){let c=-1;for(let m=0;m127?b+="x":b+=y[w];if(!b.match(P$)){const w=m.slice(0,v),k=m.slice(v+1),x=y.match(sie);x&&(w.push(x[1]),k.unshift(x[2])),k.length&&(s=k.join(".")+s),this.hostname=w.join(".");break}}}}this.hostname.length>oie&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=s.indexOf("#");a!==-1&&(this.hash=s.substr(a),s=s.slice(0,a));const l=s.indexOf("?");return l!==-1&&(this.search=s.substr(l),s=s.slice(0,l)),s&&(this.pathname=s),D$[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Ib.prototype.parseHost=function(e){let t=Yse.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const iie=Object.freeze(Object.defineProperty({__proto__:null,decode:eh,encode:gv,format:PC,parse:IC},Symbol.toStringTag,{value:"Module"})),HR=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,WR=/[\0-\x1F\x7F-\x9F]/,aie=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,DC=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,GR=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,JR=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,lie=Object.freeze(Object.defineProperty({__proto__:null,Any:HR,Cc:WR,Cf:aie,P:DC,S:GR,Z:JR},Symbol.toStringTag,{value:"Module"})),cie=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୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢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;怳Ādp໩໮uct;戏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ǣጓ\0጖y;䐎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Ā;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀ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Ā;e᜚᜜lƀ;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\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩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ↄⅪ←ٖ↛ǰ↉\0↎proø₞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;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\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\0⹻m;櫳;櫽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))),uie=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var gk;const die=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]]),pie=(gk=String.fromCodePoint)!==null&&gk!==void 0?gk:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function fie(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=die.get(e))!==null&&t!==void 0?t:e}var vs;(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"})(vs||(vs={}));const hie=32;var yu;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(yu||(yu={}));function S_(e){return e>=vs.ZERO&&e<=vs.NINE}function mie(e){return e>=vs.UPPER_A&&e<=vs.UPPER_F||e>=vs.LOWER_A&&e<=vs.LOWER_F}function gie(e){return e>=vs.UPPER_A&&e<=vs.UPPER_Z||e>=vs.LOWER_A&&e<=vs.LOWER_Z||S_(e)}function vie(e){return e===vs.EQUALS||gie(e)}var hs;(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"})(hs||(hs={}));var hu;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(hu||(hu={}));class yie{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=hs.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=hu.Strict}startEntity(t){this.decodeMode=t,this.state=hs.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case hs.EntityStart:return t.charCodeAt(r)===vs.NUM?(this.state=hs.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=hs.NamedEntity,this.stateNamedEntity(t,r));case hs.NumericStart:return this.stateNumericStart(t,r);case hs.NumericDecimal:return this.stateNumericDecimal(t,r);case hs.NumericHex:return this.stateNumericHex(t,r);case hs.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|hie)===vs.LOWER_X?(this.state=hs.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=hs.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,o){if(r!==n){const s=n-r;this.result=this.result*Math.pow(o,s)+parseInt(t.substr(r,s),o),this.consumed+=s}}stateNumericHex(t,r){const n=r;for(;r>14;for(;r>14,s!==0){if(i===vs.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==hu.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,o=(n[r]&yu.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,o,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:o}=this;return this.emitCodePoint(r===1?o[t]&~yu.VALUE_LENGTH:o[t+1],n),r===3&&this.emitCodePoint(o[t+2],n),n}end(){var t;switch(this.state){case hs.NamedEntity:return this.result!==0&&(this.decodeMode!==hu.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case hs.NumericDecimal:return this.emitNumericEntity(0,2);case hs.NumericHex:return this.emitNumericEntity(0,3);case hs.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case hs.EntityStart:return 0}}}function KR(e){let t="";const r=new yie(e,n=>t+=pie(n));return function(n,o){let s=0,i=0;for(;(i=n.indexOf("&",i))>=0;){t+=n.slice(s,i),r.startEntity(o);const l=r.write(n,i+1);if(l<0){s=i+r.end();break}s=i+l,i=l===0?s+1:s}const a=t+n.slice(s);return t="",a}}function bie(e,t,r,n){const o=(t&yu.BRANCH_LENGTH)>>7,s=t&yu.JUMP_TABLE;if(o===0)return s!==0&&n===s?r:-1;if(s){const l=n-s;return l<0||l>=o?-1:e[r+l]-1}let i=r,a=i+o-1;for(;i<=a;){const l=i+a>>>1,c=e[l];if(cn)a=l-1;else return e[l+o]}return-1}const wie=KR(cie);KR(uie);function QR(e,t=hu.Legacy){return wie(e,t)}function xie(e){return Object.prototype.toString.call(e)}function MC(e){return xie(e)==="[object String]"}const kie=Object.prototype.hasOwnProperty;function jie(e,t){return kie.call(e,t)}function Cw(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(typeof t!="object")throw new TypeError(t+"must be object");Object.keys(t).forEach(function(r){e[r]=t[r]})}}),e}function ZR(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function LC(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Db(e){if(e>65535){e-=65536;const t=55296+(e>>10),r=56320+(e&1023);return String.fromCharCode(t,r)}return String.fromCharCode(e)}const XR=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,_ie=/&([a-z#][a-z0-9]{1,31});/gi,Sie=new RegExp(XR.source+"|"+_ie.source,"gi"),Cie=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Aie(e,t){if(t.charCodeAt(0)===35&&Cie.test(t)){const n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return LC(n)?Db(n):e}const r=QR(e);return r!==e?r:e}function Eie(e){return e.indexOf("\\")<0?e:e.replace(XR,"$1")}function th(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Sie,function(t,r,n){return r||Aie(t,n)})}const Oie=/[&<>"]/,$ie=/[&<>"]/g,Tie={"&":"&","<":"<",">":">",'"':"""};function Pie(e){return Tie[e]}function qu(e){return Oie.test(e)?e.replace($ie,Pie):e}const Iie=/[.?*+^$[\]\\(){}|-]/g;function Die(e){return e.replace(Iie,"\\$&")}function yo(e){switch(e){case 9:case 32:return!0}return!1}function dg(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function pg(e){return DC.test(e)||GR.test(e)}function fg(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Aw(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const Mie={mdurl:iie,ucmicro:lie},Lie=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:ZR,assign:Cw,escapeHtml:qu,escapeRE:Die,fromCodePoint:Db,has:jie,isMdAsciiPunct:fg,isPunctChar:pg,isSpace:yo,isString:MC,isValidEntityCode:LC,isWhiteSpace:dg,lib:Mie,normalizeReference:Aw,unescapeAll:th,unescapeMd:Eie},Symbol.toStringTag,{value:"Module"}));function Nie(e,t,r){let n,o,s,i;const a=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos32))return s;if(n===41){if(i===0)break;i--}o++}return t===o||i!==0||(s.str=th(e.slice(t,o)),s.pos=o,s.ok=!0),s}function Bie(e,t,r,n){let o,s=t;const i={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)i.str=n.str,i.marker=n.marker;else{if(s>=r)return i;let a=e.charCodeAt(s);if(a!==34&&a!==39&&a!==40)return i;t++,s++,a===40&&(a=41),i.marker=a}for(;s"+qu(s.content)+""};Ul.code_block=function(e,t,r,n,o){const s=e[t];return""+qu(e[t].content)+` +`,s?1+l:l),s=!0,i=!0,l=0,r=e.position;!Cl(d)&&d!==0;)d=e.input.charCodeAt(++e.position);Eu(e,r,e.position,!1)}return!0}function YO(e,t){var r,n=e.tag,o=e.anchor,s=[],i,a=!1,l;if(e.firstTabInLine!==-1)return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=s),l=e.input.charCodeAt(e.position);l!==0&&(e.firstTabInLine!==-1&&(e.position=e.firstTabInLine,Qt(e,"tab characters must not be used in indentation")),!(l!==45||(i=e.input.charCodeAt(e.position+1),!wi(i))));){if(a=!0,e.position++,es(e,!0,-1)&&e.lineIndent<=t){s.push(null),l=e.input.charCodeAt(e.position);continue}if(r=e.line,Xf(e,t,GL,!1,!0),s.push(e.result),es(e,!0,-1),l=e.input.charCodeAt(e.position),(e.line===r||e.lineIndent>t)&&l!==0)Qt(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(g&&(i=e.line,a=e.lineStart,l=e.position),Xf(e,t,Ob,!0,o)&&(g?m=e.result:v=e.result),g||(wf(e,d,p,f,m,v,i,a,l),f=m=v=null),es(e,!0,-1),b=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&b!==0)Qt(e,"bad indentation of a mapping entry");else if(e.lineIndentt?l=1:e.lineIndent===t?l=0:e.lineIndentt?l=1:e.lineIndent===t?l=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),d=0,p=e.implicitTypes.length;d"),e.result!==null&&m.kind!==e.kind&&Qt(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+m.kind+'", not "'+e.kind+'"'),m.resolve(e.result,e.tag)?(e.result=m.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Qt(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||u}function Hne(e){var t=e.position,r,n,o,s=!1,i;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(i=e.input.charCodeAt(e.position))!==0&&(es(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||i!==37));){for(s=!0,i=e.input.charCodeAt(++e.position),r=e.position;i!==0&&!wi(i);)i=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),o=[],n.length<1&&Qt(e,"directive name must not be less than one character in length");i!==0;){for(;Ud(i);)i=e.input.charCodeAt(++e.position);if(i===35){do i=e.input.charCodeAt(++e.position);while(i!==0&&!Cl(i));break}if(Cl(i))break;for(r=e.position;i!==0&&!wi(i);)i=e.input.charCodeAt(++e.position);o.push(e.input.slice(r,e.position))}i!==0&&kC(e),Bu.call(ZO,n)?ZO[n](e,n,o):$b(e,'unknown document directive "'+n+'"')}if(es(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,es(e,!0,-1)):s&&Qt(e,"directives end mark is expected"),Xf(e,e.lineIndent-1,Ob,!1,!0),es(e,!0,-1),e.checkLineBreaks&&One.test(e.input.slice(t,e.position))&&$b(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&_w(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,es(e,!0,-1));return}if(e.position{if(typeof s=="object"&&s!==null){if(t.has(s))return s;if(t.add(s),Array.isArray(s))for(let i=0;iMi.filter(I=>C&&C[A]&&C[A][I]).map(I=>{if(!C||!C[A]||!C[A][I])return null;const{operationId:M,summary:L,tags:F}=C[A][I];return{path:A,verb:I,operationId:M,summary:L,tags:F??[]}}))}function m(){return o().info??{}}function v(){return o().externalDocs??{}}function g(){return o().servers??[]}function y(C){var L;const A=a(p(),C);if(!A)return[];const I=c(C),M=(L=o().paths[I??""])==null?void 0:L.servers;return(A==null?void 0:A.servers)!==void 0?A.servers:M!==void 0?M:o().servers??[]}function b(){if(!o().paths)return[];const C=o().paths;return Object.values(C).reduce((A,I)=>{var M;for(const L of Mi)I&&((M=I[L])!=null&&M.tags)&&I[L].tags.forEach(F=>{A.includes(F)||A.push(F)});return A},[])}function w(C){const A=p()??{},I={};for(const[M,L]of Object.entries(A))if(L)for(const F of Mi){const z=L[F];z&&C(z)&&(I[M]=I[M]||{},I[M][F]=z)}return I}function k(C){const A=typeof C=="string"?[C]:C;return w(I=>{var M;return(M=I==null?void 0:I.tags)==null?void 0:M.some(L=>A.includes(L))})}function x(){return w(C=>!(C!=null&&C.tags)||C.tags.length===0)}function j(){return(o().tags??[]).map(C=>({name:C.name??null,description:C.description??null}))}function _(){const C=b(),A=j().filter(I=>C.includes(I.name??""));return[...A,...C.filter(I=>!A.map(M=>M.name).includes(I)).map(I=>({name:I,description:null}))]}return{spec:o(),originalSpec:s(),setSpec:n,getSpec:o,getOriginalSpec:s,setOriginalSpec:i,getOperation:l,getOperationPath:c,getOperationMethod:u,getOperationParameters:d,getPaths:p,getPathsByVerbs:f,getInfo:m,getExternalDocs:v,getServers:g,getOperationServers:y,getOperationsTags:b,getPathsByTags:k,getPathsWithoutTags:x,getTags:j,getFilteredTags:_}}const Mi=["get","put","post","delete","options","head","patch","trace"],rR=["string","number","integer","boolean","null"];async function eoe(e){var r,n,o,s,i;if(!(e!=null&&e.paths))return e;const t=Cb(((n=(r=e.servers)==null?void 0:r[0])==null?void 0:n.url)||"");for(const[a,l]of Object.entries(e.paths))for(const c of Mi){const u=l[c];if(!u)continue;const d=((s=(o=u.securityUi)==null?void 0:o[0])==null?void 0:s.schemes)||[],p=Object.keys(((i=u.requestBody)==null?void 0:i.content)||{}),f=p.map(v=>{var g,y,b;return Object.values(((b=(y=(g=u.requestBody)==null?void 0:g.content)==null?void 0:y[v])==null?void 0:b.examples)||{})}).flat().find(v=>v==null?void 0:v.isAutogenerated),m=xw({path:a,method:c,baseUrl:t,parameters:(u.parameters||[]).filter(v=>!("$ref"in v)),authorizations:Object.entries(d).map(([v,g])=>({...g,name:String(v),label:String(v)})),body:(f==null?void 0:f.value)||void 0,headers:{...kn().getCodeSamplesDefaultHeaders()||{}},variables:{},contentType:p.length>0?p[0]:void 0});u.codeSamples=await Promise.all(AL.map(async v=>({...v,source:await kL(v,m)})))}return e}const toe=/\//g;function roe(e){e.paths=e.paths||{};for(const t of Object.keys(e.paths)){const r=e.paths[t];for(const n of Mi){const o=r[n];o&&(o.operationId||(o.operationId=`${n}${t.replace(toe,"-")}`))}}return e}function noe(e){e.paths=e.paths||{};for(const t of Object.keys(e.paths)){const r=e.paths[t];for(const n of Mi){const o=r[n];o&&(o.summary||(o.summary=`${n.toUpperCase()} ${t}`))}}return e}function ooe({spec:e,defaultTag:t="Default",defaultTagDescription:r=""}){const n=new Set;e.paths=e.paths||{};for(const[,o]of Object.entries(e.paths))for(const s of Mi){if(!o||!o[s])continue;const i=o[s],a=i.tags||[t];i.tags=a,a.forEach(l=>n.add(l))}return e.tags=e.tags||[],n.has(t)&&!e.tags.some(o=>o.name===t)&&e.tags.push({name:t,description:r}),e}function nR(e,t=!1){return soe(e,t)}function soe(e,t){return Array.isArray(e)?e.map(r=>cg(r,t)):cg(e,t)}function cg(e,t){var r,n;return(r=e.meta)!=null&&r.isCircularReference?"[Circular Reference]":(n=e.meta)!=null&&n.isConstant?ioe(e):sR(e,"array")?oR(e,t):aoe(e)?e$(e,t):loe(e)?e$({...e,types:[e.types.find(o=>o!=="null")??"null"]},t):iR(e)?aR(e,t):coe(e,"object")?b_(e.properties||[],t):Yf(e.types[0]??"string",e.defaultValue)}function oR(e,t){var r;return iR(e)?[aR(e,t)]:(r=e.meta)!=null&&r.hasPrefixItems&&e.properties&&Array.isArray(e.properties)?e.properties.map(n=>cg(n,t)):e.properties&&Array.isArray(e.properties)?[b_(e.properties,t)]:e.subtype?e.subtype==="object"&&e.properties?[b_(e.properties,t)]:t?[hv(e)??Yf(e.subtype,e.defaultValue)]:[Yf(e.subtype,e.defaultValue)]:[]}function b_(e,t){return e.reduce((r,n)=>(sR(n,"array")?r[n.name]=oR(n,t):r[n.name]=cg(n,t),r),{})}function e$(e,t){var r;if(t){const n=hv(e);if(n!=null)return n}return((r=e.constraints)==null?void 0:r.format)==="binary"?"":Yf(e.types[0]??"string",e.defaultValue)}function ioe(e){return hv(e)??Yf(e.types[0]??"string",e.defaultValue)}function Yf(e,t){if(t!==void 0)return t;switch(e){case"string":return"string";case"number":case"integer":return 0;case"float":return 0;case"boolean":return!0;case"null":return null;case"array":return[];case"object":return{};default:return}}function sR(e,t){var r;return((r=e.types)==null?void 0:r.length)===1&&e.types[0]===t}function aoe(e){var t;return((t=e.types)==null?void 0:t.length)===1&&e.types[0]!=null&&rR.includes(e.types[0])}function loe(e){var t;return(t=e.types)==null?void 0:t.every(r=>r&&rR.includes(r))}function coe(e,t){var r;return((r=e.types)==null?void 0:r.includes(t))??!1}function uoe(e){var t;return!!((t=e.meta)!=null&&t.isOneOf)&&Array.isArray(e.properties)}function doe(e){var t;return!!((t=e.meta)!=null&&t.isAnyOf)&&Array.isArray(e.properties)}function iR(e){return uoe(e)||doe(e)}function aR(e,t){return e.properties&&e.properties.length>0?cg(e.properties[0],t):t?hv(e):Yf(e.types[0]??"string",e.defaultValue)}var ja={},gd={},Yv={},t$={},Wp={},r$;function lR(){return r$||(r$=1,Object.defineProperty(Wp,"__esModule",{value:!0}),Wp.DEFAULTS=Wp.TAGS=void 0,Wp.TAGS={OPENING:"OPENING",CLOSING:"CLOSING",SELF_CLOSING:"SELF_CLOSING"},Wp.DEFAULTS={SPACE:" ",NEW_LINE:` +`,ATTR_KEY:"@",CONTENT_KEY:"#",EMPTY_STR:"",DECLARATION:{version:"1.0"},ENTITY_MAP:{"<":"<",">":">","&":"&","'":"'",'"':"""},TYPE_HANDLER:e=>[!0,e],LEVEL:{INIT:0,INCREMENT:1},DOUBLE_QUOTES:{ENABLE:!0,DIASBLE:!1},MAKE_TAG:!0,BEAUTIFY:{ENABLE:!0,DISABLE:!1},SELF_CLOSING:{ENABLE:!0,DISABLE:!1},get EMPTY_OBJ(){return new Object},get EMPTY_ARR(){return new Array}}),Wp}var n$={},o$;function cR(){return o$||(o$=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.objIsEmpty=e.keyExists=e.isUndef=e.isArr=e.isStr=e.isFunc=e.isObj=void 0;const t="{}",r="[]",n=u=>!!u&&typeof u=="object";e.isObj=n;const o=u=>typeof u=="function";e.isFunc=o;const s=u=>typeof u=="string";e.isStr=s;const i=u=>Array.isArray(u);e.isArr=i;const a=u=>typeof u>"u";e.isUndef=a;const l=(u,d)=>(0,e.isObj)(u)&&d in u;e.keyExists=l;const c=u=>(0,e.isObj)(u)&&[t,r].includes(JSON.stringify(u));e.objIsEmpty=c}(n$)),n$}var s$;function poe(){return s$||(s$=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.setDeclaration=e.setAttributes=e.setStringVal=e.createTag=e.checkChildTags=e.createEntityHandler=e.beautify=void 0;const t=lR(),r=cR(),n=(c,u=t.DEFAULTS.LEVEL.INIT,d=t.DEFAULTS.BEAUTIFY.ENABLE)=>{let p=c;if(!d)return t.DEFAULTS.EMPTY_STR;if(c===t.DEFAULTS.SPACE){if(p=t.DEFAULTS.EMPTY_STR,u)for(let f=t.DEFAULTS.LEVEL.INIT;f{const u=c&&RegExp(Object.keys(c).join("|"),"gi");return d=>u?d.replace(u,p=>(c==null?void 0:c[p])||t.DEFAULTS.EMPTY_STR):d};e.createEntityHandler=o;const s=(c,u,d)=>{if((0,r.isObj)(c)&&!(0,r.isArr)(c)){const p=Object.keys(c);return!!(p.length&&(p.find(f=>f===d&&(0,r.isObj)(c[f]))||p.some(f=>![u,d].includes(f))))}else if((0,r.isArr)(c))return!!c.length;return!1};e.checkChildTags=s,e.createTag={[t.TAGS.OPENING]:c=>`${(0,e.beautify)(t.DEFAULTS.SPACE,c.level,c.beautify)}<${c.name}${(0,e.setAttributes)(c.attributes,c.setEntities)}${c.selfClosing?`/>${(0,e.beautify)(t.DEFAULTS.NEW_LINE,t.DEFAULTS.LEVEL.INIT,c.beautify)}`:">"}`,[t.TAGS.CLOSING]:c=>`${c.hasChidTags?(0,e.beautify)(t.DEFAULTS.SPACE,c.level,c.beautify):t.DEFAULTS.EMPTY_STR}${(0,e.beautify)(t.DEFAULTS.NEW_LINE,t.DEFAULTS.LEVEL.INIT,c.beautify)}`};const i=(c,u,d)=>{let p=(0,r.isFunc)(c)?c():c;return(0,r.isStr)(p)&&(p=d&&d(p)),u?`"${p}"`:`${p}`};e.setStringVal=i;const a=(c,u)=>{let d=t.DEFAULTS.EMPTY_STR;return c&&Object.keys(c).forEach(p=>{d+=` ${p}=${(0,e.setStringVal)(c[p],t.DEFAULTS.DOUBLE_QUOTES.ENABLE,u)}`}),d};e.setAttributes=a;const l=(c,u,d=t.DEFAULTS.BEAUTIFY.ENABLE)=>{const p=Object.assign({},(0,r.isObj)(c)?c:t.DEFAULTS.DECLARATION);return`${(0,e.beautify)(t.DEFAULTS.NEW_LINE,t.DEFAULTS.LEVEL.INIT,d)}`};e.setDeclaration=l}(t$)),t$}var i$;function foe(){if(i$)return Yv;i$=1,Object.defineProperty(Yv,"__esModule",{value:!0});const e=poe(),t=cR(),r=lR();return Yv.default=(n=r.DEFAULTS.EMPTY_OBJ,o=r.DEFAULTS.EMPTY_OBJ)=>{const s=(o==null?void 0:o.attrKey)||r.DEFAULTS.ATTR_KEY,i=(o==null?void 0:o.contentKey)||r.DEFAULTS.CONTENT_KEY,a=(0,e.createEntityHandler)(Object.assign({},(0,t.isObj)(o==null?void 0:o.entityMap)?o==null?void 0:o.entityMap:r.DEFAULTS.ENTITY_MAP));let l=(0,e.setDeclaration)(o==null?void 0:o.declaration,a,o==null?void 0:o.beautify);const c=(u,d,p)=>{var f;const m=(d==null?void 0:d[s])||r.DEFAULTS.EMPTY_OBJ;let v=(0,t.keyExists)(d,i)?d[i]:d;v=(0,t.isFunc)(v)?v():v;let[g,y]=(0,t.isFunc)(o==null?void 0:o.typeHandler)?(f=o.typeHandler)===null||f===void 0?void 0:f.call(r.DEFAULTS.EMPTY_OBJ,v):[r.DEFAULTS.MAKE_TAG,v];y=(0,t.objIsEmpty)(y)?r.DEFAULTS.EMPTY_STR:y;const b=(0,e.checkChildTags)(y,s,i),w=((0,t.keyExists)(o,"selfClosing")?o.selfClosing:r.DEFAULTS.SELF_CLOSING.ENABLE)&&[void 0,null,""].includes(y);!g||[s,i].includes(u)||!(0,t.isArr)(y)&&(l+=u&&e.createTag[r.TAGS.OPENING]({attributes:m,level:p,name:u,setEntities:a,beautify:o==null?void 0:o.beautify,selfClosing:w})||r.DEFAULTS.EMPTY_STR,w)||(b?(0,t.isArr)(y)?y.forEach(k=>{c(u,k,p)}):(l+=(0,e.beautify)(r.DEFAULTS.NEW_LINE,r.DEFAULTS.LEVEL.INIT,o==null?void 0:o.beautify),Object.keys(y).forEach(k=>{c(k,y[k],p+r.DEFAULTS.LEVEL.INCREMENT)})):l+=(0,e.setStringVal)(y,r.DEFAULTS.DOUBLE_QUOTES.DIASBLE,a),(0,t.isArr)(y)||(l+=u&&e.createTag[r.TAGS.CLOSING]({level:p,hasChidTags:b,name:u,setEntities:a,beautify:o==null?void 0:o.beautify})||r.DEFAULTS.EMPTY_STR))};return(u=>((0,t.isObj)(u)&&Object.keys(u).forEach(d=>{c(d,u[d],r.DEFAULTS.LEVEL.INIT)}),l))(n)},Yv}var a$;function hoe(){if(a$)return gd;a$=1;var e=gd&&gd.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(gd,"__esModule",{value:!0}),gd.toXmlString=void 0;const t=e(foe());return gd.toXmlString=t.default,gd}var l$;function moe(){if(l$)return ja;l$=1;var e=ja&&ja.__createBinding||(Object.create?function(o,s,i,a){a===void 0&&(a=i);var l=Object.getOwnPropertyDescriptor(s,i);(!l||("get"in l?!s.__esModule:l.writable||l.configurable))&&(l={enumerable:!0,get:function(){return s[i]}}),Object.defineProperty(o,a,l)}:function(o,s,i,a){a===void 0&&(a=i),o[a]=s[i]}),t=ja&&ja.__setModuleDefault||(Object.create?function(o,s){Object.defineProperty(o,"default",{enumerable:!0,value:s})}:function(o,s){o.default=s}),r=ja&&ja.__importStar||function(o){if(o&&o.__esModule)return o;var s={};if(o!=null)for(var i in o)i!=="default"&&Object.prototype.hasOwnProperty.call(o,i)&&e(s,o,i);return t(s,o),s};Object.defineProperty(ja,"__esModule",{value:!0}),ja.jsXml=void 0;const n=r(hoe());return ja.jsXml=n,ja}var goe=moe();function voe(e,t=!1){const r=nR(e,t);return goe.jsXml.toXmlString(r)}function yoe(e){return mC(e)?{key:"XML",summary:"XML",valueGenerator:voe,lang:"xml"}:{key:"JSON",summary:"JSON",valueGenerator:nR,lang:"json",hideOnSchemaTabs:bw(e)||ww(e)||iX(e)}}function uR(e,t,r=!1){const n=yoe(e);return{[n.key]:boe(n,t,r)}}function boe(e,t,r=!1){return{summary:e.summary,description:"",value:e.valueGenerator(t,r),isAutogenerated:!0,lang:e.lang??"json",hideOnSchemaTabs:e.hideOnSchemaTabs??!1}}function Z0(e){var t,r;return(e==null?void 0:e.examples)!==void 0?e.examples:((t=e==null?void 0:e.schema)==null?void 0:t.examples)!==void 0?e.schema.examples:(e==null?void 0:e.example)!==void 0?[e.example]:(e==null?void 0:e.subexamples)!==void 0?e.subexamples:((r=e==null?void 0:e.schema)==null?void 0:r.example)!==void 0?[e.schema.example]:(e==null?void 0:e.subexample)!==void 0?[e.subexample]:null}const dR=["exclusiveMaximum","exclusiveMinimum","format","maximum","maxItems","maxLength","maxProperties","minimum","minItems","minLength","minProperties","multipleOf","pattern","uniqueItems","default"];function woe(e){return Object.keys(e).some(t=>dR.includes(t))}function pR(e){return Object.entries(e).filter(([t])=>dR.includes(t)).reduce((t,[r,n])=>(t[r]=n,t),{})}function xoe(e){return fR({key:"root",value:e,parent:null}),e}function fR(e){const{value:t}=e;if(typeof t!="object"||t===null)return;const r=koe(e.parent,t);if(r)e.parent.value[e.key]={type:"object",circularReference:r};else for(const[n,o]of Object.entries(t))fR({key:n,value:o,parent:e})}function koe(e,t){const r=t&&t[Ld]?t[Ld]:t;for(;e;){const n=e.value;if((n&&n[Ld]?n[Ld]:n)===r)return hR(e);e=e.parent}return null}function hR(e){return e?`${hR(e.parent)}/${e.key}`:""}class Ho{static createBaseProperty(t,r={},n=!1){const o=Array.isArray(r.type)?r.type:[r.type||"string"],s=Z0(r),i={name:t,types:o,required:n,...r.title&&{title:r.title},...r.description&&{description:r.description},...r.default!==void 0&&{defaultValue:r.default},...r.externalDocs&&{docs:r.externalDocs},...s&&{examples:s},...r.nullable&&{nullable:r.nullable}};return r.const!==void 0&&(i.meta={...i.meta||{},isConstant:!0}),woe(r)&&(i.constraints=pR(r)),Object.keys(r).forEach(a=>{a.startsWith("x-")&&(i.meta=i.meta||{},i.meta.extra=i.meta.extra||{},i.meta.extra[a]=r[a])}),i}static createCircularReferenceProperty(t,r){return{name:t,types:["object"],required:!1,description:`Circular reference to **${r}**`,meta:{isCircularReference:!0}}}static createUnionProperty(t,r,n="",o={},s=!1){const i=Ho.createBaseProperty(n,o,s),a=[...new Set(t.map(d=>fk(d)).filter(Boolean))];a.length>0&&(i.types=a);const l=r==="oneOf",c=l?"isOneOfItem":"isAnyOfItem",u=l?"isOneOf":"isAnyOf";return i.properties=t.map(d=>{const p=Ho.schemaToUiProperty("",d);return p.meta={...p.meta||{},[c]:!0},p}),i.meta={...i.meta||{},[u]:!0},i}static createOneOfProperty(t,r="",n={},o=!1){return Ho.createUnionProperty(t,"oneOf",r,n,o)}static createAnyOfProperty(t,r="",n={},o=!1){return Ho.createUnionProperty(t,"anyOf",r,n,o)}static schemaToUiProperty(t,r,n=!1){if(!r||Object.keys(r).length===0)return{name:t,types:[],required:n};if(r.circularReference)return Ho.createCircularReferenceProperty(t,r.circularReference);if(r.oneOf)return Ho.createOneOfProperty(r.oneOf,t,r,n);if(r.anyOf)return Ho.createAnyOfProperty(r.anyOf,t,r,n);if(r.const!==void 0){const s=Ho.createBaseProperty(t,r,n),i=fk(r);i&&(s.types=[i]);const a=Z0(r)||r.const;return a!==void 0&&(s.examples=Array.isArray(a)?a:[a]),s.meta={...s.meta||{},isConstant:!0},s}if(r.enum){let s=[];r.type?s=Array.isArray(r.type)?r.type:[r.type]:s=joe(r.enum),s.length===0&&(s=["string"]);const i=Ho.createBaseProperty(t,r,n);return i.enum=r.enum,i.types=s,i}const o=Ho.createBaseProperty(t,r,n);if(Array.isArray(r.type)?r.type.includes("array"):r.type==="array"){if(r.items){const s=fk(r.items);o.properties=s==="object"?Ho.extractProperties(r.items.properties,r.items.required||[],r.items.additionalProperties,r.items["x-additionalPropertiesName"]):void 0,s!==void 0&&(o.subtype=s);const i=Z0(r.items);if(i&&(o.subexamples=i),r.items.const!==void 0&&(o.meta={...o.meta||{},isConstant:!0}),r.items.oneOf||r.items.anyOf){const a=!!r.items.oneOf,l=a?r.items.oneOf:r.items.anyOf,c=a?"isOneOf":"isAnyOf",u=a?"isOneOfItem":"isAnyOfItem";o.meta={...o.meta||{},[c]:!0},o.properties=l.map(d=>{const p={...d,type:r.items.type};return{...Ho.schemaToUiProperty("",p),meta:{...d.meta||{},[u]:!0}}})}if(s!=="object"&&s!=="array"&&!r.items.oneOf&&!r.items.anyOf){const a=Ho.schemaToUiProperty("[item]",r.items);(a.description||a.enum||a.constraints||a.docs)&&(o.items=a)}}if(r.prefixItems&&Array.isArray(r.prefixItems)&&(o.properties=r.prefixItems.map((s,i)=>{const a=Ho.schemaToUiProperty(`[${i}]`,s,!1);return a.meta={...a.meta||{},isPrefixItem:!0,prefixItemIndex:i},a}),o.meta={...o.meta||{},hasPrefixItems:!0}),r.prefixItems&&Array.isArray(r.prefixItems)&&r.items){const s=Ho.schemaToUiProperty("[n+]",r.items,!1);s.meta={...s.meta||{},isAdditionalItems:!0},o.properties=[...o.properties||[],s],o.subtype=void 0}}else(Array.isArray(r.type)?r.type.includes("object"):r.type==="object")?o.properties=Ho.extractProperties(r.properties,r.required||[],r.additionalProperties,r["x-additionalPropertiesName"]):r.type===void 0&&(r.properties||r.additionalProperties)&&(o.types=["object"],o.properties=Ho.extractProperties(r.properties,r.required||[],r.additionalProperties,r["x-additionalPropertiesName"]));return o}static extractProperties(t,r=[],n,o){const s=[];if(t&&Object.entries(t).forEach(([i,a])=>{const l=r.includes(i);s.push(Ho.schemaToUiProperty(i,a,l))}),n){const i=typeof n=="object"?n:{type:"string"},a=o||"additionalProperties",l=Ho.schemaToUiProperty(a,i);l.required=!1,l.meta={...l.meta||{},isAdditionalProperties:!0},s.push(l)}return s}}function mR(e){if(!e||Object.keys(e).length===0)return[];const t=xoe(e);return Ho.schemaToUiProperty("",t)}function joe(e){const t=new Set;return e.forEach(r=>{r===null?t.add("null"):Array.isArray(r)?t.add("array"):typeof r=="object"?t.add("object"):typeof r=="string"?t.add("string"):typeof r=="boolean"?t.add("boolean"):typeof r=="number"&&t.add(Number.isInteger(r)?"integer":"number")}),t.has("number")&&t.delete("integer"),[...t]}function fk(e){return!e.type&&e.properties?"object":!e.type&&e.items?"array":!e.type&&e.const!==void 0?Array.isArray(e.const)?"array":typeof e.const=="object"&&e.const!==null?"object":typeof e.const=="string"?"string":typeof e.const=="number"?"number":typeof e.const=="boolean"?"boolean":"null":e.type}function _oe(e){if(!e.paths)return e;for(const t of Object.values(e.paths))for(const r of Mi){const n=t[r];if(n&&n.requestBody)for(const[o,s]of Object.entries(n.requestBody.content||{})){const i=s;i.schema&&(i.ui=mR(i.schema),i.examples={...i.examples||{},...uR(o,i.ui,!0)})}}return e}function Soe(e){if(!e.paths)return e;for(const t of Object.values(e.paths))for(const r of Mi){const n=t[r];if(n&&n.responses)for(const o of Object.values(n.responses))for(const[s,i]of Object.entries(o.content||{})){const a=i;a.schema&&(a.ui=mR(a.schema),a.examples={...a.examples||{},...uR(s,a.ui,!0)})}}return e}const c$="None";function Coe(e,t){const r=[];return e?(e.forEach(n=>{const o={id:Object.keys(n).length?Object.keys(n).join("|"):c$,schemes:{}};Object.keys(n).forEach(s=>{t&&t[s]&&(o.schemes[s]=t[s])}),r.push(o)}),r.length===1&&r[0].id===c$&&Object.keys(r[0].schemes).length===0?[]:r):r}function Aoe(e){var t;if(!(e!=null&&e.paths))return e;for(const r of Object.values(e.paths))for(const n of Mi){const o=r[n];o&&(o.securityUi=Coe(o.security??e.security??[],((t=e.components)==null?void 0:t.securitySchemes)||{}))}return e}function SC(){function e({spec:o,defaultTag:s=void 0,defaultTagDescription:i=void 0}){let a=Um(o);return a?!a.openapi||!String(a.openapi).startsWith("3.")?(console.warn("Only OpenAPI 3.x is supported"),{}):(a!=null&&a.paths&&(a=roe(a),a=noe(a),a=ooe({spec:a,defaultTag:s,defaultTagDescription:i})),a.externalDocs=a.externalDocs||{},a.info=a.info||{},a.servers=a.servers||[],a.tags=a.tags||[],{...a}):{}}async function t({spec:o}){let s=Um(o);const[i,a]=await Up(()=>eoe(s));return s=a?s:i,s}function r({spec:o,defaultTag:s=void 0,defaultTagDescription:i=void 0}){let a={...Um(o)};const[l,c]=Up(()=>pre(e({spec:o,defaultTag:s,defaultTagDescription:i})));a=c?a:l;const[u,d]=Up(()=>Yne(a));a=d?a:u;const[p,f]=Up(()=>Aoe(a));a=f?a:p;const[m,v]=Up(()=>_oe(a));a=v?a:m;const[g,y]=Up(()=>Soe(a));return a=y?a:g,a.externalDocs=a.externalDocs||a.externalDocs||{},a.info=a.info||a.info||{},a.servers=a.servers||a.servers||[],a.tags=a.tags||a.tags||[],{...a}}async function n({spec:o,defaultTag:s=void 0,defaultTagDescription:i=void 0}){let a=r({spec:o,defaultTag:s,defaultTagDescription:i});return a=await t({spec:a}),a}return{transformSync:e,transformAsync:t,parseSync:r,parseAsync:n}}const CC=Symbol("openapiLocal");let Em=null;function gR(e,t){return _C({spec:e,originalSpec:t})}function Eoe(e){const t=Um(e.spec),r=SC().parseSync({spec:e.spec,defaultTag:e.defaultTag,defaultTagDescription:e.defaultTagDescription});return gR(r,t)}async function Ooe(e){const t=Um(e.spec),r=await SC().parseAsync({spec:e.spec,defaultTag:e.defaultTag,defaultTagDescription:e.defaultTagDescription});return gR(r,t)}function AC(){return _i(CC,null)}function vR(){return Em}function yR(e={}){var n,o,s,i;e.config&&kn(e.config),e.spec&&(Em=Eoe({spec:e.spec,defaultTag:(o=(n=e.config)==null?void 0:n.spec)==null?void 0:o.defaultTag,defaultTagDescription:(i=(s=e.config)==null?void 0:s.spec)==null?void 0:i.defaultTagDescription}));const t=AC()??Em??_C({});async function r(a={}){var c,u,d,p;const l=a.spec??e.spec;if(!l)throw new Error("No spec provided");return Em=await Ooe({spec:l,defaultTag:(u=(c=e.config)==null?void 0:c.spec)==null?void 0:u.defaultTag,defaultTagDescription:(p=(d=e.config)==null?void 0:d.spec)==null?void 0:p.defaultTagDescription}),Em}return{...t,async:r}}var u$={};function w_({chain:e,messages:t,params:r,initialChain:n}){const o=e[0];if(n??(n=[...e]),o.includes("[")){const[i,a]=o.split("["),l=Number.parseInt(a.replace("]",""),10);if(l<0)throw new Error(`Invalid array index "${l}" for message "${n.join(".")}"`);const c=t[i];if(!Array.isArray(c)||c.length<=l)throw new Error(`Message "${n.join(".")}" not found`);const u=c[l];return e.length===1?typeof u=="string"?u:"":w_({chain:e.slice(1),messages:u,params:r,initialChain:n})}const s=t[o];if(s==null)throw new Error(`Message "${n.join(".")}" not found`);return e.length===1?typeof s!="string"?"":r?s.replace(/\{(\w*)\}/g,(i,a)=>{if(!(a in r))throw new Error(`Parameter "${a}" not found`);if(Array.isArray(r)){if(Number.isNaN(Number(a)))throw new Error(`Parameter "${a}" not found`);return String(r[a])}return String(r[a])}):s:w_({chain:e.slice(1),messages:s,params:r,initialChain:n})}const ey="[vue-i18n]",bR=Symbol("@byjohann/vue-i18n");function $oe(e){const{defaultLocale:t="en",logLevel:r="warn"}=e,n={...e.messages??{}},o=Oe(t),s=e.locales??(Object.keys(n).length?Object.keys(n):[o.value]),i=(c,u)=>{if(typeof c!="string")return r==="warn"&&console.warn(ey,`Message "${c}" must be a string`),"";if(!c)return r==="warn"&&console.warn(ey,"Message key is empty"),"";try{return w_({chain:c.split("."),messages:n[o.value],params:u})}catch(d){return r==="warn"&&console.warn(ey,d.message),c}},a=c=>{if(!s.includes(c)){r==="warn"&&console.warn(ey,`Locale "${c}" is not defined in the locales list. Available locales: ${s.join(", ")}`);return}o.value=c},l=()=>o.value;return{defaultLocale:t,locale:le(()=>o.value),locales:Object.freeze(s),messages:n,t:i,setLocale:a,getLocale:l,install(c){c.provide(bR,this),c.config.globalProperties.$t=this.t,c.config.globalProperties.$i18n=this}}}function Jn(){return _i(bR)}const Toe=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,Poe=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Ioe=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function Doe(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){Moe(e);return}return t}function Moe(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Noe(e,t={}){if(typeof e!="string")return e;if(e[0]==='"'&&e[e.length-1]==='"'&&e.indexOf("\\")===-1)return e.slice(1,-1);const r=e.trim();if(r.length<=9)switch(r.toLowerCase()){case"true":return!0;case"false":return!1;case"undefined":return;case"null":return null;case"nan":return Number.NaN;case"infinity":return Number.POSITIVE_INFINITY;case"-infinity":return Number.NEGATIVE_INFINITY}if(!Ioe.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(Toe.test(e)||Poe.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,Doe)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}var Loe={207:(e,t,r)=>{e.exports=r(452)},452:e=>{var t=function(r){var n,o=Object.prototype,s=o.hasOwnProperty,i=typeof Symbol=="function"?Symbol:{},a=i.iterator||"@@iterator",l=i.asyncIterator||"@@asyncIterator",c=i.toStringTag||"@@toStringTag";function u(V,J,oe){return Object.defineProperty(V,J,{value:oe,enumerable:!0,configurable:!0,writable:!0}),V[J]}try{u({},"")}catch{u=function(V,J,oe){return V[J]=oe}}function d(V,J,oe,H){var B=J&&J.prototype instanceof b?J:b,se=Object.create(B.prototype),q=new z(H||[]);return se._invoke=function(O,D,Z){var Se=f;return function(ie,re){if(Se===v)throw new Error("Generator is already running");if(Se===g){if(ie==="throw")throw re;return X()}for(Z.method=ie,Z.arg=re;;){var xe=Z.delegate;if(xe){var R=M(xe,Z);if(R){if(R===y)continue;return R}}if(Z.method==="next")Z.sent=Z._sent=Z.arg;else if(Z.method==="throw"){if(Se===f)throw Se=g,Z.arg;Z.dispatchException(Z.arg)}else Z.method==="return"&&Z.abrupt("return",Z.arg);Se=v;var te=p(O,D,Z);if(te.type==="normal"){if(Se=Z.done?g:m,te.arg===y)continue;return{value:te.arg,done:Z.done}}te.type==="throw"&&(Se=g,Z.method="throw",Z.arg=te.arg)}}}(V,oe,q),se}function p(V,J,oe){try{return{type:"normal",arg:V.call(J,oe)}}catch(H){return{type:"throw",arg:H}}}r.wrap=d;var f="suspendedStart",m="suspendedYield",v="executing",g="completed",y={};function b(){}function w(){}function k(){}var x={};u(x,a,function(){return this});var j=Object.getPrototypeOf,_=j&&j(j(N([])));_&&_!==o&&s.call(_,a)&&(x=_);var C=k.prototype=b.prototype=Object.create(x);function A(V){["next","throw","return"].forEach(function(J){u(V,J,function(oe){return this._invoke(J,oe)})})}function I(V,J){function oe(B,se,q,O){var D=p(V[B],V,se);if(D.type!=="throw"){var Z=D.arg,Se=Z.value;return Se&&typeof Se=="object"&&s.call(Se,"__await")?J.resolve(Se.__await).then(function(ie){oe("next",ie,q,O)},function(ie){oe("throw",ie,q,O)}):J.resolve(Se).then(function(ie){Z.value=ie,q(Z)},function(ie){return oe("throw",ie,q,O)})}O(D.arg)}var H;this._invoke=function(B,se){function q(){return new J(function(O,D){oe(B,se,O,D)})}return H=H?H.then(q,q):q()}}function M(V,J){var oe=V.iterator[J.method];if(oe===n){if(J.delegate=null,J.method==="throw"){if(V.iterator.return&&(J.method="return",J.arg=n,M(V,J),J.method==="throw"))return y;J.method="throw",J.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var H=p(oe,V.iterator,J.arg);if(H.type==="throw")return J.method="throw",J.arg=H.arg,J.delegate=null,y;var B=H.arg;return B?B.done?(J[V.resultName]=B.value,J.next=V.nextLoc,J.method!=="return"&&(J.method="next",J.arg=n),J.delegate=null,y):B:(J.method="throw",J.arg=new TypeError("iterator result is not an object"),J.delegate=null,y)}function L(V){var J={tryLoc:V[0]};1 in V&&(J.catchLoc=V[1]),2 in V&&(J.finallyLoc=V[2],J.afterLoc=V[3]),this.tryEntries.push(J)}function F(V){var J=V.completion||{};J.type="normal",delete J.arg,V.completion=J}function z(V){this.tryEntries=[{tryLoc:"root"}],V.forEach(L,this),this.reset(!0)}function N(V){if(V){var J=V[a];if(J)return J.call(V);if(typeof V.next=="function")return V;if(!isNaN(V.length)){var oe=-1,H=function B(){for(;++oe=0;--H){var B=this.tryEntries[H],se=B.completion;if(B.tryLoc==="root")return oe("end");if(B.tryLoc<=this.prev){var q=s.call(B,"catchLoc"),O=s.call(B,"finallyLoc");if(q&&O){if(this.prev=0;--oe){var H=this.tryEntries[oe];if(H.tryLoc<=this.prev&&s.call(H,"finallyLoc")&&this.prev=0;--J){var oe=this.tryEntries[J];if(oe.finallyLoc===V)return this.complete(oe.completion,oe.afterLoc),F(oe),y}},catch:function(V){for(var J=this.tryEntries.length-1;J>=0;--J){var oe=this.tryEntries[J];if(oe.tryLoc===V){var H=oe.completion;if(H.type==="throw"){var B=H.arg;F(oe)}return B}}throw new Error("illegal catch attempt")},delegateYield:function(V,J,oe){return this.delegate={iterator:N(V),resultName:J,nextLoc:oe},this.method==="next"&&(this.arg=n),y}},r}(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}},d$={};function Oa(e){var t=d$[e];if(t!==void 0)return t.exports;var r=d$[e]={exports:{}};return Loe[e](r,r.exports,Oa),r.exports}Oa.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return Oa.d(t,{a:t}),t},Oa.d=(e,t)=>{for(var r in t)Oa.o(t,r)&&!Oa.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},Oa.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var wR={};function x_(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);rVoe});const Mt=(p$={Fragment:()=>dt,computed:()=>le,createTextVNode:()=>Vt,createVNode:()=>ye,defineComponent:()=>Te,nextTick:()=>Io,reactive:()=>sC,ref:()=>Oe,watch:()=>cr,watchEffect:()=>No},hk={},Oa.d(hk,p$),hk),Roe=(0,Mt.defineComponent)({props:{data:{required:!0,type:String},onClick:Function},render:function(){var e=this.data,t=this.onClick;return(0,Mt.createVNode)("span",{class:"vjs-tree-brackets",onClick:t},[e])}}),Boe=(0,Mt.defineComponent)({emits:["change","update:modelValue"],props:{checked:{type:Boolean,default:!1},isMultiple:Boolean,onChange:Function},setup:function(e,t){var r=t.emit;return{uiType:(0,Mt.computed)(function(){return e.isMultiple?"checkbox":"radio"}),model:(0,Mt.computed)({get:function(){return e.checked},set:function(n){return r("update:modelValue",n)}})}},render:function(){var e=this.uiType,t=this.model,r=this.$emit;return(0,Mt.createVNode)("label",{class:["vjs-check-controller",t?"is-checked":""],onClick:function(n){return n.stopPropagation()}},[(0,Mt.createVNode)("span",{class:"vjs-check-controller-inner is-".concat(e)},null),(0,Mt.createVNode)("input",{checked:t,class:"vjs-check-controller-original is-".concat(e),type:e,onChange:function(){return r("change",t)}},null)])}}),qoe=(0,Mt.defineComponent)({props:{nodeType:{required:!0,type:String},onClick:Function},render:function(){var e=this.nodeType,t=this.onClick,r=e==="objectStart"||e==="arrayStart";return r||e==="objectCollapsed"||e==="arrayCollapsed"?(0,Mt.createVNode)("span",{class:"vjs-carets vjs-carets-".concat(r?"open":"close"),onClick:t},[(0,Mt.createVNode)("svg",{viewBox:"0 0 1024 1024",focusable:"false","data-icon":"caret-down",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},[(0,Mt.createVNode)("path",{d:"M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z"},null)])]):null}});var p$,hk;function k_(e){return k_=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},k_(e)}function kR(e){return Object.prototype.toString.call(e).slice(8,-1).toLowerCase()}function Ad(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"root",r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,n=(arguments.length>3?arguments[3]:void 0)||{},o=n.key,s=n.index,i=n.type,a=i===void 0?"content":i,l=n.showComma,c=l!==void 0&&l,u=n.length,d=u===void 0?1:u,p=kR(e);if(p==="array"){var f=f$(e.map(function(g,y,b){return Ad(g,"".concat(t,"[").concat(y,"]"),r+1,{index:y,showComma:y!==b.length-1,length:d,type:a})}));return[Ad("[",t,r,{showComma:!1,key:o,length:e.length,type:"arrayStart"})[0]].concat(f,Ad("]",t,r,{showComma:c,length:e.length,type:"arrayEnd"})[0])}if(p==="object"){var m=Object.keys(e),v=f$(m.map(function(g,y,b){return Ad(e[g],/^[a-zA-Z_]\w*$/.test(g)?"".concat(t,".").concat(g):"".concat(t,'["').concat(g,'"]'),r+1,{key:g,showComma:y!==b.length-1,length:d,type:a})}));return[Ad("{",t,r,{showComma:!1,key:o,index:s,length:m.length,type:"objectStart"})[0]].concat(v,Ad("}",t,r,{showComma:c,length:m.length,type:"objectEnd"})[0])}return[{content:e,level:r,key:o,index:s,path:t,showComma:c,length:d,type:a}]}function f$(e){if(typeof Array.prototype.flat=="function")return e.flat();for(var t=Tb(e),r=[];t.length;){var n=t.shift();Array.isArray(n)?t.unshift.apply(t,Tb(n)):r.push(n)}return r}function j_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new WeakMap;if(e==null)return e;if(e instanceof Date)return new Date(e);if(e instanceof RegExp)return new RegExp(e);if(k_(e)!=="object")return e;if(t.get(e))return t.get(e);if(Array.isArray(e)){var r=e.map(function(s){return j_(s,t)});return t.set(e,r),r}var n={};for(var o in e)n[o]=j_(e[o],t);return t.set(e,n),n}function h$(e,t,r,n,o,s,i){try{var a=e[s](i),l=a.value}catch(c){return void r(c)}a.done?t(l):Promise.resolve(l).then(n,o)}var zoe=Oa(207),m$=Oa.n(zoe);function g$(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function v$(e){for(var t=1;t=F||X.length>=z,oe=(V=e.pathCollapsible)===null||V===void 0?void 0:V.call(e,X);return X.type!=="objectStart"&&X.type!=="arrayStart"||!J&&!oe?N:Ai(Ai({},N),{},ug({},X.path,1))},{})},a=(0,Mt.reactive)({translateY:0,visibleData:null,hiddenPaths:i(e.deep,e.collapsedNodeLength),startIndex:0,endIndex:0}),l=[],c=[],u=0,d={},p=function(F){l=Array(F).fill(0).map(function(){return e.itemHeight||20}),(c=new Array(F+1))[0]=0;for(var z=0;zz&&(F=z);for(var N=F;N>>1;F[V]z.length?z.length-B:se;q<0&&(q=0);var O=q+B;a.translateY=q*e.itemHeight,a.startIndex=q,a.endIndex=O,a.visibleData=z.slice(q,O)}}else a.translateY=0,a.startIndex=0,a.endIndex=z.length,a.visibleData=z},k=null,x=function(){k&&cancelAnimationFrame(k),k=requestAnimationFrame(function(){w()})},j=function(F){var z,N,X=F.path,V=e.selectableType;if(V==="multiple"){var J=g.value.findIndex(function(se){return se===X}),oe=Tb(g.value);J!==-1?oe.splice(J,1):oe.push(X),r("update:selectedValue",oe),r("selectedChange",oe,Tb(g.value))}else if(V==="single"&&g.value[0]!==X){var H=(z=g.value,N=1,function(se){if(Array.isArray(se))return se}(z)||function(se,q){var O=se==null?null:typeof Symbol<"u"&&se[Symbol.iterator]||se["@@iterator"];if(O!=null){var D,Z,Se=[],ie=!0,re=!1;try{for(O=O.call(se);!(ie=(D=O.next()).done)&&(Se.push(D.value),!q||Se.length!==q);ie=!0);}catch(xe){re=!0,Z=xe}finally{try{ie||O.return==null||O.return()}finally{if(re)throw Z}}return Se}}(z,N)||xR(z,N)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}())[0],B=X;r("update:selectedValue",B),r("selectedChange",B,H)}},_=function(F){r("nodeClick",F)},C=function(F){r("nodeMouseover",F)},A=function(F,z){if(F)a.hiddenPaths=Ai(Ai({},a.hiddenPaths),{},ug({},z,1));else{var N=Ai({},a.hiddenPaths);delete N[z],a.hiddenPaths=N}},I=function(F,z){e.collapsedOnClickBrackets&&A(F,z.path),r("bracketsClick",F,z)},M=function(F,z){A(F,z.path),r("iconClick",F,z)},L=function(F,z){var N=j_(e.data),X=e.rootPath;new Function("data","val","data".concat(z.slice(X.length),"=val"))(N,F),r("update:data",N)};return(0,Mt.watchEffect)(function(){y.value&&function(F){throw new Error("[VueJSONPretty] ".concat(F))}(y.value)}),(0,Mt.watchEffect)(function(){v.value&&(e.virtual&&e.dynamicHeight&&l.length!==v.value.length&&p(v.value.length),w())}),(0,Mt.watch)(function(){return[e.dynamicHeight,e.itemHeight,s.value.length]},function(){e.virtual&&e.dynamicHeight&&(p(v.value.length),(0,Mt.nextTick)(w))}),(0,Mt.watch)(function(){return e.deep},function(F){F&&(a.hiddenPaths=i(F,e.collapsedNodeLength))}),(0,Mt.watch)(function(){return e.collapsedNodeLength},function(F){F&&(a.hiddenPaths=i(e.deep,F))}),function(){var F,z,N,X,V,J=(F=e.renderNodeKey)!==null&&F!==void 0?F:n.renderNodeKey,oe=(z=e.renderNodeValue)!==null&&z!==void 0?z:n.renderNodeValue,H=(N=(X=e.renderNodeActions)!==null&&X!==void 0?X:n.renderNodeActions)!==null&&N!==void 0&&N,B=(V=a.visibleData)===null||V===void 0?void 0:V.map(function(se,q){var O=a.startIndex+q;return(0,Mt.createVNode)("div",{key:se.id,ref:function(D){return function(Z,Se){Se?d[Z]=Se:delete d[Z]}(O,D||null)}},[(0,Mt.createVNode)(Foe,{data:e.data,rootPath:e.rootPath,indent:e.indent,node:se,collapsed:!!a.hiddenPaths[se.path],theme:e.theme,showDoubleQuotes:e.showDoubleQuotes,showLength:e.showLength,checked:g.value.includes(se.path),selectableType:e.selectableType,showLine:e.showLine,showLineNumber:e.showLineNumber,showSelectController:e.showSelectController,selectOnClickNode:e.selectOnClickNode,nodeSelectable:e.nodeSelectable,highlightSelectedNode:e.highlightSelectedNode,editable:e.editable,editableTrigger:e.editableTrigger,showIcon:e.showIcon,showKeyValueSpace:e.showKeyValueSpace,renderNodeKey:J,renderNodeValue:oe,renderNodeActions:H,onNodeClick:_,onNodeMouseover:C,onBracketsClick:I,onIconClick:M,onSelectedChange:j,onValueChange:L,class:e.dynamicHeight?"dynamic-height":void 0,style:e.dynamicHeight?{}:e.itemHeight&&e.itemHeight!==20?{lineHeight:"".concat(e.itemHeight,"px")}:{}},null)])});return(0,Mt.createVNode)("div",{ref:o,class:{"vjs-tree":!0,"is-virtual":e.virtual,dark:e.theme==="dark"},onScroll:e.virtual?x:void 0,style:e.showLineNumber?Ai({paddingLeft:"".concat(12*Number(s.value.length.toString().length),"px")},e.style):e.style},[e.virtual?(0,Mt.createVNode)("div",{class:"vjs-tree-list",style:{height:"".concat(e.height,"px")}},[(0,Mt.createVNode)("div",{class:"vjs-tree-list-holder",style:{height:"".concat(b.value,"px")}},[(0,Mt.createVNode)("div",{class:"vjs-tree-list-holder-inner",style:{transform:"translateY(".concat(a.translateY,"px)")}},[B])])]):B])}}});var Uoe=wR.A;const _R={__name:"OAVueJsonPretty",props:{code:{type:[String,Object,Array,Number,Boolean],required:!0},deep:{type:Number}},setup(e){const t=e,r=kn(),n=r.isDark,o=le(()=>typeof t.code=="string"?Noe(t.code):t.code),s=le(()=>t.deep??r.getJsonViewerDeep()??3),i=le(()=>n.value?"dark":"light");return(a,l)=>(E(),ve(S(Uoe),{data:o.value,theme:i.value,deep:s.value,"show-icon":"",class:"p-2"},null,8,["data","theme","deep"]))}},Hoe={class:"text-sm text-muted-foreground text-center"},EC={__name:"OAFooter",setup(e){const{t}=Jn();return(r,n)=>(E(),K("span",Hoe,[Vt(ze(S(t)("Powered by"))+" ",1),n[0]||(n[0]=ue("a",{href:"https://github.com/enzonotario/vitepress-openapi",target:"_blank",class:"text-primary-foreground"}," VitePress OpenAPI ",-1))]))}};function SR(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;ttypeof e=="boolean"?`${e}`:e===0?"0":e,w$=CR,Sw=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return w$(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:o,defaultVariants:s}=t,i=Object.keys(o).map(c=>{const u=r==null?void 0:r[c],d=s==null?void 0:s[c];if(u===null)return null;const p=b$(u)||b$(d);return o[c][p]}),a=r&&Object.entries(r).reduce((c,u)=>{let[d,p]=u;return p===void 0||(c[d]=p),c},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((c,u)=>{let{class:d,className:p,...f}=u;return Object.entries(f).every(m=>{let[v,g]=m;return Array.isArray(g)?g.includes({...s,...a}[v]):{...s,...a}[v]===g})?[...c,d,p]:c},[]);return w$(e,i,l,r==null?void 0:r.class,r==null?void 0:r.className)},Woe=(e,t)=>{const r=new Array(e.length+t.length);for(let n=0;n({classGroupId:e,validator:t}),AR=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),Pb="-",x$=[],Joe="arbitrary..",Koe=e=>{const t=Zoe(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:o=>{if(o.startsWith("[")&&o.endsWith("]"))return Qoe(o);const s=o.split(Pb),i=s[0]===""&&s.length>1?1:0;return ER(s,i,t)},getConflictingClassGroupIds:(o,s)=>{if(s){const i=n[o],a=r[o];return i?a?Woe(a,i):i:a||x$}return r[o]||x$}}},ER=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;const n=e[t],o=r.nextPart.get(n);if(o){const l=ER(e,t+1,o);if(l)return l}const s=r.validators;if(s===null)return;const i=t===0?e.join(Pb):e.slice(t).join(Pb),a=s.length;for(let l=0;le.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?Joe+n:void 0})(),Zoe=e=>{const{theme:t,classGroups:r}=e;return Xoe(r,t)},Xoe=(e,t)=>{const r=AR();for(const n in e){const o=e[n];OC(o,r,n,t)}return r},OC=(e,t,r,n)=>{const o=e.length;for(let s=0;s{if(typeof e=="string"){ese(e,t,r);return}if(typeof e=="function"){tse(e,t,r,n);return}rse(e,t,r,n)},ese=(e,t,r)=>{const n=e===""?t:OR(t,e);n.classGroupId=r},tse=(e,t,r,n)=>{if(nse(e)){OC(e(n),t,r,n);return}t.validators===null&&(t.validators=[]),t.validators.push(Goe(r,e))},rse=(e,t,r,n)=>{const o=Object.entries(e),s=o.length;for(let i=0;i{let r=e;const n=t.split(Pb),o=n.length;for(let s=0;s"isThemeGetter"in e&&e.isThemeGetter===!0,ose=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(s,i)=>{r[s]=i,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(s){let i=r[s];if(i!==void 0)return i;if((i=n[s])!==void 0)return o(s,i),i},set(s,i){s in r?r[s]=i:o(s,i)}}},__="!",k$=":",sse=[],j$=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),ise=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const s=[];let i=0,a=0,l=0,c;const u=o.length;for(let v=0;vl?c-l:void 0;return j$(s,f,p,m)};if(t){const o=t+k$,s=n;n=i=>i.startsWith(o)?s(i.slice(o.length)):j$(sse,!1,i,void 0,!0)}if(r){const o=n;n=s=>r({className:s,parseClassName:o})}return n},ase=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((r,n)=>{t.set(r,1e6+n)}),r=>{const n=[];let o=[];for(let s=0;s0&&(o.sort(),n.push(...o),o=[]),n.push(i)):o.push(i)}return o.length>0&&(o.sort(),n.push(...o)),n}},lse=e=>({cache:ose(e.cacheSize),parseClassName:ise(e),sortModifiers:ase(e),...Koe(e)}),cse=/\s+/,use=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:s}=t,i=[],a=e.trim().split(cse);let l="";for(let c=a.length-1;c>=0;c-=1){const u=a[c],{isExternal:d,modifiers:p,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:v}=r(u);if(d){l=u+(l.length>0?" "+l:l);continue}let g=!!v,y=n(g?m.substring(0,v):m);if(!y){if(!g){l=u+(l.length>0?" "+l:l);continue}if(y=n(m),!y){l=u+(l.length>0?" "+l:l);continue}g=!1}const b=p.length===0?"":p.length===1?p[0]:s(p).join(":"),w=f?b+__:b,k=w+y;if(i.indexOf(k)>-1)continue;i.push(k);const x=o(y,g);for(let j=0;j0?" "+l:l)}return l},dse=(...e)=>{let t=0,r,n,o="";for(;t{if(typeof e=="string")return e;let t,r="";for(let n=0;n{let r,n,o,s;const i=l=>{const c=t.reduce((u,d)=>d(u),e());return r=lse(c),n=r.cache.get,o=r.cache.set,s=a,a(l)},a=l=>{const c=n(l);if(c)return c;const u=use(l,r);return o(l,u),u};return s=i,(...l)=>s(dse(...l))},fse=[],as=e=>{const t=r=>r[e]||fse;return t.isThemeGetter=!0,t},TR=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,PR=/^\((?:(\w[\w-]*):)?(.+)\)$/i,hse=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,mse=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gse=/\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$/,vse=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,yse=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,bse=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Yc=e=>hse.test(e),Zr=e=>!!e&&!Number.isNaN(Number(e)),eu=e=>!!e&&Number.isInteger(Number(e)),mk=e=>e.endsWith("%")&&Zr(e.slice(0,-1)),Yl=e=>mse.test(e),IR=()=>!0,wse=e=>gse.test(e)&&!vse.test(e),$C=()=>!1,xse=e=>yse.test(e),kse=e=>bse.test(e),jse=e=>!Rt(e)&&!qt(e),_se=e=>sd(e,NR,$C),Rt=e=>TR.test(e),vd=e=>sd(e,LR,wse),_$=e=>sd(e,Pse,Zr),Sse=e=>sd(e,BR,IR),Cse=e=>sd(e,RR,$C),S$=e=>sd(e,DR,$C),Ase=e=>sd(e,MR,kse),ty=e=>sd(e,qR,xse),qt=e=>PR.test(e),sm=e=>kp(e,LR),Ese=e=>kp(e,RR),C$=e=>kp(e,DR),Ose=e=>kp(e,NR),$se=e=>kp(e,MR),ry=e=>kp(e,qR,!0),Tse=e=>kp(e,BR,!0),sd=(e,t,r)=>{const n=TR.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},kp=(e,t,r=!1)=>{const n=PR.exec(e);return n?n[1]?t(n[1]):r:!1},DR=e=>e==="position"||e==="percentage",MR=e=>e==="image"||e==="url",NR=e=>e==="length"||e==="size"||e==="bg-size",LR=e=>e==="length",Pse=e=>e==="number",RR=e=>e==="family-name",BR=e=>e==="number"||e==="weight",qR=e=>e==="shadow",Ise=()=>{const e=as("color"),t=as("font"),r=as("text"),n=as("font-weight"),o=as("tracking"),s=as("leading"),i=as("breakpoint"),a=as("container"),l=as("spacing"),c=as("radius"),u=as("shadow"),d=as("inset-shadow"),p=as("text-shadow"),f=as("drop-shadow"),m=as("blur"),v=as("perspective"),g=as("aspect"),y=as("ease"),b=as("animate"),w=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...k(),qt,Rt],j=()=>["auto","hidden","clip","visible","scroll"],_=()=>["auto","contain","none"],C=()=>[qt,Rt,l],A=()=>[Yc,"full","auto",...C()],I=()=>[eu,"none","subgrid",qt,Rt],M=()=>["auto",{span:["full",eu,qt,Rt]},eu,qt,Rt],L=()=>[eu,"auto",qt,Rt],F=()=>["auto","min","max","fr",qt,Rt],z=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],N=()=>["start","end","center","stretch","center-safe","end-safe"],X=()=>["auto",...C()],V=()=>[Yc,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],J=()=>[Yc,"screen","full","dvw","lvw","svw","min","max","fit",...C()],oe=()=>[Yc,"screen","full","lh","dvh","lvh","svh","min","max","fit",...C()],H=()=>[e,qt,Rt],B=()=>[...k(),C$,S$,{position:[qt,Rt]}],se=()=>["no-repeat",{repeat:["","x","y","space","round"]}],q=()=>["auto","cover","contain",Ose,_se,{size:[qt,Rt]}],O=()=>[mk,sm,vd],D=()=>["","none","full",c,qt,Rt],Z=()=>["",Zr,sm,vd],Se=()=>["solid","dashed","dotted","double"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],re=()=>[Zr,mk,C$,S$],xe=()=>["","none",m,qt,Rt],R=()=>["none",Zr,qt,Rt],te=()=>["none",Zr,qt,Rt],ne=()=>[Zr,qt,Rt],Ce=()=>[Yc,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Yl],breakpoint:[Yl],color:[IR],container:[Yl],"drop-shadow":[Yl],ease:["in","out","in-out"],font:[jse],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Yl],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Yl],shadow:[Yl],spacing:["px",Zr],text:[Yl],"text-shadow":[Yl],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Yc,Rt,qt,g]}],container:["container"],columns:[{columns:[Zr,Rt,qt,a]}],"break-after":[{"break-after":w()}],"break-before":[{"break-before":w()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:j()}],"overflow-x":[{"overflow-x":j()}],"overflow-y":[{"overflow-y":j()}],overscroll:[{overscroll:_()}],"overscroll-x":[{"overscroll-x":_()}],"overscroll-y":[{"overscroll-y":_()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:A()}],"inset-x":[{"inset-x":A()}],"inset-y":[{"inset-y":A()}],start:[{"inset-s":A(),start:A()}],end:[{"inset-e":A(),end:A()}],"inset-bs":[{"inset-bs":A()}],"inset-be":[{"inset-be":A()}],top:[{top:A()}],right:[{right:A()}],bottom:[{bottom:A()}],left:[{left:A()}],visibility:["visible","invisible","collapse"],z:[{z:[eu,"auto",qt,Rt]}],basis:[{basis:[Yc,"full","auto",a,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Zr,Yc,"auto","initial","none",Rt]}],grow:[{grow:["",Zr,qt,Rt]}],shrink:[{shrink:["",Zr,qt,Rt]}],order:[{order:[eu,"first","last","none",qt,Rt]}],"grid-cols":[{"grid-cols":I()}],"col-start-end":[{col:M()}],"col-start":[{"col-start":L()}],"col-end":[{"col-end":L()}],"grid-rows":[{"grid-rows":I()}],"row-start-end":[{row:M()}],"row-start":[{"row-start":L()}],"row-end":[{"row-end":L()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":F()}],"auto-rows":[{"auto-rows":F()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...z(),"normal"]}],"justify-items":[{"justify-items":[...N(),"normal"]}],"justify-self":[{"justify-self":["auto",...N()]}],"align-content":[{content:["normal",...z()]}],"align-items":[{items:[...N(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...N(),{baseline:["","last"]}]}],"place-content":[{"place-content":z()}],"place-items":[{"place-items":[...N(),"baseline"]}],"place-self":[{"place-self":["auto",...N()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pbs:[{pbs:C()}],pbe:[{pbe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:X()}],mx:[{mx:X()}],my:[{my:X()}],ms:[{ms:X()}],me:[{me:X()}],mbs:[{mbs:X()}],mbe:[{mbe:X()}],mt:[{mt:X()}],mr:[{mr:X()}],mb:[{mb:X()}],ml:[{ml:X()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:V()}],"inline-size":[{inline:["auto",...J()]}],"min-inline-size":[{"min-inline":["auto",...J()]}],"max-inline-size":[{"max-inline":["none",...J()]}],"block-size":[{block:["auto",...oe()]}],"min-block-size":[{"min-block":["auto",...oe()]}],"max-block-size":[{"max-block":["none",...oe()]}],w:[{w:[a,"screen",...V()]}],"min-w":[{"min-w":[a,"screen","none",...V()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[i]},...V()]}],h:[{h:["screen","lh",...V()]}],"min-h":[{"min-h":["screen","lh","none",...V()]}],"max-h":[{"max-h":["screen","lh",...V()]}],"font-size":[{text:["base",r,sm,vd]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,Tse,Sse]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",mk,Rt]}],"font-family":[{font:[Ese,Cse,t]}],"font-features":[{"font-features":[Rt]}],"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:[o,qt,Rt]}],"line-clamp":[{"line-clamp":[Zr,"none",qt,_$]}],leading:[{leading:[s,...C()]}],"list-image":[{"list-image":["none",qt,Rt]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",qt,Rt]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:H()}],"text-color":[{text:H()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Se(),"wavy"]}],"text-decoration-thickness":[{decoration:[Zr,"from-font","auto",qt,vd]}],"text-decoration-color":[{decoration:H()}],"underline-offset":[{"underline-offset":[Zr,"auto",qt,Rt]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",qt,Rt]}],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",qt,Rt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:B()}],"bg-repeat":[{bg:se()}],"bg-size":[{bg:q()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},eu,qt,Rt],radial:["",qt,Rt],conic:[eu,qt,Rt]},$se,Ase]}],"bg-color":[{bg:H()}],"gradient-from-pos":[{from:O()}],"gradient-via-pos":[{via:O()}],"gradient-to-pos":[{to:O()}],"gradient-from":[{from:H()}],"gradient-via":[{via:H()}],"gradient-to":[{to:H()}],rounded:[{rounded:D()}],"rounded-s":[{"rounded-s":D()}],"rounded-e":[{"rounded-e":D()}],"rounded-t":[{"rounded-t":D()}],"rounded-r":[{"rounded-r":D()}],"rounded-b":[{"rounded-b":D()}],"rounded-l":[{"rounded-l":D()}],"rounded-ss":[{"rounded-ss":D()}],"rounded-se":[{"rounded-se":D()}],"rounded-ee":[{"rounded-ee":D()}],"rounded-es":[{"rounded-es":D()}],"rounded-tl":[{"rounded-tl":D()}],"rounded-tr":[{"rounded-tr":D()}],"rounded-br":[{"rounded-br":D()}],"rounded-bl":[{"rounded-bl":D()}],"border-w":[{border:Z()}],"border-w-x":[{"border-x":Z()}],"border-w-y":[{"border-y":Z()}],"border-w-s":[{"border-s":Z()}],"border-w-e":[{"border-e":Z()}],"border-w-bs":[{"border-bs":Z()}],"border-w-be":[{"border-be":Z()}],"border-w-t":[{"border-t":Z()}],"border-w-r":[{"border-r":Z()}],"border-w-b":[{"border-b":Z()}],"border-w-l":[{"border-l":Z()}],"divide-x":[{"divide-x":Z()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":Z()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...Se(),"hidden","none"]}],"divide-style":[{divide:[...Se(),"hidden","none"]}],"border-color":[{border:H()}],"border-color-x":[{"border-x":H()}],"border-color-y":[{"border-y":H()}],"border-color-s":[{"border-s":H()}],"border-color-e":[{"border-e":H()}],"border-color-bs":[{"border-bs":H()}],"border-color-be":[{"border-be":H()}],"border-color-t":[{"border-t":H()}],"border-color-r":[{"border-r":H()}],"border-color-b":[{"border-b":H()}],"border-color-l":[{"border-l":H()}],"divide-color":[{divide:H()}],"outline-style":[{outline:[...Se(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Zr,qt,Rt]}],"outline-w":[{outline:["",Zr,sm,vd]}],"outline-color":[{outline:H()}],shadow:[{shadow:["","none",u,ry,ty]}],"shadow-color":[{shadow:H()}],"inset-shadow":[{"inset-shadow":["none",d,ry,ty]}],"inset-shadow-color":[{"inset-shadow":H()}],"ring-w":[{ring:Z()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:H()}],"ring-offset-w":[{"ring-offset":[Zr,vd]}],"ring-offset-color":[{"ring-offset":H()}],"inset-ring-w":[{"inset-ring":Z()}],"inset-ring-color":[{"inset-ring":H()}],"text-shadow":[{"text-shadow":["none",p,ry,ty]}],"text-shadow-color":[{"text-shadow":H()}],opacity:[{opacity:[Zr,qt,Rt]}],"mix-blend":[{"mix-blend":[...ie(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ie()}],"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":[Zr]}],"mask-image-linear-from-pos":[{"mask-linear-from":re()}],"mask-image-linear-to-pos":[{"mask-linear-to":re()}],"mask-image-linear-from-color":[{"mask-linear-from":H()}],"mask-image-linear-to-color":[{"mask-linear-to":H()}],"mask-image-t-from-pos":[{"mask-t-from":re()}],"mask-image-t-to-pos":[{"mask-t-to":re()}],"mask-image-t-from-color":[{"mask-t-from":H()}],"mask-image-t-to-color":[{"mask-t-to":H()}],"mask-image-r-from-pos":[{"mask-r-from":re()}],"mask-image-r-to-pos":[{"mask-r-to":re()}],"mask-image-r-from-color":[{"mask-r-from":H()}],"mask-image-r-to-color":[{"mask-r-to":H()}],"mask-image-b-from-pos":[{"mask-b-from":re()}],"mask-image-b-to-pos":[{"mask-b-to":re()}],"mask-image-b-from-color":[{"mask-b-from":H()}],"mask-image-b-to-color":[{"mask-b-to":H()}],"mask-image-l-from-pos":[{"mask-l-from":re()}],"mask-image-l-to-pos":[{"mask-l-to":re()}],"mask-image-l-from-color":[{"mask-l-from":H()}],"mask-image-l-to-color":[{"mask-l-to":H()}],"mask-image-x-from-pos":[{"mask-x-from":re()}],"mask-image-x-to-pos":[{"mask-x-to":re()}],"mask-image-x-from-color":[{"mask-x-from":H()}],"mask-image-x-to-color":[{"mask-x-to":H()}],"mask-image-y-from-pos":[{"mask-y-from":re()}],"mask-image-y-to-pos":[{"mask-y-to":re()}],"mask-image-y-from-color":[{"mask-y-from":H()}],"mask-image-y-to-color":[{"mask-y-to":H()}],"mask-image-radial":[{"mask-radial":[qt,Rt]}],"mask-image-radial-from-pos":[{"mask-radial-from":re()}],"mask-image-radial-to-pos":[{"mask-radial-to":re()}],"mask-image-radial-from-color":[{"mask-radial-from":H()}],"mask-image-radial-to-color":[{"mask-radial-to":H()}],"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":k()}],"mask-image-conic-pos":[{"mask-conic":[Zr]}],"mask-image-conic-from-pos":[{"mask-conic-from":re()}],"mask-image-conic-to-pos":[{"mask-conic-to":re()}],"mask-image-conic-from-color":[{"mask-conic-from":H()}],"mask-image-conic-to-color":[{"mask-conic-to":H()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:B()}],"mask-repeat":[{mask:se()}],"mask-size":[{mask:q()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",qt,Rt]}],filter:[{filter:["","none",qt,Rt]}],blur:[{blur:xe()}],brightness:[{brightness:[Zr,qt,Rt]}],contrast:[{contrast:[Zr,qt,Rt]}],"drop-shadow":[{"drop-shadow":["","none",f,ry,ty]}],"drop-shadow-color":[{"drop-shadow":H()}],grayscale:[{grayscale:["",Zr,qt,Rt]}],"hue-rotate":[{"hue-rotate":[Zr,qt,Rt]}],invert:[{invert:["",Zr,qt,Rt]}],saturate:[{saturate:[Zr,qt,Rt]}],sepia:[{sepia:["",Zr,qt,Rt]}],"backdrop-filter":[{"backdrop-filter":["","none",qt,Rt]}],"backdrop-blur":[{"backdrop-blur":xe()}],"backdrop-brightness":[{"backdrop-brightness":[Zr,qt,Rt]}],"backdrop-contrast":[{"backdrop-contrast":[Zr,qt,Rt]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Zr,qt,Rt]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Zr,qt,Rt]}],"backdrop-invert":[{"backdrop-invert":["",Zr,qt,Rt]}],"backdrop-opacity":[{"backdrop-opacity":[Zr,qt,Rt]}],"backdrop-saturate":[{"backdrop-saturate":[Zr,qt,Rt]}],"backdrop-sepia":[{"backdrop-sepia":["",Zr,qt,Rt]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",qt,Rt]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Zr,"initial",qt,Rt]}],ease:[{ease:["linear","initial",y,qt,Rt]}],delay:[{delay:[Zr,qt,Rt]}],animate:[{animate:["none",b,qt,Rt]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,qt,Rt]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:R()}],"rotate-x":[{"rotate-x":R()}],"rotate-y":[{"rotate-y":R()}],"rotate-z":[{"rotate-z":R()}],scale:[{scale:te()}],"scale-x":[{"scale-x":te()}],"scale-y":[{"scale-y":te()}],"scale-z":[{"scale-z":te()}],"scale-3d":["scale-3d"],skew:[{skew:ne()}],"skew-x":[{"skew-x":ne()}],"skew-y":[{"skew-y":ne()}],transform:[{transform:[qt,Rt,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ce()}],"translate-x":[{"translate-x":Ce()}],"translate-y":[{"translate-y":Ce()}],"translate-z":[{"translate-z":Ce()}],"translate-none":["translate-none"],accent:[{accent:H()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:H()}],"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",qt,Rt]}],"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":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mbs":[{"scroll-mbs":C()}],"scroll-mbe":[{"scroll-mbe":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pbs":[{"scroll-pbs":C()}],"scroll-pbe":[{"scroll-pbe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"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",qt,Rt]}],fill:[{fill:["none",...H()]}],"stroke-w":[{stroke:[Zr,sm,vd,_$]}],stroke:[{stroke:["none",...H()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Dse=pse(Ise);function Ko(...e){return Dse(CR(e))}function Hm(){return typeof localStorage<"u"&&typeof localStorage.getItem=="function"}const Mse=/([{}])/g;function Nse({hash:e}){if(typeof window>"u")return;const t=document.querySelector(e.replace(Mse,"\\$1"));t&&(t.scrollIntoView({behavior:"smooth",block:"start",inline:"nearest"}),window.location.hash=e)}const Pc=Te({__name:"Badge",props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e;return(r,n)=>(E(),K("div",{class:Nt(S(Ko)(S(Lse)({variant:e.variant,size:e.size}),t.class))},[pe(r.$slots,"default")],2))}}),Lse=Sw("inline-flex items-center rounded-full border px-2.5 py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",outline:"text-foreground bg-muted",plain:"border-transparent"},size:{default:"",xs:"rounded px-1"}},defaultVariants:{variant:"default",size:"default"}}),Rse={class:"flex flex-row gap-2"},zR={__name:"OAHeaderBadges",props:{operation:{type:Object,required:!0},deprecated:{type:Boolean,required:!1}},setup(e){const t=kn(),{t:r}=Jn(),n=le(()=>t.getOperationBadges().filter(o=>!(o==="deprecated"&&!e.deprecated)));return(o,s)=>(E(),K("div",Rse,[(E(!0),K(dt,null,zt(n.value,i=>(E(),ve(S(Pc),{key:i,variant:"outline"},{default:U(()=>[i==="deprecated"?(E(),K(dt,{key:0},[Vt(ze(S(r)("Deprecated")),1)],64)):i==="operationId"?(E(),K(dt,{key:1},[Vt(ze(S(r)("operation.badgePrefix.operationId"))+ze(e.operation.operationId),1)],64)):je("",!0)]),_:2},1024))),128))]))}};function FR(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}const Bse=[["ß","ss"],["ẞ","Ss"],["ä","ae"],["Ä","Ae"],["ö","oe"],["Ö","Oe"],["ü","ue"],["Ü","Ue"],["À","A"],["Á","A"],["Â","A"],["Ã","A"],["Ä","Ae"],["Å","A"],["Æ","AE"],["Ç","C"],["È","E"],["É","E"],["Ê","E"],["Ë","E"],["Ə","A"],["Ì","I"],["Í","I"],["Î","I"],["Ï","I"],["Ð","D"],["Ñ","N"],["Ò","O"],["Ó","O"],["Ô","O"],["Õ","O"],["Ö","Oe"],["Ō","O"],["Ő","O"],["Ø","O"],["Œ","OE"],["Ù","U"],["Ú","U"],["Û","U"],["Ü","Ue"],["Ű","U"],["Ý","Y"],["Þ","TH"],["ß","ss"],["à","a"],["á","a"],["â","a"],["ã","a"],["ä","ae"],["å","a"],["æ","ae"],["ç","c"],["è","e"],["é","e"],["ê","e"],["ë","e"],["ə","a"],["ì","i"],["í","i"],["î","i"],["ï","i"],["ð","d"],["ñ","n"],["ò","o"],["ó","o"],["ô","o"],["õ","o"],["ö","oe"],["ō","o"],["ő","o"],["ø","o"],["œ","oe"],["ù","u"],["ú","u"],["û","u"],["ü","ue"],["ű","u"],["ý","y"],["þ","th"],["ÿ","y"],["à","a"],["À","A"],["á","a"],["Á","A"],["â","a"],["Â","A"],["ã","a"],["Ã","A"],["è","e"],["È","E"],["é","e"],["É","E"],["ê","e"],["Ê","E"],["ì","i"],["Ì","I"],["í","i"],["Í","I"],["ò","o"],["Ò","O"],["ó","o"],["Ó","O"],["ô","o"],["Ô","O"],["õ","o"],["Õ","O"],["ù","u"],["Ù","U"],["ú","u"],["Ú","U"],["ý","y"],["Ý","Y"],["ă","a"],["Ă","A"],["Đ","D"],["đ","d"],["ĩ","i"],["Ĩ","I"],["ũ","u"],["Ũ","U"],["ơ","o"],["Ơ","O"],["ư","u"],["Ư","U"],["ạ","a"],["Ạ","A"],["ả","a"],["Ả","A"],["ấ","a"],["Ấ","A"],["ầ","a"],["Ầ","A"],["ẩ","a"],["Ẩ","A"],["ẫ","a"],["Ẫ","A"],["ậ","a"],["Ậ","A"],["ắ","a"],["Ắ","A"],["ằ","a"],["Ằ","A"],["ẳ","a"],["Ẳ","A"],["ẵ","a"],["Ẵ","A"],["ặ","a"],["Ặ","A"],["ẹ","e"],["Ẹ","E"],["ẻ","e"],["Ẻ","E"],["ẽ","e"],["Ẽ","E"],["ế","e"],["Ế","E"],["ề","e"],["Ề","E"],["ể","e"],["Ể","E"],["ễ","e"],["Ễ","E"],["ệ","e"],["Ệ","E"],["ỉ","i"],["Ỉ","I"],["ị","i"],["Ị","I"],["ọ","o"],["Ọ","O"],["ỏ","o"],["Ỏ","O"],["ố","o"],["Ố","O"],["ồ","o"],["Ồ","O"],["ổ","o"],["Ổ","O"],["ỗ","o"],["Ỗ","O"],["ộ","o"],["Ộ","O"],["ớ","o"],["Ớ","O"],["ờ","o"],["Ờ","O"],["ở","o"],["Ở","O"],["ỡ","o"],["Ỡ","O"],["ợ","o"],["Ợ","O"],["ụ","u"],["Ụ","U"],["ủ","u"],["Ủ","U"],["ứ","u"],["Ứ","U"],["ừ","u"],["Ừ","U"],["ử","u"],["Ử","U"],["ữ","u"],["Ữ","U"],["ự","u"],["Ự","U"],["ỳ","y"],["Ỳ","Y"],["ỵ","y"],["Ỵ","Y"],["ỷ","y"],["Ỷ","Y"],["ỹ","y"],["Ỹ","Y"],["ء","e"],["آ","a"],["أ","a"],["ؤ","w"],["إ","a"],["ئ","y"],["ا","a"],["ب","b"],["ة","t"],["ت","t"],["ث","th"],["ج","j"],["ح","h"],["خ","kh"],["د","d"],["ذ","dh"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","z"],["ع","e"],["غ","gh"],["ـ","_"],["ف","f"],["ق","q"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","w"],["ى","a"],["ي","y"],["َ‎","a"],["ُ","u"],["ِ‎","i"],["٠","0"],["١","1"],["٢","2"],["٣","3"],["٤","4"],["٥","5"],["٦","6"],["٧","7"],["٨","8"],["٩","9"],["چ","ch"],["ک","k"],["گ","g"],["پ","p"],["ژ","zh"],["ی","y"],["۰","0"],["۱","1"],["۲","2"],["۳","3"],["۴","4"],["۵","5"],["۶","6"],["۷","7"],["۸","8"],["۹","9"],["ټ","p"],["ځ","z"],["څ","c"],["ډ","d"],["ﺫ","d"],["ﺭ","r"],["ړ","r"],["ﺯ","z"],["ږ","g"],["ښ","x"],["ګ","g"],["ڼ","n"],["ۀ","e"],["ې","e"],["ۍ","ai"],["ٹ","t"],["ڈ","d"],["ڑ","r"],["ں","n"],["ہ","h"],["ھ","h"],["ے","e"],["А","A"],["а","a"],["Б","B"],["б","b"],["В","V"],["в","v"],["Г","G"],["г","g"],["Д","D"],["д","d"],["ъе","ye"],["Ъе","Ye"],["ъЕ","yE"],["ЪЕ","YE"],["Е","E"],["е","e"],["Ё","Yo"],["ё","yo"],["Ж","Zh"],["ж","zh"],["З","Z"],["з","z"],["И","I"],["и","i"],["ый","iy"],["Ый","Iy"],["ЫЙ","IY"],["ыЙ","iY"],["Й","Y"],["й","y"],["К","K"],["к","k"],["Л","L"],["л","l"],["М","M"],["м","m"],["Н","N"],["н","n"],["О","O"],["о","o"],["П","P"],["п","p"],["Р","R"],["р","r"],["С","S"],["с","s"],["Т","T"],["т","t"],["У","U"],["у","u"],["Ф","F"],["ф","f"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Ч","Ch"],["ч","ch"],["Ш","Sh"],["ш","sh"],["Щ","Sch"],["щ","sch"],["Ъ",""],["ъ",""],["Ы","Y"],["ы","y"],["Ь",""],["ь",""],["Э","E"],["э","e"],["Ю","Yu"],["ю","yu"],["Я","Ya"],["я","ya"],["ă","a"],["Ă","A"],["ș","s"],["Ș","S"],["ț","t"],["Ț","T"],["ţ","t"],["Ţ","T"],["ş","s"],["Ş","S"],["ç","c"],["Ç","C"],["ğ","g"],["Ğ","G"],["ı","i"],["İ","I"],["ա","a"],["Ա","A"],["բ","b"],["Բ","B"],["գ","g"],["Գ","G"],["դ","d"],["Դ","D"],["ե","ye"],["Ե","Ye"],["զ","z"],["Զ","Z"],["է","e"],["Է","E"],["ը","y"],["Ը","Y"],["թ","t"],["Թ","T"],["ժ","zh"],["Ժ","Zh"],["ի","i"],["Ի","I"],["լ","l"],["Լ","L"],["խ","kh"],["Խ","Kh"],["ծ","ts"],["Ծ","Ts"],["կ","k"],["Կ","K"],["հ","h"],["Հ","H"],["ձ","dz"],["Ձ","Dz"],["ղ","gh"],["Ղ","Gh"],["ճ","tch"],["Ճ","Tch"],["մ","m"],["Մ","M"],["յ","y"],["Յ","Y"],["ն","n"],["Ն","N"],["շ","sh"],["Շ","Sh"],["ու","u"],["ՈՒ","U"],["Ու","U"],["ո","vo"],["Ո","Vo"],["չ","ch"],["Չ","Ch"],["պ","p"],["Պ","P"],["ջ","j"],["Ջ","J"],["ռ","r"],["Ռ","R"],["ս","s"],["Ս","S"],["վ","v"],["Վ","V"],["տ","t"],["Տ","T"],["ր","r"],["Ր","R"],["ց","c"],["Ց","C"],["փ","p"],["Փ","P"],["ք","q"],["Ք","Q"],["օ","o"],["Օ","O"],["ֆ","f"],["Ֆ","F"],["և","yev"],["ა","a"],["ბ","b"],["გ","g"],["დ","d"],["ე","e"],["ვ","v"],["ზ","z"],["თ","t"],["ი","i"],["კ","k"],["ლ","l"],["მ","m"],["ნ","n"],["ო","o"],["პ","p"],["ჟ","zh"],["რ","r"],["ს","s"],["ტ","t"],["უ","u"],["ფ","ph"],["ქ","q"],["ღ","gh"],["ყ","k"],["შ","sh"],["ჩ","ch"],["ც","ts"],["ძ","dz"],["წ","ts"],["ჭ","tch"],["ხ","kh"],["ჯ","j"],["ჰ","h"],["č","c"],["ď","d"],["ě","e"],["ň","n"],["ř","r"],["š","s"],["ť","t"],["ů","u"],["ž","z"],["Č","C"],["Ď","D"],["Ě","E"],["Ň","N"],["Ř","R"],["Š","S"],["Ť","T"],["Ů","U"],["Ž","Z"],["ހ","h"],["ށ","sh"],["ނ","n"],["ރ","r"],["ބ","b"],["ޅ","lh"],["ކ","k"],["އ","a"],["ވ","v"],["މ","m"],["ފ","f"],["ދ","dh"],["ތ","th"],["ލ","l"],["ގ","g"],["ޏ","gn"],["ސ","s"],["ޑ","d"],["ޒ","z"],["ޓ","t"],["ޔ","y"],["ޕ","p"],["ޖ","j"],["ޗ","ch"],["ޘ","tt"],["ޙ","hh"],["ޚ","kh"],["ޛ","th"],["ޜ","z"],["ޝ","sh"],["ޞ","s"],["ޟ","d"],["ޠ","t"],["ޡ","z"],["ޢ","a"],["ޣ","gh"],["ޤ","q"],["ޥ","w"],["ަ","a"],["ާ","aa"],["ި","i"],["ީ","ee"],["ު","u"],["ޫ","oo"],["ެ","e"],["ޭ","ey"],["ޮ","o"],["ޯ","oa"],["ް",""],["α","a"],["β","v"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","i"],["θ","th"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","ks"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","o"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","i"],["ώ","o"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","I"],["Θ","TH"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","KS"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","O"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","I"],["Ώ","O"],["Ϊ","I"],["Ϋ","Y"],["ā","a"],["ē","e"],["ģ","g"],["ī","i"],["ķ","k"],["ļ","l"],["ņ","n"],["ū","u"],["Ā","A"],["Ē","E"],["Ģ","G"],["Ī","I"],["Ķ","K"],["Ļ","L"],["Ņ","N"],["Ū","U"],["č","c"],["š","s"],["ž","z"],["Č","C"],["Š","S"],["Ž","Z"],["ą","a"],["č","c"],["ę","e"],["ė","e"],["į","i"],["š","s"],["ų","u"],["ū","u"],["ž","z"],["Ą","A"],["Č","C"],["Ę","E"],["Ė","E"],["Į","I"],["Š","S"],["Ų","U"],["Ū","U"],["Ќ","Kj"],["ќ","kj"],["Љ","Lj"],["љ","lj"],["Њ","Nj"],["њ","nj"],["Тс","Ts"],["тс","ts"],["ą","a"],["ć","c"],["ę","e"],["ł","l"],["ń","n"],["ś","s"],["ź","z"],["ż","z"],["Ą","A"],["Ć","C"],["Ę","E"],["Ł","L"],["Ń","N"],["Ś","S"],["Ź","Z"],["Ż","Z"],["Є","Ye"],["І","I"],["Ї","Yi"],["Ґ","G"],["є","ye"],["і","i"],["ї","yi"],["ґ","g"],["IJ","IJ"],["ij","ij"],["¢","c"],["¥","Y"],["߿","b"],["৳","t"],["૱","Bo"],["฿","B"],["₠","CE"],["₡","C"],["₢","Cr"],["₣","F"],["₥","m"],["₦","N"],["₧","Pt"],["₨","Rs"],["₩","W"],["₫","s"],["€","E"],["₭","K"],["₮","T"],["₯","Dp"],["₰","S"],["₱","P"],["₲","G"],["₳","A"],["₴","S"],["₵","C"],["₶","tt"],["₷","S"],["₸","T"],["₹","R"],["₺","L"],["₽","P"],["₿","B"],["﹩","$"],["¢","c"],["¥","Y"],["₩","W"],["𝐀","A"],["𝐁","B"],["𝐂","C"],["𝐃","D"],["𝐄","E"],["𝐅","F"],["𝐆","G"],["𝐇","H"],["𝐈","I"],["𝐉","J"],["𝐊","K"],["𝐋","L"],["𝐌","M"],["𝐍","N"],["𝐎","O"],["𝐏","P"],["𝐐","Q"],["𝐑","R"],["𝐒","S"],["𝐓","T"],["𝐔","U"],["𝐕","V"],["𝐖","W"],["𝐗","X"],["𝐘","Y"],["𝐙","Z"],["𝐚","a"],["𝐛","b"],["𝐜","c"],["𝐝","d"],["𝐞","e"],["𝐟","f"],["𝐠","g"],["𝐡","h"],["𝐢","i"],["𝐣","j"],["𝐤","k"],["𝐥","l"],["𝐦","m"],["𝐧","n"],["𝐨","o"],["𝐩","p"],["𝐪","q"],["𝐫","r"],["𝐬","s"],["𝐭","t"],["𝐮","u"],["𝐯","v"],["𝐰","w"],["𝐱","x"],["𝐲","y"],["𝐳","z"],["𝐴","A"],["𝐵","B"],["𝐶","C"],["𝐷","D"],["𝐸","E"],["𝐹","F"],["𝐺","G"],["𝐻","H"],["𝐼","I"],["𝐽","J"],["𝐾","K"],["𝐿","L"],["𝑀","M"],["𝑁","N"],["𝑂","O"],["𝑃","P"],["𝑄","Q"],["𝑅","R"],["𝑆","S"],["𝑇","T"],["𝑈","U"],["𝑉","V"],["𝑊","W"],["𝑋","X"],["𝑌","Y"],["𝑍","Z"],["𝑎","a"],["𝑏","b"],["𝑐","c"],["𝑑","d"],["𝑒","e"],["𝑓","f"],["𝑔","g"],["𝑖","i"],["𝑗","j"],["𝑘","k"],["𝑙","l"],["𝑚","m"],["𝑛","n"],["𝑜","o"],["𝑝","p"],["𝑞","q"],["𝑟","r"],["𝑠","s"],["𝑡","t"],["𝑢","u"],["𝑣","v"],["𝑤","w"],["𝑥","x"],["𝑦","y"],["𝑧","z"],["𝑨","A"],["𝑩","B"],["𝑪","C"],["𝑫","D"],["𝑬","E"],["𝑭","F"],["𝑮","G"],["𝑯","H"],["𝑰","I"],["𝑱","J"],["𝑲","K"],["𝑳","L"],["𝑴","M"],["𝑵","N"],["𝑶","O"],["𝑷","P"],["𝑸","Q"],["𝑹","R"],["𝑺","S"],["𝑻","T"],["𝑼","U"],["𝑽","V"],["𝑾","W"],["𝑿","X"],["𝒀","Y"],["𝒁","Z"],["𝒂","a"],["𝒃","b"],["𝒄","c"],["𝒅","d"],["𝒆","e"],["𝒇","f"],["𝒈","g"],["𝒉","h"],["𝒊","i"],["𝒋","j"],["𝒌","k"],["𝒍","l"],["𝒎","m"],["𝒏","n"],["𝒐","o"],["𝒑","p"],["𝒒","q"],["𝒓","r"],["𝒔","s"],["𝒕","t"],["𝒖","u"],["𝒗","v"],["𝒘","w"],["𝒙","x"],["𝒚","y"],["𝒛","z"],["𝒜","A"],["𝒞","C"],["𝒟","D"],["𝒢","g"],["𝒥","J"],["𝒦","K"],["𝒩","N"],["𝒪","O"],["𝒫","P"],["𝒬","Q"],["𝒮","S"],["𝒯","T"],["𝒰","U"],["𝒱","V"],["𝒲","W"],["𝒳","X"],["𝒴","Y"],["𝒵","Z"],["𝒶","a"],["𝒷","b"],["𝒸","c"],["𝒹","d"],["𝒻","f"],["𝒽","h"],["𝒾","i"],["𝒿","j"],["𝓀","k"],["𝓁","l"],["𝓂","m"],["𝓃","n"],["𝓅","p"],["𝓆","q"],["𝓇","r"],["𝓈","s"],["𝓉","t"],["𝓊","u"],["𝓋","v"],["𝓌","w"],["𝓍","x"],["𝓎","y"],["𝓏","z"],["𝓐","A"],["𝓑","B"],["𝓒","C"],["𝓓","D"],["𝓔","E"],["𝓕","F"],["𝓖","G"],["𝓗","H"],["𝓘","I"],["𝓙","J"],["𝓚","K"],["𝓛","L"],["𝓜","M"],["𝓝","N"],["𝓞","O"],["𝓟","P"],["𝓠","Q"],["𝓡","R"],["𝓢","S"],["𝓣","T"],["𝓤","U"],["𝓥","V"],["𝓦","W"],["𝓧","X"],["𝓨","Y"],["𝓩","Z"],["𝓪","a"],["𝓫","b"],["𝓬","c"],["𝓭","d"],["𝓮","e"],["𝓯","f"],["𝓰","g"],["𝓱","h"],["𝓲","i"],["𝓳","j"],["𝓴","k"],["𝓵","l"],["𝓶","m"],["𝓷","n"],["𝓸","o"],["𝓹","p"],["𝓺","q"],["𝓻","r"],["𝓼","s"],["𝓽","t"],["𝓾","u"],["𝓿","v"],["𝔀","w"],["𝔁","x"],["𝔂","y"],["𝔃","z"],["𝔄","A"],["𝔅","B"],["𝔇","D"],["𝔈","E"],["𝔉","F"],["𝔊","G"],["𝔍","J"],["𝔎","K"],["𝔏","L"],["𝔐","M"],["𝔑","N"],["𝔒","O"],["𝔓","P"],["𝔔","Q"],["𝔖","S"],["𝔗","T"],["𝔘","U"],["𝔙","V"],["𝔚","W"],["𝔛","X"],["𝔜","Y"],["𝔞","a"],["𝔟","b"],["𝔠","c"],["𝔡","d"],["𝔢","e"],["𝔣","f"],["𝔤","g"],["𝔥","h"],["𝔦","i"],["𝔧","j"],["𝔨","k"],["𝔩","l"],["𝔪","m"],["𝔫","n"],["𝔬","o"],["𝔭","p"],["𝔮","q"],["𝔯","r"],["𝔰","s"],["𝔱","t"],["𝔲","u"],["𝔳","v"],["𝔴","w"],["𝔵","x"],["𝔶","y"],["𝔷","z"],["𝔸","A"],["𝔹","B"],["𝔻","D"],["𝔼","E"],["𝔽","F"],["𝔾","G"],["𝕀","I"],["𝕁","J"],["𝕂","K"],["𝕃","L"],["𝕄","M"],["𝕆","O"],["𝕊","S"],["𝕋","T"],["𝕌","U"],["𝕍","V"],["𝕎","W"],["𝕏","X"],["𝕐","Y"],["𝕒","a"],["𝕓","b"],["𝕔","c"],["𝕕","d"],["𝕖","e"],["𝕗","f"],["𝕘","g"],["𝕙","h"],["𝕚","i"],["𝕛","j"],["𝕜","k"],["𝕝","l"],["𝕞","m"],["𝕟","n"],["𝕠","o"],["𝕡","p"],["𝕢","q"],["𝕣","r"],["𝕤","s"],["𝕥","t"],["𝕦","u"],["𝕧","v"],["𝕨","w"],["𝕩","x"],["𝕪","y"],["𝕫","z"],["𝕬","A"],["𝕭","B"],["𝕮","C"],["𝕯","D"],["𝕰","E"],["𝕱","F"],["𝕲","G"],["𝕳","H"],["𝕴","I"],["𝕵","J"],["𝕶","K"],["𝕷","L"],["𝕸","M"],["𝕹","N"],["𝕺","O"],["𝕻","P"],["𝕼","Q"],["𝕽","R"],["𝕾","S"],["𝕿","T"],["𝖀","U"],["𝖁","V"],["𝖂","W"],["𝖃","X"],["𝖄","Y"],["𝖅","Z"],["𝖆","a"],["𝖇","b"],["𝖈","c"],["𝖉","d"],["𝖊","e"],["𝖋","f"],["𝖌","g"],["𝖍","h"],["𝖎","i"],["𝖏","j"],["𝖐","k"],["𝖑","l"],["𝖒","m"],["𝖓","n"],["𝖔","o"],["𝖕","p"],["𝖖","q"],["𝖗","r"],["𝖘","s"],["𝖙","t"],["𝖚","u"],["𝖛","v"],["𝖜","w"],["𝖝","x"],["𝖞","y"],["𝖟","z"],["𝖠","A"],["𝖡","B"],["𝖢","C"],["𝖣","D"],["𝖤","E"],["𝖥","F"],["𝖦","G"],["𝖧","H"],["𝖨","I"],["𝖩","J"],["𝖪","K"],["𝖫","L"],["𝖬","M"],["𝖭","N"],["𝖮","O"],["𝖯","P"],["𝖰","Q"],["𝖱","R"],["𝖲","S"],["𝖳","T"],["𝖴","U"],["𝖵","V"],["𝖶","W"],["𝖷","X"],["𝖸","Y"],["𝖹","Z"],["𝖺","a"],["𝖻","b"],["𝖼","c"],["𝖽","d"],["𝖾","e"],["𝖿","f"],["𝗀","g"],["𝗁","h"],["𝗂","i"],["𝗃","j"],["𝗄","k"],["𝗅","l"],["𝗆","m"],["𝗇","n"],["𝗈","o"],["𝗉","p"],["𝗊","q"],["𝗋","r"],["𝗌","s"],["𝗍","t"],["𝗎","u"],["𝗏","v"],["𝗐","w"],["𝗑","x"],["𝗒","y"],["𝗓","z"],["𝗔","A"],["𝗕","B"],["𝗖","C"],["𝗗","D"],["𝗘","E"],["𝗙","F"],["𝗚","G"],["𝗛","H"],["𝗜","I"],["𝗝","J"],["𝗞","K"],["𝗟","L"],["𝗠","M"],["𝗡","N"],["𝗢","O"],["𝗣","P"],["𝗤","Q"],["𝗥","R"],["𝗦","S"],["𝗧","T"],["𝗨","U"],["𝗩","V"],["𝗪","W"],["𝗫","X"],["𝗬","Y"],["𝗭","Z"],["𝗮","a"],["𝗯","b"],["𝗰","c"],["𝗱","d"],["𝗲","e"],["𝗳","f"],["𝗴","g"],["𝗵","h"],["𝗶","i"],["𝗷","j"],["𝗸","k"],["𝗹","l"],["𝗺","m"],["𝗻","n"],["𝗼","o"],["𝗽","p"],["𝗾","q"],["𝗿","r"],["𝘀","s"],["𝘁","t"],["𝘂","u"],["𝘃","v"],["𝘄","w"],["𝘅","x"],["𝘆","y"],["𝘇","z"],["𝘈","A"],["𝘉","B"],["𝘊","C"],["𝘋","D"],["𝘌","E"],["𝘍","F"],["𝘎","G"],["𝘏","H"],["𝘐","I"],["𝘑","J"],["𝘒","K"],["𝘓","L"],["𝘔","M"],["𝘕","N"],["𝘖","O"],["𝘗","P"],["𝘘","Q"],["𝘙","R"],["𝘚","S"],["𝘛","T"],["𝘜","U"],["𝘝","V"],["𝘞","W"],["𝘟","X"],["𝘠","Y"],["𝘡","Z"],["𝘢","a"],["𝘣","b"],["𝘤","c"],["𝘥","d"],["𝘦","e"],["𝘧","f"],["𝘨","g"],["𝘩","h"],["𝘪","i"],["𝘫","j"],["𝘬","k"],["𝘭","l"],["𝘮","m"],["𝘯","n"],["𝘰","o"],["𝘱","p"],["𝘲","q"],["𝘳","r"],["𝘴","s"],["𝘵","t"],["𝘶","u"],["𝘷","v"],["𝘸","w"],["𝘹","x"],["𝘺","y"],["𝘻","z"],["𝘼","A"],["𝘽","B"],["𝘾","C"],["𝘿","D"],["𝙀","E"],["𝙁","F"],["𝙂","G"],["𝙃","H"],["𝙄","I"],["𝙅","J"],["𝙆","K"],["𝙇","L"],["𝙈","M"],["𝙉","N"],["𝙊","O"],["𝙋","P"],["𝙌","Q"],["𝙍","R"],["𝙎","S"],["𝙏","T"],["𝙐","U"],["𝙑","V"],["𝙒","W"],["𝙓","X"],["𝙔","Y"],["𝙕","Z"],["𝙖","a"],["𝙗","b"],["𝙘","c"],["𝙙","d"],["𝙚","e"],["𝙛","f"],["𝙜","g"],["𝙝","h"],["𝙞","i"],["𝙟","j"],["𝙠","k"],["𝙡","l"],["𝙢","m"],["𝙣","n"],["𝙤","o"],["𝙥","p"],["𝙦","q"],["𝙧","r"],["𝙨","s"],["𝙩","t"],["𝙪","u"],["𝙫","v"],["𝙬","w"],["𝙭","x"],["𝙮","y"],["𝙯","z"],["𝙰","A"],["𝙱","B"],["𝙲","C"],["𝙳","D"],["𝙴","E"],["𝙵","F"],["𝙶","G"],["𝙷","H"],["𝙸","I"],["𝙹","J"],["𝙺","K"],["𝙻","L"],["𝙼","M"],["𝙽","N"],["𝙾","O"],["𝙿","P"],["𝚀","Q"],["𝚁","R"],["𝚂","S"],["𝚃","T"],["𝚄","U"],["𝚅","V"],["𝚆","W"],["𝚇","X"],["𝚈","Y"],["𝚉","Z"],["𝚊","a"],["𝚋","b"],["𝚌","c"],["𝚍","d"],["𝚎","e"],["𝚏","f"],["𝚐","g"],["𝚑","h"],["𝚒","i"],["𝚓","j"],["𝚔","k"],["𝚕","l"],["𝚖","m"],["𝚗","n"],["𝚘","o"],["𝚙","p"],["𝚚","q"],["𝚛","r"],["𝚜","s"],["𝚝","t"],["𝚞","u"],["𝚟","v"],["𝚠","w"],["𝚡","x"],["𝚢","y"],["𝚣","z"],["𝚤","l"],["𝚥","j"],["𝛢","A"],["𝛣","B"],["𝛤","G"],["𝛥","D"],["𝛦","E"],["𝛧","Z"],["𝛨","I"],["𝛩","TH"],["𝛪","I"],["𝛫","K"],["𝛬","L"],["𝛭","M"],["𝛮","N"],["𝛯","KS"],["𝛰","O"],["𝛱","P"],["𝛲","R"],["𝛳","TH"],["𝛴","S"],["𝛵","T"],["𝛶","Y"],["𝛷","F"],["𝛸","x"],["𝛹","PS"],["𝛺","O"],["𝛻","D"],["𝛼","a"],["𝛽","b"],["𝛾","g"],["𝛿","d"],["𝜀","e"],["𝜁","z"],["𝜂","i"],["𝜃","th"],["𝜄","i"],["𝜅","k"],["𝜆","l"],["𝜇","m"],["𝜈","n"],["𝜉","ks"],["𝜊","o"],["𝜋","p"],["𝜌","r"],["𝜍","s"],["𝜎","s"],["𝜏","t"],["𝜐","y"],["𝜑","f"],["𝜒","x"],["𝜓","ps"],["𝜔","o"],["𝜕","d"],["𝜖","E"],["𝜗","TH"],["𝜘","K"],["𝜙","f"],["𝜚","r"],["𝜛","p"],["𝜜","A"],["𝜝","V"],["𝜞","G"],["𝜟","D"],["𝜠","E"],["𝜡","Z"],["𝜢","I"],["𝜣","TH"],["𝜤","I"],["𝜥","K"],["𝜦","L"],["𝜧","M"],["𝜨","N"],["𝜩","KS"],["𝜪","O"],["𝜫","P"],["𝜬","S"],["𝜭","TH"],["𝜮","S"],["𝜯","T"],["𝜰","Y"],["𝜱","F"],["𝜲","X"],["𝜳","PS"],["𝜴","O"],["𝜵","D"],["𝜶","a"],["𝜷","v"],["𝜸","g"],["𝜹","d"],["𝜺","e"],["𝜻","z"],["𝜼","i"],["𝜽","th"],["𝜾","i"],["𝜿","k"],["𝝀","l"],["𝝁","m"],["𝝂","n"],["𝝃","ks"],["𝝄","o"],["𝝅","p"],["𝝆","r"],["𝝇","s"],["𝝈","s"],["𝝉","t"],["𝝊","y"],["𝝋","f"],["𝝌","x"],["𝝍","ps"],["𝝎","o"],["𝝏","a"],["𝝐","e"],["𝝑","i"],["𝝒","k"],["𝝓","f"],["𝝔","r"],["𝝕","p"],["𝝖","A"],["𝝗","B"],["𝝘","G"],["𝝙","D"],["𝝚","E"],["𝝛","Z"],["𝝜","I"],["𝝝","TH"],["𝝞","I"],["𝝟","K"],["𝝠","L"],["𝝡","M"],["𝝢","N"],["𝝣","KS"],["𝝤","O"],["𝝥","P"],["𝝦","R"],["𝝧","TH"],["𝝨","S"],["𝝩","T"],["𝝪","Y"],["𝝫","F"],["𝝬","X"],["𝝭","PS"],["𝝮","O"],["𝝯","D"],["𝝰","a"],["𝝱","v"],["𝝲","g"],["𝝳","d"],["𝝴","e"],["𝝵","z"],["𝝶","i"],["𝝷","th"],["𝝸","i"],["𝝹","k"],["𝝺","l"],["𝝻","m"],["𝝼","n"],["𝝽","ks"],["𝝾","o"],["𝝿","p"],["𝞀","r"],["𝞁","s"],["𝞂","s"],["𝞃","t"],["𝞄","y"],["𝞅","f"],["𝞆","x"],["𝞇","ps"],["𝞈","o"],["𝞉","a"],["𝞊","e"],["𝞋","i"],["𝞌","k"],["𝞍","f"],["𝞎","r"],["𝞏","p"],["𝞐","A"],["𝞑","V"],["𝞒","G"],["𝞓","D"],["𝞔","E"],["𝞕","Z"],["𝞖","I"],["𝞗","TH"],["𝞘","I"],["𝞙","K"],["𝞚","L"],["𝞛","M"],["𝞜","N"],["𝞝","KS"],["𝞞","O"],["𝞟","P"],["𝞠","S"],["𝞡","TH"],["𝞢","S"],["𝞣","T"],["𝞤","Y"],["𝞥","F"],["𝞦","X"],["𝞧","PS"],["𝞨","O"],["𝞩","D"],["𝞪","av"],["𝞫","g"],["𝞬","d"],["𝞭","e"],["𝞮","z"],["𝞯","i"],["𝞰","i"],["𝞱","th"],["𝞲","i"],["𝞳","k"],["𝞴","l"],["𝞵","m"],["𝞶","n"],["𝞷","ks"],["𝞸","o"],["𝞹","p"],["𝞺","r"],["𝞻","s"],["𝞼","s"],["𝞽","t"],["𝞾","y"],["𝞿","f"],["𝟀","x"],["𝟁","ps"],["𝟂","o"],["𝟃","a"],["𝟄","e"],["𝟅","i"],["𝟆","k"],["𝟇","f"],["𝟈","r"],["𝟉","p"],["𝟊","F"],["𝟋","f"],["⒜","(a)"],["⒝","(b)"],["⒞","(c)"],["⒟","(d)"],["⒠","(e)"],["⒡","(f)"],["⒢","(g)"],["⒣","(h)"],["⒤","(i)"],["⒥","(j)"],["⒦","(k)"],["⒧","(l)"],["⒨","(m)"],["⒩","(n)"],["⒪","(o)"],["⒫","(p)"],["⒬","(q)"],["⒭","(r)"],["⒮","(s)"],["⒯","(t)"],["⒰","(u)"],["⒱","(v)"],["⒲","(w)"],["⒳","(x)"],["⒴","(y)"],["⒵","(z)"],["Ⓐ","(A)"],["Ⓑ","(B)"],["Ⓒ","(C)"],["Ⓓ","(D)"],["Ⓔ","(E)"],["Ⓕ","(F)"],["Ⓖ","(G)"],["Ⓗ","(H)"],["Ⓘ","(I)"],["Ⓙ","(J)"],["Ⓚ","(K)"],["Ⓛ","(L)"],["Ⓝ","(N)"],["Ⓞ","(O)"],["Ⓟ","(P)"],["Ⓠ","(Q)"],["Ⓡ","(R)"],["Ⓢ","(S)"],["Ⓣ","(T)"],["Ⓤ","(U)"],["Ⓥ","(V)"],["Ⓦ","(W)"],["Ⓧ","(X)"],["Ⓨ","(Y)"],["Ⓩ","(Z)"],["ⓐ","(a)"],["ⓑ","(b)"],["ⓒ","(c)"],["ⓓ","(d)"],["ⓔ","(e)"],["ⓕ","(f)"],["ⓖ","(g)"],["ⓗ","(h)"],["ⓘ","(i)"],["ⓙ","(j)"],["ⓚ","(k)"],["ⓛ","(l)"],["ⓜ","(m)"],["ⓝ","(n)"],["ⓞ","(o)"],["ⓟ","(p)"],["ⓠ","(q)"],["ⓡ","(r)"],["ⓢ","(s)"],["ⓣ","(t)"],["ⓤ","(u)"],["ⓥ","(v)"],["ⓦ","(w)"],["ⓧ","(x)"],["ⓨ","(y)"],["ⓩ","(z)"],["Ċ","C"],["ċ","c"],["Ġ","G"],["ġ","g"],["Ħ","H"],["ħ","h"],["Ż","Z"],["ż","z"],["𝟎","0"],["𝟏","1"],["𝟐","2"],["𝟑","3"],["𝟒","4"],["𝟓","5"],["𝟔","6"],["𝟕","7"],["𝟖","8"],["𝟗","9"],["𝟘","0"],["𝟙","1"],["𝟚","2"],["𝟛","3"],["𝟜","4"],["𝟝","5"],["𝟞","6"],["𝟟","7"],["𝟠","8"],["𝟡","9"],["𝟢","0"],["𝟣","1"],["𝟤","2"],["𝟥","3"],["𝟦","4"],["𝟧","5"],["𝟨","6"],["𝟩","7"],["𝟪","8"],["𝟫","9"],["𝟬","0"],["𝟭","1"],["𝟮","2"],["𝟯","3"],["𝟰","4"],["𝟱","5"],["𝟲","6"],["𝟳","7"],["𝟴","8"],["𝟵","9"],["𝟶","0"],["𝟷","1"],["𝟸","2"],["𝟹","3"],["𝟺","4"],["𝟻","5"],["𝟼","6"],["𝟽","7"],["𝟾","8"],["𝟿","9"],["①","1"],["②","2"],["③","3"],["④","4"],["⑤","5"],["⑥","6"],["⑦","7"],["⑧","8"],["⑨","9"],["⑩","10"],["⑪","11"],["⑫","12"],["⑬","13"],["⑭","14"],["⑮","15"],["⑯","16"],["⑰","17"],["⑱","18"],["⑲","19"],["⑳","20"],["⑴","1"],["⑵","2"],["⑶","3"],["⑷","4"],["⑸","5"],["⑹","6"],["⑺","7"],["⑻","8"],["⑼","9"],["⑽","10"],["⑾","11"],["⑿","12"],["⒀","13"],["⒁","14"],["⒂","15"],["⒃","16"],["⒄","17"],["⒅","18"],["⒆","19"],["⒇","20"],["⒈","1."],["⒉","2."],["⒊","3."],["⒋","4."],["⒌","5."],["⒍","6."],["⒎","7."],["⒏","8."],["⒐","9."],["⒑","10."],["⒒","11."],["⒓","12."],["⒔","13."],["⒕","14."],["⒖","15."],["⒗","16."],["⒘","17."],["⒙","18."],["⒚","19."],["⒛","20."],["⓪","0"],["⓫","11"],["⓬","12"],["⓭","13"],["⓮","14"],["⓯","15"],["⓰","16"],["⓱","17"],["⓲","18"],["⓳","19"],["⓴","20"],["⓵","1"],["⓶","2"],["⓷","3"],["⓸","4"],["⓹","5"],["⓺","6"],["⓻","7"],["⓼","8"],["⓽","9"],["⓾","10"],["⓿","0"],["🙰","&"],["🙱","&"],["🙲","&"],["🙳","&"],["🙴","&"],["🙵","&"],["🙶",'"'],["🙷",'"'],["🙸",'"'],["‽","?!"],["🙹","?!"],["🙺","?!"],["🙻","?!"],["🙼","/"],["🙽","\\"],["🜇","AR"],["🜈","V"],["🜉","V"],["🜆","VR"],["🜅","VF"],["🜩","2"],["🜪","5"],["🝡","f"],["🝢","W"],["🝣","U"],["🝧","V"],["🝨","T"],["🝪","V"],["🝫","MB"],["🝬","VB"],["🝲","3B"],["🝳","3B"],["💯","100"],["🔙","BACK"],["🔚","END"],["🔛","ON!"],["🔜","SOON"],["🔝","TOP"],["🔞","18"],["🔤","abc"],["🔠","ABCD"],["🔡","abcd"],["🔢","1234"],["🔣","T&@%"],["#️⃣","#"],["*️⃣","*"],["0️⃣","0"],["1️⃣","1"],["2️⃣","2"],["3️⃣","3"],["4️⃣","4"],["5️⃣","5"],["6️⃣","6"],["7️⃣","7"],["8️⃣","8"],["9️⃣","9"],["🔟","10"],["🅰️","A"],["🅱️","B"],["🆎","AB"],["🆑","CL"],["🅾️","O"],["🅿","P"],["🆘","SOS"],["🅲","C"],["🅳","D"],["🅴","E"],["🅵","F"],["🅶","G"],["🅷","H"],["🅸","I"],["🅹","J"],["🅺","K"],["🅻","L"],["🅼","M"],["🅽","N"],["🆀","Q"],["🆁","R"],["🆂","S"],["🆃","T"],["🆄","U"],["🆅","V"],["🆆","W"],["🆇","X"],["🆈","Y"],["🆉","Z"],["−","-"],["⁓","-"]],TC=new Map(Bse),A$=[["æ","ae"],["Æ","Ae"],["ø","oe"],["Ø","Oe"],["å","aa"],["Å","Aa"]],Pf={sv:[["ä","a"],["Ä","A"],["ö","o"],["Ö","O"],["å","a"],["Å","A"]],da:A$,nb:A$,de:[["ä","ae"],["Ä","Ae"],["ö","oe"],["Ö","Oe"],["ü","ue"],["Ü","Ue"],["ß","ss"],["ẞ","Ss"]],tr:[["â","a"],["Â","A"],["ö","o"],["Ö","O"],["ü","u"],["Ü","U"]],hu:[["ű","u"],["Ű","U"],["ö","o"],["Ö","O"],["ü","u"],["Ü","U"],["á","a"],["Á","A"],["é","e"],["É","E"],["í","i"],["Í","I"],["ó","o"],["Ó","O"],["ú","u"],["Ú","U"]],sr:[["ђ","dj"],["Ђ","Dj"],["џ","dz"],["Џ","Dz"],["љ","lj"],["Љ","Lj"],["њ","nj"],["Њ","Nj"],["ћ","c"],["Ћ","C"],["ч","ch"],["Ч","Ch"],["ш","sh"],["Ш","Sh"],["ж","zh"],["Ж","Zh"]]};for(const e of Object.keys(Pf))Pf[e]=new Map(Pf[e]);const qse=e=>e.replaceAll(/[.*+?^${}()|[\]\\]/g,String.raw`\$&`),VR=e=>{const t=[...e.keys()].sort((r,n)=>n.length-r.length);return new RegExp(t.map(r=>qse(r)).join("|"),"gu")},zse=VR(TC),UR=new Map;for(const[e,t]of Object.entries(Pf)){const r=new Map(TC);for(const[n,o]of t)r.set(n,o);UR.set(e,{replacements:r,pattern:VR(r)})}const Fse=e=>{if(!e)return;const t=e.toLowerCase().replace(/^no(-|$)/,"nb$1");if(Object.hasOwn(Pf,t))return t;const r=t.split("-")[0];if(Object.hasOwn(Pf,r))return r};function Vse(e,t){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\``);t={customReplacements:[],...t};const r=Fse(t.locale),n=[...t.customReplacements];let o=TC,s=zse;if(r&&({replacements:o,pattern:s}=UR.get(r)),e=e.normalize(),n.length>0){n.sort((i,a)=>a[0].length-i[0].length);for(const[i,a]of n)e=e.replaceAll(i,a)}return e=e.replace(s,i=>o.get(i)??i),e=e.normalize("NFD").replaceAll(new RegExp("\\p{Diacritic}","gu"),"").normalize(),e=e.replaceAll(new RegExp("\\p{Dash_Punctuation}","gu"),"-"),e}const Use=[["&"," and "],["🦄"," unicorn "],["♥"," love "]],Hse=e=>e.replaceAll(/([A-Z]{2,})(\d+)/g,"$1 $2").replaceAll(/([a-z\d]+)([A-Z]{2,})/g,"$1 $2").replaceAll(/([a-z\d])([A-Z])/g,"$1 $2").replaceAll(/([A-Z]+)([A-Z][a-rt-z\d]+)/g,"$1 $2"),Wse=(e,t)=>{const r=FR(t);return e.replaceAll(new RegExp(`(?:${r}){2,}`,"g"),t).replaceAll(new RegExp(`^(?:${r})|(?:${r})$`,"g"),"")},Gse=e=>{let t=String.raw`a-z\d`;if(t+=e.lowercase?"":"A-Z",e.transliterate===!1&&(t+=String.raw`\p{L}\p{N}`),e.preserveCharacters.length>0)for(const n of e.preserveCharacters){if(n===e.separator)throw new Error(`The separator character \`${e.separator}\` cannot be included in preserved characters: ${e.preserveCharacters}`);t+=FR(n)}const r=e.transliterate?"g":"gu";return new RegExp(`[^${t}]+`,r)};function Jse(e,t){if(typeof e!="string")throw new TypeError(`Expected a string, got \`${typeof e}\``);t={separator:"-",lowercase:!0,decamelize:!0,customReplacements:[],preserveLeadingUnderscore:!1,preserveTrailingDash:!1,preserveCharacters:[],transliterate:!0,...t};const r=t.preserveLeadingUnderscore&&e.startsWith("_"),n=t.preserveTrailingDash&&e.endsWith("-");if(t.transliterate){const s=new Map([...Use,...t.customReplacements]);e=Vse(e,{customReplacements:s,locale:t.locale})}else if(t.customReplacements.length>0)for(const[s,i]of t.customReplacements)e=e.replaceAll(s,i);t.decamelize&&(e=Hse(e));const o=Gse(t);return t.lowercase&&(e=t.locale?e.toLocaleLowerCase(t.locale):e.toLowerCase()),e=e.replaceAll(/([a-zA-Z\d]+)['\u2019]([ts])(\s|$)/g,"$1$2$3"),e=e.replace(o,t.separator),e=e.replaceAll("\\",""),t.separator&&(e=Wse(e,t.separator)),r&&(e=`_${e}`),n&&(e=`${e}-`),e}const Kse=["href","aria-label"],Rs={__name:"OAHeading",props:{id:{type:String,required:!1},level:{type:String,required:!0},prefix:{type:String,default:null},class:{type:String,required:!1},headerAnchorClass:{type:String,default:"header-anchor"}},setup(e){const t=e;function r(l){return l.map(c=>!c.children||typeof c.children=="string"?c.children||"":Array.isArray(c.children)?r(c.children):c.children.default?r(c.children.default()):"").join("")}const n=el().default,o=le(()=>r(n())),s=le(()=>{if(t.id)return t.id;const l=t.prefix?`${t.prefix}-${o.value}`:o.value;return Jse(l,{decamelize:!1})}),i=kn(),a=le(()=>i.getHeadingLevel(t.level)??t.level);return(l,c)=>(E(),ve(si(a.value),{id:s.value,tabindex:"-1",class:Nt(S(Ko)(t.class))},{default:U(()=>[pe(l.$slots,"default"),ue("a",{class:Nt(S(Ko)("header-anchor",t.headerAnchorClass)),href:`#${s.value}`,"aria-label":`Permalink to ${o.value}`},"​",10,Kse)]),_:3},8,["id","class"]))}},E$={};function Qse(e){let t=E$[e];if(t)return t;t=E$[e]=[];for(let r=0;r<128;r++){const n=String.fromCharCode(r);t.push(n)}for(let r=0;r=55296&&u<=57343?o+="���":o+=String.fromCharCode(u),s+=6;continue}}if((a&248)===240&&s+91114111?o+="����":(d-=65536,o+=String.fromCharCode(55296+(d>>10),56320+(d&1023))),s+=9;continue}}o+="�"}return o})}eh.defaultChars=";/?:@&=+$,#";eh.componentChars="";const O$={};function Zse(e){let t=O$[e];if(t)return t;t=O$[e]=[];for(let r=0;r<128;r++){const n=String.fromCharCode(r);/^[0-9a-z]$/i.test(n)?t.push(n):t.push("%"+("0"+r.toString(16).toUpperCase()).slice(-2))}for(let r=0;r"u"&&(r=!0);const n=Zse(t);let o="";for(let s=0,i=e.length;s=55296&&a<=57343){if(a>=55296&&a<=56319&&s+1=56320&&l<=57343){o+=encodeURIComponent(e[s]+e[s+1]),s++;continue}}o+="%EF%BF%BD";continue}o+=encodeURIComponent(e[s])}return o}gv.defaultChars=";/?:@&=+$,-_.!~*'()#";gv.componentChars="-_.!~*'()";function PC(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function Ib(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}const Xse=/^([a-z0-9.+-]+:)/i,Yse=/:[0-9]*$/,eie=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,tie=["<",">",'"',"`"," ","\r",` +`," "],rie=["{","}","|","\\","^","`"].concat(tie),nie=["'"].concat(rie),$$=["%","/","?",";","#"].concat(nie),T$=["/","?","#"],oie=255,P$=/^[+a-z0-9A-Z_-]{0,63}$/,sie=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,I$={javascript:!0,"javascript:":!0},D$={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function IC(e,t){if(e&&e instanceof Ib)return e;const r=new Ib;return r.parse(e,t),r}Ib.prototype.parse=function(e,t){let r,n,o,s=e;if(s=s.trim(),!t&&e.split("#").length===1){const c=eie.exec(s);if(c)return this.pathname=c[1],c[2]&&(this.search=c[2]),this}let i=Xse.exec(s);if(i&&(i=i[0],r=i.toLowerCase(),this.protocol=i,s=s.substr(i.length)),(t||i||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(o=s.substr(0,2)==="//",o&&!(i&&I$[i])&&(s=s.substr(2),this.slashes=!0)),!I$[i]&&(o||i&&!D$[i])){let c=-1;for(let m=0;m127?b+="x":b+=y[w];if(!b.match(P$)){const w=m.slice(0,v),k=m.slice(v+1),x=y.match(sie);x&&(w.push(x[1]),k.unshift(x[2])),k.length&&(s=k.join(".")+s),this.hostname=w.join(".");break}}}}this.hostname.length>oie&&(this.hostname=""),f&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}const a=s.indexOf("#");a!==-1&&(this.hash=s.substr(a),s=s.slice(0,a));const l=s.indexOf("?");return l!==-1&&(this.search=s.substr(l),s=s.slice(0,l)),s&&(this.pathname=s),D$[r]&&this.hostname&&!this.pathname&&(this.pathname=""),this};Ib.prototype.parseHost=function(e){let t=Yse.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};const iie=Object.freeze(Object.defineProperty({__proto__:null,decode:eh,encode:gv,format:PC,parse:IC},Symbol.toStringTag,{value:"Module"})),HR=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,WR=/[\0-\x1F\x7F-\x9F]/,aie=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,DC=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDEAD\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/,GR=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C0\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2426\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2B95\u2B97-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E3\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBC2\uFD40-\uFD4F\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED7\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDF76\uDF7B-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0\uDCB1\uDD00-\uDE53\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC5\uDECE-\uDEDB\uDEE0-\uDEE8\uDEF0-\uDEF8\uDF00-\uDF92\uDF94-\uDFCA]/,JR=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/,lie=Object.freeze(Object.defineProperty({__proto__:null,Any:HR,Cc:WR,Cf:aie,P:DC,S:GR,Z:JR},Symbol.toStringTag,{value:"Module"})),cie=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୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢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;怳Ādp໩໮uct;戏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ǣጓ\0጖y;䐎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Ā;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀ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Ā;e᜚᜜lƀ;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\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩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ↄⅪ←ٖ↛ǰ↉\0↎proø₞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;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\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\0⹻m;櫳;櫽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))),uie=new Uint16Array("Ȁaglq \x1Bɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map(e=>e.charCodeAt(0)));var gk;const die=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]]),pie=(gk=String.fromCodePoint)!==null&&gk!==void 0?gk:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|e&1023),t+=String.fromCharCode(e),t};function fie(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=die.get(e))!==null&&t!==void 0?t:e}var vs;(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"})(vs||(vs={}));const hie=32;var yu;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(yu||(yu={}));function S_(e){return e>=vs.ZERO&&e<=vs.NINE}function mie(e){return e>=vs.UPPER_A&&e<=vs.UPPER_F||e>=vs.LOWER_A&&e<=vs.LOWER_F}function gie(e){return e>=vs.UPPER_A&&e<=vs.UPPER_Z||e>=vs.LOWER_A&&e<=vs.LOWER_Z||S_(e)}function vie(e){return e===vs.EQUALS||gie(e)}var hs;(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"})(hs||(hs={}));var hu;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(hu||(hu={}));class yie{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=hs.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=hu.Strict}startEntity(t){this.decodeMode=t,this.state=hs.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case hs.EntityStart:return t.charCodeAt(r)===vs.NUM?(this.state=hs.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=hs.NamedEntity,this.stateNamedEntity(t,r));case hs.NumericStart:return this.stateNumericStart(t,r);case hs.NumericDecimal:return this.stateNumericDecimal(t,r);case hs.NumericHex:return this.stateNumericHex(t,r);case hs.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|hie)===vs.LOWER_X?(this.state=hs.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=hs.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,o){if(r!==n){const s=n-r;this.result=this.result*Math.pow(o,s)+parseInt(t.substr(r,s),o),this.consumed+=s}}stateNumericHex(t,r){const n=r;for(;r>14;for(;r>14,s!==0){if(i===vs.SEMI)return this.emitNamedEntityData(this.treeIndex,s,this.consumed+this.excess);this.decodeMode!==hu.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,o=(n[r]&yu.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,o,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:o}=this;return this.emitCodePoint(r===1?o[t]&~yu.VALUE_LENGTH:o[t+1],n),r===3&&this.emitCodePoint(o[t+2],n),n}end(){var t;switch(this.state){case hs.NamedEntity:return this.result!==0&&(this.decodeMode!==hu.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case hs.NumericDecimal:return this.emitNumericEntity(0,2);case hs.NumericHex:return this.emitNumericEntity(0,3);case hs.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case hs.EntityStart:return 0}}}function KR(e){let t="";const r=new yie(e,n=>t+=pie(n));return function(n,o){let s=0,i=0;for(;(i=n.indexOf("&",i))>=0;){t+=n.slice(s,i),r.startEntity(o);const l=r.write(n,i+1);if(l<0){s=i+r.end();break}s=i+l,i=l===0?s+1:s}const a=t+n.slice(s);return t="",a}}function bie(e,t,r,n){const o=(t&yu.BRANCH_LENGTH)>>7,s=t&yu.JUMP_TABLE;if(o===0)return s!==0&&n===s?r:-1;if(s){const l=n-s;return l<0||l>=o?-1:e[r+l]-1}let i=r,a=i+o-1;for(;i<=a;){const l=i+a>>>1,c=e[l];if(cn)a=l-1;else return e[l+o]}return-1}const wie=KR(cie);KR(uie);function QR(e,t=hu.Legacy){return wie(e,t)}function xie(e){return Object.prototype.toString.call(e)}function MC(e){return xie(e)==="[object String]"}const kie=Object.prototype.hasOwnProperty;function jie(e,t){return kie.call(e,t)}function Cw(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){if(t){if(typeof t!="object")throw new TypeError(t+"must be object");Object.keys(t).forEach(function(r){e[r]=t[r]})}}),e}function ZR(e,t,r){return[].concat(e.slice(0,t),r,e.slice(t+1))}function NC(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function Db(e){if(e>65535){e-=65536;const t=55296+(e>>10),r=56320+(e&1023);return String.fromCharCode(t,r)}return String.fromCharCode(e)}const XR=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,_ie=/&([a-z#][a-z0-9]{1,31});/gi,Sie=new RegExp(XR.source+"|"+_ie.source,"gi"),Cie=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function Aie(e,t){if(t.charCodeAt(0)===35&&Cie.test(t)){const n=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return NC(n)?Db(n):e}const r=QR(e);return r!==e?r:e}function Eie(e){return e.indexOf("\\")<0?e:e.replace(XR,"$1")}function th(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Sie,function(t,r,n){return r||Aie(t,n)})}const Oie=/[&<>"]/,$ie=/[&<>"]/g,Tie={"&":"&","<":"<",">":">",'"':"""};function Pie(e){return Tie[e]}function qu(e){return Oie.test(e)?e.replace($ie,Pie):e}const Iie=/[.?*+^$[\]\\(){}|-]/g;function Die(e){return e.replace(Iie,"\\$&")}function yo(e){switch(e){case 9:case 32:return!0}return!1}function dg(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function pg(e){return DC.test(e)||GR.test(e)}function fg(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function Aw(e){return e=e.trim().replace(/\s+/g," "),"ẞ".toLowerCase()==="Ṿ"&&(e=e.replace(/ẞ/g,"ß")),e.toLowerCase().toUpperCase()}const Mie={mdurl:iie,ucmicro:lie},Nie=Object.freeze(Object.defineProperty({__proto__:null,arrayReplaceAt:ZR,assign:Cw,escapeHtml:qu,escapeRE:Die,fromCodePoint:Db,has:jie,isMdAsciiPunct:fg,isPunctChar:pg,isSpace:yo,isString:MC,isValidEntityCode:NC,isWhiteSpace:dg,lib:Mie,normalizeReference:Aw,unescapeAll:th,unescapeMd:Eie},Symbol.toStringTag,{value:"Module"}));function Lie(e,t,r){let n,o,s,i;const a=e.posMax,l=e.pos;for(e.pos=t+1,n=1;e.pos32))return s;if(n===41){if(i===0)break;i--}o++}return t===o||i!==0||(s.str=th(e.slice(t,o)),s.pos=o,s.ok=!0),s}function Bie(e,t,r,n){let o,s=t;const i={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(n)i.str=n.str,i.marker=n.marker;else{if(s>=r)return i;let a=e.charCodeAt(s);if(a!==34&&a!==39&&a!==40)return i;t++,s++,a===40&&(a=41),i.marker=a}for(;s"+qu(s.content)+""};Ul.code_block=function(e,t,r,n,o){const s=e[t];return""+qu(e[t].content)+` `};Ul.fence=function(e,t,r,n,o){const s=e[t],i=s.info?th(s.info).trim():"";let a="",l="";if(i){const u=i.split(/(\s+)/g);a=u[0],l=u.slice(2).join("")}let c;if(r.highlight?c=r.highlight(s.content,a,l)||qu(s.content):c=qu(s.content),c.indexOf("${c} `}return`
${c}
@@ -203,27 +203,27 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `),o+=(n.nesting===-1?" `:">",o};Eh.prototype.renderInline=function(e,t,r){let n="";const o=this.rules;for(let s=0,i=e.length;s=0&&(r=this.attrs[t][1]),r};tl.prototype.attrJoin=function(e,t){const r=this.attrIndex(e);r<0?this.attrPush([e,t]):this.attrs[r][1]=this.attrs[r][1]+" "+t};function YR(e,t,r){this.src=e,this.env=r,this.tokens=[],this.inlineMode=!1,this.md=t}YR.prototype.Token=tl;const zie=/\r\n?|\n/g,Fie=/\0/g;function Vie(e){let t;t=e.src.replace(zie,` -`),t=t.replace(Fie,"�"),e.src=t}function Uie(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Hie(e){const t=e.tokens;for(let r=0,n=t.length;r\s]/i.test(e)}function Gie(e){return/^<\/a\s*>/i.test(e)}function Jie(e){const t=e.tokens;if(e.md.options.linkify)for(let r=0,n=t.length;r=0;i--){const a=o[i];if(a.type==="link_close"){for(i--;o[i].level!==a.level&&o[i].type!=="link_open";)i--;continue}if(a.type==="html_inline"&&(Wie(a.content)&&s>0&&s--,Gie(a.content)&&s++),!(s>0)&&a.type==="text"&&e.md.linkify.test(a.content)){const l=a.content;let c=e.md.linkify.match(l);const u=[];let d=a.level,p=0;c.length>0&&c[0].index===0&&i>0&&o[i-1].type==="text_special"&&(c=c.slice(1));for(let f=0;fp){const x=new e.Token("text","",0);x.content=l.slice(p,y),x.level=d,u.push(x)}const b=new e.Token("link_open","a",1);b.attrs=[["href",v]],b.level=d++,b.markup="linkify",b.info="auto",u.push(b);const w=new e.Token("text","",0);w.content=g,w.level=d,u.push(w);const k=new e.Token("link_close","a",-1);k.level=--d,k.markup="linkify",k.info="auto",u.push(k),p=c[f].lastIndex}if(p=0;r--){const n=e[r];n.type==="text"&&!t&&(n.content=n.content.replace(Qie,Xie)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function eae(e){let t=0;for(let r=e.length-1;r>=0;r--){const n=e[r];n.type==="text"&&!t&&e8.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function tae(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Kie.test(e.tokens[t].content)&&Yie(e.tokens[t].children),e8.test(e.tokens[t].content)&&eae(e.tokens[t].children))}const rae=/['"]/,M$=/['"]/g,L$="’";function ny(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}function nae(e,t){let r;const n=[];for(let o=0;o=0&&!(n[r].level<=i);r--);if(n.length=r+1,s.type!=="text")continue;let a=s.content,l=0,c=a.length;e:for(;l=0)m=a.charCodeAt(u.index-1);else for(r=o-1;r>=0&&!(e[r].type==="softbreak"||e[r].type==="hardbreak");r--)if(e[r].content){m=e[r].content.charCodeAt(e[r].content.length-1);break}let v=32;if(l=48&&m<=57&&(p=d=!1),d&&p&&(d=g,p=y),!d&&!p){f&&(s.content=ny(s.content,u.index,L$));continue}if(p)for(r=n.length-1;r>=0;r--){let k=n[r];if(n[r].level=0;t--)e.tokens[t].type!=="inline"||!rae.test(e.tokens[t].content)||nae(e.tokens[t].children,e)}function sae(e){let t,r;const n=e.tokens,o=n.length;for(let s=0;s0&&this.level++,this.tokens.push(n),n};Hl.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Hl.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!yo(this.src.charCodeAt(--e)))return e+1;return e};Hl.prototype.skipChars=function(e,t){for(let r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e};Hl.prototype.getLines=function(e,t,r,n){if(e>=t)return"";const o=new Array(t-e);for(let s=0,i=e;ir?o[s]=new Array(a-r+1).join(" ")+this.src.slice(c,u):o[s]=this.src.slice(c,u)}return o.join("")};Hl.prototype.Token=tl;const iae=65536;function yk(e,t){const r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(r,n)}function N$(e){const t=[],r=e.length;let n=0,o=e.charCodeAt(n),s=!1,i=0,a="";for(;nr)return!1;let o=t+1;if(e.sCount[o]=4)return!1;let s=e.bMarks[o]+e.tShift[o];if(s>=e.eMarks[o])return!1;const i=e.src.charCodeAt(s++);if(i!==124&&i!==45&&i!==58||s>=e.eMarks[o])return!1;const a=e.src.charCodeAt(s++);if(a!==124&&a!==45&&a!==58&&!yo(a)||i===45&&yo(a))return!1;for(;s=4)return!1;c=N$(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const d=c.length;if(d===0||d!==u.length)return!1;if(n)return!0;const p=e.parentType;e.parentType="table";const f=e.md.block.ruler.getRules("blockquote"),m=e.push("table_open","table",1),v=[t,0];m.map=v;const g=e.push("thead_open","thead",1);g.map=[t,t+1];const y=e.push("tr_open","tr",1);y.map=[t,t+1];for(let k=0;k=4||(c=N$(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),w+=d-c.length,w>iae))break;if(o===t+2){const j=e.push("tbody_open","tbody",1);j.map=b=[t+2,0]}const x=e.push("tr_open","tr",1);x.map=[o,o+1];for(let j=0;j=4){n++,o=n;continue}break}e.line=o;const s=e.push("code_block","code",0);return s.content=e.getLines(t,o,4+e.blkIndent,!1)+` -`,s.map=[t,e.line],!0}function cae(e,t,r,n){let o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||o+3>s)return!1;const i=e.src.charCodeAt(o);if(i!==126&&i!==96)return!1;let a=o;o=e.skipChars(o,i);let l=o-a;if(l<3)return!1;const c=e.src.slice(a,o),u=e.src.slice(o,s);if(i===96&&u.indexOf(String.fromCharCode(i))>=0)return!1;if(n)return!0;let d=t,p=!1;for(;d++,!(d>=r||(o=a=e.bMarks[d]+e.tShift[d],s=e.eMarks[d],o=4)&&(o=e.skipChars(o,i),!(o-a=4||e.src.charCodeAt(o)!==62)return!1;if(n)return!0;const a=[],l=[],c=[],u=[],d=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let f=!1,m;for(m=t;m=s)break;if(e.src.charCodeAt(o++)===62&&!w){let x=e.sCount[m]+1,j,_;e.src.charCodeAt(o)===32?(o++,x++,_=!1,j=!0):e.src.charCodeAt(o)===9?(j=!0,(e.bsCount[m]+x)%4===3?(o++,x++,_=!1):_=!0):j=!1;let C=x;for(a.push(e.bMarks[m]),e.bMarks[m]=o;o=s,l.push(e.bsCount[m]),e.bsCount[m]=e.sCount[m]+1+(j?1:0),c.push(e.sCount[m]),e.sCount[m]=C-x,u.push(e.tShift[m]),e.tShift[m]=o-e.bMarks[m];continue}if(f)break;let k=!1;for(let x=0,j=d.length;x";const y=[t,0];g.map=y,e.md.block.tokenize(e,t,m);const b=e.push("blockquote_close","blockquote",-1);b.markup=">",e.lineMax=i,e.parentType=p,y[1]=e.line;for(let w=0;w=4)return!1;let s=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(s++);if(i!==42&&i!==45&&i!==95)return!1;let a=1;for(;s=n)return-1;let s=e.src.charCodeAt(o++);if(s<48||s>57)return-1;for(;;){if(o>=n)return-1;if(s=e.src.charCodeAt(o++),s>=48&&s<=57){if(o-r>=10)return-1;continue}if(s===41||s===46)break;return-1}return o=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(u=!0);let d,p,f;if((f=B$(e,l))>=0){if(d=!0,i=e.bMarks[l]+e.tShift[l],p=Number(e.src.slice(i,f-1)),u&&p!==1)return!1}else if((f=R$(e,l))>=0)d=!1;else return!1;if(u&&e.skipSpaces(f)>=e.eMarks[l])return!1;if(n)return!0;const m=e.src.charCodeAt(f-1),v=e.tokens.length;d?(a=e.push("ordered_list_open","ol",1),p!==1&&(a.attrs=[["start",p]])):a=e.push("bullet_list_open","ul",1);const g=[l,0];a.map=g,a.markup=String.fromCharCode(m);let y=!1;const b=e.md.block.ruler.getRules("list"),w=e.parentType;for(e.parentType="list";l=o?_=1:_=x-k,_>4&&(_=1);const C=k+_;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(m);const A=[l,0];a.map=A,d&&(a.info=e.src.slice(i,f-1));const I=e.tight,M=e.tShift[l],N=e.sCount[l],F=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=C,e.tight=!0,e.tShift[l]=j-e.bMarks[l],e.sCount[l]=x,j>=o&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,l,r,!0),(!e.tight||y)&&(c=!1),y=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=F,e.tShift[l]=M,e.sCount[l]=N,e.tight=I,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(m),l=e.line,A[1]=l,l>=r||e.sCount[l]=4)break;let z=!1;for(let L=0,X=b.length;L=4||e.src.charCodeAt(o)!==91)return!1;function a(b){const w=e.lineMax;if(b>=w||e.isEmpty(b))return null;let k=!1;if(e.sCount[b]-e.blkIndent>3&&(k=!0),e.sCount[b]<0&&(k=!0),!k){const _=e.md.block.ruler.getRules("reference"),C=e.parentType;e.parentType="reference";let A=!1;for(let I=0,M=_.length;I"u"&&(e.env.references={}),typeof e.env.references[y]>"u"&&(e.env.references[y]={title:g,href:d}),e.line=i),!0):!1}const mae=["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"],gae="[a-zA-Z_:][a-zA-Z0-9:._-]*",vae="[^\"'=<>`\\x00-\\x20]+",yae="'[^']*'",bae='"[^"]*"',wae="(?:"+vae+"|"+yae+"|"+bae+")",xae="(?:\\s+"+gae+"(?:\\s*=\\s*"+wae+")?)",t8="<[A-Za-z][A-Za-z0-9\\-]*"+xae+"*\\s*\\/?>",r8="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",kae="",jae="<[?][\\s\\S]*?[?]>",_ae="]*>",Sae="",Cae=new RegExp("^(?:"+t8+"|"+r8+"|"+kae+"|"+jae+"|"+_ae+"|"+Sae+")"),Aae=new RegExp("^(?:"+t8+"|"+r8+")"),Gp=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Aae.source+"\\s*$"),/^$/,!1]];function Eae(e,t,r,n){let o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(o)!==60)return!1;let i=e.src.slice(o,s),a=0;for(;a=4)return!1;let i=e.src.charCodeAt(o);if(i!==35||o>=s)return!1;let a=1;for(i=e.src.charCodeAt(++o);i===35&&o6||oo&&yo(e.src.charCodeAt(l-1))&&(s=l),e.line=t+1;const c=e.push("heading_open","h"+String(a),1);c.markup="########".slice(0,a),c.map=[t,e.line];const u=e.push("inline","",0);u.content=e.src.slice(o,s).trim(),u.map=[t,e.line],u.children=[];const d=e.push("heading_close","h"+String(a),-1);return d.markup="########".slice(0,a),!0}function $ae(e,t,r){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const o=e.parentType;e.parentType="paragraph";let s=0,i,a=t+1;for(;a3)continue;if(e.sCount[a]>=e.blkIndent){let f=e.bMarks[a]+e.tShift[a];const m=e.eMarks[a];if(f=m))){s=i===61?1:2;break}}if(e.sCount[a]<0)continue;let p=!1;for(let f=0,m=n.length;f3||e.sCount[s]<0)continue;let c=!1;for(let u=0,d=n.length;u=r||e.sCount[i]=s){e.line=r;break}const l=e.line;let c=!1;for(let u=0;u=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),i=e.line,i0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(o),n};vv.prototype.scanDelims=function(e,t){const r=this.posMax,n=this.src.charCodeAt(e),o=e>0?this.src.charCodeAt(e-1):32;let s=e;for(;s0)return!1;const r=e.pos,n=e.posMax;if(r+3>n||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47)return!1;const o=e.pending.match(Dae);if(!o)return!1;const s=o[1],i=e.md.linkify.matchAtStart(e.src.slice(r-s.length));if(!i)return!1;let a=i.url;if(a.length<=s.length)return!1;let l=a.length;for(;l>0&&a.charCodeAt(l-1)===42;)l--;l!==a.length&&(a=a.slice(0,l));const c=e.md.normalizeLink(a);if(!e.md.validateLink(c))return!1;if(!t){e.pending=e.pending.slice(0,-s.length);const u=e.push("link_open","a",1);u.attrs=[["href",c]],u.markup="linkify",u.info="auto";const d=e.push("text","",0);d.content=e.md.normalizeLinkText(a);const p=e.push("link_close","a",-1);p.markup="linkify",p.info="auto"}return e.pos+=a.length-s.length,!0}function Lae(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==10)return!1;const n=e.pending.length-1,o=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let s=n-1;for(;s>=1&&e.pending.charCodeAt(s-1)===32;)s--;e.pending=e.pending.slice(0,s),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(r++;r?@[]^_`{|}~-".split("").forEach(function(e){RC[e.charCodeAt(0)]=1});function Nae(e,t){let r=e.pos;const n=e.posMax;if(e.src.charCodeAt(r)!==92||(r++,r>=n))return!1;let o=e.src.charCodeAt(r);if(o===10){for(t||e.push("hardbreak","br",0),r++;r=55296&&o<=56319&&r+1=56320&&a<=57343&&(s+=e.src[r+1],r++)}const i="\\"+s;if(!t){const a=e.push("text_special","",0);o<256&&RC[o]!==0?a.content=s:a.content=i,a.markup=i,a.info="escape"}return e.pos=r+1,!0}function Rae(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==96)return!1;const n=r;r++;const o=e.posMax;for(;r=0;n--){const o=t[n];if(o.marker!==95&&o.marker!==42||o.end===-1)continue;const s=t[o.end],i=n>0&&t[n-1].end===o.end+1&&t[n-1].marker===o.marker&&t[n-1].token===o.token-1&&t[o.end+1].token===s.token+1,a=String.fromCharCode(o.marker),l=e.tokens[o.token];l.type=i?"strong_open":"em_open",l.tag=i?"strong":"em",l.nesting=1,l.markup=i?a+a:a,l.content="";const c=e.tokens[s.token];c.type=i?"strong_close":"em_close",c.tag=i?"strong":"em",c.nesting=-1,c.markup=i?a+a:a,c.content="",i&&(e.tokens[t[n-1].token].content="",e.tokens[t[o.end+1].token].content="",n--)}}function Fae(e){const t=e.tokens_meta,r=e.tokens_meta.length;z$(e,e.delimiters);for(let n=0;n=d)return!1;if(l=m,o=e.md.helpers.parseLinkDestination(e.src,m,e.posMax),o.ok){for(i=e.md.normalizeLink(o.str),e.md.validateLink(i)?m=o.pos:i="",l=m;m=d||e.src.charCodeAt(m)!==41)&&(c=!0),m++}if(c){if(typeof e.env.references>"u")return!1;if(m=0?n=e.src.slice(l,m++):m=f+1):m=f+1,n||(n=e.src.slice(p,f)),s=e.env.references[Aw(n)],!s)return e.pos=u,!1;i=s.href,a=s.title}if(!t){e.pos=p,e.posMax=f;const v=e.push("link_open","a",1),g=[["href",i]];v.attrs=g,a&&g.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=m,e.posMax=d,!0}function Uae(e,t){let r,n,o,s,i,a,l,c,u="";const d=e.pos,p=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const f=e.pos+2,m=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(m<0)return!1;if(s=m+1,s=p)return!1;for(c=s,a=e.md.helpers.parseLinkDestination(e.src,s,e.posMax),a.ok&&(u=e.md.normalizeLink(a.str),e.md.validateLink(u)?s=a.pos:u=""),c=s;s=p||e.src.charCodeAt(s)!==41)return e.pos=d,!1;s++}else{if(typeof e.env.references>"u")return!1;if(s=0?o=e.src.slice(c,s++):s=m+1):s=m+1,o||(o=e.src.slice(f,m)),i=e.env.references[Aw(o)],!i)return e.pos=d,!1;u=i.href,l=i.title}if(!t){n=e.src.slice(f,m);const v=[];e.md.inline.parse(n,e.md,e.env,v);const g=e.push("image","img",0),y=[["src",u],["alt",""]];g.attrs=y,g.children=v,g.content=n,l&&y.push(["title",l])}return e.pos=s,e.posMax=p,!0}const Hae=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Wae=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Gae(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==60)return!1;const n=e.pos,o=e.posMax;for(;;){if(++r>=o)return!1;const i=e.src.charCodeAt(r);if(i===60)return!1;if(i===62)break}const s=e.src.slice(n+1,r);if(Wae.test(s)){const i=e.md.normalizeLink(s);if(!e.md.validateLink(i))return!1;if(!t){const a=e.push("link_open","a",1);a.attrs=[["href",i]],a.markup="autolink",a.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(s);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=s.length+2,!0}if(Hae.test(s)){const i=e.md.normalizeLink("mailto:"+s);if(!e.md.validateLink(i))return!1;if(!t){const a=e.push("link_open","a",1);a.attrs=[["href",i]],a.markup="autolink",a.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(s);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=s.length+2,!0}return!1}function Jae(e){return/^\s]/i.test(e)}function Kae(e){return/^<\/a\s*>/i.test(e)}function Qae(e){const t=e|32;return t>=97&&t<=122}function Zae(e,t){if(!e.md.options.html)return!1;const r=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=r)return!1;const o=e.src.charCodeAt(n+1);if(o!==33&&o!==63&&o!==47&&!Qae(o))return!1;const s=e.src.slice(n).match(Cae);if(!s)return!1;if(!t){const i=e.push("html_inline","",0);i.content=s[0],Jae(i.content)&&e.linkLevel++,Kae(i.content)&&e.linkLevel--}return e.pos+=s[0].length,!0}const Xae=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Yae=/^&([a-z][a-z0-9]{1,31});/i;function ele(e,t){const r=e.pos,n=e.posMax;if(e.src.charCodeAt(r)!==38||r+1>=n)return!1;if(e.src.charCodeAt(r+1)===35){const o=e.src.slice(r).match(Xae);if(o){if(!t){const s=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),i=e.push("text_special","",0);i.content=LC(s)?Db(s):Db(65533),i.markup=o[0],i.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(r).match(Yae);if(o){const s=QR(o[0]);if(s!==o[0]){if(!t){const i=e.push("text_special","",0);i.content=s,i.markup=o[0],i.info="entity"}return e.pos+=o[0].length,!0}}}return!1}function F$(e){const t={},r=e.length;if(!r)return;let n=0,o=-2;const s=[];for(let i=0;il;c-=s[c]+1){const d=e[c];if(d.marker===a.marker&&d.open&&d.end<0){let p=!1;if((d.close||a.open)&&(d.length+a.length)%3===0&&(d.length%3!==0||a.length%3!==0)&&(p=!0),!p){const f=c>0&&!e[c-1].open?s[c-1]+1:0;s[i]=i-c+f,s[c]=f,a.open=!1,d.end=i,d.close=!1,u=-1,o=-2;break}}}u!==-1&&(t[a.marker][(a.open?3:0)+(a.length||0)%3]=u)}}function tle(e){const t=e.tokens_meta,r=e.tokens_meta.length;F$(e.delimiters);for(let n=0;n0&&n++,o[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;i||e.pos++,s[t]=e.pos};yv.prototype.tokenize=function(e){const t=this.ruler.getRules(""),r=t.length,n=e.posMax,o=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(i){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};yv.prototype.parse=function(e,t,r,n){const o=new this.State(e,t,r,n);this.tokenize(o);const s=this.ruler2.getRules(""),i=s.length;for(let a=0;a|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function C_(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function Ow(e){return Object.prototype.toString.call(e)}function ole(e){return Ow(e)==="[object String]"}function sle(e){return Ow(e)==="[object Object]"}function ile(e){return Ow(e)==="[object RegExp]"}function V$(e){return Ow(e)==="[object Function]"}function ale(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const s8={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function lle(e){return Object.keys(e||{}).reduce(function(t,r){return t||s8.hasOwnProperty(r)},!1)}const cle={"http:":{validate:function(e,t,r){const n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){const n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){const n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},ule="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",dle="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function ple(e){e.__index__=-1,e.__text_cache__=""}function fle(e){return function(t,r){const n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}function U$(){return function(e,t){t.normalize(e)}}function Mb(e){const t=e.re=nle(e.__opts__),r=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||r.push(ule),r.push(t.src_xn),t.src_tlds=r.join("|");function n(a){return a.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");const o=[];e.__compiled__={};function s(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(e.__schemas__).forEach(function(a){const l=e.__schemas__[a];if(l===null)return;const c={validate:null,link:null};if(e.__compiled__[a]=c,sle(l)){ile(l.validate)?c.validate=fle(l.validate):V$(l.validate)?c.validate=l.validate:s(a,l),V$(l.normalize)?c.normalize=l.normalize:l.normalize?s(a,l):c.normalize=U$();return}if(ole(l)){o.push(a);return}s(a,l)}),o.forEach(function(a){e.__compiled__[e.__schemas__[a]]&&(e.__compiled__[a].validate=e.__compiled__[e.__schemas__[a]].validate,e.__compiled__[a].normalize=e.__compiled__[e.__schemas__[a]].normalize)}),e.__compiled__[""]={validate:null,normalize:U$()};const i=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(ale).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),ple(e)}function hle(e,t){const r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function A_(e,t){const r=new hle(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function Ui(e,t){if(!(this instanceof Ui))return new Ui(e,t);t||lle(e)&&(t=e,e={}),this.__opts__=C_({},s8,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=C_({},cle,e),this.__compiled__={},this.__tlds__=dle,this.__tlds_replaced__=!1,this.re={},Mb(this)}Ui.prototype.add=function(e,t){return this.__schemas__[e]=t,Mb(this),this};Ui.prototype.set=function(e){return this.__opts__=C_(this.__opts__,e),this};Ui.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,r,n,o,s,i,a,l,c;if(this.re.schema_test.test(e)){for(a=this.re.schema_search,a.lastIndex=0;(t=a.exec(e))!==null;)if(o=this.testSchemaAt(e,t[2],a.lastIndex),o){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&(n=e.match(this.re.email_fuzzy))!==null&&(s=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=i))),this.__index__>=0};Ui.prototype.pretest=function(e){return this.re.pretest.test(e)};Ui.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0};Ui.prototype.match=function(e){const t=[];let r=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(A_(this,r)),r=this.__last_index__);let n=r?e.slice(r):e;for(;this.test(n);)t.push(A_(this,r)),n=n.slice(this.__last_index__),r+=this.__last_index__;return t.length?t:null};Ui.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,A_(this,0)):null};Ui.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,n,o){return r!==o[n-1]}).reverse(),Mb(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Mb(this),this)};Ui.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};Ui.prototype.onCompile=function(){};const If=2147483647,wl=36,BC=1,hg=26,mle=38,gle=700,i8=72,a8=128,l8="-",vle=/^xn--/,yle=/[^\0-\x7F]/,ble=/[\x2E\u3002\uFF0E\uFF61]/g,wle={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},xk=wl-BC,xl=Math.floor,kk=String.fromCharCode;function uu(e){throw new RangeError(wle[e])}function xle(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}function c8(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(ble,".");const o=e.split("."),s=xle(o,t).join(".");return n+s}function u8(e){const t=[];let r=0;const n=e.length;for(;r=55296&&o<=56319&&rString.fromCodePoint(...e),jle=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:wl},H$=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},d8=function(e,t,r){let n=0;for(e=r?xl(e/gle):e>>1,e+=xl(e/t);e>xk*hg>>1;n+=wl)e=xl(e/xk);return xl(n+(xk+1)*e/(e+mle))},p8=function(e){const t=[],r=e.length;let n=0,o=a8,s=i8,i=e.lastIndexOf(l8);i<0&&(i=0);for(let a=0;a=128&&uu("not-basic"),t.push(e.charCodeAt(a));for(let a=i>0?i+1:0;a=r&&uu("invalid-input");const p=jle(e.charCodeAt(a++));p>=wl&&uu("invalid-input"),p>xl((If-n)/u)&&uu("overflow"),n+=p*u;const f=d<=s?BC:d>=s+hg?hg:d-s;if(pxl(If/m)&&uu("overflow"),u*=m}const c=t.length+1;s=d8(n-l,c,l==0),xl(n/c)>If-o&&uu("overflow"),o+=xl(n/c),n%=c,t.splice(n++,0,o)}return String.fromCodePoint(...t)},f8=function(e){const t=[];e=u8(e);const r=e.length;let n=a8,o=0,s=i8;for(const l of e)l<128&&t.push(kk(l));const i=t.length;let a=i;for(i&&t.push(l8);a=n&&uxl((If-o)/c)&&uu("overflow"),o+=(l-n)*c,n=l;for(const u of e)if(uIf&&uu("overflow"),u===n){let d=o;for(let p=wl;;p+=wl){const f=p<=s?BC:p>=s+hg?hg:p-s;if(d=0))try{t.hostname=h8.toASCII(t.hostname)}catch{}return gv(PC(t))}function Dle(e){const t=IC(e,!0);if(t.hostname&&(!t.protocol||m8.indexOf(t.protocol)>=0))try{t.hostname=h8.toUnicode(t.hostname)}catch{}return eh(PC(t),eh.defaultChars+"%")}function ha(e,t){if(!(this instanceof ha))return new ha(e,t);t||MC(e)||(t=e||{},e="default"),this.inline=new yv,this.block=new Ew,this.core=new NC,this.renderer=new Eh,this.linkify=new Ui,this.validateLink=Ple,this.normalizeLink=Ile,this.normalizeLinkText=Dle,this.utils=Lie,this.helpers=Cw({},qie),this.options={},this.configure(e),t&&this.set(t)}ha.prototype.set=function(e){return Cw(this.options,e),this};ha.prototype.configure=function(e){const t=this;if(MC(e)){const r=e;if(e=Ole[r],!e)throw new Error('Wrong `markdown-it` preset "'+r+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this};ha.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){r=r.concat(this[o].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(o){return r.indexOf(o)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};ha.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){r=r.concat(this[o].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(o){return r.indexOf(o)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};ha.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};ha.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const r=new this.core.State(e,this,t);return this.core.process(r),r.tokens};ha.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};ha.prototype.parseInline=function(e,t){const r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens};ha.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};function qC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jk,W$;function Mle(){if(W$)return jk;W$=1;function e(n,o){var s,i,a=n.attrs[n.attrIndex("href")][1];for(s=0;s=1?r[0]:null}function Ble(e,t,r){let n="";return t+1${t.toUpperCase()}${r}`}function zle(e,t,r){e[t].type="html_inline",e[t].content=r,e[t].children=[],t+1{const r=e.renderer.rules.link_open||G$,n=e.renderer.rules.link_close||G$,{linkPrefix:o="/operations/",transformHref:s,createOperationLinkHtml:i}=t,a=yR();e.renderer.rules.link_open=function(l,c,u,d,p){var x,j;const f=l[c].attrIndex("href");if(f<0)return r(l,c,u,d,p);const m=l[c].attrs[f][1],v=Rle(m,o);if(!v)return r(l,c,u,d,p);const g=(x=a.getOperation)==null?void 0:x.call(a,v);if(!g)return r(l,c,u,d,p);const y=((j=a.getOperationMethod)==null?void 0:j.call(a,v))||"get",b=Ble(l,c,g);let w=m;s&&(w=s(m),l[c].attrs[f][1]=w);const k=i?i(w,y,b):qle(w,y,b);return zle(l,c,k),k},e.renderer.rules.link_close=function(l,c,u,d,p){return l[c].type==="text"&&l[c].content===""?"":n(l,c,u,d,p)}},Vle=/^https?:\/\//;function Ule(){const e=kn(),t=e.getOperationLinkConfig(),{externalLinksNewTab:r,config:n}=e.getMarkdownConfig();let o=ha({html:!0,breaks:!0});r&&o.use(Nle,[{matcher(i){return Vle.test(i)},attrs:{target:"_blank",rel:"noopener"}}]),t!==!1&&o.use(Fle,t),n&&(o=n(o)||o);function s(i){return o.render(i||"")}return{md:o,render:s}}const Hle=["innerHTML"],Wl={__name:"OAMarkdown",props:{content:{type:String,required:!1,default:""},class:{type:String,required:!1}},setup(e){const t=e,{render:r}=Ule();return(n,o)=>(E(),K("div",{class:Lt(S(Ko)("OAMarkdown oa-doc",t.class)),innerHTML:S(r)(t.content)},null,10,Hle))}},$w=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r},Wle={},Gle={class:"animate-pulse flex flex-col gap-6 p-4"};function Jle(e,t){return E(),K("div",Gle,[...t[0]||(t[0]=[gU('


',5)])])}const g8=$w(Wle,[["render",Jle]]),Kle=Te({__name:"OAProviderAsync",props:{spec:{type:[Object,String],required:!1,default:null},specUrl:{type:String,required:!1,default:null}},emits:["update:spec"],async setup(e,{emit:t}){let r,n;const o=e,s=t;async function i(d){var f;const p=await fetch(d);if(!p.ok)throw new Error(`Failed to fetch ${d}: ${p.status} ${p.statusText}`);return(f=p.headers.get("content-type"))!=null&&f.toLowerCase().includes("yaml")||d.endsWith(".yaml")||d.endsWith(".yml")?await p.text():p.json()}function a(d){return typeof d=="string"?eR(d):d}const l=o.spec||(o.specUrl?([r,n]=jO(()=>i(o.specUrl)),r=await r,n(),r):null);l&&s("update:spec",l);const c=l?([r,n]=jO(()=>SC().parseAsync({spec:l})),r=await r,n(),r):{},u=_C({spec:c,originalSpec:l?a(l):null});return wp(CC,u),(d,p)=>pe(d.$slots,"default",{openapi:S(u)})}}),Qle={key:2},bv=Te({__name:"OAProvider",props:{spec:{type:[Object,String],required:!1,default:null},specUrl:{type:String,required:!1,default:null},openapi:{type:Object,required:!1,default:null}},emits:["update:spec"],setup(e,{emit:t}){const r=e,n=t,o=r.spec||r.specUrl,s=r.openapi??AC()??vR();return s&&!o&&wp(CC,s),(i,a)=>S(o)?(E(),ve(iU,{key:0},{fallback:U(()=>[ye(g8)]),default:U(()=>[ye(Kle,{spec:r.spec,"spec-url":r.specUrl,"onUpdate:spec":a[0]||(a[0]=l=>n("update:spec",l))},{default:U(({openapi:l})=>[pe(i.$slots,"default",{openapi:l})]),_:3},8,["spec","spec-url"])]),_:3})):S(s)?pe(i.$slots,"default",{key:1,openapi:S(s)}):(E(),K("div",Qle,[...a[1]||(a[1]=[ue("p",null,"OpenAPI instance not found",-1)])]))}});function v8(e){return typeof e>"u"||e===null}function Zle(e){return typeof e=="object"&&e!==null}function Xle(e){return Array.isArray(e)?e:v8(e)?[]:[e]}function Yle(e,t){var r,n,o,s;if(t)for(s=Object.keys(t),r=0,n=s.length;r\s]/i.test(e)}function Gie(e){return/^<\/a\s*>/i.test(e)}function Jie(e){const t=e.tokens;if(e.md.options.linkify)for(let r=0,n=t.length;r=0;i--){const a=o[i];if(a.type==="link_close"){for(i--;o[i].level!==a.level&&o[i].type!=="link_open";)i--;continue}if(a.type==="html_inline"&&(Wie(a.content)&&s>0&&s--,Gie(a.content)&&s++),!(s>0)&&a.type==="text"&&e.md.linkify.test(a.content)){const l=a.content;let c=e.md.linkify.match(l);const u=[];let d=a.level,p=0;c.length>0&&c[0].index===0&&i>0&&o[i-1].type==="text_special"&&(c=c.slice(1));for(let f=0;fp){const x=new e.Token("text","",0);x.content=l.slice(p,y),x.level=d,u.push(x)}const b=new e.Token("link_open","a",1);b.attrs=[["href",v]],b.level=d++,b.markup="linkify",b.info="auto",u.push(b);const w=new e.Token("text","",0);w.content=g,w.level=d,u.push(w);const k=new e.Token("link_close","a",-1);k.level=--d,k.markup="linkify",k.info="auto",u.push(k),p=c[f].lastIndex}if(p=0;r--){const n=e[r];n.type==="text"&&!t&&(n.content=n.content.replace(Qie,Xie)),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function eae(e){let t=0;for(let r=e.length-1;r>=0;r--){const n=e[r];n.type==="text"&&!t&&e8.test(n.content)&&(n.content=n.content.replace(/\+-/g,"±").replace(/\.{2,}/g,"…").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/mg,"$1—").replace(/(^|\s)--(?=\s|$)/mg,"$1–").replace(/(^|[^-\s])--(?=[^-\s]|$)/mg,"$1–")),n.type==="link_open"&&n.info==="auto"&&t--,n.type==="link_close"&&n.info==="auto"&&t++}}function tae(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Kie.test(e.tokens[t].content)&&Yie(e.tokens[t].children),e8.test(e.tokens[t].content)&&eae(e.tokens[t].children))}const rae=/['"]/,M$=/['"]/g,N$="’";function ny(e,t,r){return e.slice(0,t)+r+e.slice(t+1)}function nae(e,t){let r;const n=[];for(let o=0;o=0&&!(n[r].level<=i);r--);if(n.length=r+1,s.type!=="text")continue;let a=s.content,l=0,c=a.length;e:for(;l=0)m=a.charCodeAt(u.index-1);else for(r=o-1;r>=0&&!(e[r].type==="softbreak"||e[r].type==="hardbreak");r--)if(e[r].content){m=e[r].content.charCodeAt(e[r].content.length-1);break}let v=32;if(l=48&&m<=57&&(p=d=!1),d&&p&&(d=g,p=y),!d&&!p){f&&(s.content=ny(s.content,u.index,N$));continue}if(p)for(r=n.length-1;r>=0;r--){let k=n[r];if(n[r].level=0;t--)e.tokens[t].type!=="inline"||!rae.test(e.tokens[t].content)||nae(e.tokens[t].children,e)}function sae(e){let t,r;const n=e.tokens,o=n.length;for(let s=0;s0&&this.level++,this.tokens.push(n),n};Hl.prototype.isEmpty=function(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]};Hl.prototype.skipEmptyLines=function(e){for(let t=this.lineMax;et;)if(!yo(this.src.charCodeAt(--e)))return e+1;return e};Hl.prototype.skipChars=function(e,t){for(let r=this.src.length;er;)if(t!==this.src.charCodeAt(--e))return e+1;return e};Hl.prototype.getLines=function(e,t,r,n){if(e>=t)return"";const o=new Array(t-e);for(let s=0,i=e;ir?o[s]=new Array(a-r+1).join(" ")+this.src.slice(c,u):o[s]=this.src.slice(c,u)}return o.join("")};Hl.prototype.Token=tl;const iae=65536;function yk(e,t){const r=e.bMarks[t]+e.tShift[t],n=e.eMarks[t];return e.src.slice(r,n)}function L$(e){const t=[],r=e.length;let n=0,o=e.charCodeAt(n),s=!1,i=0,a="";for(;nr)return!1;let o=t+1;if(e.sCount[o]=4)return!1;let s=e.bMarks[o]+e.tShift[o];if(s>=e.eMarks[o])return!1;const i=e.src.charCodeAt(s++);if(i!==124&&i!==45&&i!==58||s>=e.eMarks[o])return!1;const a=e.src.charCodeAt(s++);if(a!==124&&a!==45&&a!==58&&!yo(a)||i===45&&yo(a))return!1;for(;s=4)return!1;c=L$(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop();const d=c.length;if(d===0||d!==u.length)return!1;if(n)return!0;const p=e.parentType;e.parentType="table";const f=e.md.block.ruler.getRules("blockquote"),m=e.push("table_open","table",1),v=[t,0];m.map=v;const g=e.push("thead_open","thead",1);g.map=[t,t+1];const y=e.push("tr_open","tr",1);y.map=[t,t+1];for(let k=0;k=4||(c=L$(l),c.length&&c[0]===""&&c.shift(),c.length&&c[c.length-1]===""&&c.pop(),w+=d-c.length,w>iae))break;if(o===t+2){const j=e.push("tbody_open","tbody",1);j.map=b=[t+2,0]}const x=e.push("tr_open","tr",1);x.map=[o,o+1];for(let j=0;j=4){n++,o=n;continue}break}e.line=o;const s=e.push("code_block","code",0);return s.content=e.getLines(t,o,4+e.blkIndent,!1)+` +`,s.map=[t,e.line],!0}function cae(e,t,r,n){let o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||o+3>s)return!1;const i=e.src.charCodeAt(o);if(i!==126&&i!==96)return!1;let a=o;o=e.skipChars(o,i);let l=o-a;if(l<3)return!1;const c=e.src.slice(a,o),u=e.src.slice(o,s);if(i===96&&u.indexOf(String.fromCharCode(i))>=0)return!1;if(n)return!0;let d=t,p=!1;for(;d++,!(d>=r||(o=a=e.bMarks[d]+e.tShift[d],s=e.eMarks[d],o=4)&&(o=e.skipChars(o,i),!(o-a=4||e.src.charCodeAt(o)!==62)return!1;if(n)return!0;const a=[],l=[],c=[],u=[],d=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let f=!1,m;for(m=t;m=s)break;if(e.src.charCodeAt(o++)===62&&!w){let x=e.sCount[m]+1,j,_;e.src.charCodeAt(o)===32?(o++,x++,_=!1,j=!0):e.src.charCodeAt(o)===9?(j=!0,(e.bsCount[m]+x)%4===3?(o++,x++,_=!1):_=!0):j=!1;let C=x;for(a.push(e.bMarks[m]),e.bMarks[m]=o;o=s,l.push(e.bsCount[m]),e.bsCount[m]=e.sCount[m]+1+(j?1:0),c.push(e.sCount[m]),e.sCount[m]=C-x,u.push(e.tShift[m]),e.tShift[m]=o-e.bMarks[m];continue}if(f)break;let k=!1;for(let x=0,j=d.length;x";const y=[t,0];g.map=y,e.md.block.tokenize(e,t,m);const b=e.push("blockquote_close","blockquote",-1);b.markup=">",e.lineMax=i,e.parentType=p,y[1]=e.line;for(let w=0;w=4)return!1;let s=e.bMarks[t]+e.tShift[t];const i=e.src.charCodeAt(s++);if(i!==42&&i!==45&&i!==95)return!1;let a=1;for(;s=n)return-1;let s=e.src.charCodeAt(o++);if(s<48||s>57)return-1;for(;;){if(o>=n)return-1;if(s=e.src.charCodeAt(o++),s>=48&&s<=57){if(o-r>=10)return-1;continue}if(s===41||s===46)break;return-1}return o=4||e.listIndent>=0&&e.sCount[l]-e.listIndent>=4&&e.sCount[l]=e.blkIndent&&(u=!0);let d,p,f;if((f=B$(e,l))>=0){if(d=!0,i=e.bMarks[l]+e.tShift[l],p=Number(e.src.slice(i,f-1)),u&&p!==1)return!1}else if((f=R$(e,l))>=0)d=!1;else return!1;if(u&&e.skipSpaces(f)>=e.eMarks[l])return!1;if(n)return!0;const m=e.src.charCodeAt(f-1),v=e.tokens.length;d?(a=e.push("ordered_list_open","ol",1),p!==1&&(a.attrs=[["start",p]])):a=e.push("bullet_list_open","ul",1);const g=[l,0];a.map=g,a.markup=String.fromCharCode(m);let y=!1;const b=e.md.block.ruler.getRules("list"),w=e.parentType;for(e.parentType="list";l=o?_=1:_=x-k,_>4&&(_=1);const C=k+_;a=e.push("list_item_open","li",1),a.markup=String.fromCharCode(m);const A=[l,0];a.map=A,d&&(a.info=e.src.slice(i,f-1));const I=e.tight,M=e.tShift[l],L=e.sCount[l],F=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=C,e.tight=!0,e.tShift[l]=j-e.bMarks[l],e.sCount[l]=x,j>=o&&e.isEmpty(l+1)?e.line=Math.min(e.line+2,r):e.md.block.tokenize(e,l,r,!0),(!e.tight||y)&&(c=!1),y=e.line-l>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=F,e.tShift[l]=M,e.sCount[l]=L,e.tight=I,a=e.push("list_item_close","li",-1),a.markup=String.fromCharCode(m),l=e.line,A[1]=l,l>=r||e.sCount[l]=4)break;let z=!1;for(let N=0,X=b.length;N=4||e.src.charCodeAt(o)!==91)return!1;function a(b){const w=e.lineMax;if(b>=w||e.isEmpty(b))return null;let k=!1;if(e.sCount[b]-e.blkIndent>3&&(k=!0),e.sCount[b]<0&&(k=!0),!k){const _=e.md.block.ruler.getRules("reference"),C=e.parentType;e.parentType="reference";let A=!1;for(let I=0,M=_.length;I"u"&&(e.env.references={}),typeof e.env.references[y]>"u"&&(e.env.references[y]={title:g,href:d}),e.line=i),!0):!1}const mae=["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"],gae="[a-zA-Z_:][a-zA-Z0-9:._-]*",vae="[^\"'=<>`\\x00-\\x20]+",yae="'[^']*'",bae='"[^"]*"',wae="(?:"+vae+"|"+yae+"|"+bae+")",xae="(?:\\s+"+gae+"(?:\\s*=\\s*"+wae+")?)",t8="<[A-Za-z][A-Za-z0-9\\-]*"+xae+"*\\s*\\/?>",r8="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",kae="",jae="<[?][\\s\\S]*?[?]>",_ae="]*>",Sae="",Cae=new RegExp("^(?:"+t8+"|"+r8+"|"+kae+"|"+jae+"|"+_ae+"|"+Sae+")"),Aae=new RegExp("^(?:"+t8+"|"+r8+")"),Gp=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^/,!0],[/^<\?/,/\?>/,!0],[/^/,!0],[/^/,!0],[new RegExp("^|$))","i"),/^$/,!0],[new RegExp(Aae.source+"\\s*$"),/^$/,!1]];function Eae(e,t,r,n){let o=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(o)!==60)return!1;let i=e.src.slice(o,s),a=0;for(;a=4)return!1;let i=e.src.charCodeAt(o);if(i!==35||o>=s)return!1;let a=1;for(i=e.src.charCodeAt(++o);i===35&&o6||oo&&yo(e.src.charCodeAt(l-1))&&(s=l),e.line=t+1;const c=e.push("heading_open","h"+String(a),1);c.markup="########".slice(0,a),c.map=[t,e.line];const u=e.push("inline","",0);u.content=e.src.slice(o,s).trim(),u.map=[t,e.line],u.children=[];const d=e.push("heading_close","h"+String(a),-1);return d.markup="########".slice(0,a),!0}function $ae(e,t,r){const n=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;const o=e.parentType;e.parentType="paragraph";let s=0,i,a=t+1;for(;a3)continue;if(e.sCount[a]>=e.blkIndent){let f=e.bMarks[a]+e.tShift[a];const m=e.eMarks[a];if(f=m))){s=i===61?1:2;break}}if(e.sCount[a]<0)continue;let p=!1;for(let f=0,m=n.length;f3||e.sCount[s]<0)continue;let c=!1;for(let u=0,d=n.length;u=r||e.sCount[i]=s){e.line=r;break}const l=e.line;let c=!1;for(let u=0;u=e.line)throw new Error("block rule didn't increment state.line");break}if(!c)throw new Error("none of the block rules matched");e.tight=!a,e.isEmpty(e.line-1)&&(a=!0),i=e.line,i0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],o={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(n),this.tokens_meta.push(o),n};vv.prototype.scanDelims=function(e,t){const r=this.posMax,n=this.src.charCodeAt(e),o=e>0?this.src.charCodeAt(e-1):32;let s=e;for(;s0)return!1;const r=e.pos,n=e.posMax;if(r+3>n||e.src.charCodeAt(r)!==58||e.src.charCodeAt(r+1)!==47||e.src.charCodeAt(r+2)!==47)return!1;const o=e.pending.match(Dae);if(!o)return!1;const s=o[1],i=e.md.linkify.matchAtStart(e.src.slice(r-s.length));if(!i)return!1;let a=i.url;if(a.length<=s.length)return!1;let l=a.length;for(;l>0&&a.charCodeAt(l-1)===42;)l--;l!==a.length&&(a=a.slice(0,l));const c=e.md.normalizeLink(a);if(!e.md.validateLink(c))return!1;if(!t){e.pending=e.pending.slice(0,-s.length);const u=e.push("link_open","a",1);u.attrs=[["href",c]],u.markup="linkify",u.info="auto";const d=e.push("text","",0);d.content=e.md.normalizeLinkText(a);const p=e.push("link_close","a",-1);p.markup="linkify",p.info="auto"}return e.pos+=a.length-s.length,!0}function Nae(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==10)return!1;const n=e.pending.length-1,o=e.posMax;if(!t)if(n>=0&&e.pending.charCodeAt(n)===32)if(n>=1&&e.pending.charCodeAt(n-1)===32){let s=n-1;for(;s>=1&&e.pending.charCodeAt(s-1)===32;)s--;e.pending=e.pending.slice(0,s),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(r++;r?@[]^_`{|}~-".split("").forEach(function(e){RC[e.charCodeAt(0)]=1});function Lae(e,t){let r=e.pos;const n=e.posMax;if(e.src.charCodeAt(r)!==92||(r++,r>=n))return!1;let o=e.src.charCodeAt(r);if(o===10){for(t||e.push("hardbreak","br",0),r++;r=55296&&o<=56319&&r+1=56320&&a<=57343&&(s+=e.src[r+1],r++)}const i="\\"+s;if(!t){const a=e.push("text_special","",0);o<256&&RC[o]!==0?a.content=s:a.content=i,a.markup=i,a.info="escape"}return e.pos=r+1,!0}function Rae(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==96)return!1;const n=r;r++;const o=e.posMax;for(;r=0;n--){const o=t[n];if(o.marker!==95&&o.marker!==42||o.end===-1)continue;const s=t[o.end],i=n>0&&t[n-1].end===o.end+1&&t[n-1].marker===o.marker&&t[n-1].token===o.token-1&&t[o.end+1].token===s.token+1,a=String.fromCharCode(o.marker),l=e.tokens[o.token];l.type=i?"strong_open":"em_open",l.tag=i?"strong":"em",l.nesting=1,l.markup=i?a+a:a,l.content="";const c=e.tokens[s.token];c.type=i?"strong_close":"em_close",c.tag=i?"strong":"em",c.nesting=-1,c.markup=i?a+a:a,c.content="",i&&(e.tokens[t[n-1].token].content="",e.tokens[t[o.end+1].token].content="",n--)}}function Fae(e){const t=e.tokens_meta,r=e.tokens_meta.length;z$(e,e.delimiters);for(let n=0;n=d)return!1;if(l=m,o=e.md.helpers.parseLinkDestination(e.src,m,e.posMax),o.ok){for(i=e.md.normalizeLink(o.str),e.md.validateLink(i)?m=o.pos:i="",l=m;m=d||e.src.charCodeAt(m)!==41)&&(c=!0),m++}if(c){if(typeof e.env.references>"u")return!1;if(m=0?n=e.src.slice(l,m++):m=f+1):m=f+1,n||(n=e.src.slice(p,f)),s=e.env.references[Aw(n)],!s)return e.pos=u,!1;i=s.href,a=s.title}if(!t){e.pos=p,e.posMax=f;const v=e.push("link_open","a",1),g=[["href",i]];v.attrs=g,a&&g.push(["title",a]),e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=m,e.posMax=d,!0}function Uae(e,t){let r,n,o,s,i,a,l,c,u="";const d=e.pos,p=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;const f=e.pos+2,m=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(m<0)return!1;if(s=m+1,s=p)return!1;for(c=s,a=e.md.helpers.parseLinkDestination(e.src,s,e.posMax),a.ok&&(u=e.md.normalizeLink(a.str),e.md.validateLink(u)?s=a.pos:u=""),c=s;s=p||e.src.charCodeAt(s)!==41)return e.pos=d,!1;s++}else{if(typeof e.env.references>"u")return!1;if(s=0?o=e.src.slice(c,s++):s=m+1):s=m+1,o||(o=e.src.slice(f,m)),i=e.env.references[Aw(o)],!i)return e.pos=d,!1;u=i.href,l=i.title}if(!t){n=e.src.slice(f,m);const v=[];e.md.inline.parse(n,e.md,e.env,v);const g=e.push("image","img",0),y=[["src",u],["alt",""]];g.attrs=y,g.children=v,g.content=n,l&&y.push(["title",l])}return e.pos=s,e.posMax=p,!0}const Hae=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Wae=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Gae(e,t){let r=e.pos;if(e.src.charCodeAt(r)!==60)return!1;const n=e.pos,o=e.posMax;for(;;){if(++r>=o)return!1;const i=e.src.charCodeAt(r);if(i===60)return!1;if(i===62)break}const s=e.src.slice(n+1,r);if(Wae.test(s)){const i=e.md.normalizeLink(s);if(!e.md.validateLink(i))return!1;if(!t){const a=e.push("link_open","a",1);a.attrs=[["href",i]],a.markup="autolink",a.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(s);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=s.length+2,!0}if(Hae.test(s)){const i=e.md.normalizeLink("mailto:"+s);if(!e.md.validateLink(i))return!1;if(!t){const a=e.push("link_open","a",1);a.attrs=[["href",i]],a.markup="autolink",a.info="auto";const l=e.push("text","",0);l.content=e.md.normalizeLinkText(s);const c=e.push("link_close","a",-1);c.markup="autolink",c.info="auto"}return e.pos+=s.length+2,!0}return!1}function Jae(e){return/^\s]/i.test(e)}function Kae(e){return/^<\/a\s*>/i.test(e)}function Qae(e){const t=e|32;return t>=97&&t<=122}function Zae(e,t){if(!e.md.options.html)return!1;const r=e.posMax,n=e.pos;if(e.src.charCodeAt(n)!==60||n+2>=r)return!1;const o=e.src.charCodeAt(n+1);if(o!==33&&o!==63&&o!==47&&!Qae(o))return!1;const s=e.src.slice(n).match(Cae);if(!s)return!1;if(!t){const i=e.push("html_inline","",0);i.content=s[0],Jae(i.content)&&e.linkLevel++,Kae(i.content)&&e.linkLevel--}return e.pos+=s[0].length,!0}const Xae=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Yae=/^&([a-z][a-z0-9]{1,31});/i;function ele(e,t){const r=e.pos,n=e.posMax;if(e.src.charCodeAt(r)!==38||r+1>=n)return!1;if(e.src.charCodeAt(r+1)===35){const o=e.src.slice(r).match(Xae);if(o){if(!t){const s=o[1][0].toLowerCase()==="x"?parseInt(o[1].slice(1),16):parseInt(o[1],10),i=e.push("text_special","",0);i.content=NC(s)?Db(s):Db(65533),i.markup=o[0],i.info="entity"}return e.pos+=o[0].length,!0}}else{const o=e.src.slice(r).match(Yae);if(o){const s=QR(o[0]);if(s!==o[0]){if(!t){const i=e.push("text_special","",0);i.content=s,i.markup=o[0],i.info="entity"}return e.pos+=o[0].length,!0}}}return!1}function F$(e){const t={},r=e.length;if(!r)return;let n=0,o=-2;const s=[];for(let i=0;il;c-=s[c]+1){const d=e[c];if(d.marker===a.marker&&d.open&&d.end<0){let p=!1;if((d.close||a.open)&&(d.length+a.length)%3===0&&(d.length%3!==0||a.length%3!==0)&&(p=!0),!p){const f=c>0&&!e[c-1].open?s[c-1]+1:0;s[i]=i-c+f,s[c]=f,a.open=!1,d.end=i,d.close=!1,u=-1,o=-2;break}}}u!==-1&&(t[a.marker][(a.open?3:0)+(a.length||0)%3]=u)}}function tle(e){const t=e.tokens_meta,r=e.tokens_meta.length;F$(e.delimiters);for(let n=0;n0&&n++,o[t].type==="text"&&t+1=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;i||e.pos++,s[t]=e.pos};yv.prototype.tokenize=function(e){const t=this.ruler.getRules(""),r=t.length,n=e.posMax,o=e.md.options.maxNesting;for(;e.pos=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(i){if(e.pos>=n)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()};yv.prototype.parse=function(e,t,r,n){const o=new this.State(e,t,r,n);this.tokenize(o);const s=this.ruler2.getRules(""),i=s.length;for(let a=0;a|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}function C_(e){return Array.prototype.slice.call(arguments,1).forEach(function(t){t&&Object.keys(t).forEach(function(r){e[r]=t[r]})}),e}function Ow(e){return Object.prototype.toString.call(e)}function ole(e){return Ow(e)==="[object String]"}function sle(e){return Ow(e)==="[object Object]"}function ile(e){return Ow(e)==="[object RegExp]"}function V$(e){return Ow(e)==="[object Function]"}function ale(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}const s8={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1};function lle(e){return Object.keys(e||{}).reduce(function(t,r){return t||s8.hasOwnProperty(r)},!1)}const cle={"http:":{validate:function(e,t,r){const n=e.slice(t);return r.re.http||(r.re.http=new RegExp("^\\/\\/"+r.re.src_auth+r.re.src_host_port_strict+r.re.src_path,"i")),r.re.http.test(n)?n.match(r.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,r){const n=e.slice(t);return r.re.no_http||(r.re.no_http=new RegExp("^"+r.re.src_auth+"(?:localhost|(?:(?:"+r.re.src_domain+")\\.)+"+r.re.src_domain_root+")"+r.re.src_port+r.re.src_host_terminator+r.re.src_path,"i")),r.re.no_http.test(n)?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:n.match(r.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,r){const n=e.slice(t);return r.re.mailto||(r.re.mailto=new RegExp("^"+r.re.src_email_name+"@"+r.re.src_host_strict,"i")),r.re.mailto.test(n)?n.match(r.re.mailto)[0].length:0}}},ule="a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]",dle="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function ple(e){e.__index__=-1,e.__text_cache__=""}function fle(e){return function(t,r){const n=t.slice(r);return e.test(n)?n.match(e)[0].length:0}}function U$(){return function(e,t){t.normalize(e)}}function Mb(e){const t=e.re=nle(e.__opts__),r=e.__tlds__.slice();e.onCompile(),e.__tlds_replaced__||r.push(ule),r.push(t.src_xn),t.src_tlds=r.join("|");function n(a){return a.replace("%TLDS%",t.src_tlds)}t.email_fuzzy=RegExp(n(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(n(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(n(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(n(t.tpl_host_fuzzy_test),"i");const o=[];e.__compiled__={};function s(a,l){throw new Error('(LinkifyIt) Invalid schema "'+a+'": '+l)}Object.keys(e.__schemas__).forEach(function(a){const l=e.__schemas__[a];if(l===null)return;const c={validate:null,link:null};if(e.__compiled__[a]=c,sle(l)){ile(l.validate)?c.validate=fle(l.validate):V$(l.validate)?c.validate=l.validate:s(a,l),V$(l.normalize)?c.normalize=l.normalize:l.normalize?s(a,l):c.normalize=U$();return}if(ole(l)){o.push(a);return}s(a,l)}),o.forEach(function(a){e.__compiled__[e.__schemas__[a]]&&(e.__compiled__[a].validate=e.__compiled__[e.__schemas__[a]].validate,e.__compiled__[a].normalize=e.__compiled__[e.__schemas__[a]].normalize)}),e.__compiled__[""]={validate:null,normalize:U$()};const i=Object.keys(e.__compiled__).filter(function(a){return a.length>0&&e.__compiled__[a]}).map(ale).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+i+")","ig"),e.re.schema_at_start=RegExp("^"+e.re.schema_search.source,"i"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),ple(e)}function hle(e,t){const r=e.__index__,n=e.__last_index__,o=e.__text_cache__.slice(r,n);this.schema=e.__schema__.toLowerCase(),this.index=r+t,this.lastIndex=n+t,this.raw=o,this.text=o,this.url=o}function A_(e,t){const r=new hle(e,t);return e.__compiled__[r.schema].normalize(r,e),r}function Ui(e,t){if(!(this instanceof Ui))return new Ui(e,t);t||lle(e)&&(t=e,e={}),this.__opts__=C_({},s8,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=C_({},cle,e),this.__compiled__={},this.__tlds__=dle,this.__tlds_replaced__=!1,this.re={},Mb(this)}Ui.prototype.add=function(e,t){return this.__schemas__[e]=t,Mb(this),this};Ui.prototype.set=function(e){return this.__opts__=C_(this.__opts__,e),this};Ui.prototype.test=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;let t,r,n,o,s,i,a,l,c;if(this.re.schema_test.test(e)){for(a=this.re.schema_search,a.lastIndex=0;(t=a.exec(e))!==null;)if(o=this.testSchemaAt(e,t[2],a.lastIndex),o){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+o;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test),l>=0&&(this.__index__<0||l=0&&(n=e.match(this.re.email_fuzzy))!==null&&(s=n.index+n[1].length,i=n.index+n[0].length,(this.__index__<0||sthis.__last_index__)&&(this.__schema__="mailto:",this.__index__=s,this.__last_index__=i))),this.__index__>=0};Ui.prototype.pretest=function(e){return this.re.pretest.test(e)};Ui.prototype.testSchemaAt=function(e,t,r){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,r,this):0};Ui.prototype.match=function(e){const t=[];let r=0;this.__index__>=0&&this.__text_cache__===e&&(t.push(A_(this,r)),r=this.__last_index__);let n=r?e.slice(r):e;for(;this.test(n);)t.push(A_(this,r)),n=n.slice(this.__last_index__),r+=this.__last_index__;return t.length?t:null};Ui.prototype.matchAtStart=function(e){if(this.__text_cache__=e,this.__index__=-1,!e.length)return null;const t=this.re.schema_at_start.exec(e);if(!t)return null;const r=this.testSchemaAt(e,t[2],t[0].length);return r?(this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+r,A_(this,0)):null};Ui.prototype.tlds=function(e,t){return e=Array.isArray(e)?e:[e],t?(this.__tlds__=this.__tlds__.concat(e).sort().filter(function(r,n,o){return r!==o[n-1]}).reverse(),Mb(this),this):(this.__tlds__=e.slice(),this.__tlds_replaced__=!0,Mb(this),this)};Ui.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url="mailto:"+e.url)};Ui.prototype.onCompile=function(){};const If=2147483647,wl=36,BC=1,hg=26,mle=38,gle=700,i8=72,a8=128,l8="-",vle=/^xn--/,yle=/[^\0-\x7F]/,ble=/[\x2E\u3002\uFF0E\uFF61]/g,wle={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},xk=wl-BC,xl=Math.floor,kk=String.fromCharCode;function uu(e){throw new RangeError(wle[e])}function xle(e,t){const r=[];let n=e.length;for(;n--;)r[n]=t(e[n]);return r}function c8(e,t){const r=e.split("@");let n="";r.length>1&&(n=r[0]+"@",e=r[1]),e=e.replace(ble,".");const o=e.split("."),s=xle(o,t).join(".");return n+s}function u8(e){const t=[];let r=0;const n=e.length;for(;r=55296&&o<=56319&&rString.fromCodePoint(...e),jle=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:wl},H$=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},d8=function(e,t,r){let n=0;for(e=r?xl(e/gle):e>>1,e+=xl(e/t);e>xk*hg>>1;n+=wl)e=xl(e/xk);return xl(n+(xk+1)*e/(e+mle))},p8=function(e){const t=[],r=e.length;let n=0,o=a8,s=i8,i=e.lastIndexOf(l8);i<0&&(i=0);for(let a=0;a=128&&uu("not-basic"),t.push(e.charCodeAt(a));for(let a=i>0?i+1:0;a=r&&uu("invalid-input");const p=jle(e.charCodeAt(a++));p>=wl&&uu("invalid-input"),p>xl((If-n)/u)&&uu("overflow"),n+=p*u;const f=d<=s?BC:d>=s+hg?hg:d-s;if(pxl(If/m)&&uu("overflow"),u*=m}const c=t.length+1;s=d8(n-l,c,l==0),xl(n/c)>If-o&&uu("overflow"),o+=xl(n/c),n%=c,t.splice(n++,0,o)}return String.fromCodePoint(...t)},f8=function(e){const t=[];e=u8(e);const r=e.length;let n=a8,o=0,s=i8;for(const l of e)l<128&&t.push(kk(l));const i=t.length;let a=i;for(i&&t.push(l8);a=n&&uxl((If-o)/c)&&uu("overflow"),o+=(l-n)*c,n=l;for(const u of e)if(uIf&&uu("overflow"),u===n){let d=o;for(let p=wl;;p+=wl){const f=p<=s?BC:p>=s+hg?hg:p-s;if(d=0))try{t.hostname=h8.toASCII(t.hostname)}catch{}return gv(PC(t))}function Dle(e){const t=IC(e,!0);if(t.hostname&&(!t.protocol||m8.indexOf(t.protocol)>=0))try{t.hostname=h8.toUnicode(t.hostname)}catch{}return eh(PC(t),eh.defaultChars+"%")}function ha(e,t){if(!(this instanceof ha))return new ha(e,t);t||MC(e)||(t=e||{},e="default"),this.inline=new yv,this.block=new Ew,this.core=new LC,this.renderer=new Eh,this.linkify=new Ui,this.validateLink=Ple,this.normalizeLink=Ile,this.normalizeLinkText=Dle,this.utils=Nie,this.helpers=Cw({},qie),this.options={},this.configure(e),t&&this.set(t)}ha.prototype.set=function(e){return Cw(this.options,e),this};ha.prototype.configure=function(e){const t=this;if(MC(e)){const r=e;if(e=Ole[r],!e)throw new Error('Wrong `markdown-it` preset "'+r+'", check name')}if(!e)throw new Error("Wrong `markdown-it` preset, can't be empty");return e.options&&t.set(e.options),e.components&&Object.keys(e.components).forEach(function(r){e.components[r].rules&&t[r].ruler.enableOnly(e.components[r].rules),e.components[r].rules2&&t[r].ruler2.enableOnly(e.components[r].rules2)}),this};ha.prototype.enable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){r=r.concat(this[o].ruler.enable(e,!0))},this),r=r.concat(this.inline.ruler2.enable(e,!0));const n=e.filter(function(o){return r.indexOf(o)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to enable unknown rule(s): "+n);return this};ha.prototype.disable=function(e,t){let r=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(function(o){r=r.concat(this[o].ruler.disable(e,!0))},this),r=r.concat(this.inline.ruler2.disable(e,!0));const n=e.filter(function(o){return r.indexOf(o)<0});if(n.length&&!t)throw new Error("MarkdownIt. Failed to disable unknown rule(s): "+n);return this};ha.prototype.use=function(e){const t=[this].concat(Array.prototype.slice.call(arguments,1));return e.apply(e,t),this};ha.prototype.parse=function(e,t){if(typeof e!="string")throw new Error("Input data should be a String");const r=new this.core.State(e,this,t);return this.core.process(r),r.tokens};ha.prototype.render=function(e,t){return t=t||{},this.renderer.render(this.parse(e,t),this.options,t)};ha.prototype.parseInline=function(e,t){const r=new this.core.State(e,this,t);return r.inlineMode=!0,this.core.process(r),r.tokens};ha.prototype.renderInline=function(e,t){return t=t||{},this.renderer.render(this.parseInline(e,t),this.options,t)};function qC(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var jk,W$;function Mle(){if(W$)return jk;W$=1;function e(n,o){var s,i,a=n.attrs[n.attrIndex("href")][1];for(s=0;s=1?r[0]:null}function Ble(e,t,r){let n="";return t+1${t.toUpperCase()}${r}`}function zle(e,t,r){e[t].type="html_inline",e[t].content=r,e[t].children=[],t+1{const r=e.renderer.rules.link_open||G$,n=e.renderer.rules.link_close||G$,{linkPrefix:o="/operations/",transformHref:s,createOperationLinkHtml:i}=t,a=yR();e.renderer.rules.link_open=function(l,c,u,d,p){var x,j;const f=l[c].attrIndex("href");if(f<0)return r(l,c,u,d,p);const m=l[c].attrs[f][1],v=Rle(m,o);if(!v)return r(l,c,u,d,p);const g=(x=a.getOperation)==null?void 0:x.call(a,v);if(!g)return r(l,c,u,d,p);const y=((j=a.getOperationMethod)==null?void 0:j.call(a,v))||"get",b=Ble(l,c,g);let w=m;s&&(w=s(m),l[c].attrs[f][1]=w);const k=i?i(w,y,b):qle(w,y,b);return zle(l,c,k),k},e.renderer.rules.link_close=function(l,c,u,d,p){return l[c].type==="text"&&l[c].content===""?"":n(l,c,u,d,p)}},Vle=/^https?:\/\//;function Ule(){const e=kn(),t=e.getOperationLinkConfig(),{externalLinksNewTab:r,config:n}=e.getMarkdownConfig();let o=ha({html:!0,breaks:!0});r&&o.use(Lle,[{matcher(i){return Vle.test(i)},attrs:{target:"_blank",rel:"noopener"}}]),t!==!1&&o.use(Fle,t),n&&(o=n(o)||o);function s(i){return o.render(i||"")}return{md:o,render:s}}const Hle=["innerHTML"],Wl={__name:"OAMarkdown",props:{content:{type:String,required:!1,default:""},class:{type:String,required:!1}},setup(e){const t=e,{render:r}=Ule();return(n,o)=>(E(),K("div",{class:Nt(S(Ko)("OAMarkdown oa-doc",t.class)),innerHTML:S(r)(t.content)},null,10,Hle))}},$w=(e,t)=>{const r=e.__vccOpts||e;for(const[n,o]of t)r[n]=o;return r},Wle={},Gle={class:"animate-pulse flex flex-col gap-6 p-4"};function Jle(e,t){return E(),K("div",Gle,[...t[0]||(t[0]=[gU('


',5)])])}const g8=$w(Wle,[["render",Jle]]),Kle=Te({__name:"OAProviderAsync",props:{spec:{type:[Object,String],required:!1,default:null},specUrl:{type:String,required:!1,default:null}},emits:["update:spec"],async setup(e,{emit:t}){let r,n;const o=e,s=t;async function i(d){var f;const p=await fetch(d);if(!p.ok)throw new Error(`Failed to fetch ${d}: ${p.status} ${p.statusText}`);return(f=p.headers.get("content-type"))!=null&&f.toLowerCase().includes("yaml")||d.endsWith(".yaml")||d.endsWith(".yml")?await p.text():p.json()}function a(d){return typeof d=="string"?eR(d):d}const l=o.spec||(o.specUrl?([r,n]=jO(()=>i(o.specUrl)),r=await r,n(),r):null);l&&s("update:spec",l);const c=l?([r,n]=jO(()=>SC().parseAsync({spec:l})),r=await r,n(),r):{},u=_C({spec:c,originalSpec:l?a(l):null});return wp(CC,u),(d,p)=>pe(d.$slots,"default",{openapi:S(u)})}}),Qle={key:2},bv=Te({__name:"OAProvider",props:{spec:{type:[Object,String],required:!1,default:null},specUrl:{type:String,required:!1,default:null},openapi:{type:Object,required:!1,default:null}},emits:["update:spec"],setup(e,{emit:t}){const r=e,n=t,o=r.spec||r.specUrl,s=r.openapi??AC()??vR();return s&&!o&&wp(CC,s),(i,a)=>S(o)?(E(),ve(iU,{key:0},{fallback:U(()=>[ye(g8)]),default:U(()=>[ye(Kle,{spec:r.spec,"spec-url":r.specUrl,"onUpdate:spec":a[0]||(a[0]=l=>n("update:spec",l))},{default:U(({openapi:l})=>[pe(i.$slots,"default",{openapi:l})]),_:3},8,["spec","spec-url"])]),_:3})):S(s)?pe(i.$slots,"default",{key:1,openapi:S(s)}):(E(),K("div",Qle,[...a[1]||(a[1]=[ue("p",null,"OpenAPI instance not found",-1)])]))}});function v8(e){return typeof e>"u"||e===null}function Zle(e){return typeof e=="object"&&e!==null}function Xle(e){return Array.isArray(e)?e:v8(e)?[]:[e]}function Yle(e,t){var r,n,o,s;if(t)for(s=Object.keys(t),r=0,n=s.length;ra&&(s=" ... ",t=n-a+s.length),r-n>a&&(i=" ...",r=n+a-i.length),{str:s+e.slice(t,r).replace(/\t/g,"→")+i,pos:n-t+s.length}}function Sk(e,t){return us.repeat(" ",t-e.length)+e}function lce(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),typeof t.indent!="number"&&(t.indent=1),typeof t.linesBefore!="number"&&(t.linesBefore=3),typeof t.linesAfter!="number"&&(t.linesAfter=2);for(var r=/\r?\n|\r|\0/g,n=[0],o=[],s,i=-1;s=r.exec(e.buffer);)o.push(s.index),n.push(s.index+s[0].length),e.position<=s.index&&i<0&&(i=n.length-2);i<0&&(i=n.length-1);var a="",l,c,u=Math.min(e.line+t.linesAfter,o.length).toString().length,d=t.maxLength-(t.indent+u+3);for(l=1;l<=t.linesBefore&&!(i-l<0);l++)c=_k(e.buffer,n[i-l],o[i-l],e.position-(n[i]-n[i-l]),d),a=us.repeat(" ",t.indent)+Sk((e.line-l+1).toString(),u)+" | "+c.str+` `+a;for(c=_k(e.buffer,n[i],o[i],e.position,d),a+=us.repeat(" ",t.indent)+Sk((e.line+1).toString(),u)+" | "+c.str+` `,a+=us.repeat("-",t.indent+u+3+c.pos)+`^ `,l=1;l<=t.linesAfter&&!(i+l>=o.length);l++)c=_k(e.buffer,n[i+l],o[i+l],e.position-(n[i]-n[i+l]),d),a+=us.repeat(" ",t.indent)+Sk((e.line+l+1).toString(),u)+" | "+c.str+` -`;return a.replace(/\n$/,"")}var cce=lce,uce=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],dce=["scalar","sequence","mapping"];function pce(e){var t={};return e!==null&&Object.keys(e).forEach(function(r){e[r].forEach(function(n){t[String(n)]=r})}),t}function fce(e,t){if(t=t||{},Object.keys(t).forEach(function(r){if(uce.indexOf(r)===-1)throw new ti('Unknown option "'+r+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(r){return r},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=pce(t.styleAliases||null),dce.indexOf(this.kind)===-1)throw new ti('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}var Ps=fce;function J$(e,t){var r=[];return e[t].forEach(function(n){var o=r.length;r.forEach(function(s,i){s.tag===n.tag&&s.kind===n.kind&&s.multi===n.multi&&(o=i)}),r[o]=n}),r}function hce(){var e={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},t,r;function n(o){o.multi?(e.multi[o.kind].push(o),e.multi.fallback.push(o)):e[o.kind][o.tag]=e.fallback[o.tag]=o}for(t=0,r=arguments.length;t=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Ace=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Ece(e){return!(e===null||!Ace.test(e)||e[e.length-1]==="_")}function Oce(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var $ce=/^[-+]?[0-9]+e/;function Tce(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(us.isNegativeZero(e))return"-0.0";return r=e.toString(10),$ce.test(r)?r.replace("e",".e"):r}function Pce(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||us.isNegativeZero(e))}var A8=new Ps("tag:yaml.org,2002:float",{kind:"scalar",resolve:Ece,construct:Oce,predicate:Pce,represent:Tce,defaultStyle:"lowercase"}),E8=j8.extend({implicit:[_8,S8,C8,A8]}),O8=E8,$8=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),T8=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Ice(e){return e===null?!1:$8.exec(e)!==null||T8.exec(e)!==null}function Dce(e){var t,r,n,o,s,i,a,l=0,c=null,u,d,p;if(t=$8.exec(e),t===null&&(t=T8.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(r,n,o));if(s=+t[4],i=+t[5],a=+t[6],t[7]){for(l=t[7].slice(0,3);l.length<3;)l+="0";l=+l}return t[9]&&(u=+t[10],d=+(t[11]||0),c=(u*60+d)*6e4,t[9]==="-"&&(c=-c)),p=new Date(Date.UTC(r,n,o,s,i,a,l)),c&&p.setTime(p.getTime()-c),p}function Mce(e){return e.toISOString()}var P8=new Ps("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Ice,construct:Dce,instanceOf:Date,represent:Mce});function Lce(e){return e==="<<"||e===null}var I8=new Ps("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Lce}),zC=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= -\r`;function Nce(e){if(e===null)return!1;var t,r,n=0,o=e.length,s=zC;for(r=0;r64)){if(t<0)return!1;n+=6}return n%8===0}function Rce(e){var t,r,n=e.replace(/[\r\n=]/g,""),o=n.length,s=zC,i=0,a=[];for(t=0;t>16&255),a.push(i>>8&255),a.push(i&255)),i=i<<6|s.indexOf(n.charAt(t));return r=o%4*6,r===0?(a.push(i>>16&255),a.push(i>>8&255),a.push(i&255)):r===18?(a.push(i>>10&255),a.push(i>>2&255)):r===12&&a.push(i>>4&255),new Uint8Array(a)}function Bce(e){var t="",r=0,n,o,s=e.length,i=zC;for(n=0;n>18&63],t+=i[r>>12&63],t+=i[r>>6&63],t+=i[r&63]),r=(r<<8)+e[n];return o=s%3,o===0?(t+=i[r>>18&63],t+=i[r>>12&63],t+=i[r>>6&63],t+=i[r&63]):o===2?(t+=i[r>>10&63],t+=i[r>>4&63],t+=i[r<<2&63],t+=i[64]):o===1&&(t+=i[r>>2&63],t+=i[r<<4&63],t+=i[64],t+=i[64]),t}function qce(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var D8=new Ps("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Nce,construct:Rce,predicate:qce,represent:Bce}),zce=Object.prototype.hasOwnProperty,Fce=Object.prototype.toString;function Vce(e){if(e===null)return!0;var t=[],r,n,o,s,i,a=e;for(r=0,n=a.length;r=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},octal:function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},decimal:function(e){return e.toString(10)},hexadecimal:function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Ace=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Ece(e){return!(e===null||!Ace.test(e)||e[e.length-1]==="_")}function Oce(e){var t,r;return t=e.replace(/_/g,"").toLowerCase(),r=t[0]==="-"?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),t===".inf"?r===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:t===".nan"?NaN:r*parseFloat(t,10)}var $ce=/^[-+]?[0-9]+e/;function Tce(e,t){var r;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(us.isNegativeZero(e))return"-0.0";return r=e.toString(10),$ce.test(r)?r.replace("e",".e"):r}function Pce(e){return Object.prototype.toString.call(e)==="[object Number]"&&(e%1!==0||us.isNegativeZero(e))}var A8=new Ps("tag:yaml.org,2002:float",{kind:"scalar",resolve:Ece,construct:Oce,predicate:Pce,represent:Tce,defaultStyle:"lowercase"}),E8=j8.extend({implicit:[_8,S8,C8,A8]}),O8=E8,$8=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),T8=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function Ice(e){return e===null?!1:$8.exec(e)!==null||T8.exec(e)!==null}function Dce(e){var t,r,n,o,s,i,a,l=0,c=null,u,d,p;if(t=$8.exec(e),t===null&&(t=T8.exec(e)),t===null)throw new Error("Date resolve error");if(r=+t[1],n=+t[2]-1,o=+t[3],!t[4])return new Date(Date.UTC(r,n,o));if(s=+t[4],i=+t[5],a=+t[6],t[7]){for(l=t[7].slice(0,3);l.length<3;)l+="0";l=+l}return t[9]&&(u=+t[10],d=+(t[11]||0),c=(u*60+d)*6e4,t[9]==="-"&&(c=-c)),p=new Date(Date.UTC(r,n,o,s,i,a,l)),c&&p.setTime(p.getTime()-c),p}function Mce(e){return e.toISOString()}var P8=new Ps("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:Ice,construct:Dce,instanceOf:Date,represent:Mce});function Nce(e){return e==="<<"||e===null}var I8=new Ps("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Nce}),zC=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/= +\r`;function Lce(e){if(e===null)return!1;var t,r,n=0,o=e.length,s=zC;for(r=0;r64)){if(t<0)return!1;n+=6}return n%8===0}function Rce(e){var t,r,n=e.replace(/[\r\n=]/g,""),o=n.length,s=zC,i=0,a=[];for(t=0;t>16&255),a.push(i>>8&255),a.push(i&255)),i=i<<6|s.indexOf(n.charAt(t));return r=o%4*6,r===0?(a.push(i>>16&255),a.push(i>>8&255),a.push(i&255)):r===18?(a.push(i>>10&255),a.push(i>>2&255)):r===12&&a.push(i>>4&255),new Uint8Array(a)}function Bce(e){var t="",r=0,n,o,s=e.length,i=zC;for(n=0;n>18&63],t+=i[r>>12&63],t+=i[r>>6&63],t+=i[r&63]),r=(r<<8)+e[n];return o=s%3,o===0?(t+=i[r>>18&63],t+=i[r>>12&63],t+=i[r>>6&63],t+=i[r&63]):o===2?(t+=i[r>>10&63],t+=i[r>>4&63],t+=i[r<<2&63],t+=i[64]):o===1&&(t+=i[r>>2&63],t+=i[r<<4&63],t+=i[64],t+=i[64]),t}function qce(e){return Object.prototype.toString.call(e)==="[object Uint8Array]"}var D8=new Ps("tag:yaml.org,2002:binary",{kind:"scalar",resolve:Lce,construct:Rce,predicate:qce,represent:Bce}),zce=Object.prototype.hasOwnProperty,Fce=Object.prototype.toString;function Vce(e){if(e===null)return!0;var t=[],r,n,o,s,i,a=e;for(r=0,n=a.length;r>10)+55296,(e-65536&1023)+56320)}function F8(e,t,r){t==="__proto__"?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:r}):e[t]=r}var V8=new Array(256),U8=new Array(256);for(var Jp=0;Jp<256;Jp++)V8[Jp]=Z$(Jp)?1:0,U8[Jp]=Z$(Jp);function sue(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||FC,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function H8(e,t){var r={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return r.snippet=cce(r),new ti(t,r)}function Zt(e,t){throw H8(e,t)}function Rb(e,t){e.onWarning&&e.onWarning.call(null,H8(e,t))}var X$={YAML:function(e,t,r){var n,o,s;e.version!==null&&Zt(e,"duplication of %YAML directive"),r.length!==1&&Zt(e,"YAML directive accepts exactly one argument"),n=/^([0-9]+)\.([0-9]+)$/.exec(r[0]),n===null&&Zt(e,"ill-formed argument of the YAML directive"),o=parseInt(n[1],10),s=parseInt(n[2],10),o!==1&&Zt(e,"unacceptable YAML version of the document"),e.version=r[0],e.checkLineBreaks=s<2,s!==1&&s!==2&&Rb(e,"unsupported YAML version of the document")},TAG:function(e,t,r){var n,o;r.length!==2&&Zt(e,"TAG directive accepts exactly two arguments"),n=r[0],o=r[1],q8.test(n)||Zt(e,"ill-formed tag handle (first argument) of the TAG directive"),zu.call(e.tagMap,n)&&Zt(e,'there is a previously declared suffix for "'+n+'" tag handle'),z8.test(o)||Zt(e,"ill-formed tag prefix (second argument) of the TAG directive");try{o=decodeURIComponent(o)}catch{Zt(e,"tag prefix is malformed: "+o)}e.tagMap[n]=o}};function Ou(e,t,r,n){var o,s,i,a;if(t1&&(e.result+=us.repeat(` -`,t-1))}function iue(e,t,r){var n,o,s,i,a,l,c,u,d=e.kind,p=e.result,f;if(f=e.input.charCodeAt(e.position),xi(f)||xf(f)||f===35||f===38||f===42||f===33||f===124||f===62||f===39||f===34||f===37||f===64||f===96||(f===63||f===45)&&(o=e.input.charCodeAt(e.position+1),xi(o)||r&&xf(o)))return!1;for(e.kind="scalar",e.result="",s=i=e.position,a=!1;f!==0;){if(f===58){if(o=e.input.charCodeAt(e.position+1),xi(o)||r&&xf(o))break}else if(f===35){if(n=e.input.charCodeAt(e.position-1),xi(n))break}else{if(e.position===e.lineStart&&Tw(e)||r&&xf(f))break;if(Al(f))if(l=e.line,c=e.lineStart,u=e.lineIndent,ts(e,!1,-1),e.lineIndent>=t){a=!0,f=e.input.charCodeAt(e.position);continue}else{e.position=i,e.line=l,e.lineStart=c,e.lineIndent=u;break}}a&&(Ou(e,s,i,!1),UC(e,e.line-l),s=i=e.position,a=!1),Hd(f)||(i=e.position+1),f=e.input.charCodeAt(++e.position)}return Ou(e,s,i,!1),e.result?!0:(e.kind=d,e.result=p,!1)}function aue(e,t){var r,n,o;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=o=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(Ou(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,o=e.position;else return!0;else Al(r)?(Ou(e,n,o,!0),UC(e,ts(e,!1,t)),n=o=e.position):e.position===e.lineStart&&Tw(e)?Zt(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);Zt(e,"unexpected end of the stream within a single quoted scalar")}function lue(e,t){var r,n,o,s,i,a;if(a=e.input.charCodeAt(e.position),a!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(a=e.input.charCodeAt(e.position))!==0;){if(a===34)return Ou(e,r,e.position,!0),e.position++,!0;if(a===92){if(Ou(e,r,e.position,!0),a=e.input.charCodeAt(++e.position),Al(a))ts(e,!1,t);else if(a<256&&V8[a])e.result+=U8[a],e.position++;else if((i=rue(a))>0){for(o=i,s=0;o>0;o--)a=e.input.charCodeAt(++e.position),(i=tue(a))>=0?s=(s<<4)+i:Zt(e,"expected hexadecimal character");e.result+=oue(s),e.position++}else Zt(e,"unknown escape sequence");r=n=e.position}else Al(a)?(Ou(e,r,n,!0),UC(e,ts(e,!1,t)),r=n=e.position):e.position===e.lineStart&&Tw(e)?Zt(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}Zt(e,"unexpected end of the stream within a double quoted scalar")}function cue(e,t){var r=!0,n,o,s,i=e.tag,a,l=e.anchor,c,u,d,p,f,m=Object.create(null),v,g,y,b;if(b=e.input.charCodeAt(e.position),b===91)u=93,f=!1,a=[];else if(b===123)u=125,f=!0,a={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),b=e.input.charCodeAt(++e.position);b!==0;){if(ts(e,!0,t),b=e.input.charCodeAt(e.position),b===u)return e.position++,e.tag=i,e.anchor=l,e.kind=f?"mapping":"sequence",e.result=a,!0;r?b===44&&Zt(e,"expected the node content, but found ','"):Zt(e,"missed comma between flow collection entries"),g=v=y=null,d=p=!1,b===63&&(c=e.input.charCodeAt(e.position+1),xi(c)&&(d=p=!0,e.position++,ts(e,!0,t))),n=e.line,o=e.lineStart,s=e.position,rh(e,t,Lb,!1,!0),g=e.tag,v=e.result,ts(e,!0,t),b=e.input.charCodeAt(e.position),(p||e.line===n)&&b===58&&(d=!0,b=e.input.charCodeAt(++e.position),ts(e,!0,t),rh(e,t,Lb,!1,!0),y=e.result),f?kf(e,a,m,g,v,y,n,o,s):d?a.push(kf(e,null,m,g,v,y,n,o,s)):a.push(v),ts(e,!0,t),b=e.input.charCodeAt(e.position),b===44?(r=!0,b=e.input.charCodeAt(++e.position)):r=!1}Zt(e,"unexpected end of the stream within a flow collection")}function uue(e,t){var r,n,o=Ck,s=!1,i=!1,a=t,l=0,c=!1,u,d;if(d=e.input.charCodeAt(e.position),d===124)n=!1;else if(d===62)n=!0;else return!1;for(e.kind="scalar",e.result="";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)Ck===o?o=d===43?K$:Zce:Zt(e,"repeat of a chomping mode identifier");else if((u=nue(d))>=0)u===0?Zt(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):i?Zt(e,"repeat of an indentation width identifier"):(a=t+u-1,i=!0);else break;if(Hd(d)){do d=e.input.charCodeAt(++e.position);while(Hd(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!Al(d)&&d!==0)}for(;d!==0;){for(VC(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!i||e.lineIndenta&&(a=e.lineIndent),Al(d)){l++;continue}if(e.lineIndent=t){a=!0,f=e.input.charCodeAt(e.position);continue}else{e.position=i,e.line=l,e.lineStart=c,e.lineIndent=u;break}}a&&(Ou(e,s,i,!1),UC(e,e.line-l),s=i=e.position,a=!1),Hd(f)||(i=e.position+1),f=e.input.charCodeAt(++e.position)}return Ou(e,s,i,!1),e.result?!0:(e.kind=d,e.result=p,!1)}function aue(e,t){var r,n,o;if(r=e.input.charCodeAt(e.position),r!==39)return!1;for(e.kind="scalar",e.result="",e.position++,n=o=e.position;(r=e.input.charCodeAt(e.position))!==0;)if(r===39)if(Ou(e,n,e.position,!0),r=e.input.charCodeAt(++e.position),r===39)n=e.position,e.position++,o=e.position;else return!0;else Al(r)?(Ou(e,n,o,!0),UC(e,ts(e,!1,t)),n=o=e.position):e.position===e.lineStart&&Tw(e)?Zt(e,"unexpected end of the document within a single quoted scalar"):(e.position++,o=e.position);Zt(e,"unexpected end of the stream within a single quoted scalar")}function lue(e,t){var r,n,o,s,i,a;if(a=e.input.charCodeAt(e.position),a!==34)return!1;for(e.kind="scalar",e.result="",e.position++,r=n=e.position;(a=e.input.charCodeAt(e.position))!==0;){if(a===34)return Ou(e,r,e.position,!0),e.position++,!0;if(a===92){if(Ou(e,r,e.position,!0),a=e.input.charCodeAt(++e.position),Al(a))ts(e,!1,t);else if(a<256&&V8[a])e.result+=U8[a],e.position++;else if((i=rue(a))>0){for(o=i,s=0;o>0;o--)a=e.input.charCodeAt(++e.position),(i=tue(a))>=0?s=(s<<4)+i:Zt(e,"expected hexadecimal character");e.result+=oue(s),e.position++}else Zt(e,"unknown escape sequence");r=n=e.position}else Al(a)?(Ou(e,r,n,!0),UC(e,ts(e,!1,t)),r=n=e.position):e.position===e.lineStart&&Tw(e)?Zt(e,"unexpected end of the document within a double quoted scalar"):(e.position++,n=e.position)}Zt(e,"unexpected end of the stream within a double quoted scalar")}function cue(e,t){var r=!0,n,o,s,i=e.tag,a,l=e.anchor,c,u,d,p,f,m=Object.create(null),v,g,y,b;if(b=e.input.charCodeAt(e.position),b===91)u=93,f=!1,a=[];else if(b===123)u=125,f=!0,a={};else return!1;for(e.anchor!==null&&(e.anchorMap[e.anchor]=a),b=e.input.charCodeAt(++e.position);b!==0;){if(ts(e,!0,t),b=e.input.charCodeAt(e.position),b===u)return e.position++,e.tag=i,e.anchor=l,e.kind=f?"mapping":"sequence",e.result=a,!0;r?b===44&&Zt(e,"expected the node content, but found ','"):Zt(e,"missed comma between flow collection entries"),g=v=y=null,d=p=!1,b===63&&(c=e.input.charCodeAt(e.position+1),xi(c)&&(d=p=!0,e.position++,ts(e,!0,t))),n=e.line,o=e.lineStart,s=e.position,rh(e,t,Nb,!1,!0),g=e.tag,v=e.result,ts(e,!0,t),b=e.input.charCodeAt(e.position),(p||e.line===n)&&b===58&&(d=!0,b=e.input.charCodeAt(++e.position),ts(e,!0,t),rh(e,t,Nb,!1,!0),y=e.result),f?kf(e,a,m,g,v,y,n,o,s):d?a.push(kf(e,null,m,g,v,y,n,o,s)):a.push(v),ts(e,!0,t),b=e.input.charCodeAt(e.position),b===44?(r=!0,b=e.input.charCodeAt(++e.position)):r=!1}Zt(e,"unexpected end of the stream within a flow collection")}function uue(e,t){var r,n,o=Ck,s=!1,i=!1,a=t,l=0,c=!1,u,d;if(d=e.input.charCodeAt(e.position),d===124)n=!1;else if(d===62)n=!0;else return!1;for(e.kind="scalar",e.result="";d!==0;)if(d=e.input.charCodeAt(++e.position),d===43||d===45)Ck===o?o=d===43?K$:Zce:Zt(e,"repeat of a chomping mode identifier");else if((u=nue(d))>=0)u===0?Zt(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):i?Zt(e,"repeat of an indentation width identifier"):(a=t+u-1,i=!0);else break;if(Hd(d)){do d=e.input.charCodeAt(++e.position);while(Hd(d));if(d===35)do d=e.input.charCodeAt(++e.position);while(!Al(d)&&d!==0)}for(;d!==0;){for(VC(e),e.lineIndent=0,d=e.input.charCodeAt(e.position);(!i||e.lineIndenta&&(a=e.lineIndent),Al(d)){l++;continue}if(e.lineIndentt)&&l!==0)Zt(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(g&&(i=e.line,a=e.lineStart,l=e.position),rh(e,t,Nb,!0,o)&&(g?m=e.result:v=e.result),g||(kf(e,d,p,f,m,v,i,a,l),f=m=v=null),ts(e,!0,-1),b=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&b!==0)Zt(e,"bad indentation of a mapping entry");else if(e.lineIndentt?l=1:e.lineIndent===t?l=0:e.lineIndentt?l=1:e.lineIndent===t?l=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),d=0,p=e.implicitTypes.length;d"),e.result!==null&&m.kind!==e.kind&&Zt(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+m.kind+'", not "'+e.kind+'"'),m.resolve(e.result,e.tag)?(e.result=m.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Zt(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||u}function mue(e){var t=e.position,r,n,o,s=!1,i;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(i=e.input.charCodeAt(e.position))!==0&&(ts(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||i!==37));){for(s=!0,i=e.input.charCodeAt(++e.position),r=e.position;i!==0&&!xi(i);)i=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),o=[],n.length<1&&Zt(e,"directive name must not be less than one character in length");i!==0;){for(;Hd(i);)i=e.input.charCodeAt(++e.position);if(i===35){do i=e.input.charCodeAt(++e.position);while(i!==0&&!Al(i));break}if(Al(i))break;for(r=e.position;i!==0&&!xi(i);)i=e.input.charCodeAt(++e.position);o.push(e.input.slice(r,e.position))}i!==0&&VC(e),zu.call(X$,n)?X$[n](e,n,o):Rb(e,'unknown document directive "'+n+'"')}if(ts(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,ts(e,!0,-1)):s&&Zt(e,"directives end mark is expected"),rh(e,e.lineIndent-1,Nb,!1,!0),ts(e,!0,-1),e.checkLineBreaks&&Yce.test(e.input.slice(t,e.position))&&Rb(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Tw(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,ts(e,!0,-1));return}if(e.position"u"&&(r=t,t=null);var n=W8(e,r);if(typeof t!="function")return n;for(var o=0,s=n.length;ot)&&l!==0)Zt(e,"bad indentation of a sequence entry");else if(e.lineIndentt)&&(g&&(i=e.line,a=e.lineStart,l=e.position),rh(e,t,Lb,!0,o)&&(g?m=e.result:v=e.result),g||(kf(e,d,p,f,m,v,i,a,l),f=m=v=null),ts(e,!0,-1),b=e.input.charCodeAt(e.position)),(e.line===s||e.lineIndent>t)&&b!==0)Zt(e,"bad indentation of a mapping entry");else if(e.lineIndentt?l=1:e.lineIndent===t?l=0:e.lineIndentt?l=1:e.lineIndent===t?l=0:e.lineIndent tag; it should be "scalar", not "'+e.kind+'"'),d=0,p=e.implicitTypes.length;d"),e.result!==null&&m.kind!==e.kind&&Zt(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+m.kind+'", not "'+e.kind+'"'),m.resolve(e.result,e.tag)?(e.result=m.construct(e.result,e.tag),e.anchor!==null&&(e.anchorMap[e.anchor]=e.result)):Zt(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return e.listener!==null&&e.listener("close",e),e.tag!==null||e.anchor!==null||u}function mue(e){var t=e.position,r,n,o,s=!1,i;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);(i=e.input.charCodeAt(e.position))!==0&&(ts(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0||i!==37));){for(s=!0,i=e.input.charCodeAt(++e.position),r=e.position;i!==0&&!xi(i);)i=e.input.charCodeAt(++e.position);for(n=e.input.slice(r,e.position),o=[],n.length<1&&Zt(e,"directive name must not be less than one character in length");i!==0;){for(;Hd(i);)i=e.input.charCodeAt(++e.position);if(i===35){do i=e.input.charCodeAt(++e.position);while(i!==0&&!Al(i));break}if(Al(i))break;for(r=e.position;i!==0&&!xi(i);)i=e.input.charCodeAt(++e.position);o.push(e.input.slice(r,e.position))}i!==0&&VC(e),zu.call(X$,n)?X$[n](e,n,o):Rb(e,'unknown document directive "'+n+'"')}if(ts(e,!0,-1),e.lineIndent===0&&e.input.charCodeAt(e.position)===45&&e.input.charCodeAt(e.position+1)===45&&e.input.charCodeAt(e.position+2)===45?(e.position+=3,ts(e,!0,-1)):s&&Zt(e,"directives end mark is expected"),rh(e,e.lineIndent-1,Lb,!1,!0),ts(e,!0,-1),e.checkLineBreaks&&Yce.test(e.input.slice(t,e.position))&&Rb(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&Tw(e)){e.input.charCodeAt(e.position)===46&&(e.position+=3,ts(e,!0,-1));return}if(e.position"u"&&(r=t,t=null);var n=W8(e,r);if(typeof t!="function")return n;for(var o=0,s=n.length;o=55296&&r<=56319&&t+1=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function t5(e){var t=/^\n* /;return t.test(e)}var r5=1,T_=2,n5=3,o5=4,uf=5;function Hue(e,t,r,n,o,s,i,a){var l,c=0,u=null,d=!1,p=!1,f=n!==-1,m=-1,v=Vue(Om(e,0))&&Uue(Om(e,e.length-1));if(t||i)for(l=0;l=65536?l+=2:l++){if(c=Om(e,l),!yg(c))return uf;v=v&&nT(c,u,a),u=c}else{for(l=0;l=65536?l+=2:l++){if(c=Om(e,l),c===gg)d=!0,f&&(p=p||l-m-1>n&&e[m+1]!==" ",m=l);else if(!yg(c))return uf;v=v&&nT(c,u,a),u=c}p=p||f&&l-m-1>n&&e[m+1]!==" "}return!d&&!p?v&&!i&&!o(e)?r5:s===vg?uf:T_:r>9&&t5(e)?uf:i?s===vg?uf:T_:p?o5:n5}function Wue(e,t,r,n,o){e.dump=function(){if(t.length===0)return e.quotingType===vg?'""':"''";if(!e.noCompatMode&&(Lue.indexOf(t)!==-1||Nue.test(t)))return e.quotingType===vg?'"'+t+'"':"'"+t+"'";var s=e.indent*Math.max(1,r),i=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),a=n||e.flowLevel>-1&&r>=e.flowLevel;function l(c){return Fue(e,c)}switch(Hue(t,a,e.indent,i,l,e.quotingType,e.forceQuotes&&!n,o)){case r5:return t;case T_:return"'"+t.replace(/'/g,"''")+"'";case n5:return"|"+oT(t,e.indent)+sT(tT(t,s));case o5:return">"+oT(t,e.indent)+sT(tT(Gue(t,i),s));case uf:return'"'+Jue(t)+'"';default:throw new ti("impossible error: invalid scalar style")}}()}function oT(e,t){var r=t5(e)?String(t):"",n=e[e.length-1]===` +`+us.repeat(" ",e.indent*t)}function Fue(e,t){var r,n,o;for(r=0,n=e.implicitTypes.length;r=55296&&r<=56319&&t+1=56320&&n<=57343)?(r-55296)*1024+n-56320+65536:r}function t5(e){var t=/^\n* /;return t.test(e)}var r5=1,T_=2,n5=3,o5=4,uf=5;function Hue(e,t,r,n,o,s,i,a){var l,c=0,u=null,d=!1,p=!1,f=n!==-1,m=-1,v=Vue(Om(e,0))&&Uue(Om(e,e.length-1));if(t||i)for(l=0;l=65536?l+=2:l++){if(c=Om(e,l),!yg(c))return uf;v=v&&nT(c,u,a),u=c}else{for(l=0;l=65536?l+=2:l++){if(c=Om(e,l),c===gg)d=!0,f&&(p=p||l-m-1>n&&e[m+1]!==" ",m=l);else if(!yg(c))return uf;v=v&&nT(c,u,a),u=c}p=p||f&&l-m-1>n&&e[m+1]!==" "}return!d&&!p?v&&!i&&!o(e)?r5:s===vg?uf:T_:r>9&&t5(e)?uf:i?s===vg?uf:T_:p?o5:n5}function Wue(e,t,r,n,o){e.dump=function(){if(t.length===0)return e.quotingType===vg?'""':"''";if(!e.noCompatMode&&(Nue.indexOf(t)!==-1||Lue.test(t)))return e.quotingType===vg?'"'+t+'"':"'"+t+"'";var s=e.indent*Math.max(1,r),i=e.lineWidth===-1?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),a=n||e.flowLevel>-1&&r>=e.flowLevel;function l(c){return Fue(e,c)}switch(Hue(t,a,e.indent,i,l,e.quotingType,e.forceQuotes&&!n,o)){case r5:return t;case T_:return"'"+t.replace(/'/g,"''")+"'";case n5:return"|"+oT(t,e.indent)+sT(tT(t,s));case o5:return">"+oT(t,e.indent)+sT(tT(Gue(t,i),s));case uf:return'"'+Jue(t)+'"';default:throw new ti("impossible error: invalid scalar style")}}()}function oT(e,t){var r=t5(e)?String(t):"",n=e[e.length-1]===` `,o=n&&(e[e.length-2]===` `||e===` `),s=o?"+":n?"":"-";return r+s+` @@ -235,47 +235,47 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho `+e.slice(o,s),o=s+1),i=a;return l+=` `,e.length-o>t&&i>o?l+=e.slice(o,i)+` `+e.slice(i+1):l+=e.slice(o),l.slice(1)}function Jue(e){for(var t="",r=0,n,o=0;o=65536?o+=2:o++)r=Om(e,o),n=Gs[r],!n&&yg(r)?(t+=e[o],r>=65536&&(t+=e[o+1])):t+=n||Bue(r);return t}function Kue(e,t,r){var n="",o=e.tag,s,i,a;for(s=0,i=r.length;s"u"&&Ic(e,t,null,!1,!1))&&(n!==""&&(n+=","+(e.condenseFlow?"":" ")),n+=e.dump);e.tag=o,e.dump="["+n+"]"}function aT(e,t,r,n){var o="",s=e.tag,i,a,l;for(i=0,a=r.length;i"u"&&Ic(e,t+1,null,!0,!0,!1,!0))&&((!n||o!=="")&&(o+=$_(e,t)),e.dump&&gg===e.dump.charCodeAt(0)?o+="-":o+="- ",o+=e.dump);e.tag=s,e.dump=o||"[]"}function Que(e,t,r){var n="",o=e.tag,s=Object.keys(r),i,a,l,c,u;for(i=0,a=s.length;i1024&&(u+="? "),u+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),Ic(e,t,c,!1,!1)&&(u+=e.dump,n+=u));e.tag=o,e.dump="{"+n+"}"}function Zue(e,t,r,n){var o="",s=e.tag,i=Object.keys(r),a,l,c,u,d,p;if(e.sortKeys===!0)i.sort();else if(typeof e.sortKeys=="function")i.sort(e.sortKeys);else if(e.sortKeys)throw new ti("sortKeys must be a boolean or a function");for(a=0,l=i.length;a1024,d&&(e.dump&&gg===e.dump.charCodeAt(0)?p+="?":p+="? "),p+=e.dump,d&&(p+=$_(e,t)),Ic(e,t+1,u,!0,d)&&(e.dump&&gg===e.dump.charCodeAt(0)?p+=":":p+=": ",p+=e.dump,o+=p));e.tag=s,e.dump=o||"{}"}function lT(e,t,r){var n,o,s,i,a,l;for(o=r?e.explicitTypes:e.implicitTypes,s=0,i=o.length;s tag resolver accepts not "'+l+'" style');e.dump=n}return!0}return!1}function Ic(e,t,r,n,o,s,i){e.tag=null,e.dump=r,lT(e,r,!1)||lT(e,r,!0);var a=J8.call(e.dump),l=n,c;n&&(n=e.flowLevel<0||e.flowLevel>t);var u=a==="[object Object]"||a==="[object Array]",d,p;if(u&&(d=e.duplicates.indexOf(r),p=d!==-1),(e.tag!==null&&e.tag!=="?"||p||e.indent!==2&&t>0)&&(o=!1),p&&e.usedDuplicates[d])e.dump="*ref_"+d;else{if(u&&p&&!e.usedDuplicates[d]&&(e.usedDuplicates[d]=!0),a==="[object Object]")n&&Object.keys(e.dump).length!==0?(Zue(e,t,e.dump,o),p&&(e.dump="&ref_"+d+e.dump)):(Que(e,t,e.dump),p&&(e.dump="&ref_"+d+" "+e.dump));else if(a==="[object Array]")n&&e.dump.length!==0?(e.noArrayIndent&&!i&&t>0?aT(e,t-1,e.dump,o):aT(e,t,e.dump,o),p&&(e.dump="&ref_"+d+e.dump)):(Kue(e,t,e.dump),p&&(e.dump="&ref_"+d+" "+e.dump));else if(a==="[object String]")e.tag!=="?"&&Wue(e,e.dump,t,s,l);else{if(a==="[object Undefined]"||e.skipInvalid)return!1;throw new ti("unacceptable kind of an object to dump "+a)}e.tag!==null&&e.tag!=="?"&&(c=encodeURI(e.tag[0]==="!"?e.tag.slice(1):e.tag).replace(/!/g,"%21"),e.tag[0]==="!"?c="!"+c:c.slice(0,18)==="tag:yaml.org,2002:"?c="!!"+c.slice(18):c="!<"+c+">",e.dump=c+" "+e.dump)}return!0}function Xue(e,t){var r=[],n=[],o,s;for(P_(e,r,n),o=0,s=n.length;o(E(),K("div",vde,[ue("a",{href:"#",class:"download-button relative flex items-center gap-2 !no-underline","aria-label":"Download OpenAPI Document as JSON",onClick:i[0]||(i[0]=la(a=>o("json"),["prevent"]))},[ue("span",yde,ze(S(n)("Download OpenAPI Document")),1),ye(S(Pc),{variant:"outline",class:"hidden group-hover:inline-block"},{default:U(()=>[...i[2]||(i[2]=[Vt("JSON",-1)])]),_:1})]),ue("a",{href:"#",class:"download-button yaml-button absolute hidden group-hover:flex items-center gap-2 !no-underline","aria-label":"Download OpenAPI Document as YAML",onClick:i[1]||(i[1]=la(a=>o("yaml"),["prevent"]))},[ue("span",bde,ze(S(n)("Download OpenAPI Document")),1),ye(S(Pc),{variant:"outline"},{default:U(()=>[...i[3]||(i[3]=[Vt("YAML",-1)])]),_:1})])]))}}),xde=$w(wde,[["__scopeId","data-v-8af20c23"]]),kde={class:"flex flex-col"},jde={class:"flex flex-col items-start"},_de={class:"flex flex-row items-center gap-2"},Sde={key:0,class:"text-muted-foreground"},Cde={class:"flex flex-row items-center gap-2"},Ade=["href","aria-label"],Ede={key:0,class:"text-muted-foreground"},Ode=["href","aria-label"],$de={class:"grid grid-cols-1 sm:grid-cols-2 gap-2"},Tde={key:0},Pde=["href","aria-label"],Ide={key:1},Dde=["href","aria-label"],Mde=["href","aria-label"],GC={__name:"OAInfoContent",props:{openapi:{type:Object,required:!0}},setup(e){const t=e,r=kn(),{t:n}=Jn(),o=t.openapi.spec.info??{},s=t.openapi.spec.externalDocs??{},i=n("External Documentation"),a=n("Contact");return(l,c)=>(E(),K("div",kde,[ue("div",jde,[ue("div",_de,[S(o).version?(E(),ve(S(Pc),{key:0,variant:"outline"},{default:U(()=>[Vt(" v"+ze(S(o).version),1)]),_:1})):je("",!0)]),ye(Rs,{level:"h1"},{default:U(()=>[Vt(ze(S(o).title??S(n)("API Documentation")),1)]),_:1}),S(r).getSpecDisableDownload()?je("",!0):(E(),ve(xde,{key:0,class:"mt-1",openapi:e.openapi},null,8,["openapi"]))]),S(o).summary?(E(),K("span",Sde,ze(S(o).summary),1)):je("",!0),S(o).description?(E(),ve(Wl,{key:1,content:S(o).description,class:"mt-4"},null,8,["content"])):je("",!0),S(o).contact?(E(),K(dt,{key:2},[ye(Rs,{level:"h2"},{default:U(()=>[Vt(ze(S(a)),1)]),_:1}),ue("div",Cde,[S(o).contact.url?(E(),K(dt,{key:0},[ue("a",{href:S(o).contact.url,"aria-label":S(o).contact.name??S(a)},ze(S(o).contact.name??S(a)),9,Ade),S(o).contact.email?(E(),K("span",Ede,"/")):je("",!0)],64)):je("",!0),S(o).contact.email?(E(),K("a",{key:1,href:`mailto:${S(o).contact.email}`,"aria-label":S(o).contact.email},ze(S(o).contact.email),9,Ode)):je("",!0)])],64)):je("",!0),ue("div",$de,[S(o).termsOfService?(E(),K("div",Tde,[ye(Rs,{level:"h2"},{default:U(()=>[Vt(ze(S(n)("Terms of Service")),1)]),_:1}),ue("a",{href:S(o).termsOfService,"aria-label":S(o).termsOfService},ze(S(o).termsOfService),9,Pde)])):je("",!0),S(o).license?(E(),K("div",Ide,[ye(Rs,{level:"h2"},{default:U(()=>[Vt(ze(S(n)("License")),1)]),_:1}),ue("a",{href:S(o).license.url,"aria-label":S(o).license.name},ze(S(o).license.name??S(n)("License")),9,Dde)])):je("",!0)]),Object.keys(S(s)).length?(E(),K(dt,{key:3},[ye(Rs,{level:"h2"},{default:U(()=>[Vt(ze(S(i)),1)]),_:1}),ue("a",{href:S(s).url,"aria-label":S(s).description??S(i)},ze(S(s).description??S(i)),9,Mde)],64)):je("",!0)]))}},Lde={__name:"OAInfo",props:{spec:{type:[Object,String],required:!1}},setup(e){const t=e;return(r,n)=>(E(),ve(bv,{spec:t.spec},{default:U(({openapi:o})=>[ye(GC,{openapi:o},null,8,["openapi"])]),_:1},8,["spec"]))}},Nde={class:"flex flex-col space-y-4"},Rde={class:"font-semibold select-all"},Bde={key:0,class:"text-muted-foreground"},JC={__name:"OAServersContent",props:{openapi:{type:Object,required:!0}},setup(e){const t=e.openapi.spec.servers??[],{t:r}=Jn();return(n,o)=>(E(),K("div",null,[ye(Rs,{level:"h2"},{default:U(()=>[Vt(ze(S(r)("Servers")),1)]),_:1}),ue("div",Nde,[(E(!0),K(dt,null,zt(S(t),s=>(E(),K("div",{key:s.url,class:"flex flex-col p-3 gap-2 rounded bg-muted overflow-x-auto"},[ue("span",Rde,ze(s.url),1),s.description?(E(),K("span",Bde,ze(s.description),1)):je("",!0)]))),128))])]))}},qde={__name:"OAIntroduction",props:{spec:{type:[Object,String],required:!1}},setup(e){const t=e;return(r,n)=>(E(),ve(bv,{spec:t.spec},{default:U(({openapi:o})=>[ye(GC,{openapi:o},null,8,["openapi"]),ye(JC,{openapi:o},null,8,["openapi"])]),_:1},8,["spec"]))}};function cT(e){return typeof e=="string"?`'${e}'`:new zde().serialize(e)}const zde=function(){var t;class e{constructor(){Xc(this,t,new Map)}compare(n,o){const s=typeof n,i=typeof o;return s==="string"&&i==="string"?n.localeCompare(o):s==="number"&&i==="number"?n-o:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(o,!0))}serialize(n,o){if(n===null)return"null";switch(typeof n){case"string":return o?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const o=Object.prototype.toString.call(n);if(o!=="[object Object]")return this.serializeBuiltInType(o.length<10?`unknown:${o}`:o.slice(8,-1),n);const s=n.constructor,i=s===Object||s===void 0?"":s.name;if(i!==""&&globalThis[i]===s)return this.serializeBuiltInType(i,n);if(typeof n.toJSON=="function"){const a=n.toJSON();return i+(a!==null&&typeof a=="object"?this.$object(a):`(${this.serialize(a)})`)}return this.serializeObjectEntries(i,Object.entries(n))}serializeBuiltInType(n,o){const s=this["$"+n];if(s)return s.call(this,o);if(typeof(o==null?void 0:o.entries)=="function")return this.serializeObjectEntries(n,o.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,o){const s=Array.from(o).sort((a,l)=>this.compare(a[0],l[0]));let i=`${n}{`;for(let a=0;athis.compare(o,s)))}`}$Map(n){return this.serializeObjectEntries("Map",n.entries())}}t=new WeakMap;for(const r of["Error","RegExp","URL"])e.prototype["$"+r]=function(n){return`${r}(${n})`};for(const r of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+r]=function(n){return`${r}[${n.join(",")}]`};for(const r of["BigInt64Array","BigUint64Array"])e.prototype["$"+r]=function(n){return`${r}[${n.join("n,")}${n.length>0?"n":""}]`};return e}();function bg(e,t){return e===t||cT(e)===cT(t)}function uT(e,t=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY){return Math.min(r,Math.max(t,e))}function li(e,t){const r=typeof e=="string"&&!t?`${e}Context`:t,n=Symbol(r);return[o=>{const s=_i(n,o);if(s||s===null)return s;throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},o=>(wp(n,o),o)]}function Fi(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function KC(e,t,r){const n=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&n.addEventListener(e,t,{once:!0}),n.dispatchEvent(o)}function nh(e){return e==null}function dT(e,t){return nh(e)?!1:Array.isArray(e)?e.some(r=>bg(r,t)):bg(e,t)}function QC(e){return e?e.flatMap(t=>t.type===dt?QC(t.children):[t]):[]}const[Pw]=li("ConfigProvider");function Ak(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function I_(e,t,r=".",n){if(!Ak(t))return I_(e,{},r);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:Ak(i)&&Ak(o[s])?o[s]=I_(i,o[s],(r?`${r}.`:"")+s.toString()):o[s]=i)}return o}function Fde(e){return(...t)=>t.reduce((r,n)=>I_(r,n,""),{})}const s5=Fde(),Vde=cK(()=>{const e=Oe(new Map),t=Oe(),r=le(()=>{for(const i of e.value.values())if(i)return!0;return!1}),n=Pw({scrollBody:Oe(!0)});let o=null;const s=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",CO&&(o==null||o()),t.value=void 0};return cr(r,(i,a)=>{var d;if(!Vl)return;if(!i){a&&s();return}t.value===void 0&&(t.value=document.body.style.overflow);const l=window.innerWidth-document.documentElement.clientWidth,c={padding:l,margin:0},u=(d=n.scrollBody)!=null&&d.value?typeof n.scrollBody.value=="object"?s5({padding:n.scrollBody.value.padding===!0?l:n.scrollBody.value.padding,margin:n.scrollBody.value.margin===!0?l:n.scrollBody.value.margin},c):c:{padding:0,margin:0};l>0&&(document.body.style.paddingRight=typeof u.padding=="number"?`${u.padding}px`:String(u.padding),document.body.style.marginRight=typeof u.margin=="number"?`${u.margin}px`:String(u.margin),document.documentElement.style.setProperty("--scrollbar-width",`${l}px`),document.body.style.overflow="hidden"),CO&&(o=Ru(document,"touchmove",p=>Hde(p),{passive:!1})),Io(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),e});function Ude(e){const t=Math.random().toString(36).substring(2,7),r=Vde();r.value.set(t,e??!1);const n=le({get:()=>r.value.get(t)??!1,set:o=>r.value.set(t,o)});return pK(()=>{r.value.delete(t)}),n}function i5(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function ZC(e){const t=Pw({dir:Oe("ltr")});return le(()=>{var r;return(e==null?void 0:e.value)||((r=t.dir)==null?void 0:r.value)||"ltr"})}function Wde(e){const t=Vc(),r=t==null?void 0:t.type.emits,n={};return r!=null&&r.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),r==null||r.forEach(o=>{n[uU(WL(o))]=(...s)=>e(o,...s)}),n}let Ek=0;function Gde(){Lo(e=>{if(!Vl)return;const t=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",t[0]??pT()),document.body.insertAdjacentElement("beforeend",t[1]??pT()),Ek++,e(()=>{Ek===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(r=>r.remove()),Ek--})})}function pT(){const e=document.createElement("span");return e.setAttribute("data-reka-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}function a5(e){return le(()=>{var t;return os(e)?!!((t=Ga(e))!=null&&t.closest("form")):!0})}function Kn(){const e=Vc(),t=Oe(),r=le(()=>n());LL(()=>{r.value!==n()&&aU(t)});function n(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:Ga(t)}const o=Object.assign({},e.exposed),s={};for(const a in e.props)Object.defineProperty(s,a,{enumerable:!0,configurable:!0,get:()=>e.props[a]});if(Object.keys(o).length>0)for(const a in o)Object.defineProperty(s,a,{enumerable:!0,configurable:!0,get:()=>o[a]});Object.defineProperty(s,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=s;function i(a){if(t.value=a,!!a&&(Object.defineProperty(s,"$el",{enumerable:!0,configurable:!0,get:()=>a instanceof Element?a:a.$el}),!(a instanceof Element)&&!Object.prototype.hasOwnProperty.call(a,"$el"))){const l=a.$.exposed,c=Object.assign({},s);for(const u in l)Object.defineProperty(c,u,{enumerable:!0,configurable:!0,get:()=>l[u]});e.exposed=c}}return{forwardRef:i,currentRef:t,currentElement:r}}function Wc(e){const t=Vc(),r=Object.keys((t==null?void 0:t.type.props)??{}).reduce((o,s)=>{const i=(t==null?void 0:t.type.props[s]).default;return i!==void 0&&(o[s]=i),o},{}),n=zL(e);return le(()=>{const o={},s=(t==null?void 0:t.vnode.props)??{};return Object.keys(s).forEach(i=>{o[WL(i)]=s[i]}),Object.keys({...r,...o}).reduce((i,a)=>(n.value[a]!==void 0&&(i[a]=n.value[a]),i),{})})}function Gc(e,t){const r=Wc(e),n=t?Wde(t):{};return le(()=>({...r.value,...n}))}function Jde(e,t){const r=nN(!1,300);Ah(()=>{r.value=!1});const n=Oe(null),o=YJ();function s(){n.value=null,r.value=!1}function i(a,l){const c=a.currentTarget,u={x:a.clientX,y:a.clientY},d=Kde(u,c.getBoundingClientRect()),p=Qde(u,d,1),f=Zde(l.getBoundingClientRect()),m=Yde([...p,...f]);n.value=m,r.value=!0}return Lo(a=>{if(e.value&&t.value){const l=u=>i(u,t.value),c=u=>i(u,e.value);e.value.addEventListener("pointerleave",l),t.value.addEventListener("pointerleave",c),a(()=>{var u,d;(u=e.value)==null||u.removeEventListener("pointerleave",l),(d=t.value)==null||d.removeEventListener("pointerleave",c)})}}),Lo(a=>{var l;if(n.value){const c=u=>{var g,y;if(!n.value||!(u.target instanceof Element))return;const d=u.target,p={x:u.clientX,y:u.clientY},f=((g=e.value)==null?void 0:g.contains(d))||((y=t.value)==null?void 0:y.contains(d)),m=!Xde(p,n.value),v=!!d.closest("[data-grace-area-trigger]");f?s():(m||v)&&(s(),o.trigger())};(l=e.value)==null||l.ownerDocument.addEventListener("pointermove",c),a(()=>{var u;return(u=e.value)==null?void 0:u.ownerDocument.removeEventListener("pointermove",c)})}}),{isPointerInTransit:r,onPointerExit:o.on}}function Kde(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(r,n,o,s)){case s:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function Qde(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function Zde(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function Xde(e,t){const{x:r,y:n}=e;let o=!1;for(let s=0,i=t.length-1;sn!=u>n&&r<(c-a)*(n-l)/(u-l)+a&&(o=!o)}return o}function Yde(e){const t=e.slice();return t.sort((r,n)=>r.xn.x?1:r.yn.y?1:0),epe(t)}function epe(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const s=r[r.length-1],i=r[r.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var tpe=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Kp=new WeakMap,sy=new WeakMap,iy={},Ok=0,l5=function(e){return e&&(e.host||l5(e.parentNode))},rpe=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=l5(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},npe=function(e,t,r,n){var o=rpe(t,Array.isArray(e)?e:[e]);iy[r]||(iy[r]=new WeakMap);var s=iy[r],i=[],a=new Set,l=new Set(o),c=function(d){!d||a.has(d)||(a.add(d),c(d.parentNode))};o.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(p){if(a.has(p))u(p);else try{var f=p.getAttribute(n),m=f!==null&&f!=="false",v=(Kp.get(p)||0)+1,g=(s.get(p)||0)+1;Kp.set(p,v),s.set(p,g),i.push(p),v===1&&m&&sy.set(p,!0),g===1&&p.setAttribute(r,"true"),m||p.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return u(t),a.clear(),Ok++,function(){i.forEach(function(d){var p=Kp.get(d)-1,f=s.get(d)-1;Kp.set(d,p),s.set(d,f),p||(sy.has(d)||d.removeAttribute(n),sy.delete(d)),f||d.removeAttribute(r)}),Ok--,Ok||(Kp=new WeakMap,Kp=new WeakMap,sy=new WeakMap,iy={})}},ope=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=tpe(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),npe(n,o,r,"aria-hidden")):function(){return null}};function spe(e){let t;cr(()=>Ga(e),r=>{r?t=ope(r):t&&t()}),nd(()=>{t&&t()})}let ipe=0;function jp(e,t="reka"){var n,o,s;let r;return"useId"in dU?r=(n=pU)==null?void 0:n():r=((s=(o=Pw({useId:void 0})).useId)==null?void 0:s.call(o))??`${++ipe}`,t?`${t}-${r}`:r}function ape(e){const t=Oe(),r=le(()=>{var o;return((o=t.value)==null?void 0:o.width)??0}),n=le(()=>{var o;return((o=t.value)==null?void 0:o.height)??0});return Oo(()=>{const o=Ga(e);if(o){t.value={width:o.offsetWidth,height:o.offsetHeight};const s=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const a=i[0];let l,c;if("borderBoxSize"in a){const u=a.borderBoxSize,d=Array.isArray(u)?u[0]:u;l=d.inlineSize,c=d.blockSize}else l=o.offsetWidth,c=o.offsetHeight;t.value={width:l,height:c}});return s.observe(o,{box:"border-box"}),()=>s.unobserve(o)}else t.value=void 0}),{width:r,height:n}}function lpe(e,t){const r=Oe(e);function n(o){return t[r.value][o]??r.value}return{state:r,dispatch:o=>{r.value=n(o)}}}function c5(e){const t=nN("",1e3);return{search:t,handleTypeaheadSearch:(r,n)=>{t.value=t.value+r;{const o=Fi(),s=n.map(u=>{var d,p;return{...u,textValue:((d=u.value)==null?void 0:d.textValue)??((p=u.ref.textContent)==null?void 0:p.trim())??""}}),i=s.find(u=>u.ref===o),a=s.map(u=>u.textValue),l=upe(a,t.value,i==null?void 0:i.textValue),c=s.find(u=>u.textValue===l);return c&&c.ref.focus(),c==null?void 0:c.ref}},resetTypeahead:()=>{t.value=""}}}function cpe(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function upe(e,t,r){const n=t.length>1&&Array.from(t).every(a=>a===t[0])?t[0]:t,o=r?e.indexOf(r):-1;let s=cpe(e,Math.max(o,0));n.length===1&&(s=s.filter(a=>a!==r));const i=s.find(a=>a.toLowerCase().startsWith(n.toLowerCase()));return i!==r?i:void 0}function dpe(e,t){var v;const r=Oe({}),n=Oe("none"),o=Oe(e),s=e.value?"mounted":"unmounted";let i;const a=((v=t.value)==null?void 0:v.ownerDocument.defaultView)??bl,{state:l,dispatch:c}=lpe(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),u=g=>{var y;if(Vl){const b=new CustomEvent(g,{bubbles:!1,cancelable:!1});(y=t.value)==null||y.dispatchEvent(b)}};cr(e,async(g,y)=>{var w;const b=y!==g;if(await Io(),b){const k=n.value,x=ay(t.value);g?(c("MOUNT"),u("enter"),x==="none"&&u("after-enter")):x==="none"||x==="undefined"||((w=r.value)==null?void 0:w.display)==="none"?(c("UNMOUNT"),u("leave"),u("after-leave")):y&&k!==x?(c("ANIMATION_OUT"),u("leave")):(c("UNMOUNT"),u("after-leave"))}},{immediate:!0});const d=g=>{const y=ay(t.value),b=y.includes(CSS.escape(g.animationName)),w=l.value==="mounted"?"enter":"leave";if(g.target===t.value&&b&&(u(`after-${w}`),c("ANIMATION_END"),!o.value)){const k=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",i=a==null?void 0:a.setTimeout(()=>{var x;((x=t.value)==null?void 0:x.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=k)})}g.target===t.value&&y==="none"&&c("ANIMATION_END")},p=g=>{g.target===t.value&&(n.value=ay(t.value))},f=cr(t,(g,y)=>{g?(r.value=getComputedStyle(g),g.addEventListener("animationstart",p),g.addEventListener("animationcancel",d),g.addEventListener("animationend",d)):(c("ANIMATION_END"),i!==void 0&&(a==null||a.clearTimeout(i)),y==null||y.removeEventListener("animationstart",p),y==null||y.removeEventListener("animationcancel",d),y==null||y.removeEventListener("animationend",d))},{immediate:!0}),m=cr(l,()=>{const g=ay(t.value);n.value=l.value==="mounted"?g:"none"});return nd(()=>{f(),m()}),{isPresent:le(()=>["mounted","unmountSuspended"].includes(l.value))}}function ay(e){return e&&getComputedStyle(e).animationName||"none"}var wv=Te({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:r}){var c;const{present:n,forceMount:o}=Uc(e),s=Oe(),{isPresent:i}=dpe(n,s);r({present:i});let a=t.default({present:i.value});a=QC(a||[]);const l=Vc();if(a&&(a==null?void 0:a.length)>1){const u=(c=l==null?void 0:l.parent)!=null&&c.type.name?`<${l.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(d=>` - ${d}`).join(` +`:""}var ede=Yue,tde={dump:ede};function WC(e,t){return function(){throw new Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}var rde=Ps,nde=b8,ode=j8,sde=E8,ide=O8,ade=FC,lde=G8.load,cde=G8.loadAll,ude=tde.dump,dde=ti,pde={binary:D8,float:A8,map:k8,null:_8,pairs:N8,set:L8,timestamp:P8,bool:S8,int:C8,merge:I8,omap:M8,seq:x8,str:w8},fde=WC("safeLoad","load"),hde=WC("safeLoadAll","loadAll"),mde=WC("safeDump","dump"),gde={Type:rde,Schema:nde,FAILSAFE_SCHEMA:ode,JSON_SCHEMA:sde,CORE_SCHEMA:ide,DEFAULT_SCHEMA:ade,load:lde,loadAll:cde,dump:ude,YAMLException:dde,types:pde,safeLoad:fde,safeLoadAll:hde,safeDump:mde};const vde={class:"download-container group relative"},yde={class:"underline mr-2"},bde={class:"underline mr-2"},wde=Te({__name:"OADownloadSpec",props:{openapi:{type:Object,required:!0}},setup(e){const t=e,r=/[^\w\-]/g,{t:n}=Jn();function o(s){var i;try{const a=t.openapi.getOriginalSpec();if(!a){console.warn("No OpenAPI Document available for download.");return}const l=s==="json"?JSON.stringify(a,null,2):gde.dump(a),c=s==="json"?"application/json":"application/yaml",u=new Blob([l],{type:c}),d=URL.createObjectURL(u),p=document.createElement("a");p.href=d;const f=(((i=t.openapi.spec.info)==null?void 0:i.title)||"openapi").replace(r,"_").toLowerCase();p.download=`${f}.${s}`,document.body.appendChild(p),p.click(),document.body.removeChild(p),URL.revokeObjectURL(d)}catch(a){console.error(`Error downloading OpenAPI spec as ${s}:`,a)}}return(s,i)=>(E(),K("div",vde,[ue("a",{href:"#",class:"download-button relative flex items-center gap-2 !no-underline","aria-label":"Download OpenAPI Document as JSON",onClick:i[0]||(i[0]=la(a=>o("json"),["prevent"]))},[ue("span",yde,ze(S(n)("Download OpenAPI Document")),1),ye(S(Pc),{variant:"outline",class:"hidden group-hover:inline-block"},{default:U(()=>[...i[2]||(i[2]=[Vt("JSON",-1)])]),_:1})]),ue("a",{href:"#",class:"download-button yaml-button absolute hidden group-hover:flex items-center gap-2 !no-underline","aria-label":"Download OpenAPI Document as YAML",onClick:i[1]||(i[1]=la(a=>o("yaml"),["prevent"]))},[ue("span",bde,ze(S(n)("Download OpenAPI Document")),1),ye(S(Pc),{variant:"outline"},{default:U(()=>[...i[3]||(i[3]=[Vt("YAML",-1)])]),_:1})])]))}}),xde=$w(wde,[["__scopeId","data-v-8af20c23"]]),kde={class:"flex flex-col"},jde={class:"flex flex-col items-start"},_de={class:"flex flex-row items-center gap-2"},Sde={key:0,class:"text-muted-foreground"},Cde={class:"flex flex-row items-center gap-2"},Ade=["href","aria-label"],Ede={key:0,class:"text-muted-foreground"},Ode=["href","aria-label"],$de={class:"grid grid-cols-1 sm:grid-cols-2 gap-2"},Tde={key:0},Pde=["href","aria-label"],Ide={key:1},Dde=["href","aria-label"],Mde=["href","aria-label"],GC={__name:"OAInfoContent",props:{openapi:{type:Object,required:!0}},setup(e){const t=e,r=kn(),{t:n}=Jn(),o=t.openapi.spec.info??{},s=t.openapi.spec.externalDocs??{},i=n("External Documentation"),a=n("Contact");return(l,c)=>(E(),K("div",kde,[ue("div",jde,[ue("div",_de,[S(o).version?(E(),ve(S(Pc),{key:0,variant:"outline"},{default:U(()=>[Vt(" v"+ze(S(o).version),1)]),_:1})):je("",!0)]),ye(Rs,{level:"h1"},{default:U(()=>[Vt(ze(S(o).title??S(n)("API Documentation")),1)]),_:1}),S(r).getSpecDisableDownload()?je("",!0):(E(),ve(xde,{key:0,class:"mt-1",openapi:e.openapi},null,8,["openapi"]))]),S(o).summary?(E(),K("span",Sde,ze(S(o).summary),1)):je("",!0),S(o).description?(E(),ve(Wl,{key:1,content:S(o).description,class:"mt-4"},null,8,["content"])):je("",!0),S(o).contact?(E(),K(dt,{key:2},[ye(Rs,{level:"h2"},{default:U(()=>[Vt(ze(S(a)),1)]),_:1}),ue("div",Cde,[S(o).contact.url?(E(),K(dt,{key:0},[ue("a",{href:S(o).contact.url,"aria-label":S(o).contact.name??S(a)},ze(S(o).contact.name??S(a)),9,Ade),S(o).contact.email?(E(),K("span",Ede,"/")):je("",!0)],64)):je("",!0),S(o).contact.email?(E(),K("a",{key:1,href:`mailto:${S(o).contact.email}`,"aria-label":S(o).contact.email},ze(S(o).contact.email),9,Ode)):je("",!0)])],64)):je("",!0),ue("div",$de,[S(o).termsOfService?(E(),K("div",Tde,[ye(Rs,{level:"h2"},{default:U(()=>[Vt(ze(S(n)("Terms of Service")),1)]),_:1}),ue("a",{href:S(o).termsOfService,"aria-label":S(o).termsOfService},ze(S(o).termsOfService),9,Pde)])):je("",!0),S(o).license?(E(),K("div",Ide,[ye(Rs,{level:"h2"},{default:U(()=>[Vt(ze(S(n)("License")),1)]),_:1}),ue("a",{href:S(o).license.url,"aria-label":S(o).license.name},ze(S(o).license.name??S(n)("License")),9,Dde)])):je("",!0)]),Object.keys(S(s)).length?(E(),K(dt,{key:3},[ye(Rs,{level:"h2"},{default:U(()=>[Vt(ze(S(i)),1)]),_:1}),ue("a",{href:S(s).url,"aria-label":S(s).description??S(i)},ze(S(s).description??S(i)),9,Mde)],64)):je("",!0)]))}},Nde={__name:"OAInfo",props:{spec:{type:[Object,String],required:!1}},setup(e){const t=e;return(r,n)=>(E(),ve(bv,{spec:t.spec},{default:U(({openapi:o})=>[ye(GC,{openapi:o},null,8,["openapi"])]),_:1},8,["spec"]))}},Lde={class:"flex flex-col space-y-4"},Rde={class:"font-semibold select-all"},Bde={key:0,class:"text-muted-foreground"},JC={__name:"OAServersContent",props:{openapi:{type:Object,required:!0}},setup(e){const t=e.openapi.spec.servers??[],{t:r}=Jn();return(n,o)=>(E(),K("div",null,[ye(Rs,{level:"h2"},{default:U(()=>[Vt(ze(S(r)("Servers")),1)]),_:1}),ue("div",Lde,[(E(!0),K(dt,null,zt(S(t),s=>(E(),K("div",{key:s.url,class:"flex flex-col p-3 gap-2 rounded bg-muted overflow-x-auto"},[ue("span",Rde,ze(s.url),1),s.description?(E(),K("span",Bde,ze(s.description),1)):je("",!0)]))),128))])]))}},qde={__name:"OAIntroduction",props:{spec:{type:[Object,String],required:!1}},setup(e){const t=e;return(r,n)=>(E(),ve(bv,{spec:t.spec},{default:U(({openapi:o})=>[ye(GC,{openapi:o},null,8,["openapi"]),ye(JC,{openapi:o},null,8,["openapi"])]),_:1},8,["spec"]))}};function cT(e){return typeof e=="string"?`'${e}'`:new zde().serialize(e)}const zde=function(){var t;class e{constructor(){Xc(this,t,new Map)}compare(n,o){const s=typeof n,i=typeof o;return s==="string"&&i==="string"?n.localeCompare(o):s==="number"&&i==="number"?n-o:String.prototype.localeCompare.call(this.serialize(n,!0),this.serialize(o,!0))}serialize(n,o){if(n===null)return"null";switch(typeof n){case"string":return o?n:`'${n}'`;case"bigint":return`${n}n`;case"object":return this.$object(n);case"function":return this.$function(n)}return String(n)}serializeObject(n){const o=Object.prototype.toString.call(n);if(o!=="[object Object]")return this.serializeBuiltInType(o.length<10?`unknown:${o}`:o.slice(8,-1),n);const s=n.constructor,i=s===Object||s===void 0?"":s.name;if(i!==""&&globalThis[i]===s)return this.serializeBuiltInType(i,n);if(typeof n.toJSON=="function"){const a=n.toJSON();return i+(a!==null&&typeof a=="object"?this.$object(a):`(${this.serialize(a)})`)}return this.serializeObjectEntries(i,Object.entries(n))}serializeBuiltInType(n,o){const s=this["$"+n];if(s)return s.call(this,o);if(typeof(o==null?void 0:o.entries)=="function")return this.serializeObjectEntries(n,o.entries());throw new Error(`Cannot serialize ${n}`)}serializeObjectEntries(n,o){const s=Array.from(o).sort((a,l)=>this.compare(a[0],l[0]));let i=`${n}{`;for(let a=0;athis.compare(o,s)))}`}$Map(n){return this.serializeObjectEntries("Map",n.entries())}}t=new WeakMap;for(const r of["Error","RegExp","URL"])e.prototype["$"+r]=function(n){return`${r}(${n})`};for(const r of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])e.prototype["$"+r]=function(n){return`${r}[${n.join(",")}]`};for(const r of["BigInt64Array","BigUint64Array"])e.prototype["$"+r]=function(n){return`${r}[${n.join("n,")}${n.length>0?"n":""}]`};return e}();function bg(e,t){return e===t||cT(e)===cT(t)}function uT(e,t=Number.NEGATIVE_INFINITY,r=Number.POSITIVE_INFINITY){return Math.min(r,Math.max(t,e))}function li(e,t){const r=typeof e=="string"&&!t?`${e}Context`:t,n=Symbol(r);return[o=>{const s=_i(n,o);if(s||s===null)return s;throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)},o=>(wp(n,o),o)]}function Fi(){let e=document.activeElement;if(e==null)return null;for(;e!=null&&e.shadowRoot!=null&&e.shadowRoot.activeElement!=null;)e=e.shadowRoot.activeElement;return e}function KC(e,t,r){const n=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&n.addEventListener(e,t,{once:!0}),n.dispatchEvent(o)}function nh(e){return e==null}function dT(e,t){return nh(e)?!1:Array.isArray(e)?e.some(r=>bg(r,t)):bg(e,t)}function QC(e){return e?e.flatMap(t=>t.type===dt?QC(t.children):[t]):[]}const[Pw]=li("ConfigProvider");function Ak(e){if(e===null||typeof e!="object")return!1;const t=Object.getPrototypeOf(e);return t!==null&&t!==Object.prototype&&Object.getPrototypeOf(t)!==null||Symbol.iterator in e?!1:Symbol.toStringTag in e?Object.prototype.toString.call(e)==="[object Module]":!0}function I_(e,t,r=".",n){if(!Ak(t))return I_(e,{},r);const o=Object.assign({},t);for(const s in e){if(s==="__proto__"||s==="constructor")continue;const i=e[s];i!=null&&(Array.isArray(i)&&Array.isArray(o[s])?o[s]=[...i,...o[s]]:Ak(i)&&Ak(o[s])?o[s]=I_(i,o[s],(r?`${r}.`:"")+s.toString()):o[s]=i)}return o}function Fde(e){return(...t)=>t.reduce((r,n)=>I_(r,n,""),{})}const s5=Fde(),Vde=cK(()=>{const e=Oe(new Map),t=Oe(),r=le(()=>{for(const i of e.value.values())if(i)return!0;return!1}),n=Pw({scrollBody:Oe(!0)});let o=null;const s=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=t.value??"",CO&&(o==null||o()),t.value=void 0};return cr(r,(i,a)=>{var d;if(!Vl)return;if(!i){a&&s();return}t.value===void 0&&(t.value=document.body.style.overflow);const l=window.innerWidth-document.documentElement.clientWidth,c={padding:l,margin:0},u=(d=n.scrollBody)!=null&&d.value?typeof n.scrollBody.value=="object"?s5({padding:n.scrollBody.value.padding===!0?l:n.scrollBody.value.padding,margin:n.scrollBody.value.margin===!0?l:n.scrollBody.value.margin},c):c:{padding:0,margin:0};l>0&&(document.body.style.paddingRight=typeof u.padding=="number"?`${u.padding}px`:String(u.padding),document.body.style.marginRight=typeof u.margin=="number"?`${u.margin}px`:String(u.margin),document.documentElement.style.setProperty("--scrollbar-width",`${l}px`),document.body.style.overflow="hidden"),CO&&(o=Ru(document,"touchmove",p=>Hde(p),{passive:!1})),Io(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),e});function Ude(e){const t=Math.random().toString(36).substring(2,7),r=Vde();r.value.set(t,e??!1);const n=le({get:()=>r.value.get(t)??!1,set:o=>r.value.set(t,o)});return pK(()=>{r.value.delete(t)}),n}function i5(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.cancelable&&t.preventDefault(),!1)}function ZC(e){const t=Pw({dir:Oe("ltr")});return le(()=>{var r;return(e==null?void 0:e.value)||((r=t.dir)==null?void 0:r.value)||"ltr"})}function Wde(e){const t=Vc(),r=t==null?void 0:t.type.emits,n={};return r!=null&&r.length||console.warn(`No emitted event found. Please check component: ${t==null?void 0:t.type.__name}`),r==null||r.forEach(o=>{n[uU(WN(o))]=(...s)=>e(o,...s)}),n}let Ek=0;function Gde(){No(e=>{if(!Vl)return;const t=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",t[0]??pT()),document.body.insertAdjacentElement("beforeend",t[1]??pT()),Ek++,e(()=>{Ek===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(r=>r.remove()),Ek--})})}function pT(){const e=document.createElement("span");return e.setAttribute("data-reka-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}function a5(e){return le(()=>{var t;return os(e)?!!((t=Ga(e))!=null&&t.closest("form")):!0})}function Kn(){const e=Vc(),t=Oe(),r=le(()=>n());NN(()=>{r.value!==n()&&aU(t)});function n(){return t.value&&"$el"in t.value&&["#text","#comment"].includes(t.value.$el.nodeName)?t.value.$el.nextElementSibling:Ga(t)}const o=Object.assign({},e.exposed),s={};for(const a in e.props)Object.defineProperty(s,a,{enumerable:!0,configurable:!0,get:()=>e.props[a]});if(Object.keys(o).length>0)for(const a in o)Object.defineProperty(s,a,{enumerable:!0,configurable:!0,get:()=>o[a]});Object.defineProperty(s,"$el",{enumerable:!0,configurable:!0,get:()=>e.vnode.el}),e.exposed=s;function i(a){if(t.value=a,!!a&&(Object.defineProperty(s,"$el",{enumerable:!0,configurable:!0,get:()=>a instanceof Element?a:a.$el}),!(a instanceof Element)&&!Object.prototype.hasOwnProperty.call(a,"$el"))){const l=a.$.exposed,c=Object.assign({},s);for(const u in l)Object.defineProperty(c,u,{enumerable:!0,configurable:!0,get:()=>l[u]});e.exposed=c}}return{forwardRef:i,currentRef:t,currentElement:r}}function Wc(e){const t=Vc(),r=Object.keys((t==null?void 0:t.type.props)??{}).reduce((o,s)=>{const i=(t==null?void 0:t.type.props[s]).default;return i!==void 0&&(o[s]=i),o},{}),n=zN(e);return le(()=>{const o={},s=(t==null?void 0:t.vnode.props)??{};return Object.keys(s).forEach(i=>{o[WN(i)]=s[i]}),Object.keys({...r,...o}).reduce((i,a)=>(n.value[a]!==void 0&&(i[a]=n.value[a]),i),{})})}function Gc(e,t){const r=Wc(e),n=t?Wde(t):{};return le(()=>({...r.value,...n}))}function Jde(e,t){const r=nL(!1,300);Ah(()=>{r.value=!1});const n=Oe(null),o=YJ();function s(){n.value=null,r.value=!1}function i(a,l){const c=a.currentTarget,u={x:a.clientX,y:a.clientY},d=Kde(u,c.getBoundingClientRect()),p=Qde(u,d,1),f=Zde(l.getBoundingClientRect()),m=Yde([...p,...f]);n.value=m,r.value=!0}return No(a=>{if(e.value&&t.value){const l=u=>i(u,t.value),c=u=>i(u,e.value);e.value.addEventListener("pointerleave",l),t.value.addEventListener("pointerleave",c),a(()=>{var u,d;(u=e.value)==null||u.removeEventListener("pointerleave",l),(d=t.value)==null||d.removeEventListener("pointerleave",c)})}}),No(a=>{var l;if(n.value){const c=u=>{var g,y;if(!n.value||!(u.target instanceof Element))return;const d=u.target,p={x:u.clientX,y:u.clientY},f=((g=e.value)==null?void 0:g.contains(d))||((y=t.value)==null?void 0:y.contains(d)),m=!Xde(p,n.value),v=!!d.closest("[data-grace-area-trigger]");f?s():(m||v)&&(s(),o.trigger())};(l=e.value)==null||l.ownerDocument.addEventListener("pointermove",c),a(()=>{var u;return(u=e.value)==null?void 0:u.ownerDocument.removeEventListener("pointermove",c)})}}),{isPointerInTransit:r,onPointerExit:o.on}}function Kde(e,t){const r=Math.abs(t.top-e.y),n=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),s=Math.abs(t.left-e.x);switch(Math.min(r,n,o,s)){case s:return"left";case o:return"right";case r:return"top";case n:return"bottom";default:throw new Error("unreachable")}}function Qde(e,t,r=5){const n=[];switch(t){case"top":n.push({x:e.x-r,y:e.y+r},{x:e.x+r,y:e.y+r});break;case"bottom":n.push({x:e.x-r,y:e.y-r},{x:e.x+r,y:e.y-r});break;case"left":n.push({x:e.x+r,y:e.y-r},{x:e.x+r,y:e.y+r});break;case"right":n.push({x:e.x-r,y:e.y-r},{x:e.x-r,y:e.y+r});break}return n}function Zde(e){const{top:t,right:r,bottom:n,left:o}=e;return[{x:o,y:t},{x:r,y:t},{x:r,y:n},{x:o,y:n}]}function Xde(e,t){const{x:r,y:n}=e;let o=!1;for(let s=0,i=t.length-1;sn!=u>n&&r<(c-a)*(n-l)/(u-l)+a&&(o=!o)}return o}function Yde(e){const t=e.slice();return t.sort((r,n)=>r.xn.x?1:r.yn.y?1:0),epe(t)}function epe(e){if(e.length<=1)return e.slice();const t=[];for(let n=0;n=2;){const s=t[t.length-1],i=t[t.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))t.pop();else break}t.push(o)}t.pop();const r=[];for(let n=e.length-1;n>=0;n--){const o=e[n];for(;r.length>=2;){const s=r[r.length-1],i=r[r.length-2];if((s.x-i.x)*(o.y-i.y)>=(s.y-i.y)*(o.x-i.x))r.pop();else break}r.push(o)}return r.pop(),t.length===1&&r.length===1&&t[0].x===r[0].x&&t[0].y===r[0].y?t:t.concat(r)}var tpe=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Kp=new WeakMap,sy=new WeakMap,iy={},Ok=0,l5=function(e){return e&&(e.host||l5(e.parentNode))},rpe=function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=l5(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},npe=function(e,t,r,n){var o=rpe(t,Array.isArray(e)?e:[e]);iy[r]||(iy[r]=new WeakMap);var s=iy[r],i=[],a=new Set,l=new Set(o),c=function(d){!d||a.has(d)||(a.add(d),c(d.parentNode))};o.forEach(c);var u=function(d){!d||l.has(d)||Array.prototype.forEach.call(d.children,function(p){if(a.has(p))u(p);else try{var f=p.getAttribute(n),m=f!==null&&f!=="false",v=(Kp.get(p)||0)+1,g=(s.get(p)||0)+1;Kp.set(p,v),s.set(p,g),i.push(p),v===1&&m&&sy.set(p,!0),g===1&&p.setAttribute(r,"true"),m||p.setAttribute(n,"true")}catch(y){console.error("aria-hidden: cannot operate on ",p,y)}})};return u(t),a.clear(),Ok++,function(){i.forEach(function(d){var p=Kp.get(d)-1,f=s.get(d)-1;Kp.set(d,p),s.set(d,f),p||(sy.has(d)||d.removeAttribute(n),sy.delete(d)),f||d.removeAttribute(r)}),Ok--,Ok||(Kp=new WeakMap,Kp=new WeakMap,sy=new WeakMap,iy={})}},ope=function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=tpe(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live]"))),npe(n,o,r,"aria-hidden")):function(){return null}};function spe(e){let t;cr(()=>Ga(e),r=>{r?t=ope(r):t&&t()}),nd(()=>{t&&t()})}let ipe=0;function jp(e,t="reka"){var n,o,s;let r;return"useId"in dU?r=(n=pU)==null?void 0:n():r=((s=(o=Pw({useId:void 0})).useId)==null?void 0:s.call(o))??`${++ipe}`,t?`${t}-${r}`:r}function ape(e){const t=Oe(),r=le(()=>{var o;return((o=t.value)==null?void 0:o.width)??0}),n=le(()=>{var o;return((o=t.value)==null?void 0:o.height)??0});return Oo(()=>{const o=Ga(e);if(o){t.value={width:o.offsetWidth,height:o.offsetHeight};const s=new ResizeObserver(i=>{if(!Array.isArray(i)||!i.length)return;const a=i[0];let l,c;if("borderBoxSize"in a){const u=a.borderBoxSize,d=Array.isArray(u)?u[0]:u;l=d.inlineSize,c=d.blockSize}else l=o.offsetWidth,c=o.offsetHeight;t.value={width:l,height:c}});return s.observe(o,{box:"border-box"}),()=>s.unobserve(o)}else t.value=void 0}),{width:r,height:n}}function lpe(e,t){const r=Oe(e);function n(o){return t[r.value][o]??r.value}return{state:r,dispatch:o=>{r.value=n(o)}}}function c5(e){const t=nL("",1e3);return{search:t,handleTypeaheadSearch:(r,n)=>{t.value=t.value+r;{const o=Fi(),s=n.map(u=>{var d,p;return{...u,textValue:((d=u.value)==null?void 0:d.textValue)??((p=u.ref.textContent)==null?void 0:p.trim())??""}}),i=s.find(u=>u.ref===o),a=s.map(u=>u.textValue),l=upe(a,t.value,i==null?void 0:i.textValue),c=s.find(u=>u.textValue===l);return c&&c.ref.focus(),c==null?void 0:c.ref}},resetTypeahead:()=>{t.value=""}}}function cpe(e,t){return e.map((r,n)=>e[(t+n)%e.length])}function upe(e,t,r){const n=t.length>1&&Array.from(t).every(a=>a===t[0])?t[0]:t,o=r?e.indexOf(r):-1;let s=cpe(e,Math.max(o,0));n.length===1&&(s=s.filter(a=>a!==r));const i=s.find(a=>a.toLowerCase().startsWith(n.toLowerCase()));return i!==r?i:void 0}function dpe(e,t){var v;const r=Oe({}),n=Oe("none"),o=Oe(e),s=e.value?"mounted":"unmounted";let i;const a=((v=t.value)==null?void 0:v.ownerDocument.defaultView)??bl,{state:l,dispatch:c}=lpe(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),u=g=>{var y;if(Vl){const b=new CustomEvent(g,{bubbles:!1,cancelable:!1});(y=t.value)==null||y.dispatchEvent(b)}};cr(e,async(g,y)=>{var w;const b=y!==g;if(await Io(),b){const k=n.value,x=ay(t.value);g?(c("MOUNT"),u("enter"),x==="none"&&u("after-enter")):x==="none"||x==="undefined"||((w=r.value)==null?void 0:w.display)==="none"?(c("UNMOUNT"),u("leave"),u("after-leave")):y&&k!==x?(c("ANIMATION_OUT"),u("leave")):(c("UNMOUNT"),u("after-leave"))}},{immediate:!0});const d=g=>{const y=ay(t.value),b=y.includes(CSS.escape(g.animationName)),w=l.value==="mounted"?"enter":"leave";if(g.target===t.value&&b&&(u(`after-${w}`),c("ANIMATION_END"),!o.value)){const k=t.value.style.animationFillMode;t.value.style.animationFillMode="forwards",i=a==null?void 0:a.setTimeout(()=>{var x;((x=t.value)==null?void 0:x.style.animationFillMode)==="forwards"&&(t.value.style.animationFillMode=k)})}g.target===t.value&&y==="none"&&c("ANIMATION_END")},p=g=>{g.target===t.value&&(n.value=ay(t.value))},f=cr(t,(g,y)=>{g?(r.value=getComputedStyle(g),g.addEventListener("animationstart",p),g.addEventListener("animationcancel",d),g.addEventListener("animationend",d)):(c("ANIMATION_END"),i!==void 0&&(a==null||a.clearTimeout(i)),y==null||y.removeEventListener("animationstart",p),y==null||y.removeEventListener("animationcancel",d),y==null||y.removeEventListener("animationend",d))},{immediate:!0}),m=cr(l,()=>{const g=ay(t.value);n.value=l.value==="mounted"?g:"none"});return nd(()=>{f(),m()}),{isPresent:le(()=>["mounted","unmountSuspended"].includes(l.value))}}function ay(e){return e&&getComputedStyle(e).animationName||"none"}var wv=Te({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(e,{slots:t,expose:r}){var c;const{present:n,forceMount:o}=Uc(e),s=Oe(),{isPresent:i}=dpe(n,s);r({present:i});let a=t.default({present:i.value});a=QC(a||[]);const l=Vc();if(a&&(a==null?void 0:a.length)>1){const u=(c=l==null?void 0:l.parent)!=null&&c.type.name?`<${l.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(d=>` - ${d}`).join(` `)].join(` -`))}return()=>o.value||n.value||i.value?_l(t.default({present:i.value})[0],{ref:u=>{const d=Ga(u);return typeof(d==null?void 0:d.hasAttribute)>"u"||(d!=null&&d.hasAttribute("data-reka-popper-content-wrapper")?s.value=d.firstElementChild:s.value=d),d}}):null}});const D_=Te({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:r}){return()=>{var l;if(!r.default)return null;const n=QC(r.default()),o=n.findIndex(c=>c.type!==lU);if(o===-1)return n;const s=n[o];(l=s.props)==null||delete l.ref;const i=s.props?jr(t,s.props):t,a=cU({...s,props:{}},i);return n.length===1?a:(n[o]=a,n)}}}),ppe=["area","img","input"],Rn=Te({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:r}){const n=e.asChild?"template":e.as;return typeof n=="string"&&ppe.includes(n)?()=>_l(n,t):n!=="template"?()=>_l(e.as,t,{default:r.default}):()=>_l(D_,t,{default:r.default})}});function M_(){const e=Oe(),t=le(()=>{var r,n;return["#text","#comment"].includes((r=e.value)==null?void 0:r.$el.nodeName)?(n=e.value)==null?void 0:n.$el.nextElementSibling:Ga(e)});return{primitiveElement:e,currentElement:t}}const[u5,fpe]=li("CollapsibleRoot");var hpe=Te({__name:"CollapsibleRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:open"],setup(e,{expose:t,emit:r}){const n=e,o=ca(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),{disabled:s,unmountOnHide:i}=Uc(n);return fpe({contentId:"",disabled:s,open:o,unmountOnHide:i,onOpenToggle:()=>{s.value||(o.value=!o.value)}}),t({open:o}),Kn(),(a,l)=>(E(),ve(S(Rn),{as:a.as,"as-child":n.asChild,"data-state":S(o)?"open":"closed","data-disabled":S(s)?"":void 0},{default:U(()=>[pe(a.$slots,"default",{open:S(o)})]),_:3},8,["as","as-child","data-state","data-disabled"]))}}),mpe=hpe,gpe=Te({inheritAttrs:!1,__name:"CollapsibleContent",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["contentFound"],setup(e,{emit:t}){const r=e,n=t,o=u5();o.contentId||(o.contentId=jp(void 0,"reka-collapsible-content"));const s=Oe(),{forwardRef:i,currentElement:a}=Kn(),l=Oe(0),c=Oe(0),u=le(()=>o.open.value),d=Oe(u.value),p=Oe();cr(()=>{var m;return[u.value,(m=s.value)==null?void 0:m.present]},async()=>{await Io();const m=a.value;if(!m)return;p.value=p.value||{transitionDuration:m.style.transitionDuration,animationName:m.style.animationName},m.style.transitionDuration="0s",m.style.animationName="none";const v=m.getBoundingClientRect();c.value=v.height,l.value=v.width,d.value||(m.style.transitionDuration=p.value.transitionDuration,m.style.animationName=p.value.animationName)},{immediate:!0});const f=le(()=>d.value&&o.open.value);return Oo(()=>{requestAnimationFrame(()=>{d.value=!1})}),Ru(a,"beforematch",m=>{requestAnimationFrame(()=>{o.onOpenToggle(),n("contentFound")})}),(m,v)=>(E(),ve(S(wv),{ref_key:"presentRef",ref:s,present:m.forceMount||S(o).open.value,"force-mount":!0},{default:U(({present:g})=>{var y;return[ye(S(Rn),jr(m.$attrs,{id:S(o).contentId,ref:S(i),"as-child":r.asChild,as:m.as,hidden:g?void 0:S(o).unmountOnHide.value?"":"until-found","data-state":f.value?void 0:S(o).open.value?"open":"closed","data-disabled":(y=S(o).disabled)!=null&&y.value?"":void 0,style:{"--reka-collapsible-content-height":`${c.value}px`,"--reka-collapsible-content-width":`${l.value}px`}}),{default:U(()=>[!S(o).unmountOnHide.value||g?pe(m.$slots,"default",{key:0}):je("v-if",!0)]),_:2},1040,["id","as-child","as","hidden","data-state","data-disabled","style"])]}),_:3},8,["present"]))}}),vpe=gpe,ype=Te({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;Kn();const r=u5();return(n,o)=>{var s,i;return E(),ve(S(Rn),{type:n.as==="button"?"button":void 0,as:n.as,"as-child":t.asChild,"aria-controls":S(r).contentId,"aria-expanded":S(r).open.value,"data-state":S(r).open.value?"open":"closed","data-disabled":(s=S(r).disabled)!=null&&s.value?"":void 0,disabled:(i=S(r).disabled)==null?void 0:i.value,onClick:S(r).onOpenToggle},{default:U(()=>[pe(n.$slots,"default")]),_:3},8,["type","as","as-child","aria-controls","aria-expanded","data-state","data-disabled","disabled","onClick"])}}}),bpe=ype;const wpe="dismissableLayer.pointerDownOutside",xpe="dismissableLayer.focusOutside";function d5(e,t){const r=t.closest("[data-dismissable-layer]"),n=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),o=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(r&&(n===r||o.indexOf(n){});return Lo(a=>{if(!Vl||!os(r))return;const l=async u=>{const d=u.target;if(!(!(t!=null&&t.value)||!d)){if(d5(t.value,d)){o.value=!1;return}if(u.target&&!o.value){let p=function(){KC(wpe,e,f)};const f={originalEvent:u};u.pointerType==="touch"?(n.removeEventListener("click",s.value),s.value=p,n.addEventListener("click",s.value,{once:!0})):p()}else n.removeEventListener("click",s.value);o.value=!1}},c=window.setTimeout(()=>{n.addEventListener("pointerdown",l)},0);a(()=>{window.clearTimeout(c),n.removeEventListener("pointerdown",l),n.removeEventListener("click",s.value)})}),{onPointerDownCapture:()=>{os(r)&&(o.value=!0)}}}function jpe(e,t,r=!0){var s;const n=((s=t==null?void 0:t.value)==null?void 0:s.ownerDocument)??(globalThis==null?void 0:globalThis.document),o=Oe(!1);return Lo(i=>{if(!Vl||!os(r))return;const a=async l=>{if(!(t!=null&&t.value))return;await Io(),await Io();const c=l.target;!t.value||!c||d5(t.value,c)||l.target&&!o.value&&KC(xpe,e,{originalEvent:l})};n.addEventListener("focusin",a),i(()=>n.removeEventListener("focusin",a))}),{onFocusCapture:()=>{os(r)&&(o.value=!0)},onBlurCapture:()=>{os(r)&&(o.value=!1)}}}const Gi=sC({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var _pe=Te({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const r=e,n=t,{forwardRef:o,currentElement:s}=Kn(),i=le(()=>{var f;return((f=s.value)==null?void 0:f.ownerDocument)??globalThis.document}),a=le(()=>Gi.layersRoot),l=le(()=>s.value?Array.from(a.value).indexOf(s.value):-1),c=le(()=>Gi.layersWithOutsidePointerEventsDisabled.size>0),u=le(()=>{const f=Array.from(a.value),[m]=[...Gi.layersWithOutsidePointerEventsDisabled].slice(-1),v=f.indexOf(m);return l.value>=v}),d=kpe(async f=>{const m=[...Gi.branches].some(v=>v==null?void 0:v.contains(f.target));!u.value||m||(n("pointerDownOutside",f),n("interactOutside",f),await Io(),f.defaultPrevented||n("dismiss"))},s),p=jpe(f=>{[...Gi.branches].some(m=>m==null?void 0:m.contains(f.target))||(n("focusOutside",f),n("interactOutside",f),f.defaultPrevented||n("dismiss"))},s);return mK("Escape",f=>{l.value===a.value.size-1&&(n("escapeKeyDown",f),f.defaultPrevented||n("dismiss"))}),Lo(f=>{s.value&&(r.disableOutsidePointerEvents&&(Gi.layersWithOutsidePointerEventsDisabled.size===0&&(Gi.originalBodyPointerEvents=i.value.body.style.pointerEvents,i.value.body.style.pointerEvents="none"),Gi.layersWithOutsidePointerEventsDisabled.add(s.value)),a.value.add(s.value),f(()=>{r.disableOutsidePointerEvents&&Gi.layersWithOutsidePointerEventsDisabled.size===1&&!nh(Gi.originalBodyPointerEvents)&&(i.value.body.style.pointerEvents=Gi.originalBodyPointerEvents)}))}),Lo(f=>{f(()=>{s.value&&(a.value.delete(s.value),Gi.layersWithOutsidePointerEventsDisabled.delete(s.value))})}),(f,m)=>(E(),ve(S(Rn),{ref:S(o),"as-child":f.asChild,as:f.as,"data-dismissable-layer":"",style:Sh({pointerEvents:c.value?u.value?"auto":"none":void 0}),onFocusCapture:S(p).onFocusCapture,onBlurCapture:S(p).onBlurCapture,onPointerdownCapture:S(d).onPointerDownCapture},{default:U(()=>[pe(f.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),p5=_pe;const Spe=eK(()=>Oe([]));function Cpe(){const e=Spe();return{add(t){const r=e.value[0];t!==r&&(r==null||r.pause()),e.value=fT(e.value,t),e.value.unshift(t)},remove(t){var r;e.value=fT(e.value,t),(r=e.value[0])==null||r.resume()}}}function fT(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}const $k="focusScope.autoFocusOnMount",Tk="focusScope.autoFocusOnUnmount",hT={bubbles:!1,cancelable:!0};function Ape(e,{select:t=!1}={}){const r=Fi();for(const n of e)if(ou(n,{select:t}),Fi()!==r)return!0}function Epe(e){const t=f5(e),r=mT(t,e),n=mT(t.reverse(),e);return[r,n]}function f5(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function mT(e,t){for(const r of e)if(!Ope(r,{upTo:t}))return r}function Ope(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 $pe(e){return e instanceof HTMLInputElement&&"select"in e}function ou(e,{select:t=!1}={}){if(e&&e.focus){const r=Fi();e.focus({preventScroll:!0}),e!==r&&$pe(e)&&t&&e.select()}}var Tpe=Te({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const r=e,n=t,{currentRef:o,currentElement:s}=Kn(),i=Oe(null),a=Cpe(),l=sC({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});Lo(u=>{if(!Vl)return;const d=s.value;if(!r.trapped)return;function p(g){if(l.paused||!d)return;const y=g.target;d.contains(y)?i.value=y:ou(i.value,{select:!0})}function f(g){if(l.paused||!d)return;const y=g.relatedTarget;y!==null&&(d.contains(y)||ou(i.value,{select:!0}))}function m(g){d.contains(i.value)||ou(d)}document.addEventListener("focusin",p),document.addEventListener("focusout",f);const v=new MutationObserver(m);d&&v.observe(d,{childList:!0,subtree:!0}),u(()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",f),v.disconnect()})}),Lo(async u=>{const d=s.value;if(await Io(),!d)return;a.add(l);const p=Fi();if(!d.contains(p)){const f=new CustomEvent($k,hT);d.addEventListener($k,m=>n("mountAutoFocus",m)),d.dispatchEvent(f),f.defaultPrevented||(Ape(f5(d),{select:!0}),Fi()===p&&ou(d))}u(()=>{d.removeEventListener($k,v=>n("mountAutoFocus",v));const f=new CustomEvent(Tk,hT),m=v=>{n("unmountAutoFocus",v)};d.addEventListener(Tk,m),d.dispatchEvent(f),setTimeout(()=>{f.defaultPrevented||ou(p??document.body,{select:!0}),d.removeEventListener(Tk,m),a.remove(l)},0)})});function c(u){if(!r.loop&&!r.trapped||l.paused)return;const d=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,p=Fi();if(d&&p){const f=u.currentTarget,[m,v]=Epe(f);m&&v?!u.shiftKey&&p===v?(u.preventDefault(),r.loop&&ou(m,{select:!0})):u.shiftKey&&p===m&&(u.preventDefault(),r.loop&&ou(v,{select:!0})):p===f&&u.preventDefault()}}return(u,d)=>(E(),ve(S(Rn),{ref_key:"currentRef",ref:o,tabindex:"-1","as-child":u.asChild,as:u.as,onKeydown:c},{default:U(()=>[pe(u.$slots,"default")]),_:3},8,["as-child","as"]))}}),Ppe=Tpe;function gT(e){const t=Fi();for(const r of e)if(r===t||(r.focus(),Fi()!==t))return}var Ipe=Te({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=iN();return(r,n)=>S(t)||r.forceMount?(E(),ve(GL,{key:0,to:r.to,disabled:r.disabled,defer:r.defer},[pe(r.$slots,"default")],8,["to","disabled","defer"])):je("v-if",!0)}}),h5=Ipe;const vT="data-reka-collection-item";function id(e={}){const{key:t="",isProvider:r=!1}=e,n=`${t}CollectionProvider`;let o;if(r){const u=Oe(new Map);o={collectionRef:Oe(),itemMap:u},wp(n,o)}else o=_i(n);const s=(u=!1)=>{const d=o.collectionRef.value;if(!d)return[];const p=Array.from(d.querySelectorAll(`[${vT}]`)),f=Array.from(o.itemMap.value.values()).sort((m,v)=>p.indexOf(m.ref)-p.indexOf(v.ref));return u?f:f.filter(m=>m.ref.dataset.disabled!=="")},i=Te({name:"CollectionSlot",inheritAttrs:!1,setup(u,{slots:d,attrs:p}){const{primitiveElement:f,currentElement:m}=M_();return cr(m,()=>{o.collectionRef.value=m.value}),()=>_l(D_,{ref:f,...p},d)}}),a=Te({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(u,{slots:d,attrs:p}){const{primitiveElement:f,currentElement:m}=M_();return Lo(v=>{if(m.value){const g=fU(m.value);o.itemMap.value.set(g,{ref:m.value,value:u.value}),v(()=>o.itemMap.value.delete(g))}}),()=>_l(D_,{...p,[vT]:"",ref:f},d)}}),l=le(()=>Array.from(o.itemMap.value.values())),c=le(()=>o.itemMap.value.size);return{getItems:s,reactiveItems:l,itemMapSize:c,CollectionSlot:i,CollectionItem:a}}var Dpe=Te({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,r)=>(E(),ve(S(Rn),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:U(()=>[pe(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),XC=Dpe,Mpe=Te({inheritAttrs:!1,__name:"VisuallyHiddenInputBubble",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(e){const t=e,{primitiveElement:r,currentElement:n}=M_(),o=le(()=>t.checked??t.value);return cr(o,(s,i)=>{if(!n.value)return;const a=n.value,l=window.HTMLInputElement.prototype,c=Object.getOwnPropertyDescriptor(l,"value").set;if(c&&s!==i){const u=new Event("input",{bubbles:!0}),d=new Event("change",{bubbles:!0});c.call(a,s),a.dispatchEvent(u),a.dispatchEvent(d)}}),(s,i)=>(E(),ve(XC,jr({ref_key:"primitiveElement",ref:r},{...t,...s.$attrs},{as:"input"}),null,16))}}),yT=Mpe,Lpe=Te({inheritAttrs:!1,__name:"VisuallyHiddenInput",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(e){const t=e,r=le(()=>typeof t.value=="object"&&Array.isArray(t.value)&&t.value.length===0&&t.required),n=le(()=>typeof t.value=="string"||typeof t.value=="number"||typeof t.value=="boolean"||t.value===null||t.value===void 0?[{name:t.name,value:t.value}]:typeof t.value=="object"&&Array.isArray(t.value)?t.value.flatMap((o,s)=>typeof o=="object"?Object.entries(o).map(([i,a])=>({name:`${t.name}[${s}][${i}]`,value:a})):{name:`${t.name}[${s}]`,value:o}):t.value!==null&&typeof t.value=="object"&&!Array.isArray(t.value)?Object.entries(t.value).map(([o,s])=>({name:`${t.name}[${o}]`,value:s})):[]);return(o,s)=>(E(),K(dt,null,[je(" We render single input if it's required "),r.value?(E(),ve(yT,jr({key:o.name},{...t,...o.$attrs},{name:o.name,value:o.value}),null,16,["name","value"])):(E(!0),K(dt,{key:1},zt(n.value,i=>(E(),ve(yT,jr({key:i.name},{ref_for:!0},{...t,...o.$attrs},{name:i.name,value:i.value}),null,16,["name","value"]))),128))],2112))}}),Npe=Lpe;const Rpe="rovingFocusGroup.onEntryFocus",Bpe={bubbles:!1,cancelable:!0},qpe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function zpe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Fpe(e,t,r){const n=zpe(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return qpe[n]}function m5(e,t=!1){const r=Fi();for(const n of e)if(n===r||(n.focus({preventScroll:t}),Fi()!==r))return}function Vpe(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const[g5,Upe]=li("PopperRoot");var Hpe=Te({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=Oe();return Upe({anchor:t,onAnchorChange:r=>t.value=r}),(r,n)=>pe(r.$slots,"default")}}),v5=Hpe,Wpe=Te({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:r,currentElement:n}=Kn(),o=g5();return _h(()=>{o.onAnchorChange(t.reference??n.value)}),(s,i)=>(E(),ve(S(Rn),{ref:S(r),as:s.as,"as-child":s.asChild},{default:U(()=>[pe(s.$slots,"default")]),_:3},8,["as","as-child"]))}}),y5=Wpe;function Gpe(e){return e!==null}function Jpe(e){return{name:"transformOrigin",options:e,fn(t){var v,g,y;const{placement:r,rects:n,middlewareData:o}=t,s=((v=o.arrow)==null?void 0:v.centerOffset)!==0,i=s?0:e.arrowWidth,a=s?0:e.arrowHeight,[l,c]=L_(r),u={start:"0%",center:"50%",end:"100%"}[c],d=(((g=o.arrow)==null?void 0:g.x)??0)+i/2,p=(((y=o.arrow)==null?void 0:y.y)??0)+a/2;let f="",m="";return l==="bottom"?(f=s?u:`${d}px`,m=`${-a}px`):l==="top"?(f=s?u:`${d}px`,m=`${n.floating.height+a}px`):l==="right"?(f=`${-a}px`,m=s?u:`${p}px`):l==="left"&&(f=`${n.floating.width+a}px`,m=s?u:`${p}px`),{data:{x:f,y:m}}}}}function L_(e){const[t,r="center"]=e.split("-");return[t,r]}const Kpe=["top","right","bottom","left"],Fu=Math.min,Li=Math.max,zb=Math.round,ly=Math.floor,El=e=>({x:e,y:e}),Qpe={left:"right",right:"left",bottom:"top",top:"bottom"},Zpe={start:"end",end:"start"};function N_(e,t,r){return Li(e,Fu(t,r))}function Dc(e,t){return typeof e=="function"?e(t):e}function Mc(e){return e.split("-")[0]}function Oh(e){return e.split("-")[1]}function YC(e){return e==="x"?"y":"x"}function eA(e){return e==="y"?"height":"width"}function Vu(e){return["top","bottom"].includes(Mc(e))?"y":"x"}function tA(e){return YC(Vu(e))}function Xpe(e,t,r){r===void 0&&(r=!1);const n=Oh(e),o=tA(e),s=eA(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Fb(i)),[i,Fb(i)]}function Ype(e){const t=Fb(e);return[R_(e),t,R_(t)]}function R_(e){return e.replace(/start|end/g,t=>Zpe[t])}function efe(e,t,r){const n=["left","right"],o=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?s:i;default:return[]}}function tfe(e,t,r,n){const o=Oh(e);let s=efe(Mc(e),r==="start",n);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(R_)))),s}function Fb(e){return e.replace(/left|right|bottom|top/g,t=>Qpe[t])}function rfe(e){return{top:0,right:0,bottom:0,left:0,...e}}function b5(e){return typeof e!="number"?rfe(e):{top:e,right:e,bottom:e,left:e}}function Vb(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function bT(e,t,r){let{reference:n,floating:o}=e;const s=Vu(t),i=tA(t),a=eA(i),l=Mc(t),c=s==="y",u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,p=n[a]/2-o[a]/2;let f;switch(l){case"top":f={x:u,y:n.y-o.height};break;case"bottom":f={x:u,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:d};break;case"left":f={x:n.x-o.width,y:d};break;default:f={x:n.x,y:n.y}}switch(Oh(t)){case"start":f[i]-=p*(r&&c?-1:1);break;case"end":f[i]+=p*(r&&c?-1:1);break}return f}const nfe=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:i}=r,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=bT(c,n,l),p=n,f={},m=0;for(let v=0;v({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=Dc(e,t)||{};if(c==null)return{};const d=b5(u),p={x:r,y:n},f=tA(o),m=eA(f),v=await i.getDimensions(c),g=f==="y",y=g?"top":"left",b=g?"bottom":"right",w=g?"clientHeight":"clientWidth",k=s.reference[m]+s.reference[f]-p[f]-s.floating[m],x=p[f]-s.reference[f],j=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let _=j?j[w]:0;(!_||!await(i.isElement==null?void 0:i.isElement(j)))&&(_=a.floating[w]||s.floating[m]);const C=k/2-x/2,A=_/2-v[m]/2-1,I=Fu(d[y],A),M=Fu(d[b],A),N=I,F=_-v[m]-M,z=_/2-v[m]/2+C,L=N_(N,z,F),X=!l.arrow&&Oh(o)!=null&&z!==L&&s.reference[m]/2-(zz<=0)){var M,N;const z=(((M=s.flip)==null?void 0:M.index)||0)+1,L=_[z];if(L)return{data:{index:z,overflows:I},reset:{placement:L}};let X=(N=I.filter(V=>V.overflows[0]<=0).sort((V,J)=>V.overflows[1]-J.overflows[1])[0])==null?void 0:N.placement;if(!X)switch(f){case"bestFit":{var F;const V=(F=I.filter(J=>{if(j){const oe=Vu(J.placement);return oe===b||oe==="y"}return!0}).map(J=>[J.placement,J.overflows.filter(oe=>oe>0).reduce((oe,H)=>oe+H,0)]).sort((J,oe)=>J[1]-oe[1])[0])==null?void 0:F[0];V&&(X=V);break}case"initialPlacement":X=a;break}if(o!==X)return{reset:{placement:X}}}return{}}}};function wT(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function xT(e){return Kpe.some(t=>e[t]>=0)}const ife=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=Dc(e,t);switch(n){case"referenceHidden":{const s=await wg(t,{...o,elementContext:"reference"}),i=wT(s,r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:xT(i)}}}case"escaped":{const s=await wg(t,{...o,altBoundary:!0}),i=wT(s,r.floating);return{data:{escapedOffsets:i,escaped:xT(i)}}}default:return{}}}}};async function afe(e,t){const{placement:r,platform:n,elements:o}=e,s=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=Mc(r),a=Oh(r),l=Vu(r)==="y",c=["left","top"].includes(i)?-1:1,u=s&&l?-1:1,d=Dc(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof m=="number"&&(f=a==="end"?m*-1:m),l?{x:f*u,y:p*c}:{x:p*c,y:f*u}}const lfe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await afe(t,e);return i===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},cfe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:g=>{let{x:y,y:b}=g;return{x:y,y:b}}},...l}=Dc(e,t),c={x:r,y:n},u=await wg(t,l),d=Vu(Mc(o)),p=YC(d);let f=c[p],m=c[d];if(s){const g=p==="y"?"top":"left",y=p==="y"?"bottom":"right",b=f+u[g],w=f-u[y];f=N_(b,f,w)}if(i){const g=d==="y"?"top":"left",y=d==="y"?"bottom":"right",b=m+u[g],w=m-u[y];m=N_(b,m,w)}const v=a.fn({...t,[p]:f,[d]:m});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[p]:s,[d]:i}}}}}},ufe=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=Dc(e,t),u={x:r,y:n},d=Vu(o),p=YC(d);let f=u[p],m=u[d];const v=Dc(a,t),g=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const w=p==="y"?"height":"width",k=s.reference[p]-s.floating[w]+g.mainAxis,x=s.reference[p]+s.reference[w]-g.mainAxis;fx&&(f=x)}if(c){var y,b;const w=p==="y"?"width":"height",k=["top","left"].includes(Mc(o)),x=s.reference[d]-s.floating[w]+(k&&((y=i.offset)==null?void 0:y[d])||0)+(k?0:g.crossAxis),j=s.reference[d]+s.reference[w]+(k?0:((b=i.offset)==null?void 0:b[d])||0)-(k?g.crossAxis:0);mj&&(m=j)}return{[p]:f,[d]:m}}}},dfe=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...c}=Dc(e,t),u=await wg(t,c),d=Mc(o),p=Oh(o),f=Vu(o)==="y",{width:m,height:v}=s.floating;let g,y;d==="top"||d==="bottom"?(g=d,y=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=d,g=p==="end"?"top":"bottom");const b=v-u.top-u.bottom,w=m-u.left-u.right,k=Fu(v-u[g],b),x=Fu(m-u[y],w),j=!t.middlewareData.shift;let _=k,C=x;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(C=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(_=b),j&&!p){const I=Li(u.left,0),M=Li(u.right,0),N=Li(u.top,0),F=Li(u.bottom,0);f?C=m-2*(I!==0||M!==0?I+M:Li(u.left,u.right)):_=v-2*(N!==0||F!==0?N+F:Li(u.top,u.bottom))}await l({...t,availableWidth:C,availableHeight:_});const A=await i.getDimensions(a.floating);return m!==A.width||v!==A.height?{reset:{rects:!0}}:{}}}};function Iw(){return typeof window<"u"}function _p(e){return rA(e)?(e.nodeName||"").toLowerCase():"#document"}function Vi(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Gl(e){var t;return(t=(rA(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function rA(e){return Iw()?e instanceof Node||e instanceof Vi(e).Node:!1}function Ja(e){return Iw()?e instanceof Element||e instanceof Vi(e).Element:!1}function Dl(e){return Iw()?e instanceof HTMLElement||e instanceof Vi(e).HTMLElement:!1}function kT(e){return!Iw()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Vi(e).ShadowRoot}function xv(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Ka(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function pfe(e){return["table","td","th"].includes(_p(e))}function Dw(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function nA(e){const t=oA(),r=Ja(e)?Ka(e):e;return["transform","translate","scale","rotate","perspective"].some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function ffe(e){let t=Uu(e);for(;Dl(t)&&!oh(t);){if(nA(t))return t;if(Dw(t))return null;t=Uu(t)}return null}function oA(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function oh(e){return["html","body","#document"].includes(_p(e))}function Ka(e){return Vi(e).getComputedStyle(e)}function Mw(e){return Ja(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Uu(e){if(_p(e)==="html")return e;const t=e.assignedSlot||e.parentNode||kT(e)&&e.host||Gl(e);return kT(t)?t.host:t}function w5(e){const t=Uu(e);return oh(t)?e.ownerDocument?e.ownerDocument.body:e.body:Dl(t)&&xv(t)?t:w5(t)}function xg(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=w5(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),i=Vi(o);if(s){const a=B_(i);return t.concat(i,i.visualViewport||[],xv(o)?o:[],a&&r?xg(a):[])}return t.concat(o,xg(o,[],r))}function B_(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function x5(e){const t=Ka(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Dl(e),s=o?e.offsetWidth:r,i=o?e.offsetHeight:n,a=zb(r)!==s||zb(n)!==i;return a&&(r=s,n=i),{width:r,height:n,$:a}}function sA(e){return Ja(e)?e:e.contextElement}function Df(e){const t=sA(e);if(!Dl(t))return El(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=x5(t);let i=(s?zb(r.width):r.width)/n,a=(s?zb(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const hfe=El(0);function k5(e){const t=Vi(e);return!oA()||!t.visualViewport?hfe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function mfe(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Vi(e)?!1:t}function rp(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),s=sA(e);let i=El(1);t&&(n?Ja(n)&&(i=Df(n)):i=Df(e));const a=mfe(s,r,n)?k5(s):El(0);let l=(o.left+a.x)/i.x,c=(o.top+a.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(s){const p=Vi(s),f=n&&Ja(n)?Vi(n):n;let m=p,v=B_(m);for(;v&&n&&f!==m;){const g=Df(v),y=v.getBoundingClientRect(),b=Ka(v),w=y.left+(v.clientLeft+parseFloat(b.paddingLeft))*g.x,k=y.top+(v.clientTop+parseFloat(b.paddingTop))*g.y;l*=g.x,c*=g.y,u*=g.x,d*=g.y,l+=w,c+=k,m=Vi(v),v=B_(m)}}return Vb({width:u,height:d,x:l,y:c})}function iA(e,t){const r=Mw(e).scrollLeft;return t?t.left+r:rp(Gl(e)).left+r}function j5(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:iA(e,n)),s=n.top+t.scrollTop;return{x:o,y:s}}function gfe(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",i=Gl(n),a=t?Dw(t.floating):!1;if(n===i||a&&s)return r;let l={scrollLeft:0,scrollTop:0},c=El(1);const u=El(0),d=Dl(n);if((d||!d&&!s)&&((_p(n)!=="body"||xv(i))&&(l=Mw(n)),Dl(n))){const f=rp(n);c=Df(n),u.x=f.x+n.clientLeft,u.y=f.y+n.clientTop}const p=i&&!d&&!s?j5(i,l,!0):El(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:r.y*c.y-l.scrollTop*c.y+u.y+p.y}}function vfe(e){return Array.from(e.getClientRects())}function yfe(e){const t=Gl(e),r=Mw(e),n=e.ownerDocument.body,o=Li(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=Li(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+iA(e);const a=-r.scrollTop;return Ka(n).direction==="rtl"&&(i+=Li(t.clientWidth,n.clientWidth)-o),{width:o,height:s,x:i,y:a}}function bfe(e,t){const r=Vi(e),n=Gl(e),o=r.visualViewport;let s=n.clientWidth,i=n.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const c=oA();(!c||c&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a,y:l}}function wfe(e,t){const r=rp(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,s=Dl(e)?Df(e):El(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,c=n*s.y;return{width:i,height:a,x:l,y:c}}function jT(e,t,r){let n;if(t==="viewport")n=bfe(e,r);else if(t==="document")n=yfe(Gl(e));else if(Ja(t))n=wfe(t,r);else{const o=k5(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Vb(n)}function _5(e,t){const r=Uu(e);return r===t||!Ja(r)||oh(r)?!1:Ka(r).position==="fixed"||_5(r,t)}function xfe(e,t){const r=t.get(e);if(r)return r;let n=xg(e,[],!1).filter(a=>Ja(a)&&_p(a)!=="body"),o=null;const s=Ka(e).position==="fixed";let i=s?Uu(e):e;for(;Ja(i)&&!oh(i);){const a=Ka(i),l=nA(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&o&&["absolute","fixed"].includes(o.position)||xv(i)&&!l&&_5(e,i))?n=n.filter(c=>c!==i):o=a,i=Uu(i)}return t.set(e,n),n}function kfe(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?Dw(t)?[]:xfe(t,this._c):[].concat(r),n],i=s[0],a=s.reduce((l,c)=>{const u=jT(t,c,o);return l.top=Li(u.top,l.top),l.right=Fu(u.right,l.right),l.bottom=Fu(u.bottom,l.bottom),l.left=Li(u.left,l.left),l},jT(t,i,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function jfe(e){const{width:t,height:r}=x5(e);return{width:t,height:r}}function _fe(e,t,r){const n=Dl(t),o=Gl(t),s=r==="fixed",i=rp(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=El(0);if(n||!n&&!s)if((_p(t)!=="body"||xv(o))&&(a=Mw(t)),n){const p=rp(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&(l.x=iA(o));const c=o&&!n&&!s?j5(o,a):El(0),u=i.left+a.scrollLeft-l.x-c.x,d=i.top+a.scrollTop-l.y-c.y;return{x:u,y:d,width:i.width,height:i.height}}function Pk(e){return Ka(e).position==="static"}function _T(e,t){if(!Dl(e)||Ka(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Gl(e)===r&&(r=r.ownerDocument.body),r}function S5(e,t){const r=Vi(e);if(Dw(e))return r;if(!Dl(e)){let o=Uu(e);for(;o&&!oh(o);){if(Ja(o)&&!Pk(o))return o;o=Uu(o)}return r}let n=_T(e,t);for(;n&&pfe(n)&&Pk(n);)n=_T(n,t);return n&&oh(n)&&Pk(n)&&!nA(n)?r:n||ffe(e)||r}const Sfe=async function(e){const t=this.getOffsetParent||S5,r=this.getDimensions,n=await r(e.floating);return{reference:_fe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Cfe(e){return Ka(e).direction==="rtl"}const Afe={convertOffsetParentRelativeRectToViewportRelativeRect:gfe,getDocumentElement:Gl,getClippingRect:kfe,getOffsetParent:S5,getElementRects:Sfe,getClientRects:vfe,getDimensions:jfe,getScale:Df,isElement:Ja,isRTL:Cfe};function C5(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Efe(e,t){let r=null,n;const o=Gl(e);function s(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(a||t(),!p||!f)return;const m=ly(d),v=ly(o.clientWidth-(u+p)),g=ly(o.clientHeight-(d+f)),y=ly(u),b={rootMargin:-m+"px "+-v+"px "+-g+"px "+-y+"px",threshold:Li(0,Fu(1,l))||1};let w=!0;function k(x){const j=x[0].intersectionRatio;if(j!==l){if(!w)return i();j?i(!1,j):n=setTimeout(()=>{i(!1,1e-7)},1e3)}j===1&&!C5(c,e.getBoundingClientRect())&&i(),w=!1}try{r=new IntersectionObserver(k,{...b,root:o.ownerDocument})}catch{r=new IntersectionObserver(k,b)}r.observe(e)}return i(!0),s}function Ofe(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=sA(e),u=o||s?[...c?xg(c):[],...xg(t)]:[];u.forEach(y=>{o&&y.addEventListener("scroll",r,{passive:!0}),s&&y.addEventListener("resize",r)});const d=c&&a?Efe(c,r):null;let p=-1,f=null;i&&(f=new ResizeObserver(y=>{let[b]=y;b&&b.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=f)==null||w.observe(t)})),r()}),c&&!l&&f.observe(c),f.observe(t));let m,v=l?rp(e):null;l&&g();function g(){const y=rp(e);v&&!C5(v,y)&&r(),v=y,m=requestAnimationFrame(g)}return r(),()=>{var y;u.forEach(b=>{o&&b.removeEventListener("scroll",r),s&&b.removeEventListener("resize",r)}),d==null||d(),(y=f)==null||y.disconnect(),f=null,l&&cancelAnimationFrame(m)}}const $fe=lfe,Tfe=cfe,ST=sfe,Pfe=dfe,Ife=ife,Dfe=ofe,Mfe=ufe,Lfe=(e,t,r)=>{const n=new Map,o={platform:Afe,...r},s={...o.platform,_c:n};return nfe(e,t,{...o,platform:s})};function Nfe(e){return e!=null&&typeof e=="object"&&"$el"in e}function q_(e){if(Nfe(e)){const t=e.$el;return rA(t)&&_p(t)==="#comment"?null:t}return e}function df(e){return typeof e=="function"?e():S(e)}function Rfe(e){return{name:"arrow",options:e,fn(t){const r=q_(df(e.element));return r==null?{}:Dfe({element:r,padding:e.padding}).fn(t)}}}function A5(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function CT(e,t){const r=A5(e);return Math.round(t*r)/r}function Bfe(e,t,r){r===void 0&&(r={});const n=r.whileElementsMounted,o=le(()=>{var _;return(_=df(r.open))!=null?_:!0}),s=le(()=>df(r.middleware)),i=le(()=>{var _;return(_=df(r.placement))!=null?_:"bottom"}),a=le(()=>{var _;return(_=df(r.strategy))!=null?_:"absolute"}),l=le(()=>{var _;return(_=df(r.transform))!=null?_:!0}),c=le(()=>q_(e.value)),u=le(()=>q_(t.value)),d=Oe(0),p=Oe(0),f=Oe(a.value),m=Oe(i.value),v=La({}),g=Oe(!1),y=le(()=>{const _={position:f.value,left:"0",top:"0"};if(!u.value)return _;const C=CT(u.value,d.value),A=CT(u.value,p.value);return l.value?{..._,transform:"translate("+C+"px, "+A+"px)",...A5(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:C+"px",top:A+"px"}});let b;function w(){if(c.value==null||u.value==null)return;const _=o.value;Lfe(c.value,u.value,{middleware:s.value,placement:i.value,strategy:a.value}).then(C=>{d.value=C.x,p.value=C.y,f.value=C.strategy,m.value=C.placement,v.value=C.middlewareData,g.value=_!==!1})}function k(){typeof b=="function"&&(b(),b=void 0)}function x(){if(k(),n===void 0){w();return}if(c.value!=null&&u.value!=null){b=n(c.value,u.value,w);return}}function j(){o.value||(g.value=!1)}return cr([s,i,a,o],w,{flush:"sync"}),cr([c,u],x,{flush:"sync"}),cr(o,j,{flush:"sync"}),gw()&&VL(k),{x:Sd(d),y:Sd(p),strategy:Sd(f),placement:Sd(m),middlewareData:Sd(v),isPositioned:Sd(g),floatingStyles:y,update:w}}const qfe={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[SFe,zfe]=li("PopperContent");var Ffe=Te({inheritAttrs:!1,__name:"PopperContent",props:mU({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...qfe}),emits:["placed"],setup(e,{emit:t}){const r=e,n=t,o=g5(),{forwardRef:s,currentElement:i}=Kn(),a=Oe(),l=Oe(),{width:c,height:u}=ape(l),d=le(()=>r.side+(r.align!=="center"?`-${r.align}`:"")),p=le(()=>typeof r.collisionPadding=="number"?r.collisionPadding:{top:0,right:0,bottom:0,left:0,...r.collisionPadding}),f=le(()=>Array.isArray(r.collisionBoundary)?r.collisionBoundary:[r.collisionBoundary]),m=le(()=>({padding:p.value,boundary:f.value.filter(Gpe),altBoundary:f.value.length>0})),v=le(()=>({mainAxis:r.sideFlip,crossAxis:r.alignFlip})),g=XJ(()=>[$fe({mainAxis:r.sideOffset+u.value,alignmentAxis:r.alignOffset}),r.prioritizePosition&&r.avoidCollisions&&ST({...m.value,...v.value}),r.avoidCollisions&&Tfe({mainAxis:!0,crossAxis:!!r.prioritizePosition,limiter:r.sticky==="partial"?Mfe():void 0,...m.value}),!r.prioritizePosition&&r.avoidCollisions&&ST({...m.value,...v.value}),Pfe({...m.value,apply:({elements:N,rects:F,availableWidth:z,availableHeight:L})=>{const{width:X,height:V}=F.reference,J=N.floating.style;J.setProperty("--reka-popper-available-width",`${z}px`),J.setProperty("--reka-popper-available-height",`${L}px`),J.setProperty("--reka-popper-anchor-width",`${X}px`),J.setProperty("--reka-popper-anchor-height",`${V}px`)}}),l.value&&Rfe({element:l.value,padding:r.arrowPadding}),Jpe({arrowWidth:c.value,arrowHeight:u.value}),r.hideWhenDetached&&Ife({strategy:"referenceHidden",...m.value})]),y=le(()=>r.reference??o.anchor.value),{floatingStyles:b,placement:w,isPositioned:k,middlewareData:x}=Bfe(y,a,{strategy:r.positionStrategy,placement:d,whileElementsMounted:(...N)=>Ofe(...N,{layoutShift:!r.disableUpdateOnLayoutShift,animationFrame:r.updatePositionStrategy==="always"}),middleware:g}),j=le(()=>L_(w.value)[0]),_=le(()=>L_(w.value)[1]);_h(()=>{k.value&&n("placed")});const C=le(()=>{var F;const N=((F=x.value.arrow)==null?void 0:F.centerOffset)!==0;return r.hideShiftedArrow&&N}),A=Oe("");Lo(()=>{i.value&&(A.value=window.getComputedStyle(i.value).zIndex)});const I=le(()=>{var N;return((N=x.value.arrow)==null?void 0:N.x)??0}),M=le(()=>{var N;return((N=x.value.arrow)==null?void 0:N.y)??0});return zfe({placedSide:j,onArrowChange:N=>l.value=N,arrowX:I,arrowY:M,shouldHideArrow:C}),(N,F)=>{var z,L,X;return E(),K("div",{ref_key:"floatingRef",ref:a,"data-reka-popper-content-wrapper":"",style:Sh({...S(b),transform:S(k)?S(b).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:A.value,"--reka-popper-transform-origin":[(z=S(x).transformOrigin)==null?void 0:z.x,(L=S(x).transformOrigin)==null?void 0:L.y].join(" "),...((X=S(x).hide)==null?void 0:X.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[ye(S(Rn),jr({ref:S(s)},N.$attrs,{"as-child":r.asChild,as:N.as,"data-side":j.value,"data-align":_.value,style:{animation:S(k)?void 0:"none"}}),{default:U(()=>[pe(N.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),E5=Ffe;function Vfe(e){const t=Pw({nonce:Oe()});return le(()=>{var r;return(e==null?void 0:e.value)||((r=t.nonce)==null?void 0:r.value)})}const[Ufe,Hfe]=li("RovingFocusGroup");var Wfe=Te({__name:"RovingFocusGroup",props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["entryFocus","update:currentTabStopId"],setup(e,{expose:t,emit:r}){const n=e,o=r,{loop:s,orientation:i,dir:a}=Uc(n),l=ZC(a),c=ca(n,"currentTabStopId",o,{defaultValue:n.defaultCurrentTabStopId,passive:n.currentTabStopId===void 0}),u=Oe(!1),d=Oe(!1),p=Oe(0),{getItems:f,CollectionSlot:m}=id({isProvider:!0});function v(y){const b=!d.value;if(y.currentTarget&&y.target===y.currentTarget&&b&&!u.value){const w=new CustomEvent(Rpe,Bpe);if(y.currentTarget.dispatchEvent(w),o("entryFocus",w),!w.defaultPrevented){const k=f().map(A=>A.ref).filter(A=>A.dataset.disabled!==""),x=k.find(A=>A.getAttribute("data-active")===""),j=k.find(A=>A.getAttribute("data-highlighted")===""),_=k.find(A=>A.id===c.value),C=[x,j,_,...k].filter(Boolean);m5(C,n.preventScrollOnEntryFocus)}}d.value=!1}function g(){setTimeout(()=>{d.value=!1},1)}return t({getItems:f}),Hfe({loop:s,dir:l,orientation:i,currentTabStopId:c,onItemFocus:y=>{c.value=y},onItemShiftTab:()=>{u.value=!0},onFocusableItemAdd:()=>{p.value++},onFocusableItemRemove:()=>{p.value--}}),(y,b)=>(E(),ve(S(m),null,{default:U(()=>[ye(S(Rn),{tabindex:u.value||p.value===0?-1:0,"data-orientation":S(i),as:y.as,"as-child":y.asChild,dir:S(l),style:{outline:"none"},onMousedown:b[0]||(b[0]=w=>d.value=!0),onMouseup:g,onFocus:v,onBlur:b[1]||(b[1]=w=>u.value=!1)},{default:U(()=>[pe(y.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),Gfe=Wfe,Jfe=Te({__name:"RovingFocusItem",props:{tabStopId:{type:String,required:!1},focusable:{type:Boolean,required:!1,default:!0},active:{type:Boolean,required:!1},allowShiftKey:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,r=Ufe(),n=jp(),o=le(()=>t.tabStopId||n),s=le(()=>r.currentTabStopId.value===o.value),{getItems:i,CollectionItem:a}=id();Oo(()=>{t.focusable&&r.onFocusableItemAdd()}),nd(()=>{t.focusable&&r.onFocusableItemRemove()});function l(c){if(c.key==="Tab"&&c.shiftKey){r.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const u=Fpe(c,r.orientation.value,r.dir.value);if(u!==void 0){if(c.metaKey||c.ctrlKey||c.altKey||!t.allowShiftKey&&c.shiftKey)return;c.preventDefault();let d=[...i().map(p=>p.ref).filter(p=>p.dataset.disabled!=="")];if(u==="last")d.reverse();else if(u==="prev"||u==="next"){u==="prev"&&d.reverse();const p=d.indexOf(c.currentTarget);d=r.loop.value?Vpe(d,p+1):d.slice(p+1)}Io(()=>m5(d))}}return(c,u)=>(E(),ve(S(a),null,{default:U(()=>[ye(S(Rn),{tabindex:s.value?0:-1,"data-orientation":S(r).orientation.value,"data-active":c.active?"":void 0,"data-disabled":c.focusable?void 0:"",as:c.as,"as-child":c.asChild,onMousedown:u[0]||(u[0]=d=>{c.focusable?S(r).onItemFocus(o.value):d.preventDefault()}),onFocus:u[1]||(u[1]=d=>S(r).onItemFocus(o.value)),onKeydown:l},{default:U(()=>[pe(c.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),O5=Jfe;const[Kfe]=li("CheckboxGroupRoot");function aA(e){return e==="indeterminate"}function $5(e){return aA(e)?"indeterminate":e?"checked":"unchecked"}const[Qfe,Zfe]=li("CheckboxRoot");var Xfe=Te({inheritAttrs:!1,__name:"CheckboxRoot",props:{defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},disabled:{type:Boolean,required:!1},value:{type:null,required:!1,default:"on"},id:{type:String,required:!1},trueValue:{type:null,required:!1,default:()=>!0},falseValue:{type:null,required:!1,default:()=>!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=t,{forwardRef:o,currentElement:s}=Kn(),i=Kfe(null),a=ca(r,"modelValue",n,{defaultValue:r.defaultValue??r.falseValue,passive:r.modelValue===void 0}),l=le(()=>(i==null?void 0:i.disabled.value)||r.disabled),c=le(()=>bg(a.value,r.trueValue)),u=le(()=>nh(i==null?void 0:i.modelValue.value)?a.value==="indeterminate"?"indeterminate":c.value:dT(i.modelValue.value,r.value));function d(){if(nh(i==null?void 0:i.modelValue.value))a.value==="indeterminate"?a.value=r.trueValue:a.value=c.value?r.falseValue:r.trueValue;else{const m=[...i.modelValue.value||[]];if(dT(m,r.value)){const v=m.findIndex(g=>bg(g,r.value));m.splice(v,1)}else m.push(r.value);i.modelValue.value=m}}const p=a5(s),f=le(()=>{var m;return r.id&&s.value?(m=document.querySelector(`[for="${r.id}"]`))==null?void 0:m.innerText:void 0});return Zfe({disabled:l,state:u}),(m,v)=>{var g,y;return E(),ve(si((g=S(i))!=null&&g.rovingFocus.value?S(O5):S(Rn)),jr(m.$attrs,{id:m.id,ref:S(o),role:"checkbox","as-child":m.asChild,as:m.as,type:m.as==="button"?"button":void 0,"aria-checked":S(aA)(u.value)?"mixed":u.value,"aria-required":m.required,"aria-label":m.$attrs["aria-label"]||f.value,"data-state":S($5)(u.value),"data-disabled":l.value?"":void 0,disabled:l.value,focusable:(y=S(i))!=null&&y.rovingFocus.value?!l.value:void 0,onKeydown:ep(la(()=>{},["prevent"]),["enter"]),onClick:d}),{default:U(()=>[pe(m.$slots,"default",{modelValue:S(a),state:u.value}),S(p)&&m.name&&!S(i)?(E(),ve(S(Npe),{key:0,type:"checkbox",checked:!!u.value,name:m.name,value:m.value,disabled:l.value,required:m.required},null,8,["checked","name","value","disabled","required"])):je("v-if",!0)]),_:3},16,["id","as-child","as","type","aria-checked","aria-required","aria-label","data-state","data-disabled","disabled","focusable","onKeydown"])}}}),Yfe=Xfe,ehe=Te({__name:"CheckboxIndicator",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const{forwardRef:t}=Kn(),r=Qfe();return(n,o)=>(E(),ve(S(wv),{present:n.forceMount||S(aA)(S(r).state.value)||S(r).state.value===!0},{default:U(()=>[ye(S(Rn),jr({ref:S(t),"data-state":S($5)(S(r).state.value),"data-disabled":S(r).disabled.value?"":void 0,style:{pointerEvents:"none"},"as-child":n.asChild,as:n.as},n.$attrs),{default:U(()=>[pe(n.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}}),the=ehe,rhe=Te({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(e){const t=e;return Kn(),(r,n)=>(E(),ve(S(Rn),jr(t,{onMousedown:n[0]||(n[0]=o=>{!o.defaultPrevented&&o.detail>1&&o.preventDefault()})}),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),nhe=rhe;const ohe=[" ","Enter","ArrowUp","ArrowDown"],she=[" ","Enter"],Ca=10;function kg(e,t,r){return e===void 0?!1:Array.isArray(e)?e.some(n=>z_(n,t,r)):z_(e,t,r)}function z_(e,t,r){return e===void 0||t===void 0?!1:typeof e=="string"?e===t:typeof r=="function"?r(e,t):typeof r=="string"?(e==null?void 0:e[r])===(t==null?void 0:t[r]):bg(e,t)}function ihe(e){return e==null||e===""||Array.isArray(e)&&e.length===0}const ahe={key:0,value:""},[ad,T5]=li("SelectRoot");var lhe=Te({inheritAttrs:!1,__name:"SelectRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const r=e,n=t,{required:o,disabled:s,multiple:i,dir:a}=Uc(r),l=ca(r,"modelValue",n,{defaultValue:r.defaultValue??(i.value?[]:void 0),passive:r.modelValue===void 0,deep:!0}),c=ca(r,"open",n,{defaultValue:r.defaultOpen,passive:r.open===void 0}),u=Oe(),d=Oe(),p=Oe({x:0,y:0}),f=le(()=>{var k;return i.value&&Array.isArray(l.value)?((k=l.value)==null?void 0:k.length)===0:nh(l.value)});id({isProvider:!0});const m=ZC(a),v=a5(u),g=Oe(new Set),y=le(()=>Array.from(g.value).map(k=>k.value).join(";"));function b(k){if(i.value){const x=Array.isArray(l.value)?[...l.value]:[],j=x.findIndex(_=>z_(_,k,r.by));j===-1?x.push(k):x.splice(j,1),l.value=[...x]}else l.value=k}function w(k){return Array.from(g.value).find(x=>kg(k,x.value,r.by))}return T5({triggerElement:u,onTriggerChange:k=>{u.value=k},valueElement:d,onValueElementChange:k=>{d.value=k},contentId:"",modelValue:l,onValueChange:b,by:r.by,open:c,multiple:i,required:o,onOpenChange:k=>{c.value=k},dir:m,triggerPointerDownPosRef:p,disabled:s,isEmptyModelValue:f,optionsSet:g,onOptionAdd:k=>{const x=w(k.value);x&&g.value.delete(x),g.value.add(k)},onOptionRemove:k=>{const x=w(k.value);x&&g.value.delete(x)}}),(k,x)=>(E(),ve(S(v5),null,{default:U(()=>[pe(k.$slots,"default",{modelValue:S(l),open:S(c)}),S(v)?(E(),ve(dhe,{key:y.value,"aria-hidden":"true",tabindex:"-1",multiple:S(i),required:S(o),name:k.name,autocomplete:k.autocomplete,disabled:S(s),value:S(l)},{default:U(()=>[S(nh)(S(l))?(E(),K("option",ahe)):je("v-if",!0),(E(!0),K(dt,null,zt(Array.from(g.value),j=>(E(),K("option",jr({key:j.value??""},{ref_for:!0},j),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):je("v-if",!0)]),_:3}))}}),che=lhe,uhe=Te({__name:"BubbleSelect",props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(e){const t=e,r=Oe(),n=ad();cr(()=>t.value,(s,i)=>{const a=window.HTMLSelectElement.prototype,l=Object.getOwnPropertyDescriptor(a,"value").set;if(s!==i&&l&&r.value){const c=new Event("change",{bubbles:!0});l.call(r.value,s),r.value.dispatchEvent(c)}});function o(s){n.onValueChange(s.target.value)}return(s,i)=>(E(),ve(S(XC),{"as-child":""},{default:U(()=>[ue("select",jr({ref_key:"selectElement",ref:r},t,{onInput:o}),[pe(s.$slots,"default")],16)]),_:3}))}}),dhe=uhe,phe=Te({__name:"SelectPopperPosition",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:Ca},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=Wc(e);return(r,n)=>(E(),ve(S(E5),jr(S(t),{style:{boxSizing:"border-box","--reka-select-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-select-content-available-width":"var(--reka-popper-available-width)","--reka-select-content-available-height":"var(--reka-popper-available-height)","--reka-select-trigger-width":"var(--reka-popper-anchor-width)","--reka-select-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),fhe=phe;const hhe={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Sp,P5]=li("SelectContent");var mhe=Te({__name:"SelectContentImpl",props:{position:{type:String,required:!1,default:"item-aligned"},bodyLock:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const r=e,n=t,o=ad();Gde(),Ude(r.bodyLock);const{CollectionSlot:s,getItems:i}=id(),a=Oe();spe(a);const{search:l,handleTypeaheadSearch:c}=c5(),u=Oe(),d=Oe(),p=Oe(),f=Oe(!1),m=Oe(!1),v=Oe(!1);function g(){d.value&&a.value&&gT([d.value,a.value])}cr(f,()=>{g()});const{onOpenChange:y,triggerPointerDownPosRef:b}=o;Lo(j=>{if(!a.value)return;let _={x:0,y:0};const C=I=>{var M,N;_={x:Math.abs(Math.round(I.pageX)-(((M=b.value)==null?void 0:M.x)??0)),y:Math.abs(Math.round(I.pageY)-(((N=b.value)==null?void 0:N.y)??0))}},A=I=>{var M;I.pointerType!=="touch"&&(_.x<=10&&_.y<=10?I.preventDefault():(M=a.value)!=null&&M.contains(I.target)||y(!1),document.removeEventListener("pointermove",C),b.value=null)};b.value!==null&&(document.addEventListener("pointermove",C),document.addEventListener("pointerup",A,{capture:!0,once:!0})),j(()=>{document.removeEventListener("pointermove",C),document.removeEventListener("pointerup",A,{capture:!0})})});function w(j){const _=j.ctrlKey||j.altKey||j.metaKey;if(j.key==="Tab"&&j.preventDefault(),!_&&j.key.length===1&&c(j.key,i()),["ArrowUp","ArrowDown","Home","End"].includes(j.key)){let C=[...i().map(A=>A.ref)];if(["ArrowUp","End"].includes(j.key)&&(C=C.slice().reverse()),["ArrowUp","ArrowDown"].includes(j.key)){const A=j.target,I=C.indexOf(A);C=C.slice(I+1)}setTimeout(()=>gT(C)),j.preventDefault()}}const k=le(()=>r.position==="popper"?r:{}),x=Wc(k.value);return P5({content:a,viewport:u,onViewportChange:j=>{u.value=j},itemRefCallback:(j,_,C)=>{const A=!m.value&&!C,I=kg(o.modelValue.value,_,o.by);if(o.multiple.value){if(v.value)return;(I||A)&&(d.value=j,I&&(v.value=!0))}else(I||A)&&(d.value=j);A&&(m.value=!0)},selectedItem:d,selectedItemText:p,onItemLeave:()=>{var j;(j=a.value)==null||j.focus()},itemTextRefCallback:(j,_,C)=>{const A=!m.value&&!C;(kg(o.modelValue.value,_,o.by)||A)&&(p.value=j)},focusSelectedItem:g,position:r.position,isPositioned:f,searchRef:l}),(j,_)=>(E(),ve(S(s),null,{default:U(()=>[ye(S(Ppe),{"as-child":"",onMountAutoFocus:_[6]||(_[6]=la(()=>{},["prevent"])),onUnmountAutoFocus:_[7]||(_[7]=C=>{var A;n("closeAutoFocus",C),!C.defaultPrevented&&((A=S(o).triggerElement.value)==null||A.focus({preventScroll:!0}),C.preventDefault())})},{default:U(()=>[ye(S(p5),{"as-child":"","disable-outside-pointer-events":j.disableOutsidePointerEvents,onFocusOutside:_[2]||(_[2]=la(()=>{},["prevent"])),onDismiss:_[3]||(_[3]=C=>S(o).onOpenChange(!1)),onEscapeKeyDown:_[4]||(_[4]=C=>n("escapeKeyDown",C)),onPointerDownOutside:_[5]||(_[5]=C=>n("pointerDownOutside",C))},{default:U(()=>[(E(),ve(si(j.position==="popper"?fhe:bhe),jr({...j.$attrs,...S(x)},{id:S(o).contentId,ref:C=>{const A=S(Ga)(C);A!=null&&A.hasAttribute("data-reka-popper-content-wrapper")?a.value=A.firstElementChild:a.value=A},role:"listbox","data-state":S(o).open.value?"open":"closed",dir:S(o).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:_[0]||(_[0]=la(()=>{},["prevent"])),onPlaced:_[1]||(_[1]=C=>f.value=!0),onKeydown:w}),{default:U(()=>[pe(j.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3})]),_:3}))}}),ghe=mhe;const[lA,vhe]=li("SelectItemAlignedPosition");var yhe=Te({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["placed"],setup(e,{emit:t}){const r=e,n=t,{getItems:o}=id(),s=ad(),i=Sp(),a=Oe(!1),l=Oe(!0),c=Oe(),{forwardRef:u,currentElement:d}=Kn(),{viewport:p,selectedItem:f,selectedItemText:m,focusSelectedItem:v}=i;function g(){if(s.triggerElement.value&&s.valueElement.value&&c.value&&d.value&&(p!=null&&p.value)&&(f!=null&&f.value)&&(m!=null&&m.value)){const w=s.triggerElement.value.getBoundingClientRect(),k=d.value.getBoundingClientRect(),x=s.valueElement.value.getBoundingClientRect(),j=m.value.getBoundingClientRect();if(s.dir.value!=="rtl"){const Z=j.left-k.left,Se=x.left-Z,ie=w.left-Se,re=w.width+ie,xe=Math.max(re,k.width),R=window.innerWidth-Ca,te=uT(Se,Ca,Math.max(Ca,R-xe));c.value.style.minWidth=`${re}px`,c.value.style.left=`${te}px`}else{const Z=k.right-j.right,Se=window.innerWidth-x.right-Z,ie=window.innerWidth-w.right-Se,re=w.width+ie,xe=Math.max(re,k.width),R=window.innerWidth-Ca,te=uT(Se,Ca,Math.max(Ca,R-xe));c.value.style.minWidth=`${re}px`,c.value.style.right=`${te}px`}const _=o().map(Z=>Z.ref),C=window.innerHeight-Ca*2,A=p.value.scrollHeight,I=window.getComputedStyle(d.value),M=Number.parseInt(I.borderTopWidth,10),N=Number.parseInt(I.paddingTop,10),F=Number.parseInt(I.borderBottomWidth,10),z=Number.parseInt(I.paddingBottom,10),L=M+N+A+z+F,X=Math.min(f.value.offsetHeight*5,L),V=window.getComputedStyle(p.value),J=Number.parseInt(V.paddingTop,10),oe=Number.parseInt(V.paddingBottom,10),H=w.top+w.height/2-Ca,B=C-H,se=f.value.offsetHeight/2,q=f.value.offsetTop+se,O=M+N+q,D=L-O;if(O<=H){const Z=f.value===_[_.length-1];c.value.style.bottom="0px";const Se=d.value.clientHeight-p.value.offsetTop-p.value.offsetHeight,ie=Math.max(B,se+(Z?oe:0)+Se+F),re=O+ie;c.value.style.height=`${re}px`}else{const Z=f.value===_[0];c.value.style.top="0px";const Se=Math.max(H,M+p.value.offsetTop+(Z?J:0)+se)+D;c.value.style.height=`${Se}px`,p.value.scrollTop=O-H+p.value.offsetTop}c.value.style.margin=`${Ca}px 0`,c.value.style.minHeight=`${X}px`,c.value.style.maxHeight=`${C}px`,n("placed"),requestAnimationFrame(()=>a.value=!0)}}const y=Oe("");Oo(async()=>{await Io(),g(),d.value&&(y.value=window.getComputedStyle(d.value).zIndex)});function b(w){w&&l.value===!0&&(g(),v==null||v(),l.value=!1)}return cN(s.triggerElement,()=>{g()}),vhe({contentWrapper:c,shouldExpandOnScrollRef:a,onScrollButtonChange:b}),(w,k)=>(E(),K("div",{ref_key:"contentWrapperElement",ref:c,style:Sh({display:"flex",flexDirection:"column",position:"fixed",zIndex:y.value})},[ye(S(Rn),jr({ref:S(u),style:{boxSizing:"border-box",maxHeight:"100%"}},{...w.$attrs,...r}),{default:U(()=>[pe(w.$slots,"default")]),_:3},16)],4))}}),bhe=yhe,whe=Te({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(e){return T5(e.context),P5(hhe),(t,r)=>pe(t.$slots,"default")}}),xhe=whe;const khe={key:1};var jhe=Te({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const r=e,n=Gc(r,t),o=ad(),s=Oe();Oo(()=>{s.value=new DocumentFragment});const i=Oe(),a=le(()=>r.forceMount||o.open.value),l=Oe(a.value);return cr(a,()=>{setTimeout(()=>l.value=a.value)}),(c,u)=>{var d;return a.value||l.value||(d=i.value)!=null&&d.present?(E(),ve(S(wv),{key:0,ref_key:"presenceRef",ref:i,present:a.value},{default:U(()=>[ye(ghe,Mn(Ln({...S(n),...c.$attrs})),{default:U(()=>[pe(c.$slots,"default")]),_:3},16)]),_:3},8,["present"])):s.value?(E(),K("div",khe,[(E(),ve(GL,{to:s.value},[ye(xhe,{context:S(o)},{default:U(()=>[pe(c.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):je("v-if",!0)}}}),_he=jhe;const[CFe,She]=li("SelectGroup");var Che=Te({__name:"SelectGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,r=jp(void 0,"reka-select-group");return She({id:r}),(n,o)=>(E(),ve(S(Rn),jr({role:"group"},t,{"aria-labelledby":S(r)}),{default:U(()=>[pe(n.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),Ahe=Che,Ehe=Te({__name:"SelectIcon",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,r)=>(E(),ve(S(Rn),{"aria-hidden":"true",as:t.as,"as-child":t.asChild},{default:U(()=>[pe(t.$slots,"default",{},()=>[r[0]||(r[0]=Vt("▼"))])]),_:3},8,["as","as-child"]))}}),Ohe=Ehe;const[I5,$he]=li("SelectItem");var The=Te({__name:"SelectItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const r=e,n=t,{disabled:o}=Uc(r),s=ad(),i=Sp(),{forwardRef:a,currentElement:l}=Kn(),{CollectionItem:c}=id(),u=le(()=>{var k;return kg((k=s.modelValue)==null?void 0:k.value,r.value,s.by)}),d=Oe(!1),p=Oe(r.textValue??""),f=jp(void 0,"reka-select-item-text"),m="select.select";async function v(k){if(k.defaultPrevented)return;const x={originalEvent:k,value:r.value};KC(m,g,x)}async function g(k){await Io(),n("select",k),!k.defaultPrevented&&(o.value||(s.onValueChange(r.value),s.multiple.value||s.onOpenChange(!1)))}async function y(k){var x,j;await Io(),!k.defaultPrevented&&(o.value?(x=i.onItemLeave)==null||x.call(i):(j=k.currentTarget)==null||j.focus({preventScroll:!0}))}async function b(k){var x;await Io(),!k.defaultPrevented&&k.currentTarget===Fi()&&((x=i.onItemLeave)==null||x.call(i))}async function w(k){var x;await Io(),!(k.defaultPrevented||((x=i.searchRef)==null?void 0:x.value)!==""&&k.key===" ")&&(she.includes(k.key)&&v(k),k.key===" "&&k.preventDefault())}if(r.value==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return Oo(()=>{l.value&&i.itemRefCallback(l.value,r.value,r.disabled)}),$he({value:r.value,disabled:o,textId:f,isSelected:u,onItemTextChange:k=>{p.value=((p.value||(k==null?void 0:k.textContent))??"").trim()}}),(k,x)=>(E(),ve(S(c),{value:{textValue:p.value}},{default:U(()=>[ye(S(Rn),{ref:S(a),role:"option","aria-labelledby":S(f),"data-highlighted":d.value?"":void 0,"aria-selected":u.value,"data-state":u.value?"checked":"unchecked","aria-disabled":S(o)||void 0,"data-disabled":S(o)?"":void 0,tabindex:S(o)?void 0:-1,as:k.as,"as-child":k.asChild,onFocus:x[0]||(x[0]=j=>d.value=!0),onBlur:x[1]||(x[1]=j=>d.value=!1),onPointerup:v,onPointerdown:x[2]||(x[2]=j=>{j.currentTarget.focus({preventScroll:!0})}),onTouchend:x[3]||(x[3]=la(()=>{},["prevent","stop"])),onPointermove:y,onPointerleave:b,onKeydown:w},{default:U(()=>[pe(k.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),Phe=The,Ihe=Te({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,r=I5();return(n,o)=>S(r).isSelected.value?(E(),ve(S(Rn),jr({key:0,"aria-hidden":"true"},t),{default:U(()=>[pe(n.$slots,"default")]),_:3},16)):je("v-if",!0)}}),Dhe=Ihe,Mhe=Te({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,r=ad(),n=Sp(),o=I5(),{forwardRef:s,currentElement:i}=Kn(),a=le(()=>{var l,c;return{value:o.value,disabled:o.disabled.value,textContent:((l=i.value)==null?void 0:l.textContent)??((c=o.value)==null?void 0:c.toString())??""}});return Oo(()=>{i.value&&(o.onItemTextChange(i.value),n.itemTextRefCallback(i.value,o.value,o.disabled.value),r.onOptionAdd(a.value))}),nd(()=>{r.onOptionRemove(a.value)}),(l,c)=>(E(),ve(S(Rn),jr({id:S(o).textId,ref:S(s)},{...t,...l.$attrs}),{default:U(()=>[pe(l.$slots,"default")]),_:3},16,["id"]))}}),Lhe=Mhe,Nhe=Te({__name:"SelectPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(r,n)=>(E(),ve(S(h5),Mn(Ln(t)),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),Rhe=Nhe,Bhe=Te({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(e,{emit:t}){const r=t,{getItems:n}=id(),o=Sp(),s=Oe(null);function i(){s.value!==null&&(window.clearInterval(s.value),s.value=null)}Lo(()=>{var c;(c=n().map(u=>u.ref).find(u=>u===Fi()))==null||c.scrollIntoView({block:"nearest"})});function a(){s.value===null&&(s.value=window.setInterval(()=>{r("autoScroll")},50))}function l(){var c;(c=o.onItemLeave)==null||c.call(o),s.value===null&&(s.value=window.setInterval(()=>{r("autoScroll")},50))}return Ch(()=>i()),(c,u)=>{var d;return E(),ve(S(Rn),jr({"aria-hidden":"true",style:{flexShrink:0}},(d=c.$parent)==null?void 0:d.$props,{onPointerdown:a,onPointermove:l,onPointerleave:u[0]||(u[0]=()=>{i()})}),{default:U(()=>[pe(c.$slots,"default")]),_:3},16)}}}),D5=Bhe,qhe=Te({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=Sp(),r=t.position==="item-aligned"?lA():void 0,{forwardRef:n,currentElement:o}=Kn(),s=Oe(!1);return Lo(i=>{var a,l;if((a=t.viewport)!=null&&a.value&&((l=t.isPositioned)!=null&&l.value)){let c=function(){const d=u.scrollHeight-u.clientHeight;s.value=Math.ceil(u.scrollTop)u.removeEventListener("scroll",c))}}),cr(o,()=>{o.value&&(r==null||r.onScrollButtonChange(o.value))}),(i,a)=>s.value?(E(),ve(D5,{key:0,ref:S(n),onAutoScroll:a[0]||(a[0]=()=>{const{viewport:l,selectedItem:c}=S(t);l!=null&&l.value&&(c!=null&&c.value)&&(l.value.scrollTop=l.value.scrollTop+c.value.offsetHeight)})},{default:U(()=>[pe(i.$slots,"default")]),_:3},512)):je("v-if",!0)}}),zhe=qhe,Fhe=Te({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=Sp(),r=t.position==="item-aligned"?lA():void 0,{forwardRef:n,currentElement:o}=Kn(),s=Oe(!1);return Lo(i=>{var a,l;if((a=t.viewport)!=null&&a.value&&((l=t.isPositioned)!=null&&l.value)){let c=function(){s.value=u.scrollTop>0};const u=t.viewport.value;c(),u.addEventListener("scroll",c),i(()=>u.removeEventListener("scroll",c))}}),cr(o,()=>{o.value&&(r==null||r.onScrollButtonChange(o.value))}),(i,a)=>s.value?(E(),ve(D5,{key:0,ref:S(n),onAutoScroll:a[0]||(a[0]=()=>{const{viewport:l,selectedItem:c}=S(t);l!=null&&l.value&&(c!=null&&c.value)&&(l.value.scrollTop=l.value.scrollTop-c.value.offsetHeight)})},{default:U(()=>[pe(i.$slots,"default")]),_:3},512)):je("v-if",!0)}}),Vhe=Fhe,Uhe=Te({__name:"SelectTrigger",props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,r=ad(),{forwardRef:n,currentElement:o}=Kn(),s=le(()=>{var p;return((p=r.disabled)==null?void 0:p.value)||t.disabled});r.contentId||(r.contentId=jp(void 0,"reka-select-content")),Oo(()=>{r.onTriggerChange(o.value)});const{getItems:i}=id(),{search:a,handleTypeaheadSearch:l,resetTypeahead:c}=c5();function u(){s.value||(r.onOpenChange(!0),c())}function d(p){u(),r.triggerPointerDownPosRef.value={x:Math.round(p.pageX),y:Math.round(p.pageY)}}return(p,f)=>(E(),ve(S(y5),{"as-child":"",reference:p.reference},{default:U(()=>{var m,v,g,y;return[ye(S(Rn),{ref:S(n),role:"combobox",type:p.as==="button"?"button":void 0,"aria-controls":S(r).contentId,"aria-expanded":S(r).open.value||!1,"aria-required":(m=S(r).required)==null?void 0:m.value,"aria-autocomplete":"none",disabled:s.value,dir:(v=S(r))==null?void 0:v.dir.value,"data-state":(g=S(r))!=null&&g.open.value?"open":"closed","data-disabled":s.value?"":void 0,"data-placeholder":S(ihe)((y=S(r).modelValue)==null?void 0:y.value)?"":void 0,"as-child":p.asChild,as:p.as,onClick:f[0]||(f[0]=b=>{var w;(w=b==null?void 0:b.currentTarget)==null||w.focus()}),onPointerdown:f[1]||(f[1]=b=>{if(b.pointerType==="touch")return b.preventDefault();const w=b.target;w.hasPointerCapture(b.pointerId)&&w.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&(d(b),b.preventDefault())}),onPointerup:f[2]||(f[2]=la(b=>{b.pointerType==="touch"&&d(b)},["prevent"])),onKeydown:f[3]||(f[3]=b=>{const w=S(a)!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&w&&b.key===" "||(S(l)(b.key,S(i)()),S(ohe).includes(b.key)&&(u(),b.preventDefault()))})},{default:U(()=>[pe(p.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3},8,["reference"]))}}),Hhe=Uhe,Whe=Te({__name:"SelectValue",props:{placeholder:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,{forwardRef:r,currentElement:n}=Kn(),o=ad();Oo(()=>{o.valueElement=n});const s=le(()=>{var u;let a=[];const l=Array.from(o.optionsSet.value),c=d=>l.find(p=>kg(d,p.value,o.by));return Array.isArray(o.modelValue.value)?a=o.modelValue.value.map(d=>{var p;return((p=c(d))==null?void 0:p.textContent)??""}):a=[((u=c(o.modelValue.value))==null?void 0:u.textContent)??""],a.filter(Boolean)}),i=le(()=>s.value.length?s.value.join(", "):t.placeholder);return(a,l)=>(E(),ve(S(Rn),{ref:S(r),as:a.as,"as-child":a.asChild,style:{pointerEvents:"none"},"data-placeholder":s.value.length?void 0:t.placeholder},{default:U(()=>[pe(a.$slots,"default",{selectedLabel:s.value,modelValue:S(o).modelValue.value},()=>[Vt(ze(i.value),1)])]),_:3},8,["as","as-child","data-placeholder"]))}}),Ghe=Whe,Jhe=Te({__name:"SelectViewport",props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{nonce:r}=Uc(t),n=Vfe(r),o=Sp(),s=o.position==="item-aligned"?lA():void 0,{forwardRef:i,currentElement:a}=Kn();Oo(()=>{o==null||o.onViewportChange(a.value)});const l=Oe(0);function c(u){const d=u.currentTarget,{shouldExpandOnScrollRef:p,contentWrapper:f}=s??{};if(p!=null&&p.value&&(f!=null&&f.value)){const m=Math.abs(l.value-d.scrollTop);if(m>0){const v=window.innerHeight-Ca*2,g=Number.parseFloat(f.value.style.minHeight),y=Number.parseFloat(f.value.style.height),b=Math.max(g,y);if(b0?x:0,f.value.style.justifyContent="flex-end")}}}l.value=d.scrollTop}return(u,d)=>(E(),K(dt,null,[ye(S(Rn),jr({ref:S(i),"data-reka-select-viewport":"",role:"presentation"},{...u.$attrs,...t},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:c}),{default:U(()=>[pe(u.$slots,"default")]),_:3},16),ye(S(Rn),{as:"style",nonce:S(n)},{default:U(()=>d[0]||(d[0]=[Vt(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),_:1,__:[0]},8,["nonce"])],64))}}),Khe=Jhe;const[Lw,Qhe]=li("TabsRoot");var Zhe=Te({__name:"TabsRoot",props:{defaultValue:{type:null,required:!1},orientation:{type:String,required:!1,default:"horizontal"},dir:{type:String,required:!1},activationMode:{type:String,required:!1,default:"automatic"},modelValue:{type:null,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=t,{orientation:o,unmountOnHide:s,dir:i}=Uc(r),a=ZC(i);Kn();const l=ca(r,"modelValue",n,{defaultValue:r.defaultValue,passive:r.modelValue===void 0}),c=Oe(),u=La(new Set);return Qhe({modelValue:l,changeModelValue:d=>{l.value=d},orientation:o,dir:a,unmountOnHide:s,activationMode:r.activationMode,baseId:jp(void 0,"reka-tabs"),tabsList:c,contentIds:u,registerContent:d=>{u.value=new Set([...u.value,d])},unregisterContent:d=>{const p=new Set(u.value);p.delete(d),u.value=p}}),(d,p)=>(E(),ve(S(Rn),{dir:S(a),"data-orientation":S(o),"as-child":d.asChild,as:d.as},{default:U(()=>[pe(d.$slots,"default",{modelValue:S(l)})]),_:3},8,["dir","data-orientation","as-child","as"]))}}),Xhe=Zhe;function M5(e,t){return`${e}-trigger-${t}`}function L5(e,t){return`${e}-content-${t}`}var Yhe=Te({__name:"TabsContent",props:{value:{type:[String,Number],required:!0},forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:r}=Kn(),n=Lw(),o=le(()=>M5(n.baseId,t.value)),s=le(()=>L5(n.baseId,t.value)),i=le(()=>t.value===n.modelValue.value),a=Oe(i.value);return Oo(()=>{n.registerContent(t.value),requestAnimationFrame(()=>{a.value=!1})}),Ch(()=>{n.unregisterContent(t.value)}),(l,c)=>(E(),ve(S(wv),{present:l.forceMount||i.value,"force-mount":""},{default:U(({present:u})=>[ye(S(Rn),{id:s.value,ref:S(r),"as-child":l.asChild,as:l.as,role:"tabpanel","data-state":i.value?"active":"inactive","data-orientation":S(n).orientation.value,"aria-labelledby":o.value,hidden:!u,tabindex:"0",style:Sh({animationDuration:a.value?"0s":void 0})},{default:U(()=>[!S(n).unmountOnHide.value||u?pe(l.$slots,"default",{key:0}):je("v-if",!0)]),_:2},1032,["id","as-child","as","data-state","data-orientation","aria-labelledby","hidden","style"])]),_:3},8,["present"]))}}),eme=Yhe,tme=Te({__name:"TabsIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e,{expose:t}){const r=e,n=Lw();t({updateIndicatorStyle:i}),Kn();const o=Oe({size:null,position:null}),s=Oe([]);cr(()=>[n.modelValue.value,n==null?void 0:n.dir.value],()=>{i()},{immediate:!0,flush:"post"}),_h(()=>{var a;s.value=Array.from(((a=n.tabsList.value)==null?void 0:a.querySelectorAll('[role="tab"]'))||[])}),cN(le(()=>[n.tabsList.value,...s.value]),i);function i(){var l;const a=(l=n.tabsList.value)==null?void 0:l.querySelector('[role="tab"][data-state="active"]');a&&(n.orientation.value==="horizontal"?o.value={size:a.offsetWidth,position:a.offsetLeft}:o.value={size:a.offsetHeight,position:a.offsetTop})}return(a,l)=>typeof o.value.size=="number"?(E(),ve(S(Rn),jr({key:0},r,{style:{"--reka-tabs-indicator-size":`${o.value.size}px`,"--reka-tabs-indicator-position":`${o.value.position}px`}}),{default:U(()=>[pe(a.$slots,"default")]),_:3},16,["style"])):je("v-if",!0)}}),rme=tme,nme=Te({__name:"TabsList",props:{loop:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{loop:r}=Uc(t),{forwardRef:n,currentElement:o}=Kn(),s=Lw();return s.tabsList=o,(i,a)=>(E(),ve(S(Gfe),{"as-child":"",orientation:S(s).orientation.value,dir:S(s).dir.value,loop:S(r)},{default:U(()=>[ye(S(Rn),{ref:S(n),role:"tablist","as-child":i.asChild,as:i.as,"aria-orientation":S(s).orientation.value},{default:U(()=>[pe(i.$slots,"default")]),_:3},8,["as-child","as","aria-orientation"])]),_:3},8,["orientation","dir","loop"]))}}),ome=nme,sme=Te({__name:"TabsTrigger",props:{value:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,{forwardRef:r}=Kn(),n=Lw(),o=le(()=>M5(n.baseId,t.value)),s=le(()=>n.contentIds.value.has(t.value)?L5(n.baseId,t.value):void 0),i=le(()=>t.value===n.modelValue.value);return(a,l)=>(E(),ve(S(O5),{"as-child":"",focusable:!a.disabled,active:i.value},{default:U(()=>[ye(S(Rn),{id:o.value,ref:S(r),role:"tab",type:a.as==="button"?"button":void 0,as:a.as,"as-child":a.asChild,"aria-selected":i.value?"true":"false","aria-controls":s.value,"data-state":i.value?"active":"inactive",disabled:a.disabled,"data-disabled":a.disabled?"":void 0,"data-orientation":S(n).orientation.value,onMousedown:l[0]||(l[0]=la(c=>{!a.disabled&&c.ctrlKey===!1?S(n).changeModelValue(a.value):c.preventDefault()},["left"])),onKeydown:l[1]||(l[1]=ep(c=>S(n).changeModelValue(a.value),["enter","space"])),onFocus:l[2]||(l[2]=()=>{const c=S(n).activationMode!=="manual";!i.value&&!a.disabled&&c&&S(n).changeModelValue(a.value)})},{default:U(()=>[pe(a.$slots,"default")]),_:3},8,["id","type","as","as-child","aria-selected","aria-controls","data-state","disabled","data-disabled","data-orientation"])]),_:3},8,["focusable","active"]))}}),ime=sme;const[Nw,ame]=li("TooltipProvider");var lme=Te({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1},content:{type:Object,required:!1}},setup(e){const t=e,{delayDuration:r,skipDelayDuration:n,disableHoverableContent:o,disableClosingTrigger:s,ignoreNonKeyboardFocus:i,disabled:a,content:l}=Uc(t);Kn();const c=Oe(!0),u=Oe(!1),{start:d,stop:p}=sN(()=>{c.value=!0},n,{immediate:!1});return ame({isOpenDelayed:c,delayDuration:r,onOpen(){p(),c.value=!1},onClose(){d()},isPointerInTransitRef:u,disableHoverableContent:o,disableClosingTrigger:s,disabled:a,ignoreNonKeyboardFocus:i,content:l}),(f,m)=>pe(f.$slots,"default")}}),cme=lme;const N5="tooltip.open",[Rw,ume]=li("TooltipRoot");var dme=Te({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const r=e,n=t;Kn();const o=Nw(),s=le(()=>r.disableHoverableContent??o.disableHoverableContent.value),i=le(()=>r.disableClosingTrigger??o.disableClosingTrigger.value),a=le(()=>r.disabled??o.disabled.value),l=le(()=>r.delayDuration??o.delayDuration.value),c=le(()=>r.ignoreNonKeyboardFocus??o.ignoreNonKeyboardFocus.value),u=ca(r,"open",n,{defaultValue:r.defaultOpen,passive:r.open===void 0});cr(u,w=>{o.onClose&&(w?(o.onOpen(),document.dispatchEvent(new CustomEvent(N5))):o.onClose())});const d=Oe(!1),p=Oe(),f=le(()=>u.value?d.value?"delayed-open":"instant-open":"closed"),{start:m,stop:v}=sN(()=>{d.value=!0,u.value=!0},l,{immediate:!1});function g(){v(),d.value=!1,u.value=!0}function y(){v(),u.value=!1}function b(){m()}return ume({contentId:"",open:u,stateAttribute:f,trigger:p,onTriggerChange(w){p.value=w},onTriggerEnter(){o.isOpenDelayed.value?b():g()},onTriggerLeave(){s.value?y():v()},onOpen:g,onClose:y,disableHoverableContent:s,disableClosingTrigger:i,disabled:a,ignoreNonKeyboardFocus:c}),(w,k)=>(E(),ve(S(v5),null,{default:U(()=>[pe(w.$slots,"default",{open:S(u)})]),_:3}))}}),pme=dme,fme=Te({__name:"TooltipContentImpl",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1,default:void 0},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:void 0},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1,default:void 0},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const r=e,n=t,o=Rw(),s=Nw(),{forwardRef:i,currentElement:a}=Kn(),l=le(()=>{var u;return r.ariaLabel||((u=a.value)==null?void 0:u.textContent)}),c=le(()=>{const{ariaLabel:u,...d}=r;return s5(d,s.content.value??{},{side:"top",sideOffset:0,align:"center",avoidCollisions:!0,collisionBoundary:[],collisionPadding:0,arrowPadding:0,sticky:"partial",hideWhenDetached:!1})});return Oo(()=>{Ru(window,"scroll",u=>{var d;(d=u.target)!=null&&d.contains(o.trigger.value)&&o.onClose()}),Ru(window,N5,o.onClose)}),(u,d)=>(E(),ve(S(p5),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:d[0]||(d[0]=p=>n("escapeKeyDown",p)),onPointerDownOutside:d[1]||(d[1]=p=>{var f;S(o).disableClosingTrigger.value&&((f=S(o).trigger.value)!=null&&f.contains(p.target))&&p.preventDefault(),n("pointerDownOutside",p)}),onFocusOutside:d[2]||(d[2]=la(()=>{},["prevent"])),onDismiss:d[3]||(d[3]=p=>S(o).onClose())},{default:U(()=>[ye(S(E5),jr({ref:S(i),"data-state":S(o).stateAttribute.value},{...u.$attrs,...c.value},{style:{"--reka-tooltip-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-tooltip-content-available-width":"var(--reka-popper-available-width)","--reka-tooltip-content-available-height":"var(--reka-popper-available-height)","--reka-tooltip-trigger-width":"var(--reka-popper-anchor-width)","--reka-tooltip-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:U(()=>[pe(u.$slots,"default"),ye(S(XC),{id:S(o).contentId,role:"tooltip"},{default:U(()=>[Vt(ze(l.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),R5=fme,hme=Te({__name:"TooltipContentHoverable",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(e){const t=Wc(e),{forwardRef:r,currentElement:n}=Kn(),{trigger:o,onClose:s}=Rw(),i=Nw(),{isPointerInTransit:a,onPointerExit:l}=Jde(o,n);return i.isPointerInTransitRef=a,l(()=>{s()}),(c,u)=>(E(),ve(R5,jr({ref:S(r)},S(t)),{default:U(()=>[pe(c.$slots,"default")]),_:3},16))}}),mme=hme,gme=Te({__name:"TooltipContent",props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const r=e,n=t,o=Rw(),s=Gc(r,n),{forwardRef:i}=Kn();return(a,l)=>(E(),ve(S(wv),{present:a.forceMount||S(o).open.value},{default:U(()=>[(E(),ve(si(S(o).disableHoverableContent.value?R5:mme),jr({ref:S(i)},S(s)),{default:U(()=>[pe(a.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),vme=gme,yme=Te({__name:"TooltipPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(r,n)=>(E(),ve(S(h5),Mn(Ln(t)),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),bme=yme,wme=Te({__name:"TooltipTrigger",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,r=Rw(),n=Nw();r.contentId||(r.contentId=jp(void 0,"reka-tooltip-content"));const{forwardRef:o,currentElement:s}=Kn(),i=Oe(!1),a=Oe(!1),l=le(()=>r.disabled.value?{}:{click:v,focus:f,pointermove:d,pointerleave:p,pointerdown:u,blur:m});Oo(()=>{r.onTriggerChange(s.value)});function c(){setTimeout(()=>{i.value=!1},1)}function u(){r.open&&!r.disableClosingTrigger.value&&r.onClose(),i.value=!0,document.addEventListener("pointerup",c,{once:!0})}function d(g){g.pointerType!=="touch"&&!a.value&&!n.isPointerInTransitRef.value&&(r.onTriggerEnter(),a.value=!0)}function p(){r.onTriggerLeave(),a.value=!1}function f(g){var y,b;i.value||r.ignoreNonKeyboardFocus.value&&!((b=(y=g.target).matches)!=null&&b.call(y,":focus-visible"))||r.onOpen()}function m(){r.onClose()}function v(){r.disableClosingTrigger.value||r.onClose()}return(g,y)=>(E(),ve(S(y5),{"as-child":"",reference:g.reference},{default:U(()=>[ye(S(Rn),jr({ref:S(o),"aria-describedby":S(r).open.value?S(r).contentId:void 0,"data-state":S(r).stateAttribute.value,as:g.as,"as-child":t.asChild,"data-grace-area-trigger":""},qL(l.value)),{default:U(()=>[pe(g.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3},8,["reference"]))}}),xme=wme;const Cp=Te({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},by:{type:[String,Function]},dir:{},multiple:{type:Boolean},autocomplete:{},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const r=Gc(e,t);return(n,o)=>(E(),ve(S(che),Mn(Ln(S(r))),{default:U(()=>[pe(n.$slots,"default")]),_:3},16))}}),Ap=Te({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean,default:!1},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const r=e,n=t,o=le(()=>{const{class:i,...a}=r;return a}),s=Gc(o,n);return(i,a)=>(E(),ve(S(Rhe),null,{default:U(()=>[ye(S(_he),jr({...S(s),...i.$attrs},{class:S(Ko)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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",e.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r.class)}),{default:U(()=>[ye(S(Pme)),ye(S(Khe),{class:Lt(S(Ko)("p-1",e.position==="popper"&&"h-[--reka-select-trigger-height] w-full min-w-[--reka-select-trigger-width]"))},{default:U(()=>[pe(i.$slots,"default")]),_:3},8,["class"]),ye(S(Tme))]),_:3},16,["class"])]),_:3}))}}),Ep=Te({__name:"SelectGroup",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:n,...o}=t;return o});return(n,o)=>(E(),ve(S(Ahe),jr({class:S(Ko)("p-1 w-full",t.class)},r.value),{default:U(()=>[pe(n.$slots,"default")]),_:3},16,["class"]))}}),kme=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},AT=e=>e==="",jme=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),ET=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),_me=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),Sme=e=>{const t=_me(e);return t.charAt(0).toUpperCase()+t.slice(1)};var im={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};const Cme=({name:e,iconNode:t,absoluteStrokeWidth:r,"absolute-stroke-width":n,strokeWidth:o,"stroke-width":s,size:i=im.width,color:a=im.stroke,...l},{slots:c})=>_l("svg",{...im,...l,width:i,height:i,stroke:a,"stroke-width":AT(r)||AT(n)||r===!0||n===!0?Number(o||s||im["stroke-width"])*24/Number(i):o||s||im["stroke-width"],class:jme("lucide",l.class,...e?[`lucide-${ET(Sme(e))}-icon`,`lucide-${ET(e)}`]:["lucide-icon"]),...!c.default&&!kme(l)&&{"aria-hidden":"true"}},[...t.map(u=>_l(...u)),...c.default?[c.default()]:[]]),Op=(e,t)=>(r,{slots:n,attrs:o})=>_l(Cme,{...o,...r,iconNode:t,name:e},n),B5=Op("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),cA=Op("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),OT=Op("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),q5=Op("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),Ame=Op("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]),Eme=Op("minimize-2",[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]]),Ome=Op("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),$me={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},$p=Te({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:o,...s}=t;return s}),n=Wc(r);return(o,s)=>(E(),ve(S(Phe),jr(S(n),{class:S(Ko)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t.class)}),{default:U(()=>[ue("span",$me,[ye(S(Dhe),null,{default:U(()=>[ye(S(B5),{class:"h-4 w-4"})]),_:1})]),ye(S(Lhe),null,{default:U(()=>[pe(o.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),Tme=Te({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:o,...s}=t;return s}),n=Wc(r);return(o,s)=>(E(),ve(S(zhe),jr(S(n),{class:S(Ko)("flex cursor-default items-center justify-center py-1",t.class)}),{default:U(()=>[pe(o.$slots,"default",{},()=>[ye(S(cA),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),Pme=Te({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:o,...s}=t;return s}),n=Wc(r);return(o,s)=>(E(),ve(S(Vhe),jr(S(n),{class:S(Ko)("flex cursor-default items-center justify-center py-1",t.class)}),{default:U(()=>[pe(o.$slots,"default",{},()=>[ye(S(q5),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),Tp=Te({__name:"SelectTrigger",props:{disabled:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:o,...s}=t;return s}),n=Wc(r);return(o,s)=>(E(),ve(S(Hhe),jr(S(n),{class:S(Ko)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-muted px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t.class)}),{default:U(()=>[pe(o.$slots,"default"),ye(S(Ohe),{"as-child":""},{default:U(()=>[ye(S(cA),{class:"w-4 h-4 opacity-50"})]),_:1})]),_:3},16,["class"]))}}),$h=Te({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(r,n)=>(E(),ve(S(Ghe),Mn(Ln(t)),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),Ime={class:"self-center"},Dme={__name:"OALocaleSelect",setup(e){const t=kn(),r=t.getI18nConfig(),n=le(()=>{var s;return((s=r.locale)==null?void 0:s.value)??"en"});function o(s){t.setI18nConfig({locale:s})}return(s,i)=>(E(),K("div",Ime,[ye(S(Cp),{"default-value":n.value,value:S(r).locale.value,"onUpdate:modelValue":o},{default:U(()=>[ye(S(Tp),{"aria-label":"Select language"},{default:U(()=>[...i[0]||(i[0]=[ue("span",{class:"vpi-languages option-icon"},null,-1)])]),_:1}),ye(S(Ap),null,{default:U(()=>[ye(S(Ep),null,{default:U(()=>[(E(!0),K(dt,null,zt(S(r).availableLocales,a=>(E(),ve(S($p),{key:a.code,value:a.code},{default:U(()=>[Vt(ze(a.label),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["default-value","value"])]))}},Mme={class:"flex flex-wrap gap-2"},Lme=["href","aria-label"],z5=Te({__name:"OAOperationTags",props:{tags:{}},setup(e){const t=e,r=kn(),{t:n}=Jn(),o=r.getTagsLinkPrefix();return(s,i)=>(E(),K("div",Mme,[(E(!0),K(dt,null,zt(t.tags,(a,l)=>(E(),K("a",{key:l,href:`${S(o)}${a}`,"aria-label":S(n)("tags.goTo",{tag:a})},[ye(S(Pc),{variant:"outline"},{default:U(()=>[Vt(ze(a),1)]),_:2},1024)],8,Lme))),128))]))}}),Nme=/\d/,Rme=["-","_","/","."];function Bme(e=""){if(!Nme.test(e))return e!==e.toLowerCase()}function qme(e,t){const r=Rme,n=[];if(!e||typeof e!="string")return n;let o="",s,i;for(const a of e){const l=r.includes(a);if(l===!0){n.push(o),o="",s=void 0;continue}const c=Bme(a);if(i===!1){if(s===!1&&c===!0){n.push(o),o=a,s=c;continue}if(s===!0&&c===!1&&o.length>1){const u=o.at(-1);n.push(o.slice(0,Math.max(0,o.length-1))),o=u+a,s=c;continue}}o+=a,s=c,i=l}return n.push(o),n}function zme(e){return e?e[0].toUpperCase()+e.slice(1):""}const Fme=/^(a|an|and|as|at|but|by|for|if|in|is|nor|of|on|or|the|to|with)$/i;function F5(e,t){return(Array.isArray(e)?e:qme(e)).filter(Boolean).map(r=>Fme.test(r)?r.toLowerCase():zme(t!=null&&t.normalize?r.toLowerCase():r)).join(" ")}const Th=Symbol("operationData");function Vme({operation:e,request:t,selectedServer:r,defaultRequestContentType:n}){var l,c,u;const o=((c=(l=e.securityUi)==null?void 0:l[0])==null?void 0:c.id)||"",s=kn(),i=s.getSecurityDefaultScheme()||o,a=s.getStoragePrefix();return{operationId:e.operationId,security:{selectedSchemeId:Oe((u=e.securityUi)!=null&&u.some(d=>d.id===i)?i:o),securityValues:Oe({})},playground:{request:Oe(t||{}),selectedServer:Hm()?Tf(`${a}-operation-${e.operationId}-selectedServer`,r,localStorage,{mergeDefaults:!0}):Oe(r),parameterValues:Oe({})},requestBody:{selectedContentType:Oe(n)}}}const Ume=/^application\/octet-stream/i,Hme=/^\s*(?:attachment|download)(?:;|$)/i;function V5(e,t=""){return Ume.test(e)||Hme.test(t)}const Wme=/json/i,Gme=/xml/i,Jme=/html/i,Kme=/text\/plain/i,Qme=/^image\//i,Zme=/^audio\//i;let Qp={"http-basic":"Basic Auth","http-bearer":"Token",apiKey:null,openIdConnect:"OpenID Connect",oauth2:"OAuth2 Token"};function kv(){const e=Oe(!1),t=Oe(null),r=Oe([]),n=_i(Th);function o(d){Qp={...Qp,...d}}function s(d){if(d.type==="http"){const f=d.scheme==="basic"?"http-basic":"http-bearer";return Qp[f]}const p=d.type;return Object.keys(Qp).includes(p)&&Qp[p]!==null?Qp[p]??"":d.type==="apiKey"&&d.name?d.name:""}async function i({request:d,method:p,baseUrl:f,path:m,operationId:v}){if(!d)return null;t.value=null;const g=`${f}${m}`,y={body:null,type:"",time:null,status:null};a(v);const b=performance.now(),w=new AbortController,k=setTimeout(()=>w.abort(),3e4);try{y.time=null,y.body="{}",e.value=!0;const x=new URL(d.url??g);for(const[A,I]of Object.entries(d.query))Array.isArray(I)?I.forEach(M=>x.searchParams.append(A,String(M))):x.searchParams.set(A,String(I));const j=await fetch(x.toString(),{method:p.toUpperCase(),headers:d.body instanceof FormData?{}:d.headers??{},body:d.body instanceof FormData||typeof d.body=="string"||d.body instanceof Blob?d.body:JSON.stringify(d.body),signal:w.signal}),_=j.headers.get("Content-Type")||"text/plain",C=j.headers.get("Content-Disposition")||"";y.type=_;try{y.headers=Object.fromEntries(j.headers.entries())}catch{const A={};_&&(A["content-type"]=_),C&&(A["content-disposition"]=C),y.headers=A}if(Wme.test(_))y.body=await j.json();else if(Gme.test(_)||Jme.test(_)||Kme.test(_))y.body=await j.text();else if(Qme.test(_)){const A=await j.blob();y.body=URL.createObjectURL(A),r.value.push(y.body)}else Zme.test(_)?y.body=await j.blob():V5(_,C)?y.body=await j.blob():y.body=await j.text();y.status=j.status}catch(x){y.body=x==null?void 0:x.message,y.type="text/plain",y.status=500}finally{clearTimeout(k),e.value=!1;const x=performance.now();y.time=(x-b).toFixed(2),t.value=y}return y}function a(d){try{window.gtag("event","try_it",{event_category:"api",event_label:d})}catch{}}function l(){r.value.forEach(URL.revokeObjectURL),r.value=[]}function c(d,p){if(!n||!d)return;const f=typeof p=="object"&&p!==null?JSON.parse(JSON.stringify(p)):p;n.playground.parameterValues.value[d]=f}function u(d,p){!n||!d||(n.security.securityValues.value={...n.security.securityValues.value,[d]:p})}return{loading:e,response:t,imageUrls:r,setSecuritySchemeDefaultValues:o,getSecuritySchemeDefaultValue:s,submitRequest:i,cleanupImageUrls:l,setParameterValue:c,setSecurityValue:u,hasOperationData:!!n}}function Xme(e){const t=e.trim();if(!(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]")))return!1;try{const r=JSON.parse(t);return typeof r=="object"&&r!==null}catch{return!1}}function F_(e,t=0){try{return JSON.stringify(e,null,t)??String(e)}catch{return String(e)}}function U5(e,t){return Xme(e)?e:t.quoteNormalStrings?JSON.stringify(e):String(e)}function $T(e,t={space:2}){return e===void 0?"":e===null?"null":typeof e=="object"?F_(e,(t==null?void 0:t.space)??0):typeof e=="string"?U5(e,{quoteNormalStrings:!0}):F_(e,(t==null?void 0:t.space)??0)}function TT(e,t={space:0}){return e==null?"":typeof e=="object"?F_(e,(t==null?void 0:t.space)??0):typeof e=="string"?U5(e,{quoteNormalStrings:!1}):String(e)}const Yme=["role","title"],ege=["role","title"],bc={__name:"OACodeValue",props:{value:{type:[String,Number,Boolean,Array,Object],required:!0},isEnum:{type:Boolean,default:!1},onSet:{type:Function,default:void 0}},setup(e){const t=e,{t:r}=Jn();function n(){if(!t.onSet)return;const s=t.isEnum?String(t.value):t.value;t.onSet(s)}const o=le(()=>!!t.onSet);return(s,i)=>Array.isArray(e.value)?(E(!0),K(dt,{key:0},zt(e.value,(a,l)=>(E(),K("code",{key:l,class:Lt(["!text-xs text-wrap break-all",{"cursor-pointer hover:opacity-80":o.value}]),role:o.value?"button":void 0,title:o.value?S(r)("Click to set in playground"):void 0,onClick:i[0]||(i[0]=c=>o.value?n():void 0)},ze(S($T)(a)),11,Yme))),128)):(E(),K("code",{key:1,class:Lt(["!text-xs break-all",{"text-wrap":!e.value||typeof e.value!="object","whitespace-pre-wrap":e.value&&typeof e.value=="object","cursor-pointer hover:opacity-80":o.value}]),role:o.value?"button":void 0,title:o.value?S(r)("Click to set in playground"):void 0,onClick:i[1]||(i[1]=a=>o.value?n():void 0)},ze(S($T)(e.value)),11,ege))}},tge={class:"flex flex-row gap-2 text-sm"},rge={class:"flex justify-between items-start gap-2 flex-1"},nge={key:1,class:"text-muted-foreground"},Mf=Te({__name:"OAParameterAttribute",props:{name:{type:String,required:!0},boldName:{type:Boolean,default:!1},value:{type:[String,Number,Boolean,Object,Array],required:!1}},setup(e){const t=e,r=el();function n(o){return r[o]!==void 0}return(o,s)=>(E(),K("div",tge,[ue("span",{class:Lt({"font-bold":t.boldName})},ze(t.name),3),ue("div",rge,[ue("div",null,[n("value")?pe(o.$slots,"value",{key:0}):(E(),K("span",nge,ze(t.value),1))]),n("end")?pe(o.$slots,"end",{key:0}):je("",!0)])]))}});function oge(e){const t=typeof e.value=="object"?JSON.stringify(e.value):String(e.value);return e.name!==t}function sge(e){return!e||e.length===0?!1:e.some(oge)}const ige=new Set(["value","externalValue","$ref"]);function age(e){if(!e||typeof e!="object"||Array.isArray(e))return!1;const t=e,r=Object.keys(t);if(r.length===0)return!1;for(const n of r){const o=t[n];if(o&&typeof o=="object"&&!Array.isArray(o)&&Object.keys(o).some(s=>ige.has(s)))return!0}return!1}function lge(e){if(e==null)return null;if(Array.isArray(e))return e.map(t=>({name:typeof t=="object"?JSON.stringify(t):String(t),value:t}));if(e&&typeof e=="object"){const t=e;return age(t)?Object.keys(t).map(r=>{const n=t[r];let o=n,s;return n&&typeof n=="object"&&(s=n.summary,"value"in n?o=n.value:"$ref"in n?o={$ref:n.$ref}:"externalValue"in n?o=n.externalValue:o=null),{name:r,value:o,summary:s}}):[{name:JSON.stringify(e),value:e}]}return[{name:String(e),value:e}]}const cge={key:0,class:"flex flex-row items-center gap-2"},uge={class:"text-sm"},dge={key:1,class:"flex flex-row items-center gap-2"},H5=Te({__name:"OAParameterExamples",props:{property:{type:Object,required:!0},securitySchemeName:{type:String,default:void 0}},setup(e){const t=e,r=le(()=>{const f=Z0(t.property);return lge(f)}),n=le(()=>sge(r.value)),o=Oe("0"),s=le(()=>{if(!r.value)return null;const f=Number.parseInt(o.value,10);return r.value[f]??null}),{setParameterValue:i,setSecurityValue:a,hasOperationData:l}=kv(),c=le(()=>{if(l){if(t.securitySchemeName){const f=t.securitySchemeName;return m=>a(f,m)}if(t.property.name)return f=>i(t.property.name,f)}});cr(o,()=>{var f;!l||!s.value||((f=c.value)==null||f.call(c,s.value.value))}),cr(r,()=>{o.value="0"});function u(f){return f.summary?`${f.name} - ${f.summary}`:f.name}const d=kn().getWrapExamples(),{t:p}=Jn();return(f,m)=>{var v,g,y,b;return E(),K(dt,null,[((v=r.value)==null?void 0:v.length)===1?(E(),K("div",cge,[ue("span",uge,ze(S(p)("Example")),1),ye(bc,{value:(g=r.value[0])==null?void 0:g.value,"on-set":c.value},null,8,["value","on-set"])])):je("",!0),(((y=r.value)==null?void 0:y.length)??0)>1&&n.value?(E(),K("div",dge,[ye(Mf,{name:S(p)("Examples"),class:"flex-1"},{value:U(()=>[s.value?(E(),ve(bc,{key:0,value:s.value.value,"on-set":c.value},null,8,["value","on-set"])):je("",!0)]),end:U(()=>[ye(S(Cp),{modelValue:o.value,"onUpdate:modelValue":m[0]||(m[0]=w=>o.value=w)},{default:U(()=>[ye(S(Tp),{"aria-label":S(p)("Select an example"),class:"h-6 max-w-28 bg-[var(--vp-code-bg)]"},{default:U(()=>[ye(S($h),{placeholder:S(p)("Select an example"),class:"truncate"},{default:U(()=>{var w;return[Vt(ze((w=s.value)==null?void 0:w.name),1)]}),_:1},8,["placeholder"])]),_:1},8,["aria-label"]),ye(S(Ap),null,{default:U(()=>[ye(S(Ep),null,{default:U(()=>[(E(!0),K(dt,null,zt(r.value,(w,k)=>(E(),ve(S($p),{key:w.name??k,value:String(k)},{default:U(()=>[Vt(ze(u(w)),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["name"])])):je("",!0),(((b=r.value)==null?void 0:b.length)??0)>1&&!n.value?(E(),K("div",{key:2,class:Lt(["flex flex-row flex-wrap gap-2",{"items-center":S(d)}])},[ye(Mf,{name:S(p)("Examples")},{value:U(()=>[ue("div",{class:Lt(["flex gap-2",{"flex-col":!S(d),"flex-row flex-wrap":S(d)}])},[(E(!0),K(dt,null,zt(r.value,(w,k)=>(E(),ve(bc,{key:k,value:w.value,"on-set":c.value},null,8,["value","on-set"]))),128))],2)]),_:1},8,["name"])],2)):je("",!0)],64)}}}),pge={class:"flex flex-col p-3 gap-2 rounded bg-muted"},fge={class:"flex flex-col gap-2"},hge={class:"flex flex-row items-center gap-2"},mge={class:"text-sm font-bold"},gge={key:0,class:"text-sm text-destructive"},vge={key:0,class:"flex flex-col gap-2"},yge={class:"flex flex-row gap-2"},bge={key:1,class:"text-sm text-destructive"},wge={class:"flex flex-wrap gap-2"},X0={__name:"OAParameter",props:{parameter:{type:Object,required:!0}},setup(e){const t=e,r=pR(t.parameter.schema),{t:n}=Jn(),{setParameterValue:o,hasOperationData:s}=kv();return(i,a)=>(E(),K("div",pge,[ue("div",fge,[ue("div",hge,[ue("span",mge,ze(t.parameter.name),1),t.parameter.required?(E(),K("span",gge,"*")):je("",!0)]),t.parameter.description?(E(),ve(Wl,{key:0,content:t.parameter.description,class:"text-sm"},null,8,["content"])):je("",!0)]),t.parameter.schema?(E(),K("div",vge,[ue("div",yge,[t.parameter.schema.type?(E(),ve(Mf,{key:0,name:S(n)("Type"),value:t.parameter.schema.type,"bold-name":""},null,8,["name","value"])):je("",!0),t.parameter.required?(E(),K("span",bge,ze(S(n)("Required")),1)):je("",!0)]),t.parameter.schema.enum?(E(),ve(Mf,{key:0,name:S(n)("Valid values"),value:t.parameter.schema.enum.join(", ")},{value:U(()=>[ue("div",wge,[(E(!0),K(dt,null,zt(t.parameter.schema.enum,(l,c)=>(E(),ve(bc,{key:c,value:l,"is-enum":!0,"on-set":S(s)&&t.parameter.name?u=>S(o)(t.parameter.name,u):void 0},null,8,["value","on-set"]))),128))])]),_:1},8,["name","value"])):je("",!0),ye(H5,{property:t.parameter},null,8,["property"]),Object.keys(S(r)).length>0?(E(!0),K(dt,{key:1},zt(S(r),(l,c)=>(E(),ve(Mf,{key:c,name:S(n)(S(F5)(c))},{value:U(()=>[ye(bc,{value:l},null,8,["value"])]),_:2},1032,["name"]))),128)):je("",!0)])):je("",!0)]))}},xge={class:"flex flex-col"},kge={key:0,class:"space-y-4"},jge={key:1,class:"space-y-4"},_ge={key:2,class:"space-y-4"},W5={__name:"OAParameters",props:{operationId:{type:String,required:!0},parameters:{type:Array,required:!0}},setup(e){const t=e,r=t.parameters.filter(i=>i&&i.in==="header"),n=t.parameters.filter(i=>i&&i.in==="path"),o=t.parameters.filter(i=>i&&i.in==="query"),{t:s}=Jn();return(i,a)=>(E(),K("div",xge,[S(r).length?(E(),K("div",kge,[ue("h3",null,ze(S(s)("Header Parameters")),1),(E(!0),K(dt,null,zt(S(r),l=>(E(),ve(X0,{key:l.name,parameter:l},null,8,["parameter"]))),128))])):je("",!0),S(n).length?(E(),K("div",jge,[ue("h3",null,ze(S(s)("Path Parameters")),1),(E(!0),K(dt,null,zt(S(n),l=>(E(),ve(X0,{key:l.name,parameter:l},null,8,["parameter"]))),128))])):je("",!0),S(o).length?(E(),K("div",_ge,[ue("h3",null,ze(S(s)("Query Parameters")),1),(E(!0),K(dt,null,zt(S(o),l=>(E(),ve(X0,{key:l.name,parameter:l},null,8,["parameter"]))),128))])):je("",!0)]))}},Sge={key:0,class:"OAPath flex flex-col space-y-4"},Cge={class:"OAPathContentStart flex flex-col"},Age={class:"flex flex-col gap-4"},Ege={class:"flex flex-col"},Oge={key:1},$ge={key:2},Tge=Te({__name:"OAPath",props:{id:{type:String,required:!0},operation:{type:Object,required:!0},openapi:{type:Object,required:!0}},setup(e){const t=e,r=kn(),n=le(()=>(r.getOperationSlots()??[]).filter(i=>{var a;return!((a=r.getOperationHiddenSlots())!=null&&a.includes(i))})),o=le(()=>r.getOperationCols()),s=le(()=>["playground","try-it","code-samples"].some(i=>n.value.includes(i)));return(i,a)=>(E(),ve(S(VV),{openapi:t.openapi,"operation-id":t.id,"should-build-request":s.value},{default:U(l=>{var c;return[t.operation?(E(),K("div",Sge,[n.value.includes("header")?pe(i.$slots,"header",{key:0,operation:t.operation,method:l.method,path:l.path,deprecated:t.operation.deprecated}):je("",!0),n.value.includes("tags")?pe(i.$slots,"tags",{key:1,operation:t.operation,method:l.method,path:l.path,tags:t.operation.tags}):je("",!0),ue("div",{class:Lt([{"sm:grid-cols-1":o.value===1,"sm:grid-cols-2":o.value===2},"relative grid grid-cols-1"])},[ue("div",Cge,[ue("div",Age,[n.value.includes("path")?(E(),K("div",{key:0,class:Lt({"sm:hidden":o.value===2})},[pe(i.$slots,"path",{operationId:t.id,operation:t.operation,method:l.method,path:l.path,hideBaseUrl:!S(r).getShowBaseURL(),deprecated:t.operation.deprecated,servers:l.servers,baseUrl:l.operationData.playground.selectedServer.value})],2)):je("",!0),n.value.includes("description")?pe(i.$slots,"description",{key:1,operation:t.operation,method:l.method,path:l.path}):je("",!0)]),n.value.includes("security")?(E(),K(dt,{key:0},[l.securityUi.length?pe(i.$slots,"security",{key:0,operation:t.operation,method:l.method,path:l.path,securityUi:l.securityUi,selectedSchemeId:l.operationData.security.selectedSchemeId.value}):je("",!0)],64)):je("",!0),n.value.includes("parameters")?(E(),K(dt,{key:1},[(c=l.parameters)!=null&&c.length?pe(i.$slots,"parameters",{key:0,operationId:t.id,parameters:l.parameters}):je("",!0)],64)):je("",!0),n.value.includes("request-body")?(E(),K(dt,{key:2},[l.requestBody?pe(i.$slots,"request-body",{key:0,operationId:t.id,requestBody:l.requestBody}):je("",!0)],64)):je("",!0),n.value.includes("responses")?(E(),K(dt,{key:3},[l.responses?pe(i.$slots,"responses",{key:0,operationId:t.id,responses:l.responses}):je("",!0)],64)):je("",!0)]),ue("div",Ege,[ue("div",{class:Lt(["OAPathContentEnd sticky top-[100px] inset-x-0 flex flex-col",{"!px-0":o.value===1}])},[n.value.includes("path")&&o.value===2?(E(),K("div",{key:0,class:Lt({"hidden sm:block sm:mb-2":o.value===2})},[pe(i.$slots,"path",{operationId:t.id,operation:t.operation,method:l.method,path:l.path,hideBaseUrl:!S(r).getShowBaseURL(),deprecated:t.operation.deprecated,servers:l.servers,baseUrl:l.operationData.playground.selectedServer.value})],2)):je("",!0),n.value.includes("try-it")||n.value.includes("playground")?(E(),K("div",Oge,[pe(i.$slots,"playground",{operationId:t.id,path:l.path,method:l.method,parameters:l.parameters,requestBody:l.requestBody,securityUi:l.securityUi,servers:l.servers})])):je("",!0),n.value.includes("code-samples")?(E(),K("div",$ge,[pe(i.$slots,"code-samples",{operationId:t.id,operation:t.operation,method:l.method,path:l.path,codeSamples:l.codeSamples})])):je("",!0)],2)])],2),n.value.includes("branding")?pe(i.$slots,"branding",{key:2,operationId:t.id,operation:t.operation,method:l.method,path:l.path}):je("",!0),n.value.includes("footer")?pe(i.$slots,"footer",{key:3,operationId:t.id,operation:t.operation,method:l.method,path:l.path}):je("",!0)])):je("",!0)]}),_:3},8,["openapi","operation-id","should-build-request"]))}}),Pge={__name:"OAMethodBadge",props:{method:{type:String,required:!0}},setup(e){const t=e;return(r,n)=>(E(),ve(S(Pc),{variant:"plain",class:Lt([[`OAMethodBadge--${t.method.toLowerCase()}`],"px-2 py-1 rounded"])},{default:U(()=>[Vt(ze(t.method.toUpperCase()),1)]),_:1},8,["class"]))}},Ige={class:"flex flex-col gap-2 text-sm bg-muted rounded p-1.5"},Dge={class:"language-bash !overflow-hidden !m-0 h-8 flex flex-row items-center gap-1.5"},Mge=["title"],Lge={class:"overflow-x-auto whitespace-nowrap"},Nge={class:"flex flex-row flex-shrink-0"},Rge={key:0,class:"text-muted-foreground hidden md:inline-block"},Bge={__name:"OAPathEndpoint",props:{path:{type:String,required:!0},method:{type:String,required:!0},baseUrl:{type:String,required:!0},hideBaseUrl:{type:Boolean,default:!1},deprecated:{type:Boolean,default:!1},servers:{type:Array,required:!1}},setup(e){const t=e,{t:r}=Jn();return(n,o)=>(E(),K("div",Ige,[ue("div",Dge,[ue("button",{title:S(r)("Copy endpoint"),class:"copy absolute !top-1 z-50 OAPathEndpoint__copy"},null,8,Mge),ye(Pge,{method:t.method},null,8,["method"]),ue("div",Lge,[ue("span",Nge,[t.hideBaseUrl?je("",!0):(E(),K("span",Rge,ze(t.baseUrl),1)),ue("span",{class:Lt([{"line-through":t.deprecated},"font-bold select-all"])},ze(t.path),3)])])])]))}},G5=$w(Bge,[["__scopeId","data-v-ae22f171"]]),Wm=Te({__name:"Button",props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;return(r,n)=>(E(),ve(S(Rn),{as:e.as,"as-child":e.asChild,class:Lt(S(Ko)(S(qge)({variant:e.variant,size:e.size}),t.class))},{default:U(()=>[pe(r.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),qge=Sw("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-muted",primary:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",icon:"rounded bg-transparent hover:bg-muted"},size:{default:"h-10 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"size-4 p-[2px]"}},defaultVariants:{variant:"default",size:"default"}});function Ii({parameter:e,operationId:t}){return!e.name||!e.in?"":`${t}:${e.in}:${e.name}`}function PT(e){return e!=="ignore"}function Ub(e){return e==="value"}function V_(e,t,r="value"){if(Ub(r)){const n=gC(e);if(n!==null)return n}return Ub(t)?vC(e):null}function zge(e,t,r="value"){if(PT(r)){const n=gC(e);if(n!==null)return n}return PT(t)?vC(e):null}function Ao(e){return Array.isArray(e)}function Do(e){return e!==null&&typeof e=="object"&&(e.constructor===void 0||e.constructor.name==="Object")}function J5(e){return e&&typeof e=="object"?e.op==="add":!1}function K5(e){return e&&typeof e=="object"?e.op==="remove":!1}function uA(e){return e&&typeof e=="object"?e.op==="replace":!1}function U_(e){return e&&typeof e=="object"?e.op==="copy":!1}function Lf(e){return e&&typeof e=="object"?e.op==="move":!1}function Fge(e,t){return JSON.stringify(e)===JSON.stringify(t)}function Vge(e,t){return e===t}function Q5(e){return e.slice(0,e.length-1)}function Uge(e){return e[e.length-1]}function Hge(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Vge;if(e.length{t[r]=e[r]}),t}else if(Do(e)){const t={...e};return Object.getOwnPropertySymbols(e).forEach(r=>{t[r]=e[r]}),t}else return e}function pA(e,t,r){if(e[t]===r)return e;{const n=dA(e);return n[t]=r,n}}function bt(e,t){let r=e,n=0;for(;n3&&arguments[3]!==void 0?arguments[3]:!1;if(t.length===0)return r;const o=t[0],s=fi(e?e[o]:void 0,t.slice(1),r,n);if(Do(e)||Ao(e))return pA(e,o,s);if(n){const i=Wge.test(o)?[]:{};return i[o]=s,i}else throw new Error("Path does not exist")}const Wge=/^\d+$/;function fA(e,t,r){if(t.length===0)return r(e);if(!Z5(e))throw new Error("Path doesn't exist");const n=t[0],o=fA(e[n],t.slice(1),r);return pA(e,n,o)}function Bw(e,t){if(t.length===0)return e;if(!Z5(e))throw new Error("Path does not exist");if(t.length===1){const o=t[0];if(o in e){const s=dA(e);return Ao(s)&&s.splice(parseInt(o),1),Do(s)&&delete s[o],s}else return e}const r=t[0],n=Bw(e[r],t.slice(1));return pA(e,r,n)}function hA(e,t,r){const n=t.slice(0,t.length-1),o=t[t.length-1];return fA(e,n,s=>{if(!Array.isArray(s))throw new TypeError("Array expected at path "+JSON.stringify(n));const i=dA(s);return i.splice(parseInt(o),0,r),i})}function oa(e,t){return e===void 0?!1:t.length===0?!0:e===null?!1:oa(e[t[0]],t.slice(1))}function da(e){const t=e.split("/");return t.shift(),t.map(r=>r.replace(/~1/g,"/").replace(/~0/g,"~"))}function Wt(e){return e.map(X5).join("")}function X5(e){return"/"+String(e).replace(/~/g,"~0").replace(/\//g,"~1")}function IT(e,t){return e+X5(t)}function Na(e,t,r){let n=e;for(let o=0;o{let i;const a=Ra(o,s.path);if(s.op==="add")i=r6(o,a);else if(s.op==="remove")i=t6(o,a);else if(s.op==="replace")i=e6(o,a);else if(s.op==="copy")i=tve(o,a);else if(s.op==="move")i=rve(o,a,H_(s.from));else if(s.op==="test")i=[];else throw new Error("Unknown JSONPatch operation "+JSON.stringify(s));let l;if(r&&r.before){const c=r.before(o,s,i);if(c&&c.revertOperations&&(i=c.revertOperations),c&&c.document&&(l=c.document),c&&c.json)throw new Error('Deprecation warning: returned object property ".json" has been renamed to ".document"')}if(n=i.concat(n),l!==void 0)return{document:l}}}),n}function e6(e,t){return[{op:"replace",path:Wt(t),value:bt(e,t)}]}function t6(e,t){return[{op:"add",path:Wt(t),value:bt(e,t)}]}function r6(e,t){return jv(e,t)||!oa(e,t)?[{op:"remove",path:Wt(t)}]:e6(e,t)}function tve(e,t){return r6(e,t)}function rve(e,t,r){if(t.length=0?D=A():H()}return V(q,"valueEnd"),_(),O&&kNumber.MAX_SAFE_INTEGER||D="a"&&D<="f"?O+=D.charCodeAt()-t+10:D>="0"&&D<="9"?O+=+D:B()}return String.fromCharCode(O)}function X(){for(var q="";m[k]>="0"&&m[k]<="9";)q+=F();if(q.length)return q;se(),H()}function V(q,O){J(q,O,oe())}function J(q,O,D){y[q]=y[q]||{},y[q][O]=D}function oe(){return{line:b,column:w,pos:k}}function H(){throw new SyntaxError("Unexpected token "+m[k]+" in JSON at position "+k)}function B(){z(),H()}function se(){if(k>=m.length)throw new SyntaxError("Unexpected end of JSON input")}},cy.stringify=function(m,v,g){if(!n(m))return;var y=0,b,w,k=typeof g=="object"?g.space:g;switch(typeof k){case"number":var x=k>10?10:k<0?0:Math.floor(k);k=x&&J(x," "),b=x,w=x;break;case"string":k=k.slice(0,10),b=0,w=0;for(var j=0;j=0}var o=/"|\\/g,s=/[\b]/g,i=/\f/g,a=/\n/g,l=/\r/g,c=/\t/g;function u(m){return m=m.replace(o,"\\$&").replace(i,"\\f").replace(s,"\\b").replace(a,"\\n").replace(l,"\\r").replace(c,"\\t"),'"'+m+'"'}var d=/~/g,p=/\//g;function f(m){return m.replace(d,"~0").replace(p,"~1")}return cy}var ove=nve();const MT=qC(ove);class Zp extends Error{constructor(t,r){super("".concat(t," at position ").concat(r)),this.position=r}}const uy=92,Ik=47,sve=42,LT=123,dy=125,NT=91,py=93,ive=41,n6=32,mA=10,gA=9,vA=13,ave=8,lve=12,Hb=34,RT=43,BT=45,o6=39,s6=48,i6=57,yd=44,fy=46,hy=58,cve=59,uve=65,dve=97,pve=69,fve=101,hve=70,mve=102,gve=160,vve=8192,yve=8202,bve=8239,wve=8287,xve=12288,kve=8220,jve=8221,_ve=8216,Sve=8217,Cve=96,Ave=180;function Eve(e){return e>=s6&&e<=i6||e>=uve&&e<=hve||e>=dve&&e<=mve}function bd(e){return e>=s6&&e<=i6}function Ove(e){return e>=32&&e<=1114111}function my(e){return $ve.test(e)}const $ve=/^[,:[\]/{}()\n+]$/,Tve=/^[,[\]/{}\n+]$/,Pve=/^[a-zA-Z_$]$/,Ive=/^[a-zA-Z_$0-9]$/,qT=/^(http|https|ftp|mailto|file|data|irc):\/\/$/,zT=/^[A-Za-z0-9-._~:/?#@!$&'()*+;=]$/;function FT(e){return Tve.test(e)}function VT(e){return Dve.test(e)||e&&Y0(e.charCodeAt(0))}const Dve=/^[[{\w-]$/;function Mve(e){return e===mA||e===vA||e===gA||e===ave||e===lve}function Od(e){return e===n6||e===mA||e===gA||e===vA}function Lve(e){return e===n6||e===gA||e===vA}function Nve(e){return e===gve||e>=vve&&e<=yve||e===bve||e===wve||e===xve}function Y0(e){return a6(e)||W_(e)}function a6(e){return e===Hb||e===kve||e===jve}function UT(e){return e===Hb}function W_(e){return e===o6||e===_ve||e===Sve||e===Cve||e===Ave}function HT(e){return e===o6}function am(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const n=e.lastIndexOf(t);return n!==-1?e.substring(0,n)+(r?"":e.substring(n+1)):e}function _a(e,t){let r=e.length;if(!Od(e.charCodeAt(r-1)))return e+t;for(;Od(e.charCodeAt(r-1));)r--;return e.substring(0,r)+t+e.substring(r)}function Rve(e,t,r){return e.substring(0,t)+e.substring(t+r)}function Bve(e){return/[,\n][ \t\r]*$/.test(e)}const qve={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},zve={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:` -`,r:"\r",t:" "};function Ol(e){let t=0,r="";o()||M();const n=l(yd);for(n&&s(),VT(e[t])&&Bve(r)?(n||(r=_a(r,",")),m()):n&&(r=am(r,","));e.charCodeAt(t)===dy||e.charCodeAt(t)===py;)t++,s();if(t>=e.length)return r;I();function o(){s();const L=p()||f()||v()||y()||b()||k(!1)||x();return s(),L}function s(){let L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const X=t;let V=i(L);do V=a(),V&&(V=i(L));while(V);return t>X}function i(L){const X=L?Od:Lve;let V="";for(;;){const J=e.charCodeAt(t);if(X(J))V+=e[t],t++;else if(Nve(J))V+=" ",t++;else break}return V.length>0?(r+=V,!0):!1}function a(){if(e.charCodeAt(t)===Ik&&e.charCodeAt(t+1)===sve){for(;t=e.length;V||(VT(e[t])||J?r=_a(r,":"):F()),o()||(V||J?r+="null":F())}return e.charCodeAt(t)===dy?(r+="}",t++):r=_a(r,"}"),!0}return!1}function f(){if(e.charCodeAt(t)===NT){r+="[",t++,s(),c(yd)&&s();let L=!0;for(;to.value||n.value||i.value?_l(t.default({present:i.value})[0],{ref:u=>{const d=Ga(u);return typeof(d==null?void 0:d.hasAttribute)>"u"||(d!=null&&d.hasAttribute("data-reka-popper-content-wrapper")?s.value=d.firstElementChild:s.value=d),d}}):null}});const D_=Te({name:"PrimitiveSlot",inheritAttrs:!1,setup(e,{attrs:t,slots:r}){return()=>{var l;if(!r.default)return null;const n=QC(r.default()),o=n.findIndex(c=>c.type!==lU);if(o===-1)return n;const s=n[o];(l=s.props)==null||delete l.ref;const i=s.props?jr(t,s.props):t,a=cU({...s,props:{}},i);return n.length===1?a:(n[o]=a,n)}}}),ppe=["area","img","input"],Rn=Te({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(e,{attrs:t,slots:r}){const n=e.asChild?"template":e.as;return typeof n=="string"&&ppe.includes(n)?()=>_l(n,t):n!=="template"?()=>_l(e.as,t,{default:r.default}):()=>_l(D_,t,{default:r.default})}});function M_(){const e=Oe(),t=le(()=>{var r,n;return["#text","#comment"].includes((r=e.value)==null?void 0:r.$el.nodeName)?(n=e.value)==null?void 0:n.$el.nextElementSibling:Ga(e)});return{primitiveElement:e,currentElement:t}}const[u5,fpe]=li("CollapsibleRoot");var hpe=Te({__name:"CollapsibleRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:open"],setup(e,{expose:t,emit:r}){const n=e,o=ca(n,"open",r,{defaultValue:n.defaultOpen,passive:n.open===void 0}),{disabled:s,unmountOnHide:i}=Uc(n);return fpe({contentId:"",disabled:s,open:o,unmountOnHide:i,onOpenToggle:()=>{s.value||(o.value=!o.value)}}),t({open:o}),Kn(),(a,l)=>(E(),ve(S(Rn),{as:a.as,"as-child":n.asChild,"data-state":S(o)?"open":"closed","data-disabled":S(s)?"":void 0},{default:U(()=>[pe(a.$slots,"default",{open:S(o)})]),_:3},8,["as","as-child","data-state","data-disabled"]))}}),mpe=hpe,gpe=Te({inheritAttrs:!1,__name:"CollapsibleContent",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["contentFound"],setup(e,{emit:t}){const r=e,n=t,o=u5();o.contentId||(o.contentId=jp(void 0,"reka-collapsible-content"));const s=Oe(),{forwardRef:i,currentElement:a}=Kn(),l=Oe(0),c=Oe(0),u=le(()=>o.open.value),d=Oe(u.value),p=Oe();cr(()=>{var m;return[u.value,(m=s.value)==null?void 0:m.present]},async()=>{await Io();const m=a.value;if(!m)return;p.value=p.value||{transitionDuration:m.style.transitionDuration,animationName:m.style.animationName},m.style.transitionDuration="0s",m.style.animationName="none";const v=m.getBoundingClientRect();c.value=v.height,l.value=v.width,d.value||(m.style.transitionDuration=p.value.transitionDuration,m.style.animationName=p.value.animationName)},{immediate:!0});const f=le(()=>d.value&&o.open.value);return Oo(()=>{requestAnimationFrame(()=>{d.value=!1})}),Ru(a,"beforematch",m=>{requestAnimationFrame(()=>{o.onOpenToggle(),n("contentFound")})}),(m,v)=>(E(),ve(S(wv),{ref_key:"presentRef",ref:s,present:m.forceMount||S(o).open.value,"force-mount":!0},{default:U(({present:g})=>{var y;return[ye(S(Rn),jr(m.$attrs,{id:S(o).contentId,ref:S(i),"as-child":r.asChild,as:m.as,hidden:g?void 0:S(o).unmountOnHide.value?"":"until-found","data-state":f.value?void 0:S(o).open.value?"open":"closed","data-disabled":(y=S(o).disabled)!=null&&y.value?"":void 0,style:{"--reka-collapsible-content-height":`${c.value}px`,"--reka-collapsible-content-width":`${l.value}px`}}),{default:U(()=>[!S(o).unmountOnHide.value||g?pe(m.$slots,"default",{key:0}):je("v-if",!0)]),_:2},1040,["id","as-child","as","hidden","data-state","data-disabled","style"])]}),_:3},8,["present"]))}}),vpe=gpe,ype=Te({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e;Kn();const r=u5();return(n,o)=>{var s,i;return E(),ve(S(Rn),{type:n.as==="button"?"button":void 0,as:n.as,"as-child":t.asChild,"aria-controls":S(r).contentId,"aria-expanded":S(r).open.value,"data-state":S(r).open.value?"open":"closed","data-disabled":(s=S(r).disabled)!=null&&s.value?"":void 0,disabled:(i=S(r).disabled)==null?void 0:i.value,onClick:S(r).onOpenToggle},{default:U(()=>[pe(n.$slots,"default")]),_:3},8,["type","as","as-child","aria-controls","aria-expanded","data-state","data-disabled","disabled","onClick"])}}}),bpe=ype;const wpe="dismissableLayer.pointerDownOutside",xpe="dismissableLayer.focusOutside";function d5(e,t){const r=t.closest("[data-dismissable-layer]"),n=e.dataset.dismissableLayer===""?e:e.querySelector("[data-dismissable-layer]"),o=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(r&&(n===r||o.indexOf(n){});return No(a=>{if(!Vl||!os(r))return;const l=async u=>{const d=u.target;if(!(!(t!=null&&t.value)||!d)){if(d5(t.value,d)){o.value=!1;return}if(u.target&&!o.value){let p=function(){KC(wpe,e,f)};const f={originalEvent:u};u.pointerType==="touch"?(n.removeEventListener("click",s.value),s.value=p,n.addEventListener("click",s.value,{once:!0})):p()}else n.removeEventListener("click",s.value);o.value=!1}},c=window.setTimeout(()=>{n.addEventListener("pointerdown",l)},0);a(()=>{window.clearTimeout(c),n.removeEventListener("pointerdown",l),n.removeEventListener("click",s.value)})}),{onPointerDownCapture:()=>{os(r)&&(o.value=!0)}}}function jpe(e,t,r=!0){var s;const n=((s=t==null?void 0:t.value)==null?void 0:s.ownerDocument)??(globalThis==null?void 0:globalThis.document),o=Oe(!1);return No(i=>{if(!Vl||!os(r))return;const a=async l=>{if(!(t!=null&&t.value))return;await Io(),await Io();const c=l.target;!t.value||!c||d5(t.value,c)||l.target&&!o.value&&KC(xpe,e,{originalEvent:l})};n.addEventListener("focusin",a),i(()=>n.removeEventListener("focusin",a))}),{onFocusCapture:()=>{os(r)&&(o.value=!0)},onBlurCapture:()=>{os(r)&&(o.value=!1)}}}const Gi=sC({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var _pe=Te({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(e,{emit:t}){const r=e,n=t,{forwardRef:o,currentElement:s}=Kn(),i=le(()=>{var f;return((f=s.value)==null?void 0:f.ownerDocument)??globalThis.document}),a=le(()=>Gi.layersRoot),l=le(()=>s.value?Array.from(a.value).indexOf(s.value):-1),c=le(()=>Gi.layersWithOutsidePointerEventsDisabled.size>0),u=le(()=>{const f=Array.from(a.value),[m]=[...Gi.layersWithOutsidePointerEventsDisabled].slice(-1),v=f.indexOf(m);return l.value>=v}),d=kpe(async f=>{const m=[...Gi.branches].some(v=>v==null?void 0:v.contains(f.target));!u.value||m||(n("pointerDownOutside",f),n("interactOutside",f),await Io(),f.defaultPrevented||n("dismiss"))},s),p=jpe(f=>{[...Gi.branches].some(m=>m==null?void 0:m.contains(f.target))||(n("focusOutside",f),n("interactOutside",f),f.defaultPrevented||n("dismiss"))},s);return mK("Escape",f=>{l.value===a.value.size-1&&(n("escapeKeyDown",f),f.defaultPrevented||n("dismiss"))}),No(f=>{s.value&&(r.disableOutsidePointerEvents&&(Gi.layersWithOutsidePointerEventsDisabled.size===0&&(Gi.originalBodyPointerEvents=i.value.body.style.pointerEvents,i.value.body.style.pointerEvents="none"),Gi.layersWithOutsidePointerEventsDisabled.add(s.value)),a.value.add(s.value),f(()=>{r.disableOutsidePointerEvents&&Gi.layersWithOutsidePointerEventsDisabled.size===1&&!nh(Gi.originalBodyPointerEvents)&&(i.value.body.style.pointerEvents=Gi.originalBodyPointerEvents)}))}),No(f=>{f(()=>{s.value&&(a.value.delete(s.value),Gi.layersWithOutsidePointerEventsDisabled.delete(s.value))})}),(f,m)=>(E(),ve(S(Rn),{ref:S(o),"as-child":f.asChild,as:f.as,"data-dismissable-layer":"",style:Sh({pointerEvents:c.value?u.value?"auto":"none":void 0}),onFocusCapture:S(p).onFocusCapture,onBlurCapture:S(p).onBlurCapture,onPointerdownCapture:S(d).onPointerDownCapture},{default:U(()=>[pe(f.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),p5=_pe;const Spe=eK(()=>Oe([]));function Cpe(){const e=Spe();return{add(t){const r=e.value[0];t!==r&&(r==null||r.pause()),e.value=fT(e.value,t),e.value.unshift(t)},remove(t){var r;e.value=fT(e.value,t),(r=e.value[0])==null||r.resume()}}}function fT(e,t){const r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}const $k="focusScope.autoFocusOnMount",Tk="focusScope.autoFocusOnUnmount",hT={bubbles:!1,cancelable:!0};function Ape(e,{select:t=!1}={}){const r=Fi();for(const n of e)if(ou(n,{select:t}),Fi()!==r)return!0}function Epe(e){const t=f5(e),r=mT(t,e),n=mT(t.reverse(),e);return[r,n]}function f5(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:n=>{const o=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||o?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function mT(e,t){for(const r of e)if(!Ope(r,{upTo:t}))return r}function Ope(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 $pe(e){return e instanceof HTMLInputElement&&"select"in e}function ou(e,{select:t=!1}={}){if(e&&e.focus){const r=Fi();e.focus({preventScroll:!0}),e!==r&&$pe(e)&&t&&e.select()}}var Tpe=Te({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(e,{emit:t}){const r=e,n=t,{currentRef:o,currentElement:s}=Kn(),i=Oe(null),a=Cpe(),l=sC({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});No(u=>{if(!Vl)return;const d=s.value;if(!r.trapped)return;function p(g){if(l.paused||!d)return;const y=g.target;d.contains(y)?i.value=y:ou(i.value,{select:!0})}function f(g){if(l.paused||!d)return;const y=g.relatedTarget;y!==null&&(d.contains(y)||ou(i.value,{select:!0}))}function m(g){d.contains(i.value)||ou(d)}document.addEventListener("focusin",p),document.addEventListener("focusout",f);const v=new MutationObserver(m);d&&v.observe(d,{childList:!0,subtree:!0}),u(()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",f),v.disconnect()})}),No(async u=>{const d=s.value;if(await Io(),!d)return;a.add(l);const p=Fi();if(!d.contains(p)){const f=new CustomEvent($k,hT);d.addEventListener($k,m=>n("mountAutoFocus",m)),d.dispatchEvent(f),f.defaultPrevented||(Ape(f5(d),{select:!0}),Fi()===p&&ou(d))}u(()=>{d.removeEventListener($k,v=>n("mountAutoFocus",v));const f=new CustomEvent(Tk,hT),m=v=>{n("unmountAutoFocus",v)};d.addEventListener(Tk,m),d.dispatchEvent(f),setTimeout(()=>{f.defaultPrevented||ou(p??document.body,{select:!0}),d.removeEventListener(Tk,m),a.remove(l)},0)})});function c(u){if(!r.loop&&!r.trapped||l.paused)return;const d=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,p=Fi();if(d&&p){const f=u.currentTarget,[m,v]=Epe(f);m&&v?!u.shiftKey&&p===v?(u.preventDefault(),r.loop&&ou(m,{select:!0})):u.shiftKey&&p===m&&(u.preventDefault(),r.loop&&ou(v,{select:!0})):p===f&&u.preventDefault()}}return(u,d)=>(E(),ve(S(Rn),{ref_key:"currentRef",ref:o,tabindex:"-1","as-child":u.asChild,as:u.as,onKeydown:c},{default:U(()=>[pe(u.$slots,"default")]),_:3},8,["as-child","as"]))}}),Ppe=Tpe;function gT(e){const t=Fi();for(const r of e)if(r===t||(r.focus(),Fi()!==t))return}var Ipe=Te({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=iL();return(r,n)=>S(t)||r.forceMount?(E(),ve(GN,{key:0,to:r.to,disabled:r.disabled,defer:r.defer},[pe(r.$slots,"default")],8,["to","disabled","defer"])):je("v-if",!0)}}),h5=Ipe;const vT="data-reka-collection-item";function id(e={}){const{key:t="",isProvider:r=!1}=e,n=`${t}CollectionProvider`;let o;if(r){const u=Oe(new Map);o={collectionRef:Oe(),itemMap:u},wp(n,o)}else o=_i(n);const s=(u=!1)=>{const d=o.collectionRef.value;if(!d)return[];const p=Array.from(d.querySelectorAll(`[${vT}]`)),f=Array.from(o.itemMap.value.values()).sort((m,v)=>p.indexOf(m.ref)-p.indexOf(v.ref));return u?f:f.filter(m=>m.ref.dataset.disabled!=="")},i=Te({name:"CollectionSlot",inheritAttrs:!1,setup(u,{slots:d,attrs:p}){const{primitiveElement:f,currentElement:m}=M_();return cr(m,()=>{o.collectionRef.value=m.value}),()=>_l(D_,{ref:f,...p},d)}}),a=Te({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(u,{slots:d,attrs:p}){const{primitiveElement:f,currentElement:m}=M_();return No(v=>{if(m.value){const g=fU(m.value);o.itemMap.value.set(g,{ref:m.value,value:u.value}),v(()=>o.itemMap.value.delete(g))}}),()=>_l(D_,{...p,[vT]:"",ref:f},d)}}),l=le(()=>Array.from(o.itemMap.value.values())),c=le(()=>o.itemMap.value.size);return{getItems:s,reactiveItems:l,itemMapSize:c,CollectionSlot:i,CollectionItem:a}}var Dpe=Te({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,r)=>(E(),ve(S(Rn),{as:t.as,"as-child":t.asChild,"aria-hidden":t.feature==="focusable"?"true":void 0,"data-hidden":t.feature==="fully-hidden"?"":void 0,tabindex:t.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:U(()=>[pe(t.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),XC=Dpe,Mpe=Te({inheritAttrs:!1,__name:"VisuallyHiddenInputBubble",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(e){const t=e,{primitiveElement:r,currentElement:n}=M_(),o=le(()=>t.checked??t.value);return cr(o,(s,i)=>{if(!n.value)return;const a=n.value,l=window.HTMLInputElement.prototype,c=Object.getOwnPropertyDescriptor(l,"value").set;if(c&&s!==i){const u=new Event("input",{bubbles:!0}),d=new Event("change",{bubbles:!0});c.call(a,s),a.dispatchEvent(u),a.dispatchEvent(d)}}),(s,i)=>(E(),ve(XC,jr({ref_key:"primitiveElement",ref:r},{...t,...s.$attrs},{as:"input"}),null,16))}}),yT=Mpe,Npe=Te({inheritAttrs:!1,__name:"VisuallyHiddenInput",props:{name:{type:String,required:!0},value:{type:null,required:!0},checked:{type:Boolean,required:!1,default:void 0},required:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},feature:{type:String,required:!1,default:"fully-hidden"}},setup(e){const t=e,r=le(()=>typeof t.value=="object"&&Array.isArray(t.value)&&t.value.length===0&&t.required),n=le(()=>typeof t.value=="string"||typeof t.value=="number"||typeof t.value=="boolean"||t.value===null||t.value===void 0?[{name:t.name,value:t.value}]:typeof t.value=="object"&&Array.isArray(t.value)?t.value.flatMap((o,s)=>typeof o=="object"?Object.entries(o).map(([i,a])=>({name:`${t.name}[${s}][${i}]`,value:a})):{name:`${t.name}[${s}]`,value:o}):t.value!==null&&typeof t.value=="object"&&!Array.isArray(t.value)?Object.entries(t.value).map(([o,s])=>({name:`${t.name}[${o}]`,value:s})):[]);return(o,s)=>(E(),K(dt,null,[je(" We render single input if it's required "),r.value?(E(),ve(yT,jr({key:o.name},{...t,...o.$attrs},{name:o.name,value:o.value}),null,16,["name","value"])):(E(!0),K(dt,{key:1},zt(n.value,i=>(E(),ve(yT,jr({key:i.name},{ref_for:!0},{...t,...o.$attrs},{name:i.name,value:i.value}),null,16,["name","value"]))),128))],2112))}}),Lpe=Npe;const Rpe="rovingFocusGroup.onEntryFocus",Bpe={bubbles:!1,cancelable:!0},qpe={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function zpe(e,t){return t!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Fpe(e,t,r){const n=zpe(e.key,r);if(!(t==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(t==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return qpe[n]}function m5(e,t=!1){const r=Fi();for(const n of e)if(n===r||(n.focus({preventScroll:t}),Fi()!==r))return}function Vpe(e,t){return e.map((r,n)=>e[(t+n)%e.length])}const[g5,Upe]=li("PopperRoot");var Hpe=Te({inheritAttrs:!1,__name:"PopperRoot",setup(e){const t=Oe();return Upe({anchor:t,onAnchorChange:r=>t.value=r}),(r,n)=>pe(r.$slots,"default")}}),v5=Hpe,Wpe=Te({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:r,currentElement:n}=Kn(),o=g5();return _h(()=>{o.onAnchorChange(t.reference??n.value)}),(s,i)=>(E(),ve(S(Rn),{ref:S(r),as:s.as,"as-child":s.asChild},{default:U(()=>[pe(s.$slots,"default")]),_:3},8,["as","as-child"]))}}),y5=Wpe;function Gpe(e){return e!==null}function Jpe(e){return{name:"transformOrigin",options:e,fn(t){var v,g,y;const{placement:r,rects:n,middlewareData:o}=t,s=((v=o.arrow)==null?void 0:v.centerOffset)!==0,i=s?0:e.arrowWidth,a=s?0:e.arrowHeight,[l,c]=N_(r),u={start:"0%",center:"50%",end:"100%"}[c],d=(((g=o.arrow)==null?void 0:g.x)??0)+i/2,p=(((y=o.arrow)==null?void 0:y.y)??0)+a/2;let f="",m="";return l==="bottom"?(f=s?u:`${d}px`,m=`${-a}px`):l==="top"?(f=s?u:`${d}px`,m=`${n.floating.height+a}px`):l==="right"?(f=`${-a}px`,m=s?u:`${p}px`):l==="left"&&(f=`${n.floating.width+a}px`,m=s?u:`${p}px`),{data:{x:f,y:m}}}}}function N_(e){const[t,r="center"]=e.split("-");return[t,r]}const Kpe=["top","right","bottom","left"],Fu=Math.min,Ni=Math.max,zb=Math.round,ly=Math.floor,El=e=>({x:e,y:e}),Qpe={left:"right",right:"left",bottom:"top",top:"bottom"},Zpe={start:"end",end:"start"};function L_(e,t,r){return Ni(e,Fu(t,r))}function Dc(e,t){return typeof e=="function"?e(t):e}function Mc(e){return e.split("-")[0]}function Oh(e){return e.split("-")[1]}function YC(e){return e==="x"?"y":"x"}function eA(e){return e==="y"?"height":"width"}function Vu(e){return["top","bottom"].includes(Mc(e))?"y":"x"}function tA(e){return YC(Vu(e))}function Xpe(e,t,r){r===void 0&&(r=!1);const n=Oh(e),o=tA(e),s=eA(o);let i=o==="x"?n===(r?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(i=Fb(i)),[i,Fb(i)]}function Ype(e){const t=Fb(e);return[R_(e),t,R_(t)]}function R_(e){return e.replace(/start|end/g,t=>Zpe[t])}function efe(e,t,r){const n=["left","right"],o=["right","left"],s=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return r?t?o:n:t?n:o;case"left":case"right":return t?s:i;default:return[]}}function tfe(e,t,r,n){const o=Oh(e);let s=efe(Mc(e),r==="start",n);return o&&(s=s.map(i=>i+"-"+o),t&&(s=s.concat(s.map(R_)))),s}function Fb(e){return e.replace(/left|right|bottom|top/g,t=>Qpe[t])}function rfe(e){return{top:0,right:0,bottom:0,left:0,...e}}function b5(e){return typeof e!="number"?rfe(e):{top:e,right:e,bottom:e,left:e}}function Vb(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function bT(e,t,r){let{reference:n,floating:o}=e;const s=Vu(t),i=tA(t),a=eA(i),l=Mc(t),c=s==="y",u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,p=n[a]/2-o[a]/2;let f;switch(l){case"top":f={x:u,y:n.y-o.height};break;case"bottom":f={x:u,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:d};break;case"left":f={x:n.x-o.width,y:d};break;default:f={x:n.x,y:n.y}}switch(Oh(t)){case"start":f[i]-=p*(r&&c?-1:1);break;case"end":f[i]+=p*(r&&c?-1:1);break}return f}const nfe=async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:s=[],platform:i}=r,a=s.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=bT(c,n,l),p=n,f={},m=0;for(let v=0;v({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:s,platform:i,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=Dc(e,t)||{};if(c==null)return{};const d=b5(u),p={x:r,y:n},f=tA(o),m=eA(f),v=await i.getDimensions(c),g=f==="y",y=g?"top":"left",b=g?"bottom":"right",w=g?"clientHeight":"clientWidth",k=s.reference[m]+s.reference[f]-p[f]-s.floating[m],x=p[f]-s.reference[f],j=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c));let _=j?j[w]:0;(!_||!await(i.isElement==null?void 0:i.isElement(j)))&&(_=a.floating[w]||s.floating[m]);const C=k/2-x/2,A=_/2-v[m]/2-1,I=Fu(d[y],A),M=Fu(d[b],A),L=I,F=_-v[m]-M,z=_/2-v[m]/2+C,N=L_(L,z,F),X=!l.arrow&&Oh(o)!=null&&z!==N&&s.reference[m]/2-(zz<=0)){var M,L;const z=(((M=s.flip)==null?void 0:M.index)||0)+1,N=_[z];if(N)return{data:{index:z,overflows:I},reset:{placement:N}};let X=(L=I.filter(V=>V.overflows[0]<=0).sort((V,J)=>V.overflows[1]-J.overflows[1])[0])==null?void 0:L.placement;if(!X)switch(f){case"bestFit":{var F;const V=(F=I.filter(J=>{if(j){const oe=Vu(J.placement);return oe===b||oe==="y"}return!0}).map(J=>[J.placement,J.overflows.filter(oe=>oe>0).reduce((oe,H)=>oe+H,0)]).sort((J,oe)=>J[1]-oe[1])[0])==null?void 0:F[0];V&&(X=V);break}case"initialPlacement":X=a;break}if(o!==X)return{reset:{placement:X}}}return{}}}};function wT(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function xT(e){return Kpe.some(t=>e[t]>=0)}const ife=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=Dc(e,t);switch(n){case"referenceHidden":{const s=await wg(t,{...o,elementContext:"reference"}),i=wT(s,r.reference);return{data:{referenceHiddenOffsets:i,referenceHidden:xT(i)}}}case"escaped":{const s=await wg(t,{...o,altBoundary:!0}),i=wT(s,r.floating);return{data:{escapedOffsets:i,escaped:xT(i)}}}default:return{}}}}};async function afe(e,t){const{placement:r,platform:n,elements:o}=e,s=await(n.isRTL==null?void 0:n.isRTL(o.floating)),i=Mc(r),a=Oh(r),l=Vu(r)==="y",c=["left","top"].includes(i)?-1:1,u=s&&l?-1:1,d=Dc(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof m=="number"&&(f=a==="end"?m*-1:m),l?{x:f*u,y:p*c}:{x:p*c,y:f*u}}const lfe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:s,placement:i,middlewareData:a}=t,l=await afe(t,e);return i===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:{...l,placement:i}}}}},cfe=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:s=!0,crossAxis:i=!1,limiter:a={fn:g=>{let{x:y,y:b}=g;return{x:y,y:b}}},...l}=Dc(e,t),c={x:r,y:n},u=await wg(t,l),d=Vu(Mc(o)),p=YC(d);let f=c[p],m=c[d];if(s){const g=p==="y"?"top":"left",y=p==="y"?"bottom":"right",b=f+u[g],w=f-u[y];f=L_(b,f,w)}if(i){const g=d==="y"?"top":"left",y=d==="y"?"bottom":"right",b=m+u[g],w=m-u[y];m=L_(b,m,w)}const v=a.fn({...t,[p]:f,[d]:m});return{...v,data:{x:v.x-r,y:v.y-n,enabled:{[p]:s,[d]:i}}}}}},ufe=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:s,middlewareData:i}=t,{offset:a=0,mainAxis:l=!0,crossAxis:c=!0}=Dc(e,t),u={x:r,y:n},d=Vu(o),p=YC(d);let f=u[p],m=u[d];const v=Dc(a,t),g=typeof v=="number"?{mainAxis:v,crossAxis:0}:{mainAxis:0,crossAxis:0,...v};if(l){const w=p==="y"?"height":"width",k=s.reference[p]-s.floating[w]+g.mainAxis,x=s.reference[p]+s.reference[w]-g.mainAxis;fx&&(f=x)}if(c){var y,b;const w=p==="y"?"width":"height",k=["top","left"].includes(Mc(o)),x=s.reference[d]-s.floating[w]+(k&&((y=i.offset)==null?void 0:y[d])||0)+(k?0:g.crossAxis),j=s.reference[d]+s.reference[w]+(k?0:((b=i.offset)==null?void 0:b[d])||0)-(k?g.crossAxis:0);mj&&(m=j)}return{[p]:f,[d]:m}}}},dfe=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:s,platform:i,elements:a}=t,{apply:l=()=>{},...c}=Dc(e,t),u=await wg(t,c),d=Mc(o),p=Oh(o),f=Vu(o)==="y",{width:m,height:v}=s.floating;let g,y;d==="top"||d==="bottom"?(g=d,y=p===(await(i.isRTL==null?void 0:i.isRTL(a.floating))?"start":"end")?"left":"right"):(y=d,g=p==="end"?"top":"bottom");const b=v-u.top-u.bottom,w=m-u.left-u.right,k=Fu(v-u[g],b),x=Fu(m-u[y],w),j=!t.middlewareData.shift;let _=k,C=x;if((r=t.middlewareData.shift)!=null&&r.enabled.x&&(C=w),(n=t.middlewareData.shift)!=null&&n.enabled.y&&(_=b),j&&!p){const I=Ni(u.left,0),M=Ni(u.right,0),L=Ni(u.top,0),F=Ni(u.bottom,0);f?C=m-2*(I!==0||M!==0?I+M:Ni(u.left,u.right)):_=v-2*(L!==0||F!==0?L+F:Ni(u.top,u.bottom))}await l({...t,availableWidth:C,availableHeight:_});const A=await i.getDimensions(a.floating);return m!==A.width||v!==A.height?{reset:{rects:!0}}:{}}}};function Iw(){return typeof window<"u"}function _p(e){return rA(e)?(e.nodeName||"").toLowerCase():"#document"}function Vi(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Gl(e){var t;return(t=(rA(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function rA(e){return Iw()?e instanceof Node||e instanceof Vi(e).Node:!1}function Ja(e){return Iw()?e instanceof Element||e instanceof Vi(e).Element:!1}function Dl(e){return Iw()?e instanceof HTMLElement||e instanceof Vi(e).HTMLElement:!1}function kT(e){return!Iw()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Vi(e).ShadowRoot}function xv(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=Ka(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function pfe(e){return["table","td","th"].includes(_p(e))}function Dw(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function nA(e){const t=oA(),r=Ja(e)?Ka(e):e;return["transform","translate","scale","rotate","perspective"].some(n=>r[n]?r[n]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function ffe(e){let t=Uu(e);for(;Dl(t)&&!oh(t);){if(nA(t))return t;if(Dw(t))return null;t=Uu(t)}return null}function oA(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function oh(e){return["html","body","#document"].includes(_p(e))}function Ka(e){return Vi(e).getComputedStyle(e)}function Mw(e){return Ja(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Uu(e){if(_p(e)==="html")return e;const t=e.assignedSlot||e.parentNode||kT(e)&&e.host||Gl(e);return kT(t)?t.host:t}function w5(e){const t=Uu(e);return oh(t)?e.ownerDocument?e.ownerDocument.body:e.body:Dl(t)&&xv(t)?t:w5(t)}function xg(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);const o=w5(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),i=Vi(o);if(s){const a=B_(i);return t.concat(i,i.visualViewport||[],xv(o)?o:[],a&&r?xg(a):[])}return t.concat(o,xg(o,[],r))}function B_(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function x5(e){const t=Ka(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=Dl(e),s=o?e.offsetWidth:r,i=o?e.offsetHeight:n,a=zb(r)!==s||zb(n)!==i;return a&&(r=s,n=i),{width:r,height:n,$:a}}function sA(e){return Ja(e)?e:e.contextElement}function Df(e){const t=sA(e);if(!Dl(t))return El(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:s}=x5(t);let i=(s?zb(r.width):r.width)/n,a=(s?zb(r.height):r.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!a||!Number.isFinite(a))&&(a=1),{x:i,y:a}}const hfe=El(0);function k5(e){const t=Vi(e);return!oA()||!t.visualViewport?hfe:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function mfe(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Vi(e)?!1:t}function rp(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);const o=e.getBoundingClientRect(),s=sA(e);let i=El(1);t&&(n?Ja(n)&&(i=Df(n)):i=Df(e));const a=mfe(s,r,n)?k5(s):El(0);let l=(o.left+a.x)/i.x,c=(o.top+a.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(s){const p=Vi(s),f=n&&Ja(n)?Vi(n):n;let m=p,v=B_(m);for(;v&&n&&f!==m;){const g=Df(v),y=v.getBoundingClientRect(),b=Ka(v),w=y.left+(v.clientLeft+parseFloat(b.paddingLeft))*g.x,k=y.top+(v.clientTop+parseFloat(b.paddingTop))*g.y;l*=g.x,c*=g.y,u*=g.x,d*=g.y,l+=w,c+=k,m=Vi(v),v=B_(m)}}return Vb({width:u,height:d,x:l,y:c})}function iA(e,t){const r=Mw(e).scrollLeft;return t?t.left+r:rp(Gl(e)).left+r}function j5(e,t,r){r===void 0&&(r=!1);const n=e.getBoundingClientRect(),o=n.left+t.scrollLeft-(r?0:iA(e,n)),s=n.top+t.scrollTop;return{x:o,y:s}}function gfe(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const s=o==="fixed",i=Gl(n),a=t?Dw(t.floating):!1;if(n===i||a&&s)return r;let l={scrollLeft:0,scrollTop:0},c=El(1);const u=El(0),d=Dl(n);if((d||!d&&!s)&&((_p(n)!=="body"||xv(i))&&(l=Mw(n)),Dl(n))){const f=rp(n);c=Df(n),u.x=f.x+n.clientLeft,u.y=f.y+n.clientTop}const p=i&&!d&&!s?j5(i,l,!0):El(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:r.y*c.y-l.scrollTop*c.y+u.y+p.y}}function vfe(e){return Array.from(e.getClientRects())}function yfe(e){const t=Gl(e),r=Mw(e),n=e.ownerDocument.body,o=Ni(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=Ni(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+iA(e);const a=-r.scrollTop;return Ka(n).direction==="rtl"&&(i+=Ni(t.clientWidth,n.clientWidth)-o),{width:o,height:s,x:i,y:a}}function bfe(e,t){const r=Vi(e),n=Gl(e),o=r.visualViewport;let s=n.clientWidth,i=n.clientHeight,a=0,l=0;if(o){s=o.width,i=o.height;const c=oA();(!c||c&&t==="fixed")&&(a=o.offsetLeft,l=o.offsetTop)}return{width:s,height:i,x:a,y:l}}function wfe(e,t){const r=rp(e,!0,t==="fixed"),n=r.top+e.clientTop,o=r.left+e.clientLeft,s=Dl(e)?Df(e):El(1),i=e.clientWidth*s.x,a=e.clientHeight*s.y,l=o*s.x,c=n*s.y;return{width:i,height:a,x:l,y:c}}function jT(e,t,r){let n;if(t==="viewport")n=bfe(e,r);else if(t==="document")n=yfe(Gl(e));else if(Ja(t))n=wfe(t,r);else{const o=k5(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return Vb(n)}function _5(e,t){const r=Uu(e);return r===t||!Ja(r)||oh(r)?!1:Ka(r).position==="fixed"||_5(r,t)}function xfe(e,t){const r=t.get(e);if(r)return r;let n=xg(e,[],!1).filter(a=>Ja(a)&&_p(a)!=="body"),o=null;const s=Ka(e).position==="fixed";let i=s?Uu(e):e;for(;Ja(i)&&!oh(i);){const a=Ka(i),l=nA(i);!l&&a.position==="fixed"&&(o=null),(s?!l&&!o:!l&&a.position==="static"&&o&&["absolute","fixed"].includes(o.position)||xv(i)&&!l&&_5(e,i))?n=n.filter(c=>c!==i):o=a,i=Uu(i)}return t.set(e,n),n}function kfe(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const s=[...r==="clippingAncestors"?Dw(t)?[]:xfe(t,this._c):[].concat(r),n],i=s[0],a=s.reduce((l,c)=>{const u=jT(t,c,o);return l.top=Ni(u.top,l.top),l.right=Fu(u.right,l.right),l.bottom=Fu(u.bottom,l.bottom),l.left=Ni(u.left,l.left),l},jT(t,i,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function jfe(e){const{width:t,height:r}=x5(e);return{width:t,height:r}}function _fe(e,t,r){const n=Dl(t),o=Gl(t),s=r==="fixed",i=rp(e,!0,s,t);let a={scrollLeft:0,scrollTop:0};const l=El(0);if(n||!n&&!s)if((_p(t)!=="body"||xv(o))&&(a=Mw(t)),n){const p=rp(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&(l.x=iA(o));const c=o&&!n&&!s?j5(o,a):El(0),u=i.left+a.scrollLeft-l.x-c.x,d=i.top+a.scrollTop-l.y-c.y;return{x:u,y:d,width:i.width,height:i.height}}function Pk(e){return Ka(e).position==="static"}function _T(e,t){if(!Dl(e)||Ka(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Gl(e)===r&&(r=r.ownerDocument.body),r}function S5(e,t){const r=Vi(e);if(Dw(e))return r;if(!Dl(e)){let o=Uu(e);for(;o&&!oh(o);){if(Ja(o)&&!Pk(o))return o;o=Uu(o)}return r}let n=_T(e,t);for(;n&&pfe(n)&&Pk(n);)n=_T(n,t);return n&&oh(n)&&Pk(n)&&!nA(n)?r:n||ffe(e)||r}const Sfe=async function(e){const t=this.getOffsetParent||S5,r=this.getDimensions,n=await r(e.floating);return{reference:_fe(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function Cfe(e){return Ka(e).direction==="rtl"}const Afe={convertOffsetParentRelativeRectToViewportRelativeRect:gfe,getDocumentElement:Gl,getClippingRect:kfe,getOffsetParent:S5,getElementRects:Sfe,getClientRects:vfe,getDimensions:jfe,getScale:Df,isElement:Ja,isRTL:Cfe};function C5(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Efe(e,t){let r=null,n;const o=Gl(e);function s(){var a;clearTimeout(n),(a=r)==null||a.disconnect(),r=null}function i(a,l){a===void 0&&(a=!1),l===void 0&&(l=1),s();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(a||t(),!p||!f)return;const m=ly(d),v=ly(o.clientWidth-(u+p)),g=ly(o.clientHeight-(d+f)),y=ly(u),b={rootMargin:-m+"px "+-v+"px "+-g+"px "+-y+"px",threshold:Ni(0,Fu(1,l))||1};let w=!0;function k(x){const j=x[0].intersectionRatio;if(j!==l){if(!w)return i();j?i(!1,j):n=setTimeout(()=>{i(!1,1e-7)},1e3)}j===1&&!C5(c,e.getBoundingClientRect())&&i(),w=!1}try{r=new IntersectionObserver(k,{...b,root:o.ownerDocument})}catch{r=new IntersectionObserver(k,b)}r.observe(e)}return i(!0),s}function Ofe(e,t,r,n){n===void 0&&(n={});const{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=sA(e),u=o||s?[...c?xg(c):[],...xg(t)]:[];u.forEach(y=>{o&&y.addEventListener("scroll",r,{passive:!0}),s&&y.addEventListener("resize",r)});const d=c&&a?Efe(c,r):null;let p=-1,f=null;i&&(f=new ResizeObserver(y=>{let[b]=y;b&&b.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame(()=>{var w;(w=f)==null||w.observe(t)})),r()}),c&&!l&&f.observe(c),f.observe(t));let m,v=l?rp(e):null;l&&g();function g(){const y=rp(e);v&&!C5(v,y)&&r(),v=y,m=requestAnimationFrame(g)}return r(),()=>{var y;u.forEach(b=>{o&&b.removeEventListener("scroll",r),s&&b.removeEventListener("resize",r)}),d==null||d(),(y=f)==null||y.disconnect(),f=null,l&&cancelAnimationFrame(m)}}const $fe=lfe,Tfe=cfe,ST=sfe,Pfe=dfe,Ife=ife,Dfe=ofe,Mfe=ufe,Nfe=(e,t,r)=>{const n=new Map,o={platform:Afe,...r},s={...o.platform,_c:n};return nfe(e,t,{...o,platform:s})};function Lfe(e){return e!=null&&typeof e=="object"&&"$el"in e}function q_(e){if(Lfe(e)){const t=e.$el;return rA(t)&&_p(t)==="#comment"?null:t}return e}function df(e){return typeof e=="function"?e():S(e)}function Rfe(e){return{name:"arrow",options:e,fn(t){const r=q_(df(e.element));return r==null?{}:Dfe({element:r,padding:e.padding}).fn(t)}}}function A5(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function CT(e,t){const r=A5(e);return Math.round(t*r)/r}function Bfe(e,t,r){r===void 0&&(r={});const n=r.whileElementsMounted,o=le(()=>{var _;return(_=df(r.open))!=null?_:!0}),s=le(()=>df(r.middleware)),i=le(()=>{var _;return(_=df(r.placement))!=null?_:"bottom"}),a=le(()=>{var _;return(_=df(r.strategy))!=null?_:"absolute"}),l=le(()=>{var _;return(_=df(r.transform))!=null?_:!0}),c=le(()=>q_(e.value)),u=le(()=>q_(t.value)),d=Oe(0),p=Oe(0),f=Oe(a.value),m=Oe(i.value),v=Na({}),g=Oe(!1),y=le(()=>{const _={position:f.value,left:"0",top:"0"};if(!u.value)return _;const C=CT(u.value,d.value),A=CT(u.value,p.value);return l.value?{..._,transform:"translate("+C+"px, "+A+"px)",...A5(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:C+"px",top:A+"px"}});let b;function w(){if(c.value==null||u.value==null)return;const _=o.value;Nfe(c.value,u.value,{middleware:s.value,placement:i.value,strategy:a.value}).then(C=>{d.value=C.x,p.value=C.y,f.value=C.strategy,m.value=C.placement,v.value=C.middlewareData,g.value=_!==!1})}function k(){typeof b=="function"&&(b(),b=void 0)}function x(){if(k(),n===void 0){w();return}if(c.value!=null&&u.value!=null){b=n(c.value,u.value,w);return}}function j(){o.value||(g.value=!1)}return cr([s,i,a,o],w,{flush:"sync"}),cr([c,u],x,{flush:"sync"}),cr(o,j,{flush:"sync"}),gw()&&VN(k),{x:Sd(d),y:Sd(p),strategy:Sd(f),placement:Sd(m),middlewareData:Sd(v),isPositioned:Sd(g),floatingStyles:y,update:w}}const qfe={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[SFe,zfe]=li("PopperContent");var Ffe=Te({inheritAttrs:!1,__name:"PopperContent",props:mU({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...qfe}),emits:["placed"],setup(e,{emit:t}){const r=e,n=t,o=g5(),{forwardRef:s,currentElement:i}=Kn(),a=Oe(),l=Oe(),{width:c,height:u}=ape(l),d=le(()=>r.side+(r.align!=="center"?`-${r.align}`:"")),p=le(()=>typeof r.collisionPadding=="number"?r.collisionPadding:{top:0,right:0,bottom:0,left:0,...r.collisionPadding}),f=le(()=>Array.isArray(r.collisionBoundary)?r.collisionBoundary:[r.collisionBoundary]),m=le(()=>({padding:p.value,boundary:f.value.filter(Gpe),altBoundary:f.value.length>0})),v=le(()=>({mainAxis:r.sideFlip,crossAxis:r.alignFlip})),g=XJ(()=>[$fe({mainAxis:r.sideOffset+u.value,alignmentAxis:r.alignOffset}),r.prioritizePosition&&r.avoidCollisions&&ST({...m.value,...v.value}),r.avoidCollisions&&Tfe({mainAxis:!0,crossAxis:!!r.prioritizePosition,limiter:r.sticky==="partial"?Mfe():void 0,...m.value}),!r.prioritizePosition&&r.avoidCollisions&&ST({...m.value,...v.value}),Pfe({...m.value,apply:({elements:L,rects:F,availableWidth:z,availableHeight:N})=>{const{width:X,height:V}=F.reference,J=L.floating.style;J.setProperty("--reka-popper-available-width",`${z}px`),J.setProperty("--reka-popper-available-height",`${N}px`),J.setProperty("--reka-popper-anchor-width",`${X}px`),J.setProperty("--reka-popper-anchor-height",`${V}px`)}}),l.value&&Rfe({element:l.value,padding:r.arrowPadding}),Jpe({arrowWidth:c.value,arrowHeight:u.value}),r.hideWhenDetached&&Ife({strategy:"referenceHidden",...m.value})]),y=le(()=>r.reference??o.anchor.value),{floatingStyles:b,placement:w,isPositioned:k,middlewareData:x}=Bfe(y,a,{strategy:r.positionStrategy,placement:d,whileElementsMounted:(...L)=>Ofe(...L,{layoutShift:!r.disableUpdateOnLayoutShift,animationFrame:r.updatePositionStrategy==="always"}),middleware:g}),j=le(()=>N_(w.value)[0]),_=le(()=>N_(w.value)[1]);_h(()=>{k.value&&n("placed")});const C=le(()=>{var F;const L=((F=x.value.arrow)==null?void 0:F.centerOffset)!==0;return r.hideShiftedArrow&&L}),A=Oe("");No(()=>{i.value&&(A.value=window.getComputedStyle(i.value).zIndex)});const I=le(()=>{var L;return((L=x.value.arrow)==null?void 0:L.x)??0}),M=le(()=>{var L;return((L=x.value.arrow)==null?void 0:L.y)??0});return zfe({placedSide:j,onArrowChange:L=>l.value=L,arrowX:I,arrowY:M,shouldHideArrow:C}),(L,F)=>{var z,N,X;return E(),K("div",{ref_key:"floatingRef",ref:a,"data-reka-popper-content-wrapper":"",style:Sh({...S(b),transform:S(k)?S(b).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:A.value,"--reka-popper-transform-origin":[(z=S(x).transformOrigin)==null?void 0:z.x,(N=S(x).transformOrigin)==null?void 0:N.y].join(" "),...((X=S(x).hide)==null?void 0:X.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[ye(S(Rn),jr({ref:S(s)},L.$attrs,{"as-child":r.asChild,as:L.as,"data-side":j.value,"data-align":_.value,style:{animation:S(k)?void 0:"none"}}),{default:U(()=>[pe(L.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),E5=Ffe;function Vfe(e){const t=Pw({nonce:Oe()});return le(()=>{var r;return(e==null?void 0:e.value)||((r=t.nonce)==null?void 0:r.value)})}const[Ufe,Hfe]=li("RovingFocusGroup");var Wfe=Te({__name:"RovingFocusGroup",props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["entryFocus","update:currentTabStopId"],setup(e,{expose:t,emit:r}){const n=e,o=r,{loop:s,orientation:i,dir:a}=Uc(n),l=ZC(a),c=ca(n,"currentTabStopId",o,{defaultValue:n.defaultCurrentTabStopId,passive:n.currentTabStopId===void 0}),u=Oe(!1),d=Oe(!1),p=Oe(0),{getItems:f,CollectionSlot:m}=id({isProvider:!0});function v(y){const b=!d.value;if(y.currentTarget&&y.target===y.currentTarget&&b&&!u.value){const w=new CustomEvent(Rpe,Bpe);if(y.currentTarget.dispatchEvent(w),o("entryFocus",w),!w.defaultPrevented){const k=f().map(A=>A.ref).filter(A=>A.dataset.disabled!==""),x=k.find(A=>A.getAttribute("data-active")===""),j=k.find(A=>A.getAttribute("data-highlighted")===""),_=k.find(A=>A.id===c.value),C=[x,j,_,...k].filter(Boolean);m5(C,n.preventScrollOnEntryFocus)}}d.value=!1}function g(){setTimeout(()=>{d.value=!1},1)}return t({getItems:f}),Hfe({loop:s,dir:l,orientation:i,currentTabStopId:c,onItemFocus:y=>{c.value=y},onItemShiftTab:()=>{u.value=!0},onFocusableItemAdd:()=>{p.value++},onFocusableItemRemove:()=>{p.value--}}),(y,b)=>(E(),ve(S(m),null,{default:U(()=>[ye(S(Rn),{tabindex:u.value||p.value===0?-1:0,"data-orientation":S(i),as:y.as,"as-child":y.asChild,dir:S(l),style:{outline:"none"},onMousedown:b[0]||(b[0]=w=>d.value=!0),onMouseup:g,onFocus:v,onBlur:b[1]||(b[1]=w=>u.value=!1)},{default:U(()=>[pe(y.$slots,"default")]),_:3},8,["tabindex","data-orientation","as","as-child","dir"])]),_:3}))}}),Gfe=Wfe,Jfe=Te({__name:"RovingFocusItem",props:{tabStopId:{type:String,required:!1},focusable:{type:Boolean,required:!1,default:!0},active:{type:Boolean,required:!1},allowShiftKey:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,r=Ufe(),n=jp(),o=le(()=>t.tabStopId||n),s=le(()=>r.currentTabStopId.value===o.value),{getItems:i,CollectionItem:a}=id();Oo(()=>{t.focusable&&r.onFocusableItemAdd()}),nd(()=>{t.focusable&&r.onFocusableItemRemove()});function l(c){if(c.key==="Tab"&&c.shiftKey){r.onItemShiftTab();return}if(c.target!==c.currentTarget)return;const u=Fpe(c,r.orientation.value,r.dir.value);if(u!==void 0){if(c.metaKey||c.ctrlKey||c.altKey||!t.allowShiftKey&&c.shiftKey)return;c.preventDefault();let d=[...i().map(p=>p.ref).filter(p=>p.dataset.disabled!=="")];if(u==="last")d.reverse();else if(u==="prev"||u==="next"){u==="prev"&&d.reverse();const p=d.indexOf(c.currentTarget);d=r.loop.value?Vpe(d,p+1):d.slice(p+1)}Io(()=>m5(d))}}return(c,u)=>(E(),ve(S(a),null,{default:U(()=>[ye(S(Rn),{tabindex:s.value?0:-1,"data-orientation":S(r).orientation.value,"data-active":c.active?"":void 0,"data-disabled":c.focusable?void 0:"",as:c.as,"as-child":c.asChild,onMousedown:u[0]||(u[0]=d=>{c.focusable?S(r).onItemFocus(o.value):d.preventDefault()}),onFocus:u[1]||(u[1]=d=>S(r).onItemFocus(o.value)),onKeydown:l},{default:U(()=>[pe(c.$slots,"default")]),_:3},8,["tabindex","data-orientation","data-active","data-disabled","as","as-child"])]),_:3}))}}),O5=Jfe;const[Kfe]=li("CheckboxGroupRoot");function aA(e){return e==="indeterminate"}function $5(e){return aA(e)?"indeterminate":e?"checked":"unchecked"}const[Qfe,Zfe]=li("CheckboxRoot");var Xfe=Te({inheritAttrs:!1,__name:"CheckboxRoot",props:{defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},disabled:{type:Boolean,required:!1},value:{type:null,required:!1,default:"on"},id:{type:String,required:!1},trueValue:{type:null,required:!1,default:()=>!0},falseValue:{type:null,required:!1,default:()=>!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=t,{forwardRef:o,currentElement:s}=Kn(),i=Kfe(null),a=ca(r,"modelValue",n,{defaultValue:r.defaultValue??r.falseValue,passive:r.modelValue===void 0}),l=le(()=>(i==null?void 0:i.disabled.value)||r.disabled),c=le(()=>bg(a.value,r.trueValue)),u=le(()=>nh(i==null?void 0:i.modelValue.value)?a.value==="indeterminate"?"indeterminate":c.value:dT(i.modelValue.value,r.value));function d(){if(nh(i==null?void 0:i.modelValue.value))a.value==="indeterminate"?a.value=r.trueValue:a.value=c.value?r.falseValue:r.trueValue;else{const m=[...i.modelValue.value||[]];if(dT(m,r.value)){const v=m.findIndex(g=>bg(g,r.value));m.splice(v,1)}else m.push(r.value);i.modelValue.value=m}}const p=a5(s),f=le(()=>{var m;return r.id&&s.value?(m=document.querySelector(`[for="${r.id}"]`))==null?void 0:m.innerText:void 0});return Zfe({disabled:l,state:u}),(m,v)=>{var g,y;return E(),ve(si((g=S(i))!=null&&g.rovingFocus.value?S(O5):S(Rn)),jr(m.$attrs,{id:m.id,ref:S(o),role:"checkbox","as-child":m.asChild,as:m.as,type:m.as==="button"?"button":void 0,"aria-checked":S(aA)(u.value)?"mixed":u.value,"aria-required":m.required,"aria-label":m.$attrs["aria-label"]||f.value,"data-state":S($5)(u.value),"data-disabled":l.value?"":void 0,disabled:l.value,focusable:(y=S(i))!=null&&y.rovingFocus.value?!l.value:void 0,onKeydown:ep(la(()=>{},["prevent"]),["enter"]),onClick:d}),{default:U(()=>[pe(m.$slots,"default",{modelValue:S(a),state:u.value}),S(p)&&m.name&&!S(i)?(E(),ve(S(Lpe),{key:0,type:"checkbox",checked:!!u.value,name:m.name,value:m.value,disabled:l.value,required:m.required},null,8,["checked","name","value","disabled","required"])):je("v-if",!0)]),_:3},16,["id","as-child","as","type","aria-checked","aria-required","aria-label","data-state","data-disabled","disabled","focusable","onKeydown"])}}}),Yfe=Xfe,ehe=Te({__name:"CheckboxIndicator",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const{forwardRef:t}=Kn(),r=Qfe();return(n,o)=>(E(),ve(S(wv),{present:n.forceMount||S(aA)(S(r).state.value)||S(r).state.value===!0},{default:U(()=>[ye(S(Rn),jr({ref:S(t),"data-state":S($5)(S(r).state.value),"data-disabled":S(r).disabled.value?"":void 0,style:{pointerEvents:"none"},"as-child":n.asChild,as:n.as},n.$attrs),{default:U(()=>[pe(n.$slots,"default")]),_:3},16,["data-state","data-disabled","as-child","as"])]),_:3},8,["present"]))}}),the=ehe,rhe=Te({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(e){const t=e;return Kn(),(r,n)=>(E(),ve(S(Rn),jr(t,{onMousedown:n[0]||(n[0]=o=>{!o.defaultPrevented&&o.detail>1&&o.preventDefault()})}),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),nhe=rhe;const ohe=[" ","Enter","ArrowUp","ArrowDown"],she=[" ","Enter"],Ca=10;function kg(e,t,r){return e===void 0?!1:Array.isArray(e)?e.some(n=>z_(n,t,r)):z_(e,t,r)}function z_(e,t,r){return e===void 0||t===void 0?!1:typeof e=="string"?e===t:typeof r=="function"?r(e,t):typeof r=="string"?(e==null?void 0:e[r])===(t==null?void 0:t[r]):bg(e,t)}function ihe(e){return e==null||e===""||Array.isArray(e)&&e.length===0}const ahe={key:0,value:""},[ad,T5]=li("SelectRoot");var lhe=Te({inheritAttrs:!1,__name:"SelectRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const r=e,n=t,{required:o,disabled:s,multiple:i,dir:a}=Uc(r),l=ca(r,"modelValue",n,{defaultValue:r.defaultValue??(i.value?[]:void 0),passive:r.modelValue===void 0,deep:!0}),c=ca(r,"open",n,{defaultValue:r.defaultOpen,passive:r.open===void 0}),u=Oe(),d=Oe(),p=Oe({x:0,y:0}),f=le(()=>{var k;return i.value&&Array.isArray(l.value)?((k=l.value)==null?void 0:k.length)===0:nh(l.value)});id({isProvider:!0});const m=ZC(a),v=a5(u),g=Oe(new Set),y=le(()=>Array.from(g.value).map(k=>k.value).join(";"));function b(k){if(i.value){const x=Array.isArray(l.value)?[...l.value]:[],j=x.findIndex(_=>z_(_,k,r.by));j===-1?x.push(k):x.splice(j,1),l.value=[...x]}else l.value=k}function w(k){return Array.from(g.value).find(x=>kg(k,x.value,r.by))}return T5({triggerElement:u,onTriggerChange:k=>{u.value=k},valueElement:d,onValueElementChange:k=>{d.value=k},contentId:"",modelValue:l,onValueChange:b,by:r.by,open:c,multiple:i,required:o,onOpenChange:k=>{c.value=k},dir:m,triggerPointerDownPosRef:p,disabled:s,isEmptyModelValue:f,optionsSet:g,onOptionAdd:k=>{const x=w(k.value);x&&g.value.delete(x),g.value.add(k)},onOptionRemove:k=>{const x=w(k.value);x&&g.value.delete(x)}}),(k,x)=>(E(),ve(S(v5),null,{default:U(()=>[pe(k.$slots,"default",{modelValue:S(l),open:S(c)}),S(v)?(E(),ve(dhe,{key:y.value,"aria-hidden":"true",tabindex:"-1",multiple:S(i),required:S(o),name:k.name,autocomplete:k.autocomplete,disabled:S(s),value:S(l)},{default:U(()=>[S(nh)(S(l))?(E(),K("option",ahe)):je("v-if",!0),(E(!0),K(dt,null,zt(Array.from(g.value),j=>(E(),K("option",jr({key:j.value??""},{ref_for:!0},j),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):je("v-if",!0)]),_:3}))}}),che=lhe,uhe=Te({__name:"BubbleSelect",props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(e){const t=e,r=Oe(),n=ad();cr(()=>t.value,(s,i)=>{const a=window.HTMLSelectElement.prototype,l=Object.getOwnPropertyDescriptor(a,"value").set;if(s!==i&&l&&r.value){const c=new Event("change",{bubbles:!0});l.call(r.value,s),r.value.dispatchEvent(c)}});function o(s){n.onValueChange(s.target.value)}return(s,i)=>(E(),ve(S(XC),{"as-child":""},{default:U(()=>[ue("select",jr({ref_key:"selectElement",ref:r},t,{onInput:o}),[pe(s.$slots,"default")],16)]),_:3}))}}),dhe=uhe,phe=Te({__name:"SelectPopperPosition",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:Ca},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=Wc(e);return(r,n)=>(E(),ve(S(E5),jr(S(t),{style:{boxSizing:"border-box","--reka-select-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-select-content-available-width":"var(--reka-popper-available-width)","--reka-select-content-available-height":"var(--reka-popper-available-height)","--reka-select-trigger-width":"var(--reka-popper-anchor-width)","--reka-select-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),fhe=phe;const hhe={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[Sp,P5]=li("SelectContent");var mhe=Te({__name:"SelectContentImpl",props:{position:{type:String,required:!1,default:"item-aligned"},bodyLock:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const r=e,n=t,o=ad();Gde(),Ude(r.bodyLock);const{CollectionSlot:s,getItems:i}=id(),a=Oe();spe(a);const{search:l,handleTypeaheadSearch:c}=c5(),u=Oe(),d=Oe(),p=Oe(),f=Oe(!1),m=Oe(!1),v=Oe(!1);function g(){d.value&&a.value&&gT([d.value,a.value])}cr(f,()=>{g()});const{onOpenChange:y,triggerPointerDownPosRef:b}=o;No(j=>{if(!a.value)return;let _={x:0,y:0};const C=I=>{var M,L;_={x:Math.abs(Math.round(I.pageX)-(((M=b.value)==null?void 0:M.x)??0)),y:Math.abs(Math.round(I.pageY)-(((L=b.value)==null?void 0:L.y)??0))}},A=I=>{var M;I.pointerType!=="touch"&&(_.x<=10&&_.y<=10?I.preventDefault():(M=a.value)!=null&&M.contains(I.target)||y(!1),document.removeEventListener("pointermove",C),b.value=null)};b.value!==null&&(document.addEventListener("pointermove",C),document.addEventListener("pointerup",A,{capture:!0,once:!0})),j(()=>{document.removeEventListener("pointermove",C),document.removeEventListener("pointerup",A,{capture:!0})})});function w(j){const _=j.ctrlKey||j.altKey||j.metaKey;if(j.key==="Tab"&&j.preventDefault(),!_&&j.key.length===1&&c(j.key,i()),["ArrowUp","ArrowDown","Home","End"].includes(j.key)){let C=[...i().map(A=>A.ref)];if(["ArrowUp","End"].includes(j.key)&&(C=C.slice().reverse()),["ArrowUp","ArrowDown"].includes(j.key)){const A=j.target,I=C.indexOf(A);C=C.slice(I+1)}setTimeout(()=>gT(C)),j.preventDefault()}}const k=le(()=>r.position==="popper"?r:{}),x=Wc(k.value);return P5({content:a,viewport:u,onViewportChange:j=>{u.value=j},itemRefCallback:(j,_,C)=>{const A=!m.value&&!C,I=kg(o.modelValue.value,_,o.by);if(o.multiple.value){if(v.value)return;(I||A)&&(d.value=j,I&&(v.value=!0))}else(I||A)&&(d.value=j);A&&(m.value=!0)},selectedItem:d,selectedItemText:p,onItemLeave:()=>{var j;(j=a.value)==null||j.focus()},itemTextRefCallback:(j,_,C)=>{const A=!m.value&&!C;(kg(o.modelValue.value,_,o.by)||A)&&(p.value=j)},focusSelectedItem:g,position:r.position,isPositioned:f,searchRef:l}),(j,_)=>(E(),ve(S(s),null,{default:U(()=>[ye(S(Ppe),{"as-child":"",onMountAutoFocus:_[6]||(_[6]=la(()=>{},["prevent"])),onUnmountAutoFocus:_[7]||(_[7]=C=>{var A;n("closeAutoFocus",C),!C.defaultPrevented&&((A=S(o).triggerElement.value)==null||A.focus({preventScroll:!0}),C.preventDefault())})},{default:U(()=>[ye(S(p5),{"as-child":"","disable-outside-pointer-events":j.disableOutsidePointerEvents,onFocusOutside:_[2]||(_[2]=la(()=>{},["prevent"])),onDismiss:_[3]||(_[3]=C=>S(o).onOpenChange(!1)),onEscapeKeyDown:_[4]||(_[4]=C=>n("escapeKeyDown",C)),onPointerDownOutside:_[5]||(_[5]=C=>n("pointerDownOutside",C))},{default:U(()=>[(E(),ve(si(j.position==="popper"?fhe:bhe),jr({...j.$attrs,...S(x)},{id:S(o).contentId,ref:C=>{const A=S(Ga)(C);A!=null&&A.hasAttribute("data-reka-popper-content-wrapper")?a.value=A.firstElementChild:a.value=A},role:"listbox","data-state":S(o).open.value?"open":"closed",dir:S(o).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:_[0]||(_[0]=la(()=>{},["prevent"])),onPlaced:_[1]||(_[1]=C=>f.value=!0),onKeydown:w}),{default:U(()=>[pe(j.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3})]),_:3}))}}),ghe=mhe;const[lA,vhe]=li("SelectItemAlignedPosition");var yhe=Te({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["placed"],setup(e,{emit:t}){const r=e,n=t,{getItems:o}=id(),s=ad(),i=Sp(),a=Oe(!1),l=Oe(!0),c=Oe(),{forwardRef:u,currentElement:d}=Kn(),{viewport:p,selectedItem:f,selectedItemText:m,focusSelectedItem:v}=i;function g(){if(s.triggerElement.value&&s.valueElement.value&&c.value&&d.value&&(p!=null&&p.value)&&(f!=null&&f.value)&&(m!=null&&m.value)){const w=s.triggerElement.value.getBoundingClientRect(),k=d.value.getBoundingClientRect(),x=s.valueElement.value.getBoundingClientRect(),j=m.value.getBoundingClientRect();if(s.dir.value!=="rtl"){const Z=j.left-k.left,Se=x.left-Z,ie=w.left-Se,re=w.width+ie,xe=Math.max(re,k.width),R=window.innerWidth-Ca,te=uT(Se,Ca,Math.max(Ca,R-xe));c.value.style.minWidth=`${re}px`,c.value.style.left=`${te}px`}else{const Z=k.right-j.right,Se=window.innerWidth-x.right-Z,ie=window.innerWidth-w.right-Se,re=w.width+ie,xe=Math.max(re,k.width),R=window.innerWidth-Ca,te=uT(Se,Ca,Math.max(Ca,R-xe));c.value.style.minWidth=`${re}px`,c.value.style.right=`${te}px`}const _=o().map(Z=>Z.ref),C=window.innerHeight-Ca*2,A=p.value.scrollHeight,I=window.getComputedStyle(d.value),M=Number.parseInt(I.borderTopWidth,10),L=Number.parseInt(I.paddingTop,10),F=Number.parseInt(I.borderBottomWidth,10),z=Number.parseInt(I.paddingBottom,10),N=M+L+A+z+F,X=Math.min(f.value.offsetHeight*5,N),V=window.getComputedStyle(p.value),J=Number.parseInt(V.paddingTop,10),oe=Number.parseInt(V.paddingBottom,10),H=w.top+w.height/2-Ca,B=C-H,se=f.value.offsetHeight/2,q=f.value.offsetTop+se,O=M+L+q,D=N-O;if(O<=H){const Z=f.value===_[_.length-1];c.value.style.bottom="0px";const Se=d.value.clientHeight-p.value.offsetTop-p.value.offsetHeight,ie=Math.max(B,se+(Z?oe:0)+Se+F),re=O+ie;c.value.style.height=`${re}px`}else{const Z=f.value===_[0];c.value.style.top="0px";const Se=Math.max(H,M+p.value.offsetTop+(Z?J:0)+se)+D;c.value.style.height=`${Se}px`,p.value.scrollTop=O-H+p.value.offsetTop}c.value.style.margin=`${Ca}px 0`,c.value.style.minHeight=`${X}px`,c.value.style.maxHeight=`${C}px`,n("placed"),requestAnimationFrame(()=>a.value=!0)}}const y=Oe("");Oo(async()=>{await Io(),g(),d.value&&(y.value=window.getComputedStyle(d.value).zIndex)});function b(w){w&&l.value===!0&&(g(),v==null||v(),l.value=!1)}return cL(s.triggerElement,()=>{g()}),vhe({contentWrapper:c,shouldExpandOnScrollRef:a,onScrollButtonChange:b}),(w,k)=>(E(),K("div",{ref_key:"contentWrapperElement",ref:c,style:Sh({display:"flex",flexDirection:"column",position:"fixed",zIndex:y.value})},[ye(S(Rn),jr({ref:S(u),style:{boxSizing:"border-box",maxHeight:"100%"}},{...w.$attrs,...r}),{default:U(()=>[pe(w.$slots,"default")]),_:3},16)],4))}}),bhe=yhe,whe=Te({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(e){return T5(e.context),P5(hhe),(t,r)=>pe(t.$slots,"default")}}),xhe=whe;const khe={key:1};var jhe=Te({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const r=e,n=Gc(r,t),o=ad(),s=Oe();Oo(()=>{s.value=new DocumentFragment});const i=Oe(),a=le(()=>r.forceMount||o.open.value),l=Oe(a.value);return cr(a,()=>{setTimeout(()=>l.value=a.value)}),(c,u)=>{var d;return a.value||l.value||(d=i.value)!=null&&d.present?(E(),ve(S(wv),{key:0,ref_key:"presenceRef",ref:i,present:a.value},{default:U(()=>[ye(ghe,Mn(Nn({...S(n),...c.$attrs})),{default:U(()=>[pe(c.$slots,"default")]),_:3},16)]),_:3},8,["present"])):s.value?(E(),K("div",khe,[(E(),ve(GN,{to:s.value},[ye(xhe,{context:S(o)},{default:U(()=>[pe(c.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):je("v-if",!0)}}}),_he=jhe;const[CFe,She]=li("SelectGroup");var Che=Te({__name:"SelectGroup",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,r=jp(void 0,"reka-select-group");return She({id:r}),(n,o)=>(E(),ve(S(Rn),jr({role:"group"},t,{"aria-labelledby":S(r)}),{default:U(()=>[pe(n.$slots,"default")]),_:3},16,["aria-labelledby"]))}}),Ahe=Che,Ehe=Te({__name:"SelectIcon",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){return(t,r)=>(E(),ve(S(Rn),{"aria-hidden":"true",as:t.as,"as-child":t.asChild},{default:U(()=>[pe(t.$slots,"default",{},()=>[r[0]||(r[0]=Vt("▼"))])]),_:3},8,["as","as-child"]))}}),Ohe=Ehe;const[I5,$he]=li("SelectItem");var The=Te({__name:"SelectItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(e,{emit:t}){const r=e,n=t,{disabled:o}=Uc(r),s=ad(),i=Sp(),{forwardRef:a,currentElement:l}=Kn(),{CollectionItem:c}=id(),u=le(()=>{var k;return kg((k=s.modelValue)==null?void 0:k.value,r.value,s.by)}),d=Oe(!1),p=Oe(r.textValue??""),f=jp(void 0,"reka-select-item-text"),m="select.select";async function v(k){if(k.defaultPrevented)return;const x={originalEvent:k,value:r.value};KC(m,g,x)}async function g(k){await Io(),n("select",k),!k.defaultPrevented&&(o.value||(s.onValueChange(r.value),s.multiple.value||s.onOpenChange(!1)))}async function y(k){var x,j;await Io(),!k.defaultPrevented&&(o.value?(x=i.onItemLeave)==null||x.call(i):(j=k.currentTarget)==null||j.focus({preventScroll:!0}))}async function b(k){var x;await Io(),!k.defaultPrevented&&k.currentTarget===Fi()&&((x=i.onItemLeave)==null||x.call(i))}async function w(k){var x;await Io(),!(k.defaultPrevented||((x=i.searchRef)==null?void 0:x.value)!==""&&k.key===" ")&&(she.includes(k.key)&&v(k),k.key===" "&&k.preventDefault())}if(r.value==="")throw new Error("A must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return Oo(()=>{l.value&&i.itemRefCallback(l.value,r.value,r.disabled)}),$he({value:r.value,disabled:o,textId:f,isSelected:u,onItemTextChange:k=>{p.value=((p.value||(k==null?void 0:k.textContent))??"").trim()}}),(k,x)=>(E(),ve(S(c),{value:{textValue:p.value}},{default:U(()=>[ye(S(Rn),{ref:S(a),role:"option","aria-labelledby":S(f),"data-highlighted":d.value?"":void 0,"aria-selected":u.value,"data-state":u.value?"checked":"unchecked","aria-disabled":S(o)||void 0,"data-disabled":S(o)?"":void 0,tabindex:S(o)?void 0:-1,as:k.as,"as-child":k.asChild,onFocus:x[0]||(x[0]=j=>d.value=!0),onBlur:x[1]||(x[1]=j=>d.value=!1),onPointerup:v,onPointerdown:x[2]||(x[2]=j=>{j.currentTarget.focus({preventScroll:!0})}),onTouchend:x[3]||(x[3]=la(()=>{},["prevent","stop"])),onPointermove:y,onPointerleave:b,onKeydown:w},{default:U(()=>[pe(k.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),Phe=The,Ihe=Te({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,r=I5();return(n,o)=>S(r).isSelected.value?(E(),ve(S(Rn),jr({key:0,"aria-hidden":"true"},t),{default:U(()=>[pe(n.$slots,"default")]),_:3},16)):je("v-if",!0)}}),Dhe=Ihe,Mhe=Te({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,r=ad(),n=Sp(),o=I5(),{forwardRef:s,currentElement:i}=Kn(),a=le(()=>{var l,c;return{value:o.value,disabled:o.disabled.value,textContent:((l=i.value)==null?void 0:l.textContent)??((c=o.value)==null?void 0:c.toString())??""}});return Oo(()=>{i.value&&(o.onItemTextChange(i.value),n.itemTextRefCallback(i.value,o.value,o.disabled.value),r.onOptionAdd(a.value))}),nd(()=>{r.onOptionRemove(a.value)}),(l,c)=>(E(),ve(S(Rn),jr({id:S(o).textId,ref:S(s)},{...t,...l.$attrs}),{default:U(()=>[pe(l.$slots,"default")]),_:3},16,["id"]))}}),Nhe=Mhe,Lhe=Te({__name:"SelectPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(r,n)=>(E(),ve(S(h5),Mn(Nn(t)),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),Rhe=Lhe,Bhe=Te({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(e,{emit:t}){const r=t,{getItems:n}=id(),o=Sp(),s=Oe(null);function i(){s.value!==null&&(window.clearInterval(s.value),s.value=null)}No(()=>{var c;(c=n().map(u=>u.ref).find(u=>u===Fi()))==null||c.scrollIntoView({block:"nearest"})});function a(){s.value===null&&(s.value=window.setInterval(()=>{r("autoScroll")},50))}function l(){var c;(c=o.onItemLeave)==null||c.call(o),s.value===null&&(s.value=window.setInterval(()=>{r("autoScroll")},50))}return Ch(()=>i()),(c,u)=>{var d;return E(),ve(S(Rn),jr({"aria-hidden":"true",style:{flexShrink:0}},(d=c.$parent)==null?void 0:d.$props,{onPointerdown:a,onPointermove:l,onPointerleave:u[0]||(u[0]=()=>{i()})}),{default:U(()=>[pe(c.$slots,"default")]),_:3},16)}}}),D5=Bhe,qhe=Te({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=Sp(),r=t.position==="item-aligned"?lA():void 0,{forwardRef:n,currentElement:o}=Kn(),s=Oe(!1);return No(i=>{var a,l;if((a=t.viewport)!=null&&a.value&&((l=t.isPositioned)!=null&&l.value)){let c=function(){const d=u.scrollHeight-u.clientHeight;s.value=Math.ceil(u.scrollTop)u.removeEventListener("scroll",c))}}),cr(o,()=>{o.value&&(r==null||r.onScrollButtonChange(o.value))}),(i,a)=>s.value?(E(),ve(D5,{key:0,ref:S(n),onAutoScroll:a[0]||(a[0]=()=>{const{viewport:l,selectedItem:c}=S(t);l!=null&&l.value&&(c!=null&&c.value)&&(l.value.scrollTop=l.value.scrollTop+c.value.offsetHeight)})},{default:U(()=>[pe(i.$slots,"default")]),_:3},512)):je("v-if",!0)}}),zhe=qhe,Fhe=Te({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=Sp(),r=t.position==="item-aligned"?lA():void 0,{forwardRef:n,currentElement:o}=Kn(),s=Oe(!1);return No(i=>{var a,l;if((a=t.viewport)!=null&&a.value&&((l=t.isPositioned)!=null&&l.value)){let c=function(){s.value=u.scrollTop>0};const u=t.viewport.value;c(),u.addEventListener("scroll",c),i(()=>u.removeEventListener("scroll",c))}}),cr(o,()=>{o.value&&(r==null||r.onScrollButtonChange(o.value))}),(i,a)=>s.value?(E(),ve(D5,{key:0,ref:S(n),onAutoScroll:a[0]||(a[0]=()=>{const{viewport:l,selectedItem:c}=S(t);l!=null&&l.value&&(c!=null&&c.value)&&(l.value.scrollTop=l.value.scrollTop-c.value.offsetHeight)})},{default:U(()=>[pe(i.$slots,"default")]),_:3},512)):je("v-if",!0)}}),Vhe=Fhe,Uhe=Te({__name:"SelectTrigger",props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,r=ad(),{forwardRef:n,currentElement:o}=Kn(),s=le(()=>{var p;return((p=r.disabled)==null?void 0:p.value)||t.disabled});r.contentId||(r.contentId=jp(void 0,"reka-select-content")),Oo(()=>{r.onTriggerChange(o.value)});const{getItems:i}=id(),{search:a,handleTypeaheadSearch:l,resetTypeahead:c}=c5();function u(){s.value||(r.onOpenChange(!0),c())}function d(p){u(),r.triggerPointerDownPosRef.value={x:Math.round(p.pageX),y:Math.round(p.pageY)}}return(p,f)=>(E(),ve(S(y5),{"as-child":"",reference:p.reference},{default:U(()=>{var m,v,g,y;return[ye(S(Rn),{ref:S(n),role:"combobox",type:p.as==="button"?"button":void 0,"aria-controls":S(r).contentId,"aria-expanded":S(r).open.value||!1,"aria-required":(m=S(r).required)==null?void 0:m.value,"aria-autocomplete":"none",disabled:s.value,dir:(v=S(r))==null?void 0:v.dir.value,"data-state":(g=S(r))!=null&&g.open.value?"open":"closed","data-disabled":s.value?"":void 0,"data-placeholder":S(ihe)((y=S(r).modelValue)==null?void 0:y.value)?"":void 0,"as-child":p.asChild,as:p.as,onClick:f[0]||(f[0]=b=>{var w;(w=b==null?void 0:b.currentTarget)==null||w.focus()}),onPointerdown:f[1]||(f[1]=b=>{if(b.pointerType==="touch")return b.preventDefault();const w=b.target;w.hasPointerCapture(b.pointerId)&&w.releasePointerCapture(b.pointerId),b.button===0&&b.ctrlKey===!1&&(d(b),b.preventDefault())}),onPointerup:f[2]||(f[2]=la(b=>{b.pointerType==="touch"&&d(b)},["prevent"])),onKeydown:f[3]||(f[3]=b=>{const w=S(a)!=="";!(b.ctrlKey||b.altKey||b.metaKey)&&b.key.length===1&&w&&b.key===" "||(S(l)(b.key,S(i)()),S(ohe).includes(b.key)&&(u(),b.preventDefault()))})},{default:U(()=>[pe(p.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3},8,["reference"]))}}),Hhe=Uhe,Whe=Te({__name:"SelectValue",props:{placeholder:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(e){const t=e,{forwardRef:r,currentElement:n}=Kn(),o=ad();Oo(()=>{o.valueElement=n});const s=le(()=>{var u;let a=[];const l=Array.from(o.optionsSet.value),c=d=>l.find(p=>kg(d,p.value,o.by));return Array.isArray(o.modelValue.value)?a=o.modelValue.value.map(d=>{var p;return((p=c(d))==null?void 0:p.textContent)??""}):a=[((u=c(o.modelValue.value))==null?void 0:u.textContent)??""],a.filter(Boolean)}),i=le(()=>s.value.length?s.value.join(", "):t.placeholder);return(a,l)=>(E(),ve(S(Rn),{ref:S(r),as:a.as,"as-child":a.asChild,style:{pointerEvents:"none"},"data-placeholder":s.value.length?void 0:t.placeholder},{default:U(()=>[pe(a.$slots,"default",{selectedLabel:s.value,modelValue:S(o).modelValue.value},()=>[Vt(ze(i.value),1)])]),_:3},8,["as","as-child","data-placeholder"]))}}),Ghe=Whe,Jhe=Te({__name:"SelectViewport",props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{nonce:r}=Uc(t),n=Vfe(r),o=Sp(),s=o.position==="item-aligned"?lA():void 0,{forwardRef:i,currentElement:a}=Kn();Oo(()=>{o==null||o.onViewportChange(a.value)});const l=Oe(0);function c(u){const d=u.currentTarget,{shouldExpandOnScrollRef:p,contentWrapper:f}=s??{};if(p!=null&&p.value&&(f!=null&&f.value)){const m=Math.abs(l.value-d.scrollTop);if(m>0){const v=window.innerHeight-Ca*2,g=Number.parseFloat(f.value.style.minHeight),y=Number.parseFloat(f.value.style.height),b=Math.max(g,y);if(b0?x:0,f.value.style.justifyContent="flex-end")}}}l.value=d.scrollTop}return(u,d)=>(E(),K(dt,null,[ye(S(Rn),jr({ref:S(i),"data-reka-select-viewport":"",role:"presentation"},{...u.$attrs,...t},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:c}),{default:U(()=>[pe(u.$slots,"default")]),_:3},16),ye(S(Rn),{as:"style",nonce:S(n)},{default:U(()=>d[0]||(d[0]=[Vt(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),_:1,__:[0]},8,["nonce"])],64))}}),Khe=Jhe;const[Nw,Qhe]=li("TabsRoot");var Zhe=Te({__name:"TabsRoot",props:{defaultValue:{type:null,required:!1},orientation:{type:String,required:!1,default:"horizontal"},dir:{type:String,required:!1},activationMode:{type:String,required:!1,default:"automatic"},modelValue:{type:null,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=t,{orientation:o,unmountOnHide:s,dir:i}=Uc(r),a=ZC(i);Kn();const l=ca(r,"modelValue",n,{defaultValue:r.defaultValue,passive:r.modelValue===void 0}),c=Oe(),u=Na(new Set);return Qhe({modelValue:l,changeModelValue:d=>{l.value=d},orientation:o,dir:a,unmountOnHide:s,activationMode:r.activationMode,baseId:jp(void 0,"reka-tabs"),tabsList:c,contentIds:u,registerContent:d=>{u.value=new Set([...u.value,d])},unregisterContent:d=>{const p=new Set(u.value);p.delete(d),u.value=p}}),(d,p)=>(E(),ve(S(Rn),{dir:S(a),"data-orientation":S(o),"as-child":d.asChild,as:d.as},{default:U(()=>[pe(d.$slots,"default",{modelValue:S(l)})]),_:3},8,["dir","data-orientation","as-child","as"]))}}),Xhe=Zhe;function M5(e,t){return`${e}-trigger-${t}`}function N5(e,t){return`${e}-content-${t}`}var Yhe=Te({__name:"TabsContent",props:{value:{type:[String,Number],required:!0},forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{forwardRef:r}=Kn(),n=Nw(),o=le(()=>M5(n.baseId,t.value)),s=le(()=>N5(n.baseId,t.value)),i=le(()=>t.value===n.modelValue.value),a=Oe(i.value);return Oo(()=>{n.registerContent(t.value),requestAnimationFrame(()=>{a.value=!1})}),Ch(()=>{n.unregisterContent(t.value)}),(l,c)=>(E(),ve(S(wv),{present:l.forceMount||i.value,"force-mount":""},{default:U(({present:u})=>[ye(S(Rn),{id:s.value,ref:S(r),"as-child":l.asChild,as:l.as,role:"tabpanel","data-state":i.value?"active":"inactive","data-orientation":S(n).orientation.value,"aria-labelledby":o.value,hidden:!u,tabindex:"0",style:Sh({animationDuration:a.value?"0s":void 0})},{default:U(()=>[!S(n).unmountOnHide.value||u?pe(l.$slots,"default",{key:0}):je("v-if",!0)]),_:2},1032,["id","as-child","as","data-state","data-orientation","aria-labelledby","hidden","style"])]),_:3},8,["present"]))}}),eme=Yhe,tme=Te({__name:"TabsIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e,{expose:t}){const r=e,n=Nw();t({updateIndicatorStyle:i}),Kn();const o=Oe({size:null,position:null}),s=Oe([]);cr(()=>[n.modelValue.value,n==null?void 0:n.dir.value],()=>{i()},{immediate:!0,flush:"post"}),_h(()=>{var a;s.value=Array.from(((a=n.tabsList.value)==null?void 0:a.querySelectorAll('[role="tab"]'))||[])}),cL(le(()=>[n.tabsList.value,...s.value]),i);function i(){var l;const a=(l=n.tabsList.value)==null?void 0:l.querySelector('[role="tab"][data-state="active"]');a&&(n.orientation.value==="horizontal"?o.value={size:a.offsetWidth,position:a.offsetLeft}:o.value={size:a.offsetHeight,position:a.offsetTop})}return(a,l)=>typeof o.value.size=="number"?(E(),ve(S(Rn),jr({key:0},r,{style:{"--reka-tabs-indicator-size":`${o.value.size}px`,"--reka-tabs-indicator-position":`${o.value.position}px`}}),{default:U(()=>[pe(a.$slots,"default")]),_:3},16,["style"])):je("v-if",!0)}}),rme=tme,nme=Te({__name:"TabsList",props:{loop:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){const t=e,{loop:r}=Uc(t),{forwardRef:n,currentElement:o}=Kn(),s=Nw();return s.tabsList=o,(i,a)=>(E(),ve(S(Gfe),{"as-child":"",orientation:S(s).orientation.value,dir:S(s).dir.value,loop:S(r)},{default:U(()=>[ye(S(Rn),{ref:S(n),role:"tablist","as-child":i.asChild,as:i.as,"aria-orientation":S(s).orientation.value},{default:U(()=>[pe(i.$slots,"default")]),_:3},8,["as-child","as","aria-orientation"])]),_:3},8,["orientation","dir","loop"]))}}),ome=nme,sme=Te({__name:"TabsTrigger",props:{value:{type:[String,Number],required:!0},disabled:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,{forwardRef:r}=Kn(),n=Nw(),o=le(()=>M5(n.baseId,t.value)),s=le(()=>n.contentIds.value.has(t.value)?N5(n.baseId,t.value):void 0),i=le(()=>t.value===n.modelValue.value);return(a,l)=>(E(),ve(S(O5),{"as-child":"",focusable:!a.disabled,active:i.value},{default:U(()=>[ye(S(Rn),{id:o.value,ref:S(r),role:"tab",type:a.as==="button"?"button":void 0,as:a.as,"as-child":a.asChild,"aria-selected":i.value?"true":"false","aria-controls":s.value,"data-state":i.value?"active":"inactive",disabled:a.disabled,"data-disabled":a.disabled?"":void 0,"data-orientation":S(n).orientation.value,onMousedown:l[0]||(l[0]=la(c=>{!a.disabled&&c.ctrlKey===!1?S(n).changeModelValue(a.value):c.preventDefault()},["left"])),onKeydown:l[1]||(l[1]=ep(c=>S(n).changeModelValue(a.value),["enter","space"])),onFocus:l[2]||(l[2]=()=>{const c=S(n).activationMode!=="manual";!i.value&&!a.disabled&&c&&S(n).changeModelValue(a.value)})},{default:U(()=>[pe(a.$slots,"default")]),_:3},8,["id","type","as","as-child","aria-selected","aria-controls","data-state","disabled","data-disabled","data-orientation"])]),_:3},8,["focusable","active"]))}}),ime=sme;const[Lw,ame]=li("TooltipProvider");var lme=Te({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1},content:{type:Object,required:!1}},setup(e){const t=e,{delayDuration:r,skipDelayDuration:n,disableHoverableContent:o,disableClosingTrigger:s,ignoreNonKeyboardFocus:i,disabled:a,content:l}=Uc(t);Kn();const c=Oe(!0),u=Oe(!1),{start:d,stop:p}=sL(()=>{c.value=!0},n,{immediate:!1});return ame({isOpenDelayed:c,delayDuration:r,onOpen(){p(),c.value=!1},onClose(){d()},isPointerInTransitRef:u,disableHoverableContent:o,disableClosingTrigger:s,disabled:a,ignoreNonKeyboardFocus:i,content:l}),(f,m)=>pe(f.$slots,"default")}}),cme=lme;const L5="tooltip.open",[Rw,ume]=li("TooltipRoot");var dme=Te({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(e,{emit:t}){const r=e,n=t;Kn();const o=Lw(),s=le(()=>r.disableHoverableContent??o.disableHoverableContent.value),i=le(()=>r.disableClosingTrigger??o.disableClosingTrigger.value),a=le(()=>r.disabled??o.disabled.value),l=le(()=>r.delayDuration??o.delayDuration.value),c=le(()=>r.ignoreNonKeyboardFocus??o.ignoreNonKeyboardFocus.value),u=ca(r,"open",n,{defaultValue:r.defaultOpen,passive:r.open===void 0});cr(u,w=>{o.onClose&&(w?(o.onOpen(),document.dispatchEvent(new CustomEvent(L5))):o.onClose())});const d=Oe(!1),p=Oe(),f=le(()=>u.value?d.value?"delayed-open":"instant-open":"closed"),{start:m,stop:v}=sL(()=>{d.value=!0,u.value=!0},l,{immediate:!1});function g(){v(),d.value=!1,u.value=!0}function y(){v(),u.value=!1}function b(){m()}return ume({contentId:"",open:u,stateAttribute:f,trigger:p,onTriggerChange(w){p.value=w},onTriggerEnter(){o.isOpenDelayed.value?b():g()},onTriggerLeave(){s.value?y():v()},onOpen:g,onClose:y,disableHoverableContent:s,disableClosingTrigger:i,disabled:a,ignoreNonKeyboardFocus:c}),(w,k)=>(E(),ve(S(v5),null,{default:U(()=>[pe(w.$slots,"default",{open:S(u)})]),_:3}))}}),pme=dme,fme=Te({__name:"TooltipContentImpl",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1,default:void 0},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:void 0},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1,default:void 0},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const r=e,n=t,o=Rw(),s=Lw(),{forwardRef:i,currentElement:a}=Kn(),l=le(()=>{var u;return r.ariaLabel||((u=a.value)==null?void 0:u.textContent)}),c=le(()=>{const{ariaLabel:u,...d}=r;return s5(d,s.content.value??{},{side:"top",sideOffset:0,align:"center",avoidCollisions:!0,collisionBoundary:[],collisionPadding:0,arrowPadding:0,sticky:"partial",hideWhenDetached:!1})});return Oo(()=>{Ru(window,"scroll",u=>{var d;(d=u.target)!=null&&d.contains(o.trigger.value)&&o.onClose()}),Ru(window,L5,o.onClose)}),(u,d)=>(E(),ve(S(p5),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:d[0]||(d[0]=p=>n("escapeKeyDown",p)),onPointerDownOutside:d[1]||(d[1]=p=>{var f;S(o).disableClosingTrigger.value&&((f=S(o).trigger.value)!=null&&f.contains(p.target))&&p.preventDefault(),n("pointerDownOutside",p)}),onFocusOutside:d[2]||(d[2]=la(()=>{},["prevent"])),onDismiss:d[3]||(d[3]=p=>S(o).onClose())},{default:U(()=>[ye(S(E5),jr({ref:S(i),"data-state":S(o).stateAttribute.value},{...u.$attrs,...c.value},{style:{"--reka-tooltip-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-tooltip-content-available-width":"var(--reka-popper-available-width)","--reka-tooltip-content-available-height":"var(--reka-popper-available-height)","--reka-tooltip-trigger-width":"var(--reka-popper-anchor-width)","--reka-tooltip-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:U(()=>[pe(u.$slots,"default"),ye(S(XC),{id:S(o).contentId,role:"tooltip"},{default:U(()=>[Vt(ze(l.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),R5=fme,hme=Te({__name:"TooltipContentHoverable",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(e){const t=Wc(e),{forwardRef:r,currentElement:n}=Kn(),{trigger:o,onClose:s}=Rw(),i=Lw(),{isPointerInTransit:a,onPointerExit:l}=Jde(o,n);return i.isPointerInTransitRef=a,l(()=>{s()}),(c,u)=>(E(),ve(R5,jr({ref:S(r)},S(t)),{default:U(()=>[pe(c.$slots,"default")]),_:3},16))}}),mme=hme,gme=Te({__name:"TooltipContent",props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const r=e,n=t,o=Rw(),s=Gc(r,n),{forwardRef:i}=Kn();return(a,l)=>(E(),ve(S(wv),{present:a.forceMount||S(o).open.value},{default:U(()=>[(E(),ve(si(S(o).disableHoverableContent.value?R5:mme),jr({ref:S(i)},S(s)),{default:U(()=>[pe(a.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),vme=gme,yme=Te({__name:"TooltipPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(e){const t=e;return(r,n)=>(E(),ve(S(h5),Mn(Nn(t)),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),bme=yme,wme=Te({__name:"TooltipTrigger",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(e){const t=e,r=Rw(),n=Lw();r.contentId||(r.contentId=jp(void 0,"reka-tooltip-content"));const{forwardRef:o,currentElement:s}=Kn(),i=Oe(!1),a=Oe(!1),l=le(()=>r.disabled.value?{}:{click:v,focus:f,pointermove:d,pointerleave:p,pointerdown:u,blur:m});Oo(()=>{r.onTriggerChange(s.value)});function c(){setTimeout(()=>{i.value=!1},1)}function u(){r.open&&!r.disableClosingTrigger.value&&r.onClose(),i.value=!0,document.addEventListener("pointerup",c,{once:!0})}function d(g){g.pointerType!=="touch"&&!a.value&&!n.isPointerInTransitRef.value&&(r.onTriggerEnter(),a.value=!0)}function p(){r.onTriggerLeave(),a.value=!1}function f(g){var y,b;i.value||r.ignoreNonKeyboardFocus.value&&!((b=(y=g.target).matches)!=null&&b.call(y,":focus-visible"))||r.onOpen()}function m(){r.onClose()}function v(){r.disableClosingTrigger.value||r.onClose()}return(g,y)=>(E(),ve(S(y5),{"as-child":"",reference:g.reference},{default:U(()=>[ye(S(Rn),jr({ref:S(o),"aria-describedby":S(r).open.value?S(r).contentId:void 0,"data-state":S(r).stateAttribute.value,as:g.as,"as-child":t.asChild,"data-grace-area-trigger":""},qN(l.value)),{default:U(()=>[pe(g.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3},8,["reference"]))}}),xme=wme;const Cp=Te({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},by:{type:[String,Function]},dir:{},multiple:{type:Boolean},autocomplete:{},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(e,{emit:t}){const r=Gc(e,t);return(n,o)=>(E(),ve(S(che),Mn(Nn(S(r))),{default:U(()=>[pe(n.$slots,"default")]),_:3},16))}}),Ap=Te({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean,default:!1},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const r=e,n=t,o=le(()=>{const{class:i,...a}=r;return a}),s=Gc(o,n);return(i,a)=>(E(),ve(S(Rhe),null,{default:U(()=>[ye(S(_he),jr({...S(s),...i.$attrs},{class:S(Ko)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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",e.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r.class)}),{default:U(()=>[ye(S(Pme)),ye(S(Khe),{class:Nt(S(Ko)("p-1",e.position==="popper"&&"h-[--reka-select-trigger-height] w-full min-w-[--reka-select-trigger-width]"))},{default:U(()=>[pe(i.$slots,"default")]),_:3},8,["class"]),ye(S(Tme))]),_:3},16,["class"])]),_:3}))}}),Ep=Te({__name:"SelectGroup",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:n,...o}=t;return o});return(n,o)=>(E(),ve(S(Ahe),jr({class:S(Ko)("p-1 w-full",t.class)},r.value),{default:U(()=>[pe(n.$slots,"default")]),_:3},16,["class"]))}}),kme=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},AT=e=>e==="",jme=(...e)=>e.filter((t,r,n)=>!!t&&t.trim()!==""&&n.indexOf(t)===r).join(" ").trim(),ET=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),_me=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,n)=>n?n.toUpperCase():r.toLowerCase()),Sme=e=>{const t=_me(e);return t.charAt(0).toUpperCase()+t.slice(1)};var im={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};const Cme=({name:e,iconNode:t,absoluteStrokeWidth:r,"absolute-stroke-width":n,strokeWidth:o,"stroke-width":s,size:i=im.width,color:a=im.stroke,...l},{slots:c})=>_l("svg",{...im,...l,width:i,height:i,stroke:a,"stroke-width":AT(r)||AT(n)||r===!0||n===!0?Number(o||s||im["stroke-width"])*24/Number(i):o||s||im["stroke-width"],class:jme("lucide",l.class,...e?[`lucide-${ET(Sme(e))}-icon`,`lucide-${ET(e)}`]:["lucide-icon"]),...!c.default&&!kme(l)&&{"aria-hidden":"true"}},[...t.map(u=>_l(...u)),...c.default?[c.default()]:[]]),Op=(e,t)=>(r,{slots:n,attrs:o})=>_l(Cme,{...o,...r,iconNode:t,name:e},n),B5=Op("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),cA=Op("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),OT=Op("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),q5=Op("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),Ame=Op("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]),Eme=Op("minimize-2",[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]]),Ome=Op("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),$me={class:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center"},$p=Te({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:o,...s}=t;return s}),n=Wc(r);return(o,s)=>(E(),ve(S(Phe),jr(S(n),{class:S(Ko)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",t.class)}),{default:U(()=>[ue("span",$me,[ye(S(Dhe),null,{default:U(()=>[ye(S(B5),{class:"h-4 w-4"})]),_:1})]),ye(S(Nhe),null,{default:U(()=>[pe(o.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),Tme=Te({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:o,...s}=t;return s}),n=Wc(r);return(o,s)=>(E(),ve(S(zhe),jr(S(n),{class:S(Ko)("flex cursor-default items-center justify-center py-1",t.class)}),{default:U(()=>[pe(o.$slots,"default",{},()=>[ye(S(cA),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),Pme=Te({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:o,...s}=t;return s}),n=Wc(r);return(o,s)=>(E(),ve(S(Vhe),jr(S(n),{class:S(Ko)("flex cursor-default items-center justify-center py-1",t.class)}),{default:U(()=>[pe(o.$slots,"default",{},()=>[ye(S(q5),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),Tp=Te({__name:"SelectTrigger",props:{disabled:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:o,...s}=t;return s}),n=Wc(r);return(o,s)=>(E(),ve(S(Hhe),jr(S(n),{class:S(Ko)("flex h-10 w-full items-center justify-between rounded-md border border-input bg-muted px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1",t.class)}),{default:U(()=>[pe(o.$slots,"default"),ye(S(Ohe),{"as-child":""},{default:U(()=>[ye(S(cA),{class:"w-4 h-4 opacity-50"})]),_:1})]),_:3},16,["class"]))}}),$h=Te({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(r,n)=>(E(),ve(S(Ghe),Mn(Nn(t)),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),Ime={class:"self-center"},Dme={__name:"OALocaleSelect",setup(e){const t=kn(),r=t.getI18nConfig(),n=le(()=>{var s;return((s=r.locale)==null?void 0:s.value)??"en"});function o(s){t.setI18nConfig({locale:s})}return(s,i)=>(E(),K("div",Ime,[ye(S(Cp),{"default-value":n.value,value:S(r).locale.value,"onUpdate:modelValue":o},{default:U(()=>[ye(S(Tp),{"aria-label":"Select language"},{default:U(()=>[...i[0]||(i[0]=[ue("span",{class:"vpi-languages option-icon"},null,-1)])]),_:1}),ye(S(Ap),null,{default:U(()=>[ye(S(Ep),null,{default:U(()=>[(E(!0),K(dt,null,zt(S(r).availableLocales,a=>(E(),ve(S($p),{key:a.code,value:a.code},{default:U(()=>[Vt(ze(a.label),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["default-value","value"])]))}},Mme={class:"flex flex-wrap gap-2"},Nme=["href","aria-label"],z5=Te({__name:"OAOperationTags",props:{tags:{}},setup(e){const t=e,r=kn(),{t:n}=Jn(),o=r.getTagsLinkPrefix();return(s,i)=>(E(),K("div",Mme,[(E(!0),K(dt,null,zt(t.tags,(a,l)=>(E(),K("a",{key:l,href:`${S(o)}${a}`,"aria-label":S(n)("tags.goTo",{tag:a})},[ye(S(Pc),{variant:"outline"},{default:U(()=>[Vt(ze(a),1)]),_:2},1024)],8,Nme))),128))]))}}),Lme=/\d/,Rme=["-","_","/","."];function Bme(e=""){if(!Lme.test(e))return e!==e.toLowerCase()}function qme(e,t){const r=Rme,n=[];if(!e||typeof e!="string")return n;let o="",s,i;for(const a of e){const l=r.includes(a);if(l===!0){n.push(o),o="",s=void 0;continue}const c=Bme(a);if(i===!1){if(s===!1&&c===!0){n.push(o),o=a,s=c;continue}if(s===!0&&c===!1&&o.length>1){const u=o.at(-1);n.push(o.slice(0,Math.max(0,o.length-1))),o=u+a,s=c;continue}}o+=a,s=c,i=l}return n.push(o),n}function zme(e){return e?e[0].toUpperCase()+e.slice(1):""}const Fme=/^(a|an|and|as|at|but|by|for|if|in|is|nor|of|on|or|the|to|with)$/i;function F5(e,t){return(Array.isArray(e)?e:qme(e)).filter(Boolean).map(r=>Fme.test(r)?r.toLowerCase():zme(t!=null&&t.normalize?r.toLowerCase():r)).join(" ")}const Th=Symbol("operationData");function Vme({operation:e,request:t,selectedServer:r,defaultRequestContentType:n}){var l,c,u;const o=((c=(l=e.securityUi)==null?void 0:l[0])==null?void 0:c.id)||"",s=kn(),i=s.getSecurityDefaultScheme()||o,a=s.getStoragePrefix();return{operationId:e.operationId,security:{selectedSchemeId:Oe((u=e.securityUi)!=null&&u.some(d=>d.id===i)?i:o),securityValues:Oe({})},playground:{request:Oe(t||{}),selectedServer:Hm()?Tf(`${a}-operation-${e.operationId}-selectedServer`,r,localStorage,{mergeDefaults:!0}):Oe(r),parameterValues:Oe({})},requestBody:{selectedContentType:Oe(n)}}}const Ume=/^application\/octet-stream/i,Hme=/^\s*(?:attachment|download)(?:;|$)/i;function V5(e,t=""){return Ume.test(e)||Hme.test(t)}const Wme=/json/i,Gme=/xml/i,Jme=/html/i,Kme=/text\/plain/i,Qme=/^image\//i,Zme=/^audio\//i;let Qp={"http-basic":"Basic Auth","http-bearer":"Token",apiKey:null,openIdConnect:"OpenID Connect",oauth2:"OAuth2 Token"};function kv(){const e=Oe(!1),t=Oe(null),r=Oe([]),n=_i(Th);function o(d){Qp={...Qp,...d}}function s(d){if(d.type==="http"){const f=d.scheme==="basic"?"http-basic":"http-bearer";return Qp[f]}const p=d.type;return Object.keys(Qp).includes(p)&&Qp[p]!==null?Qp[p]??"":d.type==="apiKey"&&d.name?d.name:""}async function i({request:d,method:p,baseUrl:f,path:m,operationId:v}){if(!d)return null;t.value=null;const g=`${f}${m}`,y={body:null,type:"",time:null,status:null};a(v);const b=performance.now(),w=new AbortController,k=setTimeout(()=>w.abort(),3e4);try{y.time=null,y.body="{}",e.value=!0;const x=new URL(d.url??g);for(const[A,I]of Object.entries(d.query))Array.isArray(I)?I.forEach(M=>x.searchParams.append(A,String(M))):x.searchParams.set(A,String(I));const j=await fetch(x.toString(),{method:p.toUpperCase(),headers:d.body instanceof FormData?{}:d.headers??{},body:d.body instanceof FormData||typeof d.body=="string"||d.body instanceof Blob?d.body:JSON.stringify(d.body),signal:w.signal}),_=j.headers.get("Content-Type")||"text/plain",C=j.headers.get("Content-Disposition")||"";y.type=_;try{y.headers=Object.fromEntries(j.headers.entries())}catch{const A={};_&&(A["content-type"]=_),C&&(A["content-disposition"]=C),y.headers=A}if(Wme.test(_))y.body=await j.json();else if(Gme.test(_)||Jme.test(_)||Kme.test(_))y.body=await j.text();else if(Qme.test(_)){const A=await j.blob();y.body=URL.createObjectURL(A),r.value.push(y.body)}else Zme.test(_)?y.body=await j.blob():V5(_,C)?y.body=await j.blob():y.body=await j.text();y.status=j.status}catch(x){y.body=x==null?void 0:x.message,y.type="text/plain",y.status=500}finally{clearTimeout(k),e.value=!1;const x=performance.now();y.time=(x-b).toFixed(2),t.value=y}return y}function a(d){try{window.gtag("event","try_it",{event_category:"api",event_label:d})}catch{}}function l(){r.value.forEach(URL.revokeObjectURL),r.value=[]}function c(d,p){if(!n||!d)return;const f=typeof p=="object"&&p!==null?JSON.parse(JSON.stringify(p)):p;n.playground.parameterValues.value[d]=f}function u(d,p){!n||!d||(n.security.securityValues.value={...n.security.securityValues.value,[d]:p})}return{loading:e,response:t,imageUrls:r,setSecuritySchemeDefaultValues:o,getSecuritySchemeDefaultValue:s,submitRequest:i,cleanupImageUrls:l,setParameterValue:c,setSecurityValue:u,hasOperationData:!!n}}function Xme(e){const t=e.trim();if(!(t.startsWith("{")&&t.endsWith("}")||t.startsWith("[")&&t.endsWith("]")))return!1;try{const r=JSON.parse(t);return typeof r=="object"&&r!==null}catch{return!1}}function F_(e,t=0){try{return JSON.stringify(e,null,t)??String(e)}catch{return String(e)}}function U5(e,t){return Xme(e)?e:t.quoteNormalStrings?JSON.stringify(e):String(e)}function $T(e,t={space:2}){return e===void 0?"":e===null?"null":typeof e=="object"?F_(e,(t==null?void 0:t.space)??0):typeof e=="string"?U5(e,{quoteNormalStrings:!0}):F_(e,(t==null?void 0:t.space)??0)}function TT(e,t={space:0}){return e==null?"":typeof e=="object"?F_(e,(t==null?void 0:t.space)??0):typeof e=="string"?U5(e,{quoteNormalStrings:!1}):String(e)}const Yme=["role","title"],ege=["role","title"],bc={__name:"OACodeValue",props:{value:{type:[String,Number,Boolean,Array,Object],required:!0},isEnum:{type:Boolean,default:!1},onSet:{type:Function,default:void 0}},setup(e){const t=e,{t:r}=Jn();function n(){if(!t.onSet)return;const s=t.isEnum?String(t.value):t.value;t.onSet(s)}const o=le(()=>!!t.onSet);return(s,i)=>Array.isArray(e.value)?(E(!0),K(dt,{key:0},zt(e.value,(a,l)=>(E(),K("code",{key:l,class:Nt(["!text-xs text-wrap break-all",{"cursor-pointer hover:opacity-80":o.value}]),role:o.value?"button":void 0,title:o.value?S(r)("Click to set in playground"):void 0,onClick:i[0]||(i[0]=c=>o.value?n():void 0)},ze(S($T)(a)),11,Yme))),128)):(E(),K("code",{key:1,class:Nt(["!text-xs break-all",{"text-wrap":!e.value||typeof e.value!="object","whitespace-pre-wrap":e.value&&typeof e.value=="object","cursor-pointer hover:opacity-80":o.value}]),role:o.value?"button":void 0,title:o.value?S(r)("Click to set in playground"):void 0,onClick:i[1]||(i[1]=a=>o.value?n():void 0)},ze(S($T)(e.value)),11,ege))}},tge={class:"flex flex-row gap-2 text-sm"},rge={class:"flex justify-between items-start gap-2 flex-1"},nge={key:1,class:"text-muted-foreground"},Mf=Te({__name:"OAParameterAttribute",props:{name:{type:String,required:!0},boldName:{type:Boolean,default:!1},value:{type:[String,Number,Boolean,Object,Array],required:!1}},setup(e){const t=e,r=el();function n(o){return r[o]!==void 0}return(o,s)=>(E(),K("div",tge,[ue("span",{class:Nt({"font-bold":t.boldName})},ze(t.name),3),ue("div",rge,[ue("div",null,[n("value")?pe(o.$slots,"value",{key:0}):(E(),K("span",nge,ze(t.value),1))]),n("end")?pe(o.$slots,"end",{key:0}):je("",!0)])]))}});function oge(e){const t=typeof e.value=="object"?JSON.stringify(e.value):String(e.value);return e.name!==t}function sge(e){return!e||e.length===0?!1:e.some(oge)}const ige=new Set(["value","externalValue","$ref"]);function age(e){if(!e||typeof e!="object"||Array.isArray(e))return!1;const t=e,r=Object.keys(t);if(r.length===0)return!1;for(const n of r){const o=t[n];if(o&&typeof o=="object"&&!Array.isArray(o)&&Object.keys(o).some(s=>ige.has(s)))return!0}return!1}function lge(e){if(e==null)return null;if(Array.isArray(e))return e.map(t=>({name:typeof t=="object"?JSON.stringify(t):String(t),value:t}));if(e&&typeof e=="object"){const t=e;return age(t)?Object.keys(t).map(r=>{const n=t[r];let o=n,s;return n&&typeof n=="object"&&(s=n.summary,"value"in n?o=n.value:"$ref"in n?o={$ref:n.$ref}:"externalValue"in n?o=n.externalValue:o=null),{name:r,value:o,summary:s}}):[{name:JSON.stringify(e),value:e}]}return[{name:String(e),value:e}]}const cge={key:0,class:"flex flex-row items-center gap-2"},uge={class:"text-sm"},dge={key:1,class:"flex flex-row items-center gap-2"},H5=Te({__name:"OAParameterExamples",props:{property:{type:Object,required:!0},securitySchemeName:{type:String,default:void 0}},setup(e){const t=e,r=le(()=>{const f=Z0(t.property);return lge(f)}),n=le(()=>sge(r.value)),o=Oe("0"),s=le(()=>{if(!r.value)return null;const f=Number.parseInt(o.value,10);return r.value[f]??null}),{setParameterValue:i,setSecurityValue:a,hasOperationData:l}=kv(),c=le(()=>{if(l){if(t.securitySchemeName){const f=t.securitySchemeName;return m=>a(f,m)}if(t.property.name)return f=>i(t.property.name,f)}});cr(o,()=>{var f;!l||!s.value||((f=c.value)==null||f.call(c,s.value.value))}),cr(r,()=>{o.value="0"});function u(f){return f.summary?`${f.name} - ${f.summary}`:f.name}const d=kn().getWrapExamples(),{t:p}=Jn();return(f,m)=>{var v,g,y,b;return E(),K(dt,null,[((v=r.value)==null?void 0:v.length)===1?(E(),K("div",cge,[ue("span",uge,ze(S(p)("Example")),1),ye(bc,{value:(g=r.value[0])==null?void 0:g.value,"on-set":c.value},null,8,["value","on-set"])])):je("",!0),(((y=r.value)==null?void 0:y.length)??0)>1&&n.value?(E(),K("div",dge,[ye(Mf,{name:S(p)("Examples"),class:"flex-1"},{value:U(()=>[s.value?(E(),ve(bc,{key:0,value:s.value.value,"on-set":c.value},null,8,["value","on-set"])):je("",!0)]),end:U(()=>[ye(S(Cp),{modelValue:o.value,"onUpdate:modelValue":m[0]||(m[0]=w=>o.value=w)},{default:U(()=>[ye(S(Tp),{"aria-label":S(p)("Select an example"),class:"h-6 max-w-28 bg-[var(--vp-code-bg)]"},{default:U(()=>[ye(S($h),{placeholder:S(p)("Select an example"),class:"truncate"},{default:U(()=>{var w;return[Vt(ze((w=s.value)==null?void 0:w.name),1)]}),_:1},8,["placeholder"])]),_:1},8,["aria-label"]),ye(S(Ap),null,{default:U(()=>[ye(S(Ep),null,{default:U(()=>[(E(!0),K(dt,null,zt(r.value,(w,k)=>(E(),ve(S($p),{key:w.name??k,value:String(k)},{default:U(()=>[Vt(ze(u(w)),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1},8,["name"])])):je("",!0),(((b=r.value)==null?void 0:b.length)??0)>1&&!n.value?(E(),K("div",{key:2,class:Nt(["flex flex-row flex-wrap gap-2",{"items-center":S(d)}])},[ye(Mf,{name:S(p)("Examples")},{value:U(()=>[ue("div",{class:Nt(["flex gap-2",{"flex-col":!S(d),"flex-row flex-wrap":S(d)}])},[(E(!0),K(dt,null,zt(r.value,(w,k)=>(E(),ve(bc,{key:k,value:w.value,"on-set":c.value},null,8,["value","on-set"]))),128))],2)]),_:1},8,["name"])],2)):je("",!0)],64)}}}),pge={class:"flex flex-col p-3 gap-2 rounded bg-muted"},fge={class:"flex flex-col gap-2"},hge={class:"flex flex-row items-center gap-2"},mge={class:"text-sm font-bold"},gge={key:0,class:"text-sm text-destructive"},vge={key:0,class:"flex flex-col gap-2"},yge={class:"flex flex-row gap-2"},bge={key:1,class:"text-sm text-destructive"},wge={class:"flex flex-wrap gap-2"},X0={__name:"OAParameter",props:{parameter:{type:Object,required:!0}},setup(e){const t=e,r=pR(t.parameter.schema),{t:n}=Jn(),{setParameterValue:o,hasOperationData:s}=kv();return(i,a)=>(E(),K("div",pge,[ue("div",fge,[ue("div",hge,[ue("span",mge,ze(t.parameter.name),1),t.parameter.required?(E(),K("span",gge,"*")):je("",!0)]),t.parameter.description?(E(),ve(Wl,{key:0,content:t.parameter.description,class:"text-sm"},null,8,["content"])):je("",!0)]),t.parameter.schema?(E(),K("div",vge,[ue("div",yge,[t.parameter.schema.type?(E(),ve(Mf,{key:0,name:S(n)("Type"),value:t.parameter.schema.type,"bold-name":""},null,8,["name","value"])):je("",!0),t.parameter.required?(E(),K("span",bge,ze(S(n)("Required")),1)):je("",!0)]),t.parameter.schema.enum?(E(),ve(Mf,{key:0,name:S(n)("Valid values"),value:t.parameter.schema.enum.join(", ")},{value:U(()=>[ue("div",wge,[(E(!0),K(dt,null,zt(t.parameter.schema.enum,(l,c)=>(E(),ve(bc,{key:c,value:l,"is-enum":!0,"on-set":S(s)&&t.parameter.name?u=>S(o)(t.parameter.name,u):void 0},null,8,["value","on-set"]))),128))])]),_:1},8,["name","value"])):je("",!0),ye(H5,{property:t.parameter},null,8,["property"]),Object.keys(S(r)).length>0?(E(!0),K(dt,{key:1},zt(S(r),(l,c)=>(E(),ve(Mf,{key:c,name:S(n)(S(F5)(c))},{value:U(()=>[ye(bc,{value:l},null,8,["value"])]),_:2},1032,["name"]))),128)):je("",!0)])):je("",!0)]))}},xge={class:"flex flex-col"},kge={key:0,class:"space-y-4"},jge={key:1,class:"space-y-4"},_ge={key:2,class:"space-y-4"},W5={__name:"OAParameters",props:{operationId:{type:String,required:!0},parameters:{type:Array,required:!0}},setup(e){const t=e,r=t.parameters.filter(i=>i&&i.in==="header"),n=t.parameters.filter(i=>i&&i.in==="path"),o=t.parameters.filter(i=>i&&i.in==="query"),{t:s}=Jn();return(i,a)=>(E(),K("div",xge,[S(r).length?(E(),K("div",kge,[ue("h3",null,ze(S(s)("Header Parameters")),1),(E(!0),K(dt,null,zt(S(r),l=>(E(),ve(X0,{key:l.name,parameter:l},null,8,["parameter"]))),128))])):je("",!0),S(n).length?(E(),K("div",jge,[ue("h3",null,ze(S(s)("Path Parameters")),1),(E(!0),K(dt,null,zt(S(n),l=>(E(),ve(X0,{key:l.name,parameter:l},null,8,["parameter"]))),128))])):je("",!0),S(o).length?(E(),K("div",_ge,[ue("h3",null,ze(S(s)("Query Parameters")),1),(E(!0),K(dt,null,zt(S(o),l=>(E(),ve(X0,{key:l.name,parameter:l},null,8,["parameter"]))),128))])):je("",!0)]))}},Sge={key:0,class:"OAPath flex flex-col space-y-4"},Cge={class:"OAPathContentStart flex flex-col"},Age={class:"flex flex-col gap-4"},Ege={class:"flex flex-col"},Oge={key:1},$ge={key:2},Tge=Te({__name:"OAPath",props:{id:{type:String,required:!0},operation:{type:Object,required:!0},openapi:{type:Object,required:!0}},setup(e){const t=e,r=kn(),n=le(()=>(r.getOperationSlots()??[]).filter(i=>{var a;return!((a=r.getOperationHiddenSlots())!=null&&a.includes(i))})),o=le(()=>r.getOperationCols()),s=le(()=>["playground","try-it","code-samples"].some(i=>n.value.includes(i)));return(i,a)=>(E(),ve(S(VV),{openapi:t.openapi,"operation-id":t.id,"should-build-request":s.value},{default:U(l=>{var c;return[t.operation?(E(),K("div",Sge,[n.value.includes("header")?pe(i.$slots,"header",{key:0,operation:t.operation,method:l.method,path:l.path,deprecated:t.operation.deprecated}):je("",!0),n.value.includes("tags")?pe(i.$slots,"tags",{key:1,operation:t.operation,method:l.method,path:l.path,tags:t.operation.tags}):je("",!0),ue("div",{class:Nt([{"sm:grid-cols-1":o.value===1,"sm:grid-cols-2":o.value===2},"relative grid grid-cols-1"])},[ue("div",Cge,[ue("div",Age,[n.value.includes("path")?(E(),K("div",{key:0,class:Nt({"sm:hidden":o.value===2})},[pe(i.$slots,"path",{operationId:t.id,operation:t.operation,method:l.method,path:l.path,hideBaseUrl:!S(r).getShowBaseURL(),deprecated:t.operation.deprecated,servers:l.servers,baseUrl:l.operationData.playground.selectedServer.value})],2)):je("",!0),n.value.includes("description")?pe(i.$slots,"description",{key:1,operation:t.operation,method:l.method,path:l.path}):je("",!0)]),n.value.includes("security")?(E(),K(dt,{key:0},[l.securityUi.length?pe(i.$slots,"security",{key:0,operation:t.operation,method:l.method,path:l.path,securityUi:l.securityUi,selectedSchemeId:l.operationData.security.selectedSchemeId.value}):je("",!0)],64)):je("",!0),n.value.includes("parameters")?(E(),K(dt,{key:1},[(c=l.parameters)!=null&&c.length?pe(i.$slots,"parameters",{key:0,operationId:t.id,parameters:l.parameters}):je("",!0)],64)):je("",!0),n.value.includes("request-body")?(E(),K(dt,{key:2},[l.requestBody?pe(i.$slots,"request-body",{key:0,operationId:t.id,requestBody:l.requestBody}):je("",!0)],64)):je("",!0),n.value.includes("responses")?(E(),K(dt,{key:3},[l.responses?pe(i.$slots,"responses",{key:0,operationId:t.id,responses:l.responses}):je("",!0)],64)):je("",!0)]),ue("div",Ege,[ue("div",{class:Nt(["OAPathContentEnd sticky top-[100px] inset-x-0 flex flex-col",{"!px-0":o.value===1}])},[n.value.includes("path")&&o.value===2?(E(),K("div",{key:0,class:Nt({"hidden sm:block sm:mb-2":o.value===2})},[pe(i.$slots,"path",{operationId:t.id,operation:t.operation,method:l.method,path:l.path,hideBaseUrl:!S(r).getShowBaseURL(),deprecated:t.operation.deprecated,servers:l.servers,baseUrl:l.operationData.playground.selectedServer.value})],2)):je("",!0),n.value.includes("try-it")||n.value.includes("playground")?(E(),K("div",Oge,[pe(i.$slots,"playground",{operationId:t.id,path:l.path,method:l.method,parameters:l.parameters,requestBody:l.requestBody,securityUi:l.securityUi,servers:l.servers})])):je("",!0),n.value.includes("code-samples")?(E(),K("div",$ge,[pe(i.$slots,"code-samples",{operationId:t.id,operation:t.operation,method:l.method,path:l.path,codeSamples:l.codeSamples})])):je("",!0)],2)])],2),n.value.includes("branding")?pe(i.$slots,"branding",{key:2,operationId:t.id,operation:t.operation,method:l.method,path:l.path}):je("",!0),n.value.includes("footer")?pe(i.$slots,"footer",{key:3,operationId:t.id,operation:t.operation,method:l.method,path:l.path}):je("",!0)])):je("",!0)]}),_:3},8,["openapi","operation-id","should-build-request"]))}}),Pge={__name:"OAMethodBadge",props:{method:{type:String,required:!0}},setup(e){const t=e;return(r,n)=>(E(),ve(S(Pc),{variant:"plain",class:Nt([[`OAMethodBadge--${t.method.toLowerCase()}`],"px-2 py-1 rounded"])},{default:U(()=>[Vt(ze(t.method.toUpperCase()),1)]),_:1},8,["class"]))}},Ige={class:"flex flex-col gap-2 text-sm bg-muted rounded p-1.5"},Dge={class:"language-bash !overflow-hidden !m-0 h-8 flex flex-row items-center gap-1.5"},Mge=["title"],Nge={class:"overflow-x-auto whitespace-nowrap"},Lge={class:"flex flex-row flex-shrink-0"},Rge={key:0,class:"text-muted-foreground hidden md:inline-block"},Bge={__name:"OAPathEndpoint",props:{path:{type:String,required:!0},method:{type:String,required:!0},baseUrl:{type:String,required:!0},hideBaseUrl:{type:Boolean,default:!1},deprecated:{type:Boolean,default:!1},servers:{type:Array,required:!1}},setup(e){const t=e,{t:r}=Jn();return(n,o)=>(E(),K("div",Ige,[ue("div",Dge,[ue("button",{title:S(r)("Copy endpoint"),class:"copy absolute !top-1 z-50 OAPathEndpoint__copy"},null,8,Mge),ye(Pge,{method:t.method},null,8,["method"]),ue("div",Nge,[ue("span",Lge,[t.hideBaseUrl?je("",!0):(E(),K("span",Rge,ze(t.baseUrl),1)),ue("span",{class:Nt([{"line-through":t.deprecated},"font-bold select-all"])},ze(t.path),3)])])])]))}},G5=$w(Bge,[["__scopeId","data-v-ae22f171"]]),Wm=Te({__name:"Button",props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]},asChild:{type:Boolean},as:{default:"button"}},setup(e){const t=e;return(r,n)=>(E(),ve(S(Rn),{as:e.as,"as-child":e.asChild,class:Nt(S(Ko)(S(qge)({variant:e.variant,size:e.size}),t.class))},{default:U(()=>[pe(r.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),qge=Sw("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"bg-muted",primary:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline",icon:"rounded bg-transparent hover:bg-muted"},size:{default:"h-10 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"size-4 p-[2px]"}},defaultVariants:{variant:"default",size:"default"}});function Ii({parameter:e,operationId:t}){return!e.name||!e.in?"":`${t}:${e.in}:${e.name}`}function PT(e){return e!=="ignore"}function Ub(e){return e==="value"}function V_(e,t,r="value"){if(Ub(r)){const n=gC(e);if(n!==null)return n}return Ub(t)?vC(e):null}function zge(e,t,r="value"){if(PT(r)){const n=gC(e);if(n!==null)return n}return PT(t)?vC(e):null}function Ao(e){return Array.isArray(e)}function Do(e){return e!==null&&typeof e=="object"&&(e.constructor===void 0||e.constructor.name==="Object")}function J5(e){return e&&typeof e=="object"?e.op==="add":!1}function K5(e){return e&&typeof e=="object"?e.op==="remove":!1}function uA(e){return e&&typeof e=="object"?e.op==="replace":!1}function U_(e){return e&&typeof e=="object"?e.op==="copy":!1}function Nf(e){return e&&typeof e=="object"?e.op==="move":!1}function Fge(e,t){return JSON.stringify(e)===JSON.stringify(t)}function Vge(e,t){return e===t}function Q5(e){return e.slice(0,e.length-1)}function Uge(e){return e[e.length-1]}function Hge(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Vge;if(e.length{t[r]=e[r]}),t}else if(Do(e)){const t={...e};return Object.getOwnPropertySymbols(e).forEach(r=>{t[r]=e[r]}),t}else return e}function pA(e,t,r){if(e[t]===r)return e;{const n=dA(e);return n[t]=r,n}}function bt(e,t){let r=e,n=0;for(;n3&&arguments[3]!==void 0?arguments[3]:!1;if(t.length===0)return r;const o=t[0],s=fi(e?e[o]:void 0,t.slice(1),r,n);if(Do(e)||Ao(e))return pA(e,o,s);if(n){const i=Wge.test(o)?[]:{};return i[o]=s,i}else throw new Error("Path does not exist")}const Wge=/^\d+$/;function fA(e,t,r){if(t.length===0)return r(e);if(!Z5(e))throw new Error("Path doesn't exist");const n=t[0],o=fA(e[n],t.slice(1),r);return pA(e,n,o)}function Bw(e,t){if(t.length===0)return e;if(!Z5(e))throw new Error("Path does not exist");if(t.length===1){const o=t[0];if(o in e){const s=dA(e);return Ao(s)&&s.splice(parseInt(o),1),Do(s)&&delete s[o],s}else return e}const r=t[0],n=Bw(e[r],t.slice(1));return pA(e,r,n)}function hA(e,t,r){const n=t.slice(0,t.length-1),o=t[t.length-1];return fA(e,n,s=>{if(!Array.isArray(s))throw new TypeError("Array expected at path "+JSON.stringify(n));const i=dA(s);return i.splice(parseInt(o),0,r),i})}function oa(e,t){return e===void 0?!1:t.length===0?!0:e===null?!1:oa(e[t[0]],t.slice(1))}function da(e){const t=e.split("/");return t.shift(),t.map(r=>r.replace(/~1/g,"/").replace(/~0/g,"~"))}function Wt(e){return e.map(X5).join("")}function X5(e){return"/"+String(e).replace(/~/g,"~0").replace(/\//g,"~1")}function IT(e,t){return e+X5(t)}function La(e,t,r){let n=e;for(let o=0;o{let i;const a=Ra(o,s.path);if(s.op==="add")i=r6(o,a);else if(s.op==="remove")i=t6(o,a);else if(s.op==="replace")i=e6(o,a);else if(s.op==="copy")i=tve(o,a);else if(s.op==="move")i=rve(o,a,H_(s.from));else if(s.op==="test")i=[];else throw new Error("Unknown JSONPatch operation "+JSON.stringify(s));let l;if(r&&r.before){const c=r.before(o,s,i);if(c&&c.revertOperations&&(i=c.revertOperations),c&&c.document&&(l=c.document),c&&c.json)throw new Error('Deprecation warning: returned object property ".json" has been renamed to ".document"')}if(n=i.concat(n),l!==void 0)return{document:l}}}),n}function e6(e,t){return[{op:"replace",path:Wt(t),value:bt(e,t)}]}function t6(e,t){return[{op:"add",path:Wt(t),value:bt(e,t)}]}function r6(e,t){return jv(e,t)||!oa(e,t)?[{op:"remove",path:Wt(t)}]:e6(e,t)}function tve(e,t){return r6(e,t)}function rve(e,t,r){if(t.length=0?D=A():H()}return V(q,"valueEnd"),_(),O&&kNumber.MAX_SAFE_INTEGER||D="a"&&D<="f"?O+=D.charCodeAt()-t+10:D>="0"&&D<="9"?O+=+D:B()}return String.fromCharCode(O)}function X(){for(var q="";m[k]>="0"&&m[k]<="9";)q+=F();if(q.length)return q;se(),H()}function V(q,O){J(q,O,oe())}function J(q,O,D){y[q]=y[q]||{},y[q][O]=D}function oe(){return{line:b,column:w,pos:k}}function H(){throw new SyntaxError("Unexpected token "+m[k]+" in JSON at position "+k)}function B(){z(),H()}function se(){if(k>=m.length)throw new SyntaxError("Unexpected end of JSON input")}},cy.stringify=function(m,v,g){if(!n(m))return;var y=0,b,w,k=typeof g=="object"?g.space:g;switch(typeof k){case"number":var x=k>10?10:k<0?0:Math.floor(k);k=x&&J(x," "),b=x,w=x;break;case"string":k=k.slice(0,10),b=0,w=0;for(var j=0;j=0}var o=/"|\\/g,s=/[\b]/g,i=/\f/g,a=/\n/g,l=/\r/g,c=/\t/g;function u(m){return m=m.replace(o,"\\$&").replace(i,"\\f").replace(s,"\\b").replace(a,"\\n").replace(l,"\\r").replace(c,"\\t"),'"'+m+'"'}var d=/~/g,p=/\//g;function f(m){return m.replace(d,"~0").replace(p,"~1")}return cy}var ove=nve();const MT=qC(ove);class Zp extends Error{constructor(t,r){super("".concat(t," at position ").concat(r)),this.position=r}}const uy=92,Ik=47,sve=42,NT=123,dy=125,LT=91,py=93,ive=41,n6=32,mA=10,gA=9,vA=13,ave=8,lve=12,Hb=34,RT=43,BT=45,o6=39,s6=48,i6=57,yd=44,fy=46,hy=58,cve=59,uve=65,dve=97,pve=69,fve=101,hve=70,mve=102,gve=160,vve=8192,yve=8202,bve=8239,wve=8287,xve=12288,kve=8220,jve=8221,_ve=8216,Sve=8217,Cve=96,Ave=180;function Eve(e){return e>=s6&&e<=i6||e>=uve&&e<=hve||e>=dve&&e<=mve}function bd(e){return e>=s6&&e<=i6}function Ove(e){return e>=32&&e<=1114111}function my(e){return $ve.test(e)}const $ve=/^[,:[\]/{}()\n+]$/,Tve=/^[,[\]/{}\n+]$/,Pve=/^[a-zA-Z_$]$/,Ive=/^[a-zA-Z_$0-9]$/,qT=/^(http|https|ftp|mailto|file|data|irc):\/\/$/,zT=/^[A-Za-z0-9-._~:/?#@!$&'()*+;=]$/;function FT(e){return Tve.test(e)}function VT(e){return Dve.test(e)||e&&Y0(e.charCodeAt(0))}const Dve=/^[[{\w-]$/;function Mve(e){return e===mA||e===vA||e===gA||e===ave||e===lve}function Od(e){return e===n6||e===mA||e===gA||e===vA}function Nve(e){return e===n6||e===gA||e===vA}function Lve(e){return e===gve||e>=vve&&e<=yve||e===bve||e===wve||e===xve}function Y0(e){return a6(e)||W_(e)}function a6(e){return e===Hb||e===kve||e===jve}function UT(e){return e===Hb}function W_(e){return e===o6||e===_ve||e===Sve||e===Cve||e===Ave}function HT(e){return e===o6}function am(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;const n=e.lastIndexOf(t);return n!==-1?e.substring(0,n)+(r?"":e.substring(n+1)):e}function _a(e,t){let r=e.length;if(!Od(e.charCodeAt(r-1)))return e+t;for(;Od(e.charCodeAt(r-1));)r--;return e.substring(0,r)+t+e.substring(r)}function Rve(e,t,r){return e.substring(0,t)+e.substring(t+r)}function Bve(e){return/[,\n][ \t\r]*$/.test(e)}const qve={"\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t"},zve={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:` +`,r:"\r",t:" "};function Ol(e){let t=0,r="";o()||M();const n=l(yd);for(n&&s(),VT(e[t])&&Bve(r)?(n||(r=_a(r,",")),m()):n&&(r=am(r,","));e.charCodeAt(t)===dy||e.charCodeAt(t)===py;)t++,s();if(t>=e.length)return r;I();function o(){s();const N=p()||f()||v()||y()||b()||k(!1)||x();return s(),N}function s(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;const X=t;let V=i(N);do V=a(),V&&(V=i(N));while(V);return t>X}function i(N){const X=N?Od:Nve;let V="";for(;;){const J=e.charCodeAt(t);if(X(J))V+=e[t],t++;else if(Lve(J))V+=" ",t++;else break}return V.length>0?(r+=V,!0):!1}function a(){if(e.charCodeAt(t)===Ik&&e.charCodeAt(t+1)===sve){for(;t=e.length;V||(VT(e[t])||J?r=_a(r,":"):F()),o()||(V||J?r+="null":F())}return e.charCodeAt(t)===dy?(r+="}",t++):r=_a(r,"}"),!0}return!1}function f(){if(e.charCodeAt(t)===LT){r+="[",t++,s(),c(yd)&&s();let N=!0;for(;t0&&arguments[0]!==void 0?arguments[0]:!1,X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,V=e.charCodeAt(t)===uy;if(V&&(t++,V=!0),Y0(e.charCodeAt(t))){const J=UT(e.charCodeAt(t))?UT:HT(e.charCodeAt(t))?HT:W_(e.charCodeAt(t))?W_:a6,oe=t,H=r.length;let B='"';for(t++;;){if(t>=e.length){const se=j(t-1);return!L&&my(e.charAt(se))?(t=oe,r=r.substring(0,H),v(!0)):(B=_a(B,'"'),r+=B,!0)}else{if(t===X)return B=_a(B,'"'),r+=B,!0;if(J(e.charCodeAt(t))){const se=t,q=B.length;if(B+='"',t++,r+=B,s(!1),L||t>=e.length||my(e.charAt(t))||Y0(e.charCodeAt(t))||bd(e.charCodeAt(t)))return g(),!0;const O=j(se-1),D=e.charAt(O);if(D===",")return t=oe,r=r.substring(0,H),v(!1,O);if(my(D))return t=oe,r=r.substring(0,H),v(!0);r=r.substring(0,H),t=se+1,B="".concat(B.substring(0,q),"\\").concat(B.substring(q))}else if(L&&FT(e[t])){if(e.charCodeAt(t-1)===hy&&qT.test(e.substring(oe+1,t+2)))for(;t=e.length?t=e.length:z()}else B+=se,t+=2}else{const se=e.charAt(t),q=e.charCodeAt(t);q===Hb&&e.charCodeAt(t-1)!==uy?(B+="\\".concat(se),t++):Mve(q)?(B+=qve[se],t++):(Ove(q)||A(se),B+=se,t++)}}V&&u()}}return!1}function g(){let L=!1;for(s();e.charCodeAt(t)===RT;){L=!0,t++,s(),r=am(r,'"',!0);const X=r.length;v()?r=Rve(r,X,1):r=_a(r,'"')}return L}function y(){const L=t;if(e.charCodeAt(t)===BT){if(t++,_())return C(L),!0;if(!bd(e.charCodeAt(t)))return t=L,!1}for(;bd(e.charCodeAt(t));)t++;if(e.charCodeAt(t)===fy){if(t++,_())return C(L),!0;if(!bd(e.charCodeAt(t)))return t=L,!1;for(;bd(e.charCodeAt(t));)t++}if(e.charCodeAt(t)===fve||e.charCodeAt(t)===pve){if(t++,(e.charCodeAt(t)===BT||e.charCodeAt(t)===RT)&&t++,_())return C(L),!0;if(!bd(e.charCodeAt(t)))return t=L,!1;for(;bd(e.charCodeAt(t));)t++}if(!_())return t=L,!1;if(t>L){const X=e.slice(L,t),V=/^0\d/.test(X);return r+=V?'"'.concat(X,'"'):X,!0}return!1}function b(){return w("true","true")||w("false","false")||w("null","null")||w("True","true")||w("False","false")||w("None","null")}function w(L,X){return e.slice(t,t+L.length)===L?(r+=X,t+=L.length,!0):!1}function k(L){const X=t;if(Pve.test(e[t])){for(;tX){for(;Od(e.charCodeAt(t-1))&&t>0;)t--;const V=e.slice(X,t);return r+=V==="undefined"?"null":JSON.stringify(V),e.charCodeAt(t)===Hb&&t++,!0}}function x(){if(e[t]==="/"){const L=t;for(t++;t0&&Od(e.charCodeAt(X));)X--;return X}function _(){return t>=e.length||my(e[t])||Od(e.charCodeAt(t))}function C(L){r+="".concat(e.slice(L,t),"0")}function A(L){throw new Zp("Invalid character ".concat(JSON.stringify(L)),t)}function I(){throw new Zp("Unexpected character ".concat(JSON.stringify(e[t])),t)}function M(){throw new Zp("Unexpected end of json string",e.length)}function N(){throw new Zp("Object key expected",t)}function F(){throw new Zp("Colon expected",t)}function z(){const L=e.slice(t,t+6);throw new Zp('Invalid unicode character "'.concat(L,'"'),t)}}function Fve(e,t){return e[t]==="*"&&e[t+1]==="/"}var l6=typeof global=="object"&&global&&global.Object===Object&&global,Vve=typeof self=="object"&&self&&self.Object===Object&&self,rl=l6||Vve||Function("return this")(),ma=rl.Symbol,c6=Object.prototype,Uve=c6.hasOwnProperty,Hve=c6.toString,lm=ma?ma.toStringTag:void 0;function Wve(e){var t=Uve.call(e,lm),r=e[lm];try{e[lm]=void 0;var n=!0}catch{}var o=Hve.call(e);return n&&(t?e[lm]=r:delete e[lm]),o}var Gve=Object.prototype,Jve=Gve.toString;function Kve(e){return Jve.call(e)}var Qve="[object Null]",Zve="[object Undefined]",WT=ma?ma.toStringTag:void 0;function Ph(e){return e==null?e===void 0?Zve:Qve:WT&&WT in Object(e)?Wve(e):Kve(e)}function Hu(e){return e!=null&&typeof e=="object"}var Xve="[object Symbol]";function np(e){return typeof e=="symbol"||Hu(e)&&Ph(e)==Xve}function Gm(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r0){if(++t>=Aye)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Tye(e){return function(){return e}}var Wb=function(){try{var e=Ip(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Pye=Wb?function(e,t){return Wb(e,"toString",{configurable:!0,enumerable:!1,value:Tye(t),writable:!0})}:_v,Iye=$ye(Pye);function Dye(e,t){for(var r=-1,n=e==null?0:e.length;++r-1&&e%1==0&&e-1&&e%1==0&&e<=Fye}function Sv(e){return e!=null&&wA(e.length)&&!d6(e)}function K_(e,t,r){if(!Lc(r))return!1;var n=typeof t;return(n=="number"?Sv(r)&&yA(t,r.length):n=="string"&&t in r)?qw(r[t],e):!1}var Vye=Object.prototype;function xA(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Vye;return e===r}function p6(e,t){for(var r=-1,n=Array(e);++r-1}function G0e(e,t){var r=this.__data__,n=Uw(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Jc(e){var t=-1,r=e==null?0:e.length;for(this.clear();++to?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(o);++na))return!1;var c=s.get(e),u=s.get(t);if(c&&u)return c==t&&u==e;var d=-1,p=!0,f=r&W1e?new Jb:void 0;for(s.set(e,t),s.set(t,e);++d=t||_<0||d&&C>=s}function y(){var j=Nk();if(g(j))return b(j);a=setTimeout(y,v(j))}function b(j){return a=void 0,p&&n?f(j):(n=o=void 0,i)}function w(){a!==void 0&&clearTimeout(a),c=0,n=l=o=a=void 0}function k(){return a===void 0?i:b(Nk())}function x(){var j=Nk(),_=g(j);if(n=arguments,o=this,l=j,_){if(a===void 0)return m(l);if(d)return clearTimeout(a),a=setTimeout(y,t),f(l)}return a===void 0&&(a=setTimeout(y,t)),i}return x.cancel=w,x.flush=k,x}function qr(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function I6(e){return typeof e=="function"?e:_v}function Lwe(e,t){for(var r=e==null?0:e.length;r--&&t(e[r],r,e)!==!1;);return e}var Nwe=E6(!0);function Rwe(e,t){return e&&Nwe(e,t,Vw)}var Bwe=$6(Rwe,!0);function qwe(e,t){var r=Hs(e)?Lwe:Bwe;return r(e,I6(t))}function wc(e){return e&&e.length?e[0]:void 0}function D6(e,t){var r=-1,n=Sv(e)?Array(e.length):[];return T6(e,function(o,s,i){n[++r]=t(o,s,i)}),n}function zwe(e,t){var r=Hs(e)?Gm:D6;return r(e,Cv(t))}var Fwe=Object.prototype,Vwe=Fwe.hasOwnProperty,Uwe=P6(function(e,t,r){Vwe.call(e,r)?e[r].push(t):bA(e,r,[t])});function Xr(e){var t=e==null?0:e.length;return t?ube(e,0,-1):[]}var Hwe="[object Map]",Wwe="[object Set]",Gwe=Object.prototype,Jwe=Gwe.hasOwnProperty;function En(e){if(e==null)return!0;if(Sv(e)&&(Hs(e)||typeof e=="string"||typeof e.splice=="function"||jg(e)||kA(e)||zw(e)))return!e.length;var t=ea(e);if(t==Hwe||t==Wwe)return!e.size;if(xA(e))return!v6(e).length;for(var r in e)if(Jwe.call(e,r))return!1;return!0}function Hr(e,t){return Gw(e,t)}function Kwe(e,t){return et||s&&i&&l&&!a&&!c||n&&i&&l||!r&&l||!o)return 1;if(!n&&!s&&!c&&e=a)return l;var c=r[n];return l*(c=="desc"?-1:1)}}return e.index-t.index}function txe(e,t,r){t.length?t=Gm(t,function(s){return Hs(s)?function(i){return SA(i,s.length===1?s[0]:s)}:s}):t=[_v];var n=-1;t=Gm(t,Fw(Cv));var o=D6(e,function(s,i,a){var l=Gm(t,function(c){return c(s)});return{criteria:l,index:++n,value:s}});return Xwe(o,function(s,i){return exe(s,i,r)})}var rxe=P6(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]}),nxe=Math.ceil,oxe=Math.max;function sxe(e,t,r,n){for(var o=-1,s=oxe(nxe((t-e)/(r||1)),0),i=Array(s);s--;)i[++o]=e,e+=r;return i}function ixe(e){return function(t,r,n){return n&&typeof n!="number"&&K_(t,r,n)&&(r=n=void 0),t=eb(t),r===void 0?(r=t,t=0):r=eb(r),n=n===void 0?t1&&K_(e,t[0],t[1])?t=[]:r>2&&K_(t[0],t[1],t[2])&&(t=[t[0]]),txe(e,lbe(t),[])}),lxe=9007199254740991,Rk=4294967295,cxe=Math.min;function uxe(e,t){if(e=lye(e),e<1||e>lxe)return[];var r=Rk,n=cxe(e,Rk);t=I6(t),e-=Rk;for(var o=p6(n,t);++rArray.isArray(e),pxe=e=>e&&typeof e=="object"&&!Jw(e),fxe=e=>typeof e=="string";function Uo(e){return(...t)=>{const r=t.map(s=>ls(s)),n=r[0],o=r[1];return r.length===1?s=>e(n(s)):r.length===2?s=>e(n(s),o(s)):s=>e(...r.map(i=>i(s)))}}const $d={pipe:(...e)=>{const t=e.map(r=>ls(r));return r=>t.reduce((n,o)=>o(n),r)},object:e=>{const t=Object.keys(e).map(r=>[r,ls(e[r])]);return r=>{const n={};for(const[o,s]of t)n[o]=s(r);return n}},array:(...e)=>{const t=e.map(r=>ls(r));return r=>t.map(n=>n(r))},get:(...e)=>{if(e.length===0)return t=>t??null;if(e.length===1){const t=e[0];return r=>(r==null?void 0:r[t])??null}return t=>{let r=t;for(const n of e)r=r==null?void 0:r[n];return r??null}},map:e=>{const t=ls(e);return r=>r.map(t)},mapObject:e=>{const t=ls(e);return r=>{const n={};for(const o of Object.keys(r)){const s=t({key:o,value:r[o]});n[s.key]=s.value}return n}},mapKeys:e=>{const t=ls(e);return r=>{const n={};for(const o of Object.keys(r)){const s=t(o);n[s]=r[o]}return n}},mapValues:e=>{const t=ls(e);return r=>{const n={};for(const o of Object.keys(r))n[o]=t(r[o]);return n}},filter:e=>{const t=ls(e);return r=>r.filter(n=>x3(t(n)))},sort:(e=["get"],t)=>{const r=ls(e),n=t==="desc"?-1:1;function o(s,i){const a=r(s),l=r(i);return a>l?n:as.slice().sort(o)},reverse:()=>e=>e.toReversed(),pick:(...e)=>{const t=e.map(([n,...o])=>[o[o.length-1],$d.get(...o)]),r=(n,o)=>{const s={};for(const[i,a]of o)s[i]=a(n);return s};return n=>Jw(n)?n.map(o=>r(o,t)):r(n,t)},groupBy:e=>{const t=ls(e);return r=>{const n={};for(const o of r){const s=t(o);n[s]?n[s].push(o):n[s]=[o]}return n}},keyBy:e=>{const t=ls(e);return r=>{const n={};for(const o of r){const s=t(o);s in n||(n[s]=o)}return n}},flatten:()=>e=>e.flat(),join:(e="")=>t=>t.join(e),split:Uo((e,t)=>t!==void 0?e.split(t):e.trim().split(/\s+/)),substring:Uo((e,t,r)=>e.slice(Math.max(t,0),r)),uniq:()=>e=>[...new Set(e)],uniqBy:e=>t=>Object.values($d.keyBy(e)(t)),limit:e=>t=>t.slice(0,Math.max(e,0)),size:()=>e=>e.length,keys:()=>Object.keys,values:()=>Object.values,prod:()=>e=>e.reduce((t,r)=>t*r),sum:()=>e=>e.reduce((t,r)=>t+r),average:()=>e=>$d.sum()(e)/e.length,min:()=>e=>Math.min(...e),max:()=>e=>Math.max(...e),and:Uo((e,t)=>!!(e&&t)),or:Uo((e,t)=>!!(e||t)),not:Uo(e=>!e),exists:e=>{const t=e.slice(1),r=t.pop(),n=$d.get(...t);return o=>{const s=n(o);return!!s&&Object.hasOwnProperty.call(s,r)}},if:(e,t,r)=>{const n=ls(e),o=ls(t),s=ls(r);return i=>x3(n(i))?o(i):s(i)},in:(e,t)=>{const r=ls(e),n=ls(t);return o=>n(o).includes(r(o))},"not in":(e,t)=>{const r=$d.in(e,t);return n=>!r(n)},regex:(e,t,r)=>{const n=new RegExp(t,r),o=ls(e);return s=>n.test(o(s))},eq:Uo((e,t)=>e===t),gt:Uo((e,t)=>e>t),gte:Uo((e,t)=>e>=t),lt:Uo((e,t)=>ee<=t),ne:Uo((e,t)=>e!==t),add:Uo((e,t)=>e+t),subtract:Uo((e,t)=>e-t),multiply:Uo((e,t)=>e*t),divide:Uo((e,t)=>e/t),pow:Uo((e,t)=>e**t),mod:Uo((e,t)=>e%t),abs:Uo(Math.abs),round:Uo((e,t=0)=>+`${Math.round(+`${e}e${t}`)}e${-t}`),number:Uo(e=>{const t=Number(e);return Number.isNaN(Number(e))?null:t}),string:Uo(String)},x3=e=>e!==null&&e!==0&&e!==!1,yy=[];function ls(e,t){yy.unshift({...$d,...yy[0]});try{const r=Jw(e)?hxe(e,yy[0]):pxe(e)?L6(`Function notation ["object", {...}] expected but got ${JSON.stringify(e)}`):()=>e;return n=>{try{return r(n)}catch(o){throw o.jsonquery=[{data:n,query:e},...o.jsonquery??[]],o}}}finally{yy.shift()}}function hxe(e,t){const[r,...n]=e,o=t[r];return o||L6(`Unknown function '${r}'`),o(...n)}function L6(e){throw new Error(e)}const N6={and:"and",or:"or",eq:"==",gt:">",gte:">=",lt:"<",lte:"<=",ne:"!=",add:"+",subtract:"-",multiply:"*",divide:"/",pow:"^",mod:"%",in:"in","not in":"not in"},mxe=/^[a-zA-Z_$][a-zA-Z\d_$]*$/,gxe=/^[a-zA-Z_$][a-zA-Z\d_$]*/,vxe=/^"(?:[^"\\]|\\.)*"/,yxe=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,bxe=/^(0|[1-9][0-9]*)/,wxe=/^(true|false|null)/,xxe=/^[ \n\t\r]+/;function R6(e,t){const r={...N6},n=Object.keys(r).sort((_,C)=>C.length-_.length),o=()=>{b();const _=s();if(b(),e[x]==="|"){const C=[_];for(;e[x]==="|";)x++,b(),C.push(s());return["pipe",...C]}return _},s=()=>{const _=i();b();for(const C of n){const A=r[C];if(e.substring(x,x+A.length)===A){x+=A.length,b();const I=i();return[C,_,I]}}return _},i=()=>{if(e[x]==="("){x++;const _=o();return w(")"),_}return a()},a=()=>{if(e[x]==="."){const _=[];for(;e[x]===".";)x++,_.push(d()??p()??m()??k("Property expected"));return["get",..._]}return l()},l=()=>{const _=x,C=p();if(b(),!C||e[x]!=="(")return x=_,c();x++,!$d[C]&&k(`Unknown function '${C}'`),b();const A=e[x]!==")"?[o()]:[];for(;x{if(e[x]==="{"){x++,b();const _={};let C=!0;for(;x{if(e[x]==="["){x++,b();const _=[];let C=!0;for(;xy(vxe,JSON.parse),p=()=>y(gxe,_=>_),f=()=>y(yxe,JSON.parse),m=()=>y(bxe,JSON.parse),v=()=>{const _=y(wxe,JSON.parse);if(_!==void 0)return _;k("Value expected")},g=()=>{b(),x{const A=e.substring(x).match(_);if(A)return x+=A[0].length,C(A[0])},b=()=>y(xxe,_=>_),w=_=>{e[x]!==_&&k(`Character '${_}' expected`),x++},k=(_,C=x)=>{throw new SyntaxError(`${_} (pos: ${C})`)};let x=0;const j=o();return g(),j}const kxe=40,jxe=" ",_xe=(e,t)=>{const r=jxe,n=(c,u)=>Jw(c)?o(c,u):JSON.stringify(c),o=(c,u)=>{var d;const[p,...f]=c;if(p==="get"&&f.length>0)return i(f);if(p==="pipe"){const y=f.map(b=>n(b,u+r));return l(y,[""," | ",""],["",` +]`)}function v(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,V=e.charCodeAt(t)===uy;if(V&&(t++,V=!0),Y0(e.charCodeAt(t))){const J=UT(e.charCodeAt(t))?UT:HT(e.charCodeAt(t))?HT:W_(e.charCodeAt(t))?W_:a6,oe=t,H=r.length;let B='"';for(t++;;){if(t>=e.length){const se=j(t-1);return!N&&my(e.charAt(se))?(t=oe,r=r.substring(0,H),v(!0)):(B=_a(B,'"'),r+=B,!0)}else{if(t===X)return B=_a(B,'"'),r+=B,!0;if(J(e.charCodeAt(t))){const se=t,q=B.length;if(B+='"',t++,r+=B,s(!1),N||t>=e.length||my(e.charAt(t))||Y0(e.charCodeAt(t))||bd(e.charCodeAt(t)))return g(),!0;const O=j(se-1),D=e.charAt(O);if(D===",")return t=oe,r=r.substring(0,H),v(!1,O);if(my(D))return t=oe,r=r.substring(0,H),v(!0);r=r.substring(0,H),t=se+1,B="".concat(B.substring(0,q),"\\").concat(B.substring(q))}else if(N&&FT(e[t])){if(e.charCodeAt(t-1)===hy&&qT.test(e.substring(oe+1,t+2)))for(;t=e.length?t=e.length:z()}else B+=se,t+=2}else{const se=e.charAt(t),q=e.charCodeAt(t);q===Hb&&e.charCodeAt(t-1)!==uy?(B+="\\".concat(se),t++):Mve(q)?(B+=qve[se],t++):(Ove(q)||A(se),B+=se,t++)}}V&&u()}}return!1}function g(){let N=!1;for(s();e.charCodeAt(t)===RT;){N=!0,t++,s(),r=am(r,'"',!0);const X=r.length;v()?r=Rve(r,X,1):r=_a(r,'"')}return N}function y(){const N=t;if(e.charCodeAt(t)===BT){if(t++,_())return C(N),!0;if(!bd(e.charCodeAt(t)))return t=N,!1}for(;bd(e.charCodeAt(t));)t++;if(e.charCodeAt(t)===fy){if(t++,_())return C(N),!0;if(!bd(e.charCodeAt(t)))return t=N,!1;for(;bd(e.charCodeAt(t));)t++}if(e.charCodeAt(t)===fve||e.charCodeAt(t)===pve){if(t++,(e.charCodeAt(t)===BT||e.charCodeAt(t)===RT)&&t++,_())return C(N),!0;if(!bd(e.charCodeAt(t)))return t=N,!1;for(;bd(e.charCodeAt(t));)t++}if(!_())return t=N,!1;if(t>N){const X=e.slice(N,t),V=/^0\d/.test(X);return r+=V?'"'.concat(X,'"'):X,!0}return!1}function b(){return w("true","true")||w("false","false")||w("null","null")||w("True","true")||w("False","false")||w("None","null")}function w(N,X){return e.slice(t,t+N.length)===N?(r+=X,t+=N.length,!0):!1}function k(N){const X=t;if(Pve.test(e[t])){for(;tX){for(;Od(e.charCodeAt(t-1))&&t>0;)t--;const V=e.slice(X,t);return r+=V==="undefined"?"null":JSON.stringify(V),e.charCodeAt(t)===Hb&&t++,!0}}function x(){if(e[t]==="/"){const N=t;for(t++;t0&&Od(e.charCodeAt(X));)X--;return X}function _(){return t>=e.length||my(e[t])||Od(e.charCodeAt(t))}function C(N){r+="".concat(e.slice(N,t),"0")}function A(N){throw new Zp("Invalid character ".concat(JSON.stringify(N)),t)}function I(){throw new Zp("Unexpected character ".concat(JSON.stringify(e[t])),t)}function M(){throw new Zp("Unexpected end of json string",e.length)}function L(){throw new Zp("Object key expected",t)}function F(){throw new Zp("Colon expected",t)}function z(){const N=e.slice(t,t+6);throw new Zp('Invalid unicode character "'.concat(N,'"'),t)}}function Fve(e,t){return e[t]==="*"&&e[t+1]==="/"}var l6=typeof global=="object"&&global&&global.Object===Object&&global,Vve=typeof self=="object"&&self&&self.Object===Object&&self,rl=l6||Vve||Function("return this")(),ma=rl.Symbol,c6=Object.prototype,Uve=c6.hasOwnProperty,Hve=c6.toString,lm=ma?ma.toStringTag:void 0;function Wve(e){var t=Uve.call(e,lm),r=e[lm];try{e[lm]=void 0;var n=!0}catch{}var o=Hve.call(e);return n&&(t?e[lm]=r:delete e[lm]),o}var Gve=Object.prototype,Jve=Gve.toString;function Kve(e){return Jve.call(e)}var Qve="[object Null]",Zve="[object Undefined]",WT=ma?ma.toStringTag:void 0;function Ph(e){return e==null?e===void 0?Zve:Qve:WT&&WT in Object(e)?Wve(e):Kve(e)}function Hu(e){return e!=null&&typeof e=="object"}var Xve="[object Symbol]";function np(e){return typeof e=="symbol"||Hu(e)&&Ph(e)==Xve}function Gm(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r0){if(++t>=Aye)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function Tye(e){return function(){return e}}var Wb=function(){try{var e=Ip(Object,"defineProperty");return e({},"",{}),e}catch{}}(),Pye=Wb?function(e,t){return Wb(e,"toString",{configurable:!0,enumerable:!1,value:Tye(t),writable:!0})}:_v,Iye=$ye(Pye);function Dye(e,t){for(var r=-1,n=e==null?0:e.length;++r-1&&e%1==0&&e-1&&e%1==0&&e<=Fye}function Sv(e){return e!=null&&wA(e.length)&&!d6(e)}function K_(e,t,r){if(!Nc(r))return!1;var n=typeof t;return(n=="number"?Sv(r)&&yA(t,r.length):n=="string"&&t in r)?qw(r[t],e):!1}var Vye=Object.prototype;function xA(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||Vye;return e===r}function p6(e,t){for(var r=-1,n=Array(e);++r-1}function G0e(e,t){var r=this.__data__,n=Uw(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Jc(e){var t=-1,r=e==null?0:e.length;for(this.clear();++to?0:o+t),r=r>o?o:r,r<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var s=Array(o);++na))return!1;var c=s.get(e),u=s.get(t);if(c&&u)return c==t&&u==e;var d=-1,p=!0,f=r&W1e?new Jb:void 0;for(s.set(e,t),s.set(t,e);++d=t||_<0||d&&C>=s}function y(){var j=Lk();if(g(j))return b(j);a=setTimeout(y,v(j))}function b(j){return a=void 0,p&&n?f(j):(n=o=void 0,i)}function w(){a!==void 0&&clearTimeout(a),c=0,n=l=o=a=void 0}function k(){return a===void 0?i:b(Lk())}function x(){var j=Lk(),_=g(j);if(n=arguments,o=this,l=j,_){if(a===void 0)return m(l);if(d)return clearTimeout(a),a=setTimeout(y,t),f(l)}return a===void 0&&(a=setTimeout(y,t)),i}return x.cancel=w,x.flush=k,x}function qr(e){var t=e==null?0:e.length;return t?e[t-1]:void 0}function I6(e){return typeof e=="function"?e:_v}function Nwe(e,t){for(var r=e==null?0:e.length;r--&&t(e[r],r,e)!==!1;);return e}var Lwe=E6(!0);function Rwe(e,t){return e&&Lwe(e,t,Vw)}var Bwe=$6(Rwe,!0);function qwe(e,t){var r=Hs(e)?Nwe:Bwe;return r(e,I6(t))}function wc(e){return e&&e.length?e[0]:void 0}function D6(e,t){var r=-1,n=Sv(e)?Array(e.length):[];return T6(e,function(o,s,i){n[++r]=t(o,s,i)}),n}function zwe(e,t){var r=Hs(e)?Gm:D6;return r(e,Cv(t))}var Fwe=Object.prototype,Vwe=Fwe.hasOwnProperty,Uwe=P6(function(e,t,r){Vwe.call(e,r)?e[r].push(t):bA(e,r,[t])});function Xr(e){var t=e==null?0:e.length;return t?ube(e,0,-1):[]}var Hwe="[object Map]",Wwe="[object Set]",Gwe=Object.prototype,Jwe=Gwe.hasOwnProperty;function En(e){if(e==null)return!0;if(Sv(e)&&(Hs(e)||typeof e=="string"||typeof e.splice=="function"||jg(e)||kA(e)||zw(e)))return!e.length;var t=ea(e);if(t==Hwe||t==Wwe)return!e.size;if(xA(e))return!v6(e).length;for(var r in e)if(Jwe.call(e,r))return!1;return!0}function Hr(e,t){return Gw(e,t)}function Kwe(e,t){return et||s&&i&&l&&!a&&!c||n&&i&&l||!r&&l||!o)return 1;if(!n&&!s&&!c&&e=a)return l;var c=r[n];return l*(c=="desc"?-1:1)}}return e.index-t.index}function txe(e,t,r){t.length?t=Gm(t,function(s){return Hs(s)?function(i){return SA(i,s.length===1?s[0]:s)}:s}):t=[_v];var n=-1;t=Gm(t,Fw(Cv));var o=D6(e,function(s,i,a){var l=Gm(t,function(c){return c(s)});return{criteria:l,index:++n,value:s}});return Xwe(o,function(s,i){return exe(s,i,r)})}var rxe=P6(function(e,t,r){e[r?0:1].push(t)},function(){return[[],[]]}),nxe=Math.ceil,oxe=Math.max;function sxe(e,t,r,n){for(var o=-1,s=oxe(nxe((t-e)/(r||1)),0),i=Array(s);s--;)i[++o]=e,e+=r;return i}function ixe(e){return function(t,r,n){return n&&typeof n!="number"&&K_(t,r,n)&&(r=n=void 0),t=eb(t),r===void 0?(r=t,t=0):r=eb(r),n=n===void 0?t1&&K_(e,t[0],t[1])?t=[]:r>2&&K_(t[0],t[1],t[2])&&(t=[t[0]]),txe(e,lbe(t),[])}),lxe=9007199254740991,Rk=4294967295,cxe=Math.min;function uxe(e,t){if(e=lye(e),e<1||e>lxe)return[];var r=Rk,n=cxe(e,Rk);t=I6(t),e-=Rk;for(var o=p6(n,t);++rArray.isArray(e),pxe=e=>e&&typeof e=="object"&&!Jw(e),fxe=e=>typeof e=="string";function Uo(e){return(...t)=>{const r=t.map(s=>ls(s)),n=r[0],o=r[1];return r.length===1?s=>e(n(s)):r.length===2?s=>e(n(s),o(s)):s=>e(...r.map(i=>i(s)))}}const $d={pipe:(...e)=>{const t=e.map(r=>ls(r));return r=>t.reduce((n,o)=>o(n),r)},object:e=>{const t=Object.keys(e).map(r=>[r,ls(e[r])]);return r=>{const n={};for(const[o,s]of t)n[o]=s(r);return n}},array:(...e)=>{const t=e.map(r=>ls(r));return r=>t.map(n=>n(r))},get:(...e)=>{if(e.length===0)return t=>t??null;if(e.length===1){const t=e[0];return r=>(r==null?void 0:r[t])??null}return t=>{let r=t;for(const n of e)r=r==null?void 0:r[n];return r??null}},map:e=>{const t=ls(e);return r=>r.map(t)},mapObject:e=>{const t=ls(e);return r=>{const n={};for(const o of Object.keys(r)){const s=t({key:o,value:r[o]});n[s.key]=s.value}return n}},mapKeys:e=>{const t=ls(e);return r=>{const n={};for(const o of Object.keys(r)){const s=t(o);n[s]=r[o]}return n}},mapValues:e=>{const t=ls(e);return r=>{const n={};for(const o of Object.keys(r))n[o]=t(r[o]);return n}},filter:e=>{const t=ls(e);return r=>r.filter(n=>x3(t(n)))},sort:(e=["get"],t)=>{const r=ls(e),n=t==="desc"?-1:1;function o(s,i){const a=r(s),l=r(i);return a>l?n:as.slice().sort(o)},reverse:()=>e=>e.toReversed(),pick:(...e)=>{const t=e.map(([n,...o])=>[o[o.length-1],$d.get(...o)]),r=(n,o)=>{const s={};for(const[i,a]of o)s[i]=a(n);return s};return n=>Jw(n)?n.map(o=>r(o,t)):r(n,t)},groupBy:e=>{const t=ls(e);return r=>{const n={};for(const o of r){const s=t(o);n[s]?n[s].push(o):n[s]=[o]}return n}},keyBy:e=>{const t=ls(e);return r=>{const n={};for(const o of r){const s=t(o);s in n||(n[s]=o)}return n}},flatten:()=>e=>e.flat(),join:(e="")=>t=>t.join(e),split:Uo((e,t)=>t!==void 0?e.split(t):e.trim().split(/\s+/)),substring:Uo((e,t,r)=>e.slice(Math.max(t,0),r)),uniq:()=>e=>[...new Set(e)],uniqBy:e=>t=>Object.values($d.keyBy(e)(t)),limit:e=>t=>t.slice(0,Math.max(e,0)),size:()=>e=>e.length,keys:()=>Object.keys,values:()=>Object.values,prod:()=>e=>e.reduce((t,r)=>t*r),sum:()=>e=>e.reduce((t,r)=>t+r),average:()=>e=>$d.sum()(e)/e.length,min:()=>e=>Math.min(...e),max:()=>e=>Math.max(...e),and:Uo((e,t)=>!!(e&&t)),or:Uo((e,t)=>!!(e||t)),not:Uo(e=>!e),exists:e=>{const t=e.slice(1),r=t.pop(),n=$d.get(...t);return o=>{const s=n(o);return!!s&&Object.hasOwnProperty.call(s,r)}},if:(e,t,r)=>{const n=ls(e),o=ls(t),s=ls(r);return i=>x3(n(i))?o(i):s(i)},in:(e,t)=>{const r=ls(e),n=ls(t);return o=>n(o).includes(r(o))},"not in":(e,t)=>{const r=$d.in(e,t);return n=>!r(n)},regex:(e,t,r)=>{const n=new RegExp(t,r),o=ls(e);return s=>n.test(o(s))},eq:Uo((e,t)=>e===t),gt:Uo((e,t)=>e>t),gte:Uo((e,t)=>e>=t),lt:Uo((e,t)=>ee<=t),ne:Uo((e,t)=>e!==t),add:Uo((e,t)=>e+t),subtract:Uo((e,t)=>e-t),multiply:Uo((e,t)=>e*t),divide:Uo((e,t)=>e/t),pow:Uo((e,t)=>e**t),mod:Uo((e,t)=>e%t),abs:Uo(Math.abs),round:Uo((e,t=0)=>+`${Math.round(+`${e}e${t}`)}e${-t}`),number:Uo(e=>{const t=Number(e);return Number.isNaN(Number(e))?null:t}),string:Uo(String)},x3=e=>e!==null&&e!==0&&e!==!1,yy=[];function ls(e,t){yy.unshift({...$d,...yy[0]});try{const r=Jw(e)?hxe(e,yy[0]):pxe(e)?N6(`Function notation ["object", {...}] expected but got ${JSON.stringify(e)}`):()=>e;return n=>{try{return r(n)}catch(o){throw o.jsonquery=[{data:n,query:e},...o.jsonquery??[]],o}}}finally{yy.shift()}}function hxe(e,t){const[r,...n]=e,o=t[r];return o||N6(`Unknown function '${r}'`),o(...n)}function N6(e){throw new Error(e)}const L6={and:"and",or:"or",eq:"==",gt:">",gte:">=",lt:"<",lte:"<=",ne:"!=",add:"+",subtract:"-",multiply:"*",divide:"/",pow:"^",mod:"%",in:"in","not in":"not in"},mxe=/^[a-zA-Z_$][a-zA-Z\d_$]*$/,gxe=/^[a-zA-Z_$][a-zA-Z\d_$]*/,vxe=/^"(?:[^"\\]|\\.)*"/,yxe=/^-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?/,bxe=/^(0|[1-9][0-9]*)/,wxe=/^(true|false|null)/,xxe=/^[ \n\t\r]+/;function R6(e,t){const r={...L6},n=Object.keys(r).sort((_,C)=>C.length-_.length),o=()=>{b();const _=s();if(b(),e[x]==="|"){const C=[_];for(;e[x]==="|";)x++,b(),C.push(s());return["pipe",...C]}return _},s=()=>{const _=i();b();for(const C of n){const A=r[C];if(e.substring(x,x+A.length)===A){x+=A.length,b();const I=i();return[C,_,I]}}return _},i=()=>{if(e[x]==="("){x++;const _=o();return w(")"),_}return a()},a=()=>{if(e[x]==="."){const _=[];for(;e[x]===".";)x++,_.push(d()??p()??m()??k("Property expected"));return["get",..._]}return l()},l=()=>{const _=x,C=p();if(b(),!C||e[x]!=="(")return x=_,c();x++,!$d[C]&&k(`Unknown function '${C}'`),b();const A=e[x]!==")"?[o()]:[];for(;x{if(e[x]==="{"){x++,b();const _={};let C=!0;for(;x{if(e[x]==="["){x++,b();const _=[];let C=!0;for(;xy(vxe,JSON.parse),p=()=>y(gxe,_=>_),f=()=>y(yxe,JSON.parse),m=()=>y(bxe,JSON.parse),v=()=>{const _=y(wxe,JSON.parse);if(_!==void 0)return _;k("Value expected")},g=()=>{b(),x{const A=e.substring(x).match(_);if(A)return x+=A[0].length,C(A[0])},b=()=>y(xxe,_=>_),w=_=>{e[x]!==_&&k(`Character '${_}' expected`),x++},k=(_,C=x)=>{throw new SyntaxError(`${_} (pos: ${C})`)};let x=0;const j=o();return g(),j}const kxe=40,jxe=" ",_xe=(e,t)=>{const r=jxe,n=(c,u)=>Jw(c)?o(c,u):JSON.stringify(c),o=(c,u)=>{var d;const[p,...f]=c;if(p==="get"&&f.length>0)return i(f);if(p==="pipe"){const y=f.map(b=>n(b,u+r));return l(y,[""," | ",""],["",` ${u+r}| `,""])}if(p==="object")return s(f[0],u);if(p==="array"){const y=f.map(b=>n(b,u));return l(y,["[",", ","]"],[`[ ${u+r}`,`, ${u+r}`,` -${u}]`])}const m=((d=void 0)==null?void 0:d[p])??N6[p];if(m&&f.length===2){const[y,b]=f,w=n(y,u),k=n(b,u);return`(${w} ${m} ${k})`}const v=f.length===1?u:u+r,g=f.map(y=>n(y,v));return f.length===1&&g[0][0]==="("?`${p}${g[0]}`:l(g,[`${p}(`,", ",")"],f.length===1?[`${p}(`,`, +${u}]`])}const m=((d=void 0)==null?void 0:d[p])??L6[p];if(m&&f.length===2){const[y,b]=f,w=n(y,u),k=n(b,u);return`(${w} ${m} ${k})`}const v=f.length===1?u:u+r,g=f.map(y=>n(y,v));return f.length===1&&g[0][0]==="("?`${p}${g[0]}`:l(g,[`${p}(`,", ",")"],f.length===1?[`${p}(`,`, ${u}`,")"]:[`${p}( ${v}`,`, ${v}`,` ${u})`])},s=(c,u)=>{const d=u+r,p=Object.entries(c).map(([f,m])=>`${a(f)}: ${n(m,d)}`);return l(p,["{ ",", "," }"],[`{ ${d}`,`, ${d}`,` -${u}}`])},i=c=>c.map(u=>`.${a(u)}`).join(""),a=c=>mxe.test(c)?c:JSON.stringify(c),l=(c,[u,d,p],[f,m,v])=>u.length+c.reduce((g,y)=>g+y.length+d.length,0)-d.length+p.length<=kxe?u+c.join(d)+p:f+c.join(m)+v;return n(e,"")};function Sxe(e,t,r){return ls(fxe(t)?R6(t):t)(e)}const Cxe={prefix:"far",iconName:"lightbulb",icon:[384,512,[128161],"f0eb","M297.2 248.9C311.6 228.3 320 203.2 320 176c0-70.7-57.3-128-128-128S64 105.3 64 176c0 27.2 8.4 52.3 22.8 72.9c3.7 5.3 8.1 11.3 12.8 17.7c0 0 0 0 0 0c12.9 17.7 28.3 38.9 39.8 59.8c10.4 19 15.7 38.8 18.3 57.5L109 384c-2.2-12-5.9-23.7-11.8-34.5c-9.9-18-22.2-34.9-34.5-51.8c0 0 0 0 0 0s0 0 0 0c-5.2-7.1-10.4-14.2-15.4-21.4C27.6 247.9 16 213.3 16 176C16 78.8 94.8 0 192 0s176 78.8 176 176c0 37.3-11.6 71.9-31.4 100.3c-5 7.2-10.2 14.3-15.4 21.4c0 0 0 0 0 0s0 0 0 0c-12.3 16.8-24.6 33.7-34.5 51.8c-5.9 10.8-9.6 22.5-11.8 34.5l-48.6 0c2.6-18.7 7.9-38.6 18.3-57.5c11.5-20.9 26.9-42.1 39.8-59.8c0 0 0 0 0 0s0 0 0 0s0 0 0 0c4.7-6.4 9-12.4 12.7-17.7zM192 128c-26.5 0-48 21.5-48 48c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-44.2 35.8-80 80-80c8.8 0 16 7.2 16 16s-7.2 16-16 16zm0 384c-44.2 0-80-35.8-80-80l0-16 160 0 0 16c0 44.2-35.8 80-80 80z"]},Axe={prefix:"far",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},B6=Axe,q6={prefix:"far",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M384 80c8.8 0 16 7.2 16 16l0 320c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16L48 96c0-8.8 7.2-16 16-16l320 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},Exe={prefix:"far",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]},tS={prefix:"fas",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","M135.2 17.7C140.6 6.8 151.7 0 163.8 0L284.2 0c12.1 0 23.2 6.8 28.6 17.7L320 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l96 0 7.2-14.3zM32 128l384 0 0 320c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64l0-320zm96 64c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16z"]},Oxe={prefix:"fas",iconName:"down-left-and-up-right-to-center",icon:[512,512,["compress-alt"],"f422","M439 7c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8l-144 0c-13.3 0-24-10.7-24-24l0-144c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39L439 7zM72 272l144 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39L73 505c-9.4 9.4-24.6 9.4-33.9 0L7 473c-9.4-9.4-9.4-24.6 0-33.9l87-87L55 313c-6.9-6.9-8.9-17.2-5.2-26.2s12.5-14.8 22.2-14.8z"]},Cg={prefix:"fas",iconName:"caret-right",icon:[256,512,[],"f0da","M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z"]},z6={prefix:"fas",iconName:"paste",icon:[512,512,["file-clipboard"],"f0ea","M160 0c-23.7 0-44.4 12.9-55.4 32L48 32C21.5 32 0 53.5 0 80L0 400c0 26.5 21.5 48 48 48l144 0 0-272c0-44.2 35.8-80 80-80l48 0 0-16c0-26.5-21.5-48-48-48l-56.6 0C204.4 12.9 183.7 0 160 0zM272 128c-26.5 0-48 21.5-48 48l0 272 0 16c0 26.5 21.5 48 48 48l192 0c26.5 0 48-21.5 48-48l0-220.1c0-12.7-5.1-24.9-14.1-33.9l-67.9-67.9c-9-9-21.2-14.1-33.9-14.1L320 128l-48 0zM160 40a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},$xe={prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8C121.8 95.6 64 169.1 64 256c0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1c-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256c0 141.4-114.6 256-256 256S0 397.4 0 256C0 140 77.1 42.1 182.9 10.6c16.9-5 34.8 4.6 39.8 21.5z"]},Txe={prefix:"fas",iconName:"scissors",icon:[512,512,[9984,9986,9988,"cut"],"f0c4","M256 192l-39.5-39.5c4.9-12.6 7.5-26.2 7.5-40.5C224 50.1 173.9 0 112 0S0 50.1 0 112s50.1 112 112 112c14.3 0 27.9-2.7 40.5-7.5L192 256l-39.5 39.5c-12.6-4.9-26.2-7.5-40.5-7.5C50.1 288 0 338.1 0 400s50.1 112 112 112s112-50.1 112-112c0-14.3-2.7-27.9-7.5-40.5L499.2 76.8c7.1-7.1 7.1-18.5 0-25.6c-28.3-28.3-74.1-28.3-102.4 0L256 192zm22.6 150.6L396.8 460.8c28.3 28.3 74.1 28.3 102.4 0c7.1-7.1 7.1-18.5 0-25.6L342.6 278.6l-64 64zM64 112a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm48 240a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},Nf=Txe,Pxe={prefix:"fas",iconName:"square-caret-down",icon:[448,512,["caret-square-down"],"f150","M384 480c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0zM224 352c-6.7 0-13-2.8-17.6-7.7l-104-112c-6.5-7-8.2-17.2-4.4-25.9s12.5-14.4 22-14.4l208 0c9.5 0 18.2 5.7 22 14.4s2.1 18.9-4.4 25.9l-104 112c-4.5 4.9-10.9 7.7-17.6 7.7z"]},Ixe=Pxe,Dxe={prefix:"fas",iconName:"caret-left",icon:[256,512,[],"f0d9","M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z"]},Mxe={prefix:"fas",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},F6=Mxe,Lxe={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 64z"]},Nxe=Lxe,Rxe={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},V6={prefix:"fas",iconName:"angle-right",icon:[320,512,[8250],"f105","M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]},Bxe={prefix:"fas",iconName:"square-caret-up",icon:[448,512,["caret-square-up"],"f151","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM224 160c6.7 0 13 2.8 17.6 7.7l104 112c6.5 7 8.2 17.2 4.4 25.9s-12.5 14.4-22 14.4l-208 0c-9.5 0-18.2-5.7-22-14.4s-2.1-18.9 4.4-25.9l104-112c4.5-4.9 10.9-7.7 17.6-7.7z"]},qxe=Bxe,zxe={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l256 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]},U6={prefix:"fas",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96z"]},Qb={prefix:"fas",iconName:"filter",icon:[512,512,[],"f0b0","M3.9 54.9C10.5 40.9 24.5 32 40 32l432 0c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9 320 448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6l0-79.1L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z"]},Zb={prefix:"fas",iconName:"code",icon:[640,512,[],"f121","M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"]},ah={prefix:"fas",iconName:"wrench",icon:[512,512,[128295],"f0ad","M352 320c88.4 0 160-71.6 160-160c0-15.3-2.2-30.1-6.2-44.2c-3.1-10.8-16.4-13.2-24.3-5.3l-76.8 76.8c-3 3-7.1 4.7-11.3 4.7L336 192c-8.8 0-16-7.2-16-16l0-57.4c0-4.2 1.7-8.3 4.7-11.3l76.8-76.8c7.9-7.9 5.4-21.2-5.3-24.3C382.1 2.2 367.3 0 352 0C263.6 0 192 71.6 192 160c0 19.1 3.4 37.5 9.5 54.5L19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L297.5 310.5c17 6.2 35.4 9.5 54.5 9.5zM80 408a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},Fxe={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},Rf={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"]},Vxe={prefix:"fas",iconName:"arrow-rotate-right",icon:[512,512,[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],"f01e","M386.3 160L336 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0s-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3s163.8-62.5 226.3 0L386.3 160z"]},AA=Vxe,Uxe={prefix:"fas",iconName:"arrow-rotate-left",icon:[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],"f0e2","M125.7 160l50.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L48 224c-17.7 0-32-14.3-32-32L16 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z"]},EA=Uxe,Hxe={prefix:"fas",iconName:"crop-simple",icon:[512,512,["crop-alt"],"f565","M128 32c0-17.7-14.3-32-32-32S64 14.3 64 32l0 32L32 64C14.3 64 0 78.3 0 96s14.3 32 32 32l32 0 0 256c0 35.3 28.7 64 64 64l224 0 0-64-224 0 0-352zM384 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32 32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0 0-256c0-35.3-28.7-64-64-64L160 64l0 64 224 0 0 352z"]},Wxe=Hxe,Gxe={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},Jxe=Gxe,Wu={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},Kxe={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"]},H6=Kxe,by={prefix:"fas",iconName:"arrow-right-arrow-left",icon:[448,512,[8644,"exchange"],"f0ec","M438.6 150.6c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.7 96 32 96C14.3 96 0 110.3 0 128s14.3 32 32 32l306.7 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96zm-333.3 352c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 416 416 416c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96z"]},Qxe={prefix:"fas",iconName:"arrow-down-short-wide",icon:[576,512,["sort-amount-desc","sort-amount-down-alt"],"f884","M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7 96 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 301.7 32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 32l32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},Xb=Qxe,Zxe={prefix:"fas",iconName:"angle-down",icon:[448,512,[8964],"f107","M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},k3={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},Xxe={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},Kw=Xxe,Yxe={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},bu={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0L332.1 0c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9L448 336c0 26.5-21.5 48-48 48l-192 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48zM48 128l80 0 0 64-64 0 0 256 192 0 0-32 64 0 0 48c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 176c0-26.5 21.5-48 48-48z"]},jf={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},W6={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},eke=W6,Qw=W6,tke={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c-17.5 17.5-30.1 38-37.8 59.8c-5.9 16.7-24.2 25.4-40.8 19.5s-25.4-24.2-19.5-40.8C55.6 150.7 73.2 122 97.6 97.6c87.2-87.2 228.3-87.5 315.8-1L455 55c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2l0 128c0 13.3-10.7 24-24 24l-8.4 0c0 0 0 0 0 0L344 224c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l41.1-41.1c-62.6-61.5-163.1-61.2-225.3 1zM16 312c0-13.3 10.7-24 24-24l7.6 0 .7 0L168 288c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-41.1 41.1c62.6 61.5 163.1 61.2 225.3-1c17.5-17.5 30.1-38 37.8-59.8c5.9-16.7 24.2-25.4 40.8-19.5s25.4 24.2 19.5 40.8c-10.8 30.6-28.4 59.3-52.9 83.8c-87.2 87.2-228.3 87.5-315.8 1L57 457c-6.9 6.9-17.2 8.9-26.2 5.2S16 449.7 16 440l0-119.6 0-.7 0-7.6z"]},rke={prefix:"fas",iconName:"up-right-and-down-left-from-center",icon:[512,512,["expand-alt"],"f424","M344 0L488 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87L327 41c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 0 344 0zM168 512L24 512c-13.3 0-24-10.7-24-24L0 344c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8z"]},G6={prefix:"fas",iconName:"clone",icon:[512,512,[],"f24d","M288 448L64 448l0-224 64 0 0-64-64 0c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l224 0c35.3 0 64-28.7 64-64l0-64-64 0 0 64zm-64-96l224 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64L224 0c-35.3 0-64 28.7-64 64l0 224c0 35.3 28.7 64 64 64z"]},OA={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},nke={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},sp=nke;var Bk={exports:{}},j3;function oke(){if(j3)return Bk.exports;j3=1;var e=function(t,r){var n,o,s=1,i=0,a=0,l=String.alphabet;function c(u,d,p){if(p){for(n=d;p=c(u,n),p<76&&p>65;)++n;return+u.slice(d-1,n)}return p=l&&l.indexOf(u.charAt(d)),p>-1?p+76:(p=u.charCodeAt(d)||0,p<45||p>127?p:p<46?65:p<48?p-1:p<58?p+18:p<65?p-11:p<91?p+11:p<97?p-37:p<123?p+5:p-63)}if((t+="")!=(r+="")){for(;s;)if(o=c(t,i++),s=c(r,a++),o<76&&s<76&&o>66&&s>66&&(o=c(t,i,i),s=c(r,a,i=n),a=n),o!=s)return o1)return!1;const b=this._items[0];return b===""||b==='""'}get str(){var b;return(b=this._str)!==null&&b!==void 0?b:this._str=this._items.reduce((w,k)=>`${w}${k}`,"")}get names(){var b;return(b=this._names)!==null&&b!==void 0?b:this._names=this._items.reduce((w,k)=>(k instanceof r&&(w[k.str]=(w[k.str]||0)+1),w),{})}}e._Code=n,e.nil=new n("");function o(y,...b){const w=[y[0]];let k=0;for(;k{if(d.scopePath===void 0)throw new Error(`CodeGen: name "${d}" has no value`);return(0,t._)`${c}${d.scopePath}`})}scopeCode(c=this._values,u,d){return this._reduceValues(c,p=>{if(p.value===void 0)throw new Error(`CodeGen: name "${p}" has no value`);return p.value.code},u,d)}_reduceValues(c,u,d={},p){let f=t.nil;for(const m in c){const v=c[m];if(!v)continue;const g=d[m]=d[m]||new Map;v.forEach(y=>{if(g.has(y))return;g.set(y,n.Started);let b=u(y);if(b){const w=this.opts.es5?e.varKinds.var:e.varKinds.const;f=(0,t._)`${f}${w} ${y} = ${b};${this.opts._n}`}else if(b=p==null?void 0:p(y))f=(0,t._)`${f}${b}${this.opts._n}`;else throw new r(y);g.set(y,n.Completed)})}return f}}e.ValueScope=a}($3)),$3}var I3;function ln(){return I3||(I3=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=Yb(),r=P3();var n=Yb();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var o=P3();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class s{optimizeNodes(){return this}optimizeNames(O,D){return this}}class i extends s{constructor(O,D,Z){super(),this.varKind=O,this.name=D,this.rhs=Z}render({es5:O,_n:D}){const Z=O?r.varKinds.var:this.varKind,Se=this.rhs===void 0?"":` = ${this.rhs}`;return`${Z} ${this.name}${Se};`+D}optimizeNames(O,D){if(O[this.name.str])return this.rhs&&(this.rhs=z(this.rhs,O,D)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class a extends s{constructor(O,D,Z){super(),this.lhs=O,this.rhs=D,this.sideEffects=Z}render({_n:O}){return`${this.lhs} = ${this.rhs};`+O}optimizeNames(O,D){if(!(this.lhs instanceof t.Name&&!O[this.lhs.str]&&!this.sideEffects))return this.rhs=z(this.rhs,O,D),this}get names(){const O=this.lhs instanceof t.Name?{}:{...this.lhs.names};return F(O,this.rhs)}}class l extends a{constructor(O,D,Z,Se){super(O,Z,Se),this.op=D}render({_n:O}){return`${this.lhs} ${this.op}= ${this.rhs};`+O}}class c extends s{constructor(O){super(),this.label=O,this.names={}}render({_n:O}){return`${this.label}:`+O}}class u extends s{constructor(O){super(),this.label=O,this.names={}}render({_n:O}){return`break${this.label?` ${this.label}`:""};`+O}}class d extends s{constructor(O){super(),this.error=O}render({_n:O}){return`throw ${this.error};`+O}get names(){return this.error.names}}class p extends s{constructor(O){super(),this.code=O}render({_n:O}){return`${this.code};`+O}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(O,D){return this.code=z(this.code,O,D),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class f extends s{constructor(O=[]){super(),this.nodes=O}render(O){return this.nodes.reduce((D,Z)=>D+Z.render(O),"")}optimizeNodes(){const{nodes:O}=this;let D=O.length;for(;D--;){const Z=O[D].optimizeNodes();Array.isArray(Z)?O.splice(D,1,...Z):Z?O[D]=Z:O.splice(D,1)}return O.length>0?this:void 0}optimizeNames(O,D){const{nodes:Z}=this;let Se=Z.length;for(;Se--;){const ie=Z[Se];ie.optimizeNames(O,D)||(L(O,ie.names),Z.splice(Se,1))}return Z.length>0?this:void 0}get names(){return this.nodes.reduce((O,D)=>N(O,D.names),{})}}class m extends f{render(O){return"{"+O._n+super.render(O)+"}"+O._n}}class v extends f{}class g extends m{}g.kind="else";class y extends m{constructor(O,D){super(D),this.condition=O}render(O){let D=`if(${this.condition})`+super.render(O);return this.else&&(D+="else "+this.else.render(O)),D}optimizeNodes(){super.optimizeNodes();const O=this.condition;if(O===!0)return this.nodes;let D=this.else;if(D){const Z=D.optimizeNodes();D=this.else=Array.isArray(Z)?new g(Z):Z}if(D)return O===!1?D instanceof y?D:D.nodes:this.nodes.length?this:new y(X(O),D instanceof y?[D]:D.nodes);if(!(O===!1||!this.nodes.length))return this}optimizeNames(O,D){var Z;if(this.else=(Z=this.else)===null||Z===void 0?void 0:Z.optimizeNames(O,D),!!(super.optimizeNames(O,D)||this.else))return this.condition=z(this.condition,O,D),this}get names(){const O=super.names;return F(O,this.condition),this.else&&N(O,this.else.names),O}}y.kind="if";class b extends m{}b.kind="for";class w extends b{constructor(O){super(),this.iteration=O}render(O){return`for(${this.iteration})`+super.render(O)}optimizeNames(O,D){if(super.optimizeNames(O,D))return this.iteration=z(this.iteration,O,D),this}get names(){return N(super.names,this.iteration.names)}}class k extends b{constructor(O,D,Z,Se){super(),this.varKind=O,this.name=D,this.from=Z,this.to=Se}render(O){const D=O.es5?r.varKinds.var:this.varKind,{name:Z,from:Se,to:ie}=this;return`for(${D} ${Z}=${Se}; ${Z}<${ie}; ${Z}++)`+super.render(O)}get names(){const O=F(super.names,this.from);return F(O,this.to)}}class x extends b{constructor(O,D,Z,Se){super(),this.loop=O,this.varKind=D,this.name=Z,this.iterable=Se}render(O){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(O)}optimizeNames(O,D){if(super.optimizeNames(O,D))return this.iterable=z(this.iterable,O,D),this}get names(){return N(super.names,this.iterable.names)}}class j extends m{constructor(O,D,Z){super(),this.name=O,this.args=D,this.async=Z}render(O){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(O)}}j.kind="func";class _ extends f{render(O){return"return "+super.render(O)}}_.kind="return";class C extends m{render(O){let D="try"+super.render(O);return this.catch&&(D+=this.catch.render(O)),this.finally&&(D+=this.finally.render(O)),D}optimizeNodes(){var O,D;return super.optimizeNodes(),(O=this.catch)===null||O===void 0||O.optimizeNodes(),(D=this.finally)===null||D===void 0||D.optimizeNodes(),this}optimizeNames(O,D){var Z,Se;return super.optimizeNames(O,D),(Z=this.catch)===null||Z===void 0||Z.optimizeNames(O,D),(Se=this.finally)===null||Se===void 0||Se.optimizeNames(O,D),this}get names(){const O=super.names;return this.catch&&N(O,this.catch.names),this.finally&&N(O,this.finally.names),O}}class A extends m{constructor(O){super(),this.error=O}render(O){return`catch(${this.error})`+super.render(O)}}A.kind="catch";class I extends m{render(O){return"finally"+super.render(O)}}I.kind="finally";class M{constructor(O,D={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...D,_n:D.lines?` -`:""},this._extScope=O,this._scope=new r.Scope({parent:O}),this._nodes=[new v]}toString(){return this._root.render(this.opts)}name(O){return this._scope.name(O)}scopeName(O){return this._extScope.name(O)}scopeValue(O,D){const Z=this._extScope.value(O,D);return(this._values[Z.prefix]||(this._values[Z.prefix]=new Set)).add(Z),Z}getScopeValue(O,D){return this._extScope.getValue(O,D)}scopeRefs(O){return this._extScope.scopeRefs(O,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(O,D,Z,Se){const ie=this._scope.toName(D);return Z!==void 0&&Se&&(this._constants[ie.str]=Z),this._leafNode(new i(O,ie,Z)),ie}const(O,D,Z){return this._def(r.varKinds.const,O,D,Z)}let(O,D,Z){return this._def(r.varKinds.let,O,D,Z)}var(O,D,Z){return this._def(r.varKinds.var,O,D,Z)}assign(O,D,Z){return this._leafNode(new a(O,D,Z))}add(O,D){return this._leafNode(new l(O,e.operators.ADD,D))}code(O){return typeof O=="function"?O():O!==t.nil&&this._leafNode(new p(O)),this}object(...O){const D=["{"];for(const[Z,Se]of O)D.length>1&&D.push(","),D.push(Z),(Z!==Se||this.opts.es5)&&(D.push(":"),(0,t.addCodeArg)(D,Se));return D.push("}"),new t._Code(D)}if(O,D,Z){if(this._blockNode(new y(O)),D&&Z)this.code(D).else().code(Z).endIf();else if(D)this.code(D).endIf();else if(Z)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(O){return this._elseNode(new y(O))}else(){return this._elseNode(new g)}endIf(){return this._endBlockNode(y,g)}_for(O,D){return this._blockNode(O),D&&this.code(D).endFor(),this}for(O,D){return this._for(new w(O),D)}forRange(O,D,Z,Se,ie=this.opts.es5?r.varKinds.var:r.varKinds.let){const re=this._scope.toName(O);return this._for(new k(ie,re,D,Z),()=>Se(re))}forOf(O,D,Z,Se=r.varKinds.const){const ie=this._scope.toName(O);if(this.opts.es5){const re=D instanceof t.Name?D:this.var("_arr",D);return this.forRange("_i",0,(0,t._)`${re}.length`,xe=>{this.var(ie,(0,t._)`${re}[${xe}]`),Z(ie)})}return this._for(new x("of",Se,ie,D),()=>Z(ie))}forIn(O,D,Z,Se=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(O,(0,t._)`Object.keys(${D})`,Z);const ie=this._scope.toName(O);return this._for(new x("in",Se,ie,D),()=>Z(ie))}endFor(){return this._endBlockNode(b)}label(O){return this._leafNode(new c(O))}break(O){return this._leafNode(new u(O))}return(O){const D=new _;if(this._blockNode(D),this.code(O),D.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(_)}try(O,D,Z){if(!D&&!Z)throw new Error('CodeGen: "try" without "catch" and "finally"');const Se=new C;if(this._blockNode(Se),this.code(O),D){const ie=this.name("e");this._currNode=Se.catch=new A(ie),D(ie)}return Z&&(this._currNode=Se.finally=new I,this.code(Z)),this._endBlockNode(A,I)}throw(O){return this._leafNode(new d(O))}block(O,D){return this._blockStarts.push(this._nodes.length),O&&this.code(O).endBlock(D),this}endBlock(O){const D=this._blockStarts.pop();if(D===void 0)throw new Error("CodeGen: not in self-balancing block");const Z=this._nodes.length-D;if(Z<0||O!==void 0&&Z!==O)throw new Error(`CodeGen: wrong number of nodes: ${Z} vs ${O} expected`);return this._nodes.length=D,this}func(O,D=t.nil,Z,Se){return this._blockNode(new j(O,D,Z)),Se&&this.code(Se).endFunc(),this}endFunc(){return this._endBlockNode(j)}optimize(O=1){for(;O-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(O){return this._currNode.nodes.push(O),this}_blockNode(O){this._currNode.nodes.push(O),this._nodes.push(O)}_endBlockNode(O,D){const Z=this._currNode;if(Z instanceof O||D&&Z instanceof D)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${D?`${O.kind}/${D.kind}`:O.kind}"`)}_elseNode(O){const D=this._currNode;if(!(D instanceof y))throw new Error('CodeGen: "else" without "if"');return this._currNode=D.else=O,this}get _root(){return this._nodes[0]}get _currNode(){const O=this._nodes;return O[O.length-1]}set _currNode(O){const D=this._nodes;D[D.length-1]=O}}e.CodeGen=M;function N(q,O){for(const D in O)q[D]=(q[D]||0)+(O[D]||0);return q}function F(q,O){return O instanceof t._CodeOrName?N(q,O.names):q}function z(q,O,D){if(q instanceof t.Name)return Z(q);if(!Se(q))return q;return new t._Code(q._items.reduce((ie,re)=>(re instanceof t.Name&&(re=Z(re)),re instanceof t._Code?ie.push(...re._items):ie.push(re),ie),[]));function Z(ie){const re=D[ie.str];return re===void 0||O[ie.str]!==1?ie:(delete O[ie.str],re)}function Se(ie){return ie instanceof t._Code&&ie._items.some(re=>re instanceof t.Name&&O[re.str]===1&&D[re.str]!==void 0)}}function L(q,O){for(const D in O)q[D]=(q[D]||0)-(O[D]||0)}function X(q){return typeof q=="boolean"||typeof q=="number"||q===null?!q:(0,t._)`!${se(q)}`}e.not=X;const V=B(e.operators.AND);function J(...q){return q.reduce(V)}e.and=J;const oe=B(e.operators.OR);function H(...q){return q.reduce(oe)}e.or=H;function B(q){return(O,D)=>O===t.nil?D:D===t.nil?O:(0,t._)`${se(O)} ${q} ${se(D)}`}function se(q){return q instanceof t.Name?q:(0,t._)`(${q})`}}(A3)),A3}var Qr={},D3;function $n(){if(D3)return Qr;D3=1,Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.checkStrictMode=Qr.getErrorPath=Qr.Type=Qr.useFunc=Qr.setEvaluated=Qr.evaluatedPropsToName=Qr.mergeEvaluated=Qr.eachItem=Qr.unescapeJsonPointer=Qr.escapeJsonPointer=Qr.escapeFragment=Qr.unescapeFragment=Qr.schemaRefOrVal=Qr.schemaHasRulesButRef=Qr.schemaHasRules=Qr.checkUnknownRules=Qr.alwaysValidSchema=Qr.toHash=void 0;const e=ln(),t=Yb();function r(x){const j={};for(const _ of x)j[_]=!0;return j}Qr.toHash=r;function n(x,j){return typeof j=="boolean"?j:Object.keys(j).length===0?!0:(o(x,j),!s(j,x.self.RULES.all))}Qr.alwaysValidSchema=n;function o(x,j=x.schema){const{opts:_,self:C}=x;if(!_.strictSchema||typeof j=="boolean")return;const A=C.RULES.keywords;for(const I in j)A[I]||k(x,`unknown keyword: "${I}"`)}Qr.checkUnknownRules=o;function s(x,j){if(typeof x=="boolean")return!x;for(const _ in x)if(j[_])return!0;return!1}Qr.schemaHasRules=s;function i(x,j){if(typeof x=="boolean")return!x;for(const _ in x)if(_!=="$ref"&&j.all[_])return!0;return!1}Qr.schemaHasRulesButRef=i;function a({topSchemaRef:x,schemaPath:j},_,C,A){if(!A){if(typeof _=="number"||typeof _=="boolean")return _;if(typeof _=="string")return(0,e._)`${_}`}return(0,e._)`${x}${j}${(0,e.getProperty)(C)}`}Qr.schemaRefOrVal=a;function l(x){return d(decodeURIComponent(x))}Qr.unescapeFragment=l;function c(x){return encodeURIComponent(u(x))}Qr.escapeFragment=c;function u(x){return typeof x=="number"?`${x}`:x.replace(/~/g,"~0").replace(/\//g,"~1")}Qr.escapeJsonPointer=u;function d(x){return x.replace(/~1/g,"/").replace(/~0/g,"~")}Qr.unescapeJsonPointer=d;function p(x,j){if(Array.isArray(x))for(const _ of x)j(_);else j(x)}Qr.eachItem=p;function f({mergeNames:x,mergeToName:j,mergeValues:_,resultToName:C}){return(A,I,M,N)=>{const F=M===void 0?I:M instanceof e.Name?(I instanceof e.Name?x(A,I,M):j(A,I,M),M):I instanceof e.Name?(j(A,M,I),I):_(I,M);return N===e.Name&&!(F instanceof e.Name)?C(A,F):F}}Qr.mergeEvaluated={props:f({mergeNames:(x,j,_)=>x.if((0,e._)`${_} !== true && ${j} !== undefined`,()=>{x.if((0,e._)`${j} === true`,()=>x.assign(_,!0),()=>x.assign(_,(0,e._)`${_} || {}`).code((0,e._)`Object.assign(${_}, ${j})`))}),mergeToName:(x,j,_)=>x.if((0,e._)`${_} !== true`,()=>{j===!0?x.assign(_,!0):(x.assign(_,(0,e._)`${_} || {}`),v(x,_,j))}),mergeValues:(x,j)=>x===!0?!0:{...x,...j},resultToName:m}),items:f({mergeNames:(x,j,_)=>x.if((0,e._)`${_} !== true && ${j} !== undefined`,()=>x.assign(_,(0,e._)`${j} === true ? true : ${_} > ${j} ? ${_} : ${j}`)),mergeToName:(x,j,_)=>x.if((0,e._)`${_} !== true`,()=>x.assign(_,j===!0?!0:(0,e._)`${_} > ${j} ? ${_} : ${j}`)),mergeValues:(x,j)=>x===!0?!0:Math.max(x,j),resultToName:(x,j)=>x.var("items",j)})};function m(x,j){if(j===!0)return x.var("props",!0);const _=x.var("props",(0,e._)`{}`);return j!==void 0&&v(x,_,j),_}Qr.evaluatedPropsToName=m;function v(x,j,_){Object.keys(_).forEach(C=>x.assign((0,e._)`${j}${(0,e.getProperty)(C)}`,!0))}Qr.setEvaluated=v;const g={};function y(x,j){return x.scopeValue("func",{ref:j,code:g[j.code]||(g[j.code]=new t._Code(j.code))})}Qr.useFunc=y;var b;(function(x){x[x.Num=0]="Num",x[x.Str=1]="Str"})(b||(Qr.Type=b={}));function w(x,j,_){if(x instanceof e.Name){const C=j===b.Num;return _?C?(0,e._)`"[" + ${x} + "]"`:(0,e._)`"['" + ${x} + "']"`:C?(0,e._)`"/" + ${x}`:(0,e._)`"/" + ${x}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return _?(0,e.getProperty)(x).toString():"/"+u(x)}Qr.getErrorPath=w;function k(x,j,_=x.opts.strictSchema){if(_){if(j=`strict mode: ${j}`,_===!0)throw new Error(j);x.self.logger.warn(j)}}return Qr.checkStrictMode=k,Qr}var wy={},M3;function ld(){if(M3)return wy;M3=1,Object.defineProperty(wy,"__esModule",{value:!0});const e=ln(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return wy.default=t,wy}var L3;function Zw(){return L3||(L3=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=ln(),r=$n(),n=ld();e.keywordError={message:({keyword:g})=>(0,t.str)`must pass "${g}" keyword validation`},e.keyword$DataError={message:({keyword:g,schemaType:y})=>y?(0,t.str)`"${g}" keyword must be ${y} ($data)`:(0,t.str)`"${g}" keyword is invalid ($data)`};function o(g,y=e.keywordError,b,w){const{it:k}=g,{gen:x,compositeRule:j,allErrors:_}=k,C=d(g,y,b);w??(j||_)?l(x,C):c(k,(0,t._)`[${C}]`)}e.reportError=o;function s(g,y=e.keywordError,b){const{it:w}=g,{gen:k,compositeRule:x,allErrors:j}=w,_=d(g,y,b);l(k,_),x||j||c(w,n.default.vErrors)}e.reportExtraError=s;function i(g,y){g.assign(n.default.errors,y),g.if((0,t._)`${n.default.vErrors} !== null`,()=>g.if(y,()=>g.assign((0,t._)`${n.default.vErrors}.length`,y),()=>g.assign(n.default.vErrors,null)))}e.resetErrorsCount=i;function a({gen:g,keyword:y,schemaValue:b,data:w,errsCount:k,it:x}){if(k===void 0)throw new Error("ajv implementation error");const j=g.name("err");g.forRange("i",k,n.default.errors,_=>{g.const(j,(0,t._)`${n.default.vErrors}[${_}]`),g.if((0,t._)`${j}.instancePath === undefined`,()=>g.assign((0,t._)`${j}.instancePath`,(0,t.strConcat)(n.default.instancePath,x.errorPath))),g.assign((0,t._)`${j}.schemaPath`,(0,t.str)`${x.errSchemaPath}/${y}`),x.opts.verbose&&(g.assign((0,t._)`${j}.schema`,b),g.assign((0,t._)`${j}.data`,w))})}e.extendErrors=a;function l(g,y){const b=g.const("err",y);g.if((0,t._)`${n.default.vErrors} === null`,()=>g.assign(n.default.vErrors,(0,t._)`[${b}]`),(0,t._)`${n.default.vErrors}.push(${b})`),g.code((0,t._)`${n.default.errors}++`)}function c(g,y){const{gen:b,validateName:w,schemaEnv:k}=g;k.$async?b.throw((0,t._)`new ${g.ValidationError}(${y})`):(b.assign((0,t._)`${w}.errors`,y),b.return(!1))}const u={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function d(g,y,b){const{createErrors:w}=g.it;return w===!1?(0,t._)`{}`:p(g,y,b)}function p(g,y,b={}){const{gen:w,it:k}=g,x=[f(k,b),m(g,b)];return v(g,y,x),w.object(...x)}function f({errorPath:g},{instancePath:y}){const b=y?(0,t.str)`${g}${(0,r.getErrorPath)(y,r.Type.Str)}`:g;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,b)]}function m({keyword:g,it:{errSchemaPath:y}},{schemaPath:b,parentSchema:w}){let k=w?y:(0,t.str)`${y}/${g}`;return b&&(k=(0,t.str)`${k}${(0,r.getErrorPath)(b,r.Type.Str)}`),[u.schemaPath,k]}function v(g,{params:y,message:b},w){const{keyword:k,data:x,schemaValue:j,it:_}=g,{opts:C,propertyName:A,topSchemaRef:I,schemaPath:M}=_;w.push([u.keyword,k],[u.params,typeof y=="function"?y(g):y||(0,t._)`{}`]),C.messages&&w.push([u.message,typeof b=="function"?b(g):b]),C.verbose&&w.push([u.schema,j],[u.parentSchema,(0,t._)`${I}${M}`],[n.default.data,x]),A&&w.push([u.propertyName,A])}}(C3)),C3}var N3;function cke(){if(N3)return wd;N3=1,Object.defineProperty(wd,"__esModule",{value:!0}),wd.boolOrEmptySchema=wd.topBoolOrEmptySchema=void 0;const e=Zw(),t=ln(),r=ld(),n={message:"boolean schema is false"};function o(a){const{gen:l,schema:c,validateName:u}=a;c===!1?i(a,!1):typeof c=="object"&&c.$async===!0?l.return(r.default.data):(l.assign((0,t._)`${u}.errors`,null),l.return(!0))}wd.topBoolOrEmptySchema=o;function s(a,l){const{gen:c,schema:u}=a;u===!1?(c.var(l,!1),i(a)):c.var(l,!0)}wd.boolOrEmptySchema=s;function i(a,l){const{gen:c,data:u}=a,d={gen:c,keyword:"false schema",data:u,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:a};(0,e.reportError)(d,n,void 0,l)}return wd}var Ss={},xd={},R3;function J6(){if(R3)return xd;R3=1,Object.defineProperty(xd,"__esModule",{value:!0}),xd.getRules=xd.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function r(o){return typeof o=="string"&&t.has(o)}xd.isJSONType=r;function n(){const o={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...o,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},o.number,o.string,o.array,o.object],post:{rules:[]},all:{},keywords:{}}}return xd.getRules=n,xd}var tc={},B3;function K6(){if(B3)return tc;B3=1,Object.defineProperty(tc,"__esModule",{value:!0}),tc.shouldUseRule=tc.shouldUseGroup=tc.schemaHasRulesForType=void 0;function e({schema:n,self:o},s){const i=o.RULES.types[s];return i&&i!==!0&&t(n,i)}tc.schemaHasRulesForType=e;function t(n,o){return o.rules.some(s=>r(n,s))}tc.shouldUseGroup=t;function r(n,o){var s;return n[o.keyword]!==void 0||((s=o.definition.implements)===null||s===void 0?void 0:s.some(i=>n[i]!==void 0))}return tc.shouldUseRule=r,tc}var q3;function e1(){if(q3)return Ss;q3=1,Object.defineProperty(Ss,"__esModule",{value:!0}),Ss.reportTypeError=Ss.checkDataTypes=Ss.checkDataType=Ss.coerceAndCheckDataType=Ss.getJSONTypes=Ss.getSchemaTypes=Ss.DataType=void 0;const e=J6(),t=K6(),r=Zw(),n=ln(),o=$n();var s;(function(b){b[b.Correct=0]="Correct",b[b.Wrong=1]="Wrong"})(s||(Ss.DataType=s={}));function i(b){const w=a(b.type);if(w.includes("null")){if(b.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!w.length&&b.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');b.nullable===!0&&w.push("null")}return w}Ss.getSchemaTypes=i;function a(b){const w=Array.isArray(b)?b:b?[b]:[];if(w.every(e.isJSONType))return w;throw new Error("type must be JSONType or JSONType[]: "+w.join(","))}Ss.getJSONTypes=a;function l(b,w){const{gen:k,data:x,opts:j}=b,_=u(w,j.coerceTypes),C=w.length>0&&!(_.length===0&&w.length===1&&(0,t.schemaHasRulesForType)(b,w[0]));if(C){const A=m(w,x,j.strictNumbers,s.Wrong);k.if(A,()=>{_.length?d(b,w,_):g(b)})}return C}Ss.coerceAndCheckDataType=l;const c=new Set(["string","number","integer","boolean","null"]);function u(b,w){return w?b.filter(k=>c.has(k)||w==="array"&&k==="array"):[]}function d(b,w,k){const{gen:x,data:j,opts:_}=b,C=x.let("dataType",(0,n._)`typeof ${j}`),A=x.let("coerced",(0,n._)`undefined`);_.coerceTypes==="array"&&x.if((0,n._)`${C} == 'object' && Array.isArray(${j}) && ${j}.length == 1`,()=>x.assign(j,(0,n._)`${j}[0]`).assign(C,(0,n._)`typeof ${j}`).if(m(w,j,_.strictNumbers),()=>x.assign(A,j))),x.if((0,n._)`${A} !== undefined`);for(const M of k)(c.has(M)||M==="array"&&_.coerceTypes==="array")&&I(M);x.else(),g(b),x.endIf(),x.if((0,n._)`${A} !== undefined`,()=>{x.assign(j,A),p(b,A)});function I(M){switch(M){case"string":x.elseIf((0,n._)`${C} == "number" || ${C} == "boolean"`).assign(A,(0,n._)`"" + ${j}`).elseIf((0,n._)`${j} === null`).assign(A,(0,n._)`""`);return;case"number":x.elseIf((0,n._)`${C} == "boolean" || ${j} === null +${u}}`])},i=c=>c.map(u=>`.${a(u)}`).join(""),a=c=>mxe.test(c)?c:JSON.stringify(c),l=(c,[u,d,p],[f,m,v])=>u.length+c.reduce((g,y)=>g+y.length+d.length,0)-d.length+p.length<=kxe?u+c.join(d)+p:f+c.join(m)+v;return n(e,"")};function Sxe(e,t,r){return ls(fxe(t)?R6(t):t)(e)}const Cxe={prefix:"far",iconName:"lightbulb",icon:[384,512,[128161],"f0eb","M297.2 248.9C311.6 228.3 320 203.2 320 176c0-70.7-57.3-128-128-128S64 105.3 64 176c0 27.2 8.4 52.3 22.8 72.9c3.7 5.3 8.1 11.3 12.8 17.7c0 0 0 0 0 0c12.9 17.7 28.3 38.9 39.8 59.8c10.4 19 15.7 38.8 18.3 57.5L109 384c-2.2-12-5.9-23.7-11.8-34.5c-9.9-18-22.2-34.9-34.5-51.8c0 0 0 0 0 0s0 0 0 0c-5.2-7.1-10.4-14.2-15.4-21.4C27.6 247.9 16 213.3 16 176C16 78.8 94.8 0 192 0s176 78.8 176 176c0 37.3-11.6 71.9-31.4 100.3c-5 7.2-10.2 14.3-15.4 21.4c0 0 0 0 0 0s0 0 0 0c-12.3 16.8-24.6 33.7-34.5 51.8c-5.9 10.8-9.6 22.5-11.8 34.5l-48.6 0c2.6-18.7 7.9-38.6 18.3-57.5c11.5-20.9 26.9-42.1 39.8-59.8c0 0 0 0 0 0s0 0 0 0s0 0 0 0c4.7-6.4 9-12.4 12.7-17.7zM192 128c-26.5 0-48 21.5-48 48c0 8.8-7.2 16-16 16s-16-7.2-16-16c0-44.2 35.8-80 80-80c8.8 0 16 7.2 16 16s-7.2 16-16 16zm0 384c-44.2 0-80-35.8-80-80l0-16 160 0 0 16c0 44.2-35.8 80-80 80z"]},Axe={prefix:"far",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M64 80c-8.8 0-16 7.2-16 16l0 320c0 8.8 7.2 16 16 16l320 0c8.8 0 16-7.2 16-16l0-320c0-8.8-7.2-16-16-16L64 80zM0 96C0 60.7 28.7 32 64 32l320 0c35.3 0 64 28.7 64 64l0 320c0 35.3-28.7 64-64 64L64 480c-35.3 0-64-28.7-64-64L0 96zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},B6=Axe,q6={prefix:"far",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M384 80c8.8 0 16 7.2 16 16l0 320c0 8.8-7.2 16-16 16L64 432c-8.8 0-16-7.2-16-16L48 96c0-8.8 7.2-16 16-16l320 0zM64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32z"]},Exe={prefix:"far",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M464 256A208 208 0 1 1 48 256a208 208 0 1 1 416 0zM0 256a256 256 0 1 0 512 0A256 256 0 1 0 0 256zM232 120l0 136c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2 280 120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]},tS={prefix:"fas",iconName:"trash-can",icon:[448,512,[61460,"trash-alt"],"f2ed","M135.2 17.7C140.6 6.8 151.7 0 163.8 0L284.2 0c12.1 0 23.2 6.8 28.6 17.7L320 32l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L32 96C14.3 96 0 81.7 0 64S14.3 32 32 32l96 0 7.2-14.3zM32 128l384 0 0 320c0 35.3-28.7 64-64 64L96 512c-35.3 0-64-28.7-64-64l0-320zm96 64c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16zm96 0c-8.8 0-16 7.2-16 16l0 224c0 8.8 7.2 16 16 16s16-7.2 16-16l0-224c0-8.8-7.2-16-16-16z"]},Oxe={prefix:"fas",iconName:"down-left-and-up-right-to-center",icon:[512,512,["compress-alt"],"f422","M439 7c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8l-144 0c-13.3 0-24-10.7-24-24l0-144c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39L439 7zM72 272l144 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39L73 505c-9.4 9.4-24.6 9.4-33.9 0L7 473c-9.4-9.4-9.4-24.6 0-33.9l87-87L55 313c-6.9-6.9-8.9-17.2-5.2-26.2s12.5-14.8 22.2-14.8z"]},Cg={prefix:"fas",iconName:"caret-right",icon:[256,512,[],"f0da","M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z"]},z6={prefix:"fas",iconName:"paste",icon:[512,512,["file-clipboard"],"f0ea","M160 0c-23.7 0-44.4 12.9-55.4 32L48 32C21.5 32 0 53.5 0 80L0 400c0 26.5 21.5 48 48 48l144 0 0-272c0-44.2 35.8-80 80-80l48 0 0-16c0-26.5-21.5-48-48-48l-56.6 0C204.4 12.9 183.7 0 160 0zM272 128c-26.5 0-48 21.5-48 48l0 272 0 16c0 26.5 21.5 48 48 48l192 0c26.5 0 48-21.5 48-48l0-220.1c0-12.7-5.1-24.9-14.1-33.9l-67.9-67.9c-9-9-21.2-14.1-33.9-14.1L320 128l-48 0zM160 40a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},$xe={prefix:"fas",iconName:"circle-notch",icon:[512,512,[],"f1ce","M222.7 32.1c5 16.9-4.6 34.8-21.5 39.8C121.8 95.6 64 169.1 64 256c0 106 86 192 192 192s192-86 192-192c0-86.9-57.8-160.4-137.1-184.1c-16.9-5-26.6-22.9-21.5-39.8s22.9-26.6 39.8-21.5C434.9 42.1 512 140 512 256c0 141.4-114.6 256-256 256S0 397.4 0 256C0 140 77.1 42.1 182.9 10.6c16.9-5 34.8 4.6 39.8 21.5z"]},Txe={prefix:"fas",iconName:"scissors",icon:[512,512,[9984,9986,9988,"cut"],"f0c4","M256 192l-39.5-39.5c4.9-12.6 7.5-26.2 7.5-40.5C224 50.1 173.9 0 112 0S0 50.1 0 112s50.1 112 112 112c14.3 0 27.9-2.7 40.5-7.5L192 256l-39.5 39.5c-12.6-4.9-26.2-7.5-40.5-7.5C50.1 288 0 338.1 0 400s50.1 112 112 112s112-50.1 112-112c0-14.3-2.7-27.9-7.5-40.5L499.2 76.8c7.1-7.1 7.1-18.5 0-25.6c-28.3-28.3-74.1-28.3-102.4 0L256 192zm22.6 150.6L396.8 460.8c28.3 28.3 74.1 28.3 102.4 0c7.1-7.1 7.1-18.5 0-25.6L342.6 278.6l-64 64zM64 112a48 48 0 1 1 96 0 48 48 0 1 1 -96 0zm48 240a48 48 0 1 1 0 96 48 48 0 1 1 0-96z"]},Lf=Txe,Pxe={prefix:"fas",iconName:"square-caret-down",icon:[448,512,["caret-square-down"],"f150","M384 480c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0zM224 352c-6.7 0-13-2.8-17.6-7.7l-104-112c-6.5-7-8.2-17.2-4.4-25.9s12.5-14.4 22-14.4l208 0c9.5 0 18.2 5.7 22 14.4s2.1 18.9-4.4 25.9l-104 112c-4.5 4.9-10.9 7.7-17.6 7.7z"]},Ixe=Pxe,Dxe={prefix:"fas",iconName:"caret-left",icon:[256,512,[],"f0d9","M9.4 278.6c-12.5-12.5-12.5-32.8 0-45.3l128-128c9.2-9.2 22.9-11.9 34.9-6.9s19.8 16.6 19.8 29.6l0 256c0 12.9-7.8 24.6-19.8 29.6s-25.7 2.2-34.9-6.9l-128-128z"]},Mxe={prefix:"fas",iconName:"square-check",icon:[448,512,[9745,9989,61510,"check-square"],"f14a","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM337 209L209 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L303 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},F6=Mxe,Nxe={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.7 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160L0 416c0 53 43 96 96 96l256 0c53 0 96-43 96-96l0-96c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 96c0 17.7-14.3 32-32 32L96 448c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32l96 0c17.7 0 32-14.3 32-32s-14.3-32-32-32L96 64z"]},Lxe=Nxe,Rxe={prefix:"fas",iconName:"chevron-up",icon:[512,512,[],"f077","M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]},V6={prefix:"fas",iconName:"angle-right",icon:[320,512,[8250],"f105","M278.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-160 160c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L210.7 256 73.4 118.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l160 160z"]},Bxe={prefix:"fas",iconName:"square-caret-up",icon:[448,512,["caret-square-up"],"f151","M64 32C28.7 32 0 60.7 0 96L0 416c0 35.3 28.7 64 64 64l320 0c35.3 0 64-28.7 64-64l0-320c0-35.3-28.7-64-64-64L64 32zM224 160c6.7 0 13 2.8 17.6 7.7l104 112c6.5 7 8.2 17.2 4.4 25.9s-12.5 14.4-22 14.4l-208 0c-9.5 0-18.2-5.7-22-14.4s-2.1-18.9 4.4-25.9l104-112c4.5-4.9 10.9-7.7 17.6-7.7z"]},qxe=Bxe,zxe={prefix:"fas",iconName:"caret-up",icon:[320,512,[],"f0d8","M182.6 137.4c-12.5-12.5-32.8-12.5-45.3 0l-128 128c-9.2 9.2-11.9 22.9-6.9 34.9s16.6 19.8 29.6 19.8l256 0c12.9 0 24.6-7.8 29.6-19.8s2.2-25.7-6.9-34.9l-128-128z"]},U6={prefix:"fas",iconName:"square",icon:[448,512,[9632,9723,9724,61590],"f0c8","M0 96C0 60.7 28.7 32 64 32H384c35.3 0 64 28.7 64 64V416c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V96z"]},Qb={prefix:"fas",iconName:"filter",icon:[512,512,[],"f0b0","M3.9 54.9C10.5 40.9 24.5 32 40 32l432 0c15.5 0 29.5 8.9 36.1 22.9s4.6 30.5-5.2 42.5L320 320.9 320 448c0 12.1-6.8 23.2-17.7 28.6s-23.8 4.3-33.5-3l-64-48c-8.1-6-12.8-15.5-12.8-25.6l0-79.1L9 97.3C-.7 85.4-2.8 68.8 3.9 54.9z"]},Zb={prefix:"fas",iconName:"code",icon:[640,512,[],"f121","M392.8 1.2c-17-4.9-34.7 5-39.6 22l-128 448c-4.9 17 5 34.7 22 39.6s34.7-5 39.6-22l128-448c4.9-17-5-34.7-22-39.6zm80.6 120.1c-12.5 12.5-12.5 32.8 0 45.3L562.7 256l-89.4 89.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l112-112c12.5-12.5 12.5-32.8 0-45.3l-112-112c-12.5-12.5-32.8-12.5-45.3 0zm-306.7 0c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3l112 112c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256l89.4-89.4c12.5-12.5 12.5-32.8 0-45.3z"]},ah={prefix:"fas",iconName:"wrench",icon:[512,512,[128295],"f0ad","M352 320c88.4 0 160-71.6 160-160c0-15.3-2.2-30.1-6.2-44.2c-3.1-10.8-16.4-13.2-24.3-5.3l-76.8 76.8c-3 3-7.1 4.7-11.3 4.7L336 192c-8.8 0-16-7.2-16-16l0-57.4c0-4.2 1.7-8.3 4.7-11.3l76.8-76.8c7.9-7.9 5.4-21.2-5.3-24.3C382.1 2.2 367.3 0 352 0C263.6 0 192 71.6 192 160c0 19.1 3.4 37.5 9.5 54.5L19.9 396.1C7.2 408.8 0 426.1 0 444.1C0 481.6 30.4 512 67.9 512c18 0 35.3-7.2 48-19.9L297.5 310.5c17 6.2 35.4 9.5 54.5 9.5zM80 408a24 24 0 1 1 0 48 24 24 0 1 1 0-48z"]},Fxe={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM144 256a144 144 0 1 1 288 0 144 144 0 1 1 -288 0zm144-64c0 35.3-28.7 64-64 64c-7.1 0-13.9-1.2-20.3-3.3c-5.5-1.8-11.9 1.6-11.7 7.4c.3 6.9 1.3 13.8 3.2 20.7c13.7 51.2 66.4 81.6 117.6 67.9s81.6-66.4 67.9-117.6c-11.1-41.5-47.8-69.4-88.6-71.1c-5.8-.2-9.2 6.1-7.4 11.7c2.1 6.4 3.3 13.2 3.3 20.3z"]},Rf={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"]},Vxe={prefix:"fas",iconName:"arrow-rotate-right",icon:[512,512,[8635,"arrow-right-rotate","arrow-rotate-forward","redo"],"f01e","M386.3 160L336 160c-17.7 0-32 14.3-32 32s14.3 32 32 32l128 0c17.7 0 32-14.3 32-32l0-128c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0s-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3s163.8-62.5 226.3 0L386.3 160z"]},AA=Vxe,Uxe={prefix:"fas",iconName:"arrow-rotate-left",icon:[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],"f0e2","M125.7 160l50.3 0c17.7 0 32 14.3 32 32s-14.3 32-32 32L48 224c-17.7 0-32-14.3-32-32L16 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z"]},EA=Uxe,Hxe={prefix:"fas",iconName:"crop-simple",icon:[512,512,["crop-alt"],"f565","M128 32c0-17.7-14.3-32-32-32S64 14.3 64 32l0 32L32 64C14.3 64 0 78.3 0 96s14.3 32 32 32l32 0 0 256c0 35.3 28.7 64 64 64l224 0 0-64-224 0 0-352zM384 480c0 17.7 14.3 32 32 32s32-14.3 32-32l0-32 32 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-32 0 0-256c0-35.3-28.7-64-64-64L160 64l0 64 224 0 0 352z"]},Wxe=Hxe,Gxe={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z"]},Jxe=Gxe,Wu={prefix:"fas",iconName:"caret-down",icon:[320,512,[],"f0d7","M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]},Kxe={prefix:"fas",iconName:"ellipsis-vertical",icon:[128,512,["ellipsis-v"],"f142","M64 360a56 56 0 1 0 0 112 56 56 0 1 0 0-112zm0-160a56 56 0 1 0 0 112 56 56 0 1 0 0-112zM120 96A56 56 0 1 0 8 96a56 56 0 1 0 112 0z"]},H6=Kxe,by={prefix:"fas",iconName:"arrow-right-arrow-left",icon:[448,512,[8644,"exchange"],"f0ec","M438.6 150.6c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.7 96 32 96C14.3 96 0 110.3 0 128s14.3 32 32 32l306.7 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96zm-333.3 352c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 416 416 416c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96z"]},Qxe={prefix:"fas",iconName:"arrow-down-short-wide",icon:[576,512,["sort-amount-desc","sort-amount-down-alt"],"f884","M151.6 469.6C145.5 476.2 137 480 128 480s-17.5-3.8-23.6-10.4l-88-96c-11.9-13-11.1-33.3 2-45.2s33.3-11.1 45.2 2L96 365.7 96 64c0-17.7 14.3-32 32-32s32 14.3 32 32l0 301.7 32.4-35.4c11.9-13 32.2-13.9 45.2-2s13.9 32.2 2 45.2l-88 96zM320 32l32 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-32 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l96 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l160 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-160 0c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 128l224 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-224 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]},Xb=Qxe,Zxe={prefix:"fas",iconName:"angle-down",icon:[448,512,[8964],"f107","M201.4 374.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 306.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},k3={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]},Xxe={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]},Kw=Xxe,Yxe={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]},bu={prefix:"fas",iconName:"copy",icon:[448,512,[],"f0c5","M208 0L332.1 0c12.7 0 24.9 5.1 33.9 14.1l67.9 67.9c9 9 14.1 21.2 14.1 33.9L448 336c0 26.5-21.5 48-48 48l-192 0c-26.5 0-48-21.5-48-48l0-288c0-26.5 21.5-48 48-48zM48 128l80 0 0 64-64 0 0 256 192 0 0-32 64 0 0 48c0 26.5-21.5 48-48 48L48 512c-26.5 0-48-21.5-48-48L0 176c0-26.5 21.5-48 48-48z"]},jf={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 144L48 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l144 0 0 144c0 17.7 14.3 32 32 32s32-14.3 32-32l0-144 144 0c17.7 0 32-14.3 32-32s-14.3-32-32-32l-144 0 0-144z"]},W6={prefix:"fas",iconName:"xmark",icon:[384,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]},eke=W6,Qw=W6,tke={prefix:"fas",iconName:"rotate",icon:[512,512,[128260,"sync-alt"],"f2f1","M142.9 142.9c-17.5 17.5-30.1 38-37.8 59.8c-5.9 16.7-24.2 25.4-40.8 19.5s-25.4-24.2-19.5-40.8C55.6 150.7 73.2 122 97.6 97.6c87.2-87.2 228.3-87.5 315.8-1L455 55c6.9-6.9 17.2-8.9 26.2-5.2s14.8 12.5 14.8 22.2l0 128c0 13.3-10.7 24-24 24l-8.4 0c0 0 0 0 0 0L344 224c-9.7 0-18.5-5.8-22.2-14.8s-1.7-19.3 5.2-26.2l41.1-41.1c-62.6-61.5-163.1-61.2-225.3 1zM16 312c0-13.3 10.7-24 24-24l7.6 0 .7 0L168 288c9.7 0 18.5 5.8 22.2 14.8s1.7 19.3-5.2 26.2l-41.1 41.1c62.6 61.5 163.1 61.2 225.3-1c17.5-17.5 30.1-38 37.8-59.8c5.9-16.7 24.2-25.4 40.8-19.5s25.4 24.2 19.5 40.8c-10.8 30.6-28.4 59.3-52.9 83.8c-87.2 87.2-228.3 87.5-315.8 1L57 457c-6.9 6.9-17.2 8.9-26.2 5.2S16 449.7 16 440l0-119.6 0-.7 0-7.6z"]},rke={prefix:"fas",iconName:"up-right-and-down-left-from-center",icon:[512,512,["expand-alt"],"f424","M344 0L488 0c13.3 0 24 10.7 24 24l0 144c0 9.7-5.8 18.5-14.8 22.2s-19.3 1.7-26.2-5.2l-39-39-87 87c-9.4 9.4-24.6 9.4-33.9 0l-32-32c-9.4-9.4-9.4-24.6 0-33.9l87-87L327 41c-6.9-6.9-8.9-17.2-5.2-26.2S334.3 0 344 0zM168 512L24 512c-13.3 0-24-10.7-24-24L0 344c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2l39 39 87-87c9.4-9.4 24.6-9.4 33.9 0l32 32c9.4 9.4 9.4 24.6 0 33.9l-87 87 39 39c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8z"]},G6={prefix:"fas",iconName:"clone",icon:[512,512,[],"f24d","M288 448L64 448l0-224 64 0 0-64-64 0c-35.3 0-64 28.7-64 64L0 448c0 35.3 28.7 64 64 64l224 0c35.3 0 64-28.7 64-64l0-64-64 0 0 64zm-64-96l224 0c35.3 0 64-28.7 64-64l0-224c0-35.3-28.7-64-64-64L224 0c-35.3 0-64 28.7-64 64l0 224c0 35.3 28.7 64 64 64z"]},OA={prefix:"fas",iconName:"check",icon:[448,512,[10003,10004],"f00c","M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]},nke={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480L40 480c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"]},sp=nke;var Bk={exports:{}},j3;function oke(){if(j3)return Bk.exports;j3=1;var e=function(t,r){var n,o,s=1,i=0,a=0,l=String.alphabet;function c(u,d,p){if(p){for(n=d;p=c(u,n),p<76&&p>65;)++n;return+u.slice(d-1,n)}return p=l&&l.indexOf(u.charAt(d)),p>-1?p+76:(p=u.charCodeAt(d)||0,p<45||p>127?p:p<46?65:p<48?p-1:p<58?p+18:p<65?p-11:p<91?p+11:p<97?p-37:p<123?p+5:p-63)}if((t+="")!=(r+="")){for(;s;)if(o=c(t,i++),s=c(r,a++),o<76&&s<76&&o>66&&s>66&&(o=c(t,i,i),s=c(r,a,i=n),a=n),o!=s)return o1)return!1;const b=this._items[0];return b===""||b==='""'}get str(){var b;return(b=this._str)!==null&&b!==void 0?b:this._str=this._items.reduce((w,k)=>`${w}${k}`,"")}get names(){var b;return(b=this._names)!==null&&b!==void 0?b:this._names=this._items.reduce((w,k)=>(k instanceof r&&(w[k.str]=(w[k.str]||0)+1),w),{})}}e._Code=n,e.nil=new n("");function o(y,...b){const w=[y[0]];let k=0;for(;k{if(d.scopePath===void 0)throw new Error(`CodeGen: name "${d}" has no value`);return(0,t._)`${c}${d.scopePath}`})}scopeCode(c=this._values,u,d){return this._reduceValues(c,p=>{if(p.value===void 0)throw new Error(`CodeGen: name "${p}" has no value`);return p.value.code},u,d)}_reduceValues(c,u,d={},p){let f=t.nil;for(const m in c){const v=c[m];if(!v)continue;const g=d[m]=d[m]||new Map;v.forEach(y=>{if(g.has(y))return;g.set(y,n.Started);let b=u(y);if(b){const w=this.opts.es5?e.varKinds.var:e.varKinds.const;f=(0,t._)`${f}${w} ${y} = ${b};${this.opts._n}`}else if(b=p==null?void 0:p(y))f=(0,t._)`${f}${b}${this.opts._n}`;else throw new r(y);g.set(y,n.Completed)})}return f}}e.ValueScope=a}($3)),$3}var I3;function ln(){return I3||(I3=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;const t=Yb(),r=P3();var n=Yb();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return n._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return n.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return n.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return n.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return n.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return n.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return n.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return n.Name}});var o=P3();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return o.varKinds}}),e.operators={GT:new t._Code(">"),GTE:new t._Code(">="),LT:new t._Code("<"),LTE:new t._Code("<="),EQ:new t._Code("==="),NEQ:new t._Code("!=="),NOT:new t._Code("!"),OR:new t._Code("||"),AND:new t._Code("&&"),ADD:new t._Code("+")};class s{optimizeNodes(){return this}optimizeNames(O,D){return this}}class i extends s{constructor(O,D,Z){super(),this.varKind=O,this.name=D,this.rhs=Z}render({es5:O,_n:D}){const Z=O?r.varKinds.var:this.varKind,Se=this.rhs===void 0?"":` = ${this.rhs}`;return`${Z} ${this.name}${Se};`+D}optimizeNames(O,D){if(O[this.name.str])return this.rhs&&(this.rhs=z(this.rhs,O,D)),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}}class a extends s{constructor(O,D,Z){super(),this.lhs=O,this.rhs=D,this.sideEffects=Z}render({_n:O}){return`${this.lhs} = ${this.rhs};`+O}optimizeNames(O,D){if(!(this.lhs instanceof t.Name&&!O[this.lhs.str]&&!this.sideEffects))return this.rhs=z(this.rhs,O,D),this}get names(){const O=this.lhs instanceof t.Name?{}:{...this.lhs.names};return F(O,this.rhs)}}class l extends a{constructor(O,D,Z,Se){super(O,Z,Se),this.op=D}render({_n:O}){return`${this.lhs} ${this.op}= ${this.rhs};`+O}}class c extends s{constructor(O){super(),this.label=O,this.names={}}render({_n:O}){return`${this.label}:`+O}}class u extends s{constructor(O){super(),this.label=O,this.names={}}render({_n:O}){return`break${this.label?` ${this.label}`:""};`+O}}class d extends s{constructor(O){super(),this.error=O}render({_n:O}){return`throw ${this.error};`+O}get names(){return this.error.names}}class p extends s{constructor(O){super(),this.code=O}render({_n:O}){return`${this.code};`+O}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(O,D){return this.code=z(this.code,O,D),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}}class f extends s{constructor(O=[]){super(),this.nodes=O}render(O){return this.nodes.reduce((D,Z)=>D+Z.render(O),"")}optimizeNodes(){const{nodes:O}=this;let D=O.length;for(;D--;){const Z=O[D].optimizeNodes();Array.isArray(Z)?O.splice(D,1,...Z):Z?O[D]=Z:O.splice(D,1)}return O.length>0?this:void 0}optimizeNames(O,D){const{nodes:Z}=this;let Se=Z.length;for(;Se--;){const ie=Z[Se];ie.optimizeNames(O,D)||(N(O,ie.names),Z.splice(Se,1))}return Z.length>0?this:void 0}get names(){return this.nodes.reduce((O,D)=>L(O,D.names),{})}}class m extends f{render(O){return"{"+O._n+super.render(O)+"}"+O._n}}class v extends f{}class g extends m{}g.kind="else";class y extends m{constructor(O,D){super(D),this.condition=O}render(O){let D=`if(${this.condition})`+super.render(O);return this.else&&(D+="else "+this.else.render(O)),D}optimizeNodes(){super.optimizeNodes();const O=this.condition;if(O===!0)return this.nodes;let D=this.else;if(D){const Z=D.optimizeNodes();D=this.else=Array.isArray(Z)?new g(Z):Z}if(D)return O===!1?D instanceof y?D:D.nodes:this.nodes.length?this:new y(X(O),D instanceof y?[D]:D.nodes);if(!(O===!1||!this.nodes.length))return this}optimizeNames(O,D){var Z;if(this.else=(Z=this.else)===null||Z===void 0?void 0:Z.optimizeNames(O,D),!!(super.optimizeNames(O,D)||this.else))return this.condition=z(this.condition,O,D),this}get names(){const O=super.names;return F(O,this.condition),this.else&&L(O,this.else.names),O}}y.kind="if";class b extends m{}b.kind="for";class w extends b{constructor(O){super(),this.iteration=O}render(O){return`for(${this.iteration})`+super.render(O)}optimizeNames(O,D){if(super.optimizeNames(O,D))return this.iteration=z(this.iteration,O,D),this}get names(){return L(super.names,this.iteration.names)}}class k extends b{constructor(O,D,Z,Se){super(),this.varKind=O,this.name=D,this.from=Z,this.to=Se}render(O){const D=O.es5?r.varKinds.var:this.varKind,{name:Z,from:Se,to:ie}=this;return`for(${D} ${Z}=${Se}; ${Z}<${ie}; ${Z}++)`+super.render(O)}get names(){const O=F(super.names,this.from);return F(O,this.to)}}class x extends b{constructor(O,D,Z,Se){super(),this.loop=O,this.varKind=D,this.name=Z,this.iterable=Se}render(O){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(O)}optimizeNames(O,D){if(super.optimizeNames(O,D))return this.iterable=z(this.iterable,O,D),this}get names(){return L(super.names,this.iterable.names)}}class j extends m{constructor(O,D,Z){super(),this.name=O,this.args=D,this.async=Z}render(O){return`${this.async?"async ":""}function ${this.name}(${this.args})`+super.render(O)}}j.kind="func";class _ extends f{render(O){return"return "+super.render(O)}}_.kind="return";class C extends m{render(O){let D="try"+super.render(O);return this.catch&&(D+=this.catch.render(O)),this.finally&&(D+=this.finally.render(O)),D}optimizeNodes(){var O,D;return super.optimizeNodes(),(O=this.catch)===null||O===void 0||O.optimizeNodes(),(D=this.finally)===null||D===void 0||D.optimizeNodes(),this}optimizeNames(O,D){var Z,Se;return super.optimizeNames(O,D),(Z=this.catch)===null||Z===void 0||Z.optimizeNames(O,D),(Se=this.finally)===null||Se===void 0||Se.optimizeNames(O,D),this}get names(){const O=super.names;return this.catch&&L(O,this.catch.names),this.finally&&L(O,this.finally.names),O}}class A extends m{constructor(O){super(),this.error=O}render(O){return`catch(${this.error})`+super.render(O)}}A.kind="catch";class I extends m{render(O){return"finally"+super.render(O)}}I.kind="finally";class M{constructor(O,D={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...D,_n:D.lines?` +`:""},this._extScope=O,this._scope=new r.Scope({parent:O}),this._nodes=[new v]}toString(){return this._root.render(this.opts)}name(O){return this._scope.name(O)}scopeName(O){return this._extScope.name(O)}scopeValue(O,D){const Z=this._extScope.value(O,D);return(this._values[Z.prefix]||(this._values[Z.prefix]=new Set)).add(Z),Z}getScopeValue(O,D){return this._extScope.getValue(O,D)}scopeRefs(O){return this._extScope.scopeRefs(O,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(O,D,Z,Se){const ie=this._scope.toName(D);return Z!==void 0&&Se&&(this._constants[ie.str]=Z),this._leafNode(new i(O,ie,Z)),ie}const(O,D,Z){return this._def(r.varKinds.const,O,D,Z)}let(O,D,Z){return this._def(r.varKinds.let,O,D,Z)}var(O,D,Z){return this._def(r.varKinds.var,O,D,Z)}assign(O,D,Z){return this._leafNode(new a(O,D,Z))}add(O,D){return this._leafNode(new l(O,e.operators.ADD,D))}code(O){return typeof O=="function"?O():O!==t.nil&&this._leafNode(new p(O)),this}object(...O){const D=["{"];for(const[Z,Se]of O)D.length>1&&D.push(","),D.push(Z),(Z!==Se||this.opts.es5)&&(D.push(":"),(0,t.addCodeArg)(D,Se));return D.push("}"),new t._Code(D)}if(O,D,Z){if(this._blockNode(new y(O)),D&&Z)this.code(D).else().code(Z).endIf();else if(D)this.code(D).endIf();else if(Z)throw new Error('CodeGen: "else" body without "then" body');return this}elseIf(O){return this._elseNode(new y(O))}else(){return this._elseNode(new g)}endIf(){return this._endBlockNode(y,g)}_for(O,D){return this._blockNode(O),D&&this.code(D).endFor(),this}for(O,D){return this._for(new w(O),D)}forRange(O,D,Z,Se,ie=this.opts.es5?r.varKinds.var:r.varKinds.let){const re=this._scope.toName(O);return this._for(new k(ie,re,D,Z),()=>Se(re))}forOf(O,D,Z,Se=r.varKinds.const){const ie=this._scope.toName(O);if(this.opts.es5){const re=D instanceof t.Name?D:this.var("_arr",D);return this.forRange("_i",0,(0,t._)`${re}.length`,xe=>{this.var(ie,(0,t._)`${re}[${xe}]`),Z(ie)})}return this._for(new x("of",Se,ie,D),()=>Z(ie))}forIn(O,D,Z,Se=this.opts.es5?r.varKinds.var:r.varKinds.const){if(this.opts.ownProperties)return this.forOf(O,(0,t._)`Object.keys(${D})`,Z);const ie=this._scope.toName(O);return this._for(new x("in",Se,ie,D),()=>Z(ie))}endFor(){return this._endBlockNode(b)}label(O){return this._leafNode(new c(O))}break(O){return this._leafNode(new u(O))}return(O){const D=new _;if(this._blockNode(D),this.code(O),D.nodes.length!==1)throw new Error('CodeGen: "return" should have one node');return this._endBlockNode(_)}try(O,D,Z){if(!D&&!Z)throw new Error('CodeGen: "try" without "catch" and "finally"');const Se=new C;if(this._blockNode(Se),this.code(O),D){const ie=this.name("e");this._currNode=Se.catch=new A(ie),D(ie)}return Z&&(this._currNode=Se.finally=new I,this.code(Z)),this._endBlockNode(A,I)}throw(O){return this._leafNode(new d(O))}block(O,D){return this._blockStarts.push(this._nodes.length),O&&this.code(O).endBlock(D),this}endBlock(O){const D=this._blockStarts.pop();if(D===void 0)throw new Error("CodeGen: not in self-balancing block");const Z=this._nodes.length-D;if(Z<0||O!==void 0&&Z!==O)throw new Error(`CodeGen: wrong number of nodes: ${Z} vs ${O} expected`);return this._nodes.length=D,this}func(O,D=t.nil,Z,Se){return this._blockNode(new j(O,D,Z)),Se&&this.code(Se).endFunc(),this}endFunc(){return this._endBlockNode(j)}optimize(O=1){for(;O-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(O){return this._currNode.nodes.push(O),this}_blockNode(O){this._currNode.nodes.push(O),this._nodes.push(O)}_endBlockNode(O,D){const Z=this._currNode;if(Z instanceof O||D&&Z instanceof D)return this._nodes.pop(),this;throw new Error(`CodeGen: not in block "${D?`${O.kind}/${D.kind}`:O.kind}"`)}_elseNode(O){const D=this._currNode;if(!(D instanceof y))throw new Error('CodeGen: "else" without "if"');return this._currNode=D.else=O,this}get _root(){return this._nodes[0]}get _currNode(){const O=this._nodes;return O[O.length-1]}set _currNode(O){const D=this._nodes;D[D.length-1]=O}}e.CodeGen=M;function L(q,O){for(const D in O)q[D]=(q[D]||0)+(O[D]||0);return q}function F(q,O){return O instanceof t._CodeOrName?L(q,O.names):q}function z(q,O,D){if(q instanceof t.Name)return Z(q);if(!Se(q))return q;return new t._Code(q._items.reduce((ie,re)=>(re instanceof t.Name&&(re=Z(re)),re instanceof t._Code?ie.push(...re._items):ie.push(re),ie),[]));function Z(ie){const re=D[ie.str];return re===void 0||O[ie.str]!==1?ie:(delete O[ie.str],re)}function Se(ie){return ie instanceof t._Code&&ie._items.some(re=>re instanceof t.Name&&O[re.str]===1&&D[re.str]!==void 0)}}function N(q,O){for(const D in O)q[D]=(q[D]||0)-(O[D]||0)}function X(q){return typeof q=="boolean"||typeof q=="number"||q===null?!q:(0,t._)`!${se(q)}`}e.not=X;const V=B(e.operators.AND);function J(...q){return q.reduce(V)}e.and=J;const oe=B(e.operators.OR);function H(...q){return q.reduce(oe)}e.or=H;function B(q){return(O,D)=>O===t.nil?D:D===t.nil?O:(0,t._)`${se(O)} ${q} ${se(D)}`}function se(q){return q instanceof t.Name?q:(0,t._)`(${q})`}}(A3)),A3}var Qr={},D3;function $n(){if(D3)return Qr;D3=1,Object.defineProperty(Qr,"__esModule",{value:!0}),Qr.checkStrictMode=Qr.getErrorPath=Qr.Type=Qr.useFunc=Qr.setEvaluated=Qr.evaluatedPropsToName=Qr.mergeEvaluated=Qr.eachItem=Qr.unescapeJsonPointer=Qr.escapeJsonPointer=Qr.escapeFragment=Qr.unescapeFragment=Qr.schemaRefOrVal=Qr.schemaHasRulesButRef=Qr.schemaHasRules=Qr.checkUnknownRules=Qr.alwaysValidSchema=Qr.toHash=void 0;const e=ln(),t=Yb();function r(x){const j={};for(const _ of x)j[_]=!0;return j}Qr.toHash=r;function n(x,j){return typeof j=="boolean"?j:Object.keys(j).length===0?!0:(o(x,j),!s(j,x.self.RULES.all))}Qr.alwaysValidSchema=n;function o(x,j=x.schema){const{opts:_,self:C}=x;if(!_.strictSchema||typeof j=="boolean")return;const A=C.RULES.keywords;for(const I in j)A[I]||k(x,`unknown keyword: "${I}"`)}Qr.checkUnknownRules=o;function s(x,j){if(typeof x=="boolean")return!x;for(const _ in x)if(j[_])return!0;return!1}Qr.schemaHasRules=s;function i(x,j){if(typeof x=="boolean")return!x;for(const _ in x)if(_!=="$ref"&&j.all[_])return!0;return!1}Qr.schemaHasRulesButRef=i;function a({topSchemaRef:x,schemaPath:j},_,C,A){if(!A){if(typeof _=="number"||typeof _=="boolean")return _;if(typeof _=="string")return(0,e._)`${_}`}return(0,e._)`${x}${j}${(0,e.getProperty)(C)}`}Qr.schemaRefOrVal=a;function l(x){return d(decodeURIComponent(x))}Qr.unescapeFragment=l;function c(x){return encodeURIComponent(u(x))}Qr.escapeFragment=c;function u(x){return typeof x=="number"?`${x}`:x.replace(/~/g,"~0").replace(/\//g,"~1")}Qr.escapeJsonPointer=u;function d(x){return x.replace(/~1/g,"/").replace(/~0/g,"~")}Qr.unescapeJsonPointer=d;function p(x,j){if(Array.isArray(x))for(const _ of x)j(_);else j(x)}Qr.eachItem=p;function f({mergeNames:x,mergeToName:j,mergeValues:_,resultToName:C}){return(A,I,M,L)=>{const F=M===void 0?I:M instanceof e.Name?(I instanceof e.Name?x(A,I,M):j(A,I,M),M):I instanceof e.Name?(j(A,M,I),I):_(I,M);return L===e.Name&&!(F instanceof e.Name)?C(A,F):F}}Qr.mergeEvaluated={props:f({mergeNames:(x,j,_)=>x.if((0,e._)`${_} !== true && ${j} !== undefined`,()=>{x.if((0,e._)`${j} === true`,()=>x.assign(_,!0),()=>x.assign(_,(0,e._)`${_} || {}`).code((0,e._)`Object.assign(${_}, ${j})`))}),mergeToName:(x,j,_)=>x.if((0,e._)`${_} !== true`,()=>{j===!0?x.assign(_,!0):(x.assign(_,(0,e._)`${_} || {}`),v(x,_,j))}),mergeValues:(x,j)=>x===!0?!0:{...x,...j},resultToName:m}),items:f({mergeNames:(x,j,_)=>x.if((0,e._)`${_} !== true && ${j} !== undefined`,()=>x.assign(_,(0,e._)`${j} === true ? true : ${_} > ${j} ? ${_} : ${j}`)),mergeToName:(x,j,_)=>x.if((0,e._)`${_} !== true`,()=>x.assign(_,j===!0?!0:(0,e._)`${_} > ${j} ? ${_} : ${j}`)),mergeValues:(x,j)=>x===!0?!0:Math.max(x,j),resultToName:(x,j)=>x.var("items",j)})};function m(x,j){if(j===!0)return x.var("props",!0);const _=x.var("props",(0,e._)`{}`);return j!==void 0&&v(x,_,j),_}Qr.evaluatedPropsToName=m;function v(x,j,_){Object.keys(_).forEach(C=>x.assign((0,e._)`${j}${(0,e.getProperty)(C)}`,!0))}Qr.setEvaluated=v;const g={};function y(x,j){return x.scopeValue("func",{ref:j,code:g[j.code]||(g[j.code]=new t._Code(j.code))})}Qr.useFunc=y;var b;(function(x){x[x.Num=0]="Num",x[x.Str=1]="Str"})(b||(Qr.Type=b={}));function w(x,j,_){if(x instanceof e.Name){const C=j===b.Num;return _?C?(0,e._)`"[" + ${x} + "]"`:(0,e._)`"['" + ${x} + "']"`:C?(0,e._)`"/" + ${x}`:(0,e._)`"/" + ${x}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return _?(0,e.getProperty)(x).toString():"/"+u(x)}Qr.getErrorPath=w;function k(x,j,_=x.opts.strictSchema){if(_){if(j=`strict mode: ${j}`,_===!0)throw new Error(j);x.self.logger.warn(j)}}return Qr.checkStrictMode=k,Qr}var wy={},M3;function ld(){if(M3)return wy;M3=1,Object.defineProperty(wy,"__esModule",{value:!0});const e=ln(),t={data:new e.Name("data"),valCxt:new e.Name("valCxt"),instancePath:new e.Name("instancePath"),parentData:new e.Name("parentData"),parentDataProperty:new e.Name("parentDataProperty"),rootData:new e.Name("rootData"),dynamicAnchors:new e.Name("dynamicAnchors"),vErrors:new e.Name("vErrors"),errors:new e.Name("errors"),this:new e.Name("this"),self:new e.Name("self"),scope:new e.Name("scope"),json:new e.Name("json"),jsonPos:new e.Name("jsonPos"),jsonLen:new e.Name("jsonLen"),jsonPart:new e.Name("jsonPart")};return wy.default=t,wy}var N3;function Zw(){return N3||(N3=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;const t=ln(),r=$n(),n=ld();e.keywordError={message:({keyword:g})=>(0,t.str)`must pass "${g}" keyword validation`},e.keyword$DataError={message:({keyword:g,schemaType:y})=>y?(0,t.str)`"${g}" keyword must be ${y} ($data)`:(0,t.str)`"${g}" keyword is invalid ($data)`};function o(g,y=e.keywordError,b,w){const{it:k}=g,{gen:x,compositeRule:j,allErrors:_}=k,C=d(g,y,b);w??(j||_)?l(x,C):c(k,(0,t._)`[${C}]`)}e.reportError=o;function s(g,y=e.keywordError,b){const{it:w}=g,{gen:k,compositeRule:x,allErrors:j}=w,_=d(g,y,b);l(k,_),x||j||c(w,n.default.vErrors)}e.reportExtraError=s;function i(g,y){g.assign(n.default.errors,y),g.if((0,t._)`${n.default.vErrors} !== null`,()=>g.if(y,()=>g.assign((0,t._)`${n.default.vErrors}.length`,y),()=>g.assign(n.default.vErrors,null)))}e.resetErrorsCount=i;function a({gen:g,keyword:y,schemaValue:b,data:w,errsCount:k,it:x}){if(k===void 0)throw new Error("ajv implementation error");const j=g.name("err");g.forRange("i",k,n.default.errors,_=>{g.const(j,(0,t._)`${n.default.vErrors}[${_}]`),g.if((0,t._)`${j}.instancePath === undefined`,()=>g.assign((0,t._)`${j}.instancePath`,(0,t.strConcat)(n.default.instancePath,x.errorPath))),g.assign((0,t._)`${j}.schemaPath`,(0,t.str)`${x.errSchemaPath}/${y}`),x.opts.verbose&&(g.assign((0,t._)`${j}.schema`,b),g.assign((0,t._)`${j}.data`,w))})}e.extendErrors=a;function l(g,y){const b=g.const("err",y);g.if((0,t._)`${n.default.vErrors} === null`,()=>g.assign(n.default.vErrors,(0,t._)`[${b}]`),(0,t._)`${n.default.vErrors}.push(${b})`),g.code((0,t._)`${n.default.errors}++`)}function c(g,y){const{gen:b,validateName:w,schemaEnv:k}=g;k.$async?b.throw((0,t._)`new ${g.ValidationError}(${y})`):(b.assign((0,t._)`${w}.errors`,y),b.return(!1))}const u={keyword:new t.Name("keyword"),schemaPath:new t.Name("schemaPath"),params:new t.Name("params"),propertyName:new t.Name("propertyName"),message:new t.Name("message"),schema:new t.Name("schema"),parentSchema:new t.Name("parentSchema")};function d(g,y,b){const{createErrors:w}=g.it;return w===!1?(0,t._)`{}`:p(g,y,b)}function p(g,y,b={}){const{gen:w,it:k}=g,x=[f(k,b),m(g,b)];return v(g,y,x),w.object(...x)}function f({errorPath:g},{instancePath:y}){const b=y?(0,t.str)`${g}${(0,r.getErrorPath)(y,r.Type.Str)}`:g;return[n.default.instancePath,(0,t.strConcat)(n.default.instancePath,b)]}function m({keyword:g,it:{errSchemaPath:y}},{schemaPath:b,parentSchema:w}){let k=w?y:(0,t.str)`${y}/${g}`;return b&&(k=(0,t.str)`${k}${(0,r.getErrorPath)(b,r.Type.Str)}`),[u.schemaPath,k]}function v(g,{params:y,message:b},w){const{keyword:k,data:x,schemaValue:j,it:_}=g,{opts:C,propertyName:A,topSchemaRef:I,schemaPath:M}=_;w.push([u.keyword,k],[u.params,typeof y=="function"?y(g):y||(0,t._)`{}`]),C.messages&&w.push([u.message,typeof b=="function"?b(g):b]),C.verbose&&w.push([u.schema,j],[u.parentSchema,(0,t._)`${I}${M}`],[n.default.data,x]),A&&w.push([u.propertyName,A])}}(C3)),C3}var L3;function cke(){if(L3)return wd;L3=1,Object.defineProperty(wd,"__esModule",{value:!0}),wd.boolOrEmptySchema=wd.topBoolOrEmptySchema=void 0;const e=Zw(),t=ln(),r=ld(),n={message:"boolean schema is false"};function o(a){const{gen:l,schema:c,validateName:u}=a;c===!1?i(a,!1):typeof c=="object"&&c.$async===!0?l.return(r.default.data):(l.assign((0,t._)`${u}.errors`,null),l.return(!0))}wd.topBoolOrEmptySchema=o;function s(a,l){const{gen:c,schema:u}=a;u===!1?(c.var(l,!1),i(a)):c.var(l,!0)}wd.boolOrEmptySchema=s;function i(a,l){const{gen:c,data:u}=a,d={gen:c,keyword:"false schema",data:u,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:a};(0,e.reportError)(d,n,void 0,l)}return wd}var Ss={},xd={},R3;function J6(){if(R3)return xd;R3=1,Object.defineProperty(xd,"__esModule",{value:!0}),xd.getRules=xd.isJSONType=void 0;const e=["string","number","integer","boolean","null","object","array"],t=new Set(e);function r(o){return typeof o=="string"&&t.has(o)}xd.isJSONType=r;function n(){const o={number:{type:"number",rules:[]},string:{type:"string",rules:[]},array:{type:"array",rules:[]},object:{type:"object",rules:[]}};return{types:{...o,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},o.number,o.string,o.array,o.object],post:{rules:[]},all:{},keywords:{}}}return xd.getRules=n,xd}var tc={},B3;function K6(){if(B3)return tc;B3=1,Object.defineProperty(tc,"__esModule",{value:!0}),tc.shouldUseRule=tc.shouldUseGroup=tc.schemaHasRulesForType=void 0;function e({schema:n,self:o},s){const i=o.RULES.types[s];return i&&i!==!0&&t(n,i)}tc.schemaHasRulesForType=e;function t(n,o){return o.rules.some(s=>r(n,s))}tc.shouldUseGroup=t;function r(n,o){var s;return n[o.keyword]!==void 0||((s=o.definition.implements)===null||s===void 0?void 0:s.some(i=>n[i]!==void 0))}return tc.shouldUseRule=r,tc}var q3;function e1(){if(q3)return Ss;q3=1,Object.defineProperty(Ss,"__esModule",{value:!0}),Ss.reportTypeError=Ss.checkDataTypes=Ss.checkDataType=Ss.coerceAndCheckDataType=Ss.getJSONTypes=Ss.getSchemaTypes=Ss.DataType=void 0;const e=J6(),t=K6(),r=Zw(),n=ln(),o=$n();var s;(function(b){b[b.Correct=0]="Correct",b[b.Wrong=1]="Wrong"})(s||(Ss.DataType=s={}));function i(b){const w=a(b.type);if(w.includes("null")){if(b.nullable===!1)throw new Error("type: null contradicts nullable: false")}else{if(!w.length&&b.nullable!==void 0)throw new Error('"nullable" cannot be used without "type"');b.nullable===!0&&w.push("null")}return w}Ss.getSchemaTypes=i;function a(b){const w=Array.isArray(b)?b:b?[b]:[];if(w.every(e.isJSONType))return w;throw new Error("type must be JSONType or JSONType[]: "+w.join(","))}Ss.getJSONTypes=a;function l(b,w){const{gen:k,data:x,opts:j}=b,_=u(w,j.coerceTypes),C=w.length>0&&!(_.length===0&&w.length===1&&(0,t.schemaHasRulesForType)(b,w[0]));if(C){const A=m(w,x,j.strictNumbers,s.Wrong);k.if(A,()=>{_.length?d(b,w,_):g(b)})}return C}Ss.coerceAndCheckDataType=l;const c=new Set(["string","number","integer","boolean","null"]);function u(b,w){return w?b.filter(k=>c.has(k)||w==="array"&&k==="array"):[]}function d(b,w,k){const{gen:x,data:j,opts:_}=b,C=x.let("dataType",(0,n._)`typeof ${j}`),A=x.let("coerced",(0,n._)`undefined`);_.coerceTypes==="array"&&x.if((0,n._)`${C} == 'object' && Array.isArray(${j}) && ${j}.length == 1`,()=>x.assign(j,(0,n._)`${j}[0]`).assign(C,(0,n._)`typeof ${j}`).if(m(w,j,_.strictNumbers),()=>x.assign(A,j))),x.if((0,n._)`${A} !== undefined`);for(const M of k)(c.has(M)||M==="array"&&_.coerceTypes==="array")&&I(M);x.else(),g(b),x.endIf(),x.if((0,n._)`${A} !== undefined`,()=>{x.assign(j,A),p(b,A)});function I(M){switch(M){case"string":x.elseIf((0,n._)`${C} == "number" || ${C} == "boolean"`).assign(A,(0,n._)`"" + ${j}`).elseIf((0,n._)`${j} === null`).assign(A,(0,n._)`""`);return;case"number":x.elseIf((0,n._)`${C} == "boolean" || ${j} === null || (${C} == "string" && ${j} && ${j} == +${j})`).assign(A,(0,n._)`+${j}`);return;case"integer":x.elseIf((0,n._)`${C} === "boolean" || ${j} === null || (${C} === "string" && ${j} && ${j} == +${j} && !(${j} % 1))`).assign(A,(0,n._)`+${j}`);return;case"boolean":x.elseIf((0,n._)`${j} === "false" || ${j} === 0 || ${j} === null`).assign(A,!1).elseIf((0,n._)`${j} === "true" || ${j} === 1`).assign(A,!0);return;case"null":x.elseIf((0,n._)`${j} === "" || ${j} === 0 || ${j} === false`),x.assign(A,null);return;case"array":x.elseIf((0,n._)`${C} === "string" || ${C} === "number" - || ${C} === "boolean" || ${j} === null`).assign(A,(0,n._)`[${j}]`)}}}function p({gen:b,parentData:w,parentDataProperty:k},x){b.if((0,n._)`${w} !== undefined`,()=>b.assign((0,n._)`${w}[${k}]`,x))}function f(b,w,k,x=s.Correct){const j=x===s.Correct?n.operators.EQ:n.operators.NEQ;let _;switch(b){case"null":return(0,n._)`${w} ${j} null`;case"array":_=(0,n._)`Array.isArray(${w})`;break;case"object":_=(0,n._)`${w} && typeof ${w} == "object" && !Array.isArray(${w})`;break;case"integer":_=C((0,n._)`!(${w} % 1) && !isNaN(${w})`);break;case"number":_=C();break;default:return(0,n._)`typeof ${w} ${j} ${b}`}return x===s.Correct?_:(0,n.not)(_);function C(A=n.nil){return(0,n.and)((0,n._)`typeof ${w} == "number"`,A,k?(0,n._)`isFinite(${w})`:n.nil)}}Ss.checkDataType=f;function m(b,w,k,x){if(b.length===1)return f(b[0],w,k,x);let j;const _=(0,o.toHash)(b);if(_.array&&_.object){const C=(0,n._)`typeof ${w} != "object"`;j=_.null?C:(0,n._)`!${w} || ${C}`,delete _.null,delete _.array,delete _.object}else j=n.nil;_.number&&delete _.integer;for(const C in _)j=(0,n.and)(j,f(C,w,k,x));return j}Ss.checkDataTypes=m;const v={message:({schema:b})=>`must be ${b}`,params:({schema:b,schemaValue:w})=>typeof b=="string"?(0,n._)`{type: ${b}}`:(0,n._)`{type: ${w}}`};function g(b){const w=y(b);(0,r.reportError)(w,v)}Ss.reportTypeError=g;function y(b){const{gen:w,data:k,schema:x}=b,j=(0,o.schemaRefOrVal)(b,x,"type");return{gen:w,keyword:"type",data:k,schema:x.type,schemaCode:j,schemaValue:j,parentSchema:x,params:{},it:b}}return Ss}var cm={},z3;function uke(){if(z3)return cm;z3=1,Object.defineProperty(cm,"__esModule",{value:!0}),cm.assignDefaults=void 0;const e=ln(),t=$n();function r(o,s){const{properties:i,items:a}=o.schema;if(s==="object"&&i)for(const l in i)n(o,l,i[l].default);else s==="array"&&Array.isArray(a)&&a.forEach((l,c)=>n(o,c,l.default))}cm.assignDefaults=r;function n(o,s,i){const{gen:a,compositeRule:l,data:c,opts:u}=o;if(i===void 0)return;const d=(0,e._)`${c}${(0,e.getProperty)(s)}`;if(l){(0,t.checkStrictMode)(o,`default is ignored for: ${d}`);return}let p=(0,e._)`${d} === undefined`;u.useDefaults==="empty"&&(p=(0,e._)`${p} || ${d} === null || ${d} === ""`),a.if(p,(0,e._)`${d} = ${(0,e.stringify)(i)}`)}return cm}var Sa={},Gn={},F3;function nl(){if(F3)return Gn;F3=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.validateUnion=Gn.validateArray=Gn.usePattern=Gn.callValidateCode=Gn.schemaProperties=Gn.allSchemaProperties=Gn.noPropertyInData=Gn.propertyInData=Gn.isOwnProperty=Gn.hasPropFunc=Gn.reportMissingProp=Gn.checkMissingProp=Gn.checkReportMissingProp=void 0;const e=ln(),t=$n(),r=ld(),n=$n();function o(b,w){const{gen:k,data:x,it:j}=b;k.if(u(k,x,w,j.opts.ownProperties),()=>{b.setParams({missingProperty:(0,e._)`${w}`},!0),b.error()})}Gn.checkReportMissingProp=o;function s({gen:b,data:w,it:{opts:k}},x,j){return(0,e.or)(...x.map(_=>(0,e.and)(u(b,w,_,k.ownProperties),(0,e._)`${j} = ${_}`)))}Gn.checkMissingProp=s;function i(b,w){b.setParams({missingProperty:w},!0),b.error()}Gn.reportMissingProp=i;function a(b){return b.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}Gn.hasPropFunc=a;function l(b,w,k){return(0,e._)`${a(b)}.call(${w}, ${k})`}Gn.isOwnProperty=l;function c(b,w,k,x){const j=(0,e._)`${w}${(0,e.getProperty)(k)} !== undefined`;return x?(0,e._)`${j} && ${l(b,w,k)}`:j}Gn.propertyInData=c;function u(b,w,k,x){const j=(0,e._)`${w}${(0,e.getProperty)(k)} === undefined`;return x?(0,e.or)(j,(0,e.not)(l(b,w,k))):j}Gn.noPropertyInData=u;function d(b){return b?Object.keys(b).filter(w=>w!=="__proto__"):[]}Gn.allSchemaProperties=d;function p(b,w){return d(w).filter(k=>!(0,t.alwaysValidSchema)(b,w[k]))}Gn.schemaProperties=p;function f({schemaCode:b,data:w,it:{gen:k,topSchemaRef:x,schemaPath:j,errorPath:_},it:C},A,I,M){const N=M?(0,e._)`${b}, ${w}, ${x}${j}`:w,F=[[r.default.instancePath,(0,e.strConcat)(r.default.instancePath,_)],[r.default.parentData,C.parentData],[r.default.parentDataProperty,C.parentDataProperty],[r.default.rootData,r.default.rootData]];C.opts.dynamicRef&&F.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);const z=(0,e._)`${N}, ${k.object(...F)}`;return I!==e.nil?(0,e._)`${A}.call(${I}, ${z})`:(0,e._)`${A}(${z})`}Gn.callValidateCode=f;const m=(0,e._)`new RegExp`;function v({gen:b,it:{opts:w}},k){const x=w.unicodeRegExp?"u":"",{regExp:j}=w.code,_=j(k,x);return b.scopeValue("pattern",{key:_.toString(),ref:_,code:(0,e._)`${j.code==="new RegExp"?m:(0,n.useFunc)(b,j)}(${k}, ${x})`})}Gn.usePattern=v;function g(b){const{gen:w,data:k,keyword:x,it:j}=b,_=w.name("valid");if(j.allErrors){const A=w.let("valid",!0);return C(()=>w.assign(A,!1)),A}return w.var(_,!0),C(()=>w.break()),_;function C(A){const I=w.const("len",(0,e._)`${k}.length`);w.forRange("i",0,I,M=>{b.subschema({keyword:x,dataProp:M,dataPropType:t.Type.Num},_),w.if((0,e.not)(_),A)})}}Gn.validateArray=g;function y(b){const{gen:w,schema:k,keyword:x,it:j}=b;if(!Array.isArray(k))throw new Error("ajv implementation error");if(k.some(A=>(0,t.alwaysValidSchema)(j,A))&&!j.opts.unevaluated)return;const _=w.let("valid",!1),C=w.name("_valid");w.block(()=>k.forEach((A,I)=>{const M=b.subschema({keyword:x,schemaProp:I,compositeRule:!0},C);w.assign(_,(0,e._)`${_} || ${C}`),b.mergeValidEvaluated(M,C)||w.if((0,e.not)(_))})),b.result(_,()=>b.reset(),()=>b.error(!0))}return Gn.validateUnion=y,Gn}var V3;function dke(){if(V3)return Sa;V3=1,Object.defineProperty(Sa,"__esModule",{value:!0}),Sa.validateKeywordUsage=Sa.validSchemaType=Sa.funcKeywordCode=Sa.macroKeywordCode=void 0;const e=ln(),t=ld(),r=nl(),n=Zw();function o(p,f){const{gen:m,keyword:v,schema:g,parentSchema:y,it:b}=p,w=f.macro.call(b.self,g,y,b),k=c(m,v,w);b.opts.validateSchema!==!1&&b.self.validateSchema(w,!0);const x=m.name("valid");p.subschema({schema:w,schemaPath:e.nil,errSchemaPath:`${b.errSchemaPath}/${v}`,topSchemaRef:k,compositeRule:!0},x),p.pass(x,()=>p.error(!0))}Sa.macroKeywordCode=o;function s(p,f){var m;const{gen:v,keyword:g,schema:y,parentSchema:b,$data:w,it:k}=p;l(k,f);const x=!w&&f.compile?f.compile.call(k.self,y,b,k):f.validate,j=c(v,g,x),_=v.let("valid");p.block$data(_,C),p.ok((m=f.valid)!==null&&m!==void 0?m:_);function C(){if(f.errors===!1)M(),f.modifying&&i(p),N(()=>p.error());else{const F=f.async?A():I();f.modifying&&i(p),N(()=>a(p,F))}}function A(){const F=v.let("ruleErrs",null);return v.try(()=>M((0,e._)`await `),z=>v.assign(_,!1).if((0,e._)`${z} instanceof ${k.ValidationError}`,()=>v.assign(F,(0,e._)`${z}.errors`),()=>v.throw(z))),F}function I(){const F=(0,e._)`${j}.errors`;return v.assign(F,null),M(e.nil),F}function M(F=f.async?(0,e._)`await `:e.nil){const z=k.opts.passContext?t.default.this:t.default.self,L=!("compile"in f&&!w||f.schema===!1);v.assign(_,(0,e._)`${F}${(0,r.callValidateCode)(p,j,z,L)}`,f.modifying)}function N(F){var z;v.if((0,e.not)((z=f.valid)!==null&&z!==void 0?z:_),F)}}Sa.funcKeywordCode=s;function i(p){const{gen:f,data:m,it:v}=p;f.if(v.parentData,()=>f.assign(m,(0,e._)`${v.parentData}[${v.parentDataProperty}]`))}function a(p,f){const{gen:m}=p;m.if((0,e._)`Array.isArray(${f})`,()=>{m.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${f} : ${t.default.vErrors}.concat(${f})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,n.extendErrors)(p)},()=>p.error())}function l({schemaEnv:p},f){if(f.async&&!p.$async)throw new Error("async keyword in sync schema")}function c(p,f,m){if(m===void 0)throw new Error(`keyword "${f}" failed to compile`);return p.scopeValue("keyword",typeof m=="function"?{ref:m}:{ref:m,code:(0,e.stringify)(m)})}function u(p,f,m=!1){return!f.length||f.some(v=>v==="array"?Array.isArray(p):v==="object"?p&&typeof p=="object"&&!Array.isArray(p):typeof p==v||m&&typeof p>"u")}Sa.validSchemaType=u;function d({schema:p,opts:f,self:m,errSchemaPath:v},g,y){if(Array.isArray(g.keyword)?!g.keyword.includes(y):g.keyword!==y)throw new Error("ajv implementation error");const b=g.dependencies;if(b!=null&&b.some(w=>!Object.prototype.hasOwnProperty.call(p,w)))throw new Error(`parent schema must have dependencies of ${y}: ${b.join(",")}`);if(g.validateSchema&&!g.validateSchema(p[y])){const w=`keyword "${y}" value is invalid at path "${v}": `+m.errorsText(g.validateSchema.errors);if(f.validateSchema==="log")m.logger.error(w);else throw new Error(w)}}return Sa.validateKeywordUsage=d,Sa}var rc={},U3;function pke(){if(U3)return rc;U3=1,Object.defineProperty(rc,"__esModule",{value:!0}),rc.extendSubschemaMode=rc.extendSubschemaData=rc.getSubschema=void 0;const e=ln(),t=$n();function r(s,{keyword:i,schemaProp:a,schema:l,schemaPath:c,errSchemaPath:u,topSchemaRef:d}){if(i!==void 0&&l!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(i!==void 0){const p=s.schema[i];return a===void 0?{schema:p,schemaPath:(0,e._)`${s.schemaPath}${(0,e.getProperty)(i)}`,errSchemaPath:`${s.errSchemaPath}/${i}`}:{schema:p[a],schemaPath:(0,e._)`${s.schemaPath}${(0,e.getProperty)(i)}${(0,e.getProperty)(a)}`,errSchemaPath:`${s.errSchemaPath}/${i}/${(0,t.escapeFragment)(a)}`}}if(l!==void 0){if(c===void 0||u===void 0||d===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:l,schemaPath:c,topSchemaRef:d,errSchemaPath:u}}throw new Error('either "keyword" or "schema" must be passed')}rc.getSubschema=r;function n(s,i,{dataProp:a,dataPropType:l,data:c,dataTypes:u,propertyName:d}){if(c!==void 0&&a!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:p}=i;if(a!==void 0){const{errorPath:m,dataPathArr:v,opts:g}=i,y=p.let("data",(0,e._)`${i.data}${(0,e.getProperty)(a)}`,!0);f(y),s.errorPath=(0,e.str)`${m}${(0,t.getErrorPath)(a,l,g.jsPropertySyntax)}`,s.parentDataProperty=(0,e._)`${a}`,s.dataPathArr=[...v,s.parentDataProperty]}if(c!==void 0){const m=c instanceof e.Name?c:p.let("data",c,!0);f(m),d!==void 0&&(s.propertyName=d)}u&&(s.dataTypes=u);function f(m){s.data=m,s.dataLevel=i.dataLevel+1,s.dataTypes=[],i.definedProperties=new Set,s.parentData=i.data,s.dataNames=[...i.dataNames,m]}}rc.extendSubschemaData=n;function o(s,{jtdDiscriminator:i,jtdMetadata:a,compositeRule:l,createErrors:c,allErrors:u}){l!==void 0&&(s.compositeRule=l),c!==void 0&&(s.createErrors=c),u!==void 0&&(s.allErrors=u),s.jtdDiscriminator=i,s.jtdMetadata=a}return rc.extendSubschemaMode=o,rc}var Zs={},H3,W3;function Q6(){return W3||(W3=1,H3=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,o,s;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(o=n;o--!==0;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(s=Object.keys(t),n=s.length,n!==Object.keys(r).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(r,s[o]))return!1;for(o=n;o--!==0;){var i=s[o];if(!e(t[i],r[i]))return!1}return!0}return t!==t&&r!==r}),H3}var zk={exports:{}},G3;function fke(){if(G3)return zk.exports;G3=1;var e=zk.exports=function(n,o,s){typeof o=="function"&&(s=o,o={}),s=o.cb||s;var i=typeof s=="function"?s:s.pre||function(){},a=s.post||function(){};t(o,i,a,n,"",n)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function t(n,o,s,i,a,l,c,u,d,p){if(i&&typeof i=="object"&&!Array.isArray(i)){o(i,a,l,c,u,d,p);for(var f in i){var m=i[f];if(Array.isArray(m)){if(f in e.arrayKeywords)for(var v=0;vg+=a(b)),g===1/0)))return 1/0;return g}function l(v,g="",y){y!==!1&&(g=d(g));const b=v.parse(g);return c(v,b)}Zs.getFullPath=l;function c(v,g){return v.serialize(g).split("#")[0]+"#"}Zs._getFullPath=c;const u=/#\/?$/;function d(v){return v?v.replace(u,""):""}Zs.normalizeId=d;function p(v,g,y){return y=d(y),v.resolve(g,y)}Zs.resolveUrl=p;const f=/^[a-z_][-a-z0-9._]*$/i;function m(v,g){if(typeof v=="boolean")return{};const{schemaId:y,uriResolver:b}=this.opts,w=d(v[y]||g),k={"":w},x=l(b,w,!1),j={},_=new Set;return r(v,{allKeys:!0},(I,M,N,F)=>{if(F===void 0)return;const z=x+M;let L=k[F];typeof I[y]=="string"&&(L=X.call(this,I[y])),V.call(this,I.$anchor),V.call(this,I.$dynamicAnchor),k[M]=L;function X(J){const oe=this.opts.uriResolver.resolve;if(J=d(L?oe(L,J):J),_.has(J))throw A(J);_.add(J);let H=this.refs[J];return typeof H=="string"&&(H=this.refs[H]),typeof H=="object"?C(I,H.schema,J):J!==d(z)&&(J[0]==="#"?(C(I,j[J],J),j[J]=I):this.refs[J]=z),J}function V(J){if(typeof J=="string"){if(!f.test(J))throw new Error(`invalid anchor "${J}"`);X.call(this,`#${J}`)}}}),j;function C(I,M,N){if(M!==void 0&&!t(I,M))throw A(N)}function A(I){return new Error(`reference "${I}" resolves to more than one schema`)}}return Zs.getSchemaRefs=m,Zs}var K3;function Yw(){if(K3)return ec;K3=1,Object.defineProperty(ec,"__esModule",{value:!0}),ec.getData=ec.KeywordCxt=ec.validateFunctionCode=void 0;const e=cke(),t=e1(),r=K6(),n=e1(),o=uke(),s=dke(),i=pke(),a=ln(),l=ld(),c=Xw(),u=$n(),d=Zw();function p(R){if(x(R)&&(_(R),k(R))){g(R);return}f(R,()=>(0,e.topBoolOrEmptySchema)(R))}ec.validateFunctionCode=p;function f({gen:R,validateName:te,schema:ne,schemaEnv:Ce,opts:me},ae){me.code.es5?R.func(te,(0,a._)`${l.default.data}, ${l.default.valCxt}`,Ce.$async,()=>{R.code((0,a._)`"use strict"; ${b(ne,me)}`),v(R,me),R.code(ae)}):R.func(te,(0,a._)`${l.default.data}, ${m(me)}`,Ce.$async,()=>R.code(b(ne,me)).code(ae))}function m(R){return(0,a._)`{${l.default.instancePath}="", ${l.default.parentData}, ${l.default.parentDataProperty}, ${l.default.rootData}=${l.default.data}${R.dynamicRef?(0,a._)`, ${l.default.dynamicAnchors}={}`:a.nil}}={}`}function v(R,te){R.if(l.default.valCxt,()=>{R.var(l.default.instancePath,(0,a._)`${l.default.valCxt}.${l.default.instancePath}`),R.var(l.default.parentData,(0,a._)`${l.default.valCxt}.${l.default.parentData}`),R.var(l.default.parentDataProperty,(0,a._)`${l.default.valCxt}.${l.default.parentDataProperty}`),R.var(l.default.rootData,(0,a._)`${l.default.valCxt}.${l.default.rootData}`),te.dynamicRef&&R.var(l.default.dynamicAnchors,(0,a._)`${l.default.valCxt}.${l.default.dynamicAnchors}`)},()=>{R.var(l.default.instancePath,(0,a._)`""`),R.var(l.default.parentData,(0,a._)`undefined`),R.var(l.default.parentDataProperty,(0,a._)`undefined`),R.var(l.default.rootData,l.default.data),te.dynamicRef&&R.var(l.default.dynamicAnchors,(0,a._)`{}`)})}function g(R){const{schema:te,opts:ne,gen:Ce}=R;f(R,()=>{ne.$comment&&te.$comment&&F(R),I(R),Ce.let(l.default.vErrors,null),Ce.let(l.default.errors,0),ne.unevaluated&&y(R),C(R),z(R)})}function y(R){const{gen:te,validateName:ne}=R;R.evaluated=te.const("evaluated",(0,a._)`${ne}.evaluated`),te.if((0,a._)`${R.evaluated}.dynamicProps`,()=>te.assign((0,a._)`${R.evaluated}.props`,(0,a._)`undefined`)),te.if((0,a._)`${R.evaluated}.dynamicItems`,()=>te.assign((0,a._)`${R.evaluated}.items`,(0,a._)`undefined`))}function b(R,te){const ne=typeof R=="object"&&R[te.schemaId];return ne&&(te.code.source||te.code.process)?(0,a._)`/*# sourceURL=${ne} */`:a.nil}function w(R,te){if(x(R)&&(_(R),k(R))){j(R,te);return}(0,e.boolOrEmptySchema)(R,te)}function k({schema:R,self:te}){if(typeof R=="boolean")return!R;for(const ne in R)if(te.RULES.all[ne])return!0;return!1}function x(R){return typeof R.schema!="boolean"}function j(R,te){const{schema:ne,gen:Ce,opts:me}=R;me.$comment&&ne.$comment&&F(R),M(R),N(R);const ae=Ce.const("_errs",l.default.errors);C(R,ae),Ce.var(te,(0,a._)`${ae} === ${l.default.errors}`)}function _(R){(0,u.checkUnknownRules)(R),A(R)}function C(R,te){if(R.opts.jtd)return X(R,[],!1,te);const ne=(0,t.getSchemaTypes)(R.schema),Ce=(0,t.coerceAndCheckDataType)(R,ne);X(R,ne,!Ce,te)}function A(R){const{schema:te,errSchemaPath:ne,opts:Ce,self:me}=R;te.$ref&&Ce.ignoreKeywordsWithRef&&(0,u.schemaHasRulesButRef)(te,me.RULES)&&me.logger.warn(`$ref: keywords ignored in schema at path "${ne}"`)}function I(R){const{schema:te,opts:ne}=R;te.default!==void 0&&ne.useDefaults&&ne.strictSchema&&(0,u.checkStrictMode)(R,"default is ignored in the schema root")}function M(R){const te=R.schema[R.opts.schemaId];te&&(R.baseId=(0,c.resolveUrl)(R.opts.uriResolver,R.baseId,te))}function N(R){if(R.schema.$async&&!R.schemaEnv.$async)throw new Error("async schema in sync schema")}function F({gen:R,schemaEnv:te,schema:ne,errSchemaPath:Ce,opts:me}){const ae=ne.$comment;if(me.$comment===!0)R.code((0,a._)`${l.default.self}.logger.log(${ae})`);else if(typeof me.$comment=="function"){const kt=(0,a.str)`${Ce}/$comment`,ft=R.scopeValue("root",{ref:te.root});R.code((0,a._)`${l.default.self}.opts.$comment(${ae}, ${kt}, ${ft}.schema)`)}}function z(R){const{gen:te,schemaEnv:ne,validateName:Ce,ValidationError:me,opts:ae}=R;ne.$async?te.if((0,a._)`${l.default.errors} === 0`,()=>te.return(l.default.data),()=>te.throw((0,a._)`new ${me}(${l.default.vErrors})`)):(te.assign((0,a._)`${Ce}.errors`,l.default.vErrors),ae.unevaluated&&L(R),te.return((0,a._)`${l.default.errors} === 0`))}function L({gen:R,evaluated:te,props:ne,items:Ce}){ne instanceof a.Name&&R.assign((0,a._)`${te}.props`,ne),Ce instanceof a.Name&&R.assign((0,a._)`${te}.items`,Ce)}function X(R,te,ne,Ce){const{gen:me,schema:ae,data:kt,allErrors:ft,opts:Ue,self:gt}=R,{RULES:Ge}=gt;if(ae.$ref&&(Ue.ignoreKeywordsWithRef||!(0,u.schemaHasRulesButRef)(ae,Ge))){me.block(()=>Se(R,"$ref",Ge.all.$ref.definition));return}Ue.jtd||J(R,te),me.block(()=>{for(const It of Ge.rules)_t(It);_t(Ge.post)});function _t(It){(0,r.shouldUseGroup)(ae,It)&&(It.type?(me.if((0,n.checkDataType)(It.type,kt,Ue.strictNumbers)),V(R,It),te.length===1&&te[0]===It.type&&ne&&(me.else(),(0,n.reportTypeError)(R)),me.endIf()):V(R,It),ft||me.if((0,a._)`${l.default.errors} === ${Ce||0}`))}}function V(R,te){const{gen:ne,schema:Ce,opts:{useDefaults:me}}=R;me&&(0,o.assignDefaults)(R,te.type),ne.block(()=>{for(const ae of te.rules)(0,r.shouldUseRule)(Ce,ae)&&Se(R,ae.keyword,ae.definition,te.type)})}function J(R,te){R.schemaEnv.meta||!R.opts.strictTypes||(oe(R,te),R.opts.allowUnionTypes||H(R,te),B(R,R.dataTypes))}function oe(R,te){if(te.length){if(!R.dataTypes.length){R.dataTypes=te;return}te.forEach(ne=>{q(R.dataTypes,ne)||D(R,`type "${ne}" not allowed by context "${R.dataTypes.join(",")}"`)}),O(R,te)}}function H(R,te){te.length>1&&!(te.length===2&&te.includes("null"))&&D(R,"use allowUnionTypes to allow union type keyword")}function B(R,te){const ne=R.self.RULES.all;for(const Ce in ne){const me=ne[Ce];if(typeof me=="object"&&(0,r.shouldUseRule)(R.schema,me)){const{type:ae}=me.definition;ae.length&&!ae.some(kt=>se(te,kt))&&D(R,`missing type "${ae.join(",")}" for keyword "${Ce}"`)}}}function se(R,te){return R.includes(te)||te==="number"&&R.includes("integer")}function q(R,te){return R.includes(te)||te==="integer"&&R.includes("number")}function O(R,te){const ne=[];for(const Ce of R.dataTypes)q(te,Ce)?ne.push(Ce):te.includes("integer")&&Ce==="number"&&ne.push("integer");R.dataTypes=ne}function D(R,te){const ne=R.schemaEnv.baseId+R.errSchemaPath;te+=` at "${ne}" (strictTypes)`,(0,u.checkStrictMode)(R,te,R.opts.strictTypes)}class Z{constructor(te,ne,Ce){if((0,s.validateKeywordUsage)(te,ne,Ce),this.gen=te.gen,this.allErrors=te.allErrors,this.keyword=Ce,this.data=te.data,this.schema=te.schema[Ce],this.$data=ne.$data&&te.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,u.schemaRefOrVal)(te,this.schema,Ce,this.$data),this.schemaType=ne.schemaType,this.parentSchema=te.schema,this.params={},this.it=te,this.def=ne,this.$data)this.schemaCode=te.gen.const("vSchema",xe(this.$data,te));else if(this.schemaCode=this.schemaValue,!(0,s.validSchemaType)(this.schema,ne.schemaType,ne.allowUndefined))throw new Error(`${Ce} value must be ${JSON.stringify(ne.schemaType)}`);("code"in ne?ne.trackErrors:ne.errors!==!1)&&(this.errsCount=te.gen.const("_errs",l.default.errors))}result(te,ne,Ce){this.failResult((0,a.not)(te),ne,Ce)}failResult(te,ne,Ce){this.gen.if(te),Ce?Ce():this.error(),ne?(this.gen.else(),ne(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(te,ne){this.failResult((0,a.not)(te),void 0,ne)}fail(te){if(te===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(te),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(te){if(!this.$data)return this.fail(te);const{schemaCode:ne}=this;this.fail((0,a._)`${ne} !== undefined && (${(0,a.or)(this.invalid$data(),te)})`)}error(te,ne,Ce){if(ne){this.setParams(ne),this._error(te,Ce),this.setParams({});return}this._error(te,Ce)}_error(te,ne){(te?d.reportExtraError:d.reportError)(this,this.def.error,ne)}$dataError(){(0,d.reportError)(this,this.def.$dataError||d.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,d.resetErrorsCount)(this.gen,this.errsCount)}ok(te){this.allErrors||this.gen.if(te)}setParams(te,ne){ne?Object.assign(this.params,te):this.params=te}block$data(te,ne,Ce=a.nil){this.gen.block(()=>{this.check$data(te,Ce),ne()})}check$data(te=a.nil,ne=a.nil){if(!this.$data)return;const{gen:Ce,schemaCode:me,schemaType:ae,def:kt}=this;Ce.if((0,a.or)((0,a._)`${me} === undefined`,ne)),te!==a.nil&&Ce.assign(te,!0),(ae.length||kt.validateSchema)&&(Ce.elseIf(this.invalid$data()),this.$dataError(),te!==a.nil&&Ce.assign(te,!1)),Ce.else()}invalid$data(){const{gen:te,schemaCode:ne,schemaType:Ce,def:me,it:ae}=this;return(0,a.or)(kt(),ft());function kt(){if(Ce.length){if(!(ne instanceof a.Name))throw new Error("ajv implementation error");const Ue=Array.isArray(Ce)?Ce:[Ce];return(0,a._)`${(0,n.checkDataTypes)(Ue,ne,ae.opts.strictNumbers,n.DataType.Wrong)}`}return a.nil}function ft(){if(me.validateSchema){const Ue=te.scopeValue("validate$data",{ref:me.validateSchema});return(0,a._)`!${Ue}(${ne})`}return a.nil}}subschema(te,ne){const Ce=(0,i.getSubschema)(this.it,te);(0,i.extendSubschemaData)(Ce,this.it,te),(0,i.extendSubschemaMode)(Ce,te);const me={...this.it,...Ce,items:void 0,props:void 0};return w(me,ne),me}mergeEvaluated(te,ne){const{it:Ce,gen:me}=this;Ce.opts.unevaluated&&(Ce.props!==!0&&te.props!==void 0&&(Ce.props=u.mergeEvaluated.props(me,te.props,Ce.props,ne)),Ce.items!==!0&&te.items!==void 0&&(Ce.items=u.mergeEvaluated.items(me,te.items,Ce.items,ne)))}mergeValidEvaluated(te,ne){const{it:Ce,gen:me}=this;if(Ce.opts.unevaluated&&(Ce.props!==!0||Ce.items!==!0))return me.if(ne,()=>this.mergeEvaluated(te,a.Name)),!0}}ec.KeywordCxt=Z;function Se(R,te,ne,Ce){const me=new Z(R,ne,te);"code"in ne?ne.code(me,Ce):me.$data&&ne.validate?(0,s.funcKeywordCode)(me,ne):"macro"in ne?(0,s.macroKeywordCode)(me,ne):(ne.compile||ne.validate)&&(0,s.funcKeywordCode)(me,ne)}const ie=/^\/(?:[^~]|~0|~1)*$/,re=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function xe(R,{dataLevel:te,dataNames:ne,dataPathArr:Ce}){let me,ae;if(R==="")return l.default.rootData;if(R[0]==="/"){if(!ie.test(R))throw new Error(`Invalid JSON-pointer: ${R}`);me=R,ae=l.default.rootData}else{const gt=re.exec(R);if(!gt)throw new Error(`Invalid JSON-pointer: ${R}`);const Ge=+gt[1];if(me=gt[2],me==="#"){if(Ge>=te)throw new Error(Ue("property/index",Ge));return Ce[te-Ge]}if(Ge>te)throw new Error(Ue("data",Ge));if(ae=ne[te-Ge],!me)return ae}let kt=ae;const ft=me.split("/");for(const gt of ft)gt&&(ae=(0,a._)`${ae}${(0,a.getProperty)((0,u.unescapeJsonPointer)(gt))}`,kt=(0,a._)`${kt} && ${ae}`);return kt;function Ue(gt,Ge){return`Cannot access ${gt} ${Ge} levels up, current level is ${te}`}}return ec.getData=xe,ec}var xy={},Q3;function $A(){if(Q3)return xy;Q3=1,Object.defineProperty(xy,"__esModule",{value:!0});class e extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}}return xy.default=e,xy}var ky={},Z3;function ex(){if(Z3)return ky;Z3=1,Object.defineProperty(ky,"__esModule",{value:!0});const e=Xw();class t extends Error{constructor(n,o,s,i){super(i||`can't resolve reference ${s} from id ${o}`),this.missingRef=(0,e.resolveUrl)(n,o,s),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(n,this.missingRef))}}return ky.default=t,ky}var Ei={},X3;function TA(){if(X3)return Ei;X3=1,Object.defineProperty(Ei,"__esModule",{value:!0}),Ei.resolveSchema=Ei.getCompilingSchema=Ei.resolveRef=Ei.compileSchema=Ei.SchemaEnv=void 0;const e=ln(),t=$A(),r=ld(),n=Xw(),o=$n(),s=Yw();class i{constructor(y){var b;this.refs={},this.dynamicAnchors={};let w;typeof y.schema=="object"&&(w=y.schema),this.schema=y.schema,this.schemaId=y.schemaId,this.root=y.root||this,this.baseId=(b=y.baseId)!==null&&b!==void 0?b:(0,n.normalizeId)(w==null?void 0:w[y.schemaId||"$id"]),this.schemaPath=y.schemaPath,this.localRefs=y.localRefs,this.meta=y.meta,this.$async=w==null?void 0:w.$async,this.refs={}}}Ei.SchemaEnv=i;function a(g){const y=u.call(this,g);if(y)return y;const b=(0,n.getFullPath)(this.opts.uriResolver,g.root.baseId),{es5:w,lines:k}=this.opts.code,{ownProperties:x}=this.opts,j=new e.CodeGen(this.scope,{es5:w,lines:k,ownProperties:x});let _;g.$async&&(_=j.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const C=j.scopeName("validate");g.validateName=C;const A={gen:j,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:j.scopeValue("schema",this.opts.code.source===!0?{ref:g.schema,code:(0,e.stringify)(g.schema)}:{ref:g.schema}),validateName:C,ValidationError:_,schema:g.schema,schemaEnv:g,rootId:b,baseId:g.baseId||b,schemaPath:e.nil,errSchemaPath:g.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let I;try{this._compilations.add(g),(0,s.validateFunctionCode)(A),j.optimize(this.opts.code.optimize);const M=j.toString();I=`${j.scopeRefs(r.default.scope)}return ${M}`,this.opts.code.process&&(I=this.opts.code.process(I,g));const N=new Function(`${r.default.self}`,`${r.default.scope}`,I)(this,this.scope.get());if(this.scope.value(C,{ref:N}),N.errors=null,N.schema=g.schema,N.schemaEnv=g,g.$async&&(N.$async=!0),this.opts.code.source===!0&&(N.source={validateName:C,validateCode:M,scopeValues:j._values}),this.opts.unevaluated){const{props:F,items:z}=A;N.evaluated={props:F instanceof e.Name?void 0:F,items:z instanceof e.Name?void 0:z,dynamicProps:F instanceof e.Name,dynamicItems:z instanceof e.Name},N.source&&(N.source.evaluated=(0,e.stringify)(N.evaluated))}return g.validate=N,g}catch(M){throw delete g.validate,delete g.validateName,I&&this.logger.error("Error compiling schema, function code:",I),M}finally{this._compilations.delete(g)}}Ei.compileSchema=a;function l(g,y,b){var w;b=(0,n.resolveUrl)(this.opts.uriResolver,y,b);const k=g.refs[b];if(k)return k;let x=p.call(this,g,b);if(x===void 0){const j=(w=g.localRefs)===null||w===void 0?void 0:w[b],{schemaId:_}=this.opts;j&&(x=new i({schema:j,schemaId:_,root:g,baseId:y}))}if(x!==void 0)return g.refs[b]=c.call(this,x)}Ei.resolveRef=l;function c(g){return(0,n.inlineRef)(g.schema,this.opts.inlineRefs)?g.schema:g.validate?g:a.call(this,g)}function u(g){for(const y of this._compilations)if(d(y,g))return y}Ei.getCompilingSchema=u;function d(g,y){return g.schema===y.schema&&g.root===y.root&&g.baseId===y.baseId}function p(g,y){let b;for(;typeof(b=this.refs[y])=="string";)y=b;return b||this.schemas[y]||f.call(this,g,y)}function f(g,y){const b=this.opts.uriResolver.parse(y),w=(0,n._getFullPath)(this.opts.uriResolver,b);let k=(0,n.getFullPath)(this.opts.uriResolver,g.baseId,void 0);if(Object.keys(g.schema).length>0&&w===k)return v.call(this,b,g);const x=(0,n.normalizeId)(w),j=this.refs[x]||this.schemas[x];if(typeof j=="string"){const _=f.call(this,g,j);return typeof(_==null?void 0:_.schema)!="object"?void 0:v.call(this,b,_)}if(typeof(j==null?void 0:j.schema)=="object"){if(j.validate||a.call(this,j),x===(0,n.normalizeId)(y)){const{schema:_}=j,{schemaId:C}=this.opts,A=_[C];return A&&(k=(0,n.resolveUrl)(this.opts.uriResolver,k,A)),new i({schema:_,schemaId:C,root:g,baseId:k})}return v.call(this,b,j)}}Ei.resolveSchema=f;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function v(g,{baseId:y,schema:b,root:w}){var k;if(((k=g.fragment)===null||k===void 0?void 0:k[0])!=="/")return;for(const _ of g.fragment.slice(1).split("/")){if(typeof b=="boolean")return;const C=b[(0,o.unescapeFragment)(_)];if(C===void 0)return;b=C;const A=typeof b=="object"&&b[this.opts.schemaId];!m.has(_)&&A&&(y=(0,n.resolveUrl)(this.opts.uriResolver,y,A))}let x;if(typeof b!="boolean"&&b.$ref&&!(0,o.schemaHasRulesButRef)(b,this.RULES)){const _=(0,n.resolveUrl)(this.opts.uriResolver,y,b.$ref);x=f.call(this,w,_)}const{schemaId:j}=this.opts;if(x=x||new i({schema:b,schemaId:j,root:w,baseId:y}),x.schema!==x.root.schema)return x}return Ei}const hke="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",mke="Meta-schema for $data reference (JSON AnySchema extension proposal)",gke="object",vke=["$data"],yke={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},bke=!1,wke={$id:hke,description:mke,type:gke,required:vke,properties:yke,additionalProperties:bke};var jy={},um={exports:{}},Y3,eP;function xke(){return eP||(eP=1,Y3={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}),Y3}var Fk,tP;function kke(){if(tP)return Fk;tP=1;const{HEX:e}=xke(),t=/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;function r(v){if(a(v,".")<3)return{host:v,isIPV4:!1};const g=v.match(t)||[],[y]=g;return y?{host:i(y,"."),isIPV4:!0}:{host:v,isIPV4:!1}}function n(v,g=!1){let y="",b=!0;for(const w of v){if(e[w]===void 0)return;w!=="0"&&b===!0&&(b=!1),b||(y+=w)}return g&&y.length===0&&(y="0"),y}function o(v){let g=0;const y={error:!1,address:"",zone:""},b=[],w=[];let k=!1,x=!1,j=!1;function _(){if(w.length){if(k===!1){const C=n(w);if(C!==void 0)b.push(C);else return y.error=!0,!1}w.length=0}return!0}for(let C=0;C7){y.error=!0;break}C-1>=0&&v[C-1]===":"&&(x=!0);continue}else if(A==="%"){if(!_())break;k=!0}else{w.push(A);continue}}return w.length&&(k?y.zone=w.join(""):j?b.push(w.join("")):b.push(n(w))),y.address=b.join(""),y}function s(v){if(a(v,":")<2)return{host:v,isIPV6:!1};const g=o(v);if(g.error)return{host:v,isIPV6:!1};{let y=g.address,b=g.address;return g.zone&&(y+="%"+g.zone,b+="%25"+g.zone),{host:y,escapedHost:b,isIPV6:!0}}}function i(v,g){let y="",b=!0;const w=v.length;for(let k=0;k/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(y)));function p(g){let y=0;for(let b=0,w=g.length;b126||d[y])return!0;return!1}const f=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function m(g,y){const b=Object.assign({},y),w={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},k=g.indexOf("%")!==-1;let x=!1;b.reference==="suffix"&&(g=(b.scheme?b.scheme+":":"")+"//"+g);const j=g.match(f);if(j){if(w.scheme=j[1],w.userinfo=j[3],w.host=j[4],w.port=parseInt(j[5],10),w.path=j[6]||"",w.query=j[7],w.fragment=j[8],isNaN(w.port)&&(w.port=j[5]),w.host){const C=t(w.host);if(C.isIPV4===!1){const A=e(C.host);w.host=A.host.toLowerCase(),x=A.isIPV6}else w.host=C.host,x=!0}w.scheme===void 0&&w.userinfo===void 0&&w.host===void 0&&w.port===void 0&&w.query===void 0&&!w.path?w.reference="same-document":w.scheme===void 0?w.reference="relative":w.fragment===void 0?w.reference="absolute":w.reference="uri",b.reference&&b.reference!=="suffix"&&b.reference!==w.reference&&(w.error=w.error||"URI is not a "+b.reference+" reference.");const _=s[(b.scheme||w.scheme||"").toLowerCase()];if(!b.unicodeSupport&&(!_||!_.unicodeSupport)&&w.host&&(b.domainHost||_&&_.domainHost)&&x===!1&&p(w.host))try{w.host=URL.domainToASCII(w.host.toLowerCase())}catch(C){w.error=w.error||"Host's domain name can not be converted to ASCII: "+C}(!_||_&&!_.skipNormalize)&&(k&&w.scheme!==void 0&&(w.scheme=unescape(w.scheme)),k&&w.host!==void 0&&(w.host=unescape(w.host)),w.path&&(w.path=escape(unescape(w.path))),w.fragment&&(w.fragment=encodeURI(decodeURIComponent(w.fragment)))),_&&_.parse&&_.parse(w,b)}else w.error=w.error||"URI can not be parsed.";return w}const v={SCHEMES:s,normalize:i,resolve:a,resolveComponents:l,equal:c,serialize:u,parse:m};return um.exports=v,um.exports.default=v,um.exports.fastUri=v,um.exports}var oP;function Ske(){if(oP)return jy;oP=1,Object.defineProperty(jy,"__esModule",{value:!0});const e=_ke();return e.code='require("ajv/dist/runtime/uri").default',jy.default=e,jy}var sP;function Cke(){return sP||(sP=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=Yw();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var r=ln();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const n=$A(),o=ex(),s=J6(),i=TA(),a=ln(),l=Xw(),c=e1(),u=$n(),d=wke,p=Ske(),f=(H,B)=>new RegExp(H,B);f.code="new RegExp";const m=["removeAdditional","useDefaults","coerceTypes"],v=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),g={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},y={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},b=200;function w(H){var B,se,q,O,D,Z,Se,ie,re,xe,R,te,ne,Ce,me,ae,kt,ft,Ue,gt,Ge,_t,It,vt,sr;const P=H.strict,G=(B=H.code)===null||B===void 0?void 0:B.optimize,ee=G===!0||G===void 0?1:G||0,be=(q=(se=H.code)===null||se===void 0?void 0:se.regExp)!==null&&q!==void 0?q:f,Me=(O=H.uriResolver)!==null&&O!==void 0?O:p.default;return{strictSchema:(Z=(D=H.strictSchema)!==null&&D!==void 0?D:P)!==null&&Z!==void 0?Z:!0,strictNumbers:(ie=(Se=H.strictNumbers)!==null&&Se!==void 0?Se:P)!==null&&ie!==void 0?ie:!0,strictTypes:(xe=(re=H.strictTypes)!==null&&re!==void 0?re:P)!==null&&xe!==void 0?xe:"log",strictTuples:(te=(R=H.strictTuples)!==null&&R!==void 0?R:P)!==null&&te!==void 0?te:"log",strictRequired:(Ce=(ne=H.strictRequired)!==null&&ne!==void 0?ne:P)!==null&&Ce!==void 0?Ce:!1,code:H.code?{...H.code,optimize:ee,regExp:be}:{optimize:ee,regExp:be},loopRequired:(me=H.loopRequired)!==null&&me!==void 0?me:b,loopEnum:(ae=H.loopEnum)!==null&&ae!==void 0?ae:b,meta:(kt=H.meta)!==null&&kt!==void 0?kt:!0,messages:(ft=H.messages)!==null&&ft!==void 0?ft:!0,inlineRefs:(Ue=H.inlineRefs)!==null&&Ue!==void 0?Ue:!0,schemaId:(gt=H.schemaId)!==null&>!==void 0?gt:"$id",addUsedSchema:(Ge=H.addUsedSchema)!==null&&Ge!==void 0?Ge:!0,validateSchema:(_t=H.validateSchema)!==null&&_t!==void 0?_t:!0,validateFormats:(It=H.validateFormats)!==null&&It!==void 0?It:!0,unicodeRegExp:(vt=H.unicodeRegExp)!==null&&vt!==void 0?vt:!0,int32range:(sr=H.int32range)!==null&&sr!==void 0?sr:!0,uriResolver:Me}}class k{constructor(B={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,B=this.opts={...B,...w(B)};const{es5:se,lines:q}=this.opts.code;this.scope=new a.ValueScope({scope:{},prefixes:v,es5:se,lines:q}),this.logger=N(B.logger);const O=B.validateFormats;B.validateFormats=!1,this.RULES=(0,s.getRules)(),x.call(this,g,B,"NOT SUPPORTED"),x.call(this,y,B,"DEPRECATED","warn"),this._metaOpts=I.call(this),B.formats&&C.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),B.keywords&&A.call(this,B.keywords),typeof B.meta=="object"&&this.addMetaSchema(B.meta),_.call(this),B.validateFormats=O}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:B,meta:se,schemaId:q}=this.opts;let O=d;q==="id"&&(O={...d},O.id=O.$id,delete O.$id),se&&B&&this.addMetaSchema(O,O[q],!1)}defaultMeta(){const{meta:B,schemaId:se}=this.opts;return this.opts.defaultMeta=typeof B=="object"?B[se]||B:void 0}validate(B,se){let q;if(typeof B=="string"){if(q=this.getSchema(B),!q)throw new Error(`no schema with key or ref "${B}"`)}else q=this.compile(B);const O=q(se);return"$async"in q||(this.errors=q.errors),O}compile(B,se){const q=this._addSchema(B,se);return q.validate||this._compileSchemaEnv(q)}compileAsync(B,se){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:q}=this.opts;return O.call(this,B,se);async function O(xe,R){await D.call(this,xe.$schema);const te=this._addSchema(xe,R);return te.validate||Z.call(this,te)}async function D(xe){xe&&!this.getSchema(xe)&&await O.call(this,{$ref:xe},!0)}async function Z(xe){try{return this._compileSchemaEnv(xe)}catch(R){if(!(R instanceof o.default))throw R;return Se.call(this,R),await ie.call(this,R.missingSchema),Z.call(this,xe)}}function Se({missingSchema:xe,missingRef:R}){if(this.refs[xe])throw new Error(`AnySchema ${xe} is loaded but ${R} cannot be resolved`)}async function ie(xe){const R=await re.call(this,xe);this.refs[xe]||await D.call(this,R.$schema),this.refs[xe]||this.addSchema(R,xe,se)}async function re(xe){const R=this._loading[xe];if(R)return R;try{return await(this._loading[xe]=q(xe))}finally{delete this._loading[xe]}}}addSchema(B,se,q,O=this.opts.validateSchema){if(Array.isArray(B)){for(const Z of B)this.addSchema(Z,void 0,q,O);return this}let D;if(typeof B=="object"){const{schemaId:Z}=this.opts;if(D=B[Z],D!==void 0&&typeof D!="string")throw new Error(`schema ${Z} must be string`)}return se=(0,l.normalizeId)(se||D),this._checkUnique(se),this.schemas[se]=this._addSchema(B,q,se,O,!0),this}addMetaSchema(B,se,q=this.opts.validateSchema){return this.addSchema(B,se,!0,q),this}validateSchema(B,se){if(typeof B=="boolean")return!0;let q;if(q=B.$schema,q!==void 0&&typeof q!="string")throw new Error("$schema must be a string");if(q=q||this.opts.defaultMeta||this.defaultMeta(),!q)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const O=this.validate(q,B);if(!O&&se){const D="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(D);else throw new Error(D)}return O}getSchema(B){let se;for(;typeof(se=j.call(this,B))=="string";)B=se;if(se===void 0){const{schemaId:q}=this.opts,O=new i.SchemaEnv({schema:{},schemaId:q});if(se=i.resolveSchema.call(this,O,B),!se)return;this.refs[B]=se}return se.validate||this._compileSchemaEnv(se)}removeSchema(B){if(B instanceof RegExp)return this._removeAllSchemas(this.schemas,B),this._removeAllSchemas(this.refs,B),this;switch(typeof B){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const se=j.call(this,B);return typeof se=="object"&&this._cache.delete(se.schema),delete this.schemas[B],delete this.refs[B],this}case"object":{const se=B;this._cache.delete(se);let q=B[this.opts.schemaId];return q&&(q=(0,l.normalizeId)(q),delete this.schemas[q],delete this.refs[q]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(B){for(const se of B)this.addKeyword(se);return this}addKeyword(B,se){let q;if(typeof B=="string")q=B,typeof se=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),se.keyword=q);else if(typeof B=="object"&&se===void 0){if(se=B,q=se.keyword,Array.isArray(q)&&!q.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(z.call(this,q,se),!se)return(0,u.eachItem)(q,D=>L.call(this,D)),this;V.call(this,se);const O={...se,type:(0,c.getJSONTypes)(se.type),schemaType:(0,c.getJSONTypes)(se.schemaType)};return(0,u.eachItem)(q,O.type.length===0?D=>L.call(this,D,O):D=>O.type.forEach(Z=>L.call(this,D,O,Z))),this}getKeyword(B){const se=this.RULES.all[B];return typeof se=="object"?se.definition:!!se}removeKeyword(B){const{RULES:se}=this;delete se.keywords[B],delete se.all[B];for(const q of se.rules){const O=q.rules.findIndex(D=>D.keyword===B);O>=0&&q.rules.splice(O,1)}return this}addFormat(B,se){return typeof se=="string"&&(se=new RegExp(se)),this.formats[B]=se,this}errorsText(B=this.errors,{separator:se=", ",dataVar:q="data"}={}){return!B||B.length===0?"No errors":B.map(O=>`${q}${O.instancePath} ${O.message}`).reduce((O,D)=>O+se+D)}$dataMetaSchema(B,se){const q=this.RULES.all;B=JSON.parse(JSON.stringify(B));for(const O of se){const D=O.split("/").slice(1);let Z=B;for(const Se of D)Z=Z[Se];for(const Se in q){const ie=q[Se];if(typeof ie!="object")continue;const{$data:re}=ie.definition,xe=Z[Se];re&&xe&&(Z[Se]=oe(xe))}}return B}_removeAllSchemas(B,se){for(const q in B){const O=B[q];(!se||se.test(q))&&(typeof O=="string"?delete B[q]:O&&!O.meta&&(this._cache.delete(O.schema),delete B[q]))}}_addSchema(B,se,q,O=this.opts.validateSchema,D=this.opts.addUsedSchema){let Z;const{schemaId:Se}=this.opts;if(typeof B=="object")Z=B[Se];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof B!="boolean")throw new Error("schema must be object or boolean")}let ie=this._cache.get(B);if(ie!==void 0)return ie;q=(0,l.normalizeId)(Z||q);const re=l.getSchemaRefs.call(this,B,q);return ie=new i.SchemaEnv({schema:B,schemaId:Se,meta:se,baseId:q,localRefs:re}),this._cache.set(ie.schema,ie),D&&!q.startsWith("#")&&(q&&this._checkUnique(q),this.refs[q]=ie),O&&this.validateSchema(B,!0),ie}_checkUnique(B){if(this.schemas[B]||this.refs[B])throw new Error(`schema with key or id "${B}" already exists`)}_compileSchemaEnv(B){if(B.meta?this._compileMetaSchema(B):i.compileSchema.call(this,B),!B.validate)throw new Error("ajv implementation error");return B.validate}_compileMetaSchema(B){const se=this.opts;this.opts=this._metaOpts;try{i.compileSchema.call(this,B)}finally{this.opts=se}}}k.ValidationError=n.default,k.MissingRefError=o.default,e.default=k;function x(H,B,se,q="error"){for(const O in H){const D=O;D in B&&this.logger[q](`${se}: option ${O}. ${H[D]}`)}}function j(H){return H=(0,l.normalizeId)(H),this.schemas[H]||this.refs[H]}function _(){const H=this.opts.schemas;if(H)if(Array.isArray(H))this.addSchema(H);else for(const B in H)this.addSchema(H[B],B)}function C(){for(const H in this.opts.formats){const B=this.opts.formats[H];B&&this.addFormat(H,B)}}function A(H){if(Array.isArray(H)){this.addVocabulary(H);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const B in H){const se=H[B];se.keyword||(se.keyword=B),this.addKeyword(se)}}function I(){const H={...this.opts};for(const B of m)delete H[B];return H}const M={log(){},warn(){},error(){}};function N(H){if(H===!1)return M;if(H===void 0)return console;if(H.log&&H.warn&&H.error)return H;throw new Error("logger must implement log, warn and error methods")}const F=/^[a-z_$][a-z0-9_$:-]*$/i;function z(H,B){const{RULES:se}=this;if((0,u.eachItem)(H,q=>{if(se.keywords[q])throw new Error(`Keyword ${q} is already defined`);if(!F.test(q))throw new Error(`Keyword ${q} has invalid name`)}),!!B&&B.$data&&!("code"in B||"validate"in B))throw new Error('$data keyword must have "code" or "validate" function')}function L(H,B,se){var q;const O=B==null?void 0:B.post;if(se&&O)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:D}=this;let Z=O?D.post:D.rules.find(({type:ie})=>ie===se);if(Z||(Z={type:se,rules:[]},D.rules.push(Z)),D.keywords[H]=!0,!B)return;const Se={keyword:H,definition:{...B,type:(0,c.getJSONTypes)(B.type),schemaType:(0,c.getJSONTypes)(B.schemaType)}};B.before?X.call(this,Z,Se,B.before):Z.rules.push(Se),D.all[H]=Se,(q=B.implements)===null||q===void 0||q.forEach(ie=>this.addKeyword(ie))}function X(H,B,se){const q=H.rules.findIndex(O=>O.keyword===se);q>=0?H.rules.splice(q,0,B):(H.rules.push(B),this.logger.warn(`rule ${se} is not defined`))}function V(H){let{metaSchema:B}=H;B!==void 0&&(H.$data&&this.opts.$data&&(B=oe(B)),H.validateSchema=this.compile(B,!0))}const J={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function oe(H){return{anyOf:[H,J]}}}(S3)),S3}var _y={},Sy={},Cy={},iP;function Ake(){if(iP)return Cy;iP=1,Object.defineProperty(Cy,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return Cy.default=e,Cy}var tu={},aP;function Eke(){if(aP)return tu;aP=1,Object.defineProperty(tu,"__esModule",{value:!0}),tu.callRef=tu.getValidate=void 0;const e=ex(),t=nl(),r=ln(),n=ld(),o=TA(),s=$n(),i={keyword:"$ref",schemaType:"string",code(c){const{gen:u,schema:d,it:p}=c,{baseId:f,schemaEnv:m,validateName:v,opts:g,self:y}=p,{root:b}=m;if((d==="#"||d==="#/")&&f===b.baseId)return k();const w=o.resolveRef.call(y,b,f,d);if(w===void 0)throw new e.default(p.opts.uriResolver,f,d);if(w instanceof o.SchemaEnv)return x(w);return j(w);function k(){if(m===b)return l(c,v,m,m.$async);const _=u.scopeValue("root",{ref:b});return l(c,(0,r._)`${_}.validate`,b,b.$async)}function x(_){const C=a(c,_);l(c,C,_,_.$async)}function j(_){const C=u.scopeValue("schema",g.code.source===!0?{ref:_,code:(0,r.stringify)(_)}:{ref:_}),A=u.name("valid"),I=c.subschema({schema:_,dataTypes:[],schemaPath:r.nil,topSchemaRef:C,errSchemaPath:d},A);c.mergeEvaluated(I),c.ok(A)}}};function a(c,u){const{gen:d}=c;return u.validate?d.scopeValue("validate",{ref:u.validate}):(0,r._)`${d.scopeValue("wrapper",{ref:u})}.validate`}tu.getValidate=a;function l(c,u,d,p){const{gen:f,it:m}=c,{allErrors:v,schemaEnv:g,opts:y}=m,b=y.passContext?n.default.this:r.nil;p?w():k();function w(){if(!g.$async)throw new Error("async schema referenced by sync schema");const _=f.let("valid");f.try(()=>{f.code((0,r._)`await ${(0,t.callValidateCode)(c,u,b)}`),j(u),v||f.assign(_,!0)},C=>{f.if((0,r._)`!(${C} instanceof ${m.ValidationError})`,()=>f.throw(C)),x(C),v||f.assign(_,!1)}),c.ok(_)}function k(){c.result((0,t.callValidateCode)(c,u,b),()=>j(u),()=>x(u))}function x(_){const C=(0,r._)`${_}.errors`;f.assign(n.default.vErrors,(0,r._)`${n.default.vErrors} === null ? ${C} : ${n.default.vErrors}.concat(${C})`),f.assign(n.default.errors,(0,r._)`${n.default.vErrors}.length`)}function j(_){var C;if(!m.opts.unevaluated)return;const A=(C=d==null?void 0:d.validate)===null||C===void 0?void 0:C.evaluated;if(m.props!==!0)if(A&&!A.dynamicProps)A.props!==void 0&&(m.props=s.mergeEvaluated.props(f,A.props,m.props));else{const I=f.var("props",(0,r._)`${_}.evaluated.props`);m.props=s.mergeEvaluated.props(f,I,m.props,r.Name)}if(m.items!==!0)if(A&&!A.dynamicItems)A.items!==void 0&&(m.items=s.mergeEvaluated.items(f,A.items,m.items));else{const I=f.var("items",(0,r._)`${_}.evaluated.items`);m.items=s.mergeEvaluated.items(f,I,m.items,r.Name)}}}return tu.callRef=l,tu.default=i,tu}var lP;function Oke(){if(lP)return Sy;lP=1,Object.defineProperty(Sy,"__esModule",{value:!0});const e=Ake(),t=Eke(),r=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return Sy.default=r,Sy}var Ay={},Ey={},cP;function $ke(){if(cP)return Ey;cP=1,Object.defineProperty(Ey,"__esModule",{value:!0});const e=ln(),t=e.operators,r={maximum:{okStr:"<=",ok:t.LTE,fail:t.GT},minimum:{okStr:">=",ok:t.GTE,fail:t.LT},exclusiveMaximum:{okStr:"<",ok:t.LT,fail:t.GTE},exclusiveMinimum:{okStr:">",ok:t.GT,fail:t.LTE}},n={message:({keyword:s,schemaCode:i})=>(0,e.str)`must be ${r[s].okStr} ${i}`,params:({keyword:s,schemaCode:i})=>(0,e._)`{comparison: ${r[s].okStr}, limit: ${i}}`},o={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:n,code(s){const{keyword:i,data:a,schemaCode:l}=s;s.fail$data((0,e._)`${a} ${r[i].fail} ${l} || isNaN(${a})`)}};return Ey.default=o,Ey}var Oy={},uP;function Tke(){if(uP)return Oy;uP=1,Object.defineProperty(Oy,"__esModule",{value:!0});const e=ln(),t={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:r})=>(0,e.str)`must be multiple of ${r}`,params:({schemaCode:r})=>(0,e._)`{multipleOf: ${r}}`},code(r){const{gen:n,data:o,schemaCode:s,it:i}=r,a=i.opts.multipleOfPrecision,l=n.let("res"),c=a?(0,e._)`Math.abs(Math.round(${l}) - ${l}) > 1e-${a}`:(0,e._)`${l} !== parseInt(${l})`;r.fail$data((0,e._)`(${s} === 0 || (${l} = ${o}/${s}, ${c}))`)}};return Oy.default=t,Oy}var $y={},Ty={},dP;function Pke(){if(dP)return Ty;dP=1,Object.defineProperty(Ty,"__esModule",{value:!0});function e(t){const r=t.length;let n=0,o=0,s;for(;o=55296&&s<=56319&&o(0,e._)`{limit: ${o}}`},code(o){const{keyword:s,data:i,schemaCode:a,it:l}=o,c=s==="maxLength"?e.operators.GT:e.operators.LT,u=l.opts.unicode===!1?(0,e._)`${i}.length`:(0,e._)`${(0,t.useFunc)(o.gen,r.default)}(${i})`;o.fail$data((0,e._)`${u} ${c} ${a}`)}};return $y.default=n,$y}var Py={},fP;function Dke(){if(fP)return Py;fP=1,Object.defineProperty(Py,"__esModule",{value:!0});const e=nl(),t=ln(),r={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:n})=>(0,t.str)`must match pattern "${n}"`,params:({schemaCode:n})=>(0,t._)`{pattern: ${n}}`},code(n){const{data:o,$data:s,schema:i,schemaCode:a,it:l}=n,c=l.opts.unicodeRegExp?"u":"",u=s?(0,t._)`(new RegExp(${a}, ${c}))`:(0,e.usePattern)(n,i);n.fail$data((0,t._)`!${u}.test(${o})`)}};return Py.default=r,Py}var Iy={},hP;function Mke(){if(hP)return Iy;hP=1,Object.defineProperty(Iy,"__esModule",{value:!0});const e=ln(),t={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:r,schemaCode:n}){const o=r==="maxProperties"?"more":"fewer";return(0,e.str)`must NOT have ${o} than ${n} properties`},params:({schemaCode:r})=>(0,e._)`{limit: ${r}}`},code(r){const{keyword:n,data:o,schemaCode:s}=r,i=n==="maxProperties"?e.operators.GT:e.operators.LT;r.fail$data((0,e._)`Object.keys(${o}).length ${i} ${s}`)}};return Iy.default=t,Iy}var Dy={},mP;function Lke(){if(mP)return Dy;mP=1,Object.defineProperty(Dy,"__esModule",{value:!0});const e=nl(),t=ln(),r=$n(),n={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:o}})=>(0,t.str)`must have required property '${o}'`,params:({params:{missingProperty:o}})=>(0,t._)`{missingProperty: ${o}}`},code(o){const{gen:s,schema:i,schemaCode:a,data:l,$data:c,it:u}=o,{opts:d}=u;if(!c&&i.length===0)return;const p=i.length>=d.loopRequired;if(u.allErrors?f():m(),d.strictRequired){const y=o.parentSchema.properties,{definedProperties:b}=o.it;for(const w of i)if((y==null?void 0:y[w])===void 0&&!b.has(w)){const k=u.schemaEnv.baseId+u.errSchemaPath,x=`required property "${w}" is not defined at "${k}" (strictRequired)`;(0,r.checkStrictMode)(u,x,u.opts.strictRequired)}}function f(){if(p||c)o.block$data(t.nil,v);else for(const y of i)(0,e.checkReportMissingProp)(o,y)}function m(){const y=s.let("missing");if(p||c){const b=s.let("valid",!0);o.block$data(b,()=>g(y,b)),o.ok(b)}else s.if((0,e.checkMissingProp)(o,i,y)),(0,e.reportMissingProp)(o,y),s.else()}function v(){s.forOf("prop",a,y=>{o.setParams({missingProperty:y}),s.if((0,e.noPropertyInData)(s,l,y,d.ownProperties),()=>o.error())})}function g(y,b){o.setParams({missingProperty:y}),s.forOf(y,a,()=>{s.assign(b,(0,e.propertyInData)(s,l,y,d.ownProperties)),s.if((0,t.not)(b),()=>{o.error(),s.break()})},t.nil)}}};return Dy.default=n,Dy}var My={},gP;function Nke(){if(gP)return My;gP=1,Object.defineProperty(My,"__esModule",{value:!0});const e=ln(),t={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:r,schemaCode:n}){const o=r==="maxItems"?"more":"fewer";return(0,e.str)`must NOT have ${o} than ${n} items`},params:({schemaCode:r})=>(0,e._)`{limit: ${r}}`},code(r){const{keyword:n,data:o,schemaCode:s}=r,i=n==="maxItems"?e.operators.GT:e.operators.LT;r.fail$data((0,e._)`${o}.length ${i} ${s}`)}};return My.default=t,My}var Ly={},Ny={},vP;function PA(){if(vP)return Ny;vP=1,Object.defineProperty(Ny,"__esModule",{value:!0});const e=Q6();return e.code='require("ajv/dist/runtime/equal").default',Ny.default=e,Ny}var yP;function Rke(){if(yP)return Ly;yP=1,Object.defineProperty(Ly,"__esModule",{value:!0});const e=e1(),t=ln(),r=$n(),n=PA(),o={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:s,j:i}})=>(0,t.str)`must NOT have duplicate items (items ## ${i} and ${s} are identical)`,params:({params:{i:s,j:i}})=>(0,t._)`{i: ${s}, j: ${i}}`},code(s){const{gen:i,data:a,$data:l,schema:c,parentSchema:u,schemaCode:d,it:p}=s;if(!l&&!c)return;const f=i.let("valid"),m=u.items?(0,e.getSchemaTypes)(u.items):[];s.block$data(f,v,(0,t._)`${d} === false`),s.ok(f);function v(){const w=i.let("i",(0,t._)`${a}.length`),k=i.let("j");s.setParams({i:w,j:k}),i.assign(f,!0),i.if((0,t._)`${w} > 1`,()=>(g()?y:b)(w,k))}function g(){return m.length>0&&!m.some(w=>w==="object"||w==="array")}function y(w,k){const x=i.name("item"),j=(0,e.checkDataTypes)(m,x,p.opts.strictNumbers,e.DataType.Wrong),_=i.const("indices",(0,t._)`{}`);i.for((0,t._)`;${w}--;`,()=>{i.let(x,(0,t._)`${a}[${w}]`),i.if(j,(0,t._)`continue`),m.length>1&&i.if((0,t._)`typeof ${x} == "string"`,(0,t._)`${x} += "_"`),i.if((0,t._)`typeof ${_}[${x}] == "number"`,()=>{i.assign(k,(0,t._)`${_}[${x}]`),s.error(),i.assign(f,!1).break()}).code((0,t._)`${_}[${x}] = ${w}`)})}function b(w,k){const x=(0,r.useFunc)(i,n.default),j=i.name("outer");i.label(j).for((0,t._)`;${w}--;`,()=>i.for((0,t._)`${k} = ${w}; ${k}--;`,()=>i.if((0,t._)`${x}(${a}[${w}], ${a}[${k}])`,()=>{s.error(),i.assign(f,!1).break(j)})))}}};return Ly.default=o,Ly}var Ry={},bP;function Bke(){if(bP)return Ry;bP=1,Object.defineProperty(Ry,"__esModule",{value:!0});const e=ln(),t=$n(),r=PA(),n={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:o})=>(0,e._)`{allowedValue: ${o}}`},code(o){const{gen:s,data:i,$data:a,schemaCode:l,schema:c}=o;a||c&&typeof c=="object"?o.fail$data((0,e._)`!${(0,t.useFunc)(s,r.default)}(${i}, ${l})`):o.fail((0,e._)`${c} !== ${i}`)}};return Ry.default=n,Ry}var By={},wP;function qke(){if(wP)return By;wP=1,Object.defineProperty(By,"__esModule",{value:!0});const e=ln(),t=$n(),r=PA(),n={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:o})=>(0,e._)`{allowedValues: ${o}}`},code(o){const{gen:s,data:i,$data:a,schema:l,schemaCode:c,it:u}=o;if(!a&&l.length===0)throw new Error("enum must have non-empty array");const d=l.length>=u.opts.loopEnum;let p;const f=()=>p??(p=(0,t.useFunc)(s,r.default));let m;if(d||a)m=s.let("valid"),o.block$data(m,v);else{if(!Array.isArray(l))throw new Error("ajv implementation error");const y=s.const("vSchema",c);m=(0,e.or)(...l.map((b,w)=>g(y,w)))}o.pass(m);function v(){s.assign(m,!1),s.forOf("v",c,y=>s.if((0,e._)`${f()}(${i}, ${y})`,()=>s.assign(m,!0).break()))}function g(y,b){const w=l[b];return typeof w=="object"&&w!==null?(0,e._)`${f()}(${i}, ${y}[${b}])`:(0,e._)`${i} === ${w}`}}};return By.default=n,By}var xP;function zke(){if(xP)return Ay;xP=1,Object.defineProperty(Ay,"__esModule",{value:!0});const e=$ke(),t=Tke(),r=Ike(),n=Dke(),o=Mke(),s=Lke(),i=Nke(),a=Rke(),l=Bke(),c=qke(),u=[e.default,t.default,r.default,n.default,o.default,s.default,i.default,a.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},l.default,c.default];return Ay.default=u,Ay}var qy={},Xp={},kP;function Z6(){if(kP)return Xp;kP=1,Object.defineProperty(Xp,"__esModule",{value:!0}),Xp.validateAdditionalItems=void 0;const e=ln(),t=$n(),r={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:o}})=>(0,e.str)`must NOT have more than ${o} items`,params:({params:{len:o}})=>(0,e._)`{limit: ${o}}`},code(o){const{parentSchema:s,it:i}=o,{items:a}=s;if(!Array.isArray(a)){(0,t.checkStrictMode)(i,'"additionalItems" is ignored when "items" is not an array of schemas');return}n(o,a)}};function n(o,s){const{gen:i,schema:a,data:l,keyword:c,it:u}=o;u.items=!0;const d=i.const("len",(0,e._)`${l}.length`);if(a===!1)o.setParams({len:s.length}),o.pass((0,e._)`${d} <= ${s.length}`);else if(typeof a=="object"&&!(0,t.alwaysValidSchema)(u,a)){const f=i.var("valid",(0,e._)`${d} <= ${s.length}`);i.if((0,e.not)(f),()=>p(f)),o.ok(f)}function p(f){i.forRange("i",s.length,d,m=>{o.subschema({keyword:c,dataProp:m,dataPropType:t.Type.Num},f),u.allErrors||i.if((0,e.not)(f),()=>i.break())})}}return Xp.validateAdditionalItems=n,Xp.default=r,Xp}var zy={},Yp={},jP;function X6(){if(jP)return Yp;jP=1,Object.defineProperty(Yp,"__esModule",{value:!0}),Yp.validateTuple=void 0;const e=ln(),t=$n(),r=nl(),n={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(s){const{schema:i,it:a}=s;if(Array.isArray(i))return o(s,"additionalItems",i);a.items=!0,!(0,t.alwaysValidSchema)(a,i)&&s.ok((0,r.validateArray)(s))}};function o(s,i,a=s.schema){const{gen:l,parentSchema:c,data:u,keyword:d,it:p}=s;v(c),p.opts.unevaluated&&a.length&&p.items!==!0&&(p.items=t.mergeEvaluated.items(l,a.length,p.items));const f=l.name("valid"),m=l.const("len",(0,e._)`${u}.length`);a.forEach((g,y)=>{(0,t.alwaysValidSchema)(p,g)||(l.if((0,e._)`${m} > ${y}`,()=>s.subschema({keyword:d,schemaProp:y,dataProp:y},f)),s.ok(f))});function v(g){const{opts:y,errSchemaPath:b}=p,w=a.length,k=w===g.minItems&&(w===g.maxItems||g[i]===!1);if(y.strictTuples&&!k){const x=`"${d}" is ${w}-tuple, but minItems or maxItems/${i} are not specified or different at path "${b}"`;(0,t.checkStrictMode)(p,x,y.strictTuples)}}}return Yp.validateTuple=o,Yp.default=n,Yp}var _P;function Fke(){if(_P)return zy;_P=1,Object.defineProperty(zy,"__esModule",{value:!0});const e=X6(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:r=>(0,e.validateTuple)(r,"items")};return zy.default=t,zy}var Fy={},SP;function Vke(){if(SP)return Fy;SP=1,Object.defineProperty(Fy,"__esModule",{value:!0});const e=ln(),t=$n(),r=nl(),n=Z6(),o={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:s}})=>(0,e.str)`must NOT have more than ${s} items`,params:({params:{len:s}})=>(0,e._)`{limit: ${s}}`},code(s){const{schema:i,parentSchema:a,it:l}=s,{prefixItems:c}=a;l.items=!0,!(0,t.alwaysValidSchema)(l,i)&&(c?(0,n.validateAdditionalItems)(s,c):s.ok((0,r.validateArray)(s)))}};return Fy.default=o,Fy}var Vy={},CP;function Uke(){if(CP)return Vy;CP=1,Object.defineProperty(Vy,"__esModule",{value:!0});const e=ln(),t=$n(),r={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:n,max:o}})=>o===void 0?(0,e.str)`must contain at least ${n} valid item(s)`:(0,e.str)`must contain at least ${n} and no more than ${o} valid item(s)`,params:({params:{min:n,max:o}})=>o===void 0?(0,e._)`{minContains: ${n}}`:(0,e._)`{minContains: ${n}, maxContains: ${o}}`},code(n){const{gen:o,schema:s,parentSchema:i,data:a,it:l}=n;let c,u;const{minContains:d,maxContains:p}=i;l.opts.next?(c=d===void 0?1:d,u=p):c=1;const f=o.const("len",(0,e._)`${a}.length`);if(n.setParams({min:c,max:u}),u===void 0&&c===0){(0,t.checkStrictMode)(l,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(u!==void 0&&c>u){(0,t.checkStrictMode)(l,'"minContains" > "maxContains" is always invalid'),n.fail();return}if((0,t.alwaysValidSchema)(l,s)){let b=(0,e._)`${f} >= ${c}`;u!==void 0&&(b=(0,e._)`${b} && ${f} <= ${u}`),n.pass(b);return}l.items=!0;const m=o.name("valid");u===void 0&&c===1?g(m,()=>o.if(m,()=>o.break())):c===0?(o.let(m,!0),u!==void 0&&o.if((0,e._)`${a}.length > 0`,v)):(o.let(m,!1),v()),n.result(m,()=>n.reset());function v(){const b=o.name("_valid"),w=o.let("count",0);g(b,()=>o.if(b,()=>y(w)))}function g(b,w){o.forRange("i",0,f,k=>{n.subschema({keyword:"contains",dataProp:k,dataPropType:t.Type.Num,compositeRule:!0},b),w()})}function y(b){o.code((0,e._)`${b}++`),u===void 0?o.if((0,e._)`${b} >= ${c}`,()=>o.assign(m,!0).break()):(o.if((0,e._)`${b} > ${u}`,()=>o.assign(m,!1).break()),c===1?o.assign(m,!0):o.if((0,e._)`${b} >= ${c}`,()=>o.assign(m,!0)))}}};return Vy.default=r,Vy}var AP={},EP;function Hke(){return EP||(EP=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=ln(),r=$n(),n=nl();e.error={message:({params:{property:l,depsCount:c,deps:u}})=>{const d=c===1?"property":"properties";return(0,t.str)`must have ${d} ${u} when property ${l} is present`},params:({params:{property:l,depsCount:c,deps:u,missingProperty:d}})=>(0,t._)`{property: ${l}, + || ${C} === "boolean" || ${j} === null`).assign(A,(0,n._)`[${j}]`)}}}function p({gen:b,parentData:w,parentDataProperty:k},x){b.if((0,n._)`${w} !== undefined`,()=>b.assign((0,n._)`${w}[${k}]`,x))}function f(b,w,k,x=s.Correct){const j=x===s.Correct?n.operators.EQ:n.operators.NEQ;let _;switch(b){case"null":return(0,n._)`${w} ${j} null`;case"array":_=(0,n._)`Array.isArray(${w})`;break;case"object":_=(0,n._)`${w} && typeof ${w} == "object" && !Array.isArray(${w})`;break;case"integer":_=C((0,n._)`!(${w} % 1) && !isNaN(${w})`);break;case"number":_=C();break;default:return(0,n._)`typeof ${w} ${j} ${b}`}return x===s.Correct?_:(0,n.not)(_);function C(A=n.nil){return(0,n.and)((0,n._)`typeof ${w} == "number"`,A,k?(0,n._)`isFinite(${w})`:n.nil)}}Ss.checkDataType=f;function m(b,w,k,x){if(b.length===1)return f(b[0],w,k,x);let j;const _=(0,o.toHash)(b);if(_.array&&_.object){const C=(0,n._)`typeof ${w} != "object"`;j=_.null?C:(0,n._)`!${w} || ${C}`,delete _.null,delete _.array,delete _.object}else j=n.nil;_.number&&delete _.integer;for(const C in _)j=(0,n.and)(j,f(C,w,k,x));return j}Ss.checkDataTypes=m;const v={message:({schema:b})=>`must be ${b}`,params:({schema:b,schemaValue:w})=>typeof b=="string"?(0,n._)`{type: ${b}}`:(0,n._)`{type: ${w}}`};function g(b){const w=y(b);(0,r.reportError)(w,v)}Ss.reportTypeError=g;function y(b){const{gen:w,data:k,schema:x}=b,j=(0,o.schemaRefOrVal)(b,x,"type");return{gen:w,keyword:"type",data:k,schema:x.type,schemaCode:j,schemaValue:j,parentSchema:x,params:{},it:b}}return Ss}var cm={},z3;function uke(){if(z3)return cm;z3=1,Object.defineProperty(cm,"__esModule",{value:!0}),cm.assignDefaults=void 0;const e=ln(),t=$n();function r(o,s){const{properties:i,items:a}=o.schema;if(s==="object"&&i)for(const l in i)n(o,l,i[l].default);else s==="array"&&Array.isArray(a)&&a.forEach((l,c)=>n(o,c,l.default))}cm.assignDefaults=r;function n(o,s,i){const{gen:a,compositeRule:l,data:c,opts:u}=o;if(i===void 0)return;const d=(0,e._)`${c}${(0,e.getProperty)(s)}`;if(l){(0,t.checkStrictMode)(o,`default is ignored for: ${d}`);return}let p=(0,e._)`${d} === undefined`;u.useDefaults==="empty"&&(p=(0,e._)`${p} || ${d} === null || ${d} === ""`),a.if(p,(0,e._)`${d} = ${(0,e.stringify)(i)}`)}return cm}var Sa={},Gn={},F3;function nl(){if(F3)return Gn;F3=1,Object.defineProperty(Gn,"__esModule",{value:!0}),Gn.validateUnion=Gn.validateArray=Gn.usePattern=Gn.callValidateCode=Gn.schemaProperties=Gn.allSchemaProperties=Gn.noPropertyInData=Gn.propertyInData=Gn.isOwnProperty=Gn.hasPropFunc=Gn.reportMissingProp=Gn.checkMissingProp=Gn.checkReportMissingProp=void 0;const e=ln(),t=$n(),r=ld(),n=$n();function o(b,w){const{gen:k,data:x,it:j}=b;k.if(u(k,x,w,j.opts.ownProperties),()=>{b.setParams({missingProperty:(0,e._)`${w}`},!0),b.error()})}Gn.checkReportMissingProp=o;function s({gen:b,data:w,it:{opts:k}},x,j){return(0,e.or)(...x.map(_=>(0,e.and)(u(b,w,_,k.ownProperties),(0,e._)`${j} = ${_}`)))}Gn.checkMissingProp=s;function i(b,w){b.setParams({missingProperty:w},!0),b.error()}Gn.reportMissingProp=i;function a(b){return b.scopeValue("func",{ref:Object.prototype.hasOwnProperty,code:(0,e._)`Object.prototype.hasOwnProperty`})}Gn.hasPropFunc=a;function l(b,w,k){return(0,e._)`${a(b)}.call(${w}, ${k})`}Gn.isOwnProperty=l;function c(b,w,k,x){const j=(0,e._)`${w}${(0,e.getProperty)(k)} !== undefined`;return x?(0,e._)`${j} && ${l(b,w,k)}`:j}Gn.propertyInData=c;function u(b,w,k,x){const j=(0,e._)`${w}${(0,e.getProperty)(k)} === undefined`;return x?(0,e.or)(j,(0,e.not)(l(b,w,k))):j}Gn.noPropertyInData=u;function d(b){return b?Object.keys(b).filter(w=>w!=="__proto__"):[]}Gn.allSchemaProperties=d;function p(b,w){return d(w).filter(k=>!(0,t.alwaysValidSchema)(b,w[k]))}Gn.schemaProperties=p;function f({schemaCode:b,data:w,it:{gen:k,topSchemaRef:x,schemaPath:j,errorPath:_},it:C},A,I,M){const L=M?(0,e._)`${b}, ${w}, ${x}${j}`:w,F=[[r.default.instancePath,(0,e.strConcat)(r.default.instancePath,_)],[r.default.parentData,C.parentData],[r.default.parentDataProperty,C.parentDataProperty],[r.default.rootData,r.default.rootData]];C.opts.dynamicRef&&F.push([r.default.dynamicAnchors,r.default.dynamicAnchors]);const z=(0,e._)`${L}, ${k.object(...F)}`;return I!==e.nil?(0,e._)`${A}.call(${I}, ${z})`:(0,e._)`${A}(${z})`}Gn.callValidateCode=f;const m=(0,e._)`new RegExp`;function v({gen:b,it:{opts:w}},k){const x=w.unicodeRegExp?"u":"",{regExp:j}=w.code,_=j(k,x);return b.scopeValue("pattern",{key:_.toString(),ref:_,code:(0,e._)`${j.code==="new RegExp"?m:(0,n.useFunc)(b,j)}(${k}, ${x})`})}Gn.usePattern=v;function g(b){const{gen:w,data:k,keyword:x,it:j}=b,_=w.name("valid");if(j.allErrors){const A=w.let("valid",!0);return C(()=>w.assign(A,!1)),A}return w.var(_,!0),C(()=>w.break()),_;function C(A){const I=w.const("len",(0,e._)`${k}.length`);w.forRange("i",0,I,M=>{b.subschema({keyword:x,dataProp:M,dataPropType:t.Type.Num},_),w.if((0,e.not)(_),A)})}}Gn.validateArray=g;function y(b){const{gen:w,schema:k,keyword:x,it:j}=b;if(!Array.isArray(k))throw new Error("ajv implementation error");if(k.some(A=>(0,t.alwaysValidSchema)(j,A))&&!j.opts.unevaluated)return;const _=w.let("valid",!1),C=w.name("_valid");w.block(()=>k.forEach((A,I)=>{const M=b.subschema({keyword:x,schemaProp:I,compositeRule:!0},C);w.assign(_,(0,e._)`${_} || ${C}`),b.mergeValidEvaluated(M,C)||w.if((0,e.not)(_))})),b.result(_,()=>b.reset(),()=>b.error(!0))}return Gn.validateUnion=y,Gn}var V3;function dke(){if(V3)return Sa;V3=1,Object.defineProperty(Sa,"__esModule",{value:!0}),Sa.validateKeywordUsage=Sa.validSchemaType=Sa.funcKeywordCode=Sa.macroKeywordCode=void 0;const e=ln(),t=ld(),r=nl(),n=Zw();function o(p,f){const{gen:m,keyword:v,schema:g,parentSchema:y,it:b}=p,w=f.macro.call(b.self,g,y,b),k=c(m,v,w);b.opts.validateSchema!==!1&&b.self.validateSchema(w,!0);const x=m.name("valid");p.subschema({schema:w,schemaPath:e.nil,errSchemaPath:`${b.errSchemaPath}/${v}`,topSchemaRef:k,compositeRule:!0},x),p.pass(x,()=>p.error(!0))}Sa.macroKeywordCode=o;function s(p,f){var m;const{gen:v,keyword:g,schema:y,parentSchema:b,$data:w,it:k}=p;l(k,f);const x=!w&&f.compile?f.compile.call(k.self,y,b,k):f.validate,j=c(v,g,x),_=v.let("valid");p.block$data(_,C),p.ok((m=f.valid)!==null&&m!==void 0?m:_);function C(){if(f.errors===!1)M(),f.modifying&&i(p),L(()=>p.error());else{const F=f.async?A():I();f.modifying&&i(p),L(()=>a(p,F))}}function A(){const F=v.let("ruleErrs",null);return v.try(()=>M((0,e._)`await `),z=>v.assign(_,!1).if((0,e._)`${z} instanceof ${k.ValidationError}`,()=>v.assign(F,(0,e._)`${z}.errors`),()=>v.throw(z))),F}function I(){const F=(0,e._)`${j}.errors`;return v.assign(F,null),M(e.nil),F}function M(F=f.async?(0,e._)`await `:e.nil){const z=k.opts.passContext?t.default.this:t.default.self,N=!("compile"in f&&!w||f.schema===!1);v.assign(_,(0,e._)`${F}${(0,r.callValidateCode)(p,j,z,N)}`,f.modifying)}function L(F){var z;v.if((0,e.not)((z=f.valid)!==null&&z!==void 0?z:_),F)}}Sa.funcKeywordCode=s;function i(p){const{gen:f,data:m,it:v}=p;f.if(v.parentData,()=>f.assign(m,(0,e._)`${v.parentData}[${v.parentDataProperty}]`))}function a(p,f){const{gen:m}=p;m.if((0,e._)`Array.isArray(${f})`,()=>{m.assign(t.default.vErrors,(0,e._)`${t.default.vErrors} === null ? ${f} : ${t.default.vErrors}.concat(${f})`).assign(t.default.errors,(0,e._)`${t.default.vErrors}.length`),(0,n.extendErrors)(p)},()=>p.error())}function l({schemaEnv:p},f){if(f.async&&!p.$async)throw new Error("async keyword in sync schema")}function c(p,f,m){if(m===void 0)throw new Error(`keyword "${f}" failed to compile`);return p.scopeValue("keyword",typeof m=="function"?{ref:m}:{ref:m,code:(0,e.stringify)(m)})}function u(p,f,m=!1){return!f.length||f.some(v=>v==="array"?Array.isArray(p):v==="object"?p&&typeof p=="object"&&!Array.isArray(p):typeof p==v||m&&typeof p>"u")}Sa.validSchemaType=u;function d({schema:p,opts:f,self:m,errSchemaPath:v},g,y){if(Array.isArray(g.keyword)?!g.keyword.includes(y):g.keyword!==y)throw new Error("ajv implementation error");const b=g.dependencies;if(b!=null&&b.some(w=>!Object.prototype.hasOwnProperty.call(p,w)))throw new Error(`parent schema must have dependencies of ${y}: ${b.join(",")}`);if(g.validateSchema&&!g.validateSchema(p[y])){const w=`keyword "${y}" value is invalid at path "${v}": `+m.errorsText(g.validateSchema.errors);if(f.validateSchema==="log")m.logger.error(w);else throw new Error(w)}}return Sa.validateKeywordUsage=d,Sa}var rc={},U3;function pke(){if(U3)return rc;U3=1,Object.defineProperty(rc,"__esModule",{value:!0}),rc.extendSubschemaMode=rc.extendSubschemaData=rc.getSubschema=void 0;const e=ln(),t=$n();function r(s,{keyword:i,schemaProp:a,schema:l,schemaPath:c,errSchemaPath:u,topSchemaRef:d}){if(i!==void 0&&l!==void 0)throw new Error('both "keyword" and "schema" passed, only one allowed');if(i!==void 0){const p=s.schema[i];return a===void 0?{schema:p,schemaPath:(0,e._)`${s.schemaPath}${(0,e.getProperty)(i)}`,errSchemaPath:`${s.errSchemaPath}/${i}`}:{schema:p[a],schemaPath:(0,e._)`${s.schemaPath}${(0,e.getProperty)(i)}${(0,e.getProperty)(a)}`,errSchemaPath:`${s.errSchemaPath}/${i}/${(0,t.escapeFragment)(a)}`}}if(l!==void 0){if(c===void 0||u===void 0||d===void 0)throw new Error('"schemaPath", "errSchemaPath" and "topSchemaRef" are required with "schema"');return{schema:l,schemaPath:c,topSchemaRef:d,errSchemaPath:u}}throw new Error('either "keyword" or "schema" must be passed')}rc.getSubschema=r;function n(s,i,{dataProp:a,dataPropType:l,data:c,dataTypes:u,propertyName:d}){if(c!==void 0&&a!==void 0)throw new Error('both "data" and "dataProp" passed, only one allowed');const{gen:p}=i;if(a!==void 0){const{errorPath:m,dataPathArr:v,opts:g}=i,y=p.let("data",(0,e._)`${i.data}${(0,e.getProperty)(a)}`,!0);f(y),s.errorPath=(0,e.str)`${m}${(0,t.getErrorPath)(a,l,g.jsPropertySyntax)}`,s.parentDataProperty=(0,e._)`${a}`,s.dataPathArr=[...v,s.parentDataProperty]}if(c!==void 0){const m=c instanceof e.Name?c:p.let("data",c,!0);f(m),d!==void 0&&(s.propertyName=d)}u&&(s.dataTypes=u);function f(m){s.data=m,s.dataLevel=i.dataLevel+1,s.dataTypes=[],i.definedProperties=new Set,s.parentData=i.data,s.dataNames=[...i.dataNames,m]}}rc.extendSubschemaData=n;function o(s,{jtdDiscriminator:i,jtdMetadata:a,compositeRule:l,createErrors:c,allErrors:u}){l!==void 0&&(s.compositeRule=l),c!==void 0&&(s.createErrors=c),u!==void 0&&(s.allErrors=u),s.jtdDiscriminator=i,s.jtdMetadata=a}return rc.extendSubschemaMode=o,rc}var Zs={},H3,W3;function Q6(){return W3||(W3=1,H3=function e(t,r){if(t===r)return!0;if(t&&r&&typeof t=="object"&&typeof r=="object"){if(t.constructor!==r.constructor)return!1;var n,o,s;if(Array.isArray(t)){if(n=t.length,n!=r.length)return!1;for(o=n;o--!==0;)if(!e(t[o],r[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===r.source&&t.flags===r.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===r.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===r.toString();if(s=Object.keys(t),n=s.length,n!==Object.keys(r).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(r,s[o]))return!1;for(o=n;o--!==0;){var i=s[o];if(!e(t[i],r[i]))return!1}return!0}return t!==t&&r!==r}),H3}var zk={exports:{}},G3;function fke(){if(G3)return zk.exports;G3=1;var e=zk.exports=function(n,o,s){typeof o=="function"&&(s=o,o={}),s=o.cb||s;var i=typeof s=="function"?s:s.pre||function(){},a=s.post||function(){};t(o,i,a,n,"",n)};e.keywords={additionalItems:!0,items:!0,contains:!0,additionalProperties:!0,propertyNames:!0,not:!0,if:!0,then:!0,else:!0},e.arrayKeywords={items:!0,allOf:!0,anyOf:!0,oneOf:!0},e.propsKeywords={$defs:!0,definitions:!0,properties:!0,patternProperties:!0,dependencies:!0},e.skipKeywords={default:!0,enum:!0,const:!0,required:!0,maximum:!0,minimum:!0,exclusiveMaximum:!0,exclusiveMinimum:!0,multipleOf:!0,maxLength:!0,minLength:!0,pattern:!0,format:!0,maxItems:!0,minItems:!0,uniqueItems:!0,maxProperties:!0,minProperties:!0};function t(n,o,s,i,a,l,c,u,d,p){if(i&&typeof i=="object"&&!Array.isArray(i)){o(i,a,l,c,u,d,p);for(var f in i){var m=i[f];if(Array.isArray(m)){if(f in e.arrayKeywords)for(var v=0;vg+=a(b)),g===1/0)))return 1/0;return g}function l(v,g="",y){y!==!1&&(g=d(g));const b=v.parse(g);return c(v,b)}Zs.getFullPath=l;function c(v,g){return v.serialize(g).split("#")[0]+"#"}Zs._getFullPath=c;const u=/#\/?$/;function d(v){return v?v.replace(u,""):""}Zs.normalizeId=d;function p(v,g,y){return y=d(y),v.resolve(g,y)}Zs.resolveUrl=p;const f=/^[a-z_][-a-z0-9._]*$/i;function m(v,g){if(typeof v=="boolean")return{};const{schemaId:y,uriResolver:b}=this.opts,w=d(v[y]||g),k={"":w},x=l(b,w,!1),j={},_=new Set;return r(v,{allKeys:!0},(I,M,L,F)=>{if(F===void 0)return;const z=x+M;let N=k[F];typeof I[y]=="string"&&(N=X.call(this,I[y])),V.call(this,I.$anchor),V.call(this,I.$dynamicAnchor),k[M]=N;function X(J){const oe=this.opts.uriResolver.resolve;if(J=d(N?oe(N,J):J),_.has(J))throw A(J);_.add(J);let H=this.refs[J];return typeof H=="string"&&(H=this.refs[H]),typeof H=="object"?C(I,H.schema,J):J!==d(z)&&(J[0]==="#"?(C(I,j[J],J),j[J]=I):this.refs[J]=z),J}function V(J){if(typeof J=="string"){if(!f.test(J))throw new Error(`invalid anchor "${J}"`);X.call(this,`#${J}`)}}}),j;function C(I,M,L){if(M!==void 0&&!t(I,M))throw A(L)}function A(I){return new Error(`reference "${I}" resolves to more than one schema`)}}return Zs.getSchemaRefs=m,Zs}var K3;function Yw(){if(K3)return ec;K3=1,Object.defineProperty(ec,"__esModule",{value:!0}),ec.getData=ec.KeywordCxt=ec.validateFunctionCode=void 0;const e=cke(),t=e1(),r=K6(),n=e1(),o=uke(),s=dke(),i=pke(),a=ln(),l=ld(),c=Xw(),u=$n(),d=Zw();function p(R){if(x(R)&&(_(R),k(R))){g(R);return}f(R,()=>(0,e.topBoolOrEmptySchema)(R))}ec.validateFunctionCode=p;function f({gen:R,validateName:te,schema:ne,schemaEnv:Ce,opts:me},ae){me.code.es5?R.func(te,(0,a._)`${l.default.data}, ${l.default.valCxt}`,Ce.$async,()=>{R.code((0,a._)`"use strict"; ${b(ne,me)}`),v(R,me),R.code(ae)}):R.func(te,(0,a._)`${l.default.data}, ${m(me)}`,Ce.$async,()=>R.code(b(ne,me)).code(ae))}function m(R){return(0,a._)`{${l.default.instancePath}="", ${l.default.parentData}, ${l.default.parentDataProperty}, ${l.default.rootData}=${l.default.data}${R.dynamicRef?(0,a._)`, ${l.default.dynamicAnchors}={}`:a.nil}}={}`}function v(R,te){R.if(l.default.valCxt,()=>{R.var(l.default.instancePath,(0,a._)`${l.default.valCxt}.${l.default.instancePath}`),R.var(l.default.parentData,(0,a._)`${l.default.valCxt}.${l.default.parentData}`),R.var(l.default.parentDataProperty,(0,a._)`${l.default.valCxt}.${l.default.parentDataProperty}`),R.var(l.default.rootData,(0,a._)`${l.default.valCxt}.${l.default.rootData}`),te.dynamicRef&&R.var(l.default.dynamicAnchors,(0,a._)`${l.default.valCxt}.${l.default.dynamicAnchors}`)},()=>{R.var(l.default.instancePath,(0,a._)`""`),R.var(l.default.parentData,(0,a._)`undefined`),R.var(l.default.parentDataProperty,(0,a._)`undefined`),R.var(l.default.rootData,l.default.data),te.dynamicRef&&R.var(l.default.dynamicAnchors,(0,a._)`{}`)})}function g(R){const{schema:te,opts:ne,gen:Ce}=R;f(R,()=>{ne.$comment&&te.$comment&&F(R),I(R),Ce.let(l.default.vErrors,null),Ce.let(l.default.errors,0),ne.unevaluated&&y(R),C(R),z(R)})}function y(R){const{gen:te,validateName:ne}=R;R.evaluated=te.const("evaluated",(0,a._)`${ne}.evaluated`),te.if((0,a._)`${R.evaluated}.dynamicProps`,()=>te.assign((0,a._)`${R.evaluated}.props`,(0,a._)`undefined`)),te.if((0,a._)`${R.evaluated}.dynamicItems`,()=>te.assign((0,a._)`${R.evaluated}.items`,(0,a._)`undefined`))}function b(R,te){const ne=typeof R=="object"&&R[te.schemaId];return ne&&(te.code.source||te.code.process)?(0,a._)`/*# sourceURL=${ne} */`:a.nil}function w(R,te){if(x(R)&&(_(R),k(R))){j(R,te);return}(0,e.boolOrEmptySchema)(R,te)}function k({schema:R,self:te}){if(typeof R=="boolean")return!R;for(const ne in R)if(te.RULES.all[ne])return!0;return!1}function x(R){return typeof R.schema!="boolean"}function j(R,te){const{schema:ne,gen:Ce,opts:me}=R;me.$comment&&ne.$comment&&F(R),M(R),L(R);const ae=Ce.const("_errs",l.default.errors);C(R,ae),Ce.var(te,(0,a._)`${ae} === ${l.default.errors}`)}function _(R){(0,u.checkUnknownRules)(R),A(R)}function C(R,te){if(R.opts.jtd)return X(R,[],!1,te);const ne=(0,t.getSchemaTypes)(R.schema),Ce=(0,t.coerceAndCheckDataType)(R,ne);X(R,ne,!Ce,te)}function A(R){const{schema:te,errSchemaPath:ne,opts:Ce,self:me}=R;te.$ref&&Ce.ignoreKeywordsWithRef&&(0,u.schemaHasRulesButRef)(te,me.RULES)&&me.logger.warn(`$ref: keywords ignored in schema at path "${ne}"`)}function I(R){const{schema:te,opts:ne}=R;te.default!==void 0&&ne.useDefaults&&ne.strictSchema&&(0,u.checkStrictMode)(R,"default is ignored in the schema root")}function M(R){const te=R.schema[R.opts.schemaId];te&&(R.baseId=(0,c.resolveUrl)(R.opts.uriResolver,R.baseId,te))}function L(R){if(R.schema.$async&&!R.schemaEnv.$async)throw new Error("async schema in sync schema")}function F({gen:R,schemaEnv:te,schema:ne,errSchemaPath:Ce,opts:me}){const ae=ne.$comment;if(me.$comment===!0)R.code((0,a._)`${l.default.self}.logger.log(${ae})`);else if(typeof me.$comment=="function"){const kt=(0,a.str)`${Ce}/$comment`,ft=R.scopeValue("root",{ref:te.root});R.code((0,a._)`${l.default.self}.opts.$comment(${ae}, ${kt}, ${ft}.schema)`)}}function z(R){const{gen:te,schemaEnv:ne,validateName:Ce,ValidationError:me,opts:ae}=R;ne.$async?te.if((0,a._)`${l.default.errors} === 0`,()=>te.return(l.default.data),()=>te.throw((0,a._)`new ${me}(${l.default.vErrors})`)):(te.assign((0,a._)`${Ce}.errors`,l.default.vErrors),ae.unevaluated&&N(R),te.return((0,a._)`${l.default.errors} === 0`))}function N({gen:R,evaluated:te,props:ne,items:Ce}){ne instanceof a.Name&&R.assign((0,a._)`${te}.props`,ne),Ce instanceof a.Name&&R.assign((0,a._)`${te}.items`,Ce)}function X(R,te,ne,Ce){const{gen:me,schema:ae,data:kt,allErrors:ft,opts:Ue,self:gt}=R,{RULES:Ge}=gt;if(ae.$ref&&(Ue.ignoreKeywordsWithRef||!(0,u.schemaHasRulesButRef)(ae,Ge))){me.block(()=>Se(R,"$ref",Ge.all.$ref.definition));return}Ue.jtd||J(R,te),me.block(()=>{for(const It of Ge.rules)_t(It);_t(Ge.post)});function _t(It){(0,r.shouldUseGroup)(ae,It)&&(It.type?(me.if((0,n.checkDataType)(It.type,kt,Ue.strictNumbers)),V(R,It),te.length===1&&te[0]===It.type&&ne&&(me.else(),(0,n.reportTypeError)(R)),me.endIf()):V(R,It),ft||me.if((0,a._)`${l.default.errors} === ${Ce||0}`))}}function V(R,te){const{gen:ne,schema:Ce,opts:{useDefaults:me}}=R;me&&(0,o.assignDefaults)(R,te.type),ne.block(()=>{for(const ae of te.rules)(0,r.shouldUseRule)(Ce,ae)&&Se(R,ae.keyword,ae.definition,te.type)})}function J(R,te){R.schemaEnv.meta||!R.opts.strictTypes||(oe(R,te),R.opts.allowUnionTypes||H(R,te),B(R,R.dataTypes))}function oe(R,te){if(te.length){if(!R.dataTypes.length){R.dataTypes=te;return}te.forEach(ne=>{q(R.dataTypes,ne)||D(R,`type "${ne}" not allowed by context "${R.dataTypes.join(",")}"`)}),O(R,te)}}function H(R,te){te.length>1&&!(te.length===2&&te.includes("null"))&&D(R,"use allowUnionTypes to allow union type keyword")}function B(R,te){const ne=R.self.RULES.all;for(const Ce in ne){const me=ne[Ce];if(typeof me=="object"&&(0,r.shouldUseRule)(R.schema,me)){const{type:ae}=me.definition;ae.length&&!ae.some(kt=>se(te,kt))&&D(R,`missing type "${ae.join(",")}" for keyword "${Ce}"`)}}}function se(R,te){return R.includes(te)||te==="number"&&R.includes("integer")}function q(R,te){return R.includes(te)||te==="integer"&&R.includes("number")}function O(R,te){const ne=[];for(const Ce of R.dataTypes)q(te,Ce)?ne.push(Ce):te.includes("integer")&&Ce==="number"&&ne.push("integer");R.dataTypes=ne}function D(R,te){const ne=R.schemaEnv.baseId+R.errSchemaPath;te+=` at "${ne}" (strictTypes)`,(0,u.checkStrictMode)(R,te,R.opts.strictTypes)}class Z{constructor(te,ne,Ce){if((0,s.validateKeywordUsage)(te,ne,Ce),this.gen=te.gen,this.allErrors=te.allErrors,this.keyword=Ce,this.data=te.data,this.schema=te.schema[Ce],this.$data=ne.$data&&te.opts.$data&&this.schema&&this.schema.$data,this.schemaValue=(0,u.schemaRefOrVal)(te,this.schema,Ce,this.$data),this.schemaType=ne.schemaType,this.parentSchema=te.schema,this.params={},this.it=te,this.def=ne,this.$data)this.schemaCode=te.gen.const("vSchema",xe(this.$data,te));else if(this.schemaCode=this.schemaValue,!(0,s.validSchemaType)(this.schema,ne.schemaType,ne.allowUndefined))throw new Error(`${Ce} value must be ${JSON.stringify(ne.schemaType)}`);("code"in ne?ne.trackErrors:ne.errors!==!1)&&(this.errsCount=te.gen.const("_errs",l.default.errors))}result(te,ne,Ce){this.failResult((0,a.not)(te),ne,Ce)}failResult(te,ne,Ce){this.gen.if(te),Ce?Ce():this.error(),ne?(this.gen.else(),ne(),this.allErrors&&this.gen.endIf()):this.allErrors?this.gen.endIf():this.gen.else()}pass(te,ne){this.failResult((0,a.not)(te),void 0,ne)}fail(te){if(te===void 0){this.error(),this.allErrors||this.gen.if(!1);return}this.gen.if(te),this.error(),this.allErrors?this.gen.endIf():this.gen.else()}fail$data(te){if(!this.$data)return this.fail(te);const{schemaCode:ne}=this;this.fail((0,a._)`${ne} !== undefined && (${(0,a.or)(this.invalid$data(),te)})`)}error(te,ne,Ce){if(ne){this.setParams(ne),this._error(te,Ce),this.setParams({});return}this._error(te,Ce)}_error(te,ne){(te?d.reportExtraError:d.reportError)(this,this.def.error,ne)}$dataError(){(0,d.reportError)(this,this.def.$dataError||d.keyword$DataError)}reset(){if(this.errsCount===void 0)throw new Error('add "trackErrors" to keyword definition');(0,d.resetErrorsCount)(this.gen,this.errsCount)}ok(te){this.allErrors||this.gen.if(te)}setParams(te,ne){ne?Object.assign(this.params,te):this.params=te}block$data(te,ne,Ce=a.nil){this.gen.block(()=>{this.check$data(te,Ce),ne()})}check$data(te=a.nil,ne=a.nil){if(!this.$data)return;const{gen:Ce,schemaCode:me,schemaType:ae,def:kt}=this;Ce.if((0,a.or)((0,a._)`${me} === undefined`,ne)),te!==a.nil&&Ce.assign(te,!0),(ae.length||kt.validateSchema)&&(Ce.elseIf(this.invalid$data()),this.$dataError(),te!==a.nil&&Ce.assign(te,!1)),Ce.else()}invalid$data(){const{gen:te,schemaCode:ne,schemaType:Ce,def:me,it:ae}=this;return(0,a.or)(kt(),ft());function kt(){if(Ce.length){if(!(ne instanceof a.Name))throw new Error("ajv implementation error");const Ue=Array.isArray(Ce)?Ce:[Ce];return(0,a._)`${(0,n.checkDataTypes)(Ue,ne,ae.opts.strictNumbers,n.DataType.Wrong)}`}return a.nil}function ft(){if(me.validateSchema){const Ue=te.scopeValue("validate$data",{ref:me.validateSchema});return(0,a._)`!${Ue}(${ne})`}return a.nil}}subschema(te,ne){const Ce=(0,i.getSubschema)(this.it,te);(0,i.extendSubschemaData)(Ce,this.it,te),(0,i.extendSubschemaMode)(Ce,te);const me={...this.it,...Ce,items:void 0,props:void 0};return w(me,ne),me}mergeEvaluated(te,ne){const{it:Ce,gen:me}=this;Ce.opts.unevaluated&&(Ce.props!==!0&&te.props!==void 0&&(Ce.props=u.mergeEvaluated.props(me,te.props,Ce.props,ne)),Ce.items!==!0&&te.items!==void 0&&(Ce.items=u.mergeEvaluated.items(me,te.items,Ce.items,ne)))}mergeValidEvaluated(te,ne){const{it:Ce,gen:me}=this;if(Ce.opts.unevaluated&&(Ce.props!==!0||Ce.items!==!0))return me.if(ne,()=>this.mergeEvaluated(te,a.Name)),!0}}ec.KeywordCxt=Z;function Se(R,te,ne,Ce){const me=new Z(R,ne,te);"code"in ne?ne.code(me,Ce):me.$data&&ne.validate?(0,s.funcKeywordCode)(me,ne):"macro"in ne?(0,s.macroKeywordCode)(me,ne):(ne.compile||ne.validate)&&(0,s.funcKeywordCode)(me,ne)}const ie=/^\/(?:[^~]|~0|~1)*$/,re=/^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;function xe(R,{dataLevel:te,dataNames:ne,dataPathArr:Ce}){let me,ae;if(R==="")return l.default.rootData;if(R[0]==="/"){if(!ie.test(R))throw new Error(`Invalid JSON-pointer: ${R}`);me=R,ae=l.default.rootData}else{const gt=re.exec(R);if(!gt)throw new Error(`Invalid JSON-pointer: ${R}`);const Ge=+gt[1];if(me=gt[2],me==="#"){if(Ge>=te)throw new Error(Ue("property/index",Ge));return Ce[te-Ge]}if(Ge>te)throw new Error(Ue("data",Ge));if(ae=ne[te-Ge],!me)return ae}let kt=ae;const ft=me.split("/");for(const gt of ft)gt&&(ae=(0,a._)`${ae}${(0,a.getProperty)((0,u.unescapeJsonPointer)(gt))}`,kt=(0,a._)`${kt} && ${ae}`);return kt;function Ue(gt,Ge){return`Cannot access ${gt} ${Ge} levels up, current level is ${te}`}}return ec.getData=xe,ec}var xy={},Q3;function $A(){if(Q3)return xy;Q3=1,Object.defineProperty(xy,"__esModule",{value:!0});class e extends Error{constructor(r){super("validation failed"),this.errors=r,this.ajv=this.validation=!0}}return xy.default=e,xy}var ky={},Z3;function ex(){if(Z3)return ky;Z3=1,Object.defineProperty(ky,"__esModule",{value:!0});const e=Xw();class t extends Error{constructor(n,o,s,i){super(i||`can't resolve reference ${s} from id ${o}`),this.missingRef=(0,e.resolveUrl)(n,o,s),this.missingSchema=(0,e.normalizeId)((0,e.getFullPath)(n,this.missingRef))}}return ky.default=t,ky}var Ei={},X3;function TA(){if(X3)return Ei;X3=1,Object.defineProperty(Ei,"__esModule",{value:!0}),Ei.resolveSchema=Ei.getCompilingSchema=Ei.resolveRef=Ei.compileSchema=Ei.SchemaEnv=void 0;const e=ln(),t=$A(),r=ld(),n=Xw(),o=$n(),s=Yw();class i{constructor(y){var b;this.refs={},this.dynamicAnchors={};let w;typeof y.schema=="object"&&(w=y.schema),this.schema=y.schema,this.schemaId=y.schemaId,this.root=y.root||this,this.baseId=(b=y.baseId)!==null&&b!==void 0?b:(0,n.normalizeId)(w==null?void 0:w[y.schemaId||"$id"]),this.schemaPath=y.schemaPath,this.localRefs=y.localRefs,this.meta=y.meta,this.$async=w==null?void 0:w.$async,this.refs={}}}Ei.SchemaEnv=i;function a(g){const y=u.call(this,g);if(y)return y;const b=(0,n.getFullPath)(this.opts.uriResolver,g.root.baseId),{es5:w,lines:k}=this.opts.code,{ownProperties:x}=this.opts,j=new e.CodeGen(this.scope,{es5:w,lines:k,ownProperties:x});let _;g.$async&&(_=j.scopeValue("Error",{ref:t.default,code:(0,e._)`require("ajv/dist/runtime/validation_error").default`}));const C=j.scopeName("validate");g.validateName=C;const A={gen:j,allErrors:this.opts.allErrors,data:r.default.data,parentData:r.default.parentData,parentDataProperty:r.default.parentDataProperty,dataNames:[r.default.data],dataPathArr:[e.nil],dataLevel:0,dataTypes:[],definedProperties:new Set,topSchemaRef:j.scopeValue("schema",this.opts.code.source===!0?{ref:g.schema,code:(0,e.stringify)(g.schema)}:{ref:g.schema}),validateName:C,ValidationError:_,schema:g.schema,schemaEnv:g,rootId:b,baseId:g.baseId||b,schemaPath:e.nil,errSchemaPath:g.schemaPath||(this.opts.jtd?"":"#"),errorPath:(0,e._)`""`,opts:this.opts,self:this};let I;try{this._compilations.add(g),(0,s.validateFunctionCode)(A),j.optimize(this.opts.code.optimize);const M=j.toString();I=`${j.scopeRefs(r.default.scope)}return ${M}`,this.opts.code.process&&(I=this.opts.code.process(I,g));const L=new Function(`${r.default.self}`,`${r.default.scope}`,I)(this,this.scope.get());if(this.scope.value(C,{ref:L}),L.errors=null,L.schema=g.schema,L.schemaEnv=g,g.$async&&(L.$async=!0),this.opts.code.source===!0&&(L.source={validateName:C,validateCode:M,scopeValues:j._values}),this.opts.unevaluated){const{props:F,items:z}=A;L.evaluated={props:F instanceof e.Name?void 0:F,items:z instanceof e.Name?void 0:z,dynamicProps:F instanceof e.Name,dynamicItems:z instanceof e.Name},L.source&&(L.source.evaluated=(0,e.stringify)(L.evaluated))}return g.validate=L,g}catch(M){throw delete g.validate,delete g.validateName,I&&this.logger.error("Error compiling schema, function code:",I),M}finally{this._compilations.delete(g)}}Ei.compileSchema=a;function l(g,y,b){var w;b=(0,n.resolveUrl)(this.opts.uriResolver,y,b);const k=g.refs[b];if(k)return k;let x=p.call(this,g,b);if(x===void 0){const j=(w=g.localRefs)===null||w===void 0?void 0:w[b],{schemaId:_}=this.opts;j&&(x=new i({schema:j,schemaId:_,root:g,baseId:y}))}if(x!==void 0)return g.refs[b]=c.call(this,x)}Ei.resolveRef=l;function c(g){return(0,n.inlineRef)(g.schema,this.opts.inlineRefs)?g.schema:g.validate?g:a.call(this,g)}function u(g){for(const y of this._compilations)if(d(y,g))return y}Ei.getCompilingSchema=u;function d(g,y){return g.schema===y.schema&&g.root===y.root&&g.baseId===y.baseId}function p(g,y){let b;for(;typeof(b=this.refs[y])=="string";)y=b;return b||this.schemas[y]||f.call(this,g,y)}function f(g,y){const b=this.opts.uriResolver.parse(y),w=(0,n._getFullPath)(this.opts.uriResolver,b);let k=(0,n.getFullPath)(this.opts.uriResolver,g.baseId,void 0);if(Object.keys(g.schema).length>0&&w===k)return v.call(this,b,g);const x=(0,n.normalizeId)(w),j=this.refs[x]||this.schemas[x];if(typeof j=="string"){const _=f.call(this,g,j);return typeof(_==null?void 0:_.schema)!="object"?void 0:v.call(this,b,_)}if(typeof(j==null?void 0:j.schema)=="object"){if(j.validate||a.call(this,j),x===(0,n.normalizeId)(y)){const{schema:_}=j,{schemaId:C}=this.opts,A=_[C];return A&&(k=(0,n.resolveUrl)(this.opts.uriResolver,k,A)),new i({schema:_,schemaId:C,root:g,baseId:k})}return v.call(this,b,j)}}Ei.resolveSchema=f;const m=new Set(["properties","patternProperties","enum","dependencies","definitions"]);function v(g,{baseId:y,schema:b,root:w}){var k;if(((k=g.fragment)===null||k===void 0?void 0:k[0])!=="/")return;for(const _ of g.fragment.slice(1).split("/")){if(typeof b=="boolean")return;const C=b[(0,o.unescapeFragment)(_)];if(C===void 0)return;b=C;const A=typeof b=="object"&&b[this.opts.schemaId];!m.has(_)&&A&&(y=(0,n.resolveUrl)(this.opts.uriResolver,y,A))}let x;if(typeof b!="boolean"&&b.$ref&&!(0,o.schemaHasRulesButRef)(b,this.RULES)){const _=(0,n.resolveUrl)(this.opts.uriResolver,y,b.$ref);x=f.call(this,w,_)}const{schemaId:j}=this.opts;if(x=x||new i({schema:b,schemaId:j,root:w,baseId:y}),x.schema!==x.root.schema)return x}return Ei}const hke="https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#",mke="Meta-schema for $data reference (JSON AnySchema extension proposal)",gke="object",vke=["$data"],yke={$data:{type:"string",anyOf:[{format:"relative-json-pointer"},{format:"json-pointer"}]}},bke=!1,wke={$id:hke,description:mke,type:gke,required:vke,properties:yke,additionalProperties:bke};var jy={},um={exports:{}},Y3,eP;function xke(){return eP||(eP=1,Y3={HEX:{0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15}}),Y3}var Fk,tP;function kke(){if(tP)return Fk;tP=1;const{HEX:e}=xke(),t=/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;function r(v){if(a(v,".")<3)return{host:v,isIPV4:!1};const g=v.match(t)||[],[y]=g;return y?{host:i(y,"."),isIPV4:!0}:{host:v,isIPV4:!1}}function n(v,g=!1){let y="",b=!0;for(const w of v){if(e[w]===void 0)return;w!=="0"&&b===!0&&(b=!1),b||(y+=w)}return g&&y.length===0&&(y="0"),y}function o(v){let g=0;const y={error:!1,address:"",zone:""},b=[],w=[];let k=!1,x=!1,j=!1;function _(){if(w.length){if(k===!1){const C=n(w);if(C!==void 0)b.push(C);else return y.error=!0,!1}w.length=0}return!0}for(let C=0;C7){y.error=!0;break}C-1>=0&&v[C-1]===":"&&(x=!0);continue}else if(A==="%"){if(!_())break;k=!0}else{w.push(A);continue}}return w.length&&(k?y.zone=w.join(""):j?b.push(w.join("")):b.push(n(w))),y.address=b.join(""),y}function s(v){if(a(v,":")<2)return{host:v,isIPV6:!1};const g=o(v);if(g.error)return{host:v,isIPV6:!1};{let y=g.address,b=g.address;return g.zone&&(y+="%"+g.zone,b+="%25"+g.zone),{host:y,escapedHost:b,isIPV6:!0}}}function i(v,g){let y="",b=!0;const w=v.length;for(let k=0;k/[^!"$&'()*+,\-.;=_`a-z{}~]/u.test(String.fromCharCode(y)));function p(g){let y=0;for(let b=0,w=g.length;b126||d[y])return!0;return!1}const f=/^(?:([^#/:?]+):)?(?:\/\/((?:([^#/?@]*)@)?(\[[^#/?\]]+\]|[^#/:?]*)(?::(\d*))?))?([^#?]*)(?:\?([^#]*))?(?:#((?:.|[\n\r])*))?/u;function m(g,y){const b=Object.assign({},y),w={scheme:void 0,userinfo:void 0,host:"",port:void 0,path:"",query:void 0,fragment:void 0},k=g.indexOf("%")!==-1;let x=!1;b.reference==="suffix"&&(g=(b.scheme?b.scheme+":":"")+"//"+g);const j=g.match(f);if(j){if(w.scheme=j[1],w.userinfo=j[3],w.host=j[4],w.port=parseInt(j[5],10),w.path=j[6]||"",w.query=j[7],w.fragment=j[8],isNaN(w.port)&&(w.port=j[5]),w.host){const C=t(w.host);if(C.isIPV4===!1){const A=e(C.host);w.host=A.host.toLowerCase(),x=A.isIPV6}else w.host=C.host,x=!0}w.scheme===void 0&&w.userinfo===void 0&&w.host===void 0&&w.port===void 0&&w.query===void 0&&!w.path?w.reference="same-document":w.scheme===void 0?w.reference="relative":w.fragment===void 0?w.reference="absolute":w.reference="uri",b.reference&&b.reference!=="suffix"&&b.reference!==w.reference&&(w.error=w.error||"URI is not a "+b.reference+" reference.");const _=s[(b.scheme||w.scheme||"").toLowerCase()];if(!b.unicodeSupport&&(!_||!_.unicodeSupport)&&w.host&&(b.domainHost||_&&_.domainHost)&&x===!1&&p(w.host))try{w.host=URL.domainToASCII(w.host.toLowerCase())}catch(C){w.error=w.error||"Host's domain name can not be converted to ASCII: "+C}(!_||_&&!_.skipNormalize)&&(k&&w.scheme!==void 0&&(w.scheme=unescape(w.scheme)),k&&w.host!==void 0&&(w.host=unescape(w.host)),w.path&&(w.path=escape(unescape(w.path))),w.fragment&&(w.fragment=encodeURI(decodeURIComponent(w.fragment)))),_&&_.parse&&_.parse(w,b)}else w.error=w.error||"URI can not be parsed.";return w}const v={SCHEMES:s,normalize:i,resolve:a,resolveComponents:l,equal:c,serialize:u,parse:m};return um.exports=v,um.exports.default=v,um.exports.fastUri=v,um.exports}var oP;function Ske(){if(oP)return jy;oP=1,Object.defineProperty(jy,"__esModule",{value:!0});const e=_ke();return e.code='require("ajv/dist/runtime/uri").default',jy.default=e,jy}var sP;function Cke(){return sP||(sP=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.CodeGen=e.Name=e.nil=e.stringify=e.str=e._=e.KeywordCxt=void 0;var t=Yw();Object.defineProperty(e,"KeywordCxt",{enumerable:!0,get:function(){return t.KeywordCxt}});var r=ln();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return r._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return r.str}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return r.stringify}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return r.nil}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return r.Name}}),Object.defineProperty(e,"CodeGen",{enumerable:!0,get:function(){return r.CodeGen}});const n=$A(),o=ex(),s=J6(),i=TA(),a=ln(),l=Xw(),c=e1(),u=$n(),d=wke,p=Ske(),f=(H,B)=>new RegExp(H,B);f.code="new RegExp";const m=["removeAdditional","useDefaults","coerceTypes"],v=new Set(["validate","serialize","parse","wrapper","root","schema","keyword","pattern","formats","validate$data","func","obj","Error"]),g={errorDataPath:"",format:"`validateFormats: false` can be used instead.",nullable:'"nullable" keyword is supported by default.',jsonPointers:"Deprecated jsPropertySyntax can be used instead.",extendRefs:"Deprecated ignoreKeywordsWithRef can be used instead.",missingRefs:"Pass empty schema with $id that should be ignored to ajv.addSchema.",processCode:"Use option `code: {process: (code, schemaEnv: object) => string}`",sourceCode:"Use option `code: {source: true}`",strictDefaults:"It is default now, see option `strict`.",strictKeywords:"It is default now, see option `strict`.",uniqueItems:'"uniqueItems" keyword is always validated.',unknownFormats:"Disable strict mode or pass `true` to `ajv.addFormat` (or `formats` option).",cache:"Map is used as cache, schema object as key.",serialize:"Map is used as cache, schema object as key.",ajvErrors:"It is default now."},y={ignoreKeywordsWithRef:"",jsPropertySyntax:"",unicode:'"minLength"/"maxLength" account for unicode characters by default.'},b=200;function w(H){var B,se,q,O,D,Z,Se,ie,re,xe,R,te,ne,Ce,me,ae,kt,ft,Ue,gt,Ge,_t,It,vt,sr;const P=H.strict,G=(B=H.code)===null||B===void 0?void 0:B.optimize,ee=G===!0||G===void 0?1:G||0,be=(q=(se=H.code)===null||se===void 0?void 0:se.regExp)!==null&&q!==void 0?q:f,Me=(O=H.uriResolver)!==null&&O!==void 0?O:p.default;return{strictSchema:(Z=(D=H.strictSchema)!==null&&D!==void 0?D:P)!==null&&Z!==void 0?Z:!0,strictNumbers:(ie=(Se=H.strictNumbers)!==null&&Se!==void 0?Se:P)!==null&&ie!==void 0?ie:!0,strictTypes:(xe=(re=H.strictTypes)!==null&&re!==void 0?re:P)!==null&&xe!==void 0?xe:"log",strictTuples:(te=(R=H.strictTuples)!==null&&R!==void 0?R:P)!==null&&te!==void 0?te:"log",strictRequired:(Ce=(ne=H.strictRequired)!==null&&ne!==void 0?ne:P)!==null&&Ce!==void 0?Ce:!1,code:H.code?{...H.code,optimize:ee,regExp:be}:{optimize:ee,regExp:be},loopRequired:(me=H.loopRequired)!==null&&me!==void 0?me:b,loopEnum:(ae=H.loopEnum)!==null&&ae!==void 0?ae:b,meta:(kt=H.meta)!==null&&kt!==void 0?kt:!0,messages:(ft=H.messages)!==null&&ft!==void 0?ft:!0,inlineRefs:(Ue=H.inlineRefs)!==null&&Ue!==void 0?Ue:!0,schemaId:(gt=H.schemaId)!==null&>!==void 0?gt:"$id",addUsedSchema:(Ge=H.addUsedSchema)!==null&&Ge!==void 0?Ge:!0,validateSchema:(_t=H.validateSchema)!==null&&_t!==void 0?_t:!0,validateFormats:(It=H.validateFormats)!==null&&It!==void 0?It:!0,unicodeRegExp:(vt=H.unicodeRegExp)!==null&&vt!==void 0?vt:!0,int32range:(sr=H.int32range)!==null&&sr!==void 0?sr:!0,uriResolver:Me}}class k{constructor(B={}){this.schemas={},this.refs={},this.formats={},this._compilations=new Set,this._loading={},this._cache=new Map,B=this.opts={...B,...w(B)};const{es5:se,lines:q}=this.opts.code;this.scope=new a.ValueScope({scope:{},prefixes:v,es5:se,lines:q}),this.logger=L(B.logger);const O=B.validateFormats;B.validateFormats=!1,this.RULES=(0,s.getRules)(),x.call(this,g,B,"NOT SUPPORTED"),x.call(this,y,B,"DEPRECATED","warn"),this._metaOpts=I.call(this),B.formats&&C.call(this),this._addVocabularies(),this._addDefaultMetaSchema(),B.keywords&&A.call(this,B.keywords),typeof B.meta=="object"&&this.addMetaSchema(B.meta),_.call(this),B.validateFormats=O}_addVocabularies(){this.addKeyword("$async")}_addDefaultMetaSchema(){const{$data:B,meta:se,schemaId:q}=this.opts;let O=d;q==="id"&&(O={...d},O.id=O.$id,delete O.$id),se&&B&&this.addMetaSchema(O,O[q],!1)}defaultMeta(){const{meta:B,schemaId:se}=this.opts;return this.opts.defaultMeta=typeof B=="object"?B[se]||B:void 0}validate(B,se){let q;if(typeof B=="string"){if(q=this.getSchema(B),!q)throw new Error(`no schema with key or ref "${B}"`)}else q=this.compile(B);const O=q(se);return"$async"in q||(this.errors=q.errors),O}compile(B,se){const q=this._addSchema(B,se);return q.validate||this._compileSchemaEnv(q)}compileAsync(B,se){if(typeof this.opts.loadSchema!="function")throw new Error("options.loadSchema should be a function");const{loadSchema:q}=this.opts;return O.call(this,B,se);async function O(xe,R){await D.call(this,xe.$schema);const te=this._addSchema(xe,R);return te.validate||Z.call(this,te)}async function D(xe){xe&&!this.getSchema(xe)&&await O.call(this,{$ref:xe},!0)}async function Z(xe){try{return this._compileSchemaEnv(xe)}catch(R){if(!(R instanceof o.default))throw R;return Se.call(this,R),await ie.call(this,R.missingSchema),Z.call(this,xe)}}function Se({missingSchema:xe,missingRef:R}){if(this.refs[xe])throw new Error(`AnySchema ${xe} is loaded but ${R} cannot be resolved`)}async function ie(xe){const R=await re.call(this,xe);this.refs[xe]||await D.call(this,R.$schema),this.refs[xe]||this.addSchema(R,xe,se)}async function re(xe){const R=this._loading[xe];if(R)return R;try{return await(this._loading[xe]=q(xe))}finally{delete this._loading[xe]}}}addSchema(B,se,q,O=this.opts.validateSchema){if(Array.isArray(B)){for(const Z of B)this.addSchema(Z,void 0,q,O);return this}let D;if(typeof B=="object"){const{schemaId:Z}=this.opts;if(D=B[Z],D!==void 0&&typeof D!="string")throw new Error(`schema ${Z} must be string`)}return se=(0,l.normalizeId)(se||D),this._checkUnique(se),this.schemas[se]=this._addSchema(B,q,se,O,!0),this}addMetaSchema(B,se,q=this.opts.validateSchema){return this.addSchema(B,se,!0,q),this}validateSchema(B,se){if(typeof B=="boolean")return!0;let q;if(q=B.$schema,q!==void 0&&typeof q!="string")throw new Error("$schema must be a string");if(q=q||this.opts.defaultMeta||this.defaultMeta(),!q)return this.logger.warn("meta-schema not available"),this.errors=null,!0;const O=this.validate(q,B);if(!O&&se){const D="schema is invalid: "+this.errorsText();if(this.opts.validateSchema==="log")this.logger.error(D);else throw new Error(D)}return O}getSchema(B){let se;for(;typeof(se=j.call(this,B))=="string";)B=se;if(se===void 0){const{schemaId:q}=this.opts,O=new i.SchemaEnv({schema:{},schemaId:q});if(se=i.resolveSchema.call(this,O,B),!se)return;this.refs[B]=se}return se.validate||this._compileSchemaEnv(se)}removeSchema(B){if(B instanceof RegExp)return this._removeAllSchemas(this.schemas,B),this._removeAllSchemas(this.refs,B),this;switch(typeof B){case"undefined":return this._removeAllSchemas(this.schemas),this._removeAllSchemas(this.refs),this._cache.clear(),this;case"string":{const se=j.call(this,B);return typeof se=="object"&&this._cache.delete(se.schema),delete this.schemas[B],delete this.refs[B],this}case"object":{const se=B;this._cache.delete(se);let q=B[this.opts.schemaId];return q&&(q=(0,l.normalizeId)(q),delete this.schemas[q],delete this.refs[q]),this}default:throw new Error("ajv.removeSchema: invalid parameter")}}addVocabulary(B){for(const se of B)this.addKeyword(se);return this}addKeyword(B,se){let q;if(typeof B=="string")q=B,typeof se=="object"&&(this.logger.warn("these parameters are deprecated, see docs for addKeyword"),se.keyword=q);else if(typeof B=="object"&&se===void 0){if(se=B,q=se.keyword,Array.isArray(q)&&!q.length)throw new Error("addKeywords: keyword must be string or non-empty array")}else throw new Error("invalid addKeywords parameters");if(z.call(this,q,se),!se)return(0,u.eachItem)(q,D=>N.call(this,D)),this;V.call(this,se);const O={...se,type:(0,c.getJSONTypes)(se.type),schemaType:(0,c.getJSONTypes)(se.schemaType)};return(0,u.eachItem)(q,O.type.length===0?D=>N.call(this,D,O):D=>O.type.forEach(Z=>N.call(this,D,O,Z))),this}getKeyword(B){const se=this.RULES.all[B];return typeof se=="object"?se.definition:!!se}removeKeyword(B){const{RULES:se}=this;delete se.keywords[B],delete se.all[B];for(const q of se.rules){const O=q.rules.findIndex(D=>D.keyword===B);O>=0&&q.rules.splice(O,1)}return this}addFormat(B,se){return typeof se=="string"&&(se=new RegExp(se)),this.formats[B]=se,this}errorsText(B=this.errors,{separator:se=", ",dataVar:q="data"}={}){return!B||B.length===0?"No errors":B.map(O=>`${q}${O.instancePath} ${O.message}`).reduce((O,D)=>O+se+D)}$dataMetaSchema(B,se){const q=this.RULES.all;B=JSON.parse(JSON.stringify(B));for(const O of se){const D=O.split("/").slice(1);let Z=B;for(const Se of D)Z=Z[Se];for(const Se in q){const ie=q[Se];if(typeof ie!="object")continue;const{$data:re}=ie.definition,xe=Z[Se];re&&xe&&(Z[Se]=oe(xe))}}return B}_removeAllSchemas(B,se){for(const q in B){const O=B[q];(!se||se.test(q))&&(typeof O=="string"?delete B[q]:O&&!O.meta&&(this._cache.delete(O.schema),delete B[q]))}}_addSchema(B,se,q,O=this.opts.validateSchema,D=this.opts.addUsedSchema){let Z;const{schemaId:Se}=this.opts;if(typeof B=="object")Z=B[Se];else{if(this.opts.jtd)throw new Error("schema must be object");if(typeof B!="boolean")throw new Error("schema must be object or boolean")}let ie=this._cache.get(B);if(ie!==void 0)return ie;q=(0,l.normalizeId)(Z||q);const re=l.getSchemaRefs.call(this,B,q);return ie=new i.SchemaEnv({schema:B,schemaId:Se,meta:se,baseId:q,localRefs:re}),this._cache.set(ie.schema,ie),D&&!q.startsWith("#")&&(q&&this._checkUnique(q),this.refs[q]=ie),O&&this.validateSchema(B,!0),ie}_checkUnique(B){if(this.schemas[B]||this.refs[B])throw new Error(`schema with key or id "${B}" already exists`)}_compileSchemaEnv(B){if(B.meta?this._compileMetaSchema(B):i.compileSchema.call(this,B),!B.validate)throw new Error("ajv implementation error");return B.validate}_compileMetaSchema(B){const se=this.opts;this.opts=this._metaOpts;try{i.compileSchema.call(this,B)}finally{this.opts=se}}}k.ValidationError=n.default,k.MissingRefError=o.default,e.default=k;function x(H,B,se,q="error"){for(const O in H){const D=O;D in B&&this.logger[q](`${se}: option ${O}. ${H[D]}`)}}function j(H){return H=(0,l.normalizeId)(H),this.schemas[H]||this.refs[H]}function _(){const H=this.opts.schemas;if(H)if(Array.isArray(H))this.addSchema(H);else for(const B in H)this.addSchema(H[B],B)}function C(){for(const H in this.opts.formats){const B=this.opts.formats[H];B&&this.addFormat(H,B)}}function A(H){if(Array.isArray(H)){this.addVocabulary(H);return}this.logger.warn("keywords option as map is deprecated, pass array");for(const B in H){const se=H[B];se.keyword||(se.keyword=B),this.addKeyword(se)}}function I(){const H={...this.opts};for(const B of m)delete H[B];return H}const M={log(){},warn(){},error(){}};function L(H){if(H===!1)return M;if(H===void 0)return console;if(H.log&&H.warn&&H.error)return H;throw new Error("logger must implement log, warn and error methods")}const F=/^[a-z_$][a-z0-9_$:-]*$/i;function z(H,B){const{RULES:se}=this;if((0,u.eachItem)(H,q=>{if(se.keywords[q])throw new Error(`Keyword ${q} is already defined`);if(!F.test(q))throw new Error(`Keyword ${q} has invalid name`)}),!!B&&B.$data&&!("code"in B||"validate"in B))throw new Error('$data keyword must have "code" or "validate" function')}function N(H,B,se){var q;const O=B==null?void 0:B.post;if(se&&O)throw new Error('keyword with "post" flag cannot have "type"');const{RULES:D}=this;let Z=O?D.post:D.rules.find(({type:ie})=>ie===se);if(Z||(Z={type:se,rules:[]},D.rules.push(Z)),D.keywords[H]=!0,!B)return;const Se={keyword:H,definition:{...B,type:(0,c.getJSONTypes)(B.type),schemaType:(0,c.getJSONTypes)(B.schemaType)}};B.before?X.call(this,Z,Se,B.before):Z.rules.push(Se),D.all[H]=Se,(q=B.implements)===null||q===void 0||q.forEach(ie=>this.addKeyword(ie))}function X(H,B,se){const q=H.rules.findIndex(O=>O.keyword===se);q>=0?H.rules.splice(q,0,B):(H.rules.push(B),this.logger.warn(`rule ${se} is not defined`))}function V(H){let{metaSchema:B}=H;B!==void 0&&(H.$data&&this.opts.$data&&(B=oe(B)),H.validateSchema=this.compile(B,!0))}const J={$ref:"https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"};function oe(H){return{anyOf:[H,J]}}}(S3)),S3}var _y={},Sy={},Cy={},iP;function Ake(){if(iP)return Cy;iP=1,Object.defineProperty(Cy,"__esModule",{value:!0});const e={keyword:"id",code(){throw new Error('NOT SUPPORTED: keyword "id", use "$id" for schema ID')}};return Cy.default=e,Cy}var tu={},aP;function Eke(){if(aP)return tu;aP=1,Object.defineProperty(tu,"__esModule",{value:!0}),tu.callRef=tu.getValidate=void 0;const e=ex(),t=nl(),r=ln(),n=ld(),o=TA(),s=$n(),i={keyword:"$ref",schemaType:"string",code(c){const{gen:u,schema:d,it:p}=c,{baseId:f,schemaEnv:m,validateName:v,opts:g,self:y}=p,{root:b}=m;if((d==="#"||d==="#/")&&f===b.baseId)return k();const w=o.resolveRef.call(y,b,f,d);if(w===void 0)throw new e.default(p.opts.uriResolver,f,d);if(w instanceof o.SchemaEnv)return x(w);return j(w);function k(){if(m===b)return l(c,v,m,m.$async);const _=u.scopeValue("root",{ref:b});return l(c,(0,r._)`${_}.validate`,b,b.$async)}function x(_){const C=a(c,_);l(c,C,_,_.$async)}function j(_){const C=u.scopeValue("schema",g.code.source===!0?{ref:_,code:(0,r.stringify)(_)}:{ref:_}),A=u.name("valid"),I=c.subschema({schema:_,dataTypes:[],schemaPath:r.nil,topSchemaRef:C,errSchemaPath:d},A);c.mergeEvaluated(I),c.ok(A)}}};function a(c,u){const{gen:d}=c;return u.validate?d.scopeValue("validate",{ref:u.validate}):(0,r._)`${d.scopeValue("wrapper",{ref:u})}.validate`}tu.getValidate=a;function l(c,u,d,p){const{gen:f,it:m}=c,{allErrors:v,schemaEnv:g,opts:y}=m,b=y.passContext?n.default.this:r.nil;p?w():k();function w(){if(!g.$async)throw new Error("async schema referenced by sync schema");const _=f.let("valid");f.try(()=>{f.code((0,r._)`await ${(0,t.callValidateCode)(c,u,b)}`),j(u),v||f.assign(_,!0)},C=>{f.if((0,r._)`!(${C} instanceof ${m.ValidationError})`,()=>f.throw(C)),x(C),v||f.assign(_,!1)}),c.ok(_)}function k(){c.result((0,t.callValidateCode)(c,u,b),()=>j(u),()=>x(u))}function x(_){const C=(0,r._)`${_}.errors`;f.assign(n.default.vErrors,(0,r._)`${n.default.vErrors} === null ? ${C} : ${n.default.vErrors}.concat(${C})`),f.assign(n.default.errors,(0,r._)`${n.default.vErrors}.length`)}function j(_){var C;if(!m.opts.unevaluated)return;const A=(C=d==null?void 0:d.validate)===null||C===void 0?void 0:C.evaluated;if(m.props!==!0)if(A&&!A.dynamicProps)A.props!==void 0&&(m.props=s.mergeEvaluated.props(f,A.props,m.props));else{const I=f.var("props",(0,r._)`${_}.evaluated.props`);m.props=s.mergeEvaluated.props(f,I,m.props,r.Name)}if(m.items!==!0)if(A&&!A.dynamicItems)A.items!==void 0&&(m.items=s.mergeEvaluated.items(f,A.items,m.items));else{const I=f.var("items",(0,r._)`${_}.evaluated.items`);m.items=s.mergeEvaluated.items(f,I,m.items,r.Name)}}}return tu.callRef=l,tu.default=i,tu}var lP;function Oke(){if(lP)return Sy;lP=1,Object.defineProperty(Sy,"__esModule",{value:!0});const e=Ake(),t=Eke(),r=["$schema","$id","$defs","$vocabulary",{keyword:"$comment"},"definitions",e.default,t.default];return Sy.default=r,Sy}var Ay={},Ey={},cP;function $ke(){if(cP)return Ey;cP=1,Object.defineProperty(Ey,"__esModule",{value:!0});const e=ln(),t=e.operators,r={maximum:{okStr:"<=",ok:t.LTE,fail:t.GT},minimum:{okStr:">=",ok:t.GTE,fail:t.LT},exclusiveMaximum:{okStr:"<",ok:t.LT,fail:t.GTE},exclusiveMinimum:{okStr:">",ok:t.GT,fail:t.LTE}},n={message:({keyword:s,schemaCode:i})=>(0,e.str)`must be ${r[s].okStr} ${i}`,params:({keyword:s,schemaCode:i})=>(0,e._)`{comparison: ${r[s].okStr}, limit: ${i}}`},o={keyword:Object.keys(r),type:"number",schemaType:"number",$data:!0,error:n,code(s){const{keyword:i,data:a,schemaCode:l}=s;s.fail$data((0,e._)`${a} ${r[i].fail} ${l} || isNaN(${a})`)}};return Ey.default=o,Ey}var Oy={},uP;function Tke(){if(uP)return Oy;uP=1,Object.defineProperty(Oy,"__esModule",{value:!0});const e=ln(),t={keyword:"multipleOf",type:"number",schemaType:"number",$data:!0,error:{message:({schemaCode:r})=>(0,e.str)`must be multiple of ${r}`,params:({schemaCode:r})=>(0,e._)`{multipleOf: ${r}}`},code(r){const{gen:n,data:o,schemaCode:s,it:i}=r,a=i.opts.multipleOfPrecision,l=n.let("res"),c=a?(0,e._)`Math.abs(Math.round(${l}) - ${l}) > 1e-${a}`:(0,e._)`${l} !== parseInt(${l})`;r.fail$data((0,e._)`(${s} === 0 || (${l} = ${o}/${s}, ${c}))`)}};return Oy.default=t,Oy}var $y={},Ty={},dP;function Pke(){if(dP)return Ty;dP=1,Object.defineProperty(Ty,"__esModule",{value:!0});function e(t){const r=t.length;let n=0,o=0,s;for(;o=55296&&s<=56319&&o(0,e._)`{limit: ${o}}`},code(o){const{keyword:s,data:i,schemaCode:a,it:l}=o,c=s==="maxLength"?e.operators.GT:e.operators.LT,u=l.opts.unicode===!1?(0,e._)`${i}.length`:(0,e._)`${(0,t.useFunc)(o.gen,r.default)}(${i})`;o.fail$data((0,e._)`${u} ${c} ${a}`)}};return $y.default=n,$y}var Py={},fP;function Dke(){if(fP)return Py;fP=1,Object.defineProperty(Py,"__esModule",{value:!0});const e=nl(),t=ln(),r={keyword:"pattern",type:"string",schemaType:"string",$data:!0,error:{message:({schemaCode:n})=>(0,t.str)`must match pattern "${n}"`,params:({schemaCode:n})=>(0,t._)`{pattern: ${n}}`},code(n){const{data:o,$data:s,schema:i,schemaCode:a,it:l}=n,c=l.opts.unicodeRegExp?"u":"",u=s?(0,t._)`(new RegExp(${a}, ${c}))`:(0,e.usePattern)(n,i);n.fail$data((0,t._)`!${u}.test(${o})`)}};return Py.default=r,Py}var Iy={},hP;function Mke(){if(hP)return Iy;hP=1,Object.defineProperty(Iy,"__esModule",{value:!0});const e=ln(),t={keyword:["maxProperties","minProperties"],type:"object",schemaType:"number",$data:!0,error:{message({keyword:r,schemaCode:n}){const o=r==="maxProperties"?"more":"fewer";return(0,e.str)`must NOT have ${o} than ${n} properties`},params:({schemaCode:r})=>(0,e._)`{limit: ${r}}`},code(r){const{keyword:n,data:o,schemaCode:s}=r,i=n==="maxProperties"?e.operators.GT:e.operators.LT;r.fail$data((0,e._)`Object.keys(${o}).length ${i} ${s}`)}};return Iy.default=t,Iy}var Dy={},mP;function Nke(){if(mP)return Dy;mP=1,Object.defineProperty(Dy,"__esModule",{value:!0});const e=nl(),t=ln(),r=$n(),n={keyword:"required",type:"object",schemaType:"array",$data:!0,error:{message:({params:{missingProperty:o}})=>(0,t.str)`must have required property '${o}'`,params:({params:{missingProperty:o}})=>(0,t._)`{missingProperty: ${o}}`},code(o){const{gen:s,schema:i,schemaCode:a,data:l,$data:c,it:u}=o,{opts:d}=u;if(!c&&i.length===0)return;const p=i.length>=d.loopRequired;if(u.allErrors?f():m(),d.strictRequired){const y=o.parentSchema.properties,{definedProperties:b}=o.it;for(const w of i)if((y==null?void 0:y[w])===void 0&&!b.has(w)){const k=u.schemaEnv.baseId+u.errSchemaPath,x=`required property "${w}" is not defined at "${k}" (strictRequired)`;(0,r.checkStrictMode)(u,x,u.opts.strictRequired)}}function f(){if(p||c)o.block$data(t.nil,v);else for(const y of i)(0,e.checkReportMissingProp)(o,y)}function m(){const y=s.let("missing");if(p||c){const b=s.let("valid",!0);o.block$data(b,()=>g(y,b)),o.ok(b)}else s.if((0,e.checkMissingProp)(o,i,y)),(0,e.reportMissingProp)(o,y),s.else()}function v(){s.forOf("prop",a,y=>{o.setParams({missingProperty:y}),s.if((0,e.noPropertyInData)(s,l,y,d.ownProperties),()=>o.error())})}function g(y,b){o.setParams({missingProperty:y}),s.forOf(y,a,()=>{s.assign(b,(0,e.propertyInData)(s,l,y,d.ownProperties)),s.if((0,t.not)(b),()=>{o.error(),s.break()})},t.nil)}}};return Dy.default=n,Dy}var My={},gP;function Lke(){if(gP)return My;gP=1,Object.defineProperty(My,"__esModule",{value:!0});const e=ln(),t={keyword:["maxItems","minItems"],type:"array",schemaType:"number",$data:!0,error:{message({keyword:r,schemaCode:n}){const o=r==="maxItems"?"more":"fewer";return(0,e.str)`must NOT have ${o} than ${n} items`},params:({schemaCode:r})=>(0,e._)`{limit: ${r}}`},code(r){const{keyword:n,data:o,schemaCode:s}=r,i=n==="maxItems"?e.operators.GT:e.operators.LT;r.fail$data((0,e._)`${o}.length ${i} ${s}`)}};return My.default=t,My}var Ny={},Ly={},vP;function PA(){if(vP)return Ly;vP=1,Object.defineProperty(Ly,"__esModule",{value:!0});const e=Q6();return e.code='require("ajv/dist/runtime/equal").default',Ly.default=e,Ly}var yP;function Rke(){if(yP)return Ny;yP=1,Object.defineProperty(Ny,"__esModule",{value:!0});const e=e1(),t=ln(),r=$n(),n=PA(),o={keyword:"uniqueItems",type:"array",schemaType:"boolean",$data:!0,error:{message:({params:{i:s,j:i}})=>(0,t.str)`must NOT have duplicate items (items ## ${i} and ${s} are identical)`,params:({params:{i:s,j:i}})=>(0,t._)`{i: ${s}, j: ${i}}`},code(s){const{gen:i,data:a,$data:l,schema:c,parentSchema:u,schemaCode:d,it:p}=s;if(!l&&!c)return;const f=i.let("valid"),m=u.items?(0,e.getSchemaTypes)(u.items):[];s.block$data(f,v,(0,t._)`${d} === false`),s.ok(f);function v(){const w=i.let("i",(0,t._)`${a}.length`),k=i.let("j");s.setParams({i:w,j:k}),i.assign(f,!0),i.if((0,t._)`${w} > 1`,()=>(g()?y:b)(w,k))}function g(){return m.length>0&&!m.some(w=>w==="object"||w==="array")}function y(w,k){const x=i.name("item"),j=(0,e.checkDataTypes)(m,x,p.opts.strictNumbers,e.DataType.Wrong),_=i.const("indices",(0,t._)`{}`);i.for((0,t._)`;${w}--;`,()=>{i.let(x,(0,t._)`${a}[${w}]`),i.if(j,(0,t._)`continue`),m.length>1&&i.if((0,t._)`typeof ${x} == "string"`,(0,t._)`${x} += "_"`),i.if((0,t._)`typeof ${_}[${x}] == "number"`,()=>{i.assign(k,(0,t._)`${_}[${x}]`),s.error(),i.assign(f,!1).break()}).code((0,t._)`${_}[${x}] = ${w}`)})}function b(w,k){const x=(0,r.useFunc)(i,n.default),j=i.name("outer");i.label(j).for((0,t._)`;${w}--;`,()=>i.for((0,t._)`${k} = ${w}; ${k}--;`,()=>i.if((0,t._)`${x}(${a}[${w}], ${a}[${k}])`,()=>{s.error(),i.assign(f,!1).break(j)})))}}};return Ny.default=o,Ny}var Ry={},bP;function Bke(){if(bP)return Ry;bP=1,Object.defineProperty(Ry,"__esModule",{value:!0});const e=ln(),t=$n(),r=PA(),n={keyword:"const",$data:!0,error:{message:"must be equal to constant",params:({schemaCode:o})=>(0,e._)`{allowedValue: ${o}}`},code(o){const{gen:s,data:i,$data:a,schemaCode:l,schema:c}=o;a||c&&typeof c=="object"?o.fail$data((0,e._)`!${(0,t.useFunc)(s,r.default)}(${i}, ${l})`):o.fail((0,e._)`${c} !== ${i}`)}};return Ry.default=n,Ry}var By={},wP;function qke(){if(wP)return By;wP=1,Object.defineProperty(By,"__esModule",{value:!0});const e=ln(),t=$n(),r=PA(),n={keyword:"enum",schemaType:"array",$data:!0,error:{message:"must be equal to one of the allowed values",params:({schemaCode:o})=>(0,e._)`{allowedValues: ${o}}`},code(o){const{gen:s,data:i,$data:a,schema:l,schemaCode:c,it:u}=o;if(!a&&l.length===0)throw new Error("enum must have non-empty array");const d=l.length>=u.opts.loopEnum;let p;const f=()=>p??(p=(0,t.useFunc)(s,r.default));let m;if(d||a)m=s.let("valid"),o.block$data(m,v);else{if(!Array.isArray(l))throw new Error("ajv implementation error");const y=s.const("vSchema",c);m=(0,e.or)(...l.map((b,w)=>g(y,w)))}o.pass(m);function v(){s.assign(m,!1),s.forOf("v",c,y=>s.if((0,e._)`${f()}(${i}, ${y})`,()=>s.assign(m,!0).break()))}function g(y,b){const w=l[b];return typeof w=="object"&&w!==null?(0,e._)`${f()}(${i}, ${y}[${b}])`:(0,e._)`${i} === ${w}`}}};return By.default=n,By}var xP;function zke(){if(xP)return Ay;xP=1,Object.defineProperty(Ay,"__esModule",{value:!0});const e=$ke(),t=Tke(),r=Ike(),n=Dke(),o=Mke(),s=Nke(),i=Lke(),a=Rke(),l=Bke(),c=qke(),u=[e.default,t.default,r.default,n.default,o.default,s.default,i.default,a.default,{keyword:"type",schemaType:["string","array"]},{keyword:"nullable",schemaType:"boolean"},l.default,c.default];return Ay.default=u,Ay}var qy={},Xp={},kP;function Z6(){if(kP)return Xp;kP=1,Object.defineProperty(Xp,"__esModule",{value:!0}),Xp.validateAdditionalItems=void 0;const e=ln(),t=$n(),r={keyword:"additionalItems",type:"array",schemaType:["boolean","object"],before:"uniqueItems",error:{message:({params:{len:o}})=>(0,e.str)`must NOT have more than ${o} items`,params:({params:{len:o}})=>(0,e._)`{limit: ${o}}`},code(o){const{parentSchema:s,it:i}=o,{items:a}=s;if(!Array.isArray(a)){(0,t.checkStrictMode)(i,'"additionalItems" is ignored when "items" is not an array of schemas');return}n(o,a)}};function n(o,s){const{gen:i,schema:a,data:l,keyword:c,it:u}=o;u.items=!0;const d=i.const("len",(0,e._)`${l}.length`);if(a===!1)o.setParams({len:s.length}),o.pass((0,e._)`${d} <= ${s.length}`);else if(typeof a=="object"&&!(0,t.alwaysValidSchema)(u,a)){const f=i.var("valid",(0,e._)`${d} <= ${s.length}`);i.if((0,e.not)(f),()=>p(f)),o.ok(f)}function p(f){i.forRange("i",s.length,d,m=>{o.subschema({keyword:c,dataProp:m,dataPropType:t.Type.Num},f),u.allErrors||i.if((0,e.not)(f),()=>i.break())})}}return Xp.validateAdditionalItems=n,Xp.default=r,Xp}var zy={},Yp={},jP;function X6(){if(jP)return Yp;jP=1,Object.defineProperty(Yp,"__esModule",{value:!0}),Yp.validateTuple=void 0;const e=ln(),t=$n(),r=nl(),n={keyword:"items",type:"array",schemaType:["object","array","boolean"],before:"uniqueItems",code(s){const{schema:i,it:a}=s;if(Array.isArray(i))return o(s,"additionalItems",i);a.items=!0,!(0,t.alwaysValidSchema)(a,i)&&s.ok((0,r.validateArray)(s))}};function o(s,i,a=s.schema){const{gen:l,parentSchema:c,data:u,keyword:d,it:p}=s;v(c),p.opts.unevaluated&&a.length&&p.items!==!0&&(p.items=t.mergeEvaluated.items(l,a.length,p.items));const f=l.name("valid"),m=l.const("len",(0,e._)`${u}.length`);a.forEach((g,y)=>{(0,t.alwaysValidSchema)(p,g)||(l.if((0,e._)`${m} > ${y}`,()=>s.subschema({keyword:d,schemaProp:y,dataProp:y},f)),s.ok(f))});function v(g){const{opts:y,errSchemaPath:b}=p,w=a.length,k=w===g.minItems&&(w===g.maxItems||g[i]===!1);if(y.strictTuples&&!k){const x=`"${d}" is ${w}-tuple, but minItems or maxItems/${i} are not specified or different at path "${b}"`;(0,t.checkStrictMode)(p,x,y.strictTuples)}}}return Yp.validateTuple=o,Yp.default=n,Yp}var _P;function Fke(){if(_P)return zy;_P=1,Object.defineProperty(zy,"__esModule",{value:!0});const e=X6(),t={keyword:"prefixItems",type:"array",schemaType:["array"],before:"uniqueItems",code:r=>(0,e.validateTuple)(r,"items")};return zy.default=t,zy}var Fy={},SP;function Vke(){if(SP)return Fy;SP=1,Object.defineProperty(Fy,"__esModule",{value:!0});const e=ln(),t=$n(),r=nl(),n=Z6(),o={keyword:"items",type:"array",schemaType:["object","boolean"],before:"uniqueItems",error:{message:({params:{len:s}})=>(0,e.str)`must NOT have more than ${s} items`,params:({params:{len:s}})=>(0,e._)`{limit: ${s}}`},code(s){const{schema:i,parentSchema:a,it:l}=s,{prefixItems:c}=a;l.items=!0,!(0,t.alwaysValidSchema)(l,i)&&(c?(0,n.validateAdditionalItems)(s,c):s.ok((0,r.validateArray)(s)))}};return Fy.default=o,Fy}var Vy={},CP;function Uke(){if(CP)return Vy;CP=1,Object.defineProperty(Vy,"__esModule",{value:!0});const e=ln(),t=$n(),r={keyword:"contains",type:"array",schemaType:["object","boolean"],before:"uniqueItems",trackErrors:!0,error:{message:({params:{min:n,max:o}})=>o===void 0?(0,e.str)`must contain at least ${n} valid item(s)`:(0,e.str)`must contain at least ${n} and no more than ${o} valid item(s)`,params:({params:{min:n,max:o}})=>o===void 0?(0,e._)`{minContains: ${n}}`:(0,e._)`{minContains: ${n}, maxContains: ${o}}`},code(n){const{gen:o,schema:s,parentSchema:i,data:a,it:l}=n;let c,u;const{minContains:d,maxContains:p}=i;l.opts.next?(c=d===void 0?1:d,u=p):c=1;const f=o.const("len",(0,e._)`${a}.length`);if(n.setParams({min:c,max:u}),u===void 0&&c===0){(0,t.checkStrictMode)(l,'"minContains" == 0 without "maxContains": "contains" keyword ignored');return}if(u!==void 0&&c>u){(0,t.checkStrictMode)(l,'"minContains" > "maxContains" is always invalid'),n.fail();return}if((0,t.alwaysValidSchema)(l,s)){let b=(0,e._)`${f} >= ${c}`;u!==void 0&&(b=(0,e._)`${b} && ${f} <= ${u}`),n.pass(b);return}l.items=!0;const m=o.name("valid");u===void 0&&c===1?g(m,()=>o.if(m,()=>o.break())):c===0?(o.let(m,!0),u!==void 0&&o.if((0,e._)`${a}.length > 0`,v)):(o.let(m,!1),v()),n.result(m,()=>n.reset());function v(){const b=o.name("_valid"),w=o.let("count",0);g(b,()=>o.if(b,()=>y(w)))}function g(b,w){o.forRange("i",0,f,k=>{n.subschema({keyword:"contains",dataProp:k,dataPropType:t.Type.Num,compositeRule:!0},b),w()})}function y(b){o.code((0,e._)`${b}++`),u===void 0?o.if((0,e._)`${b} >= ${c}`,()=>o.assign(m,!0).break()):(o.if((0,e._)`${b} > ${u}`,()=>o.assign(m,!1).break()),c===1?o.assign(m,!0):o.if((0,e._)`${b} >= ${c}`,()=>o.assign(m,!0)))}}};return Vy.default=r,Vy}var AP={},EP;function Hke(){return EP||(EP=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.validateSchemaDeps=e.validatePropertyDeps=e.error=void 0;const t=ln(),r=$n(),n=nl();e.error={message:({params:{property:l,depsCount:c,deps:u}})=>{const d=c===1?"property":"properties";return(0,t.str)`must have ${d} ${u} when property ${l} is present`},params:({params:{property:l,depsCount:c,deps:u,missingProperty:d}})=>(0,t._)`{property: ${l}, missingProperty: ${d}, depsCount: ${c}, - deps: ${u}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(l){const[c,u]=s(l);i(l,c),a(l,u)}};function s({schema:l}){const c={},u={};for(const d in l){if(d==="__proto__")continue;const p=Array.isArray(l[d])?c:u;p[d]=l[d]}return[c,u]}function i(l,c=l.schema){const{gen:u,data:d,it:p}=l;if(Object.keys(c).length===0)return;const f=u.let("missing");for(const m in c){const v=c[m];if(v.length===0)continue;const g=(0,n.propertyInData)(u,d,m,p.opts.ownProperties);l.setParams({property:m,depsCount:v.length,deps:v.join(", ")}),p.allErrors?u.if(g,()=>{for(const y of v)(0,n.checkReportMissingProp)(l,y)}):(u.if((0,t._)`${g} && (${(0,n.checkMissingProp)(l,v,f)})`),(0,n.reportMissingProp)(l,f),u.else())}}e.validatePropertyDeps=i;function a(l,c=l.schema){const{gen:u,data:d,keyword:p,it:f}=l,m=u.name("valid");for(const v in c)(0,r.alwaysValidSchema)(f,c[v])||(u.if((0,n.propertyInData)(u,d,v,f.opts.ownProperties),()=>{const g=l.subschema({keyword:p,schemaProp:v},m);l.mergeValidEvaluated(g,m)},()=>u.var(m,!0)),l.ok(m))}e.validateSchemaDeps=a,e.default=o}(AP)),AP}var Uy={},OP;function Wke(){if(OP)return Uy;OP=1,Object.defineProperty(Uy,"__esModule",{value:!0});const e=ln(),t=$n(),r={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:n})=>(0,e._)`{propertyName: ${n.propertyName}}`},code(n){const{gen:o,schema:s,data:i,it:a}=n;if((0,t.alwaysValidSchema)(a,s))return;const l=o.name("valid");o.forIn("key",i,c=>{n.setParams({propertyName:c}),n.subschema({keyword:"propertyNames",data:c,dataTypes:["string"],propertyName:c,compositeRule:!0},l),o.if((0,e.not)(l),()=>{n.error(!0),a.allErrors||o.break()})}),n.ok(l)}};return Uy.default=r,Uy}var Hy={},$P;function Y6(){if($P)return Hy;$P=1,Object.defineProperty(Hy,"__esModule",{value:!0});const e=nl(),t=ln(),r=ld(),n=$n(),o={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:s})=>(0,t._)`{additionalProperty: ${s.additionalProperty}}`},code(s){const{gen:i,schema:a,parentSchema:l,data:c,errsCount:u,it:d}=s;if(!u)throw new Error("ajv implementation error");const{allErrors:p,opts:f}=d;if(d.props=!0,f.removeAdditional!=="all"&&(0,n.alwaysValidSchema)(d,a))return;const m=(0,e.allSchemaProperties)(l.properties),v=(0,e.allSchemaProperties)(l.patternProperties);g(),s.ok((0,t._)`${u} === ${r.default.errors}`);function g(){i.forIn("key",c,x=>{!m.length&&!v.length?w(x):i.if(y(x),()=>w(x))})}function y(x){let j;if(m.length>8){const _=(0,n.schemaRefOrVal)(d,l.properties,"properties");j=(0,e.isOwnProperty)(i,_,x)}else m.length?j=(0,t.or)(...m.map(_=>(0,t._)`${x} === ${_}`)):j=t.nil;return v.length&&(j=(0,t.or)(j,...v.map(_=>(0,t._)`${(0,e.usePattern)(s,_)}.test(${x})`))),(0,t.not)(j)}function b(x){i.code((0,t._)`delete ${c}[${x}]`)}function w(x){if(f.removeAdditional==="all"||f.removeAdditional&&a===!1){b(x);return}if(a===!1){s.setParams({additionalProperty:x}),s.error(),p||i.break();return}if(typeof a=="object"&&!(0,n.alwaysValidSchema)(d,a)){const j=i.name("valid");f.removeAdditional==="failing"?(k(x,j,!1),i.if((0,t.not)(j),()=>{s.reset(),b(x)})):(k(x,j),p||i.if((0,t.not)(j),()=>i.break()))}}function k(x,j,_){const C={keyword:"additionalProperties",dataProp:x,dataPropType:n.Type.Str};_===!1&&Object.assign(C,{compositeRule:!0,createErrors:!1,allErrors:!1}),s.subschema(C,j)}}};return Hy.default=o,Hy}var Wy={},TP;function Gke(){if(TP)return Wy;TP=1,Object.defineProperty(Wy,"__esModule",{value:!0});const e=Yw(),t=nl(),r=$n(),n=Y6(),o={keyword:"properties",type:"object",schemaType:"object",code(s){const{gen:i,schema:a,parentSchema:l,data:c,it:u}=s;u.opts.removeAdditional==="all"&&l.additionalProperties===void 0&&n.default.code(new e.KeywordCxt(u,n.default,"additionalProperties"));const d=(0,t.allSchemaProperties)(a);for(const g of d)u.definedProperties.add(g);u.opts.unevaluated&&d.length&&u.props!==!0&&(u.props=r.mergeEvaluated.props(i,(0,r.toHash)(d),u.props));const p=d.filter(g=>!(0,r.alwaysValidSchema)(u,a[g]));if(p.length===0)return;const f=i.name("valid");for(const g of p)m(g)?v(g):(i.if((0,t.propertyInData)(i,c,g,u.opts.ownProperties)),v(g),u.allErrors||i.else().var(f,!0),i.endIf()),s.it.definedProperties.add(g),s.ok(f);function m(g){return u.opts.useDefaults&&!u.compositeRule&&a[g].default!==void 0}function v(g){s.subschema({keyword:"properties",schemaProp:g,dataProp:g},f)}}};return Wy.default=o,Wy}var Gy={},PP;function Jke(){if(PP)return Gy;PP=1,Object.defineProperty(Gy,"__esModule",{value:!0});const e=nl(),t=ln(),r=$n(),n=$n(),o={keyword:"patternProperties",type:"object",schemaType:"object",code(s){const{gen:i,schema:a,data:l,parentSchema:c,it:u}=s,{opts:d}=u,p=(0,e.allSchemaProperties)(a),f=p.filter(k=>(0,r.alwaysValidSchema)(u,a[k]));if(p.length===0||f.length===p.length&&(!u.opts.unevaluated||u.props===!0))return;const m=d.strictSchema&&!d.allowMatchingProperties&&c.properties,v=i.name("valid");u.props!==!0&&!(u.props instanceof t.Name)&&(u.props=(0,n.evaluatedPropsToName)(i,u.props));const{props:g}=u;y();function y(){for(const k of p)m&&b(k),u.allErrors?w(k):(i.var(v,!0),w(k),i.if(v))}function b(k){for(const x in m)new RegExp(k).test(x)&&(0,r.checkStrictMode)(u,`property ${x} matches pattern ${k} (use allowMatchingProperties)`)}function w(k){i.forIn("key",l,x=>{i.if((0,t._)`${(0,e.usePattern)(s,k)}.test(${x})`,()=>{const j=f.includes(k);j||s.subschema({keyword:"patternProperties",schemaProp:k,dataProp:x,dataPropType:n.Type.Str},v),u.opts.unevaluated&&g!==!0?i.assign((0,t._)`${g}[${x}]`,!0):!j&&!u.allErrors&&i.if((0,t.not)(v),()=>i.break())})})}}};return Gy.default=o,Gy}var Jy={},IP;function Kke(){if(IP)return Jy;IP=1,Object.defineProperty(Jy,"__esModule",{value:!0});const e=$n(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(r){const{gen:n,schema:o,it:s}=r;if((0,e.alwaysValidSchema)(s,o)){r.fail();return}const i=n.name("valid");r.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),r.failResult(i,()=>r.reset(),()=>r.error())},error:{message:"must NOT be valid"}};return Jy.default=t,Jy}var Ky={},DP;function Qke(){if(DP)return Ky;DP=1,Object.defineProperty(Ky,"__esModule",{value:!0});const e={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:nl().validateUnion,error:{message:"must match a schema in anyOf"}};return Ky.default=e,Ky}var Qy={},MP;function Zke(){if(MP)return Qy;MP=1,Object.defineProperty(Qy,"__esModule",{value:!0});const e=ln(),t=$n(),r={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:n})=>(0,e._)`{passingSchemas: ${n.passing}}`},code(n){const{gen:o,schema:s,parentSchema:i,it:a}=n;if(!Array.isArray(s))throw new Error("ajv implementation error");if(a.opts.discriminator&&i.discriminator)return;const l=s,c=o.let("valid",!1),u=o.let("passing",null),d=o.name("_valid");n.setParams({passing:u}),o.block(p),n.result(c,()=>n.reset(),()=>n.error(!0));function p(){l.forEach((f,m)=>{let v;(0,t.alwaysValidSchema)(a,f)?o.var(d,!0):v=n.subschema({keyword:"oneOf",schemaProp:m,compositeRule:!0},d),m>0&&o.if((0,e._)`${d} && ${c}`).assign(c,!1).assign(u,(0,e._)`[${u}, ${m}]`).else(),o.if(d,()=>{o.assign(c,!0),o.assign(u,m),v&&n.mergeEvaluated(v,e.Name)})})}}};return Qy.default=r,Qy}var Zy={},LP;function Xke(){if(LP)return Zy;LP=1,Object.defineProperty(Zy,"__esModule",{value:!0});const e=$n(),t={keyword:"allOf",schemaType:"array",code(r){const{gen:n,schema:o,it:s}=r;if(!Array.isArray(o))throw new Error("ajv implementation error");const i=n.name("valid");o.forEach((a,l)=>{if((0,e.alwaysValidSchema)(s,a))return;const c=r.subschema({keyword:"allOf",schemaProp:l},i);r.ok(i),r.mergeEvaluated(c)})}};return Zy.default=t,Zy}var Xy={},NP;function Yke(){if(NP)return Xy;NP=1,Object.defineProperty(Xy,"__esModule",{value:!0});const e=ln(),t=$n(),r={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:o})=>(0,e.str)`must match "${o.ifClause}" schema`,params:({params:o})=>(0,e._)`{failingKeyword: ${o.ifClause}}`},code(o){const{gen:s,parentSchema:i,it:a}=o;i.then===void 0&&i.else===void 0&&(0,t.checkStrictMode)(a,'"if" without "then" and "else" is ignored');const l=n(a,"then"),c=n(a,"else");if(!l&&!c)return;const u=s.let("valid",!0),d=s.name("_valid");if(p(),o.reset(),l&&c){const m=s.let("ifClause");o.setParams({ifClause:m}),s.if(d,f("then",m),f("else",m))}else l?s.if(d,f("then")):s.if((0,e.not)(d),f("else"));o.pass(u,()=>o.error(!0));function p(){const m=o.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},d);o.mergeEvaluated(m)}function f(m,v){return()=>{const g=o.subschema({keyword:m},d);s.assign(u,d),o.mergeValidEvaluated(g,u),v?s.assign(v,(0,e._)`${m}`):o.setParams({ifClause:m})}}}};function n(o,s){const i=o.schema[s];return i!==void 0&&!(0,t.alwaysValidSchema)(o,i)}return Xy.default=r,Xy}var Yy={},RP;function eje(){if(RP)return Yy;RP=1,Object.defineProperty(Yy,"__esModule",{value:!0});const e=$n(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:r,parentSchema:n,it:o}){n.if===void 0&&(0,e.checkStrictMode)(o,`"${r}" without "if" is ignored`)}};return Yy.default=t,Yy}var BP;function tje(){if(BP)return qy;BP=1,Object.defineProperty(qy,"__esModule",{value:!0});const e=Z6(),t=Fke(),r=X6(),n=Vke(),o=Uke(),s=Hke(),i=Wke(),a=Y6(),l=Gke(),c=Jke(),u=Kke(),d=Qke(),p=Zke(),f=Xke(),m=Yke(),v=eje();function g(y=!1){const b=[u.default,d.default,p.default,f.default,m.default,v.default,i.default,a.default,s.default,l.default,c.default];return y?b.push(t.default,n.default):b.push(e.default,r.default),b.push(o.default),b}return qy.default=g,qy}var e0={},t0={},qP;function rje(){if(qP)return t0;qP=1,Object.defineProperty(t0,"__esModule",{value:!0});const e=ln(),t={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:r})=>(0,e.str)`must match format "${r}"`,params:({schemaCode:r})=>(0,e._)`{format: ${r}}`},code(r,n){const{gen:o,data:s,$data:i,schema:a,schemaCode:l,it:c}=r,{opts:u,errSchemaPath:d,schemaEnv:p,self:f}=c;if(!u.validateFormats)return;i?m():v();function m(){const g=o.scopeValue("formats",{ref:f.formats,code:u.code.formats}),y=o.const("fDef",(0,e._)`${g}[${l}]`),b=o.let("fType"),w=o.let("format");o.if((0,e._)`typeof ${y} == "object" && !(${y} instanceof RegExp)`,()=>o.assign(b,(0,e._)`${y}.type || "string"`).assign(w,(0,e._)`${y}.validate`),()=>o.assign(b,(0,e._)`"string"`).assign(w,y)),r.fail$data((0,e.or)(k(),x()));function k(){return u.strictSchema===!1?e.nil:(0,e._)`${l} && !${w}`}function x(){const j=p.$async?(0,e._)`(${y}.async ? await ${w}(${s}) : ${w}(${s}))`:(0,e._)`${w}(${s})`,_=(0,e._)`(typeof ${w} == "function" ? ${j} : ${w}.test(${s}))`;return(0,e._)`${w} && ${w} !== true && ${b} === ${n} && !${_}`}}function v(){const g=f.formats[a];if(!g){k();return}if(g===!0)return;const[y,b,w]=x(g);y===n&&r.pass(j());function k(){if(u.strictSchema===!1){f.logger.warn(_());return}throw new Error(_());function _(){return`unknown format "${a}" ignored in schema at path "${d}"`}}function x(_){const C=_ instanceof RegExp?(0,e.regexpCode)(_):u.code.formats?(0,e._)`${u.code.formats}${(0,e.getProperty)(a)}`:void 0,A=o.scopeValue("formats",{key:a,ref:_,code:C});return typeof _=="object"&&!(_ instanceof RegExp)?[_.type||"string",_.validate,(0,e._)`${A}.validate`]:["string",_,A]}function j(){if(typeof g=="object"&&!(g instanceof RegExp)&&g.async){if(!p.$async)throw new Error("async format in sync schema");return(0,e._)`await ${w}(${s})`}return typeof b=="function"?(0,e._)`${w}(${s})`:(0,e._)`${w}.test(${s})`}}}};return t0.default=t,t0}var zP;function nje(){if(zP)return e0;zP=1,Object.defineProperty(e0,"__esModule",{value:!0});const e=[rje().default];return e0.default=e,e0}var ef={},FP;function oje(){return FP||(FP=1,Object.defineProperty(ef,"__esModule",{value:!0}),ef.contentVocabulary=ef.metadataVocabulary=void 0,ef.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],ef.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),ef}var VP;function sje(){if(VP)return _y;VP=1,Object.defineProperty(_y,"__esModule",{value:!0});const e=Oke(),t=zke(),r=tje(),n=nje(),o=oje(),s=[e.default,t.default,(0,r.default)(),n.default,o.metadataVocabulary,o.contentVocabulary];return _y.default=s,_y}var r0={},dm={},UP;function ije(){if(UP)return dm;UP=1,Object.defineProperty(dm,"__esModule",{value:!0}),dm.DiscrError=void 0;var e;return function(t){t.Tag="tag",t.Mapping="mapping"}(e||(dm.DiscrError=e={})),dm}var HP;function aje(){if(HP)return r0;HP=1,Object.defineProperty(r0,"__esModule",{value:!0});const e=ln(),t=ije(),r=TA(),n=ex(),o=$n(),s={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:i,tagName:a}})=>i===t.DiscrError.Tag?`tag "${a}" must be string`:`value of tag "${a}" must be in oneOf`,params:({params:{discrError:i,tag:a,tagName:l}})=>(0,e._)`{error: ${i}, tag: ${l}, tagValue: ${a}}`},code(i){const{gen:a,data:l,schema:c,parentSchema:u,it:d}=i,{oneOf:p}=u;if(!d.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=c.propertyName;if(typeof f!="string")throw new Error("discriminator: requires propertyName");if(c.mapping)throw new Error("discriminator: mapping is not supported");if(!p)throw new Error("discriminator: requires oneOf keyword");const m=a.let("valid",!1),v=a.const("tag",(0,e._)`${l}${(0,e.getProperty)(f)}`);a.if((0,e._)`typeof ${v} == "string"`,()=>g(),()=>i.error(!1,{discrError:t.DiscrError.Tag,tag:v,tagName:f})),i.ok(m);function g(){const w=b();a.if(!1);for(const k in w)a.elseIf((0,e._)`${v} === ${k}`),a.assign(m,y(w[k]));a.else(),i.error(!1,{discrError:t.DiscrError.Mapping,tag:v,tagName:f}),a.endIf()}function y(w){const k=a.name("valid"),x=i.subschema({keyword:"oneOf",schemaProp:w},k);return i.mergeEvaluated(x,e.Name),k}function b(){var w;const k={},x=_(u);let j=!0;for(let I=0;Ithis.addVocabulary(m)),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const m=this.opts.$data?this.$dataMetaSchema(s,i):s;this.addMetaSchema(m,a,!1),this.refs["http://json-schema.org/schema"]=a}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}t.Ajv=l,e.exports=t=l,e.exports.Ajv=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var c=Yw();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var u=ln();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return u._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return u.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return u.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return u.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return u.CodeGen}});var d=$A();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return d.default}});var p=ex();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return p.default}})}(qk,qk.exports)),qk.exports}mje();var GP={},JP;function gje(){return JP||(JP=1,function(e){(function(t){function r(P){return P!==null?Object.prototype.toString.call(P)==="[object Array]":!1}function n(P){return P!==null?Object.prototype.toString.call(P)==="[object Object]":!1}function o(P,G){if(P===G)return!0;var ee=Object.prototype.toString.call(P);if(ee!==Object.prototype.toString.call(G))return!1;if(r(P)===!0){if(P.length!==G.length)return!1;for(var be=0;be",9:"Array"},w="EOF",k="UnquotedIdentifier",x="QuotedIdentifier",j="Rbracket",_="Rparen",C="Comma",A="Colon",I="Rbrace",M="Number",N="Current",F="Expref",z="Pipe",L="Or",X="And",V="EQ",J="GT",oe="LT",H="GTE",B="LTE",se="NE",q="Flatten",O="Star",D="Filter",Z="Dot",Se="Not",ie="Lbrace",re="Lbracket",xe="Lparen",R="Literal",te={".":Z,"*":O,",":C,":":A,"{":ie,"}":I,"]":j,"(":xe,")":_,"@":N},ne={"<":!0,">":!0,"=":!0,"!":!0},Ce={" ":!0," ":!0,"\n":!0};function me(P){return P>="a"&&P<="z"||P>="A"&&P<="Z"||P==="_"}function ae(P){return P>="0"&&P<="9"||P==="-"}function kt(P){return P>="a"&&P<="z"||P>="A"&&P<="Z"||P>="0"&&P<="9"||P==="_"}function ft(){}ft.prototype={tokenize:function(P){var G=[];this._current=0;for(var ee,be,Me;this._current")return P[this._current]==="="?(this._current++,{type:H,value:">=",start:G}):{type:J,value:">",start:G};if(ee==="="&&P[this._current]==="=")return this._current++,{type:V,value:"==",start:G}},_consumeLiteral:function(P){this._current++;for(var G=this._current,ee=P.length,be;P[this._current]!=="`"&&this._current=0||ee.indexOf(P)>=0)return!0;if(be.indexOf(P[0])>=0)try{return JSON.parse(P),!0}catch{return!1}else return!1}};var Ue={};Ue[w]=0,Ue[k]=0,Ue[x]=0,Ue[j]=0,Ue[_]=0,Ue[C]=0,Ue[I]=0,Ue[M]=0,Ue[N]=0,Ue[F]=0,Ue[z]=1,Ue[L]=2,Ue[X]=3,Ue[V]=5,Ue[J]=5,Ue[oe]=5,Ue[H]=5,Ue[B]=5,Ue[se]=5,Ue[q]=9,Ue[O]=20,Ue[D]=21,Ue[Z]=40,Ue[Se]=45,Ue[ie]=50,Ue[re]=55,Ue[xe]=60;function gt(){}gt.prototype={parse:function(P){this._loadTokens(P),this.index=0;var G=this.expression(0);if(this._lookahead(0)!==w){var ee=this._lookaheadToken(0),be=new Error("Unexpected token type: "+ee.type+", value: "+ee.value);throw be.name="ParserError",be}return G},_loadTokens:function(P){var G=new ft,ee=G.tokenize(P);ee.push({type:w,value:"",start:P.length}),this.tokens=ee},expression:function(P){var G=this._lookaheadToken(0);this._advance();for(var ee=this.nud(G),be=this._lookahead(0);P=0)return this.expression(P);if(G===re)return this._match(re),this._parseMultiselectList();if(G===ie)return this._match(ie),this._parseMultiselectHash()},_parseProjectionRHS:function(P){var G;if(Ue[this._lookahead(0)]<10)G={type:"Identity"};else if(this._lookahead(0)===re)G=this.expression(P);else if(this._lookahead(0)===D)G=this.expression(P);else if(this._lookahead(0)===Z)this._match(Z),G=this._parseDotRHS(P);else{var ee=this._lookaheadToken(0),be=new Error("Sytanx error, unexpected token: "+ee.value+"("+ee.type+")");throw be.name="ParserError",be}return G},_parseMultiselectList:function(){for(var P=[];this._lookahead(0)!==j;){var G=this.expression(0);if(P.push(G),this._lookahead(0)===C&&(this._match(C),this._lookahead(0)===j))throw new Error("Unexpected token Rbracket")}return this._match(j),{type:"MultiSelectList",children:P}},_parseMultiselectHash:function(){for(var P=[],G=[k,x],ee,be,Me,Fe;;){if(ee=this._lookaheadToken(0),G.indexOf(ee.type)<0)throw new Error("Expecting an identifier token, got: "+ee.type);if(be=ee.value,this._advance(),this._match(A),Me=this.expression(0),Fe={type:"KeyValuePair",name:be,value:Me},P.push(Fe),this._lookahead(0)===C)this._match(C);else if(this._lookahead(0)===I){this._match(I);break}}return{type:"MultiSelectHash",children:P}}};function Ge(P){this.runtime=P}Ge.prototype={search:function(P,G){return this.visit(P,G)},visit:function(P,G){var ee,be,Me,Fe,Ze,we,pt,St,rr,Ve;switch(P.type){case"Field":return G!==null&&n(G)?(we=G[P.name],we===void 0?null:we):null;case"Subexpression":for(Me=this.visit(P.children[0],G),Ve=1;Ve0)for(Ve=Nr;VeSr;Ve+=W)Me.push(G[Ve]);return Me;case"Projection":var Ee=this.visit(P.children[0],G);if(!r(Ee))return null;for(rr=[],Ve=0;VeZe;break;case H:Me=Fe>=Ze;break;case oe:Me=Fe=P&&(G=ee<0?P-1:P),G}};function _t(P){this._interpreter=P,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[l]}]},avg:{_func:this._functionAvg,_signature:[{types:[g]}]},ceil:{_func:this._functionCeil,_signature:[{types:[l]}]},contains:{_func:this._functionContains,_signature:[{types:[u,d]},{types:[c]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[u]},{types:[u]}]},floor:{_func:this._functionFloor,_signature:[{types:[l]}]},length:{_func:this._functionLength,_signature:[{types:[u,d,p]}]},map:{_func:this._functionMap,_signature:[{types:[m]},{types:[d]}]},max:{_func:this._functionMax,_signature:[{types:[g,y]}]},merge:{_func:this._functionMerge,_signature:[{types:[p],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[d]},{types:[m]}]},sum:{_func:this._functionSum,_signature:[{types:[g]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[u]},{types:[u]}]},min:{_func:this._functionMin,_signature:[{types:[g,y]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[d]},{types:[m]}]},type:{_func:this._functionType,_signature:[{types:[c]}]},keys:{_func:this._functionKeys,_signature:[{types:[p]}]},values:{_func:this._functionValues,_signature:[{types:[p]}]},sort:{_func:this._functionSort,_signature:[{types:[y,g]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[d]},{types:[m]}]},join:{_func:this._functionJoin,_signature:[{types:[u]},{types:[y]}]},reverse:{_func:this._functionReverse,_signature:[{types:[u,d]}]},to_array:{_func:this._functionToArray,_signature:[{types:[c]}]},to_string:{_func:this._functionToString,_signature:[{types:[c]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[c]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[c],variadic:!0}]}}}_t.prototype={callFunction:function(P,G){var ee=this.functionTable[P];if(ee===void 0)throw new Error("Unknown function: "+P+"()");return this._validateArgs(P,G,ee._signature),ee._func.call(this,G)},_validateArgs:function(P,G,ee){var be;if(ee[ee.length-1].variadic){if(G.length=0;Me--)be+=ee[Me];return be}else{var Fe=P[0].slice(0);return Fe.reverse(),Fe}},_functionAbs:function(P){return Math.abs(P[0])},_functionCeil:function(P){return Math.ceil(P[0])},_functionAvg:function(P){for(var G=0,ee=P[0],be=0;be=0},_functionFloor:function(P){return Math.floor(P[0])},_functionLength:function(P){return n(P[0])?Object.keys(P[0]).length:P[0].length},_functionMap:function(P){for(var G=[],ee=this._interpreter,be=P[0],Me=P[1],Fe=0;Fe0){var G=this._getTypeName(P[0][0]);if(G===l)return Math.max.apply(Math,P[0]);for(var ee=P[0],be=ee[0],Me=1;Me0){var G=this._getTypeName(P[0][0]);if(G===l)return Math.min.apply(Math,P[0]);for(var ee=P[0],be=ee[0],Me=1;MeFt?1:VeMe&&(Me=Ze,Fe=ee[we]);return Fe},_functionMinBy:function(P){for(var G=P[1],ee=P[0],be=this.createKeyFunction(G,[l,u]),Me=1/0,Fe,Ze,we=0;we{if(typeof o!="object"||!o.name||!o.init)throw new Error("Invalid JSEP plugin format");this.registered[o.name]||(o.init(this.jsep),this.registered[o.name]=o)})}}class qe{static get version(){return"1.4.0"}static toString(){return"JavaScript Expression Parser (JSEP) v"+qe.version}static addUnaryOp(t){return qe.max_unop_len=Math.max(t.length,qe.max_unop_len),qe.unary_ops[t]=1,qe}static addBinaryOp(t,r,n){return qe.max_binop_len=Math.max(t.length,qe.max_binop_len),qe.binary_ops[t]=r,n?qe.right_associative.add(t):qe.right_associative.delete(t),qe}static addIdentifierChar(t){return qe.additional_identifier_chars.add(t),qe}static addLiteral(t,r){return qe.literals[t]=r,qe}static removeUnaryOp(t){return delete qe.unary_ops[t],t.length===qe.max_unop_len&&(qe.max_unop_len=qe.getMaxKeyLen(qe.unary_ops)),qe}static removeAllUnaryOps(){return qe.unary_ops={},qe.max_unop_len=0,qe}static removeIdentifierChar(t){return qe.additional_identifier_chars.delete(t),qe}static removeBinaryOp(t){return delete qe.binary_ops[t],t.length===qe.max_binop_len&&(qe.max_binop_len=qe.getMaxKeyLen(qe.binary_ops)),qe.right_associative.delete(t),qe}static removeAllBinaryOps(){return qe.binary_ops={},qe.max_binop_len=0,qe}static removeLiteral(t){return delete qe.literals[t],qe}static removeAllLiterals(){return qe.literals={},qe}get char(){return this.expr.charAt(this.index)}get code(){return this.expr.charCodeAt(this.index)}constructor(t){this.expr=t,this.index=0}static parse(t){return new qe(t).parse()}static getMaxKeyLen(t){return Math.max(0,...Object.keys(t).map(r=>r.length))}static isDecimalDigit(t){return t>=48&&t<=57}static binaryPrecedence(t){return qe.binary_ops[t]||0}static isIdentifierStart(t){return t>=65&&t<=90||t>=97&&t<=122||t>=128&&!qe.binary_ops[String.fromCharCode(t)]||qe.additional_identifier_chars.has(String.fromCharCode(t))}static isIdentifierPart(t){return qe.isIdentifierStart(t)||qe.isDecimalDigit(t)}throwError(t){const r=new Error(t+" at character "+this.index);throw r.index=this.index,r.description=t,r}runHook(t,r){if(qe.hooks[t]){const n={context:this,node:r};return qe.hooks.run(t,n),n.node}return r}searchHook(t){if(qe.hooks[t]){const r={context:this};return qe.hooks[t].find(function(n){return n.call(r.context,r),r.node}),r.node}}gobbleSpaces(){let t=this.code;for(;t===qe.SPACE_CODE||t===qe.TAB_CODE||t===qe.LF_CODE||t===qe.CR_CODE;)t=this.expr.charCodeAt(++this.index);this.runHook("gobble-spaces")}parse(){this.runHook("before-all");const t=this.gobbleExpressions(),r=t.length===1?t[0]:{type:qe.COMPOUND,body:t};return this.runHook("after-all",r)}gobbleExpressions(t){let r=[],n,o;for(;this.index0;){if(qe.binary_ops.hasOwnProperty(t)&&(!qe.isIdentifierStart(this.code)||this.index+t.lengths.right_a&&d.right_a?n>d.prec:n<=d.prec;for(;o.length>2&&u(o[o.length-2]);)a=o.pop(),r=o.pop().value,i=o.pop(),t={type:qe.BINARY_EXP,operator:r,left:i,right:a},o.push(t);t=this.gobbleToken(),t||this.throwError("Expected expression after "+c),o.push(s,t)}for(l=o.length-1,t=o[l];l>1;)t={type:qe.BINARY_EXP,operator:o[l-1].value,left:o[l-2],right:t},l-=2;return t}gobbleToken(){let t,r,n,o;if(this.gobbleSpaces(),o=this.searchHook("gobble-token"),o)return this.runHook("after-token",o);if(t=this.code,qe.isDecimalDigit(t)||t===qe.PERIOD_CODE)return this.gobbleNumericLiteral();if(t===qe.SQUOTE_CODE||t===qe.DQUOTE_CODE)o=this.gobbleStringLiteral();else if(t===qe.OBRACK_CODE)o=this.gobbleArray();else{for(r=this.expr.substr(this.index,qe.max_unop_len),n=r.length;n>0;){if(qe.unary_ops.hasOwnProperty(r)&&(!qe.isIdentifierStart(this.code)||this.index+r.length=r.length&&this.throwError("Unexpected token "+String.fromCharCode(t));break}else if(s===qe.COMMA_CODE){if(this.index++,o++,o!==r.length){if(t===qe.CPAREN_CODE)this.throwError("Unexpected token ,");else if(t===qe.CBRACK_CODE)for(let i=r.length;i":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10,"**":11},right_associative:new Set(["**"]),additional_identifier_chars:new Set(["$","_"]),literals:{true:!0,false:!1,null:null},this_str:"this"});qe.max_unop_len=qe.getMaxKeyLen(qe.unary_ops);qe.max_binop_len=qe.getMaxKeyLen(qe.binary_ops);const Gu=e=>new qe(e).parse(),wje=Object.getOwnPropertyNames(class{});Object.getOwnPropertyNames(qe).filter(e=>!wje.includes(e)&&Gu[e]===void 0).forEach(e=>{Gu[e]=qe[e]});Gu.Jsep=qe;const xje="ConditionalExpression";var kje={name:"ternary",init(e){e.hooks.add("after-expression",function(t){if(t.node&&this.code===e.QUMARK_CODE){this.index++;const r=t.node,n=this.gobbleExpression();if(n||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;const o=this.gobbleExpression();if(o||this.throwError("Expected expression"),t.node={type:xje,test:r,consequent:n,alternate:o},r.operator&&e.binary_ops[r.operator]<=.9){let s=r;for(;s.right.operator&&e.binary_ops[s.right.operator]<=.9;)s=s.right;t.node.test=s.right,s.right=t.node,t.node=r}}else this.throwError("Expected :")}})}};Gu.plugins.register(kje);const KP=47,jje=92;var _je={name:"regex",init(e){e.hooks.add("gobble-token",function(t){if(this.code===KP){const r=++this.index;let n=!1;for(;this.index=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57)s+=this.char;else break}let i;try{i=new RegExp(o,s)}catch(a){this.throwError(a.message)}return t.node={type:e.LITERAL,value:i,raw:this.expr.slice(r-1,this.index)},t.node=this.gobbleTokenProperty(t.node),t.node}this.code===e.OBRACK_CODE?n=!0:n&&this.code===e.CBRACK_CODE&&(n=!1),this.index+=this.code===jje?2:1}this.throwError("Unclosed Regex")}})}};const Uk=43,Sje=45,pf={name:"assignment",assignmentOperators:new Set(["=","*=","**=","/=","%=","+=","-=","<<=",">>=",">>>=","&=","^=","|=","||=","&&=","??="]),updateOperators:[Uk,Sje],assignmentPrecedence:.9,init(e){const t=[e.IDENTIFIER,e.MEMBER_EXP];pf.assignmentOperators.forEach(n=>e.addBinaryOp(n,pf.assignmentPrecedence,!0)),e.hooks.add("gobble-token",function(n){const o=this.code;pf.updateOperators.some(s=>s===o&&s===this.expr.charCodeAt(this.index+1))&&(this.index+=2,n.node={type:"UpdateExpression",operator:o===Uk?"++":"--",argument:this.gobbleTokenProperty(this.gobbleIdentifier()),prefix:!0},(!n.node.argument||!t.includes(n.node.argument.type))&&this.throwError(`Unexpected ${n.node.operator}`))}),e.hooks.add("after-token",function(n){if(n.node){const o=this.code;pf.updateOperators.some(s=>s===o&&s===this.expr.charCodeAt(this.index+1))&&(t.includes(n.node.type)||this.throwError(`Unexpected ${n.node.operator}`),this.index+=2,n.node={type:"UpdateExpression",operator:o===Uk?"++":"--",argument:n.node,prefix:!1})}}),e.hooks.add("after-expression",function(n){n.node&&r(n.node)});function r(n){pf.assignmentOperators.has(n.operator)?(n.type="AssignmentExpression",r(n.left),r(n.right)):n.operator||Object.values(n).forEach(o=>{o&&typeof o=="object"&&r(o)})}}};Gu.plugins.register(_je,pf);Gu.addUnaryOp("typeof");Gu.addLiteral("null",null);Gu.addLiteral("undefined",void 0);let rS=[],eB=[];(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=0,r=0;t>1;if(e=eB[n])t=n+1;else return!0;if(t==r)return!1}}function QP(e){return e>=127462&&e<=127487}const ZP=8205;function Aje(e,t,r=!0,n=!0){return(r?tB:Eje)(e,t,n)}function tB(e,t,r){if(t==e.length)return t;t&&rB(e.charCodeAt(t))&&nB(e.charCodeAt(t-1))&&t--;let n=Hk(e,t);for(t+=XP(n);t=0&&QP(Hk(e,i));)s++,i-=2;if(s%2==0)break;t+=2}else break}return t}function Eje(e,t,r){for(;t>0;){let n=tB(e,t-2,r);if(n=56320&&e<57344}function nB(e){return e>=55296&&e<56320}function XP(e){return e<65536?1:2}let Nn=class oB{lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,r,n){[t,r]=lh(this,t,r);let o=[];return this.decompose(0,t,o,2),n.length&&n.decompose(0,n.length,o,3),this.decompose(r,this.length,o,1),hl.from(o,this.length-(r-t)+n.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,r=this.length){[t,r]=lh(this,t,r);let n=[];return this.decompose(t,r,n,0),hl.from(n,r-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let r=this.scanIdentical(t,1),n=this.length-this.scanIdentical(t,-1),o=new Qm(this),s=new Qm(t);for(let i=r,a=r;;){if(o.next(i),s.next(i),i=0,o.lineBreak!=s.lineBreak||o.done!=s.done||o.value!=s.value)return!1;if(a+=o.value.length,o.done||a>=n)return!0}}iter(t=1){return new Qm(this,t)}iterRange(t,r=this.length){return new sB(this,t,r)}iterLines(t,r){let n;if(t==null)n=this.iter();else{r==null&&(r=this.lines+1);let o=this.line(t).from;n=this.iterRange(o,Math.max(o,r==this.lines+1?this.length:r<=1?0:this.line(r-1).to))}return new iB(n)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}constructor(){}static of(t){if(t.length==0)throw new RangeError("A document must have at least one line");return t.length==1&&!t[0]?oB.empty:t.length<=32?new Go(t):hl.from(Go.split(t,[]))}};class Go extends Nn{constructor(t,r=Oje(t)){super(),this.text=t,this.length=r}get lines(){return this.text.length}get children(){return null}lineInner(t,r,n,o){for(let s=0;;s++){let i=this.text[s],a=o+i.length;if((r?n:a)>=t)return new $je(o,a,n,i);o=a+1,n++}}decompose(t,r,n,o){let s=t<=0&&r>=this.length?this:new Go(YP(this.text,t,r),Math.min(r,this.length)-Math.max(0,t));if(o&1){let i=n.pop(),a=tb(s.text,i.text.slice(),0,s.length);if(a.length<=32)n.push(new Go(a,i.length+s.length));else{let l=a.length>>1;n.push(new Go(a.slice(0,l)),new Go(a.slice(l)))}}else n.push(s)}replace(t,r,n){if(!(n instanceof Go))return super.replace(t,r,n);[t,r]=lh(this,t,r);let o=tb(this.text,tb(n.text,YP(this.text,0,t)),r),s=this.length+n.length-(r-t);return o.length<=32?new Go(o,s):hl.from(Go.split(o,[]),s)}sliceString(t,r=this.length,n=` -`){[t,r]=lh(this,t,r);let o="";for(let s=0,i=0;s<=r&&it&&i&&(o+=n),ts&&(o+=a.slice(Math.max(0,t-s),r-s)),s=l+1}return o}flatten(t){for(let r of this.text)t.push(r)}scanIdentical(){return 0}static split(t,r){let n=[],o=-1;for(let s of t)n.push(s),o+=s.length+1,n.length==32&&(r.push(new Go(n,o)),n=[],o=-1);return o>-1&&r.push(new Go(n,o)),r}}class hl extends Nn{constructor(t,r){super(),this.children=t,this.length=r,this.lines=0;for(let n of t)this.lines+=n.lines}lineInner(t,r,n,o){for(let s=0;;s++){let i=this.children[s],a=o+i.length,l=n+i.lines-1;if((r?l:a)>=t)return i.lineInner(t,r,n,o);o=a+1,n=l+1}}decompose(t,r,n,o){for(let s=0,i=0;i<=r&&s=i){let c=o&((i<=t?1:0)|(l>=r?2:0));i>=t&&l<=r&&!c?n.push(a):a.decompose(t-i,r-i,n,c)}i=l+1}}replace(t,r,n){if([t,r]=lh(this,t,r),n.lines=s&&r<=a){let l=i.replace(t-s,r-s,n),c=this.lines-i.lines+l.lines;if(l.lines>4&&l.lines>c>>6){let u=this.children.slice();return u[o]=l,new hl(u,this.length-(r-t)+n.length)}return super.replace(s,a,l)}s=a+1}return super.replace(t,r,n)}sliceString(t,r=this.length,n=` -`){[t,r]=lh(this,t,r);let o="";for(let s=0,i=0;st&&s&&(o+=n),ti&&(o+=a.sliceString(t-i,r-i,n)),i=l+1}return o}flatten(t){for(let r of this.children)r.flatten(t)}scanIdentical(t,r){if(!(t instanceof hl))return 0;let n=0,[o,s,i,a]=r>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;o+=r,s+=r){if(o==i||s==a)return n;let l=this.children[o],c=t.children[s];if(l!=c)return n+l.scanIdentical(c,r);n+=l.length+1}}static from(t,r=t.reduce((n,o)=>n+o.length+1,-1)){let n=0;for(let f of t)n+=f.lines;if(n<32){let f=[];for(let m of t)m.flatten(f);return new Go(f,r)}let o=Math.max(32,n>>5),s=o<<1,i=o>>1,a=[],l=0,c=-1,u=[];function d(f){let m;if(f.lines>s&&f instanceof hl)for(let v of f.children)d(v);else f.lines>i&&(l>i||!l)?(p(),a.push(f)):f instanceof Go&&l&&(m=u[u.length-1])instanceof Go&&f.lines+m.lines<=32?(l+=f.lines,c+=f.length+1,u[u.length-1]=new Go(m.text.concat(f.text),m.length+1+f.length)):(l+f.lines>o&&p(),l+=f.lines,c+=f.length+1,u.push(f))}function p(){l!=0&&(a.push(u.length==1?u[0]:hl.from(u,c)),c=-1,l=u.length=0)}for(let f of t)d(f);return p(),a.length==1?a[0]:new hl(a,r)}}Nn.empty=new Go([""],0);function Oje(e){let t=-1;for(let r of e)t+=r.length+1;return t}function tb(e,t,r=0,n=1e9){for(let o=0,s=0,i=!0;s=r&&(l>n&&(a=a.slice(0,n-o)),o0?1:(t instanceof Go?t.text.length:t.children.length)<<1]}nextInner(t,r){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,o=this.nodes[n],s=this.offsets[n],i=s>>1,a=o instanceof Go?o.text.length:o.children.length;if(i==(r>0?a:0)){if(n==0)return this.done=!0,this.value="",this;r>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(r>0?0:1)){if(this.offsets[n]+=r,t==0)return this.lineBreak=!0,this.value=` -`,this;t--}else if(o instanceof Go){let l=o.text[i+(r<0?-1:0)];if(this.offsets[n]+=r,l.length>Math.max(0,t))return this.value=t==0?l:r>0?l.slice(t):l.slice(0,l.length-t),this;t-=l.length}else{let l=o.children[i+(r<0?-1:0)];t>l.length?(t-=l.length,this.offsets[n]+=r):(r<0&&this.offsets[n]--,this.nodes.push(l),this.offsets.push(r>0?1:(l instanceof Go?l.text.length:l.children.length)<<1))}}}next(t=0){return t<0&&(this.nextInner(-t,-this.dir),t=this.value.length),this.nextInner(t,this.dir)}}class sB{constructor(t,r,n){this.value="",this.done=!1,this.cursor=new Qm(t,r>n?-1:1),this.pos=r>n?t.length:0,this.from=Math.min(r,n),this.to=Math.max(r,n)}nextInner(t,r){if(r<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;t+=Math.max(0,r<0?this.pos-this.to:this.from-this.pos);let n=r<0?this.pos-this.from:this.to-this.pos;t>n&&(t=n),n-=t;let{value:o}=this.cursor.next(t);return this.pos+=(o.length+t)*r,this.value=o.length<=n?o:r<0?o.slice(o.length-n):o.slice(0,n),this.done=!this.value,this}next(t=0){return t<0?t=Math.max(t,this.from-this.pos):t>0&&(t=Math.min(t,this.to-this.pos)),this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class iB{constructor(t){this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}next(t=0){let{done:r,lineBreak:n,value:o}=this.inner.next(t);return r&&this.afterBreak?(this.value="",this.afterBreak=!1):r?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=o,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Nn.prototype[Symbol.iterator]=function(){return this.iter()},Qm.prototype[Symbol.iterator]=sB.prototype[Symbol.iterator]=iB.prototype[Symbol.iterator]=function(){return this});class $je{constructor(t,r,n,o){this.from=t,this.to=r,this.number=n,this.text=o}get length(){return this.to-this.from}}function lh(e,t,r){return t=Math.max(0,Math.min(e.length,t)),[t,Math.max(t,Math.min(e.length,r))]}function $s(e,t,r=!0,n=!0){return Aje(e,t,r,n)}function Tje(e){return e>=56320&&e<57344}function Pje(e){return e>=55296&&e<56320}function hi(e,t){let r=e.charCodeAt(t);if(!Pje(r)||t+1==e.length)return r;let n=e.charCodeAt(t+1);return Tje(n)?(r-55296<<10)+(n-56320)+65536:r}function IA(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function ml(e){return e<65536?1:2}const nS=/\r\n?|\n/;var ri=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(ri||(ri={}));class xc{constructor(t){this.sections=t}get length(){let t=0;for(let r=0;rt)return s+(t-o);s+=a}else{if(n!=ri.Simple&&c>=t&&(n==ri.TrackDel&&ot||n==ri.TrackBefore&&ot))return null;if(c>t||c==t&&r<0&&!a)return t==o||r<0?s:s+l;s+=l}o=c}if(t>o)throw new RangeError(`Position ${t} is out of range for changeset of length ${o}`);return s}touchesRange(t,r=t){for(let n=0,o=0;n=0&&o<=r&&a>=t)return or?"cover":!0;o=a}return!1}toString(){let t="";for(let r=0;r=0?":"+o:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(r=>typeof r!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new xc(t)}static create(t){return new xc(t)}}class Yo extends xc{constructor(t,r){super(t),this.inserted=r}apply(t){if(this.length!=t.length)throw new RangeError("Applying change set to a document with the wrong length");return oS(this,(r,n,o,s,i)=>t=t.replace(o,o+(n-r),i),!1),t}mapDesc(t,r=!1){return sS(this,t,r,!0)}invert(t){let r=this.sections.slice(),n=[];for(let o=0,s=0;o=0){r[o]=a,r[o+1]=i;let l=o>>1;for(;n.length0&&wu(n,r,s.text),s.forward(u),a+=u}let c=t[i++];for(;a>1].toJSON()))}return t}static of(t,r,n){let o=[],s=[],i=0,a=null;function l(u=!1){if(!u&&!o.length)return;ip||d<0||p>r)throw new RangeError(`Invalid change range ${d} to ${p} (in doc of length ${r})`);let m=f?typeof f=="string"?Nn.of(f.split(n||nS)):f:Nn.empty,v=m.length;if(d==p&&v==0)return;di&&Ls(o,d-i,-1),Ls(o,p-d,v),wu(s,o,m),i=p}}return c(t),l(!a),a}static empty(t){return new Yo(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw new RangeError("Invalid JSON representation of ChangeSet");let r=[],n=[];for(let o=0;oa&&typeof i!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)r.push(s[0],0);else{for(;n.length=0&&r<=0&&r==e[o+1]?e[o]+=t:o>=0&&t==0&&e[o]==0?e[o+1]+=r:n?(e[o]+=t,e[o+1]+=r):e.push(t,r)}function wu(e,t,r){if(r.length==0)return;let n=t.length-2>>1;if(n>1])),!(r||i==e.sections.length||e.sections[i+1]<0);)a=e.sections[i++],l=e.sections[i++];t(o,c,s,u,d),o=c,s=u}}}function sS(e,t,r,n=!1){let o=[],s=n?[]:null,i=new Eg(e),a=new Eg(t);for(let l=-1;;){if(i.done&&a.len||a.done&&i.len)throw new Error("Mismatched change set lengths");if(i.ins==-1&&a.ins==-1){let c=Math.min(i.len,a.len);Ls(o,c,-1),i.forward(c),a.forward(c)}else if(a.ins>=0&&(i.ins<0||l==i.i||i.off==0&&(a.len=0&&l=0){let c=0,u=i.len;for(;u;)if(a.ins==-1){let d=Math.min(u,a.len);c+=d,u-=d,a.forward(d)}else if(a.ins==0&&a.lenl||i.ins>=0&&i.len>l)&&(a||n.length>c),s.forward2(l),i.forward(l)}}}}class Eg{constructor(t){this.set=t,this.i=0,this.next()}next(){let{sections:t}=this.set;this.i>1;return r>=t.length?Nn.empty:t[r]}textBit(t){let{inserted:r}=this.set,n=this.i-2>>1;return n>=r.length&&!t?Nn.empty:r[n].slice(this.off,t==null?void 0:this.off+t)}forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)}forward2(t){this.ins==-1?this.forward(t):t==this.ins?this.next():(this.ins-=t,this.off+=t)}}class Rd{constructor(t,r,n){this.from=t,this.to=r,this.flags=n}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let t=this.flags&7;return t==7?null:t}get goalColumn(){let t=this.flags>>6;return t==16777215?void 0:t}map(t,r=-1){let n,o;return this.empty?n=o=t.mapPos(this.from,r):(n=t.mapPos(this.from,1),o=t.mapPos(this.to,-1)),n==this.from&&o==this.to?this:new Rd(n,o,this.flags)}extend(t,r=t){if(t<=this.anchor&&r>=this.anchor)return Je.range(t,r);let n=Math.abs(t-this.anchor)>Math.abs(r-this.anchor)?t:r;return Je.range(this.anchor,n)}eq(t,r=!1){return this.anchor==t.anchor&&this.head==t.head&&(!r||!this.empty||this.assoc==t.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return Je.range(t.anchor,t.head)}static create(t,r,n){return new Rd(t,r,n)}}class Je{constructor(t,r){this.ranges=t,this.mainIndex=r}map(t,r=-1){return t.empty?this:Je.create(this.ranges.map(n=>n.map(t,r)),this.mainIndex)}eq(t,r=!1){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return!1;for(let n=0;nt.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||typeof t.main!="number"||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new Je(t.ranges.map(r=>Rd.fromJSON(r)),t.main)}static single(t,r=t){return new Je([Je.range(t,r)],0)}static create(t,r=0){if(t.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,o=0;ot?8:0)|s)}static normalized(t,r=0){let n=t[r];t.sort((o,s)=>o.from-s.from),r=t.indexOf(n);for(let o=1;os.head?Je.range(l,a):Je.range(a,l))}}return new Je(t,r)}}function lB(e,t){for(let r of e.ranges)if(r.to>t)throw new RangeError("Selection points outside of document")}let DA=0;class At{constructor(t,r,n,o,s){this.combine=t,this.compareInput=r,this.compare=n,this.isStatic=o,this.id=DA++,this.default=t([]),this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(t={}){return new At(t.combine||(r=>r),t.compareInput||((r,n)=>r===n),t.compare||(t.combine?(r,n)=>r===n:MA),!!t.static,t.enables)}of(t){return new rb([],this,0,t)}compute(t,r){if(this.isStatic)throw new Error("Can't compute a static facet");return new rb(t,this,1,r)}computeN(t,r){if(this.isStatic)throw new Error("Can't compute a static facet");return new rb(t,this,2,r)}from(t,r){return r||(r=n=>n),this.compute([t],n=>r(n.field(t)))}}function MA(e,t){return e==t||e.length==t.length&&e.every((r,n)=>r===t[n])}class rb{constructor(t,r,n,o){this.dependencies=t,this.facet=r,this.type=n,this.value=o,this.id=DA++}dynamicSlot(t){var r;let n=this.value,o=this.facet.compareInput,s=this.id,i=t[s]>>1,a=this.type==2,l=!1,c=!1,u=[];for(let d of this.dependencies)d=="doc"?l=!0:d=="selection"?c=!0:!(((r=t[d.id])!==null&&r!==void 0?r:1)&1)&&u.push(t[d.id]);return{create(d){return d.values[i]=n(d),1},update(d,p){if(l&&p.docChanged||c&&(p.docChanged||p.selection)||iS(d,u)){let f=n(d);if(a?!eI(f,d.values[i],o):!o(f,d.values[i]))return d.values[i]=f,1}return 0},reconfigure:(d,p)=>{let f,m=p.config.address[s];if(m!=null){let v=r1(p,m);if(this.dependencies.every(g=>g instanceof At?p.facet(g)===d.facet(g):g instanceof js?p.field(g,!1)==d.field(g,!1):!0)||(a?eI(f=n(d),v,o):o(f=n(d),v)))return d.values[i]=v,0}else f=n(d);return d.values[i]=f,1}}}}function eI(e,t,r){if(e.length!=t.length)return!1;for(let n=0;ne[l.id]),o=r.map(l=>l.type),s=n.filter(l=>!(l&1)),i=e[t.id]>>1;function a(l){let c=[];for(let u=0;un===o),t);return t.provide&&(r.provides=t.provide(r)),r}create(t){let r=t.facet(tI).find(n=>n.field==this);return((r==null?void 0:r.create)||this.createF)(t)}slot(t){let r=t[this.id]>>1;return{create:n=>(n.values[r]=this.create(n),1),update:(n,o)=>{let s=n.values[r],i=this.updateF(s,o);return this.compareF(s,i)?0:(n.values[r]=i,1)},reconfigure:(n,o)=>o.config.address[this.id]!=null?(n.values[r]=o.field(this),0):(n.values[r]=this.create(n),1)}}init(t){return[this,tI.of({field:this,create:t})]}get extension(){return this}}const Td={lowest:4,low:3,default:2,high:1,highest:0};function pm(e){return t=>new cB(t,e)}const Dp={highest:pm(Td.highest),high:pm(Td.high),default:pm(Td.default),low:pm(Td.low),lowest:pm(Td.lowest)};class cB{constructor(t,r){this.inner=t,this.prec=r}}class dc{of(t){return new aS(this,t)}reconfigure(t){return dc.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class aS{constructor(t,r){this.compartment=t,this.inner=r}}class t1{constructor(t,r,n,o,s,i){for(this.base=t,this.compartments=r,this.dynamicSlots=n,this.address=o,this.staticValues=s,this.facets=i,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(t,r,n){let o=[],s=Object.create(null),i=new Map;for(let p of Dje(t,r,i))p instanceof js?o.push(p):(s[p.facet.id]||(s[p.facet.id]=[])).push(p);let a=Object.create(null),l=[],c=[];for(let p of o)a[p.id]=c.length<<1,c.push(f=>p.slot(f));let u=n==null?void 0:n.config.facets;for(let p in s){let f=s[p],m=f[0].facet,v=u&&u[p]||[];if(f.every(g=>g.type==0))if(a[m.id]=l.length<<1|1,MA(v,f))l.push(n.facet(m));else{let g=m.combine(f.map(y=>y.value));l.push(n&&m.compare(g,n.facet(m))?n.facet(m):g)}else{for(let g of f)g.type==0?(a[g.id]=l.length<<1|1,l.push(g.value)):(a[g.id]=c.length<<1,c.push(y=>g.dynamicSlot(y)));a[m.id]=c.length<<1,c.push(g=>Ije(g,m,f))}}let d=c.map(p=>p(a));return new t1(t,i,d,a,l,s)}}function Dje(e,t,r){let n=[[],[],[],[],[]],o=new Map;function s(i,a){let l=o.get(i);if(l!=null){if(l<=a)return;let c=n[l].indexOf(i);c>-1&&n[l].splice(c,1),i instanceof aS&&r.delete(i.compartment)}if(o.set(i,a),Array.isArray(i))for(let c of i)s(c,a);else if(i instanceof aS){if(r.has(i.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=t.get(i.compartment)||i.inner;r.set(i.compartment,c),s(c,a)}else if(i instanceof cB)s(i.inner,i.prec);else if(i instanceof js)n[a].push(i),i.provides&&s(i.provides,a);else if(i instanceof rb)n[a].push(i),i.facet.extensions&&s(i.facet.extensions,Td.default);else{let c=i.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${i}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(c,a)}}return s(e,Td.default),n.reduce((i,a)=>i.concat(a))}function Zm(e,t){if(t&1)return 2;let r=t>>1,n=e.status[r];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;e.status[r]=4;let o=e.computeSlot(e,e.config.dynamicSlots[r]);return e.status[r]=2|o}function r1(e,t){return t&1?e.config.staticValues[t>>1]:e.values[t>>1]}const uB=At.define(),lS=At.define({combine:e=>e.some(t=>t),static:!0}),dB=At.define({combine:e=>e.length?e[0]:void 0,static:!0}),pB=At.define(),fB=At.define(),hB=At.define(),mB=At.define({combine:e=>e.length?e[0]:!1});class cd{constructor(t,r){this.type=t,this.value=r}static define(){return new Mje}}class Mje{of(t){return new cd(this,t)}}class Lje{constructor(t){this.map=t}of(t){return new Gr(this,t)}}class Gr{constructor(t,r){this.type=t,this.value=r}map(t){let r=this.type.map(this.value,t);return r===void 0?void 0:r==this.value?this:new Gr(this.type,r)}is(t){return this.type==t}static define(t={}){return new Lje(t.map||(r=>r))}static mapEffects(t,r){if(!t.length)return t;let n=[];for(let o of t){let s=o.map(r);s&&n.push(s)}return n}}Gr.reconfigure=Gr.define();Gr.appendConfig=Gr.define();class Fs{constructor(t,r,n,o,s,i){this.startState=t,this.changes=r,this.selection=n,this.effects=o,this.annotations=s,this.scrollIntoView=i,this._doc=null,this._state=null,n&&lB(n,r.newLength),s.some(a=>a.type==Fs.time)||(this.annotations=s.concat(Fs.time.of(Date.now())))}static create(t,r,n,o,s,i){return new Fs(t,r,n,o,s,i)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(t){for(let r of this.annotations)if(r.type==t)return r.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let r=this.annotation(Fs.userEvent);return!!(r&&(r==t||r.length>t.length&&r.slice(0,t.length)==t&&r[t.length]=="."))}}Fs.time=cd.define();Fs.userEvent=cd.define();Fs.addToHistory=cd.define();Fs.remote=cd.define();function Nje(e,t){let r=[];for(let n=0,o=0;;){let s,i;if(n=e[n]))s=e[n++],i=e[n++];else if(o=0;o--){let s=n[o](e);s instanceof Fs?e=s:Array.isArray(s)&&s.length==1&&s[0]instanceof Fs?e=s[0]:e=vB(t,Bf(s),!1)}return e}function Bje(e){let t=e.startState,r=t.facet(hB),n=e;for(let o=r.length-1;o>=0;o--){let s=r[o](e);s&&Object.keys(s).length&&(n=gB(n,cS(t,s,e.changes.newLength),!0))}return n==e?e:Fs.create(t,e.changes,e.selection,n.effects,n.annotations,n.scrollIntoView)}const qje=[];function Bf(e){return e==null?qje:Array.isArray(e)?e:[e]}var To=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(To||(To={}));const zje=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let uS;try{uS=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function Fje(e){if(uS)return uS.test(e);for(let t=0;t"€"&&(r.toUpperCase()!=r.toLowerCase()||zje.test(r)))return!0}return!1}function Vje(e){return t=>{if(!/\S/.test(t))return To.Space;if(Fje(t))return To.Word;for(let r=0;r-1)return To.Word;return To.Other}}class an{constructor(t,r,n,o,s,i){this.config=t,this.doc=r,this.selection=n,this.values=o,this.status=t.statusTemplate.slice(),this.computeSlot=s,i&&(i._state=this);for(let a=0;ao.set(c,l)),r=null),o.set(a.value.compartment,a.value.extension)):a.is(Gr.reconfigure)?(r=null,n=a.value):a.is(Gr.appendConfig)&&(r=null,n=Bf(n).concat(a.value));let s;r?s=t.startState.values.slice():(r=t1.resolve(n,o,this),s=new an(r,this.doc,this.selection,r.dynamicSlots.map(()=>null),(a,l)=>l.reconfigure(a,this),null).values);let i=t.startState.facet(lS)?t.newSelection:t.newSelection.asSingle();new an(r,t.newDoc,i,s,(a,l)=>l.update(a,t),t)}replaceSelection(t){return typeof t=="string"&&(t=this.toText(t)),this.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:t},range:Je.cursor(r.from+t.length)}))}changeByRange(t){let r=this.selection,n=t(r.ranges[0]),o=this.changes(n.changes),s=[n.range],i=Bf(n.effects);for(let a=1;ai.spec.fromJSON(a,l)))}}return an.create({doc:t.doc,selection:Je.fromJSON(t.selection),extensions:r.extensions?o.concat([r.extensions]):o})}static create(t={}){let r=t1.resolve(t.extensions||[],new Map),n=t.doc instanceof Nn?t.doc:Nn.of((t.doc||"").split(r.staticFacet(an.lineSeparator)||nS)),o=t.selection?t.selection instanceof Je?t.selection:Je.single(t.selection.anchor,t.selection.head):Je.single(0);return lB(o,n.length),r.staticFacet(lS)||(o=o.asSingle()),new an(r,n,o,r.dynamicSlots.map(()=>null),(s,i)=>i.create(s),null)}get tabSize(){return this.facet(an.tabSize)}get lineBreak(){return this.facet(an.lineSeparator)||` -`}get readOnly(){return this.facet(mB)}phrase(t,...r){for(let n of this.facet(an.phrases))if(Object.prototype.hasOwnProperty.call(n,t)){t=n[t];break}return r.length&&(t=t.replace(/\$(\$|\d*)/g,(n,o)=>{if(o=="$")return"$";let s=+(o||1);return!s||s>r.length?n:r[s-1]})),t}languageDataAt(t,r,n=-1){let o=[];for(let s of this.facet(uB))for(let i of s(this,r,n))Object.prototype.hasOwnProperty.call(i,t)&&o.push(i[t]);return o}charCategorizer(t){return Vje(this.languageDataAt("wordChars",t).join(""))}wordAt(t){let{text:r,from:n,length:o}=this.doc.lineAt(t),s=this.charCategorizer(t),i=t-n,a=t-n;for(;i>0;){let l=$s(r,i,!1);if(s(r.slice(l,i))!=To.Word)break;i=l}for(;ae.length?e[0]:4});an.lineSeparator=dB;an.readOnly=mB;an.phrases=At.define({compare(e,t){let r=Object.keys(e),n=Object.keys(t);return r.length==n.length&&r.every(o=>e[o]==t[o])}});an.languageData=uB;an.changeFilter=pB;an.transactionFilter=fB;an.transactionExtender=hB;dc.reconfigure=Gr.define();function ol(e,t,r={}){let n={};for(let o of e)for(let s of Object.keys(o)){let i=o[s],a=n[s];if(a===void 0)n[s]=i;else if(!(a===i||i===void 0))if(Object.hasOwnProperty.call(r,s))n[s]=r[s](a,i);else throw new Error("Config merge conflict for field "+s)}for(let o in t)n[o]===void 0&&(n[o]=t[o]);return n}class ip{eq(t){return this==t}range(t,r=t){return dS.create(t,r,this)}}ip.prototype.startSide=ip.prototype.endSide=0;ip.prototype.point=!1;ip.prototype.mapMode=ri.TrackDel;let dS=class yB{constructor(t,r,n){this.from=t,this.to=r,this.value=n}static create(t,r,n){return new yB(t,r,n)}};function pS(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class LA{constructor(t,r,n,o){this.from=t,this.to=r,this.value=n,this.maxPoint=o}get length(){return this.to[this.to.length-1]}findIndex(t,r,n,o=0){let s=n?this.to:this.from;for(let i=o,a=s.length;;){if(i==a)return i;let l=i+a>>1,c=s[l]-t||(n?this.value[l].endSide:this.value[l].startSide)-r;if(l==i)return c>=0?i:a;c>=0?a=l:i=l+1}}between(t,r,n,o){for(let s=this.findIndex(r,-1e9,!0),i=this.findIndex(n,1e9,!1,s);sf||p==f&&c.startSide>0&&c.endSide<=0)continue;(f-p||c.endSide-c.startSide)<0||(i<0&&(i=p),c.point&&(a=Math.max(a,f-p)),n.push(c),o.push(p-i),s.push(f-i))}return{mapped:n.length?new LA(o,s,n,a):null,pos:i}}}class pn{constructor(t,r,n,o){this.chunkPos=t,this.chunk=r,this.nextLayer=n,this.maxPoint=o}static create(t,r,n,o){return new pn(t,r,n,o)}get length(){let t=this.chunk.length-1;return t<0?0:Math.max(this.chunkEnd(t),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let t=this.nextLayer.size;for(let r of this.chunk)t+=r.value.length;return t}chunkEnd(t){return this.chunkPos[t]+this.chunk[t].length}update(t){let{add:r=[],sort:n=!1,filterFrom:o=0,filterTo:s=this.length}=t,i=t.filter;if(r.length==0&&!i)return this;if(n&&(r=r.slice().sort(pS)),this.isEmpty)return r.length?pn.of(r):this;let a=new bB(this,null,-1).goto(0),l=0,c=[],u=new Qa;for(;a.value||l=0){let d=r[l++];u.addInner(d.from,d.to,d.value)||c.push(d)}else a.rangeIndex==1&&a.chunkIndexthis.chunkEnd(a.chunkIndex)||sa.to||s=s&&t<=s+i.length&&i.between(s,t-s,r-s,n)===!1)return}this.nextLayer.between(t,r,n)}}iter(t=0){return Og.from([this]).goto(t)}get isEmpty(){return this.nextLayer==this}static iter(t,r=0){return Og.from(t).goto(r)}static compare(t,r,n,o,s=-1){let i=t.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=s),a=r.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=s),l=rI(i,a,n),c=new fm(i,l,s),u=new fm(a,l,s);n.iterGaps((d,p,f)=>nI(c,d,u,p,f,o)),n.empty&&n.length==0&&nI(c,0,u,0,0,o)}static eq(t,r,n=0,o){o==null&&(o=999999999);let s=t.filter(u=>!u.isEmpty&&r.indexOf(u)<0),i=r.filter(u=>!u.isEmpty&&t.indexOf(u)<0);if(s.length!=i.length)return!1;if(!s.length)return!0;let a=rI(s,i),l=new fm(s,a,0).goto(n),c=new fm(i,a,0).goto(n);for(;;){if(l.to!=c.to||!fS(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>o)return!0;l.next(),c.next()}}static spans(t,r,n,o,s=-1){let i=new fm(t,null,s).goto(r),a=r,l=i.openStart;for(;;){let c=Math.min(i.to,n);if(i.point){let u=i.activeForPoint(i.to),d=i.pointFroma&&(o.span(a,c,i.active,l),l=i.openEnd(c));if(i.to>n)return l+(i.point&&i.to>n?1:0);a=i.to,i.next()}}static of(t,r=!1){let n=new Qa;for(let o of t instanceof dS?[t]:r?Uje(t):t)n.add(o.from,o.to,o.value);return n.finish()}static join(t){if(!t.length)return pn.empty;let r=t[t.length-1];for(let n=t.length-2;n>=0;n--)for(let o=t[n];o!=pn.empty;o=o.nextLayer)r=new pn(o.chunkPos,o.chunk,r,Math.max(o.maxPoint,r.maxPoint));return r}}pn.empty=new pn([],[],null,-1);function Uje(e){if(e.length>1)for(let t=e[0],r=1;r0)return e.slice().sort(pS);t=n}return e}pn.empty.nextLayer=pn.empty;class Qa{finishChunk(t){this.chunks.push(new LA(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,t&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(t,r,n){this.addInner(t,r,n)||(this.nextLayer||(this.nextLayer=new Qa)).add(t,r,n)}addInner(t,r,n){let o=t-this.lastTo||n.startSide-this.last.endSide;if(o<=0&&(t-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return o<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=t),this.from.push(t-this.chunkStart),this.to.push(r-this.chunkStart),this.last=n,this.lastFrom=t,this.lastTo=r,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,r-t)),!0)}addChunk(t,r){if((t-this.lastTo||r.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,r.maxPoint),this.chunks.push(r),this.chunkPos.push(t);let n=r.value.length-1;return this.last=r.value[n],this.lastFrom=r.from[n]+t,this.lastTo=r.to[n]+t,!0}finish(){return this.finishInner(pn.empty)}finishInner(t){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return t;let r=pn.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);return this.from=null,r}}function rI(e,t,r){let n=new Map;for(let s of e)for(let i=0;i=this.minPoint)break}}setRangeIndex(t){if(t==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&o.push(new bB(i,r,n,s));return o.length==1?o[0]:new Og(o)}get startSide(){return this.value?this.value.startSide:0}goto(t,r=-1e9){for(let n of this.heap)n.goto(t,r);for(let n=this.heap.length>>1;n>=0;n--)Wk(this.heap,n);return this.next(),this}forward(t,r){for(let n of this.heap)n.forward(t,r);for(let n=this.heap.length>>1;n>=0;n--)Wk(this.heap,n);(this.to-t||this.value.endSide-r)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let t=this.heap[0];this.from=t.from,this.to=t.to,this.value=t.value,this.rank=t.rank,t.value&&t.next(),Wk(this.heap,0)}}}function Wk(e,t){for(let r=e[t];;){let n=(t<<1)+1;if(n>=e.length)break;let o=e[n];if(n+1=0&&(o=e[n+1],n++),r.compare(o)<0)break;e[n]=r,e[t]=o,t=n}}class fm{constructor(t,r,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Og.from(t,r,n)}goto(t,r=-1e9){return this.cursor.goto(t,r),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=t,this.endSide=r,this.openStart=-1,this.next(),this}forward(t,r){for(;this.minActive>-1&&(this.activeTo[this.minActive]-t||this.active[this.minActive].endSide-r)<0;)this.removeActive(this.minActive);this.cursor.forward(t,r)}removeActive(t){n0(this.active,t),n0(this.activeTo,t),n0(this.activeRank,t),this.minActive=oI(this.active,this.activeTo)}addActive(t){let r=0,{value:n,to:o,rank:s}=this.cursor;for(;r0;)r++;o0(this.active,r,n),o0(this.activeTo,r,o),o0(this.activeRank,r,s),t&&o0(t,r,this.cursor.from),this.minActive=oI(this.active,this.activeTo)}next(){let t=this.to,r=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let o=this.minActive;if(o>-1&&(this.activeTo[o]-this.cursor.from||this.active[o].endSide-this.cursor.startSide)<0){if(this.activeTo[o]>t){this.to=this.activeTo[o],this.endSide=this.active[o].endSide;break}this.removeActive(o),n&&n0(n,o)}else if(this.cursor.value)if(this.cursor.from>t){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(n),this.cursor.next();else if(r&&this.cursor.to==this.to&&this.cursor.from=0&&n[o]=0&&!(this.activeRank[n]t||this.activeTo[n]==t&&this.active[n].endSide>=this.point.endSide)&&r.push(this.active[n]);return r.reverse()}openEnd(t){let r=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>t;n--)r++;return r}}function nI(e,t,r,n,o,s){e.goto(t),r.goto(n);let i=n+o,a=n,l=n-t;for(;;){let c=e.to+l-r.to,u=c||e.endSide-r.endSide,d=u<0?e.to+l:r.to,p=Math.min(d,i);if(e.point||r.point?e.point&&r.point&&(e.point==r.point||e.point.eq(r.point))&&fS(e.activeForPoint(e.to),r.activeForPoint(r.to))||s.comparePoint(a,p,e.point,r.point):p>a&&!fS(e.active,r.active)&&s.compareRange(a,p,e.active,r.active),d>i)break;(c||e.openEnd!=r.openEnd)&&s.boundChange&&s.boundChange(d),a=d,u<=0&&e.next(),u>=0&&r.next()}}function fS(e,t){if(e.length!=t.length)return!1;for(let r=0;r=t;n--)e[n+1]=e[n];e[t]=r}function oI(e,t){let r=-1,n=1e9;for(let o=0;o=t)return o;if(o==e.length)break;s+=e.charCodeAt(o)==9?r-s%r:1,o=$s(e,o)}return n===!0?-1:e.length}const mS="ͼ",sI=typeof Symbol>"u"?"__"+mS:Symbol.for(mS),gS=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),iI=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Ju{constructor(t,r){this.rules=[];let{finish:n}=r||{};function o(i){return/^@/.test(i)?[i]:i.split(/,\s*/)}function s(i,a,l,c){let u=[],d=/^@(\w+)\b/.exec(i[0]),p=d&&d[1]=="keyframes";if(d&&a==null)return l.push(i[0]+";");for(let f in a){let m=a[f];if(/&/.test(f))s(f.split(/,\s*/).map(v=>i.map(g=>v.replace(/&/,g))).reduce((v,g)=>v.concat(g)),m,l);else if(m&&typeof m=="object"){if(!d)throw new RangeError("The value of a property ("+f+") should be a primitive value.");s(o(f),m,u,p)}else m!=null&&u.push(f.replace(/_.*/,"").replace(/[A-Z]/g,v=>"-"+v.toLowerCase())+": "+m+";")}(u.length||p)&&l.push((n&&!d&&!c?i.map(n):i).join(", ")+" {"+u.join(" ")+"}")}for(let i in t)s(o(i),t[i],this.rules)}getRules(){return this.rules.join(` + deps: ${u}}`};const o={keyword:"dependencies",type:"object",schemaType:"object",error:e.error,code(l){const[c,u]=s(l);i(l,c),a(l,u)}};function s({schema:l}){const c={},u={};for(const d in l){if(d==="__proto__")continue;const p=Array.isArray(l[d])?c:u;p[d]=l[d]}return[c,u]}function i(l,c=l.schema){const{gen:u,data:d,it:p}=l;if(Object.keys(c).length===0)return;const f=u.let("missing");for(const m in c){const v=c[m];if(v.length===0)continue;const g=(0,n.propertyInData)(u,d,m,p.opts.ownProperties);l.setParams({property:m,depsCount:v.length,deps:v.join(", ")}),p.allErrors?u.if(g,()=>{for(const y of v)(0,n.checkReportMissingProp)(l,y)}):(u.if((0,t._)`${g} && (${(0,n.checkMissingProp)(l,v,f)})`),(0,n.reportMissingProp)(l,f),u.else())}}e.validatePropertyDeps=i;function a(l,c=l.schema){const{gen:u,data:d,keyword:p,it:f}=l,m=u.name("valid");for(const v in c)(0,r.alwaysValidSchema)(f,c[v])||(u.if((0,n.propertyInData)(u,d,v,f.opts.ownProperties),()=>{const g=l.subschema({keyword:p,schemaProp:v},m);l.mergeValidEvaluated(g,m)},()=>u.var(m,!0)),l.ok(m))}e.validateSchemaDeps=a,e.default=o}(AP)),AP}var Uy={},OP;function Wke(){if(OP)return Uy;OP=1,Object.defineProperty(Uy,"__esModule",{value:!0});const e=ln(),t=$n(),r={keyword:"propertyNames",type:"object",schemaType:["object","boolean"],error:{message:"property name must be valid",params:({params:n})=>(0,e._)`{propertyName: ${n.propertyName}}`},code(n){const{gen:o,schema:s,data:i,it:a}=n;if((0,t.alwaysValidSchema)(a,s))return;const l=o.name("valid");o.forIn("key",i,c=>{n.setParams({propertyName:c}),n.subschema({keyword:"propertyNames",data:c,dataTypes:["string"],propertyName:c,compositeRule:!0},l),o.if((0,e.not)(l),()=>{n.error(!0),a.allErrors||o.break()})}),n.ok(l)}};return Uy.default=r,Uy}var Hy={},$P;function Y6(){if($P)return Hy;$P=1,Object.defineProperty(Hy,"__esModule",{value:!0});const e=nl(),t=ln(),r=ld(),n=$n(),o={keyword:"additionalProperties",type:["object"],schemaType:["boolean","object"],allowUndefined:!0,trackErrors:!0,error:{message:"must NOT have additional properties",params:({params:s})=>(0,t._)`{additionalProperty: ${s.additionalProperty}}`},code(s){const{gen:i,schema:a,parentSchema:l,data:c,errsCount:u,it:d}=s;if(!u)throw new Error("ajv implementation error");const{allErrors:p,opts:f}=d;if(d.props=!0,f.removeAdditional!=="all"&&(0,n.alwaysValidSchema)(d,a))return;const m=(0,e.allSchemaProperties)(l.properties),v=(0,e.allSchemaProperties)(l.patternProperties);g(),s.ok((0,t._)`${u} === ${r.default.errors}`);function g(){i.forIn("key",c,x=>{!m.length&&!v.length?w(x):i.if(y(x),()=>w(x))})}function y(x){let j;if(m.length>8){const _=(0,n.schemaRefOrVal)(d,l.properties,"properties");j=(0,e.isOwnProperty)(i,_,x)}else m.length?j=(0,t.or)(...m.map(_=>(0,t._)`${x} === ${_}`)):j=t.nil;return v.length&&(j=(0,t.or)(j,...v.map(_=>(0,t._)`${(0,e.usePattern)(s,_)}.test(${x})`))),(0,t.not)(j)}function b(x){i.code((0,t._)`delete ${c}[${x}]`)}function w(x){if(f.removeAdditional==="all"||f.removeAdditional&&a===!1){b(x);return}if(a===!1){s.setParams({additionalProperty:x}),s.error(),p||i.break();return}if(typeof a=="object"&&!(0,n.alwaysValidSchema)(d,a)){const j=i.name("valid");f.removeAdditional==="failing"?(k(x,j,!1),i.if((0,t.not)(j),()=>{s.reset(),b(x)})):(k(x,j),p||i.if((0,t.not)(j),()=>i.break()))}}function k(x,j,_){const C={keyword:"additionalProperties",dataProp:x,dataPropType:n.Type.Str};_===!1&&Object.assign(C,{compositeRule:!0,createErrors:!1,allErrors:!1}),s.subschema(C,j)}}};return Hy.default=o,Hy}var Wy={},TP;function Gke(){if(TP)return Wy;TP=1,Object.defineProperty(Wy,"__esModule",{value:!0});const e=Yw(),t=nl(),r=$n(),n=Y6(),o={keyword:"properties",type:"object",schemaType:"object",code(s){const{gen:i,schema:a,parentSchema:l,data:c,it:u}=s;u.opts.removeAdditional==="all"&&l.additionalProperties===void 0&&n.default.code(new e.KeywordCxt(u,n.default,"additionalProperties"));const d=(0,t.allSchemaProperties)(a);for(const g of d)u.definedProperties.add(g);u.opts.unevaluated&&d.length&&u.props!==!0&&(u.props=r.mergeEvaluated.props(i,(0,r.toHash)(d),u.props));const p=d.filter(g=>!(0,r.alwaysValidSchema)(u,a[g]));if(p.length===0)return;const f=i.name("valid");for(const g of p)m(g)?v(g):(i.if((0,t.propertyInData)(i,c,g,u.opts.ownProperties)),v(g),u.allErrors||i.else().var(f,!0),i.endIf()),s.it.definedProperties.add(g),s.ok(f);function m(g){return u.opts.useDefaults&&!u.compositeRule&&a[g].default!==void 0}function v(g){s.subschema({keyword:"properties",schemaProp:g,dataProp:g},f)}}};return Wy.default=o,Wy}var Gy={},PP;function Jke(){if(PP)return Gy;PP=1,Object.defineProperty(Gy,"__esModule",{value:!0});const e=nl(),t=ln(),r=$n(),n=$n(),o={keyword:"patternProperties",type:"object",schemaType:"object",code(s){const{gen:i,schema:a,data:l,parentSchema:c,it:u}=s,{opts:d}=u,p=(0,e.allSchemaProperties)(a),f=p.filter(k=>(0,r.alwaysValidSchema)(u,a[k]));if(p.length===0||f.length===p.length&&(!u.opts.unevaluated||u.props===!0))return;const m=d.strictSchema&&!d.allowMatchingProperties&&c.properties,v=i.name("valid");u.props!==!0&&!(u.props instanceof t.Name)&&(u.props=(0,n.evaluatedPropsToName)(i,u.props));const{props:g}=u;y();function y(){for(const k of p)m&&b(k),u.allErrors?w(k):(i.var(v,!0),w(k),i.if(v))}function b(k){for(const x in m)new RegExp(k).test(x)&&(0,r.checkStrictMode)(u,`property ${x} matches pattern ${k} (use allowMatchingProperties)`)}function w(k){i.forIn("key",l,x=>{i.if((0,t._)`${(0,e.usePattern)(s,k)}.test(${x})`,()=>{const j=f.includes(k);j||s.subschema({keyword:"patternProperties",schemaProp:k,dataProp:x,dataPropType:n.Type.Str},v),u.opts.unevaluated&&g!==!0?i.assign((0,t._)`${g}[${x}]`,!0):!j&&!u.allErrors&&i.if((0,t.not)(v),()=>i.break())})})}}};return Gy.default=o,Gy}var Jy={},IP;function Kke(){if(IP)return Jy;IP=1,Object.defineProperty(Jy,"__esModule",{value:!0});const e=$n(),t={keyword:"not",schemaType:["object","boolean"],trackErrors:!0,code(r){const{gen:n,schema:o,it:s}=r;if((0,e.alwaysValidSchema)(s,o)){r.fail();return}const i=n.name("valid");r.subschema({keyword:"not",compositeRule:!0,createErrors:!1,allErrors:!1},i),r.failResult(i,()=>r.reset(),()=>r.error())},error:{message:"must NOT be valid"}};return Jy.default=t,Jy}var Ky={},DP;function Qke(){if(DP)return Ky;DP=1,Object.defineProperty(Ky,"__esModule",{value:!0});const e={keyword:"anyOf",schemaType:"array",trackErrors:!0,code:nl().validateUnion,error:{message:"must match a schema in anyOf"}};return Ky.default=e,Ky}var Qy={},MP;function Zke(){if(MP)return Qy;MP=1,Object.defineProperty(Qy,"__esModule",{value:!0});const e=ln(),t=$n(),r={keyword:"oneOf",schemaType:"array",trackErrors:!0,error:{message:"must match exactly one schema in oneOf",params:({params:n})=>(0,e._)`{passingSchemas: ${n.passing}}`},code(n){const{gen:o,schema:s,parentSchema:i,it:a}=n;if(!Array.isArray(s))throw new Error("ajv implementation error");if(a.opts.discriminator&&i.discriminator)return;const l=s,c=o.let("valid",!1),u=o.let("passing",null),d=o.name("_valid");n.setParams({passing:u}),o.block(p),n.result(c,()=>n.reset(),()=>n.error(!0));function p(){l.forEach((f,m)=>{let v;(0,t.alwaysValidSchema)(a,f)?o.var(d,!0):v=n.subschema({keyword:"oneOf",schemaProp:m,compositeRule:!0},d),m>0&&o.if((0,e._)`${d} && ${c}`).assign(c,!1).assign(u,(0,e._)`[${u}, ${m}]`).else(),o.if(d,()=>{o.assign(c,!0),o.assign(u,m),v&&n.mergeEvaluated(v,e.Name)})})}}};return Qy.default=r,Qy}var Zy={},NP;function Xke(){if(NP)return Zy;NP=1,Object.defineProperty(Zy,"__esModule",{value:!0});const e=$n(),t={keyword:"allOf",schemaType:"array",code(r){const{gen:n,schema:o,it:s}=r;if(!Array.isArray(o))throw new Error("ajv implementation error");const i=n.name("valid");o.forEach((a,l)=>{if((0,e.alwaysValidSchema)(s,a))return;const c=r.subschema({keyword:"allOf",schemaProp:l},i);r.ok(i),r.mergeEvaluated(c)})}};return Zy.default=t,Zy}var Xy={},LP;function Yke(){if(LP)return Xy;LP=1,Object.defineProperty(Xy,"__esModule",{value:!0});const e=ln(),t=$n(),r={keyword:"if",schemaType:["object","boolean"],trackErrors:!0,error:{message:({params:o})=>(0,e.str)`must match "${o.ifClause}" schema`,params:({params:o})=>(0,e._)`{failingKeyword: ${o.ifClause}}`},code(o){const{gen:s,parentSchema:i,it:a}=o;i.then===void 0&&i.else===void 0&&(0,t.checkStrictMode)(a,'"if" without "then" and "else" is ignored');const l=n(a,"then"),c=n(a,"else");if(!l&&!c)return;const u=s.let("valid",!0),d=s.name("_valid");if(p(),o.reset(),l&&c){const m=s.let("ifClause");o.setParams({ifClause:m}),s.if(d,f("then",m),f("else",m))}else l?s.if(d,f("then")):s.if((0,e.not)(d),f("else"));o.pass(u,()=>o.error(!0));function p(){const m=o.subschema({keyword:"if",compositeRule:!0,createErrors:!1,allErrors:!1},d);o.mergeEvaluated(m)}function f(m,v){return()=>{const g=o.subschema({keyword:m},d);s.assign(u,d),o.mergeValidEvaluated(g,u),v?s.assign(v,(0,e._)`${m}`):o.setParams({ifClause:m})}}}};function n(o,s){const i=o.schema[s];return i!==void 0&&!(0,t.alwaysValidSchema)(o,i)}return Xy.default=r,Xy}var Yy={},RP;function eje(){if(RP)return Yy;RP=1,Object.defineProperty(Yy,"__esModule",{value:!0});const e=$n(),t={keyword:["then","else"],schemaType:["object","boolean"],code({keyword:r,parentSchema:n,it:o}){n.if===void 0&&(0,e.checkStrictMode)(o,`"${r}" without "if" is ignored`)}};return Yy.default=t,Yy}var BP;function tje(){if(BP)return qy;BP=1,Object.defineProperty(qy,"__esModule",{value:!0});const e=Z6(),t=Fke(),r=X6(),n=Vke(),o=Uke(),s=Hke(),i=Wke(),a=Y6(),l=Gke(),c=Jke(),u=Kke(),d=Qke(),p=Zke(),f=Xke(),m=Yke(),v=eje();function g(y=!1){const b=[u.default,d.default,p.default,f.default,m.default,v.default,i.default,a.default,s.default,l.default,c.default];return y?b.push(t.default,n.default):b.push(e.default,r.default),b.push(o.default),b}return qy.default=g,qy}var e0={},t0={},qP;function rje(){if(qP)return t0;qP=1,Object.defineProperty(t0,"__esModule",{value:!0});const e=ln(),t={keyword:"format",type:["number","string"],schemaType:"string",$data:!0,error:{message:({schemaCode:r})=>(0,e.str)`must match format "${r}"`,params:({schemaCode:r})=>(0,e._)`{format: ${r}}`},code(r,n){const{gen:o,data:s,$data:i,schema:a,schemaCode:l,it:c}=r,{opts:u,errSchemaPath:d,schemaEnv:p,self:f}=c;if(!u.validateFormats)return;i?m():v();function m(){const g=o.scopeValue("formats",{ref:f.formats,code:u.code.formats}),y=o.const("fDef",(0,e._)`${g}[${l}]`),b=o.let("fType"),w=o.let("format");o.if((0,e._)`typeof ${y} == "object" && !(${y} instanceof RegExp)`,()=>o.assign(b,(0,e._)`${y}.type || "string"`).assign(w,(0,e._)`${y}.validate`),()=>o.assign(b,(0,e._)`"string"`).assign(w,y)),r.fail$data((0,e.or)(k(),x()));function k(){return u.strictSchema===!1?e.nil:(0,e._)`${l} && !${w}`}function x(){const j=p.$async?(0,e._)`(${y}.async ? await ${w}(${s}) : ${w}(${s}))`:(0,e._)`${w}(${s})`,_=(0,e._)`(typeof ${w} == "function" ? ${j} : ${w}.test(${s}))`;return(0,e._)`${w} && ${w} !== true && ${b} === ${n} && !${_}`}}function v(){const g=f.formats[a];if(!g){k();return}if(g===!0)return;const[y,b,w]=x(g);y===n&&r.pass(j());function k(){if(u.strictSchema===!1){f.logger.warn(_());return}throw new Error(_());function _(){return`unknown format "${a}" ignored in schema at path "${d}"`}}function x(_){const C=_ instanceof RegExp?(0,e.regexpCode)(_):u.code.formats?(0,e._)`${u.code.formats}${(0,e.getProperty)(a)}`:void 0,A=o.scopeValue("formats",{key:a,ref:_,code:C});return typeof _=="object"&&!(_ instanceof RegExp)?[_.type||"string",_.validate,(0,e._)`${A}.validate`]:["string",_,A]}function j(){if(typeof g=="object"&&!(g instanceof RegExp)&&g.async){if(!p.$async)throw new Error("async format in sync schema");return(0,e._)`await ${w}(${s})`}return typeof b=="function"?(0,e._)`${w}(${s})`:(0,e._)`${w}.test(${s})`}}}};return t0.default=t,t0}var zP;function nje(){if(zP)return e0;zP=1,Object.defineProperty(e0,"__esModule",{value:!0});const e=[rje().default];return e0.default=e,e0}var ef={},FP;function oje(){return FP||(FP=1,Object.defineProperty(ef,"__esModule",{value:!0}),ef.contentVocabulary=ef.metadataVocabulary=void 0,ef.metadataVocabulary=["title","description","default","deprecated","readOnly","writeOnly","examples"],ef.contentVocabulary=["contentMediaType","contentEncoding","contentSchema"]),ef}var VP;function sje(){if(VP)return _y;VP=1,Object.defineProperty(_y,"__esModule",{value:!0});const e=Oke(),t=zke(),r=tje(),n=nje(),o=oje(),s=[e.default,t.default,(0,r.default)(),n.default,o.metadataVocabulary,o.contentVocabulary];return _y.default=s,_y}var r0={},dm={},UP;function ije(){if(UP)return dm;UP=1,Object.defineProperty(dm,"__esModule",{value:!0}),dm.DiscrError=void 0;var e;return function(t){t.Tag="tag",t.Mapping="mapping"}(e||(dm.DiscrError=e={})),dm}var HP;function aje(){if(HP)return r0;HP=1,Object.defineProperty(r0,"__esModule",{value:!0});const e=ln(),t=ije(),r=TA(),n=ex(),o=$n(),s={keyword:"discriminator",type:"object",schemaType:"object",error:{message:({params:{discrError:i,tagName:a}})=>i===t.DiscrError.Tag?`tag "${a}" must be string`:`value of tag "${a}" must be in oneOf`,params:({params:{discrError:i,tag:a,tagName:l}})=>(0,e._)`{error: ${i}, tag: ${l}, tagValue: ${a}}`},code(i){const{gen:a,data:l,schema:c,parentSchema:u,it:d}=i,{oneOf:p}=u;if(!d.opts.discriminator)throw new Error("discriminator: requires discriminator option");const f=c.propertyName;if(typeof f!="string")throw new Error("discriminator: requires propertyName");if(c.mapping)throw new Error("discriminator: mapping is not supported");if(!p)throw new Error("discriminator: requires oneOf keyword");const m=a.let("valid",!1),v=a.const("tag",(0,e._)`${l}${(0,e.getProperty)(f)}`);a.if((0,e._)`typeof ${v} == "string"`,()=>g(),()=>i.error(!1,{discrError:t.DiscrError.Tag,tag:v,tagName:f})),i.ok(m);function g(){const w=b();a.if(!1);for(const k in w)a.elseIf((0,e._)`${v} === ${k}`),a.assign(m,y(w[k]));a.else(),i.error(!1,{discrError:t.DiscrError.Mapping,tag:v,tagName:f}),a.endIf()}function y(w){const k=a.name("valid"),x=i.subschema({keyword:"oneOf",schemaProp:w},k);return i.mergeEvaluated(x,e.Name),k}function b(){var w;const k={},x=_(u);let j=!0;for(let I=0;Ithis.addVocabulary(m)),this.opts.discriminator&&this.addKeyword(o.default)}_addDefaultMetaSchema(){if(super._addDefaultMetaSchema(),!this.opts.meta)return;const m=this.opts.$data?this.$dataMetaSchema(s,i):s;this.addMetaSchema(m,a,!1),this.refs["http://json-schema.org/schema"]=a}defaultMeta(){return this.opts.defaultMeta=super.defaultMeta()||(this.getSchema(a)?a:void 0)}}t.Ajv=l,e.exports=t=l,e.exports.Ajv=l,Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var c=Yw();Object.defineProperty(t,"KeywordCxt",{enumerable:!0,get:function(){return c.KeywordCxt}});var u=ln();Object.defineProperty(t,"_",{enumerable:!0,get:function(){return u._}}),Object.defineProperty(t,"str",{enumerable:!0,get:function(){return u.str}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return u.stringify}}),Object.defineProperty(t,"nil",{enumerable:!0,get:function(){return u.nil}}),Object.defineProperty(t,"Name",{enumerable:!0,get:function(){return u.Name}}),Object.defineProperty(t,"CodeGen",{enumerable:!0,get:function(){return u.CodeGen}});var d=$A();Object.defineProperty(t,"ValidationError",{enumerable:!0,get:function(){return d.default}});var p=ex();Object.defineProperty(t,"MissingRefError",{enumerable:!0,get:function(){return p.default}})}(qk,qk.exports)),qk.exports}mje();var GP={},JP;function gje(){return JP||(JP=1,function(e){(function(t){function r(P){return P!==null?Object.prototype.toString.call(P)==="[object Array]":!1}function n(P){return P!==null?Object.prototype.toString.call(P)==="[object Object]":!1}function o(P,G){if(P===G)return!0;var ee=Object.prototype.toString.call(P);if(ee!==Object.prototype.toString.call(G))return!1;if(r(P)===!0){if(P.length!==G.length)return!1;for(var be=0;be",9:"Array"},w="EOF",k="UnquotedIdentifier",x="QuotedIdentifier",j="Rbracket",_="Rparen",C="Comma",A="Colon",I="Rbrace",M="Number",L="Current",F="Expref",z="Pipe",N="Or",X="And",V="EQ",J="GT",oe="LT",H="GTE",B="LTE",se="NE",q="Flatten",O="Star",D="Filter",Z="Dot",Se="Not",ie="Lbrace",re="Lbracket",xe="Lparen",R="Literal",te={".":Z,"*":O,",":C,":":A,"{":ie,"}":I,"]":j,"(":xe,")":_,"@":L},ne={"<":!0,">":!0,"=":!0,"!":!0},Ce={" ":!0," ":!0,"\n":!0};function me(P){return P>="a"&&P<="z"||P>="A"&&P<="Z"||P==="_"}function ae(P){return P>="0"&&P<="9"||P==="-"}function kt(P){return P>="a"&&P<="z"||P>="A"&&P<="Z"||P>="0"&&P<="9"||P==="_"}function ft(){}ft.prototype={tokenize:function(P){var G=[];this._current=0;for(var ee,be,Me;this._current")return P[this._current]==="="?(this._current++,{type:H,value:">=",start:G}):{type:J,value:">",start:G};if(ee==="="&&P[this._current]==="=")return this._current++,{type:V,value:"==",start:G}},_consumeLiteral:function(P){this._current++;for(var G=this._current,ee=P.length,be;P[this._current]!=="`"&&this._current=0||ee.indexOf(P)>=0)return!0;if(be.indexOf(P[0])>=0)try{return JSON.parse(P),!0}catch{return!1}else return!1}};var Ue={};Ue[w]=0,Ue[k]=0,Ue[x]=0,Ue[j]=0,Ue[_]=0,Ue[C]=0,Ue[I]=0,Ue[M]=0,Ue[L]=0,Ue[F]=0,Ue[z]=1,Ue[N]=2,Ue[X]=3,Ue[V]=5,Ue[J]=5,Ue[oe]=5,Ue[H]=5,Ue[B]=5,Ue[se]=5,Ue[q]=9,Ue[O]=20,Ue[D]=21,Ue[Z]=40,Ue[Se]=45,Ue[ie]=50,Ue[re]=55,Ue[xe]=60;function gt(){}gt.prototype={parse:function(P){this._loadTokens(P),this.index=0;var G=this.expression(0);if(this._lookahead(0)!==w){var ee=this._lookaheadToken(0),be=new Error("Unexpected token type: "+ee.type+", value: "+ee.value);throw be.name="ParserError",be}return G},_loadTokens:function(P){var G=new ft,ee=G.tokenize(P);ee.push({type:w,value:"",start:P.length}),this.tokens=ee},expression:function(P){var G=this._lookaheadToken(0);this._advance();for(var ee=this.nud(G),be=this._lookahead(0);P=0)return this.expression(P);if(G===re)return this._match(re),this._parseMultiselectList();if(G===ie)return this._match(ie),this._parseMultiselectHash()},_parseProjectionRHS:function(P){var G;if(Ue[this._lookahead(0)]<10)G={type:"Identity"};else if(this._lookahead(0)===re)G=this.expression(P);else if(this._lookahead(0)===D)G=this.expression(P);else if(this._lookahead(0)===Z)this._match(Z),G=this._parseDotRHS(P);else{var ee=this._lookaheadToken(0),be=new Error("Sytanx error, unexpected token: "+ee.value+"("+ee.type+")");throw be.name="ParserError",be}return G},_parseMultiselectList:function(){for(var P=[];this._lookahead(0)!==j;){var G=this.expression(0);if(P.push(G),this._lookahead(0)===C&&(this._match(C),this._lookahead(0)===j))throw new Error("Unexpected token Rbracket")}return this._match(j),{type:"MultiSelectList",children:P}},_parseMultiselectHash:function(){for(var P=[],G=[k,x],ee,be,Me,Fe;;){if(ee=this._lookaheadToken(0),G.indexOf(ee.type)<0)throw new Error("Expecting an identifier token, got: "+ee.type);if(be=ee.value,this._advance(),this._match(A),Me=this.expression(0),Fe={type:"KeyValuePair",name:be,value:Me},P.push(Fe),this._lookahead(0)===C)this._match(C);else if(this._lookahead(0)===I){this._match(I);break}}return{type:"MultiSelectHash",children:P}}};function Ge(P){this.runtime=P}Ge.prototype={search:function(P,G){return this.visit(P,G)},visit:function(P,G){var ee,be,Me,Fe,Ze,we,pt,St,rr,Ve;switch(P.type){case"Field":return G!==null&&n(G)?(we=G[P.name],we===void 0?null:we):null;case"Subexpression":for(Me=this.visit(P.children[0],G),Ve=1;Ve0)for(Ve=Lr;VeSr;Ve+=W)Me.push(G[Ve]);return Me;case"Projection":var Ee=this.visit(P.children[0],G);if(!r(Ee))return null;for(rr=[],Ve=0;VeZe;break;case H:Me=Fe>=Ze;break;case oe:Me=Fe=P&&(G=ee<0?P-1:P),G}};function _t(P){this._interpreter=P,this.functionTable={abs:{_func:this._functionAbs,_signature:[{types:[l]}]},avg:{_func:this._functionAvg,_signature:[{types:[g]}]},ceil:{_func:this._functionCeil,_signature:[{types:[l]}]},contains:{_func:this._functionContains,_signature:[{types:[u,d]},{types:[c]}]},ends_with:{_func:this._functionEndsWith,_signature:[{types:[u]},{types:[u]}]},floor:{_func:this._functionFloor,_signature:[{types:[l]}]},length:{_func:this._functionLength,_signature:[{types:[u,d,p]}]},map:{_func:this._functionMap,_signature:[{types:[m]},{types:[d]}]},max:{_func:this._functionMax,_signature:[{types:[g,y]}]},merge:{_func:this._functionMerge,_signature:[{types:[p],variadic:!0}]},max_by:{_func:this._functionMaxBy,_signature:[{types:[d]},{types:[m]}]},sum:{_func:this._functionSum,_signature:[{types:[g]}]},starts_with:{_func:this._functionStartsWith,_signature:[{types:[u]},{types:[u]}]},min:{_func:this._functionMin,_signature:[{types:[g,y]}]},min_by:{_func:this._functionMinBy,_signature:[{types:[d]},{types:[m]}]},type:{_func:this._functionType,_signature:[{types:[c]}]},keys:{_func:this._functionKeys,_signature:[{types:[p]}]},values:{_func:this._functionValues,_signature:[{types:[p]}]},sort:{_func:this._functionSort,_signature:[{types:[y,g]}]},sort_by:{_func:this._functionSortBy,_signature:[{types:[d]},{types:[m]}]},join:{_func:this._functionJoin,_signature:[{types:[u]},{types:[y]}]},reverse:{_func:this._functionReverse,_signature:[{types:[u,d]}]},to_array:{_func:this._functionToArray,_signature:[{types:[c]}]},to_string:{_func:this._functionToString,_signature:[{types:[c]}]},to_number:{_func:this._functionToNumber,_signature:[{types:[c]}]},not_null:{_func:this._functionNotNull,_signature:[{types:[c],variadic:!0}]}}}_t.prototype={callFunction:function(P,G){var ee=this.functionTable[P];if(ee===void 0)throw new Error("Unknown function: "+P+"()");return this._validateArgs(P,G,ee._signature),ee._func.call(this,G)},_validateArgs:function(P,G,ee){var be;if(ee[ee.length-1].variadic){if(G.length=0;Me--)be+=ee[Me];return be}else{var Fe=P[0].slice(0);return Fe.reverse(),Fe}},_functionAbs:function(P){return Math.abs(P[0])},_functionCeil:function(P){return Math.ceil(P[0])},_functionAvg:function(P){for(var G=0,ee=P[0],be=0;be=0},_functionFloor:function(P){return Math.floor(P[0])},_functionLength:function(P){return n(P[0])?Object.keys(P[0]).length:P[0].length},_functionMap:function(P){for(var G=[],ee=this._interpreter,be=P[0],Me=P[1],Fe=0;Fe0){var G=this._getTypeName(P[0][0]);if(G===l)return Math.max.apply(Math,P[0]);for(var ee=P[0],be=ee[0],Me=1;Me0){var G=this._getTypeName(P[0][0]);if(G===l)return Math.min.apply(Math,P[0]);for(var ee=P[0],be=ee[0],Me=1;MeFt?1:VeMe&&(Me=Ze,Fe=ee[we]);return Fe},_functionMinBy:function(P){for(var G=P[1],ee=P[0],be=this.createKeyFunction(G,[l,u]),Me=1/0,Fe,Ze,we=0;we{if(typeof o!="object"||!o.name||!o.init)throw new Error("Invalid JSEP plugin format");this.registered[o.name]||(o.init(this.jsep),this.registered[o.name]=o)})}}class qe{static get version(){return"1.4.0"}static toString(){return"JavaScript Expression Parser (JSEP) v"+qe.version}static addUnaryOp(t){return qe.max_unop_len=Math.max(t.length,qe.max_unop_len),qe.unary_ops[t]=1,qe}static addBinaryOp(t,r,n){return qe.max_binop_len=Math.max(t.length,qe.max_binop_len),qe.binary_ops[t]=r,n?qe.right_associative.add(t):qe.right_associative.delete(t),qe}static addIdentifierChar(t){return qe.additional_identifier_chars.add(t),qe}static addLiteral(t,r){return qe.literals[t]=r,qe}static removeUnaryOp(t){return delete qe.unary_ops[t],t.length===qe.max_unop_len&&(qe.max_unop_len=qe.getMaxKeyLen(qe.unary_ops)),qe}static removeAllUnaryOps(){return qe.unary_ops={},qe.max_unop_len=0,qe}static removeIdentifierChar(t){return qe.additional_identifier_chars.delete(t),qe}static removeBinaryOp(t){return delete qe.binary_ops[t],t.length===qe.max_binop_len&&(qe.max_binop_len=qe.getMaxKeyLen(qe.binary_ops)),qe.right_associative.delete(t),qe}static removeAllBinaryOps(){return qe.binary_ops={},qe.max_binop_len=0,qe}static removeLiteral(t){return delete qe.literals[t],qe}static removeAllLiterals(){return qe.literals={},qe}get char(){return this.expr.charAt(this.index)}get code(){return this.expr.charCodeAt(this.index)}constructor(t){this.expr=t,this.index=0}static parse(t){return new qe(t).parse()}static getMaxKeyLen(t){return Math.max(0,...Object.keys(t).map(r=>r.length))}static isDecimalDigit(t){return t>=48&&t<=57}static binaryPrecedence(t){return qe.binary_ops[t]||0}static isIdentifierStart(t){return t>=65&&t<=90||t>=97&&t<=122||t>=128&&!qe.binary_ops[String.fromCharCode(t)]||qe.additional_identifier_chars.has(String.fromCharCode(t))}static isIdentifierPart(t){return qe.isIdentifierStart(t)||qe.isDecimalDigit(t)}throwError(t){const r=new Error(t+" at character "+this.index);throw r.index=this.index,r.description=t,r}runHook(t,r){if(qe.hooks[t]){const n={context:this,node:r};return qe.hooks.run(t,n),n.node}return r}searchHook(t){if(qe.hooks[t]){const r={context:this};return qe.hooks[t].find(function(n){return n.call(r.context,r),r.node}),r.node}}gobbleSpaces(){let t=this.code;for(;t===qe.SPACE_CODE||t===qe.TAB_CODE||t===qe.LF_CODE||t===qe.CR_CODE;)t=this.expr.charCodeAt(++this.index);this.runHook("gobble-spaces")}parse(){this.runHook("before-all");const t=this.gobbleExpressions(),r=t.length===1?t[0]:{type:qe.COMPOUND,body:t};return this.runHook("after-all",r)}gobbleExpressions(t){let r=[],n,o;for(;this.index0;){if(qe.binary_ops.hasOwnProperty(t)&&(!qe.isIdentifierStart(this.code)||this.index+t.lengths.right_a&&d.right_a?n>d.prec:n<=d.prec;for(;o.length>2&&u(o[o.length-2]);)a=o.pop(),r=o.pop().value,i=o.pop(),t={type:qe.BINARY_EXP,operator:r,left:i,right:a},o.push(t);t=this.gobbleToken(),t||this.throwError("Expected expression after "+c),o.push(s,t)}for(l=o.length-1,t=o[l];l>1;)t={type:qe.BINARY_EXP,operator:o[l-1].value,left:o[l-2],right:t},l-=2;return t}gobbleToken(){let t,r,n,o;if(this.gobbleSpaces(),o=this.searchHook("gobble-token"),o)return this.runHook("after-token",o);if(t=this.code,qe.isDecimalDigit(t)||t===qe.PERIOD_CODE)return this.gobbleNumericLiteral();if(t===qe.SQUOTE_CODE||t===qe.DQUOTE_CODE)o=this.gobbleStringLiteral();else if(t===qe.OBRACK_CODE)o=this.gobbleArray();else{for(r=this.expr.substr(this.index,qe.max_unop_len),n=r.length;n>0;){if(qe.unary_ops.hasOwnProperty(r)&&(!qe.isIdentifierStart(this.code)||this.index+r.length=r.length&&this.throwError("Unexpected token "+String.fromCharCode(t));break}else if(s===qe.COMMA_CODE){if(this.index++,o++,o!==r.length){if(t===qe.CPAREN_CODE)this.throwError("Unexpected token ,");else if(t===qe.CBRACK_CODE)for(let i=r.length;i":7,"<=":7,">=":7,"<<":8,">>":8,">>>":8,"+":9,"-":9,"*":10,"/":10,"%":10,"**":11},right_associative:new Set(["**"]),additional_identifier_chars:new Set(["$","_"]),literals:{true:!0,false:!1,null:null},this_str:"this"});qe.max_unop_len=qe.getMaxKeyLen(qe.unary_ops);qe.max_binop_len=qe.getMaxKeyLen(qe.binary_ops);const Gu=e=>new qe(e).parse(),wje=Object.getOwnPropertyNames(class{});Object.getOwnPropertyNames(qe).filter(e=>!wje.includes(e)&&Gu[e]===void 0).forEach(e=>{Gu[e]=qe[e]});Gu.Jsep=qe;const xje="ConditionalExpression";var kje={name:"ternary",init(e){e.hooks.add("after-expression",function(t){if(t.node&&this.code===e.QUMARK_CODE){this.index++;const r=t.node,n=this.gobbleExpression();if(n||this.throwError("Expected expression"),this.gobbleSpaces(),this.code===e.COLON_CODE){this.index++;const o=this.gobbleExpression();if(o||this.throwError("Expected expression"),t.node={type:xje,test:r,consequent:n,alternate:o},r.operator&&e.binary_ops[r.operator]<=.9){let s=r;for(;s.right.operator&&e.binary_ops[s.right.operator]<=.9;)s=s.right;t.node.test=s.right,s.right=t.node,t.node=r}}else this.throwError("Expected :")}})}};Gu.plugins.register(kje);const KP=47,jje=92;var _je={name:"regex",init(e){e.hooks.add("gobble-token",function(t){if(this.code===KP){const r=++this.index;let n=!1;for(;this.index=97&&a<=122||a>=65&&a<=90||a>=48&&a<=57)s+=this.char;else break}let i;try{i=new RegExp(o,s)}catch(a){this.throwError(a.message)}return t.node={type:e.LITERAL,value:i,raw:this.expr.slice(r-1,this.index)},t.node=this.gobbleTokenProperty(t.node),t.node}this.code===e.OBRACK_CODE?n=!0:n&&this.code===e.CBRACK_CODE&&(n=!1),this.index+=this.code===jje?2:1}this.throwError("Unclosed Regex")}})}};const Uk=43,Sje=45,pf={name:"assignment",assignmentOperators:new Set(["=","*=","**=","/=","%=","+=","-=","<<=",">>=",">>>=","&=","^=","|=","||=","&&=","??="]),updateOperators:[Uk,Sje],assignmentPrecedence:.9,init(e){const t=[e.IDENTIFIER,e.MEMBER_EXP];pf.assignmentOperators.forEach(n=>e.addBinaryOp(n,pf.assignmentPrecedence,!0)),e.hooks.add("gobble-token",function(n){const o=this.code;pf.updateOperators.some(s=>s===o&&s===this.expr.charCodeAt(this.index+1))&&(this.index+=2,n.node={type:"UpdateExpression",operator:o===Uk?"++":"--",argument:this.gobbleTokenProperty(this.gobbleIdentifier()),prefix:!0},(!n.node.argument||!t.includes(n.node.argument.type))&&this.throwError(`Unexpected ${n.node.operator}`))}),e.hooks.add("after-token",function(n){if(n.node){const o=this.code;pf.updateOperators.some(s=>s===o&&s===this.expr.charCodeAt(this.index+1))&&(t.includes(n.node.type)||this.throwError(`Unexpected ${n.node.operator}`),this.index+=2,n.node={type:"UpdateExpression",operator:o===Uk?"++":"--",argument:n.node,prefix:!1})}}),e.hooks.add("after-expression",function(n){n.node&&r(n.node)});function r(n){pf.assignmentOperators.has(n.operator)?(n.type="AssignmentExpression",r(n.left),r(n.right)):n.operator||Object.values(n).forEach(o=>{o&&typeof o=="object"&&r(o)})}}};Gu.plugins.register(_je,pf);Gu.addUnaryOp("typeof");Gu.addLiteral("null",null);Gu.addLiteral("undefined",void 0);let rS=[],eB=[];(()=>{let e="lc,34,7n,7,7b,19,,,,2,,2,,,20,b,1c,l,g,,2t,7,2,6,2,2,,4,z,,u,r,2j,b,1m,9,9,,o,4,,9,,3,,5,17,3,3b,f,,w,1j,,,,4,8,4,,3,7,a,2,t,,1m,,,,2,4,8,,9,,a,2,q,,2,2,1l,,4,2,4,2,2,3,3,,u,2,3,,b,2,1l,,4,5,,2,4,,k,2,m,6,,,1m,,,2,,4,8,,7,3,a,2,u,,1n,,,,c,,9,,14,,3,,1l,3,5,3,,4,7,2,b,2,t,,1m,,2,,2,,3,,5,2,7,2,b,2,s,2,1l,2,,,2,4,8,,9,,a,2,t,,20,,4,,2,3,,,8,,29,,2,7,c,8,2q,,2,9,b,6,22,2,r,,,,,,1j,e,,5,,2,5,b,,10,9,,2u,4,,6,,2,2,2,p,2,4,3,g,4,d,,2,2,6,,f,,jj,3,qa,3,t,3,t,2,u,2,1s,2,,7,8,,2,b,9,,19,3,3b,2,y,,3a,3,4,2,9,,6,3,63,2,2,,1m,,,7,,,,,2,8,6,a,2,,1c,h,1r,4,1c,7,,,5,,14,9,c,2,w,4,2,2,,3,1k,,,2,3,,,3,1m,8,2,2,48,3,,d,,7,4,,6,,3,2,5i,1m,,5,ek,,5f,x,2da,3,3x,,2o,w,fe,6,2x,2,n9w,4,,a,w,2,28,2,7k,,3,,4,,p,2,5,,47,2,q,i,d,,12,8,p,b,1a,3,1c,,2,4,2,2,13,,1v,6,2,2,2,2,c,,8,,1b,,1f,,,3,2,2,5,2,,,16,2,8,,6m,,2,,4,,fn4,,kh,g,g,g,a6,2,gt,,6a,,45,5,1ae,3,,2,5,4,14,3,4,,4l,2,fx,4,ar,2,49,b,4w,,1i,f,1k,3,1d,4,2,2,1x,3,10,5,,8,1q,,c,2,1g,9,a,4,2,,2n,3,2,,,2,6,,4g,,3,8,l,2,1l,2,,,,,m,,e,7,3,5,5f,8,2,3,,,n,,29,,2,6,,,2,,,2,,2,6j,,2,4,6,2,,2,r,2,2d,8,2,,,2,2y,,,,2,6,,,2t,3,2,4,,5,77,9,,2,6t,,a,2,,,4,,40,4,2,2,4,,w,a,14,6,2,4,8,,9,6,2,3,1a,d,,2,ba,7,,6,,,2a,m,2,7,,2,,2,3e,6,3,,,2,,7,,,20,2,3,,,,9n,2,f0b,5,1n,7,t4,,1r,4,29,,f5k,2,43q,,,3,4,5,8,8,2,7,u,4,44,3,1iz,1j,4,1e,8,,e,,m,5,,f,11s,7,,h,2,7,,2,,5,79,7,c5,4,15s,7,31,7,240,5,gx7k,2o,3k,6o".split(",").map(t=>t?parseInt(t,36):1);for(let t=0,r=0;t>1;if(e=eB[n])t=n+1;else return!0;if(t==r)return!1}}function QP(e){return e>=127462&&e<=127487}const ZP=8205;function Aje(e,t,r=!0,n=!0){return(r?tB:Eje)(e,t,n)}function tB(e,t,r){if(t==e.length)return t;t&&rB(e.charCodeAt(t))&&nB(e.charCodeAt(t-1))&&t--;let n=Hk(e,t);for(t+=XP(n);t=0&&QP(Hk(e,i));)s++,i-=2;if(s%2==0)break;t+=2}else break}return t}function Eje(e,t,r){for(;t>0;){let n=tB(e,t-2,r);if(n=56320&&e<57344}function nB(e){return e>=55296&&e<56320}function XP(e){return e<65536?1:2}let Ln=class oB{lineAt(t){if(t<0||t>this.length)throw new RangeError(`Invalid position ${t} in document of length ${this.length}`);return this.lineInner(t,!1,1,0)}line(t){if(t<1||t>this.lines)throw new RangeError(`Invalid line number ${t} in ${this.lines}-line document`);return this.lineInner(t,!0,1,0)}replace(t,r,n){[t,r]=lh(this,t,r);let o=[];return this.decompose(0,t,o,2),n.length&&n.decompose(0,n.length,o,3),this.decompose(r,this.length,o,1),hl.from(o,this.length-(r-t)+n.length)}append(t){return this.replace(this.length,this.length,t)}slice(t,r=this.length){[t,r]=lh(this,t,r);let n=[];return this.decompose(t,r,n,0),hl.from(n,r-t)}eq(t){if(t==this)return!0;if(t.length!=this.length||t.lines!=this.lines)return!1;let r=this.scanIdentical(t,1),n=this.length-this.scanIdentical(t,-1),o=new Qm(this),s=new Qm(t);for(let i=r,a=r;;){if(o.next(i),s.next(i),i=0,o.lineBreak!=s.lineBreak||o.done!=s.done||o.value!=s.value)return!1;if(a+=o.value.length,o.done||a>=n)return!0}}iter(t=1){return new Qm(this,t)}iterRange(t,r=this.length){return new sB(this,t,r)}iterLines(t,r){let n;if(t==null)n=this.iter();else{r==null&&(r=this.lines+1);let o=this.line(t).from;n=this.iterRange(o,Math.max(o,r==this.lines+1?this.length:r<=1?0:this.line(r-1).to))}return new iB(n)}toString(){return this.sliceString(0)}toJSON(){let t=[];return this.flatten(t),t}constructor(){}static of(t){if(t.length==0)throw new RangeError("A document must have at least one line");return t.length==1&&!t[0]?oB.empty:t.length<=32?new Go(t):hl.from(Go.split(t,[]))}};class Go extends Ln{constructor(t,r=Oje(t)){super(),this.text=t,this.length=r}get lines(){return this.text.length}get children(){return null}lineInner(t,r,n,o){for(let s=0;;s++){let i=this.text[s],a=o+i.length;if((r?n:a)>=t)return new $je(o,a,n,i);o=a+1,n++}}decompose(t,r,n,o){let s=t<=0&&r>=this.length?this:new Go(YP(this.text,t,r),Math.min(r,this.length)-Math.max(0,t));if(o&1){let i=n.pop(),a=tb(s.text,i.text.slice(),0,s.length);if(a.length<=32)n.push(new Go(a,i.length+s.length));else{let l=a.length>>1;n.push(new Go(a.slice(0,l)),new Go(a.slice(l)))}}else n.push(s)}replace(t,r,n){if(!(n instanceof Go))return super.replace(t,r,n);[t,r]=lh(this,t,r);let o=tb(this.text,tb(n.text,YP(this.text,0,t)),r),s=this.length+n.length-(r-t);return o.length<=32?new Go(o,s):hl.from(Go.split(o,[]),s)}sliceString(t,r=this.length,n=` +`){[t,r]=lh(this,t,r);let o="";for(let s=0,i=0;s<=r&&it&&i&&(o+=n),ts&&(o+=a.slice(Math.max(0,t-s),r-s)),s=l+1}return o}flatten(t){for(let r of this.text)t.push(r)}scanIdentical(){return 0}static split(t,r){let n=[],o=-1;for(let s of t)n.push(s),o+=s.length+1,n.length==32&&(r.push(new Go(n,o)),n=[],o=-1);return o>-1&&r.push(new Go(n,o)),r}}class hl extends Ln{constructor(t,r){super(),this.children=t,this.length=r,this.lines=0;for(let n of t)this.lines+=n.lines}lineInner(t,r,n,o){for(let s=0;;s++){let i=this.children[s],a=o+i.length,l=n+i.lines-1;if((r?l:a)>=t)return i.lineInner(t,r,n,o);o=a+1,n=l+1}}decompose(t,r,n,o){for(let s=0,i=0;i<=r&&s=i){let c=o&((i<=t?1:0)|(l>=r?2:0));i>=t&&l<=r&&!c?n.push(a):a.decompose(t-i,r-i,n,c)}i=l+1}}replace(t,r,n){if([t,r]=lh(this,t,r),n.lines=s&&r<=a){let l=i.replace(t-s,r-s,n),c=this.lines-i.lines+l.lines;if(l.lines>4&&l.lines>c>>6){let u=this.children.slice();return u[o]=l,new hl(u,this.length-(r-t)+n.length)}return super.replace(s,a,l)}s=a+1}return super.replace(t,r,n)}sliceString(t,r=this.length,n=` +`){[t,r]=lh(this,t,r);let o="";for(let s=0,i=0;st&&s&&(o+=n),ti&&(o+=a.sliceString(t-i,r-i,n)),i=l+1}return o}flatten(t){for(let r of this.children)r.flatten(t)}scanIdentical(t,r){if(!(t instanceof hl))return 0;let n=0,[o,s,i,a]=r>0?[0,0,this.children.length,t.children.length]:[this.children.length-1,t.children.length-1,-1,-1];for(;;o+=r,s+=r){if(o==i||s==a)return n;let l=this.children[o],c=t.children[s];if(l!=c)return n+l.scanIdentical(c,r);n+=l.length+1}}static from(t,r=t.reduce((n,o)=>n+o.length+1,-1)){let n=0;for(let f of t)n+=f.lines;if(n<32){let f=[];for(let m of t)m.flatten(f);return new Go(f,r)}let o=Math.max(32,n>>5),s=o<<1,i=o>>1,a=[],l=0,c=-1,u=[];function d(f){let m;if(f.lines>s&&f instanceof hl)for(let v of f.children)d(v);else f.lines>i&&(l>i||!l)?(p(),a.push(f)):f instanceof Go&&l&&(m=u[u.length-1])instanceof Go&&f.lines+m.lines<=32?(l+=f.lines,c+=f.length+1,u[u.length-1]=new Go(m.text.concat(f.text),m.length+1+f.length)):(l+f.lines>o&&p(),l+=f.lines,c+=f.length+1,u.push(f))}function p(){l!=0&&(a.push(u.length==1?u[0]:hl.from(u,c)),c=-1,l=u.length=0)}for(let f of t)d(f);return p(),a.length==1?a[0]:new hl(a,r)}}Ln.empty=new Go([""],0);function Oje(e){let t=-1;for(let r of e)t+=r.length+1;return t}function tb(e,t,r=0,n=1e9){for(let o=0,s=0,i=!0;s=r&&(l>n&&(a=a.slice(0,n-o)),o0?1:(t instanceof Go?t.text.length:t.children.length)<<1]}nextInner(t,r){for(this.done=this.lineBreak=!1;;){let n=this.nodes.length-1,o=this.nodes[n],s=this.offsets[n],i=s>>1,a=o instanceof Go?o.text.length:o.children.length;if(i==(r>0?a:0)){if(n==0)return this.done=!0,this.value="",this;r>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()}else if((s&1)==(r>0?0:1)){if(this.offsets[n]+=r,t==0)return this.lineBreak=!0,this.value=` +`,this;t--}else if(o instanceof Go){let l=o.text[i+(r<0?-1:0)];if(this.offsets[n]+=r,l.length>Math.max(0,t))return this.value=t==0?l:r>0?l.slice(t):l.slice(0,l.length-t),this;t-=l.length}else{let l=o.children[i+(r<0?-1:0)];t>l.length?(t-=l.length,this.offsets[n]+=r):(r<0&&this.offsets[n]--,this.nodes.push(l),this.offsets.push(r>0?1:(l instanceof Go?l.text.length:l.children.length)<<1))}}}next(t=0){return t<0&&(this.nextInner(-t,-this.dir),t=this.value.length),this.nextInner(t,this.dir)}}class sB{constructor(t,r,n){this.value="",this.done=!1,this.cursor=new Qm(t,r>n?-1:1),this.pos=r>n?t.length:0,this.from=Math.min(r,n),this.to=Math.max(r,n)}nextInner(t,r){if(r<0?this.pos<=this.from:this.pos>=this.to)return this.value="",this.done=!0,this;t+=Math.max(0,r<0?this.pos-this.to:this.from-this.pos);let n=r<0?this.pos-this.from:this.to-this.pos;t>n&&(t=n),n-=t;let{value:o}=this.cursor.next(t);return this.pos+=(o.length+t)*r,this.value=o.length<=n?o:r<0?o.slice(o.length-n):o.slice(0,n),this.done=!this.value,this}next(t=0){return t<0?t=Math.max(t,this.from-this.pos):t>0&&(t=Math.min(t,this.to-this.pos)),this.nextInner(t,this.cursor.dir)}get lineBreak(){return this.cursor.lineBreak&&this.value!=""}}class iB{constructor(t){this.inner=t,this.afterBreak=!0,this.value="",this.done=!1}next(t=0){let{done:r,lineBreak:n,value:o}=this.inner.next(t);return r&&this.afterBreak?(this.value="",this.afterBreak=!1):r?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,this.next()):(this.value=o,this.afterBreak=!1),this}get lineBreak(){return!1}}typeof Symbol<"u"&&(Ln.prototype[Symbol.iterator]=function(){return this.iter()},Qm.prototype[Symbol.iterator]=sB.prototype[Symbol.iterator]=iB.prototype[Symbol.iterator]=function(){return this});class $je{constructor(t,r,n,o){this.from=t,this.to=r,this.number=n,this.text=o}get length(){return this.to-this.from}}function lh(e,t,r){return t=Math.max(0,Math.min(e.length,t)),[t,Math.max(t,Math.min(e.length,r))]}function $s(e,t,r=!0,n=!0){return Aje(e,t,r,n)}function Tje(e){return e>=56320&&e<57344}function Pje(e){return e>=55296&&e<56320}function hi(e,t){let r=e.charCodeAt(t);if(!Pje(r)||t+1==e.length)return r;let n=e.charCodeAt(t+1);return Tje(n)?(r-55296<<10)+(n-56320)+65536:r}function IA(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function ml(e){return e<65536?1:2}const nS=/\r\n?|\n/;var ri=function(e){return e[e.Simple=0]="Simple",e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",e[e.TrackAfter=3]="TrackAfter",e}(ri||(ri={}));class xc{constructor(t){this.sections=t}get length(){let t=0;for(let r=0;rt)return s+(t-o);s+=a}else{if(n!=ri.Simple&&c>=t&&(n==ri.TrackDel&&ot||n==ri.TrackBefore&&ot))return null;if(c>t||c==t&&r<0&&!a)return t==o||r<0?s:s+l;s+=l}o=c}if(t>o)throw new RangeError(`Position ${t} is out of range for changeset of length ${o}`);return s}touchesRange(t,r=t){for(let n=0,o=0;n=0&&o<=r&&a>=t)return or?"cover":!0;o=a}return!1}toString(){let t="";for(let r=0;r=0?":"+o:"")}return t}toJSON(){return this.sections}static fromJSON(t){if(!Array.isArray(t)||t.length%2||t.some(r=>typeof r!="number"))throw new RangeError("Invalid JSON representation of ChangeDesc");return new xc(t)}static create(t){return new xc(t)}}class Yo extends xc{constructor(t,r){super(t),this.inserted=r}apply(t){if(this.length!=t.length)throw new RangeError("Applying change set to a document with the wrong length");return oS(this,(r,n,o,s,i)=>t=t.replace(o,o+(n-r),i),!1),t}mapDesc(t,r=!1){return sS(this,t,r,!0)}invert(t){let r=this.sections.slice(),n=[];for(let o=0,s=0;o=0){r[o]=a,r[o+1]=i;let l=o>>1;for(;n.length0&&wu(n,r,s.text),s.forward(u),a+=u}let c=t[i++];for(;a>1].toJSON()))}return t}static of(t,r,n){let o=[],s=[],i=0,a=null;function l(u=!1){if(!u&&!o.length)return;ip||d<0||p>r)throw new RangeError(`Invalid change range ${d} to ${p} (in doc of length ${r})`);let m=f?typeof f=="string"?Ln.of(f.split(n||nS)):f:Ln.empty,v=m.length;if(d==p&&v==0)return;di&&Ns(o,d-i,-1),Ns(o,p-d,v),wu(s,o,m),i=p}}return c(t),l(!a),a}static empty(t){return new Yo(t?[t,-1]:[],[])}static fromJSON(t){if(!Array.isArray(t))throw new RangeError("Invalid JSON representation of ChangeSet");let r=[],n=[];for(let o=0;oa&&typeof i!="string"))throw new RangeError("Invalid JSON representation of ChangeSet");if(s.length==1)r.push(s[0],0);else{for(;n.length=0&&r<=0&&r==e[o+1]?e[o]+=t:o>=0&&t==0&&e[o]==0?e[o+1]+=r:n?(e[o]+=t,e[o+1]+=r):e.push(t,r)}function wu(e,t,r){if(r.length==0)return;let n=t.length-2>>1;if(n>1])),!(r||i==e.sections.length||e.sections[i+1]<0);)a=e.sections[i++],l=e.sections[i++];t(o,c,s,u,d),o=c,s=u}}}function sS(e,t,r,n=!1){let o=[],s=n?[]:null,i=new Eg(e),a=new Eg(t);for(let l=-1;;){if(i.done&&a.len||a.done&&i.len)throw new Error("Mismatched change set lengths");if(i.ins==-1&&a.ins==-1){let c=Math.min(i.len,a.len);Ns(o,c,-1),i.forward(c),a.forward(c)}else if(a.ins>=0&&(i.ins<0||l==i.i||i.off==0&&(a.len=0&&l=0){let c=0,u=i.len;for(;u;)if(a.ins==-1){let d=Math.min(u,a.len);c+=d,u-=d,a.forward(d)}else if(a.ins==0&&a.lenl||i.ins>=0&&i.len>l)&&(a||n.length>c),s.forward2(l),i.forward(l)}}}}class Eg{constructor(t){this.set=t,this.i=0,this.next()}next(){let{sections:t}=this.set;this.i>1;return r>=t.length?Ln.empty:t[r]}textBit(t){let{inserted:r}=this.set,n=this.i-2>>1;return n>=r.length&&!t?Ln.empty:r[n].slice(this.off,t==null?void 0:this.off+t)}forward(t){t==this.len?this.next():(this.len-=t,this.off+=t)}forward2(t){this.ins==-1?this.forward(t):t==this.ins?this.next():(this.ins-=t,this.off+=t)}}class Rd{constructor(t,r,n){this.from=t,this.to=r,this.flags=n}get anchor(){return this.flags&32?this.to:this.from}get head(){return this.flags&32?this.from:this.to}get empty(){return this.from==this.to}get assoc(){return this.flags&8?-1:this.flags&16?1:0}get bidiLevel(){let t=this.flags&7;return t==7?null:t}get goalColumn(){let t=this.flags>>6;return t==16777215?void 0:t}map(t,r=-1){let n,o;return this.empty?n=o=t.mapPos(this.from,r):(n=t.mapPos(this.from,1),o=t.mapPos(this.to,-1)),n==this.from&&o==this.to?this:new Rd(n,o,this.flags)}extend(t,r=t){if(t<=this.anchor&&r>=this.anchor)return Je.range(t,r);let n=Math.abs(t-this.anchor)>Math.abs(r-this.anchor)?t:r;return Je.range(this.anchor,n)}eq(t,r=!1){return this.anchor==t.anchor&&this.head==t.head&&(!r||!this.empty||this.assoc==t.assoc)}toJSON(){return{anchor:this.anchor,head:this.head}}static fromJSON(t){if(!t||typeof t.anchor!="number"||typeof t.head!="number")throw new RangeError("Invalid JSON representation for SelectionRange");return Je.range(t.anchor,t.head)}static create(t,r,n){return new Rd(t,r,n)}}class Je{constructor(t,r){this.ranges=t,this.mainIndex=r}map(t,r=-1){return t.empty?this:Je.create(this.ranges.map(n=>n.map(t,r)),this.mainIndex)}eq(t,r=!1){if(this.ranges.length!=t.ranges.length||this.mainIndex!=t.mainIndex)return!1;for(let n=0;nt.toJSON()),main:this.mainIndex}}static fromJSON(t){if(!t||!Array.isArray(t.ranges)||typeof t.main!="number"||t.main>=t.ranges.length)throw new RangeError("Invalid JSON representation for EditorSelection");return new Je(t.ranges.map(r=>Rd.fromJSON(r)),t.main)}static single(t,r=t){return new Je([Je.range(t,r)],0)}static create(t,r=0){if(t.length==0)throw new RangeError("A selection needs at least one range");for(let n=0,o=0;ot?8:0)|s)}static normalized(t,r=0){let n=t[r];t.sort((o,s)=>o.from-s.from),r=t.indexOf(n);for(let o=1;os.head?Je.range(l,a):Je.range(a,l))}}return new Je(t,r)}}function lB(e,t){for(let r of e.ranges)if(r.to>t)throw new RangeError("Selection points outside of document")}let DA=0;class At{constructor(t,r,n,o,s){this.combine=t,this.compareInput=r,this.compare=n,this.isStatic=o,this.id=DA++,this.default=t([]),this.extensions=typeof s=="function"?s(this):s}get reader(){return this}static define(t={}){return new At(t.combine||(r=>r),t.compareInput||((r,n)=>r===n),t.compare||(t.combine?(r,n)=>r===n:MA),!!t.static,t.enables)}of(t){return new rb([],this,0,t)}compute(t,r){if(this.isStatic)throw new Error("Can't compute a static facet");return new rb(t,this,1,r)}computeN(t,r){if(this.isStatic)throw new Error("Can't compute a static facet");return new rb(t,this,2,r)}from(t,r){return r||(r=n=>n),this.compute([t],n=>r(n.field(t)))}}function MA(e,t){return e==t||e.length==t.length&&e.every((r,n)=>r===t[n])}class rb{constructor(t,r,n,o){this.dependencies=t,this.facet=r,this.type=n,this.value=o,this.id=DA++}dynamicSlot(t){var r;let n=this.value,o=this.facet.compareInput,s=this.id,i=t[s]>>1,a=this.type==2,l=!1,c=!1,u=[];for(let d of this.dependencies)d=="doc"?l=!0:d=="selection"?c=!0:!(((r=t[d.id])!==null&&r!==void 0?r:1)&1)&&u.push(t[d.id]);return{create(d){return d.values[i]=n(d),1},update(d,p){if(l&&p.docChanged||c&&(p.docChanged||p.selection)||iS(d,u)){let f=n(d);if(a?!eI(f,d.values[i],o):!o(f,d.values[i]))return d.values[i]=f,1}return 0},reconfigure:(d,p)=>{let f,m=p.config.address[s];if(m!=null){let v=r1(p,m);if(this.dependencies.every(g=>g instanceof At?p.facet(g)===d.facet(g):g instanceof js?p.field(g,!1)==d.field(g,!1):!0)||(a?eI(f=n(d),v,o):o(f=n(d),v)))return d.values[i]=v,0}else f=n(d);return d.values[i]=f,1}}}}function eI(e,t,r){if(e.length!=t.length)return!1;for(let n=0;ne[l.id]),o=r.map(l=>l.type),s=n.filter(l=>!(l&1)),i=e[t.id]>>1;function a(l){let c=[];for(let u=0;un===o),t);return t.provide&&(r.provides=t.provide(r)),r}create(t){let r=t.facet(tI).find(n=>n.field==this);return((r==null?void 0:r.create)||this.createF)(t)}slot(t){let r=t[this.id]>>1;return{create:n=>(n.values[r]=this.create(n),1),update:(n,o)=>{let s=n.values[r],i=this.updateF(s,o);return this.compareF(s,i)?0:(n.values[r]=i,1)},reconfigure:(n,o)=>o.config.address[this.id]!=null?(n.values[r]=o.field(this),0):(n.values[r]=this.create(n),1)}}init(t){return[this,tI.of({field:this,create:t})]}get extension(){return this}}const Td={lowest:4,low:3,default:2,high:1,highest:0};function pm(e){return t=>new cB(t,e)}const Dp={highest:pm(Td.highest),high:pm(Td.high),default:pm(Td.default),low:pm(Td.low),lowest:pm(Td.lowest)};class cB{constructor(t,r){this.inner=t,this.prec=r}}class dc{of(t){return new aS(this,t)}reconfigure(t){return dc.reconfigure.of({compartment:this,extension:t})}get(t){return t.config.compartments.get(this)}}class aS{constructor(t,r){this.compartment=t,this.inner=r}}class t1{constructor(t,r,n,o,s,i){for(this.base=t,this.compartments=r,this.dynamicSlots=n,this.address=o,this.staticValues=s,this.facets=i,this.statusTemplate=[];this.statusTemplate.length>1]}static resolve(t,r,n){let o=[],s=Object.create(null),i=new Map;for(let p of Dje(t,r,i))p instanceof js?o.push(p):(s[p.facet.id]||(s[p.facet.id]=[])).push(p);let a=Object.create(null),l=[],c=[];for(let p of o)a[p.id]=c.length<<1,c.push(f=>p.slot(f));let u=n==null?void 0:n.config.facets;for(let p in s){let f=s[p],m=f[0].facet,v=u&&u[p]||[];if(f.every(g=>g.type==0))if(a[m.id]=l.length<<1|1,MA(v,f))l.push(n.facet(m));else{let g=m.combine(f.map(y=>y.value));l.push(n&&m.compare(g,n.facet(m))?n.facet(m):g)}else{for(let g of f)g.type==0?(a[g.id]=l.length<<1|1,l.push(g.value)):(a[g.id]=c.length<<1,c.push(y=>g.dynamicSlot(y)));a[m.id]=c.length<<1,c.push(g=>Ije(g,m,f))}}let d=c.map(p=>p(a));return new t1(t,i,d,a,l,s)}}function Dje(e,t,r){let n=[[],[],[],[],[]],o=new Map;function s(i,a){let l=o.get(i);if(l!=null){if(l<=a)return;let c=n[l].indexOf(i);c>-1&&n[l].splice(c,1),i instanceof aS&&r.delete(i.compartment)}if(o.set(i,a),Array.isArray(i))for(let c of i)s(c,a);else if(i instanceof aS){if(r.has(i.compartment))throw new RangeError("Duplicate use of compartment in extensions");let c=t.get(i.compartment)||i.inner;r.set(i.compartment,c),s(c,a)}else if(i instanceof cB)s(i.inner,i.prec);else if(i instanceof js)n[a].push(i),i.provides&&s(i.provides,a);else if(i instanceof rb)n[a].push(i),i.facet.extensions&&s(i.facet.extensions,Td.default);else{let c=i.extension;if(!c)throw new Error(`Unrecognized extension value in extension set (${i}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`);s(c,a)}}return s(e,Td.default),n.reduce((i,a)=>i.concat(a))}function Zm(e,t){if(t&1)return 2;let r=t>>1,n=e.status[r];if(n==4)throw new Error("Cyclic dependency between fields and/or facets");if(n&2)return n;e.status[r]=4;let o=e.computeSlot(e,e.config.dynamicSlots[r]);return e.status[r]=2|o}function r1(e,t){return t&1?e.config.staticValues[t>>1]:e.values[t>>1]}const uB=At.define(),lS=At.define({combine:e=>e.some(t=>t),static:!0}),dB=At.define({combine:e=>e.length?e[0]:void 0,static:!0}),pB=At.define(),fB=At.define(),hB=At.define(),mB=At.define({combine:e=>e.length?e[0]:!1});class cd{constructor(t,r){this.type=t,this.value=r}static define(){return new Mje}}class Mje{of(t){return new cd(this,t)}}class Nje{constructor(t){this.map=t}of(t){return new Gr(this,t)}}class Gr{constructor(t,r){this.type=t,this.value=r}map(t){let r=this.type.map(this.value,t);return r===void 0?void 0:r==this.value?this:new Gr(this.type,r)}is(t){return this.type==t}static define(t={}){return new Nje(t.map||(r=>r))}static mapEffects(t,r){if(!t.length)return t;let n=[];for(let o of t){let s=o.map(r);s&&n.push(s)}return n}}Gr.reconfigure=Gr.define();Gr.appendConfig=Gr.define();class Fs{constructor(t,r,n,o,s,i){this.startState=t,this.changes=r,this.selection=n,this.effects=o,this.annotations=s,this.scrollIntoView=i,this._doc=null,this._state=null,n&&lB(n,r.newLength),s.some(a=>a.type==Fs.time)||(this.annotations=s.concat(Fs.time.of(Date.now())))}static create(t,r,n,o,s,i){return new Fs(t,r,n,o,s,i)}get newDoc(){return this._doc||(this._doc=this.changes.apply(this.startState.doc))}get newSelection(){return this.selection||this.startState.selection.map(this.changes)}get state(){return this._state||this.startState.applyTransaction(this),this._state}annotation(t){for(let r of this.annotations)if(r.type==t)return r.value}get docChanged(){return!this.changes.empty}get reconfigured(){return this.startState.config!=this.state.config}isUserEvent(t){let r=this.annotation(Fs.userEvent);return!!(r&&(r==t||r.length>t.length&&r.slice(0,t.length)==t&&r[t.length]=="."))}}Fs.time=cd.define();Fs.userEvent=cd.define();Fs.addToHistory=cd.define();Fs.remote=cd.define();function Lje(e,t){let r=[];for(let n=0,o=0;;){let s,i;if(n=e[n]))s=e[n++],i=e[n++];else if(o=0;o--){let s=n[o](e);s instanceof Fs?e=s:Array.isArray(s)&&s.length==1&&s[0]instanceof Fs?e=s[0]:e=vB(t,Bf(s),!1)}return e}function Bje(e){let t=e.startState,r=t.facet(hB),n=e;for(let o=r.length-1;o>=0;o--){let s=r[o](e);s&&Object.keys(s).length&&(n=gB(n,cS(t,s,e.changes.newLength),!0))}return n==e?e:Fs.create(t,e.changes,e.selection,n.effects,n.annotations,n.scrollIntoView)}const qje=[];function Bf(e){return e==null?qje:Array.isArray(e)?e:[e]}var To=function(e){return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e}(To||(To={}));const zje=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/;let uS;try{uS=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch{}function Fje(e){if(uS)return uS.test(e);for(let t=0;t"€"&&(r.toUpperCase()!=r.toLowerCase()||zje.test(r)))return!0}return!1}function Vje(e){return t=>{if(!/\S/.test(t))return To.Space;if(Fje(t))return To.Word;for(let r=0;r-1)return To.Word;return To.Other}}class an{constructor(t,r,n,o,s,i){this.config=t,this.doc=r,this.selection=n,this.values=o,this.status=t.statusTemplate.slice(),this.computeSlot=s,i&&(i._state=this);for(let a=0;ao.set(c,l)),r=null),o.set(a.value.compartment,a.value.extension)):a.is(Gr.reconfigure)?(r=null,n=a.value):a.is(Gr.appendConfig)&&(r=null,n=Bf(n).concat(a.value));let s;r?s=t.startState.values.slice():(r=t1.resolve(n,o,this),s=new an(r,this.doc,this.selection,r.dynamicSlots.map(()=>null),(a,l)=>l.reconfigure(a,this),null).values);let i=t.startState.facet(lS)?t.newSelection:t.newSelection.asSingle();new an(r,t.newDoc,i,s,(a,l)=>l.update(a,t),t)}replaceSelection(t){return typeof t=="string"&&(t=this.toText(t)),this.changeByRange(r=>({changes:{from:r.from,to:r.to,insert:t},range:Je.cursor(r.from+t.length)}))}changeByRange(t){let r=this.selection,n=t(r.ranges[0]),o=this.changes(n.changes),s=[n.range],i=Bf(n.effects);for(let a=1;ai.spec.fromJSON(a,l)))}}return an.create({doc:t.doc,selection:Je.fromJSON(t.selection),extensions:r.extensions?o.concat([r.extensions]):o})}static create(t={}){let r=t1.resolve(t.extensions||[],new Map),n=t.doc instanceof Ln?t.doc:Ln.of((t.doc||"").split(r.staticFacet(an.lineSeparator)||nS)),o=t.selection?t.selection instanceof Je?t.selection:Je.single(t.selection.anchor,t.selection.head):Je.single(0);return lB(o,n.length),r.staticFacet(lS)||(o=o.asSingle()),new an(r,n,o,r.dynamicSlots.map(()=>null),(s,i)=>i.create(s),null)}get tabSize(){return this.facet(an.tabSize)}get lineBreak(){return this.facet(an.lineSeparator)||` +`}get readOnly(){return this.facet(mB)}phrase(t,...r){for(let n of this.facet(an.phrases))if(Object.prototype.hasOwnProperty.call(n,t)){t=n[t];break}return r.length&&(t=t.replace(/\$(\$|\d*)/g,(n,o)=>{if(o=="$")return"$";let s=+(o||1);return!s||s>r.length?n:r[s-1]})),t}languageDataAt(t,r,n=-1){let o=[];for(let s of this.facet(uB))for(let i of s(this,r,n))Object.prototype.hasOwnProperty.call(i,t)&&o.push(i[t]);return o}charCategorizer(t){return Vje(this.languageDataAt("wordChars",t).join(""))}wordAt(t){let{text:r,from:n,length:o}=this.doc.lineAt(t),s=this.charCategorizer(t),i=t-n,a=t-n;for(;i>0;){let l=$s(r,i,!1);if(s(r.slice(l,i))!=To.Word)break;i=l}for(;ae.length?e[0]:4});an.lineSeparator=dB;an.readOnly=mB;an.phrases=At.define({compare(e,t){let r=Object.keys(e),n=Object.keys(t);return r.length==n.length&&r.every(o=>e[o]==t[o])}});an.languageData=uB;an.changeFilter=pB;an.transactionFilter=fB;an.transactionExtender=hB;dc.reconfigure=Gr.define();function ol(e,t,r={}){let n={};for(let o of e)for(let s of Object.keys(o)){let i=o[s],a=n[s];if(a===void 0)n[s]=i;else if(!(a===i||i===void 0))if(Object.hasOwnProperty.call(r,s))n[s]=r[s](a,i);else throw new Error("Config merge conflict for field "+s)}for(let o in t)n[o]===void 0&&(n[o]=t[o]);return n}class ip{eq(t){return this==t}range(t,r=t){return dS.create(t,r,this)}}ip.prototype.startSide=ip.prototype.endSide=0;ip.prototype.point=!1;ip.prototype.mapMode=ri.TrackDel;let dS=class yB{constructor(t,r,n){this.from=t,this.to=r,this.value=n}static create(t,r,n){return new yB(t,r,n)}};function pS(e,t){return e.from-t.from||e.value.startSide-t.value.startSide}class NA{constructor(t,r,n,o){this.from=t,this.to=r,this.value=n,this.maxPoint=o}get length(){return this.to[this.to.length-1]}findIndex(t,r,n,o=0){let s=n?this.to:this.from;for(let i=o,a=s.length;;){if(i==a)return i;let l=i+a>>1,c=s[l]-t||(n?this.value[l].endSide:this.value[l].startSide)-r;if(l==i)return c>=0?i:a;c>=0?a=l:i=l+1}}between(t,r,n,o){for(let s=this.findIndex(r,-1e9,!0),i=this.findIndex(n,1e9,!1,s);sf||p==f&&c.startSide>0&&c.endSide<=0)continue;(f-p||c.endSide-c.startSide)<0||(i<0&&(i=p),c.point&&(a=Math.max(a,f-p)),n.push(c),o.push(p-i),s.push(f-i))}return{mapped:n.length?new NA(o,s,n,a):null,pos:i}}}class pn{constructor(t,r,n,o){this.chunkPos=t,this.chunk=r,this.nextLayer=n,this.maxPoint=o}static create(t,r,n,o){return new pn(t,r,n,o)}get length(){let t=this.chunk.length-1;return t<0?0:Math.max(this.chunkEnd(t),this.nextLayer.length)}get size(){if(this.isEmpty)return 0;let t=this.nextLayer.size;for(let r of this.chunk)t+=r.value.length;return t}chunkEnd(t){return this.chunkPos[t]+this.chunk[t].length}update(t){let{add:r=[],sort:n=!1,filterFrom:o=0,filterTo:s=this.length}=t,i=t.filter;if(r.length==0&&!i)return this;if(n&&(r=r.slice().sort(pS)),this.isEmpty)return r.length?pn.of(r):this;let a=new bB(this,null,-1).goto(0),l=0,c=[],u=new Qa;for(;a.value||l=0){let d=r[l++];u.addInner(d.from,d.to,d.value)||c.push(d)}else a.rangeIndex==1&&a.chunkIndexthis.chunkEnd(a.chunkIndex)||sa.to||s=s&&t<=s+i.length&&i.between(s,t-s,r-s,n)===!1)return}this.nextLayer.between(t,r,n)}}iter(t=0){return Og.from([this]).goto(t)}get isEmpty(){return this.nextLayer==this}static iter(t,r=0){return Og.from(t).goto(r)}static compare(t,r,n,o,s=-1){let i=t.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=s),a=r.filter(d=>d.maxPoint>0||!d.isEmpty&&d.maxPoint>=s),l=rI(i,a,n),c=new fm(i,l,s),u=new fm(a,l,s);n.iterGaps((d,p,f)=>nI(c,d,u,p,f,o)),n.empty&&n.length==0&&nI(c,0,u,0,0,o)}static eq(t,r,n=0,o){o==null&&(o=999999999);let s=t.filter(u=>!u.isEmpty&&r.indexOf(u)<0),i=r.filter(u=>!u.isEmpty&&t.indexOf(u)<0);if(s.length!=i.length)return!1;if(!s.length)return!0;let a=rI(s,i),l=new fm(s,a,0).goto(n),c=new fm(i,a,0).goto(n);for(;;){if(l.to!=c.to||!fS(l.active,c.active)||l.point&&(!c.point||!l.point.eq(c.point)))return!1;if(l.to>o)return!0;l.next(),c.next()}}static spans(t,r,n,o,s=-1){let i=new fm(t,null,s).goto(r),a=r,l=i.openStart;for(;;){let c=Math.min(i.to,n);if(i.point){let u=i.activeForPoint(i.to),d=i.pointFroma&&(o.span(a,c,i.active,l),l=i.openEnd(c));if(i.to>n)return l+(i.point&&i.to>n?1:0);a=i.to,i.next()}}static of(t,r=!1){let n=new Qa;for(let o of t instanceof dS?[t]:r?Uje(t):t)n.add(o.from,o.to,o.value);return n.finish()}static join(t){if(!t.length)return pn.empty;let r=t[t.length-1];for(let n=t.length-2;n>=0;n--)for(let o=t[n];o!=pn.empty;o=o.nextLayer)r=new pn(o.chunkPos,o.chunk,r,Math.max(o.maxPoint,r.maxPoint));return r}}pn.empty=new pn([],[],null,-1);function Uje(e){if(e.length>1)for(let t=e[0],r=1;r0)return e.slice().sort(pS);t=n}return e}pn.empty.nextLayer=pn.empty;class Qa{finishChunk(t){this.chunks.push(new NA(this.from,this.to,this.value,this.maxPoint)),this.chunkPos.push(this.chunkStart),this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),this.maxPoint=-1,t&&(this.from=[],this.to=[],this.value=[])}constructor(){this.chunks=[],this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,this.lastTo=-1e9,this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,this.nextLayer=null}add(t,r,n){this.addInner(t,r,n)||(this.nextLayer||(this.nextLayer=new Qa)).add(t,r,n)}addInner(t,r,n){let o=t-this.lastTo||n.startSide-this.last.endSide;if(o<=0&&(t-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`");return o<0?!1:(this.from.length==250&&this.finishChunk(!0),this.chunkStart<0&&(this.chunkStart=t),this.from.push(t-this.chunkStart),this.to.push(r-this.chunkStart),this.last=n,this.lastFrom=t,this.lastTo=r,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,r-t)),!0)}addChunk(t,r){if((t-this.lastTo||r.value[0].startSide-this.last.endSide)<0)return!1;this.from.length&&this.finishChunk(!0),this.setMaxPoint=Math.max(this.setMaxPoint,r.maxPoint),this.chunks.push(r),this.chunkPos.push(t);let n=r.value.length-1;return this.last=r.value[n],this.lastFrom=r.from[n]+t,this.lastTo=r.to[n]+t,!0}finish(){return this.finishInner(pn.empty)}finishInner(t){if(this.from.length&&this.finishChunk(!1),this.chunks.length==0)return t;let r=pn.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(t):t,this.setMaxPoint);return this.from=null,r}}function rI(e,t,r){let n=new Map;for(let s of e)for(let i=0;i=this.minPoint)break}}setRangeIndex(t){if(t==this.layer.chunk[this.chunkIndex].value.length){if(this.chunkIndex++,this.skip)for(;this.chunkIndex=n&&o.push(new bB(i,r,n,s));return o.length==1?o[0]:new Og(o)}get startSide(){return this.value?this.value.startSide:0}goto(t,r=-1e9){for(let n of this.heap)n.goto(t,r);for(let n=this.heap.length>>1;n>=0;n--)Wk(this.heap,n);return this.next(),this}forward(t,r){for(let n of this.heap)n.forward(t,r);for(let n=this.heap.length>>1;n>=0;n--)Wk(this.heap,n);(this.to-t||this.value.endSide-r)<0&&this.next()}next(){if(this.heap.length==0)this.from=this.to=1e9,this.value=null,this.rank=-1;else{let t=this.heap[0];this.from=t.from,this.to=t.to,this.value=t.value,this.rank=t.rank,t.value&&t.next(),Wk(this.heap,0)}}}function Wk(e,t){for(let r=e[t];;){let n=(t<<1)+1;if(n>=e.length)break;let o=e[n];if(n+1=0&&(o=e[n+1],n++),r.compare(o)<0)break;e[n]=r,e[t]=o,t=n}}class fm{constructor(t,r,n){this.minPoint=n,this.active=[],this.activeTo=[],this.activeRank=[],this.minActive=-1,this.point=null,this.pointFrom=0,this.pointRank=0,this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=Og.from(t,r,n)}goto(t,r=-1e9){return this.cursor.goto(t,r),this.active.length=this.activeTo.length=this.activeRank.length=0,this.minActive=-1,this.to=t,this.endSide=r,this.openStart=-1,this.next(),this}forward(t,r){for(;this.minActive>-1&&(this.activeTo[this.minActive]-t||this.active[this.minActive].endSide-r)<0;)this.removeActive(this.minActive);this.cursor.forward(t,r)}removeActive(t){n0(this.active,t),n0(this.activeTo,t),n0(this.activeRank,t),this.minActive=oI(this.active,this.activeTo)}addActive(t){let r=0,{value:n,to:o,rank:s}=this.cursor;for(;r0;)r++;o0(this.active,r,n),o0(this.activeTo,r,o),o0(this.activeRank,r,s),t&&o0(t,r,this.cursor.from),this.minActive=oI(this.active,this.activeTo)}next(){let t=this.to,r=this.point;this.point=null;let n=this.openStart<0?[]:null;for(;;){let o=this.minActive;if(o>-1&&(this.activeTo[o]-this.cursor.from||this.active[o].endSide-this.cursor.startSide)<0){if(this.activeTo[o]>t){this.to=this.activeTo[o],this.endSide=this.active[o].endSide;break}this.removeActive(o),n&&n0(n,o)}else if(this.cursor.value)if(this.cursor.from>t){this.to=this.cursor.from,this.endSide=this.cursor.startSide;break}else{let s=this.cursor.value;if(!s.point)this.addActive(n),this.cursor.next();else if(r&&this.cursor.to==this.to&&this.cursor.from=0&&n[o]=0&&!(this.activeRank[n]t||this.activeTo[n]==t&&this.active[n].endSide>=this.point.endSide)&&r.push(this.active[n]);return r.reverse()}openEnd(t){let r=0;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>t;n--)r++;return r}}function nI(e,t,r,n,o,s){e.goto(t),r.goto(n);let i=n+o,a=n,l=n-t;for(;;){let c=e.to+l-r.to,u=c||e.endSide-r.endSide,d=u<0?e.to+l:r.to,p=Math.min(d,i);if(e.point||r.point?e.point&&r.point&&(e.point==r.point||e.point.eq(r.point))&&fS(e.activeForPoint(e.to),r.activeForPoint(r.to))||s.comparePoint(a,p,e.point,r.point):p>a&&!fS(e.active,r.active)&&s.compareRange(a,p,e.active,r.active),d>i)break;(c||e.openEnd!=r.openEnd)&&s.boundChange&&s.boundChange(d),a=d,u<=0&&e.next(),u>=0&&r.next()}}function fS(e,t){if(e.length!=t.length)return!1;for(let r=0;r=t;n--)e[n+1]=e[n];e[t]=r}function oI(e,t){let r=-1,n=1e9;for(let o=0;o=t)return o;if(o==e.length)break;s+=e.charCodeAt(o)==9?r-s%r:1,o=$s(e,o)}return n===!0?-1:e.length}const mS="ͼ",sI=typeof Symbol>"u"?"__"+mS:Symbol.for(mS),gS=typeof Symbol>"u"?"__styleSet"+Math.floor(Math.random()*1e8):Symbol("styleSet"),iI=typeof globalThis<"u"?globalThis:typeof window<"u"?window:{};class Ju{constructor(t,r){this.rules=[];let{finish:n}=r||{};function o(i){return/^@/.test(i)?[i]:i.split(/,\s*/)}function s(i,a,l,c){let u=[],d=/^@(\w+)\b/.exec(i[0]),p=d&&d[1]=="keyframes";if(d&&a==null)return l.push(i[0]+";");for(let f in a){let m=a[f];if(/&/.test(f))s(f.split(/,\s*/).map(v=>i.map(g=>v.replace(/&/,g))).reduce((v,g)=>v.concat(g)),m,l);else if(m&&typeof m=="object"){if(!d)throw new RangeError("The value of a property ("+f+") should be a primitive value.");s(o(f),m,u,p)}else m!=null&&u.push(f.replace(/_.*/,"").replace(/[A-Z]/g,v=>"-"+v.toLowerCase())+": "+m+";")}(u.length||p)&&l.push((n&&!d&&!c?i.map(n):i).join(", ")+" {"+u.join(" ")+"}")}for(let i in t)s(o(i),t[i],this.rules)}getRules(){return this.rules.join(` `)}static newName(){let t=iI[sI]||1;return iI[sI]=t+1,mS+t.toString(36)}static mount(t,r,n){let o=t[gS],s=n&&n.nonce;o?s&&o.setNonce(s):o=new Hje(t,s),o.mount(Array.isArray(r)?r:[r],t)}}let aI=new Map;class Hje{constructor(t,r){let n=t.ownerDocument||t,o=n.defaultView;if(!t.head&&t.adoptedStyleSheets&&o.CSSStyleSheet){let s=aI.get(n);if(s)return t[gS]=s;this.sheet=new o.CSSStyleSheet,aI.set(n,this)}else this.styleTag=n.createElement("style"),r&&this.styleTag.setAttribute("nonce",r);this.modules=[],t[gS]=this}mount(t,r){let n=this.sheet,o=0,s=0;for(let i=0;i-1&&(this.modules.splice(l,1),s--,l=-1),l==-1){if(this.modules.splice(s++,0,a),n)for(let c=0;c",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Wje=typeof navigator<"u"&&/Mac/.test(navigator.platform),Gje=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Es=0;Es<10;Es++)Ku[48+Es]=Ku[96+Es]=String(Es);for(var Es=1;Es<=24;Es++)Ku[Es+111]="F"+Es;for(var Es=65;Es<=90;Es++)Ku[Es]=String.fromCharCode(Es+32),$g[Es]=String.fromCharCode(Es);for(var Gk in Ku)$g.hasOwnProperty(Gk)||($g[Gk]=Ku[Gk]);function Jje(e){var t=Wje&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Gje&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",r=!t&&e.key||(e.shiftKey?$g:Ku)[e.keyCode]||e.key||"Unidentified";return r=="Esc"&&(r="Escape"),r=="Del"&&(r="Delete"),r=="Left"&&(r="ArrowLeft"),r=="Up"&&(r="ArrowUp"),r=="Right"&&(r="ArrowRight"),r=="Down"&&(r="ArrowDown"),r}function Tg(e){let t;return e.nodeType==11?t=e.getSelection?e:e.ownerDocument:t=e,t.getSelection()}function vS(e,t){return t?e==t||e.contains(t.nodeType!=1?t.parentNode:t):!1}function nb(e,t){if(!t.anchorNode)return!1;try{return vS(e,t.anchorNode)}catch{return!1}}function Pg(e){return e.nodeType==3?lp(e,0,e.nodeValue.length).getClientRects():e.nodeType==1?e.getClientRects():[]}function Xm(e,t,r,n){return r?lI(e,t,r,n,-1)||lI(e,t,r,n,1):!1}function ap(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t}function n1(e){return e.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function lI(e,t,r,n,o){for(;;){if(e==r&&t==n)return!0;if(t==(o<0?0:Ml(e))){if(e.nodeName=="DIV")return!1;let s=e.parentNode;if(!s||s.nodeType!=1)return!1;t=ap(e)+(o<0?0:1),e=s}else if(e.nodeType==1){if(e=e.childNodes[t+(o<0?-1:0)],e.nodeType==1&&e.contentEditable=="false")return!1;t=o<0?Ml(e):0}else return!1}}function Ml(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function tx(e,t){let r=t?e.left:e.right;return{left:r,right:r,top:e.top,bottom:e.bottom}}function Kje(e){let t=e.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function wB(e,t){let r=t.width/e.offsetWidth,n=t.height/e.offsetHeight;return(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.width-e.offsetWidth)<1)&&(r=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.height-e.offsetHeight)<1)&&(n=1),{scaleX:r,scaleY:n}}function Qje(e,t,r,n,o,s,i,a){let l=e.ownerDocument,c=l.defaultView||window;for(let u=e,d=!1;u&&!d;)if(u.nodeType==1){let p,f=u==l.body,m=1,v=1;if(f)p=Kje(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(d=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let b=u.getBoundingClientRect();({scaleX:m,scaleY:v}=wB(u,b)),p={left:b.left,right:b.left+u.clientWidth*m,top:b.top,bottom:b.top+u.clientHeight*v}}let g=0,y=0;if(o=="nearest")t.top0&&t.bottom>p.bottom+y&&(y=t.bottom-p.bottom+y+i)):t.bottom>p.bottom&&(y=t.bottom-p.bottom+i,r<0&&t.top-y0&&t.right>p.right+g&&(g=t.right-p.right+g+s)):t.right>p.right&&(g=t.right-p.right+s,r<0&&t.lefto.clientHeight&&(n=o),!r&&o.scrollWidth>o.clientWidth&&(r=o),o=o.assignedSlot||o.parentNode;else if(o.nodeType==11)o=o.host;else break;return{x:r,y:n}}class Xje{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(t){return this.anchorNode==t.anchorNode&&this.anchorOffset==t.anchorOffset&&this.focusNode==t.focusNode&&this.focusOffset==t.focusOffset}setRange(t){let{anchorNode:r,focusNode:n}=t;this.set(r,Math.min(t.anchorOffset,r?Ml(r):0),n,Math.min(t.focusOffset,n?Ml(n):0))}set(t,r,n,o){this.anchorNode=t,this.anchorOffset=r,this.focusNode=n,this.focusOffset=o}}let tf=null;function xB(e){if(e.setActive)return e.setActive();if(tf)return e.focus(tf);let t=[];for(let r=e;r&&(t.push(r,r.scrollTop,r.scrollLeft),r!=r.ownerDocument);r=r.parentNode);if(e.focus(tf==null?{get preventScroll(){return tf={preventScroll:!0},!0}}:void 0),!tf){tf=!1;for(let r=0;rMath.max(1,e.scrollHeight-e.clientHeight-4)}function _B(e,t){for(let r=e,n=t;;){if(r.nodeType==3&&n>0)return{node:r,offset:n};if(r.nodeType==1&&n>0){if(r.contentEditable=="false")return null;r=r.childNodes[n-1],n=Ml(r)}else if(r.parentNode&&!n1(r))n=ap(r),r=r.parentNode;else return null}}function SB(e,t){for(let r=e,n=t;;){if(r.nodeType==3&&nr)return d.domBoundsAround(t,r,c);if(p>=t&&o==-1&&(o=l,s=c),c>r&&d.dom.parentNode==this.dom){i=l,a=u;break}u=p,c=p+d.breakAfter}return{from:s,to:a<0?n+this.length:a,startDOM:(o?this.children[o-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:i=0?this.children[i].dom:null}}markDirty(t=!1){this.flags|=2,this.markParentsDirty(t)}markParentsDirty(t){for(let r=this.parent;r;r=r.parent){if(t&&(r.flags|=2),r.flags&1)return;r.flags|=1,t=!1}}setParent(t){this.parent!=t&&(this.parent=t,this.flags&7&&this.markParentsDirty(!0))}setDOM(t){this.dom!=t&&(this.dom&&(this.dom.cmView=null),this.dom=t,t.cmView=this)}get rootView(){for(let t=this;;){let r=t.parent;if(!r)return t;t=r}}replaceChildren(t,r,n=NA){this.markDirty();for(let o=t;othis.pos||t==this.pos&&(r>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=t-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function AB(e,t,r,n,o,s,i,a,l){let{children:c}=e,u=c.length?c[t]:null,d=s.length?s[s.length-1]:null,p=d?d.breakAfter:i;if(!(t==n&&u&&!i&&!p&&s.length<2&&u.merge(r,o,s.length?d:null,r==0,a,l))){if(n0&&(!i&&s.length&&u.merge(r,u.length,s[0],!1,a,0)?u.breakAfter=s.shift().breakAfter:(r2);var Ct={mac:fI||/Mac/.test(mi.platform),windows:/Win/.test(mi.platform),linux:/Linux|X11/.test(mi.platform),ie:rx,ie_version:OB?yS.documentMode||6:wS?+wS[1]:bS?+bS[1]:0,gecko:dI,gecko_version:dI?+(/Firefox\/(\d+)/.exec(mi.userAgent)||[0,0])[1]:0,chrome:!!Jk,chrome_version:Jk?+Jk[1]:0,ios:fI,android:/Android\b/.test(mi.userAgent),webkit:pI,safari:$B,webkit_version:pI?+(/\bAppleWebKit\/(\d+)/.exec(mi.userAgent)||[0,0])[1]:0,tabSize:yS.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const t_e=256;class Za extends ao{constructor(t){super(),this.text=t}get length(){return this.text.length}createDOM(t){this.setDOM(t||document.createTextNode(this.text))}sync(t,r){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(r&&r.node==this.dom&&(r.written=!0),this.dom.nodeValue=this.text)}reuseDOM(t){t.nodeType==3&&this.createDOM(t)}merge(t,r,n){return this.flags&8||n&&(!(n instanceof Za)||this.length-(r-t)+n.length>t_e||n.flags&8)?!1:(this.text=this.text.slice(0,t)+(n?n.text:"")+this.text.slice(r),this.markDirty(),!0)}split(t){let r=new Za(this.text.slice(t));return this.text=this.text.slice(0,t),this.markDirty(),r.flags|=this.flags&8,r}localPosFromDOM(t,r){return t==this.dom?r:r?this.text.length:0}domAtPos(t){return new Bs(this.dom,t)}domBoundsAround(t,r,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(t,r){return r_e(this.dom,t,r)}}class Nc extends ao{constructor(t,r=[],n=0){super(),this.mark=t,this.children=r,this.length=n;for(let o of r)o.setParent(this)}setAttrs(t){if(kB(t),this.mark.class&&(t.className=this.mark.class),this.mark.attrs)for(let r in this.mark.attrs)t.setAttribute(r,this.mark.attrs[r]);return t}canReuseDOM(t){return super.canReuseDOM(t)&&!((this.flags|t.flags)&8)}reuseDOM(t){t.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(t),this.flags|=6)}sync(t,r){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(t,r)}merge(t,r,n,o,s,i){return n&&(!(n instanceof Nc&&n.mark.eq(this.mark))||t&&s<=0||rt&&r.push(n=t&&(o=s),n=l,s++}let i=this.length-t;return this.length=t,o>-1&&(this.children.length=o,this.markDirty()),new Nc(this.mark,r,i)}domAtPos(t){return TB(this,t)}coordsAt(t,r){return IB(this,t,r)}}function r_e(e,t,r){let n=e.nodeValue.length;t>n&&(t=n);let o=t,s=t,i=0;t==0&&r<0||t==n&&r>=0?Ct.chrome||Ct.gecko||(t?(o--,i=1):s=0)?0:a.length-1];return Ct.safari&&!i&&l.width==0&&(l=Array.prototype.find.call(a,c=>c.width)||l),i?tx(l,i<0):l||null}class xu extends ao{static create(t,r,n){return new xu(t,r,n)}constructor(t,r,n){super(),this.widget=t,this.length=r,this.side=n,this.prevWidget=null}split(t){let r=xu.create(this.widget,this.length-t,this.side);return this.length-=t,r}sync(t){(!this.dom||!this.widget.updateDOM(this.dom,t))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(t)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(t,r,n,o,s,i){return n&&(!(n instanceof xu)||!this.widget.compare(n.widget)||t>0&&s<=0||r0)?Bs.before(this.dom):Bs.after(this.dom,t==this.length)}domBoundsAround(){return null}coordsAt(t,r){let n=this.widget.coordsAt(this.dom,t,r);if(n)return n;let o=this.dom.getClientRects(),s=null;if(!o.length)return null;let i=this.side?this.side<0:t>0;for(let a=i?o.length-1:0;s=o[a],!(t>0?a==0:a==o.length-1||s.top0?Bs.before(this.dom):Bs.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(t){return this.dom.getBoundingClientRect()}get overrideDOMText(){return Nn.empty}get isHidden(){return!0}}Za.prototype.children=xu.prototype.children=ch.prototype.children=NA;function TB(e,t){let r=e.dom,{children:n}=e,o=0;for(let s=0;os&&t0;s--){let i=n[s-1];if(i.dom.parentNode==r)return i.domAtPos(i.length)}for(let s=o;s0&&t instanceof Nc&&o.length&&(n=o[o.length-1])instanceof Nc&&n.mark.eq(t.mark)?PB(n,t.children[0],r-1):(o.push(t),t.setParent(e)),e.length+=t.length}function IB(e,t,r){let n=null,o=-1,s=null,i=-1;function a(c,u){for(let d=0,p=0;d=u&&(f.children.length?a(f,u-p):(!s||s.isHidden&&r>0)&&(m>u||p==m&&f.getSide()>0)?(s=f,i=u-p):(p-1?1:0)!=o.length-(r&&o.indexOf(r)>-1?1:0))return!1;for(let s of n)if(s!=r&&(o.indexOf(s)==-1||e[s]!==t[s]))return!1;return!0}function kS(e,t,r){let n=!1;if(t)for(let o in t)r&&o in r||(n=!0,o=="style"?e.style.cssText="":e.removeAttribute(o));if(r)for(let o in r)t&&t[o]==r[o]||(n=!0,o=="style"?e.style.cssText=r[o]:e.setAttribute(o,r[o]));return n}function o_e(e){let t=Object.create(null);for(let r=0;r0?3e8:-4e8:r>0?1e8:-1e8,new Qu(t,r,r,n,t.widget||null,!1)}static replace(t){let r=!!t.block,n,o;if(t.isBlockGap)n=-5e8,o=4e8;else{let{start:s,end:i}=DB(t,r);n=(s?r?-3e8:-1:5e8)-1,o=(i?r?2e8:1:-6e8)+1}return new Qu(t,n,o,r,t.widget||null,!0)}static line(t){return new Ev(t)}static set(t,r=!1){return pn.of(t,r)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}kr.none=pn.empty;class Av extends kr{constructor(t){let{start:r,end:n}=DB(t);super(r?-1:5e8,n?1:-6e8,null,t),this.tagName=t.tagName||"span",this.class=t.class||"",this.attrs=t.attributes||null}eq(t){var r,n;return this==t||t instanceof Av&&this.tagName==t.tagName&&(this.class||((r=this.attrs)===null||r===void 0?void 0:r.class))==(t.class||((n=t.attrs)===null||n===void 0?void 0:n.class))&&o1(this.attrs,t.attrs,"class")}range(t,r=t){if(t>=r)throw new RangeError("Mark decorations may not be empty");return super.range(t,r)}}Av.prototype.point=!1;class Ev extends kr{constructor(t){super(-2e8,-2e8,null,t)}eq(t){return t instanceof Ev&&this.spec.class==t.spec.class&&o1(this.spec.attributes,t.spec.attributes)}range(t,r=t){if(r!=t)throw new RangeError("Line decoration ranges must be zero-length");return super.range(t,r)}}Ev.prototype.mapMode=ri.TrackBefore;Ev.prototype.point=!0;class Qu extends kr{constructor(t,r,n,o,s,i){super(r,n,s,t),this.block=o,this.isReplace=i,this.mapMode=o?r<=0?ri.TrackBefore:ri.TrackAfter:ri.TrackDel}get type(){return this.startSide!=this.endSide?ii.WidgetRange:this.startSide<=0?ii.WidgetBefore:ii.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(t){return t instanceof Qu&&s_e(this.widget,t.widget)&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide}range(t,r=t){if(this.isReplace&&(t>r||t==r&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&r!=t)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(t,r)}}Qu.prototype.point=!0;function DB(e,t=!1){let{inclusiveStart:r,inclusiveEnd:n}=e;return r==null&&(r=e.inclusive),n==null&&(n=e.inclusive),{start:r??t,end:n??t}}function s_e(e,t){return e==t||!!(e&&t&&e.compare(t))}function ob(e,t,r,n=0){let o=r.length-1;o>=0&&r[o]+n>=e?r[o]=Math.max(r[o],t):r.push(e,t)}class Xo extends ao{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(t,r,n,o,s,i){if(n){if(!(n instanceof Xo))return!1;this.dom||n.transferDOM(this)}return o&&this.setDeco(n?n.attrs:null),EB(this,t,r,n?n.children.slice():[],s,i),!0}split(t){let r=new Xo;if(r.breakAfter=this.breakAfter,this.length==0)return r;let{i:n,off:o}=this.childPos(t);o&&(r.append(this.children[n].split(o),0),this.children[n].merge(o,this.children[n].length,null,!1,0,0),n++);for(let s=n;s0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=t,r}transferDOM(t){this.dom&&(this.markDirty(),t.setDOM(this.dom),t.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(t){o1(this.attrs,t)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=t)}append(t,r){PB(this,t,r)}addLineDeco(t){let r=t.spec.attributes,n=t.spec.class;r&&(this.attrs=xS(r,this.attrs||{})),n&&(this.attrs=xS({class:n},this.attrs||{}))}domAtPos(t){return TB(this,t)}reuseDOM(t){t.nodeName=="DIV"&&(this.setDOM(t),this.flags|=6)}sync(t,r){var n;this.dom?this.flags&4&&(kB(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(kS(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(t,r);let o=this.dom.lastChild;for(;o&&ao.get(o)instanceof Nc;)o=o.lastChild;if(!o||!this.length||o.nodeName!="BR"&&((n=ao.get(o))===null||n===void 0?void 0:n.isEditable)==!1&&(!Ct.ios||!this.children.some(s=>s instanceof Za))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let t=0,r;for(let n of this.children){if(!(n instanceof Za)||/[^ -~]/.test(n.text))return null;let o=Pg(n.dom);if(o.length!=1)return null;t+=o[0].width,r=o[0].height}return t?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length,textHeight:r}:null}coordsAt(t,r){let n=IB(this,t,r);if(!this.children.length&&n&&this.parent){let{heightOracle:o}=this.parent.view.viewState,s=n.bottom-n.top;if(Math.abs(s-o.lineHeight)<2&&o.textHeight=r){if(s instanceof Xo)return s;if(i>r)break}o=i+s.breakAfter}return null}}class kc extends ao{constructor(t,r,n){super(),this.widget=t,this.length=r,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(t,r,n,o,s,i){return n&&(!(n instanceof kc)||!this.widget.compare(n.widget)||t>0&&s<=0||r0}}class jS extends ud{constructor(t){super(),this.height=t}toDOM(){let t=document.createElement("div");return t.className="cm-gap",this.updateDOM(t),t}eq(t){return t.height==this.height}updateDOM(t){return t.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}class Ym{constructor(t,r,n,o){this.doc=t,this.pos=r,this.end=n,this.disallowBlockEffectsFor=o,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=t.iter(),this.skip=r}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let t=this.content[this.content.length-1];return!(t.breakAfter||t instanceof kc&&t.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new Xo),this.atCursorPos=!0),this.curLine}flushBuffer(t=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(s0(new ch(-1),t),t.length),this.pendingBuffer=0)}addBlockWidget(t){this.flushBuffer(),this.curLine=null,this.content.push(t)}finish(t){this.pendingBuffer&&t<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(t&&this.content.length&&this.content[this.content.length-1]instanceof kc)&&this.getLine()}buildText(t,r,n){for(;t>0;){if(this.textOff==this.text.length){let{value:s,lineBreak:i,done:a}=this.cursor.next(this.skip);if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(i){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,t--;continue}else this.text=s,this.textOff=0}let o=Math.min(this.text.length-this.textOff,t,512);this.flushBuffer(r.slice(r.length-n)),this.getLine().append(s0(new Za(this.text.slice(this.textOff,this.textOff+o)),r),n),this.atCursorPos=!0,this.textOff+=o,t-=o,n=0}}span(t,r,n,o){this.buildText(r-t,n,o),this.pos=r,this.openStart<0&&(this.openStart=o)}point(t,r,n,o,s,i){if(this.disallowBlockEffectsFor[i]&&n instanceof Qu){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(r>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=r-t;if(n instanceof Qu)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new kc(n.widget||uh.block,a,n));else{let l=xu.create(n.widget||uh.inline,a,a?0:n.startSide),c=this.atCursorPos&&!l.isEditable&&s<=o.length&&(t0),u=!l.isEditable&&(to.length||n.startSide<=0),d=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(o),c&&(d.append(s0(new ch(1),o),s),s=o.length+Math.max(0,s-o.length)),d.append(s0(l,o),s),this.atCursorPos=u,this.pendingBuffer=u?to.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=o.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=r),this.openStart<0&&(this.openStart=s)}static build(t,r,n,o,s){let i=new Ym(t,r,n,s);return i.openEnd=pn.spans(o,r,n,i),i.openStart<0&&(i.openStart=i.openEnd),i.finish(i.openEnd),i}}function s0(e,t){for(let r of t)e=new Nc(r,[e],e.length);return e}class uh extends ud{constructor(t){super(),this.tag=t}eq(t){return t.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(t){return t.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}uh.inline=new uh("span");uh.block=new uh("div");var Co=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(Co||(Co={}));const cp=Co.LTR,RA=Co.RTL;function MB(e){let t=[];for(let r=0;r=r){if(a.level==n)return i;(s<0||(o!=0?o<0?a.fromr:t[s].level>a.level))&&(s=i)}}if(s<0)throw new RangeError("Index out of range");return s}}function NB(e,t){if(e.length!=t.length)return!1;for(let r=0;r=0;v-=3)if(al[v+1]==-f){let g=al[v+2],y=g&2?o:g&4?g&1?s:o:0;y&&(io[d]=io[al[v]]=y),a=v;break}}else{if(al.length==189)break;al[a++]=d,al[a++]=p,al[a++]=l}else if((m=io[d])==2||m==1){let v=m==o;l=v?0:1;for(let g=a-3;g>=0;g-=3){let y=al[g+2];if(y&2)break;if(v)al[g+2]|=2;else{if(y&4)break;al[g+2]|=4}}}}}function d_e(e,t,r,n){for(let o=0,s=n;o<=r.length;o++){let i=o?r[o-1].to:e,a=ol;)m==g&&(m=r[--v].from,g=v?r[v-1].to:e),io[--m]=f;l=u}else s=c,l++}}}function SS(e,t,r,n,o,s,i){let a=n%2?2:1;if(n%2==o%2)for(let l=t,c=0;ll&&i.push(new ku(l,v.from,f));let g=v.direction==cp!=!(f%2);CS(e,g?n+1:n,o,v.inner,v.from,v.to,i),l=v.to}m=v.to}else{if(m==r||(u?io[m]!=a:io[m]==a))break;m++}p?SS(e,l,m,n+1,o,p,i):lt;){let u=!0,d=!1;if(!c||l>s[c-1].to){let v=io[l-1];v!=a&&(u=!1,d=v==16)}let p=!u&&a==1?[]:null,f=u?n:n+1,m=l;e:for(;;)if(c&&m==s[c-1].to){if(d)break e;let v=s[--c];if(!u)for(let g=v.from,y=c;;){if(g==t)break e;if(y&&s[y-1].to==g)g=s[--y].from;else{if(io[g-1]==a)break e;break}}if(p)p.push(v);else{v.toio.length;)io[io.length]=256;let n=[],o=t==cp?0:1;return CS(e,o,o,r,0,e.length,n),n}function RB(e){return[new ku(0,e,0)]}let BB="";function f_e(e,t,r,n,o){var s;let i=n.head-e.from,a=ku.find(t,i,(s=n.bidiLevel)!==null&&s!==void 0?s:-1,n.assoc),l=t[a],c=l.side(o,r);if(i==c){let p=a+=o?1:-1;if(p<0||p>=t.length)return null;l=t[a=p],i=l.side(!o,r),c=l.side(o,r)}let u=$s(e.text,i,l.forward(o,r));(ul.to)&&(u=c),BB=e.text.slice(Math.min(i,u),Math.max(i,u));let d=a==(o?t.length-1:0)?null:t[a+(o?1:-1)];return d&&u==c&&d.level+(o?0:1)e.some(t=>t)}),GB=At.define({combine:e=>e.some(t=>t)}),JB=At.define();class zf{constructor(t,r="nearest",n="nearest",o=5,s=5,i=!1){this.range=t,this.y=r,this.x=n,this.yMargin=o,this.xMargin=s,this.isSnapshot=i}map(t){return t.empty?this:new zf(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(t){return this.range.to<=t.doc.length?this:new zf(Je.cursor(t.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const i0=Gr.define({map:(e,t)=>e.map(t)}),KB=Gr.define();function oi(e,t,r){let n=e.facet(VB);n.length?n[0](t):window.onerror?window.onerror(String(t),r,void 0,void 0,t):r?console.error(r+":",t):console.error(t)}const pc=At.define({combine:e=>e.length?e[0]:!0});let m_e=0;const $m=At.define();class No{constructor(t,r,n,o,s){this.id=t,this.create=r,this.domEventHandlers=n,this.domEventObservers=o,this.extension=s(this)}static define(t,r){const{eventHandlers:n,eventObservers:o,provide:s,decorations:i}=r||{};return new No(m_e++,t,n,o,a=>{let l=[$m.of(a)];return i&&l.push(Ig.of(c=>{let u=c.plugin(a);return u?i(u):kr.none})),s&&l.push(s(a)),l})}static fromClass(t,r){return No.define(n=>new t(n),r)}}class Kk{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null}update(t){if(this.value){if(this.mustUpdate){let r=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(r)}catch(n){if(oi(r.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(t)}catch(r){oi(t.state,r,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(t){var r;if(!((r=this.value)===null||r===void 0)&&r.destroy)try{this.value.destroy()}catch(n){oi(t.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const QB=At.define(),zA=At.define(),Ig=At.define(),ZB=At.define(),FA=At.define(),XB=At.define();function mI(e,t){let r=e.state.facet(XB);if(!r.length)return r;let n=r.map(s=>s instanceof Function?s(e):s),o=[];return pn.spans(n,t.from,t.to,{point(){},span(s,i,a,l){let c=s-t.from,u=i-t.from,d=o;for(let p=a.length-1;p>=0;p--,l--){let f=a[p].spec.bidiIsolate,m;if(f==null&&(f=h_e(t.text,c,u)),l>0&&d.length&&(m=d[d.length-1]).to==c&&m.direction==f)m.to=u,d=m.inner;else{let v={from:c,to:u,direction:f,inner:[]};d.push(v),d=v.inner}}}}),o}const YB=At.define();function VA(e){let t=0,r=0,n=0,o=0;for(let s of e.state.facet(YB)){let i=s(e);i&&(i.left!=null&&(t=Math.max(t,i.left)),i.right!=null&&(r=Math.max(r,i.right)),i.top!=null&&(n=Math.max(n,i.top)),i.bottom!=null&&(o=Math.max(o,i.bottom)))}return{left:t,right:r,top:n,bottom:o}}const Tm=At.define();class pa{constructor(t,r,n,o){this.fromA=t,this.toA=r,this.fromB=n,this.toB=o}join(t){return new pa(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(t){let r=t.length,n=this;for(;r>0;r--){let o=t[r-1];if(!(o.fromA>n.toA)){if(o.toAu)break;s+=2}if(!l)return n;new pa(l.fromA,l.toA,l.fromB,l.toB).addToSet(n),i=l.toA,a=l.toB}}}class s1{constructor(t,r,n){this.view=t,this.state=r,this.transactions=n,this.flags=0,this.startState=t.state,this.changes=Yo.empty(this.startState.doc.length);for(let s of n)this.changes=this.changes.compose(s.changes);let o=[];this.changes.iterChangedRanges((s,i,a,l)=>o.push(new pa(s,i,a,l))),this.changedRanges=o}static create(t,r,n){return new s1(t,r,n)}get viewportChanged(){return(this.flags&4)>0}get viewportMoved(){return(this.flags&8)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&18)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(t=>t.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}class gI extends ao{get length(){return this.view.state.doc.length}constructor(t){super(),this.view=t,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=kr.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(t.contentDOM),this.children=[new Xo],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new pa(0,0,0,t.state.doc.length)],0,null)}update(t){var r;let n=t.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:c,toA:u})=>uthis.minWidthTo)?(this.minWidthFrom=t.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=t.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(t);let o=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((r=this.domChanged)===null||r===void 0)&&r.newSel?o=this.domChanged.newSel.head:!k_e(t.changes,this.hasComposition)&&!t.selectionSet&&(o=t.state.selection.main.head));let s=o>-1?v_e(this.view,t.changes,o):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:u}=this.hasComposition;n=new pa(c,u,t.changes.mapPos(c,-1),t.changes.mapPos(u,1)).addToSet(n.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(Ct.ie||Ct.chrome)&&!s&&t&&t.state.doc.lines!=t.startState.doc.lines&&(this.forceSelection=!0);let i=this.decorations,a=this.updateDeco(),l=w_e(i,a,t.changes);return n=pa.extendWithRanges(n,l),!(this.flags&7)&&n.length==0?!1:(this.updateInner(n,t.startState.doc.length,s),t.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(t,r,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(t,r,n);let{observer:o}=this.view;o.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let i=Ct.chrome||Ct.ios?{node:o.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,i),this.flags&=-8,i&&(i.written||o.selectionRange.focusNode!=i.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(i=>i.flags&=-9);let s=[];if(this.view.viewport.from||this.view.viewport.to=0?o[i]:null;if(!a)break;let{fromA:l,toA:c,fromB:u,toB:d}=a,p,f,m,v;if(n&&n.range.fromBu){let k=Ym.build(this.view.state.doc,u,n.range.fromB,this.decorations,this.dynamicDecorationMap),x=Ym.build(this.view.state.doc,n.range.toB,d,this.decorations,this.dynamicDecorationMap);f=k.breakAtStart,m=k.openStart,v=x.openEnd;let j=this.compositionView(n);x.breakAtStart?j.breakAfter=1:x.content.length&&j.merge(j.length,j.length,x.content[0],!1,x.openStart,0)&&(j.breakAfter=x.content[0].breakAfter,x.content.shift()),k.content.length&&j.merge(0,0,k.content[k.content.length-1],!0,0,k.openEnd)&&k.content.pop(),p=k.content.concat(j).concat(x.content)}else({content:p,breakAtStart:f,openStart:m,openEnd:v}=Ym.build(this.view.state.doc,u,d,this.decorations,this.dynamicDecorationMap));let{i:g,off:y}=s.findPos(c,1),{i:b,off:w}=s.findPos(l,-1);AB(this,b,w,g,y,p,f,m,v)}n&&this.fixCompositionDOM(n)}updateEditContextFormatting(t){this.editContextFormatting=this.editContextFormatting.map(t.changes);for(let r of t.transactions)for(let n of r.effects)n.is(KB)&&(this.editContextFormatting=n.value)}compositionView(t){let r=new Za(t.text.nodeValue);r.flags|=8;for(let{deco:o}of t.marks)r=new Nc(o,[r],r.length);let n=new Xo;return n.append(r,0),n}fixCompositionDOM(t){let r=(s,i)=>{i.flags|=8|(i.children.some(l=>l.flags&7)?1:0),this.markedForComposition.add(i);let a=ao.get(s);a&&a!=i&&(a.dom=null),i.setDOM(s)},n=this.childPos(t.range.fromB,1),o=this.children[n.i];r(t.line,o);for(let s=t.marks.length-1;s>=-1;s--)n=o.childPos(n.off,1),o=o.children[n.i],r(s>=0?t.marks[s].node:t.text,o)}updateSelection(t=!1,r=!1){(t||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,o=n==this.dom,s=!o&&!(this.view.state.facet(pc)||this.dom.tabIndex>-1)&&nb(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(o||r||s))return;let i=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,l=this.moveToLine(this.domAtPos(a.anchor)),c=a.empty?l:this.moveToLine(this.domAtPos(a.head));if(Ct.gecko&&a.empty&&!this.hasComposition&&g_e(l)){let d=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(d,l.node.childNodes[l.offset]||null)),l=c=new Bs(d,0),i=!0}let u=this.view.observer.selectionRange;(i||!u.focusNode||(!Xm(l.node,l.offset,u.anchorNode,u.anchorOffset)||!Xm(c.node,c.offset,u.focusNode,u.focusOffset))&&!this.suppressWidgetCursorChange(u,a))&&(this.view.observer.ignore(()=>{Ct.android&&Ct.chrome&&this.dom.contains(u.focusNode)&&x_e(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let d=Tg(this.view.root);if(d)if(a.empty){if(Ct.gecko){let p=y_e(l.node,l.offset);if(p&&p!=3){let f=(p==1?_B:SB)(l.node,l.offset);f&&(l=new Bs(f.node,f.offset))}}d.collapse(l.node,l.offset),a.bidiLevel!=null&&d.caretBidiLevel!==void 0&&(d.caretBidiLevel=a.bidiLevel)}else if(d.extend){d.collapse(l.node,l.offset);try{d.extend(c.node,c.offset)}catch{}}else{let p=document.createRange();a.anchor>a.head&&([l,c]=[c,l]),p.setEnd(c.node,c.offset),p.setStart(l.node,l.offset),d.removeAllRanges(),d.addRange(p)}s&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new Bs(u.anchorNode,u.anchorOffset),this.impreciseHead=c.precise?null:new Bs(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(t,r){return this.hasComposition&&r.empty&&Xm(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)&&this.posFromDOM(t.focusNode,t.focusOffset)==r.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:t}=this,r=t.state.selection.main,n=Tg(t.root),{anchorNode:o,anchorOffset:s}=t.observer.selectionRange;if(!n||!r.empty||!r.assoc||!n.modify)return;let i=Xo.find(this,r.head);if(!i)return;let a=i.posAtStart;if(r.head==a||r.head==a+i.length)return;let l=this.coordsAt(r.head,-1),c=this.coordsAt(r.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(r.head+r.assoc);n.collapse(u.node,u.offset),n.modify("move",r.assoc<0?"forward":"backward","lineboundary"),t.observer.readSelectionRange();let d=t.observer.selectionRange;t.docView.posFromDOM(d.anchorNode,d.anchorOffset)!=r.from&&n.collapse(o,s)}moveToLine(t){let r=this.dom,n;if(t.node!=r)return t;for(let o=t.offset;!n&&o=0;o--){let s=ao.get(r.childNodes[o]);s instanceof Xo&&(n=s.domAtPos(s.length))}return n?new Bs(n.node,n.offset,!0):t}nearest(t){for(let r=t;r;){let n=ao.get(r);if(n&&n.rootView==this)return n;r=r.parentNode}return null}posFromDOM(t,r){let n=this.nearest(t);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(t,r)+n.posAtStart}domAtPos(t){let{i:r,off:n}=this.childCursor().findPos(t,-1);for(;r=0;i--){let a=this.children[i],l=s-a.breakAfter,c=l-a.length;if(lt||a.covers(1))&&(!n||a instanceof Xo&&!(n instanceof Xo&&r>=0)))n=a,o=c;else if(n&&c==t&&l==t&&a instanceof kc&&Math.abs(r)<2){if(a.deco.startSide<0)break;i&&(n=null)}s=c}return n?n.coordsAt(t-o,r):null}coordsForChar(t){let{i:r,off:n}=this.childPos(t,1),o=this.children[r];if(!(o instanceof Xo))return null;for(;o.children.length;){let{i:a,off:l}=o.childPos(n,1);for(;;a++){if(a==o.children.length)return null;if((o=o.children[a]).length)break}n=l}if(!(o instanceof Za))return null;let s=$s(o.text,n);if(s==n)return null;let i=lp(o.dom,n,s).getClientRects();for(let a=0;aMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,l=this.view.textDirection==Co.LTR;for(let c=0,u=0;uo)break;if(c>=n){let f=d.dom.getBoundingClientRect();if(r.push(f.height),i){let m=d.dom.lastChild,v=m?Pg(m):[];if(v.length){let g=v[v.length-1],y=l?g.right-f.left:f.right-g.left;y>a&&(a=y,this.minWidth=s,this.minWidthFrom=c,this.minWidthTo=p)}}}c=p+d.breakAfter}return r}textDirectionAt(t){let{i:r}=this.childPos(t,1);return getComputedStyle(this.children[r].dom).direction=="rtl"?Co.RTL:Co.LTR}measureTextSize(){for(let s of this.children)if(s instanceof Xo){let i=s.measureTextSize();if(i)return i}let t=document.createElement("div"),r,n,o;return t.className="cm-line",t.style.width="99999px",t.style.position="absolute",t.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(t);let s=Pg(t.firstChild)[0];r=t.getBoundingClientRect().height,n=s?s.width/27:7,o=s?s.height:r,t.remove()}),{lineHeight:r,charWidth:n,textHeight:o}}childCursor(t=this.length){let r=this.children.length;return r&&(t-=this.children[--r].length),new CB(this.children,t,r)}computeBlockGapDeco(){let t=[],r=this.view.viewState;for(let n=0,o=0;;o++){let s=o==r.viewports.length?null:r.viewports[o],i=s?s.from-1:this.length;if(i>n){let a=(r.lineBlockAt(i).bottom-r.lineBlockAt(n).top)/this.view.scaleY;t.push(kr.replace({widget:new jS(a),block:!0,inclusive:!0,isBlockGap:!0}).range(n,i))}if(!s)break;n=s.to+1}return kr.set(t)}updateDeco(){let t=1,r=this.view.state.facet(Ig).map(s=>(this.dynamicDecorationMap[t++]=typeof s=="function")?s(this.view):s),n=!1,o=this.view.state.facet(ZB).map((s,i)=>{let a=typeof s=="function";return a&&(n=!0),a?s(this.view):s});for(o.length&&(this.dynamicDecorationMap[t++]=n,r.push(pn.join(o))),this.decorations=[this.editContextFormatting,...r,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];tr.anchor?-1:1),o;if(!n)return;!r.empty&&(o=this.coordsAt(r.anchor,r.anchor>r.head?-1:1))&&(n={left:Math.min(n.left,o.left),top:Math.min(n.top,o.top),right:Math.max(n.right,o.right),bottom:Math.max(n.bottom,o.bottom)});let s=VA(this.view),i={left:n.left-s.left,top:n.top-s.top,right:n.right+s.right,bottom:n.bottom+s.bottom},{offsetWidth:a,offsetHeight:l}=this.view.scrollDOM;Qje(this.view.scrollDOM,i,r.head{nt.from&&(r=!0)}),r}function j_e(e,t,r=1){let n=e.charCategorizer(t),o=e.doc.lineAt(t),s=t-o.from;if(o.length==0)return Je.cursor(t);s==0?r=1:s==o.length&&(r=-1);let i=s,a=s;r<0?i=$s(o.text,s,!1):a=$s(o.text,s);let l=n(o.text.slice(i,a));for(;i>0;){let c=$s(o.text,i,!1);if(n(o.text.slice(c,i))!=l)break;i=c}for(;ae?t.left-e:Math.max(0,e-t.right)}function S_e(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function Qk(e,t){return e.topt.top+1}function vI(e,t){return te.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function ES(e,t,r){let n,o,s,i,a=!1,l,c,u,d;for(let m=e.firstChild;m;m=m.nextSibling){let v=Pg(m);for(let g=0;gw||i==w&&s>b){n=m,o=y,s=b,i=w;let k=w?r0?g0)}b==0?r>y.bottom&&(!u||u.bottomy.top)&&(c=m,d=y):u&&Qk(u,y)?u=yI(u,y.bottom):d&&Qk(d,y)&&(d=vI(d,y.top))}}if(u&&u.bottom>=r?(n=l,o=u):d&&d.top<=r&&(n=c,o=d),!n)return{node:e,offset:0};let p=Math.max(o.left,Math.min(o.right,t));if(n.nodeType==3)return bI(n,p,r);if(a&&n.contentEditable!="false")return ES(n,p,r);let f=Array.prototype.indexOf.call(e.childNodes,n)+(t>=(o.left+o.right)/2?1:0);return{node:e,offset:f}}function bI(e,t,r){let n=e.nodeValue.length,o=-1,s=1e9,i=0;for(let a=0;ar?u.top-r:r-u.bottom)-1;if(u.left-1<=t&&u.right+1>=t&&d=(u.left+u.right)/2,f=p;if((Ct.chrome||Ct.gecko)&&lp(e,a).getBoundingClientRect().left==u.right&&(f=!p),d<=0)return{node:e,offset:a+(f?1:0)};o=a+(f?1:0),s=d}}}return{node:e,offset:o>-1?o:i>0?e.nodeValue.length:0}}function t9(e,t,r,n=-1){var o,s;let i=e.contentDOM.getBoundingClientRect(),a=i.top+e.viewState.paddingTop,l,{docHeight:c}=e.viewState,{x:u,y:d}=t,p=d-a;if(p<0)return 0;if(p>c)return e.state.doc.length;for(let k=e.viewState.heightOracle.textHeight/2,x=!1;l=e.elementAtHeight(p),l.type!=ii.Text;)for(;p=n>0?l.bottom+k:l.top-k,!(p>=0&&p<=c);){if(x)return r?null:0;x=!0,n=-n}d=a+p;let f=l.from;if(fe.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:r?null:wI(e,i,l,u,d);let m=e.dom.ownerDocument,v=e.root.elementFromPoint?e.root:m,g=v.elementFromPoint(u,d);g&&!e.contentDOM.contains(g)&&(g=null),g||(u=Math.max(i.left+1,Math.min(i.right-1,u)),g=v.elementFromPoint(u,d),g&&!e.contentDOM.contains(g)&&(g=null));let y,b=-1;if(g&&((o=e.docView.nearest(g))===null||o===void 0?void 0:o.isEditable)!=!1){if(m.caretPositionFromPoint){let k=m.caretPositionFromPoint(u,d);k&&({offsetNode:y,offset:b}=k)}else if(m.caretRangeFromPoint){let k=m.caretRangeFromPoint(u,d);k&&({startContainer:y,startOffset:b}=k,(!e.contentDOM.contains(y)||Ct.safari&&C_e(y,b,u)||Ct.chrome&&A_e(y,b,u))&&(y=void 0))}y&&(b=Math.min(Ml(y),b))}if(!y||!e.docView.dom.contains(y)){let k=Xo.find(e.docView,f);if(!k)return p>l.top+l.height/2?l.to:l.from;({node:y,offset:b}=ES(k.dom,u,d))}let w=e.docView.nearest(y);if(!w)return null;if(w.isWidget&&((s=w.dom)===null||s===void 0?void 0:s.nodeType)==1){let k=w.dom.getBoundingClientRect();return t.ye.defaultLineHeight*1.5){let a=e.viewState.heightOracle.textHeight,l=Math.floor((o-r.top-(e.defaultLineHeight-a)*.5)/a);s+=l*e.viewState.heightOracle.lineLength}let i=e.state.sliceDoc(r.from,r.to);return r.from+hS(i,s,e.state.tabSize)}function C_e(e,t,r){let n;if(e.nodeType!=3||t!=(n=e.nodeValue.length))return!1;for(let o=e.nextSibling;o;o=o.nextSibling)if(o.nodeType!=1||o.nodeName!="BR")return!1;return lp(e,n-1,n).getBoundingClientRect().left>r}function A_e(e,t,r){if(t!=0)return!1;for(let o=e;;){let s=o.parentNode;if(!s||s.nodeType!=1||s.firstChild!=o)return!1;if(s.classList.contains("cm-line"))break;o=s}let n=e.nodeType==1?e.getBoundingClientRect():lp(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect();return r-n.left>5}function OS(e,t){let r=e.lineBlockAt(t);if(Array.isArray(r.type)){for(let n of r.type)if(n.to>t||n.to==t&&(n.to==r.to||n.type==ii.Text))return n}return r}function E_e(e,t,r,n){let o=OS(e,t.head),s=!n||o.type!=ii.Text||!(e.lineWrapping||o.widgetLineBreaks)?null:e.coordsAtPos(t.assoc<0&&t.head>o.from?t.head-1:t.head);if(s){let i=e.dom.getBoundingClientRect(),a=e.textDirectionAt(o.from),l=e.posAtCoords({x:r==(a==Co.LTR)?i.right-1:i.left+1,y:(s.top+s.bottom)/2});if(l!=null)return Je.cursor(l,r?-1:1)}return Je.cursor(r?o.to:o.from,r?-1:1)}function xI(e,t,r,n){let o=e.state.doc.lineAt(t.head),s=e.bidiSpans(o),i=e.textDirectionAt(o.from);for(let a=t,l=null;;){let c=f_e(o,s,i,a,r),u=BB;if(!c){if(o.number==(r?e.state.doc.lines:1))return a;u=` -`,o=e.state.doc.line(o.number+(r?1:-1)),s=e.bidiSpans(o),c=e.visualLineSide(o,!r)}if(l){if(!l(u))return a}else{if(!n)return c;l=n(u)}a=c}}function O_e(e,t,r){let n=e.state.charCategorizer(t),o=n(r);return s=>{let i=n(s);return o==To.Space&&(o=i),o==i}}function $_e(e,t,r,n){let o=t.head,s=r?1:-1;if(o==(r?e.state.doc.length:0))return Je.cursor(o,t.assoc);let i=t.goalColumn,a,l=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(o,t.assoc||-1),u=e.documentTop;if(c)i==null&&(i=c.left-l.left),a=s<0?c.top:c.bottom;else{let f=e.viewState.lineBlockAt(o);i==null&&(i=Math.min(l.right-l.left,e.defaultCharacterWidth*(o-f.from))),a=(s<0?f.top:f.bottom)+u}let d=l.left+i,p=n??e.viewState.heightOracle.textHeight>>1;for(let f=0;;f+=10){let m=a+(p+f)*s,v=t9(e,{x:d,y:m},!1,s);if(ml.bottom||(s<0?vo)){let g=e.docView.coordsForChar(v),y=!g||m{if(t>s&&to(e)),r.from,t.head>r.from?-1:1);return n==r.from?r:Je.cursor(n,ns)&&this.lineBreak(),o=i}return this.findPointBefore(n,r),this}readTextNode(t){let r=t.nodeValue;for(let n of this.points)n.node==t&&(n.pos=this.text.length+Math.min(n.offset,r.length));for(let n=0,o=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,i=1,a;if(this.lineSeparator?(s=r.indexOf(this.lineSeparator,n),i=this.lineSeparator.length):(a=o.exec(r))&&(s=a.index,i=a[0].length),this.append(r.slice(n,s<0?r.length:s)),s<0)break;if(this.lineBreak(),i>1)for(let l of this.points)l.node==t&&l.pos>this.text.length&&(l.pos-=i-1);n=s+i}}readNode(t){if(t.cmIgnore)return;let r=ao.get(t),n=r&&r.overrideDOMText;if(n!=null){this.findPointInside(t,n.length);for(let o=n.iter();!o.next().done;)o.lineBreak?this.lineBreak():this.append(o.value)}else t.nodeType==3?this.readTextNode(t):t.nodeName=="BR"?t.nextSibling&&this.lineBreak():t.nodeType==1&&this.readRange(t.firstChild,null)}findPointBefore(t,r){for(let n of this.points)n.node==t&&t.childNodes[n.offset]==r&&(n.pos=this.text.length)}findPointInside(t,r){for(let n of this.points)(t.nodeType==3?n.node==t:t.contains(n.node))&&(n.pos=this.text.length+(P_e(t,n.node,n.offset)?r:0))}}function P_e(e,t,r){for(;;){if(!t||r-1;let{impreciseHead:s,impreciseAnchor:i}=t.docView;if(t.state.readOnly&&r>-1)this.newSel=null;else if(r>-1&&(this.bounds=t.docView.domBoundsAround(r,n,0))){let a=s||i?[]:L_e(t),l=new T_e(a,t.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=N_e(a,this.bounds.from)}else{let a=t.observer.selectionRange,l=s&&s.node==a.focusNode&&s.offset==a.focusOffset||!vS(t.contentDOM,a.focusNode)?t.state.selection.main.head:t.docView.posFromDOM(a.focusNode,a.focusOffset),c=i&&i.node==a.anchorNode&&i.offset==a.anchorOffset||!vS(t.contentDOM,a.anchorNode)?t.state.selection.main.anchor:t.docView.posFromDOM(a.anchorNode,a.anchorOffset),u=t.viewport;if((Ct.ios||Ct.chrome)&&t.state.selection.main.empty&&l!=c&&(u.from>0||u.toDate.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:i,to:a}=t.bounds,l=o.from,c=null;(s===8||Ct.android&&t.text.length=o.from&&r.to<=o.to&&(r.from!=o.from||r.to!=o.to)&&o.to-o.from-(r.to-r.from)<=4?r={from:o.from,to:o.to,insert:e.state.doc.slice(o.from,r.from).append(r.insert).append(e.state.doc.slice(r.to,o.to))}:Ct.chrome&&r&&r.from==r.to&&r.from==o.head&&r.insert.toString()==` - `&&e.lineWrapping&&(n&&(n=Je.single(n.main.anchor-1,n.main.head-1)),r={from:o.from,to:o.to,insert:Nn.of([" "])}),r)return UA(e,r,n,s);if(n&&!n.main.eq(o)){let i=!1,a="select";return e.inputState.lastSelectionTime>Date.now()-50&&(e.inputState.lastSelectionOrigin=="select"&&(i=!0),a=e.inputState.lastSelectionOrigin),e.dispatch({selection:n,scrollIntoView:i,userEvent:a}),!0}else return!1}function UA(e,t,r,n=-1){if(Ct.ios&&e.inputState.flushIOSKey(t))return!0;let o=e.state.selection.main;if(Ct.android&&(t.to==o.to&&(t.from==o.from||t.from==o.from-1&&e.state.sliceDoc(t.from,o.from)==" ")&&t.insert.length==1&&t.insert.lines==2&&qf(e.contentDOM,"Enter",13)||(t.from==o.from-1&&t.to==o.to&&t.insert.length==0||n==8&&t.insert.lengtho.head)&&qf(e.contentDOM,"Backspace",8)||t.from==o.from&&t.to==o.to+1&&t.insert.length==0&&qf(e.contentDOM,"Delete",46)))return!0;let s=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let i,a=()=>i||(i=D_e(e,t,r));return e.state.facet(UB).some(l=>l(e,t.from,t.to,s,a))||e.dispatch(a()),!0}function D_e(e,t,r){let n,o=e.state,s=o.selection.main;if(t.from>=s.from&&t.to<=s.to&&t.to-t.from>=(s.to-s.from)/3&&(!r||r.main.empty&&r.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let a=s.fromt.to?o.sliceDoc(t.to,s.to):"";n=o.replaceSelection(e.state.toText(a+t.insert.sliceString(0,void 0,e.state.lineBreak)+l))}else{let a=o.changes(t),l=r&&r.main.to<=a.newLength?r.main:void 0;if(o.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=s.to&&t.to>=s.to-10){let c=e.state.sliceDoc(t.from,t.to),u,d=r&&e9(e,r.main.head);if(d){let m=t.insert.length-(t.to-t.from);u={from:d.from,to:d.to-m}}else u=e.state.doc.lineAt(s.head);let p=s.to-t.to,f=s.to-s.from;n=o.changeByRange(m=>{if(m.from==s.from&&m.to==s.to)return{changes:a,range:l||m.map(a)};let v=m.to-p,g=v-c.length;if(m.to-m.from!=f||e.state.sliceDoc(g,v)!=c||m.to>=u.from&&m.from<=u.to)return{range:m};let y=o.changes({from:g,to:v,insert:t.insert}),b=m.to-s.to;return{changes:y,range:l?Je.range(Math.max(0,l.anchor+b),Math.max(0,l.head+b)):m.map(y)}})}else n={changes:a,selection:l&&o.selection.replaceRange(l)}}let i="input.type";return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,i+=".compose",e.inputState.compositionFirstChange&&(i+=".start",e.inputState.compositionFirstChange=!1)),o.update(n,{userEvent:i,scrollIntoView:!0})}function M_e(e,t,r,n){let o=Math.min(e.length,t.length),s=0;for(;s0&&a>0&&e.charCodeAt(i-1)==t.charCodeAt(a-1);)i--,a--;if(n=="end"){let l=Math.max(0,s-Math.min(i,a));r-=i+l-s}if(i=i?s-r:0;s-=l,a=s+(a-i),i=s}else if(a=a?s-r:0;s-=l,i=s+(i-a),a=s}return{from:s,toA:i,toB:a}}function L_e(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:r,anchorOffset:n,focusNode:o,focusOffset:s}=e.observer.selectionRange;return r&&(t.push(new kI(r,n)),(o!=r||s!=n)&&t.push(new kI(o,s))),t}function N_e(e,t){if(e.length==0)return null;let r=e[0].pos,n=e.length==2?e[1].pos:r;return r>-1&&n>-1?Je.single(r+t,n+t):null}class R_e{setSelectionOrigin(t){this.lastSelectionOrigin=t,this.lastSelectionTime=Date.now()}constructor(t){this.view=t,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=t.hasFocus,Ct.safari&&t.contentDOM.addEventListener("input",()=>null),Ct.gecko&&eSe(t.contentDOM.ownerDocument)}handleEvent(t){!W_e(this.view,t)||this.ignoreDuringComposition(t)||t.type=="keydown"&&this.keydown(t)||this.runHandlers(t.type,t)}runHandlers(t,r){let n=this.handlers[t];if(n){for(let o of n.observers)o(this.view,r);for(let o of n.handlers){if(r.defaultPrevented)break;if(o(this.view,r)){r.preventDefault();break}}}}ensureHandlers(t){let r=B_e(t),n=this.handlers,o=this.view.contentDOM;for(let s in r)if(s!="scroll"){let i=!r[s].handlers.length,a=n[s];a&&i!=!a.handlers.length&&(o.removeEventListener(s,this.handleEvent),a=null),a||o.addEventListener(s,this.handleEvent,{passive:i})}for(let s in n)s!="scroll"&&!r[s]&&o.removeEventListener(s,this.handleEvent);this.handlers=r}keydown(t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&t.keyCode!=27&&o9.indexOf(t.keyCode)<0&&(this.tabFocusMode=-1),Ct.android&&Ct.chrome&&!t.synthetic&&(t.keyCode==13||t.keyCode==8))return this.view.observer.delayAndroidKey(t.key,t.keyCode),!0;let r;return Ct.ios&&!t.synthetic&&!t.altKey&&!t.metaKey&&((r=n9.find(n=>n.keyCode==t.keyCode))&&!t.ctrlKey||q_e.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=r||t,setTimeout(()=>this.flushIOSKey(),250),!0):(t.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(t){let r=this.pendingIOSKey;return!r||r.key=="Enter"&&t&&t.from0?!0:Ct.safari&&!Ct.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(t){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=t}update(t){this.view.observer.update(t),this.mouseSelection&&this.mouseSelection.update(t),this.draggedContent&&t.docChanged&&(this.draggedContent=this.draggedContent.map(t.changes)),t.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function jI(e,t){return(r,n)=>{try{return t.call(e,n,r)}catch(o){oi(r.state,o)}}}function B_e(e){let t=Object.create(null);function r(n){return t[n]||(t[n]={observers:[],handlers:[]})}for(let n of e){let o=n.spec;if(o&&o.domEventHandlers)for(let s in o.domEventHandlers){let i=o.domEventHandlers[s];i&&r(s).handlers.push(jI(n.value,i))}if(o&&o.domEventObservers)for(let s in o.domEventObservers){let i=o.domEventObservers[s];i&&r(s).observers.push(jI(n.value,i))}}for(let n in Xa)r(n).handlers.push(Xa[n]);for(let n in ga)r(n).observers.push(ga[n]);return t}const n9=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],q_e="dthko",o9=[16,17,18,20,91,92,224,225],a0=6;function l0(e){return Math.max(0,e)*.7+8}function z_e(e,t){return Math.max(Math.abs(e.clientX-t.clientX),Math.abs(e.clientY-t.clientY))}class F_e{constructor(t,r,n,o){this.view=t,this.startEvent=r,this.style=n,this.mustSelect=o,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=r,this.scrollParents=Zje(t.contentDOM),this.atoms=t.state.facet(FA).map(i=>i(t));let s=t.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=r.shiftKey,this.multiple=t.state.facet(an.allowMultipleSelections)&&V_e(t,r),this.dragging=H_e(t,r)&&a9(r)==1?null:!1}start(t){this.dragging===!1&&this.select(t)}move(t){if(t.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&z_e(this.startEvent,t)<10)return;this.select(this.lastEvent=t);let r=0,n=0,o=0,s=0,i=this.view.win.innerWidth,a=this.view.win.innerHeight;this.scrollParents.x&&({left:o,right:i}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:s,bottom:a}=this.scrollParents.y.getBoundingClientRect());let l=VA(this.view);t.clientX-l.left<=o+a0?r=-l0(o-t.clientX):t.clientX+l.right>=i-a0&&(r=l0(t.clientX-i)),t.clientY-l.top<=s+a0?n=-l0(s-t.clientY):t.clientY+l.bottom>=a-a0&&(n=l0(t.clientY-a)),this.setScrollSpeed(r,n)}up(t){this.dragging==null&&this.select(this.lastEvent),this.dragging||t.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let t=this.view.contentDOM.ownerDocument;t.removeEventListener("mousemove",this.move),t.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(t,r){this.scrollSpeed={x:t,y:r},t||r?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:t,y:r}=this.scrollSpeed;t&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=t,t=0),r&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=r,r=0),(t||r)&&this.view.win.scrollBy(t,r),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(t){let r=null;for(let n=0;nr.isUserEvent("input.type"))?this.destroy():this.style.update(t)&&setTimeout(()=>this.select(this.lastEvent),20)}}function V_e(e,t){let r=e.state.facet(qB);return r.length?r[0](t):Ct.mac?t.metaKey:t.ctrlKey}function U_e(e,t){let r=e.state.facet(zB);return r.length?r[0](t):Ct.mac?!t.altKey:!t.ctrlKey}function H_e(e,t){let{main:r}=e.state.selection;if(r.empty)return!1;let n=Tg(e.root);if(!n||n.rangeCount==0)return!0;let o=n.getRangeAt(0).getClientRects();for(let s=0;s=t.clientX&&i.top<=t.clientY&&i.bottom>=t.clientY)return!0}return!1}function W_e(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let r=t.target,n;r!=e.contentDOM;r=r.parentNode)if(!r||r.nodeType==11||(n=ao.get(r))&&n.ignoreEvent(t))return!1;return!0}const Xa=Object.create(null),ga=Object.create(null),s9=Ct.ie&&Ct.ie_version<15||Ct.ios&&Ct.webkit_version<604;function G_e(e){let t=e.dom.parentNode;if(!t)return;let r=t.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus(),setTimeout(()=>{e.focus(),r.remove(),i9(e,r.value)},50)}function nx(e,t,r){for(let n of e.facet(t))r=n(r,e);return r}function i9(e,t){t=nx(e.state,BA,t);let{state:r}=e,n,o=1,s=r.toText(t),i=s.lines==r.selection.ranges.length;if($S!=null&&r.selection.ranges.every(a=>a.empty)&&$S==s.toString()){let a=-1;n=r.changeByRange(l=>{let c=r.doc.lineAt(l.from);if(c.from==a)return{range:l};a=c.from;let u=r.toText((i?s.line(o++).text:t)+r.lineBreak);return{changes:{from:c.from,insert:u},range:Je.cursor(l.from+u.length)}})}else i?n=r.changeByRange(a=>{let l=s.line(o++);return{changes:{from:a.from,to:a.to,insert:l.text},range:Je.cursor(a.from+l.length)}}):n=r.replaceSelection(s);e.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}ga.scroll=e=>{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft};Xa.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),t.keyCode==27&&e.inputState.tabFocusMode!=0&&(e.inputState.tabFocusMode=Date.now()+2e3),!1);ga.touchstart=(e,t)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")};ga.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")};Xa.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let r=null;for(let n of e.state.facet(FB))if(r=n(e,t),r)break;if(!r&&t.button==0&&(r=Q_e(e,t)),r){let n=!e.hasFocus;e.inputState.startMouseSelection(new F_e(e,t,r,n)),n&&e.observer.ignore(()=>{xB(e.contentDOM);let s=e.root.activeElement;s&&!s.contains(e.contentDOM)&&s.blur()});let o=e.inputState.mouseSelection;if(o)return o.start(t),o.dragging===!1}return!1};function _I(e,t,r,n){if(n==1)return Je.cursor(t,r);if(n==2)return j_e(e.state,t,r);{let o=Xo.find(e.docView,t),s=e.state.doc.lineAt(o?o.posAtEnd:t),i=o?o.posAtStart:s.from,a=o?o.posAtEnd:s.to;return at>=r.top&&t<=r.bottom&&e>=r.left&&e<=r.right;function J_e(e,t,r,n){let o=Xo.find(e.docView,t);if(!o)return 1;let s=t-o.posAtStart;if(s==0)return 1;if(s==o.length)return-1;let i=o.coordsAt(s,-1);if(i&&SI(r,n,i))return-1;let a=o.coordsAt(s,1);return a&&SI(r,n,a)?1:i&&i.bottom>=n?-1:1}function CI(e,t){let r=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:r,bias:J_e(e,r,t.clientX,t.clientY)}}const K_e=Ct.ie&&Ct.ie_version<=11;let AI=null,EI=0,OI=0;function a9(e){if(!K_e)return e.detail;let t=AI,r=OI;return AI=e,OI=Date.now(),EI=!t||r>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(EI+1)%3:1}function Q_e(e,t){let r=CI(e,t),n=a9(t),o=e.state.selection;return{update(s){s.docChanged&&(r.pos=s.changes.mapPos(r.pos),o=o.map(s.changes))},get(s,i,a){let l=CI(e,s),c,u=_I(e,l.pos,l.bias,n);if(r.pos!=l.pos&&!i){let d=_I(e,r.pos,r.bias,n),p=Math.min(d.from,u.from),f=Math.max(d.to,u.to);u=p1&&(c=Z_e(o,l.pos))?c:a?o.addRange(u):Je.create([u])}}}function Z_e(e,t){for(let r=0;r=t)return Je.create(e.ranges.slice(0,r).concat(e.ranges.slice(r+1)),e.mainIndex==r?0:e.mainIndex-(e.mainIndex>r?1:0))}return null}Xa.dragstart=(e,t)=>{let{selection:{main:r}}=e.state;if(t.target.draggable){let o=e.docView.nearest(t.target);if(o&&o.isWidget){let s=o.posAtStart,i=s+o.length;(s>=r.to||i<=r.from)&&(r=Je.range(s,i))}}let{inputState:n}=e;return n.mouseSelection&&(n.mouseSelection.dragging=!0),n.draggedContent=r,t.dataTransfer&&(t.dataTransfer.setData("Text",nx(e.state,qA,e.state.sliceDoc(r.from,r.to))),t.dataTransfer.effectAllowed="copyMove"),!1};Xa.dragend=e=>(e.inputState.draggedContent=null,!1);function $I(e,t,r,n){if(r=nx(e.state,BA,r),!r)return;let o=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:s}=e.inputState,i=n&&s&&U_e(e,t)?{from:s.from,to:s.to}:null,a={from:o,insert:r},l=e.state.changes(i?[i,a]:a);e.focus(),e.dispatch({changes:l,selection:{anchor:l.mapPos(o,-1),head:l.mapPos(o,1)},userEvent:i?"move.drop":"input.drop"}),e.inputState.draggedContent=null}Xa.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let r=t.dataTransfer.files;if(r&&r.length){let n=Array(r.length),o=0,s=()=>{++o==r.length&&$I(e,t,n.filter(i=>i!=null).join(e.state.lineBreak),!1)};for(let i=0;i{/[\x00-\x08\x0e-\x1f]{2}/.test(a.result)||(n[i]=a.result),s()},a.readAsText(r[i])}return!0}else{let n=t.dataTransfer.getData("Text");if(n)return $I(e,t,n,!0),!0}return!1};Xa.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let r=s9?null:t.clipboardData;return r?(i9(e,r.getData("text/plain")||r.getData("text/uri-list")),!0):(G_e(e),!1)};function X_e(e,t){let r=e.dom.parentNode;if(!r)return;let n=r.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=t,n.focus(),n.selectionEnd=t.length,n.selectionStart=0,setTimeout(()=>{n.remove(),e.focus()},50)}function Y_e(e){let t=[],r=[],n=!1;for(let o of e.selection.ranges)o.empty||(t.push(e.sliceDoc(o.from,o.to)),r.push(o));if(!t.length){let o=-1;for(let{from:s}of e.selection.ranges){let i=e.doc.lineAt(s);i.number>o&&(t.push(i.text),r.push({from:i.from,to:Math.min(e.doc.length,i.to+1)})),o=i.number}n=!0}return{text:nx(e,qA,t.join(e.lineBreak)),ranges:r,linewise:n}}let $S=null;Xa.copy=Xa.cut=(e,t)=>{let{text:r,ranges:n,linewise:o}=Y_e(e.state);if(!r&&!o)return!1;$S=o?r:null,t.type=="cut"&&!e.state.readOnly&&e.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let s=s9?null:t.clipboardData;return s?(s.clearData(),s.setData("text/plain",r),!0):(X_e(e,r),!1)};const l9=cd.define();function c9(e,t){let r=[];for(let n of e.facet(HB)){let o=n(e,t);o&&r.push(o)}return r?e.update({effects:r,annotations:l9.of(!0)}):null}function u9(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let r=c9(e.state,t);r?e.dispatch(r):e.update([])}},10)}ga.focus=e=>{e.inputState.lastFocusTime=Date.now(),!e.scrollDOM.scrollTop&&(e.inputState.lastScrollTop||e.inputState.lastScrollLeft)&&(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),u9(e)};ga.blur=e=>{e.observer.clearSelectionRange(),u9(e)};ga.compositionstart=ga.compositionupdate=e=>{e.observer.editContext||(e.inputState.compositionFirstChange==null&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))};ga.compositionend=e=>{e.observer.editContext||(e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,Ct.chrome&&Ct.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))};ga.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()};Xa.beforeinput=(e,t)=>{var r,n;if(t.inputType=="insertReplacementText"&&e.observer.editContext){let s=(r=t.dataTransfer)===null||r===void 0?void 0:r.getData("text/plain"),i=t.getTargetRanges();if(s&&i.length){let a=i[0],l=e.posAtDOM(a.startContainer,a.startOffset),c=e.posAtDOM(a.endContainer,a.endOffset);return UA(e,{from:l,to:c,insert:e.state.toText(s)},null),!0}}let o;if(Ct.chrome&&Ct.android&&(o=n9.find(s=>s.inputType==t.inputType))&&(e.observer.delayAndroidKey(o.key,o.keyCode),o.key=="Backspace"||o.key=="Delete")){let s=((n=window.visualViewport)===null||n===void 0?void 0:n.height)||0;setTimeout(()=>{var i;(((i=window.visualViewport)===null||i===void 0?void 0:i.height)||0)>s+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}return Ct.ios&&t.inputType=="deleteContentForward"&&e.observer.flushSoon(),Ct.safari&&t.inputType=="insertText"&&e.inputState.composing>=0&&setTimeout(()=>ga.compositionend(e,t),20),!1};const TI=new Set;function eSe(e){TI.has(e)||(TI.add(e),e.addEventListener("copy",()=>{}),e.addEventListener("cut",()=>{}))}const PI=["pre-wrap","normal","pre-line","break-spaces"];let dh=!1;function II(){dh=!1}class tSe{constructor(t){this.lineWrapping=t,this.doc=Nn.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(t,r){let n=this.doc.lineAt(r).number-this.doc.lineAt(t).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((r-t-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(t){return this.lineWrapping?(1+Math.max(0,Math.ceil((t-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(t){return this.doc=t,this}mustRefreshForWrapping(t){return PI.indexOf(t)>-1!=this.lineWrapping}mustRefreshForHeights(t){let r=!1;for(let n=0;n-1,l=Math.round(r)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=r,this.charWidth=n,this.textHeight=o,this.lineLength=s,l){this.heightSamples={};for(let c=0;c0}set outdated(t){this.flags=(t?2:0)|this.flags&-3}setHeight(t){this.height!=t&&(Math.abs(this.height-t)>ib&&(dh=!0),this.height=t)}replace(t,r,n){return ai.of(n)}decomposeLeft(t,r){r.push(this)}decomposeRight(t,r){r.push(this)}applyChanges(t,r,n,o){let s=this,i=n.doc;for(let a=o.length-1;a>=0;a--){let{fromA:l,toA:c,fromB:u,toB:d}=o[a],p=s.lineAt(l,So.ByPosNoHeight,n.setDoc(r),0,0),f=p.to>=c?p:s.lineAt(c,So.ByPosNoHeight,n,0,0);for(d+=f.to-c,c=f.to;a>0&&p.from<=o[a-1].toA;)l=o[a-1].fromA,u=o[a-1].fromB,a--,ls*2){let a=t[r-1];a.break?t.splice(--r,1,a.left,null,a.right):t.splice(--r,1,a.left,a.right),n+=1+a.break,o-=a.size}else if(s>o*2){let a=t[n];a.break?t.splice(n,1,a.left,null,a.right):t.splice(n,1,a.left,a.right),n+=2+a.break,s-=a.size}else break;else if(o=s&&i(this.blockAt(0,n,o,s))}updateHeight(t,r=0,n=!1,o){return o&&o.from<=r&&o.more&&this.setHeight(o.heights[o.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Di extends d9{constructor(t,r){super(t,r,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(t,r,n,o){return new gl(o,this.length,n,this.height,this.breaks)}replace(t,r,n){let o=n[0];return n.length==1&&(o instanceof Di||o instanceof As&&o.flags&4)&&Math.abs(this.length-o.length)<10?(o instanceof As?o=new Di(o.length,this.height):o.height=this.height,this.outdated||(o.outdated=!1),o):ai.of(n)}updateHeight(t,r=0,n=!1,o){return o&&o.from<=r&&o.more?this.setHeight(o.heights[o.index++]):(n||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,t.heightForLine(this.length-this.collapsed))+this.breaks*t.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class As extends ai{constructor(t){super(t,0)}heightMetrics(t,r){let n=t.doc.lineAt(r).number,o=t.doc.lineAt(r+this.length).number,s=o-n+1,i,a=0;if(t.lineWrapping){let l=Math.min(this.height,t.lineHeight*s);i=l/s,this.length>s+1&&(a=(this.height-l)/(this.length-s-1))}else i=this.height/s;return{firstLine:n,lastLine:o,perLine:i,perChar:a}}blockAt(t,r,n,o){let{firstLine:s,lastLine:i,perLine:a,perChar:l}=this.heightMetrics(r,o);if(r.lineWrapping){let c=o+(t0){let s=n[n.length-1];s instanceof As?n[n.length-1]=new As(s.length+o):n.push(null,new As(o-1))}if(t>0){let s=n[0];s instanceof As?n[0]=new As(t+s.length):n.unshift(new As(t-1),null)}return ai.of(n)}decomposeLeft(t,r){r.push(new As(t-1),null)}decomposeRight(t,r){r.push(null,new As(this.length-t-1))}updateHeight(t,r=0,n=!1,o){let s=r+this.length;if(o&&o.from<=r+this.length&&o.more){let i=[],a=Math.max(r,o.from),l=-1;for(o.from>r&&i.push(new As(o.from-r-1).updateHeight(t,r));a<=s&&o.more;){let u=t.doc.lineAt(a).length;i.length&&i.push(null);let d=o.heights[o.index++];l==-1?l=d:Math.abs(d-l)>=ib&&(l=-2);let p=new Di(u,d);p.outdated=!1,i.push(p),a+=u+1}a<=s&&i.push(null,new As(s-a).updateHeight(t,a));let c=ai.of(i);return(l<0||Math.abs(c.height-this.height)>=ib||Math.abs(l-this.heightMetrics(t,r).perLine)>=ib)&&(dh=!0),i1(this,c)}else(n||this.outdated)&&(this.setHeight(t.heightForGap(r,r+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class nSe extends ai{constructor(t,r,n){super(t.length+r+n.length,t.height+n.height,r|(t.outdated||n.outdated?2:0)),this.left=t,this.right=n,this.size=t.size+n.size}get break(){return this.flags&1}blockAt(t,r,n,o){let s=n+this.left.height;return ta))return c;let u=r==So.ByPosNoHeight?So.ByPosNoHeight:So.ByPos;return l?c.join(this.right.lineAt(a,u,n,i,a)):this.left.lineAt(a,u,n,o,s).join(c)}forEachLine(t,r,n,o,s,i){let a=o+this.left.height,l=s+this.left.length+this.break;if(this.break)t=l&&this.right.forEachLine(t,r,n,a,l,i);else{let c=this.lineAt(l,So.ByPos,n,o,s);t=t&&c.from<=r&&i(c),r>c.to&&this.right.forEachLine(c.to+1,r,n,a,l,i)}}replace(t,r,n){let o=this.left.length+this.break;if(rthis.left.length)return this.balanced(this.left,this.right.replace(t-o,r-o,n));let s=[];t>0&&this.decomposeLeft(t,s);let i=s.length;for(let a of n)s.push(a);if(t>0&&DI(s,i-1),r=n&&r.push(null)),t>n&&this.right.decomposeLeft(t-n,r)}decomposeRight(t,r){let n=this.left.length,o=n+this.break;if(t>=o)return this.right.decomposeRight(t-o,r);t2*r.size||r.size>2*t.size?ai.of(this.break?[t,null,r]:[t,r]):(this.left=i1(this.left,t),this.right=i1(this.right,r),this.setHeight(t.height+r.height),this.outdated=t.outdated||r.outdated,this.size=t.size+r.size,this.length=t.length+this.break+r.length,this)}updateHeight(t,r=0,n=!1,o){let{left:s,right:i}=this,a=r+s.length+this.break,l=null;return o&&o.from<=r+s.length&&o.more?l=s=s.updateHeight(t,r,n,o):s.updateHeight(t,r,n),o&&o.from<=a+i.length&&o.more?l=i=i.updateHeight(t,a,n,o):i.updateHeight(t,a,n),l?this.balanced(s,i):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function DI(e,t){let r,n;e[t]==null&&(r=e[t-1])instanceof As&&(n=e[t+1])instanceof As&&e.splice(t-1,3,new As(r.length+1+n.length))}const oSe=5;class HA{constructor(t,r){this.pos=t,this.oracle=r,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(t,r){if(this.lineStart>-1){let n=Math.min(r,this.lineEnd),o=this.nodes[this.nodes.length-1];o instanceof Di?o.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new Di(n-this.pos,-1)),this.writtenTo=n,r>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=r}point(t,r,n){if(t=oSe)&&this.addLineDeco(o,s,i)}else r>t&&this.span(t,r);this.lineEnd>-1&&this.lineEnd-1)return;let{from:t,to:r}=this.oracle.doc.lineAt(this.pos);this.lineStart=t,this.lineEnd=r,this.writtenTot&&this.nodes.push(new Di(this.pos-t,-1)),this.writtenTo=this.pos}blankContent(t,r){let n=new As(r-t);return this.oracle.doc.lineAt(t).to==r&&(n.flags|=4),n}ensureLine(){this.enterLine();let t=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(t instanceof Di)return t;let r=new Di(0,-1);return this.nodes.push(r),r}addBlock(t){this.enterLine();let r=t.deco;r&&r.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(t),this.writtenTo=this.pos=this.pos+t.length,r&&r.endSide>0&&(this.covering=t)}addLineDeco(t,r,n){let o=this.ensureLine();o.length+=n,o.collapsed+=n,o.widgetHeight=Math.max(o.widgetHeight,t),o.breaks+=r,this.writtenTo=this.pos=this.pos+n}finish(t){let r=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(r instanceof Di)&&!this.isCovered?this.nodes.push(new Di(0,-1)):(this.writtenTou.clientHeight||u.scrollWidth>u.clientWidth)&&d.overflow!="visible"){let p=u.getBoundingClientRect();s=Math.max(s,p.left),i=Math.min(i,p.right),a=Math.max(a,p.top),l=Math.min(c==e.parentNode?o.innerHeight:l,p.bottom)}c=d.position=="absolute"||d.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:s-r.left,right:Math.max(s,i)-r.left,top:a-(r.top+t),bottom:Math.max(a,l)-(r.top+t)}}function lSe(e){let t=e.getBoundingClientRect(),r=e.ownerDocument.defaultView||window;return t.left0&&t.top0}function cSe(e,t){let r=e.getBoundingClientRect();return{left:0,right:r.right-r.left,top:t,bottom:r.bottom-(r.top+t)}}class Xk{constructor(t,r,n,o){this.from=t,this.to=r,this.size=n,this.displaySize=o}static same(t,r){if(t.length!=r.length)return!1;for(let n=0;ntypeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new tSe(r),this.stateDeco=t.facet(Ig).filter(n=>typeof n!="function"),this.heightMap=ai.empty().applyChanges(this.stateDeco,Nn.empty,this.heightOracle.setDoc(t.doc),[new pa(0,0,0,t.doc.length)]);for(let n=0;n<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());n++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=kr.set(this.lineGaps.map(n=>n.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let t=[this.viewport],{main:r}=this.state.selection;for(let n=0;n<=1;n++){let o=n?r.head:r.anchor;if(!t.some(({from:s,to:i})=>o>=s&&o<=i)){let{from:s,to:i}=this.lineBlockAt(o);t.push(new c0(s,i))}}return this.viewports=t.sort((n,o)=>n.from-o.from),this.updateScaler()}updateScaler(){let t=this.scaler;return this.scaler=this.heightMap.height<=7e6?LI:new WA(this.heightOracle,this.heightMap,this.viewports),t.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,t=>{this.viewportLines.push(Im(t,this.scaler))})}update(t,r=null){this.state=t.state;let n=this.stateDeco;this.stateDeco=this.state.facet(Ig).filter(u=>typeof u!="function");let o=t.changedRanges,s=pa.extendWithRanges(o,sSe(n,this.stateDeco,t?t.changes:Yo.empty(this.state.doc.length))),i=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);II(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,t.startState.doc,this.heightOracle.setDoc(this.state.doc),s),(this.heightMap.height!=i||dh)&&(t.flags|=2),a?(this.scrollAnchorPos=t.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=s.length?this.mapViewport(this.viewport,t.changes):this.viewport;(r&&(r.range.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,r));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,t.flags|=this.updateForViewport(),(c||!t.changes.empty||t.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,t.changes))),t.flags|=this.computeVisibleRanges(t.changes),r&&(this.scrollTarget=r),!this.mustEnforceCursorAssoc&&t.selectionSet&&t.view.lineWrapping&&t.state.selection.main.empty&&t.state.selection.main.assoc&&!t.state.facet(GB)&&(this.mustEnforceCursorAssoc=!0)}measure(t){let r=t.contentDOM,n=window.getComputedStyle(r),o=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Co.RTL:Co.LTR;let i=this.heightOracle.mustRefreshForWrapping(s),a=r.getBoundingClientRect(),l=i||this.mustMeasureContent||this.contentDOMHeight!=a.height;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;let c=0,u=0;if(a.width&&a.height){let{scaleX:k,scaleY:x}=wB(r,a);(k>.005&&Math.abs(this.scaleX-k)>.005||x>.005&&Math.abs(this.scaleY-x)>.005)&&(this.scaleX=k,this.scaleY=x,c|=16,i=l=!0)}let d=(parseInt(n.paddingTop)||0)*this.scaleY,p=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=d||this.paddingBottom!=p)&&(this.paddingTop=d,this.paddingBottom=p,c|=18),this.editorWidth!=t.scrollDOM.clientWidth&&(o.lineWrapping&&(l=!0),this.editorWidth=t.scrollDOM.clientWidth,c|=16);let f=t.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=f&&(this.scrollAnchorHeight=-1,this.scrollTop=f),this.scrolledToBottom=jB(t.scrollDOM);let m=(this.printing?cSe:aSe)(r,this.paddingTop),v=m.top-this.pixelViewport.top,g=m.bottom-this.pixelViewport.bottom;this.pixelViewport=m;let y=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(y!=this.inView&&(this.inView=y,y&&(l=!0)),!this.inView&&!this.scrollTarget&&!lSe(t.dom))return 0;let b=a.width;if((this.contentDOMWidth!=b||this.editorHeight!=t.scrollDOM.clientHeight)&&(this.contentDOMWidth=a.width,this.editorHeight=t.scrollDOM.clientHeight,c|=16),l){let k=t.docView.measureVisibleLineHeights(this.viewport);if(o.mustRefreshForHeights(k)&&(i=!0),i||o.lineWrapping&&Math.abs(b-this.contentDOMWidth)>o.charWidth){let{lineHeight:x,charWidth:j,textHeight:_}=t.docView.measureTextSize();i=x>0&&o.refresh(s,x,j,_,b/j,k),i&&(t.docView.minWidth=0,c|=16)}v>0&&g>0?u=Math.max(v,g):v<0&&g<0&&(u=Math.min(v,g)),II();for(let x of this.viewports){let j=x.from==this.viewport.from?k:t.docView.measureVisibleLineHeights(x);this.heightMap=(i?ai.empty().applyChanges(this.stateDeco,Nn.empty,this.heightOracle,[new pa(0,0,0,t.state.doc.length)]):this.heightMap).updateHeight(o,0,i,new rSe(x.from,j))}dh&&(c|=2)}let w=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return w&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(u,this.scrollTarget),c|=this.updateForViewport()),(c&2||w)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(i?[]:this.lineGaps,t)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,t.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(t,r){let n=.5-Math.max(-.5,Math.min(.5,t/1e3/2)),o=this.heightMap,s=this.heightOracle,{visibleTop:i,visibleBottom:a}=this,l=new c0(o.lineAt(i-n*1e3,So.ByHeight,s,0,0).from,o.lineAt(a+(1-n)*1e3,So.ByHeight,s,0,0).to);if(r){let{head:c}=r.range;if(cl.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),d=o.lineAt(c,So.ByPos,s,0,0),p;r.y=="center"?p=(d.top+d.bottom)/2-u/2:r.y=="start"||r.y=="nearest"&&c=a+Math.max(10,Math.min(n,250)))&&o>i-2*1e3&&s>1,i=o<<1;if(this.defaultTextDirection!=Co.LTR&&!n)return[];let a=[],l=(u,d,p,f)=>{if(d-uu&&yy.from>=p.from&&y.to<=p.to&&Math.abs(y.from-u)y.fromb));if(!g){if(dw.from<=d&&w.to>=d)){let w=r.moveToLineBoundary(Je.cursor(d),!1,!0).head;w>u&&(d=w)}let y=this.gapSize(p,u,d,f),b=n||y<2e6?y:2e6;g=new Xk(u,d,y,b)}a.push(g)},c=u=>{if(u.length2e6)for(let j of t)j.from>=u.from&&j.fromu.from&&l(u.from,f,u,d),mr.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(t){let r=this.stateDeco;this.lineGaps.length&&(r=r.concat(this.lineGapDeco));let n=[];pn.spans(r,this.viewport.from,this.viewport.to,{span(s,i){n.push({from:s,to:i})},point(){}},20);let o=0;if(n.length!=this.visibleRanges.length)o=12;else for(let s=0;s=this.viewport.from&&t<=this.viewport.to&&this.viewportLines.find(r=>r.from<=t&&r.to>=t)||Im(this.heightMap.lineAt(t,So.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(t){return t>=this.viewportLines[0].top&&t<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(r=>r.top<=t&&r.bottom>=t)||Im(this.heightMap.lineAt(this.scaler.fromDOM(t),So.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(t){let r=this.lineBlockAtHeight(t+8);return r.from>=this.viewport.from||this.viewportLines[0].top-t>200?r:this.viewportLines[0]}elementAtHeight(t){return Im(this.heightMap.blockAt(this.scaler.fromDOM(t),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class c0{constructor(t,r){this.from=t,this.to=r}}function dSe(e,t,r){let n=[],o=e,s=0;return pn.spans(r,e,t,{span(){},point(i,a){i>o&&(n.push({from:o,to:i}),s+=i-o),o=a}},20),o=1)return t[t.length-1].to;let n=Math.floor(e*r);for(let o=0;;o++){let{from:s,to:i}=t[o],a=i-s;if(n<=a)return s+n;n-=a}}function d0(e,t){let r=0;for(let{from:n,to:o}of e.ranges){if(t<=o){r+=t-n;break}r+=o-n}return r/e.total}function pSe(e,t){for(let r of e)if(t(r))return r}const LI={toDOM(e){return e},fromDOM(e){return e},scale:1,eq(e){return e==this}};class WA{constructor(t,r,n){let o=0,s=0,i=0;this.viewports=n.map(({from:a,to:l})=>{let c=r.lineAt(a,So.ByPos,t,0,0).top,u=r.lineAt(l,So.ByPos,t,0,0).bottom;return o+=u-c,{from:a,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-o)/(r.height-o);for(let a of this.viewports)a.domTop=i+(a.top-s)*this.scale,i=a.domBottom=a.domTop+(a.bottom-a.top),s=a.bottom}toDOM(t){for(let r=0,n=0,o=0;;r++){let s=rr.from==t.viewports[n].from&&r.to==t.viewports[n].to):!1}}function Im(e,t){if(t.scale==1)return e;let r=t.toDOM(e.top),n=t.toDOM(e.bottom);return new gl(e.from,e.length,r,n-r,Array.isArray(e._content)?e._content.map(o=>Im(o,t)):e._content)}const p0=At.define({combine:e=>e.join(" ")}),TS=At.define({combine:e=>e.indexOf(!0)>-1}),PS=Ju.newName(),p9=Ju.newName(),f9=Ju.newName(),h9={"&light":"."+p9,"&dark":"."+f9};function IS(e,t,r){return new Ju(t,{finish(n){return/&/.test(n)?n.replace(/&\w*/,o=>{if(o=="&")return e;if(!r||!r[o])throw new RangeError(`Unsupported selector: ${o}`);return r[o]}):e+" "+n}})}const fSe=IS("."+PS,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},h9),hSe={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Yk=Ct.ie&&Ct.ie_version<=11;class mSe{constructor(t){this.view=t,this.active=!1,this.editContext=null,this.selectionRange=new Xje,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=t.contentDOM,this.observer=new MutationObserver(r=>{for(let n of r)this.queue.push(n);(Ct.ie&&Ct.ie_version<=11||Ct.ios&&t.composing)&&r.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&t.constructor.EDIT_CONTEXT!==!1&&!(Ct.chrome&&Ct.chrome_version<126)&&(this.editContext=new vSe(t),t.state.facet(pc)&&(t.contentDOM.editContext=this.editContext.editContext)),Yk&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var r;((r=this.view.docView)===null||r===void 0?void 0:r.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),r.length>0&&r[r.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(r=>{r.length>0&&r[r.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(t){this.view.inputState.runHandlers("scroll",t),this.intersecting&&this.view.measure()}onScroll(t){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(t)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(t){(t.type=="change"||!t.type)&&!t.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(t){if(this.gapIntersection&&(t.length!=this.gaps.length||this.gaps.some((r,n)=>r!=t[n]))){this.gapIntersection.disconnect();for(let r of t)this.gapIntersection.observe(r);this.gaps=t}}onSelectionChange(t){let r=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,o=this.selectionRange;if(n.state.facet(pc)?n.root.activeElement!=this.dom:!nb(this.dom,o))return;let s=o.anchorNode&&n.docView.nearest(o.anchorNode);if(s&&s.ignoreEvent(t)){r||(this.selectionChanged=!1);return}(Ct.ie&&Ct.ie_version<=11||Ct.android&&Ct.chrome)&&!n.state.selection.main.empty&&o.focusNode&&Xm(o.focusNode,o.focusOffset,o.anchorNode,o.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:t}=this,r=Tg(t.root);if(!r)return!1;let n=Ct.safari&&t.root.nodeType==11&&t.root.activeElement==this.dom&&gSe(this.view,r)||r;if(!n||this.selectionRange.eq(n))return!1;let o=nb(this.dom,n);return o&&!this.selectionChanged&&t.inputState.lastFocusTime>Date.now()-200&&t.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&qf(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(o)}(!this.delayedAndroidKey||t=="Enter")&&(this.delayedAndroidKey={key:t,keyCode:r,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}processRecords(){let t=this.pendingRecords();t.length&&(this.queue=[]);let r=-1,n=-1,o=!1;for(let s of t){let i=this.readMutation(s);i&&(i.typeOver&&(o=!0),r==-1?{from:r,to:n}=i:(r=Math.min(i.from,r),n=Math.max(i.to,n)))}return{from:r,to:n,typeOver:o}}readChange(){let{from:t,to:r,typeOver:n}=this.processRecords(),o=this.selectionChanged&&nb(this.dom,this.selectionRange);if(t<0&&!o)return null;t>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new I_e(this.view,t,r,n);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(t=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;t&&this.readSelectionRange();let r=this.readChange();if(!r)return this.view.requestMeasure(),!1;let n=this.view.state,o=r9(this.view,r);return this.view.state==n&&(r.domChanged||r.newSel&&!r.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),o}readMutation(t){let r=this.view.docView.nearest(t.target);if(!r||r.ignoreMutation(t))return null;if(r.markDirty(t.type=="attributes"),t.type=="attributes"&&(r.flags|=4),t.type=="childList"){let n=NI(r,t.previousSibling||t.target.previousSibling,-1),o=NI(r,t.nextSibling||t.target.nextSibling,1);return{from:n?r.posAfter(n):r.posAtStart,to:o?r.posBefore(o):r.posAtEnd,typeOver:!1}}else return t.type=="characterData"?{from:r.posAtStart,to:r.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}:null}setWindow(t){t!=this.win&&(this.removeWindowListeners(this.win),this.win=t,this.addWindowListeners(this.win))}addWindowListeners(t){t.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):t.addEventListener("beforeprint",this.onPrint),t.addEventListener("scroll",this.onScroll),t.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(t){t.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):t.removeEventListener("beforeprint",this.onPrint),t.document.removeEventListener("selectionchange",this.onSelectionChange)}update(t){this.editContext&&(this.editContext.update(t),t.startState.facet(pc)!=t.state.facet(pc)&&(t.view.contentDOM.editContext=t.state.facet(pc)?this.editContext.editContext:null))}destroy(){var t,r,n;this.stop(),(t=this.intersection)===null||t===void 0||t.disconnect(),(r=this.gapIntersection)===null||r===void 0||r.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect();for(let o of this.scrollTargets)o.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function NI(e,t,r){for(;t;){let n=ao.get(t);if(n&&n.parent==e)return n;let o=t.parentNode;t=o!=e.dom?o:r>0?t.nextSibling:t.previousSibling}return null}function RI(e,t){let r=t.startContainer,n=t.startOffset,o=t.endContainer,s=t.endOffset,i=e.docView.domAtPos(e.state.selection.main.anchor);return Xm(i.node,i.offset,o,s)&&([r,n,o,s]=[o,s,r,n]),{anchorNode:r,anchorOffset:n,focusNode:o,focusOffset:s}}function gSe(e,t){if(t.getComposedRanges){let o=t.getComposedRanges(e.root)[0];if(o)return RI(e,o)}let r=null;function n(o){o.preventDefault(),o.stopImmediatePropagation(),r=o.getTargetRanges()[0]}return e.contentDOM.addEventListener("beforeinput",n,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",n,!0),r?RI(e,r):null}class vSe{constructor(t){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(t.state);let r=this.editContext=new window.EditContext({text:t.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,t.state.selection.main.anchor))),selectionEnd:this.toContextPos(t.state.selection.main.head)});this.handlers.textupdate=n=>{let o=t.state.selection.main,{anchor:s,head:i}=o,a=this.toEditorPos(n.updateRangeStart),l=this.toEditorPos(n.updateRangeEnd);t.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:n.updateRangeStart,editorBase:a,drifted:!1});let c={from:a,to:l,insert:Nn.of(n.text.split(` -`))};if(c.from==this.from&&sthis.to&&(c.to=s),c.from==c.to&&!c.insert.length){let u=Je.single(this.toEditorPos(n.selectionStart),this.toEditorPos(n.selectionEnd));u.main.eq(o)||t.dispatch({selection:u,userEvent:"select"});return}if((Ct.mac||Ct.android)&&c.from==i-1&&/^\. ?$/.test(n.text)&&t.contentDOM.getAttribute("autocorrect")=="off"&&(c={from:a,to:l,insert:Nn.of([n.text.replace("."," ")])}),this.pendingContextChange=c,!t.state.readOnly){let u=this.to-this.from+(c.to-c.from+c.insert.length);UA(t,c,Je.single(this.toEditorPos(n.selectionStart,u),this.toEditorPos(n.selectionEnd,u)))}this.pendingContextChange&&(this.revertPending(t.state),this.setSelection(t.state))},this.handlers.characterboundsupdate=n=>{let o=[],s=null;for(let i=this.toEditorPos(n.rangeStart),a=this.toEditorPos(n.rangeEnd);i{let o=[];for(let s of n.getTextFormats()){let i=s.underlineStyle,a=s.underlineThickness;if(i!="None"&&a!="None"){let l=this.toEditorPos(s.rangeStart),c=this.toEditorPos(s.rangeEnd);if(l{t.inputState.composing<0&&(t.inputState.composing=0,t.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(t.inputState.composing=-1,t.inputState.compositionFirstChange=null,this.composing){let{drifted:n}=this.composing;this.composing=null,n&&this.reset(t.state)}};for(let n in this.handlers)r.addEventListener(n,this.handlers[n]);this.measureReq={read:n=>{this.editContext.updateControlBounds(n.contentDOM.getBoundingClientRect());let o=Tg(n.root);o&&o.rangeCount&&this.editContext.updateSelectionBounds(o.getRangeAt(0).getBoundingClientRect())}}}applyEdits(t){let r=0,n=!1,o=this.pendingContextChange;return t.changes.iterChanges((s,i,a,l,c)=>{if(n)return;let u=c.length-(i-s);if(o&&i>=o.to)if(o.from==s&&o.to==i&&o.insert.eq(c)){o=this.pendingContextChange=null,r+=u,this.to+=u;return}else o=null,this.revertPending(t.state);if(s+=r,i+=r,i<=this.from)this.from+=u,this.to+=u;else if(sthis.to||this.to-this.from+c.length>3e4){n=!0;return}this.editContext.updateText(this.toContextPos(s),this.toContextPos(i),c.toString()),this.to+=u}r+=u}),o&&!n&&this.revertPending(t.state),!n}update(t){let r=this.pendingContextChange;this.composing&&(this.composing.drifted||t.transactions.some(n=>!n.isUserEvent("input.type")&&n.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=t.changes.mapPos(this.composing.editorBase)):!this.applyEdits(t)||!this.rangeIsValid(t.state)?(this.pendingContextChange=null,this.reset(t.state)):(t.docChanged||t.selectionSet||r)&&this.setSelection(t.state),(t.geometryChanged||t.docChanged||t.selectionSet)&&t.view.requestMeasure(this.measureReq)}resetRange(t){let{head:r}=t.selection.main;this.from=Math.max(0,r-1e4),this.to=Math.min(t.doc.length,r+1e4)}reset(t){this.resetRange(t),this.editContext.updateText(0,this.editContext.text.length,t.doc.sliceString(this.from,this.to)),this.setSelection(t)}revertPending(t){let r=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(r.from),this.toContextPos(r.from+r.insert.length),t.doc.sliceString(r.from,r.to))}setSelection(t){let{main:r}=t.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,r.anchor))),o=this.toContextPos(r.head);(this.editContext.selectionStart!=n||this.editContext.selectionEnd!=o)&&this.editContext.updateSelection(n,o)}rangeIsValid(t){let{head:r}=t.selection.main;return!(this.from>0&&r-this.from<500||this.to1e4*3)}toEditorPos(t,r=this.to-this.from){t=Math.min(t,r);let n=this.composing;return n&&n.drifted?n.editorBase+(t-n.contextBase):t+this.from}toContextPos(t){let r=this.composing;return r&&r.drifted?r.contextBase+(t-r.editorBase):t-this.from}destroy(){for(let t in this.handlers)this.editContext.removeEventListener(t,this.handlers[t])}}class jt{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(t={}){var r;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),t.parent&&t.parent.appendChild(this.dom);let{dispatch:n}=t;this.dispatchTransactions=t.dispatchTransactions||n&&(o=>o.forEach(s=>n(s,this)))||(o=>this.update(o)),this.dispatch=this.dispatch.bind(this),this._root=t.root||Yje(t.parent)||document,this.viewState=new MI(t.state||an.create(t)),t.scrollTo&&t.scrollTo.is(i0)&&(this.viewState.scrollTarget=t.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet($m).map(o=>new Kk(o));for(let o of this.plugins)o.update(this);this.observer=new mSe(this),this.inputState=new R_e(this),this.inputState.ensureHandlers(this.plugins),this.docView=new gI(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((r=document.fonts)===null||r===void 0)&&r.ready&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...t){let r=t.length==1&&t[0]instanceof Fs?t:t.length==1&&Array.isArray(t[0])?t[0]:[this.state.update(...t)];this.dispatchTransactions(r,this)}update(t){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let r=!1,n=!1,o,s=this.state;for(let p of t){if(p.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=p.state}if(this.destroyed){this.viewState.state=s;return}let i=this.hasFocus,a=0,l=null;t.some(p=>p.annotation(l9))?(this.inputState.notifiedFocused=i,a=1):i!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=i,l=c9(s,i),l||(a=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(u=null)):this.observer.clear(),s.facet(an.phrases)!=this.state.facet(an.phrases))return this.setState(s);o=s1.create(this,s,t),o.flags|=a;let d=this.viewState.scrollTarget;try{this.updateState=2;for(let p of t){if(d&&(d=d.map(p.changes)),p.scrollIntoView){let{main:f}=p.state.selection;d=new zf(f.empty?f:Je.cursor(f.head,f.head>f.anchor?-1:1))}for(let f of p.effects)f.is(i0)&&(d=f.value.clip(this.state))}this.viewState.update(o,d),this.bidiCache=a1.update(this.bidiCache,o.changes),o.empty||(this.updatePlugins(o),this.inputState.update(o)),r=this.docView.update(o),this.state.facet(Tm)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(t),this.docView.updateSelection(r,t.some(p=>p.isUserEvent("select.pointer")))}finally{this.updateState=0}if(o.startState.facet(p0)!=o.state.facet(p0)&&(this.viewState.mustMeasureContent=!0),(r||n||d||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),r&&this.docViewUpdate(),!o.empty)for(let p of this.state.facet(AS))try{p(o)}catch(f){oi(this.state,f,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!r9(this,u)&&c.force&&qf(this.contentDOM,c.key,c.keyCode)})}setState(t){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=t;return}this.updateState=2;let r=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new MI(t),this.plugins=t.facet($m).map(n=>new Kk(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new gI(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}r&&this.focus(),this.requestMeasure()}updatePlugins(t){let r=t.startState.facet($m),n=t.state.facet($m);if(r!=n){let o=[];for(let s of n){let i=r.indexOf(s);if(i<0)o.push(new Kk(s));else{let a=this.plugins[i];a.mustUpdate=t,o.push(a)}}for(let s of this.plugins)s.mustUpdate!=t&&s.destroy(this);this.plugins=o,this.pluginMap.clear()}else for(let o of this.plugins)o.mustUpdate=t;for(let o=0;o-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,t&&this.observer.forceFlush();let r=null,n=this.scrollDOM,o=n.scrollTop*this.scaleY,{scrollAnchorPos:s,scrollAnchorHeight:i}=this.viewState;Math.abs(o-this.viewState.scrollTop)>1&&(i=-1),this.viewState.scrollAnchorHeight=-1;try{for(let a=0;;a++){if(i<0)if(jB(n))s=-1,i=this.viewState.heightMap.height;else{let f=this.viewState.scrollAnchorAt(o);s=f.from,i=f.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(a>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let u=c.map(f=>{try{return f.read(this)}catch(m){return oi(this.state,m),BI}}),d=s1.create(this,this.state,[]),p=!1;d.flags|=l,r?r.flags|=l:r=d,this.updateState=2,d.empty||(this.updatePlugins(d),this.inputState.update(d),this.updateAttrs(),p=this.docView.update(d),p&&this.docViewUpdate());for(let f=0;f1||f<-1){o=o+f,n.scrollTop=o/this.scaleY,i=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(r&&!r.empty)for(let a of this.state.facet(AS))a(r)}get themeClasses(){return PS+" "+(this.state.facet(TS)?f9:p9)+" "+this.state.facet(p0)}updateAttrs(){let t=qI(this,QB,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),r={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(pc)?"true":"false",class:"cm-content",style:`${Ct.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(r["aria-readonly"]="true"),qI(this,zA,r);let n=this.observer.ignore(()=>{let o=kS(this.contentDOM,this.contentAttrs,r),s=kS(this.dom,this.editorAttrs,t);return o||s});return this.editorAttrs=t,this.contentAttrs=r,n}showAnnouncements(t){let r=!0;for(let n of t)for(let o of n.effects)if(o.is(jt.announce)){r&&(this.announceDOM.textContent=""),r=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=o.value}}mountStyles(){this.styleModules=this.state.facet(Tm);let t=this.state.facet(jt.cspNonce);Ju.mount(this.root,this.styleModules.concat(fSe).reverse(),t?{nonce:t}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(t){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),t){if(this.measureRequests.indexOf(t)>-1)return;if(t.key!=null){for(let r=0;rn.spec==t)||null),r&&r.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(t){return this.readMeasured(),this.viewState.elementAtHeight(t)}lineBlockAtHeight(t){return this.readMeasured(),this.viewState.lineBlockAtHeight(t)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(t){return this.viewState.lineBlockAt(t)}get contentHeight(){return this.viewState.contentHeight}moveByChar(t,r,n){return Zk(this,t,xI(this,t,r,n))}moveByGroup(t,r){return Zk(this,t,xI(this,t,r,n=>O_e(this,t.head,n)))}visualLineSide(t,r){let n=this.bidiSpans(t),o=this.textDirectionAt(t.from),s=n[r?n.length-1:0];return Je.cursor(s.side(r,o)+t.from,s.forward(!r,o)?1:-1)}moveToLineBoundary(t,r,n=!0){return E_e(this,t,r,n)}moveVertically(t,r,n){return Zk(this,t,$_e(this,t,r,n))}domAtPos(t){return this.docView.domAtPos(t)}posAtDOM(t,r=0){return this.docView.posFromDOM(t,r)}posAtCoords(t,r=!0){return this.readMeasured(),t9(this,t,r)}coordsAtPos(t,r=1){this.readMeasured();let n=this.docView.coordsAt(t,r);if(!n||n.left==n.right)return n;let o=this.state.doc.lineAt(t),s=this.bidiSpans(o),i=s[ku.find(s,t-o.from,-1,r)];return tx(n,i.dir==Co.LTR==r>0)}coordsForChar(t){return this.readMeasured(),this.docView.coordsForChar(t)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(t){return!this.state.facet(WB)||tthis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(t))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(t){if(t.length>ySe)return RB(t.length);let r=this.textDirectionAt(t.from),n;for(let s of this.bidiCache)if(s.from==t.from&&s.dir==r&&(s.fresh||NB(s.isolates,n=mI(this,t))))return s.order;n||(n=mI(this,t));let o=p_e(t.text,r,n);return this.bidiCache.push(new a1(t.from,t.to,r,n,!0,o)),o}get hasFocus(){var t;return(this.dom.ownerDocument.hasFocus()||Ct.safari&&((t=this.inputState)===null||t===void 0?void 0:t.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{xB(this.contentDOM),this.docView.updateSelection()})}setRoot(t){this._root!=t&&(this._root=t,this.observer.setWindow((t.nodeType==9?t:t.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let t of this.plugins)t.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(t,r={}){return i0.of(new zf(typeof t=="number"?Je.cursor(t):t,r.y,r.x,r.yMargin,r.xMargin))}scrollSnapshot(){let{scrollTop:t,scrollLeft:r}=this.scrollDOM,n=this.viewState.scrollAnchorAt(t);return i0.of(new zf(Je.cursor(n.from),"start","start",n.top-t,r,!0))}setTabFocusMode(t){t==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof t=="boolean"?this.inputState.tabFocusMode=t?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+t)}static domEventHandlers(t){return No.define(()=>({}),{eventHandlers:t})}static domEventObservers(t){return No.define(()=>({}),{eventObservers:t})}static theme(t,r){let n=Ju.newName(),o=[p0.of(n),Tm.of(IS(`.${n}`,t))];return r&&r.dark&&o.push(TS.of(!0)),o}static baseTheme(t){return Dp.lowest(Tm.of(IS("."+PS,t,h9)))}static findFromDOM(t){var r;let n=t.querySelector(".cm-content"),o=n&&ao.get(n)||ao.get(t);return((r=o==null?void 0:o.rootView)===null||r===void 0?void 0:r.view)||null}}jt.styleModule=Tm;jt.inputHandler=UB;jt.clipboardInputFilter=BA;jt.clipboardOutputFilter=qA;jt.scrollHandler=JB;jt.focusChangeEffect=HB;jt.perLineTextDirection=WB;jt.exceptionSink=VB;jt.updateListener=AS;jt.editable=pc;jt.mouseSelectionStyle=FB;jt.dragMovesSelection=zB;jt.clickAddsSelectionRange=qB;jt.decorations=Ig;jt.outerDecorations=ZB;jt.atomicRanges=FA;jt.bidiIsolatedRanges=XB;jt.scrollMargins=YB;jt.darkTheme=TS;jt.cspNonce=At.define({combine:e=>e.length?e[0]:""});jt.contentAttributes=zA;jt.editorAttributes=QB;jt.lineWrapping=jt.contentAttributes.of({class:"cm-lineWrapping"});jt.announce=Gr.define();const ySe=4096,BI={};class a1{constructor(t,r,n,o,s,i){this.from=t,this.to=r,this.dir=n,this.isolates=o,this.fresh=s,this.order=i}static update(t,r){if(r.empty&&!t.some(s=>s.fresh))return t;let n=[],o=t.length?t[t.length-1].dir:Co.LTR;for(let s=Math.max(0,t.length-10);s=0;o--){let s=n[o],i=typeof s=="function"?s(e):s;i&&xS(i,r)}return r}const bSe=Ct.mac?"mac":Ct.windows?"win":Ct.linux?"linux":"key";function wSe(e,t){const r=e.split(/-(?!$)/);let n=r[r.length-1];n=="Space"&&(n=" ");let o,s,i,a;for(let l=0;ln.concat(o),[]))),r}function kSe(e,t,r){return g9(m9(e.state),t,e,r)}let mu=null;const jSe=4e3;function _Se(e,t=bSe){let r=Object.create(null),n=Object.create(null),o=(i,a)=>{let l=n[i];if(l==null)n[i]=a;else if(l!=a)throw new Error("Key binding "+i+" is used both as a regular binding and as a multi-stroke prefix")},s=(i,a,l,c,u)=>{var d,p;let f=r[i]||(r[i]=Object.create(null)),m=a.split(/ (?!$)/).map(y=>wSe(y,t));for(let y=1;y{let k=mu={view:w,prefix:b,scope:i};return setTimeout(()=>{mu==k&&(mu=null)},jSe),!0}]})}let v=m.join(" ");o(v,!1);let g=f[v]||(f[v]={preventDefault:!1,stopPropagation:!1,run:((p=(d=f._any)===null||d===void 0?void 0:d.run)===null||p===void 0?void 0:p.slice())||[]});l&&g.run.push(l),c&&(g.preventDefault=!0),u&&(g.stopPropagation=!0)};for(let i of e){let a=i.scope?i.scope.split(" "):["editor"];if(i.any)for(let c of a){let u=r[c]||(r[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:d}=i;for(let p in u)u[p].run.push(f=>d(f,DS))}let l=i[t]||i.key;if(l)for(let c of a)s(c,l,i.run,i.preventDefault,i.stopPropagation),i.shift&&s(c,"Shift-"+l,i.shift,i.preventDefault,i.stopPropagation)}return r}let DS=null;function g9(e,t,r,n){DS=t;let o=Jje(t),s=hi(o,0),i=ml(s)==o.length&&o!=" ",a="",l=!1,c=!1,u=!1;mu&&mu.view==r&&mu.scope==n&&(a=mu.prefix+" ",o9.indexOf(t.keyCode)<0&&(c=!0,mu=null));let d=new Set,p=g=>{if(g){for(let y of g.run)if(!d.has(y)&&(d.add(y),y(r)))return g.stopPropagation&&(u=!0),!0;g.preventDefault&&(g.stopPropagation&&(u=!0),c=!0)}return!1},f=e[n],m,v;return f&&(p(f[a+f0(o,t,!i)])?l=!0:i&&(t.altKey||t.metaKey||t.ctrlKey)&&!(Ct.windows&&t.ctrlKey&&t.altKey)&&(m=Ku[t.keyCode])&&m!=o?(p(f[a+f0(m,t,!0)])||t.shiftKey&&(v=$g[t.keyCode])!=o&&v!=m&&p(f[a+f0(v,t,!1)]))&&(l=!0):i&&t.shiftKey&&p(f[a+f0(o,t,!0)])&&(l=!0),!l&&p(f._any)&&(l=!0)),c&&(l=!0),l&&u&&t.stopPropagation(),DS=null,l}class Ov{constructor(t,r,n,o,s){this.className=t,this.left=r,this.top=n,this.width=o,this.height=s}draw(){let t=document.createElement("div");return t.className=this.className,this.adjust(t),t}update(t,r){return r.className!=this.className?!1:(this.adjust(t),!0)}adjust(t){t.style.left=this.left+"px",t.style.top=this.top+"px",this.width!=null&&(t.style.width=this.width+"px"),t.style.height=this.height+"px"}eq(t){return this.left==t.left&&this.top==t.top&&this.width==t.width&&this.height==t.height&&this.className==t.className}static forRange(t,r,n){if(n.empty){let o=t.coordsAtPos(n.head,n.assoc||1);if(!o)return[];let s=v9(t);return[new Ov(r,o.left-s.left,o.top-s.top,null,o.bottom-o.top)]}else return SSe(t,r,n)}}function v9(e){let t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==Co.LTR?t.left:t.right-e.scrollDOM.clientWidth*e.scaleX)-e.scrollDOM.scrollLeft*e.scaleX,top:t.top-e.scrollDOM.scrollTop*e.scaleY}}function FI(e,t,r,n){let o=e.coordsAtPos(t,r*2);if(!o)return n;let s=e.dom.getBoundingClientRect(),i=(o.top+o.bottom)/2,a=e.posAtCoords({x:s.left+1,y:i}),l=e.posAtCoords({x:s.right-1,y:i});return a==null||l==null?n:{from:Math.max(n.from,Math.min(a,l)),to:Math.min(n.to,Math.max(a,l))}}function SSe(e,t,r){if(r.to<=e.viewport.from||r.from>=e.viewport.to)return[];let n=Math.max(r.from,e.viewport.from),o=Math.min(r.to,e.viewport.to),s=e.textDirection==Co.LTR,i=e.contentDOM,a=i.getBoundingClientRect(),l=v9(e),c=i.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),d=a.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),p=a.right-(u?parseInt(u.paddingRight):0),f=OS(e,n),m=OS(e,o),v=f.type==ii.Text?f:null,g=m.type==ii.Text?m:null;if(v&&(e.lineWrapping||f.widgetLineBreaks)&&(v=FI(e,n,1,v)),g&&(e.lineWrapping||m.widgetLineBreaks)&&(g=FI(e,o,-1,g)),v&&g&&v.from==g.from&&v.to==g.to)return b(w(r.from,r.to,v));{let x=v?w(r.from,null,v):k(f,!1),j=g?w(null,r.to,g):k(m,!0),_=[];return(v||f).to<(g||m).from-(v&&g?1:0)||f.widgetLineBreaks>1&&x.bottom+e.defaultLineHeight/2N&&z.from=X)break;H>L&&M(Math.max(oe,L),x==null&&oe<=N,Math.min(H,X),j==null&&H>=F,J.dir)}if(L=V.to+1,L>=X)break}return I.length==0&&M(N,x==null,F,j==null,e.textDirection),{top:C,bottom:A,horizontal:I}}function k(x,j){let _=a.top+(j?x.top:x.bottom);return{top:_,bottom:_,horizontal:[]}}}function CSe(e,t){return e.constructor==t.constructor&&e.eq(t)}class ASe{constructor(t,r){this.view=t,this.layer=r,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=t.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),r.above&&this.dom.classList.add("cm-layer-above"),r.class&&this.dom.classList.add(r.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(t.state),t.requestMeasure(this.measureReq),r.mount&&r.mount(this.dom,t)}update(t){t.startState.facet(ab)!=t.state.facet(ab)&&this.setOrder(t.state),(this.layer.update(t,this.dom)||t.geometryChanged)&&(this.scale(),t.view.requestMeasure(this.measureReq))}docViewUpdate(t){this.layer.updateOnDocViewUpdate!==!1&&t.requestMeasure(this.measureReq)}setOrder(t){let r=0,n=t.facet(ab);for(;r!CSe(r,this.drawn[n]))){let r=this.dom.firstChild,n=0;for(let o of t)o.update&&r&&o.constructor&&this.drawn[n].constructor&&o.update(r,this.drawn[n])?(r=r.nextSibling,n++):this.dom.insertBefore(o.draw(),r);for(;r;){let o=r.nextSibling;r.remove(),r=o}this.drawn=t}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const ab=At.define();function y9(e){return[No.define(t=>new ASe(t,e)),ab.of(e)]}const b9=!(Ct.ios&&Ct.webkit&&Ct.webkit_version<534),Dg=At.define({combine(e){return ol(e,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(t,r)=>Math.min(t,r),drawRangeCursor:(t,r)=>t||r})}});function ESe(e={}){return[Dg.of(e),OSe,$Se,TSe,GB.of(!0)]}function w9(e){return e.startState.facet(Dg)!=e.state.facet(Dg)}const OSe=y9({above:!0,markers(e){let{state:t}=e,r=t.facet(Dg),n=[];for(let o of t.selection.ranges){let s=o==t.selection.main;if(o.empty?!s||b9:r.drawRangeCursor){let i=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",a=o.empty?o:Je.cursor(o.head,o.head>o.anchor?-1:1);for(let l of Ov.forRange(e,i,a))n.push(l)}}return n},update(e,t){e.transactions.some(n=>n.selection)&&(t.style.animationName=t.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let r=w9(e);return r&&VI(e.state,t),e.docChanged||e.selectionSet||r},mount(e,t){VI(t.state,e)},class:"cm-cursorLayer"});function VI(e,t){t.style.animationDuration=e.facet(Dg).cursorBlinkRate+"ms"}const $Se=y9({above:!1,markers(e){return e.state.selection.ranges.map(t=>t.empty?[]:Ov.forRange(e,"cm-selectionBackground",t)).reduce((t,r)=>t.concat(r))},update(e,t){return e.docChanged||e.selectionSet||e.viewportChanged||w9(e)},class:"cm-selectionLayer"}),MS={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}};b9&&(MS[".cm-line"].caretColor=MS[".cm-content"].caretColor="transparent !important");const TSe=Dp.highest(jt.theme(MS)),x9=Gr.define({map(e,t){return e==null?null:t.mapPos(e)}}),Dm=js.define({create(){return null},update(e,t){return e!=null&&(e=t.changes.mapPos(e)),t.effects.reduce((r,n)=>n.is(x9)?n.value:r,e)}}),PSe=No.fromClass(class{constructor(e){this.view=e,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(e){var t;let r=e.state.field(Dm);r==null?this.cursor!=null&&((t=this.cursor)===null||t===void 0||t.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(e.startState.field(Dm)!=r||e.docChanged||e.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:e}=this,t=e.state.field(Dm),r=t!=null&&e.coordsAtPos(t);if(!r)return null;let n=e.scrollDOM.getBoundingClientRect();return{left:r.left-n.left+e.scrollDOM.scrollLeft*e.scaleX,top:r.top-n.top+e.scrollDOM.scrollTop*e.scaleY,height:r.bottom-r.top}}drawCursor(e){if(this.cursor){let{scaleX:t,scaleY:r}=this.view;e?(this.cursor.style.left=e.left/t+"px",this.cursor.style.top=e.top/r+"px",this.cursor.style.height=e.height/r+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(e){this.view.state.field(Dm)!=e&&this.view.dispatch({effects:x9.of(e)})}},{eventObservers:{dragover(e){this.setDropPos(this.view.posAtCoords({x:e.clientX,y:e.clientY}))},dragleave(e){(e.target==this.view.contentDOM||!this.view.contentDOM.contains(e.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function ISe(){return[Dm,PSe]}function UI(e,t,r,n,o){t.lastIndex=0;for(let s=e.iterRange(r,n),i=r,a;!s.next().done;i+=s.value.length)if(!s.lineBreak)for(;a=t.exec(s.value);)o(i+a.index,a)}function DSe(e,t){let r=e.visibleRanges;if(r.length==1&&r[0].from==e.viewport.from&&r[0].to==e.viewport.to)return r;let n=[];for(let{from:o,to:s}of r)o=Math.max(e.state.doc.lineAt(o).from,o-t),s=Math.min(e.state.doc.lineAt(s).to,s+t),n.length&&n[n.length-1].to>=o?n[n.length-1].to=s:n.push({from:o,to:s});return n}class MSe{constructor(t){const{regexp:r,decoration:n,decorate:o,boundary:s,maxLength:i=1e3}=t;if(!r.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=r,o)this.addMatch=(a,l,c,u)=>o(u,c,c+a[0].length,a,l);else if(typeof n=="function")this.addMatch=(a,l,c,u)=>{let d=n(a,l,c);d&&u(c,c+a[0].length,d)};else if(n)this.addMatch=(a,l,c,u)=>u(c,c+a[0].length,n);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=s,this.maxLength=i}createDeco(t){let r=new Qa,n=r.add.bind(r);for(let{from:o,to:s}of DSe(t,this.maxLength))UI(t.state.doc,this.regexp,o,s,(i,a)=>this.addMatch(a,t,i,n));return r.finish()}updateDeco(t,r){let n=1e9,o=-1;return t.docChanged&&t.changes.iterChanges((s,i,a,l)=>{l>=t.view.viewport.from&&a<=t.view.viewport.to&&(n=Math.min(a,n),o=Math.max(l,o))}),t.viewportMoved||o-n>1e3?this.createDeco(t.view):o>-1?this.updateRange(t.view,r.map(t.changes),n,o):r}updateRange(t,r,n,o){for(let s of t.visibleRanges){let i=Math.max(s.from,n),a=Math.min(s.to,o);if(a>i){let l=t.state.doc.lineAt(i),c=l.tol.from;i--)if(this.boundary.test(l.text[i-1-l.from])){u=i;break}for(;ap.push(y.range(v,g));if(l==c)for(this.regexp.lastIndex=u-l.from;(f=this.regexp.exec(l.text))&&f.indexthis.addMatch(g,t,v,m));r=r.update({filterFrom:u,filterTo:d,filter:(v,g)=>vd,add:p})}}return r}}const LS=/x/.unicode!=null?"gu":"g",LSe=new RegExp(`[\0-\b ---Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,LS),NSe={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let ej=null;function RSe(){var e;if(ej==null&&typeof document<"u"&&document.body){let t=document.body.style;ej=((e=t.tabSize)!==null&&e!==void 0?e:t.MozTabSize)!=null}return ej||!1}const lb=At.define({combine(e){let t=ol(e,{render:null,specialChars:LSe,addSpecialChars:null});return(t.replaceTabs=!RSe())&&(t.specialChars=new RegExp(" |"+t.specialChars.source,LS)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,LS)),t}});function BSe(e={}){return[lb.of(e),qSe()]}let HI=null;function qSe(){return HI||(HI=No.fromClass(class{constructor(e){this.view=e,this.decorations=kr.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(lb)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new MSe({regexp:e.specialChars,decoration:(t,r,n)=>{let{doc:o}=r.state,s=hi(t[0],0);if(s==9){let i=o.lineAt(n),a=r.state.tabSize,l=Ih(i.text,a,n-i.from);return kr.replace({widget:new USe((a-l%a)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[s]||(this.decorationCache[s]=kr.replace({widget:new VSe(e,s)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(lb);e.startState.facet(lb)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)}},{decorations:e=>e.decorations}))}const zSe="•";function FSe(e){return e>=32?zSe:e==10?"␤":String.fromCharCode(9216+e)}class VSe extends ud{constructor(t,r){super(),this.options=t,this.code=r}eq(t){return t.code==this.code}toDOM(t){let r=FSe(this.code),n=t.state.phrase("Control character")+" "+(NSe[this.code]||"0x"+this.code.toString(16)),o=this.options.render&&this.options.render(this.code,n,r);if(o)return o;let s=document.createElement("span");return s.textContent=r,s.title=n,s.setAttribute("aria-label",n),s.className="cm-specialChar",s}ignoreEvent(){return!1}}class USe extends ud{constructor(t){super(),this.width=t}eq(t){return t.width==this.width}toDOM(){let t=document.createElement("span");return t.textContent=" ",t.className="cm-tab",t.style.width=this.width+"px",t}ignoreEvent(){return!1}}function HSe(){return GSe}const WSe=kr.line({class:"cm-activeLine"}),GSe=No.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.docChanged||e.selectionSet)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=-1,r=[];for(let n of e.state.selection.ranges){let o=e.lineBlockAt(n.head);o.from>t&&(r.push(WSe.range(o.from)),t=o.from)}return kr.set(r)}},{decorations:e=>e.decorations}),NS=2e3;function JSe(e,t,r){let n=Math.min(t.line,r.line),o=Math.max(t.line,r.line),s=[];if(t.off>NS||r.off>NS||t.col<0||r.col<0){let i=Math.min(t.off,r.off),a=Math.max(t.off,r.off);for(let l=n;l<=o;l++){let c=e.doc.line(l);c.length<=a&&s.push(Je.range(c.from+i,c.to+a))}}else{let i=Math.min(t.col,r.col),a=Math.max(t.col,r.col);for(let l=n;l<=o;l++){let c=e.doc.line(l),u=hS(c.text,i,e.tabSize,!0);if(u<0)s.push(Je.cursor(c.to));else{let d=hS(c.text,a,e.tabSize);s.push(Je.range(c.from+u,c.from+d))}}}return s}function KSe(e,t){let r=e.coordsAtPos(e.viewport.from);return r?Math.round(Math.abs((r.left-t)/e.defaultCharacterWidth)):-1}function WI(e,t){let r=e.posAtCoords({x:t.clientX,y:t.clientY},!1),n=e.state.doc.lineAt(r),o=r-n.from,s=o>NS?-1:o==n.length?KSe(e,t.clientX):Ih(n.text,e.state.tabSize,r-n.from);return{line:n.number,col:s,off:o}}function QSe(e,t){let r=WI(e,t),n=e.state.selection;return r?{update(o){if(o.docChanged){let s=o.changes.mapPos(o.startState.doc.line(r.line).from),i=o.state.doc.lineAt(s);r={line:i.number,col:r.col,off:Math.min(r.off,i.length)},n=n.map(o.changes)}},get(o,s,i){let a=WI(e,o);if(!a)return n;let l=JSe(e.state,r,a);return l.length?i?Je.create(l.concat(n.ranges)):Je.create(l):n}}:null}function ZSe(e){let t=r=>r.altKey&&r.button==0;return jt.mouseSelectionStyle.of((r,n)=>t(n)?QSe(r,n):null)}const XSe={Alt:[18,e=>!!e.altKey],Control:[17,e=>!!e.ctrlKey],Shift:[16,e=>!!e.shiftKey],Meta:[91,e=>!!e.metaKey]},YSe={style:"cursor: crosshair"};function e2e(e={}){let[t,r]=XSe[e.key||"Alt"],n=No.fromClass(class{constructor(o){this.view=o,this.isDown=!1}set(o){this.isDown!=o&&(this.isDown=o,this.view.update([]))}},{eventObservers:{keydown(o){this.set(o.keyCode==t||r(o))},keyup(o){(o.keyCode==t||!r(o))&&this.set(!1)},mousemove(o){this.set(r(o))}}});return[n,jt.contentAttributes.of(o=>{var s;return!((s=o.plugin(n))===null||s===void 0)&&s.isDown?YSe:null})]}const hm="-10000px";class k9{constructor(t,r,n,o){this.facet=r,this.createTooltipView=n,this.removeTooltipView=o,this.input=t.state.facet(r),this.tooltips=this.input.filter(i=>i);let s=null;this.tooltipViews=this.tooltips.map(i=>s=n(i,s))}update(t,r){var n;let o=t.state.facet(this.facet),s=o.filter(l=>l);if(o===this.input){for(let l of this.tooltipViews)l.update&&l.update(t);return!1}let i=[],a=r?[]:null;for(let l=0;lr[c]=l),r.length=a.length),this.input=o,this.tooltips=s,this.tooltipViews=i,!0}}function t2e(e){let{win:t}=e;return{top:0,left:0,bottom:t.innerHeight,right:t.innerWidth}}const tj=At.define({combine:e=>{var t,r,n;return{position:Ct.ios?"absolute":((t=e.find(o=>o.position))===null||t===void 0?void 0:t.position)||"fixed",parent:((r=e.find(o=>o.parent))===null||r===void 0?void 0:r.parent)||null,tooltipSpace:((n=e.find(o=>o.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||t2e}}}),GI=new WeakMap,GA=No.fromClass(class{constructor(e){this.view=e,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(tj);this.position=t.position,this.parent=t.parent,this.classes=e.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new k9(e,ox,(r,n)=>this.createTooltip(r,n),r=>{this.resizeObserver&&this.resizeObserver.unobserve(r.dom),r.dom.remove()}),this.above=this.manager.tooltips.map(r=>!!r.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(r=>{Date.now()>this.lastTransaction-50&&r.length>0&&r[r.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),e.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e,this.above);t&&this.observeIntersection();let r=t||e.geometryChanged,n=e.state.facet(tj);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let o of this.manager.tooltipViews)o.dom.style.position=this.position;r=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let o of this.manager.tooltipViews)this.container.appendChild(o.dom);r=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);r&&this.maybeMeasure()}createTooltip(e,t){let r=e.create(this.view),n=t?t.dom:null;if(r.dom.classList.add("cm-tooltip"),e.arrow&&!r.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let o=document.createElement("div");o.className="cm-tooltip-arrow",r.dom.appendChild(o)}return r.dom.style.position=this.position,r.dom.style.top=hm,r.dom.style.left="0px",this.container.insertBefore(r.dom,n),r.mount&&r.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(r.dom),r}destroy(){var e,t,r;this.view.win.removeEventListener("resize",this.measureSoon);for(let n of this.manager.tooltipViews)n.dom.remove(),(e=n.destroy)===null||e===void 0||e.call(n);this.parent&&this.container.remove(),(t=this.resizeObserver)===null||t===void 0||t.disconnect(),(r=this.intersectionObserver)===null||r===void 0||r.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,r=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:s}=this.manager.tooltipViews[0];if(Ct.gecko)r=s.offsetParent!=this.container.ownerDocument.body;else if(s.style.top==hm&&s.style.left=="0px"){let i=s.getBoundingClientRect();r=Math.abs(i.top+1e4)>1||Math.abs(i.left)>1}}if(r||this.position=="absolute")if(this.parent){let s=this.parent.getBoundingClientRect();s.width&&s.height&&(e=s.width/this.parent.offsetWidth,t=s.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);let n=this.view.scrollDOM.getBoundingClientRect(),o=VA(this.view);return{visible:{left:n.left+o.left,top:n.top+o.top,right:n.right-o.right,bottom:n.bottom-o.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((s,i)=>{let a=this.manager.tooltipViews[i];return a.getCoords?a.getCoords(s.pos):this.view.coordsAtPos(s.pos)}),size:this.manager.tooltipViews.map(({dom:s})=>s.getBoundingClientRect()),space:this.view.state.facet(tj).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:r}}writeMeasure(e){var t;if(e.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let a of this.manager.tooltipViews)a.dom.style.position="absolute"}let{visible:r,space:n,scaleX:o,scaleY:s}=e,i=[];for(let a=0;a=Math.min(r.bottom,n.bottom)||d.rightMath.min(r.right,n.right)+.1)){u.style.top=hm;continue}let f=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,m=f?7:0,v=p.right-p.left,g=(t=GI.get(c))!==null&&t!==void 0?t:p.bottom-p.top,y=c.offset||n2e,b=this.view.textDirection==Co.LTR,w=p.width>n.right-n.left?b?n.left:n.right-p.width:b?Math.max(n.left,Math.min(d.left-(f?14:0)+y.x,n.right-v)):Math.min(Math.max(n.left,d.left-v+(f?14:0)-y.x),n.right-v),k=this.above[a];!l.strictSide&&(k?d.top-g-m-y.yn.bottom)&&k==n.bottom-d.bottom>d.top-n.top&&(k=this.above[a]=!k);let x=(k?d.top-n.top:n.bottom-d.bottom)-m;if(xw&&C.topj&&(j=k?C.top-g-2-m:C.bottom+m+2);if(this.position=="absolute"?(u.style.top=(j-e.parent.top)/s+"px",JI(u,(w-e.parent.left)/o)):(u.style.top=j/s+"px",JI(u,w/o)),f){let C=d.left+(b?y.x:-y.x)-(w+14-7);f.style.left=C/o+"px"}c.overlap!==!0&&i.push({left:w,top:j,right:_,bottom:j+g}),u.classList.toggle("cm-tooltip-above",k),u.classList.toggle("cm-tooltip-below",!k),c.positioned&&c.positioned(e.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let e of this.manager.tooltipViews)e.dom.style.top=hm}},{eventObservers:{scroll(){this.maybeMeasure()}}});function JI(e,t){let r=parseInt(e.style.left,10);(isNaN(r)||Math.abs(t-r)>1)&&(e.style.left=t+"px")}const r2e=jt.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),n2e={x:0,y:0},ox=At.define({enables:[GA,r2e]}),c1=At.define({combine:e=>e.reduce((t,r)=>t.concat(r),[])});class sx{static create(t){return new sx(t)}constructor(t){this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new k9(t,c1,(r,n)=>this.createHostedView(r,n),r=>r.dom.remove())}createHostedView(t,r){let n=t.create(this.view);return n.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(n.dom,r?r.dom.nextSibling:this.dom.firstChild),this.mounted&&n.mount&&n.mount(this.view),n}mount(t){for(let r of this.manager.tooltipViews)r.mount&&r.mount(t);this.mounted=!0}positioned(t){for(let r of this.manager.tooltipViews)r.positioned&&r.positioned(t)}update(t){this.manager.update(t)}destroy(){var t;for(let r of this.manager.tooltipViews)(t=r.destroy)===null||t===void 0||t.call(r)}passProp(t){let r;for(let n of this.manager.tooltipViews){let o=n[t];if(o!==void 0){if(r===void 0)r=o;else if(r!==o)return}}return r}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const o2e=ox.compute([c1],e=>{let t=e.facet(c1);return t.length===0?null:{pos:Math.min(...t.map(r=>r.pos)),end:Math.max(...t.map(r=>{var n;return(n=r.end)!==null&&n!==void 0?n:r.pos})),create:sx.create,above:t[0].above,arrow:t.some(r=>r.arrow)}});class s2e{constructor(t,r,n,o,s){this.view=t,this.source=r,this.field=n,this.setHover=o,this.hoverTime=s,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let t=Date.now()-this.lastMove.time;ta.bottom||r.xa.right+t.defaultCharacterWidth)return;let l=t.bidiSpans(t.state.doc.lineAt(o)).find(u=>u.from<=o&&u.to>=o),c=l&&l.dir==Co.RTL?-1:1;s=r.x{this.pending==a&&(this.pending=null,l&&!(Array.isArray(l)&&!l.length)&&t.dispatch({effects:this.setHover.of(Array.isArray(l)?l:[l])}))},l=>oi(t.state,l,"hover tooltip"))}else i&&!(Array.isArray(i)&&!i.length)&&t.dispatch({effects:this.setHover.of(Array.isArray(i)?i:[i])})}get tooltip(){let t=this.view.plugin(GA),r=t?t.manager.tooltips.findIndex(n=>n.create==sx.create):-1;return r>-1?t.manager.tooltipViews[r]:null}mousemove(t){var r,n;this.lastMove={x:t.clientX,y:t.clientY,target:t.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:o,tooltip:s}=this;if(o.length&&s&&!i2e(s.dom,t)||this.pending){let{pos:i}=o[0]||this.pending,a=(n=(r=o[0])===null||r===void 0?void 0:r.end)!==null&&n!==void 0?n:i;(i==a?this.view.posAtCoords(this.lastMove)!=i:!a2e(this.view,i,a,t.clientX,t.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(t){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:r}=this;if(r.length){let{tooltip:n}=this;n&&n.dom.contains(t.relatedTarget)?this.watchTooltipLeave(n.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(t){let r=n=>{t.removeEventListener("mouseleave",r),this.active.length&&!this.view.dom.contains(n.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};t.addEventListener("mouseleave",r)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const h0=4;function i2e(e,t){let{left:r,right:n,top:o,bottom:s}=e.getBoundingClientRect(),i;if(i=e.querySelector(".cm-tooltip-arrow")){let a=i.getBoundingClientRect();o=Math.min(a.top,o),s=Math.max(a.bottom,s)}return t.clientX>=r-h0&&t.clientX<=n+h0&&t.clientY>=o-h0&&t.clientY<=s+h0}function a2e(e,t,r,n,o,s){let i=e.scrollDOM.getBoundingClientRect(),a=e.documentTop+e.documentPadding.top+e.contentHeight;if(i.left>n||i.righto||Math.min(i.bottom,a)=t&&l<=r}function l2e(e,t={}){let r=Gr.define(),n=js.define({create(){return[]},update(o,s){if(o.length&&(t.hideOnChange&&(s.docChanged||s.selection)?o=[]:t.hideOn&&(o=o.filter(i=>!t.hideOn(s,i))),s.docChanged)){let i=[];for(let a of o){let l=s.changes.mapPos(a.pos,-1,ri.TrackDel);if(l!=null){let c=Object.assign(Object.create(null),a);c.pos=l,c.end!=null&&(c.end=s.changes.mapPos(c.end)),i.push(c)}}o=i}for(let i of s.effects)i.is(r)&&(o=i.value),i.is(c2e)&&(o=[]);return o},provide:o=>c1.from(o)});return{active:n,extension:[n,No.define(o=>new s2e(o,e,n,r,t.hoverTime||300)),o2e]}}function j9(e,t){let r=e.plugin(GA);if(!r)return null;let n=r.manager.tooltips.indexOf(t);return n<0?null:r.manager.tooltipViews[n]}const c2e=Gr.define(),KI=At.define({combine(e){let t,r;for(let n of e)t=t||n.topContainer,r=r||n.bottomContainer;return{topContainer:t,bottomContainer:r}}});function Mg(e,t){let r=e.plugin(_9),n=r?r.specs.indexOf(t):-1;return n>-1?r.panels[n]:null}const _9=No.fromClass(class{constructor(e){this.input=e.state.facet(Lg),this.specs=this.input.filter(r=>r),this.panels=this.specs.map(r=>r(e));let t=e.state.facet(KI);this.top=new m0(e,!0,t.topContainer),this.bottom=new m0(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(r=>r.top)),this.bottom.sync(this.panels.filter(r=>!r.top));for(let r of this.panels)r.dom.classList.add("cm-panel"),r.mount&&r.mount()}update(e){let t=e.state.facet(KI);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new m0(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new m0(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let r=e.state.facet(Lg);if(r!=this.input){let n=r.filter(l=>l),o=[],s=[],i=[],a=[];for(let l of n){let c=this.specs.indexOf(l),u;c<0?(u=l(e.view),a.push(u)):(u=this.panels[c],u.update&&u.update(e)),o.push(u),(u.top?s:i).push(u)}this.specs=n,this.panels=o,this.top.sync(s),this.bottom.sync(i);for(let l of a)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let n of this.panels)n.update&&n.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>jt.scrollMargins.of(t=>{let r=t.plugin(e);return r&&{top:r.top.scrollMargin(),bottom:r.bottom.scrollMargin()}})});class m0{constructor(t,r,n){this.view=t,this.top=r,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(t){for(let r of this.panels)r.destroy&&t.indexOf(r)<0&&r.destroy();this.panels=t,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let r=this.container||this.view.dom;r.insertBefore(this.dom,this.top?r.firstChild:null)}let t=this.dom.firstChild;for(let r of this.panels)if(r.dom.parentNode==this.dom){for(;t!=r.dom;)t=QI(t);t=t.nextSibling}else this.dom.insertBefore(r.dom,t);for(;t;)t=QI(t)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let t of this.classes.split(" "))t&&this.container.classList.remove(t);for(let t of(this.classes=this.view.themeClasses).split(" "))t&&this.container.classList.add(t)}}}function QI(e){let t=e.nextSibling;return e.remove(),t}const Lg=At.define({enables:_9});class Ll extends ip{compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}eq(t){return!1}destroy(t){}}Ll.prototype.elementClass="";Ll.prototype.toDOM=void 0;Ll.prototype.mapMode=ri.TrackBefore;Ll.prototype.startSide=Ll.prototype.endSide=-1;Ll.prototype.point=!0;const cb=At.define(),u2e=At.define(),d2e={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>pn.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},eg=At.define();function S9(e){return[C9(),eg.of(Object.assign(Object.assign({},d2e),e))]}const ZI=At.define({combine:e=>e.some(t=>t)});function C9(e){return[p2e]}const p2e=No.fromClass(class{constructor(e){this.view=e,this.prevViewport=e.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=e.state.facet(eg).map(t=>new YI(e,t));for(let t of this.gutters)this.dom.appendChild(t.dom);this.fixed=!e.state.facet(ZI),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}update(e){if(this.updateGutters(e)){let t=this.prevViewport,r=e.view.viewport,n=Math.min(t.to,r.to)-Math.max(t.from,r.from);this.syncGutters(n<(r.to-r.from)*.8)}e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(ZI)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&this.dom.remove();let r=pn.iter(this.view.state.facet(cb),this.view.viewport.from),n=[],o=this.gutters.map(s=>new f2e(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks)if(n.length&&(n=[]),Array.isArray(s.type)){let i=!0;for(let a of s.type)if(a.type==ii.Text&&i){RS(r,n,a.from);for(let l of o)l.line(this.view,a,n);i=!1}else if(a.widget)for(let l of o)l.widget(this.view,a)}else if(s.type==ii.Text){RS(r,n,s.from);for(let i of o)i.line(this.view,s,n)}else if(s.widget)for(let i of o)i.widget(this.view,s);for(let s of o)s.finish();e&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(e){let t=e.startState.facet(eg),r=e.state.facet(eg),n=e.docChanged||e.heightChanged||e.viewportChanged||!pn.eq(e.startState.facet(cb),e.state.facet(cb),e.view.viewport.from,e.view.viewport.to);if(t==r)for(let o of this.gutters)o.update(e)&&(n=!0);else{n=!0;let o=[];for(let s of r){let i=t.indexOf(s);i<0?o.push(new YI(this.view,s)):(this.gutters[i].update(e),o.push(this.gutters[i]))}for(let s of this.gutters)s.dom.remove(),o.indexOf(s)<0&&s.destroy();for(let s of o)this.dom.appendChild(s.dom);this.gutters=o}return n}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove()}},{provide:e=>jt.scrollMargins.of(t=>{let r=t.plugin(e);return!r||r.gutters.length==0||!r.fixed?null:t.textDirection==Co.LTR?{left:r.dom.offsetWidth*t.scaleX}:{right:r.dom.offsetWidth*t.scaleX}})});function XI(e){return Array.isArray(e)?e:[e]}function RS(e,t,r){for(;e.value&&e.from<=r;)e.from==r&&t.push(e.value),e.next()}class f2e{constructor(t,r,n){this.gutter=t,this.height=n,this.i=0,this.cursor=pn.iter(t.markers,r.from)}addElement(t,r,n){let{gutter:o}=this,s=(r.top-this.height)/t.scaleY,i=r.height/t.scaleY;if(this.i==o.elements.length){let a=new A9(t,i,s,n);o.elements.push(a),o.dom.appendChild(a.dom)}else o.elements[this.i].update(t,i,s,n);this.height=r.bottom,this.i++}line(t,r,n){let o=[];RS(this.cursor,o,r.from),n.length&&(o=o.concat(n));let s=this.gutter.config.lineMarker(t,r,o);s&&o.unshift(s);let i=this.gutter;o.length==0&&!i.config.renderEmptyElements||this.addElement(t,r,o)}widget(t,r){let n=this.gutter.config.widgetMarker(t,r.widget,r),o=n?[n]:null;for(let s of t.state.facet(u2e)){let i=s(t,r.widget,r);i&&(o||(o=[])).push(i)}o&&this.addElement(t,r,o)}finish(){let t=this.gutter;for(;t.elements.length>this.i;){let r=t.elements.pop();t.dom.removeChild(r.dom),r.destroy()}}}class YI{constructor(t,r){this.view=t,this.config=r,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in r.domEventHandlers)this.dom.addEventListener(n,o=>{let s=o.target,i;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let l=s.getBoundingClientRect();i=(l.top+l.bottom)/2}else i=o.clientY;let a=t.lineBlockAtHeight(i-t.documentTop);r.domEventHandlers[n](t,a,o)&&o.preventDefault()});this.markers=XI(r.markers(t)),r.initialSpacer&&(this.spacer=new A9(t,0,0,[r.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(t){let r=this.markers;if(this.markers=XI(this.config.markers(t.view)),this.spacer&&this.config.updateSpacer){let o=this.config.updateSpacer(this.spacer.markers[0],t);o!=this.spacer.markers[0]&&this.spacer.update(t.view,0,0,[o])}let n=t.view.viewport;return!pn.eq(this.markers,r,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(t):!1)}destroy(){for(let t of this.elements)t.destroy()}}class A9{constructor(t,r,n,o){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(t,r,n,o)}update(t,r,n,o){this.height!=r&&(this.height=r,this.dom.style.height=r+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),h2e(this.markers,o)||this.setMarkers(t,o)}setMarkers(t,r){let n="cm-gutterElement",o=this.dom.firstChild;for(let s=0,i=0;;){let a=i,l=ss(a,l,c)||i(a,l,c):i}return n}})}});class rj extends Ll{constructor(t){super(),this.number=t}eq(t){return this.number==t.number}toDOM(){return document.createTextNode(this.number)}}function nj(e,t){return e.state.facet(_f).formatNumber(t,e.state)}const v2e=eg.compute([_f],e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(t){return t.state.facet(m2e)},lineMarker(t,r,n){return n.some(o=>o.toDOM)?null:new rj(nj(t,t.state.doc.lineAt(r.from).number))},widgetMarker:(t,r,n)=>{for(let o of t.state.facet(g2e)){let s=o(t,r,n);if(s)return s}return null},lineMarkerChange:t=>t.startState.facet(_f)!=t.state.facet(_f),initialSpacer(t){return new rj(nj(t,e4(t.state.doc.lines)))},updateSpacer(t,r){let n=nj(r.view,e4(r.view.state.doc.lines));return n==t.number?t:new rj(n)},domEventHandlers:e.facet(_f).domEventHandlers}));function y2e(e={}){return[_f.of(e),C9(),v2e]}function e4(e){let t=9;for(;t{let t=[],r=-1;for(let n of e.selection.ranges){let o=e.doc.lineAt(n.head).from;o>r&&(r=o,t.push(b2e.range(o)))}return pn.of(t)});function x2e(){return w2e}const E9=1024;let k2e=0;class oj{constructor(t,r){this.from=t,this.to=r}}class rn{constructor(t={}){this.id=k2e++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(t){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof t!="function"&&(t=ji.match(t)),r=>{let n=t(r);return n===void 0?null:[this,n]}}}rn.closedBy=new rn({deserialize:e=>e.split(" ")});rn.openedBy=new rn({deserialize:e=>e.split(" ")});rn.group=new rn({deserialize:e=>e.split(" ")});rn.isolate=new rn({deserialize:e=>{if(e&&e!="rtl"&&e!="ltr"&&e!="auto")throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}});rn.contextHash=new rn({perNode:!0});rn.lookAhead=new rn({perNode:!0});rn.mounted=new rn({perNode:!0});class u1{constructor(t,r,n){this.tree=t,this.overlay=r,this.parser=n}static get(t){return t&&t.props&&t.props[rn.mounted.id]}}const j2e=Object.create(null);class ji{constructor(t,r,n,o=0){this.name=t,this.props=r,this.id=n,this.flags=o}static define(t){let r=t.props&&t.props.length?Object.create(null):j2e,n=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(t.name==null?8:0),o=new ji(t.name||"",r,t.id,n);if(t.props){for(let s of t.props)if(Array.isArray(s)||(s=s(o)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");r[s[0].id]=s[1]}}return o}prop(t){return this.props[t.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(t){if(typeof t=="string"){if(this.name==t)return!0;let r=this.prop(rn.group);return r?r.indexOf(t)>-1:!1}return this.id==t}static match(t){let r=Object.create(null);for(let n in t)for(let o of n.split(" "))r[o]=t[n];return n=>{for(let o=n.prop(rn.group),s=-1;s<(o?o.length:0);s++){let i=r[s<0?n.name:o[s]];if(i)return i}}}}ji.none=new ji("",Object.create(null),0,8);class JA{constructor(t){this.types=t;for(let r=0;r0;for(let l=this.cursor(i|gs.IncludeAnonymous);;){let c=!1;if(l.from<=s&&l.to>=o&&(!a&&l.type.isAnonymous||r(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&n&&(a||!l.type.isAnonymous)&&n(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(t){return t.perNode?this.props?this.props[t.id]:void 0:this.type.prop(t)}get propValues(){let t=[];if(this.props)for(let r in this.props)t.push([+r,this.props[r]]);return t}balance(t={}){return this.children.length<=8?this:ZA(ji.none,this.children,this.positions,0,this.children.length,0,this.length,(r,n,o)=>new ns(this.type,r,n,o,this.propValues),t.makeTree||((r,n,o)=>new ns(ji.none,r,n,o)))}static build(t){return A2e(t)}}ns.empty=new ns(ji.none,[],[],0);class KA{constructor(t,r){this.buffer=t,this.index=r}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new KA(this.buffer,this.index)}}class Zu{constructor(t,r,n){this.buffer=t,this.length=r,this.set=n}get type(){return ji.none}toString(){let t=[];for(let r=0;r0));l=i[l+3]);return a}slice(t,r,n){let o=this.buffer,s=new Uint16Array(r-t),i=0;for(let a=t,l=0;a=t&&rt;case 1:return r<=t&&n>t;case 2:return n>t;case 4:return!0}}function Ng(e,t,r,n){for(var o;e.from==e.to||(r<1?e.from>=t:e.from>t)||(r>-1?e.to<=t:e.to0?a.length:-1;t!=c;t+=r){let u=a[t],d=l[t]+i.from;if(O9(o,n,d,d+u.length)){if(u instanceof Zu){if(s&gs.ExcludeBuffers)continue;let p=u.findChild(0,u.buffer.length,r,n-d,o);if(p>-1)return new ju(new _2e(i,u,t,d),null,p)}else if(s&gs.IncludeAnonymous||!u.type.isAnonymous||QA(u)){let p;if(!(s&gs.IgnoreMounts)&&(p=u1.get(u))&&!p.overlay)return new fa(p.tree,d,t,i);let f=new fa(u,d,t,i);return s&gs.IncludeAnonymous||!f.type.isAnonymous?f:f.nextChild(r<0?u.children.length-1:0,r,n,o)}}}if(s&gs.IncludeAnonymous||!i.type.isAnonymous||(i.index>=0?t=i.index+r:t=r<0?-1:i._parent._tree.children.length,i=i._parent,!i))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(t){return this.nextChild(0,1,t,2)}childBefore(t){return this.nextChild(this._tree.children.length-1,-1,t,-2)}enter(t,r,n=0){let o;if(!(n&gs.IgnoreOverlays)&&(o=u1.get(this._tree))&&o.overlay){let s=t-this.from;for(let{from:i,to:a}of o.overlay)if((r>0?i<=s:i=s:a>s))return new fa(o.tree,o.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,r,n)}nextSignificantParent(){let t=this;for(;t.type.isAnonymous&&t._parent;)t=t._parent;return t}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function r4(e,t,r,n){let o=e.cursor(),s=[];if(!o.firstChild())return s;if(r!=null){for(let i=!1;!i;)if(i=o.type.is(r),!o.nextSibling())return s}for(;;){if(n!=null&&o.type.is(n))return s;if(o.type.is(t)&&s.push(o.node),!o.nextSibling())return n==null?s:[]}}function BS(e,t,r=t.length-1){for(let n=e;r>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(t[r]&&t[r]!=n.name)return!1;r--}}return!0}class _2e{constructor(t,r,n,o){this.parent=t,this.buffer=r,this.index=n,this.start=o}}class ju extends $9{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(t,r,n){super(),this.context=t,this._parent=r,this.index=n,this.type=t.buffer.set.types[t.buffer.buffer[n]]}child(t,r,n){let{buffer:o}=this.context,s=o.findChild(this.index+4,o.buffer[this.index+3],t,r-this.context.start,n);return s<0?null:new ju(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(t){return this.child(1,t,2)}childBefore(t){return this.child(-1,t,-2)}enter(t,r,n=0){if(n&gs.ExcludeBuffers)return null;let{buffer:o}=this.context,s=o.findChild(this.index+4,o.buffer[this.index+3],r>0?1:-1,t-this.context.start,r);return s<0?null:new ju(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(t){return this._parent?null:this.context.parent.nextChild(this.context.index+t,t,0,4)}get nextSibling(){let{buffer:t}=this.context,r=t.buffer[this.index+3];return r<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new ju(this.context,this._parent,r):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,r=this._parent?this._parent.index+4:0;return this.index==r?this.externalSibling(-1):new ju(this.context,this._parent,t.findChild(r,this.index,-1,0,4))}get tree(){return null}toTree(){let t=[],r=[],{buffer:n}=this.context,o=this.index+4,s=n.buffer[this.index+3];if(s>o){let i=n.buffer[this.index+1];t.push(n.slice(o,s,i)),r.push(0)}return new ns(this.type,t,r,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function T9(e){if(!e.length)return null;let t=0,r=e[0];for(let s=1;sr.from||i.to=t){let a=new fa(i.tree,i.overlay[0].from+s.from,-1,s);(o||(o=[n])).push(Ng(a,t,r,!1))}}return o?T9(o):n}class qS{get name(){return this.type.name}constructor(t,r=0){if(this.mode=r,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,t instanceof fa)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(let n=t._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=t,this.yieldBuf(t.index)}}yieldNode(t){return t?(this._tree=t,this.type=t.type,this.from=t.from,this.to=t.to,!0):!1}yieldBuf(t,r){this.index=t;let{start:n,buffer:o}=this.buffer;return this.type=r||o.set.types[o.buffer[t]],this.from=n+o.buffer[t+1],this.to=n+o.buffer[t+2],!0}yield(t){return t?t instanceof fa?(this.buffer=null,this.yieldNode(t)):(this.buffer=t.context,this.yieldBuf(t.index,t.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(t,r,n){if(!this.buffer)return this.yield(this._tree.nextChild(t<0?this._tree._tree.children.length-1:0,t,r,n,this.mode));let{buffer:o}=this.buffer,s=o.findChild(this.index+4,o.buffer[this.index+3],t,r-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(t){return this.enterChild(1,t,2)}childBefore(t){return this.enterChild(-1,t,-2)}enter(t,r,n=this.mode){return this.buffer?n&gs.ExcludeBuffers?!1:this.enterChild(1,t,r):this.yield(this._tree.enter(t,r,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&gs.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let t=this.mode&gs.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(t)}sibling(t){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+t,t,0,4,this.mode)):!1;let{buffer:r}=this.buffer,n=this.stack.length-1;if(t<0){let o=n<0?0:this.stack[n]+4;if(this.index!=o)return this.yieldBuf(r.findChild(o,this.index,-1,0,4))}else{let o=r.buffer[this.index+3];if(o<(n<0?r.buffer.length:r.buffer[this.stack[n]+3]))return this.yieldBuf(o)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+t,t,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(t){let r,n,{buffer:o}=this;if(o){if(t>0){if(this.index-1)for(let s=r+t,i=t<0?-1:n._tree.children.length;s!=i;s+=t){let a=n._tree.children[s];if(this.mode&gs.IncludeAnonymous||a instanceof Zu||!a.type.isAnonymous||QA(a))return!1}return!0}move(t,r){if(r&&this.enterChild(t,0,4))return!0;for(;;){if(this.sibling(t))return!0;if(this.atLastNode(t)||!this.parent())return!1}}next(t=!0){return this.move(1,t)}prev(t=!0){return this.move(-1,t)}moveTo(t,r=0){for(;(this.from==this.to||(r<1?this.from>=t:this.from>t)||(r>-1?this.to<=t:this.to=0;){for(let i=t;i;i=i._parent)if(i.index==o){if(o==this.index)return i;r=i,n=s+1;break e}o=this.stack[--s]}for(let o=n;o=0;s--){if(s<0)return BS(this._tree,t,o);let i=n[r.buffer[this.stack[s]]];if(!i.isAnonymous){if(t[o]&&t[o]!=i.name)return!1;o--}}return!0}}function QA(e){return e.children.some(t=>t instanceof Zu||!t.type.isAnonymous||QA(t))}function A2e(e){var t;let{buffer:r,nodeSet:n,maxBufferLength:o=E9,reused:s=[],minRepeatType:i=n.types.length}=e,a=Array.isArray(r)?new KA(r,r.length):r,l=n.types,c=0,u=0;function d(x,j,_,C,A,I){let{id:M,start:N,end:F,size:z}=a,L=u,X=c;for(;z<0;)if(a.next(),z==-1){let B=s[M];_.push(B),C.push(N-x);return}else if(z==-3){c=M;return}else if(z==-4){u=M;return}else throw new RangeError(`Unrecognized record size: ${z}`);let V=l[M],J,oe,H=N-x;if(F-N<=o&&(oe=g(a.pos-j,A))){let B=new Uint16Array(oe.size-oe.skip),se=a.pos-oe.size,q=B.length;for(;a.pos>se;)q=y(oe.start,B,q);J=new Zu(B,F-oe.start,n),H=oe.start-x}else{let B=a.pos-z;a.next();let se=[],q=[],O=M>=i?M:-1,D=0,Z=F;for(;a.pos>B;)O>=0&&a.id==O&&a.size>=0?(a.end<=Z-o&&(m(se,q,N,D,a.end,Z,O,L,X),D=se.length,Z=a.end),a.next()):I>2500?p(N,B,se,q):d(N,B,se,q,O,I+1);if(O>=0&&D>0&&D-1&&D>0){let Se=f(V,X);J=ZA(V,se,q,0,se.length,0,F-N,Se,Se)}else J=v(V,se,q,F-N,L-F,X)}_.push(J),C.push(H)}function p(x,j,_,C){let A=[],I=0,M=-1;for(;a.pos>j;){let{id:N,start:F,end:z,size:L}=a;if(L>4)a.next();else{if(M>-1&&F=0;z-=3)N[L++]=A[z],N[L++]=A[z+1]-F,N[L++]=A[z+2]-F,N[L++]=L;_.push(new Zu(N,A[2]-F,n)),C.push(F-x)}}function f(x,j){return(_,C,A)=>{let I=0,M=_.length-1,N,F;if(M>=0&&(N=_[M])instanceof ns){if(!M&&N.type==x&&N.length==A)return N;(F=N.prop(rn.lookAhead))&&(I=C[M]+N.length+F)}return v(x,_,C,A,I,j)}}function m(x,j,_,C,A,I,M,N,F){let z=[],L=[];for(;x.length>C;)z.push(x.pop()),L.push(j.pop()+_-A);x.push(v(n.types[M],z,L,I-A,N-I,F)),j.push(A-_)}function v(x,j,_,C,A,I,M){if(I){let N=[rn.contextHash,I];M=M?[N].concat(M):[N]}if(A>25){let N=[rn.lookAhead,A];M=M?[N].concat(M):[N]}return new ns(x,j,_,C,M)}function g(x,j){let _=a.fork(),C=0,A=0,I=0,M=_.end-o,N={size:0,start:0,skip:0};e:for(let F=_.pos-x;_.pos>F;){let z=_.size;if(_.id==j&&z>=0){N.size=C,N.start=A,N.skip=I,I+=4,C+=4,_.next();continue}let L=_.pos-z;if(z<0||L=i?4:0,V=_.start;for(_.next();_.pos>L;){if(_.size<0)if(_.size==-3)X+=4;else break e;else _.id>=i&&(X+=4);_.next()}A=V,C+=z,I+=X}return(j<0||C==x)&&(N.size=C,N.start=A,N.skip=I),N.size>4?N:void 0}function y(x,j,_){let{id:C,start:A,end:I,size:M}=a;if(a.next(),M>=0&&C4){let F=a.pos-(M-4);for(;a.pos>F;)_=y(x,j,_)}j[--_]=N,j[--_]=I-x,j[--_]=A-x,j[--_]=C}else M==-3?c=C:M==-4&&(u=C);return _}let b=[],w=[];for(;a.pos>0;)d(e.start||0,e.bufferStart||0,b,w,-1,0);let k=(t=e.length)!==null&&t!==void 0?t:b.length?w[0]+b[0].length:0;return new ns(l[e.topID],b.reverse(),w.reverse(),k)}const n4=new WeakMap;function ub(e,t){if(!e.isAnonymous||t instanceof Zu||t.type!=e)return 1;let r=n4.get(t);if(r==null){r=1;for(let n of t.children){if(n.type!=e||!(n instanceof ns)){r=1;break}r+=ub(e,n)}n4.set(t,r)}return r}function ZA(e,t,r,n,o,s,i,a,l){let c=0;for(let m=n;m=u)break;j+=_}if(w==k+1){if(j>u){let _=m[k];f(_.children,_.positions,0,_.children.length,v[k]+b);continue}d.push(m[k])}else{let _=v[w-1]+m[w-1].length-x;d.push(ZA(e,m,v,k,w,x,_,null,l))}p.push(x+b-s)}}return f(t,r,n,o,0),(a||l)(d,p,i)}class Wd{constructor(t,r,n,o,s=!1,i=!1){this.from=t,this.to=r,this.tree=n,this.offset=o,this.open=(s?1:0)|(i?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(t,r=[],n=!1){let o=[new Wd(0,t.length,t,0,!1,n)];for(let s of r)s.to>t.length&&o.push(s);return o}static applyChanges(t,r,n=128){if(!r.length)return t;let o=[],s=1,i=t.length?t[0]:null;for(let a=0,l=0,c=0;;a++){let u=a=n)for(;i&&i.from=p.from||d<=p.to||c){let f=Math.max(p.from,l)-c,m=Math.min(p.to,d)-c;p=f>=m?null:new Wd(f,m,p.tree,p.offset+c,a>0,!!u)}if(p&&o.push(p),i.to>d)break;i=snew oj(o.from,o.to)):[new oj(0,0)]:[new oj(0,t.length)],this.createParse(t,r||[],n)}parse(t,r,n){let o=this.startParse(t,r,n);for(;;){let s=o.advance();if(s)return s}}}class E2e{constructor(t){this.string=t}get length(){return this.string.length}chunk(t){return this.string.slice(t)}get lineChunks(){return!1}read(t,r){return this.string.slice(t,r)}}new rn({perNode:!0});let O2e=0;class ta{constructor(t,r,n,o){this.name=t,this.set=r,this.base=n,this.modified=o,this.id=O2e++}toString(){let{name:t}=this;for(let r of this.modified)r.name&&(t=`${r.name}(${t})`);return t}static define(t,r){let n=typeof t=="string"?t:"?";if(t instanceof ta&&(r=t),r==null?void 0:r.base)throw new Error("Can not derive from a modified tag");let o=new ta(n,[],null,[]);if(o.set.push(o),r)for(let s of r.set)o.set.push(s);return o}static defineModifier(t){let r=new d1(t);return n=>n.modified.indexOf(r)>-1?n:d1.get(n.base||n,n.modified.concat(r).sort((o,s)=>o.id-s.id))}}let $2e=0;class d1{constructor(t){this.name=t,this.instances=[],this.id=$2e++}static get(t,r){if(!r.length)return t;let n=r[0].instances.find(a=>a.base==t&&T2e(r,a.modified));if(n)return n;let o=[],s=new ta(t.name,o,t,r);for(let a of r)a.instances.push(s);let i=P2e(r);for(let a of t.set)if(!a.modified.length)for(let l of i)o.push(d1.get(a,l));return s}}function T2e(e,t){return e.length==t.length&&e.every((r,n)=>r==t[n])}function P2e(e){let t=[[]];for(let r=0;rn.length-r.length)}function I9(e){let t=Object.create(null);for(let r in e){let n=e[r];Array.isArray(n)||(n=[n]);for(let o of r.split(" "))if(o){let s=[],i=2,a=o;for(let d=0;;){if(a=="..."&&d>0&&d+3==o.length){i=1;break}let p=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!p)throw new RangeError("Invalid path: "+o);if(s.push(p[0]=="*"?"":p[0][0]=='"'?JSON.parse(p[0]):p[0]),d+=p[0].length,d==o.length)break;let f=o[d++];if(d==o.length&&f=="!"){i=0;break}if(f!="/")throw new RangeError("Invalid path: "+o);a=o.slice(d)}let l=s.length-1,c=s[l];if(!c)throw new RangeError("Invalid path: "+o);let u=new p1(n,i,l>0?s.slice(0,l):null);t[c]=u.sort(t[c])}}return D9.add(t)}const D9=new rn;let p1=class{constructor(e,t,r,n){this.tags=e,this.mode=t,this.context=r,this.next=n}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let i=o;for(let a of s)for(let l of a.set){let c=r[l.id];if(c){i=i?i+" "+c:c;break}}return i},scope:n}}function I2e(e,t){let r=null;for(let n of e){let o=n.style(t);o&&(r=r?r+" "+o:o)}return r}function D2e(e,t,r,n=0,o=e.length){let s=new M2e(n,Array.isArray(t)?t:[t],r);s.highlightRange(e.cursor(),n,o,"",s.highlighters),s.flush(o)}class M2e{constructor(t,r,n){this.at=t,this.highlighters=r,this.span=n,this.class=""}startSpan(t,r){r!=this.class&&(this.flush(t),t>this.at&&(this.at=t),this.class=r)}flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)}highlightRange(t,r,n,o,s){let{type:i,from:a,to:l}=t;if(a>=n||l<=r)return;i.isTop&&(s=this.highlighters.filter(f=>!f.scope||f.scope(i)));let c=o,u=L2e(t)||p1.empty,d=I2e(s,u.tags);if(d&&(c&&(c+=" "),c+=d,u.mode==1&&(o+=(o?" ":"")+d)),this.startSpan(Math.max(r,a),c),u.opaque)return;let p=t.tree&&t.tree.prop(rn.mounted);if(p&&p.overlay){let f=t.node.enter(p.overlay[0].from+a,1),m=this.highlighters.filter(g=>!g.scope||g.scope(p.tree.type)),v=t.firstChild();for(let g=0,y=a;;g++){let b=g=w||!t.nextSibling())););if(!b||w>n)break;y=b.to+a,y>r&&(this.highlightRange(f.cursor(),Math.max(r,b.from+a),Math.min(n,y),"",m),this.startSpan(Math.min(n,y),c))}v&&t.parent()}else if(t.firstChild()){p&&(o="");do if(!(t.to<=r)){if(t.from>=n)break;this.highlightRange(t,r,n,o,s),this.startSpan(Math.min(n,t.to),c)}while(t.nextSibling());t.parent()}}}function L2e(e){let t=e.type.prop(D9);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}const mt=ta.define,v0=mt(),du=mt(),o4=mt(du),s4=mt(du),pu=mt(),y0=mt(pu),sj=mt(pu),dl=mt(),kd=mt(dl),ll=mt(),cl=mt(),zS=mt(),mm=mt(zS),b0=mt(),ct={comment:v0,lineComment:mt(v0),blockComment:mt(v0),docComment:mt(v0),name:du,variableName:mt(du),typeName:o4,tagName:mt(o4),propertyName:s4,attributeName:mt(s4),className:mt(du),labelName:mt(du),namespace:mt(du),macroName:mt(du),literal:pu,string:y0,docString:mt(y0),character:mt(y0),attributeValue:mt(y0),number:sj,integer:mt(sj),float:mt(sj),bool:mt(pu),regexp:mt(pu),escape:mt(pu),color:mt(pu),url:mt(pu),keyword:ll,self:mt(ll),null:mt(ll),atom:mt(ll),unit:mt(ll),modifier:mt(ll),operatorKeyword:mt(ll),controlKeyword:mt(ll),definitionKeyword:mt(ll),moduleKeyword:mt(ll),operator:cl,derefOperator:mt(cl),arithmeticOperator:mt(cl),logicOperator:mt(cl),bitwiseOperator:mt(cl),compareOperator:mt(cl),updateOperator:mt(cl),definitionOperator:mt(cl),typeOperator:mt(cl),controlOperator:mt(cl),punctuation:zS,separator:mt(zS),bracket:mm,angleBracket:mt(mm),squareBracket:mt(mm),paren:mt(mm),brace:mt(mm),content:dl,heading:kd,heading1:mt(kd),heading2:mt(kd),heading3:mt(kd),heading4:mt(kd),heading5:mt(kd),heading6:mt(kd),contentSeparator:mt(dl),list:mt(dl),quote:mt(dl),emphasis:mt(dl),strong:mt(dl),link:mt(dl),monospace:mt(dl),strikethrough:mt(dl),inserted:mt(),deleted:mt(),changed:mt(),invalid:mt(),meta:b0,documentMeta:mt(b0),annotation:mt(b0),processingInstruction:mt(b0),definition:ta.defineModifier("definition"),constant:ta.defineModifier("constant"),function:ta.defineModifier("function"),standard:ta.defineModifier("standard"),local:ta.defineModifier("local"),special:ta.defineModifier("special")};for(let e in ct){let t=ct[e];t instanceof ta&&(t.name=e)}M9([{tag:ct.link,class:"tok-link"},{tag:ct.heading,class:"tok-heading"},{tag:ct.emphasis,class:"tok-emphasis"},{tag:ct.strong,class:"tok-strong"},{tag:ct.keyword,class:"tok-keyword"},{tag:ct.atom,class:"tok-atom"},{tag:ct.bool,class:"tok-bool"},{tag:ct.url,class:"tok-url"},{tag:ct.labelName,class:"tok-labelName"},{tag:ct.inserted,class:"tok-inserted"},{tag:ct.deleted,class:"tok-deleted"},{tag:ct.literal,class:"tok-literal"},{tag:ct.string,class:"tok-string"},{tag:ct.number,class:"tok-number"},{tag:[ct.regexp,ct.escape,ct.special(ct.string)],class:"tok-string2"},{tag:ct.variableName,class:"tok-variableName"},{tag:ct.local(ct.variableName),class:"tok-variableName tok-local"},{tag:ct.definition(ct.variableName),class:"tok-variableName tok-definition"},{tag:ct.special(ct.variableName),class:"tok-variableName2"},{tag:ct.definition(ct.propertyName),class:"tok-propertyName tok-definition"},{tag:ct.typeName,class:"tok-typeName"},{tag:ct.namespace,class:"tok-namespace"},{tag:ct.className,class:"tok-className"},{tag:ct.macroName,class:"tok-macroName"},{tag:ct.propertyName,class:"tok-propertyName"},{tag:ct.operator,class:"tok-operator"},{tag:ct.comment,class:"tok-comment"},{tag:ct.meta,class:"tok-meta"},{tag:ct.invalid,class:"tok-invalid"},{tag:ct.punctuation,class:"tok-punctuation"}]);var ij;const Sf=new rn;function N2e(e){return At.define({combine:e?t=>t.concat(e):void 0})}const R2e=new rn;class Da{constructor(t,r,n=[],o=""){this.data=t,this.name=o,an.prototype.hasOwnProperty("tree")||Object.defineProperty(an.prototype,"tree",{get(){return Ws(this)}}),this.parser=r,this.extension=[Xu.of(this),an.languageData.of((s,i,a)=>{let l=i4(s,i,a),c=l.type.prop(Sf);if(!c)return[];let u=s.facet(c),d=l.type.prop(R2e);if(d){let p=l.resolve(i-l.from,a);for(let f of d)if(f.test(p,s)){let m=s.facet(f.facet);return f.type=="replace"?m:m.concat(u)}}return u})].concat(n)}isActiveAt(t,r,n=-1){return i4(t,r,n).type.prop(Sf)==this.data}findRegions(t){let r=t.facet(Xu);if((r==null?void 0:r.data)==this.data)return[{from:0,to:t.doc.length}];if(!r||!r.allowsNesting)return[];let n=[],o=(s,i)=>{if(s.prop(Sf)==this.data){n.push({from:i,to:i+s.length});return}let a=s.prop(rn.mounted);if(a){if(a.tree.prop(Sf)==this.data){if(a.overlay)for(let l of a.overlay)n.push({from:l.from+i,to:l.to+i});else n.push({from:i,to:i+s.length});return}else if(a.overlay){let l=n.length;if(o(a.tree,a.overlay[0].from+i),n.length>l)return}}for(let l=0;ln.isTop?r:void 0)]}),t.name)}configure(t,r){return new f1(this.data,this.parser.configure(t),r||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Ws(e){let t=e.field(Da.state,!1);return t?t.tree:ns.empty}class B2e{constructor(t){this.doc=t,this.cursorPos=0,this.string="",this.cursor=t.iter()}get length(){return this.doc.length}syncTo(t){return this.string=this.cursor.next(t-this.cursorPos).value,this.cursorPos=t+this.string.length,this.cursorPos-this.string.length}chunk(t){return this.syncTo(t),this.string}get lineChunks(){return!0}read(t,r){let n=this.cursorPos-this.string.length;return t=this.cursorPos?this.doc.sliceString(t,r):this.string.slice(t-n,r-n)}}let gm=null;class h1{constructor(t,r,n=[],o,s,i,a,l){this.parser=t,this.state=r,this.fragments=n,this.tree=o,this.treeLen=s,this.viewport=i,this.skipped=a,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(t,r,n){return new h1(t,r,[],ns.empty,0,n,[],null)}startParse(){return this.parser.startParse(new B2e(this.state.doc),this.fragments)}work(t,r){return r!=null&&r>=this.state.doc.length&&(r=void 0),this.tree!=ns.empty&&this.isDone(r??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof t=="number"){let o=Date.now()+t;t=()=>Date.now()>o}for(this.parse||(this.parse=this.startParse()),r!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>r)&&r=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&this.parse.stopAt(t),this.withContext(()=>{for(;!(r=this.parse.advance()););}),this.treeLen=t,this.tree=r,this.fragments=this.withoutTempSkipped(Wd.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(t){let r=gm;gm=this;try{return t()}finally{gm=r}}withoutTempSkipped(t){for(let r;r=this.tempSkipped.pop();)t=a4(t,r.from,r.to);return t}changes(t,r){let{fragments:n,tree:o,treeLen:s,viewport:i,skipped:a}=this;if(this.takeTree(),!t.empty){let l=[];if(t.iterChangedRanges((c,u,d,p)=>l.push({fromA:c,toA:u,fromB:d,toB:p})),n=Wd.applyChanges(n,l),o=ns.empty,s=0,i={from:t.mapPos(i.from,-1),to:t.mapPos(i.to,1)},this.skipped.length){a=[];for(let c of this.skipped){let u=t.mapPos(c.from,1),d=t.mapPos(c.to,-1);ut.from&&(this.fragments=a4(this.fragments,o,s),this.skipped.splice(n--,1))}return this.skipped.length>=r?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(t,r){this.skipped.push({from:t,to:r})}static getSkippingParser(t){return new class extends P9{createParse(r,n,o){let s=o[0].from,i=o[o.length-1].to;return{parsedPos:s,advance(){let a=gm;if(a){for(let l of o)a.tempSkipped.push(l);t&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,t]):t)}return this.parsedPos=i,new ns(ji.none,[],[],i-s)},stoppedAt:null,stopAt(){}}}}}isDone(t){t=Math.min(t,this.state.doc.length);let r=this.fragments;return this.treeLen>=t&&r.length&&r[0].from==0&&r[0].to>=t}static get(){return gm}}function a4(e,t,r){return Wd.applyChanges(e,[{fromA:t,toA:r,fromB:t,toB:r}])}class ph{constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let r=this.context.changes(t.changes,t.state),n=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),r.viewport.to);return r.work(20,n)||r.takeTree(),new ph(r)}static init(t){let r=Math.min(3e3,t.doc.length),n=h1.create(t.facet(Xu).parser,t,{from:0,to:r});return n.work(20,r)||n.takeTree(),new ph(n)}}Da.state=js.define({create:ph.init,update(e,t){for(let r of t.effects)if(r.is(Da.setState))return r.value;return t.startState.facet(Xu)!=t.state.facet(Xu)?ph.init(t.state):e.apply(t)}});let L9=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};typeof requestIdleCallback<"u"&&(L9=e=>{let t=-1,r=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(r):cancelIdleCallback(t)});const aj=typeof navigator<"u"&&!((ij=navigator.scheduling)===null||ij===void 0)&&ij.isInputPending?()=>navigator.scheduling.isInputPending():null,q2e=No.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(Da.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(Da.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=L9(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndn+1e3,a=o.context.work(()=>aj&&aj()||Date.now()>s,n+(i?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:Da.setState.of(new ph(o.context))})),this.chunkBudget>0&&!(a&&!i)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>oi(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Xu=At.define({combine(e){return e.length?e[0]:null},enables:e=>[Da.state,q2e,jt.contentAttributes.compute([e],t=>{let r=t.facet(e);return r&&r.name?{"data-language":r.name}:{}})]});class z2e{constructor(t,r=[]){this.language=t,this.support=r,this.extension=[t,r]}}const F2e=At.define(),ix=At.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(r=>r!=t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function Yu(e){let t=e.facet(ix);return t.charCodeAt(0)==9?e.tabSize*t.length:t.length}function Rg(e,t){let r="",n=e.tabSize,o=e.facet(ix)[0];if(o==" "){for(;t>=n;)r+=" ",t-=n;o=" "}for(let s=0;s=t?V2e(e,r,t):null}class ax{constructor(t,r={}){this.state=t,this.options=r,this.unit=Yu(t)}lineAt(t,r=1){let n=this.state.doc.lineAt(t),{simulateBreak:o,simulateDoubleBreak:s}=this.options;return o!=null&&o>=n.from&&o<=n.to?s&&o==t?{text:"",from:t}:(r<0?o-1&&(s+=i-this.countColumn(n,n.search(/\S|$/))),s}countColumn(t,r=t.length){return Ih(t,this.state.tabSize,r)}lineIndent(t,r=1){let{text:n,from:o}=this.lineAt(t,r),s=this.options.overrideIndentation;if(s){let i=s(o);if(i>-1)return i}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const N9=new rn;function V2e(e,t,r){let n=t.resolveStack(r),o=t.resolveInner(r,-1).resolve(r,0).enterUnfinishedNodesBefore(r);if(o!=n.node){let s=[];for(let i=o;i&&!(i.from==n.node.from&&i.type==n.node.type);i=i.parent)s.push(i);for(let i=s.length-1;i>=0;i--)n={node:s[i],next:n}}return R9(n,e,r)}function R9(e,t,r){for(let n=e;n;n=n.next){let o=H2e(n.node);if(o)return o(YA.create(t,r,n))}return 0}function U2e(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}function H2e(e){let t=e.type.prop(N9);if(t)return t;let r=e.firstChild,n;if(r&&(n=r.type.prop(rn.closedBy))){let o=e.lastChild,s=o&&n.indexOf(o.name)>-1;return i=>K2e(i,!0,1,void 0,s&&!U2e(i)?o.from:void 0)}return e.parent==null?W2e:null}function W2e(){return 0}class YA extends ax{constructor(t,r,n){super(t.state,t.options),this.base=t,this.pos=r,this.context=n}get node(){return this.context.node}static create(t,r,n){return new YA(t,r,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(t){let r=this.state.doc.lineAt(t.from);for(;;){let n=t.resolve(r.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(G2e(n,t))break;r=this.state.doc.lineAt(n.from)}return this.lineIndent(r.from)}continue(){return R9(this.context.next,this.base,this.pos)}}function G2e(e,t){for(let r=t;r;r=r.parent)if(e==r)return!0;return!1}function J2e(e){let t=e.node,r=t.childAfter(t.from),n=t.lastChild;if(!r)return null;let o=e.options.simulateBreak,s=e.state.doc.lineAt(r.from),i=o==null||o<=s.from?s.to:Math.min(s.to,o);for(let a=r.to;;){let l=t.childAfter(a);if(!l||l==n)return null;if(!l.type.isSkipped){if(l.from>=i)return null;let c=/^ */.exec(s.text.slice(r.to-s.from))[0].length;return{from:r.from,to:r.to+c}}a=l.to}}function K2e(e,t,r,n,o){let s=e.textAfter,i=s.match(/^\s*/)[0].length,a=o==e.pos+i,l=J2e(e);return l?a?e.column(l.from):e.column(l.to):e.baseIndent+(a?0:e.unit*r)}function l4({except:e,units:t=1}={}){return r=>{let n=e&&e.test(r.textAfter);return r.baseIndent+(n?0:t*r.unit)}}const Q2e=200;function Z2e(){return an.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let r=e.newDoc,{head:n}=e.newSelection.main,o=r.lineAt(n);if(n>o.from+Q2e)return e;let s=r.sliceString(o.from,n);if(!t.some(c=>c.test(s)))return e;let{state:i}=e,a=-1,l=[];for(let{head:c}of i.selection.ranges){let u=i.doc.lineAt(c);if(u.from==a)continue;a=u.from;let d=XA(i,u.from);if(d==null)continue;let p=/^\s*/.exec(u.text)[0],f=Rg(i,d);p!=f&&l.push({from:u.from,to:u.from+p.length,insert:f})}return l.length?[e,{changes:l,sequential:!0}]:e})}const X2e=At.define(),B9=new rn;function Y2e(e){let t=e.firstChild,r=e.lastChild;return t&&t.tor)continue;if(s&&a.from=t&&c.to>r&&(s=c)}}return s}function tCe(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function m1(e,t,r){for(let n of e.facet(X2e)){let o=n(e,t,r);if(o)return o}return eCe(e,t,r)}function q9(e,t){let r=t.mapPos(e.from,1),n=t.mapPos(e.to,-1);return r>=n?void 0:{from:r,to:n}}const lx=Gr.define({map:q9}),$v=Gr.define({map:q9});function z9(e){let t=[];for(let{head:r}of e.state.selection.ranges)t.some(n=>n.from<=r&&n.to>=r)||t.push(e.lineBlockAt(r));return t}const up=js.define({create(){return kr.none},update(e,t){e=e.map(t.changes);for(let r of t.effects)if(r.is(lx)&&!rCe(e,r.value.from,r.value.to)){let{preparePlaceholder:n}=t.state.facet(U9),o=n?kr.replace({widget:new cCe(n(t.state,r.value))}):c4;e=e.update({add:[o.range(r.value.from,r.value.to)]})}else r.is($v)&&(e=e.update({filter:(n,o)=>r.value.from!=n||r.value.to!=o,filterFrom:r.value.from,filterTo:r.value.to}));if(t.selection){let r=!1,{head:n}=t.selection.main;e.between(n,n,(o,s)=>{on&&(r=!0)}),r&&(e=e.update({filterFrom:n,filterTo:n,filter:(o,s)=>s<=n||o>=n}))}return e},provide:e=>jt.decorations.from(e),toJSON(e,t){let r=[];return e.between(0,t.doc.length,(n,o)=>{r.push(n,o)}),r},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state");let t=[];for(let r=0;r{(!o||o.from>s)&&(o={from:s,to:i})}),o}function rCe(e,t,r){let n=!1;return e.between(t,t,(o,s)=>{o==t&&s==r&&(n=!0)}),n}function F9(e,t){return e.field(up,!1)?t:t.concat(Gr.appendConfig.of(H9()))}const nCe=e=>{for(let t of z9(e)){let r=m1(e.state,t.from,t.to);if(r)return e.dispatch({effects:F9(e.state,[lx.of(r),V9(e,r)])}),!0}return!1},oCe=e=>{if(!e.state.field(up,!1))return!1;let t=[];for(let r of z9(e)){let n=g1(e.state,r.from,r.to);n&&t.push($v.of(n),V9(e,n,!1))}return t.length&&e.dispatch({effects:t}),t.length>0};function V9(e,t,r=!0){let n=e.state.doc.lineAt(t.from).number,o=e.state.doc.lineAt(t.to).number;return jt.announce.of(`${e.state.phrase(r?"Folded lines":"Unfolded lines")} ${n} ${e.state.phrase("to")} ${o}.`)}const sCe=e=>{let{state:t}=e,r=[];for(let n=0;n{let t=e.state.field(up,!1);if(!t||!t.size)return!1;let r=[];return t.between(0,e.state.doc.length,(n,o)=>{r.push($v.of({from:n,to:o}))}),e.dispatch({effects:r}),!0},aCe=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:nCe},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:oCe},{key:"Ctrl-Alt-[",run:sCe},{key:"Ctrl-Alt-]",run:iCe}],lCe={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},U9=At.define({combine(e){return ol(e,lCe)}});function H9(e){return[up,pCe]}function W9(e,t){let{state:r}=e,n=r.facet(U9),o=i=>{let a=e.lineBlockAt(e.posAtDOM(i.target)),l=g1(e.state,a.from,a.to);l&&e.dispatch({effects:$v.of(l)}),i.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(e,o,t);let s=document.createElement("span");return s.textContent=n.placeholderText,s.setAttribute("aria-label",r.phrase("folded code")),s.title=r.phrase("unfold"),s.className="cm-foldPlaceholder",s.onclick=o,s}const c4=kr.replace({widget:new class extends ud{toDOM(e){return W9(e,null)}}});class cCe extends ud{constructor(t){super(),this.value=t}eq(t){return this.value==t.value}toDOM(t){return W9(t,this.value)}}const uCe={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class lj extends Ll{constructor(t,r){super(),this.config=t,this.open=r}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let r=document.createElement("span");return r.textContent=this.open?this.config.openText:this.config.closedText,r.title=t.state.phrase(this.open?"Fold line":"Unfold line"),r}}function dCe(e={}){let t=Object.assign(Object.assign({},uCe),e),r=new lj(t,!0),n=new lj(t,!1),o=No.fromClass(class{constructor(i){this.from=i.viewport.from,this.markers=this.buildMarkers(i)}update(i){(i.docChanged||i.viewportChanged||i.startState.facet(Xu)!=i.state.facet(Xu)||i.startState.field(up,!1)!=i.state.field(up,!1)||Ws(i.startState)!=Ws(i.state)||t.foldingChanged(i))&&(this.markers=this.buildMarkers(i.view))}buildMarkers(i){let a=new Qa;for(let l of i.viewportLineBlocks){let c=g1(i.state,l.from,l.to)?n:m1(i.state,l.from,l.to)?r:null;c&&a.add(l.from,l.from,c)}return a.finish()}}),{domEventHandlers:s}=t;return[o,S9({class:"cm-foldGutter",markers(i){var a;return((a=i.plugin(o))===null||a===void 0?void 0:a.markers)||pn.empty},initialSpacer(){return new lj(t,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(i,a,l)=>{if(s.click&&s.click(i,a,l))return!0;let c=g1(i.state,a.from,a.to);if(c)return i.dispatch({effects:$v.of(c)}),!0;let u=m1(i.state,a.from,a.to);return u?(i.dispatch({effects:lx.of(u)}),!0):!1}})}),H9()]}const pCe=jt.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class Tv{constructor(t,r){this.specs=t;let n;function o(a){let l=Ju.newName();return(n||(n=Object.create(null)))["."+l]=a,l}const s=typeof r.all=="string"?r.all:r.all?o(r.all):void 0,i=r.scope;this.scope=i instanceof Da?a=>a.prop(Sf)==i.data:i?a=>a==i:void 0,this.style=M9(t.map(a=>({tag:a.tag,class:a.class||o(Object.assign({},a,{tag:null}))})),{all:s}).style,this.module=n?new Ju(n):null,this.themeType=r.themeType}static define(t,r){return new Tv(t,r||{})}}const FS=At.define(),G9=At.define({combine(e){return e.length?[e[0]]:null}});function cj(e){let t=e.facet(FS);return t.length?t:e.facet(G9)}function J9(e,t){let r=[hCe],n;return e instanceof Tv&&(e.module&&r.push(jt.styleModule.of(e.module)),n=e.themeType),t!=null&&t.fallback?r.push(G9.of(e)):n?r.push(FS.computeN([jt.darkTheme],o=>o.facet(jt.darkTheme)==(n=="dark")?[e]:[])):r.push(FS.of(e)),r}class fCe{constructor(t){this.markCache=Object.create(null),this.tree=Ws(t.state),this.decorations=this.buildDeco(t,cj(t.state)),this.decoratedTo=t.viewport.to}update(t){let r=Ws(t.state),n=cj(t.state),o=n!=cj(t.startState),{viewport:s}=t.view,i=t.changes.mapPos(this.decoratedTo,1);r.length=s.to?(this.decorations=this.decorations.map(t.changes),this.decoratedTo=i):(r!=this.tree||t.viewportChanged||o)&&(this.tree=r,this.decorations=this.buildDeco(t.view,n),this.decoratedTo=s.to)}buildDeco(t,r){if(!r||!this.tree.length)return kr.none;let n=new Qa;for(let{from:o,to:s}of t.visibleRanges)D2e(this.tree,r,(i,a,l)=>{n.add(i,a,this.markCache[l]||(this.markCache[l]=kr.mark({class:l})))},o,s);return n.finish()}}const hCe=Dp.high(No.fromClass(fCe,{decorations:e=>e.decorations})),mCe=Tv.define([{tag:ct.meta,color:"#404740"},{tag:ct.link,textDecoration:"underline"},{tag:ct.heading,textDecoration:"underline",fontWeight:"bold"},{tag:ct.emphasis,fontStyle:"italic"},{tag:ct.strong,fontWeight:"bold"},{tag:ct.strikethrough,textDecoration:"line-through"},{tag:ct.keyword,color:"#708"},{tag:[ct.atom,ct.bool,ct.url,ct.contentSeparator,ct.labelName],color:"#219"},{tag:[ct.literal,ct.inserted],color:"#164"},{tag:[ct.string,ct.deleted],color:"#a11"},{tag:[ct.regexp,ct.escape,ct.special(ct.string)],color:"#e40"},{tag:ct.definition(ct.variableName),color:"#00f"},{tag:ct.local(ct.variableName),color:"#30a"},{tag:[ct.typeName,ct.namespace],color:"#085"},{tag:ct.className,color:"#167"},{tag:[ct.special(ct.variableName),ct.macroName],color:"#256"},{tag:ct.definition(ct.propertyName),color:"#00c"},{tag:ct.comment,color:"#940"},{tag:ct.invalid,color:"#f00"}]),gCe=jt.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),K9=1e4,Q9="()[]{}",Z9=At.define({combine(e){return ol(e,{afterCursor:!0,brackets:Q9,maxScanDistance:K9,renderMatch:bCe})}}),vCe=kr.mark({class:"cm-matchingBracket"}),yCe=kr.mark({class:"cm-nonmatchingBracket"});function bCe(e){let t=[],r=e.matched?vCe:yCe;return t.push(r.range(e.start.from,e.start.to)),e.end&&t.push(r.range(e.end.from,e.end.to)),t}const wCe=js.define({create(){return kr.none},update(e,t){if(!t.docChanged&&!t.selection)return e;let r=[],n=t.state.facet(Z9);for(let o of t.state.selection.ranges){if(!o.empty)continue;let s=kl(t.state,o.head,-1,n)||o.head>0&&kl(t.state,o.head-1,1,n)||n.afterCursor&&(kl(t.state,o.head,1,n)||o.headjt.decorations.from(e)}),xCe=[wCe,gCe];function kCe(e={}){return[Z9.of(e),xCe]}const jCe=new rn;function VS(e,t,r){let n=e.prop(t<0?rn.openedBy:rn.closedBy);if(n)return n;if(e.name.length==1){let o=r.indexOf(e.name);if(o>-1&&o%2==(t<0?1:0))return[r[o+t]]}return null}function US(e){let t=e.type.prop(jCe);return t?t(e.node):e}function kl(e,t,r,n={}){let o=n.maxScanDistance||K9,s=n.brackets||Q9,i=Ws(e),a=i.resolveInner(t,r);for(let l=a;l;l=l.parent){let c=VS(l.type,r,s);if(c&&l.from0?t>=u.from&&tu.from&&t<=u.to))return _Ce(e,t,r,l,u,c,s)}}return SCe(e,t,r,i,a.type,o,s)}function _Ce(e,t,r,n,o,s,i){let a=n.parent,l={from:o.from,to:o.to},c=0,u=a==null?void 0:a.cursor();if(u&&(r<0?u.childBefore(n.from):u.childAfter(n.to)))do if(r<0?u.to<=n.from:u.from>=n.to){if(c==0&&s.indexOf(u.type.name)>-1&&u.from0)return null;let c={from:r<0?t-1:t,to:r>0?t+1:t},u=e.doc.iterRange(t,r>0?e.doc.length:0),d=0;for(let p=0;!u.next().done&&p<=s;){let f=u.value;r<0&&(p+=f.length);let m=t+p*r;for(let v=r>0?0:f.length-1,g=r>0?f.length:-1;v!=g;v+=r){let y=i.indexOf(f[v]);if(!(y<0||n.resolveInner(m+v,1).type!=o))if(y%2==0==r>0)d++;else{if(d==1)return{start:c,end:{from:m+v,to:m+v+1},matched:y>>1==l>>1};d--}}r>0&&(p+=f.length)}return u.done?{start:c,matched:!1}:null}const CCe=Object.create(null),u4=[ji.none],d4=[],p4=Object.create(null),ACe=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])ACe[e]=ECe(CCe,t);function uj(e,t){d4.indexOf(e)>-1||(d4.push(e),console.warn(t))}function ECe(e,t){let r=[];for(let a of t.split(" ")){let l=[];for(let c of a.split(".")){let u=e[c]||ct[c];u?typeof u=="function"?l.length?l=l.map(u):uj(c,`Modifier ${c} used at start of tag`):l.length?uj(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:uj(c,`Unknown highlighting tag ${c}`)}for(let c of l)r.push(c)}if(!r.length)return 0;let n=t.replace(/ /g,"_"),o=n+" "+r.map(a=>a.id),s=p4[o];if(s)return s.id;let i=p4[o]=ji.define({id:u4.length,name:n,props:[I9({[n]:r})]});return u4.push(i),i.id}Co.RTL,Co.LTR;const OCe=e=>{let{state:t}=e,r=t.doc.lineAt(t.selection.main.from),n=tE(e.state,r.from);return n.line?$Ce(e):n.block?PCe(e):!1};function eE(e,t){return({state:r,dispatch:n})=>{if(r.readOnly)return!1;let o=e(t,r);return o?(n(r.update(o)),!0):!1}}const $Ce=eE(MCe,0),TCe=eE(X9,0),PCe=eE((e,t)=>X9(e,t,DCe(t)),0);function tE(e,t){let r=e.languageDataAt("commentTokens",t);return r.length?r[0]:{}}const vm=50;function ICe(e,{open:t,close:r},n,o){let s=e.sliceDoc(n-vm,n),i=e.sliceDoc(o,o+vm),a=/\s*$/.exec(s)[0].length,l=/^\s*/.exec(i)[0].length,c=s.length-a;if(s.slice(c-t.length,c)==t&&i.slice(l,l+r.length)==r)return{open:{pos:n-a,margin:a&&1},close:{pos:o+l,margin:l&&1}};let u,d;o-n<=2*vm?u=d=e.sliceDoc(n,o):(u=e.sliceDoc(n,n+vm),d=e.sliceDoc(o-vm,o));let p=/^\s*/.exec(u)[0].length,f=/\s*$/.exec(d)[0].length,m=d.length-f-r.length;return u.slice(p,p+t.length)==t&&d.slice(m,m+r.length)==r?{open:{pos:n+p+t.length,margin:/\s/.test(u.charAt(p+t.length))?1:0},close:{pos:o-f-r.length,margin:/\s/.test(d.charAt(m-1))?1:0}}:null}function DCe(e){let t=[];for(let r of e.selection.ranges){let n=e.doc.lineAt(r.from),o=r.to<=n.to?n:e.doc.lineAt(r.to);o.from>n.from&&o.from==r.to&&(o=r.to==n.to+1?n:e.doc.lineAt(r.to-1));let s=t.length-1;s>=0&&t[s].to>n.from?t[s].to=o.to:t.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:o.to})}return t}function X9(e,t,r=t.selection.ranges){let n=r.map(s=>tE(t,s.from).block);if(!n.every(s=>s))return null;let o=r.map((s,i)=>ICe(t,n[i],s.from,s.to));if(e!=2&&!o.every(s=>s))return{changes:t.changes(r.map((s,i)=>o[i]?[]:[{from:s.from,insert:n[i].open+" "},{from:s.to,insert:" "+n[i].close}]))};if(e!=1&&o.some(s=>s)){let s=[];for(let i=0,a;io&&(s==i||i>d.from)){o=d.from;let p=/^\s*/.exec(d.text)[0].length,f=p==d.length,m=d.text.slice(p,p+c.length)==c?p:-1;ps.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:a,token:l,indent:c,empty:u,single:d}of n)(d||!u)&&s.push({from:a.from+c,insert:l+" "});let i=t.changes(s);return{changes:i,selection:t.selection.map(i,1)}}else if(e!=1&&n.some(s=>s.comment>=0)){let s=[];for(let{line:i,comment:a,token:l}of n)if(a>=0){let c=i.from+a,u=c+l.length;i.text[u-i.from]==" "&&u++,s.push({from:c,to:u})}return{changes:s}}return null}function Dh(e,t){return Je.create(e.ranges.map(t),e.mainIndex)}function Jl(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function sl({state:e,dispatch:t},r){let n=Dh(e.selection,r);return n.eq(e.selection,!0)?!1:(t(Jl(e,n)),!0)}function cx(e,t){return Je.cursor(t?e.to:e.from)}function Y9(e,t){return sl(e,r=>r.empty?e.moveByChar(r,t):cx(r,t))}function Js(e){return e.textDirectionAt(e.state.selection.main.head)==Co.LTR}const eq=e=>Y9(e,!Js(e)),tq=e=>Y9(e,Js(e));function rq(e,t){return sl(e,r=>r.empty?e.moveByGroup(r,t):cx(r,t))}const LCe=e=>rq(e,!Js(e)),NCe=e=>rq(e,Js(e));function RCe(e,t,r){if(t.type.prop(r))return!0;let n=t.to-t.from;return n&&(n>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function ux(e,t,r){let n=Ws(e).resolveInner(t.head),o=r?rn.closedBy:rn.openedBy;for(let l=t.head;;){let c=r?n.childAfter(l):n.childBefore(l);if(!c)break;RCe(e,c,o)?n=c:l=r?c.to:c.from}let s=n.type.prop(o),i,a;return s&&(i=r?kl(e,n.from,1):kl(e,n.to,-1))&&i.matched?a=r?i.end.to:i.end.from:a=r?n.to:n.from,Je.cursor(a,r?-1:1)}const BCe=e=>sl(e,t=>ux(e.state,t,!Js(e))),qCe=e=>sl(e,t=>ux(e.state,t,Js(e)));function nq(e,t){return sl(e,r=>{if(!r.empty)return cx(r,t);let n=e.moveVertically(r,t);return n.head!=r.head?n:e.moveToLineBoundary(r,t)})}const oq=e=>nq(e,!1),sq=e=>nq(e,!0);function iq(e){let t=e.scrollDOM.clientHeighti.empty?e.moveVertically(i,t,r.height):cx(i,t));if(o.eq(n.selection))return!1;let s;if(r.selfScroll){let i=e.coordsAtPos(n.selection.main.head),a=e.scrollDOM.getBoundingClientRect(),l=a.top+r.marginTop,c=a.bottom-r.marginBottom;i&&i.top>l&&i.bottomaq(e,!1),HS=e=>aq(e,!0);function dd(e,t,r){let n=e.lineBlockAt(t.head),o=e.moveToLineBoundary(t,r);if(o.head==t.head&&o.head!=(r?n.to:n.from)&&(o=e.moveToLineBoundary(t,r,!1)),!r&&o.head==n.from&&n.length){let s=/^\s*/.exec(e.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;s&&t.head!=n.from+s&&(o=Je.cursor(n.from+s))}return o}const zCe=e=>sl(e,t=>dd(e,t,!0)),FCe=e=>sl(e,t=>dd(e,t,!1)),VCe=e=>sl(e,t=>dd(e,t,!Js(e))),UCe=e=>sl(e,t=>dd(e,t,Js(e))),HCe=e=>sl(e,t=>Je.cursor(e.lineBlockAt(t.head).from,1)),WCe=e=>sl(e,t=>Je.cursor(e.lineBlockAt(t.head).to,-1));function GCe(e,t,r){let n=!1,o=Dh(e.selection,s=>{let i=kl(e,s.head,-1)||kl(e,s.head,1)||s.head>0&&kl(e,s.head-1,1)||s.headGCe(e,t);function ba(e,t){let r=Dh(e.state.selection,n=>{let o=t(n);return Je.range(n.anchor,o.head,o.goalColumn,o.bidiLevel||void 0)});return r.eq(e.state.selection)?!1:(e.dispatch(Jl(e.state,r)),!0)}function lq(e,t){return ba(e,r=>e.moveByChar(r,t))}const cq=e=>lq(e,!Js(e)),uq=e=>lq(e,Js(e));function dq(e,t){return ba(e,r=>e.moveByGroup(r,t))}const KCe=e=>dq(e,!Js(e)),QCe=e=>dq(e,Js(e)),ZCe=e=>ba(e,t=>ux(e.state,t,!Js(e))),XCe=e=>ba(e,t=>ux(e.state,t,Js(e)));function pq(e,t){return ba(e,r=>e.moveVertically(r,t))}const fq=e=>pq(e,!1),hq=e=>pq(e,!0);function mq(e,t){return ba(e,r=>e.moveVertically(r,t,iq(e).height))}const h4=e=>mq(e,!1),m4=e=>mq(e,!0),YCe=e=>ba(e,t=>dd(e,t,!0)),eAe=e=>ba(e,t=>dd(e,t,!1)),tAe=e=>ba(e,t=>dd(e,t,!Js(e))),rAe=e=>ba(e,t=>dd(e,t,Js(e))),nAe=e=>ba(e,t=>Je.cursor(e.lineBlockAt(t.head).from)),oAe=e=>ba(e,t=>Je.cursor(e.lineBlockAt(t.head).to)),g4=({state:e,dispatch:t})=>(t(Jl(e,{anchor:0})),!0),v4=({state:e,dispatch:t})=>(t(Jl(e,{anchor:e.doc.length})),!0),y4=({state:e,dispatch:t})=>(t(Jl(e,{anchor:e.selection.main.anchor,head:0})),!0),b4=({state:e,dispatch:t})=>(t(Jl(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),sAe=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0),iAe=({state:e,dispatch:t})=>{let r=dx(e).map(({from:n,to:o})=>Je.range(n,Math.min(o+1,e.doc.length)));return t(e.update({selection:Je.create(r),userEvent:"select"})),!0},aAe=({state:e,dispatch:t})=>{let r=Dh(e.selection,n=>{let o=Ws(e),s=o.resolveStack(n.from,1);if(n.empty){let i=o.resolveStack(n.from,-1);i.node.from>=s.node.from&&i.node.to<=s.node.to&&(s=i)}for(let i=s;i;i=i.next){let{node:a}=i;if((a.from=n.to||a.to>n.to&&a.from<=n.from)&&i.next)return Je.range(a.to,a.from)}return n});return r.eq(e.selection)?!1:(t(Jl(e,r)),!0)},lAe=({state:e,dispatch:t})=>{let r=e.selection,n=null;return r.ranges.length>1?n=Je.create([r.main]):r.main.empty||(n=Je.create([Je.cursor(r.main.head)])),n?(t(Jl(e,n)),!0):!1};function Pv(e,t){if(e.state.readOnly)return!1;let r="delete.selection",{state:n}=e,o=n.changeByRange(s=>{let{from:i,to:a}=s;if(i==a){let l=t(s);li&&(r="delete.forward",l=w0(e,l,!0)),i=Math.min(i,l),a=Math.max(a,l)}else i=w0(e,i,!1),a=w0(e,a,!0);return i==a?{range:s}:{changes:{from:i,to:a},range:Je.cursor(i,io(e)))n.between(t,t,(o,s)=>{ot&&(t=r?s:o)});return t}const gq=(e,t,r)=>Pv(e,n=>{let o=n.from,{state:s}=e,i=s.doc.lineAt(o),a,l;if(r&&!t&&o>i.from&&ogq(e,!1,!0),vq=e=>gq(e,!0,!1),yq=(e,t)=>Pv(e,r=>{let n=r.head,{state:o}=e,s=o.doc.lineAt(n),i=o.charCategorizer(n);for(let a=null;;){if(n==(t?s.to:s.from)){n==r.head&&s.number!=(t?o.doc.lines:1)&&(n+=t?1:-1);break}let l=$s(s.text,n-s.from,t)+s.from,c=s.text.slice(Math.min(n,l)-s.from,Math.max(n,l)-s.from),u=i(c);if(a!=null&&u!=a)break;(c!=" "||n!=r.head)&&(a=u),n=l}return n}),bq=e=>yq(e,!1),cAe=e=>yq(e,!0),uAe=e=>Pv(e,t=>{let r=e.lineBlockAt(t.head).to;return t.headPv(e,t=>{let r=e.moveToLineBoundary(t,!1).head;return t.head>r?r:Math.max(0,t.head-1)}),pAe=e=>Pv(e,t=>{let r=e.moveToLineBoundary(t,!0).head;return t.head{if(e.readOnly)return!1;let r=e.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:Nn.of(["",""])},range:Je.cursor(n.from)}));return t(e.update(r,{scrollIntoView:!0,userEvent:"input"})),!0},hAe=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=e.changeByRange(n=>{if(!n.empty||n.from==0||n.from==e.doc.length)return{range:n};let o=n.from,s=e.doc.lineAt(o),i=o==s.from?o-1:$s(s.text,o-s.from,!1)+s.from,a=o==s.to?o+1:$s(s.text,o-s.from,!0)+s.from;return{changes:{from:i,to:a,insert:e.doc.slice(o,a).append(e.doc.slice(i,o))},range:Je.cursor(a)}});return r.changes.empty?!1:(t(e.update(r,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function dx(e){let t=[],r=-1;for(let n of e.selection.ranges){let o=e.doc.lineAt(n.from),s=e.doc.lineAt(n.to);if(!n.empty&&n.to==s.from&&(s=e.doc.lineAt(n.to-1)),r>=o.number){let i=t[t.length-1];i.to=s.to,i.ranges.push(n)}else t.push({from:o.from,to:s.to,ranges:[n]});r=s.number+1}return t}function wq(e,t,r){if(e.readOnly)return!1;let n=[],o=[];for(let s of dx(e)){if(r?s.to==e.doc.length:s.from==0)continue;let i=e.doc.lineAt(r?s.to+1:s.from-1),a=i.length+1;if(r){n.push({from:s.to,to:i.to},{from:s.from,insert:i.text+e.lineBreak});for(let l of s.ranges)o.push(Je.range(Math.min(e.doc.length,l.anchor+a),Math.min(e.doc.length,l.head+a)))}else{n.push({from:i.from,to:s.from},{from:s.to,insert:e.lineBreak+i.text});for(let l of s.ranges)o.push(Je.range(l.anchor-a,l.head-a))}}return n.length?(t(e.update({changes:n,scrollIntoView:!0,selection:Je.create(o,e.selection.mainIndex),userEvent:"move.line"})),!0):!1}const mAe=({state:e,dispatch:t})=>wq(e,t,!1),gAe=({state:e,dispatch:t})=>wq(e,t,!0);function xq(e,t,r){if(e.readOnly)return!1;let n=[];for(let o of dx(e))r?n.push({from:o.from,insert:e.doc.slice(o.from,o.to)+e.lineBreak}):n.push({from:o.to,insert:e.lineBreak+e.doc.slice(o.from,o.to)});return t(e.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const vAe=({state:e,dispatch:t})=>xq(e,t,!1),yAe=({state:e,dispatch:t})=>xq(e,t,!0),bAe=e=>{if(e.state.readOnly)return!1;let{state:t}=e,r=t.changes(dx(t).map(({from:o,to:s})=>(o>0?o--:s{let s;if(e.lineWrapping){let i=e.lineBlockAt(o.head),a=e.coordsAtPos(o.head,o.assoc||1);a&&(s=i.bottom+e.documentTop-a.bottom+e.defaultLineHeight/2)}return e.moveVertically(o,!0,s)}).map(r);return e.dispatch({changes:r,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function wAe(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let r=Ws(e).resolveInner(t),n=r.childBefore(t),o=r.childAfter(t),s;return n&&o&&n.to<=t&&o.from>=t&&(s=n.type.prop(rn.closedBy))&&s.indexOf(o.name)>-1&&e.doc.lineAt(n.to).from==e.doc.lineAt(o.from).from&&!/\S/.test(e.sliceDoc(n.to,o.from))?{from:n.to,to:o.from}:null}const w4=kq(!1),xAe=kq(!0);function kq(e){return({state:t,dispatch:r})=>{if(t.readOnly)return!1;let n=t.changeByRange(o=>{let{from:s,to:i}=o,a=t.doc.lineAt(s),l=!e&&s==i&&wAe(t,s);e&&(s=i=(i<=a.to?a:t.doc.lineAt(i)).to);let c=new ax(t,{simulateBreak:s,simulateDoubleBreak:!!l}),u=XA(c,s);for(u==null&&(u=Ih(/^\s*/.exec(t.doc.lineAt(s).text)[0],t.tabSize));ia.from&&s{let o=[];for(let i=n.from;i<=n.to;){let a=e.doc.lineAt(i);a.number>r&&(n.empty||n.to>a.from)&&(t(a,o,n),r=a.number),i=a.to+1}let s=e.changes(o);return{changes:o,range:Je.range(s.mapPos(n.anchor,1),s.mapPos(n.head,1))}})}const kAe=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=Object.create(null),n=new ax(e,{overrideIndentation:s=>r[s]??-1}),o=rE(e,(s,i,a)=>{let l=XA(n,s.from);if(l==null)return;/\S/.test(s.text)||(l=0);let c=/^\s*/.exec(s.text)[0],u=Rg(e,l);(c!=u||a.frome.readOnly?!1:(t(e.update(rE(e,(r,n)=>{n.push({from:r.from,insert:e.facet(ix)})}),{userEvent:"input.indent"})),!0),_q=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(rE(e,(r,n)=>{let o=/^\s*/.exec(r.text)[0];if(!o)return;let s=Ih(o,e.tabSize),i=0,a=Rg(e,Math.max(0,s-Yu(e)));for(;i(e.setTabFocusMode(),!0),_Ae=[{key:"Ctrl-b",run:eq,shift:cq,preventDefault:!0},{key:"Ctrl-f",run:tq,shift:uq},{key:"Ctrl-p",run:oq,shift:fq},{key:"Ctrl-n",run:sq,shift:hq},{key:"Ctrl-a",run:HCe,shift:nAe},{key:"Ctrl-e",run:WCe,shift:oAe},{key:"Ctrl-d",run:vq},{key:"Ctrl-h",run:WS},{key:"Ctrl-k",run:uAe},{key:"Ctrl-Alt-h",run:bq},{key:"Ctrl-o",run:fAe},{key:"Ctrl-t",run:hAe},{key:"Ctrl-v",run:HS}],SAe=[{key:"ArrowLeft",run:eq,shift:cq,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:LCe,shift:KCe,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:VCe,shift:tAe,preventDefault:!0},{key:"ArrowRight",run:tq,shift:uq,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:NCe,shift:QCe,preventDefault:!0},{mac:"Cmd-ArrowRight",run:UCe,shift:rAe,preventDefault:!0},{key:"ArrowUp",run:oq,shift:fq,preventDefault:!0},{mac:"Cmd-ArrowUp",run:g4,shift:y4},{mac:"Ctrl-ArrowUp",run:f4,shift:h4},{key:"ArrowDown",run:sq,shift:hq,preventDefault:!0},{mac:"Cmd-ArrowDown",run:v4,shift:b4},{mac:"Ctrl-ArrowDown",run:HS,shift:m4},{key:"PageUp",run:f4,shift:h4},{key:"PageDown",run:HS,shift:m4},{key:"Home",run:FCe,shift:eAe,preventDefault:!0},{key:"Mod-Home",run:g4,shift:y4},{key:"End",run:zCe,shift:YCe,preventDefault:!0},{key:"Mod-End",run:v4,shift:b4},{key:"Enter",run:w4,shift:w4},{key:"Mod-a",run:sAe},{key:"Backspace",run:WS,shift:WS},{key:"Delete",run:vq},{key:"Mod-Backspace",mac:"Alt-Backspace",run:bq},{key:"Mod-Delete",mac:"Alt-Delete",run:cAe},{mac:"Mod-Backspace",run:dAe},{mac:"Mod-Delete",run:pAe}].concat(_Ae.map(e=>({mac:e.key,run:e.run,shift:e.shift}))),CAe=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:BCe,shift:ZCe},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:qCe,shift:XCe},{key:"Alt-ArrowUp",run:mAe},{key:"Shift-Alt-ArrowUp",run:vAe},{key:"Alt-ArrowDown",run:gAe},{key:"Shift-Alt-ArrowDown",run:yAe},{key:"Escape",run:lAe},{key:"Mod-Enter",run:xAe},{key:"Alt-l",mac:"Ctrl-l",run:iAe},{key:"Mod-i",run:aAe,preventDefault:!0},{key:"Mod-[",run:_q},{key:"Mod-]",run:jq},{key:"Mod-Alt-\\",run:kAe},{key:"Shift-Mod-k",run:bAe},{key:"Shift-Mod-\\",run:JCe},{key:"Mod-/",run:OCe},{key:"Alt-A",run:TCe},{key:"Ctrl-m",mac:"Shift-Alt-m",run:jAe}].concat(SAe),AAe={key:"Tab",run:jq,shift:_q};function go(){var e=arguments[0];typeof e=="string"&&(e=document.createElement(e));var t=1,r=arguments[1];if(r&&typeof r=="object"&&r.nodeType==null&&!Array.isArray(r)){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){var o=r[n];typeof o=="string"?e.setAttribute(n,o):o!=null&&(e[n]=o)}t++}for(;td.from-p.from||d.to-p.to),a=new Qa,l=[],c=0;for(let d=0;;){let p=d==i.length?null:i[d];if(!p&&!l.length)break;let f,m;for(l.length?(f=c,m=l.reduce((g,y)=>Math.min(g,y.to),p&&p.from>f?p.from:1e8)):(f=p.from,m=p.to,l.push(p),d++);dg.from||g.to==f))l.push(g),d++,m=Math.min(g.to,m);else{m=Math.min(g.from,m);break}}let v=Pq(l);if(l.some(g=>g.from==g.to||g.from==g.to-1&&n.doc.lineAt(g.from).to==g.from))a.add(f,f,kr.widget({widget:new NAe(v),diagnostics:l.slice()}));else{let g=l.reduce((y,b)=>b.markClass?y+" "+b.markClass:y,"");a.add(f,m,kr.mark({class:"cm-lintRange cm-lintRange-"+v+g,diagnostics:l.slice(),inclusiveEnd:l.some(y=>y.to>m)}))}c=m;for(let g=0;g{if(!(t&&i.diagnostics.indexOf(t)<0))if(!n)n=new x4(o,s,t||i.diagnostics[0]);else{if(i.diagnostics.indexOf(n.diagnostic)<0)return!1;n=new x4(n.from,s,n.diagnostic)}}),n}function Cq(e,t){let r=t.pos,n=t.end||r,o=e.state.facet(jl).hideOn(e,r,n);if(o!=null)return o;let s=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(i=>i.is(px))||e.changes.touchesRange(s.from,Math.max(s.to,n)))}function Aq(e,t){return e.field(qi,!1)?t:t.concat(Gr.appendConfig.of(Mq))}function EAe(e,t){return{effects:Aq(e,[px.of(t)])}}const px=Gr.define(),nE=Gr.define(),Eq=Gr.define(),qi=js.define({create(){return new Pd(kr.none,null,null)},update(e,t){if(t.docChanged&&e.diagnostics.size){let r=e.diagnostics.map(t.changes),n=null,o=e.panel;if(e.selected){let s=t.changes.mapPos(e.selected.from,1);n=fh(r,e.selected.diagnostic,s)||fh(r,null,s)}!r.size&&o&&t.state.facet(jl).autoPanel&&(o=null),e=new Pd(r,o,n)}for(let r of t.effects)if(r.is(px)){let n=t.state.facet(jl).autoPanel?r.value.length?Bg.open:null:e.panel;e=Pd.init(r.value,n,t.state)}else r.is(nE)?e=new Pd(e.diagnostics,r.value?Bg.open:null,e.selected):r.is(Eq)&&(e=new Pd(e.diagnostics,e.panel,r.value));return e},provide:e=>[Lg.from(e,t=>t.panel),jt.decorations.from(e,t=>t.diagnostics)]}),OAe=kr.mark({class:"cm-lintRange cm-lintRange-active"});function $Ae(e,t,r){let{diagnostics:n}=e.state.field(qi),o,s=-1,i=-1;n.between(t-(r<0?1:0),t+(r>0?1:0),(l,c,{spec:u})=>{if(t>=l&&t<=c&&(l==c||(t>l||r>0)&&(tTq(e,r,!1)))}const TAe=e=>{let t=e.state.field(qi,!1);(!t||!t.panel)&&e.dispatch({effects:Aq(e.state,[nE.of(!0)])});let r=Mg(e,Bg.open);return r&&r.dom.querySelector(".cm-panel-lint ul").focus(),!0},k4=e=>{let t=e.state.field(qi,!1);return!t||!t.panel?!1:(e.dispatch({effects:nE.of(!1)}),!0)},PAe=e=>{let t=e.state.field(qi,!1);if(!t)return!1;let r=e.state.selection.main,n=t.diagnostics.iter(r.to+1);return!n.value&&(n=t.diagnostics.iter(0),!n.value||n.from==r.from&&n.to==r.to)?!1:(e.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0}),!0)},IAe=[{key:"Mod-Shift-m",run:TAe,preventDefault:!0},{key:"F8",run:PAe}],DAe=No.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(jl);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){clearTimeout(this.timeout);let e=Date.now();if(ePromise.resolve(n(this.view))),n=>{this.view.state.doc==t.doc&&this.view.dispatch(EAe(this.view.state,n.reduce((o,s)=>o.concat(s))))},n=>{oi(this.view.state,n)})}}update(e){let t=e.state.facet(jl);(e.docChanged||t!=e.startState.facet(jl)||t.needsRefresh&&t.needsRefresh(e))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}});function MAe(e,t,r){let n=[],o=-1;for(let s of e)s.then(i=>{n.push(i),clearTimeout(o),n.length==e.length?t(n):o=setTimeout(()=>t(n),200)},r)}const jl=At.define({combine(e){return Object.assign({sources:e.map(t=>t.source).filter(t=>t!=null)},ol(e.map(t=>t.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(t,r)=>t?r?n=>t(n)||r(n):t:r}))}});function LAe(e,t={}){return[jl.of({source:e,config:t}),DAe,Mq]}function $q(e){let t=[];if(e)e:for(let{name:r}of e){for(let n=0;ns.toLowerCase()==o.toLowerCase())){t.push(o);continue e}}t.push("")}return t}function Tq(e,t,r){var n;let o=r?$q(t.actions):[];return go("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},go("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),(n=t.actions)===null||n===void 0?void 0:n.map((s,i)=>{let a=!1,l=p=>{if(p.preventDefault(),a)return;a=!0;let f=fh(e.state.field(qi).diagnostics,t);f&&s.apply(e,f.from,f.to)},{name:c}=s,u=o[i]?c.indexOf(o[i]):-1,d=u<0?c:[c.slice(0,u),go("u",c.slice(u,u+1)),c.slice(u+1)];return go("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${o[i]})"`}.`},d)}),t.source&&go("div",{class:"cm-diagnosticSource"},t.source))}class NAe extends ud{constructor(t){super(),this.sev=t}eq(t){return t.sev==this.sev}toDOM(){return go("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class j4{constructor(t,r){this.diagnostic=r,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=Tq(t,r,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Bg{constructor(t){this.view=t,this.items=[];let r=o=>{if(o.keyCode==27)k4(this.view),this.view.focus();else if(o.keyCode==38||o.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(o.keyCode==40||o.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(o.keyCode==36)this.moveSelection(0);else if(o.keyCode==35)this.moveSelection(this.items.length-1);else if(o.keyCode==13)this.view.focus();else if(o.keyCode>=65&&o.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:s}=this.items[this.selectedIndex],i=$q(s.actions);for(let a=0;a{for(let s=0;sk4(this.view)},"×")),this.update()}get selectedIndex(){let t=this.view.state.field(qi).selected;if(!t)return-1;for(let r=0;r{for(let u of c.diagnostics){if(i.has(u))continue;i.add(u);let d=-1,p;for(let f=n;fn&&(this.items.splice(n,d-n),o=!0)),r&&p.diagnostic==r.diagnostic?p.dom.hasAttribute("aria-selected")||(p.dom.setAttribute("aria-selected","true"),s=p):p.dom.hasAttribute("aria-selected")&&p.dom.removeAttribute("aria-selected"),n++}});n({sel:s.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:a,panel:l})=>{let c=l.height/this.list.offsetHeight;a.topl.bottom&&(this.list.scrollTop+=(a.bottom-l.bottom)/c)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),o&&this.sync()}sync(){let t=this.list.firstChild;function r(){let n=t;t=n.nextSibling,n.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;t!=n.dom;)r();t=n.dom.nextSibling}else this.list.insertBefore(n.dom,t);for(;t;)r()}moveSelection(t){if(this.selectedIndex<0)return;let r=this.view.state.field(qi),n=fh(r.diagnostics,this.items[t].diagnostic);n&&this.view.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0,effects:Eq.of(n)})}static open(t){return new Bg(t)}}function db(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}function x0(e){return db(``,'width="6" height="3"')}const RAe=jt.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:x0("#d11")},".cm-lintRange-warning":{backgroundImage:x0("orange")},".cm-lintRange-info":{backgroundImage:x0("#999")},".cm-lintRange-hint":{backgroundImage:x0("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function BAe(e){return e=="error"?4:e=="warning"?3:e=="info"?2:1}function Pq(e){let t="hint",r=1;for(let n of e){let o=BAe(n.severity);o>r&&(r=o,t=n.severity)}return t}class Iq extends Ll{constructor(t){super(),this.diagnostics=t,this.severity=Pq(t)}toDOM(t){let r=document.createElement("div");r.className="cm-lint-marker cm-lint-marker-"+this.severity;let n=this.diagnostics,o=t.state.facet(fx).tooltipFilter;return o&&(n=o(n,t.state)),n.length&&(r.onmouseover=()=>zAe(t,r,n)),r}}function qAe(e,t){let r=n=>{let o=t.getBoundingClientRect();if(!(n.clientX>o.left-10&&n.clientXo.top-10&&n.clientYt.getBoundingClientRect()}}})}),t.onmouseout=t.onmousemove=null,qAe(e,t)}let{hoverTime:o}=e.state.facet(fx),s=setTimeout(n,o);t.onmouseout=()=>{clearTimeout(s),t.onmouseout=t.onmousemove=null},t.onmousemove=()=>{clearTimeout(s),s=setTimeout(n,o)}}function FAe(e,t){let r=Object.create(null);for(let o of t){let s=e.lineAt(o.from);(r[s.from]||(r[s.from]=[])).push(o)}let n=[];for(let o in r)n.push(new Iq(r[o]).range(+o));return pn.of(n,!0)}const VAe=S9({class:"cm-gutter-lint",markers:e=>e.state.field(GS),widgetMarker:(e,t,r)=>{let n=[];return e.state.field(GS).between(r.from,r.to,(o,s,i)=>{o>r.from&&on.is(oE)?n.value:r,e)},provide:e=>ox.from(e)}),UAe=jt.baseTheme({".cm-gutter-lint":{width:"1.4em","& .cm-gutterElement":{padding:".2em"}},".cm-lint-marker":{width:"1em",height:"1em"},".cm-lint-marker-info":{content:db('')},".cm-lint-marker-warning":{content:db('')},".cm-lint-marker-error":{content:db('')}}),Mq=[qi,jt.decorations.compute([qi],e=>{let{selected:t,panel:r}=e.field(qi);return!t||!r||t.from==t.to?kr.none:kr.set([OAe.range(t.from,t.to)])}),l2e($Ae,{hideOn:Cq}),RAe],fx=At.define({combine(e){return ol(e,{hoverTime:300,markerFilter:null,tooltipFilter:null})}});function HAe(e={}){return[fx.of(e),GS,VAe,UAe,Dq]}class v1{constructor(t,r,n,o,s,i,a,l,c,u=0,d){this.p=t,this.stack=r,this.state=n,this.reducePos=o,this.pos=s,this.score=i,this.buffer=a,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=d}toString(){return`[${this.stack.filter((t,r)=>r%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,r,n=0){let o=t.parser.context;return new v1(t,[],r,n,n,0,[],0,o?new _4(o,o.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,r){this.stack.push(this.state,r,this.bufferBase+this.buffer.length),this.state=t}reduce(t){var r;let n=t>>19,o=t&65535,{parser:s}=this.p,i=this.reducePos=2e3&&!(!((r=this.p.parser.nodeSet.types[o])===null||r===void 0)&&r.isAnonymous)&&(c==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSizel;)this.stack.pop();this.reduceContext(o,c)}storeNode(t,r,n,o=4,s=!1){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&i.buffer[a-4]==0&&i.buffer[a-1]>-1){if(r==n)return;if(i.buffer[a-2]>=r){i.buffer[a-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(t,r,n,o);else{let i=this.buffer.length;if(i>0&&this.buffer[i-4]!=0){let a=!1;for(let l=i;l>0&&this.buffer[l-2]>n;l-=4)if(this.buffer[l-1]>=0){a=!0;break}if(a)for(;i>0&&this.buffer[i-2]>n;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,o>4&&(o-=4)}this.buffer[i]=t,this.buffer[i+1]=r,this.buffer[i+2]=n,this.buffer[i+3]=o}}shift(t,r,n,o){if(t&131072)this.pushState(t&65535,this.pos);else if(t&262144)this.pos=o,this.shiftContext(r,n),r<=this.p.parser.maxNode&&this.buffer.push(r,n,o,4);else{let s=t,{parser:i}=this.p;(o>this.pos||r<=i.maxNode)&&(this.pos=o,i.stateFlag(s,1)||(this.reducePos=o)),this.pushState(s,n),this.shiftContext(r,n),r<=i.maxNode&&this.buffer.push(r,n,o,4)}}apply(t,r,n,o){t&65536?this.reduce(t):this.shift(t,r,n,o)}useNode(t,r){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=t)&&(this.p.reused.push(t),n++);let o=this.pos;this.reducePos=this.pos=o+t.length,this.pushState(r,o),this.buffer.push(n,o,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this,r=t.buffer.length;for(;r>0&&t.buffer[r-2]>t.reducePos;)r-=4;let n=t.buffer.slice(r),o=t.bufferBase+r;for(;t&&o==t.bufferBase;)t=t.parent;return new v1(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,o,this.curContext,this.lookAhead,t)}recoverByDelete(t,r){let n=t<=this.p.parser.maxNode;n&&this.storeNode(t,this.pos,r,4),this.storeNode(0,this.pos,r,n?8:4),this.pos=this.reducePos=r,this.score-=190}canShift(t){for(let r=new WAe(this);;){let n=this.p.parser.stateSlot(r.state,4)||this.p.parser.hasAction(r.state,t);if(n==0)return!1;if(!(n&65536))return!0;r.reduce(n)}}recoverByInsert(t){if(this.stack.length>=300)return[];let r=this.p.parser.nextStates(this.state);if(r.length>8||this.stack.length>=120){let o=[];for(let s=0,i;sl&1&&a==i)||o.push(r[s],i)}r=o}let n=[];for(let o=0;o>19,o=r&65535,s=this.stack.length-n*3;if(s<0||t.getGoto(this.stack[s],o,!1)<0){let i=this.findForcedReduction();if(i==null)return!1;r=i}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(r),!0}findForcedReduction(){let{parser:t}=this.p,r=[],n=(o,s)=>{if(!r.includes(o))return r.push(o),t.allActions(o,i=>{if(!(i&393216))if(i&65536){let a=(i>>19)-s;if(a>1){let l=i&65535,c=this.stack.length-a*3;if(c>=0&&t.getGoto(this.stack[c],l,!1)>=0)return a<<19|65536|l}}else{let a=n(i,s+1);if(a!=null)return a}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:t}=this.p;return t.data[t.stateSlot(this.state,1)]==65535&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(let r=0;rthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=t)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class _4{constructor(t,r){this.tracker=t,this.context=r,this.hash=t.strict?t.hash(r):0}}class WAe{constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}reduce(t){let r=t&65535,n=t>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let o=this.start.p.parser.getGoto(this.stack[this.base-3],r,!0);this.state=o}}class y1{constructor(t,r,n){this.stack=t,this.pos=r,this.index=n,this.buffer=t.buffer,this.index==0&&this.maybeNext()}static create(t,r=t.bufferBase+t.buffer.length){return new y1(t,r,r-t.bufferBase)}maybeNext(){let t=this.stack.parent;t!=null&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new y1(this.stack,this.pos,this.index)}}function k0(e,t=Uint16Array){if(typeof e!="string")return e;let r=null;for(let n=0,o=0;n=92&&i--,i>=34&&i--;let l=i-32;if(l>=46&&(l-=46,a=!0),s+=l,a)break;s*=46}r?r[o++]=s:r=new t(s)}return r}class pb{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const S4=new pb;class GAe{constructor(t,r){this.input=t,this.ranges=r,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=S4,this.rangeIndex=0,this.pos=this.chunkPos=r[0].from,this.range=r[0],this.end=r[r.length-1].to,this.readNext()}resolveOffset(t,r){let n=this.range,o=this.rangeIndex,s=this.pos+t;for(;sn.to:s>=n.to;){if(o==this.ranges.length-1)return null;let i=this.ranges[++o];s+=i.from-n.to,n=i}return s}clipPos(t){if(t>=this.range.from&&tt)return Math.max(t,r.from);return this.end}peek(t){let r=this.chunkOff+t,n,o;if(r>=0&&r=this.chunk2Pos&&na.to&&(this.chunk2=this.chunk2.slice(0,a.to-n)),o=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),o}acceptToken(t,r=0){let n=r?this.resolveOffset(r,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?t.slice(0,this.range.to-this.pos):t,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(t,r){if(r?(this.token=r,r.start=t,r.lookAhead=t+1,r.value=r.extended=-1):this.token=S4,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;for(;t=this.range.to;)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t=this.chunkPos&&r<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,r-this.chunkPos);if(t>=this.chunk2Pos&&r<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,r-this.chunk2Pos);if(t>=this.range.from&&r<=this.range.to)return this.input.read(t,r);let n="";for(let o of this.ranges){if(o.from>=r)break;o.to>t&&(n+=this.input.read(Math.max(o.from,t),Math.min(o.to,r)))}return n}}class Ff{constructor(t,r){this.data=t,this.id=r}token(t,r){let{parser:n}=r.p;JAe(this.data,t,r,this.id,n.data,n.tokenPrecTable)}}Ff.prototype.contextual=Ff.prototype.fallback=Ff.prototype.extend=!1;Ff.prototype.fallback=Ff.prototype.extend=!1;function JAe(e,t,r,n,o,s){let i=0,a=1<0){let m=e[f];if(l.allows(m)&&(t.token.value==-1||t.token.value==m||KAe(m,t.token.value,o,s))){t.acceptToken(m);break}}let u=t.next,d=0,p=e[i+2];if(t.next<0&&p>d&&e[c+p*3-3]==65535){i=e[c+p*3-1];continue e}for(;d>1,m=c+f+(f<<1),v=e[m],g=e[m+1]||65536;if(u=g)d=f+1;else{i=e[m+2],t.advance();continue e}}break}}function C4(e,t,r){for(let n=t,o;(o=e[n])!=65535;n++)if(o==r)return n-t;return-1}function KAe(e,t,r,n){let o=C4(r,n,t);return o<0||C4(r,n,e)t)&&!n.type.isError)return r<0?Math.max(0,Math.min(n.to-1,t-25)):Math.min(e.length,Math.max(n.from+1,t+25));if(r<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return r<0?0:e.length}}class QAe{constructor(t,r){this.fragments=t,this.nodeSet=r,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?A4(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?A4(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(tt)return this.nextStart=i,null;if(s instanceof ns){if(i==t){if(i=Math.max(this.safeFrom,t)&&(this.trees.push(s),this.start.push(i),this.index.push(0))}else this.index[r]++,this.nextStart=i+s.length}}}class ZAe{constructor(t,r){this.stream=r,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map(n=>new pb)}getActions(t){let r=0,n=null,{parser:o}=t.p,{tokenizers:s}=o,i=o.stateSlot(t.state,3),a=t.curContext?t.curContext.hash:0,l=0;for(let c=0;cd.end+25&&(l=Math.max(d.lookAhead,l)),d.value!=0)){let p=r;if(d.extended>-1&&(r=this.addActions(t,d.extended,d.end,r)),r=this.addActions(t,d.value,d.end,r),!u.extend&&(n=d,r>p))break}}for(;this.actions.length>r;)this.actions.pop();return l&&t.setLookAhead(l),!n&&t.pos==this.stream.end&&(n=new pb,n.value=t.p.parser.eofTerm,n.start=n.end=t.pos,r=this.addActions(t,n.value,n.end,r)),this.mainToken=n,this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let r=new pb,{pos:n,p:o}=t;return r.start=n,r.end=Math.min(n+1,o.stream.end),r.value=n==o.stream.end?o.parser.eofTerm:0,r}updateCachedToken(t,r,n){let o=this.stream.clipPos(n.pos);if(r.token(this.stream.reset(o,t),n),t.value>-1){let{parser:s}=n.p;for(let i=0;i=0&&n.p.parser.dialect.allows(a>>1)){a&1?t.extended=a>>1:t.value=a>>1;break}}}else t.value=0,t.end=this.stream.clipPos(o+1)}putAction(t,r,n,o){for(let s=0;st.bufferLength*4?new QAe(n,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,r=this.minStackPos,n=this.stacks=[],o,s;if(this.bigReductionCount>300&&t.length==1){let[i]=t;for(;i.forceReduce()&&i.stack.length&&i.stack[i.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let i=0;ir)n.push(a);else{if(this.advanceStack(a,n,t))continue;{o||(o=[],s=[]),o.push(a);let l=this.tokens.getMainToken(a);s.push(l.value,l.end)}}break}}if(!n.length){let i=o&&eEe(o);if(i)return Oi&&console.log("Finish with "+this.stackID(i)),this.stackToTree(i);if(this.parser.strict)throw Oi&&o&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&o){let i=this.stoppedAt!=null&&o[0].pos>this.stoppedAt?o[0]:this.runRecovery(o,s,n);if(i)return Oi&&console.log("Force-finish "+this.stackID(i)),this.stackToTree(i.forceAll())}if(this.recovering){let i=this.recovering==1?1:this.recovering*3;if(n.length>i)for(n.sort((a,l)=>l.score-a.score);n.length>i;)n.pop();n.some(a=>a.reducePos>r)&&this.recovering--}else if(n.length>1){e:for(let i=0;i500&&c.buffer.length>500)if((a.score-c.score||a.buffer.length-c.buffer.length)>0)n.splice(l--,1);else{n.splice(i--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let i=1;i ":"";if(this.stoppedAt!=null&&o>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let c=t.curContext&&t.curContext.tracker.strict,u=c?t.curContext.hash:0;for(let d=this.fragments.nodeAt(o);d;){let p=this.parser.nodeSet.types[d.type.id]==d.type?s.getGoto(t.state,d.type.id):-1;if(p>-1&&d.length&&(!c||(d.prop(rn.contextHash)||0)==u))return t.useNode(d,p),Oi&&console.log(i+this.stackID(t)+` (via reuse of ${s.getName(d.type.id)})`),!0;if(!(d instanceof ns)||d.children.length==0||d.positions[0]>0)break;let f=d.children[0];if(f instanceof ns&&d.positions[0]==0)d=f;else break}}let a=s.stateSlot(t.state,4);if(a>0)return t.reduce(a),Oi&&console.log(i+this.stackID(t)+` (via always-reduce ${s.getName(a&65535)})`),!0;if(t.stack.length>=8400)for(;t.stack.length>6e3&&t.forceReduce(););let l=this.tokens.getActions(t);for(let c=0;co?r.push(m):n.push(m)}return!1}advanceFully(t,r){let n=t.pos;for(;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>n)return E4(t,r),!0}}runRecovery(t,r,n){let o=null,s=!1;for(let i=0;i ":"";if(a.deadEnd&&(s||(s=!0,a.restart(),Oi&&console.log(u+this.stackID(a)+" (restarted)"),this.advanceFully(a,n))))continue;let d=a.split(),p=u;for(let f=0;d.forceReduce()&&f<10&&(Oi&&console.log(p+this.stackID(d)+" (via force-reduce)"),!this.advanceFully(d,n));f++)Oi&&(p=this.stackID(d)+" -> ");for(let f of a.recoverByInsert(l))Oi&&console.log(u+this.stackID(f)+" (via recover-insert)"),this.advanceFully(f,n);this.stream.end>a.pos?(c==a.pos&&(c++,l=0),a.recoverByDelete(l,c),Oi&&console.log(u+this.stackID(a)+` (via recover-delete ${this.parser.getName(l)})`),E4(a,n)):(!o||o.scoret.topRules[a][1]),o=[];for(let a=0;a=0)s(u,l,a[c++]);else{let d=a[c+-u];for(let p=-u;p>0;p--)s(a[c++],l,d);c++}}}this.nodeSet=new JA(r.map((a,l)=>ji.define({name:l>=this.minRepeatTerm?void 0:a,id:l,props:o[l],top:n.indexOf(l)>-1,error:l==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(l)>-1}))),t.propSources&&(this.nodeSet=this.nodeSet.extend(...t.propSources)),this.strict=!1,this.bufferLength=E9;let i=k0(t.tokenData);this.context=t.context,this.specializerSpecs=t.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let a=0;atypeof a=="number"?new Ff(i,a):a),this.topRules=t.topRules,this.dialects=t.dialects||{},this.dynamicPrecedences=t.dynamicPrecedences||null,this.tokenPrecTable=t.tokenPrec,this.termNames=t.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,r,n){let o=new XAe(this,t,r,n);for(let s of this.wrappers)o=s(o,t,r,n);return o}getGoto(t,r,n=!1){let o=this.goto;if(r>=o[0])return-1;for(let s=o[r+1];;){let i=o[s++],a=i&1,l=o[s++];if(a&&n)return l;for(let c=s+(i>>1);s0}validAction(t,r){return!!this.allActions(t,n=>n==r?!0:null)}allActions(t,r){let n=this.stateSlot(t,4),o=n?r(n):void 0;for(let s=this.stateSlot(t,1);o==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=ic(this.data,s+2);else break;o=r(ic(this.data,s+1))}return o}nextStates(t){let r=[];for(let n=this.stateSlot(t,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=ic(this.data,n+2);else break;if(!(this.data[n+2]&1)){let o=this.data[n+1];r.some((s,i)=>i&1&&s==o)||r.push(this.data[n],o)}}return r}configure(t){let r=Object.assign(Object.create(b1.prototype),this);if(t.props&&(r.nodeSet=this.nodeSet.extend(...t.props)),t.top){let n=this.topRules[t.top];if(!n)throw new RangeError(`Invalid top rule name ${t.top}`);r.top=n}return t.tokenizers&&(r.tokenizers=this.tokenizers.map(n=>{let o=t.tokenizers.find(s=>s.from==n);return o?o.to:n})),t.specializers&&(r.specializers=this.specializers.slice(),r.specializerSpecs=this.specializerSpecs.map((n,o)=>{let s=t.specializers.find(a=>a.from==n.external);if(!s)return n;let i=Object.assign(Object.assign({},n),{external:s.to});return r.specializers[o]=O4(i),i})),t.contextTracker&&(r.context=t.contextTracker),t.dialect&&(r.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(r.strict=t.strict),t.wrap&&(r.wrappers=r.wrappers.concat(t.wrap)),t.bufferLength!=null&&(r.bufferLength=t.bufferLength),r}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let r=this.dynamicPrecedences;return r==null?0:r[t]||0}parseDialect(t){let r=Object.keys(this.dialects),n=r.map(()=>!1);if(t)for(let s of t.split(" ")){let i=r.indexOf(s);i>=0&&(n[i]=!0)}let o=null;for(let s=0;sn)&&r.p.parser.stateFlag(r.state,2)&&(!t||t.scoree.external(r,n)<<1|t}return e.get}const tEe=I9({String:ct.string,Number:ct.number,"True False":ct.bool,PropertyName:ct.propertyName,Null:ct.null,", :":ct.separator,"[ ]":ct.squareBracket,"{ }":ct.brace}),rEe=b1.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[tEe],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),nEe=f1.define({name:"json",parser:rEe.configure({props:[N9.add({Object:l4({except:/^\s*\}/}),Array:l4({except:/^\s*\]/})}),B9.add({"Object Array":Y2e})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function oEe(){return new z2e(nEe)}const $4=typeof String.prototype.normalize=="function"?e=>e.normalize("NFKD"):e=>e;class hh{constructor(t,r,n=0,o=t.length,s,i){this.test=i,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=t.iterRange(n,o),this.bufferStart=n,this.normalize=s?a=>s($4(a)):$4,this.query=this.normalize(r)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return hi(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let t=this.peek();if(t<0)return this.done=!0,this;let r=IA(t),n=this.bufferStart+this.bufferPos;this.bufferPos+=ml(t);let o=this.normalize(r);if(o.length)for(let s=0,i=n;;s++){let a=o.charCodeAt(s),l=this.match(a,i,this.bufferPos+this.bufferStart);if(s==o.length-1){if(l)return this.value=l,this;break}i==n&&sthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let t=this.matchPos-this.curLineStart;;){this.re.lastIndex=t;let r=this.matchPos<=this.to&&this.re.exec(this.curLine);if(r){let n=this.curLineStart+r.index,o=n+r[0].length;if(this.matchPos=w1(this.text,o+(n==o?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,o,r)))return this.value={from:n,to:o,match:r},this;t=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=n||o.to<=r){let a=new Vf(r,t.sliceString(r,n));return pj.set(t,a),a}if(o.from==r&&o.to==n)return o;let{text:s,from:i}=o;return i>r&&(s=t.sliceString(r,i)+s,i=r),o.to=this.to?this.to:this.text.lineAt(t).to}next(){for(;;){let t=this.re.lastIndex=this.matchPos-this.flat.from,r=this.re.exec(this.flat.text);if(r&&!r[0]&&r.index==t&&(this.re.lastIndex=t+1,r=this.re.exec(this.flat.text)),r){let n=this.flat.from+r.index,o=n+r[0].length;if((this.flat.to>=this.to||r.index+r[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,o,r)))return this.value={from:n,to:o,match:r},this.matchPos=w1(this.text,o+(n==o?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Vf.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(Nq.prototype[Symbol.iterator]=Rq.prototype[Symbol.iterator]=function(){return this});function sEe(e){try{return new RegExp(e,sE),!0}catch{return!1}}function w1(e,t){if(t>=e.length)return t;let r=e.lineAt(t),n;for(;t=56320&&n<57344;)t++;return t}function JS(e){let t=String(e.state.doc.lineAt(e.state.selection.main.head).number),r=go("input",{class:"cm-textfield",name:"line",value:t}),n=go("form",{class:"cm-gotoLine",onkeydown:s=>{s.keyCode==27?(s.preventDefault(),e.dispatch({effects:x1.of(!1)}),e.focus()):s.keyCode==13&&(s.preventDefault(),o())},onsubmit:s=>{s.preventDefault(),o()}},go("label",e.state.phrase("Go to line"),": ",r)," ",go("button",{class:"cm-button",type:"submit"},e.state.phrase("go")));function o(){let s=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(r.value);if(!s)return;let{state:i}=e,a=i.doc.lineAt(i.selection.main.head),[,l,c,u,d]=s,p=u?+u.slice(1):0,f=c?+c:a.number;if(c&&d){let g=f/100;l&&(g=g*(l=="-"?-1:1)+a.number/i.doc.lines),f=Math.round(i.doc.lines*g)}else c&&l&&(f=f*(l=="-"?-1:1)+a.number);let m=i.doc.line(Math.max(1,Math.min(i.doc.lines,f))),v=Je.cursor(m.from+Math.max(0,Math.min(p,m.length)));e.dispatch({effects:[x1.of(!1),jt.scrollIntoView(v.from,{y:"center"})],selection:v}),e.focus()}return{dom:n}}const x1=Gr.define(),T4=js.define({create(){return!0},update(e,t){for(let r of t.effects)r.is(x1)&&(e=r.value);return e},provide:e=>Lg.from(e,t=>t?JS:null)}),iEe=e=>{let t=Mg(e,JS);if(!t){let r=[x1.of(!0)];e.state.field(T4,!1)==null&&r.push(Gr.appendConfig.of([T4,aEe])),e.dispatch({effects:r}),t=Mg(e,JS)}return t&&t.dom.querySelector("input").select(),!0},aEe=jt.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),lEe={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},cEe=At.define({combine(e){return ol(e,lEe,{highlightWordAroundCursor:(t,r)=>t||r,minSelectionLength:Math.min,maxMatches:Math.min})}});function uEe(e){return[mEe,hEe]}const dEe=kr.mark({class:"cm-selectionMatch"}),pEe=kr.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function P4(e,t,r,n){return(r==0||e(t.sliceDoc(r-1,r))!=To.Word)&&(n==t.doc.length||e(t.sliceDoc(n,n+1))!=To.Word)}function fEe(e,t,r,n){return e(t.sliceDoc(r,r+1))==To.Word&&e(t.sliceDoc(n-1,n))==To.Word}const hEe=No.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(cEe),{state:r}=e,n=r.selection;if(n.ranges.length>1)return kr.none;let o=n.main,s,i=null;if(o.empty){if(!t.highlightWordAroundCursor)return kr.none;let l=r.wordAt(o.head);if(!l)return kr.none;i=r.charCategorizer(o.head),s=r.sliceDoc(l.from,l.to)}else{let l=o.to-o.from;if(l200)return kr.none;if(t.wholeWords){if(s=r.sliceDoc(o.from,o.to),i=r.charCategorizer(o.head),!(P4(i,r,o.from,o.to)&&fEe(i,r,o.from,o.to)))return kr.none}else if(s=r.sliceDoc(o.from,o.to),!s)return kr.none}let a=[];for(let l of e.visibleRanges){let c=new hh(r.doc,s,l.from,l.to);for(;!c.next().done;){let{from:u,to:d}=c.value;if((!i||P4(i,r,u,d))&&(o.empty&&u<=o.from&&d>=o.to?a.push(pEe.range(u,d)):(u>=o.to||d<=o.from)&&a.push(dEe.range(u,d)),a.length>t.maxMatches))return kr.none}}return kr.set(a)}},{decorations:e=>e.decorations}),mEe=jt.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),gEe=({state:e,dispatch:t})=>{let{selection:r}=e,n=Je.create(r.ranges.map(o=>e.wordAt(o.head)||Je.cursor(o.head)),r.mainIndex);return n.eq(r)?!1:(t(e.update({selection:n})),!0)};function vEe(e,t){let{main:r,ranges:n}=e.selection,o=e.wordAt(r.head),s=o&&o.from==r.from&&o.to==r.to;for(let i=!1,a=new hh(e.doc,t,n[n.length-1].to);;)if(a.next(),a.done){if(i)return null;a=new hh(e.doc,t,0,Math.max(0,n[n.length-1].from-1)),i=!0}else{if(i&&n.some(l=>l.from==a.value.from))continue;if(s){let l=e.wordAt(a.value.from);if(!l||l.from!=a.value.from||l.to!=a.value.to)continue}return a.value}}const yEe=({state:e,dispatch:t})=>{let{ranges:r}=e.selection;if(r.some(s=>s.from===s.to))return gEe({state:e,dispatch:t});let n=e.sliceDoc(r[0].from,r[0].to);if(e.selection.ranges.some(s=>e.sliceDoc(s.from,s.to)!=n))return!1;let o=vEe(e,n);return o?(t(e.update({selection:e.selection.addRange(Je.range(o.from,o.to),!1),effects:jt.scrollIntoView(o.to)})),!0):!1},Mp=At.define({combine(e){return ol(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:t=>new TEe(t),scrollToMatch:t=>jt.scrollIntoView(t)})}});function bEe(e){return e?[Mp.of(e),QS]:QS}class Bq{constructor(t){this.search=t.search,this.caseSensitive=!!t.caseSensitive,this.literal=!!t.literal,this.regexp=!!t.regexp,this.replace=t.replace||"",this.valid=!!this.search&&(!this.regexp||sEe(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!t.wholeWord}unquote(t){return this.literal?t:t.replace(/\\([nrt\\])/g,(r,n)=>n=="n"?` -`:n=="r"?"\r":n=="t"?" ":"\\")}eq(t){return this.search==t.search&&this.replace==t.replace&&this.caseSensitive==t.caseSensitive&&this.regexp==t.regexp&&this.wholeWord==t.wholeWord}create(){return this.regexp?new jEe(this):new xEe(this)}getCursor(t,r=0,n){let o=t.doc?t:an.create({doc:t});return n==null&&(n=o.doc.length),this.regexp?hf(this,o,r,n):ff(this,o,r,n)}}class qq{constructor(t){this.spec=t}}function ff(e,t,r,n){return new hh(t.doc,e.unquoted,r,n,e.caseSensitive?void 0:o=>o.toLowerCase(),e.wholeWord?wEe(t.doc,t.charCategorizer(t.selection.main.head)):void 0)}function wEe(e,t){return(r,n,o,s)=>((s>r||s+o.length=r)return null;o.push(n.value)}return o}highlight(t,r,n,o){let s=ff(this.spec,t,Math.max(0,r-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,t.doc.length));for(;!s.next().done;)o(s.value.from,s.value.to)}}function hf(e,t,r,n){return new Nq(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?kEe(t.charCategorizer(t.selection.main.head)):void 0},r,n)}function k1(e,t){return e.slice($s(e,t,!1),t)}function j1(e,t){return e.slice(t,$s(e,t))}function kEe(e){return(t,r,n)=>!n[0].length||(e(k1(n.input,n.index))!=To.Word||e(j1(n.input,n.index))!=To.Word)&&(e(j1(n.input,n.index+n[0].length))!=To.Word||e(k1(n.input,n.index+n[0].length))!=To.Word)}class jEe extends qq{nextMatch(t,r,n){let o=hf(this.spec,t,n,t.doc.length).next();return o.done&&(o=hf(this.spec,t,0,r).next()),o.done?null:o.value}prevMatchInRange(t,r,n){for(let o=1;;o++){let s=Math.max(r,n-o*1e4),i=hf(this.spec,t,s,n),a=null;for(;!i.next().done;)a=i.value;if(a&&(s==r||a.from>s+10))return a;if(s==r)return null}}prevMatch(t,r,n){return this.prevMatchInRange(t,0,r)||this.prevMatchInRange(t,n,t.doc.length)}getReplacement(t){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(r,n)=>n=="$"?"$":n=="&"?t.match[0]:n!="0"&&+n=r)return null;o.push(n.value)}return o}highlight(t,r,n,o){let s=hf(this.spec,t,Math.max(0,r-250),Math.min(n+250,t.doc.length));for(;!s.next().done;)o(s.value.from,s.value.to)}}const qg=Gr.define(),iE=Gr.define(),$u=js.define({create(e){return new fj(KS(e).create(),null)},update(e,t){for(let r of t.effects)r.is(qg)?e=new fj(r.value.create(),e.panel):r.is(iE)&&(e=new fj(e.query,r.value?aE:null));return e},provide:e=>Lg.from(e,t=>t.panel)});class fj{constructor(t,r){this.query=t,this.panel=r}}const _Ee=kr.mark({class:"cm-searchMatch"}),SEe=kr.mark({class:"cm-searchMatch cm-searchMatch-selected"}),CEe=No.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field($u))}update(e){let t=e.state.field($u);(t!=e.startState.field($u)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return kr.none;let{view:r}=this,n=new Qa;for(let o=0,s=r.visibleRanges,i=s.length;os[o+1].from-500;)l=s[++o].to;e.highlight(r.state,a,l,(c,u)=>{let d=r.state.selection.ranges.some(p=>p.from==c&&p.to==u);n.add(c,u,d?SEe:_Ee)})}return n.finish()}},{decorations:e=>e.decorations});function Iv(e){return t=>{let r=t.state.field($u,!1);return r&&r.query.spec.valid?e(t,r):lE(t)}}const _1=Iv((e,{query:t})=>{let{to:r}=e.state.selection.main,n=t.nextMatch(e.state,r,r);if(!n)return!1;let o=Je.single(n.from,n.to),s=e.state.facet(Mp);return e.dispatch({selection:o,effects:[uE(e,n),s.scrollToMatch(o.main,e)],userEvent:"select.search"}),Fq(e),!0}),S1=Iv((e,{query:t})=>{let{state:r}=e,{from:n}=r.selection.main,o=t.prevMatch(r,n,n);if(!o)return!1;let s=Je.single(o.from,o.to),i=e.state.facet(Mp);return e.dispatch({selection:s,effects:[uE(e,o),i.scrollToMatch(s.main,e)],userEvent:"select.search"}),Fq(e),!0}),AEe=Iv((e,{query:t})=>{let r=t.matchAll(e.state,1e3);return!r||!r.length?!1:(e.dispatch({selection:Je.create(r.map(n=>Je.range(n.from,n.to))),userEvent:"select.search.matches"}),!0)}),EEe=({state:e,dispatch:t})=>{let r=e.selection;if(r.ranges.length>1||r.main.empty)return!1;let{from:n,to:o}=r.main,s=[],i=0;for(let a=new hh(e.doc,e.sliceDoc(n,o));!a.next().done;){if(s.length>1e3)return!1;a.value.from==n&&(i=s.length),s.push(Je.range(a.value.from,a.value.to))}return t(e.update({selection:Je.create(s,i),userEvent:"select.search.matches"})),!0},I4=Iv((e,{query:t})=>{let{state:r}=e,{from:n,to:o}=r.selection.main;if(r.readOnly)return!1;let s=t.nextMatch(r,n,n);if(!s)return!1;let i=s,a=[],l,c,u=[];if(i.from==n&&i.to==o&&(c=r.toText(t.getReplacement(i)),a.push({from:i.from,to:i.to,insert:c}),i=t.nextMatch(r,i.from,i.to),u.push(jt.announce.of(r.phrase("replaced match on line $",r.doc.lineAt(n).number)+"."))),i){let d=a.length==0||a[0].from>=s.to?0:s.to-s.from-c.length;l=Je.single(i.from-d,i.to-d),u.push(uE(e,i)),u.push(r.facet(Mp).scrollToMatch(l.main,e))}return e.dispatch({changes:a,selection:l,effects:u,userEvent:"input.replace"}),!0}),OEe=Iv((e,{query:t})=>{if(e.state.readOnly)return!1;let r=t.matchAll(e.state,1e9).map(o=>{let{from:s,to:i}=o;return{from:s,to:i,insert:t.getReplacement(o)}});if(!r.length)return!1;let n=e.state.phrase("replaced $ matches",r.length)+".";return e.dispatch({changes:r,effects:jt.announce.of(n),userEvent:"input.replace.all"}),!0});function aE(e){return e.state.facet(Mp).createPanel(e)}function KS(e,t){var r,n,o,s,i;let a=e.selection.main,l=a.empty||a.to>a.from+100?"":e.sliceDoc(a.from,a.to);if(t&&!l)return t;let c=e.facet(Mp);return new Bq({search:((r=t==null?void 0:t.literal)!==null&&r!==void 0?r:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(n=t==null?void 0:t.caseSensitive)!==null&&n!==void 0?n:c.caseSensitive,literal:(o=t==null?void 0:t.literal)!==null&&o!==void 0?o:c.literal,regexp:(s=t==null?void 0:t.regexp)!==null&&s!==void 0?s:c.regexp,wholeWord:(i=t==null?void 0:t.wholeWord)!==null&&i!==void 0?i:c.wholeWord})}function zq(e){let t=Mg(e,aE);return t&&t.dom.querySelector("[main-field]")}function Fq(e){let t=zq(e);t&&t==e.root.activeElement&&t.select()}const lE=e=>{let t=e.state.field($u,!1);if(t&&t.panel){let r=zq(e);if(r&&r!=e.root.activeElement){let n=KS(e.state,t.query.spec);n.valid&&e.dispatch({effects:qg.of(n)}),r.focus(),r.select()}}else e.dispatch({effects:[iE.of(!0),t?qg.of(KS(e.state,t.query.spec)):Gr.appendConfig.of(QS)]});return!0},cE=e=>{let t=e.state.field($u,!1);if(!t||!t.panel)return!1;let r=Mg(e,aE);return r&&r.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:iE.of(!1)}),!0},$Ee=[{key:"Mod-f",run:lE,scope:"editor search-panel"},{key:"F3",run:_1,shift:S1,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:_1,shift:S1,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:cE,scope:"editor search-panel"},{key:"Mod-Shift-l",run:EEe},{key:"Mod-Alt-g",run:iEe},{key:"Mod-d",run:yEe,preventDefault:!0}];class TEe{constructor(t){this.view=t;let r=this.query=t.state.field($u).query.spec;this.commit=this.commit.bind(this),this.searchField=go("input",{value:r.search,placeholder:$i(t,"Find"),"aria-label":$i(t,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=go("input",{value:r.replace,placeholder:$i(t,"Replace"),"aria-label":$i(t,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=go("input",{type:"checkbox",name:"case",form:"",checked:r.caseSensitive,onchange:this.commit}),this.reField=go("input",{type:"checkbox",name:"re",form:"",checked:r.regexp,onchange:this.commit}),this.wordField=go("input",{type:"checkbox",name:"word",form:"",checked:r.wholeWord,onchange:this.commit});function n(o,s,i){return go("button",{class:"cm-button",name:o,onclick:s,type:"button"},i)}this.dom=go("div",{onkeydown:o=>this.keydown(o),class:"cm-search"},[this.searchField,n("next",()=>_1(t),[$i(t,"next")]),n("prev",()=>S1(t),[$i(t,"previous")]),n("select",()=>AEe(t),[$i(t,"all")]),go("label",null,[this.caseField,$i(t,"match case")]),go("label",null,[this.reField,$i(t,"regexp")]),go("label",null,[this.wordField,$i(t,"by word")]),...t.state.readOnly?[]:[go("br"),this.replaceField,n("replace",()=>I4(t),[$i(t,"replace")]),n("replaceAll",()=>OEe(t),[$i(t,"replace all")])],go("button",{name:"close",onclick:()=>cE(t),"aria-label":$i(t,"close"),type:"button"},["×"])])}commit(){let t=new Bq({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});t.eq(this.query)||(this.query=t,this.view.dispatch({effects:qg.of(t)}))}keydown(t){kSe(this.view,t,"search-panel")?t.preventDefault():t.keyCode==13&&t.target==this.searchField?(t.preventDefault(),(t.shiftKey?S1:_1)(this.view)):t.keyCode==13&&t.target==this.replaceField&&(t.preventDefault(),I4(this.view))}update(t){for(let r of t.transactions)for(let n of r.effects)n.is(qg)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(t){this.query=t,this.searchField.value=t.search,this.replaceField.value=t.replace,this.caseField.checked=t.caseSensitive,this.reField.checked=t.regexp,this.wordField.checked=t.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(Mp).top}}function $i(e,t){return e.state.phrase(t)}const j0=30,_0=/[\s\.,:;?!]/;function uE(e,{from:t,to:r}){let n=e.state.doc.lineAt(t),o=e.state.doc.lineAt(r).to,s=Math.max(n.from,t-j0),i=Math.min(o,r+j0),a=e.state.sliceDoc(s,i);if(s!=n.from){for(let l=0;la.length-j0;l--)if(!_0.test(a[l-1])&&_0.test(a[l])){a=a.slice(0,l);break}}return jt.announce.of(`${e.state.phrase("current match")}. ${a} ${e.state.phrase("on line")} ${n.number}.`)}const PEe=jt.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),QS=[$u,Dp.low(CEe),PEe];class Vq{constructor(t,r,n,o){this.state=t,this.pos=r,this.explicit=n,this.view=o,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(t){let r=Ws(this.state).resolveInner(this.pos,-1);for(;r&&t.indexOf(r.name)<0;)r=r.parent;return r?{from:r.from,to:this.pos,text:this.state.sliceDoc(r.from,this.pos),type:r.type}:null}matchBefore(t){let r=this.state.doc.lineAt(this.pos),n=Math.max(r.from,this.pos-250),o=r.text.slice(n-r.from,this.pos-r.from),s=o.search(Uq(t,!1));return s<0?null:{from:n+s,to:this.pos,text:o.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(t,r,n){t=="abort"&&this.abortListeners&&(this.abortListeners.push(r),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function D4(e){let t=Object.keys(e).join(""),r=/\w/.test(t);return r&&(t=t.replace(/\w/g,"")),`[${r?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function IEe(e){let t=Object.create(null),r=Object.create(null);for(let{label:o}of e){t[o[0]]=!0;for(let s=1;stypeof o=="string"?{label:o}:o),[r,n]=t.every(o=>/^\w+$/.test(o.label))?[/\w*$/,/\w+$/]:IEe(t);return o=>{let s=o.matchBefore(n);return s||o.explicit?{from:s?s.from:o.pos,options:t,validFor:r}:null}}class M4{constructor(t,r,n,o){this.completion=t,this.source=r,this.match=n,this.score=o}}function Gd(e){return e.selection.main.from}function Uq(e,t){var r;let{source:n}=e,o=t&&n[0]!="^",s=n[n.length-1]!="$";return!o&&!s?e:new RegExp(`${o?"^":""}(?:${n})${s?"$":""}`,(r=e.flags)!==null&&r!==void 0?r:e.ignoreCase?"i":"")}const Hq=cd.define();function MEe(e,t,r,n){let{main:o}=e.selection,s=r-o.from,i=n-o.from;return Object.assign(Object.assign({},e.changeByRange(a=>{if(a!=o&&r!=n&&e.sliceDoc(a.from+s,a.from+i)!=e.sliceDoc(r,n))return{range:a};let l=e.toText(t);return{changes:{from:a.from+s,to:n==o.from?a.to:a.from+i,insert:l},range:Je.cursor(a.from+s+l.length)}})),{scrollIntoView:!0,userEvent:"input.complete"})}const L4=new WeakMap;function LEe(e){if(!Array.isArray(e))return e;let t=L4.get(e);return t||L4.set(e,t=DEe(e)),t}const C1=Gr.define(),zg=Gr.define();class NEe{constructor(t){this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let r=0;r=48&&x<=57||x>=97&&x<=122?2:x>=65&&x<=90?1:0:(j=IA(x))!=j.toLowerCase()?1:j!=j.toUpperCase()?2:0;(!b||_==1&&g||k==0&&_!=0)&&(r[d]==x||n[d]==x&&(p=!0)?i[d++]=b:i.length&&(y=!1)),k=_,b+=ml(x)}return d==l&&i[0]==0&&y?this.result(-100+(p?-200:0),i,t):f==l&&m==0?this.ret(-200-t.length+(v==t.length?0:-100),[0,v]):a>-1?this.ret(-700-t.length,[a,a+this.pattern.length]):f==l?this.ret(-900-t.length,[m,v]):d==l?this.result(-100+(p?-200:0)+-700+(y?0:-1100),i,t):r.length==2?null:this.result((o[0]?-700:0)+-200+-1100,o,t)}result(t,r,n){let o=[],s=0;for(let i of r){let a=i+(this.astral?ml(hi(n,i)):1);s&&o[s-1]==i?o[s-1]=a:(o[s++]=i,o[s++]=a)}return this.ret(t-n.length,o)}}class REe{constructor(t){this.pattern=t,this.matched=[],this.score=0,this.folded=t.toLowerCase()}match(t){if(t.length!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:BEe,filterStrict:!1,compareCompletions:(t,r)=>t.label.localeCompare(r.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(t,r)=>t&&r,closeOnBlur:(t,r)=>t&&r,icons:(t,r)=>t&&r,tooltipClass:(t,r)=>n=>N4(t(n),r(n)),optionClass:(t,r)=>n=>N4(t(n),r(n)),addToOptions:(t,r)=>t.concat(r),filterStrict:(t,r)=>t||r})}});function N4(e,t){return e?t?e+" "+t:e:t}function BEe(e,t,r,n,o,s){let i=e.textDirection==Co.RTL,a=i,l=!1,c="top",u,d,p=t.left-o.left,f=o.right-t.right,m=n.right-n.left,v=n.bottom-n.top;if(a&&p=v||b>t.top?u=r.bottom-t.top:(c="bottom",u=t.bottom-r.top)}let g=(t.bottom-t.top)/s.offsetHeight,y=(t.right-t.left)/s.offsetWidth;return{style:`${c}: ${u/g}px; max-width: ${d/y}px`,class:"cm-completionInfo-"+(l?i?"left-narrow":"right-narrow":a?"left":"right")}}function qEe(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(r){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),r.type&&n.classList.add(...r.type.split(/\s+/g).map(o=>"cm-completionIcon-"+o)),n.setAttribute("aria-hidden","true"),n},position:20}),t.push({render(r,n,o,s){let i=document.createElement("span");i.className="cm-completionLabel";let a=r.displayLabel||r.label,l=0;for(let c=0;cl&&i.appendChild(document.createTextNode(a.slice(l,u)));let p=i.appendChild(document.createElement("span"));p.appendChild(document.createTextNode(a.slice(u,d))),p.className="cm-completionMatchedText",l=d}return lr.position-n.position).map(r=>r.render)}function hj(e,t,r){if(e<=r)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let o=Math.floor(t/r);return{from:o*r,to:(o+1)*r}}let n=Math.floor((e-t)/r);return{from:e-(n+1)*r,to:e-n*r}}class zEe{constructor(t,r,n){this.view=t,this.stateField=r,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let o=t.state.field(r),{options:s,selected:i}=o.open,a=t.state.facet(ys);this.optionContent=qEe(a),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=hj(s.length,i,a.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(t.state),this.dom.addEventListener("mousedown",l=>{let{options:c}=t.state.field(r).open;for(let u=l.target,d;u&&u!=this.dom;u=u.parentNode)if(u.nodeName=="LI"&&(d=/-(\d+)$/.exec(u.id))&&+d[1]{let c=t.state.field(this.stateField,!1);c&&c.tooltip&&t.state.facet(ys).closeOnBlur&&l.relatedTarget!=t.contentDOM&&t.dispatch({effects:zg.of(null)})}),this.showOptions(s,o.id)}mount(){this.updateSel()}showOptions(t,r){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t,r,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(t){var r;let n=t.state.field(this.stateField),o=t.startState.field(this.stateField);if(this.updateTooltipClass(t.state),n!=o){let{options:s,selected:i,disabled:a}=n.open;(!o.open||o.open.options!=s)&&(this.range=hj(s.length,i,t.state.facet(ys).maxRenderedOptions),this.showOptions(s,n.id)),this.updateSel(),a!=((r=o.open)===null||r===void 0?void 0:r.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!a)}}updateTooltipClass(t){let r=this.tooltipClass(t);if(r!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of r.split(" "))n&&this.dom.classList.add(n);this.currentClass=r}}positioned(t){this.space=t,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let t=this.view.state.field(this.stateField),r=t.open;if((r.selected>-1&&r.selected=this.range.to)&&(this.range=hj(r.options.length,r.selected,this.view.state.facet(ys).maxRenderedOptions),this.showOptions(r.options,t.id)),this.updateSelectedOption(r.selected)){this.destroyInfo();let{completion:n}=r.options[r.selected],{info:o}=n;if(!o)return;let s=typeof o=="string"?document.createTextNode(o):o(n);if(!s)return;"then"in s?s.then(i=>{i&&this.view.state.field(this.stateField,!1)==t&&this.addInfoPane(i,n)}).catch(i=>oi(this.view.state,i,"completion info")):this.addInfoPane(s,n)}}addInfoPane(t,r){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",t.nodeType!=null)n.appendChild(t),this.infoDestroy=null;else{let{dom:o,destroy:s}=t;n.appendChild(o),this.infoDestroy=s||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(t){let r=null;for(let n=this.list.firstChild,o=this.range.from;n;n=n.nextSibling,o++)n.nodeName!="LI"||!n.id?o--:o==t?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),r=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return r&&VEe(this.list,r),r}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let r=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),o=t.getBoundingClientRect(),s=this.space;if(!s){let i=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:i.innerWidth,bottom:i.innerHeight}}return o.top>Math.min(s.bottom,r.bottom)-10||o.bottomn.from||n.from==0))if(s=p,typeof c!="string"&&c.header)o.appendChild(c.header(c));else{let f=o.appendChild(document.createElement("completion-section"));f.textContent=p}}const u=o.appendChild(document.createElement("li"));u.id=r+"-"+i,u.setAttribute("role","option");let d=this.optionClass(a);d&&(u.className=d);for(let p of this.optionContent){let f=p(a,this.view.state,this.view,l);f&&u.appendChild(f)}}return n.from&&o.classList.add("cm-completionListIncompleteTop"),n.tonew zEe(r,e,t)}function VEe(e,t){let r=e.getBoundingClientRect(),n=t.getBoundingClientRect(),o=r.height/e.offsetHeight;n.topr.bottom&&(e.scrollTop+=(n.bottom-r.bottom)/o)}function R4(e){return(e.boost||0)*100+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}function UEe(e,t){let r=[],n=null,o=c=>{r.push(c);let{section:u}=c.completion;if(u){n||(n=[]);let d=typeof u=="string"?u:u.name;n.some(p=>p.name==d)||n.push(typeof u=="string"?{name:d}:u)}},s=t.facet(ys);for(let c of e)if(c.hasResult()){let u=c.result.getMatch;if(c.result.filter===!1)for(let d of c.result.options)o(new M4(d,c.source,u?u(d):[],1e9-r.length));else{let d=t.sliceDoc(c.from,c.to),p,f=s.filterStrict?new REe(d):new NEe(d);for(let m of c.result.options)if(p=f.match(m.label)){let v=m.displayLabel?u?u(m,p.matched):[]:p.matched;o(new M4(m,c.source,v,p.score+(m.boost||0)))}}}if(n){let c=Object.create(null),u=0,d=(p,f)=>{var m,v;return((m=p.rank)!==null&&m!==void 0?m:1e9)-((v=f.rank)!==null&&v!==void 0?v:1e9)||(p.named.score-u.score||l(u.completion,d.completion))){let u=c.completion;!a||a.label!=u.label||a.detail!=u.detail||a.type!=null&&u.type!=null&&a.type!=u.type||a.apply!=u.apply||a.boost!=u.boost?i.push(c):R4(c.completion)>R4(a)&&(i[i.length-1]=c),a=c.completion}return i}class Cf{constructor(t,r,n,o,s,i){this.options=t,this.attrs=r,this.tooltip=n,this.timestamp=o,this.selected=s,this.disabled=i}setSelected(t,r){return t==this.selected||t>=this.options.length?this:new Cf(this.options,B4(r,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,r,n,o,s,i){if(o&&!i&&t.some(c=>c.isPending))return o.setDisabled();let a=UEe(t,r);if(!a.length)return o&&t.some(c=>c.isPending)?o.setDisabled():null;let l=r.facet(ys).selectOnOpen?0:-1;if(o&&o.selected!=l&&o.selected!=-1){let c=o.options[o.selected].completion;for(let u=0;uu.hasResult()?Math.min(c,u.from):c,1e8),create:QEe,above:s.aboveCursor},o?o.timestamp:Date.now(),l,!1)}map(t){return new Cf(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}setDisabled(){return new Cf(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class A1{constructor(t,r,n){this.active=t,this.id=r,this.open=n}static start(){return new A1(JEe,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:r}=t,n=r.facet(ys),o=(n.override||r.languageDataAt("autocomplete",Gd(r)).map(LEe)).map(a=>(this.active.find(l=>l.source==a)||new sa(a,this.active.some(l=>l.state!=0)?1:0)).update(t,n));o.length==this.active.length&&o.every((a,l)=>a==this.active[l])&&(o=this.active);let s=this.open,i=t.effects.some(a=>a.is(dE));s&&t.docChanged&&(s=s.map(t.changes)),t.selection||o.some(a=>a.hasResult()&&t.changes.touchesRange(a.from,a.to))||!HEe(o,this.active)||i?s=Cf.build(o,r,this.id,s,n,i):s&&s.disabled&&!o.some(a=>a.isPending)&&(s=null),!s&&o.every(a=>!a.isPending)&&o.some(a=>a.hasResult())&&(o=o.map(a=>a.hasResult()?new sa(a.source,0):a));for(let a of t.effects)a.is(Gq)&&(s=s&&s.setSelected(a.value,this.id));return o==this.active&&s==this.open?this:new A1(o,this.id,s)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?WEe:GEe}}function HEe(e,t){if(e==t)return!0;for(let r=0,n=0;;){for(;r-1&&(r["aria-activedescendant"]=e+"-"+t),r}const JEe=[];function Wq(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(Hq);if(n&&t.activateOnCompletion(n))return 12}let r=e.isUserEvent("input.type");return r&&t.activateOnTyping?5:r?1:e.isUserEvent("delete.backward")?2:e.selection?8:e.docChanged?16:0}class sa{constructor(t,r,n=!1){this.source=t,this.state=r,this.explicit=n}hasResult(){return!1}get isPending(){return this.state==1}update(t,r){let n=Wq(t,r),o=this;(n&8||n&16&&this.touches(t))&&(o=new sa(o.source,0)),n&4&&o.state==0&&(o=new sa(this.source,1)),o=o.updateFor(t,n);for(let s of t.effects)if(s.is(C1))o=new sa(o.source,1,s.value);else if(s.is(zg))o=new sa(o.source,0);else if(s.is(dE))for(let i of s.value)i.source==o.source&&(o=i);return o}updateFor(t,r){return this.map(t.changes)}map(t){return this}touches(t){return t.changes.touchesRange(Gd(t.state))}}class Uf extends sa{constructor(t,r,n,o,s,i){super(t,3,r),this.limit=n,this.result=o,this.from=s,this.to=i}hasResult(){return!0}updateFor(t,r){var n;if(!(r&3))return this.map(t.changes);let o=this.result;o.map&&!t.changes.empty&&(o=o.map(o,t.changes));let s=t.changes.mapPos(this.from),i=t.changes.mapPos(this.to,1),a=Gd(t.state);if(a>i||!o||r&2&&(Gd(t.startState)==this.from||ar.map(t))}}),Gq=Gr.define(),gi=js.define({create(){return A1.start()},update(e,t){return e.update(t)},provide:e=>[ox.from(e,t=>t.tooltip),jt.contentAttributes.from(e,t=>t.attrs)]});function pE(e,t){const r=t.completion.apply||t.completion.label;let n=e.state.field(gi).active.find(o=>o.source==t.source);return n instanceof Uf?(typeof r=="string"?e.dispatch(Object.assign(Object.assign({},MEe(e.state,r,n.from,n.to)),{annotations:Hq.of(t.completion)})):r(e,t.completion,n.from,n.to),!0):!1}const QEe=FEe(gi,pE);function S0(e,t="option"){return r=>{let n=r.state.field(gi,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp-1?n.open.selected+o*(e?1:-1):e?0:i-1;return a<0?a=t=="page"?0:i-1:a>=i&&(a=t=="page"?i-1:0),r.dispatch({effects:Gq.of(a)}),!0}}const ZEe=e=>{let t=e.state.field(gi,!1);return e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestampe.state.field(gi,!1)?(e.dispatch({effects:C1.of(!0)}),!0):!1,XEe=e=>{let t=e.state.field(gi,!1);return!t||!t.active.some(r=>r.state!=0)?!1:(e.dispatch({effects:zg.of(null)}),!0)};class YEe{constructor(t,r){this.active=t,this.context=r,this.time=Date.now(),this.updates=[],this.done=void 0}}const eOe=50,tOe=1e3,rOe=No.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let t of e.state.field(gi).active)t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(gi),r=e.state.facet(ys);if(!e.selectionSet&&!e.docChanged&&e.startState.field(gi)==t)return;let n=e.transactions.some(s=>{let i=Wq(s,r);return i&8||(s.selection||s.docChanged)&&!(i&3)});for(let s=0;seOe&&Date.now()-i.time>tOe){for(let a of i.context.abortListeners)try{a()}catch(l){oi(this.view.state,l)}i.context.abortListeners=null,this.running.splice(s--,1)}else i.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(s=>s.effects.some(i=>i.is(C1)))&&(this.pendingStart=!0);let o=this.pendingStart?50:r.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(s=>s.isPending&&!this.running.some(i=>i.active.source==s.source))?setTimeout(()=>this.startUpdate(),o):-1,this.composing!=0)for(let s of e.transactions)s.isUserEvent("input.type")?this.composing=2:this.composing==2&&s.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(gi);for(let r of t.active)r.isPending&&!this.running.some(n=>n.active.source==r.source)&&this.startQuery(r);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(ys).updateSyncTime))}startQuery(e){let{state:t}=this.view,r=Gd(t),n=new Vq(t,r,e.explicit,this.view),o=new YEe(e,n);this.running.push(o),Promise.resolve(e.source(n)).then(s=>{o.context.aborted||(o.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:zg.of(null)}),oi(this.view.state,s)})}scheduleAccept(){this.running.every(e=>e.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(ys).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],r=this.view.state.facet(ys),n=this.view.state.field(gi);for(let o=0;oa.source==s.active.source);if(i&&i.isPending)if(s.done==null){let a=new sa(s.active.source,0);for(let l of s.updates)a=a.update(l,r);a.isPending||t.push(a)}else this.startQuery(i)}(t.length||n.open&&n.open.disabled)&&this.view.dispatch({effects:dE.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(gi,!1);if(t&&t.tooltip&&this.view.state.facet(ys).closeOnBlur){let r=t.open&&j9(this.view,t.open.tooltip);(!r||!r.dom.contains(e.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:zg.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:C1.of(!1)}),20),this.composing=0}}}),nOe=typeof navigator=="object"&&/Win/.test(navigator.platform),oOe=Dp.highest(jt.domEventHandlers({keydown(e,t){let r=t.state.field(gi,!1);if(!r||!r.open||r.open.disabled||r.open.selected<0||e.key.length>1||e.ctrlKey&&!(nOe&&e.altKey)||e.metaKey)return!1;let n=r.open.options[r.open.selected],o=r.active.find(i=>i.source==n.source),s=n.completion.commitCharacters||o.result.commitCharacters;return s&&s.indexOf(e.key)>-1&&pE(t,n),!1}})),sOe=jt.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),Fg={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Bd=Gr.define({map(e,t){return t.mapPos(e,-1,ri.TrackAfter)??void 0}}),fE=new class extends ip{};fE.startSide=1;fE.endSide=-1;const Jq=js.define({create(){return pn.empty},update(e,t){if(e=e.map(t.changes),t.selection){let r=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:n=>n>=r.from&&n<=r.to})}for(let r of t.effects)r.is(Bd)&&(e=e.update({add:[fE.range(r.value,r.value+1)]}));return e}});function iOe(){return[lOe,Jq]}const mj="()[]{}<>";function Kq(e){for(let t=0;t{if((aOe?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let o=e.state.selection.main;if(n.length>2||n.length==2&&ml(hi(n,0))==1||t!=o.from||r!=o.to)return!1;let s=dOe(e.state,n);return s?(e.dispatch(s),!0):!1}),cOe=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=Qq(e,e.selection.main.head).brackets||Fg.brackets,n=null,o=e.changeByRange(s=>{if(s.empty){let i=pOe(e.doc,s.head);for(let a of r)if(a==i&&hx(e.doc,s.head)==Kq(hi(a,0)))return{changes:{from:s.head-a.length,to:s.head+a.length},range:Je.cursor(s.head-a.length)}}return{range:n=s}});return n||t(e.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!n},uOe=[{key:"Backspace",run:cOe}];function dOe(e,t){let r=Qq(e,e.selection.main.head),n=r.brackets||Fg.brackets;for(let o of n){let s=Kq(hi(o,0));if(t==o)return s==o?mOe(e,o,n.indexOf(o+o+o)>-1,r):fOe(e,o,s,r.before||Fg.before);if(t==s&&Zq(e,e.selection.main.from))return hOe(e,o,s)}return null}function Zq(e,t){let r=!1;return e.field(Jq).between(0,e.doc.length,n=>{n==t&&(r=!0)}),r}function hx(e,t){let r=e.sliceString(t,t+2);return r.slice(0,ml(hi(r,0)))}function pOe(e,t){let r=e.sliceString(t-2,t);return ml(hi(r,0))==r.length?r:r.slice(1)}function fOe(e,t,r,n){let o=null,s=e.changeByRange(i=>{if(!i.empty)return{changes:[{insert:t,from:i.from},{insert:r,from:i.to}],effects:Bd.of(i.to+t.length),range:Je.range(i.anchor+t.length,i.head+t.length)};let a=hx(e.doc,i.head);return!a||/\s/.test(a)||n.indexOf(a)>-1?{changes:{insert:t+r,from:i.head},effects:Bd.of(i.head+t.length),range:Je.cursor(i.head+t.length)}:{range:o=i}});return o?null:e.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function hOe(e,t,r){let n=null,o=e.changeByRange(s=>s.empty&&hx(e.doc,s.head)==r?{changes:{from:s.head,to:s.head+r.length,insert:r},range:Je.cursor(s.head+r.length)}:n={range:s});return n?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function mOe(e,t,r,n){let o=n.stringPrefixes||Fg.stringPrefixes,s=null,i=e.changeByRange(a=>{if(!a.empty)return{changes:[{insert:t,from:a.from},{insert:t,from:a.to}],effects:Bd.of(a.to+t.length),range:Je.range(a.anchor+t.length,a.head+t.length)};let l=a.head,c=hx(e.doc,l),u;if(c==t){if(z4(e,l))return{changes:{insert:t+t,from:l},effects:Bd.of(l+t.length),range:Je.cursor(l+t.length)};if(Zq(e,l)){let d=r&&e.sliceDoc(l,l+t.length*3)==t+t+t?t+t+t:t;return{changes:{from:l,to:l+d.length,insert:d},range:Je.cursor(l+d.length)}}}else{if(r&&e.sliceDoc(l-2*t.length,l)==t+t&&(u=F4(e,l-2*t.length,o))>-1&&z4(e,u))return{changes:{insert:t+t+t+t,from:l},effects:Bd.of(l+t.length),range:Je.cursor(l+t.length)};if(e.charCategorizer(l)(c)!=To.Word&&F4(e,l,o)>-1&&!gOe(e,l,t,o))return{changes:{insert:t+t,from:l},effects:Bd.of(l+t.length),range:Je.cursor(l+t.length)}}return{range:s=a}});return s?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function z4(e,t){let r=Ws(e).resolveInner(t+1);return r.parent&&r.from==t}function gOe(e,t,r,n){let o=Ws(e).resolveInner(t,-1),s=n.reduce((i,a)=>Math.max(i,a.length),0);for(let i=0;i<5;i++){let a=e.sliceDoc(o.from,Math.min(o.to,o.from+r.length+s)),l=a.indexOf(r);if(!l||l>-1&&n.indexOf(a.slice(0,l))>-1){let u=o.firstChild;for(;u&&u.from==o.from&&u.to-u.from>r.length+l;){if(e.sliceDoc(u.to-r.length,u.to)==r)return!1;u=u.firstChild}return!0}let c=o.to==t&&o.parent;if(!c)break;o=c}return!1}function F4(e,t,r){let n=e.charCategorizer(t);if(n(e.sliceDoc(t-1,t))!=To.Word)return t;for(let o of r){let s=t-o.length;if(e.sliceDoc(s,t)==o&&n(e.sliceDoc(s-1,s))!=To.Word)return s}return-1}function vOe(e={}){return[oOe,gi,ys.of(e),rOe,yOe,sOe]}const Xq=[{key:"Ctrl-Space",run:q4},{mac:"Alt-`",run:q4},{key:"Escape",run:XEe},{key:"ArrowDown",run:S0(!0)},{key:"ArrowUp",run:S0(!1)},{key:"PageDown",run:S0(!0,"page")},{key:"PageUp",run:S0(!1,"page")},{key:"Enter",run:ZEe}],yOe=Dp.highest(l1.computeN([ys],e=>e.facet(ys).defaultKeymap?[Xq]:[]));function bOe(e,t=e.state){const r=new Set;for(const{from:n,to:o}of e.visibleRanges){let s=n;for(;s<=o;){const i=t.doc.lineAt(s);r.has(i)||r.add(i),s=i.to+1}}return r}function ZS(e){const t=e.selection.main.head;return e.doc.lineAt(t)}function V4(e,t){let r=0;e:for(let n=0;n=s.level&&this.markerType!=="codeOnly"?this.set(t,0,o.level):o.empty&&o.level===0&&s.level!==0?this.set(t,0,0):s.level>o.level?this.set(t,0,o.level+1):this.set(t,0,s.level)}const r=V4(t.text,this.state.tabSize),n=Math.floor(r/this.unitWidth);return this.set(t,r,n)}closestNonEmpty(t,r){let n=t.number+r;for(;r===-1?n>=1:n<=this.state.doc.lines;){if(this.has(n)){const i=this.get(n);if(!i.empty)return i}const s=this.state.doc.line(n);if(s.text.trim().length){const i=V4(s.text,this.state.tabSize),a=Math.floor(i/this.unitWidth);return this.set(s,i,a)}n+=r}const o=this.state.doc.line(r===-1?1:this.state.doc.lines);return this.set(o,0,0)}findAndSetActiveLines(){const t=ZS(this.state);if(!this.has(t))return;let r=this.get(t);if(this.has(r.line.number+1)){const s=this.get(r.line.number+1);s.level>r.level&&(r=s)}if(this.has(r.line.number-1)){const s=this.get(r.line.number-1);s.level>r.level&&(r=s)}if(r.level===0)return;r.active=r.level;let n,o;for(n=r.line.number;n>1;n--){if(!this.has(n-1))continue;const s=this.get(n-1);if(s.level0&&l.push(C0("--indent-marker-bg-color",n,t,a,c)),l.push(C0("--indent-marker-active-bg-color",o,t,i-1,1)),i!==s&&l.push(C0("--indent-marker-bg-color",n,t,i,s-i))}else l.push(C0("--indent-marker-bg-color",n,t,a,s-a));return l.join(",")}class jOe{constructor(t){this.view=t,this.unitWidth=Yu(t.state),this.currentLineNumber=ZS(t.state).number,this.generate(t.state)}update(t){const r=Yu(t.state),n=r!==this.unitWidth;n&&(this.unitWidth=r);const o=ZS(t.state).number,s=o!==this.currentLineNumber;this.currentLineNumber=o;const i=t.state.facet(E1).highlightActiveBlock&&s;(t.docChanged||t.viewportChanged||n||i)&&this.generate(t.state)}generate(t){const r=new Qa,n=bOe(this.view,t),{hideFirstIndent:o,markerType:s,thickness:i,activeThickness:a}=t.facet(E1),l=new wOe(n,t,this.unitWidth,s);for(const c of n){const u=l.get(c.number);if(!(u!=null&&u.level))continue;const d=kOe(u,this.unitWidth,o,i,a);r.add(c.from,c.from,kr.line({class:"cm-indent-markers",attributes:{style:`--indent-markers: ${d}`}}))}this.decorations=r.finish()}}function _Oe(e={}){return[E1.of(e),xOe(e.colors),No.fromClass(jOe,{decorations:t=>t.decorations})]}var SOe=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],COe=["mainAxis","crossAxis","limiter"];function Yq(e,t){if(e==null)return{};var r,n,o=function(i,a){if(i==null)return{};var l={};for(var c in i)if({}.hasOwnProperty.call(i,c)){if(a.indexOf(c)!==-1)continue;l[c]=i[c]}return l}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n{};function MOe(e){return e()}function O1(e){for(var t=0;t0&&nz(),bj.length>0&&(e=bj,bj=[],O1(e))}function oz(e){return e===this.v}function gE(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function LOe(e,t){return e!==t}function vE(e){return!gE(e,this.v)}function Id(e,t){if(typeof e!="object"||e===null||Pu in e)return e;var r=mE(e);if(r!==IOe&&r!==DOe)return e;var n=new Map,o=Mv(e),s=sc(0),i=zn,a=l=>{var c,u=zn;return Nl(i),c=l(),Nl(u),c};return o&&n.set("length",sc(e.length)),new Proxy(e,{defineProperty(l,c,u){"value"in u&&u.configurable!==!1&&u.enumerable!==!1&&u.writable!==!1||function(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}();var d=n.get(c);return d===void 0?(d=a(()=>sc(u.value)),n.set(c,d)):$(d,a(()=>Id(u.value))),!0},deleteProperty(l,c){var u=n.get(c);if(u===void 0)c in l&&n.set(c,a(()=>sc(Xs)));else{if(o&&typeof c=="string"){var d=n.get("length"),p=Number(c);Number.isInteger(p)&&psc(Id(f?l[c]:Xs))),n.set(c,p)),p!==void 0){var m=h(p);return m===Xs?void 0:m}return Reflect.get(l,c,u)},getOwnPropertyDescriptor(l,c){var u=Reflect.getOwnPropertyDescriptor(l,c);if(u&&"value"in u){var d=n.get(c);d&&(u.value=h(d))}else if(u===void 0){var p=n.get(c),f=p==null?void 0:p.v;if(p!==void 0&&f!==Xs)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return u},has(l,c){var u;if(c===Pu)return!0;var d=n.get(c),p=d!==void 0&&d.v!==Xs||Reflect.has(l,c);return(d!==void 0||lo!==null&&(!p||(u=jc(l,c))!==null&&u!==void 0&&u.writable))&&(d===void 0&&(d=a(()=>sc(p?Id(l[c]):Xs)),n.set(c,d)),h(d)===Xs)?!1:p},set(l,c,u,d){var p,f=n.get(c),m=c in l;if(o&&c==="length")for(var v=u;vsc(Xs)),n.set(v+"",g))}f===void 0?(!m||(p=jc(l,c))!==null&&p!==void 0&&p.writable)&&($(f=a(()=>sc(void 0)),a(()=>Id(u))),n.set(c,f)):(m=f.v!==Xs,$(f,a(()=>Id(u))));var y=Reflect.getOwnPropertyDescriptor(l,c);if(y!=null&&y.set&&y.set.call(d,u),!m){if(o&&typeof c=="string"){var b=n.get("length"),w=Number(c);Number.isInteger(w)&&w>=b.v&&$(b,w+1)}Z4(s)}return!0},ownKeys(l){h(s);var c=Reflect.ownKeys(l).filter(p=>{var f=n.get(p);return f===void 0||f.v!==Xs});for(var[u,d]of n)d.v===Xs||u in l||c.push(u);return c},setPrototypeOf(){(function(){throw new Error("https://svelte.dev/e/state_prototype_fixed")})()}})}function Z4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;$(e,e.v+t)}var Ug=new Map;function dp(e,t){return{f:0,v:e,reactions:null,equals:oz,rv:0,wv:0}}function sc(e,t){var r=dp(e);return dz(r),r}function he(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],o=dp(e);return n||(o.equals=vE),Mh&&jn!==null&&jn.l!==null&&((r=(t=jn.l).s)!==null&&r!==void 0?r:t.s=[]).push(o),o}function Ri(e,t){return $(e,Rl(()=>h(e))),t}function $(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return zn!==null&&!vl&&zh()&&18&zn.f&&((r=Sc)===null||r===void 0||!r.includes(e))&&function(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}(),t2(e,n?Id(t):t)}function t2(e,t){if(!e.equals(t)){var r=e.v;Lv?Ug.set(e,t):Ug.set(e,r),e.v=t,e.wv=fz(),sz(e,Lh),zh()&&lo!==null&&lo.f&Hi&&!(96&lo.f)&&(Ki===null?function(n){Ki=n}([e]):Ki.push(e))}return t}function X4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=h(e),n=t===1?r++:r--;return $(e,r),n}function sz(e,t){var r=e.reactions;if(r!==null)for(var n=zh(),o=r.length,s=0;s0&&arguments[0]!==void 0?arguments[0]:"";return document.createTextNode(e)}function Bi(e){return cz.call(e)}function yx(e){return uz.call(e)}function fe(e,t){return Bi(e)}function Kt(e,t){var r=Bi(e);return r instanceof Comment&&r.data===""?yx(r):r}function ke(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=e;t--;)r=yx(r);return r}var A0=!1,$1=!1,T1=null,Jd=!1,Lv=!1;function Y4(e){Lv=e}var tg=[],zn=null,vl=!1;function Nl(e){zn=e}var lo=null;function ed(e){lo=e}var Sc=null;function dz(e){zn!==null&&zn.f&YS&&(Sc===null?Sc=[e]:Sc.push(e))}var Ys=null,Pi=0,Ki=null,pz=1,P1=0,_u=!1;function fz(){return++pz}function Rh(e){var t=e.f;if(t&Lh)return!0;if(t&Nh){var r=e.deps,n=!!(t&Tl);if(r!==null){var o,s,i=!!(t&XS),a=n&&lo!==null&&!_u,l=r.length;if(i||a){var c=e,u=c.parent;for(o=0;oe.wv)return!0}n&&(lo===null||_u)||Ya(e,Hi)}return!1}function bx(e,t,r,n){if(A0){if(r===null&&(A0=!1),function(o){return!(o.f&hE||o.parent!==null&&o.parent.f&yj)}(t))throw e}else r!==null&&(A0=!0),function(o,s){for(var i=s;i!==null;){if(i.f&yj)try{return void i.fn(o)}catch{i.f^=yj}i=i.parent}throw A0=!1,o}(e,t)}function hz(e,t){var r=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],n=e.reactions;if(n!==null)for(var o=0;o0)for(d.length=Pi+Ys.length,p=0;p0;){t++>1e3&&ROe();var r=tg,n=r.length;tg=[];for(var o=0;o0;)$1=!0,gz(),Q4()}function vz(){return(vz=pr(function*(){yield Promise.resolve(),so()})).apply(this,arguments)}function h(e){var t,r=!!(2&e.f);if(zn===null||vl){if(r&&e.deps===null&&e.effects===null){var n=e,o=n.parent;o===null||o.f&Tl||(n.f^=Tl)}}else if((t=Sc)===null||t===void 0||!t.includes(e)){var s=zn.deps;e.rv1&&arguments[1]!==void 0?arguments[1]:new Set;if(!(typeof e!="object"||e===null||e instanceof EventTarget||t.has(e))){for(var r in t.add(e),e instanceof Date&&e.getTime(),e)try{r2(e[r],t)}catch{}var n=mE(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){var o=rz(n);for(var s in o){var i=o[s].get;if(i)try{i.call(e)}catch{}}}}}function yz(e){lo===null&&zn===null&&function(){throw new Error("https://svelte.dev/e/effect_orphan")}(),zn!==null&&zn.f&Tl&&lo===null&&function(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}(),Lv&&function(){throw new Error("https://svelte.dev/e/effect_in_teardown")}()}function Bh(e,t,r){var n=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],o=lo,s={ctx:jn,deps:null,nodes_start:null,nodes_end:null,f:e|Lh,first:null,fn:t,last:null,next:null,parent:o,prev:null,teardown:null,transitions:null,wv:0};if(r)try{wx(s),s.f|=32768}catch(l){throw Bl(s),l}else t!==null&&xx(s);if(!(r&&s.deps===null&&s.first===null&&s.nodes_start===null&&s.teardown===null&&!(1048704&s.f))&&n&&(o!==null&&function(l,c){var u=c.last;u===null?c.last=c.first=l:(u.next=l,l.prev=u,c.last=l)}(s,o),zn!==null&&2&zn.f)){var i,a=zn;((i=a.effects)!==null&&i!==void 0?i:a.effects=[]).push(s)}return s}function yE(e){var t=Bh(8,null,!1);return Ya(t,Hi),t.teardown=e,t}function n2(e){if(yz(),!(lo!==null&&lo.f&mx&&jn!==null&&!jn.m))return ws(e);var t,r=jn;((t=r.e)!==null&&t!==void 0?t:r.e=[]).push({fn:e,effect:lo,reaction:zn})}function ws(e){return Bh(4,e,!1)}function $e(e,t){var r=jn,n={effect:null,ran:!1};r.l.r1.push(n),n.effect=qh(()=>{e(),n.ran||(n.ran=!0,$(r.l.r2,!0),Rl(t))})}function mn(){var e=jn;qh(()=>{if(h(e.l.r2)){for(var t of e.l.r1){var r=t.effect;r.f&Hi&&Ya(r,Nh),Rh(r)&&wx(r),t.ran=!1}e.l.r2.v=!1}})}function qh(e){return Bh(8,e,!0)}function nt(e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:mh,r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:[]).map(t);return Lp(()=>e(...r.map(h)))}function Lp(e){return Bh(24|(arguments.length>1&&arguments[1]!==void 0?arguments[1]:0),e,!0)}function Rc(e){return Bh(40,e,!0,!(arguments.length>1&&arguments[1]!==void 0)||arguments[1])}function bz(e){var t=e.teardown;if(t!==null){var r=Lv,n=zn;Y4(!0),Nl(null);try{t.call(null)}finally{Y4(r),Nl(n)}}}function wz(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],r=e.first;for(e.first=e.last=null;r!==null;){var n=r.next;r.f&ez?r.parent=null:Bl(r,t),r=n}}function Bl(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],r=!1;if((t||524288&e.f)&&e.nodes_start!==null){for(var n=e.nodes_start,o=e.nodes_end;n!==null;){var s=n===o?null:yx(n);n.remove(),n=s}r=!0}wz(e,t&&!r),I1(e,0),Ya(e,hE);var i=e.transitions;if(i!==null)for(var a of i)a.stop();bz(e);var l=e.parent;l!==null&&l.first!==null&&xz(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function xz(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function gh(e,t){var r=[];bE(e,r,!0),kz(r,()=>{Bl(e),t&&t()})}function kz(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var o of e)o.out(n)}else t()}function bE(e,t,r){if(!(e.f&Tu)){if(e.f^=Tu,e.transitions!==null)for(var n of e.transitions)(n.is_global||r)&&t.push(n);for(var o=e.first;o!==null;){var s=o.next;bE(o,t,!!(o.f&Dv||o.f&mx)&&r),o=s}}}function D1(e){jz(e,!0)}function jz(e,t){if(e.f&Tu){e.f^=Tu,e.f&Hi||(e.f^=Hi),Rh(e)&&(Ya(e,Lh),xx(e));for(var r=e.first;r!==null;){var n=r.next;jz(r,!!(r.f&Dv||r.f&mx)&&t),r=n}if(e.transitions!==null)for(var o of e.transitions)(o.is_global||t)&&o.in()}}function Nv(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}var jn=null;function eD(e){jn=e}function pd(e){return _z().get(e)}function Ut(e){var t=jn={p:jn,c:null,d:!1,e:null,m:!1,s:e,x:null,l:null};Mh&&!(arguments.length>1&&arguments[1]!==void 0&&arguments[1])&&(jn.l={s:null,u:null,r1:[],r2:dp(!1)}),yE(()=>{t.d=!0})}function Ht(e){var t=jn;if(t!==null){e!==void 0&&(t.x=e);var r=t.e;if(r!==null){var n=lo,o=zn;t.e=null;try{for(var s=0;s3&&arguments[3]!==void 0?arguments[3]:r;e.addEventListener(t,()=>Sz(r));var o=e.__on_r;e.__on_r=o?()=>{o(),n(!0)}:()=>n(!0),tD||(tD=!0,document.addEventListener("reset",s=>{Promise.resolve().then(()=>{if(!s.defaultPrevented)for(var i of s.target.elements){var a;(a=i.__on_r)===null||a===void 0||a.call(i)}})},{capture:!0}))}var Cz=new Set,o2=new Set;function Az(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};function o(s){if(n.capture||Mm.call(t,s),!s.cancelBubble)return Sz(()=>r==null?void 0:r.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?gx(()=>{t.addEventListener(e,o,n)}):t.addEventListener(e,o,n),o}function Xe(e,t,r,n,o){var s={capture:n,passive:o},i=Az(e,t,r,s);t!==document.body&&t!==window&&t!==document||yE(()=>{t.removeEventListener(e,i,s)})}function Rv(e){for(var t=0;ti||n});var d=zn,p=lo;Nl(null),ed(null);try{for(var f,m=[];i!==null;){var v=i.assignedSlot||i.parentNode||i.host||null;try{var g=i["__"+o];if(g!=null&&(!i.disabled||e.target===i))if(Mv(g)){var[y,...b]=g;y.apply(i,[e,...b])}else g.call(i,e)}catch(x){f?m.push(x):f=x}if(e.cancelBubble||v===r||v===null)break;i=v}if(f){var w=function(x){queueMicrotask(()=>{throw x})};for(var k of m)w(k);throw f}}finally{e.__root=r,delete e.currentTarget,Nl(d),ed(p)}}}function wE(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function pp(e,t){var r=lo;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Pe(e,t){var r,n=!!(1&t),o=!!(2&t),s=!e.startsWith("");return()=>{r===void 0&&(r=wE(s?e:""+e),n||(r=Bi(r)));var i=o||lz?document.importNode(r,!0):r.cloneNode(!0);return n?pp(Bi(i),i.lastChild):pp(i,i),i}}function fd(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"svg",o=!e.startsWith(""),s=!!(1&t),i="<".concat(n,">").concat(o?e:""+e,"");return()=>{if(!r){var a=Bi(wE(i));if(s)for(r=document.createDocumentFragment();Bi(a);)r.appendChild(Bi(a));else r=Bi(a)}var l=r.cloneNode(!0);return s?pp(Bi(l),l.lastChild):pp(l,l),l}}function ds(){var e=vx((arguments.length>0&&arguments[0]!==void 0?arguments[0]:"")+"");return pp(e,e),e}function vo(){var e=document.createDocumentFragment(),t=document.createComment(""),r=vx();return e.append(t,r),pp(t,r),e}function ge(e,t){e!==null&&e.before(t)}function Xt(e,t){var r,n=t==null?"":typeof t=="object"?t+"":t;n!==((r=e.__t)!==null&&r!==void 0?r:e.__t=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function GOe(e,t){return function(r,n){var{target:o,anchor:s,props:i={},events:a,context:l}=n;(function(){if(_c===void 0){_c=window,lz=/Firefox/.test(navigator.userAgent);var f=Element.prototype,m=Node.prototype,v=Text.prototype;cz=jc(m,"firstChild").get,uz=jc(m,"nextSibling").get,J4(f)&&(f.__click=void 0,f.__className=void 0,f.__attributes=null,f.__style=void 0,f.__e=void 0),J4(v)&&(v.__t=void 0)}})();var c=new Set,u=f=>{for(var m=0;m0&&arguments[0]!==void 0?arguments[0]:{};return new Promise(g=>{v.outro?gh(m,()=>{Bl(m),g(void 0)}):(Bl(m),g(void 0))})}}(()=>{var f=s??o.appendChild(vx());return Rc(()=>{l&&(Ut({}),jn.c=l),a&&(i.$$events=a),d=r(f,i)||{},l&&Ht()}),()=>{for(var m of c){o.removeEventListener(m,Mm);var v=rf.get(m);--v==0?(document.removeEventListener(m,Mm),rf.delete(m)):rf.set(m,v)}var g;o2.delete(u),f!==s&&((g=f.parentNode)===null||g===void 0||g.removeChild(f))}});return s2.set(d,p),d}(e,t)}var rf=new Map,s2=new WeakMap;function Le(e,t){var[r,n]=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[0,0],o=e,s=null,i=null,a=Xs,l=!1,c=function(d){l=!0,u(!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],d)},u=(d,p)=>{a!==(a=d)&&(a?(s?D1(s):p&&(s=Rc(()=>p(o))),i&&gh(i,()=>{i=null})):(i?D1(i):p&&(i=Rc(()=>p(o,[r+1,n]))),s&&gh(s,()=>{s=null})))};Lp(()=>{l=!1,t(c),l||u(null,null)},r>0?Dv:0)}function Ez(e,t,r){var n,o=e,s=Xs,i=zh()?LOe:gE;Lp(()=>{i(s,s=t())&&(n&&gh(n),n=Rc(()=>r(o)))})}function Mo(e,t){return t}function Eo(e,t,r,n,o){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,i=e,a={items:new Map,first:null};!(4&t)||(i=e.appendChild(vx()));var l=null,c=!1,u=We(()=>{var d=r();return Mv(d)?d:d==null?[]:e2(d)});Lp(()=>{var d=h(u),p=d.length;c&&p===0||(c=p===0,function(f,m,v,g,y,b,w){var k,x,j,_,C,A,I=!!(8&y),M=!!(3&y),N=f.length,F=m.items,z=m.first,L=z,X=null,V=[],J=[];if(I)for(A=0;A0){var Se=4&y&&N===0?v:null;if(I){for(A=0;A0&&Ce.length===0&&te!==null;if(kt){var ft=te.parentNode;ft.textContent="",ft.append(te),ne.clear(),ru(xe,R[0].prev,R[me-1].next)}kz(Ce,()=>{for(var Ue=0;Ue{if(x!==void 0)for(C of x){var xe;(xe=C.a)===null||xe===void 0||xe.apply()}}),lo.first=m.first&&m.first.e,lo.last=X&&X.e}(d,a,i,o,t,n,r),s!==null&&(p===0?l?D1(l):l=Rc(()=>s(i)):l!==null&&gh(l,()=>{l=null})),h(u))})}function JOe(e,t,r,n){1&n&&t2(e.v,t),2&n?t2(e.i,r):e.i=r}function KOe(e,t,r,n,o,s,i,a,l,c){var u=1&l?16&l?dp(o):he(o):o,d=2&l?dp(i):i,p={i:d,v:u,k:s,a:null,e:null,prev:r,next:n};return p.e=Rc(()=>a(e,u,d,c),!1),p.e.prev=r&&r.e,p.e.next=n&&n.e,r===null?t.first=p:(r.next=p,r.e.next=p.e),n!==null&&(n.prev=p,n.e.prev=p.e),p}function rD(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,o=t?t.e.nodes_start:r,s=e.e.nodes_start;s!==n;){var i=yx(s);o.before(s),s=i}}function ru(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function Oz(e,t,r,n,o){var s,i=e,a="";Lp(()=>{var l;a!==(a=(l=t())!==null&&l!==void 0?l:"")&&(s!==void 0&&(Bl(s),s=void 0),a!==""&&(s=Rc(()=>{var c=a+"";r&&(c="".concat(c,""));var u=wE(c);if((r||n)&&(u=Bi(u)),pp(Bi(u),u.lastChild),r||n)for(;Bi(u);)i.before(Bi(u));else i.before(u)})))})}function _o(e,t,r,n,o){var s,i=(s=t.$$slots)===null||s===void 0?void 0:s[r],a=!1;i===!0&&(i=t[r==="default"?"children":r],a=!0),i===void 0?o!==null&&o(e):i(e,a?()=>n:n)}function $z(e,t,r){var n,o,s=e;Lp(()=>{n!==(n=t())&&(o&&(gh(o),o=null),n&&(o=Rc(()=>r(s,n))))},Dv)}function Vs(e,t,r){ws(()=>{var n=Rl(()=>t(e,r==null?void 0:r())||{});if(r&&n!=null&&n.update){var o=!1,s={};qh(()=>{var i=r();de(i),o&&gE(s,i)&&(s=i,n.update(i))}),o=!0}if(n!=null&&n.destroy)return()=>n.destroy()})}function Tz(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t1&&arguments[1]!==void 0&&arguments[1]?" !important;":";",r="";for(var n in e){var o=e[n];o!=null&&o!==""&&(r+=" "+n+": "+o+t)}return r}function wj(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function hr(e,t,r,n,o,s){var i=e.__className;if(i!==r||i===void 0){var a=function(u,d,p){var f=u==null?"":""+u;if(d&&(f=f?f+" "+d:d),p){for(var m in p)if(p[m])f=f?f+" "+m:m;else if(f.length)for(var v=m.length,g=0;(g=f.indexOf(m,g))>=0;){var y=g+v;g!==0&&!nD.includes(f[g-1])||y!==f.length&&!nD.includes(f[y])?g=y:f=(g===0?"":f.substring(0,g))+f.substring(y+1)}}return f===""?null:f}(r,n,s);a==null?e.removeAttribute("class"):t?e.className=a:e.setAttribute("class",a),e.__className=r}else if(s&&o!==s)for(var l in s){var c=!!s[l];o!=null&&c===!!o[l]||e.classList.toggle(l,c)}return s}function xj(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;for(var o in r){var s=r[o];t[o]!==s&&(r[o]==null?e.style.removeProperty(o):e.style.setProperty(o,s,n))}}function Ba(e,t,r,n){if(e.__style!==t){var o=function(s,i){if(i){var a,l,c="";if(Array.isArray(i)?(a=i[0],l=i[1]):a=i,s){s=String(s).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var u=!1,d=0,p=!1,f=[];a&&f.push(...Object.keys(a).map(wj)),l&&f.push(...Object.keys(l).map(wj));for(var m=0,v=-1,g=s.length,y=0;y{document.activeElement===L&&F.focus()})}})(e,!!x);else if(i||k!=="__value"&&(k!=="value"||x==null))if(k==="selected"&&c)(function(F,z){z?F.hasAttribute("selected")||F.setAttribute("selected",""):F.removeAttribute("selected")})(e,x);else if(v=k,a||(v=function(F){var z;return F=F.toLowerCase(),(z=VOe[F])!==null&&z!==void 0?z:F}(v)),g=v==="defaultValue"||v==="defaultChecked",x!=null||i||g)g||y.includes(v)&&(i||typeof x!="string")?e[v]=x:typeof x!="function"&&fn(e,v,x);else if(s[k]=null,v==="value"||v==="checked"){var A=e,I=t===void 0;if(v==="value"){var M=A.defaultValue;A.removeAttribute(v),A.defaultValue=M,A.value=A.__value=I?M:null}else{var N=A.defaultChecked;A.removeAttribute(v),A.defaultChecked=N,A.checked=!!I&&N}}else e.removeAttribute(k);else e.value=e.__value=x};for(var w in r)b(w);return l}function xE(e){var t;return(t=e.__attributes)!==null&&t!==void 0?t:e.__attributes={[Pz]:e.nodeName.includes("-"),[Iz]:e.namespaceURI==="http://www.w3.org/1999/xhtml"}}var sD=new Map;function Dz(e){var t,r=sD.get(e.nodeName);if(r)return r;sD.set(e.nodeName,r=[]);for(var n=e,o=Element.prototype;o!==n;){for(var s in t=rz(n))t[s].set&&r.push(s);n=mE(n)}return r}function M1(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:t,n=zh();WOe(e,"input",o=>{var s=o?e.defaultValue:e.value;if(s=kj(e)?jj(s):s,r(s),n&&s!==(s=t())){var i=e.selectionStart,a=e.selectionEnd;e.value=s??"",a!==null&&(e.selectionStart=i,e.selectionEnd=Math.min(a,e.value.length))}}),Rl(t)==null&&e.value&&r(kj(e)?jj(e.value):e.value),qh(()=>{var o=t();kj(e)&&o===jj(e.value)||(e.type!=="date"||o||e.value)&&o!==e.value&&(e.value=o??"")})}function kj(e){var t=e.type;return t==="number"||t==="range"}function jj(e){return e===""?null:+e}function lr(e,t,r){var n=jc(e,t);n&&n.set&&(e[t]=r,yE(()=>{e[t]=null}))}function iD(e,t){return e===t||(e==null?void 0:e[Pu])===t}function no(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return ws(()=>{var n,o;return qh(()=>{n=o,o=[],Rl(()=>{e!==r(...o)&&(t(e,...o),n&&iD(r(...n),e)&&t(null,...n))})}),()=>{gx(()=>{o&&iD(r(...o),e)&&t(null,...o)})}}),e}function ac(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n0&&arguments[0]!==void 0&&arguments[0],t=jn,r=t.l.u;if(r){var n,o=()=>de(t.s);if(e){var s=0,i={},a=mh(()=>{var l=!1,c=t.s;for(var u in c)c[u]!==i[u]&&(i[u]=c[u],l=!0);return l&&s++,s});o=()=>h(a)}r.b.length&&(n=()=>{aD(t,o),O1(r.b)},yz(),qh(n)),n2(()=>{var l=Rl(()=>r.m.map(MOe));return()=>{for(var c of l)typeof c=="function"&&c()}}),r.a.length&&n2(()=>{aD(t,o),O1(r.a)})}}function aD(e,t){if(e.l.s)for(var r of e.l.s)h(r);t()}function kx(e){var t=dp(0);return function(){return arguments.length===1?($(t,h(t)+1),arguments[0]):(h(t),e())}}function Lm(e,t){var r,n=(r=e.$$events)===null||r===void 0?void 0:r[t.type],o=Mv(n)?n.slice():n==null?[]:[n];for(var s of o)s.call(this,t)}function Is(e){jn===null&&Nv(),Mh&&jn.l!==null?Mz(jn).m.push(e):n2(()=>{var t=Rl(e);if(typeof t=="function")return t})}function va(e){jn===null&&Nv(),Is(()=>()=>Rl(e))}function QOe(){var e=jn;return e===null&&Nv(),(t,r,n)=>{var o,s=(o=e.s.$$events)===null||o===void 0?void 0:o[t];if(s){var i=Mv(s)?s.slice():[s],a=function(c,u){var{bubbles:d=!1,cancelable:p=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return new CustomEvent(c,{detail:u,bubbles:d,cancelable:p})}(t,r,n);for(var l of i)l.call(e.x,a);return!a.defaultPrevented}return!0}}function ZOe(e){jn===null&&Nv(),jn.l===null&&function(){throw new Error("https://svelte.dev/e/lifecycle_legacy_only")}(),Mz(jn).b.push(e)}function Mz(e){var t,r=e.l;return(t=r.u)!==null&&t!==void 0?t:r.u={a:[],b:[],m:[]}}var E0=!1,XOe={get(e,t){if(!e.exclude.includes(t))return h(e.version),t in e.special?e.special[t]():e.props[t]},set:(e,t,r)=>(t in e.special||(e.special[t]=T({get[t](){return e.props[t]}},t,4)),e.special[t](r),X4(e.version),!0),getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t))return t in e.props?{enumerable:!0,configurable:!0,value:e.props[t]}:void 0},deleteProperty:(e,t)=>(e.exclude.includes(t)||(e.exclude.push(t),X4(e.version)),!0),has:(e,t)=>!e.exclude.includes(t)&&t in e.props,ownKeys:e=>Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))};function O0(e,t){return new Proxy({props:e,exclude:t,special:{},version:dp(0)},XOe)}var YOe={get(e,t){for(var r=e.props.length;r--;){var n=e.props[r];if(ym(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n)return n[t]}},set(e,t,r){for(var n=e.props.length;n--;){var o=e.props[n];ym(o)&&(o=o());var s=jc(o,t);if(s&&s.set)return s.set(r),!0}return!1},getOwnPropertyDescriptor(e,t){for(var r=e.props.length;r--;){var n=e.props[r];if(ym(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n){var o=jc(n,t);return o&&!o.configurable&&(o.configurable=!0),o}}},has(e,t){if(t===Pu||t===tz)return!1;for(var r of e.props)if(ym(r)&&(r=r()),r!=null&&t in r)return!0;return!1},ownKeys(e){var t=[];for(var r of e.props)for(var n in ym(r)&&(r=r()),r)t.includes(n)||t.push(n);return t}};function Iu(){for(var e=arguments.length,t=new Array(e),r=0;re[t]):i=e[t];var p,f=Pu in e||tz in e,m=c&&((o=(s=jc(e,t))===null||s===void 0?void 0:s.set)!==null&&o!==void 0?o:f&&t in e&&(C=>e[t]=C))||void 0,v=n,g=!0,y=!1,b=()=>(y=!0,g&&(g=!1,v=u?Rl(n):n),v);if(i===void 0&&n!==void 0&&(m&&l&&function(){throw new Error("https://svelte.dev/e/props_invalid_value")}(),i=b(),m&&m(i)),l)p=()=>{var C=e[t];return C===void 0?b():(g=!0,y=!1,C)};else{var w=(a?mh:We)(()=>e[t]);w.f|=EOe,p=()=>{var C=h(w);return C!==void 0&&(v=void 0),C===void 0?v:C}}if(!(4&r))return p;if(m){var k=e.$$legacy;return function(C,A){return arguments.length>0?(l&&A&&!k&&!d||m(A?p():C),C):p()}}var x=!1,j=he(i),_=mh(()=>{var C=p(),A=h(j);return x?(x=!1,A):j.v=C});return c&&h(_),a||(_.equals=vE),function(C,A){if(arguments.length>0){var I=A?h(_):l&&c?Id(C):C;if(!_.equals(I)){if(x=!0,$(j,I),y&&v!==void 0&&(v=I),lD(_))return C;Rl(()=>h(_))}return C}return lD(_)?_.v:h(_)}}function ss(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(n){var o=function(s){try{if(typeof window<"u"&&window.localStorage!==void 0)return window.localStorage[s]}catch{}}("debug");return o!=null&&o.endsWith("*")?n.startsWith(o.slice(0,-1)):n===o}(e);if(!t)return e$e;var r=function(n){for(var o=0,s=0;s9466848e5&&isFinite(e)&&Math.floor(e)===e&&!isNaN(new Date(e).valueOf());if(typeof e=="bigint")return i2(Number(e));try{var t=e&&e.valueOf();if(t!==e)return i2(t)}catch{return!1}return!1}function Lz(e){($0=$0||window.document.createElement("div")).style.color="",$0.style.color=e;var t=$0.style.color;return t!==""?t.replace(/\s+/g,"").toLowerCase():void 0}var $0=void 0;function o$e(e){return typeof e=="string"&&e.length<99&&!!Lz(e)}function jE(e,t){if(typeof e=="number"||typeof e=="string"||typeof e=="boolean"||e===void 0)return typeof e;if(typeof e=="bigint")return"number";if(e===null)return"null";if(Array.isArray(e))return"array";if(hn(e))return"object";var r=t.stringify(e);return r&&kE(r)?"number":r==="true"||r==="false"?"boolean":r==="null"?"null":"unknown"}var s$e=/^https?:\/\/\S+$/;function jx(e){return typeof e=="string"&&s$e.test(e)}function Fh(e,t){if(e==="")return"";var r=e.trim();return r==="null"?null:r==="true"||r!=="false"&&(kE(r)?t.parse(r):e)}var i$e=[];function uD(e,t){if(e.length!==t.length)return!1;for(var r=0;r1&&arguments[1]!==void 0&&arguments[1],r={};if(!Array.isArray(e))throw new TypeError("Array expected");function n(i,a){(!Array.isArray(i)&&!hn(i)||t&&a.length>0)&&(r[Wt(a)]=!0),hn(i)&&Object.keys(i).forEach(l=>{n(i[l],a.concat(l))})}for(var o=Math.min(e.length,1e4),s=0;st?e.slice(0,t):e}function dD(e){return rt({},e)}function pD(e){return Object.values(e)}function fD(e,t,r,n){var o=e.slice(0),s=o.splice(t,r);return o.splice.apply(o,[t+n,0,...s]),o}function a$e(e,t,r){return e.slice(0,t).concat(r).concat(e.slice(t))}function Bv(e,t){try{return t.parse(e)}catch{return t.parse(Ol(e))}}function Bz(e,t){try{return Bv(e,t)}catch{return}}function _x(e,t){e=e.replace(zz,"");try{return t(e)}catch{}try{return t("{"+e+"}")}catch{}try{return t("["+e+"]")}catch{}throw new Error("Failed to parse partial JSON")}function qz(e){e=e.replace(zz,"");try{return Ol(e)}catch{}try{var t=Ol("["+e+"]");return t.substring(1,t.length-1)}catch{}try{var r=Ol("{"+e+"}");return r.substring(1,r.length-1)}catch{}throw new Error("Failed to repair partial JSON")}var zz=/,\s*$/;function vh(e,t){var r=mD.exec(t);if(r){var n=ks(r[2]),o=function(f,m){for(var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f.length,y=0,b=v;b",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'},Wje=typeof navigator<"u"&&/Mac/.test(navigator.platform),Gje=typeof navigator<"u"&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);for(var Es=0;Es<10;Es++)Ku[48+Es]=Ku[96+Es]=String(Es);for(var Es=1;Es<=24;Es++)Ku[Es+111]="F"+Es;for(var Es=65;Es<=90;Es++)Ku[Es]=String.fromCharCode(Es+32),$g[Es]=String.fromCharCode(Es);for(var Gk in Ku)$g.hasOwnProperty(Gk)||($g[Gk]=Ku[Gk]);function Jje(e){var t=Wje&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||Gje&&e.shiftKey&&e.key&&e.key.length==1||e.key=="Unidentified",r=!t&&e.key||(e.shiftKey?$g:Ku)[e.keyCode]||e.key||"Unidentified";return r=="Esc"&&(r="Escape"),r=="Del"&&(r="Delete"),r=="Left"&&(r="ArrowLeft"),r=="Up"&&(r="ArrowUp"),r=="Right"&&(r="ArrowRight"),r=="Down"&&(r="ArrowDown"),r}function Tg(e){let t;return e.nodeType==11?t=e.getSelection?e:e.ownerDocument:t=e,t.getSelection()}function vS(e,t){return t?e==t||e.contains(t.nodeType!=1?t.parentNode:t):!1}function nb(e,t){if(!t.anchorNode)return!1;try{return vS(e,t.anchorNode)}catch{return!1}}function Pg(e){return e.nodeType==3?lp(e,0,e.nodeValue.length).getClientRects():e.nodeType==1?e.getClientRects():[]}function Xm(e,t,r,n){return r?lI(e,t,r,n,-1)||lI(e,t,r,n,1):!1}function ap(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t}function n1(e){return e.nodeType==1&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)}function lI(e,t,r,n,o){for(;;){if(e==r&&t==n)return!0;if(t==(o<0?0:Ml(e))){if(e.nodeName=="DIV")return!1;let s=e.parentNode;if(!s||s.nodeType!=1)return!1;t=ap(e)+(o<0?0:1),e=s}else if(e.nodeType==1){if(e=e.childNodes[t+(o<0?-1:0)],e.nodeType==1&&e.contentEditable=="false")return!1;t=o<0?Ml(e):0}else return!1}}function Ml(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function tx(e,t){let r=t?e.left:e.right;return{left:r,right:r,top:e.top,bottom:e.bottom}}function Kje(e){let t=e.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.innerWidth,top:0,bottom:e.innerHeight}}function wB(e,t){let r=t.width/e.offsetWidth,n=t.height/e.offsetHeight;return(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.width-e.offsetWidth)<1)&&(r=1),(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.height-e.offsetHeight)<1)&&(n=1),{scaleX:r,scaleY:n}}function Qje(e,t,r,n,o,s,i,a){let l=e.ownerDocument,c=l.defaultView||window;for(let u=e,d=!1;u&&!d;)if(u.nodeType==1){let p,f=u==l.body,m=1,v=1;if(f)p=Kje(c);else{if(/^(fixed|sticky)$/.test(getComputedStyle(u).position)&&(d=!0),u.scrollHeight<=u.clientHeight&&u.scrollWidth<=u.clientWidth){u=u.assignedSlot||u.parentNode;continue}let b=u.getBoundingClientRect();({scaleX:m,scaleY:v}=wB(u,b)),p={left:b.left,right:b.left+u.clientWidth*m,top:b.top,bottom:b.top+u.clientHeight*v}}let g=0,y=0;if(o=="nearest")t.top0&&t.bottom>p.bottom+y&&(y=t.bottom-p.bottom+y+i)):t.bottom>p.bottom&&(y=t.bottom-p.bottom+i,r<0&&t.top-y0&&t.right>p.right+g&&(g=t.right-p.right+g+s)):t.right>p.right&&(g=t.right-p.right+s,r<0&&t.lefto.clientHeight&&(n=o),!r&&o.scrollWidth>o.clientWidth&&(r=o),o=o.assignedSlot||o.parentNode;else if(o.nodeType==11)o=o.host;else break;return{x:r,y:n}}class Xje{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}eq(t){return this.anchorNode==t.anchorNode&&this.anchorOffset==t.anchorOffset&&this.focusNode==t.focusNode&&this.focusOffset==t.focusOffset}setRange(t){let{anchorNode:r,focusNode:n}=t;this.set(r,Math.min(t.anchorOffset,r?Ml(r):0),n,Math.min(t.focusOffset,n?Ml(n):0))}set(t,r,n,o){this.anchorNode=t,this.anchorOffset=r,this.focusNode=n,this.focusOffset=o}}let tf=null;function xB(e){if(e.setActive)return e.setActive();if(tf)return e.focus(tf);let t=[];for(let r=e;r&&(t.push(r,r.scrollTop,r.scrollLeft),r!=r.ownerDocument);r=r.parentNode);if(e.focus(tf==null?{get preventScroll(){return tf={preventScroll:!0},!0}}:void 0),!tf){tf=!1;for(let r=0;rMath.max(1,e.scrollHeight-e.clientHeight-4)}function _B(e,t){for(let r=e,n=t;;){if(r.nodeType==3&&n>0)return{node:r,offset:n};if(r.nodeType==1&&n>0){if(r.contentEditable=="false")return null;r=r.childNodes[n-1],n=Ml(r)}else if(r.parentNode&&!n1(r))n=ap(r),r=r.parentNode;else return null}}function SB(e,t){for(let r=e,n=t;;){if(r.nodeType==3&&nr)return d.domBoundsAround(t,r,c);if(p>=t&&o==-1&&(o=l,s=c),c>r&&d.dom.parentNode==this.dom){i=l,a=u;break}u=p,c=p+d.breakAfter}return{from:s,to:a<0?n+this.length:a,startDOM:(o?this.children[o-1].dom.nextSibling:null)||this.dom.firstChild,endDOM:i=0?this.children[i].dom:null}}markDirty(t=!1){this.flags|=2,this.markParentsDirty(t)}markParentsDirty(t){for(let r=this.parent;r;r=r.parent){if(t&&(r.flags|=2),r.flags&1)return;r.flags|=1,t=!1}}setParent(t){this.parent!=t&&(this.parent=t,this.flags&7&&this.markParentsDirty(!0))}setDOM(t){this.dom!=t&&(this.dom&&(this.dom.cmView=null),this.dom=t,t.cmView=this)}get rootView(){for(let t=this;;){let r=t.parent;if(!r)return t;t=r}}replaceChildren(t,r,n=LA){this.markDirty();for(let o=t;othis.pos||t==this.pos&&(r>0||this.i==0||this.children[this.i-1].breakAfter))return this.off=t-this.pos,this;let n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}function AB(e,t,r,n,o,s,i,a,l){let{children:c}=e,u=c.length?c[t]:null,d=s.length?s[s.length-1]:null,p=d?d.breakAfter:i;if(!(t==n&&u&&!i&&!p&&s.length<2&&u.merge(r,o,s.length?d:null,r==0,a,l))){if(n0&&(!i&&s.length&&u.merge(r,u.length,s[0],!1,a,0)?u.breakAfter=s.shift().breakAfter:(r2);var Ct={mac:fI||/Mac/.test(mi.platform),windows:/Win/.test(mi.platform),linux:/Linux|X11/.test(mi.platform),ie:rx,ie_version:OB?yS.documentMode||6:wS?+wS[1]:bS?+bS[1]:0,gecko:dI,gecko_version:dI?+(/Firefox\/(\d+)/.exec(mi.userAgent)||[0,0])[1]:0,chrome:!!Jk,chrome_version:Jk?+Jk[1]:0,ios:fI,android:/Android\b/.test(mi.userAgent),webkit:pI,safari:$B,webkit_version:pI?+(/\bAppleWebKit\/(\d+)/.exec(mi.userAgent)||[0,0])[1]:0,tabSize:yS.documentElement.style.tabSize!=null?"tab-size":"-moz-tab-size"};const t_e=256;class Za extends ao{constructor(t){super(),this.text=t}get length(){return this.text.length}createDOM(t){this.setDOM(t||document.createTextNode(this.text))}sync(t,r){this.dom||this.createDOM(),this.dom.nodeValue!=this.text&&(r&&r.node==this.dom&&(r.written=!0),this.dom.nodeValue=this.text)}reuseDOM(t){t.nodeType==3&&this.createDOM(t)}merge(t,r,n){return this.flags&8||n&&(!(n instanceof Za)||this.length-(r-t)+n.length>t_e||n.flags&8)?!1:(this.text=this.text.slice(0,t)+(n?n.text:"")+this.text.slice(r),this.markDirty(),!0)}split(t){let r=new Za(this.text.slice(t));return this.text=this.text.slice(0,t),this.markDirty(),r.flags|=this.flags&8,r}localPosFromDOM(t,r){return t==this.dom?r:r?this.text.length:0}domAtPos(t){return new Bs(this.dom,t)}domBoundsAround(t,r,n){return{from:n,to:n+this.length,startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(t,r){return r_e(this.dom,t,r)}}class Lc extends ao{constructor(t,r=[],n=0){super(),this.mark=t,this.children=r,this.length=n;for(let o of r)o.setParent(this)}setAttrs(t){if(kB(t),this.mark.class&&(t.className=this.mark.class),this.mark.attrs)for(let r in this.mark.attrs)t.setAttribute(r,this.mark.attrs[r]);return t}canReuseDOM(t){return super.canReuseDOM(t)&&!((this.flags|t.flags)&8)}reuseDOM(t){t.nodeName==this.mark.tagName.toUpperCase()&&(this.setDOM(t),this.flags|=6)}sync(t,r){this.dom?this.flags&4&&this.setAttrs(this.dom):this.setDOM(this.setAttrs(document.createElement(this.mark.tagName))),super.sync(t,r)}merge(t,r,n,o,s,i){return n&&(!(n instanceof Lc&&n.mark.eq(this.mark))||t&&s<=0||rt&&r.push(n=t&&(o=s),n=l,s++}let i=this.length-t;return this.length=t,o>-1&&(this.children.length=o,this.markDirty()),new Lc(this.mark,r,i)}domAtPos(t){return TB(this,t)}coordsAt(t,r){return IB(this,t,r)}}function r_e(e,t,r){let n=e.nodeValue.length;t>n&&(t=n);let o=t,s=t,i=0;t==0&&r<0||t==n&&r>=0?Ct.chrome||Ct.gecko||(t?(o--,i=1):s=0)?0:a.length-1];return Ct.safari&&!i&&l.width==0&&(l=Array.prototype.find.call(a,c=>c.width)||l),i?tx(l,i<0):l||null}class xu extends ao{static create(t,r,n){return new xu(t,r,n)}constructor(t,r,n){super(),this.widget=t,this.length=r,this.side=n,this.prevWidget=null}split(t){let r=xu.create(this.widget,this.length-t,this.side);return this.length-=t,r}sync(t){(!this.dom||!this.widget.updateDOM(this.dom,t))&&(this.dom&&this.prevWidget&&this.prevWidget.destroy(this.dom),this.prevWidget=null,this.setDOM(this.widget.toDOM(t)),this.widget.editable||(this.dom.contentEditable="false"))}getSide(){return this.side}merge(t,r,n,o,s,i){return n&&(!(n instanceof xu)||!this.widget.compare(n.widget)||t>0&&s<=0||r0)?Bs.before(this.dom):Bs.after(this.dom,t==this.length)}domBoundsAround(){return null}coordsAt(t,r){let n=this.widget.coordsAt(this.dom,t,r);if(n)return n;let o=this.dom.getClientRects(),s=null;if(!o.length)return null;let i=this.side?this.side<0:t>0;for(let a=i?o.length-1:0;s=o[a],!(t>0?a==0:a==o.length-1||s.top0?Bs.before(this.dom):Bs.after(this.dom)}localPosFromDOM(){return 0}domBoundsAround(){return null}coordsAt(t){return this.dom.getBoundingClientRect()}get overrideDOMText(){return Ln.empty}get isHidden(){return!0}}Za.prototype.children=xu.prototype.children=ch.prototype.children=LA;function TB(e,t){let r=e.dom,{children:n}=e,o=0;for(let s=0;os&&t0;s--){let i=n[s-1];if(i.dom.parentNode==r)return i.domAtPos(i.length)}for(let s=o;s0&&t instanceof Lc&&o.length&&(n=o[o.length-1])instanceof Lc&&n.mark.eq(t.mark)?PB(n,t.children[0],r-1):(o.push(t),t.setParent(e)),e.length+=t.length}function IB(e,t,r){let n=null,o=-1,s=null,i=-1;function a(c,u){for(let d=0,p=0;d=u&&(f.children.length?a(f,u-p):(!s||s.isHidden&&r>0)&&(m>u||p==m&&f.getSide()>0)?(s=f,i=u-p):(p-1?1:0)!=o.length-(r&&o.indexOf(r)>-1?1:0))return!1;for(let s of n)if(s!=r&&(o.indexOf(s)==-1||e[s]!==t[s]))return!1;return!0}function kS(e,t,r){let n=!1;if(t)for(let o in t)r&&o in r||(n=!0,o=="style"?e.style.cssText="":e.removeAttribute(o));if(r)for(let o in r)t&&t[o]==r[o]||(n=!0,o=="style"?e.style.cssText=r[o]:e.setAttribute(o,r[o]));return n}function o_e(e){let t=Object.create(null);for(let r=0;r0?3e8:-4e8:r>0?1e8:-1e8,new Qu(t,r,r,n,t.widget||null,!1)}static replace(t){let r=!!t.block,n,o;if(t.isBlockGap)n=-5e8,o=4e8;else{let{start:s,end:i}=DB(t,r);n=(s?r?-3e8:-1:5e8)-1,o=(i?r?2e8:1:-6e8)+1}return new Qu(t,n,o,r,t.widget||null,!0)}static line(t){return new Ev(t)}static set(t,r=!1){return pn.of(t,r)}hasHeight(){return this.widget?this.widget.estimatedHeight>-1:!1}}kr.none=pn.empty;class Av extends kr{constructor(t){let{start:r,end:n}=DB(t);super(r?-1:5e8,n?1:-6e8,null,t),this.tagName=t.tagName||"span",this.class=t.class||"",this.attrs=t.attributes||null}eq(t){var r,n;return this==t||t instanceof Av&&this.tagName==t.tagName&&(this.class||((r=this.attrs)===null||r===void 0?void 0:r.class))==(t.class||((n=t.attrs)===null||n===void 0?void 0:n.class))&&o1(this.attrs,t.attrs,"class")}range(t,r=t){if(t>=r)throw new RangeError("Mark decorations may not be empty");return super.range(t,r)}}Av.prototype.point=!1;class Ev extends kr{constructor(t){super(-2e8,-2e8,null,t)}eq(t){return t instanceof Ev&&this.spec.class==t.spec.class&&o1(this.spec.attributes,t.spec.attributes)}range(t,r=t){if(r!=t)throw new RangeError("Line decoration ranges must be zero-length");return super.range(t,r)}}Ev.prototype.mapMode=ri.TrackBefore;Ev.prototype.point=!0;class Qu extends kr{constructor(t,r,n,o,s,i){super(r,n,s,t),this.block=o,this.isReplace=i,this.mapMode=o?r<=0?ri.TrackBefore:ri.TrackAfter:ri.TrackDel}get type(){return this.startSide!=this.endSide?ii.WidgetRange:this.startSide<=0?ii.WidgetBefore:ii.WidgetAfter}get heightRelevant(){return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)}eq(t){return t instanceof Qu&&s_e(this.widget,t.widget)&&this.block==t.block&&this.startSide==t.startSide&&this.endSide==t.endSide}range(t,r=t){if(this.isReplace&&(t>r||t==r&&this.startSide>0&&this.endSide<=0))throw new RangeError("Invalid range for replacement decoration");if(!this.isReplace&&r!=t)throw new RangeError("Widget decorations can only have zero-length ranges");return super.range(t,r)}}Qu.prototype.point=!0;function DB(e,t=!1){let{inclusiveStart:r,inclusiveEnd:n}=e;return r==null&&(r=e.inclusive),n==null&&(n=e.inclusive),{start:r??t,end:n??t}}function s_e(e,t){return e==t||!!(e&&t&&e.compare(t))}function ob(e,t,r,n=0){let o=r.length-1;o>=0&&r[o]+n>=e?r[o]=Math.max(r[o],t):r.push(e,t)}class Xo extends ao{constructor(){super(...arguments),this.children=[],this.length=0,this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(t,r,n,o,s,i){if(n){if(!(n instanceof Xo))return!1;this.dom||n.transferDOM(this)}return o&&this.setDeco(n?n.attrs:null),EB(this,t,r,n?n.children.slice():[],s,i),!0}split(t){let r=new Xo;if(r.breakAfter=this.breakAfter,this.length==0)return r;let{i:n,off:o}=this.childPos(t);o&&(r.append(this.children[n].split(o),0),this.children[n].merge(o,this.children[n].length,null,!1,0,0),n++);for(let s=n;s0&&this.children[n-1].length==0;)this.children[--n].destroy();return this.children.length=n,this.markDirty(),this.length=t,r}transferDOM(t){this.dom&&(this.markDirty(),t.setDOM(this.dom),t.prevAttrs=this.prevAttrs===void 0?this.attrs:this.prevAttrs,this.prevAttrs=void 0,this.dom=null)}setDeco(t){o1(this.attrs,t)||(this.dom&&(this.prevAttrs=this.attrs,this.markDirty()),this.attrs=t)}append(t,r){PB(this,t,r)}addLineDeco(t){let r=t.spec.attributes,n=t.spec.class;r&&(this.attrs=xS(r,this.attrs||{})),n&&(this.attrs=xS({class:n},this.attrs||{}))}domAtPos(t){return TB(this,t)}reuseDOM(t){t.nodeName=="DIV"&&(this.setDOM(t),this.flags|=6)}sync(t,r){var n;this.dom?this.flags&4&&(kB(this.dom),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0):(this.setDOM(document.createElement("div")),this.dom.className="cm-line",this.prevAttrs=this.attrs?null:void 0),this.prevAttrs!==void 0&&(kS(this.dom,this.prevAttrs,this.attrs),this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(t,r);let o=this.dom.lastChild;for(;o&&ao.get(o)instanceof Lc;)o=o.lastChild;if(!o||!this.length||o.nodeName!="BR"&&((n=ao.get(o))===null||n===void 0?void 0:n.isEditable)==!1&&(!Ct.ios||!this.children.some(s=>s instanceof Za))){let s=document.createElement("BR");s.cmIgnore=!0,this.dom.appendChild(s)}}measureTextSize(){if(this.children.length==0||this.length>20)return null;let t=0,r;for(let n of this.children){if(!(n instanceof Za)||/[^ -~]/.test(n.text))return null;let o=Pg(n.dom);if(o.length!=1)return null;t+=o[0].width,r=o[0].height}return t?{lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length,textHeight:r}:null}coordsAt(t,r){let n=IB(this,t,r);if(!this.children.length&&n&&this.parent){let{heightOracle:o}=this.parent.view.viewState,s=n.bottom-n.top;if(Math.abs(s-o.lineHeight)<2&&o.textHeight=r){if(s instanceof Xo)return s;if(i>r)break}o=i+s.breakAfter}return null}}class kc extends ao{constructor(t,r,n){super(),this.widget=t,this.length=r,this.deco=n,this.breakAfter=0,this.prevWidget=null}merge(t,r,n,o,s,i){return n&&(!(n instanceof kc)||!this.widget.compare(n.widget)||t>0&&s<=0||r0}}class jS extends ud{constructor(t){super(),this.height=t}toDOM(){let t=document.createElement("div");return t.className="cm-gap",this.updateDOM(t),t}eq(t){return t.height==this.height}updateDOM(t){return t.style.height=this.height+"px",!0}get editable(){return!0}get estimatedHeight(){return this.height}ignoreEvent(){return!1}}class Ym{constructor(t,r,n,o){this.doc=t,this.pos=r,this.end=n,this.disallowBlockEffectsFor=o,this.content=[],this.curLine=null,this.breakAtStart=0,this.pendingBuffer=0,this.bufferMarks=[],this.atCursorPos=!0,this.openStart=-1,this.openEnd=-1,this.text="",this.textOff=0,this.cursor=t.iter(),this.skip=r}posCovered(){if(this.content.length==0)return!this.breakAtStart&&this.doc.lineAt(this.pos).from!=this.pos;let t=this.content[this.content.length-1];return!(t.breakAfter||t instanceof kc&&t.deco.endSide<0)}getLine(){return this.curLine||(this.content.push(this.curLine=new Xo),this.atCursorPos=!0),this.curLine}flushBuffer(t=this.bufferMarks){this.pendingBuffer&&(this.curLine.append(s0(new ch(-1),t),t.length),this.pendingBuffer=0)}addBlockWidget(t){this.flushBuffer(),this.curLine=null,this.content.push(t)}finish(t){this.pendingBuffer&&t<=this.bufferMarks.length?this.flushBuffer():this.pendingBuffer=0,!this.posCovered()&&!(t&&this.content.length&&this.content[this.content.length-1]instanceof kc)&&this.getLine()}buildText(t,r,n){for(;t>0;){if(this.textOff==this.text.length){let{value:s,lineBreak:i,done:a}=this.cursor.next(this.skip);if(this.skip=0,a)throw new Error("Ran out of text content when drawing inline views");if(i){this.posCovered()||this.getLine(),this.content.length?this.content[this.content.length-1].breakAfter=1:this.breakAtStart=1,this.flushBuffer(),this.curLine=null,this.atCursorPos=!0,t--;continue}else this.text=s,this.textOff=0}let o=Math.min(this.text.length-this.textOff,t,512);this.flushBuffer(r.slice(r.length-n)),this.getLine().append(s0(new Za(this.text.slice(this.textOff,this.textOff+o)),r),n),this.atCursorPos=!0,this.textOff+=o,t-=o,n=0}}span(t,r,n,o){this.buildText(r-t,n,o),this.pos=r,this.openStart<0&&(this.openStart=o)}point(t,r,n,o,s,i){if(this.disallowBlockEffectsFor[i]&&n instanceof Qu){if(n.block)throw new RangeError("Block decorations may not be specified via plugins");if(r>this.doc.lineAt(this.pos).to)throw new RangeError("Decorations that replace line breaks may not be specified via plugins")}let a=r-t;if(n instanceof Qu)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),this.addBlockWidget(new kc(n.widget||uh.block,a,n));else{let l=xu.create(n.widget||uh.inline,a,a?0:n.startSide),c=this.atCursorPos&&!l.isEditable&&s<=o.length&&(t0),u=!l.isEditable&&(to.length||n.startSide<=0),d=this.getLine();this.pendingBuffer==2&&!c&&!l.isEditable&&(this.pendingBuffer=0),this.flushBuffer(o),c&&(d.append(s0(new ch(1),o),s),s=o.length+Math.max(0,s-o.length)),d.append(s0(l,o),s),this.atCursorPos=u,this.pendingBuffer=u?to.length?1:2:0,this.pendingBuffer&&(this.bufferMarks=o.slice())}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n);a&&(this.textOff+a<=this.text.length?this.textOff+=a:(this.skip+=a-(this.text.length-this.textOff),this.text="",this.textOff=0),this.pos=r),this.openStart<0&&(this.openStart=s)}static build(t,r,n,o,s){let i=new Ym(t,r,n,s);return i.openEnd=pn.spans(o,r,n,i),i.openStart<0&&(i.openStart=i.openEnd),i.finish(i.openEnd),i}}function s0(e,t){for(let r of t)e=new Lc(r,[e],e.length);return e}class uh extends ud{constructor(t){super(),this.tag=t}eq(t){return t.tag==this.tag}toDOM(){return document.createElement(this.tag)}updateDOM(t){return t.nodeName.toLowerCase()==this.tag}get isHidden(){return!0}}uh.inline=new uh("span");uh.block=new uh("div");var Co=function(e){return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(Co||(Co={}));const cp=Co.LTR,RA=Co.RTL;function MB(e){let t=[];for(let r=0;r=r){if(a.level==n)return i;(s<0||(o!=0?o<0?a.fromr:t[s].level>a.level))&&(s=i)}}if(s<0)throw new RangeError("Index out of range");return s}}function LB(e,t){if(e.length!=t.length)return!1;for(let r=0;r=0;v-=3)if(al[v+1]==-f){let g=al[v+2],y=g&2?o:g&4?g&1?s:o:0;y&&(io[d]=io[al[v]]=y),a=v;break}}else{if(al.length==189)break;al[a++]=d,al[a++]=p,al[a++]=l}else if((m=io[d])==2||m==1){let v=m==o;l=v?0:1;for(let g=a-3;g>=0;g-=3){let y=al[g+2];if(y&2)break;if(v)al[g+2]|=2;else{if(y&4)break;al[g+2]|=4}}}}}function d_e(e,t,r,n){for(let o=0,s=n;o<=r.length;o++){let i=o?r[o-1].to:e,a=ol;)m==g&&(m=r[--v].from,g=v?r[v-1].to:e),io[--m]=f;l=u}else s=c,l++}}}function SS(e,t,r,n,o,s,i){let a=n%2?2:1;if(n%2==o%2)for(let l=t,c=0;ll&&i.push(new ku(l,v.from,f));let g=v.direction==cp!=!(f%2);CS(e,g?n+1:n,o,v.inner,v.from,v.to,i),l=v.to}m=v.to}else{if(m==r||(u?io[m]!=a:io[m]==a))break;m++}p?SS(e,l,m,n+1,o,p,i):lt;){let u=!0,d=!1;if(!c||l>s[c-1].to){let v=io[l-1];v!=a&&(u=!1,d=v==16)}let p=!u&&a==1?[]:null,f=u?n:n+1,m=l;e:for(;;)if(c&&m==s[c-1].to){if(d)break e;let v=s[--c];if(!u)for(let g=v.from,y=c;;){if(g==t)break e;if(y&&s[y-1].to==g)g=s[--y].from;else{if(io[g-1]==a)break e;break}}if(p)p.push(v);else{v.toio.length;)io[io.length]=256;let n=[],o=t==cp?0:1;return CS(e,o,o,r,0,e.length,n),n}function RB(e){return[new ku(0,e,0)]}let BB="";function f_e(e,t,r,n,o){var s;let i=n.head-e.from,a=ku.find(t,i,(s=n.bidiLevel)!==null&&s!==void 0?s:-1,n.assoc),l=t[a],c=l.side(o,r);if(i==c){let p=a+=o?1:-1;if(p<0||p>=t.length)return null;l=t[a=p],i=l.side(!o,r),c=l.side(o,r)}let u=$s(e.text,i,l.forward(o,r));(ul.to)&&(u=c),BB=e.text.slice(Math.min(i,u),Math.max(i,u));let d=a==(o?t.length-1:0)?null:t[a+(o?1:-1)];return d&&u==c&&d.level+(o?0:1)e.some(t=>t)}),GB=At.define({combine:e=>e.some(t=>t)}),JB=At.define();class zf{constructor(t,r="nearest",n="nearest",o=5,s=5,i=!1){this.range=t,this.y=r,this.x=n,this.yMargin=o,this.xMargin=s,this.isSnapshot=i}map(t){return t.empty?this:new zf(this.range.map(t),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}clip(t){return this.range.to<=t.doc.length?this:new zf(Je.cursor(t.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)}}const i0=Gr.define({map:(e,t)=>e.map(t)}),KB=Gr.define();function oi(e,t,r){let n=e.facet(VB);n.length?n[0](t):window.onerror?window.onerror(String(t),r,void 0,void 0,t):r?console.error(r+":",t):console.error(t)}const pc=At.define({combine:e=>e.length?e[0]:!0});let m_e=0;const $m=At.define();class Lo{constructor(t,r,n,o,s){this.id=t,this.create=r,this.domEventHandlers=n,this.domEventObservers=o,this.extension=s(this)}static define(t,r){const{eventHandlers:n,eventObservers:o,provide:s,decorations:i}=r||{};return new Lo(m_e++,t,n,o,a=>{let l=[$m.of(a)];return i&&l.push(Ig.of(c=>{let u=c.plugin(a);return u?i(u):kr.none})),s&&l.push(s(a)),l})}static fromClass(t,r){return Lo.define(n=>new t(n),r)}}class Kk{constructor(t){this.spec=t,this.mustUpdate=null,this.value=null}update(t){if(this.value){if(this.mustUpdate){let r=this.mustUpdate;if(this.mustUpdate=null,this.value.update)try{this.value.update(r)}catch(n){if(oi(r.state,n,"CodeMirror plugin crashed"),this.value.destroy)try{this.value.destroy()}catch{}this.deactivate()}}}else if(this.spec)try{this.value=this.spec.create(t)}catch(r){oi(t.state,r,"CodeMirror plugin crashed"),this.deactivate()}return this}destroy(t){var r;if(!((r=this.value)===null||r===void 0)&&r.destroy)try{this.value.destroy()}catch(n){oi(t.state,n,"CodeMirror plugin crashed")}}deactivate(){this.spec=this.value=null}}const QB=At.define(),zA=At.define(),Ig=At.define(),ZB=At.define(),FA=At.define(),XB=At.define();function mI(e,t){let r=e.state.facet(XB);if(!r.length)return r;let n=r.map(s=>s instanceof Function?s(e):s),o=[];return pn.spans(n,t.from,t.to,{point(){},span(s,i,a,l){let c=s-t.from,u=i-t.from,d=o;for(let p=a.length-1;p>=0;p--,l--){let f=a[p].spec.bidiIsolate,m;if(f==null&&(f=h_e(t.text,c,u)),l>0&&d.length&&(m=d[d.length-1]).to==c&&m.direction==f)m.to=u,d=m.inner;else{let v={from:c,to:u,direction:f,inner:[]};d.push(v),d=v.inner}}}}),o}const YB=At.define();function VA(e){let t=0,r=0,n=0,o=0;for(let s of e.state.facet(YB)){let i=s(e);i&&(i.left!=null&&(t=Math.max(t,i.left)),i.right!=null&&(r=Math.max(r,i.right)),i.top!=null&&(n=Math.max(n,i.top)),i.bottom!=null&&(o=Math.max(o,i.bottom)))}return{left:t,right:r,top:n,bottom:o}}const Tm=At.define();class pa{constructor(t,r,n,o){this.fromA=t,this.toA=r,this.fromB=n,this.toB=o}join(t){return new pa(Math.min(this.fromA,t.fromA),Math.max(this.toA,t.toA),Math.min(this.fromB,t.fromB),Math.max(this.toB,t.toB))}addToSet(t){let r=t.length,n=this;for(;r>0;r--){let o=t[r-1];if(!(o.fromA>n.toA)){if(o.toAu)break;s+=2}if(!l)return n;new pa(l.fromA,l.toA,l.fromB,l.toB).addToSet(n),i=l.toA,a=l.toB}}}class s1{constructor(t,r,n){this.view=t,this.state=r,this.transactions=n,this.flags=0,this.startState=t.state,this.changes=Yo.empty(this.startState.doc.length);for(let s of n)this.changes=this.changes.compose(s.changes);let o=[];this.changes.iterChangedRanges((s,i,a,l)=>o.push(new pa(s,i,a,l))),this.changedRanges=o}static create(t,r,n){return new s1(t,r,n)}get viewportChanged(){return(this.flags&4)>0}get viewportMoved(){return(this.flags&8)>0}get heightChanged(){return(this.flags&2)>0}get geometryChanged(){return this.docChanged||(this.flags&18)>0}get focusChanged(){return(this.flags&1)>0}get docChanged(){return!this.changes.empty}get selectionSet(){return this.transactions.some(t=>t.selection)}get empty(){return this.flags==0&&this.transactions.length==0}}class gI extends ao{get length(){return this.view.state.doc.length}constructor(t){super(),this.view=t,this.decorations=[],this.dynamicDecorationMap=[!1],this.domChanged=null,this.hasComposition=null,this.markedForComposition=new Set,this.editContextFormatting=kr.none,this.lastCompositionAfterCursor=!1,this.minWidth=0,this.minWidthFrom=0,this.minWidthTo=0,this.impreciseAnchor=null,this.impreciseHead=null,this.forceSelection=!1,this.lastUpdate=Date.now(),this.setDOM(t.contentDOM),this.children=[new Xo],this.children[0].setParent(this),this.updateDeco(),this.updateInner([new pa(0,0,0,t.state.doc.length)],0,null)}update(t){var r;let n=t.changedRanges;this.minWidth>0&&n.length&&(n.every(({fromA:c,toA:u})=>uthis.minWidthTo)?(this.minWidthFrom=t.changes.mapPos(this.minWidthFrom,1),this.minWidthTo=t.changes.mapPos(this.minWidthTo,1)):this.minWidth=this.minWidthFrom=this.minWidthTo=0),this.updateEditContextFormatting(t);let o=-1;this.view.inputState.composing>=0&&!this.view.observer.editContext&&(!((r=this.domChanged)===null||r===void 0)&&r.newSel?o=this.domChanged.newSel.head:!k_e(t.changes,this.hasComposition)&&!t.selectionSet&&(o=t.state.selection.main.head));let s=o>-1?v_e(this.view,t.changes,o):null;if(this.domChanged=null,this.hasComposition){this.markedForComposition.clear();let{from:c,to:u}=this.hasComposition;n=new pa(c,u,t.changes.mapPos(c,-1),t.changes.mapPos(u,1)).addToSet(n.slice())}this.hasComposition=s?{from:s.range.fromB,to:s.range.toB}:null,(Ct.ie||Ct.chrome)&&!s&&t&&t.state.doc.lines!=t.startState.doc.lines&&(this.forceSelection=!0);let i=this.decorations,a=this.updateDeco(),l=w_e(i,a,t.changes);return n=pa.extendWithRanges(n,l),!(this.flags&7)&&n.length==0?!1:(this.updateInner(n,t.startState.doc.length,s),t.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(t,r,n){this.view.viewState.mustMeasureContent=!0,this.updateChildren(t,r,n);let{observer:o}=this.view;o.ignore(()=>{this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":"";let i=Ct.chrome||Ct.ios?{node:o.selectionRange.focusNode,written:!1}:void 0;this.sync(this.view,i),this.flags&=-8,i&&(i.written||o.selectionRange.focusNode!=i.node)&&(this.forceSelection=!0),this.dom.style.height=""}),this.markedForComposition.forEach(i=>i.flags&=-9);let s=[];if(this.view.viewport.from||this.view.viewport.to=0?o[i]:null;if(!a)break;let{fromA:l,toA:c,fromB:u,toB:d}=a,p,f,m,v;if(n&&n.range.fromBu){let k=Ym.build(this.view.state.doc,u,n.range.fromB,this.decorations,this.dynamicDecorationMap),x=Ym.build(this.view.state.doc,n.range.toB,d,this.decorations,this.dynamicDecorationMap);f=k.breakAtStart,m=k.openStart,v=x.openEnd;let j=this.compositionView(n);x.breakAtStart?j.breakAfter=1:x.content.length&&j.merge(j.length,j.length,x.content[0],!1,x.openStart,0)&&(j.breakAfter=x.content[0].breakAfter,x.content.shift()),k.content.length&&j.merge(0,0,k.content[k.content.length-1],!0,0,k.openEnd)&&k.content.pop(),p=k.content.concat(j).concat(x.content)}else({content:p,breakAtStart:f,openStart:m,openEnd:v}=Ym.build(this.view.state.doc,u,d,this.decorations,this.dynamicDecorationMap));let{i:g,off:y}=s.findPos(c,1),{i:b,off:w}=s.findPos(l,-1);AB(this,b,w,g,y,p,f,m,v)}n&&this.fixCompositionDOM(n)}updateEditContextFormatting(t){this.editContextFormatting=this.editContextFormatting.map(t.changes);for(let r of t.transactions)for(let n of r.effects)n.is(KB)&&(this.editContextFormatting=n.value)}compositionView(t){let r=new Za(t.text.nodeValue);r.flags|=8;for(let{deco:o}of t.marks)r=new Lc(o,[r],r.length);let n=new Xo;return n.append(r,0),n}fixCompositionDOM(t){let r=(s,i)=>{i.flags|=8|(i.children.some(l=>l.flags&7)?1:0),this.markedForComposition.add(i);let a=ao.get(s);a&&a!=i&&(a.dom=null),i.setDOM(s)},n=this.childPos(t.range.fromB,1),o=this.children[n.i];r(t.line,o);for(let s=t.marks.length-1;s>=-1;s--)n=o.childPos(n.off,1),o=o.children[n.i],r(s>=0?t.marks[s].node:t.text,o)}updateSelection(t=!1,r=!1){(t||!this.view.observer.selectionRange.focusNode)&&this.view.observer.readSelectionRange();let n=this.view.root.activeElement,o=n==this.dom,s=!o&&!(this.view.state.facet(pc)||this.dom.tabIndex>-1)&&nb(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n));if(!(o||r||s))return;let i=this.forceSelection;this.forceSelection=!1;let a=this.view.state.selection.main,l=this.moveToLine(this.domAtPos(a.anchor)),c=a.empty?l:this.moveToLine(this.domAtPos(a.head));if(Ct.gecko&&a.empty&&!this.hasComposition&&g_e(l)){let d=document.createTextNode("");this.view.observer.ignore(()=>l.node.insertBefore(d,l.node.childNodes[l.offset]||null)),l=c=new Bs(d,0),i=!0}let u=this.view.observer.selectionRange;(i||!u.focusNode||(!Xm(l.node,l.offset,u.anchorNode,u.anchorOffset)||!Xm(c.node,c.offset,u.focusNode,u.focusOffset))&&!this.suppressWidgetCursorChange(u,a))&&(this.view.observer.ignore(()=>{Ct.android&&Ct.chrome&&this.dom.contains(u.focusNode)&&x_e(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({preventScroll:!0}));let d=Tg(this.view.root);if(d)if(a.empty){if(Ct.gecko){let p=y_e(l.node,l.offset);if(p&&p!=3){let f=(p==1?_B:SB)(l.node,l.offset);f&&(l=new Bs(f.node,f.offset))}}d.collapse(l.node,l.offset),a.bidiLevel!=null&&d.caretBidiLevel!==void 0&&(d.caretBidiLevel=a.bidiLevel)}else if(d.extend){d.collapse(l.node,l.offset);try{d.extend(c.node,c.offset)}catch{}}else{let p=document.createRange();a.anchor>a.head&&([l,c]=[c,l]),p.setEnd(c.node,c.offset),p.setStart(l.node,l.offset),d.removeAllRanges(),d.addRange(p)}s&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())}),this.view.observer.setSelectionRange(l,c)),this.impreciseAnchor=l.precise?null:new Bs(u.anchorNode,u.anchorOffset),this.impreciseHead=c.precise?null:new Bs(u.focusNode,u.focusOffset)}suppressWidgetCursorChange(t,r){return this.hasComposition&&r.empty&&Xm(t.focusNode,t.focusOffset,t.anchorNode,t.anchorOffset)&&this.posFromDOM(t.focusNode,t.focusOffset)==r.head}enforceCursorAssoc(){if(this.hasComposition)return;let{view:t}=this,r=t.state.selection.main,n=Tg(t.root),{anchorNode:o,anchorOffset:s}=t.observer.selectionRange;if(!n||!r.empty||!r.assoc||!n.modify)return;let i=Xo.find(this,r.head);if(!i)return;let a=i.posAtStart;if(r.head==a||r.head==a+i.length)return;let l=this.coordsAt(r.head,-1),c=this.coordsAt(r.head,1);if(!l||!c||l.bottom>c.top)return;let u=this.domAtPos(r.head+r.assoc);n.collapse(u.node,u.offset),n.modify("move",r.assoc<0?"forward":"backward","lineboundary"),t.observer.readSelectionRange();let d=t.observer.selectionRange;t.docView.posFromDOM(d.anchorNode,d.anchorOffset)!=r.from&&n.collapse(o,s)}moveToLine(t){let r=this.dom,n;if(t.node!=r)return t;for(let o=t.offset;!n&&o=0;o--){let s=ao.get(r.childNodes[o]);s instanceof Xo&&(n=s.domAtPos(s.length))}return n?new Bs(n.node,n.offset,!0):t}nearest(t){for(let r=t;r;){let n=ao.get(r);if(n&&n.rootView==this)return n;r=r.parentNode}return null}posFromDOM(t,r){let n=this.nearest(t);if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document");return n.localPosFromDOM(t,r)+n.posAtStart}domAtPos(t){let{i:r,off:n}=this.childCursor().findPos(t,-1);for(;r=0;i--){let a=this.children[i],l=s-a.breakAfter,c=l-a.length;if(lt||a.covers(1))&&(!n||a instanceof Xo&&!(n instanceof Xo&&r>=0)))n=a,o=c;else if(n&&c==t&&l==t&&a instanceof kc&&Math.abs(r)<2){if(a.deco.startSide<0)break;i&&(n=null)}s=c}return n?n.coordsAt(t-o,r):null}coordsForChar(t){let{i:r,off:n}=this.childPos(t,1),o=this.children[r];if(!(o instanceof Xo))return null;for(;o.children.length;){let{i:a,off:l}=o.childPos(n,1);for(;;a++){if(a==o.children.length)return null;if((o=o.children[a]).length)break}n=l}if(!(o instanceof Za))return null;let s=$s(o.text,n);if(s==n)return null;let i=lp(o.dom,n,s).getClientRects();for(let a=0;aMath.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,a=-1,l=this.view.textDirection==Co.LTR;for(let c=0,u=0;uo)break;if(c>=n){let f=d.dom.getBoundingClientRect();if(r.push(f.height),i){let m=d.dom.lastChild,v=m?Pg(m):[];if(v.length){let g=v[v.length-1],y=l?g.right-f.left:f.right-g.left;y>a&&(a=y,this.minWidth=s,this.minWidthFrom=c,this.minWidthTo=p)}}}c=p+d.breakAfter}return r}textDirectionAt(t){let{i:r}=this.childPos(t,1);return getComputedStyle(this.children[r].dom).direction=="rtl"?Co.RTL:Co.LTR}measureTextSize(){for(let s of this.children)if(s instanceof Xo){let i=s.measureTextSize();if(i)return i}let t=document.createElement("div"),r,n,o;return t.className="cm-line",t.style.width="99999px",t.style.position="absolute",t.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore(()=>{this.dom.appendChild(t);let s=Pg(t.firstChild)[0];r=t.getBoundingClientRect().height,n=s?s.width/27:7,o=s?s.height:r,t.remove()}),{lineHeight:r,charWidth:n,textHeight:o}}childCursor(t=this.length){let r=this.children.length;return r&&(t-=this.children[--r].length),new CB(this.children,t,r)}computeBlockGapDeco(){let t=[],r=this.view.viewState;for(let n=0,o=0;;o++){let s=o==r.viewports.length?null:r.viewports[o],i=s?s.from-1:this.length;if(i>n){let a=(r.lineBlockAt(i).bottom-r.lineBlockAt(n).top)/this.view.scaleY;t.push(kr.replace({widget:new jS(a),block:!0,inclusive:!0,isBlockGap:!0}).range(n,i))}if(!s)break;n=s.to+1}return kr.set(t)}updateDeco(){let t=1,r=this.view.state.facet(Ig).map(s=>(this.dynamicDecorationMap[t++]=typeof s=="function")?s(this.view):s),n=!1,o=this.view.state.facet(ZB).map((s,i)=>{let a=typeof s=="function";return a&&(n=!0),a?s(this.view):s});for(o.length&&(this.dynamicDecorationMap[t++]=n,r.push(pn.join(o))),this.decorations=[this.editContextFormatting,...r,this.computeBlockGapDeco(),this.view.viewState.lineGapDeco];tr.anchor?-1:1),o;if(!n)return;!r.empty&&(o=this.coordsAt(r.anchor,r.anchor>r.head?-1:1))&&(n={left:Math.min(n.left,o.left),top:Math.min(n.top,o.top),right:Math.max(n.right,o.right),bottom:Math.max(n.bottom,o.bottom)});let s=VA(this.view),i={left:n.left-s.left,top:n.top-s.top,right:n.right+s.right,bottom:n.bottom+s.bottom},{offsetWidth:a,offsetHeight:l}=this.view.scrollDOM;Qje(this.view.scrollDOM,i,r.head{nt.from&&(r=!0)}),r}function j_e(e,t,r=1){let n=e.charCategorizer(t),o=e.doc.lineAt(t),s=t-o.from;if(o.length==0)return Je.cursor(t);s==0?r=1:s==o.length&&(r=-1);let i=s,a=s;r<0?i=$s(o.text,s,!1):a=$s(o.text,s);let l=n(o.text.slice(i,a));for(;i>0;){let c=$s(o.text,i,!1);if(n(o.text.slice(c,i))!=l)break;i=c}for(;ae?t.left-e:Math.max(0,e-t.right)}function S_e(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function Qk(e,t){return e.topt.top+1}function vI(e,t){return te.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}function ES(e,t,r){let n,o,s,i,a=!1,l,c,u,d;for(let m=e.firstChild;m;m=m.nextSibling){let v=Pg(m);for(let g=0;gw||i==w&&s>b){n=m,o=y,s=b,i=w;let k=w?r0?g0)}b==0?r>y.bottom&&(!u||u.bottomy.top)&&(c=m,d=y):u&&Qk(u,y)?u=yI(u,y.bottom):d&&Qk(d,y)&&(d=vI(d,y.top))}}if(u&&u.bottom>=r?(n=l,o=u):d&&d.top<=r&&(n=c,o=d),!n)return{node:e,offset:0};let p=Math.max(o.left,Math.min(o.right,t));if(n.nodeType==3)return bI(n,p,r);if(a&&n.contentEditable!="false")return ES(n,p,r);let f=Array.prototype.indexOf.call(e.childNodes,n)+(t>=(o.left+o.right)/2?1:0);return{node:e,offset:f}}function bI(e,t,r){let n=e.nodeValue.length,o=-1,s=1e9,i=0;for(let a=0;ar?u.top-r:r-u.bottom)-1;if(u.left-1<=t&&u.right+1>=t&&d=(u.left+u.right)/2,f=p;if((Ct.chrome||Ct.gecko)&&lp(e,a).getBoundingClientRect().left==u.right&&(f=!p),d<=0)return{node:e,offset:a+(f?1:0)};o=a+(f?1:0),s=d}}}return{node:e,offset:o>-1?o:i>0?e.nodeValue.length:0}}function t9(e,t,r,n=-1){var o,s;let i=e.contentDOM.getBoundingClientRect(),a=i.top+e.viewState.paddingTop,l,{docHeight:c}=e.viewState,{x:u,y:d}=t,p=d-a;if(p<0)return 0;if(p>c)return e.state.doc.length;for(let k=e.viewState.heightOracle.textHeight/2,x=!1;l=e.elementAtHeight(p),l.type!=ii.Text;)for(;p=n>0?l.bottom+k:l.top-k,!(p>=0&&p<=c);){if(x)return r?null:0;x=!0,n=-n}d=a+p;let f=l.from;if(fe.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:r?null:wI(e,i,l,u,d);let m=e.dom.ownerDocument,v=e.root.elementFromPoint?e.root:m,g=v.elementFromPoint(u,d);g&&!e.contentDOM.contains(g)&&(g=null),g||(u=Math.max(i.left+1,Math.min(i.right-1,u)),g=v.elementFromPoint(u,d),g&&!e.contentDOM.contains(g)&&(g=null));let y,b=-1;if(g&&((o=e.docView.nearest(g))===null||o===void 0?void 0:o.isEditable)!=!1){if(m.caretPositionFromPoint){let k=m.caretPositionFromPoint(u,d);k&&({offsetNode:y,offset:b}=k)}else if(m.caretRangeFromPoint){let k=m.caretRangeFromPoint(u,d);k&&({startContainer:y,startOffset:b}=k,(!e.contentDOM.contains(y)||Ct.safari&&C_e(y,b,u)||Ct.chrome&&A_e(y,b,u))&&(y=void 0))}y&&(b=Math.min(Ml(y),b))}if(!y||!e.docView.dom.contains(y)){let k=Xo.find(e.docView,f);if(!k)return p>l.top+l.height/2?l.to:l.from;({node:y,offset:b}=ES(k.dom,u,d))}let w=e.docView.nearest(y);if(!w)return null;if(w.isWidget&&((s=w.dom)===null||s===void 0?void 0:s.nodeType)==1){let k=w.dom.getBoundingClientRect();return t.ye.defaultLineHeight*1.5){let a=e.viewState.heightOracle.textHeight,l=Math.floor((o-r.top-(e.defaultLineHeight-a)*.5)/a);s+=l*e.viewState.heightOracle.lineLength}let i=e.state.sliceDoc(r.from,r.to);return r.from+hS(i,s,e.state.tabSize)}function C_e(e,t,r){let n;if(e.nodeType!=3||t!=(n=e.nodeValue.length))return!1;for(let o=e.nextSibling;o;o=o.nextSibling)if(o.nodeType!=1||o.nodeName!="BR")return!1;return lp(e,n-1,n).getBoundingClientRect().left>r}function A_e(e,t,r){if(t!=0)return!1;for(let o=e;;){let s=o.parentNode;if(!s||s.nodeType!=1||s.firstChild!=o)return!1;if(s.classList.contains("cm-line"))break;o=s}let n=e.nodeType==1?e.getBoundingClientRect():lp(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect();return r-n.left>5}function OS(e,t){let r=e.lineBlockAt(t);if(Array.isArray(r.type)){for(let n of r.type)if(n.to>t||n.to==t&&(n.to==r.to||n.type==ii.Text))return n}return r}function E_e(e,t,r,n){let o=OS(e,t.head),s=!n||o.type!=ii.Text||!(e.lineWrapping||o.widgetLineBreaks)?null:e.coordsAtPos(t.assoc<0&&t.head>o.from?t.head-1:t.head);if(s){let i=e.dom.getBoundingClientRect(),a=e.textDirectionAt(o.from),l=e.posAtCoords({x:r==(a==Co.LTR)?i.right-1:i.left+1,y:(s.top+s.bottom)/2});if(l!=null)return Je.cursor(l,r?-1:1)}return Je.cursor(r?o.to:o.from,r?-1:1)}function xI(e,t,r,n){let o=e.state.doc.lineAt(t.head),s=e.bidiSpans(o),i=e.textDirectionAt(o.from);for(let a=t,l=null;;){let c=f_e(o,s,i,a,r),u=BB;if(!c){if(o.number==(r?e.state.doc.lines:1))return a;u=` +`,o=e.state.doc.line(o.number+(r?1:-1)),s=e.bidiSpans(o),c=e.visualLineSide(o,!r)}if(l){if(!l(u))return a}else{if(!n)return c;l=n(u)}a=c}}function O_e(e,t,r){let n=e.state.charCategorizer(t),o=n(r);return s=>{let i=n(s);return o==To.Space&&(o=i),o==i}}function $_e(e,t,r,n){let o=t.head,s=r?1:-1;if(o==(r?e.state.doc.length:0))return Je.cursor(o,t.assoc);let i=t.goalColumn,a,l=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(o,t.assoc||-1),u=e.documentTop;if(c)i==null&&(i=c.left-l.left),a=s<0?c.top:c.bottom;else{let f=e.viewState.lineBlockAt(o);i==null&&(i=Math.min(l.right-l.left,e.defaultCharacterWidth*(o-f.from))),a=(s<0?f.top:f.bottom)+u}let d=l.left+i,p=n??e.viewState.heightOracle.textHeight>>1;for(let f=0;;f+=10){let m=a+(p+f)*s,v=t9(e,{x:d,y:m},!1,s);if(ml.bottom||(s<0?vo)){let g=e.docView.coordsForChar(v),y=!g||m{if(t>s&&to(e)),r.from,t.head>r.from?-1:1);return n==r.from?r:Je.cursor(n,ns)&&this.lineBreak(),o=i}return this.findPointBefore(n,r),this}readTextNode(t){let r=t.nodeValue;for(let n of this.points)n.node==t&&(n.pos=this.text.length+Math.min(n.offset,r.length));for(let n=0,o=this.lineSeparator?null:/\r\n?|\n/g;;){let s=-1,i=1,a;if(this.lineSeparator?(s=r.indexOf(this.lineSeparator,n),i=this.lineSeparator.length):(a=o.exec(r))&&(s=a.index,i=a[0].length),this.append(r.slice(n,s<0?r.length:s)),s<0)break;if(this.lineBreak(),i>1)for(let l of this.points)l.node==t&&l.pos>this.text.length&&(l.pos-=i-1);n=s+i}}readNode(t){if(t.cmIgnore)return;let r=ao.get(t),n=r&&r.overrideDOMText;if(n!=null){this.findPointInside(t,n.length);for(let o=n.iter();!o.next().done;)o.lineBreak?this.lineBreak():this.append(o.value)}else t.nodeType==3?this.readTextNode(t):t.nodeName=="BR"?t.nextSibling&&this.lineBreak():t.nodeType==1&&this.readRange(t.firstChild,null)}findPointBefore(t,r){for(let n of this.points)n.node==t&&t.childNodes[n.offset]==r&&(n.pos=this.text.length)}findPointInside(t,r){for(let n of this.points)(t.nodeType==3?n.node==t:t.contains(n.node))&&(n.pos=this.text.length+(P_e(t,n.node,n.offset)?r:0))}}function P_e(e,t,r){for(;;){if(!t||r-1;let{impreciseHead:s,impreciseAnchor:i}=t.docView;if(t.state.readOnly&&r>-1)this.newSel=null;else if(r>-1&&(this.bounds=t.docView.domBoundsAround(r,n,0))){let a=s||i?[]:N_e(t),l=new T_e(a,t.state);l.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=l.text,this.newSel=L_e(a,this.bounds.from)}else{let a=t.observer.selectionRange,l=s&&s.node==a.focusNode&&s.offset==a.focusOffset||!vS(t.contentDOM,a.focusNode)?t.state.selection.main.head:t.docView.posFromDOM(a.focusNode,a.focusOffset),c=i&&i.node==a.anchorNode&&i.offset==a.anchorOffset||!vS(t.contentDOM,a.anchorNode)?t.state.selection.main.anchor:t.docView.posFromDOM(a.anchorNode,a.anchorOffset),u=t.viewport;if((Ct.ios||Ct.chrome)&&t.state.selection.main.empty&&l!=c&&(u.from>0||u.toDate.now()-100?e.inputState.lastKeyCode:-1;if(t.bounds){let{from:i,to:a}=t.bounds,l=o.from,c=null;(s===8||Ct.android&&t.text.length=o.from&&r.to<=o.to&&(r.from!=o.from||r.to!=o.to)&&o.to-o.from-(r.to-r.from)<=4?r={from:o.from,to:o.to,insert:e.state.doc.slice(o.from,r.from).append(r.insert).append(e.state.doc.slice(r.to,o.to))}:Ct.chrome&&r&&r.from==r.to&&r.from==o.head&&r.insert.toString()==` + `&&e.lineWrapping&&(n&&(n=Je.single(n.main.anchor-1,n.main.head-1)),r={from:o.from,to:o.to,insert:Ln.of([" "])}),r)return UA(e,r,n,s);if(n&&!n.main.eq(o)){let i=!1,a="select";return e.inputState.lastSelectionTime>Date.now()-50&&(e.inputState.lastSelectionOrigin=="select"&&(i=!0),a=e.inputState.lastSelectionOrigin),e.dispatch({selection:n,scrollIntoView:i,userEvent:a}),!0}else return!1}function UA(e,t,r,n=-1){if(Ct.ios&&e.inputState.flushIOSKey(t))return!0;let o=e.state.selection.main;if(Ct.android&&(t.to==o.to&&(t.from==o.from||t.from==o.from-1&&e.state.sliceDoc(t.from,o.from)==" ")&&t.insert.length==1&&t.insert.lines==2&&qf(e.contentDOM,"Enter",13)||(t.from==o.from-1&&t.to==o.to&&t.insert.length==0||n==8&&t.insert.lengtho.head)&&qf(e.contentDOM,"Backspace",8)||t.from==o.from&&t.to==o.to+1&&t.insert.length==0&&qf(e.contentDOM,"Delete",46)))return!0;let s=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++;let i,a=()=>i||(i=D_e(e,t,r));return e.state.facet(UB).some(l=>l(e,t.from,t.to,s,a))||e.dispatch(a()),!0}function D_e(e,t,r){let n,o=e.state,s=o.selection.main;if(t.from>=s.from&&t.to<=s.to&&t.to-t.from>=(s.to-s.from)/3&&(!r||r.main.empty&&r.main.from==t.from+t.insert.length)&&e.inputState.composing<0){let a=s.fromt.to?o.sliceDoc(t.to,s.to):"";n=o.replaceSelection(e.state.toText(a+t.insert.sliceString(0,void 0,e.state.lineBreak)+l))}else{let a=o.changes(t),l=r&&r.main.to<=a.newLength?r.main:void 0;if(o.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=s.to&&t.to>=s.to-10){let c=e.state.sliceDoc(t.from,t.to),u,d=r&&e9(e,r.main.head);if(d){let m=t.insert.length-(t.to-t.from);u={from:d.from,to:d.to-m}}else u=e.state.doc.lineAt(s.head);let p=s.to-t.to,f=s.to-s.from;n=o.changeByRange(m=>{if(m.from==s.from&&m.to==s.to)return{changes:a,range:l||m.map(a)};let v=m.to-p,g=v-c.length;if(m.to-m.from!=f||e.state.sliceDoc(g,v)!=c||m.to>=u.from&&m.from<=u.to)return{range:m};let y=o.changes({from:g,to:v,insert:t.insert}),b=m.to-s.to;return{changes:y,range:l?Je.range(Math.max(0,l.anchor+b),Math.max(0,l.head+b)):m.map(y)}})}else n={changes:a,selection:l&&o.selection.replaceRange(l)}}let i="input.type";return(e.composing||e.inputState.compositionPendingChange&&e.inputState.compositionEndedAt>Date.now()-50)&&(e.inputState.compositionPendingChange=!1,i+=".compose",e.inputState.compositionFirstChange&&(i+=".start",e.inputState.compositionFirstChange=!1)),o.update(n,{userEvent:i,scrollIntoView:!0})}function M_e(e,t,r,n){let o=Math.min(e.length,t.length),s=0;for(;s0&&a>0&&e.charCodeAt(i-1)==t.charCodeAt(a-1);)i--,a--;if(n=="end"){let l=Math.max(0,s-Math.min(i,a));r-=i+l-s}if(i=i?s-r:0;s-=l,a=s+(a-i),i=s}else if(a=a?s-r:0;s-=l,i=s+(i-a),a=s}return{from:s,toA:i,toB:a}}function N_e(e){let t=[];if(e.root.activeElement!=e.contentDOM)return t;let{anchorNode:r,anchorOffset:n,focusNode:o,focusOffset:s}=e.observer.selectionRange;return r&&(t.push(new kI(r,n)),(o!=r||s!=n)&&t.push(new kI(o,s))),t}function L_e(e,t){if(e.length==0)return null;let r=e[0].pos,n=e.length==2?e[1].pos:r;return r>-1&&n>-1?Je.single(r+t,n+t):null}class R_e{setSelectionOrigin(t){this.lastSelectionOrigin=t,this.lastSelectionTime=Date.now()}constructor(t){this.view=t,this.lastKeyCode=0,this.lastKeyTime=0,this.lastTouchTime=0,this.lastFocusTime=0,this.lastScrollTop=0,this.lastScrollLeft=0,this.pendingIOSKey=void 0,this.tabFocusMode=-1,this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastContextMenu=0,this.scrollHandlers=[],this.handlers=Object.create(null),this.composing=-1,this.compositionFirstChange=null,this.compositionEndedAt=0,this.compositionPendingKey=!1,this.compositionPendingChange=!1,this.mouseSelection=null,this.draggedContent=null,this.handleEvent=this.handleEvent.bind(this),this.notifiedFocused=t.hasFocus,Ct.safari&&t.contentDOM.addEventListener("input",()=>null),Ct.gecko&&eSe(t.contentDOM.ownerDocument)}handleEvent(t){!W_e(this.view,t)||this.ignoreDuringComposition(t)||t.type=="keydown"&&this.keydown(t)||this.runHandlers(t.type,t)}runHandlers(t,r){let n=this.handlers[t];if(n){for(let o of n.observers)o(this.view,r);for(let o of n.handlers){if(r.defaultPrevented)break;if(o(this.view,r)){r.preventDefault();break}}}}ensureHandlers(t){let r=B_e(t),n=this.handlers,o=this.view.contentDOM;for(let s in r)if(s!="scroll"){let i=!r[s].handlers.length,a=n[s];a&&i!=!a.handlers.length&&(o.removeEventListener(s,this.handleEvent),a=null),a||o.addEventListener(s,this.handleEvent,{passive:i})}for(let s in n)s!="scroll"&&!r[s]&&o.removeEventListener(s,this.handleEvent);this.handlers=r}keydown(t){if(this.lastKeyCode=t.keyCode,this.lastKeyTime=Date.now(),t.keyCode==9&&this.tabFocusMode>-1&&(!this.tabFocusMode||Date.now()<=this.tabFocusMode))return!0;if(this.tabFocusMode>0&&t.keyCode!=27&&o9.indexOf(t.keyCode)<0&&(this.tabFocusMode=-1),Ct.android&&Ct.chrome&&!t.synthetic&&(t.keyCode==13||t.keyCode==8))return this.view.observer.delayAndroidKey(t.key,t.keyCode),!0;let r;return Ct.ios&&!t.synthetic&&!t.altKey&&!t.metaKey&&((r=n9.find(n=>n.keyCode==t.keyCode))&&!t.ctrlKey||q_e.indexOf(t.key)>-1&&t.ctrlKey&&!t.shiftKey)?(this.pendingIOSKey=r||t,setTimeout(()=>this.flushIOSKey(),250),!0):(t.keyCode!=229&&this.view.observer.forceFlush(),!1)}flushIOSKey(t){let r=this.pendingIOSKey;return!r||r.key=="Enter"&&t&&t.from0?!0:Ct.safari&&!Ct.ios&&this.compositionPendingKey&&Date.now()-this.compositionEndedAt<100?(this.compositionPendingKey=!1,!0):!1:!1}startMouseSelection(t){this.mouseSelection&&this.mouseSelection.destroy(),this.mouseSelection=t}update(t){this.view.observer.update(t),this.mouseSelection&&this.mouseSelection.update(t),this.draggedContent&&t.docChanged&&(this.draggedContent=this.draggedContent.map(t.changes)),t.transactions.length&&(this.lastKeyCode=this.lastSelectionTime=0)}destroy(){this.mouseSelection&&this.mouseSelection.destroy()}}function jI(e,t){return(r,n)=>{try{return t.call(e,n,r)}catch(o){oi(r.state,o)}}}function B_e(e){let t=Object.create(null);function r(n){return t[n]||(t[n]={observers:[],handlers:[]})}for(let n of e){let o=n.spec;if(o&&o.domEventHandlers)for(let s in o.domEventHandlers){let i=o.domEventHandlers[s];i&&r(s).handlers.push(jI(n.value,i))}if(o&&o.domEventObservers)for(let s in o.domEventObservers){let i=o.domEventObservers[s];i&&r(s).observers.push(jI(n.value,i))}}for(let n in Xa)r(n).handlers.push(Xa[n]);for(let n in ga)r(n).observers.push(ga[n]);return t}const n9=[{key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,inputType:"insertLineBreak"},{key:"Delete",keyCode:46,inputType:"deleteContentForward"}],q_e="dthko",o9=[16,17,18,20,91,92,224,225],a0=6;function l0(e){return Math.max(0,e)*.7+8}function z_e(e,t){return Math.max(Math.abs(e.clientX-t.clientX),Math.abs(e.clientY-t.clientY))}class F_e{constructor(t,r,n,o){this.view=t,this.startEvent=r,this.style=n,this.mustSelect=o,this.scrollSpeed={x:0,y:0},this.scrolling=-1,this.lastEvent=r,this.scrollParents=Zje(t.contentDOM),this.atoms=t.state.facet(FA).map(i=>i(t));let s=t.contentDOM.ownerDocument;s.addEventListener("mousemove",this.move=this.move.bind(this)),s.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=r.shiftKey,this.multiple=t.state.facet(an.allowMultipleSelections)&&V_e(t,r),this.dragging=H_e(t,r)&&a9(r)==1?null:!1}start(t){this.dragging===!1&&this.select(t)}move(t){if(t.buttons==0)return this.destroy();if(this.dragging||this.dragging==null&&z_e(this.startEvent,t)<10)return;this.select(this.lastEvent=t);let r=0,n=0,o=0,s=0,i=this.view.win.innerWidth,a=this.view.win.innerHeight;this.scrollParents.x&&({left:o,right:i}=this.scrollParents.x.getBoundingClientRect()),this.scrollParents.y&&({top:s,bottom:a}=this.scrollParents.y.getBoundingClientRect());let l=VA(this.view);t.clientX-l.left<=o+a0?r=-l0(o-t.clientX):t.clientX+l.right>=i-a0&&(r=l0(t.clientX-i)),t.clientY-l.top<=s+a0?n=-l0(s-t.clientY):t.clientY+l.bottom>=a-a0&&(n=l0(t.clientY-a)),this.setScrollSpeed(r,n)}up(t){this.dragging==null&&this.select(this.lastEvent),this.dragging||t.preventDefault(),this.destroy()}destroy(){this.setScrollSpeed(0,0);let t=this.view.contentDOM.ownerDocument;t.removeEventListener("mousemove",this.move),t.removeEventListener("mouseup",this.up),this.view.inputState.mouseSelection=this.view.inputState.draggedContent=null}setScrollSpeed(t,r){this.scrollSpeed={x:t,y:r},t||r?this.scrolling<0&&(this.scrolling=setInterval(()=>this.scroll(),50)):this.scrolling>-1&&(clearInterval(this.scrolling),this.scrolling=-1)}scroll(){let{x:t,y:r}=this.scrollSpeed;t&&this.scrollParents.x&&(this.scrollParents.x.scrollLeft+=t,t=0),r&&this.scrollParents.y&&(this.scrollParents.y.scrollTop+=r,r=0),(t||r)&&this.view.win.scrollBy(t,r),this.dragging===!1&&this.select(this.lastEvent)}skipAtoms(t){let r=null;for(let n=0;nr.isUserEvent("input.type"))?this.destroy():this.style.update(t)&&setTimeout(()=>this.select(this.lastEvent),20)}}function V_e(e,t){let r=e.state.facet(qB);return r.length?r[0](t):Ct.mac?t.metaKey:t.ctrlKey}function U_e(e,t){let r=e.state.facet(zB);return r.length?r[0](t):Ct.mac?!t.altKey:!t.ctrlKey}function H_e(e,t){let{main:r}=e.state.selection;if(r.empty)return!1;let n=Tg(e.root);if(!n||n.rangeCount==0)return!0;let o=n.getRangeAt(0).getClientRects();for(let s=0;s=t.clientX&&i.top<=t.clientY&&i.bottom>=t.clientY)return!0}return!1}function W_e(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let r=t.target,n;r!=e.contentDOM;r=r.parentNode)if(!r||r.nodeType==11||(n=ao.get(r))&&n.ignoreEvent(t))return!1;return!0}const Xa=Object.create(null),ga=Object.create(null),s9=Ct.ie&&Ct.ie_version<15||Ct.ios&&Ct.webkit_version<604;function G_e(e){let t=e.dom.parentNode;if(!t)return;let r=t.appendChild(document.createElement("textarea"));r.style.cssText="position: fixed; left: -10000px; top: 10px",r.focus(),setTimeout(()=>{e.focus(),r.remove(),i9(e,r.value)},50)}function nx(e,t,r){for(let n of e.facet(t))r=n(r,e);return r}function i9(e,t){t=nx(e.state,BA,t);let{state:r}=e,n,o=1,s=r.toText(t),i=s.lines==r.selection.ranges.length;if($S!=null&&r.selection.ranges.every(a=>a.empty)&&$S==s.toString()){let a=-1;n=r.changeByRange(l=>{let c=r.doc.lineAt(l.from);if(c.from==a)return{range:l};a=c.from;let u=r.toText((i?s.line(o++).text:t)+r.lineBreak);return{changes:{from:c.from,insert:u},range:Je.cursor(l.from+u.length)}})}else i?n=r.changeByRange(a=>{let l=s.line(o++);return{changes:{from:a.from,to:a.to,insert:l.text},range:Je.cursor(a.from+l.length)}}):n=r.replaceSelection(s);e.dispatch(n,{userEvent:"input.paste",scrollIntoView:!0})}ga.scroll=e=>{e.inputState.lastScrollTop=e.scrollDOM.scrollTop,e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft};Xa.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),t.keyCode==27&&e.inputState.tabFocusMode!=0&&(e.inputState.tabFocusMode=Date.now()+2e3),!1);ga.touchstart=(e,t)=>{e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")};ga.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")};Xa.mousedown=(e,t)=>{if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1;let r=null;for(let n of e.state.facet(FB))if(r=n(e,t),r)break;if(!r&&t.button==0&&(r=Q_e(e,t)),r){let n=!e.hasFocus;e.inputState.startMouseSelection(new F_e(e,t,r,n)),n&&e.observer.ignore(()=>{xB(e.contentDOM);let s=e.root.activeElement;s&&!s.contains(e.contentDOM)&&s.blur()});let o=e.inputState.mouseSelection;if(o)return o.start(t),o.dragging===!1}return!1};function _I(e,t,r,n){if(n==1)return Je.cursor(t,r);if(n==2)return j_e(e.state,t,r);{let o=Xo.find(e.docView,t),s=e.state.doc.lineAt(o?o.posAtEnd:t),i=o?o.posAtStart:s.from,a=o?o.posAtEnd:s.to;return at>=r.top&&t<=r.bottom&&e>=r.left&&e<=r.right;function J_e(e,t,r,n){let o=Xo.find(e.docView,t);if(!o)return 1;let s=t-o.posAtStart;if(s==0)return 1;if(s==o.length)return-1;let i=o.coordsAt(s,-1);if(i&&SI(r,n,i))return-1;let a=o.coordsAt(s,1);return a&&SI(r,n,a)?1:i&&i.bottom>=n?-1:1}function CI(e,t){let r=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:r,bias:J_e(e,r,t.clientX,t.clientY)}}const K_e=Ct.ie&&Ct.ie_version<=11;let AI=null,EI=0,OI=0;function a9(e){if(!K_e)return e.detail;let t=AI,r=OI;return AI=e,OI=Date.now(),EI=!t||r>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(EI+1)%3:1}function Q_e(e,t){let r=CI(e,t),n=a9(t),o=e.state.selection;return{update(s){s.docChanged&&(r.pos=s.changes.mapPos(r.pos),o=o.map(s.changes))},get(s,i,a){let l=CI(e,s),c,u=_I(e,l.pos,l.bias,n);if(r.pos!=l.pos&&!i){let d=_I(e,r.pos,r.bias,n),p=Math.min(d.from,u.from),f=Math.max(d.to,u.to);u=p1&&(c=Z_e(o,l.pos))?c:a?o.addRange(u):Je.create([u])}}}function Z_e(e,t){for(let r=0;r=t)return Je.create(e.ranges.slice(0,r).concat(e.ranges.slice(r+1)),e.mainIndex==r?0:e.mainIndex-(e.mainIndex>r?1:0))}return null}Xa.dragstart=(e,t)=>{let{selection:{main:r}}=e.state;if(t.target.draggable){let o=e.docView.nearest(t.target);if(o&&o.isWidget){let s=o.posAtStart,i=s+o.length;(s>=r.to||i<=r.from)&&(r=Je.range(s,i))}}let{inputState:n}=e;return n.mouseSelection&&(n.mouseSelection.dragging=!0),n.draggedContent=r,t.dataTransfer&&(t.dataTransfer.setData("Text",nx(e.state,qA,e.state.sliceDoc(r.from,r.to))),t.dataTransfer.effectAllowed="copyMove"),!1};Xa.dragend=e=>(e.inputState.draggedContent=null,!1);function $I(e,t,r,n){if(r=nx(e.state,BA,r),!r)return;let o=e.posAtCoords({x:t.clientX,y:t.clientY},!1),{draggedContent:s}=e.inputState,i=n&&s&&U_e(e,t)?{from:s.from,to:s.to}:null,a={from:o,insert:r},l=e.state.changes(i?[i,a]:a);e.focus(),e.dispatch({changes:l,selection:{anchor:l.mapPos(o,-1),head:l.mapPos(o,1)},userEvent:i?"move.drop":"input.drop"}),e.inputState.draggedContent=null}Xa.drop=(e,t)=>{if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0;let r=t.dataTransfer.files;if(r&&r.length){let n=Array(r.length),o=0,s=()=>{++o==r.length&&$I(e,t,n.filter(i=>i!=null).join(e.state.lineBreak),!1)};for(let i=0;i{/[\x00-\x08\x0e-\x1f]{2}/.test(a.result)||(n[i]=a.result),s()},a.readAsText(r[i])}return!0}else{let n=t.dataTransfer.getData("Text");if(n)return $I(e,t,n,!0),!0}return!1};Xa.paste=(e,t)=>{if(e.state.readOnly)return!0;e.observer.flush();let r=s9?null:t.clipboardData;return r?(i9(e,r.getData("text/plain")||r.getData("text/uri-list")),!0):(G_e(e),!1)};function X_e(e,t){let r=e.dom.parentNode;if(!r)return;let n=r.appendChild(document.createElement("textarea"));n.style.cssText="position: fixed; left: -10000px; top: 10px",n.value=t,n.focus(),n.selectionEnd=t.length,n.selectionStart=0,setTimeout(()=>{n.remove(),e.focus()},50)}function Y_e(e){let t=[],r=[],n=!1;for(let o of e.selection.ranges)o.empty||(t.push(e.sliceDoc(o.from,o.to)),r.push(o));if(!t.length){let o=-1;for(let{from:s}of e.selection.ranges){let i=e.doc.lineAt(s);i.number>o&&(t.push(i.text),r.push({from:i.from,to:Math.min(e.doc.length,i.to+1)})),o=i.number}n=!0}return{text:nx(e,qA,t.join(e.lineBreak)),ranges:r,linewise:n}}let $S=null;Xa.copy=Xa.cut=(e,t)=>{let{text:r,ranges:n,linewise:o}=Y_e(e.state);if(!r&&!o)return!1;$S=o?r:null,t.type=="cut"&&!e.state.readOnly&&e.dispatch({changes:n,scrollIntoView:!0,userEvent:"delete.cut"});let s=s9?null:t.clipboardData;return s?(s.clearData(),s.setData("text/plain",r),!0):(X_e(e,r),!1)};const l9=cd.define();function c9(e,t){let r=[];for(let n of e.facet(HB)){let o=n(e,t);o&&r.push(o)}return r?e.update({effects:r,annotations:l9.of(!0)}):null}function u9(e){setTimeout(()=>{let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let r=c9(e.state,t);r?e.dispatch(r):e.update([])}},10)}ga.focus=e=>{e.inputState.lastFocusTime=Date.now(),!e.scrollDOM.scrollTop&&(e.inputState.lastScrollTop||e.inputState.lastScrollLeft)&&(e.scrollDOM.scrollTop=e.inputState.lastScrollTop,e.scrollDOM.scrollLeft=e.inputState.lastScrollLeft),u9(e)};ga.blur=e=>{e.observer.clearSelectionRange(),u9(e)};ga.compositionstart=ga.compositionupdate=e=>{e.observer.editContext||(e.inputState.compositionFirstChange==null&&(e.inputState.compositionFirstChange=!0),e.inputState.composing<0&&(e.inputState.composing=0))};ga.compositionend=e=>{e.observer.editContext||(e.inputState.composing=-1,e.inputState.compositionEndedAt=Date.now(),e.inputState.compositionPendingKey=!0,e.inputState.compositionPendingChange=e.observer.pendingRecords().length>0,e.inputState.compositionFirstChange=null,Ct.chrome&&Ct.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then(()=>e.observer.flush()):setTimeout(()=>{e.inputState.composing<0&&e.docView.hasComposition&&e.update([])},50))};ga.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()};Xa.beforeinput=(e,t)=>{var r,n;if(t.inputType=="insertReplacementText"&&e.observer.editContext){let s=(r=t.dataTransfer)===null||r===void 0?void 0:r.getData("text/plain"),i=t.getTargetRanges();if(s&&i.length){let a=i[0],l=e.posAtDOM(a.startContainer,a.startOffset),c=e.posAtDOM(a.endContainer,a.endOffset);return UA(e,{from:l,to:c,insert:e.state.toText(s)},null),!0}}let o;if(Ct.chrome&&Ct.android&&(o=n9.find(s=>s.inputType==t.inputType))&&(e.observer.delayAndroidKey(o.key,o.keyCode),o.key=="Backspace"||o.key=="Delete")){let s=((n=window.visualViewport)===null||n===void 0?void 0:n.height)||0;setTimeout(()=>{var i;(((i=window.visualViewport)===null||i===void 0?void 0:i.height)||0)>s+10&&e.hasFocus&&(e.contentDOM.blur(),e.focus())},100)}return Ct.ios&&t.inputType=="deleteContentForward"&&e.observer.flushSoon(),Ct.safari&&t.inputType=="insertText"&&e.inputState.composing>=0&&setTimeout(()=>ga.compositionend(e,t),20),!1};const TI=new Set;function eSe(e){TI.has(e)||(TI.add(e),e.addEventListener("copy",()=>{}),e.addEventListener("cut",()=>{}))}const PI=["pre-wrap","normal","pre-line","break-spaces"];let dh=!1;function II(){dh=!1}class tSe{constructor(t){this.lineWrapping=t,this.doc=Ln.empty,this.heightSamples={},this.lineHeight=14,this.charWidth=7,this.textHeight=14,this.lineLength=30}heightForGap(t,r){let n=this.doc.lineAt(r).number-this.doc.lineAt(t).number+1;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((r-t-n*this.lineLength*.5)/this.lineLength))),this.lineHeight*n}heightForLine(t){return this.lineWrapping?(1+Math.max(0,Math.ceil((t-this.lineLength)/(this.lineLength-5))))*this.lineHeight:this.lineHeight}setDoc(t){return this.doc=t,this}mustRefreshForWrapping(t){return PI.indexOf(t)>-1!=this.lineWrapping}mustRefreshForHeights(t){let r=!1;for(let n=0;n-1,l=Math.round(r)!=Math.round(this.lineHeight)||this.lineWrapping!=a;if(this.lineWrapping=a,this.lineHeight=r,this.charWidth=n,this.textHeight=o,this.lineLength=s,l){this.heightSamples={};for(let c=0;c0}set outdated(t){this.flags=(t?2:0)|this.flags&-3}setHeight(t){this.height!=t&&(Math.abs(this.height-t)>ib&&(dh=!0),this.height=t)}replace(t,r,n){return ai.of(n)}decomposeLeft(t,r){r.push(this)}decomposeRight(t,r){r.push(this)}applyChanges(t,r,n,o){let s=this,i=n.doc;for(let a=o.length-1;a>=0;a--){let{fromA:l,toA:c,fromB:u,toB:d}=o[a],p=s.lineAt(l,So.ByPosNoHeight,n.setDoc(r),0,0),f=p.to>=c?p:s.lineAt(c,So.ByPosNoHeight,n,0,0);for(d+=f.to-c,c=f.to;a>0&&p.from<=o[a-1].toA;)l=o[a-1].fromA,u=o[a-1].fromB,a--,ls*2){let a=t[r-1];a.break?t.splice(--r,1,a.left,null,a.right):t.splice(--r,1,a.left,a.right),n+=1+a.break,o-=a.size}else if(s>o*2){let a=t[n];a.break?t.splice(n,1,a.left,null,a.right):t.splice(n,1,a.left,a.right),n+=2+a.break,s-=a.size}else break;else if(o=s&&i(this.blockAt(0,n,o,s))}updateHeight(t,r=0,n=!1,o){return o&&o.from<=r&&o.more&&this.setHeight(o.heights[o.index++]),this.outdated=!1,this}toString(){return`block(${this.length})`}}class Di extends d9{constructor(t,r){super(t,r,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}blockAt(t,r,n,o){return new gl(o,this.length,n,this.height,this.breaks)}replace(t,r,n){let o=n[0];return n.length==1&&(o instanceof Di||o instanceof As&&o.flags&4)&&Math.abs(this.length-o.length)<10?(o instanceof As?o=new Di(o.length,this.height):o.height=this.height,this.outdated||(o.outdated=!1),o):ai.of(n)}updateHeight(t,r=0,n=!1,o){return o&&o.from<=r&&o.more?this.setHeight(o.heights[o.index++]):(n||this.outdated)&&this.setHeight(Math.max(this.widgetHeight,t.heightForLine(this.length-this.collapsed))+this.breaks*t.lineHeight),this.outdated=!1,this}toString(){return`line(${this.length}${this.collapsed?-this.collapsed:""}${this.widgetHeight?":"+this.widgetHeight:""})`}}class As extends ai{constructor(t){super(t,0)}heightMetrics(t,r){let n=t.doc.lineAt(r).number,o=t.doc.lineAt(r+this.length).number,s=o-n+1,i,a=0;if(t.lineWrapping){let l=Math.min(this.height,t.lineHeight*s);i=l/s,this.length>s+1&&(a=(this.height-l)/(this.length-s-1))}else i=this.height/s;return{firstLine:n,lastLine:o,perLine:i,perChar:a}}blockAt(t,r,n,o){let{firstLine:s,lastLine:i,perLine:a,perChar:l}=this.heightMetrics(r,o);if(r.lineWrapping){let c=o+(t0){let s=n[n.length-1];s instanceof As?n[n.length-1]=new As(s.length+o):n.push(null,new As(o-1))}if(t>0){let s=n[0];s instanceof As?n[0]=new As(t+s.length):n.unshift(new As(t-1),null)}return ai.of(n)}decomposeLeft(t,r){r.push(new As(t-1),null)}decomposeRight(t,r){r.push(null,new As(this.length-t-1))}updateHeight(t,r=0,n=!1,o){let s=r+this.length;if(o&&o.from<=r+this.length&&o.more){let i=[],a=Math.max(r,o.from),l=-1;for(o.from>r&&i.push(new As(o.from-r-1).updateHeight(t,r));a<=s&&o.more;){let u=t.doc.lineAt(a).length;i.length&&i.push(null);let d=o.heights[o.index++];l==-1?l=d:Math.abs(d-l)>=ib&&(l=-2);let p=new Di(u,d);p.outdated=!1,i.push(p),a+=u+1}a<=s&&i.push(null,new As(s-a).updateHeight(t,a));let c=ai.of(i);return(l<0||Math.abs(c.height-this.height)>=ib||Math.abs(l-this.heightMetrics(t,r).perLine)>=ib)&&(dh=!0),i1(this,c)}else(n||this.outdated)&&(this.setHeight(t.heightForGap(r,r+this.length)),this.outdated=!1);return this}toString(){return`gap(${this.length})`}}class nSe extends ai{constructor(t,r,n){super(t.length+r+n.length,t.height+n.height,r|(t.outdated||n.outdated?2:0)),this.left=t,this.right=n,this.size=t.size+n.size}get break(){return this.flags&1}blockAt(t,r,n,o){let s=n+this.left.height;return ta))return c;let u=r==So.ByPosNoHeight?So.ByPosNoHeight:So.ByPos;return l?c.join(this.right.lineAt(a,u,n,i,a)):this.left.lineAt(a,u,n,o,s).join(c)}forEachLine(t,r,n,o,s,i){let a=o+this.left.height,l=s+this.left.length+this.break;if(this.break)t=l&&this.right.forEachLine(t,r,n,a,l,i);else{let c=this.lineAt(l,So.ByPos,n,o,s);t=t&&c.from<=r&&i(c),r>c.to&&this.right.forEachLine(c.to+1,r,n,a,l,i)}}replace(t,r,n){let o=this.left.length+this.break;if(rthis.left.length)return this.balanced(this.left,this.right.replace(t-o,r-o,n));let s=[];t>0&&this.decomposeLeft(t,s);let i=s.length;for(let a of n)s.push(a);if(t>0&&DI(s,i-1),r=n&&r.push(null)),t>n&&this.right.decomposeLeft(t-n,r)}decomposeRight(t,r){let n=this.left.length,o=n+this.break;if(t>=o)return this.right.decomposeRight(t-o,r);t2*r.size||r.size>2*t.size?ai.of(this.break?[t,null,r]:[t,r]):(this.left=i1(this.left,t),this.right=i1(this.right,r),this.setHeight(t.height+r.height),this.outdated=t.outdated||r.outdated,this.size=t.size+r.size,this.length=t.length+this.break+r.length,this)}updateHeight(t,r=0,n=!1,o){let{left:s,right:i}=this,a=r+s.length+this.break,l=null;return o&&o.from<=r+s.length&&o.more?l=s=s.updateHeight(t,r,n,o):s.updateHeight(t,r,n),o&&o.from<=a+i.length&&o.more?l=i=i.updateHeight(t,a,n,o):i.updateHeight(t,a,n),l?this.balanced(s,i):(this.height=this.left.height+this.right.height,this.outdated=!1,this)}toString(){return this.left+(this.break?" ":"-")+this.right}}function DI(e,t){let r,n;e[t]==null&&(r=e[t-1])instanceof As&&(n=e[t+1])instanceof As&&e.splice(t-1,3,new As(r.length+1+n.length))}const oSe=5;class HA{constructor(t,r){this.pos=t,this.oracle=r,this.nodes=[],this.lineStart=-1,this.lineEnd=-1,this.covering=null,this.writtenTo=t}get isCovered(){return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(t,r){if(this.lineStart>-1){let n=Math.min(r,this.lineEnd),o=this.nodes[this.nodes.length-1];o instanceof Di?o.length+=n-this.pos:(n>this.pos||!this.isCovered)&&this.nodes.push(new Di(n-this.pos,-1)),this.writtenTo=n,r>n&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)}this.pos=r}point(t,r,n){if(t=oSe)&&this.addLineDeco(o,s,i)}else r>t&&this.span(t,r);this.lineEnd>-1&&this.lineEnd-1)return;let{from:t,to:r}=this.oracle.doc.lineAt(this.pos);this.lineStart=t,this.lineEnd=r,this.writtenTot&&this.nodes.push(new Di(this.pos-t,-1)),this.writtenTo=this.pos}blankContent(t,r){let n=new As(r-t);return this.oracle.doc.lineAt(t).to==r&&(n.flags|=4),n}ensureLine(){this.enterLine();let t=this.nodes.length?this.nodes[this.nodes.length-1]:null;if(t instanceof Di)return t;let r=new Di(0,-1);return this.nodes.push(r),r}addBlock(t){this.enterLine();let r=t.deco;r&&r.startSide>0&&!this.isCovered&&this.ensureLine(),this.nodes.push(t),this.writtenTo=this.pos=this.pos+t.length,r&&r.endSide>0&&(this.covering=t)}addLineDeco(t,r,n){let o=this.ensureLine();o.length+=n,o.collapsed+=n,o.widgetHeight=Math.max(o.widgetHeight,t),o.breaks+=r,this.writtenTo=this.pos=this.pos+n}finish(t){let r=this.nodes.length==0?null:this.nodes[this.nodes.length-1];this.lineStart>-1&&!(r instanceof Di)&&!this.isCovered?this.nodes.push(new Di(0,-1)):(this.writtenTou.clientHeight||u.scrollWidth>u.clientWidth)&&d.overflow!="visible"){let p=u.getBoundingClientRect();s=Math.max(s,p.left),i=Math.min(i,p.right),a=Math.max(a,p.top),l=Math.min(c==e.parentNode?o.innerHeight:l,p.bottom)}c=d.position=="absolute"||d.position=="fixed"?u.offsetParent:u.parentNode}else if(c.nodeType==11)c=c.host;else break;return{left:s-r.left,right:Math.max(s,i)-r.left,top:a-(r.top+t),bottom:Math.max(a,l)-(r.top+t)}}function lSe(e){let t=e.getBoundingClientRect(),r=e.ownerDocument.defaultView||window;return t.left0&&t.top0}function cSe(e,t){let r=e.getBoundingClientRect();return{left:0,right:r.right-r.left,top:t,bottom:r.bottom-(r.top+t)}}class Xk{constructor(t,r,n,o){this.from=t,this.to=r,this.size=n,this.displaySize=o}static same(t,r){if(t.length!=r.length)return!1;for(let n=0;ntypeof n!="function"&&n.class=="cm-lineWrapping");this.heightOracle=new tSe(r),this.stateDeco=t.facet(Ig).filter(n=>typeof n!="function"),this.heightMap=ai.empty().applyChanges(this.stateDeco,Ln.empty,this.heightOracle.setDoc(t.doc),[new pa(0,0,0,t.doc.length)]);for(let n=0;n<2&&(this.viewport=this.getViewport(0,null),!!this.updateForViewport());n++);this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),this.lineGapDeco=kr.set(this.lineGaps.map(n=>n.draw(this,!1))),this.computeVisibleRanges()}updateForViewport(){let t=[this.viewport],{main:r}=this.state.selection;for(let n=0;n<=1;n++){let o=n?r.head:r.anchor;if(!t.some(({from:s,to:i})=>o>=s&&o<=i)){let{from:s,to:i}=this.lineBlockAt(o);t.push(new c0(s,i))}}return this.viewports=t.sort((n,o)=>n.from-o.from),this.updateScaler()}updateScaler(){let t=this.scaler;return this.scaler=this.heightMap.height<=7e6?NI:new WA(this.heightOracle,this.heightMap,this.viewports),t.eq(this.scaler)?0:2}updateViewportLines(){this.viewportLines=[],this.heightMap.forEachLine(this.viewport.from,this.viewport.to,this.heightOracle.setDoc(this.state.doc),0,0,t=>{this.viewportLines.push(Im(t,this.scaler))})}update(t,r=null){this.state=t.state;let n=this.stateDeco;this.stateDeco=this.state.facet(Ig).filter(u=>typeof u!="function");let o=t.changedRanges,s=pa.extendWithRanges(o,sSe(n,this.stateDeco,t?t.changes:Yo.empty(this.state.doc.length))),i=this.heightMap.height,a=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop);II(),this.heightMap=this.heightMap.applyChanges(this.stateDeco,t.startState.doc,this.heightOracle.setDoc(this.state.doc),s),(this.heightMap.height!=i||dh)&&(t.flags|=2),a?(this.scrollAnchorPos=t.changes.mapPos(a.from,-1),this.scrollAnchorHeight=a.top):(this.scrollAnchorPos=-1,this.scrollAnchorHeight=this.heightMap.height);let l=s.length?this.mapViewport(this.viewport,t.changes):this.viewport;(r&&(r.range.headl.to)||!this.viewportIsAppropriate(l))&&(l=this.getViewport(0,r));let c=l.from!=this.viewport.from||l.to!=this.viewport.to;this.viewport=l,t.flags|=this.updateForViewport(),(c||!t.changes.empty||t.flags&2)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(this.mapLineGaps(this.lineGaps,t.changes))),t.flags|=this.computeVisibleRanges(t.changes),r&&(this.scrollTarget=r),!this.mustEnforceCursorAssoc&&t.selectionSet&&t.view.lineWrapping&&t.state.selection.main.empty&&t.state.selection.main.assoc&&!t.state.facet(GB)&&(this.mustEnforceCursorAssoc=!0)}measure(t){let r=t.contentDOM,n=window.getComputedStyle(r),o=this.heightOracle,s=n.whiteSpace;this.defaultTextDirection=n.direction=="rtl"?Co.RTL:Co.LTR;let i=this.heightOracle.mustRefreshForWrapping(s),a=r.getBoundingClientRect(),l=i||this.mustMeasureContent||this.contentDOMHeight!=a.height;this.contentDOMHeight=a.height,this.mustMeasureContent=!1;let c=0,u=0;if(a.width&&a.height){let{scaleX:k,scaleY:x}=wB(r,a);(k>.005&&Math.abs(this.scaleX-k)>.005||x>.005&&Math.abs(this.scaleY-x)>.005)&&(this.scaleX=k,this.scaleY=x,c|=16,i=l=!0)}let d=(parseInt(n.paddingTop)||0)*this.scaleY,p=(parseInt(n.paddingBottom)||0)*this.scaleY;(this.paddingTop!=d||this.paddingBottom!=p)&&(this.paddingTop=d,this.paddingBottom=p,c|=18),this.editorWidth!=t.scrollDOM.clientWidth&&(o.lineWrapping&&(l=!0),this.editorWidth=t.scrollDOM.clientWidth,c|=16);let f=t.scrollDOM.scrollTop*this.scaleY;this.scrollTop!=f&&(this.scrollAnchorHeight=-1,this.scrollTop=f),this.scrolledToBottom=jB(t.scrollDOM);let m=(this.printing?cSe:aSe)(r,this.paddingTop),v=m.top-this.pixelViewport.top,g=m.bottom-this.pixelViewport.bottom;this.pixelViewport=m;let y=this.pixelViewport.bottom>this.pixelViewport.top&&this.pixelViewport.right>this.pixelViewport.left;if(y!=this.inView&&(this.inView=y,y&&(l=!0)),!this.inView&&!this.scrollTarget&&!lSe(t.dom))return 0;let b=a.width;if((this.contentDOMWidth!=b||this.editorHeight!=t.scrollDOM.clientHeight)&&(this.contentDOMWidth=a.width,this.editorHeight=t.scrollDOM.clientHeight,c|=16),l){let k=t.docView.measureVisibleLineHeights(this.viewport);if(o.mustRefreshForHeights(k)&&(i=!0),i||o.lineWrapping&&Math.abs(b-this.contentDOMWidth)>o.charWidth){let{lineHeight:x,charWidth:j,textHeight:_}=t.docView.measureTextSize();i=x>0&&o.refresh(s,x,j,_,b/j,k),i&&(t.docView.minWidth=0,c|=16)}v>0&&g>0?u=Math.max(v,g):v<0&&g<0&&(u=Math.min(v,g)),II();for(let x of this.viewports){let j=x.from==this.viewport.from?k:t.docView.measureVisibleLineHeights(x);this.heightMap=(i?ai.empty().applyChanges(this.stateDeco,Ln.empty,this.heightOracle,[new pa(0,0,0,t.state.doc.length)]):this.heightMap).updateHeight(o,0,i,new rSe(x.from,j))}dh&&(c|=2)}let w=!this.viewportIsAppropriate(this.viewport,u)||this.scrollTarget&&(this.scrollTarget.range.headthis.viewport.to);return w&&(c&2&&(c|=this.updateScaler()),this.viewport=this.getViewport(u,this.scrollTarget),c|=this.updateForViewport()),(c&2||w)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(i?[]:this.lineGaps,t)),c|=this.computeVisibleRanges(),this.mustEnforceCursorAssoc&&(this.mustEnforceCursorAssoc=!1,t.docView.enforceCursorAssoc()),c}get visibleTop(){return this.scaler.fromDOM(this.pixelViewport.top)}get visibleBottom(){return this.scaler.fromDOM(this.pixelViewport.bottom)}getViewport(t,r){let n=.5-Math.max(-.5,Math.min(.5,t/1e3/2)),o=this.heightMap,s=this.heightOracle,{visibleTop:i,visibleBottom:a}=this,l=new c0(o.lineAt(i-n*1e3,So.ByHeight,s,0,0).from,o.lineAt(a+(1-n)*1e3,So.ByHeight,s,0,0).to);if(r){let{head:c}=r.range;if(cl.to){let u=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),d=o.lineAt(c,So.ByPos,s,0,0),p;r.y=="center"?p=(d.top+d.bottom)/2-u/2:r.y=="start"||r.y=="nearest"&&c=a+Math.max(10,Math.min(n,250)))&&o>i-2*1e3&&s>1,i=o<<1;if(this.defaultTextDirection!=Co.LTR&&!n)return[];let a=[],l=(u,d,p,f)=>{if(d-uu&&yy.from>=p.from&&y.to<=p.to&&Math.abs(y.from-u)y.fromb));if(!g){if(dw.from<=d&&w.to>=d)){let w=r.moveToLineBoundary(Je.cursor(d),!1,!0).head;w>u&&(d=w)}let y=this.gapSize(p,u,d,f),b=n||y<2e6?y:2e6;g=new Xk(u,d,y,b)}a.push(g)},c=u=>{if(u.length2e6)for(let j of t)j.from>=u.from&&j.fromu.from&&l(u.from,f,u,d),mr.draw(this,this.heightOracle.lineWrapping))))}computeVisibleRanges(t){let r=this.stateDeco;this.lineGaps.length&&(r=r.concat(this.lineGapDeco));let n=[];pn.spans(r,this.viewport.from,this.viewport.to,{span(s,i){n.push({from:s,to:i})},point(){}},20);let o=0;if(n.length!=this.visibleRanges.length)o=12;else for(let s=0;s=this.viewport.from&&t<=this.viewport.to&&this.viewportLines.find(r=>r.from<=t&&r.to>=t)||Im(this.heightMap.lineAt(t,So.ByPos,this.heightOracle,0,0),this.scaler)}lineBlockAtHeight(t){return t>=this.viewportLines[0].top&&t<=this.viewportLines[this.viewportLines.length-1].bottom&&this.viewportLines.find(r=>r.top<=t&&r.bottom>=t)||Im(this.heightMap.lineAt(this.scaler.fromDOM(t),So.ByHeight,this.heightOracle,0,0),this.scaler)}scrollAnchorAt(t){let r=this.lineBlockAtHeight(t+8);return r.from>=this.viewport.from||this.viewportLines[0].top-t>200?r:this.viewportLines[0]}elementAtHeight(t){return Im(this.heightMap.blockAt(this.scaler.fromDOM(t),this.heightOracle,0,0),this.scaler)}get docHeight(){return this.scaler.toDOM(this.heightMap.height)}get contentHeight(){return this.docHeight+this.paddingTop+this.paddingBottom}}class c0{constructor(t,r){this.from=t,this.to=r}}function dSe(e,t,r){let n=[],o=e,s=0;return pn.spans(r,e,t,{span(){},point(i,a){i>o&&(n.push({from:o,to:i}),s+=i-o),o=a}},20),o=1)return t[t.length-1].to;let n=Math.floor(e*r);for(let o=0;;o++){let{from:s,to:i}=t[o],a=i-s;if(n<=a)return s+n;n-=a}}function d0(e,t){let r=0;for(let{from:n,to:o}of e.ranges){if(t<=o){r+=t-n;break}r+=o-n}return r/e.total}function pSe(e,t){for(let r of e)if(t(r))return r}const NI={toDOM(e){return e},fromDOM(e){return e},scale:1,eq(e){return e==this}};class WA{constructor(t,r,n){let o=0,s=0,i=0;this.viewports=n.map(({from:a,to:l})=>{let c=r.lineAt(a,So.ByPos,t,0,0).top,u=r.lineAt(l,So.ByPos,t,0,0).bottom;return o+=u-c,{from:a,to:l,top:c,bottom:u,domTop:0,domBottom:0}}),this.scale=(7e6-o)/(r.height-o);for(let a of this.viewports)a.domTop=i+(a.top-s)*this.scale,i=a.domBottom=a.domTop+(a.bottom-a.top),s=a.bottom}toDOM(t){for(let r=0,n=0,o=0;;r++){let s=rr.from==t.viewports[n].from&&r.to==t.viewports[n].to):!1}}function Im(e,t){if(t.scale==1)return e;let r=t.toDOM(e.top),n=t.toDOM(e.bottom);return new gl(e.from,e.length,r,n-r,Array.isArray(e._content)?e._content.map(o=>Im(o,t)):e._content)}const p0=At.define({combine:e=>e.join(" ")}),TS=At.define({combine:e=>e.indexOf(!0)>-1}),PS=Ju.newName(),p9=Ju.newName(),f9=Ju.newName(),h9={"&light":"."+p9,"&dark":"."+f9};function IS(e,t,r){return new Ju(t,{finish(n){return/&/.test(n)?n.replace(/&\w*/,o=>{if(o=="&")return e;if(!r||!r[o])throw new RangeError(`Unsupported selector: ${o}`);return r[o]}):e+" "+n}})}const fSe=IS("."+PS,{"&":{position:"relative !important",boxSizing:"border-box","&.cm-focused":{outline:"1px dotted #212121"},display:"flex !important",flexDirection:"column"},".cm-scroller":{display:"flex !important",alignItems:"flex-start !important",fontFamily:"monospace",lineHeight:1.4,height:"100%",overflowX:"auto",position:"relative",zIndex:0,overflowAnchor:"none"},".cm-content":{margin:0,flexGrow:2,flexShrink:0,display:"block",whiteSpace:"pre",wordWrap:"normal",boxSizing:"border-box",minHeight:"100%",padding:"4px 0",outline:"none","&[contenteditable=true]":{WebkitUserModify:"read-write-plaintext-only"}},".cm-lineWrapping":{whiteSpace_fallback:"pre-wrap",whiteSpace:"break-spaces",wordBreak:"break-word",overflowWrap:"anywhere",flexShrink:1},"&light .cm-content":{caretColor:"black"},"&dark .cm-content":{caretColor:"white"},".cm-line":{display:"block",padding:"0 2px 0 6px"},".cm-layer":{position:"absolute",left:0,top:0,contain:"size style","& > *":{position:"absolute"}},"&light .cm-selectionBackground":{background:"#d9d9d9"},"&dark .cm-selectionBackground":{background:"#222"},"&light.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#d7d4f0"},"&dark.cm-focused > .cm-scroller > .cm-selectionLayer .cm-selectionBackground":{background:"#233"},".cm-cursorLayer":{pointerEvents:"none"},"&.cm-focused > .cm-scroller > .cm-cursorLayer":{animation:"steps(1) cm-blink 1.2s infinite"},"@keyframes cm-blink":{"0%":{},"50%":{opacity:0},"100%":{}},"@keyframes cm-blink2":{"0%":{},"50%":{opacity:0},"100%":{}},".cm-cursor, .cm-dropCursor":{borderLeft:"1.2px solid black",marginLeft:"-0.6px",pointerEvents:"none"},".cm-cursor":{display:"none"},"&dark .cm-cursor":{borderLeftColor:"#ddd"},".cm-dropCursor":{position:"absolute"},"&.cm-focused > .cm-scroller > .cm-cursorLayer .cm-cursor":{display:"block"},".cm-iso":{unicodeBidi:"isolate"},".cm-announced":{position:"fixed",top:"-10000px"},"@media print":{".cm-announced":{display:"none"}},"&light .cm-activeLine":{backgroundColor:"#cceeff44"},"&dark .cm-activeLine":{backgroundColor:"#99eeff33"},"&light .cm-specialChar":{color:"red"},"&dark .cm-specialChar":{color:"#f78"},".cm-gutters":{flexShrink:0,display:"flex",height:"100%",boxSizing:"border-box",insetInlineStart:0,zIndex:200},"&light .cm-gutters":{backgroundColor:"#f5f5f5",color:"#6c6c6c",borderRight:"1px solid #ddd"},"&dark .cm-gutters":{backgroundColor:"#333338",color:"#ccc"},".cm-gutter":{display:"flex !important",flexDirection:"column",flexShrink:0,boxSizing:"border-box",minHeight:"100%",overflow:"hidden"},".cm-gutterElement":{boxSizing:"border-box"},".cm-lineNumbers .cm-gutterElement":{padding:"0 3px 0 5px",minWidth:"20px",textAlign:"right",whiteSpace:"nowrap"},"&light .cm-activeLineGutter":{backgroundColor:"#e2f2ff"},"&dark .cm-activeLineGutter":{backgroundColor:"#222227"},".cm-panels":{boxSizing:"border-box",position:"sticky",left:0,right:0,zIndex:300},"&light .cm-panels":{backgroundColor:"#f5f5f5",color:"black"},"&light .cm-panels-top":{borderBottom:"1px solid #ddd"},"&light .cm-panels-bottom":{borderTop:"1px solid #ddd"},"&dark .cm-panels":{backgroundColor:"#333338",color:"white"},".cm-tab":{display:"inline-block",overflow:"hidden",verticalAlign:"bottom"},".cm-widgetBuffer":{verticalAlign:"text-top",height:"1em",width:0,display:"inline"},".cm-placeholder":{color:"#888",display:"inline-block",verticalAlign:"top"},".cm-highlightSpace":{backgroundImage:"radial-gradient(circle at 50% 55%, #aaa 20%, transparent 5%)",backgroundPosition:"center"},".cm-highlightTab":{backgroundImage:`url('data:image/svg+xml,')`,backgroundSize:"auto 100%",backgroundPosition:"right 90%",backgroundRepeat:"no-repeat"},".cm-trailingSpace":{backgroundColor:"#ff332255"},".cm-button":{verticalAlign:"middle",color:"inherit",fontSize:"70%",padding:".2em 1em",borderRadius:"1px"},"&light .cm-button":{backgroundImage:"linear-gradient(#eff1f5, #d9d9df)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#b4b4b4, #d0d3d6)"}},"&dark .cm-button":{backgroundImage:"linear-gradient(#393939, #111)",border:"1px solid #888","&:active":{backgroundImage:"linear-gradient(#111, #333)"}},".cm-textfield":{verticalAlign:"middle",color:"inherit",fontSize:"70%",border:"1px solid silver",padding:".2em .5em"},"&light .cm-textfield":{backgroundColor:"white"},"&dark .cm-textfield":{border:"1px solid #555",backgroundColor:"inherit"}},h9),hSe={childList:!0,characterData:!0,subtree:!0,attributes:!0,characterDataOldValue:!0},Yk=Ct.ie&&Ct.ie_version<=11;class mSe{constructor(t){this.view=t,this.active=!1,this.editContext=null,this.selectionRange=new Xje,this.selectionChanged=!1,this.delayedFlush=-1,this.resizeTimeout=-1,this.queue=[],this.delayedAndroidKey=null,this.flushingAndroidKey=-1,this.lastChange=0,this.scrollTargets=[],this.intersection=null,this.resizeScroll=null,this.intersecting=!1,this.gapIntersection=null,this.gaps=[],this.printQuery=null,this.parentCheck=-1,this.dom=t.contentDOM,this.observer=new MutationObserver(r=>{for(let n of r)this.queue.push(n);(Ct.ie&&Ct.ie_version<=11||Ct.ios&&t.composing)&&r.some(n=>n.type=="childList"&&n.removedNodes.length||n.type=="characterData"&&n.oldValue.length>n.target.nodeValue.length)?this.flushSoon():this.flush()}),window.EditContext&&t.constructor.EDIT_CONTEXT!==!1&&!(Ct.chrome&&Ct.chrome_version<126)&&(this.editContext=new vSe(t),t.state.facet(pc)&&(t.contentDOM.editContext=this.editContext.editContext)),Yk&&(this.onCharData=r=>{this.queue.push({target:r.target,type:"characterData",oldValue:r.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this),this.onResize=this.onResize.bind(this),this.onPrint=this.onPrint.bind(this),this.onScroll=this.onScroll.bind(this),window.matchMedia&&(this.printQuery=window.matchMedia("print")),typeof ResizeObserver=="function"&&(this.resizeScroll=new ResizeObserver(()=>{var r;((r=this.view.docView)===null||r===void 0?void 0:r.lastUpdate){this.parentCheck<0&&(this.parentCheck=setTimeout(this.listenForScroll.bind(this),1e3)),r.length>0&&r[r.length-1].intersectionRatio>0!=this.intersecting&&(this.intersecting=!this.intersecting,this.intersecting!=this.view.inView&&this.onScrollChanged(document.createEvent("Event")))},{threshold:[0,.001]}),this.intersection.observe(this.dom),this.gapIntersection=new IntersectionObserver(r=>{r.length>0&&r[r.length-1].intersectionRatio>0&&this.onScrollChanged(document.createEvent("Event"))},{})),this.listenForScroll(),this.readSelectionRange()}onScrollChanged(t){this.view.inputState.runHandlers("scroll",t),this.intersecting&&this.view.measure()}onScroll(t){this.intersecting&&this.flush(!1),this.editContext&&this.view.requestMeasure(this.editContext.measureReq),this.onScrollChanged(t)}onResize(){this.resizeTimeout<0&&(this.resizeTimeout=setTimeout(()=>{this.resizeTimeout=-1,this.view.requestMeasure()},50))}onPrint(t){(t.type=="change"||!t.type)&&!t.matches||(this.view.viewState.printing=!0,this.view.measure(),setTimeout(()=>{this.view.viewState.printing=!1,this.view.requestMeasure()},500))}updateGaps(t){if(this.gapIntersection&&(t.length!=this.gaps.length||this.gaps.some((r,n)=>r!=t[n]))){this.gapIntersection.disconnect();for(let r of t)this.gapIntersection.observe(r);this.gaps=t}}onSelectionChange(t){let r=this.selectionChanged;if(!this.readSelectionRange()||this.delayedAndroidKey)return;let{view:n}=this,o=this.selectionRange;if(n.state.facet(pc)?n.root.activeElement!=this.dom:!nb(this.dom,o))return;let s=o.anchorNode&&n.docView.nearest(o.anchorNode);if(s&&s.ignoreEvent(t)){r||(this.selectionChanged=!1);return}(Ct.ie&&Ct.ie_version<=11||Ct.android&&Ct.chrome)&&!n.state.selection.main.empty&&o.focusNode&&Xm(o.focusNode,o.focusOffset,o.anchorNode,o.anchorOffset)?this.flushSoon():this.flush(!1)}readSelectionRange(){let{view:t}=this,r=Tg(t.root);if(!r)return!1;let n=Ct.safari&&t.root.nodeType==11&&t.root.activeElement==this.dom&&gSe(this.view,r)||r;if(!n||this.selectionRange.eq(n))return!1;let o=nb(this.dom,n);return o&&!this.selectionChanged&&t.inputState.lastFocusTime>Date.now()-200&&t.inputState.lastTouchTime{let s=this.delayedAndroidKey;s&&(this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=s.keyCode,this.view.inputState.lastKeyTime=Date.now(),!this.flush()&&s.force&&qf(this.dom,s.key,s.keyCode))};this.flushingAndroidKey=this.view.win.requestAnimationFrame(o)}(!this.delayedAndroidKey||t=="Enter")&&(this.delayedAndroidKey={key:t,keyCode:r,force:this.lastChange{this.delayedFlush=-1,this.flush()}))}forceFlush(){this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),this.delayedFlush=-1),this.flush()}pendingRecords(){for(let t of this.observer.takeRecords())this.queue.push(t);return this.queue}processRecords(){let t=this.pendingRecords();t.length&&(this.queue=[]);let r=-1,n=-1,o=!1;for(let s of t){let i=this.readMutation(s);i&&(i.typeOver&&(o=!0),r==-1?{from:r,to:n}=i:(r=Math.min(i.from,r),n=Math.max(i.to,n)))}return{from:r,to:n,typeOver:o}}readChange(){let{from:t,to:r,typeOver:n}=this.processRecords(),o=this.selectionChanged&&nb(this.dom,this.selectionRange);if(t<0&&!o)return null;t>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,this.selectionChanged=!1;let s=new I_e(this.view,t,r,n);return this.view.docView.domChanged={newSel:s.newSel?s.newSel.main:null},s}flush(t=!0){if(this.delayedFlush>=0||this.delayedAndroidKey)return!1;t&&this.readSelectionRange();let r=this.readChange();if(!r)return this.view.requestMeasure(),!1;let n=this.view.state,o=r9(this.view,r);return this.view.state==n&&(r.domChanged||r.newSel&&!r.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),o}readMutation(t){let r=this.view.docView.nearest(t.target);if(!r||r.ignoreMutation(t))return null;if(r.markDirty(t.type=="attributes"),t.type=="attributes"&&(r.flags|=4),t.type=="childList"){let n=LI(r,t.previousSibling||t.target.previousSibling,-1),o=LI(r,t.nextSibling||t.target.nextSibling,1);return{from:n?r.posAfter(n):r.posAtStart,to:o?r.posBefore(o):r.posAtEnd,typeOver:!1}}else return t.type=="characterData"?{from:r.posAtStart,to:r.posAtEnd,typeOver:t.target.nodeValue==t.oldValue}:null}setWindow(t){t!=this.win&&(this.removeWindowListeners(this.win),this.win=t,this.addWindowListeners(this.win))}addWindowListeners(t){t.addEventListener("resize",this.onResize),this.printQuery?this.printQuery.addEventListener?this.printQuery.addEventListener("change",this.onPrint):this.printQuery.addListener(this.onPrint):t.addEventListener("beforeprint",this.onPrint),t.addEventListener("scroll",this.onScroll),t.document.addEventListener("selectionchange",this.onSelectionChange)}removeWindowListeners(t){t.removeEventListener("scroll",this.onScroll),t.removeEventListener("resize",this.onResize),this.printQuery?this.printQuery.removeEventListener?this.printQuery.removeEventListener("change",this.onPrint):this.printQuery.removeListener(this.onPrint):t.removeEventListener("beforeprint",this.onPrint),t.document.removeEventListener("selectionchange",this.onSelectionChange)}update(t){this.editContext&&(this.editContext.update(t),t.startState.facet(pc)!=t.state.facet(pc)&&(t.view.contentDOM.editContext=t.state.facet(pc)?this.editContext.editContext:null))}destroy(){var t,r,n;this.stop(),(t=this.intersection)===null||t===void 0||t.disconnect(),(r=this.gapIntersection)===null||r===void 0||r.disconnect(),(n=this.resizeScroll)===null||n===void 0||n.disconnect();for(let o of this.scrollTargets)o.removeEventListener("scroll",this.onScroll);this.removeWindowListeners(this.win),clearTimeout(this.parentCheck),clearTimeout(this.resizeTimeout),this.win.cancelAnimationFrame(this.delayedFlush),this.win.cancelAnimationFrame(this.flushingAndroidKey),this.editContext&&(this.view.contentDOM.editContext=null,this.editContext.destroy())}}function LI(e,t,r){for(;t;){let n=ao.get(t);if(n&&n.parent==e)return n;let o=t.parentNode;t=o!=e.dom?o:r>0?t.nextSibling:t.previousSibling}return null}function RI(e,t){let r=t.startContainer,n=t.startOffset,o=t.endContainer,s=t.endOffset,i=e.docView.domAtPos(e.state.selection.main.anchor);return Xm(i.node,i.offset,o,s)&&([r,n,o,s]=[o,s,r,n]),{anchorNode:r,anchorOffset:n,focusNode:o,focusOffset:s}}function gSe(e,t){if(t.getComposedRanges){let o=t.getComposedRanges(e.root)[0];if(o)return RI(e,o)}let r=null;function n(o){o.preventDefault(),o.stopImmediatePropagation(),r=o.getTargetRanges()[0]}return e.contentDOM.addEventListener("beforeinput",n,!0),e.dom.ownerDocument.execCommand("indent"),e.contentDOM.removeEventListener("beforeinput",n,!0),r?RI(e,r):null}class vSe{constructor(t){this.from=0,this.to=0,this.pendingContextChange=null,this.handlers=Object.create(null),this.composing=null,this.resetRange(t.state);let r=this.editContext=new window.EditContext({text:t.state.doc.sliceString(this.from,this.to),selectionStart:this.toContextPos(Math.max(this.from,Math.min(this.to,t.state.selection.main.anchor))),selectionEnd:this.toContextPos(t.state.selection.main.head)});this.handlers.textupdate=n=>{let o=t.state.selection.main,{anchor:s,head:i}=o,a=this.toEditorPos(n.updateRangeStart),l=this.toEditorPos(n.updateRangeEnd);t.inputState.composing>=0&&!this.composing&&(this.composing={contextBase:n.updateRangeStart,editorBase:a,drifted:!1});let c={from:a,to:l,insert:Ln.of(n.text.split(` +`))};if(c.from==this.from&&sthis.to&&(c.to=s),c.from==c.to&&!c.insert.length){let u=Je.single(this.toEditorPos(n.selectionStart),this.toEditorPos(n.selectionEnd));u.main.eq(o)||t.dispatch({selection:u,userEvent:"select"});return}if((Ct.mac||Ct.android)&&c.from==i-1&&/^\. ?$/.test(n.text)&&t.contentDOM.getAttribute("autocorrect")=="off"&&(c={from:a,to:l,insert:Ln.of([n.text.replace("."," ")])}),this.pendingContextChange=c,!t.state.readOnly){let u=this.to-this.from+(c.to-c.from+c.insert.length);UA(t,c,Je.single(this.toEditorPos(n.selectionStart,u),this.toEditorPos(n.selectionEnd,u)))}this.pendingContextChange&&(this.revertPending(t.state),this.setSelection(t.state))},this.handlers.characterboundsupdate=n=>{let o=[],s=null;for(let i=this.toEditorPos(n.rangeStart),a=this.toEditorPos(n.rangeEnd);i{let o=[];for(let s of n.getTextFormats()){let i=s.underlineStyle,a=s.underlineThickness;if(i!="None"&&a!="None"){let l=this.toEditorPos(s.rangeStart),c=this.toEditorPos(s.rangeEnd);if(l{t.inputState.composing<0&&(t.inputState.composing=0,t.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{if(t.inputState.composing=-1,t.inputState.compositionFirstChange=null,this.composing){let{drifted:n}=this.composing;this.composing=null,n&&this.reset(t.state)}};for(let n in this.handlers)r.addEventListener(n,this.handlers[n]);this.measureReq={read:n=>{this.editContext.updateControlBounds(n.contentDOM.getBoundingClientRect());let o=Tg(n.root);o&&o.rangeCount&&this.editContext.updateSelectionBounds(o.getRangeAt(0).getBoundingClientRect())}}}applyEdits(t){let r=0,n=!1,o=this.pendingContextChange;return t.changes.iterChanges((s,i,a,l,c)=>{if(n)return;let u=c.length-(i-s);if(o&&i>=o.to)if(o.from==s&&o.to==i&&o.insert.eq(c)){o=this.pendingContextChange=null,r+=u,this.to+=u;return}else o=null,this.revertPending(t.state);if(s+=r,i+=r,i<=this.from)this.from+=u,this.to+=u;else if(sthis.to||this.to-this.from+c.length>3e4){n=!0;return}this.editContext.updateText(this.toContextPos(s),this.toContextPos(i),c.toString()),this.to+=u}r+=u}),o&&!n&&this.revertPending(t.state),!n}update(t){let r=this.pendingContextChange;this.composing&&(this.composing.drifted||t.transactions.some(n=>!n.isUserEvent("input.type")&&n.changes.touchesRange(this.from,this.to)))?(this.composing.drifted=!0,this.composing.editorBase=t.changes.mapPos(this.composing.editorBase)):!this.applyEdits(t)||!this.rangeIsValid(t.state)?(this.pendingContextChange=null,this.reset(t.state)):(t.docChanged||t.selectionSet||r)&&this.setSelection(t.state),(t.geometryChanged||t.docChanged||t.selectionSet)&&t.view.requestMeasure(this.measureReq)}resetRange(t){let{head:r}=t.selection.main;this.from=Math.max(0,r-1e4),this.to=Math.min(t.doc.length,r+1e4)}reset(t){this.resetRange(t),this.editContext.updateText(0,this.editContext.text.length,t.doc.sliceString(this.from,this.to)),this.setSelection(t)}revertPending(t){let r=this.pendingContextChange;this.pendingContextChange=null,this.editContext.updateText(this.toContextPos(r.from),this.toContextPos(r.from+r.insert.length),t.doc.sliceString(r.from,r.to))}setSelection(t){let{main:r}=t.selection,n=this.toContextPos(Math.max(this.from,Math.min(this.to,r.anchor))),o=this.toContextPos(r.head);(this.editContext.selectionStart!=n||this.editContext.selectionEnd!=o)&&this.editContext.updateSelection(n,o)}rangeIsValid(t){let{head:r}=t.selection.main;return!(this.from>0&&r-this.from<500||this.to1e4*3)}toEditorPos(t,r=this.to-this.from){t=Math.min(t,r);let n=this.composing;return n&&n.drifted?n.editorBase+(t-n.contextBase):t+this.from}toContextPos(t){let r=this.composing;return r&&r.drifted?r.contextBase+(t-r.editorBase):t-this.from}destroy(){for(let t in this.handlers)this.editContext.removeEventListener(t,this.handlers[t])}}class jt{get state(){return this.viewState.state}get viewport(){return this.viewState.viewport}get visibleRanges(){return this.viewState.visibleRanges}get inView(){return this.viewState.inView}get composing(){return this.inputState.composing>0}get compositionStarted(){return this.inputState.composing>=0}get root(){return this._root}get win(){return this.dom.ownerDocument.defaultView||window}constructor(t={}){var r;this.plugins=[],this.pluginMap=new Map,this.editorAttrs={},this.contentAttrs={},this.bidiCache=[],this.destroyed=!1,this.updateState=2,this.measureScheduled=-1,this.measureRequests=[],this.contentDOM=document.createElement("div"),this.scrollDOM=document.createElement("div"),this.scrollDOM.tabIndex=-1,this.scrollDOM.className="cm-scroller",this.scrollDOM.appendChild(this.contentDOM),this.announceDOM=document.createElement("div"),this.announceDOM.className="cm-announced",this.announceDOM.setAttribute("aria-live","polite"),this.dom=document.createElement("div"),this.dom.appendChild(this.announceDOM),this.dom.appendChild(this.scrollDOM),t.parent&&t.parent.appendChild(this.dom);let{dispatch:n}=t;this.dispatchTransactions=t.dispatchTransactions||n&&(o=>o.forEach(s=>n(s,this)))||(o=>this.update(o)),this.dispatch=this.dispatch.bind(this),this._root=t.root||Yje(t.parent)||document,this.viewState=new MI(t.state||an.create(t)),t.scrollTo&&t.scrollTo.is(i0)&&(this.viewState.scrollTarget=t.scrollTo.value.clip(this.viewState.state)),this.plugins=this.state.facet($m).map(o=>new Kk(o));for(let o of this.plugins)o.update(this);this.observer=new mSe(this),this.inputState=new R_e(this),this.inputState.ensureHandlers(this.plugins),this.docView=new gI(this),this.mountStyles(),this.updateAttrs(),this.updateState=0,this.requestMeasure(),!((r=document.fonts)===null||r===void 0)&&r.ready&&document.fonts.ready.then(()=>this.requestMeasure())}dispatch(...t){let r=t.length==1&&t[0]instanceof Fs?t:t.length==1&&Array.isArray(t[0])?t[0]:[this.state.update(...t)];this.dispatchTransactions(r,this)}update(t){if(this.updateState!=0)throw new Error("Calls to EditorView.update are not allowed while an update is in progress");let r=!1,n=!1,o,s=this.state;for(let p of t){if(p.startState!=s)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.");s=p.state}if(this.destroyed){this.viewState.state=s;return}let i=this.hasFocus,a=0,l=null;t.some(p=>p.annotation(l9))?(this.inputState.notifiedFocused=i,a=1):i!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=i,l=c9(s,i),l||(a=1));let c=this.observer.delayedAndroidKey,u=null;if(c?(this.observer.clearDelayedAndroidKey(),u=this.observer.readChange(),(u&&!this.state.doc.eq(s.doc)||!this.state.selection.eq(s.selection))&&(u=null)):this.observer.clear(),s.facet(an.phrases)!=this.state.facet(an.phrases))return this.setState(s);o=s1.create(this,s,t),o.flags|=a;let d=this.viewState.scrollTarget;try{this.updateState=2;for(let p of t){if(d&&(d=d.map(p.changes)),p.scrollIntoView){let{main:f}=p.state.selection;d=new zf(f.empty?f:Je.cursor(f.head,f.head>f.anchor?-1:1))}for(let f of p.effects)f.is(i0)&&(d=f.value.clip(this.state))}this.viewState.update(o,d),this.bidiCache=a1.update(this.bidiCache,o.changes),o.empty||(this.updatePlugins(o),this.inputState.update(o)),r=this.docView.update(o),this.state.facet(Tm)!=this.styleModules&&this.mountStyles(),n=this.updateAttrs(),this.showAnnouncements(t),this.docView.updateSelection(r,t.some(p=>p.isUserEvent("select.pointer")))}finally{this.updateState=0}if(o.startState.facet(p0)!=o.state.facet(p0)&&(this.viewState.mustMeasureContent=!0),(r||n||d||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),r&&this.docViewUpdate(),!o.empty)for(let p of this.state.facet(AS))try{p(o)}catch(f){oi(this.state,f,"update listener")}(l||u)&&Promise.resolve().then(()=>{l&&this.state==l.startState&&this.dispatch(l),u&&!r9(this,u)&&c.force&&qf(this.contentDOM,c.key,c.keyCode)})}setState(t){if(this.updateState!=0)throw new Error("Calls to EditorView.setState are not allowed while an update is in progress");if(this.destroyed){this.viewState.state=t;return}this.updateState=2;let r=this.hasFocus;try{for(let n of this.plugins)n.destroy(this);this.viewState=new MI(t),this.plugins=t.facet($m).map(n=>new Kk(n)),this.pluginMap.clear();for(let n of this.plugins)n.update(this);this.docView.destroy(),this.docView=new gI(this),this.inputState.ensureHandlers(this.plugins),this.mountStyles(),this.updateAttrs(),this.bidiCache=[]}finally{this.updateState=0}r&&this.focus(),this.requestMeasure()}updatePlugins(t){let r=t.startState.facet($m),n=t.state.facet($m);if(r!=n){let o=[];for(let s of n){let i=r.indexOf(s);if(i<0)o.push(new Kk(s));else{let a=this.plugins[i];a.mustUpdate=t,o.push(a)}}for(let s of this.plugins)s.mustUpdate!=t&&s.destroy(this);this.plugins=o,this.pluginMap.clear()}else for(let o of this.plugins)o.mustUpdate=t;for(let o=0;o-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.observer.delayedAndroidKey){this.measureScheduled=-1,this.requestMeasure();return}this.measureScheduled=0,t&&this.observer.forceFlush();let r=null,n=this.scrollDOM,o=n.scrollTop*this.scaleY,{scrollAnchorPos:s,scrollAnchorHeight:i}=this.viewState;Math.abs(o-this.viewState.scrollTop)>1&&(i=-1),this.viewState.scrollAnchorHeight=-1;try{for(let a=0;;a++){if(i<0)if(jB(n))s=-1,i=this.viewState.heightMap.height;else{let f=this.viewState.scrollAnchorAt(o);s=f.from,i=f.top}this.updateState=1;let l=this.viewState.measure(this);if(!l&&!this.measureRequests.length&&this.viewState.scrollTarget==null)break;if(a>5){console.warn(this.measureRequests.length?"Measure loop restarted more than 5 times":"Viewport failed to stabilize");break}let c=[];l&4||([this.measureRequests,c]=[c,this.measureRequests]);let u=c.map(f=>{try{return f.read(this)}catch(m){return oi(this.state,m),BI}}),d=s1.create(this,this.state,[]),p=!1;d.flags|=l,r?r.flags|=l:r=d,this.updateState=2,d.empty||(this.updatePlugins(d),this.inputState.update(d),this.updateAttrs(),p=this.docView.update(d),p&&this.docViewUpdate());for(let f=0;f1||f<-1){o=o+f,n.scrollTop=o/this.scaleY,i=-1;continue}}break}}}finally{this.updateState=0,this.measureScheduled=-1}if(r&&!r.empty)for(let a of this.state.facet(AS))a(r)}get themeClasses(){return PS+" "+(this.state.facet(TS)?f9:p9)+" "+this.state.facet(p0)}updateAttrs(){let t=qI(this,QB,{class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),r={spellcheck:"false",autocorrect:"off",autocapitalize:"off",writingsuggestions:"false",translate:"no",contenteditable:this.state.facet(pc)?"true":"false",class:"cm-content",style:`${Ct.tabSize}: ${this.state.tabSize}`,role:"textbox","aria-multiline":"true"};this.state.readOnly&&(r["aria-readonly"]="true"),qI(this,zA,r);let n=this.observer.ignore(()=>{let o=kS(this.contentDOM,this.contentAttrs,r),s=kS(this.dom,this.editorAttrs,t);return o||s});return this.editorAttrs=t,this.contentAttrs=r,n}showAnnouncements(t){let r=!0;for(let n of t)for(let o of n.effects)if(o.is(jt.announce)){r&&(this.announceDOM.textContent=""),r=!1;let s=this.announceDOM.appendChild(document.createElement("div"));s.textContent=o.value}}mountStyles(){this.styleModules=this.state.facet(Tm);let t=this.state.facet(jt.cspNonce);Ju.mount(this.root,this.styleModules.concat(fSe).reverse(),t?{nonce:t}:void 0)}readMeasured(){if(this.updateState==2)throw new Error("Reading the editor layout isn't allowed during an update");this.updateState==0&&this.measureScheduled>-1&&this.measure(!1)}requestMeasure(t){if(this.measureScheduled<0&&(this.measureScheduled=this.win.requestAnimationFrame(()=>this.measure())),t){if(this.measureRequests.indexOf(t)>-1)return;if(t.key!=null){for(let r=0;rn.spec==t)||null),r&&r.update(this).value}get documentTop(){return this.contentDOM.getBoundingClientRect().top+this.viewState.paddingTop}get documentPadding(){return{top:this.viewState.paddingTop,bottom:this.viewState.paddingBottom}}get scaleX(){return this.viewState.scaleX}get scaleY(){return this.viewState.scaleY}elementAtHeight(t){return this.readMeasured(),this.viewState.elementAtHeight(t)}lineBlockAtHeight(t){return this.readMeasured(),this.viewState.lineBlockAtHeight(t)}get viewportLineBlocks(){return this.viewState.viewportLines}lineBlockAt(t){return this.viewState.lineBlockAt(t)}get contentHeight(){return this.viewState.contentHeight}moveByChar(t,r,n){return Zk(this,t,xI(this,t,r,n))}moveByGroup(t,r){return Zk(this,t,xI(this,t,r,n=>O_e(this,t.head,n)))}visualLineSide(t,r){let n=this.bidiSpans(t),o=this.textDirectionAt(t.from),s=n[r?n.length-1:0];return Je.cursor(s.side(r,o)+t.from,s.forward(!r,o)?1:-1)}moveToLineBoundary(t,r,n=!0){return E_e(this,t,r,n)}moveVertically(t,r,n){return Zk(this,t,$_e(this,t,r,n))}domAtPos(t){return this.docView.domAtPos(t)}posAtDOM(t,r=0){return this.docView.posFromDOM(t,r)}posAtCoords(t,r=!0){return this.readMeasured(),t9(this,t,r)}coordsAtPos(t,r=1){this.readMeasured();let n=this.docView.coordsAt(t,r);if(!n||n.left==n.right)return n;let o=this.state.doc.lineAt(t),s=this.bidiSpans(o),i=s[ku.find(s,t-o.from,-1,r)];return tx(n,i.dir==Co.LTR==r>0)}coordsForChar(t){return this.readMeasured(),this.docView.coordsForChar(t)}get defaultCharacterWidth(){return this.viewState.heightOracle.charWidth}get defaultLineHeight(){return this.viewState.heightOracle.lineHeight}get textDirection(){return this.viewState.defaultTextDirection}textDirectionAt(t){return!this.state.facet(WB)||tthis.viewport.to?this.textDirection:(this.readMeasured(),this.docView.textDirectionAt(t))}get lineWrapping(){return this.viewState.heightOracle.lineWrapping}bidiSpans(t){if(t.length>ySe)return RB(t.length);let r=this.textDirectionAt(t.from),n;for(let s of this.bidiCache)if(s.from==t.from&&s.dir==r&&(s.fresh||LB(s.isolates,n=mI(this,t))))return s.order;n||(n=mI(this,t));let o=p_e(t.text,r,n);return this.bidiCache.push(new a1(t.from,t.to,r,n,!0,o)),o}get hasFocus(){var t;return(this.dom.ownerDocument.hasFocus()||Ct.safari&&((t=this.inputState)===null||t===void 0?void 0:t.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM}focus(){this.observer.ignore(()=>{xB(this.contentDOM),this.docView.updateSelection()})}setRoot(t){this._root!=t&&(this._root=t,this.observer.setWindow((t.nodeType==9?t:t.ownerDocument).defaultView||window),this.mountStyles())}destroy(){this.root.activeElement==this.contentDOM&&this.contentDOM.blur();for(let t of this.plugins)t.destroy(this);this.plugins=[],this.inputState.destroy(),this.docView.destroy(),this.dom.remove(),this.observer.destroy(),this.measureScheduled>-1&&this.win.cancelAnimationFrame(this.measureScheduled),this.destroyed=!0}static scrollIntoView(t,r={}){return i0.of(new zf(typeof t=="number"?Je.cursor(t):t,r.y,r.x,r.yMargin,r.xMargin))}scrollSnapshot(){let{scrollTop:t,scrollLeft:r}=this.scrollDOM,n=this.viewState.scrollAnchorAt(t);return i0.of(new zf(Je.cursor(n.from),"start","start",n.top-t,r,!0))}setTabFocusMode(t){t==null?this.inputState.tabFocusMode=this.inputState.tabFocusMode<0?0:-1:typeof t=="boolean"?this.inputState.tabFocusMode=t?0:-1:this.inputState.tabFocusMode!=0&&(this.inputState.tabFocusMode=Date.now()+t)}static domEventHandlers(t){return Lo.define(()=>({}),{eventHandlers:t})}static domEventObservers(t){return Lo.define(()=>({}),{eventObservers:t})}static theme(t,r){let n=Ju.newName(),o=[p0.of(n),Tm.of(IS(`.${n}`,t))];return r&&r.dark&&o.push(TS.of(!0)),o}static baseTheme(t){return Dp.lowest(Tm.of(IS("."+PS,t,h9)))}static findFromDOM(t){var r;let n=t.querySelector(".cm-content"),o=n&&ao.get(n)||ao.get(t);return((r=o==null?void 0:o.rootView)===null||r===void 0?void 0:r.view)||null}}jt.styleModule=Tm;jt.inputHandler=UB;jt.clipboardInputFilter=BA;jt.clipboardOutputFilter=qA;jt.scrollHandler=JB;jt.focusChangeEffect=HB;jt.perLineTextDirection=WB;jt.exceptionSink=VB;jt.updateListener=AS;jt.editable=pc;jt.mouseSelectionStyle=FB;jt.dragMovesSelection=zB;jt.clickAddsSelectionRange=qB;jt.decorations=Ig;jt.outerDecorations=ZB;jt.atomicRanges=FA;jt.bidiIsolatedRanges=XB;jt.scrollMargins=YB;jt.darkTheme=TS;jt.cspNonce=At.define({combine:e=>e.length?e[0]:""});jt.contentAttributes=zA;jt.editorAttributes=QB;jt.lineWrapping=jt.contentAttributes.of({class:"cm-lineWrapping"});jt.announce=Gr.define();const ySe=4096,BI={};class a1{constructor(t,r,n,o,s,i){this.from=t,this.to=r,this.dir=n,this.isolates=o,this.fresh=s,this.order=i}static update(t,r){if(r.empty&&!t.some(s=>s.fresh))return t;let n=[],o=t.length?t[t.length-1].dir:Co.LTR;for(let s=Math.max(0,t.length-10);s=0;o--){let s=n[o],i=typeof s=="function"?s(e):s;i&&xS(i,r)}return r}const bSe=Ct.mac?"mac":Ct.windows?"win":Ct.linux?"linux":"key";function wSe(e,t){const r=e.split(/-(?!$)/);let n=r[r.length-1];n=="Space"&&(n=" ");let o,s,i,a;for(let l=0;ln.concat(o),[]))),r}function kSe(e,t,r){return g9(m9(e.state),t,e,r)}let mu=null;const jSe=4e3;function _Se(e,t=bSe){let r=Object.create(null),n=Object.create(null),o=(i,a)=>{let l=n[i];if(l==null)n[i]=a;else if(l!=a)throw new Error("Key binding "+i+" is used both as a regular binding and as a multi-stroke prefix")},s=(i,a,l,c,u)=>{var d,p;let f=r[i]||(r[i]=Object.create(null)),m=a.split(/ (?!$)/).map(y=>wSe(y,t));for(let y=1;y{let k=mu={view:w,prefix:b,scope:i};return setTimeout(()=>{mu==k&&(mu=null)},jSe),!0}]})}let v=m.join(" ");o(v,!1);let g=f[v]||(f[v]={preventDefault:!1,stopPropagation:!1,run:((p=(d=f._any)===null||d===void 0?void 0:d.run)===null||p===void 0?void 0:p.slice())||[]});l&&g.run.push(l),c&&(g.preventDefault=!0),u&&(g.stopPropagation=!0)};for(let i of e){let a=i.scope?i.scope.split(" "):["editor"];if(i.any)for(let c of a){let u=r[c]||(r[c]=Object.create(null));u._any||(u._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:d}=i;for(let p in u)u[p].run.push(f=>d(f,DS))}let l=i[t]||i.key;if(l)for(let c of a)s(c,l,i.run,i.preventDefault,i.stopPropagation),i.shift&&s(c,"Shift-"+l,i.shift,i.preventDefault,i.stopPropagation)}return r}let DS=null;function g9(e,t,r,n){DS=t;let o=Jje(t),s=hi(o,0),i=ml(s)==o.length&&o!=" ",a="",l=!1,c=!1,u=!1;mu&&mu.view==r&&mu.scope==n&&(a=mu.prefix+" ",o9.indexOf(t.keyCode)<0&&(c=!0,mu=null));let d=new Set,p=g=>{if(g){for(let y of g.run)if(!d.has(y)&&(d.add(y),y(r)))return g.stopPropagation&&(u=!0),!0;g.preventDefault&&(g.stopPropagation&&(u=!0),c=!0)}return!1},f=e[n],m,v;return f&&(p(f[a+f0(o,t,!i)])?l=!0:i&&(t.altKey||t.metaKey||t.ctrlKey)&&!(Ct.windows&&t.ctrlKey&&t.altKey)&&(m=Ku[t.keyCode])&&m!=o?(p(f[a+f0(m,t,!0)])||t.shiftKey&&(v=$g[t.keyCode])!=o&&v!=m&&p(f[a+f0(v,t,!1)]))&&(l=!0):i&&t.shiftKey&&p(f[a+f0(o,t,!0)])&&(l=!0),!l&&p(f._any)&&(l=!0)),c&&(l=!0),l&&u&&t.stopPropagation(),DS=null,l}class Ov{constructor(t,r,n,o,s){this.className=t,this.left=r,this.top=n,this.width=o,this.height=s}draw(){let t=document.createElement("div");return t.className=this.className,this.adjust(t),t}update(t,r){return r.className!=this.className?!1:(this.adjust(t),!0)}adjust(t){t.style.left=this.left+"px",t.style.top=this.top+"px",this.width!=null&&(t.style.width=this.width+"px"),t.style.height=this.height+"px"}eq(t){return this.left==t.left&&this.top==t.top&&this.width==t.width&&this.height==t.height&&this.className==t.className}static forRange(t,r,n){if(n.empty){let o=t.coordsAtPos(n.head,n.assoc||1);if(!o)return[];let s=v9(t);return[new Ov(r,o.left-s.left,o.top-s.top,null,o.bottom-o.top)]}else return SSe(t,r,n)}}function v9(e){let t=e.scrollDOM.getBoundingClientRect();return{left:(e.textDirection==Co.LTR?t.left:t.right-e.scrollDOM.clientWidth*e.scaleX)-e.scrollDOM.scrollLeft*e.scaleX,top:t.top-e.scrollDOM.scrollTop*e.scaleY}}function FI(e,t,r,n){let o=e.coordsAtPos(t,r*2);if(!o)return n;let s=e.dom.getBoundingClientRect(),i=(o.top+o.bottom)/2,a=e.posAtCoords({x:s.left+1,y:i}),l=e.posAtCoords({x:s.right-1,y:i});return a==null||l==null?n:{from:Math.max(n.from,Math.min(a,l)),to:Math.min(n.to,Math.max(a,l))}}function SSe(e,t,r){if(r.to<=e.viewport.from||r.from>=e.viewport.to)return[];let n=Math.max(r.from,e.viewport.from),o=Math.min(r.to,e.viewport.to),s=e.textDirection==Co.LTR,i=e.contentDOM,a=i.getBoundingClientRect(),l=v9(e),c=i.querySelector(".cm-line"),u=c&&window.getComputedStyle(c),d=a.left+(u?parseInt(u.paddingLeft)+Math.min(0,parseInt(u.textIndent)):0),p=a.right-(u?parseInt(u.paddingRight):0),f=OS(e,n),m=OS(e,o),v=f.type==ii.Text?f:null,g=m.type==ii.Text?m:null;if(v&&(e.lineWrapping||f.widgetLineBreaks)&&(v=FI(e,n,1,v)),g&&(e.lineWrapping||m.widgetLineBreaks)&&(g=FI(e,o,-1,g)),v&&g&&v.from==g.from&&v.to==g.to)return b(w(r.from,r.to,v));{let x=v?w(r.from,null,v):k(f,!1),j=g?w(null,r.to,g):k(m,!0),_=[];return(v||f).to<(g||m).from-(v&&g?1:0)||f.widgetLineBreaks>1&&x.bottom+e.defaultLineHeight/2L&&z.from=X)break;H>N&&M(Math.max(oe,N),x==null&&oe<=L,Math.min(H,X),j==null&&H>=F,J.dir)}if(N=V.to+1,N>=X)break}return I.length==0&&M(L,x==null,F,j==null,e.textDirection),{top:C,bottom:A,horizontal:I}}function k(x,j){let _=a.top+(j?x.top:x.bottom);return{top:_,bottom:_,horizontal:[]}}}function CSe(e,t){return e.constructor==t.constructor&&e.eq(t)}class ASe{constructor(t,r){this.view=t,this.layer=r,this.drawn=[],this.scaleX=1,this.scaleY=1,this.measureReq={read:this.measure.bind(this),write:this.draw.bind(this)},this.dom=t.scrollDOM.appendChild(document.createElement("div")),this.dom.classList.add("cm-layer"),r.above&&this.dom.classList.add("cm-layer-above"),r.class&&this.dom.classList.add(r.class),this.scale(),this.dom.setAttribute("aria-hidden","true"),this.setOrder(t.state),t.requestMeasure(this.measureReq),r.mount&&r.mount(this.dom,t)}update(t){t.startState.facet(ab)!=t.state.facet(ab)&&this.setOrder(t.state),(this.layer.update(t,this.dom)||t.geometryChanged)&&(this.scale(),t.view.requestMeasure(this.measureReq))}docViewUpdate(t){this.layer.updateOnDocViewUpdate!==!1&&t.requestMeasure(this.measureReq)}setOrder(t){let r=0,n=t.facet(ab);for(;r!CSe(r,this.drawn[n]))){let r=this.dom.firstChild,n=0;for(let o of t)o.update&&r&&o.constructor&&this.drawn[n].constructor&&o.update(r,this.drawn[n])?(r=r.nextSibling,n++):this.dom.insertBefore(o.draw(),r);for(;r;){let o=r.nextSibling;r.remove(),r=o}this.drawn=t}}destroy(){this.layer.destroy&&this.layer.destroy(this.dom,this.view),this.dom.remove()}}const ab=At.define();function y9(e){return[Lo.define(t=>new ASe(t,e)),ab.of(e)]}const b9=!(Ct.ios&&Ct.webkit&&Ct.webkit_version<534),Dg=At.define({combine(e){return ol(e,{cursorBlinkRate:1200,drawRangeCursor:!0},{cursorBlinkRate:(t,r)=>Math.min(t,r),drawRangeCursor:(t,r)=>t||r})}});function ESe(e={}){return[Dg.of(e),OSe,$Se,TSe,GB.of(!0)]}function w9(e){return e.startState.facet(Dg)!=e.state.facet(Dg)}const OSe=y9({above:!0,markers(e){let{state:t}=e,r=t.facet(Dg),n=[];for(let o of t.selection.ranges){let s=o==t.selection.main;if(o.empty?!s||b9:r.drawRangeCursor){let i=s?"cm-cursor cm-cursor-primary":"cm-cursor cm-cursor-secondary",a=o.empty?o:Je.cursor(o.head,o.head>o.anchor?-1:1);for(let l of Ov.forRange(e,i,a))n.push(l)}}return n},update(e,t){e.transactions.some(n=>n.selection)&&(t.style.animationName=t.style.animationName=="cm-blink"?"cm-blink2":"cm-blink");let r=w9(e);return r&&VI(e.state,t),e.docChanged||e.selectionSet||r},mount(e,t){VI(t.state,e)},class:"cm-cursorLayer"});function VI(e,t){t.style.animationDuration=e.facet(Dg).cursorBlinkRate+"ms"}const $Se=y9({above:!1,markers(e){return e.state.selection.ranges.map(t=>t.empty?[]:Ov.forRange(e,"cm-selectionBackground",t)).reduce((t,r)=>t.concat(r))},update(e,t){return e.docChanged||e.selectionSet||e.viewportChanged||w9(e)},class:"cm-selectionLayer"}),MS={".cm-line":{"& ::selection, &::selection":{backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{caretColor:"initial !important","&::selection, & ::selection":{backgroundColor:"Highlight !important"}}}};b9&&(MS[".cm-line"].caretColor=MS[".cm-content"].caretColor="transparent !important");const TSe=Dp.highest(jt.theme(MS)),x9=Gr.define({map(e,t){return e==null?null:t.mapPos(e)}}),Dm=js.define({create(){return null},update(e,t){return e!=null&&(e=t.changes.mapPos(e)),t.effects.reduce((r,n)=>n.is(x9)?n.value:r,e)}}),PSe=Lo.fromClass(class{constructor(e){this.view=e,this.cursor=null,this.measureReq={read:this.readPos.bind(this),write:this.drawCursor.bind(this)}}update(e){var t;let r=e.state.field(Dm);r==null?this.cursor!=null&&((t=this.cursor)===null||t===void 0||t.remove(),this.cursor=null):(this.cursor||(this.cursor=this.view.scrollDOM.appendChild(document.createElement("div")),this.cursor.className="cm-dropCursor"),(e.startState.field(Dm)!=r||e.docChanged||e.geometryChanged)&&this.view.requestMeasure(this.measureReq))}readPos(){let{view:e}=this,t=e.state.field(Dm),r=t!=null&&e.coordsAtPos(t);if(!r)return null;let n=e.scrollDOM.getBoundingClientRect();return{left:r.left-n.left+e.scrollDOM.scrollLeft*e.scaleX,top:r.top-n.top+e.scrollDOM.scrollTop*e.scaleY,height:r.bottom-r.top}}drawCursor(e){if(this.cursor){let{scaleX:t,scaleY:r}=this.view;e?(this.cursor.style.left=e.left/t+"px",this.cursor.style.top=e.top/r+"px",this.cursor.style.height=e.height/r+"px"):this.cursor.style.left="-100000px"}}destroy(){this.cursor&&this.cursor.remove()}setDropPos(e){this.view.state.field(Dm)!=e&&this.view.dispatch({effects:x9.of(e)})}},{eventObservers:{dragover(e){this.setDropPos(this.view.posAtCoords({x:e.clientX,y:e.clientY}))},dragleave(e){(e.target==this.view.contentDOM||!this.view.contentDOM.contains(e.relatedTarget))&&this.setDropPos(null)},dragend(){this.setDropPos(null)},drop(){this.setDropPos(null)}}});function ISe(){return[Dm,PSe]}function UI(e,t,r,n,o){t.lastIndex=0;for(let s=e.iterRange(r,n),i=r,a;!s.next().done;i+=s.value.length)if(!s.lineBreak)for(;a=t.exec(s.value);)o(i+a.index,a)}function DSe(e,t){let r=e.visibleRanges;if(r.length==1&&r[0].from==e.viewport.from&&r[0].to==e.viewport.to)return r;let n=[];for(let{from:o,to:s}of r)o=Math.max(e.state.doc.lineAt(o).from,o-t),s=Math.min(e.state.doc.lineAt(s).to,s+t),n.length&&n[n.length-1].to>=o?n[n.length-1].to=s:n.push({from:o,to:s});return n}class MSe{constructor(t){const{regexp:r,decoration:n,decorate:o,boundary:s,maxLength:i=1e3}=t;if(!r.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set");if(this.regexp=r,o)this.addMatch=(a,l,c,u)=>o(u,c,c+a[0].length,a,l);else if(typeof n=="function")this.addMatch=(a,l,c,u)=>{let d=n(a,l,c);d&&u(c,c+a[0].length,d)};else if(n)this.addMatch=(a,l,c,u)=>u(c,c+a[0].length,n);else throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator");this.boundary=s,this.maxLength=i}createDeco(t){let r=new Qa,n=r.add.bind(r);for(let{from:o,to:s}of DSe(t,this.maxLength))UI(t.state.doc,this.regexp,o,s,(i,a)=>this.addMatch(a,t,i,n));return r.finish()}updateDeco(t,r){let n=1e9,o=-1;return t.docChanged&&t.changes.iterChanges((s,i,a,l)=>{l>=t.view.viewport.from&&a<=t.view.viewport.to&&(n=Math.min(a,n),o=Math.max(l,o))}),t.viewportMoved||o-n>1e3?this.createDeco(t.view):o>-1?this.updateRange(t.view,r.map(t.changes),n,o):r}updateRange(t,r,n,o){for(let s of t.visibleRanges){let i=Math.max(s.from,n),a=Math.min(s.to,o);if(a>i){let l=t.state.doc.lineAt(i),c=l.tol.from;i--)if(this.boundary.test(l.text[i-1-l.from])){u=i;break}for(;ap.push(y.range(v,g));if(l==c)for(this.regexp.lastIndex=u-l.from;(f=this.regexp.exec(l.text))&&f.indexthis.addMatch(g,t,v,m));r=r.update({filterFrom:u,filterTo:d,filter:(v,g)=>vd,add:p})}}return r}}const NS=/x/.unicode!=null?"gu":"g",NSe=new RegExp(`[\0-\b +--Ÿ­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\uFEFF-]`,NS),LSe={0:"null",7:"bell",8:"backspace",10:"newline",11:"vertical tab",13:"carriage return",27:"escape",8203:"zero width space",8204:"zero width non-joiner",8205:"zero width joiner",8206:"left-to-right mark",8207:"right-to-left mark",8232:"line separator",8237:"left-to-right override",8238:"right-to-left override",8294:"left-to-right isolate",8295:"right-to-left isolate",8297:"pop directional isolate",8233:"paragraph separator",65279:"zero width no-break space",65532:"object replacement"};let ej=null;function RSe(){var e;if(ej==null&&typeof document<"u"&&document.body){let t=document.body.style;ej=((e=t.tabSize)!==null&&e!==void 0?e:t.MozTabSize)!=null}return ej||!1}const lb=At.define({combine(e){let t=ol(e,{render:null,specialChars:NSe,addSpecialChars:null});return(t.replaceTabs=!RSe())&&(t.specialChars=new RegExp(" |"+t.specialChars.source,NS)),t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,NS)),t}});function BSe(e={}){return[lb.of(e),qSe()]}let HI=null;function qSe(){return HI||(HI=Lo.fromClass(class{constructor(e){this.view=e,this.decorations=kr.none,this.decorationCache=Object.create(null),this.decorator=this.makeDecorator(e.state.facet(lb)),this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new MSe({regexp:e.specialChars,decoration:(t,r,n)=>{let{doc:o}=r.state,s=hi(t[0],0);if(s==9){let i=o.lineAt(n),a=r.state.tabSize,l=Ih(i.text,a,n-i.from);return kr.replace({widget:new USe((a-l%a)*this.view.defaultCharacterWidth/this.view.scaleX)})}return this.decorationCache[s]||(this.decorationCache[s]=kr.replace({widget:new VSe(e,s)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){let t=e.state.facet(lb);e.startState.facet(lb)!=t?(this.decorator=this.makeDecorator(t),this.decorations=this.decorator.createDeco(e.view)):this.decorations=this.decorator.updateDeco(e,this.decorations)}},{decorations:e=>e.decorations}))}const zSe="•";function FSe(e){return e>=32?zSe:e==10?"␤":String.fromCharCode(9216+e)}class VSe extends ud{constructor(t,r){super(),this.options=t,this.code=r}eq(t){return t.code==this.code}toDOM(t){let r=FSe(this.code),n=t.state.phrase("Control character")+" "+(LSe[this.code]||"0x"+this.code.toString(16)),o=this.options.render&&this.options.render(this.code,n,r);if(o)return o;let s=document.createElement("span");return s.textContent=r,s.title=n,s.setAttribute("aria-label",n),s.className="cm-specialChar",s}ignoreEvent(){return!1}}class USe extends ud{constructor(t){super(),this.width=t}eq(t){return t.width==this.width}toDOM(){let t=document.createElement("span");return t.textContent=" ",t.className="cm-tab",t.style.width=this.width+"px",t}ignoreEvent(){return!1}}function HSe(){return GSe}const WSe=kr.line({class:"cm-activeLine"}),GSe=Lo.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.docChanged||e.selectionSet)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=-1,r=[];for(let n of e.state.selection.ranges){let o=e.lineBlockAt(n.head);o.from>t&&(r.push(WSe.range(o.from)),t=o.from)}return kr.set(r)}},{decorations:e=>e.decorations}),LS=2e3;function JSe(e,t,r){let n=Math.min(t.line,r.line),o=Math.max(t.line,r.line),s=[];if(t.off>LS||r.off>LS||t.col<0||r.col<0){let i=Math.min(t.off,r.off),a=Math.max(t.off,r.off);for(let l=n;l<=o;l++){let c=e.doc.line(l);c.length<=a&&s.push(Je.range(c.from+i,c.to+a))}}else{let i=Math.min(t.col,r.col),a=Math.max(t.col,r.col);for(let l=n;l<=o;l++){let c=e.doc.line(l),u=hS(c.text,i,e.tabSize,!0);if(u<0)s.push(Je.cursor(c.to));else{let d=hS(c.text,a,e.tabSize);s.push(Je.range(c.from+u,c.from+d))}}}return s}function KSe(e,t){let r=e.coordsAtPos(e.viewport.from);return r?Math.round(Math.abs((r.left-t)/e.defaultCharacterWidth)):-1}function WI(e,t){let r=e.posAtCoords({x:t.clientX,y:t.clientY},!1),n=e.state.doc.lineAt(r),o=r-n.from,s=o>LS?-1:o==n.length?KSe(e,t.clientX):Ih(n.text,e.state.tabSize,r-n.from);return{line:n.number,col:s,off:o}}function QSe(e,t){let r=WI(e,t),n=e.state.selection;return r?{update(o){if(o.docChanged){let s=o.changes.mapPos(o.startState.doc.line(r.line).from),i=o.state.doc.lineAt(s);r={line:i.number,col:r.col,off:Math.min(r.off,i.length)},n=n.map(o.changes)}},get(o,s,i){let a=WI(e,o);if(!a)return n;let l=JSe(e.state,r,a);return l.length?i?Je.create(l.concat(n.ranges)):Je.create(l):n}}:null}function ZSe(e){let t=r=>r.altKey&&r.button==0;return jt.mouseSelectionStyle.of((r,n)=>t(n)?QSe(r,n):null)}const XSe={Alt:[18,e=>!!e.altKey],Control:[17,e=>!!e.ctrlKey],Shift:[16,e=>!!e.shiftKey],Meta:[91,e=>!!e.metaKey]},YSe={style:"cursor: crosshair"};function e2e(e={}){let[t,r]=XSe[e.key||"Alt"],n=Lo.fromClass(class{constructor(o){this.view=o,this.isDown=!1}set(o){this.isDown!=o&&(this.isDown=o,this.view.update([]))}},{eventObservers:{keydown(o){this.set(o.keyCode==t||r(o))},keyup(o){(o.keyCode==t||!r(o))&&this.set(!1)},mousemove(o){this.set(r(o))}}});return[n,jt.contentAttributes.of(o=>{var s;return!((s=o.plugin(n))===null||s===void 0)&&s.isDown?YSe:null})]}const hm="-10000px";class k9{constructor(t,r,n,o){this.facet=r,this.createTooltipView=n,this.removeTooltipView=o,this.input=t.state.facet(r),this.tooltips=this.input.filter(i=>i);let s=null;this.tooltipViews=this.tooltips.map(i=>s=n(i,s))}update(t,r){var n;let o=t.state.facet(this.facet),s=o.filter(l=>l);if(o===this.input){for(let l of this.tooltipViews)l.update&&l.update(t);return!1}let i=[],a=r?[]:null;for(let l=0;lr[c]=l),r.length=a.length),this.input=o,this.tooltips=s,this.tooltipViews=i,!0}}function t2e(e){let{win:t}=e;return{top:0,left:0,bottom:t.innerHeight,right:t.innerWidth}}const tj=At.define({combine:e=>{var t,r,n;return{position:Ct.ios?"absolute":((t=e.find(o=>o.position))===null||t===void 0?void 0:t.position)||"fixed",parent:((r=e.find(o=>o.parent))===null||r===void 0?void 0:r.parent)||null,tooltipSpace:((n=e.find(o=>o.tooltipSpace))===null||n===void 0?void 0:n.tooltipSpace)||t2e}}}),GI=new WeakMap,GA=Lo.fromClass(class{constructor(e){this.view=e,this.above=[],this.inView=!0,this.madeAbsolute=!1,this.lastTransaction=0,this.measureTimeout=-1;let t=e.state.facet(tj);this.position=t.position,this.parent=t.parent,this.classes=e.themeClasses,this.createContainer(),this.measureReq={read:this.readMeasure.bind(this),write:this.writeMeasure.bind(this),key:this},this.resizeObserver=typeof ResizeObserver=="function"?new ResizeObserver(()=>this.measureSoon()):null,this.manager=new k9(e,ox,(r,n)=>this.createTooltip(r,n),r=>{this.resizeObserver&&this.resizeObserver.unobserve(r.dom),r.dom.remove()}),this.above=this.manager.tooltips.map(r=>!!r.above),this.intersectionObserver=typeof IntersectionObserver=="function"?new IntersectionObserver(r=>{Date.now()>this.lastTransaction-50&&r.length>0&&r[r.length-1].intersectionRatio<1&&this.measureSoon()},{threshold:[1]}):null,this.observeIntersection(),e.win.addEventListener("resize",this.measureSoon=this.measureSoon.bind(this)),this.maybeMeasure()}createContainer(){this.parent?(this.container=document.createElement("div"),this.container.style.position="relative",this.container.className=this.view.themeClasses,this.parent.appendChild(this.container)):this.container=this.view.dom}observeIntersection(){if(this.intersectionObserver){this.intersectionObserver.disconnect();for(let e of this.manager.tooltipViews)this.intersectionObserver.observe(e.dom)}}measureSoon(){this.measureTimeout<0&&(this.measureTimeout=setTimeout(()=>{this.measureTimeout=-1,this.maybeMeasure()},50))}update(e){e.transactions.length&&(this.lastTransaction=Date.now());let t=this.manager.update(e,this.above);t&&this.observeIntersection();let r=t||e.geometryChanged,n=e.state.facet(tj);if(n.position!=this.position&&!this.madeAbsolute){this.position=n.position;for(let o of this.manager.tooltipViews)o.dom.style.position=this.position;r=!0}if(n.parent!=this.parent){this.parent&&this.container.remove(),this.parent=n.parent,this.createContainer();for(let o of this.manager.tooltipViews)this.container.appendChild(o.dom);r=!0}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses);r&&this.maybeMeasure()}createTooltip(e,t){let r=e.create(this.view),n=t?t.dom:null;if(r.dom.classList.add("cm-tooltip"),e.arrow&&!r.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){let o=document.createElement("div");o.className="cm-tooltip-arrow",r.dom.appendChild(o)}return r.dom.style.position=this.position,r.dom.style.top=hm,r.dom.style.left="0px",this.container.insertBefore(r.dom,n),r.mount&&r.mount(this.view),this.resizeObserver&&this.resizeObserver.observe(r.dom),r}destroy(){var e,t,r;this.view.win.removeEventListener("resize",this.measureSoon);for(let n of this.manager.tooltipViews)n.dom.remove(),(e=n.destroy)===null||e===void 0||e.call(n);this.parent&&this.container.remove(),(t=this.resizeObserver)===null||t===void 0||t.disconnect(),(r=this.intersectionObserver)===null||r===void 0||r.disconnect(),clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,r=!1;if(this.position=="fixed"&&this.manager.tooltipViews.length){let{dom:s}=this.manager.tooltipViews[0];if(Ct.gecko)r=s.offsetParent!=this.container.ownerDocument.body;else if(s.style.top==hm&&s.style.left=="0px"){let i=s.getBoundingClientRect();r=Math.abs(i.top+1e4)>1||Math.abs(i.left)>1}}if(r||this.position=="absolute")if(this.parent){let s=this.parent.getBoundingClientRect();s.width&&s.height&&(e=s.width/this.parent.offsetWidth,t=s.height/this.parent.offsetHeight)}else({scaleX:e,scaleY:t}=this.view.viewState);let n=this.view.scrollDOM.getBoundingClientRect(),o=VA(this.view);return{visible:{left:n.left+o.left,top:n.top+o.top,right:n.right-o.right,bottom:n.bottom-o.bottom},parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),pos:this.manager.tooltips.map((s,i)=>{let a=this.manager.tooltipViews[i];return a.getCoords?a.getCoords(s.pos):this.view.coordsAtPos(s.pos)}),size:this.manager.tooltipViews.map(({dom:s})=>s.getBoundingClientRect()),space:this.view.state.facet(tj).tooltipSpace(this.view),scaleX:e,scaleY:t,makeAbsolute:r}}writeMeasure(e){var t;if(e.makeAbsolute){this.madeAbsolute=!0,this.position="absolute";for(let a of this.manager.tooltipViews)a.dom.style.position="absolute"}let{visible:r,space:n,scaleX:o,scaleY:s}=e,i=[];for(let a=0;a=Math.min(r.bottom,n.bottom)||d.rightMath.min(r.right,n.right)+.1)){u.style.top=hm;continue}let f=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,m=f?7:0,v=p.right-p.left,g=(t=GI.get(c))!==null&&t!==void 0?t:p.bottom-p.top,y=c.offset||n2e,b=this.view.textDirection==Co.LTR,w=p.width>n.right-n.left?b?n.left:n.right-p.width:b?Math.max(n.left,Math.min(d.left-(f?14:0)+y.x,n.right-v)):Math.min(Math.max(n.left,d.left-v+(f?14:0)-y.x),n.right-v),k=this.above[a];!l.strictSide&&(k?d.top-g-m-y.yn.bottom)&&k==n.bottom-d.bottom>d.top-n.top&&(k=this.above[a]=!k);let x=(k?d.top-n.top:n.bottom-d.bottom)-m;if(xw&&C.topj&&(j=k?C.top-g-2-m:C.bottom+m+2);if(this.position=="absolute"?(u.style.top=(j-e.parent.top)/s+"px",JI(u,(w-e.parent.left)/o)):(u.style.top=j/s+"px",JI(u,w/o)),f){let C=d.left+(b?y.x:-y.x)-(w+14-7);f.style.left=C/o+"px"}c.overlap!==!0&&i.push({left:w,top:j,right:_,bottom:j+g}),u.classList.toggle("cm-tooltip-above",k),u.classList.toggle("cm-tooltip-below",!k),c.positioned&&c.positioned(e.space)}}maybeMeasure(){if(this.manager.tooltips.length&&(this.view.inView&&this.view.requestMeasure(this.measureReq),this.inView!=this.view.inView&&(this.inView=this.view.inView,!this.inView)))for(let e of this.manager.tooltipViews)e.dom.style.top=hm}},{eventObservers:{scroll(){this.maybeMeasure()}}});function JI(e,t){let r=parseInt(e.style.left,10);(isNaN(r)||Math.abs(t-r)>1)&&(e.style.left=t+"px")}const r2e=jt.baseTheme({".cm-tooltip":{zIndex:500,boxSizing:"border-box"},"&light .cm-tooltip":{border:"1px solid #bbb",backgroundColor:"#f5f5f5"},"&light .cm-tooltip-section:not(:first-child)":{borderTop:"1px solid #bbb"},"&dark .cm-tooltip":{backgroundColor:"#333338",color:"white"},".cm-tooltip-arrow":{height:"7px",width:"14px",position:"absolute",zIndex:-1,overflow:"hidden","&:before, &:after":{content:"''",position:"absolute",width:0,height:0,borderLeft:"7px solid transparent",borderRight:"7px solid transparent"},".cm-tooltip-above &":{bottom:"-7px","&:before":{borderTop:"7px solid #bbb"},"&:after":{borderTop:"7px solid #f5f5f5",bottom:"1px"}},".cm-tooltip-below &":{top:"-7px","&:before":{borderBottom:"7px solid #bbb"},"&:after":{borderBottom:"7px solid #f5f5f5",top:"1px"}}},"&dark .cm-tooltip .cm-tooltip-arrow":{"&:before":{borderTopColor:"#333338",borderBottomColor:"#333338"},"&:after":{borderTopColor:"transparent",borderBottomColor:"transparent"}}}),n2e={x:0,y:0},ox=At.define({enables:[GA,r2e]}),c1=At.define({combine:e=>e.reduce((t,r)=>t.concat(r),[])});class sx{static create(t){return new sx(t)}constructor(t){this.view=t,this.mounted=!1,this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),this.manager=new k9(t,c1,(r,n)=>this.createHostedView(r,n),r=>r.dom.remove())}createHostedView(t,r){let n=t.create(this.view);return n.dom.classList.add("cm-tooltip-section"),this.dom.insertBefore(n.dom,r?r.dom.nextSibling:this.dom.firstChild),this.mounted&&n.mount&&n.mount(this.view),n}mount(t){for(let r of this.manager.tooltipViews)r.mount&&r.mount(t);this.mounted=!0}positioned(t){for(let r of this.manager.tooltipViews)r.positioned&&r.positioned(t)}update(t){this.manager.update(t)}destroy(){var t;for(let r of this.manager.tooltipViews)(t=r.destroy)===null||t===void 0||t.call(r)}passProp(t){let r;for(let n of this.manager.tooltipViews){let o=n[t];if(o!==void 0){if(r===void 0)r=o;else if(r!==o)return}}return r}get offset(){return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")}get overlap(){return this.passProp("overlap")}get resize(){return this.passProp("resize")}}const o2e=ox.compute([c1],e=>{let t=e.facet(c1);return t.length===0?null:{pos:Math.min(...t.map(r=>r.pos)),end:Math.max(...t.map(r=>{var n;return(n=r.end)!==null&&n!==void 0?n:r.pos})),create:sx.create,above:t[0].above,arrow:t.some(r=>r.arrow)}});class s2e{constructor(t,r,n,o,s){this.view=t,this.source=r,this.field=n,this.setHover=o,this.hoverTime=s,this.hoverTimeout=-1,this.restartTimeout=-1,this.pending=null,this.lastMove={x:0,y:0,target:t.dom,time:0},this.checkHover=this.checkHover.bind(this),t.dom.addEventListener("mouseleave",this.mouseleave=this.mouseleave.bind(this)),t.dom.addEventListener("mousemove",this.mousemove=this.mousemove.bind(this))}update(){this.pending&&(this.pending=null,clearTimeout(this.restartTimeout),this.restartTimeout=setTimeout(()=>this.startHover(),20))}get active(){return this.view.state.field(this.field)}checkHover(){if(this.hoverTimeout=-1,this.active.length)return;let t=Date.now()-this.lastMove.time;ta.bottom||r.xa.right+t.defaultCharacterWidth)return;let l=t.bidiSpans(t.state.doc.lineAt(o)).find(u=>u.from<=o&&u.to>=o),c=l&&l.dir==Co.RTL?-1:1;s=r.x{this.pending==a&&(this.pending=null,l&&!(Array.isArray(l)&&!l.length)&&t.dispatch({effects:this.setHover.of(Array.isArray(l)?l:[l])}))},l=>oi(t.state,l,"hover tooltip"))}else i&&!(Array.isArray(i)&&!i.length)&&t.dispatch({effects:this.setHover.of(Array.isArray(i)?i:[i])})}get tooltip(){let t=this.view.plugin(GA),r=t?t.manager.tooltips.findIndex(n=>n.create==sx.create):-1;return r>-1?t.manager.tooltipViews[r]:null}mousemove(t){var r,n;this.lastMove={x:t.clientX,y:t.clientY,target:t.target,time:Date.now()},this.hoverTimeout<0&&(this.hoverTimeout=setTimeout(this.checkHover,this.hoverTime));let{active:o,tooltip:s}=this;if(o.length&&s&&!i2e(s.dom,t)||this.pending){let{pos:i}=o[0]||this.pending,a=(n=(r=o[0])===null||r===void 0?void 0:r.end)!==null&&n!==void 0?n:i;(i==a?this.view.posAtCoords(this.lastMove)!=i:!a2e(this.view,i,a,t.clientX,t.clientY))&&(this.view.dispatch({effects:this.setHover.of([])}),this.pending=null)}}mouseleave(t){clearTimeout(this.hoverTimeout),this.hoverTimeout=-1;let{active:r}=this;if(r.length){let{tooltip:n}=this;n&&n.dom.contains(t.relatedTarget)?this.watchTooltipLeave(n.dom):this.view.dispatch({effects:this.setHover.of([])})}}watchTooltipLeave(t){let r=n=>{t.removeEventListener("mouseleave",r),this.active.length&&!this.view.dom.contains(n.relatedTarget)&&this.view.dispatch({effects:this.setHover.of([])})};t.addEventListener("mouseleave",r)}destroy(){clearTimeout(this.hoverTimeout),this.view.dom.removeEventListener("mouseleave",this.mouseleave),this.view.dom.removeEventListener("mousemove",this.mousemove)}}const h0=4;function i2e(e,t){let{left:r,right:n,top:o,bottom:s}=e.getBoundingClientRect(),i;if(i=e.querySelector(".cm-tooltip-arrow")){let a=i.getBoundingClientRect();o=Math.min(a.top,o),s=Math.max(a.bottom,s)}return t.clientX>=r-h0&&t.clientX<=n+h0&&t.clientY>=o-h0&&t.clientY<=s+h0}function a2e(e,t,r,n,o,s){let i=e.scrollDOM.getBoundingClientRect(),a=e.documentTop+e.documentPadding.top+e.contentHeight;if(i.left>n||i.righto||Math.min(i.bottom,a)=t&&l<=r}function l2e(e,t={}){let r=Gr.define(),n=js.define({create(){return[]},update(o,s){if(o.length&&(t.hideOnChange&&(s.docChanged||s.selection)?o=[]:t.hideOn&&(o=o.filter(i=>!t.hideOn(s,i))),s.docChanged)){let i=[];for(let a of o){let l=s.changes.mapPos(a.pos,-1,ri.TrackDel);if(l!=null){let c=Object.assign(Object.create(null),a);c.pos=l,c.end!=null&&(c.end=s.changes.mapPos(c.end)),i.push(c)}}o=i}for(let i of s.effects)i.is(r)&&(o=i.value),i.is(c2e)&&(o=[]);return o},provide:o=>c1.from(o)});return{active:n,extension:[n,Lo.define(o=>new s2e(o,e,n,r,t.hoverTime||300)),o2e]}}function j9(e,t){let r=e.plugin(GA);if(!r)return null;let n=r.manager.tooltips.indexOf(t);return n<0?null:r.manager.tooltipViews[n]}const c2e=Gr.define(),KI=At.define({combine(e){let t,r;for(let n of e)t=t||n.topContainer,r=r||n.bottomContainer;return{topContainer:t,bottomContainer:r}}});function Mg(e,t){let r=e.plugin(_9),n=r?r.specs.indexOf(t):-1;return n>-1?r.panels[n]:null}const _9=Lo.fromClass(class{constructor(e){this.input=e.state.facet(Ng),this.specs=this.input.filter(r=>r),this.panels=this.specs.map(r=>r(e));let t=e.state.facet(KI);this.top=new m0(e,!0,t.topContainer),this.bottom=new m0(e,!1,t.bottomContainer),this.top.sync(this.panels.filter(r=>r.top)),this.bottom.sync(this.panels.filter(r=>!r.top));for(let r of this.panels)r.dom.classList.add("cm-panel"),r.mount&&r.mount()}update(e){let t=e.state.facet(KI);this.top.container!=t.topContainer&&(this.top.sync([]),this.top=new m0(e.view,!0,t.topContainer)),this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),this.bottom=new m0(e.view,!1,t.bottomContainer)),this.top.syncClasses(),this.bottom.syncClasses();let r=e.state.facet(Ng);if(r!=this.input){let n=r.filter(l=>l),o=[],s=[],i=[],a=[];for(let l of n){let c=this.specs.indexOf(l),u;c<0?(u=l(e.view),a.push(u)):(u=this.panels[c],u.update&&u.update(e)),o.push(u),(u.top?s:i).push(u)}this.specs=n,this.panels=o,this.top.sync(s),this.bottom.sync(i);for(let l of a)l.dom.classList.add("cm-panel"),l.mount&&l.mount()}else for(let n of this.panels)n.update&&n.update(e)}destroy(){this.top.sync([]),this.bottom.sync([])}},{provide:e=>jt.scrollMargins.of(t=>{let r=t.plugin(e);return r&&{top:r.top.scrollMargin(),bottom:r.bottom.scrollMargin()}})});class m0{constructor(t,r,n){this.view=t,this.top=r,this.container=n,this.dom=void 0,this.classes="",this.panels=[],this.syncClasses()}sync(t){for(let r of this.panels)r.destroy&&t.indexOf(r)<0&&r.destroy();this.panels=t,this.syncDOM()}syncDOM(){if(this.panels.length==0){this.dom&&(this.dom.remove(),this.dom=void 0);return}if(!this.dom){this.dom=document.createElement("div"),this.dom.className=this.top?"cm-panels cm-panels-top":"cm-panels cm-panels-bottom",this.dom.style[this.top?"top":"bottom"]="0";let r=this.container||this.view.dom;r.insertBefore(this.dom,this.top?r.firstChild:null)}let t=this.dom.firstChild;for(let r of this.panels)if(r.dom.parentNode==this.dom){for(;t!=r.dom;)t=QI(t);t=t.nextSibling}else this.dom.insertBefore(r.dom,t);for(;t;)t=QI(t)}scrollMargin(){return!this.dom||this.container?0:Math.max(0,this.top?this.dom.getBoundingClientRect().bottom-Math.max(0,this.view.scrollDOM.getBoundingClientRect().top):Math.min(innerHeight,this.view.scrollDOM.getBoundingClientRect().bottom)-this.dom.getBoundingClientRect().top)}syncClasses(){if(!(!this.container||this.classes==this.view.themeClasses)){for(let t of this.classes.split(" "))t&&this.container.classList.remove(t);for(let t of(this.classes=this.view.themeClasses).split(" "))t&&this.container.classList.add(t)}}}function QI(e){let t=e.nextSibling;return e.remove(),t}const Ng=At.define({enables:_9});class Nl extends ip{compare(t){return this==t||this.constructor==t.constructor&&this.eq(t)}eq(t){return!1}destroy(t){}}Nl.prototype.elementClass="";Nl.prototype.toDOM=void 0;Nl.prototype.mapMode=ri.TrackBefore;Nl.prototype.startSide=Nl.prototype.endSide=-1;Nl.prototype.point=!0;const cb=At.define(),u2e=At.define(),d2e={class:"",renderEmptyElements:!1,elementStyle:"",markers:()=>pn.empty,lineMarker:()=>null,widgetMarker:()=>null,lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}},eg=At.define();function S9(e){return[C9(),eg.of(Object.assign(Object.assign({},d2e),e))]}const ZI=At.define({combine:e=>e.some(t=>t)});function C9(e){return[p2e]}const p2e=Lo.fromClass(class{constructor(e){this.view=e,this.prevViewport=e.viewport,this.dom=document.createElement("div"),this.dom.className="cm-gutters",this.dom.setAttribute("aria-hidden","true"),this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px",this.gutters=e.state.facet(eg).map(t=>new YI(e,t));for(let t of this.gutters)this.dom.appendChild(t.dom);this.fixed=!e.state.facet(ZI),this.fixed&&(this.dom.style.position="sticky"),this.syncGutters(!1),e.scrollDOM.insertBefore(this.dom,e.contentDOM)}update(e){if(this.updateGutters(e)){let t=this.prevViewport,r=e.view.viewport,n=Math.min(t.to,r.to)-Math.max(t.from,r.from);this.syncGutters(n<(r.to-r.from)*.8)}e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),this.view.state.facet(ZI)!=!this.fixed&&(this.fixed=!this.fixed,this.dom.style.position=this.fixed?"sticky":""),this.prevViewport=e.view.viewport}syncGutters(e){let t=this.dom.nextSibling;e&&this.dom.remove();let r=pn.iter(this.view.state.facet(cb),this.view.viewport.from),n=[],o=this.gutters.map(s=>new f2e(s,this.view.viewport,-this.view.documentPadding.top));for(let s of this.view.viewportLineBlocks)if(n.length&&(n=[]),Array.isArray(s.type)){let i=!0;for(let a of s.type)if(a.type==ii.Text&&i){RS(r,n,a.from);for(let l of o)l.line(this.view,a,n);i=!1}else if(a.widget)for(let l of o)l.widget(this.view,a)}else if(s.type==ii.Text){RS(r,n,s.from);for(let i of o)i.line(this.view,s,n)}else if(s.widget)for(let i of o)i.widget(this.view,s);for(let s of o)s.finish();e&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(e){let t=e.startState.facet(eg),r=e.state.facet(eg),n=e.docChanged||e.heightChanged||e.viewportChanged||!pn.eq(e.startState.facet(cb),e.state.facet(cb),e.view.viewport.from,e.view.viewport.to);if(t==r)for(let o of this.gutters)o.update(e)&&(n=!0);else{n=!0;let o=[];for(let s of r){let i=t.indexOf(s);i<0?o.push(new YI(this.view,s)):(this.gutters[i].update(e),o.push(this.gutters[i]))}for(let s of this.gutters)s.dom.remove(),o.indexOf(s)<0&&s.destroy();for(let s of o)this.dom.appendChild(s.dom);this.gutters=o}return n}destroy(){for(let e of this.gutters)e.destroy();this.dom.remove()}},{provide:e=>jt.scrollMargins.of(t=>{let r=t.plugin(e);return!r||r.gutters.length==0||!r.fixed?null:t.textDirection==Co.LTR?{left:r.dom.offsetWidth*t.scaleX}:{right:r.dom.offsetWidth*t.scaleX}})});function XI(e){return Array.isArray(e)?e:[e]}function RS(e,t,r){for(;e.value&&e.from<=r;)e.from==r&&t.push(e.value),e.next()}class f2e{constructor(t,r,n){this.gutter=t,this.height=n,this.i=0,this.cursor=pn.iter(t.markers,r.from)}addElement(t,r,n){let{gutter:o}=this,s=(r.top-this.height)/t.scaleY,i=r.height/t.scaleY;if(this.i==o.elements.length){let a=new A9(t,i,s,n);o.elements.push(a),o.dom.appendChild(a.dom)}else o.elements[this.i].update(t,i,s,n);this.height=r.bottom,this.i++}line(t,r,n){let o=[];RS(this.cursor,o,r.from),n.length&&(o=o.concat(n));let s=this.gutter.config.lineMarker(t,r,o);s&&o.unshift(s);let i=this.gutter;o.length==0&&!i.config.renderEmptyElements||this.addElement(t,r,o)}widget(t,r){let n=this.gutter.config.widgetMarker(t,r.widget,r),o=n?[n]:null;for(let s of t.state.facet(u2e)){let i=s(t,r.widget,r);i&&(o||(o=[])).push(i)}o&&this.addElement(t,r,o)}finish(){let t=this.gutter;for(;t.elements.length>this.i;){let r=t.elements.pop();t.dom.removeChild(r.dom),r.destroy()}}}class YI{constructor(t,r){this.view=t,this.config=r,this.elements=[],this.spacer=null,this.dom=document.createElement("div"),this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"");for(let n in r.domEventHandlers)this.dom.addEventListener(n,o=>{let s=o.target,i;if(s!=this.dom&&this.dom.contains(s)){for(;s.parentNode!=this.dom;)s=s.parentNode;let l=s.getBoundingClientRect();i=(l.top+l.bottom)/2}else i=o.clientY;let a=t.lineBlockAtHeight(i-t.documentTop);r.domEventHandlers[n](t,a,o)&&o.preventDefault()});this.markers=XI(r.markers(t)),r.initialSpacer&&(this.spacer=new A9(t,0,0,[r.initialSpacer(t)]),this.dom.appendChild(this.spacer.dom),this.spacer.dom.style.cssText+="visibility: hidden; pointer-events: none")}update(t){let r=this.markers;if(this.markers=XI(this.config.markers(t.view)),this.spacer&&this.config.updateSpacer){let o=this.config.updateSpacer(this.spacer.markers[0],t);o!=this.spacer.markers[0]&&this.spacer.update(t.view,0,0,[o])}let n=t.view.viewport;return!pn.eq(this.markers,r,n.from,n.to)||(this.config.lineMarkerChange?this.config.lineMarkerChange(t):!1)}destroy(){for(let t of this.elements)t.destroy()}}class A9{constructor(t,r,n,o){this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),this.dom.className="cm-gutterElement",this.update(t,r,n,o)}update(t,r,n,o){this.height!=r&&(this.height=r,this.dom.style.height=r+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),h2e(this.markers,o)||this.setMarkers(t,o)}setMarkers(t,r){let n="cm-gutterElement",o=this.dom.firstChild;for(let s=0,i=0;;){let a=i,l=ss(a,l,c)||i(a,l,c):i}return n}})}});class rj extends Nl{constructor(t){super(),this.number=t}eq(t){return this.number==t.number}toDOM(){return document.createTextNode(this.number)}}function nj(e,t){return e.state.facet(_f).formatNumber(t,e.state)}const v2e=eg.compute([_f],e=>({class:"cm-lineNumbers",renderEmptyElements:!1,markers(t){return t.state.facet(m2e)},lineMarker(t,r,n){return n.some(o=>o.toDOM)?null:new rj(nj(t,t.state.doc.lineAt(r.from).number))},widgetMarker:(t,r,n)=>{for(let o of t.state.facet(g2e)){let s=o(t,r,n);if(s)return s}return null},lineMarkerChange:t=>t.startState.facet(_f)!=t.state.facet(_f),initialSpacer(t){return new rj(nj(t,e4(t.state.doc.lines)))},updateSpacer(t,r){let n=nj(r.view,e4(r.view.state.doc.lines));return n==t.number?t:new rj(n)},domEventHandlers:e.facet(_f).domEventHandlers}));function y2e(e={}){return[_f.of(e),C9(),v2e]}function e4(e){let t=9;for(;t{let t=[],r=-1;for(let n of e.selection.ranges){let o=e.doc.lineAt(n.head).from;o>r&&(r=o,t.push(b2e.range(o)))}return pn.of(t)});function x2e(){return w2e}const E9=1024;let k2e=0;class oj{constructor(t,r){this.from=t,this.to=r}}class rn{constructor(t={}){this.id=k2e++,this.perNode=!!t.perNode,this.deserialize=t.deserialize||(()=>{throw new Error("This node type doesn't define a deserialize function")})}add(t){if(this.perNode)throw new RangeError("Can't add per-node props to node types");return typeof t!="function"&&(t=ji.match(t)),r=>{let n=t(r);return n===void 0?null:[this,n]}}}rn.closedBy=new rn({deserialize:e=>e.split(" ")});rn.openedBy=new rn({deserialize:e=>e.split(" ")});rn.group=new rn({deserialize:e=>e.split(" ")});rn.isolate=new rn({deserialize:e=>{if(e&&e!="rtl"&&e!="ltr"&&e!="auto")throw new RangeError("Invalid value for isolate: "+e);return e||"auto"}});rn.contextHash=new rn({perNode:!0});rn.lookAhead=new rn({perNode:!0});rn.mounted=new rn({perNode:!0});class u1{constructor(t,r,n){this.tree=t,this.overlay=r,this.parser=n}static get(t){return t&&t.props&&t.props[rn.mounted.id]}}const j2e=Object.create(null);class ji{constructor(t,r,n,o=0){this.name=t,this.props=r,this.id=n,this.flags=o}static define(t){let r=t.props&&t.props.length?Object.create(null):j2e,n=(t.top?1:0)|(t.skipped?2:0)|(t.error?4:0)|(t.name==null?8:0),o=new ji(t.name||"",r,t.id,n);if(t.props){for(let s of t.props)if(Array.isArray(s)||(s=s(o)),s){if(s[0].perNode)throw new RangeError("Can't store a per-node prop on a node type");r[s[0].id]=s[1]}}return o}prop(t){return this.props[t.id]}get isTop(){return(this.flags&1)>0}get isSkipped(){return(this.flags&2)>0}get isError(){return(this.flags&4)>0}get isAnonymous(){return(this.flags&8)>0}is(t){if(typeof t=="string"){if(this.name==t)return!0;let r=this.prop(rn.group);return r?r.indexOf(t)>-1:!1}return this.id==t}static match(t){let r=Object.create(null);for(let n in t)for(let o of n.split(" "))r[o]=t[n];return n=>{for(let o=n.prop(rn.group),s=-1;s<(o?o.length:0);s++){let i=r[s<0?n.name:o[s]];if(i)return i}}}}ji.none=new ji("",Object.create(null),0,8);class JA{constructor(t){this.types=t;for(let r=0;r0;for(let l=this.cursor(i|gs.IncludeAnonymous);;){let c=!1;if(l.from<=s&&l.to>=o&&(!a&&l.type.isAnonymous||r(l)!==!1)){if(l.firstChild())continue;c=!0}for(;c&&n&&(a||!l.type.isAnonymous)&&n(l),!l.nextSibling();){if(!l.parent())return;c=!0}}}prop(t){return t.perNode?this.props?this.props[t.id]:void 0:this.type.prop(t)}get propValues(){let t=[];if(this.props)for(let r in this.props)t.push([+r,this.props[r]]);return t}balance(t={}){return this.children.length<=8?this:ZA(ji.none,this.children,this.positions,0,this.children.length,0,this.length,(r,n,o)=>new ns(this.type,r,n,o,this.propValues),t.makeTree||((r,n,o)=>new ns(ji.none,r,n,o)))}static build(t){return A2e(t)}}ns.empty=new ns(ji.none,[],[],0);class KA{constructor(t,r){this.buffer=t,this.index=r}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}get pos(){return this.index}next(){this.index-=4}fork(){return new KA(this.buffer,this.index)}}class Zu{constructor(t,r,n){this.buffer=t,this.length=r,this.set=n}get type(){return ji.none}toString(){let t=[];for(let r=0;r0));l=i[l+3]);return a}slice(t,r,n){let o=this.buffer,s=new Uint16Array(r-t),i=0;for(let a=t,l=0;a=t&&rt;case 1:return r<=t&&n>t;case 2:return n>t;case 4:return!0}}function Lg(e,t,r,n){for(var o;e.from==e.to||(r<1?e.from>=t:e.from>t)||(r>-1?e.to<=t:e.to0?a.length:-1;t!=c;t+=r){let u=a[t],d=l[t]+i.from;if(O9(o,n,d,d+u.length)){if(u instanceof Zu){if(s&gs.ExcludeBuffers)continue;let p=u.findChild(0,u.buffer.length,r,n-d,o);if(p>-1)return new ju(new _2e(i,u,t,d),null,p)}else if(s&gs.IncludeAnonymous||!u.type.isAnonymous||QA(u)){let p;if(!(s&gs.IgnoreMounts)&&(p=u1.get(u))&&!p.overlay)return new fa(p.tree,d,t,i);let f=new fa(u,d,t,i);return s&gs.IncludeAnonymous||!f.type.isAnonymous?f:f.nextChild(r<0?u.children.length-1:0,r,n,o)}}}if(s&gs.IncludeAnonymous||!i.type.isAnonymous||(i.index>=0?t=i.index+r:t=r<0?-1:i._parent._tree.children.length,i=i._parent,!i))return null}}get firstChild(){return this.nextChild(0,1,0,4)}get lastChild(){return this.nextChild(this._tree.children.length-1,-1,0,4)}childAfter(t){return this.nextChild(0,1,t,2)}childBefore(t){return this.nextChild(this._tree.children.length-1,-1,t,-2)}enter(t,r,n=0){let o;if(!(n&gs.IgnoreOverlays)&&(o=u1.get(this._tree))&&o.overlay){let s=t-this.from;for(let{from:i,to:a}of o.overlay)if((r>0?i<=s:i=s:a>s))return new fa(o.tree,o.overlay[0].from+this.from,-1,this)}return this.nextChild(0,1,t,r,n)}nextSignificantParent(){let t=this;for(;t.type.isAnonymous&&t._parent;)t=t._parent;return t}get parent(){return this._parent?this._parent.nextSignificantParent():null}get nextSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index+1,1,0,4):null}get prevSibling(){return this._parent&&this.index>=0?this._parent.nextChild(this.index-1,-1,0,4):null}get tree(){return this._tree}toTree(){return this._tree}toString(){return this._tree.toString()}}function r4(e,t,r,n){let o=e.cursor(),s=[];if(!o.firstChild())return s;if(r!=null){for(let i=!1;!i;)if(i=o.type.is(r),!o.nextSibling())return s}for(;;){if(n!=null&&o.type.is(n))return s;if(o.type.is(t)&&s.push(o.node),!o.nextSibling())return n==null?s:[]}}function BS(e,t,r=t.length-1){for(let n=e;r>=0;n=n.parent){if(!n)return!1;if(!n.type.isAnonymous){if(t[r]&&t[r]!=n.name)return!1;r--}}return!0}class _2e{constructor(t,r,n,o){this.parent=t,this.buffer=r,this.index=n,this.start=o}}class ju extends $9{get name(){return this.type.name}get from(){return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){return this.context.start+this.context.buffer.buffer[this.index+2]}constructor(t,r,n){super(),this.context=t,this._parent=r,this.index=n,this.type=t.buffer.set.types[t.buffer.buffer[n]]}child(t,r,n){let{buffer:o}=this.context,s=o.findChild(this.index+4,o.buffer[this.index+3],t,r-this.context.start,n);return s<0?null:new ju(this.context,this,s)}get firstChild(){return this.child(1,0,4)}get lastChild(){return this.child(-1,0,4)}childAfter(t){return this.child(1,t,2)}childBefore(t){return this.child(-1,t,-2)}enter(t,r,n=0){if(n&gs.ExcludeBuffers)return null;let{buffer:o}=this.context,s=o.findChild(this.index+4,o.buffer[this.index+3],r>0?1:-1,t-this.context.start,r);return s<0?null:new ju(this.context,this,s)}get parent(){return this._parent||this.context.parent.nextSignificantParent()}externalSibling(t){return this._parent?null:this.context.parent.nextChild(this.context.index+t,t,0,4)}get nextSibling(){let{buffer:t}=this.context,r=t.buffer[this.index+3];return r<(this._parent?t.buffer[this._parent.index+3]:t.buffer.length)?new ju(this.context,this._parent,r):this.externalSibling(1)}get prevSibling(){let{buffer:t}=this.context,r=this._parent?this._parent.index+4:0;return this.index==r?this.externalSibling(-1):new ju(this.context,this._parent,t.findChild(r,this.index,-1,0,4))}get tree(){return null}toTree(){let t=[],r=[],{buffer:n}=this.context,o=this.index+4,s=n.buffer[this.index+3];if(s>o){let i=n.buffer[this.index+1];t.push(n.slice(o,s,i)),r.push(0)}return new ns(this.type,t,r,this.to-this.from)}toString(){return this.context.buffer.childString(this.index)}}function T9(e){if(!e.length)return null;let t=0,r=e[0];for(let s=1;sr.from||i.to=t){let a=new fa(i.tree,i.overlay[0].from+s.from,-1,s);(o||(o=[n])).push(Lg(a,t,r,!1))}}return o?T9(o):n}class qS{get name(){return this.type.name}constructor(t,r=0){if(this.mode=r,this.buffer=null,this.stack=[],this.index=0,this.bufferNode=null,t instanceof fa)this.yieldNode(t);else{this._tree=t.context.parent,this.buffer=t.context;for(let n=t._parent;n;n=n._parent)this.stack.unshift(n.index);this.bufferNode=t,this.yieldBuf(t.index)}}yieldNode(t){return t?(this._tree=t,this.type=t.type,this.from=t.from,this.to=t.to,!0):!1}yieldBuf(t,r){this.index=t;let{start:n,buffer:o}=this.buffer;return this.type=r||o.set.types[o.buffer[t]],this.from=n+o.buffer[t+1],this.to=n+o.buffer[t+2],!0}yield(t){return t?t instanceof fa?(this.buffer=null,this.yieldNode(t)):(this.buffer=t.context,this.yieldBuf(t.index,t.type)):!1}toString(){return this.buffer?this.buffer.buffer.childString(this.index):this._tree.toString()}enterChild(t,r,n){if(!this.buffer)return this.yield(this._tree.nextChild(t<0?this._tree._tree.children.length-1:0,t,r,n,this.mode));let{buffer:o}=this.buffer,s=o.findChild(this.index+4,o.buffer[this.index+3],t,r-this.buffer.start,n);return s<0?!1:(this.stack.push(this.index),this.yieldBuf(s))}firstChild(){return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}childAfter(t){return this.enterChild(1,t,2)}childBefore(t){return this.enterChild(-1,t,-2)}enter(t,r,n=this.mode){return this.buffer?n&gs.ExcludeBuffers?!1:this.enterChild(1,t,r):this.yield(this._tree.enter(t,r,n))}parent(){if(!this.buffer)return this.yieldNode(this.mode&gs.IncludeAnonymous?this._tree._parent:this._tree.parent);if(this.stack.length)return this.yieldBuf(this.stack.pop());let t=this.mode&gs.IncludeAnonymous?this.buffer.parent:this.buffer.parent.nextSignificantParent();return this.buffer=null,this.yieldNode(t)}sibling(t){if(!this.buffer)return this._tree._parent?this.yield(this._tree.index<0?null:this._tree._parent.nextChild(this._tree.index+t,t,0,4,this.mode)):!1;let{buffer:r}=this.buffer,n=this.stack.length-1;if(t<0){let o=n<0?0:this.stack[n]+4;if(this.index!=o)return this.yieldBuf(r.findChild(o,this.index,-1,0,4))}else{let o=r.buffer[this.index+3];if(o<(n<0?r.buffer.length:r.buffer[this.stack[n]+3]))return this.yieldBuf(o)}return n<0?this.yield(this.buffer.parent.nextChild(this.buffer.index+t,t,0,4,this.mode)):!1}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}atLastNode(t){let r,n,{buffer:o}=this;if(o){if(t>0){if(this.index-1)for(let s=r+t,i=t<0?-1:n._tree.children.length;s!=i;s+=t){let a=n._tree.children[s];if(this.mode&gs.IncludeAnonymous||a instanceof Zu||!a.type.isAnonymous||QA(a))return!1}return!0}move(t,r){if(r&&this.enterChild(t,0,4))return!0;for(;;){if(this.sibling(t))return!0;if(this.atLastNode(t)||!this.parent())return!1}}next(t=!0){return this.move(1,t)}prev(t=!0){return this.move(-1,t)}moveTo(t,r=0){for(;(this.from==this.to||(r<1?this.from>=t:this.from>t)||(r>-1?this.to<=t:this.to=0;){for(let i=t;i;i=i._parent)if(i.index==o){if(o==this.index)return i;r=i,n=s+1;break e}o=this.stack[--s]}for(let o=n;o=0;s--){if(s<0)return BS(this._tree,t,o);let i=n[r.buffer[this.stack[s]]];if(!i.isAnonymous){if(t[o]&&t[o]!=i.name)return!1;o--}}return!0}}function QA(e){return e.children.some(t=>t instanceof Zu||!t.type.isAnonymous||QA(t))}function A2e(e){var t;let{buffer:r,nodeSet:n,maxBufferLength:o=E9,reused:s=[],minRepeatType:i=n.types.length}=e,a=Array.isArray(r)?new KA(r,r.length):r,l=n.types,c=0,u=0;function d(x,j,_,C,A,I){let{id:M,start:L,end:F,size:z}=a,N=u,X=c;for(;z<0;)if(a.next(),z==-1){let B=s[M];_.push(B),C.push(L-x);return}else if(z==-3){c=M;return}else if(z==-4){u=M;return}else throw new RangeError(`Unrecognized record size: ${z}`);let V=l[M],J,oe,H=L-x;if(F-L<=o&&(oe=g(a.pos-j,A))){let B=new Uint16Array(oe.size-oe.skip),se=a.pos-oe.size,q=B.length;for(;a.pos>se;)q=y(oe.start,B,q);J=new Zu(B,F-oe.start,n),H=oe.start-x}else{let B=a.pos-z;a.next();let se=[],q=[],O=M>=i?M:-1,D=0,Z=F;for(;a.pos>B;)O>=0&&a.id==O&&a.size>=0?(a.end<=Z-o&&(m(se,q,L,D,a.end,Z,O,N,X),D=se.length,Z=a.end),a.next()):I>2500?p(L,B,se,q):d(L,B,se,q,O,I+1);if(O>=0&&D>0&&D-1&&D>0){let Se=f(V,X);J=ZA(V,se,q,0,se.length,0,F-L,Se,Se)}else J=v(V,se,q,F-L,N-F,X)}_.push(J),C.push(H)}function p(x,j,_,C){let A=[],I=0,M=-1;for(;a.pos>j;){let{id:L,start:F,end:z,size:N}=a;if(N>4)a.next();else{if(M>-1&&F=0;z-=3)L[N++]=A[z],L[N++]=A[z+1]-F,L[N++]=A[z+2]-F,L[N++]=N;_.push(new Zu(L,A[2]-F,n)),C.push(F-x)}}function f(x,j){return(_,C,A)=>{let I=0,M=_.length-1,L,F;if(M>=0&&(L=_[M])instanceof ns){if(!M&&L.type==x&&L.length==A)return L;(F=L.prop(rn.lookAhead))&&(I=C[M]+L.length+F)}return v(x,_,C,A,I,j)}}function m(x,j,_,C,A,I,M,L,F){let z=[],N=[];for(;x.length>C;)z.push(x.pop()),N.push(j.pop()+_-A);x.push(v(n.types[M],z,N,I-A,L-I,F)),j.push(A-_)}function v(x,j,_,C,A,I,M){if(I){let L=[rn.contextHash,I];M=M?[L].concat(M):[L]}if(A>25){let L=[rn.lookAhead,A];M=M?[L].concat(M):[L]}return new ns(x,j,_,C,M)}function g(x,j){let _=a.fork(),C=0,A=0,I=0,M=_.end-o,L={size:0,start:0,skip:0};e:for(let F=_.pos-x;_.pos>F;){let z=_.size;if(_.id==j&&z>=0){L.size=C,L.start=A,L.skip=I,I+=4,C+=4,_.next();continue}let N=_.pos-z;if(z<0||N=i?4:0,V=_.start;for(_.next();_.pos>N;){if(_.size<0)if(_.size==-3)X+=4;else break e;else _.id>=i&&(X+=4);_.next()}A=V,C+=z,I+=X}return(j<0||C==x)&&(L.size=C,L.start=A,L.skip=I),L.size>4?L:void 0}function y(x,j,_){let{id:C,start:A,end:I,size:M}=a;if(a.next(),M>=0&&C4){let F=a.pos-(M-4);for(;a.pos>F;)_=y(x,j,_)}j[--_]=L,j[--_]=I-x,j[--_]=A-x,j[--_]=C}else M==-3?c=C:M==-4&&(u=C);return _}let b=[],w=[];for(;a.pos>0;)d(e.start||0,e.bufferStart||0,b,w,-1,0);let k=(t=e.length)!==null&&t!==void 0?t:b.length?w[0]+b[0].length:0;return new ns(l[e.topID],b.reverse(),w.reverse(),k)}const n4=new WeakMap;function ub(e,t){if(!e.isAnonymous||t instanceof Zu||t.type!=e)return 1;let r=n4.get(t);if(r==null){r=1;for(let n of t.children){if(n.type!=e||!(n instanceof ns)){r=1;break}r+=ub(e,n)}n4.set(t,r)}return r}function ZA(e,t,r,n,o,s,i,a,l){let c=0;for(let m=n;m=u)break;j+=_}if(w==k+1){if(j>u){let _=m[k];f(_.children,_.positions,0,_.children.length,v[k]+b);continue}d.push(m[k])}else{let _=v[w-1]+m[w-1].length-x;d.push(ZA(e,m,v,k,w,x,_,null,l))}p.push(x+b-s)}}return f(t,r,n,o,0),(a||l)(d,p,i)}class Wd{constructor(t,r,n,o,s=!1,i=!1){this.from=t,this.to=r,this.tree=n,this.offset=o,this.open=(s?1:0)|(i?2:0)}get openStart(){return(this.open&1)>0}get openEnd(){return(this.open&2)>0}static addTree(t,r=[],n=!1){let o=[new Wd(0,t.length,t,0,!1,n)];for(let s of r)s.to>t.length&&o.push(s);return o}static applyChanges(t,r,n=128){if(!r.length)return t;let o=[],s=1,i=t.length?t[0]:null;for(let a=0,l=0,c=0;;a++){let u=a=n)for(;i&&i.from=p.from||d<=p.to||c){let f=Math.max(p.from,l)-c,m=Math.min(p.to,d)-c;p=f>=m?null:new Wd(f,m,p.tree,p.offset+c,a>0,!!u)}if(p&&o.push(p),i.to>d)break;i=snew oj(o.from,o.to)):[new oj(0,0)]:[new oj(0,t.length)],this.createParse(t,r||[],n)}parse(t,r,n){let o=this.startParse(t,r,n);for(;;){let s=o.advance();if(s)return s}}}class E2e{constructor(t){this.string=t}get length(){return this.string.length}chunk(t){return this.string.slice(t)}get lineChunks(){return!1}read(t,r){return this.string.slice(t,r)}}new rn({perNode:!0});let O2e=0;class ta{constructor(t,r,n,o){this.name=t,this.set=r,this.base=n,this.modified=o,this.id=O2e++}toString(){let{name:t}=this;for(let r of this.modified)r.name&&(t=`${r.name}(${t})`);return t}static define(t,r){let n=typeof t=="string"?t:"?";if(t instanceof ta&&(r=t),r==null?void 0:r.base)throw new Error("Can not derive from a modified tag");let o=new ta(n,[],null,[]);if(o.set.push(o),r)for(let s of r.set)o.set.push(s);return o}static defineModifier(t){let r=new d1(t);return n=>n.modified.indexOf(r)>-1?n:d1.get(n.base||n,n.modified.concat(r).sort((o,s)=>o.id-s.id))}}let $2e=0;class d1{constructor(t){this.name=t,this.instances=[],this.id=$2e++}static get(t,r){if(!r.length)return t;let n=r[0].instances.find(a=>a.base==t&&T2e(r,a.modified));if(n)return n;let o=[],s=new ta(t.name,o,t,r);for(let a of r)a.instances.push(s);let i=P2e(r);for(let a of t.set)if(!a.modified.length)for(let l of i)o.push(d1.get(a,l));return s}}function T2e(e,t){return e.length==t.length&&e.every((r,n)=>r==t[n])}function P2e(e){let t=[[]];for(let r=0;rn.length-r.length)}function I9(e){let t=Object.create(null);for(let r in e){let n=e[r];Array.isArray(n)||(n=[n]);for(let o of r.split(" "))if(o){let s=[],i=2,a=o;for(let d=0;;){if(a=="..."&&d>0&&d+3==o.length){i=1;break}let p=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a);if(!p)throw new RangeError("Invalid path: "+o);if(s.push(p[0]=="*"?"":p[0][0]=='"'?JSON.parse(p[0]):p[0]),d+=p[0].length,d==o.length)break;let f=o[d++];if(d==o.length&&f=="!"){i=0;break}if(f!="/")throw new RangeError("Invalid path: "+o);a=o.slice(d)}let l=s.length-1,c=s[l];if(!c)throw new RangeError("Invalid path: "+o);let u=new p1(n,i,l>0?s.slice(0,l):null);t[c]=u.sort(t[c])}}return D9.add(t)}const D9=new rn;let p1=class{constructor(e,t,r,n){this.tags=e,this.mode=t,this.context=r,this.next=n}get opaque(){return this.mode==0}get inherit(){return this.mode==1}sort(e){return!e||e.depth{let i=o;for(let a of s)for(let l of a.set){let c=r[l.id];if(c){i=i?i+" "+c:c;break}}return i},scope:n}}function I2e(e,t){let r=null;for(let n of e){let o=n.style(t);o&&(r=r?r+" "+o:o)}return r}function D2e(e,t,r,n=0,o=e.length){let s=new M2e(n,Array.isArray(t)?t:[t],r);s.highlightRange(e.cursor(),n,o,"",s.highlighters),s.flush(o)}class M2e{constructor(t,r,n){this.at=t,this.highlighters=r,this.span=n,this.class=""}startSpan(t,r){r!=this.class&&(this.flush(t),t>this.at&&(this.at=t),this.class=r)}flush(t){t>this.at&&this.class&&this.span(this.at,t,this.class)}highlightRange(t,r,n,o,s){let{type:i,from:a,to:l}=t;if(a>=n||l<=r)return;i.isTop&&(s=this.highlighters.filter(f=>!f.scope||f.scope(i)));let c=o,u=N2e(t)||p1.empty,d=I2e(s,u.tags);if(d&&(c&&(c+=" "),c+=d,u.mode==1&&(o+=(o?" ":"")+d)),this.startSpan(Math.max(r,a),c),u.opaque)return;let p=t.tree&&t.tree.prop(rn.mounted);if(p&&p.overlay){let f=t.node.enter(p.overlay[0].from+a,1),m=this.highlighters.filter(g=>!g.scope||g.scope(p.tree.type)),v=t.firstChild();for(let g=0,y=a;;g++){let b=g=w||!t.nextSibling())););if(!b||w>n)break;y=b.to+a,y>r&&(this.highlightRange(f.cursor(),Math.max(r,b.from+a),Math.min(n,y),"",m),this.startSpan(Math.min(n,y),c))}v&&t.parent()}else if(t.firstChild()){p&&(o="");do if(!(t.to<=r)){if(t.from>=n)break;this.highlightRange(t,r,n,o,s),this.startSpan(Math.min(n,t.to),c)}while(t.nextSibling());t.parent()}}}function N2e(e){let t=e.type.prop(D9);for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null}const mt=ta.define,v0=mt(),du=mt(),o4=mt(du),s4=mt(du),pu=mt(),y0=mt(pu),sj=mt(pu),dl=mt(),kd=mt(dl),ll=mt(),cl=mt(),zS=mt(),mm=mt(zS),b0=mt(),ct={comment:v0,lineComment:mt(v0),blockComment:mt(v0),docComment:mt(v0),name:du,variableName:mt(du),typeName:o4,tagName:mt(o4),propertyName:s4,attributeName:mt(s4),className:mt(du),labelName:mt(du),namespace:mt(du),macroName:mt(du),literal:pu,string:y0,docString:mt(y0),character:mt(y0),attributeValue:mt(y0),number:sj,integer:mt(sj),float:mt(sj),bool:mt(pu),regexp:mt(pu),escape:mt(pu),color:mt(pu),url:mt(pu),keyword:ll,self:mt(ll),null:mt(ll),atom:mt(ll),unit:mt(ll),modifier:mt(ll),operatorKeyword:mt(ll),controlKeyword:mt(ll),definitionKeyword:mt(ll),moduleKeyword:mt(ll),operator:cl,derefOperator:mt(cl),arithmeticOperator:mt(cl),logicOperator:mt(cl),bitwiseOperator:mt(cl),compareOperator:mt(cl),updateOperator:mt(cl),definitionOperator:mt(cl),typeOperator:mt(cl),controlOperator:mt(cl),punctuation:zS,separator:mt(zS),bracket:mm,angleBracket:mt(mm),squareBracket:mt(mm),paren:mt(mm),brace:mt(mm),content:dl,heading:kd,heading1:mt(kd),heading2:mt(kd),heading3:mt(kd),heading4:mt(kd),heading5:mt(kd),heading6:mt(kd),contentSeparator:mt(dl),list:mt(dl),quote:mt(dl),emphasis:mt(dl),strong:mt(dl),link:mt(dl),monospace:mt(dl),strikethrough:mt(dl),inserted:mt(),deleted:mt(),changed:mt(),invalid:mt(),meta:b0,documentMeta:mt(b0),annotation:mt(b0),processingInstruction:mt(b0),definition:ta.defineModifier("definition"),constant:ta.defineModifier("constant"),function:ta.defineModifier("function"),standard:ta.defineModifier("standard"),local:ta.defineModifier("local"),special:ta.defineModifier("special")};for(let e in ct){let t=ct[e];t instanceof ta&&(t.name=e)}M9([{tag:ct.link,class:"tok-link"},{tag:ct.heading,class:"tok-heading"},{tag:ct.emphasis,class:"tok-emphasis"},{tag:ct.strong,class:"tok-strong"},{tag:ct.keyword,class:"tok-keyword"},{tag:ct.atom,class:"tok-atom"},{tag:ct.bool,class:"tok-bool"},{tag:ct.url,class:"tok-url"},{tag:ct.labelName,class:"tok-labelName"},{tag:ct.inserted,class:"tok-inserted"},{tag:ct.deleted,class:"tok-deleted"},{tag:ct.literal,class:"tok-literal"},{tag:ct.string,class:"tok-string"},{tag:ct.number,class:"tok-number"},{tag:[ct.regexp,ct.escape,ct.special(ct.string)],class:"tok-string2"},{tag:ct.variableName,class:"tok-variableName"},{tag:ct.local(ct.variableName),class:"tok-variableName tok-local"},{tag:ct.definition(ct.variableName),class:"tok-variableName tok-definition"},{tag:ct.special(ct.variableName),class:"tok-variableName2"},{tag:ct.definition(ct.propertyName),class:"tok-propertyName tok-definition"},{tag:ct.typeName,class:"tok-typeName"},{tag:ct.namespace,class:"tok-namespace"},{tag:ct.className,class:"tok-className"},{tag:ct.macroName,class:"tok-macroName"},{tag:ct.propertyName,class:"tok-propertyName"},{tag:ct.operator,class:"tok-operator"},{tag:ct.comment,class:"tok-comment"},{tag:ct.meta,class:"tok-meta"},{tag:ct.invalid,class:"tok-invalid"},{tag:ct.punctuation,class:"tok-punctuation"}]);var ij;const Sf=new rn;function L2e(e){return At.define({combine:e?t=>t.concat(e):void 0})}const R2e=new rn;class Da{constructor(t,r,n=[],o=""){this.data=t,this.name=o,an.prototype.hasOwnProperty("tree")||Object.defineProperty(an.prototype,"tree",{get(){return Ws(this)}}),this.parser=r,this.extension=[Xu.of(this),an.languageData.of((s,i,a)=>{let l=i4(s,i,a),c=l.type.prop(Sf);if(!c)return[];let u=s.facet(c),d=l.type.prop(R2e);if(d){let p=l.resolve(i-l.from,a);for(let f of d)if(f.test(p,s)){let m=s.facet(f.facet);return f.type=="replace"?m:m.concat(u)}}return u})].concat(n)}isActiveAt(t,r,n=-1){return i4(t,r,n).type.prop(Sf)==this.data}findRegions(t){let r=t.facet(Xu);if((r==null?void 0:r.data)==this.data)return[{from:0,to:t.doc.length}];if(!r||!r.allowsNesting)return[];let n=[],o=(s,i)=>{if(s.prop(Sf)==this.data){n.push({from:i,to:i+s.length});return}let a=s.prop(rn.mounted);if(a){if(a.tree.prop(Sf)==this.data){if(a.overlay)for(let l of a.overlay)n.push({from:l.from+i,to:l.to+i});else n.push({from:i,to:i+s.length});return}else if(a.overlay){let l=n.length;if(o(a.tree,a.overlay[0].from+i),n.length>l)return}}for(let l=0;ln.isTop?r:void 0)]}),t.name)}configure(t,r){return new f1(this.data,this.parser.configure(t),r||this.name)}get allowsNesting(){return this.parser.hasWrappers()}}function Ws(e){let t=e.field(Da.state,!1);return t?t.tree:ns.empty}class B2e{constructor(t){this.doc=t,this.cursorPos=0,this.string="",this.cursor=t.iter()}get length(){return this.doc.length}syncTo(t){return this.string=this.cursor.next(t-this.cursorPos).value,this.cursorPos=t+this.string.length,this.cursorPos-this.string.length}chunk(t){return this.syncTo(t),this.string}get lineChunks(){return!0}read(t,r){let n=this.cursorPos-this.string.length;return t=this.cursorPos?this.doc.sliceString(t,r):this.string.slice(t-n,r-n)}}let gm=null;class h1{constructor(t,r,n=[],o,s,i,a,l){this.parser=t,this.state=r,this.fragments=n,this.tree=o,this.treeLen=s,this.viewport=i,this.skipped=a,this.scheduleOn=l,this.parse=null,this.tempSkipped=[]}static create(t,r,n){return new h1(t,r,[],ns.empty,0,n,[],null)}startParse(){return this.parser.startParse(new B2e(this.state.doc),this.fragments)}work(t,r){return r!=null&&r>=this.state.doc.length&&(r=void 0),this.tree!=ns.empty&&this.isDone(r??this.state.doc.length)?(this.takeTree(),!0):this.withContext(()=>{var n;if(typeof t=="number"){let o=Date.now()+t;t=()=>Date.now()>o}for(this.parse||(this.parse=this.startParse()),r!=null&&(this.parse.stoppedAt==null||this.parse.stoppedAt>r)&&r=this.treeLen&&((this.parse.stoppedAt==null||this.parse.stoppedAt>t)&&this.parse.stopAt(t),this.withContext(()=>{for(;!(r=this.parse.advance()););}),this.treeLen=t,this.tree=r,this.fragments=this.withoutTempSkipped(Wd.addTree(this.tree,this.fragments,!0)),this.parse=null)}withContext(t){let r=gm;gm=this;try{return t()}finally{gm=r}}withoutTempSkipped(t){for(let r;r=this.tempSkipped.pop();)t=a4(t,r.from,r.to);return t}changes(t,r){let{fragments:n,tree:o,treeLen:s,viewport:i,skipped:a}=this;if(this.takeTree(),!t.empty){let l=[];if(t.iterChangedRanges((c,u,d,p)=>l.push({fromA:c,toA:u,fromB:d,toB:p})),n=Wd.applyChanges(n,l),o=ns.empty,s=0,i={from:t.mapPos(i.from,-1),to:t.mapPos(i.to,1)},this.skipped.length){a=[];for(let c of this.skipped){let u=t.mapPos(c.from,1),d=t.mapPos(c.to,-1);ut.from&&(this.fragments=a4(this.fragments,o,s),this.skipped.splice(n--,1))}return this.skipped.length>=r?!1:(this.reset(),!0)}reset(){this.parse&&(this.takeTree(),this.parse=null)}skipUntilInView(t,r){this.skipped.push({from:t,to:r})}static getSkippingParser(t){return new class extends P9{createParse(r,n,o){let s=o[0].from,i=o[o.length-1].to;return{parsedPos:s,advance(){let a=gm;if(a){for(let l of o)a.tempSkipped.push(l);t&&(a.scheduleOn=a.scheduleOn?Promise.all([a.scheduleOn,t]):t)}return this.parsedPos=i,new ns(ji.none,[],[],i-s)},stoppedAt:null,stopAt(){}}}}}isDone(t){t=Math.min(t,this.state.doc.length);let r=this.fragments;return this.treeLen>=t&&r.length&&r[0].from==0&&r[0].to>=t}static get(){return gm}}function a4(e,t,r){return Wd.applyChanges(e,[{fromA:t,toA:r,fromB:t,toB:r}])}class ph{constructor(t){this.context=t,this.tree=t.tree}apply(t){if(!t.docChanged&&this.tree==this.context.tree)return this;let r=this.context.changes(t.changes,t.state),n=this.context.treeLen==t.startState.doc.length?void 0:Math.max(t.changes.mapPos(this.context.treeLen),r.viewport.to);return r.work(20,n)||r.takeTree(),new ph(r)}static init(t){let r=Math.min(3e3,t.doc.length),n=h1.create(t.facet(Xu).parser,t,{from:0,to:r});return n.work(20,r)||n.takeTree(),new ph(n)}}Da.state=js.define({create:ph.init,update(e,t){for(let r of t.effects)if(r.is(Da.setState))return r.value;return t.startState.facet(Xu)!=t.state.facet(Xu)?ph.init(t.state):e.apply(t)}});let N9=e=>{let t=setTimeout(()=>e(),500);return()=>clearTimeout(t)};typeof requestIdleCallback<"u"&&(N9=e=>{let t=-1,r=setTimeout(()=>{t=requestIdleCallback(e,{timeout:400})},100);return()=>t<0?clearTimeout(r):cancelIdleCallback(t)});const aj=typeof navigator<"u"&&!((ij=navigator.scheduling)===null||ij===void 0)&&ij.isInputPending?()=>navigator.scheduling.isInputPending():null,q2e=Lo.fromClass(class{constructor(e){this.view=e,this.working=null,this.workScheduled=0,this.chunkEnd=-1,this.chunkBudget=-1,this.work=this.work.bind(this),this.scheduleWork()}update(e){let t=this.view.state.field(Da.state).context;(t.updateViewport(e.view.viewport)||this.view.viewport.to>t.treeLen)&&this.scheduleWork(),(e.docChanged||e.selectionSet)&&(this.view.hasFocus&&(this.chunkBudget+=50),this.scheduleWork()),this.checkAsyncSchedule(t)}scheduleWork(){if(this.working)return;let{state:e}=this.view,t=e.field(Da.state);(t.tree!=t.context.tree||!t.context.isDone(e.doc.length))&&(this.working=N9(this.work))}work(e){this.working=null;let t=Date.now();if(this.chunkEndn+1e3,a=o.context.work(()=>aj&&aj()||Date.now()>s,n+(i?0:1e5));this.chunkBudget-=Date.now()-t,(a||this.chunkBudget<=0)&&(o.context.takeTree(),this.view.dispatch({effects:Da.setState.of(new ph(o.context))})),this.chunkBudget>0&&!(a&&!i)&&this.scheduleWork(),this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){e.scheduleOn&&(this.workScheduled++,e.scheduleOn.then(()=>this.scheduleWork()).catch(t=>oi(this.view.state,t)).then(()=>this.workScheduled--),e.scheduleOn=null)}destroy(){this.working&&this.working()}isWorking(){return!!(this.working||this.workScheduled>0)}},{eventHandlers:{focus(){this.scheduleWork()}}}),Xu=At.define({combine(e){return e.length?e[0]:null},enables:e=>[Da.state,q2e,jt.contentAttributes.compute([e],t=>{let r=t.facet(e);return r&&r.name?{"data-language":r.name}:{}})]});class z2e{constructor(t,r=[]){this.language=t,this.support=r,this.extension=[t,r]}}const F2e=At.define(),ix=At.define({combine:e=>{if(!e.length)return" ";let t=e[0];if(!t||/\S/.test(t)||Array.from(t).some(r=>r!=t[0]))throw new Error("Invalid indent unit: "+JSON.stringify(e[0]));return t}});function Yu(e){let t=e.facet(ix);return t.charCodeAt(0)==9?e.tabSize*t.length:t.length}function Rg(e,t){let r="",n=e.tabSize,o=e.facet(ix)[0];if(o==" "){for(;t>=n;)r+=" ",t-=n;o=" "}for(let s=0;s=t?V2e(e,r,t):null}class ax{constructor(t,r={}){this.state=t,this.options=r,this.unit=Yu(t)}lineAt(t,r=1){let n=this.state.doc.lineAt(t),{simulateBreak:o,simulateDoubleBreak:s}=this.options;return o!=null&&o>=n.from&&o<=n.to?s&&o==t?{text:"",from:t}:(r<0?o-1&&(s+=i-this.countColumn(n,n.search(/\S|$/))),s}countColumn(t,r=t.length){return Ih(t,this.state.tabSize,r)}lineIndent(t,r=1){let{text:n,from:o}=this.lineAt(t,r),s=this.options.overrideIndentation;if(s){let i=s(o);if(i>-1)return i}return this.countColumn(n,n.search(/\S|$/))}get simulatedBreak(){return this.options.simulateBreak||null}}const L9=new rn;function V2e(e,t,r){let n=t.resolveStack(r),o=t.resolveInner(r,-1).resolve(r,0).enterUnfinishedNodesBefore(r);if(o!=n.node){let s=[];for(let i=o;i&&!(i.from==n.node.from&&i.type==n.node.type);i=i.parent)s.push(i);for(let i=s.length-1;i>=0;i--)n={node:s[i],next:n}}return R9(n,e,r)}function R9(e,t,r){for(let n=e;n;n=n.next){let o=H2e(n.node);if(o)return o(YA.create(t,r,n))}return 0}function U2e(e){return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak}function H2e(e){let t=e.type.prop(L9);if(t)return t;let r=e.firstChild,n;if(r&&(n=r.type.prop(rn.closedBy))){let o=e.lastChild,s=o&&n.indexOf(o.name)>-1;return i=>K2e(i,!0,1,void 0,s&&!U2e(i)?o.from:void 0)}return e.parent==null?W2e:null}function W2e(){return 0}class YA extends ax{constructor(t,r,n){super(t.state,t.options),this.base=t,this.pos=r,this.context=n}get node(){return this.context.node}static create(t,r,n){return new YA(t,r,n)}get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){return this.baseIndentFor(this.node)}baseIndentFor(t){let r=this.state.doc.lineAt(t.from);for(;;){let n=t.resolve(r.from);for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(G2e(n,t))break;r=this.state.doc.lineAt(n.from)}return this.lineIndent(r.from)}continue(){return R9(this.context.next,this.base,this.pos)}}function G2e(e,t){for(let r=t;r;r=r.parent)if(e==r)return!0;return!1}function J2e(e){let t=e.node,r=t.childAfter(t.from),n=t.lastChild;if(!r)return null;let o=e.options.simulateBreak,s=e.state.doc.lineAt(r.from),i=o==null||o<=s.from?s.to:Math.min(s.to,o);for(let a=r.to;;){let l=t.childAfter(a);if(!l||l==n)return null;if(!l.type.isSkipped){if(l.from>=i)return null;let c=/^ */.exec(s.text.slice(r.to-s.from))[0].length;return{from:r.from,to:r.to+c}}a=l.to}}function K2e(e,t,r,n,o){let s=e.textAfter,i=s.match(/^\s*/)[0].length,a=o==e.pos+i,l=J2e(e);return l?a?e.column(l.from):e.column(l.to):e.baseIndent+(a?0:e.unit*r)}function l4({except:e,units:t=1}={}){return r=>{let n=e&&e.test(r.textAfter);return r.baseIndent+(n?0:t*r.unit)}}const Q2e=200;function Z2e(){return an.transactionFilter.of(e=>{if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head);if(!t.length)return e;let r=e.newDoc,{head:n}=e.newSelection.main,o=r.lineAt(n);if(n>o.from+Q2e)return e;let s=r.sliceString(o.from,n);if(!t.some(c=>c.test(s)))return e;let{state:i}=e,a=-1,l=[];for(let{head:c}of i.selection.ranges){let u=i.doc.lineAt(c);if(u.from==a)continue;a=u.from;let d=XA(i,u.from);if(d==null)continue;let p=/^\s*/.exec(u.text)[0],f=Rg(i,d);p!=f&&l.push({from:u.from,to:u.from+p.length,insert:f})}return l.length?[e,{changes:l,sequential:!0}]:e})}const X2e=At.define(),B9=new rn;function Y2e(e){let t=e.firstChild,r=e.lastChild;return t&&t.tor)continue;if(s&&a.from=t&&c.to>r&&(s=c)}}return s}function tCe(e){let t=e.lastChild;return t&&t.to==e.to&&t.type.isError}function m1(e,t,r){for(let n of e.facet(X2e)){let o=n(e,t,r);if(o)return o}return eCe(e,t,r)}function q9(e,t){let r=t.mapPos(e.from,1),n=t.mapPos(e.to,-1);return r>=n?void 0:{from:r,to:n}}const lx=Gr.define({map:q9}),$v=Gr.define({map:q9});function z9(e){let t=[];for(let{head:r}of e.state.selection.ranges)t.some(n=>n.from<=r&&n.to>=r)||t.push(e.lineBlockAt(r));return t}const up=js.define({create(){return kr.none},update(e,t){e=e.map(t.changes);for(let r of t.effects)if(r.is(lx)&&!rCe(e,r.value.from,r.value.to)){let{preparePlaceholder:n}=t.state.facet(U9),o=n?kr.replace({widget:new cCe(n(t.state,r.value))}):c4;e=e.update({add:[o.range(r.value.from,r.value.to)]})}else r.is($v)&&(e=e.update({filter:(n,o)=>r.value.from!=n||r.value.to!=o,filterFrom:r.value.from,filterTo:r.value.to}));if(t.selection){let r=!1,{head:n}=t.selection.main;e.between(n,n,(o,s)=>{on&&(r=!0)}),r&&(e=e.update({filterFrom:n,filterTo:n,filter:(o,s)=>s<=n||o>=n}))}return e},provide:e=>jt.decorations.from(e),toJSON(e,t){let r=[];return e.between(0,t.doc.length,(n,o)=>{r.push(n,o)}),r},fromJSON(e){if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state");let t=[];for(let r=0;r{(!o||o.from>s)&&(o={from:s,to:i})}),o}function rCe(e,t,r){let n=!1;return e.between(t,t,(o,s)=>{o==t&&s==r&&(n=!0)}),n}function F9(e,t){return e.field(up,!1)?t:t.concat(Gr.appendConfig.of(H9()))}const nCe=e=>{for(let t of z9(e)){let r=m1(e.state,t.from,t.to);if(r)return e.dispatch({effects:F9(e.state,[lx.of(r),V9(e,r)])}),!0}return!1},oCe=e=>{if(!e.state.field(up,!1))return!1;let t=[];for(let r of z9(e)){let n=g1(e.state,r.from,r.to);n&&t.push($v.of(n),V9(e,n,!1))}return t.length&&e.dispatch({effects:t}),t.length>0};function V9(e,t,r=!0){let n=e.state.doc.lineAt(t.from).number,o=e.state.doc.lineAt(t.to).number;return jt.announce.of(`${e.state.phrase(r?"Folded lines":"Unfolded lines")} ${n} ${e.state.phrase("to")} ${o}.`)}const sCe=e=>{let{state:t}=e,r=[];for(let n=0;n{let t=e.state.field(up,!1);if(!t||!t.size)return!1;let r=[];return t.between(0,e.state.doc.length,(n,o)=>{r.push($v.of({from:n,to:o}))}),e.dispatch({effects:r}),!0},aCe=[{key:"Ctrl-Shift-[",mac:"Cmd-Alt-[",run:nCe},{key:"Ctrl-Shift-]",mac:"Cmd-Alt-]",run:oCe},{key:"Ctrl-Alt-[",run:sCe},{key:"Ctrl-Alt-]",run:iCe}],lCe={placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},U9=At.define({combine(e){return ol(e,lCe)}});function H9(e){return[up,pCe]}function W9(e,t){let{state:r}=e,n=r.facet(U9),o=i=>{let a=e.lineBlockAt(e.posAtDOM(i.target)),l=g1(e.state,a.from,a.to);l&&e.dispatch({effects:$v.of(l)}),i.preventDefault()};if(n.placeholderDOM)return n.placeholderDOM(e,o,t);let s=document.createElement("span");return s.textContent=n.placeholderText,s.setAttribute("aria-label",r.phrase("folded code")),s.title=r.phrase("unfold"),s.className="cm-foldPlaceholder",s.onclick=o,s}const c4=kr.replace({widget:new class extends ud{toDOM(e){return W9(e,null)}}});class cCe extends ud{constructor(t){super(),this.value=t}eq(t){return this.value==t.value}toDOM(t){return W9(t,this.value)}}const uCe={openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},foldingChanged:()=>!1};class lj extends Nl{constructor(t,r){super(),this.config=t,this.open=r}eq(t){return this.config==t.config&&this.open==t.open}toDOM(t){if(this.config.markerDOM)return this.config.markerDOM(this.open);let r=document.createElement("span");return r.textContent=this.open?this.config.openText:this.config.closedText,r.title=t.state.phrase(this.open?"Fold line":"Unfold line"),r}}function dCe(e={}){let t=Object.assign(Object.assign({},uCe),e),r=new lj(t,!0),n=new lj(t,!1),o=Lo.fromClass(class{constructor(i){this.from=i.viewport.from,this.markers=this.buildMarkers(i)}update(i){(i.docChanged||i.viewportChanged||i.startState.facet(Xu)!=i.state.facet(Xu)||i.startState.field(up,!1)!=i.state.field(up,!1)||Ws(i.startState)!=Ws(i.state)||t.foldingChanged(i))&&(this.markers=this.buildMarkers(i.view))}buildMarkers(i){let a=new Qa;for(let l of i.viewportLineBlocks){let c=g1(i.state,l.from,l.to)?n:m1(i.state,l.from,l.to)?r:null;c&&a.add(l.from,l.from,c)}return a.finish()}}),{domEventHandlers:s}=t;return[o,S9({class:"cm-foldGutter",markers(i){var a;return((a=i.plugin(o))===null||a===void 0?void 0:a.markers)||pn.empty},initialSpacer(){return new lj(t,!1)},domEventHandlers:Object.assign(Object.assign({},s),{click:(i,a,l)=>{if(s.click&&s.click(i,a,l))return!0;let c=g1(i.state,a.from,a.to);if(c)return i.dispatch({effects:$v.of(c)}),!0;let u=m1(i.state,a.from,a.to);return u?(i.dispatch({effects:lx.of(u)}),!0):!1}})}),H9()]}const pCe=jt.baseTheme({".cm-foldPlaceholder":{backgroundColor:"#eee",border:"1px solid #ddd",color:"#888",borderRadius:".2em",margin:"0 1px",padding:"0 1px",cursor:"pointer"},".cm-foldGutter span":{padding:"0 1px",cursor:"pointer"}});class Tv{constructor(t,r){this.specs=t;let n;function o(a){let l=Ju.newName();return(n||(n=Object.create(null)))["."+l]=a,l}const s=typeof r.all=="string"?r.all:r.all?o(r.all):void 0,i=r.scope;this.scope=i instanceof Da?a=>a.prop(Sf)==i.data:i?a=>a==i:void 0,this.style=M9(t.map(a=>({tag:a.tag,class:a.class||o(Object.assign({},a,{tag:null}))})),{all:s}).style,this.module=n?new Ju(n):null,this.themeType=r.themeType}static define(t,r){return new Tv(t,r||{})}}const FS=At.define(),G9=At.define({combine(e){return e.length?[e[0]]:null}});function cj(e){let t=e.facet(FS);return t.length?t:e.facet(G9)}function J9(e,t){let r=[hCe],n;return e instanceof Tv&&(e.module&&r.push(jt.styleModule.of(e.module)),n=e.themeType),t!=null&&t.fallback?r.push(G9.of(e)):n?r.push(FS.computeN([jt.darkTheme],o=>o.facet(jt.darkTheme)==(n=="dark")?[e]:[])):r.push(FS.of(e)),r}class fCe{constructor(t){this.markCache=Object.create(null),this.tree=Ws(t.state),this.decorations=this.buildDeco(t,cj(t.state)),this.decoratedTo=t.viewport.to}update(t){let r=Ws(t.state),n=cj(t.state),o=n!=cj(t.startState),{viewport:s}=t.view,i=t.changes.mapPos(this.decoratedTo,1);r.length=s.to?(this.decorations=this.decorations.map(t.changes),this.decoratedTo=i):(r!=this.tree||t.viewportChanged||o)&&(this.tree=r,this.decorations=this.buildDeco(t.view,n),this.decoratedTo=s.to)}buildDeco(t,r){if(!r||!this.tree.length)return kr.none;let n=new Qa;for(let{from:o,to:s}of t.visibleRanges)D2e(this.tree,r,(i,a,l)=>{n.add(i,a,this.markCache[l]||(this.markCache[l]=kr.mark({class:l})))},o,s);return n.finish()}}const hCe=Dp.high(Lo.fromClass(fCe,{decorations:e=>e.decorations})),mCe=Tv.define([{tag:ct.meta,color:"#404740"},{tag:ct.link,textDecoration:"underline"},{tag:ct.heading,textDecoration:"underline",fontWeight:"bold"},{tag:ct.emphasis,fontStyle:"italic"},{tag:ct.strong,fontWeight:"bold"},{tag:ct.strikethrough,textDecoration:"line-through"},{tag:ct.keyword,color:"#708"},{tag:[ct.atom,ct.bool,ct.url,ct.contentSeparator,ct.labelName],color:"#219"},{tag:[ct.literal,ct.inserted],color:"#164"},{tag:[ct.string,ct.deleted],color:"#a11"},{tag:[ct.regexp,ct.escape,ct.special(ct.string)],color:"#e40"},{tag:ct.definition(ct.variableName),color:"#00f"},{tag:ct.local(ct.variableName),color:"#30a"},{tag:[ct.typeName,ct.namespace],color:"#085"},{tag:ct.className,color:"#167"},{tag:[ct.special(ct.variableName),ct.macroName],color:"#256"},{tag:ct.definition(ct.propertyName),color:"#00c"},{tag:ct.comment,color:"#940"},{tag:ct.invalid,color:"#f00"}]),gCe=jt.baseTheme({"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}}),K9=1e4,Q9="()[]{}",Z9=At.define({combine(e){return ol(e,{afterCursor:!0,brackets:Q9,maxScanDistance:K9,renderMatch:bCe})}}),vCe=kr.mark({class:"cm-matchingBracket"}),yCe=kr.mark({class:"cm-nonmatchingBracket"});function bCe(e){let t=[],r=e.matched?vCe:yCe;return t.push(r.range(e.start.from,e.start.to)),e.end&&t.push(r.range(e.end.from,e.end.to)),t}const wCe=js.define({create(){return kr.none},update(e,t){if(!t.docChanged&&!t.selection)return e;let r=[],n=t.state.facet(Z9);for(let o of t.state.selection.ranges){if(!o.empty)continue;let s=kl(t.state,o.head,-1,n)||o.head>0&&kl(t.state,o.head-1,1,n)||n.afterCursor&&(kl(t.state,o.head,1,n)||o.headjt.decorations.from(e)}),xCe=[wCe,gCe];function kCe(e={}){return[Z9.of(e),xCe]}const jCe=new rn;function VS(e,t,r){let n=e.prop(t<0?rn.openedBy:rn.closedBy);if(n)return n;if(e.name.length==1){let o=r.indexOf(e.name);if(o>-1&&o%2==(t<0?1:0))return[r[o+t]]}return null}function US(e){let t=e.type.prop(jCe);return t?t(e.node):e}function kl(e,t,r,n={}){let o=n.maxScanDistance||K9,s=n.brackets||Q9,i=Ws(e),a=i.resolveInner(t,r);for(let l=a;l;l=l.parent){let c=VS(l.type,r,s);if(c&&l.from0?t>=u.from&&tu.from&&t<=u.to))return _Ce(e,t,r,l,u,c,s)}}return SCe(e,t,r,i,a.type,o,s)}function _Ce(e,t,r,n,o,s,i){let a=n.parent,l={from:o.from,to:o.to},c=0,u=a==null?void 0:a.cursor();if(u&&(r<0?u.childBefore(n.from):u.childAfter(n.to)))do if(r<0?u.to<=n.from:u.from>=n.to){if(c==0&&s.indexOf(u.type.name)>-1&&u.from0)return null;let c={from:r<0?t-1:t,to:r>0?t+1:t},u=e.doc.iterRange(t,r>0?e.doc.length:0),d=0;for(let p=0;!u.next().done&&p<=s;){let f=u.value;r<0&&(p+=f.length);let m=t+p*r;for(let v=r>0?0:f.length-1,g=r>0?f.length:-1;v!=g;v+=r){let y=i.indexOf(f[v]);if(!(y<0||n.resolveInner(m+v,1).type!=o))if(y%2==0==r>0)d++;else{if(d==1)return{start:c,end:{from:m+v,to:m+v+1},matched:y>>1==l>>1};d--}}r>0&&(p+=f.length)}return u.done?{start:c,matched:!1}:null}const CCe=Object.create(null),u4=[ji.none],d4=[],p4=Object.create(null),ACe=Object.create(null);for(let[e,t]of[["variable","variableName"],["variable-2","variableName.special"],["string-2","string.special"],["def","variableName.definition"],["tag","tagName"],["attribute","attributeName"],["type","typeName"],["builtin","variableName.standard"],["qualifier","modifier"],["error","invalid"],["header","heading"],["property","propertyName"]])ACe[e]=ECe(CCe,t);function uj(e,t){d4.indexOf(e)>-1||(d4.push(e),console.warn(t))}function ECe(e,t){let r=[];for(let a of t.split(" ")){let l=[];for(let c of a.split(".")){let u=e[c]||ct[c];u?typeof u=="function"?l.length?l=l.map(u):uj(c,`Modifier ${c} used at start of tag`):l.length?uj(c,`Tag ${c} used as modifier`):l=Array.isArray(u)?u:[u]:uj(c,`Unknown highlighting tag ${c}`)}for(let c of l)r.push(c)}if(!r.length)return 0;let n=t.replace(/ /g,"_"),o=n+" "+r.map(a=>a.id),s=p4[o];if(s)return s.id;let i=p4[o]=ji.define({id:u4.length,name:n,props:[I9({[n]:r})]});return u4.push(i),i.id}Co.RTL,Co.LTR;const OCe=e=>{let{state:t}=e,r=t.doc.lineAt(t.selection.main.from),n=tE(e.state,r.from);return n.line?$Ce(e):n.block?PCe(e):!1};function eE(e,t){return({state:r,dispatch:n})=>{if(r.readOnly)return!1;let o=e(t,r);return o?(n(r.update(o)),!0):!1}}const $Ce=eE(MCe,0),TCe=eE(X9,0),PCe=eE((e,t)=>X9(e,t,DCe(t)),0);function tE(e,t){let r=e.languageDataAt("commentTokens",t);return r.length?r[0]:{}}const vm=50;function ICe(e,{open:t,close:r},n,o){let s=e.sliceDoc(n-vm,n),i=e.sliceDoc(o,o+vm),a=/\s*$/.exec(s)[0].length,l=/^\s*/.exec(i)[0].length,c=s.length-a;if(s.slice(c-t.length,c)==t&&i.slice(l,l+r.length)==r)return{open:{pos:n-a,margin:a&&1},close:{pos:o+l,margin:l&&1}};let u,d;o-n<=2*vm?u=d=e.sliceDoc(n,o):(u=e.sliceDoc(n,n+vm),d=e.sliceDoc(o-vm,o));let p=/^\s*/.exec(u)[0].length,f=/\s*$/.exec(d)[0].length,m=d.length-f-r.length;return u.slice(p,p+t.length)==t&&d.slice(m,m+r.length)==r?{open:{pos:n+p+t.length,margin:/\s/.test(u.charAt(p+t.length))?1:0},close:{pos:o-f-r.length,margin:/\s/.test(d.charAt(m-1))?1:0}}:null}function DCe(e){let t=[];for(let r of e.selection.ranges){let n=e.doc.lineAt(r.from),o=r.to<=n.to?n:e.doc.lineAt(r.to);o.from>n.from&&o.from==r.to&&(o=r.to==n.to+1?n:e.doc.lineAt(r.to-1));let s=t.length-1;s>=0&&t[s].to>n.from?t[s].to=o.to:t.push({from:n.from+/^\s*/.exec(n.text)[0].length,to:o.to})}return t}function X9(e,t,r=t.selection.ranges){let n=r.map(s=>tE(t,s.from).block);if(!n.every(s=>s))return null;let o=r.map((s,i)=>ICe(t,n[i],s.from,s.to));if(e!=2&&!o.every(s=>s))return{changes:t.changes(r.map((s,i)=>o[i]?[]:[{from:s.from,insert:n[i].open+" "},{from:s.to,insert:" "+n[i].close}]))};if(e!=1&&o.some(s=>s)){let s=[];for(let i=0,a;io&&(s==i||i>d.from)){o=d.from;let p=/^\s*/.exec(d.text)[0].length,f=p==d.length,m=d.text.slice(p,p+c.length)==c?p:-1;ps.comment<0&&(!s.empty||s.single))){let s=[];for(let{line:a,token:l,indent:c,empty:u,single:d}of n)(d||!u)&&s.push({from:a.from+c,insert:l+" "});let i=t.changes(s);return{changes:i,selection:t.selection.map(i,1)}}else if(e!=1&&n.some(s=>s.comment>=0)){let s=[];for(let{line:i,comment:a,token:l}of n)if(a>=0){let c=i.from+a,u=c+l.length;i.text[u-i.from]==" "&&u++,s.push({from:c,to:u})}return{changes:s}}return null}function Dh(e,t){return Je.create(e.ranges.map(t),e.mainIndex)}function Jl(e,t){return e.update({selection:t,scrollIntoView:!0,userEvent:"select"})}function sl({state:e,dispatch:t},r){let n=Dh(e.selection,r);return n.eq(e.selection,!0)?!1:(t(Jl(e,n)),!0)}function cx(e,t){return Je.cursor(t?e.to:e.from)}function Y9(e,t){return sl(e,r=>r.empty?e.moveByChar(r,t):cx(r,t))}function Js(e){return e.textDirectionAt(e.state.selection.main.head)==Co.LTR}const eq=e=>Y9(e,!Js(e)),tq=e=>Y9(e,Js(e));function rq(e,t){return sl(e,r=>r.empty?e.moveByGroup(r,t):cx(r,t))}const NCe=e=>rq(e,!Js(e)),LCe=e=>rq(e,Js(e));function RCe(e,t,r){if(t.type.prop(r))return!0;let n=t.to-t.from;return n&&(n>2||/[^\s,.;:]/.test(e.sliceDoc(t.from,t.to)))||t.firstChild}function ux(e,t,r){let n=Ws(e).resolveInner(t.head),o=r?rn.closedBy:rn.openedBy;for(let l=t.head;;){let c=r?n.childAfter(l):n.childBefore(l);if(!c)break;RCe(e,c,o)?n=c:l=r?c.to:c.from}let s=n.type.prop(o),i,a;return s&&(i=r?kl(e,n.from,1):kl(e,n.to,-1))&&i.matched?a=r?i.end.to:i.end.from:a=r?n.to:n.from,Je.cursor(a,r?-1:1)}const BCe=e=>sl(e,t=>ux(e.state,t,!Js(e))),qCe=e=>sl(e,t=>ux(e.state,t,Js(e)));function nq(e,t){return sl(e,r=>{if(!r.empty)return cx(r,t);let n=e.moveVertically(r,t);return n.head!=r.head?n:e.moveToLineBoundary(r,t)})}const oq=e=>nq(e,!1),sq=e=>nq(e,!0);function iq(e){let t=e.scrollDOM.clientHeighti.empty?e.moveVertically(i,t,r.height):cx(i,t));if(o.eq(n.selection))return!1;let s;if(r.selfScroll){let i=e.coordsAtPos(n.selection.main.head),a=e.scrollDOM.getBoundingClientRect(),l=a.top+r.marginTop,c=a.bottom-r.marginBottom;i&&i.top>l&&i.bottomaq(e,!1),HS=e=>aq(e,!0);function dd(e,t,r){let n=e.lineBlockAt(t.head),o=e.moveToLineBoundary(t,r);if(o.head==t.head&&o.head!=(r?n.to:n.from)&&(o=e.moveToLineBoundary(t,r,!1)),!r&&o.head==n.from&&n.length){let s=/^\s*/.exec(e.state.sliceDoc(n.from,Math.min(n.from+100,n.to)))[0].length;s&&t.head!=n.from+s&&(o=Je.cursor(n.from+s))}return o}const zCe=e=>sl(e,t=>dd(e,t,!0)),FCe=e=>sl(e,t=>dd(e,t,!1)),VCe=e=>sl(e,t=>dd(e,t,!Js(e))),UCe=e=>sl(e,t=>dd(e,t,Js(e))),HCe=e=>sl(e,t=>Je.cursor(e.lineBlockAt(t.head).from,1)),WCe=e=>sl(e,t=>Je.cursor(e.lineBlockAt(t.head).to,-1));function GCe(e,t,r){let n=!1,o=Dh(e.selection,s=>{let i=kl(e,s.head,-1)||kl(e,s.head,1)||s.head>0&&kl(e,s.head-1,1)||s.headGCe(e,t);function ba(e,t){let r=Dh(e.state.selection,n=>{let o=t(n);return Je.range(n.anchor,o.head,o.goalColumn,o.bidiLevel||void 0)});return r.eq(e.state.selection)?!1:(e.dispatch(Jl(e.state,r)),!0)}function lq(e,t){return ba(e,r=>e.moveByChar(r,t))}const cq=e=>lq(e,!Js(e)),uq=e=>lq(e,Js(e));function dq(e,t){return ba(e,r=>e.moveByGroup(r,t))}const KCe=e=>dq(e,!Js(e)),QCe=e=>dq(e,Js(e)),ZCe=e=>ba(e,t=>ux(e.state,t,!Js(e))),XCe=e=>ba(e,t=>ux(e.state,t,Js(e)));function pq(e,t){return ba(e,r=>e.moveVertically(r,t))}const fq=e=>pq(e,!1),hq=e=>pq(e,!0);function mq(e,t){return ba(e,r=>e.moveVertically(r,t,iq(e).height))}const h4=e=>mq(e,!1),m4=e=>mq(e,!0),YCe=e=>ba(e,t=>dd(e,t,!0)),eAe=e=>ba(e,t=>dd(e,t,!1)),tAe=e=>ba(e,t=>dd(e,t,!Js(e))),rAe=e=>ba(e,t=>dd(e,t,Js(e))),nAe=e=>ba(e,t=>Je.cursor(e.lineBlockAt(t.head).from)),oAe=e=>ba(e,t=>Je.cursor(e.lineBlockAt(t.head).to)),g4=({state:e,dispatch:t})=>(t(Jl(e,{anchor:0})),!0),v4=({state:e,dispatch:t})=>(t(Jl(e,{anchor:e.doc.length})),!0),y4=({state:e,dispatch:t})=>(t(Jl(e,{anchor:e.selection.main.anchor,head:0})),!0),b4=({state:e,dispatch:t})=>(t(Jl(e,{anchor:e.selection.main.anchor,head:e.doc.length})),!0),sAe=({state:e,dispatch:t})=>(t(e.update({selection:{anchor:0,head:e.doc.length},userEvent:"select"})),!0),iAe=({state:e,dispatch:t})=>{let r=dx(e).map(({from:n,to:o})=>Je.range(n,Math.min(o+1,e.doc.length)));return t(e.update({selection:Je.create(r),userEvent:"select"})),!0},aAe=({state:e,dispatch:t})=>{let r=Dh(e.selection,n=>{let o=Ws(e),s=o.resolveStack(n.from,1);if(n.empty){let i=o.resolveStack(n.from,-1);i.node.from>=s.node.from&&i.node.to<=s.node.to&&(s=i)}for(let i=s;i;i=i.next){let{node:a}=i;if((a.from=n.to||a.to>n.to&&a.from<=n.from)&&i.next)return Je.range(a.to,a.from)}return n});return r.eq(e.selection)?!1:(t(Jl(e,r)),!0)},lAe=({state:e,dispatch:t})=>{let r=e.selection,n=null;return r.ranges.length>1?n=Je.create([r.main]):r.main.empty||(n=Je.create([Je.cursor(r.main.head)])),n?(t(Jl(e,n)),!0):!1};function Pv(e,t){if(e.state.readOnly)return!1;let r="delete.selection",{state:n}=e,o=n.changeByRange(s=>{let{from:i,to:a}=s;if(i==a){let l=t(s);li&&(r="delete.forward",l=w0(e,l,!0)),i=Math.min(i,l),a=Math.max(a,l)}else i=w0(e,i,!1),a=w0(e,a,!0);return i==a?{range:s}:{changes:{from:i,to:a},range:Je.cursor(i,io(e)))n.between(t,t,(o,s)=>{ot&&(t=r?s:o)});return t}const gq=(e,t,r)=>Pv(e,n=>{let o=n.from,{state:s}=e,i=s.doc.lineAt(o),a,l;if(r&&!t&&o>i.from&&ogq(e,!1,!0),vq=e=>gq(e,!0,!1),yq=(e,t)=>Pv(e,r=>{let n=r.head,{state:o}=e,s=o.doc.lineAt(n),i=o.charCategorizer(n);for(let a=null;;){if(n==(t?s.to:s.from)){n==r.head&&s.number!=(t?o.doc.lines:1)&&(n+=t?1:-1);break}let l=$s(s.text,n-s.from,t)+s.from,c=s.text.slice(Math.min(n,l)-s.from,Math.max(n,l)-s.from),u=i(c);if(a!=null&&u!=a)break;(c!=" "||n!=r.head)&&(a=u),n=l}return n}),bq=e=>yq(e,!1),cAe=e=>yq(e,!0),uAe=e=>Pv(e,t=>{let r=e.lineBlockAt(t.head).to;return t.headPv(e,t=>{let r=e.moveToLineBoundary(t,!1).head;return t.head>r?r:Math.max(0,t.head-1)}),pAe=e=>Pv(e,t=>{let r=e.moveToLineBoundary(t,!0).head;return t.head{if(e.readOnly)return!1;let r=e.changeByRange(n=>({changes:{from:n.from,to:n.to,insert:Ln.of(["",""])},range:Je.cursor(n.from)}));return t(e.update(r,{scrollIntoView:!0,userEvent:"input"})),!0},hAe=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=e.changeByRange(n=>{if(!n.empty||n.from==0||n.from==e.doc.length)return{range:n};let o=n.from,s=e.doc.lineAt(o),i=o==s.from?o-1:$s(s.text,o-s.from,!1)+s.from,a=o==s.to?o+1:$s(s.text,o-s.from,!0)+s.from;return{changes:{from:i,to:a,insert:e.doc.slice(o,a).append(e.doc.slice(i,o))},range:Je.cursor(a)}});return r.changes.empty?!1:(t(e.update(r,{scrollIntoView:!0,userEvent:"move.character"})),!0)};function dx(e){let t=[],r=-1;for(let n of e.selection.ranges){let o=e.doc.lineAt(n.from),s=e.doc.lineAt(n.to);if(!n.empty&&n.to==s.from&&(s=e.doc.lineAt(n.to-1)),r>=o.number){let i=t[t.length-1];i.to=s.to,i.ranges.push(n)}else t.push({from:o.from,to:s.to,ranges:[n]});r=s.number+1}return t}function wq(e,t,r){if(e.readOnly)return!1;let n=[],o=[];for(let s of dx(e)){if(r?s.to==e.doc.length:s.from==0)continue;let i=e.doc.lineAt(r?s.to+1:s.from-1),a=i.length+1;if(r){n.push({from:s.to,to:i.to},{from:s.from,insert:i.text+e.lineBreak});for(let l of s.ranges)o.push(Je.range(Math.min(e.doc.length,l.anchor+a),Math.min(e.doc.length,l.head+a)))}else{n.push({from:i.from,to:s.from},{from:s.to,insert:e.lineBreak+i.text});for(let l of s.ranges)o.push(Je.range(l.anchor-a,l.head-a))}}return n.length?(t(e.update({changes:n,scrollIntoView:!0,selection:Je.create(o,e.selection.mainIndex),userEvent:"move.line"})),!0):!1}const mAe=({state:e,dispatch:t})=>wq(e,t,!1),gAe=({state:e,dispatch:t})=>wq(e,t,!0);function xq(e,t,r){if(e.readOnly)return!1;let n=[];for(let o of dx(e))r?n.push({from:o.from,insert:e.doc.slice(o.from,o.to)+e.lineBreak}):n.push({from:o.to,insert:e.lineBreak+e.doc.slice(o.from,o.to)});return t(e.update({changes:n,scrollIntoView:!0,userEvent:"input.copyline"})),!0}const vAe=({state:e,dispatch:t})=>xq(e,t,!1),yAe=({state:e,dispatch:t})=>xq(e,t,!0),bAe=e=>{if(e.state.readOnly)return!1;let{state:t}=e,r=t.changes(dx(t).map(({from:o,to:s})=>(o>0?o--:s{let s;if(e.lineWrapping){let i=e.lineBlockAt(o.head),a=e.coordsAtPos(o.head,o.assoc||1);a&&(s=i.bottom+e.documentTop-a.bottom+e.defaultLineHeight/2)}return e.moveVertically(o,!0,s)}).map(r);return e.dispatch({changes:r,selection:n,scrollIntoView:!0,userEvent:"delete.line"}),!0};function wAe(e,t){if(/\(\)|\[\]|\{\}/.test(e.sliceDoc(t-1,t+1)))return{from:t,to:t};let r=Ws(e).resolveInner(t),n=r.childBefore(t),o=r.childAfter(t),s;return n&&o&&n.to<=t&&o.from>=t&&(s=n.type.prop(rn.closedBy))&&s.indexOf(o.name)>-1&&e.doc.lineAt(n.to).from==e.doc.lineAt(o.from).from&&!/\S/.test(e.sliceDoc(n.to,o.from))?{from:n.to,to:o.from}:null}const w4=kq(!1),xAe=kq(!0);function kq(e){return({state:t,dispatch:r})=>{if(t.readOnly)return!1;let n=t.changeByRange(o=>{let{from:s,to:i}=o,a=t.doc.lineAt(s),l=!e&&s==i&&wAe(t,s);e&&(s=i=(i<=a.to?a:t.doc.lineAt(i)).to);let c=new ax(t,{simulateBreak:s,simulateDoubleBreak:!!l}),u=XA(c,s);for(u==null&&(u=Ih(/^\s*/.exec(t.doc.lineAt(s).text)[0],t.tabSize));ia.from&&s{let o=[];for(let i=n.from;i<=n.to;){let a=e.doc.lineAt(i);a.number>r&&(n.empty||n.to>a.from)&&(t(a,o,n),r=a.number),i=a.to+1}let s=e.changes(o);return{changes:o,range:Je.range(s.mapPos(n.anchor,1),s.mapPos(n.head,1))}})}const kAe=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=Object.create(null),n=new ax(e,{overrideIndentation:s=>r[s]??-1}),o=rE(e,(s,i,a)=>{let l=XA(n,s.from);if(l==null)return;/\S/.test(s.text)||(l=0);let c=/^\s*/.exec(s.text)[0],u=Rg(e,l);(c!=u||a.frome.readOnly?!1:(t(e.update(rE(e,(r,n)=>{n.push({from:r.from,insert:e.facet(ix)})}),{userEvent:"input.indent"})),!0),_q=({state:e,dispatch:t})=>e.readOnly?!1:(t(e.update(rE(e,(r,n)=>{let o=/^\s*/.exec(r.text)[0];if(!o)return;let s=Ih(o,e.tabSize),i=0,a=Rg(e,Math.max(0,s-Yu(e)));for(;i(e.setTabFocusMode(),!0),_Ae=[{key:"Ctrl-b",run:eq,shift:cq,preventDefault:!0},{key:"Ctrl-f",run:tq,shift:uq},{key:"Ctrl-p",run:oq,shift:fq},{key:"Ctrl-n",run:sq,shift:hq},{key:"Ctrl-a",run:HCe,shift:nAe},{key:"Ctrl-e",run:WCe,shift:oAe},{key:"Ctrl-d",run:vq},{key:"Ctrl-h",run:WS},{key:"Ctrl-k",run:uAe},{key:"Ctrl-Alt-h",run:bq},{key:"Ctrl-o",run:fAe},{key:"Ctrl-t",run:hAe},{key:"Ctrl-v",run:HS}],SAe=[{key:"ArrowLeft",run:eq,shift:cq,preventDefault:!0},{key:"Mod-ArrowLeft",mac:"Alt-ArrowLeft",run:NCe,shift:KCe,preventDefault:!0},{mac:"Cmd-ArrowLeft",run:VCe,shift:tAe,preventDefault:!0},{key:"ArrowRight",run:tq,shift:uq,preventDefault:!0},{key:"Mod-ArrowRight",mac:"Alt-ArrowRight",run:LCe,shift:QCe,preventDefault:!0},{mac:"Cmd-ArrowRight",run:UCe,shift:rAe,preventDefault:!0},{key:"ArrowUp",run:oq,shift:fq,preventDefault:!0},{mac:"Cmd-ArrowUp",run:g4,shift:y4},{mac:"Ctrl-ArrowUp",run:f4,shift:h4},{key:"ArrowDown",run:sq,shift:hq,preventDefault:!0},{mac:"Cmd-ArrowDown",run:v4,shift:b4},{mac:"Ctrl-ArrowDown",run:HS,shift:m4},{key:"PageUp",run:f4,shift:h4},{key:"PageDown",run:HS,shift:m4},{key:"Home",run:FCe,shift:eAe,preventDefault:!0},{key:"Mod-Home",run:g4,shift:y4},{key:"End",run:zCe,shift:YCe,preventDefault:!0},{key:"Mod-End",run:v4,shift:b4},{key:"Enter",run:w4,shift:w4},{key:"Mod-a",run:sAe},{key:"Backspace",run:WS,shift:WS},{key:"Delete",run:vq},{key:"Mod-Backspace",mac:"Alt-Backspace",run:bq},{key:"Mod-Delete",mac:"Alt-Delete",run:cAe},{mac:"Mod-Backspace",run:dAe},{mac:"Mod-Delete",run:pAe}].concat(_Ae.map(e=>({mac:e.key,run:e.run,shift:e.shift}))),CAe=[{key:"Alt-ArrowLeft",mac:"Ctrl-ArrowLeft",run:BCe,shift:ZCe},{key:"Alt-ArrowRight",mac:"Ctrl-ArrowRight",run:qCe,shift:XCe},{key:"Alt-ArrowUp",run:mAe},{key:"Shift-Alt-ArrowUp",run:vAe},{key:"Alt-ArrowDown",run:gAe},{key:"Shift-Alt-ArrowDown",run:yAe},{key:"Escape",run:lAe},{key:"Mod-Enter",run:xAe},{key:"Alt-l",mac:"Ctrl-l",run:iAe},{key:"Mod-i",run:aAe,preventDefault:!0},{key:"Mod-[",run:_q},{key:"Mod-]",run:jq},{key:"Mod-Alt-\\",run:kAe},{key:"Shift-Mod-k",run:bAe},{key:"Shift-Mod-\\",run:JCe},{key:"Mod-/",run:OCe},{key:"Alt-A",run:TCe},{key:"Ctrl-m",mac:"Shift-Alt-m",run:jAe}].concat(SAe),AAe={key:"Tab",run:jq,shift:_q};function go(){var e=arguments[0];typeof e=="string"&&(e=document.createElement(e));var t=1,r=arguments[1];if(r&&typeof r=="object"&&r.nodeType==null&&!Array.isArray(r)){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){var o=r[n];typeof o=="string"?e.setAttribute(n,o):o!=null&&(e[n]=o)}t++}for(;td.from-p.from||d.to-p.to),a=new Qa,l=[],c=0;for(let d=0;;){let p=d==i.length?null:i[d];if(!p&&!l.length)break;let f,m;for(l.length?(f=c,m=l.reduce((g,y)=>Math.min(g,y.to),p&&p.from>f?p.from:1e8)):(f=p.from,m=p.to,l.push(p),d++);dg.from||g.to==f))l.push(g),d++,m=Math.min(g.to,m);else{m=Math.min(g.from,m);break}}let v=Pq(l);if(l.some(g=>g.from==g.to||g.from==g.to-1&&n.doc.lineAt(g.from).to==g.from))a.add(f,f,kr.widget({widget:new LAe(v),diagnostics:l.slice()}));else{let g=l.reduce((y,b)=>b.markClass?y+" "+b.markClass:y,"");a.add(f,m,kr.mark({class:"cm-lintRange cm-lintRange-"+v+g,diagnostics:l.slice(),inclusiveEnd:l.some(y=>y.to>m)}))}c=m;for(let g=0;g{if(!(t&&i.diagnostics.indexOf(t)<0))if(!n)n=new x4(o,s,t||i.diagnostics[0]);else{if(i.diagnostics.indexOf(n.diagnostic)<0)return!1;n=new x4(n.from,s,n.diagnostic)}}),n}function Cq(e,t){let r=t.pos,n=t.end||r,o=e.state.facet(jl).hideOn(e,r,n);if(o!=null)return o;let s=e.startState.doc.lineAt(t.pos);return!!(e.effects.some(i=>i.is(px))||e.changes.touchesRange(s.from,Math.max(s.to,n)))}function Aq(e,t){return e.field(qi,!1)?t:t.concat(Gr.appendConfig.of(Mq))}function EAe(e,t){return{effects:Aq(e,[px.of(t)])}}const px=Gr.define(),nE=Gr.define(),Eq=Gr.define(),qi=js.define({create(){return new Pd(kr.none,null,null)},update(e,t){if(t.docChanged&&e.diagnostics.size){let r=e.diagnostics.map(t.changes),n=null,o=e.panel;if(e.selected){let s=t.changes.mapPos(e.selected.from,1);n=fh(r,e.selected.diagnostic,s)||fh(r,null,s)}!r.size&&o&&t.state.facet(jl).autoPanel&&(o=null),e=new Pd(r,o,n)}for(let r of t.effects)if(r.is(px)){let n=t.state.facet(jl).autoPanel?r.value.length?Bg.open:null:e.panel;e=Pd.init(r.value,n,t.state)}else r.is(nE)?e=new Pd(e.diagnostics,r.value?Bg.open:null,e.selected):r.is(Eq)&&(e=new Pd(e.diagnostics,e.panel,r.value));return e},provide:e=>[Ng.from(e,t=>t.panel),jt.decorations.from(e,t=>t.diagnostics)]}),OAe=kr.mark({class:"cm-lintRange cm-lintRange-active"});function $Ae(e,t,r){let{diagnostics:n}=e.state.field(qi),o,s=-1,i=-1;n.between(t-(r<0?1:0),t+(r>0?1:0),(l,c,{spec:u})=>{if(t>=l&&t<=c&&(l==c||(t>l||r>0)&&(tTq(e,r,!1)))}const TAe=e=>{let t=e.state.field(qi,!1);(!t||!t.panel)&&e.dispatch({effects:Aq(e.state,[nE.of(!0)])});let r=Mg(e,Bg.open);return r&&r.dom.querySelector(".cm-panel-lint ul").focus(),!0},k4=e=>{let t=e.state.field(qi,!1);return!t||!t.panel?!1:(e.dispatch({effects:nE.of(!1)}),!0)},PAe=e=>{let t=e.state.field(qi,!1);if(!t)return!1;let r=e.state.selection.main,n=t.diagnostics.iter(r.to+1);return!n.value&&(n=t.diagnostics.iter(0),!n.value||n.from==r.from&&n.to==r.to)?!1:(e.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0}),!0)},IAe=[{key:"Mod-Shift-m",run:TAe,preventDefault:!0},{key:"F8",run:PAe}],DAe=Lo.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0;let{delay:t}=e.state.facet(jl);this.lintTime=Date.now()+t,this.run=this.run.bind(this),this.timeout=setTimeout(this.run,t)}run(){clearTimeout(this.timeout);let e=Date.now();if(ePromise.resolve(n(this.view))),n=>{this.view.state.doc==t.doc&&this.view.dispatch(EAe(this.view.state,n.reduce((o,s)=>o.concat(s))))},n=>{oi(this.view.state,n)})}}update(e){let t=e.state.facet(jl);(e.docChanged||t!=e.startState.facet(jl)||t.needsRefresh&&t.needsRefresh(e))&&(this.lintTime=Date.now()+t.delay,this.set||(this.set=!0,this.timeout=setTimeout(this.run,t.delay)))}force(){this.set&&(this.lintTime=Date.now(),this.run())}destroy(){clearTimeout(this.timeout)}});function MAe(e,t,r){let n=[],o=-1;for(let s of e)s.then(i=>{n.push(i),clearTimeout(o),n.length==e.length?t(n):o=setTimeout(()=>t(n),200)},r)}const jl=At.define({combine(e){return Object.assign({sources:e.map(t=>t.source).filter(t=>t!=null)},ol(e.map(t=>t.config),{delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null},{needsRefresh:(t,r)=>t?r?n=>t(n)||r(n):t:r}))}});function NAe(e,t={}){return[jl.of({source:e,config:t}),DAe,Mq]}function $q(e){let t=[];if(e)e:for(let{name:r}of e){for(let n=0;ns.toLowerCase()==o.toLowerCase())){t.push(o);continue e}}t.push("")}return t}function Tq(e,t,r){var n;let o=r?$q(t.actions):[];return go("li",{class:"cm-diagnostic cm-diagnostic-"+t.severity},go("span",{class:"cm-diagnosticText"},t.renderMessage?t.renderMessage(e):t.message),(n=t.actions)===null||n===void 0?void 0:n.map((s,i)=>{let a=!1,l=p=>{if(p.preventDefault(),a)return;a=!0;let f=fh(e.state.field(qi).diagnostics,t);f&&s.apply(e,f.from,f.to)},{name:c}=s,u=o[i]?c.indexOf(o[i]):-1,d=u<0?c:[c.slice(0,u),go("u",c.slice(u,u+1)),c.slice(u+1)];return go("button",{type:"button",class:"cm-diagnosticAction",onclick:l,onmousedown:l,"aria-label":` Action: ${c}${u<0?"":` (access key "${o[i]})"`}.`},d)}),t.source&&go("div",{class:"cm-diagnosticSource"},t.source))}class LAe extends ud{constructor(t){super(),this.sev=t}eq(t){return t.sev==this.sev}toDOM(){return go("span",{class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class j4{constructor(t,r){this.diagnostic=r,this.id="item_"+Math.floor(Math.random()*4294967295).toString(16),this.dom=Tq(t,r,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}}class Bg{constructor(t){this.view=t,this.items=[];let r=o=>{if(o.keyCode==27)k4(this.view),this.view.focus();else if(o.keyCode==38||o.keyCode==33)this.moveSelection((this.selectedIndex-1+this.items.length)%this.items.length);else if(o.keyCode==40||o.keyCode==34)this.moveSelection((this.selectedIndex+1)%this.items.length);else if(o.keyCode==36)this.moveSelection(0);else if(o.keyCode==35)this.moveSelection(this.items.length-1);else if(o.keyCode==13)this.view.focus();else if(o.keyCode>=65&&o.keyCode<=90&&this.selectedIndex>=0){let{diagnostic:s}=this.items[this.selectedIndex],i=$q(s.actions);for(let a=0;a{for(let s=0;sk4(this.view)},"×")),this.update()}get selectedIndex(){let t=this.view.state.field(qi).selected;if(!t)return-1;for(let r=0;r{for(let u of c.diagnostics){if(i.has(u))continue;i.add(u);let d=-1,p;for(let f=n;fn&&(this.items.splice(n,d-n),o=!0)),r&&p.diagnostic==r.diagnostic?p.dom.hasAttribute("aria-selected")||(p.dom.setAttribute("aria-selected","true"),s=p):p.dom.hasAttribute("aria-selected")&&p.dom.removeAttribute("aria-selected"),n++}});n({sel:s.dom.getBoundingClientRect(),panel:this.list.getBoundingClientRect()}),write:({sel:a,panel:l})=>{let c=l.height/this.list.offsetHeight;a.topl.bottom&&(this.list.scrollTop+=(a.bottom-l.bottom)/c)}})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),o&&this.sync()}sync(){let t=this.list.firstChild;function r(){let n=t;t=n.nextSibling,n.remove()}for(let n of this.items)if(n.dom.parentNode==this.list){for(;t!=n.dom;)r();t=n.dom.nextSibling}else this.list.insertBefore(n.dom,t);for(;t;)r()}moveSelection(t){if(this.selectedIndex<0)return;let r=this.view.state.field(qi),n=fh(r.diagnostics,this.items[t].diagnostic);n&&this.view.dispatch({selection:{anchor:n.from,head:n.to},scrollIntoView:!0,effects:Eq.of(n)})}static open(t){return new Bg(t)}}function db(e,t='viewBox="0 0 40 40"'){return`url('data:image/svg+xml,${encodeURIComponent(e)}')`}function x0(e){return db(``,'width="6" height="3"')}const RAe=jt.baseTheme({".cm-diagnostic":{padding:"3px 6px 3px 8px",marginLeft:"-1px",display:"block",whiteSpace:"pre-wrap"},".cm-diagnostic-error":{borderLeft:"5px solid #d11"},".cm-diagnostic-warning":{borderLeft:"5px solid orange"},".cm-diagnostic-info":{borderLeft:"5px solid #999"},".cm-diagnostic-hint":{borderLeft:"5px solid #66d"},".cm-diagnosticAction":{font:"inherit",border:"none",padding:"2px 4px",backgroundColor:"#444",color:"white",borderRadius:"3px",marginLeft:"8px",cursor:"pointer"},".cm-diagnosticSource":{fontSize:"70%",opacity:.7},".cm-lintRange":{backgroundPosition:"left bottom",backgroundRepeat:"repeat-x",paddingBottom:"0.7px"},".cm-lintRange-error":{backgroundImage:x0("#d11")},".cm-lintRange-warning":{backgroundImage:x0("orange")},".cm-lintRange-info":{backgroundImage:x0("#999")},".cm-lintRange-hint":{backgroundImage:x0("#66d")},".cm-lintRange-active":{backgroundColor:"#ffdd9980"},".cm-tooltip-lint":{padding:0,margin:0},".cm-lintPoint":{position:"relative","&:after":{content:'""',position:"absolute",bottom:0,left:"-2px",borderLeft:"3px solid transparent",borderRight:"3px solid transparent",borderBottom:"4px solid #d11"}},".cm-lintPoint-warning":{"&:after":{borderBottomColor:"orange"}},".cm-lintPoint-info":{"&:after":{borderBottomColor:"#999"}},".cm-lintPoint-hint":{"&:after":{borderBottomColor:"#66d"}},".cm-panel.cm-panel-lint":{position:"relative","& ul":{maxHeight:"100px",overflowY:"auto","& [aria-selected]":{backgroundColor:"#ddd","& u":{textDecoration:"underline"}},"&:focus [aria-selected]":{background_fallback:"#bdf",backgroundColor:"Highlight",color_fallback:"white",color:"HighlightText"},"& u":{textDecoration:"none"},padding:0,margin:0},"& [name=close]":{position:"absolute",top:"0",right:"2px",background:"inherit",border:"none",font:"inherit",padding:0,margin:0}}});function BAe(e){return e=="error"?4:e=="warning"?3:e=="info"?2:1}function Pq(e){let t="hint",r=1;for(let n of e){let o=BAe(n.severity);o>r&&(r=o,t=n.severity)}return t}class Iq extends Nl{constructor(t){super(),this.diagnostics=t,this.severity=Pq(t)}toDOM(t){let r=document.createElement("div");r.className="cm-lint-marker cm-lint-marker-"+this.severity;let n=this.diagnostics,o=t.state.facet(fx).tooltipFilter;return o&&(n=o(n,t.state)),n.length&&(r.onmouseover=()=>zAe(t,r,n)),r}}function qAe(e,t){let r=n=>{let o=t.getBoundingClientRect();if(!(n.clientX>o.left-10&&n.clientXo.top-10&&n.clientYt.getBoundingClientRect()}}})}),t.onmouseout=t.onmousemove=null,qAe(e,t)}let{hoverTime:o}=e.state.facet(fx),s=setTimeout(n,o);t.onmouseout=()=>{clearTimeout(s),t.onmouseout=t.onmousemove=null},t.onmousemove=()=>{clearTimeout(s),s=setTimeout(n,o)}}function FAe(e,t){let r=Object.create(null);for(let o of t){let s=e.lineAt(o.from);(r[s.from]||(r[s.from]=[])).push(o)}let n=[];for(let o in r)n.push(new Iq(r[o]).range(+o));return pn.of(n,!0)}const VAe=S9({class:"cm-gutter-lint",markers:e=>e.state.field(GS),widgetMarker:(e,t,r)=>{let n=[];return e.state.field(GS).between(r.from,r.to,(o,s,i)=>{o>r.from&&on.is(oE)?n.value:r,e)},provide:e=>ox.from(e)}),UAe=jt.baseTheme({".cm-gutter-lint":{width:"1.4em","& .cm-gutterElement":{padding:".2em"}},".cm-lint-marker":{width:"1em",height:"1em"},".cm-lint-marker-info":{content:db('')},".cm-lint-marker-warning":{content:db('')},".cm-lint-marker-error":{content:db('')}}),Mq=[qi,jt.decorations.compute([qi],e=>{let{selected:t,panel:r}=e.field(qi);return!t||!r||t.from==t.to?kr.none:kr.set([OAe.range(t.from,t.to)])}),l2e($Ae,{hideOn:Cq}),RAe],fx=At.define({combine(e){return ol(e,{hoverTime:300,markerFilter:null,tooltipFilter:null})}});function HAe(e={}){return[fx.of(e),GS,VAe,UAe,Dq]}class v1{constructor(t,r,n,o,s,i,a,l,c,u=0,d){this.p=t,this.stack=r,this.state=n,this.reducePos=o,this.pos=s,this.score=i,this.buffer=a,this.bufferBase=l,this.curContext=c,this.lookAhead=u,this.parent=d}toString(){return`[${this.stack.filter((t,r)=>r%3==0).concat(this.state)}]@${this.pos}${this.score?"!"+this.score:""}`}static start(t,r,n=0){let o=t.parser.context;return new v1(t,[],r,n,n,0,[],0,o?new _4(o,o.start):null,0,null)}get context(){return this.curContext?this.curContext.context:null}pushState(t,r){this.stack.push(this.state,r,this.bufferBase+this.buffer.length),this.state=t}reduce(t){var r;let n=t>>19,o=t&65535,{parser:s}=this.p,i=this.reducePos=2e3&&!(!((r=this.p.parser.nodeSet.types[o])===null||r===void 0)&&r.isAnonymous)&&(c==this.p.lastBigReductionStart?(this.p.bigReductionCount++,this.p.lastBigReductionSize=u):this.p.lastBigReductionSizel;)this.stack.pop();this.reduceContext(o,c)}storeNode(t,r,n,o=4,s=!1){if(t==0&&(!this.stack.length||this.stack[this.stack.length-1]0&&i.buffer[a-4]==0&&i.buffer[a-1]>-1){if(r==n)return;if(i.buffer[a-2]>=r){i.buffer[a-2]=n;return}}}if(!s||this.pos==n)this.buffer.push(t,r,n,o);else{let i=this.buffer.length;if(i>0&&this.buffer[i-4]!=0){let a=!1;for(let l=i;l>0&&this.buffer[l-2]>n;l-=4)if(this.buffer[l-1]>=0){a=!0;break}if(a)for(;i>0&&this.buffer[i-2]>n;)this.buffer[i]=this.buffer[i-4],this.buffer[i+1]=this.buffer[i-3],this.buffer[i+2]=this.buffer[i-2],this.buffer[i+3]=this.buffer[i-1],i-=4,o>4&&(o-=4)}this.buffer[i]=t,this.buffer[i+1]=r,this.buffer[i+2]=n,this.buffer[i+3]=o}}shift(t,r,n,o){if(t&131072)this.pushState(t&65535,this.pos);else if(t&262144)this.pos=o,this.shiftContext(r,n),r<=this.p.parser.maxNode&&this.buffer.push(r,n,o,4);else{let s=t,{parser:i}=this.p;(o>this.pos||r<=i.maxNode)&&(this.pos=o,i.stateFlag(s,1)||(this.reducePos=o)),this.pushState(s,n),this.shiftContext(r,n),r<=i.maxNode&&this.buffer.push(r,n,o,4)}}apply(t,r,n,o){t&65536?this.reduce(t):this.shift(t,r,n,o)}useNode(t,r){let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=t)&&(this.p.reused.push(t),n++);let o=this.pos;this.reducePos=this.pos=o+t.length,this.pushState(r,o),this.buffer.push(n,o,this.reducePos,-1),this.curContext&&this.updateContext(this.curContext.tracker.reuse(this.curContext.context,t,this,this.p.stream.reset(this.pos-t.length)))}split(){let t=this,r=t.buffer.length;for(;r>0&&t.buffer[r-2]>t.reducePos;)r-=4;let n=t.buffer.slice(r),o=t.bufferBase+r;for(;t&&o==t.bufferBase;)t=t.parent;return new v1(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,o,this.curContext,this.lookAhead,t)}recoverByDelete(t,r){let n=t<=this.p.parser.maxNode;n&&this.storeNode(t,this.pos,r,4),this.storeNode(0,this.pos,r,n?8:4),this.pos=this.reducePos=r,this.score-=190}canShift(t){for(let r=new WAe(this);;){let n=this.p.parser.stateSlot(r.state,4)||this.p.parser.hasAction(r.state,t);if(n==0)return!1;if(!(n&65536))return!0;r.reduce(n)}}recoverByInsert(t){if(this.stack.length>=300)return[];let r=this.p.parser.nextStates(this.state);if(r.length>8||this.stack.length>=120){let o=[];for(let s=0,i;sl&1&&a==i)||o.push(r[s],i)}r=o}let n=[];for(let o=0;o>19,o=r&65535,s=this.stack.length-n*3;if(s<0||t.getGoto(this.stack[s],o,!1)<0){let i=this.findForcedReduction();if(i==null)return!1;r=i}this.storeNode(0,this.pos,this.pos,4,!0),this.score-=100}return this.reducePos=this.pos,this.reduce(r),!0}findForcedReduction(){let{parser:t}=this.p,r=[],n=(o,s)=>{if(!r.includes(o))return r.push(o),t.allActions(o,i=>{if(!(i&393216))if(i&65536){let a=(i>>19)-s;if(a>1){let l=i&65535,c=this.stack.length-a*3;if(c>=0&&t.getGoto(this.stack[c],l,!1)>=0)return a<<19|65536|l}}else{let a=n(i,s+1);if(a!=null)return a}})};return n(this.state,0)}forceAll(){for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){if(this.stack.length!=3)return!1;let{parser:t}=this.p;return t.data[t.stateSlot(this.state,1)]==65535&&!t.stateSlot(this.state,4)}restart(){this.storeNode(0,this.pos,this.pos,4,!0),this.state=this.stack[0],this.stack.length=0}sameState(t){if(this.state!=t.state||this.stack.length!=t.stack.length)return!1;for(let r=0;rthis.lookAhead&&(this.emitLookAhead(),this.lookAhead=t)}close(){this.curContext&&this.curContext.tracker.strict&&this.emitContext(),this.lookAhead>0&&this.emitLookAhead()}}class _4{constructor(t,r){this.tracker=t,this.context=r,this.hash=t.strict?t.hash(r):0}}class WAe{constructor(t){this.start=t,this.state=t.state,this.stack=t.stack,this.base=this.stack.length}reduce(t){let r=t&65535,n=t>>19;n==0?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),this.stack.push(this.state,0,0),this.base+=3):this.base-=(n-1)*3;let o=this.start.p.parser.getGoto(this.stack[this.base-3],r,!0);this.state=o}}class y1{constructor(t,r,n){this.stack=t,this.pos=r,this.index=n,this.buffer=t.buffer,this.index==0&&this.maybeNext()}static create(t,r=t.bufferBase+t.buffer.length){return new y1(t,r,r-t.bufferBase)}maybeNext(){let t=this.stack.parent;t!=null&&(this.index=this.stack.bufferBase-t.bufferBase,this.stack=t,this.buffer=t.buffer)}get id(){return this.buffer[this.index-4]}get start(){return this.buffer[this.index-3]}get end(){return this.buffer[this.index-2]}get size(){return this.buffer[this.index-1]}next(){this.index-=4,this.pos-=4,this.index==0&&this.maybeNext()}fork(){return new y1(this.stack,this.pos,this.index)}}function k0(e,t=Uint16Array){if(typeof e!="string")return e;let r=null;for(let n=0,o=0;n=92&&i--,i>=34&&i--;let l=i-32;if(l>=46&&(l-=46,a=!0),s+=l,a)break;s*=46}r?r[o++]=s:r=new t(s)}return r}class pb{constructor(){this.start=-1,this.value=-1,this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}const S4=new pb;class GAe{constructor(t,r){this.input=t,this.ranges=r,this.chunk="",this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,this.next=-1,this.token=S4,this.rangeIndex=0,this.pos=this.chunkPos=r[0].from,this.range=r[0],this.end=r[r.length-1].to,this.readNext()}resolveOffset(t,r){let n=this.range,o=this.rangeIndex,s=this.pos+t;for(;sn.to:s>=n.to;){if(o==this.ranges.length-1)return null;let i=this.ranges[++o];s+=i.from-n.to,n=i}return s}clipPos(t){if(t>=this.range.from&&tt)return Math.max(t,r.from);return this.end}peek(t){let r=this.chunkOff+t,n,o;if(r>=0&&r=this.chunk2Pos&&na.to&&(this.chunk2=this.chunk2.slice(0,a.to-n)),o=this.chunk2.charCodeAt(0)}}return n>=this.token.lookAhead&&(this.token.lookAhead=n+1),o}acceptToken(t,r=0){let n=r?this.resolveOffset(r,-1):this.pos;if(n==null||n=this.chunk2Pos&&this.posthis.range.to?t.slice(0,this.range.to-this.pos):t,this.chunkPos=this.pos,this.chunkOff=0}}readNext(){return this.chunkOff>=this.chunk.length&&(this.getChunk(),this.chunkOff==this.chunk.length)?this.next=-1:this.next=this.chunk.charCodeAt(this.chunkOff)}advance(t=1){for(this.chunkOff+=t;this.pos+t>=this.range.to;){if(this.rangeIndex==this.ranges.length-1)return this.setDone();t-=this.range.to-this.pos,this.range=this.ranges[++this.rangeIndex],this.pos=this.range.from}return this.pos+=t,this.pos>=this.token.lookAhead&&(this.token.lookAhead=this.pos+1),this.readNext()}setDone(){return this.pos=this.chunkPos=this.end,this.range=this.ranges[this.rangeIndex=this.ranges.length-1],this.chunk="",this.next=-1}reset(t,r){if(r?(this.token=r,r.start=t,r.lookAhead=t+1,r.value=r.extended=-1):this.token=S4,this.pos!=t){if(this.pos=t,t==this.end)return this.setDone(),this;for(;t=this.range.to;)this.range=this.ranges[++this.rangeIndex];t>=this.chunkPos&&t=this.chunkPos&&r<=this.chunkPos+this.chunk.length)return this.chunk.slice(t-this.chunkPos,r-this.chunkPos);if(t>=this.chunk2Pos&&r<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(t-this.chunk2Pos,r-this.chunk2Pos);if(t>=this.range.from&&r<=this.range.to)return this.input.read(t,r);let n="";for(let o of this.ranges){if(o.from>=r)break;o.to>t&&(n+=this.input.read(Math.max(o.from,t),Math.min(o.to,r)))}return n}}class Ff{constructor(t,r){this.data=t,this.id=r}token(t,r){let{parser:n}=r.p;JAe(this.data,t,r,this.id,n.data,n.tokenPrecTable)}}Ff.prototype.contextual=Ff.prototype.fallback=Ff.prototype.extend=!1;Ff.prototype.fallback=Ff.prototype.extend=!1;function JAe(e,t,r,n,o,s){let i=0,a=1<0){let m=e[f];if(l.allows(m)&&(t.token.value==-1||t.token.value==m||KAe(m,t.token.value,o,s))){t.acceptToken(m);break}}let u=t.next,d=0,p=e[i+2];if(t.next<0&&p>d&&e[c+p*3-3]==65535){i=e[c+p*3-1];continue e}for(;d>1,m=c+f+(f<<1),v=e[m],g=e[m+1]||65536;if(u=g)d=f+1;else{i=e[m+2],t.advance();continue e}}break}}function C4(e,t,r){for(let n=t,o;(o=e[n])!=65535;n++)if(o==r)return n-t;return-1}function KAe(e,t,r,n){let o=C4(r,n,t);return o<0||C4(r,n,e)t)&&!n.type.isError)return r<0?Math.max(0,Math.min(n.to-1,t-25)):Math.min(e.length,Math.max(n.from+1,t+25));if(r<0?n.prevSibling():n.nextSibling())break;if(!n.parent())return r<0?0:e.length}}class QAe{constructor(t,r){this.fragments=t,this.nodeSet=r,this.i=0,this.fragment=null,this.safeFrom=-1,this.safeTo=-1,this.trees=[],this.start=[],this.index=[],this.nextFragment()}nextFragment(){let t=this.fragment=this.i==this.fragments.length?null:this.fragments[this.i++];if(t){for(this.safeFrom=t.openStart?A4(t.tree,t.from+t.offset,1)-t.offset:t.from,this.safeTo=t.openEnd?A4(t.tree,t.to+t.offset,-1)-t.offset:t.to;this.trees.length;)this.trees.pop(),this.start.pop(),this.index.pop();this.trees.push(t.tree),this.start.push(-t.offset),this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}nodeAt(t){if(tt)return this.nextStart=i,null;if(s instanceof ns){if(i==t){if(i=Math.max(this.safeFrom,t)&&(this.trees.push(s),this.start.push(i),this.index.push(0))}else this.index[r]++,this.nextStart=i+s.length}}}class ZAe{constructor(t,r){this.stream=r,this.tokens=[],this.mainToken=null,this.actions=[],this.tokens=t.tokenizers.map(n=>new pb)}getActions(t){let r=0,n=null,{parser:o}=t.p,{tokenizers:s}=o,i=o.stateSlot(t.state,3),a=t.curContext?t.curContext.hash:0,l=0;for(let c=0;cd.end+25&&(l=Math.max(d.lookAhead,l)),d.value!=0)){let p=r;if(d.extended>-1&&(r=this.addActions(t,d.extended,d.end,r)),r=this.addActions(t,d.value,d.end,r),!u.extend&&(n=d,r>p))break}}for(;this.actions.length>r;)this.actions.pop();return l&&t.setLookAhead(l),!n&&t.pos==this.stream.end&&(n=new pb,n.value=t.p.parser.eofTerm,n.start=n.end=t.pos,r=this.addActions(t,n.value,n.end,r)),this.mainToken=n,this.actions}getMainToken(t){if(this.mainToken)return this.mainToken;let r=new pb,{pos:n,p:o}=t;return r.start=n,r.end=Math.min(n+1,o.stream.end),r.value=n==o.stream.end?o.parser.eofTerm:0,r}updateCachedToken(t,r,n){let o=this.stream.clipPos(n.pos);if(r.token(this.stream.reset(o,t),n),t.value>-1){let{parser:s}=n.p;for(let i=0;i=0&&n.p.parser.dialect.allows(a>>1)){a&1?t.extended=a>>1:t.value=a>>1;break}}}else t.value=0,t.end=this.stream.clipPos(o+1)}putAction(t,r,n,o){for(let s=0;st.bufferLength*4?new QAe(n,t.nodeSet):null}get parsedPos(){return this.minStackPos}advance(){let t=this.stacks,r=this.minStackPos,n=this.stacks=[],o,s;if(this.bigReductionCount>300&&t.length==1){let[i]=t;for(;i.forceReduce()&&i.stack.length&&i.stack[i.stack.length-2]>=this.lastBigReductionStart;);this.bigReductionCount=this.lastBigReductionSize=0}for(let i=0;ir)n.push(a);else{if(this.advanceStack(a,n,t))continue;{o||(o=[],s=[]),o.push(a);let l=this.tokens.getMainToken(a);s.push(l.value,l.end)}}break}}if(!n.length){let i=o&&eEe(o);if(i)return Oi&&console.log("Finish with "+this.stackID(i)),this.stackToTree(i);if(this.parser.strict)throw Oi&&o&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}if(this.recovering&&o){let i=this.stoppedAt!=null&&o[0].pos>this.stoppedAt?o[0]:this.runRecovery(o,s,n);if(i)return Oi&&console.log("Force-finish "+this.stackID(i)),this.stackToTree(i.forceAll())}if(this.recovering){let i=this.recovering==1?1:this.recovering*3;if(n.length>i)for(n.sort((a,l)=>l.score-a.score);n.length>i;)n.pop();n.some(a=>a.reducePos>r)&&this.recovering--}else if(n.length>1){e:for(let i=0;i500&&c.buffer.length>500)if((a.score-c.score||a.buffer.length-c.buffer.length)>0)n.splice(l--,1);else{n.splice(i--,1);continue e}}}n.length>12&&n.splice(12,n.length-12)}this.minStackPos=n[0].pos;for(let i=1;i ":"";if(this.stoppedAt!=null&&o>this.stoppedAt)return t.forceReduce()?t:null;if(this.fragments){let c=t.curContext&&t.curContext.tracker.strict,u=c?t.curContext.hash:0;for(let d=this.fragments.nodeAt(o);d;){let p=this.parser.nodeSet.types[d.type.id]==d.type?s.getGoto(t.state,d.type.id):-1;if(p>-1&&d.length&&(!c||(d.prop(rn.contextHash)||0)==u))return t.useNode(d,p),Oi&&console.log(i+this.stackID(t)+` (via reuse of ${s.getName(d.type.id)})`),!0;if(!(d instanceof ns)||d.children.length==0||d.positions[0]>0)break;let f=d.children[0];if(f instanceof ns&&d.positions[0]==0)d=f;else break}}let a=s.stateSlot(t.state,4);if(a>0)return t.reduce(a),Oi&&console.log(i+this.stackID(t)+` (via always-reduce ${s.getName(a&65535)})`),!0;if(t.stack.length>=8400)for(;t.stack.length>6e3&&t.forceReduce(););let l=this.tokens.getActions(t);for(let c=0;co?r.push(m):n.push(m)}return!1}advanceFully(t,r){let n=t.pos;for(;;){if(!this.advanceStack(t,null,null))return!1;if(t.pos>n)return E4(t,r),!0}}runRecovery(t,r,n){let o=null,s=!1;for(let i=0;i ":"";if(a.deadEnd&&(s||(s=!0,a.restart(),Oi&&console.log(u+this.stackID(a)+" (restarted)"),this.advanceFully(a,n))))continue;let d=a.split(),p=u;for(let f=0;d.forceReduce()&&f<10&&(Oi&&console.log(p+this.stackID(d)+" (via force-reduce)"),!this.advanceFully(d,n));f++)Oi&&(p=this.stackID(d)+" -> ");for(let f of a.recoverByInsert(l))Oi&&console.log(u+this.stackID(f)+" (via recover-insert)"),this.advanceFully(f,n);this.stream.end>a.pos?(c==a.pos&&(c++,l=0),a.recoverByDelete(l,c),Oi&&console.log(u+this.stackID(a)+` (via recover-delete ${this.parser.getName(l)})`),E4(a,n)):(!o||o.scoret.topRules[a][1]),o=[];for(let a=0;a=0)s(u,l,a[c++]);else{let d=a[c+-u];for(let p=-u;p>0;p--)s(a[c++],l,d);c++}}}this.nodeSet=new JA(r.map((a,l)=>ji.define({name:l>=this.minRepeatTerm?void 0:a,id:l,props:o[l],top:n.indexOf(l)>-1,error:l==0,skipped:t.skippedNodes&&t.skippedNodes.indexOf(l)>-1}))),t.propSources&&(this.nodeSet=this.nodeSet.extend(...t.propSources)),this.strict=!1,this.bufferLength=E9;let i=k0(t.tokenData);this.context=t.context,this.specializerSpecs=t.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length);for(let a=0;atypeof a=="number"?new Ff(i,a):a),this.topRules=t.topRules,this.dialects=t.dialects||{},this.dynamicPrecedences=t.dynamicPrecedences||null,this.tokenPrecTable=t.tokenPrec,this.termNames=t.termNames||null,this.maxNode=this.nodeSet.types.length-1,this.dialect=this.parseDialect(),this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(t,r,n){let o=new XAe(this,t,r,n);for(let s of this.wrappers)o=s(o,t,r,n);return o}getGoto(t,r,n=!1){let o=this.goto;if(r>=o[0])return-1;for(let s=o[r+1];;){let i=o[s++],a=i&1,l=o[s++];if(a&&n)return l;for(let c=s+(i>>1);s0}validAction(t,r){return!!this.allActions(t,n=>n==r?!0:null)}allActions(t,r){let n=this.stateSlot(t,4),o=n?r(n):void 0;for(let s=this.stateSlot(t,1);o==null;s+=3){if(this.data[s]==65535)if(this.data[s+1]==1)s=ic(this.data,s+2);else break;o=r(ic(this.data,s+1))}return o}nextStates(t){let r=[];for(let n=this.stateSlot(t,1);;n+=3){if(this.data[n]==65535)if(this.data[n+1]==1)n=ic(this.data,n+2);else break;if(!(this.data[n+2]&1)){let o=this.data[n+1];r.some((s,i)=>i&1&&s==o)||r.push(this.data[n],o)}}return r}configure(t){let r=Object.assign(Object.create(b1.prototype),this);if(t.props&&(r.nodeSet=this.nodeSet.extend(...t.props)),t.top){let n=this.topRules[t.top];if(!n)throw new RangeError(`Invalid top rule name ${t.top}`);r.top=n}return t.tokenizers&&(r.tokenizers=this.tokenizers.map(n=>{let o=t.tokenizers.find(s=>s.from==n);return o?o.to:n})),t.specializers&&(r.specializers=this.specializers.slice(),r.specializerSpecs=this.specializerSpecs.map((n,o)=>{let s=t.specializers.find(a=>a.from==n.external);if(!s)return n;let i=Object.assign(Object.assign({},n),{external:s.to});return r.specializers[o]=O4(i),i})),t.contextTracker&&(r.context=t.contextTracker),t.dialect&&(r.dialect=this.parseDialect(t.dialect)),t.strict!=null&&(r.strict=t.strict),t.wrap&&(r.wrappers=r.wrappers.concat(t.wrap)),t.bufferLength!=null&&(r.bufferLength=t.bufferLength),r}hasWrappers(){return this.wrappers.length>0}getName(t){return this.termNames?this.termNames[t]:String(t<=this.maxNode&&this.nodeSet.types[t].name||t)}get eofTerm(){return this.maxNode+1}get topNode(){return this.nodeSet.types[this.top[1]]}dynamicPrecedence(t){let r=this.dynamicPrecedences;return r==null?0:r[t]||0}parseDialect(t){let r=Object.keys(this.dialects),n=r.map(()=>!1);if(t)for(let s of t.split(" ")){let i=r.indexOf(s);i>=0&&(n[i]=!0)}let o=null;for(let s=0;sn)&&r.p.parser.stateFlag(r.state,2)&&(!t||t.scoree.external(r,n)<<1|t}return e.get}const tEe=I9({String:ct.string,Number:ct.number,"True False":ct.bool,PropertyName:ct.propertyName,Null:ct.null,", :":ct.separator,"[ ]":ct.squareBracket,"{ }":ct.brace}),rEe=b1.deserialize({version:14,states:"$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#ClOOQO'#Cr'#CrQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CtOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59W,59WO!iQPO,59WOVQPO,59QOqQPO'#CmO!nQPO,59`OOQO1G.k1G.kOVQPO'#CnO!vQPO,59aOOQO1G.r1G.rOOQO1G.l1G.lOOQO,59X,59XOOQO-E6k-E6kOOQO,59Y,59YOOQO-E6l-E6l",stateData:"#O~OeOS~OQSORSOSSOTSOWQO_ROgPO~OVXOgUO~O^[O~PVO[^O~O]_OVhX~OVaO~O]bO^iX~O^dO~O]_OVha~O]bO^ia~O",goto:"!kjPPPPPPkPPkqwPPPPk{!RPPP!XP!e!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",nodeNames:"⚠ JsonText True False Null Number String } { Object Property PropertyName : , ] [ Array",maxTerm:25,nodeProps:[["isolate",-2,6,11,""],["openedBy",7,"{",14,"["],["closedBy",8,"}",15,"]"]],propSources:[tEe],skippedNodes:[0],repeatNodeCount:2,tokenData:"(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oe~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Og~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zO]~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yO[~~'OO_~~'TO^~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",tokenizers:[0],topRules:{JsonText:[0,1]},tokenPrec:0}),nEe=f1.define({name:"json",parser:rEe.configure({props:[L9.add({Object:l4({except:/^\s*\}/}),Array:l4({except:/^\s*\]/})}),B9.add({"Object Array":Y2e})]}),languageData:{closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}});function oEe(){return new z2e(nEe)}const $4=typeof String.prototype.normalize=="function"?e=>e.normalize("NFKD"):e=>e;class hh{constructor(t,r,n=0,o=t.length,s,i){this.test=i,this.value={from:0,to:0},this.done=!1,this.matches=[],this.buffer="",this.bufferPos=0,this.iter=t.iterRange(n,o),this.bufferStart=n,this.normalize=s?a=>s($4(a)):$4,this.query=this.normalize(r)}peek(){if(this.bufferPos==this.buffer.length){if(this.bufferStart+=this.buffer.length,this.iter.next(),this.iter.done)return-1;this.bufferPos=0,this.buffer=this.iter.value}return hi(this.buffer,this.bufferPos)}next(){for(;this.matches.length;)this.matches.pop();return this.nextOverlapping()}nextOverlapping(){for(;;){let t=this.peek();if(t<0)return this.done=!0,this;let r=IA(t),n=this.bufferStart+this.bufferPos;this.bufferPos+=ml(t);let o=this.normalize(r);if(o.length)for(let s=0,i=n;;s++){let a=o.charCodeAt(s),l=this.match(a,i,this.bufferPos+this.bufferStart);if(s==o.length-1){if(l)return this.value=l,this;break}i==n&&sthis.to&&(this.curLine=this.curLine.slice(0,this.to-this.curLineStart)),this.iter.next())}nextLine(){this.curLineStart=this.curLineStart+this.curLine.length+1,this.curLineStart>this.to?this.curLine="":this.getLine(0)}next(){for(let t=this.matchPos-this.curLineStart;;){this.re.lastIndex=t;let r=this.matchPos<=this.to&&this.re.exec(this.curLine);if(r){let n=this.curLineStart+r.index,o=n+r[0].length;if(this.matchPos=w1(this.text,o+(n==o?1:0)),n==this.curLineStart+this.curLine.length&&this.nextLine(),(nthis.value.to)&&(!this.test||this.test(n,o,r)))return this.value={from:n,to:o,match:r},this;t=this.matchPos-this.curLineStart}else if(this.curLineStart+this.curLine.length=n||o.to<=r){let a=new Vf(r,t.sliceString(r,n));return pj.set(t,a),a}if(o.from==r&&o.to==n)return o;let{text:s,from:i}=o;return i>r&&(s=t.sliceString(r,i)+s,i=r),o.to=this.to?this.to:this.text.lineAt(t).to}next(){for(;;){let t=this.re.lastIndex=this.matchPos-this.flat.from,r=this.re.exec(this.flat.text);if(r&&!r[0]&&r.index==t&&(this.re.lastIndex=t+1,r=this.re.exec(this.flat.text)),r){let n=this.flat.from+r.index,o=n+r[0].length;if((this.flat.to>=this.to||r.index+r[0].length<=this.flat.text.length-10)&&(!this.test||this.test(n,o,r)))return this.value={from:n,to:o,match:r},this.matchPos=w1(this.text,o+(n==o?1:0)),this}if(this.flat.to==this.to)return this.done=!0,this;this.flat=Vf.get(this.text,this.flat.from,this.chunkEnd(this.flat.from+this.flat.text.length*2))}}}typeof Symbol<"u"&&(Lq.prototype[Symbol.iterator]=Rq.prototype[Symbol.iterator]=function(){return this});function sEe(e){try{return new RegExp(e,sE),!0}catch{return!1}}function w1(e,t){if(t>=e.length)return t;let r=e.lineAt(t),n;for(;t=56320&&n<57344;)t++;return t}function JS(e){let t=String(e.state.doc.lineAt(e.state.selection.main.head).number),r=go("input",{class:"cm-textfield",name:"line",value:t}),n=go("form",{class:"cm-gotoLine",onkeydown:s=>{s.keyCode==27?(s.preventDefault(),e.dispatch({effects:x1.of(!1)}),e.focus()):s.keyCode==13&&(s.preventDefault(),o())},onsubmit:s=>{s.preventDefault(),o()}},go("label",e.state.phrase("Go to line"),": ",r)," ",go("button",{class:"cm-button",type:"submit"},e.state.phrase("go")));function o(){let s=/^([+-])?(\d+)?(:\d+)?(%)?$/.exec(r.value);if(!s)return;let{state:i}=e,a=i.doc.lineAt(i.selection.main.head),[,l,c,u,d]=s,p=u?+u.slice(1):0,f=c?+c:a.number;if(c&&d){let g=f/100;l&&(g=g*(l=="-"?-1:1)+a.number/i.doc.lines),f=Math.round(i.doc.lines*g)}else c&&l&&(f=f*(l=="-"?-1:1)+a.number);let m=i.doc.line(Math.max(1,Math.min(i.doc.lines,f))),v=Je.cursor(m.from+Math.max(0,Math.min(p,m.length)));e.dispatch({effects:[x1.of(!1),jt.scrollIntoView(v.from,{y:"center"})],selection:v}),e.focus()}return{dom:n}}const x1=Gr.define(),T4=js.define({create(){return!0},update(e,t){for(let r of t.effects)r.is(x1)&&(e=r.value);return e},provide:e=>Ng.from(e,t=>t?JS:null)}),iEe=e=>{let t=Mg(e,JS);if(!t){let r=[x1.of(!0)];e.state.field(T4,!1)==null&&r.push(Gr.appendConfig.of([T4,aEe])),e.dispatch({effects:r}),t=Mg(e,JS)}return t&&t.dom.querySelector("input").select(),!0},aEe=jt.baseTheme({".cm-panel.cm-gotoLine":{padding:"2px 6px 4px","& label":{fontSize:"80%"}}}),lEe={highlightWordAroundCursor:!1,minSelectionLength:1,maxMatches:100,wholeWords:!1},cEe=At.define({combine(e){return ol(e,lEe,{highlightWordAroundCursor:(t,r)=>t||r,minSelectionLength:Math.min,maxMatches:Math.min})}});function uEe(e){return[mEe,hEe]}const dEe=kr.mark({class:"cm-selectionMatch"}),pEe=kr.mark({class:"cm-selectionMatch cm-selectionMatch-main"});function P4(e,t,r,n){return(r==0||e(t.sliceDoc(r-1,r))!=To.Word)&&(n==t.doc.length||e(t.sliceDoc(n,n+1))!=To.Word)}function fEe(e,t,r,n){return e(t.sliceDoc(r,r+1))==To.Word&&e(t.sliceDoc(n-1,n))==To.Word}const hEe=Lo.fromClass(class{constructor(e){this.decorations=this.getDeco(e)}update(e){(e.selectionSet||e.docChanged||e.viewportChanged)&&(this.decorations=this.getDeco(e.view))}getDeco(e){let t=e.state.facet(cEe),{state:r}=e,n=r.selection;if(n.ranges.length>1)return kr.none;let o=n.main,s,i=null;if(o.empty){if(!t.highlightWordAroundCursor)return kr.none;let l=r.wordAt(o.head);if(!l)return kr.none;i=r.charCategorizer(o.head),s=r.sliceDoc(l.from,l.to)}else{let l=o.to-o.from;if(l200)return kr.none;if(t.wholeWords){if(s=r.sliceDoc(o.from,o.to),i=r.charCategorizer(o.head),!(P4(i,r,o.from,o.to)&&fEe(i,r,o.from,o.to)))return kr.none}else if(s=r.sliceDoc(o.from,o.to),!s)return kr.none}let a=[];for(let l of e.visibleRanges){let c=new hh(r.doc,s,l.from,l.to);for(;!c.next().done;){let{from:u,to:d}=c.value;if((!i||P4(i,r,u,d))&&(o.empty&&u<=o.from&&d>=o.to?a.push(pEe.range(u,d)):(u>=o.to||d<=o.from)&&a.push(dEe.range(u,d)),a.length>t.maxMatches))return kr.none}}return kr.set(a)}},{decorations:e=>e.decorations}),mEe=jt.baseTheme({".cm-selectionMatch":{backgroundColor:"#99ff7780"},".cm-searchMatch .cm-selectionMatch":{backgroundColor:"transparent"}}),gEe=({state:e,dispatch:t})=>{let{selection:r}=e,n=Je.create(r.ranges.map(o=>e.wordAt(o.head)||Je.cursor(o.head)),r.mainIndex);return n.eq(r)?!1:(t(e.update({selection:n})),!0)};function vEe(e,t){let{main:r,ranges:n}=e.selection,o=e.wordAt(r.head),s=o&&o.from==r.from&&o.to==r.to;for(let i=!1,a=new hh(e.doc,t,n[n.length-1].to);;)if(a.next(),a.done){if(i)return null;a=new hh(e.doc,t,0,Math.max(0,n[n.length-1].from-1)),i=!0}else{if(i&&n.some(l=>l.from==a.value.from))continue;if(s){let l=e.wordAt(a.value.from);if(!l||l.from!=a.value.from||l.to!=a.value.to)continue}return a.value}}const yEe=({state:e,dispatch:t})=>{let{ranges:r}=e.selection;if(r.some(s=>s.from===s.to))return gEe({state:e,dispatch:t});let n=e.sliceDoc(r[0].from,r[0].to);if(e.selection.ranges.some(s=>e.sliceDoc(s.from,s.to)!=n))return!1;let o=vEe(e,n);return o?(t(e.update({selection:e.selection.addRange(Je.range(o.from,o.to),!1),effects:jt.scrollIntoView(o.to)})),!0):!1},Mp=At.define({combine(e){return ol(e,{top:!1,caseSensitive:!1,literal:!1,regexp:!1,wholeWord:!1,createPanel:t=>new TEe(t),scrollToMatch:t=>jt.scrollIntoView(t)})}});function bEe(e){return e?[Mp.of(e),QS]:QS}class Bq{constructor(t){this.search=t.search,this.caseSensitive=!!t.caseSensitive,this.literal=!!t.literal,this.regexp=!!t.regexp,this.replace=t.replace||"",this.valid=!!this.search&&(!this.regexp||sEe(this.search)),this.unquoted=this.unquote(this.search),this.wholeWord=!!t.wholeWord}unquote(t){return this.literal?t:t.replace(/\\([nrt\\])/g,(r,n)=>n=="n"?` +`:n=="r"?"\r":n=="t"?" ":"\\")}eq(t){return this.search==t.search&&this.replace==t.replace&&this.caseSensitive==t.caseSensitive&&this.regexp==t.regexp&&this.wholeWord==t.wholeWord}create(){return this.regexp?new jEe(this):new xEe(this)}getCursor(t,r=0,n){let o=t.doc?t:an.create({doc:t});return n==null&&(n=o.doc.length),this.regexp?hf(this,o,r,n):ff(this,o,r,n)}}class qq{constructor(t){this.spec=t}}function ff(e,t,r,n){return new hh(t.doc,e.unquoted,r,n,e.caseSensitive?void 0:o=>o.toLowerCase(),e.wholeWord?wEe(t.doc,t.charCategorizer(t.selection.main.head)):void 0)}function wEe(e,t){return(r,n,o,s)=>((s>r||s+o.length=r)return null;o.push(n.value)}return o}highlight(t,r,n,o){let s=ff(this.spec,t,Math.max(0,r-this.spec.unquoted.length),Math.min(n+this.spec.unquoted.length,t.doc.length));for(;!s.next().done;)o(s.value.from,s.value.to)}}function hf(e,t,r,n){return new Lq(t.doc,e.search,{ignoreCase:!e.caseSensitive,test:e.wholeWord?kEe(t.charCategorizer(t.selection.main.head)):void 0},r,n)}function k1(e,t){return e.slice($s(e,t,!1),t)}function j1(e,t){return e.slice(t,$s(e,t))}function kEe(e){return(t,r,n)=>!n[0].length||(e(k1(n.input,n.index))!=To.Word||e(j1(n.input,n.index))!=To.Word)&&(e(j1(n.input,n.index+n[0].length))!=To.Word||e(k1(n.input,n.index+n[0].length))!=To.Word)}class jEe extends qq{nextMatch(t,r,n){let o=hf(this.spec,t,n,t.doc.length).next();return o.done&&(o=hf(this.spec,t,0,r).next()),o.done?null:o.value}prevMatchInRange(t,r,n){for(let o=1;;o++){let s=Math.max(r,n-o*1e4),i=hf(this.spec,t,s,n),a=null;for(;!i.next().done;)a=i.value;if(a&&(s==r||a.from>s+10))return a;if(s==r)return null}}prevMatch(t,r,n){return this.prevMatchInRange(t,0,r)||this.prevMatchInRange(t,n,t.doc.length)}getReplacement(t){return this.spec.unquote(this.spec.replace).replace(/\$([$&\d+])/g,(r,n)=>n=="$"?"$":n=="&"?t.match[0]:n!="0"&&+n=r)return null;o.push(n.value)}return o}highlight(t,r,n,o){let s=hf(this.spec,t,Math.max(0,r-250),Math.min(n+250,t.doc.length));for(;!s.next().done;)o(s.value.from,s.value.to)}}const qg=Gr.define(),iE=Gr.define(),$u=js.define({create(e){return new fj(KS(e).create(),null)},update(e,t){for(let r of t.effects)r.is(qg)?e=new fj(r.value.create(),e.panel):r.is(iE)&&(e=new fj(e.query,r.value?aE:null));return e},provide:e=>Ng.from(e,t=>t.panel)});class fj{constructor(t,r){this.query=t,this.panel=r}}const _Ee=kr.mark({class:"cm-searchMatch"}),SEe=kr.mark({class:"cm-searchMatch cm-searchMatch-selected"}),CEe=Lo.fromClass(class{constructor(e){this.view=e,this.decorations=this.highlight(e.state.field($u))}update(e){let t=e.state.field($u);(t!=e.startState.field($u)||e.docChanged||e.selectionSet||e.viewportChanged)&&(this.decorations=this.highlight(t))}highlight({query:e,panel:t}){if(!t||!e.spec.valid)return kr.none;let{view:r}=this,n=new Qa;for(let o=0,s=r.visibleRanges,i=s.length;os[o+1].from-500;)l=s[++o].to;e.highlight(r.state,a,l,(c,u)=>{let d=r.state.selection.ranges.some(p=>p.from==c&&p.to==u);n.add(c,u,d?SEe:_Ee)})}return n.finish()}},{decorations:e=>e.decorations});function Iv(e){return t=>{let r=t.state.field($u,!1);return r&&r.query.spec.valid?e(t,r):lE(t)}}const _1=Iv((e,{query:t})=>{let{to:r}=e.state.selection.main,n=t.nextMatch(e.state,r,r);if(!n)return!1;let o=Je.single(n.from,n.to),s=e.state.facet(Mp);return e.dispatch({selection:o,effects:[uE(e,n),s.scrollToMatch(o.main,e)],userEvent:"select.search"}),Fq(e),!0}),S1=Iv((e,{query:t})=>{let{state:r}=e,{from:n}=r.selection.main,o=t.prevMatch(r,n,n);if(!o)return!1;let s=Je.single(o.from,o.to),i=e.state.facet(Mp);return e.dispatch({selection:s,effects:[uE(e,o),i.scrollToMatch(s.main,e)],userEvent:"select.search"}),Fq(e),!0}),AEe=Iv((e,{query:t})=>{let r=t.matchAll(e.state,1e3);return!r||!r.length?!1:(e.dispatch({selection:Je.create(r.map(n=>Je.range(n.from,n.to))),userEvent:"select.search.matches"}),!0)}),EEe=({state:e,dispatch:t})=>{let r=e.selection;if(r.ranges.length>1||r.main.empty)return!1;let{from:n,to:o}=r.main,s=[],i=0;for(let a=new hh(e.doc,e.sliceDoc(n,o));!a.next().done;){if(s.length>1e3)return!1;a.value.from==n&&(i=s.length),s.push(Je.range(a.value.from,a.value.to))}return t(e.update({selection:Je.create(s,i),userEvent:"select.search.matches"})),!0},I4=Iv((e,{query:t})=>{let{state:r}=e,{from:n,to:o}=r.selection.main;if(r.readOnly)return!1;let s=t.nextMatch(r,n,n);if(!s)return!1;let i=s,a=[],l,c,u=[];if(i.from==n&&i.to==o&&(c=r.toText(t.getReplacement(i)),a.push({from:i.from,to:i.to,insert:c}),i=t.nextMatch(r,i.from,i.to),u.push(jt.announce.of(r.phrase("replaced match on line $",r.doc.lineAt(n).number)+"."))),i){let d=a.length==0||a[0].from>=s.to?0:s.to-s.from-c.length;l=Je.single(i.from-d,i.to-d),u.push(uE(e,i)),u.push(r.facet(Mp).scrollToMatch(l.main,e))}return e.dispatch({changes:a,selection:l,effects:u,userEvent:"input.replace"}),!0}),OEe=Iv((e,{query:t})=>{if(e.state.readOnly)return!1;let r=t.matchAll(e.state,1e9).map(o=>{let{from:s,to:i}=o;return{from:s,to:i,insert:t.getReplacement(o)}});if(!r.length)return!1;let n=e.state.phrase("replaced $ matches",r.length)+".";return e.dispatch({changes:r,effects:jt.announce.of(n),userEvent:"input.replace.all"}),!0});function aE(e){return e.state.facet(Mp).createPanel(e)}function KS(e,t){var r,n,o,s,i;let a=e.selection.main,l=a.empty||a.to>a.from+100?"":e.sliceDoc(a.from,a.to);if(t&&!l)return t;let c=e.facet(Mp);return new Bq({search:((r=t==null?void 0:t.literal)!==null&&r!==void 0?r:c.literal)?l:l.replace(/\n/g,"\\n"),caseSensitive:(n=t==null?void 0:t.caseSensitive)!==null&&n!==void 0?n:c.caseSensitive,literal:(o=t==null?void 0:t.literal)!==null&&o!==void 0?o:c.literal,regexp:(s=t==null?void 0:t.regexp)!==null&&s!==void 0?s:c.regexp,wholeWord:(i=t==null?void 0:t.wholeWord)!==null&&i!==void 0?i:c.wholeWord})}function zq(e){let t=Mg(e,aE);return t&&t.dom.querySelector("[main-field]")}function Fq(e){let t=zq(e);t&&t==e.root.activeElement&&t.select()}const lE=e=>{let t=e.state.field($u,!1);if(t&&t.panel){let r=zq(e);if(r&&r!=e.root.activeElement){let n=KS(e.state,t.query.spec);n.valid&&e.dispatch({effects:qg.of(n)}),r.focus(),r.select()}}else e.dispatch({effects:[iE.of(!0),t?qg.of(KS(e.state,t.query.spec)):Gr.appendConfig.of(QS)]});return!0},cE=e=>{let t=e.state.field($u,!1);if(!t||!t.panel)return!1;let r=Mg(e,aE);return r&&r.dom.contains(e.root.activeElement)&&e.focus(),e.dispatch({effects:iE.of(!1)}),!0},$Ee=[{key:"Mod-f",run:lE,scope:"editor search-panel"},{key:"F3",run:_1,shift:S1,scope:"editor search-panel",preventDefault:!0},{key:"Mod-g",run:_1,shift:S1,scope:"editor search-panel",preventDefault:!0},{key:"Escape",run:cE,scope:"editor search-panel"},{key:"Mod-Shift-l",run:EEe},{key:"Mod-Alt-g",run:iEe},{key:"Mod-d",run:yEe,preventDefault:!0}];class TEe{constructor(t){this.view=t;let r=this.query=t.state.field($u).query.spec;this.commit=this.commit.bind(this),this.searchField=go("input",{value:r.search,placeholder:$i(t,"Find"),"aria-label":$i(t,"Find"),class:"cm-textfield",name:"search",form:"","main-field":"true",onchange:this.commit,onkeyup:this.commit}),this.replaceField=go("input",{value:r.replace,placeholder:$i(t,"Replace"),"aria-label":$i(t,"Replace"),class:"cm-textfield",name:"replace",form:"",onchange:this.commit,onkeyup:this.commit}),this.caseField=go("input",{type:"checkbox",name:"case",form:"",checked:r.caseSensitive,onchange:this.commit}),this.reField=go("input",{type:"checkbox",name:"re",form:"",checked:r.regexp,onchange:this.commit}),this.wordField=go("input",{type:"checkbox",name:"word",form:"",checked:r.wholeWord,onchange:this.commit});function n(o,s,i){return go("button",{class:"cm-button",name:o,onclick:s,type:"button"},i)}this.dom=go("div",{onkeydown:o=>this.keydown(o),class:"cm-search"},[this.searchField,n("next",()=>_1(t),[$i(t,"next")]),n("prev",()=>S1(t),[$i(t,"previous")]),n("select",()=>AEe(t),[$i(t,"all")]),go("label",null,[this.caseField,$i(t,"match case")]),go("label",null,[this.reField,$i(t,"regexp")]),go("label",null,[this.wordField,$i(t,"by word")]),...t.state.readOnly?[]:[go("br"),this.replaceField,n("replace",()=>I4(t),[$i(t,"replace")]),n("replaceAll",()=>OEe(t),[$i(t,"replace all")])],go("button",{name:"close",onclick:()=>cE(t),"aria-label":$i(t,"close"),type:"button"},["×"])])}commit(){let t=new Bq({search:this.searchField.value,caseSensitive:this.caseField.checked,regexp:this.reField.checked,wholeWord:this.wordField.checked,replace:this.replaceField.value});t.eq(this.query)||(this.query=t,this.view.dispatch({effects:qg.of(t)}))}keydown(t){kSe(this.view,t,"search-panel")?t.preventDefault():t.keyCode==13&&t.target==this.searchField?(t.preventDefault(),(t.shiftKey?S1:_1)(this.view)):t.keyCode==13&&t.target==this.replaceField&&(t.preventDefault(),I4(this.view))}update(t){for(let r of t.transactions)for(let n of r.effects)n.is(qg)&&!n.value.eq(this.query)&&this.setQuery(n.value)}setQuery(t){this.query=t,this.searchField.value=t.search,this.replaceField.value=t.replace,this.caseField.checked=t.caseSensitive,this.reField.checked=t.regexp,this.wordField.checked=t.wholeWord}mount(){this.searchField.select()}get pos(){return 80}get top(){return this.view.state.facet(Mp).top}}function $i(e,t){return e.state.phrase(t)}const j0=30,_0=/[\s\.,:;?!]/;function uE(e,{from:t,to:r}){let n=e.state.doc.lineAt(t),o=e.state.doc.lineAt(r).to,s=Math.max(n.from,t-j0),i=Math.min(o,r+j0),a=e.state.sliceDoc(s,i);if(s!=n.from){for(let l=0;la.length-j0;l--)if(!_0.test(a[l-1])&&_0.test(a[l])){a=a.slice(0,l);break}}return jt.announce.of(`${e.state.phrase("current match")}. ${a} ${e.state.phrase("on line")} ${n.number}.`)}const PEe=jt.baseTheme({".cm-panel.cm-search":{padding:"2px 6px 4px",position:"relative","& [name=close]":{position:"absolute",top:"0",right:"4px",backgroundColor:"inherit",border:"none",font:"inherit",padding:0,margin:0},"& input, & button, & label":{margin:".2em .6em .2em 0"},"& input[type=checkbox]":{marginRight:".2em"},"& label":{fontSize:"80%",whiteSpace:"pre"}},"&light .cm-searchMatch":{backgroundColor:"#ffff0054"},"&dark .cm-searchMatch":{backgroundColor:"#00ffff8a"},"&light .cm-searchMatch-selected":{backgroundColor:"#ff6a0054"},"&dark .cm-searchMatch-selected":{backgroundColor:"#ff00ff8a"}}),QS=[$u,Dp.low(CEe),PEe];class Vq{constructor(t,r,n,o){this.state=t,this.pos=r,this.explicit=n,this.view=o,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(t){let r=Ws(this.state).resolveInner(this.pos,-1);for(;r&&t.indexOf(r.name)<0;)r=r.parent;return r?{from:r.from,to:this.pos,text:this.state.sliceDoc(r.from,this.pos),type:r.type}:null}matchBefore(t){let r=this.state.doc.lineAt(this.pos),n=Math.max(r.from,this.pos-250),o=r.text.slice(n-r.from,this.pos-r.from),s=o.search(Uq(t,!1));return s<0?null:{from:n+s,to:this.pos,text:o.slice(s)}}get aborted(){return this.abortListeners==null}addEventListener(t,r,n){t=="abort"&&this.abortListeners&&(this.abortListeners.push(r),n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function D4(e){let t=Object.keys(e).join(""),r=/\w/.test(t);return r&&(t=t.replace(/\w/g,"")),`[${r?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`}function IEe(e){let t=Object.create(null),r=Object.create(null);for(let{label:o}of e){t[o[0]]=!0;for(let s=1;stypeof o=="string"?{label:o}:o),[r,n]=t.every(o=>/^\w+$/.test(o.label))?[/\w*$/,/\w+$/]:IEe(t);return o=>{let s=o.matchBefore(n);return s||o.explicit?{from:s?s.from:o.pos,options:t,validFor:r}:null}}class M4{constructor(t,r,n,o){this.completion=t,this.source=r,this.match=n,this.score=o}}function Gd(e){return e.selection.main.from}function Uq(e,t){var r;let{source:n}=e,o=t&&n[0]!="^",s=n[n.length-1]!="$";return!o&&!s?e:new RegExp(`${o?"^":""}(?:${n})${s?"$":""}`,(r=e.flags)!==null&&r!==void 0?r:e.ignoreCase?"i":"")}const Hq=cd.define();function MEe(e,t,r,n){let{main:o}=e.selection,s=r-o.from,i=n-o.from;return Object.assign(Object.assign({},e.changeByRange(a=>{if(a!=o&&r!=n&&e.sliceDoc(a.from+s,a.from+i)!=e.sliceDoc(r,n))return{range:a};let l=e.toText(t);return{changes:{from:a.from+s,to:n==o.from?a.to:a.from+i,insert:l},range:Je.cursor(a.from+s+l.length)}})),{scrollIntoView:!0,userEvent:"input.complete"})}const N4=new WeakMap;function NEe(e){if(!Array.isArray(e))return e;let t=N4.get(e);return t||N4.set(e,t=DEe(e)),t}const C1=Gr.define(),zg=Gr.define();class LEe{constructor(t){this.pattern=t,this.chars=[],this.folded=[],this.any=[],this.precise=[],this.byWord=[],this.score=0,this.matched=[];for(let r=0;r=48&&x<=57||x>=97&&x<=122?2:x>=65&&x<=90?1:0:(j=IA(x))!=j.toLowerCase()?1:j!=j.toUpperCase()?2:0;(!b||_==1&&g||k==0&&_!=0)&&(r[d]==x||n[d]==x&&(p=!0)?i[d++]=b:i.length&&(y=!1)),k=_,b+=ml(x)}return d==l&&i[0]==0&&y?this.result(-100+(p?-200:0),i,t):f==l&&m==0?this.ret(-200-t.length+(v==t.length?0:-100),[0,v]):a>-1?this.ret(-700-t.length,[a,a+this.pattern.length]):f==l?this.ret(-900-t.length,[m,v]):d==l?this.result(-100+(p?-200:0)+-700+(y?0:-1100),i,t):r.length==2?null:this.result((o[0]?-700:0)+-200+-1100,o,t)}result(t,r,n){let o=[],s=0;for(let i of r){let a=i+(this.astral?ml(hi(n,i)):1);s&&o[s-1]==i?o[s-1]=a:(o[s++]=i,o[s++]=a)}return this.ret(t-n.length,o)}}class REe{constructor(t){this.pattern=t,this.matched=[],this.score=0,this.folded=t.toLowerCase()}match(t){if(t.length!1,activateOnTypingDelay:100,selectOnOpen:!0,override:null,closeOnBlur:!0,maxRenderedOptions:100,defaultKeymap:!0,tooltipClass:()=>"",optionClass:()=>"",aboveCursor:!1,icons:!0,addToOptions:[],positionInfo:BEe,filterStrict:!1,compareCompletions:(t,r)=>t.label.localeCompare(r.label),interactionDelay:75,updateSyncTime:100},{defaultKeymap:(t,r)=>t&&r,closeOnBlur:(t,r)=>t&&r,icons:(t,r)=>t&&r,tooltipClass:(t,r)=>n=>L4(t(n),r(n)),optionClass:(t,r)=>n=>L4(t(n),r(n)),addToOptions:(t,r)=>t.concat(r),filterStrict:(t,r)=>t||r})}});function L4(e,t){return e?t?e+" "+t:e:t}function BEe(e,t,r,n,o,s){let i=e.textDirection==Co.RTL,a=i,l=!1,c="top",u,d,p=t.left-o.left,f=o.right-t.right,m=n.right-n.left,v=n.bottom-n.top;if(a&&p=v||b>t.top?u=r.bottom-t.top:(c="bottom",u=t.bottom-r.top)}let g=(t.bottom-t.top)/s.offsetHeight,y=(t.right-t.left)/s.offsetWidth;return{style:`${c}: ${u/g}px; max-width: ${d/y}px`,class:"cm-completionInfo-"+(l?i?"left-narrow":"right-narrow":a?"left":"right")}}function qEe(e){let t=e.addToOptions.slice();return e.icons&&t.push({render(r){let n=document.createElement("div");return n.classList.add("cm-completionIcon"),r.type&&n.classList.add(...r.type.split(/\s+/g).map(o=>"cm-completionIcon-"+o)),n.setAttribute("aria-hidden","true"),n},position:20}),t.push({render(r,n,o,s){let i=document.createElement("span");i.className="cm-completionLabel";let a=r.displayLabel||r.label,l=0;for(let c=0;cl&&i.appendChild(document.createTextNode(a.slice(l,u)));let p=i.appendChild(document.createElement("span"));p.appendChild(document.createTextNode(a.slice(u,d))),p.className="cm-completionMatchedText",l=d}return lr.position-n.position).map(r=>r.render)}function hj(e,t,r){if(e<=r)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){let o=Math.floor(t/r);return{from:o*r,to:(o+1)*r}}let n=Math.floor((e-t)/r);return{from:e-(n+1)*r,to:e-n*r}}class zEe{constructor(t,r,n){this.view=t,this.stateField=r,this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={read:()=>this.measureInfo(),write:l=>this.placeInfo(l),key:this},this.space=null,this.currentClass="";let o=t.state.field(r),{options:s,selected:i}=o.open,a=t.state.facet(ys);this.optionContent=qEe(a),this.optionClass=a.optionClass,this.tooltipClass=a.tooltipClass,this.range=hj(s.length,i,a.maxRenderedOptions),this.dom=document.createElement("div"),this.dom.className="cm-tooltip-autocomplete",this.updateTooltipClass(t.state),this.dom.addEventListener("mousedown",l=>{let{options:c}=t.state.field(r).open;for(let u=l.target,d;u&&u!=this.dom;u=u.parentNode)if(u.nodeName=="LI"&&(d=/-(\d+)$/.exec(u.id))&&+d[1]{let c=t.state.field(this.stateField,!1);c&&c.tooltip&&t.state.facet(ys).closeOnBlur&&l.relatedTarget!=t.contentDOM&&t.dispatch({effects:zg.of(null)})}),this.showOptions(s,o.id)}mount(){this.updateSel()}showOptions(t,r){this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(t,r,this.range)),this.list.addEventListener("scroll",()=>{this.info&&this.view.requestMeasure(this.placeInfoReq)})}update(t){var r;let n=t.state.field(this.stateField),o=t.startState.field(this.stateField);if(this.updateTooltipClass(t.state),n!=o){let{options:s,selected:i,disabled:a}=n.open;(!o.open||o.open.options!=s)&&(this.range=hj(s.length,i,t.state.facet(ys).maxRenderedOptions),this.showOptions(s,n.id)),this.updateSel(),a!=((r=o.open)===null||r===void 0?void 0:r.disabled)&&this.dom.classList.toggle("cm-tooltip-autocomplete-disabled",!!a)}}updateTooltipClass(t){let r=this.tooltipClass(t);if(r!=this.currentClass){for(let n of this.currentClass.split(" "))n&&this.dom.classList.remove(n);for(let n of r.split(" "))n&&this.dom.classList.add(n);this.currentClass=r}}positioned(t){this.space=t,this.info&&this.view.requestMeasure(this.placeInfoReq)}updateSel(){let t=this.view.state.field(this.stateField),r=t.open;if((r.selected>-1&&r.selected=this.range.to)&&(this.range=hj(r.options.length,r.selected,this.view.state.facet(ys).maxRenderedOptions),this.showOptions(r.options,t.id)),this.updateSelectedOption(r.selected)){this.destroyInfo();let{completion:n}=r.options[r.selected],{info:o}=n;if(!o)return;let s=typeof o=="string"?document.createTextNode(o):o(n);if(!s)return;"then"in s?s.then(i=>{i&&this.view.state.field(this.stateField,!1)==t&&this.addInfoPane(i,n)}).catch(i=>oi(this.view.state,i,"completion info")):this.addInfoPane(s,n)}}addInfoPane(t,r){this.destroyInfo();let n=this.info=document.createElement("div");if(n.className="cm-tooltip cm-completionInfo",t.nodeType!=null)n.appendChild(t),this.infoDestroy=null;else{let{dom:o,destroy:s}=t;n.appendChild(o),this.infoDestroy=s||null}this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}updateSelectedOption(t){let r=null;for(let n=this.list.firstChild,o=this.range.from;n;n=n.nextSibling,o++)n.nodeName!="LI"||!n.id?o--:o==t?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),r=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected");return r&&VEe(this.list,r),r}measureInfo(){let t=this.dom.querySelector("[aria-selected]");if(!t||!this.info)return null;let r=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),o=t.getBoundingClientRect(),s=this.space;if(!s){let i=this.dom.ownerDocument.defaultView||window;s={left:0,top:0,right:i.innerWidth,bottom:i.innerHeight}}return o.top>Math.min(s.bottom,r.bottom)-10||o.bottomn.from||n.from==0))if(s=p,typeof c!="string"&&c.header)o.appendChild(c.header(c));else{let f=o.appendChild(document.createElement("completion-section"));f.textContent=p}}const u=o.appendChild(document.createElement("li"));u.id=r+"-"+i,u.setAttribute("role","option");let d=this.optionClass(a);d&&(u.className=d);for(let p of this.optionContent){let f=p(a,this.view.state,this.view,l);f&&u.appendChild(f)}}return n.from&&o.classList.add("cm-completionListIncompleteTop"),n.tonew zEe(r,e,t)}function VEe(e,t){let r=e.getBoundingClientRect(),n=t.getBoundingClientRect(),o=r.height/e.offsetHeight;n.topr.bottom&&(e.scrollTop+=(n.bottom-r.bottom)/o)}function R4(e){return(e.boost||0)*100+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}function UEe(e,t){let r=[],n=null,o=c=>{r.push(c);let{section:u}=c.completion;if(u){n||(n=[]);let d=typeof u=="string"?u:u.name;n.some(p=>p.name==d)||n.push(typeof u=="string"?{name:d}:u)}},s=t.facet(ys);for(let c of e)if(c.hasResult()){let u=c.result.getMatch;if(c.result.filter===!1)for(let d of c.result.options)o(new M4(d,c.source,u?u(d):[],1e9-r.length));else{let d=t.sliceDoc(c.from,c.to),p,f=s.filterStrict?new REe(d):new LEe(d);for(let m of c.result.options)if(p=f.match(m.label)){let v=m.displayLabel?u?u(m,p.matched):[]:p.matched;o(new M4(m,c.source,v,p.score+(m.boost||0)))}}}if(n){let c=Object.create(null),u=0,d=(p,f)=>{var m,v;return((m=p.rank)!==null&&m!==void 0?m:1e9)-((v=f.rank)!==null&&v!==void 0?v:1e9)||(p.named.score-u.score||l(u.completion,d.completion))){let u=c.completion;!a||a.label!=u.label||a.detail!=u.detail||a.type!=null&&u.type!=null&&a.type!=u.type||a.apply!=u.apply||a.boost!=u.boost?i.push(c):R4(c.completion)>R4(a)&&(i[i.length-1]=c),a=c.completion}return i}class Cf{constructor(t,r,n,o,s,i){this.options=t,this.attrs=r,this.tooltip=n,this.timestamp=o,this.selected=s,this.disabled=i}setSelected(t,r){return t==this.selected||t>=this.options.length?this:new Cf(this.options,B4(r,t),this.tooltip,this.timestamp,t,this.disabled)}static build(t,r,n,o,s,i){if(o&&!i&&t.some(c=>c.isPending))return o.setDisabled();let a=UEe(t,r);if(!a.length)return o&&t.some(c=>c.isPending)?o.setDisabled():null;let l=r.facet(ys).selectOnOpen?0:-1;if(o&&o.selected!=l&&o.selected!=-1){let c=o.options[o.selected].completion;for(let u=0;uu.hasResult()?Math.min(c,u.from):c,1e8),create:QEe,above:s.aboveCursor},o?o.timestamp:Date.now(),l,!1)}map(t){return new Cf(this.options,this.attrs,Object.assign(Object.assign({},this.tooltip),{pos:t.mapPos(this.tooltip.pos)}),this.timestamp,this.selected,this.disabled)}setDisabled(){return new Cf(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)}}class A1{constructor(t,r,n){this.active=t,this.id=r,this.open=n}static start(){return new A1(JEe,"cm-ac-"+Math.floor(Math.random()*2e6).toString(36),null)}update(t){let{state:r}=t,n=r.facet(ys),o=(n.override||r.languageDataAt("autocomplete",Gd(r)).map(NEe)).map(a=>(this.active.find(l=>l.source==a)||new sa(a,this.active.some(l=>l.state!=0)?1:0)).update(t,n));o.length==this.active.length&&o.every((a,l)=>a==this.active[l])&&(o=this.active);let s=this.open,i=t.effects.some(a=>a.is(dE));s&&t.docChanged&&(s=s.map(t.changes)),t.selection||o.some(a=>a.hasResult()&&t.changes.touchesRange(a.from,a.to))||!HEe(o,this.active)||i?s=Cf.build(o,r,this.id,s,n,i):s&&s.disabled&&!o.some(a=>a.isPending)&&(s=null),!s&&o.every(a=>!a.isPending)&&o.some(a=>a.hasResult())&&(o=o.map(a=>a.hasResult()?new sa(a.source,0):a));for(let a of t.effects)a.is(Gq)&&(s=s&&s.setSelected(a.value,this.id));return o==this.active&&s==this.open?this:new A1(o,this.id,s)}get tooltip(){return this.open?this.open.tooltip:null}get attrs(){return this.open?this.open.attrs:this.active.length?WEe:GEe}}function HEe(e,t){if(e==t)return!0;for(let r=0,n=0;;){for(;r-1&&(r["aria-activedescendant"]=e+"-"+t),r}const JEe=[];function Wq(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(Hq);if(n&&t.activateOnCompletion(n))return 12}let r=e.isUserEvent("input.type");return r&&t.activateOnTyping?5:r?1:e.isUserEvent("delete.backward")?2:e.selection?8:e.docChanged?16:0}class sa{constructor(t,r,n=!1){this.source=t,this.state=r,this.explicit=n}hasResult(){return!1}get isPending(){return this.state==1}update(t,r){let n=Wq(t,r),o=this;(n&8||n&16&&this.touches(t))&&(o=new sa(o.source,0)),n&4&&o.state==0&&(o=new sa(this.source,1)),o=o.updateFor(t,n);for(let s of t.effects)if(s.is(C1))o=new sa(o.source,1,s.value);else if(s.is(zg))o=new sa(o.source,0);else if(s.is(dE))for(let i of s.value)i.source==o.source&&(o=i);return o}updateFor(t,r){return this.map(t.changes)}map(t){return this}touches(t){return t.changes.touchesRange(Gd(t.state))}}class Uf extends sa{constructor(t,r,n,o,s,i){super(t,3,r),this.limit=n,this.result=o,this.from=s,this.to=i}hasResult(){return!0}updateFor(t,r){var n;if(!(r&3))return this.map(t.changes);let o=this.result;o.map&&!t.changes.empty&&(o=o.map(o,t.changes));let s=t.changes.mapPos(this.from),i=t.changes.mapPos(this.to,1),a=Gd(t.state);if(a>i||!o||r&2&&(Gd(t.startState)==this.from||ar.map(t))}}),Gq=Gr.define(),gi=js.define({create(){return A1.start()},update(e,t){return e.update(t)},provide:e=>[ox.from(e,t=>t.tooltip),jt.contentAttributes.from(e,t=>t.attrs)]});function pE(e,t){const r=t.completion.apply||t.completion.label;let n=e.state.field(gi).active.find(o=>o.source==t.source);return n instanceof Uf?(typeof r=="string"?e.dispatch(Object.assign(Object.assign({},MEe(e.state,r,n.from,n.to)),{annotations:Hq.of(t.completion)})):r(e,t.completion,n.from,n.to),!0):!1}const QEe=FEe(gi,pE);function S0(e,t="option"){return r=>{let n=r.state.field(gi,!1);if(!n||!n.open||n.open.disabled||Date.now()-n.open.timestamp-1?n.open.selected+o*(e?1:-1):e?0:i-1;return a<0?a=t=="page"?0:i-1:a>=i&&(a=t=="page"?i-1:0),r.dispatch({effects:Gq.of(a)}),!0}}const ZEe=e=>{let t=e.state.field(gi,!1);return e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestampe.state.field(gi,!1)?(e.dispatch({effects:C1.of(!0)}),!0):!1,XEe=e=>{let t=e.state.field(gi,!1);return!t||!t.active.some(r=>r.state!=0)?!1:(e.dispatch({effects:zg.of(null)}),!0)};class YEe{constructor(t,r){this.active=t,this.context=r,this.time=Date.now(),this.updates=[],this.done=void 0}}const eOe=50,tOe=1e3,rOe=Lo.fromClass(class{constructor(e){this.view=e,this.debounceUpdate=-1,this.running=[],this.debounceAccept=-1,this.pendingStart=!1,this.composing=0;for(let t of e.state.field(gi).active)t.isPending&&this.startQuery(t)}update(e){let t=e.state.field(gi),r=e.state.facet(ys);if(!e.selectionSet&&!e.docChanged&&e.startState.field(gi)==t)return;let n=e.transactions.some(s=>{let i=Wq(s,r);return i&8||(s.selection||s.docChanged)&&!(i&3)});for(let s=0;seOe&&Date.now()-i.time>tOe){for(let a of i.context.abortListeners)try{a()}catch(l){oi(this.view.state,l)}i.context.abortListeners=null,this.running.splice(s--,1)}else i.updates.push(...e.transactions)}this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),e.transactions.some(s=>s.effects.some(i=>i.is(C1)))&&(this.pendingStart=!0);let o=this.pendingStart?50:r.activateOnTypingDelay;if(this.debounceUpdate=t.active.some(s=>s.isPending&&!this.running.some(i=>i.active.source==s.source))?setTimeout(()=>this.startUpdate(),o):-1,this.composing!=0)for(let s of e.transactions)s.isUserEvent("input.type")?this.composing=2:this.composing==2&&s.selection&&(this.composing=3)}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1;let{state:e}=this.view,t=e.field(gi);for(let r of t.active)r.isPending&&!this.running.some(n=>n.active.source==r.source)&&this.startQuery(r);this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(ys).updateSyncTime))}startQuery(e){let{state:t}=this.view,r=Gd(t),n=new Vq(t,r,e.explicit,this.view),o=new YEe(e,n);this.running.push(o),Promise.resolve(e.source(n)).then(s=>{o.context.aborted||(o.done=s||null,this.scheduleAccept())},s=>{this.view.dispatch({effects:zg.of(null)}),oi(this.view.state,s)})}scheduleAccept(){this.running.every(e=>e.done!==void 0)?this.accept():this.debounceAccept<0&&(this.debounceAccept=setTimeout(()=>this.accept(),this.view.state.facet(ys).updateSyncTime))}accept(){var e;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1;let t=[],r=this.view.state.facet(ys),n=this.view.state.field(gi);for(let o=0;oa.source==s.active.source);if(i&&i.isPending)if(s.done==null){let a=new sa(s.active.source,0);for(let l of s.updates)a=a.update(l,r);a.isPending||t.push(a)}else this.startQuery(i)}(t.length||n.open&&n.open.disabled)&&this.view.dispatch({effects:dE.of(t)})}},{eventHandlers:{blur(e){let t=this.view.state.field(gi,!1);if(t&&t.tooltip&&this.view.state.facet(ys).closeOnBlur){let r=t.open&&j9(this.view,t.open.tooltip);(!r||!r.dom.contains(e.relatedTarget))&&setTimeout(()=>this.view.dispatch({effects:zg.of(null)}),10)}},compositionstart(){this.composing=1},compositionend(){this.composing==3&&setTimeout(()=>this.view.dispatch({effects:C1.of(!1)}),20),this.composing=0}}}),nOe=typeof navigator=="object"&&/Win/.test(navigator.platform),oOe=Dp.highest(jt.domEventHandlers({keydown(e,t){let r=t.state.field(gi,!1);if(!r||!r.open||r.open.disabled||r.open.selected<0||e.key.length>1||e.ctrlKey&&!(nOe&&e.altKey)||e.metaKey)return!1;let n=r.open.options[r.open.selected],o=r.active.find(i=>i.source==n.source),s=n.completion.commitCharacters||o.result.commitCharacters;return s&&s.indexOf(e.key)>-1&&pE(t,n),!1}})),sOe=jt.baseTheme({".cm-tooltip.cm-tooltip-autocomplete":{"& > ul":{fontFamily:"monospace",whiteSpace:"nowrap",overflow:"hidden auto",maxWidth_fallback:"700px",maxWidth:"min(700px, 95vw)",minWidth:"250px",maxHeight:"10em",height:"100%",listStyle:"none",margin:0,padding:0,"& > li, & > completion-section":{padding:"1px 3px",lineHeight:1.2},"& > li":{overflowX:"hidden",textOverflow:"ellipsis",cursor:"pointer"},"& > completion-section":{display:"list-item",borderBottom:"1px solid silver",paddingLeft:"0.5em",opacity:.7}}},"&light .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#17c",color:"white"},"&light .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#777"},"&dark .cm-tooltip-autocomplete ul li[aria-selected]":{background:"#347",color:"white"},"&dark .cm-tooltip-autocomplete-disabled ul li[aria-selected]":{background:"#444"},".cm-completionListIncompleteTop:before, .cm-completionListIncompleteBottom:after":{content:'"···"',opacity:.5,display:"block",textAlign:"center"},".cm-tooltip.cm-completionInfo":{position:"absolute",padding:"3px 9px",width:"max-content",maxWidth:"400px",boxSizing:"border-box",whiteSpace:"pre-line"},".cm-completionInfo.cm-completionInfo-left":{right:"100%"},".cm-completionInfo.cm-completionInfo-right":{left:"100%"},".cm-completionInfo.cm-completionInfo-left-narrow":{right:"30px"},".cm-completionInfo.cm-completionInfo-right-narrow":{left:"30px"},"&light .cm-snippetField":{backgroundColor:"#00000022"},"&dark .cm-snippetField":{backgroundColor:"#ffffff22"},".cm-snippetFieldPosition":{verticalAlign:"text-top",width:0,height:"1.15em",display:"inline-block",margin:"0 -0.7px -.7em",borderLeft:"1.4px dotted #888"},".cm-completionMatchedText":{textDecoration:"underline"},".cm-completionDetail":{marginLeft:"0.5em",fontStyle:"italic"},".cm-completionIcon":{fontSize:"90%",width:".8em",display:"inline-block",textAlign:"center",paddingRight:".6em",opacity:"0.6",boxSizing:"content-box"},".cm-completionIcon-function, .cm-completionIcon-method":{"&:after":{content:"'ƒ'"}},".cm-completionIcon-class":{"&:after":{content:"'○'"}},".cm-completionIcon-interface":{"&:after":{content:"'◌'"}},".cm-completionIcon-variable":{"&:after":{content:"'𝑥'"}},".cm-completionIcon-constant":{"&:after":{content:"'𝐶'"}},".cm-completionIcon-type":{"&:after":{content:"'𝑡'"}},".cm-completionIcon-enum":{"&:after":{content:"'∪'"}},".cm-completionIcon-property":{"&:after":{content:"'□'"}},".cm-completionIcon-keyword":{"&:after":{content:"'🔑︎'"}},".cm-completionIcon-namespace":{"&:after":{content:"'▢'"}},".cm-completionIcon-text":{"&:after":{content:"'abc'",fontSize:"50%",verticalAlign:"middle"}}}),Fg={brackets:["(","[","{","'",'"'],before:")]}:;>",stringPrefixes:[]},Bd=Gr.define({map(e,t){return t.mapPos(e,-1,ri.TrackAfter)??void 0}}),fE=new class extends ip{};fE.startSide=1;fE.endSide=-1;const Jq=js.define({create(){return pn.empty},update(e,t){if(e=e.map(t.changes),t.selection){let r=t.state.doc.lineAt(t.selection.main.head);e=e.update({filter:n=>n>=r.from&&n<=r.to})}for(let r of t.effects)r.is(Bd)&&(e=e.update({add:[fE.range(r.value,r.value+1)]}));return e}});function iOe(){return[lOe,Jq]}const mj="()[]{}<>";function Kq(e){for(let t=0;t{if((aOe?e.composing:e.compositionStarted)||e.state.readOnly)return!1;let o=e.state.selection.main;if(n.length>2||n.length==2&&ml(hi(n,0))==1||t!=o.from||r!=o.to)return!1;let s=dOe(e.state,n);return s?(e.dispatch(s),!0):!1}),cOe=({state:e,dispatch:t})=>{if(e.readOnly)return!1;let r=Qq(e,e.selection.main.head).brackets||Fg.brackets,n=null,o=e.changeByRange(s=>{if(s.empty){let i=pOe(e.doc,s.head);for(let a of r)if(a==i&&hx(e.doc,s.head)==Kq(hi(a,0)))return{changes:{from:s.head-a.length,to:s.head+a.length},range:Je.cursor(s.head-a.length)}}return{range:n=s}});return n||t(e.update(o,{scrollIntoView:!0,userEvent:"delete.backward"})),!n},uOe=[{key:"Backspace",run:cOe}];function dOe(e,t){let r=Qq(e,e.selection.main.head),n=r.brackets||Fg.brackets;for(let o of n){let s=Kq(hi(o,0));if(t==o)return s==o?mOe(e,o,n.indexOf(o+o+o)>-1,r):fOe(e,o,s,r.before||Fg.before);if(t==s&&Zq(e,e.selection.main.from))return hOe(e,o,s)}return null}function Zq(e,t){let r=!1;return e.field(Jq).between(0,e.doc.length,n=>{n==t&&(r=!0)}),r}function hx(e,t){let r=e.sliceString(t,t+2);return r.slice(0,ml(hi(r,0)))}function pOe(e,t){let r=e.sliceString(t-2,t);return ml(hi(r,0))==r.length?r:r.slice(1)}function fOe(e,t,r,n){let o=null,s=e.changeByRange(i=>{if(!i.empty)return{changes:[{insert:t,from:i.from},{insert:r,from:i.to}],effects:Bd.of(i.to+t.length),range:Je.range(i.anchor+t.length,i.head+t.length)};let a=hx(e.doc,i.head);return!a||/\s/.test(a)||n.indexOf(a)>-1?{changes:{insert:t+r,from:i.head},effects:Bd.of(i.head+t.length),range:Je.cursor(i.head+t.length)}:{range:o=i}});return o?null:e.update(s,{scrollIntoView:!0,userEvent:"input.type"})}function hOe(e,t,r){let n=null,o=e.changeByRange(s=>s.empty&&hx(e.doc,s.head)==r?{changes:{from:s.head,to:s.head+r.length,insert:r},range:Je.cursor(s.head+r.length)}:n={range:s});return n?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}function mOe(e,t,r,n){let o=n.stringPrefixes||Fg.stringPrefixes,s=null,i=e.changeByRange(a=>{if(!a.empty)return{changes:[{insert:t,from:a.from},{insert:t,from:a.to}],effects:Bd.of(a.to+t.length),range:Je.range(a.anchor+t.length,a.head+t.length)};let l=a.head,c=hx(e.doc,l),u;if(c==t){if(z4(e,l))return{changes:{insert:t+t,from:l},effects:Bd.of(l+t.length),range:Je.cursor(l+t.length)};if(Zq(e,l)){let d=r&&e.sliceDoc(l,l+t.length*3)==t+t+t?t+t+t:t;return{changes:{from:l,to:l+d.length,insert:d},range:Je.cursor(l+d.length)}}}else{if(r&&e.sliceDoc(l-2*t.length,l)==t+t&&(u=F4(e,l-2*t.length,o))>-1&&z4(e,u))return{changes:{insert:t+t+t+t,from:l},effects:Bd.of(l+t.length),range:Je.cursor(l+t.length)};if(e.charCategorizer(l)(c)!=To.Word&&F4(e,l,o)>-1&&!gOe(e,l,t,o))return{changes:{insert:t+t,from:l},effects:Bd.of(l+t.length),range:Je.cursor(l+t.length)}}return{range:s=a}});return s?null:e.update(i,{scrollIntoView:!0,userEvent:"input.type"})}function z4(e,t){let r=Ws(e).resolveInner(t+1);return r.parent&&r.from==t}function gOe(e,t,r,n){let o=Ws(e).resolveInner(t,-1),s=n.reduce((i,a)=>Math.max(i,a.length),0);for(let i=0;i<5;i++){let a=e.sliceDoc(o.from,Math.min(o.to,o.from+r.length+s)),l=a.indexOf(r);if(!l||l>-1&&n.indexOf(a.slice(0,l))>-1){let u=o.firstChild;for(;u&&u.from==o.from&&u.to-u.from>r.length+l;){if(e.sliceDoc(u.to-r.length,u.to)==r)return!1;u=u.firstChild}return!0}let c=o.to==t&&o.parent;if(!c)break;o=c}return!1}function F4(e,t,r){let n=e.charCategorizer(t);if(n(e.sliceDoc(t-1,t))!=To.Word)return t;for(let o of r){let s=t-o.length;if(e.sliceDoc(s,t)==o&&n(e.sliceDoc(s-1,s))!=To.Word)return s}return-1}function vOe(e={}){return[oOe,gi,ys.of(e),rOe,yOe,sOe]}const Xq=[{key:"Ctrl-Space",run:q4},{mac:"Alt-`",run:q4},{key:"Escape",run:XEe},{key:"ArrowDown",run:S0(!0)},{key:"ArrowUp",run:S0(!1)},{key:"PageDown",run:S0(!0,"page")},{key:"PageUp",run:S0(!1,"page")},{key:"Enter",run:ZEe}],yOe=Dp.highest(l1.computeN([ys],e=>e.facet(ys).defaultKeymap?[Xq]:[]));function bOe(e,t=e.state){const r=new Set;for(const{from:n,to:o}of e.visibleRanges){let s=n;for(;s<=o;){const i=t.doc.lineAt(s);r.has(i)||r.add(i),s=i.to+1}}return r}function ZS(e){const t=e.selection.main.head;return e.doc.lineAt(t)}function V4(e,t){let r=0;e:for(let n=0;n=s.level&&this.markerType!=="codeOnly"?this.set(t,0,o.level):o.empty&&o.level===0&&s.level!==0?this.set(t,0,0):s.level>o.level?this.set(t,0,o.level+1):this.set(t,0,s.level)}const r=V4(t.text,this.state.tabSize),n=Math.floor(r/this.unitWidth);return this.set(t,r,n)}closestNonEmpty(t,r){let n=t.number+r;for(;r===-1?n>=1:n<=this.state.doc.lines;){if(this.has(n)){const i=this.get(n);if(!i.empty)return i}const s=this.state.doc.line(n);if(s.text.trim().length){const i=V4(s.text,this.state.tabSize),a=Math.floor(i/this.unitWidth);return this.set(s,i,a)}n+=r}const o=this.state.doc.line(r===-1?1:this.state.doc.lines);return this.set(o,0,0)}findAndSetActiveLines(){const t=ZS(this.state);if(!this.has(t))return;let r=this.get(t);if(this.has(r.line.number+1)){const s=this.get(r.line.number+1);s.level>r.level&&(r=s)}if(this.has(r.line.number-1)){const s=this.get(r.line.number-1);s.level>r.level&&(r=s)}if(r.level===0)return;r.active=r.level;let n,o;for(n=r.line.number;n>1;n--){if(!this.has(n-1))continue;const s=this.get(n-1);if(s.level0&&l.push(C0("--indent-marker-bg-color",n,t,a,c)),l.push(C0("--indent-marker-active-bg-color",o,t,i-1,1)),i!==s&&l.push(C0("--indent-marker-bg-color",n,t,i,s-i))}else l.push(C0("--indent-marker-bg-color",n,t,a,s-a));return l.join(",")}class jOe{constructor(t){this.view=t,this.unitWidth=Yu(t.state),this.currentLineNumber=ZS(t.state).number,this.generate(t.state)}update(t){const r=Yu(t.state),n=r!==this.unitWidth;n&&(this.unitWidth=r);const o=ZS(t.state).number,s=o!==this.currentLineNumber;this.currentLineNumber=o;const i=t.state.facet(E1).highlightActiveBlock&&s;(t.docChanged||t.viewportChanged||n||i)&&this.generate(t.state)}generate(t){const r=new Qa,n=bOe(this.view,t),{hideFirstIndent:o,markerType:s,thickness:i,activeThickness:a}=t.facet(E1),l=new wOe(n,t,this.unitWidth,s);for(const c of n){const u=l.get(c.number);if(!(u!=null&&u.level))continue;const d=kOe(u,this.unitWidth,o,i,a);r.add(c.from,c.from,kr.line({class:"cm-indent-markers",attributes:{style:`--indent-markers: ${d}`}}))}this.decorations=r.finish()}}function _Oe(e={}){return[E1.of(e),xOe(e.colors),Lo.fromClass(jOe,{decorations:t=>t.decorations})]}var SOe=["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"],COe=["mainAxis","crossAxis","limiter"];function Yq(e,t){if(e==null)return{};var r,n,o=function(i,a){if(i==null)return{};var l={};for(var c in i)if({}.hasOwnProperty.call(i,c)){if(a.indexOf(c)!==-1)continue;l[c]=i[c]}return l}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(n=0;n{};function MOe(e){return e()}function O1(e){for(var t=0;t0&&nz(),bj.length>0&&(e=bj,bj=[],O1(e))}function oz(e){return e===this.v}function gE(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function NOe(e,t){return e!==t}function vE(e){return!gE(e,this.v)}function Id(e,t){if(typeof e!="object"||e===null||Pu in e)return e;var r=mE(e);if(r!==IOe&&r!==DOe)return e;var n=new Map,o=Mv(e),s=sc(0),i=zn,a=l=>{var c,u=zn;return Ll(i),c=l(),Ll(u),c};return o&&n.set("length",sc(e.length)),new Proxy(e,{defineProperty(l,c,u){"value"in u&&u.configurable!==!1&&u.enumerable!==!1&&u.writable!==!1||function(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}();var d=n.get(c);return d===void 0?(d=a(()=>sc(u.value)),n.set(c,d)):$(d,a(()=>Id(u.value))),!0},deleteProperty(l,c){var u=n.get(c);if(u===void 0)c in l&&n.set(c,a(()=>sc(Xs)));else{if(o&&typeof c=="string"){var d=n.get("length"),p=Number(c);Number.isInteger(p)&&psc(Id(f?l[c]:Xs))),n.set(c,p)),p!==void 0){var m=h(p);return m===Xs?void 0:m}return Reflect.get(l,c,u)},getOwnPropertyDescriptor(l,c){var u=Reflect.getOwnPropertyDescriptor(l,c);if(u&&"value"in u){var d=n.get(c);d&&(u.value=h(d))}else if(u===void 0){var p=n.get(c),f=p==null?void 0:p.v;if(p!==void 0&&f!==Xs)return{enumerable:!0,configurable:!0,value:f,writable:!0}}return u},has(l,c){var u;if(c===Pu)return!0;var d=n.get(c),p=d!==void 0&&d.v!==Xs||Reflect.has(l,c);return(d!==void 0||lo!==null&&(!p||(u=jc(l,c))!==null&&u!==void 0&&u.writable))&&(d===void 0&&(d=a(()=>sc(p?Id(l[c]):Xs)),n.set(c,d)),h(d)===Xs)?!1:p},set(l,c,u,d){var p,f=n.get(c),m=c in l;if(o&&c==="length")for(var v=u;vsc(Xs)),n.set(v+"",g))}f===void 0?(!m||(p=jc(l,c))!==null&&p!==void 0&&p.writable)&&($(f=a(()=>sc(void 0)),a(()=>Id(u))),n.set(c,f)):(m=f.v!==Xs,$(f,a(()=>Id(u))));var y=Reflect.getOwnPropertyDescriptor(l,c);if(y!=null&&y.set&&y.set.call(d,u),!m){if(o&&typeof c=="string"){var b=n.get("length"),w=Number(c);Number.isInteger(w)&&w>=b.v&&$(b,w+1)}Z4(s)}return!0},ownKeys(l){h(s);var c=Reflect.ownKeys(l).filter(p=>{var f=n.get(p);return f===void 0||f.v!==Xs});for(var[u,d]of n)d.v===Xs||u in l||c.push(u);return c},setPrototypeOf(){(function(){throw new Error("https://svelte.dev/e/state_prototype_fixed")})()}})}function Z4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;$(e,e.v+t)}var Ug=new Map;function dp(e,t){return{f:0,v:e,reactions:null,equals:oz,rv:0,wv:0}}function sc(e,t){var r=dp(e);return dz(r),r}function he(e){var t,r,n=arguments.length>1&&arguments[1]!==void 0&&arguments[1],o=dp(e);return n||(o.equals=vE),Mh&&jn!==null&&jn.l!==null&&((r=(t=jn.l).s)!==null&&r!==void 0?r:t.s=[]).push(o),o}function Ri(e,t){return $(e,Rl(()=>h(e))),t}function $(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return zn!==null&&!vl&&zh()&&18&zn.f&&((r=Sc)===null||r===void 0||!r.includes(e))&&function(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}(),t2(e,n?Id(t):t)}function t2(e,t){if(!e.equals(t)){var r=e.v;Nv?Ug.set(e,t):Ug.set(e,r),e.v=t,e.wv=fz(),sz(e,Nh),zh()&&lo!==null&&lo.f&Hi&&!(96&lo.f)&&(Ki===null?function(n){Ki=n}([e]):Ki.push(e))}return t}function X4(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=h(e),n=t===1?r++:r--;return $(e,r),n}function sz(e,t){var r=e.reactions;if(r!==null)for(var n=zh(),o=r.length,s=0;s0&&arguments[0]!==void 0?arguments[0]:"";return document.createTextNode(e)}function Bi(e){return cz.call(e)}function yx(e){return uz.call(e)}function fe(e,t){return Bi(e)}function Kt(e,t){var r=Bi(e);return r instanceof Comment&&r.data===""?yx(r):r}function ke(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,r=e;t--;)r=yx(r);return r}var A0=!1,$1=!1,T1=null,Jd=!1,Nv=!1;function Y4(e){Nv=e}var tg=[],zn=null,vl=!1;function Ll(e){zn=e}var lo=null;function ed(e){lo=e}var Sc=null;function dz(e){zn!==null&&zn.f&YS&&(Sc===null?Sc=[e]:Sc.push(e))}var Ys=null,Pi=0,Ki=null,pz=1,P1=0,_u=!1;function fz(){return++pz}function Rh(e){var t=e.f;if(t&Nh)return!0;if(t&Lh){var r=e.deps,n=!!(t&Tl);if(r!==null){var o,s,i=!!(t&XS),a=n&&lo!==null&&!_u,l=r.length;if(i||a){var c=e,u=c.parent;for(o=0;oe.wv)return!0}n&&(lo===null||_u)||Ya(e,Hi)}return!1}function bx(e,t,r,n){if(A0){if(r===null&&(A0=!1),function(o){return!(o.f&hE||o.parent!==null&&o.parent.f&yj)}(t))throw e}else r!==null&&(A0=!0),function(o,s){for(var i=s;i!==null;){if(i.f&yj)try{return void i.fn(o)}catch{i.f^=yj}i=i.parent}throw A0=!1,o}(e,t)}function hz(e,t){var r=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],n=e.reactions;if(n!==null)for(var o=0;o0)for(d.length=Pi+Ys.length,p=0;p0;){t++>1e3&&ROe();var r=tg,n=r.length;tg=[];for(var o=0;o0;)$1=!0,gz(),Q4()}function vz(){return(vz=pr(function*(){yield Promise.resolve(),so()})).apply(this,arguments)}function h(e){var t,r=!!(2&e.f);if(zn===null||vl){if(r&&e.deps===null&&e.effects===null){var n=e,o=n.parent;o===null||o.f&Tl||(n.f^=Tl)}}else if((t=Sc)===null||t===void 0||!t.includes(e)){var s=zn.deps;e.rv1&&arguments[1]!==void 0?arguments[1]:new Set;if(!(typeof e!="object"||e===null||e instanceof EventTarget||t.has(e))){for(var r in t.add(e),e instanceof Date&&e.getTime(),e)try{r2(e[r],t)}catch{}var n=mE(e);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){var o=rz(n);for(var s in o){var i=o[s].get;if(i)try{i.call(e)}catch{}}}}}function yz(e){lo===null&&zn===null&&function(){throw new Error("https://svelte.dev/e/effect_orphan")}(),zn!==null&&zn.f&Tl&&lo===null&&function(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}(),Nv&&function(){throw new Error("https://svelte.dev/e/effect_in_teardown")}()}function Bh(e,t,r){var n=!(arguments.length>3&&arguments[3]!==void 0)||arguments[3],o=lo,s={ctx:jn,deps:null,nodes_start:null,nodes_end:null,f:e|Nh,first:null,fn:t,last:null,next:null,parent:o,prev:null,teardown:null,transitions:null,wv:0};if(r)try{wx(s),s.f|=32768}catch(l){throw Bl(s),l}else t!==null&&xx(s);if(!(r&&s.deps===null&&s.first===null&&s.nodes_start===null&&s.teardown===null&&!(1048704&s.f))&&n&&(o!==null&&function(l,c){var u=c.last;u===null?c.last=c.first=l:(u.next=l,l.prev=u,c.last=l)}(s,o),zn!==null&&2&zn.f)){var i,a=zn;((i=a.effects)!==null&&i!==void 0?i:a.effects=[]).push(s)}return s}function yE(e){var t=Bh(8,null,!1);return Ya(t,Hi),t.teardown=e,t}function n2(e){if(yz(),!(lo!==null&&lo.f&mx&&jn!==null&&!jn.m))return ws(e);var t,r=jn;((t=r.e)!==null&&t!==void 0?t:r.e=[]).push({fn:e,effect:lo,reaction:zn})}function ws(e){return Bh(4,e,!1)}function $e(e,t){var r=jn,n={effect:null,ran:!1};r.l.r1.push(n),n.effect=qh(()=>{e(),n.ran||(n.ran=!0,$(r.l.r2,!0),Rl(t))})}function mn(){var e=jn;qh(()=>{if(h(e.l.r2)){for(var t of e.l.r1){var r=t.effect;r.f&Hi&&Ya(r,Lh),Rh(r)&&wx(r),t.ran=!1}e.l.r2.v=!1}})}function qh(e){return Bh(8,e,!0)}function nt(e){var t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:mh,r=(arguments.length>1&&arguments[1]!==void 0?arguments[1]:[]).map(t);return Np(()=>e(...r.map(h)))}function Np(e){return Bh(24|(arguments.length>1&&arguments[1]!==void 0?arguments[1]:0),e,!0)}function Rc(e){return Bh(40,e,!0,!(arguments.length>1&&arguments[1]!==void 0)||arguments[1])}function bz(e){var t=e.teardown;if(t!==null){var r=Nv,n=zn;Y4(!0),Ll(null);try{t.call(null)}finally{Y4(r),Ll(n)}}}function wz(e){var t=arguments.length>1&&arguments[1]!==void 0&&arguments[1],r=e.first;for(e.first=e.last=null;r!==null;){var n=r.next;r.f&ez?r.parent=null:Bl(r,t),r=n}}function Bl(e){var t=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],r=!1;if((t||524288&e.f)&&e.nodes_start!==null){for(var n=e.nodes_start,o=e.nodes_end;n!==null;){var s=n===o?null:yx(n);n.remove(),n=s}r=!0}wz(e,t&&!r),I1(e,0),Ya(e,hE);var i=e.transitions;if(i!==null)for(var a of i)a.stop();bz(e);var l=e.parent;l!==null&&l.first!==null&&xz(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=null}function xz(e){var t=e.parent,r=e.prev,n=e.next;r!==null&&(r.next=n),n!==null&&(n.prev=r),t!==null&&(t.first===e&&(t.first=n),t.last===e&&(t.last=r))}function gh(e,t){var r=[];bE(e,r,!0),kz(r,()=>{Bl(e),t&&t()})}function kz(e,t){var r=e.length;if(r>0){var n=()=>--r||t();for(var o of e)o.out(n)}else t()}function bE(e,t,r){if(!(e.f&Tu)){if(e.f^=Tu,e.transitions!==null)for(var n of e.transitions)(n.is_global||r)&&t.push(n);for(var o=e.first;o!==null;){var s=o.next;bE(o,t,!!(o.f&Dv||o.f&mx)&&r),o=s}}}function D1(e){jz(e,!0)}function jz(e,t){if(e.f&Tu){e.f^=Tu,e.f&Hi||(e.f^=Hi),Rh(e)&&(Ya(e,Nh),xx(e));for(var r=e.first;r!==null;){var n=r.next;jz(r,!!(r.f&Dv||r.f&mx)&&t),r=n}if(e.transitions!==null)for(var o of e.transitions)(o.is_global||t)&&o.in()}}function Lv(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}var jn=null;function eD(e){jn=e}function pd(e){return _z().get(e)}function Ut(e){var t=jn={p:jn,c:null,d:!1,e:null,m:!1,s:e,x:null,l:null};Mh&&!(arguments.length>1&&arguments[1]!==void 0&&arguments[1])&&(jn.l={s:null,u:null,r1:[],r2:dp(!1)}),yE(()=>{t.d=!0})}function Ht(e){var t=jn;if(t!==null){e!==void 0&&(t.x=e);var r=t.e;if(r!==null){var n=lo,o=zn;t.e=null;try{for(var s=0;s3&&arguments[3]!==void 0?arguments[3]:r;e.addEventListener(t,()=>Sz(r));var o=e.__on_r;e.__on_r=o?()=>{o(),n(!0)}:()=>n(!0),tD||(tD=!0,document.addEventListener("reset",s=>{Promise.resolve().then(()=>{if(!s.defaultPrevented)for(var i of s.target.elements){var a;(a=i.__on_r)===null||a===void 0||a.call(i)}})},{capture:!0}))}var Cz=new Set,o2=new Set;function Az(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};function o(s){if(n.capture||Mm.call(t,s),!s.cancelBubble)return Sz(()=>r==null?void 0:r.call(this,s))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?gx(()=>{t.addEventListener(e,o,n)}):t.addEventListener(e,o,n),o}function Xe(e,t,r,n,o){var s={capture:n,passive:o},i=Az(e,t,r,s);t!==document.body&&t!==window&&t!==document||yE(()=>{t.removeEventListener(e,i,s)})}function Rv(e){for(var t=0;ti||n});var d=zn,p=lo;Ll(null),ed(null);try{for(var f,m=[];i!==null;){var v=i.assignedSlot||i.parentNode||i.host||null;try{var g=i["__"+o];if(g!=null&&(!i.disabled||e.target===i))if(Mv(g)){var[y,...b]=g;y.apply(i,[e,...b])}else g.call(i,e)}catch(x){f?m.push(x):f=x}if(e.cancelBubble||v===r||v===null)break;i=v}if(f){var w=function(x){queueMicrotask(()=>{throw x})};for(var k of m)w(k);throw f}}finally{e.__root=r,delete e.currentTarget,Ll(d),ed(p)}}}function wE(e){var t=document.createElement("template");return t.innerHTML=e,t.content}function pp(e,t){var r=lo;r.nodes_start===null&&(r.nodes_start=e,r.nodes_end=t)}function Pe(e,t){var r,n=!!(1&t),o=!!(2&t),s=!e.startsWith("");return()=>{r===void 0&&(r=wE(s?e:""+e),n||(r=Bi(r)));var i=o||lz?document.importNode(r,!0):r.cloneNode(!0);return n?pp(Bi(i),i.lastChild):pp(i,i),i}}function fd(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"svg",o=!e.startsWith(""),s=!!(1&t),i="<".concat(n,">").concat(o?e:""+e,"");return()=>{if(!r){var a=Bi(wE(i));if(s)for(r=document.createDocumentFragment();Bi(a);)r.appendChild(Bi(a));else r=Bi(a)}var l=r.cloneNode(!0);return s?pp(Bi(l),l.lastChild):pp(l,l),l}}function ds(){var e=vx((arguments.length>0&&arguments[0]!==void 0?arguments[0]:"")+"");return pp(e,e),e}function vo(){var e=document.createDocumentFragment(),t=document.createComment(""),r=vx();return e.append(t,r),pp(t,r),e}function ge(e,t){e!==null&&e.before(t)}function Xt(e,t){var r,n=t==null?"":typeof t=="object"?t+"":t;n!==((r=e.__t)!==null&&r!==void 0?r:e.__t=e.nodeValue)&&(e.__t=n,e.nodeValue=n+"")}function GOe(e,t){return function(r,n){var{target:o,anchor:s,props:i={},events:a,context:l}=n;(function(){if(_c===void 0){_c=window,lz=/Firefox/.test(navigator.userAgent);var f=Element.prototype,m=Node.prototype,v=Text.prototype;cz=jc(m,"firstChild").get,uz=jc(m,"nextSibling").get,J4(f)&&(f.__click=void 0,f.__className=void 0,f.__attributes=null,f.__style=void 0,f.__e=void 0),J4(v)&&(v.__t=void 0)}})();var c=new Set,u=f=>{for(var m=0;m0&&arguments[0]!==void 0?arguments[0]:{};return new Promise(g=>{v.outro?gh(m,()=>{Bl(m),g(void 0)}):(Bl(m),g(void 0))})}}(()=>{var f=s??o.appendChild(vx());return Rc(()=>{l&&(Ut({}),jn.c=l),a&&(i.$$events=a),d=r(f,i)||{},l&&Ht()}),()=>{for(var m of c){o.removeEventListener(m,Mm);var v=rf.get(m);--v==0?(document.removeEventListener(m,Mm),rf.delete(m)):rf.set(m,v)}var g;o2.delete(u),f!==s&&((g=f.parentNode)===null||g===void 0||g.removeChild(f))}});return s2.set(d,p),d}(e,t)}var rf=new Map,s2=new WeakMap;function Ne(e,t){var[r,n]=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[0,0],o=e,s=null,i=null,a=Xs,l=!1,c=function(d){l=!0,u(!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],d)},u=(d,p)=>{a!==(a=d)&&(a?(s?D1(s):p&&(s=Rc(()=>p(o))),i&&gh(i,()=>{i=null})):(i?D1(i):p&&(i=Rc(()=>p(o,[r+1,n]))),s&&gh(s,()=>{s=null})))};Np(()=>{l=!1,t(c),l||u(null,null)},r>0?Dv:0)}function Ez(e,t,r){var n,o=e,s=Xs,i=zh()?NOe:gE;Np(()=>{i(s,s=t())&&(n&&gh(n),n=Rc(()=>r(o)))})}function Mo(e,t){return t}function Eo(e,t,r,n,o){var s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:null,i=e,a={items:new Map,first:null};!(4&t)||(i=e.appendChild(vx()));var l=null,c=!1,u=We(()=>{var d=r();return Mv(d)?d:d==null?[]:e2(d)});Np(()=>{var d=h(u),p=d.length;c&&p===0||(c=p===0,function(f,m,v,g,y,b,w){var k,x,j,_,C,A,I=!!(8&y),M=!!(3&y),L=f.length,F=m.items,z=m.first,N=z,X=null,V=[],J=[];if(I)for(A=0;A0){var Se=4&y&&L===0?v:null;if(I){for(A=0;A0&&Ce.length===0&&te!==null;if(kt){var ft=te.parentNode;ft.textContent="",ft.append(te),ne.clear(),ru(xe,R[0].prev,R[me-1].next)}kz(Ce,()=>{for(var Ue=0;Ue{if(x!==void 0)for(C of x){var xe;(xe=C.a)===null||xe===void 0||xe.apply()}}),lo.first=m.first&&m.first.e,lo.last=X&&X.e}(d,a,i,o,t,n,r),s!==null&&(p===0?l?D1(l):l=Rc(()=>s(i)):l!==null&&gh(l,()=>{l=null})),h(u))})}function JOe(e,t,r,n){1&n&&t2(e.v,t),2&n?t2(e.i,r):e.i=r}function KOe(e,t,r,n,o,s,i,a,l,c){var u=1&l?16&l?dp(o):he(o):o,d=2&l?dp(i):i,p={i:d,v:u,k:s,a:null,e:null,prev:r,next:n};return p.e=Rc(()=>a(e,u,d,c),!1),p.e.prev=r&&r.e,p.e.next=n&&n.e,r===null?t.first=p:(r.next=p,r.e.next=p.e),n!==null&&(n.prev=p,n.e.prev=p.e),p}function rD(e,t,r){for(var n=e.next?e.next.e.nodes_start:r,o=t?t.e.nodes_start:r,s=e.e.nodes_start;s!==n;){var i=yx(s);o.before(s),s=i}}function ru(e,t,r){t===null?e.first=r:(t.next=r,t.e.next=r&&r.e),r!==null&&(r.prev=t,r.e.prev=t&&t.e)}function Oz(e,t,r,n,o){var s,i=e,a="";Np(()=>{var l;a!==(a=(l=t())!==null&&l!==void 0?l:"")&&(s!==void 0&&(Bl(s),s=void 0),a!==""&&(s=Rc(()=>{var c=a+"";r&&(c="".concat(c,""));var u=wE(c);if((r||n)&&(u=Bi(u)),pp(Bi(u),u.lastChild),r||n)for(;Bi(u);)i.before(Bi(u));else i.before(u)})))})}function _o(e,t,r,n,o){var s,i=(s=t.$$slots)===null||s===void 0?void 0:s[r],a=!1;i===!0&&(i=t[r==="default"?"children":r],a=!0),i===void 0?o!==null&&o(e):i(e,a?()=>n:n)}function $z(e,t,r){var n,o,s=e;Np(()=>{n!==(n=t())&&(o&&(gh(o),o=null),n&&(o=Rc(()=>r(s,n))))},Dv)}function Vs(e,t,r){ws(()=>{var n=Rl(()=>t(e,r==null?void 0:r())||{});if(r&&n!=null&&n.update){var o=!1,s={};qh(()=>{var i=r();de(i),o&&gE(s,i)&&(s=i,n.update(i))}),o=!0}if(n!=null&&n.destroy)return()=>n.destroy()})}function Tz(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t1&&arguments[1]!==void 0&&arguments[1]?" !important;":";",r="";for(var n in e){var o=e[n];o!=null&&o!==""&&(r+=" "+n+": "+o+t)}return r}function wj(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function hr(e,t,r,n,o,s){var i=e.__className;if(i!==r||i===void 0){var a=function(u,d,p){var f=u==null?"":""+u;if(d&&(f=f?f+" "+d:d),p){for(var m in p)if(p[m])f=f?f+" "+m:m;else if(f.length)for(var v=m.length,g=0;(g=f.indexOf(m,g))>=0;){var y=g+v;g!==0&&!nD.includes(f[g-1])||y!==f.length&&!nD.includes(f[y])?g=y:f=(g===0?"":f.substring(0,g))+f.substring(y+1)}}return f===""?null:f}(r,n,s);a==null?e.removeAttribute("class"):t?e.className=a:e.setAttribute("class",a),e.__className=r}else if(s&&o!==s)for(var l in s){var c=!!s[l];o!=null&&c===!!o[l]||e.classList.toggle(l,c)}return s}function xj(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=arguments.length>3?arguments[3]:void 0;for(var o in r){var s=r[o];t[o]!==s&&(r[o]==null?e.style.removeProperty(o):e.style.setProperty(o,s,n))}}function Ba(e,t,r,n){if(e.__style!==t){var o=function(s,i){if(i){var a,l,c="";if(Array.isArray(i)?(a=i[0],l=i[1]):a=i,s){s=String(s).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var u=!1,d=0,p=!1,f=[];a&&f.push(...Object.keys(a).map(wj)),l&&f.push(...Object.keys(l).map(wj));for(var m=0,v=-1,g=s.length,y=0;y{document.activeElement===N&&F.focus()})}})(e,!!x);else if(i||k!=="__value"&&(k!=="value"||x==null))if(k==="selected"&&c)(function(F,z){z?F.hasAttribute("selected")||F.setAttribute("selected",""):F.removeAttribute("selected")})(e,x);else if(v=k,a||(v=function(F){var z;return F=F.toLowerCase(),(z=VOe[F])!==null&&z!==void 0?z:F}(v)),g=v==="defaultValue"||v==="defaultChecked",x!=null||i||g)g||y.includes(v)&&(i||typeof x!="string")?e[v]=x:typeof x!="function"&&fn(e,v,x);else if(s[k]=null,v==="value"||v==="checked"){var A=e,I=t===void 0;if(v==="value"){var M=A.defaultValue;A.removeAttribute(v),A.defaultValue=M,A.value=A.__value=I?M:null}else{var L=A.defaultChecked;A.removeAttribute(v),A.defaultChecked=L,A.checked=!!I&&L}}else e.removeAttribute(k);else e.value=e.__value=x};for(var w in r)b(w);return l}function xE(e){var t;return(t=e.__attributes)!==null&&t!==void 0?t:e.__attributes={[Pz]:e.nodeName.includes("-"),[Iz]:e.namespaceURI==="http://www.w3.org/1999/xhtml"}}var sD=new Map;function Dz(e){var t,r=sD.get(e.nodeName);if(r)return r;sD.set(e.nodeName,r=[]);for(var n=e,o=Element.prototype;o!==n;){for(var s in t=rz(n))t[s].set&&r.push(s);n=mE(n)}return r}function M1(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:t,n=zh();WOe(e,"input",o=>{var s=o?e.defaultValue:e.value;if(s=kj(e)?jj(s):s,r(s),n&&s!==(s=t())){var i=e.selectionStart,a=e.selectionEnd;e.value=s??"",a!==null&&(e.selectionStart=i,e.selectionEnd=Math.min(a,e.value.length))}}),Rl(t)==null&&e.value&&r(kj(e)?jj(e.value):e.value),qh(()=>{var o=t();kj(e)&&o===jj(e.value)||(e.type!=="date"||o||e.value)&&o!==e.value&&(e.value=o??"")})}function kj(e){var t=e.type;return t==="number"||t==="range"}function jj(e){return e===""?null:+e}function lr(e,t,r){var n=jc(e,t);n&&n.set&&(e[t]=r,yE(()=>{e[t]=null}))}function iD(e,t){return e===t||(e==null?void 0:e[Pu])===t}function no(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2?arguments[2]:void 0;return ws(()=>{var n,o;return qh(()=>{n=o,o=[],Rl(()=>{e!==r(...o)&&(t(e,...o),n&&iD(r(...n),e)&&t(null,...n))})}),()=>{gx(()=>{o&&iD(r(...o),e)&&t(null,...o)})}}),e}function ac(e){return function(){for(var t=arguments.length,r=new Array(t),n=0;n0&&arguments[0]!==void 0&&arguments[0],t=jn,r=t.l.u;if(r){var n,o=()=>de(t.s);if(e){var s=0,i={},a=mh(()=>{var l=!1,c=t.s;for(var u in c)c[u]!==i[u]&&(i[u]=c[u],l=!0);return l&&s++,s});o=()=>h(a)}r.b.length&&(n=()=>{aD(t,o),O1(r.b)},yz(),qh(n)),n2(()=>{var l=Rl(()=>r.m.map(MOe));return()=>{for(var c of l)typeof c=="function"&&c()}}),r.a.length&&n2(()=>{aD(t,o),O1(r.a)})}}function aD(e,t){if(e.l.s)for(var r of e.l.s)h(r);t()}function kx(e){var t=dp(0);return function(){return arguments.length===1?($(t,h(t)+1),arguments[0]):(h(t),e())}}function Nm(e,t){var r,n=(r=e.$$events)===null||r===void 0?void 0:r[t.type],o=Mv(n)?n.slice():n==null?[]:[n];for(var s of o)s.call(this,t)}function Is(e){jn===null&&Lv(),Mh&&jn.l!==null?Mz(jn).m.push(e):n2(()=>{var t=Rl(e);if(typeof t=="function")return t})}function va(e){jn===null&&Lv(),Is(()=>()=>Rl(e))}function QOe(){var e=jn;return e===null&&Lv(),(t,r,n)=>{var o,s=(o=e.s.$$events)===null||o===void 0?void 0:o[t];if(s){var i=Mv(s)?s.slice():[s],a=function(c,u){var{bubbles:d=!1,cancelable:p=!1}=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return new CustomEvent(c,{detail:u,bubbles:d,cancelable:p})}(t,r,n);for(var l of i)l.call(e.x,a);return!a.defaultPrevented}return!0}}function ZOe(e){jn===null&&Lv(),jn.l===null&&function(){throw new Error("https://svelte.dev/e/lifecycle_legacy_only")}(),Mz(jn).b.push(e)}function Mz(e){var t,r=e.l;return(t=r.u)!==null&&t!==void 0?t:r.u={a:[],b:[],m:[]}}var E0=!1,XOe={get(e,t){if(!e.exclude.includes(t))return h(e.version),t in e.special?e.special[t]():e.props[t]},set:(e,t,r)=>(t in e.special||(e.special[t]=T({get[t](){return e.props[t]}},t,4)),e.special[t](r),X4(e.version),!0),getOwnPropertyDescriptor(e,t){if(!e.exclude.includes(t))return t in e.props?{enumerable:!0,configurable:!0,value:e.props[t]}:void 0},deleteProperty:(e,t)=>(e.exclude.includes(t)||(e.exclude.push(t),X4(e.version)),!0),has:(e,t)=>!e.exclude.includes(t)&&t in e.props,ownKeys:e=>Reflect.ownKeys(e.props).filter(t=>!e.exclude.includes(t))};function O0(e,t){return new Proxy({props:e,exclude:t,special:{},version:dp(0)},XOe)}var YOe={get(e,t){for(var r=e.props.length;r--;){var n=e.props[r];if(ym(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n)return n[t]}},set(e,t,r){for(var n=e.props.length;n--;){var o=e.props[n];ym(o)&&(o=o());var s=jc(o,t);if(s&&s.set)return s.set(r),!0}return!1},getOwnPropertyDescriptor(e,t){for(var r=e.props.length;r--;){var n=e.props[r];if(ym(n)&&(n=n()),typeof n=="object"&&n!==null&&t in n){var o=jc(n,t);return o&&!o.configurable&&(o.configurable=!0),o}}},has(e,t){if(t===Pu||t===tz)return!1;for(var r of e.props)if(ym(r)&&(r=r()),r!=null&&t in r)return!0;return!1},ownKeys(e){var t=[];for(var r of e.props)for(var n in ym(r)&&(r=r()),r)t.includes(n)||t.push(n);return t}};function Iu(){for(var e=arguments.length,t=new Array(e),r=0;re[t]):i=e[t];var p,f=Pu in e||tz in e,m=c&&((o=(s=jc(e,t))===null||s===void 0?void 0:s.set)!==null&&o!==void 0?o:f&&t in e&&(C=>e[t]=C))||void 0,v=n,g=!0,y=!1,b=()=>(y=!0,g&&(g=!1,v=u?Rl(n):n),v);if(i===void 0&&n!==void 0&&(m&&l&&function(){throw new Error("https://svelte.dev/e/props_invalid_value")}(),i=b(),m&&m(i)),l)p=()=>{var C=e[t];return C===void 0?b():(g=!0,y=!1,C)};else{var w=(a?mh:We)(()=>e[t]);w.f|=EOe,p=()=>{var C=h(w);return C!==void 0&&(v=void 0),C===void 0?v:C}}if(!(4&r))return p;if(m){var k=e.$$legacy;return function(C,A){return arguments.length>0?(l&&A&&!k&&!d||m(A?p():C),C):p()}}var x=!1,j=he(i),_=mh(()=>{var C=p(),A=h(j);return x?(x=!1,A):j.v=C});return c&&h(_),a||(_.equals=vE),function(C,A){if(arguments.length>0){var I=A?h(_):l&&c?Id(C):C;if(!_.equals(I)){if(x=!0,$(j,I),y&&v!==void 0&&(v=I),lD(_))return C;Rl(()=>h(_))}return C}return lD(_)?_.v:h(_)}}function ss(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:function(n){var o=function(s){try{if(typeof window<"u"&&window.localStorage!==void 0)return window.localStorage[s]}catch{}}("debug");return o!=null&&o.endsWith("*")?n.startsWith(o.slice(0,-1)):n===o}(e);if(!t)return e$e;var r=function(n){for(var o=0,s=0;s9466848e5&&isFinite(e)&&Math.floor(e)===e&&!isNaN(new Date(e).valueOf());if(typeof e=="bigint")return i2(Number(e));try{var t=e&&e.valueOf();if(t!==e)return i2(t)}catch{return!1}return!1}function Nz(e){($0=$0||window.document.createElement("div")).style.color="",$0.style.color=e;var t=$0.style.color;return t!==""?t.replace(/\s+/g,"").toLowerCase():void 0}var $0=void 0;function o$e(e){return typeof e=="string"&&e.length<99&&!!Nz(e)}function jE(e,t){if(typeof e=="number"||typeof e=="string"||typeof e=="boolean"||e===void 0)return typeof e;if(typeof e=="bigint")return"number";if(e===null)return"null";if(Array.isArray(e))return"array";if(hn(e))return"object";var r=t.stringify(e);return r&&kE(r)?"number":r==="true"||r==="false"?"boolean":r==="null"?"null":"unknown"}var s$e=/^https?:\/\/\S+$/;function jx(e){return typeof e=="string"&&s$e.test(e)}function Fh(e,t){if(e==="")return"";var r=e.trim();return r==="null"?null:r==="true"||r!=="false"&&(kE(r)?t.parse(r):e)}var i$e=[];function uD(e,t){if(e.length!==t.length)return!1;for(var r=0;r1&&arguments[1]!==void 0&&arguments[1],r={};if(!Array.isArray(e))throw new TypeError("Array expected");function n(i,a){(!Array.isArray(i)&&!hn(i)||t&&a.length>0)&&(r[Wt(a)]=!0),hn(i)&&Object.keys(i).forEach(l=>{n(i[l],a.concat(l))})}for(var o=Math.min(e.length,1e4),s=0;st?e.slice(0,t):e}function dD(e){return rt({},e)}function pD(e){return Object.values(e)}function fD(e,t,r,n){var o=e.slice(0),s=o.splice(t,r);return o.splice.apply(o,[t+n,0,...s]),o}function a$e(e,t,r){return e.slice(0,t).concat(r).concat(e.slice(t))}function Bv(e,t){try{return t.parse(e)}catch{return t.parse(Ol(e))}}function Bz(e,t){try{return Bv(e,t)}catch{return}}function _x(e,t){e=e.replace(zz,"");try{return t(e)}catch{}try{return t("{"+e+"}")}catch{}try{return t("["+e+"]")}catch{}throw new Error("Failed to parse partial JSON")}function qz(e){e=e.replace(zz,"");try{return Ol(e)}catch{}try{var t=Ol("["+e+"]");return t.substring(1,t.length-1)}catch{}try{var r=Ol("{"+e+"}");return r.substring(1,r.length-1)}catch{}throw new Error("Failed to repair partial JSON")}var zz=/,\s*$/;function vh(e,t){var r=mD.exec(t);if(r){var n=ks(r[2]),o=function(f,m){for(var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:0,g=arguments.length>3&&arguments[3]!==void 0?arguments[3]:f.length,y=0,b=v;b"line ".concat(o+1," column ").concat(s+1))}}var i=d$e.exec(t),a=i?ks(i[1]):void 0,l=a!==void 0?a-1:void 0,c=p$e.exec(t),u=c?ks(c[1]):void 0,d=u!==void 0?u-1:void 0,p=l!==void 0&&d!==void 0?function(f,m,v){for(var g=f.indexOf(` `),y=1;yc.map(u=>`.${a(u)}`).join(""),a=c=>mxe.test(c)?c:JSON.stringify(c } .jse-absolute-popup.svelte-1r8q3m8 .jse-absolute-popup-content:where(.svelte-1r8q3m8) { position: absolute; -}`);var k$e=Pe('
'),j$e=Pe('
');function _$e(e,t){Ut(t,!1);var r=T(t,"popup",8),n=T(t,"closeAbsolutePopup",8),o=he(),s=he();function i(d){r().options&&r().options.closeOnOuterClick&&!Vh(d.target,p=>p===h(o))&&n()(r().id)}function a(d){Bc(d)==="Escape"&&(d.preventDefault(),d.stopPropagation(),n()(r().id))}Is(function(){h(s)&&h(s).focus()}),fr();var l=j$e();Xe("mousedown",_c,function(d){i(d)},!0),Xe("keydown",_c,a,!0),Xe("wheel",_c,function(d){i(d)},!0);var c=fe(l),u=d=>{var p=k$e(),f=fe(p);no(f,m=>$(s,m),()=>h(s)),$z(ke(f,2),()=>r().component,(m,v)=>{v(m,Iu(()=>r().props))}),nt(m=>Ba(p,m),[()=>function(m,v){var g=m.getBoundingClientRect(),{left:y,top:b,positionAbove:w,positionLeft:k}=function(){if(v.anchor){var{anchor:x,width:j=0,height:_=0,offsetTop:C=0,offsetLeft:A=0,position:I}=v,{left:M,top:N,bottom:F,right:z}=x.getBoundingClientRect(),L=I==="top"||N+_>window.innerHeight&&N>_,X=I==="left"||M+j>window.innerWidth&&M>j;return{left:X?z-A:M+A,top:L?N-C:F+C,positionAbove:L,positionLeft:X}}if(typeof v.left=="number"&&typeof v.top=="number"){var{left:V,top:J,width:oe=0,height:H=0}=v;return{left:V,top:J,positionAbove:J+H>window.innerHeight&&J>H,positionLeft:V+oe>window.innerWidth&&V>oe}}throw new Error('Invalid config: pass either "left" and "top", or pass "anchor"')}();return(w?"bottom: ".concat(g.top-b,"px;"):"top: ".concat(b-g.top,"px;"))+(k?"right: ".concat(g.left-y,"px;"):"left: ".concat(y-g.left,"px;"))}(h(o),r().options)],We),ge(d,p)};Le(c,d=>{h(o)&&d(u)}),no(l,d=>$(o,d),()=>h(o)),Xe("mousedown",l,function(d){d.stopPropagation()}),Xe("keydown",l,a),ge(e,l),Ht()}var S$e=Pe(" ",1);function u2(e,t){Ut(t,!1);var r,n,o=ss("jsoneditor:AbsolutePopup"),s=he([],!0);function i(c){var u=h(s).findIndex(p=>p.id===c);if(u!==-1){var d=h(s)[u];d.options.onClose&&d.options.onClose(),$(s,h(s).filter(p=>p.id!==c))}}r="absolute-popup",n={openAbsolutePopup:function(c,u,d){o("open...",u,d);var p={id:Af(),component:c,props:u||{},options:d||{}};return $(s,[...h(s),p]),p.id},closeAbsolutePopup:i},_z().set(r,n),$e(()=>h(s),()=>{o("popups",h(s))}),mn(),fr(!0);var a=S$e(),l=Kt(a);Eo(l,1,()=>h(s),Mo,(c,u)=>{_$e(c,{get popup(){return h(u)},closeAbsolutePopup:i})}),_o(ke(l,2),t,"default",{},null),ge(e,a),Ht()}function zv(e,t){for(var r=new Set(t),n=e.replace(/ \(copy( \d+)?\)$/,""),o=e,s=1;r.has(o);){var i="copy"+(s>1?" "+s:"");o="".concat(n," (").concat(i,")"),s++}return o}function Gg(e,t){var r=t-3;return e.length>t?e.substring(0,r)+"...":e}function C$e(e){if(e==="")return"";var t=e.toLowerCase();if(t==="null")return null;if(t==="true")return!0;if(t==="false")return!1;if(t!=="undefined"){var r=Number(e),n=parseFloat(e);return isNaN(r)||isNaN(n)?e:r}}var A$e={id:"jsonquery",name:"JSONQuery",description:` +}`);var k$e=Pe('
'),j$e=Pe('
');function _$e(e,t){Ut(t,!1);var r=T(t,"popup",8),n=T(t,"closeAbsolutePopup",8),o=he(),s=he();function i(d){r().options&&r().options.closeOnOuterClick&&!Vh(d.target,p=>p===h(o))&&n()(r().id)}function a(d){Bc(d)==="Escape"&&(d.preventDefault(),d.stopPropagation(),n()(r().id))}Is(function(){h(s)&&h(s).focus()}),fr();var l=j$e();Xe("mousedown",_c,function(d){i(d)},!0),Xe("keydown",_c,a,!0),Xe("wheel",_c,function(d){i(d)},!0);var c=fe(l),u=d=>{var p=k$e(),f=fe(p);no(f,m=>$(s,m),()=>h(s)),$z(ke(f,2),()=>r().component,(m,v)=>{v(m,Iu(()=>r().props))}),nt(m=>Ba(p,m),[()=>function(m,v){var g=m.getBoundingClientRect(),{left:y,top:b,positionAbove:w,positionLeft:k}=function(){if(v.anchor){var{anchor:x,width:j=0,height:_=0,offsetTop:C=0,offsetLeft:A=0,position:I}=v,{left:M,top:L,bottom:F,right:z}=x.getBoundingClientRect(),N=I==="top"||L+_>window.innerHeight&&L>_,X=I==="left"||M+j>window.innerWidth&&M>j;return{left:X?z-A:M+A,top:N?L-C:F+C,positionAbove:N,positionLeft:X}}if(typeof v.left=="number"&&typeof v.top=="number"){var{left:V,top:J,width:oe=0,height:H=0}=v;return{left:V,top:J,positionAbove:J+H>window.innerHeight&&J>H,positionLeft:V+oe>window.innerWidth&&V>oe}}throw new Error('Invalid config: pass either "left" and "top", or pass "anchor"')}();return(w?"bottom: ".concat(g.top-b,"px;"):"top: ".concat(b-g.top,"px;"))+(k?"right: ".concat(g.left-y,"px;"):"left: ".concat(y-g.left,"px;"))}(h(o),r().options)],We),ge(d,p)};Ne(c,d=>{h(o)&&d(u)}),no(l,d=>$(o,d),()=>h(o)),Xe("mousedown",l,function(d){d.stopPropagation()}),Xe("keydown",l,a),ge(e,l),Ht()}var S$e=Pe(" ",1);function u2(e,t){Ut(t,!1);var r,n,o=ss("jsoneditor:AbsolutePopup"),s=he([],!0);function i(c){var u=h(s).findIndex(p=>p.id===c);if(u!==-1){var d=h(s)[u];d.options.onClose&&d.options.onClose(),$(s,h(s).filter(p=>p.id!==c))}}r="absolute-popup",n={openAbsolutePopup:function(c,u,d){o("open...",u,d);var p={id:Af(),component:c,props:u||{},options:d||{}};return $(s,[...h(s),p]),p.id},closeAbsolutePopup:i},_z().set(r,n),$e(()=>h(s),()=>{o("popups",h(s))}),mn(),fr(!0);var a=S$e(),l=Kt(a);Eo(l,1,()=>h(s),Mo,(c,u)=>{_$e(c,{get popup(){return h(u)},closeAbsolutePopup:i})}),_o(ke(l,2),t,"default",{},null),ge(e,a),Ht()}function zv(e,t){for(var r=new Set(t),n=e.replace(/ \(copy( \d+)?\)$/,""),o=e,s=1;r.has(o);){var i="copy"+(s>1?" "+s:"");o="".concat(n," (").concat(i,")"),s++}return o}function Gg(e,t){var r=t-3;return e.length>t?e.substring(0,r)+"...":e}function C$e(e){if(e==="")return"";var t=e.toLowerCase();if(t==="null")return null;if(t==="true")return!0;if(t==="false")return!1;if(t!=="undefined"){var r=Number(e),n=parseFloat(e);return isNaN(r)||isNaN(n)?e:r}}var A$e={id:"jsonquery",name:"JSONQuery",description:`

Enter a JSON Query function to filter, sort, or transform the data. @@ -341,7 +341,7 @@ ${u}}`])},i=c=>c.map(u=>`.${a(u)}`).join(""),a=c=>mxe.test(c)?c:JSON.stringify(c transform: rotate(360deg); } } -`);var $$e=fd(""),T$e=fd(""),P$e=fd(""),I$e=fd("",1);function Wr(e,t){var r=O0(t,["children","$$slots","$$events","$$legacy"]),n=O0(r,["class","data","scale","spin","inverse","pulse","flip","label","style"]);Ut(t,!1);var o=T(t,"class",8,""),s=T(t,"data",8),i=he(),a=T(t,"scale",8,1),l=T(t,"spin",8,!1),c=T(t,"inverse",8,!1),u=T(t,"pulse",8,!1),d=T(t,"flip",8,void 0),p=T(t,"label",8,""),f=T(t,"style",8,""),m=he(10),v=he(10),g=he(),y=he();function b(){var k=1;return a()!==void 0&&(k=Number(a())),isNaN(k)||k<=0?(console.warn('Invalid prop: prop "scale" should be a number over 0.'),1):1*k}function w(){return h(i)?Math.max(h(i).width,h(i).height)/16:1}$e(()=>(de(s()),de(f()),de(a())),()=>{$(i,function(k){var x;if(k){if(!("definition"in k)){if("iconName"in k&&"icon"in k){k.iconName;var[j,_,,,C]=k.icon;x={width:j,height:_,paths:(Array.isArray(C)?C:[C]).map(A=>({d:A}))}}else x=k[Object.keys(k)[0]];return x}console.error("`import faIconName from '@fortawesome/package-name/faIconName` not supported - Please use `import { faIconName } from '@fortawesome/package-name/faIconName'` instead")}}(s())),f(),a(),$(m,h(i)?h(i).width/w()*b():0),$(v,h(i)?h(i).height/w()*b():0),$(g,function(){var k="";f()!==null&&(k+=f());var x=b();return x===1?k.length===0?"":k:(k===""||k.endsWith(";")||(k+="; "),"".concat(k,"font-size: ").concat(x,"em"))}()),$(y,h(i)?"0 0 ".concat(h(i).width," ").concat(h(i).height):"0 0 ".concat(h(m)," ").concat(h(v)))}),mn(),fr(),function(k,x){var j,_=O0(x,["children","$$slots","$$events","$$legacy"]),C=O0(_,["class","width","height","box","spin","inverse","pulse","flip","style","label"]),A=T(x,"class",8,""),I=T(x,"width",8),M=T(x,"height",8),N=T(x,"box",8,"0 0 0 0"),F=T(x,"spin",8,!1),z=T(x,"inverse",8,!1),L=T(x,"pulse",8,!1),X=T(x,"flip",8,"none"),V=T(x,"style",8,""),J=T(x,"label",8,""),oe=$$e();_o(fe(oe),x,"default",{},null),nt(H=>{var B;return j=fb(oe,j,rt(rt({version:"1.1",class:"fa-icon ".concat((B=A())!==null&&B!==void 0?B:""),width:I(),height:M(),"aria-label":J(),role:J()?"img":"presentation",viewBox:N(),style:V()},C),{},{[mf]:H}),"svelte-1mc5hvj")},[()=>({"fa-spin":F(),"fa-pulse":L(),"fa-inverse":z(),"fa-flip-horizontal":X()==="horizontal","fa-flip-vertical":X()==="vertical"})],We),ge(k,oe)}(e,Iu({get label(){return p()},get width(){return h(m)},get height(){return h(v)},get box(){return h(y)},get style(){return h(g)},get spin(){return l()},get flip(){return d()},get inverse(){return c()},get pulse(){return u()},get class(){return o()}},()=>n,{children:(k,x)=>{var j=vo();_o(Kt(j),t,"default",{},_=>{var C=I$e(),A=Kt(C);Eo(A,1,()=>{var F;return((F=h(i))===null||F===void 0?void 0:F.paths)||[]},Mo,(F,z)=>{var L,X=T$e();nt(()=>L=fb(X,L,rt({},h(z)))),ge(F,X)});var I=ke(A);Eo(I,1,()=>{var F;return((F=h(i))===null||F===void 0?void 0:F.polygons)||[]},Mo,(F,z)=>{var L,X=P$e();nt(()=>L=fb(X,L,rt({},h(z)))),ge(F,X)});var M=ke(I),N=F=>{O$e(F,{get data(){return h(i)},set data(z){$(i,z)},$$legacy:!0})};Le(M,F=>{var z;(z=h(i))!==null&&z!==void 0&&z.raw&&F(N)}),ge(_,C)}),ge(k,j)},$$slots:{default:!0}})),Ht()}or(`/* over all fonts, sizes, and colors */ +`);var $$e=fd(""),T$e=fd(""),P$e=fd(""),I$e=fd("",1);function Wr(e,t){var r=O0(t,["children","$$slots","$$events","$$legacy"]),n=O0(r,["class","data","scale","spin","inverse","pulse","flip","label","style"]);Ut(t,!1);var o=T(t,"class",8,""),s=T(t,"data",8),i=he(),a=T(t,"scale",8,1),l=T(t,"spin",8,!1),c=T(t,"inverse",8,!1),u=T(t,"pulse",8,!1),d=T(t,"flip",8,void 0),p=T(t,"label",8,""),f=T(t,"style",8,""),m=he(10),v=he(10),g=he(),y=he();function b(){var k=1;return a()!==void 0&&(k=Number(a())),isNaN(k)||k<=0?(console.warn('Invalid prop: prop "scale" should be a number over 0.'),1):1*k}function w(){return h(i)?Math.max(h(i).width,h(i).height)/16:1}$e(()=>(de(s()),de(f()),de(a())),()=>{$(i,function(k){var x;if(k){if(!("definition"in k)){if("iconName"in k&&"icon"in k){k.iconName;var[j,_,,,C]=k.icon;x={width:j,height:_,paths:(Array.isArray(C)?C:[C]).map(A=>({d:A}))}}else x=k[Object.keys(k)[0]];return x}console.error("`import faIconName from '@fortawesome/package-name/faIconName` not supported - Please use `import { faIconName } from '@fortawesome/package-name/faIconName'` instead")}}(s())),f(),a(),$(m,h(i)?h(i).width/w()*b():0),$(v,h(i)?h(i).height/w()*b():0),$(g,function(){var k="";f()!==null&&(k+=f());var x=b();return x===1?k.length===0?"":k:(k===""||k.endsWith(";")||(k+="; "),"".concat(k,"font-size: ").concat(x,"em"))}()),$(y,h(i)?"0 0 ".concat(h(i).width," ").concat(h(i).height):"0 0 ".concat(h(m)," ").concat(h(v)))}),mn(),fr(),function(k,x){var j,_=O0(x,["children","$$slots","$$events","$$legacy"]),C=O0(_,["class","width","height","box","spin","inverse","pulse","flip","style","label"]),A=T(x,"class",8,""),I=T(x,"width",8),M=T(x,"height",8),L=T(x,"box",8,"0 0 0 0"),F=T(x,"spin",8,!1),z=T(x,"inverse",8,!1),N=T(x,"pulse",8,!1),X=T(x,"flip",8,"none"),V=T(x,"style",8,""),J=T(x,"label",8,""),oe=$$e();_o(fe(oe),x,"default",{},null),nt(H=>{var B;return j=fb(oe,j,rt(rt({version:"1.1",class:"fa-icon ".concat((B=A())!==null&&B!==void 0?B:""),width:I(),height:M(),"aria-label":J(),role:J()?"img":"presentation",viewBox:L(),style:V()},C),{},{[mf]:H}),"svelte-1mc5hvj")},[()=>({"fa-spin":F(),"fa-pulse":N(),"fa-inverse":z(),"fa-flip-horizontal":X()==="horizontal","fa-flip-vertical":X()==="vertical"})],We),ge(k,oe)}(e,Iu({get label(){return p()},get width(){return h(m)},get height(){return h(v)},get box(){return h(y)},get style(){return h(g)},get spin(){return l()},get flip(){return d()},get inverse(){return c()},get pulse(){return u()},get class(){return o()}},()=>n,{children:(k,x)=>{var j=vo();_o(Kt(j),t,"default",{},_=>{var C=I$e(),A=Kt(C);Eo(A,1,()=>{var F;return((F=h(i))===null||F===void 0?void 0:F.paths)||[]},Mo,(F,z)=>{var N,X=T$e();nt(()=>N=fb(X,N,rt({},h(z)))),ge(F,X)});var I=ke(A);Eo(I,1,()=>{var F;return((F=h(i))===null||F===void 0?void 0:F.polygons)||[]},Mo,(F,z)=>{var N,X=P$e();nt(()=>N=fb(X,N,rt({},h(z)))),ge(F,X)});var M=ke(I),L=F=>{O$e(F,{get data(){return h(i)},set data(z){$(i,z)},$$legacy:!0})};Ne(M,F=>{var z;(z=h(i))!==null&&z!==void 0&&z.raw&&F(L)}),ge(_,C)}),ge(k,j)},$$slots:{default:!0}})),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -412,7 +412,7 @@ ${u}}`])},i=c=>c.map(u=>`.${a(u)}`).join(""),a=c=>mxe.test(c)?c:JSON.stringify(c } .jse-color-picker-popup.svelte-s1wu8v .picker_done button:hover { background: var(--jse-button-background-highlight, #e7e7e7); -}`);var L$e=Pe('

');function N$e(e,t){Ut(t,!1);var r=T(t,"color",8),n=T(t,"onChange",8),o=T(t,"showOnTop",8),s=he(),i=()=>{};Is(pr(function*(){var l,c=new((l=yield ce(()=>import("./vanilla-picker-Dg97NL4h.nQOKdTX5.js"),[]))===null||l===void 0?void 0:l.default)({parent:h(s),color:r(),popup:o()?"top":"bottom",onDone(u){var d=u.rgba[3]===1?u.hex.substring(0,7):u.hex;n()(d)}});c.show(),i=()=>{c.destroy()}})),va(()=>{i()}),fr();var a=L$e();no(a,l=>$(s,l),()=>h(s)),ge(e,a),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var N$e=Pe('
');function L$e(e,t){Ut(t,!1);var r=T(t,"color",8),n=T(t,"onChange",8),o=T(t,"showOnTop",8),s=he(),i=()=>{};Is(pr(function*(){var l,c=new((l=yield ce(()=>import("./vanilla-picker-Dg97NL4h.nQOKdTX5.js"),[]))===null||l===void 0?void 0:l.default)({parent:h(s),color:r(),popup:o()?"top":"bottom",onDone(u){var d=u.rgba[3]===1?u.hex.substring(0,7):u.hex;n()(d)}});c.show(),i=()=>{c.destroy()}})),va(()=>{i()}),fr();var a=N$e();no(a,l=>$(s,l),()=>h(s)),ge(e,a),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -448,9 +448,9 @@ ${u}}`])},i=c=>c.map(u=>`.${a(u)}`).join(""),a=c=>mxe.test(c)?c:JSON.stringify(c .jse-color-picker-button.svelte-xeg9n6:not(.jse-readonly) { cursor: pointer; -}`);var R$e=Pe('');function B$e(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),{openAbsolutePopup:o}=pd("absolute-popup"),s=T(t,"path",9),i=T(t,"value",9),a=T(t,"readOnly",9),l=T(t,"onPatch",9),c=T(t,"focus",9);function u(m){l()([{op:"replace",path:Wt(s()),value:m}]),d()}function d(){c()()}$e(()=>de(i()),()=>{$(r,Lz(i()))}),$e(()=>(de(a()),de(i())),()=>{$(n,a()?"Color ".concat(i()):"Click to open a color picker")}),mn(),fr(!0);var p,f=R$e();nt(m=>{var v;p=hr(f,1,"jse-color-picker-button svelte-xeg9n6",null,p,m),Ba(f,"background: ".concat((v=h(r))!==null&&v!==void 0?v:"")),fn(f,"title",h(n)),fn(f,"aria-label",h(n))},[()=>({"jse-readonly":a()})],We),Xe("click",f,function(m){var v,g;if(!a()){var y=m.target,b=y.getBoundingClientRect().top,w=((v=(g=qv(y))===null||g===void 0?void 0:g.innerHeight)!==null&&v!==void 0?v:0)-b<300&&b>300,k={color:i(),onChange:u,showOnTop:w};o(N$e,k,{anchor:y,closeOnOuterClick:!0,onClose:d,offsetTop:18,offsetLeft:-8,height:300})}}),ge(e,f),Ht()}var Cj=1e3,Jg=100,d2=2e4,Hf=[{start:0,end:Jg}],q$e=1048576,gD=10485760,Aj="Insert or paste contents, enter [ insert a new array, enter { to insert a new object, or start typing to insert a new value",OE="Open context menu (Click here, right click on the selection, or use the context menu button or Ctrl+Q)",wm="hover-insert-inside",Ej="hover-insert-after",vD="hover-collection",Oj="valid",yD="repairable",hc=336,mc=260,Nm=100,bD={[Aa.asc]:"ascending",[Aa.desc]:"descending"};function Qz(e){for(var t=axe(e,a=>a.start),r=[t[0]],n=0;n0&&arguments[0]!==void 0?arguments[0]:{expanded:!1};return{type:"array",expanded:e,visibleSections:Hf,items:[]}}function PE(){var{expanded:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{expanded:!1};return{type:"object",expanded:e,properties:{}}}var IE={createObjectDocumentState:PE,createArrayDocumentState:TE,createValueDocumentState:function(){return{type:"value"}}};function Xz(e,t,r,n){var{createObjectDocumentState:o,createArrayDocumentState:s,createValueDocumentState:i}=n;return function a(l,c,u){if(Array.isArray(l)){var d=Ts(c)?c:s();if(u.length===0)return d;var p=ks(u[0]),f=a(l[p],d.items[p],u.slice(1));return fi(d,["items",u[0]],f)}if(hn(l)){var m=Fa(c)?c:o();if(u.length===0)return m;var v=u[0],g=a(l[v],m.properties[v],u.slice(1));return fi(m,["properties",v],g)}return $E(c)?c:i()}(e,t,r)}function Ni(e,t){return Kg(e,t,arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],(r,n)=>{if(r!==void 0&&n!==void 0)return Array.isArray(r)?Ts(n)?n:TE({expanded:!!hp(n)&&n.expanded}):hn(r)?Fa(n)?n:PE({expanded:!!hp(n)&&n.expanded}):$E(n)?n:void 0},()=>!0)}function Kg(e,t,r,n,o){var s=n(e,t,r);if(Array.isArray(e)&&Ts(s)&&o(s)){var i=[];return DE(e,s.visibleSections,l=>{var c=r.concat(String(l)),u=Kg(e[l],s.items[l],c,n,o);u!==void 0&&(i[l]=u)}),uD(i,s.items)?s:rt(rt({},s),{},{items:i})}if(hn(e)&&Fa(s)&&o(s)){var a={};return Object.keys(e).forEach(l=>{var c=r.concat(l),u=Kg(e[l],s.properties[l],c,n,o);u!==void 0&&(a[l]=u)}),uD(Object.values(a),Object.values(s.properties))?s:rt(rt({},s),{},{properties:a})}return s}function DE(e,t,r){t.forEach(n=>{var{start:o,end:s}=n;Nz(o,Math.min(e.length,s),r)})}function Qg(e,t){for(var r=e,n=[],o=0;o{var d=hp(u)&&!u.expanded?rt(rt({},u),{},{expanded:!0}):u;return Ts(d)?function(p,f){if(function(g,y){return g.some(b=>y>=b.start&&yfunction(c,u,d,p){return Kg(c,u,d,(f,m,v)=>Array.isArray(f)&&p(v)?Ts(m)?m.expanded?m:rt(rt({},m),{},{expanded:!0}):TE({expanded:!0}):hn(f)&&p(v)?Fa(m)?m.expanded?m:rt(rt({},m),{},{expanded:!0}):PE({expanded:!0}):m,f=>hp(f)&&f.expanded)}(a,l,[],n))}function _D(e,t,r,n){return yh(e,t,r,(o,s)=>n?function(i,a,l){return Kg(i,a,l,(c,u)=>SD(u),()=>!0)}(o,s,r):SD(s))}function SD(e){return Ts(e)&&e.expanded?rt(rt({},e),{},{expanded:!1,visibleSections:Hf}):Fa(e)&&e.expanded?rt(rt({},e),{},{expanded:!1}):e}function Yz(e,t,r){var n={json:e,documentState:t},o=r.reduce((s,i)=>({json:Na(s.json,[i]),documentState:J$e(s.json,s.documentState,i)}),n);return{json:o.json,documentState:Ni(o.json,o.documentState)}}function J$e(e,t,r){if(J5(r))return CD(e,t,r,void 0);if(K5(r))return AD(e,t,r);if(uA(r)){var n=Ra(e,r.path),o=Cc(e,t,n);return o?Cx(e,t,n,{type:"value",enforceString:o}):t}return U_(r)||Lf(r)?function(s,i,a){if(Lf(a)&&a.from===a.path)return i;var l=i,c=Ra(s,a.from),u=Kd(s,l,c);return Lf(a)&&(l=AD(s,l,{path:a.from})),l=CD(s,l,{path:a.path},u),l}(e,t,r):t}function Kd(e,t,r){try{return bt(t,Qg(e,r))}catch{return}}function ME(e,t,r,n,o){var s=Xz(e,t,r,o);return fA(s,Qg(e,r),i=>{var a=bt(e,r);return n(a,i)})}function Cx(e,t,r,n){return function(o,s,i,a,l){var c=Xz(o,s,i,l);return fi(c,Qg(o,i),a)}(e,t,r,n,IE)}function yh(e,t,r,n){return ME(e,t,r,n,IE)}function CD(e,t,r,n){var o=Ra(e,r.path),s=t;return s=yh(e,s,Xr(o),(i,a)=>{if(!Ts(a))return a;var l=ks(qr(o)),{items:c,visibleSections:u}=a;return rt(rt({},a),{},{items:l{if(!Ts(a))return a;var l=ks(qr(n)),{items:c,visibleSections:u}=a;return rt(rt({},a),{},{items:c.slice(0,l).concat(c.slice(l+1)),visibleSections:eF(u,l,-1)})}):function(i,a,l){var c=Qg(i,l);return oa(a,c)?Bw(a,Qg(i,l)):a}(e,t,n)}function eF(e,t,r){return function(n){for(var o=n.slice(0),s=1;s({start:n.start>t?n.start+r:n.start,end:n.end>t?n.end+r:n.end})))}function Cc(e,t,r){var n,o=bt(e,r),s=Kd(e,t,r),i=$E(s)?s.enforceString:void 0;return typeof i=="boolean"?i:typeof(n=o)=="string"&&typeof Fh(n,JSON)!="string"}function Fv(e,t){var r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],n=e.indexOf(t);return n!==-1?r?e.slice(n):e.slice(n+1):[]}function LE(e,t){var r=[];return function n(o,s,i){r.push(i),Ao(o)&&Ts(s)&&s.expanded&&DE(o,s.visibleSections,a=>{n(o[a],s.items[a],i.concat(String(a)))}),Do(o)&&Fa(s)&&s.expanded&&Object.keys(o).forEach(a=>{n(o[a],s.properties[a],i.concat(a))})}(e,t,[]),r}function tF(e,t){var r=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],n=[];return function o(s,i){n.push({path:i,type:Ta.value});var a=Kd(e,t,i);if(s&&hp(a)&&a.expanded){if(r&&n.push({path:i,type:Ta.inside}),Ao(s)){var l=Ts(a)?a.visibleSections:Hf;DE(s,l,c=>{var u=i.concat(String(c));o(s[c],u),r&&n.push({path:u,type:Ta.after})})}Do(s)&&Object.keys(s).forEach(c=>{var u=i.concat(c);n.push({path:u,type:Ta.key}),o(s[c],u),r&&n.push({path:u,type:Ta.after})})}}(e,[]),n}function Tj(e,t,r){var n=LE(e,t),o=n.map(Wt).indexOf(Wt(r));if(o!==-1&&o3&&arguments[3]!==void 0?arguments[3]:10240;return Ea(e,t,r,c$e({json:bt(e,r)},n)?Rm:NE)}function Pj(e,t,r){var n=Kd(e,t,r);return hp(n)&&n.expanded?t:mp(e,t,r)}function Rm(e){return e.length===0||e.length===1&&e[0]==="0"}function ED(e){return e.length===0}function NE(){return!0}function mb(){return!1}function ia(e){return e&&e.type===On.after||!1}function Os(e){return e&&e.type===On.inside||!1}function rs(e){return e&&e.type===On.key||!1}function xn(e){return e&&e.type===On.value||!1}function ro(e){return e&&e.type===On.multi||!1}function Ax(e){return ro(e)&&Hr(e.focusPath,e.anchorPath)}function Zg(e){return ro(e)||ia(e)||Os(e)||rs(e)||xn(e)}function Ij(e){return e&&e.type===On.text||!1}function rd(e,t){var r=[];return function(n,o,s){if(o){var i=Qd(o),a=Pt(o);if(Hr(i,a))return s(i);if(n!==void 0){var l=nF(i,a);if(i.length===l.length||a.length===l.length)return s(l);var c=Ns(i,a),u=gc(n,c),d=Mu(n,c),p=Ec(n,c,u),f=Ec(n,c,d);if(!(p===-1||f===-1)){var m=bt(n,l);if(Do(m)){for(var v=Object.keys(m),g=p;g<=f;g++){var y=s(l.concat(v[g]));if(y!==void 0)return y}return}if(Ao(m)){for(var b=p;b<=f;b++){var w=s(l.concat(String(b)));if(w!==void 0)return w}return}throw new Error("Failed to create selection")}}}}(e,t,n=>{r.push(n)}),r}function rF(e){return Os(e)?e.path:Xr(Pt(e))}function gc(e,t){if(!ro(t))return t.path;var r=Ec(e,t,t.anchorPath);return Ec(e,t,t.focusPath)r?t.focusPath:t.anchorPath}function OD(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(r){var o=n?Pt(r):gc(e,r),s=function(l,c,u){var d=LE(l,c),p=d.map(Wt),f=Wt(u),m=p.indexOf(f);if(m!==-1&&m>0)return d[m-1]}(e,t,o);if(n)return Os(r)||ia(r)?s!==void 0?Ns(o,o):void 0:s!==void 0?Ns(Qd(r),s):void 0;if(ia(r)||Os(r))return Ur(o);if(rs(r)){if(s===void 0||s.length===0)return;var i=Xr(s),a=bt(e,i);return Array.isArray(a)||En(s)?Ur(s):zc(s)}return xn(r),s!==void 0?Ur(s):void 0}}function $D(e,t,r,n){if(!r)return{caret:void 0,previous:void 0,next:void 0};var o=tF(e,t,n),s=o.findIndex(i=>Hr(i.path,Pt(r))&&String(i.type)===String(r.type));return{caret:s!==-1?o[s]:void 0,previous:s!==-1&&s>0?o[s-1]:void 0,next:s!==-1&&sr[n].length;)n++;var o=r[n];return o===void 0||o.length===0||Array.isArray(bt(e,Xr(o)))?Ur(o):zc(o)}function bh(e,t){if(t.length===1){var r=wc(t);if(r.op==="replace")return Ur(Ra(e,r.path))}if(!En(t)&&t.every(i=>i.op==="move")){var n=wc(t),o=t.slice(1);if((U_(n)||Lf(n))&&n.from!==n.path&&o.every(i=>(U_(i)||Lf(i))&&i.from===i.path))return zc(Ra(e,n.path))}var s=t.filter(i=>i.op!=="test"&&i.op!=="remove"&&(i.op!=="move"||i.from!==i.path)&&typeof i.path=="string").map(i=>Ra(e,i.path));if(!En(s))return{type:On.multi,anchorPath:wc(s),focusPath:qr(s)}}function nF(e,t){for(var r=0;rr.length&&t.length>r.length;return{type:On.multi,anchorPath:n?r.concat(e[r.length]):r,focusPath:n?r.concat(t[r.length]):r}}function oF(e,t,r,n){if(rs(t))return String(qr(t.path));if(xn(t)){var o=bt(e,t.path);return typeof o=="string"?o:n.stringify(o,null,r)}if(ro(t)){if(En(t.focusPath))return n.stringify(e,null,r);var s=rF(t),i=bt(e,s);if(Array.isArray(i)){if(Ax(t)){var a=bt(e,t.focusPath);return n.stringify(a,null,r)}return rd(e,t).map(l=>{var c=bt(e,l);return"".concat(n.stringify(c,null,r),",")}).join(` +}`);var R$e=Pe('');function B$e(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),{openAbsolutePopup:o}=pd("absolute-popup"),s=T(t,"path",9),i=T(t,"value",9),a=T(t,"readOnly",9),l=T(t,"onPatch",9),c=T(t,"focus",9);function u(m){l()([{op:"replace",path:Wt(s()),value:m}]),d()}function d(){c()()}$e(()=>de(i()),()=>{$(r,Nz(i()))}),$e(()=>(de(a()),de(i())),()=>{$(n,a()?"Color ".concat(i()):"Click to open a color picker")}),mn(),fr(!0);var p,f=R$e();nt(m=>{var v;p=hr(f,1,"jse-color-picker-button svelte-xeg9n6",null,p,m),Ba(f,"background: ".concat((v=h(r))!==null&&v!==void 0?v:"")),fn(f,"title",h(n)),fn(f,"aria-label",h(n))},[()=>({"jse-readonly":a()})],We),Xe("click",f,function(m){var v,g;if(!a()){var y=m.target,b=y.getBoundingClientRect().top,w=((v=(g=qv(y))===null||g===void 0?void 0:g.innerHeight)!==null&&v!==void 0?v:0)-b<300&&b>300,k={color:i(),onChange:u,showOnTop:w};o(L$e,k,{anchor:y,closeOnOuterClick:!0,onClose:d,offsetTop:18,offsetLeft:-8,height:300})}}),ge(e,f),Ht()}var Cj=1e3,Jg=100,d2=2e4,Hf=[{start:0,end:Jg}],q$e=1048576,gD=10485760,Aj="Insert or paste contents, enter [ insert a new array, enter { to insert a new object, or start typing to insert a new value",OE="Open context menu (Click here, right click on the selection, or use the context menu button or Ctrl+Q)",wm="hover-insert-inside",Ej="hover-insert-after",vD="hover-collection",Oj="valid",yD="repairable",hc=336,mc=260,Lm=100,bD={[Aa.asc]:"ascending",[Aa.desc]:"descending"};function Qz(e){for(var t=axe(e,a=>a.start),r=[t[0]],n=0;n0&&arguments[0]!==void 0?arguments[0]:{expanded:!1};return{type:"array",expanded:e,visibleSections:Hf,items:[]}}function PE(){var{expanded:e}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{expanded:!1};return{type:"object",expanded:e,properties:{}}}var IE={createObjectDocumentState:PE,createArrayDocumentState:TE,createValueDocumentState:function(){return{type:"value"}}};function Xz(e,t,r,n){var{createObjectDocumentState:o,createArrayDocumentState:s,createValueDocumentState:i}=n;return function a(l,c,u){if(Array.isArray(l)){var d=Ts(c)?c:s();if(u.length===0)return d;var p=ks(u[0]),f=a(l[p],d.items[p],u.slice(1));return fi(d,["items",u[0]],f)}if(hn(l)){var m=Fa(c)?c:o();if(u.length===0)return m;var v=u[0],g=a(l[v],m.properties[v],u.slice(1));return fi(m,["properties",v],g)}return $E(c)?c:i()}(e,t,r)}function Li(e,t){return Kg(e,t,arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],(r,n)=>{if(r!==void 0&&n!==void 0)return Array.isArray(r)?Ts(n)?n:TE({expanded:!!hp(n)&&n.expanded}):hn(r)?Fa(n)?n:PE({expanded:!!hp(n)&&n.expanded}):$E(n)?n:void 0},()=>!0)}function Kg(e,t,r,n,o){var s=n(e,t,r);if(Array.isArray(e)&&Ts(s)&&o(s)){var i=[];return DE(e,s.visibleSections,l=>{var c=r.concat(String(l)),u=Kg(e[l],s.items[l],c,n,o);u!==void 0&&(i[l]=u)}),uD(i,s.items)?s:rt(rt({},s),{},{items:i})}if(hn(e)&&Fa(s)&&o(s)){var a={};return Object.keys(e).forEach(l=>{var c=r.concat(l),u=Kg(e[l],s.properties[l],c,n,o);u!==void 0&&(a[l]=u)}),uD(Object.values(a),Object.values(s.properties))?s:rt(rt({},s),{},{properties:a})}return s}function DE(e,t,r){t.forEach(n=>{var{start:o,end:s}=n;Lz(o,Math.min(e.length,s),r)})}function Qg(e,t){for(var r=e,n=[],o=0;o{var d=hp(u)&&!u.expanded?rt(rt({},u),{},{expanded:!0}):u;return Ts(d)?function(p,f){if(function(g,y){return g.some(b=>y>=b.start&&yfunction(c,u,d,p){return Kg(c,u,d,(f,m,v)=>Array.isArray(f)&&p(v)?Ts(m)?m.expanded?m:rt(rt({},m),{},{expanded:!0}):TE({expanded:!0}):hn(f)&&p(v)?Fa(m)?m.expanded?m:rt(rt({},m),{},{expanded:!0}):PE({expanded:!0}):m,f=>hp(f)&&f.expanded)}(a,l,[],n))}function _D(e,t,r,n){return yh(e,t,r,(o,s)=>n?function(i,a,l){return Kg(i,a,l,(c,u)=>SD(u),()=>!0)}(o,s,r):SD(s))}function SD(e){return Ts(e)&&e.expanded?rt(rt({},e),{},{expanded:!1,visibleSections:Hf}):Fa(e)&&e.expanded?rt(rt({},e),{},{expanded:!1}):e}function Yz(e,t,r){var n={json:e,documentState:t},o=r.reduce((s,i)=>({json:La(s.json,[i]),documentState:J$e(s.json,s.documentState,i)}),n);return{json:o.json,documentState:Li(o.json,o.documentState)}}function J$e(e,t,r){if(J5(r))return CD(e,t,r,void 0);if(K5(r))return AD(e,t,r);if(uA(r)){var n=Ra(e,r.path),o=Cc(e,t,n);return o?Cx(e,t,n,{type:"value",enforceString:o}):t}return U_(r)||Nf(r)?function(s,i,a){if(Nf(a)&&a.from===a.path)return i;var l=i,c=Ra(s,a.from),u=Kd(s,l,c);return Nf(a)&&(l=AD(s,l,{path:a.from})),l=CD(s,l,{path:a.path},u),l}(e,t,r):t}function Kd(e,t,r){try{return bt(t,Qg(e,r))}catch{return}}function ME(e,t,r,n,o){var s=Xz(e,t,r,o);return fA(s,Qg(e,r),i=>{var a=bt(e,r);return n(a,i)})}function Cx(e,t,r,n){return function(o,s,i,a,l){var c=Xz(o,s,i,l);return fi(c,Qg(o,i),a)}(e,t,r,n,IE)}function yh(e,t,r,n){return ME(e,t,r,n,IE)}function CD(e,t,r,n){var o=Ra(e,r.path),s=t;return s=yh(e,s,Xr(o),(i,a)=>{if(!Ts(a))return a;var l=ks(qr(o)),{items:c,visibleSections:u}=a;return rt(rt({},a),{},{items:l{if(!Ts(a))return a;var l=ks(qr(n)),{items:c,visibleSections:u}=a;return rt(rt({},a),{},{items:c.slice(0,l).concat(c.slice(l+1)),visibleSections:eF(u,l,-1)})}):function(i,a,l){var c=Qg(i,l);return oa(a,c)?Bw(a,Qg(i,l)):a}(e,t,n)}function eF(e,t,r){return function(n){for(var o=n.slice(0),s=1;s({start:n.start>t?n.start+r:n.start,end:n.end>t?n.end+r:n.end})))}function Cc(e,t,r){var n,o=bt(e,r),s=Kd(e,t,r),i=$E(s)?s.enforceString:void 0;return typeof i=="boolean"?i:typeof(n=o)=="string"&&typeof Fh(n,JSON)!="string"}function Fv(e,t){var r=arguments.length>2&&arguments[2]!==void 0&&arguments[2],n=e.indexOf(t);return n!==-1?r?e.slice(n):e.slice(n+1):[]}function NE(e,t){var r=[];return function n(o,s,i){r.push(i),Ao(o)&&Ts(s)&&s.expanded&&DE(o,s.visibleSections,a=>{n(o[a],s.items[a],i.concat(String(a)))}),Do(o)&&Fa(s)&&s.expanded&&Object.keys(o).forEach(a=>{n(o[a],s.properties[a],i.concat(a))})}(e,t,[]),r}function tF(e,t){var r=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],n=[];return function o(s,i){n.push({path:i,type:Ta.value});var a=Kd(e,t,i);if(s&&hp(a)&&a.expanded){if(r&&n.push({path:i,type:Ta.inside}),Ao(s)){var l=Ts(a)?a.visibleSections:Hf;DE(s,l,c=>{var u=i.concat(String(c));o(s[c],u),r&&n.push({path:u,type:Ta.after})})}Do(s)&&Object.keys(s).forEach(c=>{var u=i.concat(c);n.push({path:u,type:Ta.key}),o(s[c],u),r&&n.push({path:u,type:Ta.after})})}}(e,[]),n}function Tj(e,t,r){var n=NE(e,t),o=n.map(Wt).indexOf(Wt(r));if(o!==-1&&o3&&arguments[3]!==void 0?arguments[3]:10240;return Ea(e,t,r,c$e({json:bt(e,r)},n)?Rm:LE)}function Pj(e,t,r){var n=Kd(e,t,r);return hp(n)&&n.expanded?t:mp(e,t,r)}function Rm(e){return e.length===0||e.length===1&&e[0]==="0"}function ED(e){return e.length===0}function LE(){return!0}function mb(){return!1}function ia(e){return e&&e.type===On.after||!1}function Os(e){return e&&e.type===On.inside||!1}function rs(e){return e&&e.type===On.key||!1}function xn(e){return e&&e.type===On.value||!1}function ro(e){return e&&e.type===On.multi||!1}function Ax(e){return ro(e)&&Hr(e.focusPath,e.anchorPath)}function Zg(e){return ro(e)||ia(e)||Os(e)||rs(e)||xn(e)}function Ij(e){return e&&e.type===On.text||!1}function rd(e,t){var r=[];return function(n,o,s){if(o){var i=Qd(o),a=Pt(o);if(Hr(i,a))return s(i);if(n!==void 0){var l=nF(i,a);if(i.length===l.length||a.length===l.length)return s(l);var c=Ls(i,a),u=gc(n,c),d=Mu(n,c),p=Ec(n,c,u),f=Ec(n,c,d);if(!(p===-1||f===-1)){var m=bt(n,l);if(Do(m)){for(var v=Object.keys(m),g=p;g<=f;g++){var y=s(l.concat(v[g]));if(y!==void 0)return y}return}if(Ao(m)){for(var b=p;b<=f;b++){var w=s(l.concat(String(b)));if(w!==void 0)return w}return}throw new Error("Failed to create selection")}}}}(e,t,n=>{r.push(n)}),r}function rF(e){return Os(e)?e.path:Xr(Pt(e))}function gc(e,t){if(!ro(t))return t.path;var r=Ec(e,t,t.anchorPath);return Ec(e,t,t.focusPath)r?t.focusPath:t.anchorPath}function OD(e,t,r){var n=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(r){var o=n?Pt(r):gc(e,r),s=function(l,c,u){var d=NE(l,c),p=d.map(Wt),f=Wt(u),m=p.indexOf(f);if(m!==-1&&m>0)return d[m-1]}(e,t,o);if(n)return Os(r)||ia(r)?s!==void 0?Ls(o,o):void 0:s!==void 0?Ls(Qd(r),s):void 0;if(ia(r)||Os(r))return Ur(o);if(rs(r)){if(s===void 0||s.length===0)return;var i=Xr(s),a=bt(e,i);return Array.isArray(a)||En(s)?Ur(s):zc(s)}return xn(r),s!==void 0?Ur(s):void 0}}function $D(e,t,r,n){if(!r)return{caret:void 0,previous:void 0,next:void 0};var o=tF(e,t,n),s=o.findIndex(i=>Hr(i.path,Pt(r))&&String(i.type)===String(r.type));return{caret:s!==-1?o[s]:void 0,previous:s!==-1&&s>0?o[s-1]:void 0,next:s!==-1&&sr[n].length;)n++;var o=r[n];return o===void 0||o.length===0||Array.isArray(bt(e,Xr(o)))?Ur(o):zc(o)}function bh(e,t){if(t.length===1){var r=wc(t);if(r.op==="replace")return Ur(Ra(e,r.path))}if(!En(t)&&t.every(i=>i.op==="move")){var n=wc(t),o=t.slice(1);if((U_(n)||Nf(n))&&n.from!==n.path&&o.every(i=>(U_(i)||Nf(i))&&i.from===i.path))return zc(Ra(e,n.path))}var s=t.filter(i=>i.op!=="test"&&i.op!=="remove"&&(i.op!=="move"||i.from!==i.path)&&typeof i.path=="string").map(i=>Ra(e,i.path));if(!En(s))return{type:On.multi,anchorPath:wc(s),focusPath:qr(s)}}function nF(e,t){for(var r=0;rr.length&&t.length>r.length;return{type:On.multi,anchorPath:n?r.concat(e[r.length]):r,focusPath:n?r.concat(t[r.length]):r}}function oF(e,t,r,n){if(rs(t))return String(qr(t.path));if(xn(t)){var o=bt(e,t.path);return typeof o=="string"?o:n.stringify(o,null,r)}if(ro(t)){if(En(t.focusPath))return n.stringify(e,null,r);var s=rF(t),i=bt(e,s);if(Array.isArray(i)){if(Ax(t)){var a=bt(e,t.focusPath);return n.stringify(a,null,r)}return rd(e,t).map(l=>{var c=bt(e,l);return"".concat(n.stringify(c,null,r),",")}).join(` `)}return rd(e,t).map(l=>{var c=qr(l),u=bt(e,l);return"".concat(n.stringify(c),": ").concat(n.stringify(u,null,r),",")}).join(` -`)}}function bi(e){return(rs(e)||xn(e))&&e.edit===!0}function Ef(e){return rs(e)||xn(e)||ro(e)}function P0(e){return rs(e)||xn(e)||Ax(e)}function h2(e){switch(e.type){case Ta.key:return zc(e.path);case Ta.value:return Ur(e.path);case Ta.after:return Ac(e.path);case Ta.inside:return Fc(e.path)}}function PD(e,t){switch(e){case On.key:return zc(t);case On.value:return Ur(t);case On.after:return Ac(t);case On.inside:return Fc(t);case On.multi:case On.text:return Ns(t,t)}}function ID(e,t,r){if(t)return Xg(e,t,r)||qc(ro(t)?Xr(t.focusPath):t.path,r)?t:void 0}function Xg(e,t,r){if(e===void 0||!t)return!1;if(rs(t)||Os(t)||ia(t))return Hr(t.path,r);if(xn(t))return qc(r,t.path);if(ro(t)){var n=gc(e,t),o=Mu(e,t),s=Xr(t.focusPath);if(!qc(r,s)||r.length<=s.length)return!1;var i=Ec(e,t,n),a=Ec(e,t,o),l=Ec(e,t,r);return l!==-1&&l>=i&&l<=a}return!1}function Ec(e,t,r){var n=Xr(t.focusPath);if(!qc(r,n)||r.length<=n.length)return-1;var o=r[n.length],s=bt(e,n);if(Do(s))return Object.keys(s).indexOf(o);if(Ao(s)){var i=ks(o);if(i=i&&l<=a}return!1}function Ec(e,t,r){var n=Xr(t.focusPath);if(!qc(r,n)||r.length<=n.length)return-1;var o=r[n.length],s=bt(e,n);if(Do(s))return Object.keys(s).indexOf(o);if(Ao(s)){var i=ks(o);if(i');function iF(e,t){Ut(t,!1);var r=ss("jsoneditor:EditableDiv"),n=T(t,"value",9),o=T(t,"initialValue",9),s=T(t,"shortText",9,!1),i=T(t,"label",9),a=T(t,"onChange",9),l=T(t,"onCancel",9),c=T(t,"onFind",9),u=T(t,"onPaste",9,zo),d=T(t,"onValueClass",9,()=>""),p=he(void 0,!0),f=he(void 0,!0),m=!1;function v(){return h(p)?function(b){return b.replace(/\n$/,"")}(h(p).innerText):""}function g(b){h(p)&&Ri(p,h(p).innerText=Sx(b))}Is(()=>{r("onMount",{value:n(),initialValue:o()}),g(o()!==void 0?o():n()),h(p)&&function(b){if(b.firstChild!=null){var w=document.createRange(),k=window.getSelection();w.setStart(b,1),w.collapse(!0),k==null||k.removeAllRanges(),k==null||k.addRange(w)}else b.focus()}(h(p))}),va(()=>{var b=v();r("onDestroy",{closed:m,value:n(),newValue:b}),m||b===n()||a()(b,Du.no)}),$e(()=>(de(d()),de(n())),()=>{$(f,d()(n()))}),mn(),fr(!0);var y=K$e();no(y,b=>$(p,b),()=>h(p)),nt(b=>{fn(y,"aria-label",i()),hr(y,1,b,"svelte-f9kmxj")},[()=>td(Uh("jse-editable-div",h(f),{"jse-short-text":s()}))],We),Xe("input",y,function(){var b=v();b===""&&g(""),$(f,d()(b))}),Xe("keydown",y,function(b){b.stopPropagation();var w=Bc(b);if(w==="Escape"&&(b.preventDefault(),m=!0,l()()),w==="Enter"||w==="Tab"){b.preventDefault(),m=!0;var k=v();a()(k,Du.nextInside)}w==="Ctrl+F"&&(b.preventDefault(),c()(!1)),w==="Ctrl+H"&&(b.preventDefault(),c()(!0))}),Xe("paste",y,function(b){if(b.stopPropagation(),u()&&b.clipboardData){var w=b.clipboardData.getData("text/plain");u()(w)}}),Xe("blur",y,function(){var b=document.hasFocus(),w=v();r("handleBlur",{hasFocus:b,closed:m,value:n(),newValue:w}),document.hasFocus()&&!m&&(m=!0,w!==n()&&a()(w,Du.self))}),ge(e,y),Ht()}function Q$e(e,t){Ut(t,!1);var r=T(t,"path",9),n=T(t,"value",9),o=T(t,"selection",9),s=T(t,"mode",9),i=T(t,"parser",9),a=T(t,"normalization",9),l=T(t,"enforceString",9),c=T(t,"onPatch",9),u=T(t,"onPasteJson",9),d=T(t,"onSelect",9),p=T(t,"onFind",9),f=T(t,"focus",9),m=T(t,"findNextInside",9);function v(w){return l()?w:Fh(w,i())}function g(){d()(Ur(r())),f()()}fr(!0);var y=We(()=>a().escapeValue(n())),b=We(()=>bi(o())?o().initialValue:void 0);iF(e,{get value(){return h(y)},get initialValue(){return h(b)},label:"Edit value",onChange:function(w,k){c()([{op:"replace",path:Wt(r()),value:v(a().unescapeValue(w))}],(x,j,_)=>{if(!_||Hr(r(),Pt(_)))return{state:j,selection:k===Du.nextInside?m()(r()):Ur(r())}}),f()()},onCancel:g,onPaste:function(w){try{var k=i().parse(w);Po(k)&&u()({path:r(),contents:k,onPasteAsJson:()=>{g();var x=[{op:"replace",path:Wt(r()),value:k}];c()(x,(j,_)=>({state:mp(j,_,r())}))}})}catch{}},get onFind(){return p()},onValueClass:function(w){return sF(v(a().unescapeValue(w)),s(),i())}}),Ht()}function Of(e,t,r){var n=Xr(t),o=bt(e,n);if(Ao(o)){var s=ks(qr(t));return r.map((c,u)=>({op:"add",path:Wt(n.concat(String(s+u))),value:c.value}))}if(Do(o)){var i=qr(t),a=Object.keys(o),l=i!==void 0?Fv(a,i,!0):[];return[...r.map(c=>{var u=zv(c.key,a);return{op:"add",path:Wt(n.concat(u)),value:c.value}}),...l.map(c=>gp(n,c))]}throw new Error("Cannot create insert operations: parent must be an Object or Array")}function m2(e,t,r){var n=bt(e,t);if(Array.isArray(n)){var o=n.length;return r.map((s,i)=>({op:"add",path:Wt(t.concat(String(o+i))),value:s.value}))}return r.map(s=>{var i=zv(s.key,Object.keys(n));return{op:"add",path:Wt(t.concat(i)),value:s.value}})}function Vv(e,t,r,n){var o=zv(n,t.filter(i=>i!==r)),s=Fv(t,r,!1);return[{op:"move",from:Wt(e.concat(r)),path:Wt(e.concat(o))},...s.map(i=>gp(e,i))]}function aF(e,t){var r=qr(t);if(En(r))throw new Error("Cannot duplicate root object");var n=Xr(r),o=qr(r),s=bt(e,n);if(Ao(s)){var i=qr(t),a=i?ks(qr(i))+1:0;return[...t.map((u,d)=>({op:"copy",from:Wt(u),path:Wt(n.concat(String(d+a)))}))]}if(Do(s)){var l=Object.keys(s),c=o!==void 0?Fv(l,o,!1):[];return[...t.map(u=>{var d=zv(qr(u),l);return{op:"copy",from:Wt(u),path:Wt(n.concat(d))}}),...c.map(u=>gp(n,u))]}throw new Error("Cannot create duplicate operations: parent must be an Object or Array")}function lF(e,t){if(xn(t))return[{op:"move",from:Wt(t.path),path:""}];if(!ro(t))throw new Error("Cannot create extract operations: parent must be an Object or Array");var r=Xr(t.focusPath),n=bt(e,r);if(Ao(n)){var o=rd(e,t).map(i=>{var a=ks(qr(i));return n[a]});return[{op:"replace",path:"",value:o}]}if(Do(n)){var s={};return rd(e,t).forEach(i=>{var a=String(qr(i));s[a]=n[a]}),[{op:"replace",path:"",value:s}]}throw new Error("Cannot extract: unsupported type of selection "+JSON.stringify(t))}function cF(e,t,r,n){if(rs(t)){var o=Bz(r,n),s=Xr(t.path),i=bt(e,s);return Vv(s,Object.keys(i),qr(t.path),typeof o=="string"?o:r)}if(xn(t)||ro(t)&&En(t.focusPath))try{return[{op:"replace",path:Wt(Pt(t)),value:_x(r,j=>Bv(j,n))}]}catch{return[{op:"replace",path:Wt(Pt(t)),value:r}]}if(ro(t)){var a=Dj(r,n);return function(j,_,C){var A=wc(_),I=Xr(A),M=bt(j,I);if(Ao(M)){var N=wc(_),F=N?ks(qr(N)):0;return[...q1(_),...C.map((B,se)=>({op:"add",path:Wt(I.concat(String(se+F))),value:B.value}))]}if(Do(M)){var z=qr(_),L=Xr(z),X=qr(z),V=Object.keys(M),J=X!==void 0?Fv(V,X,!1):[],oe=new Set(_.map(B=>qr(B))),H=V.filter(B=>!oe.has(B));return[...q1(_),...C.map(B=>{var se=zv(B.key,H);return{op:"add",path:Wt(L.concat(se)),value:B.value}}),...J.map(B=>gp(L,B))]}throw new Error("Cannot create replace operations: parent must be an Object or Array")}(e,rd(e,t),a)}if(ia(t)){var l=Dj(r,n),c=t.path,u=Xr(c),d=bt(e,u);if(Ao(d)){var p=ks(qr(c));return Of(e,u.concat(String(p+1)),l)}if(Do(d)){var f=String(qr(c)),m=Object.keys(d);if(En(m)||qr(m)===f)return m2(e,u,l);var v=m.indexOf(f),g=m[v+1];return Of(e,u.concat(g),l)}throw new Error("Cannot create insert operations: parent must be an Object or Array")}if(Os(t)){var y=Dj(r,n),b=t.path,w=bt(e,b);if(Ao(w))return Of(e,b.concat("0"),y);if(Do(w)){var k=Object.keys(w);if(En(k))return m2(e,b,y);var x=wc(k);return Of(e,b.concat(x),y)}throw new Error("Cannot create insert operations: parent must be an Object or Array")}throw new Error("Cannot insert: unsupported type of selection "+JSON.stringify(t))}function q1(e){return e.map(t=>({op:"remove",path:Wt(t)})).reverse()}function gp(e,t){return{op:"move",from:Wt(e.concat(t)),path:Wt(e.concat(t))}}function Dj(e,t){var r=/^\s*{/.test(e),n=/^\s*\[/.test(e),o=Bz(e,t),s=o!==void 0?o:_x(e,i=>Bv(i,t));return r&&hn(s)||n&&Array.isArray(s)?[{key:"New item",value:s}]:Array.isArray(s)?s.map((i,a)=>({key:"New item "+a,value:i})):hn(s)?Object.keys(s).map(i=>({key:i,value:s[i]})):[{key:"New item",value:s}]}function uF(e,t){if(rs(t)){var r=Xr(t.path),n=bt(e,r),o=Vv(r,Object.keys(n),qr(t.path),"");return{operations:o,newSelection:bh(e,o)}}if(xn(t))return{operations:[{op:"replace",path:Wt(t.path),value:""}],newSelection:t};if(ro(t)){var s=rd(e,t),i=q1(s),a=qr(s);if(En(a))return{operations:[{op:"replace",path:"",value:""}],newSelection:Ur([])};var l=Xr(a),c=bt(e,l);if(Ao(c)){var u=wc(s),d=ks(qr(u));return{operations:i,newSelection:d===0?Fc(l):Ac(l.concat(String(d-1)))}}if(Do(c)){var p=Object.keys(c),f=wc(s),m=qr(f),v=p.indexOf(m),g=p[v-1];return{operations:i,newSelection:v===0?Fc(l):Ac(l.concat(g))}}throw new Error("Cannot create remove operations: parent must be an Object or Array")}throw new Error("Cannot remove: unsupported type of selection "+JSON.stringify(t))}function dF(e,t){return function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Hr;return r.filter((o,s)=>{for(var i=s+1;i{if(K5(n)){var s=da(n.path);return{revertOperations:[...o,...Mj(r,s)]}}if(Lf(n)){var i=da(n.from);return{revertOperations:n.from===n.path?[n,...Mj(r,i)]:[...o,...Mj(r,i)]}}return{document:r}}}))}function Mj(e,t){var r=Xr(t),n=qr(t),o=bt(e,r);return Do(o)?Fv(Object.keys(o),n,!1).map(s=>gp(r,s)):[]}function DD(e){var t=e.activeIndex0?0:-1,r=e.items[t],n=e.items.map((o,s)=>rt(rt({},o),{},{active:s===t}));return rt(rt({},e),{},{items:n,activeItem:r,activeIndex:t})}function MD(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=e.toLowerCase(),s=(r=n==null?void 0:n.maxResults)!==null&&r!==void 0?r:1/0,i=n==null?void 0:n.columns,a=[],l=[];function c(g){a.length>=s||a.push(g)}function u(g,y){if(Ao(y)){var b=l.length;l.push("0");for(var w=0;w=s)return;l.pop()}else if(Do(y)){var k=Object.keys(y),x=l.length;for(var j of(l.push(""),k))if(l[x]=j,LD(j,g,l,za.key,c),u(g,y[j]),a.length>=s)return;l.pop()}else LD(String(y),g,l,za.value,c)}if(e==="")return[];if(i){if(!Array.isArray(t))throw new Error("json must be an Array when option columns is defined");for(var d=0;dm.length+1;)l.pop();u(o,bt(p,m))}if(a.length>=s)break}return a}return u(o,t),a}function LD(e,t,r,n,o){var s=e.toLowerCase(),i=0,a=-1,l=-1;do(l=s.indexOf(t,a))!==-1&&(a=l+t.length,o({path:r.slice(0),field:n,fieldIndex:i,start:l,end:a}),i++);while(l!==-1)}function g2(e,t,r,n){return e.substring(0,r)+t+e.substring(n)}function ND(e,t,r){var n=e;return qwe(r,o=>{n=g2(n,t,o.start,o.end)}),n}function Z$e(e,t,r,n,o){var{field:s,path:i,start:a,end:l}=n;if(s===za.key){var c=Xr(i),u=bt(e,c),d=qr(i),p=Vv(c,Object.keys(u),d,g2(d,r,a,l));return{newSelection:bh(e,p),operations:p}}if(s===za.value){var f=bt(e,i);if(f===void 0)throw new Error("Cannot replace: path not found ".concat(Wt(i)));var m=typeof f=="string"?f:String(f),v=Cc(e,t,i),g=g2(m,r,a,l),y=[{op:"replace",path:Wt(i),value:v?g:Fh(g,o)}];return{newSelection:bh(e,y),operations:y}}throw new Error("Cannot replace: unknown type of search result field ".concat(s))}function RD(e){return e.path.concat(e.field,String(e.fieldIndex))}var X$e={createObjectDocumentState:()=>({type:"object",properties:{}}),createArrayDocumentState:()=>({type:"array",items:[]}),createValueDocumentState:()=>({type:"value"})};function pF(e,t){return t.reduce((r,n)=>function(o,s,i,a){return ME(o,s,i,a,X$e)}(e,r,n.path,(o,s)=>rt(rt({},s),{},{searchResults:s.searchResults?s.searchResults.concat(n):[n]})),void 0)}function v2(e){var t,r=(t=e==null?void 0:e.searchResults)!==null&&t!==void 0?t:[],n=Fa(e)?Object.values(e.properties).flatMap(v2):Ts(e)?e.items.flatMap(v2):[];return r.concat(n)}or(`/* over all fonts, sizes, and colors */ +}`);var K$e=Pe('
');function iF(e,t){Ut(t,!1);var r=ss("jsoneditor:EditableDiv"),n=T(t,"value",9),o=T(t,"initialValue",9),s=T(t,"shortText",9,!1),i=T(t,"label",9),a=T(t,"onChange",9),l=T(t,"onCancel",9),c=T(t,"onFind",9),u=T(t,"onPaste",9,zo),d=T(t,"onValueClass",9,()=>""),p=he(void 0,!0),f=he(void 0,!0),m=!1;function v(){return h(p)?function(b){return b.replace(/\n$/,"")}(h(p).innerText):""}function g(b){h(p)&&Ri(p,h(p).innerText=Sx(b))}Is(()=>{r("onMount",{value:n(),initialValue:o()}),g(o()!==void 0?o():n()),h(p)&&function(b){if(b.firstChild!=null){var w=document.createRange(),k=window.getSelection();w.setStart(b,1),w.collapse(!0),k==null||k.removeAllRanges(),k==null||k.addRange(w)}else b.focus()}(h(p))}),va(()=>{var b=v();r("onDestroy",{closed:m,value:n(),newValue:b}),m||b===n()||a()(b,Du.no)}),$e(()=>(de(d()),de(n())),()=>{$(f,d()(n()))}),mn(),fr(!0);var y=K$e();no(y,b=>$(p,b),()=>h(p)),nt(b=>{fn(y,"aria-label",i()),hr(y,1,b,"svelte-f9kmxj")},[()=>td(Uh("jse-editable-div",h(f),{"jse-short-text":s()}))],We),Xe("input",y,function(){var b=v();b===""&&g(""),$(f,d()(b))}),Xe("keydown",y,function(b){b.stopPropagation();var w=Bc(b);if(w==="Escape"&&(b.preventDefault(),m=!0,l()()),w==="Enter"||w==="Tab"){b.preventDefault(),m=!0;var k=v();a()(k,Du.nextInside)}w==="Ctrl+F"&&(b.preventDefault(),c()(!1)),w==="Ctrl+H"&&(b.preventDefault(),c()(!0))}),Xe("paste",y,function(b){if(b.stopPropagation(),u()&&b.clipboardData){var w=b.clipboardData.getData("text/plain");u()(w)}}),Xe("blur",y,function(){var b=document.hasFocus(),w=v();r("handleBlur",{hasFocus:b,closed:m,value:n(),newValue:w}),document.hasFocus()&&!m&&(m=!0,w!==n()&&a()(w,Du.self))}),ge(e,y),Ht()}function Q$e(e,t){Ut(t,!1);var r=T(t,"path",9),n=T(t,"value",9),o=T(t,"selection",9),s=T(t,"mode",9),i=T(t,"parser",9),a=T(t,"normalization",9),l=T(t,"enforceString",9),c=T(t,"onPatch",9),u=T(t,"onPasteJson",9),d=T(t,"onSelect",9),p=T(t,"onFind",9),f=T(t,"focus",9),m=T(t,"findNextInside",9);function v(w){return l()?w:Fh(w,i())}function g(){d()(Ur(r())),f()()}fr(!0);var y=We(()=>a().escapeValue(n())),b=We(()=>bi(o())?o().initialValue:void 0);iF(e,{get value(){return h(y)},get initialValue(){return h(b)},label:"Edit value",onChange:function(w,k){c()([{op:"replace",path:Wt(r()),value:v(a().unescapeValue(w))}],(x,j,_)=>{if(!_||Hr(r(),Pt(_)))return{state:j,selection:k===Du.nextInside?m()(r()):Ur(r())}}),f()()},onCancel:g,onPaste:function(w){try{var k=i().parse(w);Po(k)&&u()({path:r(),contents:k,onPasteAsJson:()=>{g();var x=[{op:"replace",path:Wt(r()),value:k}];c()(x,(j,_)=>({state:mp(j,_,r())}))}})}catch{}},get onFind(){return p()},onValueClass:function(w){return sF(v(a().unescapeValue(w)),s(),i())}}),Ht()}function Of(e,t,r){var n=Xr(t),o=bt(e,n);if(Ao(o)){var s=ks(qr(t));return r.map((c,u)=>({op:"add",path:Wt(n.concat(String(s+u))),value:c.value}))}if(Do(o)){var i=qr(t),a=Object.keys(o),l=i!==void 0?Fv(a,i,!0):[];return[...r.map(c=>{var u=zv(c.key,a);return{op:"add",path:Wt(n.concat(u)),value:c.value}}),...l.map(c=>gp(n,c))]}throw new Error("Cannot create insert operations: parent must be an Object or Array")}function m2(e,t,r){var n=bt(e,t);if(Array.isArray(n)){var o=n.length;return r.map((s,i)=>({op:"add",path:Wt(t.concat(String(o+i))),value:s.value}))}return r.map(s=>{var i=zv(s.key,Object.keys(n));return{op:"add",path:Wt(t.concat(i)),value:s.value}})}function Vv(e,t,r,n){var o=zv(n,t.filter(i=>i!==r)),s=Fv(t,r,!1);return[{op:"move",from:Wt(e.concat(r)),path:Wt(e.concat(o))},...s.map(i=>gp(e,i))]}function aF(e,t){var r=qr(t);if(En(r))throw new Error("Cannot duplicate root object");var n=Xr(r),o=qr(r),s=bt(e,n);if(Ao(s)){var i=qr(t),a=i?ks(qr(i))+1:0;return[...t.map((u,d)=>({op:"copy",from:Wt(u),path:Wt(n.concat(String(d+a)))}))]}if(Do(s)){var l=Object.keys(s),c=o!==void 0?Fv(l,o,!1):[];return[...t.map(u=>{var d=zv(qr(u),l);return{op:"copy",from:Wt(u),path:Wt(n.concat(d))}}),...c.map(u=>gp(n,u))]}throw new Error("Cannot create duplicate operations: parent must be an Object or Array")}function lF(e,t){if(xn(t))return[{op:"move",from:Wt(t.path),path:""}];if(!ro(t))throw new Error("Cannot create extract operations: parent must be an Object or Array");var r=Xr(t.focusPath),n=bt(e,r);if(Ao(n)){var o=rd(e,t).map(i=>{var a=ks(qr(i));return n[a]});return[{op:"replace",path:"",value:o}]}if(Do(n)){var s={};return rd(e,t).forEach(i=>{var a=String(qr(i));s[a]=n[a]}),[{op:"replace",path:"",value:s}]}throw new Error("Cannot extract: unsupported type of selection "+JSON.stringify(t))}function cF(e,t,r,n){if(rs(t)){var o=Bz(r,n),s=Xr(t.path),i=bt(e,s);return Vv(s,Object.keys(i),qr(t.path),typeof o=="string"?o:r)}if(xn(t)||ro(t)&&En(t.focusPath))try{return[{op:"replace",path:Wt(Pt(t)),value:_x(r,j=>Bv(j,n))}]}catch{return[{op:"replace",path:Wt(Pt(t)),value:r}]}if(ro(t)){var a=Dj(r,n);return function(j,_,C){var A=wc(_),I=Xr(A),M=bt(j,I);if(Ao(M)){var L=wc(_),F=L?ks(qr(L)):0;return[...q1(_),...C.map((B,se)=>({op:"add",path:Wt(I.concat(String(se+F))),value:B.value}))]}if(Do(M)){var z=qr(_),N=Xr(z),X=qr(z),V=Object.keys(M),J=X!==void 0?Fv(V,X,!1):[],oe=new Set(_.map(B=>qr(B))),H=V.filter(B=>!oe.has(B));return[...q1(_),...C.map(B=>{var se=zv(B.key,H);return{op:"add",path:Wt(N.concat(se)),value:B.value}}),...J.map(B=>gp(N,B))]}throw new Error("Cannot create replace operations: parent must be an Object or Array")}(e,rd(e,t),a)}if(ia(t)){var l=Dj(r,n),c=t.path,u=Xr(c),d=bt(e,u);if(Ao(d)){var p=ks(qr(c));return Of(e,u.concat(String(p+1)),l)}if(Do(d)){var f=String(qr(c)),m=Object.keys(d);if(En(m)||qr(m)===f)return m2(e,u,l);var v=m.indexOf(f),g=m[v+1];return Of(e,u.concat(g),l)}throw new Error("Cannot create insert operations: parent must be an Object or Array")}if(Os(t)){var y=Dj(r,n),b=t.path,w=bt(e,b);if(Ao(w))return Of(e,b.concat("0"),y);if(Do(w)){var k=Object.keys(w);if(En(k))return m2(e,b,y);var x=wc(k);return Of(e,b.concat(x),y)}throw new Error("Cannot create insert operations: parent must be an Object or Array")}throw new Error("Cannot insert: unsupported type of selection "+JSON.stringify(t))}function q1(e){return e.map(t=>({op:"remove",path:Wt(t)})).reverse()}function gp(e,t){return{op:"move",from:Wt(e.concat(t)),path:Wt(e.concat(t))}}function Dj(e,t){var r=/^\s*{/.test(e),n=/^\s*\[/.test(e),o=Bz(e,t),s=o!==void 0?o:_x(e,i=>Bv(i,t));return r&&hn(s)||n&&Array.isArray(s)?[{key:"New item",value:s}]:Array.isArray(s)?s.map((i,a)=>({key:"New item "+a,value:i})):hn(s)?Object.keys(s).map(i=>({key:i,value:s[i]})):[{key:"New item",value:s}]}function uF(e,t){if(rs(t)){var r=Xr(t.path),n=bt(e,r),o=Vv(r,Object.keys(n),qr(t.path),"");return{operations:o,newSelection:bh(e,o)}}if(xn(t))return{operations:[{op:"replace",path:Wt(t.path),value:""}],newSelection:t};if(ro(t)){var s=rd(e,t),i=q1(s),a=qr(s);if(En(a))return{operations:[{op:"replace",path:"",value:""}],newSelection:Ur([])};var l=Xr(a),c=bt(e,l);if(Ao(c)){var u=wc(s),d=ks(qr(u));return{operations:i,newSelection:d===0?Fc(l):Ac(l.concat(String(d-1)))}}if(Do(c)){var p=Object.keys(c),f=wc(s),m=qr(f),v=p.indexOf(m),g=p[v-1];return{operations:i,newSelection:v===0?Fc(l):Ac(l.concat(g))}}throw new Error("Cannot create remove operations: parent must be an Object or Array")}throw new Error("Cannot remove: unsupported type of selection "+JSON.stringify(t))}function dF(e,t){return function(r){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Hr;return r.filter((o,s)=>{for(var i=s+1;i{if(K5(n)){var s=da(n.path);return{revertOperations:[...o,...Mj(r,s)]}}if(Nf(n)){var i=da(n.from);return{revertOperations:n.from===n.path?[n,...Mj(r,i)]:[...o,...Mj(r,i)]}}return{document:r}}}))}function Mj(e,t){var r=Xr(t),n=qr(t),o=bt(e,r);return Do(o)?Fv(Object.keys(o),n,!1).map(s=>gp(r,s)):[]}function DD(e){var t=e.activeIndex0?0:-1,r=e.items[t],n=e.items.map((o,s)=>rt(rt({},o),{},{active:s===t}));return rt(rt({},e),{},{items:n,activeItem:r,activeIndex:t})}function MD(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=e.toLowerCase(),s=(r=n==null?void 0:n.maxResults)!==null&&r!==void 0?r:1/0,i=n==null?void 0:n.columns,a=[],l=[];function c(g){a.length>=s||a.push(g)}function u(g,y){if(Ao(y)){var b=l.length;l.push("0");for(var w=0;w=s)return;l.pop()}else if(Do(y)){var k=Object.keys(y),x=l.length;for(var j of(l.push(""),k))if(l[x]=j,ND(j,g,l,za.key,c),u(g,y[j]),a.length>=s)return;l.pop()}else ND(String(y),g,l,za.value,c)}if(e==="")return[];if(i){if(!Array.isArray(t))throw new Error("json must be an Array when option columns is defined");for(var d=0;dm.length+1;)l.pop();u(o,bt(p,m))}if(a.length>=s)break}return a}return u(o,t),a}function ND(e,t,r,n,o){var s=e.toLowerCase(),i=0,a=-1,l=-1;do(l=s.indexOf(t,a))!==-1&&(a=l+t.length,o({path:r.slice(0),field:n,fieldIndex:i,start:l,end:a}),i++);while(l!==-1)}function g2(e,t,r,n){return e.substring(0,r)+t+e.substring(n)}function LD(e,t,r){var n=e;return qwe(r,o=>{n=g2(n,t,o.start,o.end)}),n}function Z$e(e,t,r,n,o){var{field:s,path:i,start:a,end:l}=n;if(s===za.key){var c=Xr(i),u=bt(e,c),d=qr(i),p=Vv(c,Object.keys(u),d,g2(d,r,a,l));return{newSelection:bh(e,p),operations:p}}if(s===za.value){var f=bt(e,i);if(f===void 0)throw new Error("Cannot replace: path not found ".concat(Wt(i)));var m=typeof f=="string"?f:String(f),v=Cc(e,t,i),g=g2(m,r,a,l),y=[{op:"replace",path:Wt(i),value:v?g:Fh(g,o)}];return{newSelection:bh(e,y),operations:y}}throw new Error("Cannot replace: unknown type of search result field ".concat(s))}function RD(e){return e.path.concat(e.field,String(e.fieldIndex))}var X$e={createObjectDocumentState:()=>({type:"object",properties:{}}),createArrayDocumentState:()=>({type:"array",items:[]}),createValueDocumentState:()=>({type:"value"})};function pF(e,t){return t.reduce((r,n)=>function(o,s,i,a){return ME(o,s,i,a,X$e)}(e,r,n.path,(o,s)=>rt(rt({},s),{},{searchResults:s.searchResults?s.searchResults.concat(n):[n]})),void 0)}function v2(e){var t,r=(t=e==null?void 0:e.searchResults)!==null&&t!==void 0?t:[],n=Fa(e)?Object.values(e.properties).flatMap(v2):Ts(e)?e.items.flatMap(v2):[];return r.concat(n)}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -553,7 +553,7 @@ div.jse-editable-div.jse-empty.svelte-f9kmxj::after { .jse-highlight.jse-active.svelte-5fb7bl { background-color: var(--jse-search-match-active-color, var(--jse-search-match-color, #ffe665)); outline: var(--jse-search-match-outline, 2px solid #e0be00); -}`);var Y$e=Pe(" ");function fF(e,t){Ut(t,!1);var r=he(),n=T(t,"text",8),o=T(t,"searchResultItems",8);$e(()=>(de(n()),de(o())),()=>{$(r,function(i,a){var l=[],c=0;for(var u of a){var d=i.slice(c,u.start);d!==""&&l.push({resultIndex:void 0,type:"normal",text:d,active:!1});var p=i.slice(u.start,u.end);l.push({resultIndex:u.resultIndex,type:"highlight",text:p,active:u.active}),c=u.end}var f=qr(a);return f&&f.endh(r),Mo,(i,a)=>{var l=vo(),c=Kt(l),u=p=>{var f=ds();nt(()=>Xt(f,h(a).text)),ge(p,f)},d=p=>{var f,m=Y$e(),v=fe(m);nt((g,y,b)=>{f=hr(m,1,"jse-highlight svelte-5fb7bl",null,f,g),fn(m,"data-search-result-index",y),Xt(v,b)},[()=>({"jse-active":h(a).active}),()=>String(h(a).resultIndex),()=>Sx(h(a).text)],We),ge(p,m)};Le(c,p=>{h(a).type==="normal"?p(u):p(d,!1)}),ge(i,l)}),ge(e,s),Ht()}function y2(e){var t=1e3;if(e<900)return e.toFixed()+" B";var r=e/t;if(r<900)return r.toFixed(1)+" KB";var n=r/t;if(n<900)return n.toFixed(1)+" MB";var o=n/t;return o<900?o.toFixed(1)+" GB":(o/t).toFixed(1)+" TB"}or(`/* over all fonts, sizes, and colors */ +}`);var Y$e=Pe(" ");function fF(e,t){Ut(t,!1);var r=he(),n=T(t,"text",8),o=T(t,"searchResultItems",8);$e(()=>(de(n()),de(o())),()=>{$(r,function(i,a){var l=[],c=0;for(var u of a){var d=i.slice(c,u.start);d!==""&&l.push({resultIndex:void 0,type:"normal",text:d,active:!1});var p=i.slice(u.start,u.end);l.push({resultIndex:u.resultIndex,type:"highlight",text:p,active:u.active}),c=u.end}var f=qr(a);return f&&f.endh(r),Mo,(i,a)=>{var l=vo(),c=Kt(l),u=p=>{var f=ds();nt(()=>Xt(f,h(a).text)),ge(p,f)},d=p=>{var f,m=Y$e(),v=fe(m);nt((g,y,b)=>{f=hr(m,1,"jse-highlight svelte-5fb7bl",null,f,g),fn(m,"data-search-result-index",y),Xt(v,b)},[()=>({"jse-active":h(a).active}),()=>String(h(a).resultIndex),()=>Sx(h(a).text)],We),ge(p,m)};Ne(c,p=>{h(a).type==="normal"?p(u):p(d,!1)}),ge(i,l)}),ge(e,s),Ht()}function y2(e){var t=1e3;if(e<900)return e.toFixed()+" B";var r=e/t;if(r<900)return r.toFixed(1)+" KB";var n=r/t;if(n<900)return n.toFixed(1)+" MB";var o=n/t;return o<900?o.toFixed(1)+" GB":(o/t).toFixed(1)+" TB"}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -591,7 +591,7 @@ div.jse-editable-div.jse-empty.svelte-f9kmxj::after { .jse-tag.svelte-tqwlgz:disabled { opacity: 0.7; cursor: inherit; -}`);var eTe=Pe('');function gb(e,t){Ut(t,!0);var r=yi(()=>t.onclick?o=>{o.preventDefault(),o.stopPropagation(),t.onclick()}:void 0),n=eTe();n.__click=function(){for(var o,s=arguments.length,i=new Array(s),a=0;a2?i-2:0),l=2;l{d!==(d=s())&&(c&&(Bl(c),c=null),c=Rc(()=>d(u,...a)))},Dv)}(fe(n),()=>{var o;return(o=t.children)!==null&&o!==void 0?o:K4}),nt(()=>n.disabled=!t.onclick),ge(e,n),Ht()}Rv(["click"]);function tTe(e,t,r){typeof t.value=="string"&&h(r)&&EE(e)&&(e.preventDefault(),e.stopPropagation(),window.open(t.value,"_blank"))}function rTe(e,t){t.readOnly||(e.preventDefault(),t.onSelect(B1(t.path)))}or(`/* over all fonts, sizes, and colors */ +}`);var eTe=Pe('');function gb(e,t){Ut(t,!0);var r=yi(()=>t.onclick?o=>{o.preventDefault(),o.stopPropagation(),t.onclick()}:void 0),n=eTe();n.__click=function(){for(var o,s=arguments.length,i=new Array(s),a=0;a2?i-2:0),l=2;l{d!==(d=s())&&(c&&(Bl(c),c=null),c=Rc(()=>d(u,...a)))},Dv)}(fe(n),()=>{var o;return(o=t.children)!==null&&o!==void 0?o:K4}),nt(()=>n.disabled=!t.onclick),ge(e,n),Ht()}Rv(["click"]);function tTe(e,t,r){typeof t.value=="string"&&h(r)&&EE(e)&&(e.preventDefault(),e.stopPropagation(),window.open(t.value,"_blank"))}function rTe(e,t){t.readOnly||(e.preventDefault(),t.onSelect(B1(t.path)))}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -659,7 +659,7 @@ div.jse-editable-div.jse-empty.svelte-f9kmxj::after { pointer-events: none; color: var(--jse-tag-background, rgba(0, 0, 0, 0.2)); content: "value"; -}`);var nTe=Pe('
');function oTe(e,t){Ut(t,!0);var r=sc(!0),n=yi(()=>h(r)&&typeof t.value=="string"&&t.value.length>t.truncateTextSize&&(!t.searchResultItems||!t.searchResultItems.some(f=>f.active&&f.end>t.truncateTextSize))),o=yi(()=>h(n)&&typeof t.value=="string"?t.value.substring(0,t.truncateTextSize).trim():t.value),s=yi(()=>jx(t.value));function i(){$(r,!1)}var a=nTe();a.__click=[tTe,t,s],a.__dblclick=[rTe,t];var l=fe(a),c=f=>{var m=yi(()=>t.normalization.escapeValue(h(o)));fF(f,{get text(){return h(m)},get searchResultItems(){return t.searchResultItems}})},u=f=>{var m=ds();nt(v=>Xt(m,v),[()=>Sx(t.normalization.escapeValue(h(o)))]),ge(f,m)};Le(l,f=>{t.searchResultItems?f(c):f(u,!1)});var d=ke(l,2),p=f=>{gb(f,{onclick:i,children:(m,v)=>{var g=ds();nt(y=>Xt(g,"Show more (".concat(y??"",")")),[()=>y2(t.value.length)]),ge(m,g)},$$slots:{default:!0}})};Le(d,f=>{h(n)&&typeof t.value=="string"&&f(p)}),nt(f=>{hr(a,1,f,"svelte-c0g9qz"),fn(a,"title",h(s)?"Ctrl+Click or Ctrl+Enter to open url in new window":void 0)},[()=>td(sF(t.value,t.mode,t.parser))]),ge(e,a),Ht()}Rv(["click","dblclick"]);or(`/* over all fonts, sizes, and colors */ +}`);var nTe=Pe('
');function oTe(e,t){Ut(t,!0);var r=sc(!0),n=yi(()=>h(r)&&typeof t.value=="string"&&t.value.length>t.truncateTextSize&&(!t.searchResultItems||!t.searchResultItems.some(f=>f.active&&f.end>t.truncateTextSize))),o=yi(()=>h(n)&&typeof t.value=="string"?t.value.substring(0,t.truncateTextSize).trim():t.value),s=yi(()=>jx(t.value));function i(){$(r,!1)}var a=nTe();a.__click=[tTe,t,s],a.__dblclick=[rTe,t];var l=fe(a),c=f=>{var m=yi(()=>t.normalization.escapeValue(h(o)));fF(f,{get text(){return h(m)},get searchResultItems(){return t.searchResultItems}})},u=f=>{var m=ds();nt(v=>Xt(m,v),[()=>Sx(t.normalization.escapeValue(h(o)))]),ge(f,m)};Ne(l,f=>{t.searchResultItems?f(c):f(u,!1)});var d=ke(l,2),p=f=>{gb(f,{onclick:i,children:(m,v)=>{var g=ds();nt(y=>Xt(g,"Show more (".concat(y??"",")")),[()=>y2(t.value.length)]),ge(m,g)},$$slots:{default:!0}})};Ne(d,f=>{h(n)&&typeof t.value=="string"&&f(p)}),nt(f=>{hr(a,1,f,"svelte-c0g9qz"),fn(a,"title",h(s)?"Ctrl+Click or Ctrl+Enter to open url in new window":void 0)},[()=>td(sF(t.value,t.mode,t.parser))]),ge(e,a),Ht()}Rv(["click","dblclick"]);or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -713,7 +713,7 @@ div.jse-editable-div.jse-empty.svelte-f9kmxj::after { vertical-align: middle; display: inline-flex; color: var(--jse-value-color-number, #ee422e); -}`);var aTe=Pe('
');function lTe(e,t){Ut(t,!1);var r=he(void 0,!0),n=pd("absolute-popup"),o=T(t,"value",9);$e(()=>de(o()),()=>{$(r,"Time: ".concat(new Date(o()).toString()))}),mn(),fr(!0);var s=aTe();Wr(fe(s),{data:Exe}),Vs(s,(i,a)=>Oc==null?void 0:Oc(i,a),()=>rt({text:h(r)},n)),ge(e,s),Ht()}function cTe(e){var t=[];return!e.isEditing&&n$e(e.value)&&t.push({component:M$e,props:e}),!e.isEditing&&o$e(e.value)&&t.push({component:B$e,props:e}),e.isEditing&&t.push({component:Q$e,props:e}),e.isEditing||t.push({component:oTe,props:e}),!e.isEditing&&i2(e.value)&&t.push({component:lTe,props:e}),t}function Ma(e){return e.map((t,r)=>dTe.test(t)?"["+t+"]":/[.[\]]/.test(t)||t===""?'["'+function(n){return n.replace(/"/g,'\\"')}(t)+'"]':(r>0?".":"")+t).join("")}function uTe(e){for(var t=[],r=0;rs==='"',!0)),o('"')):t.push(n(s=>s==="]")),o("]")):t.push(n(s=>s==="."||s==="["));function n(s){for(var i=arguments.length>1&&arguments[1]!==void 0&&arguments[1],a="";r({x:e,y:e}),hTe={left:"right",right:"left",bottom:"top",top:"bottom"},mTe={start:"end",end:"start"};function BD(e,t,r){return Zd(e,z1(t,r))}function Ex(e,t){return typeof e=="function"?e(t):e}function Xd(e){return e.split("-")[0]}function V1(e){return e.split("-")[1]}function hF(e){return e==="x"?"y":"x"}function mF(e){return e==="y"?"height":"width"}function wh(e){return["top","bottom"].includes(Xd(e))?"y":"x"}function gF(e){return hF(wh(e))}function Lj(e){return e.replace(/start|end/g,t=>mTe[t])}function D0(e){return e.replace(/left|right|bottom|top/g,t=>hTe[t])}function gTe(e){return typeof e!="number"?function(t){return rt({top:0,right:0,bottom:0,left:0},t)}(e):{top:e,right:e,bottom:e,left:e}}function U1(e){var{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function qD(e,t,r){var n,{reference:o,floating:s}=e,i=wh(t),a=gF(t),l=mF(a),c=Xd(t),u=i==="y",d=o.x+o.width/2-s.width/2,p=o.y+o.height/2-s.height/2,f=o[l]/2-s[l]/2;switch(c){case"top":n={x:d,y:o.y-s.height};break;case"bottom":n={x:d,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:p};break;case"left":n={x:o.x-s.width,y:p};break;default:n={x:o.x,y:o.y}}switch(V1(t)){case"start":n[a]-=f*(r&&u?-1:1);break;case"end":n[a]+=f*(r&&u?-1:1)}return n}var vTe=function(){var e=pr(function*(t,r,n){for(var{placement:o="bottom",strategy:s="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),c=yield a.isRTL==null?void 0:a.isRTL(r),u=yield a.getElementRects({reference:t,floating:r,strategy:s}),{x:d,y:p}=qD(u,o,c),f=o,m={},v=0,g=0;g"u")&&(e instanceof ShadowRoot||e instanceof zi(e).ShadowRoot)}function Yg(e){var{overflow:t,overflowX:r,overflowY:n,display:o}=Ua(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function yTe(e){return["table","td","th"].includes(xh(e))}function H1(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function x2(e){var t=BE(),r=Va(e)?Ua(e):e;return["transform","translate","scale","rotate","perspective"].some(n=>!!r[n]&&r[n]!=="none")||!!r.containerType&&r.containerType!=="normal"||!t&&!!r.backdropFilter&&r.backdropFilter!=="none"||!t&&!!r.filter&&r.filter!=="none"||["transform","translate","scale","rotate","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function BE(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Wf(e){return["html","body","#document"].includes(xh(e))}function Ua(e){return zi(e).getComputedStyle(e)}function $x(e){return Va(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Cu(e){if(xh(e)==="html")return e;var t=e.assignedSlot||e.parentNode||zD(e)&&e.host||Il(e);return zD(t)?t.host:t}function bF(e){var t=Cu(e);return Wf(t)?e.ownerDocument?e.ownerDocument.body:e.body:ql(t)&&Yg(t)?t:bF(t)}function ev(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);var o=bF(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),i=zi(o);if(s){var a=k2(i);return t.concat(i,i.visualViewport||[],Yg(o)?o:[],a&&r?ev(a):[])}return t.concat(o,ev(o,[],r))}function k2(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function wF(e){var t=Ua(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=ql(e),s=o?e.offsetWidth:r,i=o?e.offsetHeight:n,a=F1(r)!==s||F1(n)!==i;return a&&(r=s,n=i),{width:r,height:n,$:a}}function qE(e){return Va(e)?e:e.contextElement}function Gf(e){var t=qE(e);if(!ql(t))return Pl(1);var r=t.getBoundingClientRect(),{width:n,height:o,$:s}=wF(t),i=(s?F1(r.width):r.width)/n,a=(s?F1(r.height):r.height)/o;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}var bTe=Pl(0);function xF(e){var t=zi(e);return BE()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:bTe}function vp(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),s=qE(e),i=Pl(1);t&&(n?Va(n)&&(i=Gf(n)):i=Gf(e));var a=function(x,j,_){return j===void 0&&(j=!1),!(!_||j&&_!==zi(x))&&j}(s,r,n)?xF(s):Pl(0),l=(o.left+a.x)/i.x,c=(o.top+a.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(s)for(var p=zi(s),f=n&&Va(n)?zi(n):n,m=p,v=k2(m);v&&n&&f!==m;){var g=Gf(v),y=v.getBoundingClientRect(),b=Ua(v),w=y.left+(v.clientLeft+parseFloat(b.paddingLeft))*g.x,k=y.top+(v.clientTop+parseFloat(b.paddingTop))*g.y;l*=g.x,c*=g.y,u*=g.x,d*=g.y,l+=w,c+=k,v=k2(m=zi(v))}return U1({width:u,height:d,x:l,y:c})}function zE(e,t){var r=$x(e).scrollLeft;return t?t.left+r:vp(Il(e)).left+r}function kF(e,t,r){r===void 0&&(r=!1);var n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-(r?0:zE(e,n)),y:n.top+t.scrollTop}}function FD(e,t,r){var n;if(t==="viewport")n=function(s,i){var a=zi(s),l=Il(s),c=a.visualViewport,u=l.clientWidth,d=l.clientHeight,p=0,f=0;if(c){u=c.width,d=c.height;var m=BE();(!m||m&&i==="fixed")&&(p=c.offsetLeft,f=c.offsetTop)}return{width:u,height:d,x:p,y:f}}(e,r);else if(t==="document")n=function(s){var i=Il(s),a=$x(s),l=s.ownerDocument.body,c=Zd(i.scrollWidth,i.clientWidth,l.scrollWidth,l.clientWidth),u=Zd(i.scrollHeight,i.clientHeight,l.scrollHeight,l.clientHeight),d=-a.scrollLeft+zE(s),p=-a.scrollTop;return Ua(l).direction==="rtl"&&(d+=Zd(i.clientWidth,l.clientWidth)-c),{width:c,height:u,x:d,y:p}}(Il(e));else if(Va(t))n=function(s,i){var a=vp(s,!0,i==="fixed"),l=a.top+s.clientTop,c=a.left+s.clientLeft,u=ql(s)?Gf(s):Pl(1);return{width:s.clientWidth*u.x,height:s.clientHeight*u.y,x:c*u.x,y:l*u.y}}(t,r);else{var o=xF(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return U1(n)}function jF(e,t){var r=Cu(e);return!(r===t||!Va(r)||Wf(r))&&(Ua(r).position==="fixed"||jF(r,t))}function wTe(e,t,r){var n=ql(t),o=Il(t),s=r==="fixed",i=vp(e,!0,s,t),a={scrollLeft:0,scrollTop:0},l=Pl(0);if(n||!n&&!s)if((xh(t)!=="body"||Yg(o))&&(a=$x(t)),n){var c=vp(t,!0,s,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=zE(o));var u=!o||n||s?Pl(0):kF(o,a);return{x:i.left+a.scrollLeft-l.x-u.x,y:i.top+a.scrollTop-l.y-u.y,width:i.width,height:i.height}}function Nj(e){return Ua(e).position==="static"}function VD(e,t){if(!ql(e)||Ua(e).position==="fixed")return null;if(t)return t(e);var r=e.offsetParent;return Il(e)===r&&(r=r.ownerDocument.body),r}function UD(e,t){var r=zi(e);if(H1(e))return r;if(!ql(e)){for(var n=Cu(e);n&&!Wf(n);){if(Va(n)&&!Nj(n))return n;n=Cu(n)}return r}for(var o=VD(e,t);o&&yTe(o)&&Nj(o);)o=VD(o,t);return o&&Wf(o)&&Nj(o)&&!x2(o)?r:o||function(s){for(var i=Cu(s);ql(i)&&!Wf(i);){if(x2(i))return i;if(H1(i))return null;i=Cu(i)}return null}(e)||r}var xTe={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){var{elements:t,rect:r,offsetParent:n,strategy:o}=e,s=o==="fixed",i=Il(n),a=!!t&&H1(t.floating);if(n===i||a&&s)return r;var l={scrollLeft:0,scrollTop:0},c=Pl(1),u=Pl(0),d=ql(n);if((d||!d&&!s)&&((xh(n)!=="body"||Yg(i))&&(l=$x(n)),ql(n))){var p=vp(n);c=Gf(n),u.x=p.x+n.clientLeft,u.y=p.y+n.clientTop}var f=!i||d||s?Pl(0):kF(i,l,!0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:r.y*c.y-l.scrollTop*c.y+u.y+f.y}},getDocumentElement:Il,getClippingRect:function(e){var{element:t,boundary:r,rootBoundary:n,strategy:o}=e,s=[...r==="clippingAncestors"?H1(t)?[]:function(l,c){var u=c.get(l);if(u)return u;for(var d=ev(l,[],!1).filter(y=>Va(y)&&xh(y)!=="body"),p=null,f=Ua(l).position==="fixed",m=f?Cu(l):l;Va(m)&&!Wf(m);){var v=Ua(m),g=x2(m);g||v.position!=="fixed"||(p=null),(f?!g&&!p:!g&&v.position==="static"&&p&&["absolute","fixed"].includes(p.position)||Yg(m)&&!g&&jF(l,m))?d=d.filter(y=>y!==m):p=v,m=Cu(m)}return c.set(l,d),d}(t,this._c):[].concat(r),n],i=s[0],a=s.reduce((l,c)=>{var u=FD(t,c,o);return l.top=Zd(u.top,l.top),l.right=z1(u.right,l.right),l.bottom=z1(u.bottom,l.bottom),l.left=Zd(u.left,l.left),l},FD(t,i,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:UD,getElementRects:function(){var e=pr(function*(t){var r=this.getOffsetParent||UD,n=this.getDimensions,o=yield n(t.floating);return{reference:wTe(t.reference,yield r(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}});return function(t){return e.apply(this,arguments)}}(),getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){var{width:t,height:r}=wF(e);return{width:t,height:r}},getScale:Gf,isElement:Va,isRTL:function(e){return Ua(e).direction==="rtl"}};function HD(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function kTe(e,t,r,n){n===void 0&&(n={});var{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=qE(e),u=o||s?[...c?ev(c):[],...ev(t)]:[];u.forEach(g=>{o&&g.addEventListener("scroll",r,{passive:!0}),s&&g.addEventListener("resize",r)});var d,p=c&&a?function(g,y){var b,w=null,k=Il(g);function x(){var j;clearTimeout(b),(j=w)==null||j.disconnect(),w=null}return function j(_,C){_===void 0&&(_=!1),C===void 0&&(C=1),x();var A=g.getBoundingClientRect(),{left:I,top:M,width:N,height:F}=A;if(_||y(),N&&F){var z={rootMargin:-I0(M)+"px "+-I0(k.clientWidth-(I+N))+"px "+-I0(k.clientHeight-(M+F))+"px "+-I0(I)+"px",threshold:Zd(0,z1(1,C))||1},L=!0;try{w=new IntersectionObserver(X,rt(rt({},z),{},{root:k.ownerDocument}))}catch{w=new IntersectionObserver(X,z)}w.observe(g)}function X(V){var J=V[0].intersectionRatio;if(J!==C){if(!L)return j();J?j(!1,J):b=setTimeout(()=>{j(!1,1e-7)},1e3)}J!==1||HD(A,g.getBoundingClientRect())||j(),L=!1}}(!0),x}(c,r):null,f=-1,m=null;i&&(m=new ResizeObserver(g=>{var[y]=g;y&&y.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var b;(b=m)==null||b.observe(t)})),r()}),c&&!l&&m.observe(c),m.observe(t));var v=l?vp(e):null;return l&&function g(){var y=vp(e);v&&!HD(v,y)&&r(),v=y,d=requestAnimationFrame(g)}(),r(),()=>{var g;u.forEach(y=>{o&&y.removeEventListener("scroll",r),s&&y.removeEventListener("resize",r)}),p==null||p(),(g=m)==null||g.disconnect(),m=null,l&&cancelAnimationFrame(d)}}var jTe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn:t=>pr(function*(){var r,n,{x:o,y:s,placement:i,middlewareData:a}=t,l=yield function(c,u){return w2.apply(this,arguments)}(t,e);return i===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:rt(rt({},l),{},{placement:i})}})()}},_Te=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn:t=>pr(function*(){var{x:r,y:n,placement:o}=t,s=Ex(e,t),{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:w=>{var{x:k,y:x}=w;return{x:k,y:x}}}}=s,c=Yq(s,COe),u={x:r,y:n},d=yield vF(t,c),p=wh(Xd(o)),f=hF(p),m=u[f],v=u[p];if(i){var g=f==="y"?"bottom":"right";m=BD(m+d[f==="y"?"top":"left"],m,m-d[g])}if(a){var y=p==="y"?"bottom":"right";v=BD(v+d[p==="y"?"top":"left"],v,v-d[y])}var b=l.fn(rt(rt({},t),{},{[f]:m,[p]:v}));return rt(rt({},b),{},{data:{x:b.x-r,y:b.y-n,enabled:{[f]:i,[p]:a}}})})()}},STe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,fn:t=>pr(function*(){var r,n,{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:c}=t,u=Ex(e,t),{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0}=u,y=Yq(u,SOe);if((r=s.arrow)!=null&&r.alignmentOffset)return{};var b=Xd(o),w=wh(a),k=Xd(a)===a,x=yield l.isRTL==null?void 0:l.isRTL(c.floating),j=f||(k||!g?[D0(a)]:function(H){var B=D0(H);return[Lj(H),B,Lj(B)]}(a)),_=v!=="none";!f&&_&&j.push(...function(H,B,se,q){var O=V1(H),D=function(Z,Se,ie){var re=["left","right"],xe=["right","left"];switch(Z){case"top":case"bottom":return ie?Se?xe:re:Se?re:xe;case"left":case"right":return Se?["top","bottom"]:["bottom","top"];default:return[]}}(Xd(H),se==="start",q);return O&&(D=D.map(Z=>Z+"-"+O),B&&(D=D.concat(D.map(Lj)))),D}(a,g,v,x));var C=[a,...j],A=yield vF(t,y),I=[],M=((n=s.flip)==null?void 0:n.overflows)||[];if(d&&I.push(A[b]),p){var N=function(H,B,se){se===void 0&&(se=!1);var q=V1(H),O=gF(H),D=mF(O),Z=O==="x"?q===(se?"end":"start")?"right":"left":q==="start"?"bottom":"top";return B.reference[D]>B.floating[D]&&(Z=D0(Z)),[Z,D0(Z)]}(o,i,x);I.push(A[N[0]],A[N[1]])}if(M=[...M,{placement:o,overflows:I}],!I.every(H=>H<=0)){var F,z,L=(((F=s.flip)==null?void 0:F.index)||0)+1,X=C[L];if(X)return{data:{index:L,overflows:M},reset:{placement:X}};var V=(z=M.filter(H=>H.overflows[0]<=0).sort((H,B)=>H.overflows[1]-B.overflows[1])[0])==null?void 0:z.placement;if(!V)switch(m){case"bestFit":var J,oe=(J=M.filter(H=>{if(_){var B=wh(H.placement);return B===w||B==="y"}return!0}).map(H=>[H.placement,H.overflows.filter(B=>B>0).reduce((B,se)=>B+se,0)]).sort((H,B)=>H[1]-B[1])[0])==null?void 0:J[0];oe&&(V=oe);break;case"initialPlacement":V=a}if(o!==V)return{reset:{placement:V}}}return{}})()}};function CTe(e){var t,r,n={autoUpdate:!0},o=e,s=l=>rt(rt(rt({},n),e||{}),l||{}),i=l=>{t&&r&&(o=s(l),((c,u,d)=>{var p=new Map,f=rt({platform:xTe},d),m=rt(rt({},f.platform),{},{_c:p});return vTe(c,u,rt(rt({},f),{},{platform:m}))})(t,r,o).then(c=>{var u;Object.assign(r.style,{position:c.strategy,left:"".concat(c.x,"px"),top:"".concat(c.y,"px")}),!((u=o)===null||u===void 0)&&u.onComputed&&o.onComputed(c)}))},a=l=>{va(l.subscribe(c=>{t===void 0?(t=c,i()):(Object.assign(t,c),i())}))};return[l=>{if("subscribe"in l)return a(l),{};t=l,i()},(l,c)=>{var u;r=l,o=s(c),setTimeout(()=>i(c),0),i(c);var d=()=>{u&&(u(),u=void 0)},p=function(){var{autoUpdate:f}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o||{};d(),f!==!1&&function(){return vz.apply(this,arguments)}().then(()=>kTe(t,r,()=>i(o),f===!0?{}:f))};return u=p(),{update(f){i(f),u=p(f)},destroy(){d()}}},i]}function ATe(e){var{loadOptions:t,filterText:r,items:n,multiple:o,value:s,itemId:i,groupBy:a,filterSelectedItems:l,itemFilter:c,convertStringItemsToObjects:u,filterGroupedItems:d,label:p}=e;if(n&&t)return n;if(!n)return[];n&&n.length>0&&typeof n[0]!="object"&&(n=u(n));var f=n.filter(m=>{var v=c(m[p],r,m);return v&&o&&s!=null&&s.length&&(v=!s.some(g=>!!l&&g[i]===m[i])),v});return a&&(f=d(f)),f}function ETe(e){return _F.apply(this,arguments)}function _F(){return(_F=pr(function*(e){var{dispatch:t,loadOptions:r,convertStringItemsToObjects:n,filterText:o}=e,s=yield r(o).catch(i=>{console.warn("svelte-select loadOptions error :>> ",i),t("error",{type:"loadOptions",details:i})});if(s&&!s.cancelled)return s?(s&&s.length>0&&typeof s[0]!="object"&&(s=n(s)),t("loaded",{items:s})):s=[],{filteredItems:s,loading:!1,focused:!0,listOpen:!0}})).apply(this,arguments)}or(` +}`);var aTe=Pe('
');function lTe(e,t){Ut(t,!1);var r=he(void 0,!0),n=pd("absolute-popup"),o=T(t,"value",9);$e(()=>de(o()),()=>{$(r,"Time: ".concat(new Date(o()).toString()))}),mn(),fr(!0);var s=aTe();Wr(fe(s),{data:Exe}),Vs(s,(i,a)=>Oc==null?void 0:Oc(i,a),()=>rt({text:h(r)},n)),ge(e,s),Ht()}function cTe(e){var t=[];return!e.isEditing&&n$e(e.value)&&t.push({component:M$e,props:e}),!e.isEditing&&o$e(e.value)&&t.push({component:B$e,props:e}),e.isEditing&&t.push({component:Q$e,props:e}),e.isEditing||t.push({component:oTe,props:e}),!e.isEditing&&i2(e.value)&&t.push({component:lTe,props:e}),t}function Ma(e){return e.map((t,r)=>dTe.test(t)?"["+t+"]":/[.[\]]/.test(t)||t===""?'["'+function(n){return n.replace(/"/g,'\\"')}(t)+'"]':(r>0?".":"")+t).join("")}function uTe(e){for(var t=[],r=0;rs==='"',!0)),o('"')):t.push(n(s=>s==="]")),o("]")):t.push(n(s=>s==="."||s==="["));function n(s){for(var i=arguments.length>1&&arguments[1]!==void 0&&arguments[1],a="";r({x:e,y:e}),hTe={left:"right",right:"left",bottom:"top",top:"bottom"},mTe={start:"end",end:"start"};function BD(e,t,r){return Zd(e,z1(t,r))}function Ex(e,t){return typeof e=="function"?e(t):e}function Xd(e){return e.split("-")[0]}function V1(e){return e.split("-")[1]}function hF(e){return e==="x"?"y":"x"}function mF(e){return e==="y"?"height":"width"}function wh(e){return["top","bottom"].includes(Xd(e))?"y":"x"}function gF(e){return hF(wh(e))}function Nj(e){return e.replace(/start|end/g,t=>mTe[t])}function D0(e){return e.replace(/left|right|bottom|top/g,t=>hTe[t])}function gTe(e){return typeof e!="number"?function(t){return rt({top:0,right:0,bottom:0,left:0},t)}(e):{top:e,right:e,bottom:e,left:e}}function U1(e){var{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function qD(e,t,r){var n,{reference:o,floating:s}=e,i=wh(t),a=gF(t),l=mF(a),c=Xd(t),u=i==="y",d=o.x+o.width/2-s.width/2,p=o.y+o.height/2-s.height/2,f=o[l]/2-s[l]/2;switch(c){case"top":n={x:d,y:o.y-s.height};break;case"bottom":n={x:d,y:o.y+o.height};break;case"right":n={x:o.x+o.width,y:p};break;case"left":n={x:o.x-s.width,y:p};break;default:n={x:o.x,y:o.y}}switch(V1(t)){case"start":n[a]-=f*(r&&u?-1:1);break;case"end":n[a]+=f*(r&&u?-1:1)}return n}var vTe=function(){var e=pr(function*(t,r,n){for(var{placement:o="bottom",strategy:s="absolute",middleware:i=[],platform:a}=n,l=i.filter(Boolean),c=yield a.isRTL==null?void 0:a.isRTL(r),u=yield a.getElementRects({reference:t,floating:r,strategy:s}),{x:d,y:p}=qD(u,o,c),f=o,m={},v=0,g=0;g"u")&&(e instanceof ShadowRoot||e instanceof zi(e).ShadowRoot)}function Yg(e){var{overflow:t,overflowX:r,overflowY:n,display:o}=Ua(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!["inline","contents"].includes(o)}function yTe(e){return["table","td","th"].includes(xh(e))}function H1(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function x2(e){var t=BE(),r=Va(e)?Ua(e):e;return["transform","translate","scale","rotate","perspective"].some(n=>!!r[n]&&r[n]!=="none")||!!r.containerType&&r.containerType!=="normal"||!t&&!!r.backdropFilter&&r.backdropFilter!=="none"||!t&&!!r.filter&&r.filter!=="none"||["transform","translate","scale","rotate","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function BE(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Wf(e){return["html","body","#document"].includes(xh(e))}function Ua(e){return zi(e).getComputedStyle(e)}function $x(e){return Va(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Cu(e){if(xh(e)==="html")return e;var t=e.assignedSlot||e.parentNode||zD(e)&&e.host||Il(e);return zD(t)?t.host:t}function bF(e){var t=Cu(e);return Wf(t)?e.ownerDocument?e.ownerDocument.body:e.body:ql(t)&&Yg(t)?t:bF(t)}function ev(e,t,r){var n;t===void 0&&(t=[]),r===void 0&&(r=!0);var o=bF(e),s=o===((n=e.ownerDocument)==null?void 0:n.body),i=zi(o);if(s){var a=k2(i);return t.concat(i,i.visualViewport||[],Yg(o)?o:[],a&&r?ev(a):[])}return t.concat(o,ev(o,[],r))}function k2(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function wF(e){var t=Ua(e),r=parseFloat(t.width)||0,n=parseFloat(t.height)||0,o=ql(e),s=o?e.offsetWidth:r,i=o?e.offsetHeight:n,a=F1(r)!==s||F1(n)!==i;return a&&(r=s,n=i),{width:r,height:n,$:a}}function qE(e){return Va(e)?e:e.contextElement}function Gf(e){var t=qE(e);if(!ql(t))return Pl(1);var r=t.getBoundingClientRect(),{width:n,height:o,$:s}=wF(t),i=(s?F1(r.width):r.width)/n,a=(s?F1(r.height):r.height)/o;return i&&Number.isFinite(i)||(i=1),a&&Number.isFinite(a)||(a=1),{x:i,y:a}}var bTe=Pl(0);function xF(e){var t=zi(e);return BE()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:bTe}function vp(e,t,r,n){t===void 0&&(t=!1),r===void 0&&(r=!1);var o=e.getBoundingClientRect(),s=qE(e),i=Pl(1);t&&(n?Va(n)&&(i=Gf(n)):i=Gf(e));var a=function(x,j,_){return j===void 0&&(j=!1),!(!_||j&&_!==zi(x))&&j}(s,r,n)?xF(s):Pl(0),l=(o.left+a.x)/i.x,c=(o.top+a.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(s)for(var p=zi(s),f=n&&Va(n)?zi(n):n,m=p,v=k2(m);v&&n&&f!==m;){var g=Gf(v),y=v.getBoundingClientRect(),b=Ua(v),w=y.left+(v.clientLeft+parseFloat(b.paddingLeft))*g.x,k=y.top+(v.clientTop+parseFloat(b.paddingTop))*g.y;l*=g.x,c*=g.y,u*=g.x,d*=g.y,l+=w,c+=k,v=k2(m=zi(v))}return U1({width:u,height:d,x:l,y:c})}function zE(e,t){var r=$x(e).scrollLeft;return t?t.left+r:vp(Il(e)).left+r}function kF(e,t,r){r===void 0&&(r=!1);var n=e.getBoundingClientRect();return{x:n.left+t.scrollLeft-(r?0:zE(e,n)),y:n.top+t.scrollTop}}function FD(e,t,r){var n;if(t==="viewport")n=function(s,i){var a=zi(s),l=Il(s),c=a.visualViewport,u=l.clientWidth,d=l.clientHeight,p=0,f=0;if(c){u=c.width,d=c.height;var m=BE();(!m||m&&i==="fixed")&&(p=c.offsetLeft,f=c.offsetTop)}return{width:u,height:d,x:p,y:f}}(e,r);else if(t==="document")n=function(s){var i=Il(s),a=$x(s),l=s.ownerDocument.body,c=Zd(i.scrollWidth,i.clientWidth,l.scrollWidth,l.clientWidth),u=Zd(i.scrollHeight,i.clientHeight,l.scrollHeight,l.clientHeight),d=-a.scrollLeft+zE(s),p=-a.scrollTop;return Ua(l).direction==="rtl"&&(d+=Zd(i.clientWidth,l.clientWidth)-c),{width:c,height:u,x:d,y:p}}(Il(e));else if(Va(t))n=function(s,i){var a=vp(s,!0,i==="fixed"),l=a.top+s.clientTop,c=a.left+s.clientLeft,u=ql(s)?Gf(s):Pl(1);return{width:s.clientWidth*u.x,height:s.clientHeight*u.y,x:c*u.x,y:l*u.y}}(t,r);else{var o=xF(e);n={x:t.x-o.x,y:t.y-o.y,width:t.width,height:t.height}}return U1(n)}function jF(e,t){var r=Cu(e);return!(r===t||!Va(r)||Wf(r))&&(Ua(r).position==="fixed"||jF(r,t))}function wTe(e,t,r){var n=ql(t),o=Il(t),s=r==="fixed",i=vp(e,!0,s,t),a={scrollLeft:0,scrollTop:0},l=Pl(0);if(n||!n&&!s)if((xh(t)!=="body"||Yg(o))&&(a=$x(t)),n){var c=vp(t,!0,s,t);l.x=c.x+t.clientLeft,l.y=c.y+t.clientTop}else o&&(l.x=zE(o));var u=!o||n||s?Pl(0):kF(o,a);return{x:i.left+a.scrollLeft-l.x-u.x,y:i.top+a.scrollTop-l.y-u.y,width:i.width,height:i.height}}function Lj(e){return Ua(e).position==="static"}function VD(e,t){if(!ql(e)||Ua(e).position==="fixed")return null;if(t)return t(e);var r=e.offsetParent;return Il(e)===r&&(r=r.ownerDocument.body),r}function UD(e,t){var r=zi(e);if(H1(e))return r;if(!ql(e)){for(var n=Cu(e);n&&!Wf(n);){if(Va(n)&&!Lj(n))return n;n=Cu(n)}return r}for(var o=VD(e,t);o&&yTe(o)&&Lj(o);)o=VD(o,t);return o&&Wf(o)&&Lj(o)&&!x2(o)?r:o||function(s){for(var i=Cu(s);ql(i)&&!Wf(i);){if(x2(i))return i;if(H1(i))return null;i=Cu(i)}return null}(e)||r}var xTe={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){var{elements:t,rect:r,offsetParent:n,strategy:o}=e,s=o==="fixed",i=Il(n),a=!!t&&H1(t.floating);if(n===i||a&&s)return r;var l={scrollLeft:0,scrollTop:0},c=Pl(1),u=Pl(0),d=ql(n);if((d||!d&&!s)&&((xh(n)!=="body"||Yg(i))&&(l=$x(n)),ql(n))){var p=vp(n);c=Gf(n),u.x=p.x+n.clientLeft,u.y=p.y+n.clientTop}var f=!i||d||s?Pl(0):kF(i,l,!0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:r.y*c.y-l.scrollTop*c.y+u.y+f.y}},getDocumentElement:Il,getClippingRect:function(e){var{element:t,boundary:r,rootBoundary:n,strategy:o}=e,s=[...r==="clippingAncestors"?H1(t)?[]:function(l,c){var u=c.get(l);if(u)return u;for(var d=ev(l,[],!1).filter(y=>Va(y)&&xh(y)!=="body"),p=null,f=Ua(l).position==="fixed",m=f?Cu(l):l;Va(m)&&!Wf(m);){var v=Ua(m),g=x2(m);g||v.position!=="fixed"||(p=null),(f?!g&&!p:!g&&v.position==="static"&&p&&["absolute","fixed"].includes(p.position)||Yg(m)&&!g&&jF(l,m))?d=d.filter(y=>y!==m):p=v,m=Cu(m)}return c.set(l,d),d}(t,this._c):[].concat(r),n],i=s[0],a=s.reduce((l,c)=>{var u=FD(t,c,o);return l.top=Zd(u.top,l.top),l.right=z1(u.right,l.right),l.bottom=z1(u.bottom,l.bottom),l.left=Zd(u.left,l.left),l},FD(t,i,o));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}},getOffsetParent:UD,getElementRects:function(){var e=pr(function*(t){var r=this.getOffsetParent||UD,n=this.getDimensions,o=yield n(t.floating);return{reference:wTe(t.reference,yield r(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}});return function(t){return e.apply(this,arguments)}}(),getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){var{width:t,height:r}=wF(e);return{width:t,height:r}},getScale:Gf,isElement:Va,isRTL:function(e){return Ua(e).direction==="rtl"}};function HD(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function kTe(e,t,r,n){n===void 0&&(n={});var{ancestorScroll:o=!0,ancestorResize:s=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:l=!1}=n,c=qE(e),u=o||s?[...c?ev(c):[],...ev(t)]:[];u.forEach(g=>{o&&g.addEventListener("scroll",r,{passive:!0}),s&&g.addEventListener("resize",r)});var d,p=c&&a?function(g,y){var b,w=null,k=Il(g);function x(){var j;clearTimeout(b),(j=w)==null||j.disconnect(),w=null}return function j(_,C){_===void 0&&(_=!1),C===void 0&&(C=1),x();var A=g.getBoundingClientRect(),{left:I,top:M,width:L,height:F}=A;if(_||y(),L&&F){var z={rootMargin:-I0(M)+"px "+-I0(k.clientWidth-(I+L))+"px "+-I0(k.clientHeight-(M+F))+"px "+-I0(I)+"px",threshold:Zd(0,z1(1,C))||1},N=!0;try{w=new IntersectionObserver(X,rt(rt({},z),{},{root:k.ownerDocument}))}catch{w=new IntersectionObserver(X,z)}w.observe(g)}function X(V){var J=V[0].intersectionRatio;if(J!==C){if(!N)return j();J?j(!1,J):b=setTimeout(()=>{j(!1,1e-7)},1e3)}J!==1||HD(A,g.getBoundingClientRect())||j(),N=!1}}(!0),x}(c,r):null,f=-1,m=null;i&&(m=new ResizeObserver(g=>{var[y]=g;y&&y.target===c&&m&&(m.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var b;(b=m)==null||b.observe(t)})),r()}),c&&!l&&m.observe(c),m.observe(t));var v=l?vp(e):null;return l&&function g(){var y=vp(e);v&&!HD(v,y)&&r(),v=y,d=requestAnimationFrame(g)}(),r(),()=>{var g;u.forEach(y=>{o&&y.removeEventListener("scroll",r),s&&y.removeEventListener("resize",r)}),p==null||p(),(g=m)==null||g.disconnect(),m=null,l&&cancelAnimationFrame(d)}}var jTe=function(e){return e===void 0&&(e=0),{name:"offset",options:e,fn:t=>pr(function*(){var r,n,{x:o,y:s,placement:i,middlewareData:a}=t,l=yield function(c,u){return w2.apply(this,arguments)}(t,e);return i===((r=a.offset)==null?void 0:r.placement)&&(n=a.arrow)!=null&&n.alignmentOffset?{}:{x:o+l.x,y:s+l.y,data:rt(rt({},l),{},{placement:i})}})()}},_Te=function(e){return e===void 0&&(e={}),{name:"shift",options:e,fn:t=>pr(function*(){var{x:r,y:n,placement:o}=t,s=Ex(e,t),{mainAxis:i=!0,crossAxis:a=!1,limiter:l={fn:w=>{var{x:k,y:x}=w;return{x:k,y:x}}}}=s,c=Yq(s,COe),u={x:r,y:n},d=yield vF(t,c),p=wh(Xd(o)),f=hF(p),m=u[f],v=u[p];if(i){var g=f==="y"?"bottom":"right";m=BD(m+d[f==="y"?"top":"left"],m,m-d[g])}if(a){var y=p==="y"?"bottom":"right";v=BD(v+d[p==="y"?"top":"left"],v,v-d[y])}var b=l.fn(rt(rt({},t),{},{[f]:m,[p]:v}));return rt(rt({},b),{},{data:{x:b.x-r,y:b.y-n,enabled:{[f]:i,[p]:a}}})})()}},STe=function(e){return e===void 0&&(e={}),{name:"flip",options:e,fn:t=>pr(function*(){var r,n,{placement:o,middlewareData:s,rects:i,initialPlacement:a,platform:l,elements:c}=t,u=Ex(e,t),{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:f,fallbackStrategy:m="bestFit",fallbackAxisSideDirection:v="none",flipAlignment:g=!0}=u,y=Yq(u,SOe);if((r=s.arrow)!=null&&r.alignmentOffset)return{};var b=Xd(o),w=wh(a),k=Xd(a)===a,x=yield l.isRTL==null?void 0:l.isRTL(c.floating),j=f||(k||!g?[D0(a)]:function(H){var B=D0(H);return[Nj(H),B,Nj(B)]}(a)),_=v!=="none";!f&&_&&j.push(...function(H,B,se,q){var O=V1(H),D=function(Z,Se,ie){var re=["left","right"],xe=["right","left"];switch(Z){case"top":case"bottom":return ie?Se?xe:re:Se?re:xe;case"left":case"right":return Se?["top","bottom"]:["bottom","top"];default:return[]}}(Xd(H),se==="start",q);return O&&(D=D.map(Z=>Z+"-"+O),B&&(D=D.concat(D.map(Nj)))),D}(a,g,v,x));var C=[a,...j],A=yield vF(t,y),I=[],M=((n=s.flip)==null?void 0:n.overflows)||[];if(d&&I.push(A[b]),p){var L=function(H,B,se){se===void 0&&(se=!1);var q=V1(H),O=gF(H),D=mF(O),Z=O==="x"?q===(se?"end":"start")?"right":"left":q==="start"?"bottom":"top";return B.reference[D]>B.floating[D]&&(Z=D0(Z)),[Z,D0(Z)]}(o,i,x);I.push(A[L[0]],A[L[1]])}if(M=[...M,{placement:o,overflows:I}],!I.every(H=>H<=0)){var F,z,N=(((F=s.flip)==null?void 0:F.index)||0)+1,X=C[N];if(X)return{data:{index:N,overflows:M},reset:{placement:X}};var V=(z=M.filter(H=>H.overflows[0]<=0).sort((H,B)=>H.overflows[1]-B.overflows[1])[0])==null?void 0:z.placement;if(!V)switch(m){case"bestFit":var J,oe=(J=M.filter(H=>{if(_){var B=wh(H.placement);return B===w||B==="y"}return!0}).map(H=>[H.placement,H.overflows.filter(B=>B>0).reduce((B,se)=>B+se,0)]).sort((H,B)=>H[1]-B[1])[0])==null?void 0:J[0];oe&&(V=oe);break;case"initialPlacement":V=a}if(o!==V)return{reset:{placement:V}}}return{}})()}};function CTe(e){var t,r,n={autoUpdate:!0},o=e,s=l=>rt(rt(rt({},n),e||{}),l||{}),i=l=>{t&&r&&(o=s(l),((c,u,d)=>{var p=new Map,f=rt({platform:xTe},d),m=rt(rt({},f.platform),{},{_c:p});return vTe(c,u,rt(rt({},f),{},{platform:m}))})(t,r,o).then(c=>{var u;Object.assign(r.style,{position:c.strategy,left:"".concat(c.x,"px"),top:"".concat(c.y,"px")}),!((u=o)===null||u===void 0)&&u.onComputed&&o.onComputed(c)}))},a=l=>{va(l.subscribe(c=>{t===void 0?(t=c,i()):(Object.assign(t,c),i())}))};return[l=>{if("subscribe"in l)return a(l),{};t=l,i()},(l,c)=>{var u;r=l,o=s(c),setTimeout(()=>i(c),0),i(c);var d=()=>{u&&(u(),u=void 0)},p=function(){var{autoUpdate:f}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:o||{};d(),f!==!1&&function(){return vz.apply(this,arguments)}().then(()=>kTe(t,r,()=>i(o),f===!0?{}:f))};return u=p(),{update(f){i(f),u=p(f)},destroy(){d()}}},i]}function ATe(e){var{loadOptions:t,filterText:r,items:n,multiple:o,value:s,itemId:i,groupBy:a,filterSelectedItems:l,itemFilter:c,convertStringItemsToObjects:u,filterGroupedItems:d,label:p}=e;if(n&&t)return n;if(!n)return[];n&&n.length>0&&typeof n[0]!="object"&&(n=u(n));var f=n.filter(m=>{var v=c(m[p],r,m);return v&&o&&s!=null&&s.length&&(v=!s.some(g=>!!l&&g[i]===m[i])),v});return a&&(f=d(f)),f}function ETe(e){return _F.apply(this,arguments)}function _F(){return(_F=pr(function*(e){var{dispatch:t,loadOptions:r,convertStringItemsToObjects:n,filterText:o}=e,s=yield r(o).catch(i=>{console.warn("svelte-select loadOptions error :>> ",i),t("error",{type:"loadOptions",details:i})});if(s&&!s.cancelled)return s?(s&&s.length>0&&typeof s[0]!="object"&&(s=n(s)),t("loaded",{items:s})):s=[],{filteredItems:s,loading:!1,focused:!0,listOpen:!0}})).apply(this,arguments)}or(` svg.svelte-qbd276 { width: var(--chevron-icon-width, 20px); height: var(--chevron-icon-width, 20px); @@ -1137,7 +1137,7 @@ div.jse-editable-div.jse-empty.svelte-f9kmxj::after { bottom: 0; right: 0; } -`);var PTe=Pe('
'),ITe=Pe('
No options
'),DTe=Pe('
'),MTe=Pe(' ',1),LTe=Pe('
'),NTe=Pe('
'),RTe=Pe("
"),BTe=Pe(''),qTe=Pe(''),zTe=Pe(''),FTe=Pe(''),VTe=Pe(''),UTe=Pe('
');function Dd(e,t){var r=function(_e){var Be={};for(var et in _e.children&&(Be.default=!0),_e.$$slots)Be[et]=!0;return Be}(t);Ut(t,!1);var n,o=he(),s=he(),i=he(),a=he(),l=he(),c=he(),u=he(),d=he(),p=he(),f=QOe(),m=T(t,"justValue",12,null),v=T(t,"filter",8,ATe),g=T(t,"getItems",8,ETe),y=T(t,"id",8,null),b=T(t,"name",8,null),w=T(t,"container",12,void 0),k=T(t,"input",12,void 0),x=T(t,"multiple",8,!1),j=T(t,"multiFullItemClearable",8,!1),_=T(t,"disabled",8,!1),C=T(t,"focused",12,!1),A=T(t,"value",12,null),I=T(t,"filterText",12,""),M=T(t,"placeholder",8,"Please select"),N=T(t,"placeholderAlwaysShow",8,!1),F=T(t,"items",12,null),z=T(t,"label",8,"label"),L=T(t,"itemFilter",8,(_e,Be,et)=>"".concat(_e).toLowerCase().includes(Be.toLowerCase())),X=T(t,"groupBy",8,void 0),V=T(t,"groupFilter",8,_e=>_e),J=T(t,"groupHeaderSelectable",8,!1),oe=T(t,"itemId",8,"value"),H=T(t,"loadOptions",8,void 0),B=T(t,"containerStyles",8,""),se=T(t,"hasError",8,!1),q=T(t,"filterSelectedItems",8,!0),O=T(t,"required",8,!1),D=T(t,"closeListOnChange",8,!0),Z=T(t,"clearFilterTextOnBlur",8,!0),Se=T(t,"createGroupHeaderItem",8,(_e,Be)=>({value:_e,[z()]:_e})),ie=()=>h(u),re=T(t,"searchable",8,!0),xe=T(t,"inputStyles",8,""),R=T(t,"clearable",8,!0),te=T(t,"loading",12,!1),ne=T(t,"listOpen",12,!1),Ce=T(t,"debounce",8,function(_e){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;clearTimeout(n),n=setTimeout(_e,Be)}),me=T(t,"debounceWait",8,300),ae=T(t,"hideEmptyState",8,!1),kt=T(t,"inputAttributes",24,()=>({})),ft=T(t,"listAutoWidth",8,!0),Ue=T(t,"showChevron",8,!1),gt=T(t,"listOffset",8,5),Ge=T(t,"hoverItemIndex",12,0),_t=T(t,"floatingConfig",24,()=>({})),It=T(t,"class",8,""),vt=he(),sr=he(),P=he(),G=he(),ee=he();function be(_e){return _e.map((Be,et)=>({index:et,value:Be,label:"".concat(Be)}))}function Me(_e){var Be=[],et={};_e.forEach(on=>{var zr=X()(on);Be.includes(zr)||(Be.push(zr),et[zr]=[],zr&&et[zr].push(Object.assign(Se()(zr,on),{id:zr,groupHeader:!0,selectable:J()}))),et[zr].push(Object.assign({groupItem:!!zr},on))});var Er=[];return V()(Be).forEach(on=>{et[on]&&Er.push(...et[on])}),Er}function Fe(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Be=arguments.length>1?arguments[1]:void 0;Ge(_e<0?0:_e),!Be&&X()&&h(u)[Ge()]&&!h(u)[Ge()].selectable&&Cr(1)}function Ze(){var _e=!0;if(A()){var Be=[],et=[];A().forEach(Er=>{Be.includes(Er[oe()])?_e=!1:(Be.push(Er[oe()]),et.push(Er))}),_e||A(et)}return _e}function we(_e){var Be=_e?_e[oe()]:A()[oe()];return F().find(et=>et[oe()]===Be)}function pt(_e){return St.apply(this,arguments)}function St(){return(St=pr(function*(_e){var Be=A()[_e];A().length===1?A(void 0):A(A().filter(et=>et!==Be)),f("clear",Be)})).apply(this,arguments)}function rr(_e){if(C())switch(_e.stopPropagation(),_e.key){case"Escape":_e.preventDefault(),Sr();break;case"Enter":if(_e.preventDefault(),ne()){if(h(u).length===0)break;var Be=h(u)[Ge()];if(A()&&!x()&&A()[oe()]===Be[oe()]){Sr();break}Dt(h(u)[Ge()])}break;case"ArrowDown":_e.preventDefault(),ne()?Cr(1):(ne(!0),$(vt,void 0));break;case"ArrowUp":_e.preventDefault(),ne()?Cr(-1):(ne(!0),$(vt,void 0));break;case"Tab":if(ne()&&C()){if(h(u).length===0||A()&&A()[oe()]===h(u)[Ge()][oe()])return Sr();_e.preventDefault(),Dt(h(u)[Ge()]),Sr()}break;case"Backspace":if(!x()||I().length>0)return;if(x()&&A()&&A().length>0){if(pt(h(vt)!==void 0?h(vt):A().length-1),h(vt)===0||h(vt)===void 0)break;$(vt,A().length>h(vt)?h(vt)-1:void 0)}break;case"ArrowLeft":if(!A()||!x()||I().length>0)return;h(vt)===void 0?$(vt,A().length-1):A().length>h(vt)&&h(vt)!==0&&$(vt,h(vt)-1);break;case"ArrowRight":if(!A()||!x()||I().length>0||h(vt)===void 0)return;h(vt)===A().length-1?$(vt,void 0):h(vt)0?ne(!0):void ne(!ne())}function Nr(){f("clear",A()),A(void 0),Sr(),Ve()}function Sr(){Z()&&I(""),ne(!1)}ZOe(pr(function*(){$(sr,A()),$(P,I()),$(G,x())})),Is(()=>{ne()&&C(!0),C()&&k()&&k().focus()});var W=T(t,"ariaValues",8,_e=>"Option ".concat(_e,", selected.")),Ee=T(t,"ariaListOpen",8,(_e,Be)=>"You are currently focused on option ".concat(_e,". There are ").concat(Be," results available.")),wt=T(t,"ariaFocused",8,()=>"Select is focused, type to refine list, press down to open the menu."),br,wr=he(null);function Gt(){clearTimeout(br),br=setTimeout(()=>{Pr=!1},100)}va(()=>{var _e;(_e=h(wr))===null||_e===void 0||_e.remove()});var Pr=!1;function Dt(_e){_e&&_e.selectable!==!1&&function(Be){if(Be){I("");var et=Object.assign({},Be);if(et.groupHeader&&!et.selectable)return;A(x()?A()?A().concat([et]):[et]:A(et)),setTimeout(()=>{D()&&Sr(),$(vt,void 0),f("change",A()),f("select",Be)})}}(_e)}function mr(_e){Pr||Ge(_e)}function Cr(_e){if(h(u).filter(et=>!Object.hasOwn(et,"selectable")||et.selectable===!0).length===0)return Ge(0);_e>0&&Ge()===h(u).length-1?Ge(0):_e<0&&Ge()===0?Ge(h(u).length-1):Ge(Ge()+_e);var Be=h(u)[Ge()];Be&&Be.selectable===!1&&(_e!==1&&_e!==-1||Cr(_e))}function nn(_e,Be,et){if(!x())return Be&&Be[et]===_e[et]}var Tn=co,en=co;function co(_e){return{update(Be){Be.scroll&&(Gt(),_e.scrollIntoView({behavior:"auto",block:"nearest"}))}}}var Qn=he({strategy:"absolute",placement:"bottom-start",middleware:[jTe(gt()),STe(),_Te()],autoUpdate:!1}),[Zn,bo,uo]=CTe(h(Qn)),yn=he(!0);$e(()=>(de(F()),de(A())),()=>{F(),A()&&function(){if(typeof A()=="string"){var _e=(F()||[]).find(Be=>Be[oe()]===A());A(_e||{[oe()]:A(),label:A()})}else x()&&Array.isArray(A())&&A().length>0&&A(A().map(Be=>typeof Be=="string"?{value:Be,label:Be}:Be))}()}),$e(()=>(de(kt()),de(re())),()=>{!kt()&&re()||($(ee,Object.assign({autocapitalize:"none",autocomplete:"off",autocorrect:"off",spellcheck:!1,tabindex:0,type:"text","aria-autocomplete":"list"},kt())),y()&&Ri(ee,h(ee).id=y()),re()||Ri(ee,h(ee).readonly=!0))}),$e(()=>de(x()),()=>{x()&&A()&&(Array.isArray(A())?A([...A()]):A([A()]))}),$e(()=>(h(G),de(x())),()=>{h(G)&&!x()&&A()&&A(null)}),$e(()=>(de(x()),de(A())),()=>{x()&&A()&&A().length>1&&Ze()}),$e(()=>de(A()),()=>{A()&&(x()?JSON.stringify(A())!==JSON.stringify(h(sr))&&Ze()&&f("input",A()):h(sr)&&JSON.stringify(A()[oe()])===JSON.stringify(h(sr)[oe()])||f("input",A()))}),$e(()=>(de(A()),de(x()),h(sr)),()=>{!A()&&x()&&h(sr)&&f("input",A())}),$e(()=>(de(C()),de(k())),()=>{!C()&&k()&&Sr()}),$e(()=>(de(I()),h(P)),()=>{I()!==h(P)&&(H()||I().length!==0)&&(H()?Ce()(pr(function*(){te(!0);var _e=yield g()({dispatch:f,loadOptions:H(),convertStringItemsToObjects:be,filterText:I()});_e?(te(_e.loading),ne(ne()?_e.listOpen:I().length>0),C(ne()&&_e.focused),F(X()?Me(_e.filteredItems):_e.filteredItems)):(te(!1),C(!0),ne(!0))}),me()):(ne(!0),x()&&$(vt,void 0)))}),$e(()=>(de(v()),de(H()),de(I()),de(F()),de(x()),de(A()),de(oe()),de(X()),de(z()),de(q()),de(L())),()=>{$(u,v()({loadOptions:H(),filterText:I(),items:F(),multiple:x(),value:A(),itemId:oe(),groupBy:X(),label:z(),filterSelectedItems:q(),itemFilter:L(),convertStringItemsToObjects:be,filterGroupedItems:Me}))}),$e(()=>(de(x()),de(ne()),de(A()),h(u)),()=>{!x()&&ne()&&A()&&h(u)&&Fe(h(u).findIndex(_e=>_e[oe()]===A()[oe()]),!0)}),$e(()=>(de(ne()),de(x())),()=>{ne()&&x()&&Ge(0)}),$e(()=>de(I()),()=>{I()&&Ge(0)}),$e(()=>de(Ge()),()=>{var _e;_e=Ge(),f("hoverItem",_e)}),$e(()=>(de(x()),de(A())),()=>{$(o,x()?A()&&A().length>0:A())}),$e(()=>(h(o),de(I())),()=>{$(s,h(o)&&I().length>0)}),$e(()=>(h(o),de(R()),de(_()),de(te())),()=>{$(i,h(o)&&R()&&!_()&&!te())}),$e(()=>(de(N()),de(x()),de(M()),de(A())),()=>{var _e;$(a,N()&&x()||x()&&((_e=A())===null||_e===void 0?void 0:_e.length)===0?M():A()?"":M())}),$e(()=>(de(A()),de(x())),()=>{var _e,Be;$(l,A()?(_e=x(),Be=void 0,Be=_e&&A().length>0?A().map(et=>et[z()]).join(", "):A()[z()],W()(Be)):"")}),$e(()=>(h(u),de(Ge()),de(C()),de(ne())),()=>{$(c,function(){if(!h(u)||h(u).length===0)return"";var _e=h(u)[Ge()];if(ne()&&_e){var Be=h(u)?h(u).length:0;return Ee()(_e[z()],Be)}return wt()()}((h(u),Ge(),C(),ne())))}),$e(()=>de(F()),()=>{(function(_e){_e&&_e.length!==0&&!_e.some(Be=>typeof Be!="object")&&A()&&(x()?!A().some(Be=>!Be||!Be[oe()]):A()[oe()])&&(Array.isArray(A())?A(A().map(Be=>we(Be)||Be)):A(we()||A()))})(F())}),$e(()=>(de(x()),de(A()),de(oe())),()=>{m((x(),A(),oe(),x()?A()?A().map(_e=>_e[oe()]):null:A()?A()[oe()]:A()))}),$e(()=>(de(x()),h(sr),de(A())),()=>{x()||!h(sr)||A()||f("input",A())}),$e(()=>(de(ne()),h(u),de(x()),de(A())),()=>{ne()&&h(u)&&!x()&&!A()&&Fe()}),$e(()=>h(u),()=>{(function(_e){ne()&&f("filter",_e)})(h(u))}),$e(()=>(de(w()),de(_t()),h(Qn)),()=>{w()&&_t()&&uo(Object.assign(h(Qn),_t()))}),$e(()=>h(wr),()=>{$(d,!!h(wr))}),$e(()=>(h(wr),de(ne())),()=>{(function(_e,Be){if(!_e||!Be)return $(yn,!0);setTimeout(()=>{$(yn,!1)},0)})(h(wr),ne())}),$e(()=>(de(ne()),de(w()),h(wr)),()=>{ne()&&w()&&h(wr)&&function(){var{width:_e}=w().getBoundingClientRect();Ri(wr,h(wr).style.width=ft()?_e+"px":"auto")}()}),$e(()=>de(Ge()),()=>{$(p,Ge())}),$e(()=>(de(k()),de(ne()),de(C())),()=>{k()&&ne()&&!C()&&Ve()}),$e(()=>(de(w()),de(_t())),()=>{var _e;w()&&((_e=_t())===null||_e===void 0?void 0:_e.autoUpdate)===void 0&&Ri(Qn,h(Qn).autoUpdate=!0)}),mn(),fr();var bn,Fn=UTe();Xe("click",_c,function(_e){var Be;ne()||C()||!w()||w().contains(_e.target)||(Be=h(wr))!==null&&Be!==void 0&&Be.contains(_e.target)||Ft()}),Xe("keydown",_c,rr);var Qe=fe(Fn),Ir=_e=>{var Be,et=DTe(),Er=fe(et),on=dr=>{var Un=vo();_o(Kt(Un),t,"list-prepend",{},null),ge(dr,Un)};Le(Er,dr=>{r["list-prepend"]&&dr(on)});var zr=ke(Er,2),gn=dr=>{var Un=vo();_o(Kt(Un),t,"list",{get filteredItems(){return h(u)}},null),ge(dr,Un)},Vn=(dr,Un)=>{var er=ut=>{var tn=vo();Eo(Kt(tn),1,()=>h(u),Mo,(Sn,sn,wo)=>{var Ks,Y=PTe(),Ne=fe(Y);_o(fe(Ne),t,"item",{get item(){return h(sn)},index:wo},He=>{var Ye=ds();nt(()=>{var tt;return Xt(Ye,(tt=h(sn))===null||tt===void 0?void 0:tt[z()])}),ge(He,Ye)}),Vs(Ne,(He,Ye)=>Tn==null?void 0:Tn(He),()=>({scroll:nn(h(sn),A(),oe()),listDom:h(d)})),Vs(Ne,(He,Ye)=>en==null?void 0:en(He),()=>({scroll:h(p)===wo,listDom:h(d)})),nt(He=>Ks=hr(Ne,1,"item svelte-82qwg8",null,Ks,He),[()=>{var He,Ye;return{"list-group-title":h(sn).groupHeader,active:nn(h(sn),A(),oe()),first:(Ye=wo,Ye===0),hover:Ge()===wo,"group-item":h(sn).groupItem,"not-selectable":((He=h(sn))===null||He===void 0?void 0:He.selectable)===!1}}],We),Xe("mouseover",Y,()=>mr(wo)),Xe("focus",Y,()=>mr(wo)),Xe("click",Y,ac(()=>function(He){var{item:Ye,i:tt}=He;if((Ye==null?void 0:Ye.selectable)!==!1)return A()&&!x()&&A()[oe()]===Ye[oe()]?Sr():void(function(ht){return ht.groupHeader&&ht.selectable||ht.selectable||!ht.hasOwnProperty("selectable")}(Ye)&&(Ge(tt),Dt(Ye)))}({item:h(sn),i:wo}))),Xe("keydown",Y,su(ac(function(He){Lm.call(this,t,He)}))),ge(Sn,Y)}),ge(ut,tn)},Vo=(ut,tn)=>{var Sn=sn=>{var wo=vo();_o(Kt(wo),t,"empty",{},Ks=>{ge(Ks,ITe())}),ge(sn,wo)};Le(ut,sn=>{ae()||sn(Sn)},tn)};Le(dr,ut=>{h(u).length>0?ut(er):ut(Vo,!1)},Un)};Le(zr,dr=>{r.list?dr(gn):dr(Vn,!1)});var qn=ke(zr,2),Yn=dr=>{var Un=vo();_o(Kt(Un),t,"list-append",{},null),ge(dr,Un)};Le(qn,dr=>{r["list-append"]&&dr(Yn)}),Vs(et,dr=>bo==null?void 0:bo(dr)),no(et,dr=>$(wr,dr),()=>h(wr)),ws(()=>Xe("scroll",et,Gt)),ws(()=>Xe("pointerup",et,su(ac(function(dr){Lm.call(this,t,dr)})))),ws(()=>Xe("mousedown",et,su(ac(function(dr){Lm.call(this,t,dr)})))),nt(dr=>Be=hr(et,1,"svelte-select-list svelte-82qwg8",null,Be,dr),[()=>({prefloat:h(yn)})],We),ge(_e,et)};Le(Qe,_e=>{ne()&&_e(Ir)});var De=ke(Qe,2),ot=fe(De),Ot=_e=>{var Be=MTe(),et=Kt(Be),Er=fe(et),on=fe(ke(et,2));nt(()=>{Xt(Er,h(l)),Xt(on,h(c))}),ge(_e,Be)};Le(ot,_e=>{C()&&_e(Ot)});var ur=ke(De,2);_o(fe(ur),t,"prepend",{},null);var Et=ke(ur,2),gr=fe(Et),Jr=_e=>{var Be=vo(),et=Kt(Be),Er=zr=>{var gn=vo();Eo(Kt(gn),1,A,Mo,(Vn,qn,Yn)=>{var dr,Un=NTe(),er=fe(Un);_o(fe(er),t,"selection",{get selection(){return h(qn)},index:Yn},tn=>{var Sn=ds();nt(()=>Xt(Sn,h(qn)[z()])),ge(tn,Sn)});var Vo=ke(er,2),ut=tn=>{var Sn=LTe();_o(fe(Sn),t,"multi-clear-icon",{},sn=>{Rj(sn)}),Xe("pointerup",Sn,su(ac(()=>pt(Yn)))),ge(tn,Sn)};Le(Vo,tn=>{_()||j()||!Rj||tn(ut)}),nt(tn=>dr=hr(Un,1,"multi-item svelte-82qwg8",null,dr,tn),[()=>({active:h(vt)===Yn,disabled:_()})],We),Xe("click",Un,su(()=>j()?pt(Yn):{})),Xe("keydown",Un,su(ac(function(tn){Lm.call(this,t,tn)}))),ge(Vn,Un)}),ge(zr,gn)},on=zr=>{var gn,Vn=RTe();_o(fe(Vn),t,"selection",{get selection(){return A()}},qn=>{var Yn=ds();nt(()=>Xt(Yn,A()[z()])),ge(qn,Yn)}),nt(qn=>gn=hr(Vn,1,"selected-item svelte-82qwg8",null,gn,qn),[()=>({"hide-selected-item":h(s)})],We),ge(zr,Vn)};Le(et,zr=>{x()?zr(Er):zr(on,!1)}),ge(_e,Be)};Le(gr,_e=>{h(o)&&_e(Jr)});var xr,un=ke(gr,2);no(un,_e=>k(_e),()=>k());var Yt=ke(Et,2),Ar=fe(Yt),Jt=_e=>{var Be=BTe();_o(fe(Be),t,"loading-icon",{},et=>{(function(Er){ge(Er,TTe())})(et)}),ge(_e,Be)};Le(Ar,_e=>{te()&&_e(Jt)});var ir=ke(Ar,2),_n=_e=>{var Be=qTe();_o(fe(Be),t,"clear-icon",{},et=>{Rj(et)}),Xe("click",Be,Nr),ge(_e,Be)};Le(ir,_e=>{h(i)&&_e(_n)});var Pn=ke(ir,2),Dr=_e=>{var Be=zTe();_o(fe(Be),t,"chevron-icon",{get listOpen(){return ne()}},et=>{(function(Er){ge(Er,OTe())})(et)}),ge(_e,Be)};Le(Pn,_e=>{Ue()&&_e(Dr)});var Or=ke(Yt,2);_o(Or,t,"input-hidden",{get value(){return A()}},_e=>{var Be=FTe();nt(et=>{fn(Be,"name",b()),fp(Be,et)},[()=>A()?JSON.stringify(A()):null],We),ge(_e,Be)});var Tr=ke(Or,2),Xn=_e=>{var Be=vo();_o(Kt(Be),t,"required",{get value(){return A()}},et=>{ge(et,VTe())}),ge(_e,Be)};return Le(Tr,_e=>{!O()||A()&&A().length!==0||_e(Xn)}),ws(()=>Xe("pointerup",Fn,su(Bn))),no(Fn,_e=>w(_e),()=>w()),Vs(Fn,_e=>Zn==null?void 0:Zn(_e)),nt(_e=>{var Be;bn=hr(Fn,1,"svelte-select ".concat((Be=It())!==null&&Be!==void 0?Be:""),"svelte-82qwg8",bn,_e),Ba(Fn,B()),xr=fb(un,xr,rt(rt({readOnly:!re()},h(ee)),{},{placeholder:h(a),style:xe(),disabled:_()}),"svelte-82qwg8")},[()=>({multi:x(),disabled:_(),focused:C(),"list-open":ne(),"show-chevron":Ue(),error:se()})],We),Xe("keydown",un,rr),Xe("blur",un,Ft),Xe("focus",un,Ve),M1(un,I),ge(e,Fn),lr(t,"getFilteredItems",ie),lr(t,"handleClear",Nr),Ht({getFilteredItems:ie,handleClear:Nr})}or(`/* over all fonts, sizes, and colors */ +`);var PTe=Pe('
'),ITe=Pe('
No options
'),DTe=Pe('
'),MTe=Pe(' ',1),NTe=Pe('
'),LTe=Pe('
'),RTe=Pe("
"),BTe=Pe(''),qTe=Pe(''),zTe=Pe(''),FTe=Pe(''),VTe=Pe(''),UTe=Pe('
');function Dd(e,t){var r=function(_e){var Be={};for(var et in _e.children&&(Be.default=!0),_e.$$slots)Be[et]=!0;return Be}(t);Ut(t,!1);var n,o=he(),s=he(),i=he(),a=he(),l=he(),c=he(),u=he(),d=he(),p=he(),f=QOe(),m=T(t,"justValue",12,null),v=T(t,"filter",8,ATe),g=T(t,"getItems",8,ETe),y=T(t,"id",8,null),b=T(t,"name",8,null),w=T(t,"container",12,void 0),k=T(t,"input",12,void 0),x=T(t,"multiple",8,!1),j=T(t,"multiFullItemClearable",8,!1),_=T(t,"disabled",8,!1),C=T(t,"focused",12,!1),A=T(t,"value",12,null),I=T(t,"filterText",12,""),M=T(t,"placeholder",8,"Please select"),L=T(t,"placeholderAlwaysShow",8,!1),F=T(t,"items",12,null),z=T(t,"label",8,"label"),N=T(t,"itemFilter",8,(_e,Be,et)=>"".concat(_e).toLowerCase().includes(Be.toLowerCase())),X=T(t,"groupBy",8,void 0),V=T(t,"groupFilter",8,_e=>_e),J=T(t,"groupHeaderSelectable",8,!1),oe=T(t,"itemId",8,"value"),H=T(t,"loadOptions",8,void 0),B=T(t,"containerStyles",8,""),se=T(t,"hasError",8,!1),q=T(t,"filterSelectedItems",8,!0),O=T(t,"required",8,!1),D=T(t,"closeListOnChange",8,!0),Z=T(t,"clearFilterTextOnBlur",8,!0),Se=T(t,"createGroupHeaderItem",8,(_e,Be)=>({value:_e,[z()]:_e})),ie=()=>h(u),re=T(t,"searchable",8,!0),xe=T(t,"inputStyles",8,""),R=T(t,"clearable",8,!0),te=T(t,"loading",12,!1),ne=T(t,"listOpen",12,!1),Ce=T(t,"debounce",8,function(_e){var Be=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;clearTimeout(n),n=setTimeout(_e,Be)}),me=T(t,"debounceWait",8,300),ae=T(t,"hideEmptyState",8,!1),kt=T(t,"inputAttributes",24,()=>({})),ft=T(t,"listAutoWidth",8,!0),Ue=T(t,"showChevron",8,!1),gt=T(t,"listOffset",8,5),Ge=T(t,"hoverItemIndex",12,0),_t=T(t,"floatingConfig",24,()=>({})),It=T(t,"class",8,""),vt=he(),sr=he(),P=he(),G=he(),ee=he();function be(_e){return _e.map((Be,et)=>({index:et,value:Be,label:"".concat(Be)}))}function Me(_e){var Be=[],et={};_e.forEach(on=>{var zr=X()(on);Be.includes(zr)||(Be.push(zr),et[zr]=[],zr&&et[zr].push(Object.assign(Se()(zr,on),{id:zr,groupHeader:!0,selectable:J()}))),et[zr].push(Object.assign({groupItem:!!zr},on))});var Er=[];return V()(Be).forEach(on=>{et[on]&&Er.push(...et[on])}),Er}function Fe(){var _e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,Be=arguments.length>1?arguments[1]:void 0;Ge(_e<0?0:_e),!Be&&X()&&h(u)[Ge()]&&!h(u)[Ge()].selectable&&Cr(1)}function Ze(){var _e=!0;if(A()){var Be=[],et=[];A().forEach(Er=>{Be.includes(Er[oe()])?_e=!1:(Be.push(Er[oe()]),et.push(Er))}),_e||A(et)}return _e}function we(_e){var Be=_e?_e[oe()]:A()[oe()];return F().find(et=>et[oe()]===Be)}function pt(_e){return St.apply(this,arguments)}function St(){return(St=pr(function*(_e){var Be=A()[_e];A().length===1?A(void 0):A(A().filter(et=>et!==Be)),f("clear",Be)})).apply(this,arguments)}function rr(_e){if(C())switch(_e.stopPropagation(),_e.key){case"Escape":_e.preventDefault(),Sr();break;case"Enter":if(_e.preventDefault(),ne()){if(h(u).length===0)break;var Be=h(u)[Ge()];if(A()&&!x()&&A()[oe()]===Be[oe()]){Sr();break}Dt(h(u)[Ge()])}break;case"ArrowDown":_e.preventDefault(),ne()?Cr(1):(ne(!0),$(vt,void 0));break;case"ArrowUp":_e.preventDefault(),ne()?Cr(-1):(ne(!0),$(vt,void 0));break;case"Tab":if(ne()&&C()){if(h(u).length===0||A()&&A()[oe()]===h(u)[Ge()][oe()])return Sr();_e.preventDefault(),Dt(h(u)[Ge()]),Sr()}break;case"Backspace":if(!x()||I().length>0)return;if(x()&&A()&&A().length>0){if(pt(h(vt)!==void 0?h(vt):A().length-1),h(vt)===0||h(vt)===void 0)break;$(vt,A().length>h(vt)?h(vt)-1:void 0)}break;case"ArrowLeft":if(!A()||!x()||I().length>0)return;h(vt)===void 0?$(vt,A().length-1):A().length>h(vt)&&h(vt)!==0&&$(vt,h(vt)-1);break;case"ArrowRight":if(!A()||!x()||I().length>0||h(vt)===void 0)return;h(vt)===A().length-1?$(vt,void 0):h(vt)0?ne(!0):void ne(!ne())}function Lr(){f("clear",A()),A(void 0),Sr(),Ve()}function Sr(){Z()&&I(""),ne(!1)}ZOe(pr(function*(){$(sr,A()),$(P,I()),$(G,x())})),Is(()=>{ne()&&C(!0),C()&&k()&&k().focus()});var W=T(t,"ariaValues",8,_e=>"Option ".concat(_e,", selected.")),Ee=T(t,"ariaListOpen",8,(_e,Be)=>"You are currently focused on option ".concat(_e,". There are ").concat(Be," results available.")),wt=T(t,"ariaFocused",8,()=>"Select is focused, type to refine list, press down to open the menu."),br,wr=he(null);function Gt(){clearTimeout(br),br=setTimeout(()=>{Pr=!1},100)}va(()=>{var _e;(_e=h(wr))===null||_e===void 0||_e.remove()});var Pr=!1;function Dt(_e){_e&&_e.selectable!==!1&&function(Be){if(Be){I("");var et=Object.assign({},Be);if(et.groupHeader&&!et.selectable)return;A(x()?A()?A().concat([et]):[et]:A(et)),setTimeout(()=>{D()&&Sr(),$(vt,void 0),f("change",A()),f("select",Be)})}}(_e)}function mr(_e){Pr||Ge(_e)}function Cr(_e){if(h(u).filter(et=>!Object.hasOwn(et,"selectable")||et.selectable===!0).length===0)return Ge(0);_e>0&&Ge()===h(u).length-1?Ge(0):_e<0&&Ge()===0?Ge(h(u).length-1):Ge(Ge()+_e);var Be=h(u)[Ge()];Be&&Be.selectable===!1&&(_e!==1&&_e!==-1||Cr(_e))}function nn(_e,Be,et){if(!x())return Be&&Be[et]===_e[et]}var Tn=co,en=co;function co(_e){return{update(Be){Be.scroll&&(Gt(),_e.scrollIntoView({behavior:"auto",block:"nearest"}))}}}var Qn=he({strategy:"absolute",placement:"bottom-start",middleware:[jTe(gt()),STe(),_Te()],autoUpdate:!1}),[Zn,bo,uo]=CTe(h(Qn)),yn=he(!0);$e(()=>(de(F()),de(A())),()=>{F(),A()&&function(){if(typeof A()=="string"){var _e=(F()||[]).find(Be=>Be[oe()]===A());A(_e||{[oe()]:A(),label:A()})}else x()&&Array.isArray(A())&&A().length>0&&A(A().map(Be=>typeof Be=="string"?{value:Be,label:Be}:Be))}()}),$e(()=>(de(kt()),de(re())),()=>{!kt()&&re()||($(ee,Object.assign({autocapitalize:"none",autocomplete:"off",autocorrect:"off",spellcheck:!1,tabindex:0,type:"text","aria-autocomplete":"list"},kt())),y()&&Ri(ee,h(ee).id=y()),re()||Ri(ee,h(ee).readonly=!0))}),$e(()=>de(x()),()=>{x()&&A()&&(Array.isArray(A())?A([...A()]):A([A()]))}),$e(()=>(h(G),de(x())),()=>{h(G)&&!x()&&A()&&A(null)}),$e(()=>(de(x()),de(A())),()=>{x()&&A()&&A().length>1&&Ze()}),$e(()=>de(A()),()=>{A()&&(x()?JSON.stringify(A())!==JSON.stringify(h(sr))&&Ze()&&f("input",A()):h(sr)&&JSON.stringify(A()[oe()])===JSON.stringify(h(sr)[oe()])||f("input",A()))}),$e(()=>(de(A()),de(x()),h(sr)),()=>{!A()&&x()&&h(sr)&&f("input",A())}),$e(()=>(de(C()),de(k())),()=>{!C()&&k()&&Sr()}),$e(()=>(de(I()),h(P)),()=>{I()!==h(P)&&(H()||I().length!==0)&&(H()?Ce()(pr(function*(){te(!0);var _e=yield g()({dispatch:f,loadOptions:H(),convertStringItemsToObjects:be,filterText:I()});_e?(te(_e.loading),ne(ne()?_e.listOpen:I().length>0),C(ne()&&_e.focused),F(X()?Me(_e.filteredItems):_e.filteredItems)):(te(!1),C(!0),ne(!0))}),me()):(ne(!0),x()&&$(vt,void 0)))}),$e(()=>(de(v()),de(H()),de(I()),de(F()),de(x()),de(A()),de(oe()),de(X()),de(z()),de(q()),de(N())),()=>{$(u,v()({loadOptions:H(),filterText:I(),items:F(),multiple:x(),value:A(),itemId:oe(),groupBy:X(),label:z(),filterSelectedItems:q(),itemFilter:N(),convertStringItemsToObjects:be,filterGroupedItems:Me}))}),$e(()=>(de(x()),de(ne()),de(A()),h(u)),()=>{!x()&&ne()&&A()&&h(u)&&Fe(h(u).findIndex(_e=>_e[oe()]===A()[oe()]),!0)}),$e(()=>(de(ne()),de(x())),()=>{ne()&&x()&&Ge(0)}),$e(()=>de(I()),()=>{I()&&Ge(0)}),$e(()=>de(Ge()),()=>{var _e;_e=Ge(),f("hoverItem",_e)}),$e(()=>(de(x()),de(A())),()=>{$(o,x()?A()&&A().length>0:A())}),$e(()=>(h(o),de(I())),()=>{$(s,h(o)&&I().length>0)}),$e(()=>(h(o),de(R()),de(_()),de(te())),()=>{$(i,h(o)&&R()&&!_()&&!te())}),$e(()=>(de(L()),de(x()),de(M()),de(A())),()=>{var _e;$(a,L()&&x()||x()&&((_e=A())===null||_e===void 0?void 0:_e.length)===0?M():A()?"":M())}),$e(()=>(de(A()),de(x())),()=>{var _e,Be;$(l,A()?(_e=x(),Be=void 0,Be=_e&&A().length>0?A().map(et=>et[z()]).join(", "):A()[z()],W()(Be)):"")}),$e(()=>(h(u),de(Ge()),de(C()),de(ne())),()=>{$(c,function(){if(!h(u)||h(u).length===0)return"";var _e=h(u)[Ge()];if(ne()&&_e){var Be=h(u)?h(u).length:0;return Ee()(_e[z()],Be)}return wt()()}((h(u),Ge(),C(),ne())))}),$e(()=>de(F()),()=>{(function(_e){_e&&_e.length!==0&&!_e.some(Be=>typeof Be!="object")&&A()&&(x()?!A().some(Be=>!Be||!Be[oe()]):A()[oe()])&&(Array.isArray(A())?A(A().map(Be=>we(Be)||Be)):A(we()||A()))})(F())}),$e(()=>(de(x()),de(A()),de(oe())),()=>{m((x(),A(),oe(),x()?A()?A().map(_e=>_e[oe()]):null:A()?A()[oe()]:A()))}),$e(()=>(de(x()),h(sr),de(A())),()=>{x()||!h(sr)||A()||f("input",A())}),$e(()=>(de(ne()),h(u),de(x()),de(A())),()=>{ne()&&h(u)&&!x()&&!A()&&Fe()}),$e(()=>h(u),()=>{(function(_e){ne()&&f("filter",_e)})(h(u))}),$e(()=>(de(w()),de(_t()),h(Qn)),()=>{w()&&_t()&&uo(Object.assign(h(Qn),_t()))}),$e(()=>h(wr),()=>{$(d,!!h(wr))}),$e(()=>(h(wr),de(ne())),()=>{(function(_e,Be){if(!_e||!Be)return $(yn,!0);setTimeout(()=>{$(yn,!1)},0)})(h(wr),ne())}),$e(()=>(de(ne()),de(w()),h(wr)),()=>{ne()&&w()&&h(wr)&&function(){var{width:_e}=w().getBoundingClientRect();Ri(wr,h(wr).style.width=ft()?_e+"px":"auto")}()}),$e(()=>de(Ge()),()=>{$(p,Ge())}),$e(()=>(de(k()),de(ne()),de(C())),()=>{k()&&ne()&&!C()&&Ve()}),$e(()=>(de(w()),de(_t())),()=>{var _e;w()&&((_e=_t())===null||_e===void 0?void 0:_e.autoUpdate)===void 0&&Ri(Qn,h(Qn).autoUpdate=!0)}),mn(),fr();var bn,Fn=UTe();Xe("click",_c,function(_e){var Be;ne()||C()||!w()||w().contains(_e.target)||(Be=h(wr))!==null&&Be!==void 0&&Be.contains(_e.target)||Ft()}),Xe("keydown",_c,rr);var Qe=fe(Fn),Ir=_e=>{var Be,et=DTe(),Er=fe(et),on=dr=>{var Un=vo();_o(Kt(Un),t,"list-prepend",{},null),ge(dr,Un)};Ne(Er,dr=>{r["list-prepend"]&&dr(on)});var zr=ke(Er,2),gn=dr=>{var Un=vo();_o(Kt(Un),t,"list",{get filteredItems(){return h(u)}},null),ge(dr,Un)},Vn=(dr,Un)=>{var er=ut=>{var tn=vo();Eo(Kt(tn),1,()=>h(u),Mo,(Sn,sn,wo)=>{var Ks,Y=PTe(),Le=fe(Y);_o(fe(Le),t,"item",{get item(){return h(sn)},index:wo},He=>{var Ye=ds();nt(()=>{var tt;return Xt(Ye,(tt=h(sn))===null||tt===void 0?void 0:tt[z()])}),ge(He,Ye)}),Vs(Le,(He,Ye)=>Tn==null?void 0:Tn(He),()=>({scroll:nn(h(sn),A(),oe()),listDom:h(d)})),Vs(Le,(He,Ye)=>en==null?void 0:en(He),()=>({scroll:h(p)===wo,listDom:h(d)})),nt(He=>Ks=hr(Le,1,"item svelte-82qwg8",null,Ks,He),[()=>{var He,Ye;return{"list-group-title":h(sn).groupHeader,active:nn(h(sn),A(),oe()),first:(Ye=wo,Ye===0),hover:Ge()===wo,"group-item":h(sn).groupItem,"not-selectable":((He=h(sn))===null||He===void 0?void 0:He.selectable)===!1}}],We),Xe("mouseover",Y,()=>mr(wo)),Xe("focus",Y,()=>mr(wo)),Xe("click",Y,ac(()=>function(He){var{item:Ye,i:tt}=He;if((Ye==null?void 0:Ye.selectable)!==!1)return A()&&!x()&&A()[oe()]===Ye[oe()]?Sr():void(function(ht){return ht.groupHeader&&ht.selectable||ht.selectable||!ht.hasOwnProperty("selectable")}(Ye)&&(Ge(tt),Dt(Ye)))}({item:h(sn),i:wo}))),Xe("keydown",Y,su(ac(function(He){Nm.call(this,t,He)}))),ge(Sn,Y)}),ge(ut,tn)},Vo=(ut,tn)=>{var Sn=sn=>{var wo=vo();_o(Kt(wo),t,"empty",{},Ks=>{ge(Ks,ITe())}),ge(sn,wo)};Ne(ut,sn=>{ae()||sn(Sn)},tn)};Ne(dr,ut=>{h(u).length>0?ut(er):ut(Vo,!1)},Un)};Ne(zr,dr=>{r.list?dr(gn):dr(Vn,!1)});var qn=ke(zr,2),Yn=dr=>{var Un=vo();_o(Kt(Un),t,"list-append",{},null),ge(dr,Un)};Ne(qn,dr=>{r["list-append"]&&dr(Yn)}),Vs(et,dr=>bo==null?void 0:bo(dr)),no(et,dr=>$(wr,dr),()=>h(wr)),ws(()=>Xe("scroll",et,Gt)),ws(()=>Xe("pointerup",et,su(ac(function(dr){Nm.call(this,t,dr)})))),ws(()=>Xe("mousedown",et,su(ac(function(dr){Nm.call(this,t,dr)})))),nt(dr=>Be=hr(et,1,"svelte-select-list svelte-82qwg8",null,Be,dr),[()=>({prefloat:h(yn)})],We),ge(_e,et)};Ne(Qe,_e=>{ne()&&_e(Ir)});var De=ke(Qe,2),ot=fe(De),Ot=_e=>{var Be=MTe(),et=Kt(Be),Er=fe(et),on=fe(ke(et,2));nt(()=>{Xt(Er,h(l)),Xt(on,h(c))}),ge(_e,Be)};Ne(ot,_e=>{C()&&_e(Ot)});var ur=ke(De,2);_o(fe(ur),t,"prepend",{},null);var Et=ke(ur,2),gr=fe(Et),Jr=_e=>{var Be=vo(),et=Kt(Be),Er=zr=>{var gn=vo();Eo(Kt(gn),1,A,Mo,(Vn,qn,Yn)=>{var dr,Un=LTe(),er=fe(Un);_o(fe(er),t,"selection",{get selection(){return h(qn)},index:Yn},tn=>{var Sn=ds();nt(()=>Xt(Sn,h(qn)[z()])),ge(tn,Sn)});var Vo=ke(er,2),ut=tn=>{var Sn=NTe();_o(fe(Sn),t,"multi-clear-icon",{},sn=>{Rj(sn)}),Xe("pointerup",Sn,su(ac(()=>pt(Yn)))),ge(tn,Sn)};Ne(Vo,tn=>{_()||j()||!Rj||tn(ut)}),nt(tn=>dr=hr(Un,1,"multi-item svelte-82qwg8",null,dr,tn),[()=>({active:h(vt)===Yn,disabled:_()})],We),Xe("click",Un,su(()=>j()?pt(Yn):{})),Xe("keydown",Un,su(ac(function(tn){Nm.call(this,t,tn)}))),ge(Vn,Un)}),ge(zr,gn)},on=zr=>{var gn,Vn=RTe();_o(fe(Vn),t,"selection",{get selection(){return A()}},qn=>{var Yn=ds();nt(()=>Xt(Yn,A()[z()])),ge(qn,Yn)}),nt(qn=>gn=hr(Vn,1,"selected-item svelte-82qwg8",null,gn,qn),[()=>({"hide-selected-item":h(s)})],We),ge(zr,Vn)};Ne(et,zr=>{x()?zr(Er):zr(on,!1)}),ge(_e,Be)};Ne(gr,_e=>{h(o)&&_e(Jr)});var xr,un=ke(gr,2);no(un,_e=>k(_e),()=>k());var Yt=ke(Et,2),Ar=fe(Yt),Jt=_e=>{var Be=BTe();_o(fe(Be),t,"loading-icon",{},et=>{(function(Er){ge(Er,TTe())})(et)}),ge(_e,Be)};Ne(Ar,_e=>{te()&&_e(Jt)});var ir=ke(Ar,2),_n=_e=>{var Be=qTe();_o(fe(Be),t,"clear-icon",{},et=>{Rj(et)}),Xe("click",Be,Lr),ge(_e,Be)};Ne(ir,_e=>{h(i)&&_e(_n)});var Pn=ke(ir,2),Dr=_e=>{var Be=zTe();_o(fe(Be),t,"chevron-icon",{get listOpen(){return ne()}},et=>{(function(Er){ge(Er,OTe())})(et)}),ge(_e,Be)};Ne(Pn,_e=>{Ue()&&_e(Dr)});var Or=ke(Yt,2);_o(Or,t,"input-hidden",{get value(){return A()}},_e=>{var Be=FTe();nt(et=>{fn(Be,"name",b()),fp(Be,et)},[()=>A()?JSON.stringify(A()):null],We),ge(_e,Be)});var Tr=ke(Or,2),Xn=_e=>{var Be=vo();_o(Kt(Be),t,"required",{get value(){return A()}},et=>{ge(et,VTe())}),ge(_e,Be)};return Ne(Tr,_e=>{!O()||A()&&A().length!==0||_e(Xn)}),ws(()=>Xe("pointerup",Fn,su(Bn))),no(Fn,_e=>w(_e),()=>w()),Vs(Fn,_e=>Zn==null?void 0:Zn(_e)),nt(_e=>{var Be;bn=hr(Fn,1,"svelte-select ".concat((Be=It())!==null&&Be!==void 0?Be:""),"svelte-82qwg8",bn,_e),Ba(Fn,B()),xr=fb(un,xr,rt(rt({readOnly:!re()},h(ee)),{},{placeholder:h(a),style:xe(),disabled:_()}),"svelte-82qwg8")},[()=>({multi:x(),disabled:_(),focused:C(),"list-open":ne(),"show-chevron":Ue(),error:se()})],We),Xe("keydown",un,rr),Xe("blur",un,Ft),Xe("focus",un,Ve),M1(un,I),ge(e,Fn),lr(t,"getFilteredItems",ie),lr(t,"handleClear",Lr),Ht({getFilteredItems:ie,handleClear:Lr})}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -1214,7 +1214,7 @@ table.jse-transform-wizard.svelte-qbze6z tr:where(.svelte-qbze6z) td:where(.svel } table.jse-transform-wizard.svelte-qbze6z tr:where(.svelte-qbze6z) td:where(.svelte-qbze6z) .jse-horizontal:where(.svelte-qbze6z) .jse-filter-value:where(.svelte-qbze6z):focus { border: var(--jse-input-border-focus, 1px solid var(--jse-input-border-focus, var(--jse-theme-color, #3883fa))); -}`);var HTe=Pe('
Filter
Sort
Pick
');function WTe(e,t){var r,n,o,s,i;Ut(t,!1);var a=he(void 0,!0),l=he(void 0,!0),c=he(void 0,!0),u=he(void 0,!0),d=he(void 0,!0),p=he(void 0,!0),f=ss("jsoneditor:TransformWizard"),m=T(t,"json",9),v=T(t,"queryOptions",29,()=>({})),g=T(t,"onChange",9),y=["==","!=","<","<=",">",">="].map(q=>({value:q,label:q})),b=[{value:"asc",label:"ascending"},{value:"desc",label:"descending"}],w=he((r=v())!==null&&r!==void 0&&(r=r.filter)!==null&&r!==void 0&&r.path?fu(v().filter.path):void 0,!0),k=he((n=y.find(q=>{var O;return q.value===((O=v().filter)===null||O===void 0?void 0:O.relation)}))!==null&&n!==void 0?n:y[0],!0),x=he(((o=v())===null||o===void 0||(o=o.filter)===null||o===void 0?void 0:o.value)||"",!0),j=he((s=v())!==null&&s!==void 0&&(s=s.sort)!==null&&s!==void 0&&s.path?fu(v().sort.path):void 0,!0),_=he((i=b.find(q=>{var O;return q.value===((O=v().sort)===null||O===void 0?void 0:O.direction)}))!==null&&i!==void 0?i:b[0],!0);$e(()=>de(m()),()=>{$(a,Array.isArray(m()))}),$e(()=>(h(a),de(m())),()=>{$(l,h(a)?a2(m()):[])}),$e(()=>(h(a),de(m())),()=>{$(c,h(a)?a2(m(),!0):[])}),$e(()=>(h(l),fu),()=>{$(u,h(l).map(fu))}),$e(()=>(h(c),fu),()=>{$(d,h(c)?h(c).map(fu):[])}),$e(()=>(de(v()),h(d),Hr),()=>{var q;$(p,(q=v())!==null&&q!==void 0&&(q=q.projection)!==null&&q!==void 0&&q.paths&&h(d)?v().projection.paths.map(O=>h(d).find(D=>Hr(D.value,O))).filter(O=>!!O):void 0)}),$e(()=>h(w),()=>{var q,O,D;O=(q=h(w))===null||q===void 0?void 0:q.value,Hr((D=v())===null||D===void 0||(D=D.filter)===null||D===void 0?void 0:D.path,O)||(f("changeFilterPath",O),v(fi(v(),["filter","path"],O,!0)),g()(v()))}),$e(()=>h(k),()=>{var q,O,D;O=(q=h(k))===null||q===void 0?void 0:q.value,Hr((D=v())===null||D===void 0||(D=D.filter)===null||D===void 0?void 0:D.relation,O)||(f("changeFilterRelation",O),v(fi(v(),["filter","relation"],O,!0)),g()(v()))}),$e(()=>h(x),()=>{var q,O;q=h(x),Hr((O=v())===null||O===void 0||(O=O.filter)===null||O===void 0?void 0:O.value,q)||(f("changeFilterValue",q),v(fi(v(),["filter","value"],q,!0)),g()(v()))}),$e(()=>h(j),()=>{var q,O,D;O=(q=h(j))===null||q===void 0?void 0:q.value,Hr((D=v())===null||D===void 0||(D=D.sort)===null||D===void 0?void 0:D.path,O)||(f("changeSortPath",O),v(fi(v(),["sort","path"],O,!0)),g()(v()))}),$e(()=>h(_),()=>{var q,O,D;O=(q=h(_))===null||q===void 0?void 0:q.value,Hr((D=v())===null||D===void 0||(D=D.sort)===null||D===void 0?void 0:D.direction,O)||(f("changeSortDirection",O),v(fi(v(),["sort","direction"],O,!0)),g()(v()))}),$e(()=>h(p),()=>{(function(q){var O;Hr((O=v())===null||O===void 0||(O=O.projection)===null||O===void 0?void 0:O.paths,q)||(f("changeProjectionPaths",q),v(fi(v(),["projection","paths"],q,!0)),g()(v()))})(h(p)?h(p).map(q=>q.value):void 0)}),mn(),fr(!0);var C=HTe(),A=fe(C),I=fe(A),M=ke(fe(I)),N=fe(M),F=fe(N);Dd(F,{class:"jse-filter-path",showChevron:!0,get items(){return h(u)},get value(){return h(w)},set value(q){$(w,q)},$$legacy:!0});var z=ke(F,2);Dd(z,{class:"jse-filter-relation",showChevron:!0,clearable:!1,items:y,get value(){return h(k)},set value(q){$(k,q)},$$legacy:!0});var L=ke(z,2),X=ke(I),V=ke(fe(X)),J=fe(V),oe=fe(J);Dd(oe,{class:"jse-sort-path",showChevron:!0,get items(){return h(u)},get value(){return h(j)},set value(q){$(j,q)},$$legacy:!0}),Dd(ke(oe,2),{class:"jse-sort-direction",showChevron:!0,clearable:!1,items:b,get value(){return h(_)},set value(q){$(_,q)},$$legacy:!0});var H=ke(X),B=ke(fe(H)),se=fe(B);Dd(fe(se),{class:"jse-projection-paths",multiple:!0,showChevron:!0,get items(){return h(d)},get value(){return h(p)},set value(q){$(p,q)},$$legacy:!0}),M1(L,()=>h(x),q=>$(x,q)),ge(e,C),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var HTe=Pe('
Filter
Sort
Pick
');function WTe(e,t){var r,n,o,s,i;Ut(t,!1);var a=he(void 0,!0),l=he(void 0,!0),c=he(void 0,!0),u=he(void 0,!0),d=he(void 0,!0),p=he(void 0,!0),f=ss("jsoneditor:TransformWizard"),m=T(t,"json",9),v=T(t,"queryOptions",29,()=>({})),g=T(t,"onChange",9),y=["==","!=","<","<=",">",">="].map(q=>({value:q,label:q})),b=[{value:"asc",label:"ascending"},{value:"desc",label:"descending"}],w=he((r=v())!==null&&r!==void 0&&(r=r.filter)!==null&&r!==void 0&&r.path?fu(v().filter.path):void 0,!0),k=he((n=y.find(q=>{var O;return q.value===((O=v().filter)===null||O===void 0?void 0:O.relation)}))!==null&&n!==void 0?n:y[0],!0),x=he(((o=v())===null||o===void 0||(o=o.filter)===null||o===void 0?void 0:o.value)||"",!0),j=he((s=v())!==null&&s!==void 0&&(s=s.sort)!==null&&s!==void 0&&s.path?fu(v().sort.path):void 0,!0),_=he((i=b.find(q=>{var O;return q.value===((O=v().sort)===null||O===void 0?void 0:O.direction)}))!==null&&i!==void 0?i:b[0],!0);$e(()=>de(m()),()=>{$(a,Array.isArray(m()))}),$e(()=>(h(a),de(m())),()=>{$(l,h(a)?a2(m()):[])}),$e(()=>(h(a),de(m())),()=>{$(c,h(a)?a2(m(),!0):[])}),$e(()=>(h(l),fu),()=>{$(u,h(l).map(fu))}),$e(()=>(h(c),fu),()=>{$(d,h(c)?h(c).map(fu):[])}),$e(()=>(de(v()),h(d),Hr),()=>{var q;$(p,(q=v())!==null&&q!==void 0&&(q=q.projection)!==null&&q!==void 0&&q.paths&&h(d)?v().projection.paths.map(O=>h(d).find(D=>Hr(D.value,O))).filter(O=>!!O):void 0)}),$e(()=>h(w),()=>{var q,O,D;O=(q=h(w))===null||q===void 0?void 0:q.value,Hr((D=v())===null||D===void 0||(D=D.filter)===null||D===void 0?void 0:D.path,O)||(f("changeFilterPath",O),v(fi(v(),["filter","path"],O,!0)),g()(v()))}),$e(()=>h(k),()=>{var q,O,D;O=(q=h(k))===null||q===void 0?void 0:q.value,Hr((D=v())===null||D===void 0||(D=D.filter)===null||D===void 0?void 0:D.relation,O)||(f("changeFilterRelation",O),v(fi(v(),["filter","relation"],O,!0)),g()(v()))}),$e(()=>h(x),()=>{var q,O;q=h(x),Hr((O=v())===null||O===void 0||(O=O.filter)===null||O===void 0?void 0:O.value,q)||(f("changeFilterValue",q),v(fi(v(),["filter","value"],q,!0)),g()(v()))}),$e(()=>h(j),()=>{var q,O,D;O=(q=h(j))===null||q===void 0?void 0:q.value,Hr((D=v())===null||D===void 0||(D=D.sort)===null||D===void 0?void 0:D.path,O)||(f("changeSortPath",O),v(fi(v(),["sort","path"],O,!0)),g()(v()))}),$e(()=>h(_),()=>{var q,O,D;O=(q=h(_))===null||q===void 0?void 0:q.value,Hr((D=v())===null||D===void 0||(D=D.sort)===null||D===void 0?void 0:D.direction,O)||(f("changeSortDirection",O),v(fi(v(),["sort","direction"],O,!0)),g()(v()))}),$e(()=>h(p),()=>{(function(q){var O;Hr((O=v())===null||O===void 0||(O=O.projection)===null||O===void 0?void 0:O.paths,q)||(f("changeProjectionPaths",q),v(fi(v(),["projection","paths"],q,!0)),g()(v()))})(h(p)?h(p).map(q=>q.value):void 0)}),mn(),fr(!0);var C=HTe(),A=fe(C),I=fe(A),M=ke(fe(I)),L=fe(M),F=fe(L);Dd(F,{class:"jse-filter-path",showChevron:!0,get items(){return h(u)},get value(){return h(w)},set value(q){$(w,q)},$$legacy:!0});var z=ke(F,2);Dd(z,{class:"jse-filter-relation",showChevron:!0,clearable:!1,items:y,get value(){return h(k)},set value(q){$(k,q)},$$legacy:!0});var N=ke(z,2),X=ke(I),V=ke(fe(X)),J=fe(V),oe=fe(J);Dd(oe,{class:"jse-sort-path",showChevron:!0,get items(){return h(u)},get value(){return h(j)},set value(q){$(j,q)},$$legacy:!0}),Dd(ke(oe,2),{class:"jse-sort-direction",showChevron:!0,clearable:!1,items:b,get value(){return h(_)},set value(q){$(_,q)},$$legacy:!0});var H=ke(X),B=ke(fe(H)),se=fe(B);Dd(fe(se),{class:"jse-projection-paths",multiple:!0,showChevron:!0,get items(){return h(d)},get value(){return h(p)},set value(q){$(p,q)},$$legacy:!0}),M1(N,()=>h(x),q=>$(x,q)),ge(e,C),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -1262,7 +1262,7 @@ table.jse-transform-wizard.svelte-qbze6z tr:where(.svelte-qbze6z) td:where(.svel } .jse-select-query-language.svelte-atm4um .jse-select-query-language-container:where(.svelte-atm4um) .jse-query-language:where(.svelte-atm4um):hover { background: var(--jse-context-menu-background-highlight, #7a7a7a); -}`);var GTe=Pe(''),JTe=Pe('
');function KTe(e,t){Ut(t,!1);var r=T(t,"queryLanguages",8),n=T(t,"queryLanguageId",12),o=T(t,"onChangeQueryLanguage",8);fr();var s=JTe();Eo(fe(s),5,r,Mo,(i,a)=>{var l,c=GTe(),u=fe(c),d=m=>{Wr(m,{data:B6})},p=m=>{Wr(m,{data:q6})};Le(u,m=>{h(a).id===n()?m(d):m(p,!1)});var f=ke(u);nt(m=>{var v;l=hr(c,1,"jse-query-language svelte-atm4um",null,l,m),fn(c,"title","Select ".concat(h(a).name," as query language")),Xt(f," ".concat((v=h(a).name)!==null&&v!==void 0?v:""))},[()=>({selected:h(a).id===n()})],We),Xe("click",c,()=>{return m=h(a).id,n(m),void o()(m);var m}),ge(i,c)}),ge(e,s),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var GTe=Pe(''),JTe=Pe('
');function KTe(e,t){Ut(t,!1);var r=T(t,"queryLanguages",8),n=T(t,"queryLanguageId",12),o=T(t,"onChangeQueryLanguage",8);fr();var s=JTe();Eo(fe(s),5,r,Mo,(i,a)=>{var l,c=GTe(),u=fe(c),d=m=>{Wr(m,{data:B6})},p=m=>{Wr(m,{data:q6})};Ne(u,m=>{h(a).id===n()?m(d):m(p,!1)});var f=ke(u);nt(m=>{var v;l=hr(c,1,"jse-query-language svelte-atm4um",null,l,m),fn(c,"title","Select ".concat(h(a).name," as query language")),Xt(f," ".concat((v=h(a).name)!==null&&v!==void 0?v:""))},[()=>({selected:h(a).id===n()})],We),Xe("click",c,()=>{return m=h(a).id,n(m),void o()(m);var m}),ge(i,c)}),ge(e,s),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -1300,7 +1300,7 @@ table.jse-transform-wizard.svelte-qbze6z tr:where(.svelte-qbze6z) td:where(.svel } .jse-header.svelte-1y24war button:where(.svelte-1y24war):hover { background: rgba(255, 255, 255, 0.1); -}`);var QTe=Pe(''),ZTe=Pe('
');function W1(e,t){Ut(t,!1);var r=T(t,"title",9,"Modal"),n=T(t,"fullScreenButton",9,!1),o=T(t,"fullscreen",13,!1),s=T(t,"onClose",9,void 0);fr(!0);var i=ZTe(),a=fe(i),l=fe(a),c=ke(a,2);_o(c,t,"actions",{},null);var u=ke(c,2),d=f=>{var m=QTe(),v=fe(m),g=We(()=>o()?Oxe:rke);Wr(v,{get data(){return h(g)}}),Xe("click",m,()=>o(!o())),ge(f,m)};Le(u,f=>{n()&&f(d)});var p=ke(u,2);Wr(fe(p),{data:Qw}),nt(()=>Xt(l,r())),Xe("click",p,()=>{var f;return(f=s())===null||f===void 0?void 0:f()}),ge(e,i),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var QTe=Pe(''),ZTe=Pe('
');function W1(e,t){Ut(t,!1);var r=T(t,"title",9,"Modal"),n=T(t,"fullScreenButton",9,!1),o=T(t,"fullscreen",13,!1),s=T(t,"onClose",9,void 0);fr(!0);var i=ZTe(),a=fe(i),l=fe(a),c=ke(a,2);_o(c,t,"actions",{},null);var u=ke(c,2),d=f=>{var m=QTe(),v=fe(m),g=We(()=>o()?Oxe:rke);Wr(v,{get data(){return h(g)}}),Xe("click",m,()=>o(!o())),ge(f,m)};Ne(u,f=>{n()&&f(d)});var p=ke(u,2);Wr(fe(p),{data:Qw}),nt(()=>Xt(l,r())),Xe("click",p,()=>{var f;return(f=s())===null||f===void 0?void 0:f()}),ge(e,i),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -1406,7 +1406,7 @@ table.jse-transform-wizard.svelte-qbze6z tr:where(.svelte-qbze6z) td:where(.svel } .jse-message.svelte-czprfx .jse-actions:where(.svelte-czprfx) button.jse-action:where(.svelte-czprfx):hover { background: var(--jse-message-action-background-highlight, rgba(255, 255, 255, 0.3)); -}`);var r3e=Pe(''),n3e=Pe('
');function Ha(e,t){Ut(t,!1);var r=T(t,"type",9,"success"),n=T(t,"icon",9,void 0),o=T(t,"message",9,void 0),s=T(t,"actions",25,()=>[]),i=T(t,"onClick",9,void 0),a=T(t,"onClose",9,void 0);a()&&va(a()),fr(!0);var l,c=n3e(),u=fe(c),d=fe(u),p=fe(d),f=v=>{Wr(v,{get data(){return n()}})};Le(p,v=>{n()&&v(f)});var m=ke(p);Eo(ke(u,2),5,s,Mo,(v,g)=>{var y=r3e(),b=fe(y),w=x=>{Wr(x,{get data(){return h(g).icon}})};Le(b,x=>{h(g).icon&&x(w)});var k=ke(b);nt(()=>{var x;fn(y,"title",h(g).title),y.disabled=h(g).disabled,Xt(k," ".concat((x=h(g).text)!==null&&x!==void 0?x:""))}),Xe("click",y,()=>{h(g).onClick&&h(g).onClick()}),Xe("mousedown",y,()=>{h(g).onMouseDown&&h(g).onMouseDown()}),ge(v,y)}),nt(v=>{var g,y;hr(c,1,"jse-message jse-".concat((g=r())!==null&&g!==void 0?g:""),"svelte-czprfx"),l=hr(u,1,"jse-text svelte-czprfx",null,l,v),Xt(m," ".concat((y=o())!==null&&y!==void 0?y:""))},[()=>({"jse-clickable":!!i()})],We),Xe("click",u,function(){i()&&i()()}),ge(e,c),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var r3e=Pe(''),n3e=Pe('
');function Ha(e,t){Ut(t,!1);var r=T(t,"type",9,"success"),n=T(t,"icon",9,void 0),o=T(t,"message",9,void 0),s=T(t,"actions",25,()=>[]),i=T(t,"onClick",9,void 0),a=T(t,"onClose",9,void 0);a()&&va(a()),fr(!0);var l,c=n3e(),u=fe(c),d=fe(u),p=fe(d),f=v=>{Wr(v,{get data(){return n()}})};Ne(p,v=>{n()&&v(f)});var m=ke(p);Eo(ke(u,2),5,s,Mo,(v,g)=>{var y=r3e(),b=fe(y),w=x=>{Wr(x,{get data(){return h(g).icon}})};Ne(b,x=>{h(g).icon&&x(w)});var k=ke(b);nt(()=>{var x;fn(y,"title",h(g).title),y.disabled=h(g).disabled,Xt(k," ".concat((x=h(g).text)!==null&&x!==void 0?x:""))}),Xe("click",y,()=>{h(g).onClick&&h(g).onClick()}),Xe("mousedown",y,()=>{h(g).onMouseDown&&h(g).onMouseDown()}),ge(v,y)}),nt(v=>{var g,y;hr(c,1,"jse-message jse-".concat((g=r())!==null&&g!==void 0?g:""),"svelte-czprfx"),l=hr(u,1,"jse-text svelte-czprfx",null,l,v),Xt(m," ".concat((y=o())!==null&&y!==void 0?y:""))},[()=>({"jse-clickable":!!i()})],We),Xe("click",u,function(){i()&&i()()}),ge(e,c),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -1489,7 +1489,7 @@ table.jse-transform-wizard.svelte-qbze6z tr:where(.svelte-qbze6z) td:where(.svel display: inline-block; position: relative; top: 3px; -}`);var o3e=Pe(''),s3e=Pe(' '),i3e=Pe(' '),a3e=Pe('
'),l3e=Pe('
'),c3e=Pe('
');function VE(e,t){Ut(t,!1);var r=he(void 0,!0),n=T(t,"validationErrors",9),o=T(t,"selectError",9),s=he(!0,!0);function i(){$(s,!1)}function a(){$(s,!0)}$e(()=>de(n()),()=>{$(r,n().length)}),mn(),fr(!0);var l=vo(),c=Kt(l),u=d=>{var p=c3e(),f=fe(p),m=g=>{var y=a3e(),b=fe(y),w=fe(b);Eo(w,1,()=>Rz(n(),100),Mo,(j,_,C)=>{var A=s3e(),I=fe(A);Wr(fe(I),{data:sp});var M=ke(I),N=fe(M),F=ke(M),z=fe(F),L=fe(ke(F)),X=V=>{var J=o3e();Wr(fe(J),{data:Zxe}),Xe("click",J,ac(i)),ge(V,J)};Le(L,V=>{C===0&&n().length>1&&V(X)}),nt(V=>{var J;hr(A,1,"jse-validation-".concat((J=h(_).severity)!==null&&J!==void 0?J:""),"svelte-1uindol"),Xt(N,V),Xt(z,h(_).message)},[()=>Ma(h(_).path)],We),Xe("click",A,()=>{setTimeout(()=>o()(h(_)))}),ge(j,A)});var k=ke(w),x=j=>{var _=i3e(),C=ke(fe(_),2),A=fe(C);nt(()=>Xt(A,"(and ".concat(h(r)-100," more errors)"))),ge(j,_)};Le(k,j=>{h(r)>100&&j(x)}),ge(g,y)},v=g=>{var y=l3e(),b=fe(y),w=fe(b),k=fe(w);Wr(fe(k),{data:sp});var x=fe(ke(k));Wr(fe(ke(x)),{data:V6}),nt(j=>{var _;hr(w,1,"jse-validation-".concat(j??""),"svelte-1uindol"),Xt(x,"".concat((_=h(r))!==null&&_!==void 0?_:""," validation errors "))},[()=>{return j=n(),[qa.error,qa.warning,qa.info].find(_=>j.some(C=>C.severity===_));var j}],We),Xe("click",w,a),ge(g,y)};Le(f,g=>{h(s)||h(r)===1?g(m):g(v,!1)}),ge(d,p)};Le(c,d=>{En(n())||d(u)}),ge(e,l),Ht()}function Jf(e,t){if(e)return e.addEventListener("keydown",r),{destroy(){e.removeEventListener("keydown",r)}};function r(n){n.key==="Escape"&&(n.preventDefault(),n.stopPropagation(),t())}}or(`/* over all fonts, sizes, and colors */ +}`);var o3e=Pe(''),s3e=Pe(' '),i3e=Pe(' '),a3e=Pe('
'),l3e=Pe('
'),c3e=Pe('
');function VE(e,t){Ut(t,!1);var r=he(void 0,!0),n=T(t,"validationErrors",9),o=T(t,"selectError",9),s=he(!0,!0);function i(){$(s,!1)}function a(){$(s,!0)}$e(()=>de(n()),()=>{$(r,n().length)}),mn(),fr(!0);var l=vo(),c=Kt(l),u=d=>{var p=c3e(),f=fe(p),m=g=>{var y=a3e(),b=fe(y),w=fe(b);Eo(w,1,()=>Rz(n(),100),Mo,(j,_,C)=>{var A=s3e(),I=fe(A);Wr(fe(I),{data:sp});var M=ke(I),L=fe(M),F=ke(M),z=fe(F),N=fe(ke(F)),X=V=>{var J=o3e();Wr(fe(J),{data:Zxe}),Xe("click",J,ac(i)),ge(V,J)};Ne(N,V=>{C===0&&n().length>1&&V(X)}),nt(V=>{var J;hr(A,1,"jse-validation-".concat((J=h(_).severity)!==null&&J!==void 0?J:""),"svelte-1uindol"),Xt(L,V),Xt(z,h(_).message)},[()=>Ma(h(_).path)],We),Xe("click",A,()=>{setTimeout(()=>o()(h(_)))}),ge(j,A)});var k=ke(w),x=j=>{var _=i3e(),C=ke(fe(_),2),A=fe(C);nt(()=>Xt(A,"(and ".concat(h(r)-100," more errors)"))),ge(j,_)};Ne(k,j=>{h(r)>100&&j(x)}),ge(g,y)},v=g=>{var y=l3e(),b=fe(y),w=fe(b),k=fe(w);Wr(fe(k),{data:sp});var x=fe(ke(k));Wr(fe(ke(x)),{data:V6}),nt(j=>{var _;hr(w,1,"jse-validation-".concat(j??""),"svelte-1uindol"),Xt(x,"".concat((_=h(r))!==null&&_!==void 0?_:""," validation errors "))},[()=>{return j=n(),[qa.error,qa.warning,qa.info].find(_=>j.some(C=>C.severity===_));var j}],We),Xe("click",w,a),ge(g,y)};Ne(f,g=>{h(s)||h(r)===1?g(m):g(v,!1)}),ge(d,p)};Ne(c,d=>{En(n())||d(u)}),ge(e,l),Ht()}function Jf(e,t){if(e)return e.addEventListener("keydown",r),{destroy(){e.removeEventListener("keydown",r)}};function r(n){n.key==="Escape"&&(n.preventDefault(),n.stopPropagation(),t())}}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -1590,7 +1590,7 @@ dialog.jse-modal.svelte-1s9c2ql .svelte-select { --multi-item-padding: 2px 8px; --multi-item-border-radius: 6px; --indicator-top: 8px; -}`);var u3e=Pe('
');function tv(e,t){Ut(t,!1);var r=T(t,"className",8,void 0),n=T(t,"fullscreen",8,!1),o=T(t,"onClose",8),s=he();function i(){o()()}Is(()=>h(s).showModal()),va(()=>h(s).close()),fr();var a,l=u3e(),c=fe(l);_o(fe(c),t,"default",{},null),no(l,u=>$(s,u),()=>h(s)),ws(()=>Xe("close",l,i)),ws(()=>{return Xe("pointerdown",l,(u=i,function(){for(var d=arguments.length,p=new Array(d),f=0;fXe("cancel",l,su(function(u){Lm.call(this,t,u)}))),Vs(l,(u,d)=>Jf==null?void 0:Jf(u,d),()=>i),nt((u,d)=>a=hr(l,1,u,"svelte-1s9c2ql",a,d),[()=>td(Uh("jse-modal",r())),()=>({"jse-fullscreen":n()})],We),ge(e,l),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var u3e=Pe('
');function tv(e,t){Ut(t,!1);var r=T(t,"className",8,void 0),n=T(t,"fullscreen",8,!1),o=T(t,"onClose",8),s=he();function i(){o()()}Is(()=>h(s).showModal()),va(()=>h(s).close()),fr();var a,l=u3e(),c=fe(l);_o(fe(c),t,"default",{},null),no(l,u=>$(s,u),()=>h(s)),ws(()=>Xe("close",l,i)),ws(()=>{return Xe("pointerdown",l,(u=i,function(){for(var d=arguments.length,p=new Array(d),f=0;fXe("cancel",l,su(function(u){Nm.call(this,t,u)}))),Vs(l,(u,d)=>Jf==null?void 0:Jf(u,d),()=>i),nt((u,d)=>a=hr(l,1,u,"svelte-1s9c2ql",a,d),[()=>td(Uh("jse-modal",r())),()=>({"jse-fullscreen":n()})],We),ge(e,l),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -1740,7 +1740,7 @@ dialog.jse-modal.svelte-1s9c2ql .svelte-select { opacity: 0.3; width: 1px; margin: 3px; -}`);var p3e=Pe('
'),f3e=Pe('
'),h3e=Pe(''),m3e=Pe('
');function Tx(e,t){Ut(t,!1);var r=T(t,"items",25,()=>[]);fr(!0);var n=m3e(),o=fe(n);_o(o,t,"left",{},null);var s=ke(o,2);Eo(s,1,r,Mo,(i,a)=>{var l=vo(),c=Kt(l),u=p=>{ge(p,p3e())},d=(p,f)=>{var m=g=>{ge(g,f3e())},v=(g,y)=>{var b=k=>{var x=h3e(),j=fe(x),_=I=>{Wr(I,{get data(){return h(a).icon}})};Le(j,I=>{h(a).icon&&I(_)});var C=ke(j,2),A=I=>{var M=ds();nt(()=>Xt(M,h(a).text)),ge(I,M)};Le(C,I=>{h(a).text&&I(A)}),nt(()=>{var I;hr(x,1,"jse-button ".concat((I=h(a).className)!==null&&I!==void 0?I:""),"svelte-pf7s2l"),fn(x,"title",h(a).title),x.disabled=h(a).disabled||!1}),Xe("click",x,function(){for(var I,M=arguments.length,N=new Array(M),F=0;F{var x=ds();nt(j=>Xt(x,j),[()=>function(j){return console.error("Unknown type of menu item",j),"???"}(h(a))],We),ge(k,x)};Le(g,k=>{rg(h(a))?k(b):k(w,!1)},y)};Le(p,g=>{Zz(h(a))?g(m):g(v,!1)},f)};Le(c,p=>{hb(h(a))?p(u):p(d,!1)}),ge(i,l)}),_o(ke(s,2),t,"right",{},null),ge(e,n),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var p3e=Pe('
'),f3e=Pe('
'),h3e=Pe(''),m3e=Pe('
');function Tx(e,t){Ut(t,!1);var r=T(t,"items",25,()=>[]);fr(!0);var n=m3e(),o=fe(n);_o(o,t,"left",{},null);var s=ke(o,2);Eo(s,1,r,Mo,(i,a)=>{var l=vo(),c=Kt(l),u=p=>{ge(p,p3e())},d=(p,f)=>{var m=g=>{ge(g,f3e())},v=(g,y)=>{var b=k=>{var x=h3e(),j=fe(x),_=I=>{Wr(I,{get data(){return h(a).icon}})};Ne(j,I=>{h(a).icon&&I(_)});var C=ke(j,2),A=I=>{var M=ds();nt(()=>Xt(M,h(a).text)),ge(I,M)};Ne(C,I=>{h(a).text&&I(A)}),nt(()=>{var I;hr(x,1,"jse-button ".concat((I=h(a).className)!==null&&I!==void 0?I:""),"svelte-pf7s2l"),fn(x,"title",h(a).title),x.disabled=h(a).disabled||!1}),Xe("click",x,function(){for(var I,M=arguments.length,L=new Array(M),F=0;F{var x=ds();nt(j=>Xt(x,j),[()=>function(j){return console.error("Unknown type of menu item",j),"???"}(h(a))],We),ge(k,x)};Ne(g,k=>{rg(h(a))?k(b):k(w,!1)},y)};Ne(p,g=>{Zz(h(a))?g(m):g(v,!1)},f)};Ne(c,p=>{hb(h(a))?p(u):p(d,!1)}),ge(i,l)}),_o(ke(s,2),t,"right",{},null),ge(e,n),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -1782,7 +1782,7 @@ dialog.jse-modal.svelte-1s9c2ql .svelte-select { color: var(--jse-text-color, #4d4d4d); resize: none; outline: none; -}`);var g3e=Pe('
Repair invalid JSON, then click apply
'),v3e=Pe('
');function y3e(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),o=he(void 0,!0),s=he(void 0,!0),i=he(void 0,!0),a=he(void 0,!0),l=T(t,"text",13,""),c=T(t,"readOnly",9,!1),u=T(t,"onParse",9),d=T(t,"onRepair",9),p=T(t,"onChange",9,void 0),f=T(t,"onApply",9),m=T(t,"onCancel",9),v=ss("jsoneditor:JSONRepair"),g=he(void 0,!0);function y(){if(h(g)&&h(r)){var M=h(r).position!==void 0?h(r).position:0;h(g).setSelectionRange(M,M),h(g).focus()}}function b(){f()(l())}function w(){try{l(d()(l())),p()&&p()(l())}catch{}}var k=he(void 0,!0);$e(()=>de(l()),()=>{$(r,function(M){try{return void u()(M)}catch(N){return vh(M,N.message)}}(l()))}),$e(()=>de(l()),()=>{$(n,function(M){try{return d()(M),!0}catch{return!1}}(l()))}),$e(()=>h(r),()=>{v("error",h(r))}),$e(()=>de(m()),()=>{$(k,[{type:"space"},{type:"button",icon:Qw,title:"Cancel repair",className:"jse-cancel",onClick:m()}])}),$e(()=>k3,()=>{$(o,{icon:k3,text:"Show me",title:"Scroll to the error location",onClick:y})}),$e(()=>ah,()=>{$(s,{icon:ah,text:"Auto repair",title:"Automatically repair JSON",onClick:w})}),$e(()=>(h(n),h(o),h(s)),()=>{$(i,h(n)?[h(o),h(s)]:[h(o)])}),$e(()=>de(c()),()=>{$(a,[{icon:OA,text:"Apply",title:"Apply fixed JSON",disabled:c(),onClick:b}])}),mn(),fr(!0);var x=v3e(),j=fe(x);Tx(j,{get items(){return h(k)},$$slots:{left:(M,N)=>{ge(M,g3e())}}});var _=ke(j,2),C=M=>{var N=We(()=>"Cannot parse JSON: ".concat(h(r).message));Ha(M,{type:"error",icon:sp,get message(){return h(N)},get actions(){return h(i)}})},A=M=>{Ha(M,{type:"success",message:"JSON is valid now and can be parsed.",get actions(){return h(a)}})};Le(_,M=>{h(r)?M(C):M(A,!1)});var I=ke(_,2);no(I,M=>$(g,M),()=>h(g)),nt(()=>{I.readOnly=c(),fp(I,l())}),Xe("input",I,function(M){v("handleChange");var N=M.target.value;l()!==N&&(l(N),p()&&p()(l()))}),ge(e,x),Ht()}function EF(e,t){Ut(t,!1);var r=T(t,"text",13),n=T(t,"onParse",9),o=T(t,"onRepair",9),s=T(t,"onApply",9),i=T(t,"onClose",9);function a(c){s()(c),i()()}function l(){i()()}fr(!0),tv(e,{get onClose(){return i()},className:"jse-repair-modal",children:(c,u)=>{y3e(c,{get onParse(){return n()},get onRepair(){return o()},onApply:a,onCancel:l,get text(){return r()},set text(d){r(d)},$$legacy:!0})},$$slots:{default:!0}}),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var g3e=Pe('
Repair invalid JSON, then click apply
'),v3e=Pe('
');function y3e(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),o=he(void 0,!0),s=he(void 0,!0),i=he(void 0,!0),a=he(void 0,!0),l=T(t,"text",13,""),c=T(t,"readOnly",9,!1),u=T(t,"onParse",9),d=T(t,"onRepair",9),p=T(t,"onChange",9,void 0),f=T(t,"onApply",9),m=T(t,"onCancel",9),v=ss("jsoneditor:JSONRepair"),g=he(void 0,!0);function y(){if(h(g)&&h(r)){var M=h(r).position!==void 0?h(r).position:0;h(g).setSelectionRange(M,M),h(g).focus()}}function b(){f()(l())}function w(){try{l(d()(l())),p()&&p()(l())}catch{}}var k=he(void 0,!0);$e(()=>de(l()),()=>{$(r,function(M){try{return void u()(M)}catch(L){return vh(M,L.message)}}(l()))}),$e(()=>de(l()),()=>{$(n,function(M){try{return d()(M),!0}catch{return!1}}(l()))}),$e(()=>h(r),()=>{v("error",h(r))}),$e(()=>de(m()),()=>{$(k,[{type:"space"},{type:"button",icon:Qw,title:"Cancel repair",className:"jse-cancel",onClick:m()}])}),$e(()=>k3,()=>{$(o,{icon:k3,text:"Show me",title:"Scroll to the error location",onClick:y})}),$e(()=>ah,()=>{$(s,{icon:ah,text:"Auto repair",title:"Automatically repair JSON",onClick:w})}),$e(()=>(h(n),h(o),h(s)),()=>{$(i,h(n)?[h(o),h(s)]:[h(o)])}),$e(()=>de(c()),()=>{$(a,[{icon:OA,text:"Apply",title:"Apply fixed JSON",disabled:c(),onClick:b}])}),mn(),fr(!0);var x=v3e(),j=fe(x);Tx(j,{get items(){return h(k)},$$slots:{left:(M,L)=>{ge(M,g3e())}}});var _=ke(j,2),C=M=>{var L=We(()=>"Cannot parse JSON: ".concat(h(r).message));Ha(M,{type:"error",icon:sp,get message(){return h(L)},get actions(){return h(i)}})},A=M=>{Ha(M,{type:"success",message:"JSON is valid now and can be parsed.",get actions(){return h(a)}})};Ne(_,M=>{h(r)?M(C):M(A,!1)});var I=ke(_,2);no(I,M=>$(g,M),()=>h(g)),nt(()=>{I.readOnly=c(),fp(I,l())}),Xe("input",I,function(M){v("handleChange");var L=M.target.value;l()!==L&&(l(L),p()&&p()(l()))}),ge(e,x),Ht()}function EF(e,t){Ut(t,!1);var r=T(t,"text",13),n=T(t,"onParse",9),o=T(t,"onRepair",9),s=T(t,"onApply",9),i=T(t,"onClose",9);function a(c){s()(c),i()()}function l(){i()()}fr(!0),tv(e,{get onClose(){return i()},className:"jse-repair-modal",children:(c,u)=>{y3e(c,{get onParse(){return n()},get onRepair(){return o()},onApply:a,onCancel:l,get text(){return r()},set text(d){r(d)},$$legacy:!0})},$$slots:{default:!0}}),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -1841,7 +1841,7 @@ div.jse-collapsed-items.svelte-1h6hzoq button.jse-expand-items:where(.svelte-1h6 } div.jse-collapsed-items.svelte-1h6hzoq button.jse-expand-items:where(.svelte-1h6hzoq):hover, div.jse-collapsed-items.svelte-1h6hzoq button.jse-expand-items:where(.svelte-1h6hzoq):focus { color: var(--jse-collapsed-items-link-color-highlight, #ee5341); -}`);var b3e=Pe(''),w3e=Pe('
');function x3e(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),o=he(void 0,!0),s=he(void 0,!0),i=he(void 0,!0),a=T(t,"visibleSections",9),l=T(t,"sectionIndex",9),c=T(t,"total",9),u=T(t,"path",9),d=T(t,"selection",9),p=T(t,"onExpandSection",9),f=T(t,"context",9);$e(()=>(de(a()),de(l())),()=>{$(r,a()[l()])}),$e(()=>h(r),()=>{$(n,h(r).end)}),$e(()=>(de(a()),de(l()),de(c())),()=>{$(o,a()[l()+1]?a()[l()+1].start:c())}),$e(()=>(de(f()),de(d()),de(u()),h(n)),()=>{$(s,Xg(f().getJson(),d(),u().concat(String(h(n)))))}),$e(()=>(h(n),h(o)),()=>{$(i,function(k,x){var j={start:k,end:Math.min(p2(k),x)},_=Math.max(L1((k+x)/2),k),C={start:_,end:Math.min(p2(_),x)},A=L1(x),I=A===x?A-Jg:A,M={start:Math.max(I,k),end:x},N=[j],F=C.start>=j.end&&C.end<=M.start;return F&&N.push(C),M.start>=(F?C.end:j.end)&&N.push(M),N}(h(n),h(o)))}),mn(),fr(!0);var m,v,g=w3e(),y=fe(g),b=fe(y),w=fe(b);Eo(ke(b,2),1,()=>h(i),Mo,(k,x)=>{var j=b3e(),_=fe(j);nt(()=>{var C,A;return Xt(_,"show ".concat((C=h(x).start)!==null&&C!==void 0?C:"","-").concat((A=h(x).end)!==null&&A!==void 0?A:""))}),Xe("click",j,()=>p()(u(),h(x))),ge(k,j)}),nt(k=>{var x,j;m=hr(g,1,"jse-collapsed-items svelte-1h6hzoq",null,m,k),v=Ba(g,"",v,{"--level":u().length+2}),Xt(w,"Items ".concat((x=h(n))!==null&&x!==void 0?x:"","-").concat((j=h(o))!==null&&j!==void 0?j:""))},[()=>({"jse-selected":h(s)})],We),Xe("mousemove",g,function(k){k.stopPropagation()}),ge(e,g),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var b3e=Pe(''),w3e=Pe('
');function x3e(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),o=he(void 0,!0),s=he(void 0,!0),i=he(void 0,!0),a=T(t,"visibleSections",9),l=T(t,"sectionIndex",9),c=T(t,"total",9),u=T(t,"path",9),d=T(t,"selection",9),p=T(t,"onExpandSection",9),f=T(t,"context",9);$e(()=>(de(a()),de(l())),()=>{$(r,a()[l()])}),$e(()=>h(r),()=>{$(n,h(r).end)}),$e(()=>(de(a()),de(l()),de(c())),()=>{$(o,a()[l()+1]?a()[l()+1].start:c())}),$e(()=>(de(f()),de(d()),de(u()),h(n)),()=>{$(s,Xg(f().getJson(),d(),u().concat(String(h(n)))))}),$e(()=>(h(n),h(o)),()=>{$(i,function(k,x){var j={start:k,end:Math.min(p2(k),x)},_=Math.max(N1((k+x)/2),k),C={start:_,end:Math.min(p2(_),x)},A=N1(x),I=A===x?A-Jg:A,M={start:Math.max(I,k),end:x},L=[j],F=C.start>=j.end&&C.end<=M.start;return F&&L.push(C),M.start>=(F?C.end:j.end)&&L.push(M),L}(h(n),h(o)))}),mn(),fr(!0);var m,v,g=w3e(),y=fe(g),b=fe(y),w=fe(b);Eo(ke(b,2),1,()=>h(i),Mo,(k,x)=>{var j=b3e(),_=fe(j);nt(()=>{var C,A;return Xt(_,"show ".concat((C=h(x).start)!==null&&C!==void 0?C:"","-").concat((A=h(x).end)!==null&&A!==void 0?A:""))}),Xe("click",j,()=>p()(u(),h(x))),ge(k,j)}),nt(k=>{var x,j;m=hr(g,1,"jse-collapsed-items svelte-1h6hzoq",null,m,k),v=Ba(g,"",v,{"--level":u().length+2}),Xt(w,"Items ".concat((x=h(n))!==null&&x!==void 0?x:"","-").concat((j=h(o))!==null&&j!==void 0?j:""))},[()=>({"jse-selected":h(s)})],We),Xe("mousemove",g,function(k){k.stopPropagation()}),ge(e,g),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -1932,7 +1932,7 @@ div.jse-collapsed-items.svelte-1h6hzoq button.jse-expand-items:where(.svelte-1h6 pointer-events: none; color: var(--jse-tag-background, rgba(0, 0, 0, 0.2)); content: "key"; -}`);var j3e=Pe('
'),_3e=Pe(" ",1),S3e=Pe('
');function OF(e,t){Ut(t,!0);var r=yi(()=>xn(t.selection)&&bi(t.selection)),n=yi(()=>t.context.onRenderValue({path:t.path,value:t.value,mode:t.context.mode,truncateTextSize:t.context.truncateTextSize,readOnly:t.context.readOnly,enforceString:t.enforceString,isEditing:h(r),parser:t.context.parser,normalization:t.context.normalization,selection:t.selection,searchResultItems:t.searchResultItems,onPatch:t.context.onPatch,onPasteJson:t.context.onPasteJson,onSelect:t.context.onSelect,onFind:t.context.onFind,findNextInside:t.context.findNextInside,focus:t.context.focus})),o=vo();Eo(Kt(o),17,()=>h(n),Mo,(s,i)=>{var a=vo(),l=Kt(a),c=d=>{var p=S3e(),f=yi(()=>h(i).action);Vs(p,(m,v)=>{var g;return(g=h(f))===null||g===void 0?void 0:g(m,v)},()=>h(i).props),ge(d,p)},u=d=>{var p=vo(),f=yi(()=>h(i).component);$z(Kt(p),()=>h(f),(m,v)=>{v(m,Iu(()=>h(i).props))}),ge(d,p)};Le(l,d=>{G$e(h(i))?d(c):d(u,!1)}),ge(s,a)}),ge(e,o),Ht()}var C3e={selecting:!1,selectionAnchor:void 0,selectionAnchorType:void 0,selectionFocus:void 0,dragging:!1};function qj(e){var{json:t,selection:r,deltaY:n,items:o}=e;if(!r)return{operations:void 0,updatedSelection:void 0,offset:0};var s=n<0?function(u){for(var{json:d,items:p,selection:f,deltaY:m}=u,v=gc(d,f),g=p.findIndex(j=>Hr(j.path,v)),y=()=>{var j;return(j=p[b-1])===null||j===void 0?void 0:j.height},b=g,w=0;y()!==void 0&&Math.abs(m)>w+y()/2;)w+=y(),b-=1;var k=p[b].path,x=b-g;return b!==g&&p[b]!==void 0?{beforePath:k,offset:x}:void 0}({json:t,selection:r,deltaY:n,items:o}):function(u){for(var d,{json:p,items:f,selection:m,deltaY:v}=u,g=Mu(p,m),y=f.findIndex(I=>Hr(I.path,g)),b=0,w=y,k=()=>{var I;return(I=f[w+1])===null||I===void 0?void 0:I.height};k()!==void 0&&Math.abs(v)>b+k()/2;)b+=k(),w+=1;var x=Xr(g),j=bt(p,x),_=Array.isArray(j)?w:w+1,C=(d=f[_])===null||d===void 0?void 0:d.path,A=w-y;return C?{beforePath:C,offset:A}:{append:!0,offset:A}}({json:t,selection:r,deltaY:n,items:o});if(!s||s.offset===0)return{operations:void 0,updatedSelection:void 0,offset:0};var i=function(u,d,p){if(!d)return[];var f="beforePath"in p?p.beforePath:void 0,m="append"in p?p.append:void 0,v=Xr(Pt(d)),g=bt(u,v);if(!(m||f&&qc(f,v)&&f.length>v.length))return[];var y=gc(u,d),b=Mu(u,d),w=qr(y),k=qr(b),x=f?f[v.length]:void 0;if(!Do(g)){if(Ao(g)){var j=ks(w),_=ks(k),C=x!==void 0?ks(x):g.length;return uxe(_-j+1,C({op:"move",from:Wt(v.concat(String(j+F))),path:Wt(v.concat(String(C+F)))}):()=>({op:"move",from:Wt(v.concat(String(j))),path:Wt(v.concat(String(C)))}))}throw new Error("Cannot create move operations: parent must be an Object or Array")}var A=Object.keys(g),I=A.indexOf(w),M=A.indexOf(k),N=m?A.length:x!==void 0?A.indexOf(x):-1;return I!==-1&&M!==-1&&N!==-1?N>I?[...A.slice(I,M+1),...A.slice(N,A.length)].map(F=>gp(v,F)):[...A.slice(N,I),...A.slice(M+1,A.length)].map(F=>gp(v,F)):[]}(t,r,s),a=Xr(gc(t,r)),l=bt(t,a);if(Array.isArray(l)){var c=function(u){var d,p,{items:f,json:m,selection:v,offset:g}=u,y=gc(m,v),b=Mu(m,v),w=f.findIndex(_=>Hr(_.path,y)),k=f.findIndex(_=>Hr(_.path,b)),x=(d=f[w+g])===null||d===void 0?void 0:d.path,j=(p=f[k+g])===null||p===void 0?void 0:p.path;return Ns(x,j)}({items:o,json:t,selection:r,offset:s.offset});return{operations:i,updatedSelection:c,offset:s.offset}}return{operations:i,updatedSelection:void 0,offset:s.offset}}or(`/* over all fonts, sizes, and colors */ +}`);var j3e=Pe('
'),_3e=Pe(" ",1),S3e=Pe('
');function OF(e,t){Ut(t,!0);var r=yi(()=>xn(t.selection)&&bi(t.selection)),n=yi(()=>t.context.onRenderValue({path:t.path,value:t.value,mode:t.context.mode,truncateTextSize:t.context.truncateTextSize,readOnly:t.context.readOnly,enforceString:t.enforceString,isEditing:h(r),parser:t.context.parser,normalization:t.context.normalization,selection:t.selection,searchResultItems:t.searchResultItems,onPatch:t.context.onPatch,onPasteJson:t.context.onPasteJson,onSelect:t.context.onSelect,onFind:t.context.onFind,findNextInside:t.context.findNextInside,focus:t.context.focus})),o=vo();Eo(Kt(o),17,()=>h(n),Mo,(s,i)=>{var a=vo(),l=Kt(a),c=d=>{var p=S3e(),f=yi(()=>h(i).action);Vs(p,(m,v)=>{var g;return(g=h(f))===null||g===void 0?void 0:g(m,v)},()=>h(i).props),ge(d,p)},u=d=>{var p=vo(),f=yi(()=>h(i).component);$z(Kt(p),()=>h(f),(m,v)=>{v(m,Iu(()=>h(i).props))}),ge(d,p)};Ne(l,d=>{G$e(h(i))?d(c):d(u,!1)}),ge(s,a)}),ge(e,o),Ht()}var C3e={selecting:!1,selectionAnchor:void 0,selectionAnchorType:void 0,selectionFocus:void 0,dragging:!1};function qj(e){var{json:t,selection:r,deltaY:n,items:o}=e;if(!r)return{operations:void 0,updatedSelection:void 0,offset:0};var s=n<0?function(u){for(var{json:d,items:p,selection:f,deltaY:m}=u,v=gc(d,f),g=p.findIndex(j=>Hr(j.path,v)),y=()=>{var j;return(j=p[b-1])===null||j===void 0?void 0:j.height},b=g,w=0;y()!==void 0&&Math.abs(m)>w+y()/2;)w+=y(),b-=1;var k=p[b].path,x=b-g;return b!==g&&p[b]!==void 0?{beforePath:k,offset:x}:void 0}({json:t,selection:r,deltaY:n,items:o}):function(u){for(var d,{json:p,items:f,selection:m,deltaY:v}=u,g=Mu(p,m),y=f.findIndex(I=>Hr(I.path,g)),b=0,w=y,k=()=>{var I;return(I=f[w+1])===null||I===void 0?void 0:I.height};k()!==void 0&&Math.abs(v)>b+k()/2;)b+=k(),w+=1;var x=Xr(g),j=bt(p,x),_=Array.isArray(j)?w:w+1,C=(d=f[_])===null||d===void 0?void 0:d.path,A=w-y;return C?{beforePath:C,offset:A}:{append:!0,offset:A}}({json:t,selection:r,deltaY:n,items:o});if(!s||s.offset===0)return{operations:void 0,updatedSelection:void 0,offset:0};var i=function(u,d,p){if(!d)return[];var f="beforePath"in p?p.beforePath:void 0,m="append"in p?p.append:void 0,v=Xr(Pt(d)),g=bt(u,v);if(!(m||f&&qc(f,v)&&f.length>v.length))return[];var y=gc(u,d),b=Mu(u,d),w=qr(y),k=qr(b),x=f?f[v.length]:void 0;if(!Do(g)){if(Ao(g)){var j=ks(w),_=ks(k),C=x!==void 0?ks(x):g.length;return uxe(_-j+1,C({op:"move",from:Wt(v.concat(String(j+F))),path:Wt(v.concat(String(C+F)))}):()=>({op:"move",from:Wt(v.concat(String(j))),path:Wt(v.concat(String(C)))}))}throw new Error("Cannot create move operations: parent must be an Object or Array")}var A=Object.keys(g),I=A.indexOf(w),M=A.indexOf(k),L=m?A.length:x!==void 0?A.indexOf(x):-1;return I!==-1&&M!==-1&&L!==-1?L>I?[...A.slice(I,M+1),...A.slice(L,A.length)].map(F=>gp(v,F)):[...A.slice(L,I),...A.slice(M+1,A.length)].map(F=>gp(v,F)):[]}(t,r,s),a=Xr(gc(t,r)),l=bt(t,a);if(Array.isArray(l)){var c=function(u){var d,p,{items:f,json:m,selection:v,offset:g}=u,y=gc(m,v),b=Mu(m,v),w=f.findIndex(_=>Hr(_.path,y)),k=f.findIndex(_=>Hr(_.path,b)),x=(d=f[w+g])===null||d===void 0?void 0:d.path,j=(p=f[k+g])===null||p===void 0?void 0:p.path;return Ls(x,j)}({items:o,json:t,selection:r,offset:s.offset});return{operations:i,updatedSelection:c,offset:s.offset}}return{operations:i,updatedSelection:void 0,offset:s.offset}}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -2216,10 +2216,10 @@ button.jse-validation-warning.svelte-1a8aobl { } .jse-json-node.svelte-oawf7x .jse-insert-area.jse-selected:where(.svelte-oawf7x) { outline-color: var(--jse-context-menu-pointer-background, var(--jse-context-menu-background, #656565)); -}`);var to=kx(()=>C3e),E3e=Pe('
:
'),O3e=Pe('
[
 ',1),$3e=Pe('
[
]
',1),T3e=Pe('
'),P3e=Pe('
'),I3e=Pe('
'),D3e=Pe('
'),M3e=Pe('
'),L3e=Pe(" ",1),N3e=Pe('
'),R3e=Pe('
',1),B3e=Pe('
',1),q3e=Pe('
:
'),z3e=Pe('
{
'),F3e=Pe('
{
}
',1),V3e=Pe('
'),U3e=Pe('
'),H3e=Pe('
'),W3e=Pe('
'),G3e=Pe('
'),J3e=Pe('
'),K3e=Pe('
',1),Q3e=Pe('
',1),Z3e=Pe('
:
'),X3e=Pe('
'),Y3e=Pe('
'),ePe=Pe('
'),tPe=Pe('
'),rPe=Pe('
');function j2(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),o=T(t,"pointer",9),s=T(t,"value",9),i=T(t,"state",9),a=T(t,"validationErrors",9),l=T(t,"searchResults",9),c=T(t,"selection",9),u=T(t,"context",9),d=T(t,"onDragSelectionStart",9),p=ss("jsoneditor:JSONNode"),f=he(void 0,!0),m=void 0,v=he(void 0,!0),g=he(void 0,!0),y=he(void 0,!0),b=he(void 0,!0),w=he(void 0,!0),k=he(void 0,!0),x=he(void 0,!0);function j(ie){ie.stopPropagation();var re=EE(ie);u().onExpand(h(g),!h(y),re)}function _(){u().onExpand(h(g),!0)}function C(ie,re){var xe=Vv(h(g),Object.keys(s()),ie,re);return u().onPatch(xe),qr(da(xe[0].path))}function A(ie){u().onDrag(ie)}function I(ie){to().selecting&&(to(to().selecting=!1),ie.stopPropagation()),u().onDragEnd(),document.removeEventListener("mousemove",A,!0),document.removeEventListener("mouseup",I)}function M(){var ie;return((ie=u().findElement([]))===null||ie===void 0||(ie=ie.getBoundingClientRect())===null||ie===void 0?void 0:ie.top)||0}function N(ie,re){var xe=M()-ie.initialContentTop;return re.clientY-ie.initialClientY-xe}function F(ie){if(!u().readOnly&&c()){var re=Xr(Pt(c()));if(Hr(h(g),re)){var xe=function(me,ae){var kt=[];function ft(G){var ee=h(g).concat(G),be=u().findElement(ee);be!==void 0&&kt.push({path:ee,height:be.clientHeight})}if(Array.isArray(s())){var Ue=u().getJson();if(Ue===void 0)return;var gt=gc(Ue,me),Ge=Mu(Ue,me),_t=parseInt(qr(gt),10),It=parseInt(qr(Ge),10),vt=ae.find(G=>_t>=G.start&&It<=G.end);if(!vt)return;var{start:sr,end:P}=vt;Nz(sr,Math.min(s().length,P),G=>ft(String(G)))}else Object.keys(s()).forEach(ft);return kt}(c(),h(w)||Hf);if(p("dragSelectionStart",{selection:c(),items:xe}),xe){var R=u().getJson();if(R!==void 0){var te=gc(R,c()),ne=xe.findIndex(me=>Hr(me.path,te)),{offset:Ce}=qj({json:R,selection:u().getSelection(),deltaY:0,items:xe});$(v,{initialTarget:ie.target,initialClientY:ie.clientY,initialContentTop:M(),selectionStartIndex:ne,selectionItemsCount:rd(R,c()).length,items:xe,offset:Ce,didMoveItems:!1}),to(to().dragging=!0),document.addEventListener("mousemove",z,!0),document.addEventListener("mouseup",L)}}else p("Cannot drag the current selection (probably spread over multiple sections)")}else d()(ie)}}function z(ie){if(h(v)){var re=u().getJson();if(re===void 0)return;var xe=N(h(v),ie),{offset:R}=qj({json:re,selection:u().getSelection(),deltaY:xe,items:h(v).items});R!==h(v).offset&&(p("drag selection",R,xe),$(v,rt(rt({},h(v)),{},{offset:R,didMoveItems:!0})))}}function L(ie){if(h(v)){var re=u().getJson();if(re===void 0)return;var xe=N(h(v),ie),{operations:R,updatedSelection:te}=qj({json:re,selection:u().getSelection(),deltaY:xe,items:h(v).items});if(R)u().onPatch(R,(me,ae)=>({state:ae,selection:te??c()}));else if(ie.target===h(v).initialTarget&&!h(v).didMoveItems){var ne=Sj(ie.target),Ce=Kz(ie.target);Ce&&u().onSelect(PD(ne,Ce))}$(v,void 0),to(to().dragging=!1),document.removeEventListener("mousemove",z,!0),document.removeEventListener("mouseup",L)}}function X(ie){ie.shiftKey||(ie.stopPropagation(),ie.preventDefault(),u().onSelect(Fc(h(g))))}function V(ie){ie.shiftKey||(ie.stopPropagation(),ie.preventDefault(),u().onSelect(Ac(h(g))))}function J(ie){u().onSelect(Fc(h(g))),u().onContextMenu(ie)}function oe(ie){u().onSelect(Ac(h(g))),u().onContextMenu(ie)}$e(()=>de(o()),()=>{$(g,da(o()))}),$e(()=>de(o()),()=>{$(r,encodeURIComponent(o()))}),$e(()=>de(i()),()=>{$(y,!!hp(i())&&i().expanded)}),$e(()=>(de(s()),de(i())),()=>{$(b,Cc(s(),i(),[]))}),$e(()=>de(i()),()=>{$(w,Ts(i())?i().visibleSections:void 0)}),$e(()=>de(a()),()=>{var ie;$(k,(ie=a())===null||ie===void 0?void 0:ie.validationError)}),$e(()=>(de(u()),de(c()),h(g)),()=>{$(x,Xg(u().getJson(),c(),h(g)))}),$e(()=>h(g),()=>{$(n,h(g).length===0)}),mn(),fr(!0);var H,B,se=rPe(),q=fe(se),O=ie=>{var re=B3e(),xe=Kt(re),R=fe(xe),te=fe(R),ne=fe(te),Ce=we=>{Wr(we,{data:Wu})},me=we=>{Wr(we,{data:Cg})};Le(ne,we=>{h(y)?we(Ce):we(me,!1)});var ae=ke(te,2);_o(ae,t,"identifier",{},null);var kt=ke(ae,2),ft=we=>{ge(we,E3e())};Le(kt,we=>{h(n)||we(ft)});var Ue=ke(kt,2),gt=fe(Ue),Ge=fe(gt),_t=we=>{var pt=O3e();gb(ke(Kt(pt),2),{children:(St,rr)=>{var Ve=ds();nt(()=>{var Ft,_r;return Xt(Ve,"".concat((Ft=s().length)!==null&&Ft!==void 0?Ft:"",` +}`);var to=kx(()=>C3e),E3e=Pe('
:
'),O3e=Pe('
[
 ',1),$3e=Pe('
[
]
',1),T3e=Pe('
'),P3e=Pe('
'),I3e=Pe('
'),D3e=Pe('
'),M3e=Pe('
'),N3e=Pe(" ",1),L3e=Pe('
'),R3e=Pe('
',1),B3e=Pe('
',1),q3e=Pe('
:
'),z3e=Pe('
{
'),F3e=Pe('
{
}
',1),V3e=Pe('
'),U3e=Pe('
'),H3e=Pe('
'),W3e=Pe('
'),G3e=Pe('
'),J3e=Pe('
'),K3e=Pe('
',1),Q3e=Pe('
',1),Z3e=Pe('
:
'),X3e=Pe('
'),Y3e=Pe('
'),ePe=Pe('
'),tPe=Pe('
'),rPe=Pe('
');function j2(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),o=T(t,"pointer",9),s=T(t,"value",9),i=T(t,"state",9),a=T(t,"validationErrors",9),l=T(t,"searchResults",9),c=T(t,"selection",9),u=T(t,"context",9),d=T(t,"onDragSelectionStart",9),p=ss("jsoneditor:JSONNode"),f=he(void 0,!0),m=void 0,v=he(void 0,!0),g=he(void 0,!0),y=he(void 0,!0),b=he(void 0,!0),w=he(void 0,!0),k=he(void 0,!0),x=he(void 0,!0);function j(ie){ie.stopPropagation();var re=EE(ie);u().onExpand(h(g),!h(y),re)}function _(){u().onExpand(h(g),!0)}function C(ie,re){var xe=Vv(h(g),Object.keys(s()),ie,re);return u().onPatch(xe),qr(da(xe[0].path))}function A(ie){u().onDrag(ie)}function I(ie){to().selecting&&(to(to().selecting=!1),ie.stopPropagation()),u().onDragEnd(),document.removeEventListener("mousemove",A,!0),document.removeEventListener("mouseup",I)}function M(){var ie;return((ie=u().findElement([]))===null||ie===void 0||(ie=ie.getBoundingClientRect())===null||ie===void 0?void 0:ie.top)||0}function L(ie,re){var xe=M()-ie.initialContentTop;return re.clientY-ie.initialClientY-xe}function F(ie){if(!u().readOnly&&c()){var re=Xr(Pt(c()));if(Hr(h(g),re)){var xe=function(me,ae){var kt=[];function ft(G){var ee=h(g).concat(G),be=u().findElement(ee);be!==void 0&&kt.push({path:ee,height:be.clientHeight})}if(Array.isArray(s())){var Ue=u().getJson();if(Ue===void 0)return;var gt=gc(Ue,me),Ge=Mu(Ue,me),_t=parseInt(qr(gt),10),It=parseInt(qr(Ge),10),vt=ae.find(G=>_t>=G.start&&It<=G.end);if(!vt)return;var{start:sr,end:P}=vt;Lz(sr,Math.min(s().length,P),G=>ft(String(G)))}else Object.keys(s()).forEach(ft);return kt}(c(),h(w)||Hf);if(p("dragSelectionStart",{selection:c(),items:xe}),xe){var R=u().getJson();if(R!==void 0){var te=gc(R,c()),ne=xe.findIndex(me=>Hr(me.path,te)),{offset:Ce}=qj({json:R,selection:u().getSelection(),deltaY:0,items:xe});$(v,{initialTarget:ie.target,initialClientY:ie.clientY,initialContentTop:M(),selectionStartIndex:ne,selectionItemsCount:rd(R,c()).length,items:xe,offset:Ce,didMoveItems:!1}),to(to().dragging=!0),document.addEventListener("mousemove",z,!0),document.addEventListener("mouseup",N)}}else p("Cannot drag the current selection (probably spread over multiple sections)")}else d()(ie)}}function z(ie){if(h(v)){var re=u().getJson();if(re===void 0)return;var xe=L(h(v),ie),{offset:R}=qj({json:re,selection:u().getSelection(),deltaY:xe,items:h(v).items});R!==h(v).offset&&(p("drag selection",R,xe),$(v,rt(rt({},h(v)),{},{offset:R,didMoveItems:!0})))}}function N(ie){if(h(v)){var re=u().getJson();if(re===void 0)return;var xe=L(h(v),ie),{operations:R,updatedSelection:te}=qj({json:re,selection:u().getSelection(),deltaY:xe,items:h(v).items});if(R)u().onPatch(R,(me,ae)=>({state:ae,selection:te??c()}));else if(ie.target===h(v).initialTarget&&!h(v).didMoveItems){var ne=Sj(ie.target),Ce=Kz(ie.target);Ce&&u().onSelect(PD(ne,Ce))}$(v,void 0),to(to().dragging=!1),document.removeEventListener("mousemove",z,!0),document.removeEventListener("mouseup",N)}}function X(ie){ie.shiftKey||(ie.stopPropagation(),ie.preventDefault(),u().onSelect(Fc(h(g))))}function V(ie){ie.shiftKey||(ie.stopPropagation(),ie.preventDefault(),u().onSelect(Ac(h(g))))}function J(ie){u().onSelect(Fc(h(g))),u().onContextMenu(ie)}function oe(ie){u().onSelect(Ac(h(g))),u().onContextMenu(ie)}$e(()=>de(o()),()=>{$(g,da(o()))}),$e(()=>de(o()),()=>{$(r,encodeURIComponent(o()))}),$e(()=>de(i()),()=>{$(y,!!hp(i())&&i().expanded)}),$e(()=>(de(s()),de(i())),()=>{$(b,Cc(s(),i(),[]))}),$e(()=>de(i()),()=>{$(w,Ts(i())?i().visibleSections:void 0)}),$e(()=>de(a()),()=>{var ie;$(k,(ie=a())===null||ie===void 0?void 0:ie.validationError)}),$e(()=>(de(u()),de(c()),h(g)),()=>{$(x,Xg(u().getJson(),c(),h(g)))}),$e(()=>h(g),()=>{$(n,h(g).length===0)}),mn(),fr(!0);var H,B,se=rPe(),q=fe(se),O=ie=>{var re=B3e(),xe=Kt(re),R=fe(xe),te=fe(R),ne=fe(te),Ce=we=>{Wr(we,{data:Wu})},me=we=>{Wr(we,{data:Cg})};Ne(ne,we=>{h(y)?we(Ce):we(me,!1)});var ae=ke(te,2);_o(ae,t,"identifier",{},null);var kt=ke(ae,2),ft=we=>{ge(we,E3e())};Ne(kt,we=>{h(n)||we(ft)});var Ue=ke(kt,2),gt=fe(Ue),Ge=fe(gt),_t=we=>{var pt=O3e();gb(ke(Kt(pt),2),{children:(St,rr)=>{var Ve=ds();nt(()=>{var Ft,_r;return Xt(Ve,"".concat((Ft=s().length)!==null&&Ft!==void 0?Ft:"",` `).concat((_r=s().length===1?"item":"items")!==null&&_r!==void 0?_r:""))}),ge(St,Ve)},$$slots:{default:!0}}),ge(we,pt)},It=we=>{var pt=$3e();gb(ke(Kt(pt),2),{onclick:_,children:(St,rr)=>{var Ve=ds();nt(()=>{var Ft,_r;return Xt(Ve,"".concat((Ft=s().length)!==null&&Ft!==void 0?Ft:"",` - `).concat((_r=s().length===1?"item":"items")!==null&&_r!==void 0?_r:""))}),ge(St,Ve)},$$slots:{default:!0}}),ge(we,pt)};Le(Ge,we=>{h(y)?we(_t):we(It,!1)});var vt=ke(Ue,2),sr=we=>{var pt=T3e();iu(fe(pt),{get root(){return h(n)},selected:!0,get onContextMenu(){return u().onContextMenu}}),ge(we,pt)};Le(vt,we=>{!u().readOnly&&h(x)&&c()&&(xn(c())||ro(c()))&&!bi(c())&&Hr(Pt(c()),h(g))&&we(sr)});var P=ke(R,2),G=we=>{Kf(we,{get validationError(){return h(k)},onExpand:_})};Le(P,we=>{!h(k)||h(y)&&h(k).isChildError||we(G)});var ee=ke(P,2),be=we=>{var pt=P3e();Xe("click",pt,X),ge(we,pt)},Me=we=>{var pt=I3e();Xe("click",pt,V),ge(we,pt)};Le(ee,we=>{h(y)?we(be):we(Me,!1)});var Fe=ke(xe,2),Ze=we=>{var pt=R3e(),St=Kt(pt),rr=fe(St),Ve=Nr=>{var Sr,W,Ee=D3e();fn(Ee,"title",Aj);var wt=fe(Ee),br=We(()=>h(x)&&Os(c()));iu(wt,{insert:!0,get selected(){return h(br)},onContextMenu:J}),nt(wr=>{Sr=hr(Ee,1,"jse-insert-area jse-inside svelte-oawf7x",null,Sr,wr),W=Ba(Ee,"",W,{"--level":h(g).length+1})},[()=>({"jse-hovered":h(f)===wm,"jse-selected":h(x)&&Os(c())})],We),ge(Nr,Ee)};Le(rr,Nr=>{!u().readOnly&&(h(f)===wm||h(x)&&Os(c()))&&Nr(Ve)}),Eo(ke(rr,2),1,()=>h(w)||Hf,Mo,(Nr,Sr,W)=>{var Ee=L3e(),wt=Kt(Ee);Eo(wt,1,()=>function(Gt,Pr,Dt){var mr=Pr.start,Cr=Math.min(Pr.end,Gt.length),nn=M6(mr,Cr);return Dt&&Dt.offset!==0?fD(nn,Dt.selectionStartIndex,Dt.selectionItemsCount,Dt.offset).map((Tn,en)=>({index:Tn,gutterIndex:en})):nn.map(Tn=>({index:Tn,gutterIndex:Tn}))}(s(),h(Sr),h(v)),Gt=>Gt.index,(Gt,Pr)=>{var Dt=vo(),mr=We(()=>Ts(a())?a().items[h(Pr).index]:void 0),Cr=We(()=>ID(u().getJson(),c(),h(g).concat(String(h(Pr).index)))),nn=Kt(Dt),Tn=We(()=>IT(o(),h(Pr).index)),en=We(()=>Ts(i())?i().items[h(Pr).index]:void 0),co=We(()=>Ts(l())?l().items[h(Pr).index]:void 0);j2(nn,{get value(){return s()[h(Pr).index]},get pointer(){return h(Tn)},get state(){return h(en)},get validationErrors(){return h(mr)},get searchResults(){return h(co)},get selection(){return h(Cr)},get context(){return u()},onDragSelectionStart:F,$$slots:{identifier:(Qn,Zn)=>{var bo=M3e(),uo=fe(bo),yn=fe(uo);nt(()=>Xt(yn,h(Pr).gutterIndex)),ge(Qn,bo)}}}),ge(Gt,Dt)});var br=ke(wt,2),wr=Gt=>{var Pr=We(()=>h(w)||Hf);x3e(Gt,{get visibleSections(){return h(Pr)},sectionIndex:W,get total(){return s().length},get path(){return h(g)},get onExpandSection(){return u().onExpandSection},get selection(){return c()},get context(){return u()}})};Le(br,Gt=>{h(Sr).end{var Sr=N3e();Xe("click",Sr,V),ge(Nr,Sr)};Le(_r,Nr=>{h(n)||Nr(Bn)}),ge(we,pt)};Le(Fe,we=>{h(y)&&we(Ze)}),Xe("click",te,j),ge(ie,re)},D=(ie,re)=>{var xe=te=>{var ne=Q3e(),Ce=Kt(ne),me=fe(Ce),ae=fe(me),kt=fe(ae),ft=Ve=>{Wr(Ve,{data:Wu})},Ue=Ve=>{Wr(Ve,{data:Cg})};Le(kt,Ve=>{h(y)?Ve(ft):Ve(Ue,!1)});var gt=ke(ae,2);_o(gt,t,"identifier",{},null);var Ge=ke(gt,2),_t=Ve=>{ge(Ve,q3e())};Le(Ge,Ve=>{h(n)||Ve(_t)});var It=ke(Ge,2),vt=fe(It),sr=fe(vt),P=Ve=>{ge(Ve,z3e())},G=Ve=>{var Ft=F3e();gb(ke(Kt(Ft),2),{onclick:_,children:(_r,Bn)=>{var Nr=ds();nt((Sr,W)=>Xt(Nr,"".concat(Sr??"",` - `).concat(W??"")),[()=>Object.keys(s()).length,()=>Object.keys(s()).length===1?"prop":"props"],We),ge(_r,Nr)},$$slots:{default:!0}}),ge(Ve,Ft)};Le(sr,Ve=>{h(y)?Ve(P):Ve(G,!1)});var ee=ke(It,2),be=Ve=>{var Ft=V3e();iu(fe(Ft),{get root(){return h(n)},selected:!0,get onContextMenu(){return u().onContextMenu}}),ge(Ve,Ft)};Le(ee,Ve=>{!u().readOnly&&h(x)&&c()&&(xn(c())||ro(c()))&&!bi(c())&&Hr(Pt(c()),h(g))&&Ve(be)});var Me=ke(me,2),Fe=Ve=>{Kf(Ve,{get validationError(){return h(k)},onExpand:_})};Le(Me,Ve=>{!h(k)||h(y)&&h(k).isChildError||Ve(Fe)});var Ze=ke(Me,2),we=Ve=>{var Ft=U3e();Xe("click",Ft,X),ge(Ve,Ft)},pt=(Ve,Ft)=>{var _r=Bn=>{var Nr=H3e();Xe("click",Nr,V),ge(Bn,Nr)};Le(Ve,Bn=>{h(n)||Bn(_r)},Ft)};Le(Ze,Ve=>{h(y)?Ve(we):Ve(pt,!1)});var St=ke(Ce,2),rr=Ve=>{var Ft=K3e(),_r=Kt(Ft),Bn=fe(_r),Nr=wt=>{var br,wr,Gt=W3e();fn(Gt,"title",Aj);var Pr=fe(Gt),Dt=We(()=>h(x)&&Os(c()));iu(Pr,{insert:!0,get selected(){return h(Dt)},onContextMenu:J}),nt(mr=>{br=hr(Gt,1,"jse-insert-area jse-inside svelte-oawf7x",null,br,mr),wr=Ba(Gt,"",wr,{"--level":h(g).length+1})},[()=>({"jse-hovered":h(f)===wm,"jse-selected":h(x)&&Os(c())})],We),ge(wt,Gt)};Le(Bn,wt=>{!u().readOnly&&(h(f)===wm||h(x)&&Os(c()))&&wt(Nr)}),Eo(ke(Bn,2),1,()=>function(wt,br){var wr=Object.keys(wt);return br&&br.offset!==0?fD(wr,br.selectionStartIndex,br.selectionItemsCount,br.offset):wr}(s(),h(v)),Mo,(wt,br)=>{var wr=vo(),Gt=We(()=>IT(o(),h(br))),Pr=We(()=>Fa(l())?l().properties[h(br)]:void 0),Dt=We(()=>Fa(a())?a().properties[h(br)]:void 0),mr=We(()=>h(g).concat(h(br))),Cr=We(()=>ID(u().getJson(),c(),h(mr))),nn=Kt(wr),Tn=We(()=>Fa(i())?i().properties[h(br)]:void 0);j2(nn,{get value(){return s()[h(br)]},get pointer(){return h(Gt)},get state(){return h(Tn)},get validationErrors(){return h(Dt)},get searchResults(){return h(Pr)},get selection(){return h(Cr)},get context(){return u()},onDragSelectionStart:F,$$slots:{identifier:(en,co)=>{var Qn,Zn=G3e(),bo=fe(Zn),uo=We(()=>{return yn=h(Pr),(bn=xD(yn)?yn.searchResults.filter(Fn=>Fn.field===za.key):void 0)&&bn.length>0?bn:void 0;var yn,bn});(function(yn,bn){Ut(bn,!1);var Fn=he(void 0,!0),Qe=he(void 0,!0),Ir=T(bn,"pointer",9),De=T(bn,"key",9),ot=T(bn,"selection",9),Ot=T(bn,"searchResultItems",9),ur=T(bn,"onUpdateKey",9),Et=T(bn,"context",9),gr=he(void 0,!0);function Jr(Dr){h(Qe)||Et().readOnly||(Dr.preventDefault(),Et().onSelect(RE(h(gr))))}function xr(Dr,Or){var Tr=ur()(De(),Et().normalization.unescapeValue(Dr)),Xn=Xr(h(gr)).concat(Tr);Et().onSelect(Or===Du.nextInside?Ur(Xn):zc(Xn)),Or!==Du.self&&Et().focus()}function un(){Et().onSelect(zc(h(gr))),Et().focus()}$e(()=>de(Ir()),()=>{$(gr,da(Ir()))}),$e(()=>(de(ot()),h(gr)),()=>{$(Fn,rs(ot())&&Hr(ot().path,h(gr)))}),$e(()=>(h(Fn),de(ot())),()=>{$(Qe,h(Fn)&&bi(ot()))}),mn(),fr(!0);var Yt=_3e(),Ar=Kt(Yt),Jt=Dr=>{var Or=We(()=>Et().normalization.escapeValue(De())),Tr=We(()=>bi(ot())?ot().initialValue:void 0);iF(Dr,{get value(){return h(Or)},get initialValue(){return h(Tr)},label:"Edit key",shortText:!0,onChange:xr,onCancel:un,get onFind(){return Et().onFind}})},ir=Dr=>{var Or,Tr=j3e(),Xn=fe(Tr),_e=et=>{var Er=We(()=>Et().normalization.escapeValue(De()));fF(et,{get text(){return h(Er)},get searchResultItems(){return Ot()}})},Be=et=>{var Er=ds();nt(on=>Xt(Er,on),[()=>Sx(Et().normalization.escapeValue(De()))],We),ge(et,Er)};Le(Xn,et=>{Ot()?et(_e):et(Be,!1)}),nt(et=>Or=hr(Tr,1,"jse-key svelte-2iqnqn",null,Or,et),[()=>({"jse-empty":De()===""})],We),Xe("dblclick",Tr,Jr),ge(Dr,Tr)};Le(Ar,Dr=>{!Et().readOnly&&h(Qe)?Dr(Jt):Dr(ir,!1)});var _n=ke(Ar,2),Pn=Dr=>{iu(Dr,{selected:!0,get onContextMenu(){return Et().onContextMenu}})};Le(_n,Dr=>{Et().readOnly||!h(Fn)||h(Qe)||Dr(Pn)}),ge(yn,Yt),Ht()})(bo,{get pointer(){return h(Gt)},get key(){return h(br)},get selection(){return h(Cr)},get searchResultItems(){return h(uo)},get context(){return u()},onUpdateKey:C}),nt(yn=>Qn=hr(Zn,1,"jse-key-outer svelte-oawf7x",null,Qn,yn),[()=>({"jse-selected-key":rs(h(Cr))&&Hr(h(Cr).path,h(mr))})],We),ge(en,Zn)}}}),ge(wt,wr)});var Sr=ke(_r,2),W=ke(fe(Sr),2),Ee=wt=>{var br=J3e();Xe("click",br,V),ge(wt,br)};Le(W,wt=>{h(n)||wt(Ee)}),ge(Ve,Ft)};Le(St,Ve=>{h(y)&&Ve(rr)}),Xe("click",ae,j),ge(te,ne)},R=te=>{var ne=ePe(),Ce=fe(ne),me=fe(Ce);_o(me,t,"identifier",{},null);var ae=ke(me,2),kt=ee=>{ge(ee,Z3e())};Le(ae,ee=>{h(n)||ee(kt)});var ft=ke(ae,2),Ue=fe(ft),gt=We(()=>h(x)?c():void 0),Ge=We(()=>{return ee=l(),(be=xD(ee)?ee.searchResults.filter(Me=>Me.field===za.value):void 0)&&be.length>0?be:void 0;var ee,be});OF(Ue,{get path(){return h(g)},get value(){return s()},get enforceString(){return h(b)},get selection(){return h(gt)},get searchResultItems(){return h(Ge)},get context(){return u()}});var _t=ke(ft,2),It=ee=>{var be=X3e();iu(fe(be),{get root(){return h(n)},selected:!0,get onContextMenu(){return u().onContextMenu}}),ge(ee,be)};Le(_t,ee=>{!u().readOnly&&h(x)&&c()&&(xn(c())||ro(c()))&&!bi(c())&&Hr(Pt(c()),h(g))&&ee(It)});var vt=ke(Ce,2),sr=ee=>{Kf(ee,{get validationError(){return h(k)},onExpand:_})};Le(vt,ee=>{h(k)&&ee(sr)});var P=ke(vt,2),G=ee=>{var be=Y3e();Xe("click",be,V),ge(ee,be)};Le(P,ee=>{h(n)||ee(G)}),ge(te,ne)};Le(ie,te=>{hn(s())?te(xe):te(R,!1)},re)};Le(q,ie=>{Array.isArray(s())?ie(O):ie(D,!1)});var Z=ke(q,2),Se=ie=>{var re,xe=tPe();fn(xe,"title",Aj);var R=fe(xe),te=We(()=>h(x)&&ia(c()));iu(R,{insert:!0,get selected(){return h(te)},onContextMenu:oe}),nt(ne=>re=hr(xe,1,"jse-insert-area jse-after svelte-oawf7x",null,re,ne),[()=>({"jse-hovered":h(f)===Ej,"jse-selected":h(x)&&ia(c())})],We),ge(ie,xe)};Le(Z,ie=>{!u().readOnly&&(h(f)===Ej||h(x)&&ia(c()))&&ie(Se)}),nt((ie,re)=>{H=hr(se,1,ie,"svelte-oawf7x",H,re),fn(se,"data-path",h(r)),fn(se,"aria-selected",h(x)),B=Ba(se,"",B,{"--level":h(g).length})},[()=>td(Uh("jse-json-node",{"jse-expanded":h(y)},u().onClassName(h(g),s()))),()=>({"jse-root":h(n),"jse-selected":h(x)&&ro(c()),"jse-selected-value":h(x)&&xn(c()),"jse-readonly":u().readOnly,"jse-hovered":h(f)===vD})],We),Xe("mousedown",se,function(ie){if((ie.buttons===1||ie.buttons===2)&&!((re=ie.target).nodeName==="DIV"&&re.contentEditable==="true"||ie.buttons===1&&Gz(ie.target,"BUTTON"))){var re;ie.stopPropagation(),ie.preventDefault(),u().focus(),document.addEventListener("mousemove",A,!0),document.addEventListener("mouseup",I);var xe=Sj(ie.target),R=u().getJson(),te=u().getDocumentState();if(!c()||xe===On.after||xe===On.inside||c().type!==xe&&c().type!==On.multi||!Xg(R,c(),h(g)))if(to(to().selecting=!0),to(to().selectionAnchor=h(g)),to(to().selectionAnchorType=xe),to(to().selectionFocus=h(g)),ie.shiftKey){var ne=u().getSelection();ne&&u().onSelect(Ns(Qd(ne),h(g)))}else if(xe===On.multi)if(h(n)&&ie.target.hasAttribute("data-path")){var Ce=qr(tF(s(),te));u().onSelect(h2(Ce))}else u().onSelect(Ns(h(g),h(g)));else R!==void 0&&u().onSelect(PD(xe,h(g)));else ie.button===0&&d()(ie)}}),Xe("mousemove",se,function(ie){if(to().selecting){ie.preventDefault(),ie.stopPropagation(),to().selectionFocus===void 0&&window.getSelection&&window.getSelection().empty();var re=Sj(ie.target);Hr(h(g),to().selectionFocus)&&re===to().selectionAnchorType||(to(to().selectionFocus=h(g)),to(to().selectionAnchorType=re),u().onSelect(Ns(to().selectionAnchor||to().selectionFocus,to().selectionFocus)))}}),Xe("mouseover",se,function(ie){to().selecting||to().dragging||(ie.stopPropagation(),Su(ie.target,"data-type","selectable-value")?$(f,vD):Su(ie.target,"data-type","selectable-key")?$(f,void 0):Su(ie.target,"data-type","insert-selection-area-inside")?$(f,wm):Su(ie.target,"data-type","insert-selection-area-after")&&$(f,Ej),clearTimeout(m))}),Xe("mouseout",se,function(ie){ie.stopPropagation(),m=window.setTimeout(()=>$(f,void 0))}),ge(e,se),Ht()}var nPe={prefix:"fas",iconName:"jsoneditor-expand",icon:[512,512,[],"","M 0,448 V 512 h 512 v -64 z M 0,0 V 64 H 512 V 0 Z M 256,96 128,224 h 256 z M 256,416 384,288 H 128 Z"]},oPe={prefix:"fas",iconName:"jsoneditor-collapse",icon:[512,512,[],"","m 0,224 v 64 h 512 v -64 z M 256,192 384,64 H 128 Z M 256,320 128,448 h 256 z"]},JD={prefix:"fas",iconName:"jsoneditor-format",icon:[512,512,[],"","M 0,32 v 64 h 416 v -64 z M 160,160 v 64 h 352 v -64 z M 160,288 v 64 h 288 v -64 z M 0,416 v 64 h 320 v -64 z"]},sPe={prefix:"fas",iconName:"jsoneditor-compact",icon:[512,512,[],"","M 0,32 v 64 h 512 v -64 z M 0,160 v 64 h 512 v -64 z M 0,288 v 64 h 352 v -64 z"]};function iPe(e,t){e.stopPropagation(),t.onCreateObject()}function aPe(e,t){e.stopPropagation(),t.onCreateArray()}or(`/* over all fonts, sizes, and colors */ + `).concat((_r=s().length===1?"item":"items")!==null&&_r!==void 0?_r:""))}),ge(St,Ve)},$$slots:{default:!0}}),ge(we,pt)};Ne(Ge,we=>{h(y)?we(_t):we(It,!1)});var vt=ke(Ue,2),sr=we=>{var pt=T3e();iu(fe(pt),{get root(){return h(n)},selected:!0,get onContextMenu(){return u().onContextMenu}}),ge(we,pt)};Ne(vt,we=>{!u().readOnly&&h(x)&&c()&&(xn(c())||ro(c()))&&!bi(c())&&Hr(Pt(c()),h(g))&&we(sr)});var P=ke(R,2),G=we=>{Kf(we,{get validationError(){return h(k)},onExpand:_})};Ne(P,we=>{!h(k)||h(y)&&h(k).isChildError||we(G)});var ee=ke(P,2),be=we=>{var pt=P3e();Xe("click",pt,X),ge(we,pt)},Me=we=>{var pt=I3e();Xe("click",pt,V),ge(we,pt)};Ne(ee,we=>{h(y)?we(be):we(Me,!1)});var Fe=ke(xe,2),Ze=we=>{var pt=R3e(),St=Kt(pt),rr=fe(St),Ve=Lr=>{var Sr,W,Ee=D3e();fn(Ee,"title",Aj);var wt=fe(Ee),br=We(()=>h(x)&&Os(c()));iu(wt,{insert:!0,get selected(){return h(br)},onContextMenu:J}),nt(wr=>{Sr=hr(Ee,1,"jse-insert-area jse-inside svelte-oawf7x",null,Sr,wr),W=Ba(Ee,"",W,{"--level":h(g).length+1})},[()=>({"jse-hovered":h(f)===wm,"jse-selected":h(x)&&Os(c())})],We),ge(Lr,Ee)};Ne(rr,Lr=>{!u().readOnly&&(h(f)===wm||h(x)&&Os(c()))&&Lr(Ve)}),Eo(ke(rr,2),1,()=>h(w)||Hf,Mo,(Lr,Sr,W)=>{var Ee=N3e(),wt=Kt(Ee);Eo(wt,1,()=>function(Gt,Pr,Dt){var mr=Pr.start,Cr=Math.min(Pr.end,Gt.length),nn=M6(mr,Cr);return Dt&&Dt.offset!==0?fD(nn,Dt.selectionStartIndex,Dt.selectionItemsCount,Dt.offset).map((Tn,en)=>({index:Tn,gutterIndex:en})):nn.map(Tn=>({index:Tn,gutterIndex:Tn}))}(s(),h(Sr),h(v)),Gt=>Gt.index,(Gt,Pr)=>{var Dt=vo(),mr=We(()=>Ts(a())?a().items[h(Pr).index]:void 0),Cr=We(()=>ID(u().getJson(),c(),h(g).concat(String(h(Pr).index)))),nn=Kt(Dt),Tn=We(()=>IT(o(),h(Pr).index)),en=We(()=>Ts(i())?i().items[h(Pr).index]:void 0),co=We(()=>Ts(l())?l().items[h(Pr).index]:void 0);j2(nn,{get value(){return s()[h(Pr).index]},get pointer(){return h(Tn)},get state(){return h(en)},get validationErrors(){return h(mr)},get searchResults(){return h(co)},get selection(){return h(Cr)},get context(){return u()},onDragSelectionStart:F,$$slots:{identifier:(Qn,Zn)=>{var bo=M3e(),uo=fe(bo),yn=fe(uo);nt(()=>Xt(yn,h(Pr).gutterIndex)),ge(Qn,bo)}}}),ge(Gt,Dt)});var br=ke(wt,2),wr=Gt=>{var Pr=We(()=>h(w)||Hf);x3e(Gt,{get visibleSections(){return h(Pr)},sectionIndex:W,get total(){return s().length},get path(){return h(g)},get onExpandSection(){return u().onExpandSection},get selection(){return c()},get context(){return u()}})};Ne(br,Gt=>{h(Sr).end{var Sr=L3e();Xe("click",Sr,V),ge(Lr,Sr)};Ne(_r,Lr=>{h(n)||Lr(Bn)}),ge(we,pt)};Ne(Fe,we=>{h(y)&&we(Ze)}),Xe("click",te,j),ge(ie,re)},D=(ie,re)=>{var xe=te=>{var ne=Q3e(),Ce=Kt(ne),me=fe(Ce),ae=fe(me),kt=fe(ae),ft=Ve=>{Wr(Ve,{data:Wu})},Ue=Ve=>{Wr(Ve,{data:Cg})};Ne(kt,Ve=>{h(y)?Ve(ft):Ve(Ue,!1)});var gt=ke(ae,2);_o(gt,t,"identifier",{},null);var Ge=ke(gt,2),_t=Ve=>{ge(Ve,q3e())};Ne(Ge,Ve=>{h(n)||Ve(_t)});var It=ke(Ge,2),vt=fe(It),sr=fe(vt),P=Ve=>{ge(Ve,z3e())},G=Ve=>{var Ft=F3e();gb(ke(Kt(Ft),2),{onclick:_,children:(_r,Bn)=>{var Lr=ds();nt((Sr,W)=>Xt(Lr,"".concat(Sr??"",` + `).concat(W??"")),[()=>Object.keys(s()).length,()=>Object.keys(s()).length===1?"prop":"props"],We),ge(_r,Lr)},$$slots:{default:!0}}),ge(Ve,Ft)};Ne(sr,Ve=>{h(y)?Ve(P):Ve(G,!1)});var ee=ke(It,2),be=Ve=>{var Ft=V3e();iu(fe(Ft),{get root(){return h(n)},selected:!0,get onContextMenu(){return u().onContextMenu}}),ge(Ve,Ft)};Ne(ee,Ve=>{!u().readOnly&&h(x)&&c()&&(xn(c())||ro(c()))&&!bi(c())&&Hr(Pt(c()),h(g))&&Ve(be)});var Me=ke(me,2),Fe=Ve=>{Kf(Ve,{get validationError(){return h(k)},onExpand:_})};Ne(Me,Ve=>{!h(k)||h(y)&&h(k).isChildError||Ve(Fe)});var Ze=ke(Me,2),we=Ve=>{var Ft=U3e();Xe("click",Ft,X),ge(Ve,Ft)},pt=(Ve,Ft)=>{var _r=Bn=>{var Lr=H3e();Xe("click",Lr,V),ge(Bn,Lr)};Ne(Ve,Bn=>{h(n)||Bn(_r)},Ft)};Ne(Ze,Ve=>{h(y)?Ve(we):Ve(pt,!1)});var St=ke(Ce,2),rr=Ve=>{var Ft=K3e(),_r=Kt(Ft),Bn=fe(_r),Lr=wt=>{var br,wr,Gt=W3e();fn(Gt,"title",Aj);var Pr=fe(Gt),Dt=We(()=>h(x)&&Os(c()));iu(Pr,{insert:!0,get selected(){return h(Dt)},onContextMenu:J}),nt(mr=>{br=hr(Gt,1,"jse-insert-area jse-inside svelte-oawf7x",null,br,mr),wr=Ba(Gt,"",wr,{"--level":h(g).length+1})},[()=>({"jse-hovered":h(f)===wm,"jse-selected":h(x)&&Os(c())})],We),ge(wt,Gt)};Ne(Bn,wt=>{!u().readOnly&&(h(f)===wm||h(x)&&Os(c()))&&wt(Lr)}),Eo(ke(Bn,2),1,()=>function(wt,br){var wr=Object.keys(wt);return br&&br.offset!==0?fD(wr,br.selectionStartIndex,br.selectionItemsCount,br.offset):wr}(s(),h(v)),Mo,(wt,br)=>{var wr=vo(),Gt=We(()=>IT(o(),h(br))),Pr=We(()=>Fa(l())?l().properties[h(br)]:void 0),Dt=We(()=>Fa(a())?a().properties[h(br)]:void 0),mr=We(()=>h(g).concat(h(br))),Cr=We(()=>ID(u().getJson(),c(),h(mr))),nn=Kt(wr),Tn=We(()=>Fa(i())?i().properties[h(br)]:void 0);j2(nn,{get value(){return s()[h(br)]},get pointer(){return h(Gt)},get state(){return h(Tn)},get validationErrors(){return h(Dt)},get searchResults(){return h(Pr)},get selection(){return h(Cr)},get context(){return u()},onDragSelectionStart:F,$$slots:{identifier:(en,co)=>{var Qn,Zn=G3e(),bo=fe(Zn),uo=We(()=>{return yn=h(Pr),(bn=xD(yn)?yn.searchResults.filter(Fn=>Fn.field===za.key):void 0)&&bn.length>0?bn:void 0;var yn,bn});(function(yn,bn){Ut(bn,!1);var Fn=he(void 0,!0),Qe=he(void 0,!0),Ir=T(bn,"pointer",9),De=T(bn,"key",9),ot=T(bn,"selection",9),Ot=T(bn,"searchResultItems",9),ur=T(bn,"onUpdateKey",9),Et=T(bn,"context",9),gr=he(void 0,!0);function Jr(Dr){h(Qe)||Et().readOnly||(Dr.preventDefault(),Et().onSelect(RE(h(gr))))}function xr(Dr,Or){var Tr=ur()(De(),Et().normalization.unescapeValue(Dr)),Xn=Xr(h(gr)).concat(Tr);Et().onSelect(Or===Du.nextInside?Ur(Xn):zc(Xn)),Or!==Du.self&&Et().focus()}function un(){Et().onSelect(zc(h(gr))),Et().focus()}$e(()=>de(Ir()),()=>{$(gr,da(Ir()))}),$e(()=>(de(ot()),h(gr)),()=>{$(Fn,rs(ot())&&Hr(ot().path,h(gr)))}),$e(()=>(h(Fn),de(ot())),()=>{$(Qe,h(Fn)&&bi(ot()))}),mn(),fr(!0);var Yt=_3e(),Ar=Kt(Yt),Jt=Dr=>{var Or=We(()=>Et().normalization.escapeValue(De())),Tr=We(()=>bi(ot())?ot().initialValue:void 0);iF(Dr,{get value(){return h(Or)},get initialValue(){return h(Tr)},label:"Edit key",shortText:!0,onChange:xr,onCancel:un,get onFind(){return Et().onFind}})},ir=Dr=>{var Or,Tr=j3e(),Xn=fe(Tr),_e=et=>{var Er=We(()=>Et().normalization.escapeValue(De()));fF(et,{get text(){return h(Er)},get searchResultItems(){return Ot()}})},Be=et=>{var Er=ds();nt(on=>Xt(Er,on),[()=>Sx(Et().normalization.escapeValue(De()))],We),ge(et,Er)};Ne(Xn,et=>{Ot()?et(_e):et(Be,!1)}),nt(et=>Or=hr(Tr,1,"jse-key svelte-2iqnqn",null,Or,et),[()=>({"jse-empty":De()===""})],We),Xe("dblclick",Tr,Jr),ge(Dr,Tr)};Ne(Ar,Dr=>{!Et().readOnly&&h(Qe)?Dr(Jt):Dr(ir,!1)});var _n=ke(Ar,2),Pn=Dr=>{iu(Dr,{selected:!0,get onContextMenu(){return Et().onContextMenu}})};Ne(_n,Dr=>{Et().readOnly||!h(Fn)||h(Qe)||Dr(Pn)}),ge(yn,Yt),Ht()})(bo,{get pointer(){return h(Gt)},get key(){return h(br)},get selection(){return h(Cr)},get searchResultItems(){return h(uo)},get context(){return u()},onUpdateKey:C}),nt(yn=>Qn=hr(Zn,1,"jse-key-outer svelte-oawf7x",null,Qn,yn),[()=>({"jse-selected-key":rs(h(Cr))&&Hr(h(Cr).path,h(mr))})],We),ge(en,Zn)}}}),ge(wt,wr)});var Sr=ke(_r,2),W=ke(fe(Sr),2),Ee=wt=>{var br=J3e();Xe("click",br,V),ge(wt,br)};Ne(W,wt=>{h(n)||wt(Ee)}),ge(Ve,Ft)};Ne(St,Ve=>{h(y)&&Ve(rr)}),Xe("click",ae,j),ge(te,ne)},R=te=>{var ne=ePe(),Ce=fe(ne),me=fe(Ce);_o(me,t,"identifier",{},null);var ae=ke(me,2),kt=ee=>{ge(ee,Z3e())};Ne(ae,ee=>{h(n)||ee(kt)});var ft=ke(ae,2),Ue=fe(ft),gt=We(()=>h(x)?c():void 0),Ge=We(()=>{return ee=l(),(be=xD(ee)?ee.searchResults.filter(Me=>Me.field===za.value):void 0)&&be.length>0?be:void 0;var ee,be});OF(Ue,{get path(){return h(g)},get value(){return s()},get enforceString(){return h(b)},get selection(){return h(gt)},get searchResultItems(){return h(Ge)},get context(){return u()}});var _t=ke(ft,2),It=ee=>{var be=X3e();iu(fe(be),{get root(){return h(n)},selected:!0,get onContextMenu(){return u().onContextMenu}}),ge(ee,be)};Ne(_t,ee=>{!u().readOnly&&h(x)&&c()&&(xn(c())||ro(c()))&&!bi(c())&&Hr(Pt(c()),h(g))&&ee(It)});var vt=ke(Ce,2),sr=ee=>{Kf(ee,{get validationError(){return h(k)},onExpand:_})};Ne(vt,ee=>{h(k)&&ee(sr)});var P=ke(vt,2),G=ee=>{var be=Y3e();Xe("click",be,V),ge(ee,be)};Ne(P,ee=>{h(n)||ee(G)}),ge(te,ne)};Ne(ie,te=>{hn(s())?te(xe):te(R,!1)},re)};Ne(q,ie=>{Array.isArray(s())?ie(O):ie(D,!1)});var Z=ke(q,2),Se=ie=>{var re,xe=tPe();fn(xe,"title",Aj);var R=fe(xe),te=We(()=>h(x)&&ia(c()));iu(R,{insert:!0,get selected(){return h(te)},onContextMenu:oe}),nt(ne=>re=hr(xe,1,"jse-insert-area jse-after svelte-oawf7x",null,re,ne),[()=>({"jse-hovered":h(f)===Ej,"jse-selected":h(x)&&ia(c())})],We),ge(ie,xe)};Ne(Z,ie=>{!u().readOnly&&(h(f)===Ej||h(x)&&ia(c()))&&ie(Se)}),nt((ie,re)=>{H=hr(se,1,ie,"svelte-oawf7x",H,re),fn(se,"data-path",h(r)),fn(se,"aria-selected",h(x)),B=Ba(se,"",B,{"--level":h(g).length})},[()=>td(Uh("jse-json-node",{"jse-expanded":h(y)},u().onClassName(h(g),s()))),()=>({"jse-root":h(n),"jse-selected":h(x)&&ro(c()),"jse-selected-value":h(x)&&xn(c()),"jse-readonly":u().readOnly,"jse-hovered":h(f)===vD})],We),Xe("mousedown",se,function(ie){if((ie.buttons===1||ie.buttons===2)&&!((re=ie.target).nodeName==="DIV"&&re.contentEditable==="true"||ie.buttons===1&&Gz(ie.target,"BUTTON"))){var re;ie.stopPropagation(),ie.preventDefault(),u().focus(),document.addEventListener("mousemove",A,!0),document.addEventListener("mouseup",I);var xe=Sj(ie.target),R=u().getJson(),te=u().getDocumentState();if(!c()||xe===On.after||xe===On.inside||c().type!==xe&&c().type!==On.multi||!Xg(R,c(),h(g)))if(to(to().selecting=!0),to(to().selectionAnchor=h(g)),to(to().selectionAnchorType=xe),to(to().selectionFocus=h(g)),ie.shiftKey){var ne=u().getSelection();ne&&u().onSelect(Ls(Qd(ne),h(g)))}else if(xe===On.multi)if(h(n)&&ie.target.hasAttribute("data-path")){var Ce=qr(tF(s(),te));u().onSelect(h2(Ce))}else u().onSelect(Ls(h(g),h(g)));else R!==void 0&&u().onSelect(PD(xe,h(g)));else ie.button===0&&d()(ie)}}),Xe("mousemove",se,function(ie){if(to().selecting){ie.preventDefault(),ie.stopPropagation(),to().selectionFocus===void 0&&window.getSelection&&window.getSelection().empty();var re=Sj(ie.target);Hr(h(g),to().selectionFocus)&&re===to().selectionAnchorType||(to(to().selectionFocus=h(g)),to(to().selectionAnchorType=re),u().onSelect(Ls(to().selectionAnchor||to().selectionFocus,to().selectionFocus)))}}),Xe("mouseover",se,function(ie){to().selecting||to().dragging||(ie.stopPropagation(),Su(ie.target,"data-type","selectable-value")?$(f,vD):Su(ie.target,"data-type","selectable-key")?$(f,void 0):Su(ie.target,"data-type","insert-selection-area-inside")?$(f,wm):Su(ie.target,"data-type","insert-selection-area-after")&&$(f,Ej),clearTimeout(m))}),Xe("mouseout",se,function(ie){ie.stopPropagation(),m=window.setTimeout(()=>$(f,void 0))}),ge(e,se),Ht()}var nPe={prefix:"fas",iconName:"jsoneditor-expand",icon:[512,512,[],"","M 0,448 V 512 h 512 v -64 z M 0,0 V 64 H 512 V 0 Z M 256,96 128,224 h 256 z M 256,416 384,288 H 128 Z"]},oPe={prefix:"fas",iconName:"jsoneditor-collapse",icon:[512,512,[],"","m 0,224 v 64 h 512 v -64 z M 256,192 384,64 H 128 Z M 256,320 128,448 h 256 z"]},JD={prefix:"fas",iconName:"jsoneditor-format",icon:[512,512,[],"","M 0,32 v 64 h 416 v -64 z M 160,160 v 64 h 352 v -64 z M 160,288 v 64 h 288 v -64 z M 0,416 v 64 h 320 v -64 z"]},sPe={prefix:"fas",iconName:"jsoneditor-compact",icon:[512,512,[],"","M 0,32 v 64 h 512 v -64 z M 0,160 v 64 h 512 v -64 z M 0,288 v 64 h 352 v -64 z"]};function iPe(e,t){e.stopPropagation(),t.onCreateObject()}function aPe(e,t){e.stopPropagation(),t.onCreateArray()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -2339,7 +2339,7 @@ button.jse-validation-warning.svelte-1a8aobl { .jse-navigation-bar-dropdown.svelte-2nnd2m button.jse-navigation-bar-dropdown-item.jse-selected:where(.svelte-2nnd2m) { background: var(--jse-navigation-bar-dropdown-color, #656565); color: var(--jse-navigation-bar-background, var(--jse-background-color, #fff)); -}`);var dPe=Pe(''),pPe=Pe(''),fPe=Pe('
');function hPe(e,t){Ut(t,!1);var r=T(t,"items",9),n=T(t,"selectedItem",9),o=T(t,"onSelect",9);fr(!0);var s=fPe(),i=fe(s);Eo(i,1,()=>Rz(r(),100),c=>c,(c,u)=>{var d,p=dPe(),f=fe(p);nt((m,v,g)=>{d=hr(p,1,"jse-navigation-bar-dropdown-item svelte-2nnd2m",null,d,m),fn(p,"title",v),Xt(f,g)},[()=>({"jse-selected":h(u)===n()}),()=>h(u).toString(),()=>Gg(h(u).toString(),30)],We),Xe("click",p,ac(()=>o()(h(u)))),ge(c,p)});var a=ke(i,2),l=c=>{var u=pPe();fn(u,"title","Limited to ".concat(100," items")),ge(c,u)};Le(a,c=>{r().length>100&&c(l)}),ge(e,s),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var dPe=Pe(''),pPe=Pe(''),fPe=Pe('
');function hPe(e,t){Ut(t,!1);var r=T(t,"items",9),n=T(t,"selectedItem",9),o=T(t,"onSelect",9);fr(!0);var s=fPe(),i=fe(s);Eo(i,1,()=>Rz(r(),100),c=>c,(c,u)=>{var d,p=dPe(),f=fe(p);nt((m,v,g)=>{d=hr(p,1,"jse-navigation-bar-dropdown-item svelte-2nnd2m",null,d,m),fn(p,"title",v),Xt(f,g)},[()=>({"jse-selected":h(u)===n()}),()=>h(u).toString(),()=>Gg(h(u).toString(),30)],We),Xe("click",p,ac(()=>o()(h(u)))),ge(c,p)});var a=ke(i,2),l=c=>{var u=pPe();fn(u,"title","Limited to ".concat(100," items")),ge(c,u)};Ne(a,c=>{r().length>100&&c(l)}),ge(e,s),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -2387,7 +2387,7 @@ button.jse-validation-warning.svelte-1a8aobl { } .jse-navigation-bar-item.svelte-752ro1:last-child { padding-right: var(--jse-padding, 10px); -}`);var mPe=Pe(''),gPe=Pe('
');function KD(e,t){Ut(t,!1);var r,n=he(void 0,!0),o=he(void 0,!0),{openAbsolutePopup:s,closeAbsolutePopup:i}=pd("absolute-popup"),a=T(t,"path",9),l=T(t,"index",9),c=T(t,"onSelect",9),u=T(t,"getItems",9),d=he(void 0,!0),p=he(!1,!0);function f(w){i(r),c()(h(n).concat(w))}$e(()=>(de(a()),de(l())),()=>{$(n,a().slice(0,l()))}),$e(()=>(de(a()),de(l())),()=>{$(o,a()[l()])}),mn(),fr(!0);var m,v=gPe(),g=fe(v);Wr(fe(g),{data:V6});var y=ke(g,2),b=w=>{var k=mPe(),x=fe(k);nt(()=>Xt(x,h(o))),Xe("click",k,()=>f(h(o))),ge(w,k)};Le(y,w=>{h(o)!==void 0&&w(b)}),no(v,w=>$(d,w),()=>h(d)),nt(w=>m=hr(g,1,"jse-navigation-bar-button jse-navigation-bar-arrow svelte-752ro1",null,m,w),[()=>({"jse-open":h(p)})],We),Xe("click",g,function(){if(h(d)){$(p,!0);var w={items:u()(h(n)),selectedItem:h(o),onSelect:f};r=s(hPe,w,{anchor:h(d),closeOnOuterClick:!0,onClose:()=>{$(p,!1)}})}}),ge(e,v),Ht()}function UE(e){var t,r;if(navigator.clipboard)return navigator.clipboard.writeText(e);if((t=(r=document).queryCommandSupported)!==null&&t!==void 0&&t.call(r,"copy")){var n=document.createElement("textarea");n.value=e,n.style.position="fixed",n.style.opacity="0",document.body.appendChild(n),n.select();try{document.execCommand("copy")}catch(o){console.error(o)}finally{document.body.removeChild(n)}return Promise.resolve()}return console.error("Copy failed."),Promise.resolve()}or(`/* over all fonts, sizes, and colors */ +}`);var mPe=Pe(''),gPe=Pe('
');function KD(e,t){Ut(t,!1);var r,n=he(void 0,!0),o=he(void 0,!0),{openAbsolutePopup:s,closeAbsolutePopup:i}=pd("absolute-popup"),a=T(t,"path",9),l=T(t,"index",9),c=T(t,"onSelect",9),u=T(t,"getItems",9),d=he(void 0,!0),p=he(!1,!0);function f(w){i(r),c()(h(n).concat(w))}$e(()=>(de(a()),de(l())),()=>{$(n,a().slice(0,l()))}),$e(()=>(de(a()),de(l())),()=>{$(o,a()[l()])}),mn(),fr(!0);var m,v=gPe(),g=fe(v);Wr(fe(g),{data:V6});var y=ke(g,2),b=w=>{var k=mPe(),x=fe(k);nt(()=>Xt(x,h(o))),Xe("click",k,()=>f(h(o))),ge(w,k)};Ne(y,w=>{h(o)!==void 0&&w(b)}),no(v,w=>$(d,w),()=>h(d)),nt(w=>m=hr(g,1,"jse-navigation-bar-button jse-navigation-bar-arrow svelte-752ro1",null,m,w),[()=>({"jse-open":h(p)})],We),Xe("click",g,function(){if(h(d)){$(p,!0);var w={items:u()(h(n)),selectedItem:h(o),onSelect:f};r=s(hPe,w,{anchor:h(d),closeOnOuterClick:!0,onClose:()=>{$(p,!1)}})}}),ge(e,v),Ht()}function UE(e){var t,r;if(navigator.clipboard)return navigator.clipboard.writeText(e);if((t=(r=document).queryCommandSupported)!==null&&t!==void 0&&t.call(r,"copy")){var n=document.createElement("textarea");n.value=e,n.style.position="fixed",n.style.opacity="0",document.body.appendChild(n),n.select();try{document.execCommand("copy")}catch(o){console.error(o)}finally{document.body.removeChild(n)}return Promise.resolve()}return console.error("Copy failed."),Promise.resolve()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -2449,7 +2449,7 @@ button.jse-validation-warning.svelte-1a8aobl { margin: 2px; padding: 0 5px; border-radius: 3px; -}`);var vPe=Pe(''),yPe=Pe('
Copied!
'),bPe=Pe('
');function wPe(e,t){Ut(t,!1);var r=he(),n=pd("absolute-popup"),o=T(t,"path",8),s=T(t,"pathParser",8),i=T(t,"onChange",8),a=T(t,"onClose",8),l=T(t,"onError",8),c=T(t,"pathExists",8),u=he(),d=he(),p=he(!1),f=void 0,m=he(!1);function v(){h(u).focus()}function g(I){try{var M=s().parse(I);return function(N){if(!c()(N))throw new Error("Path does not exist in current document")}(M),{path:M,error:void 0}}catch(N){return{path:void 0,error:N}}}Is(()=>{v()}),va(()=>{clearTimeout(f)}),$e(()=>(de(s()),de(o())),()=>{$(d,s().stringify(o()))}),$e(()=>(h(p),h(d)),()=>{$(r,h(p)?g(h(d)).error:void 0)}),mn(),fr();var y,b=bPe(),w=fe(b);no(w,I=>$(u,I),()=>h(u));var k=ke(w,2),x=I=>{var M=vPe();Wr(fe(M),{data:sp}),Vs(M,(N,F)=>Oc==null?void 0:Oc(N,F),()=>rt({text:String(h(r)||"")},n)),ge(I,M)};Le(k,I=>{h(r)&&I(x)});var j=ke(k,2),_=I=>{ge(I,yPe())};Le(j,I=>{h(m)&&I(_)});var C,A=ke(j,2);Wr(fe(A),{data:bu}),nt((I,M)=>{y=hr(b,1,"jse-navigation-bar-path-editor svelte-zc2wx7",null,y,I),fp(w,h(d)),C=hr(A,1,"jse-navigation-bar-copy svelte-zc2wx7",null,C,M)},[()=>({error:h(r)}),()=>({copied:h(m)})],We),Xe("keydown",w,ac(function(I){var M=Bc(I);if(M==="Escape"&&(I.preventDefault(),a()()),M==="Enter"){I.preventDefault(),$(p,!0);var N=g(h(d));N.path!==void 0?i()(N.path):l()(N.error)}})),Xe("input",w,function(I){$(d,I.currentTarget.value)}),Xe("click",A,function(){UE(h(d)),$(m,!0),f=window.setTimeout(()=>$(m,!1),1e3),v()}),ge(e,b),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var vPe=Pe(''),yPe=Pe('
Copied!
'),bPe=Pe('
');function wPe(e,t){Ut(t,!1);var r=he(),n=pd("absolute-popup"),o=T(t,"path",8),s=T(t,"pathParser",8),i=T(t,"onChange",8),a=T(t,"onClose",8),l=T(t,"onError",8),c=T(t,"pathExists",8),u=he(),d=he(),p=he(!1),f=void 0,m=he(!1);function v(){h(u).focus()}function g(I){try{var M=s().parse(I);return function(L){if(!c()(L))throw new Error("Path does not exist in current document")}(M),{path:M,error:void 0}}catch(L){return{path:void 0,error:L}}}Is(()=>{v()}),va(()=>{clearTimeout(f)}),$e(()=>(de(s()),de(o())),()=>{$(d,s().stringify(o()))}),$e(()=>(h(p),h(d)),()=>{$(r,h(p)?g(h(d)).error:void 0)}),mn(),fr();var y,b=bPe(),w=fe(b);no(w,I=>$(u,I),()=>h(u));var k=ke(w,2),x=I=>{var M=vPe();Wr(fe(M),{data:sp}),Vs(M,(L,F)=>Oc==null?void 0:Oc(L,F),()=>rt({text:String(h(r)||"")},n)),ge(I,M)};Ne(k,I=>{h(r)&&I(x)});var j=ke(k,2),_=I=>{ge(I,yPe())};Ne(j,I=>{h(m)&&I(_)});var C,A=ke(j,2);Wr(fe(A),{data:bu}),nt((I,M)=>{y=hr(b,1,"jse-navigation-bar-path-editor svelte-zc2wx7",null,y,I),fp(w,h(d)),C=hr(A,1,"jse-navigation-bar-copy svelte-zc2wx7",null,C,M)},[()=>({error:h(r)}),()=>({copied:h(m)})],We),Xe("keydown",w,ac(function(I){var M=Bc(I);if(M==="Escape"&&(I.preventDefault(),a()()),M==="Enter"){I.preventDefault(),$(p,!0);var L=g(h(d));L.path!==void 0?i()(L.path):l()(L.error)}})),Xe("input",w,function(I){$(d,I.currentTarget.value)}),Xe("click",A,function(){UE(h(d)),$(m,!0),f=window.setTimeout(()=>$(m,!1),1e3),v()}),ge(e,b),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -2503,7 +2503,7 @@ button.jse-validation-warning.svelte-1a8aobl { .jse-navigation-bar.svelte-xs03gj .jse-navigation-bar-edit:where(.svelte-xs03gj) .jse-navigation-bar-space:where(.svelte-xs03gj) { flex: 1; text-align: left; -}`);var xPe=Pe(" ",1),kPe=Pe('
');function jPe(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),o=ss("jsoneditor:NavigationBar"),s=T(t,"json",9),i=T(t,"selection",9),a=T(t,"onSelect",9),l=T(t,"onError",9),c=T(t,"pathParser",9),u=he(void 0,!0),d=he(!1,!0);function p(M){o("get items for path",M);var N=bt(s(),M);if(Array.isArray(N))return M6(0,N.length).map(String);if(hn(N)){var F=Object.keys(N).slice(0);return F.sort(_2),F}return[]}function f(M){return oa(s(),M)}function m(M){o("select path",JSON.stringify(M)),a()(Ns(M,M))}function v(){$(d,!1)}function g(M){v(),m(M)}$e(()=>(de(i()),Pt),()=>{$(r,i()?Pt(i()):[])}),$e(()=>(de(s()),h(r)),()=>{$(n,Po(bt(s(),h(r))))}),$e(()=>h(r),()=>{h(r),setTimeout(()=>{if(h(u)&&h(u).scrollTo){var M=h(u).scrollWidth-h(u).clientWidth;M>0&&(o("scrollTo ",M),h(u).scrollTo({left:M,behavior:"smooth"}))}})}),mn(),fr(!0);var y=kPe(),b=fe(y),w=M=>{var N=xPe(),F=Kt(N);Eo(F,1,()=>h(r),Mo,(X,V,J)=>{KD(X,{getItems:p,get path(){return h(r)},index:J,onSelect:m})});var z=ke(F,2),L=X=>{KD(X,{getItems:p,get path(){return h(r)},get index(){return h(r).length},onSelect:m})};Le(z,X=>{h(n)&&X(L)}),ge(M,N)},k=M=>{wPe(M,{get path(){return h(r)},onClose:v,onChange:g,get onError(){return l()},pathExists:f,get pathParser(){return c()}})};Le(b,M=>{h(d)?M(k,!1):M(w)});var x,j=ke(b,2),_=fe(j),C=fe(_),A=ke(_,2),I=We(()=>h(d)?eke:Nxe);Wr(A,{get data(){return h(I)}}),no(y,M=>$(u,M),()=>h(u)),nt((M,N)=>{x=hr(j,1,"jse-navigation-bar-edit svelte-xs03gj",null,x,M),fn(j,"title",h(d)?"Cancel editing the selected path":"Edit the selected path"),Xt(C,N)},[()=>({flex:!h(d),editing:h(d)}),()=>Po(s())||h(d)?" ":"Navigation bar"],We),Xe("click",j,function(){$(d,!h(d))}),ge(e,y),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var xPe=Pe(" ",1),kPe=Pe('
');function jPe(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),o=ss("jsoneditor:NavigationBar"),s=T(t,"json",9),i=T(t,"selection",9),a=T(t,"onSelect",9),l=T(t,"onError",9),c=T(t,"pathParser",9),u=he(void 0,!0),d=he(!1,!0);function p(M){o("get items for path",M);var L=bt(s(),M);if(Array.isArray(L))return M6(0,L.length).map(String);if(hn(L)){var F=Object.keys(L).slice(0);return F.sort(_2),F}return[]}function f(M){return oa(s(),M)}function m(M){o("select path",JSON.stringify(M)),a()(Ls(M,M))}function v(){$(d,!1)}function g(M){v(),m(M)}$e(()=>(de(i()),Pt),()=>{$(r,i()?Pt(i()):[])}),$e(()=>(de(s()),h(r)),()=>{$(n,Po(bt(s(),h(r))))}),$e(()=>h(r),()=>{h(r),setTimeout(()=>{if(h(u)&&h(u).scrollTo){var M=h(u).scrollWidth-h(u).clientWidth;M>0&&(o("scrollTo ",M),h(u).scrollTo({left:M,behavior:"smooth"}))}})}),mn(),fr(!0);var y=kPe(),b=fe(y),w=M=>{var L=xPe(),F=Kt(L);Eo(F,1,()=>h(r),Mo,(X,V,J)=>{KD(X,{getItems:p,get path(){return h(r)},index:J,onSelect:m})});var z=ke(F,2),N=X=>{KD(X,{getItems:p,get path(){return h(r)},get index(){return h(r).length},onSelect:m})};Ne(z,X=>{h(n)&&X(N)}),ge(M,L)},k=M=>{wPe(M,{get path(){return h(r)},onClose:v,onChange:g,get onError(){return l()},pathExists:f,get pathParser(){return c()}})};Ne(b,M=>{h(d)?M(k,!1):M(w)});var x,j=ke(b,2),_=fe(j),C=fe(_),A=ke(_,2),I=We(()=>h(d)?eke:Lxe);Wr(A,{get data(){return h(I)}}),no(y,M=>$(u,M),()=>h(u)),nt((M,L)=>{x=hr(j,1,"jse-navigation-bar-edit svelte-xs03gj",null,x,M),fn(j,"title",h(d)?"Cancel editing the selected path":"Edit the selected path"),Xt(C,L)},[()=>({flex:!h(d),editing:h(d)}),()=>Po(s())||h(d)?" ":"Navigation bar"],We),Xe("click",j,function(){$(d,!h(d))}),ge(e,y),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -2618,7 +2618,7 @@ button.jse-validation-warning.svelte-1a8aobl { } .jse-search-box.svelte-1mxl2uo .jse-search-form:where(.svelte-1mxl2uo) .jse-search-contents:where(.svelte-1mxl2uo) .jse-replace-section:where(.svelte-1mxl2uo) button:where(.svelte-1mxl2uo) { width: auto; -}`);var _Pe=Pe(''),SPe=Pe('
'),CPe=Pe('');function TF(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),o=he(void 0,!0),s=ss("jsoneditor:SearchBox"),i=T(t,"json",9),a=T(t,"documentState",9),l=T(t,"parser",9),c=T(t,"showSearch",9),u=T(t,"showReplace",13),d=T(t,"readOnly",9),p=T(t,"columns",9),f=T(t,"onSearch",9),m=T(t,"onFocus",9),v=T(t,"onPatch",9),g=T(t,"onClose",9),y=he("",!0),b="",w=he("",!0),k=he(!1,!0),x=he(void 0,!0),j=Kb(function(ne){return D.apply(this,arguments)},300),_=Kb(function(ne){return Z.apply(this,arguments)},300);function C(){u(!u()&&!d())}function A(ne){ne.stopPropagation();var Ce=Bc(ne);Ce==="Enter"&&(ne.preventDefault(),h(y)!==b?j.flush():J()),Ce==="Shift+Enter"&&(ne.preventDefault(),H()),Ce==="Ctrl+Enter"&&(ne.preventDefault(),u()?F():J()),Ce==="Ctrl+H"&&(ne.preventDefault(),C()),Ce==="Escape"&&(ne.preventDefault(),re())}function I(ne){Bc(ne)==="Enter"&&(ne.preventDefault(),ne.stopPropagation(),F())}function M(){return N.apply(this,arguments)}function N(){return(N=pr(function*(){so(),yield j.flush()})).apply(this,arguments)}function F(){return z.apply(this,arguments)}function z(){return(z=pr(function*(){var ne;if(!d()){var Ce=(ne=h(x))===null||ne===void 0?void 0:ne.activeItem;if(s("handleReplace",{replaceText:h(w),activeItem:Ce}),h(x)&&Ce&&i()!==void 0){$(x,rt(rt({},DD(h(x))),{},{activeIndex:h(n)}));var{operations:me,newSelection:ae}=Z$e(i(),a(),h(w),Ce,l());v()(me,(kt,ft)=>({state:ft,selection:ae})),so(),yield _.flush(),yield se()}}})).apply(this,arguments)}function L(){return X.apply(this,arguments)}function X(){return(X=pr(function*(){if(!d()){s("handleReplaceAll",{text:h(y),replaceText:h(w)});var{operations:ne,newSelection:Ce}=function(me,ae,kt,ft,Ue){for(var gt=MD(kt,me,{maxResults:1/0}),Ge=[],_t=0;_tG.field!==ee.field?G.field===za.key?1:-1:ee.path.length-G.path.length);var sr,P=[];return Ge.forEach(G=>{var{field:ee,path:be,items:Me}=G;if(ee===za.key){var Fe=Xr(be),Ze=bt(me,Fe),we=qr(be),pt=Vv(Fe,Object.keys(Ze),we,ND(we,ft,Me));P=P.concat(pt),sr=bh(me,pt)}else{if(ee!==za.value)throw new Error("Cannot replace: unknown type of search result field ".concat(ee));var St=bt(me,be);if(St===void 0)throw new Error("Cannot replace: path not found ".concat(Wt(be)));var rr=typeof St=="string"?St:String(St),Ve=Cc(me,ae,be),Ft=ND(rr,ft,Me),_r=[{op:"replace",path:Wt(be),value:Ve?Ft:Fh(Ft,Ue)}];P=P.concat(_r),sr=bh(me,_r)}}),{operations:P,newSelection:sr}}(i(),a(),h(y),h(w),l());v()(ne,(me,ae)=>({state:ae,selection:Ce})),yield se()}})).apply(this,arguments)}function V(ne){ne.select()}function J(){return oe.apply(this,arguments)}function oe(){return(oe=pr(function*(){$(x,h(x)?DD(h(x)):void 0),yield se()})).apply(this,arguments)}function H(){return B.apply(this,arguments)}function B(){return B=pr(function*(){$(x,h(x)?function(ne){var Ce=ne.activeIndex>0?ne.activeIndex-1:ne.items.length-1,me=ne.items[Ce],ae=ne.items.map((kt,ft)=>rt(rt({},kt),{},{active:ft===Ce}));return rt(rt({},ne),{},{items:ae,activeItem:me,activeIndex:Ce})}(h(x)):void 0),yield se()}),B.apply(this,arguments)}function se(){return q.apply(this,arguments)}function q(){return(q=pr(function*(){var ne;s("handleFocus",h(x));var Ce=(ne=h(x))===null||ne===void 0?void 0:ne.activeItem;Ce&&i()!==void 0&&(yield m()(Ce.path,Ce.resultIndex))})).apply(this,arguments)}function O(){return O=pr(function*(ne){yield Se(ne,h(y),i())}),O.apply(this,arguments)}function D(){return D=pr(function*(ne){yield Se(c(),ne,i()),yield se()}),D.apply(this,arguments)}function Z(){return Z=pr(function*(ne){yield Se(c(),h(y),ne)}),Z.apply(this,arguments)}function Se(ne,Ce,me){return ie.apply(this,arguments)}function ie(){return ie=pr(function*(ne,Ce,me){return ne?(s("applySearch",{showSearch:ne,text:Ce}),Ce===""?(s("clearing search result"),h(x)!==void 0&&$(x,void 0),Promise.resolve()):(b=Ce,$(k,!0),new Promise(ae=>{setTimeout(()=>{var kt=MD(Ce,me,{maxResults:Cj,columns:p()});$(x,function(ft,Ue){var gt=Ue!=null&&Ue.activeItem?RD(Ue.activeItem):void 0,Ge=ft.findIndex(vt=>Hr(gt,RD(vt))),_t=Ge!==-1?Ge:(Ue==null?void 0:Ue.activeIndex)!==void 0&&(Ue==null?void 0:Ue.activeIndex)0?0:-1,It=ft.map((vt,sr)=>rt(rt({resultIndex:sr},vt),{},{active:sr===_t}));return{items:It,activeItem:It[_t],activeIndex:_t}}(kt,h(x))),$(k,!1),ae()})}))):(h(x)&&$(x,void 0),Promise.resolve())}),ie.apply(this,arguments)}function re(){s("handleClose"),j.cancel(),_.cancel(),Se(!1,h(y),i()),g()()}$e(()=>h(x),()=>{var ne;$(r,((ne=h(x))===null||ne===void 0||(ne=ne.items)===null||ne===void 0?void 0:ne.length)||0)}),$e(()=>h(x),()=>{var ne;$(n,((ne=h(x))===null||ne===void 0?void 0:ne.activeIndex)||0)}),$e(()=>(h(r),Cj),()=>{$(o,h(r)>=Cj?"".concat(999,"+"):String(h(r)))}),$e(()=>(de(f()),h(x)),()=>{f()(h(x))}),$e(()=>de(c()),()=>{(function(ne){O.apply(this,arguments)})(c())}),$e(()=>h(y),()=>{j(h(y))}),$e(()=>de(i()),()=>{_(i())}),mn(),fr(!0);var xe=vo(),R=Kt(xe),te=ne=>{var Ce=CPe(),me=fe(Ce),ae=fe(me),kt=we=>{var pt=_Pe(),St=fe(pt),rr=We(()=>u()?Wu:Cg);Wr(St,{get data(){return h(rr)}}),Xe("click",pt,C),ge(we,pt)};Le(ae,we=>{d()||we(kt)});var ft=fe(ke(ae,2)),Ue=fe(ft),gt=fe(Ue),Ge=we=>{Wr(we,{data:$xe,spin:!0})},_t=we=>{Wr(we,{data:Kw})};Le(gt,we=>{h(k)?we(Ge):we(_t,!1)});var It=ke(Ue,2),vt=fe(It);ws(()=>M1(vt,()=>h(y),we=>$(y,we))),Vs(vt,we=>V==null?void 0:V(we)),ws(()=>Xe("paste",vt,M));var sr,P=ke(It,2),G=fe(P),ee=ke(P,2);Wr(fe(ee),{data:Yxe});var be=ke(ee,2);Wr(fe(be),{data:Rxe});var Me=ke(be,2);Wr(fe(Me),{data:Qw});var Fe=ke(ft,2),Ze=we=>{var pt=SPe(),St=fe(pt),rr=ke(St,2),Ve=ke(rr,2);M1(St,()=>h(w),Ft=>$(w,Ft)),Xe("keydown",St,I),Xe("click",rr,F),Xe("click",Ve,L),ge(we,pt)};Le(Fe,we=>{u()&&!d()&&we(Ze)}),nt(we=>{var pt,St;sr=hr(P,1,"jse-search-count svelte-1mxl2uo",null,sr,we),Xt(G,"".concat((pt=h(n)!==-1&&h(n)({"jse-visible":h(y)!==""})],We),Xe("click",ee,J),Xe("click",be,H),Xe("click",Me,re),Xe("keydown",me,A),ge(ne,Ce)};Le(R,ne=>{c()&&ne(te)}),ge(e,xe),Ht()}var rv=Symbol("path");function APe(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1/0,n={};Array.isArray(e)&&function(s,i,a){if(s.length1?(s.length-1)/(i-1):s.length,c=0;c{hn(s)?PF(s,n,t):n[rv]=!0});var o=[];return rv in n&&o.push([]),IF(n,[],o,t),o}function PF(e,t,r){for(var n in e){var o=e[n],s=t[n]||(t[n]={});hn(o)&&r?PF(o,s,r):s[rv]===void 0&&(s[rv]=!0)}}function IF(e,t,r,n){for(var o in e){var s=t.concat(o),i=e[o];i&&i[rv]===!0&&r.push(s),Do(i)&&n&&IF(i,s,r,n)}}function EPe(e,t,r,n,o,s){for(var i=arguments.length>6&&arguments[6]!==void 0?arguments[6]:80,a=Ao(r)?r.length:0,l=function(b,w){var k=Object.values(b);if(En(k))return w;var x=(j,_)=>j+_;return k.reduce(x)/k.length}(n,o),c=e-i,u=t+2*i,d=b=>n[b]||o,p=0,f=s;f0&&(f-=d(--p));for(var m=p,v=0;vqc(n,s))}}function jd(e,t){var{rowIndex:r,columnIndex:n}=e;return[String(r),...t[n]]}function OPe(e,t){var[r,n]=rxe(e,i=>kE(i.path[0])),o=Uwe(r,$Pe),s=Qwe(o,i=>{var a={row:[],columns:{}};return i.forEach(l=>{var c=function(u,d){var p=Qi(u.path,d);return p.columnIndex!==-1?p.columnIndex:-1}(l,t);c!==-1?(a.columns[c]===void 0&&(a.columns[c]=[]),a.columns[c].push(l)):a.row.push(l)}),a});return{root:n,rows:s}}function zj(e,t){if(t&&t.length!==0)return t.length===1?t[0]:{path:e,message:"Multiple validation issues: "+t.map(r=>Ma(r.path)+" "+r.message).join(", "),severity:qa.warning}}function $Pe(e){return parseInt(e.path[0],10)}function TPe(e,t,r){var n=t.some(o=>function(s,i,a){if(!s)return!1;if(i.op==="replace"){var l=da(i.path),{rowIndex:c,columnIndex:u}=Qi(l,a),d=a.findIndex(p=>Hr(p,s.path));if(c!==-1&&u!==-1&&u!==d)return!1}return!0}(e,o,r));return n?void 0:e}var qs=ss("jsoneditor:actions");function DF(e){return S2.apply(this,arguments)}function S2(){return S2=pr(function*(e){var{json:t,selection:r,indentation:n,readOnly:o,parser:s,onPatch:i}=e;if(!o&&t!==void 0&&r&&Ef(r)){var a=oF(t,r,n,s);if(a!==void 0){qs("cut",{selection:r,clipboard:a,indentation:n}),yield UE(a);var{operations:l,newSelection:c}=uF(t,r);i(l,(u,d)=>({state:d,selection:c}))}}}),S2.apply(this,arguments)}function MF(e){return C2.apply(this,arguments)}function C2(){return C2=pr(function*(e){var{json:t,selection:r,indentation:n,parser:o}=e,s=oF(t,r,n,o);s!==void 0&&(qs("copy",{clipboard:s,indentation:n}),yield UE(s))}),C2.apply(this,arguments)}function LF(e){var{clipboardText:t,json:r,selection:n,readOnly:o,parser:s,onPatch:i,onChangeText:a,openRepairModal:l}=e;if(!o)try{c(t)}catch{l(t,u=>{qs("repaired pasted text: ",u),c(u)})}function c(u){if(r!==void 0){var d=n||Ur([]),p=cF(r,d,u,s);qs("paste",{pastedText:u,operations:p,ensureSelection:d}),i(p,(f,m)=>{var v=m;return p.filter(g=>(J5(g)||uA(g))&&Po(g.value)).forEach(g=>{var y=Ra(r,g.path);v=mp(f,v,y)}),{state:v}})}else qs("paste text",{pastedText:u}),a(t,(f,m)=>{if(f)return{state:mp(f,m,[])}})}}function NF(e){var{json:t,text:r,selection:n,keepSelection:o,readOnly:s,onChange:i,onPatch:a}=e;if(!s&&n){var l=t!==void 0&&(rs(n)||xn(n))?Ns(n.path,n.path):n;if(En(Pt(n)))qs("remove root",{selection:n}),i&&i({text:"",json:void 0},t!==void 0?{text:void 0,json:t}:{text:r||"",json:t},{contentErrors:void 0,patchResult:void 0});else if(t!==void 0){var{operations:c,newSelection:u}=uF(t,l);qs("remove",{operations:c,selection:n,newSelection:u}),a(c,(d,p)=>({state:p,selection:o?n:u}))}}}function G1(e){var{insertType:t,selectInside:r,initialValue:n,json:o,selection:s,readOnly:i,parser:a,onPatch:l,onReplaceJson:c}=e;if(!i){var u=function(v,g,y){if(y==="object")return{};if(y==="array")return[];if(y==="structure"&&v!==void 0){var b=g?rF(g):[],w=bt(v,b);if(Array.isArray(w)&&!En(w)){var k=wc(w);return Po(k)?B1e(k,x=>Array.isArray(x)?[]:hn(x)?void 0:""):""}}return""}(o,s,t);if(o!==void 0){var d=a.stringify(u),p=cF(o,s,d,a);qs("onInsert",{insertType:t,operations:p,newValue:u,data:d});var f=qr(p.filter(v=>v.op==="add"||v.op==="replace"));l(p,(v,g,y)=>{if(f){var b=Ra(v,f.path);if(Po(u))return{state:Ea(v,g,b,NE),selection:r?Fc(b):y};if(u===""){var w=En(b)?void 0:bt(v,Xr(b));return{state:Ea(v,g,b,mb),selection:hn(w)?RE(b,n):B1(b,n)}}}}),qs("after patch")}else{qs("onInsert",{insertType:t,newValue:u});var m=[];c(u,(v,g)=>({state:mp(v,g,m),selection:Po(u)?Fc(m):B1(m)}))}}}function RF(e){return A2.apply(this,arguments)}function A2(){return A2=pr(function*(e){var{char:t,selectInside:r,json:n,selection:o,readOnly:s,parser:i,onPatch:a,onReplaceJson:l,onSelect:c}=e;s||(rs(o)?c(rt(rt({},o),{},{edit:!0,initialValue:t})):t==="{"?G1({insertType:"object",selectInside:r,initialValue:void 0,json:n,selection:o,readOnly:s,parser:i,onPatch:a,onReplaceJson:l}):t==="["?G1({insertType:"array",selectInside:r,initialValue:void 0,json:n,selection:o,readOnly:s,parser:i,onPatch:a,onReplaceJson:l}):xn(o)&&n!==void 0?Po(bt(n,o.path))||c(rt(rt({},o),{},{edit:!0,initialValue:t})):(qs("onInsertValueWithCharacter",{char:t}),yield function(u){return E2.apply(this,arguments)}({char:t,json:n,selection:o,readOnly:s,parser:i,onPatch:a,onReplaceJson:l})))}),A2.apply(this,arguments)}function E2(){return E2=pr(function*(e){var{char:t,json:r,selection:n,readOnly:o,parser:s,onPatch:i,onReplaceJson:a}=e;o||G1({insertType:"value",selectInside:!1,initialValue:t,json:r,selection:n,readOnly:o,parser:s,onPatch:i,onReplaceJson:a})}),E2.apply(this,arguments)}or(`/* over all fonts, sizes, and colors */ +}`);var _Pe=Pe(''),SPe=Pe('
'),CPe=Pe('');function TF(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),o=he(void 0,!0),s=ss("jsoneditor:SearchBox"),i=T(t,"json",9),a=T(t,"documentState",9),l=T(t,"parser",9),c=T(t,"showSearch",9),u=T(t,"showReplace",13),d=T(t,"readOnly",9),p=T(t,"columns",9),f=T(t,"onSearch",9),m=T(t,"onFocus",9),v=T(t,"onPatch",9),g=T(t,"onClose",9),y=he("",!0),b="",w=he("",!0),k=he(!1,!0),x=he(void 0,!0),j=Kb(function(ne){return D.apply(this,arguments)},300),_=Kb(function(ne){return Z.apply(this,arguments)},300);function C(){u(!u()&&!d())}function A(ne){ne.stopPropagation();var Ce=Bc(ne);Ce==="Enter"&&(ne.preventDefault(),h(y)!==b?j.flush():J()),Ce==="Shift+Enter"&&(ne.preventDefault(),H()),Ce==="Ctrl+Enter"&&(ne.preventDefault(),u()?F():J()),Ce==="Ctrl+H"&&(ne.preventDefault(),C()),Ce==="Escape"&&(ne.preventDefault(),re())}function I(ne){Bc(ne)==="Enter"&&(ne.preventDefault(),ne.stopPropagation(),F())}function M(){return L.apply(this,arguments)}function L(){return(L=pr(function*(){so(),yield j.flush()})).apply(this,arguments)}function F(){return z.apply(this,arguments)}function z(){return(z=pr(function*(){var ne;if(!d()){var Ce=(ne=h(x))===null||ne===void 0?void 0:ne.activeItem;if(s("handleReplace",{replaceText:h(w),activeItem:Ce}),h(x)&&Ce&&i()!==void 0){$(x,rt(rt({},DD(h(x))),{},{activeIndex:h(n)}));var{operations:me,newSelection:ae}=Z$e(i(),a(),h(w),Ce,l());v()(me,(kt,ft)=>({state:ft,selection:ae})),so(),yield _.flush(),yield se()}}})).apply(this,arguments)}function N(){return X.apply(this,arguments)}function X(){return(X=pr(function*(){if(!d()){s("handleReplaceAll",{text:h(y),replaceText:h(w)});var{operations:ne,newSelection:Ce}=function(me,ae,kt,ft,Ue){for(var gt=MD(kt,me,{maxResults:1/0}),Ge=[],_t=0;_tG.field!==ee.field?G.field===za.key?1:-1:ee.path.length-G.path.length);var sr,P=[];return Ge.forEach(G=>{var{field:ee,path:be,items:Me}=G;if(ee===za.key){var Fe=Xr(be),Ze=bt(me,Fe),we=qr(be),pt=Vv(Fe,Object.keys(Ze),we,LD(we,ft,Me));P=P.concat(pt),sr=bh(me,pt)}else{if(ee!==za.value)throw new Error("Cannot replace: unknown type of search result field ".concat(ee));var St=bt(me,be);if(St===void 0)throw new Error("Cannot replace: path not found ".concat(Wt(be)));var rr=typeof St=="string"?St:String(St),Ve=Cc(me,ae,be),Ft=LD(rr,ft,Me),_r=[{op:"replace",path:Wt(be),value:Ve?Ft:Fh(Ft,Ue)}];P=P.concat(_r),sr=bh(me,_r)}}),{operations:P,newSelection:sr}}(i(),a(),h(y),h(w),l());v()(ne,(me,ae)=>({state:ae,selection:Ce})),yield se()}})).apply(this,arguments)}function V(ne){ne.select()}function J(){return oe.apply(this,arguments)}function oe(){return(oe=pr(function*(){$(x,h(x)?DD(h(x)):void 0),yield se()})).apply(this,arguments)}function H(){return B.apply(this,arguments)}function B(){return B=pr(function*(){$(x,h(x)?function(ne){var Ce=ne.activeIndex>0?ne.activeIndex-1:ne.items.length-1,me=ne.items[Ce],ae=ne.items.map((kt,ft)=>rt(rt({},kt),{},{active:ft===Ce}));return rt(rt({},ne),{},{items:ae,activeItem:me,activeIndex:Ce})}(h(x)):void 0),yield se()}),B.apply(this,arguments)}function se(){return q.apply(this,arguments)}function q(){return(q=pr(function*(){var ne;s("handleFocus",h(x));var Ce=(ne=h(x))===null||ne===void 0?void 0:ne.activeItem;Ce&&i()!==void 0&&(yield m()(Ce.path,Ce.resultIndex))})).apply(this,arguments)}function O(){return O=pr(function*(ne){yield Se(ne,h(y),i())}),O.apply(this,arguments)}function D(){return D=pr(function*(ne){yield Se(c(),ne,i()),yield se()}),D.apply(this,arguments)}function Z(){return Z=pr(function*(ne){yield Se(c(),h(y),ne)}),Z.apply(this,arguments)}function Se(ne,Ce,me){return ie.apply(this,arguments)}function ie(){return ie=pr(function*(ne,Ce,me){return ne?(s("applySearch",{showSearch:ne,text:Ce}),Ce===""?(s("clearing search result"),h(x)!==void 0&&$(x,void 0),Promise.resolve()):(b=Ce,$(k,!0),new Promise(ae=>{setTimeout(()=>{var kt=MD(Ce,me,{maxResults:Cj,columns:p()});$(x,function(ft,Ue){var gt=Ue!=null&&Ue.activeItem?RD(Ue.activeItem):void 0,Ge=ft.findIndex(vt=>Hr(gt,RD(vt))),_t=Ge!==-1?Ge:(Ue==null?void 0:Ue.activeIndex)!==void 0&&(Ue==null?void 0:Ue.activeIndex)0?0:-1,It=ft.map((vt,sr)=>rt(rt({resultIndex:sr},vt),{},{active:sr===_t}));return{items:It,activeItem:It[_t],activeIndex:_t}}(kt,h(x))),$(k,!1),ae()})}))):(h(x)&&$(x,void 0),Promise.resolve())}),ie.apply(this,arguments)}function re(){s("handleClose"),j.cancel(),_.cancel(),Se(!1,h(y),i()),g()()}$e(()=>h(x),()=>{var ne;$(r,((ne=h(x))===null||ne===void 0||(ne=ne.items)===null||ne===void 0?void 0:ne.length)||0)}),$e(()=>h(x),()=>{var ne;$(n,((ne=h(x))===null||ne===void 0?void 0:ne.activeIndex)||0)}),$e(()=>(h(r),Cj),()=>{$(o,h(r)>=Cj?"".concat(999,"+"):String(h(r)))}),$e(()=>(de(f()),h(x)),()=>{f()(h(x))}),$e(()=>de(c()),()=>{(function(ne){O.apply(this,arguments)})(c())}),$e(()=>h(y),()=>{j(h(y))}),$e(()=>de(i()),()=>{_(i())}),mn(),fr(!0);var xe=vo(),R=Kt(xe),te=ne=>{var Ce=CPe(),me=fe(Ce),ae=fe(me),kt=we=>{var pt=_Pe(),St=fe(pt),rr=We(()=>u()?Wu:Cg);Wr(St,{get data(){return h(rr)}}),Xe("click",pt,C),ge(we,pt)};Ne(ae,we=>{d()||we(kt)});var ft=fe(ke(ae,2)),Ue=fe(ft),gt=fe(Ue),Ge=we=>{Wr(we,{data:$xe,spin:!0})},_t=we=>{Wr(we,{data:Kw})};Ne(gt,we=>{h(k)?we(Ge):we(_t,!1)});var It=ke(Ue,2),vt=fe(It);ws(()=>M1(vt,()=>h(y),we=>$(y,we))),Vs(vt,we=>V==null?void 0:V(we)),ws(()=>Xe("paste",vt,M));var sr,P=ke(It,2),G=fe(P),ee=ke(P,2);Wr(fe(ee),{data:Yxe});var be=ke(ee,2);Wr(fe(be),{data:Rxe});var Me=ke(be,2);Wr(fe(Me),{data:Qw});var Fe=ke(ft,2),Ze=we=>{var pt=SPe(),St=fe(pt),rr=ke(St,2),Ve=ke(rr,2);M1(St,()=>h(w),Ft=>$(w,Ft)),Xe("keydown",St,I),Xe("click",rr,F),Xe("click",Ve,N),ge(we,pt)};Ne(Fe,we=>{u()&&!d()&&we(Ze)}),nt(we=>{var pt,St;sr=hr(P,1,"jse-search-count svelte-1mxl2uo",null,sr,we),Xt(G,"".concat((pt=h(n)!==-1&&h(n)({"jse-visible":h(y)!==""})],We),Xe("click",ee,J),Xe("click",be,H),Xe("click",Me,re),Xe("keydown",me,A),ge(ne,Ce)};Ne(R,ne=>{c()&&ne(te)}),ge(e,xe),Ht()}var rv=Symbol("path");function APe(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1/0,n={};Array.isArray(e)&&function(s,i,a){if(s.length1?(s.length-1)/(i-1):s.length,c=0;c{hn(s)?PF(s,n,t):n[rv]=!0});var o=[];return rv in n&&o.push([]),IF(n,[],o,t),o}function PF(e,t,r){for(var n in e){var o=e[n],s=t[n]||(t[n]={});hn(o)&&r?PF(o,s,r):s[rv]===void 0&&(s[rv]=!0)}}function IF(e,t,r,n){for(var o in e){var s=t.concat(o),i=e[o];i&&i[rv]===!0&&r.push(s),Do(i)&&n&&IF(i,s,r,n)}}function EPe(e,t,r,n,o,s){for(var i=arguments.length>6&&arguments[6]!==void 0?arguments[6]:80,a=Ao(r)?r.length:0,l=function(b,w){var k=Object.values(b);if(En(k))return w;var x=(j,_)=>j+_;return k.reduce(x)/k.length}(n,o),c=e-i,u=t+2*i,d=b=>n[b]||o,p=0,f=s;f0&&(f-=d(--p));for(var m=p,v=0;vqc(n,s))}}function jd(e,t){var{rowIndex:r,columnIndex:n}=e;return[String(r),...t[n]]}function OPe(e,t){var[r,n]=rxe(e,i=>kE(i.path[0])),o=Uwe(r,$Pe),s=Qwe(o,i=>{var a={row:[],columns:{}};return i.forEach(l=>{var c=function(u,d){var p=Qi(u.path,d);return p.columnIndex!==-1?p.columnIndex:-1}(l,t);c!==-1?(a.columns[c]===void 0&&(a.columns[c]=[]),a.columns[c].push(l)):a.row.push(l)}),a});return{root:n,rows:s}}function zj(e,t){if(t&&t.length!==0)return t.length===1?t[0]:{path:e,message:"Multiple validation issues: "+t.map(r=>Ma(r.path)+" "+r.message).join(", "),severity:qa.warning}}function $Pe(e){return parseInt(e.path[0],10)}function TPe(e,t,r){var n=t.some(o=>function(s,i,a){if(!s)return!1;if(i.op==="replace"){var l=da(i.path),{rowIndex:c,columnIndex:u}=Qi(l,a),d=a.findIndex(p=>Hr(p,s.path));if(c!==-1&&u!==-1&&u!==d)return!1}return!0}(e,o,r));return n?void 0:e}var qs=ss("jsoneditor:actions");function DF(e){return S2.apply(this,arguments)}function S2(){return S2=pr(function*(e){var{json:t,selection:r,indentation:n,readOnly:o,parser:s,onPatch:i}=e;if(!o&&t!==void 0&&r&&Ef(r)){var a=oF(t,r,n,s);if(a!==void 0){qs("cut",{selection:r,clipboard:a,indentation:n}),yield UE(a);var{operations:l,newSelection:c}=uF(t,r);i(l,(u,d)=>({state:d,selection:c}))}}}),S2.apply(this,arguments)}function MF(e){return C2.apply(this,arguments)}function C2(){return C2=pr(function*(e){var{json:t,selection:r,indentation:n,parser:o}=e,s=oF(t,r,n,o);s!==void 0&&(qs("copy",{clipboard:s,indentation:n}),yield UE(s))}),C2.apply(this,arguments)}function NF(e){var{clipboardText:t,json:r,selection:n,readOnly:o,parser:s,onPatch:i,onChangeText:a,openRepairModal:l}=e;if(!o)try{c(t)}catch{l(t,u=>{qs("repaired pasted text: ",u),c(u)})}function c(u){if(r!==void 0){var d=n||Ur([]),p=cF(r,d,u,s);qs("paste",{pastedText:u,operations:p,ensureSelection:d}),i(p,(f,m)=>{var v=m;return p.filter(g=>(J5(g)||uA(g))&&Po(g.value)).forEach(g=>{var y=Ra(r,g.path);v=mp(f,v,y)}),{state:v}})}else qs("paste text",{pastedText:u}),a(t,(f,m)=>{if(f)return{state:mp(f,m,[])}})}}function LF(e){var{json:t,text:r,selection:n,keepSelection:o,readOnly:s,onChange:i,onPatch:a}=e;if(!s&&n){var l=t!==void 0&&(rs(n)||xn(n))?Ls(n.path,n.path):n;if(En(Pt(n)))qs("remove root",{selection:n}),i&&i({text:"",json:void 0},t!==void 0?{text:void 0,json:t}:{text:r||"",json:t},{contentErrors:void 0,patchResult:void 0});else if(t!==void 0){var{operations:c,newSelection:u}=uF(t,l);qs("remove",{operations:c,selection:n,newSelection:u}),a(c,(d,p)=>({state:p,selection:o?n:u}))}}}function G1(e){var{insertType:t,selectInside:r,initialValue:n,json:o,selection:s,readOnly:i,parser:a,onPatch:l,onReplaceJson:c}=e;if(!i){var u=function(v,g,y){if(y==="object")return{};if(y==="array")return[];if(y==="structure"&&v!==void 0){var b=g?rF(g):[],w=bt(v,b);if(Array.isArray(w)&&!En(w)){var k=wc(w);return Po(k)?B1e(k,x=>Array.isArray(x)?[]:hn(x)?void 0:""):""}}return""}(o,s,t);if(o!==void 0){var d=a.stringify(u),p=cF(o,s,d,a);qs("onInsert",{insertType:t,operations:p,newValue:u,data:d});var f=qr(p.filter(v=>v.op==="add"||v.op==="replace"));l(p,(v,g,y)=>{if(f){var b=Ra(v,f.path);if(Po(u))return{state:Ea(v,g,b,LE),selection:r?Fc(b):y};if(u===""){var w=En(b)?void 0:bt(v,Xr(b));return{state:Ea(v,g,b,mb),selection:hn(w)?RE(b,n):B1(b,n)}}}}),qs("after patch")}else{qs("onInsert",{insertType:t,newValue:u});var m=[];c(u,(v,g)=>({state:mp(v,g,m),selection:Po(u)?Fc(m):B1(m)}))}}}function RF(e){return A2.apply(this,arguments)}function A2(){return A2=pr(function*(e){var{char:t,selectInside:r,json:n,selection:o,readOnly:s,parser:i,onPatch:a,onReplaceJson:l,onSelect:c}=e;s||(rs(o)?c(rt(rt({},o),{},{edit:!0,initialValue:t})):t==="{"?G1({insertType:"object",selectInside:r,initialValue:void 0,json:n,selection:o,readOnly:s,parser:i,onPatch:a,onReplaceJson:l}):t==="["?G1({insertType:"array",selectInside:r,initialValue:void 0,json:n,selection:o,readOnly:s,parser:i,onPatch:a,onReplaceJson:l}):xn(o)&&n!==void 0?Po(bt(n,o.path))||c(rt(rt({},o),{},{edit:!0,initialValue:t})):(qs("onInsertValueWithCharacter",{char:t}),yield function(u){return E2.apply(this,arguments)}({char:t,json:n,selection:o,readOnly:s,parser:i,onPatch:a,onReplaceJson:l})))}),A2.apply(this,arguments)}function E2(){return E2=pr(function*(e){var{char:t,json:r,selection:n,readOnly:o,parser:s,onPatch:i,onReplaceJson:a}=e;o||G1({insertType:"value",selectInside:!1,initialValue:t,json:r,selection:n,readOnly:o,parser:s,onPatch:i,onReplaceJson:a})}),E2.apply(this,arguments)}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -2697,7 +2697,7 @@ button.jse-context-menu-button.left.svelte-1idfykj { } button.jse-context-menu-button.svelte-1idfykj svg { width: 16px; -}`);var IPe=Pe('');function Fj(e,t){Ut(t,!1);var r=T(t,"item",8),n=T(t,"className",8,void 0),o=T(t,"onRequestClose",8);fr();var s=IPe(),i=fe(s),a=u=>{Wr(u,{get data(){return r().icon}})};Le(i,u=>{r().icon&&u(a)});var l=ke(i,2),c=u=>{var d=ds();nt(()=>Xt(d,r().text)),ge(u,d)};Le(l,u=>{r().text&&u(c)}),nt(u=>{hr(s,1,u,"svelte-1idfykj"),fn(s,"title",r().title),s.disabled=r().disabled||!1},[()=>td(Uh("jse-context-menu-button",n(),r().className))],We),Xe("click",s,u=>{o()(),r().onClick(u)}),ge(e,s),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var IPe=Pe('');function Fj(e,t){Ut(t,!1);var r=T(t,"item",8),n=T(t,"className",8,void 0),o=T(t,"onRequestClose",8);fr();var s=IPe(),i=fe(s),a=u=>{Wr(u,{get data(){return r().icon}})};Ne(i,u=>{r().icon&&u(a)});var l=ke(i,2),c=u=>{var d=ds();nt(()=>Xt(d,r().text)),ge(u,d)};Ne(l,u=>{r().text&&u(c)}),nt(u=>{hr(s,1,u,"svelte-1idfykj"),fn(s,"title",r().title),s.disabled=r().disabled||!1},[()=>td(Uh("jse-context-menu-button",n(),r().className))],We),Xe("click",s,u=>{o()(),r().onClick(u)}),ge(e,s),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -2849,7 +2849,7 @@ button.jse-context-menu-button.left.svelte-1idfykj { } button.jse-context-menu-button.svelte-1idfykj svg { width: 16px; -}`);var LPe=Pe('');function Vj(e,t){Ut(t,!1);var r=he(),n=T(t,"item",8),o=T(t,"className",8,void 0),s=T(t,"onRequestClose",8);$e(()=>(de(n()),de(s())),()=>{$(r,n().items.map(i=>rt(rt({},i),{},{onClick:a=>{s()(),i.onClick(a)}})))}),mn(),fr(),function(i,a){Ut(a,!1);var l=he(void 0,!0),c=T(a,"items",25,()=>[]),u=T(a,"title",9,void 0),d=T(a,"width",9,"120px"),p=he(!1,!0);function f(){$(p,!1)}function m(x){Bc(x)==="Escape"&&(x.preventDefault(),$(p,!1))}Is(()=>{document.addEventListener("click",f),document.addEventListener("keydown",m)}),va(()=>{document.removeEventListener("click",f),document.removeEventListener("keydown",m)}),$e(()=>de(c()),()=>{$(l,c().every(x=>x.disabled===!0))}),mn(),fr(!0);var v=MPe(),g=fe(v);_o(g,a,"defaultItem",{},null);var y,b=ke(g,2);Wr(fe(b),{data:Wu});var w,k=ke(b,2);Eo(fe(k),5,c,Mo,(x,j)=>{var _=DPe(),C=fe(_),A=fe(C),I=N=>{Wr(N,{get data(){return h(j).icon}})};Le(A,N=>{h(j).icon&&N(I)});var M=ke(A);nt(()=>{var N;fn(C,"title",h(j).title),C.disabled=h(j).disabled,hr(C,1,td(h(j).className),"svelte-11rxb2m"),Xt(M," ".concat((N=h(j).text)!==null&&N!==void 0?N:""))}),Xe("click",C,N=>h(j).onClick(N)),ge(x,_)}),nt((x,j)=>{var _;fn(v,"title",u()),y=hr(b,1,"jse-open-dropdown svelte-11rxb2m",null,y,x),b.disabled=h(l),w=hr(k,1,"jse-dropdown-items svelte-11rxb2m",null,w,j),Ba(k,"width: ".concat((_=d())!==null&&_!==void 0?_:"",";"))},[()=>({"jse-visible":h(p)}),()=>({"jse-visible":h(p)})],We),Xe("click",b,function(){var x=h(p);setTimeout(()=>$(p,!x))}),Xe("click",v,f),ge(i,v),Ht()}(e,{get width(){return n().width},get items(){return h(r)},$$slots:{defaultItem:(i,a)=>{var l=LPe(),c=fe(l),u=p=>{Wr(p,{get data(){return n().main.icon}})};Le(c,p=>{n().main.icon&&p(u)});var d=ke(c);nt(p=>{var f;hr(l,1,p,"svelte-1idfykj"),fn(l,"title",n().main.title),l.disabled=n().main.disabled||!1,Xt(d," ".concat((f=n().main.text)!==null&&f!==void 0?f:""))},[()=>td(Uh("jse-context-menu-button",o(),n().main.className))],We),Xe("click",l,p=>{s()(),n().main.onClick(p)}),ge(i,l)}}}),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var NPe=Pe('');function Vj(e,t){Ut(t,!1);var r=he(),n=T(t,"item",8),o=T(t,"className",8,void 0),s=T(t,"onRequestClose",8);$e(()=>(de(n()),de(s())),()=>{$(r,n().items.map(i=>rt(rt({},i),{},{onClick:a=>{s()(),i.onClick(a)}})))}),mn(),fr(),function(i,a){Ut(a,!1);var l=he(void 0,!0),c=T(a,"items",25,()=>[]),u=T(a,"title",9,void 0),d=T(a,"width",9,"120px"),p=he(!1,!0);function f(){$(p,!1)}function m(x){Bc(x)==="Escape"&&(x.preventDefault(),$(p,!1))}Is(()=>{document.addEventListener("click",f),document.addEventListener("keydown",m)}),va(()=>{document.removeEventListener("click",f),document.removeEventListener("keydown",m)}),$e(()=>de(c()),()=>{$(l,c().every(x=>x.disabled===!0))}),mn(),fr(!0);var v=MPe(),g=fe(v);_o(g,a,"defaultItem",{},null);var y,b=ke(g,2);Wr(fe(b),{data:Wu});var w,k=ke(b,2);Eo(fe(k),5,c,Mo,(x,j)=>{var _=DPe(),C=fe(_),A=fe(C),I=L=>{Wr(L,{get data(){return h(j).icon}})};Ne(A,L=>{h(j).icon&&L(I)});var M=ke(A);nt(()=>{var L;fn(C,"title",h(j).title),C.disabled=h(j).disabled,hr(C,1,td(h(j).className),"svelte-11rxb2m"),Xt(M," ".concat((L=h(j).text)!==null&&L!==void 0?L:""))}),Xe("click",C,L=>h(j).onClick(L)),ge(x,_)}),nt((x,j)=>{var _;fn(v,"title",u()),y=hr(b,1,"jse-open-dropdown svelte-11rxb2m",null,y,x),b.disabled=h(l),w=hr(k,1,"jse-dropdown-items svelte-11rxb2m",null,w,j),Ba(k,"width: ".concat((_=d())!==null&&_!==void 0?_:"",";"))},[()=>({"jse-visible":h(p)}),()=>({"jse-visible":h(p)})],We),Xe("click",b,function(){var x=h(p);setTimeout(()=>$(p,!x))}),Xe("click",v,f),ge(i,v),Ht()}(e,{get width(){return n().width},get items(){return h(r)},$$slots:{defaultItem:(i,a)=>{var l=NPe(),c=fe(l),u=p=>{Wr(p,{get data(){return n().main.icon}})};Ne(c,p=>{n().main.icon&&p(u)});var d=ke(c);nt(p=>{var f;hr(l,1,p,"svelte-1idfykj"),fn(l,"title",n().main.title),l.disabled=n().main.disabled||!1,Xt(d," ".concat((f=n().main.text)!==null&&f!==void 0?f:""))},[()=>td(Uh("jse-context-menu-button",o(),n().main.className))],We),Xe("click",l,p=>{s()(),n().main.onClick(p)}),ge(i,l)}}}),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -2918,7 +2918,7 @@ button.jse-context-menu-button.svelte-1idfykj svg { width: 100%; height: 1px; background: var(--jse-context-menu-separator-color, #7a7a7a); -}`);var NPe=Pe('
'),RPe=Pe('
'),BPe=Pe('
'),qPe=Pe('
'),zPe=Pe('
'),FPe=Pe('
'),VPe=Pe('
'),UPe=Pe('');function qF(e,t){Ut(t,!1);var r=T(t,"items",9),n=T(t,"onRequestClose",9),o=T(t,"tip",9),s=he(void 0,!0);Is(()=>{var p=Array.from(h(s).querySelectorAll("button")).find(f=>!f.disabled);p&&p.focus()});var i={ArrowUp:"Up",ArrowDown:"Down",ArrowLeft:"Left",ArrowRight:"Right"};function a(p){return console.error("Unknown type of context menu item",p),"???"}fr(!0);var l=UPe(),c=fe(l);Eo(c,1,r,Mo,(p,f)=>{var m=vo(),v=Kt(m),g=b=>{Fj(b,{get item(){return h(f)},get onRequestClose(){return n()}})},y=(b,w)=>{var k=j=>{Vj(j,{get item(){return h(f)},get onRequestClose(){return n()}})},x=(j,_)=>{var C=I=>{var M=zPe();Eo(M,5,()=>h(f).items,Mo,(N,F)=>{var z=vo(),L=Kt(z),X=J=>{Fj(J,{get item(){return h(F)},get onRequestClose(){return n()}})},V=(J,oe)=>{var H=se=>{Vj(se,{get item(){return h(F)},get onRequestClose(){return n()}})},B=(se,q)=>{var O=Z=>{var Se=BPe();Eo(Se,5,()=>h(F).items,Mo,(ie,re)=>{var xe=vo(),R=Kt(xe),te=Ce=>{Fj(Ce,{className:"left",get item(){return h(re)},get onRequestClose(){return n()}})},ne=(Ce,me)=>{var ae=ft=>{Vj(ft,{className:"left",get item(){return h(re)},get onRequestClose(){return n()}})},kt=(ft,Ue)=>{var gt=_t=>{ge(_t,NPe())},Ge=(_t,It)=>{var vt=P=>{var G=RPe(),ee=fe(G);nt(()=>Xt(ee,h(re).text)),ge(P,G)},sr=P=>{var G=ds();nt(ee=>Xt(G,ee),[()=>a(h(re))],We),ge(P,G)};Le(_t,P=>{z$e(h(re))?P(vt):P(sr,!1)},It)};Le(ft,_t=>{hb(h(re))?_t(gt):_t(Ge,!1)},Ue)};Le(Ce,ft=>{$j(h(re))?ft(ae):ft(kt,!1)},me)};Le(R,Ce=>{rg(h(re))?Ce(te):Ce(ne,!1)}),ge(ie,xe)}),ge(Z,Se)},D=(Z,Se)=>{var ie=xe=>{ge(xe,qPe())},re=xe=>{var R=ds();nt(te=>Xt(R,te),[()=>a(h(F))],We),ge(xe,R)};Le(Z,xe=>{hb(h(F))?xe(ie):xe(re,!1)},Se)};Le(se,Z=>{V$e(h(F))?Z(O):Z(D,!1)},q)};Le(J,se=>{$j(h(F))?se(H):se(B,!1)},oe)};Le(L,J=>{rg(h(F))?J(X):J(V,!1)}),ge(N,z)}),ge(I,M)},A=(I,M)=>{var N=z=>{ge(z,FPe())},F=z=>{var L=ds();nt(X=>Xt(L,X),[()=>a(h(f))],We),ge(z,L)};Le(I,z=>{hb(h(f))?z(N):z(F,!1)},M)};Le(j,I=>{F$e(h(f))?I(C):I(A,!1)},_)};Le(b,j=>{$j(h(f))?j(k):j(x,!1)},w)};Le(v,b=>{rg(h(f))?b(g):b(y,!1)}),ge(p,m)});var u=ke(c,2),d=p=>{var f=VPe(),m=fe(f),v=fe(m);Wr(fe(v),{data:Cxe});var g=fe(ke(v,2));nt(()=>Xt(g,o())),ge(p,f)};Le(u,p=>{o()&&p(d)}),no(l,p=>$(s,p),()=>h(s)),Xe("keydown",l,function(p){var f=Bc(p),m=i[f];if(m&&p.target){p.preventDefault();var v=w$e({allElements:Array.from(h(s).querySelectorAll("button:not([disabled])")),currentElement:p.target,direction:m,hasPrio:g=>g.getAttribute("data-type")!=="jse-open-dropdown"});v&&v.focus()}}),ge(e,l),Ht()}or(`/* over all fonts, sizes, and colors */ +}`);var LPe=Pe('
'),RPe=Pe('
'),BPe=Pe('
'),qPe=Pe('
'),zPe=Pe('
'),FPe=Pe('
'),VPe=Pe('
'),UPe=Pe('');function qF(e,t){Ut(t,!1);var r=T(t,"items",9),n=T(t,"onRequestClose",9),o=T(t,"tip",9),s=he(void 0,!0);Is(()=>{var p=Array.from(h(s).querySelectorAll("button")).find(f=>!f.disabled);p&&p.focus()});var i={ArrowUp:"Up",ArrowDown:"Down",ArrowLeft:"Left",ArrowRight:"Right"};function a(p){return console.error("Unknown type of context menu item",p),"???"}fr(!0);var l=UPe(),c=fe(l);Eo(c,1,r,Mo,(p,f)=>{var m=vo(),v=Kt(m),g=b=>{Fj(b,{get item(){return h(f)},get onRequestClose(){return n()}})},y=(b,w)=>{var k=j=>{Vj(j,{get item(){return h(f)},get onRequestClose(){return n()}})},x=(j,_)=>{var C=I=>{var M=zPe();Eo(M,5,()=>h(f).items,Mo,(L,F)=>{var z=vo(),N=Kt(z),X=J=>{Fj(J,{get item(){return h(F)},get onRequestClose(){return n()}})},V=(J,oe)=>{var H=se=>{Vj(se,{get item(){return h(F)},get onRequestClose(){return n()}})},B=(se,q)=>{var O=Z=>{var Se=BPe();Eo(Se,5,()=>h(F).items,Mo,(ie,re)=>{var xe=vo(),R=Kt(xe),te=Ce=>{Fj(Ce,{className:"left",get item(){return h(re)},get onRequestClose(){return n()}})},ne=(Ce,me)=>{var ae=ft=>{Vj(ft,{className:"left",get item(){return h(re)},get onRequestClose(){return n()}})},kt=(ft,Ue)=>{var gt=_t=>{ge(_t,LPe())},Ge=(_t,It)=>{var vt=P=>{var G=RPe(),ee=fe(G);nt(()=>Xt(ee,h(re).text)),ge(P,G)},sr=P=>{var G=ds();nt(ee=>Xt(G,ee),[()=>a(h(re))],We),ge(P,G)};Ne(_t,P=>{z$e(h(re))?P(vt):P(sr,!1)},It)};Ne(ft,_t=>{hb(h(re))?_t(gt):_t(Ge,!1)},Ue)};Ne(Ce,ft=>{$j(h(re))?ft(ae):ft(kt,!1)},me)};Ne(R,Ce=>{rg(h(re))?Ce(te):Ce(ne,!1)}),ge(ie,xe)}),ge(Z,Se)},D=(Z,Se)=>{var ie=xe=>{ge(xe,qPe())},re=xe=>{var R=ds();nt(te=>Xt(R,te),[()=>a(h(F))],We),ge(xe,R)};Ne(Z,xe=>{hb(h(F))?xe(ie):xe(re,!1)},Se)};Ne(se,Z=>{V$e(h(F))?Z(O):Z(D,!1)},q)};Ne(J,se=>{$j(h(F))?se(H):se(B,!1)},oe)};Ne(N,J=>{rg(h(F))?J(X):J(V,!1)}),ge(L,z)}),ge(I,M)},A=(I,M)=>{var L=z=>{ge(z,FPe())},F=z=>{var N=ds();nt(X=>Xt(N,X),[()=>a(h(f))],We),ge(z,N)};Ne(I,z=>{hb(h(f))?z(L):z(F,!1)},M)};Ne(j,I=>{F$e(h(f))?I(C):I(A,!1)},_)};Ne(b,j=>{$j(h(f))?j(k):j(x,!1)},w)};Ne(v,b=>{rg(h(f))?b(g):b(y,!1)}),ge(p,m)});var u=ke(c,2),d=p=>{var f=VPe(),m=fe(f),v=fe(m);Wr(fe(v),{data:Cxe});var g=fe(ke(v,2));nt(()=>Xt(g,o())),ge(p,f)};Ne(u,p=>{o()&&p(d)}),no(l,p=>$(s,p),()=>h(s)),Xe("keydown",l,function(p){var f=Bc(p),m=i[f];if(m&&p.target){p.preventDefault();var v=w$e({allElements:Array.from(h(s).querySelectorAll("button:not([disabled])")),currentElement:p.target,direction:m,hasPrio:g=>g.getAttribute("data-type")!=="jse-open-dropdown"});v&&v.focus()}}),ge(e,l),Ht()}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -2976,7 +2976,7 @@ button.jse-context-menu-button.svelte-1idfykj svg { } .jse-enum-value.jse-value.svelte-6ttr41:focus { color: var(--jse-text-color, #4d4d4d); -}`);Pe("");Pe("");var L0,N0;function of(e,t){return L0||(N0=new WeakMap,L0=new ResizeObserver(r=>{for(var n of r){var o=N0.get(n.target);o&&o(n.target)}})),N0.set(e,t),L0.observe(e),{destroy:()=>{N0.delete(e),L0.unobserve(e)}}}or(`/* over all fonts, sizes, and colors */ +}`);Pe("");Pe("");var N0,L0;function of(e,t){return N0||(L0=new WeakMap,N0=new ResizeObserver(r=>{for(var n of r){var o=L0.get(n.target);o&&o(n.target)}})),L0.set(e,t),N0.observe(e),{destroy:()=>{L0.delete(e),N0.unobserve(e)}}}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -3059,7 +3059,7 @@ button.jse-context-menu-button.svelte-1idfykj svg { margin: -2px; margin-bottom: 2px; display: inline-block; -}`);var HPe=Pe(" ",1),WPe=Pe('
'),GPe=Pe('
',1),JPe=Pe(' ',1),KPe=Pe('
loading...
'),QPe=Pe('
',1);function O2(e,t){Ut(t,!1);var r=he(void 0,!0),n=ss("jsoneditor:TreeMode"),o=typeof window>"u";n("isSSR:",o);var s=ih(),i=ih(),{openAbsolutePopup:a,closeAbsolutePopup:l}=pd("absolute-popup"),c=he(void 0,!0),u=he(void 0,!0),d=he(void 0,!0),p=!1,f=SF(),m=T(t,"readOnly",9),v=T(t,"externalContent",9),g=T(t,"externalSelection",9),y=T(t,"history",9),b=T(t,"truncateTextSize",9),w=T(t,"mainMenuBar",9),k=T(t,"navigationBar",9),x=T(t,"escapeControlCharacters",9),j=T(t,"escapeUnicodeCharacters",9),_=T(t,"parser",9),C=T(t,"parseMemoizeOne",9),A=T(t,"validator",9),I=T(t,"validationParser",9),M=T(t,"pathParser",9),N=T(t,"indentation",9),F=T(t,"onError",9),z=T(t,"onChange",9),L=T(t,"onChangeMode",9),X=T(t,"onSelect",9),V=T(t,"onUndo",9),J=T(t,"onRedo",9),oe=T(t,"onRenderValue",9),H=T(t,"onRenderMenu",9),B=T(t,"onRenderContextMenu",9),se=T(t,"onClassName",9),q=T(t,"onFocus",9),O=T(t,"onBlur",9),D=T(t,"onSortModal",9),Z=T(t,"onTransformModal",9),Se=T(t,"onJSONEditorModal",9),ie=!1,re=he(!1,!0),xe=he(void 0,!0);FE({onMount:Is,onDestroy:va,getWindow:()=>qv(h(d)),hasFocus:()=>ie&&document.hasFocus()||CE(h(d)),onFocus:()=>{p=!0,q()&&q()()},onBlur:()=>{p=!1,O()&&O()()}});var R=he(void 0,!0),te=he(void 0,!0),ne=void 0,Ce=!1,me=he(f2({json:h(R)}),!0),ae=he(Zg(g())?g():void 0,!0);function kt(Q){$(ae,Q)}Is(()=>{if(h(ae)){var Q=Pt(h(ae));$(me,Ea(h(R),h(me),Q,mb)),setTimeout(()=>Pn(Q))}});var ft,Ue=he(void 0,!0),gt=he(void 0,!0),Ge=he(void 0,!0),_t=he(!1,!0),It=he(!1,!0);function vt(Q){$(Ge,(ft=Q)?pF(h(R),ft.items):void 0)}function sr(Q,Ie){return P.apply(this,arguments)}function P(){return(P=pr(function*(Q,Ie){$(me,Ea(h(R),h(me),Q,mb));var Ke=_n(Ie);yield Ar(Q,{element:Ke})})).apply(this,arguments)}function G(){$(_t,!1),$(It,!1),ut()}function ee(Q){n("select validation error",Q),$(ae,Ur(Q.path)),Ar(Q.path)}function be(Q){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ED;n("expand"),$(me,Ea(h(R),h(me),Q,Ie))}function Me(Q,Ie){$(me,_D(h(R),h(me),Q,Ie)),h(ae)&&function(Ke,yt){return qc(Pt(Ke),yt)&&(Pt(Ke).length>yt.length||Os(Ke))}(h(ae),Q)&&$(ae,void 0)}var Fe=he(!1,!0),Ze=he([],!0),we=he(void 0,!0),pt=Ag(CF);function St(Q,Ie,Ke,yt){$f(()=>{var at;try{at=pt(Q,Ie,Ke,yt)}catch(st){at=[{path:[],message:"Failed to validate: "+st.message,severity:qa.warning}]}Hr(at,h(Ze))||(n("validationErrors changed:",at),$(Ze,at),$(we,function(st,lt){var $t;return lt.forEach(nr=>{$t=GD(st,$t,nr.path,(Kr,Vr)=>rt(rt({},Vr),{},{validationError:nr}))}),lt.forEach(nr=>{for(var Kr=nr.path;Kr.length>0;)Kr=Xr(Kr),$t=GD(st,$t,Kr,(Vr,Cn)=>Cn.validationError?Cn:rt(rt({},Cn),{},{validationError:{isChildError:!0,path:Kr,message:"Contains invalid data",severity:qa.warning}}))}),$t}(Q,h(Ze))))},at=>n("validationErrors updated in ".concat(at," ms")))}function rr(){return n("validate"),ne?{parseError:ne,isRepairable:!1}:(St(h(R),A(),_(),I()),En(h(Ze))?void 0:{validationErrors:h(Ze)})}function Ve(){return h(R)}function Ft(){return h(me)}function _r(){return h(ae)}function Bn(Q){n("applyExternalContent",{updatedContent:Q}),Wg(Q)?function(Ie){if(Ie!==void 0){var Ke=!Hr(h(R),Ie);if(n("update external json",{isChanged:Ke,currentlyText:h(R)===void 0}),!!Ke){var yt={documentState:h(me),selection:h(ae),json:h(R),text:h(te),textIsRepaired:h(Fe)};$(R,Ie),$(me,Ni(Ie,h(me))),Nr(h(R)),$(te,void 0),$(Fe,!1),ne=void 0,Sr(h(R)),W(yt)}}}(Q.json):Hg(Q)&&function(Ie){if(!(Ie===void 0||Wg(v()))){var Ke=Ie!==h(te);if(n("update external text",{isChanged:Ke}),!!Ke){var yt={documentState:h(me),selection:h(ae),json:h(R),text:h(te),textIsRepaired:h(Fe)};try{$(R,C()(Ie)),$(me,Ni(h(R),h(me))),Nr(h(R)),$(te,Ie),$(Fe,!1),ne=void 0}catch(at){try{$(R,C()(Ol(Ie))),$(me,Ni(h(R),h(me))),Nr(h(R)),$(te,Ie),$(Fe,!0),ne=void 0,Sr(h(R))}catch{$(R,void 0),$(me,void 0),$(te,v().text),$(Fe,!1),ne=h(te)!==void 0&&h(te)!==""?vh(h(te),at.message||String(at)):void 0}}Sr(h(R)),W(yt)}}}(Q.text)}function Nr(Q){Ce||(Ce=!0,$(me,mp(Q,h(me),[])))}function Sr(Q){h(ae)&&(oa(Q,Qd(h(ae)))&&oa(Q,Pt(h(ae)))||(n("clearing selection: path does not exist anymore",h(ae)),$(ae,nf(Q,h(me)))))}function W(Q){if(Q.json!==void 0||Q.text!==void 0){var Ie=h(R)!==void 0&&Q.json!==void 0;y().add({type:"tree",undo:{patch:Ie?[{op:"replace",path:"",value:Q.json}]:void 0,json:Q.json,text:Q.text,documentState:Q.documentState,textIsRepaired:Q.textIsRepaired,selection:yl(Q.selection),sortedColumn:void 0},redo:{patch:Ie?[{op:"replace",path:"",value:h(R)}]:void 0,json:h(R),text:h(te),documentState:h(me),textIsRepaired:h(Fe),selection:yl(h(ae)),sortedColumn:void 0}})}}function Ee(Q,Ie){var Ke;if(n("patch",Q,Ie),h(R)===void 0)throw new Error("Cannot apply patch: no JSON");var yt=h(R),at={json:void 0,text:h(te),documentState:h(me),selection:yl(h(ae)),textIsRepaired:h(Fe),sortedColumn:void 0},st=dF(h(R),Q),lt=Yz(h(R),h(me),Q),$t=(Ke=bh(h(R),Q))!==null&&Ke!==void 0?Ke:h(ae),nr=typeof Ie=="function"?Ie(lt.json,lt.documentState,$t):void 0;return $(R,(nr==null?void 0:nr.json)!==void 0?nr.json:lt.json),$(me,(nr==null?void 0:nr.state)!==void 0?nr.state:lt.documentState),$(ae,(nr==null?void 0:nr.selection)!==void 0?nr.selection:$t),$(te,void 0),$(Fe,!1),$(gt,void 0),ne=void 0,Sr(h(R)),y().add({type:"tree",undo:rt({patch:st},at),redo:{patch:Q,json:void 0,text:h(te),documentState:h(me),selection:yl(h(ae)),sortedColumn:void 0,textIsRepaired:h(Fe)}}),{json:h(R),previousJson:yt,undo:st,redo:Q}}function wt(){!m()&&h(ae)&&$(ae,RE(Pt(h(ae))))}function br(){if(!m()&&h(ae)){var Q=Pt(h(ae)),Ie=bt(h(R),Q);Po(Ie)?function(Ke,yt){n("openJSONEditorModal",{path:Ke,value:yt}),ie=!0,Se()({content:{json:yt},path:Ke,onPatch:h(wo).onPatch,onClose:()=>{ie=!1,setTimeout(ut)}})}(Q,Ie):$(ae,B1(Q))}}function wr(){if(!m()&&xn(h(ae))){var Q=Pt(h(ae)),Ie=Wt(Q),Ke=bt(h(R),Q),yt=!Cc(h(R),h(me),Q),at=yt?String(Ke):Fh(String(Ke),_());n("handleToggleEnforceString",{enforceString:yt,value:Ke,updatedValue:at}),Or([{op:"replace",path:Ie,value:at}],(st,lt)=>({state:Cx(h(R),lt,Q,{type:"value",enforceString:yt})}))}}function Gt(){return h(Fe)&&h(R)!==void 0&&Tr(h(R)),h(R)!==void 0?{json:h(R)}:{text:h(te)||""}}function Pr(){return Dt.apply(this,arguments)}function Dt(){return Dt=pr(function*(){var Q=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];yield DF({json:h(R),selection:h(ae),indentation:Q?N():void 0,readOnly:m(),parser:_(),onPatch:Or})}),Dt.apply(this,arguments)}function mr(){return Cr.apply(this,arguments)}function Cr(){return Cr=pr(function*(){var Q=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];h(R)!==void 0&&(yield MF({json:h(R),selection:h(ae),indentation:Q?N():void 0,parser:_()}))}),Cr.apply(this,arguments)}function nn(Q){var Ie;Q.preventDefault(),co((Ie=Q.clipboardData)===null||Ie===void 0?void 0:Ie.getData("text/plain"))}function Tn(){return en.apply(this,arguments)}function en(){return(en=pr(function*(){try{co(yield navigator.clipboard.readText())}catch(Q){console.error(Q),$(re,!0)}})).apply(this,arguments)}function co(Q){Q!==void 0&&LF({clipboardText:Q,json:h(R),selection:h(ae),readOnly:m(),parser:_(),onPatch:Or,onChangeText:Xn,openRepairModal:Qn})}function Qn(Q,Ie){$(xe,{text:Q,onParse:Ke=>_x(Ke,yt=>Bv(yt,_())),onRepair:qz,onApply:Ie,onClose:ut})}function Zn(){NF({json:h(R),text:h(te),selection:h(ae),keepSelection:!1,readOnly:m(),onChange:z(),onPatch:Or})}function bo(){!m()&&h(R)!==void 0&&h(ae)&&Ef&&!En(Pt(h(ae)))&&(n("duplicate",{selection:h(ae)}),Or(aF(h(R),rd(h(R),h(ae)))))}function uo(){m()||!h(ae)||!ro(h(ae))&&!xn(h(ae))||En(Pt(h(ae)))||(n("extract",{selection:h(ae)}),Or(lF(h(R),h(ae)),(Q,Ie)=>{if(Po(Q))return{state:Pj(Q,Ie,[])}}))}function yn(Q){G1({insertType:Q,selectInside:!0,initialValue:void 0,json:h(R),selection:h(ae),readOnly:m(),parser:_(),onPatch:Or,onReplaceJson:Tr})}function bn(Q){rs(h(ae))&&$(ae,Ur(h(ae).path)),h(ae)||$(ae,nf(h(R),h(me))),yn(Q)}function Fn(Q){if(!m()&&h(ae))if(P0(h(ae)))try{var Ie=Qd(h(ae)),Ke=bt(h(R),Ie),yt=function(st,lt,$t){if(lt==="array"){if(Array.isArray(st))return st;if(hn(st))return pD(st);if(typeof st=="string")try{var nr=$t.parse(st);if(Array.isArray(nr))return nr;if(hn(nr))return pD(nr)}catch{return[st]}return[st]}if(lt==="object"){if(Array.isArray(st))return dD(st);if(hn(st))return st;if(typeof st=="string")try{var Kr=$t.parse(st);if(hn(Kr))return Kr;if(Array.isArray(Kr))return dD(Kr)}catch{return{value:st}}return{value:st}}if(lt==="value")return Po(st)?$t.stringify(st):st;throw new Error("Cannot convert ".concat(jE(st,$t)," to ").concat(lt))}(Ke,Q,_());if(yt===Ke)return;var at=[{op:"replace",path:Wt(Ie),value:yt}];n("handleConvert",{selection:h(ae),path:Ie,type:Q,operations:at}),Or(at,(st,lt)=>({state:h(ae)?mp(st,lt,Pt(h(ae))):h(me)}))}catch(st){F()(st)}else F()(new Error("Cannot convert current selection to ".concat(Q)))}function Qe(){if(h(ae)){var Q=OD(h(R),h(me),h(ae),!1),Ie=Xr(Pt(h(ae)));Q&&!En(Pt(Q))&&Hr(Ie,Xr(Pt(Q)))?$(ae,Ac(Pt(Q))):$(ae,Fc(Ie)),n("insert before",{selection:h(ae),selectionBefore:Q,parentPath:Ie}),so(),Vn()}}function Ir(){if(h(ae)){var Q=Mu(h(R),h(ae));n("insert after",Q),$(ae,Ac(Q)),so(),Vn()}}function De(Q){return ot.apply(this,arguments)}function ot(){return(ot=pr(function*(Q){yield RF({char:Q,selectInside:!0,json:h(R),selection:h(ae),readOnly:m(),parser:_(),onPatch:Or,onReplaceJson:Tr,onSelect:kt})})).apply(this,arguments)}function Ot(){if(!m()&&y().canUndo){var Q=y().undo();if(N1(Q)){var Ie={json:h(R),text:h(te)};$(R,Q.undo.patch?Na(h(R),Q.undo.patch):Q.undo.json),$(me,Q.undo.documentState),$(ae,Q.undo.selection),$(te,Q.undo.text),$(Fe,Q.undo.textIsRepaired),ne=void 0,n("undo",{item:Q,json:h(R),documentState:h(me),selection:h(ae)}),Dr(Ie,Q.undo.patch&&Q.redo.patch?{json:h(R),previousJson:Ie.json,redo:Q.undo.patch,undo:Q.redo.patch}:void 0),ut(),h(ae)&&Ar(Pt(h(ae)),{scrollToWhenVisible:!1})}else V()(Q)}}function ur(){if(!m()&&y().canRedo){var Q=y().redo();if(N1(Q)){var Ie={json:h(R),text:h(te)};$(R,Q.redo.patch?Na(h(R),Q.redo.patch):Q.redo.json),$(me,Q.redo.documentState),$(ae,Q.redo.selection),$(te,Q.redo.text),$(Fe,Q.redo.textIsRepaired),ne=void 0,n("redo",{item:Q,json:h(R),documentState:h(me),selection:h(ae)}),Dr(Ie,Q.undo.patch&&Q.redo.patch?{json:h(R),previousJson:Ie.json,redo:Q.redo.patch,undo:Q.undo.patch}:void 0),ut(),h(ae)&&Ar(Pt(h(ae)),{scrollToWhenVisible:!1})}else J()(Q)}}function Et(Q){var Ie;m()||h(R)===void 0||(ie=!0,D()({id:s,json:h(R),rootPath:Q,onSort:(Ie=pr(function*(Ke){var{operations:yt}=Ke;n("onSort",Q,yt),Or(yt,(at,st)=>({state:Pj(at,st,Q),selection:Ur(Q)}))}),function(Ke){return Ie.apply(this,arguments)}),onClose:()=>{ie=!1,setTimeout(ut)}}))}function gr(){h(ae)&&Et(TD(h(R),h(ae)))}function Jr(){Et([])}function xr(Q){if(h(R)!==void 0){var{id:Ie,onTransform:Ke,onClose:yt}=Q,at=Q.rootPath||[];ie=!0,Z()({id:Ie||i,json:h(R),rootPath:at,onTransform:st=>{Ke?Ke({operations:st,json:h(R),transformedJson:Na(h(R),st)}):(n("onTransform",at,st),Or(st,(lt,$t)=>({state:Pj(lt,$t,at),selection:Ur(at)})))},onClose:()=>{ie=!1,setTimeout(ut),yt&&yt()}})}}function un(){h(ae)&&xr({rootPath:TD(h(R),h(ae))})}function Yt(){xr({rootPath:[]})}function Ar(Q){return Jt.apply(this,arguments)}function Jt(){return Jt=pr(function*(Q){var{scrollToWhenVisible:Ie=!0,element:Ke}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};$(me,Ea(h(R),h(me),Q,mb));var yt=Ke??ir(Q);if(n("scrollTo",{path:Q,elem:yt,refContents:h(c)}),!yt||!h(c))return Promise.resolve();var at=h(c).getBoundingClientRect(),st=yt.getBoundingClientRect();if(!Ie&&st.bottom>at.top&&st.top{f(yt,{container:h(c),offset:lt,duration:300,callback:()=>$t()})})}),Jt.apply(this,arguments)}function ir(Q){var Ie,Ke;return so(),(Ie=(Ke=h(c))===null||Ke===void 0?void 0:Ke.querySelector('div[data-path="'.concat(c2(Q),'"]')))!==null&&Ie!==void 0?Ie:void 0}function _n(Q){var Ie,Ke;return so(),(Ie=(Ke=h(c))===null||Ke===void 0?void 0:Ke.querySelector('span[data-search-result-index="'.concat(Q,'"]')))!==null&&Ie!==void 0?Ie:void 0}function Pn(Q){var Ie=ir(Q);if(Ie&&h(c)){var Ke=h(c).getBoundingClientRect(),yt=Ie.getBoundingClientRect(),at=Po(bt(h(R),Q))?20:yt.height;yt.topKe.bottom-20&&f(Ie,{container:h(c),offset:-(Ke.height-at-20),duration:0})}}function Dr(Q,Ie){if(Q.json!==void 0||(Q==null?void 0:Q.text)!==void 0){if(h(te)!==void 0){var Ke,yt={text:h(te),json:void 0};(Ke=z())===null||Ke===void 0||Ke(yt,Q,{contentErrors:rr(),patchResult:Ie})}else if(h(R)!==void 0){var at,st={text:void 0,json:h(R)};(at=z())===null||at===void 0||at(st,Q,{contentErrors:rr(),patchResult:Ie})}}}function Or(Q,Ie){n("handlePatch",Q,Ie);var Ke={json:h(R),text:h(te)},yt=Ee(Q,Ie);return Dr(Ke,yt),yt}function Tr(Q,Ie){var Ke={json:h(R),text:h(te)},yt={documentState:h(me),selection:h(ae),json:h(R),text:h(te),textIsRepaired:h(Fe)},at=Ea(h(R),Ni(Q,h(me)),[],Rm),st=typeof Ie=="function"?Ie(Q,at,h(ae)):void 0;$(R,(st==null?void 0:st.json)!==void 0?st.json:Q),$(me,(st==null?void 0:st.state)!==void 0?st.state:at),$(ae,(st==null?void 0:st.selection)!==void 0?st.selection:h(ae)),$(te,void 0),$(Fe,!1),ne=void 0,Sr(h(R)),W(yt),Dr(Ke,void 0)}function Xn(Q,Ie){n("handleChangeText");var Ke={json:h(R),text:h(te)},yt={documentState:h(me),selection:h(ae),json:h(R),text:h(te),textIsRepaired:h(Fe)};try{$(R,C()(Q)),$(me,Ea(h(R),Ni(h(R),h(me)),[],Rm)),$(te,void 0),$(Fe,!1),ne=void 0}catch(st){try{$(R,C()(Ol(Q))),$(me,Ea(h(R),Ni(h(R),h(me)),[],Rm)),$(te,Q),$(Fe,!0),ne=void 0}catch{$(R,void 0),$(me,f2({json:h(R),expand:Rm})),$(te,Q),$(Fe,!1),ne=h(te)!==""?vh(h(te),st.message||String(st)):void 0}}if(typeof Ie=="function"){var at=Ie(h(R),h(me),h(ae));$(R,(at==null?void 0:at.json)!==void 0?at.json:h(R)),$(me,(at==null?void 0:at.state)!==void 0?at.state:h(me)),$(ae,(at==null?void 0:at.selection)!==void 0?at.selection:h(ae))}Sr(h(R)),W(yt),Dr(Ke,void 0)}function _e(Q,Ie){var Ke=arguments.length>2&&arguments[2]!==void 0&&arguments[2];n("handleExpand",{path:Q,expanded:Ie,recursive:Ke}),Ie?be(Q,Ke?NE:ED):Me(Q,Ke),ut()}function Be(){_e([],!0,!0)}function et(){_e([],!1,!0)}function Er(Q){n("openFind",{findAndReplace:Q}),$(_t,!1),$(It,!1),so(),$(_t,!0),$(It,Q)}function on(Q,Ie){n("handleExpandSection",Q,Ie),$(me,function(Ke,yt,at,st){return yh(Ke,yt,at,(lt,$t)=>{if(!Ts($t))return $t;var nr=Qz($t.visibleSections.concat(st));return rt(rt({},$t),{},{visibleSections:nr})})}(h(R),h(me),Q,Ie))}function zr(Q){n("pasted json as text",Q),$(gt,Q)}function gn(Q){var Ie,{anchor:Ke,left:yt,top:at,width:st,height:lt,offsetTop:$t,offsetLeft:nr,showTip:Kr}=Q,Vr=function(Dn){var{json:Hn,documentState:dn,selection:Tt,readOnly:Nt,onEditKey:cn,onEditValue:oo,onToggleEnforceString:xo,onCut:wn,onCopy:vn,onPaste:$r,onRemove:Bo,onDuplicate:_s,onExtract:wa,onInsertBefore:il,onInsert:xa,onConvert:fs,onInsertAfter:Qs,onSort:Zl,onTransform:zp}=Dn,Wi=Hn!==void 0,qo=!!Tt,eo=!!Tt&&En(Pt(Tt)),Qo=Tt?bt(Hn,Pt(Tt)):void 0,Xl=Array.isArray(Qo)?"Edit array":hn(Qo)?"Edit object":"Edit value",ci=Wi&&(ro(Tt)||rs(Tt)||xn(Tt)),Jh=Tt&&!eo?bt(Hn,Xr(Pt(Tt))):void 0,Kh=!Nt&&Wi&&R1(Tt)&&!eo&&!Array.isArray(Jh),Fp=!Nt&&Wi&&Tt!==void 0&&R1(Tt),Hx=Fp&&!Po(Qo),Qh=!Nt&&ci,Zh=ci,Wx=!Nt&&qo,Gx=!Nt&&Wi&&ci&&!eo,Jx=!Nt&&Wi&&Tt!==void 0&&(ro(Tt)||xn(Tt))&&!eo,Wn=ci,Ds=Wn?"Convert to:":"Insert:",Xh=!Nt&&(Os(Tt)&&Array.isArray(Qo)||ia(Tt)&&Array.isArray(Jh)),Yh=!Nt&&(Wn?P0(Tt)&&!hn(Qo):qo),hd=!Nt&&(Wn?P0(Tt)&&!Array.isArray(Qo):qo),ui=!Nt&&(Wn?P0(Tt)&&Po(Qo):qo),Kx=Tt!==void 0&&Cc(Hn,dn,Pt(Tt));function Vp(em){ci?em!=="structure"&&fs(em):xa(em)}return[{type:"row",items:[{type:"button",onClick:()=>cn(),icon:Rf,text:"Edit key",title:"Edit the key (Double-click on the key)",disabled:!Kh},{type:"dropdown-button",main:{type:"button",onClick:()=>oo(),icon:Rf,text:Xl,title:"Edit the value (Double-click on the value)",disabled:!Fp},width:"11em",items:[{type:"button",icon:Rf,text:Xl,title:"Edit the value (Double-click on the value)",onClick:()=>oo(),disabled:!Fp},{type:"button",icon:Kx?F6:U6,text:"Enforce string",title:"Enforce keeping the value as string when it contains a numeric value",onClick:()=>xo(),disabled:!Hx}]}]},{type:"separator"},{type:"row",items:[{type:"dropdown-button",main:{type:"button",onClick:()=>wn(!0),icon:Nf,text:"Cut",title:"Cut selected contents, formatted with indentation (Ctrl+X)",disabled:!Qh},width:"10em",items:[{type:"button",icon:Nf,text:"Cut formatted",title:"Cut selected contents, formatted with indentation (Ctrl+X)",onClick:()=>wn(!0),disabled:!Qh},{type:"button",icon:Nf,text:"Cut compacted",title:"Cut selected contents, without indentation (Ctrl+Shift+X)",onClick:()=>wn(!1),disabled:!Qh}]},{type:"dropdown-button",main:{type:"button",onClick:()=>vn(!0),icon:bu,text:"Copy",title:"Copy selected contents, formatted with indentation (Ctrl+C)",disabled:!Zh},width:"12em",items:[{type:"button",icon:bu,text:"Copy formatted",title:"Copy selected contents, formatted with indentation (Ctrl+C)",onClick:()=>vn(!0),disabled:!Zh},{type:"button",icon:bu,text:"Copy compacted",title:"Copy selected contents, without indentation (Ctrl+Shift+C)",onClick:()=>vn(!1),disabled:!Zh}]},{type:"button",onClick:()=>$r(),icon:z6,text:"Paste",title:"Paste clipboard contents (Ctrl+V)",disabled:!Wx}]},{type:"separator"},{type:"row",items:[{type:"column",items:[{type:"button",onClick:()=>_s(),icon:G6,text:"Duplicate",title:"Duplicate selected contents (Ctrl+D)",disabled:!Gx},{type:"button",onClick:()=>wa(),icon:Wxe,text:"Extract",title:"Extract selected contents",disabled:!Jx},{type:"button",onClick:()=>Zl(),icon:Xb,text:"Sort",title:"Sort array or object contents",disabled:Nt||!ci},{type:"button",onClick:()=>zp(),icon:Qb,text:"Transform",title:"Transform array or object contents (filter, sort, project)",disabled:Nt||!ci},{type:"button",onClick:()=>Bo(),icon:tS,text:"Remove",title:"Remove selected contents (Delete)",disabled:Nt||!ci}]},{type:"column",items:[{type:"label",text:Ds},{type:"button",onClick:()=>Vp("structure"),icon:Wn?by:jf,text:"Structure",title:Ds+" structure like the first item in the array",disabled:!Xh},{type:"button",onClick:()=>Vp("object"),icon:Wn?by:jf,text:"Object",title:Ds+" object",disabled:!Yh},{type:"button",onClick:()=>Vp("array"),icon:Wn?by:jf,text:"Array",title:Ds+" array",disabled:!hd},{type:"button",onClick:()=>Vp("value"),icon:Wn?by:jf,text:"Value",title:Ds+" value",disabled:!ui}]}]},{type:"separator"},{type:"row",items:[{type:"button",onClick:()=>il(),icon:qxe,text:"Insert before",title:"Select area before current entry to insert or paste contents",disabled:Nt||!ci||eo},{type:"button",onClick:()=>Qs(),icon:Ixe,text:"Insert after",title:"Select area after current entry to insert or paste contents",disabled:Nt||!ci||eo}]}]}({json:h(R),documentState:h(me),selection:h(ae),readOnly:m(),onEditKey:wt,onEditValue:br,onToggleEnforceString:wr,onCut:Pr,onCopy:mr,onPaste:Tn,onRemove:Zn,onDuplicate:bo,onExtract:uo,onInsertBefore:Qe,onInsert:bn,onInsertAfter:Ir,onConvert:Fn,onSort:gr,onTransform:un}),Cn=(Ie=B()(Vr))!==null&&Ie!==void 0?Ie:Vr;if(Cn!==!1){var tr={left:yt,top:at,offsetTop:$t,offsetLeft:nr,width:st,height:lt,anchor:Ke,closeOnOuterClick:!0,onClose:()=>{ie=!1,ut()}};ie=!0;var po=a(qF,{tip:Kr?"Tip: you can open this context menu via right-click or with Ctrl+Q":void 0,items:Cn,onRequestClose:()=>l(po)},tr)}}function Vn(Q){if(!bi(h(ae)))if(Q&&(Q.stopPropagation(),Q.preventDefault()),Q&&Q.type==="contextmenu"&&Q.target!==h(u))gn({left:Q.clientX,top:Q.clientY,width:mc,height:hc,showTip:!1});else{var Ie,Ke=(Ie=h(c))===null||Ie===void 0?void 0:Ie.querySelector(".jse-context-menu-pointer.jse-selected");if(Ke)gn({anchor:Ke,offsetTop:2,width:mc,height:hc,showTip:!1});else{var yt,at=(yt=h(c))===null||yt===void 0?void 0:yt.getBoundingClientRect();at&&gn({top:at.top+2,left:at.left+2,width:mc,height:hc,showTip:!1})}}}function qn(Q){gn({anchor:Jz(Q.target,"BUTTON"),offsetTop:0,width:mc,height:hc,showTip:!0})}function Yn(){return dr.apply(this,arguments)}function dr(){return(dr=pr(function*(){if(n("apply pasted json",h(gt)),h(gt)){var{onPasteAsJson:Q}=h(gt);$(gt,void 0),Q(),setTimeout(ut)}})).apply(this,arguments)}function Un(){n("clear pasted json"),$(gt,void 0),ut()}function er(){L()(Jo.text)}function Vo(Q){$(ae,Q),ut(),Ar(Pt(Q))}function ut(){n("focus"),h(u)&&(h(u).focus(),h(u).select())}function tn(Q){return function(Ie,Ke,yt){var at=Xr(yt),st=[qr(yt)],lt=bt(Ie,at),$t=lt?Tj(lt,Ke,st):void 0;return $t?Ur(at.concat($t)):Ac(yt)}(h(R),h(me),Q)}function Sn(Q){h(r)&&h(r).onDrag(Q)}function sn(){h(r)&&h(r).onDragEnd()}var wo=he(void 0,!0);$e(()=>h(ae),()=>{var Q;Q=h(ae),Hr(Q,g())||(n("onSelect",Q),X()(Q))}),$e(()=>(de(x()),de(j())),()=>{$(Ue,_E({escapeControlCharacters:x(),escapeUnicodeCharacters:j()}))}),$e(()=>h(_t),()=>{(function(Q){h(c)&&Q&&h(c).scrollTop===0&&(Ri(c,h(c).style.overflowAnchor="none"),Ri(c,h(c).scrollTop+=Nm),setTimeout(()=>{h(c)&&Ri(c,h(c).style.overflowAnchor="")}))})(h(_t))}),$e(()=>de(v()),()=>{Bn(v())}),$e(()=>de(g()),()=>{(function(Q){Hr(h(ae),Q)||(n("applyExternalSelection",{selection:h(ae),externalSelection:Q}),Zg(Q)&&$(ae,Q))})(g())}),$e(()=>(h(R),de(A()),de(_()),de(I())),()=>{St(h(R),A(),_(),I())}),$e(()=>(h(c),WD),()=>{$(r,h(c)?WD(h(c)):void 0)}),$e(()=>(de(m()),de(b()),de(_()),h(Ue),de(oe()),de(se())),()=>{$(wo,{mode:Jo.tree,readOnly:m(),truncateTextSize:b(),parser:_(),normalization:h(Ue),getJson:Ve,getDocumentState:Ft,getSelection:_r,findElement:ir,findNextInside:tn,focus:ut,onPatch:Or,onInsert:yn,onExpand:_e,onSelect:kt,onFind:Er,onExpandSection:on,onPasteJson:zr,onRenderValue:oe(),onContextMenu:gn,onClassName:se()||(()=>{}),onDrag:Sn,onDragEnd:sn})}),$e(()=>h(wo),()=>{n("context changed",h(wo))}),mn(),fr(!0);var Ks=QPe();Xe("mousedown",_c,function(Q){!Vh(Q.target,Ie=>Ie===h(d))&&bi(h(ae))&&(n("click outside the editor, exit edit mode"),$(ae,yl(h(ae))),p&&h(u)&&(h(u).focus(),h(u).blur()),n("blur (outside editor)"),h(u)&&h(u).blur())});var Y,Ne=Kt(Ks),He=fe(Ne),Ye=Q=>{(function(Ie,Ke){Ut(Ke,!1);var yt=he(void 0,!0),at=he(void 0,!0),st=he(void 0,!0),lt=T(Ke,"json",9),$t=T(Ke,"selection",9),nr=T(Ke,"readOnly",9),Kr=T(Ke,"showSearch",13,!1),Vr=T(Ke,"history",9),Cn=T(Ke,"onExpandAll",9),tr=T(Ke,"onCollapseAll",9),po=T(Ke,"onUndo",9),Dn=T(Ke,"onRedo",9),Hn=T(Ke,"onSort",9),dn=T(Ke,"onTransform",9),Tt=T(Ke,"onContextMenu",9),Nt=T(Ke,"onCopy",9),cn=T(Ke,"onRenderMenu",9);function oo(){Kr(!Kr())}var xo=he(void 0,!0),wn=he(void 0,!0),vn=he(void 0,!0),$r=he(void 0,!0);$e(()=>de(lt()),()=>{$(yt,lt()!==void 0)}),$e(()=>(h(yt),de($t()),xn),()=>{$(at,h(yt)&&(ro($t())||rs($t())||xn($t())))}),$e(()=>(de(Cn()),de(lt())),()=>{$(xo,{type:"button",icon:nPe,title:"Expand all",className:"jse-expand-all",onClick:Cn(),disabled:!Po(lt())})}),$e(()=>(de(tr()),de(lt())),()=>{$(wn,{type:"button",icon:oPe,title:"Collapse all",className:"jse-collapse-all",onClick:tr(),disabled:!Po(lt())})}),$e(()=>de(lt()),()=>{$(vn,{type:"button",icon:Kw,title:"Search (Ctrl+F)",className:"jse-search",onClick:oo,disabled:lt()===void 0})}),$e(()=>(de(nr()),h(xo),h(wn),de(Hn()),de(lt()),de(dn()),h(vn),de(Tt()),de(po()),de(Vr()),de(Dn()),de(Nt()),h(at)),()=>{$($r,nr()?[h(xo),h(wn),{type:"separator"},{type:"button",icon:bu,title:"Copy (Ctrl+C)",className:"jse-copy",onClick:Nt(),disabled:!h(at)},{type:"separator"},h(vn),{type:"space"}]:[h(xo),h(wn),{type:"separator"},{type:"button",icon:Xb,title:"Sort",className:"jse-sort",onClick:Hn(),disabled:nr()||lt()===void 0},{type:"button",icon:Qb,title:"Transform contents (filter, sort, project)",className:"jse-transform",onClick:dn(),disabled:nr()||lt()===void 0},h(vn),{type:"button",icon:H6,title:OE,className:"jse-contextmenu",onClick:Tt()},{type:"separator"},{type:"button",icon:EA,title:"Undo (Ctrl+Z)",className:"jse-undo",onClick:po(),disabled:!Vr().canUndo},{type:"button",icon:AA,title:"Redo (Ctrl+Shift+Z)",className:"jse-redo",onClick:Dn(),disabled:!Vr().canRedo},{type:"space"}])}),$e(()=>(de(cn()),h($r)),()=>{$(st,cn()(h($r))||h($r))}),mn(),fr(!0),Tx(Ie,{get items(){return h(st)}}),Ht()})(Q,{get json(){return h(R)},get selection(){return h(ae)},get readOnly(){return m()},get history(){return y()},onExpandAll:Be,onCollapseAll:et,onUndo:Ot,onRedo:ur,onSort:Jr,onTransform:Yt,onContextMenu:qn,onCopy:mr,get onRenderMenu(){return H()},get showSearch(){return h(_t)},set showSearch(Ie){$(_t,Ie)},$$legacy:!0})};Le(He,Q=>{w()&&Q(Ye)});var tt=ke(He,2),ht=Q=>{jPe(Q,{get json(){return h(R)},get selection(){return h(ae)},onSelect:Vo,get onError(){return F()},get pathParser(){return M()}})};Le(tt,Q=>{k()&&Q(ht)});var xt=ke(tt,2),Bt=Q=>{var Ie=JPe(),Ke=Kt(Ie),yt=fe(Ke);yt.readOnly=!0,no(yt,$t=>$(u,$t),()=>h(u));var at=ke(Ke,2),st=$t=>{var nr=vo(),Kr=Kt(nr),Vr=tr=>{(function(po,Dn){Ut(Dn,!0);var Hn=uPe();Hn.__click=[lPe,Dn];var dn=ke(fe(Hn),2),Tt=ke(fe(dn),2),Nt=cn=>{var oo=cPe(),xo=ke(Kt(oo),2);fn(xo,"title","Create an empty JSON object (press '{')"),xo.__click=[iPe,Dn];var wn=ke(xo,2);fn(wn,"title","Create an empty JSON array (press '[')"),wn.__click=[aPe,Dn],ge(cn,oo)};Le(Tt,cn=>{Dn.readOnly||cn(Nt)}),ge(po,Hn),Ht()})(tr,{get readOnly(){return m()},onCreateObject:()=>{ut(),De("{")},onCreateArray:()=>{ut(),De("[")},onClick:()=>{ut()}})},Cn=tr=>{var po=HPe(),Dn=Kt(po),Hn=We(()=>m()?[]:[{icon:Zb,text:"Repair manually",title:'Open the document in "code" mode and repair it manually',onClick:er}]);Ha(Dn,{type:"error",message:"The loaded JSON document is invalid and could not be repaired automatically.",get actions(){return h(Hn)}}),BF(ke(Dn,2),{get text(){return h(te)},get json(){return h(R)},get indentation(){return N()},get parser(){return _()}}),ge(tr,po)};Le(Kr,tr=>{h(te)===""||h(te)===void 0?tr(Vr):tr(Cn,!1)}),ge($t,nr)},lt=$t=>{var nr=GPe(),Kr=Kt(nr);TF(fe(Kr),{get json(){return h(R)},get documentState(){return h(me)},get parser(){return _()},get showSearch(){return h(_t)},get showReplace(){return h(It)},get readOnly(){return m()},columns:void 0,onSearch:vt,onFocus:sr,onPatch:Or,onClose:G});var Vr=ke(Kr,2);fn(Vr,"data-jsoneditor-scrollable-contents",!0);var Cn=fe(Vr),tr=Tt=>{ge(Tt,WPe())};Le(Cn,Tt=>{h(_t)&&Tt(tr)}),j2(ke(Cn,2),{get value(){return h(R)},pointer:"",get state(){return h(me)},get validationErrors(){return h(we)},get searchResults(){return h(Ge)},get selection(){return h(ae)},get context(){return h(wo)},onDragSelectionStart:zo}),no(Vr,Tt=>$(c,Tt),()=>h(c));var po=ke(Vr,2),Dn=Tt=>{var Nt=We(()=>"You pasted a JSON ".concat(Array.isArray(h(gt).contents)?"array":"object"," as text"));Ha(Tt,{type:"info",get message(){return h(Nt)},actions:[{icon:ah,text:"Paste as JSON instead",title:"Replace the value with the pasted JSON",onMouseDown:Yn},{text:"Leave as is",title:"Keep the JSON embedded in the value",onClick:Un}]})};Le(po,Tt=>{h(gt)&&Tt(Dn)});var Hn=ke(po,2),dn=Tt=>{var Nt=We(()=>m()?[]:[{icon:OA,text:"Ok",title:"Accept the repaired document",onClick:Gt},{icon:Zb,text:"Repair manually instead",title:"Leave the document unchanged and repair it manually instead",onClick:er}]);Ha(Tt,{type:"success",message:"The loaded JSON document was invalid but is successfully repaired.",get actions(){return h(Nt)},onClose:ut})};Le(Hn,Tt=>{h(Fe)&&Tt(dn)}),VE(ke(Hn,2),{get validationErrors(){return h(Ze)},selectError:ee}),ge($t,nr)};Le(at,$t=>{h(R)===void 0?$t(st):$t(lt,!1)}),Xe("paste",yt,nn),ge(Q,Ie)},Mr=Q=>{ge(Q,KPe())};Le(xt,Q=>{o?Q(Mr,!1):Q(Bt)}),no(Ne,Q=>$(d,Q),()=>h(d));var Fr=ke(Ne,2),Rr=Q=>{AF(Q,{onClose:()=>$(re,!1)})};Le(Fr,Q=>{h(re)&&Q(Rr)});var vr=ke(Fr,2),In=Q=>{EF(Q,Iu(()=>h(xe),{onClose:()=>{var Ie;(Ie=h(xe))===null||Ie===void 0||Ie.onClose(),$(xe,void 0)}}))};return Le(vr,Q=>{h(xe)&&Q(In)}),nt(Q=>Y=hr(Ne,1,"jse-tree-mode svelte-vrx1dr",null,Y,Q),[()=>({"no-main-menu":!w()})],We),Xe("keydown",Ne,function(Q){var Ie=Bc(Q),Ke=Q.shiftKey;if(n("keydown",{combo:Ie,key:Q.key}),Ie==="Ctrl+X"&&(Q.preventDefault(),Pr(!0)),Ie==="Ctrl+Shift+X"&&(Q.preventDefault(),Pr(!1)),Ie==="Ctrl+C"&&(Q.preventDefault(),mr(!0)),Ie==="Ctrl+Shift+C"&&(Q.preventDefault(),mr(!1)),Ie==="Ctrl+D"&&(Q.preventDefault(),bo()),Ie!=="Delete"&&Ie!=="Backspace"||(Q.preventDefault(),Zn()),Ie==="Insert"&&(Q.preventDefault(),yn("structure")),Ie==="Ctrl+A"&&(Q.preventDefault(),$(ae,Ur([]))),Ie==="Ctrl+Q"&&Vn(Q),Ie==="ArrowUp"||Ie==="Shift+ArrowUp"){Q.preventDefault();var yt=h(ae)?OD(h(R),h(me),h(ae),Ke)||h(ae):nf(h(R),h(me));$(ae,yt),Pn(Pt(yt))}if(Ie==="ArrowDown"||Ie==="Shift+ArrowDown"){Q.preventDefault();var at=h(ae)?function(Vr,Cn,tr){var po=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(tr){var Dn=po?Pt(tr):Mu(Vr,tr),Hn=Po(bt(Vr,Dn))?_D(Vr,Cn,Dn,!0):Cn,dn=Tj(Vr,Cn,Dn),Tt=Tj(Vr,Hn,Dn);if(po)return Os(tr)?dn!==void 0?Ns(dn,dn):void 0:ia(tr)?Tt!==void 0?Ns(Tt,Tt):void 0:Tt!==void 0?Ns(Qd(tr),Tt):void 0;if(ia(tr))return Tt!==void 0?Ur(Tt):void 0;if(Os(tr)||xn(tr))return dn!==void 0?Ur(dn):void 0;if(rs(tr)){if(dn===void 0||dn.length===0)return;var Nt=Xr(dn),cn=bt(Vr,Nt);return Array.isArray(cn)?Ur(dn):zc(dn)}return ro(tr)?Tt!==void 0?Ur(Tt):dn!==void 0?Ur(dn):void 0:void 0}}(h(R),h(me),h(ae),Ke)||h(ae):nf(h(R),h(me));$(ae,at),Pn(Pt(at))}if(Ie==="ArrowLeft"||Ie==="Shift+ArrowLeft"){Q.preventDefault();var st=h(ae)?function(Vr,Cn,tr){var po=arguments.length>3&&arguments[3]!==void 0&&arguments[3],Dn=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4];if(tr){var{caret:Hn,previous:dn}=$D(Vr,Cn,tr,Dn);if(po)return ro(tr)?void 0:Ns(tr.path,tr.path);if(Hn&&dn)return h2(dn);var Tt=Xr(Pt(tr)),Nt=bt(Vr,Tt);return xn(tr)&&Array.isArray(Nt)?Ns(tr.path,tr.path):ro(tr)&&!Array.isArray(Nt)?zc(tr.focusPath):void 0}}(h(R),h(me),h(ae),Ke,!m())||h(ae):nf(h(R),h(me));$(ae,st),Pn(Pt(st))}if(Ie==="ArrowRight"||Ie==="Shift+ArrowRight"){Q.preventDefault();var lt=h(ae)&&h(R)!==void 0?function(Vr,Cn,tr){var po=arguments.length>3&&arguments[3]!==void 0&&arguments[3],Dn=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4];if(tr){var{caret:Hn,next:dn}=$D(Vr,Cn,tr,Dn);return po?ro(tr)?void 0:Ns(tr.path,tr.path):Hn&&dn?h2(dn):ro(tr)?Ur(tr.focusPath):void 0}}(h(R),h(me),h(ae),Ke,!m())||h(ae):nf(h(R),h(me));$(ae,lt),Pn(Pt(lt))}if(Ie==="Enter"&&h(ae)){if(Ax(h(ae))){var $t=h(ae).focusPath,nr=bt(h(R),Xr($t));Array.isArray(nr)&&(Q.preventDefault(),$(ae,Ur($t)))}rs(h(ae))&&(Q.preventDefault(),$(ae,rt(rt({},h(ae)),{},{edit:!0}))),xn(h(ae))&&(Q.preventDefault(),Po(bt(h(R),h(ae).path))?_e(h(ae).path,!0):$(ae,rt(rt({},h(ae)),{},{edit:!0})))}if(Ie.replace(/^Shift\+/,"").length===1&&h(ae))return Q.preventDefault(),void De(Q.key);if(Ie==="Enter"&&(ia(h(ae))||Os(h(ae))))return Q.preventDefault(),void De("");if(Ie==="Ctrl+Enter"&&xn(h(ae))){var Kr=bt(h(R),h(ae).path);jx(Kr)&&window.open(String(Kr),"_blank")}Ie==="Escape"&&h(ae)&&(Q.preventDefault(),$(ae,void 0)),Ie==="Ctrl+F"&&(Q.preventDefault(),Er(!1)),Ie==="Ctrl+H"&&(Q.preventDefault(),Er(!0)),Ie==="Ctrl+Z"&&(Q.preventDefault(),Ot()),Ie==="Ctrl+Shift+Z"&&(Q.preventDefault(),ur())}),Xe("mousedown",Ne,function(Q){n("handleMouseDown",Q);var Ie=Q.target;Gz(Ie,"BUTTON")||Ie.isContentEditable||(ut(),h(ae)||h(R)!==void 0||h(te)!==""&&h(te)!==void 0||(n("createDefaultSelection"),$(ae,Ur([]))))}),Xe("contextmenu",Ne,Vn),ge(e,Ks),lr(t,"expand",be),lr(t,"collapse",Me),lr(t,"validate",rr),lr(t,"getJson",Ve),lr(t,"patch",Ee),lr(t,"acceptAutoRepair",Gt),lr(t,"openTransformModal",xr),lr(t,"scrollTo",Ar),lr(t,"findElement",ir),lr(t,"findSearchResult",_n),lr(t,"focus",ut),Ht({expand:be,collapse:Me,validate:rr,getJson:Ve,patch:Ee,acceptAutoRepair:Gt,openTransformModal:xr,scrollTo:Ar,findElement:ir,findSearchResult:_n,focus:ut})}function zF(e){return typeof(t=e)!="object"||t===null?e:new Proxy(e,{get:(r,n,o)=>zF(Reflect.get(r,n,o)),set:()=>!1,deleteProperty:()=>!1});var t}var R0=ss("jsoneditor:History");function FF(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.maxItems||1e3,r=[],n=0;function o(){return n0}function i(){return{canUndo:o(),canRedo:s(),items:()=>r.slice().reverse(),add:l,undo:u,redo:d,clear:c}}function a(){e.onChange&&e.onChange(i())}function l(p){R0("add",p),r=[p].concat(r.slice(n)).slice(0,t),n=0,a()}function c(){R0("clear"),r=[],n=0,a()}function u(){if(o()){var p=r[n];return n+=1,R0("undo",p),a(),p}}function d(){if(s())return R0("redo",r[n-=1]),a(),r[n]}return{get:i}}or(`/* over all fonts, sizes, and colors */ +}`);var HPe=Pe(" ",1),WPe=Pe('
'),GPe=Pe('
',1),JPe=Pe(' ',1),KPe=Pe('
loading...
'),QPe=Pe('
',1);function O2(e,t){Ut(t,!1);var r=he(void 0,!0),n=ss("jsoneditor:TreeMode"),o=typeof window>"u";n("isSSR:",o);var s=ih(),i=ih(),{openAbsolutePopup:a,closeAbsolutePopup:l}=pd("absolute-popup"),c=he(void 0,!0),u=he(void 0,!0),d=he(void 0,!0),p=!1,f=SF(),m=T(t,"readOnly",9),v=T(t,"externalContent",9),g=T(t,"externalSelection",9),y=T(t,"history",9),b=T(t,"truncateTextSize",9),w=T(t,"mainMenuBar",9),k=T(t,"navigationBar",9),x=T(t,"escapeControlCharacters",9),j=T(t,"escapeUnicodeCharacters",9),_=T(t,"parser",9),C=T(t,"parseMemoizeOne",9),A=T(t,"validator",9),I=T(t,"validationParser",9),M=T(t,"pathParser",9),L=T(t,"indentation",9),F=T(t,"onError",9),z=T(t,"onChange",9),N=T(t,"onChangeMode",9),X=T(t,"onSelect",9),V=T(t,"onUndo",9),J=T(t,"onRedo",9),oe=T(t,"onRenderValue",9),H=T(t,"onRenderMenu",9),B=T(t,"onRenderContextMenu",9),se=T(t,"onClassName",9),q=T(t,"onFocus",9),O=T(t,"onBlur",9),D=T(t,"onSortModal",9),Z=T(t,"onTransformModal",9),Se=T(t,"onJSONEditorModal",9),ie=!1,re=he(!1,!0),xe=he(void 0,!0);FE({onMount:Is,onDestroy:va,getWindow:()=>qv(h(d)),hasFocus:()=>ie&&document.hasFocus()||CE(h(d)),onFocus:()=>{p=!0,q()&&q()()},onBlur:()=>{p=!1,O()&&O()()}});var R=he(void 0,!0),te=he(void 0,!0),ne=void 0,Ce=!1,me=he(f2({json:h(R)}),!0),ae=he(Zg(g())?g():void 0,!0);function kt(Q){$(ae,Q)}Is(()=>{if(h(ae)){var Q=Pt(h(ae));$(me,Ea(h(R),h(me),Q,mb)),setTimeout(()=>Pn(Q))}});var ft,Ue=he(void 0,!0),gt=he(void 0,!0),Ge=he(void 0,!0),_t=he(!1,!0),It=he(!1,!0);function vt(Q){$(Ge,(ft=Q)?pF(h(R),ft.items):void 0)}function sr(Q,Ie){return P.apply(this,arguments)}function P(){return(P=pr(function*(Q,Ie){$(me,Ea(h(R),h(me),Q,mb));var Ke=_n(Ie);yield Ar(Q,{element:Ke})})).apply(this,arguments)}function G(){$(_t,!1),$(It,!1),ut()}function ee(Q){n("select validation error",Q),$(ae,Ur(Q.path)),Ar(Q.path)}function be(Q){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ED;n("expand"),$(me,Ea(h(R),h(me),Q,Ie))}function Me(Q,Ie){$(me,_D(h(R),h(me),Q,Ie)),h(ae)&&function(Ke,yt){return qc(Pt(Ke),yt)&&(Pt(Ke).length>yt.length||Os(Ke))}(h(ae),Q)&&$(ae,void 0)}var Fe=he(!1,!0),Ze=he([],!0),we=he(void 0,!0),pt=Ag(CF);function St(Q,Ie,Ke,yt){$f(()=>{var at;try{at=pt(Q,Ie,Ke,yt)}catch(st){at=[{path:[],message:"Failed to validate: "+st.message,severity:qa.warning}]}Hr(at,h(Ze))||(n("validationErrors changed:",at),$(Ze,at),$(we,function(st,lt){var $t;return lt.forEach(nr=>{$t=GD(st,$t,nr.path,(Kr,Vr)=>rt(rt({},Vr),{},{validationError:nr}))}),lt.forEach(nr=>{for(var Kr=nr.path;Kr.length>0;)Kr=Xr(Kr),$t=GD(st,$t,Kr,(Vr,Cn)=>Cn.validationError?Cn:rt(rt({},Cn),{},{validationError:{isChildError:!0,path:Kr,message:"Contains invalid data",severity:qa.warning}}))}),$t}(Q,h(Ze))))},at=>n("validationErrors updated in ".concat(at," ms")))}function rr(){return n("validate"),ne?{parseError:ne,isRepairable:!1}:(St(h(R),A(),_(),I()),En(h(Ze))?void 0:{validationErrors:h(Ze)})}function Ve(){return h(R)}function Ft(){return h(me)}function _r(){return h(ae)}function Bn(Q){n("applyExternalContent",{updatedContent:Q}),Wg(Q)?function(Ie){if(Ie!==void 0){var Ke=!Hr(h(R),Ie);if(n("update external json",{isChanged:Ke,currentlyText:h(R)===void 0}),!!Ke){var yt={documentState:h(me),selection:h(ae),json:h(R),text:h(te),textIsRepaired:h(Fe)};$(R,Ie),$(me,Li(Ie,h(me))),Lr(h(R)),$(te,void 0),$(Fe,!1),ne=void 0,Sr(h(R)),W(yt)}}}(Q.json):Hg(Q)&&function(Ie){if(!(Ie===void 0||Wg(v()))){var Ke=Ie!==h(te);if(n("update external text",{isChanged:Ke}),!!Ke){var yt={documentState:h(me),selection:h(ae),json:h(R),text:h(te),textIsRepaired:h(Fe)};try{$(R,C()(Ie)),$(me,Li(h(R),h(me))),Lr(h(R)),$(te,Ie),$(Fe,!1),ne=void 0}catch(at){try{$(R,C()(Ol(Ie))),$(me,Li(h(R),h(me))),Lr(h(R)),$(te,Ie),$(Fe,!0),ne=void 0,Sr(h(R))}catch{$(R,void 0),$(me,void 0),$(te,v().text),$(Fe,!1),ne=h(te)!==void 0&&h(te)!==""?vh(h(te),at.message||String(at)):void 0}}Sr(h(R)),W(yt)}}}(Q.text)}function Lr(Q){Ce||(Ce=!0,$(me,mp(Q,h(me),[])))}function Sr(Q){h(ae)&&(oa(Q,Qd(h(ae)))&&oa(Q,Pt(h(ae)))||(n("clearing selection: path does not exist anymore",h(ae)),$(ae,nf(Q,h(me)))))}function W(Q){if(Q.json!==void 0||Q.text!==void 0){var Ie=h(R)!==void 0&&Q.json!==void 0;y().add({type:"tree",undo:{patch:Ie?[{op:"replace",path:"",value:Q.json}]:void 0,json:Q.json,text:Q.text,documentState:Q.documentState,textIsRepaired:Q.textIsRepaired,selection:yl(Q.selection),sortedColumn:void 0},redo:{patch:Ie?[{op:"replace",path:"",value:h(R)}]:void 0,json:h(R),text:h(te),documentState:h(me),textIsRepaired:h(Fe),selection:yl(h(ae)),sortedColumn:void 0}})}}function Ee(Q,Ie){var Ke;if(n("patch",Q,Ie),h(R)===void 0)throw new Error("Cannot apply patch: no JSON");var yt=h(R),at={json:void 0,text:h(te),documentState:h(me),selection:yl(h(ae)),textIsRepaired:h(Fe),sortedColumn:void 0},st=dF(h(R),Q),lt=Yz(h(R),h(me),Q),$t=(Ke=bh(h(R),Q))!==null&&Ke!==void 0?Ke:h(ae),nr=typeof Ie=="function"?Ie(lt.json,lt.documentState,$t):void 0;return $(R,(nr==null?void 0:nr.json)!==void 0?nr.json:lt.json),$(me,(nr==null?void 0:nr.state)!==void 0?nr.state:lt.documentState),$(ae,(nr==null?void 0:nr.selection)!==void 0?nr.selection:$t),$(te,void 0),$(Fe,!1),$(gt,void 0),ne=void 0,Sr(h(R)),y().add({type:"tree",undo:rt({patch:st},at),redo:{patch:Q,json:void 0,text:h(te),documentState:h(me),selection:yl(h(ae)),sortedColumn:void 0,textIsRepaired:h(Fe)}}),{json:h(R),previousJson:yt,undo:st,redo:Q}}function wt(){!m()&&h(ae)&&$(ae,RE(Pt(h(ae))))}function br(){if(!m()&&h(ae)){var Q=Pt(h(ae)),Ie=bt(h(R),Q);Po(Ie)?function(Ke,yt){n("openJSONEditorModal",{path:Ke,value:yt}),ie=!0,Se()({content:{json:yt},path:Ke,onPatch:h(wo).onPatch,onClose:()=>{ie=!1,setTimeout(ut)}})}(Q,Ie):$(ae,B1(Q))}}function wr(){if(!m()&&xn(h(ae))){var Q=Pt(h(ae)),Ie=Wt(Q),Ke=bt(h(R),Q),yt=!Cc(h(R),h(me),Q),at=yt?String(Ke):Fh(String(Ke),_());n("handleToggleEnforceString",{enforceString:yt,value:Ke,updatedValue:at}),Or([{op:"replace",path:Ie,value:at}],(st,lt)=>({state:Cx(h(R),lt,Q,{type:"value",enforceString:yt})}))}}function Gt(){return h(Fe)&&h(R)!==void 0&&Tr(h(R)),h(R)!==void 0?{json:h(R)}:{text:h(te)||""}}function Pr(){return Dt.apply(this,arguments)}function Dt(){return Dt=pr(function*(){var Q=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];yield DF({json:h(R),selection:h(ae),indentation:Q?L():void 0,readOnly:m(),parser:_(),onPatch:Or})}),Dt.apply(this,arguments)}function mr(){return Cr.apply(this,arguments)}function Cr(){return Cr=pr(function*(){var Q=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];h(R)!==void 0&&(yield MF({json:h(R),selection:h(ae),indentation:Q?L():void 0,parser:_()}))}),Cr.apply(this,arguments)}function nn(Q){var Ie;Q.preventDefault(),co((Ie=Q.clipboardData)===null||Ie===void 0?void 0:Ie.getData("text/plain"))}function Tn(){return en.apply(this,arguments)}function en(){return(en=pr(function*(){try{co(yield navigator.clipboard.readText())}catch(Q){console.error(Q),$(re,!0)}})).apply(this,arguments)}function co(Q){Q!==void 0&&NF({clipboardText:Q,json:h(R),selection:h(ae),readOnly:m(),parser:_(),onPatch:Or,onChangeText:Xn,openRepairModal:Qn})}function Qn(Q,Ie){$(xe,{text:Q,onParse:Ke=>_x(Ke,yt=>Bv(yt,_())),onRepair:qz,onApply:Ie,onClose:ut})}function Zn(){LF({json:h(R),text:h(te),selection:h(ae),keepSelection:!1,readOnly:m(),onChange:z(),onPatch:Or})}function bo(){!m()&&h(R)!==void 0&&h(ae)&&Ef&&!En(Pt(h(ae)))&&(n("duplicate",{selection:h(ae)}),Or(aF(h(R),rd(h(R),h(ae)))))}function uo(){m()||!h(ae)||!ro(h(ae))&&!xn(h(ae))||En(Pt(h(ae)))||(n("extract",{selection:h(ae)}),Or(lF(h(R),h(ae)),(Q,Ie)=>{if(Po(Q))return{state:Pj(Q,Ie,[])}}))}function yn(Q){G1({insertType:Q,selectInside:!0,initialValue:void 0,json:h(R),selection:h(ae),readOnly:m(),parser:_(),onPatch:Or,onReplaceJson:Tr})}function bn(Q){rs(h(ae))&&$(ae,Ur(h(ae).path)),h(ae)||$(ae,nf(h(R),h(me))),yn(Q)}function Fn(Q){if(!m()&&h(ae))if(P0(h(ae)))try{var Ie=Qd(h(ae)),Ke=bt(h(R),Ie),yt=function(st,lt,$t){if(lt==="array"){if(Array.isArray(st))return st;if(hn(st))return pD(st);if(typeof st=="string")try{var nr=$t.parse(st);if(Array.isArray(nr))return nr;if(hn(nr))return pD(nr)}catch{return[st]}return[st]}if(lt==="object"){if(Array.isArray(st))return dD(st);if(hn(st))return st;if(typeof st=="string")try{var Kr=$t.parse(st);if(hn(Kr))return Kr;if(Array.isArray(Kr))return dD(Kr)}catch{return{value:st}}return{value:st}}if(lt==="value")return Po(st)?$t.stringify(st):st;throw new Error("Cannot convert ".concat(jE(st,$t)," to ").concat(lt))}(Ke,Q,_());if(yt===Ke)return;var at=[{op:"replace",path:Wt(Ie),value:yt}];n("handleConvert",{selection:h(ae),path:Ie,type:Q,operations:at}),Or(at,(st,lt)=>({state:h(ae)?mp(st,lt,Pt(h(ae))):h(me)}))}catch(st){F()(st)}else F()(new Error("Cannot convert current selection to ".concat(Q)))}function Qe(){if(h(ae)){var Q=OD(h(R),h(me),h(ae),!1),Ie=Xr(Pt(h(ae)));Q&&!En(Pt(Q))&&Hr(Ie,Xr(Pt(Q)))?$(ae,Ac(Pt(Q))):$(ae,Fc(Ie)),n("insert before",{selection:h(ae),selectionBefore:Q,parentPath:Ie}),so(),Vn()}}function Ir(){if(h(ae)){var Q=Mu(h(R),h(ae));n("insert after",Q),$(ae,Ac(Q)),so(),Vn()}}function De(Q){return ot.apply(this,arguments)}function ot(){return(ot=pr(function*(Q){yield RF({char:Q,selectInside:!0,json:h(R),selection:h(ae),readOnly:m(),parser:_(),onPatch:Or,onReplaceJson:Tr,onSelect:kt})})).apply(this,arguments)}function Ot(){if(!m()&&y().canUndo){var Q=y().undo();if(L1(Q)){var Ie={json:h(R),text:h(te)};$(R,Q.undo.patch?La(h(R),Q.undo.patch):Q.undo.json),$(me,Q.undo.documentState),$(ae,Q.undo.selection),$(te,Q.undo.text),$(Fe,Q.undo.textIsRepaired),ne=void 0,n("undo",{item:Q,json:h(R),documentState:h(me),selection:h(ae)}),Dr(Ie,Q.undo.patch&&Q.redo.patch?{json:h(R),previousJson:Ie.json,redo:Q.undo.patch,undo:Q.redo.patch}:void 0),ut(),h(ae)&&Ar(Pt(h(ae)),{scrollToWhenVisible:!1})}else V()(Q)}}function ur(){if(!m()&&y().canRedo){var Q=y().redo();if(L1(Q)){var Ie={json:h(R),text:h(te)};$(R,Q.redo.patch?La(h(R),Q.redo.patch):Q.redo.json),$(me,Q.redo.documentState),$(ae,Q.redo.selection),$(te,Q.redo.text),$(Fe,Q.redo.textIsRepaired),ne=void 0,n("redo",{item:Q,json:h(R),documentState:h(me),selection:h(ae)}),Dr(Ie,Q.undo.patch&&Q.redo.patch?{json:h(R),previousJson:Ie.json,redo:Q.redo.patch,undo:Q.undo.patch}:void 0),ut(),h(ae)&&Ar(Pt(h(ae)),{scrollToWhenVisible:!1})}else J()(Q)}}function Et(Q){var Ie;m()||h(R)===void 0||(ie=!0,D()({id:s,json:h(R),rootPath:Q,onSort:(Ie=pr(function*(Ke){var{operations:yt}=Ke;n("onSort",Q,yt),Or(yt,(at,st)=>({state:Pj(at,st,Q),selection:Ur(Q)}))}),function(Ke){return Ie.apply(this,arguments)}),onClose:()=>{ie=!1,setTimeout(ut)}}))}function gr(){h(ae)&&Et(TD(h(R),h(ae)))}function Jr(){Et([])}function xr(Q){if(h(R)!==void 0){var{id:Ie,onTransform:Ke,onClose:yt}=Q,at=Q.rootPath||[];ie=!0,Z()({id:Ie||i,json:h(R),rootPath:at,onTransform:st=>{Ke?Ke({operations:st,json:h(R),transformedJson:La(h(R),st)}):(n("onTransform",at,st),Or(st,(lt,$t)=>({state:Pj(lt,$t,at),selection:Ur(at)})))},onClose:()=>{ie=!1,setTimeout(ut),yt&&yt()}})}}function un(){h(ae)&&xr({rootPath:TD(h(R),h(ae))})}function Yt(){xr({rootPath:[]})}function Ar(Q){return Jt.apply(this,arguments)}function Jt(){return Jt=pr(function*(Q){var{scrollToWhenVisible:Ie=!0,element:Ke}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};$(me,Ea(h(R),h(me),Q,mb));var yt=Ke??ir(Q);if(n("scrollTo",{path:Q,elem:yt,refContents:h(c)}),!yt||!h(c))return Promise.resolve();var at=h(c).getBoundingClientRect(),st=yt.getBoundingClientRect();if(!Ie&&st.bottom>at.top&&st.top{f(yt,{container:h(c),offset:lt,duration:300,callback:()=>$t()})})}),Jt.apply(this,arguments)}function ir(Q){var Ie,Ke;return so(),(Ie=(Ke=h(c))===null||Ke===void 0?void 0:Ke.querySelector('div[data-path="'.concat(c2(Q),'"]')))!==null&&Ie!==void 0?Ie:void 0}function _n(Q){var Ie,Ke;return so(),(Ie=(Ke=h(c))===null||Ke===void 0?void 0:Ke.querySelector('span[data-search-result-index="'.concat(Q,'"]')))!==null&&Ie!==void 0?Ie:void 0}function Pn(Q){var Ie=ir(Q);if(Ie&&h(c)){var Ke=h(c).getBoundingClientRect(),yt=Ie.getBoundingClientRect(),at=Po(bt(h(R),Q))?20:yt.height;yt.topKe.bottom-20&&f(Ie,{container:h(c),offset:-(Ke.height-at-20),duration:0})}}function Dr(Q,Ie){if(Q.json!==void 0||(Q==null?void 0:Q.text)!==void 0){if(h(te)!==void 0){var Ke,yt={text:h(te),json:void 0};(Ke=z())===null||Ke===void 0||Ke(yt,Q,{contentErrors:rr(),patchResult:Ie})}else if(h(R)!==void 0){var at,st={text:void 0,json:h(R)};(at=z())===null||at===void 0||at(st,Q,{contentErrors:rr(),patchResult:Ie})}}}function Or(Q,Ie){n("handlePatch",Q,Ie);var Ke={json:h(R),text:h(te)},yt=Ee(Q,Ie);return Dr(Ke,yt),yt}function Tr(Q,Ie){var Ke={json:h(R),text:h(te)},yt={documentState:h(me),selection:h(ae),json:h(R),text:h(te),textIsRepaired:h(Fe)},at=Ea(h(R),Li(Q,h(me)),[],Rm),st=typeof Ie=="function"?Ie(Q,at,h(ae)):void 0;$(R,(st==null?void 0:st.json)!==void 0?st.json:Q),$(me,(st==null?void 0:st.state)!==void 0?st.state:at),$(ae,(st==null?void 0:st.selection)!==void 0?st.selection:h(ae)),$(te,void 0),$(Fe,!1),ne=void 0,Sr(h(R)),W(yt),Dr(Ke,void 0)}function Xn(Q,Ie){n("handleChangeText");var Ke={json:h(R),text:h(te)},yt={documentState:h(me),selection:h(ae),json:h(R),text:h(te),textIsRepaired:h(Fe)};try{$(R,C()(Q)),$(me,Ea(h(R),Li(h(R),h(me)),[],Rm)),$(te,void 0),$(Fe,!1),ne=void 0}catch(st){try{$(R,C()(Ol(Q))),$(me,Ea(h(R),Li(h(R),h(me)),[],Rm)),$(te,Q),$(Fe,!0),ne=void 0}catch{$(R,void 0),$(me,f2({json:h(R),expand:Rm})),$(te,Q),$(Fe,!1),ne=h(te)!==""?vh(h(te),st.message||String(st)):void 0}}if(typeof Ie=="function"){var at=Ie(h(R),h(me),h(ae));$(R,(at==null?void 0:at.json)!==void 0?at.json:h(R)),$(me,(at==null?void 0:at.state)!==void 0?at.state:h(me)),$(ae,(at==null?void 0:at.selection)!==void 0?at.selection:h(ae))}Sr(h(R)),W(yt),Dr(Ke,void 0)}function _e(Q,Ie){var Ke=arguments.length>2&&arguments[2]!==void 0&&arguments[2];n("handleExpand",{path:Q,expanded:Ie,recursive:Ke}),Ie?be(Q,Ke?LE:ED):Me(Q,Ke),ut()}function Be(){_e([],!0,!0)}function et(){_e([],!1,!0)}function Er(Q){n("openFind",{findAndReplace:Q}),$(_t,!1),$(It,!1),so(),$(_t,!0),$(It,Q)}function on(Q,Ie){n("handleExpandSection",Q,Ie),$(me,function(Ke,yt,at,st){return yh(Ke,yt,at,(lt,$t)=>{if(!Ts($t))return $t;var nr=Qz($t.visibleSections.concat(st));return rt(rt({},$t),{},{visibleSections:nr})})}(h(R),h(me),Q,Ie))}function zr(Q){n("pasted json as text",Q),$(gt,Q)}function gn(Q){var Ie,{anchor:Ke,left:yt,top:at,width:st,height:lt,offsetTop:$t,offsetLeft:nr,showTip:Kr}=Q,Vr=function(Dn){var{json:Hn,documentState:dn,selection:Tt,readOnly:Lt,onEditKey:cn,onEditValue:oo,onToggleEnforceString:xo,onCut:wn,onCopy:vn,onPaste:$r,onRemove:Bo,onDuplicate:_s,onExtract:wa,onInsertBefore:il,onInsert:xa,onConvert:fs,onInsertAfter:Qs,onSort:Zl,onTransform:zp}=Dn,Wi=Hn!==void 0,qo=!!Tt,eo=!!Tt&&En(Pt(Tt)),Qo=Tt?bt(Hn,Pt(Tt)):void 0,Xl=Array.isArray(Qo)?"Edit array":hn(Qo)?"Edit object":"Edit value",ci=Wi&&(ro(Tt)||rs(Tt)||xn(Tt)),Jh=Tt&&!eo?bt(Hn,Xr(Pt(Tt))):void 0,Kh=!Lt&&Wi&&R1(Tt)&&!eo&&!Array.isArray(Jh),Fp=!Lt&&Wi&&Tt!==void 0&&R1(Tt),Hx=Fp&&!Po(Qo),Qh=!Lt&&ci,Zh=ci,Wx=!Lt&&qo,Gx=!Lt&&Wi&&ci&&!eo,Jx=!Lt&&Wi&&Tt!==void 0&&(ro(Tt)||xn(Tt))&&!eo,Wn=ci,Ds=Wn?"Convert to:":"Insert:",Xh=!Lt&&(Os(Tt)&&Array.isArray(Qo)||ia(Tt)&&Array.isArray(Jh)),Yh=!Lt&&(Wn?P0(Tt)&&!hn(Qo):qo),hd=!Lt&&(Wn?P0(Tt)&&!Array.isArray(Qo):qo),ui=!Lt&&(Wn?P0(Tt)&&Po(Qo):qo),Kx=Tt!==void 0&&Cc(Hn,dn,Pt(Tt));function Vp(em){ci?em!=="structure"&&fs(em):xa(em)}return[{type:"row",items:[{type:"button",onClick:()=>cn(),icon:Rf,text:"Edit key",title:"Edit the key (Double-click on the key)",disabled:!Kh},{type:"dropdown-button",main:{type:"button",onClick:()=>oo(),icon:Rf,text:Xl,title:"Edit the value (Double-click on the value)",disabled:!Fp},width:"11em",items:[{type:"button",icon:Rf,text:Xl,title:"Edit the value (Double-click on the value)",onClick:()=>oo(),disabled:!Fp},{type:"button",icon:Kx?F6:U6,text:"Enforce string",title:"Enforce keeping the value as string when it contains a numeric value",onClick:()=>xo(),disabled:!Hx}]}]},{type:"separator"},{type:"row",items:[{type:"dropdown-button",main:{type:"button",onClick:()=>wn(!0),icon:Lf,text:"Cut",title:"Cut selected contents, formatted with indentation (Ctrl+X)",disabled:!Qh},width:"10em",items:[{type:"button",icon:Lf,text:"Cut formatted",title:"Cut selected contents, formatted with indentation (Ctrl+X)",onClick:()=>wn(!0),disabled:!Qh},{type:"button",icon:Lf,text:"Cut compacted",title:"Cut selected contents, without indentation (Ctrl+Shift+X)",onClick:()=>wn(!1),disabled:!Qh}]},{type:"dropdown-button",main:{type:"button",onClick:()=>vn(!0),icon:bu,text:"Copy",title:"Copy selected contents, formatted with indentation (Ctrl+C)",disabled:!Zh},width:"12em",items:[{type:"button",icon:bu,text:"Copy formatted",title:"Copy selected contents, formatted with indentation (Ctrl+C)",onClick:()=>vn(!0),disabled:!Zh},{type:"button",icon:bu,text:"Copy compacted",title:"Copy selected contents, without indentation (Ctrl+Shift+C)",onClick:()=>vn(!1),disabled:!Zh}]},{type:"button",onClick:()=>$r(),icon:z6,text:"Paste",title:"Paste clipboard contents (Ctrl+V)",disabled:!Wx}]},{type:"separator"},{type:"row",items:[{type:"column",items:[{type:"button",onClick:()=>_s(),icon:G6,text:"Duplicate",title:"Duplicate selected contents (Ctrl+D)",disabled:!Gx},{type:"button",onClick:()=>wa(),icon:Wxe,text:"Extract",title:"Extract selected contents",disabled:!Jx},{type:"button",onClick:()=>Zl(),icon:Xb,text:"Sort",title:"Sort array or object contents",disabled:Lt||!ci},{type:"button",onClick:()=>zp(),icon:Qb,text:"Transform",title:"Transform array or object contents (filter, sort, project)",disabled:Lt||!ci},{type:"button",onClick:()=>Bo(),icon:tS,text:"Remove",title:"Remove selected contents (Delete)",disabled:Lt||!ci}]},{type:"column",items:[{type:"label",text:Ds},{type:"button",onClick:()=>Vp("structure"),icon:Wn?by:jf,text:"Structure",title:Ds+" structure like the first item in the array",disabled:!Xh},{type:"button",onClick:()=>Vp("object"),icon:Wn?by:jf,text:"Object",title:Ds+" object",disabled:!Yh},{type:"button",onClick:()=>Vp("array"),icon:Wn?by:jf,text:"Array",title:Ds+" array",disabled:!hd},{type:"button",onClick:()=>Vp("value"),icon:Wn?by:jf,text:"Value",title:Ds+" value",disabled:!ui}]}]},{type:"separator"},{type:"row",items:[{type:"button",onClick:()=>il(),icon:qxe,text:"Insert before",title:"Select area before current entry to insert or paste contents",disabled:Lt||!ci||eo},{type:"button",onClick:()=>Qs(),icon:Ixe,text:"Insert after",title:"Select area after current entry to insert or paste contents",disabled:Lt||!ci||eo}]}]}({json:h(R),documentState:h(me),selection:h(ae),readOnly:m(),onEditKey:wt,onEditValue:br,onToggleEnforceString:wr,onCut:Pr,onCopy:mr,onPaste:Tn,onRemove:Zn,onDuplicate:bo,onExtract:uo,onInsertBefore:Qe,onInsert:bn,onInsertAfter:Ir,onConvert:Fn,onSort:gr,onTransform:un}),Cn=(Ie=B()(Vr))!==null&&Ie!==void 0?Ie:Vr;if(Cn!==!1){var tr={left:yt,top:at,offsetTop:$t,offsetLeft:nr,width:st,height:lt,anchor:Ke,closeOnOuterClick:!0,onClose:()=>{ie=!1,ut()}};ie=!0;var po=a(qF,{tip:Kr?"Tip: you can open this context menu via right-click or with Ctrl+Q":void 0,items:Cn,onRequestClose:()=>l(po)},tr)}}function Vn(Q){if(!bi(h(ae)))if(Q&&(Q.stopPropagation(),Q.preventDefault()),Q&&Q.type==="contextmenu"&&Q.target!==h(u))gn({left:Q.clientX,top:Q.clientY,width:mc,height:hc,showTip:!1});else{var Ie,Ke=(Ie=h(c))===null||Ie===void 0?void 0:Ie.querySelector(".jse-context-menu-pointer.jse-selected");if(Ke)gn({anchor:Ke,offsetTop:2,width:mc,height:hc,showTip:!1});else{var yt,at=(yt=h(c))===null||yt===void 0?void 0:yt.getBoundingClientRect();at&&gn({top:at.top+2,left:at.left+2,width:mc,height:hc,showTip:!1})}}}function qn(Q){gn({anchor:Jz(Q.target,"BUTTON"),offsetTop:0,width:mc,height:hc,showTip:!0})}function Yn(){return dr.apply(this,arguments)}function dr(){return(dr=pr(function*(){if(n("apply pasted json",h(gt)),h(gt)){var{onPasteAsJson:Q}=h(gt);$(gt,void 0),Q(),setTimeout(ut)}})).apply(this,arguments)}function Un(){n("clear pasted json"),$(gt,void 0),ut()}function er(){N()(Jo.text)}function Vo(Q){$(ae,Q),ut(),Ar(Pt(Q))}function ut(){n("focus"),h(u)&&(h(u).focus(),h(u).select())}function tn(Q){return function(Ie,Ke,yt){var at=Xr(yt),st=[qr(yt)],lt=bt(Ie,at),$t=lt?Tj(lt,Ke,st):void 0;return $t?Ur(at.concat($t)):Ac(yt)}(h(R),h(me),Q)}function Sn(Q){h(r)&&h(r).onDrag(Q)}function sn(){h(r)&&h(r).onDragEnd()}var wo=he(void 0,!0);$e(()=>h(ae),()=>{var Q;Q=h(ae),Hr(Q,g())||(n("onSelect",Q),X()(Q))}),$e(()=>(de(x()),de(j())),()=>{$(Ue,_E({escapeControlCharacters:x(),escapeUnicodeCharacters:j()}))}),$e(()=>h(_t),()=>{(function(Q){h(c)&&Q&&h(c).scrollTop===0&&(Ri(c,h(c).style.overflowAnchor="none"),Ri(c,h(c).scrollTop+=Lm),setTimeout(()=>{h(c)&&Ri(c,h(c).style.overflowAnchor="")}))})(h(_t))}),$e(()=>de(v()),()=>{Bn(v())}),$e(()=>de(g()),()=>{(function(Q){Hr(h(ae),Q)||(n("applyExternalSelection",{selection:h(ae),externalSelection:Q}),Zg(Q)&&$(ae,Q))})(g())}),$e(()=>(h(R),de(A()),de(_()),de(I())),()=>{St(h(R),A(),_(),I())}),$e(()=>(h(c),WD),()=>{$(r,h(c)?WD(h(c)):void 0)}),$e(()=>(de(m()),de(b()),de(_()),h(Ue),de(oe()),de(se())),()=>{$(wo,{mode:Jo.tree,readOnly:m(),truncateTextSize:b(),parser:_(),normalization:h(Ue),getJson:Ve,getDocumentState:Ft,getSelection:_r,findElement:ir,findNextInside:tn,focus:ut,onPatch:Or,onInsert:yn,onExpand:_e,onSelect:kt,onFind:Er,onExpandSection:on,onPasteJson:zr,onRenderValue:oe(),onContextMenu:gn,onClassName:se()||(()=>{}),onDrag:Sn,onDragEnd:sn})}),$e(()=>h(wo),()=>{n("context changed",h(wo))}),mn(),fr(!0);var Ks=QPe();Xe("mousedown",_c,function(Q){!Vh(Q.target,Ie=>Ie===h(d))&&bi(h(ae))&&(n("click outside the editor, exit edit mode"),$(ae,yl(h(ae))),p&&h(u)&&(h(u).focus(),h(u).blur()),n("blur (outside editor)"),h(u)&&h(u).blur())});var Y,Le=Kt(Ks),He=fe(Le),Ye=Q=>{(function(Ie,Ke){Ut(Ke,!1);var yt=he(void 0,!0),at=he(void 0,!0),st=he(void 0,!0),lt=T(Ke,"json",9),$t=T(Ke,"selection",9),nr=T(Ke,"readOnly",9),Kr=T(Ke,"showSearch",13,!1),Vr=T(Ke,"history",9),Cn=T(Ke,"onExpandAll",9),tr=T(Ke,"onCollapseAll",9),po=T(Ke,"onUndo",9),Dn=T(Ke,"onRedo",9),Hn=T(Ke,"onSort",9),dn=T(Ke,"onTransform",9),Tt=T(Ke,"onContextMenu",9),Lt=T(Ke,"onCopy",9),cn=T(Ke,"onRenderMenu",9);function oo(){Kr(!Kr())}var xo=he(void 0,!0),wn=he(void 0,!0),vn=he(void 0,!0),$r=he(void 0,!0);$e(()=>de(lt()),()=>{$(yt,lt()!==void 0)}),$e(()=>(h(yt),de($t()),xn),()=>{$(at,h(yt)&&(ro($t())||rs($t())||xn($t())))}),$e(()=>(de(Cn()),de(lt())),()=>{$(xo,{type:"button",icon:nPe,title:"Expand all",className:"jse-expand-all",onClick:Cn(),disabled:!Po(lt())})}),$e(()=>(de(tr()),de(lt())),()=>{$(wn,{type:"button",icon:oPe,title:"Collapse all",className:"jse-collapse-all",onClick:tr(),disabled:!Po(lt())})}),$e(()=>de(lt()),()=>{$(vn,{type:"button",icon:Kw,title:"Search (Ctrl+F)",className:"jse-search",onClick:oo,disabled:lt()===void 0})}),$e(()=>(de(nr()),h(xo),h(wn),de(Hn()),de(lt()),de(dn()),h(vn),de(Tt()),de(po()),de(Vr()),de(Dn()),de(Lt()),h(at)),()=>{$($r,nr()?[h(xo),h(wn),{type:"separator"},{type:"button",icon:bu,title:"Copy (Ctrl+C)",className:"jse-copy",onClick:Lt(),disabled:!h(at)},{type:"separator"},h(vn),{type:"space"}]:[h(xo),h(wn),{type:"separator"},{type:"button",icon:Xb,title:"Sort",className:"jse-sort",onClick:Hn(),disabled:nr()||lt()===void 0},{type:"button",icon:Qb,title:"Transform contents (filter, sort, project)",className:"jse-transform",onClick:dn(),disabled:nr()||lt()===void 0},h(vn),{type:"button",icon:H6,title:OE,className:"jse-contextmenu",onClick:Tt()},{type:"separator"},{type:"button",icon:EA,title:"Undo (Ctrl+Z)",className:"jse-undo",onClick:po(),disabled:!Vr().canUndo},{type:"button",icon:AA,title:"Redo (Ctrl+Shift+Z)",className:"jse-redo",onClick:Dn(),disabled:!Vr().canRedo},{type:"space"}])}),$e(()=>(de(cn()),h($r)),()=>{$(st,cn()(h($r))||h($r))}),mn(),fr(!0),Tx(Ie,{get items(){return h(st)}}),Ht()})(Q,{get json(){return h(R)},get selection(){return h(ae)},get readOnly(){return m()},get history(){return y()},onExpandAll:Be,onCollapseAll:et,onUndo:Ot,onRedo:ur,onSort:Jr,onTransform:Yt,onContextMenu:qn,onCopy:mr,get onRenderMenu(){return H()},get showSearch(){return h(_t)},set showSearch(Ie){$(_t,Ie)},$$legacy:!0})};Ne(He,Q=>{w()&&Q(Ye)});var tt=ke(He,2),ht=Q=>{jPe(Q,{get json(){return h(R)},get selection(){return h(ae)},onSelect:Vo,get onError(){return F()},get pathParser(){return M()}})};Ne(tt,Q=>{k()&&Q(ht)});var xt=ke(tt,2),Bt=Q=>{var Ie=JPe(),Ke=Kt(Ie),yt=fe(Ke);yt.readOnly=!0,no(yt,$t=>$(u,$t),()=>h(u));var at=ke(Ke,2),st=$t=>{var nr=vo(),Kr=Kt(nr),Vr=tr=>{(function(po,Dn){Ut(Dn,!0);var Hn=uPe();Hn.__click=[lPe,Dn];var dn=ke(fe(Hn),2),Tt=ke(fe(dn),2),Lt=cn=>{var oo=cPe(),xo=ke(Kt(oo),2);fn(xo,"title","Create an empty JSON object (press '{')"),xo.__click=[iPe,Dn];var wn=ke(xo,2);fn(wn,"title","Create an empty JSON array (press '[')"),wn.__click=[aPe,Dn],ge(cn,oo)};Ne(Tt,cn=>{Dn.readOnly||cn(Lt)}),ge(po,Hn),Ht()})(tr,{get readOnly(){return m()},onCreateObject:()=>{ut(),De("{")},onCreateArray:()=>{ut(),De("[")},onClick:()=>{ut()}})},Cn=tr=>{var po=HPe(),Dn=Kt(po),Hn=We(()=>m()?[]:[{icon:Zb,text:"Repair manually",title:'Open the document in "code" mode and repair it manually',onClick:er}]);Ha(Dn,{type:"error",message:"The loaded JSON document is invalid and could not be repaired automatically.",get actions(){return h(Hn)}}),BF(ke(Dn,2),{get text(){return h(te)},get json(){return h(R)},get indentation(){return L()},get parser(){return _()}}),ge(tr,po)};Ne(Kr,tr=>{h(te)===""||h(te)===void 0?tr(Vr):tr(Cn,!1)}),ge($t,nr)},lt=$t=>{var nr=GPe(),Kr=Kt(nr);TF(fe(Kr),{get json(){return h(R)},get documentState(){return h(me)},get parser(){return _()},get showSearch(){return h(_t)},get showReplace(){return h(It)},get readOnly(){return m()},columns:void 0,onSearch:vt,onFocus:sr,onPatch:Or,onClose:G});var Vr=ke(Kr,2);fn(Vr,"data-jsoneditor-scrollable-contents",!0);var Cn=fe(Vr),tr=Tt=>{ge(Tt,WPe())};Ne(Cn,Tt=>{h(_t)&&Tt(tr)}),j2(ke(Cn,2),{get value(){return h(R)},pointer:"",get state(){return h(me)},get validationErrors(){return h(we)},get searchResults(){return h(Ge)},get selection(){return h(ae)},get context(){return h(wo)},onDragSelectionStart:zo}),no(Vr,Tt=>$(c,Tt),()=>h(c));var po=ke(Vr,2),Dn=Tt=>{var Lt=We(()=>"You pasted a JSON ".concat(Array.isArray(h(gt).contents)?"array":"object"," as text"));Ha(Tt,{type:"info",get message(){return h(Lt)},actions:[{icon:ah,text:"Paste as JSON instead",title:"Replace the value with the pasted JSON",onMouseDown:Yn},{text:"Leave as is",title:"Keep the JSON embedded in the value",onClick:Un}]})};Ne(po,Tt=>{h(gt)&&Tt(Dn)});var Hn=ke(po,2),dn=Tt=>{var Lt=We(()=>m()?[]:[{icon:OA,text:"Ok",title:"Accept the repaired document",onClick:Gt},{icon:Zb,text:"Repair manually instead",title:"Leave the document unchanged and repair it manually instead",onClick:er}]);Ha(Tt,{type:"success",message:"The loaded JSON document was invalid but is successfully repaired.",get actions(){return h(Lt)},onClose:ut})};Ne(Hn,Tt=>{h(Fe)&&Tt(dn)}),VE(ke(Hn,2),{get validationErrors(){return h(Ze)},selectError:ee}),ge($t,nr)};Ne(at,$t=>{h(R)===void 0?$t(st):$t(lt,!1)}),Xe("paste",yt,nn),ge(Q,Ie)},Mr=Q=>{ge(Q,KPe())};Ne(xt,Q=>{o?Q(Mr,!1):Q(Bt)}),no(Le,Q=>$(d,Q),()=>h(d));var Fr=ke(Le,2),Rr=Q=>{AF(Q,{onClose:()=>$(re,!1)})};Ne(Fr,Q=>{h(re)&&Q(Rr)});var vr=ke(Fr,2),In=Q=>{EF(Q,Iu(()=>h(xe),{onClose:()=>{var Ie;(Ie=h(xe))===null||Ie===void 0||Ie.onClose(),$(xe,void 0)}}))};return Ne(vr,Q=>{h(xe)&&Q(In)}),nt(Q=>Y=hr(Le,1,"jse-tree-mode svelte-vrx1dr",null,Y,Q),[()=>({"no-main-menu":!w()})],We),Xe("keydown",Le,function(Q){var Ie=Bc(Q),Ke=Q.shiftKey;if(n("keydown",{combo:Ie,key:Q.key}),Ie==="Ctrl+X"&&(Q.preventDefault(),Pr(!0)),Ie==="Ctrl+Shift+X"&&(Q.preventDefault(),Pr(!1)),Ie==="Ctrl+C"&&(Q.preventDefault(),mr(!0)),Ie==="Ctrl+Shift+C"&&(Q.preventDefault(),mr(!1)),Ie==="Ctrl+D"&&(Q.preventDefault(),bo()),Ie!=="Delete"&&Ie!=="Backspace"||(Q.preventDefault(),Zn()),Ie==="Insert"&&(Q.preventDefault(),yn("structure")),Ie==="Ctrl+A"&&(Q.preventDefault(),$(ae,Ur([]))),Ie==="Ctrl+Q"&&Vn(Q),Ie==="ArrowUp"||Ie==="Shift+ArrowUp"){Q.preventDefault();var yt=h(ae)?OD(h(R),h(me),h(ae),Ke)||h(ae):nf(h(R),h(me));$(ae,yt),Pn(Pt(yt))}if(Ie==="ArrowDown"||Ie==="Shift+ArrowDown"){Q.preventDefault();var at=h(ae)?function(Vr,Cn,tr){var po=arguments.length>3&&arguments[3]!==void 0&&arguments[3];if(tr){var Dn=po?Pt(tr):Mu(Vr,tr),Hn=Po(bt(Vr,Dn))?_D(Vr,Cn,Dn,!0):Cn,dn=Tj(Vr,Cn,Dn),Tt=Tj(Vr,Hn,Dn);if(po)return Os(tr)?dn!==void 0?Ls(dn,dn):void 0:ia(tr)?Tt!==void 0?Ls(Tt,Tt):void 0:Tt!==void 0?Ls(Qd(tr),Tt):void 0;if(ia(tr))return Tt!==void 0?Ur(Tt):void 0;if(Os(tr)||xn(tr))return dn!==void 0?Ur(dn):void 0;if(rs(tr)){if(dn===void 0||dn.length===0)return;var Lt=Xr(dn),cn=bt(Vr,Lt);return Array.isArray(cn)?Ur(dn):zc(dn)}return ro(tr)?Tt!==void 0?Ur(Tt):dn!==void 0?Ur(dn):void 0:void 0}}(h(R),h(me),h(ae),Ke)||h(ae):nf(h(R),h(me));$(ae,at),Pn(Pt(at))}if(Ie==="ArrowLeft"||Ie==="Shift+ArrowLeft"){Q.preventDefault();var st=h(ae)?function(Vr,Cn,tr){var po=arguments.length>3&&arguments[3]!==void 0&&arguments[3],Dn=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4];if(tr){var{caret:Hn,previous:dn}=$D(Vr,Cn,tr,Dn);if(po)return ro(tr)?void 0:Ls(tr.path,tr.path);if(Hn&&dn)return h2(dn);var Tt=Xr(Pt(tr)),Lt=bt(Vr,Tt);return xn(tr)&&Array.isArray(Lt)?Ls(tr.path,tr.path):ro(tr)&&!Array.isArray(Lt)?zc(tr.focusPath):void 0}}(h(R),h(me),h(ae),Ke,!m())||h(ae):nf(h(R),h(me));$(ae,st),Pn(Pt(st))}if(Ie==="ArrowRight"||Ie==="Shift+ArrowRight"){Q.preventDefault();var lt=h(ae)&&h(R)!==void 0?function(Vr,Cn,tr){var po=arguments.length>3&&arguments[3]!==void 0&&arguments[3],Dn=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4];if(tr){var{caret:Hn,next:dn}=$D(Vr,Cn,tr,Dn);return po?ro(tr)?void 0:Ls(tr.path,tr.path):Hn&&dn?h2(dn):ro(tr)?Ur(tr.focusPath):void 0}}(h(R),h(me),h(ae),Ke,!m())||h(ae):nf(h(R),h(me));$(ae,lt),Pn(Pt(lt))}if(Ie==="Enter"&&h(ae)){if(Ax(h(ae))){var $t=h(ae).focusPath,nr=bt(h(R),Xr($t));Array.isArray(nr)&&(Q.preventDefault(),$(ae,Ur($t)))}rs(h(ae))&&(Q.preventDefault(),$(ae,rt(rt({},h(ae)),{},{edit:!0}))),xn(h(ae))&&(Q.preventDefault(),Po(bt(h(R),h(ae).path))?_e(h(ae).path,!0):$(ae,rt(rt({},h(ae)),{},{edit:!0})))}if(Ie.replace(/^Shift\+/,"").length===1&&h(ae))return Q.preventDefault(),void De(Q.key);if(Ie==="Enter"&&(ia(h(ae))||Os(h(ae))))return Q.preventDefault(),void De("");if(Ie==="Ctrl+Enter"&&xn(h(ae))){var Kr=bt(h(R),h(ae).path);jx(Kr)&&window.open(String(Kr),"_blank")}Ie==="Escape"&&h(ae)&&(Q.preventDefault(),$(ae,void 0)),Ie==="Ctrl+F"&&(Q.preventDefault(),Er(!1)),Ie==="Ctrl+H"&&(Q.preventDefault(),Er(!0)),Ie==="Ctrl+Z"&&(Q.preventDefault(),Ot()),Ie==="Ctrl+Shift+Z"&&(Q.preventDefault(),ur())}),Xe("mousedown",Le,function(Q){n("handleMouseDown",Q);var Ie=Q.target;Gz(Ie,"BUTTON")||Ie.isContentEditable||(ut(),h(ae)||h(R)!==void 0||h(te)!==""&&h(te)!==void 0||(n("createDefaultSelection"),$(ae,Ur([]))))}),Xe("contextmenu",Le,Vn),ge(e,Ks),lr(t,"expand",be),lr(t,"collapse",Me),lr(t,"validate",rr),lr(t,"getJson",Ve),lr(t,"patch",Ee),lr(t,"acceptAutoRepair",Gt),lr(t,"openTransformModal",xr),lr(t,"scrollTo",Ar),lr(t,"findElement",ir),lr(t,"findSearchResult",_n),lr(t,"focus",ut),Ht({expand:be,collapse:Me,validate:rr,getJson:Ve,patch:Ee,acceptAutoRepair:Gt,openTransformModal:xr,scrollTo:Ar,findElement:ir,findSearchResult:_n,focus:ut})}function zF(e){return typeof(t=e)!="object"||t===null?e:new Proxy(e,{get:(r,n,o)=>zF(Reflect.get(r,n,o)),set:()=>!1,deleteProperty:()=>!1});var t}var R0=ss("jsoneditor:History");function FF(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.maxItems||1e3,r=[],n=0;function o(){return n0}function i(){return{canUndo:o(),canRedo:s(),items:()=>r.slice().reverse(),add:l,undo:u,redo:d,clear:c}}function a(){e.onChange&&e.onChange(i())}function l(p){R0("add",p),r=[p].concat(r.slice(n)).slice(0,t),n=0,a()}function c(){R0("clear"),r=[],n=0,a()}function u(){if(o()){var p=r[n];return n+=1,R0("undo",p),a(),p}}function d(){if(s())return R0("redo",r[n-=1]),a(),r[n]}return{get:i}}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -3261,7 +3261,7 @@ button.jse-context-menu-button.svelte-1idfykj svg { } .jse-transform-modal-inner.svelte-rrrjnb a:hover { color: var(--jse-a-color-highlight, #0f508d); -}`);var xm=kx(()=>pTe),sf=kx(()=>fTe),ZPe=Pe('
'),XPe=Pe(" ",1),YPe=Pe('
'),eIe=Pe('
Language
Path
Query
Preview
',1),tIe=Pe('
');function rIe(e,t){var r,n,o;Ut(t,!1);var s=ss("jsoneditor:TransformModal"),i=T(t,"id",25,()=>"transform-modal-"+Af()),a=T(t,"json",9),l=T(t,"rootPath",25,()=>[]),c=T(t,"indentation",9),u=T(t,"truncateTextSize",9),d=T(t,"escapeControlCharacters",9),p=T(t,"escapeUnicodeCharacters",9),f=T(t,"parser",9),m=T(t,"parseMemoizeOne",9),v=T(t,"validationParser",9),g=T(t,"pathParser",9),y=T(t,"queryLanguages",9),b=T(t,"queryLanguageId",13),w=T(t,"onChangeQueryLanguage",9),k=T(t,"onRenderValue",9),x=T(t,"onRenderMenu",9),j=T(t,"onRenderContextMenu",9),_=T(t,"onClassName",9),C=T(t,"onTransform",9),A=T(t,"onClose",9),I=he(void 0,!0),M=he(FF({onChange:me=>$(M,me)}).get(),!0),N=he(void 0,!0),F=he(void 0,!0),z=he(!1,!0),L="".concat(i(),":").concat(Wt(l())),X=(r=xm()[L])!==null&&r!==void 0?r:{},V=he(sf().showWizard!==!1,!0),J=he(sf().showOriginal!==!1,!0),oe=he((n=X.queryOptions)!==null&&n!==void 0?n:{},!0),H=he(b()===X.queryLanguageId&&X.query?X.query:"",!0),B=he((o=X.isManual)!==null&&o!==void 0&&o,!0),se=he(void 0,!0),q=he(void 0,!0),O=he({text:""},!0);function D(me){var ae;return(ae=y().find(kt=>kt.id===me))!==null&&ae!==void 0?ae:y()[0]}function Z(me){try{$(oe,me),$(H,D(b()).createQuery(h(N),me)),$(se,void 0),$(B,!1),s("updateQueryByWizard",{queryOptions:h(oe),query:h(H),isManual:h(B)})}catch(ae){$(se,String(ae))}}function Se(me){$(H,me.target.value),$(B,!0),s("handleChangeQuery",{query:h(H),isManual:h(B)})}h(B)||Z(h(oe)),Is(()=>{var me;(me=h(I))===null||me===void 0||me.focus()});var ie=Kb(function(me,ae){if(me===void 0)return $(O,{text:""}),void $(q,"Error: No JSON");if(ae.trim()!=="")try{s("previewTransform",{query:ae});var kt=D(b()).executeQuery(me,ae,f());$(O,{json:kt}),$(q,void 0)}catch(ft){$(O,{text:""}),$(q,String(ft))}else $(O,{json:me})},300);function re(){if(h(N)===void 0)return $(O,{text:""}),void $(q,"Error: No JSON");try{s("handleTransform",{query:h(H)});var me=D(b()).executeQuery(h(N),h(H),f());C()([{op:"replace",path:Wt(l()),value:me}]),A()()}catch(ae){console.error(ae),$(O,{text:""}),$(q,String(ae))}}function xe(){$(V,!h(V)),sf(sf().showWizard=h(V))}function R(){$(J,!h(J)),sf(sf().showOriginal=h(J))}function te(me){me.focus()}function ne(me){s("handleChangeQueryLanguage",me),b(me),w()(me),Z(h(oe))}function Ce(){h(z)?$(z,!h(z)):A()()}$e(()=>(de(a()),de(l())),()=>{$(N,zF(bt(a(),l())))}),$e(()=>h(N),()=>{$(F,h(N)?{json:h(N)}:{text:""})}),$e(()=>(h(N),h(H)),()=>{ie(h(N),h(H))}),$e(()=>(xm(),h(oe),h(H),de(b()),h(B)),()=>{xm(xm()[L]={queryOptions:h(oe),query:h(H),queryLanguageId:b(),isManual:h(B)}),s("store state in memory",L,xm()[L])}),mn(),fr(!0),tv(e,{get onClose(){return A()},className:"jse-transform-modal",get fullscreen(){return h(z)},children:(me,ae)=>{var kt=tIe();u2(fe(kt),{children:(ft,Ue)=>{var gt=eIe(),Ge=Kt(gt);(function(Dt,mr){Ut(mr,!1);var Cr,nn=T(mr,"queryLanguages",9),Tn=T(mr,"queryLanguageId",9),en=T(mr,"fullscreen",13),co=T(mr,"onChangeQueryLanguage",9),Qn=T(mr,"onClose",9),Zn=he(void 0,!0),{openAbsolutePopup:bo,closeAbsolutePopup:uo}=pd("absolute-popup");function yn(){var bn={queryLanguages:nn(),queryLanguageId:Tn(),onChangeQueryLanguage:Fn=>{uo(Cr),co()(Fn)}};Cr=bo(KTe,bn,{offsetTop:-2,offsetLeft:0,anchor:h(Zn),closeOnOuterClick:!0})}fr(!0),W1(Dt,{title:"Transform",fullScreenButton:!0,get onClose(){return Qn()},get fullscreen(){return en()},set fullscreen(bn){en(bn)},$$slots:{actions:(bn,Fn)=>{var Qe,Ir=XTe();Wr(fe(Ir),{data:Jxe}),no(Ir,De=>$(Zn,De),()=>h(Zn)),nt(De=>Qe=hr(Ir,1,"jse-config svelte-1kpylsp",null,Qe,De),[()=>({hide:nn().length<=1})],We),Xe("click",Ir,yn),ge(bn,Ir)}},$$legacy:!0}),Ht()})(Ge,{get queryLanguages(){return y()},get queryLanguageId(){return b()},onChangeQueryLanguage:ne,get onClose(){return A()},get fullscreen(){return h(z)},set fullscreen(Dt){$(z,Dt)},$$legacy:!0});var _t=fe(ke(Ge,2)),It=fe(_t),vt=ke(fe(It),2);Oz(fe(vt),()=>D(b()).description,!1,!1);var sr=ke(vt,4),P=ke(sr,2),G=fe(P),ee=fe(G),be=fe(ee),Me=We(()=>h(V)?Wu:Cg);Wr(be,{get data(){return h(Me)}});var Fe=ke(P,2),Ze=Dt=>{var mr=vo(),Cr=Kt(mr),nn=en=>{var co=XPe(),Qn=Kt(co);WTe(Qn,{get queryOptions(){return h(oe)},get json(){return h(N)},onChange:Z});var Zn=ke(Qn,2),bo=uo=>{var yn=ZPe(),bn=fe(yn);nt(()=>Xt(bn,h(se))),ge(uo,yn)};Le(Zn,uo=>{h(se)&&uo(bo)}),ge(en,co)},Tn=en=>{ge(en,ds("(Only available for arrays, not for objects)"))};Le(Cr,en=>{Array.isArray(h(N))?en(nn):en(Tn,!1)}),ge(Dt,mr)};Le(Fe,Dt=>{h(V)&&Dt(Ze)});var we=ke(Fe,4);no(we,Dt=>$(I,Dt),()=>h(I));var pt,St,rr=ke(It,2),Ve=fe(rr),Ft=fe(Ve),_r=fe(Ft),Bn=fe(_r),Nr=fe(Bn),Sr=We(()=>h(J)?Wu:Cg);Wr(Nr,{get data(){return h(Sr)}});var W=ke(Ft,2),Ee=Dt=>{O2(Dt,{get externalContent(){return h(F)},externalSelection:void 0,get history(){return h(M)},readOnly:!0,get truncateTextSize(){return u()},mainMenuBar:!1,navigationBar:!1,get indentation(){return c()},get escapeControlCharacters(){return d()},get escapeUnicodeCharacters(){return p()},get parser(){return f()},get parseMemoizeOne(){return m()},get onRenderValue(){return k()},get onRenderMenu(){return x()},get onRenderContextMenu(){return j()},onError:console.error,onChange:zo,onChangeMode:zo,onSelect:zo,onUndo:zo,onRedo:zo,onFocus:zo,onBlur:zo,onSortModal:zo,onTransformModal:zo,onJSONEditorModal:zo,get onClassName(){return _()},validator:void 0,get validationParser(){return v()},get pathParser(){return g()}})};Le(W,Dt=>{h(J)&&Dt(Ee)});var wt=ke(Ve,2),br=ke(fe(wt),2),wr=Dt=>{O2(Dt,{get externalContent(){return h(O)},externalSelection:void 0,get history(){return h(M)},readOnly:!0,get truncateTextSize(){return u()},mainMenuBar:!1,navigationBar:!1,get indentation(){return c()},get escapeControlCharacters(){return d()},get escapeUnicodeCharacters(){return p()},get parser(){return f()},get parseMemoizeOne(){return m()},get onRenderValue(){return k()},get onRenderMenu(){return x()},get onRenderContextMenu(){return j()},onError:console.error,onChange:zo,onChangeMode:zo,onSelect:zo,onUndo:zo,onRedo:zo,onFocus:zo,onBlur:zo,onSortModal:zo,onTransformModal:zo,onJSONEditorModal:zo,get onClassName(){return _()},validator:void 0,get validationParser(){return v()},get pathParser(){return g()}})},Gt=Dt=>{var mr=YPe(),Cr=fe(mr);nt(()=>Xt(Cr,h(q))),ge(Dt,mr)};Le(br,Dt=>{h(q)?Dt(Gt,!1):Dt(wr)});var Pr=fe(ke(_t,2));ws(()=>Xe("click",Pr,re)),Vs(Pr,Dt=>te==null?void 0:te(Dt)),nt((Dt,mr,Cr)=>{fp(sr,Dt),fp(we,h(H)),pt=hr(rr,1,"jse-data-contents svelte-rrrjnb",null,pt,mr),St=hr(Ve,1,"jse-original-data svelte-rrrjnb",null,St,Cr),Pr.disabled=!!h(q)},[()=>En(l())?"(document root)":Ma(l()),()=>({"jse-hide-original-data":!h(J)}),()=>({"jse-hide":!h(J)})],We),Xe("click",ee,xe),Xe("input",we,Se),Xe("click",Bn,R),ge(ft,gt)},$$slots:{default:!0}}),Vs(kt,(ft,Ue)=>Jf==null?void 0:Jf(ft,Ue),()=>Ce),ge(me,kt)},$$slots:{default:!0}}),Ht()}function Zi(){}or(`/* over all fonts, sizes, and colors */ +}`);var xm=kx(()=>pTe),sf=kx(()=>fTe),ZPe=Pe('
'),XPe=Pe(" ",1),YPe=Pe('
'),eIe=Pe('
Language
Path
Query
Preview
',1),tIe=Pe('
');function rIe(e,t){var r,n,o;Ut(t,!1);var s=ss("jsoneditor:TransformModal"),i=T(t,"id",25,()=>"transform-modal-"+Af()),a=T(t,"json",9),l=T(t,"rootPath",25,()=>[]),c=T(t,"indentation",9),u=T(t,"truncateTextSize",9),d=T(t,"escapeControlCharacters",9),p=T(t,"escapeUnicodeCharacters",9),f=T(t,"parser",9),m=T(t,"parseMemoizeOne",9),v=T(t,"validationParser",9),g=T(t,"pathParser",9),y=T(t,"queryLanguages",9),b=T(t,"queryLanguageId",13),w=T(t,"onChangeQueryLanguage",9),k=T(t,"onRenderValue",9),x=T(t,"onRenderMenu",9),j=T(t,"onRenderContextMenu",9),_=T(t,"onClassName",9),C=T(t,"onTransform",9),A=T(t,"onClose",9),I=he(void 0,!0),M=he(FF({onChange:me=>$(M,me)}).get(),!0),L=he(void 0,!0),F=he(void 0,!0),z=he(!1,!0),N="".concat(i(),":").concat(Wt(l())),X=(r=xm()[N])!==null&&r!==void 0?r:{},V=he(sf().showWizard!==!1,!0),J=he(sf().showOriginal!==!1,!0),oe=he((n=X.queryOptions)!==null&&n!==void 0?n:{},!0),H=he(b()===X.queryLanguageId&&X.query?X.query:"",!0),B=he((o=X.isManual)!==null&&o!==void 0&&o,!0),se=he(void 0,!0),q=he(void 0,!0),O=he({text:""},!0);function D(me){var ae;return(ae=y().find(kt=>kt.id===me))!==null&&ae!==void 0?ae:y()[0]}function Z(me){try{$(oe,me),$(H,D(b()).createQuery(h(L),me)),$(se,void 0),$(B,!1),s("updateQueryByWizard",{queryOptions:h(oe),query:h(H),isManual:h(B)})}catch(ae){$(se,String(ae))}}function Se(me){$(H,me.target.value),$(B,!0),s("handleChangeQuery",{query:h(H),isManual:h(B)})}h(B)||Z(h(oe)),Is(()=>{var me;(me=h(I))===null||me===void 0||me.focus()});var ie=Kb(function(me,ae){if(me===void 0)return $(O,{text:""}),void $(q,"Error: No JSON");if(ae.trim()!=="")try{s("previewTransform",{query:ae});var kt=D(b()).executeQuery(me,ae,f());$(O,{json:kt}),$(q,void 0)}catch(ft){$(O,{text:""}),$(q,String(ft))}else $(O,{json:me})},300);function re(){if(h(L)===void 0)return $(O,{text:""}),void $(q,"Error: No JSON");try{s("handleTransform",{query:h(H)});var me=D(b()).executeQuery(h(L),h(H),f());C()([{op:"replace",path:Wt(l()),value:me}]),A()()}catch(ae){console.error(ae),$(O,{text:""}),$(q,String(ae))}}function xe(){$(V,!h(V)),sf(sf().showWizard=h(V))}function R(){$(J,!h(J)),sf(sf().showOriginal=h(J))}function te(me){me.focus()}function ne(me){s("handleChangeQueryLanguage",me),b(me),w()(me),Z(h(oe))}function Ce(){h(z)?$(z,!h(z)):A()()}$e(()=>(de(a()),de(l())),()=>{$(L,zF(bt(a(),l())))}),$e(()=>h(L),()=>{$(F,h(L)?{json:h(L)}:{text:""})}),$e(()=>(h(L),h(H)),()=>{ie(h(L),h(H))}),$e(()=>(xm(),h(oe),h(H),de(b()),h(B)),()=>{xm(xm()[N]={queryOptions:h(oe),query:h(H),queryLanguageId:b(),isManual:h(B)}),s("store state in memory",N,xm()[N])}),mn(),fr(!0),tv(e,{get onClose(){return A()},className:"jse-transform-modal",get fullscreen(){return h(z)},children:(me,ae)=>{var kt=tIe();u2(fe(kt),{children:(ft,Ue)=>{var gt=eIe(),Ge=Kt(gt);(function(Dt,mr){Ut(mr,!1);var Cr,nn=T(mr,"queryLanguages",9),Tn=T(mr,"queryLanguageId",9),en=T(mr,"fullscreen",13),co=T(mr,"onChangeQueryLanguage",9),Qn=T(mr,"onClose",9),Zn=he(void 0,!0),{openAbsolutePopup:bo,closeAbsolutePopup:uo}=pd("absolute-popup");function yn(){var bn={queryLanguages:nn(),queryLanguageId:Tn(),onChangeQueryLanguage:Fn=>{uo(Cr),co()(Fn)}};Cr=bo(KTe,bn,{offsetTop:-2,offsetLeft:0,anchor:h(Zn),closeOnOuterClick:!0})}fr(!0),W1(Dt,{title:"Transform",fullScreenButton:!0,get onClose(){return Qn()},get fullscreen(){return en()},set fullscreen(bn){en(bn)},$$slots:{actions:(bn,Fn)=>{var Qe,Ir=XTe();Wr(fe(Ir),{data:Jxe}),no(Ir,De=>$(Zn,De),()=>h(Zn)),nt(De=>Qe=hr(Ir,1,"jse-config svelte-1kpylsp",null,Qe,De),[()=>({hide:nn().length<=1})],We),Xe("click",Ir,yn),ge(bn,Ir)}},$$legacy:!0}),Ht()})(Ge,{get queryLanguages(){return y()},get queryLanguageId(){return b()},onChangeQueryLanguage:ne,get onClose(){return A()},get fullscreen(){return h(z)},set fullscreen(Dt){$(z,Dt)},$$legacy:!0});var _t=fe(ke(Ge,2)),It=fe(_t),vt=ke(fe(It),2);Oz(fe(vt),()=>D(b()).description,!1,!1);var sr=ke(vt,4),P=ke(sr,2),G=fe(P),ee=fe(G),be=fe(ee),Me=We(()=>h(V)?Wu:Cg);Wr(be,{get data(){return h(Me)}});var Fe=ke(P,2),Ze=Dt=>{var mr=vo(),Cr=Kt(mr),nn=en=>{var co=XPe(),Qn=Kt(co);WTe(Qn,{get queryOptions(){return h(oe)},get json(){return h(L)},onChange:Z});var Zn=ke(Qn,2),bo=uo=>{var yn=ZPe(),bn=fe(yn);nt(()=>Xt(bn,h(se))),ge(uo,yn)};Ne(Zn,uo=>{h(se)&&uo(bo)}),ge(en,co)},Tn=en=>{ge(en,ds("(Only available for arrays, not for objects)"))};Ne(Cr,en=>{Array.isArray(h(L))?en(nn):en(Tn,!1)}),ge(Dt,mr)};Ne(Fe,Dt=>{h(V)&&Dt(Ze)});var we=ke(Fe,4);no(we,Dt=>$(I,Dt),()=>h(I));var pt,St,rr=ke(It,2),Ve=fe(rr),Ft=fe(Ve),_r=fe(Ft),Bn=fe(_r),Lr=fe(Bn),Sr=We(()=>h(J)?Wu:Cg);Wr(Lr,{get data(){return h(Sr)}});var W=ke(Ft,2),Ee=Dt=>{O2(Dt,{get externalContent(){return h(F)},externalSelection:void 0,get history(){return h(M)},readOnly:!0,get truncateTextSize(){return u()},mainMenuBar:!1,navigationBar:!1,get indentation(){return c()},get escapeControlCharacters(){return d()},get escapeUnicodeCharacters(){return p()},get parser(){return f()},get parseMemoizeOne(){return m()},get onRenderValue(){return k()},get onRenderMenu(){return x()},get onRenderContextMenu(){return j()},onError:console.error,onChange:zo,onChangeMode:zo,onSelect:zo,onUndo:zo,onRedo:zo,onFocus:zo,onBlur:zo,onSortModal:zo,onTransformModal:zo,onJSONEditorModal:zo,get onClassName(){return _()},validator:void 0,get validationParser(){return v()},get pathParser(){return g()}})};Ne(W,Dt=>{h(J)&&Dt(Ee)});var wt=ke(Ve,2),br=ke(fe(wt),2),wr=Dt=>{O2(Dt,{get externalContent(){return h(O)},externalSelection:void 0,get history(){return h(M)},readOnly:!0,get truncateTextSize(){return u()},mainMenuBar:!1,navigationBar:!1,get indentation(){return c()},get escapeControlCharacters(){return d()},get escapeUnicodeCharacters(){return p()},get parser(){return f()},get parseMemoizeOne(){return m()},get onRenderValue(){return k()},get onRenderMenu(){return x()},get onRenderContextMenu(){return j()},onError:console.error,onChange:zo,onChangeMode:zo,onSelect:zo,onUndo:zo,onRedo:zo,onFocus:zo,onBlur:zo,onSortModal:zo,onTransformModal:zo,onJSONEditorModal:zo,get onClassName(){return _()},validator:void 0,get validationParser(){return v()},get pathParser(){return g()}})},Gt=Dt=>{var mr=YPe(),Cr=fe(mr);nt(()=>Xt(Cr,h(q))),ge(Dt,mr)};Ne(br,Dt=>{h(q)?Dt(Gt,!1):Dt(wr)});var Pr=fe(ke(_t,2));ws(()=>Xe("click",Pr,re)),Vs(Pr,Dt=>te==null?void 0:te(Dt)),nt((Dt,mr,Cr)=>{fp(sr,Dt),fp(we,h(H)),pt=hr(rr,1,"jse-data-contents svelte-rrrjnb",null,pt,mr),St=hr(Ve,1,"jse-original-data svelte-rrrjnb",null,St,Cr),Pr.disabled=!!h(q)},[()=>En(l())?"(document root)":Ma(l()),()=>({"jse-hide-original-data":!h(J)}),()=>({"jse-hide":!h(J)})],We),Xe("click",ee,xe),Xe("input",we,Se),Xe("click",Bn,R),ge(ft,gt)},$$slots:{default:!0}}),Vs(kt,(ft,Ue)=>Jf==null?void 0:Jf(ft,Ue),()=>Ce),ge(me,kt)},$$slots:{default:!0}}),Ht()}function Zi(){}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -3297,7 +3297,7 @@ button.jse-context-menu-button.svelte-1idfykj svg { } .jse-status-bar.svelte-1ulj7zd .jse-status-bar-info:where(.svelte-1ulj7zd) { padding: 2px; -}`);var nIe=Pe('
'),oIe=Pe('
'),sIe=Pe('
'),iIe=Pe('
'),HE=Tv.define([{tag:ct.propertyName,color:"var(--internal-key-color)"},{tag:ct.number,color:"var(--internal-value-color-number)"},{tag:ct.bool,color:"var(--internal-value-color-boolean)"},{tag:ct.string,color:"var(--internal-value-color-string)"},{tag:ct.keyword,color:"var(--internal-value-color-null)"}]),aIe=J9(HE),lIe=HE.style;HE.style=e=>lIe(e||[]);var cIe=[No.fromClass(class{constructor(e){this.view=e,this.indentUnit=Yu(e.state),this.initialPaddingLeft=null,this.isChrome=window==null?void 0:window.navigator.userAgent.includes("Chrome"),this.generate(e.state)}update(e){var t=Yu(e.state);(t!==this.indentUnit||e.docChanged||e.viewportChanged)&&(this.indentUnit=t,this.generate(e.state))}generate(e){var t=new Qa;this.initialPaddingLeft?this.addStyleToBuilder(t,e,this.initialPaddingLeft):this.view.requestMeasure({read:r=>{var n=r.contentDOM.querySelector(".cm-line");n&&(this.initialPaddingLeft=window.getComputedStyle(n).getPropertyValue("padding-left"),this.addStyleToBuilder(t,r.state,this.initialPaddingLeft)),this.decorations=t.finish()}}),this.decorations=t.finish()}addStyleToBuilder(e,t,r){var n=this.getVisibleLines(t);for(var o of n){var{numColumns:s,containsTab:i}=this.numColumns(o.text,t.tabSize),a="calc(".concat(s+this.indentUnit,"ch + ").concat(r,")"),l=this.isChrome?"calc(-".concat(s+this.indentUnit,"ch - ").concat(i?1:0,"px)"):"-".concat(s+this.indentUnit,"ch");e.add(o.from,o.from,kr.line({attributes:{style:"padding-left: ".concat(a,"; text-indent: ").concat(l,";")}}))}}getVisibleLines(e){var t=new Set,r=null;for(var{from:n,to:o}of this.view.visibleRanges)for(var s=n;s<=o;){var i=e.doc.lineAt(s);r!==i&&(t.add(i),r=i),s=i.to+1}return t}numColumns(e,t){var r=0,n=!1;e:for(var o=0;oe.decorations})];or(`/* over all fonts, sizes, and colors */ +}`);var nIe=Pe('
'),oIe=Pe('
'),sIe=Pe('
'),iIe=Pe('
'),HE=Tv.define([{tag:ct.propertyName,color:"var(--internal-key-color)"},{tag:ct.number,color:"var(--internal-value-color-number)"},{tag:ct.bool,color:"var(--internal-value-color-boolean)"},{tag:ct.string,color:"var(--internal-value-color-string)"},{tag:ct.keyword,color:"var(--internal-value-color-null)"}]),aIe=J9(HE),lIe=HE.style;HE.style=e=>lIe(e||[]);var cIe=[Lo.fromClass(class{constructor(e){this.view=e,this.indentUnit=Yu(e.state),this.initialPaddingLeft=null,this.isChrome=window==null?void 0:window.navigator.userAgent.includes("Chrome"),this.generate(e.state)}update(e){var t=Yu(e.state);(t!==this.indentUnit||e.docChanged||e.viewportChanged)&&(this.indentUnit=t,this.generate(e.state))}generate(e){var t=new Qa;this.initialPaddingLeft?this.addStyleToBuilder(t,e,this.initialPaddingLeft):this.view.requestMeasure({read:r=>{var n=r.contentDOM.querySelector(".cm-line");n&&(this.initialPaddingLeft=window.getComputedStyle(n).getPropertyValue("padding-left"),this.addStyleToBuilder(t,r.state,this.initialPaddingLeft)),this.decorations=t.finish()}}),this.decorations=t.finish()}addStyleToBuilder(e,t,r){var n=this.getVisibleLines(t);for(var o of n){var{numColumns:s,containsTab:i}=this.numColumns(o.text,t.tabSize),a="calc(".concat(s+this.indentUnit,"ch + ").concat(r,")"),l=this.isChrome?"calc(-".concat(s+this.indentUnit,"ch - ").concat(i?1:0,"px)"):"-".concat(s+this.indentUnit,"ch");e.add(o.from,o.from,kr.line({attributes:{style:"padding-left: ".concat(a,"; text-indent: ").concat(l,";")}}))}}getVisibleLines(e){var t=new Set,r=null;for(var{from:n,to:o}of this.view.visibleRanges)for(var s=n;s<=o;){var i=e.doc.lineAt(s);r!==i&&(t.add(i),r=i),s=i.to+1}return t}numColumns(e,t){var r=0,n=!1;e:for(var o=0;oe.decorations})];or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -3473,8 +3473,8 @@ button.jse-context-menu-button.svelte-1idfykj svg { white-space: pre-wrap; word-break: break-word; padding: 2px; -}`);var uIe=Pe('
',1),dIe=Pe(" ",1),pIe=Pe("
",1),fIe=Pe('
loading...
'),hIe=Pe("
");function mIe(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),o=T(t,"readOnly",9),s=T(t,"mainMenuBar",9),i=T(t,"statusBar",9),a=T(t,"askToFormat",9),l=T(t,"externalContent",9),c=T(t,"externalSelection",9),u=T(t,"history",9),d=T(t,"indentation",9),p=T(t,"tabSize",9),f=T(t,"escapeUnicodeCharacters",9),m=T(t,"parser",9),v=T(t,"validator",9),g=T(t,"validationParser",9),y=T(t,"onChange",9),b=T(t,"onChangeMode",9),w=T(t,"onSelect",9),k=T(t,"onUndo",9),x=T(t,"onRedo",9),j=T(t,"onError",9),_=T(t,"onFocus",9),C=T(t,"onBlur",9),A=T(t,"onRenderMenu",9),I=T(t,"onSortModal",9),M=T(t,"onTransformModal",9),N=ss("jsoneditor:TextMode"),F={key:"Mod-i",run:Ue,shift:gt,preventDefault:!0},z=typeof window>"u";N("isSSR:",z);var L,X=he(void 0,!0),V=he(void 0,!0),J=he(void 0,!0),oe=he(!1,!0),H=he(a(),!0),B=he([],!0),se=new dc,q=new dc,O=new dc,D=new dc,Z=new dc,Se=l(),ie=he(l2(Se,d(),m()),!0),re=cd.define(),xe=null;function R(){if(!xe||xe.length===0)return!1;var De=xe[0].startState,ot=xe[xe.length-1].state,Ot=xe.map(Et=>Et.changes).reduce((Et,gr)=>Et.compose(gr)),ur={type:"text",undo:{changes:Ot.invert(De.doc).toJSON(),selection:Dt(De.selection)},redo:{changes:Ot.toJSON(),selection:Dt(ot.selection)}};return N("add history item",ur),u().add(ur),xe=null,!0}var te=he(f(),!0);Is(pr(function*(){if(!z)try{L=function(De){var{target:ot,initialText:Ot,readOnly:ur,indentation:Et}=De;N("Create CodeMirror editor",{readOnly:ur,indentation:Et});var gr=function(xr,un){return Ij(xr)?xr.ranges.every(Yt=>Yt.anchor{$(J,xr.state),xr.docChanged&&(xr.transactions.some(un=>!!un.annotation(re))||(xe=[...xe??[],xr]),br()),xr.selectionSet&&Pr()}),oEe(),bEe({top:!0}),jt.lineWrapping,q.of(an.readOnly.of(ur)),D.of(an.tabSize.of(p())),O.of(wt(Et)),Z.of(jt.theme({},{dark:St()}))]});return L=new jt({state:Jr,parent:ot}),gr&&L.dispatch(L.state.update({selection:gr.main,scrollIntoView:!0})),L}({target:h(X),initialText:mr(h(ie),h(oe))?"":h(r).escapeValue(h(ie)),readOnly:o(),indentation:d()})}catch(De){console.error(De)}})),va(()=>{wr(),L&&(N("Destroy CodeMirror editor"),L.destroy())});var ne=ih(),Ce=ih();function me(){L&&(N("focus"),L.focus())}var ae=!1;function kt(De){return ft(De,!1)}function ft(De,ot){N("handlePatch",De,ot);var Ot=m().parse(h(ie)),ur=Na(Ot,De),Et=Y5(Ot,De);return _r({text:m().stringify(ur,null,d())},ot,!1),{json:ur,previousJson:Ot,undo:Et,redo:De}}function Ue(){if(N("format"),o())return!1;try{var De=m().parse(h(ie));return _r({text:m().stringify(De,null,d())},!0,!1),$(H,a()),!0}catch(ot){j()(ot)}return!1}function gt(){if(N("compact"),o())return!1;try{var De=m().parse(h(ie));return _r({text:m().stringify(De)},!0,!1),$(H,!1),!0}catch(ot){j()(ot)}return!1}function Ge(){if(N("repair"),!o())try{_r({text:Ol(h(ie))},!0,!1),$(Cr,Oj),$(nn,void 0)}catch(De){j()(De)}}function _t(){var De;if(!o())try{var ot=m().parse(h(ie));ae=!0,I()({id:ne,json:ot,rootPath:[],onSort:(De=pr(function*(Ot){var{operations:ur}=Ot;N("onSort",ur),ft(ur,!0)}),function(Ot){return De.apply(this,arguments)}),onClose:()=>{ae=!1,me()}})}catch(Ot){j()(Ot)}}function It(De){var{id:ot,rootPath:Ot,onTransform:ur,onClose:Et}=De;try{var gr=m().parse(h(ie));ae=!0,M()({id:ot||Ce,json:gr,rootPath:Ot||[],onTransform:Jr=>{ur?ur({operations:Jr,json:gr,transformedJson:Na(gr,Jr)}):(N("onTransform",Jr),ft(Jr,!0))},onClose:()=>{ae=!1,me(),Et&&Et()}})}catch(Jr){j()(Jr)}}function vt(){o()||It({rootPath:[]})}function sr(){L&&(h(X)&&h(X).querySelector(".cm-search")?cE(L):lE(L))}function P(){if(o())return!1;wr();var De=u().undo();return N("undo",De),kD(De)?(L.dispatch({annotations:re.of("undo"),changes:Yo.fromJSON(De.undo.changes),selection:Je.fromJSON(De.undo.selection),scrollIntoView:!0}),!0):(k()(De),!1)}function G(){if(o())return!1;wr();var De=u().redo();return N("redo",De),kD(De)?(L.dispatch({annotations:re.of("redo"),changes:Yo.fromJSON(De.redo.changes),selection:Je.fromJSON(De.redo.selection),scrollIntoView:!0}),!0):(x()(De),!1)}function ee(){$(oe,!0),_r(l(),!0,!0)}function be(){b()(Jo.tree)}function Me(){W()}function Fe(De){N("select validation error",De);var{from:ot,to:Ot}=rr(De);ot!==void 0&&Ot!==void 0&&(Ze(ot,Ot),me())}function Ze(De,ot){N("setSelection",{anchor:De,head:ot}),L&&L.dispatch(L.state.update({selection:{anchor:De,head:ot},scrollIntoView:!0}))}function we(De,ot){if(ot.state.selection.ranges.length===1){var Ot=ot.state.selection.ranges[0],ur=h(ie).slice(Ot.from,Ot.to);if(ur==="{"||ur==="["){var Et=MT.parse(h(ie)),gr=Object.keys(Et.pointers).find(xr=>{var un;return((un=Et.pointers[xr].value)===null||un===void 0?void 0:un.pos)===Ot.from}),Jr=Et.pointers[gr];gr&&Jr&&Jr.value&&Jr.valueEnd&&(N("pointer found, selecting inner contents of path:",gr,Jr),Ze(Jr.value.pos+1,Jr.valueEnd.pos-1))}}}function pt(){return LAe(Tn,{delay:300})}function St(){return!!h(X)&&getComputedStyle(h(X)).getPropertyValue("--jse-theme").includes("dark")}function rr(De){var{path:ot,message:Ot,severity:ur}=De,{line:Et,column:gr,from:Jr,to:xr}=function(un,Yt){try{var Ar=MT.parse(un),Jt=Wt(Yt),ir=Ar.pointers[Jt];if(ir)return{path:Yt,line:ir.key?ir.key.line:ir.value?ir.value.line:0,column:ir.key?ir.key.column:ir.value?ir.value.column:0,from:ir.key?ir.key.pos:ir.value?ir.value.pos:0,to:ir.keyEnd?ir.keyEnd.pos:ir.valueEnd?ir.valueEnd.pos:0}}catch(_n){console.error(_n)}return{path:Yt,line:0,column:0,from:0,to:0}}(h(r).escapeValue(h(ie)),ot);return{path:ot,line:Et,column:gr,from:Jr,to:xr,message:Ot,severity:ur,actions:[]}}function Ve(De,ot){var{line:Ot,column:ur,position:Et,message:gr}=De;return{path:[],line:Ot,column:ur,from:Et,to:Et,severity:qa.error,message:gr,actions:ot&&!o()?[{name:"Auto repair",apply:()=>Ge()}]:void 0}}function Ft(De){return{from:De.from||0,to:De.to||0,message:De.message||"",actions:De.actions,severity:De.severity}}function _r(De,ot,Ot){var ur=l2(De,d(),m()),Et=!Hr(De,Se),gr=Se;N("setCodeMirrorContent",{isChanged:Et,emitChange:ot,forceUpdate:Ot}),L&&(Et||Ot)&&(Se=De,$(ie,ur),mr(h(ie),h(oe))||L.dispatch({changes:{from:0,to:L.state.doc.length,insert:h(r).escapeValue(h(ie))}}),R(),Et&&ot&&Gt(Se,gr))}function Bn(De){return Ij(De)?Je.fromJSON(De):void 0}function Nr(){return Sr.apply(this,arguments)}function Sr(){return Sr=pr(function*(){N("refresh"),yield function(){return Ee.apply(this,arguments)}()}),Sr.apply(this,arguments)}function W(){if(L){var De=L?h(r).unescapeValue(L.state.doc.toString()):"",ot=De!==h(ie);if(N("onChangeCodeMirrorValue",{isChanged:ot}),ot){var Ot=Se;$(ie,De),Se={text:h(ie)},R(),Gt(Se,Ot),so(),Pr()}}}function Ee(){return(Ee=pr(function*(){if(so(),L){var De=St();return N("updateTheme",{dark:De}),L.dispatch({effects:[Z.reconfigure(jt.theme({},{dark:De}))]}),new Promise(ot=>setTimeout(ot))}return Promise.resolve()})).apply(this,arguments)}function wt(De){var ot=ix.of(typeof De=="number"?" ".repeat(De):De);return De===" "?[ot]:[ot,cIe]}FE({onMount:Is,onDestroy:va,getWindow:()=>qv(h(V)),hasFocus:()=>ae&&document.hasFocus()||CE(h(V)),onFocus:_(),onBlur:()=>{wr(),C()()}});var br=Kb(W,300);function wr(){br.flush()}function Gt(De,ot){y()&&y()(De,ot,{contentErrors:en(),patchResult:void 0})}function Pr(){w()(Dt(h(J).selection))}function Dt(De){return rt({type:On.text},De.toJSON())}function mr(De,ot){return!!De&&De.length>gD&&!ot}var Cr=he(Oj,!0),nn=he(void 0,!0);function Tn(){if(mr(h(ie),h(oe)))return[];var De=en();if(wD(De)){var{parseError:ot,isRepairable:Ot}=De;return[Ft(Ve(ot,Ot))]}return U$e(De)?De.validationErrors.map(rr).map(Ft):[]}function en(){N("validate:start"),wr();var De=co(h(r).escapeValue(h(ie)),v(),m(),g());return wD(De)?($(Cr,De.isRepairable?yD:"invalid"),$(nn,De.parseError),$(B,[])):($(Cr,Oj),$(nn,void 0),$(B,(De==null?void 0:De.validationErrors)||[])),N("validate:end"),De}var co=Ag(t3e);function Qn(){h(nn)&&function(De){N("select parse error",De);var ot=Ve(De,!1);Ze(ot.from!=null?ot.from:0,ot.to!=null?ot.to:0),me()}(h(nn))}var Zn={icon:Fxe,text:"Show me",title:"Move to the parse error location",onClick:Qn};$e(()=>de(f()),()=>{$(r,_E({escapeControlCharacters:!1,escapeUnicodeCharacters:f()}))}),$e(()=>de(l()),()=>{_r(l(),!1,!1)}),$e(()=>de(c()),()=>{(function(De){if(Ij(De)){var ot=Bn(De);!L||!ot||h(J)&&h(J).selection.eq(ot)||(N("applyExternalSelection",ot),L.dispatch({selection:ot}))}})(c())}),$e(()=>de(v()),()=>{(function(De){N("updateLinter",De),L&&L.dispatch({effects:se.reconfigure(pt())})})(v())}),$e(()=>de(d()),()=>{(function(De){L&&(N("updateIndentation",De),L.dispatch({effects:O.reconfigure(wt(De))}))})(d())}),$e(()=>de(p()),()=>{(function(De){L&&(N("updateTabSize",De),L.dispatch({effects:D.reconfigure(an.tabSize.of(De))}))})(p())}),$e(()=>de(o()),()=>{(function(De){L&&(N("updateReadOnly",De),L.dispatch({effects:[q.reconfigure(an.readOnly.of(De))]}))})(o())}),$e(()=>(h(te),de(f())),()=>{h(te)!==f()&&($(te,f()),N("forceUpdateText",{escapeUnicodeCharacters:f()}),L&&L.dispatch({changes:{from:0,to:L.state.doc.length,insert:h(r).escapeValue(h(ie))}}))}),$e(()=>(h(Cr),de(o()),ah),()=>{$(n,h(Cr)!==yD||o()?[Zn]:[{icon:ah,text:"Auto repair",title:"Automatically repair JSON",onClick:Ge},Zn])}),mn(),fr(!0);var bo,uo=hIe(),yn=fe(uo),bn=De=>{var ot=We(()=>h(ie).length===0),Ot=We(()=>!h(ot)),ur=We(()=>!h(ot)),Et=We(()=>!h(ot)),gr=We(()=>!h(ot));(function(Jr,xr){Ut(xr,!1);var un=he(void 0,!0),Yt=T(xr,"readOnly",9,!1),Ar=T(xr,"onFormat",9),Jt=T(xr,"onCompact",9),ir=T(xr,"onSort",9),_n=T(xr,"onTransform",9),Pn=T(xr,"onToggleSearch",9),Dr=T(xr,"onUndo",9),Or=T(xr,"onRedo",9),Tr=T(xr,"canUndo",9),Xn=T(xr,"canRedo",9),_e=T(xr,"canFormat",9),Be=T(xr,"canCompact",9),et=T(xr,"canSort",9),Er=T(xr,"canTransform",9),on=T(xr,"onRenderMenu",9),zr={type:"button",icon:Kw,title:"Search (Ctrl+F)",className:"jse-search",onClick:Pn()},gn=he(void 0,!0);$e(()=>(de(Yt()),de(Ar()),de(_e()),de(Jt()),de(Be()),de(ir()),de(et()),de(_n()),de(Er()),de(Dr()),de(Tr()),de(Or()),de(Xn())),()=>{$(gn,Yt()?[zr,{type:"space"}]:[{type:"button",icon:JD,title:"Format JSON: add proper indentation and new lines (Ctrl+I)",className:"jse-format",onClick:Ar(),disabled:Yt()||!_e()},{type:"button",icon:sPe,title:"Compact JSON: remove all white spacing and new lines (Ctrl+Shift+I)",className:"jse-compact",onClick:Jt(),disabled:Yt()||!Be()},{type:"separator"},{type:"button",icon:Xb,title:"Sort",className:"jse-sort",onClick:ir(),disabled:Yt()||!et()},{type:"button",icon:Qb,title:"Transform contents (filter, sort, project)",className:"jse-transform",onClick:_n(),disabled:Yt()||!Er()},zr,{type:"separator"},{type:"button",icon:EA,title:"Undo (Ctrl+Z)",className:"jse-undo",onClick:Dr(),disabled:!Tr()},{type:"button",icon:AA,title:"Redo (Ctrl+Shift+Z)",className:"jse-redo",onClick:Or(),disabled:!Xn()},{type:"space"}])}),$e(()=>(de(on()),h(gn)),()=>{$(un,on()(h(gn))||h(gn))}),mn(),fr(!0),Tx(Jr,{get items(){return h(un)}}),Ht()})(De,{get readOnly(){return o()},onFormat:Ue,onCompact:gt,onSort:_t,onTransform:vt,onToggleSearch:sr,onUndo:P,onRedo:G,get canFormat(){return h(Ot)},get canCompact(){return h(ur)},get canSort(){return h(Et)},get canTransform(){return h(gr)},get canUndo(){return u().canUndo},get canRedo(){return u().canRedo},get onRenderMenu(){return A()}})};Le(yn,De=>{s()&&De(bn)});var Fn=ke(yn,2),Qe=De=>{var ot,Ot=pIe(),ur=We(()=>mr(h(ie),h(oe))),Et=Kt(Ot);no(Et,Yt=>$(X,Yt),()=>h(X));var gr=ke(Et,2),Jr=Yt=>{var Ar=uIe(),Jt=Kt(Ar),ir=We(()=>"The JSON document is larger than ".concat(y2(gD),", ")+"and may crash your browser when loading it in text mode. Actual size: ".concat(y2(h(ie).length),"."));Ha(Jt,{icon:sp,type:"error",get message(){return h(ir)},actions:[{text:"Open anyway",title:"Open the document in text mode. This may freeze or crash your browser.",onClick:ee},{text:"Open in tree mode",title:"Open the document in tree mode. Tree mode can handle large documents.",onClick:be},{text:"Cancel",title:"Cancel opening this large document.",onClick:Me}],onClose:me});var _n=fe(ke(Jt,2));nt(Pn=>Xt(_n,Pn),[()=>Gg(h(ie)||"",d2)],We),ge(Yt,Ar)};Le(gr,Yt=>{h(ur)&&Yt(Jr)});var xr=ke(gr,2),un=Yt=>{var Ar=dIe(),Jt=Kt(Ar),ir=Tr=>{(function(Xn,_e){Ut(_e,!1);var Be=T(_e,"editorState",8),et=he(),Er=he(),on=he(),zr=he(),gn=he();$e(()=>de(Be()),()=>{var ut;$(et,(ut=Be())===null||ut===void 0||(ut=ut.selection)===null||ut===void 0||(ut=ut.main)===null||ut===void 0?void 0:ut.head)}),$e(()=>(h(et),de(Be())),()=>{var ut;$(Er,h(et)!==void 0?(ut=Be())===null||ut===void 0||(ut=ut.doc)===null||ut===void 0?void 0:ut.lineAt(h(et)):void 0)}),$e(()=>h(Er),()=>{$(on,h(Er)!==void 0?h(Er).number:void 0)}),$e(()=>(h(Er),h(et)),()=>{$(zr,h(Er)!==void 0&&h(et)!==void 0?h(et)-h(Er).from+1:void 0)}),$e(()=>de(Be()),()=>{var ut;$(gn,(ut=Be())===null||ut===void 0||(ut=ut.selection)===null||ut===void 0||(ut=ut.ranges)===null||ut===void 0?void 0:ut.reduce((tn,Sn)=>tn+Sn.to-Sn.from,0))}),mn(),fr();var Vn=iIe(),qn=fe(Vn),Yn=ut=>{var tn=nIe(),Sn=fe(tn);nt(()=>{var sn;return Xt(Sn,"Line: ".concat((sn=h(on))!==null&&sn!==void 0?sn:""))}),ge(ut,tn)};Le(qn,ut=>{h(on)!==void 0&&ut(Yn)});var dr=ke(qn,2),Un=ut=>{var tn=oIe(),Sn=fe(tn);nt(()=>{var sn;return Xt(Sn,"Column: ".concat((sn=h(zr))!==null&&sn!==void 0?sn:""))}),ge(ut,tn)};Le(dr,ut=>{h(zr)!==void 0&&ut(Un)});var er=ke(dr,2),Vo=ut=>{var tn=sIe(),Sn=fe(tn);nt(()=>{var sn;return Xt(Sn,"Selection: ".concat((sn=h(gn))!==null&&sn!==void 0?sn:""," characters"))}),ge(ut,tn)};Le(er,ut=>{h(gn)!==void 0&&h(gn)>0&&ut(Vo)}),ge(Xn,Vn),Ht()})(Tr,{get editorState(){return h(J)}})};Le(Jt,Tr=>{i()&&Tr(ir)});var _n=ke(Jt,2),Pn=Tr=>{Ha(Tr,{type:"error",icon:sp,get message(){return h(nn).message},get actions(){return h(n)},onClick:Qn,onClose:me})};Le(_n,Tr=>{h(nn)&&Tr(Pn)});var Dr=ke(_n,2),Or=Tr=>{Ha(Tr,{type:"success",message:"Do you want to format the JSON?",actions:[{icon:JD,text:"Format",title:"Format JSON: add proper indentation and new lines (Ctrl+I)",onClick:Ue},{icon:Qw,text:"No thanks",title:"Close this message",onClick:()=>$(H,!1)}],onClose:me})};Le(Dr,Tr=>{var Xn,_e;!h(nn)&&h(H)&&(Xn=h(ie),!(_e=Xn.substring(0,999).trim()).includes(` -`)&&h$e.test(_e))&&Tr(Or)}),VE(ke(Dr,2),{get validationErrors(){return h(B)},selectError:Fe}),ge(Yt,Ar)};Le(xr,Yt=>{h(ur)||Yt(un)}),nt(Yt=>ot=hr(Et,1,"jse-contents svelte-xt61xw",null,ot,Yt),[()=>({"jse-hidden":h(ur)})],We),ge(De,Ot)},Ir=De=>{ge(De,fIe())};return Le(Fn,De=>{z?De(Ir,!1):De(Qe)}),no(uo,De=>$(V,De),()=>h(V)),nt(De=>bo=hr(uo,1,"jse-text-mode svelte-xt61xw",null,bo,De),[()=>({"no-main-menu":!s()})],We),ge(e,uo),lr(t,"focus",me),lr(t,"patch",kt),lr(t,"handlePatch",ft),lr(t,"openTransformModal",It),lr(t,"refresh",Nr),lr(t,"flush",wr),lr(t,"validate",en),Ht({focus:me,patch:kt,handlePatch:ft,openTransformModal:It,refresh:Nr,flush:wr,validate:en})}or(`/* over all fonts, sizes, and colors */ +}`);var uIe=Pe('
',1),dIe=Pe(" ",1),pIe=Pe("
",1),fIe=Pe('
loading...
'),hIe=Pe("
");function mIe(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),o=T(t,"readOnly",9),s=T(t,"mainMenuBar",9),i=T(t,"statusBar",9),a=T(t,"askToFormat",9),l=T(t,"externalContent",9),c=T(t,"externalSelection",9),u=T(t,"history",9),d=T(t,"indentation",9),p=T(t,"tabSize",9),f=T(t,"escapeUnicodeCharacters",9),m=T(t,"parser",9),v=T(t,"validator",9),g=T(t,"validationParser",9),y=T(t,"onChange",9),b=T(t,"onChangeMode",9),w=T(t,"onSelect",9),k=T(t,"onUndo",9),x=T(t,"onRedo",9),j=T(t,"onError",9),_=T(t,"onFocus",9),C=T(t,"onBlur",9),A=T(t,"onRenderMenu",9),I=T(t,"onSortModal",9),M=T(t,"onTransformModal",9),L=ss("jsoneditor:TextMode"),F={key:"Mod-i",run:Ue,shift:gt,preventDefault:!0},z=typeof window>"u";L("isSSR:",z);var N,X=he(void 0,!0),V=he(void 0,!0),J=he(void 0,!0),oe=he(!1,!0),H=he(a(),!0),B=he([],!0),se=new dc,q=new dc,O=new dc,D=new dc,Z=new dc,Se=l(),ie=he(l2(Se,d(),m()),!0),re=cd.define(),xe=null;function R(){if(!xe||xe.length===0)return!1;var De=xe[0].startState,ot=xe[xe.length-1].state,Ot=xe.map(Et=>Et.changes).reduce((Et,gr)=>Et.compose(gr)),ur={type:"text",undo:{changes:Ot.invert(De.doc).toJSON(),selection:Dt(De.selection)},redo:{changes:Ot.toJSON(),selection:Dt(ot.selection)}};return L("add history item",ur),u().add(ur),xe=null,!0}var te=he(f(),!0);Is(pr(function*(){if(!z)try{N=function(De){var{target:ot,initialText:Ot,readOnly:ur,indentation:Et}=De;L("Create CodeMirror editor",{readOnly:ur,indentation:Et});var gr=function(xr,un){return Ij(xr)?xr.ranges.every(Yt=>Yt.anchor{$(J,xr.state),xr.docChanged&&(xr.transactions.some(un=>!!un.annotation(re))||(xe=[...xe??[],xr]),br()),xr.selectionSet&&Pr()}),oEe(),bEe({top:!0}),jt.lineWrapping,q.of(an.readOnly.of(ur)),D.of(an.tabSize.of(p())),O.of(wt(Et)),Z.of(jt.theme({},{dark:St()}))]});return N=new jt({state:Jr,parent:ot}),gr&&N.dispatch(N.state.update({selection:gr.main,scrollIntoView:!0})),N}({target:h(X),initialText:mr(h(ie),h(oe))?"":h(r).escapeValue(h(ie)),readOnly:o(),indentation:d()})}catch(De){console.error(De)}})),va(()=>{wr(),N&&(L("Destroy CodeMirror editor"),N.destroy())});var ne=ih(),Ce=ih();function me(){N&&(L("focus"),N.focus())}var ae=!1;function kt(De){return ft(De,!1)}function ft(De,ot){L("handlePatch",De,ot);var Ot=m().parse(h(ie)),ur=La(Ot,De),Et=Y5(Ot,De);return _r({text:m().stringify(ur,null,d())},ot,!1),{json:ur,previousJson:Ot,undo:Et,redo:De}}function Ue(){if(L("format"),o())return!1;try{var De=m().parse(h(ie));return _r({text:m().stringify(De,null,d())},!0,!1),$(H,a()),!0}catch(ot){j()(ot)}return!1}function gt(){if(L("compact"),o())return!1;try{var De=m().parse(h(ie));return _r({text:m().stringify(De)},!0,!1),$(H,!1),!0}catch(ot){j()(ot)}return!1}function Ge(){if(L("repair"),!o())try{_r({text:Ol(h(ie))},!0,!1),$(Cr,Oj),$(nn,void 0)}catch(De){j()(De)}}function _t(){var De;if(!o())try{var ot=m().parse(h(ie));ae=!0,I()({id:ne,json:ot,rootPath:[],onSort:(De=pr(function*(Ot){var{operations:ur}=Ot;L("onSort",ur),ft(ur,!0)}),function(Ot){return De.apply(this,arguments)}),onClose:()=>{ae=!1,me()}})}catch(Ot){j()(Ot)}}function It(De){var{id:ot,rootPath:Ot,onTransform:ur,onClose:Et}=De;try{var gr=m().parse(h(ie));ae=!0,M()({id:ot||Ce,json:gr,rootPath:Ot||[],onTransform:Jr=>{ur?ur({operations:Jr,json:gr,transformedJson:La(gr,Jr)}):(L("onTransform",Jr),ft(Jr,!0))},onClose:()=>{ae=!1,me(),Et&&Et()}})}catch(Jr){j()(Jr)}}function vt(){o()||It({rootPath:[]})}function sr(){N&&(h(X)&&h(X).querySelector(".cm-search")?cE(N):lE(N))}function P(){if(o())return!1;wr();var De=u().undo();return L("undo",De),kD(De)?(N.dispatch({annotations:re.of("undo"),changes:Yo.fromJSON(De.undo.changes),selection:Je.fromJSON(De.undo.selection),scrollIntoView:!0}),!0):(k()(De),!1)}function G(){if(o())return!1;wr();var De=u().redo();return L("redo",De),kD(De)?(N.dispatch({annotations:re.of("redo"),changes:Yo.fromJSON(De.redo.changes),selection:Je.fromJSON(De.redo.selection),scrollIntoView:!0}),!0):(x()(De),!1)}function ee(){$(oe,!0),_r(l(),!0,!0)}function be(){b()(Jo.tree)}function Me(){W()}function Fe(De){L("select validation error",De);var{from:ot,to:Ot}=rr(De);ot!==void 0&&Ot!==void 0&&(Ze(ot,Ot),me())}function Ze(De,ot){L("setSelection",{anchor:De,head:ot}),N&&N.dispatch(N.state.update({selection:{anchor:De,head:ot},scrollIntoView:!0}))}function we(De,ot){if(ot.state.selection.ranges.length===1){var Ot=ot.state.selection.ranges[0],ur=h(ie).slice(Ot.from,Ot.to);if(ur==="{"||ur==="["){var Et=MT.parse(h(ie)),gr=Object.keys(Et.pointers).find(xr=>{var un;return((un=Et.pointers[xr].value)===null||un===void 0?void 0:un.pos)===Ot.from}),Jr=Et.pointers[gr];gr&&Jr&&Jr.value&&Jr.valueEnd&&(L("pointer found, selecting inner contents of path:",gr,Jr),Ze(Jr.value.pos+1,Jr.valueEnd.pos-1))}}}function pt(){return NAe(Tn,{delay:300})}function St(){return!!h(X)&&getComputedStyle(h(X)).getPropertyValue("--jse-theme").includes("dark")}function rr(De){var{path:ot,message:Ot,severity:ur}=De,{line:Et,column:gr,from:Jr,to:xr}=function(un,Yt){try{var Ar=MT.parse(un),Jt=Wt(Yt),ir=Ar.pointers[Jt];if(ir)return{path:Yt,line:ir.key?ir.key.line:ir.value?ir.value.line:0,column:ir.key?ir.key.column:ir.value?ir.value.column:0,from:ir.key?ir.key.pos:ir.value?ir.value.pos:0,to:ir.keyEnd?ir.keyEnd.pos:ir.valueEnd?ir.valueEnd.pos:0}}catch(_n){console.error(_n)}return{path:Yt,line:0,column:0,from:0,to:0}}(h(r).escapeValue(h(ie)),ot);return{path:ot,line:Et,column:gr,from:Jr,to:xr,message:Ot,severity:ur,actions:[]}}function Ve(De,ot){var{line:Ot,column:ur,position:Et,message:gr}=De;return{path:[],line:Ot,column:ur,from:Et,to:Et,severity:qa.error,message:gr,actions:ot&&!o()?[{name:"Auto repair",apply:()=>Ge()}]:void 0}}function Ft(De){return{from:De.from||0,to:De.to||0,message:De.message||"",actions:De.actions,severity:De.severity}}function _r(De,ot,Ot){var ur=l2(De,d(),m()),Et=!Hr(De,Se),gr=Se;L("setCodeMirrorContent",{isChanged:Et,emitChange:ot,forceUpdate:Ot}),N&&(Et||Ot)&&(Se=De,$(ie,ur),mr(h(ie),h(oe))||N.dispatch({changes:{from:0,to:N.state.doc.length,insert:h(r).escapeValue(h(ie))}}),R(),Et&&ot&&Gt(Se,gr))}function Bn(De){return Ij(De)?Je.fromJSON(De):void 0}function Lr(){return Sr.apply(this,arguments)}function Sr(){return Sr=pr(function*(){L("refresh"),yield function(){return Ee.apply(this,arguments)}()}),Sr.apply(this,arguments)}function W(){if(N){var De=N?h(r).unescapeValue(N.state.doc.toString()):"",ot=De!==h(ie);if(L("onChangeCodeMirrorValue",{isChanged:ot}),ot){var Ot=Se;$(ie,De),Se={text:h(ie)},R(),Gt(Se,Ot),so(),Pr()}}}function Ee(){return(Ee=pr(function*(){if(so(),N){var De=St();return L("updateTheme",{dark:De}),N.dispatch({effects:[Z.reconfigure(jt.theme({},{dark:De}))]}),new Promise(ot=>setTimeout(ot))}return Promise.resolve()})).apply(this,arguments)}function wt(De){var ot=ix.of(typeof De=="number"?" ".repeat(De):De);return De===" "?[ot]:[ot,cIe]}FE({onMount:Is,onDestroy:va,getWindow:()=>qv(h(V)),hasFocus:()=>ae&&document.hasFocus()||CE(h(V)),onFocus:_(),onBlur:()=>{wr(),C()()}});var br=Kb(W,300);function wr(){br.flush()}function Gt(De,ot){y()&&y()(De,ot,{contentErrors:en(),patchResult:void 0})}function Pr(){w()(Dt(h(J).selection))}function Dt(De){return rt({type:On.text},De.toJSON())}function mr(De,ot){return!!De&&De.length>gD&&!ot}var Cr=he(Oj,!0),nn=he(void 0,!0);function Tn(){if(mr(h(ie),h(oe)))return[];var De=en();if(wD(De)){var{parseError:ot,isRepairable:Ot}=De;return[Ft(Ve(ot,Ot))]}return U$e(De)?De.validationErrors.map(rr).map(Ft):[]}function en(){L("validate:start"),wr();var De=co(h(r).escapeValue(h(ie)),v(),m(),g());return wD(De)?($(Cr,De.isRepairable?yD:"invalid"),$(nn,De.parseError),$(B,[])):($(Cr,Oj),$(nn,void 0),$(B,(De==null?void 0:De.validationErrors)||[])),L("validate:end"),De}var co=Ag(t3e);function Qn(){h(nn)&&function(De){L("select parse error",De);var ot=Ve(De,!1);Ze(ot.from!=null?ot.from:0,ot.to!=null?ot.to:0),me()}(h(nn))}var Zn={icon:Fxe,text:"Show me",title:"Move to the parse error location",onClick:Qn};$e(()=>de(f()),()=>{$(r,_E({escapeControlCharacters:!1,escapeUnicodeCharacters:f()}))}),$e(()=>de(l()),()=>{_r(l(),!1,!1)}),$e(()=>de(c()),()=>{(function(De){if(Ij(De)){var ot=Bn(De);!N||!ot||h(J)&&h(J).selection.eq(ot)||(L("applyExternalSelection",ot),N.dispatch({selection:ot}))}})(c())}),$e(()=>de(v()),()=>{(function(De){L("updateLinter",De),N&&N.dispatch({effects:se.reconfigure(pt())})})(v())}),$e(()=>de(d()),()=>{(function(De){N&&(L("updateIndentation",De),N.dispatch({effects:O.reconfigure(wt(De))}))})(d())}),$e(()=>de(p()),()=>{(function(De){N&&(L("updateTabSize",De),N.dispatch({effects:D.reconfigure(an.tabSize.of(De))}))})(p())}),$e(()=>de(o()),()=>{(function(De){N&&(L("updateReadOnly",De),N.dispatch({effects:[q.reconfigure(an.readOnly.of(De))]}))})(o())}),$e(()=>(h(te),de(f())),()=>{h(te)!==f()&&($(te,f()),L("forceUpdateText",{escapeUnicodeCharacters:f()}),N&&N.dispatch({changes:{from:0,to:N.state.doc.length,insert:h(r).escapeValue(h(ie))}}))}),$e(()=>(h(Cr),de(o()),ah),()=>{$(n,h(Cr)!==yD||o()?[Zn]:[{icon:ah,text:"Auto repair",title:"Automatically repair JSON",onClick:Ge},Zn])}),mn(),fr(!0);var bo,uo=hIe(),yn=fe(uo),bn=De=>{var ot=We(()=>h(ie).length===0),Ot=We(()=>!h(ot)),ur=We(()=>!h(ot)),Et=We(()=>!h(ot)),gr=We(()=>!h(ot));(function(Jr,xr){Ut(xr,!1);var un=he(void 0,!0),Yt=T(xr,"readOnly",9,!1),Ar=T(xr,"onFormat",9),Jt=T(xr,"onCompact",9),ir=T(xr,"onSort",9),_n=T(xr,"onTransform",9),Pn=T(xr,"onToggleSearch",9),Dr=T(xr,"onUndo",9),Or=T(xr,"onRedo",9),Tr=T(xr,"canUndo",9),Xn=T(xr,"canRedo",9),_e=T(xr,"canFormat",9),Be=T(xr,"canCompact",9),et=T(xr,"canSort",9),Er=T(xr,"canTransform",9),on=T(xr,"onRenderMenu",9),zr={type:"button",icon:Kw,title:"Search (Ctrl+F)",className:"jse-search",onClick:Pn()},gn=he(void 0,!0);$e(()=>(de(Yt()),de(Ar()),de(_e()),de(Jt()),de(Be()),de(ir()),de(et()),de(_n()),de(Er()),de(Dr()),de(Tr()),de(Or()),de(Xn())),()=>{$(gn,Yt()?[zr,{type:"space"}]:[{type:"button",icon:JD,title:"Format JSON: add proper indentation and new lines (Ctrl+I)",className:"jse-format",onClick:Ar(),disabled:Yt()||!_e()},{type:"button",icon:sPe,title:"Compact JSON: remove all white spacing and new lines (Ctrl+Shift+I)",className:"jse-compact",onClick:Jt(),disabled:Yt()||!Be()},{type:"separator"},{type:"button",icon:Xb,title:"Sort",className:"jse-sort",onClick:ir(),disabled:Yt()||!et()},{type:"button",icon:Qb,title:"Transform contents (filter, sort, project)",className:"jse-transform",onClick:_n(),disabled:Yt()||!Er()},zr,{type:"separator"},{type:"button",icon:EA,title:"Undo (Ctrl+Z)",className:"jse-undo",onClick:Dr(),disabled:!Tr()},{type:"button",icon:AA,title:"Redo (Ctrl+Shift+Z)",className:"jse-redo",onClick:Or(),disabled:!Xn()},{type:"space"}])}),$e(()=>(de(on()),h(gn)),()=>{$(un,on()(h(gn))||h(gn))}),mn(),fr(!0),Tx(Jr,{get items(){return h(un)}}),Ht()})(De,{get readOnly(){return o()},onFormat:Ue,onCompact:gt,onSort:_t,onTransform:vt,onToggleSearch:sr,onUndo:P,onRedo:G,get canFormat(){return h(Ot)},get canCompact(){return h(ur)},get canSort(){return h(Et)},get canTransform(){return h(gr)},get canUndo(){return u().canUndo},get canRedo(){return u().canRedo},get onRenderMenu(){return A()}})};Ne(yn,De=>{s()&&De(bn)});var Fn=ke(yn,2),Qe=De=>{var ot,Ot=pIe(),ur=We(()=>mr(h(ie),h(oe))),Et=Kt(Ot);no(Et,Yt=>$(X,Yt),()=>h(X));var gr=ke(Et,2),Jr=Yt=>{var Ar=uIe(),Jt=Kt(Ar),ir=We(()=>"The JSON document is larger than ".concat(y2(gD),", ")+"and may crash your browser when loading it in text mode. Actual size: ".concat(y2(h(ie).length),"."));Ha(Jt,{icon:sp,type:"error",get message(){return h(ir)},actions:[{text:"Open anyway",title:"Open the document in text mode. This may freeze or crash your browser.",onClick:ee},{text:"Open in tree mode",title:"Open the document in tree mode. Tree mode can handle large documents.",onClick:be},{text:"Cancel",title:"Cancel opening this large document.",onClick:Me}],onClose:me});var _n=fe(ke(Jt,2));nt(Pn=>Xt(_n,Pn),[()=>Gg(h(ie)||"",d2)],We),ge(Yt,Ar)};Ne(gr,Yt=>{h(ur)&&Yt(Jr)});var xr=ke(gr,2),un=Yt=>{var Ar=dIe(),Jt=Kt(Ar),ir=Tr=>{(function(Xn,_e){Ut(_e,!1);var Be=T(_e,"editorState",8),et=he(),Er=he(),on=he(),zr=he(),gn=he();$e(()=>de(Be()),()=>{var ut;$(et,(ut=Be())===null||ut===void 0||(ut=ut.selection)===null||ut===void 0||(ut=ut.main)===null||ut===void 0?void 0:ut.head)}),$e(()=>(h(et),de(Be())),()=>{var ut;$(Er,h(et)!==void 0?(ut=Be())===null||ut===void 0||(ut=ut.doc)===null||ut===void 0?void 0:ut.lineAt(h(et)):void 0)}),$e(()=>h(Er),()=>{$(on,h(Er)!==void 0?h(Er).number:void 0)}),$e(()=>(h(Er),h(et)),()=>{$(zr,h(Er)!==void 0&&h(et)!==void 0?h(et)-h(Er).from+1:void 0)}),$e(()=>de(Be()),()=>{var ut;$(gn,(ut=Be())===null||ut===void 0||(ut=ut.selection)===null||ut===void 0||(ut=ut.ranges)===null||ut===void 0?void 0:ut.reduce((tn,Sn)=>tn+Sn.to-Sn.from,0))}),mn(),fr();var Vn=iIe(),qn=fe(Vn),Yn=ut=>{var tn=nIe(),Sn=fe(tn);nt(()=>{var sn;return Xt(Sn,"Line: ".concat((sn=h(on))!==null&&sn!==void 0?sn:""))}),ge(ut,tn)};Ne(qn,ut=>{h(on)!==void 0&&ut(Yn)});var dr=ke(qn,2),Un=ut=>{var tn=oIe(),Sn=fe(tn);nt(()=>{var sn;return Xt(Sn,"Column: ".concat((sn=h(zr))!==null&&sn!==void 0?sn:""))}),ge(ut,tn)};Ne(dr,ut=>{h(zr)!==void 0&&ut(Un)});var er=ke(dr,2),Vo=ut=>{var tn=sIe(),Sn=fe(tn);nt(()=>{var sn;return Xt(Sn,"Selection: ".concat((sn=h(gn))!==null&&sn!==void 0?sn:""," characters"))}),ge(ut,tn)};Ne(er,ut=>{h(gn)!==void 0&&h(gn)>0&&ut(Vo)}),ge(Xn,Vn),Ht()})(Tr,{get editorState(){return h(J)}})};Ne(Jt,Tr=>{i()&&Tr(ir)});var _n=ke(Jt,2),Pn=Tr=>{Ha(Tr,{type:"error",icon:sp,get message(){return h(nn).message},get actions(){return h(n)},onClick:Qn,onClose:me})};Ne(_n,Tr=>{h(nn)&&Tr(Pn)});var Dr=ke(_n,2),Or=Tr=>{Ha(Tr,{type:"success",message:"Do you want to format the JSON?",actions:[{icon:JD,text:"Format",title:"Format JSON: add proper indentation and new lines (Ctrl+I)",onClick:Ue},{icon:Qw,text:"No thanks",title:"Close this message",onClick:()=>$(H,!1)}],onClose:me})};Ne(Dr,Tr=>{var Xn,_e;!h(nn)&&h(H)&&(Xn=h(ie),!(_e=Xn.substring(0,999).trim()).includes(` +`)&&h$e.test(_e))&&Tr(Or)}),VE(ke(Dr,2),{get validationErrors(){return h(B)},selectError:Fe}),ge(Yt,Ar)};Ne(xr,Yt=>{h(ur)||Yt(un)}),nt(Yt=>ot=hr(Et,1,"jse-contents svelte-xt61xw",null,ot,Yt),[()=>({"jse-hidden":h(ur)})],We),ge(De,Ot)},Ir=De=>{ge(De,fIe())};return Ne(Fn,De=>{z?De(Ir,!1):De(Qe)}),no(uo,De=>$(V,De),()=>h(V)),nt(De=>bo=hr(uo,1,"jse-text-mode svelte-xt61xw",null,bo,De),[()=>({"no-main-menu":!s()})],We),ge(e,uo),lr(t,"focus",me),lr(t,"patch",kt),lr(t,"handlePatch",ft),lr(t,"openTransformModal",It),lr(t,"refresh",Lr),lr(t,"flush",wr),lr(t,"validate",en),Ht({focus:me,patch:kt,handlePatch:ft,openTransformModal:It,refresh:Lr,flush:wr,validate:en})}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -3631,7 +3631,7 @@ button.jse-context-menu-button.svelte-1idfykj svg { flex: 2; }`);var bIe=(e,t)=>t.onClick(),wIe=Pe(`An empty document cannot be opened in table mode. You can go to tree mode instead, or paste a JSON Array using Ctrl+V.`,1),xIe=(e,t,r)=>t.openJSONEditorModal(h(r)),kIe=(e,t,r)=>t.extractPath(h(r)),jIe=Pe(''),_Ie=Pe('
'),SIe=(e,t)=>t.onChangeMode(Jo.tree),CIe=Pe('
');function AIe(e,t){Ut(t,!0);var r=yi(()=>t.json?function(v){var g=arguments.length>1&&arguments[1]!==void 0?arguments[1]:2,y=[];return function b(w,k){Do(w)&&k.length{b(w[x],k.concat(x))}),Ao(w)&&y.push(k)}(v,[]),y}(t.json).slice(0,99).filter(v=>v.length>0):[]),n=yi(()=>!En(h(r))),o=yi(()=>t.json===void 0&&(t.text===""||t.text===void 0)),s=yi(()=>h(n)?"Object with nested arrays":h(o)?"An empty document":Do(t.json)?"An object":Ao(t.json)?"An empty array":"A ".concat(jE(t.json,t.parser))),i=CIe();i.__click=[bIe,t];var a=ke(fe(i),2),l=fe(a),c=fe(l),u=ke(l,2),d=fe(u),p=v=>{ge(v,ds(`An object cannot be opened in table mode. You can open a nested array instead, or open the - document in tree mode.`))},f=(v,g)=>{var y=w=>{ge(w,wIe())},b=w=>{var k=ds();nt(()=>{var x;return Xt(k,"".concat((x=h(s))!==null&&x!==void 0?x:""," cannot be opened in table mode. You can open the document in tree mode instead."))}),ge(w,k)};Le(v,w=>{h(o)&&!t.readOnly?w(y):w(b,!1)},g)};Le(d,v=>{h(n)?v(p):v(f,!1)});var m=ke(u,2);Eo(m,17,()=>h(r),Mo,(v,g)=>{var y=_Ie(),b=yi(()=>function(I){return bt(t.json,I).length}(h(g))),w=fe(y),k=fe(w),x=fe(ke(k)),j=ke(w,2);j.__click=[xIe,t,g];var _=fe(j),C=ke(j,2),A=I=>{var M=jIe();M.__click=[kIe,t,g],ge(I,M)};Le(C,I=>{t.readOnly||I(A)}),nt(I=>{var M,N;Xt(k,'"'.concat(I??"",'" ')),Xt(x,"(".concat((M=h(b))!==null&&M!==void 0?M:""," ").concat((N=h(b)!==1?"items":"item")!==null&&N!==void 0?N:"",")")),Xt(_,t.readOnly?"View":"Edit")},[()=>Ma(h(g))]),ge(v,y)}),ke(m,2).__click=[SIe,t],nt(()=>Xt(c,h(s))),ge(e,i),Ht()}Rv(["click"]);or(`/* over all fonts, sizes, and colors */ + document in tree mode.`))},f=(v,g)=>{var y=w=>{ge(w,wIe())},b=w=>{var k=ds();nt(()=>{var x;return Xt(k,"".concat((x=h(s))!==null&&x!==void 0?x:""," cannot be opened in table mode. You can open the document in tree mode instead."))}),ge(w,k)};Ne(v,w=>{h(o)&&!t.readOnly?w(y):w(b,!1)},g)};Ne(d,v=>{h(n)?v(p):v(f,!1)});var m=ke(u,2);Eo(m,17,()=>h(r),Mo,(v,g)=>{var y=_Ie(),b=yi(()=>function(I){return bt(t.json,I).length}(h(g))),w=fe(y),k=fe(w),x=fe(ke(k)),j=ke(w,2);j.__click=[xIe,t,g];var _=fe(j),C=ke(j,2),A=I=>{var M=jIe();M.__click=[kIe,t,g],ge(I,M)};Ne(C,I=>{t.readOnly||I(A)}),nt(I=>{var M,L;Xt(k,'"'.concat(I??"",'" ')),Xt(x,"(".concat((M=h(b))!==null&&M!==void 0?M:""," ").concat((L=h(b)!==1?"items":"item")!==null&&L!==void 0?L:"",")")),Xt(_,t.readOnly?"View":"Edit")},[()=>Ma(h(g))]),ge(v,y)}),ke(m,2).__click=[SIe,t],nt(()=>Xt(c,h(s))),ge(e,i),Ht()}Rv(["click"]);or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -3807,7 +3807,7 @@ button.jse-context-menu-button.svelte-1idfykj svg { box-sizing: border-box; font-family: var(--jse-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif); font-size: var(--jse-font-size, 16px); -}`);var OIe=Pe('
'),$Ie=Pe(''),TIe=Pe(''),PIe=Pe(' '),IIe=Pe('
'),DIe=Pe('
'),MIe=Pe(''),LIe=Pe(''),NIe=Pe('
',1),RIe=Pe(" ",1),BIe=Pe(' ',1),qIe=Pe('
loading...
'),zIe=Pe('
',1);function FIe(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),o=he(void 0,!0),s=ss("jsoneditor:TableMode"),{openAbsolutePopup:i,closeAbsolutePopup:a}=pd("absolute-popup"),l=SF(),c=ih(),u=ih(),d=typeof window>"u";s("isSSR:",d);var p=T(t,"readOnly",9),f=T(t,"externalContent",9),m=T(t,"externalSelection",9),v=T(t,"history",9),g=T(t,"truncateTextSize",9),y=T(t,"mainMenuBar",9),b=T(t,"escapeControlCharacters",9),w=T(t,"escapeUnicodeCharacters",9),k=T(t,"flattenColumns",9),x=T(t,"parser",9),j=T(t,"parseMemoizeOne",9),_=T(t,"validator",9),C=T(t,"validationParser",9),A=T(t,"indentation",9),I=T(t,"onChange",9),M=T(t,"onChangeMode",9),N=T(t,"onSelect",9),F=T(t,"onUndo",9),z=T(t,"onRedo",9),L=T(t,"onRenderValue",9),X=T(t,"onRenderMenu",9),V=T(t,"onRenderContextMenu",9),J=T(t,"onFocus",9),oe=T(t,"onBlur",9),H=T(t,"onSortModal",9),B=T(t,"onTransformModal",9),se=T(t,"onJSONEditorModal",9),q=he(void 0,!0),O=he(void 0,!0),D=he(void 0,!0),Z=he(void 0,!0),Se=he(void 0,!0);FE({onMount:Is,onDestroy:va,getWindow:()=>qv(h(O)),hasFocus:()=>It&&document.hasFocus()||CE(h(O)),onFocus:()=>{vt=!0,J()&&J()()},onBlur:()=>{vt=!1,oe()&&oe()()}});var ie,re=he(void 0,!0),xe=he(void 0,!0),R=he(void 0,!0),te=he(void 0,!0),ne=he(void 0,!0),Ce=he(!1,!0),me=he(!1,!0);function ae(Y){$(ne,(ie=Y)?pF(h(re),ie.items):void 0)}function kt(Y){return ft.apply(this,arguments)}function ft(){return(ft=pr(function*(Y){$(we,void 0),yield Cr(Y)})).apply(this,arguments)}function Ue(){$(Ce,!1),$(me,!1),Gt()}var gt=he(1e4,!0),Ge=he([],!0),_t=he(void 0,!0),It=!1,vt=!1,sr=he(!1,!0),P=he({},!0),G=he(600,!0),ee=he(0,!0),be=18;function Me(Y){$(we,Y)}function Fe(Y){h(we)&&Y!==void 0&&(oa(Y,Qd(h(we)))&&oa(Y,Pt(h(we)))||(s("clearing selection: path does not exist anymore",h(we)),$(we,void 0)))}var Ze=he(h(re)!==void 0?f2({json:h(re)}):void 0,!0),we=he(Zg(m())?m():void 0,!0),pt=he(void 0,!0),St=he(!1,!0);function rr(Y){if(!p()){s("onSortByHeader",Y);var Ne=Y.sortDirection===Aa.desc?-1:1;Ee($F(h(re),[],Y.path,Ne),(He,Ye)=>({state:Ye,sortedColumn:Y}))}}Is(()=>{h(we)&&Tn(Pt(h(we)))});var Ve=he(void 0,!0);function Ft(Y){if(Y.json!==void 0||Y.text!==void 0){var Ne=h(re)!==void 0&&Y.json!==void 0;v().add({type:"tree",undo:{patch:Ne?[{op:"replace",path:"",value:Y.json}]:void 0,json:Y.json,text:Y.text,documentState:Y.documentState,textIsRepaired:Y.textIsRepaired,selection:yl(Y.selection),sortedColumn:Y.sortedColumn},redo:{patch:Ne?[{op:"replace",path:"",value:h(re)}]:void 0,json:h(re),text:h(xe),documentState:h(Ze),textIsRepaired:h(St),selection:yl(h(we)),sortedColumn:h(pt)}})}}var _r=he([],!0),Bn=Ag(CF);function Nr(Y,Ne,He,Ye){$f(()=>{var tt;try{tt=Bn(Y,Ne,He,Ye)}catch(ht){tt=[{path:[],message:"Failed to validate: "+ht.message,severity:qa.warning}]}Hr(tt,h(_r))||(s("validationErrors changed:",tt),$(_r,tt))},tt=>s("validationErrors updated in ".concat(tt," ms")))}function Sr(){return s("validate"),h(R)?{parseError:h(R),isRepairable:!1}:(Nr(h(re),_(),x(),C()),En(h(_r))?void 0:{validationErrors:h(_r)})}function W(Y,Ne){if(s("patch",Y,Ne),h(re)===void 0)throw new Error("Cannot apply patch: no JSON");var He=h(re),Ye={json:void 0,text:h(xe),documentState:h(Ze),selection:yl(h(we)),sortedColumn:h(pt),textIsRepaired:h(St)},tt=dF(h(re),Y),ht=Yz(h(re),h(Ze),Y),xt=TPe(h(pt),Y,h(Ge)),Bt=typeof Ne=="function"?Ne(ht.json,ht.documentState,h(we)):void 0;return $(re,(Bt==null?void 0:Bt.json)!==void 0?Bt.json:ht.json),$(Ze,(Bt==null?void 0:Bt.state)!==void 0?Bt.state:ht.documentState),$(we,(Bt==null?void 0:Bt.selection)!==void 0?Bt.selection:h(we)),$(pt,(Bt==null?void 0:Bt.sortedColumn)!==void 0?Bt.sortedColumn:xt),$(xe,void 0),$(St,!1),$(te,void 0),$(R,void 0),v().add({type:"tree",undo:rt({patch:tt},Ye),redo:{patch:Y,json:void 0,text:void 0,documentState:h(Ze),selection:yl(h(we)),sortedColumn:h(pt),textIsRepaired:h(St)}}),{json:h(re),previousJson:He,undo:tt,redo:Y}}function Ee(Y,Ne){s("handlePatch",Y,Ne);var He={json:h(re),text:h(xe)},Ye=W(Y,Ne);return wt(He,Ye),Ye}function wt(Y,Ne){if((Y.json!==void 0||(Y==null?void 0:Y.text)!==void 0)&&I()){if(h(xe)!==void 0){var He={text:h(xe),json:void 0};I()(He,Y,{contentErrors:Sr(),patchResult:Ne})}else if(h(re)!==void 0){var Ye={text:void 0,json:h(re)};I()(Ye,Y,{contentErrors:Sr(),patchResult:Ne})}}}function br(Y){s("pasted json as text",Y),$(te,Y)}function wr(Y){var Ne=parseInt(Y[0],10),He=[String(Ne+1),...Y.slice(1)];return oa(h(re),He)?Ur(He):Ur(Y)}function Gt(){s("focus"),h(Z)&&(h(Z).focus(),h(Z).select())}function Pr(Y){$(ee,Y.target.scrollTop)}function Dt(){h(we)||$(we,function(){if(Ao(h(re))&&!En(h(re))&&!En(h(Ge)))return Ur(["0",...h(Ge)[0]])}())}function mr(){if(h(St)&&h(re)!==void 0){var Y={json:h(re),text:h(xe)},Ne={json:h(re),documentState:h(Ze),selection:h(we),sortedColumn:h(pt),text:h(xe),textIsRepaired:h(St)};$(xe,void 0),$(St,!1),Fe(h(re)),Ft(Ne),wt(Y,void 0)}return{json:h(re),text:h(xe)}}function Cr(Y){var{scrollToWhenVisible:Ne=!0}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},He=h(Ce)?Nm:0,Ye=QD(Y,h(Ge),P,be),tt=Ye-h(ee)+He+be,ht=en(Y);if(s("scrollTo",{path:Y,top:Ye,scrollTop:h(ee),elem:ht}),!h(D))return Promise.resolve();var xt=h(D).getBoundingClientRect();if(ht&&!Ne){var Bt=ht.getBoundingClientRect();if(Bt.bottom>xt.top&&Bt.top{l(ht,{container:h(D),offset:Mr,duration:300,callback:()=>{nn(Y),Fr()}})}:Fr=>{l(tt,{container:h(D),offset:Mr,duration:300,callback:()=>{so(),nn(Y),Fr()}})})}function nn(Y){var Ne=en(Y);if(Ne&&h(D)){var He=h(D).getBoundingClientRect(),Ye=Ne.getBoundingClientRect();if(Ye.right>He.right){var tt=Ye.right-He.right;Ri(D,h(D).scrollLeft+=tt)}if(Ye.leftMr){var Fr=tt-Mr;Ri(D,h(D).scrollTop+=Fr)}if(Yeqc(Y.slice(1),ht)),tt=Ye?Y.slice(0,1).concat(Ye):Y;return(Ne=(He=h(D))===null||He===void 0?void 0:He.querySelector('td[data-path="'.concat(c2(tt),'"]')))!==null&&Ne!==void 0?Ne:void 0}function co(Y){var Ne,{anchor:He,left:Ye,top:tt,width:ht,height:xt,offsetTop:Bt,offsetLeft:Mr,showTip:Fr}=Y,Rr=function(Ie){var{json:Ke,documentState:yt,selection:at,readOnly:st,onEditValue:lt,onEditRow:$t,onToggleEnforceString:nr,onCut:Kr,onCopy:Vr,onPaste:Cn,onRemove:tr,onDuplicateRow:po,onInsertBeforeRow:Dn,onInsertAfterRow:Hn,onRemoveRow:dn}=Ie,Tt=Ke!==void 0,Nt=!!at,cn=Ke!==void 0&&at?bt(Ke,Pt(at)):void 0,oo=Tt&&(ro(at)||rs(at)||xn(at)),xo=!st&&Tt&&at!==void 0&&R1(at),wn=xo&&!Po(cn),vn=!st&&oo,$r=at!==void 0&&Cc(Ke,yt,Pt(at));return[{type:"separator"},{type:"row",items:[{type:"column",items:[{type:"label",text:"Table cell:"},{type:"dropdown-button",main:{type:"button",onClick:()=>lt(),icon:Rf,text:"Edit",title:"Edit the value (Double-click on the value)",disabled:!xo},width:"11em",items:[{type:"button",icon:Rf,text:"Edit",title:"Edit the value (Double-click on the value)",onClick:()=>lt(),disabled:!xo},{type:"button",icon:$r?F6:U6,text:"Enforce string",title:"Enforce keeping the value as string when it contains a numeric value",onClick:()=>nr(),disabled:!wn}]},{type:"dropdown-button",main:{type:"button",onClick:()=>Kr(!0),icon:Nf,text:"Cut",title:"Cut selected contents, formatted with indentation (Ctrl+X)",disabled:!vn},width:"10em",items:[{type:"button",icon:Nf,text:"Cut formatted",title:"Cut selected contents, formatted with indentation (Ctrl+X)",onClick:()=>Kr(!0),disabled:st||!oo},{type:"button",icon:Nf,text:"Cut compacted",title:"Cut selected contents, without indentation (Ctrl+Shift+X)",onClick:()=>Kr(!1),disabled:st||!oo}]},{type:"dropdown-button",main:{type:"button",onClick:()=>Vr(!0),icon:bu,text:"Copy",title:"Copy selected contents, formatted with indentation (Ctrl+C)",disabled:!oo},width:"12em",items:[{type:"button",icon:bu,text:"Copy formatted",title:"Copy selected contents, formatted with indentation (Ctrl+C)",onClick:()=>Vr(!1),disabled:!oo},{type:"button",icon:bu,text:"Copy compacted",title:"Copy selected contents, without indentation (Ctrl+Shift+C)",onClick:()=>Vr(!1),disabled:!oo}]},{type:"button",onClick:()=>Cn(),icon:z6,text:"Paste",title:"Paste clipboard contents (Ctrl+V)",disabled:st||!Nt},{type:"button",onClick:()=>tr(),icon:tS,text:"Remove",title:"Remove selected contents (Delete)",disabled:st||!oo}]},{type:"column",items:[{type:"label",text:"Table row:"},{type:"button",onClick:()=>$t(),icon:Rf,text:"Edit row",title:"Edit the current row",disabled:st||!Nt||!Tt},{type:"button",onClick:()=>po(),icon:G6,text:"Duplicate row",title:"Duplicate the current row (Ctrl+D)",disabled:st||!Nt||!Tt},{type:"button",onClick:()=>Dn(),icon:jf,text:"Insert before",title:"Insert a row before the current row",disabled:st||!Nt||!Tt},{type:"button",onClick:()=>Hn(),icon:jf,text:"Insert after",title:"Insert a row after the current row",disabled:st||!Nt||!Tt},{type:"button",onClick:()=>dn(),icon:tS,text:"Remove row",title:"Remove current row",disabled:st||!Nt||!Tt}]}]}]}({json:h(re),documentState:h(Ze),selection:h(we),readOnly:p(),onEditValue:bo,onEditRow:uo,onToggleEnforceString:yn,onCut:Ot,onCopy:Et,onPaste:Qe,onRemove:Jr,onDuplicateRow:un,onInsertBeforeRow:Yt,onInsertAfterRow:Ar,onRemoveRow:Jt}),vr=(Ne=V()(Rr))!==null&&Ne!==void 0?Ne:Rr;if(vr!==!1){var In={left:Ye,top:tt,offsetTop:Bt,offsetLeft:Mr,width:ht,height:xt,anchor:He,closeOnOuterClick:!0,onClose:()=>{It=!1,Gt()}};It=!0;var Q=i(qF,{tip:Fr?"Tip: you can open this context menu via right-click or with Ctrl+Q":void 0,items:vr,onRequestClose(){a(Q),Gt()}},In)}}function Qn(Y){if(!bi(h(we)))if(Y&&(Y.stopPropagation(),Y.preventDefault()),Y&&Y.type==="contextmenu"&&Y.target!==h(Z))co({left:Y.clientX,top:Y.clientY,width:mc,height:hc,showTip:!1});else{var Ne,He=(Ne=h(D))===null||Ne===void 0?void 0:Ne.querySelector(".jse-table-cell.jse-selected-value");if(He)co({anchor:He,offsetTop:2,width:mc,height:hc,showTip:!1});else{var Ye,tt=(Ye=h(D))===null||Ye===void 0?void 0:Ye.getBoundingClientRect();tt&&co({top:tt.top+2,left:tt.left+2,width:mc,height:hc,showTip:!1})}}}function Zn(Y){co({anchor:Jz(Y.target,"BUTTON"),offsetTop:0,width:mc,height:hc,showTip:!0})}function bo(){if(!p()&&h(we)){var Y=Pt(h(we));Po(bt(h(re),Y))?_e(Y):$(we,Ur(Y))}}function uo(){!p()&&h(we)&&_e(Pt(h(we)).slice(0,1))}function yn(){if(!p()&&xn(h(we))){var Y=h(we).path,Ne=Wt(Y),He=bt(h(re),Y),Ye=!Cc(h(re),h(Ze),Y),tt=Ye?String(He):Fh(String(He),x());s("handleToggleEnforceString",{enforceString:Ye,value:He,updatedValue:tt}),Ee([{op:"replace",path:Ne,value:tt}],(ht,xt)=>({state:Cx(h(re),xt,Y,{type:"value",enforceString:Ye})}))}}function bn(){return Fn.apply(this,arguments)}function Fn(){return(Fn=pr(function*(){if(s("apply pasted json",h(te)),h(te)){var{onPasteAsJson:Y}=h(te);Y(),setTimeout(Gt)}})).apply(this,arguments)}function Qe(){return Ir.apply(this,arguments)}function Ir(){return(Ir=pr(function*(){try{Pn(yield navigator.clipboard.readText())}catch(Y){console.error(Y),$(sr,!0)}})).apply(this,arguments)}function De(){s("clear pasted json"),$(te,void 0),Gt()}function ot(){M()(Jo.text)}function Ot(Y){return ur.apply(this,arguments)}function ur(){return(ur=pr(function*(Y){yield DF({json:h(re),selection:h(we),indentation:Y?A():void 0,readOnly:p(),parser:x(),onPatch:Ee})})).apply(this,arguments)}function Et(){return gr.apply(this,arguments)}function gr(){return gr=pr(function*(){var Y=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];h(re)!==void 0&&(yield MF({json:h(re),selection:h(we),indentation:Y?A():void 0,parser:x()}))}),gr.apply(this,arguments)}function Jr(){NF({json:h(re),text:h(xe),selection:h(we),keepSelection:!0,readOnly:p(),onChange:I(),onPatch:Ee})}function xr(Y){p()||(s("extract",{path:Y}),Ee(lF(h(re),Ur(Y))))}function un(){(function(Y){var{json:Ne,selection:He,columns:Ye,readOnly:tt,onPatch:ht}=Y;if(!tt&&Ne!==void 0&&He&&Ef(He)){var{rowIndex:xt,columnIndex:Bt}=Qi(Pt(He),Ye);qs("duplicate row",{rowIndex:xt});var Mr=[String(xt)];ht(aF(Ne,[Mr]),(Fr,Rr)=>({state:Rr,selection:Ur(jd({rowIndex:xt({state:In,selection:Ur(jd({rowIndex:Mr,columnIndex:Bt},Ye))}))}})({json:h(re),selection:h(we),columns:h(Ge),readOnly:p(),onPatch:Ee})}function Jt(){(function(Y){var{json:Ne,selection:He,columns:Ye,readOnly:tt,onPatch:ht}=Y;if(!tt&&Ne!==void 0&&He&&Ef(He)){var{rowIndex:xt,columnIndex:Bt}=Qi(Pt(He),Ye);qs("remove row",{rowIndex:xt}),ht(q1([[String(xt)]]),(Mr,Fr)=>{var Rr=xt0?xt-1:void 0,vr=Rr!==void 0?Ur(jd({rowIndex:Rr,columnIndex:Bt},Ye)):void 0;return qs("remove row new selection",{rowIndex:xt,newRowIndex:Rr,newSelection:vr}),{state:Fr,selection:vr}})}})({json:h(re),selection:h(we),columns:h(Ge),readOnly:p(),onPatch:Ee})}function ir(){return(ir=pr(function*(Y){yield RF({char:Y,selectInside:!1,json:h(re),selection:h(we),readOnly:p(),parser:x(),onPatch:Ee,onReplaceJson:Dr,onSelect:Me})})).apply(this,arguments)}function _n(Y){var Ne;Y.preventDefault(),Pn((Ne=Y.clipboardData)===null||Ne===void 0?void 0:Ne.getData("text/plain"))}function Pn(Y){Y!==void 0&&LF({clipboardText:Y,json:h(re),selection:h(we),readOnly:p(),parser:x(),onPatch:Ee,onChangeText:Or,openRepairModal:Be})}function Dr(Y,Ne){var He={json:h(re),text:h(xe)},Ye={json:h(re),documentState:h(Ze),selection:h(we),sortedColumn:h(pt),text:h(xe),textIsRepaired:h(St)},tt=Ni(Y,h(Ze)),ht=typeof Ne=="function"?Ne(Y,tt,h(we)):void 0;$(re,(ht==null?void 0:ht.json)!==void 0?ht.json:Y),$(Ze,(ht==null?void 0:ht.state)!==void 0?ht.state:tt),$(we,(ht==null?void 0:ht.selection)!==void 0?ht.selection:h(we)),$(pt,void 0),$(xe,void 0),$(St,!1),$(R,void 0),Fe(h(re)),Ft(Ye),wt(He,void 0)}function Or(Y,Ne){s("handleChangeText");var He={json:h(re),text:h(xe)},Ye={json:h(re),documentState:h(Ze),selection:h(we),sortedColumn:h(pt),text:h(xe),textIsRepaired:h(St)};try{$(re,j()(Y)),$(Ze,Ni(h(re),h(Ze))),$(xe,void 0),$(St,!1),$(R,void 0)}catch(ht){try{$(re,j()(Ol(Y))),$(Ze,Ni(h(re),h(Ze))),$(xe,Y),$(St,!0),$(R,void 0)}catch{$(re,void 0),$(Ze,void 0),$(xe,Y),$(St,!1),$(R,h(xe)!==""?vh(h(xe),ht.message||String(ht)):void 0)}}if(typeof Ne=="function"){var tt=Ne(h(re),h(Ze),h(we));$(re,(tt==null?void 0:tt.json)!==void 0?tt.json:h(re)),$(Ze,(tt==null?void 0:tt.state)!==void 0?tt.state:h(Ze)),$(we,(tt==null?void 0:tt.selection)!==void 0?tt.selection:h(we))}Fe(h(re)),Ft(Ye),wt(He,void 0)}function Tr(Y){s("select validation error",Y),$(we,Ur(Y.path)),Cr(Y.path)}function Xn(Y){if(h(re)!==void 0){var{id:Ne,onTransform:He,onClose:Ye}=Y,tt=Y.rootPath||[];It=!0,B()({id:Ne||u,json:h(re),rootPath:tt||[],onTransform:ht=>{He?He({operations:ht,json:h(re),transformedJson:Na(h(re),ht)}):(s("onTransform",tt,ht),Ee(ht))},onClose:()=>{It=!1,setTimeout(Gt),Ye&&Ye()}})}}function _e(Y){s("openJSONEditorModal",{path:Y}),It=!0,se()({content:{json:bt(h(re),Y)},path:Y,onPatch:Ee,onClose:()=>{It=!1,setTimeout(Gt)}})}function Be(Y,Ne){$(Se,{text:Y,onParse:He=>_x(He,Ye=>Bv(Ye,x())),onRepair:qz,onApply:Ne,onClose:Gt})}function et(){(function(Y){p()||h(re)===void 0||(It=!0,H()({id:c,json:h(re),rootPath:Y,onSort:Ne=>{var{operations:He,itemPath:Ye,direction:tt}=Ne;s("onSort",He,Y,Ye,tt),Ee(He,(ht,xt)=>({state:xt,sortedColumn:{path:Ye,sortDirection:tt===-1?Aa.desc:Aa.asc}}))},onClose:()=>{It=!1,setTimeout(Gt)}}))})([])}function Er(){Xn({rootPath:[]})}function on(Y){s("openFind",{findAndReplace:Y}),$(Ce,!1),$(me,!1),so(),$(Ce,!0),$(me,Y)}function zr(){if(!p()&&v().canUndo){var Y=v().undo();if(N1(Y)){var Ne={json:h(re),text:h(xe)};$(re,Y.undo.patch?Na(h(re),Y.undo.patch):Y.undo.json),$(Ze,Y.undo.documentState),$(we,Y.undo.selection),$(pt,Y.undo.sortedColumn),$(xe,Y.undo.text),$(St,Y.undo.textIsRepaired),$(R,void 0),s("undo",{item:Y,json:h(re)}),wt(Ne,Y.undo.patch&&Y.redo.patch?{json:h(re),previousJson:Ne.json,redo:Y.undo.patch,undo:Y.redo.patch}:void 0),Gt(),h(we)&&Cr(Pt(h(we)),{scrollToWhenVisible:!1})}else F()(Y)}}function gn(){if(!p()&&v().canRedo){var Y=v().redo();if(N1(Y)){var Ne={json:h(re),text:h(xe)};$(re,Y.redo.patch?Na(h(re),Y.redo.patch):Y.redo.json),$(Ze,Y.redo.documentState),$(we,Y.redo.selection),$(pt,Y.redo.sortedColumn),$(xe,Y.redo.text),$(St,Y.redo.textIsRepaired),$(R,void 0),s("redo",{item:Y,json:h(re)}),wt(Ne,Y.undo.patch&&Y.redo.patch?{json:h(re),previousJson:Ne.json,redo:Y.redo.patch,undo:Y.undo.patch}:void 0),Gt(),h(we)&&Cr(Pt(h(we)),{scrollToWhenVisible:!1})}else z()(Y)}}function Vn(Y){$(G,Y.getBoundingClientRect().height)}$e(()=>(de(b()),de(w())),()=>{$(q,_E({escapeControlCharacters:b(),escapeUnicodeCharacters:w()}))}),$e(()=>h(Ce),()=>{(function(Y){if(h(D)){var Ne=Y?Nm:-100;h(D).scrollTo({top:Ri(D,h(D).scrollTop+=Ne),left:h(D).scrollLeft})}})(h(Ce))}),$e(()=>de(f()),()=>{(function(Y){var Ne={json:h(re)},He=Hg(Y)?Y.text!==h(xe):!Hr(Ne.json,Y.json);if(s("update external content",{isChanged:He}),He){var Ye={json:h(re),documentState:h(Ze),selection:h(we),sortedColumn:h(pt),text:h(xe),textIsRepaired:h(St)};if(Hg(Y))try{$(re,j()(Y.text)),$(Ze,Ni(h(re),h(Ze))),$(xe,Y.text),$(St,!1),$(R,void 0)}catch(tt){try{$(re,j()(Ol(Y.text))),$(Ze,Ni(h(re),h(Ze))),$(xe,Y.text),$(St,!0),$(R,void 0)}catch{$(re,void 0),$(Ze,void 0),$(xe,Y.text),$(St,!1),$(R,h(xe)!==""?vh(h(xe),tt.message||String(tt)):void 0)}}else $(re,Y.json),$(Ze,Ni(h(re),h(Ze))),$(xe,void 0),$(St,!1),$(R,void 0);Fe(h(re)),$(pt,void 0),Ft(Ye)}})(f())}),$e(()=>de(m()),()=>{(function(Y){Hr(h(we),Y)||(s("applyExternalSelection",{selection:h(we),externalSelection:Y}),Zg(Y)&&$(we,Y))})(m())}),$e(()=>(h(Ge),h(re),de(k()),h(gt)),()=>{$(Ge,Ao(h(re))?function(Y,Ne){var He=new Set(Ne.map(Wt)),Ye=new Set(Y.map(Wt));for(var tt of He)Ye.has(tt)||He.delete(tt);for(var ht of Ye)He.has(ht)||He.add(ht);return[...He].map(da)}(APe(h(re),k(),h(gt)),h(Ge)):[])}),$e(()=>(h(re),h(Ge)),()=>{$(_t,!(!h(re)||En(h(Ge))))}),$e(()=>(h(re),h(gt)),()=>{$(r,Array.isArray(h(re))&&h(re).length>h(gt))}),$e(()=>(h(ee),h(G),h(re),h(Ce),Nm),()=>{$(n,EPe(h(ee),h(G),h(re),P,be,h(Ce)?Nm:0))}),$e(()=>h(re),()=>{h(re),h(D)&&h(D).scrollTo({top:h(D).scrollTop,left:h(D).scrollLeft})}),$e(()=>h(we),()=>{var Y;Y=h(we),Hr(Y,m())||(s("onSelect",Y),N()(Y))}),$e(()=>(de(p()),de(g()),de(x()),h(q),h(re),h(Ze),de(L())),()=>{$(Ve,{mode:Jo.table,readOnly:p(),truncateTextSize:g(),parser:x(),normalization:h(q),getJson:()=>h(re),getDocumentState:()=>h(Ze),findElement:en,findNextInside:wr,focus:Gt,onPatch:(Y,Ne)=>Ee(function(He,Ye){return He.flatMap(tt=>{if(uA(tt)){var ht=da(tt.path);if(ht.length>0){for(var xt=[tt],Bt=Xr(ht);Bt.length>0&&!oa(Ye,Bt);)xt.unshift({op:"add",path:Wt(Bt),value:{}}),Bt=Xr(Bt);return xt}}return tt})}(Y,h(re)),Ne),onSelect:Me,onFind:on,onPasteJson:br,onRenderValue:L()})}),$e(()=>(h(re),de(_()),de(x()),de(C())),()=>{Nr(h(re),_(),x(),C())}),$e(()=>(h(_r),h(Ge)),()=>{$(o,OPe(h(_r),h(Ge)))}),mn(),fr(!0);var qn=zIe();Xe("mousedown",_c,function(Y){!Vh(Y.target,Ne=>Ne===h(O))&&bi(h(we))&&(s("click outside the editor, exit edit mode"),$(we,yl(h(we))),vt&&h(Z)&&(h(Z).focus(),h(Z).blur()),s("blur (outside editor)"),h(Z)&&h(Z).blur())});var Yn,dr=Kt(qn),Un=fe(dr),er=Y=>{(function(Ne,He){Ut(He,!1);var Ye=T(He,"containsValidArray",9),tt=T(He,"readOnly",9),ht=T(He,"showSearch",13,!1),xt=T(He,"history",9),Bt=T(He,"onSort",9),Mr=T(He,"onTransform",9),Fr=T(He,"onContextMenu",9),Rr=T(He,"onUndo",9),vr=T(He,"onRedo",9),In=T(He,"onRenderMenu",9);function Q(){ht(!ht())}var Ie=he(void 0,!0),Ke=he(void 0,!0);$e(()=>(de(tt()),de(Bt()),de(Ye()),de(Mr()),de(Fr()),de(Rr()),de(xt()),de(vr())),()=>{$(Ie,tt()?[{type:"space"}]:[{type:"button",icon:Xb,title:"Sort",className:"jse-sort",onClick:Bt(),disabled:tt()||!Ye()},{type:"button",icon:Qb,title:"Transform contents (filter, sort, project)",className:"jse-transform",onClick:Mr(),disabled:tt()||!Ye()},{type:"button",icon:Kw,title:"Search (Ctrl+F)",className:"jse-search",onClick:Q,disabled:!Ye()},{type:"button",icon:H6,title:OE,className:"jse-contextmenu",onClick:Fr()},{type:"separator"},{type:"button",icon:EA,title:"Undo (Ctrl+Z)",className:"jse-undo",onClick:Rr(),disabled:!xt().canUndo},{type:"button",icon:AA,title:"Redo (Ctrl+Shift+Z)",className:"jse-redo",onClick:vr(),disabled:!xt().canRedo},{type:"space"}])}),$e(()=>(de(In()),h(Ie)),()=>{$(Ke,In()(h(Ie))||h(Ie))}),mn(),fr(!0),Tx(Ne,{get items(){return h(Ke)}}),Ht()})(Y,{get containsValidArray(){return h(_t)},get readOnly(){return p()},get history(){return v()},onSort:et,onTransform:Er,onUndo:zr,onRedo:gn,onContextMenu:Zn,get onRenderMenu(){return X()},get showSearch(){return h(Ce)},set showSearch(Ne){$(Ce,Ne)},$$legacy:!0})};Le(Un,Y=>{y()&&Y(er)});var Vo=ke(Un,2),ut=Y=>{var Ne=BIe(),He=Kt(Ne),Ye=fe(He);Ye.readOnly=!0,no(Ye,Bt=>$(Z,Bt),()=>h(Z));var tt=ke(He,2),ht=Bt=>{var Mr=NIe(),Fr=Kt(Mr);TF(fe(Fr),{get json(){return h(re)},get documentState(){return h(Ze)},get parser(){return x()},get showSearch(){return h(Ce)},get showReplace(){return h(me)},get readOnly(){return p()},get columns(){return h(Ge)},onSearch:ae,onFocus:kt,onPatch:Ee,onClose:Ue});var Rr=ke(Fr,2),vr=fe(Rr),In=fe(vr),Q=fe(In),Ie=fe(Q),Ke=fe(Ie),yt=Nt=>{var cn=vo(),oo=We(()=>{var vn;return zj([],(vn=h(o))===null||vn===void 0?void 0:vn.root)}),xo=Kt(cn),wn=vn=>{var $r=OIe();Kf(fe($r),{get validationError(){return h(oo)},onExpand:Zi}),ge(vn,$r)};Le(xo,vn=>{h(oo)&&vn(wn)}),ge(Nt,cn)};Le(Ke,Nt=>{var cn;En((cn=h(o))===null||cn===void 0?void 0:cn.root)||Nt(yt)});var at=ke(Ie);Eo(at,1,()=>h(Ge),Mo,(Nt,cn)=>{var oo=$Ie();(function(xo,wn){Ut(wn,!1);var vn=he(void 0,!0),$r=he(void 0,!0),Bo=he(void 0,!0),_s=T(wn,"path",9),wa=T(wn,"sortedColumn",9),il=T(wn,"readOnly",9),xa=T(wn,"onSort",9);$e(()=>(de(_s()),Ma),()=>{$(vn,En(_s())?"values":Ma(_s()))}),$e(()=>(de(wa()),de(_s())),()=>{var eo;$($r,wa()&&Hr(_s(),(eo=wa())===null||eo===void 0?void 0:eo.path)?wa().sortDirection:void 0)}),$e(()=>(h($r),bD),()=>{$(Bo,h($r)?bD[h($r)]:void 0)}),mn(),fr(!0);var fs,Qs=yIe(),Zl=fe(Qs),zp=fe(Zl),Wi=ke(Zl,2),qo=eo=>{var Qo=vIe(),Xl=fe(Qo),ci=We(()=>h($r)===Aa.asc?Wu:zxe);Wr(Xl,{get data(){return h(ci)}}),nt(()=>fn(Qo,"title","Currently sorted in ".concat(h(Bo)," order"))),ge(eo,Qo)};Le(Wi,eo=>{h($r)!==void 0&&eo(qo)}),nt((eo,Qo)=>{fs=hr(Qs,1,"jse-column-header svelte-2i3vdx",null,fs,eo),fn(Qs,"title",il()?h(vn):h(vn)+" (Click to sort the data by this column)"),Xt(zp,Qo)},[()=>({"jse-readonly":il()}),()=>Gg(h(vn),50)],We),Xe("click",Qs,function(){il()||xa()({path:_s(),sortDirection:h($r)===Aa.asc?Aa.desc:Aa.asc})}),ge(xo,Qs),Ht()})(fe(oo),{get path(){return h(cn)},get sortedColumn(){return h(pt)},get readOnly(){return p()},onSort:rr}),ge(Nt,oo)});var st=ke(at),lt=Nt=>{var cn=TIe(),oo=fe(cn),xo=We(()=>Array.isArray(h(re))?h(re).length:0);(function(wn,vn){Ut(vn,!1);var $r=T(vn,"count",9),Bo=T(vn,"maxSampleCount",9),_s=T(vn,"readOnly",9),wa=T(vn,"onRefresh",9);fr(!0);var il,xa=EIe();Wr(fe(xa),{data:tke}),nt(fs=>{il=hr(xa,1,"jse-column-header svelte-fzj761",null,il,fs),fn(xa,"title","The Columns are created by sampling ".concat(Bo()," items out of ").concat($r(),". ")+"If you're missing a column, click here to sample all of the items instead of a subset. This is slower.")},[()=>({"jse-readonly":_s()})],We),Xe("click",xa,()=>wa()()),ge(wn,xa),Ht()})(oo,{get count(){return h(xo)},get maxSampleCount(){return h(gt)},get readOnly(){return p()},onRefresh:()=>$(gt,1/0)}),ge(Nt,cn)};Le(st,Nt=>{h(r)&&Nt(lt)});var $t,nr,Kr=ke(Q),Vr=fe(Kr),Cn=ke(Kr);Eo(Cn,1,()=>h(n).visibleItems,Mo,(Nt,cn,oo)=>{var xo=LIe(),wn=We(()=>h(n).startIndex+oo),vn=We(()=>h(o).rows[h(wn)]),$r=We(()=>{var fs;return zj([String(h(wn))],(fs=h(vn))===null||fs===void 0?void 0:fs.row)}),Bo=We(()=>Kd(h(re),h(ne),[String(h(wn))])),_s=fe(xo);Ez(_s,()=>h(wn),fs=>{var Qs=PIe(),Zl=fe(Qs),zp=ke(Zl),Wi=qo=>{Kf(qo,{get validationError(){return h($r)},onExpand:Zi})};Le(zp,qo=>{h($r)&&qo(Wi)}),Vs(Qs,(qo,eo)=>of==null?void 0:of(qo,eo),()=>qo=>function(eo,Qo){P[Qo]=eo.getBoundingClientRect().height}(qo,h(wn))),nt(()=>{var qo;return Xt(Zl,"".concat((qo=h(wn))!==null&&qo!==void 0?qo:""," "))}),ge(fs,Qs)});var wa=ke(_s);Eo(wa,1,()=>h(Ge),Mo,(fs,Qs,Zl,zp)=>{var Wi,qo=DIe(),eo=We(()=>[String(h(wn))].concat(h(Qs))),Qo=We(()=>bt(h(cn),h(Qs))),Xl=We(()=>xn(h(we))&&qc(h(we).path,h(eo))),ci=We(()=>{var Wn;return(Wn=h(vn))===null||Wn===void 0?void 0:Wn.columns[Zl]}),Jh=We(()=>zj(h(eo),h(ci))),Kh=fe(qo),Fp=fe(Kh),Hx=Wn=>{var Ds=We(()=>v2(Kd(h(cn),h(Bo),h(Qs)))),Xh=We(()=>!!h(Ds)&&h(Ds).some(hd=>hd.active)),Yh=We(()=>!En(h(Ds)));(function(hd,ui){Ut(ui,!1);var Kx=T(ui,"path",9),Vp=T(ui,"value",9),em=T(ui,"parser",9),UV=T(ui,"isSelected",9),HV=T(ui,"containsSearchResult",9),WV=T(ui,"containsActiveSearchResult",9),GV=T(ui,"onEdit",9);fr(!0);var wO,Jv=gIe(),JV=fe(Jv);nt((tm,KV)=>{wO=hr(Jv,1,"jse-inline-value svelte-h57m0p",null,wO,tm),Xt(JV,KV)},[()=>({"jse-selected":UV(),"jse-highlight":HV(),"jse-active":WV()}),()=>{var tm;return Gg((tm=em().stringify(Vp()))!==null&&tm!==void 0?tm:"",50)}],We),Xe("dblclick",Jv,()=>GV()(Kx())),ge(hd,Jv),Ht()})(Wn,{get path(){return h(eo)},get value(){return h(Qo)},get parser(){return x()},get isSelected(){return h(Xl)},get containsSearchResult(){return h(Yh)},get containsActiveSearchResult(){return h(Xh)},onEdit:_e})},Qh=Wn=>{var Ds=We(()=>{var ui;return(ui=Kd(h(re),h(ne),h(eo)))===null||ui===void 0?void 0:ui.searchResults}),Xh=We(()=>h(Qo)!==void 0?h(Qo):""),Yh=We(()=>Cc(h(re),h(Ze),h(eo))),hd=We(()=>h(Xl)?h(we):void 0);OF(Wn,{get path(){return h(eo)},get value(){return h(Xh)},get enforceString(){return h(Yh)},get selection(){return h(hd)},get searchResultItems(){return h(Ds)},get context(){return h(Ve)}})};Le(Fp,Wn=>{Po(h(Qo))?Wn(Hx):Wn(Qh,!1)});var Zh=ke(Fp),Wx=Wn=>{var Ds=IIe();iu(fe(Ds),{selected:!0,onContextMenu:co}),ge(Wn,Ds)};Le(Zh,Wn=>{p()||!h(Xl)||bi(h(we))||Wn(Wx)});var Gx=ke(Kh,2),Jx=Wn=>{Kf(Wn,{get validationError(){return h(Jh)},onExpand:Zi})};Le(Gx,Wn=>{h(Jh)&&Wn(Jx)}),nt((Wn,Ds)=>{fn(qo,"data-path",Wn),Wi=hr(Kh,1,"jse-value-outer svelte-u14cgx",null,Wi,Ds)},[()=>c2(h(eo)),()=>({"jse-selected-value":h(Xl)})],We),ge(fs,qo)});var il=ke(wa),xa=fs=>{ge(fs,MIe())};Le(il,fs=>{h(r)&&fs(xa)}),ge(Nt,xo)});var tr,po=fe(ke(Cn));no(Rr,Nt=>$(D,Nt),()=>h(D)),Vs(Rr,(Nt,cn)=>of==null?void 0:of(Nt,cn),()=>Vn),ws(()=>Xe("scroll",Rr,Pr));var Dn=ke(Rr,2),Hn=Nt=>{var cn=We(()=>"You pasted a JSON ".concat(Array.isArray(h(te).contents)?"array":"object"," as text"));Ha(Nt,{type:"info",get message(){return h(cn)},actions:[{icon:ah,text:"Paste as JSON instead",title:"Paste the text as JSON instead of a single value",onMouseDown:bn},{text:"Leave as is",title:"Keep the pasted content as a single value",onClick:De}]})};Le(Dn,Nt=>{h(te)&&Nt(Hn)});var dn=ke(Dn,2),Tt=Nt=>{var cn=We(()=>p()?[]:[{icon:OA,text:"Ok",title:"Accept the repaired document",onClick:mr},{icon:Zb,text:"Repair manually instead",title:"Leave the document unchanged and repair it manually instead",onClick:ot}]);Ha(Nt,{type:"success",message:"The loaded JSON document was invalid but is successfully repaired.",get actions(){return h(cn)},onClose:Gt})};Le(dn,Nt=>{h(St)&&Nt(Tt)}),VE(ke(dn,2),{get validationErrors(){return h(_r)},selectError:Tr}),nt(Nt=>{$t=hr(Kr,1,"jse-table-invisible-start-section svelte-u14cgx",null,$t,Nt),fn(Vr,"colspan",h(Ge).length),nr=Ba(Vr,"",nr,{height:h(n).startHeight+"px"}),fn(po,"colspan",h(Ge).length),tr=Ba(po,"",tr,{height:h(n).endHeight+"px"})},[()=>({"jse-search-box-background":h(Ce)})],We),ge(Bt,Mr)},xt=(Bt,Mr)=>{var Fr=vr=>{var In=RIe(),Q=Kt(In),Ie=We(()=>p()?[]:[{icon:Zb,text:"Repair manually",title:'Open the document in "code" mode and repair it manually',onClick:ot}]);Ha(Q,{type:"error",message:"The loaded JSON document is invalid and could not be repaired automatically.",get actions(){return h(Ie)}}),BF(ke(Q,2),{get text(){return h(xe)},get json(){return h(re)},get indentation(){return A()},get parser(){return x()}}),ge(vr,In)},Rr=vr=>{AIe(vr,{get text(){return h(xe)},get json(){return h(re)},get readOnly(){return p()},get parser(){return x()},openJSONEditorModal:_e,extractPath:xr,get onChangeMode(){return M()},onClick:()=>{Gt()}})};Le(Bt,vr=>{h(R)&&h(xe)!==void 0&&h(xe)!==""?vr(Fr):vr(Rr,!1)},Mr)};Le(tt,Bt=>{h(_t)?Bt(ht):Bt(xt,!1)}),Xe("paste",Ye,_n),ge(Y,Ne)},tn=Y=>{ge(Y,qIe())};Le(Vo,Y=>{d?Y(tn,!1):Y(ut)}),no(dr,Y=>$(O,Y),()=>h(O));var Sn=ke(dr,2),sn=Y=>{AF(Y,{onClose:()=>$(sr,!1)})};Le(Sn,Y=>{h(sr)&&Y(sn)});var wo=ke(Sn,2),Ks=Y=>{EF(Y,Iu(()=>h(Se),{onClose:()=>{var Ne;(Ne=h(Se))===null||Ne===void 0||Ne.onClose(),$(Se,void 0)}}))};return Le(wo,Y=>{h(Se)&&Y(Ks)}),nt(Y=>Yn=hr(dr,1,"jse-table-mode svelte-u14cgx",null,Yn,Y),[()=>({"no-main-menu":!y()})],We),Xe("mousedown",dr,function(Y){if(Y.buttons===1||Y.buttons===2){var Ne=Y.target;Ne.isContentEditable||Gt();var He=Kz(Ne);if(He){if(bi(h(we))&&Xg(h(re),h(we),He))return;$(we,Ur(He)),Y.preventDefault()}}}),Xe("keydown",dr,function(Y){var Ne=Bc(Y);if(s("keydown",{combo:Ne,key:Y.key}),Ne==="Ctrl+X"&&(Y.preventDefault(),Ot(!0)),Ne==="Ctrl+Shift+X"&&(Y.preventDefault(),Ot(!1)),Ne==="Ctrl+C"&&(Y.preventDefault(),Et(!0)),Ne==="Ctrl+Shift+C"&&(Y.preventDefault(),Et(!1)),Ne==="Ctrl+D"&&(Y.preventDefault(),un()),Ne!=="Delete"&&Ne!=="Backspace"||(Y.preventDefault(),Jr()),Ne==="Insert"&&Y.preventDefault(),Ne==="Ctrl+A"&&Y.preventDefault(),Ne==="Ctrl+Q"&&Qn(Y),Ne==="ArrowLeft"&&(Y.preventDefault(),Dt(),h(we))){var He=function(Mr,Fr){var{rowIndex:Rr,columnIndex:vr}=Qi(Pt(Fr),Mr);return vr>0?Ur(jd({rowIndex:Rr,columnIndex:vr-1},Mr)):Fr}(h(Ge),h(we));$(we,He),Tn(Pt(He))}if(Ne==="ArrowRight"&&(Y.preventDefault(),Dt(),h(we))){var Ye=function(Mr,Fr){var{rowIndex:Rr,columnIndex:vr}=Qi(Pt(Fr),Mr);return vr0?Ur(jd({rowIndex:Rr-1,columnIndex:vr},Mr)):Fr}(h(Ge),h(we));$(we,tt),Tn(Pt(tt))}if(Ne==="ArrowDown"&&(Y.preventDefault(),Dt(),h(we))){var ht=function(Mr,Fr,Rr){var{rowIndex:vr,columnIndex:In}=Qi(Pt(Rr),Fr);return vr$(q,P)}).get()),O=he(l());function D(P){if(jD(P)){$(O,P.undo.mode);var G=h(q).items(),ee=G.findIndex(Me=>Me===P),be=ee!==-1?G[ee-1]:void 0;se("handleUndo",{index:ee,item:P,items:G,prevItem:be}),be&&n(be.redo.selection),_()(h(O))}}function Z(P){if(jD(P)){$(O,P.redo.mode);var G=h(q).items(),ee=G.findIndex(Me=>Me===P),be=ee!==-1?G[ee+1]:void 0;se("handleRedo",{index:ee,item:P,items:G,nextItem:be}),be&&n(be.undo.selection),_()(h(O))}}var Se=he(),ie={type:"separator"},re=he(),xe=he();function R(P){if(h(oe))return h(oe).patch(P);if(h(H))return h(H).patch(P);if(h(B))return h(B).patch(P);throw new Error('Method patch is not available in mode "'.concat(h(O),'"'))}function te(P,G){if(h(oe))return h(oe).expand(P,G);throw new Error('Method expand is not available in mode "'.concat(h(O),'"'))}function ne(P,G){if(h(oe))return h(oe).collapse(P,G);throw new Error('Method collapse is not available in mode "'.concat(h(O),'"'))}function Ce(P){if(h(B))h(B).openTransformModal(P);else if(h(oe))h(oe).openTransformModal(P);else{if(!h(H))throw new Error('Method transform is not available in mode "'.concat(h(O),'"'));h(H).openTransformModal(P)}}function me(){if(h(B))return h(B).validate();if(h(oe))return h(oe).validate();if(h(H))return h(H).validate();throw new Error('Method validate is not available in mode "'.concat(h(O),'"'))}function ae(){return h(oe)?h(oe).acceptAutoRepair():r()}function kt(P){if(h(oe))return h(oe).scrollTo(P);if(h(H))return h(H).scrollTo(P);throw new Error('Method scrollTo is not available in mode "'.concat(h(O),'"'))}function ft(P){if(h(oe))return h(oe).findElement(P);if(h(H))return h(H).findElement(P);throw new Error('Method findElement is not available in mode "'.concat(h(O),'"'))}function Ue(){h(B)?h(B).focus():h(oe)?h(oe).focus():h(H)&&h(H).focus()}function gt(){return Ge.apply(this,arguments)}function Ge(){return(Ge=pr(function*(){h(B)&&(yield h(B).refresh())})).apply(this,arguments)}$e(()=>de(l()),()=>{(function(P){if(P!==h(O)){var G={type:"mode",undo:{mode:h(O),selection:void 0},redo:{mode:P,selection:void 0}};h(O)==="text"&&h(B)&&h(B).flush(),se("add history item",G),h(q).add(G),$(O,P)}})(l())}),$e(()=>(h(O),de(_())),()=>{$(Se,[{type:"button",text:"text",title:"Switch to text mode (current mode: ".concat(h(O),")"),className:"jse-group-button jse-first"+(h(O)===Jo.text?" jse-selected":""),onClick:()=>_()(Jo.text)},{type:"button",text:"tree",title:"Switch to tree mode (current mode: ".concat(h(O),")"),className:"jse-group-button "+(h(O)===Jo.tree?" jse-selected":""),onClick:()=>_()(Jo.tree)},{type:"button",text:"table",title:"Switch to table mode (current mode: ".concat(h(O),")"),className:"jse-group-button jse-last"+(h(O)===Jo.table?" jse-selected":""),onClick:()=>_()(Jo.table)}])}),$e(()=>(h(Se),de(M()),h(O),de(x()),de(o())),()=>{$(re,P=>{var G=Zz(P[0])?h(Se).concat(P):h(Se).concat(ie,P),ee=eS(G);return M()(G,{mode:h(O),modal:x(),readOnly:o()})||ee})}),$e(()=>(de(N()),h(O),de(x()),de(o()),de(n())),()=>{$(xe,P=>{var G,ee=eS(P);return(G=N()(P,{mode:h(O),modal:x(),readOnly:o(),selection:n()}))!==null&&G!==void 0?G:!o()&&ee})}),mn(),fr();var _t=vo(),It=Kt(_t),vt=P=>{no(mIe(P,{get externalContent(){return r()},get externalSelection(){return n()},get history(){return h(q)},get readOnly(){return o()},get indentation(){return s()},get tabSize(){return i()},get mainMenuBar(){return c()},get statusBar(){return d()},get askToFormat(){return p()},get escapeUnicodeCharacters(){return m()},get parser(){return g()},get validator(){return b()},get validationParser(){return w()},get onChange(){return j()},get onChangeMode(){return _()},get onSelect(){return C()},onUndo:D,onRedo:Z,get onError(){return F()},get onFocus(){return z()},get onBlur(){return L()},get onRenderMenu(){return h(re)},get onSortModal(){return X()},get onTransformModal(){return V()},$$legacy:!0}),G=>$(B,G),()=>h(B))},sr=(P,G)=>{var ee=Me=>{no(FIe(Me,{get externalContent(){return r()},get externalSelection(){return n()},get history(){return h(q)},get readOnly(){return o()},get truncateTextSize(){return a()},get mainMenuBar(){return c()},get escapeControlCharacters(){return f()},get escapeUnicodeCharacters(){return m()},get flattenColumns(){return v()},get parser(){return g()},get parseMemoizeOne(){return y()},get validator(){return b()},get validationParser(){return w()},get indentation(){return s()},get onChange(){return j()},get onChangeMode(){return _()},get onSelect(){return C()},onUndo:D,onRedo:Z,get onRenderValue(){return A()},get onFocus(){return z()},get onBlur(){return L()},get onRenderMenu(){return h(re)},get onRenderContextMenu(){return h(xe)},get onSortModal(){return X()},get onTransformModal(){return V()},get onJSONEditorModal(){return J()},$$legacy:!0}),Fe=>$(H,Fe),()=>h(H))},be=Me=>{no(O2(Me,{get externalContent(){return r()},get externalSelection(){return n()},get history(){return h(q)},get readOnly(){return o()},get indentation(){return s()},get truncateTextSize(){return a()},get mainMenuBar(){return c()},get navigationBar(){return u()},get escapeControlCharacters(){return f()},get escapeUnicodeCharacters(){return m()},get parser(){return g()},get parseMemoizeOne(){return y()},get validator(){return b()},get validationParser(){return w()},get pathParser(){return k()},get onError(){return F()},get onChange(){return j()},get onChangeMode(){return _()},get onSelect(){return C()},onUndo:D,onRedo:Z,get onRenderValue(){return A()},get onClassName(){return I()},get onFocus(){return z()},get onBlur(){return L()},get onRenderMenu(){return h(re)},get onRenderContextMenu(){return h(xe)},get onSortModal(){return X()},get onTransformModal(){return V()},get onJSONEditorModal(){return J()},$$legacy:!0}),Fe=>$(oe,Fe),()=>h(oe))};Le(P,Me=>{h(O)===Jo.table?Me(ee):Me(be,!1)},G)};return Le(It,P=>{h(O)===Jo.text||String(h(O))==="code"?P(vt):P(sr,!1)}),ge(e,_t),lr(t,"patch",R),lr(t,"expand",te),lr(t,"collapse",ne),lr(t,"transform",Ce),lr(t,"validate",me),lr(t,"acceptAutoRepair",ae),lr(t,"scrollTo",kt),lr(t,"findElement",ft),lr(t,"focus",Ue),lr(t,"refresh",gt),Ht({patch:R,expand:te,collapse:ne,transform:Ce,validate:me,acceptAutoRepair:ae,scrollTo:kt,findElement:ft,focus:Ue,refresh:gt})}or(`/* over all fonts, sizes, and colors */ +}`);var OIe=Pe('
'),$Ie=Pe(''),TIe=Pe(''),PIe=Pe(' '),IIe=Pe('
'),DIe=Pe('
'),MIe=Pe(''),NIe=Pe(''),LIe=Pe('
',1),RIe=Pe(" ",1),BIe=Pe(' ',1),qIe=Pe('
loading...
'),zIe=Pe('
',1);function FIe(e,t){Ut(t,!1);var r=he(void 0,!0),n=he(void 0,!0),o=he(void 0,!0),s=ss("jsoneditor:TableMode"),{openAbsolutePopup:i,closeAbsolutePopup:a}=pd("absolute-popup"),l=SF(),c=ih(),u=ih(),d=typeof window>"u";s("isSSR:",d);var p=T(t,"readOnly",9),f=T(t,"externalContent",9),m=T(t,"externalSelection",9),v=T(t,"history",9),g=T(t,"truncateTextSize",9),y=T(t,"mainMenuBar",9),b=T(t,"escapeControlCharacters",9),w=T(t,"escapeUnicodeCharacters",9),k=T(t,"flattenColumns",9),x=T(t,"parser",9),j=T(t,"parseMemoizeOne",9),_=T(t,"validator",9),C=T(t,"validationParser",9),A=T(t,"indentation",9),I=T(t,"onChange",9),M=T(t,"onChangeMode",9),L=T(t,"onSelect",9),F=T(t,"onUndo",9),z=T(t,"onRedo",9),N=T(t,"onRenderValue",9),X=T(t,"onRenderMenu",9),V=T(t,"onRenderContextMenu",9),J=T(t,"onFocus",9),oe=T(t,"onBlur",9),H=T(t,"onSortModal",9),B=T(t,"onTransformModal",9),se=T(t,"onJSONEditorModal",9),q=he(void 0,!0),O=he(void 0,!0),D=he(void 0,!0),Z=he(void 0,!0),Se=he(void 0,!0);FE({onMount:Is,onDestroy:va,getWindow:()=>qv(h(O)),hasFocus:()=>It&&document.hasFocus()||CE(h(O)),onFocus:()=>{vt=!0,J()&&J()()},onBlur:()=>{vt=!1,oe()&&oe()()}});var ie,re=he(void 0,!0),xe=he(void 0,!0),R=he(void 0,!0),te=he(void 0,!0),ne=he(void 0,!0),Ce=he(!1,!0),me=he(!1,!0);function ae(Y){$(ne,(ie=Y)?pF(h(re),ie.items):void 0)}function kt(Y){return ft.apply(this,arguments)}function ft(){return(ft=pr(function*(Y){$(we,void 0),yield Cr(Y)})).apply(this,arguments)}function Ue(){$(Ce,!1),$(me,!1),Gt()}var gt=he(1e4,!0),Ge=he([],!0),_t=he(void 0,!0),It=!1,vt=!1,sr=he(!1,!0),P=he({},!0),G=he(600,!0),ee=he(0,!0),be=18;function Me(Y){$(we,Y)}function Fe(Y){h(we)&&Y!==void 0&&(oa(Y,Qd(h(we)))&&oa(Y,Pt(h(we)))||(s("clearing selection: path does not exist anymore",h(we)),$(we,void 0)))}var Ze=he(h(re)!==void 0?f2({json:h(re)}):void 0,!0),we=he(Zg(m())?m():void 0,!0),pt=he(void 0,!0),St=he(!1,!0);function rr(Y){if(!p()){s("onSortByHeader",Y);var Le=Y.sortDirection===Aa.desc?-1:1;Ee($F(h(re),[],Y.path,Le),(He,Ye)=>({state:Ye,sortedColumn:Y}))}}Is(()=>{h(we)&&Tn(Pt(h(we)))});var Ve=he(void 0,!0);function Ft(Y){if(Y.json!==void 0||Y.text!==void 0){var Le=h(re)!==void 0&&Y.json!==void 0;v().add({type:"tree",undo:{patch:Le?[{op:"replace",path:"",value:Y.json}]:void 0,json:Y.json,text:Y.text,documentState:Y.documentState,textIsRepaired:Y.textIsRepaired,selection:yl(Y.selection),sortedColumn:Y.sortedColumn},redo:{patch:Le?[{op:"replace",path:"",value:h(re)}]:void 0,json:h(re),text:h(xe),documentState:h(Ze),textIsRepaired:h(St),selection:yl(h(we)),sortedColumn:h(pt)}})}}var _r=he([],!0),Bn=Ag(CF);function Lr(Y,Le,He,Ye){$f(()=>{var tt;try{tt=Bn(Y,Le,He,Ye)}catch(ht){tt=[{path:[],message:"Failed to validate: "+ht.message,severity:qa.warning}]}Hr(tt,h(_r))||(s("validationErrors changed:",tt),$(_r,tt))},tt=>s("validationErrors updated in ".concat(tt," ms")))}function Sr(){return s("validate"),h(R)?{parseError:h(R),isRepairable:!1}:(Lr(h(re),_(),x(),C()),En(h(_r))?void 0:{validationErrors:h(_r)})}function W(Y,Le){if(s("patch",Y,Le),h(re)===void 0)throw new Error("Cannot apply patch: no JSON");var He=h(re),Ye={json:void 0,text:h(xe),documentState:h(Ze),selection:yl(h(we)),sortedColumn:h(pt),textIsRepaired:h(St)},tt=dF(h(re),Y),ht=Yz(h(re),h(Ze),Y),xt=TPe(h(pt),Y,h(Ge)),Bt=typeof Le=="function"?Le(ht.json,ht.documentState,h(we)):void 0;return $(re,(Bt==null?void 0:Bt.json)!==void 0?Bt.json:ht.json),$(Ze,(Bt==null?void 0:Bt.state)!==void 0?Bt.state:ht.documentState),$(we,(Bt==null?void 0:Bt.selection)!==void 0?Bt.selection:h(we)),$(pt,(Bt==null?void 0:Bt.sortedColumn)!==void 0?Bt.sortedColumn:xt),$(xe,void 0),$(St,!1),$(te,void 0),$(R,void 0),v().add({type:"tree",undo:rt({patch:tt},Ye),redo:{patch:Y,json:void 0,text:void 0,documentState:h(Ze),selection:yl(h(we)),sortedColumn:h(pt),textIsRepaired:h(St)}}),{json:h(re),previousJson:He,undo:tt,redo:Y}}function Ee(Y,Le){s("handlePatch",Y,Le);var He={json:h(re),text:h(xe)},Ye=W(Y,Le);return wt(He,Ye),Ye}function wt(Y,Le){if((Y.json!==void 0||(Y==null?void 0:Y.text)!==void 0)&&I()){if(h(xe)!==void 0){var He={text:h(xe),json:void 0};I()(He,Y,{contentErrors:Sr(),patchResult:Le})}else if(h(re)!==void 0){var Ye={text:void 0,json:h(re)};I()(Ye,Y,{contentErrors:Sr(),patchResult:Le})}}}function br(Y){s("pasted json as text",Y),$(te,Y)}function wr(Y){var Le=parseInt(Y[0],10),He=[String(Le+1),...Y.slice(1)];return oa(h(re),He)?Ur(He):Ur(Y)}function Gt(){s("focus"),h(Z)&&(h(Z).focus(),h(Z).select())}function Pr(Y){$(ee,Y.target.scrollTop)}function Dt(){h(we)||$(we,function(){if(Ao(h(re))&&!En(h(re))&&!En(h(Ge)))return Ur(["0",...h(Ge)[0]])}())}function mr(){if(h(St)&&h(re)!==void 0){var Y={json:h(re),text:h(xe)},Le={json:h(re),documentState:h(Ze),selection:h(we),sortedColumn:h(pt),text:h(xe),textIsRepaired:h(St)};$(xe,void 0),$(St,!1),Fe(h(re)),Ft(Le),wt(Y,void 0)}return{json:h(re),text:h(xe)}}function Cr(Y){var{scrollToWhenVisible:Le=!0}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},He=h(Ce)?Lm:0,Ye=QD(Y,h(Ge),P,be),tt=Ye-h(ee)+He+be,ht=en(Y);if(s("scrollTo",{path:Y,top:Ye,scrollTop:h(ee),elem:ht}),!h(D))return Promise.resolve();var xt=h(D).getBoundingClientRect();if(ht&&!Le){var Bt=ht.getBoundingClientRect();if(Bt.bottom>xt.top&&Bt.top{l(ht,{container:h(D),offset:Mr,duration:300,callback:()=>{nn(Y),Fr()}})}:Fr=>{l(tt,{container:h(D),offset:Mr,duration:300,callback:()=>{so(),nn(Y),Fr()}})})}function nn(Y){var Le=en(Y);if(Le&&h(D)){var He=h(D).getBoundingClientRect(),Ye=Le.getBoundingClientRect();if(Ye.right>He.right){var tt=Ye.right-He.right;Ri(D,h(D).scrollLeft+=tt)}if(Ye.leftMr){var Fr=tt-Mr;Ri(D,h(D).scrollTop+=Fr)}if(Yeqc(Y.slice(1),ht)),tt=Ye?Y.slice(0,1).concat(Ye):Y;return(Le=(He=h(D))===null||He===void 0?void 0:He.querySelector('td[data-path="'.concat(c2(tt),'"]')))!==null&&Le!==void 0?Le:void 0}function co(Y){var Le,{anchor:He,left:Ye,top:tt,width:ht,height:xt,offsetTop:Bt,offsetLeft:Mr,showTip:Fr}=Y,Rr=function(Ie){var{json:Ke,documentState:yt,selection:at,readOnly:st,onEditValue:lt,onEditRow:$t,onToggleEnforceString:nr,onCut:Kr,onCopy:Vr,onPaste:Cn,onRemove:tr,onDuplicateRow:po,onInsertBeforeRow:Dn,onInsertAfterRow:Hn,onRemoveRow:dn}=Ie,Tt=Ke!==void 0,Lt=!!at,cn=Ke!==void 0&&at?bt(Ke,Pt(at)):void 0,oo=Tt&&(ro(at)||rs(at)||xn(at)),xo=!st&&Tt&&at!==void 0&&R1(at),wn=xo&&!Po(cn),vn=!st&&oo,$r=at!==void 0&&Cc(Ke,yt,Pt(at));return[{type:"separator"},{type:"row",items:[{type:"column",items:[{type:"label",text:"Table cell:"},{type:"dropdown-button",main:{type:"button",onClick:()=>lt(),icon:Rf,text:"Edit",title:"Edit the value (Double-click on the value)",disabled:!xo},width:"11em",items:[{type:"button",icon:Rf,text:"Edit",title:"Edit the value (Double-click on the value)",onClick:()=>lt(),disabled:!xo},{type:"button",icon:$r?F6:U6,text:"Enforce string",title:"Enforce keeping the value as string when it contains a numeric value",onClick:()=>nr(),disabled:!wn}]},{type:"dropdown-button",main:{type:"button",onClick:()=>Kr(!0),icon:Lf,text:"Cut",title:"Cut selected contents, formatted with indentation (Ctrl+X)",disabled:!vn},width:"10em",items:[{type:"button",icon:Lf,text:"Cut formatted",title:"Cut selected contents, formatted with indentation (Ctrl+X)",onClick:()=>Kr(!0),disabled:st||!oo},{type:"button",icon:Lf,text:"Cut compacted",title:"Cut selected contents, without indentation (Ctrl+Shift+X)",onClick:()=>Kr(!1),disabled:st||!oo}]},{type:"dropdown-button",main:{type:"button",onClick:()=>Vr(!0),icon:bu,text:"Copy",title:"Copy selected contents, formatted with indentation (Ctrl+C)",disabled:!oo},width:"12em",items:[{type:"button",icon:bu,text:"Copy formatted",title:"Copy selected contents, formatted with indentation (Ctrl+C)",onClick:()=>Vr(!1),disabled:!oo},{type:"button",icon:bu,text:"Copy compacted",title:"Copy selected contents, without indentation (Ctrl+Shift+C)",onClick:()=>Vr(!1),disabled:!oo}]},{type:"button",onClick:()=>Cn(),icon:z6,text:"Paste",title:"Paste clipboard contents (Ctrl+V)",disabled:st||!Lt},{type:"button",onClick:()=>tr(),icon:tS,text:"Remove",title:"Remove selected contents (Delete)",disabled:st||!oo}]},{type:"column",items:[{type:"label",text:"Table row:"},{type:"button",onClick:()=>$t(),icon:Rf,text:"Edit row",title:"Edit the current row",disabled:st||!Lt||!Tt},{type:"button",onClick:()=>po(),icon:G6,text:"Duplicate row",title:"Duplicate the current row (Ctrl+D)",disabled:st||!Lt||!Tt},{type:"button",onClick:()=>Dn(),icon:jf,text:"Insert before",title:"Insert a row before the current row",disabled:st||!Lt||!Tt},{type:"button",onClick:()=>Hn(),icon:jf,text:"Insert after",title:"Insert a row after the current row",disabled:st||!Lt||!Tt},{type:"button",onClick:()=>dn(),icon:tS,text:"Remove row",title:"Remove current row",disabled:st||!Lt||!Tt}]}]}]}({json:h(re),documentState:h(Ze),selection:h(we),readOnly:p(),onEditValue:bo,onEditRow:uo,onToggleEnforceString:yn,onCut:Ot,onCopy:Et,onPaste:Qe,onRemove:Jr,onDuplicateRow:un,onInsertBeforeRow:Yt,onInsertAfterRow:Ar,onRemoveRow:Jt}),vr=(Le=V()(Rr))!==null&&Le!==void 0?Le:Rr;if(vr!==!1){var In={left:Ye,top:tt,offsetTop:Bt,offsetLeft:Mr,width:ht,height:xt,anchor:He,closeOnOuterClick:!0,onClose:()=>{It=!1,Gt()}};It=!0;var Q=i(qF,{tip:Fr?"Tip: you can open this context menu via right-click or with Ctrl+Q":void 0,items:vr,onRequestClose(){a(Q),Gt()}},In)}}function Qn(Y){if(!bi(h(we)))if(Y&&(Y.stopPropagation(),Y.preventDefault()),Y&&Y.type==="contextmenu"&&Y.target!==h(Z))co({left:Y.clientX,top:Y.clientY,width:mc,height:hc,showTip:!1});else{var Le,He=(Le=h(D))===null||Le===void 0?void 0:Le.querySelector(".jse-table-cell.jse-selected-value");if(He)co({anchor:He,offsetTop:2,width:mc,height:hc,showTip:!1});else{var Ye,tt=(Ye=h(D))===null||Ye===void 0?void 0:Ye.getBoundingClientRect();tt&&co({top:tt.top+2,left:tt.left+2,width:mc,height:hc,showTip:!1})}}}function Zn(Y){co({anchor:Jz(Y.target,"BUTTON"),offsetTop:0,width:mc,height:hc,showTip:!0})}function bo(){if(!p()&&h(we)){var Y=Pt(h(we));Po(bt(h(re),Y))?_e(Y):$(we,Ur(Y))}}function uo(){!p()&&h(we)&&_e(Pt(h(we)).slice(0,1))}function yn(){if(!p()&&xn(h(we))){var Y=h(we).path,Le=Wt(Y),He=bt(h(re),Y),Ye=!Cc(h(re),h(Ze),Y),tt=Ye?String(He):Fh(String(He),x());s("handleToggleEnforceString",{enforceString:Ye,value:He,updatedValue:tt}),Ee([{op:"replace",path:Le,value:tt}],(ht,xt)=>({state:Cx(h(re),xt,Y,{type:"value",enforceString:Ye})}))}}function bn(){return Fn.apply(this,arguments)}function Fn(){return(Fn=pr(function*(){if(s("apply pasted json",h(te)),h(te)){var{onPasteAsJson:Y}=h(te);Y(),setTimeout(Gt)}})).apply(this,arguments)}function Qe(){return Ir.apply(this,arguments)}function Ir(){return(Ir=pr(function*(){try{Pn(yield navigator.clipboard.readText())}catch(Y){console.error(Y),$(sr,!0)}})).apply(this,arguments)}function De(){s("clear pasted json"),$(te,void 0),Gt()}function ot(){M()(Jo.text)}function Ot(Y){return ur.apply(this,arguments)}function ur(){return(ur=pr(function*(Y){yield DF({json:h(re),selection:h(we),indentation:Y?A():void 0,readOnly:p(),parser:x(),onPatch:Ee})})).apply(this,arguments)}function Et(){return gr.apply(this,arguments)}function gr(){return gr=pr(function*(){var Y=!(arguments.length>0&&arguments[0]!==void 0)||arguments[0];h(re)!==void 0&&(yield MF({json:h(re),selection:h(we),indentation:Y?A():void 0,parser:x()}))}),gr.apply(this,arguments)}function Jr(){LF({json:h(re),text:h(xe),selection:h(we),keepSelection:!0,readOnly:p(),onChange:I(),onPatch:Ee})}function xr(Y){p()||(s("extract",{path:Y}),Ee(lF(h(re),Ur(Y))))}function un(){(function(Y){var{json:Le,selection:He,columns:Ye,readOnly:tt,onPatch:ht}=Y;if(!tt&&Le!==void 0&&He&&Ef(He)){var{rowIndex:xt,columnIndex:Bt}=Qi(Pt(He),Ye);qs("duplicate row",{rowIndex:xt});var Mr=[String(xt)];ht(aF(Le,[Mr]),(Fr,Rr)=>({state:Rr,selection:Ur(jd({rowIndex:xt({state:In,selection:Ur(jd({rowIndex:Mr,columnIndex:Bt},Ye))}))}})({json:h(re),selection:h(we),columns:h(Ge),readOnly:p(),onPatch:Ee})}function Jt(){(function(Y){var{json:Le,selection:He,columns:Ye,readOnly:tt,onPatch:ht}=Y;if(!tt&&Le!==void 0&&He&&Ef(He)){var{rowIndex:xt,columnIndex:Bt}=Qi(Pt(He),Ye);qs("remove row",{rowIndex:xt}),ht(q1([[String(xt)]]),(Mr,Fr)=>{var Rr=xt0?xt-1:void 0,vr=Rr!==void 0?Ur(jd({rowIndex:Rr,columnIndex:Bt},Ye)):void 0;return qs("remove row new selection",{rowIndex:xt,newRowIndex:Rr,newSelection:vr}),{state:Fr,selection:vr}})}})({json:h(re),selection:h(we),columns:h(Ge),readOnly:p(),onPatch:Ee})}function ir(){return(ir=pr(function*(Y){yield RF({char:Y,selectInside:!1,json:h(re),selection:h(we),readOnly:p(),parser:x(),onPatch:Ee,onReplaceJson:Dr,onSelect:Me})})).apply(this,arguments)}function _n(Y){var Le;Y.preventDefault(),Pn((Le=Y.clipboardData)===null||Le===void 0?void 0:Le.getData("text/plain"))}function Pn(Y){Y!==void 0&&NF({clipboardText:Y,json:h(re),selection:h(we),readOnly:p(),parser:x(),onPatch:Ee,onChangeText:Or,openRepairModal:Be})}function Dr(Y,Le){var He={json:h(re),text:h(xe)},Ye={json:h(re),documentState:h(Ze),selection:h(we),sortedColumn:h(pt),text:h(xe),textIsRepaired:h(St)},tt=Li(Y,h(Ze)),ht=typeof Le=="function"?Le(Y,tt,h(we)):void 0;$(re,(ht==null?void 0:ht.json)!==void 0?ht.json:Y),$(Ze,(ht==null?void 0:ht.state)!==void 0?ht.state:tt),$(we,(ht==null?void 0:ht.selection)!==void 0?ht.selection:h(we)),$(pt,void 0),$(xe,void 0),$(St,!1),$(R,void 0),Fe(h(re)),Ft(Ye),wt(He,void 0)}function Or(Y,Le){s("handleChangeText");var He={json:h(re),text:h(xe)},Ye={json:h(re),documentState:h(Ze),selection:h(we),sortedColumn:h(pt),text:h(xe),textIsRepaired:h(St)};try{$(re,j()(Y)),$(Ze,Li(h(re),h(Ze))),$(xe,void 0),$(St,!1),$(R,void 0)}catch(ht){try{$(re,j()(Ol(Y))),$(Ze,Li(h(re),h(Ze))),$(xe,Y),$(St,!0),$(R,void 0)}catch{$(re,void 0),$(Ze,void 0),$(xe,Y),$(St,!1),$(R,h(xe)!==""?vh(h(xe),ht.message||String(ht)):void 0)}}if(typeof Le=="function"){var tt=Le(h(re),h(Ze),h(we));$(re,(tt==null?void 0:tt.json)!==void 0?tt.json:h(re)),$(Ze,(tt==null?void 0:tt.state)!==void 0?tt.state:h(Ze)),$(we,(tt==null?void 0:tt.selection)!==void 0?tt.selection:h(we))}Fe(h(re)),Ft(Ye),wt(He,void 0)}function Tr(Y){s("select validation error",Y),$(we,Ur(Y.path)),Cr(Y.path)}function Xn(Y){if(h(re)!==void 0){var{id:Le,onTransform:He,onClose:Ye}=Y,tt=Y.rootPath||[];It=!0,B()({id:Le||u,json:h(re),rootPath:tt||[],onTransform:ht=>{He?He({operations:ht,json:h(re),transformedJson:La(h(re),ht)}):(s("onTransform",tt,ht),Ee(ht))},onClose:()=>{It=!1,setTimeout(Gt),Ye&&Ye()}})}}function _e(Y){s("openJSONEditorModal",{path:Y}),It=!0,se()({content:{json:bt(h(re),Y)},path:Y,onPatch:Ee,onClose:()=>{It=!1,setTimeout(Gt)}})}function Be(Y,Le){$(Se,{text:Y,onParse:He=>_x(He,Ye=>Bv(Ye,x())),onRepair:qz,onApply:Le,onClose:Gt})}function et(){(function(Y){p()||h(re)===void 0||(It=!0,H()({id:c,json:h(re),rootPath:Y,onSort:Le=>{var{operations:He,itemPath:Ye,direction:tt}=Le;s("onSort",He,Y,Ye,tt),Ee(He,(ht,xt)=>({state:xt,sortedColumn:{path:Ye,sortDirection:tt===-1?Aa.desc:Aa.asc}}))},onClose:()=>{It=!1,setTimeout(Gt)}}))})([])}function Er(){Xn({rootPath:[]})}function on(Y){s("openFind",{findAndReplace:Y}),$(Ce,!1),$(me,!1),so(),$(Ce,!0),$(me,Y)}function zr(){if(!p()&&v().canUndo){var Y=v().undo();if(L1(Y)){var Le={json:h(re),text:h(xe)};$(re,Y.undo.patch?La(h(re),Y.undo.patch):Y.undo.json),$(Ze,Y.undo.documentState),$(we,Y.undo.selection),$(pt,Y.undo.sortedColumn),$(xe,Y.undo.text),$(St,Y.undo.textIsRepaired),$(R,void 0),s("undo",{item:Y,json:h(re)}),wt(Le,Y.undo.patch&&Y.redo.patch?{json:h(re),previousJson:Le.json,redo:Y.undo.patch,undo:Y.redo.patch}:void 0),Gt(),h(we)&&Cr(Pt(h(we)),{scrollToWhenVisible:!1})}else F()(Y)}}function gn(){if(!p()&&v().canRedo){var Y=v().redo();if(L1(Y)){var Le={json:h(re),text:h(xe)};$(re,Y.redo.patch?La(h(re),Y.redo.patch):Y.redo.json),$(Ze,Y.redo.documentState),$(we,Y.redo.selection),$(pt,Y.redo.sortedColumn),$(xe,Y.redo.text),$(St,Y.redo.textIsRepaired),$(R,void 0),s("redo",{item:Y,json:h(re)}),wt(Le,Y.undo.patch&&Y.redo.patch?{json:h(re),previousJson:Le.json,redo:Y.redo.patch,undo:Y.undo.patch}:void 0),Gt(),h(we)&&Cr(Pt(h(we)),{scrollToWhenVisible:!1})}else z()(Y)}}function Vn(Y){$(G,Y.getBoundingClientRect().height)}$e(()=>(de(b()),de(w())),()=>{$(q,_E({escapeControlCharacters:b(),escapeUnicodeCharacters:w()}))}),$e(()=>h(Ce),()=>{(function(Y){if(h(D)){var Le=Y?Lm:-100;h(D).scrollTo({top:Ri(D,h(D).scrollTop+=Le),left:h(D).scrollLeft})}})(h(Ce))}),$e(()=>de(f()),()=>{(function(Y){var Le={json:h(re)},He=Hg(Y)?Y.text!==h(xe):!Hr(Le.json,Y.json);if(s("update external content",{isChanged:He}),He){var Ye={json:h(re),documentState:h(Ze),selection:h(we),sortedColumn:h(pt),text:h(xe),textIsRepaired:h(St)};if(Hg(Y))try{$(re,j()(Y.text)),$(Ze,Li(h(re),h(Ze))),$(xe,Y.text),$(St,!1),$(R,void 0)}catch(tt){try{$(re,j()(Ol(Y.text))),$(Ze,Li(h(re),h(Ze))),$(xe,Y.text),$(St,!0),$(R,void 0)}catch{$(re,void 0),$(Ze,void 0),$(xe,Y.text),$(St,!1),$(R,h(xe)!==""?vh(h(xe),tt.message||String(tt)):void 0)}}else $(re,Y.json),$(Ze,Li(h(re),h(Ze))),$(xe,void 0),$(St,!1),$(R,void 0);Fe(h(re)),$(pt,void 0),Ft(Ye)}})(f())}),$e(()=>de(m()),()=>{(function(Y){Hr(h(we),Y)||(s("applyExternalSelection",{selection:h(we),externalSelection:Y}),Zg(Y)&&$(we,Y))})(m())}),$e(()=>(h(Ge),h(re),de(k()),h(gt)),()=>{$(Ge,Ao(h(re))?function(Y,Le){var He=new Set(Le.map(Wt)),Ye=new Set(Y.map(Wt));for(var tt of He)Ye.has(tt)||He.delete(tt);for(var ht of Ye)He.has(ht)||He.add(ht);return[...He].map(da)}(APe(h(re),k(),h(gt)),h(Ge)):[])}),$e(()=>(h(re),h(Ge)),()=>{$(_t,!(!h(re)||En(h(Ge))))}),$e(()=>(h(re),h(gt)),()=>{$(r,Array.isArray(h(re))&&h(re).length>h(gt))}),$e(()=>(h(ee),h(G),h(re),h(Ce),Lm),()=>{$(n,EPe(h(ee),h(G),h(re),P,be,h(Ce)?Lm:0))}),$e(()=>h(re),()=>{h(re),h(D)&&h(D).scrollTo({top:h(D).scrollTop,left:h(D).scrollLeft})}),$e(()=>h(we),()=>{var Y;Y=h(we),Hr(Y,m())||(s("onSelect",Y),L()(Y))}),$e(()=>(de(p()),de(g()),de(x()),h(q),h(re),h(Ze),de(N())),()=>{$(Ve,{mode:Jo.table,readOnly:p(),truncateTextSize:g(),parser:x(),normalization:h(q),getJson:()=>h(re),getDocumentState:()=>h(Ze),findElement:en,findNextInside:wr,focus:Gt,onPatch:(Y,Le)=>Ee(function(He,Ye){return He.flatMap(tt=>{if(uA(tt)){var ht=da(tt.path);if(ht.length>0){for(var xt=[tt],Bt=Xr(ht);Bt.length>0&&!oa(Ye,Bt);)xt.unshift({op:"add",path:Wt(Bt),value:{}}),Bt=Xr(Bt);return xt}}return tt})}(Y,h(re)),Le),onSelect:Me,onFind:on,onPasteJson:br,onRenderValue:N()})}),$e(()=>(h(re),de(_()),de(x()),de(C())),()=>{Lr(h(re),_(),x(),C())}),$e(()=>(h(_r),h(Ge)),()=>{$(o,OPe(h(_r),h(Ge)))}),mn(),fr(!0);var qn=zIe();Xe("mousedown",_c,function(Y){!Vh(Y.target,Le=>Le===h(O))&&bi(h(we))&&(s("click outside the editor, exit edit mode"),$(we,yl(h(we))),vt&&h(Z)&&(h(Z).focus(),h(Z).blur()),s("blur (outside editor)"),h(Z)&&h(Z).blur())});var Yn,dr=Kt(qn),Un=fe(dr),er=Y=>{(function(Le,He){Ut(He,!1);var Ye=T(He,"containsValidArray",9),tt=T(He,"readOnly",9),ht=T(He,"showSearch",13,!1),xt=T(He,"history",9),Bt=T(He,"onSort",9),Mr=T(He,"onTransform",9),Fr=T(He,"onContextMenu",9),Rr=T(He,"onUndo",9),vr=T(He,"onRedo",9),In=T(He,"onRenderMenu",9);function Q(){ht(!ht())}var Ie=he(void 0,!0),Ke=he(void 0,!0);$e(()=>(de(tt()),de(Bt()),de(Ye()),de(Mr()),de(Fr()),de(Rr()),de(xt()),de(vr())),()=>{$(Ie,tt()?[{type:"space"}]:[{type:"button",icon:Xb,title:"Sort",className:"jse-sort",onClick:Bt(),disabled:tt()||!Ye()},{type:"button",icon:Qb,title:"Transform contents (filter, sort, project)",className:"jse-transform",onClick:Mr(),disabled:tt()||!Ye()},{type:"button",icon:Kw,title:"Search (Ctrl+F)",className:"jse-search",onClick:Q,disabled:!Ye()},{type:"button",icon:H6,title:OE,className:"jse-contextmenu",onClick:Fr()},{type:"separator"},{type:"button",icon:EA,title:"Undo (Ctrl+Z)",className:"jse-undo",onClick:Rr(),disabled:!xt().canUndo},{type:"button",icon:AA,title:"Redo (Ctrl+Shift+Z)",className:"jse-redo",onClick:vr(),disabled:!xt().canRedo},{type:"space"}])}),$e(()=>(de(In()),h(Ie)),()=>{$(Ke,In()(h(Ie))||h(Ie))}),mn(),fr(!0),Tx(Le,{get items(){return h(Ke)}}),Ht()})(Y,{get containsValidArray(){return h(_t)},get readOnly(){return p()},get history(){return v()},onSort:et,onTransform:Er,onUndo:zr,onRedo:gn,onContextMenu:Zn,get onRenderMenu(){return X()},get showSearch(){return h(Ce)},set showSearch(Le){$(Ce,Le)},$$legacy:!0})};Ne(Un,Y=>{y()&&Y(er)});var Vo=ke(Un,2),ut=Y=>{var Le=BIe(),He=Kt(Le),Ye=fe(He);Ye.readOnly=!0,no(Ye,Bt=>$(Z,Bt),()=>h(Z));var tt=ke(He,2),ht=Bt=>{var Mr=LIe(),Fr=Kt(Mr);TF(fe(Fr),{get json(){return h(re)},get documentState(){return h(Ze)},get parser(){return x()},get showSearch(){return h(Ce)},get showReplace(){return h(me)},get readOnly(){return p()},get columns(){return h(Ge)},onSearch:ae,onFocus:kt,onPatch:Ee,onClose:Ue});var Rr=ke(Fr,2),vr=fe(Rr),In=fe(vr),Q=fe(In),Ie=fe(Q),Ke=fe(Ie),yt=Lt=>{var cn=vo(),oo=We(()=>{var vn;return zj([],(vn=h(o))===null||vn===void 0?void 0:vn.root)}),xo=Kt(cn),wn=vn=>{var $r=OIe();Kf(fe($r),{get validationError(){return h(oo)},onExpand:Zi}),ge(vn,$r)};Ne(xo,vn=>{h(oo)&&vn(wn)}),ge(Lt,cn)};Ne(Ke,Lt=>{var cn;En((cn=h(o))===null||cn===void 0?void 0:cn.root)||Lt(yt)});var at=ke(Ie);Eo(at,1,()=>h(Ge),Mo,(Lt,cn)=>{var oo=$Ie();(function(xo,wn){Ut(wn,!1);var vn=he(void 0,!0),$r=he(void 0,!0),Bo=he(void 0,!0),_s=T(wn,"path",9),wa=T(wn,"sortedColumn",9),il=T(wn,"readOnly",9),xa=T(wn,"onSort",9);$e(()=>(de(_s()),Ma),()=>{$(vn,En(_s())?"values":Ma(_s()))}),$e(()=>(de(wa()),de(_s())),()=>{var eo;$($r,wa()&&Hr(_s(),(eo=wa())===null||eo===void 0?void 0:eo.path)?wa().sortDirection:void 0)}),$e(()=>(h($r),bD),()=>{$(Bo,h($r)?bD[h($r)]:void 0)}),mn(),fr(!0);var fs,Qs=yIe(),Zl=fe(Qs),zp=fe(Zl),Wi=ke(Zl,2),qo=eo=>{var Qo=vIe(),Xl=fe(Qo),ci=We(()=>h($r)===Aa.asc?Wu:zxe);Wr(Xl,{get data(){return h(ci)}}),nt(()=>fn(Qo,"title","Currently sorted in ".concat(h(Bo)," order"))),ge(eo,Qo)};Ne(Wi,eo=>{h($r)!==void 0&&eo(qo)}),nt((eo,Qo)=>{fs=hr(Qs,1,"jse-column-header svelte-2i3vdx",null,fs,eo),fn(Qs,"title",il()?h(vn):h(vn)+" (Click to sort the data by this column)"),Xt(zp,Qo)},[()=>({"jse-readonly":il()}),()=>Gg(h(vn),50)],We),Xe("click",Qs,function(){il()||xa()({path:_s(),sortDirection:h($r)===Aa.asc?Aa.desc:Aa.asc})}),ge(xo,Qs),Ht()})(fe(oo),{get path(){return h(cn)},get sortedColumn(){return h(pt)},get readOnly(){return p()},onSort:rr}),ge(Lt,oo)});var st=ke(at),lt=Lt=>{var cn=TIe(),oo=fe(cn),xo=We(()=>Array.isArray(h(re))?h(re).length:0);(function(wn,vn){Ut(vn,!1);var $r=T(vn,"count",9),Bo=T(vn,"maxSampleCount",9),_s=T(vn,"readOnly",9),wa=T(vn,"onRefresh",9);fr(!0);var il,xa=EIe();Wr(fe(xa),{data:tke}),nt(fs=>{il=hr(xa,1,"jse-column-header svelte-fzj761",null,il,fs),fn(xa,"title","The Columns are created by sampling ".concat(Bo()," items out of ").concat($r(),". ")+"If you're missing a column, click here to sample all of the items instead of a subset. This is slower.")},[()=>({"jse-readonly":_s()})],We),Xe("click",xa,()=>wa()()),ge(wn,xa),Ht()})(oo,{get count(){return h(xo)},get maxSampleCount(){return h(gt)},get readOnly(){return p()},onRefresh:()=>$(gt,1/0)}),ge(Lt,cn)};Ne(st,Lt=>{h(r)&&Lt(lt)});var $t,nr,Kr=ke(Q),Vr=fe(Kr),Cn=ke(Kr);Eo(Cn,1,()=>h(n).visibleItems,Mo,(Lt,cn,oo)=>{var xo=NIe(),wn=We(()=>h(n).startIndex+oo),vn=We(()=>h(o).rows[h(wn)]),$r=We(()=>{var fs;return zj([String(h(wn))],(fs=h(vn))===null||fs===void 0?void 0:fs.row)}),Bo=We(()=>Kd(h(re),h(ne),[String(h(wn))])),_s=fe(xo);Ez(_s,()=>h(wn),fs=>{var Qs=PIe(),Zl=fe(Qs),zp=ke(Zl),Wi=qo=>{Kf(qo,{get validationError(){return h($r)},onExpand:Zi})};Ne(zp,qo=>{h($r)&&qo(Wi)}),Vs(Qs,(qo,eo)=>of==null?void 0:of(qo,eo),()=>qo=>function(eo,Qo){P[Qo]=eo.getBoundingClientRect().height}(qo,h(wn))),nt(()=>{var qo;return Xt(Zl,"".concat((qo=h(wn))!==null&&qo!==void 0?qo:""," "))}),ge(fs,Qs)});var wa=ke(_s);Eo(wa,1,()=>h(Ge),Mo,(fs,Qs,Zl,zp)=>{var Wi,qo=DIe(),eo=We(()=>[String(h(wn))].concat(h(Qs))),Qo=We(()=>bt(h(cn),h(Qs))),Xl=We(()=>xn(h(we))&&qc(h(we).path,h(eo))),ci=We(()=>{var Wn;return(Wn=h(vn))===null||Wn===void 0?void 0:Wn.columns[Zl]}),Jh=We(()=>zj(h(eo),h(ci))),Kh=fe(qo),Fp=fe(Kh),Hx=Wn=>{var Ds=We(()=>v2(Kd(h(cn),h(Bo),h(Qs)))),Xh=We(()=>!!h(Ds)&&h(Ds).some(hd=>hd.active)),Yh=We(()=>!En(h(Ds)));(function(hd,ui){Ut(ui,!1);var Kx=T(ui,"path",9),Vp=T(ui,"value",9),em=T(ui,"parser",9),UV=T(ui,"isSelected",9),HV=T(ui,"containsSearchResult",9),WV=T(ui,"containsActiveSearchResult",9),GV=T(ui,"onEdit",9);fr(!0);var wO,Jv=gIe(),JV=fe(Jv);nt((tm,KV)=>{wO=hr(Jv,1,"jse-inline-value svelte-h57m0p",null,wO,tm),Xt(JV,KV)},[()=>({"jse-selected":UV(),"jse-highlight":HV(),"jse-active":WV()}),()=>{var tm;return Gg((tm=em().stringify(Vp()))!==null&&tm!==void 0?tm:"",50)}],We),Xe("dblclick",Jv,()=>GV()(Kx())),ge(hd,Jv),Ht()})(Wn,{get path(){return h(eo)},get value(){return h(Qo)},get parser(){return x()},get isSelected(){return h(Xl)},get containsSearchResult(){return h(Yh)},get containsActiveSearchResult(){return h(Xh)},onEdit:_e})},Qh=Wn=>{var Ds=We(()=>{var ui;return(ui=Kd(h(re),h(ne),h(eo)))===null||ui===void 0?void 0:ui.searchResults}),Xh=We(()=>h(Qo)!==void 0?h(Qo):""),Yh=We(()=>Cc(h(re),h(Ze),h(eo))),hd=We(()=>h(Xl)?h(we):void 0);OF(Wn,{get path(){return h(eo)},get value(){return h(Xh)},get enforceString(){return h(Yh)},get selection(){return h(hd)},get searchResultItems(){return h(Ds)},get context(){return h(Ve)}})};Ne(Fp,Wn=>{Po(h(Qo))?Wn(Hx):Wn(Qh,!1)});var Zh=ke(Fp),Wx=Wn=>{var Ds=IIe();iu(fe(Ds),{selected:!0,onContextMenu:co}),ge(Wn,Ds)};Ne(Zh,Wn=>{p()||!h(Xl)||bi(h(we))||Wn(Wx)});var Gx=ke(Kh,2),Jx=Wn=>{Kf(Wn,{get validationError(){return h(Jh)},onExpand:Zi})};Ne(Gx,Wn=>{h(Jh)&&Wn(Jx)}),nt((Wn,Ds)=>{fn(qo,"data-path",Wn),Wi=hr(Kh,1,"jse-value-outer svelte-u14cgx",null,Wi,Ds)},[()=>c2(h(eo)),()=>({"jse-selected-value":h(Xl)})],We),ge(fs,qo)});var il=ke(wa),xa=fs=>{ge(fs,MIe())};Ne(il,fs=>{h(r)&&fs(xa)}),ge(Lt,xo)});var tr,po=fe(ke(Cn));no(Rr,Lt=>$(D,Lt),()=>h(D)),Vs(Rr,(Lt,cn)=>of==null?void 0:of(Lt,cn),()=>Vn),ws(()=>Xe("scroll",Rr,Pr));var Dn=ke(Rr,2),Hn=Lt=>{var cn=We(()=>"You pasted a JSON ".concat(Array.isArray(h(te).contents)?"array":"object"," as text"));Ha(Lt,{type:"info",get message(){return h(cn)},actions:[{icon:ah,text:"Paste as JSON instead",title:"Paste the text as JSON instead of a single value",onMouseDown:bn},{text:"Leave as is",title:"Keep the pasted content as a single value",onClick:De}]})};Ne(Dn,Lt=>{h(te)&&Lt(Hn)});var dn=ke(Dn,2),Tt=Lt=>{var cn=We(()=>p()?[]:[{icon:OA,text:"Ok",title:"Accept the repaired document",onClick:mr},{icon:Zb,text:"Repair manually instead",title:"Leave the document unchanged and repair it manually instead",onClick:ot}]);Ha(Lt,{type:"success",message:"The loaded JSON document was invalid but is successfully repaired.",get actions(){return h(cn)},onClose:Gt})};Ne(dn,Lt=>{h(St)&&Lt(Tt)}),VE(ke(dn,2),{get validationErrors(){return h(_r)},selectError:Tr}),nt(Lt=>{$t=hr(Kr,1,"jse-table-invisible-start-section svelte-u14cgx",null,$t,Lt),fn(Vr,"colspan",h(Ge).length),nr=Ba(Vr,"",nr,{height:h(n).startHeight+"px"}),fn(po,"colspan",h(Ge).length),tr=Ba(po,"",tr,{height:h(n).endHeight+"px"})},[()=>({"jse-search-box-background":h(Ce)})],We),ge(Bt,Mr)},xt=(Bt,Mr)=>{var Fr=vr=>{var In=RIe(),Q=Kt(In),Ie=We(()=>p()?[]:[{icon:Zb,text:"Repair manually",title:'Open the document in "code" mode and repair it manually',onClick:ot}]);Ha(Q,{type:"error",message:"The loaded JSON document is invalid and could not be repaired automatically.",get actions(){return h(Ie)}}),BF(ke(Q,2),{get text(){return h(xe)},get json(){return h(re)},get indentation(){return A()},get parser(){return x()}}),ge(vr,In)},Rr=vr=>{AIe(vr,{get text(){return h(xe)},get json(){return h(re)},get readOnly(){return p()},get parser(){return x()},openJSONEditorModal:_e,extractPath:xr,get onChangeMode(){return M()},onClick:()=>{Gt()}})};Ne(Bt,vr=>{h(R)&&h(xe)!==void 0&&h(xe)!==""?vr(Fr):vr(Rr,!1)},Mr)};Ne(tt,Bt=>{h(_t)?Bt(ht):Bt(xt,!1)}),Xe("paste",Ye,_n),ge(Y,Le)},tn=Y=>{ge(Y,qIe())};Ne(Vo,Y=>{d?Y(tn,!1):Y(ut)}),no(dr,Y=>$(O,Y),()=>h(O));var Sn=ke(dr,2),sn=Y=>{AF(Y,{onClose:()=>$(sr,!1)})};Ne(Sn,Y=>{h(sr)&&Y(sn)});var wo=ke(Sn,2),Ks=Y=>{EF(Y,Iu(()=>h(Se),{onClose:()=>{var Le;(Le=h(Se))===null||Le===void 0||Le.onClose(),$(Se,void 0)}}))};return Ne(wo,Y=>{h(Se)&&Y(Ks)}),nt(Y=>Yn=hr(dr,1,"jse-table-mode svelte-u14cgx",null,Yn,Y),[()=>({"no-main-menu":!y()})],We),Xe("mousedown",dr,function(Y){if(Y.buttons===1||Y.buttons===2){var Le=Y.target;Le.isContentEditable||Gt();var He=Kz(Le);if(He){if(bi(h(we))&&Xg(h(re),h(we),He))return;$(we,Ur(He)),Y.preventDefault()}}}),Xe("keydown",dr,function(Y){var Le=Bc(Y);if(s("keydown",{combo:Le,key:Y.key}),Le==="Ctrl+X"&&(Y.preventDefault(),Ot(!0)),Le==="Ctrl+Shift+X"&&(Y.preventDefault(),Ot(!1)),Le==="Ctrl+C"&&(Y.preventDefault(),Et(!0)),Le==="Ctrl+Shift+C"&&(Y.preventDefault(),Et(!1)),Le==="Ctrl+D"&&(Y.preventDefault(),un()),Le!=="Delete"&&Le!=="Backspace"||(Y.preventDefault(),Jr()),Le==="Insert"&&Y.preventDefault(),Le==="Ctrl+A"&&Y.preventDefault(),Le==="Ctrl+Q"&&Qn(Y),Le==="ArrowLeft"&&(Y.preventDefault(),Dt(),h(we))){var He=function(Mr,Fr){var{rowIndex:Rr,columnIndex:vr}=Qi(Pt(Fr),Mr);return vr>0?Ur(jd({rowIndex:Rr,columnIndex:vr-1},Mr)):Fr}(h(Ge),h(we));$(we,He),Tn(Pt(He))}if(Le==="ArrowRight"&&(Y.preventDefault(),Dt(),h(we))){var Ye=function(Mr,Fr){var{rowIndex:Rr,columnIndex:vr}=Qi(Pt(Fr),Mr);return vr0?Ur(jd({rowIndex:Rr-1,columnIndex:vr},Mr)):Fr}(h(Ge),h(we));$(we,tt),Tn(Pt(tt))}if(Le==="ArrowDown"&&(Y.preventDefault(),Dt(),h(we))){var ht=function(Mr,Fr,Rr){var{rowIndex:vr,columnIndex:In}=Qi(Pt(Rr),Fr);return vr$(q,P)}).get()),O=he(l());function D(P){if(jD(P)){$(O,P.undo.mode);var G=h(q).items(),ee=G.findIndex(Me=>Me===P),be=ee!==-1?G[ee-1]:void 0;se("handleUndo",{index:ee,item:P,items:G,prevItem:be}),be&&n(be.redo.selection),_()(h(O))}}function Z(P){if(jD(P)){$(O,P.redo.mode);var G=h(q).items(),ee=G.findIndex(Me=>Me===P),be=ee!==-1?G[ee+1]:void 0;se("handleRedo",{index:ee,item:P,items:G,nextItem:be}),be&&n(be.undo.selection),_()(h(O))}}var Se=he(),ie={type:"separator"},re=he(),xe=he();function R(P){if(h(oe))return h(oe).patch(P);if(h(H))return h(H).patch(P);if(h(B))return h(B).patch(P);throw new Error('Method patch is not available in mode "'.concat(h(O),'"'))}function te(P,G){if(h(oe))return h(oe).expand(P,G);throw new Error('Method expand is not available in mode "'.concat(h(O),'"'))}function ne(P,G){if(h(oe))return h(oe).collapse(P,G);throw new Error('Method collapse is not available in mode "'.concat(h(O),'"'))}function Ce(P){if(h(B))h(B).openTransformModal(P);else if(h(oe))h(oe).openTransformModal(P);else{if(!h(H))throw new Error('Method transform is not available in mode "'.concat(h(O),'"'));h(H).openTransformModal(P)}}function me(){if(h(B))return h(B).validate();if(h(oe))return h(oe).validate();if(h(H))return h(H).validate();throw new Error('Method validate is not available in mode "'.concat(h(O),'"'))}function ae(){return h(oe)?h(oe).acceptAutoRepair():r()}function kt(P){if(h(oe))return h(oe).scrollTo(P);if(h(H))return h(H).scrollTo(P);throw new Error('Method scrollTo is not available in mode "'.concat(h(O),'"'))}function ft(P){if(h(oe))return h(oe).findElement(P);if(h(H))return h(H).findElement(P);throw new Error('Method findElement is not available in mode "'.concat(h(O),'"'))}function Ue(){h(B)?h(B).focus():h(oe)?h(oe).focus():h(H)&&h(H).focus()}function gt(){return Ge.apply(this,arguments)}function Ge(){return(Ge=pr(function*(){h(B)&&(yield h(B).refresh())})).apply(this,arguments)}$e(()=>de(l()),()=>{(function(P){if(P!==h(O)){var G={type:"mode",undo:{mode:h(O),selection:void 0},redo:{mode:P,selection:void 0}};h(O)==="text"&&h(B)&&h(B).flush(),se("add history item",G),h(q).add(G),$(O,P)}})(l())}),$e(()=>(h(O),de(_())),()=>{$(Se,[{type:"button",text:"text",title:"Switch to text mode (current mode: ".concat(h(O),")"),className:"jse-group-button jse-first"+(h(O)===Jo.text?" jse-selected":""),onClick:()=>_()(Jo.text)},{type:"button",text:"tree",title:"Switch to tree mode (current mode: ".concat(h(O),")"),className:"jse-group-button "+(h(O)===Jo.tree?" jse-selected":""),onClick:()=>_()(Jo.tree)},{type:"button",text:"table",title:"Switch to table mode (current mode: ".concat(h(O),")"),className:"jse-group-button jse-last"+(h(O)===Jo.table?" jse-selected":""),onClick:()=>_()(Jo.table)}])}),$e(()=>(h(Se),de(M()),h(O),de(x()),de(o())),()=>{$(re,P=>{var G=Zz(P[0])?h(Se).concat(P):h(Se).concat(ie,P),ee=eS(G);return M()(G,{mode:h(O),modal:x(),readOnly:o()})||ee})}),$e(()=>(de(L()),h(O),de(x()),de(o()),de(n())),()=>{$(xe,P=>{var G,ee=eS(P);return(G=L()(P,{mode:h(O),modal:x(),readOnly:o(),selection:n()}))!==null&&G!==void 0?G:!o()&&ee})}),mn(),fr();var _t=vo(),It=Kt(_t),vt=P=>{no(mIe(P,{get externalContent(){return r()},get externalSelection(){return n()},get history(){return h(q)},get readOnly(){return o()},get indentation(){return s()},get tabSize(){return i()},get mainMenuBar(){return c()},get statusBar(){return d()},get askToFormat(){return p()},get escapeUnicodeCharacters(){return m()},get parser(){return g()},get validator(){return b()},get validationParser(){return w()},get onChange(){return j()},get onChangeMode(){return _()},get onSelect(){return C()},onUndo:D,onRedo:Z,get onError(){return F()},get onFocus(){return z()},get onBlur(){return N()},get onRenderMenu(){return h(re)},get onSortModal(){return X()},get onTransformModal(){return V()},$$legacy:!0}),G=>$(B,G),()=>h(B))},sr=(P,G)=>{var ee=Me=>{no(FIe(Me,{get externalContent(){return r()},get externalSelection(){return n()},get history(){return h(q)},get readOnly(){return o()},get truncateTextSize(){return a()},get mainMenuBar(){return c()},get escapeControlCharacters(){return f()},get escapeUnicodeCharacters(){return m()},get flattenColumns(){return v()},get parser(){return g()},get parseMemoizeOne(){return y()},get validator(){return b()},get validationParser(){return w()},get indentation(){return s()},get onChange(){return j()},get onChangeMode(){return _()},get onSelect(){return C()},onUndo:D,onRedo:Z,get onRenderValue(){return A()},get onFocus(){return z()},get onBlur(){return N()},get onRenderMenu(){return h(re)},get onRenderContextMenu(){return h(xe)},get onSortModal(){return X()},get onTransformModal(){return V()},get onJSONEditorModal(){return J()},$$legacy:!0}),Fe=>$(H,Fe),()=>h(H))},be=Me=>{no(O2(Me,{get externalContent(){return r()},get externalSelection(){return n()},get history(){return h(q)},get readOnly(){return o()},get indentation(){return s()},get truncateTextSize(){return a()},get mainMenuBar(){return c()},get navigationBar(){return u()},get escapeControlCharacters(){return f()},get escapeUnicodeCharacters(){return m()},get parser(){return g()},get parseMemoizeOne(){return y()},get validator(){return b()},get validationParser(){return w()},get pathParser(){return k()},get onError(){return F()},get onChange(){return j()},get onChangeMode(){return _()},get onSelect(){return C()},onUndo:D,onRedo:Z,get onRenderValue(){return A()},get onClassName(){return I()},get onFocus(){return z()},get onBlur(){return N()},get onRenderMenu(){return h(re)},get onRenderContextMenu(){return h(xe)},get onSortModal(){return X()},get onTransformModal(){return V()},get onJSONEditorModal(){return J()},$$legacy:!0}),Fe=>$(oe,Fe),()=>h(oe))};Ne(P,Me=>{h(O)===Jo.table?Me(ee):Me(be,!1)},G)};return Ne(It,P=>{h(O)===Jo.text||String(h(O))==="code"?P(vt):P(sr,!1)}),ge(e,_t),lr(t,"patch",R),lr(t,"expand",te),lr(t,"collapse",ne),lr(t,"transform",Ce),lr(t,"validate",me),lr(t,"acceptAutoRepair",ae),lr(t,"scrollTo",kt),lr(t,"findElement",ft),lr(t,"focus",Ue),lr(t,"refresh",gt),Ht({patch:R,expand:te,collapse:ne,transform:Ce,validate:me,acceptAutoRepair:ae,scrollTo:kt,findElement:ft,focus:Ue,refresh:gt})}or(`/* over all fonts, sizes, and colors */ /* "consolas" for Windows, "menlo" for Mac with fallback to "monaco", 'Ubuntu Mono' for Ubuntu */ /* (at Mac this font looks too large at 14px, but 13px is too small for the font on Windows) */ /* main, menu, modal */ @@ -4051,9 +4051,9 @@ button.jse-context-menu-button.svelte-1idfykj svg { .jse-main.svelte-57bmz4:not(.jse-focus) { --jse-selection-background-color: var(--jse-selection-background-inactive-color, #e8e8e8); --jse-context-menu-pointer-background: var(--jse-context-menu-pointer-hover-background, #b2b2b2); -}`);var YIe=Pe('
',1);function e4e(e,t){Ut(t,!1);var r=he(void 0,!0),n=ss("jsoneditor:JSONEditor"),o={text:""},s=void 0,i=!1,a=Jo.tree,l=!0,c=!0,u=!0,d=!0,p=!1,f=!1,m=!0,v=JSON,g=void 0,y=JSON,b={parse:uTe,stringify:Ma},w=[A$e],k=w[0].id,x=Zi,j=void 0,_=void 0,C=cTe,A=Zi,I=Zi,M=Zi,N=Zi,F=Qe=>{console.error(Qe),alert(Qe.toString())},z=Zi,L=Zi,X=T(t,"content",13,o),V=T(t,"selection",13,s),J=T(t,"readOnly",13,i),oe=T(t,"indentation",13,2),H=T(t,"tabSize",13,4),B=T(t,"truncateTextSize",13,1e3),se=T(t,"mode",13,a),q=T(t,"mainMenuBar",13,l),O=T(t,"navigationBar",13,c),D=T(t,"statusBar",13,u),Z=T(t,"askToFormat",13,d),Se=T(t,"escapeControlCharacters",13,p),ie=T(t,"escapeUnicodeCharacters",13,f),re=T(t,"flattenColumns",13,m),xe=T(t,"parser",13,v),R=T(t,"validator",13,g),te=T(t,"validationParser",13,y),ne=T(t,"pathParser",13,b),Ce=T(t,"queryLanguages",13,w),me=T(t,"queryLanguageId",13,k),ae=T(t,"onChangeQueryLanguage",13,x),kt=T(t,"onChange",13,j),ft=T(t,"onSelect",13,_),Ue=T(t,"onRenderValue",13,C),gt=T(t,"onClassName",13,A),Ge=T(t,"onRenderMenu",13,I),_t=T(t,"onRenderContextMenu",13,M),It=T(t,"onChangeMode",13,N),vt=T(t,"onError",13,F),sr=T(t,"onFocus",13,z),P=T(t,"onBlur",13,L),G=he(Af(),!0),ee=he(!1,!0),be=he(void 0,!0),Me=he(void 0,!0),Fe=he(void 0,!0),Ze=he(void 0,!0),we=he(xe(),!0);function pt(){return X()}function St(Qe){n("set");var Ir=_j(Qe);if(Ir)throw new Error(Ir);$(G,Af()),X(Qe),so()}function rr(Qe){n("update");var Ir=_j(Qe);if(Ir)throw new Error(Ir);X(Qe),so()}function Ve(Qe){var Ir=h(be).patch(Qe);return so(),Ir}function Ft(Qe){V(Qe),so()}function _r(Qe,Ir){h(be).expand(Qe,Ir),so()}function Bn(Qe){var Ir=arguments.length>1&&arguments[1]!==void 0&&arguments[1];h(be).collapse(Qe,Ir),so()}function Nr(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};h(be).transform(Qe),so()}function Sr(){return h(be).validate()}function W(){var Qe=h(be).acceptAutoRepair();return so(),Qe}function Ee(Qe){return wt.apply(this,arguments)}function wt(){return(wt=pr(function*(Qe){yield h(be).scrollTo(Qe)})).apply(this,arguments)}function br(Qe){return h(be).findElement(Qe)}function wr(){h(be).focus(),so()}function Gt(){return Pr.apply(this,arguments)}function Pr(){return(Pr=pr(function*(){yield h(be).refresh()})).apply(this,arguments)}function Dt(Qe){var Ir,De,ot,Ot,ur,Et,gr,Jr,xr,un,Yt,Ar,Jt,ir,_n,Pn,Dr,Or,Tr,Xn,_e,Be,et,Er,on,zr,gn,Vn,qn,Yn,dr,Un=Object.keys(Qe);for(var er of Un)switch(er){case"content":X((Ir=Qe[er])!==null&&Ir!==void 0?Ir:o);break;case"selection":V((De=Qe[er])!==null&&De!==void 0?De:s);break;case"readOnly":J((ot=Qe[er])!==null&&ot!==void 0?ot:i);break;case"indentation":oe((Ot=Qe[er])!==null&&Ot!==void 0?Ot:2);break;case"tabSize":H((ur=Qe[er])!==null&&ur!==void 0?ur:4);break;case"truncateTextSize":B((Et=Qe[er])!==null&&Et!==void 0?Et:1e3);break;case"mode":se((gr=Qe[er])!==null&&gr!==void 0?gr:a);break;case"mainMenuBar":q((Jr=Qe[er])!==null&&Jr!==void 0?Jr:l);break;case"navigationBar":O((xr=Qe[er])!==null&&xr!==void 0?xr:c);break;case"statusBar":D((un=Qe[er])!==null&&un!==void 0?un:u);break;case"askToFormat":Z((Yt=Qe[er])!==null&&Yt!==void 0?Yt:d);break;case"escapeControlCharacters":Se((Ar=Qe[er])!==null&&Ar!==void 0?Ar:p);break;case"escapeUnicodeCharacters":ie((Jt=Qe[er])!==null&&Jt!==void 0?Jt:f);break;case"flattenColumns":re((ir=Qe[er])!==null&&ir!==void 0?ir:m);break;case"parser":xe((_n=Qe[er])!==null&&_n!==void 0?_n:v);break;case"validator":R((Pn=Qe[er])!==null&&Pn!==void 0?Pn:g);break;case"validationParser":te((Dr=Qe[er])!==null&&Dr!==void 0?Dr:y);break;case"pathParser":ne((Or=Qe[er])!==null&&Or!==void 0?Or:b);break;case"queryLanguages":Ce((Tr=Qe[er])!==null&&Tr!==void 0?Tr:w);break;case"queryLanguageId":me((Xn=Qe[er])!==null&&Xn!==void 0?Xn:k);break;case"onChangeQueryLanguage":ae((_e=Qe[er])!==null&&_e!==void 0?_e:x);break;case"onChange":kt((Be=Qe[er])!==null&&Be!==void 0?Be:j);break;case"onRenderValue":Ue((et=Qe[er])!==null&&et!==void 0?et:C);break;case"onClassName":gt((Er=Qe[er])!==null&&Er!==void 0?Er:A);break;case"onRenderMenu":Ge((on=Qe[er])!==null&&on!==void 0?on:I);break;case"onRenderContextMenu":_t((zr=Qe[er])!==null&&zr!==void 0?zr:M);break;case"onChangeMode":It((gn=Qe[er])!==null&&gn!==void 0?gn:N);break;case"onSelect":ft((Vn=Qe[er])!==null&&Vn!==void 0?Vn:_);break;case"onError":vt((qn=Qe[er])!==null&&qn!==void 0?qn:F);break;case"onFocus":sr((Yn=Qe[er])!==null&&Yn!==void 0?Yn:z);break;case"onBlur":P((dr=Qe[er])!==null&&dr!==void 0?dr:L);break;default:Vo(er)}function Vo(ut){n('Unknown property "'.concat(ut,'"'))}Ce().some(ut=>ut.id===me())||me(Ce()[0].id),so()}function mr(){return Cr.apply(this,arguments)}function Cr(){return(Cr=pr(function*(){throw new Error("class method destroy() is deprecated. It is replaced with a method destroy() in the vanilla library.")})).apply(this,arguments)}function nn(Qe,Ir,De){X(Qe),kt()&&kt()(Qe,Ir,De)}function Tn(Qe){V(Qe),ft()&&ft()(eS(Qe))}function en(){$(ee,!0),sr()&&sr()()}function co(){$(ee,!1),P()&&P()()}function Qn(Qe){return Zn.apply(this,arguments)}function Zn(){return(Zn=pr(function*(Qe){se()!==Qe&&(se(Qe),so(),wr(),It()(Qe))})).apply(this,arguments)}function bo(Qe){n("handleChangeQueryLanguage",Qe),me(Qe),ae()(Qe)}function uo(Qe){var{id:Ir,json:De,rootPath:ot,onTransform:Ot,onClose:ur}=Qe;J()||$(Ze,{id:Ir,json:De,rootPath:ot,indentation:oe(),truncateTextSize:B(),escapeControlCharacters:Se(),escapeUnicodeCharacters:ie(),parser:xe(),parseMemoizeOne:h(r),validationParser:te(),pathParser:ne(),queryLanguages:Ce(),queryLanguageId:me(),onChangeQueryLanguage:bo,onRenderValue:Ue(),onRenderMenu:Et=>Ge()(Et,{mode:se(),modal:!0,readOnly:J()}),onRenderContextMenu:Et=>_t()(Et,{mode:se(),modal:!0,readOnly:J(),selection:V()}),onClassName:gt(),onTransform:Ot,onClose:ur})}function yn(Qe){J()||$(Fe,Qe)}function bn(Qe){var{content:Ir,path:De,onPatch:ot,onClose:Ot}=Qe;n("onJSONEditorModal",{content:Ir,path:De}),$(Me,{content:Ir,path:De,onPatch:ot,readOnly:J(),indentation:oe(),tabSize:H(),truncateTextSize:B(),mainMenuBar:q(),navigationBar:O(),statusBar:D(),askToFormat:Z(),escapeControlCharacters:Se(),escapeUnicodeCharacters:ie(),flattenColumns:re(),parser:xe(),validator:void 0,validationParser:te(),pathParser:ne(),onRenderValue:Ue(),onClassName:gt(),onRenderMenu:Ge(),onRenderContextMenu:_t(),onSortModal:yn,onTransformModal:uo,onClose:Ot})}function Fn(Qe){Qe.stopPropagation()}return $e(()=>(de(xe()),h(we),de(X()),Af),()=>{if(!f$e(xe(),h(we))){if(n("parser changed, recreate editor"),Wg(X())){var Qe=h(we).stringify(X().json);X({json:Qe!==void 0?xe().parse(Qe):void 0})}$(we,xe()),$(G,Af())}}),$e(()=>de(X()),()=>{var Qe=_j(X());Qe&&console.error("Error: "+Qe)}),$e(()=>de(V()),()=>{V()===null&&console.warn("selection is invalid: it is null but should be undefined")}),$e(()=>de(xe()),()=>{$(r,Ag(xe().parse))}),$e(()=>de(se()),()=>{n("mode changed to",se())}),mn(),fr(!0),u2(e,{children:(Qe,Ir)=>{var De,ot=YIe(),Ot=Kt(ot);Ez(fe(Ot),()=>h(G),Yt=>{no(ZD(Yt,{get externalMode(){return se()},get content(){return X()},get selection(){return V()},get readOnly(){return J()},get indentation(){return oe()},get tabSize(){return H()},get truncateTextSize(){return B()},get statusBar(){return D()},get askToFormat(){return Z()},get mainMenuBar(){return q()},get navigationBar(){return O()},get escapeControlCharacters(){return Se()},get escapeUnicodeCharacters(){return ie()},get flattenColumns(){return re()},get parser(){return xe()},get parseMemoizeOne(){return h(r)},get validator(){return R()},get validationParser(){return te()},get pathParser(){return ne()},insideModal:!1,get onError(){return vt()},onChange:nn,onChangeMode:Qn,onSelect:Tn,get onRenderValue(){return Ue()},get onClassName(){return gt()},onFocus:en,onBlur:co,get onRenderMenu(){return Ge()},get onRenderContextMenu(){return _t()},onSortModal:yn,onTransformModal:uo,onJSONEditorModal:bn,$$legacy:!0}),Ar=>$(be,Ar),()=>h(be))});var ur=ke(Ot,2),Et=Yt=>{(function(Ar,Jt){var ir,_n;Ut(Jt,!1);var Pn=he(void 0,!0),Dr=he(void 0,!0),Or=he(void 0,!0),Tr=he(void 0,!0),Xn=ss("jsoneditor:SortModal"),_e=T(Jt,"id",9),Be=T(Jt,"json",9),et=T(Jt,"rootPath",9),Er=T(Jt,"onSort",9),on=T(Jt,"onClose",9),zr={value:1,label:"ascending"},gn=[zr,{value:-1,label:"descending"}],Vn="".concat(_e(),":").concat(Wt(et())),qn=he((ir=af()[Vn])===null||ir===void 0?void 0:ir.selectedProperty,!0),Yn=he(((_n=af()[Vn])===null||_n===void 0?void 0:_n.selectedDirection)||zr,!0),dr=he(void 0,!0);function Un(){try{var Vo,ut,tn;$(dr,void 0);var Sn=((Vo=h(qn))===null||Vo===void 0?void 0:Vo.value)||((ut=h(Tr))===null||ut===void 0||(ut=ut[0])===null||ut===void 0?void 0:ut.value)||[],sn=(tn=h(Yn))===null||tn===void 0?void 0:tn.value,wo=$F(Be(),et(),Sn,sn);Er()!==void 0&&et()!==void 0&&Er()({operations:wo,rootPath:et(),itemPath:Sn,direction:sn}),on()()}catch(Ks){$(dr,String(Ks))}}function er(Vo){Vo.focus()}$e(()=>(de(Be()),de(et())),()=>{$(Pn,bt(Be(),et()))}),$e(()=>h(Pn),()=>{$(Dr,Array.isArray(h(Pn)))}),$e(()=>(h(Dr),h(Pn)),()=>{$(Or,h(Dr)?a2(h(Pn)):void 0)}),$e(()=>(h(Or),fu),()=>{$(Tr,h(Or)?h(Or).map(fu):void 0)}),$e(()=>(af(),h(qn),h(Yn)),()=>{af(af()[Vn]={selectedProperty:h(qn),selectedDirection:h(Yn)}),Xn("store state in memory",Vn,af()[Vn])}),mn(),fr(!0),tv(Ar,{get onClose(){return on()},className:"jse-sort-modal",children:(Vo,ut)=>{var tn=XIe(),Sn=Kt(tn),sn=We(()=>h(Dr)?"Sort array items":"Sort object keys");W1(Sn,{get title(){return h(sn)},get onClose(){return on()}});var wo=fe(ke(Sn,2)),Ks=ke(fe(wo)),Y=fe(Ks),Ne=ke(fe(Y)),He=fe(Ne),Ye=ke(Y),tt=vr=>{var In=QIe(),Q=ke(fe(In));Dd(fe(Q),{showChevron:!0,get items(){return h(Tr)},get value(){return h(qn)},set value(Ie){$(qn,Ie)},$$legacy:!0}),ge(vr,In)};Le(Ye,vr=>{var In;h(Dr)&&(h(Tr)&&((In=h(Tr))===null||In===void 0?void 0:In.length)>1||h(qn)===void 0)&&vr(tt)});var ht=ke(Ye),xt=ke(fe(ht));Dd(fe(xt),{showChevron:!0,clearable:!1,items:gn,get value(){return h(Yn)},set value(vr){$(Yn,vr)},$$legacy:!0});var Bt=ke(wo,2),Mr=fe(Bt),Fr=vr=>{var In=ZIe(),Q=fe(In);nt(()=>Xt(Q,h(dr))),ge(vr,In)};Le(Mr,vr=>{h(dr)&&vr(Fr)});var Rr=fe(ke(Bt,2));ws(()=>Xe("click",Rr,Un)),Vs(Rr,vr=>er==null?void 0:er(vr)),nt(vr=>{var In;fp(He,vr),Rr.disabled=!!(h(Dr)&&h(Tr)&&((In=h(Tr))===null||In===void 0?void 0:In.length)>1)&&!h(qn)},[()=>et()&&!En(et())?Ma(et()):"(document root)"],We),ge(Vo,tn)},$$slots:{default:!0}}),Ht()})(Yt,Iu(()=>h(Fe),{onClose:()=>{var Ar;(Ar=h(Fe))===null||Ar===void 0||Ar.onClose(),$(Fe,void 0)}}))};Le(ur,Yt=>{h(Fe)&&Yt(Et)});var gr=ke(ur,2),Jr=Yt=>{rIe(Yt,Iu(()=>h(Ze),{onClose:()=>{var Ar;(Ar=h(Ze))===null||Ar===void 0||Ar.onClose(),$(Ze,void 0)}}))};Le(gr,Yt=>{h(Ze)&&Yt(Jr)});var xr=ke(gr,2),un=Yt=>{(function(Ar,Jt){Ut(Jt,!1);var ir=he(void 0,!0),_n=he(void 0,!0),Pn=he(void 0,!0),Dr=he(void 0,!0),Or=ss("jsoneditor:JSONEditorModal"),Tr=T(Jt,"content",9),Xn=T(Jt,"path",9),_e=T(Jt,"onPatch",9),Be=T(Jt,"readOnly",9),et=T(Jt,"indentation",9),Er=T(Jt,"tabSize",9),on=T(Jt,"truncateTextSize",9),zr=T(Jt,"mainMenuBar",9),gn=T(Jt,"navigationBar",9),Vn=T(Jt,"statusBar",9),qn=T(Jt,"askToFormat",9),Yn=T(Jt,"escapeControlCharacters",9),dr=T(Jt,"escapeUnicodeCharacters",9),Un=T(Jt,"flattenColumns",9),er=T(Jt,"parser",9),Vo=T(Jt,"validator",9),ut=T(Jt,"validationParser",9),tn=T(Jt,"pathParser",9),Sn=T(Jt,"onRenderValue",9),sn=T(Jt,"onClassName",9),wo=T(Jt,"onRenderMenu",9),Ks=T(Jt,"onRenderContextMenu",9),Y=T(Jt,"onSortModal",9),Ne=T(Jt,"onTransformModal",9),He=T(Jt,"onClose",9),Ye=he(void 0,!0),tt=he(void 0,!0),ht={mode:Mr(Tr()),content:Tr(),selection:void 0,relativePath:Xn()},xt=he([ht],!0),Bt=he(void 0,!0);function Mr(lt){return Wg(lt)&&Ao(lt.json)?Jo.table:Jo.tree}function Fr(){var lt,$t=(lt=qr(h(xt)))===null||lt===void 0?void 0:lt.selection;Zg($t)&&h(Ye).scrollTo(Pt($t))}function Rr(){if(Or("handleApply"),!Be())try{$(Bt,void 0);var lt=h(ir).relativePath,$t=h(ir).content,nr=[{op:"replace",path:Wt(lt),value:hD($t,er()).json}];if(h(xt).length>1){var Kr=hD(h(xt)[h(xt).length-2].content,er()).json,Vr={json:Na(Kr,nr)},Cn=rt(rt({},h(xt)[h(xt).length-2]||ht),{},{content:Vr});$(xt,[...h(xt).slice(0,h(xt).length-2),Cn]),so(),Fr()}else _e()(nr),He()()}catch(tr){$(Bt,String(tr))}}function vr(){if(Or("handleClose"),h(tt))$(tt,!1);else if(h(xt).length>1){var lt;$(xt,Xr(h(xt))),so(),(lt=h(Ye))===null||lt===void 0||lt.focus(),Fr(),$(Bt,void 0)}else He()()}function In(lt){Or("handleChange",lt),Ke($t=>rt(rt({},$t),{},{content:lt}))}function Q(lt){Or("handleChangeSelection",lt),Ke($t=>rt(rt({},$t),{},{selection:lt}))}function Ie(lt){Or("handleChangeMode",lt),Ke($t=>rt(rt({},$t),{},{mode:lt}))}function Ke(lt){var $t=lt(qr(h(xt)));$(xt,[...Xr(h(xt)),$t])}function yt(lt){$(Bt,lt.toString()),console.error(lt)}function at(lt){var $t,{content:nr,path:Kr}=lt;Or("handleJSONEditorModal",{content:nr,path:Kr});var Vr={mode:Mr(nr),content:nr,selection:void 0,relativePath:Kr};$(xt,[...h(xt),Vr]),so(),($t=h(Ye))===null||$t===void 0||$t.focus()}function st(lt){lt.focus()}Is(()=>{var lt;(lt=h(Ye))===null||lt===void 0||lt.focus()}),$e(()=>h(xt),()=>{$(ir,qr(h(xt))||ht)}),$e(()=>h(xt),()=>{$(_n,h(xt).flatMap(lt=>lt.relativePath))}),$e(()=>(h(_n),Ma),()=>{$(Pn,En(h(_n))?"(document root)":Ma(h(_n)))}),$e(()=>de(er()),()=>{$(Dr,Ag(er().parse))}),mn(),fr(!0),tv(Ar,{onClose:vr,className:"jse-jsoneditor-modal",get fullscreen(){return h(tt)},children:(lt,$t)=>{var nr=JIe();u2(fe(nr),{children:(Kr,Vr)=>{var Cn=GIe(),tr=Kt(Cn),po=We(()=>h(xt).length>1?" (".concat(h(xt).length,")"):"");W1(tr,{get title(){var $r;return"Edit nested content ".concat(($r=h(po))!==null&&$r!==void 0?$r:"")},fullScreenButton:!0,onClose:vr,get fullscreen(){return h(tt)},set fullscreen($r){$(tt,$r)},$$legacy:!0});var Dn=ke(tr,2),Hn=ke(fe(Dn),2),dn=ke(Hn,4);no(ZD(fe(dn),{get externalMode(){return h(ir).mode},get content(){return h(ir).content},get selection(){return h(ir).selection},get readOnly(){return Be()},get indentation(){return et()},get tabSize(){return Er()},get truncateTextSize(){return on()},get statusBar(){return Vn()},get askToFormat(){return qn()},get mainMenuBar(){return zr()},get navigationBar(){return gn()},get escapeControlCharacters(){return Yn()},get escapeUnicodeCharacters(){return dr()},get flattenColumns(){return Un()},get parser(){return er()},get parseMemoizeOne(){return h(Dr)},get validator(){return Vo()},get validationParser(){return ut()},get pathParser(){return tn()},insideModal:!0,onError:yt,onChange:In,onChangeMode:Ie,onSelect:Q,get onRenderValue(){return Sn()},get onClassName(){return sn()},onFocus:Zi,onBlur:Zi,get onRenderMenu(){return wo()},get onRenderContextMenu(){return Ks()},get onSortModal(){return Y()},get onTransformModal(){return Ne()},onJSONEditorModal:at,$$legacy:!0}),$r=>$(Ye,$r),()=>h(Ye));var Tt=fe(ke(dn,2)),Nt=$r=>{var Bo=VIe(),_s=fe(Bo);nt(()=>Xt(_s,h(Bt))),ge($r,Bo)};Le(Tt,$r=>{h(Bt)&&$r(Nt)});var cn=ke(Tt,2),oo=$r=>{var Bo=UIe();Wr(fe(Bo),{data:Dxe}),Xe("click",Bo,vr),ge($r,Bo)};Le(cn,$r=>{h(xt).length>1&&$r(oo)});var xo=ke(cn,2),wn=$r=>{var Bo=HIe();ws(()=>Xe("click",Bo,Rr)),Vs(Bo,_s=>st==null?void 0:st(_s)),ge($r,Bo)},vn=$r=>{var Bo=WIe();Xe("click",Bo,vr),ge($r,Bo)};Le(xo,$r=>{Be()?$r(vn,!1):$r(wn)}),nt(()=>fp(Hn,h(Pn))),ge(Kr,Cn)},$$slots:{default:!0}}),ge(lt,nr)},$$slots:{default:!0}}),Ht()})(Yt,Iu(()=>h(Me),{onClose:()=>{var Ar;(Ar=h(Me))===null||Ar===void 0||Ar.onClose(),$(Me,void 0)}}))};Le(xr,Yt=>{h(Me)&&Yt(un)}),nt(Yt=>De=hr(Ot,1,"jse-main svelte-57bmz4",null,De,Yt),[()=>({"jse-focus":h(ee)})],We),Xe("keydown",Ot,Fn),ge(Qe,ot)},$$slots:{default:!0}}),lr(t,"get",pt),lr(t,"set",St),lr(t,"update",rr),lr(t,"patch",Ve),lr(t,"select",Ft),lr(t,"expand",_r),lr(t,"collapse",Bn),lr(t,"transform",Nr),lr(t,"validate",Sr),lr(t,"acceptAutoRepair",W),lr(t,"scrollTo",Ee),lr(t,"findElement",br),lr(t,"focus",wr),lr(t,"refresh",Gt),lr(t,"updateProps",Dt),lr(t,"destroy",mr),Ht({get:pt,set:St,update:rr,patch:Ve,select:Ft,expand:_r,collapse:Bn,transform:Nr,validate:Sr,acceptAutoRepair:W,scrollTo:Ee,findElement:br,focus:wr,refresh:Gt,updateProps:Dt,destroy:mr})}function t4e(e){var{target:t,props:r}=e,n=GOe(e4e,{target:t,props:r});return n.destroy=pr(function*(){return function(o,s){var i=s2.get(o);return i?(s2.delete(o),i(s)):Promise.resolve()}(n)}),so(),n}const r4e=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,n4e=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,o4e=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function s4e(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){i4e(e);return}return t}function i4e(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function vb(e,t={}){if(typeof e!="string")return e;const r=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return r.slice(1,-1);if(r.length<=9){const n=r.toLowerCase();if(n==="true")return!0;if(n==="false")return!1;if(n==="undefined")return;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n==="-infinity")return Number.NEGATIVE_INFINITY}if(!o4e.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(r4e.test(e)||n4e.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,s4e)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}function a4e(e,t={}){return vb(e,{...t,strict:!0})}var l4e=typeof global=="object"&&global&&global.Object===Object&&global,c4e=typeof self=="object"&&self&&self.Object===Object&&self,VF=l4e||c4e||Function("return this")(),J1=VF.Symbol,UF=Object.prototype,u4e=UF.hasOwnProperty,d4e=UF.toString,km=J1?J1.toStringTag:void 0;function p4e(e){var t=u4e.call(e,km),r=e[km];try{e[km]=void 0;var n=!0}catch{}var o=d4e.call(e);return n&&(t?e[km]=r:delete e[km]),o}var f4e=Object.prototype,h4e=f4e.toString;function m4e(e){return h4e.call(e)}var g4e="[object Null]",v4e="[object Undefined]",XD=J1?J1.toStringTag:void 0;function y4e(e){return e==null?e===void 0?v4e:g4e:XD&&XD in Object(e)?p4e(e):m4e(e)}function b4e(e){return e!=null&&typeof e=="object"}var w4e="[object Symbol]";function x4e(e){return typeof e=="symbol"||b4e(e)&&y4e(e)==w4e}var k4e=/\s/;function j4e(e){for(var t=e.length;t--&&k4e.test(e.charAt(t)););return t}var _4e=/^\s+/;function S4e(e){return e&&e.slice(0,j4e(e)+1).replace(_4e,"")}function $2(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var YD=NaN,C4e=/^[-+]0x[0-9a-f]+$/i,A4e=/^0b[01]+$/i,E4e=/^0o[0-7]+$/i,O4e=parseInt;function eM(e){if(typeof e=="number")return e;if(x4e(e))return YD;if($2(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=$2(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=S4e(e);var r=A4e.test(e);return r||E4e.test(e)?O4e(e.slice(2),r?2:8):C4e.test(e)?YD:+e}var Uj=function(){return VF.Date.now()},$4e="Expected a function",T4e=Math.max,P4e=Math.min;function I4e(e,t,r){var n,o,s,i,a,l,c=0,u=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError($4e);t=eM(t)||0,$2(r)&&(u=!!r.leading,d="maxWait"in r,s=d?T4e(eM(r.maxWait)||0,t):s,p="trailing"in r?!!r.trailing:p);function f(j){var _=n,C=o;return n=o=void 0,c=j,i=e.apply(C,_),i}function m(j){return c=j,a=setTimeout(y,t),u?f(j):i}function v(j){var _=j-l,C=j-c,A=t-_;return d?P4e(A,s-C):A}function g(j){var _=j-l,C=j-c;return l===void 0||_>=t||_<0||d&&C>=s}function y(){var j=Uj();if(g(j))return b(j);a=setTimeout(y,v(j))}function b(j){return a=void 0,p&&n?f(j):(n=o=void 0,i)}function w(){a!==void 0&&clearTimeout(a),c=0,n=l=o=a=void 0}function k(){return a===void 0?i:b(Uj())}function x(){var j=Uj(),_=g(j);if(n=arguments,o=this,l=j,_){if(a===void 0)return m(l);if(d)return clearTimeout(a),a=setTimeout(y,t),f(l)}return a===void 0&&(a=setTimeout(y,t)),i}return x.cancel=w,x.flush=k,x}var HF=typeof global=="object"&&global&&global.Object===Object&&global,D4e=typeof self=="object"&&self&&self.Object===Object&&self,Kl=HF||D4e||Function("return this")(),zl=Kl.Symbol,WF=Object.prototype,M4e=WF.hasOwnProperty,L4e=WF.toString,jm=zl?zl.toStringTag:void 0;function N4e(e){var t=M4e.call(e,jm),r=e[jm];try{e[jm]=void 0;var n=!0}catch{}var o=L4e.call(e);return n&&(t?e[jm]=r:delete e[jm]),o}var R4e=Object.prototype,B4e=R4e.toString;function q4e(e){return B4e.call(e)}var z4e="[object Null]",F4e="[object Undefined]",tM=zl?zl.toStringTag:void 0;function Np(e){return e==null?e===void 0?F4e:z4e:tM&&tM in Object(e)?N4e(e):q4e(e)}function Fl(e){return e!=null&&typeof e=="object"}var V4e="[object Symbol]";function WE(e){return typeof e=="symbol"||Fl(e)&&Np(e)==V4e}function U4e(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r0){if(++t>=uDe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function hDe(e){return function(){return e}}var K1=function(){try{var e=Bp(Object,"defineProperty");return e({},"",{}),e}catch{}}(),mDe=K1?function(e,t){return K1(e,"toString",{configurable:!0,enumerable:!1,value:hDe(t),writable:!0})}:GE,gDe=fDe(mDe);function vDe(e,t){for(var r=-1,n=e==null?0:e.length;++r-1&&e%1==0&&e-1&&e%1==0&&e<=_De}function Ix(e){return e!=null&&QE(e.length)&&!JE(e)}function SDe(e,t,r){if(!Ql(r))return!1;var n=typeof t;return(n=="number"?Ix(r)&&KE(t,r.length):n=="string"&&t in r)?Uv(r[t],e):!1}function QF(e){return jDe(function(t,r){var n=-1,o=r.length,s=o>1?r[o-1]:void 0,i=o>2?r[2]:void 0;for(s=e.length>3&&typeof s=="function"?(o--,s):void 0,i&&SDe(r[0],r[1],i)&&(s=o<3?void 0:s,o=1),t=Object(t);++n-1}function LMe(e,t){var r=this.__data__,n=Dx(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Qc(e){var t=-1,r=e==null?0:e.length;for(this.clear();++ta))return!1;var c=s.get(e),u=s.get(t);if(c&&u)return c==t&&u==e;var d=-1,p=!0,f=r&MNe?new X1:void 0;for(s.set(e,t),s.set(t,e);++dc===0?s(l):a(l,c)).join("")+o}function IRe(e){return t=>t.toLocaleLowerCase(e)}function DRe(e){return t=>t.toLocaleUpperCase(e)}function MRe(e,t){return(r,n)=>{const o=r[0];return(n>0&&o>="0"&&o<="9"?"_"+o:t(o))+e(r.slice(1))}}function LRe(e,t={}){const r=t.split??(t.separateNumbers?TRe:y7),n=t.prefixCharacters??OM,o=t.suffixCharacters??OM;let s=0,i=e.length;for(;ss;){const a=i-1,l=e.charAt(a);if(!o.includes(l))break;i=a}return[e.slice(0,s),r(e.slice(s,i)),e.slice(i)]}const og=e=>/.+-.+/.test(e)?PRe(e):e,NRe=e=>Object.prototype.toString.call(e).slice(8,-1)==="Object";function RRe(e,t){const r=Object.create(null),n=e.split(",");for(let o=0;o!!r[o]}const BRe=RRe("String,Number,Boolean,Function,Symbol,BigInt");function qRe(e){const t=e==null?void 0:e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function zRe(e,t){let r;const n=qRe(t);if(BRe(n)){const o=typeof e;r=o===n.toLowerCase(),!r&&o==="object"&&(r=e instanceof t)}else n==="Object"?r=Ql(e):n==="Array"?r=Array.isArray(e):n==="null"?r=e===null:r=e instanceof t;return{valid:r,expectedType:n}}function FRe({prop:e,type:t,validator:r}){if(![void 0,null].includes(e)&&t){let n=!1;const o=Array.isArray(t)?t:[t],s=[];for(let i=0;i=0;i--)o.push(e[i]);const s=r||(n?(i,a)=>typeof i=="function"&&typeof a=="function"?n==null?void 0:n(a,i):void 0:void 0);return t==="deep"?SRe(...o,s):gMe(...o,s)}function URe(e,{mergeFunction:t}){return e.reduce(t,()=>{})}function au(e,t={}){const{type:r,default:n,defaultIsDynamic:o=!1,required:s=!1,validator:i,camelizeObjectKeys:a=!1,mergeObjectApplyOnlyToDefault:l=!1,mergeFunctionApplyOnlyToDefault:c=!0}=t;let{mergeObject:u="deep",mergeObjectCustomizer:d,mergeFunction:p=!1}=t;const f=[];let m,v=!1,g=!1;const y=b=>{if(b!==void 0){FRe({type:r,prop:b,validator:i});const w=NRe(b),k=typeof b=="function";return v=w,g=k,w?(b=ENe(b),a?CRe(b,(x,j)=>og(j)):b):b}};for(const b of e)f.push(y(b));if(!o)f.push(y(n));else if(typeof n!="function")throw new TypeError(`Invalid option: options.default should be Function when options.defaultIsDynamic enabled, receiving: ${n}`);v||(u=!1,g||(p=!1));for(let b=0;bog(s)):t;else if(r){o=[];for(const s in t)o.push(og(s))}else o=Object.keys(t);for(const s in e)if(s.startsWith("@")){const i=s.substring(1);if(i.startsWith("vue:"))n.hooks[$M(i.replace("vue:","vnode-"))]=e[s];else{if(i.startsWith("vnode"))throw new Error("@vnode-* hooks are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in Vue 3.4.");n.listeners[$M(i)]=e[s]}}else if(s.startsWith("#")){const i=s.substring(1);i&&(n.slots[i]=e[s])}else{const i=r?og(s):s;o.includes(i)?n.props[i]=e[s]:n.attrs[s]=e[s]}return n}const TM="JsonEditorVue",bb=["mainMenuBar","navigationBar","statusBar","askToFormat","readOnly","escapeControlCharacters","escapeUnicodeCharacters","flattenColumns"],nu={},PM={},wb="modelValue",IM="update:modelValue",DM={[wb]:{},mode:{type:String},debounce:{type:Number},stringified:{type:Boolean,default:void 0},...Object.fromEntries(bb.map(e=>[e,{type:Boolean,default:void 0}]))},WRe=Te({name:TM,install(e,t){const r=HRe(t||{},{props:DM});Object.assign(nu,r.props),Object.assign(PM,r.attrs),e.component(TM,this)},props:DM,emits:{[IM](e){return!0},"update:mode":function(e){return!0}},setup(e,{attrs:t,emit:r,expose:n}){var o;const s=(o=Vc())==null?void 0:o.proxy,i=Oe(),a=Oe(!1),l=Oe();Lo(()=>{var y;l.value=au([e.mode,nu.mode],{type:String}),(y=i.value)==null||y.updateProps({mode:l.value||Jo.tree})});const c=y=>{r("update:mode",y)};nu.mode!==void 0&&e.mode===void 0&&c(nu.mode);const u=le(()=>au([e.debounce,nu.debounce,300],{type:Number})),d=le(()=>au([e.stringified,nu.stringified,!0],{type:Boolean}));let p=vb;const f=y=>{a.value=!0,!d.value&&y.text&&(i.value&&!i.value.validate()&&(y.json=p(y.text)),y.text=void 0),r(IM,y.text===void 0?y.json:y.text)},m=I4e(f,u.value),v=y=>{l.value==="text"?m(y):f(y)},g=(y,b)=>(...w)=>{y(...w),b(...w)};return n==null||n({jsonEditor:i}),nd(()=>{var y;(y=i.value)==null||y.destroy()}),Oo(()=>{const y=au([e[wb],nu[wb]]),b=Object.fromEntries(Array.from(bb,k=>[k,au([e[k],nu[k]])]).filter(([,k])=>k!==void 0)),w=au([b,t,PM],{camelizeObjectKeys:!0,defaultIsDynamic:!0,default:k=>{var x;return p=((x=k.parser)==null?void 0:x.parse)||vb,{onChange:v,onChangeMode:c,mode:l.value,parser:{parse:a4e,stringify:JSON.stringify},...y!==void 0&&{content:{[typeof y=="string"&&l.value==="text"&&d.value?"text":"json"]:y}}}},mergeFunction:g,mergeObject:"shallow",type:Object});i.value=t4e({target:s==null?void 0:s.$refs.jsonEditorRef,props:w}),cr(()=>e[wb],k=>{if(a.value){a.value=!1;return}i.value&&i.value.set([void 0,""].includes(k)?{text:""}:{[typeof k=="string"&&l.value==="text"&&d.value?"text":"json"]:k})},{deep:!0}),cr(()=>Array.from(bb,k=>e[k]),k=>{var x;(x=i.value)==null||x.updateProps(Object.fromEntries(Array.from(k,(j,_)=>[bb[_],j]).filter(([,j])=>j!==void 0)))}),cr(()=>t,k=>{var x,j;const _={};(k.onChange||k["on-change"])&&(_.onChange=v),(k.onChangeMode||k["on-change-mode"])&&(_.onChangeMode=c),p=((x=k.parser)==null?void 0:x.parse)||vb,(j=i.value)==null||j.updateProps(Object.getOwnPropertyNames(_).length>0?au([k,_],{camelizeObjectKeys:!0,mergeFunction:g,mergeObject:"shallow",type:Object}):k)},{deep:!0}),n||(n=k=>{for(const x in k)s[x]=S(k[x])},n({jsonEditor:i}))}),()=>_l("div",{ref:"jsonEditorRef"})}}),b7={__name:"OAJSONEditor",props:{modelValue:{type:Object,required:!0},options:{type:Object,default:()=>({})}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=t,o=le({get:()=>r.modelValue,set:a=>n("update:modelValue",a)}),s=kn(),i=s.isDark;return(a,l)=>(E(),ve(S(WRe),{modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=c=>o.value=c),"main-menu-bar":S(s).getPlaygroundJsonEditorMainMenuBar(),"navigation-bar":S(s).getPlaygroundJsonEditorNavigationBar(),mode:S(s).getPlaygroundJsonEditorMode(),"status-bar":S(s).getPlaygroundJsonEditorStatusBar(),class:Lt(["oa-jse",{"oa-jse-theme-dark":S(i),"oa-jse-theme-light":!S(i)}])},null,8,["modelValue","main-menu-bar","navigation-bar","mode","status-bar","class"]))}},GRe=Te({__name:"Textarea",props:{class:{type:[Boolean,null,String,Object,Array]},defaultValue:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=ca(r,"modelValue",t,{passive:!0,defaultValue:r.defaultValue});return(o,s)=>u_((E(),K("textarea",{"onUpdate:modelValue":s[0]||(s[0]=i=>yc(n)?n.value=i:null),class:Lt(S(Ko)("flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r.class))},null,2)),[[hU,S(n)]])}}),MM=Te({__name:"Checkbox",props:{variant:{},defaultValue:{},modelValue:{},disabled:{type:Boolean},value:{},id:{},trueValue:{},falseValue:{},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=t,o=le(()=>{const{class:i,...a}=r;return a}),s=Gc(o,n);return(i,a)=>(E(),ve(S(Yfe),jr(S(s),{class:S(Ko)(S(JRe)({variant:r.variant}),r.class)}),{default:U(()=>[ye(S(the),{class:"flex h-full w-full items-center justify-center text-current"},{default:U(()=>[pe(i.$slots,"default",{},()=>[ye(S(B5),{class:"h-4 w-4"})])]),_:3})]),_:3},16,["class"]))}}),JRe=Sw("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",{variants:{variant:{default:"data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=unchecked]:bg-white data-[state=unchecked]:border-solid data-[state=unchecked]:dark:bg-gray-600",toggle:"border-solid"}},defaultVariants:{variant:"default"}}),KRe={key:0,class:"relative flex items-center w-full"},QRe=["type"],ZRe=["type"],Y1=Te({inheritAttrs:!1,__name:"Input",props:{defaultValue:{},modelValue:{},class:{type:[Boolean,null,String,Object,Array]},type:{},clearable:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=ca(r,"modelValue",t,{passive:!0,defaultValue:r.defaultValue});function o(){n.value=""}return(s,i)=>e.clearable?(E(),K("div",KRe,[u_(ue("input",jr(s.$attrs,{"onUpdate:modelValue":i[0]||(i[0]=a=>yc(n)?n.value=a:null),type:r.type??"text",class:S(Ko)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 pr-8",r.class)}),null,16,QRe),[[_O,S(n)]]),S(n)!==""&&S(n)!==null&&S(n)!==void 0?(E(),K("button",{key:0,type:"button",class:"absolute right-2 text-muted-foreground hover:text-foreground focus:outline-none",tabindex:"-1",onClick:o},[ye(S(Ome),{class:"h-4 w-4"})])):je("",!0)])):u_((E(),K("input",jr({key:1},s.$attrs,{"onUpdate:modelValue":i[1]||(i[1]=a=>yc(n)?n.value=a:null),type:r.type??"text",class:S(Ko)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r.class)}),null,16,ZRe)),[[_O,S(n)]])}}),iO=Te({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:n,...o}=t;return o});return(n,o)=>(E(),ve(S(nhe),jr(r.value,{class:S(Ko)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",t.class)}),{default:U(()=>[pe(n.$slots,"default")]),_:3},16,["class"]))}}),XRe={key:0,class:"text-sm text-destructive"},YRe={key:3,class:"flex-grow flex items-center gap-1"},R2=Te({__name:"OAPlaygroundParameterInput",props:{parameter:{type:Object,required:!0},modelValue:{type:[String,Number,Boolean,null,Array,Object,File],required:!0},compositeKey:{type:String,required:!0},exampleBehavior:{type:String,default:"value"},xExampleBehavior:{type:String,default:"value"},enabled:{type:Boolean,default:!0},hideLabel:{type:Boolean,default:!1}},emits:["update:modelValue","update:enabled","submit"],setup(e,{emit:t}){const r=e,n=t,{t:o}=Jn(),s=le(()=>zge(r.parameter,r.exampleBehavior,r.xExampleBehavior)),i=le(()=>V_(r.parameter,r.exampleBehavior,r.xExampleBehavior)),a=le(()=>TT(s.value??o("Select"))),l=le(()=>TT(s.value??"")),c=le(()=>typeof r.modelValue=="object"&&r.modelValue!==null?JSON.stringify(r.modelValue):r.modelValue);Oo(()=>{var m;(m=r.parameter.schema)!=null&&m.enum&&n("update:modelValue",i.value??r.parameter.schema.enum[0])});function u(m){r.enabled||n("update:enabled",!0),n("update:modelValue",m)}function d(m){var v;return((v=m.schema)==null?void 0:v.format)==="binary"}function p(m){var v,g;return((v=m.schema)==null?void 0:v.type)==="integer"||((g=m.schema)==null?void 0:g.type)==="number"?"number":d(m)?"file":"text"}function f(m){var g,y;const v=(y=(g=m.target)==null?void 0:g.files)==null?void 0:y[0];u(v??null)}return(m,v)=>{var g,y,b,w,k,x;return E(),K("div",{class:Lt(["grid gap-2",{"grid-cols-2":!e.hideLabel,"grid-cols-1":e.hideLabel,"items-center":((g=e.parameter.schema)==null?void 0:g.type)!=="object","items-start":((y=e.parameter.schema)==null?void 0:y.type)==="object"}])},[e.hideLabel?je("",!0):(E(),K("div",{key:0,class:Lt(["flex items-center gap-2",{"pt-2":((b=e.parameter.schema)==null?void 0:b.type)==="object"}])},[ye(S(MM),{id:`enable-${e.compositeKey}`,name:`enable-${e.compositeKey}`,"model-value":e.enabled,variant:"toggle","onUpdate:modelValue":v[0]||(v[0]=j=>n("update:enabled",j))},null,8,["id","name","model-value"]),e.parameter.name?(E(),ve(S(iO),{key:0,for:e.compositeKey,class:"text-sm font-bold space-x-2"},{default:U(()=>[ue("span",null,ze(e.parameter.name),1),e.parameter.required?(E(),K("span",XRe,"*")):je("",!0)]),_:1},8,["for"])):je("",!0)],2)),ue("div",{class:Lt(["flex items-center flex-grow gap-2",{"opacity-50":!e.enabled}])},[["boolean"].includes((w=e.parameter.schema)==null?void 0:w.type)?(E(),ve(S(MM),{key:0,id:e.compositeKey,name:e.compositeKey,"model-value":String(e.modelValue)===""?"indeterminate":e.modelValue,"onUpdate:modelValue":v[1]||(v[1]=j=>u(j)),onKeydown:v[2]||(v[2]=ep(j=>n("submit"),["enter"]))},null,8,["id","name","model-value"])):(k=e.parameter.schema)!=null&&k.enum?(E(),ve(S(Cp),{key:1,id:e.compositeKey,name:e.compositeKey,"model-value":String(e.modelValue??""),"onUpdate:modelValue":v[3]||(v[3]=j=>u(j))},{default:U(()=>[ye(S(Tp),{"aria-label":a.value},{default:U(()=>[ye(S($h),{placeholder:a.value},null,8,["placeholder"])]),_:1},8,["aria-label"]),ye(S(Ap),null,{default:U(()=>[ye(S(Ep),null,{default:U(()=>[(E(!0),K(dt,null,zt(e.parameter.schema.enum,j=>(E(),ve(S($p),{key:j,value:String(j)},{default:U(()=>[Vt(ze(j),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["id","name","model-value"])):((x=e.parameter.schema)==null?void 0:x.type)==="object"?(E(),ve(b7,{key:2,"model-value":e.modelValue,class:"w-full h-32","onUpdate:modelValue":v[4]||(v[4]=j=>u(j))},null,8,["model-value"])):(E(),K("div",YRe,[d(e.parameter)?(E(),ve(S(Y1),{key:0,id:e.compositeKey,name:e.compositeKey,type:"file",class:"bg-muted",onChange:f},null,8,["id","name"])):(E(),ve(S(Y1),{key:1,id:e.compositeKey,name:e.compositeKey,"model-value":c.value,type:p(e.parameter),placeholder:l.value,clearable:"",class:"bg-muted","onUpdate:modelValue":v[5]||(v[5]=j=>u(j)),onKeydown:v[6]||(v[6]=ep(j=>n("submit"),["enter"]))},null,8,["id","name","model-value","type","placeholder"]))]))],2)],2)}}}),e8e={key:0,class:"bg-muted p-1 rounded"},t8e={key:0,class:"!m-0 vp-adaptive-theme min-h-16 language-json"},r8e={key:2,class:"flex flex-col gap-1"},n8e=Te({__name:"OAPlaygroundBodyInput",props:{operationId:{},body:{},contentType:{},requestBody:{},enabledParameters:{},examples:{},exampleBehavior:{},xExampleBehavior:{}},emits:["update:body","update:enabled","submit"],setup(e,{emit:t}){const r=e,n=t,o=le({get:()=>r.body,set:w=>n("update:body",w)}),s=le(()=>bN(r.contentType)),i=le(()=>bw(r.contentType)),a=le(()=>ww(r.contentType)),l=le(()=>mC(r.contentType)),c=le(()=>l.value),u=le(()=>{var w,k,x,j;return!((j=(x=(k=(w=r.requestBody)==null?void 0:w.content)==null?void 0:k[r.contentType])==null?void 0:x.schema)!=null&&j.properties)}),d=le(()=>{var w,k,x,j,_,C,A,I;if(u.value){const M=Ub(r.exampleBehavior??"value");return[{name:"body",in:"body",schema:(x=(k=(w=r.requestBody)==null?void 0:w.content)==null?void 0:k[r.contentType])==null?void 0:x.schema,example:M&&r.examples?(j=Object.values(r.examples)[0])==null?void 0:j.value:null}]}return Object.keys(((I=(A=(C=(_=r.requestBody)==null?void 0:_.content)==null?void 0:C[r.contentType])==null?void 0:A.schema)==null?void 0:I.properties)??{}).map(M=>{var N,F,z,L,X,V,J,oe,H,B;return{name:M,in:"body",required:(X=(L=(z=(F=(N=r.requestBody)==null?void 0:N.content)==null?void 0:F[r.contentType])==null?void 0:z.schema)==null?void 0:L.required)==null?void 0:X.includes(M),schema:(B=(H=(oe=(J=(V=r.requestBody)==null?void 0:V.content)==null?void 0:J[r.contentType])==null?void 0:oe.schema)==null?void 0:H.properties)==null?void 0:B[M]}})}),p=le(()=>w=>i.value||a.value?f.value[w.name]||"":o.value),f=Oe({}),m=le(()=>Object.keys(f.value).filter(w=>{const k=d.value.find(x=>x.name===w);return k&&(r.enabledParameters[Ii({parameter:k,operationId:r.operationId})]??r.enabledParameters.body)})),v=le(()=>d.value.map(w=>{const k=Ii({parameter:w,operationId:r.operationId});return{parameter:w,compositeKey:k,enabled:r.enabledParameters[k]??r.enabledParameters.body}}));function g(w){if(i.value)return Object.fromEntries(w.map(k=>[k,f.value[k]]));if(a.value){const k=new FormData;return w.forEach(x=>{const j=f.value[x];j instanceof File?k.append(x,j,j.name):k.append(x,j||"")}),k}return{}}function y(w,k){if(f.value[w.name]=k,i.value||a.value){const x=m.value;o.value=g(x)}else o.value=k}function b(w,k){if(n("update:enabled",Ii({parameter:w,operationId:r.operationId}),k),i.value||a.value){const x=m.value;o.value=g(x)}}return cr(()=>r.body,w=>{if(i.value&&typeof w=="string"){const k=new URLSearchParams(w),x={};k.forEach((j,_)=>{x[_]=j}),f.value=x}else if(a.value&&w instanceof FormData){const k={};w.forEach((x,j)=>{k[j]=x}),f.value=k}},{immediate:!0}),cr(()=>r.contentType,()=>{var k;const w=Ub(r.exampleBehavior??"value");o.value=w?(k=Object.values(r.examples??{})[0])==null?void 0:k.value:null},{immediate:!0}),(w,k)=>(E(),K("div",null,[s.value?(E(),K("div",e8e,[o.value!==null?(E(),K("div",t8e,[k[3]||(k[3]=ue("button",{title:"Copy Code",class:"copy"},null,-1)),k[4]||(k[4]=ue("span",{class:"lang"},"JSON",-1)),ye(b7,{modelValue:o.value,"onUpdate:modelValue":k[0]||(k[0]=x=>o.value=x),class:"w-full"},null,8,["modelValue"])])):je("",!0)])):c.value&&o.value!==null&&typeof o.value=="string"?(E(),ve(S(GRe),{key:1,id:`body-textarea-${r.operationId}`,"model-value":o.value,name:`body-textarea-${r.operationId}`,disabled:!r.enabledParameters.body,rows:l.value?7:1,autocorrect:!1,autocomplete:!1,autocapitalize:!1,spellcheck:!1,class:"bg-muted",onInput:k[1]||(k[1]=x=>o.value=x.target.value)},null,8,["id","model-value","name","disabled","rows"])):(E(),K("div",r8e,[(E(!0),K(dt,null,zt(v.value,x=>(E(),ve(R2,{key:x.compositeKey,"model-value":p.value(x.parameter),parameter:x.parameter,"composite-key":x.compositeKey,"example-behavior":r.exampleBehavior??"value","x-example-behavior":r.xExampleBehavior??"value",enabled:x.enabled,"hide-label":v.value.length===1,"onUpdate:modelValue":j=>y(x.parameter,j),"onUpdate:enabled":j=>b(x.parameter,j),onSubmit:k[2]||(k[2]=j=>n("submit"))},null,8,["model-value","parameter","composite-key","example-behavior","x-example-behavior","enabled","hide-label","onUpdate:modelValue","onUpdate:enabled"]))),128))]))]))}}),o8e={class:"flex flex-col space-y-2"},s8e=Te({__name:"OAPlaygroundSecurityInput",props:{scheme:{type:Object,required:!0},modelValue:{type:[String,Number],required:!0},name:{type:String,required:!0}},emits:["update:modelValue","submit"],setup(e,{emit:t}){const r=e,n=t,o=le(()=>{var s;return r.modelValue?r.modelValue:(s=r.scheme)!=null&&s.example?r.scheme.example:kv().getSecuritySchemeDefaultValue(r.scheme)});return(s,i)=>(E(),K("div",o8e,[ye(S(Y1),{id:e.name,"model-value":e.modelValue,name:e.name,type:"text",placeholder:o.value,clearable:"",class:"bg-muted","onUpdate:modelValue":i[0]||(i[0]=a=>n("update:modelValue",a)),onKeydown:i[1]||(i[1]=ep(a=>n("submit"),["enter"]))},null,8,["id","model-value","name","placeholder"])]))}}),i8e={class:"relative w-full h-10"},a8e={key:0,class:"oa-custom-input absolute inset-0"},LM="custom",l8e=Te({__name:"SelectWithCustomOption",props:{modelValue:{default:""},isCustom:{type:Boolean,default:!1},customValue:{default:void 0},options:{},placeholder:{default:"Select an option..."},defaultCustomValue:{default:""},customOptionLabel:{default:"Custom..."},customPlaceholder:{default:"Enter custom value..."},allowCustomOption:{type:Boolean,default:!0}},emits:["update:modelValue","update:customValue","update:isCustom","submit"],setup(e,{emit:t}){const r=e,n=t,o=ca(r,"modelValue",n),s=ca(r,"isCustom",n),i=ca(r,"customValue",n),{t:a}=Jn();cr(i,u=>{u!==void 0&&(s.value&&(o.value=u),n("update:customValue",u))});const l=le(()=>r.allowCustomOption?[...r.options,{label:r.customOptionLabel,value:LM}]:r.options),c=u=>{if(u===LM){s.value=!0;const d=document.querySelector(".oa-custom-input input");d&&d.focus(),o.value=r.defaultCustomValue}else s.value=!1,i.value=void 0,o.value=u};return(u,d)=>(E(),K("div",i8e,[S(s)?(E(),K("div",a8e,[ye(S(Y1),{modelValue:S(i),"onUpdate:modelValue":d[0]||(d[0]=p=>yc(i)?i.value=p:null),placeholder:e.customPlaceholder,clearable:"",class:"pr-8 bg-muted",onKeydown:d[1]||(d[1]=ep(p=>n("submit"),["enter"]))},null,8,["modelValue","placeholder"])])):je("",!0),ye(S(Cp),{"model-value":S(o),class:"absolute inset-0","onUpdate:modelValue":d[2]||(d[2]=p=>c(String(p)))},{default:U(()=>[ye(S(Tp),{"aria-label":S(a)("Select")},{default:U(()=>[ye(S($h),{placeholder:e.placeholder,class:"text-start"},null,8,["placeholder"])]),_:1},8,["aria-label"]),ye(S(Ap),null,{default:U(()=>[ye(S(Ep),null,{default:U(()=>[(E(!0),K(dt,null,zt(l.value,p=>(E(),ve(S($p),{key:typeof p=="object"?p.value:p,value:typeof p=="object"?p.value:p},{default:U(()=>[Vt(ze(typeof p=="object"?p.label:p),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["model-value"])]))}}),c8e={class:"OAPlaygroundParameters"},u8e={key:0,open:""},d8e={class:"flex flex-col gap-2"},p8e={key:1,open:""},f8e={key:0,class:"w-full max-w-[33%] md:max-w-[50%] ml-auto -mt-8"},h8e={class:"flex flex-col gap-2"},m8e={class:"flex flex-row items-center space-x-2"},g8e={class:"flex flex-row items-center space-x-2"},v8e={key:2,open:""},y8e={class:"flex flex-col gap-2"},b8e={key:3,open:""},w8e={class:"flex flex-col gap-1"},x8e={class:"flex flex-row gap-2"},k8e={class:"flex flex-row flex-grow gap-2"},j8e={class:"w-1/2 flex justify-start"},_8e={class:"text-xs text-muted-foreground uppercase"},S8e={class:"w-1/2 flex justify-start"},C8e={class:"text-xs text-muted-foreground uppercase"},A8e={key:4,open:""},E8e=Te({__name:"OAPlaygroundParameters",props:{operationId:{type:String,required:!0},path:{type:String,required:!0},method:{type:String,required:!0},servers:{type:Array,default:()=>[]},parameters:{type:Array,required:!1,default:()=>[]},securityUi:{type:Object,required:!1,default:()=>[]},examples:{type:Object,required:!1},exampleBehavior:{type:String,default:"value"},xExampleBehavior:{type:String,default:"value"},requestBody:{type:Object,required:!1}},emits:["submit"],setup(e,{emit:t}){const r=e,n=t,o=_i(Th),{t:s}=Jn(),i=s("Key"),a=s("Value"),l=le({get:()=>o.playground.selectedServer.value,set:z=>{o.playground.selectedServer.value=z}}),c=le({get:()=>o.security.selectedSchemeId.value,set:z=>{o.security.selectedSchemeId.value=z}}),u=le({get:()=>o.requestBody.selectedContentType.value,set:z=>{o.requestBody.selectedContentType.value=z}}),d=le({get:()=>o.playground.request.value,set:z=>{o.playground.request.value=z}}),p=le(()=>kn().getServerAllowCustomServer()),{getStoragePrefix:f,getStoragePersistAuth:m}=kn(),v=f(),g=m(),y=Hm()?Tf(`${v}-use-custom-server`,p.value,localStorage):Oe(!1),b=r.parameters.filter(z=>z&&z.in==="header"),w=r.parameters.filter(z=>z&&z.in==="path"),k=r.parameters.filter(z=>z&&z.in==="query"),x=le(()=>r.servers),j=le(()=>x.value.map(z=>z.url).filter((z,L,X)=>X.indexOf(z)===L).filter(z=>z!==void 0)),_=Hm()?Tf(`${v}-custom-server-url`,l.value,localStorage):Oe(l.value);function C(z,L,X){return z.reduce((V,J)=>(J.name&&(V[J.name]=V_(J,L,X)??""),V),{})}const A=o.playground.parameterValues,I={...C(b,r.exampleBehavior,r.xExampleBehavior),...C(w,r.exampleBehavior,r.xExampleBehavior),...C(k,r.exampleBehavior,r.xExampleBehavior)};Object.keys(A.value).length===0?A.value=I:A.value={...I,...A.value};const M=Oe([...b,...w,...k].reduce((z,L)=>{if(L.name){const X=Ii({parameter:L,operationId:r.operationId});z[X]=L.required===!0}return z},{body:!0})),N=Oe([]),F=Oe(null);return cr([A,N,F,l,M],()=>{const z=r.parameters.filter(L=>L.name&&M.value[Ii({parameter:L,operationId:r.operationId})]);d.value=xw({baseUrl:l.value,method:r.method,path:r.path,variables:A.value,authorizations:N.value,body:M.value.body?F.value:void 0,parameters:z,contentType:u.value,headers:{...kn().getCodeSamplesDefaultHeaders()||{}}})},{deep:!0}),cr(c,z=>{var X,V,J;const L=((X=r.securityUi.find(oe=>oe.id===z))==null?void 0:X.schemes)||((J=(V=r.securityUi)==null?void 0:V[0])==null?void 0:J.schemes)||{};if(!L||!Object.keys(L).length){N.value=[];return}N.value=Object.keys(L).map(oe=>{const H=L[oe],B=kv().getSecuritySchemeDefaultValue(H),se=V_(H,r.exampleBehavior,r.xExampleBehavior)??B;return{type:H.type,scheme:H.scheme,in:H.in,name:H.name??oe,value:Hm()&&g?Tf(`${v}-authorization-${oe}`,se,localStorage):se,label:oe,example:se}})},{immediate:!0}),cr([o.security.securityValues,N],([z])=>{for(const[L,X]of Object.entries(z)){const V=N.value.find(J=>J.label===L);V&&(yc(V.value)?V.value.value=X:V.value=X)}},{deep:!0}),(z,L)=>{var X;return E(),K("div",c8e,[j.value.length>1||p.value?(E(),K("details",u8e,[ue("summary",null,ze(S(s)("Server")),1),ue("div",d8e,[ye(l8e,{modelValue:l.value,"onUpdate:modelValue":L[0]||(L[0]=V=>l.value=V),"custom-value":S(_),"onUpdate:customValue":L[1]||(L[1]=V=>yc(_)?_.value=V:null),"is-custom":S(y),"onUpdate:isCustom":L[2]||(L[2]=V=>yc(y)?y.value=V:null),"default-custom-value":S(_),options:j.value,"allow-custom-option":p.value,"custom-option-label":S(s)("Custom Server"),"custom-placeholder":S(s)("Enter a custom server URL"),placeholder:S(s)("Select a server"),onSubmit:L[3]||(L[3]=V=>n("submit"))},null,8,["modelValue","custom-value","is-custom","default-custom-value","options","allow-custom-option","custom-option-label","custom-placeholder","placeholder"])])])):je("",!0),(X=N.value)!=null&&X.length?(E(),K("details",p8e,[ue("summary",null,[Vt(ze(S(s)("Authorization"))+" ",1),r.securityUi.length>1?(E(),K("div",f8e,[ye(S(Cp),{modelValue:c.value,"onUpdate:modelValue":L[4]||(L[4]=V=>c.value=V)},{default:U(()=>[ye(S(Tp),{"aria-label":"Security Scheme",class:"h-9 px-3 py-1.5 text-foreground font-normal"},{default:U(()=>[ye(S($h),{placeholder:c.value??S(s)("Select")},null,8,["placeholder"])]),_:1}),ye(S(Ap),null,{default:U(()=>[ye(S(Ep),null,{default:U(()=>[(E(!0),K(dt,null,zt(r.securityUi,V=>(E(),ve(S($p),{key:V.id,value:V.id},{default:U(()=>[Vt(ze(V.id),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["modelValue"])])):je("",!0)]),ue("div",h8e,[(E(!0),K(dt,null,zt(N.value,V=>(E(),K("div",{key:V.name,class:"flex flex-col"},[ue("div",m8e,[ye(S(iO),{for:V.name,class:"text-sm font-bold"},{default:U(()=>[Vt(ze(V.label),1)]),_:2},1032,["for"])]),ue("div",g8e,[ye(s8e,{modelValue:V.value,"onUpdate:modelValue":J=>V.value=J,scheme:V,name:V.name,class:"w-full",onSubmit:L[5]||(L[5]=J=>n("submit"))},null,8,["modelValue","onUpdate:modelValue","scheme","name"])])]))),128))])])):je("",!0),S(b).length?(E(),K("details",v8e,[ue("summary",null,ze(S(s)("Headers")),1),ue("div",y8e,[(E(!0),K(dt,null,zt(S(b),V=>(E(),K("div",{key:S(Ii)({parameter:V,operationId:r.operationId}),class:"flex flex-col gap-2"},[ye(R2,{modelValue:S(A)[V.name??""],"onUpdate:modelValue":J=>S(A)[V.name??""]=J,parameter:V,"composite-key":S(Ii)({parameter:V,operationId:r.operationId}),"example-behavior":r.exampleBehavior,"x-example-behavior":r.xExampleBehavior,enabled:M.value[S(Ii)({parameter:V,operationId:r.operationId})],"onUpdate:enabled":J=>M.value[S(Ii)({parameter:V,operationId:r.operationId})]=J,onSubmit:L[6]||(L[6]=J=>n("submit"))},null,8,["modelValue","onUpdate:modelValue","parameter","composite-key","example-behavior","x-example-behavior","enabled","onUpdate:enabled"])]))),128))])])):je("",!0),Object.keys(S(k)).length||Object.keys(S(w)).length?(E(),K("details",b8e,[ue("summary",null,ze(S(s)("Variables")),1),ue("div",w8e,[ue("div",x8e,[L[11]||(L[11]=ue("div",{class:"w-[16px]"},null,-1)),ue("div",k8e,[ue("div",j8e,[ue("span",_8e,ze(S(i)),1)]),ue("div",S8e,[ue("span",C8e,ze(S(a)),1)])])]),(E(!0),K(dt,null,zt([...S(w),...S(k)],V=>(E(),ve(R2,{key:S(Ii)({parameter:V,operationId:r.operationId}),modelValue:S(A)[V.name??""],"onUpdate:modelValue":J=>S(A)[V.name??""]=J,parameter:V,"composite-key":S(Ii)({parameter:V,operationId:r.operationId}),"example-behavior":r.exampleBehavior,"x-example-behavior":r.xExampleBehavior,enabled:M.value[S(Ii)({parameter:V,operationId:r.operationId})],"onUpdate:enabled":J=>M.value[S(Ii)({parameter:V,operationId:r.operationId})]=J,onSubmit:L[7]||(L[7]=J=>n("submit"))},null,8,["modelValue","onUpdate:modelValue","parameter","composite-key","example-behavior","x-example-behavior","enabled","onUpdate:enabled"]))),128))])])):je("",!0),r.requestBody&&u.value?(E(),K("details",A8e,[ue("summary",null,ze(S(s)("Body")),1),ye(n8e,{"operation-id":r.operationId,body:F.value,"content-type":u.value,"request-body":r.requestBody,"enabled-parameters":M.value,examples:r.examples,"example-behavior":r.exampleBehavior,"x-example-behavior":r.xExampleBehavior,"onUpdate:body":L[8]||(L[8]=V=>F.value=V),"onUpdate:enabled":L[9]||(L[9]=(V,J)=>M.value[V]=J),onSubmit:L[10]||(L[10]=V=>n("submit"))},null,8,["operation-id","body","content-type","request-body","enabled-parameters","examples","example-behavior","x-example-behavior"])])):je("",!0)])}}}),O8e=$w(E8e,[["__scopeId","data-v-b7652c8b"]]),$8e=/filename\*\s*=\s*([^;]+)/i,T8e=/filename\s*=\s*([^;]+)/i;function P8e(e,t="response_file"){if(!e)return t;const r=e.match($8e);if(r){let o=r[1].trim();o.startsWith('"')&&o.endsWith('"')&&(o=o.slice(1,-1));const s=o.split("'");if(s.length>=3){const i=s.slice(2).join("'");try{const a=decodeURIComponent(i);if(a)return a}catch{}}else try{const i=decodeURIComponent(o);if(i)return i}catch{}}const n=e.match(T8e);if(n){let o=n[1].trim();if(o.startsWith('"')&&o.endsWith('"')&&(o=o.slice(1,-1)),o)return o}return t}var $o=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function I8e(e){return aO(e)}function aO(e){return Array.isArray(e)?D8e(e):e instanceof RegExp?e:typeof e=="object"?M8e(e):e}function D8e(e){let t=[];for(let r=0,n=e.length;r{for(let n in r)e[n]=r[n]}),e}function x7(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?x7(e.substring(0,e.length-1)):e.substr(~t+1)}var Jj=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,q0=class{static hasCaptures(e){return e===null?!1:(Jj.lastIndex=0,Jj.test(e))}static replaceCaptures(e,t,r){return e.replace(Jj,(n,o,s,i)=>{let a=r[parseInt(o||s,10)];if(a){let l=t.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(i){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return n})}};function k7(e,t){return et?1:0}function j7(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let r=e.length,n=t.length;if(r===n){for(let o=0;othis._root.match(e)));this._colorMap=e,this._defaults=t,this._root=r}static createFromRawTheme(e,t){return this.createFromParsedTheme(R8e(e),t)}static createFromParsedTheme(e,t){return q8e(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(n=>L8e(e.parent,n.parentScopes));return r?new C7(r.fontStyle,r.foreground,r.background):null}},Kj=class xb{constructor(t,r){this.parent=t,this.scopeName=r}static push(t,r){for(const n of r)t=new xb(t,n);return t}static from(...t){let r=null;for(let n=0;n"){if(r===t.length-1)return!1;n=t[++r],o=!0}for(;e&&!N8e(e.scopeName,n);){if(o)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function N8e(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var C7=class{constructor(e,t,r){this.fontStyle=e,this.foregroundId=t,this.backgroundId=r}};function R8e(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,r=[],n=0;for(let o=0,s=t.length;o1&&(v=f.slice(0,f.length-1),v.reverse()),r[n++]=new B8e(m,v,o,l,c,u)}}return r}var B8e=class{constructor(e,t,r,n,o,s){this.scope=e,this.parentScopes=t,this.index=r,this.fontStyle=n,this.foreground=o,this.background=s}},zs=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(zs||{});function q8e(e,t){e.sort((l,c)=>{let u=k7(l.scope,c.scope);return u!==0||(u=j7(l.parentScopes,c.parentScopes),u!==0)?u:l.index-c.index});let r=0,n="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(r=l.fontStyle),l.foreground!==null&&(n=l.foreground),l.background!==null&&(o=l.background)}let s=new z8e(t),i=new C7(r,s.getId(n),s.getId(o)),a=new V8e(new B2(0,null,-1,0,0),[]);for(let l=0,c=e.length;lt?console.log("how did this happen?"):this.scopeDepth=t,r!==-1&&(this.fontStyle=r),n!==0&&(this.foreground=n),o!==0&&(this.background=o)}},V8e=class q2{constructor(t,r=[],n={}){Re(this,"_rulesWithParentScopes");this._mainRule=t,this._children=n,this._rulesWithParentScopes=r}static _cmpBySpecificity(t,r){if(t.scopeDepth!==r.scopeDepth)return r.scopeDepth-t.scopeDepth;let n=0,o=0;for(;t.parentScopes[n]===">"&&n++,r.parentScopes[o]===">"&&o++,!(n>=t.parentScopes.length||o>=r.parentScopes.length);){const s=r.parentScopes[o].length-t.parentScopes[n].length;if(s!==0)return s;n++,o++}return r.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let n=t.indexOf("."),o,s;if(n===-1?(o=t,s=""):(o=t.substring(0,n),s=t.substring(n+1)),this._children.hasOwnProperty(o))return this._children[o].match(s)}const r=this._rulesWithParentScopes.concat(this._mainRule);return r.sort(q2._cmpBySpecificity),r}insert(t,r,n,o,s,i){if(r===""){this._doInsertHere(t,n,o,s,i);return}let a=r.indexOf("."),l,c;a===-1?(l=r,c=""):(l=r.substring(0,a),c=r.substring(a+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new q2(this._mainRule.clone(),B2.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,c,n,o,s,i)}_doInsertHere(t,r,n,o,s){if(r===null){this._mainRule.acceptOverwrite(t,n,o,s);return}for(let i=0,a=this._rulesWithParentScopes.length;i>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,r,n,o,s,i,a){let l=Ji.getLanguageId(t),c=Ji.getTokenType(t),u=Ji.containsBalancedBrackets(t)?1:0,d=Ji.getFontStyle(t),p=Ji.getForeground(t),f=Ji.getBackground(t);return r!==0&&(l=r),n!==8&&(c=n),o!==null&&(u=o?1:0),s!==-1&&(d=s),i!==0&&(p=i),a!==0&&(f=a),(l<<0|c<<8|u<<10|d<<11|p<<15|f<<24)>>>0}};function tw(e,t){const r=[],n=U8e(e);let o=n.next();for(;o!==null;){let l=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=n.next()}let c=i();if(r.push({matcher:c,priority:l}),o!==",")break;o=n.next()}return r;function s(){if(o==="-"){o=n.next();const l=s();return c=>!!l&&!l(c)}if(o==="("){o=n.next();const l=a();return o===")"&&(o=n.next()),l}if(RM(o)){const l=[];do l.push(o),o=n.next();while(RM(o));return c=>t(l,c)}return null}function i(){const l=[];let c=s();for(;c;)l.push(c),c=s();return u=>l.every(d=>d(u))}function a(){const l=[];let c=i();for(;c&&(l.push(c),o==="|"||o===",");){do o=n.next();while(o==="|"||o===",");c=i()}return u=>l.some(d=>d(u))}}function RM(e){return!!e&&!!e.match(/[\w\.:]+/)}function U8e(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,r=t.exec(e);return{next:()=>{if(!r)return null;const n=r[0];return r=t.exec(e),n}}}function E7(e){typeof e.dispose=="function"&&e.dispose()}var iv=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},H8e=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},W8e=class{constructor(){Re(this,"_references",[]);Re(this,"_seenReferenceKeys",new Set);Re(this,"visitedRule",new Set)}get references(){return this._references}add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},G8e=class{constructor(e,t){Re(this,"seenFullScopeRequests",new Set);Re(this,"seenPartialScopeRequests",new Set);Re(this,"Q");this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new iv(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new W8e;for(const r of e)J8e(r,this.initialScopeName,this.repo,t);for(const r of t.references)if(r instanceof iv){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}};function J8e(e,t,r,n){const o=r.lookup(e.scopeName);if(!o){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const s=r.lookup(t);e instanceof iv?kb({baseGrammar:s,selfGrammar:o},n):z2(e.ruleName,{baseGrammar:s,selfGrammar:o,repository:o.repository},n);const i=r.injections(e.scopeName);if(i)for(const a of i)n.add(new iv(a))}function z2(e,t,r){if(t.repository&&t.repository[e]){const n=t.repository[e];rw([n],t,r)}}function kb(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&rw(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&rw(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function rw(e,t,r){for(const n of e){if(r.visitedRule.has(n))continue;r.visitedRule.add(n);const o=n.repository?w7({},t.repository,n.repository):t.repository;Array.isArray(n.patterns)&&rw(n.patterns,{...t,repository:o},r);const s=n.include;if(!s)continue;const i=O7(s);switch(i.kind){case 0:kb({...t,selfGrammar:t.baseGrammar},r);break;case 1:kb(t,r);break;case 2:z2(i.ruleName,{...t,repository:o},r);break;case 3:case 4:const a=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:o};i.kind===4?z2(i.ruleName,l,r):kb(l,r)}else i.kind===4?r.add(new H8e(i.scopeName,i.ruleName)):r.add(new iv(i.scopeName));break}}}var K8e=class{constructor(){Re(this,"kind",0)}},Q8e=class{constructor(){Re(this,"kind",1)}},Z8e=class{constructor(e){Re(this,"kind",2);this.ruleName=e}},X8e=class{constructor(e){Re(this,"kind",3);this.scopeName=e}},Y8e=class{constructor(e,t){Re(this,"kind",4);this.scopeName=e,this.ruleName=t}};function O7(e){if(e==="$base")return new K8e;if(e==="$self")return new Q8e;const t=e.indexOf("#");if(t===-1)return new X8e(e);if(t===0)return new Z8e(e.substring(1));{const r=e.substring(0,t),n=e.substring(t+1);return new Y8e(r,n)}}var e5e=/\\(\d+)/,BM=/\\(\d+)/g,t5e=-1,$7=-2,Hv=class{constructor(e,t,r,n){Re(this,"$location");Re(this,"id");Re(this,"_nameIsCapturing");Re(this,"_name");Re(this,"_contentNameIsCapturing");Re(this,"_contentName");this.$location=e,this.id=t,this._name=r||null,this._nameIsCapturing=q0.hasCaptures(this._name),this._contentName=n||null,this._contentNameIsCapturing=q0.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${x7(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:q0.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:q0.replaceCaptures(this._contentName,e,t)}},r5e=class extends Hv{constructor(t,r,n,o,s){super(t,r,n,o);Re(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(t,r){throw new Error("Not supported!")}compile(t,r){throw new Error("Not supported!")}compileAG(t,r,n,o){throw new Error("Not supported!")}},n5e=class extends Hv{constructor(t,r,n,o,s){super(t,r,n,null);Re(this,"_match");Re(this,"captures");Re(this,"_cachedCompiledPatterns");this._match=new av(o,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,r){r.push(this._match)}compile(t,r){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,r,n,o){return this._getCachedCompiledPatterns(t).compileAG(t,n,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new lv,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},qM=class extends Hv{constructor(t,r,n,o,s){super(t,r,n,o);Re(this,"hasMissingPatterns");Re(this,"patterns");Re(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,r){for(const n of this.patterns)t.getRule(n).collectPatterns(t,r)}compile(t,r){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,r,n,o){return this._getCachedCompiledPatterns(t).compileAG(t,n,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new lv,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},F2=class extends Hv{constructor(t,r,n,o,s,i,a,l,c,u){super(t,r,n,o);Re(this,"_begin");Re(this,"beginCaptures");Re(this,"_end");Re(this,"endHasBackReferences");Re(this,"endCaptures");Re(this,"applyEndPatternLast");Re(this,"hasMissingPatterns");Re(this,"patterns");Re(this,"_cachedCompiledPatterns");this._begin=new av(s,this.id),this.beginCaptures=i,this._end=new av(a||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,r){return this._end.resolveBackReferences(t,r)}collectPatterns(t,r){r.push(this._begin)}compile(t,r){return this._getCachedCompiledPatterns(t,r).compile(t)}compileAG(t,r,n,o){return this._getCachedCompiledPatterns(t,r).compileAG(t,n,o)}_getCachedCompiledPatterns(t,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new lv;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,r):this._cachedCompiledPatterns.setSource(0,r)),this._cachedCompiledPatterns}},nw=class extends Hv{constructor(t,r,n,o,s,i,a,l,c){super(t,r,n,o);Re(this,"_begin");Re(this,"beginCaptures");Re(this,"whileCaptures");Re(this,"_while");Re(this,"whileHasBackReferences");Re(this,"hasMissingPatterns");Re(this,"patterns");Re(this,"_cachedCompiledPatterns");Re(this,"_cachedCompiledWhilePatterns");this._begin=new av(s,this.id),this.beginCaptures=i,this.whileCaptures=l,this._while=new av(a,$7),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,r){return this._while.resolveBackReferences(t,r)}collectPatterns(t,r){r.push(this._begin)}compile(t,r){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,r,n,o){return this._getCachedCompiledPatterns(t).compileAG(t,n,o)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new lv;for(const r of this.patterns)t.getRule(r).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,r){return this._getCachedCompiledWhilePatterns(t,r).compile(t)}compileWhileAG(t,r,n,o){return this._getCachedCompiledWhilePatterns(t,r).compileAG(t,n,o)}_getCachedCompiledWhilePatterns(t,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new lv,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||"￿"),this._cachedCompiledWhilePatterns}},T7=class Ms{static createCaptureRule(t,r,n,o,s){return t.registerRule(i=>new r5e(r,i,n,o,s))}static getCompiledRuleId(t,r,n){return t.id||r.registerRule(o=>{if(t.id=o,t.match)return new n5e(t.$vscodeTextmateLocation,t.id,t.name,t.match,Ms._compileCaptures(t.captures,r,n));if(typeof t.begin>"u"){t.repository&&(n=w7({},n,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new qM(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Ms._compilePatterns(s,r,n))}return t.while?new nw(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Ms._compileCaptures(t.beginCaptures||t.captures,r,n),t.while,Ms._compileCaptures(t.whileCaptures||t.captures,r,n),Ms._compilePatterns(t.patterns,r,n)):new F2(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Ms._compileCaptures(t.beginCaptures||t.captures,r,n),t.end,Ms._compileCaptures(t.endCaptures||t.captures,r,n),t.applyEndPatternLast,Ms._compilePatterns(t.patterns,r,n))}),t.id}static _compileCaptures(t,r,n){let o=[];if(t){let s=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>s&&(s=a)}for(let i=0;i<=s;i++)o[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;t[i].patterns&&(l=Ms.getCompiledRuleId(t[i],r,n)),o[a]=Ms.createCaptureRule(r,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,l)}}return o}static _compilePatterns(t,r,n){let o=[];if(t)for(let s=0,i=t.length;st.substring(o.start,o.end));return BM.lastIndex=0,this.source.replace(BM,(o,s)=>_7(n[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],r=[],n=[],o=[],s,i,a,l;for(s=0,i=this.source.length;sr.source);this._cached=new zM(e,t,this._items.map(r=>r.ruleId))}return this._cached}compileAG(e,t,r){return this._hasAnchors?t?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,r){let n=this._items.map(o=>o.resolveAnchors(t,r));return new zM(e,n,this._items.map(o=>o.ruleId))}},zM=class{constructor(e,t,r){Re(this,"scanner");this.regExps=t,this.rules=r,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,r=this.rules.length;t ',1);function e4e(e,t){Ut(t,!1);var r=he(void 0,!0),n=ss("jsoneditor:JSONEditor"),o={text:""},s=void 0,i=!1,a=Jo.tree,l=!0,c=!0,u=!0,d=!0,p=!1,f=!1,m=!0,v=JSON,g=void 0,y=JSON,b={parse:uTe,stringify:Ma},w=[A$e],k=w[0].id,x=Zi,j=void 0,_=void 0,C=cTe,A=Zi,I=Zi,M=Zi,L=Zi,F=Qe=>{console.error(Qe),alert(Qe.toString())},z=Zi,N=Zi,X=T(t,"content",13,o),V=T(t,"selection",13,s),J=T(t,"readOnly",13,i),oe=T(t,"indentation",13,2),H=T(t,"tabSize",13,4),B=T(t,"truncateTextSize",13,1e3),se=T(t,"mode",13,a),q=T(t,"mainMenuBar",13,l),O=T(t,"navigationBar",13,c),D=T(t,"statusBar",13,u),Z=T(t,"askToFormat",13,d),Se=T(t,"escapeControlCharacters",13,p),ie=T(t,"escapeUnicodeCharacters",13,f),re=T(t,"flattenColumns",13,m),xe=T(t,"parser",13,v),R=T(t,"validator",13,g),te=T(t,"validationParser",13,y),ne=T(t,"pathParser",13,b),Ce=T(t,"queryLanguages",13,w),me=T(t,"queryLanguageId",13,k),ae=T(t,"onChangeQueryLanguage",13,x),kt=T(t,"onChange",13,j),ft=T(t,"onSelect",13,_),Ue=T(t,"onRenderValue",13,C),gt=T(t,"onClassName",13,A),Ge=T(t,"onRenderMenu",13,I),_t=T(t,"onRenderContextMenu",13,M),It=T(t,"onChangeMode",13,L),vt=T(t,"onError",13,F),sr=T(t,"onFocus",13,z),P=T(t,"onBlur",13,N),G=he(Af(),!0),ee=he(!1,!0),be=he(void 0,!0),Me=he(void 0,!0),Fe=he(void 0,!0),Ze=he(void 0,!0),we=he(xe(),!0);function pt(){return X()}function St(Qe){n("set");var Ir=_j(Qe);if(Ir)throw new Error(Ir);$(G,Af()),X(Qe),so()}function rr(Qe){n("update");var Ir=_j(Qe);if(Ir)throw new Error(Ir);X(Qe),so()}function Ve(Qe){var Ir=h(be).patch(Qe);return so(),Ir}function Ft(Qe){V(Qe),so()}function _r(Qe,Ir){h(be).expand(Qe,Ir),so()}function Bn(Qe){var Ir=arguments.length>1&&arguments[1]!==void 0&&arguments[1];h(be).collapse(Qe,Ir),so()}function Lr(){var Qe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};h(be).transform(Qe),so()}function Sr(){return h(be).validate()}function W(){var Qe=h(be).acceptAutoRepair();return so(),Qe}function Ee(Qe){return wt.apply(this,arguments)}function wt(){return(wt=pr(function*(Qe){yield h(be).scrollTo(Qe)})).apply(this,arguments)}function br(Qe){return h(be).findElement(Qe)}function wr(){h(be).focus(),so()}function Gt(){return Pr.apply(this,arguments)}function Pr(){return(Pr=pr(function*(){yield h(be).refresh()})).apply(this,arguments)}function Dt(Qe){var Ir,De,ot,Ot,ur,Et,gr,Jr,xr,un,Yt,Ar,Jt,ir,_n,Pn,Dr,Or,Tr,Xn,_e,Be,et,Er,on,zr,gn,Vn,qn,Yn,dr,Un=Object.keys(Qe);for(var er of Un)switch(er){case"content":X((Ir=Qe[er])!==null&&Ir!==void 0?Ir:o);break;case"selection":V((De=Qe[er])!==null&&De!==void 0?De:s);break;case"readOnly":J((ot=Qe[er])!==null&&ot!==void 0?ot:i);break;case"indentation":oe((Ot=Qe[er])!==null&&Ot!==void 0?Ot:2);break;case"tabSize":H((ur=Qe[er])!==null&&ur!==void 0?ur:4);break;case"truncateTextSize":B((Et=Qe[er])!==null&&Et!==void 0?Et:1e3);break;case"mode":se((gr=Qe[er])!==null&&gr!==void 0?gr:a);break;case"mainMenuBar":q((Jr=Qe[er])!==null&&Jr!==void 0?Jr:l);break;case"navigationBar":O((xr=Qe[er])!==null&&xr!==void 0?xr:c);break;case"statusBar":D((un=Qe[er])!==null&&un!==void 0?un:u);break;case"askToFormat":Z((Yt=Qe[er])!==null&&Yt!==void 0?Yt:d);break;case"escapeControlCharacters":Se((Ar=Qe[er])!==null&&Ar!==void 0?Ar:p);break;case"escapeUnicodeCharacters":ie((Jt=Qe[er])!==null&&Jt!==void 0?Jt:f);break;case"flattenColumns":re((ir=Qe[er])!==null&&ir!==void 0?ir:m);break;case"parser":xe((_n=Qe[er])!==null&&_n!==void 0?_n:v);break;case"validator":R((Pn=Qe[er])!==null&&Pn!==void 0?Pn:g);break;case"validationParser":te((Dr=Qe[er])!==null&&Dr!==void 0?Dr:y);break;case"pathParser":ne((Or=Qe[er])!==null&&Or!==void 0?Or:b);break;case"queryLanguages":Ce((Tr=Qe[er])!==null&&Tr!==void 0?Tr:w);break;case"queryLanguageId":me((Xn=Qe[er])!==null&&Xn!==void 0?Xn:k);break;case"onChangeQueryLanguage":ae((_e=Qe[er])!==null&&_e!==void 0?_e:x);break;case"onChange":kt((Be=Qe[er])!==null&&Be!==void 0?Be:j);break;case"onRenderValue":Ue((et=Qe[er])!==null&&et!==void 0?et:C);break;case"onClassName":gt((Er=Qe[er])!==null&&Er!==void 0?Er:A);break;case"onRenderMenu":Ge((on=Qe[er])!==null&&on!==void 0?on:I);break;case"onRenderContextMenu":_t((zr=Qe[er])!==null&&zr!==void 0?zr:M);break;case"onChangeMode":It((gn=Qe[er])!==null&&gn!==void 0?gn:L);break;case"onSelect":ft((Vn=Qe[er])!==null&&Vn!==void 0?Vn:_);break;case"onError":vt((qn=Qe[er])!==null&&qn!==void 0?qn:F);break;case"onFocus":sr((Yn=Qe[er])!==null&&Yn!==void 0?Yn:z);break;case"onBlur":P((dr=Qe[er])!==null&&dr!==void 0?dr:N);break;default:Vo(er)}function Vo(ut){n('Unknown property "'.concat(ut,'"'))}Ce().some(ut=>ut.id===me())||me(Ce()[0].id),so()}function mr(){return Cr.apply(this,arguments)}function Cr(){return(Cr=pr(function*(){throw new Error("class method destroy() is deprecated. It is replaced with a method destroy() in the vanilla library.")})).apply(this,arguments)}function nn(Qe,Ir,De){X(Qe),kt()&&kt()(Qe,Ir,De)}function Tn(Qe){V(Qe),ft()&&ft()(eS(Qe))}function en(){$(ee,!0),sr()&&sr()()}function co(){$(ee,!1),P()&&P()()}function Qn(Qe){return Zn.apply(this,arguments)}function Zn(){return(Zn=pr(function*(Qe){se()!==Qe&&(se(Qe),so(),wr(),It()(Qe))})).apply(this,arguments)}function bo(Qe){n("handleChangeQueryLanguage",Qe),me(Qe),ae()(Qe)}function uo(Qe){var{id:Ir,json:De,rootPath:ot,onTransform:Ot,onClose:ur}=Qe;J()||$(Ze,{id:Ir,json:De,rootPath:ot,indentation:oe(),truncateTextSize:B(),escapeControlCharacters:Se(),escapeUnicodeCharacters:ie(),parser:xe(),parseMemoizeOne:h(r),validationParser:te(),pathParser:ne(),queryLanguages:Ce(),queryLanguageId:me(),onChangeQueryLanguage:bo,onRenderValue:Ue(),onRenderMenu:Et=>Ge()(Et,{mode:se(),modal:!0,readOnly:J()}),onRenderContextMenu:Et=>_t()(Et,{mode:se(),modal:!0,readOnly:J(),selection:V()}),onClassName:gt(),onTransform:Ot,onClose:ur})}function yn(Qe){J()||$(Fe,Qe)}function bn(Qe){var{content:Ir,path:De,onPatch:ot,onClose:Ot}=Qe;n("onJSONEditorModal",{content:Ir,path:De}),$(Me,{content:Ir,path:De,onPatch:ot,readOnly:J(),indentation:oe(),tabSize:H(),truncateTextSize:B(),mainMenuBar:q(),navigationBar:O(),statusBar:D(),askToFormat:Z(),escapeControlCharacters:Se(),escapeUnicodeCharacters:ie(),flattenColumns:re(),parser:xe(),validator:void 0,validationParser:te(),pathParser:ne(),onRenderValue:Ue(),onClassName:gt(),onRenderMenu:Ge(),onRenderContextMenu:_t(),onSortModal:yn,onTransformModal:uo,onClose:Ot})}function Fn(Qe){Qe.stopPropagation()}return $e(()=>(de(xe()),h(we),de(X()),Af),()=>{if(!f$e(xe(),h(we))){if(n("parser changed, recreate editor"),Wg(X())){var Qe=h(we).stringify(X().json);X({json:Qe!==void 0?xe().parse(Qe):void 0})}$(we,xe()),$(G,Af())}}),$e(()=>de(X()),()=>{var Qe=_j(X());Qe&&console.error("Error: "+Qe)}),$e(()=>de(V()),()=>{V()===null&&console.warn("selection is invalid: it is null but should be undefined")}),$e(()=>de(xe()),()=>{$(r,Ag(xe().parse))}),$e(()=>de(se()),()=>{n("mode changed to",se())}),mn(),fr(!0),u2(e,{children:(Qe,Ir)=>{var De,ot=YIe(),Ot=Kt(ot);Ez(fe(Ot),()=>h(G),Yt=>{no(ZD(Yt,{get externalMode(){return se()},get content(){return X()},get selection(){return V()},get readOnly(){return J()},get indentation(){return oe()},get tabSize(){return H()},get truncateTextSize(){return B()},get statusBar(){return D()},get askToFormat(){return Z()},get mainMenuBar(){return q()},get navigationBar(){return O()},get escapeControlCharacters(){return Se()},get escapeUnicodeCharacters(){return ie()},get flattenColumns(){return re()},get parser(){return xe()},get parseMemoizeOne(){return h(r)},get validator(){return R()},get validationParser(){return te()},get pathParser(){return ne()},insideModal:!1,get onError(){return vt()},onChange:nn,onChangeMode:Qn,onSelect:Tn,get onRenderValue(){return Ue()},get onClassName(){return gt()},onFocus:en,onBlur:co,get onRenderMenu(){return Ge()},get onRenderContextMenu(){return _t()},onSortModal:yn,onTransformModal:uo,onJSONEditorModal:bn,$$legacy:!0}),Ar=>$(be,Ar),()=>h(be))});var ur=ke(Ot,2),Et=Yt=>{(function(Ar,Jt){var ir,_n;Ut(Jt,!1);var Pn=he(void 0,!0),Dr=he(void 0,!0),Or=he(void 0,!0),Tr=he(void 0,!0),Xn=ss("jsoneditor:SortModal"),_e=T(Jt,"id",9),Be=T(Jt,"json",9),et=T(Jt,"rootPath",9),Er=T(Jt,"onSort",9),on=T(Jt,"onClose",9),zr={value:1,label:"ascending"},gn=[zr,{value:-1,label:"descending"}],Vn="".concat(_e(),":").concat(Wt(et())),qn=he((ir=af()[Vn])===null||ir===void 0?void 0:ir.selectedProperty,!0),Yn=he(((_n=af()[Vn])===null||_n===void 0?void 0:_n.selectedDirection)||zr,!0),dr=he(void 0,!0);function Un(){try{var Vo,ut,tn;$(dr,void 0);var Sn=((Vo=h(qn))===null||Vo===void 0?void 0:Vo.value)||((ut=h(Tr))===null||ut===void 0||(ut=ut[0])===null||ut===void 0?void 0:ut.value)||[],sn=(tn=h(Yn))===null||tn===void 0?void 0:tn.value,wo=$F(Be(),et(),Sn,sn);Er()!==void 0&&et()!==void 0&&Er()({operations:wo,rootPath:et(),itemPath:Sn,direction:sn}),on()()}catch(Ks){$(dr,String(Ks))}}function er(Vo){Vo.focus()}$e(()=>(de(Be()),de(et())),()=>{$(Pn,bt(Be(),et()))}),$e(()=>h(Pn),()=>{$(Dr,Array.isArray(h(Pn)))}),$e(()=>(h(Dr),h(Pn)),()=>{$(Or,h(Dr)?a2(h(Pn)):void 0)}),$e(()=>(h(Or),fu),()=>{$(Tr,h(Or)?h(Or).map(fu):void 0)}),$e(()=>(af(),h(qn),h(Yn)),()=>{af(af()[Vn]={selectedProperty:h(qn),selectedDirection:h(Yn)}),Xn("store state in memory",Vn,af()[Vn])}),mn(),fr(!0),tv(Ar,{get onClose(){return on()},className:"jse-sort-modal",children:(Vo,ut)=>{var tn=XIe(),Sn=Kt(tn),sn=We(()=>h(Dr)?"Sort array items":"Sort object keys");W1(Sn,{get title(){return h(sn)},get onClose(){return on()}});var wo=fe(ke(Sn,2)),Ks=ke(fe(wo)),Y=fe(Ks),Le=ke(fe(Y)),He=fe(Le),Ye=ke(Y),tt=vr=>{var In=QIe(),Q=ke(fe(In));Dd(fe(Q),{showChevron:!0,get items(){return h(Tr)},get value(){return h(qn)},set value(Ie){$(qn,Ie)},$$legacy:!0}),ge(vr,In)};Ne(Ye,vr=>{var In;h(Dr)&&(h(Tr)&&((In=h(Tr))===null||In===void 0?void 0:In.length)>1||h(qn)===void 0)&&vr(tt)});var ht=ke(Ye),xt=ke(fe(ht));Dd(fe(xt),{showChevron:!0,clearable:!1,items:gn,get value(){return h(Yn)},set value(vr){$(Yn,vr)},$$legacy:!0});var Bt=ke(wo,2),Mr=fe(Bt),Fr=vr=>{var In=ZIe(),Q=fe(In);nt(()=>Xt(Q,h(dr))),ge(vr,In)};Ne(Mr,vr=>{h(dr)&&vr(Fr)});var Rr=fe(ke(Bt,2));ws(()=>Xe("click",Rr,Un)),Vs(Rr,vr=>er==null?void 0:er(vr)),nt(vr=>{var In;fp(He,vr),Rr.disabled=!!(h(Dr)&&h(Tr)&&((In=h(Tr))===null||In===void 0?void 0:In.length)>1)&&!h(qn)},[()=>et()&&!En(et())?Ma(et()):"(document root)"],We),ge(Vo,tn)},$$slots:{default:!0}}),Ht()})(Yt,Iu(()=>h(Fe),{onClose:()=>{var Ar;(Ar=h(Fe))===null||Ar===void 0||Ar.onClose(),$(Fe,void 0)}}))};Ne(ur,Yt=>{h(Fe)&&Yt(Et)});var gr=ke(ur,2),Jr=Yt=>{rIe(Yt,Iu(()=>h(Ze),{onClose:()=>{var Ar;(Ar=h(Ze))===null||Ar===void 0||Ar.onClose(),$(Ze,void 0)}}))};Ne(gr,Yt=>{h(Ze)&&Yt(Jr)});var xr=ke(gr,2),un=Yt=>{(function(Ar,Jt){Ut(Jt,!1);var ir=he(void 0,!0),_n=he(void 0,!0),Pn=he(void 0,!0),Dr=he(void 0,!0),Or=ss("jsoneditor:JSONEditorModal"),Tr=T(Jt,"content",9),Xn=T(Jt,"path",9),_e=T(Jt,"onPatch",9),Be=T(Jt,"readOnly",9),et=T(Jt,"indentation",9),Er=T(Jt,"tabSize",9),on=T(Jt,"truncateTextSize",9),zr=T(Jt,"mainMenuBar",9),gn=T(Jt,"navigationBar",9),Vn=T(Jt,"statusBar",9),qn=T(Jt,"askToFormat",9),Yn=T(Jt,"escapeControlCharacters",9),dr=T(Jt,"escapeUnicodeCharacters",9),Un=T(Jt,"flattenColumns",9),er=T(Jt,"parser",9),Vo=T(Jt,"validator",9),ut=T(Jt,"validationParser",9),tn=T(Jt,"pathParser",9),Sn=T(Jt,"onRenderValue",9),sn=T(Jt,"onClassName",9),wo=T(Jt,"onRenderMenu",9),Ks=T(Jt,"onRenderContextMenu",9),Y=T(Jt,"onSortModal",9),Le=T(Jt,"onTransformModal",9),He=T(Jt,"onClose",9),Ye=he(void 0,!0),tt=he(void 0,!0),ht={mode:Mr(Tr()),content:Tr(),selection:void 0,relativePath:Xn()},xt=he([ht],!0),Bt=he(void 0,!0);function Mr(lt){return Wg(lt)&&Ao(lt.json)?Jo.table:Jo.tree}function Fr(){var lt,$t=(lt=qr(h(xt)))===null||lt===void 0?void 0:lt.selection;Zg($t)&&h(Ye).scrollTo(Pt($t))}function Rr(){if(Or("handleApply"),!Be())try{$(Bt,void 0);var lt=h(ir).relativePath,$t=h(ir).content,nr=[{op:"replace",path:Wt(lt),value:hD($t,er()).json}];if(h(xt).length>1){var Kr=hD(h(xt)[h(xt).length-2].content,er()).json,Vr={json:La(Kr,nr)},Cn=rt(rt({},h(xt)[h(xt).length-2]||ht),{},{content:Vr});$(xt,[...h(xt).slice(0,h(xt).length-2),Cn]),so(),Fr()}else _e()(nr),He()()}catch(tr){$(Bt,String(tr))}}function vr(){if(Or("handleClose"),h(tt))$(tt,!1);else if(h(xt).length>1){var lt;$(xt,Xr(h(xt))),so(),(lt=h(Ye))===null||lt===void 0||lt.focus(),Fr(),$(Bt,void 0)}else He()()}function In(lt){Or("handleChange",lt),Ke($t=>rt(rt({},$t),{},{content:lt}))}function Q(lt){Or("handleChangeSelection",lt),Ke($t=>rt(rt({},$t),{},{selection:lt}))}function Ie(lt){Or("handleChangeMode",lt),Ke($t=>rt(rt({},$t),{},{mode:lt}))}function Ke(lt){var $t=lt(qr(h(xt)));$(xt,[...Xr(h(xt)),$t])}function yt(lt){$(Bt,lt.toString()),console.error(lt)}function at(lt){var $t,{content:nr,path:Kr}=lt;Or("handleJSONEditorModal",{content:nr,path:Kr});var Vr={mode:Mr(nr),content:nr,selection:void 0,relativePath:Kr};$(xt,[...h(xt),Vr]),so(),($t=h(Ye))===null||$t===void 0||$t.focus()}function st(lt){lt.focus()}Is(()=>{var lt;(lt=h(Ye))===null||lt===void 0||lt.focus()}),$e(()=>h(xt),()=>{$(ir,qr(h(xt))||ht)}),$e(()=>h(xt),()=>{$(_n,h(xt).flatMap(lt=>lt.relativePath))}),$e(()=>(h(_n),Ma),()=>{$(Pn,En(h(_n))?"(document root)":Ma(h(_n)))}),$e(()=>de(er()),()=>{$(Dr,Ag(er().parse))}),mn(),fr(!0),tv(Ar,{onClose:vr,className:"jse-jsoneditor-modal",get fullscreen(){return h(tt)},children:(lt,$t)=>{var nr=JIe();u2(fe(nr),{children:(Kr,Vr)=>{var Cn=GIe(),tr=Kt(Cn),po=We(()=>h(xt).length>1?" (".concat(h(xt).length,")"):"");W1(tr,{get title(){var $r;return"Edit nested content ".concat(($r=h(po))!==null&&$r!==void 0?$r:"")},fullScreenButton:!0,onClose:vr,get fullscreen(){return h(tt)},set fullscreen($r){$(tt,$r)},$$legacy:!0});var Dn=ke(tr,2),Hn=ke(fe(Dn),2),dn=ke(Hn,4);no(ZD(fe(dn),{get externalMode(){return h(ir).mode},get content(){return h(ir).content},get selection(){return h(ir).selection},get readOnly(){return Be()},get indentation(){return et()},get tabSize(){return Er()},get truncateTextSize(){return on()},get statusBar(){return Vn()},get askToFormat(){return qn()},get mainMenuBar(){return zr()},get navigationBar(){return gn()},get escapeControlCharacters(){return Yn()},get escapeUnicodeCharacters(){return dr()},get flattenColumns(){return Un()},get parser(){return er()},get parseMemoizeOne(){return h(Dr)},get validator(){return Vo()},get validationParser(){return ut()},get pathParser(){return tn()},insideModal:!0,onError:yt,onChange:In,onChangeMode:Ie,onSelect:Q,get onRenderValue(){return Sn()},get onClassName(){return sn()},onFocus:Zi,onBlur:Zi,get onRenderMenu(){return wo()},get onRenderContextMenu(){return Ks()},get onSortModal(){return Y()},get onTransformModal(){return Le()},onJSONEditorModal:at,$$legacy:!0}),$r=>$(Ye,$r),()=>h(Ye));var Tt=fe(ke(dn,2)),Lt=$r=>{var Bo=VIe(),_s=fe(Bo);nt(()=>Xt(_s,h(Bt))),ge($r,Bo)};Ne(Tt,$r=>{h(Bt)&&$r(Lt)});var cn=ke(Tt,2),oo=$r=>{var Bo=UIe();Wr(fe(Bo),{data:Dxe}),Xe("click",Bo,vr),ge($r,Bo)};Ne(cn,$r=>{h(xt).length>1&&$r(oo)});var xo=ke(cn,2),wn=$r=>{var Bo=HIe();ws(()=>Xe("click",Bo,Rr)),Vs(Bo,_s=>st==null?void 0:st(_s)),ge($r,Bo)},vn=$r=>{var Bo=WIe();Xe("click",Bo,vr),ge($r,Bo)};Ne(xo,$r=>{Be()?$r(vn,!1):$r(wn)}),nt(()=>fp(Hn,h(Pn))),ge(Kr,Cn)},$$slots:{default:!0}}),ge(lt,nr)},$$slots:{default:!0}}),Ht()})(Yt,Iu(()=>h(Me),{onClose:()=>{var Ar;(Ar=h(Me))===null||Ar===void 0||Ar.onClose(),$(Me,void 0)}}))};Ne(xr,Yt=>{h(Me)&&Yt(un)}),nt(Yt=>De=hr(Ot,1,"jse-main svelte-57bmz4",null,De,Yt),[()=>({"jse-focus":h(ee)})],We),Xe("keydown",Ot,Fn),ge(Qe,ot)},$$slots:{default:!0}}),lr(t,"get",pt),lr(t,"set",St),lr(t,"update",rr),lr(t,"patch",Ve),lr(t,"select",Ft),lr(t,"expand",_r),lr(t,"collapse",Bn),lr(t,"transform",Lr),lr(t,"validate",Sr),lr(t,"acceptAutoRepair",W),lr(t,"scrollTo",Ee),lr(t,"findElement",br),lr(t,"focus",wr),lr(t,"refresh",Gt),lr(t,"updateProps",Dt),lr(t,"destroy",mr),Ht({get:pt,set:St,update:rr,patch:Ve,select:Ft,expand:_r,collapse:Bn,transform:Lr,validate:Sr,acceptAutoRepair:W,scrollTo:Ee,findElement:br,focus:wr,refresh:Gt,updateProps:Dt,destroy:mr})}function t4e(e){var{target:t,props:r}=e,n=GOe(e4e,{target:t,props:r});return n.destroy=pr(function*(){return function(o,s){var i=s2.get(o);return i?(s2.delete(o),i(s)):Promise.resolve()}(n)}),so(),n}const r4e=/"(?:_|\\u0{2}5[Ff]){2}(?:p|\\u0{2}70)(?:r|\\u0{2}72)(?:o|\\u0{2}6[Ff])(?:t|\\u0{2}74)(?:o|\\u0{2}6[Ff])(?:_|\\u0{2}5[Ff]){2}"\s*:/,n4e=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,o4e=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function s4e(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){i4e(e);return}return t}function i4e(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function vb(e,t={}){if(typeof e!="string")return e;const r=e.trim();if(e[0]==='"'&&e.endsWith('"')&&!e.includes("\\"))return r.slice(1,-1);if(r.length<=9){const n=r.toLowerCase();if(n==="true")return!0;if(n==="false")return!1;if(n==="undefined")return;if(n==="null")return null;if(n==="nan")return Number.NaN;if(n==="infinity")return Number.POSITIVE_INFINITY;if(n==="-infinity")return Number.NEGATIVE_INFINITY}if(!o4e.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(r4e.test(e)||n4e.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,s4e)}return JSON.parse(e)}catch(n){if(t.strict)throw n;return e}}function a4e(e,t={}){return vb(e,{...t,strict:!0})}var l4e=typeof global=="object"&&global&&global.Object===Object&&global,c4e=typeof self=="object"&&self&&self.Object===Object&&self,VF=l4e||c4e||Function("return this")(),J1=VF.Symbol,UF=Object.prototype,u4e=UF.hasOwnProperty,d4e=UF.toString,km=J1?J1.toStringTag:void 0;function p4e(e){var t=u4e.call(e,km),r=e[km];try{e[km]=void 0;var n=!0}catch{}var o=d4e.call(e);return n&&(t?e[km]=r:delete e[km]),o}var f4e=Object.prototype,h4e=f4e.toString;function m4e(e){return h4e.call(e)}var g4e="[object Null]",v4e="[object Undefined]",XD=J1?J1.toStringTag:void 0;function y4e(e){return e==null?e===void 0?v4e:g4e:XD&&XD in Object(e)?p4e(e):m4e(e)}function b4e(e){return e!=null&&typeof e=="object"}var w4e="[object Symbol]";function x4e(e){return typeof e=="symbol"||b4e(e)&&y4e(e)==w4e}var k4e=/\s/;function j4e(e){for(var t=e.length;t--&&k4e.test(e.charAt(t)););return t}var _4e=/^\s+/;function S4e(e){return e&&e.slice(0,j4e(e)+1).replace(_4e,"")}function $2(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var YD=NaN,C4e=/^[-+]0x[0-9a-f]+$/i,A4e=/^0b[01]+$/i,E4e=/^0o[0-7]+$/i,O4e=parseInt;function eM(e){if(typeof e=="number")return e;if(x4e(e))return YD;if($2(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=$2(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=S4e(e);var r=A4e.test(e);return r||E4e.test(e)?O4e(e.slice(2),r?2:8):C4e.test(e)?YD:+e}var Uj=function(){return VF.Date.now()},$4e="Expected a function",T4e=Math.max,P4e=Math.min;function I4e(e,t,r){var n,o,s,i,a,l,c=0,u=!1,d=!1,p=!0;if(typeof e!="function")throw new TypeError($4e);t=eM(t)||0,$2(r)&&(u=!!r.leading,d="maxWait"in r,s=d?T4e(eM(r.maxWait)||0,t):s,p="trailing"in r?!!r.trailing:p);function f(j){var _=n,C=o;return n=o=void 0,c=j,i=e.apply(C,_),i}function m(j){return c=j,a=setTimeout(y,t),u?f(j):i}function v(j){var _=j-l,C=j-c,A=t-_;return d?P4e(A,s-C):A}function g(j){var _=j-l,C=j-c;return l===void 0||_>=t||_<0||d&&C>=s}function y(){var j=Uj();if(g(j))return b(j);a=setTimeout(y,v(j))}function b(j){return a=void 0,p&&n?f(j):(n=o=void 0,i)}function w(){a!==void 0&&clearTimeout(a),c=0,n=l=o=a=void 0}function k(){return a===void 0?i:b(Uj())}function x(){var j=Uj(),_=g(j);if(n=arguments,o=this,l=j,_){if(a===void 0)return m(l);if(d)return clearTimeout(a),a=setTimeout(y,t),f(l)}return a===void 0&&(a=setTimeout(y,t)),i}return x.cancel=w,x.flush=k,x}var HF=typeof global=="object"&&global&&global.Object===Object&&global,D4e=typeof self=="object"&&self&&self.Object===Object&&self,Kl=HF||D4e||Function("return this")(),zl=Kl.Symbol,WF=Object.prototype,M4e=WF.hasOwnProperty,N4e=WF.toString,jm=zl?zl.toStringTag:void 0;function L4e(e){var t=M4e.call(e,jm),r=e[jm];try{e[jm]=void 0;var n=!0}catch{}var o=N4e.call(e);return n&&(t?e[jm]=r:delete e[jm]),o}var R4e=Object.prototype,B4e=R4e.toString;function q4e(e){return B4e.call(e)}var z4e="[object Null]",F4e="[object Undefined]",tM=zl?zl.toStringTag:void 0;function Lp(e){return e==null?e===void 0?F4e:z4e:tM&&tM in Object(e)?L4e(e):q4e(e)}function Fl(e){return e!=null&&typeof e=="object"}var V4e="[object Symbol]";function WE(e){return typeof e=="symbol"||Fl(e)&&Lp(e)==V4e}function U4e(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r0){if(++t>=uDe)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}function hDe(e){return function(){return e}}var K1=function(){try{var e=Bp(Object,"defineProperty");return e({},"",{}),e}catch{}}(),mDe=K1?function(e,t){return K1(e,"toString",{configurable:!0,enumerable:!1,value:hDe(t),writable:!0})}:GE,gDe=fDe(mDe);function vDe(e,t){for(var r=-1,n=e==null?0:e.length;++r-1&&e%1==0&&e-1&&e%1==0&&e<=_De}function Ix(e){return e!=null&&QE(e.length)&&!JE(e)}function SDe(e,t,r){if(!Ql(r))return!1;var n=typeof t;return(n=="number"?Ix(r)&&KE(t,r.length):n=="string"&&t in r)?Uv(r[t],e):!1}function QF(e){return jDe(function(t,r){var n=-1,o=r.length,s=o>1?r[o-1]:void 0,i=o>2?r[2]:void 0;for(s=e.length>3&&typeof s=="function"?(o--,s):void 0,i&&SDe(r[0],r[1],i)&&(s=o<3?void 0:s,o=1),t=Object(t);++n-1}function NMe(e,t){var r=this.__data__,n=Dx(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Qc(e){var t=-1,r=e==null?0:e.length;for(this.clear();++ta))return!1;var c=s.get(e),u=s.get(t);if(c&&u)return c==t&&u==e;var d=-1,p=!0,f=r&MLe?new X1:void 0;for(s.set(e,t),s.set(t,e);++dc===0?s(l):a(l,c)).join("")+o}function IRe(e){return t=>t.toLocaleLowerCase(e)}function DRe(e){return t=>t.toLocaleUpperCase(e)}function MRe(e,t){return(r,n)=>{const o=r[0];return(n>0&&o>="0"&&o<="9"?"_"+o:t(o))+e(r.slice(1))}}function NRe(e,t={}){const r=t.split??(t.separateNumbers?TRe:y7),n=t.prefixCharacters??OM,o=t.suffixCharacters??OM;let s=0,i=e.length;for(;ss;){const a=i-1,l=e.charAt(a);if(!o.includes(l))break;i=a}return[e.slice(0,s),r(e.slice(s,i)),e.slice(i)]}const og=e=>/.+-.+/.test(e)?PRe(e):e,LRe=e=>Object.prototype.toString.call(e).slice(8,-1)==="Object";function RRe(e,t){const r=Object.create(null),n=e.split(",");for(let o=0;o!!r[o]}const BRe=RRe("String,Number,Boolean,Function,Symbol,BigInt");function qRe(e){const t=e==null?void 0:e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function zRe(e,t){let r;const n=qRe(t);if(BRe(n)){const o=typeof e;r=o===n.toLowerCase(),!r&&o==="object"&&(r=e instanceof t)}else n==="Object"?r=Ql(e):n==="Array"?r=Array.isArray(e):n==="null"?r=e===null:r=e instanceof t;return{valid:r,expectedType:n}}function FRe({prop:e,type:t,validator:r}){if(![void 0,null].includes(e)&&t){let n=!1;const o=Array.isArray(t)?t:[t],s=[];for(let i=0;i=0;i--)o.push(e[i]);const s=r||(n?(i,a)=>typeof i=="function"&&typeof a=="function"?n==null?void 0:n(a,i):void 0:void 0);return t==="deep"?SRe(...o,s):gMe(...o,s)}function URe(e,{mergeFunction:t}){return e.reduce(t,()=>{})}function au(e,t={}){const{type:r,default:n,defaultIsDynamic:o=!1,required:s=!1,validator:i,camelizeObjectKeys:a=!1,mergeObjectApplyOnlyToDefault:l=!1,mergeFunctionApplyOnlyToDefault:c=!0}=t;let{mergeObject:u="deep",mergeObjectCustomizer:d,mergeFunction:p=!1}=t;const f=[];let m,v=!1,g=!1;const y=b=>{if(b!==void 0){FRe({type:r,prop:b,validator:i});const w=LRe(b),k=typeof b=="function";return v=w,g=k,w?(b=ELe(b),a?CRe(b,(x,j)=>og(j)):b):b}};for(const b of e)f.push(y(b));if(!o)f.push(y(n));else if(typeof n!="function")throw new TypeError(`Invalid option: options.default should be Function when options.defaultIsDynamic enabled, receiving: ${n}`);v||(u=!1,g||(p=!1));for(let b=0;bog(s)):t;else if(r){o=[];for(const s in t)o.push(og(s))}else o=Object.keys(t);for(const s in e)if(s.startsWith("@")){const i=s.substring(1);if(i.startsWith("vue:"))n.hooks[$M(i.replace("vue:","vnode-"))]=e[s];else{if(i.startsWith("vnode"))throw new Error("@vnode-* hooks are no longer supported. Use the vue: prefix instead. For example, @vnode-mounted should be changed to @vue:mounted. @vnode-* hooks support has been removed in Vue 3.4.");n.listeners[$M(i)]=e[s]}}else if(s.startsWith("#")){const i=s.substring(1);i&&(n.slots[i]=e[s])}else{const i=r?og(s):s;o.includes(i)?n.props[i]=e[s]:n.attrs[s]=e[s]}return n}const TM="JsonEditorVue",bb=["mainMenuBar","navigationBar","statusBar","askToFormat","readOnly","escapeControlCharacters","escapeUnicodeCharacters","flattenColumns"],nu={},PM={},wb="modelValue",IM="update:modelValue",DM={[wb]:{},mode:{type:String},debounce:{type:Number},stringified:{type:Boolean,default:void 0},...Object.fromEntries(bb.map(e=>[e,{type:Boolean,default:void 0}]))},WRe=Te({name:TM,install(e,t){const r=HRe(t||{},{props:DM});Object.assign(nu,r.props),Object.assign(PM,r.attrs),e.component(TM,this)},props:DM,emits:{[IM](e){return!0},"update:mode":function(e){return!0}},setup(e,{attrs:t,emit:r,expose:n}){var o;const s=(o=Vc())==null?void 0:o.proxy,i=Oe(),a=Oe(!1),l=Oe();No(()=>{var y;l.value=au([e.mode,nu.mode],{type:String}),(y=i.value)==null||y.updateProps({mode:l.value||Jo.tree})});const c=y=>{r("update:mode",y)};nu.mode!==void 0&&e.mode===void 0&&c(nu.mode);const u=le(()=>au([e.debounce,nu.debounce,300],{type:Number})),d=le(()=>au([e.stringified,nu.stringified,!0],{type:Boolean}));let p=vb;const f=y=>{a.value=!0,!d.value&&y.text&&(i.value&&!i.value.validate()&&(y.json=p(y.text)),y.text=void 0),r(IM,y.text===void 0?y.json:y.text)},m=I4e(f,u.value),v=y=>{l.value==="text"?m(y):f(y)},g=(y,b)=>(...w)=>{y(...w),b(...w)};return n==null||n({jsonEditor:i}),nd(()=>{var y;(y=i.value)==null||y.destroy()}),Oo(()=>{const y=au([e[wb],nu[wb]]),b=Object.fromEntries(Array.from(bb,k=>[k,au([e[k],nu[k]])]).filter(([,k])=>k!==void 0)),w=au([b,t,PM],{camelizeObjectKeys:!0,defaultIsDynamic:!0,default:k=>{var x;return p=((x=k.parser)==null?void 0:x.parse)||vb,{onChange:v,onChangeMode:c,mode:l.value,parser:{parse:a4e,stringify:JSON.stringify},...y!==void 0&&{content:{[typeof y=="string"&&l.value==="text"&&d.value?"text":"json"]:y}}}},mergeFunction:g,mergeObject:"shallow",type:Object});i.value=t4e({target:s==null?void 0:s.$refs.jsonEditorRef,props:w}),cr(()=>e[wb],k=>{if(a.value){a.value=!1;return}i.value&&i.value.set([void 0,""].includes(k)?{text:""}:{[typeof k=="string"&&l.value==="text"&&d.value?"text":"json"]:k})},{deep:!0}),cr(()=>Array.from(bb,k=>e[k]),k=>{var x;(x=i.value)==null||x.updateProps(Object.fromEntries(Array.from(k,(j,_)=>[bb[_],j]).filter(([,j])=>j!==void 0)))}),cr(()=>t,k=>{var x,j;const _={};(k.onChange||k["on-change"])&&(_.onChange=v),(k.onChangeMode||k["on-change-mode"])&&(_.onChangeMode=c),p=((x=k.parser)==null?void 0:x.parse)||vb,(j=i.value)==null||j.updateProps(Object.getOwnPropertyNames(_).length>0?au([k,_],{camelizeObjectKeys:!0,mergeFunction:g,mergeObject:"shallow",type:Object}):k)},{deep:!0}),n||(n=k=>{for(const x in k)s[x]=S(k[x])},n({jsonEditor:i}))}),()=>_l("div",{ref:"jsonEditorRef"})}}),b7={__name:"OAJSONEditor",props:{modelValue:{type:Object,required:!0},options:{type:Object,default:()=>({})}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=t,o=le({get:()=>r.modelValue,set:a=>n("update:modelValue",a)}),s=kn(),i=s.isDark;return(a,l)=>(E(),ve(S(WRe),{modelValue:o.value,"onUpdate:modelValue":l[0]||(l[0]=c=>o.value=c),"main-menu-bar":S(s).getPlaygroundJsonEditorMainMenuBar(),"navigation-bar":S(s).getPlaygroundJsonEditorNavigationBar(),mode:S(s).getPlaygroundJsonEditorMode(),"status-bar":S(s).getPlaygroundJsonEditorStatusBar(),class:Nt(["oa-jse",{"oa-jse-theme-dark":S(i),"oa-jse-theme-light":!S(i)}])},null,8,["modelValue","main-menu-bar","navigation-bar","mode","status-bar","class"]))}},GRe=Te({__name:"Textarea",props:{class:{type:[Boolean,null,String,Object,Array]},defaultValue:{},modelValue:{}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=ca(r,"modelValue",t,{passive:!0,defaultValue:r.defaultValue});return(o,s)=>u_((E(),K("textarea",{"onUpdate:modelValue":s[0]||(s[0]=i=>yc(n)?n.value=i:null),class:Nt(S(Ko)("flex min-h-20 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r.class))},null,2)),[[hU,S(n)]])}}),MM=Te({__name:"Checkbox",props:{variant:{},defaultValue:{},modelValue:{},disabled:{type:Boolean},value:{},id:{},trueValue:{},falseValue:{},asChild:{type:Boolean},as:{},name:{},required:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=t,o=le(()=>{const{class:i,...a}=r;return a}),s=Gc(o,n);return(i,a)=>(E(),ve(S(Yfe),jr(S(s),{class:S(Ko)(S(JRe)({variant:r.variant}),r.class)}),{default:U(()=>[ye(S(the),{class:"flex h-full w-full items-center justify-center text-current"},{default:U(()=>[pe(i.$slots,"default",{},()=>[ye(S(B5),{class:"h-4 w-4"})])]),_:3})]),_:3},16,["class"]))}}),JRe=Sw("peer h-4 w-4 shrink-0 rounded-sm border border-primary ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",{variants:{variant:{default:"data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground data-[state=unchecked]:bg-white data-[state=unchecked]:border-solid data-[state=unchecked]:dark:bg-gray-600",toggle:"border-solid"}},defaultVariants:{variant:"default"}}),KRe={key:0,class:"relative flex items-center w-full"},QRe=["type"],ZRe=["type"],Y1=Te({inheritAttrs:!1,__name:"Input",props:{defaultValue:{},modelValue:{},class:{type:[Boolean,null,String,Object,Array]},type:{},clearable:{type:Boolean}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=ca(r,"modelValue",t,{passive:!0,defaultValue:r.defaultValue});function o(){n.value=""}return(s,i)=>e.clearable?(E(),K("div",KRe,[u_(ue("input",jr(s.$attrs,{"onUpdate:modelValue":i[0]||(i[0]=a=>yc(n)?n.value=a:null),type:r.type??"text",class:S(Ko)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 pr-8",r.class)}),null,16,QRe),[[_O,S(n)]]),S(n)!==""&&S(n)!==null&&S(n)!==void 0?(E(),K("button",{key:0,type:"button",class:"absolute right-2 text-muted-foreground hover:text-foreground focus:outline-none",tabindex:"-1",onClick:o},[ye(S(Ome),{class:"h-4 w-4"})])):je("",!0)])):u_((E(),K("input",jr({key:1},s.$attrs,{"onUpdate:modelValue":i[1]||(i[1]=a=>yc(n)?n.value=a:null),type:r.type??"text",class:S(Ko)("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-sm ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",r.class)}),null,16,ZRe)),[[_O,S(n)]])}}),iO=Te({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:n,...o}=t;return o});return(n,o)=>(E(),ve(S(nhe),jr(r.value,{class:S(Ko)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",t.class)}),{default:U(()=>[pe(n.$slots,"default")]),_:3},16,["class"]))}}),XRe={key:0,class:"text-sm text-destructive"},YRe={key:3,class:"flex-grow flex items-center gap-1"},R2=Te({__name:"OAPlaygroundParameterInput",props:{parameter:{type:Object,required:!0},modelValue:{type:[String,Number,Boolean,null,Array,Object,File],required:!0},compositeKey:{type:String,required:!0},exampleBehavior:{type:String,default:"value"},xExampleBehavior:{type:String,default:"value"},enabled:{type:Boolean,default:!0},hideLabel:{type:Boolean,default:!1}},emits:["update:modelValue","update:enabled","submit"],setup(e,{emit:t}){const r=e,n=t,{t:o}=Jn(),s=le(()=>zge(r.parameter,r.exampleBehavior,r.xExampleBehavior)),i=le(()=>V_(r.parameter,r.exampleBehavior,r.xExampleBehavior)),a=le(()=>TT(s.value??o("Select"))),l=le(()=>TT(s.value??"")),c=le(()=>typeof r.modelValue=="object"&&r.modelValue!==null?JSON.stringify(r.modelValue):r.modelValue);Oo(()=>{var m;(m=r.parameter.schema)!=null&&m.enum&&n("update:modelValue",i.value??r.parameter.schema.enum[0])});function u(m){r.enabled||n("update:enabled",!0),n("update:modelValue",m)}function d(m){var v;return((v=m.schema)==null?void 0:v.format)==="binary"}function p(m){var v,g;return((v=m.schema)==null?void 0:v.type)==="integer"||((g=m.schema)==null?void 0:g.type)==="number"?"number":d(m)?"file":"text"}function f(m){var g,y;const v=(y=(g=m.target)==null?void 0:g.files)==null?void 0:y[0];u(v??null)}return(m,v)=>{var g,y,b,w,k,x;return E(),K("div",{class:Nt(["grid gap-2",{"grid-cols-2":!e.hideLabel,"grid-cols-1":e.hideLabel,"items-center":((g=e.parameter.schema)==null?void 0:g.type)!=="object","items-start":((y=e.parameter.schema)==null?void 0:y.type)==="object"}])},[e.hideLabel?je("",!0):(E(),K("div",{key:0,class:Nt(["flex items-center gap-2",{"pt-2":((b=e.parameter.schema)==null?void 0:b.type)==="object"}])},[ye(S(MM),{id:`enable-${e.compositeKey}`,name:`enable-${e.compositeKey}`,"model-value":e.enabled,variant:"toggle","onUpdate:modelValue":v[0]||(v[0]=j=>n("update:enabled",j))},null,8,["id","name","model-value"]),e.parameter.name?(E(),ve(S(iO),{key:0,for:e.compositeKey,class:"text-sm font-bold space-x-2"},{default:U(()=>[ue("span",null,ze(e.parameter.name),1),e.parameter.required?(E(),K("span",XRe,"*")):je("",!0)]),_:1},8,["for"])):je("",!0)],2)),ue("div",{class:Nt(["flex items-center flex-grow gap-2",{"opacity-50":!e.enabled}])},[["boolean"].includes((w=e.parameter.schema)==null?void 0:w.type)?(E(),ve(S(MM),{key:0,id:e.compositeKey,name:e.compositeKey,"model-value":String(e.modelValue)===""?"indeterminate":e.modelValue,"onUpdate:modelValue":v[1]||(v[1]=j=>u(j)),onKeydown:v[2]||(v[2]=ep(j=>n("submit"),["enter"]))},null,8,["id","name","model-value"])):(k=e.parameter.schema)!=null&&k.enum?(E(),ve(S(Cp),{key:1,id:e.compositeKey,name:e.compositeKey,"model-value":String(e.modelValue??""),"onUpdate:modelValue":v[3]||(v[3]=j=>u(j))},{default:U(()=>[ye(S(Tp),{"aria-label":a.value},{default:U(()=>[ye(S($h),{placeholder:a.value},null,8,["placeholder"])]),_:1},8,["aria-label"]),ye(S(Ap),null,{default:U(()=>[ye(S(Ep),null,{default:U(()=>[(E(!0),K(dt,null,zt(e.parameter.schema.enum,j=>(E(),ve(S($p),{key:j,value:String(j)},{default:U(()=>[Vt(ze(j),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["id","name","model-value"])):((x=e.parameter.schema)==null?void 0:x.type)==="object"?(E(),ve(b7,{key:2,"model-value":e.modelValue,class:"w-full h-32","onUpdate:modelValue":v[4]||(v[4]=j=>u(j))},null,8,["model-value"])):(E(),K("div",YRe,[d(e.parameter)?(E(),ve(S(Y1),{key:0,id:e.compositeKey,name:e.compositeKey,type:"file",class:"bg-muted",onChange:f},null,8,["id","name"])):(E(),ve(S(Y1),{key:1,id:e.compositeKey,name:e.compositeKey,"model-value":c.value,type:p(e.parameter),placeholder:l.value,clearable:"",class:"bg-muted","onUpdate:modelValue":v[5]||(v[5]=j=>u(j)),onKeydown:v[6]||(v[6]=ep(j=>n("submit"),["enter"]))},null,8,["id","name","model-value","type","placeholder"]))]))],2)],2)}}}),e8e={key:0,class:"bg-muted p-1 rounded"},t8e={key:0,class:"!m-0 vp-adaptive-theme min-h-16 language-json"},r8e={key:2,class:"flex flex-col gap-1"},n8e=Te({__name:"OAPlaygroundBodyInput",props:{operationId:{},body:{},contentType:{},requestBody:{},enabledParameters:{},examples:{},exampleBehavior:{},xExampleBehavior:{}},emits:["update:body","update:enabled","submit"],setup(e,{emit:t}){const r=e,n=t,o=le({get:()=>r.body,set:w=>n("update:body",w)}),s=le(()=>bL(r.contentType)),i=le(()=>bw(r.contentType)),a=le(()=>ww(r.contentType)),l=le(()=>mC(r.contentType)),c=le(()=>l.value),u=le(()=>{var w,k,x,j;return!((j=(x=(k=(w=r.requestBody)==null?void 0:w.content)==null?void 0:k[r.contentType])==null?void 0:x.schema)!=null&&j.properties)}),d=le(()=>{var w,k,x,j,_,C,A,I;if(u.value){const M=Ub(r.exampleBehavior??"value");return[{name:"body",in:"body",schema:(x=(k=(w=r.requestBody)==null?void 0:w.content)==null?void 0:k[r.contentType])==null?void 0:x.schema,example:M&&r.examples?(j=Object.values(r.examples)[0])==null?void 0:j.value:null}]}return Object.keys(((I=(A=(C=(_=r.requestBody)==null?void 0:_.content)==null?void 0:C[r.contentType])==null?void 0:A.schema)==null?void 0:I.properties)??{}).map(M=>{var L,F,z,N,X,V,J,oe,H,B;return{name:M,in:"body",required:(X=(N=(z=(F=(L=r.requestBody)==null?void 0:L.content)==null?void 0:F[r.contentType])==null?void 0:z.schema)==null?void 0:N.required)==null?void 0:X.includes(M),schema:(B=(H=(oe=(J=(V=r.requestBody)==null?void 0:V.content)==null?void 0:J[r.contentType])==null?void 0:oe.schema)==null?void 0:H.properties)==null?void 0:B[M]}})}),p=le(()=>w=>i.value||a.value?f.value[w.name]||"":o.value),f=Oe({}),m=le(()=>Object.keys(f.value).filter(w=>{const k=d.value.find(x=>x.name===w);return k&&(r.enabledParameters[Ii({parameter:k,operationId:r.operationId})]??r.enabledParameters.body)})),v=le(()=>d.value.map(w=>{const k=Ii({parameter:w,operationId:r.operationId});return{parameter:w,compositeKey:k,enabled:r.enabledParameters[k]??r.enabledParameters.body}}));function g(w){if(i.value)return Object.fromEntries(w.map(k=>[k,f.value[k]]));if(a.value){const k=new FormData;return w.forEach(x=>{const j=f.value[x];j instanceof File?k.append(x,j,j.name):k.append(x,j||"")}),k}return{}}function y(w,k){if(f.value[w.name]=k,i.value||a.value){const x=m.value;o.value=g(x)}else o.value=k}function b(w,k){if(n("update:enabled",Ii({parameter:w,operationId:r.operationId}),k),i.value||a.value){const x=m.value;o.value=g(x)}}return cr(()=>r.body,w=>{if(i.value&&typeof w=="string"){const k=new URLSearchParams(w),x={};k.forEach((j,_)=>{x[_]=j}),f.value=x}else if(a.value&&w instanceof FormData){const k={};w.forEach((x,j)=>{k[j]=x}),f.value=k}},{immediate:!0}),cr(()=>r.contentType,()=>{var k;const w=Ub(r.exampleBehavior??"value");o.value=w?(k=Object.values(r.examples??{})[0])==null?void 0:k.value:null},{immediate:!0}),(w,k)=>(E(),K("div",null,[s.value?(E(),K("div",e8e,[o.value!==null?(E(),K("div",t8e,[k[3]||(k[3]=ue("button",{title:"Copy Code",class:"copy"},null,-1)),k[4]||(k[4]=ue("span",{class:"lang"},"JSON",-1)),ye(b7,{modelValue:o.value,"onUpdate:modelValue":k[0]||(k[0]=x=>o.value=x),class:"w-full"},null,8,["modelValue"])])):je("",!0)])):c.value&&o.value!==null&&typeof o.value=="string"?(E(),ve(S(GRe),{key:1,id:`body-textarea-${r.operationId}`,"model-value":o.value,name:`body-textarea-${r.operationId}`,disabled:!r.enabledParameters.body,rows:l.value?7:1,autocorrect:!1,autocomplete:!1,autocapitalize:!1,spellcheck:!1,class:"bg-muted",onInput:k[1]||(k[1]=x=>o.value=x.target.value)},null,8,["id","model-value","name","disabled","rows"])):(E(),K("div",r8e,[(E(!0),K(dt,null,zt(v.value,x=>(E(),ve(R2,{key:x.compositeKey,"model-value":p.value(x.parameter),parameter:x.parameter,"composite-key":x.compositeKey,"example-behavior":r.exampleBehavior??"value","x-example-behavior":r.xExampleBehavior??"value",enabled:x.enabled,"hide-label":v.value.length===1,"onUpdate:modelValue":j=>y(x.parameter,j),"onUpdate:enabled":j=>b(x.parameter,j),onSubmit:k[2]||(k[2]=j=>n("submit"))},null,8,["model-value","parameter","composite-key","example-behavior","x-example-behavior","enabled","hide-label","onUpdate:modelValue","onUpdate:enabled"]))),128))]))]))}}),o8e={class:"flex flex-col space-y-2"},s8e=Te({__name:"OAPlaygroundSecurityInput",props:{scheme:{type:Object,required:!0},modelValue:{type:[String,Number],required:!0},name:{type:String,required:!0}},emits:["update:modelValue","submit"],setup(e,{emit:t}){const r=e,n=t,o=le(()=>{var s;return r.modelValue?r.modelValue:(s=r.scheme)!=null&&s.example?r.scheme.example:kv().getSecuritySchemeDefaultValue(r.scheme)});return(s,i)=>(E(),K("div",o8e,[ye(S(Y1),{id:e.name,"model-value":e.modelValue,name:e.name,type:"text",placeholder:o.value,clearable:"",class:"bg-muted","onUpdate:modelValue":i[0]||(i[0]=a=>n("update:modelValue",a)),onKeydown:i[1]||(i[1]=ep(a=>n("submit"),["enter"]))},null,8,["id","model-value","name","placeholder"])]))}}),i8e={class:"relative w-full h-10"},a8e={key:0,class:"oa-custom-input absolute inset-0"},NM="custom",l8e=Te({__name:"SelectWithCustomOption",props:{modelValue:{default:""},isCustom:{type:Boolean,default:!1},customValue:{default:void 0},options:{},placeholder:{default:"Select an option..."},defaultCustomValue:{default:""},customOptionLabel:{default:"Custom..."},customPlaceholder:{default:"Enter custom value..."},allowCustomOption:{type:Boolean,default:!0}},emits:["update:modelValue","update:customValue","update:isCustom","submit"],setup(e,{emit:t}){const r=e,n=t,o=ca(r,"modelValue",n),s=ca(r,"isCustom",n),i=ca(r,"customValue",n),{t:a}=Jn();cr(i,u=>{u!==void 0&&(s.value&&(o.value=u),n("update:customValue",u))});const l=le(()=>r.allowCustomOption?[...r.options,{label:r.customOptionLabel,value:NM}]:r.options),c=u=>{if(u===NM){s.value=!0;const d=document.querySelector(".oa-custom-input input");d&&d.focus(),o.value=r.defaultCustomValue}else s.value=!1,i.value=void 0,o.value=u};return(u,d)=>(E(),K("div",i8e,[S(s)?(E(),K("div",a8e,[ye(S(Y1),{modelValue:S(i),"onUpdate:modelValue":d[0]||(d[0]=p=>yc(i)?i.value=p:null),placeholder:e.customPlaceholder,clearable:"",class:"pr-8 bg-muted",onKeydown:d[1]||(d[1]=ep(p=>n("submit"),["enter"]))},null,8,["modelValue","placeholder"])])):je("",!0),ye(S(Cp),{"model-value":S(o),class:"absolute inset-0","onUpdate:modelValue":d[2]||(d[2]=p=>c(String(p)))},{default:U(()=>[ye(S(Tp),{"aria-label":S(a)("Select")},{default:U(()=>[ye(S($h),{placeholder:e.placeholder,class:"text-start"},null,8,["placeholder"])]),_:1},8,["aria-label"]),ye(S(Ap),null,{default:U(()=>[ye(S(Ep),null,{default:U(()=>[(E(!0),K(dt,null,zt(l.value,p=>(E(),ve(S($p),{key:typeof p=="object"?p.value:p,value:typeof p=="object"?p.value:p},{default:U(()=>[Vt(ze(typeof p=="object"?p.label:p),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["model-value"])]))}}),c8e={class:"OAPlaygroundParameters"},u8e={key:0,open:""},d8e={class:"flex flex-col gap-2"},p8e={key:1,open:""},f8e={key:0,class:"w-full max-w-[33%] md:max-w-[50%] ml-auto -mt-8"},h8e={class:"flex flex-col gap-2"},m8e={class:"flex flex-row items-center space-x-2"},g8e={class:"flex flex-row items-center space-x-2"},v8e={key:2,open:""},y8e={class:"flex flex-col gap-2"},b8e={key:3,open:""},w8e={class:"flex flex-col gap-1"},x8e={class:"flex flex-row gap-2"},k8e={class:"flex flex-row flex-grow gap-2"},j8e={class:"w-1/2 flex justify-start"},_8e={class:"text-xs text-muted-foreground uppercase"},S8e={class:"w-1/2 flex justify-start"},C8e={class:"text-xs text-muted-foreground uppercase"},A8e={key:4,open:""},E8e=Te({__name:"OAPlaygroundParameters",props:{operationId:{type:String,required:!0},path:{type:String,required:!0},method:{type:String,required:!0},servers:{type:Array,default:()=>[]},parameters:{type:Array,required:!1,default:()=>[]},securityUi:{type:Object,required:!1,default:()=>[]},examples:{type:Object,required:!1},exampleBehavior:{type:String,default:"value"},xExampleBehavior:{type:String,default:"value"},requestBody:{type:Object,required:!1}},emits:["submit"],setup(e,{emit:t}){const r=e,n=t,o=_i(Th),{t:s}=Jn(),i=s("Key"),a=s("Value"),l=le({get:()=>o.playground.selectedServer.value,set:z=>{o.playground.selectedServer.value=z}}),c=le({get:()=>o.security.selectedSchemeId.value,set:z=>{o.security.selectedSchemeId.value=z}}),u=le({get:()=>o.requestBody.selectedContentType.value,set:z=>{o.requestBody.selectedContentType.value=z}}),d=le({get:()=>o.playground.request.value,set:z=>{o.playground.request.value=z}}),p=le(()=>kn().getServerAllowCustomServer()),{getStoragePrefix:f,getStoragePersistAuth:m}=kn(),v=f(),g=m(),y=Hm()?Tf(`${v}-use-custom-server`,p.value,localStorage):Oe(!1),b=r.parameters.filter(z=>z&&z.in==="header"),w=r.parameters.filter(z=>z&&z.in==="path"),k=r.parameters.filter(z=>z&&z.in==="query"),x=le(()=>r.servers),j=le(()=>x.value.map(z=>z.url).filter((z,N,X)=>X.indexOf(z)===N).filter(z=>z!==void 0)),_=Hm()?Tf(`${v}-custom-server-url`,l.value,localStorage):Oe(l.value);function C(z,N,X){return z.reduce((V,J)=>(J.name&&(V[J.name]=V_(J,N,X)??""),V),{})}const A=o.playground.parameterValues,I={...C(b,r.exampleBehavior,r.xExampleBehavior),...C(w,r.exampleBehavior,r.xExampleBehavior),...C(k,r.exampleBehavior,r.xExampleBehavior)};Object.keys(A.value).length===0?A.value=I:A.value={...I,...A.value};const M=Oe([...b,...w,...k].reduce((z,N)=>{if(N.name){const X=Ii({parameter:N,operationId:r.operationId});z[X]=N.required===!0}return z},{body:!0})),L=Oe([]),F=Oe(null);return cr([A,L,F,l,M],()=>{const z=r.parameters.filter(N=>N.name&&M.value[Ii({parameter:N,operationId:r.operationId})]);d.value=xw({baseUrl:l.value,method:r.method,path:r.path,variables:A.value,authorizations:L.value,body:M.value.body?F.value:void 0,parameters:z,contentType:u.value,headers:{...kn().getCodeSamplesDefaultHeaders()||{}}})},{deep:!0}),cr(c,z=>{var X,V,J;const N=((X=r.securityUi.find(oe=>oe.id===z))==null?void 0:X.schemes)||((J=(V=r.securityUi)==null?void 0:V[0])==null?void 0:J.schemes)||{};if(!N||!Object.keys(N).length){L.value=[];return}L.value=Object.keys(N).map(oe=>{const H=N[oe],B=kv().getSecuritySchemeDefaultValue(H),se=V_(H,r.exampleBehavior,r.xExampleBehavior)??B;return{type:H.type,scheme:H.scheme,in:H.in,name:H.name??oe,value:Hm()&&g?Tf(`${v}-authorization-${oe}`,se,localStorage):se,label:oe,example:se}})},{immediate:!0}),cr([o.security.securityValues,L],([z])=>{for(const[N,X]of Object.entries(z)){const V=L.value.find(J=>J.label===N);V&&(yc(V.value)?V.value.value=X:V.value=X)}},{deep:!0}),(z,N)=>{var X;return E(),K("div",c8e,[j.value.length>1||p.value?(E(),K("details",u8e,[ue("summary",null,ze(S(s)("Server")),1),ue("div",d8e,[ye(l8e,{modelValue:l.value,"onUpdate:modelValue":N[0]||(N[0]=V=>l.value=V),"custom-value":S(_),"onUpdate:customValue":N[1]||(N[1]=V=>yc(_)?_.value=V:null),"is-custom":S(y),"onUpdate:isCustom":N[2]||(N[2]=V=>yc(y)?y.value=V:null),"default-custom-value":S(_),options:j.value,"allow-custom-option":p.value,"custom-option-label":S(s)("Custom Server"),"custom-placeholder":S(s)("Enter a custom server URL"),placeholder:S(s)("Select a server"),onSubmit:N[3]||(N[3]=V=>n("submit"))},null,8,["modelValue","custom-value","is-custom","default-custom-value","options","allow-custom-option","custom-option-label","custom-placeholder","placeholder"])])])):je("",!0),(X=L.value)!=null&&X.length?(E(),K("details",p8e,[ue("summary",null,[Vt(ze(S(s)("Authorization"))+" ",1),r.securityUi.length>1?(E(),K("div",f8e,[ye(S(Cp),{modelValue:c.value,"onUpdate:modelValue":N[4]||(N[4]=V=>c.value=V)},{default:U(()=>[ye(S(Tp),{"aria-label":"Security Scheme",class:"h-9 px-3 py-1.5 text-foreground font-normal"},{default:U(()=>[ye(S($h),{placeholder:c.value??S(s)("Select")},null,8,["placeholder"])]),_:1}),ye(S(Ap),null,{default:U(()=>[ye(S(Ep),null,{default:U(()=>[(E(!0),K(dt,null,zt(r.securityUi,V=>(E(),ve(S($p),{key:V.id,value:V.id},{default:U(()=>[Vt(ze(V.id),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["modelValue"])])):je("",!0)]),ue("div",h8e,[(E(!0),K(dt,null,zt(L.value,V=>(E(),K("div",{key:V.name,class:"flex flex-col"},[ue("div",m8e,[ye(S(iO),{for:V.name,class:"text-sm font-bold"},{default:U(()=>[Vt(ze(V.label),1)]),_:2},1032,["for"])]),ue("div",g8e,[ye(s8e,{modelValue:V.value,"onUpdate:modelValue":J=>V.value=J,scheme:V,name:V.name,class:"w-full",onSubmit:N[5]||(N[5]=J=>n("submit"))},null,8,["modelValue","onUpdate:modelValue","scheme","name"])])]))),128))])])):je("",!0),S(b).length?(E(),K("details",v8e,[ue("summary",null,ze(S(s)("Headers")),1),ue("div",y8e,[(E(!0),K(dt,null,zt(S(b),V=>(E(),K("div",{key:S(Ii)({parameter:V,operationId:r.operationId}),class:"flex flex-col gap-2"},[ye(R2,{modelValue:S(A)[V.name??""],"onUpdate:modelValue":J=>S(A)[V.name??""]=J,parameter:V,"composite-key":S(Ii)({parameter:V,operationId:r.operationId}),"example-behavior":r.exampleBehavior,"x-example-behavior":r.xExampleBehavior,enabled:M.value[S(Ii)({parameter:V,operationId:r.operationId})],"onUpdate:enabled":J=>M.value[S(Ii)({parameter:V,operationId:r.operationId})]=J,onSubmit:N[6]||(N[6]=J=>n("submit"))},null,8,["modelValue","onUpdate:modelValue","parameter","composite-key","example-behavior","x-example-behavior","enabled","onUpdate:enabled"])]))),128))])])):je("",!0),Object.keys(S(k)).length||Object.keys(S(w)).length?(E(),K("details",b8e,[ue("summary",null,ze(S(s)("Variables")),1),ue("div",w8e,[ue("div",x8e,[N[11]||(N[11]=ue("div",{class:"w-[16px]"},null,-1)),ue("div",k8e,[ue("div",j8e,[ue("span",_8e,ze(S(i)),1)]),ue("div",S8e,[ue("span",C8e,ze(S(a)),1)])])]),(E(!0),K(dt,null,zt([...S(w),...S(k)],V=>(E(),ve(R2,{key:S(Ii)({parameter:V,operationId:r.operationId}),modelValue:S(A)[V.name??""],"onUpdate:modelValue":J=>S(A)[V.name??""]=J,parameter:V,"composite-key":S(Ii)({parameter:V,operationId:r.operationId}),"example-behavior":r.exampleBehavior,"x-example-behavior":r.xExampleBehavior,enabled:M.value[S(Ii)({parameter:V,operationId:r.operationId})],"onUpdate:enabled":J=>M.value[S(Ii)({parameter:V,operationId:r.operationId})]=J,onSubmit:N[7]||(N[7]=J=>n("submit"))},null,8,["modelValue","onUpdate:modelValue","parameter","composite-key","example-behavior","x-example-behavior","enabled","onUpdate:enabled"]))),128))])])):je("",!0),r.requestBody&&u.value?(E(),K("details",A8e,[ue("summary",null,ze(S(s)("Body")),1),ye(n8e,{"operation-id":r.operationId,body:F.value,"content-type":u.value,"request-body":r.requestBody,"enabled-parameters":M.value,examples:r.examples,"example-behavior":r.exampleBehavior,"x-example-behavior":r.xExampleBehavior,"onUpdate:body":N[8]||(N[8]=V=>F.value=V),"onUpdate:enabled":N[9]||(N[9]=(V,J)=>M.value[V]=J),onSubmit:N[10]||(N[10]=V=>n("submit"))},null,8,["operation-id","body","content-type","request-body","enabled-parameters","examples","example-behavior","x-example-behavior"])])):je("",!0)])}}}),O8e=$w(E8e,[["__scopeId","data-v-b7652c8b"]]),$8e=/filename\*\s*=\s*([^;]+)/i,T8e=/filename\s*=\s*([^;]+)/i;function P8e(e,t="response_file"){if(!e)return t;const r=e.match($8e);if(r){let o=r[1].trim();o.startsWith('"')&&o.endsWith('"')&&(o=o.slice(1,-1));const s=o.split("'");if(s.length>=3){const i=s.slice(2).join("'");try{const a=decodeURIComponent(i);if(a)return a}catch{}}else try{const i=decodeURIComponent(o);if(i)return i}catch{}}const n=e.match(T8e);if(n){let o=n[1].trim();if(o.startsWith('"')&&o.endsWith('"')&&(o=o.slice(1,-1)),o)return o}return t}var $o=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function I8e(e){return aO(e)}function aO(e){return Array.isArray(e)?D8e(e):e instanceof RegExp?e:typeof e=="object"?M8e(e):e}function D8e(e){let t=[];for(let r=0,n=e.length;r{for(let n in r)e[n]=r[n]}),e}function x7(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?x7(e.substring(0,e.length-1)):e.substr(~t+1)}var Jj=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,q0=class{static hasCaptures(e){return e===null?!1:(Jj.lastIndex=0,Jj.test(e))}static replaceCaptures(e,t,r){return e.replace(Jj,(n,o,s,i)=>{let a=r[parseInt(o||s,10)];if(a){let l=t.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(i){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return n})}};function k7(e,t){return et?1:0}function j7(e,t){if(e===null&&t===null)return 0;if(!e)return-1;if(!t)return 1;let r=e.length,n=t.length;if(r===n){for(let o=0;othis._root.match(e)));this._colorMap=e,this._defaults=t,this._root=r}static createFromRawTheme(e,t){return this.createFromParsedTheme(R8e(e),t)}static createFromParsedTheme(e,t){return q8e(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(n=>N8e(e.parent,n.parentScopes));return r?new C7(r.fontStyle,r.foreground,r.background):null}},Kj=class xb{constructor(t,r){this.parent=t,this.scopeName=r}static push(t,r){for(const n of r)t=new xb(t,n);return t}static from(...t){let r=null;for(let n=0;n"){if(r===t.length-1)return!1;n=t[++r],o=!0}for(;e&&!L8e(e.scopeName,n);){if(o)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function L8e(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var C7=class{constructor(e,t,r){this.fontStyle=e,this.foregroundId=t,this.backgroundId=r}};function R8e(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,r=[],n=0;for(let o=0,s=t.length;o1&&(v=f.slice(0,f.length-1),v.reverse()),r[n++]=new B8e(m,v,o,l,c,u)}}return r}var B8e=class{constructor(e,t,r,n,o,s){this.scope=e,this.parentScopes=t,this.index=r,this.fontStyle=n,this.foreground=o,this.background=s}},zs=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(zs||{});function q8e(e,t){e.sort((l,c)=>{let u=k7(l.scope,c.scope);return u!==0||(u=j7(l.parentScopes,c.parentScopes),u!==0)?u:l.index-c.index});let r=0,n="#000000",o="#ffffff";for(;e.length>=1&&e[0].scope==="";){let l=e.shift();l.fontStyle!==-1&&(r=l.fontStyle),l.foreground!==null&&(n=l.foreground),l.background!==null&&(o=l.background)}let s=new z8e(t),i=new C7(r,s.getId(n),s.getId(o)),a=new V8e(new B2(0,null,-1,0,0),[]);for(let l=0,c=e.length;lt?console.log("how did this happen?"):this.scopeDepth=t,r!==-1&&(this.fontStyle=r),n!==0&&(this.foreground=n),o!==0&&(this.background=o)}},V8e=class q2{constructor(t,r=[],n={}){Re(this,"_rulesWithParentScopes");this._mainRule=t,this._children=n,this._rulesWithParentScopes=r}static _cmpBySpecificity(t,r){if(t.scopeDepth!==r.scopeDepth)return r.scopeDepth-t.scopeDepth;let n=0,o=0;for(;t.parentScopes[n]===">"&&n++,r.parentScopes[o]===">"&&o++,!(n>=t.parentScopes.length||o>=r.parentScopes.length);){const s=r.parentScopes[o].length-t.parentScopes[n].length;if(s!==0)return s;n++,o++}return r.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let n=t.indexOf("."),o,s;if(n===-1?(o=t,s=""):(o=t.substring(0,n),s=t.substring(n+1)),this._children.hasOwnProperty(o))return this._children[o].match(s)}const r=this._rulesWithParentScopes.concat(this._mainRule);return r.sort(q2._cmpBySpecificity),r}insert(t,r,n,o,s,i){if(r===""){this._doInsertHere(t,n,o,s,i);return}let a=r.indexOf("."),l,c;a===-1?(l=r,c=""):(l=r.substring(0,a),c=r.substring(a+1));let u;this._children.hasOwnProperty(l)?u=this._children[l]:(u=new q2(this._mainRule.clone(),B2.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,c,n,o,s,i)}_doInsertHere(t,r,n,o,s){if(r===null){this._mainRule.acceptOverwrite(t,n,o,s);return}for(let i=0,a=this._rulesWithParentScopes.length;i>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,r,n,o,s,i,a){let l=Ji.getLanguageId(t),c=Ji.getTokenType(t),u=Ji.containsBalancedBrackets(t)?1:0,d=Ji.getFontStyle(t),p=Ji.getForeground(t),f=Ji.getBackground(t);return r!==0&&(l=r),n!==8&&(c=n),o!==null&&(u=o?1:0),s!==-1&&(d=s),i!==0&&(p=i),a!==0&&(f=a),(l<<0|c<<8|u<<10|d<<11|p<<15|f<<24)>>>0}};function tw(e,t){const r=[],n=U8e(e);let o=n.next();for(;o!==null;){let l=0;if(o.length===2&&o.charAt(1)===":"){switch(o.charAt(0)){case"R":l=1;break;case"L":l=-1;break;default:console.log(`Unknown priority ${o} in scope selector`)}o=n.next()}let c=i();if(r.push({matcher:c,priority:l}),o!==",")break;o=n.next()}return r;function s(){if(o==="-"){o=n.next();const l=s();return c=>!!l&&!l(c)}if(o==="("){o=n.next();const l=a();return o===")"&&(o=n.next()),l}if(RM(o)){const l=[];do l.push(o),o=n.next();while(RM(o));return c=>t(l,c)}return null}function i(){const l=[];let c=s();for(;c;)l.push(c),c=s();return u=>l.every(d=>d(u))}function a(){const l=[];let c=i();for(;c&&(l.push(c),o==="|"||o===",");){do o=n.next();while(o==="|"||o===",");c=i()}return u=>l.some(d=>d(u))}}function RM(e){return!!e&&!!e.match(/[\w\.:]+/)}function U8e(e){let t=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,r=t.exec(e);return{next:()=>{if(!r)return null;const n=r[0];return r=t.exec(e),n}}}function E7(e){typeof e.dispose=="function"&&e.dispose()}var iv=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},H8e=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},W8e=class{constructor(){Re(this,"_references",[]);Re(this,"_seenReferenceKeys",new Set);Re(this,"visitedRule",new Set)}get references(){return this._references}add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},G8e=class{constructor(e,t){Re(this,"seenFullScopeRequests",new Set);Re(this,"seenPartialScopeRequests",new Set);Re(this,"Q");this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new iv(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new W8e;for(const r of e)J8e(r,this.initialScopeName,this.repo,t);for(const r of t.references)if(r instanceof iv){if(this.seenFullScopeRequests.has(r.scopeName))continue;this.seenFullScopeRequests.add(r.scopeName),this.Q.push(r)}else{if(this.seenFullScopeRequests.has(r.scopeName)||this.seenPartialScopeRequests.has(r.toKey()))continue;this.seenPartialScopeRequests.add(r.toKey()),this.Q.push(r)}}};function J8e(e,t,r,n){const o=r.lookup(e.scopeName);if(!o){if(e.scopeName===t)throw new Error(`No grammar provided for <${t}>`);return}const s=r.lookup(t);e instanceof iv?kb({baseGrammar:s,selfGrammar:o},n):z2(e.ruleName,{baseGrammar:s,selfGrammar:o,repository:o.repository},n);const i=r.injections(e.scopeName);if(i)for(const a of i)n.add(new iv(a))}function z2(e,t,r){if(t.repository&&t.repository[e]){const n=t.repository[e];rw([n],t,r)}}function kb(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&rw(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&rw(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function rw(e,t,r){for(const n of e){if(r.visitedRule.has(n))continue;r.visitedRule.add(n);const o=n.repository?w7({},t.repository,n.repository):t.repository;Array.isArray(n.patterns)&&rw(n.patterns,{...t,repository:o},r);const s=n.include;if(!s)continue;const i=O7(s);switch(i.kind){case 0:kb({...t,selfGrammar:t.baseGrammar},r);break;case 1:kb(t,r);break;case 2:z2(i.ruleName,{...t,repository:o},r);break;case 3:case 4:const a=i.scopeName===t.selfGrammar.scopeName?t.selfGrammar:i.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:o};i.kind===4?z2(i.ruleName,l,r):kb(l,r)}else i.kind===4?r.add(new H8e(i.scopeName,i.ruleName)):r.add(new iv(i.scopeName));break}}}var K8e=class{constructor(){Re(this,"kind",0)}},Q8e=class{constructor(){Re(this,"kind",1)}},Z8e=class{constructor(e){Re(this,"kind",2);this.ruleName=e}},X8e=class{constructor(e){Re(this,"kind",3);this.scopeName=e}},Y8e=class{constructor(e,t){Re(this,"kind",4);this.scopeName=e,this.ruleName=t}};function O7(e){if(e==="$base")return new K8e;if(e==="$self")return new Q8e;const t=e.indexOf("#");if(t===-1)return new X8e(e);if(t===0)return new Z8e(e.substring(1));{const r=e.substring(0,t),n=e.substring(t+1);return new Y8e(r,n)}}var e5e=/\\(\d+)/,BM=/\\(\d+)/g,t5e=-1,$7=-2,Hv=class{constructor(e,t,r,n){Re(this,"$location");Re(this,"id");Re(this,"_nameIsCapturing");Re(this,"_name");Re(this,"_contentNameIsCapturing");Re(this,"_contentName");this.$location=e,this.id=t,this._name=r||null,this._nameIsCapturing=q0.hasCaptures(this._name),this._contentName=n||null,this._contentNameIsCapturing=q0.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${x7(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:q0.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:q0.replaceCaptures(this._contentName,e,t)}},r5e=class extends Hv{constructor(t,r,n,o,s){super(t,r,n,o);Re(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=s}dispose(){}collectPatterns(t,r){throw new Error("Not supported!")}compile(t,r){throw new Error("Not supported!")}compileAG(t,r,n,o){throw new Error("Not supported!")}},n5e=class extends Hv{constructor(t,r,n,o,s){super(t,r,n,null);Re(this,"_match");Re(this,"captures");Re(this,"_cachedCompiledPatterns");this._match=new av(o,this.id),this.captures=s,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(t,r){r.push(this._match)}compile(t,r){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,r,n,o){return this._getCachedCompiledPatterns(t).compileAG(t,n,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new lv,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},qM=class extends Hv{constructor(t,r,n,o,s){super(t,r,n,o);Re(this,"hasMissingPatterns");Re(this,"patterns");Re(this,"_cachedCompiledPatterns");this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(t,r){for(const n of this.patterns)t.getRule(n).collectPatterns(t,r)}compile(t,r){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,r,n,o){return this._getCachedCompiledPatterns(t).compileAG(t,n,o)}_getCachedCompiledPatterns(t){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new lv,this.collectPatterns(t,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},F2=class extends Hv{constructor(t,r,n,o,s,i,a,l,c,u){super(t,r,n,o);Re(this,"_begin");Re(this,"beginCaptures");Re(this,"_end");Re(this,"endHasBackReferences");Re(this,"endCaptures");Re(this,"applyEndPatternLast");Re(this,"hasMissingPatterns");Re(this,"patterns");Re(this,"_cachedCompiledPatterns");this._begin=new av(s,this.id),this.beginCaptures=i,this._end=new av(a||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=c||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(t,r){return this._end.resolveBackReferences(t,r)}collectPatterns(t,r){r.push(this._begin)}compile(t,r){return this._getCachedCompiledPatterns(t,r).compile(t)}compileAG(t,r,n,o){return this._getCachedCompiledPatterns(t,r).compileAG(t,n,o)}_getCachedCompiledPatterns(t,r){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new lv;for(const n of this.patterns)t.getRule(n).collectPatterns(t,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,r):this._cachedCompiledPatterns.setSource(0,r)),this._cachedCompiledPatterns}},nw=class extends Hv{constructor(t,r,n,o,s,i,a,l,c){super(t,r,n,o);Re(this,"_begin");Re(this,"beginCaptures");Re(this,"whileCaptures");Re(this,"_while");Re(this,"whileHasBackReferences");Re(this,"hasMissingPatterns");Re(this,"patterns");Re(this,"_cachedCompiledPatterns");Re(this,"_cachedCompiledWhilePatterns");this._begin=new av(s,this.id),this.beginCaptures=i,this.whileCaptures=l,this._while=new av(a,$7),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(t,r){return this._while.resolveBackReferences(t,r)}collectPatterns(t,r){r.push(this._begin)}compile(t,r){return this._getCachedCompiledPatterns(t).compile(t)}compileAG(t,r,n,o){return this._getCachedCompiledPatterns(t).compileAG(t,n,o)}_getCachedCompiledPatterns(t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new lv;for(const r of this.patterns)t.getRule(r).collectPatterns(t,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(t,r){return this._getCachedCompiledWhilePatterns(t,r).compile(t)}compileWhileAG(t,r,n,o){return this._getCachedCompiledWhilePatterns(t,r).compileAG(t,n,o)}_getCachedCompiledWhilePatterns(t,r){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new lv,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,r||"￿"),this._cachedCompiledWhilePatterns}},T7=class Ms{static createCaptureRule(t,r,n,o,s){return t.registerRule(i=>new r5e(r,i,n,o,s))}static getCompiledRuleId(t,r,n){return t.id||r.registerRule(o=>{if(t.id=o,t.match)return new n5e(t.$vscodeTextmateLocation,t.id,t.name,t.match,Ms._compileCaptures(t.captures,r,n));if(typeof t.begin>"u"){t.repository&&(n=w7({},n,t.repository));let s=t.patterns;return typeof s>"u"&&t.include&&(s=[{include:t.include}]),new qM(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,Ms._compilePatterns(s,r,n))}return t.while?new nw(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Ms._compileCaptures(t.beginCaptures||t.captures,r,n),t.while,Ms._compileCaptures(t.whileCaptures||t.captures,r,n),Ms._compilePatterns(t.patterns,r,n)):new F2(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,Ms._compileCaptures(t.beginCaptures||t.captures,r,n),t.end,Ms._compileCaptures(t.endCaptures||t.captures,r,n),t.applyEndPatternLast,Ms._compilePatterns(t.patterns,r,n))}),t.id}static _compileCaptures(t,r,n){let o=[];if(t){let s=0;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);a>s&&(s=a)}for(let i=0;i<=s;i++)o[i]=null;for(const i in t){if(i==="$vscodeTextmateLocation")continue;const a=parseInt(i,10);let l=0;t[i].patterns&&(l=Ms.getCompiledRuleId(t[i],r,n)),o[a]=Ms.createCaptureRule(r,t[i].$vscodeTextmateLocation,t[i].name,t[i].contentName,l)}}return o}static _compilePatterns(t,r,n){let o=[];if(t)for(let s=0,i=t.length;st.substring(o.start,o.end));return BM.lastIndex=0,this.source.replace(BM,(o,s)=>_7(n[parseInt(s,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let t=[],r=[],n=[],o=[],s,i,a,l;for(s=0,i=this.source.length;sr.source);this._cached=new zM(e,t,this._items.map(r=>r.ruleId))}return this._cached}compileAG(e,t,r){return this._hasAnchors?t?r?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G0):r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,r){let n=this._items.map(o=>o.resolveAnchors(t,r));return new zM(e,n,this._items.map(o=>o.ruleId))}},zM=class{constructor(e,t,r){Re(this,"scanner");this.regExps=t,this.rules=r,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,r=this.rules.length;t{const r=this._scopeToLanguage(t),n=this._toStandardTokenType(t);return new Qj(r,n)}));this._defaultAttributes=new Qj(t,8),this._embeddedLanguagesMatcher=new s5e(Object.entries(r||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?fc._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const r=t.match(fc.STANDARD_TOKEN_TYPE_REGEXP);if(!r)return 8;switch(r[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}},Re(fc,"_NULL_SCOPE_METADATA",new Qj(0,0)),Re(fc,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),fc),s5e=class{constructor(e){Re(this,"values");Re(this,"scopesRegExp");if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([r,n])=>_7(r));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},FM=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function I7(e,t,r,n,o,s,i,a){const l=t.content.length;let c=!1,u=-1;if(i){const f=i5e(e,t,r,n,o,s);o=f.stack,n=f.linePos,r=f.isFirstLine,u=f.anchorPosition}const d=Date.now();for(;!c;){if(a!==0&&Date.now()-d>a)return new FM(o,!0);p()}return new FM(o,!1);function p(){const f=a5e(e,t,r,n,o,u);if(!f){s.produce(o,l),c=!0;return}const m=f.captureIndices,v=f.matchedRuleId,g=m&&m.length>0?m[0].end>n:!1;if(v===t5e){const y=o.getRule(e);s.produce(o,m[0].start),o=o.withContentNameScopesList(o.nameScopesList),Bm(e,t,r,o,s,y.endCaptures,m),s.produce(o,m[0].end);const b=o;if(o=o.parent,u=b.getAnchorPos(),!g&&b.getEnterPos()===n){o=b,s.produce(o,l),c=!0;return}}else{const y=e.getRule(v);s.produce(o,m[0].start);const b=o,w=y.getName(t.content,m),k=o.contentNameScopesList.pushAttributed(w,e);if(o=o.push(v,n,u,m[0].end===l,null,k,k),y instanceof F2){const x=y;Bm(e,t,r,o,s,x.beginCaptures,m),s.produce(o,m[0].end),u=m[0].end;const j=x.getContentName(t.content,m),_=k.pushAttributed(j,e);if(o=o.withContentNameScopesList(_),x.endHasBackReferences&&(o=o.withEndRule(x.getEndWithResolvedBackReferences(t.content,m))),!g&&b.hasSameRuleAs(o)){o=o.pop(),s.produce(o,l),c=!0;return}}else if(y instanceof nw){const x=y;Bm(e,t,r,o,s,x.beginCaptures,m),s.produce(o,m[0].end),u=m[0].end;const j=x.getContentName(t.content,m),_=k.pushAttributed(j,e);if(o=o.withContentNameScopesList(_),x.whileHasBackReferences&&(o=o.withEndRule(x.getWhileWithResolvedBackReferences(t.content,m))),!g&&b.hasSameRuleAs(o)){o=o.pop(),s.produce(o,l),c=!0;return}}else if(Bm(e,t,r,o,s,y.captures,m),s.produce(o,m[0].end),o=o.pop(),!g){o=o.safePop(),s.produce(o,l),c=!0;return}}m[0].end>n&&(n=m[0].end,r=!1)}}function i5e(e,t,r,n,o,s){let i=o.beginRuleCapturedEOL?0:-1;const a=[];for(let l=o;l;l=l.pop()){const c=l.getRule(e);c instanceof nw&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=u5e(l.rule,e,l.stack.endRule,r,n===i),d=c.findNextMatchSync(t,n,u);if(d){if(d.ruleId!==$7){o=l.stack.pop();break}d.captureIndices&&d.captureIndices.length&&(s.produce(l.stack,d.captureIndices[0].start),Bm(e,t,r,l.stack,s,l.rule.whileCaptures,d.captureIndices),s.produce(l.stack,d.captureIndices[0].end),i=d.captureIndices[0].end,d.captureIndices[0].end>n&&(n=d.captureIndices[0].end,r=!1))}else{o=l.stack.pop();break}}return{stack:o,linePos:n,anchorPosition:i,isFirstLine:r}}function a5e(e,t,r,n,o,s){const i=l5e(e,t,r,n,o,s),a=e.getInjections();if(a.length===0)return i;const l=c5e(a,e,t,r,n,o,s);if(!l)return i;if(!i)return l;const c=i.captureIndices[0].start,u=l.captureIndices[0].start;return u=a)&&(a=w,l=b.captureIndices,c=b.ruleId,u=m.priority,a===o))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function D7(e,t,r,n,o){return{ruleScanner:e.compileAG(t,r,n,o),findOptions:0}}function u5e(e,t,r,n,o){return{ruleScanner:e.compileWhileAG(t,r,n,o),findOptions:0}}function Bm(e,t,r,n,o,s,i){if(s.length===0)return;const a=t.content,l=Math.min(s.length,i.length),c=[],u=i[0].end;for(let d=0;du)break;for(;c.length>0&&c[c.length-1].endPos<=f.start;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?o.produceFromScopes(c[c.length-1].scopes,f.start):o.produce(n,f.start),p.retokenizeCapturedWithRuleId){const v=p.getName(a,i),g=n.contentNameScopesList.pushAttributed(v,e),y=p.getContentName(a,i),b=g.pushAttributed(y,e),w=n.push(p.retokenizeCapturedWithRuleId,f.start,-1,!1,null,g,b),k=e.createOnigString(a.substring(0,f.end));I7(e,k,r&&f.start===0,f.start,w,o,!1,0),E7(k);continue}const m=p.getName(a,i);if(m!==null){const v=(c.length>0?c[c.length-1].scopes:n.contentNameScopesList).pushAttributed(m,e);c.push(new d5e(v,f.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var d5e=class{constructor(e,t){Re(this,"scopes");Re(this,"endPos");this.scopes=e,this.endPos=t}};function p5e(e,t,r,n,o,s,i,a){return new h5e(e,t,r,n,o,s,i,a)}function VM(e,t,r,n,o){const s=tw(t,ow),i=T7.getCompiledRuleId(r,n,o.repository);for(const a of s)e.push({debugSelector:t,matcher:a.matcher,ruleId:i,grammar:o,priority:a.priority})}function ow(e,t){if(t.length{for(let o=r;or&&e.substr(0,r)===t&&e[r]==="."}var h5e=class{constructor(e,t,r,n,o,s,i,a){Re(this,"_rootId");Re(this,"_lastRuleId");Re(this,"_ruleId2desc");Re(this,"_includedGrammars");Re(this,"_grammarRepository");Re(this,"_grammar");Re(this,"_injections");Re(this,"_basicScopeAttributesProvider");Re(this,"_tokenTypeMatchers");if(this._rootScopeName=e,this.balancedBracketSelectors=s,this._onigLib=a,this._basicScopeAttributesProvider=new o5e(r,n),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=i,this._grammar=UM(t,null),this._injections=null,this._tokenTypeMatchers=[],o)for(const l of Object.keys(o)){const c=tw(l,ow);for(const u of c)this._tokenTypeMatchers.push({matcher:u.matcher,type:o[l]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:o=>o===this._rootScopeName?this._grammar:this.getExternalGrammar(o),injections:o=>this._grammarRepository.injections(o)},t=[],r=this._rootScopeName,n=e.lookup(r);if(n){const o=n.injections;if(o)for(let i in o)VM(t,i,o[i],this,n);const s=this._grammarRepository.injections(r);s&&s.forEach(i=>{const a=this.getExternalGrammar(i);if(a){const l=a.injectionSelector;l&&VM(t,l,a,this,a)}})}return t.sort((o,s)=>o.priority-s.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,r=e(t);return this._ruleId2desc[t]=r,r}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const r=this._grammarRepository.lookup(e);if(r)return this._includedGrammars[e]=UM(r,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,r=0){const n=this._tokenize(e,t,!1,r);return{tokens:n.lineTokens.getResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}tokenizeLine2(e,t,r=0){const n=this._tokenize(e,t,!0,r);return{tokens:n.lineTokens.getBinaryResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}_tokenize(e,t,r,n){this._rootId===-1&&(this._rootId=T7.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let o;if(!t||t===V2.NULL){o=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),d=jh.set(0,c.languageId,c.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),p=this.getRule(this._rootId).getName(null,null);let f;p?f=sg.createRootAndLookUpScopeName(p,d,this):f=sg.createRoot("unknown",d),t=new V2(null,this._rootId,-1,-1,!1,null,f,f)}else o=!1,t.reset();e=e+` -`;const s=this.createOnigString(e),i=s.content.length,a=new g5e(r,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=I7(this,s,o,0,t,a,!0,n);return E7(s),{lineLength:i,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function UM(e,t){return e=I8e(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var sg=class pl{constructor(t,r,n){this.parent=t,this.scopePath=r,this.tokenAttributes=n}static fromExtension(t,r){let n=t,o=(t==null?void 0:t.scopePath)??null;for(const s of r)o=Kj.push(o,s.scopeNames),n=new pl(n,o,s.encodedTokenAttributes);return n}static createRoot(t,r){return new pl(null,new Kj(null,t),r)}static createRootAndLookUpScopeName(t,r,n){const o=n.getMetadataForScope(t),s=new Kj(null,t),i=n.themeProvider.themeMatch(s),a=pl.mergeAttributes(r,o,i);return new pl(null,s,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return pl.equals(this,t)}static equals(t,r){do{if(t===r||!t&&!r)return!0;if(!t||!r||t.scopeName!==r.scopeName||t.tokenAttributes!==r.tokenAttributes)return!1;t=t.parent,r=r.parent}while(!0)}static mergeAttributes(t,r,n){let o=-1,s=0,i=0;return n!==null&&(o=n.fontStyle,s=n.foregroundId,i=n.backgroundId),jh.set(t,r.languageId,r.tokenType,null,o,s,i)}pushAttributed(t,r){if(t===null)return this;if(t.indexOf(" ")===-1)return pl._pushAttributed(this,t,r);const n=t.split(/ /g);let o=this;for(const s of n)o=pl._pushAttributed(o,s,r);return o}static _pushAttributed(t,r,n){const o=n.getMetadataForScope(r),s=t.scopePath.push(r),i=n.themeProvider.themeMatch(s),a=pl.mergeAttributes(t.tokenAttributes,o,i);return new pl(t,s,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var o;const r=[];let n=this;for(;n&&n!==t;)r.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(((o=n.parent)==null?void 0:o.scopePath)??null)}),n=n.parent;return n===t?r.reverse():void 0}},ra,V2=(ra=class{constructor(t,r,n,o,s,i,a,l){Re(this,"_stackElementBrand");Re(this,"_enterPos");Re(this,"_anchorPos");Re(this,"depth");this.parent=t,this.ruleId=r,this.beginRuleCapturedEOL=s,this.endRule=i,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=o}equals(t){return t===null?!1:ra._equals(this,t)}static _equals(t,r){return t===r?!0:this._structuralEquals(t,r)?sg.equals(t.contentNameScopesList,r.contentNameScopesList):!1}static _structuralEquals(t,r){do{if(t===r||!t&&!r)return!0;if(!t||!r||t.depth!==r.depth||t.ruleId!==r.ruleId||t.endRule!==r.endRule)return!1;t=t.parent,r=r.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){ra._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,r,n,o,s,i,a){return new ra(this,t,r,n,o,s,i,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,r){var n,o;return this.parent&&(r=this.parent._writeString(t,r)),t[r++]=`(${this.ruleId}, ${(n=this.nameScopesList)==null?void 0:n.toString()}, ${(o=this.contentNameScopesList)==null?void 0:o.toString()})`,r}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new ra(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let r=this;for(;r&&r._enterPos===t._enterPos;){if(r.ruleId===t.ruleId)return!0;r=r.parent}return!1}toStateStackFrame(){var t,r,n;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((r=this.nameScopesList)==null?void 0:r.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((n=this.contentNameScopesList)==null?void 0:n.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,r){const n=sg.fromExtension((t==null?void 0:t.nameScopesList)??null,r.nameScopesList);return new ra(t,r.ruleId,r.enterPos??-1,r.anchorPos??-1,r.beginRuleCapturedEOL,r.endRule,n,sg.fromExtension(n,r.contentNameScopesList))}},Re(ra,"NULL",new ra(null,0,0,0,!1,null,null,null)),ra),m5e=class{constructor(e,t){Re(this,"balancedBracketScopes");Re(this,"unbalancedBracketScopes");Re(this,"allowAny",!1);this.balancedBracketScopes=e.flatMap(r=>r==="*"?(this.allowAny=!0,[]):tw(r,ow).map(n=>n.matcher)),this.unbalancedBracketScopes=t.flatMap(r=>tw(r,ow).map(n=>n.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},g5e=class{constructor(e,t,r,n){Re(this,"_emitBinaryTokens");Re(this,"_lineText");Re(this,"_tokens");Re(this,"_binaryTokens");Re(this,"_lastTokenEndIndex");Re(this,"_tokenTypeOverrides");this.balancedBracketSelectors=n,this._emitBinaryTokens=e,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var n;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let o=(e==null?void 0:e.tokenAttributes)??0,s=!1;if((n=this.balancedBracketSelectors)!=null&&n.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=(e==null?void 0:e.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(i)&&(o=jh.set(o,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(i))}if(s&&(o=jh.set(o,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===o){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(o),this._lastTokenEndIndex=t;return}const r=(e==null?void 0:e.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:r}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let n=0,o=this._binaryTokens.length;n0;)s.Q.map(i=>this._loadSingleGrammar(i.scopeName)),s.processQueue();return this._grammarForScopeName(e,t,r,n,o)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const t=this._options.loadGrammar(e);if(t){const r=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,r)}}addGrammar(e,t=[],r=0,n=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,r,n)}_grammarForScopeName(e,t=0,r=null,n=null,o=null){return this._syncRegistry.grammarForScopeName(e,t,r,n,o)}},U2=V2.NULL;function sw(e,t){const r=typeof e=="string"?{}:{...e.colorReplacements},n=typeof e=="string"?e:e.name;for(const[o,s]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof s=="string"?r[o]=s:o===n&&Object.assign(r,s);return r}function Lu(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function b5e(e){return Array.isArray(e)?e:[e]}async function M7(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function Nx(e){return!e||["plaintext","txt","text","plain"].includes(e)}function w5e(e){return e==="ansi"||Nx(e)}function Rx(e){return e==="none"}function x5e(e){return Rx(e)}function Bx(e,t=!1){var s;if(e.length===0)return[["",0]];const r=e.split(/(\r?\n)/g);let n=0;const o=[];for(let i=0;i!f.name&&!f.scope):void 0;(a=p==null?void 0:p.settings)!=null&&a.foreground&&(n=p.settings.foreground),(l=p==null?void 0:p.settings)!=null&&l.background&&(r=p.settings.background),!n&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(n=t.colors["editor.foreground"]),!r&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(r=t.colors["editor.background"]),n||(n=t.type==="light"?HM.light:HM.dark),r||(r=t.type==="light"?WM.light:WM.dark),t.fg=n,t.bg=r}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let o=0;const s=new Map;function i(p){var m;if(s.has(p))return s.get(p);o+=1;const f=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(m=t.colorReplacements)!=null&&m[`#${f}`]?i(p):(s.set(p,f),f)}t.settings=t.settings.map(p=>{var g,y;const f=((g=p.settings)==null?void 0:g.foreground)&&!p.settings.foreground.startsWith("#"),m=((y=p.settings)==null?void 0:y.background)&&!p.settings.background.startsWith("#");if(!f&&!m)return p;const v={...p,settings:{...p.settings}};if(f){const b=i(p.settings.foreground);t.colorReplacements[b]=p.settings.foreground,v.settings.foreground=b}if(m){const b=i(p.settings.background);t.colorReplacements[b]=p.settings.background,v.settings.background=b}return v});for(const p of Object.keys(t.colors||{}))if((p==="editor.foreground"||p==="editor.background"||p.startsWith("terminal.ansi"))&&!((d=t.colors[p])!=null&&d.startsWith("#"))){const f=i(t.colors[p]);t.colorReplacements[f]=t.colors[p],t.colors[p]=f}return Object.defineProperty(t,GM,{enumerable:!1,writable:!1,value:!0}),t}async function L7(e){return Array.from(new Set((await Promise.all(e.filter(t=>!w5e(t)).map(async t=>await M7(t).then(r=>Array.isArray(r)?r:[r])))).flat()))}async function N7(e){return(await Promise.all(e.map(async t=>x5e(t)?null:lO(await M7(t))))).filter(t=>!!t)}function R7(e,t){if(!t)return e;if(t[e]){const r=new Set([e]);for(;t[e];){if(e=t[e],r.has(e))throw new $o(`Circular alias \`${Array.from(r).join(" -> ")} -> ${e}\``);r.add(e)}}return e}var k5e=class extends y5e{constructor(t,r,n,o={}){super(t);Re(this,"_resolvedThemes",new Map);Re(this,"_resolvedGrammars",new Map);Re(this,"_langMap",new Map);Re(this,"_langGraph",new Map);Re(this,"_textmateThemeCache",new WeakMap);Re(this,"_loadedThemesCache",null);Re(this,"_loadedLanguagesCache",null);this._resolver=t,this._themes=r,this._langs=n,this._alias=o,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const r=lO(t);return r.name&&(this._resolvedThemes.set(r.name,r),this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let r=this._textmateThemeCache.get(t);r||(r=ew.createFromRawTheme(t),this._textmateThemeCache.set(t,r)),this._syncRegistry.setTheme(r)}getGrammar(t){return t=R7(t,this._alias),this._resolvedGrammars.get(t)}loadLanguage(t){var s,i,a,l;if(this.getGrammar(t.name))return;const r=new Set([...this._langMap.values()].filter(c=>{var u;return(u=c.embeddedLangsLazy)==null?void 0:u.includes(t.name)}));this._resolver.addLanguage(t);const n={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const o=this.loadGrammarWithConfiguration(t.scopeName,1,n);if(o.name=t.name,this._resolvedGrammars.set(t.name,o),t.aliases&&t.aliases.forEach(c=>{this._alias[c]=t.name}),this._loadedLanguagesCache=null,r.size)for(const c of r)this._resolvedGrammars.delete(c.name),this._loadedLanguagesCache=null,(i=(s=this._syncRegistry)==null?void 0:s._injectionGrammars)==null||i.delete(c.scopeName),(l=(a=this._syncRegistry)==null?void 0:a._grammars)==null||l.delete(c.scopeName),this.loadLanguage(this._langMap.get(c.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const o of t)this.resolveEmbeddedLanguages(o);const r=Array.from(this._langGraph.entries()),n=r.filter(([o,s])=>!s);if(n.length){const o=r.filter(([s,i])=>{var a;return i?(a=i.embeddedLanguages||i.embeddedLangs)==null?void 0:a.some(l=>n.map(([c])=>c).includes(l)):!1}).filter(s=>!n.includes(s));throw new $o(`Missing languages ${n.map(([s])=>`\`${s}\``).join(", ")}, required by ${o.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[o,s]of r)this._resolver.addLanguage(s);for(const[o,s]of r)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){this._langMap.set(t.name,t),this._langGraph.set(t.name,t);const r=t.embeddedLanguages??t.embeddedLangs;if(r)for(const n of r)this._langGraph.set(n,this._langMap.get(n))}},j5e=class{constructor(e,t){Re(this,"_langs",new Map);Re(this,"_scopeToLang",new Map);Re(this,"_injections",new Map);Re(this,"_onigLib");this._onigLib={createOnigScanner:r=>e.createScanner(r),createOnigString:r=>e.createString(r)},t.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let r=[];for(let n=1;n<=t.length;n++){const o=t.slice(0,n).join(".");r=[...r,...this._injections.get(o)||[]]}return r}};let _m=0;function _5e(e){_m+=1,e.warnings!==!1&&_m>=10&&_m%10===0&&console.warn(`[Shiki] ${_m} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new $o("`engine` option is required for synchronous mode");const r=(e.langs||[]).flat(1),n=(e.themes||[]).flat(1).map(lO),o=new k5e(new j5e(e.engine,r),n,r,e.langAlias);let s;function i(b){return R7(b,e.langAlias)}function a(b){g();const w=o.getGrammar(typeof b=="string"?b:b.name);if(!w)throw new $o(`Language \`${b}\` not found, you may need to load it first`);return w}function l(b){if(b==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};g();const w=o.getTheme(b);if(!w)throw new $o(`Theme \`${b}\` not found, you may need to load it first`);return w}function c(b){g();const w=l(b);return s!==b&&(o.setTheme(w),s=b),{theme:w,colorMap:o.getColorMap()}}function u(){return g(),o.getLoadedThemes()}function d(){return g(),o.getLoadedLanguages()}function p(...b){g(),o.loadLanguages(b.flat(1))}async function f(...b){return p(await L7(b))}function m(...b){g();for(const w of b.flat(1))o.loadTheme(w)}async function v(...b){return g(),m(await N7(b))}function g(){if(t)throw new $o("Shiki instance has been disposed")}function y(){t||(t=!0,o.dispose(),_m-=1)}return{setTheme:c,getTheme:l,getLanguage:a,getLoadedThemes:u,getLoadedLanguages:d,resolveLangAlias:i,loadLanguage:f,loadLanguageSync:p,loadTheme:v,loadThemeSync:m,dispose:y,[Symbol.dispose]:y}}async function S5e(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,r,n]=await Promise.all([N7(e.themes||[]),L7(e.langs||[]),e.engine]);return _5e({...e,themes:t,langs:r,engine:n})}const B7=new WeakMap;function qx(e,t){B7.set(e,t)}function cv(e){return B7.get(e)}var zx=class q7{constructor(...t){Re(this,"_stacks",{});Re(this,"lang");if(t.length===2){const[r,n]=t;this.lang=n,this._stacks=r}else{const[r,n,o]=t;this.lang=n,this._stacks={[o]:r}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,r){return new q7(Object.fromEntries(b5e(r).map(n=>[n,U2])),t)}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return C5e(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function C5e(e){const t=[],r=new Set;function n(o){var i;if(r.has(o))return;r.add(o);const s=(i=o==null?void 0:o.nameScopesList)==null?void 0:i.scopeName;s&&t.push(s),o.parent&&n(o.parent)}return n(e),t}function A5e(e,t){if(!(e instanceof zx))throw new $o("Invalid grammar state");return e.getInternalStack(t)}function z7(e,t,r={}){const{theme:n=e.getLoadedThemes()[0]}=r;if(Nx(e.resolveLangAlias(r.lang||"text"))||Rx(n))return Bx(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:o,colorMap:s}=e.setTheme(n),i=e.getLanguage(r.lang||"text");if(r.grammarState){if(r.grammarState.lang!==i.name)throw new $o(`Grammar state language "${r.grammarState.lang}" does not match highlight language "${i.name}"`);if(!r.grammarState.themes.includes(o.name))throw new $o(`Grammar state themes "${r.grammarState.themes}" do not contain highlight theme "${o.name}"`)}return O5e(t,i,o,s,r)}function E5e(...e){if(e.length===2)return cv(e[1]);const[t,r,n={}]=e,{lang:o="text",theme:s=t.getLoadedThemes()[0]}=n;if(Nx(o)||Rx(s))throw new $o("Plain language does not have grammar state");if(o==="ansi")throw new $o("ANSI language does not have grammar state");const{theme:i,colorMap:a}=t.setTheme(s),l=t.getLanguage(o);return new zx(cO(r,l,i,a,n).stateStack,l.name,i.name)}function O5e(e,t,r,n,o){const s=cO(e,t,r,n,o),i=new zx(s.stateStack,t.name,r.name);return qx(s.tokens,i),s.tokens}function cO(e,t,r,n,o){const s=sw(r,o),{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:a=500}=o,l=Bx(e);let c=o.grammarState?A5e(o.grammarState,r.name)??U2:o.grammarContextCode!=null?cO(o.grammarContextCode,t,r,n,{...o,grammarState:void 0,grammarContextCode:void 0}).stateStack:U2,u=[];const d=[];for(let p=0,f=l.length;p0&&m.length>=i){u=[],d.push([{content:m,offset:v,color:"",fontStyle:0}]);continue}let g,y,b;o.includeExplanation&&(g=t.tokenizeLine(m,c,a),y=g.tokens,b=0);const w=t.tokenizeLine2(m,c,a),k=w.tokens.length/2;for(let x=0;xX.trim());break;case"object":L=z.scope;break;default:continue}N.push({settings:z,selectors:L.map(X=>X.split(/ /))})}M.explanation=[];let F=0;for(;j+F<_;){const z=y[b],L=m.substring(z.startIndex,z.endIndex);F+=L.length,M.explanation.push({content:L,scopes:o.includeExplanation==="scopeName"?$5e(z.scopes):T5e(N,z.scopes)}),b+=1}}u.push(M)}d.push(u),u=[],c=w.ruleStack}return{tokens:d,stateStack:c}}function $5e(e){return e.map(t=>({scopeName:t}))}function T5e(e,t){const r=[];for(let n=0,o=t.length;n=0&&o>=0;)JM(e[n],r[o])&&(n-=1),o-=1;return n===-1}function I5e(e,t,r){const n=[];for(const{selectors:o,settings:s}of e)for(const i of o)if(P5e(i,t,r)){n.push(s);break}return n}function F7(e,t,r){const n=Object.entries(r.themes).filter(l=>l[1]).map(l=>({color:l[0],theme:l[1]})),o=n.map(l=>{const c=z7(e,t,{...r,theme:l.theme});return{tokens:c,state:cv(c),theme:typeof l.theme=="string"?l.theme:l.theme.name}}),s=D5e(...o.map(l=>l.tokens)),i=s[0].map((l,c)=>l.map((u,d)=>{const p={content:u.content,variants:{},offset:u.offset};return"includeExplanation"in r&&r.includeExplanation&&(p.explanation=u.explanation),s.forEach((f,m)=>{const{content:v,explanation:g,offset:y,...b}=f[c][d];p.variants[n[m].color]=b}),p})),a=o[0].state?new zx(Object.fromEntries(o.map(l=>{var c;return[l.theme,(c=l.state)==null?void 0:c.getInternalStack(l.theme)]})),o[0].state.lang):void 0;return a&&qx(i,a),i}function D5e(...e){const t=e.map(()=>[]),r=e.length;for(let n=0;nl[n]),s=t.map(()=>[]);t.forEach((l,c)=>l.push(s[c]));const i=o.map(()=>0),a=o.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;c4&&r.slice(0,4)==="data"&&q5e.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(QM,V5e);n="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!QM.test(s)){let i=s.replace(B5e,F5e);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}o=uO}return new o(n,t)}function F5e(e){return"-"+e.toLowerCase()}function V5e(e){return e.charAt(1).toUpperCase()}const U5e=V7([H7,N5e,J7,K7,Q7],"html"),Z7=V7([H7,R5e,J7,K7,Q7],"svg"),ZM={}.hasOwnProperty;function H5e(e,t){const r=t||{};function n(o,...s){let i=n.invalid;const a=n.handlers;if(o&&ZM.call(o,e)){const l=String(o[e]);i=ZM.call(a,l)?a[l]:n.unknown}if(i)return i.call(this,o,...s)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const W5e=/["&'<>`]/g,G5e=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,J5e=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,K5e=/[|\\{}()[\]^$+*?.]/g,XM=new WeakMap;function Q5e(e,t){if(e=e.replace(t.subset?Z5e(t.subset):W5e,n),t.subset||t.escapeOnly)return e;return e.replace(G5e,r).replace(J5e,n);function r(o,s,i){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,i.charCodeAt(s+2),t)}function n(o,s,i){return t.format(o.charCodeAt(0),i.charCodeAt(s+1),t)}}function Z5e(e){let t=XM.get(e);return t||(t=X5e(e),XM.set(e,t)),t}function X5e(e){const t=[];let r=-1;for(;++r",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},o6e=["cent","copy","divide","gt","lt","not","para","times"],X7={}.hasOwnProperty,G2={};let z0;for(z0 in Xj)X7.call(Xj,z0)&&(G2[Xj[z0]]=z0);const s6e=/[^\dA-Za-z]/;function i6e(e,t,r,n){const o=String.fromCharCode(e);if(X7.call(G2,o)){const s=G2[o],i="&"+s;return r&&n6e.includes(s)&&!o6e.includes(s)&&(!n||t&&t!==61&&s6e.test(String.fromCharCode(t)))?i:i+";"}return""}function a6e(e,t,r){let n=e6e(e,t,r.omitOptionalSemicolons),o;if((r.useNamedReferences||r.useShortestReferences)&&(o=i6e(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!o)&&r.useShortestReferences){const s=r6e(e,t,r.omitOptionalSemicolons);s.length|^->||--!>|"],u6e=["<",">"];function d6e(e,t,r,n){return n.settings.bogusComments?"":"";function o(s){return Zf(s,Object.assign({},n.settings.characterReferences,{subset:u6e}))}}function p6e(e,t,r,n){return""}function YM(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,o=r.indexOf(t);for(;o!==-1;)n++,o=r.indexOf(t,o+t.length);return n}function f6e(e,t){const r=t||{};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}function h6e(e){return e.join(" ").trim()}const m6e=/[ \t\n\f\r]/g;function dO(e){return typeof e=="object"?e.type==="text"?eL(e.value):!1:eL(e)}function eL(e){return e.replace(m6e,"")===""}const ps=eV(1),Y7=eV(-1),g6e=[];function eV(e){return t;function t(r,n,o){const s=r?r.children:g6e;let i=(n||0)+e,a=s[i];if(!o)for(;a&&dO(a);)i+=e,a=s[i];return a}}const v6e={}.hasOwnProperty;function tV(e){return t;function t(r,n,o){return v6e.call(e,r.tagName)&&e[r.tagName](r,n,o)}}const pO=tV({body:b6e,caption:Yj,colgroup:Yj,dd:j6e,dt:k6e,head:Yj,html:y6e,li:x6e,optgroup:_6e,option:S6e,p:w6e,rp:tL,rt:tL,tbody:A6e,td:rL,tfoot:E6e,th:rL,thead:C6e,tr:O6e});function Yj(e,t,r){const n=ps(r,t,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&dO(n.value.charAt(0)))}function y6e(e,t,r){const n=ps(r,t);return!n||n.type!=="comment"}function b6e(e,t,r){const n=ps(r,t);return!n||n.type!=="comment"}function w6e(e,t,r){const n=ps(r,t);return n?n.type==="element"&&(n.tagName==="address"||n.tagName==="article"||n.tagName==="aside"||n.tagName==="blockquote"||n.tagName==="details"||n.tagName==="div"||n.tagName==="dl"||n.tagName==="fieldset"||n.tagName==="figcaption"||n.tagName==="figure"||n.tagName==="footer"||n.tagName==="form"||n.tagName==="h1"||n.tagName==="h2"||n.tagName==="h3"||n.tagName==="h4"||n.tagName==="h5"||n.tagName==="h6"||n.tagName==="header"||n.tagName==="hgroup"||n.tagName==="hr"||n.tagName==="main"||n.tagName==="menu"||n.tagName==="nav"||n.tagName==="ol"||n.tagName==="p"||n.tagName==="pre"||n.tagName==="section"||n.tagName==="table"||n.tagName==="ul"):!r||!(r.type==="element"&&(r.tagName==="a"||r.tagName==="audio"||r.tagName==="del"||r.tagName==="ins"||r.tagName==="map"||r.tagName==="noscript"||r.tagName==="video"))}function x6e(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&n.tagName==="li"}function k6e(e,t,r){const n=ps(r,t);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function j6e(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function tL(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function _6e(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&n.tagName==="optgroup"}function S6e(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function C6e(e,t,r){const n=ps(r,t);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function A6e(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function E6e(e,t,r){return!ps(r,t)}function O6e(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&n.tagName==="tr"}function rL(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const $6e=tV({body:I6e,colgroup:D6e,head:P6e,html:T6e,tbody:M6e});function T6e(e){const t=ps(e,-1);return!t||t.type!=="comment"}function P6e(e){const t=new Set;for(const n of e.children)if(n.type==="element"&&(n.tagName==="base"||n.tagName==="title")){if(t.has(n.tagName))return!1;t.add(n.tagName)}const r=e.children[0];return!r||r.type==="element"}function I6e(e){const t=ps(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&dO(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function D6e(e,t,r){const n=Y7(r,t),o=ps(e,-1,!0);return r&&n&&n.type==="element"&&n.tagName==="colgroup"&&pO(n,r.children.indexOf(n),r)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function M6e(e,t,r){const n=Y7(r,t),o=ps(e,-1);return r&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&pO(n,r.children.indexOf(n),r)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const F0={name:[[` +`;const s=this.createOnigString(e),i=s.content.length,a=new g5e(r,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=I7(this,s,o,0,t,a,!0,n);return E7(s),{lineLength:i,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function UM(e,t){return e=I8e(e),e.repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var sg=class pl{constructor(t,r,n){this.parent=t,this.scopePath=r,this.tokenAttributes=n}static fromExtension(t,r){let n=t,o=(t==null?void 0:t.scopePath)??null;for(const s of r)o=Kj.push(o,s.scopeNames),n=new pl(n,o,s.encodedTokenAttributes);return n}static createRoot(t,r){return new pl(null,new Kj(null,t),r)}static createRootAndLookUpScopeName(t,r,n){const o=n.getMetadataForScope(t),s=new Kj(null,t),i=n.themeProvider.themeMatch(s),a=pl.mergeAttributes(r,o,i);return new pl(null,s,a)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return pl.equals(this,t)}static equals(t,r){do{if(t===r||!t&&!r)return!0;if(!t||!r||t.scopeName!==r.scopeName||t.tokenAttributes!==r.tokenAttributes)return!1;t=t.parent,r=r.parent}while(!0)}static mergeAttributes(t,r,n){let o=-1,s=0,i=0;return n!==null&&(o=n.fontStyle,s=n.foregroundId,i=n.backgroundId),jh.set(t,r.languageId,r.tokenType,null,o,s,i)}pushAttributed(t,r){if(t===null)return this;if(t.indexOf(" ")===-1)return pl._pushAttributed(this,t,r);const n=t.split(/ /g);let o=this;for(const s of n)o=pl._pushAttributed(o,s,r);return o}static _pushAttributed(t,r,n){const o=n.getMetadataForScope(r),s=t.scopePath.push(r),i=n.themeProvider.themeMatch(s),a=pl.mergeAttributes(t.tokenAttributes,o,i);return new pl(t,s,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var o;const r=[];let n=this;for(;n&&n!==t;)r.push({encodedTokenAttributes:n.tokenAttributes,scopeNames:n.scopePath.getExtensionIfDefined(((o=n.parent)==null?void 0:o.scopePath)??null)}),n=n.parent;return n===t?r.reverse():void 0}},ra,V2=(ra=class{constructor(t,r,n,o,s,i,a,l){Re(this,"_stackElementBrand");Re(this,"_enterPos");Re(this,"_anchorPos");Re(this,"depth");this.parent=t,this.ruleId=r,this.beginRuleCapturedEOL=s,this.endRule=i,this.nameScopesList=a,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=n,this._anchorPos=o}equals(t){return t===null?!1:ra._equals(this,t)}static _equals(t,r){return t===r?!0:this._structuralEquals(t,r)?sg.equals(t.contentNameScopesList,r.contentNameScopesList):!1}static _structuralEquals(t,r){do{if(t===r||!t&&!r)return!0;if(!t||!r||t.depth!==r.depth||t.ruleId!==r.ruleId||t.endRule!==r.endRule)return!1;t=t.parent,r=r.parent}while(!0)}clone(){return this}static _reset(t){for(;t;)t._enterPos=-1,t._anchorPos=-1,t=t.parent}reset(){ra._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,r,n,o,s,i,a){return new ra(this,t,r,n,o,s,i,a)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(t){return t.getRule(this.ruleId)}toString(){const t=[];return this._writeString(t,0),"["+t.join(",")+"]"}_writeString(t,r){var n,o;return this.parent&&(r=this.parent._writeString(t,r)),t[r++]=`(${this.ruleId}, ${(n=this.nameScopesList)==null?void 0:n.toString()}, ${(o=this.contentNameScopesList)==null?void 0:o.toString()})`,r}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new ra(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let r=this;for(;r&&r._enterPos===t._enterPos;){if(r.ruleId===t.ruleId)return!0;r=r.parent}return!1}toStateStackFrame(){var t,r,n;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((r=this.nameScopesList)==null?void 0:r.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((n=this.contentNameScopesList)==null?void 0:n.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,r){const n=sg.fromExtension((t==null?void 0:t.nameScopesList)??null,r.nameScopesList);return new ra(t,r.ruleId,r.enterPos??-1,r.anchorPos??-1,r.beginRuleCapturedEOL,r.endRule,n,sg.fromExtension(n,r.contentNameScopesList))}},Re(ra,"NULL",new ra(null,0,0,0,!1,null,null,null)),ra),m5e=class{constructor(e,t){Re(this,"balancedBracketScopes");Re(this,"unbalancedBracketScopes");Re(this,"allowAny",!1);this.balancedBracketScopes=e.flatMap(r=>r==="*"?(this.allowAny=!0,[]):tw(r,ow).map(n=>n.matcher)),this.unbalancedBracketScopes=t.flatMap(r=>tw(r,ow).map(n=>n.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},g5e=class{constructor(e,t,r,n){Re(this,"_emitBinaryTokens");Re(this,"_lineText");Re(this,"_tokens");Re(this,"_binaryTokens");Re(this,"_lastTokenEndIndex");Re(this,"_tokenTypeOverrides");this.balancedBracketSelectors=n,this._emitBinaryTokens=e,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var n;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let o=(e==null?void 0:e.tokenAttributes)??0,s=!1;if((n=this.balancedBracketSelectors)!=null&&n.matchesAlways&&(s=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const i=(e==null?void 0:e.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(i)&&(o=jh.set(o,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(s=this.balancedBracketSelectors.match(i))}if(s&&(o=jh.set(o,0,8,s,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===o){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(o),this._lastTokenEndIndex=t;return}const r=(e==null?void 0:e.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:r}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const r=new Uint32Array(this._binaryTokens.length);for(let n=0,o=this._binaryTokens.length;n0;)s.Q.map(i=>this._loadSingleGrammar(i.scopeName)),s.processQueue();return this._grammarForScopeName(e,t,r,n,o)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){const t=this._options.loadGrammar(e);if(t){const r=typeof this._options.getInjections=="function"?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,r)}}addGrammar(e,t=[],r=0,n=null){return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,r,n)}_grammarForScopeName(e,t=0,r=null,n=null,o=null){return this._syncRegistry.grammarForScopeName(e,t,r,n,o)}},U2=V2.NULL;function sw(e,t){const r=typeof e=="string"?{}:{...e.colorReplacements},n=typeof e=="string"?e:e.name;for(const[o,s]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof s=="string"?r[o]=s:o===n&&Object.assign(r,s);return r}function Nu(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function b5e(e){return Array.isArray(e)?e:[e]}async function M7(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function Lx(e){return!e||["plaintext","txt","text","plain"].includes(e)}function w5e(e){return e==="ansi"||Lx(e)}function Rx(e){return e==="none"}function x5e(e){return Rx(e)}function Bx(e,t=!1){var s;if(e.length===0)return[["",0]];const r=e.split(/(\r?\n)/g);let n=0;const o=[];for(let i=0;i!f.name&&!f.scope):void 0;(a=p==null?void 0:p.settings)!=null&&a.foreground&&(n=p.settings.foreground),(l=p==null?void 0:p.settings)!=null&&l.background&&(r=p.settings.background),!n&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(n=t.colors["editor.foreground"]),!r&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(r=t.colors["editor.background"]),n||(n=t.type==="light"?HM.light:HM.dark),r||(r=t.type==="light"?WM.light:WM.dark),t.fg=n,t.bg=r}t.settings[0]&&t.settings[0].settings&&!t.settings[0].scope||t.settings.unshift({settings:{foreground:t.fg,background:t.bg}});let o=0;const s=new Map;function i(p){var m;if(s.has(p))return s.get(p);o+=1;const f=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(m=t.colorReplacements)!=null&&m[`#${f}`]?i(p):(s.set(p,f),f)}t.settings=t.settings.map(p=>{var g,y;const f=((g=p.settings)==null?void 0:g.foreground)&&!p.settings.foreground.startsWith("#"),m=((y=p.settings)==null?void 0:y.background)&&!p.settings.background.startsWith("#");if(!f&&!m)return p;const v={...p,settings:{...p.settings}};if(f){const b=i(p.settings.foreground);t.colorReplacements[b]=p.settings.foreground,v.settings.foreground=b}if(m){const b=i(p.settings.background);t.colorReplacements[b]=p.settings.background,v.settings.background=b}return v});for(const p of Object.keys(t.colors||{}))if((p==="editor.foreground"||p==="editor.background"||p.startsWith("terminal.ansi"))&&!((d=t.colors[p])!=null&&d.startsWith("#"))){const f=i(t.colors[p]);t.colorReplacements[f]=t.colors[p],t.colors[p]=f}return Object.defineProperty(t,GM,{enumerable:!1,writable:!1,value:!0}),t}async function N7(e){return Array.from(new Set((await Promise.all(e.filter(t=>!w5e(t)).map(async t=>await M7(t).then(r=>Array.isArray(r)?r:[r])))).flat()))}async function L7(e){return(await Promise.all(e.map(async t=>x5e(t)?null:lO(await M7(t))))).filter(t=>!!t)}function R7(e,t){if(!t)return e;if(t[e]){const r=new Set([e]);for(;t[e];){if(e=t[e],r.has(e))throw new $o(`Circular alias \`${Array.from(r).join(" -> ")} -> ${e}\``);r.add(e)}}return e}var k5e=class extends y5e{constructor(t,r,n,o={}){super(t);Re(this,"_resolvedThemes",new Map);Re(this,"_resolvedGrammars",new Map);Re(this,"_langMap",new Map);Re(this,"_langGraph",new Map);Re(this,"_textmateThemeCache",new WeakMap);Re(this,"_loadedThemesCache",null);Re(this,"_loadedLanguagesCache",null);this._resolver=t,this._themes=r,this._langs=n,this._alias=o,this._themes.map(s=>this.loadTheme(s)),this.loadLanguages(this._langs)}getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const r=lO(t);return r.name&&(this._resolvedThemes.set(r.name,r),this._loadedThemesCache=null),r}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let r=this._textmateThemeCache.get(t);r||(r=ew.createFromRawTheme(t),this._textmateThemeCache.set(t,r)),this._syncRegistry.setTheme(r)}getGrammar(t){return t=R7(t,this._alias),this._resolvedGrammars.get(t)}loadLanguage(t){var s,i,a,l;if(this.getGrammar(t.name))return;const r=new Set([...this._langMap.values()].filter(c=>{var u;return(u=c.embeddedLangsLazy)==null?void 0:u.includes(t.name)}));this._resolver.addLanguage(t);const n={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const o=this.loadGrammarWithConfiguration(t.scopeName,1,n);if(o.name=t.name,this._resolvedGrammars.set(t.name,o),t.aliases&&t.aliases.forEach(c=>{this._alias[c]=t.name}),this._loadedLanguagesCache=null,r.size)for(const c of r)this._resolvedGrammars.delete(c.name),this._loadedLanguagesCache=null,(i=(s=this._syncRegistry)==null?void 0:s._injectionGrammars)==null||i.delete(c.scopeName),(l=(a=this._syncRegistry)==null?void 0:a._grammars)==null||l.delete(c.scopeName),this.loadLanguage(this._langMap.get(c.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const o of t)this.resolveEmbeddedLanguages(o);const r=Array.from(this._langGraph.entries()),n=r.filter(([o,s])=>!s);if(n.length){const o=r.filter(([s,i])=>{var a;return i?(a=i.embeddedLanguages||i.embeddedLangs)==null?void 0:a.some(l=>n.map(([c])=>c).includes(l)):!1}).filter(s=>!n.includes(s));throw new $o(`Missing languages ${n.map(([s])=>`\`${s}\``).join(", ")}, required by ${o.map(([s])=>`\`${s}\``).join(", ")}`)}for(const[o,s]of r)this._resolver.addLanguage(s);for(const[o,s]of r)this.loadLanguage(s)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){this._langMap.set(t.name,t),this._langGraph.set(t.name,t);const r=t.embeddedLanguages??t.embeddedLangs;if(r)for(const n of r)this._langGraph.set(n,this._langMap.get(n))}},j5e=class{constructor(e,t){Re(this,"_langs",new Map);Re(this,"_scopeToLang",new Map);Re(this,"_injections",new Map);Re(this,"_onigLib");this._onigLib={createOnigScanner:r=>e.createScanner(r),createOnigString:r=>e.createString(r)},t.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){const t=e.split(".");let r=[];for(let n=1;n<=t.length;n++){const o=t.slice(0,n).join(".");r=[...r,...this._injections.get(o)||[]]}return r}};let _m=0;function _5e(e){_m+=1,e.warnings!==!1&&_m>=10&&_m%10===0&&console.warn(`[Shiki] ${_m} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new $o("`engine` option is required for synchronous mode");const r=(e.langs||[]).flat(1),n=(e.themes||[]).flat(1).map(lO),o=new k5e(new j5e(e.engine,r),n,r,e.langAlias);let s;function i(b){return R7(b,e.langAlias)}function a(b){g();const w=o.getGrammar(typeof b=="string"?b:b.name);if(!w)throw new $o(`Language \`${b}\` not found, you may need to load it first`);return w}function l(b){if(b==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};g();const w=o.getTheme(b);if(!w)throw new $o(`Theme \`${b}\` not found, you may need to load it first`);return w}function c(b){g();const w=l(b);return s!==b&&(o.setTheme(w),s=b),{theme:w,colorMap:o.getColorMap()}}function u(){return g(),o.getLoadedThemes()}function d(){return g(),o.getLoadedLanguages()}function p(...b){g(),o.loadLanguages(b.flat(1))}async function f(...b){return p(await N7(b))}function m(...b){g();for(const w of b.flat(1))o.loadTheme(w)}async function v(...b){return g(),m(await L7(b))}function g(){if(t)throw new $o("Shiki instance has been disposed")}function y(){t||(t=!0,o.dispose(),_m-=1)}return{setTheme:c,getTheme:l,getLanguage:a,getLoadedThemes:u,getLoadedLanguages:d,resolveLangAlias:i,loadLanguage:f,loadLanguageSync:p,loadTheme:v,loadThemeSync:m,dispose:y,[Symbol.dispose]:y}}async function S5e(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");const[t,r,n]=await Promise.all([L7(e.themes||[]),N7(e.langs||[]),e.engine]);return _5e({...e,themes:t,langs:r,engine:n})}const B7=new WeakMap;function qx(e,t){B7.set(e,t)}function cv(e){return B7.get(e)}var zx=class q7{constructor(...t){Re(this,"_stacks",{});Re(this,"lang");if(t.length===2){const[r,n]=t;this.lang=n,this._stacks=r}else{const[r,n,o]=t;this.lang=n,this._stacks={[o]:r}}}get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,r){return new q7(Object.fromEntries(b5e(r).map(n=>[n,U2])),t)}getInternalStack(t=this.theme){return this._stacks[t]}getScopes(t=this.theme){return C5e(this._stacks[t])}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}};function C5e(e){const t=[],r=new Set;function n(o){var i;if(r.has(o))return;r.add(o);const s=(i=o==null?void 0:o.nameScopesList)==null?void 0:i.scopeName;s&&t.push(s),o.parent&&n(o.parent)}return n(e),t}function A5e(e,t){if(!(e instanceof zx))throw new $o("Invalid grammar state");return e.getInternalStack(t)}function z7(e,t,r={}){const{theme:n=e.getLoadedThemes()[0]}=r;if(Lx(e.resolveLangAlias(r.lang||"text"))||Rx(n))return Bx(t).map(a=>[{content:a[0],offset:a[1]}]);const{theme:o,colorMap:s}=e.setTheme(n),i=e.getLanguage(r.lang||"text");if(r.grammarState){if(r.grammarState.lang!==i.name)throw new $o(`Grammar state language "${r.grammarState.lang}" does not match highlight language "${i.name}"`);if(!r.grammarState.themes.includes(o.name))throw new $o(`Grammar state themes "${r.grammarState.themes}" do not contain highlight theme "${o.name}"`)}return O5e(t,i,o,s,r)}function E5e(...e){if(e.length===2)return cv(e[1]);const[t,r,n={}]=e,{lang:o="text",theme:s=t.getLoadedThemes()[0]}=n;if(Lx(o)||Rx(s))throw new $o("Plain language does not have grammar state");if(o==="ansi")throw new $o("ANSI language does not have grammar state");const{theme:i,colorMap:a}=t.setTheme(s),l=t.getLanguage(o);return new zx(cO(r,l,i,a,n).stateStack,l.name,i.name)}function O5e(e,t,r,n,o){const s=cO(e,t,r,n,o),i=new zx(s.stateStack,t.name,r.name);return qx(s.tokens,i),s.tokens}function cO(e,t,r,n,o){const s=sw(r,o),{tokenizeMaxLineLength:i=0,tokenizeTimeLimit:a=500}=o,l=Bx(e);let c=o.grammarState?A5e(o.grammarState,r.name)??U2:o.grammarContextCode!=null?cO(o.grammarContextCode,t,r,n,{...o,grammarState:void 0,grammarContextCode:void 0}).stateStack:U2,u=[];const d=[];for(let p=0,f=l.length;p0&&m.length>=i){u=[],d.push([{content:m,offset:v,color:"",fontStyle:0}]);continue}let g,y,b;o.includeExplanation&&(g=t.tokenizeLine(m,c,a),y=g.tokens,b=0);const w=t.tokenizeLine2(m,c,a),k=w.tokens.length/2;for(let x=0;xX.trim());break;case"object":N=z.scope;break;default:continue}L.push({settings:z,selectors:N.map(X=>X.split(/ /))})}M.explanation=[];let F=0;for(;j+F<_;){const z=y[b],N=m.substring(z.startIndex,z.endIndex);F+=N.length,M.explanation.push({content:N,scopes:o.includeExplanation==="scopeName"?$5e(z.scopes):T5e(L,z.scopes)}),b+=1}}u.push(M)}d.push(u),u=[],c=w.ruleStack}return{tokens:d,stateStack:c}}function $5e(e){return e.map(t=>({scopeName:t}))}function T5e(e,t){const r=[];for(let n=0,o=t.length;n=0&&o>=0;)JM(e[n],r[o])&&(n-=1),o-=1;return n===-1}function I5e(e,t,r){const n=[];for(const{selectors:o,settings:s}of e)for(const i of o)if(P5e(i,t,r)){n.push(s);break}return n}function F7(e,t,r){const n=Object.entries(r.themes).filter(l=>l[1]).map(l=>({color:l[0],theme:l[1]})),o=n.map(l=>{const c=z7(e,t,{...r,theme:l.theme});return{tokens:c,state:cv(c),theme:typeof l.theme=="string"?l.theme:l.theme.name}}),s=D5e(...o.map(l=>l.tokens)),i=s[0].map((l,c)=>l.map((u,d)=>{const p={content:u.content,variants:{},offset:u.offset};return"includeExplanation"in r&&r.includeExplanation&&(p.explanation=u.explanation),s.forEach((f,m)=>{const{content:v,explanation:g,offset:y,...b}=f[c][d];p.variants[n[m].color]=b}),p})),a=o[0].state?new zx(Object.fromEntries(o.map(l=>{var c;return[l.theme,(c=l.state)==null?void 0:c.getInternalStack(l.theme)]})),o[0].state.lang):void 0;return a&&qx(i,a),i}function D5e(...e){const t=e.map(()=>[]),r=e.length;for(let n=0;nl[n]),s=t.map(()=>[]);t.forEach((l,c)=>l.push(s[c]));const i=o.map(()=>0),a=o.map(l=>l[0]);for(;a.every(l=>l);){const l=Math.min(...a.map(c=>c.content.length));for(let c=0;c4&&r.slice(0,4)==="data"&&q5e.test(t)){if(t.charAt(4)==="-"){const s=t.slice(5).replace(QM,V5e);n="data"+s.charAt(0).toUpperCase()+s.slice(1)}else{const s=t.slice(4);if(!QM.test(s)){let i=s.replace(B5e,F5e);i.charAt(0)!=="-"&&(i="-"+i),t="data"+i}}o=uO}return new o(n,t)}function F5e(e){return"-"+e.toLowerCase()}function V5e(e){return e.charAt(1).toUpperCase()}const U5e=V7([H7,L5e,J7,K7,Q7],"html"),Z7=V7([H7,R5e,J7,K7,Q7],"svg"),ZM={}.hasOwnProperty;function H5e(e,t){const r=t||{};function n(o,...s){let i=n.invalid;const a=n.handlers;if(o&&ZM.call(o,e)){const l=String(o[e]);i=ZM.call(a,l)?a[l]:n.unknown}if(i)return i.call(this,o,...s)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}const W5e=/["&'<>`]/g,G5e=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,J5e=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,K5e=/[|\\{}()[\]^$+*?.]/g,XM=new WeakMap;function Q5e(e,t){if(e=e.replace(t.subset?Z5e(t.subset):W5e,n),t.subset||t.escapeOnly)return e;return e.replace(G5e,r).replace(J5e,n);function r(o,s,i){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,i.charCodeAt(s+2),t)}function n(o,s,i){return t.format(o.charCodeAt(0),i.charCodeAt(s+1),t)}}function Z5e(e){let t=XM.get(e);return t||(t=X5e(e),XM.set(e,t)),t}function X5e(e){const t=[];let r=-1;for(;++r",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},o6e=["cent","copy","divide","gt","lt","not","para","times"],X7={}.hasOwnProperty,G2={};let z0;for(z0 in Xj)X7.call(Xj,z0)&&(G2[Xj[z0]]=z0);const s6e=/[^\dA-Za-z]/;function i6e(e,t,r,n){const o=String.fromCharCode(e);if(X7.call(G2,o)){const s=G2[o],i="&"+s;return r&&n6e.includes(s)&&!o6e.includes(s)&&(!n||t&&t!==61&&s6e.test(String.fromCharCode(t)))?i:i+";"}return""}function a6e(e,t,r){let n=e6e(e,t,r.omitOptionalSemicolons),o;if((r.useNamedReferences||r.useShortestReferences)&&(o=i6e(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!o)&&r.useShortestReferences){const s=r6e(e,t,r.omitOptionalSemicolons);s.length|^->||--!>|"],u6e=["<",">"];function d6e(e,t,r,n){return n.settings.bogusComments?"":"";function o(s){return Zf(s,Object.assign({},n.settings.characterReferences,{subset:u6e}))}}function p6e(e,t,r,n){return""}function YM(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,o=r.indexOf(t);for(;o!==-1;)n++,o=r.indexOf(t,o+t.length);return n}function f6e(e,t){const r=t||{};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}function h6e(e){return e.join(" ").trim()}const m6e=/[ \t\n\f\r]/g;function dO(e){return typeof e=="object"?e.type==="text"?eN(e.value):!1:eN(e)}function eN(e){return e.replace(m6e,"")===""}const ps=eV(1),Y7=eV(-1),g6e=[];function eV(e){return t;function t(r,n,o){const s=r?r.children:g6e;let i=(n||0)+e,a=s[i];if(!o)for(;a&&dO(a);)i+=e,a=s[i];return a}}const v6e={}.hasOwnProperty;function tV(e){return t;function t(r,n,o){return v6e.call(e,r.tagName)&&e[r.tagName](r,n,o)}}const pO=tV({body:b6e,caption:Yj,colgroup:Yj,dd:j6e,dt:k6e,head:Yj,html:y6e,li:x6e,optgroup:_6e,option:S6e,p:w6e,rp:tN,rt:tN,tbody:A6e,td:rN,tfoot:E6e,th:rN,thead:C6e,tr:O6e});function Yj(e,t,r){const n=ps(r,t,!0);return!n||n.type!=="comment"&&!(n.type==="text"&&dO(n.value.charAt(0)))}function y6e(e,t,r){const n=ps(r,t);return!n||n.type!=="comment"}function b6e(e,t,r){const n=ps(r,t);return!n||n.type!=="comment"}function w6e(e,t,r){const n=ps(r,t);return n?n.type==="element"&&(n.tagName==="address"||n.tagName==="article"||n.tagName==="aside"||n.tagName==="blockquote"||n.tagName==="details"||n.tagName==="div"||n.tagName==="dl"||n.tagName==="fieldset"||n.tagName==="figcaption"||n.tagName==="figure"||n.tagName==="footer"||n.tagName==="form"||n.tagName==="h1"||n.tagName==="h2"||n.tagName==="h3"||n.tagName==="h4"||n.tagName==="h5"||n.tagName==="h6"||n.tagName==="header"||n.tagName==="hgroup"||n.tagName==="hr"||n.tagName==="main"||n.tagName==="menu"||n.tagName==="nav"||n.tagName==="ol"||n.tagName==="p"||n.tagName==="pre"||n.tagName==="section"||n.tagName==="table"||n.tagName==="ul"):!r||!(r.type==="element"&&(r.tagName==="a"||r.tagName==="audio"||r.tagName==="del"||r.tagName==="ins"||r.tagName==="map"||r.tagName==="noscript"||r.tagName==="video"))}function x6e(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&n.tagName==="li"}function k6e(e,t,r){const n=ps(r,t);return!!(n&&n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd"))}function j6e(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&(n.tagName==="dt"||n.tagName==="dd")}function tN(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&(n.tagName==="rp"||n.tagName==="rt")}function _6e(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&n.tagName==="optgroup"}function S6e(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&(n.tagName==="option"||n.tagName==="optgroup")}function C6e(e,t,r){const n=ps(r,t);return!!(n&&n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot"))}function A6e(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&(n.tagName==="tbody"||n.tagName==="tfoot")}function E6e(e,t,r){return!ps(r,t)}function O6e(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&n.tagName==="tr"}function rN(e,t,r){const n=ps(r,t);return!n||n.type==="element"&&(n.tagName==="td"||n.tagName==="th")}const $6e=tV({body:I6e,colgroup:D6e,head:P6e,html:T6e,tbody:M6e});function T6e(e){const t=ps(e,-1);return!t||t.type!=="comment"}function P6e(e){const t=new Set;for(const n of e.children)if(n.type==="element"&&(n.tagName==="base"||n.tagName==="title")){if(t.has(n.tagName))return!1;t.add(n.tagName)}const r=e.children[0];return!r||r.type==="element"}function I6e(e){const t=ps(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&dO(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function D6e(e,t,r){const n=Y7(r,t),o=ps(e,-1,!0);return r&&n&&n.type==="element"&&n.tagName==="colgroup"&&pO(n,r.children.indexOf(n),r)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function M6e(e,t,r){const n=Y7(r,t),o=ps(e,-1);return r&&n&&n.type==="element"&&(n.tagName==="thead"||n.tagName==="tbody")&&pO(n,r.children.indexOf(n),r)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const F0={name:[[` \f\r &/=>`.split(""),` \f\r "&'/=>\``.split("")],[`\0 \f\r "&'/<=>`.split(""),`\0 @@ -4061,8 +4061,8 @@ button.jse-context-menu-button.svelte-1idfykj svg { \f\r &>`.split(""),`\0 \f\r "&'<=>\``.split("")],[`\0 \f\r "&'<=>\``.split(""),`\0 -\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function L6e(e,t,r,n){const o=n.schema,s=o.space==="svg"?!1:n.settings.omitOptionalTags;let i=o.space==="svg"?n.settings.closeEmptyElements:n.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;o.space==="html"&&e.tagName==="svg"&&(n.schema=Z7);const c=N6e(n,e.properties),u=n.all(o.space==="html"&&e.tagName==="template"?e.content:e);return n.schema=o,u&&(i=!1),(c||!s||!$6e(e,t,r))&&(a.push("<",e.tagName,c?" "+c:""),i&&(o.space==="svg"||n.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!n.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!i&&(!s||!pO(e,t,r))&&a.push(""),a.join("")}function N6e(e,t){const r=[];let n=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const s=R6e(e,o,t[o]);s&&r.push(s)}}for(;++nYM(r,e.alternative)&&(i=e.alternative),a=i+Zf(r,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?F0.single:F0.double)[o][s],attribute:!0}))+i),l+(a&&"="+a))}const B6e=["<","&"];function rV(e,t,r,n){return r&&r.type==="element"&&(r.tagName==="script"||r.tagName==="style")?e.value:Zf(e.value,Object.assign({},n.settings.characterReferences,{subset:B6e}))}function q6e(e,t,r,n){return n.settings.allowDangerousHtml?e.value:rV(e,t,r,n)}function z6e(e,t,r,n){return n.all(e)}const F6e=H5e("type",{invalid:V6e,unknown:U6e,handlers:{comment:d6e,doctype:p6e,element:L6e,raw:q6e,root:z6e,text:rV}});function V6e(e){throw new Error("Expected node, not `"+e+"`")}function U6e(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const H6e={},W6e={},G6e=[];function J6e(e,t){const r=t||H6e,n=r.quote||'"',o=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:K6e,all:Q6e,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||M5e,characterReferences:r.characterReferences||W6e,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:r.space==="svg"?Z7:U5e,quote:n,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function K6e(e,t,r){return F6e(e,t,r,this)}function Q6e(e){const t=[],r=e&&e.children||G6e;let n=-1;for(;++no);function r(o){if(o===e.length)return{line:t.length-1,character:t[t.length-1].length};let s=o,i=0;for(const a of t){if(sr&&n.push({...e,content:e.content.slice(r,o),offset:e.offset+r}),r=o;return rn-o);return r.length?e.map(n=>n.flatMap(o=>{const s=r.filter(i=>o.offseti-o.offset).sort((i,a)=>i-a);return s.length?Y6e(o,s):o})):e}function tBe(e,t,r,n,o="css-vars"){const s={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(u=>iw(e.variants[u])),a=new Set(i.flatMap(u=>Object.keys(u))),l={},c=(u,d)=>{const p=d==="color"?"":d==="background-color"?"-bg":`-${d}`;return r+t[u]+(d==="color"?"":p)};return i.forEach((u,d)=>{for(const p of a){const f=u[p]||"inherit";if(d===0&&n&&X6e.includes(p))if(n===fO&&i.length>1){const m=t.findIndex(g=>g==="light"),v=t.findIndex(g=>g==="dark");if(m===-1||v===-1)throw new $o('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');l[p]=`light-dark(${i[m][p]||"inherit"}, ${i[v][p]||"inherit"})`,o==="css-vars"&&(l[c(d,p)]=f)}else l[p]=f;else o==="css-vars"&&(l[c(d,p)]=f)}}),s.htmlStyle=l,s}function iw(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&zs.Italic&&(t["font-style"]="italic"),e.fontStyle&zs.Bold&&(t["font-weight"]="bold");const r=[];e.fontStyle&zs.Underline&&r.push("underline"),e.fontStyle&zs.Strikethrough&&r.push("line-through"),r.length&&(t["text-decoration"]=r.join(" "))}return t}function J2(e){return typeof e=="string"?e:Object.entries(e).map(([t,r])=>`${t}:${r}`).join(";")}function rBe(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let n=function(i){if(typeof i=="number"){if(i<0||i>r.source.length)throw new $o(`Invalid decoration offset: ${i}. Code length: ${r.source.length}`);return{...o.indexToPos(i),offset:i}}else{const a=o.lines[i.line];if(a===void 0)throw new $o(`Invalid decoration position ${JSON.stringify(i)}. Lines length: ${o.lines.length}`);let l=i.character;if(l<0&&(l=a.length+l),l<0||l>a.length)throw new $o(`Invalid decoration position ${JSON.stringify(i)}. Line ${i.line} length: ${a.length}`);return{...i,character:l,offset:o.posToIndex(i.line,l)}}};const o=Z6e(r.source),s=(r.options.decorations||[]).map(i=>({...i,start:n(i.start),end:n(i.end)}));nBe(s),e.set(r.meta,{decorations:s,converter:o,source:r.source})}return e.get(r.meta)}return{name:"shiki:decorations",tokens(r){var n;if((n=this.options.decorations)!=null&&n.length)return eBe(r,t(this).decorations.flatMap(o=>[o.start.offset,o.end.offset]))},code(r){var u;if(!((u=this.options.decorations)!=null&&u.length))return;const n=t(this),o=Array.from(r.children).filter(d=>d.type==="element"&&d.tagName==="span");if(o.length!==n.converter.lines.length)throw new $o(`Number of lines in code element (${o.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function s(d,p,f,m){const v=o[d];let g="",y=-1,b=-1;if(p===0&&(y=0),f===0&&(b=0),f===Number.POSITIVE_INFINITY&&(b=v.children.length),y===-1||b===-1)for(let k=0;ky);return d.tagName=p.tagName||"span",d.properties={...d.properties,...m,class:d.properties.class},(g=p.properties)!=null&&g.class&&nV(d,p.properties.class),d=v(d,f)||d,d}const l=[],c=n.decorations.sort((d,p)=>p.start.offset-d.start.offset||d.end.offset-p.end.offset);for(const d of c){const{start:p,end:f}=d;if(p.line===f.line)s(p.line,p.character,f.character,d);else if(p.linei(m,d));s(f.line,0,f.character,d)}}l.forEach(d=>d())}}}function nBe(e){for(let t=0;tr.end.offset)throw new $o(`Invalid decoration range: ${JSON.stringify(r.start)} - ${JSON.stringify(r.end)}`);for(let n=t+1;nNumber.parseInt(n));return r.length!==3||r.some(n=>Number.isNaN(n))?void 0:{type:"rgb",rgb:r}}else if(t==="5"){const r=e.shift();if(r)return{type:"table",index:Number(r)}}}function aBe(e){const t=[];for(;e.length>0;){const r=e.shift();if(!r)continue;const n=Number.parseInt(r);if(!Number.isNaN(n))if(n===0)t.push({type:"resetAll"});else if(n<=9)e_[n]&&t.push({type:"setDecoration",value:e_[n]});else if(n<=29){const o=e_[n-20];o&&(t.push({type:"resetDecoration",value:o}),o==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(n<=37)t.push({type:"setForegroundColor",value:{type:"named",name:qd[n-30]}});else if(n===38){const o=nL(e);o&&t.push({type:"setForegroundColor",value:o})}else if(n===39)t.push({type:"resetForegroundColor"});else if(n<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:qd[n-40]}});else if(n===48){const o=nL(e);o&&t.push({type:"setBackgroundColor",value:o})}else n===49?t.push({type:"resetBackgroundColor"}):n===53?t.push({type:"setDecoration",value:"overline"}):n===55?t.push({type:"resetDecoration",value:"overline"}):n>=90&&n<=97?t.push({type:"setForegroundColor",value:{type:"named",name:qd[n-90+8]}}):n>=100&&n<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:qd[n-100+8]}})}return t}function lBe(){let e=null,t=null,r=new Set;return{parse(n){const o=[];let s=0;do{const i=iBe(n,s),a=i.sequence?n.substring(s,i.startPosition):n.substring(s);if(a.length>0&&o.push({value:a,foreground:e,background:t,decorations:new Set(r)}),i.sequence){const l=aBe(i.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,r.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&r.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&r.add(c.value)}s=i.position}while(sMath.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let n;function o(){if(n)return n;n=[];for(let c=0;c{var c;const l=`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`;return[a,((c=e.colors)==null?void 0:c[l])||dBe[a]]}))),i=lBe();return o.map(a=>i.parse(a[0]).map(l=>{let c,u;l.decorations.has("reverse")?(c=l.background?s.value(l.background):e.bg,u=l.foreground?s.value(l.foreground):e.fg):(c=l.foreground?s.value(l.foreground):e.fg,u=l.background?s.value(l.background):void 0),c=Lu(c,n),u=Lu(u,n),l.decorations.has("dim")&&(c=fBe(c));let d=zs.None;return l.decorations.has("bold")&&(d|=zs.Bold),l.decorations.has("italic")&&(d|=zs.Italic),l.decorations.has("underline")&&(d|=zs.Underline),l.decorations.has("strikethrough")&&(d|=zs.Strikethrough),{content:l.value,offset:a[1],color:c,bgColor:u,fontStyle:d}}))}function fBe(e){const t=e.match(/#([0-9a-f]{3,8})/i);if(t){const n=t[1];if(n.length===8){const o=Math.round(Number.parseInt(n.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${n.slice(0,6)}${o}`}else{if(n.length===6)return`#${n}80`;if(n.length===4){const o=n[0],s=n[1],i=n[2],a=n[3];return`#${o}${o}${s}${s}${i}${i}${Math.round(Number.parseInt(`${a}${a}`,16)/2).toString(16).padStart(2,"0")}`}else if(n.length===3){const o=n[0],s=n[1],i=n[2];return`#${o}${o}${s}${s}${i}${i}80`}}}const r=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return r?`var(${r[1]}-dim)`:e}function sV(e,t,r={}){const n=e.resolveLangAlias(r.lang||"text"),{theme:o=e.getLoadedThemes()[0]}=r;if(!Nx(n)&&!Rx(o)&&n==="ansi"){const{theme:s}=e.setTheme(o);return pBe(s,t,r)}return z7(e,t,r)}function lw(e,t,r){let n,o,s,i,a,l;if("themes"in r){const{defaultColor:c="light",cssVariablePrefix:u="--shiki-",colorsRendering:d="css-vars"}=r,p=Object.entries(r.themes).filter(y=>y[1]).map(y=>({color:y[0],theme:y[1]})).sort((y,b)=>y.color===c?-1:b.color===c?1:0);if(p.length===0)throw new $o("`themes` option must not be empty");const f=F7(e,t,r);if(l=cv(f),c&&fO!==c&&!p.find(y=>y.color===c))throw new $o(`\`themes\` option must contain the defaultColor key \`${c}\``);const m=p.map(y=>e.getTheme(y.theme)),v=p.map(y=>y.color);s=f.map(y=>y.map(b=>tBe(b,v,u,c,d))),l&&qx(s,l);const g=p.map(y=>sw(y.theme,r));o=oL(p,m,g,u,c,"fg",d),n=oL(p,m,g,u,c,"bg",d),i=`shiki-themes ${m.map(y=>y.name).join(" ")}`,a=c?void 0:[o,n].join(";")}else if("theme"in r){const c=sw(r.theme,r);s=sV(e,t,r);const u=e.getTheme(r.theme);n=Lu(u.bg,c),o=Lu(u.fg,c),i=u.name,l=cv(s)}else throw new $o("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:o,bg:n,themeName:i,rootStyle:a,grammarState:l}}function oL(e,t,r,n,o,s,i){return e.map((a,l)=>{const c=Lu(t[l][s],r[l])||"inherit",u=`${n+a.color}${s==="bg"?"-bg":""}:${c}`;if(l===0&&o){if(o===fO&&e.length>1){const d=e.findIndex(f=>f.color==="light"),p=e.findIndex(f=>f.color==="dark");if(d===-1||p===-1)throw new $o('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${Lu(t[d][s],r[d])||"inherit"}, ${Lu(t[p][s],r[p])||"inherit"});${u}`}return c}return i==="css-vars"?u:null}).filter(a=>!!a).join(";")}function cw(e,t,r,n={meta:{},options:r,codeToHast:(o,s)=>cw(e,o,s),codeToTokens:(o,s)=>lw(e,o,s)}){var m,v;let o=t;for(const g of aw(r))o=((m=g.preprocess)==null?void 0:m.call(n,o,r))||o;let{tokens:s,fg:i,bg:a,themeName:l,rootStyle:c,grammarState:u}=lw(e,o,r);const{mergeWhitespaces:d=!0,mergeSameStyleTokens:p=!1}=r;d===!0?s=mBe(s):d==="never"&&(s=gBe(s)),p&&(s=vBe(s));const f={...n,get source(){return o}};for(const g of aw(r))s=((v=g.tokens)==null?void 0:v.call(f,s))||s;return hBe(s,{...r,fg:i,bg:a,themeName:l,rootStyle:r.rootStyle===!1?!1:r.rootStyle??c},f,u)}function hBe(e,t,r,n=cv(e)){var v,g,y,b;const o=aw(t),s=[],i={type:"root",children:[]},{structure:a="classic",tabindex:l="0"}=t,c={class:`shiki ${t.themeName||""}`};t.rootStyle!==!1&&(t.rootStyle!=null?c.style=t.rootStyle:c.style=`background-color:${t.bg};color:${t.fg}`),l!==!1&&l!=null&&(c.tabindex=l.toString());for(const[w,k]of Object.entries(t.meta||{}))w.startsWith("_")||(c[w]=k);let u={type:"element",tagName:"pre",properties:c,children:[],data:t.data},d={type:"element",tagName:"code",properties:{},children:s};const p=[],f={...r,structure:a,addClassToHast:nV,get source(){return r.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return u},get code(){return d},get lines(){return p}};if(e.forEach((w,k)=>{var _,C;k&&(a==="inline"?i.children.push({type:"element",tagName:"br",properties:{},children:[]}):a==="classic"&&s.push({type:"text",value:` -`}));let x={type:"element",tagName:"span",properties:{class:"line"},children:[]},j=0;for(const A of w){let I={type:"element",tagName:"span",properties:{...A.htmlAttrs},children:[{type:"text",value:A.content}]};const M=J2(A.htmlStyle||iw(A));M&&(I.properties.style=M);for(const N of o)I=((_=N==null?void 0:N.span)==null?void 0:_.call(f,I,k+1,j,x,A))||I;a==="inline"?i.children.push(I):a==="classic"&&x.children.push(I),j+=A.content.length}if(a==="classic"){for(const A of o)x=((C=A==null?void 0:A.line)==null?void 0:C.call(f,x,k+1))||x;p.push(x),s.push(x)}else a==="inline"&&p.push(x)}),a==="classic"){for(const w of o)d=((v=w==null?void 0:w.code)==null?void 0:v.call(f,d))||d;u.children.push(d);for(const w of o)u=((g=w==null?void 0:w.pre)==null?void 0:g.call(f,u))||u;i.children.push(u)}else if(a==="inline"){const w=[];let k={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const j of i.children)j.type==="element"&&j.tagName==="br"?(w.push(k),k={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(j.type==="element"||j.type==="text")&&k.children.push(j);w.push(k);let x={type:"element",tagName:"code",properties:{},children:w};for(const j of o)x=((y=j==null?void 0:j.code)==null?void 0:y.call(f,x))||x;i.children=[];for(let j=0;j0&&i.children.push({type:"element",tagName:"br",properties:{},children:[]});const _=x.children[j];_.type==="element"&&i.children.push(..._.children)}}let m=i;for(const w of o)m=((b=w==null?void 0:w.root)==null?void 0:b.call(f,m))||m;return n&&qx(m,n),m}function mBe(e){return e.map(t=>{const r=[];let n="",o;return t.forEach((s,i)=>{const a=!(s.fontStyle&&(s.fontStyle&zs.Underline||s.fontStyle&zs.Strikethrough));a&&s.content.match(/^\s+$/)&&t[i+1]?(o===void 0&&(o=s.offset),n+=s.content):n?(a?r.push({...s,offset:o,content:n+s.content}):r.push({content:n,offset:o},s),o=void 0,n=""):r.push(s)}),r})}function gBe(e){return e.map(t=>t.flatMap(r=>{if(r.content.match(/^\s+$/))return r;const n=r.content.match(/^(\s*)(.*?)(\s*)$/);if(!n)return r;const[,o,s,i]=n;if(!o&&!i)return r;const a=[{...r,offset:r.offset+o.length,content:s}];return o&&a.unshift({content:o,offset:r.offset}),i&&a.push({content:i,offset:r.offset+o.length+s.length}),a}))}function vBe(e){return e.map(t=>{const r=[];for(const n of t){if(r.length===0){r.push({...n});continue}const o=r[r.length-1],s=J2(o.htmlStyle||iw(o)),i=J2(n.htmlStyle||iw(n)),a=o.fontStyle&&(o.fontStyle&zs.Underline||o.fontStyle&zs.Strikethrough),l=n.fontStyle&&(n.fontStyle&zs.Underline||n.fontStyle&zs.Strikethrough);!a&&!l&&s===i?o.content+=n.content:r.push({...n})}return r})}const yBe=J6e;function bBe(e,t,r){var s;const n={meta:{},options:r,codeToHast:(i,a)=>cw(e,i,a),codeToTokens:(i,a)=>lw(e,i,a)};let o=yBe(cw(e,t,r,n));for(const i of aw(r))o=((s=i.postprocess)==null?void 0:s.call(n,o,r))||o;return o}async function wBe(e){const t=await S5e(e);return{getLastGrammarState:(...r)=>E5e(t,...r),codeToTokensBase:(r,n)=>sV(t,r,n),codeToTokensWithThemes:(r,n)=>F7(t,r,n),codeToTokens:(r,n)=>lw(t,r,n),codeToHast:(r,n)=>cw(t,r,n),codeToHtml:(r,n)=>bBe(t,r,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}const sL=4294967295;var xBe=class{constructor(e,t={}){Re(this,"regexps");this.patterns=e,this.options=t;const{forgiving:r=!1,cache:n,regexConstructor:o}=t;if(!o)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(s=>{if(typeof s!="string")return s;const i=n==null?void 0:n.get(s);if(i){if(i instanceof RegExp)return i;if(r)return null;throw i}try{const a=o(s);return n==null||n.set(s,a),a}catch(a){if(n==null||n.set(s,a),r)return null;throw a}})}findNextMatchSync(e,t,r){const n=typeof e=="string"?e:e.content,o=[];function s(i,a,l=0){return{index:i,captureIndices:a.indices.map(c=>c==null?{start:sL,end:sL,length:0}:{start:c[0]+l,end:c[1]+l,length:c[1]-c[0]})}}for(let i=0;ia[1].index));for(const[a,l,c]of o)if(l.index===i)return s(a,l,c)}return null}};function Wh(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function kBe(e,t,r){return e.has(t)||e.set(t,r),e.get(t)}const hO=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),bs=String.raw;function Gh(e,t){if(e==null)throw new Error(t??"Value expected");return e}const iV=bs`\[\^?`,aV=`c.? | C(?:-.?)?|${bs`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${bs`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${bs`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${bs`o\{[^\}]*\}?`}|${bs`\d{1,3}`}`,mO=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,V0=new RegExp(bs` +\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function N6e(e,t,r,n){const o=n.schema,s=o.space==="svg"?!1:n.settings.omitOptionalTags;let i=o.space==="svg"?n.settings.closeEmptyElements:n.settings.voids.includes(e.tagName.toLowerCase());const a=[];let l;o.space==="html"&&e.tagName==="svg"&&(n.schema=Z7);const c=L6e(n,e.properties),u=n.all(o.space==="html"&&e.tagName==="template"?e.content:e);return n.schema=o,u&&(i=!1),(c||!s||!$6e(e,t,r))&&(a.push("<",e.tagName,c?" "+c:""),i&&(o.space==="svg"||n.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),(!n.settings.tightSelfClosing||l==="/"||l&&l!=='"'&&l!=="'")&&a.push(" "),a.push("/")),a.push(">")),a.push(u),!i&&(!s||!pO(e,t,r))&&a.push(""),a.join("")}function L6e(e,t){const r=[];let n=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const s=R6e(e,o,t[o]);s&&r.push(s)}}for(;++nYM(r,e.alternative)&&(i=e.alternative),a=i+Zf(r,Object.assign({},e.settings.characterReferences,{subset:(i==="'"?F0.single:F0.double)[o][s],attribute:!0}))+i),l+(a&&"="+a))}const B6e=["<","&"];function rV(e,t,r,n){return r&&r.type==="element"&&(r.tagName==="script"||r.tagName==="style")?e.value:Zf(e.value,Object.assign({},n.settings.characterReferences,{subset:B6e}))}function q6e(e,t,r,n){return n.settings.allowDangerousHtml?e.value:rV(e,t,r,n)}function z6e(e,t,r,n){return n.all(e)}const F6e=H5e("type",{invalid:V6e,unknown:U6e,handlers:{comment:d6e,doctype:p6e,element:N6e,raw:q6e,root:z6e,text:rV}});function V6e(e){throw new Error("Expected node, not `"+e+"`")}function U6e(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const H6e={},W6e={},G6e=[];function J6e(e,t){const r=t||H6e,n=r.quote||'"',o=n==='"'?"'":'"';if(n!=='"'&&n!=="'")throw new Error("Invalid quote `"+n+"`, expected `'` or `\"`");return{one:K6e,all:Q6e,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||M5e,characterReferences:r.characterReferences||W6e,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:r.space==="svg"?Z7:U5e,quote:n,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function K6e(e,t,r){return F6e(e,t,r,this)}function Q6e(e){const t=[],r=e&&e.children||G6e;let n=-1;for(;++no);function r(o){if(o===e.length)return{line:t.length-1,character:t[t.length-1].length};let s=o,i=0;for(const a of t){if(sr&&n.push({...e,content:e.content.slice(r,o),offset:e.offset+r}),r=o;return rn-o);return r.length?e.map(n=>n.flatMap(o=>{const s=r.filter(i=>o.offseti-o.offset).sort((i,a)=>i-a);return s.length?Y6e(o,s):o})):e}function tBe(e,t,r,n,o="css-vars"){const s={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(u=>iw(e.variants[u])),a=new Set(i.flatMap(u=>Object.keys(u))),l={},c=(u,d)=>{const p=d==="color"?"":d==="background-color"?"-bg":`-${d}`;return r+t[u]+(d==="color"?"":p)};return i.forEach((u,d)=>{for(const p of a){const f=u[p]||"inherit";if(d===0&&n&&X6e.includes(p))if(n===fO&&i.length>1){const m=t.findIndex(g=>g==="light"),v=t.findIndex(g=>g==="dark");if(m===-1||v===-1)throw new $o('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');l[p]=`light-dark(${i[m][p]||"inherit"}, ${i[v][p]||"inherit"})`,o==="css-vars"&&(l[c(d,p)]=f)}else l[p]=f;else o==="css-vars"&&(l[c(d,p)]=f)}}),s.htmlStyle=l,s}function iw(e){const t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&zs.Italic&&(t["font-style"]="italic"),e.fontStyle&zs.Bold&&(t["font-weight"]="bold");const r=[];e.fontStyle&zs.Underline&&r.push("underline"),e.fontStyle&zs.Strikethrough&&r.push("line-through"),r.length&&(t["text-decoration"]=r.join(" "))}return t}function J2(e){return typeof e=="string"?e:Object.entries(e).map(([t,r])=>`${t}:${r}`).join(";")}function rBe(){const e=new WeakMap;function t(r){if(!e.has(r.meta)){let n=function(i){if(typeof i=="number"){if(i<0||i>r.source.length)throw new $o(`Invalid decoration offset: ${i}. Code length: ${r.source.length}`);return{...o.indexToPos(i),offset:i}}else{const a=o.lines[i.line];if(a===void 0)throw new $o(`Invalid decoration position ${JSON.stringify(i)}. Lines length: ${o.lines.length}`);let l=i.character;if(l<0&&(l=a.length+l),l<0||l>a.length)throw new $o(`Invalid decoration position ${JSON.stringify(i)}. Line ${i.line} length: ${a.length}`);return{...i,character:l,offset:o.posToIndex(i.line,l)}}};const o=Z6e(r.source),s=(r.options.decorations||[]).map(i=>({...i,start:n(i.start),end:n(i.end)}));nBe(s),e.set(r.meta,{decorations:s,converter:o,source:r.source})}return e.get(r.meta)}return{name:"shiki:decorations",tokens(r){var n;if((n=this.options.decorations)!=null&&n.length)return eBe(r,t(this).decorations.flatMap(o=>[o.start.offset,o.end.offset]))},code(r){var u;if(!((u=this.options.decorations)!=null&&u.length))return;const n=t(this),o=Array.from(r.children).filter(d=>d.type==="element"&&d.tagName==="span");if(o.length!==n.converter.lines.length)throw new $o(`Number of lines in code element (${o.length}) does not match the number of lines in the source (${n.converter.lines.length}). Failed to apply decorations.`);function s(d,p,f,m){const v=o[d];let g="",y=-1,b=-1;if(p===0&&(y=0),f===0&&(b=0),f===Number.POSITIVE_INFINITY&&(b=v.children.length),y===-1||b===-1)for(let k=0;ky);return d.tagName=p.tagName||"span",d.properties={...d.properties,...m,class:d.properties.class},(g=p.properties)!=null&&g.class&&nV(d,p.properties.class),d=v(d,f)||d,d}const l=[],c=n.decorations.sort((d,p)=>p.start.offset-d.start.offset||d.end.offset-p.end.offset);for(const d of c){const{start:p,end:f}=d;if(p.line===f.line)s(p.line,p.character,f.character,d);else if(p.linei(m,d));s(f.line,0,f.character,d)}}l.forEach(d=>d())}}}function nBe(e){for(let t=0;tr.end.offset)throw new $o(`Invalid decoration range: ${JSON.stringify(r.start)} - ${JSON.stringify(r.end)}`);for(let n=t+1;nNumber.parseInt(n));return r.length!==3||r.some(n=>Number.isNaN(n))?void 0:{type:"rgb",rgb:r}}else if(t==="5"){const r=e.shift();if(r)return{type:"table",index:Number(r)}}}function aBe(e){const t=[];for(;e.length>0;){const r=e.shift();if(!r)continue;const n=Number.parseInt(r);if(!Number.isNaN(n))if(n===0)t.push({type:"resetAll"});else if(n<=9)e_[n]&&t.push({type:"setDecoration",value:e_[n]});else if(n<=29){const o=e_[n-20];o&&(t.push({type:"resetDecoration",value:o}),o==="dim"&&t.push({type:"resetDecoration",value:"bold"}))}else if(n<=37)t.push({type:"setForegroundColor",value:{type:"named",name:qd[n-30]}});else if(n===38){const o=nN(e);o&&t.push({type:"setForegroundColor",value:o})}else if(n===39)t.push({type:"resetForegroundColor"});else if(n<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:qd[n-40]}});else if(n===48){const o=nN(e);o&&t.push({type:"setBackgroundColor",value:o})}else n===49?t.push({type:"resetBackgroundColor"}):n===53?t.push({type:"setDecoration",value:"overline"}):n===55?t.push({type:"resetDecoration",value:"overline"}):n>=90&&n<=97?t.push({type:"setForegroundColor",value:{type:"named",name:qd[n-90+8]}}):n>=100&&n<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:qd[n-100+8]}})}return t}function lBe(){let e=null,t=null,r=new Set;return{parse(n){const o=[];let s=0;do{const i=iBe(n,s),a=i.sequence?n.substring(s,i.startPosition):n.substring(s);if(a.length>0&&o.push({value:a,foreground:e,background:t,decorations:new Set(r)}),i.sequence){const l=aBe(i.sequence);for(const c of l)c.type==="resetAll"?(e=null,t=null,r.clear()):c.type==="resetForegroundColor"?e=null:c.type==="resetBackgroundColor"?t=null:c.type==="resetDecoration"&&r.delete(c.value);for(const c of l)c.type==="setForegroundColor"?e=c.value:c.type==="setBackgroundColor"?t=c.value:c.type==="setDecoration"&&r.add(c.value)}s=i.position}while(sMath.max(0,Math.min(l,255)).toString(16).padStart(2,"0")).join("")}`}let n;function o(){if(n)return n;n=[];for(let c=0;c{var c;const l=`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`;return[a,((c=e.colors)==null?void 0:c[l])||dBe[a]]}))),i=lBe();return o.map(a=>i.parse(a[0]).map(l=>{let c,u;l.decorations.has("reverse")?(c=l.background?s.value(l.background):e.bg,u=l.foreground?s.value(l.foreground):e.fg):(c=l.foreground?s.value(l.foreground):e.fg,u=l.background?s.value(l.background):void 0),c=Nu(c,n),u=Nu(u,n),l.decorations.has("dim")&&(c=fBe(c));let d=zs.None;return l.decorations.has("bold")&&(d|=zs.Bold),l.decorations.has("italic")&&(d|=zs.Italic),l.decorations.has("underline")&&(d|=zs.Underline),l.decorations.has("strikethrough")&&(d|=zs.Strikethrough),{content:l.value,offset:a[1],color:c,bgColor:u,fontStyle:d}}))}function fBe(e){const t=e.match(/#([0-9a-f]{3,8})/i);if(t){const n=t[1];if(n.length===8){const o=Math.round(Number.parseInt(n.slice(6,8),16)/2).toString(16).padStart(2,"0");return`#${n.slice(0,6)}${o}`}else{if(n.length===6)return`#${n}80`;if(n.length===4){const o=n[0],s=n[1],i=n[2],a=n[3];return`#${o}${o}${s}${s}${i}${i}${Math.round(Number.parseInt(`${a}${a}`,16)/2).toString(16).padStart(2,"0")}`}else if(n.length===3){const o=n[0],s=n[1],i=n[2];return`#${o}${o}${s}${s}${i}${i}80`}}}const r=e.match(/var\((--[\w-]+-ansi-[\w-]+)\)/);return r?`var(${r[1]}-dim)`:e}function sV(e,t,r={}){const n=e.resolveLangAlias(r.lang||"text"),{theme:o=e.getLoadedThemes()[0]}=r;if(!Lx(n)&&!Rx(o)&&n==="ansi"){const{theme:s}=e.setTheme(o);return pBe(s,t,r)}return z7(e,t,r)}function lw(e,t,r){let n,o,s,i,a,l;if("themes"in r){const{defaultColor:c="light",cssVariablePrefix:u="--shiki-",colorsRendering:d="css-vars"}=r,p=Object.entries(r.themes).filter(y=>y[1]).map(y=>({color:y[0],theme:y[1]})).sort((y,b)=>y.color===c?-1:b.color===c?1:0);if(p.length===0)throw new $o("`themes` option must not be empty");const f=F7(e,t,r);if(l=cv(f),c&&fO!==c&&!p.find(y=>y.color===c))throw new $o(`\`themes\` option must contain the defaultColor key \`${c}\``);const m=p.map(y=>e.getTheme(y.theme)),v=p.map(y=>y.color);s=f.map(y=>y.map(b=>tBe(b,v,u,c,d))),l&&qx(s,l);const g=p.map(y=>sw(y.theme,r));o=oN(p,m,g,u,c,"fg",d),n=oN(p,m,g,u,c,"bg",d),i=`shiki-themes ${m.map(y=>y.name).join(" ")}`,a=c?void 0:[o,n].join(";")}else if("theme"in r){const c=sw(r.theme,r);s=sV(e,t,r);const u=e.getTheme(r.theme);n=Nu(u.bg,c),o=Nu(u.fg,c),i=u.name,l=cv(s)}else throw new $o("Invalid options, either `theme` or `themes` must be provided");return{tokens:s,fg:o,bg:n,themeName:i,rootStyle:a,grammarState:l}}function oN(e,t,r,n,o,s,i){return e.map((a,l)=>{const c=Nu(t[l][s],r[l])||"inherit",u=`${n+a.color}${s==="bg"?"-bg":""}:${c}`;if(l===0&&o){if(o===fO&&e.length>1){const d=e.findIndex(f=>f.color==="light"),p=e.findIndex(f=>f.color==="dark");if(d===-1||p===-1)throw new $o('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return`light-dark(${Nu(t[d][s],r[d])||"inherit"}, ${Nu(t[p][s],r[p])||"inherit"});${u}`}return c}return i==="css-vars"?u:null}).filter(a=>!!a).join(";")}function cw(e,t,r,n={meta:{},options:r,codeToHast:(o,s)=>cw(e,o,s),codeToTokens:(o,s)=>lw(e,o,s)}){var m,v;let o=t;for(const g of aw(r))o=((m=g.preprocess)==null?void 0:m.call(n,o,r))||o;let{tokens:s,fg:i,bg:a,themeName:l,rootStyle:c,grammarState:u}=lw(e,o,r);const{mergeWhitespaces:d=!0,mergeSameStyleTokens:p=!1}=r;d===!0?s=mBe(s):d==="never"&&(s=gBe(s)),p&&(s=vBe(s));const f={...n,get source(){return o}};for(const g of aw(r))s=((v=g.tokens)==null?void 0:v.call(f,s))||s;return hBe(s,{...r,fg:i,bg:a,themeName:l,rootStyle:r.rootStyle===!1?!1:r.rootStyle??c},f,u)}function hBe(e,t,r,n=cv(e)){var v,g,y,b;const o=aw(t),s=[],i={type:"root",children:[]},{structure:a="classic",tabindex:l="0"}=t,c={class:`shiki ${t.themeName||""}`};t.rootStyle!==!1&&(t.rootStyle!=null?c.style=t.rootStyle:c.style=`background-color:${t.bg};color:${t.fg}`),l!==!1&&l!=null&&(c.tabindex=l.toString());for(const[w,k]of Object.entries(t.meta||{}))w.startsWith("_")||(c[w]=k);let u={type:"element",tagName:"pre",properties:c,children:[],data:t.data},d={type:"element",tagName:"code",properties:{},children:s};const p=[],f={...r,structure:a,addClassToHast:nV,get source(){return r.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return u},get code(){return d},get lines(){return p}};if(e.forEach((w,k)=>{var _,C;k&&(a==="inline"?i.children.push({type:"element",tagName:"br",properties:{},children:[]}):a==="classic"&&s.push({type:"text",value:` +`}));let x={type:"element",tagName:"span",properties:{class:"line"},children:[]},j=0;for(const A of w){let I={type:"element",tagName:"span",properties:{...A.htmlAttrs},children:[{type:"text",value:A.content}]};const M=J2(A.htmlStyle||iw(A));M&&(I.properties.style=M);for(const L of o)I=((_=L==null?void 0:L.span)==null?void 0:_.call(f,I,k+1,j,x,A))||I;a==="inline"?i.children.push(I):a==="classic"&&x.children.push(I),j+=A.content.length}if(a==="classic"){for(const A of o)x=((C=A==null?void 0:A.line)==null?void 0:C.call(f,x,k+1))||x;p.push(x),s.push(x)}else a==="inline"&&p.push(x)}),a==="classic"){for(const w of o)d=((v=w==null?void 0:w.code)==null?void 0:v.call(f,d))||d;u.children.push(d);for(const w of o)u=((g=w==null?void 0:w.pre)==null?void 0:g.call(f,u))||u;i.children.push(u)}else if(a==="inline"){const w=[];let k={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(const j of i.children)j.type==="element"&&j.tagName==="br"?(w.push(k),k={type:"element",tagName:"span",properties:{class:"line"},children:[]}):(j.type==="element"||j.type==="text")&&k.children.push(j);w.push(k);let x={type:"element",tagName:"code",properties:{},children:w};for(const j of o)x=((y=j==null?void 0:j.code)==null?void 0:y.call(f,x))||x;i.children=[];for(let j=0;j0&&i.children.push({type:"element",tagName:"br",properties:{},children:[]});const _=x.children[j];_.type==="element"&&i.children.push(..._.children)}}let m=i;for(const w of o)m=((b=w==null?void 0:w.root)==null?void 0:b.call(f,m))||m;return n&&qx(m,n),m}function mBe(e){return e.map(t=>{const r=[];let n="",o;return t.forEach((s,i)=>{const a=!(s.fontStyle&&(s.fontStyle&zs.Underline||s.fontStyle&zs.Strikethrough));a&&s.content.match(/^\s+$/)&&t[i+1]?(o===void 0&&(o=s.offset),n+=s.content):n?(a?r.push({...s,offset:o,content:n+s.content}):r.push({content:n,offset:o},s),o=void 0,n=""):r.push(s)}),r})}function gBe(e){return e.map(t=>t.flatMap(r=>{if(r.content.match(/^\s+$/))return r;const n=r.content.match(/^(\s*)(.*?)(\s*)$/);if(!n)return r;const[,o,s,i]=n;if(!o&&!i)return r;const a=[{...r,offset:r.offset+o.length,content:s}];return o&&a.unshift({content:o,offset:r.offset}),i&&a.push({content:i,offset:r.offset+o.length+s.length}),a}))}function vBe(e){return e.map(t=>{const r=[];for(const n of t){if(r.length===0){r.push({...n});continue}const o=r[r.length-1],s=J2(o.htmlStyle||iw(o)),i=J2(n.htmlStyle||iw(n)),a=o.fontStyle&&(o.fontStyle&zs.Underline||o.fontStyle&zs.Strikethrough),l=n.fontStyle&&(n.fontStyle&zs.Underline||n.fontStyle&zs.Strikethrough);!a&&!l&&s===i?o.content+=n.content:r.push({...n})}return r})}const yBe=J6e;function bBe(e,t,r){var s;const n={meta:{},options:r,codeToHast:(i,a)=>cw(e,i,a),codeToTokens:(i,a)=>lw(e,i,a)};let o=yBe(cw(e,t,r,n));for(const i of aw(r))o=((s=i.postprocess)==null?void 0:s.call(n,o,r))||o;return o}async function wBe(e){const t=await S5e(e);return{getLastGrammarState:(...r)=>E5e(t,...r),codeToTokensBase:(r,n)=>sV(t,r,n),codeToTokensWithThemes:(r,n)=>F7(t,r,n),codeToTokens:(r,n)=>lw(t,r,n),codeToHast:(r,n)=>cw(t,r,n),codeToHtml:(r,n)=>bBe(t,r,n),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}const sN=4294967295;var xBe=class{constructor(e,t={}){Re(this,"regexps");this.patterns=e,this.options=t;const{forgiving:r=!1,cache:n,regexConstructor:o}=t;if(!o)throw new Error("Option `regexConstructor` is not provided");this.regexps=e.map(s=>{if(typeof s!="string")return s;const i=n==null?void 0:n.get(s);if(i){if(i instanceof RegExp)return i;if(r)return null;throw i}try{const a=o(s);return n==null||n.set(s,a),a}catch(a){if(n==null||n.set(s,a),r)return null;throw a}})}findNextMatchSync(e,t,r){const n=typeof e=="string"?e:e.content,o=[];function s(i,a,l=0){return{index:i,captureIndices:a.indices.map(c=>c==null?{start:sN,end:sN,length:0}:{start:c[0]+l,end:c[1]+l,length:c[1]-c[0]})}}for(let i=0;ia[1].index));for(const[a,l,c]of o)if(l.index===i)return s(a,l,c)}return null}};function Wh(e){if([...e].length!==1)throw new Error(`Expected "${e}" to be a single code point`);return e.codePointAt(0)}function kBe(e,t,r){return e.has(t)||e.set(t,r),e.get(t)}const hO=new Set(["alnum","alpha","ascii","blank","cntrl","digit","graph","lower","print","punct","space","upper","word","xdigit"]),bs=String.raw;function Gh(e,t){if(e==null)throw new Error(t??"Value expected");return e}const iV=bs`\[\^?`,aV=`c.? | C(?:-.?)?|${bs`[pP]\{(?:\^?[-\x20_]*[A-Za-z][-\x20\w]*\})?`}|${bs`x[89A-Fa-f]\p{AHex}(?:\\x[89A-Fa-f]\p{AHex})*`}|${bs`u(?:\p{AHex}{4})? | x\{[^\}]*\}? | x\p{AHex}{0,2}`}|${bs`o\{[^\}]*\}?`}|${bs`\d{1,3}`}`,mO=/[?*+][?+]?|\{(?:\d+(?:,\d*)?|,\d+)\}\??/,V0=new RegExp(bs` \\ (?: ${aV} | [gk]<[^>]*>? @@ -4093,8 +4093,8 @@ button.jse-context-menu-button.svelte-1idfykj svg { | ${iV} | && | . -`.replace(/\s+/g,""),"gsu");function jBe(e,t={}){const r={flags:"",...t,rules:{captureGroup:!1,singleline:!1,...t.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const n=FBe(r.flags),o=[n.extended],s={captureGroup:r.rules.captureGroup,getCurrentModX(){return o.at(-1)},numOpenGroups:0,popModX(){o.pop()},pushModX(d){o.push(d)},replaceCurrentModX(d){o[o.length-1]=d},singleline:r.rules.singleline};let i=[],a;for(V0.lastIndex=0;a=V0.exec(e);){const d=_Be(s,e,a[0],V0.lastIndex);d.tokens?i.push(...d.tokens):d.token&&i.push(d.token),d.lastIndex!==void 0&&(V0.lastIndex=d.lastIndex)}const l=[];let c=0;i.filter(d=>d.type==="GroupOpen").forEach(d=>{d.kind==="capturing"?d.number=++c:d.raw==="("&&l.push(d)}),c||l.forEach((d,p)=>{d.kind="capturing",d.number=p+1});const u=c||l.length;return{tokens:i.map(d=>d.type==="EscapedNumber"?UBe(d,u):d).flat(),flags:n}}function _Be(e,t,r,n){const[o,s]=r;if(r==="["||r==="[^"){const i=SBe(t,r,n);return{tokens:i.tokens,lastIndex:i.lastIndex}}if(o==="\\"){if("AbBGyYzZ".includes(s))return{token:iL(r,r)};if(/^\\g[<']/.test(r)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(r))throw new Error(`Invalid group name "${r}"`);return{token:MBe(r)}}if(/^\\k[<']/.test(r)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(r))throw new Error(`Invalid group name "${r}"`);return{token:cV(r)}}if(s==="K")return{token:uV("keep",r)};if(s==="N"||s==="R")return{token:zd("newline",r,{negate:s==="N"})};if(s==="O")return{token:zd("any",r)};if(s==="X")return{token:zd("text_segment",r)};const i=lV(r,{inCharClass:!1});return Array.isArray(i)?{tokens:i}:{token:i}}if(o==="("){if(s==="*")return{token:BBe(r)};if(r==="(?{")throw new Error(`Unsupported callout "${r}"`);if(r.startsWith("(?#")){if(t[n]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:n+1}}if(/^\(\?[-imx]+[:)]$/.test(r))return{token:RBe(r,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,r==="("&&!e.captureGroup||r==="(?:")return{token:vf("group",r)};if(r==="(?>")return{token:vf("atomic",r)};if(r==="(?="||r==="(?!"||r==="(?<="||r==="(?")||r.startsWith("(?'")&&r.endsWith("'"))return{token:vf("capturing",r,{...r!=="("&&{name:r.slice(3,-1)}})};if(r.startsWith("(?~")){if(r==="(?~|")throw new Error(`Unsupported absence function kind "${r}"`);return{token:vf("absence_repeater",r)}}throw r==="(?("?new Error(`Unsupported conditional "${r}"`):new Error(`Invalid or unsupported group option "${r}"`)}if(r===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:PBe(r)}}if(e.getCurrentModX()){if(r==="#"){const i=t.indexOf(` -`,n);return{lastIndex:i===-1?t.length:i}}if(/^\s$/.test(r)){const i=/\s+/y;return i.lastIndex=n,{lastIndex:i.exec(t)?i.lastIndex:n}}}if(r===".")return{token:zd("dot",r)};if(r==="^"||r==="$"){const i=e.singleline?{"^":bs`\A`,$:bs`\Z`}[r]:r;return{token:iL(i,r)}}return r==="|"?{token:ABe(r)}:mO.test(r)?{tokens:HBe(r)}:{token:vc(Wh(r),r)}}function SBe(e,t,r){const n=[aL(t[1]==="^",t)];let o=1,s;for(t_.lastIndex=r;s=t_.exec(e);){const i=s[0];if(i[0]==="["&&i[1]!==":")o++,n.push(aL(i[1]==="^",i));else if(i==="]"){if(n.at(-1).type==="CharacterClassOpen")n.push(vc(93,i));else if(o--,n.push(EBe(i)),!o)break}else{const a=CBe(i);Array.isArray(a)?n.push(...a):n.push(a)}}return{tokens:n,lastIndex:t_.lastIndex||e.length}}function CBe(e){if(e[0]==="\\")return lV(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?\^?)(?[a-z]+):\]/.exec(e);if(!t||!hO.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return zd("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?OBe(e):e==="&&"?$Be(e):vc(Wh(e),e)}function lV(e,{inCharClass:t}){const r=e[1];if(r==="c"||r==="C")return NBe(e);if("dDhHsSwW".includes(r))return qBe(e);if(e.startsWith(bs`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return zBe(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const n=e.split(/\\x/).slice(1).map(i=>parseInt(i,16)),o=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(n)),s=new TextEncoder;return[...o].map(i=>{const a=[...s.encode(i)].map(l=>`\\x${l.toString(16)}`).join("");return vc(Wh(i),a)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(r==="u"||r==="x")return vc(VBe(e),e);if(lL.has(r))return vc(lL.get(r),e);if(/\d/.test(r))return TBe(t,e);if(e==="\\")throw new Error(bs`Incomplete escape "\"`);if(r==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return vc(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function ABe(e){return{type:"Alternator",raw:e}}function iL(e,t){return{type:"Assertion",kind:e,raw:t}}function cV(e){return{type:"Backreference",raw:e}}function vc(e,t){return{type:"Character",value:e,raw:t}}function EBe(e){return{type:"CharacterClassClose",raw:e}}function OBe(e){return{type:"CharacterClassHyphen",raw:e}}function $Be(e){return{type:"CharacterClassIntersector",raw:e}}function aL(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function zd(e,t,r={}){return{type:"CharacterSet",kind:e,...r,raw:t}}function uV(e,t,r={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:Gh(r.flags),raw:t}}function TBe(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function PBe(e){return{type:"GroupClose",raw:e}}function vf(e,t,r={}){return{type:"GroupOpen",kind:e,...r,raw:t}}function IBe(e,t,r,n){return{type:"NamedCallout",kind:e,tag:t,arguments:r,raw:n}}function DBe(e,t,r,n){return{type:"Quantifier",kind:e,min:t,max:r,raw:n}}function MBe(e){return{type:"Subroutine",raw:e}}const LBe=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),lL=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function NBe(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return vc(Wh(t.toUpperCase())-64,e)}function RBe(e,t){let{on:r,off:n}=/^\(\?(?[imx]*)(?:-(?[-imx]*))?/.exec(e).groups;n??(n="");const o=(t.getCurrentModX()||r.includes("x"))&&!n.includes("x"),s=uL(r),i=uL(n),a={};if(s&&(a.enable=s),i&&(a.disable=i),e.endsWith(")"))return t.replaceCurrentModX(o),uV("flags",e,{flags:a});if(e.endsWith(":"))return t.pushModX(o),t.numOpenGroups++,vf("group",e,{...(s||i)&&{flags:a}});throw new Error(`Unexpected flag modifier "${e}"`)}function BBe(e){const t=/\(\*(?[A-Za-z_]\w*)?(?:\[(?(?:[A-Za-z_]\w*)?)\])?(?:\{(?[^}]*)\})?\)/.exec(e);if(!t)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:r,tag:n,args:o}=t.groups;if(!r)throw new Error(`Invalid named callout "${e}"`);if(n==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const s=o?o.split(",").filter(u=>u!=="").map(u=>/^[+-]?\d+$/.test(u)?+u:u):[],[i,a,l]=s,c=LBe.has(r)?r.toLowerCase():"custom";switch(c){case"fail":case"mismatch":case"skip":if(s.length>0)throw new Error(`Named callout arguments not allowed "${s}"`);break;case"error":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(typeof i=="string")throw new Error(`Named callout argument must be a number "${i}"`);break;case"max":if(!s.length||s.length>2)throw new Error(`Named callout must have one or two arguments "${s}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(s.length===2&&(typeof a=="number"||!/^[<>X]$/.test(a)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${a}"`);break;case"count":case"total_count":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(s.length===1&&(typeof i=="number"||!/^[<>X]$/.test(i)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${i}"`);break;case"cmp":if(s.length!==3)throw new Error(`Named callout must have three arguments "${s}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(typeof a=="number"||!/^(?:[<>!=]=|[<>])$/.test(a))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${a}"`);if(typeof l=="string"&&!/^[A-Za-z_]\w*$/.test(l))throw new Error(`Named callout argument three must be a tag or number "${l}"`);break;case"custom":throw new Error(`Undefined callout name "${r}"`);default:throw new Error(`Unexpected named callout kind "${c}"`)}return IBe(c,n??null,(o==null?void 0:o.split(","))??null,e)}function cL(e){let t=null,r,n;if(e[0]==="{"){const{minStr:o,maxStr:s}=/^\{(?\d*)(?:,(?\d*))?/.exec(e).groups,i=1e5;if(+o>i||s&&+s>i)throw new Error("Quantifier value unsupported in Oniguruma");if(r=+o,n=s===void 0?+o:s===""?1/0:+s,r>n&&(t="possessive",[r,n]=[n,r]),e.endsWith("?")){if(t==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');t="lazy"}else t||(t="greedy")}else r=e[0]==="+"?1:0,n=e[0]==="?"?1:1/0,t=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return DBe(t,r,n,e)}function qBe(e){const t=e[1].toLowerCase();return zd({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function zBe(e){const{p:t,neg:r,value:n}=/^\\(?

[pP])\{(?\^?)(?[^}]+)/.exec(e).groups;return zd("property",e,{value:n,negate:t==="P"&&!r||t==="p"&&!!r})}function uL(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}function FBe(e){const t={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let r=0;r\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(t,16)}function UBe(e,t){const{raw:r,inCharClass:n}=e,o=r.slice(1);if(!n&&(o!=="0"&&o.length===1||o[0]!=="0"&&+o<=t))return[cV(r)];const s=[],i=o.match(/^[0-7]+|\d/g);for(let a=0;a127)throw new Error(bs`Octal encoded byte above 177 unsupported "${r}"`)}else c=Wh(l);s.push(vc(c,(a===0?"\\":"")+l))}return s}function HBe(e){const t=[],r=new RegExp(mO,"gy");let n;for(;n=r.exec(e);){const o=n[0];if(o[0]==="{"){const s=/^\{(?\d+),(?\d+)\}\??$/.exec(o);if(s){const{min:i,max:a}=s.groups;if(+i>+a&&o.endsWith("?")){r.lastIndex--,t.push(cL(o.slice(0,-1)));continue}}}t.push(cL(o))}return t}function dV(e,t){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(e.body.length!==1)return!1;const r=e.body[0];return!t||Object.keys(t).every(n=>t[n]===r[n])}function WBe(e){return GBe.has(e.type)}const GBe=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function pV(e,t={}){const r={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},n=jBe(e,{flags:r.flags,rules:{captureGroup:r.rules.captureGroup,singleline:r.rules.singleline}}),o=(p,f)=>{const m=n.tokens[s.nextIndex];switch(s.parent=p,s.nextIndex++,m.type){case"Alternator":return bp();case"Assertion":return JBe(m);case"Backreference":return KBe(m,s);case"Character":return Fx(m.value,{useLastValid:!!f.isCheckingRangeEnd});case"CharacterClassHyphen":return QBe(m,s,f);case"CharacterClassOpen":return ZBe(m,s,f);case"CharacterSet":return XBe(m,s);case"Directive":return o9e(m.kind,{flags:m.flags});case"GroupOpen":return YBe(m,s,f);case"NamedCallout":return i9e(m.kind,m.tag,m.arguments);case"Quantifier":return e9e(m,s);case"Subroutine":return t9e(m,s);default:throw new Error(`Unexpected token type "${m.type}"`)}},s={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:r.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:r.skipBackrefValidation,skipLookbehindValidation:r.skipLookbehindValidation,skipPropertyNameValidation:r.skipPropertyNameValidation,subroutines:[],tokens:n.tokens,unicodePropertyMap:r.unicodePropertyMap,walk:o},i=l9e(s9e(n.flags));let a=i.body[0];for(;s.nextIndexl.length)throw new Error("Subroutine uses a group number that's not defined");p&&(l[p-1].isSubroutined=!0)}else if(u.has(p)){if(u.get(p).length>1)throw new Error(bs`Subroutine uses a duplicate group name "\g<${p}>"`);u.get(p)[0].isSubroutined=!0}else throw new Error(bs`Subroutine uses a group name that's not defined "\g<${p}>"`);return i}function JBe({kind:e}){return K2(Gh({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===bs`\B`||e===bs`\Y`})}function KBe({raw:e},t){const r=/^\\k[<']/.test(e),n=r?e.slice(3,-1):e.slice(1),o=(s,i=!1)=>{const a=t.capturingGroups.length;let l=!1;if(s>a)if(t.skipBackrefValidation)l=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,Q2(i?a+1-s:s,{orphan:l})};if(r){const s=/^(?-?)0*(?[1-9]\d*)$/.exec(n);if(s)return o(+s.groups.num,!!s.groups.sign);if(/[-+]/.test(n))throw new Error(`Invalid backref name "${e}"`);if(!t.namedGroupsByName.has(n))throw new Error(`Group name not defined to the left "${e}"`);return Q2(n)}return o(+n)}function QBe(e,t,r){const{tokens:n,walk:o}=t,s=t.parent,i=s.body.at(-1),a=n[t.nextIndex];if(!r.isCheckingRangeEnd&&i&&i.type!=="CharacterClass"&&i.type!=="CharacterClassRange"&&a&&a.type!=="CharacterClassOpen"&&a.type!=="CharacterClassClose"&&a.type!=="CharacterClassIntersector"){const l=o(s,{...r,isCheckingRangeEnd:!0});if(i.type==="Character"&&l.type==="Character")return s.body.pop(),n9e(i,l);throw new Error("Invalid character class range")}return Fx(Wh("-"))}function ZBe({negate:e},t,r){const{tokens:n,walk:o}=t,s=n[t.nextIndex],i=[jb()];let a=fL(s);for(;a.type!=="CharacterClassClose";){if(a.type==="CharacterClassIntersector")i.push(jb()),t.nextIndex++;else{const c=i.at(-1);c.body.push(o(c,r))}a=fL(n[t.nextIndex],s)}const l=jb({negate:e});return i.length===1?l.body=i[0].body:(l.kind="intersection",l.body=i.map(c=>c.body.length===1?c.body[0]:c)),t.nextIndex++,l}function XBe({kind:e,negate:t,value:r},n){const{normalizeUnknownPropertyNames:o,skipPropertyNameValidation:s,unicodePropertyMap:i}=n;if(e==="property"){const a=Vx(r);if(hO.has(a)&&!(i!=null&&i.has(a)))e="posix",r=a;else return yf(r,{negate:t,normalizeUnknownPropertyNames:o,skipPropertyNameValidation:s,unicodePropertyMap:i})}return e==="posix"?a9e(r,{negate:t}):Z2(e,{negate:t})}function YBe(e,t,r){const{tokens:n,capturingGroups:o,namedGroupsByName:s,skipLookbehindValidation:i,walk:a}=t,l=c9e(e),c=l.type==="AbsenceFunction",u=pL(l),d=u&&l.negate;if(l.type==="CapturingGroup"&&(o.push(l),l.name&&kBe(s,l.name,[]).push(l)),c&&r.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let p=hL(n[t.nextIndex]);for(;p.type!=="GroupClose";){if(p.type==="Alternator")l.body.push(bp()),t.nextIndex++;else{const f=l.body.at(-1),m=a(f,{...r,isInAbsenceFunction:r.isInAbsenceFunction||c,isInLookbehind:r.isInLookbehind||u,isInNegLookbehind:r.isInNegLookbehind||d});if(f.body.push(m),(u||r.isInLookbehind)&&!i){const v="Lookbehind includes a pattern not allowed by Oniguruma";if(d||r.isInNegLookbehind){if(dL(m)||m.type==="CapturingGroup")throw new Error(v)}else if(dL(m)||pL(m)&&m.negate)throw new Error(v)}}p=hL(n[t.nextIndex])}return t.nextIndex++,l}function e9e({kind:e,min:t,max:r},n){const o=n.parent,s=o.body.at(-1);if(!s||!WBe(s))throw new Error("Quantifier requires a repeatable token");const i=hV(e,t,r,s);return o.body.pop(),i}function t9e({raw:e},t){const{capturingGroups:r,subroutines:n}=t;let o=e.slice(3,-1);const s=/^(?[-+]?)0*(?[1-9]\d*)$/.exec(o);if(s){const a=+s.groups.num,l=r.length;if(t.hasNumberedRef=!0,o={"":a,"+":l+a,"-":l+1-a}[s.groups.sign],o<1)throw new Error("Invalid subroutine number")}else o==="0"&&(o=0);const i=mV(o);return n.push(i),i}function r9e(e,t){return{type:"AbsenceFunction",kind:e,body:Gv(t==null?void 0:t.body)}}function bp(e){return{type:"Alternative",body:gV(e==null?void 0:e.body)}}function K2(e,t){const r={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(r.negate=!!(t!=null&&t.negate)),r}function Q2(e,t){const r=!!(t!=null&&t.orphan);return{type:"Backreference",ref:e,...r&&{orphan:r}}}function fV(e,t){const r={name:void 0,isSubroutined:!1,...t};if(r.name!==void 0&&!u9e(r.name))throw new Error(`Group name "${r.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...r.name&&{name:r.name},...r.isSubroutined&&{isSubroutined:r.isSubroutined},body:Gv(t==null?void 0:t.body)}}function Fx(e,t){const r={useLastValid:!1,...t};if(e>1114111){const n=e.toString(16);if(r.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${n}}"`):new Error(`Invalid code point out of range in JS "\\x{${n}}"`)}return{type:"Character",value:e}}function jb(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:gV(e==null?void 0:e.body)}}function n9e(e,t){if(t.valuer)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:t,max:r,body:n}}function l9e(e,t){return{type:"Regex",body:Gv(t==null?void 0:t.body),flags:e}}function mV(e){return{type:"Subroutine",ref:e}}function yf(e,t){var o;const r={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let n=(o=r.unicodePropertyMap)==null?void 0:o.get(Vx(e));if(!n){if(r.normalizeUnknownPropertyNames)n=d9e(e);else if(r.unicodePropertyMap&&!r.skipPropertyNameValidation)throw new Error(bs`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:n??e,negate:r.negate}}function c9e({flags:e,kind:t,name:r,negate:n,number:o}){switch(t){case"absence_repeater":return r9e("repeater");case"atomic":return Pa({atomic:!0});case"capturing":return fV(o,{name:r});case"group":return Pa({flags:e});case"lookahead":case"lookbehind":return Md({behind:t==="lookbehind",negate:n});default:throw new Error(`Unexpected group kind "${t}"`)}}function Gv(e){if(e===void 0)e=[bp()];else if(!Array.isArray(e)||!e.length||!e.every(t=>t.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return e}function gV(e){if(e===void 0)e=[];else if(!Array.isArray(e)||!e.every(t=>!!t.type))throw new Error("Invalid body; expected array of nodes");return e}function dL(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function pL(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function u9e(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function d9e(e){return e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}function Vx(e){return e.replace(/[- _]+/g,"").toLowerCase()}function fL(e,t){return Gh(e,`${(t==null?void 0:t.type)==="Character"&&t.value===93?"Empty":"Unclosed"} character class`)}function hL(e){return Gh(e,"Unclosed group")}function ig(e,t,r=null){function n(s,i){for(let a=0;aA-Za-z\-]|<[=!]|\(DEFINE\))`;function f9e(e,t){for(let r=0;r=t&&e[r]++}function h9e(e,t,r,n){return e.slice(0,t)+n+e.slice(t+r.length)}const aa=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function gO(e,t,r,n){const o=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),s=[!1];let i=0,a="";for(const l of e.matchAll(o)){const{0:c,groups:{$skip:u}}=l;if(!u&&(!n||n===aa.DEFAULT==!i)){r instanceof Function?a+=r(l,{context:i?aa.CHAR_CLASS:aa.DEFAULT,negated:s[s.length-1]}):a+=r;continue}c[0]==="["?(i++,s.push(c[1]==="^")):c==="]"&&i&&(i--,s.pop()),a+=c}return a}function vV(e,t,r,n){gO(e,t,r,n)}function m9e(e,t,r=0,n){if(!new RegExp(t,"su").test(e))return null;const o=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");o.lastIndex=r;let s=0,i;for(;i=o.exec(e);){const{0:a,groups:{$skip:l}}=i;if(!l&&(!n||n===aa.DEFAULT==!s))return i;a==="["?s++:a==="]"&&s&&s--,o.lastIndex==i.index&&o.lastIndex++}return null}function H0(e,t,r){return!!m9e(e,t,0,r)}function g9e(e,t){const r=/\\?./gsu;r.lastIndex=t;let n=e.length,o=0,s=1,i;for(;i=r.exec(e);){const[a]=i;if(a==="[")o++;else if(o)a==="]"&&o--;else if(a==="(")s++;else if(a===")"&&(s--,!s)){n=i.index;break}}return e.slice(t,n)}const mL=new RegExp(String.raw`(?${p9e})|(?\((?:\?<[^>]+>)?)|\\?.`,"gsu");function v9e(e,t){const r=(t==null?void 0:t.hiddenCaptures)??[];let n=(t==null?void 0:t.captureTransfers)??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:n,hiddenCaptures:r};const o="(?>",s="(?:(?=(",i=[0],a=[];let l=0,c=0,u=NaN,d;do{d=!1;let p=0,f=0,m=!1,v;for(mL.lastIndex=Number.isNaN(u)?0:u+s.length;v=mL.exec(e);){const{0:g,index:y,groups:{capturingStart:b,noncapturingStart:w}}=v;if(g==="[")p++;else if(p)g==="]"&&p--;else if(g===o&&!m)u=y,m=!0;else if(m&&w)f++;else if(b)m?f++:(l++,i.push(l+c));else if(g===")"&&m){if(!f){c++;const k=l+c;if(e=`${e.slice(0,u)}${s}${e.slice(u+o.length,y)}))<$$${k}>)${e.slice(y+1)}`,d=!0,a.push(k),f9e(r,k),n.size){const x=new Map;n.forEach((j,_)=>{x.set(_>=k?_+1:_,j.map(C=>C>=k?C+1:C))}),n=x}break}f--}}}while(d);return r.push(...a),e=gO(e,String.raw`\\(?[1-9]\d*)|<\$\$(?\d+)>`,({0:p,groups:{backrefNum:f,wrappedBackrefNum:m}})=>{if(f){const v=+f;if(v>i.length-1)throw new Error(`Backref "${p}" greater than number of captures`);return`\\${i[v]}`}return`\\${m}`},aa.DEFAULT),{pattern:e,captureTransfers:n,hiddenCaptures:r}}const yV=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,r_=new RegExp(String.raw` +`.replace(/\s+/g,""),"gsu");function jBe(e,t={}){const r={flags:"",...t,rules:{captureGroup:!1,singleline:!1,...t.rules}};if(typeof e!="string")throw new Error("String expected as pattern");const n=FBe(r.flags),o=[n.extended],s={captureGroup:r.rules.captureGroup,getCurrentModX(){return o.at(-1)},numOpenGroups:0,popModX(){o.pop()},pushModX(d){o.push(d)},replaceCurrentModX(d){o[o.length-1]=d},singleline:r.rules.singleline};let i=[],a;for(V0.lastIndex=0;a=V0.exec(e);){const d=_Be(s,e,a[0],V0.lastIndex);d.tokens?i.push(...d.tokens):d.token&&i.push(d.token),d.lastIndex!==void 0&&(V0.lastIndex=d.lastIndex)}const l=[];let c=0;i.filter(d=>d.type==="GroupOpen").forEach(d=>{d.kind==="capturing"?d.number=++c:d.raw==="("&&l.push(d)}),c||l.forEach((d,p)=>{d.kind="capturing",d.number=p+1});const u=c||l.length;return{tokens:i.map(d=>d.type==="EscapedNumber"?UBe(d,u):d).flat(),flags:n}}function _Be(e,t,r,n){const[o,s]=r;if(r==="["||r==="[^"){const i=SBe(t,r,n);return{tokens:i.tokens,lastIndex:i.lastIndex}}if(o==="\\"){if("AbBGyYzZ".includes(s))return{token:iN(r,r)};if(/^\\g[<']/.test(r)){if(!/^\\g(?:<[^>]+>|'[^']+')$/.test(r))throw new Error(`Invalid group name "${r}"`);return{token:MBe(r)}}if(/^\\k[<']/.test(r)){if(!/^\\k(?:<[^>]+>|'[^']+')$/.test(r))throw new Error(`Invalid group name "${r}"`);return{token:cV(r)}}if(s==="K")return{token:uV("keep",r)};if(s==="N"||s==="R")return{token:zd("newline",r,{negate:s==="N"})};if(s==="O")return{token:zd("any",r)};if(s==="X")return{token:zd("text_segment",r)};const i=lV(r,{inCharClass:!1});return Array.isArray(i)?{tokens:i}:{token:i}}if(o==="("){if(s==="*")return{token:BBe(r)};if(r==="(?{")throw new Error(`Unsupported callout "${r}"`);if(r.startsWith("(?#")){if(t[n]!==")")throw new Error('Unclosed comment group "(?#"');return{lastIndex:n+1}}if(/^\(\?[-imx]+[:)]$/.test(r))return{token:RBe(r,e)};if(e.pushModX(e.getCurrentModX()),e.numOpenGroups++,r==="("&&!e.captureGroup||r==="(?:")return{token:vf("group",r)};if(r==="(?>")return{token:vf("atomic",r)};if(r==="(?="||r==="(?!"||r==="(?<="||r==="(?")||r.startsWith("(?'")&&r.endsWith("'"))return{token:vf("capturing",r,{...r!=="("&&{name:r.slice(3,-1)}})};if(r.startsWith("(?~")){if(r==="(?~|")throw new Error(`Unsupported absence function kind "${r}"`);return{token:vf("absence_repeater",r)}}throw r==="(?("?new Error(`Unsupported conditional "${r}"`):new Error(`Invalid or unsupported group option "${r}"`)}if(r===")"){if(e.popModX(),e.numOpenGroups--,e.numOpenGroups<0)throw new Error('Unmatched ")"');return{token:PBe(r)}}if(e.getCurrentModX()){if(r==="#"){const i=t.indexOf(` +`,n);return{lastIndex:i===-1?t.length:i}}if(/^\s$/.test(r)){const i=/\s+/y;return i.lastIndex=n,{lastIndex:i.exec(t)?i.lastIndex:n}}}if(r===".")return{token:zd("dot",r)};if(r==="^"||r==="$"){const i=e.singleline?{"^":bs`\A`,$:bs`\Z`}[r]:r;return{token:iN(i,r)}}return r==="|"?{token:ABe(r)}:mO.test(r)?{tokens:HBe(r)}:{token:vc(Wh(r),r)}}function SBe(e,t,r){const n=[aN(t[1]==="^",t)];let o=1,s;for(t_.lastIndex=r;s=t_.exec(e);){const i=s[0];if(i[0]==="["&&i[1]!==":")o++,n.push(aN(i[1]==="^",i));else if(i==="]"){if(n.at(-1).type==="CharacterClassOpen")n.push(vc(93,i));else if(o--,n.push(EBe(i)),!o)break}else{const a=CBe(i);Array.isArray(a)?n.push(...a):n.push(a)}}return{tokens:n,lastIndex:t_.lastIndex||e.length}}function CBe(e){if(e[0]==="\\")return lV(e,{inCharClass:!0});if(e[0]==="["){const t=/\[:(?\^?)(?[a-z]+):\]/.exec(e);if(!t||!hO.has(t.groups.name))throw new Error(`Invalid POSIX class "${e}"`);return zd("posix",e,{value:t.groups.name,negate:!!t.groups.negate})}return e==="-"?OBe(e):e==="&&"?$Be(e):vc(Wh(e),e)}function lV(e,{inCharClass:t}){const r=e[1];if(r==="c"||r==="C")return LBe(e);if("dDhHsSwW".includes(r))return qBe(e);if(e.startsWith(bs`\o{`))throw new Error(`Incomplete, invalid, or unsupported octal code point "${e}"`);if(/^\\[pP]\{/.test(e)){if(e.length===3)throw new Error(`Incomplete or invalid Unicode property "${e}"`);return zBe(e)}if(new RegExp("^\\\\x[89A-Fa-f]\\p{AHex}","u").test(e))try{const n=e.split(/\\x/).slice(1).map(i=>parseInt(i,16)),o=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}).decode(new Uint8Array(n)),s=new TextEncoder;return[...o].map(i=>{const a=[...s.encode(i)].map(l=>`\\x${l.toString(16)}`).join("");return vc(Wh(i),a)})}catch{throw new Error(`Multibyte code "${e}" incomplete or invalid in Oniguruma`)}if(r==="u"||r==="x")return vc(VBe(e),e);if(lN.has(r))return vc(lN.get(r),e);if(/\d/.test(r))return TBe(t,e);if(e==="\\")throw new Error(bs`Incomplete escape "\"`);if(r==="M")throw new Error(`Unsupported meta "${e}"`);if([...e].length===2)return vc(e.codePointAt(1),e);throw new Error(`Unexpected escape "${e}"`)}function ABe(e){return{type:"Alternator",raw:e}}function iN(e,t){return{type:"Assertion",kind:e,raw:t}}function cV(e){return{type:"Backreference",raw:e}}function vc(e,t){return{type:"Character",value:e,raw:t}}function EBe(e){return{type:"CharacterClassClose",raw:e}}function OBe(e){return{type:"CharacterClassHyphen",raw:e}}function $Be(e){return{type:"CharacterClassIntersector",raw:e}}function aN(e,t){return{type:"CharacterClassOpen",negate:e,raw:t}}function zd(e,t,r={}){return{type:"CharacterSet",kind:e,...r,raw:t}}function uV(e,t,r={}){return e==="keep"?{type:"Directive",kind:e,raw:t}:{type:"Directive",kind:e,flags:Gh(r.flags),raw:t}}function TBe(e,t){return{type:"EscapedNumber",inCharClass:e,raw:t}}function PBe(e){return{type:"GroupClose",raw:e}}function vf(e,t,r={}){return{type:"GroupOpen",kind:e,...r,raw:t}}function IBe(e,t,r,n){return{type:"NamedCallout",kind:e,tag:t,arguments:r,raw:n}}function DBe(e,t,r,n){return{type:"Quantifier",kind:e,min:t,max:r,raw:n}}function MBe(e){return{type:"Subroutine",raw:e}}const NBe=new Set(["COUNT","CMP","ERROR","FAIL","MAX","MISMATCH","SKIP","TOTAL_COUNT"]),lN=new Map([["a",7],["b",8],["e",27],["f",12],["n",10],["r",13],["t",9],["v",11]]);function LBe(e){const t=e[1]==="c"?e[2]:e[3];if(!t||!/[A-Za-z]/.test(t))throw new Error(`Unsupported control character "${e}"`);return vc(Wh(t.toUpperCase())-64,e)}function RBe(e,t){let{on:r,off:n}=/^\(\?(?[imx]*)(?:-(?[-imx]*))?/.exec(e).groups;n??(n="");const o=(t.getCurrentModX()||r.includes("x"))&&!n.includes("x"),s=uN(r),i=uN(n),a={};if(s&&(a.enable=s),i&&(a.disable=i),e.endsWith(")"))return t.replaceCurrentModX(o),uV("flags",e,{flags:a});if(e.endsWith(":"))return t.pushModX(o),t.numOpenGroups++,vf("group",e,{...(s||i)&&{flags:a}});throw new Error(`Unexpected flag modifier "${e}"`)}function BBe(e){const t=/\(\*(?[A-Za-z_]\w*)?(?:\[(?(?:[A-Za-z_]\w*)?)\])?(?:\{(?[^}]*)\})?\)/.exec(e);if(!t)throw new Error(`Incomplete or invalid named callout "${e}"`);const{name:r,tag:n,args:o}=t.groups;if(!r)throw new Error(`Invalid named callout "${e}"`);if(n==="")throw new Error(`Named callout tag with empty value not allowed "${e}"`);const s=o?o.split(",").filter(u=>u!=="").map(u=>/^[+-]?\d+$/.test(u)?+u:u):[],[i,a,l]=s,c=NBe.has(r)?r.toLowerCase():"custom";switch(c){case"fail":case"mismatch":case"skip":if(s.length>0)throw new Error(`Named callout arguments not allowed "${s}"`);break;case"error":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(typeof i=="string")throw new Error(`Named callout argument must be a number "${i}"`);break;case"max":if(!s.length||s.length>2)throw new Error(`Named callout must have one or two arguments "${s}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(s.length===2&&(typeof a=="number"||!/^[<>X]$/.test(a)))throw new Error(`Named callout optional argument two must be '<', '>', or 'X' "${a}"`);break;case"count":case"total_count":if(s.length>1)throw new Error(`Named callout allows only one argument "${s}"`);if(s.length===1&&(typeof i=="number"||!/^[<>X]$/.test(i)))throw new Error(`Named callout optional argument must be '<', '>', or 'X' "${i}"`);break;case"cmp":if(s.length!==3)throw new Error(`Named callout must have three arguments "${s}"`);if(typeof i=="string"&&!/^[A-Za-z_]\w*$/.test(i))throw new Error(`Named callout argument one must be a tag or number "${i}"`);if(typeof a=="number"||!/^(?:[<>!=]=|[<>])$/.test(a))throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' "${a}"`);if(typeof l=="string"&&!/^[A-Za-z_]\w*$/.test(l))throw new Error(`Named callout argument three must be a tag or number "${l}"`);break;case"custom":throw new Error(`Undefined callout name "${r}"`);default:throw new Error(`Unexpected named callout kind "${c}"`)}return IBe(c,n??null,(o==null?void 0:o.split(","))??null,e)}function cN(e){let t=null,r,n;if(e[0]==="{"){const{minStr:o,maxStr:s}=/^\{(?\d*)(?:,(?\d*))?/.exec(e).groups,i=1e5;if(+o>i||s&&+s>i)throw new Error("Quantifier value unsupported in Oniguruma");if(r=+o,n=s===void 0?+o:s===""?1/0:+s,r>n&&(t="possessive",[r,n]=[n,r]),e.endsWith("?")){if(t==="possessive")throw new Error('Unsupported possessive interval quantifier chain with "?"');t="lazy"}else t||(t="greedy")}else r=e[0]==="+"?1:0,n=e[0]==="?"?1:1/0,t=e[1]==="+"?"possessive":e[1]==="?"?"lazy":"greedy";return DBe(t,r,n,e)}function qBe(e){const t=e[1].toLowerCase();return zd({d:"digit",h:"hex",s:"space",w:"word"}[t],e,{negate:e[1]!==t})}function zBe(e){const{p:t,neg:r,value:n}=/^\\(?

[pP])\{(?\^?)(?[^}]+)/.exec(e).groups;return zd("property",e,{value:n,negate:t==="P"&&!r||t==="p"&&!!r})}function uN(e){const t={};return e.includes("i")&&(t.ignoreCase=!0),e.includes("m")&&(t.dotAll=!0),e.includes("x")&&(t.extended=!0),Object.keys(t).length?t:null}function FBe(e){const t={ignoreCase:!1,dotAll:!1,extended:!1,digitIsAscii:!1,posixIsAscii:!1,spaceIsAscii:!1,wordIsAscii:!1,textSegmentMode:null};for(let r=0;r\\p{AHex}+)","u").exec(e).groups.hex:e.slice(2);return parseInt(t,16)}function UBe(e,t){const{raw:r,inCharClass:n}=e,o=r.slice(1);if(!n&&(o!=="0"&&o.length===1||o[0]!=="0"&&+o<=t))return[cV(r)];const s=[],i=o.match(/^[0-7]+|\d/g);for(let a=0;a127)throw new Error(bs`Octal encoded byte above 177 unsupported "${r}"`)}else c=Wh(l);s.push(vc(c,(a===0?"\\":"")+l))}return s}function HBe(e){const t=[],r=new RegExp(mO,"gy");let n;for(;n=r.exec(e);){const o=n[0];if(o[0]==="{"){const s=/^\{(?\d+),(?\d+)\}\??$/.exec(o);if(s){const{min:i,max:a}=s.groups;if(+i>+a&&o.endsWith("?")){r.lastIndex--,t.push(cN(o.slice(0,-1)));continue}}}t.push(cN(o))}return t}function dV(e,t){if(!Array.isArray(e.body))throw new Error("Expected node with body array");if(e.body.length!==1)return!1;const r=e.body[0];return!t||Object.keys(t).every(n=>t[n]===r[n])}function WBe(e){return GBe.has(e.type)}const GBe=new Set(["AbsenceFunction","Backreference","CapturingGroup","Character","CharacterClass","CharacterSet","Group","Quantifier","Subroutine"]);function pV(e,t={}){const r={flags:"",normalizeUnknownPropertyNames:!1,skipBackrefValidation:!1,skipLookbehindValidation:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t,rules:{captureGroup:!1,singleline:!1,...t.rules}},n=jBe(e,{flags:r.flags,rules:{captureGroup:r.rules.captureGroup,singleline:r.rules.singleline}}),o=(p,f)=>{const m=n.tokens[s.nextIndex];switch(s.parent=p,s.nextIndex++,m.type){case"Alternator":return bp();case"Assertion":return JBe(m);case"Backreference":return KBe(m,s);case"Character":return Fx(m.value,{useLastValid:!!f.isCheckingRangeEnd});case"CharacterClassHyphen":return QBe(m,s,f);case"CharacterClassOpen":return ZBe(m,s,f);case"CharacterSet":return XBe(m,s);case"Directive":return o9e(m.kind,{flags:m.flags});case"GroupOpen":return YBe(m,s,f);case"NamedCallout":return i9e(m.kind,m.tag,m.arguments);case"Quantifier":return e9e(m,s);case"Subroutine":return t9e(m,s);default:throw new Error(`Unexpected token type "${m.type}"`)}},s={capturingGroups:[],hasNumberedRef:!1,namedGroupsByName:new Map,nextIndex:0,normalizeUnknownPropertyNames:r.normalizeUnknownPropertyNames,parent:null,skipBackrefValidation:r.skipBackrefValidation,skipLookbehindValidation:r.skipLookbehindValidation,skipPropertyNameValidation:r.skipPropertyNameValidation,subroutines:[],tokens:n.tokens,unicodePropertyMap:r.unicodePropertyMap,walk:o},i=l9e(s9e(n.flags));let a=i.body[0];for(;s.nextIndexl.length)throw new Error("Subroutine uses a group number that's not defined");p&&(l[p-1].isSubroutined=!0)}else if(u.has(p)){if(u.get(p).length>1)throw new Error(bs`Subroutine uses a duplicate group name "\g<${p}>"`);u.get(p)[0].isSubroutined=!0}else throw new Error(bs`Subroutine uses a group name that's not defined "\g<${p}>"`);return i}function JBe({kind:e}){return K2(Gh({"^":"line_start",$:"line_end","\\A":"string_start","\\b":"word_boundary","\\B":"word_boundary","\\G":"search_start","\\y":"text_segment_boundary","\\Y":"text_segment_boundary","\\z":"string_end","\\Z":"string_end_newline"}[e],`Unexpected assertion kind "${e}"`),{negate:e===bs`\B`||e===bs`\Y`})}function KBe({raw:e},t){const r=/^\\k[<']/.test(e),n=r?e.slice(3,-1):e.slice(1),o=(s,i=!1)=>{const a=t.capturingGroups.length;let l=!1;if(s>a)if(t.skipBackrefValidation)l=!0;else throw new Error(`Not enough capturing groups defined to the left "${e}"`);return t.hasNumberedRef=!0,Q2(i?a+1-s:s,{orphan:l})};if(r){const s=/^(?-?)0*(?[1-9]\d*)$/.exec(n);if(s)return o(+s.groups.num,!!s.groups.sign);if(/[-+]/.test(n))throw new Error(`Invalid backref name "${e}"`);if(!t.namedGroupsByName.has(n))throw new Error(`Group name not defined to the left "${e}"`);return Q2(n)}return o(+n)}function QBe(e,t,r){const{tokens:n,walk:o}=t,s=t.parent,i=s.body.at(-1),a=n[t.nextIndex];if(!r.isCheckingRangeEnd&&i&&i.type!=="CharacterClass"&&i.type!=="CharacterClassRange"&&a&&a.type!=="CharacterClassOpen"&&a.type!=="CharacterClassClose"&&a.type!=="CharacterClassIntersector"){const l=o(s,{...r,isCheckingRangeEnd:!0});if(i.type==="Character"&&l.type==="Character")return s.body.pop(),n9e(i,l);throw new Error("Invalid character class range")}return Fx(Wh("-"))}function ZBe({negate:e},t,r){const{tokens:n,walk:o}=t,s=n[t.nextIndex],i=[jb()];let a=fN(s);for(;a.type!=="CharacterClassClose";){if(a.type==="CharacterClassIntersector")i.push(jb()),t.nextIndex++;else{const c=i.at(-1);c.body.push(o(c,r))}a=fN(n[t.nextIndex],s)}const l=jb({negate:e});return i.length===1?l.body=i[0].body:(l.kind="intersection",l.body=i.map(c=>c.body.length===1?c.body[0]:c)),t.nextIndex++,l}function XBe({kind:e,negate:t,value:r},n){const{normalizeUnknownPropertyNames:o,skipPropertyNameValidation:s,unicodePropertyMap:i}=n;if(e==="property"){const a=Vx(r);if(hO.has(a)&&!(i!=null&&i.has(a)))e="posix",r=a;else return yf(r,{negate:t,normalizeUnknownPropertyNames:o,skipPropertyNameValidation:s,unicodePropertyMap:i})}return e==="posix"?a9e(r,{negate:t}):Z2(e,{negate:t})}function YBe(e,t,r){const{tokens:n,capturingGroups:o,namedGroupsByName:s,skipLookbehindValidation:i,walk:a}=t,l=c9e(e),c=l.type==="AbsenceFunction",u=pN(l),d=u&&l.negate;if(l.type==="CapturingGroup"&&(o.push(l),l.name&&kBe(s,l.name,[]).push(l)),c&&r.isInAbsenceFunction)throw new Error("Nested absence function not supported by Oniguruma");let p=hN(n[t.nextIndex]);for(;p.type!=="GroupClose";){if(p.type==="Alternator")l.body.push(bp()),t.nextIndex++;else{const f=l.body.at(-1),m=a(f,{...r,isInAbsenceFunction:r.isInAbsenceFunction||c,isInLookbehind:r.isInLookbehind||u,isInNegLookbehind:r.isInNegLookbehind||d});if(f.body.push(m),(u||r.isInLookbehind)&&!i){const v="Lookbehind includes a pattern not allowed by Oniguruma";if(d||r.isInNegLookbehind){if(dN(m)||m.type==="CapturingGroup")throw new Error(v)}else if(dN(m)||pN(m)&&m.negate)throw new Error(v)}}p=hN(n[t.nextIndex])}return t.nextIndex++,l}function e9e({kind:e,min:t,max:r},n){const o=n.parent,s=o.body.at(-1);if(!s||!WBe(s))throw new Error("Quantifier requires a repeatable token");const i=hV(e,t,r,s);return o.body.pop(),i}function t9e({raw:e},t){const{capturingGroups:r,subroutines:n}=t;let o=e.slice(3,-1);const s=/^(?[-+]?)0*(?[1-9]\d*)$/.exec(o);if(s){const a=+s.groups.num,l=r.length;if(t.hasNumberedRef=!0,o={"":a,"+":l+a,"-":l+1-a}[s.groups.sign],o<1)throw new Error("Invalid subroutine number")}else o==="0"&&(o=0);const i=mV(o);return n.push(i),i}function r9e(e,t){return{type:"AbsenceFunction",kind:e,body:Gv(t==null?void 0:t.body)}}function bp(e){return{type:"Alternative",body:gV(e==null?void 0:e.body)}}function K2(e,t){const r={type:"Assertion",kind:e};return(e==="word_boundary"||e==="text_segment_boundary")&&(r.negate=!!(t!=null&&t.negate)),r}function Q2(e,t){const r=!!(t!=null&&t.orphan);return{type:"Backreference",ref:e,...r&&{orphan:r}}}function fV(e,t){const r={name:void 0,isSubroutined:!1,...t};if(r.name!==void 0&&!u9e(r.name))throw new Error(`Group name "${r.name}" invalid in Oniguruma`);return{type:"CapturingGroup",number:e,...r.name&&{name:r.name},...r.isSubroutined&&{isSubroutined:r.isSubroutined},body:Gv(t==null?void 0:t.body)}}function Fx(e,t){const r={useLastValid:!1,...t};if(e>1114111){const n=e.toString(16);if(r.useLastValid)e=1114111;else throw e>1310719?new Error(`Invalid code point out of range "\\x{${n}}"`):new Error(`Invalid code point out of range in JS "\\x{${n}}"`)}return{type:"Character",value:e}}function jb(e){const t={kind:"union",negate:!1,...e};return{type:"CharacterClass",kind:t.kind,negate:t.negate,body:gV(e==null?void 0:e.body)}}function n9e(e,t){if(t.valuer)throw new Error("Invalid reversed quantifier range");return{type:"Quantifier",kind:e,min:t,max:r,body:n}}function l9e(e,t){return{type:"Regex",body:Gv(t==null?void 0:t.body),flags:e}}function mV(e){return{type:"Subroutine",ref:e}}function yf(e,t){var o;const r={negate:!1,normalizeUnknownPropertyNames:!1,skipPropertyNameValidation:!1,unicodePropertyMap:null,...t};let n=(o=r.unicodePropertyMap)==null?void 0:o.get(Vx(e));if(!n){if(r.normalizeUnknownPropertyNames)n=d9e(e);else if(r.unicodePropertyMap&&!r.skipPropertyNameValidation)throw new Error(bs`Invalid Unicode property "\p{${e}}"`)}return{type:"CharacterSet",kind:"property",value:n??e,negate:r.negate}}function c9e({flags:e,kind:t,name:r,negate:n,number:o}){switch(t){case"absence_repeater":return r9e("repeater");case"atomic":return Pa({atomic:!0});case"capturing":return fV(o,{name:r});case"group":return Pa({flags:e});case"lookahead":case"lookbehind":return Md({behind:t==="lookbehind",negate:n});default:throw new Error(`Unexpected group kind "${t}"`)}}function Gv(e){if(e===void 0)e=[bp()];else if(!Array.isArray(e)||!e.length||!e.every(t=>t.type==="Alternative"))throw new Error("Invalid body; expected array of one or more Alternative nodes");return e}function gV(e){if(e===void 0)e=[];else if(!Array.isArray(e)||!e.every(t=>!!t.type))throw new Error("Invalid body; expected array of nodes");return e}function dN(e){return e.type==="LookaroundAssertion"&&e.kind==="lookahead"}function pN(e){return e.type==="LookaroundAssertion"&&e.kind==="lookbehind"}function u9e(e){return/^[\p{Alpha}\p{Pc}][^)]*$/u.test(e)}function d9e(e){return e.trim().replace(/[- _]+/g,"_").replace(/[A-Z][a-z]+(?=[A-Z])/g,"$&_").replace(/[A-Za-z]+/g,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}function Vx(e){return e.replace(/[- _]+/g,"").toLowerCase()}function fN(e,t){return Gh(e,`${(t==null?void 0:t.type)==="Character"&&t.value===93?"Empty":"Unclosed"} character class`)}function hN(e){return Gh(e,"Unclosed group")}function ig(e,t,r=null){function n(s,i){for(let a=0;aA-Za-z\-]|<[=!]|\(DEFINE\))`;function f9e(e,t){for(let r=0;r=t&&e[r]++}function h9e(e,t,r,n){return e.slice(0,t)+n+e.slice(t+r.length)}const aa=Object.freeze({DEFAULT:"DEFAULT",CHAR_CLASS:"CHAR_CLASS"});function gO(e,t,r,n){const o=new RegExp(String.raw`${t}|(?<$skip>\[\^?|\\?.)`,"gsu"),s=[!1];let i=0,a="";for(const l of e.matchAll(o)){const{0:c,groups:{$skip:u}}=l;if(!u&&(!n||n===aa.DEFAULT==!i)){r instanceof Function?a+=r(l,{context:i?aa.CHAR_CLASS:aa.DEFAULT,negated:s[s.length-1]}):a+=r;continue}c[0]==="["?(i++,s.push(c[1]==="^")):c==="]"&&i&&(i--,s.pop()),a+=c}return a}function vV(e,t,r,n){gO(e,t,r,n)}function m9e(e,t,r=0,n){if(!new RegExp(t,"su").test(e))return null;const o=new RegExp(`${t}|(?<$skip>\\\\?.)`,"gsu");o.lastIndex=r;let s=0,i;for(;i=o.exec(e);){const{0:a,groups:{$skip:l}}=i;if(!l&&(!n||n===aa.DEFAULT==!s))return i;a==="["?s++:a==="]"&&s&&s--,o.lastIndex==i.index&&o.lastIndex++}return null}function H0(e,t,r){return!!m9e(e,t,0,r)}function g9e(e,t){const r=/\\?./gsu;r.lastIndex=t;let n=e.length,o=0,s=1,i;for(;i=r.exec(e);){const[a]=i;if(a==="[")o++;else if(o)a==="]"&&o--;else if(a==="(")s++;else if(a===")"&&(s--,!s)){n=i.index;break}}return e.slice(t,n)}const mN=new RegExp(String.raw`(?${p9e})|(?\((?:\?<[^>]+>)?)|\\?.`,"gsu");function v9e(e,t){const r=(t==null?void 0:t.hiddenCaptures)??[];let n=(t==null?void 0:t.captureTransfers)??new Map;if(!/\(\?>/.test(e))return{pattern:e,captureTransfers:n,hiddenCaptures:r};const o="(?>",s="(?:(?=(",i=[0],a=[];let l=0,c=0,u=NaN,d;do{d=!1;let p=0,f=0,m=!1,v;for(mN.lastIndex=Number.isNaN(u)?0:u+s.length;v=mN.exec(e);){const{0:g,index:y,groups:{capturingStart:b,noncapturingStart:w}}=v;if(g==="[")p++;else if(p)g==="]"&&p--;else if(g===o&&!m)u=y,m=!0;else if(m&&w)f++;else if(b)m?f++:(l++,i.push(l+c));else if(g===")"&&m){if(!f){c++;const k=l+c;if(e=`${e.slice(0,u)}${s}${e.slice(u+o.length,y)}))<$$${k}>)${e.slice(y+1)}`,d=!0,a.push(k),f9e(r,k),n.size){const x=new Map;n.forEach((j,_)=>{x.set(_>=k?_+1:_,j.map(C=>C>=k?C+1:C))}),n=x}break}f--}}}while(d);return r.push(...a),e=gO(e,String.raw`\\(?[1-9]\d*)|<\$\$(?\d+)>`,({0:p,groups:{backrefNum:f,wrappedBackrefNum:m}})=>{if(f){const v=+f;if(v>i.length-1)throw new Error(`Backref "${p}" greater than number of captures`);return`\\${i[v]}`}return`\\${m}`},aa.DEFAULT),{pattern:e,captureTransfers:n,hiddenCaptures:r}}const yV=String.raw`(?:[?*+]|\{\d+(?:,\d*)?\})`,r_=new RegExp(String.raw` \\(?: \d+ | c[A-Za-z] | [gk]<[^>]+> @@ -4109,7 +4109,7 @@ button.jse-context-menu-button.svelte-1idfykj svg { ))? | (?${yV})(?[?+]?)(?[?*+\{]?) | \\?. -`.replace(/\s+/g,""),"gsu");function y9e(e){if(!new RegExp(`${yV}\\+`).test(e))return{pattern:e};const t=[];let r=null,n=null,o="",s=0,i;for(r_.lastIndex=0;i=r_.exec(e);){const{0:a,index:l,groups:{qBase:c,qMod:u,invalidQ:d}}=i;if(a==="[")s||(n=l),s++;else if(a==="]")s?s--:n=null;else if(!s)if(u==="+"&&o&&!o.startsWith("(")){if(d)throw new Error(`Invalid quantifier "${a}"`);let p=-1;if(/^\{\d+\}$/.test(c))e=h9e(e,l+c.length,u,"");else{if(o===")"||o==="]"){const f=o===")"?r:n;if(f===null)throw new Error(`Invalid unmatched "${o}"`);e=`${e.slice(0,f)}(?>${e.slice(f,l)}${c})${e.slice(l+a.length)}`}else e=`${e.slice(0,l-o.length)}(?>${o}${c})${e.slice(l+a.length)}`;p+=4}r_.lastIndex+=p}else a[0]==="("?t.push(l):a===")"&&(r=t.length?t.pop():null);o=a}return{pattern:e}}const na=String.raw,b9e=na`\\g<(?[^>&]+)&R=(?[^>]+)>`,X2=na`\(\?R=(?[^\)]+)\)|${b9e}`,Ux=na`\(\?<(?![=!])(?[^>]+)>`,bV=na`${Ux}|(?\()(?!\?)`,_d=new RegExp(na`${Ux}|${X2}|\(\?|\\?.`,"gsu"),n_="Cannot use multiple overlapping recursions";function w9e(e,t){const{hiddenCaptures:r,mode:n}={hiddenCaptures:[],mode:"plugin",...t};let o=(t==null?void 0:t.captureTransfers)??new Map;if(!new RegExp(X2,"su").test(e))return{pattern:e,captureTransfers:o,hiddenCaptures:r};if(n==="plugin"&&H0(e,na`\(\?\(DEFINE\)`,aa.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const s=[],i=H0(e,na`\\[1-9]`,aa.DEFAULT),a=new Map,l=[];let c=!1,u=0,d=0,p;for(_d.lastIndex=0;p=_d.exec(e);){const{0:f,groups:{captureName:m,rDepth:v,gRNameOrNum:g,gRDepth:y}}=p;if(f==="[")u++;else if(u)f==="]"&&u--;else if(v){if(gL(v),c)throw new Error(n_);if(i)throw new Error(`${n==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const b=e.slice(0,p.index),w=e.slice(_d.lastIndex);if(H0(w,X2,aa.DEFAULT))throw new Error(n_);const k=+v-1;e=vL(b,w,k,!1,r,s,d),o=bL(o,b,k,s.length,0,d);break}else if(g){gL(y);let b=!1;for(const N of l)if(N.name===g||N.num===+g){if(b=!0,N.hasRecursedWithin)throw new Error(n_);break}if(!b)throw new Error(na`Recursive \g cannot be used outside the referenced group "${n==="external"?g:na`\g<${g}&R=${y}>`}"`);const w=a.get(g),k=g9e(e,w);if(i&&H0(k,na`${Ux}|\((?!\?)`,aa.DEFAULT))throw new Error(`${n==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const x=e.slice(w,p.index),j=k.slice(x.length+f.length),_=s.length,C=+y-1,A=vL(x,j,C,!0,r,s,d);o=bL(o,x,C,s.length-_,_,d);const I=e.slice(0,w),M=e.slice(w+k.length);e=`${I}${A}${M}`,_d.lastIndex+=A.length-f.length-x.length-j.length,l.forEach(N=>N.hasRecursedWithin=!0),c=!0}else if(m)d++,a.set(String(d),_d.lastIndex),a.set(m,_d.lastIndex),l.push({num:d,name:m});else if(f[0]==="("){const b=f==="(";b&&(d++,a.set(String(d),_d.lastIndex)),l.push(b?{num:d}:{})}else f===")"&&l.pop()}return r.push(...s),{pattern:e,captureTransfers:o,hiddenCaptures:r}}function gL(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}function vL(e,t,r,n,o,s,i){const a=new Set;n&&vV(e+t,Ux,({groups:{captureName:c}})=>{a.add(c)},aa.DEFAULT);const l=[r,n?a:null,o,s,i];return`${e}${yL(`(?:${e}`,"forward",...l)}(?:)${yL(`${t})`,"backward",...l)}${t}`}function yL(e,t,r,n,o,s,i){const a=c=>t==="forward"?c+2:r-c+2-1;let l="";for(let c=0;c[^>]+)>`,({0:d,groups:{captureName:p,unnamed:f,backref:m}})=>{if(m&&n&&!n.has(m))return d;const v=`_$${u}`;if(f||p){const g=i+s.length+1;return s.push(g),x9e(o,g),f?d:`(?<${p}${v}>`}return na`\k<${m}${v}>`},aa.DEFAULT)}return l}function x9e(e,t){for(let r=0;r=t&&e[r]++}function bL(e,t,r,n,o,s){if(e.size&&n){let i=0;vV(t,bV,()=>i++,aa.DEFAULT);const a=s-i+o,l=new Map;return e.forEach((c,u)=>{const d=(n-i*r)/r,p=i*r,f=u>a+i?u+n:u,m=[];for(const v of c)if(v<=a)m.push(v);else if(v>a+i+d)m.push(v+n);else if(v<=a+i)for(let g=0;g<=r;g++)m.push(v+i*g);else for(let g=0;g<=r;g++)m.push(v+p+d*g);l.set(f,m)}),l}return e}var cs=String.fromCodePoint,Lr=String.raw,$c={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("[[]]","v")}catch{return!1}return!0})()};$c.bugFlagVLiteralHyphenIsRange=$c.unicodeSets?(()=>{try{new RegExp(Lr`[\d\-a]`,"v")}catch{return!0}return!1})():!1;$c.bugNestedClassIgnoresNegation=$c.unicodeSets&&new RegExp("[[^a]]","v").test("a");function uw(e,{enable:t,disable:r}){return{dotAll:!(r!=null&&r.dotAll)&&!!(t!=null&&t.dotAll||e.dotAll),ignoreCase:!(r!=null&&r.ignoreCase)&&!!(t!=null&&t.ignoreCase||e.ignoreCase)}}function uv(e,t,r){return e.has(t)||e.set(t,r),e.get(t)}function Y2(e,t){return wL[e]>=wL[t]}function k9e(e,t){if(e==null)throw new Error(t??"Value expected");return e}var wL={ES2025:2025,ES2024:2024,ES2018:2018},j9e={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function wV(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!j9e[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e.rules}};return t.target==="auto"&&(t.target=$c.flagGroups?"ES2025":$c.unicodeSets?"ES2024":"ES2018"),t}var _9e="[ -\r ]",S9e=new Set([cs(304),cs(305)]),nc=Lr`[\p{L}\p{M}\p{N}\p{Pc}]`;function xV(e){if(S9e.has(e))return[e];const t=new Set,r=e.toLowerCase(),n=r.toUpperCase(),o=E9e.get(r),s=C9e.get(r),i=A9e.get(r);return[...n].length===1&&t.add(n),i&&t.add(i),o&&t.add(o),t.add(r),s&&t.add(s),[...t]}var vO=new Map(`C Other +`.replace(/\s+/g,""),"gsu");function y9e(e){if(!new RegExp(`${yV}\\+`).test(e))return{pattern:e};const t=[];let r=null,n=null,o="",s=0,i;for(r_.lastIndex=0;i=r_.exec(e);){const{0:a,index:l,groups:{qBase:c,qMod:u,invalidQ:d}}=i;if(a==="[")s||(n=l),s++;else if(a==="]")s?s--:n=null;else if(!s)if(u==="+"&&o&&!o.startsWith("(")){if(d)throw new Error(`Invalid quantifier "${a}"`);let p=-1;if(/^\{\d+\}$/.test(c))e=h9e(e,l+c.length,u,"");else{if(o===")"||o==="]"){const f=o===")"?r:n;if(f===null)throw new Error(`Invalid unmatched "${o}"`);e=`${e.slice(0,f)}(?>${e.slice(f,l)}${c})${e.slice(l+a.length)}`}else e=`${e.slice(0,l-o.length)}(?>${o}${c})${e.slice(l+a.length)}`;p+=4}r_.lastIndex+=p}else a[0]==="("?t.push(l):a===")"&&(r=t.length?t.pop():null);o=a}return{pattern:e}}const na=String.raw,b9e=na`\\g<(?[^>&]+)&R=(?[^>]+)>`,X2=na`\(\?R=(?[^\)]+)\)|${b9e}`,Ux=na`\(\?<(?![=!])(?[^>]+)>`,bV=na`${Ux}|(?\()(?!\?)`,_d=new RegExp(na`${Ux}|${X2}|\(\?|\\?.`,"gsu"),n_="Cannot use multiple overlapping recursions";function w9e(e,t){const{hiddenCaptures:r,mode:n}={hiddenCaptures:[],mode:"plugin",...t};let o=(t==null?void 0:t.captureTransfers)??new Map;if(!new RegExp(X2,"su").test(e))return{pattern:e,captureTransfers:o,hiddenCaptures:r};if(n==="plugin"&&H0(e,na`\(\?\(DEFINE\)`,aa.DEFAULT))throw new Error("DEFINE groups cannot be used with recursion");const s=[],i=H0(e,na`\\[1-9]`,aa.DEFAULT),a=new Map,l=[];let c=!1,u=0,d=0,p;for(_d.lastIndex=0;p=_d.exec(e);){const{0:f,groups:{captureName:m,rDepth:v,gRNameOrNum:g,gRDepth:y}}=p;if(f==="[")u++;else if(u)f==="]"&&u--;else if(v){if(gN(v),c)throw new Error(n_);if(i)throw new Error(`${n==="external"?"Backrefs":"Numbered backrefs"} cannot be used with global recursion`);const b=e.slice(0,p.index),w=e.slice(_d.lastIndex);if(H0(w,X2,aa.DEFAULT))throw new Error(n_);const k=+v-1;e=vN(b,w,k,!1,r,s,d),o=bN(o,b,k,s.length,0,d);break}else if(g){gN(y);let b=!1;for(const L of l)if(L.name===g||L.num===+g){if(b=!0,L.hasRecursedWithin)throw new Error(n_);break}if(!b)throw new Error(na`Recursive \g cannot be used outside the referenced group "${n==="external"?g:na`\g<${g}&R=${y}>`}"`);const w=a.get(g),k=g9e(e,w);if(i&&H0(k,na`${Ux}|\((?!\?)`,aa.DEFAULT))throw new Error(`${n==="external"?"Backrefs":"Numbered backrefs"} cannot be used with recursion of capturing groups`);const x=e.slice(w,p.index),j=k.slice(x.length+f.length),_=s.length,C=+y-1,A=vN(x,j,C,!0,r,s,d);o=bN(o,x,C,s.length-_,_,d);const I=e.slice(0,w),M=e.slice(w+k.length);e=`${I}${A}${M}`,_d.lastIndex+=A.length-f.length-x.length-j.length,l.forEach(L=>L.hasRecursedWithin=!0),c=!0}else if(m)d++,a.set(String(d),_d.lastIndex),a.set(m,_d.lastIndex),l.push({num:d,name:m});else if(f[0]==="("){const b=f==="(";b&&(d++,a.set(String(d),_d.lastIndex)),l.push(b?{num:d}:{})}else f===")"&&l.pop()}return r.push(...s),{pattern:e,captureTransfers:o,hiddenCaptures:r}}function gN(e){const t=`Max depth must be integer between 2 and 100; used ${e}`;if(!/^[1-9]\d*$/.test(e))throw new Error(t);if(e=+e,e<2||e>100)throw new Error(t)}function vN(e,t,r,n,o,s,i){const a=new Set;n&&vV(e+t,Ux,({groups:{captureName:c}})=>{a.add(c)},aa.DEFAULT);const l=[r,n?a:null,o,s,i];return`${e}${yN(`(?:${e}`,"forward",...l)}(?:)${yN(`${t})`,"backward",...l)}${t}`}function yN(e,t,r,n,o,s,i){const a=c=>t==="forward"?c+2:r-c+2-1;let l="";for(let c=0;c[^>]+)>`,({0:d,groups:{captureName:p,unnamed:f,backref:m}})=>{if(m&&n&&!n.has(m))return d;const v=`_$${u}`;if(f||p){const g=i+s.length+1;return s.push(g),x9e(o,g),f?d:`(?<${p}${v}>`}return na`\k<${m}${v}>`},aa.DEFAULT)}return l}function x9e(e,t){for(let r=0;r=t&&e[r]++}function bN(e,t,r,n,o,s){if(e.size&&n){let i=0;vV(t,bV,()=>i++,aa.DEFAULT);const a=s-i+o,l=new Map;return e.forEach((c,u)=>{const d=(n-i*r)/r,p=i*r,f=u>a+i?u+n:u,m=[];for(const v of c)if(v<=a)m.push(v);else if(v>a+i+d)m.push(v+n);else if(v<=a+i)for(let g=0;g<=r;g++)m.push(v+i*g);else for(let g=0;g<=r;g++)m.push(v+p+d*g);l.set(f,m)}),l}return e}var cs=String.fromCodePoint,Nr=String.raw,$c={flagGroups:(()=>{try{new RegExp("(?i:)")}catch{return!1}return!0})(),unicodeSets:(()=>{try{new RegExp("[[]]","v")}catch{return!1}return!0})()};$c.bugFlagVLiteralHyphenIsRange=$c.unicodeSets?(()=>{try{new RegExp(Nr`[\d\-a]`,"v")}catch{return!0}return!1})():!1;$c.bugNestedClassIgnoresNegation=$c.unicodeSets&&new RegExp("[[^a]]","v").test("a");function uw(e,{enable:t,disable:r}){return{dotAll:!(r!=null&&r.dotAll)&&!!(t!=null&&t.dotAll||e.dotAll),ignoreCase:!(r!=null&&r.ignoreCase)&&!!(t!=null&&t.ignoreCase||e.ignoreCase)}}function uv(e,t,r){return e.has(t)||e.set(t,r),e.get(t)}function Y2(e,t){return wN[e]>=wN[t]}function k9e(e,t){if(e==null)throw new Error(t??"Value expected");return e}var wN={ES2025:2025,ES2024:2024,ES2018:2018},j9e={auto:"auto",ES2025:"ES2025",ES2024:"ES2024",ES2018:"ES2018"};function wV(e={}){if({}.toString.call(e)!=="[object Object]")throw new Error("Unexpected options");if(e.target!==void 0&&!j9e[e.target])throw new Error(`Unexpected target "${e.target}"`);const t={accuracy:"default",avoidSubclass:!1,flags:"",global:!1,hasIndices:!1,lazyCompileLength:1/0,target:"auto",verbose:!1,...e,rules:{allowOrphanBackrefs:!1,asciiWordBoundaries:!1,captureGroup:!1,recursionLimit:20,singleline:!1,...e.rules}};return t.target==="auto"&&(t.target=$c.flagGroups?"ES2025":$c.unicodeSets?"ES2024":"ES2018"),t}var _9e="[ -\r ]",S9e=new Set([cs(304),cs(305)]),nc=Nr`[\p{L}\p{M}\p{N}\p{Pc}]`;function xV(e){if(S9e.has(e))return[e];const t=new Set,r=e.toLowerCase(),n=r.toUpperCase(),o=E9e.get(r),s=C9e.get(r),i=A9e.get(r);return[...n].length===1&&t.add(n),i&&t.add(i),o&&t.add(o),t.add(r),s&&t.add(s),[...t]}var vO=new Map(`C Other Cc Control cntrl Cf Format Cn Unassigned @@ -4199,10 +4199,10 @@ Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC -XID_Start XIDS`.split(/\s/).map(e=>[Vx(e),e])),C9e=new Map([["s",cs(383)],[cs(383),"s"]]),A9e=new Map([[cs(223),cs(7838)],[cs(107),cs(8490)],[cs(229),cs(8491)],[cs(969),cs(8486)]]),E9e=new Map([lu(453),lu(456),lu(459),lu(498),...o_(8072,8079),...o_(8088,8095),...o_(8104,8111),lu(8124),lu(8140),lu(8188)]),O9e=new Map([["alnum",Lr`[\p{Alpha}\p{Nd}]`],["alpha",Lr`\p{Alpha}`],["ascii",Lr`\p{ASCII}`],["blank",Lr`[\p{Zs}\t]`],["cntrl",Lr`\p{Cc}`],["digit",Lr`\p{Nd}`],["graph",Lr`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",Lr`\p{Lower}`],["print",Lr`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",Lr`[\p{P}\p{S}]`],["space",Lr`\p{space}`],["upper",Lr`\p{Upper}`],["word",Lr`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",Lr`\p{AHex}`]]);function $9e(e,t){const r=[];for(let n=e;n<=t;n++)r.push(n);return r}function lu(e){const t=cs(e);return[t.toLowerCase(),t]}function o_(e,t){return $9e(e,t).map(r=>lu(r))}var kV=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function T9e(e,t){const r={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};jV(e);const n={accuracy:r.accuracy,asciiWordBoundaries:r.asciiWordBoundaries,avoidSubclass:r.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:Y2(r.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};ig(e,P9e,n);const o={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},s={currentFlags:o,prevFlags:null,globalFlags:o,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:n.subroutineRefMap};ig(e,I9e,s);const i={groupsByName:s.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:s.reffedNodesByReferencer};return ig(e,D9e,i),e._originMap=s.groupOriginByCopy,e._strategy=n.strategy,e}var P9e={AbsenceFunction({node:e,parent:t,replaceWith:r}){const{body:n,kind:o}=e;if(o==="repeater"){const s=Pa();s.body[0].body.push(Md({negate:!0,body:n}),yf("Any"));const i=Pa();i.body[0].body.push(hV("greedy",0,1/0,s)),r(Wo(i,t),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:e,parent:t,key:r},{flagDirectivesByAlt:n}){const o=e.body.filter(s=>s.kind==="flags");for(let s=r+1;s\r\n|${o?Lr`\p{RGI_Emoji}`:p}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(l==="hex")r(cu(yf("AHex",{negate:c}),t));else if(l==="newline")r(Wo(oc(c?`[^ +XID_Start XIDS`.split(/\s/).map(e=>[Vx(e),e])),C9e=new Map([["s",cs(383)],[cs(383),"s"]]),A9e=new Map([[cs(223),cs(7838)],[cs(107),cs(8490)],[cs(229),cs(8491)],[cs(969),cs(8486)]]),E9e=new Map([lu(453),lu(456),lu(459),lu(498),...o_(8072,8079),...o_(8088,8095),...o_(8104,8111),lu(8124),lu(8140),lu(8188)]),O9e=new Map([["alnum",Nr`[\p{Alpha}\p{Nd}]`],["alpha",Nr`\p{Alpha}`],["ascii",Nr`\p{ASCII}`],["blank",Nr`[\p{Zs}\t]`],["cntrl",Nr`\p{Cc}`],["digit",Nr`\p{Nd}`],["graph",Nr`[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]`],["lower",Nr`\p{Lower}`],["print",Nr`[[\P{space}&&\P{Cc}&&\P{Cn}&&\P{Cs}]\p{Zs}]`],["punct",Nr`[\p{P}\p{S}]`],["space",Nr`\p{space}`],["upper",Nr`\p{Upper}`],["word",Nr`[\p{Alpha}\p{M}\p{Nd}\p{Pc}]`],["xdigit",Nr`\p{AHex}`]]);function $9e(e,t){const r=[];for(let n=e;n<=t;n++)r.push(n);return r}function lu(e){const t=cs(e);return[t.toLowerCase(),t]}function o_(e,t){return $9e(e,t).map(r=>lu(r))}var kV=new Set(["Lower","Lowercase","Upper","Uppercase","Ll","Lowercase_Letter","Lt","Titlecase_Letter","Lu","Uppercase_Letter"]);function T9e(e,t){const r={accuracy:"default",asciiWordBoundaries:!1,avoidSubclass:!1,bestEffortTarget:"ES2025",...t};jV(e);const n={accuracy:r.accuracy,asciiWordBoundaries:r.asciiWordBoundaries,avoidSubclass:r.avoidSubclass,flagDirectivesByAlt:new Map,jsGroupNameMap:new Map,minTargetEs2024:Y2(r.bestEffortTarget,"ES2024"),passedLookbehind:!1,strategy:null,subroutineRefMap:new Map,supportedGNodes:new Set,digitIsAscii:e.flags.digitIsAscii,spaceIsAscii:e.flags.spaceIsAscii,wordIsAscii:e.flags.wordIsAscii};ig(e,P9e,n);const o={dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},s={currentFlags:o,prevFlags:null,globalFlags:o,groupOriginByCopy:new Map,groupsByName:new Map,multiplexCapturesToLeftByRef:new Map,openRefs:new Map,reffedNodesByReferencer:new Map,subroutineRefMap:n.subroutineRefMap};ig(e,I9e,s);const i={groupsByName:s.groupsByName,highestOrphanBackref:0,numCapturesToLeft:0,reffedNodesByReferencer:s.reffedNodesByReferencer};return ig(e,D9e,i),e._originMap=s.groupOriginByCopy,e._strategy=n.strategy,e}var P9e={AbsenceFunction({node:e,parent:t,replaceWith:r}){const{body:n,kind:o}=e;if(o==="repeater"){const s=Pa();s.body[0].body.push(Md({negate:!0,body:n}),yf("Any"));const i=Pa();i.body[0].body.push(hV("greedy",0,1/0,s)),r(Wo(i,t),{traverse:!0})}else throw new Error('Unsupported absence function "(?~|"')},Alternative:{enter({node:e,parent:t,key:r},{flagDirectivesByAlt:n}){const o=e.body.filter(s=>s.kind==="flags");for(let s=r+1;s\r\n|${o?Nr`\p{RGI_Emoji}`:p}|\P{M}\p{M}*)`,{skipPropertyNameValidation:!0}),t))}else if(l==="hex")r(cu(yf("AHex",{negate:c}),t));else if(l==="newline")r(Wo(oc(c?`[^ ]`:`(?>\r ?|[ -\v\f…\u2028\u2029])`),t));else if(l==="posix")if(!o&&(u==="graph"||u==="print")){if(n==="strict")throw new Error(`POSIX class "${u}" requires min target ES2024 or non-strict accuracy`);let d={graph:"!-~",print:" -~"}[u];c&&(d=`\0-${cs(d.codePointAt(0)-1)}${cs(d.codePointAt(2)+1)}-􏿿`),r(Wo(oc(`[${d}]`),t))}else r(Wo(a_(oc(O9e.get(u)),c),t));else if(l==="property")vO.has(Vx(u))||(e.key="sc");else if(l==="space")r(cu(yf("space",{negate:c}),t));else if(l==="word")r(Wo(a_(oc(nc),c),t));else throw new Error(`Unexpected character set kind "${l}"`)},Directive({node:e,parent:t,root:r,remove:n,replaceWith:o,removeAllPrevSiblings:s,removeAllNextSiblings:i}){const{kind:a,flags:l}=e;if(a==="flags")if(!l.enable&&!l.disable)n();else{const c=Pa({flags:l});c.body[0].body=i(),o(Wo(c,t),{traverse:!0})}else if(a==="keep"){const c=r.body[0],u=r.body.length===1&&dV(c,{type:"Group"})&&c.body[0].body.length===1?c.body[0]:r;if(t.parent!==u||u.body.length>1)throw new Error(Lr`Uses "\K" in a way that's unsupported`);const d=Md({behind:!0});d.body[0].body=s(),o(Wo(d,t))}else throw new Error(`Unexpected directive kind "${a}"`)},Flags({node:e,parent:t}){if(e.posixIsAscii)throw new Error('Unsupported flag "P"');if(e.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(r=>delete e[r]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:r}=e.flags;t!=null&&t.extended&&delete t.extended,r!=null&&r.extended&&delete r.extended,t!=null&&t.dotAll&&(r!=null&&r.dotAll)&&delete t.dotAll,t!=null&&t.ignoreCase&&(r!=null&&r.ignoreCase)&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,r&&!Object.keys(r).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){const{kind:r}=e;r==="lookbehind"&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:r}){const{kind:n}=e;if(n==="fail")r(Wo(Md({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${n.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=Pa();t.body[0].body.push(e.body),e.body=Wo(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){const r=[];let n=!1,o=!1;for(const s of e.body)if(s.body.length===1&&s.body[0].kind==="search_start")s.body.pop();else{const i=AV(s.body);i?(n=!0,Array.isArray(i)?r.push(...i):r.push(i)):o=!0}n&&!o&&r.forEach(s=>t.add(s))},exit(e,{accuracy:t,passedLookbehind:r,strategy:n}){if(t==="strict"&&r&&n)throw new Error(Lr`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:r}=e;typeof r=="string"&&!i_(r)&&(r=s_(r,t),e.ref=r)}},I9e={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:r}){const{orphan:n,ref:o}=e;n||r.set(e,[...t.get(o).map(({node:s})=>s)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:r,skip:n},{groupOriginByCopy:o,groupsByName:s,multiplexCapturesToLeftByRef:i,openRefs:a,reffedNodesByReferencer:l}){const c=o.get(e);if(c&&a.has(e.number)){const d=cu(xL(e.number),t);l.set(d,a.get(e.number)),r(d);return}a.set(e.number,e),i.set(e.number,[]),e.name&&uv(i,e.name,[]);const u=i.get(e.name??e.number);for(let d=0;dp.type==="Group"&&!!p.flags)),d=u?uw(n.globalFlags,u):n.globalFlags;M9e(d,n.currentFlags)||(c=Pa({flags:R9e(d)}),c.body[0].body.push(l))}r(Wo(c,t),{traverse:!a})}},D9e={Backreference({node:e,parent:t,replaceWith:r},n){if(e.orphan){n.highestOrphanBackref=Math.max(n.highestOrphanBackref,e.ref);return}const o=n.reffedNodesByReferencer.get(e).filter(s=>L9e(s,e));if(!o.length)r(Wo(Md({negate:!0}),t));else if(o.length>1){const s=Pa({atomic:!0,body:o.reverse().map(i=>bp({body:[Q2(i.number)]}))});r(Wo(s,t))}else e.ref=o[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){const r=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let n=0;n{t.forEach(o=>{var s,i;(s=n.enable)!=null&&s[o]&&(delete r.disable[o],r.enable[o]=!0),(i=n.disable)!=null&&i[o]&&(r.disable[o]=!0)})}),Object.keys(r.enable).length||delete r.enable,Object.keys(r.disable).length||delete r.disable,r.enable||r.disable?r:null}function R9e({dotAll:e,ignoreCase:t}){const r={};return(e||t)&&(r.enable={},e&&(r.enable.dotAll=!0),t&&(r.enable.ignoreCase=!0)),(!e||!t)&&(r.disable={},!e&&(r.disable.dotAll=!0),!t&&(r.disable.ignoreCase=!0)),r}function CV(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function AV(e){const t=e.find(r=>r.kind==="search_start"||z9e(r,{negate:!1})||!B9e(r));if(!t)return null;if(t.kind==="search_start")return t;if(t.type==="LookaroundAssertion")return t.body[0].body[0];if(t.type==="CapturingGroup"||t.type==="Group"){const r=[];for(const n of t.body){const o=AV(n.body);if(!o)return null;Array.isArray(o)?r.push(...o):r.push(o)}return r}return null}function EV(e,t){const r=CV(e)??[];for(const n of r)if(n===t||EV(n,t))return!0;return!1}function B9e({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function q9e(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function z9e(e,t){const r={negate:null,...t};return e.type==="LookaroundAssertion"&&(r.negate===null||e.negate===r.negate)&&e.body.length===1&&dV(e.body[0],{type:"Assertion",kind:"search_start"})}function i_(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function oc(e,t){const r=pV(e,{...t,unicodePropertyMap:vO}).body;return r.length>1||r[0].body.length>1?Pa({body:r}):r[0].body[0]}function a_(e,t){return e.negate=t,e}function cu(e,t){return e.parent=t,e}function Wo(e,t){return jV(e),e.parent=t,e}function F9e(e,t){const r=wV(t),n=Y2(r.target,"ES2024"),o=Y2(r.target,"ES2025"),s=r.rules.recursionLimit;if(!Number.isInteger(s)||s<2||s>20)throw new Error("Invalid recursionLimit; use 2-20");let i=null,a=null;if(!o){const f=[e.flags.ignoreCase];ig(e,V9e,{getCurrentModI:()=>f.at(-1),popModI(){f.pop()},pushModI(m){f.push(m)},setHasCasedChar(){f.at(-1)?i=!0:a=!0}})}const l={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||i)&&!a)};let c=e;const u={accuracy:r.accuracy,appliedGlobalFlags:l,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:c,originMap:e._originMap,recursionLimit:s,useAppliedIgnoreCase:!!(!o&&i&&a),useFlagMods:o,useFlagV:n,verbose:r.verbose};function d(f){return u.lastNode=c,c=f,k9e(U9e[f.type],`Unexpected node type "${f.type}"`)(f,u,d)}const p={pattern:e.body.map(d).join("|"),flags:d(e.flags),options:{...e.options}};return n||(delete p.options.force.v,p.options.disable.v=!0,p.options.unicodeSetsPlugin=null),p._captureTransfers=new Map,p._hiddenCaptures=[],u.captureMap.forEach((f,m)=>{f.hidden&&p._hiddenCaptures.push(m),f.transferTo&&uv(p._captureTransfers,f.transferTo,[]).push(m)}),p}var V9e={"*":{enter({node:e},t){if(jL(e)){const r=t.getCurrentModI();t.pushModI(e.flags?uw({ignoreCase:r},e.flags).ignoreCase:r)}},exit({node:e},t){jL(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){yO(cs(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},r){t(),OV(e,{firstOnly:!0}).length&&r.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&kV.has(e.value)&&t.setHasCasedChar()}},U9e={Alternative({body:e},t,r){return e.map(r).join("")},Assertion({kind:e,negate:t}){if(e==="string_end")return"$";if(e==="string_start")return"^";if(e==="word_boundary")return t?Lr`\B`:Lr`\b`;throw new Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e},CapturingGroup(e,t,r){const{body:n,name:o,number:s}=e,i={ignoreCase:t.currentFlags.ignoreCase},a=t.originMap.get(e);return a&&(i.hidden=!0,s>a.number&&(i.transferTo=a.number)),t.captureMap.set(s,i),`(${o?`?<${o}>`:""}${n.map(r).join("|")})`},Character({value:e},t){const r=cs(e),n=cf(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(n!==r)return n;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&yO(r)){const o=xV(r);return t.inCharClass?o.join(""):o.length>1?`[${o.join("")}]`:o[0]}return r},CharacterClass(e,t,r){const{kind:n,negate:o,parent:s}=e;let{body:i}=e;if(n==="intersection"&&!t.useFlagV)throw new Error("Use of character class intersection requires min target ES2024");$c.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&i.some(_L)&&(i=[Fx(45),...i.filter(c=>!_L(c))]);const a=()=>`[${o?"^":""}${i.map(r).join(n==="intersection"?"&&":"")}]`;if(!t.inCharClass){if((!t.useFlagV||$c.bugNestedClassIgnoresNegation)&&!o){const u=i.filter(d=>d.type==="CharacterClass"&&d.kind==="union"&&d.negate);if(u.length){const d=Pa(),p=d.body[0];return d.parent=s,p.parent=d,i=i.filter(f=>!u.includes(f)),e.body=i,i.length?(e.parent=p,p.body.push(e)):d.body.pop(),u.forEach(f=>{const m=bp({body:[f]});f.parent=m,m.parent=d,d.body.push(m)}),r(d)}}t.inCharClass=!0;const c=a();return t.inCharClass=!1,c}const l=i[0];if(n==="union"&&!o&&l&&((!t.useFlagV||!t.verbose)&&s.kind==="union"&&!($c.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&s.kind==="intersection"&&i.length===1&&l.type!=="CharacterClassRange"))return i.map(r).join("");if(!t.useFlagV&&s.type==="CharacterClass")throw new Error("Uses nested character class in a way that requires min target ES2024");return a()},CharacterClassRange(e,t){const r=e.min.value,n=e.max.value,o={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},s=cf(r,o),i=cf(n,o),a=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const l=OV(e);K9e(l).forEach(c=>{a.add(Array.isArray(c)?`${cf(c[0],o)}-${cf(c[1],o)}`:cf(c,o))})}return`${s}-${i}${[...a].join("")}`},CharacterSet({kind:e,negate:t,value:r,key:n},o){if(e==="dot")return o.currentFlags.dotAll?o.appliedGlobalFlags.dotAll||o.useFlagMods?".":"[^]":Lr`[^\n]`;if(e==="digit")return t?Lr`\D`:Lr`\d`;if(e==="property"){if(o.useAppliedIgnoreCase&&o.currentFlags.ignoreCase&&kV.has(r))throw new Error(`Unicode property "${r}" can't be case-insensitive when other chars have specific case`);return`${t?Lr`\P`:Lr`\p`}{${n?`${n}=`:""}${r}}`}if(e==="word")return t?Lr`\W`:Lr`\w`;throw new Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")},Group({atomic:e,body:t,flags:r,parent:n},o,s){const i=o.currentFlags;r&&(o.currentFlags=uw(i,r));const a=t.map(s).join("|"),l=!o.verbose&&t.length===1&&n.type!=="Quantifier"&&!e&&(!o.useFlagMods||!r)?a:`(?${Q9e(e,r,o.useFlagMods)}${a})`;return o.currentFlags=i,l},LookaroundAssertion({body:e,kind:t,negate:r},n,o){return`(?${`${t==="lookahead"?"":"<"}${r?"!":"="}`}${e.map(o).join("|")})`},Quantifier(e,t,r){return r(e.body)+Z9e(e)},Subroutine({isRecursive:e,ref:t},r){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const n=r.recursionLimit;return t===0?`(?R=${n})`:Lr`\g<${t}&R=${n}>`}},H9e=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),W9e=new Set(["-","\\","]","^","["]),G9e=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),kL=new Map([[9,Lr`\t`],[10,Lr`\n`],[11,Lr`\v`],[12,Lr`\f`],[13,Lr`\r`],[8232,Lr`\u2028`],[8233,Lr`\u2029`],[65279,Lr`\uFEFF`]]),J9e=new RegExp("^\\p{Cased}$","u");function yO(e){return J9e.test(e)}function OV(e,t){const r=!!(t!=null&&t.firstOnly),n=e.min.value,o=e.max.value,s=[];if(n<65&&(o===65535||o>=131071)||n===65536&&o>=131071)return s;for(let i=n;i<=o;i++){const a=cs(i);if(!yO(a))continue;const l=xV(a).filter(c=>{const u=c.codePointAt(0);return uo});if(l.length&&(s.push(...l),r))break}return s}function cf(e,{escDigit:t,inCharClass:r,useFlagV:n}){if(kL.has(e))return kL.get(e);if(e<32||e>126&&e<160||e>262143||t&&X9e(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const o=r?n?G9e:W9e:H9e,s=cs(e);return(o.has(s)?"\\":"")+s}function K9e(e){const t=e.map(o=>o.codePointAt(0)).sort((o,s)=>o-s),r=[];let n=null;for(let o=0;o";let n="";if(t&&r){const{enable:o,disable:s}=t;n=(o!=null&&o.ignoreCase?"i":"")+(o!=null&&o.dotAll?"s":"")+(s?"-":"")+(s!=null&&s.ignoreCase?"i":"")+(s!=null&&s.dotAll?"s":"")}return`${n}:`}function Z9e({kind:e,max:t,min:r}){let n;return!r&&t===1?n="?":!r&&t===1/0?n="*":r===1&&t===1/0?n="+":r===t?n=`{${r}}`:n=`{${r},${t===1/0?"":t}}`,n+{greedy:"",lazy:"?",possessive:"+"}[e]}function jL({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function X9e(e){return e>47&&e<58}function _L({type:e,value:t}){return e==="Character"&&t===45}var gu,lc,Fd,vu,Vd,dv,eC,Nu,Y9e=(Nu=class extends RegExp{constructor(r,n,o){var t=(...I7e)=>(super(...I7e),Xc(this,dv),Xc(this,gu,new Map),Xc(this,lc,null),Xc(this,Fd),Xc(this,vu,null),Xc(this,Vd,null),Re(this,"rawOptions",{}),this);const s=!!(o!=null&&o.lazyCompile);if(r instanceof RegExp){if(o)throw new Error("Cannot provide options when copying a regexp");const i=r;t(i,n),ka(this,Fd,i.source),i instanceof Nu&&(ka(this,gu,is(i,gu)),ka(this,vu,is(i,vu)),ka(this,Vd,is(i,Vd)),this.rawOptions=i.rawOptions)}else{const i={hiddenCaptures:[],strategy:null,transfers:[],...o};t(s?"":r,n),ka(this,Fd,r),ka(this,gu,tqe(i.hiddenCaptures,i.transfers)),ka(this,Vd,i.strategy),this.rawOptions=o??{}}s||ka(this,lc,this)}get source(){return is(this,Fd)||"(?:)"}exec(r){if(!is(this,lc)){const{lazyCompile:s,...i}=this.rawOptions;ka(this,lc,new Nu(is(this,Fd),this.flags,i))}const n=this.global||this.sticky,o=this.lastIndex;if(is(this,Vd)==="clip_search"&&n&&o){this.lastIndex=0;const s=Zx(this,dv,eC).call(this,r.slice(o));return s&&(eqe(s,o,r,this.hasIndices),this.lastIndex+=o),s}return Zx(this,dv,eC).call(this,r)}},gu=new WeakMap,lc=new WeakMap,Fd=new WeakMap,vu=new WeakMap,Vd=new WeakMap,dv=new WeakSet,eC=function(r){is(this,lc).lastIndex=this.lastIndex;const n=kO(Nu.prototype,this,"exec").call(is(this,lc),r);if(this.lastIndex=is(this,lc).lastIndex,!n||!is(this,gu).size)return n;const o=[...n];n.length=1;let s;this.hasIndices&&(s=[...n.indices],n.indices.length=1);const i=[0];for(let a=1;a{const a=s[i];a&&(s[i]=[a[0]+t,a[1]+t])})}}function tqe(e,t){const r=new Map;for(const n of e)r.set(n,{hidden:!0});for(const[n,o]of t)for(const s of o)uv(r,s,{}).transferTo=n;return r}function rqe(e){const t=/(?\((?:\?<(?![=!])(?[^>]+)>|(?!\?)))|\\?./gsu,r=new Map;let n=0,o=0,s;for(;s=t.exec(e);){const{0:i,groups:{capture:a,name:l}}=s;i==="["?n++:n?i==="]"&&n--:a&&(o++,l&&r.set(o,l))}return r}function nqe(e,t){const r=oqe(e,t);return r.options?new Y9e(r.pattern,r.flags,r.options):new RegExp(r.pattern,r.flags)}function oqe(e,t){const r=wV(t),n=pV(e,{flags:r.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:r.rules.captureGroup,singleline:r.rules.singleline},skipBackrefValidation:r.rules.allowOrphanBackrefs,unicodePropertyMap:vO}),o=T9e(n,{accuracy:r.accuracy,asciiWordBoundaries:r.rules.asciiWordBoundaries,avoidSubclass:r.avoidSubclass,bestEffortTarget:r.target}),s=F9e(o,r),i=w9e(s.pattern,{captureTransfers:s._captureTransfers,hiddenCaptures:s._hiddenCaptures,mode:"external"}),a=y9e(i.pattern),l=v9e(a.pattern,{captureTransfers:i.captureTransfers,hiddenCaptures:i.hiddenCaptures}),c={pattern:l.pattern,flags:`${r.hasIndices?"d":""}${r.global?"g":""}${s.flags}${s.options.disable.v?"u":"v"}`};if(r.avoidSubclass){if(r.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const u=l.hiddenCaptures.sort((m,v)=>m-v),d=Array.from(l.captureTransfers),p=o._strategy,f=c.pattern.length>=r.lazyCompileLength;(u.length||d.length||p||f)&&(c.options={...u.length&&{hiddenCaptures:u},...d.length&&{transfers:d},...p&&{strategy:p},...f&&{lazyCompile:f}})}return c}function sqe(e,t){return nqe(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function iqe(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||(t.regexConstructor=r=>sqe(r,{target:t.target})),{createScanner(r){return new xBe(r,t)},createString(r){return{content:r}}}}const $V=[{id:"abap",name:"ABAP",import:()=>ce(()=>import("./abap-Y8Dl9g_6.BdImnpbu.js"),[])},{id:"actionscript-3",name:"ActionScript",import:()=>ce(()=>import("./actionscript-3-DQVEcJUW.CoDkCxhg.js"),[])},{id:"ada",name:"Ada",import:()=>ce(()=>import("./ada-vP6ak0IW.bCR0ucgS.js"),[])},{id:"angular-html",name:"Angular HTML",import:()=>ce(()=>import("./angular-html-DPB4Rf0C.DESgnZjY.js"),__vite__mapDeps([2,3,4,5])).then(e=>e.f)},{id:"angular-ts",name:"Angular TypeScript",import:()=>ce(()=>import("./angular-ts-CTOR2ofC.ClihVIms.js"),__vite__mapDeps([6,2,3,4,5,7]))},{id:"apache",name:"Apache Conf",import:()=>ce(()=>import("./apache-BUjz-sD2.Pmp26Uib.js"),[])},{id:"apex",name:"Apex",import:()=>ce(()=>import("./apex-OyTfjCYK.D8_7TLub.js"),[])},{id:"apl",name:"APL",import:()=>ce(()=>import("./apl-CjNiDgad.By2JoYGR.js"),__vite__mapDeps([8,3,4,5,9,10,11]))},{id:"applescript",name:"AppleScript",import:()=>ce(()=>import("./applescript-BPx7YFFu.Co6uUVPk.js"),[])},{id:"ara",name:"Ara",import:()=>ce(()=>import("./ara-Z2fSOxSw.BRHolxvo.js"),[])},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>ce(()=>import("./asciidoc-C1T9ziH6.Ve4PFQV2.js"),[])},{id:"asm",name:"Assembly",import:()=>ce(()=>import("./asm-BTWLY5ym.D_Q5rh1f.js"),[])},{id:"astro",name:"Astro",import:()=>ce(()=>import("./astro-CFFExE8Q.D2C4GZx1.js"),__vite__mapDeps([12,11,4,13,5,14,15]))},{id:"awk",name:"AWK",import:()=>ce(()=>import("./awk-Fb0P9dkn.DMzUqQB5.js"),[])},{id:"ballerina",name:"Ballerina",import:()=>ce(()=>import("./ballerina-oZK-YekG.BFfxhgS-.js"),[])},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>ce(()=>import("./bat-0FvbqU9S.BkioyH1T.js"),[])},{id:"beancount",name:"Beancount",import:()=>ce(()=>import("./beancount-DqJEb89h.k_qm7-4y.js"),[])},{id:"berry",name:"Berry",aliases:["be"],import:()=>ce(()=>import("./berry-DODBq_Ff.uYugtg8r.js"),[])},{id:"bibtex",name:"BibTeX",import:()=>ce(()=>import("./bibtex-EULQRLY5.CHM0blh-.js"),[])},{id:"bicep",name:"Bicep",import:()=>ce(()=>import("./bicep-BorU73w0.Bmn6On1c.js"),[])},{id:"bird2",name:"BIRD2 Configuration",aliases:["bird"],import:()=>ce(()=>import("./bird2-CraR6qSn.D-8n_ahI.js"),[])},{id:"blade",name:"Blade",import:()=>ce(()=>import("./blade-D0HyNvCw.B22AUbhu.js"),__vite__mapDeps([16,17,3,4,5,9,10,18,11]))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>ce(()=>import("./bsl-NkNNwerW.Bi1psIsY.js"),__vite__mapDeps([19,20]))},{id:"c",name:"C",import:()=>ce(()=>import("./c-eeMepfLm.BIGW1oBm.js"),[])},{id:"c3",name:"C3",import:()=>ce(()=>import("./c3-BY5XW5ym.eo99z4R2.js"),[])},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>ce(()=>import("./cadence-02UX7mW8.Bv_4Rxtq.js"),[])},{id:"cairo",name:"Cairo",import:()=>ce(()=>import("./cairo-DM6WF2e3.D1_L8Xgr.js"),__vite__mapDeps([21,22]))},{id:"clarity",name:"Clarity",import:()=>ce(()=>import("./clarity-PKm5CwqM.D53aC0YG.js"),[])},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>ce(()=>import("./clojure-CXJfHrL3.P80f7IUj.js"),[])},{id:"cmake",name:"CMake",import:()=>ce(()=>import("./cmake-BJz8BOTU.D1j8_8rp.js"),[])},{id:"cobol",name:"COBOL",import:()=>ce(()=>import("./cobol-DBolczTz.B27wNAoL.js"),__vite__mapDeps([23,3,4,5,10]))},{id:"codeowners",name:"CODEOWNERS",import:()=>ce(()=>import("./codeowners-Bt9yU6NX.Bp6g37R7.js"),[])},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>ce(()=>import("./codeql-DHkodjjI.DsOJ9woJ.js"),[])},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>ce(()=>import("./coffee-DGBR_nr_.C_2Gbh_i.js"),__vite__mapDeps([24,4]))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>ce(()=>import("./common-lisp-EVqT9Zhp.Cg-RD9OK.js"),[])},{id:"coq",name:"Coq",import:()=>ce(()=>import("./coq-B0L9upzn.DkFqJrB1.js"),[])},{id:"cpp",name:"C++",aliases:["c++"],import:()=>ce(()=>import("./cpp-Cj177cuW.De-5Ift6.js"),__vite__mapDeps([25,26,27,28,18]))},{id:"crystal",name:"Crystal",import:()=>ce(()=>import("./crystal-CRJyc4G-.Cv5qkeAc.js"),__vite__mapDeps([29,3,4,5,18,28,30]))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>ce(()=>import("./csharp-CCgA4A09.COcwbKMJ.js"),[])},{id:"css",name:"CSS",import:()=>ce(()=>import("./css-CECN5uSL.DPfMkruS.js"),[])},{id:"csv",name:"CSV",import:()=>ce(()=>import("./csv-CmYOceLb.Co7V7EpZ.js"),[])},{id:"cue",name:"CUE",import:()=>ce(()=>import("./cue-ZzumE7IT.D82EKSYY.js"),[])},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>ce(()=>import("./cypher-jpdmjtA6.COkxafJQ.js"),[])},{id:"d",name:"D",import:()=>ce(()=>import("./d-CBagWSwH.85-TOEBH.js"),[])},{id:"dart",name:"Dart",import:()=>ce(()=>import("./dart-6ObCrKr9.CF10PKvl.js"),[])},{id:"dax",name:"DAX",import:()=>ce(()=>import("./dax-CcDT-8dH.CEL-wOlO.js"),[])},{id:"desktop",name:"Desktop",import:()=>ce(()=>import("./desktop-B93p9R9O.BmXAJ9_W.js"),[])},{id:"diff",name:"Diff",import:()=>ce(()=>import("./diff-BxzP2J8R.D97Zzqfu.js"),[])},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>ce(()=>import("./docker-CsHqm9tx.BcOcwvcX.js"),[])},{id:"dotenv",name:"dotEnv",import:()=>ce(()=>import("./dotenv-BMjVjUL1.Da5cRb03.js"),[])},{id:"dream-maker",name:"Dream Maker",import:()=>ce(()=>import("./dream-maker-PAx17jaB.BtqSS_iP.js"),[])},{id:"edge",name:"Edge",import:()=>ce(()=>import("./edge-BYQkOzbF.BlTtajtD.js"),__vite__mapDeps([31,13,3,4,5,17]))},{id:"elixir",name:"Elixir",import:()=>ce(()=>import("./elixir-Dh036GMp.Bt_17l8z.js"),__vite__mapDeps([32,3,4,5]))},{id:"elm",name:"Elm",import:()=>ce(()=>import("./elm-BtNbw_Cd.CXIbmfSn.js"),__vite__mapDeps([33,27,28]))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>ce(()=>import("./emacs-lisp-Cfxdx5D-.C9XAeP06.js"),[])},{id:"erb",name:"ERB",import:()=>ce(()=>import("./erb-ScVOXVpH.DBtFm1BM.js"),__vite__mapDeps([34,3,4,5,35,36,9,10,18,37,13,38,15,25,26,27,28,30,39,40]))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>ce(()=>import("./erlang-DNcDT8Hi.BZf5DRJy.js"),__vite__mapDeps([41,42]))},{id:"fennel",name:"Fennel",import:()=>ce(()=>import("./fennel-N4WcXuKx.BYunw83y.js"),[])},{id:"fish",name:"Fish",import:()=>ce(()=>import("./fish-BTDEUgqH.BvzEVeQv.js"),[])},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>ce(()=>import("./fluent-BMXUxfv1.C4IJs8-o.js"),[])},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>ce(()=>import("./fortran-fixed-form-B67KFkXH.CDH49byh.js"),__vite__mapDeps([43,44]))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>ce(()=>import("./fortran-free-form-CwqYvCLJ.BxgE0vQu.js"),[])},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>ce(()=>import("./fsharp-CYOiIVNx.CQbQ22yi.js"),__vite__mapDeps([45,42]))},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:()=>ce(()=>import("./gdresource-CvCIUjhi.BN-sfLSk.js"),__vite__mapDeps([46,47,48]))},{id:"gdscript",name:"GDScript",aliases:["gd"],import:()=>ce(()=>import("./gdscript-DSAxJ_aS.C5YyOfLZ.js"),[])},{id:"gdshader",name:"GDShader",import:()=>ce(()=>import("./gdshader-Bk8fF6yr.DkwncUOv.js"),[])},{id:"genie",name:"Genie",import:()=>ce(()=>import("./genie-DzUvd7U9.D0YGMca9.js"),[])},{id:"gherkin",name:"Gherkin",import:()=>ce(()=>import("./gherkin-DHRaV0YP.DyxjwDmM.js"),[])},{id:"git-commit",name:"Git Commit Message",import:()=>ce(()=>import("./git-commit-Bd32YZ0K.B_zh-QqN.js"),__vite__mapDeps([49,50]))},{id:"git-rebase",name:"Git Rebase Message",import:()=>ce(()=>import("./git-rebase-ZWUFO_T4.C1umF-NW.js"),__vite__mapDeps([51,30]))},{id:"gleam",name:"Gleam",import:()=>ce(()=>import("./gleam-Bv284lvN.BspZqrRM.js"),[])},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>ce(()=>import("./glimmer-js-DkxNrfPT.B-b35-8d.js"),__vite__mapDeps([52,4,13,5,3]))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>ce(()=>import("./glimmer-ts-D6YZEmK_.Se2tVUnQ.js"),__vite__mapDeps([53,13,5,4,3]))},{id:"glsl",name:"GLSL",import:()=>ce(()=>import("./glsl-CkUcVZNK.CSaOZ92O.js"),__vite__mapDeps([27,28]))},{id:"gn",name:"GN",import:()=>ce(()=>import("./gn-XtJxiLa4.n2N0HUVH.js"),[])},{id:"gnuplot",name:"Gnuplot",import:()=>ce(()=>import("./gnuplot-yPG9-sE_.DdkO51Og.js"),[])},{id:"go",name:"Go",import:()=>ce(()=>import("./go-CvFNMTvu.CxLEBnE3.js"),[])},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>ce(()=>import("./graphql-CBu2ehBn.DnJ3pOcc.js"),__vite__mapDeps([37,4,13,38,15]))},{id:"groovy",name:"Groovy",import:()=>ce(()=>import("./groovy-CJQTphOW.gcz8RCvz.js"),[])},{id:"hack",name:"Hack",import:()=>ce(()=>import("./hack-ItRNKiEb.CGIm0b5K.js"),__vite__mapDeps([54,3,4,5,18]))},{id:"haml",name:"Ruby Haml",import:()=>ce(()=>import("./haml-NZLVzu_R.CwCNWgR-.js"),__vite__mapDeps([36,4,5]))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>ce(()=>import("./handlebars-mxStpSE7.B6AqvhLx.js"),__vite__mapDeps([55,3,4,5,40]))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>ce(()=>import("./haskell-WeIwNIP6.Df6bDoY_.js"),[])},{id:"haxe",name:"Haxe",import:()=>ce(()=>import("./haxe-TztHsm5T.CzTSHFRz.js"),[])},{id:"hcl",name:"HashiCorp HCL",import:()=>ce(()=>import("./hcl-D438OF-I.BWvSN4gD.js"),[])},{id:"hjson",name:"Hjson",import:()=>ce(()=>import("./hjson-DYBUbqOl.D5-asLiD.js"),[])},{id:"hlsl",name:"HLSL",import:()=>ce(()=>import("./hlsl-Bk8TCZNL.D3lLCCz7.js"),[])},{id:"html",name:"HTML",import:()=>ce(()=>import("./html-B50bmoVb.5itfvePp.js"),__vite__mapDeps([3,4,5]))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>ce(()=>import("./html-derivative-C6bxFbFW.Mh7OQFDx.js"),__vite__mapDeps([17,3,4,5]))},{id:"http",name:"HTTP",import:()=>ce(()=>import("./http-DLvAkeD-.B-3JyST8.js"),__vite__mapDeps([56,30,11,9,10,37,4,13,38,15]))},{id:"hurl",name:"Hurl",import:()=>ce(()=>import("./hurl-CgkFN90t.Ciy-8C2E.js"),__vite__mapDeps([57,37,4,13,38,15,9,10,58]))},{id:"hxml",name:"HXML",import:()=>ce(()=>import("./hxml-GbqSQCLa.CZX2AIRF.js"),__vite__mapDeps([59,60]))},{id:"hy",name:"Hy",import:()=>ce(()=>import("./hy-Brt5EZ7-.DFXneXwc.js"),[])},{id:"imba",name:"Imba",import:()=>ce(()=>import("./imba-CimUv-Uh.DGztddWO.js"),[])},{id:"ini",name:"INI",aliases:["properties"],import:()=>ce(()=>import("./ini-BZIuRIvJ.BEwlwnbL.js"),[])},{id:"java",name:"Java",import:()=>ce(()=>import("./java-DY6VlHhP.CylS5w8V.js"),[])},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:()=>ce(()=>import("./javascript-C25yR2R2.wDzz0qaB.js"),[])},{id:"jinja",name:"Jinja",import:()=>ce(()=>import("./jinja-CFW5uAwY.ByuzBqu1.js"),__vite__mapDeps([61,3,4,5]))},{id:"jison",name:"Jison",import:()=>ce(()=>import("./jison-DdreslRX.nxeSEs3j.js"),__vite__mapDeps([62,4]))},{id:"json",name:"JSON",import:()=>ce(()=>import("./json-DxJze_jm.Cp-IABpG.js"),[])},{id:"json5",name:"JSON5",import:()=>ce(()=>import("./json5-BT4Fjg39.C9tS-k6U.js"),[])},{id:"jsonc",name:"JSON with Comments",import:()=>ce(()=>import("./jsonc-CHjZD8gR.Des-eS-w.js"),[])},{id:"jsonl",name:"JSON Lines",import:()=>ce(()=>import("./jsonl-BGuvDmy9.DcaNXYhu.js"),[])},{id:"jsonnet",name:"Jsonnet",import:()=>ce(()=>import("./jsonnet-Bx2cfsXg.DFQXde-d.js"),[])},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>ce(()=>import("./jssm-BcADi6EI.C2t-YnRu.js"),[])},{id:"jsx",name:"JSX",import:()=>ce(()=>import("./jsx-BtKADgXT.g9-lgVsj.js"),[])},{id:"julia",name:"Julia",aliases:["jl"],import:()=>ce(()=>import("./julia-CZiKXNNP.BkVwBpLe.js"),__vite__mapDeps([63,25,26,27,28,18,22,4,64]))},{id:"just",name:"Just",import:()=>ce(()=>import("./just-CEK2SJ_k.BwuhYwfc.js"),__vite__mapDeps([65,30,4,13,66,3,5,9,10,18,22,35,36,37,38,15,25,26,27,28,39,40]))},{id:"kdl",name:"KDL",import:()=>ce(()=>import("./kdl-BNOv9TC3.U6gkEhfw.js"),[])},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>ce(()=>import("./kotlin-ByBMgTeR.BdnUsdx6.js"),[])},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>ce(()=>import("./kusto-DH_XitHS.DZf3V79B.js"),[])},{id:"latex",name:"LaTeX",import:()=>ce(()=>import("./latex-B8Egmqc5.DuG8MMkm.js"),__vite__mapDeps([67,68,64]))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>ce(()=>import("./lean-BnVxaZxY.BZvkOJ9d.js"),[])},{id:"less",name:"Less",import:()=>ce(()=>import("./less-B1GLI2Di.B1dDrJ26.js"),[])},{id:"liquid",name:"Liquid",import:()=>ce(()=>import("./liquid-CHzkx3jT.B1uKXIcK.js"),__vite__mapDeps([69,3,4,5,11]))},{id:"llvm",name:"LLVM IR",import:()=>ce(()=>import("./llvm-Bk2XctFf.DjAJT7YJ.js"),[])},{id:"log",name:"Log file",import:()=>ce(()=>import("./log-Al8wyEFV.2UxHyX5q.js"),[])},{id:"logo",name:"Logo",import:()=>ce(()=>import("./logo-DBa4JDzV.BtOb2qkB.js"),[])},{id:"lua",name:"Lua",import:()=>ce(()=>import("./lua-Bp3IRv7I.Dsg1hLJt.js"),__vite__mapDeps([39,28]))},{id:"luau",name:"Luau",import:()=>ce(()=>import("./luau-UQyhudEE.C-HG3fhB.js"),[])},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>ce(()=>import("./make-CsMclxtr.CHLpvVh8.js"),[])},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>ce(()=>import("./markdown-CrScaQ96.Cvjx9yec.js"),[])},{id:"marko",name:"Marko",import:()=>ce(()=>import("./marko-CJBA24Ri.CEUdhXun.js"),__vite__mapDeps([70,5,71,7,13]))},{id:"matlab",name:"MATLAB",import:()=>ce(()=>import("./matlab-BOAaUVP0.D7o27uSR.js"),[])},{id:"mdc",name:"MDC",import:()=>ce(()=>import("./mdc-C9YSUwVC.QDiAWeOc.js"),__vite__mapDeps([72,42,40,17,3,4,5]))},{id:"mdx",name:"MDX",import:()=>ce(()=>import("./mdx-BOhZZUJ8.Cmh6b_Ma.js"),[])},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>ce(()=>import("./mermaid-C3rz4dYh.mWjccvbQ.js"),[])},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>ce(()=>import("./mipsasm-CTx18fBl.CKIfxQSi.js"),[])},{id:"mojo",name:"Mojo",import:()=>ce(()=>import("./mojo-EIZIZRTQ.rZm6bMo-.js"),[])},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:()=>ce(()=>import("./moonbit-B1TV0fG3._H4v1dQx.js"),[])},{id:"move",name:"Move",import:()=>ce(()=>import("./move-Db4ltDq1.IF9eRakj.js"),[])},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>ce(()=>import("./narrat-DmhDCBs-.DRg8JJMk.js"),[])},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>ce(()=>import("./nextflow-47kAzSl1.DTaQeSIP.js"),__vite__mapDeps([73,74]))},{id:"nextflow-groovy",name:"nextflow-groovy",import:()=>ce(()=>import("./nextflow-groovy-Drz_2V0j.BeH2EWoN.js"),[])},{id:"nginx",name:"Nginx",import:()=>ce(()=>import("./nginx-D7O4WoB1.BLs5wP_5.js"),__vite__mapDeps([75,39,28]))},{id:"nim",name:"Nim",import:()=>ce(()=>import("./nim-QAjRdh9w.BmsfyvWw.js"),__vite__mapDeps([76,28,3,4,5,9,10,27,42]))},{id:"nix",name:"Nix",import:()=>ce(()=>import("./nix-fTRXMGic.CwoSXNpI.js"),[])},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>ce(()=>import("./nushell-BGCPRlV5.Cz2AlsmD.js"),[])},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>ce(()=>import("./objective-c-Itk8tzmv.DXmwc3jG.js"),[])},{id:"objective-cpp",name:"Objective-C++",import:()=>ce(()=>import("./objective-cpp-DGt5UKRO.CLxacb5B.js"),[])},{id:"ocaml",name:"OCaml",import:()=>ce(()=>import("./ocaml-eSVK32Eg.C0hk2d4L.js"),[])},{id:"odin",name:"Odin",import:()=>ce(()=>import("./odin-BItnF517.BBf5iR-q.js"),[])},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:()=>ce(()=>import("./openscad-Sp5uZ6f2.C4EeE6gA.js"),[])},{id:"pascal",name:"Pascal",import:()=>ce(()=>import("./pascal-xy8pJNns.D93ZcfNL.js"),[])},{id:"perl",name:"Perl",import:()=>ce(()=>import("./perl-DkVrgJBg.XkcgxGZs.js"),__vite__mapDeps([66,3,4,5,9,10,18]))},{id:"php",name:"PHP",import:()=>ce(()=>import("./php-BIzsF_5x.BVktt7F6.js"),__vite__mapDeps([77,3,4,5,9,10,18,11]))},{id:"pkl",name:"Pkl",import:()=>ce(()=>import("./pkl-C-zSNmaA.u5AG7uiY.js"),[])},{id:"plsql",name:"PL/SQL",import:()=>ce(()=>import("./plsql-pVbGZfOv.ChMvpjG-.js"),[])},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>ce(()=>import("./po-BNfHvqmm.BTJTHyun.js"),[])},{id:"polar",name:"Polar",import:()=>ce(()=>import("./polar-CAZahv3u.C0HS_06l.js"),[])},{id:"postcss",name:"PostCSS",import:()=>ce(()=>import("./postcss-05aHdL-n.CXtECtnM.js"),[])},{id:"powerquery",name:"PowerQuery",import:()=>ce(()=>import("./powerquery-DI9HkTvs.CEu0bR-o.js"),[])},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>ce(()=>import("./powershell-Clc4ydu-.Dpen1YoG.js"),[])},{id:"prisma",name:"Prisma",import:()=>ce(()=>import("./prisma-FZjmVtSl.Dd19v3D-.js"),[])},{id:"prolog",name:"Prolog",import:()=>ce(()=>import("./prolog-C5-yg4TO.CbFg5uaA.js"),[])},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>ce(()=>import("./proto-C7QgialS.C7zT0LnQ.js"),[])},{id:"pug",name:"Pug",aliases:["jade"],import:()=>ce(()=>import("./pug-XOw9Q1Ho.DbVWXRvf.js"),__vite__mapDeps([78,4,5,3]))},{id:"puppet",name:"Puppet",import:()=>ce(()=>import("./puppet-CUJHmnxV.BMWR74SV.js"),[])},{id:"purescript",name:"PureScript",import:()=>ce(()=>import("./purescript-rUfGld-4.CklMAg4u.js"),[])},{id:"python",name:"Python",aliases:["py"],import:()=>ce(()=>import("./python-BFNSHbwJ.B6aJPvgy.js"),[])},{id:"qml",name:"QML",import:()=>ce(()=>import("./qml-rTNXsquU.D7cb-65z.js"),__vite__mapDeps([79,4]))},{id:"qmldir",name:"QML Directory",import:()=>ce(()=>import("./qmldir-BInDYbpo.C8lEn-DE.js"),[])},{id:"qss",name:"Qt Style Sheets",import:()=>ce(()=>import("./qss-AeJTysr_.IeuSbFQv.js"),[])},{id:"r",name:"R",import:()=>ce(()=>import("./r-CSmzDPi7.Dspwwk_N.js"),[])},{id:"racket",name:"Racket",import:()=>ce(()=>import("./racket-B83wSAja.BqYA7rlc.js"),[])},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>ce(()=>import("./raku-nEQ4ZJJ7.DXvB9xmW.js"),[])},{id:"razor",name:"ASP.NET Razor",import:()=>ce(()=>import("./razor-Ci8D0dQK.DUnMO2ts.js"),__vite__mapDeps([80,3,4,5,81]))},{id:"reg",name:"Windows Registry Script",import:()=>ce(()=>import("./reg-m_s_Kiip.C-SQnVFl.js"),[])},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>ce(()=>import("./regexp-BazyLpPg.CDVJQ6XC.js"),[])},{id:"rel",name:"Rel",import:()=>ce(()=>import("./rel-BcRfyd6Q.C3B-1QV4.js"),[])},{id:"riscv",name:"RISC-V",import:()=>ce(()=>import("./riscv-Ce8MAQLP.BM1_JUlF.js"),[])},{id:"ron",name:"RON",import:()=>ce(()=>import("./ron-DCEEQypA.D8l8udqQ.js"),[])},{id:"rosmsg",name:"ROS Interface",import:()=>ce(()=>import("./rosmsg-Cz0w1km8.BJDFO7_C.js"),[])},{id:"rst",name:"reStructuredText",import:()=>ce(()=>import("./rst-DM32Wy3O.n0qpWXJ4.js"),__vite__mapDeps([82,17,3,4,5,25,26,27,28,18,22,30,40,83,35,36,9,10,37,13,38,15,39]))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>ce(()=>import("./ruby-BeqCs27h.B7Un6byt.js"),__vite__mapDeps([35,3,4,5,36,9,10,18,37,13,38,15,25,26,27,28,30,39,40]))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>ce(()=>import("./rust-CLzF9zIN.B1yitclQ.js"),[])},{id:"sas",name:"SAS",import:()=>ce(()=>import("./sas-fpEvgATw.DGFTbZf0.js"),__vite__mapDeps([84,18]))},{id:"sass",name:"Sass",import:()=>ce(()=>import("./sass-DxHp5rTx.Cj5Yp3dK.js"),[])},{id:"scala",name:"Scala",import:()=>ce(()=>import("./scala-D4grkFkl.C151Ov-r.js"),[])},{id:"scheme",name:"Scheme",import:()=>ce(()=>import("./scheme-BCRWuEm4.C98Dy4si.js"),[])},{id:"scss",name:"SCSS",import:()=>ce(()=>import("./scss-B1FaCqwR.Ck2k-5yS.js"),__vite__mapDeps([7,5]))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>ce(()=>import("./sdbl-B7T8abf4.DVxCFoDh.js"),[])},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>ce(()=>import("./shaderlab-Cr62-Wb4.Dg-YLyZM.js"),__vite__mapDeps([85,86]))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>ce(()=>import("./shellscript-InADTalH.Yzrsuije.js"),[])},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>ce(()=>import("./shellsession-DiDJNQdy.6b8mv5tD.js"),__vite__mapDeps([87,30]))},{id:"smalltalk",name:"Smalltalk",import:()=>ce(()=>import("./smalltalk-BlI1_OkM.BERRCDM3.js"),[])},{id:"solidity",name:"Solidity",import:()=>ce(()=>import("./solidity-DUWnFhS6.rGO070M0.js"),[])},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>ce(()=>import("./soy-C1-6njHa.bBoLPmyR.js"),__vite__mapDeps([88,3,4,5]))},{id:"sparql",name:"SPARQL",import:()=>ce(()=>import("./sparql-B0KWFEri.C0kn9QnI.js"),__vite__mapDeps([89,90]))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>ce(()=>import("./splunk-CRXR8A9s.BtCnVYZw.js"),[])},{id:"sql",name:"SQL",import:()=>ce(()=>import("./sql-Cn_v3PB0.BLtJtn59.js"),[])},{id:"ssh-config",name:"SSH Config",import:()=>ce(()=>import("./ssh-config-DP-hNVbF._ykCGR6B.js"),[])},{id:"stata",name:"Stata",import:()=>ce(()=>import("./stata-B8c5fTjX.B5gLgQfq.js"),__vite__mapDeps([91,18]))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>ce(()=>import("./stylus-CyKEU1Ej.BEDo0Tqx.js"),[])},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:()=>ce(()=>import("./surrealql-CQi7GQN7.DwxZRr_q.js"),__vite__mapDeps([92,4]))},{id:"svelte",name:"Svelte",import:()=>ce(()=>import("./svelte-rYri41WT.DUX-c_w_.js"),__vite__mapDeps([93,4,13,5,14]))},{id:"swift",name:"Swift",import:()=>ce(()=>import("./swift-DJpUqPLg.D82vCrfD.js"),[])},{id:"system-verilog",name:"SystemVerilog",import:()=>ce(()=>import("./system-verilog-BCm7smPJ.CnnmHF94.js"),[])},{id:"systemd",name:"Systemd Units",import:()=>ce(()=>import("./systemd-C-4qm6XH.4A_iFExJ.js"),[])},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>ce(()=>import("./talonscript-CFF3LF_O.Cc6Jm0TJ.js"),[])},{id:"tasl",name:"Tasl",import:()=>ce(()=>import("./tasl-Cg_WBUAe.QIJgUcNo.js"),[])},{id:"tcl",name:"Tcl",import:()=>ce(()=>import("./tcl-DN7buRTF.dwOrl1Do.js"),[])},{id:"templ",name:"Templ",import:()=>ce(()=>import("./templ-Crs9Ui8q.DWxMd01m.js"),__vite__mapDeps([94,95,4,5]))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>ce(()=>import("./terraform-DGvcn9zM.BETggiCN.js"),[])},{id:"tex",name:"TeX",import:()=>ce(()=>import("./tex-AHxmLTL0.CvqJy4qb.js"),__vite__mapDeps([68,64]))},{id:"toml",name:"TOML",import:()=>ce(()=>import("./toml-DY62mUL_.vGWfd6FD.js"),[])},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>ce(()=>import("./ts-tags-BUclWxCG.CZyjpXn1.js"),__vite__mapDeps([96,13,5,4,27,28,3,18,9,10]))},{id:"tsv",name:"TSV",import:()=>ce(()=>import("./tsv-BtvSkaG0.B_m7g4N7.js"),[])},{id:"tsx",name:"TSX",import:()=>ce(()=>import("./tsx-B8rCNbgL.COt5Ahok.js"),[])},{id:"turtle",name:"Turtle",import:()=>ce(()=>import("./turtle-_H59FV7D.BsS91CYL.js"),[])},{id:"twig",name:"Twig",import:()=>ce(()=>import("./twig-DwV2Fi4L.Cs5KKVgC.js"),__vite__mapDeps([97,5,4,7,77,3,9,10,18,11,22,35,36,37,13,38,15,25,26,27,28,30,39,40]))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:()=>ce(()=>import("./typescript-RycA9KXf.BPQ3VLAy.js"),[])},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>ce(()=>import("./typespec-DWqp-kUU.BGHnOYBU.js"),[])},{id:"typst",name:"Typst",aliases:["typ"],import:()=>ce(()=>import("./typst-D_1QKWns.DHCkPAjA.js"),[])},{id:"v",name:"V",import:()=>ce(()=>import("./v-BPCNiyYe.BcVCzyr7.js"),[])},{id:"vala",name:"Vala",import:()=>ce(()=>import("./vala-uxaPR7d1.CsfeWuGM.js"),[])},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>ce(()=>import("./vb-D8_c5-KN.D17OF-Vu.js"),[])},{id:"verilog",name:"Verilog",import:()=>ce(()=>import("./verilog-B-bybjPF.BQ8w6xss.js"),[])},{id:"vhdl",name:"VHDL",import:()=>ce(()=>import("./vhdl-CUlNa8ac.CeAyd5Ju.js"),[])},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>ce(()=>import("./viml-DsfA-sWm.CJc9bBzg.js"),[])},{id:"vue",name:"Vue",import:()=>ce(()=>import("./vue-DXEmyXn9.BYsJrqyF.js"),__vite__mapDeps([98,5,4,13,11,3,17]))},{id:"vue-html",name:"Vue HTML",import:()=>ce(()=>import("./vue-html-j9xNEdu3.pBkLY7_g.js"),__vite__mapDeps([99,4]))},{id:"vue-vine",name:"Vue Vine",import:()=>ce(()=>import("./vue-vine-D41-N99t.DPWpdtYA.js"),__vite__mapDeps([100,5,7,71,101,14,4]))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>ce(()=>import("./vyper-CPQuu50u.CDx5xZoG.js"),[])},{id:"wasm",name:"WebAssembly",import:()=>ce(()=>import("./wasm-BBXxrAl7.MzD3tlZU.js"),[])},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>ce(()=>import("./wenyan-pbVjoM9_.BV7otONQ.js"),[])},{id:"wgsl",name:"WGSL",import:()=>ce(()=>import("./wgsl-DY4iK1q1.Dx-B1_4e.js"),[])},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>ce(()=>import("./wikitext-Z-MoUasO.BhOHFoWU.js"),[])},{id:"wit",name:"WebAssembly Interface Types",import:()=>ce(()=>import("./wit-CQMQOlTg.5i3qLPDT.js"),[])},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>ce(()=>import("./wolfram-Dz4KXISs.lXgVvXCa.js"),[])},{id:"xml",name:"XML",import:()=>ce(()=>import("./xml-C2J0sS9M.D2gdfNFA.js"),__vite__mapDeps([9,10]))},{id:"xsl",name:"XSL",import:()=>ce(()=>import("./xsl-BmSZphgC.jxtCyhIJ.js"),__vite__mapDeps([102,9,10]))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>ce(()=>import("./yaml-DaO7k5B1.Buea-lGh.js"),[])},{id:"zenscript",name:"ZenScript",import:()=>ce(()=>import("./zenscript-CxBjpf9c.DVFEvuxE.js"),[])},{id:"zig",name:"Zig",import:()=>ce(()=>import("./zig-Vm0PO9wB.VOosw3JB.js"),[])}],aqe=Object.fromEntries($V.map(e=>[e.id,e.import])),lqe=Object.fromEntries($V.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(r=>[r,e.import]))||[]})),SL={...aqe,...lqe},cqe=["json","xml","markdown"];let pi=null,Sm=null;const W0=new Map,G0=Oe(!0);function TV(){function e(){return Sm||(Sm=(async()=>{var i,a;try{if(pi){G0.value=!1;return}const l=kn(),c=await Promise.all(cqe.map(async u=>{const d=SL[u];if(!d)return[];try{return(await d()).default}catch{return[]}}));if(pi=await wBe({themes:[(i=l.getHighlighterTheme())==null?void 0:i.light,(a=l.getHighlighterTheme())==null?void 0:a.dark],langs:c.filter(Boolean).flat(),engine:iqe({target:"ES2018"})}),!pi)throw new Error("Failed to create Shiki highlighter");G0.value=!1}catch(l){throw Sm=null,l}})(),Sm)}async function t(i){try{await e()}catch(c){return console.error("Failed to initialize Shiki:",c),!1}if(!pi)return!1;if(pi.getLoadedLanguages().includes(i))return!0;const a=W0.get(i);if(a)return a;const l=(async()=>{const c=SL[i];if(!c)return console.warn(`Shiki language "${i}" not available.`),!1;try{const u=await c();return await pi.loadLanguage(u.default),!0}catch(u){return console.error(`Failed to load Shiki language "${i}":`,u),!1}finally{W0.delete(i)}})();return W0.set(i,l),l}function r(){return pi!==null}function n(i){return(pi==null?void 0:pi.getLoadedLanguages().includes(i))??!1}function o(i,{lang:a,theme:l}){return pi&&pi.getLoadedLanguages().includes(a)?pi.codeToHtml(i,{lang:a,theme:l}):`

${i}
`}function s(){pi=null,Sm=null,W0.clear(),G0.value=!0}return{loading:G0,renderShiki:o,init:e,ensureLanguage:t,isReady:r,isLanguageLoaded:n,reset:s,initShiki:async()=>{console.warn("initShiki is deprecated, use init instead"),await e()}}}const uqe=["innerHTML"],dqe={__name:"OAShiki",props:{code:{type:[String,Object,Array,Number,Boolean],required:!0},lang:{type:String,required:!0}},setup(e){const t=e,r=/background-color:[^;]+;/g,n=kn().isDark,o=TV(),s=Oe(null);return cr([()=>t.code,()=>t.lang,()=>n.value],async()=>{const i=typeof t.code=="string"?t.code:JSON.stringify(t.code,null,2);await o.ensureLanguage(t.lang);const a=o.renderShiki(i,{lang:t.lang,theme:n.value?"vitesse-dark":"vitesse-light"});s.value=a.replace(r,"background-color:transparent;")},{immediate:!0}),(i,a)=>(E(),K("div",{innerHTML:s.value},null,8,uqe))}},pqe={class:"lang"},fqe={key:2},bO={__name:"OACodeBlock",props:{code:{type:[String,Object,Array,Number,Boolean],required:!0},lang:{type:String,required:!0},label:{type:String,default:""},disableHtmlTransform:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},setup(e){const t=e,r=kn(),n=le(()=>r.getJsonViewerRenderer()),o=le(()=>t.lang==="json"&&!t.disableHtmlTransform&&n.value==="vue-json-pretty"),s=le(()=>t.disableHtmlTransform?!1:t.lang!=="json"||n.value==="shiki");return(i,a)=>(E(),K("div",{class:Lt(["vp-adaptive-theme min-h-16",[`language-${t.lang}`]])},[a[0]||(a[0]=ue("button",{title:"Copy Code",class:"copy"},null,-1)),ue("span",pqe,ze(t.label),1),o.value?(E(),ve(_R,{key:0,code:t.code},null,8,["code"])):s.value?(E(),ve(dqe,{key:1,code:t.code,lang:t.lang},null,8,["code","lang"])):(E(),K("pre",fqe,[ue("code",null,ze(t.code),1)]))],2))}},hqe=["src","alt"],mqe=["aria-label"],gqe=["src","type"],vqe={key:3},yqe={key:4},bqe={class:"whitespace-pre-wrap"},wqe=Te({__name:"OAPlaygroundResponseContent",props:{response:{}},setup(e){const t=e,{t:r}=Jn(),n=k=>le(()=>k.test(t.response.type)),o=n(/json/i),s=n(/xml/i),i=n(/text\/html/i),a=n(/text\/plain/i),l=n(/text\/csv/i),c=n(/^image\//i),u=n(/^audio\//i),d=k=>{if(!t.response.headers)return null;const x=Object.entries(t.response.headers).find(([j])=>j.toLowerCase()===k.toLowerCase());return x?x[1]:null},p=le(()=>d("content-disposition")??""),f=le(()=>V5(t.response.type,p.value)),m=le(()=>o.value?"json":s.value?"xml":i.value?"html":a.value?"plaintext":l.value?"csv":"plaintext"),v=le(()=>o.value?"JSON":s.value?"XML":i.value?"HTML":a.value?"Plain Text":l.value?"CSV":"Plain Text"),g=Oe("");cr(()=>t.response,()=>{u.value&&t.response.body instanceof Blob?g.value=URL.createObjectURL(t.response.body):g.value=""},{immediate:!0}),Ch(()=>{g.value&&URL.revokeObjectURL(g.value)});const y=le(()=>t.response.body&&JSON.stringify(t.response.body).length>1e3),b=le(()=>{const k=d("content-disposition");return P8e(k,"response_file")}),w=(k,x)=>{let j;k instanceof Blob?j=k:typeof k=="string"?j=new Blob([k],{type:"application/octet-stream"}):j=new Blob([JSON.stringify(k)],{type:"application/octet-stream"});const _=URL.createObjectURL(j),C=document.createElement("a");C.href=_,C.download=x,C.click(),URL.revokeObjectURL(_)};return(k,x)=>(E(),K("div",null,[S(o)||S(s)||S(i)||S(a)||S(l)?(E(),ve(bO,{key:0,code:t.response.body,lang:m.value,label:v.value,"disable-html-transform":y.value,active:"",class:"!m-0"},null,8,["code","lang","label","disable-html-transform"])):S(c)?(E(),K("img",{key:1,src:t.response.body,alt:S(r)("Response Image"),style:{"max-width":"100%"}},null,8,hqe)):S(u)?(E(),K("audio",{key:2,controls:"",class:"w-full mt-2","aria-label":S(r)("Audio response")},[ue("source",{src:g.value,type:t.response.type},null,8,gqe),Vt(" "+ze(S(r)("Your browser does not support the audio element.")),1)],8,mqe)):f.value?(E(),K("div",vqe,[ue("button",{type:"button","aria-label":"Download file",onClick:x[0]||(x[0]=j=>w(t.response.body,b.value))},ze(S(r)("Download file")),1)])):(E(),K("div",yqe,[ue("p",null,ze(S(r)("Unrecognized response type. Raw content:")),1),ue("pre",bqe,ze(t.response.body),1)]))]))}}),xqe={key:0,open:""},kqe={class:"!my-0 text-lg font-bold cursor-pointer"},jqe={class:"inline-flex items-center gap-2 w-[calc(100%-24px)]"},_qe={class:"flex flex-col gap-2"},Sqe={key:0,class:"text-sm text-muted-foreground"},Cqe={class:"flex flex-col max-h-96 overflow-y-auto"},Aqe=Te({__name:"OAPlaygroundResponse",props:{response:{type:null,required:!1},loading:{type:Boolean,default:!1}},setup(e){const{t}=Jn();return(r,n)=>e.response||e.loading?(E(),K("details",xqe,[ue("summary",kqe,[ue("div",jqe,[ue("span",null,ze(e.loading?S(t)("Loading"):S(t)("Response")),1),n[0]||(n[0]=ue("span",{class:"flex-1"},null,-1)),e.response&&e.response.status?(E(),ve(S(Pc),{key:0,variant:"plain",class:Lt(["rounded py-1.5",{"bg-green-100 text-green-800 dark:bg-green-800 dark:text-green-100":String(e.response.status).startsWith("2"),"bg-yellow-100 text-yellow-800 dark:bg-yellow-800 dark:text-yellow-100":String(e.response.status).startsWith("3"),"bg-red-100 text-red-800 dark:bg-red-800 dark:text-red-100":String(e.response.status).startsWith("4")||String(e.response.status).startsWith("5")}])},{default:U(()=>[Vt(ze(e.response.status),1)]),_:1},8,["class"])):je("",!0)])]),ue("div",_qe,[e.response?(E(),K("div",Sqe,ze(S(t)("Response time"))+": "+ze(e.loading?S(t)("Loading"):`${e.response.time}ms`),1)):je("",!0),ue("div",Cqe,[e.response?(E(),ve(wqe,{key:0,response:e.response},null,8,["response"])):je("",!0)])])])):je("",!0)}}),Eqe={class:"flex flex-col gap-2"},Oqe={class:"flex flex-col gap-2"},PV=Te({__name:"OAPlayground",props:{operationId:{type:String,required:!0},path:{type:String,required:!0},method:{type:String,required:!0},hideEndpoint:{type:Boolean,default:!1},servers:{type:Array,default:()=>[]},parameters:{type:Array,required:!1},requestBody:{type:Object,required:!1},securityUi:{type:Object,required:!0},headingPrefix:{type:String,required:!1,default:""}},setup(e){const t=e,{loading:r,response:n,submitRequest:o,cleanupImageUrls:s}=kv(),i=_i(Th),{t:a}=Jn(),l=le(()=>!!t.requestBody),c=le(()=>Object.keys(t.securityUi??{}).length>0),u=le(()=>{var y;return!!((y=t.parameters)!=null&&y.length||l.value||c.value)}),d=kn(),p=le(()=>d.getOperationCols()),f=le(()=>d.getPlaygroundExamplesBehavior()),m=le(()=>d.getPlaygroundXExampleBehavior()),v=le(()=>{var b,w,k,x,j;const y=i.requestBody.selectedContentType.value;return!y||!((w=(b=t.requestBody)==null?void 0:b.content)!=null&&w[y])?{}:(j=(x=(k=t.requestBody)==null?void 0:k.content)==null?void 0:x[y])==null?void 0:j.examples});async function g(){i.playground.request.value&&await o({request:i.playground.request.value,method:t.method,baseUrl:i.playground.selectedServer.value,path:t.path,operationId:t.operationId})}return Ch(()=>{s()}),(y,b)=>(E(),K("div",Eqe,[ye(Rs,{level:"h2",prefix:e.headingPrefix,class:Lt(["block",{"sm:hidden":p.value===2}])},{default:U(()=>[Vt(ze(S(a)("Playground")),1)]),_:1},8,["prefix","class"]),u.value?(E(),ve(O8e,{key:0,"operation-id":t.operationId,path:t.path,method:t.method,servers:t.servers,parameters:t.parameters,"security-ui":t.securityUi,examples:v.value,"example-behavior":f.value,"x-example-behavior":m.value,"request-body":t.requestBody,onSubmit:g},null,8,["operation-id","path","method","servers","parameters","security-ui","examples","example-behavior","x-example-behavior","request-body"])):je("",!0),ue("div",Oqe,[ye(S(Wm),{variant:"primary",onClick:g},{default:U(()=>[Vt(ze(S(a)("Try it out")),1)]),_:1}),S(n)||S(r)?(E(),ve(Aqe,{key:0,response:S(n),loading:S(r)},null,8,["response","loading"])):je("",!0)])]))}}),$qe={key:1,class:"ml-auto max-w-40 hover:max-w-full truncate transition-all duration-200 ease-in-out"},Tqe={class:"h-6 text-xs rounded-md bg-muted px-3 py-1"},IV={__name:"OAContentTypeSelect",props:{id:{type:String,required:!0},contentType:{type:String,required:!0},contentTypes:{type:Array,required:!0},modelValue:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=t,o=Oe(r.modelValue||r.contentType||(r.contentTypes.length>0?r.contentTypes[0]:void 0));return cr(o,s=>{n("update:modelValue",s)}),cr(()=>r.modelValue,s=>{s!==o.value&&(o.value=s)}),(s,i)=>(E(),K("div",null,[e.contentTypes.length>1?(E(),ve(S(Cp),{key:0,modelValue:o.value,"onUpdate:modelValue":i[0]||(i[0]=a=>o.value=a)},{default:U(()=>[ye(S(Tp),{"aria-label":"Content-Type",class:"h-6 text-xs"},{default:U(()=>[ye(S($h),null,{default:U(()=>[Vt(ze(o.value),1)]),_:1})]),_:1}),ye(S(Ap),null,{default:U(()=>[ye(S(Ep),null,{default:U(()=>[(E(!0),K(dt,null,zt(e.contentTypes,(a,l)=>(E(),ve(S($p),{key:l,value:a},{default:U(()=>[Vt(ze(a),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["modelValue"])):(E(),K("div",$qe,[ue("span",Tqe,ze(o.value),1)]))]))}},DV=Te({__name:"Collapsible",props:{defaultOpen:{type:Boolean},open:{type:Boolean},disabled:{type:Boolean},unmountOnHide:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["update:open"],setup(e,{emit:t}){const r=Gc(e,t);return(n,o)=>(E(),ve(S(mpe),Mn(Ln(S(r))),{default:U(({open:s})=>[pe(n.$slots,"default",{open:s})]),_:3},16))}}),Pqe=Te({__name:"CollapsibleContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(r,n)=>(E(),ve(S(vpe),jr(t,{class:"overflow-hidden transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down"}),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),tC=Te({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(r,n)=>(E(),ve(S(bpe),Mn(Ln(t)),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),CL=Te({__name:"Tooltip",props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const r=Gc(e,t);return(n,o)=>(E(),ve(S(pme),Mn(Ln(S(r))),{default:U(()=>[pe(n.$slots,"default")]),_:3},16))}}),AL=Te({inheritAttrs:!1,__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const r=e,n=t,o=le(()=>{const{class:i,...a}=r;return a}),s=Gc(o,n);return(i,a)=>(E(),ve(S(bme),null,{default:U(()=>[ye(S(vme),jr({...S(s),...i.$attrs},{class:S(Ko)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs 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",r.class)}),{default:U(()=>[pe(i.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),EL=Te({__name:"TooltipProvider",props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean},content:{}},setup(e){const t=e;return(r,n)=>(E(),ve(S(cme),Mn(Ln(t)),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),OL=Te({__name:"TooltipTrigger",props:{reference:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(r,n)=>(E(),ve(S(xme),Mn(Ln(t)),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),Iqe={class:"text-xs text-muted-foreground"},$L={__name:"OASchemaPropertyAttributes",props:{property:{type:Object,required:!0}},setup(e){const t=e,{t:r}=Jn(),n=["name","types","description","properties","required","items","xml","allOf","anyOf","oneOf","not"],o=i=>i==null?!1:Array.isArray(i)?i.length>0:typeof i=="object"?Object.keys(i).length>0:!0,s=Object.keys(t.property).filter(i=>!n.includes(i)).filter(i=>o(t.property[i])||i==="default"&&t.property[i]!==void 0);return(i,a)=>(E(!0),K(dt,null,zt(S(s),(l,c)=>(E(),K("div",{key:c,class:"flex flex-row flex-wrap items-center gap-2"},[ue("span",Iqe,ze(S(r)(S(F5)(l))),1),ye(bc,{value:t.property[l]},null,8,["value"])]))),128))}},Dqe={class:"flex flex-row flex-wrap items-center gap-2 text-sm"},Mqe={key:0,class:"font-bold"},Lqe={class:"flex items-center"},Nqe={class:"flex flex-row items-center gap-1 text-muted-foreground"},Rqe={key:1},Bqe={key:2},qqe={key:0,class:"select-all"},zqe={key:0},Fqe={key:1,class:"flex items-center"},Vqe={class:"flex-grow mx-2"},Uqe={key:0,class:"h-px bg-transparent group-hover:bg-gray-200 dark:group-hover:bg-gray-800"},Hqe={class:"text-red-800 dark:text-red-200 text-xs"},Wqe={class:"flex size-4 cursor-pointer items-center justify-center p-[2px]"},Gqe={class:"flex flex-col space-y-2"},Jqe={__name:"OASchemaUI",props:{property:{type:Object,required:!0},schema:{type:Object,required:!0},deep:{type:Number,default:1/0},level:{type:Number,default:0},open:{type:Boolean,default:void 0},expandAll:{type:Boolean,default:void 0}},setup(e){var k,x,j,_;const t=e,{t:r}=Jn(),n=Oe(t.open!==void 0?t.open:t.deep>0&&t.level<=t.deep),o=Oe(void 0);cr(()=>t.expandAll,C=>{C!==void 0&&(n.value=C,o.value=C)},{immediate:!0});const s=C=>{o.value=C,n.value=C},i=((k=t.property.meta)==null?void 0:k.isOneOf)===!0||((x=t.property.meta)==null?void 0:x.isAnyOf)===!0,a=((j=t.property.types)==null?void 0:j.includes("object"))||i,l=(_=t.property.types)==null?void 0:_.includes("array"),c=a||l||t.property.type==="object"||t.property.type==="array",u=le(()=>c?!!(Array.isArray(t.property.properties)&&t.property.properties.length>0||t.property.items):!1),d=le(()=>t.property.properties?t.property.properties:t.property.items?[t.property.items]:[]),p=le(()=>t.property.properties&&t.property.properties.length>0&&t.property.properties.some(C=>{var A,I;return(((A=C.types)==null?void 0:A.includes("object"))||((I=C.types)==null?void 0:I.includes("array"))||C.type==="object"||C.type==="array")&&C.properties})),f=le(()=>t.property&&t.property.properties&&t.property.properties.length>0&&t.property.properties.some(C=>C.items)),m=le(()=>c&&(p.value||f.value)),v=le(()=>{var C,A;return((C=t.property.meta)==null?void 0:C.isOneOf)===!0?r("One of"):((A=t.property.meta)==null?void 0:A.isAnyOf)===!0?r("Any of"):""}),g=le(()=>n.value?r("Collapse"):r("Expand")),y=le(()=>n.value?r("Collapse all"):r("Expand all")),b=le(()=>({"Valid values":t.property.enum})),w=le(()=>t.property.name||t.property.title);return(C,A)=>{const I=od("OASchemaUI",!0);return E(),K("div",null,[ye(S(DV),{open:n.value,"onUpdate:open":A[1]||(A[1]=M=>n.value=M),disabled:!u.value},{default:U(()=>{var M,N;return[ye(S(tC),{class:"w-full"},{default:U(()=>{var F,z,L;return[ue("div",{class:Lt(["flex flex-col text-start space-y-1 group select-text",{"cursor-pointer":u.value}])},[ue("div",Dqe,[w.value?(E(),K("span",Mqe,ze(w.value),1)):je("",!0),ue("div",Lqe,[ye(S(EL),null,{default:U(()=>[ye(S(CL),{"delay-duration":200},{default:U(()=>[ye(S(OL),{"as-child":""},{default:U(()=>[u.value?(E(),ve(S(Wm),{key:0,size:"icon",variant:"icon","aria-label":g.value,class:"flex-shrink-0 w-4 h-4 cursor-pointer"},{default:U(()=>[n.value?(E(),ve(S(cA),{key:0})):(E(),ve(S(OT),{key:1}))]),_:1},8,["aria-label"])):je("",!0)]),_:1}),ye(S(AL),null,{default:U(()=>[ue("p",null,ze(g.value),1)]),_:1})]),_:1})]),_:1})]),ue("div",Nqe,[((F=t.property.meta)==null?void 0:F.isCircularReference)===!0?(E(),ve(S(Pc),{key:0,variant:"outline"},{default:U(()=>[Vt(ze(S(r)("Circular Reference")),1)]),_:1})):t.property.types.length===1&&["array"].includes(t.property.types[0])&&t.property.subtype?(E(),K("span",Rqe,ze(t.property.subtype)+"[]",1)):t.property.types.length===1&&["object"].includes(t.property.types[0])&&t.property.subtype?(E(),K("span",Bqe,ze(t.property.subtype),1)):((z=t.property.meta)==null?void 0:z.isConstant)===!0?(E(),K(dt,{key:3},[ue("span",null,ze(S(r)("const:")),1),((L=t.property.examples)==null?void 0:L.length)>0?(E(),K("span",qqe,ze(t.property.examples[0]),1)):je("",!0)],64)):(E(!0),K(dt,{key:4},zt(t.property.types,(X,V)=>(E(),K("span",{key:X},[Vt(ze(X)+" ",1),V!==t.property.types.length-1?(E(),K("span",zqe,"|")):je("",!0)]))),128))]),m.value?(E(),K("div",Fqe,[ye(S(EL),null,{default:U(()=>[ye(S(CL),{"delay-duration":200},{default:U(()=>[ye(S(OL),{"as-child":""},{default:U(()=>[ye(S(Wm),{size:"icon",variant:"icon","aria-label":y.value,onClick:A[0]||(A[0]=la(X=>s(!n.value),["stop","prevent"]))},{default:U(()=>[n.value?(E(),ve(S(Eme),{key:0})):(E(),ve(S(Ame),{key:1}))]),_:1},8,["aria-label"])]),_:1}),ye(S(AL),null,{default:U(()=>[ue("p",null,ze(y.value),1)]),_:1})]),_:1})]),_:1})])):je("",!0),ue("div",Vqe,[t.property.required===!0?(E(),K("div",Uqe)):je("",!0)]),ue("span",Hqe,ze(t.property.required===!0?S(r)("Required"):""),1)])],2)]}),_:1}),(M=t.property)!=null&&M.description?(E(),ve(Wl,{key:0,content:t.property.description,class:Lt(["text-sm",{"pl-2":S(c)}])},null,8,["content","class"])):je("",!0),t.property.enum?(E(),ve($L,{key:1,property:b.value},null,8,["property"])):je("",!0),t.property.constraints?(E(),ve($L,{key:2,property:t.property.constraints},null,8,["property"])):je("",!0),u.value&&((N=t.property)!=null&&N.description)?(E(),ve(S(tC),{key:3},{default:U(()=>[ye(S(Wm),{as:"div",variant:"outline",size:"xs",class:"flex items-center font-normal rounded-md h-auto pr-1 text-sm gap-0.5"},{default:U(()=>[Vt(ze(g.value)+" ",1),ue("div",Wqe,[n.value?(E(),ve(S(q5),{key:0})):(E(),ve(S(OT),{key:1}))])]),_:1})]),_:1})):je("",!0),S(c)?(E(),ve(S(Pqe),{key:4,class:"ml-2 pl-2 border-l border-l-solid"},{default:U(()=>[S(i)?(E(),ve(S(Pc),{key:0,variant:"outline"},{default:U(()=>[Vt(ze(v.value),1)]),_:1})):je("",!0),ue("div",Gqe,[(E(!0),K(dt,null,zt(d.value,(F,z)=>(E(),ve(I,{key:z,property:F,schema:t.schema,deep:t.deep-1,level:t.level+1,open:o.value!==void 0?o.value:S(i)?!0:void 0,"expand-all":o.value},null,8,["property","schema","deep","level","open","expand-all"]))),128))])]),_:1})):je("",!0)]}),_:1},8,["open","disabled"])])}}},MV=Te({__name:"Tabs",props:{defaultValue:{},orientation:{},dir:{},activationMode:{},modelValue:{},unmountOnHide:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(e,{emit:t}){const r=Gc(e,t);return(n,o)=>(E(),ve(S(Xhe),Mn(Ln(S(r))),{default:U(()=>[pe(n.$slots,"default")]),_:3},16))}}),rC=Te({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:n,...o}=t;return o});return(n,o)=>(E(),ve(S(eme),jr({class:S(Ko)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t.class)},r.value),{default:U(()=>[pe(n.$slots,"default")]),_:3},16,["class"]))}}),LV=Te({__name:"TabsList",props:{loop:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:n,...o}=t;return o});return(n,o)=>(E(),ve(S(ome),jr(r.value,{class:S(Ko)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",t.class)}),{default:U(()=>[pe(n.$slots,"default")]),_:3},16,["class"]))}}),dw=Te({__name:"TabsTrigger",props:{variant:{},class:{type:[Boolean,null,String,Object,Array]},value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=e,r=le(()=>{const{class:o,...s}=t;return s}),n=Wc(r);return(o,s)=>(E(),ve(S(ime),jr(S(n),{class:S(Ko)(S(Kqe)({variant:e.variant}),t.class)}),{default:U(()=>[pe(o.$slots,"default")]),_:3},16,["class"]))}}),Kqe=Sw("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"data-[state=active]:text-foreground",select:"relative flex w-full",schemaTabs:"data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm"}}}),Qqe={class:"flex flex-col gap-2"},Zqe={class:"flex flex-col gap-2"},NV={__name:"OASchemaTabs",props:{schema:{type:Object,required:!0},examples:{type:null,required:!1},defaultView:{type:String,required:!1}},setup(e){const t=e,r=kn().getSchemaViewerDeep(),{t:n}=Jn(),o=le(()=>{const s=Object.keys(t.examples??{});return{schema:"schema",contentType:s!=null&&s.length?`examples.${s[0]}`:"schema",autogenerated:(()=>{const i=s.find(a=>{var l;return(l=t.examples[a])==null?void 0:l.isAutogenerated});return i?`examples.${i}`:"schema"})()}[t.defaultView]??t.defaultView});return(s,i)=>(E(),ve(S(MV),{key:o.value,"default-value":o.value},{default:U(()=>[ye(S(LV),{class:"relative flex flex-row justify-start overflow-x-auto"},{default:U(()=>[ye(S(dw),{value:"schema",variant:"schemaTabs",class:"h-full"},{default:U(()=>[Vt(ze(S(n)("Schema")),1)]),_:1}),(E(!0),K(dt,null,zt(t.examples??{},(a,l)=>(E(),ve(S(dw),{key:l,value:`examples.${l}`,variant:"schemaTabs",class:"h-full"},{default:U(()=>[Vt(ze(l),1)]),_:2},1032,["value"]))),128))]),_:1}),ye(S(rC),{value:"schema"},{default:U(()=>[ue("div",Qqe,[ye(Jqe,{property:t.schema,schema:t.schema,deep:S(r)},null,8,["property","schema","deep"])])]),_:1}),(E(!0),K(dt,null,zt(t.examples??{},(a,l)=>(E(),ve(S(rC),{key:l,value:`examples.${l}`},{default:U(()=>[ue("div",Zqe,[a!=null&&a.description?(E(),ve(Wl,{key:0,content:a==null?void 0:a.description},null,8,["content"])):je("",!0),a!=null&&a.value?(E(),ve(bO,{key:1,code:a==null?void 0:a.value,lang:(a==null?void 0:a.lang)??"json",label:((a==null?void 0:a.lang)??"json").toUpperCase(),active:"",class:"!m-0"},null,8,["code","lang","label"])):je("",!0)])]),_:2},1032,["value"]))),128))]),_:1},8,["default-value"]))}},Xqe={class:"mt-[48px] mb-[16px] pt-[24px] border-t-[1px] border-[var(--vp-c-divider)] flex flex-row items-center"},Yqe={class:"relative flex-1"},eze={class:"absolute inset-x-0 top-[-14px] w-full flex justify-end"},RV=Te({__name:"OARequestBody",props:{operationId:{type:String,required:!0},requestBody:{type:Object,required:!0},headingPrefix:{type:String,default:null}},setup(e){const t=e,r=kn().getRequestBodyDefaultView(),n=`request-body-content-type-${t.operationId}`,o=_i(Th),{t:s}=Jn(),i=le({get:()=>o.requestBody.selectedContentType.value,set:c=>{o.requestBody.selectedContentType.value=c}}),a=le(()=>{var c,u,d,p,f;return!i.value||!((u=(c=t.requestBody)==null?void 0:c.content)!=null&&u[i.value])?{}:((f=(p=(d=t.requestBody)==null?void 0:d.content)==null?void 0:p[i.value])==null?void 0:f.ui)??{}}),l=le(()=>{var c,u,d,p,f;return!i.value||!((u=(c=t.requestBody)==null?void 0:c.content)!=null&&u[i.value])?{}:Object.entries(((f=(p=(d=t.requestBody)==null?void 0:d.content)==null?void 0:p[i.value])==null?void 0:f.examples)??{}).reduce((m,[v,g])=>(g!=null&&g.hideOnSchemaTabs||(m[v]=g),m),{})});return(c,u)=>{var d;return E(),K("div",null,[ue("div",Xqe,[ye(Rs,{level:"h2",prefix:e.headingPrefix,class:"text-[var(--vp-c-text-1)] !my-0 !py-0 !border-t-0 inline-block","header-anchor-class":"!top-0"},{default:U(()=>[Vt(ze(S(s)("Request Body")),1)]),_:1},8,["prefix"]),ue("div",Yqe,[ue("div",eze,[ye(IV,{id:n,modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=p=>i.value=p),"content-type":i.value,"content-types":Object.keys(((d=t.requestBody)==null?void 0:d.content)??{})},null,8,["modelValue","content-type","content-types"])])])]),ye(NV,{schema:a.value,examples:l.value,"content-type":i.value,"default-view":S(r)},null,8,["schema","examples","content-type","default-view"])])}}}),tze={class:"flex flex-col space-y-4"},rze={key:1,class:"flex flex-row items-center gap-2 text-xs"},nze={class:"flex-shrink-0"},oze={__name:"OAResponse",props:{operationId:{type:String,required:!0},response:{type:Object,required:!0},responseCode:{type:String,required:!0}},setup(e){const t=e,r=Object.keys(t.response.content??{}),n=Oe(r[0]??void 0),o=le(()=>{var c,u;return(u=(c=t.response.content)==null?void 0:c[n.value])==null?void 0:u.ui}),s=le(()=>{var c,u;return(u=(c=t.response.content)==null?void 0:c[n.value])==null?void 0:u.examples}),i=`content-type-${Math.random().toString(36).substring(7)}`,a=kn().getResponseBodyDefaultView(),{t:l}=Jn();return(c,u)=>{var d;return E(),K("div",tze,[t.response.description?(E(),ve(Wl,{key:0,content:t.response.description},null,8,["content"])):je("",!0),(d=t.response)!=null&&d.content&&S(r).length?(E(),K("div",rze,[ye(S(iO),{for:i,class:"flex-shrink-0 text-muted-foreground"},{default:U(()=>[Vt(ze(S(l)("Content-Type")),1)]),_:1}),ue("div",nze,[ye(IV,{id:i,modelValue:n.value,"onUpdate:modelValue":u[0]||(u[0]=p=>n.value=p),"content-type":n.value,"content-types":S(r)},null,8,["modelValue","content-type","content-types"])])])):je("",!0),o.value?(E(),ve(NV,{key:2,schema:o.value,examples:s.value,"content-type":n.value,"default-view":S(a)},null,8,["schema","examples","content-type","default-view"])):je("",!0)])}}},sze={class:"flex flex-col"},ize={class:"mt-[48px] mb-[16px] pt-[24px] border-t-[1px] border-[var(--vp-c-divider)] flex flex-wrap flex-row items-center justify-between gap-y-[16px]"},aze={class:"w-full flex"},lze={class:"relative flex flex-row"},BV={__name:"OAResponses",props:{operationId:{type:String,required:!0},responses:{type:Object,required:!0},headingPrefix:{type:String,default:null}},setup(e){const t=e,r=kn(),{t:n}=Jn(),o=Object.keys(t.responses),s=Oe(o&&o.length>0?o[0]:null),i=le(()=>{const a=r.getResponseCodeSelector();if(a==="tabs"){const l=r.getResponseCodeMaxTabs();return l&&o.length>l?"select":"tabs"}return a});return(a,l)=>(E(),K("div",sze,[ye(S(MV),{"default-value":s.value},{default:U(()=>[ue("div",ize,[ye(Rs,{level:"h2",prefix:e.headingPrefix,class:"text-[var(--vp-c-text-1)] !my-0 !py-0 !border-t-0 inline-block","header-anchor-class":"!top-0"},{default:U(()=>[Vt(ze(S(n)("Responses")),1)]),_:1},8,["prefix"]),ue("div",{class:Lt({"overflow-x-auto":S(o).length>1})},[ue("div",aze,[ye(S(LV),{class:"bg-transparent text-muted-foreground p-0"},{default:U(()=>[ue("div",lze,[i.value==="tabs"?(E(),K(dt,{key:0},[ye(S(rme),{class:"absolute left-0 h-full bottom-0 w-[--reka-tabs-indicator-size] translate-x-[--reka-tabs-indicator-position] rounded transition-[width,transform] duration-300 bg-muted"}),(E(!0),K(dt,null,zt(S(o),c=>(E(),ve(S(dw),{key:c,value:c,class:"h-full z-10"},{default:U(()=>[Vt(ze(c),1)]),_:2},1032,["value"]))),128))],64)):je("",!0),i.value==="select"?(E(),ve(S(Cp),{key:1,modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=c=>s.value=c)},{default:U(()=>[ye(S(Tp),{"aria-label":"Response Code",class:"px-3 py-1.5 text-foreground"},{default:U(()=>[ye(S($h),null,{default:U(()=>[Vt(ze(s.value),1)]),_:1})]),_:1}),ye(S(Ap),null,{default:U(()=>[ye(S(Ep),null,{default:U(()=>[(E(!0),K(dt,null,zt(S(o),(c,u)=>(E(),ve(S(dw),{key:u,value:c,variant:"select"},{default:U(()=>[ye(S($p),{value:c},{default:U(()=>[Vt(ze(c),1)]),_:2},1032,["value"])]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["modelValue"])):je("",!0)])]),_:1})])],2)]),(E(!0),K(dt,null,zt(S(o),c=>(E(),ve(S(rC),{key:c,value:c},{default:U(()=>[t.responses[c]?(E(),ve(oze,{key:0,"operation-id":t.operationId,response:t.responses[c],"response-code":c},null,8,["operation-id","response","response-code"])):je("",!0)]),_:2},1032,["value"]))),128))]),_:1},8,["default-value"])]))}},cze={key:0,class:"vp-code-group vp-adaptive-theme mt-0"},uze={class:"tabs !m-0"},dze=["id","checked","onChange"],pze=["for","data-title"],fze={class:"blocks"},qV=Te({__name:"OACodeSamples",props:{operationId:{type:String,required:!0}},setup(e){const t=e,r=_i(Th),n=kn(),o=TV(),s=n.getCodeSamplesAvailableLanguages(),i=n.getCodeSamplesGenerator(),a=Oe([]),l=Oe(""),c=`group-${t.operationId}`;return cr(r.playground.request,async(u,d,p)=>{let f=!1;if(p(()=>{f=!0}),!s||!i)return;const m=await Promise.all(s.map(async g=>{const{lang:y,target:b,client:w,highlighter:k}=g,x=[y,b,w].filter(Boolean).join("-"),j=`tab-${t.operationId}-${x}`;try{const _=await i(g,u);if(!_)throw new Error("Code generator returned empty result.");return{...g,key:x,tabId:j,highlighter:k||"plain",source:_}}catch(_){return console.error(`Failed to generate code sample for '${y}'`,{langConfig:g,error:_}),{...g,key:x,tabId:j,highlighter:"shell",source:`// Failed to generate sample. -// Please check the console for details.`}}}));if(f)return;const v=[...new Set(m.map(g=>g.highlighter).filter(Boolean))];if(await Promise.all(v.map(g=>o.ensureLanguage(g))),!f&&(a.value=m,!l.value||!a.value.some(g=>g.key===l.value))){const g=n.getCodeSamplesDefaultLang(),y=a.value.find(b=>b.lang===g)||a.value[0];y&&(l.value=y.key)}},{deep:!0,immediate:!0}),(u,d)=>(E(),K("div",null,[a.value.length?(E(),K("div",cze,[ue("div",uze,[(E(!0),K(dt,null,zt(a.value,p=>(E(),K(dt,{key:p.key},[ue("input",{id:p.tabId,type:"radio",name:c,checked:l.value===p.key,onChange:f=>l.value=p.key},null,40,dze),ue("label",{for:p.tabId,"data-title":p.icon},ze(p.label),9,pze)],64))),128))]),ue("div",fze,[(E(!0),K(dt,null,zt(a.value,p=>(E(),ve(bO,{key:p.key,code:p.source,lang:p.highlighter,label:p.label,active:l.value===p.key,class:Lt([{active:l.value===p.key},"!m-0"])},null,8,["code","lang","label","active","class"]))),128))])])):je("",!0)]))}}),hze={class:"flex flex-col p-3 gap-2 rounded bg-muted"},mze={class:"flex flex-col gap-2"},gze={class:"flex flex-row items-center gap-2"},vze={class:"text-sm font-bold"},yze={class:"flex flex-col gap-2"},bze={key:1,class:"pl-2"},wze={class:"!my-1 cursor-pointer hover:text-[var(--vp-c-brand-1)]"},xze={class:"pl-2 flex flex-col gap-1"},kze={key:0,class:"flex flex-wrap gap-2"},jze={class:"text-sm"},_ze={key:1,class:"flex flex-wrap gap-2"},Sze={class:"text-sm"},Cze={key:2},Aze={class:"pl-2 !my-0"},Eze={class:"ml-2 text-sm"},Oze=Te({__name:"OASecurityContent",props:{name:{type:String,required:!0},scheme:{type:Object,required:!0}},setup(e){const{t}=Jn(),r=le(()=>e.scheme.type==="http"?`HTTP (${e.scheme.scheme})`:e.scheme.type==="apiKey"?`API Key (${e.scheme.in}: ${e.scheme.name})`:e.scheme.type==="openIdConnect"?`OpenID Connect (${e.scheme.openIdConnectUrl})`:e.scheme.type==="oauth2"?"OAuth2":"");return(n,o)=>(E(),K("div",hze,[ue("div",mze,[ue("div",gze,[ue("span",vze,ze(e.name),1)]),e.scheme.description?(E(),ve(Wl,{key:0,content:e.scheme.description,class:"text-sm"},null,8,["content"])):je("",!0)]),ue("div",yze,[e.scheme.type!=="oauth2"?(E(),ve(Mf,{key:0,name:S(t)("Type"),"bold-name":"",value:r.value},null,8,["name","value"])):je("",!0),e.scheme.type==="oauth2"?(E(),K("div",bze,[(E(!0),K(dt,null,zt(e.scheme.flows,(s,i)=>(E(),K("div",{key:i},[ue("details",null,[ue("summary",wze,ze(i)+" Flow ",1),ue("div",xze,[s.authorizationUrl?(E(),K("div",kze,[ue("span",jze,ze(S(t)("Authorization URL")),1),ye(bc,{value:s.authorizationUrl},null,8,["value"])])):je("",!0),s.tokenUrl?(E(),K("div",_ze,[ue("span",Sze,ze(S(t)("Token URL")),1),ye(bc,{value:s.tokenUrl},null,8,["value"])])):je("",!0),s.scopes?(E(),K("div",Cze,[o[0]||(o[0]=ue("span",{class:"text-sm"},"Scopes:",-1)),ue("ul",Aze,[(E(!0),K(dt,null,zt(s.scopes,(a,l)=>(E(),K("li",{key:l},[ye(bc,{value:l},null,8,["value"]),ue("span",Eze,ze(a),1)]))),128))])])):je("",!0)])])]))),128))])):je("",!0)]),ye(H5,{property:e.scheme,"security-scheme-name":e.name},null,8,["property","security-scheme-name"])]))}}),$ze={class:"flex flex-col"},Tze={class:"mt-[48px] mb-[16px] pt-[24px] border-t-[1px] border-[var(--vp-c-divider)]"},Pze={class:"flex flex-row items-center"},Ize={class:"flex flex-col gap-3"},Dze={class:"flex flex-col gap-1"},Mze={key:0,class:"-ml-4 my-1 w-4 h-4 bg-muted rounded-full flex justify-center items-center"},Lze={key:0,class:"flex flex-row items-center space-x-2"},Nze={class:"text-sm font-bold"},zV=Te({__name:"OASecurity",props:{securityUi:{type:Object,required:!0},headingPrefix:{type:String,required:!1,default:""},selectedSchemeId:{type:String,required:!1,default:""}},setup(e){const t=e,{t:r}=Jn();return(n,o)=>(E(),K("div",$ze,[ue("div",Tze,[ue("div",Pze,[ye(Rs,{level:"h2",prefix:t.headingPrefix,class:"text-[var(--vp-c-text-1)] !my-0 !py-0 !border-t-0","header-anchor-class":"!top-0"},{default:U(()=>[Vt(ze(S(r)("Authorizations")),1)]),_:1},8,["prefix"]),o[0]||(o[0]=ue("span",{class:"flex-grow min-w-2"},null,-1))])]),ue("div",Ize,[(E(!0),K(dt,null,zt(t.securityUi,(s,i)=>(E(),K("div",{key:i,class:"flex flex-col gap-3"},[ue("div",Dze,[Object.keys(t.securityUi).length>1&&Object.keys(s.schemes).length>1?(E(),K("span",{key:0,class:Lt({"font-bold":t.selectedSchemeId===s.id})},ze(s.id),3)):je("",!0),ue("div",{class:Lt({"pl-2 border-l":Object.keys(s.schemes).length>1,"border-gray-600 dark:border-gray-400":Object.keys(t.securityUi).length>1&&t.selectedSchemeId===s.id})},[(E(!0),K(dt,null,zt(s.schemes,(a,l)=>(E(),K("div",{key:l},[ye(Oze,{name:String(l),scheme:a},null,8,["name","scheme"]),Object.keys(s.schemes).indexOf(String(l))e.hideBranding===void 0&&e.hideDefaultFooter!==void 0?(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter):!1}},setup(e){const t=e,r=el(),{t:n}=Jn(),o=t.openapi.getOperation(t.operationId),s=le(()=>{if(t.prefixHeadings)return t.operationId});function i(a){return a==="try-it"&&r[a]!==void 0&&console.warn("`try-it` slot is deprecated. Use `playground` slot instead."),r[a]!==void 0}return(a,l)=>t.operationId&&S(o)?(E(),ve(Tge,{key:0,id:t.operationId,operation:S(o),openapi:t.openapi},xp({_:2},[i("header")?{name:"header",fn:U(c=>[pe(a.$slots,"header",Mn(Ln(c)))]),key:"0"}:{name:"header",fn:U(c=>[ue("div",Rze,[ye(zR,{operation:c.operation,deprecated:c.deprecated},null,8,["operation","deprecated"]),ye(Rs,{id:s.value,level:"h1",class:Lt([{"line-through":c.deprecated},"scroll-m-[var(--vp-nav-height)]"])},{default:U(()=>[Vt(ze(c.operation.summary),1)]),_:2},1032,["id","class"])])]),key:"1"},i("tags")?{name:"tags",fn:U(c=>[pe(a.$slots,"tags",Mn(Ln(c)))]),key:"2"}:{name:"tags",fn:U(c=>[ye(z5,{tags:c.operation.tags},null,8,["tags"])]),key:"3"},i("description")?{name:"description",fn:U(c=>[pe(a.$slots,"description",Mn(Ln(c)))]),key:"4"}:{name:"description",fn:U(c=>[c.operation.description?(E(),ve(Wl,{key:0,content:c.operation.description},null,8,["content"])):je("",!0)]),key:"5"},i("security")?{name:"security",fn:U(c=>[pe(a.$slots,"security",Mn(Ln(c)))]),key:"6"}:{name:"security",fn:U(c=>[Object.keys(c.securityUi).length?(E(),ve(zV,{key:0,"security-ui":c.securityUi,"heading-prefix":s.value,"selected-scheme-id":c.selectedSchemeId},null,8,["security-ui","heading-prefix","selected-scheme-id"])):je("",!0)]),key:"7"},i("parameters")?{name:"parameters",fn:U(c=>[pe(a.$slots,"parameters",Mn(Ln(c)))]),key:"8"}:{name:"parameters",fn:U(c=>[ye(Rs,{level:"h2",prefix:s.value},{default:U(()=>[Vt(ze(S(n)("Parameters")),1)]),_:1},8,["prefix"]),ye(W5,{"operation-id":t.operationId,parameters:c.parameters},null,8,["operation-id","parameters"])]),key:"9"},i("request-body")?{name:"request-body",fn:U(c=>[pe(a.$slots,"request-body",Mn(Ln(c)))]),key:"10"}:{name:"request-body",fn:U(c=>[ye(RV,{"operation-id":c.operationId,"request-body":c.requestBody,"heading-prefix":s.value},null,8,["operation-id","request-body","heading-prefix"])]),key:"11"},i("responses")?{name:"responses",fn:U(c=>[pe(a.$slots,"responses",Mn(Ln(c)))]),key:"12"}:{name:"responses",fn:U(c=>[ye(BV,{"operation-id":c.operationId,responses:c.responses,"response-type":c.responseType,"heading-prefix":s.value},null,8,["operation-id","responses","response-type","heading-prefix"])]),key:"13"},i("path")?{name:"path",fn:U(c=>[pe(a.$slots,"path",Mn(Ln(c)))]),key:"14"}:{name:"path",fn:U(c=>[ye(G5,{path:c.path,method:c.method,"base-url":c.baseUrl,"hide-base-url":c.hideBaseUrl,deprecated:c.deprecated,servers:c.servers},null,8,["path","method","base-url","hide-base-url","deprecated","servers"])]),key:"15"},i("try-it")?{name:"playground",fn:U(c=>[pe(a.$slots,"try-it",Mn(Ln(c)))]),key:"16"}:i("playground")?{name:"playground",fn:U(c=>[pe(a.$slots,"playground",Mn(Ln(c)))]),key:"17"}:{name:"playground",fn:U(c=>[ye(PV,{"operation-id":c.operationId,path:c.path,method:c.method,parameters:c.parameters,"request-body":c.requestBody,"security-ui":c.securityUi,servers:c.servers,"heading-prefix":s.value},null,8,["operation-id","path","method","parameters","request-body","security-ui","servers","heading-prefix"])]),key:"18"},i("code-samples")?{name:"code-samples",fn:U(c=>[pe(a.$slots,"code-samples",Mn(Ln(c)))]),key:"19"}:{name:"code-samples",fn:U(c=>[ye(Rs,{level:"h2",prefix:s.value},{default:U(()=>[Vt(ze(S(n)("Samples")),1)]),_:1},8,["prefix"]),ye(qV,{"operation-id":c.operationId},null,8,["operation-id"])]),key:"20"},i("branding")?{name:"branding",fn:U(c=>[pe(a.$slots,"branding",Mn(Ln(c)))]),key:"21"}:t.hideBranding?void 0:{name:"branding",fn:U(c=>[ye(EC,Mn(Ln(c)),null,16)]),key:"22"},i("footer")?{name:"footer",fn:U(c=>[pe(a.$slots,"footer",Mn(Ln(c)))]),key:"23"}:void 0]),1032,["id","operation","openapi"])):je("",!0)}}),Bze=Te({__name:"OAOperation",props:{operationId:{type:String,required:!0},spec:{type:[Object,String],required:!1},specUrl:{type:String,required:!1,default:null},prefixHeadings:{type:Boolean,default:!1},hideDefaultFooter:{type:Boolean,default:void 0},hideBranding:{type:Boolean,default:e=>e.hideBranding===void 0&&e.hideDefaultFooter!==void 0?(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter):!1}},emits:["update:spec"],setup(e,{emit:t}){const r=e,n=t,o=el();return(s,i)=>(E(),ve(bv,{spec:r.spec,"spec-url":r.specUrl,"onUpdate:spec":i[0]||(i[0]=a=>n("update:spec",a))},{default:U(({openapi:a})=>[ye(FV,Mn(Ln({...s.$attrs,operationId:r.operationId,openapi:a,prefixHeadings:r.prefixHeadings,hideBranding:r.hideBranding,hideDefaultFooter:r.hideDefaultFooter})),xp({_:2},[zt(o,(l,c)=>({name:c,fn:U(u=>[pe(s.$slots,c,Mn(Ln(u||{})))])}))]),1040)]),_:3},8,["spec","spec-url"]))}}),VV=Te({__name:"OAOperationContext",props:{operationId:{type:String,required:!0},openapi:{type:Object,required:!0},shouldBuildRequest:{type:Boolean,required:!1,default:!0}},setup(e){var k,x,j,_,C,A,I;const t=e,r=kn(),n=le(()=>t.openapi.getOperation(t.operationId)),o=le(()=>t.openapi.getOperationPath(t.operationId)),s=le(()=>t.openapi.getOperationMethod(t.operationId)),i=le(()=>t.openapi.getOperationParameters(t.operationId)),a=le(()=>{var M;return(M=n.value)==null?void 0:M.securityUi}),l=le(()=>{var M;return(M=n.value)==null?void 0:M.requestBody}),c=le(()=>{var M;return(M=n.value)==null?void 0:M.responses}),u=le(()=>{var M;return(M=n.value)==null?void 0:M.codeSamples}),d=le(()=>{const M=r.getOperationServers();return M?M({method:s.value,path:o.value,operation:n.value}):t.openapi.getOperationServers(t.operationId)}),p=le(()=>{var M;return d.value.length?(M=d.value[0])==null?void 0:M.url:r.getOperationDefaultBaseUrl()}),f=r.getStoragePrefix(),m=Hm()?Tf(`${f}-custom-server-url`,null,localStorage):Oe(p.value),v=le(()=>r.getServerAllowCustomServer()&&m.value?Cb(m.value):Cb(p.value)),g=(k=l.value)!=null&&k.content?Object.keys(l.value.content)[0]:void 0,y=((j=(x=a.value)==null?void 0:x[0])==null?void 0:j.schemes)||[],b=t.shouldBuildRequest?xw({path:o.value,method:s.value,baseUrl:v.value,parameters:i.value??[],authorizations:Object.entries(y).map(([M,N])=>({...N,name:String(M),label:String(M)})),body:g?(I=(((A=(C=(_=l.value)==null?void 0:_.content)==null?void 0:C[g])==null?void 0:A.examples)??[{value:""}])[0])==null?void 0:I.value:void 0,variables:{},contentType:g}):void 0,w=Vme({operation:n.value,request:b,selectedServer:v.value,defaultRequestContentType:g});return wp(Th,w),(M,N)=>pe(M.$slots,"default",{path:o.value,method:s.value,parameters:i.value,operation:n.value,requestBody:l.value,securityUi:a.value,servers:d.value,codeSamples:u.value,responses:c.value,operationData:S(w)})}}),qze={key:1,class:"OAOperationLink-title"},zze=Te({__name:"OAOperationLink",props:{href:{default:void 0},method:{default:""},title:{default:""},operationId:{default:void 0}},setup(e){const t=e,r=el();function n(s){return!!r[s]}const o=le(()=>{var i;if(!n("default"))return"";const s=(i=r.default)==null?void 0:i.call(r);return!s||!Array.isArray(s)||s.length===0?"":typeof s[0].children=="string"?s[0].children:""});return(s,i)=>(E(),ve(si(t.href?"a":"span"),{href:t.href,class:"OAOperationLink group/oaOperationLink"},{default:U(()=>[ue("span",{class:Lt(["OAOperationLink-badge",[`OAMethodBadge--${e.method.toLowerCase()}`]])},ze(e.method.toUpperCase()),3),n("default")?(E(),ve(Wl,{key:0,content:o.value,class:"inline-block"},null,8,["content"])):(E(),K("span",qze,ze(t.title),1))]),_:1},8,["href"]))}}),Fze={__name:"OAServers",props:{spec:{type:[Object,String],required:!1}},setup(e){const t=e;return(r,n)=>(E(),ve(bv,{spec:t.spec},{default:U(({openapi:o})=>[ye(JC,{openapi:o},null,8,["openapi"])]),_:1},8,["spec"]))}},Vze=Symbol("lazyEventBus"),TL=EK(Vze),Uze=Te({__name:"OALazy",props:{id:{},isLazy:{type:Boolean,default:!0},lazyTimeout:{default:0}},setup(e){const t=e,r=(o=()=>{})=>{typeof window>"u"||("requestIdleCallback"in window?setTimeout(()=>window.requestIdleCallback(o),t.lazyTimeout):setTimeout(Io,t.lazyTimeout??300,o))},n=Oe(!t.isLazy);return t.isLazy?r(()=>{n.value=!0,t.id&&Io(()=>TL.emit({id:t.id}))}):t.id&&Io(()=>TL.emit({id:t.id})),(o,s)=>n.value?pe(o.$slots,"default",{key:0}):je("",!0)}}),Hze=Te({__name:"OAPaths",props:{paths:{type:Object,required:!0}},setup(e){var i,a;const t=el(),r=kn(),n=Object.entries(e.paths).reduce((l,[c,u])=>[...l,...Object.keys(u).filter(d=>u[d].operationId).map(d=>({operationId:u[d].operationId}))],[]),o=(a=(i=r.getSpecConfig())==null?void 0:i.lazyRendering)==null?void 0:a.value,s=AC()??vR();return(l,c)=>S(s)?(E(!0),K(dt,{key:0},zt(S(n),(u,d)=>(E(),ve(Uze,{key:u.operationId,"is-lazy":S(o)&&d>0},{default:U(()=>[ye(FV,{openapi:S(s),"operation-id":u.operationId,"prefix-headings":"","hide-branding":""},xp({_:2},[zt(t,(p,f)=>({name:f,fn:U(m=>[pe(l.$slots,f,jr({ref_for:!0},m||{}))])}))]),1032,["openapi","operation-id"]),c[0]||(c[0]=ue("hr",null,null,-1))]),_:2},1032,["is-lazy"]))),128)):je("",!0)}}),Wze={class:"bg-muted rounded border divide-y divide-[var(--vp-c-divider)]"},Gze={class:"p-2 pl-4"},Jze={class:"py-2"},Kze=["aria-label","title","onClick"],Qze={__name:"OAPathsSummary",props:{paths:{type:Object,required:!0}},emits:["pathClick"],setup(e,{emit:t}){const r=t,{t:n}=Jn();return(o,s)=>(E(),K("div",Wze,[ue("div",Gze,[ye(Rs,{level:"h3",class:"!mt-0 !text-sm"},{default:U(()=>[Vt(ze(S(n)("Operations")),1)]),_:1})]),ue("div",Jze,[(E(!0),K(dt,null,zt(Object.keys(e.paths),(i,a)=>(E(),K(dt,{key:a},[(E(!0),K(dt,null,zt(Object.keys(e.paths[i]),l=>(E(),K("a",{key:`${i}-${l}`,class:"grid grid-cols-[4rem,1fr] items-center gap-2 !text-foreground !no-underline cursor-pointer","aria-label":`${l.toUpperCase()} ${i}`,title:`${l.toUpperCase()} ${i}`,onClick:c=>r("pathClick",`#${e.paths[i][l].operationId}`)},[ue("span",{class:Lt([[`text-method-${l}`],"text-sm text-right"])},ze(l.toUpperCase()),3),ue("span",{class:Lt([{"line-through":e.paths[i][l].deprecated},"truncate hover:underline"])},ze(i),3)],8,Kze))),128))],64))),128))])]))}},Zze={key:0},Xze={key:1,class:"flex-1"},Yze={key:0,class:"flex justify-center"},eFe=Te({__name:"OAPathsGroup",props:{group:{},hidePathsSummary:{type:Boolean},isLazy:{type:Boolean}},setup(e){var u,d,p,f;const t=e,r=el(),n=kn(),{t:o}=Jn(),s=(d=(u=n.getSpecConfig())==null?void 0:u.lazyRendering)==null?void 0:d.value,i=le(()=>{var m,v;return t.hidePathsSummary===void 0?(v=(m=n.getSpecConfig())==null?void 0:m.showPathsSummary)==null?void 0:v.value:!t.hidePathsSummary}),a=le(()=>t.group.description&&t.group.description.trim()!==""),l=Oe(!((f=(p=n.getSpecConfig())==null?void 0:p.collapsePaths)!=null&&f.value));function c(m){l.value=!0,Io(()=>{Lse({hash:m})})}return(m,v)=>(E(),ve(S(DV),{open:l.value,"onUpdate:open":v[1]||(v[1]=g=>l.value=g)},{default:U(()=>{var g,y;return[t.group.isGrouped?(E(),K("div",Zze,[ye(Rs,{level:"h1"},{default:U(()=>[Vt(ze(t.group.name),1)]),_:1}),ue("div",{class:Lt(["grid grid-cols-1 gap-6 md:gap-10 my-[16px]",{"md:grid-cols-2":i.value&&a.value}])},[a.value?(E(),ve(Wl,{key:0,content:e.group.description},null,8,["content"])):je("",!0),i.value?(E(),K("div",Xze,[ye(Qze,{paths:e.group.paths,onPathClick:v[0]||(v[0]=b=>c(b))},null,8,["paths"])])):je("",!0)],2),i.value||((y=(g=S(n).getSpecConfig())==null?void 0:g.collapsePaths)==null?void 0:y.value)===!0?(E(),K("div",Yze,[ye(S(tC),null,{default:U(()=>[ye(S(Wm),null,{default:U(()=>[Vt(ze(l.value?S(o)("Hide operations"):S(o)("Show operations")),1)]),_:1})]),_:1})])):je("",!0),v[2]||(v[2]=ue("hr",null,null,-1))])):je("",!0),!S(s)||l.value?(E(),K("div",{key:1,class:Lt(["flex flex-col space-y-10",{hidden:!l.value}])},[ye(Hze,{paths:e.group.paths},xp({_:2},[zt(r,(b,w)=>({name:w,fn:U(k=>[pe(m.$slots,w,Mn(Ln(k||{})))])}))]),1032,["paths"])],2)):je("",!0)]}),_:3},8,["open"]))}}),tFe={class:"flex flex-col space-y-10"},rFe=Te({__name:"OAPathsGroups",props:{groups:{type:Array,required:!0},hidePathsSummary:{type:Boolean,default:void 0}},setup(e){var o,s;const t=e,r=el(),n=(s=(o=kn().getSpecConfig())==null?void 0:o.lazyRendering)==null?void 0:s.value;return(i,a)=>(E(),K("div",tFe,[(E(!0),K(dt,null,zt(t.groups,(l,c)=>(E(),ve(eFe,{key:l.name,group:l,"hide-paths-summary":t.hidePathsSummary,"is-lazy":S(n)&&c>0},xp({_:2},[zt(r,(u,d)=>({name:d,fn:U(p=>[pe(i.$slots,d,jr({ref_for:!0},p||{}))])}))]),1032,["group","hide-paths-summary","is-lazy"]))),128))]))}}),nFe={class:"flex flex-col space-y-10"},oFe={key:0},sFe={key:1},iFe=Te({__name:"OASpecContent",props:{hideInfo:{type:Boolean,default:!1},hideServers:{type:Boolean,default:!1},groupByTags:{type:Boolean,default:null},tags:{type:Array,default:void 0},hideDefaultFooter:{type:Boolean,default:void 0},hideBranding:{type:Boolean,default:e=>e.hideBranding===void 0&&e.hideDefaultFooter!==void 0?(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter):!1},hidePathsSummary:{type:Boolean,default:void 0},openapi:{type:Object,required:!0}},setup(e){const t=e,r=el(),{t:n}=Jn(),o=kn(),s=t.openapi.getServers(),i=t.openapi.getInfo(),a=!t.hideInfo&&Object.keys(i).length,l=!t.hideServers&&s.length,c=le(()=>{var g,y;return t.groupByTags??((y=(g=o.getSpecConfig())==null?void 0:g.groupByTags)==null?void 0:y.value)}),u=le(()=>t.tags??t.openapi.getOperationsTags()),d=t.openapi.getTags(),p=t.openapi.getPaths(),f=le(()=>u.value.map(g=>({tag:g,paths:t.openapi.getPathsByTags(g)}))),m=t.openapi.getPathsWithoutTags(),v=le(()=>{var g,y,b,w;return c.value?[...Object.keys(m).length?[{name:n(((g=kn().getSpecConfig())==null?void 0:g.defaultTag)??"Default"),paths:m,isOpen:!((b=(y=o.getSpecConfig())==null?void 0:y.collapsePaths)!=null&&b.value),isGrouped:!0}]:[],...f.value.map(k=>{var x,j,_;return{name:k.tag,paths:k.paths,isOpen:!((j=(x=o.getSpecConfig())==null?void 0:x.collapsePaths)!=null&&j.value),description:(_=d.find(C=>C.name===k.tag))==null?void 0:_.description,isGrouped:!0}})]:[{name:n(((w=kn().getSpecConfig())==null?void 0:w.defaultTag)??"Default"),paths:p,isGrouped:!1}]});return(g,y)=>(E(),K("div",nFe,[S(a)||S(l)?(E(),K("div",oFe,[S(a)?(E(),ve(GC,{key:0,openapi:e.openapi},null,8,["openapi"])):je("",!0),S(l)?(E(),ve(JC,{key:1,openapi:e.openapi},null,8,["openapi"])):je("",!0)])):je("",!0),S(a)||S(l)?(E(),K("hr",sFe)):je("",!0),ye(rFe,{groups:v.value,"hide-paths-summary":t.hidePathsSummary},xp({_:2},[zt(r,(b,w)=>({name:w,fn:U(k=>[pe(g.$slots,w,Mn(Ln(k||{})))])}))]),1032,["groups","hide-paths-summary"]),t.hideBranding?je("",!0):(E(),ve(EC,{key:2}))]))}}),aFe=Te({__name:"OASpec",props:{spec:{type:[Object,String],required:!1,default:null},specUrl:{type:String,required:!1,default:null},hideInfo:{type:Boolean,default:!1},hideServers:{type:Boolean,default:!1},groupByTags:{type:Boolean,default:null},tags:{type:Array,default:void 0},hideDefaultFooter:{type:Boolean,default:void 0},hideBranding:{type:Boolean,default:e=>e.hideBranding===void 0&&e.hideDefaultFooter!==void 0?(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter):!1},hidePathsSummary:{type:Boolean,default:void 0}},emits:["update:spec"],setup(e,{emit:t}){const r=e,n=t,o=el();return(s,i)=>(E(),ve(bv,{spec:r.spec,"spec-url":r.specUrl,"onUpdate:spec":i[0]||(i[0]=a=>n("update:spec",a))},{default:U(({openapi:a})=>[ye(iFe,Mn(Ln({...s.$attrs,openapi:a,hideInfo:r.hideInfo,hideServers:r.hideServers,groupByTags:r.groupByTags,tags:r.tags,hideDefaultFooter:r.hideDefaultFooter,hideBranding:r.hideBranding,hidePathsSummary:r.hidePathsSummary})),xp({_:2},[zt(o,(l,c)=>({name:c,fn:U(u=>[pe(s.$slots,c,Mn(Ln(u||{})))])}))]),1040)]),_:3},8,["spec","spec-url"]))}}),lFe=Object.freeze(Object.defineProperty({__proto__:null,OACodeSamples:qV,OAFooter:EC,OAHeaderBadges:zR,OAHeading:Rs,OAInfo:Lde,OAIntroduction:qde,OALocaleSelect:Dme,OAMarkdown:Wl,OAOperation:Bze,OAOperationContext:VV,OAOperationLink:zze,OAOperationTags:z5,OAParameter:X0,OAParameters:W5,OAPathEndpoint:G5,OAPlayground:PV,OARequestBody:RV,OAResponses:BV,OASecurity:zV,OAServers:Fze,OASpec:aFe,OASpecSkeleton:g8,OAVueJsonPretty:_R},Symbol.toStringTag,{value:"Module"})),cFe={enhanceApp({app:e}){var o;const t=kn(),r=t.getI18nConfig(),n=$oe({defaultLocale:((o=r.locale)==null?void 0:o.value)||"en",messages:r.messages||{}});e.use(n),cr(()=>t.getLocale(),()=>{n.setLocale(t.getLocale())},{immediate:!0}),Object.entries(lFe).forEach(([s,i])=>{e.component(s,i)})}},uFe="3.1.0",dFe={title:"Open Archiver API",version:"1.0.0",description:"REST API for Open Archiver — an open-source email archiving platform. All authenticated endpoints require a Bearer JWT token obtained from `POST /v1/auth/login`, or an API key passed as a Bearer token.",license:{name:"SEE LICENSE IN LICENSE",url:"https://github.com/LogicLabs-OU/OpenArchiver/blob/main/LICENSE"},contact:{name:"Open Archiver",url:"https://openarchiver.com"}},pFe=[{url:"http://localhost:3001",description:"Local development"}],fFe=[{bearerAuth:[]},{apiKeyAuth:[]}],hFe={securitySchemes:{bearerAuth:{type:"http",scheme:"bearer",bearerFormat:"JWT",description:"JWT obtained from `POST /v1/auth/login`. Pass as `Authorization: Bearer `."},apiKeyAuth:{type:"apiKey",in:"header",name:"X-API-KEY",description:"API key generated via `POST /v1/api-keys`. Pass as `X-API-KEY: `."}},responses:{Unauthorized:{description:"Authentication is required or the token is invalid/expired.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"},example:{message:"Unauthorized"}}}},Forbidden:{description:"The authenticated user does not have permission to perform this action.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"},example:{message:"Forbidden"}}}},NotFound:{description:"The requested resource was not found.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"},example:{message:"Not found"}}}},InternalServerError:{description:"An unexpected error occurred on the server.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"},example:{message:"Internal server error"}}}}},schemas:{ErrorMessage:{type:"object",properties:{message:{type:"string",description:"Human-readable error description.",example:"An error occurred."}},required:["message"]},MessageResponse:{type:"object",properties:{message:{type:"string",example:"Operation completed successfully."}},required:["message"]},ValidationError:{type:"object",properties:{message:{type:"string",example:"Request body is invalid."},errors:{type:"string",description:"Zod validation error details."}},required:["message"]},LoginResponse:{type:"object",properties:{accessToken:{type:"string",description:"JWT for authenticating subsequent requests.",example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."},user:{$ref:"#/components/schemas/User"}},required:["accessToken","user"]},User:{type:"object",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},first_name:{type:"string",nullable:!0,example:"Jane"},last_name:{type:"string",nullable:!0,example:"Doe"},email:{type:"string",format:"email",example:"jane.doe@example.com"},role:{$ref:"#/components/schemas/Role",nullable:!0},createdAt:{type:"string",format:"date-time"}},required:["id","email","createdAt"]},Role:{type:"object",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},slug:{type:"string",nullable:!0,example:"predefined_super_admin"},name:{type:"string",example:"Super Admin"},policies:{type:"array",items:{$ref:"#/components/schemas/CaslPolicy"}},createdAt:{type:"string",format:"date-time"},updatedAt:{type:"string",format:"date-time"}},required:["id","name","policies","createdAt","updatedAt"]},CaslPolicy:{type:"object",description:"An CASL-style permission policy statement. `action` and `subject` can be strings or arrays of strings. `conditions` optionally restricts access to specific resource attributes.",properties:{action:{oneOf:[{type:"string",example:"read"},{type:"array",items:{type:"string"},example:["read","search"]}]},subject:{oneOf:[{type:"string",example:"archive"},{type:"array",items:{type:"string"},example:["archive","ingestion"]}]},conditions:{type:"object",description:"Optional attribute-level conditions. Supports `${user.id}` interpolation.",example:{userId:"${user.id}"}}},required:["action","subject"]},ApiKey:{type:"object",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},name:{type:"string",example:"CI/CD Pipeline Key"},key:{type:"string",description:"Partial/masked key — the raw value is only available at creation time.",example:"oa_live_abc1..."},expiresAt:{type:"string",format:"date-time"},createdAt:{type:"string",format:"date-time"}},required:["id","name","expiresAt","createdAt"]},SafeIngestionSource:{type:"object",description:"An ingestion source with sensitive credential fields removed.",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},name:{type:"string",example:"Company Google Workspace"},provider:{type:"string",enum:["google_workspace","microsoft_365","generic_imap","pst_import","eml_import","mbox_import"],example:"google_workspace"},status:{type:"string",enum:["active","paused","error","pending_auth","syncing","importing","auth_success","imported"],example:"active"},createdAt:{type:"string",format:"date-time"},updatedAt:{type:"string",format:"date-time"},lastSyncStartedAt:{type:"string",format:"date-time",nullable:!0},lastSyncFinishedAt:{type:"string",format:"date-time",nullable:!0},lastSyncStatusMessage:{type:"string",nullable:!0}},required:["id","name","provider","status","createdAt","updatedAt"]},CreateIngestionSourceDto:{type:"object",required:["name","provider","providerConfig"],properties:{name:{type:"string",example:"Company Google Workspace"},provider:{type:"string",enum:["google_workspace","microsoft_365","generic_imap","pst_import","eml_import","mbox_import"]},providerConfig:{type:"object",description:"Provider-specific configuration. See the ingestion source guides for the required fields per provider.",example:{serviceAccountKeyJson:'{"type":"service_account",...}',impersonatedAdminEmail:"admin@example.com"}}}},UpdateIngestionSourceDto:{type:"object",properties:{name:{type:"string"},provider:{type:"string",enum:["google_workspace","microsoft_365","generic_imap","pst_import","eml_import","mbox_import"]},status:{type:"string",enum:["active","paused","error","pending_auth","syncing","importing","auth_success","imported"]},providerConfig:{type:"object"}}},Recipient:{type:"object",properties:{name:{type:"string",nullable:!0,example:"John Doe"},email:{type:"string",format:"email",example:"john.doe@example.com"}},required:["email"]},Attachment:{type:"object",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},filename:{type:"string",example:"invoice.pdf"},mimeType:{type:"string",nullable:!0,example:"application/pdf"},sizeBytes:{type:"integer",example:204800},storagePath:{type:"string",example:"open-archiver/attachments/abc123.pdf"}},required:["id","filename","sizeBytes","storagePath"]},ThreadEmail:{type:"object",properties:{id:{type:"string",description:"ArchivedEmail ID.",example:"clx1y2z3a0000b4d2"},subject:{type:"string",nullable:!0,example:"Re: Q4 Invoice"},sentAt:{type:"string",format:"date-time"},senderEmail:{type:"string",format:"email",example:"finance@vendor.com"}},required:["id","sentAt","senderEmail"]},ArchivedEmail:{type:"object",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},ingestionSourceId:{type:"string",example:"clx1y2z3a0000b4d2"},userEmail:{type:"string",format:"email",example:"user@company.com"},messageIdHeader:{type:"string",nullable:!0},sentAt:{type:"string",format:"date-time"},subject:{type:"string",nullable:!0,example:"Q4 Invoice"},senderName:{type:"string",nullable:!0,example:"Finance Dept"},senderEmail:{type:"string",format:"email",example:"finance@vendor.com"},recipients:{type:"array",items:{$ref:"#/components/schemas/Recipient"}},storagePath:{type:"string"},storageHashSha256:{type:"string",description:"SHA-256 hash of the raw email file, stored at archival time."},sizeBytes:{type:"integer"},isIndexed:{type:"boolean"},hasAttachments:{type:"boolean"},isOnLegalHold:{type:"boolean"},archivedAt:{type:"string",format:"date-time"},attachments:{type:"array",items:{$ref:"#/components/schemas/Attachment"}},thread:{type:"array",description:"Other emails in the same thread, ordered by sentAt. Only present on single-email GET responses.",items:{$ref:"#/components/schemas/ThreadEmail"}},path:{type:"string",nullable:!0},tags:{type:"array",items:{type:"string"},nullable:!0}},required:["id","ingestionSourceId","userEmail","sentAt","senderEmail","recipients","storagePath","storageHashSha256","sizeBytes","isIndexed","hasAttachments","isOnLegalHold","archivedAt"]},PaginatedArchivedEmails:{type:"object",properties:{items:{type:"array",items:{$ref:"#/components/schemas/ArchivedEmail"}},total:{type:"integer",example:1234},page:{type:"integer",example:1},limit:{type:"integer",example:10}},required:["items","total","page","limit"]},SearchResults:{type:"object",properties:{hits:{type:"array",description:"Array of matching archived email objects, potentially with highlighted fields.",items:{type:"object"}},total:{type:"integer",example:42},page:{type:"integer",example:1},limit:{type:"integer",example:10},totalPages:{type:"integer",example:5},processingTimeMs:{type:"integer",description:"Meilisearch query processing time in milliseconds.",example:12}},required:["hits","total","page","limit","totalPages","processingTimeMs"]},IntegrityCheckResult:{type:"object",properties:{type:{type:"string",enum:["email","attachment"],description:"Whether this result is for the email itself or one of its attachments."},id:{type:"string",example:"clx1y2z3a0000b4d2"},filename:{type:"string",description:"Attachment filename. Only present when `type` is `attachment`.",example:"invoice.pdf"},isValid:{type:"boolean",description:"True if the stored and computed hashes match."},reason:{type:"string",description:"Human-readable explanation if `isValid` is false."},storedHash:{type:"string",description:"SHA-256 hash stored at archival time.",example:"a3f1b2c4..."},computedHash:{type:"string",description:"SHA-256 hash computed during this verification run.",example:"a3f1b2c4..."}},required:["type","id","isValid","storedHash","computedHash"]},QueueCounts:{type:"object",properties:{active:{type:"integer",example:0},completed:{type:"integer",example:56},failed:{type:"integer",example:4},delayed:{type:"integer",example:0},waiting:{type:"integer",example:0},paused:{type:"integer",example:0}},required:["active","completed","failed","delayed","waiting","paused"]},QueueOverview:{type:"object",properties:{name:{type:"string",example:"ingestion"},counts:{$ref:"#/components/schemas/QueueCounts"}},required:["name","counts"]},Job:{type:"object",properties:{id:{type:"string",nullable:!0,example:"1"},name:{type:"string",example:"initial-import"},data:{type:"object",description:"Job payload data.",example:{ingestionSourceId:"clx1y2z3a0000b4d2"}},state:{type:"string",enum:["active","completed","failed","delayed","waiting","paused"],example:"failed"},failedReason:{type:"string",nullable:!0,example:"Error: Connection timed out"},timestamp:{type:"integer",example:16788864e5},processedOn:{type:"integer",nullable:!0,example:1678886401e3},finishedOn:{type:"integer",nullable:!0,example:1678886402e3},attemptsMade:{type:"integer",example:5},stacktrace:{type:"array",items:{type:"string"}},returnValue:{nullable:!0},ingestionSourceId:{type:"string",nullable:!0},error:{description:"Shorthand copy of `failedReason` for easier access.",nullable:!0}},required:["id","name","data","state","timestamp","attemptsMade","stacktrace"]},QueueDetails:{type:"object",properties:{name:{type:"string",example:"ingestion"},counts:{$ref:"#/components/schemas/QueueCounts"},jobs:{type:"array",items:{$ref:"#/components/schemas/Job"}},pagination:{type:"object",properties:{currentPage:{type:"integer",example:1},totalPages:{type:"integer",example:3},totalJobs:{type:"integer",example:25},limit:{type:"integer",example:10}},required:["currentPage","totalPages","totalJobs","limit"]}},required:["name","counts","jobs","pagination"]},DashboardStats:{type:"object",properties:{totalEmailsArchived:{type:"integer",example:125e3},totalStorageUsed:{type:"integer",description:"Total storage used by all archived emails in bytes.",example:5368709120},failedIngestionsLast7Days:{type:"integer",description:"Number of ingestion sources in error state updated in the last 7 days.",example:2}}},IngestionSourceStats:{type:"object",description:"Summary of an ingestion source including its storage usage.",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},name:{type:"string",example:"Company Google Workspace"},provider:{type:"string",example:"google_workspace"},status:{type:"string",example:"active"},storageUsed:{type:"integer",description:"Total bytes stored for emails from this ingestion source.",example:1073741824}},required:["id","name","provider","status","storageUsed"]},RecentSync:{type:"object",description:"Summary of a recent sync session.",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},sourceName:{type:"string",example:"Company Google Workspace"},startTime:{type:"string",format:"date-time"},duration:{type:"integer",description:"Duration in milliseconds.",example:4500},emailsProcessed:{type:"integer",example:120},status:{type:"string",example:"completed"}},required:["id","sourceName","startTime","duration","emailsProcessed","status"]},IndexedInsights:{type:"object",description:"Insights derived from the search index.",properties:{topSenders:{type:"array",items:{type:"object",properties:{sender:{type:"string",example:"finance@vendor.com"},count:{type:"integer",example:342}},required:["sender","count"]}}},required:["topSenders"]},SystemSettings:{type:"object",description:"Non-sensitive system configuration values.",properties:{language:{type:"string",enum:["en","es","fr","de","it","pt","nl","ja","et","el"],example:"en",description:"Default UI language code."},theme:{type:"string",enum:["light","dark","system"],example:"system",description:"Default color theme."},supportEmail:{type:"string",format:"email",nullable:!0,example:"support@example.com",description:"Public-facing support email address."}}}}},mFe={"/v1/api-keys":{post:{summary:"Generate an API key",description:`Generates a new API key for the authenticated user. The raw key value is only returned once at creation time. The key name must be between 1–255 characters. Expiry is required and must be within 730 days (2 years). Disabled in demo mode. -`,operationId:"generateApiKey",tags:["API Keys"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["name","expiresInDays"],properties:{name:{type:"string",minLength:1,maxLength:255,example:"CI/CD Pipeline Key"},expiresInDays:{type:"integer",minimum:1,maximum:730,example:90}}}}}},responses:{201:{description:"API key created. The raw `key` value is only shown once.",content:{"application/json":{schema:{type:"object",properties:{key:{type:"string",description:"The raw API key. Store this securely — it will not be shown again.",example:"oa_live_abc123..."}}}}}},400:{description:"Validation error (name too short/long, expiry out of range).",content:{"application/json":{schema:{$ref:"#/components/schemas/ValidationError"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{description:"Disabled in demo mode.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},500:{$ref:"#/components/responses/InternalServerError"}}},get:{summary:"List API keys",description:"Returns all API keys belonging to the currently authenticated user. The raw key value is not included.",operationId:"getApiKeys",tags:["API Keys"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"List of API keys (without raw key values).",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/ApiKey"}}}}},401:{$ref:"#/components/responses/Unauthorized"}}}},"/v1/api-keys/{id}":{delete:{summary:"Delete an API key",description:"Permanently revokes and deletes an API key by ID. Only the owning user can delete their own keys. Disabled in demo mode.",operationId:"deleteApiKey",tags:["API Keys"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,description:"The ID of the API key to delete.",schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{204:{description:"API key deleted. No content returned."},401:{$ref:"#/components/responses/Unauthorized"},403:{description:"Disabled in demo mode.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/archived-emails/ingestion-source/{ingestionSourceId}":{get:{summary:"List archived emails for an ingestion source",description:"Returns a paginated list of archived emails belonging to the specified ingestion source. Requires `read:archive` permission.",operationId:"getArchivedEmails",tags:["Archived Emails"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"ingestionSourceId",in:"path",required:!0,description:"The ID of the ingestion source to retrieve emails for.",schema:{type:"string",example:"clx1y2z3a0000b4d2"}},{name:"page",in:"query",required:!1,description:"Page number for pagination.",schema:{type:"integer",default:1,example:1}},{name:"limit",in:"query",required:!1,description:"Number of items per page.",schema:{type:"integer",default:10,example:10}}],responses:{200:{description:"Paginated list of archived emails.",content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedArchivedEmails"}}}},401:{$ref:"#/components/responses/Unauthorized"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/archived-emails/{id}":{get:{summary:"Get a single archived email",description:"Retrieves the full details of a single archived email by ID, including attachments and thread. Requires `read:archive` permission.",operationId:"getArchivedEmailById",tags:["Archived Emails"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,description:"The ID of the archived email.",schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{200:{description:"Archived email details.",content:{"application/json":{schema:{$ref:"#/components/schemas/ArchivedEmail"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}},delete:{summary:"Delete an archived email",description:"Permanently deletes an archived email by ID. Deletion must be enabled in system settings and the email must not be on legal hold. Requires `delete:archive` permission.",operationId:"deleteArchivedEmail",tags:["Archived Emails"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,description:"The ID of the archived email to delete.",schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{204:{description:"Email deleted successfully. No content returned."},400:{description:"Deletion is disabled in system settings, or the email is blocked by a retention policy / legal hold.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/auth/setup":{post:{summary:"Initial setup",description:"Creates the initial administrator user. Can only be called once when no users exist.",operationId:"authSetup",tags:["Auth"],security:[],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["email","password","first_name","last_name"],properties:{email:{type:"string",format:"email",example:"admin@example.com"},password:{type:"string",format:"password",example:"securepassword123"},first_name:{type:"string",example:"Admin"},last_name:{type:"string",example:"User"}}}}}},responses:{201:{description:"Admin user created and logged in successfully.",content:{"application/json":{schema:{$ref:"#/components/schemas/LoginResponse"}}}},400:{description:"All fields are required.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},403:{description:"Setup has already been completed (users already exist).",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/auth/login":{post:{summary:"Login",description:"Authenticates a user with email and password and returns a JWT access token.",operationId:"authLogin",tags:["Auth"],security:[],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["email","password"],properties:{email:{type:"string",format:"email",example:"user@example.com"},password:{type:"string",format:"password",example:"securepassword123"}}}}}},responses:{200:{description:"Authentication successful.",content:{"application/json":{schema:{$ref:"#/components/schemas/LoginResponse"}}}},400:{description:"Email and password are required.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{description:"Invalid credentials.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/auth/status":{get:{summary:"Check setup status",description:"Returns whether the application has been set up (i.e., whether an admin user exists).",operationId:"authStatus",tags:["Auth"],security:[],responses:{200:{description:"Setup status returned.",content:{"application/json":{schema:{type:"object",properties:{needsSetup:{type:"boolean",description:"True if no admin user exists and setup is required.",example:!1}}}}}},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/dashboard/stats":{get:{summary:"Get dashboard stats",description:"Returns high-level statistics including total archived emails, total storage used, and failed ingestions in the last 7 days. Requires `read:dashboard` permission.",operationId:"getDashboardStats",tags:["Dashboard"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"Dashboard statistics.",content:{"application/json":{schema:{$ref:"#/components/schemas/DashboardStats"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"}}}},"/v1/dashboard/ingestion-history":{get:{summary:"Get ingestion history",description:"Returns time-series data of email ingestion counts for the last 30 days. Requires `read:dashboard` permission.",operationId:"getIngestionHistory",tags:["Dashboard"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"Ingestion history wrapped in a `history` array.",content:{"application/json":{schema:{type:"object",properties:{history:{type:"array",items:{type:"object",properties:{date:{type:"string",format:"date-time",description:"Truncated to day precision (UTC)."},count:{type:"integer"}}}}},required:["history"]}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"}}}},"/v1/dashboard/ingestion-sources":{get:{summary:"Get ingestion source summaries",description:"Returns a summary list of ingestion sources with their storage usage. Requires `read:dashboard` permission.",operationId:"getDashboardIngestionSources",tags:["Dashboard"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"List of ingestion source summaries.",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/IngestionSourceStats"}}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"}}}},"/v1/dashboard/recent-syncs":{get:{summary:"Get recent sync activity",description:"Returns the most recent sync sessions across all ingestion sources. Requires `read:dashboard` permission.",operationId:"getRecentSyncs",tags:["Dashboard"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"List of recent sync sessions.",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/RecentSync"}}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"}}}},"/v1/dashboard/indexed-insights":{get:{summary:"Get indexed email insights",description:"Returns top-sender statistics from the search index. Requires `read:dashboard` permission.",operationId:"getIndexedInsights",tags:["Dashboard"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"Indexed email insights.",content:{"application/json":{schema:{$ref:"#/components/schemas/IndexedInsights"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"}}}},"/v1/iam/roles":{get:{summary:"List all roles",description:"Returns all IAM roles. If predefined roles do not yet exist, they are created automatically. Requires `read:roles` permission.",operationId:"getRoles",tags:["IAM"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"List of roles.",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/Role"}}}}},401:{$ref:"#/components/responses/Unauthorized"},500:{$ref:"#/components/responses/InternalServerError"}}},post:{summary:"Create a role",description:"Creates a new IAM role with the given name and CASL policies. Requires `manage:all` (Super Admin) permission.",operationId:"createRole",tags:["IAM"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["name","policies"],properties:{name:{type:"string",example:"Compliance Officer"},policies:{type:"array",items:{$ref:"#/components/schemas/CaslPolicy"}}}}}}},responses:{201:{description:"Role created.",content:{"application/json":{schema:{$ref:"#/components/schemas/Role"}}}},400:{description:"Missing fields or invalid policy.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/iam/roles/{id}":{get:{summary:"Get a role",description:"Returns a single IAM role by ID. Requires `read:roles` permission.",operationId:"getRoleById",tags:["IAM"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{200:{description:"Role details.",content:{"application/json":{schema:{$ref:"#/components/schemas/Role"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}},delete:{summary:"Delete a role",description:"Permanently deletes an IAM role. Requires `manage:all` (Super Admin) permission.",operationId:"deleteRole",tags:["IAM"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{204:{description:"Role deleted. No content returned."},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"},500:{$ref:"#/components/responses/InternalServerError"}}},put:{summary:"Update a role",description:"Updates the name or policies of an IAM role. Requires `manage:all` (Super Admin) permission.",operationId:"updateRole",tags:["IAM"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",properties:{name:{type:"string",example:"Senior Compliance Officer"},policies:{type:"array",items:{$ref:"#/components/schemas/CaslPolicy"}}}}}}},responses:{200:{description:"Updated role.",content:{"application/json":{schema:{$ref:"#/components/schemas/Role"}}}},400:{description:"No update fields provided or invalid policy.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/ingestion-sources":{post:{summary:"Create an ingestion source",description:"Creates a new ingestion source and validates the connection. Returns the created source without credentials. Requires `create:ingestion` permission.",operationId:"createIngestionSource",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/CreateIngestionSourceDto"}}}},responses:{201:{description:"Ingestion source created successfully.",content:{"application/json":{schema:{$ref:"#/components/schemas/SafeIngestionSource"}}}},400:{description:"Invalid input or connection test failed.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"}}},get:{summary:"List ingestion sources",description:"Returns all ingestion sources accessible to the authenticated user. Credentials are excluded from the response. Requires `read:ingestion` permission.",operationId:"listIngestionSources",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"Array of ingestion sources.",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/SafeIngestionSource"}}}}},401:{$ref:"#/components/responses/Unauthorized"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/ingestion-sources/{id}":{get:{summary:"Get an ingestion source",description:"Returns a single ingestion source by ID. Credentials are excluded. Requires `read:ingestion` permission.",operationId:"getIngestionSourceById",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{200:{description:"Ingestion source details.",content:{"application/json":{schema:{$ref:"#/components/schemas/SafeIngestionSource"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}},put:{summary:"Update an ingestion source",description:"Updates configuration for an existing ingestion source. Requires `update:ingestion` permission.",operationId:"updateIngestionSource",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/UpdateIngestionSourceDto"}}}},responses:{200:{description:"Updated ingestion source.",content:{"application/json":{schema:{$ref:"#/components/schemas/SafeIngestionSource"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}},delete:{summary:"Delete an ingestion source",description:"Permanently deletes an ingestion source. Deletion must be enabled in system settings. Requires `delete:ingestion` permission.",operationId:"deleteIngestionSource",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{204:{description:"Ingestion source deleted. No content returned."},400:{description:"Deletion disabled or constraint error.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/ingestion-sources/{id}/import":{post:{summary:"Trigger initial import",description:"Enqueues an initial import job for the ingestion source. This imports all historical emails. Requires `create:ingestion` permission.",operationId:"triggerInitialImport",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{202:{description:"Initial import job accepted and queued.",content:{"application/json":{schema:{$ref:"#/components/schemas/MessageResponse"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/ingestion-sources/{id}/pause":{post:{summary:"Pause an ingestion source",description:"Sets the ingestion source status to `paused`, stopping continuous sync. Requires `update:ingestion` permission.",operationId:"pauseIngestionSource",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{200:{description:"Ingestion source paused. Returns the updated source.",content:{"application/json":{schema:{$ref:"#/components/schemas/SafeIngestionSource"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/ingestion-sources/{id}/sync":{post:{summary:"Force sync",description:"Triggers an out-of-schedule continuous sync for the ingestion source. Requires `sync:ingestion` permission.",operationId:"triggerForceSync",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{202:{description:"Force sync job accepted and queued.",content:{"application/json":{schema:{$ref:"#/components/schemas/MessageResponse"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/integrity/{id}":{get:{summary:"Check email integrity",description:"Verifies the SHA-256 hash of an archived email and all its attachments against the hashes stored at archival time. Returns per-item integrity results. Requires `read:archive` permission.",operationId:"checkIntegrity",tags:["Integrity"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,description:"UUID of the archived email to verify.",schema:{type:"string",format:"uuid",example:"550e8400-e29b-41d4-a716-446655440000"}}],responses:{200:{description:"Integrity check results for the email and its attachments.",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/IntegrityCheckResult"}}}}},400:{description:"Invalid UUID format.",content:{"application/json":{schema:{$ref:"#/components/schemas/ValidationError"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/jobs/queues":{get:{summary:"List all queues",description:"Returns all BullMQ job queues and their current job counts broken down by status. Requires `manage:all` (Super Admin) permission.",operationId:"getQueues",tags:["Jobs"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"List of queue overviews.",content:{"application/json":{schema:{type:"object",properties:{queues:{type:"array",items:{$ref:"#/components/schemas/QueueOverview"}}},example:{queues:[{name:"ingestion",counts:{active:0,completed:56,failed:4,delayed:3,waiting:0,paused:0}},{name:"indexing",counts:{active:0,completed:0,failed:0,delayed:0,waiting:0,paused:0}}]}}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/jobs/queues/{queueName}":{get:{summary:"Get jobs in a queue",description:"Returns a paginated list of jobs within a specific queue, filtered by status. Requires `manage:all` (Super Admin) permission.",operationId:"getQueueJobs",tags:["Jobs"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"queueName",in:"path",required:!0,description:"The name of the queue (e.g. `ingestion` or `indexing`).",schema:{type:"string",example:"ingestion"}},{name:"status",in:"query",required:!1,description:"Filter jobs by status.",schema:{type:"string",enum:["active","completed","failed","delayed","waiting","paused"],default:"failed"}},{name:"page",in:"query",required:!1,schema:{type:"integer",default:1}},{name:"limit",in:"query",required:!1,schema:{type:"integer",default:10}}],responses:{200:{description:"Detailed view of the queue including paginated jobs.",content:{"application/json":{schema:{$ref:"#/components/schemas/QueueDetails"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"},404:{description:"Queue not found.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/search":{get:{summary:"Search archived emails",description:"Performs a full-text search across indexed archived emails using Meilisearch. Requires `search:archive` permission.",operationId:"searchEmails",tags:["Search"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"keywords",in:"query",required:!0,description:"The search query string.",schema:{type:"string",example:"invoice Q4"}},{name:"page",in:"query",required:!1,description:"Page number for pagination.",schema:{type:"integer",default:1,example:1}},{name:"limit",in:"query",required:!1,description:"Number of results per page.",schema:{type:"integer",default:10,example:10}},{name:"matchingStrategy",in:"query",required:!1,description:"Meilisearch matching strategy. `last` returns results containing at least one keyword; `all` requires all keywords; `frequency` sorts by keyword frequency.",schema:{type:"string",enum:["last","all","frequency"],default:"last"}}],responses:{200:{description:"Search results.",content:{"application/json":{schema:{$ref:"#/components/schemas/SearchResults"}}}},400:{description:"Keywords parameter is required.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/settings/system":{get:{summary:"Get system settings",description:`Returns non-sensitive system settings such as language, timezone, and feature flags. This endpoint is public — no authentication required. Sensitive settings are never exposed. +\v\f…\u2028\u2029])`),t));else if(l==="posix")if(!o&&(u==="graph"||u==="print")){if(n==="strict")throw new Error(`POSIX class "${u}" requires min target ES2024 or non-strict accuracy`);let d={graph:"!-~",print:" -~"}[u];c&&(d=`\0-${cs(d.codePointAt(0)-1)}${cs(d.codePointAt(2)+1)}-􏿿`),r(Wo(oc(`[${d}]`),t))}else r(Wo(a_(oc(O9e.get(u)),c),t));else if(l==="property")vO.has(Vx(u))||(e.key="sc");else if(l==="space")r(cu(yf("space",{negate:c}),t));else if(l==="word")r(Wo(a_(oc(nc),c),t));else throw new Error(`Unexpected character set kind "${l}"`)},Directive({node:e,parent:t,root:r,remove:n,replaceWith:o,removeAllPrevSiblings:s,removeAllNextSiblings:i}){const{kind:a,flags:l}=e;if(a==="flags")if(!l.enable&&!l.disable)n();else{const c=Pa({flags:l});c.body[0].body=i(),o(Wo(c,t),{traverse:!0})}else if(a==="keep"){const c=r.body[0],u=r.body.length===1&&dV(c,{type:"Group"})&&c.body[0].body.length===1?c.body[0]:r;if(t.parent!==u||u.body.length>1)throw new Error(Nr`Uses "\K" in a way that's unsupported`);const d=Md({behind:!0});d.body[0].body=s(),o(Wo(d,t))}else throw new Error(`Unexpected directive kind "${a}"`)},Flags({node:e,parent:t}){if(e.posixIsAscii)throw new Error('Unsupported flag "P"');if(e.textSegmentMode==="word")throw new Error('Unsupported flag "y{w}"');["digitIsAscii","extended","posixIsAscii","spaceIsAscii","wordIsAscii","textSegmentMode"].forEach(r=>delete e[r]),Object.assign(e,{global:!1,hasIndices:!1,multiline:!1,sticky:e.sticky??!1}),t.options={disable:{x:!0,n:!0},force:{v:!0}}},Group({node:e}){if(!e.flags)return;const{enable:t,disable:r}=e.flags;t!=null&&t.extended&&delete t.extended,r!=null&&r.extended&&delete r.extended,t!=null&&t.dotAll&&(r!=null&&r.dotAll)&&delete t.dotAll,t!=null&&t.ignoreCase&&(r!=null&&r.ignoreCase)&&delete t.ignoreCase,t&&!Object.keys(t).length&&delete e.flags.enable,r&&!Object.keys(r).length&&delete e.flags.disable,!e.flags.enable&&!e.flags.disable&&delete e.flags},LookaroundAssertion({node:e},t){const{kind:r}=e;r==="lookbehind"&&(t.passedLookbehind=!0)},NamedCallout({node:e,parent:t,replaceWith:r}){const{kind:n}=e;if(n==="fail")r(Wo(Md({negate:!0}),t));else throw new Error(`Unsupported named callout "(*${n.toUpperCase()}"`)},Quantifier({node:e}){if(e.body.type==="Quantifier"){const t=Pa();t.body[0].body.push(e.body),e.body=Wo(t,e)}},Regex:{enter({node:e},{supportedGNodes:t}){const r=[];let n=!1,o=!1;for(const s of e.body)if(s.body.length===1&&s.body[0].kind==="search_start")s.body.pop();else{const i=AV(s.body);i?(n=!0,Array.isArray(i)?r.push(...i):r.push(i)):o=!0}n&&!o&&r.forEach(s=>t.add(s))},exit(e,{accuracy:t,passedLookbehind:r,strategy:n}){if(t==="strict"&&r&&n)throw new Error(Nr`Uses "\G" in a way that requires non-strict accuracy`)}},Subroutine({node:e},{jsGroupNameMap:t}){let{ref:r}=e;typeof r=="string"&&!i_(r)&&(r=s_(r,t),e.ref=r)}},I9e={Backreference({node:e},{multiplexCapturesToLeftByRef:t,reffedNodesByReferencer:r}){const{orphan:n,ref:o}=e;n||r.set(e,[...t.get(o).map(({node:s})=>s)])},CapturingGroup:{enter({node:e,parent:t,replaceWith:r,skip:n},{groupOriginByCopy:o,groupsByName:s,multiplexCapturesToLeftByRef:i,openRefs:a,reffedNodesByReferencer:l}){const c=o.get(e);if(c&&a.has(e.number)){const d=cu(xN(e.number),t);l.set(d,a.get(e.number)),r(d);return}a.set(e.number,e),i.set(e.number,[]),e.name&&uv(i,e.name,[]);const u=i.get(e.name??e.number);for(let d=0;dp.type==="Group"&&!!p.flags)),d=u?uw(n.globalFlags,u):n.globalFlags;M9e(d,n.currentFlags)||(c=Pa({flags:R9e(d)}),c.body[0].body.push(l))}r(Wo(c,t),{traverse:!a})}},D9e={Backreference({node:e,parent:t,replaceWith:r},n){if(e.orphan){n.highestOrphanBackref=Math.max(n.highestOrphanBackref,e.ref);return}const o=n.reffedNodesByReferencer.get(e).filter(s=>N9e(s,e));if(!o.length)r(Wo(Md({negate:!0}),t));else if(o.length>1){const s=Pa({atomic:!0,body:o.reverse().map(i=>bp({body:[Q2(i.number)]}))});r(Wo(s,t))}else e.ref=o[0].number},CapturingGroup({node:e},t){e.number=++t.numCapturesToLeft,e.name&&t.groupsByName.get(e.name).get(e).hasDuplicateNameToRemove&&delete e.name},Regex:{exit({node:e},t){const r=Math.max(t.highestOrphanBackref-t.numCapturesToLeft,0);for(let n=0;n{t.forEach(o=>{var s,i;(s=n.enable)!=null&&s[o]&&(delete r.disable[o],r.enable[o]=!0),(i=n.disable)!=null&&i[o]&&(r.disable[o]=!0)})}),Object.keys(r.enable).length||delete r.enable,Object.keys(r.disable).length||delete r.disable,r.enable||r.disable?r:null}function R9e({dotAll:e,ignoreCase:t}){const r={};return(e||t)&&(r.enable={},e&&(r.enable.dotAll=!0),t&&(r.enable.ignoreCase=!0)),(!e||!t)&&(r.disable={},!e&&(r.disable.dotAll=!0),!t&&(r.disable.ignoreCase=!0)),r}function CV(e){if(!e)throw new Error("Node expected");const{body:t}=e;return Array.isArray(t)?t:t?[t]:null}function AV(e){const t=e.find(r=>r.kind==="search_start"||z9e(r,{negate:!1})||!B9e(r));if(!t)return null;if(t.kind==="search_start")return t;if(t.type==="LookaroundAssertion")return t.body[0].body[0];if(t.type==="CapturingGroup"||t.type==="Group"){const r=[];for(const n of t.body){const o=AV(n.body);if(!o)return null;Array.isArray(o)?r.push(...o):r.push(o)}return r}return null}function EV(e,t){const r=CV(e)??[];for(const n of r)if(n===t||EV(n,t))return!0;return!1}function B9e({type:e}){return e==="Assertion"||e==="Directive"||e==="LookaroundAssertion"}function q9e(e){const t=["Character","CharacterClass","CharacterSet"];return t.includes(e.type)||e.type==="Quantifier"&&e.min&&t.includes(e.body.type)}function z9e(e,t){const r={negate:null,...t};return e.type==="LookaroundAssertion"&&(r.negate===null||e.negate===r.negate)&&e.body.length===1&&dV(e.body[0],{type:"Assertion",kind:"search_start"})}function i_(e){return/^[$_\p{IDS}][$\u200C\u200D\p{IDC}]*$/u.test(e)}function oc(e,t){const r=pV(e,{...t,unicodePropertyMap:vO}).body;return r.length>1||r[0].body.length>1?Pa({body:r}):r[0].body[0]}function a_(e,t){return e.negate=t,e}function cu(e,t){return e.parent=t,e}function Wo(e,t){return jV(e),e.parent=t,e}function F9e(e,t){const r=wV(t),n=Y2(r.target,"ES2024"),o=Y2(r.target,"ES2025"),s=r.rules.recursionLimit;if(!Number.isInteger(s)||s<2||s>20)throw new Error("Invalid recursionLimit; use 2-20");let i=null,a=null;if(!o){const f=[e.flags.ignoreCase];ig(e,V9e,{getCurrentModI:()=>f.at(-1),popModI(){f.pop()},pushModI(m){f.push(m)},setHasCasedChar(){f.at(-1)?i=!0:a=!0}})}const l={dotAll:e.flags.dotAll,ignoreCase:!!((e.flags.ignoreCase||i)&&!a)};let c=e;const u={accuracy:r.accuracy,appliedGlobalFlags:l,captureMap:new Map,currentFlags:{dotAll:e.flags.dotAll,ignoreCase:e.flags.ignoreCase},inCharClass:!1,lastNode:c,originMap:e._originMap,recursionLimit:s,useAppliedIgnoreCase:!!(!o&&i&&a),useFlagMods:o,useFlagV:n,verbose:r.verbose};function d(f){return u.lastNode=c,c=f,k9e(U9e[f.type],`Unexpected node type "${f.type}"`)(f,u,d)}const p={pattern:e.body.map(d).join("|"),flags:d(e.flags),options:{...e.options}};return n||(delete p.options.force.v,p.options.disable.v=!0,p.options.unicodeSetsPlugin=null),p._captureTransfers=new Map,p._hiddenCaptures=[],u.captureMap.forEach((f,m)=>{f.hidden&&p._hiddenCaptures.push(m),f.transferTo&&uv(p._captureTransfers,f.transferTo,[]).push(m)}),p}var V9e={"*":{enter({node:e},t){if(jN(e)){const r=t.getCurrentModI();t.pushModI(e.flags?uw({ignoreCase:r},e.flags).ignoreCase:r)}},exit({node:e},t){jN(e)&&t.popModI()}},Backreference(e,t){t.setHasCasedChar()},Character({node:e},t){yO(cs(e.value))&&t.setHasCasedChar()},CharacterClassRange({node:e,skip:t},r){t(),OV(e,{firstOnly:!0}).length&&r.setHasCasedChar()},CharacterSet({node:e},t){e.kind==="property"&&kV.has(e.value)&&t.setHasCasedChar()}},U9e={Alternative({body:e},t,r){return e.map(r).join("")},Assertion({kind:e,negate:t}){if(e==="string_end")return"$";if(e==="string_start")return"^";if(e==="word_boundary")return t?Nr`\B`:Nr`\b`;throw new Error(`Unexpected assertion kind "${e}"`)},Backreference({ref:e},t){if(typeof e!="number")throw new Error("Unexpected named backref in transformed AST");if(!t.useFlagMods&&t.accuracy==="strict"&&t.currentFlags.ignoreCase&&!t.captureMap.get(e).ignoreCase)throw new Error("Use of case-insensitive backref to case-sensitive group requires target ES2025 or non-strict accuracy");return"\\"+e},CapturingGroup(e,t,r){const{body:n,name:o,number:s}=e,i={ignoreCase:t.currentFlags.ignoreCase},a=t.originMap.get(e);return a&&(i.hidden=!0,s>a.number&&(i.transferTo=a.number)),t.captureMap.set(s,i),`(${o?`?<${o}>`:""}${n.map(r).join("|")})`},Character({value:e},t){const r=cs(e),n=cf(e,{escDigit:t.lastNode.type==="Backreference",inCharClass:t.inCharClass,useFlagV:t.useFlagV});if(n!==r)return n;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase&&yO(r)){const o=xV(r);return t.inCharClass?o.join(""):o.length>1?`[${o.join("")}]`:o[0]}return r},CharacterClass(e,t,r){const{kind:n,negate:o,parent:s}=e;let{body:i}=e;if(n==="intersection"&&!t.useFlagV)throw new Error("Use of character class intersection requires min target ES2024");$c.bugFlagVLiteralHyphenIsRange&&t.useFlagV&&i.some(_N)&&(i=[Fx(45),...i.filter(c=>!_N(c))]);const a=()=>`[${o?"^":""}${i.map(r).join(n==="intersection"?"&&":"")}]`;if(!t.inCharClass){if((!t.useFlagV||$c.bugNestedClassIgnoresNegation)&&!o){const u=i.filter(d=>d.type==="CharacterClass"&&d.kind==="union"&&d.negate);if(u.length){const d=Pa(),p=d.body[0];return d.parent=s,p.parent=d,i=i.filter(f=>!u.includes(f)),e.body=i,i.length?(e.parent=p,p.body.push(e)):d.body.pop(),u.forEach(f=>{const m=bp({body:[f]});f.parent=m,m.parent=d,d.body.push(m)}),r(d)}}t.inCharClass=!0;const c=a();return t.inCharClass=!1,c}const l=i[0];if(n==="union"&&!o&&l&&((!t.useFlagV||!t.verbose)&&s.kind==="union"&&!($c.bugFlagVLiteralHyphenIsRange&&t.useFlagV)||!t.verbose&&s.kind==="intersection"&&i.length===1&&l.type!=="CharacterClassRange"))return i.map(r).join("");if(!t.useFlagV&&s.type==="CharacterClass")throw new Error("Uses nested character class in a way that requires min target ES2024");return a()},CharacterClassRange(e,t){const r=e.min.value,n=e.max.value,o={escDigit:!1,inCharClass:!0,useFlagV:t.useFlagV},s=cf(r,o),i=cf(n,o),a=new Set;if(t.useAppliedIgnoreCase&&t.currentFlags.ignoreCase){const l=OV(e);K9e(l).forEach(c=>{a.add(Array.isArray(c)?`${cf(c[0],o)}-${cf(c[1],o)}`:cf(c,o))})}return`${s}-${i}${[...a].join("")}`},CharacterSet({kind:e,negate:t,value:r,key:n},o){if(e==="dot")return o.currentFlags.dotAll?o.appliedGlobalFlags.dotAll||o.useFlagMods?".":"[^]":Nr`[^\n]`;if(e==="digit")return t?Nr`\D`:Nr`\d`;if(e==="property"){if(o.useAppliedIgnoreCase&&o.currentFlags.ignoreCase&&kV.has(r))throw new Error(`Unicode property "${r}" can't be case-insensitive when other chars have specific case`);return`${t?Nr`\P`:Nr`\p`}{${n?`${n}=`:""}${r}}`}if(e==="word")return t?Nr`\W`:Nr`\w`;throw new Error(`Unexpected character set kind "${e}"`)},Flags(e,t){return(t.appliedGlobalFlags.ignoreCase?"i":"")+(e.dotAll?"s":"")+(e.sticky?"y":"")},Group({atomic:e,body:t,flags:r,parent:n},o,s){const i=o.currentFlags;r&&(o.currentFlags=uw(i,r));const a=t.map(s).join("|"),l=!o.verbose&&t.length===1&&n.type!=="Quantifier"&&!e&&(!o.useFlagMods||!r)?a:`(?${Q9e(e,r,o.useFlagMods)}${a})`;return o.currentFlags=i,l},LookaroundAssertion({body:e,kind:t,negate:r},n,o){return`(?${`${t==="lookahead"?"":"<"}${r?"!":"="}`}${e.map(o).join("|")})`},Quantifier(e,t,r){return r(e.body)+Z9e(e)},Subroutine({isRecursive:e,ref:t},r){if(!e)throw new Error("Unexpected non-recursive subroutine in transformed AST");const n=r.recursionLimit;return t===0?`(?R=${n})`:Nr`\g<${t}&R=${n}>`}},H9e=new Set(["$","(",")","*","+",".","?","[","\\","]","^","{","|","}"]),W9e=new Set(["-","\\","]","^","["]),G9e=new Set(["(",")","-","/","[","\\","]","^","{","|","}","!","#","$","%","&","*","+",",",".",":",";","<","=",">","?","@","`","~"]),kN=new Map([[9,Nr`\t`],[10,Nr`\n`],[11,Nr`\v`],[12,Nr`\f`],[13,Nr`\r`],[8232,Nr`\u2028`],[8233,Nr`\u2029`],[65279,Nr`\uFEFF`]]),J9e=new RegExp("^\\p{Cased}$","u");function yO(e){return J9e.test(e)}function OV(e,t){const r=!!(t!=null&&t.firstOnly),n=e.min.value,o=e.max.value,s=[];if(n<65&&(o===65535||o>=131071)||n===65536&&o>=131071)return s;for(let i=n;i<=o;i++){const a=cs(i);if(!yO(a))continue;const l=xV(a).filter(c=>{const u=c.codePointAt(0);return uo});if(l.length&&(s.push(...l),r))break}return s}function cf(e,{escDigit:t,inCharClass:r,useFlagV:n}){if(kN.has(e))return kN.get(e);if(e<32||e>126&&e<160||e>262143||t&&X9e(e))return e>255?`\\u{${e.toString(16).toUpperCase()}}`:`\\x${e.toString(16).toUpperCase().padStart(2,"0")}`;const o=r?n?G9e:W9e:H9e,s=cs(e);return(o.has(s)?"\\":"")+s}function K9e(e){const t=e.map(o=>o.codePointAt(0)).sort((o,s)=>o-s),r=[];let n=null;for(let o=0;o";let n="";if(t&&r){const{enable:o,disable:s}=t;n=(o!=null&&o.ignoreCase?"i":"")+(o!=null&&o.dotAll?"s":"")+(s?"-":"")+(s!=null&&s.ignoreCase?"i":"")+(s!=null&&s.dotAll?"s":"")}return`${n}:`}function Z9e({kind:e,max:t,min:r}){let n;return!r&&t===1?n="?":!r&&t===1/0?n="*":r===1&&t===1/0?n="+":r===t?n=`{${r}}`:n=`{${r},${t===1/0?"":t}}`,n+{greedy:"",lazy:"?",possessive:"+"}[e]}function jN({type:e}){return e==="CapturingGroup"||e==="Group"||e==="LookaroundAssertion"}function X9e(e){return e>47&&e<58}function _N({type:e,value:t}){return e==="Character"&&t===45}var gu,lc,Fd,vu,Vd,dv,eC,Lu,Y9e=(Lu=class extends RegExp{constructor(r,n,o){var t=(...I7e)=>(super(...I7e),Xc(this,dv),Xc(this,gu,new Map),Xc(this,lc,null),Xc(this,Fd),Xc(this,vu,null),Xc(this,Vd,null),Re(this,"rawOptions",{}),this);const s=!!(o!=null&&o.lazyCompile);if(r instanceof RegExp){if(o)throw new Error("Cannot provide options when copying a regexp");const i=r;t(i,n),ka(this,Fd,i.source),i instanceof Lu&&(ka(this,gu,is(i,gu)),ka(this,vu,is(i,vu)),ka(this,Vd,is(i,Vd)),this.rawOptions=i.rawOptions)}else{const i={hiddenCaptures:[],strategy:null,transfers:[],...o};t(s?"":r,n),ka(this,Fd,r),ka(this,gu,tqe(i.hiddenCaptures,i.transfers)),ka(this,Vd,i.strategy),this.rawOptions=o??{}}s||ka(this,lc,this)}get source(){return is(this,Fd)||"(?:)"}exec(r){if(!is(this,lc)){const{lazyCompile:s,...i}=this.rawOptions;ka(this,lc,new Lu(is(this,Fd),this.flags,i))}const n=this.global||this.sticky,o=this.lastIndex;if(is(this,Vd)==="clip_search"&&n&&o){this.lastIndex=0;const s=Zx(this,dv,eC).call(this,r.slice(o));return s&&(eqe(s,o,r,this.hasIndices),this.lastIndex+=o),s}return Zx(this,dv,eC).call(this,r)}},gu=new WeakMap,lc=new WeakMap,Fd=new WeakMap,vu=new WeakMap,Vd=new WeakMap,dv=new WeakSet,eC=function(r){is(this,lc).lastIndex=this.lastIndex;const n=kO(Lu.prototype,this,"exec").call(is(this,lc),r);if(this.lastIndex=is(this,lc).lastIndex,!n||!is(this,gu).size)return n;const o=[...n];n.length=1;let s;this.hasIndices&&(s=[...n.indices],n.indices.length=1);const i=[0];for(let a=1;a{const a=s[i];a&&(s[i]=[a[0]+t,a[1]+t])})}}function tqe(e,t){const r=new Map;for(const n of e)r.set(n,{hidden:!0});for(const[n,o]of t)for(const s of o)uv(r,s,{}).transferTo=n;return r}function rqe(e){const t=/(?\((?:\?<(?![=!])(?[^>]+)>|(?!\?)))|\\?./gsu,r=new Map;let n=0,o=0,s;for(;s=t.exec(e);){const{0:i,groups:{capture:a,name:l}}=s;i==="["?n++:n?i==="]"&&n--:a&&(o++,l&&r.set(o,l))}return r}function nqe(e,t){const r=oqe(e,t);return r.options?new Y9e(r.pattern,r.flags,r.options):new RegExp(r.pattern,r.flags)}function oqe(e,t){const r=wV(t),n=pV(e,{flags:r.flags,normalizeUnknownPropertyNames:!0,rules:{captureGroup:r.rules.captureGroup,singleline:r.rules.singleline},skipBackrefValidation:r.rules.allowOrphanBackrefs,unicodePropertyMap:vO}),o=T9e(n,{accuracy:r.accuracy,asciiWordBoundaries:r.rules.asciiWordBoundaries,avoidSubclass:r.avoidSubclass,bestEffortTarget:r.target}),s=F9e(o,r),i=w9e(s.pattern,{captureTransfers:s._captureTransfers,hiddenCaptures:s._hiddenCaptures,mode:"external"}),a=y9e(i.pattern),l=v9e(a.pattern,{captureTransfers:i.captureTransfers,hiddenCaptures:i.hiddenCaptures}),c={pattern:l.pattern,flags:`${r.hasIndices?"d":""}${r.global?"g":""}${s.flags}${s.options.disable.v?"u":"v"}`};if(r.avoidSubclass){if(r.lazyCompileLength!==1/0)throw new Error("Lazy compilation requires subclass")}else{const u=l.hiddenCaptures.sort((m,v)=>m-v),d=Array.from(l.captureTransfers),p=o._strategy,f=c.pattern.length>=r.lazyCompileLength;(u.length||d.length||p||f)&&(c.options={...u.length&&{hiddenCaptures:u},...d.length&&{transfers:d},...p&&{strategy:p},...f&&{lazyCompile:f}})}return c}function sqe(e,t){return nqe(e,{global:!0,hasIndices:!0,lazyCompileLength:3e3,rules:{allowOrphanBackrefs:!0,asciiWordBoundaries:!0,captureGroup:!0,recursionLimit:5,singleline:!0},...t})}function iqe(e={}){const t=Object.assign({target:"auto",cache:new Map},e);return t.regexConstructor||(t.regexConstructor=r=>sqe(r,{target:t.target})),{createScanner(r){return new xBe(r,t)},createString(r){return{content:r}}}}const $V=[{id:"abap",name:"ABAP",import:()=>ce(()=>import("./abap-Y8Dl9g_6.BdImnpbu.js"),[])},{id:"actionscript-3",name:"ActionScript",import:()=>ce(()=>import("./actionscript-3-DQVEcJUW.CoDkCxhg.js"),[])},{id:"ada",name:"Ada",import:()=>ce(()=>import("./ada-vP6ak0IW.bCR0ucgS.js"),[])},{id:"angular-html",name:"Angular HTML",import:()=>ce(()=>import("./angular-html-DPB4Rf0C.DESgnZjY.js"),__vite__mapDeps([2,3,4,5])).then(e=>e.f)},{id:"angular-ts",name:"Angular TypeScript",import:()=>ce(()=>import("./angular-ts-CTOR2ofC.ClihVIms.js"),__vite__mapDeps([6,2,3,4,5,7]))},{id:"apache",name:"Apache Conf",import:()=>ce(()=>import("./apache-BUjz-sD2.Pmp26Uib.js"),[])},{id:"apex",name:"Apex",import:()=>ce(()=>import("./apex-OyTfjCYK.D8_7TLub.js"),[])},{id:"apl",name:"APL",import:()=>ce(()=>import("./apl-CjNiDgad.By2JoYGR.js"),__vite__mapDeps([8,3,4,5,9,10,11]))},{id:"applescript",name:"AppleScript",import:()=>ce(()=>import("./applescript-BPx7YFFu.Co6uUVPk.js"),[])},{id:"ara",name:"Ara",import:()=>ce(()=>import("./ara-Z2fSOxSw.BRHolxvo.js"),[])},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>ce(()=>import("./asciidoc-C1T9ziH6.Ve4PFQV2.js"),[])},{id:"asm",name:"Assembly",import:()=>ce(()=>import("./asm-BTWLY5ym.D_Q5rh1f.js"),[])},{id:"astro",name:"Astro",import:()=>ce(()=>import("./astro-CFFExE8Q.D2C4GZx1.js"),__vite__mapDeps([12,11,4,13,5,14,15]))},{id:"awk",name:"AWK",import:()=>ce(()=>import("./awk-Fb0P9dkn.DMzUqQB5.js"),[])},{id:"ballerina",name:"Ballerina",import:()=>ce(()=>import("./ballerina-oZK-YekG.BFfxhgS-.js"),[])},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>ce(()=>import("./bat-0FvbqU9S.BkioyH1T.js"),[])},{id:"beancount",name:"Beancount",import:()=>ce(()=>import("./beancount-DqJEb89h.k_qm7-4y.js"),[])},{id:"berry",name:"Berry",aliases:["be"],import:()=>ce(()=>import("./berry-DODBq_Ff.uYugtg8r.js"),[])},{id:"bibtex",name:"BibTeX",import:()=>ce(()=>import("./bibtex-EULQRLY5.CHM0blh-.js"),[])},{id:"bicep",name:"Bicep",import:()=>ce(()=>import("./bicep-BorU73w0.Bmn6On1c.js"),[])},{id:"bird2",name:"BIRD2 Configuration",aliases:["bird"],import:()=>ce(()=>import("./bird2-CraR6qSn.D-8n_ahI.js"),[])},{id:"blade",name:"Blade",import:()=>ce(()=>import("./blade-D0HyNvCw.B22AUbhu.js"),__vite__mapDeps([16,17,3,4,5,9,10,18,11]))},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>ce(()=>import("./bsl-NkNNwerW.Bi1psIsY.js"),__vite__mapDeps([19,20]))},{id:"c",name:"C",import:()=>ce(()=>import("./c-eeMepfLm.BIGW1oBm.js"),[])},{id:"c3",name:"C3",import:()=>ce(()=>import("./c3-BY5XW5ym.eo99z4R2.js"),[])},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>ce(()=>import("./cadence-02UX7mW8.Bv_4Rxtq.js"),[])},{id:"cairo",name:"Cairo",import:()=>ce(()=>import("./cairo-DM6WF2e3.D1_L8Xgr.js"),__vite__mapDeps([21,22]))},{id:"clarity",name:"Clarity",import:()=>ce(()=>import("./clarity-PKm5CwqM.D53aC0YG.js"),[])},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>ce(()=>import("./clojure-CXJfHrL3.P80f7IUj.js"),[])},{id:"cmake",name:"CMake",import:()=>ce(()=>import("./cmake-BJz8BOTU.D1j8_8rp.js"),[])},{id:"cobol",name:"COBOL",import:()=>ce(()=>import("./cobol-DBolczTz.B27wNAoL.js"),__vite__mapDeps([23,3,4,5,10]))},{id:"codeowners",name:"CODEOWNERS",import:()=>ce(()=>import("./codeowners-Bt9yU6NX.Bp6g37R7.js"),[])},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>ce(()=>import("./codeql-DHkodjjI.DsOJ9woJ.js"),[])},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>ce(()=>import("./coffee-DGBR_nr_.C_2Gbh_i.js"),__vite__mapDeps([24,4]))},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>ce(()=>import("./common-lisp-EVqT9Zhp.Cg-RD9OK.js"),[])},{id:"coq",name:"Coq",import:()=>ce(()=>import("./coq-B0L9upzn.DkFqJrB1.js"),[])},{id:"cpp",name:"C++",aliases:["c++"],import:()=>ce(()=>import("./cpp-Cj177cuW.De-5Ift6.js"),__vite__mapDeps([25,26,27,28,18]))},{id:"crystal",name:"Crystal",import:()=>ce(()=>import("./crystal-CRJyc4G-.Cv5qkeAc.js"),__vite__mapDeps([29,3,4,5,18,28,30]))},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>ce(()=>import("./csharp-CCgA4A09.COcwbKMJ.js"),[])},{id:"css",name:"CSS",import:()=>ce(()=>import("./css-CECN5uSL.DPfMkruS.js"),[])},{id:"csv",name:"CSV",import:()=>ce(()=>import("./csv-CmYOceLb.Co7V7EpZ.js"),[])},{id:"cue",name:"CUE",import:()=>ce(()=>import("./cue-ZzumE7IT.D82EKSYY.js"),[])},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>ce(()=>import("./cypher-jpdmjtA6.COkxafJQ.js"),[])},{id:"d",name:"D",import:()=>ce(()=>import("./d-CBagWSwH.85-TOEBH.js"),[])},{id:"dart",name:"Dart",import:()=>ce(()=>import("./dart-6ObCrKr9.CF10PKvl.js"),[])},{id:"dax",name:"DAX",import:()=>ce(()=>import("./dax-CcDT-8dH.CEL-wOlO.js"),[])},{id:"desktop",name:"Desktop",import:()=>ce(()=>import("./desktop-B93p9R9O.BmXAJ9_W.js"),[])},{id:"diff",name:"Diff",import:()=>ce(()=>import("./diff-BxzP2J8R.D97Zzqfu.js"),[])},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>ce(()=>import("./docker-CsHqm9tx.BcOcwvcX.js"),[])},{id:"dotenv",name:"dotEnv",import:()=>ce(()=>import("./dotenv-BMjVjUL1.Da5cRb03.js"),[])},{id:"dream-maker",name:"Dream Maker",import:()=>ce(()=>import("./dream-maker-PAx17jaB.BtqSS_iP.js"),[])},{id:"edge",name:"Edge",import:()=>ce(()=>import("./edge-BYQkOzbF.BlTtajtD.js"),__vite__mapDeps([31,13,3,4,5,17]))},{id:"elixir",name:"Elixir",import:()=>ce(()=>import("./elixir-Dh036GMp.Bt_17l8z.js"),__vite__mapDeps([32,3,4,5]))},{id:"elm",name:"Elm",import:()=>ce(()=>import("./elm-BtNbw_Cd.CXIbmfSn.js"),__vite__mapDeps([33,27,28]))},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>ce(()=>import("./emacs-lisp-Cfxdx5D-.C9XAeP06.js"),[])},{id:"erb",name:"ERB",import:()=>ce(()=>import("./erb-ScVOXVpH.DBtFm1BM.js"),__vite__mapDeps([34,3,4,5,35,36,9,10,18,37,13,38,15,25,26,27,28,30,39,40]))},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>ce(()=>import("./erlang-DNcDT8Hi.BZf5DRJy.js"),__vite__mapDeps([41,42]))},{id:"fennel",name:"Fennel",import:()=>ce(()=>import("./fennel-N4WcXuKx.BYunw83y.js"),[])},{id:"fish",name:"Fish",import:()=>ce(()=>import("./fish-BTDEUgqH.BvzEVeQv.js"),[])},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>ce(()=>import("./fluent-BMXUxfv1.C4IJs8-o.js"),[])},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>ce(()=>import("./fortran-fixed-form-B67KFkXH.CDH49byh.js"),__vite__mapDeps([43,44]))},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>ce(()=>import("./fortran-free-form-CwqYvCLJ.BxgE0vQu.js"),[])},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>ce(()=>import("./fsharp-CYOiIVNx.CQbQ22yi.js"),__vite__mapDeps([45,42]))},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:()=>ce(()=>import("./gdresource-CvCIUjhi.BN-sfLSk.js"),__vite__mapDeps([46,47,48]))},{id:"gdscript",name:"GDScript",aliases:["gd"],import:()=>ce(()=>import("./gdscript-DSAxJ_aS.C5YyOfLZ.js"),[])},{id:"gdshader",name:"GDShader",import:()=>ce(()=>import("./gdshader-Bk8fF6yr.DkwncUOv.js"),[])},{id:"genie",name:"Genie",import:()=>ce(()=>import("./genie-DzUvd7U9.D0YGMca9.js"),[])},{id:"gherkin",name:"Gherkin",import:()=>ce(()=>import("./gherkin-DHRaV0YP.DyxjwDmM.js"),[])},{id:"git-commit",name:"Git Commit Message",import:()=>ce(()=>import("./git-commit-Bd32YZ0K.B_zh-QqN.js"),__vite__mapDeps([49,50]))},{id:"git-rebase",name:"Git Rebase Message",import:()=>ce(()=>import("./git-rebase-ZWUFO_T4.C1umF-NW.js"),__vite__mapDeps([51,30]))},{id:"gleam",name:"Gleam",import:()=>ce(()=>import("./gleam-Bv284lvN.BspZqrRM.js"),[])},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>ce(()=>import("./glimmer-js-DkxNrfPT.B-b35-8d.js"),__vite__mapDeps([52,4,13,5,3]))},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>ce(()=>import("./glimmer-ts-D6YZEmK_.Se2tVUnQ.js"),__vite__mapDeps([53,13,5,4,3]))},{id:"glsl",name:"GLSL",import:()=>ce(()=>import("./glsl-CkUcVZNK.CSaOZ92O.js"),__vite__mapDeps([27,28]))},{id:"gn",name:"GN",import:()=>ce(()=>import("./gn-XtJxiLa4.n2N0HUVH.js"),[])},{id:"gnuplot",name:"Gnuplot",import:()=>ce(()=>import("./gnuplot-yPG9-sE_.DdkO51Og.js"),[])},{id:"go",name:"Go",import:()=>ce(()=>import("./go-CvFNMTvu.CxLEBnE3.js"),[])},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>ce(()=>import("./graphql-CBu2ehBn.DnJ3pOcc.js"),__vite__mapDeps([37,4,13,38,15]))},{id:"groovy",name:"Groovy",import:()=>ce(()=>import("./groovy-CJQTphOW.gcz8RCvz.js"),[])},{id:"hack",name:"Hack",import:()=>ce(()=>import("./hack-ItRNKiEb.CGIm0b5K.js"),__vite__mapDeps([54,3,4,5,18]))},{id:"haml",name:"Ruby Haml",import:()=>ce(()=>import("./haml-NZLVzu_R.CwCNWgR-.js"),__vite__mapDeps([36,4,5]))},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>ce(()=>import("./handlebars-mxStpSE7.B6AqvhLx.js"),__vite__mapDeps([55,3,4,5,40]))},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>ce(()=>import("./haskell-WeIwNIP6.Df6bDoY_.js"),[])},{id:"haxe",name:"Haxe",import:()=>ce(()=>import("./haxe-TztHsm5T.CzTSHFRz.js"),[])},{id:"hcl",name:"HashiCorp HCL",import:()=>ce(()=>import("./hcl-D438OF-I.BWvSN4gD.js"),[])},{id:"hjson",name:"Hjson",import:()=>ce(()=>import("./hjson-DYBUbqOl.D5-asLiD.js"),[])},{id:"hlsl",name:"HLSL",import:()=>ce(()=>import("./hlsl-Bk8TCZNL.D3lLCCz7.js"),[])},{id:"html",name:"HTML",import:()=>ce(()=>import("./html-B50bmoVb.5itfvePp.js"),__vite__mapDeps([3,4,5]))},{id:"html-derivative",name:"HTML (Derivative)",import:()=>ce(()=>import("./html-derivative-C6bxFbFW.Mh7OQFDx.js"),__vite__mapDeps([17,3,4,5]))},{id:"http",name:"HTTP",import:()=>ce(()=>import("./http-DLvAkeD-.B-3JyST8.js"),__vite__mapDeps([56,30,11,9,10,37,4,13,38,15]))},{id:"hurl",name:"Hurl",import:()=>ce(()=>import("./hurl-CgkFN90t.Ciy-8C2E.js"),__vite__mapDeps([57,37,4,13,38,15,9,10,58]))},{id:"hxml",name:"HXML",import:()=>ce(()=>import("./hxml-GbqSQCLa.CZX2AIRF.js"),__vite__mapDeps([59,60]))},{id:"hy",name:"Hy",import:()=>ce(()=>import("./hy-Brt5EZ7-.DFXneXwc.js"),[])},{id:"imba",name:"Imba",import:()=>ce(()=>import("./imba-CimUv-Uh.DGztddWO.js"),[])},{id:"ini",name:"INI",aliases:["properties"],import:()=>ce(()=>import("./ini-BZIuRIvJ.BEwlwnbL.js"),[])},{id:"java",name:"Java",import:()=>ce(()=>import("./java-DY6VlHhP.CylS5w8V.js"),[])},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:()=>ce(()=>import("./javascript-C25yR2R2.wDzz0qaB.js"),[])},{id:"jinja",name:"Jinja",import:()=>ce(()=>import("./jinja-CFW5uAwY.ByuzBqu1.js"),__vite__mapDeps([61,3,4,5]))},{id:"jison",name:"Jison",import:()=>ce(()=>import("./jison-DdreslRX.nxeSEs3j.js"),__vite__mapDeps([62,4]))},{id:"json",name:"JSON",import:()=>ce(()=>import("./json-DxJze_jm.Cp-IABpG.js"),[])},{id:"json5",name:"JSON5",import:()=>ce(()=>import("./json5-BT4Fjg39.C9tS-k6U.js"),[])},{id:"jsonc",name:"JSON with Comments",import:()=>ce(()=>import("./jsonc-CHjZD8gR.Des-eS-w.js"),[])},{id:"jsonl",name:"JSON Lines",import:()=>ce(()=>import("./jsonl-BGuvDmy9.DcaNXYhu.js"),[])},{id:"jsonnet",name:"Jsonnet",import:()=>ce(()=>import("./jsonnet-Bx2cfsXg.DFQXde-d.js"),[])},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>ce(()=>import("./jssm-BcADi6EI.C2t-YnRu.js"),[])},{id:"jsx",name:"JSX",import:()=>ce(()=>import("./jsx-BtKADgXT.g9-lgVsj.js"),[])},{id:"julia",name:"Julia",aliases:["jl"],import:()=>ce(()=>import("./julia-CZiKXNNP.BkVwBpLe.js"),__vite__mapDeps([63,25,26,27,28,18,22,4,64]))},{id:"just",name:"Just",import:()=>ce(()=>import("./just-CEK2SJ_k.BwuhYwfc.js"),__vite__mapDeps([65,30,4,13,66,3,5,9,10,18,22,35,36,37,38,15,25,26,27,28,39,40]))},{id:"kdl",name:"KDL",import:()=>ce(()=>import("./kdl-BNOv9TC3.U6gkEhfw.js"),[])},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>ce(()=>import("./kotlin-ByBMgTeR.BdnUsdx6.js"),[])},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>ce(()=>import("./kusto-DH_XitHS.DZf3V79B.js"),[])},{id:"latex",name:"LaTeX",import:()=>ce(()=>import("./latex-B8Egmqc5.DuG8MMkm.js"),__vite__mapDeps([67,68,64]))},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>ce(()=>import("./lean-BnVxaZxY.BZvkOJ9d.js"),[])},{id:"less",name:"Less",import:()=>ce(()=>import("./less-B1GLI2Di.B1dDrJ26.js"),[])},{id:"liquid",name:"Liquid",import:()=>ce(()=>import("./liquid-CHzkx3jT.B1uKXIcK.js"),__vite__mapDeps([69,3,4,5,11]))},{id:"llvm",name:"LLVM IR",import:()=>ce(()=>import("./llvm-Bk2XctFf.DjAJT7YJ.js"),[])},{id:"log",name:"Log file",import:()=>ce(()=>import("./log-Al8wyEFV.2UxHyX5q.js"),[])},{id:"logo",name:"Logo",import:()=>ce(()=>import("./logo-DBa4JDzV.BtOb2qkB.js"),[])},{id:"lua",name:"Lua",import:()=>ce(()=>import("./lua-Bp3IRv7I.Dsg1hLJt.js"),__vite__mapDeps([39,28]))},{id:"luau",name:"Luau",import:()=>ce(()=>import("./luau-UQyhudEE.C-HG3fhB.js"),[])},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>ce(()=>import("./make-CsMclxtr.CHLpvVh8.js"),[])},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>ce(()=>import("./markdown-CrScaQ96.Cvjx9yec.js"),[])},{id:"marko",name:"Marko",import:()=>ce(()=>import("./marko-CJBA24Ri.CEUdhXun.js"),__vite__mapDeps([70,5,71,7,13]))},{id:"matlab",name:"MATLAB",import:()=>ce(()=>import("./matlab-BOAaUVP0.D7o27uSR.js"),[])},{id:"mdc",name:"MDC",import:()=>ce(()=>import("./mdc-C9YSUwVC.QDiAWeOc.js"),__vite__mapDeps([72,42,40,17,3,4,5]))},{id:"mdx",name:"MDX",import:()=>ce(()=>import("./mdx-BOhZZUJ8.Cmh6b_Ma.js"),[])},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>ce(()=>import("./mermaid-C3rz4dYh.mWjccvbQ.js"),[])},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>ce(()=>import("./mipsasm-CTx18fBl.CKIfxQSi.js"),[])},{id:"mojo",name:"Mojo",import:()=>ce(()=>import("./mojo-EIZIZRTQ.rZm6bMo-.js"),[])},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:()=>ce(()=>import("./moonbit-B1TV0fG3._H4v1dQx.js"),[])},{id:"move",name:"Move",import:()=>ce(()=>import("./move-Db4ltDq1.IF9eRakj.js"),[])},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>ce(()=>import("./narrat-DmhDCBs-.DRg8JJMk.js"),[])},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>ce(()=>import("./nextflow-47kAzSl1.DTaQeSIP.js"),__vite__mapDeps([73,74]))},{id:"nextflow-groovy",name:"nextflow-groovy",import:()=>ce(()=>import("./nextflow-groovy-Drz_2V0j.BeH2EWoN.js"),[])},{id:"nginx",name:"Nginx",import:()=>ce(()=>import("./nginx-D7O4WoB1.BLs5wP_5.js"),__vite__mapDeps([75,39,28]))},{id:"nim",name:"Nim",import:()=>ce(()=>import("./nim-QAjRdh9w.BmsfyvWw.js"),__vite__mapDeps([76,28,3,4,5,9,10,27,42]))},{id:"nix",name:"Nix",import:()=>ce(()=>import("./nix-fTRXMGic.CwoSXNpI.js"),[])},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>ce(()=>import("./nushell-BGCPRlV5.Cz2AlsmD.js"),[])},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>ce(()=>import("./objective-c-Itk8tzmv.DXmwc3jG.js"),[])},{id:"objective-cpp",name:"Objective-C++",import:()=>ce(()=>import("./objective-cpp-DGt5UKRO.CLxacb5B.js"),[])},{id:"ocaml",name:"OCaml",import:()=>ce(()=>import("./ocaml-eSVK32Eg.C0hk2d4L.js"),[])},{id:"odin",name:"Odin",import:()=>ce(()=>import("./odin-BItnF517.BBf5iR-q.js"),[])},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:()=>ce(()=>import("./openscad-Sp5uZ6f2.C4EeE6gA.js"),[])},{id:"pascal",name:"Pascal",import:()=>ce(()=>import("./pascal-xy8pJNns.D93ZcfNL.js"),[])},{id:"perl",name:"Perl",import:()=>ce(()=>import("./perl-DkVrgJBg.XkcgxGZs.js"),__vite__mapDeps([66,3,4,5,9,10,18]))},{id:"php",name:"PHP",import:()=>ce(()=>import("./php-BIzsF_5x.BVktt7F6.js"),__vite__mapDeps([77,3,4,5,9,10,18,11]))},{id:"pkl",name:"Pkl",import:()=>ce(()=>import("./pkl-C-zSNmaA.u5AG7uiY.js"),[])},{id:"plsql",name:"PL/SQL",import:()=>ce(()=>import("./plsql-pVbGZfOv.ChMvpjG-.js"),[])},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>ce(()=>import("./po-BNfHvqmm.BTJTHyun.js"),[])},{id:"polar",name:"Polar",import:()=>ce(()=>import("./polar-CAZahv3u.C0HS_06l.js"),[])},{id:"postcss",name:"PostCSS",import:()=>ce(()=>import("./postcss-05aHdL-n.CXtECtnM.js"),[])},{id:"powerquery",name:"PowerQuery",import:()=>ce(()=>import("./powerquery-DI9HkTvs.CEu0bR-o.js"),[])},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>ce(()=>import("./powershell-Clc4ydu-.Dpen1YoG.js"),[])},{id:"prisma",name:"Prisma",import:()=>ce(()=>import("./prisma-FZjmVtSl.Dd19v3D-.js"),[])},{id:"prolog",name:"Prolog",import:()=>ce(()=>import("./prolog-C5-yg4TO.CbFg5uaA.js"),[])},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>ce(()=>import("./proto-C7QgialS.C7zT0LnQ.js"),[])},{id:"pug",name:"Pug",aliases:["jade"],import:()=>ce(()=>import("./pug-XOw9Q1Ho.DbVWXRvf.js"),__vite__mapDeps([78,4,5,3]))},{id:"puppet",name:"Puppet",import:()=>ce(()=>import("./puppet-CUJHmnxV.BMWR74SV.js"),[])},{id:"purescript",name:"PureScript",import:()=>ce(()=>import("./purescript-rUfGld-4.CklMAg4u.js"),[])},{id:"python",name:"Python",aliases:["py"],import:()=>ce(()=>import("./python-BFNSHbwJ.B6aJPvgy.js"),[])},{id:"qml",name:"QML",import:()=>ce(()=>import("./qml-rTNXsquU.D7cb-65z.js"),__vite__mapDeps([79,4]))},{id:"qmldir",name:"QML Directory",import:()=>ce(()=>import("./qmldir-BInDYbpo.C8lEn-DE.js"),[])},{id:"qss",name:"Qt Style Sheets",import:()=>ce(()=>import("./qss-AeJTysr_.IeuSbFQv.js"),[])},{id:"r",name:"R",import:()=>ce(()=>import("./r-CSmzDPi7.Dspwwk_N.js"),[])},{id:"racket",name:"Racket",import:()=>ce(()=>import("./racket-B83wSAja.BqYA7rlc.js"),[])},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>ce(()=>import("./raku-nEQ4ZJJ7.DXvB9xmW.js"),[])},{id:"razor",name:"ASP.NET Razor",import:()=>ce(()=>import("./razor-Ci8D0dQK.DUnMO2ts.js"),__vite__mapDeps([80,3,4,5,81]))},{id:"reg",name:"Windows Registry Script",import:()=>ce(()=>import("./reg-m_s_Kiip.C-SQnVFl.js"),[])},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>ce(()=>import("./regexp-BazyLpPg.CDVJQ6XC.js"),[])},{id:"rel",name:"Rel",import:()=>ce(()=>import("./rel-BcRfyd6Q.C3B-1QV4.js"),[])},{id:"riscv",name:"RISC-V",import:()=>ce(()=>import("./riscv-Ce8MAQLP.BM1_JUlF.js"),[])},{id:"ron",name:"RON",import:()=>ce(()=>import("./ron-DCEEQypA.D8l8udqQ.js"),[])},{id:"rosmsg",name:"ROS Interface",import:()=>ce(()=>import("./rosmsg-Cz0w1km8.BJDFO7_C.js"),[])},{id:"rst",name:"reStructuredText",import:()=>ce(()=>import("./rst-DM32Wy3O.n0qpWXJ4.js"),__vite__mapDeps([82,17,3,4,5,25,26,27,28,18,22,30,40,83,35,36,9,10,37,13,38,15,39]))},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>ce(()=>import("./ruby-BeqCs27h.B7Un6byt.js"),__vite__mapDeps([35,3,4,5,36,9,10,18,37,13,38,15,25,26,27,28,30,39,40]))},{id:"rust",name:"Rust",aliases:["rs"],import:()=>ce(()=>import("./rust-CLzF9zIN.B1yitclQ.js"),[])},{id:"sas",name:"SAS",import:()=>ce(()=>import("./sas-fpEvgATw.DGFTbZf0.js"),__vite__mapDeps([84,18]))},{id:"sass",name:"Sass",import:()=>ce(()=>import("./sass-DxHp5rTx.Cj5Yp3dK.js"),[])},{id:"scala",name:"Scala",import:()=>ce(()=>import("./scala-D4grkFkl.C151Ov-r.js"),[])},{id:"scheme",name:"Scheme",import:()=>ce(()=>import("./scheme-BCRWuEm4.C98Dy4si.js"),[])},{id:"scss",name:"SCSS",import:()=>ce(()=>import("./scss-B1FaCqwR.Ck2k-5yS.js"),__vite__mapDeps([7,5]))},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>ce(()=>import("./sdbl-B7T8abf4.DVxCFoDh.js"),[])},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>ce(()=>import("./shaderlab-Cr62-Wb4.Dg-YLyZM.js"),__vite__mapDeps([85,86]))},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>ce(()=>import("./shellscript-InADTalH.Yzrsuije.js"),[])},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>ce(()=>import("./shellsession-DiDJNQdy.6b8mv5tD.js"),__vite__mapDeps([87,30]))},{id:"smalltalk",name:"Smalltalk",import:()=>ce(()=>import("./smalltalk-BlI1_OkM.BERRCDM3.js"),[])},{id:"solidity",name:"Solidity",import:()=>ce(()=>import("./solidity-DUWnFhS6.rGO070M0.js"),[])},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>ce(()=>import("./soy-C1-6njHa.bBoLPmyR.js"),__vite__mapDeps([88,3,4,5]))},{id:"sparql",name:"SPARQL",import:()=>ce(()=>import("./sparql-B0KWFEri.C0kn9QnI.js"),__vite__mapDeps([89,90]))},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>ce(()=>import("./splunk-CRXR8A9s.BtCnVYZw.js"),[])},{id:"sql",name:"SQL",import:()=>ce(()=>import("./sql-Cn_v3PB0.BLtJtn59.js"),[])},{id:"ssh-config",name:"SSH Config",import:()=>ce(()=>import("./ssh-config-DP-hNVbF._ykCGR6B.js"),[])},{id:"stata",name:"Stata",import:()=>ce(()=>import("./stata-B8c5fTjX.B5gLgQfq.js"),__vite__mapDeps([91,18]))},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>ce(()=>import("./stylus-CyKEU1Ej.BEDo0Tqx.js"),[])},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:()=>ce(()=>import("./surrealql-CQi7GQN7.DwxZRr_q.js"),__vite__mapDeps([92,4]))},{id:"svelte",name:"Svelte",import:()=>ce(()=>import("./svelte-rYri41WT.DUX-c_w_.js"),__vite__mapDeps([93,4,13,5,14]))},{id:"swift",name:"Swift",import:()=>ce(()=>import("./swift-DJpUqPLg.D82vCrfD.js"),[])},{id:"system-verilog",name:"SystemVerilog",import:()=>ce(()=>import("./system-verilog-BCm7smPJ.CnnmHF94.js"),[])},{id:"systemd",name:"Systemd Units",import:()=>ce(()=>import("./systemd-C-4qm6XH.4A_iFExJ.js"),[])},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>ce(()=>import("./talonscript-CFF3LF_O.Cc6Jm0TJ.js"),[])},{id:"tasl",name:"Tasl",import:()=>ce(()=>import("./tasl-Cg_WBUAe.QIJgUcNo.js"),[])},{id:"tcl",name:"Tcl",import:()=>ce(()=>import("./tcl-DN7buRTF.dwOrl1Do.js"),[])},{id:"templ",name:"Templ",import:()=>ce(()=>import("./templ-Crs9Ui8q.DWxMd01m.js"),__vite__mapDeps([94,95,4,5]))},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>ce(()=>import("./terraform-DGvcn9zM.BETggiCN.js"),[])},{id:"tex",name:"TeX",import:()=>ce(()=>import("./tex-AHxmLTL0.CvqJy4qb.js"),__vite__mapDeps([68,64]))},{id:"toml",name:"TOML",import:()=>ce(()=>import("./toml-DY62mUL_.vGWfd6FD.js"),[])},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>ce(()=>import("./ts-tags-BUclWxCG.CZyjpXn1.js"),__vite__mapDeps([96,13,5,4,27,28,3,18,9,10]))},{id:"tsv",name:"TSV",import:()=>ce(()=>import("./tsv-BtvSkaG0.B_m7g4N7.js"),[])},{id:"tsx",name:"TSX",import:()=>ce(()=>import("./tsx-B8rCNbgL.COt5Ahok.js"),[])},{id:"turtle",name:"Turtle",import:()=>ce(()=>import("./turtle-_H59FV7D.BsS91CYL.js"),[])},{id:"twig",name:"Twig",import:()=>ce(()=>import("./twig-DwV2Fi4L.Cs5KKVgC.js"),__vite__mapDeps([97,5,4,7,77,3,9,10,18,11,22,35,36,37,13,38,15,25,26,27,28,30,39,40]))},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:()=>ce(()=>import("./typescript-RycA9KXf.BPQ3VLAy.js"),[])},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>ce(()=>import("./typespec-DWqp-kUU.BGHnOYBU.js"),[])},{id:"typst",name:"Typst",aliases:["typ"],import:()=>ce(()=>import("./typst-D_1QKWns.DHCkPAjA.js"),[])},{id:"v",name:"V",import:()=>ce(()=>import("./v-BPCNiyYe.BcVCzyr7.js"),[])},{id:"vala",name:"Vala",import:()=>ce(()=>import("./vala-uxaPR7d1.CsfeWuGM.js"),[])},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>ce(()=>import("./vb-D8_c5-KN.D17OF-Vu.js"),[])},{id:"verilog",name:"Verilog",import:()=>ce(()=>import("./verilog-B-bybjPF.BQ8w6xss.js"),[])},{id:"vhdl",name:"VHDL",import:()=>ce(()=>import("./vhdl-CUlNa8ac.CeAyd5Ju.js"),[])},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>ce(()=>import("./viml-DsfA-sWm.CJc9bBzg.js"),[])},{id:"vue",name:"Vue",import:()=>ce(()=>import("./vue-DXEmyXn9.BYsJrqyF.js"),__vite__mapDeps([98,5,4,13,11,3,17]))},{id:"vue-html",name:"Vue HTML",import:()=>ce(()=>import("./vue-html-j9xNEdu3.pBkLY7_g.js"),__vite__mapDeps([99,4]))},{id:"vue-vine",name:"Vue Vine",import:()=>ce(()=>import("./vue-vine-D41-N99t.DPWpdtYA.js"),__vite__mapDeps([100,5,7,71,101,14,4]))},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>ce(()=>import("./vyper-CPQuu50u.CDx5xZoG.js"),[])},{id:"wasm",name:"WebAssembly",import:()=>ce(()=>import("./wasm-BBXxrAl7.MzD3tlZU.js"),[])},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>ce(()=>import("./wenyan-pbVjoM9_.BV7otONQ.js"),[])},{id:"wgsl",name:"WGSL",import:()=>ce(()=>import("./wgsl-DY4iK1q1.Dx-B1_4e.js"),[])},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>ce(()=>import("./wikitext-Z-MoUasO.BhOHFoWU.js"),[])},{id:"wit",name:"WebAssembly Interface Types",import:()=>ce(()=>import("./wit-CQMQOlTg.5i3qLPDT.js"),[])},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>ce(()=>import("./wolfram-Dz4KXISs.lXgVvXCa.js"),[])},{id:"xml",name:"XML",import:()=>ce(()=>import("./xml-C2J0sS9M.D2gdfNFA.js"),__vite__mapDeps([9,10]))},{id:"xsl",name:"XSL",import:()=>ce(()=>import("./xsl-BmSZphgC.jxtCyhIJ.js"),__vite__mapDeps([102,9,10]))},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>ce(()=>import("./yaml-DaO7k5B1.Buea-lGh.js"),[])},{id:"zenscript",name:"ZenScript",import:()=>ce(()=>import("./zenscript-CxBjpf9c.DVFEvuxE.js"),[])},{id:"zig",name:"Zig",import:()=>ce(()=>import("./zig-Vm0PO9wB.VOosw3JB.js"),[])}],aqe=Object.fromEntries($V.map(e=>[e.id,e.import])),lqe=Object.fromEntries($V.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(r=>[r,e.import]))||[]})),SN={...aqe,...lqe},cqe=["json","xml","markdown"];let pi=null,Sm=null;const W0=new Map,G0=Oe(!0);function TV(){function e(){return Sm||(Sm=(async()=>{var i,a;try{if(pi){G0.value=!1;return}const l=kn(),c=await Promise.all(cqe.map(async u=>{const d=SN[u];if(!d)return[];try{return(await d()).default}catch{return[]}}));if(pi=await wBe({themes:[(i=l.getHighlighterTheme())==null?void 0:i.light,(a=l.getHighlighterTheme())==null?void 0:a.dark],langs:c.filter(Boolean).flat(),engine:iqe({target:"ES2018"})}),!pi)throw new Error("Failed to create Shiki highlighter");G0.value=!1}catch(l){throw Sm=null,l}})(),Sm)}async function t(i){try{await e()}catch(c){return console.error("Failed to initialize Shiki:",c),!1}if(!pi)return!1;if(pi.getLoadedLanguages().includes(i))return!0;const a=W0.get(i);if(a)return a;const l=(async()=>{const c=SN[i];if(!c)return console.warn(`Shiki language "${i}" not available.`),!1;try{const u=await c();return await pi.loadLanguage(u.default),!0}catch(u){return console.error(`Failed to load Shiki language "${i}":`,u),!1}finally{W0.delete(i)}})();return W0.set(i,l),l}function r(){return pi!==null}function n(i){return(pi==null?void 0:pi.getLoadedLanguages().includes(i))??!1}function o(i,{lang:a,theme:l}){return pi&&pi.getLoadedLanguages().includes(a)?pi.codeToHtml(i,{lang:a,theme:l}):`
${i}
`}function s(){pi=null,Sm=null,W0.clear(),G0.value=!0}return{loading:G0,renderShiki:o,init:e,ensureLanguage:t,isReady:r,isLanguageLoaded:n,reset:s,initShiki:async()=>{console.warn("initShiki is deprecated, use init instead"),await e()}}}const uqe=["innerHTML"],dqe={__name:"OAShiki",props:{code:{type:[String,Object,Array,Number,Boolean],required:!0},lang:{type:String,required:!0}},setup(e){const t=e,r=/background-color:[^;]+;/g,n=kn().isDark,o=TV(),s=Oe(null);return cr([()=>t.code,()=>t.lang,()=>n.value],async()=>{const i=typeof t.code=="string"?t.code:JSON.stringify(t.code,null,2);await o.ensureLanguage(t.lang);const a=o.renderShiki(i,{lang:t.lang,theme:n.value?"vitesse-dark":"vitesse-light"});s.value=a.replace(r,"background-color:transparent;")},{immediate:!0}),(i,a)=>(E(),K("div",{innerHTML:s.value},null,8,uqe))}},pqe={class:"lang"},fqe={key:2},bO={__name:"OACodeBlock",props:{code:{type:[String,Object,Array,Number,Boolean],required:!0},lang:{type:String,required:!0},label:{type:String,default:""},disableHtmlTransform:{type:Boolean,default:!1},active:{type:Boolean,default:!1}},setup(e){const t=e,r=kn(),n=le(()=>r.getJsonViewerRenderer()),o=le(()=>t.lang==="json"&&!t.disableHtmlTransform&&n.value==="vue-json-pretty"),s=le(()=>t.disableHtmlTransform?!1:t.lang!=="json"||n.value==="shiki");return(i,a)=>(E(),K("div",{class:Nt(["vp-adaptive-theme min-h-16",[`language-${t.lang}`]])},[a[0]||(a[0]=ue("button",{title:"Copy Code",class:"copy"},null,-1)),ue("span",pqe,ze(t.label),1),o.value?(E(),ve(_R,{key:0,code:t.code},null,8,["code"])):s.value?(E(),ve(dqe,{key:1,code:t.code,lang:t.lang},null,8,["code","lang"])):(E(),K("pre",fqe,[ue("code",null,ze(t.code),1)]))],2))}},hqe=["src","alt"],mqe=["aria-label"],gqe=["src","type"],vqe={key:3},yqe={key:4},bqe={class:"whitespace-pre-wrap"},wqe=Te({__name:"OAPlaygroundResponseContent",props:{response:{}},setup(e){const t=e,{t:r}=Jn(),n=k=>le(()=>k.test(t.response.type)),o=n(/json/i),s=n(/xml/i),i=n(/text\/html/i),a=n(/text\/plain/i),l=n(/text\/csv/i),c=n(/^image\//i),u=n(/^audio\//i),d=k=>{if(!t.response.headers)return null;const x=Object.entries(t.response.headers).find(([j])=>j.toLowerCase()===k.toLowerCase());return x?x[1]:null},p=le(()=>d("content-disposition")??""),f=le(()=>V5(t.response.type,p.value)),m=le(()=>o.value?"json":s.value?"xml":i.value?"html":a.value?"plaintext":l.value?"csv":"plaintext"),v=le(()=>o.value?"JSON":s.value?"XML":i.value?"HTML":a.value?"Plain Text":l.value?"CSV":"Plain Text"),g=Oe("");cr(()=>t.response,()=>{u.value&&t.response.body instanceof Blob?g.value=URL.createObjectURL(t.response.body):g.value=""},{immediate:!0}),Ch(()=>{g.value&&URL.revokeObjectURL(g.value)});const y=le(()=>t.response.body&&JSON.stringify(t.response.body).length>1e3),b=le(()=>{const k=d("content-disposition");return P8e(k,"response_file")}),w=(k,x)=>{let j;k instanceof Blob?j=k:typeof k=="string"?j=new Blob([k],{type:"application/octet-stream"}):j=new Blob([JSON.stringify(k)],{type:"application/octet-stream"});const _=URL.createObjectURL(j),C=document.createElement("a");C.href=_,C.download=x,C.click(),URL.revokeObjectURL(_)};return(k,x)=>(E(),K("div",null,[S(o)||S(s)||S(i)||S(a)||S(l)?(E(),ve(bO,{key:0,code:t.response.body,lang:m.value,label:v.value,"disable-html-transform":y.value,active:"",class:"!m-0"},null,8,["code","lang","label","disable-html-transform"])):S(c)?(E(),K("img",{key:1,src:t.response.body,alt:S(r)("Response Image"),style:{"max-width":"100%"}},null,8,hqe)):S(u)?(E(),K("audio",{key:2,controls:"",class:"w-full mt-2","aria-label":S(r)("Audio response")},[ue("source",{src:g.value,type:t.response.type},null,8,gqe),Vt(" "+ze(S(r)("Your browser does not support the audio element.")),1)],8,mqe)):f.value?(E(),K("div",vqe,[ue("button",{type:"button","aria-label":"Download file",onClick:x[0]||(x[0]=j=>w(t.response.body,b.value))},ze(S(r)("Download file")),1)])):(E(),K("div",yqe,[ue("p",null,ze(S(r)("Unrecognized response type. Raw content:")),1),ue("pre",bqe,ze(t.response.body),1)]))]))}}),xqe={key:0,open:""},kqe={class:"!my-0 text-lg font-bold cursor-pointer"},jqe={class:"inline-flex items-center gap-2 w-[calc(100%-24px)]"},_qe={class:"flex flex-col gap-2"},Sqe={key:0,class:"text-sm text-muted-foreground"},Cqe={class:"flex flex-col max-h-96 overflow-y-auto"},Aqe=Te({__name:"OAPlaygroundResponse",props:{response:{type:null,required:!1},loading:{type:Boolean,default:!1}},setup(e){const{t}=Jn();return(r,n)=>e.response||e.loading?(E(),K("details",xqe,[ue("summary",kqe,[ue("div",jqe,[ue("span",null,ze(e.loading?S(t)("Loading"):S(t)("Response")),1),n[0]||(n[0]=ue("span",{class:"flex-1"},null,-1)),e.response&&e.response.status?(E(),ve(S(Pc),{key:0,variant:"plain",class:Nt(["rounded py-1.5",{"bg-green-100 text-green-800 dark:bg-green-800 dark:text-green-100":String(e.response.status).startsWith("2"),"bg-yellow-100 text-yellow-800 dark:bg-yellow-800 dark:text-yellow-100":String(e.response.status).startsWith("3"),"bg-red-100 text-red-800 dark:bg-red-800 dark:text-red-100":String(e.response.status).startsWith("4")||String(e.response.status).startsWith("5")}])},{default:U(()=>[Vt(ze(e.response.status),1)]),_:1},8,["class"])):je("",!0)])]),ue("div",_qe,[e.response?(E(),K("div",Sqe,ze(S(t)("Response time"))+": "+ze(e.loading?S(t)("Loading"):`${e.response.time}ms`),1)):je("",!0),ue("div",Cqe,[e.response?(E(),ve(wqe,{key:0,response:e.response},null,8,["response"])):je("",!0)])])])):je("",!0)}}),Eqe={class:"flex flex-col gap-2"},Oqe={class:"flex flex-col gap-2"},PV=Te({__name:"OAPlayground",props:{operationId:{type:String,required:!0},path:{type:String,required:!0},method:{type:String,required:!0},hideEndpoint:{type:Boolean,default:!1},servers:{type:Array,default:()=>[]},parameters:{type:Array,required:!1},requestBody:{type:Object,required:!1},securityUi:{type:Object,required:!0},headingPrefix:{type:String,required:!1,default:""}},setup(e){const t=e,{loading:r,response:n,submitRequest:o,cleanupImageUrls:s}=kv(),i=_i(Th),{t:a}=Jn(),l=le(()=>!!t.requestBody),c=le(()=>Object.keys(t.securityUi??{}).length>0),u=le(()=>{var y;return!!((y=t.parameters)!=null&&y.length||l.value||c.value)}),d=kn(),p=le(()=>d.getOperationCols()),f=le(()=>d.getPlaygroundExamplesBehavior()),m=le(()=>d.getPlaygroundXExampleBehavior()),v=le(()=>{var b,w,k,x,j;const y=i.requestBody.selectedContentType.value;return!y||!((w=(b=t.requestBody)==null?void 0:b.content)!=null&&w[y])?{}:(j=(x=(k=t.requestBody)==null?void 0:k.content)==null?void 0:x[y])==null?void 0:j.examples});async function g(){i.playground.request.value&&await o({request:i.playground.request.value,method:t.method,baseUrl:i.playground.selectedServer.value,path:t.path,operationId:t.operationId})}return Ch(()=>{s()}),(y,b)=>(E(),K("div",Eqe,[ye(Rs,{level:"h2",prefix:e.headingPrefix,class:Nt(["block",{"sm:hidden":p.value===2}])},{default:U(()=>[Vt(ze(S(a)("Playground")),1)]),_:1},8,["prefix","class"]),u.value?(E(),ve(O8e,{key:0,"operation-id":t.operationId,path:t.path,method:t.method,servers:t.servers,parameters:t.parameters,"security-ui":t.securityUi,examples:v.value,"example-behavior":f.value,"x-example-behavior":m.value,"request-body":t.requestBody,onSubmit:g},null,8,["operation-id","path","method","servers","parameters","security-ui","examples","example-behavior","x-example-behavior","request-body"])):je("",!0),ue("div",Oqe,[ye(S(Wm),{variant:"primary",onClick:g},{default:U(()=>[Vt(ze(S(a)("Try it out")),1)]),_:1}),S(n)||S(r)?(E(),ve(Aqe,{key:0,response:S(n),loading:S(r)},null,8,["response","loading"])):je("",!0)])]))}}),$qe={key:1,class:"ml-auto max-w-40 hover:max-w-full truncate transition-all duration-200 ease-in-out"},Tqe={class:"h-6 text-xs rounded-md bg-muted px-3 py-1"},IV={__name:"OAContentTypeSelect",props:{id:{type:String,required:!0},contentType:{type:String,required:!0},contentTypes:{type:Array,required:!0},modelValue:{type:String,default:""}},emits:["update:modelValue"],setup(e,{emit:t}){const r=e,n=t,o=Oe(r.modelValue||r.contentType||(r.contentTypes.length>0?r.contentTypes[0]:void 0));return cr(o,s=>{n("update:modelValue",s)}),cr(()=>r.modelValue,s=>{s!==o.value&&(o.value=s)}),(s,i)=>(E(),K("div",null,[e.contentTypes.length>1?(E(),ve(S(Cp),{key:0,modelValue:o.value,"onUpdate:modelValue":i[0]||(i[0]=a=>o.value=a)},{default:U(()=>[ye(S(Tp),{"aria-label":"Content-Type",class:"h-6 text-xs"},{default:U(()=>[ye(S($h),null,{default:U(()=>[Vt(ze(o.value),1)]),_:1})]),_:1}),ye(S(Ap),null,{default:U(()=>[ye(S(Ep),null,{default:U(()=>[(E(!0),K(dt,null,zt(e.contentTypes,(a,l)=>(E(),ve(S($p),{key:l,value:a},{default:U(()=>[Vt(ze(a),1)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["modelValue"])):(E(),K("div",$qe,[ue("span",Tqe,ze(o.value),1)]))]))}},DV=Te({__name:"Collapsible",props:{defaultOpen:{type:Boolean},open:{type:Boolean},disabled:{type:Boolean},unmountOnHide:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["update:open"],setup(e,{emit:t}){const r=Gc(e,t);return(n,o)=>(E(),ve(S(mpe),Mn(Nn(S(r))),{default:U(({open:s})=>[pe(n.$slots,"default",{open:s})]),_:3},16))}}),Pqe=Te({__name:"CollapsibleContent",props:{forceMount:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(r,n)=>(E(),ve(S(vpe),jr(t,{class:"overflow-hidden transition-all data-[state=closed]:animate-collapsible-up data-[state=open]:animate-collapsible-down"}),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),tC=Te({__name:"CollapsibleTrigger",props:{asChild:{type:Boolean},as:{}},setup(e){const t=e;return(r,n)=>(E(),ve(S(bpe),Mn(Nn(t)),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),CN=Te({__name:"Tooltip",props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(e,{emit:t}){const r=Gc(e,t);return(n,o)=>(E(),ve(S(pme),Mn(Nn(S(r))),{default:U(()=>[pe(n.$slots,"default")]),_:3},16))}}),AN=Te({inheritAttrs:!1,__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){const r=e,n=t,o=le(()=>{const{class:i,...a}=r;return a}),s=Gc(o,n);return(i,a)=>(E(),ve(S(bme),null,{default:U(()=>[ye(S(vme),jr({...S(s),...i.$attrs},{class:S(Ko)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs 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",r.class)}),{default:U(()=>[pe(i.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),EN=Te({__name:"TooltipProvider",props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean},content:{}},setup(e){const t=e;return(r,n)=>(E(),ve(S(cme),Mn(Nn(t)),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),ON=Te({__name:"TooltipTrigger",props:{reference:{},asChild:{type:Boolean},as:{}},setup(e){const t=e;return(r,n)=>(E(),ve(S(xme),Mn(Nn(t)),{default:U(()=>[pe(r.$slots,"default")]),_:3},16))}}),Iqe={class:"text-xs text-muted-foreground"},$N={__name:"OASchemaPropertyAttributes",props:{property:{type:Object,required:!0}},setup(e){const t=e,{t:r}=Jn(),n=["name","types","description","properties","required","items","xml","allOf","anyOf","oneOf","not"],o=i=>i==null?!1:Array.isArray(i)?i.length>0:typeof i=="object"?Object.keys(i).length>0:!0,s=Object.keys(t.property).filter(i=>!n.includes(i)).filter(i=>o(t.property[i])||i==="default"&&t.property[i]!==void 0);return(i,a)=>(E(!0),K(dt,null,zt(S(s),(l,c)=>(E(),K("div",{key:c,class:"flex flex-row flex-wrap items-center gap-2"},[ue("span",Iqe,ze(S(r)(S(F5)(l))),1),ye(bc,{value:t.property[l]},null,8,["value"])]))),128))}},Dqe={class:"flex flex-row flex-wrap items-center gap-2 text-sm"},Mqe={key:0,class:"font-bold"},Nqe={class:"flex items-center"},Lqe={class:"flex flex-row items-center gap-1 text-muted-foreground"},Rqe={key:1},Bqe={key:2},qqe={key:0,class:"select-all"},zqe={key:0},Fqe={key:1,class:"flex items-center"},Vqe={class:"flex-grow mx-2"},Uqe={key:0,class:"h-px bg-transparent group-hover:bg-gray-200 dark:group-hover:bg-gray-800"},Hqe={class:"text-red-800 dark:text-red-200 text-xs"},Wqe={class:"flex size-4 cursor-pointer items-center justify-center p-[2px]"},Gqe={class:"flex flex-col space-y-2"},Jqe={__name:"OASchemaUI",props:{property:{type:Object,required:!0},schema:{type:Object,required:!0},deep:{type:Number,default:1/0},level:{type:Number,default:0},open:{type:Boolean,default:void 0},expandAll:{type:Boolean,default:void 0}},setup(e){var k,x,j,_;const t=e,{t:r}=Jn(),n=Oe(t.open!==void 0?t.open:t.deep>0&&t.level<=t.deep),o=Oe(void 0);cr(()=>t.expandAll,C=>{C!==void 0&&(n.value=C,o.value=C)},{immediate:!0});const s=C=>{o.value=C,n.value=C},i=((k=t.property.meta)==null?void 0:k.isOneOf)===!0||((x=t.property.meta)==null?void 0:x.isAnyOf)===!0,a=((j=t.property.types)==null?void 0:j.includes("object"))||i,l=(_=t.property.types)==null?void 0:_.includes("array"),c=a||l||t.property.type==="object"||t.property.type==="array",u=le(()=>c?!!(Array.isArray(t.property.properties)&&t.property.properties.length>0||t.property.items):!1),d=le(()=>t.property.properties?t.property.properties:t.property.items?[t.property.items]:[]),p=le(()=>t.property.properties&&t.property.properties.length>0&&t.property.properties.some(C=>{var A,I;return(((A=C.types)==null?void 0:A.includes("object"))||((I=C.types)==null?void 0:I.includes("array"))||C.type==="object"||C.type==="array")&&C.properties})),f=le(()=>t.property&&t.property.properties&&t.property.properties.length>0&&t.property.properties.some(C=>C.items)),m=le(()=>c&&(p.value||f.value)),v=le(()=>{var C,A;return((C=t.property.meta)==null?void 0:C.isOneOf)===!0?r("One of"):((A=t.property.meta)==null?void 0:A.isAnyOf)===!0?r("Any of"):""}),g=le(()=>n.value?r("Collapse"):r("Expand")),y=le(()=>n.value?r("Collapse all"):r("Expand all")),b=le(()=>({"Valid values":t.property.enum})),w=le(()=>t.property.name||t.property.title);return(C,A)=>{const I=od("OASchemaUI",!0);return E(),K("div",null,[ye(S(DV),{open:n.value,"onUpdate:open":A[1]||(A[1]=M=>n.value=M),disabled:!u.value},{default:U(()=>{var M,L;return[ye(S(tC),{class:"w-full"},{default:U(()=>{var F,z,N;return[ue("div",{class:Nt(["flex flex-col text-start space-y-1 group select-text",{"cursor-pointer":u.value}])},[ue("div",Dqe,[w.value?(E(),K("span",Mqe,ze(w.value),1)):je("",!0),ue("div",Nqe,[ye(S(EN),null,{default:U(()=>[ye(S(CN),{"delay-duration":200},{default:U(()=>[ye(S(ON),{"as-child":""},{default:U(()=>[u.value?(E(),ve(S(Wm),{key:0,size:"icon",variant:"icon","aria-label":g.value,class:"flex-shrink-0 w-4 h-4 cursor-pointer"},{default:U(()=>[n.value?(E(),ve(S(cA),{key:0})):(E(),ve(S(OT),{key:1}))]),_:1},8,["aria-label"])):je("",!0)]),_:1}),ye(S(AN),null,{default:U(()=>[ue("p",null,ze(g.value),1)]),_:1})]),_:1})]),_:1})]),ue("div",Lqe,[((F=t.property.meta)==null?void 0:F.isCircularReference)===!0?(E(),ve(S(Pc),{key:0,variant:"outline"},{default:U(()=>[Vt(ze(S(r)("Circular Reference")),1)]),_:1})):t.property.types.length===1&&["array"].includes(t.property.types[0])&&t.property.subtype?(E(),K("span",Rqe,ze(t.property.subtype)+"[]",1)):t.property.types.length===1&&["object"].includes(t.property.types[0])&&t.property.subtype?(E(),K("span",Bqe,ze(t.property.subtype),1)):((z=t.property.meta)==null?void 0:z.isConstant)===!0?(E(),K(dt,{key:3},[ue("span",null,ze(S(r)("const:")),1),((N=t.property.examples)==null?void 0:N.length)>0?(E(),K("span",qqe,ze(t.property.examples[0]),1)):je("",!0)],64)):(E(!0),K(dt,{key:4},zt(t.property.types,(X,V)=>(E(),K("span",{key:X},[Vt(ze(X)+" ",1),V!==t.property.types.length-1?(E(),K("span",zqe,"|")):je("",!0)]))),128))]),m.value?(E(),K("div",Fqe,[ye(S(EN),null,{default:U(()=>[ye(S(CN),{"delay-duration":200},{default:U(()=>[ye(S(ON),{"as-child":""},{default:U(()=>[ye(S(Wm),{size:"icon",variant:"icon","aria-label":y.value,onClick:A[0]||(A[0]=la(X=>s(!n.value),["stop","prevent"]))},{default:U(()=>[n.value?(E(),ve(S(Eme),{key:0})):(E(),ve(S(Ame),{key:1}))]),_:1},8,["aria-label"])]),_:1}),ye(S(AN),null,{default:U(()=>[ue("p",null,ze(y.value),1)]),_:1})]),_:1})]),_:1})])):je("",!0),ue("div",Vqe,[t.property.required===!0?(E(),K("div",Uqe)):je("",!0)]),ue("span",Hqe,ze(t.property.required===!0?S(r)("Required"):""),1)])],2)]}),_:1}),(M=t.property)!=null&&M.description?(E(),ve(Wl,{key:0,content:t.property.description,class:Nt(["text-sm",{"pl-2":S(c)}])},null,8,["content","class"])):je("",!0),t.property.enum?(E(),ve($N,{key:1,property:b.value},null,8,["property"])):je("",!0),t.property.constraints?(E(),ve($N,{key:2,property:t.property.constraints},null,8,["property"])):je("",!0),u.value&&((L=t.property)!=null&&L.description)?(E(),ve(S(tC),{key:3},{default:U(()=>[ye(S(Wm),{as:"div",variant:"outline",size:"xs",class:"flex items-center font-normal rounded-md h-auto pr-1 text-sm gap-0.5"},{default:U(()=>[Vt(ze(g.value)+" ",1),ue("div",Wqe,[n.value?(E(),ve(S(q5),{key:0})):(E(),ve(S(OT),{key:1}))])]),_:1})]),_:1})):je("",!0),S(c)?(E(),ve(S(Pqe),{key:4,class:"ml-2 pl-2 border-l border-l-solid"},{default:U(()=>[S(i)?(E(),ve(S(Pc),{key:0,variant:"outline"},{default:U(()=>[Vt(ze(v.value),1)]),_:1})):je("",!0),ue("div",Gqe,[(E(!0),K(dt,null,zt(d.value,(F,z)=>(E(),ve(I,{key:z,property:F,schema:t.schema,deep:t.deep-1,level:t.level+1,open:o.value!==void 0?o.value:S(i)?!0:void 0,"expand-all":o.value},null,8,["property","schema","deep","level","open","expand-all"]))),128))])]),_:1})):je("",!0)]}),_:1},8,["open","disabled"])])}}},MV=Te({__name:"Tabs",props:{defaultValue:{},orientation:{},dir:{},activationMode:{},modelValue:{},unmountOnHide:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["update:modelValue"],setup(e,{emit:t}){const r=Gc(e,t);return(n,o)=>(E(),ve(S(Xhe),Mn(Nn(S(r))),{default:U(()=>[pe(n.$slots,"default")]),_:3},16))}}),rC=Te({__name:"TabsContent",props:{value:{},forceMount:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:n,...o}=t;return o});return(n,o)=>(E(),ve(S(eme),jr({class:S(Ko)("mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",t.class)},r.value),{default:U(()=>[pe(n.$slots,"default")]),_:3},16,["class"]))}}),NV=Te({__name:"TabsList",props:{loop:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(e){const t=e,r=le(()=>{const{class:n,...o}=t;return o});return(n,o)=>(E(),ve(S(ome),jr(r.value,{class:S(Ko)("inline-flex h-10 items-center justify-center rounded-md bg-muted p-1 text-muted-foreground",t.class)}),{default:U(()=>[pe(n.$slots,"default")]),_:3},16,["class"]))}}),dw=Te({__name:"TabsTrigger",props:{variant:{},class:{type:[Boolean,null,String,Object,Array]},value:{},disabled:{type:Boolean},asChild:{type:Boolean},as:{}},setup(e){const t=e,r=le(()=>{const{class:o,...s}=t;return s}),n=Wc(r);return(o,s)=>(E(),ve(S(ime),jr(S(n),{class:S(Ko)(S(Kqe)({variant:e.variant}),t.class)}),{default:U(()=>[pe(o.$slots,"default")]),_:3},16,["class"]))}}),Kqe=Sw("inline-flex items-center justify-center whitespace-nowrap rounded-sm px-3 py-1.5 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50",{variants:{variant:{default:"data-[state=active]:text-foreground",select:"relative flex w-full",schemaTabs:"data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow-sm"}}}),Qqe={class:"flex flex-col gap-2"},Zqe={class:"flex flex-col gap-2"},LV={__name:"OASchemaTabs",props:{schema:{type:Object,required:!0},examples:{type:null,required:!1},defaultView:{type:String,required:!1}},setup(e){const t=e,r=kn().getSchemaViewerDeep(),{t:n}=Jn(),o=le(()=>{const s=Object.keys(t.examples??{});return{schema:"schema",contentType:s!=null&&s.length?`examples.${s[0]}`:"schema",autogenerated:(()=>{const i=s.find(a=>{var l;return(l=t.examples[a])==null?void 0:l.isAutogenerated});return i?`examples.${i}`:"schema"})()}[t.defaultView]??t.defaultView});return(s,i)=>(E(),ve(S(MV),{key:o.value,"default-value":o.value},{default:U(()=>[ye(S(NV),{class:"relative flex flex-row justify-start overflow-x-auto"},{default:U(()=>[ye(S(dw),{value:"schema",variant:"schemaTabs",class:"h-full"},{default:U(()=>[Vt(ze(S(n)("Schema")),1)]),_:1}),(E(!0),K(dt,null,zt(t.examples??{},(a,l)=>(E(),ve(S(dw),{key:l,value:`examples.${l}`,variant:"schemaTabs",class:"h-full"},{default:U(()=>[Vt(ze(l),1)]),_:2},1032,["value"]))),128))]),_:1}),ye(S(rC),{value:"schema"},{default:U(()=>[ue("div",Qqe,[ye(Jqe,{property:t.schema,schema:t.schema,deep:S(r)},null,8,["property","schema","deep"])])]),_:1}),(E(!0),K(dt,null,zt(t.examples??{},(a,l)=>(E(),ve(S(rC),{key:l,value:`examples.${l}`},{default:U(()=>[ue("div",Zqe,[a!=null&&a.description?(E(),ve(Wl,{key:0,content:a==null?void 0:a.description},null,8,["content"])):je("",!0),a!=null&&a.value?(E(),ve(bO,{key:1,code:a==null?void 0:a.value,lang:(a==null?void 0:a.lang)??"json",label:((a==null?void 0:a.lang)??"json").toUpperCase(),active:"",class:"!m-0"},null,8,["code","lang","label"])):je("",!0)])]),_:2},1032,["value"]))),128))]),_:1},8,["default-value"]))}},Xqe={class:"mt-[48px] mb-[16px] pt-[24px] border-t-[1px] border-[var(--vp-c-divider)] flex flex-row items-center"},Yqe={class:"relative flex-1"},eze={class:"absolute inset-x-0 top-[-14px] w-full flex justify-end"},RV=Te({__name:"OARequestBody",props:{operationId:{type:String,required:!0},requestBody:{type:Object,required:!0},headingPrefix:{type:String,default:null}},setup(e){const t=e,r=kn().getRequestBodyDefaultView(),n=`request-body-content-type-${t.operationId}`,o=_i(Th),{t:s}=Jn(),i=le({get:()=>o.requestBody.selectedContentType.value,set:c=>{o.requestBody.selectedContentType.value=c}}),a=le(()=>{var c,u,d,p,f;return!i.value||!((u=(c=t.requestBody)==null?void 0:c.content)!=null&&u[i.value])?{}:((f=(p=(d=t.requestBody)==null?void 0:d.content)==null?void 0:p[i.value])==null?void 0:f.ui)??{}}),l=le(()=>{var c,u,d,p,f;return!i.value||!((u=(c=t.requestBody)==null?void 0:c.content)!=null&&u[i.value])?{}:Object.entries(((f=(p=(d=t.requestBody)==null?void 0:d.content)==null?void 0:p[i.value])==null?void 0:f.examples)??{}).reduce((m,[v,g])=>(g!=null&&g.hideOnSchemaTabs||(m[v]=g),m),{})});return(c,u)=>{var d;return E(),K("div",null,[ue("div",Xqe,[ye(Rs,{level:"h2",prefix:e.headingPrefix,class:"text-[var(--vp-c-text-1)] !my-0 !py-0 !border-t-0 inline-block","header-anchor-class":"!top-0"},{default:U(()=>[Vt(ze(S(s)("Request Body")),1)]),_:1},8,["prefix"]),ue("div",Yqe,[ue("div",eze,[ye(IV,{id:n,modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=p=>i.value=p),"content-type":i.value,"content-types":Object.keys(((d=t.requestBody)==null?void 0:d.content)??{})},null,8,["modelValue","content-type","content-types"])])])]),ye(LV,{schema:a.value,examples:l.value,"content-type":i.value,"default-view":S(r)},null,8,["schema","examples","content-type","default-view"])])}}}),tze={class:"flex flex-col space-y-4"},rze={key:1,class:"flex flex-row items-center gap-2 text-xs"},nze={class:"flex-shrink-0"},oze={__name:"OAResponse",props:{operationId:{type:String,required:!0},response:{type:Object,required:!0},responseCode:{type:String,required:!0}},setup(e){const t=e,r=Object.keys(t.response.content??{}),n=Oe(r[0]??void 0),o=le(()=>{var c,u;return(u=(c=t.response.content)==null?void 0:c[n.value])==null?void 0:u.ui}),s=le(()=>{var c,u;return(u=(c=t.response.content)==null?void 0:c[n.value])==null?void 0:u.examples}),i=`content-type-${Math.random().toString(36).substring(7)}`,a=kn().getResponseBodyDefaultView(),{t:l}=Jn();return(c,u)=>{var d;return E(),K("div",tze,[t.response.description?(E(),ve(Wl,{key:0,content:t.response.description},null,8,["content"])):je("",!0),(d=t.response)!=null&&d.content&&S(r).length?(E(),K("div",rze,[ye(S(iO),{for:i,class:"flex-shrink-0 text-muted-foreground"},{default:U(()=>[Vt(ze(S(l)("Content-Type")),1)]),_:1}),ue("div",nze,[ye(IV,{id:i,modelValue:n.value,"onUpdate:modelValue":u[0]||(u[0]=p=>n.value=p),"content-type":n.value,"content-types":S(r)},null,8,["modelValue","content-type","content-types"])])])):je("",!0),o.value?(E(),ve(LV,{key:2,schema:o.value,examples:s.value,"content-type":n.value,"default-view":S(a)},null,8,["schema","examples","content-type","default-view"])):je("",!0)])}}},sze={class:"flex flex-col"},ize={class:"mt-[48px] mb-[16px] pt-[24px] border-t-[1px] border-[var(--vp-c-divider)] flex flex-wrap flex-row items-center justify-between gap-y-[16px]"},aze={class:"w-full flex"},lze={class:"relative flex flex-row"},BV={__name:"OAResponses",props:{operationId:{type:String,required:!0},responses:{type:Object,required:!0},headingPrefix:{type:String,default:null}},setup(e){const t=e,r=kn(),{t:n}=Jn(),o=Object.keys(t.responses),s=Oe(o&&o.length>0?o[0]:null),i=le(()=>{const a=r.getResponseCodeSelector();if(a==="tabs"){const l=r.getResponseCodeMaxTabs();return l&&o.length>l?"select":"tabs"}return a});return(a,l)=>(E(),K("div",sze,[ye(S(MV),{"default-value":s.value},{default:U(()=>[ue("div",ize,[ye(Rs,{level:"h2",prefix:e.headingPrefix,class:"text-[var(--vp-c-text-1)] !my-0 !py-0 !border-t-0 inline-block","header-anchor-class":"!top-0"},{default:U(()=>[Vt(ze(S(n)("Responses")),1)]),_:1},8,["prefix"]),ue("div",{class:Nt({"overflow-x-auto":S(o).length>1})},[ue("div",aze,[ye(S(NV),{class:"bg-transparent text-muted-foreground p-0"},{default:U(()=>[ue("div",lze,[i.value==="tabs"?(E(),K(dt,{key:0},[ye(S(rme),{class:"absolute left-0 h-full bottom-0 w-[--reka-tabs-indicator-size] translate-x-[--reka-tabs-indicator-position] rounded transition-[width,transform] duration-300 bg-muted"}),(E(!0),K(dt,null,zt(S(o),c=>(E(),ve(S(dw),{key:c,value:c,class:"h-full z-10"},{default:U(()=>[Vt(ze(c),1)]),_:2},1032,["value"]))),128))],64)):je("",!0),i.value==="select"?(E(),ve(S(Cp),{key:1,modelValue:s.value,"onUpdate:modelValue":l[0]||(l[0]=c=>s.value=c)},{default:U(()=>[ye(S(Tp),{"aria-label":"Response Code",class:"px-3 py-1.5 text-foreground"},{default:U(()=>[ye(S($h),null,{default:U(()=>[Vt(ze(s.value),1)]),_:1})]),_:1}),ye(S(Ap),null,{default:U(()=>[ye(S(Ep),null,{default:U(()=>[(E(!0),K(dt,null,zt(S(o),(c,u)=>(E(),ve(S(dw),{key:u,value:c,variant:"select"},{default:U(()=>[ye(S($p),{value:c},{default:U(()=>[Vt(ze(c),1)]),_:2},1032,["value"])]),_:2},1032,["value"]))),128))]),_:1})]),_:1})]),_:1},8,["modelValue"])):je("",!0)])]),_:1})])],2)]),(E(!0),K(dt,null,zt(S(o),c=>(E(),ve(S(rC),{key:c,value:c},{default:U(()=>[t.responses[c]?(E(),ve(oze,{key:0,"operation-id":t.operationId,response:t.responses[c],"response-code":c},null,8,["operation-id","response","response-code"])):je("",!0)]),_:2},1032,["value"]))),128))]),_:1},8,["default-value"])]))}},cze={key:0,class:"vp-code-group vp-adaptive-theme mt-0"},uze={class:"tabs !m-0"},dze=["id","checked","onChange"],pze=["for","data-title"],fze={class:"blocks"},qV=Te({__name:"OACodeSamples",props:{operationId:{type:String,required:!0}},setup(e){const t=e,r=_i(Th),n=kn(),o=TV(),s=n.getCodeSamplesAvailableLanguages(),i=n.getCodeSamplesGenerator(),a=Oe([]),l=Oe(""),c=`group-${t.operationId}`;return cr(r.playground.request,async(u,d,p)=>{let f=!1;if(p(()=>{f=!0}),!s||!i)return;const m=await Promise.all(s.map(async g=>{const{lang:y,target:b,client:w,highlighter:k}=g,x=[y,b,w].filter(Boolean).join("-"),j=`tab-${t.operationId}-${x}`;try{const _=await i(g,u);if(!_)throw new Error("Code generator returned empty result.");return{...g,key:x,tabId:j,highlighter:k||"plain",source:_}}catch(_){return console.error(`Failed to generate code sample for '${y}'`,{langConfig:g,error:_}),{...g,key:x,tabId:j,highlighter:"shell",source:`// Failed to generate sample. +// Please check the console for details.`}}}));if(f)return;const v=[...new Set(m.map(g=>g.highlighter).filter(Boolean))];if(await Promise.all(v.map(g=>o.ensureLanguage(g))),!f&&(a.value=m,!l.value||!a.value.some(g=>g.key===l.value))){const g=n.getCodeSamplesDefaultLang(),y=a.value.find(b=>b.lang===g)||a.value[0];y&&(l.value=y.key)}},{deep:!0,immediate:!0}),(u,d)=>(E(),K("div",null,[a.value.length?(E(),K("div",cze,[ue("div",uze,[(E(!0),K(dt,null,zt(a.value,p=>(E(),K(dt,{key:p.key},[ue("input",{id:p.tabId,type:"radio",name:c,checked:l.value===p.key,onChange:f=>l.value=p.key},null,40,dze),ue("label",{for:p.tabId,"data-title":p.icon},ze(p.label),9,pze)],64))),128))]),ue("div",fze,[(E(!0),K(dt,null,zt(a.value,p=>(E(),ve(bO,{key:p.key,code:p.source,lang:p.highlighter,label:p.label,active:l.value===p.key,class:Nt([{active:l.value===p.key},"!m-0"])},null,8,["code","lang","label","active","class"]))),128))])])):je("",!0)]))}}),hze={class:"flex flex-col p-3 gap-2 rounded bg-muted"},mze={class:"flex flex-col gap-2"},gze={class:"flex flex-row items-center gap-2"},vze={class:"text-sm font-bold"},yze={class:"flex flex-col gap-2"},bze={key:1,class:"pl-2"},wze={class:"!my-1 cursor-pointer hover:text-[var(--vp-c-brand-1)]"},xze={class:"pl-2 flex flex-col gap-1"},kze={key:0,class:"flex flex-wrap gap-2"},jze={class:"text-sm"},_ze={key:1,class:"flex flex-wrap gap-2"},Sze={class:"text-sm"},Cze={key:2},Aze={class:"pl-2 !my-0"},Eze={class:"ml-2 text-sm"},Oze=Te({__name:"OASecurityContent",props:{name:{type:String,required:!0},scheme:{type:Object,required:!0}},setup(e){const{t}=Jn(),r=le(()=>e.scheme.type==="http"?`HTTP (${e.scheme.scheme})`:e.scheme.type==="apiKey"?`API Key (${e.scheme.in}: ${e.scheme.name})`:e.scheme.type==="openIdConnect"?`OpenID Connect (${e.scheme.openIdConnectUrl})`:e.scheme.type==="oauth2"?"OAuth2":"");return(n,o)=>(E(),K("div",hze,[ue("div",mze,[ue("div",gze,[ue("span",vze,ze(e.name),1)]),e.scheme.description?(E(),ve(Wl,{key:0,content:e.scheme.description,class:"text-sm"},null,8,["content"])):je("",!0)]),ue("div",yze,[e.scheme.type!=="oauth2"?(E(),ve(Mf,{key:0,name:S(t)("Type"),"bold-name":"",value:r.value},null,8,["name","value"])):je("",!0),e.scheme.type==="oauth2"?(E(),K("div",bze,[(E(!0),K(dt,null,zt(e.scheme.flows,(s,i)=>(E(),K("div",{key:i},[ue("details",null,[ue("summary",wze,ze(i)+" Flow ",1),ue("div",xze,[s.authorizationUrl?(E(),K("div",kze,[ue("span",jze,ze(S(t)("Authorization URL")),1),ye(bc,{value:s.authorizationUrl},null,8,["value"])])):je("",!0),s.tokenUrl?(E(),K("div",_ze,[ue("span",Sze,ze(S(t)("Token URL")),1),ye(bc,{value:s.tokenUrl},null,8,["value"])])):je("",!0),s.scopes?(E(),K("div",Cze,[o[0]||(o[0]=ue("span",{class:"text-sm"},"Scopes:",-1)),ue("ul",Aze,[(E(!0),K(dt,null,zt(s.scopes,(a,l)=>(E(),K("li",{key:l},[ye(bc,{value:l},null,8,["value"]),ue("span",Eze,ze(a),1)]))),128))])])):je("",!0)])])]))),128))])):je("",!0)]),ye(H5,{property:e.scheme,"security-scheme-name":e.name},null,8,["property","security-scheme-name"])]))}}),$ze={class:"flex flex-col"},Tze={class:"mt-[48px] mb-[16px] pt-[24px] border-t-[1px] border-[var(--vp-c-divider)]"},Pze={class:"flex flex-row items-center"},Ize={class:"flex flex-col gap-3"},Dze={class:"flex flex-col gap-1"},Mze={key:0,class:"-ml-4 my-1 w-4 h-4 bg-muted rounded-full flex justify-center items-center"},Nze={key:0,class:"flex flex-row items-center space-x-2"},Lze={class:"text-sm font-bold"},zV=Te({__name:"OASecurity",props:{securityUi:{type:Object,required:!0},headingPrefix:{type:String,required:!1,default:""},selectedSchemeId:{type:String,required:!1,default:""}},setup(e){const t=e,{t:r}=Jn();return(n,o)=>(E(),K("div",$ze,[ue("div",Tze,[ue("div",Pze,[ye(Rs,{level:"h2",prefix:t.headingPrefix,class:"text-[var(--vp-c-text-1)] !my-0 !py-0 !border-t-0","header-anchor-class":"!top-0"},{default:U(()=>[Vt(ze(S(r)("Authorizations")),1)]),_:1},8,["prefix"]),o[0]||(o[0]=ue("span",{class:"flex-grow min-w-2"},null,-1))])]),ue("div",Ize,[(E(!0),K(dt,null,zt(t.securityUi,(s,i)=>(E(),K("div",{key:i,class:"flex flex-col gap-3"},[ue("div",Dze,[Object.keys(t.securityUi).length>1&&Object.keys(s.schemes).length>1?(E(),K("span",{key:0,class:Nt({"font-bold":t.selectedSchemeId===s.id})},ze(s.id),3)):je("",!0),ue("div",{class:Nt({"pl-2 border-l":Object.keys(s.schemes).length>1,"border-gray-600 dark:border-gray-400":Object.keys(t.securityUi).length>1&&t.selectedSchemeId===s.id})},[(E(!0),K(dt,null,zt(s.schemes,(a,l)=>(E(),K("div",{key:l},[ye(Oze,{name:String(l),scheme:a},null,8,["name","scheme"]),Object.keys(s.schemes).indexOf(String(l))e.hideBranding===void 0&&e.hideDefaultFooter!==void 0?(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter):!1}},setup(e){const t=e,r=el(),{t:n}=Jn(),o=t.openapi.getOperation(t.operationId),s=le(()=>{if(t.prefixHeadings)return t.operationId});function i(a){return a==="try-it"&&r[a]!==void 0&&console.warn("`try-it` slot is deprecated. Use `playground` slot instead."),r[a]!==void 0}return(a,l)=>t.operationId&&S(o)?(E(),ve(Tge,{key:0,id:t.operationId,operation:S(o),openapi:t.openapi},xp({_:2},[i("header")?{name:"header",fn:U(c=>[pe(a.$slots,"header",Mn(Nn(c)))]),key:"0"}:{name:"header",fn:U(c=>[ue("div",Rze,[ye(zR,{operation:c.operation,deprecated:c.deprecated},null,8,["operation","deprecated"]),ye(Rs,{id:s.value,level:"h1",class:Nt([{"line-through":c.deprecated},"scroll-m-[var(--vp-nav-height)]"])},{default:U(()=>[Vt(ze(c.operation.summary),1)]),_:2},1032,["id","class"])])]),key:"1"},i("tags")?{name:"tags",fn:U(c=>[pe(a.$slots,"tags",Mn(Nn(c)))]),key:"2"}:{name:"tags",fn:U(c=>[ye(z5,{tags:c.operation.tags},null,8,["tags"])]),key:"3"},i("description")?{name:"description",fn:U(c=>[pe(a.$slots,"description",Mn(Nn(c)))]),key:"4"}:{name:"description",fn:U(c=>[c.operation.description?(E(),ve(Wl,{key:0,content:c.operation.description},null,8,["content"])):je("",!0)]),key:"5"},i("security")?{name:"security",fn:U(c=>[pe(a.$slots,"security",Mn(Nn(c)))]),key:"6"}:{name:"security",fn:U(c=>[Object.keys(c.securityUi).length?(E(),ve(zV,{key:0,"security-ui":c.securityUi,"heading-prefix":s.value,"selected-scheme-id":c.selectedSchemeId},null,8,["security-ui","heading-prefix","selected-scheme-id"])):je("",!0)]),key:"7"},i("parameters")?{name:"parameters",fn:U(c=>[pe(a.$slots,"parameters",Mn(Nn(c)))]),key:"8"}:{name:"parameters",fn:U(c=>[ye(Rs,{level:"h2",prefix:s.value},{default:U(()=>[Vt(ze(S(n)("Parameters")),1)]),_:1},8,["prefix"]),ye(W5,{"operation-id":t.operationId,parameters:c.parameters},null,8,["operation-id","parameters"])]),key:"9"},i("request-body")?{name:"request-body",fn:U(c=>[pe(a.$slots,"request-body",Mn(Nn(c)))]),key:"10"}:{name:"request-body",fn:U(c=>[ye(RV,{"operation-id":c.operationId,"request-body":c.requestBody,"heading-prefix":s.value},null,8,["operation-id","request-body","heading-prefix"])]),key:"11"},i("responses")?{name:"responses",fn:U(c=>[pe(a.$slots,"responses",Mn(Nn(c)))]),key:"12"}:{name:"responses",fn:U(c=>[ye(BV,{"operation-id":c.operationId,responses:c.responses,"response-type":c.responseType,"heading-prefix":s.value},null,8,["operation-id","responses","response-type","heading-prefix"])]),key:"13"},i("path")?{name:"path",fn:U(c=>[pe(a.$slots,"path",Mn(Nn(c)))]),key:"14"}:{name:"path",fn:U(c=>[ye(G5,{path:c.path,method:c.method,"base-url":c.baseUrl,"hide-base-url":c.hideBaseUrl,deprecated:c.deprecated,servers:c.servers},null,8,["path","method","base-url","hide-base-url","deprecated","servers"])]),key:"15"},i("try-it")?{name:"playground",fn:U(c=>[pe(a.$slots,"try-it",Mn(Nn(c)))]),key:"16"}:i("playground")?{name:"playground",fn:U(c=>[pe(a.$slots,"playground",Mn(Nn(c)))]),key:"17"}:{name:"playground",fn:U(c=>[ye(PV,{"operation-id":c.operationId,path:c.path,method:c.method,parameters:c.parameters,"request-body":c.requestBody,"security-ui":c.securityUi,servers:c.servers,"heading-prefix":s.value},null,8,["operation-id","path","method","parameters","request-body","security-ui","servers","heading-prefix"])]),key:"18"},i("code-samples")?{name:"code-samples",fn:U(c=>[pe(a.$slots,"code-samples",Mn(Nn(c)))]),key:"19"}:{name:"code-samples",fn:U(c=>[ye(Rs,{level:"h2",prefix:s.value},{default:U(()=>[Vt(ze(S(n)("Samples")),1)]),_:1},8,["prefix"]),ye(qV,{"operation-id":c.operationId},null,8,["operation-id"])]),key:"20"},i("branding")?{name:"branding",fn:U(c=>[pe(a.$slots,"branding",Mn(Nn(c)))]),key:"21"}:t.hideBranding?void 0:{name:"branding",fn:U(c=>[ye(EC,Mn(Nn(c)),null,16)]),key:"22"},i("footer")?{name:"footer",fn:U(c=>[pe(a.$slots,"footer",Mn(Nn(c)))]),key:"23"}:void 0]),1032,["id","operation","openapi"])):je("",!0)}}),Bze=Te({__name:"OAOperation",props:{operationId:{type:String,required:!0},spec:{type:[Object,String],required:!1},specUrl:{type:String,required:!1,default:null},prefixHeadings:{type:Boolean,default:!1},hideDefaultFooter:{type:Boolean,default:void 0},hideBranding:{type:Boolean,default:e=>e.hideBranding===void 0&&e.hideDefaultFooter!==void 0?(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter):!1}},emits:["update:spec"],setup(e,{emit:t}){const r=e,n=t,o=el();return(s,i)=>(E(),ve(bv,{spec:r.spec,"spec-url":r.specUrl,"onUpdate:spec":i[0]||(i[0]=a=>n("update:spec",a))},{default:U(({openapi:a})=>[ye(FV,Mn(Nn({...s.$attrs,operationId:r.operationId,openapi:a,prefixHeadings:r.prefixHeadings,hideBranding:r.hideBranding,hideDefaultFooter:r.hideDefaultFooter})),xp({_:2},[zt(o,(l,c)=>({name:c,fn:U(u=>[pe(s.$slots,c,Mn(Nn(u||{})))])}))]),1040)]),_:3},8,["spec","spec-url"]))}}),VV=Te({__name:"OAOperationContext",props:{operationId:{type:String,required:!0},openapi:{type:Object,required:!0},shouldBuildRequest:{type:Boolean,required:!1,default:!0}},setup(e){var k,x,j,_,C,A,I;const t=e,r=kn(),n=le(()=>t.openapi.getOperation(t.operationId)),o=le(()=>t.openapi.getOperationPath(t.operationId)),s=le(()=>t.openapi.getOperationMethod(t.operationId)),i=le(()=>t.openapi.getOperationParameters(t.operationId)),a=le(()=>{var M;return(M=n.value)==null?void 0:M.securityUi}),l=le(()=>{var M;return(M=n.value)==null?void 0:M.requestBody}),c=le(()=>{var M;return(M=n.value)==null?void 0:M.responses}),u=le(()=>{var M;return(M=n.value)==null?void 0:M.codeSamples}),d=le(()=>{const M=r.getOperationServers();return M?M({method:s.value,path:o.value,operation:n.value}):t.openapi.getOperationServers(t.operationId)}),p=le(()=>{var M;return d.value.length?(M=d.value[0])==null?void 0:M.url:r.getOperationDefaultBaseUrl()}),f=r.getStoragePrefix(),m=Hm()?Tf(`${f}-custom-server-url`,null,localStorage):Oe(p.value),v=le(()=>r.getServerAllowCustomServer()&&m.value?Cb(m.value):Cb(p.value)),g=(k=l.value)!=null&&k.content?Object.keys(l.value.content)[0]:void 0,y=((j=(x=a.value)==null?void 0:x[0])==null?void 0:j.schemes)||[],b=t.shouldBuildRequest?xw({path:o.value,method:s.value,baseUrl:v.value,parameters:i.value??[],authorizations:Object.entries(y).map(([M,L])=>({...L,name:String(M),label:String(M)})),body:g?(I=(((A=(C=(_=l.value)==null?void 0:_.content)==null?void 0:C[g])==null?void 0:A.examples)??[{value:""}])[0])==null?void 0:I.value:void 0,variables:{},contentType:g}):void 0,w=Vme({operation:n.value,request:b,selectedServer:v.value,defaultRequestContentType:g});return wp(Th,w),(M,L)=>pe(M.$slots,"default",{path:o.value,method:s.value,parameters:i.value,operation:n.value,requestBody:l.value,securityUi:a.value,servers:d.value,codeSamples:u.value,responses:c.value,operationData:S(w)})}}),qze={key:1,class:"OAOperationLink-title"},zze=Te({__name:"OAOperationLink",props:{href:{default:void 0},method:{default:""},title:{default:""},operationId:{default:void 0}},setup(e){const t=e,r=el();function n(s){return!!r[s]}const o=le(()=>{var i;if(!n("default"))return"";const s=(i=r.default)==null?void 0:i.call(r);return!s||!Array.isArray(s)||s.length===0?"":typeof s[0].children=="string"?s[0].children:""});return(s,i)=>(E(),ve(si(t.href?"a":"span"),{href:t.href,class:"OAOperationLink group/oaOperationLink"},{default:U(()=>[ue("span",{class:Nt(["OAOperationLink-badge",[`OAMethodBadge--${e.method.toLowerCase()}`]])},ze(e.method.toUpperCase()),3),n("default")?(E(),ve(Wl,{key:0,content:o.value,class:"inline-block"},null,8,["content"])):(E(),K("span",qze,ze(t.title),1))]),_:1},8,["href"]))}}),Fze={__name:"OAServers",props:{spec:{type:[Object,String],required:!1}},setup(e){const t=e;return(r,n)=>(E(),ve(bv,{spec:t.spec},{default:U(({openapi:o})=>[ye(JC,{openapi:o},null,8,["openapi"])]),_:1},8,["spec"]))}},Vze=Symbol("lazyEventBus"),TN=EK(Vze),Uze=Te({__name:"OALazy",props:{id:{},isLazy:{type:Boolean,default:!0},lazyTimeout:{default:0}},setup(e){const t=e,r=(o=()=>{})=>{typeof window>"u"||("requestIdleCallback"in window?setTimeout(()=>window.requestIdleCallback(o),t.lazyTimeout):setTimeout(Io,t.lazyTimeout??300,o))},n=Oe(!t.isLazy);return t.isLazy?r(()=>{n.value=!0,t.id&&Io(()=>TN.emit({id:t.id}))}):t.id&&Io(()=>TN.emit({id:t.id})),(o,s)=>n.value?pe(o.$slots,"default",{key:0}):je("",!0)}}),Hze=Te({__name:"OAPaths",props:{paths:{type:Object,required:!0}},setup(e){var i,a;const t=el(),r=kn(),n=Object.entries(e.paths).reduce((l,[c,u])=>[...l,...Object.keys(u).filter(d=>u[d].operationId).map(d=>({operationId:u[d].operationId}))],[]),o=(a=(i=r.getSpecConfig())==null?void 0:i.lazyRendering)==null?void 0:a.value,s=AC()??vR();return(l,c)=>S(s)?(E(!0),K(dt,{key:0},zt(S(n),(u,d)=>(E(),ve(Uze,{key:u.operationId,"is-lazy":S(o)&&d>0},{default:U(()=>[ye(FV,{openapi:S(s),"operation-id":u.operationId,"prefix-headings":"","hide-branding":""},xp({_:2},[zt(t,(p,f)=>({name:f,fn:U(m=>[pe(l.$slots,f,jr({ref_for:!0},m||{}))])}))]),1032,["openapi","operation-id"]),c[0]||(c[0]=ue("hr",null,null,-1))]),_:2},1032,["is-lazy"]))),128)):je("",!0)}}),Wze={class:"bg-muted rounded border divide-y divide-[var(--vp-c-divider)]"},Gze={class:"p-2 pl-4"},Jze={class:"py-2"},Kze=["aria-label","title","onClick"],Qze={__name:"OAPathsSummary",props:{paths:{type:Object,required:!0}},emits:["pathClick"],setup(e,{emit:t}){const r=t,{t:n}=Jn();return(o,s)=>(E(),K("div",Wze,[ue("div",Gze,[ye(Rs,{level:"h3",class:"!mt-0 !text-sm"},{default:U(()=>[Vt(ze(S(n)("Operations")),1)]),_:1})]),ue("div",Jze,[(E(!0),K(dt,null,zt(Object.keys(e.paths),(i,a)=>(E(),K(dt,{key:a},[(E(!0),K(dt,null,zt(Object.keys(e.paths[i]),l=>(E(),K("a",{key:`${i}-${l}`,class:"grid grid-cols-[4rem,1fr] items-center gap-2 !text-foreground !no-underline cursor-pointer","aria-label":`${l.toUpperCase()} ${i}`,title:`${l.toUpperCase()} ${i}`,onClick:c=>r("pathClick",`#${e.paths[i][l].operationId}`)},[ue("span",{class:Nt([[`text-method-${l}`],"text-sm text-right"])},ze(l.toUpperCase()),3),ue("span",{class:Nt([{"line-through":e.paths[i][l].deprecated},"truncate hover:underline"])},ze(i),3)],8,Kze))),128))],64))),128))])]))}},Zze={key:0},Xze={key:1,class:"flex-1"},Yze={key:0,class:"flex justify-center"},eFe=Te({__name:"OAPathsGroup",props:{group:{},hidePathsSummary:{type:Boolean},isLazy:{type:Boolean}},setup(e){var u,d,p,f;const t=e,r=el(),n=kn(),{t:o}=Jn(),s=(d=(u=n.getSpecConfig())==null?void 0:u.lazyRendering)==null?void 0:d.value,i=le(()=>{var m,v;return t.hidePathsSummary===void 0?(v=(m=n.getSpecConfig())==null?void 0:m.showPathsSummary)==null?void 0:v.value:!t.hidePathsSummary}),a=le(()=>t.group.description&&t.group.description.trim()!==""),l=Oe(!((f=(p=n.getSpecConfig())==null?void 0:p.collapsePaths)!=null&&f.value));function c(m){l.value=!0,Io(()=>{Nse({hash:m})})}return(m,v)=>(E(),ve(S(DV),{open:l.value,"onUpdate:open":v[1]||(v[1]=g=>l.value=g)},{default:U(()=>{var g,y;return[t.group.isGrouped?(E(),K("div",Zze,[ye(Rs,{level:"h1"},{default:U(()=>[Vt(ze(t.group.name),1)]),_:1}),ue("div",{class:Nt(["grid grid-cols-1 gap-6 md:gap-10 my-[16px]",{"md:grid-cols-2":i.value&&a.value}])},[a.value?(E(),ve(Wl,{key:0,content:e.group.description},null,8,["content"])):je("",!0),i.value?(E(),K("div",Xze,[ye(Qze,{paths:e.group.paths,onPathClick:v[0]||(v[0]=b=>c(b))},null,8,["paths"])])):je("",!0)],2),i.value||((y=(g=S(n).getSpecConfig())==null?void 0:g.collapsePaths)==null?void 0:y.value)===!0?(E(),K("div",Yze,[ye(S(tC),null,{default:U(()=>[ye(S(Wm),null,{default:U(()=>[Vt(ze(l.value?S(o)("Hide operations"):S(o)("Show operations")),1)]),_:1})]),_:1})])):je("",!0),v[2]||(v[2]=ue("hr",null,null,-1))])):je("",!0),!S(s)||l.value?(E(),K("div",{key:1,class:Nt(["flex flex-col space-y-10",{hidden:!l.value}])},[ye(Hze,{paths:e.group.paths},xp({_:2},[zt(r,(b,w)=>({name:w,fn:U(k=>[pe(m.$slots,w,Mn(Nn(k||{})))])}))]),1032,["paths"])],2)):je("",!0)]}),_:3},8,["open"]))}}),tFe={class:"flex flex-col space-y-10"},rFe=Te({__name:"OAPathsGroups",props:{groups:{type:Array,required:!0},hidePathsSummary:{type:Boolean,default:void 0}},setup(e){var o,s;const t=e,r=el(),n=(s=(o=kn().getSpecConfig())==null?void 0:o.lazyRendering)==null?void 0:s.value;return(i,a)=>(E(),K("div",tFe,[(E(!0),K(dt,null,zt(t.groups,(l,c)=>(E(),ve(eFe,{key:l.name,group:l,"hide-paths-summary":t.hidePathsSummary,"is-lazy":S(n)&&c>0},xp({_:2},[zt(r,(u,d)=>({name:d,fn:U(p=>[pe(i.$slots,d,jr({ref_for:!0},p||{}))])}))]),1032,["group","hide-paths-summary","is-lazy"]))),128))]))}}),nFe={class:"flex flex-col space-y-10"},oFe={key:0},sFe={key:1},iFe=Te({__name:"OASpecContent",props:{hideInfo:{type:Boolean,default:!1},hideServers:{type:Boolean,default:!1},groupByTags:{type:Boolean,default:null},tags:{type:Array,default:void 0},hideDefaultFooter:{type:Boolean,default:void 0},hideBranding:{type:Boolean,default:e=>e.hideBranding===void 0&&e.hideDefaultFooter!==void 0?(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter):!1},hidePathsSummary:{type:Boolean,default:void 0},openapi:{type:Object,required:!0}},setup(e){const t=e,r=el(),{t:n}=Jn(),o=kn(),s=t.openapi.getServers(),i=t.openapi.getInfo(),a=!t.hideInfo&&Object.keys(i).length,l=!t.hideServers&&s.length,c=le(()=>{var g,y;return t.groupByTags??((y=(g=o.getSpecConfig())==null?void 0:g.groupByTags)==null?void 0:y.value)}),u=le(()=>t.tags??t.openapi.getOperationsTags()),d=t.openapi.getTags(),p=t.openapi.getPaths(),f=le(()=>u.value.map(g=>({tag:g,paths:t.openapi.getPathsByTags(g)}))),m=t.openapi.getPathsWithoutTags(),v=le(()=>{var g,y,b,w;return c.value?[...Object.keys(m).length?[{name:n(((g=kn().getSpecConfig())==null?void 0:g.defaultTag)??"Default"),paths:m,isOpen:!((b=(y=o.getSpecConfig())==null?void 0:y.collapsePaths)!=null&&b.value),isGrouped:!0}]:[],...f.value.map(k=>{var x,j,_;return{name:k.tag,paths:k.paths,isOpen:!((j=(x=o.getSpecConfig())==null?void 0:x.collapsePaths)!=null&&j.value),description:(_=d.find(C=>C.name===k.tag))==null?void 0:_.description,isGrouped:!0}})]:[{name:n(((w=kn().getSpecConfig())==null?void 0:w.defaultTag)??"Default"),paths:p,isGrouped:!1}]});return(g,y)=>(E(),K("div",nFe,[S(a)||S(l)?(E(),K("div",oFe,[S(a)?(E(),ve(GC,{key:0,openapi:e.openapi},null,8,["openapi"])):je("",!0),S(l)?(E(),ve(JC,{key:1,openapi:e.openapi},null,8,["openapi"])):je("",!0)])):je("",!0),S(a)||S(l)?(E(),K("hr",sFe)):je("",!0),ye(rFe,{groups:v.value,"hide-paths-summary":t.hidePathsSummary},xp({_:2},[zt(r,(b,w)=>({name:w,fn:U(k=>[pe(g.$slots,w,Mn(Nn(k||{})))])}))]),1032,["groups","hide-paths-summary"]),t.hideBranding?je("",!0):(E(),ve(EC,{key:2}))]))}}),aFe=Te({__name:"OASpec",props:{spec:{type:[Object,String],required:!1,default:null},specUrl:{type:String,required:!1,default:null},hideInfo:{type:Boolean,default:!1},hideServers:{type:Boolean,default:!1},groupByTags:{type:Boolean,default:null},tags:{type:Array,default:void 0},hideDefaultFooter:{type:Boolean,default:void 0},hideBranding:{type:Boolean,default:e=>e.hideBranding===void 0&&e.hideDefaultFooter!==void 0?(console.warn("`hideDefaultFooter` is deprecated. Use `hideBranding` instead."),e.hideDefaultFooter):!1},hidePathsSummary:{type:Boolean,default:void 0}},emits:["update:spec"],setup(e,{emit:t}){const r=e,n=t,o=el();return(s,i)=>(E(),ve(bv,{spec:r.spec,"spec-url":r.specUrl,"onUpdate:spec":i[0]||(i[0]=a=>n("update:spec",a))},{default:U(({openapi:a})=>[ye(iFe,Mn(Nn({...s.$attrs,openapi:a,hideInfo:r.hideInfo,hideServers:r.hideServers,groupByTags:r.groupByTags,tags:r.tags,hideDefaultFooter:r.hideDefaultFooter,hideBranding:r.hideBranding,hidePathsSummary:r.hidePathsSummary})),xp({_:2},[zt(o,(l,c)=>({name:c,fn:U(u=>[pe(s.$slots,c,Mn(Nn(u||{})))])}))]),1040)]),_:3},8,["spec","spec-url"]))}}),lFe=Object.freeze(Object.defineProperty({__proto__:null,OACodeSamples:qV,OAFooter:EC,OAHeaderBadges:zR,OAHeading:Rs,OAInfo:Nde,OAIntroduction:qde,OALocaleSelect:Dme,OAMarkdown:Wl,OAOperation:Bze,OAOperationContext:VV,OAOperationLink:zze,OAOperationTags:z5,OAParameter:X0,OAParameters:W5,OAPathEndpoint:G5,OAPlayground:PV,OARequestBody:RV,OAResponses:BV,OASecurity:zV,OAServers:Fze,OASpec:aFe,OASpecSkeleton:g8,OAVueJsonPretty:_R},Symbol.toStringTag,{value:"Module"})),cFe={enhanceApp({app:e}){var o;const t=kn(),r=t.getI18nConfig(),n=$oe({defaultLocale:((o=r.locale)==null?void 0:o.value)||"en",messages:r.messages||{}});e.use(n),cr(()=>t.getLocale(),()=>{n.setLocale(t.getLocale())},{immediate:!0}),Object.entries(lFe).forEach(([s,i])=>{e.component(s,i)})}},uFe="3.1.0",dFe={title:"Open Archiver API",version:"1.0.0",description:"REST API for Open Archiver — an open-source email archiving platform. All authenticated endpoints require a Bearer JWT token obtained from `POST /v1/auth/login`, or an API key passed as a Bearer token.",license:{name:"SEE LICENSE IN LICENSE",url:"https://github.com/LogicLabs-OU/OpenArchiver/blob/main/LICENSE"},contact:{name:"Open Archiver",url:"https://openarchiver.com"}},pFe=[{url:"http://localhost:3000",description:"Local development"}],fFe=[{bearerAuth:[]},{apiKeyAuth:[]}],hFe={securitySchemes:{bearerAuth:{type:"http",scheme:"bearer",bearerFormat:"JWT",description:"JWT obtained from `POST /v1/auth/login`. Pass as `Authorization: Bearer `."},apiKeyAuth:{type:"apiKey",in:"header",name:"X-API-KEY",description:"API key generated via `POST /v1/api-keys`. Pass as `X-API-KEY: `."}},responses:{Unauthorized:{description:"Authentication is required or the token is invalid/expired.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"},example:{message:"Unauthorized"}}}},Forbidden:{description:"The authenticated user does not have permission to perform this action.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"},example:{message:"Forbidden"}}}},NotFound:{description:"The requested resource was not found.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"},example:{message:"Not found"}}}},InternalServerError:{description:"An unexpected error occurred on the server.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"},example:{message:"Internal server error"}}}}},schemas:{ErrorMessage:{type:"object",properties:{message:{type:"string",description:"Human-readable error description.",example:"An error occurred."}},required:["message"]},MessageResponse:{type:"object",properties:{message:{type:"string",example:"Operation completed successfully."}},required:["message"]},ValidationError:{type:"object",properties:{message:{type:"string",example:"Request body is invalid."},errors:{type:"string",description:"Zod validation error details."}},required:["message"]},LoginResponse:{type:"object",properties:{accessToken:{type:"string",description:"JWT for authenticating subsequent requests.",example:"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."},user:{$ref:"#/components/schemas/User"}},required:["accessToken","user"]},User:{type:"object",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},first_name:{type:"string",nullable:!0,example:"Jane"},last_name:{type:"string",nullable:!0,example:"Doe"},email:{type:"string",format:"email",example:"jane.doe@example.com"},role:{$ref:"#/components/schemas/Role",nullable:!0},createdAt:{type:"string",format:"date-time"}},required:["id","email","createdAt"]},Role:{type:"object",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},slug:{type:"string",nullable:!0,example:"predefined_super_admin"},name:{type:"string",example:"Super Admin"},policies:{type:"array",items:{$ref:"#/components/schemas/CaslPolicy"}},createdAt:{type:"string",format:"date-time"},updatedAt:{type:"string",format:"date-time"}},required:["id","name","policies","createdAt","updatedAt"]},CaslPolicy:{type:"object",description:"An CASL-style permission policy statement. `action` and `subject` can be strings or arrays of strings. `conditions` optionally restricts access to specific resource attributes.",properties:{action:{oneOf:[{type:"string",example:"read"},{type:"array",items:{type:"string"},example:["read","search"]}]},subject:{oneOf:[{type:"string",example:"archive"},{type:"array",items:{type:"string"},example:["archive","ingestion"]}]},conditions:{type:"object",description:"Optional attribute-level conditions. Supports `${user.id}` interpolation.",example:{userId:"${user.id}"}}},required:["action","subject"]},ApiKey:{type:"object",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},name:{type:"string",example:"CI/CD Pipeline Key"},key:{type:"string",description:"Partial/masked key — the raw value is only available at creation time.",example:"oa_live_abc1..."},expiresAt:{type:"string",format:"date-time"},createdAt:{type:"string",format:"date-time"}},required:["id","name","expiresAt","createdAt"]},SafeIngestionSource:{type:"object",description:"An ingestion source with sensitive credential fields removed.",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},name:{type:"string",example:"Company Google Workspace"},provider:{type:"string",enum:["google_workspace","microsoft_365","generic_imap","pst_import","eml_import","mbox_import"],example:"google_workspace"},status:{type:"string",enum:["active","paused","error","pending_auth","syncing","importing","auth_success","imported"],example:"active"},createdAt:{type:"string",format:"date-time"},updatedAt:{type:"string",format:"date-time"},lastSyncStartedAt:{type:"string",format:"date-time",nullable:!0},lastSyncFinishedAt:{type:"string",format:"date-time",nullable:!0},lastSyncStatusMessage:{type:"string",nullable:!0}},required:["id","name","provider","status","createdAt","updatedAt"]},CreateIngestionSourceDto:{type:"object",required:["name","provider","providerConfig"],properties:{name:{type:"string",example:"Company Google Workspace"},provider:{type:"string",enum:["google_workspace","microsoft_365","generic_imap","pst_import","eml_import","mbox_import"]},providerConfig:{type:"object",description:"Provider-specific configuration. See the ingestion source guides for the required fields per provider.",example:{serviceAccountKeyJson:'{"type":"service_account",...}',impersonatedAdminEmail:"admin@example.com"}}}},UpdateIngestionSourceDto:{type:"object",properties:{name:{type:"string"},provider:{type:"string",enum:["google_workspace","microsoft_365","generic_imap","pst_import","eml_import","mbox_import"]},status:{type:"string",enum:["active","paused","error","pending_auth","syncing","importing","auth_success","imported"]},providerConfig:{type:"object"}}},Recipient:{type:"object",properties:{name:{type:"string",nullable:!0,example:"John Doe"},email:{type:"string",format:"email",example:"john.doe@example.com"}},required:["email"]},Attachment:{type:"object",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},filename:{type:"string",example:"invoice.pdf"},mimeType:{type:"string",nullable:!0,example:"application/pdf"},sizeBytes:{type:"integer",example:204800},storagePath:{type:"string",example:"open-archiver/attachments/abc123.pdf"}},required:["id","filename","sizeBytes","storagePath"]},ThreadEmail:{type:"object",properties:{id:{type:"string",description:"ArchivedEmail ID.",example:"clx1y2z3a0000b4d2"},subject:{type:"string",nullable:!0,example:"Re: Q4 Invoice"},sentAt:{type:"string",format:"date-time"},senderEmail:{type:"string",format:"email",example:"finance@vendor.com"}},required:["id","sentAt","senderEmail"]},ArchivedEmail:{type:"object",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},ingestionSourceId:{type:"string",example:"clx1y2z3a0000b4d2"},userEmail:{type:"string",format:"email",example:"user@company.com"},messageIdHeader:{type:"string",nullable:!0},sentAt:{type:"string",format:"date-time"},subject:{type:"string",nullable:!0,example:"Q4 Invoice"},senderName:{type:"string",nullable:!0,example:"Finance Dept"},senderEmail:{type:"string",format:"email",example:"finance@vendor.com"},recipients:{type:"array",items:{$ref:"#/components/schemas/Recipient"}},storagePath:{type:"string"},storageHashSha256:{type:"string",description:"SHA-256 hash of the raw email file, stored at archival time."},sizeBytes:{type:"integer"},isIndexed:{type:"boolean"},hasAttachments:{type:"boolean"},isOnLegalHold:{type:"boolean"},archivedAt:{type:"string",format:"date-time"},attachments:{type:"array",items:{$ref:"#/components/schemas/Attachment"}},thread:{type:"array",description:"Other emails in the same thread, ordered by sentAt. Only present on single-email GET responses.",items:{$ref:"#/components/schemas/ThreadEmail"}},path:{type:"string",nullable:!0},tags:{type:"array",items:{type:"string"},nullable:!0}},required:["id","ingestionSourceId","userEmail","sentAt","senderEmail","recipients","storagePath","storageHashSha256","sizeBytes","isIndexed","hasAttachments","isOnLegalHold","archivedAt"]},PaginatedArchivedEmails:{type:"object",properties:{items:{type:"array",items:{$ref:"#/components/schemas/ArchivedEmail"}},total:{type:"integer",example:1234},page:{type:"integer",example:1},limit:{type:"integer",example:10}},required:["items","total","page","limit"]},SearchResults:{type:"object",properties:{hits:{type:"array",description:"Array of matching archived email objects, potentially with highlighted fields.",items:{type:"object"}},total:{type:"integer",example:42},page:{type:"integer",example:1},limit:{type:"integer",example:10},totalPages:{type:"integer",example:5},processingTimeMs:{type:"integer",description:"Meilisearch query processing time in milliseconds.",example:12}},required:["hits","total","page","limit","totalPages","processingTimeMs"]},IntegrityCheckResult:{type:"object",properties:{type:{type:"string",enum:["email","attachment"],description:"Whether this result is for the email itself or one of its attachments."},id:{type:"string",example:"clx1y2z3a0000b4d2"},filename:{type:"string",description:"Attachment filename. Only present when `type` is `attachment`.",example:"invoice.pdf"},isValid:{type:"boolean",description:"True if the stored and computed hashes match."},reason:{type:"string",description:"Human-readable explanation if `isValid` is false."},storedHash:{type:"string",description:"SHA-256 hash stored at archival time.",example:"a3f1b2c4..."},computedHash:{type:"string",description:"SHA-256 hash computed during this verification run.",example:"a3f1b2c4..."}},required:["type","id","isValid","storedHash","computedHash"]},QueueCounts:{type:"object",properties:{active:{type:"integer",example:0},completed:{type:"integer",example:56},failed:{type:"integer",example:4},delayed:{type:"integer",example:0},waiting:{type:"integer",example:0},paused:{type:"integer",example:0}},required:["active","completed","failed","delayed","waiting","paused"]},QueueOverview:{type:"object",properties:{name:{type:"string",example:"ingestion"},counts:{$ref:"#/components/schemas/QueueCounts"}},required:["name","counts"]},Job:{type:"object",properties:{id:{type:"string",nullable:!0,example:"1"},name:{type:"string",example:"initial-import"},data:{type:"object",description:"Job payload data.",example:{ingestionSourceId:"clx1y2z3a0000b4d2"}},state:{type:"string",enum:["active","completed","failed","delayed","waiting","paused"],example:"failed"},failedReason:{type:"string",nullable:!0,example:"Error: Connection timed out"},timestamp:{type:"integer",example:16788864e5},processedOn:{type:"integer",nullable:!0,example:1678886401e3},finishedOn:{type:"integer",nullable:!0,example:1678886402e3},attemptsMade:{type:"integer",example:5},stacktrace:{type:"array",items:{type:"string"}},returnValue:{nullable:!0},ingestionSourceId:{type:"string",nullable:!0},error:{description:"Shorthand copy of `failedReason` for easier access.",nullable:!0}},required:["id","name","data","state","timestamp","attemptsMade","stacktrace"]},QueueDetails:{type:"object",properties:{name:{type:"string",example:"ingestion"},counts:{$ref:"#/components/schemas/QueueCounts"},jobs:{type:"array",items:{$ref:"#/components/schemas/Job"}},pagination:{type:"object",properties:{currentPage:{type:"integer",example:1},totalPages:{type:"integer",example:3},totalJobs:{type:"integer",example:25},limit:{type:"integer",example:10}},required:["currentPage","totalPages","totalJobs","limit"]}},required:["name","counts","jobs","pagination"]},DashboardStats:{type:"object",properties:{totalEmailsArchived:{type:"integer",example:125e3},totalStorageUsed:{type:"integer",description:"Total storage used by all archived emails in bytes.",example:5368709120},failedIngestionsLast7Days:{type:"integer",description:"Number of ingestion sources in error state updated in the last 7 days.",example:2}}},IngestionSourceStats:{type:"object",description:"Summary of an ingestion source including its storage usage.",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},name:{type:"string",example:"Company Google Workspace"},provider:{type:"string",example:"google_workspace"},status:{type:"string",example:"active"},storageUsed:{type:"integer",description:"Total bytes stored for emails from this ingestion source.",example:1073741824}},required:["id","name","provider","status","storageUsed"]},RecentSync:{type:"object",description:"Summary of a recent sync session.",properties:{id:{type:"string",example:"clx1y2z3a0000b4d2"},sourceName:{type:"string",example:"Company Google Workspace"},startTime:{type:"string",format:"date-time"},duration:{type:"integer",description:"Duration in milliseconds.",example:4500},emailsProcessed:{type:"integer",example:120},status:{type:"string",example:"completed"}},required:["id","sourceName","startTime","duration","emailsProcessed","status"]},IndexedInsights:{type:"object",description:"Insights derived from the search index.",properties:{topSenders:{type:"array",items:{type:"object",properties:{sender:{type:"string",example:"finance@vendor.com"},count:{type:"integer",example:342}},required:["sender","count"]}}},required:["topSenders"]},SystemSettings:{type:"object",description:"Non-sensitive system configuration values.",properties:{language:{type:"string",enum:["en","es","fr","de","it","pt","nl","ja","et","el"],example:"en",description:"Default UI language code."},theme:{type:"string",enum:["light","dark","system"],example:"system",description:"Default color theme."},supportEmail:{type:"string",format:"email",nullable:!0,example:"support@example.com",description:"Public-facing support email address."}}}}},mFe={"/v1/api-keys":{post:{summary:"Generate an API key",description:`Generates a new API key for the authenticated user. The raw key value is only returned once at creation time. The key name must be between 1–255 characters. Expiry is required and must be within 730 days (2 years). Disabled in demo mode. +`,operationId:"generateApiKey",tags:["API Keys"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["name","expiresInDays"],properties:{name:{type:"string",minLength:1,maxLength:255,example:"CI/CD Pipeline Key"},expiresInDays:{type:"integer",minimum:1,maximum:730,example:90}}}}}},responses:{201:{description:"API key created. The raw `key` value is only shown once.",content:{"application/json":{schema:{type:"object",properties:{key:{type:"string",description:"The raw API key. Store this securely — it will not be shown again.",example:"oa_live_abc123..."}}}}}},400:{description:"Validation error (name too short/long, expiry out of range).",content:{"application/json":{schema:{$ref:"#/components/schemas/ValidationError"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{description:"Disabled in demo mode.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},500:{$ref:"#/components/responses/InternalServerError"}}},get:{summary:"List API keys",description:"Returns all API keys belonging to the currently authenticated user. The raw key value is not included.",operationId:"getApiKeys",tags:["API Keys"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"List of API keys (without raw key values).",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/ApiKey"}}}}},401:{$ref:"#/components/responses/Unauthorized"}}}},"/v1/api-keys/{id}":{delete:{summary:"Delete an API key",description:"Permanently revokes and deletes an API key by ID. Only the owning user can delete their own keys. Disabled in demo mode.",operationId:"deleteApiKey",tags:["API Keys"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,description:"The ID of the API key to delete.",schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{204:{description:"API key deleted. No content returned."},401:{$ref:"#/components/responses/Unauthorized"},403:{description:"Disabled in demo mode.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/archived-emails/ingestion-source/{ingestionSourceId}":{get:{summary:"List archived emails for an ingestion source",description:"Returns a paginated list of archived emails belonging to the specified ingestion source. Requires `read:archive` permission.",operationId:"getArchivedEmails",tags:["Archived Emails"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"ingestionSourceId",in:"path",required:!0,description:"The ID of the ingestion source to retrieve emails for.",schema:{type:"string",example:"clx1y2z3a0000b4d2"}},{name:"page",in:"query",required:!1,description:"Page number for pagination.",schema:{type:"integer",default:1,example:1}},{name:"limit",in:"query",required:!1,description:"Number of items per page.",schema:{type:"integer",default:10,example:10}}],responses:{200:{description:"Paginated list of archived emails.",content:{"application/json":{schema:{$ref:"#/components/schemas/PaginatedArchivedEmails"}}}},401:{$ref:"#/components/responses/Unauthorized"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/archived-emails/{id}":{get:{summary:"Get a single archived email",description:"Retrieves the full details of a single archived email by ID, including attachments and thread. Requires `read:archive` permission.",operationId:"getArchivedEmailById",tags:["Archived Emails"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,description:"The ID of the archived email.",schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{200:{description:"Archived email details.",content:{"application/json":{schema:{$ref:"#/components/schemas/ArchivedEmail"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}},delete:{summary:"Delete an archived email",description:"Permanently deletes an archived email by ID. Deletion must be enabled in system settings and the email must not be on legal hold. Requires `delete:archive` permission.",operationId:"deleteArchivedEmail",tags:["Archived Emails"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,description:"The ID of the archived email to delete.",schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{204:{description:"Email deleted successfully. No content returned."},400:{description:"Deletion is disabled in system settings, or the email is blocked by a retention policy / legal hold.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/auth/setup":{post:{summary:"Initial setup",description:"Creates the initial administrator user. Can only be called once when no users exist.",operationId:"authSetup",tags:["Auth"],security:[],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["email","password","first_name","last_name"],properties:{email:{type:"string",format:"email",example:"admin@example.com"},password:{type:"string",format:"password",example:"securepassword123"},first_name:{type:"string",example:"Admin"},last_name:{type:"string",example:"User"}}}}}},responses:{201:{description:"Admin user created and logged in successfully.",content:{"application/json":{schema:{$ref:"#/components/schemas/LoginResponse"}}}},400:{description:"All fields are required.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},403:{description:"Setup has already been completed (users already exist).",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/auth/login":{post:{summary:"Login",description:"Authenticates a user with email and password and returns a JWT access token.",operationId:"authLogin",tags:["Auth"],security:[],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["email","password"],properties:{email:{type:"string",format:"email",example:"user@example.com"},password:{type:"string",format:"password",example:"securepassword123"}}}}}},responses:{200:{description:"Authentication successful.",content:{"application/json":{schema:{$ref:"#/components/schemas/LoginResponse"}}}},400:{description:"Email and password are required.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{description:"Invalid credentials.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/auth/status":{get:{summary:"Check setup status",description:"Returns whether the application has been set up (i.e., whether an admin user exists).",operationId:"authStatus",tags:["Auth"],security:[],responses:{200:{description:"Setup status returned.",content:{"application/json":{schema:{type:"object",properties:{needsSetup:{type:"boolean",description:"True if no admin user exists and setup is required.",example:!1}}}}}},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/dashboard/stats":{get:{summary:"Get dashboard stats",description:"Returns high-level statistics including total archived emails, total storage used, and failed ingestions in the last 7 days. Requires `read:dashboard` permission.",operationId:"getDashboardStats",tags:["Dashboard"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"Dashboard statistics.",content:{"application/json":{schema:{$ref:"#/components/schemas/DashboardStats"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"}}}},"/v1/dashboard/ingestion-history":{get:{summary:"Get ingestion history",description:"Returns time-series data of email ingestion counts for the last 30 days. Requires `read:dashboard` permission.",operationId:"getIngestionHistory",tags:["Dashboard"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"Ingestion history wrapped in a `history` array.",content:{"application/json":{schema:{type:"object",properties:{history:{type:"array",items:{type:"object",properties:{date:{type:"string",format:"date-time",description:"Truncated to day precision (UTC)."},count:{type:"integer"}}}}},required:["history"]}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"}}}},"/v1/dashboard/ingestion-sources":{get:{summary:"Get ingestion source summaries",description:"Returns a summary list of ingestion sources with their storage usage. Requires `read:dashboard` permission.",operationId:"getDashboardIngestionSources",tags:["Dashboard"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"List of ingestion source summaries.",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/IngestionSourceStats"}}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"}}}},"/v1/dashboard/recent-syncs":{get:{summary:"Get recent sync activity",description:"Returns the most recent sync sessions across all ingestion sources. Requires `read:dashboard` permission.",operationId:"getRecentSyncs",tags:["Dashboard"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"List of recent sync sessions.",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/RecentSync"}}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"}}}},"/v1/dashboard/indexed-insights":{get:{summary:"Get indexed email insights",description:"Returns top-sender statistics from the search index. Requires `read:dashboard` permission.",operationId:"getIndexedInsights",tags:["Dashboard"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"Indexed email insights.",content:{"application/json":{schema:{$ref:"#/components/schemas/IndexedInsights"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"}}}},"/v1/iam/roles":{get:{summary:"List all roles",description:"Returns all IAM roles. If predefined roles do not yet exist, they are created automatically. Requires `read:roles` permission.",operationId:"getRoles",tags:["IAM"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"List of roles.",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/Role"}}}}},401:{$ref:"#/components/responses/Unauthorized"},500:{$ref:"#/components/responses/InternalServerError"}}},post:{summary:"Create a role",description:"Creates a new IAM role with the given name and CASL policies. Requires `manage:all` (Super Admin) permission.",operationId:"createRole",tags:["IAM"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["name","policies"],properties:{name:{type:"string",example:"Compliance Officer"},policies:{type:"array",items:{$ref:"#/components/schemas/CaslPolicy"}}}}}}},responses:{201:{description:"Role created.",content:{"application/json":{schema:{$ref:"#/components/schemas/Role"}}}},400:{description:"Missing fields or invalid policy.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/iam/roles/{id}":{get:{summary:"Get a role",description:"Returns a single IAM role by ID. Requires `read:roles` permission.",operationId:"getRoleById",tags:["IAM"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{200:{description:"Role details.",content:{"application/json":{schema:{$ref:"#/components/schemas/Role"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}},delete:{summary:"Delete a role",description:"Permanently deletes an IAM role. Requires `manage:all` (Super Admin) permission.",operationId:"deleteRole",tags:["IAM"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{204:{description:"Role deleted. No content returned."},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"},500:{$ref:"#/components/responses/InternalServerError"}}},put:{summary:"Update a role",description:"Updates the name or policies of an IAM role. Requires `manage:all` (Super Admin) permission.",operationId:"updateRole",tags:["IAM"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",properties:{name:{type:"string",example:"Senior Compliance Officer"},policies:{type:"array",items:{$ref:"#/components/schemas/CaslPolicy"}}}}}}},responses:{200:{description:"Updated role.",content:{"application/json":{schema:{$ref:"#/components/schemas/Role"}}}},400:{description:"No update fields provided or invalid policy.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/ingestion-sources":{post:{summary:"Create an ingestion source",description:"Creates a new ingestion source and validates the connection. Returns the created source without credentials. Requires `create:ingestion` permission.",operationId:"createIngestionSource",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/CreateIngestionSourceDto"}}}},responses:{201:{description:"Ingestion source created successfully.",content:{"application/json":{schema:{$ref:"#/components/schemas/SafeIngestionSource"}}}},400:{description:"Invalid input or connection test failed.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"}}},get:{summary:"List ingestion sources",description:"Returns all ingestion sources accessible to the authenticated user. Credentials are excluded from the response. Requires `read:ingestion` permission.",operationId:"listIngestionSources",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"Array of ingestion sources.",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/SafeIngestionSource"}}}}},401:{$ref:"#/components/responses/Unauthorized"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/ingestion-sources/{id}":{get:{summary:"Get an ingestion source",description:"Returns a single ingestion source by ID. Credentials are excluded. Requires `read:ingestion` permission.",operationId:"getIngestionSourceById",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{200:{description:"Ingestion source details.",content:{"application/json":{schema:{$ref:"#/components/schemas/SafeIngestionSource"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}},put:{summary:"Update an ingestion source",description:"Updates configuration for an existing ingestion source. Requires `update:ingestion` permission.",operationId:"updateIngestionSource",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/UpdateIngestionSourceDto"}}}},responses:{200:{description:"Updated ingestion source.",content:{"application/json":{schema:{$ref:"#/components/schemas/SafeIngestionSource"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}},delete:{summary:"Delete an ingestion source",description:"Permanently deletes an ingestion source. Deletion must be enabled in system settings. Requires `delete:ingestion` permission.",operationId:"deleteIngestionSource",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{204:{description:"Ingestion source deleted. No content returned."},400:{description:"Deletion disabled or constraint error.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/ingestion-sources/{id}/import":{post:{summary:"Trigger initial import",description:"Enqueues an initial import job for the ingestion source. This imports all historical emails. Requires `create:ingestion` permission.",operationId:"triggerInitialImport",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{202:{description:"Initial import job accepted and queued.",content:{"application/json":{schema:{$ref:"#/components/schemas/MessageResponse"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/ingestion-sources/{id}/pause":{post:{summary:"Pause an ingestion source",description:"Sets the ingestion source status to `paused`, stopping continuous sync. Requires `update:ingestion` permission.",operationId:"pauseIngestionSource",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{200:{description:"Ingestion source paused. Returns the updated source.",content:{"application/json":{schema:{$ref:"#/components/schemas/SafeIngestionSource"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/ingestion-sources/{id}/sync":{post:{summary:"Force sync",description:"Triggers an out-of-schedule continuous sync for the ingestion source. Requires `sync:ingestion` permission.",operationId:"triggerForceSync",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{202:{description:"Force sync job accepted and queued.",content:{"application/json":{schema:{$ref:"#/components/schemas/MessageResponse"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/ingestion-sources/{id}/unmerge":{post:{summary:"Unmerge a child ingestion source",description:"Detaches a child source from its merge group, making it a standalone root source. Requires `update:ingestion` permission.",operationId:"unmergeIngestionSource",tags:["Ingestion"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string"}}],responses:{200:{description:"Source unmerged. Returns the updated source.",content:{"application/json":{schema:{$ref:"#/components/schemas/SafeIngestionSource"}}}},400:{description:"Source is not merged into another source."},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"}}}},"/v1/integrity/{id}":{get:{summary:"Check email integrity",description:"Verifies the SHA-256 hash of an archived email and all its attachments against the hashes stored at archival time. Returns per-item integrity results. Requires `read:archive` permission.",operationId:"checkIntegrity",tags:["Integrity"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,description:"UUID of the archived email to verify.",schema:{type:"string",format:"uuid",example:"550e8400-e29b-41d4-a716-446655440000"}}],responses:{200:{description:"Integrity check results for the email and its attachments.",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/IntegrityCheckResult"}}}}},400:{description:"Invalid UUID format.",content:{"application/json":{schema:{$ref:"#/components/schemas/ValidationError"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/jobs/queues":{get:{summary:"List all queues",description:"Returns all BullMQ job queues and their current job counts broken down by status. Requires `manage:all` (Super Admin) permission.",operationId:"getQueues",tags:["Jobs"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"List of queue overviews.",content:{"application/json":{schema:{type:"object",properties:{queues:{type:"array",items:{$ref:"#/components/schemas/QueueOverview"}}},example:{queues:[{name:"ingestion",counts:{active:0,completed:56,failed:4,delayed:3,waiting:0,paused:0}},{name:"indexing",counts:{active:0,completed:0,failed:0,delayed:0,waiting:0,paused:0}}]}}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/jobs/queues/{queueName}":{get:{summary:"Get jobs in a queue",description:"Returns a paginated list of jobs within a specific queue, filtered by status. Requires `manage:all` (Super Admin) permission.",operationId:"getQueueJobs",tags:["Jobs"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"queueName",in:"path",required:!0,description:"The name of the queue (e.g. `ingestion` or `indexing`).",schema:{type:"string",example:"ingestion"}},{name:"status",in:"query",required:!1,description:"Filter jobs by status.",schema:{type:"string",enum:["active","completed","failed","delayed","waiting","paused"],default:"failed"}},{name:"page",in:"query",required:!1,schema:{type:"integer",default:1}},{name:"limit",in:"query",required:!1,schema:{type:"integer",default:10}}],responses:{200:{description:"Detailed view of the queue including paginated jobs.",content:{"application/json":{schema:{$ref:"#/components/schemas/QueueDetails"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"},404:{description:"Queue not found.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/search":{get:{summary:"Search archived emails",description:"Performs a full-text search across indexed archived emails using Meilisearch. Requires `search:archive` permission.",operationId:"searchEmails",tags:["Search"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"keywords",in:"query",required:!0,description:"The search query string.",schema:{type:"string",example:"invoice Q4"}},{name:"page",in:"query",required:!1,description:"Page number for pagination.",schema:{type:"integer",default:1,example:1}},{name:"limit",in:"query",required:!1,description:"Number of results per page.",schema:{type:"integer",default:10,example:10}},{name:"matchingStrategy",in:"query",required:!1,description:"Meilisearch matching strategy. `last` returns results containing at least one keyword; `all` requires all keywords; `frequency` sorts by keyword frequency.",schema:{type:"string",enum:["last","all","frequency"],default:"last"}}],responses:{200:{description:"Search results.",content:{"application/json":{schema:{$ref:"#/components/schemas/SearchResults"}}}},400:{description:"Keywords parameter is required.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/settings/system":{get:{summary:"Get system settings",description:`Returns non-sensitive system settings such as language, timezone, and feature flags. This endpoint is public — no authentication required. Sensitive settings are never exposed. `,operationId:"getSystemSettings",tags:["Settings"],responses:{200:{description:"Current system settings.",content:{"application/json":{schema:{$ref:"#/components/schemas/SystemSettings"}}}},500:{$ref:"#/components/responses/InternalServerError"}}},put:{summary:"Update system settings",description:"Updates system settings. Requires `manage:settings` permission.",operationId:"updateSystemSettings",tags:["Settings"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],requestBody:{required:!0,content:{"application/json":{schema:{$ref:"#/components/schemas/SystemSettings"}}}},responses:{200:{description:"Updated system settings.",content:{"application/json":{schema:{$ref:"#/components/schemas/SystemSettings"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/storage/download":{get:{summary:"Download a stored file",description:"Downloads a file from the configured storage backend (local filesystem or S3-compatible). The path is sanitized to prevent directory traversal attacks. Requires `read:archive` permission.\n",operationId:"downloadFile",tags:["Storage"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"path",in:"query",required:!0,description:"The relative storage path of the file to download.",schema:{type:"string",example:"open-archiver/emails/abc123.eml"}}],responses:{200:{description:"The file content as a binary stream. The `Content-Disposition` header is set to trigger a browser download.",headers:{"Content-Disposition":{description:"Attachment filename.",schema:{type:"string",example:'attachment; filename="abc123.eml"'}}},content:{"application/octet-stream":{schema:{type:"string",format:"binary"}}}},400:{description:"File path is required or invalid.",content:{"text/plain":{schema:{type:"string"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{description:"File not found in storage.",content:{"text/plain":{schema:{type:"string"}}}},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/upload":{post:{summary:"Upload a file",description:"Uploads a file (PST, EML, MBOX, or other) to temporary storage for subsequent use in an ingestion source. Returns the storage path, which should be passed as `uploadedFilePath` when creating a file-based ingestion source. Requires `create:ingestion` permission.\n",operationId:"uploadFile",tags:["Upload"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],requestBody:{required:!0,content:{"multipart/form-data":{schema:{type:"object",properties:{file:{type:"string",format:"binary",description:"The file to upload."}}}}}},responses:{200:{description:"File uploaded successfully. Returns the storage path.",content:{"application/json":{schema:{type:"object",properties:{filePath:{type:"string",description:"The storage path of the uploaded file. Use this as `uploadedFilePath` when creating a file-based ingestion source.",example:"open-archiver/tmp/uuid-filename.pst"}}}}}},400:{description:"Invalid multipart request.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"},500:{$ref:"#/components/responses/InternalServerError"}}}},"/v1/users":{get:{summary:"List all users",description:"Returns all user accounts in the system. Requires `read:users` permission.",operationId:"getUsers",tags:["Users"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"List of users.",content:{"application/json":{schema:{type:"array",items:{$ref:"#/components/schemas/User"}}}}},401:{$ref:"#/components/responses/Unauthorized"}}},post:{summary:"Create a user",description:"Creates a new user account and optionally assigns a role. Requires `manage:all` (Super Admin) permission.",operationId:"createUser",tags:["Users"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["email","first_name","last_name","password"],properties:{email:{type:"string",format:"email",example:"jane.doe@example.com"},first_name:{type:"string",example:"Jane"},last_name:{type:"string",example:"Doe"},password:{type:"string",format:"password",example:"securepassword123"},roleId:{type:"string",description:"Optional role ID to assign to the user.",example:"clx1y2z3a0000b4d2"}}}}}},responses:{201:{description:"User created.",content:{"application/json":{schema:{$ref:"#/components/schemas/User"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"}}}},"/v1/users/profile":{get:{summary:"Get current user profile",description:"Returns the profile of the currently authenticated user.",operationId:"getProfile",tags:["Users"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],responses:{200:{description:"Current user's profile.",content:{"application/json":{schema:{$ref:"#/components/schemas/User"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"}}},patch:{summary:"Update current user profile",description:"Updates the email, first name, or last name of the currently authenticated user. Disabled in demo mode.",operationId:"updateProfile",tags:["Users"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",properties:{email:{type:"string",format:"email"},first_name:{type:"string"},last_name:{type:"string"}}}}}},responses:{200:{description:"Updated user profile.",content:{"application/json":{schema:{$ref:"#/components/schemas/User"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{description:"Disabled in demo mode.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}}}}},"/v1/users/profile/password":{post:{summary:"Update password",description:"Updates the password of the currently authenticated user. The current password must be provided for verification. Disabled in demo mode.",operationId:"updatePassword",tags:["Users"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",required:["currentPassword","newPassword"],properties:{currentPassword:{type:"string",format:"password"},newPassword:{type:"string",format:"password"}}}}}},responses:{200:{description:"Password updated successfully.",content:{"application/json":{schema:{$ref:"#/components/schemas/MessageResponse"}}}},400:{description:"Current password is incorrect.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{description:"Disabled in demo mode.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}}}}},"/v1/users/{id}":{get:{summary:"Get a user",description:"Returns a single user by ID. Requires `read:users` permission.",operationId:"getUser",tags:["Users"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{200:{description:"User details.",content:{"application/json":{schema:{$ref:"#/components/schemas/User"}}}},401:{$ref:"#/components/responses/Unauthorized"},404:{$ref:"#/components/responses/NotFound"}}},put:{summary:"Update a user",description:"Updates a user's email, name, or role assignment. Requires `manage:all` (Super Admin) permission.",operationId:"updateUser",tags:["Users"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],requestBody:{required:!0,content:{"application/json":{schema:{type:"object",properties:{email:{type:"string",format:"email"},first_name:{type:"string"},last_name:{type:"string"},roleId:{type:"string"}}}}}},responses:{200:{description:"Updated user.",content:{"application/json":{schema:{$ref:"#/components/schemas/User"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"},404:{$ref:"#/components/responses/NotFound"}}},delete:{summary:"Delete a user",description:"Permanently deletes a user. Cannot delete the last remaining user. Requires `manage:all` (Super Admin) permission.",operationId:"deleteUser",tags:["Users"],security:[{bearerAuth:[]},{apiKeyAuth:[]}],parameters:[{name:"id",in:"path",required:!0,schema:{type:"string",example:"clx1y2z3a0000b4d2"}}],responses:{204:{description:"User deleted. No content returned."},400:{description:"Cannot delete the only remaining user.",content:{"application/json":{schema:{$ref:"#/components/schemas/ErrorMessage"}}}},401:{$ref:"#/components/responses/Unauthorized"},403:{$ref:"#/components/responses/Forbidden"}}}}},gFe=[],vFe={openapi:uFe,info:dFe,servers:pFe,security:fFe,components:hFe,paths:mFe,tags:gFe},AFe={...Kv,enhanceApp({app:e,router:t,siteData:r}){var n;(n=Kv.enhanceApp)==null||n.call(Kv,{app:e,router:t,siteData:r}),cFe.enhanceApp({app:e,router:t,siteData:r}),yR({spec:vFe})}};export{AFe as R,PG as c,Yr as u}; diff --git a/assets/user-guides_email-providers_index.md.D2IiEdvn.js b/assets/user-guides_email-providers_index.md.D2pQ89-G.js similarity index 78% rename from assets/user-guides_email-providers_index.md.D2IiEdvn.js rename to assets/user-guides_email-providers_index.md.D2pQ89-G.js index adea665..b3c43d8 100644 --- a/assets/user-guides_email-providers_index.md.D2IiEdvn.js +++ b/assets/user-guides_email-providers_index.md.D2pQ89-G.js @@ -1 +1 @@ -import{_ as r,c as i,o,ax as a}from"./chunks/framework.DHqKNX4U.js";const h=JSON.parse('{"title":"Connecting Email Providers","description":"","frontmatter":{},"headers":[],"relativePath":"user-guides/email-providers/index.md","filePath":"user-guides/email-providers/index.md"}'),t={name:"user-guides/email-providers/index.md"};function l(s,e,n,c,d,m){return o(),i("div",null,e[0]||(e[0]=[a('

Connecting Email Providers

Open Archiver can connect to a variety of email sources to ingest and archive your emails. This section provides guides for connecting to popular email providers.

Choose your provider from the list below to get started:

',4)]))}const _=r(t,[["render",l]]);export{h as __pageData,_ as default}; +import{_ as r,c as i,o,ax as a}from"./chunks/framework.DHqKNX4U.js";const h=JSON.parse('{"title":"Connecting Email Providers","description":"","frontmatter":{},"headers":[],"relativePath":"user-guides/email-providers/index.md","filePath":"user-guides/email-providers/index.md"}'),t={name:"user-guides/email-providers/index.md"};function s(l,e,n,c,m,d){return o(),i("div",null,e[0]||(e[0]=[a('

Connecting Email Providers

Open Archiver can connect to a variety of email sources to ingest and archive your emails. This section provides guides for connecting to popular email providers.

Choose your provider from the list below to get started:

',4)]))}const u=r(t,[["render",s]]);export{h as __pageData,u as default}; diff --git a/assets/user-guides_email-providers_index.md.D2IiEdvn.lean.js b/assets/user-guides_email-providers_index.md.D2pQ89-G.lean.js similarity index 68% rename from assets/user-guides_email-providers_index.md.D2IiEdvn.lean.js rename to assets/user-guides_email-providers_index.md.D2pQ89-G.lean.js index 4b56670..0874782 100644 --- a/assets/user-guides_email-providers_index.md.D2IiEdvn.lean.js +++ b/assets/user-guides_email-providers_index.md.D2pQ89-G.lean.js @@ -1 +1 @@ -import{_ as r,c as i,o,ax as a}from"./chunks/framework.DHqKNX4U.js";const h=JSON.parse('{"title":"Connecting Email Providers","description":"","frontmatter":{},"headers":[],"relativePath":"user-guides/email-providers/index.md","filePath":"user-guides/email-providers/index.md"}'),t={name:"user-guides/email-providers/index.md"};function l(s,e,n,c,d,m){return o(),i("div",null,e[0]||(e[0]=[a("",4)]))}const _=r(t,[["render",l]]);export{h as __pageData,_ as default}; +import{_ as r,c as i,o,ax as a}from"./chunks/framework.DHqKNX4U.js";const h=JSON.parse('{"title":"Connecting Email Providers","description":"","frontmatter":{},"headers":[],"relativePath":"user-guides/email-providers/index.md","filePath":"user-guides/email-providers/index.md"}'),t={name:"user-guides/email-providers/index.md"};function s(l,e,n,c,m,d){return o(),i("div",null,e[0]||(e[0]=[a("",4)]))}const u=r(t,[["render",s]]);export{h as __pageData,u as default}; diff --git a/assets/user-guides_email-providers_merging-sources.md.D0DI--4D.js b/assets/user-guides_email-providers_merging-sources.md.D0DI--4D.js new file mode 100644 index 0000000..e660fcb --- /dev/null +++ b/assets/user-guides_email-providers_merging-sources.md.D0DI--4D.js @@ -0,0 +1 @@ +import{_ as o,c as r,o as t,ax as i}from"./chunks/framework.DHqKNX4U.js";const u=JSON.parse('{"title":"Merging Ingestion Sources","description":"","frontmatter":{},"headers":[],"relativePath":"user-guides/email-providers/merging-sources.md","filePath":"user-guides/email-providers/merging-sources.md"}'),n={name:"user-guides/email-providers/merging-sources.md"};function a(s,e,l,c,d,h){return t(),r("div",null,e[0]||(e[0]=[i('

Merging Ingestion Sources

Merged ingestion groups let you combine multiple ingestion sources so that their emails appear unified in browsing, search, and thread views. This is useful when you want to pair a historical archive (for example, a PST or Mbox import) with a live connection, or when migrating between providers.

Concepts

TermDefinition
Root sourceAn ingestion source where no merge parent is set. Shown as the primary row in the Ingestions table. All emails in the group are physically owned by the root.
Child sourceAn ingestion source merged into a root. Acts as a fetch assistant — it connects to the provider and retrieves emails, but all data is stored under the root source.
GroupA root source and all its children. All emails from every member are stored under and owned by the root.

The hierarchy is flat — only one level of nesting is supported. If you merge a source into a child, the system automatically redirects the relationship to the root.

Root Ownership — How Storage and Data Work

This is the key design principle of merged sources:

Child sources are assistants. They fetch emails from their provider but never own any stored data. Every email ingested by a child is written to the root source's storage folder and assigned the root source's ID in the database.

In practical terms:

  • The storage path for every email belongs to the root: openarchiver/{root-name}-{root-id}/emails/...
  • Every archived_emails database row created by a child ingestion will have ingestionSourceId set to the root's ID, not the child's.
  • Attachments are also stored under the root's folder and scoped to the root's ID.
  • The root's Preserve Original File (GoBD compliance) setting is inherited by all children in the group. A child's own preserveOriginalFile setting is ignored during ingestion — only the root's setting applies.

This means browsing the root source's emails will show all emails from the entire group, including those fetched by child sources, without any extra configuration.

When to Use Merged Sources

  • Historical + live: Import a PST archive and merge it into an active IMAP or Google Workspace connection so historical and current emails appear in one unified mailbox.
  • Provider migration: Add a new Microsoft 365 connector and merge it with your existing Google Workspace connector during a cutover period.
  • Backfill: Import an Mbox export and merge it with a live connection to cover a gap in the archive.

How to Merge a New Source Into an Existing One

Merging can only be configured at creation time.

  1. Navigate to the Ingestions page.
  2. Click Create New to open the ingestion source form.
  3. Fill in the provider details as usual.
  4. Expand the Advanced Options section at the bottom of the form. This section is only visible when at least one ingestion source already exists.
  5. Check Merge into existing ingestion and select the target root source from the dropdown.
  6. Click Submit.

The new source will run its initial import normally. Once complete, its emails will appear alongside those of the root source — all stored under the root.

How Emails Appear When Merged

When you browse archived emails for a root source, you see all emails in the group because they are all physically owned by the root. There is nothing to aggregate — the data is already unified at the storage and database level.

The same applies to search: filtering by a root source ID returns all emails in the group.

Threads also span the merge group. If a reply arrived via a different source than the original message, it still appears in the correct thread.

How Syncing Works

Each source syncs independently. The scheduler picks up all sources with status active or error, regardless of whether they are merged.

  • File-based imports (PST, EML, Mbox) finish with status imported and are never re-synced automatically.
  • Live sources (IMAP, Google Workspace, Microsoft 365) continue their normal sync cycle.

When you trigger Force Sync on a root source, the system also queues a sync for all non-file-based children that are currently active or error.

Deduplication Across the Group

When ingesting emails, duplicate detection covers the entire merge group. If the same email (matched by its RFC Message-ID header or provider-specific ID) already exists anywhere in the group, it is skipped and not stored again.

Preserve Original File (GoBD Compliance) and Merged Sources

The Preserve Original File setting on the root source governs the entire group. When this setting is enabled on the root:

  • All emails ingested by child sources are also stored unmodified (raw EML, no attachment stripping).
  • The child's own preserveOriginalFile setting has no effect — the root's setting is always used.

This ensures consistent compliance behaviour across the group. If you require GoBD or SEC 17a-4 compliance for an entire merged group, enable Preserve Original File on the root source before adding any children.

Editing Sources in a Group

Each source in a group can be edited independently. Expand the group row in the Ingestions table by clicking the chevron, then use the actions menu on the specific source (root or child) you want to edit.

Unmerging a Child Source

To detach a child from its group and make it standalone:

  1. Expand the group row by clicking the chevron next to the root source name.
  2. Open the actions menu on the child source.
  3. Click Unmerge.

The child becomes an independent root source. No email data is moved or deleted.

Note: Because all emails fetched by the child were stored under the root source's ID, unmerging the child does not transfer those emails. Historical emails ingested while the source was a child remain owned by the root. Only new emails ingested after unmerging will be stored under the (now standalone) child.

Deleting Sources in a Group

  • Deleting a root source also deletes all its children: their configuration, and all emails, attachments, storage files, and search index entries owned by the root are all removed. Because all group emails are stored under the root, this effectively removes the entire group's archive.
  • Deleting a child source removes only the child's configuration and sync state. Emails already ingested by the child are stored under the root and are not deleted.

A warning is shown in the delete confirmation dialog when a root source has children.

Known Limitations

  • Merging existing standalone sources is not supported. You can only merge a source into a group at creation time. To merge two existing sources, you must delete one and recreate it with the merge target selected.
  • Historical data from a child source before unmerging remains with the root. If you unmerge a child, emails it previously ingested stay owned by the root and are not migrated to the child.
',43)]))}const p=o(n,[["render",a]]);export{u as __pageData,p as default}; diff --git a/assets/user-guides_email-providers_merging-sources.md.D0DI--4D.lean.js b/assets/user-guides_email-providers_merging-sources.md.D0DI--4D.lean.js new file mode 100644 index 0000000..dc512cb --- /dev/null +++ b/assets/user-guides_email-providers_merging-sources.md.D0DI--4D.lean.js @@ -0,0 +1 @@ +import{_ as o,c as r,o as t,ax as i}from"./chunks/framework.DHqKNX4U.js";const u=JSON.parse('{"title":"Merging Ingestion Sources","description":"","frontmatter":{},"headers":[],"relativePath":"user-guides/email-providers/merging-sources.md","filePath":"user-guides/email-providers/merging-sources.md"}'),n={name:"user-guides/email-providers/merging-sources.md"};function a(s,e,l,c,d,h){return t(),r("div",null,e[0]||(e[0]=[i("",43)]))}const p=o(n,[["render",a]]);export{u as __pageData,p as default}; diff --git a/enterprise/audit-log/api.html b/enterprise/audit-log/api.html index de3ebd1..df0ab4d 100644 --- a/enterprise/audit-log/api.html +++ b/enterprise/audit-log/api.html @@ -9,9 +9,9 @@ - + - + @@ -48,7 +48,7 @@ "message": "Audit log chain is broken!", "logId": 123 } - + \ No newline at end of file diff --git a/enterprise/audit-log/audit-service.html b/enterprise/audit-log/audit-service.html index 15352c7..e4a390b 100644 --- a/enterprise/audit-log/audit-service.html +++ b/enterprise/audit-log/audit-service.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Audit Log: Backend Implementation

The backend implementation of the audit log is handled by the AuditService, located in packages/backend/src/services/AuditService.ts. This service encapsulates all the logic for creating, retrieving, and verifying audit log entries.

Hashing and Verification Logic

The core of the audit log's immutability lies in its hashing and verification logic.

Hash Calculation

The calculateHash method is responsible for generating a SHA-256 hash of a log entry. To ensure consistency, it performs the following steps:

  1. Canonical Object Creation: It constructs a new object with a fixed property order, ensuring that the object's structure is always the same.
  2. Timestamp Normalization: It converts the timestamp to milliseconds since the epoch (getTime()) to avoid any precision-related discrepancies between the application and the database.
  3. Canonical Stringification: It uses a custom canonicalStringify function to create a JSON string representation of the object. This function sorts the object keys, ensuring that the output is always the same, regardless of the in-memory property order.
  4. Hash Generation: It computes a SHA-256 hash of the canonical string.

Verification Process

The verifyAuditLog method is designed to be highly scalable and efficient, even with millions of log entries. It processes the logs in manageable chunks (e.g., 1000 at a time) to avoid loading the entire table into memory.

The verification process involves the following steps:

  1. Iterative Processing: It fetches the logs in batches within a while loop.
  2. Chain Verification: For each log entry, it compares the previousHash with the currentHash of the preceding log. If they do not match, the chain is broken, and the verification fails.
  3. Hash Recalculation: It recalculates the hash of the current log entry using the same calculateHash method used during creation.
  4. Integrity Check: It compares the recalculated hash with the currentHash stored in the database. If they do not match, the log entry has been tampered with, and the verification fails.

Service Integration

The AuditService is integrated into the application through the AuditLogModule (packages/enterprise/src/modules/audit-log/audit-log.module.ts), which registers the API routes for the audit log feature. The service's createAuditLog method is called from various other services throughout the application to record significant events.

- + \ No newline at end of file diff --git a/enterprise/audit-log/guide.html b/enterprise/audit-log/guide.html index dfb9e76..c6737ab 100644 --- a/enterprise/audit-log/guide.html +++ b/enterprise/audit-log/guide.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Audit Log: User Interface

The audit log user interface provides a comprehensive view of all significant events that have occurred within the Open Archiver system. It is designed to be intuitive and user-friendly, allowing administrators to easily monitor and review system activity.

Viewing Audit Logs

The main audit log page displays a table of log entries, with the following columns:

  • Timestamp: The date and time of the event.
  • Actor: The identifier of the user or system process that performed the action.
  • IP Address: The IP address from which the action was initiated.
  • Action: The type of action performed, displayed as a color-coded badge for easy identification.
  • Target Type: The type of resource that was affected.
  • Target ID: The unique identifier of the affected resource.
  • Details: A truncated preview of the event's details. The full JSON object is displayed in a pop-up card on hover.

Filtering and Sorting

The table can be sorted by timestamp by clicking the "Timestamp" header. This allows you to view the logs in either chronological or reverse chronological order.

Pagination

Pagination controls are available below the table, allowing you to navigate through the entire history of audit log entries.

Verifying Log Integrity

The "Verify Log Integrity" button allows you to initiate a verification process to check the integrity of the entire audit log chain. This process recalculates the hash of each log entry and compares it to the stored hash, ensuring that the cryptographic chain is unbroken and no entries have been tampered with.

Verification Responses

  • Success: A success notification is displayed, confirming that the audit log integrity has been verified successfully. This means that the log chain is complete and no entries have been tampered with.

  • Failure: An error notification is displayed, indicating that the audit log chain is broken or an entry has been tampered with. The notification will include the ID of the log entry where the issue was detected. There are two types of failures:

    • Audit log chain is broken: This means that the previousHash of a log entry does not match the currentHash of the preceding entry. This indicates that one or more log entries may have been deleted or inserted into the chain.
    • Audit log entry is tampered!: This means that the recalculated hash of a log entry does not match its stored currentHash. This indicates that the data within the log entry has been altered.

Viewing Log Details

You can view the full details of any log entry by clicking on its row in the table. This will open a dialog containing all the information associated with the log entry, including the previous and current hashes.

- + \ No newline at end of file diff --git a/enterprise/audit-log/index.html b/enterprise/audit-log/index.html index b185736..e5f2f69 100644 --- a/enterprise/audit-log/index.html +++ b/enterprise/audit-log/index.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Audit Log

The Audit Log is an enterprise-grade feature designed to provide a complete, immutable, and verifiable record of every significant action that occurs within the Open Archiver system. Its primary purpose is to ensure compliance with strict regulatory standards, such as the German GoBD, by establishing a tamper-proof chain of evidence for all activities.

Core Principles

To fulfill its compliance and security functions, the audit log adheres to the following core principles:

1. Immutability

Every log entry is cryptographically chained to the previous one. Each new entry contains a SHA-256 hash of the preceding entry's hash, creating a verifiable chain. Any attempt to alter or delete a past entry would break this chain and be immediately detectable through the verification process.

2. Completeness

The system is designed to log every significant event without exception. This includes not only user-initiated actions (like logins, searches, and downloads) but also automated system processes, such as data ingestion and policy-based deletions.

3. Attribution

Each log entry is unambiguously linked to the actor that initiated the event. This could be a specific authenticated user, an external auditor, or an automated system process. The actor's identifier and source IP address are recorded to ensure full traceability.

4. Clarity and Detail

Log entries are structured to be detailed and human-readable, providing sufficient context for an auditor to understand the event without needing specialized system knowledge. This includes the action performed, the target resource affected, and a JSON object with specific, contextual details of the event.

5. Verifiability

The integrity of the entire audit log can be verified at any time. A dedicated process iterates through the logs from the beginning, recalculating the hash of each entry and comparing it to the stored hash, ensuring the cryptographic chain is unbroken and no entries have been tampered with.

- + \ No newline at end of file diff --git a/enterprise/legal-holds/api.html b/enterprise/legal-holds/api.html index 570200d..680de91 100644 --- a/enterprise/legal-holds/api.html +++ b/enterprise/legal-holds/api.html @@ -9,9 +9,9 @@ - + - + @@ -112,7 +112,7 @@ } ] }

Validation Constraints

FieldConstraint
Hold name1–255 characters.
ReasonMax 2 000 characters.
caseIdMust be a valid UUID if provided.
holdIdMust be a valid UUID.
emailIdMust be a valid UUID.
Search queryString (may be empty "").
matchingStrategyOne of "last", "all", "frequency".
- + \ No newline at end of file diff --git a/enterprise/legal-holds/guide.html b/enterprise/legal-holds/guide.html index b6f73e2..340b13e 100644 --- a/enterprise/legal-holds/guide.html +++ b/enterprise/legal-holds/guide.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content
- + \ No newline at end of file diff --git a/enterprise/legal-holds/index.html b/enterprise/legal-holds/index.html index 2eab937..6f3c57d 100644 --- a/enterprise/legal-holds/index.html +++ b/enterprise/legal-holds/index.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content
- + \ No newline at end of file diff --git a/enterprise/retention-labels/api.html b/enterprise/retention-labels/api.html index 9d0186d..ed12504 100644 --- a/enterprise/retention-labels/api.html +++ b/enterprise/retention-labels/api.html @@ -9,9 +9,9 @@ - + - + @@ -86,7 +86,7 @@ } ] }

Validation Constraints

FieldConstraint
Label name1–255 characters, must be unique.
DescriptionMax 1000 characters.
Retention periodPositive integer (≥ 1 day).
Label ID (UUID)Must be a valid UUID format.
Email ID (UUID)Must be a valid UUID format.
- + \ No newline at end of file diff --git a/enterprise/retention-labels/automated-tagging.html b/enterprise/retention-labels/automated-tagging.html index c8dbf63..1fda7d9 100644 --- a/enterprise/retention-labels/automated-tagging.html +++ b/enterprise/retention-labels/automated-tagging.html @@ -9,9 +9,9 @@ - + - + @@ -27,7 +27,7 @@ "labelId": "your-label-uuid-here" }

Step 5: Verify Application

Confirm the label was successfully applied by checking the response or making another GET request.

Label Management

Getting Available Labels

List all available retention labels to identify which ones to use:

GET /api/v1/enterprise/retention-policy/labels

This returns all labels with their IDs, names, retention periods, and status (enabled/disabled).

Label Selection Strategy

  • Pre-create labels through the UI with appropriate names and retention periods
  • Map business rules to specific label IDs in your automation logic
  • Cache label information to avoid repeated API calls
  • Handle disabled labels gracefully (they cannot be applied to new emails)

Implementation Patterns

Pattern 1: Post-Ingestion Processing

Apply labels after emails have been fully ingested and indexed:

  1. Monitor for newly ingested emails (via webhooks or polling)
  2. Analyze email content and metadata
  3. Determine appropriate retention label based on business rules
  4. Apply the label via API

Pattern 2: Batch Processing

Process emails in scheduled batches:

  1. Query for unlabeled emails periodically (daily/weekly)
  2. Process emails in manageable batches (50-100 emails)
  3. Apply classification logic and labels
  4. Log results for audit and monitoring

Pattern 3: Event-Driven Tagging

React to specific events or triggers:

  1. Receive notification of specific events (legal hold notice, project start, etc.)
  2. Search for relevant emails based on criteria
  3. Apply appropriate labels to all matching emails
  4. Document the mass labeling action

Authentication and Security

API Key Management

  • Use dedicated API keys for automated systems (not user accounts)
  • Assign minimal required permissions (delete:archive for label application)
  • Rotate API keys regularly as part of security best practices
  • Store keys securely using environment variables or secret management systems

Request Authentication

Include the API key in all requests:

Authorization: Bearer your-api-key-here
 Content-Type: application/json

Error Handling

Common Error Scenarios

  • 404 Email Not Found: The specified email ID doesn't exist
  • 404 Label Not Found: The label ID is invalid or label has been deleted
  • 409 Conflict: Attempting to apply a disabled label
  • 422 Validation Error: Invalid request format or missing required fields

Best Practices

  • Check response status codes and handle errors appropriately
  • Implement retry logic for temporary failures (5xx errors)
  • Log all operations for audit trails and debugging
  • Continue processing other emails even if some fail

Performance Considerations

Rate Limiting

  • Process emails in batches rather than individually when possible
  • Add delays between API calls to avoid overwhelming the server
  • Monitor API response times and adjust batch sizes accordingly

Efficiency Tips

  • Cache label information to reduce API calls
  • Check existing labels before applying new ones to avoid unnecessary operations
  • Use search API to filter emails rather than processing all emails
  • Implement incremental processing to handle only new or modified emails

Monitoring and Auditing

Logging Recommendations

  • Log all label applications with email ID, label ID, and timestamp
  • Track success/failure rates for monitoring system health
  • Record business rule matches for compliance reporting

Audit Trail

All automated label applications are recorded in the system audit log with:

  • Actor identified as the API key name
  • Target email and applied label details
  • Timestamp of the operation

This ensures full traceability of automated retention decisions.

Integration Examples

Scenario: Invoice Processing System

  1. Trigger: New email arrives with invoice attachment
  2. Analysis: System identifies invoice keywords or attachment types
  3. Action: Apply "Financial Records - 7 Year" label via API
  4. Result: Email retained for regulatory compliance period
  1. Trigger: Legal department issues hold notice for specific matter
  2. Search: Find all emails matching case criteria (participants, keywords, date range)
  3. Action: Apply "Legal Hold - Matter XYZ" label to all matching emails
  4. Result: All relevant emails preserved indefinitely

Scenario: Data Classification Integration

  1. Trigger: Content classification system processes new emails
  2. Analysis: ML system categorizes email as "Confidential Financial Data"
  3. Mapping: Business rules map category to "Financial Confidential - 10 Year" label
  4. Action: Apply label via API
  5. Result: Automatic compliance with data retention policies

Getting Started

  1. Set up authentication by creating an API key with appropriate permissions
  2. Identify your use cases and create corresponding retention labels through the UI
  3. Test the API with a few sample emails to understand the workflow
  4. Implement your business logic to identify which emails need which labels
  5. Deploy your automation with proper error handling and monitoring
  6. Monitor results and adjust your classification rules as needed

This automated approach ensures consistent retention policy enforcement while reducing manual administrative overhead.

- + \ No newline at end of file diff --git a/enterprise/retention-labels/guide.html b/enterprise/retention-labels/guide.html index 217a674..ffb2b20 100644 --- a/enterprise/retention-labels/guide.html +++ b/enterprise/retention-labels/guide.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Retention Labels: User Interface Guide

The retention labels management interface is located at Dashboard → Compliance → Retention Labels. It provides a comprehensive view of all configured labels and tools for creating, editing, deleting, and applying labels to individual archived emails.

Overview

Retention labels provide item-level retention control, allowing administrators to override normal retention policies for specific emails with custom retention periods. This is particularly useful for legal holds, regulatory compliance, and preserving important business communications.

Labels Table

The main page displays a table of all retention labels with the following columns:

  • Name: The label name and its UUID displayed underneath for reference. If a description is provided, it appears below the name in smaller text.
  • Retention Period: The number of days emails with this label are retained, displayed as "X days".
  • Status: A badge indicating whether the label is:
    • Enabled (green badge): The label can be applied to new emails
    • Disabled (gray badge): The label cannot be applied to new emails but continues to govern already-labeled emails
  • Created At: The date the label was created, displayed in local date format.
  • Actions: Dropdown menu with Edit and Delete options for each label.

The table is sorted by creation date in ascending order by default.

Creating a Label

Click the "Create New" button (with plus icon) above the table to open the creation dialog.

Form Fields

  • Name (Required): A unique, descriptive name for the label. Maximum 255 characters.
  • Description (Optional): A detailed explanation of the label's purpose or usage. Maximum 1000 characters.
  • Retention Period (Days) (Required): The number of days to retain emails with this label. Must be at least 1 day.

Example Labels

  • Name: "Legal Hold - Project Alpha"
    Description: "Extended retention for emails related to ongoing litigation regarding Project Alpha intellectual property dispute"
    Retention Period: 3650 days (10 years)

  • Name: "Executive Communications"
    Description: "Preserve important emails from C-level executives beyond normal retention periods"
    Retention Period: 2555 days (7 years)

  • Name: "Financial Records Q4 2025"
    Retention Period: 2190 days (6 years)

Success and Error Handling

  • Success: The dialog closes and a green success notification appears confirming the label was created.
  • Name Conflict: If a label with the same name already exists, an error notification will display.
  • Validation Errors: Missing required fields or invalid values will show inline validation messages.

Editing a Label

Click the Edit option from the actions dropdown on any label row to open the edit dialog.

Editable Fields

  • Name: Can always be modified (subject to uniqueness constraint)
  • Description: Can always be modified
  • Retention Period: Can only be modified if the label has never been applied to any emails

Retention Period Restrictions

The edit dialog shows a warning message: "Retention period cannot be modified if this label is currently applied to emails." If you attempt to change the retention period for a label that's in use, the system will return a conflict error and display an appropriate error message.

This restriction prevents tampering with active retention schedules and ensures compliance integrity.

Update Process

  1. Modify the desired fields
  2. Click Save to submit changes
  3. The system validates the changes and updates the label
  4. A success notification confirms the update

Deleting a Label

Click the Delete option from the actions dropdown to open the deletion confirmation dialog.

Smart Deletion Behavior

The system uses intelligent deletion logic:

Hard Delete

If the label has never been applied to any emails:

  • The label is permanently removed from the system
  • Success message: "Label deleted successfully"

Soft Disable

If the label is currently applied to one or more emails:

  • The label is marked as "Disabled" instead of being deleted
  • The label remains in the table with a "Disabled" status badge
  • Existing emails keep their retention schedule based on this label
  • The label cannot be applied to new emails
  • Success message: "Label disabled successfully"

Confirmation Dialog

The deletion dialog shows:

  • Title: "Delete Retention Label"
  • Description: Explains that this action cannot be undone and may disable the label if it's in use
  • Cancel button to abort the operation
  • Confirm button to proceed with deletion

Applying Labels to Emails

Retention labels can be applied to individual archived emails through the email detail pages.

From Email Detail Page

  1. Navigate to an archived email by clicking on it from search results or the archived emails list
  2. Look for the "Retention Label" section in the email metadata
  3. If no label is applied, you'll see an "Apply Label" button (requires delete:archive permission)
  4. If a label is already applied, you'll see:
    • The current label name and retention period
    • "Change Label" and "Remove Label" buttons

Label Application Process

  1. Click "Apply Label" or "Change Label"
  2. A dropdown or dialog shows all available (enabled) labels
  3. Select the desired label
  4. Confirm the application
  5. The system:
    • Removes any existing label from the email
    • Applies the new label
    • Records the action in the audit log
    • Updates the email's retention schedule

One Label Per Email Rule

Each email can have at most one retention label. When you apply a new label to an email that already has a label, the previous label is automatically removed and replaced with the new one.

Permissions Required

Different operations require different permission levels:

Label Management

  • Create, Edit, Delete Labels: Requires manage:all permission
  • View Labels Table: Requires manage:all permission

Email Label Operations

  • View Email Labels: Requires read:archive permission
  • Apply/Remove Email Labels: Requires delete:archive permission

Status Indicators

Enabled Labels (Green Badge)

  • Can be applied to new emails
  • Appears in label selection dropdowns
  • Fully functional for all operations

Disabled Labels (Gray Badge)

  • Cannot be applied to new emails
  • Does not appear in label selection dropdowns
  • Continues to govern retention for already-labeled emails
  • Can still be viewed and its details examined
  • Results from attempting to delete a label that's currently in use

Best Practices

Naming Conventions

  • Use descriptive names that indicate purpose: "Legal Hold - Case XYZ", "Executive - Q4 Review"
  • Include time periods or case references where relevant
  • Maintain consistent naming patterns across your organization

Descriptions

  • Always provide descriptions for complex or specialized labels
  • Include the business reason or legal requirement driving the retention period
  • Reference specific regulations, policies, or legal matters where applicable

Retention Periods

  • Consider your organization's legal and regulatory requirements
  • Common periods:
    • 3 years (1095 days): Standard business records
    • 7 years (2555 days): Financial and tax records
    • 10 years (3650 days): Legal holds and critical business documents
    • Permanent retention: Use very large numbers (e.g., 36500 days = 100 years)

Label Lifecycle

  • Review labels periodically to identify unused or obsolete labels
  • Disabled labels can accumulate over time - consider cleanup procedures
  • Document the purpose and expected lifecycle of each label for future administrators

Troubleshooting

Cannot Edit Retention Period

Problem: Edit dialog shows retention period as locked or returns conflict error
Cause: The label is currently applied to one or more emails
Solution: Create a new label with the desired retention period instead of modifying the existing one

Label Not Appearing in Email Application Dropdown

Problem: A label doesn't show up when trying to apply it to an email
Cause: The label is disabled
Solution: Check the labels table - disabled labels show a gray "Disabled" badge

Cannot Delete Label

Problem: Deletion results in label being disabled instead of removed
Cause: The label is currently applied to emails
Solution: This is expected behavior to preserve retention integrity. The label can only be hard-deleted if it has never been used.

Permission Denied Errors

Problem: Cannot access label management or apply labels to emails
Cause: Insufficient permissions
Solution: Contact your system administrator to verify you have the required permissions:

  • manage:all for label management
  • delete:archive for email label operations
- + \ No newline at end of file diff --git a/enterprise/retention-labels/index.html b/enterprise/retention-labels/index.html index 13b0d6e..d095c57 100644 --- a/enterprise/retention-labels/index.html +++ b/enterprise/retention-labels/index.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Retention Labels

The Retention Labels feature is an enterprise-grade capability that provides item-level retention overrides for archived emails. Unlike retention policies which apply rules to groups of emails, retention labels are manually or programmatically applied to individual emails to override the normal retention lifecycle with specific retention periods.

Core Principles

1. Item-Level Retention Override

Retention labels represent a specific, targeted retention requirement that takes precedence over any automated retention policies. When an email has a retention label applied, the label's retentionPeriodDays becomes the governing retention period for that email, regardless of what any retention policy would otherwise specify.

2. One Label Per Email

Each archived email can have at most one retention label applied at any time. Applying a new label to an email automatically removes any existing label, ensuring a clean, unambiguous retention state.

3. Deletion Behavior

Retention labels implement the following deletion logic:

  • Hard Delete: If a label has never been applied to any emails, it can be completely removed from the system.
  • Soft Disable: If a label is currently applied to one or more emails, deletion attempts result in the label being marked as isDisabled = true. This keeps the label-email relations but the retention label won't take effective.
  • Delete Disabled Labels: If a label is currently applied to one or more emails, and it is disabled, a deletion request will delete the label itself and all label-email relations (remove the label from emails it is tagged with).

4. Immutable Retention Period

Once a retention label has been applied to any email, its retentionPeriodDays value becomes immutable to prevent tampering with active retention schedules. Labels can only have their retention period modified while they have zero applications.

5. User Attribution and Audit Trail

Every label application and removal is attributed to a specific user and recorded in the Audit Log. This includes both manual UI actions and automated API operations, ensuring complete traceability of retention decisions.

6. Lifecycle Integration

The Lifecycle Worker gives retention labels the highest priority during email evaluation. If an email has a retention label applied, the label's retention period is used instead of any matching retention policy rules.

Feature Requirements

The Retention Labels feature requires:

  • An active Enterprise license with the RETENTION_POLICY feature enabled.
  • The manage:all permission for administrative operations (creating, editing, deleting labels).
  • The delete:archive permission for applying and removing labels from individual emails.

Use Cases

Retention labels can serve as a lightweight alternative to formal legal holds by applying extended retention periods (e.g., 10+ years) to specific emails related to litigation or investigation.

Executive Communications

Apply extended retention to emails from or to executive leadership to ensure important business communications are preserved beyond normal retention periods.

Regulatory Exceptions

Mark specific emails that must be retained for regulatory compliance (e.g., financial records, safety incidents) with appropriate retention periods regardless of general policy rules.

Project-Specific Retention

Apply custom retention periods to emails related to specific projects, contracts, or business initiatives that have unique preservation requirements.

Architecture Overview

The feature is composed of the following components:

ComponentLocationDescription
Typespackages/types/src/retention.types.tsShared TypeScript types for labels and email label info.
Database Schemapackages/backend/src/database/schema/compliance.tsDrizzle ORM table definitions for retention labels.
Label Servicepackages/enterprise/src/modules/retention-policy/RetentionLabelService.tsCRUD operations and label application logic.
API Controllerpackages/enterprise/src/modules/retention-policy/retention-label.controller.tsExpress request handlers with Zod validation.
API Routespackages/enterprise/src/modules/retention-policy/retention-policy.routes.tsRoute registration with auth and feature guards.
Frontend Pagepackages/frontend/src/routes/dashboard/compliance/retention-labels/SvelteKit page for label management.
Email IntegrationIndividual archived email pagesLabel application UI in email detail views.

Data Model

Retention Labels Table

ColumnTypeDescription
iduuid (PK)Auto-generated unique identifier.
namevarchar(255)Human-readable label name (unique constraint).
retention_period_daysintegerNumber of days to retain emails with this label.
descriptiontextOptional description of the label's purpose.
is_disabledbooleanWhether the label is disabled (cannot be applied to new emails).
created_attimestamptzCreation timestamp.

Email Label Applications Table

ColumnTypeDescription
email_iduuid (FK)Reference to the archived email.
label_iduuid (FK)Reference to the retention label.
applied_attimestamptzTimestamp when the label was applied.
applied_by_user_iduuid (FK)User who applied the label (nullable for API key operations).

The table uses a composite primary key of (email_id, label_id) to enforce the one-label-per-email constraint at the database level.

Integration Points

Lifecycle Worker

The lifecycle worker queries the email_retention_labels table during email evaluation. If an email has a retention label applied, the label's retentionPeriodDays takes precedence over any retention policy evaluation.

Audit Log

All retention label operations generate audit log entries:

  • Label Creation: Action type CREATE, target type RetentionLabel
  • Label Updates: Action type UPDATE, target type RetentionLabel
  • Label Deletion/Disabling: Action type DELETE or UPDATE, target type RetentionLabel
  • Label Application: Action type UPDATE, target type ArchivedEmail, details include label information
  • Label Removal: Action type UPDATE, target type ArchivedEmail, details include removed label information

Email Detail Pages

Individual archived email pages display any applied retention label and provide controls for users with appropriate permissions to apply or remove labels.

- + \ No newline at end of file diff --git a/enterprise/retention-policy/api.html b/enterprise/retention-policy/api.html index 478fbb7..be6efff 100644 --- a/enterprise/retention-policy/api.html +++ b/enterprise/retention-policy/api.html @@ -9,9 +9,9 @@ - + - + @@ -85,7 +85,7 @@ "c3d4e5f6-a7b8-9012-cdef-345678901234" ] }
FieldTypeDescription
appliedRetentionDaysintegerThe longest retention period from all matching policies. 0 means no policy matched.
actionOnExpirystringThe action to take on expiry. Currently always "delete_permanently".
matchingPolicyIdsstring[]UUIDs of all policies that matched the provided metadata.

Response Codes

  • 200 OK — Evaluation completed.
  • 422 Unprocessable Entity — Validation errors in the request body.
- + \ No newline at end of file diff --git a/enterprise/retention-policy/guide.html b/enterprise/retention-policy/guide.html index 5c67ce0..051a5b0 100644 --- a/enterprise/retention-policy/guide.html +++ b/enterprise/retention-policy/guide.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Retention Policy: User Interface

The retention policy management interface is located at Dashboard → Compliance → Retention Policies. It provides a comprehensive view of all configured policies and tools for creating, editing, deleting, and simulating retention rules.

Policy Table

The main page displays a table of all retention policies with the following columns:

  • Name: The policy name and its UUID displayed underneath for reference.
  • Priority: The numeric priority value. Lower values indicate higher priority.
  • Retention Period: The number of days emails matching this policy are retained before expiry.
  • Ingestion Scope: Shows which ingestion sources the policy is restricted to. Displays "All ingestion sources" when the policy has no scope restriction, or individual source name badges when scoped.
  • Conditions: A summary of the rule group. Displays "No conditions (matches all emails)" for policies without conditions, or "N rule(s) (AND/OR)" for policies with conditions.
  • Status: A badge indicating whether the policy is Active or Inactive.
  • Actions: Edit and Delete buttons for each policy.

The table is sorted by policy priority by default.

Creating a Policy

Click the "Create Policy" button above the table to open the creation dialog. The form contains the following sections:

Basic Information

  • Policy Name: A unique, descriptive name for the policy.
  • Description: An optional detailed description of the policy's purpose.
  • Priority: A positive integer determining evaluation order (lower = higher priority).
  • Retention Period (Days): The number of days to retain matching emails.

Ingestion Scope

This section controls which ingestion sources the policy applies to:

  • "All ingestion sources" toggle: When enabled, the policy applies to emails from all ingestion sources. This is the default.
  • Per-source checkboxes: When the "all" toggle is disabled, individual ingestion sources can be selected. Each source displays its name and provider type as a badge.

Condition Rules

Conditions define which emails the policy targets. If no conditions are added, the policy matches all emails (within its ingestion scope).

  • Logical Operator: Choose AND (all rules must match) or OR (any rule must match).
  • Add Rule: Each rule consists of:
    • Field: The email metadata field to evaluate (sender, recipient, subject, or attachment_type).
    • Operator: The comparison operator (see Supported Operators below).
    • Value: The string value to compare against.
  • Remove Rule: Each rule has a remove button to delete it from the group.

Supported Operators

OperatorDisplay NameDescription
equalsEqualsExact case-insensitive match.
not_equalsNot EqualsInverse of equals.
containsContainsCase-insensitive substring match.
not_containsNot ContainsInverse of contains.
starts_withStarts WithCase-insensitive prefix match.
ends_withEnds WithCase-insensitive suffix match.
domain_matchDomain MatchMatches when an email address ends with @<value>.
regex_matchRegex MatchECMAScript regular expression (case-insensitive, max 200 chars).

Policy Status

  • Enable Policy toggle: Controls whether the policy is active immediately upon creation.

Editing a Policy

Click the Edit button (pencil icon) on any policy row to open the edit dialog. The form is pre-populated with the policy's current values. All fields can be modified, and the same validation rules apply as during creation.

Deleting a Policy

Click the Delete button (trash icon) on any policy row. A confirmation dialog appears to prevent accidental deletion. Deleting a policy is irreversible. Once deleted, the policy no longer affects the lifecycle worker's evaluation of emails.

Policy Simulator

The "Simulate Policy" button opens a simulation tool that evaluates hypothetical email metadata against all active policies without making any changes.

Simulator Input Fields

  • Sender Email: The sender address to evaluate (e.g., cfo@finance.acme.com).
  • Recipients: A comma-separated list of recipient email addresses.
  • Subject: The email subject line.
  • Attachment Types: A comma-separated list of file extensions (e.g., .pdf, .xlsx).
  • Ingestion Source: An optional dropdown to select a specific ingestion source for scope-aware evaluation. Defaults to "All sources".

Simulator Results

After submission, the simulator displays:

  • Applied Retention Period: The longest retention period from all matching policies, displayed in days.
  • Action on Expiry: The action that would be taken when the retention period expires (currently always "Permanent Deletion").
  • Matching Policies: A list of all policy IDs (with their names) that matched the provided metadata. If no policies match, a message indicates that no matching policies were found.

The simulator is a safe, read-only tool intended for testing and verifying policy configurations before they affect live data.

- + \ No newline at end of file diff --git a/enterprise/retention-policy/index.html b/enterprise/retention-policy/index.html index 8fc21b7..9acee42 100644 --- a/enterprise/retention-policy/index.html +++ b/enterprise/retention-policy/index.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Retention Policy

The Retention Policy Engine is an enterprise-grade feature that automates the lifecycle management of archived emails. It enables organizations to define time-based retention rules that determine how long archived emails are kept before they are permanently deleted, ensuring compliance with data protection regulations and internal data governance policies.

Core Principles

1. Policy-Based Automation

Email deletion is never arbitrary. Every deletion is governed by one or more explicitly configured retention policies that define the retention period in days, the conditions under which the policy applies, and the action to take when an email expires. The lifecycle worker processes emails in batches on a recurring schedule, ensuring continuous enforcement without manual intervention.

2. Condition-Based Targeting

Policies can target specific subsets of archived emails using a flexible condition builder. Conditions are evaluated against email metadata fields (sender, recipient, subject, attachment type) using a variety of string-matching operators. Conditions within a policy are grouped using AND/OR logic, allowing precise control over which emails a policy applies to.

3. Ingestion Scope

Each policy can optionally be scoped to one or more ingestion sources. When an ingestion scope is set, the policy only applies to emails that were archived from those specific sources. Policies with no ingestion scope (null) apply to all emails regardless of their source.

4. Priority and Max-Duration-Wins

When multiple policies match a single email, the system applies max-duration-wins logic: the longest matching retention period is used. This ensures that if any policy requires an email to be kept longer, that requirement is honored. The priority field on each policy provides an ordering mechanism for administrative purposes and future conflict-resolution enhancements.

5. Full Audit Trail

Every policy lifecycle event — creation, modification, deletion, and every automated email deletion — is recorded in the immutable Audit Log. Automated deletions include the IDs of the governing policies in the audit log entry, ensuring full traceability from deletion back to the rule that triggered it.

6. Fail-Safe Behavior

The system is designed to err on the side of caution:

  • If no policy matches an email, the email is not deleted.
  • If the lifecycle worker encounters an error processing a specific email, it logs the error and continues with the remaining emails in the batch.
  • Invalid regex patterns in regex_match rules are treated as non-matching rather than causing failures.

Feature Requirements

The Retention Policy Engine requires:

  • An active Enterprise license with the RETENTION_POLICY feature enabled.
  • The manage:all permission for the authenticated user to access the policy management API and UI.

Architecture Overview

The feature is composed of the following components:

ComponentLocationDescription
Typespackages/types/src/retention.types.tsShared TypeScript types for policies, rules, and evaluation.
Database Schemapackages/backend/src/database/schema/compliance.tsDrizzle ORM table definition for retention_policies.
Retention Servicepackages/enterprise/src/modules/retention-policy/RetentionService.tsCRUD operations and the evaluation engine.
API Controllerpackages/enterprise/src/modules/retention-policy/retention-policy.controller.tsExpress request handlers with Zod validation.
API Routespackages/enterprise/src/modules/retention-policy/retention-policy.routes.tsRoute registration with auth and feature guards.
Modulepackages/enterprise/src/modules/retention-policy/retention-policy.module.tsEnterprise module bootstrap.
Lifecycle Workerpackages/enterprise/src/workers/lifecycle.worker.tsBullMQ worker for automated retention enforcement.
Frontend Pagepackages/frontend/src/routes/dashboard/compliance/retention-policies/SvelteKit page for policy management and simulation.
- + \ No newline at end of file diff --git a/enterprise/retention-policy/lifecycle-worker.html b/enterprise/retention-policy/lifecycle-worker.html index eabf4ca..5495cae 100644 --- a/enterprise/retention-policy/lifecycle-worker.html +++ b/enterprise/retention-policy/lifecycle-worker.html @@ -9,9 +9,9 @@ - + - + @@ -23,7 +23,7 @@
Skip to content

Retention Policy: Lifecycle Worker

The lifecycle worker is the automated enforcement component of the retention policy engine. It runs as a BullMQ background worker that periodically scans all archived emails, evaluates them against active retention policies, and permanently deletes emails that have exceeded their retention period.

Location

packages/enterprise/src/workers/lifecycle.worker.ts

How It Works

Scheduling

The lifecycle worker is registered as a repeatable BullMQ cron job on the compliance-lifecycle queue. It is scheduled to run daily at 02:00 UTC by default. The cron schedule is configured via:

typescript
repeat: {
 	pattern: '0 2 * * *';
 } // daily at 02:00 UTC

The scheduleLifecycleJob() function is called once during enterprise application startup to register the repeatable job with BullMQ.

Batch Processing

To avoid loading the entire archived_emails table into memory, the worker processes emails in configurable batches:

  1. Batch size is controlled by the RETENTION_BATCH_SIZE environment variable.
  2. Emails are ordered by archivedAt ascending.
  3. The worker iterates through batches using offset-based pagination until an empty batch is returned, indicating all emails have been processed.

Per-Email Processing Flow

For each email in a batch, the worker:

  1. Extracts metadata: Builds a PolicyEvaluationRequest from the email's database record:

    • sender: The sender email address.
    • recipients: All To, CC, and BCC recipient addresses.
    • subject: The email subject line.
    • attachmentTypes: File extensions (e.g., .pdf) extracted from attachment filenames via a join query.
    • ingestionSourceId: The UUID of the ingestion source that archived this email.
  2. Evaluates policies: Passes the metadata to RetentionService.evaluateEmail(), which returns:

    • appliedRetentionDays: The longest matching retention period (0 if no policy matches).
    • matchingPolicyIds: UUIDs of all matching policies.
  3. Checks for expiry:

    • If appliedRetentionDays === 0, no policy matched — the email is skipped (not deleted).
    • Otherwise, the email's age is calculated from its sentAt date.
    • If the age in days exceeds appliedRetentionDays, the email has expired.
  4. Deletes expired emails: Calls ArchivedEmailService.deleteArchivedEmail() with:

    • systemDelete: true — Bypasses the ENABLE_DELETION configuration guard so retention enforcement always works regardless of that global setting.
    • governingRule — A string listing the matching policy IDs for the audit log entry (e.g., "Policy IDs: abc-123, def-456").
  5. Logs the deletion: A structured log entry records the email ID and its age in days.

Error Handling

If processing a specific email fails (e.g., due to a database error or storage issue), the error is logged and the worker continues to the next email in the batch. This ensures that a single problematic email does not block the processing of the remaining emails.

If the entire job fails, BullMQ records the failure and the job ID and error are logged. Failed jobs are retained (up to 50) for debugging.

System Actor

Automated deletions are attributed to a synthetic system actor in the audit log:

FieldValue
IDsystem:lifecycle-worker
Emailsystem@open-archiver.internal
NameSystem Lifecycle Worker
Actor IPsystem

This well-known identifier can be filtered in the Audit Log to view all retention-based deletions.

Audit Trail

Every email deleted by the lifecycle worker produces an audit log entry with:

  • Action type: DELETE
  • Target type: ArchivedEmail
  • Target ID: The UUID of the deleted email
  • Actor: system:lifecycle-worker
  • Details: Includes reason: "RetentionExpiration" and governingRule listing the matching policy IDs

This ensures that every automated deletion is fully traceable back to the specific policies that triggered it.

Configuration

Environment VariableDescriptionDefault
RETENTION_BATCH_SIZENumber of emails to process per batch iteration.

BullMQ Worker Settings

SettingValueDescription
Queue namecompliance-lifecycleThe BullMQ queue name.
Job IDlifecycle-dailyStable job ID for the repeatable cron job.
removeOnCompleteKeep last 10Completed jobs retained for monitoring.
removeOnFailKeep last 50Failed jobs retained for debugging.

Integration with Deletion Guard

The core ArchivedEmailService.deleteArchivedEmail() method includes a deletion guard controlled by the ENABLE_DELETION system setting. When called with systemDelete: true, the lifecycle worker bypasses this guard. This design ensures that:

  • Manual user deletions can be disabled organization-wide via the system setting.
  • Automated retention enforcement always operates regardless of that setting, because retention compliance is a legal obligation that cannot be paused by a UI toggle.
- + \ No newline at end of file diff --git a/enterprise/retention-policy/retention-service.html b/enterprise/retention-policy/retention-service.html index 6a1b7b4..e90fcf4 100644 --- a/enterprise/retention-policy/retention-service.html +++ b/enterprise/retention-policy/retention-service.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Retention Policy: Backend Implementation

The backend implementation of the retention policy engine is handled by the RetentionService, located in packages/enterprise/src/modules/retention-policy/RetentionService.ts. This service encapsulates all CRUD operations for policies and the core evaluation engine that determines which policies apply to a given email.

Database Schema

The retention_policies table is defined in packages/backend/src/database/schema/compliance.ts using Drizzle ORM:

ColumnTypeDescription
iduuid (PK)Auto-generated unique identifier.
nametext (unique, not null)Human-readable policy name.
descriptiontextOptional description.
priorityinteger (not null)Priority for ordering. Lower = higher priority.
retention_period_daysinteger (not null)Number of days to retain matching emails.
action_on_expiryenum (not null)Action on expiry (delete_permanently).
is_enabledboolean (default: true)Whether the policy is active.
conditionsjsonbSerialized RetentionRuleGroup or null (null = matches all).
ingestion_scopejsonbArray of ingestion source UUIDs or null (null = all sources).
created_attimestamptzCreation timestamp.
updated_attimestamptzLast update timestamp.

CRUD Operations

The RetentionService class provides the following methods:

createPolicy(data, actorId, actorIp)

Inserts a new policy into the database and creates an audit log entry with action type CREATE and target type RetentionPolicy. The audit log details include the policy name, retention period, priority, action on expiry, and ingestion scope.

getPolicies()

Returns all policies ordered by priority ascending. The raw database rows are mapped through mapDbPolicyToType(), which converts the DB column isEnabled to the shared type field isActive and normalizes date fields to ISO strings.

getPolicyById(id)

Returns a single policy by UUID, or null if not found.

updatePolicy(id, data, actorId, actorIp)

Partially updates a policy — only fields present in the DTO are modified. The updatedAt timestamp is always set to the current time. An audit log entry is created with action type UPDATE, recording which fields were changed.

Throws an error if the policy is not found.

deletePolicy(id, actorId, actorIp)

Deletes a policy by UUID and creates an audit log entry with action type DELETE, recording the deleted policy's name. Returns false if the policy was not found.

Evaluation Engine

The evaluation engine is the core logic that determines which policies apply to a given email. It is used by both the lifecycle worker (for automated enforcement) and the policy simulator endpoint (for testing).

evaluateEmail(metadata)

This is the primary evaluation method. It accepts email metadata and returns:

  • appliedRetentionDays: The longest matching retention period (max-duration-wins).
  • matchingPolicyIds: UUIDs of all policies that matched.
  • actionOnExpiry: Always "delete_permanently" in the current implementation.

The evaluation flow:

  1. Fetch active policies: Queries all policies where isEnabled = true.
  2. Ingestion scope check: For each policy with a non-null ingestionScope, the email's ingestionSourceId must be included in the scope array. If not, the policy is skipped.
  3. Condition evaluation: If the policy has no conditions (null), it matches all emails within scope. Otherwise, the condition rule group is evaluated.
  4. Max-duration-wins: If multiple policies match, the longest retentionPeriodDays is used.
  5. Zero means no match: A return value of appliedRetentionDays = 0 indicates no policy matched — the lifecycle worker will not delete the email.

_evaluateRuleGroup(group, metadata)

Evaluates a RetentionRuleGroup using AND or OR logic:

  • AND: Every rule in the group must pass.
  • OR: At least one rule must pass.
  • An empty rules array evaluates to true.

_evaluateRule(rule, metadata)

Evaluates a single rule against the email metadata. All string comparisons are case-insensitive (both sides are lowercased before comparison). The behavior depends on the field:

FieldBehavior
senderCompares against the sender email address.
recipientPasses if any recipient matches the operator.
subjectCompares against the email subject.
attachment_typePasses if any attachment file extension matches (e.g., .pdf).

_applyOperator(haystack, operator, needle)

Applies a string-comparison operator between two pre-lowercased strings:

OperatorImplementation
equalshaystack === needle
not_equalshaystack !== needle
containshaystack.includes(needle)
not_contains!haystack.includes(needle)
starts_withhaystack.startsWith(needle)
ends_withhaystack.endsWith(needle)
domain_matchhaystack.endsWith('@' + needle) (auto-prepends @ if missing)
regex_matchnew RegExp(needle, 'i').test(haystack) with safety guards (see below)

Security: regex_match Safeguards

The regex_match operator includes protections against Regular Expression Denial of Service (ReDoS):

  1. Length limit: Patterns exceeding 200 characters (MAX_REGEX_LENGTH) are rejected and treated as non-matching. A warning is logged.
  2. Error handling: Invalid regex syntax is caught in a try/catch block and treated as non-matching. A warning is logged.
  3. Flags: Only the case-insensitive flag (i) is used. Global and multiline flags are excluded to prevent stateful matching bugs.

Request Validation

The RetentionPolicyController (retention-policy.controller.ts) validates all incoming requests using Zod schemas before passing data to the service:

ConstraintLimit
Policy name1–255 characters.
DescriptionMax 1000 characters.
PriorityPositive integer (≥ 1).
Retention periodPositive integer (≥ 1 day).
Rules per groupMax 50.
Rule value1–500 characters.
Ingestion scope entriesEach must be a valid UUID. Empty arrays are coerced to null.
Evaluate — senderMax 500 characters.
Evaluate — recipientsMax 500 entries, each max 500 characters.
Evaluate — subjectMax 2000 characters.
Evaluate — attachment typesMax 100 entries, each max 50 characters.

Module Registration

The RetentionPolicyModule (retention-policy.module.ts) implements the ArchiverModule interface and registers the API routes at:

/{api.version}/enterprise/retention-policy

All routes are protected by:

  1. requireAuth — Ensures the request includes a valid authentication token.
  2. featureEnabled(OpenArchiverFeature.RETENTION_POLICY) — Ensures the enterprise license includes the retention policy feature.
  3. requirePermission('manage', 'all') — Ensures the user has administrative permissions.
- + \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index d297f78..d8b57bf 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"api_api-keys.md":"Dn21HeSJ","api_archived-email.md":"BT-mHBqK","api_auth.md":"D-468dKx","api_authentication.md":"3ZX-rlxc","api_dashboard.md":"CSiI_2IK","api_iam.md":"B5FbdpjA","api_index.md":"B_r30QlK","api_ingestion.md":"CRDN5lCu","api_integrity.md":"B9VpMKD6","api_jobs.md":"CTasZcNL","api_rate-limiting.md":"BqhkXaUd","api_search.md":"Cu20yO7t","api_settings.md":"CwhPvkZf","api_storage.md":"CTn9PQaD","api_upload.md":"CfCXTOWM","api_users.md":"BdQul9nH","enterprise_audit-log_api.md":"jQPQ8cO8","enterprise_audit-log_audit-service.md":"D9higq7j","enterprise_audit-log_guide.md":"DuHTEaId","enterprise_audit-log_index.md":"By894rqA","enterprise_legal-holds_api.md":"E6pKaGoK","enterprise_legal-holds_guide.md":"4JCnApXO","enterprise_legal-holds_index.md":"CXivackd","enterprise_retention-labels_api.md":"De0lRuGD","enterprise_retention-labels_automated-tagging.md":"uMCViAe6","enterprise_retention-labels_guide.md":"LMnSU6ly","enterprise_retention-labels_index.md":"gaps1eMo","enterprise_retention-policy_api.md":"Dv1_ca5K","enterprise_retention-policy_guide.md":"BxhZekoC","enterprise_retention-policy_index.md":"C_qinQpQ","enterprise_retention-policy_lifecycle-worker.md":"CLFQ4ZEf","enterprise_retention-policy_retention-service.md":"0HsJnlOP","index.md":"ChFzL1lA","services_iam-service_iam-policy.md":"DSOajx7I","services_index.md":"BmWnT3gS","services_job-queue.md":"_FwJJttJ","services_ocr-service.md":"B6-nFSTJ","services_storage-service.md":"Bpdj_lG7","summary.md":"C_r3wuBH","user-guides_email-providers_eml.md":"DV6Zs6RI","user-guides_email-providers_google-workspace.md":"CaNRUOL2","user-guides_email-providers_imap.md":"CQ8xQOnx","user-guides_email-providers_index.md":"D2IiEdvn","user-guides_email-providers_mbox.md":"B68Wejyx","user-guides_email-providers_microsoft-365.md":"BNGY0WTw","user-guides_email-providers_pst.md":"Dech_zDS","user-guides_installation.md":"CYbox6PW","user-guides_integrity-check.md":"BfM1nsWe","user-guides_settings_system.md":"BI9F6Lpw","user-guides_troubleshooting_cors-errors.md":"wu2DtNUw","user-guides_upgrade-and-migration_meilisearch-upgrade.md":"BTQMSseX","user-guides_upgrade-and-migration_upgrade.md":"DlOu8Pon"} +{"api_api-keys.md":"Dn21HeSJ","api_archived-email.md":"BT-mHBqK","api_auth.md":"D-468dKx","api_authentication.md":"3ZX-rlxc","api_dashboard.md":"CSiI_2IK","api_iam.md":"B5FbdpjA","api_index.md":"B_r30QlK","api_ingestion.md":"D362LBU_","api_integrity.md":"B9VpMKD6","api_jobs.md":"CTasZcNL","api_rate-limiting.md":"BqhkXaUd","api_search.md":"Cu20yO7t","api_settings.md":"CwhPvkZf","api_storage.md":"CTn9PQaD","api_upload.md":"CfCXTOWM","api_users.md":"BdQul9nH","enterprise_audit-log_api.md":"jQPQ8cO8","enterprise_audit-log_audit-service.md":"D9higq7j","enterprise_audit-log_guide.md":"DuHTEaId","enterprise_audit-log_index.md":"By894rqA","enterprise_legal-holds_api.md":"E6pKaGoK","enterprise_legal-holds_guide.md":"4JCnApXO","enterprise_legal-holds_index.md":"CXivackd","enterprise_retention-labels_api.md":"De0lRuGD","enterprise_retention-labels_automated-tagging.md":"uMCViAe6","enterprise_retention-labels_guide.md":"LMnSU6ly","enterprise_retention-labels_index.md":"gaps1eMo","enterprise_retention-policy_api.md":"Dv1_ca5K","enterprise_retention-policy_guide.md":"BxhZekoC","enterprise_retention-policy_index.md":"C_qinQpQ","enterprise_retention-policy_lifecycle-worker.md":"CLFQ4ZEf","enterprise_retention-policy_retention-service.md":"0HsJnlOP","index.md":"ChFzL1lA","services_iam-service_iam-policy.md":"DSOajx7I","services_index.md":"BmWnT3gS","services_job-queue.md":"_FwJJttJ","services_ocr-service.md":"B6-nFSTJ","services_storage-service.md":"Bpdj_lG7","summary.md":"C_r3wuBH","user-guides_email-providers_eml.md":"DV6Zs6RI","user-guides_email-providers_google-workspace.md":"CaNRUOL2","user-guides_email-providers_imap.md":"CQ8xQOnx","user-guides_email-providers_index.md":"D2pQ89-G","user-guides_email-providers_mbox.md":"B68Wejyx","user-guides_email-providers_merging-sources.md":"D0DI--4D","user-guides_email-providers_microsoft-365.md":"BNGY0WTw","user-guides_email-providers_pst.md":"Dech_zDS","user-guides_installation.md":"CYbox6PW","user-guides_integrity-check.md":"BfM1nsWe","user-guides_settings_system.md":"BI9F6Lpw","user-guides_troubleshooting_cors-errors.md":"wu2DtNUw","user-guides_upgrade-and-migration_meilisearch-upgrade.md":"BTQMSseX","user-guides_upgrade-and-migration_upgrade.md":"DlOu8Pon"} diff --git a/index.html b/index.html index 7dfae6f..b8812fd 100644 --- a/index.html +++ b/index.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Get Started 👋

Welcome to Open Archiver! This guide will help you get started with setting up and using the platform.

What is Open Archiver?

A secure, sovereign, and affordable open-source platform for email archiving and eDiscovery.

Open Archiver provides a robust, self-hosted solution for archiving, storing, indexing, and searching emails from major platforms, including Google Workspace (Gmail), Microsoft 365, as well as generic IMAP-enabled email inboxes. Use Open Archiver to keep a permanent, tamper-proof record of your communication history, free from vendor lock-in.

Key Features

  • Universal Ingestion: Connect to Google Workspace, Microsoft 365, and standard IMAP servers to perform initial bulk imports and maintain continuous, real-time synchronization.
  • Secure & Efficient Storage: Emails are stored in the standard .eml format. The system uses deduplication and compression to minimize storage costs. All data is encrypted at rest.
  • Pluggable Storage Backends: Support both local filesystem storage and S3-compatible object storage (like AWS S3 or MinIO).
  • Powerful Search & eDiscovery: A high-performance search engine indexes the full text of emails and attachments (PDF, DOCX, etc.).
  • Compliance & Retention: Define granular retention policies to automatically manage the lifecycle of your data. Place legal holds on communications to prevent deletion during litigation (TBD).
  • Comprehensive Auditing: An immutable audit trail logs all system activities, ensuring you have a clear record of who accessed what and when (TBD).

Installation

To get your own instance of Open Archiver running, follow our detailed installation guide:

Data Source Configuration 🔌

After deploying the application, you will need to configure one or more ingestion sources to begin archiving emails. Follow our detailed guides to connect to your email provider:

Contributing

We welcome contributions from the community!

  • Reporting Bugs: If you find a bug, please open an issue on our GitHub repository.
  • Suggesting Enhancements: Have an idea for a new feature? We'd love to hear it. Open an issue to start the discussion.
  • Code Contributions: If you'd like to contribute code, please fork the repository and submit a pull request.

Please read our CONTRIBUTING.md file for more details on our code of conduct and the process for submitting pull requests.

- + \ No newline at end of file diff --git a/services/iam-service/iam-policy.html b/services/iam-service/iam-policy.html index a78026a..fdb39c9 100644 --- a/services/iam-service/iam-policy.html +++ b/services/iam-service/iam-policy.html @@ -9,9 +9,9 @@ - + - + @@ -106,7 +106,7 @@ } } ] - + \ No newline at end of file diff --git a/services/index.html b/services/index.html index 52df548..f592049 100644 --- a/services/index.html +++ b/services/index.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@ - + \ No newline at end of file diff --git a/services/job-queue.html b/services/job-queue.html index 409e69a..6b187e3 100644 --- a/services/job-queue.html +++ b/services/job-queue.html @@ -9,9 +9,9 @@ - + - + @@ -25,7 +25,7 @@ └→ [process-mailbox] × N (one per user mailbox) └→ [index-email-batch] (batched, on indexing queue) └→ [sync-cycle-finished] (dispatched by the last mailbox job)

For initial imports, initial-import triggers the same process-mailboxsync-cycle-finished flow.

Sync Cycle Coordination

Sync cycle completion (knowing when all mailboxes in a sync have finished) is coordinated via the sync_sessions PostgreSQL table rather than BullMQ's built-in flow/parent-child system.

Why: BullMQ's FlowProducer stores the entire parent/child relationship in Redis atomically. For large tenants with thousands of mailboxes, this creates large Redis writes and requires loading all child job return values into memory at once for aggregation.

How it works:

  1. When initial-import or continuous-sync starts, it creates a sync_sessions row with total_mailboxes = N.
  2. Each process-mailbox job atomically increments completed_mailboxes or failed_mailboxes when it finishes, and merges its SyncState into ingestion_sources.sync_state using PostgreSQL's || jsonb operator.
  3. The job that brings completed + failed to equal total dispatches the sync-cycle-finished job.
  4. sync-cycle-finished reads the aggregated results from the session row and finalizes the source status.
  5. The session row is deleted after finalization.

Session Heartbeat

Each process-mailbox job updates last_activity_at on the session every time it flushes an email batch to the indexing queue. This prevents the stale session detector from treating an actively processing large mailbox as stuck.

Stale Session Detection

The schedule-continuous-sync job runs SyncSessionService.cleanStaleSessions() on every tick. A session is considered stale when last_activity_at has not been updated for 30 minutes, indicating the worker that created it has crashed before all mailbox jobs were enqueued.

When a stale session is detected:

  1. The associated ingestion source is set to status: 'error' with a descriptive message.
  2. The session row is deleted.
  3. On the next scheduler tick, the source is picked up as an error source and a new continuous-sync job is dispatched.

Already-ingested emails from the partial sync are preserved. The next sync skips them via duplicate detection (checkDuplicate()).

Configuration

Environment VariableDefaultDescription
SYNC_FREQUENCY* * * * *Cron pattern for continuous sync scheduling
INGESTION_WORKER_CONCURRENCY5Number of process-mailbox jobs that run in parallel
MEILI_INDEXING_BATCH500Number of emails per index-email-batch job

Tuning INGESTION_WORKER_CONCURRENCY

Each process-mailbox job holds at most one parsed email in memory at a time during the ingestion loop. At typical email sizes (~50KB average), memory pressure per concurrent job is low. Increase this value on servers with more RAM to process multiple mailboxes in parallel and reduce total sync time.

Tuning MEILI_INDEXING_BATCH

Each index-email-batch job loads the .eml file and all attachments from storage into memory for text extraction before sending to Meilisearch. Reduce this value if the indexing worker experiences memory pressure on deployments with large attachments.

Resilience

  • Job retries: All jobs are configured with 5 retry attempts using exponential backoff (starting at 1 second). This handles transient API failures from email providers.
  • Worker crash recovery: BullMQ detects stalled jobs (no heartbeat within lockDuration) and re-queues them automatically. On retry, already-processed emails are skipped via checkDuplicate().
  • Partial sync recovery: Stale session detection handles the case where a worker crashes mid-dispatch, leaving some mailboxes never enqueued. The source is reset to error and the next scheduler tick retries the full sync.
- + \ No newline at end of file diff --git a/services/ocr-service.html b/services/ocr-service.html index 655f5f3..8102f8c 100644 --- a/services/ocr-service.html +++ b/services/ocr-service.html @@ -9,9 +9,9 @@ - + - + @@ -25,7 +25,7 @@ # Apache Tika Integration # ONLY active if TIKA_URL is set TIKA_URL=http://tika:9998

If TIKA_URL is not set, the system will automatically fall back to the legacy extraction methods. The service performs a health check on startup to verify connectivity with the Tika server.

File Size Limits

To prevent excessive memory usage and processing time, the service imposes a general size limit on files submitted for text extraction. Files larger than the configured limit will be skipped.

  • With Apache Tika: The maximum file size is 100MB.
  • With Legacy Fallback: The maximum file size is 50MB.

Supported File Formats

The service's ability to extract text depends on whether it's using Apache Tika or the legacy fallback methods.

With Apache Tika

When TIKA_URL is configured, the service can process a vast range of file formats. Apache Tika is designed for broad compatibility and supports hundreds of file types, including but not limited to:

  • Portable Document Format (PDF)
  • Microsoft Office formats (DOC, DOCX, PPT, PPTX, XLS, XLSX)
  • OpenDocument Formats (ODT, ODS, ODP)
  • Rich Text Format (RTF)
  • Plain Text (TXT, CSV, JSON, XML, HTML)
  • Image formats with OCR capabilities (PNG, JPEG, TIFF)
  • Archive formats (ZIP, TAR, GZ)
  • Email formats (EML, MSG)

For a complete and up-to-date list, please refer to the official Apache Tika documentation.

With Legacy Fallback

When Tika is not configured, text extraction is limited to the following formats:

  • application/pdf (PDF)
  • application/vnd.openxmlformats-officedocument.wordprocessingml.document (DOCX)
  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (XLSX)
  • Plain text formats such as text/*, application/json, and application/xml.

Features of the Tika Integration (OcrService)

The OcrService (packages/backend/src/services/OcrService.ts) provides several enhancements to make text extraction efficient and robust.

Caching

To avoid redundant processing of the same file, the service implements a simple LRU (Least Recently Used) cache.

  • Cache Key: A SHA-256 hash of the file's buffer is used as the cache key.
  • Functionality: If a file with the same hash is processed again, the text content is served directly from the cache, saving significant processing time.
  • Statistics: The service keeps track of cache hits, misses, and the hit rate for performance monitoring.

Concurrency Management (Semaphore)

Extracting text from large files can be resource-intensive. To prevent the Tika server from being overwhelmed by multiple requests for the same file simultaneously (e.g., during a large import), a semaphore mechanism is used.

  • Functionality: If a request for a specific file (identified by its hash) is already in progress, any subsequent requests for the same file will wait for the first one to complete and then use its result.
  • Benefit: This deduplicates parallel processing efforts and reduces unnecessary load on the Tika server.

Health Check and DNS Fallback

  • Availability Check: The service includes a checkTikaAvailability method to verify that the Tika server is reachable and operational. This check is performed on application startup.
  • DNS Fallback: For convenience in Docker environments, if the Tika URL uses the hostname tika (e.g., http://tika:9998), the service will automatically attempt a fallback to localhost if the initial connection fails.

Legacy Fallback Methods

When Tika is not available, the extractTextLegacy function in textExtractor.ts handles extraction for a limited set of MIME types:

  • application/pdf: Processed using pdf2json. Includes a 50MB size limit and a 5-second timeout to prevent memory issues.
  • application/vnd.openxmlformats-officedocument.wordprocessingml.document (DOCX): Processed using mammoth.
  • application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (XLSX): Processed using xlsx.
  • Plain text formats (text/*, application/json, application/xml): Converted directly from the buffer.
- + \ No newline at end of file diff --git a/services/storage-service.html b/services/storage-service.html index befd53a..e992fc9 100644 --- a/services/storage-service.html +++ b/services/storage-service.html @@ -9,9 +9,9 @@ - + - + @@ -54,7 +54,7 @@ } } }

API Reference

The StorageService implements the IStorageProvider interface. All methods are asynchronous and return a Promise.


put(path, content)

Stores a file at the specified path. If a file already exists at that path, it will be overwritten.

  • path: string: A unique identifier for the file, including its directory structure (e.g., "user-123/emails/message-abc.eml").
  • content: Buffer | NodeJS.ReadableStream: The content of the file. It can be a Buffer for small files or a ReadableStream for large files to ensure memory efficiency.
  • Returns: Promise<void> - A promise that resolves when the file has been successfully stored.

get(path)

Retrieves a file from the specified path as a readable stream.

  • path: string: The unique identifier of the file to retrieve.
  • Returns: Promise<NodeJS.ReadableStream> - A promise that resolves with a readable stream of the file's content.
  • Throws: An Error if the file is not found at the specified path.

delete(path)

Deletes a file from the storage backend.

  • path: string: The unique identifier of the file to delete.
  • Returns: Promise<void> - A promise that resolves when the file is deleted. If the file does not exist, the promise will still resolve successfully without throwing an error.

exists(path)

Checks for the existence of a file.

  • path: string: The unique identifier of the file to check.
  • Returns: Promise<boolean> - A promise that resolves with true if the file exists, and false otherwise.
- + \ No newline at end of file diff --git a/user-guides/email-providers/eml.html b/user-guides/email-providers/eml.html index 53e1f13..f3929f0 100644 --- a/user-guides/email-providers/eml.html +++ b/user-guides/email-providers/eml.html @@ -9,9 +9,9 @@ - + - + @@ -30,7 +30,7 @@ ├── nested-folder │ └── email-04.eml └── email-05.eml

Creating an EML Ingestion Source

  1. Go to the Ingestion Sources page in the OpenArchiver dashboard.

  2. Click the Create New button.

  3. Select EML Import as the provider.

  4. Enter a name for the ingestion source.

  5. Choose Import Method:

    • Upload File: Click Choose File and select the zip archive containing your EML files. (Best for smaller archives)
    • Local Path: Enter the path to the zip file inside the container. (Best for large archives)

    Note on Local Path: When using Docker, the "Local Path" is relative to the container's filesystem.

    • Recommended: Place your zip file in a temp folder inside your configured storage directory (STORAGE_LOCAL_ROOT_PATH). This path is already mounted. For example, if your storage path is /data, put the file in /data/temp/emails.zip and enter /data/temp/emails.zip as the path.
    • Alternative: Mount a separate volume in docker-compose.yml (e.g., - /host/path:/container/path) and use the container path.
  6. Click the Submit button.

OpenArchiver will then start importing the EML files from the zip archive. The ingestion process may take some time, depending on the size of the archive.

- + \ No newline at end of file diff --git a/user-guides/email-providers/google-workspace.html b/user-guides/email-providers/google-workspace.html index ef3ccd4..e699a8a 100644 --- a/user-guides/email-providers/google-workspace.html +++ b/user-guides/email-providers/google-workspace.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Connecting to Google Workspace

This guide provides instructions for Google Workspace administrators to set up a connection that allows the archiving of all user mailboxes within their organization.

The connection uses a Google Cloud Service Account with Domain-Wide Delegation. This is a secure method that grants the archiving service permission to access user data on behalf of the administrator, without requiring individual user passwords or consent.

Prerequisites

  • You must have Super Administrator privileges in your Google Workspace account.
  • You must have access to the Google Cloud Console associated with your organization.

Setup Overview

The setup process involves three main parts:

  1. Configuring the necessary permissions in the Google Cloud Console.
  2. Authorizing the service account in the Google Workspace Admin Console.
  3. Entering the generated credentials into the OpenArchiver application.

Part 1: Google Cloud Console Setup

In this part, you will create a service account and enable the APIs it needs to function.

  1. Create a Google Cloud Project:

    • Go to the Google Cloud Console.
    • If you don't already have one, create a new project for the archiving service (e.g., "Email Archiver").
  2. Enable Required APIs:

    • In your selected project, navigate to the "APIs & Services" > "Library" section.
    • Search for and enable the following two APIs:
      • Gmail API
      • Admin SDK API
  3. Create a Service Account:

    • Navigate to "IAM & Admin" > "Service Accounts".
    • Click "Create Service Account".
    • Give the service account a name (e.g., email-archiver-service) and a description.
    • Click "Create and Continue". You do not need to grant this service account any roles on the project. Click "Done".
  4. Generate a JSON Key:

    • Find the service account you just created in the list.
    • Click the three-dot menu under "Actions" and select "Manage keys".
    • Click "Add Key" > "Create new key".
    • Select JSON as the key type and click "Create".
    • A JSON file will be downloaded to your computer. Keep this file secure, as it contains private credentials. You will need the contents of this file in Part 3.

Troubleshooting

Error: "iam.disableServiceAccountKeyCreation"

If you receive an error message stating The organization policy constraint 'iam.disableServiceAccountKeyCreation' is enforced when trying to create a JSON key, it means your Google Cloud organization has a policy preventing the creation of new service account keys.

To resolve this, you must have Organization Administrator permissions.

  1. Navigate to your Organization: In the Google Cloud Console, use the project selector at the top of the page to select your organization node (it usually has a building icon).
  2. Go to IAM: From the navigation menu, select "IAM & Admin" > "IAM".
  3. Edit Your Permissions: Find your user account in the list and click the pencil icon to edit roles. Add the following two roles:
    • Organization Policy Administrator
    • Organization AdministratorNote: These roles are only available at the organization level, not the project level.
  4. Modify the Policy:
    • Navigate to "IAM & Admin" > "Organization Policies".
    • In the filter box, search for the policy "iam.disableServiceAccountKeyCreation".
    • Click on the policy to edit it.
    • You can either disable the policy entirely (if your security rules permit) or add a rule to exclude the specific project you are using for the archiver from this policy.
  5. Retry Key Creation: Once the policy is updated, return to your project and you should be able to generate the JSON key as described in Part 1.

Part 2: Grant Domain-Wide Delegation

Now, you will authorize the service account you created to access data from your Google Workspace.

  1. Get the Service Account's Client ID:

    • Go back to the list of service accounts in the Google Cloud Console.
    • Click on the service account you created.
    • Under the "Details" tab, find and copy the Unique ID (this is the Client ID).
  2. Authorize the Client in Google Workspace:

    • Go to your Google Workspace Admin Console at admin.google.com.
    • Navigate to Security > Access and data control > API controls.
    • Under the "Domain-wide Delegation" section, click "Manage Domain-wide Delegation".
    • Click "Add new".
  3. Enter Client Details and Scopes:

    • In the Client ID field, paste the Unique ID you copied from the service account.
    • In the OAuth scopes field, paste the following two scopes exactly as they appear, separated by a comma:
      https://www.googleapis.com/auth/admin.directory.user.readonly,https://www.googleapis.com/auth/gmail.readonly
    • Click "Authorize".

The service account is now permitted to list users and read their email data across your domain.


Part 3: Connecting in OpenArchiver

Finally, you will provide the generated credentials to the application.

  1. Navigate to Ingestion Sources: From the main dashboard, go to the Ingestion Sources page.

  2. Create a New Source: Click the "Create New" button.

  3. Fill in the Configuration Details:

    • Name: Give the source a name (e.g., "Google Workspace Archive").
    • Provider: Select "Google Workspace" from the dropdown.
    • Service Account Key (JSON): Open the JSON file you downloaded in Part 1. Copy the entire content of the file and paste it into this text area.
    • Impersonated Admin Email: Enter the email address of a Super Administrator in your Google Workspace (e.g., admin@your-domain.com). The service will use this user's authority to discover all other users.
  4. Save Changes: Click "Save changes".

What Happens Next?

Once the connection is saved and verified, the system will begin the archiving process:

  1. User Discovery: The service will first connect to the Admin SDK to get a list of all active users in your Google Workspace.
  2. Initial Import: The system will then start a background job to import the mailboxes of all discovered users. The status will show as "Importing". This can take a significant amount of time depending on the number of users and the size of their mailboxes.
  3. Continuous Sync: After the initial import is complete, the status will change to "Active". The system will then periodically check each user's mailbox for new emails and archive them automatically.
- + \ No newline at end of file diff --git a/user-guides/email-providers/imap.html b/user-guides/email-providers/imap.html index ffa6562..5a3d63a 100644 --- a/user-guides/email-providers/imap.html +++ b/user-guides/email-providers/imap.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Connecting to a Generic IMAP Server

This guide will walk you through connecting a standard IMAP email account as an ingestion source. This allows you to archive emails from any provider that supports the IMAP protocol, which is common for many self-hosted or traditional email services.

Step-by-Step Guide

  1. Navigate to Ingestion Sources: From the main dashboard, go to the Ingestions page.

  2. Create a New Source: Click the "Create New" button to open the ingestion source configuration dialog.

  3. Fill in the Configuration Details: You will see a form with several fields. Here is how to fill them out for an IMAP connection:

    • Name: Give your ingestion source a descriptive name that you will easily recognize, such as "Work Email (IMAP)" or "Personal Gmail".

    • Provider: From the dropdown menu, select "Generic IMAP". This will reveal the specific fields required for an IMAP connection.

    • Host: Enter the server address for your email provider's IMAP service. This often looks like imap.your-provider.com or mail.your-domain.com.

    • Port: Enter the port number for the IMAP server. For a secure connection (which is strongly recommended), this is typically 993.

    • Username: Enter the full email address or username you use to log in to your email account.

    • Password: Enter the password for your email account.

  4. Save Changes: Once you have filled in all the details, click the "Save changes" button.

Security Recommendation: Use an App Password

For enhanced security, we strongly recommend using an "app password" (sometimes called an "app-specific password") instead of your main account password.

Many email providers (like Gmail, Outlook, and Fastmail) allow you to generate a unique password that grants access only to a specific application (in this case, the archiving service). If you ever need to revoke access, you can simply delete the app password without affecting your main account login.

Please consult your email provider's documentation to see if they support app passwords and how to create one.

How to Obtain an App Password for Gmail

  1. Enable 2-Step Verification: You must have 2-Step Verification turned on for your Google Account.
  2. Go to App Passwords: Visit myaccount.google.com/apppasswords. You may be asked to sign in again.
  3. Create the Password:
    • At the bottom, click "Select app" and choose "Other (Custom name)".
    • Give it a name you'll recognize, like "OpenArchiver".
    • Click "Generate".
  4. Use the Password: A 16-digit password will be displayed. Copy this password and paste it into the Password field in the OpenArchiver ingestion source form.

How to Obtain an App Password for Outlook/Microsoft Accounts

  1. Enable Two-Step Verification: You must have two-step verification enabled for your Microsoft account.
  2. Go to Security Options: Sign in to your Microsoft account and navigate to the Advanced security options.
  3. Create a New App Password:
    • Scroll down to the "App passwords" section.
    • Click "Create a new app password".
  4. Use the Password: A new password will be generated. Use this password in the Password field in the OpenArchiver ingestion source form.

What Happens Next?

After you save the connection, the system will attempt to connect to the IMAP server. The status of the ingestion source will update to reflect its current state:

  • Importing: The system is performing the initial, one-time import of all emails from your INBOX. This may take a while depending on the size of your mailbox.
  • Active: The initial import is complete, and the system will now periodically check for and archive new emails.
  • Paused: The connection is valid, but the system will not check for new emails until you resume it.
  • Error: The system was unable to connect using the provided credentials. Please double-check your Host, Port, Username, and Password and try again.

You can view, edit, pause, or manually sync any of your ingestion sources from the main table on the Ingestions page.

- + \ No newline at end of file diff --git a/user-guides/email-providers/index.html b/user-guides/email-providers/index.html index e0fb4ce..160dfe8 100644 --- a/user-guides/email-providers/index.html +++ b/user-guides/email-providers/index.html @@ -9,19 +9,19 @@ - + - + - + -
Skip to content

Connecting Email Providers

Open Archiver can connect to a variety of email sources to ingest and archive your emails. This section provides guides for connecting to popular email providers.

Choose your provider from the list below to get started:

- +
Skip to content

Connecting Email Providers

Open Archiver can connect to a variety of email sources to ingest and archive your emails. This section provides guides for connecting to popular email providers.

Choose your provider from the list below to get started:

+ \ No newline at end of file diff --git a/user-guides/email-providers/mbox.html b/user-guides/email-providers/mbox.html index 928c8c3..e154ebd 100644 --- a/user-guides/email-providers/mbox.html +++ b/user-guides/email-providers/mbox.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Mbox Ingestion

Mbox is a common format for storing email messages. This guide will walk you through the process of ingesting mbox files into OpenArchiver.

1. Exporting from Your Email Client

Most email clients that support mbox exports will allow you to export a folder of emails as a single .mbox file. Here are the general steps:

  • Mozilla Thunderbird: Right-click on a folder, select ImportExportTools NG, and then choose Export folder.
  • Gmail: You can use Google Takeout to export your emails in mbox format.
  • Other Clients: Refer to your email client's documentation for instructions on how to export emails to an mbox file.

2. Uploading to OpenArchiver

Once you have your .mbox file, you can upload it to OpenArchiver through the web interface.

  1. Navigate to the Ingestion page.

  2. Click on the New Ingestion button.

  3. Select Mbox as the source type.

  4. Choose Import Method:

    • Upload File: Upload your .mbox file.
    • Local Path: Enter the path to the mbox file inside the container.

    Note on Local Path: When using Docker, the "Local Path" is relative to the container's filesystem.

    • Recommended: Place your mbox file in a temp folder inside your configured storage directory (STORAGE_LOCAL_ROOT_PATH). This path is already mounted. For example, if your storage path is /data, put the file in /data/temp/emails.mbox and enter /data/temp/emails.mbox as the path.
    • Alternative: Mount a separate volume in docker-compose.yml (e.g., - /host/path:/container/path) and use the container path.

3. Folder Structure

OpenArchiver will attempt to preserve the original folder structure of your emails. This is done by inspecting the following email headers:

  • X-Gmail-Labels: Used by Gmail to store labels.
  • X-Folder: A custom header used by some email clients like Thunderbird.

If neither of these headers is present, the emails will be ingested into the root of the archive.

- + \ No newline at end of file diff --git a/user-guides/email-providers/merging-sources.html b/user-guides/email-providers/merging-sources.html new file mode 100644 index 0000000..3b08a43 --- /dev/null +++ b/user-guides/email-providers/merging-sources.html @@ -0,0 +1,27 @@ + + + + + + Merging Ingestion Sources | Open Archiver Docs + + + + + + + + + + + + + + + + +
Skip to content

Merging Ingestion Sources

Merged ingestion groups let you combine multiple ingestion sources so that their emails appear unified in browsing, search, and thread views. This is useful when you want to pair a historical archive (for example, a PST or Mbox import) with a live connection, or when migrating between providers.

Concepts

TermDefinition
Root sourceAn ingestion source where no merge parent is set. Shown as the primary row in the Ingestions table. All emails in the group are physically owned by the root.
Child sourceAn ingestion source merged into a root. Acts as a fetch assistant — it connects to the provider and retrieves emails, but all data is stored under the root source.
GroupA root source and all its children. All emails from every member are stored under and owned by the root.

The hierarchy is flat — only one level of nesting is supported. If you merge a source into a child, the system automatically redirects the relationship to the root.

Root Ownership — How Storage and Data Work

This is the key design principle of merged sources:

Child sources are assistants. They fetch emails from their provider but never own any stored data. Every email ingested by a child is written to the root source's storage folder and assigned the root source's ID in the database.

In practical terms:

  • The storage path for every email belongs to the root: openarchiver/{root-name}-{root-id}/emails/...
  • Every archived_emails database row created by a child ingestion will have ingestionSourceId set to the root's ID, not the child's.
  • Attachments are also stored under the root's folder and scoped to the root's ID.
  • The root's Preserve Original File (GoBD compliance) setting is inherited by all children in the group. A child's own preserveOriginalFile setting is ignored during ingestion — only the root's setting applies.

This means browsing the root source's emails will show all emails from the entire group, including those fetched by child sources, without any extra configuration.

When to Use Merged Sources

  • Historical + live: Import a PST archive and merge it into an active IMAP or Google Workspace connection so historical and current emails appear in one unified mailbox.
  • Provider migration: Add a new Microsoft 365 connector and merge it with your existing Google Workspace connector during a cutover period.
  • Backfill: Import an Mbox export and merge it with a live connection to cover a gap in the archive.

How to Merge a New Source Into an Existing One

Merging can only be configured at creation time.

  1. Navigate to the Ingestions page.
  2. Click Create New to open the ingestion source form.
  3. Fill in the provider details as usual.
  4. Expand the Advanced Options section at the bottom of the form. This section is only visible when at least one ingestion source already exists.
  5. Check Merge into existing ingestion and select the target root source from the dropdown.
  6. Click Submit.

The new source will run its initial import normally. Once complete, its emails will appear alongside those of the root source — all stored under the root.

How Emails Appear When Merged

When you browse archived emails for a root source, you see all emails in the group because they are all physically owned by the root. There is nothing to aggregate — the data is already unified at the storage and database level.

The same applies to search: filtering by a root source ID returns all emails in the group.

Threads also span the merge group. If a reply arrived via a different source than the original message, it still appears in the correct thread.

How Syncing Works

Each source syncs independently. The scheduler picks up all sources with status active or error, regardless of whether they are merged.

  • File-based imports (PST, EML, Mbox) finish with status imported and are never re-synced automatically.
  • Live sources (IMAP, Google Workspace, Microsoft 365) continue their normal sync cycle.

When you trigger Force Sync on a root source, the system also queues a sync for all non-file-based children that are currently active or error.

Deduplication Across the Group

When ingesting emails, duplicate detection covers the entire merge group. If the same email (matched by its RFC Message-ID header or provider-specific ID) already exists anywhere in the group, it is skipped and not stored again.

Preserve Original File (GoBD Compliance) and Merged Sources

The Preserve Original File setting on the root source governs the entire group. When this setting is enabled on the root:

  • All emails ingested by child sources are also stored unmodified (raw EML, no attachment stripping).
  • The child's own preserveOriginalFile setting has no effect — the root's setting is always used.

This ensures consistent compliance behaviour across the group. If you require GoBD or SEC 17a-4 compliance for an entire merged group, enable Preserve Original File on the root source before adding any children.

Editing Sources in a Group

Each source in a group can be edited independently. Expand the group row in the Ingestions table by clicking the chevron, then use the actions menu on the specific source (root or child) you want to edit.

Unmerging a Child Source

To detach a child from its group and make it standalone:

  1. Expand the group row by clicking the chevron next to the root source name.
  2. Open the actions menu on the child source.
  3. Click Unmerge.

The child becomes an independent root source. No email data is moved or deleted.

Note: Because all emails fetched by the child were stored under the root source's ID, unmerging the child does not transfer those emails. Historical emails ingested while the source was a child remain owned by the root. Only new emails ingested after unmerging will be stored under the (now standalone) child.

Deleting Sources in a Group

  • Deleting a root source also deletes all its children: their configuration, and all emails, attachments, storage files, and search index entries owned by the root are all removed. Because all group emails are stored under the root, this effectively removes the entire group's archive.
  • Deleting a child source removes only the child's configuration and sync state. Emails already ingested by the child are stored under the root and are not deleted.

A warning is shown in the delete confirmation dialog when a root source has children.

Known Limitations

  • Merging existing standalone sources is not supported. You can only merge a source into a group at creation time. To merge two existing sources, you must delete one and recreate it with the merge target selected.
  • Historical data from a child source before unmerging remains with the root. If you unmerge a child, emails it previously ingested stay owned by the root and are not migrated to the child.
+ + + + \ No newline at end of file diff --git a/user-guides/email-providers/microsoft-365.html b/user-guides/email-providers/microsoft-365.html index 285dfa1..988a2a3 100644 --- a/user-guides/email-providers/microsoft-365.html +++ b/user-guides/email-providers/microsoft-365.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Connecting to Microsoft 365

This guide provides instructions for Microsoft 365 administrators to set up a connection that allows the archiving of all user mailboxes within their organization.

The connection uses the Microsoft Graph API and an App Registration in Microsoft Entra ID. This is a secure, standard method that grants the archiving service permission to read email data on your behalf without ever needing to handle user passwords.

Prerequisites

  • You must have one of the following administrator roles in your Microsoft 365 tenant: Global Administrator, Application Administrator, or Cloud Application Administrator.

Setup Overview

The setup process involves four main parts, all performed within the Microsoft Entra admin center and the OpenArchiver application:

  1. Registering a new application identity for the archiver in Entra ID.
  2. Granting the application the specific permissions it needs to read mail.
  3. Creating a secure password (a client secret) for the application.
  4. Entering the generated credentials into the OpenArchiver application.

Part 1: Register a New Application in Microsoft Entra ID

First, you will create an "App registration," which acts as an identity for the archiving service within your Microsoft 365 ecosystem.

  1. Sign in to the Microsoft Entra admin center.
  2. In the left-hand navigation pane, go to Identity > Applications > App registrations.
  3. Click the + New registration button at the top of the page.
  4. On the "Register an application" screen:
    • Name: Give the application a descriptive name you will recognize, such as OpenArchiver Service.
    • Supported account types: Select "Accounts in this organizational directory only (Default Directory only - Single tenant)". This is the most secure option.
    • Redirect URI (optional): You can leave this blank.
  5. Click the Register button. You will be taken to the application's main "Overview" page.

Part 2: Grant API Permissions

Next, you must grant the application the specific permissions required to read user profiles and their mailboxes.

  1. From your new application's page, select API permissions from the left-hand menu.
  2. Click the + Add a permission button.
  3. In the "Request API permissions" pane, select Microsoft Graph.
  4. Select Application permissions. This is critical as it allows the service to run in the background without a user being signed in.
  5. In the "Select permissions" search box, find and check the boxes for the following two permissions:
    • Mail.Read
    • User.Read.All
  6. Click the Add permissions button at the bottom.
  7. Crucial Final Step: You will now see the permissions in your list with a warning status. You must grant consent on behalf of your organization. Click the "Grant admin consent for [Your Organization's Name]" button located above the permissions table. Click Yes in the confirmation dialog. The status for both permissions should now show a green checkmark.

Part 3: Create a Client Secret

The client secret is a password that the archiving service will use to authenticate. Treat this with the same level of security as an administrator's password.

  1. In your application's menu, navigate to Certificates & secrets.
  2. Select the Client secrets tab and click + New client secret.
  3. In the pane that appears:
    • Description: Enter a clear description, such as OpenArchiver Key.
    • Expires: Select an expiry duration. We recommend 12 or 24 months. Set a calendar reminder to renew it before it expires to prevent service interruption.
  4. Click Add.
  5. IMMEDIATELY COPY THE SECRET: The secret is now visible in the "Value" column. This is the only time it will be fully displayed. Copy this value now and store it in a secure password manager before navigating away. If you lose it, you must create a new one.

Part 4: Connecting in OpenArchiver

You now have the three pieces of information required to configure the connection.

  1. Navigate to Ingestion Sources: In the OpenArchiver application, go to the Ingestion Sources page.

  2. Create a New Source: Click the "Create New" button.

  3. Fill in the Configuration Details:

    • Name: Give the source a name (e.g., "Microsoft 365 Archive").
    • Provider: Select "Microsoft 365" from the dropdown.
    • Application (Client) ID: Go to the Overview page of your app registration in the Entra admin center and copy this value.
    • Directory (Tenant) ID: This value is also on the Overview page.
    • Client Secret Value: Paste the secret Value (not the Secret ID) that you copied and saved in the previous step.
  4. Save Changes: Click "Save changes".

What Happens Next?

Once the connection is saved, the system will begin the archiving process:

  1. User Discovery: The service will connect to the Microsoft Graph API to get a list of all users in your organization.
  2. Initial Import: The system will begin a background job to import the mailboxes of all discovered users, folder by folder. The status will show as "Importing". This can take a significant amount of time.
  3. Continuous Sync: After the initial import, the status will change to "Active". The system will use Microsoft Graph's delta query feature to efficiently fetch only new or changed emails, ensuring the archive stays up-to-date.
- + \ No newline at end of file diff --git a/user-guides/email-providers/pst.html b/user-guides/email-providers/pst.html index 43d9c03..22563bc 100644 --- a/user-guides/email-providers/pst.html +++ b/user-guides/email-providers/pst.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

PST Import

OpenArchiver allows you to import PST files. This is useful for importing emails from a variety of sources, including Microsoft Outlook.

Preparing the PST File

To ensure a successful import, you should prepare your PST file according to the following guidelines:

  • Structure: The PST file can contain any number of emails, organized in any folder structure. The folder structure will be preserved in OpenArchiver, so you can use it to organize your emails.
  • Password Protection: OpenArchiver does not support password-protected PST files. Please remove the password from your PST file before importing it.

Creating a PST Ingestion Source

  1. Go to the Ingestion Sources page in the OpenArchiver dashboard.

  2. Click the Create New button.

  3. Select PST Import as the provider.

  4. Enter a name for the ingestion source.

  5. Choose Import Method:

    • Upload File: Click Choose File and select the PST file from your computer. (Best for smaller files)
    • Local Path: Enter the path to the PST file inside the container. (Best for large files)

    Note on Local Path: When using Docker, the "Local Path" is relative to the container's filesystem.

    • Recommended: Place your file in a temp folder inside your configured storage directory (STORAGE_LOCAL_ROOT_PATH). This path is already mounted. For example, if your storage path is /data, put the file in /data/temp/archive.pst and enter /data/temp/archive.pst as the path.
    • Alternative: Mount a separate volume in docker-compose.yml (e.g., - /host/path:/container/path) and use the container path.
  6. Click the Submit button.

OpenArchiver will then start importing the emails from the PST file. The ingestion process may take some time, depending on the size of the file.

- + \ No newline at end of file diff --git a/user-guides/installation.html b/user-guides/installation.html index 38ac6df..64d4fe7 100644 --- a/user-guides/installation.html +++ b/user-guides/installation.html @@ -9,9 +9,9 @@ - + - + @@ -61,7 +61,7 @@ # ... other volumes archiver-data: driver: local
  1. Restart your containers:

After you've saved the changes, run the following command in your terminal to apply them. The --force-recreate flag will ensure the container is recreated with the new volume settings.

bash
docker-compose up -d --force-recreate

After this, any new data will be saved directly into the ./data/open-archiver folder in your project directory.

- + \ No newline at end of file diff --git a/user-guides/integrity-check.html b/user-guides/integrity-check.html index 1d992fe..573ba5f 100644 --- a/user-guides/integrity-check.html +++ b/user-guides/integrity-check.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

Integrity Check

Open Archiver allows you to verify the integrity of your archived emails and their attachments. This guide explains how the integrity check works and what the results mean.

How It Works

When an email is archived, Open Archiver calculates a unique cryptographic signature (a SHA256 hash) for the email's raw .eml file and for each of its attachments. These signatures are stored in the database alongside the email's metadata.

The integrity check feature recalculates these signatures for the stored files and compares them to the original signatures stored in the database. This process allows you to verify that the content of your archived emails has not been altered, corrupted, or tampered with since the moment they were archived.

The Integrity Report

When you view an email in the Open Archiver interface, an integrity report is automatically generated and displayed. This report provides a clear, at-a-glance status for the email file and each of its attachments.

Statuses

  • Valid (Green Badge): A "Valid" status means that the current signature of the file matches the original signature stored in the database. This is the expected status and indicates that the file's integrity is intact.

  • Invalid (Red Badge): An "Invalid" status means that the current signature of the file does not match the original signature. This indicates that the file's content has changed since it was archived.

Reasons for an "Invalid" Status

If a file is marked as "Invalid," you can hover over the badge to see a reason for the failure. Common reasons include:

  • Stored hash does not match current hash: This is the most common reason and indicates that the file's content has been modified. This could be due to accidental changes, data corruption, or unauthorized tampering.

  • Could not read attachment file from storage: This message indicates that the file could not be read from its storage location. This could be due to a storage system issue, a file permission problem, or because the file has been deleted.

What to Do If an Integrity Check Fails

If you encounter an "Invalid" status for an email or attachment, it is important to investigate the issue. Here are some steps you can take:

  1. Check Storage: Verify that the file exists in its storage location and that its permissions are correct.
  2. Review Audit Logs: If you have audit logging enabled, review the logs for any unauthorized access or modifications to the file.
  3. Restore from Backup: If you suspect data corruption, you may need to restore the affected file from a backup.

The integrity check feature is a crucial tool for ensuring the long-term reliability and trustworthiness of your email archive. By regularly monitoring the integrity of your archived data, you can be confident that your records are accurate and complete.

- + \ No newline at end of file diff --git a/user-guides/settings/system.html b/user-guides/settings/system.html index 179cdad..650c28f 100644 --- a/user-guides/settings/system.html +++ b/user-guides/settings/system.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
Skip to content

System Settings

System settings allow administrators to configure the global look and theme of the application. These settings apply to all users.

Configuration

Language

This setting determines the default display language for the application UI. The selected language will be used for all interface elements, including menus, labels, and messages.

Important: When the language is changed, the backend (API) language will only change after a restart of the server. The frontend will update immediately.

Supported languages:

  • English
  • German
  • French
  • Estonian
  • Spanish
  • Italian
  • Portuguese
  • Dutch
  • Greek
  • Japanese

Default Theme

This setting controls the default color theme for the application. Users can choose between light, dark, or system default. The system default theme will sync with the user's operating system theme.

Support Email

This setting allows administrators to provide a public-facing email address for user support inquiries. This email address may be displayed on error pages or in other areas where users may need to contact support.

- + \ No newline at end of file diff --git a/user-guides/troubleshooting/cors-errors.html b/user-guides/troubleshooting/cors-errors.html index 743ce8c..77c9f4a 100644 --- a/user-guides/troubleshooting/cors-errors.html +++ b/user-guides/troubleshooting/cors-errors.html @@ -9,9 +9,9 @@ - + - + @@ -27,7 +27,7 @@ }

Root Cause

These errors typically occur when the URL you are using to access the application in your browser does not exactly match the APP_URL configured in your .env file.

This can happen for several reasons:

  • You are accessing the application via a different port.
  • You are using a reverse proxy that changes the protocol (e.g., from http to https).
  • The SvelteKit server, in a production build, is incorrectly guessing its public-facing URL.

Solution

The solution is to ensure that the application's frontend and backend are correctly configured with the public-facing URL of your instance. This is done by setting two environment variables: APP_URL and ORIGIN.

  1. Open your .env file in a text editor.

  2. Set APP_URL: Define the APP_URL variable with the exact URL you use to access the application in your browser.

    env
    APP_URL=http://your-domain-or-ip:3000
  3. Set ORIGIN: The SvelteKit server requires a specific ORIGIN variable to correctly identify itself. This should always be set to the value of your APP_URL.

    env
    ORIGIN=$APP_URL

    By using $APP_URL, you ensure that both variables are always in sync.

Example Configuration

If you are running the application locally on port 3000, your configuration should look like this:

env
APP_URL=http://localhost:3000
 ORIGIN=$APP_URL

If your application is behind a reverse proxy and is accessible at https://archive.mycompany.com, your configuration should be:

env
APP_URL=https://archive.mycompany.com
 ORIGIN=$APP_URL

After making these changes to your .env file, you must restart the application for them to take effect:

bash
docker compose up -d --force-recreate

This will ensure that the backend's CORS policy and the frontend server's origin are correctly aligned, resolving the errors.

- + \ No newline at end of file diff --git a/user-guides/upgrade-and-migration/meilisearch-upgrade.html b/user-guides/upgrade-and-migration/meilisearch-upgrade.html index bd65ad0..86073de 100644 --- a/user-guides/upgrade-and-migration/meilisearch-upgrade.html +++ b/user-guides/upgrade-and-migration/meilisearch-upgrade.html @@ -9,9 +9,9 @@ - + - + @@ -39,7 +39,7 @@ '--env=production', '--import-dump=/meili_data/dumps/YOUR_DUMP_FILE.dump', ]
  • Restart the services:

    bash
    docker compose up -d

    Meilisearch will now start and import the data from the dump file. This may take some time depending on the size of your index.

  • Step 4: Clean Up

    Once the import is complete and you have verified that your search is working correctly, you should remove the --import-dump flag from your docker-compose.yml to prevent it from running on every startup.

    1. Remove the --import-dump line from the command section of the meilisearch service in docker-compose.yml.
    2. Restart the services one last time:
      bash
      docker compose up -d

    Your Meilisearch instance is now upgraded and running with your migrated data.

    For more advanced scenarios or troubleshooting, please refer to the official Meilisearch migration guide.

    - + \ No newline at end of file diff --git a/user-guides/upgrade-and-migration/upgrade.html b/user-guides/upgrade-and-migration/upgrade.html index 8cf208c..f8c25a7 100644 --- a/user-guides/upgrade-and-migration/upgrade.html +++ b/user-guides/upgrade-and-migration/upgrade.html @@ -9,9 +9,9 @@ - + - + @@ -21,7 +21,7 @@
    Skip to content

    Upgrading Your Instance

    This guide provides instructions for upgrading your Open Archiver instance to the latest version.

    Checking for New Versions

    Open Archiver automatically checks for new versions and will display a notification in the footer of the web interface when an update is available. You can find a list of all releases and their release notes on the GitHub Releases page.

    Upgrading Your Instance

    To upgrade your Open Archiver instance, follow these steps:

    1. Pull the latest changes from the repository:

      bash
      git pull
    2. Pull the latest Docker images:

      bash
      docker compose pull
    3. Restart the services with the new images:

      bash
      docker compose up -d

    This will restart your Open Archiver instance with the latest version of the application.

    Migrating Data

    When you upgrade to a new version, database migrations are applied automatically when the application starts up. This ensures that your database schema is always up-to-date with the latest version of the application.

    No manual intervention is required for database migrations.

    Upgrading Meilisearch

    When an Open Archiver update includes a major version change for Meilisearch, you will need to manually migrate your search data. This process is not covered by the standard upgrade commands.

    For detailed instructions, please see the Meilisearch Upgrade Guide.

    - + \ No newline at end of file