@dynamic-labs-wallet/core 0.0.52 → 0.0.54

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/index.cjs.js CHANGED
@@ -1,13 +1,34 @@
1
1
  'use strict';
2
2
 
3
3
  var axios = require('axios');
4
+ var crypto = require('crypto');
4
5
 
5
6
  const DYNAMIC_AUTH_PROD_BASE_API_URL = 'https://app.dynamicauth.com';
6
7
  const DYNAMIC_AUTH_PREPROD_BASE_API_URL = 'https://app.dynamic-preprod.xyz';
8
+ const DYNAMIC_AUTH_DEV_BASE_API_URL = 'http://localhost:4200';
9
+ var ENVIRONMENT_ENUM = /*#__PURE__*/ function(ENVIRONMENT_ENUM) {
10
+ ENVIRONMENT_ENUM["development"] = "development";
11
+ ENVIRONMENT_ENUM["preprod"] = "preprod";
12
+ ENVIRONMENT_ENUM["production"] = "production";
13
+ return ENVIRONMENT_ENUM;
14
+ }({});
15
+ const DynamicRequestIdHeader = 'x-dyn-request-id';
7
16
  const DYNAMIC_CLIENT_RELAY_PROD_BASE_API_URL = 'https://app-dynamicauth-com-app-6e12fc400995.relay.evervault.app';
8
17
  const DYNAMIC_CLIENT_RELAY_PREPROD_BASE_API_URL = 'https://app-dynamic-preprod-xyz-app-32d15525a875.relay.evervault.app';
18
+ const DYNAMIC_CLIENT_RELAY_DEV_BASE_API_URL = 'http://localhost:4200';
19
+ const DYNAMIC_AUTH_BASE_API_URL_MAP = {
20
+ ["production"]: DYNAMIC_AUTH_PROD_BASE_API_URL,
21
+ ["preprod"]: DYNAMIC_AUTH_PREPROD_BASE_API_URL,
22
+ ["development"]: DYNAMIC_AUTH_DEV_BASE_API_URL
23
+ };
24
+ const DYNAMIC_CLIENT_RELAY_MAP = {
25
+ ["production"]: DYNAMIC_CLIENT_RELAY_PROD_BASE_API_URL,
26
+ ["preprod"]: DYNAMIC_CLIENT_RELAY_PREPROD_BASE_API_URL,
27
+ ["development"]: DYNAMIC_CLIENT_RELAY_DEV_BASE_API_URL
28
+ };
9
29
  const MPC_RELAY_PROD_API_URL = 'relay.dynamicauth.com';
10
30
  const MPC_RELAY_PREPROD_API_URL = 'relay.dynamic-preprod.xyz';
31
+ const MPC_RELAY_DEV_API_URL = 'http://localhost:4200';
11
32
  const SOLANA_RPC_URL = 'https://api.devnet.solana.com';
12
33
  const chain = {
13
34
  EVM: 'EVM',
@@ -36,8 +57,11 @@ var BackupLocation = /*#__PURE__*/ function(BackupLocation) {
36
57
  BackupLocation["EXTERNAL"] = "external";
37
58
  return BackupLocation;
38
59
  }({});
39
- // TODO: replace with apiClient proxy and move this to apiClient when ready
40
- const IFRAME_DOMAIN = 'http://localhost:8090';
60
+ const IFRAME_DOMAIN_MAP = {
61
+ development: 'http://localhost:3333',
62
+ preprod: 'https://waas.dynamic-preprod.xyz',
63
+ production: 'https://waas.dynamicauth.com'
64
+ };
41
65
  const ChainEnumToVerifiedCredentialName = {
42
66
  BTC: 'bip122',
43
67
  EVM: 'eip155',
@@ -381,14 +405,32 @@ class BaseClient {
381
405
  constructor({ environmentId, baseApiUrl, authToken, baseClientRelayApiUrl }){
382
406
  const headers = {};
383
407
  headers['Authorization'] = authToken ? `Bearer ${authToken}` : undefined;
408
+ headers[DynamicRequestIdHeader] = crypto.randomUUID();
384
409
  this.environmentId = environmentId;
385
- const isProd = typeof baseApiUrl === 'undefined' || DYNAMIC_AUTH_PROD_BASE_API_URL === baseApiUrl;
386
- this.baseApiUrl = isProd ? DYNAMIC_AUTH_PROD_BASE_API_URL : baseApiUrl || DYNAMIC_AUTH_PREPROD_BASE_API_URL;
410
+ let environment;
411
+ switch(baseApiUrl){
412
+ case undefined:
413
+ environment = ENVIRONMENT_ENUM.production;
414
+ break;
415
+ case DYNAMIC_AUTH_PROD_BASE_API_URL:
416
+ environment = ENVIRONMENT_ENUM.production;
417
+ break;
418
+ case DYNAMIC_AUTH_PREPROD_BASE_API_URL:
419
+ environment = ENVIRONMENT_ENUM.preprod;
420
+ break;
421
+ case DYNAMIC_AUTH_DEV_BASE_API_URL:
422
+ environment = ENVIRONMENT_ENUM.development;
423
+ break;
424
+ default:
425
+ environment = ENVIRONMENT_ENUM.development;
426
+ break;
427
+ }
428
+ this.baseApiUrl = baseApiUrl != null ? baseApiUrl : DYNAMIC_AUTH_BASE_API_URL_MAP[environment];
387
429
  this.apiClient = axios.create({
388
430
  baseURL: this.baseApiUrl,
389
431
  headers
390
432
  });
391
- this.clientRelayBaseApiUrl = isProd ? DYNAMIC_CLIENT_RELAY_PROD_BASE_API_URL : baseClientRelayApiUrl || DYNAMIC_CLIENT_RELAY_PREPROD_BASE_API_URL;
433
+ this.clientRelayBaseApiUrl = baseClientRelayApiUrl != null ? baseClientRelayApiUrl : DYNAMIC_CLIENT_RELAY_MAP[environment];
392
434
  this.clientRelayApiClient = axios.create({
393
435
  baseURL: this.clientRelayBaseApiUrl,
394
436
  headers
@@ -688,14 +730,21 @@ exports.BITCOIN_DERIVATION_PATHS = BITCOIN_DERIVATION_PATHS;
688
730
  exports.BackupLocation = BackupLocation;
689
731
  exports.ChainEnumToVerifiedCredentialName = ChainEnumToVerifiedCredentialName;
690
732
  exports.CreateRoomPartiesOptions = CreateRoomPartiesOptions;
733
+ exports.DYNAMIC_AUTH_BASE_API_URL_MAP = DYNAMIC_AUTH_BASE_API_URL_MAP;
734
+ exports.DYNAMIC_AUTH_DEV_BASE_API_URL = DYNAMIC_AUTH_DEV_BASE_API_URL;
691
735
  exports.DYNAMIC_AUTH_PREPROD_BASE_API_URL = DYNAMIC_AUTH_PREPROD_BASE_API_URL;
692
736
  exports.DYNAMIC_AUTH_PROD_BASE_API_URL = DYNAMIC_AUTH_PROD_BASE_API_URL;
737
+ exports.DYNAMIC_CLIENT_RELAY_DEV_BASE_API_URL = DYNAMIC_CLIENT_RELAY_DEV_BASE_API_URL;
738
+ exports.DYNAMIC_CLIENT_RELAY_MAP = DYNAMIC_CLIENT_RELAY_MAP;
693
739
  exports.DYNAMIC_CLIENT_RELAY_PREPROD_BASE_API_URL = DYNAMIC_CLIENT_RELAY_PREPROD_BASE_API_URL;
694
740
  exports.DYNAMIC_CLIENT_RELAY_PROD_BASE_API_URL = DYNAMIC_CLIENT_RELAY_PROD_BASE_API_URL;
695
741
  exports.DynamicApiClient = DynamicApiClient;
696
- exports.IFRAME_DOMAIN = IFRAME_DOMAIN;
742
+ exports.DynamicRequestIdHeader = DynamicRequestIdHeader;
743
+ exports.ENVIRONMENT_ENUM = ENVIRONMENT_ENUM;
744
+ exports.IFRAME_DOMAIN_MAP = IFRAME_DOMAIN_MAP;
697
745
  exports.MPC_CHAIN_CONFIG = MPC_CHAIN_CONFIG;
698
746
  exports.MPC_CONFIG = MPC_CONFIG;
747
+ exports.MPC_RELAY_DEV_API_URL = MPC_RELAY_DEV_API_URL;
699
748
  exports.MPC_RELAY_PREPROD_API_URL = MPC_RELAY_PREPROD_API_URL;
700
749
  exports.MPC_RELAY_PROD_API_URL = MPC_RELAY_PROD_API_URL;
701
750
  exports.SOLANA_RPC_URL = SOLANA_RPC_URL;
package/index.esm.js CHANGED
@@ -1,11 +1,32 @@
1
1
  import axios from 'axios';
2
+ import { randomUUID } from 'crypto';
2
3
 
3
4
  const DYNAMIC_AUTH_PROD_BASE_API_URL = 'https://app.dynamicauth.com';
4
5
  const DYNAMIC_AUTH_PREPROD_BASE_API_URL = 'https://app.dynamic-preprod.xyz';
6
+ const DYNAMIC_AUTH_DEV_BASE_API_URL = 'http://localhost:4200';
7
+ var ENVIRONMENT_ENUM = /*#__PURE__*/ function(ENVIRONMENT_ENUM) {
8
+ ENVIRONMENT_ENUM["development"] = "development";
9
+ ENVIRONMENT_ENUM["preprod"] = "preprod";
10
+ ENVIRONMENT_ENUM["production"] = "production";
11
+ return ENVIRONMENT_ENUM;
12
+ }({});
13
+ const DynamicRequestIdHeader = 'x-dyn-request-id';
5
14
  const DYNAMIC_CLIENT_RELAY_PROD_BASE_API_URL = 'https://app-dynamicauth-com-app-6e12fc400995.relay.evervault.app';
6
15
  const DYNAMIC_CLIENT_RELAY_PREPROD_BASE_API_URL = 'https://app-dynamic-preprod-xyz-app-32d15525a875.relay.evervault.app';
16
+ const DYNAMIC_CLIENT_RELAY_DEV_BASE_API_URL = 'http://localhost:4200';
17
+ const DYNAMIC_AUTH_BASE_API_URL_MAP = {
18
+ ["production"]: DYNAMIC_AUTH_PROD_BASE_API_URL,
19
+ ["preprod"]: DYNAMIC_AUTH_PREPROD_BASE_API_URL,
20
+ ["development"]: DYNAMIC_AUTH_DEV_BASE_API_URL
21
+ };
22
+ const DYNAMIC_CLIENT_RELAY_MAP = {
23
+ ["production"]: DYNAMIC_CLIENT_RELAY_PROD_BASE_API_URL,
24
+ ["preprod"]: DYNAMIC_CLIENT_RELAY_PREPROD_BASE_API_URL,
25
+ ["development"]: DYNAMIC_CLIENT_RELAY_DEV_BASE_API_URL
26
+ };
7
27
  const MPC_RELAY_PROD_API_URL = 'relay.dynamicauth.com';
8
28
  const MPC_RELAY_PREPROD_API_URL = 'relay.dynamic-preprod.xyz';
29
+ const MPC_RELAY_DEV_API_URL = 'http://localhost:4200';
9
30
  const SOLANA_RPC_URL = 'https://api.devnet.solana.com';
10
31
  const chain = {
11
32
  EVM: 'EVM',
@@ -34,8 +55,11 @@ var BackupLocation = /*#__PURE__*/ function(BackupLocation) {
34
55
  BackupLocation["EXTERNAL"] = "external";
35
56
  return BackupLocation;
36
57
  }({});
37
- // TODO: replace with apiClient proxy and move this to apiClient when ready
38
- const IFRAME_DOMAIN = 'http://localhost:8090';
58
+ const IFRAME_DOMAIN_MAP = {
59
+ development: 'http://localhost:3333',
60
+ preprod: 'https://waas.dynamic-preprod.xyz',
61
+ production: 'https://waas.dynamicauth.com'
62
+ };
39
63
  const ChainEnumToVerifiedCredentialName = {
40
64
  BTC: 'bip122',
41
65
  EVM: 'eip155',
@@ -379,14 +403,32 @@ class BaseClient {
379
403
  constructor({ environmentId, baseApiUrl, authToken, baseClientRelayApiUrl }){
380
404
  const headers = {};
381
405
  headers['Authorization'] = authToken ? `Bearer ${authToken}` : undefined;
406
+ headers[DynamicRequestIdHeader] = randomUUID();
382
407
  this.environmentId = environmentId;
383
- const isProd = typeof baseApiUrl === 'undefined' || DYNAMIC_AUTH_PROD_BASE_API_URL === baseApiUrl;
384
- this.baseApiUrl = isProd ? DYNAMIC_AUTH_PROD_BASE_API_URL : baseApiUrl || DYNAMIC_AUTH_PREPROD_BASE_API_URL;
408
+ let environment;
409
+ switch(baseApiUrl){
410
+ case undefined:
411
+ environment = ENVIRONMENT_ENUM.production;
412
+ break;
413
+ case DYNAMIC_AUTH_PROD_BASE_API_URL:
414
+ environment = ENVIRONMENT_ENUM.production;
415
+ break;
416
+ case DYNAMIC_AUTH_PREPROD_BASE_API_URL:
417
+ environment = ENVIRONMENT_ENUM.preprod;
418
+ break;
419
+ case DYNAMIC_AUTH_DEV_BASE_API_URL:
420
+ environment = ENVIRONMENT_ENUM.development;
421
+ break;
422
+ default:
423
+ environment = ENVIRONMENT_ENUM.development;
424
+ break;
425
+ }
426
+ this.baseApiUrl = baseApiUrl != null ? baseApiUrl : DYNAMIC_AUTH_BASE_API_URL_MAP[environment];
385
427
  this.apiClient = axios.create({
386
428
  baseURL: this.baseApiUrl,
387
429
  headers
388
430
  });
389
- this.clientRelayBaseApiUrl = isProd ? DYNAMIC_CLIENT_RELAY_PROD_BASE_API_URL : baseClientRelayApiUrl || DYNAMIC_CLIENT_RELAY_PREPROD_BASE_API_URL;
431
+ this.clientRelayBaseApiUrl = baseClientRelayApiUrl != null ? baseClientRelayApiUrl : DYNAMIC_CLIENT_RELAY_MAP[environment];
390
432
  this.clientRelayApiClient = axios.create({
391
433
  baseURL: this.clientRelayBaseApiUrl,
392
434
  headers
@@ -682,4 +724,4 @@ class DynamicApiClient extends BaseClient {
682
724
  }
683
725
  }
684
726
 
685
- export { BITCOIN_DERIVATION_PATHS, BackupLocation, ChainEnumToVerifiedCredentialName, CreateRoomPartiesOptions, DYNAMIC_AUTH_PREPROD_BASE_API_URL, DYNAMIC_AUTH_PROD_BASE_API_URL, DYNAMIC_CLIENT_RELAY_PREPROD_BASE_API_URL, DYNAMIC_CLIENT_RELAY_PROD_BASE_API_URL, DynamicApiClient, IFRAME_DOMAIN, MPC_CHAIN_CONFIG, MPC_CONFIG, MPC_RELAY_PREPROD_API_URL, MPC_RELAY_PROD_API_URL, SOLANA_RPC_URL, SigningAlgorithm, SuccessEventType, ThresholdSignatureScheme, VerifiedCredentialNameToChainEnum, WalletOperation, chain, getClientThreshold, getDynamicServerThreshold, getMPCChainConfig, getReshareConfig, getServerWalletReshareConfig, getTSSConfig };
727
+ export { BITCOIN_DERIVATION_PATHS, BackupLocation, ChainEnumToVerifiedCredentialName, CreateRoomPartiesOptions, DYNAMIC_AUTH_BASE_API_URL_MAP, DYNAMIC_AUTH_DEV_BASE_API_URL, DYNAMIC_AUTH_PREPROD_BASE_API_URL, DYNAMIC_AUTH_PROD_BASE_API_URL, DYNAMIC_CLIENT_RELAY_DEV_BASE_API_URL, DYNAMIC_CLIENT_RELAY_MAP, DYNAMIC_CLIENT_RELAY_PREPROD_BASE_API_URL, DYNAMIC_CLIENT_RELAY_PROD_BASE_API_URL, DynamicApiClient, DynamicRequestIdHeader, ENVIRONMENT_ENUM, IFRAME_DOMAIN_MAP, MPC_CHAIN_CONFIG, MPC_CONFIG, MPC_RELAY_DEV_API_URL, MPC_RELAY_PREPROD_API_URL, MPC_RELAY_PROD_API_URL, SOLANA_RPC_URL, SigningAlgorithm, SuccessEventType, ThresholdSignatureScheme, VerifiedCredentialNameToChainEnum, WalletOperation, chain, getClientThreshold, getDynamicServerThreshold, getMPCChainConfig, getReshareConfig, getServerWalletReshareConfig, getTSSConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/core",
3
- "version": "0.0.52",
3
+ "version": "0.0.54",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
6
  "axios": "1.7.9"
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/api/client.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAQlD,qBAAa,UAAU;IACd,SAAS,EAAE,aAAa,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,EAAE,aAAa,CAAC;gBAE/B,EACV,aAAa,EACb,UAAU,EACV,SAAS,EACT,qBAAqB,GACtB,EAAE;QACD,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,qBAAqB,CAAC,EAAE,MAAM,CAAC;KAChC;CA0BF"}
1
+ {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/api/client.ts"],"names":[],"mappings":"AAAA,OAAc,EAAE,KAAK,aAAa,EAAE,MAAM,OAAO,CAAC;AAYlD,qBAAa,UAAU;IACd,SAAS,EAAE,aAAa,CAAC;IACzB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,oBAAoB,EAAE,aAAa,CAAC;gBAE/B,EACV,aAAa,EACb,UAAU,EACV,SAAS,EACT,qBAAqB,GACtB,EAAE;QACD,aAAa,EAAE,MAAM,CAAC;QACtB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,qBAAqB,CAAC,EAAE,MAAM,CAAC;KAChC;CAwCF"}
@@ -1,9 +1,28 @@
1
1
  export declare const DYNAMIC_AUTH_PROD_BASE_API_URL = "https://app.dynamicauth.com";
2
2
  export declare const DYNAMIC_AUTH_PREPROD_BASE_API_URL = "https://app.dynamic-preprod.xyz";
3
+ export declare const DYNAMIC_AUTH_DEV_BASE_API_URL = "http://localhost:4200";
4
+ export declare enum ENVIRONMENT_ENUM {
5
+ development = "development",
6
+ preprod = "preprod",
7
+ production = "production"
8
+ }
9
+ export declare const DynamicRequestIdHeader = "x-dyn-request-id";
3
10
  export declare const DYNAMIC_CLIENT_RELAY_PROD_BASE_API_URL = "https://app-dynamicauth-com-app-6e12fc400995.relay.evervault.app";
4
11
  export declare const DYNAMIC_CLIENT_RELAY_PREPROD_BASE_API_URL = "https://app-dynamic-preprod-xyz-app-32d15525a875.relay.evervault.app";
12
+ export declare const DYNAMIC_CLIENT_RELAY_DEV_BASE_API_URL = "http://localhost:4200";
13
+ export declare const DYNAMIC_AUTH_BASE_API_URL_MAP: {
14
+ readonly production: "https://app.dynamicauth.com";
15
+ readonly preprod: "https://app.dynamic-preprod.xyz";
16
+ readonly development: "http://localhost:4200";
17
+ };
18
+ export declare const DYNAMIC_CLIENT_RELAY_MAP: {
19
+ readonly production: "https://app-dynamicauth-com-app-6e12fc400995.relay.evervault.app";
20
+ readonly preprod: "https://app-dynamic-preprod-xyz-app-32d15525a875.relay.evervault.app";
21
+ readonly development: "http://localhost:4200";
22
+ };
5
23
  export declare const MPC_RELAY_PROD_API_URL = "relay.dynamicauth.com";
6
24
  export declare const MPC_RELAY_PREPROD_API_URL = "relay.dynamic-preprod.xyz";
25
+ export declare const MPC_RELAY_DEV_API_URL = "http://localhost:4200";
7
26
  export declare const SOLANA_RPC_URL = "https://api.devnet.solana.com";
8
27
  export declare const chain: {
9
28
  readonly EVM: "EVM";
@@ -31,7 +50,11 @@ export declare enum BackupLocation {
31
50
  USER = "user",
32
51
  EXTERNAL = "external"
33
52
  }
34
- export declare const IFRAME_DOMAIN = "http://localhost:8090";
53
+ export declare const IFRAME_DOMAIN_MAP: {
54
+ readonly development: "http://localhost:3333";
55
+ readonly preprod: "https://waas.dynamic-preprod.xyz";
56
+ readonly production: "https://waas.dynamicauth.com";
57
+ };
35
58
  export declare const ChainEnumToVerifiedCredentialName: {
36
59
  [key: string]: string;
37
60
  };
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../packages/src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B,gCAAgC,CAAC;AAC5E,eAAO,MAAM,iCAAiC,oCACX,CAAC;AAEpC,eAAO,MAAM,sCAAsC,qEACiB,CAAC;AACrE,eAAO,MAAM,yCAAyC,yEACkB,CAAC;AAEzE,eAAO,MAAM,sBAAsB,0BAA0B,CAAC;AAC9D,eAAO,MAAM,yBAAyB,8BAA8B,CAAC;AAErE,eAAO,MAAM,cAAc,kCAAkC,CAAC;AAE9D,eAAO,MAAM,KAAK;;;;;;;CAOR,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,OAAO,KAAK,CAAC,CAAC;AAE3D,oBAAY,eAAe;IACzB,eAAe,oBAAoB;IACnC,iBAAiB,sBAAsB;IACvC,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IACrC,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,kBAAkB,uBAAuB;IACzC,YAAY,iBAAiB;CAC9B;AAED,oBAAY,cAAc;IACxB,OAAO,YAAY;IACnB,YAAY,gBAAgB;IAC5B,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,QAAQ,aAAa;CACtB;AAGD,eAAO,MAAM,aAAa,0BAA0B,CAAC;AAErD,eAAO,MAAM,iCAAiC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAKtE,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAItE,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../packages/src/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,8BAA8B,gCAAgC,CAAC;AAC5E,eAAO,MAAM,iCAAiC,oCACX,CAAC;AACpC,eAAO,MAAM,6BAA6B,0BAA0B,CAAC;AAErE,oBAAY,gBAAgB;IAC1B,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,UAAU,eAAe;CAC1B;AAED,eAAO,MAAM,sBAAsB,qBAAqB,CAAC;AAEzD,eAAO,MAAM,sCAAsC,qEACiB,CAAC;AACrE,eAAO,MAAM,yCAAyC,yEACkB,CAAC;AACzE,eAAO,MAAM,qCAAqC,0BAA0B,CAAC;AAE7E,eAAO,MAAM,6BAA6B;;;;CAIhC,CAAC;AAEX,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AAEX,eAAO,MAAM,sBAAsB,0BAA0B,CAAC;AAC9D,eAAO,MAAM,yBAAyB,8BAA8B,CAAC;AACrE,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAE7D,eAAO,MAAM,cAAc,kCAAkC,CAAC;AAE9D,eAAO,MAAM,KAAK;;;;;;;CAOR,CAAC;AAEX,MAAM,MAAM,SAAS,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,OAAO,KAAK,CAAC,CAAC;AAE3D,oBAAY,eAAe;IACzB,eAAe,oBAAoB;IACnC,iBAAiB,sBAAsB;IACvC,YAAY,iBAAiB;IAC7B,gBAAgB,qBAAqB;IACrC,OAAO,YAAY;IACnB,OAAO,YAAY;IACnB,kBAAkB,uBAAuB;IACzC,YAAY,iBAAiB;CAC9B;AAED,oBAAY,cAAc;IACxB,OAAO,YAAY;IACnB,YAAY,gBAAgB;IAC5B,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,QAAQ,aAAa;CACtB;AAED,eAAO,MAAM,iBAAiB;;;;CAIpB,CAAC;AAEX,eAAO,MAAM,iCAAiC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAKtE,CAAC;AAEF,eAAO,MAAM,iCAAiC,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;CAItE,CAAC"}