Add Brave CDP automation, replace Oracle browser mode

Connects to user's running Brave via Chrome DevTools Protocol
to automate ChatGPT interaction. Uses puppeteer-core to open a
tab, send the prompt, wait for response, and extract the result.

No cookies, no separate profiles, no copy/paste. Just connects
to the browser where the user is already logged in.

One-time setup: relaunch Brave with --remote-debugging-port=9222

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Taylor Eernisse
2026-02-07 16:16:41 -05:00
parent d776a266a8
commit e7882b917b
4163 changed files with 782828 additions and 148 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,348 @@
/**
* Copyright 2024 Google LLC.
* Copyright (c) Microsoft Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* THIS FILE IS AUTOGENERATED by cddlconv 0.1.7.
* Run `node tools/generate-bidi-types.mjs` to regenerate.
* @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck Some types may be circular.
import z from 'zod';
export var Bluetooth;
(function (Bluetooth) {
Bluetooth.BluetoothUuidSchema = z.lazy(() => z.string());
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.BluetoothManufacturerDataSchema = z.lazy(() => z.object({
key: z.number().int().nonnegative(),
data: z.string(),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.CharacteristicPropertiesSchema = z.lazy(() => z.object({
broadcast: z.boolean().optional(),
read: z.boolean().optional(),
writeWithoutResponse: z.boolean().optional(),
write: z.boolean().optional(),
notify: z.boolean().optional(),
indicate: z.boolean().optional(),
authenticatedSignedWrites: z.boolean().optional(),
extendedProperties: z.boolean().optional(),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.RequestDeviceSchema = z.lazy(() => z.string());
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.RequestDeviceInfoSchema = z.lazy(() => z.object({
id: Bluetooth.RequestDeviceSchema,
name: z.union([z.string(), z.null()]),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.RequestDevicePromptSchema = z.lazy(() => z.string());
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.ScanRecordSchema = z.lazy(() => z.object({
name: z.string().optional(),
uuids: z.array(Bluetooth.BluetoothUuidSchema).optional(),
appearance: z.number().optional(),
manufacturerData: z
.array(Bluetooth.BluetoothManufacturerDataSchema)
.optional(),
}));
})(Bluetooth || (Bluetooth = {}));
export const BluetoothCommandSchema = z.lazy(() => z.union([
Bluetooth.HandleRequestDevicePromptSchema,
Bluetooth.SimulateAdapterSchema,
Bluetooth.DisableSimulationSchema,
Bluetooth.SimulatePreconnectedPeripheralSchema,
Bluetooth.SimulateAdvertisementSchema,
Bluetooth.SimulateGattConnectionResponseSchema,
Bluetooth.SimulateGattDisconnectionSchema,
Bluetooth.SimulateServiceSchema,
Bluetooth.SimulateCharacteristicSchema,
Bluetooth.SimulateCharacteristicResponseSchema,
Bluetooth.SimulateDescriptorSchema,
Bluetooth.SimulateDescriptorResponseSchema,
]));
(function (Bluetooth) {
Bluetooth.HandleRequestDevicePromptSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.handleRequestDevicePrompt'),
params: Bluetooth.HandleRequestDevicePromptParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.HandleRequestDevicePromptParametersSchema = z.lazy(() => z
.object({
context: z.string(),
prompt: Bluetooth.RequestDevicePromptSchema,
})
.and(z.union([
Bluetooth.HandleRequestDevicePromptAcceptParametersSchema,
Bluetooth.HandleRequestDevicePromptCancelParametersSchema,
])));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.HandleRequestDevicePromptAcceptParametersSchema = z.lazy(() => z.object({
accept: z.literal(true),
device: Bluetooth.RequestDeviceSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.HandleRequestDevicePromptCancelParametersSchema = z.lazy(() => z.object({
accept: z.literal(false),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateAdapterSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.simulateAdapter'),
params: Bluetooth.SimulateAdapterParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateAdapterParametersSchema = z.lazy(() => z.object({
context: z.string(),
leSupported: z.boolean().optional(),
state: z.enum(['absent', 'powered-off', 'powered-on']),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.DisableSimulationSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.disableSimulation'),
params: Bluetooth.DisableSimulationParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.DisableSimulationParametersSchema = z.lazy(() => z.object({
context: z.string(),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulatePreconnectedPeripheralSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.simulatePreconnectedPeripheral'),
params: Bluetooth.SimulatePreconnectedPeripheralParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulatePreconnectedPeripheralParametersSchema = z.lazy(() => z.object({
context: z.string(),
address: z.string(),
name: z.string(),
manufacturerData: z.array(Bluetooth.BluetoothManufacturerDataSchema),
knownServiceUuids: z.array(Bluetooth.BluetoothUuidSchema),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateAdvertisementSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.simulateAdvertisement'),
params: Bluetooth.SimulateAdvertisementParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateAdvertisementParametersSchema = z.lazy(() => z.object({
context: z.string(),
scanEntry: Bluetooth.SimulateAdvertisementScanEntryParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateAdvertisementScanEntryParametersSchema = z.lazy(() => z.object({
deviceAddress: z.string(),
rssi: z.number(),
scanRecord: Bluetooth.ScanRecordSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateGattConnectionResponseSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.simulateGattConnectionResponse'),
params: Bluetooth.SimulateGattConnectionResponseParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateGattConnectionResponseParametersSchema = z.lazy(() => z.object({
context: z.string(),
address: z.string(),
code: z.number().int().nonnegative(),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateGattDisconnectionSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.simulateGattDisconnection'),
params: Bluetooth.SimulateGattDisconnectionParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateGattDisconnectionParametersSchema = z.lazy(() => z.object({
context: z.string(),
address: z.string(),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateServiceSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.simulateService'),
params: Bluetooth.SimulateServiceParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateServiceParametersSchema = z.lazy(() => z.object({
context: z.string(),
address: z.string(),
uuid: Bluetooth.BluetoothUuidSchema,
type: z.enum(['add', 'remove']),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateCharacteristicSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.simulateCharacteristic'),
params: Bluetooth.SimulateCharacteristicParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateCharacteristicParametersSchema = z.lazy(() => z.object({
context: z.string(),
address: z.string(),
serviceUuid: Bluetooth.BluetoothUuidSchema,
characteristicUuid: Bluetooth.BluetoothUuidSchema,
characteristicProperties: Bluetooth.CharacteristicPropertiesSchema.optional(),
type: z.enum(['add', 'remove']),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateCharacteristicResponseSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.simulateCharacteristicResponse'),
params: Bluetooth.SimulateCharacteristicResponseParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateCharacteristicResponseParametersSchema = z.lazy(() => z.object({
context: z.string(),
address: z.string(),
serviceUuid: Bluetooth.BluetoothUuidSchema,
characteristicUuid: Bluetooth.BluetoothUuidSchema,
type: z.enum([
'read',
'write',
'subscribe-to-notifications',
'unsubscribe-from-notifications',
]),
code: z.number().int().nonnegative(),
data: z.array(z.number().int().nonnegative()).optional(),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateDescriptorSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.simulateDescriptor'),
params: Bluetooth.SimulateDescriptorParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateDescriptorParametersSchema = z.lazy(() => z.object({
context: z.string(),
address: z.string(),
serviceUuid: Bluetooth.BluetoothUuidSchema,
characteristicUuid: Bluetooth.BluetoothUuidSchema,
descriptorUuid: Bluetooth.BluetoothUuidSchema,
type: z.enum(['add', 'remove']),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateDescriptorResponseSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.simulateDescriptorResponse'),
params: Bluetooth.SimulateDescriptorResponseParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.SimulateDescriptorResponseParametersSchema = z.lazy(() => z.object({
context: z.string(),
address: z.string(),
serviceUuid: Bluetooth.BluetoothUuidSchema,
characteristicUuid: Bluetooth.BluetoothUuidSchema,
descriptorUuid: Bluetooth.BluetoothUuidSchema,
type: z.enum(['read', 'write']),
code: z.number().int().nonnegative(),
data: z.array(z.number().int().nonnegative()).optional(),
}));
})(Bluetooth || (Bluetooth = {}));
export const BluetoothEventSchema = z.lazy(() => z.union([
Bluetooth.RequestDevicePromptUpdatedSchema,
Bluetooth.GattConnectionAttemptedSchema,
]));
(function (Bluetooth) {
Bluetooth.RequestDevicePromptUpdatedSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.requestDevicePromptUpdated'),
params: Bluetooth.RequestDevicePromptUpdatedParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.RequestDevicePromptUpdatedParametersSchema = z.lazy(() => z.object({
context: z.string(),
prompt: Bluetooth.RequestDevicePromptSchema,
devices: z.array(Bluetooth.RequestDeviceInfoSchema),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.GattConnectionAttemptedSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.gattConnectionAttempted'),
params: Bluetooth.GattConnectionAttemptedParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.GattConnectionAttemptedParametersSchema = z.lazy(() => z.object({
context: z.string(),
address: z.string(),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.CharacteristicEventGeneratedSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.characteristicEventGenerated'),
params: Bluetooth.CharacteristicEventGeneratedParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.CharacteristicEventGeneratedParametersSchema = z.lazy(() => z.object({
context: z.string(),
address: z.string(),
serviceUuid: Bluetooth.BluetoothUuidSchema,
characteristicUuid: Bluetooth.BluetoothUuidSchema,
type: z.enum([
'read',
'write-with-response',
'write-without-response',
'subscribe-to-notifications',
'unsubscribe-from-notifications',
]),
data: z.array(z.number().int().nonnegative()).optional(),
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.DescriptorEventGeneratedSchema = z.lazy(() => z.object({
method: z.literal('bluetooth.descriptorEventGenerated'),
params: Bluetooth.DescriptorEventGeneratedParametersSchema,
}));
})(Bluetooth || (Bluetooth = {}));
(function (Bluetooth) {
Bluetooth.DescriptorEventGeneratedParametersSchema = z.lazy(() => z.object({
context: z.string(),
address: z.string(),
serviceUuid: Bluetooth.BluetoothUuidSchema,
characteristicUuid: Bluetooth.BluetoothUuidSchema,
descriptorUuid: Bluetooth.BluetoothUuidSchema,
type: z.enum(['read', 'write']),
data: z.array(z.number().int().nonnegative()).optional(),
}));
})(Bluetooth || (Bluetooth = {}));
//# sourceMappingURL=webdriver-bidi-bluetooth.js.map

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,102 @@
/**
* Copyright 2024 Google LLC.
* Copyright (c) Microsoft Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* THIS FILE IS AUTOGENERATED by cddlconv 0.1.7.
* Run `node tools/generate-bidi-types.mjs` to regenerate.
* @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
*/
import z from 'zod';
export declare namespace Speculation {
const PreloadingStatusSchema: z.ZodLazy<z.ZodEnum<["pending", "ready", "success", "failure"]>>;
}
export declare const SpeculationEventSchema: z.ZodLazy<z.ZodLazy<z.ZodObject<{
method: z.ZodLiteral<"speculation.prefetchStatusUpdated">;
params: z.ZodLazy<z.ZodObject<{
context: z.ZodString;
url: z.ZodString;
status: z.ZodLazy<z.ZodEnum<["pending", "ready", "success", "failure"]>>;
}, "strip", z.ZodTypeAny, {
url: string;
status: "success" | "pending" | "ready" | "failure";
context: string;
}, {
url: string;
status: "success" | "pending" | "ready" | "failure";
context: string;
}>>;
}, "strip", z.ZodTypeAny, {
params: {
url: string;
status: "success" | "pending" | "ready" | "failure";
context: string;
};
method: "speculation.prefetchStatusUpdated";
}, {
params: {
url: string;
status: "success" | "pending" | "ready" | "failure";
context: string;
};
method: "speculation.prefetchStatusUpdated";
}>>>;
export declare namespace Speculation {
const PrefetchStatusUpdatedSchema: z.ZodLazy<z.ZodObject<{
method: z.ZodLiteral<"speculation.prefetchStatusUpdated">;
params: z.ZodLazy<z.ZodObject<{
context: z.ZodString;
url: z.ZodString;
status: z.ZodLazy<z.ZodEnum<["pending", "ready", "success", "failure"]>>;
}, "strip", z.ZodTypeAny, {
url: string;
status: "success" | "pending" | "ready" | "failure";
context: string;
}, {
url: string;
status: "success" | "pending" | "ready" | "failure";
context: string;
}>>;
}, "strip", z.ZodTypeAny, {
params: {
url: string;
status: "success" | "pending" | "ready" | "failure";
context: string;
};
method: "speculation.prefetchStatusUpdated";
}, {
params: {
url: string;
status: "success" | "pending" | "ready" | "failure";
context: string;
};
method: "speculation.prefetchStatusUpdated";
}>>;
}
export declare namespace Speculation {
const PrefetchStatusUpdatedParametersSchema: z.ZodLazy<z.ZodObject<{
context: z.ZodString;
url: z.ZodString;
status: z.ZodLazy<z.ZodEnum<["pending", "ready", "success", "failure"]>>;
}, "strip", z.ZodTypeAny, {
url: string;
status: "success" | "pending" | "ready" | "failure";
context: string;
}, {
url: string;
status: "success" | "pending" | "ready" | "failure";
context: string;
}>>;
}

View File

@@ -0,0 +1,43 @@
/**
* Copyright 2024 Google LLC.
* Copyright (c) Microsoft Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* THIS FILE IS AUTOGENERATED by cddlconv 0.1.7.
* Run `node tools/generate-bidi-types.mjs` to regenerate.
* @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck Some types may be circular.
import z from 'zod';
export var Speculation;
(function (Speculation) {
Speculation.PreloadingStatusSchema = z.lazy(() => z.enum(['pending', 'ready', 'success', 'failure']));
})(Speculation || (Speculation = {}));
export const SpeculationEventSchema = z.lazy(() => Speculation.PrefetchStatusUpdatedSchema);
(function (Speculation) {
Speculation.PrefetchStatusUpdatedSchema = z.lazy(() => z.object({
method: z.literal('speculation.prefetchStatusUpdated'),
params: Speculation.PrefetchStatusUpdatedParametersSchema,
}));
})(Speculation || (Speculation = {}));
(function (Speculation) {
Speculation.PrefetchStatusUpdatedParametersSchema = z.lazy(() => z.object({
context: z.string(),
url: z.string(),
status: Speculation.PreloadingStatusSchema,
}));
})(Speculation || (Speculation = {}));
//# sourceMappingURL=webdriver-bidi-nav-speculation.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"webdriver-bidi-nav-speculation.js","sourceRoot":"","sources":["../../../../src/protocol-parser/generated/webdriver-bidi-nav-speculation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;;;GAIG;AAEH,6DAA6D;AAC7D,0CAA0C;AAE1C,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,MAAM,KAAW,WAAW,CAI3B;AAJD,WAAiB,WAAW;IACb,kCAAsB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAChD,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,CAAC,CAAC,CACnD,CAAC;AACJ,CAAC,EAJgB,WAAW,KAAX,WAAW,QAI3B;AACD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAC1C,GAAG,EAAE,CAAC,WAAW,CAAC,2BAA2B,CAC9C,CAAC;AACF,WAAiB,WAAW;IACb,uCAA2B,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACrD,CAAC,CAAC,MAAM,CAAC;QACP,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,mCAAmC,CAAC;QACtD,MAAM,EAAE,WAAW,CAAC,qCAAqC;KAC1D,CAAC,CACH,CAAC;AACJ,CAAC,EAPgB,WAAW,KAAX,WAAW,QAO3B;AACD,WAAiB,WAAW;IACb,iDAAqC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAC/D,CAAC,CAAC,MAAM,CAAC;QACP,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;QACnB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;QACf,MAAM,EAAE,WAAW,CAAC,sBAAsB;KAC3C,CAAC,CACH,CAAC;AACJ,CAAC,EARgB,WAAW,KAAX,WAAW,QAQ3B"}

View File

@@ -0,0 +1,175 @@
/**
* Copyright 2024 Google LLC.
* Copyright (c) Microsoft Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* THIS FILE IS AUTOGENERATED by cddlconv 0.1.7.
* Run `node tools/generate-bidi-types.mjs` to regenerate.
* @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
*/
import z from 'zod';
export declare const PermissionsCommandSchema: z.ZodLazy<z.ZodLazy<z.ZodObject<{
method: z.ZodLiteral<"permissions.setPermission">;
params: z.ZodLazy<z.ZodObject<{
descriptor: z.ZodLazy<z.ZodObject<{
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
}, {
name: string;
}>>;
state: z.ZodLazy<z.ZodEnum<["granted", "denied", "prompt"]>>;
origin: z.ZodString;
embeddedOrigin: z.ZodOptional<z.ZodString>;
userContext: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
origin: string;
state: "granted" | "denied" | "prompt";
descriptor: {
name: string;
};
userContext?: string | undefined;
embeddedOrigin?: string | undefined;
}, {
origin: string;
state: "granted" | "denied" | "prompt";
descriptor: {
name: string;
};
userContext?: string | undefined;
embeddedOrigin?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
params: {
origin: string;
state: "granted" | "denied" | "prompt";
descriptor: {
name: string;
};
userContext?: string | undefined;
embeddedOrigin?: string | undefined;
};
method: "permissions.setPermission";
}, {
params: {
origin: string;
state: "granted" | "denied" | "prompt";
descriptor: {
name: string;
};
userContext?: string | undefined;
embeddedOrigin?: string | undefined;
};
method: "permissions.setPermission";
}>>>;
export declare namespace Permissions {
const PermissionDescriptorSchema: z.ZodLazy<z.ZodObject<{
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
}, {
name: string;
}>>;
}
export declare namespace Permissions {
const PermissionStateSchema: z.ZodLazy<z.ZodEnum<["granted", "denied", "prompt"]>>;
}
export declare namespace Permissions {
const SetPermissionSchema: z.ZodLazy<z.ZodObject<{
method: z.ZodLiteral<"permissions.setPermission">;
params: z.ZodLazy<z.ZodObject<{
descriptor: z.ZodLazy<z.ZodObject<{
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
}, {
name: string;
}>>;
state: z.ZodLazy<z.ZodEnum<["granted", "denied", "prompt"]>>;
origin: z.ZodString;
embeddedOrigin: z.ZodOptional<z.ZodString>;
userContext: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
origin: string;
state: "granted" | "denied" | "prompt";
descriptor: {
name: string;
};
userContext?: string | undefined;
embeddedOrigin?: string | undefined;
}, {
origin: string;
state: "granted" | "denied" | "prompt";
descriptor: {
name: string;
};
userContext?: string | undefined;
embeddedOrigin?: string | undefined;
}>>;
}, "strip", z.ZodTypeAny, {
params: {
origin: string;
state: "granted" | "denied" | "prompt";
descriptor: {
name: string;
};
userContext?: string | undefined;
embeddedOrigin?: string | undefined;
};
method: "permissions.setPermission";
}, {
params: {
origin: string;
state: "granted" | "denied" | "prompt";
descriptor: {
name: string;
};
userContext?: string | undefined;
embeddedOrigin?: string | undefined;
};
method: "permissions.setPermission";
}>>;
}
export declare namespace Permissions {
const SetPermissionParametersSchema: z.ZodLazy<z.ZodObject<{
descriptor: z.ZodLazy<z.ZodObject<{
name: z.ZodString;
}, "strip", z.ZodTypeAny, {
name: string;
}, {
name: string;
}>>;
state: z.ZodLazy<z.ZodEnum<["granted", "denied", "prompt"]>>;
origin: z.ZodString;
embeddedOrigin: z.ZodOptional<z.ZodString>;
userContext: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
origin: string;
state: "granted" | "denied" | "prompt";
descriptor: {
name: string;
};
userContext?: string | undefined;
embeddedOrigin?: string | undefined;
}, {
origin: string;
state: "granted" | "denied" | "prompt";
descriptor: {
name: string;
};
userContext?: string | undefined;
embeddedOrigin?: string | undefined;
}>>;
}

View File

@@ -0,0 +1,50 @@
/**
* Copyright 2024 Google LLC.
* Copyright (c) Microsoft Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* THIS FILE IS AUTOGENERATED by cddlconv 0.1.7.
* Run `node tools/generate-bidi-types.mjs` to regenerate.
* @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck Some types may be circular.
import z from 'zod';
export const PermissionsCommandSchema = z.lazy(() => Permissions.SetPermissionSchema);
export var Permissions;
(function (Permissions) {
Permissions.PermissionDescriptorSchema = z.lazy(() => z.object({
name: z.string(),
}));
})(Permissions || (Permissions = {}));
(function (Permissions) {
Permissions.PermissionStateSchema = z.lazy(() => z.enum(['granted', 'denied', 'prompt']));
})(Permissions || (Permissions = {}));
(function (Permissions) {
Permissions.SetPermissionSchema = z.lazy(() => z.object({
method: z.literal('permissions.setPermission'),
params: Permissions.SetPermissionParametersSchema,
}));
})(Permissions || (Permissions = {}));
(function (Permissions) {
Permissions.SetPermissionParametersSchema = z.lazy(() => z.object({
descriptor: Permissions.PermissionDescriptorSchema,
state: Permissions.PermissionStateSchema,
origin: z.string(),
embeddedOrigin: z.string().optional(),
userContext: z.string().optional(),
}));
})(Permissions || (Permissions = {}));
//# sourceMappingURL=webdriver-bidi-permissions.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"webdriver-bidi-permissions.js","sourceRoot":"","sources":["../../../../src/protocol-parser/generated/webdriver-bidi-permissions.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;;;GAIG;AAEH,6DAA6D;AAC7D,0CAA0C;AAE1C,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAC5C,GAAG,EAAE,CAAC,WAAW,CAAC,mBAAmB,CACtC,CAAC;AACF,MAAM,KAAW,WAAW,CAM3B;AAND,WAAiB,WAAW;IACb,sCAA0B,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACpD,CAAC,CAAC,MAAM,CAAC;QACP,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;KACjB,CAAC,CACH,CAAC;AACJ,CAAC,EANgB,WAAW,KAAX,WAAW,QAM3B;AACD,WAAiB,WAAW;IACb,iCAAqB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAC/C,CAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CACxC,CAAC;AACJ,CAAC,EAJgB,WAAW,KAAX,WAAW,QAI3B;AACD,WAAiB,WAAW;IACb,+BAAmB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAC7C,CAAC,CAAC,MAAM,CAAC;QACP,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC;QAC9C,MAAM,EAAE,WAAW,CAAC,6BAA6B;KAClD,CAAC,CACH,CAAC;AACJ,CAAC,EAPgB,WAAW,KAAX,WAAW,QAO3B;AACD,WAAiB,WAAW;IACb,yCAA6B,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACvD,CAAC,CAAC,MAAM,CAAC;QACP,UAAU,EAAE,WAAW,CAAC,0BAA0B;QAClD,KAAK,EAAE,WAAW,CAAC,qBAAqB;QACxC,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE;QAClB,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACrC,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;KACnC,CAAC,CACH,CAAC;AACJ,CAAC,EAVgB,WAAW,KAAX,WAAW,QAU3B"}

View File

@@ -0,0 +1,427 @@
/**
* Copyright 2024 Google LLC.
* Copyright (c) Microsoft Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* THIS FILE IS AUTOGENERATED by cddlconv 0.1.7.
* Run `node tools/generate-bidi-types.mjs` to regenerate.
* @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
*/
import z from 'zod';
export declare const UserAgentClientHintsCommandSchema: z.ZodLazy<z.ZodLazy<z.ZodObject<{
method: z.ZodLiteral<"emulation.setClientHintsOverride">;
params: z.ZodObject<{
clientHints: z.ZodUnion<[z.ZodLazy<z.ZodObject<{
brands: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
brand: z.ZodString;
version: z.ZodString;
}, "strip", z.ZodTypeAny, {
brand: string;
version: string;
}, {
brand: string;
version: string;
}>>, "many">>;
fullVersionList: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
brand: z.ZodString;
version: z.ZodString;
}, "strip", z.ZodTypeAny, {
brand: string;
version: string;
}, {
brand: string;
version: string;
}>>, "many">>;
platform: z.ZodOptional<z.ZodString>;
platformVersion: z.ZodOptional<z.ZodString>;
architecture: z.ZodOptional<z.ZodString>;
model: z.ZodOptional<z.ZodString>;
mobile: z.ZodOptional<z.ZodBoolean>;
bitness: z.ZodOptional<z.ZodString>;
wow64: z.ZodOptional<z.ZodBoolean>;
formFactors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
mobile?: boolean | undefined;
brands?: {
brand: string;
version: string;
}[] | undefined;
fullVersionList?: {
brand: string;
version: string;
}[] | undefined;
platform?: string | undefined;
platformVersion?: string | undefined;
architecture?: string | undefined;
model?: string | undefined;
bitness?: string | undefined;
wow64?: boolean | undefined;
formFactors?: string[] | undefined;
}, {
mobile?: boolean | undefined;
brands?: {
brand: string;
version: string;
}[] | undefined;
fullVersionList?: {
brand: string;
version: string;
}[] | undefined;
platform?: string | undefined;
platformVersion?: string | undefined;
architecture?: string | undefined;
model?: string | undefined;
bitness?: string | undefined;
wow64?: boolean | undefined;
formFactors?: string[] | undefined;
}>>, z.ZodNull]>;
contexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
userContexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
clientHints: {
mobile?: boolean | undefined;
brands?: {
brand: string;
version: string;
}[] | undefined;
fullVersionList?: {
brand: string;
version: string;
}[] | undefined;
platform?: string | undefined;
platformVersion?: string | undefined;
architecture?: string | undefined;
model?: string | undefined;
bitness?: string | undefined;
wow64?: boolean | undefined;
formFactors?: string[] | undefined;
} | null;
userContexts?: string[] | undefined;
contexts?: string[] | undefined;
}, {
clientHints: {
mobile?: boolean | undefined;
brands?: {
brand: string;
version: string;
}[] | undefined;
fullVersionList?: {
brand: string;
version: string;
}[] | undefined;
platform?: string | undefined;
platformVersion?: string | undefined;
architecture?: string | undefined;
model?: string | undefined;
bitness?: string | undefined;
wow64?: boolean | undefined;
formFactors?: string[] | undefined;
} | null;
userContexts?: string[] | undefined;
contexts?: string[] | undefined;
}>;
}, "strip", z.ZodTypeAny, {
params: {
clientHints: {
mobile?: boolean | undefined;
brands?: {
brand: string;
version: string;
}[] | undefined;
fullVersionList?: {
brand: string;
version: string;
}[] | undefined;
platform?: string | undefined;
platformVersion?: string | undefined;
architecture?: string | undefined;
model?: string | undefined;
bitness?: string | undefined;
wow64?: boolean | undefined;
formFactors?: string[] | undefined;
} | null;
userContexts?: string[] | undefined;
contexts?: string[] | undefined;
};
method: "emulation.setClientHintsOverride";
}, {
params: {
clientHints: {
mobile?: boolean | undefined;
brands?: {
brand: string;
version: string;
}[] | undefined;
fullVersionList?: {
brand: string;
version: string;
}[] | undefined;
platform?: string | undefined;
platformVersion?: string | undefined;
architecture?: string | undefined;
model?: string | undefined;
bitness?: string | undefined;
wow64?: boolean | undefined;
formFactors?: string[] | undefined;
} | null;
userContexts?: string[] | undefined;
contexts?: string[] | undefined;
};
method: "emulation.setClientHintsOverride";
}>>>;
export declare namespace Emulation {
const SetClientHintsOverrideCommandSchema: z.ZodLazy<z.ZodObject<{
method: z.ZodLiteral<"emulation.setClientHintsOverride">;
params: z.ZodObject<{
clientHints: z.ZodUnion<[z.ZodLazy<z.ZodObject<{
brands: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
brand: z.ZodString;
version: z.ZodString;
}, "strip", z.ZodTypeAny, {
brand: string;
version: string;
}, {
brand: string;
version: string;
}>>, "many">>;
fullVersionList: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
brand: z.ZodString;
version: z.ZodString;
}, "strip", z.ZodTypeAny, {
brand: string;
version: string;
}, {
brand: string;
version: string;
}>>, "many">>;
platform: z.ZodOptional<z.ZodString>;
platformVersion: z.ZodOptional<z.ZodString>;
architecture: z.ZodOptional<z.ZodString>;
model: z.ZodOptional<z.ZodString>;
mobile: z.ZodOptional<z.ZodBoolean>;
bitness: z.ZodOptional<z.ZodString>;
wow64: z.ZodOptional<z.ZodBoolean>;
formFactors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
mobile?: boolean | undefined;
brands?: {
brand: string;
version: string;
}[] | undefined;
fullVersionList?: {
brand: string;
version: string;
}[] | undefined;
platform?: string | undefined;
platformVersion?: string | undefined;
architecture?: string | undefined;
model?: string | undefined;
bitness?: string | undefined;
wow64?: boolean | undefined;
formFactors?: string[] | undefined;
}, {
mobile?: boolean | undefined;
brands?: {
brand: string;
version: string;
}[] | undefined;
fullVersionList?: {
brand: string;
version: string;
}[] | undefined;
platform?: string | undefined;
platformVersion?: string | undefined;
architecture?: string | undefined;
model?: string | undefined;
bitness?: string | undefined;
wow64?: boolean | undefined;
formFactors?: string[] | undefined;
}>>, z.ZodNull]>;
contexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
userContexts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
clientHints: {
mobile?: boolean | undefined;
brands?: {
brand: string;
version: string;
}[] | undefined;
fullVersionList?: {
brand: string;
version: string;
}[] | undefined;
platform?: string | undefined;
platformVersion?: string | undefined;
architecture?: string | undefined;
model?: string | undefined;
bitness?: string | undefined;
wow64?: boolean | undefined;
formFactors?: string[] | undefined;
} | null;
userContexts?: string[] | undefined;
contexts?: string[] | undefined;
}, {
clientHints: {
mobile?: boolean | undefined;
brands?: {
brand: string;
version: string;
}[] | undefined;
fullVersionList?: {
brand: string;
version: string;
}[] | undefined;
platform?: string | undefined;
platformVersion?: string | undefined;
architecture?: string | undefined;
model?: string | undefined;
bitness?: string | undefined;
wow64?: boolean | undefined;
formFactors?: string[] | undefined;
} | null;
userContexts?: string[] | undefined;
contexts?: string[] | undefined;
}>;
}, "strip", z.ZodTypeAny, {
params: {
clientHints: {
mobile?: boolean | undefined;
brands?: {
brand: string;
version: string;
}[] | undefined;
fullVersionList?: {
brand: string;
version: string;
}[] | undefined;
platform?: string | undefined;
platformVersion?: string | undefined;
architecture?: string | undefined;
model?: string | undefined;
bitness?: string | undefined;
wow64?: boolean | undefined;
formFactors?: string[] | undefined;
} | null;
userContexts?: string[] | undefined;
contexts?: string[] | undefined;
};
method: "emulation.setClientHintsOverride";
}, {
params: {
clientHints: {
mobile?: boolean | undefined;
brands?: {
brand: string;
version: string;
}[] | undefined;
fullVersionList?: {
brand: string;
version: string;
}[] | undefined;
platform?: string | undefined;
platformVersion?: string | undefined;
architecture?: string | undefined;
model?: string | undefined;
bitness?: string | undefined;
wow64?: boolean | undefined;
formFactors?: string[] | undefined;
} | null;
userContexts?: string[] | undefined;
contexts?: string[] | undefined;
};
method: "emulation.setClientHintsOverride";
}>>;
}
export declare namespace Emulation {
const ClientHintsMetadataSchema: z.ZodLazy<z.ZodObject<{
brands: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
brand: z.ZodString;
version: z.ZodString;
}, "strip", z.ZodTypeAny, {
brand: string;
version: string;
}, {
brand: string;
version: string;
}>>, "many">>;
fullVersionList: z.ZodOptional<z.ZodArray<z.ZodLazy<z.ZodObject<{
brand: z.ZodString;
version: z.ZodString;
}, "strip", z.ZodTypeAny, {
brand: string;
version: string;
}, {
brand: string;
version: string;
}>>, "many">>;
platform: z.ZodOptional<z.ZodString>;
platformVersion: z.ZodOptional<z.ZodString>;
architecture: z.ZodOptional<z.ZodString>;
model: z.ZodOptional<z.ZodString>;
mobile: z.ZodOptional<z.ZodBoolean>;
bitness: z.ZodOptional<z.ZodString>;
wow64: z.ZodOptional<z.ZodBoolean>;
formFactors: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
}, "strip", z.ZodTypeAny, {
mobile?: boolean | undefined;
brands?: {
brand: string;
version: string;
}[] | undefined;
fullVersionList?: {
brand: string;
version: string;
}[] | undefined;
platform?: string | undefined;
platformVersion?: string | undefined;
architecture?: string | undefined;
model?: string | undefined;
bitness?: string | undefined;
wow64?: boolean | undefined;
formFactors?: string[] | undefined;
}, {
mobile?: boolean | undefined;
brands?: {
brand: string;
version: string;
}[] | undefined;
fullVersionList?: {
brand: string;
version: string;
}[] | undefined;
platform?: string | undefined;
platformVersion?: string | undefined;
architecture?: string | undefined;
model?: string | undefined;
bitness?: string | undefined;
wow64?: boolean | undefined;
formFactors?: string[] | undefined;
}>>;
}
export declare namespace Emulation {
const BrandVersionSchema: z.ZodLazy<z.ZodObject<{
brand: z.ZodString;
version: z.ZodString;
}, "strip", z.ZodTypeAny, {
brand: string;
version: string;
}, {
brand: string;
version: string;
}>>;
}
export declare namespace Emulation {
const SetClientHintsOverrideResultSchema: z.ZodLazy<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>>;
}

View File

@@ -0,0 +1,60 @@
/**
* Copyright 2024 Google LLC.
* Copyright (c) Microsoft Corporation.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/**
* THIS FILE IS AUTOGENERATED by cddlconv 0.1.7.
* Run `node tools/generate-bidi-types.mjs` to regenerate.
* @see https://github.com/w3c/webdriver-bidi/blob/master/index.bs
*/
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-nocheck Some types may be circular.
import z from 'zod';
export const UserAgentClientHintsCommandSchema = z.lazy(() => Emulation.SetClientHintsOverrideCommandSchema);
export var Emulation;
(function (Emulation) {
Emulation.SetClientHintsOverrideCommandSchema = z.lazy(() => z.object({
method: z.literal('emulation.setClientHintsOverride'),
params: z.object({
clientHints: z.union([Emulation.ClientHintsMetadataSchema, z.null()]),
contexts: z.array(z.string()).min(1).optional(),
userContexts: z.array(z.string()).min(1).optional(),
}),
}));
})(Emulation || (Emulation = {}));
(function (Emulation) {
Emulation.ClientHintsMetadataSchema = z.lazy(() => z.object({
brands: z.array(Emulation.BrandVersionSchema).optional(),
fullVersionList: z.array(Emulation.BrandVersionSchema).optional(),
platform: z.string().optional(),
platformVersion: z.string().optional(),
architecture: z.string().optional(),
model: z.string().optional(),
mobile: z.boolean().optional(),
bitness: z.string().optional(),
wow64: z.boolean().optional(),
formFactors: z.array(z.string()).optional(),
}));
})(Emulation || (Emulation = {}));
(function (Emulation) {
Emulation.BrandVersionSchema = z.lazy(() => z.object({
brand: z.string(),
version: z.string(),
}));
})(Emulation || (Emulation = {}));
(function (Emulation) {
Emulation.SetClientHintsOverrideResultSchema = z.lazy(() => z.object({}));
})(Emulation || (Emulation = {}));
//# sourceMappingURL=webdriver-bidi-ua-client-hints.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"webdriver-bidi-ua-client-hints.js","sourceRoot":"","sources":["../../../../src/protocol-parser/generated/webdriver-bidi-ua-client-hints.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;;;GAIG;AAEH,6DAA6D;AAC7D,0CAA0C;AAE1C,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,IAAI,CACrD,GAAG,EAAE,CAAC,SAAS,CAAC,mCAAmC,CACpD,CAAC;AACF,MAAM,KAAW,SAAS,CAWzB;AAXD,WAAiB,SAAS;IACX,6CAAmC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAC7D,CAAC,CAAC,MAAM,CAAC;QACP,MAAM,EAAE,CAAC,CAAC,OAAO,CAAC,kCAAkC,CAAC;QACrD,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;YACf,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,SAAS,CAAC,yBAAyB,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC;YACrE,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;YAC/C,YAAY,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;SACpD,CAAC;KACH,CAAC,CACH,CAAC;AACJ,CAAC,EAXgB,SAAS,KAAT,SAAS,QAWzB;AACD,WAAiB,SAAS;IACX,mCAAyB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CACnD,CAAC,CAAC,MAAM,CAAC;QACP,MAAM,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC,QAAQ,EAAE;QACxD,eAAe,EAAE,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC,QAAQ,EAAE;QACjE,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC/B,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACtC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACnC,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC5B,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAC9B,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC9B,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAC7B,WAAW,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;KAC5C,CAAC,CACH,CAAC;AACJ,CAAC,EAfgB,SAAS,KAAT,SAAS,QAezB;AACD,WAAiB,SAAS;IACX,4BAAkB,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAC5C,CAAC,CAAC,MAAM,CAAC;QACP,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;QACjB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;KACpB,CAAC,CACH,CAAC;AACJ,CAAC,EAPgB,SAAS,KAAT,SAAS,QAOzB;AACD,WAAiB,SAAS;IACX,4CAAkC,GAAG,CAAC,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,CAAC;AAC/E,CAAC,EAFgB,SAAS,KAAT,SAAS,QAEzB"}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long