@wix/metro 1.0.73 → 1.0.74
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/build/cjs/context.d.ts +1 -0
- package/build/cjs/{index.typings.js → context.js} +7 -3
- package/build/cjs/context.js.map +1 -0
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +6 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/cjs/meta.js +6 -2
- package/build/cjs/meta.js.map +1 -1
- package/build/es/context.d.ts +1 -0
- package/build/es/context.js +2 -0
- package/build/es/context.js.map +1 -0
- package/build/es/index.d.ts +1 -1
- package/build/es/index.js +1 -1
- package/build/es/index.js.map +1 -1
- package/build/es/meta.d.ts +1 -1
- package/build/es/meta.js +1 -1
- package/build/es/meta.js.map +1 -1
- package/context/package.json +6 -0
- package/package.json +15 -7
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/src/metroinspector-v1-product.http.d.ts +0 -10
- package/build/cjs/src/metroinspector-v1-product.http.js +0 -315
- package/build/cjs/src/metroinspector-v1-product.http.js.map +0 -1
- package/build/cjs/src/metroinspector-v1-product.meta.d.ts +0 -26
- package/build/cjs/src/metroinspector-v1-product.meta.js +0 -138
- package/build/cjs/src/metroinspector-v1-product.meta.js.map +0 -1
- package/build/cjs/src/metroinspector-v1-product.public.d.ts +0 -79
- package/build/cjs/src/metroinspector-v1-product.public.js +0 -46
- package/build/cjs/src/metroinspector-v1-product.public.js.map +0 -1
- package/build/cjs/src/metroinspector-v1-product.types.d.ts +0 -735
- package/build/cjs/src/metroinspector-v1-product.types.js +0 -43
- package/build/cjs/src/metroinspector-v1-product.types.js.map +0 -1
- package/build/cjs/src/metroinspector-v1-product.universal.d.ts +0 -492
- package/build/cjs/src/metroinspector-v1-product.universal.js +0 -464
- package/build/cjs/src/metroinspector-v1-product.universal.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/src/metroinspector-v1-product.http.d.ts +0 -10
- package/build/es/src/metroinspector-v1-product.http.js +0 -306
- package/build/es/src/metroinspector-v1-product.http.js.map +0 -1
- package/build/es/src/metroinspector-v1-product.meta.d.ts +0 -26
- package/build/es/src/metroinspector-v1-product.meta.js +0 -110
- package/build/es/src/metroinspector-v1-product.meta.js.map +0 -1
- package/build/es/src/metroinspector-v1-product.public.d.ts +0 -79
- package/build/es/src/metroinspector-v1-product.public.js +0 -34
- package/build/es/src/metroinspector-v1-product.public.js.map +0 -1
- package/build/es/src/metroinspector-v1-product.types.d.ts +0 -735
- package/build/es/src/metroinspector-v1-product.types.js +0 -40
- package/build/es/src/metroinspector-v1-product.types.js.map +0 -1
- package/build/es/src/metroinspector-v1-product.universal.d.ts +0 -492
- package/build/es/src/metroinspector-v1-product.universal.js +0 -436
- package/build/es/src/metroinspector-v1-product.universal.js.map +0 -1
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
-
}) : (function(o, m, k, k2) {
|
|
6
|
-
if (k2 === undefined) k2 = k;
|
|
7
|
-
o[k2] = m[k];
|
|
8
|
-
}));
|
|
9
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
10
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
11
|
-
}) : function(o, v) {
|
|
12
|
-
o["default"] = v;
|
|
13
|
-
});
|
|
14
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
15
|
-
if (mod && mod.__esModule) return mod;
|
|
16
|
-
var result = {};
|
|
17
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
18
|
-
__setModuleDefault(result, mod);
|
|
19
|
-
return result;
|
|
20
|
-
};
|
|
21
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.queryProducts = exports.getProductsStartWith = exports.getProduct = exports.updateProduct = exports.deleteProduct = exports.createProduct = void 0;
|
|
23
|
-
const ambassadorWixMetroinspectorV1Product = __importStar(require("./metroinspector-v1-product.http"));
|
|
24
|
-
function createProduct() {
|
|
25
|
-
const payload = {};
|
|
26
|
-
const getRequestOptions = ambassadorWixMetroinspectorV1Product.createProduct(payload);
|
|
27
|
-
const getUrl = (context) => {
|
|
28
|
-
const { url } = getRequestOptions(context);
|
|
29
|
-
return url;
|
|
30
|
-
};
|
|
31
|
-
return {
|
|
32
|
-
getUrl,
|
|
33
|
-
httpMethod: 'POST',
|
|
34
|
-
path: '/api/v1/products',
|
|
35
|
-
pathParams: {},
|
|
36
|
-
__requestType: null,
|
|
37
|
-
__originalRequestType: null,
|
|
38
|
-
__responseType: null,
|
|
39
|
-
__originalResponseType: null,
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
exports.createProduct = createProduct;
|
|
43
|
-
function deleteProduct() {
|
|
44
|
-
const payload = { productId: ':productId' };
|
|
45
|
-
const getRequestOptions = ambassadorWixMetroinspectorV1Product.deleteProduct(payload);
|
|
46
|
-
const getUrl = (context) => {
|
|
47
|
-
const { url } = getRequestOptions(context);
|
|
48
|
-
return url;
|
|
49
|
-
};
|
|
50
|
-
return {
|
|
51
|
-
getUrl,
|
|
52
|
-
httpMethod: 'DELETE',
|
|
53
|
-
path: '/api/v1/products/{productId}',
|
|
54
|
-
pathParams: { productId: 'productId' },
|
|
55
|
-
__requestType: null,
|
|
56
|
-
__originalRequestType: null,
|
|
57
|
-
__responseType: null,
|
|
58
|
-
__originalResponseType: null,
|
|
59
|
-
};
|
|
60
|
-
}
|
|
61
|
-
exports.deleteProduct = deleteProduct;
|
|
62
|
-
function updateProduct() {
|
|
63
|
-
const payload = { productId: ':productId' };
|
|
64
|
-
const getRequestOptions = ambassadorWixMetroinspectorV1Product.updateProduct(payload);
|
|
65
|
-
const getUrl = (context) => {
|
|
66
|
-
const { url } = getRequestOptions(context);
|
|
67
|
-
return url;
|
|
68
|
-
};
|
|
69
|
-
return {
|
|
70
|
-
getUrl,
|
|
71
|
-
httpMethod: 'PUT',
|
|
72
|
-
path: '/api/v1/products/{productId}',
|
|
73
|
-
pathParams: { productId: 'productId' },
|
|
74
|
-
__requestType: null,
|
|
75
|
-
__originalRequestType: null,
|
|
76
|
-
__responseType: null,
|
|
77
|
-
__originalResponseType: null,
|
|
78
|
-
};
|
|
79
|
-
}
|
|
80
|
-
exports.updateProduct = updateProduct;
|
|
81
|
-
function getProduct() {
|
|
82
|
-
const payload = { productId: ':productId' };
|
|
83
|
-
const getRequestOptions = ambassadorWixMetroinspectorV1Product.getProduct(payload);
|
|
84
|
-
const getUrl = (context) => {
|
|
85
|
-
const { url } = getRequestOptions(context);
|
|
86
|
-
return url;
|
|
87
|
-
};
|
|
88
|
-
return {
|
|
89
|
-
getUrl,
|
|
90
|
-
httpMethod: 'GET',
|
|
91
|
-
path: '/api/v1/products/{productId}',
|
|
92
|
-
pathParams: { productId: 'productId' },
|
|
93
|
-
__requestType: null,
|
|
94
|
-
__originalRequestType: null,
|
|
95
|
-
__responseType: null,
|
|
96
|
-
__originalResponseType: null,
|
|
97
|
-
};
|
|
98
|
-
}
|
|
99
|
-
exports.getProduct = getProduct;
|
|
100
|
-
function getProductsStartWith() {
|
|
101
|
-
const payload = { title: ':title' };
|
|
102
|
-
const getRequestOptions = ambassadorWixMetroinspectorV1Product.getProductsStartWith(payload);
|
|
103
|
-
const getUrl = (context) => {
|
|
104
|
-
const { url } = getRequestOptions(context);
|
|
105
|
-
return url;
|
|
106
|
-
};
|
|
107
|
-
return {
|
|
108
|
-
getUrl,
|
|
109
|
-
httpMethod: 'GET',
|
|
110
|
-
path: '/api/v1/products/start-with/{title}',
|
|
111
|
-
pathParams: { title: 'title' },
|
|
112
|
-
__requestType: null,
|
|
113
|
-
__originalRequestType: null,
|
|
114
|
-
__responseType: null,
|
|
115
|
-
__originalResponseType: null,
|
|
116
|
-
};
|
|
117
|
-
}
|
|
118
|
-
exports.getProductsStartWith = getProductsStartWith;
|
|
119
|
-
function queryProducts() {
|
|
120
|
-
const payload = {};
|
|
121
|
-
const getRequestOptions = ambassadorWixMetroinspectorV1Product.queryProducts(payload);
|
|
122
|
-
const getUrl = (context) => {
|
|
123
|
-
const { url } = getRequestOptions(context);
|
|
124
|
-
return url;
|
|
125
|
-
};
|
|
126
|
-
return {
|
|
127
|
-
getUrl,
|
|
128
|
-
httpMethod: 'GET',
|
|
129
|
-
path: '/api/v1/query-products',
|
|
130
|
-
pathParams: {},
|
|
131
|
-
__requestType: null,
|
|
132
|
-
__originalRequestType: null,
|
|
133
|
-
__responseType: null,
|
|
134
|
-
__originalResponseType: null,
|
|
135
|
-
};
|
|
136
|
-
}
|
|
137
|
-
exports.queryProducts = queryProducts;
|
|
138
|
-
//# sourceMappingURL=metroinspector-v1-product.meta.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metroinspector-v1-product.meta.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-product.meta.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,uGAAyF;AAsBzF,SAAgB,aAAa;IAU3B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,oCAAoC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE9D,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,MAAM;QAClB,IAAI,EAAE,kBAAkB;Q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D,oDA8BC;AAED,SAAgB,aAAa;IAU3B,MAAM,OAAO,GAAG,EAAS,CAAC;IAE1B,MAAM,iBAAiB,GACrB,oCAAoC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;IAE9D,MAAM,MAAM,GAAG,CAAC,OAAY,EAAU,EAAE;QACtC,MAAM,EAAE,GAAG,EAAE,GAAG,iBAAiB,CAAC,OAAO,CAAC,CAAC;QAC3C,OAAO,GAAI,CAAC;IACd,CAAC,CAAC;IAEF,OAAO;QACL,MAAM;QACN,UAAU,EAAE,KAAK;QACjB,IAAI,EAAE,wBAAwB;QAC9B,UAAU,EAAE,EAAE;QACd,aAAa,EAAE,IAAW;QAC1B,qBAAqB,EAAE,IAAW;QAClC,cAAc,EAAE,IAAW;QAC3B,sBAAsB,EAAE,IAAW;KACpC,CAAC;AACJ,CAAC;AA9BD,sCA8BC"}
|
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@wix/sdk-types';
|
|
2
|
-
import { CreateProductOptions, GetProductsStartWithOptions, QueryProductsOptions, UpdateProductOptions } from './metroinspector-v1-product.universal';
|
|
3
|
-
export declare const __metadata: {
|
|
4
|
-
PACKAGE_NAME: string;
|
|
5
|
-
};
|
|
6
|
-
export declare function createProduct(httpClient: HttpClient): (options?: CreateProductOptions | undefined) => Promise<import("./metroinspector-v1-product.universal").Product & {
|
|
7
|
-
_id: string;
|
|
8
|
-
collectionId: string;
|
|
9
|
-
image: string;
|
|
10
|
-
document: string;
|
|
11
|
-
video: string;
|
|
12
|
-
pageLink?: {
|
|
13
|
-
pageId: string;
|
|
14
|
-
rel: import("./metroinspector-v1-product.universal").LinkRel[];
|
|
15
|
-
} | undefined;
|
|
16
|
-
audio: string;
|
|
17
|
-
variants: {
|
|
18
|
-
name: string;
|
|
19
|
-
value: string;
|
|
20
|
-
image: string;
|
|
21
|
-
}[];
|
|
22
|
-
mainVariant?: {
|
|
23
|
-
name: string;
|
|
24
|
-
value: string;
|
|
25
|
-
image: string;
|
|
26
|
-
} | undefined;
|
|
27
|
-
guid: string;
|
|
28
|
-
}>;
|
|
29
|
-
export declare function deleteProduct(httpClient: HttpClient): (productId: string) => Promise<void>;
|
|
30
|
-
export declare function updateProduct(httpClient: HttpClient): (productId: string, options?: UpdateProductOptions | undefined) => Promise<import("./metroinspector-v1-product.universal").Product & {
|
|
31
|
-
_id: string;
|
|
32
|
-
collectionId: string;
|
|
33
|
-
image: string;
|
|
34
|
-
document: string;
|
|
35
|
-
video: string;
|
|
36
|
-
pageLink?: {
|
|
37
|
-
pageId: string;
|
|
38
|
-
rel: import("./metroinspector-v1-product.universal").LinkRel[];
|
|
39
|
-
} | undefined;
|
|
40
|
-
audio: string;
|
|
41
|
-
variants: {
|
|
42
|
-
name: string;
|
|
43
|
-
value: string;
|
|
44
|
-
image: string;
|
|
45
|
-
}[];
|
|
46
|
-
mainVariant?: {
|
|
47
|
-
name: string;
|
|
48
|
-
value: string;
|
|
49
|
-
image: string;
|
|
50
|
-
} | undefined;
|
|
51
|
-
guid: string;
|
|
52
|
-
}>;
|
|
53
|
-
export declare function getProduct(httpClient: HttpClient): (productId: string) => Promise<import("./metroinspector-v1-product.universal").Product & {
|
|
54
|
-
_id: string;
|
|
55
|
-
collectionId: string;
|
|
56
|
-
image: string;
|
|
57
|
-
document: string;
|
|
58
|
-
video: string;
|
|
59
|
-
pageLink?: {
|
|
60
|
-
pageId: string;
|
|
61
|
-
rel: import("./metroinspector-v1-product.universal").LinkRel[];
|
|
62
|
-
} | undefined;
|
|
63
|
-
audio: string;
|
|
64
|
-
variants: {
|
|
65
|
-
name: string;
|
|
66
|
-
value: string;
|
|
67
|
-
image: string;
|
|
68
|
-
}[];
|
|
69
|
-
mainVariant?: {
|
|
70
|
-
name: string;
|
|
71
|
-
value: string;
|
|
72
|
-
image: string;
|
|
73
|
-
} | undefined;
|
|
74
|
-
guid: string;
|
|
75
|
-
}>;
|
|
76
|
-
export declare function getProductsStartWith(httpClient: HttpClient): (title: string, options?: GetProductsStartWithOptions | undefined) => Promise<import("./metroinspector-v1-product.universal").GetProductsStartWithResponse & import("./metroinspector-v1-product.universal").GetProductsStartWithResponseNonNullableFields>;
|
|
77
|
-
export declare function queryProducts(httpClient: HttpClient): (options?: QueryProductsOptions | undefined) => import("./metroinspector-v1-product.universal").ProductsQueryBuilder;
|
|
78
|
-
export { SubdivisionType, LinkRel, SortOrder, } from './metroinspector-v1-product.universal';
|
|
79
|
-
export { Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, VideoResolution, PageLink, Variant, MyAddress, CreateProductRequest, CreateProductResponse, DeleteProductRequest, DeleteProductResponse, UpdateProductRequest, UpdateProductResponse, GetProductRequest, GetProductResponse, GetProductsStartWithRequest, GetProductsStartWithResponse, QueryProductsRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryProductsResponse, PagingMetadataV2, Cursors, CreateProductResponseNonNullableFields, UpdateProductResponseNonNullableFields, GetProductResponseNonNullableFields, GetProductsStartWithResponseNonNullableFields, QueryProductsResponseNonNullableFields, Product, CreateProductOptions, UpdateProductOptions, GetProductsStartWithOptions, QueryProductsOptions, ProductsQueryResult, ProductsQueryBuilder, } from './metroinspector-v1-product.universal';
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SortOrder = exports.LinkRel = exports.SubdivisionType = exports.queryProducts = exports.getProductsStartWith = exports.getProduct = exports.updateProduct = exports.deleteProduct = exports.createProduct = exports.__metadata = void 0;
|
|
4
|
-
const metroinspector_v1_product_universal_1 = require("./metroinspector-v1-product.universal");
|
|
5
|
-
exports.__metadata = { PACKAGE_NAME: '@wix/metro' };
|
|
6
|
-
function createProduct(httpClient) {
|
|
7
|
-
return (options) => (0, metroinspector_v1_product_universal_1.createProduct)(options,
|
|
8
|
-
// @ts-ignore
|
|
9
|
-
{ httpClient });
|
|
10
|
-
}
|
|
11
|
-
exports.createProduct = createProduct;
|
|
12
|
-
function deleteProduct(httpClient) {
|
|
13
|
-
return (productId) => (0, metroinspector_v1_product_universal_1.deleteProduct)(productId,
|
|
14
|
-
// @ts-ignore
|
|
15
|
-
{ httpClient });
|
|
16
|
-
}
|
|
17
|
-
exports.deleteProduct = deleteProduct;
|
|
18
|
-
function updateProduct(httpClient) {
|
|
19
|
-
return (productId, options) => (0, metroinspector_v1_product_universal_1.updateProduct)(productId, options,
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
{ httpClient });
|
|
22
|
-
}
|
|
23
|
-
exports.updateProduct = updateProduct;
|
|
24
|
-
function getProduct(httpClient) {
|
|
25
|
-
return (productId) => (0, metroinspector_v1_product_universal_1.getProduct)(productId,
|
|
26
|
-
// @ts-ignore
|
|
27
|
-
{ httpClient });
|
|
28
|
-
}
|
|
29
|
-
exports.getProduct = getProduct;
|
|
30
|
-
function getProductsStartWith(httpClient) {
|
|
31
|
-
return (title, options) => (0, metroinspector_v1_product_universal_1.getProductsStartWith)(title, options,
|
|
32
|
-
// @ts-ignore
|
|
33
|
-
{ httpClient });
|
|
34
|
-
}
|
|
35
|
-
exports.getProductsStartWith = getProductsStartWith;
|
|
36
|
-
function queryProducts(httpClient) {
|
|
37
|
-
return (options) => (0, metroinspector_v1_product_universal_1.queryProducts)(options,
|
|
38
|
-
// @ts-ignore
|
|
39
|
-
{ httpClient });
|
|
40
|
-
}
|
|
41
|
-
exports.queryProducts = queryProducts;
|
|
42
|
-
var metroinspector_v1_product_universal_2 = require("./metroinspector-v1-product.universal");
|
|
43
|
-
Object.defineProperty(exports, "SubdivisionType", { enumerable: true, get: function () { return metroinspector_v1_product_universal_2.SubdivisionType; } });
|
|
44
|
-
Object.defineProperty(exports, "LinkRel", { enumerable: true, get: function () { return metroinspector_v1_product_universal_2.LinkRel; } });
|
|
45
|
-
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return metroinspector_v1_product_universal_2.SortOrder; } });
|
|
46
|
-
//# sourceMappingURL=metroinspector-v1-product.public.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"metroinspector-v1-product.public.js","sourceRoot":"","sources":["../../../src/metroinspector-v1-product.public.ts"],"names":[],"mappings":";;;AACA,+FAW+C;AAElC,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,YAAY,EAAE,CAAC;AAEzD,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAA8B,EAAE,EAAE,CACxC,IAAA,mDAAsB,EACpB,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sCAOC;AAED,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,SAAiB,EAAE,EAAE,CAC3B,IAAA,mDAAsB,EACpB,SAAS;IACT,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sCAOC;AAED,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,SAAiB,EAAE,OAA8B,EAAE,EAAE,CAC3D,IAAA,mDAAsB,EACpB,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,sCAQC;AAED,SAAgB,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,SAAiB,EAAE,EAAE,CAC3B,IAAA,gDAAmB,EACjB,SAAS;IACT,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,gCAOC;AAED,SAAgB,oBAAoB,CAAC,UAAsB;IACzD,OAAO,CAAC,KAAa,EAAE,OAAqC,EAAE,EAAE,CAC9D,IAAA,0DAA6B,EAC3B,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,oDAQC;AAED,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAA8B,EAAE,EAAE,CACxC,IAAA,mDAAsB,EACpB,OAAO;IACP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