@tailor-platform/sdk 2.25.0 → 2.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +106 -0
- package/dist/application-DFeuELRo.mjs +200 -0
- package/dist/application-DFeuELRo.mjs.map +1 -0
- package/dist/application-nT_4a5HO.mjs +1 -0
- package/dist/cli/commands/deploy/deploy.d.mts +2 -0
- package/dist/cli/commands/deploy/tailordb/migration-validation.d.mts +2 -1
- package/dist/cli/commands/tailordb/migrate/bundler.d.mts +7 -6
- package/dist/cli/commands/tailordb/migrate/diff-calculator.d.mts +12 -0
- package/dist/cli/commands/tailordb/migrate/remote-state.d.mts +1 -0
- package/dist/cli/lib.d.mts +2 -2
- package/dist/cli/lib.mjs +1 -1
- package/dist/cli/lib.mjs.map +1 -1
- package/dist/cli/main.mjs +43 -43
- package/dist/cli/main.mjs.map +1 -1
- package/dist/cli/shared/workspace-name.d.mts +2 -0
- package/dist/completion/zsh-worker.zsh +4 -2
- package/dist/configure/config/types.d.mts +11 -0
- package/dist/configure/index.d.mts +6 -6
- package/dist/configure/index.mjs +1 -1
- package/dist/configure/index.mjs.map +1 -1
- package/dist/configure/services/auth/types.d.mts +6 -1
- package/dist/configure/services/executor/trigger/event.d.mts +1 -1
- package/dist/configure/services/executor/trigger/webhook.d.mts +1 -1
- package/dist/configure/services/idp/permission.d.mts +2 -2
- package/dist/configure/services/resolver/resolver.d.mts +1 -1
- package/dist/configure/services/tailordb/schema.d.mts +1 -1
- package/dist/configure/services/tailordb/types.d.mts +1 -1
- package/dist/configure/services/workflow/job.d.mts +1 -1
- package/dist/configure/types/field.types.d.mts +48 -11
- package/dist/configure/types/type.d.mts +1 -1
- package/dist/date-CgP7gMG_.mjs +2 -0
- package/dist/date-CgP7gMG_.mjs.map +1 -0
- package/dist/{secretmanager-5olfnI1b.mjs → date-representation-Cr7W7Pn2.mjs} +2 -2
- package/dist/date-representation-Cr7W7Pn2.mjs.map +1 -0
- package/dist/{field-parse-DhnFs9WG.mjs → field-parse-C41e3UAF.mjs} +2 -2
- package/dist/{field-parse-DhnFs9WG.mjs.map → field-parse-C41e3UAF.mjs.map} +1 -1
- package/dist/idp-G_ojPBB5.mjs.map +1 -1
- package/dist/kysely/index.d.mts +47 -15
- package/dist/kysely/index.mjs +1 -1
- package/dist/kysely/index.mjs.map +1 -1
- package/dist/kysely-type-RDX59E1j.mjs +48 -0
- package/dist/kysely-type-RDX59E1j.mjs.map +1 -0
- package/dist/{manager-8-JOvuLl.mjs → manager-Bk-7vkwd.mjs} +2 -2
- package/dist/{manager-8-JOvuLl.mjs.map → manager-Bk-7vkwd.mjs.map} +1 -1
- package/dist/migration-steps-C6F3zNdQ.mjs +3 -0
- package/dist/migration-steps-C6F3zNdQ.mjs.map +1 -0
- package/dist/plugin/builtin/kysely-type/index.d.mts +11 -0
- package/dist/plugin/builtin/kysely-type/index.mjs +1 -1
- package/dist/plugin/index.mjs +1 -1
- package/dist/register-ts-hook-D6KXrGrB.mjs +1009 -0
- package/dist/register-ts-hook-D6KXrGrB.mjs.map +1 -0
- package/dist/runtime/idp.d.mts +6 -0
- package/dist/runtime/index.d.mts +8 -0
- package/dist/runtime/index.mjs +1 -1
- package/dist/runtime/types.d.mts +5 -0
- package/dist/{schema-CRtAmDcl.mjs → schema-B6hJQWp6.mjs} +2 -2
- package/dist/{schema-CRtAmDcl.mjs.map → schema-B6hJQWp6.mjs.map} +1 -1
- package/dist/seed/index.d.mts +3 -1
- package/dist/seed/index.mjs +7 -9
- package/dist/seed/index.mjs.map +1 -1
- package/dist/service-Cc7OY0Oh.mjs +7 -0
- package/dist/service-Cc7OY0Oh.mjs.map +1 -0
- package/dist/service-sH2MZ4_W.mjs +1 -0
- package/dist/service_pb-Dw2ilc1O.mjs +2 -0
- package/dist/{service_pb-ZClWtj1X.mjs.map → service_pb-Dw2ilc1O.mjs.map} +1 -1
- package/dist/service_pb-GDOqfwb6.mjs +1 -0
- package/dist/types/field.generated.d.mts +2 -2
- package/dist/utils/test/index.mjs +1 -1
- package/dist/vitest/date-representation.d.mts +23 -0
- package/dist/vitest/index.d.mts +5 -2
- package/dist/vitest/index.mjs +1 -1
- package/dist/vitest/index.mjs.map +1 -1
- package/dist/vitest/migration-steps.d.mts +45 -0
- package/dist/vitest/mocks/file.d.mts +1 -1
- package/dist/vitest/mocks/idp.d.mts +1 -0
- package/dist/vitest/mocks/tailordb-pglite.d.mts +1 -0
- package/dist/vitest/pglite-kysely.d.mts +14 -1
- package/dist/vitest/pglite-temporal.d.mts +9 -0
- package/dist/vitest/setup.d.mts +3 -1
- package/dist/vitest/setup.mjs +1 -1
- package/dist/vitest/setup.mjs.map +1 -1
- package/dist/{workspace_resource_pb-CxR_6fyN.mjs → workspace_resource_pb-ChWejcj0.mjs} +2 -2
- package/dist/workspace_resource_pb-ChWejcj0.mjs.map +1 -0
- package/docs/cli/application.md +24 -16
- package/docs/cli/function.md +2 -0
- package/docs/cli/workspace.md +1 -1
- package/docs/configuration.md +19 -6
- package/docs/github-actions.md +124 -58
- package/docs/plugin/custom.md +2 -1
- package/docs/services/auth.md +20 -0
- package/docs/services/executor.md +2 -2
- package/docs/services/idp.md +6 -1
- package/docs/services/resolver.md +4 -2
- package/docs/services/staticwebsite.md +5 -5
- package/docs/services/tailordb-migration.md +159 -35
- package/docs/services/tailordb.md +2 -2
- package/docs/testing.md +5 -1
- package/package.json +12 -12
- package/dist/application-ChqHuhZW.mjs +0 -1
- package/dist/application-DS0XKBtK.mjs +0 -200
- package/dist/application-DS0XKBtK.mjs.map +0 -1
- package/dist/date-Dri6Yas-.mjs +0 -2
- package/dist/date-Dri6Yas-.mjs.map +0 -1
- package/dist/kysely-type-C-iyFFH7.mjs +0 -43
- package/dist/kysely-type-C-iyFFH7.mjs.map +0 -1
- package/dist/register-ts-hook-DPAW0Z4M.mjs +0 -924
- package/dist/register-ts-hook-DPAW0Z4M.mjs.map +0 -1
- package/dist/secretmanager-5olfnI1b.mjs.map +0 -1
- package/dist/service-Bx-7Lz06.mjs +0 -1
- package/dist/service-CL1Bp4It.mjs +0 -7
- package/dist/service-CL1Bp4It.mjs.map +0 -1
- package/dist/service_pb-ZClWtj1X.mjs +0 -2
- package/dist/service_pb-dB3RrGeh.mjs +0 -1
- package/dist/tailordb-ddl-DqInYupv.mjs +0 -7
- package/dist/tailordb-ddl-DqInYupv.mjs.map +0 -1
- package/dist/workspace_resource_pb-CxR_6fyN.mjs.map +0 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
//#region src/vitest/migration-steps.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Run a multi-step migration script's `steps` in tests the way `tailor deploy`
|
|
4
|
+
* does: in dependency order, each step in its own transaction.
|
|
5
|
+
*/
|
|
6
|
+
/** A step as declared in a migration script's `steps`. */
|
|
7
|
+
export interface RunnableMigrationStep<Trx, Context> {
|
|
8
|
+
/** Steps that must complete before this one starts. */
|
|
9
|
+
readonly dependsOn?: readonly string[];
|
|
10
|
+
/** The step body; it receives its own transaction. */
|
|
11
|
+
run: (trx: Trx, context: Context) => Promise<unknown>;
|
|
12
|
+
}
|
|
13
|
+
export interface RunMigrationStepsOptions<Trx, Context extends {
|
|
14
|
+
env: unknown;
|
|
15
|
+
}> {
|
|
16
|
+
/**
|
|
17
|
+
* Run one step inside a transaction, e.g.
|
|
18
|
+
* `(run) => db.transaction().execute(run)` for a PGlite-backed Kysely, or
|
|
19
|
+
* `(run) => mock.withTx(run)` for `createKyselyMock`.
|
|
20
|
+
*/
|
|
21
|
+
transaction: (run: (trx: Trx) => Promise<unknown>) => Promise<unknown>;
|
|
22
|
+
/** Values passed as `env` to every step; defaults to `{}`. */
|
|
23
|
+
env?: Context["env"];
|
|
24
|
+
}
|
|
25
|
+
/** Thrown by {@link runMigrationSteps} when a step fails. */
|
|
26
|
+
export declare class MigrationStepError extends Error {
|
|
27
|
+
/** The step that failed. */
|
|
28
|
+
readonly step: string;
|
|
29
|
+
/** Steps that committed before the failure, in execution order. */
|
|
30
|
+
readonly completedSteps: string[];
|
|
31
|
+
constructor(step: string, completedSteps: string[], cause: unknown);
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Run a migration script's `steps` in the order `tailor deploy` runs them,
|
|
35
|
+
* committing each step separately, so a test can observe what a failure in a
|
|
36
|
+
* later step leaves behind.
|
|
37
|
+
* @param steps - The script's exported `steps`
|
|
38
|
+
* @param options - Transaction runner and env
|
|
39
|
+
* @returns Names of the steps that ran, in execution order
|
|
40
|
+
* @throws {MigrationStepError} When a step fails; earlier steps stay committed
|
|
41
|
+
*/
|
|
42
|
+
export declare function runMigrationSteps<Trx, Context extends {
|
|
43
|
+
env: unknown;
|
|
44
|
+
}>(steps: Readonly<Record<string, RunnableMigrationStep<Trx, Context>>>, options: RunMigrationStepsOptions<Trx, Context>): Promise<string[]>;
|
|
45
|
+
//#endregion
|
|
@@ -46,9 +46,9 @@ export declare function mockFile(options?: MockFileOptions): {
|
|
|
46
46
|
calls: FileCall[];
|
|
47
47
|
clear(): void;
|
|
48
48
|
reset(): void;
|
|
49
|
-
delete: Mock<(namespace: string, tableName: string, fieldName: string, recordId: string) => Promise<void>>;
|
|
50
49
|
download: Mock<(namespace: string, tableName: string, fieldName: string, recordId: string) => Promise<FileDownloadResponse>>;
|
|
51
50
|
downloadAsBase64: Mock<(namespace: string, tableName: string, fieldName: string, recordId: string) => Promise<FileDownloadAsBase64Response>>;
|
|
51
|
+
delete: Mock<(namespace: string, tableName: string, fieldName: string, recordId: string) => Promise<void>>;
|
|
52
52
|
getMetadata: Mock<(namespace: string, tableName: string, fieldName: string, recordId: string) => Promise<FileMetadata>>;
|
|
53
53
|
downloadStream: Mock<(namespace: string, tableName: string, fieldName: string, recordId: string) => Promise<FileDownloadStreamResponse>>;
|
|
54
54
|
uploadStream: Mock<(namespace: string, tableName: string, fieldName: string, recordId: string, readableStream: ReadableStream<Uint8Array | ArrayBuffer>, options?: FileUploadStreamOptions) => Promise<FileUploadResponse>>;
|
|
@@ -62,6 +62,7 @@ export declare function mockTailordbWithPGlite(options: MockTailordbPGliteOption
|
|
|
62
62
|
/** The mock `tailordb.Client` constructor (`vi.fn`). */
|
|
63
63
|
Client: import("vitest").Mock<(this: any, config?: {
|
|
64
64
|
namespace?: string;
|
|
65
|
+
temporal?: boolean;
|
|
65
66
|
}) => void>;
|
|
66
67
|
/**
|
|
67
68
|
* All queries executed on the PGlite instances, in order, with the
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PGliteField } from "./pglite-temporal.mjs";
|
|
1
2
|
import { ColumnType, Kysely } from "kysely";
|
|
2
3
|
//#region src/vitest/pglite-kysely.d.ts
|
|
3
4
|
/** Result of a {@link PGliteClient.query} call. */
|
|
@@ -10,6 +11,8 @@ export interface PGliteQueryResult {
|
|
|
10
11
|
command?: string;
|
|
11
12
|
/** Row count reported alongside the command tag. */
|
|
12
13
|
rowCount?: number;
|
|
14
|
+
/** Name and Postgres type OID of each returned column. */
|
|
15
|
+
fields?: PGliteField[];
|
|
13
16
|
}
|
|
14
17
|
/**
|
|
15
18
|
* The subset of a `@electric-sql/pglite` `PGlite` instance used by
|
|
@@ -43,6 +46,15 @@ type UnmigratedColumn<C> = C extends ColumnType<infer S, infer I, infer U> ? Col
|
|
|
43
46
|
* ```
|
|
44
47
|
*/
|
|
45
48
|
export type Unmigrated<DB> = { [T in keyof DB]: { [C in keyof DB[T]]: UnmigratedColumn<DB[T][C]>; }; };
|
|
49
|
+
/** Options for {@link createKyselyPGlite}. */
|
|
50
|
+
export interface CreateKyselyPGliteOptions {
|
|
51
|
+
/**
|
|
52
|
+
* Read date/datetime/time columns back as `Temporal.PlainDate`/`Temporal.Instant`/
|
|
53
|
+
* `Temporal.PlainTime`, as a migration whose `db.ts` uses Temporal column types sees
|
|
54
|
+
* them on the platform. Defaults to `false`.
|
|
55
|
+
*/
|
|
56
|
+
temporal?: boolean;
|
|
57
|
+
}
|
|
46
58
|
/**
|
|
47
59
|
* Create a Kysely instance backed by a PGlite in-memory Postgres, for
|
|
48
60
|
* executing a migration script's queries against real data in tests.
|
|
@@ -54,6 +66,7 @@ export type Unmigrated<DB> = { [T in keyof DB]: { [C in keyof DB[T]]: Unmigrated
|
|
|
54
66
|
* statement passing here can still be rejected by the platform; keep a
|
|
55
67
|
* statement-level test (see `createKyselyMock`) alongside.
|
|
56
68
|
* @param client - A `PGlite` instance from `@electric-sql/pglite`
|
|
69
|
+
* @param options - Adapter options
|
|
57
70
|
* @returns A Kysely instance that executes queries on the client and closes it on `destroy()`
|
|
58
71
|
* @example
|
|
59
72
|
* ```typescript
|
|
@@ -68,5 +81,5 @@ export type Unmigrated<DB> = { [T in keyof DB]: { [C in keyof DB[T]]: Unmigrated
|
|
|
68
81
|
* await db.transaction().execute((trx) => main(trx));
|
|
69
82
|
* ```
|
|
70
83
|
*/
|
|
71
|
-
export declare function createKyselyPGlite<DB = Record<string, never>>(client: PGliteClient): Kysely<DB>;
|
|
84
|
+
export declare function createKyselyPGlite<DB = Record<string, never>>(client: PGliteClient, options?: CreateKyselyPGliteOptions): Kysely<DB>;
|
|
72
85
|
//#endregion
|
package/dist/vitest/setup.d.mts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { applyDateDefault } from "./date-representation.mjs";
|
|
1
2
|
//#region src/vitest/setup.d.ts
|
|
2
3
|
/**
|
|
3
4
|
* Extract a vault store from a secrets-shaped value.
|
|
@@ -21,4 +22,5 @@ export declare function extractVaultStore(secrets: unknown): Record<string, Reco
|
|
|
21
22
|
* @returns Vault store keyed by vault name, or null if unavailable
|
|
22
23
|
*/
|
|
23
24
|
export declare function loadSecretsFromConfig(configPath: string): Promise<Record<string, Record<string, string>> | null>;
|
|
24
|
-
//#endregion
|
|
25
|
+
//#endregion
|
|
26
|
+
export { applyDateDefault };
|
package/dist/vitest/setup.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"../globals-BCmGX05J.mjs";import{t}from"../
|
|
1
|
+
import{t as e}from"../globals-BCmGX05J.mjs";import{r as t,t as n}from"../date-representation-Cr7W7Pn2.mjs";import{pathToFileURL as r}from"node:url";import{afterAll as i,beforeAll as a}from"vitest";function isTailorRuntime(){return e in globalThis}function extractVaultStore(e){if(!e||typeof e!=`object`)return null;let t=`vaults`in e&&typeof e.vaults==`object`&&e.vaults!==null?e.vaults:e,n={};for(let[e,r]of Object.entries(t))typeof r==`object`&&r&&(n[e]={...r});return Object.keys(n).length>0?n:null}async function loadSecretsFromConfig(e){try{let t=await import(r(e).href);return extractVaultStore(t.default?.secrets??t.secrets)}catch{return null}}const o=isTailorRuntime()?process.env.__TAILOR_RUNTIME_DATE_DEFAULT:void 0,s=o===`temporal`||o===`date`||o===`legacy`?n(o):void 0;i(()=>s?.()),a(async()=>{if(!isTailorRuntime())return;let e=process.env.__TAILOR_RUNTIME_CONFIG;if(!e)return;let n=await loadSecretsFromConfig(e);n&&t().setSecrets(n)});export{n as applyDateDefault,extractVaultStore,loadSecretsFromConfig};
|
|
2
2
|
//# sourceMappingURL=setup.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"setup.mjs","names":["RUNTIME_FLAG_KEY","secrets","source","store","vaultName","vaultData","config","pathToFileURL","configPath","
|
|
1
|
+
{"version":3,"file":"setup.mjs","names":["RUNTIME_FLAG_KEY","mockSecretmanager","applyDateDefault","secrets","source","store","vaultName","vaultData","config","pathToFileURL","configPath","configuredDateDefault","restoreDateDefault","afterAll","beforeAll"],"sources":["../../src/vitest/setup.ts"],"sourcesContent":["/**\n * Vitest setup file that seeds the SecretManager mock from `tailor.config.ts`\n * and applies the date default the plugin read from it.\n *\n * This file is auto-injected by tailorRuntime() but only activates when\n * the tailor-runtime environment is active (detected via __tailorRuntimeActive,\n * a flag set by injectMocks() during environment setup).\n */\nimport { pathToFileURL } from \"node:url\";\nimport { afterAll, beforeAll } from \"vitest\";\nimport { applyDateDefault } from \"./date-representation\";\nimport { RUNTIME_FLAG_KEY, mockSecretmanager } from \"./mock\";\n\nexport { applyDateDefault };\n\nfunction isTailorRuntime(): boolean {\n return RUNTIME_FLAG_KEY in globalThis;\n}\n\n/**\n * Extract a vault store from a secrets-shaped value.\n *\n * `defineSecretManager()` returns `{ vaults, options, get, getAll }` (get/getAll\n * are non-enumerable). When that shape is present, the actual vaults live\n * under `.vaults`. Otherwise fall back to treating the object itself as the\n * vault map (for plain object configs).\n * @param secrets - Value from `appConfig.secrets` or `config.secrets`\n * @returns Vault store, or null if the value is unusable\n */\nexport function extractVaultStore(secrets: unknown): Record<string, Record<string, string>> | null {\n if (!secrets || typeof secrets !== \"object\") return null;\n\n const source =\n \"vaults\" in secrets &&\n typeof (secrets as { vaults?: unknown }).vaults === \"object\" &&\n (secrets as { vaults?: unknown }).vaults !== null\n ? (secrets as { vaults: Record<string, unknown> }).vaults\n : (secrets as Record<string, unknown>);\n\n const store: Record<string, Record<string, string>> = {};\n for (const [vaultName, vaultData] of Object.entries(source)) {\n if (typeof vaultData === \"object\" && vaultData !== null) {\n store[vaultName] = { ...(vaultData as Record<string, string>) };\n }\n }\n return Object.keys(store).length > 0 ? store : null;\n}\n\n/**\n * Load and parse secrets from a tailor.config.ts file.\n *\n * Returns a vault store on success, or `null` on any failure (missing config,\n * import failure, missing/invalid secrets shape). Errors are swallowed so a\n * misconfigured project still boots — the user can set secrets manually via\n * `mockSecretmanager().setSecrets()`.\n * @param configPath - Absolute path to tailor.config.ts\n * @returns Vault store keyed by vault name, or null if unavailable\n */\nexport async function loadSecretsFromConfig(\n configPath: string,\n): Promise<Record<string, Record<string, string>> | null> {\n try {\n // Convert to file URL so absolute Windows paths (e.g. \"C:\\...\") parse as\n // valid ESM specifiers.\n const config = await import(pathToFileURL(configPath).href);\n const appConfig = config.default;\n const secrets = appConfig?.secrets ?? config.secrets;\n return extractVaultStore(secrets);\n } catch {\n return null;\n }\n}\n\n// The plugin reads the config in the Vitest host and passes the result here.\n// Applied at the top level, before the test file and its imports evaluate, so a\n// field parsed at import time already follows the configured default.\nconst configuredDateDefault = isTailorRuntime()\n ? process.env.__TAILOR_RUNTIME_DATE_DEFAULT\n : undefined;\nconst restoreDateDefault =\n configuredDateDefault === \"temporal\" ||\n configuredDateDefault === \"date\" ||\n configuredDateDefault === \"legacy\"\n ? applyDateDefault(configuredDateDefault)\n : undefined;\nafterAll(() => restoreDateDefault?.());\n\n// Load secrets from tailor.config.ts if config path is provided via env var\nbeforeAll(async () => {\n if (!isTailorRuntime()) return;\n const configPath = process.env.__TAILOR_RUNTIME_CONFIG;\n if (!configPath) return;\n\n const store = await loadSecretsFromConfig(configPath);\n if (store) {\n // Acquire without `using`: this is a one-time global seed that must persist\n // across tests, so we deliberately do not dispose (which would reset it).\n mockSecretmanager().setSecrets(store);\n }\n});\n"],"mappings":"qMAeA,SAAS,iBAA2B,CAClC,OAAOA,KAAoB,UAC7B,CAYA,SAAgB,kBAAkB,EAAiE,CACjG,GAAI,CAACG,GAAW,OAAOA,GAAY,SAAU,OAAO,KAEpD,IAAMC,EACJ,WAAYD,GACZ,OAAQA,EAAiC,QAAW,UACnDA,EAAiC,SAAW,KACxCA,EAAgD,OAChDA,EAEDE,EAAgD,CAAC,EACvD,IAAK,GAAM,CAACC,EAAWC,KAAc,OAAO,QAAQH,CAAM,EACpD,OAAOG,GAAc,UAAYA,IACnC,EAAMD,GAAa,CAAE,GAAIC,CAAqC,GAGlE,OAAO,OAAO,KAAKF,CAAK,CAAC,CAAC,OAAS,EAAIA,EAAQ,IACjD,CAYA,eAAsB,sBACpB,EACwD,CACxD,GAAI,CAGF,IAAMG,EAAS,MAAM,OAAOC,EAAcC,CAAU,CAAC,CAAC,MAGtD,OAAO,kBAFWF,EAAO,SACE,SAAWA,EAAO,OACb,CAClC,MAAQ,CACN,OAAO,IACT,CACF,CAKA,MAAMG,EAAwB,gBAAgB,EAC1C,QAAQ,IAAI,8BACZ,IAAA,GACEC,EACJD,IAA0B,YAC1BA,IAA0B,QAC1BA,IAA0B,SACtBT,EAAiBS,CAAqB,EACtC,IAAA,GACNE,MAAeD,IAAqB,CAAC,EAGrCE,EAAU,SAAY,CACpB,GAAI,CAAC,gBAAgB,EAAG,OACxB,IAAMJ,EAAa,QAAQ,IAAI,wBAC/B,GAAI,CAACA,EAAY,OAEjB,IAAML,EAAQ,MAAM,sBAAsBK,CAAU,EAChDL,GAGFJ,EAAkB,CAAC,CAAC,WAAWI,CAAK,CAExC,CAAC"}
|