@clipboard-health/util-ts 2.0.1 → 2.1.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 +12 -0
- package/package.json +2 -2
- package/src/index.d.ts +1 -0
- package/src/index.d.ts.map +1 -1
- package/src/index.js +1 -0
- package/src/index.js.map +1 -1
- package/src/lib/cbh-response.js +2 -3
- package/src/lib/cbh-response.js.map +1 -1
- package/src/lib/defined-utils.js +2 -3
- package/src/lib/defined-utils.js.map +1 -1
- package/src/lib/delay.d.ts +2 -0
- package/src/lib/delay.d.ts.map +1 -0
- package/src/lib/delay.js +9 -0
- package/src/lib/delay.js.map +1 -0
- package/src/lib/force-cast.js +1 -2
- package/src/lib/force-cast.js.map +1 -1
- package/src/lib/head.js +1 -2
- package/src/lib/head.js.map +1 -1
- package/src/lib/identity.js +1 -2
- package/src/lib/identity.js.map +1 -1
- package/src/lib/is-string.js +1 -2
- package/src/lib/is-string.js.map +1 -1
- package/src/lib/non-empty-array.js +1 -2
- package/src/lib/non-empty-array.js.map +1 -1
- package/src/lib/null-to-undefined.js +1 -2
- package/src/lib/null-to-undefined.js.map +1 -1
- package/src/lib/stringify.js +1 -2
- package/src/lib/stringify.js.map +1 -1
- package/src/lib/to-error.js +3 -4
- package/src/lib/to-error.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
## [2.1.0](https://github.com/ClipboardHealth/cbh-core/compare/util-ts-2.0.1...util-ts-2.1.0) (2024-07-30)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add delay ([0603228](https://github.com/ClipboardHealth/cbh-core/commit/0603228e6e1dce079d251d94744cce728db29135))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* add delay back to background-jobs-mongo ([07a1709](https://github.com/ClipboardHealth/cbh-core/commit/07a1709c76018b7035f38edaa8cf6b43ef1265af))
|
|
16
|
+
|
|
5
17
|
## [2.0.1](https://github.com/ClipboardHealth/cbh-core/compare/util-ts-2.0.0...util-ts-2.0.1) (2024-07-18)
|
|
6
18
|
|
|
7
19
|
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from "./lib/attributes";
|
|
|
2
2
|
export * from "./lib/cbh-error";
|
|
3
3
|
export * from "./lib/cbh-response";
|
|
4
4
|
export * from "./lib/defined-utils";
|
|
5
|
+
export * from "./lib/delay";
|
|
5
6
|
export * from "./lib/force-cast";
|
|
6
7
|
export * from "./lib/head";
|
|
7
8
|
export * from "./lib/identity";
|
package/src/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/util-ts/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../packages/util-ts/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC"}
|
package/src/index.js
CHANGED
|
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./lib/attributes"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./lib/cbh-error"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./lib/cbh-response"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./lib/defined-utils"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./lib/delay"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./lib/force-cast"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./lib/head"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./lib/identity"), exports);
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/util-ts/src/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,0DAAgC;AAChC,6DAAmC;AACnC,8DAAoC;AACpC,2DAAiC;AACjC,qDAA2B;AAC3B,yDAA+B;AAC/B,0DAAgC;AAChC,gEAAsC;AACtC,kEAAwC;AACxC,0DAAgC;AAChC,yDAA+B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/util-ts/src/index.ts"],"names":[],"mappings":";;;AAAA,2DAAiC;AACjC,0DAAgC;AAChC,6DAAmC;AACnC,8DAAoC;AACpC,sDAA4B;AAC5B,2DAAiC;AACjC,qDAA2B;AAC3B,yDAA+B;AAC/B,0DAAgC;AAChC,gEAAsC;AACtC,kEAAwC;AACxC,0DAAgC;AAChC,yDAA+B"}
|
package/src/lib/cbh-response.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.toErrorCbhResponse = toErrorCbhResponse;
|
|
4
|
+
exports.toSuccessCbhResponse = toSuccessCbhResponse;
|
|
4
5
|
const cbh_error_1 = require("./cbh-error");
|
|
5
6
|
function toErrorCbhResponse(issues) {
|
|
6
7
|
return { success: false, error: new cbh_error_1.CbhError(issues) };
|
|
7
8
|
}
|
|
8
|
-
exports.toErrorCbhResponse = toErrorCbhResponse;
|
|
9
9
|
function toSuccessCbhResponse(data) {
|
|
10
10
|
return { success: true, data };
|
|
11
11
|
}
|
|
12
|
-
exports.toSuccessCbhResponse = toSuccessCbhResponse;
|
|
13
12
|
//# sourceMappingURL=cbh-response.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cbh-response.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/cbh-response.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"cbh-response.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/cbh-response.ts"],"names":[],"mappings":";;AAKA,gDAKC;AAED,oDAEC;AAdD,2CAAsD;AAKtD,SAAgB,kBAAkB,CAAC,MAAoC;IAIrE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,oBAAQ,CAAC,MAAM,CAAC,EAAE,CAAC;AACzD,CAAC;AAED,SAAgB,oBAAoB,CAAI,IAAO;IAC7C,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC;AACjC,CAAC"}
|
package/src/lib/defined-utils.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.isNullOrUndefined = isNullOrUndefined;
|
|
4
|
+
exports.isDefined = isDefined;
|
|
4
5
|
/**
|
|
5
6
|
* Checks whether a value is null or undefined. If it is not defined, the return type ensures type safety.
|
|
6
7
|
* @param value any value or null or undefined
|
|
@@ -9,7 +10,6 @@ exports.isDefined = exports.isNullOrUndefined = void 0;
|
|
|
9
10
|
function isNullOrUndefined(value) {
|
|
10
11
|
return value === null || value === undefined;
|
|
11
12
|
}
|
|
12
|
-
exports.isNullOrUndefined = isNullOrUndefined;
|
|
13
13
|
/**
|
|
14
14
|
* Checks whether a value is defined. If it is defined, the return type ensures type safety.
|
|
15
15
|
* @param value any value or null or undefined
|
|
@@ -18,5 +18,4 @@ exports.isNullOrUndefined = isNullOrUndefined;
|
|
|
18
18
|
function isDefined(value) {
|
|
19
19
|
return !isNullOrUndefined(value);
|
|
20
20
|
}
|
|
21
|
-
exports.isDefined = isDefined;
|
|
22
21
|
//# sourceMappingURL=defined-utils.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"defined-utils.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/defined-utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"defined-utils.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/defined-utils.ts"],"names":[],"mappings":";;AAYA,8CAEC;AAOD,8BAEC;AAhBD;;;;GAIG;AACH,SAAgB,iBAAiB,CAAI,KAA0B;IAC7D,OAAO,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS,CAAC;AAC/C,CAAC;AAED;;;;GAIG;AACH,SAAgB,SAAS,CAAI,KAA0B;IACrD,OAAO,CAAC,iBAAiB,CAAC,KAAK,CAAC,CAAC;AACnC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delay.d.ts","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/delay.ts"],"names":[],"mappings":"AAAA,wBAAsB,KAAK,CAAC,YAAY,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAI/D"}
|
package/src/lib/delay.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"delay.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/delay.ts"],"names":[],"mappings":";;AAAA,sBAIC;AAJM,KAAK,UAAU,KAAK,CAAC,YAAoB;IAC9C,MAAM,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE;QAC5B,UAAU,CAAC,OAAO,EAAE,YAAY,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;AACL,CAAC"}
|
package/src/lib/force-cast.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.forceCast =
|
|
3
|
+
exports.forceCast = forceCast;
|
|
4
4
|
/** Force cast to the provided type. */
|
|
5
5
|
function forceCast(value) {
|
|
6
6
|
return value;
|
|
7
7
|
}
|
|
8
|
-
exports.forceCast = forceCast;
|
|
9
8
|
//# sourceMappingURL=force-cast.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"force-cast.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/force-cast.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"force-cast.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/force-cast.ts"],"names":[],"mappings":";;AACA,8BAEC;AAHD,uCAAuC;AACvC,SAAgB,SAAS,CAAI,KAAc;IACzC,OAAO,KAAU,CAAC;AACpB,CAAC"}
|
package/src/lib/head.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.head =
|
|
3
|
+
exports.head = head;
|
|
4
4
|
function head(value) {
|
|
5
5
|
return Array.isArray(value) ? value[0] : value ?? undefined;
|
|
6
6
|
}
|
|
7
|
-
exports.head = head;
|
|
8
7
|
//# sourceMappingURL=head.js.map
|
package/src/lib/head.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"head.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/head.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"head.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/head.ts"],"names":[],"mappings":";;AAEA,oBAEC;AAFD,SAAgB,IAAI,CAAI,KAAqB;IAC3C,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,SAAS,CAAC;AAC9D,CAAC"}
|
package/src/lib/identity.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.identity =
|
|
3
|
+
exports.identity = identity;
|
|
4
4
|
/**
|
|
5
5
|
* A generic function that returns its input unchanged.
|
|
6
6
|
* This function is useful in various functional programming scenarios, such as:
|
|
@@ -14,5 +14,4 @@ exports.identity = void 0;
|
|
|
14
14
|
function identity(value) {
|
|
15
15
|
return value;
|
|
16
16
|
}
|
|
17
|
-
exports.identity = identity;
|
|
18
17
|
//# sourceMappingURL=identity.js.map
|
package/src/lib/identity.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/identity.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"identity.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/identity.ts"],"names":[],"mappings":";;AAUA,4BAEC;AAZD;;;;;;;;;GASG;AACH,SAAgB,QAAQ,CAAI,KAAQ;IAClC,OAAO,KAAK,CAAC;AACf,CAAC"}
|
package/src/lib/is-string.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.isString =
|
|
3
|
+
exports.isString = isString;
|
|
4
4
|
function isString(value) {
|
|
5
5
|
return typeof value === "string" || value instanceof String;
|
|
6
6
|
}
|
|
7
|
-
exports.isString = isString;
|
|
8
7
|
//# sourceMappingURL=is-string.js.map
|
package/src/lib/is-string.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-string.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/is-string.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"is-string.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/is-string.ts"],"names":[],"mappings":";;AAAA,4BAEC;AAFD,SAAgB,QAAQ,CAAC,KAAc;IACrC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,YAAY,MAAM,CAAC;AAC9D,CAAC"}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.toNonEmptyArray =
|
|
3
|
+
exports.toNonEmptyArray = toNonEmptyArray;
|
|
4
4
|
function toNonEmptyArray(value) {
|
|
5
5
|
return Array.isArray(value) ? value : [value];
|
|
6
6
|
}
|
|
7
|
-
exports.toNonEmptyArray = toNonEmptyArray;
|
|
8
7
|
//# sourceMappingURL=non-empty-array.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"non-empty-array.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/non-empty-array.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"non-empty-array.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/non-empty-array.ts"],"names":[],"mappings":";;AAIA,0CAEC;AAFD,SAAgB,eAAe,CAAI,KAA4B;IAC7D,OAAO,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAChD,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.nullToUndefined =
|
|
3
|
+
exports.nullToUndefined = nullToUndefined;
|
|
4
4
|
/**
|
|
5
5
|
* Turns a null-returning promise into a promise returning undefined.
|
|
6
6
|
*
|
|
@@ -14,5 +14,4 @@ exports.nullToUndefined = void 0;
|
|
|
14
14
|
async function nullToUndefined(value) {
|
|
15
15
|
return (await value) ?? undefined;
|
|
16
16
|
}
|
|
17
|
-
exports.nullToUndefined = nullToUndefined;
|
|
18
17
|
//# sourceMappingURL=null-to-undefined.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"null-to-undefined.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/null-to-undefined.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"null-to-undefined.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/null-to-undefined.ts"],"names":[],"mappings":";;AAUA,0CAEC;AAZD;;;;;;;;GAQG;AACH,wDAAwD;AACjD,KAAK,UAAU,eAAe,CAAI,KAA4B;IACnE,OAAO,CAAC,MAAM,KAAK,CAAC,IAAI,SAAS,CAAC;AACpC,CAAC"}
|
package/src/lib/stringify.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.stringify =
|
|
3
|
+
exports.stringify = stringify;
|
|
4
4
|
function stringify(value) {
|
|
5
5
|
return JSON.stringify(value, (_, value) => typeof value === "bigint" ? String(value) : value);
|
|
6
6
|
}
|
|
7
|
-
exports.stringify = stringify;
|
|
8
7
|
//# sourceMappingURL=stringify.js.map
|
package/src/lib/stringify.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stringify.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/stringify.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"stringify.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/stringify.ts"],"names":[],"mappings":";;AAAA,8BAIC;AAJD,SAAgB,SAAS,CAAC,KAAc;IACtC,OAAO,IAAI,CAAC,SAAS,CAAC,KAAK,EAAE,CAAC,CAAC,EAAE,KAAc,EAAE,EAAE,CACjD,OAAO,KAAK,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAClD,CAAC;AACJ,CAAC"}
|
package/src/lib/to-error.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.isError = isError;
|
|
4
|
+
exports.toError = toError;
|
|
5
|
+
exports.toErrorMessage = toErrorMessage;
|
|
4
6
|
const is_string_1 = require("./is-string");
|
|
5
7
|
const stringify_1 = require("./stringify");
|
|
6
8
|
function isError(error) {
|
|
7
9
|
return error instanceof Error;
|
|
8
10
|
}
|
|
9
|
-
exports.isError = isError;
|
|
10
11
|
function toError(error) {
|
|
11
12
|
if (isError(error))
|
|
12
13
|
return error;
|
|
@@ -17,9 +18,7 @@ function toError(error) {
|
|
|
17
18
|
return new Error(String(error));
|
|
18
19
|
}
|
|
19
20
|
}
|
|
20
|
-
exports.toError = toError;
|
|
21
21
|
function toErrorMessage(error) {
|
|
22
22
|
return toError(error).message;
|
|
23
23
|
}
|
|
24
|
-
exports.toErrorMessage = toErrorMessage;
|
|
25
24
|
//# sourceMappingURL=to-error.js.map
|
package/src/lib/to-error.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"to-error.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/to-error.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"to-error.js","sourceRoot":"","sources":["../../../../../packages/util-ts/src/lib/to-error.ts"],"names":[],"mappings":";;AAGA,0BAEC;AAED,0BAQC;AAED,wCAEC;AAnBD,2CAAuC;AACvC,2CAAwC;AAExC,SAAgB,OAAO,CAAC,KAAc;IACpC,OAAO,KAAK,YAAY,KAAK,CAAC;AAChC,CAAC;AAED,SAAgB,OAAO,CAAC,KAAc;IACpC,IAAI,OAAO,CAAC,KAAK,CAAC;QAAE,OAAO,KAAK,CAAC;IAEjC,IAAI,CAAC;QACH,OAAO,IAAI,KAAK,CAAC,IAAA,oBAAQ,EAAC,KAAK,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAA,qBAAS,EAAC,KAAK,CAAC,CAAC,CAAC;IAC/D,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAClC,CAAC;AACH,CAAC;AAED,SAAgB,cAAc,CAAC,KAAc;IAC3C,OAAO,OAAO,CAAC,KAAK,CAAC,CAAC,OAAO,CAAC;AAChC,CAAC"}
|