@mark1russell7/market-sources 0.2.5 → 0.2.7
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/README.md +39 -2
- package/build/index.d.ts +114 -5
- package/build/index.d.ts.map +1 -1
- package/build/index.js +558 -16
- package/build/index.js.map +1 -1
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @mark1russell7/market-sources
|
|
2
2
|
|
|
3
|
-
The adapters of the sellers of a market. Each parser reads the answer of an official API at one instant. It gives the current offers and their price readings as records of [`@mark1russell7/market`](../market/README.md).
|
|
3
|
+
The adapters of the sellers of a market and of the price APIs of clouds. Each parser reads the answer of an official API at one instant. It gives the current offers and their price readings as records of [`@mark1russell7/market`](../market/README.md). The parsers of a cloud give metered offers and their metered readings.
|
|
4
4
|
|
|
5
5
|
```sh
|
|
6
6
|
pnpm add @mark1russell7/market-sources
|
|
@@ -36,12 +36,16 @@ for (const note of result.notes) console.warn(note);
|
|
|
36
36
|
| `parseBestBuyOpenBox` | the Best Buy Open Box API: `GET /beta/products/{sku}/openBox` |
|
|
37
37
|
| `parseDigiKeyProductDetails` | `ProductDetails` of the Digi-Key Product Information API v4 |
|
|
38
38
|
| `parseDigiKeyKeywordSearch` | `KeywordSearch` of the Digi-Key Product Information API v4 |
|
|
39
|
+
| `parseAzureRetailPrices` | one page of the Azure Retail Prices API: `GET /api/retail/prices` |
|
|
40
|
+
| `parseAzureRetailPricePages` | all the pages of one read of the Azure Retail Prices API |
|
|
39
41
|
|
|
40
42
|
Each parser takes the JSON of the answer and the instant `at` of the answer. It gives one of two results:
|
|
41
43
|
|
|
42
44
|
- `{ ok: true, observations, notes }`. The answer has the documented shape. Each observation is an offer and its reading, and the schemas of `@mark1russell7/market` accept both. Each note tells why the parser skipped a record or a field.
|
|
43
45
|
- `{ ok: false, problems }`. The answer does not have the documented shape, for example the error body of an API.
|
|
44
46
|
|
|
47
|
+
The Azure parsers give metered observations of `@mark1russell7/market`, and `next`. The field `next` is the link of the next page, or `null`.
|
|
48
|
+
|
|
45
49
|
A parser throws a `RangeError` only when `at` is not an ISO 8601 instant in UTC. It does not throw on the answer, for any JSON value.
|
|
46
50
|
|
|
47
51
|
## The rules of the parsers
|
|
@@ -88,6 +92,32 @@ The US APIs of Best Buy give each price in US dollars.
|
|
|
88
92
|
|
|
89
93
|
The API has no GTIN and no shipping cost. The shipping of a reading is `unknown`.
|
|
90
94
|
|
|
95
|
+
### Azure
|
|
96
|
+
|
|
97
|
+
The Azure Retail Prices API gives the public retail prices of Azure. It needs no key. Each observation goes through `meteredObservationSchema`.
|
|
98
|
+
|
|
99
|
+
| Field | Rule |
|
|
100
|
+
| --- | --- |
|
|
101
|
+
| Offers | Each SKU in a region on a term is one offer, with the source id `{armRegionName}/{skuId}/{term}`. Each meter of the SKU is a meter of the offer. |
|
|
102
|
+
| Terms | A `Consumption` row gives `on-demand`, or `spot` when its SKU name ends in `Spot` or `Low Priority`. Each entry of `savingsPlan` gives a `committed` offer at its rate. |
|
|
103
|
+
| Reservations | A `Reservation` row gives a `committed` offer. Its price is the total for the term. Thus it is the `upfront` money of the reading, and the rate is 0. |
|
|
104
|
+
| Dev/Test | A `DevTestConsumption` row gives its own offer, with `Dev/Test` in its title. |
|
|
105
|
+
| Units | The unit of measure gives a unit of `@mark1russell7/quantity`. `1 Hour` gives `h`, `1 GB/Month` gives `GiB·mo` and `10K` gives 10,000 `{count}`. |
|
|
106
|
+
| Unit prices | The price of a unit is the price of the row over its count, with exact rationals. |
|
|
107
|
+
| Data | A GB of Azure is 2^30 bytes, from the pricing pages of Blob Storage. Thus `GB`, `MB` and `TB` give `GiB`, `MiB` and `TiB`. |
|
|
108
|
+
| Tiers | `tierMinimumUnits` is the start of a tier, in the unit of its meter. A free first amount stays a tier at the price 0. |
|
|
109
|
+
| Period | Each reading has the period of 1 month. |
|
|
110
|
+
| Specs | `serviceName`, `serviceFamily`, `productName`, `skuName`, `armSkuName` and `location`, and `pricing`: the key of the term, for example `savings-plan-3y`. |
|
|
111
|
+
| Pages | A page has 1,000 rows at most. The tiers of a meter can continue on the next page. Thus `parseAzureRetailPricePages` reads the pages of one read together. |
|
|
112
|
+
|
|
113
|
+
These rows give a note, and the parser skips them:
|
|
114
|
+
|
|
115
|
+
- A meter whose tiers start above 0 in a unit of more than 1 count. The documentation does not tell the unit of the start.
|
|
116
|
+
- A meter with no tier at 0, or with two prices for one tier.
|
|
117
|
+
- A unit of measure that the parser does not know, for example `1 PB`. The unit `PiB` is not in `@mark1russell7/quantity`.
|
|
118
|
+
|
|
119
|
+
A reservation and a savings plan cover a fixed amount of use. The metered model has no limit of coverage. Thus give the usage of a committed offer only for the covered hours.
|
|
120
|
+
|
|
91
121
|
## The clients
|
|
92
122
|
|
|
93
123
|
| Client | Methods | Pace | Access |
|
|
@@ -95,6 +125,7 @@ The API has no GTIN and no shipping cost. The shipping of a reading is `unknown`
|
|
|
95
125
|
| `createDigiKeyClient` | `productDetails(productNumber)`, `keywordSearch(keywords, limit)` | 500 ms | OAuth 2.0 client credentials, the client id in a header |
|
|
96
126
|
| `createEbayClient` | `item(itemId)`, `search(words, limit)` | 1 s | OAuth 2.0 client credentials with Basic, the scope `api_scope` |
|
|
97
127
|
| `createBestBuyClient` | `product(sku)`, `search(words, pageSize)`, `openBox(sku)` | 1 s | the API key in the query |
|
|
128
|
+
| `createAzureClient` | `prices(filter, { pages, currency })`, `more(next, pages)` | 6 s | no key |
|
|
98
129
|
|
|
99
130
|
```ts
|
|
100
131
|
import { HostScheduler, realClock } from "polite-crawler/politeness";
|
|
@@ -125,6 +156,8 @@ The package uses no type of a platform. Thus the host gives each port:
|
|
|
125
156
|
- **Answers.** An answer that is not a 2xx gives `{ ok: false, problems }` with its status line. The problem has no part of the body.
|
|
126
157
|
- **Secrets.** No message of a client has a key, a secret or a token. The text `[secret]` is in the place of each one, also in its URL form, its form-body form and its Basic form. `redact` uses `redactSecrets` of `@mark1russell7/text`.
|
|
127
158
|
- **Inputs.** A client refuses a bad key, a bad product number, a bad SKU and a limit out of range with a `RangeError`, before a request.
|
|
159
|
+
- **Pages.** The Azure client follows the link of the next page only to the same API, up to 10 pages. An empty filter is a `RangeError`, because a read of all the prices is a large crawl.
|
|
160
|
+
- **Pace of Azure.** Each answer of Azure tells the requests that remain in a window of 60 seconds, from 10. Thus the client sends 1 request in 6 seconds at most.
|
|
128
161
|
|
|
129
162
|
The clients send each request with `send` of `polite-crawler/api`. It has the scheduler, the classifier and the reaction of the crawler to an answer, with no page store. The entry also gives the token store and the grant. The clients do not use the `Crawler`. The crawler keeps a copy of each page, and the terms of Digi-Key permit no store. The crawler also sends only `GET`, and a token request is a `POST`.
|
|
130
163
|
|
|
@@ -137,12 +170,16 @@ Each source has its terms as a `SourceTerms` record of `@mark1russell7/market`,
|
|
|
137
170
|
| `ebay` | `EBAY_TERMS` | 6 hours | deleted | no |
|
|
138
171
|
| `bestbuy` | `BEST_BUY_TERMS` | 72 hours | kept until the limit | no |
|
|
139
172
|
| `digikey` | `DIGIKEY_TERMS` | no store | not applicable | no |
|
|
173
|
+
| `azure` | `AZURE_TERMS` | no limit | kept | yes |
|
|
174
|
+
|
|
175
|
+
`SOURCE_TERMS` has the four records.
|
|
140
176
|
|
|
141
|
-
|
|
177
|
+
The Microsoft APIs Terms of Use permit copies of the Azure prices only as the application needs them. They forbid the redistribution and the resale of the data.
|
|
142
178
|
|
|
143
179
|
## Tests
|
|
144
180
|
|
|
145
181
|
- Each parser has a test of the documented answer of its API, and tests of each rule above.
|
|
182
|
+
- The Azure parser has a test of a page of 18 real public rows, read on 2026-11-18. Each row has only the fields that the parser reads. The tests also find the cost of each offer with `meteredCost`.
|
|
146
183
|
- Property tests with `fast-check` mutate each documented answer: they delete fields, and put edge values and random JSON in their place. Each result has only valid records, and each reading belongs to its offer.
|
|
147
184
|
- A property test gives each parser random JSON values. No parser throws.
|
|
148
185
|
- The tests of the clients use a fake transport and a real scheduler of `polite-crawler` on a fake clock. They hold each rule of the clients: the pace, the waits, the stops, the tokens and the secrets. `polite-crawler/api` has the tests of the send and of the token store.
|
package/build/index.d.ts
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The adapters of the sellers of a market. Each parser reads the answer of an official API at one instant, and
|
|
3
3
|
* gives the current offers and price readings as records of `@mark1russell7/market`. A parser keeps no store,
|
|
4
|
-
* and it sends no request. Each source also has the terms of its API.
|
|
4
|
+
* and it sends no request. Each source also has the terms of its API. The Azure parser gives the metered prices
|
|
5
|
+
* of cloud resources as metered offers.
|
|
5
6
|
*
|
|
6
7
|
* Each client sends the requests of one API through a transport that its host gives. The scheduler of
|
|
7
8
|
* `polite-crawler/api` keeps the pace of each host. A client keeps no store, and no message of a client has a key.
|
|
8
9
|
*/
|
|
9
|
-
import { Condition, Observation, SourceTerms } from "@mark1russell7/market";
|
|
10
|
-
import { ApiError, ApiScheduler, Exchange, Pace, Reply, Signal, Transport } from "polite-crawler/api";
|
|
10
|
+
import { Condition, MeteredObservation, Observation, SourceTerms } from "@mark1russell7/market";
|
|
11
11
|
import "@mark1russell7/quantity";
|
|
12
|
+
import { ApiError, ApiScheduler, Exchange, Pace, Reply, Signal, Transport } from "polite-crawler/api";
|
|
12
13
|
/**
|
|
13
14
|
* The result of a parser. With `ok`, the answer has the documented shape. Each observation is valid under the
|
|
14
15
|
* schemas of `@mark1russell7/market`, and each note tells why the parser skipped a record or a field. Without
|
|
@@ -22,6 +23,80 @@ type ParseResult = {
|
|
|
22
23
|
readonly ok: false;
|
|
23
24
|
readonly problems: readonly string[];
|
|
24
25
|
};
|
|
26
|
+
/** The result of a parser for an answer that does not have the documented shape. */
|
|
27
|
+
type Refused = Extract<ParseResult, {
|
|
28
|
+
readonly ok: false;
|
|
29
|
+
}>;
|
|
30
|
+
/**
|
|
31
|
+
* The result of a parser of metered prices. With `ok`, each observation is valid under the schemas of
|
|
32
|
+
* `@mark1russell7/market`, and `next` is the link of the next page of the answer, or null. Without `ok`, the
|
|
33
|
+
* answer does not have the documented shape, and `problems` tells why.
|
|
34
|
+
*/
|
|
35
|
+
type MeteredParseResult = {
|
|
36
|
+
readonly ok: true;
|
|
37
|
+
readonly observations: readonly MeteredObservation[];
|
|
38
|
+
readonly notes: readonly string[];
|
|
39
|
+
readonly next: string | null;
|
|
40
|
+
} | Refused;
|
|
41
|
+
/** The name of the Azure Retail Prices API as a source of metered offers. */
|
|
42
|
+
export declare const AZURE_SOURCE = "azure";
|
|
43
|
+
/** The provider of the location of each offer of the Azure Retail Prices API. */
|
|
44
|
+
export declare const AZURE_PROVIDER = "azure";
|
|
45
|
+
/**
|
|
46
|
+
* The terms of the Azure Retail Prices API. The API needs no key, and its documentation names tools for internal
|
|
47
|
+
* analysis and price comparison. The Microsoft APIs Terms of Use permit copies only for the use of the
|
|
48
|
+
* application, and they forbid redistribution and resale of the data.
|
|
49
|
+
*/
|
|
50
|
+
export declare const AZURE_TERMS: SourceTerms;
|
|
51
|
+
/** The address of the Azure Retail Prices API. */
|
|
52
|
+
export declare const AZURE_PRICES_URL = "https://prices.azure.com/api/retail/prices";
|
|
53
|
+
/** The version of the API that the request builder asks for. Only this version gives the prices of savings plans. */
|
|
54
|
+
export declare const AZURE_API_VERSION = "2023-01-01-preview";
|
|
55
|
+
/** The fields of a filter of the Azure Retail Prices API, from its documentation. */
|
|
56
|
+
export declare const AZURE_FILTER_FIELDS: readonly ["armRegionName", "location", "meterId", "meterName", "productId", "skuId", "productName", "skuName", "serviceName", "serviceId", "serviceFamily", "priceType", "armSkuName"];
|
|
57
|
+
/** A field of a filter of the Azure Retail Prices API. */
|
|
58
|
+
type AzureFilterField = (typeof AZURE_FILTER_FIELDS)[number];
|
|
59
|
+
/** A filter of the Azure Retail Prices API: the value of each field. The API compares each value with its case. */
|
|
60
|
+
type AzureFilter = { readonly [Field in AzureFilterField]?: string; };
|
|
61
|
+
/** A unit of measure of the API: the count of units that one price buys, and the unit of `@mark1russell7/quantity`. */
|
|
62
|
+
interface AzureUnit {
|
|
63
|
+
readonly count: number;
|
|
64
|
+
readonly unit: string;
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* This function gives the URL of a read of the Azure Retail Prices API with a filter. Each field of the filter
|
|
68
|
+
* gives the term `field eq 'value'`, and the terms join with `and`. Without a currency, the API gives US dollars.
|
|
69
|
+
*
|
|
70
|
+
* @throws RangeError when the filter has no field, or a field that the API does not filter. It also throws when a
|
|
71
|
+
* value is empty, has a space at an end, has a control character or has more than 200 characters. A currency that
|
|
72
|
+
* `@mark1russell7/quantity` does not have also gives a `RangeError`.
|
|
73
|
+
*/
|
|
74
|
+
export declare function azurePricesUrl(filter: AzureFilter, currency?: string): string;
|
|
75
|
+
/** This function tells if a link goes to the Azure Retail Prices API (`AZURE_PRICES_LINK`). */
|
|
76
|
+
export declare function isAzurePricesUrl(link: string): boolean;
|
|
77
|
+
/** This function gives the link of the next page of an answer, or null. A link to another address gives null. */
|
|
78
|
+
export declare function azureNextPage(answer: unknown): string | null;
|
|
79
|
+
/**
|
|
80
|
+
* This function gives the unit of a unit of measure of the API, or undefined when the parser does not know it. A
|
|
81
|
+
* count with no word gives `{count}`, for example `10K` gives 10,000 of `{count}`. A word of data or time gives
|
|
82
|
+
* its unit, and `/Month` multiplies it by a month. Only `1/Hour` and `1/Month` give a time alone.
|
|
83
|
+
*/
|
|
84
|
+
export declare function azureUnit(unitOfMeasure: string): AzureUnit | undefined;
|
|
85
|
+
/**
|
|
86
|
+
* This function reads one page of the Azure Retail Prices API (`GET /api/retail/prices`) at the instant `at`.
|
|
87
|
+
* The prices of one SKU can continue on the next page: `parseAzureRetailPricePages` reads all the pages together.
|
|
88
|
+
*
|
|
89
|
+
* @throws RangeError when `at` is not an instant in UTC in the ISO 8601 form.
|
|
90
|
+
*/
|
|
91
|
+
export declare function parseAzureRetailPrices(answer: unknown, at: string): MeteredParseResult;
|
|
92
|
+
/**
|
|
93
|
+
* This function reads the pages of one read of the Azure Retail Prices API at the instant `at`. Each SKU in a
|
|
94
|
+
* region on a term gives one offer, with a meter for each meter of the SKU. The `next` of the result is the link
|
|
95
|
+
* of the last page.
|
|
96
|
+
*
|
|
97
|
+
* @throws RangeError when `at` is not an instant in UTC in the ISO 8601 form.
|
|
98
|
+
*/
|
|
99
|
+
export declare function parseAzureRetailPricePages(answers: readonly unknown[], at: string): MeteredParseResult;
|
|
25
100
|
/** The name of the Best Buy Products API and Open Box API as a source of offers. */
|
|
26
101
|
export declare const BEST_BUY_SOURCE = "bestbuy";
|
|
27
102
|
/**
|
|
@@ -205,6 +280,40 @@ interface EbayClient<S extends Signal> {
|
|
|
205
280
|
* @throws RangeError when the client id or the client secret is not a key, or the marketplace is not valid.
|
|
206
281
|
*/
|
|
207
282
|
export declare function createEbayClient<S extends Signal>(options: EbayClientOptions<S>): EbayClient<S>;
|
|
283
|
+
/** The host of the Azure Retail Prices API. */
|
|
284
|
+
export declare const AZURE_HOST = "prices.azure.com";
|
|
285
|
+
/**
|
|
286
|
+
* The client sends one request each 6 seconds at most. The documentation gives no limit. But each answer has the
|
|
287
|
+
* headers `x-ms-ratelimit-remaining-retailprices-requests` and `x-ms-ratelimit-retailprices-retry-after: 60`.
|
|
288
|
+
* Thus the client sends 10 requests in 60 seconds at most.
|
|
289
|
+
*/
|
|
290
|
+
export declare const AZURE_PACE_MS = 6e3;
|
|
291
|
+
/** The most pages of one read. Each page has 1,000 prices at most. */
|
|
292
|
+
export declare const AZURE_PAGE_LIMIT = 10;
|
|
293
|
+
/** The options of an Azure Retail Prices client. The API needs no key. */
|
|
294
|
+
interface AzureClientOptions<S extends Signal> {
|
|
295
|
+
readonly transport: Transport<S>;
|
|
296
|
+
readonly pace: Pace<S>;
|
|
297
|
+
}
|
|
298
|
+
/** The options of one read of prices. */
|
|
299
|
+
interface AzureReadOptions {
|
|
300
|
+
/** The most pages that the read follows, from 1 to `AZURE_PAGE_LIMIT`. The default is 1. */
|
|
301
|
+
readonly pages?: number | undefined;
|
|
302
|
+
/** The currency of the prices, a money unit of `@mark1russell7/quantity`. Without it, the API gives US dollars. */
|
|
303
|
+
readonly currency?: string | undefined;
|
|
304
|
+
}
|
|
305
|
+
/** A client of the Azure Retail Prices API. Each method gives the result of `parseAzureRetailPricePages`. */
|
|
306
|
+
interface AzureClient<S extends Signal> {
|
|
307
|
+
/** This method reads the prices of a filter: the first page, and the next pages up to the limit of the options. */
|
|
308
|
+
prices(filter: AzureFilter, options?: AzureReadOptions, signal?: S): Promise<MeteredParseResult>;
|
|
309
|
+
/** This method continues a read at the link `next` of a result, with `pages` pages at most. The default is 1. */
|
|
310
|
+
more(next: string, pages?: number, signal?: S): Promise<MeteredParseResult>;
|
|
311
|
+
}
|
|
312
|
+
/**
|
|
313
|
+
* This function makes a client of the Azure Retail Prices API. A read follows the link of the next page of each
|
|
314
|
+
* answer, only to the same API, up to its count of pages. It then reads all the pages together.
|
|
315
|
+
*/
|
|
316
|
+
export declare function createAzureClient<S extends Signal>(options: AzureClientOptions<S>): AzureClient<S>;
|
|
208
317
|
/** The host of the Best Buy APIs. */
|
|
209
318
|
export declare const BEST_BUY_HOST = "api.bestbuy.com";
|
|
210
319
|
/**
|
|
@@ -237,7 +346,7 @@ interface BestBuyClient<S extends Signal> {
|
|
|
237
346
|
* @throws RangeError when the API key is not a key. The message does not show the value.
|
|
238
347
|
*/
|
|
239
348
|
export declare function createBestBuyClient<S extends Signal>(options: BestBuyClientOptions<S>): BestBuyClient<S>;
|
|
240
|
-
/** The terms of each source of this package
|
|
349
|
+
/** The terms of each source of this package: the sellers in the order of the hand crawl, then Azure. */
|
|
241
350
|
export declare const SOURCE_TERMS: readonly SourceTerms[];
|
|
242
|
-
export { ApiError, type ApiScheduler, type BestBuyClient, type BestBuyClientOptions, type DigiKeyClient, type DigiKeyClientOptions, type DigiKeyLocale, type EbayClient, type EbayClientOptions, type Exchange, type Observation, type Pace, type ParseResult, type Reply, type Signal, type Transport };
|
|
351
|
+
export { ApiError, type ApiScheduler, type AzureClient, type AzureClientOptions, type AzureFilter, type AzureFilterField, type AzureReadOptions, type AzureUnit, type BestBuyClient, type BestBuyClientOptions, type DigiKeyClient, type DigiKeyClientOptions, type DigiKeyLocale, type EbayClient, type EbayClientOptions, type Exchange, type MeteredObservation, type MeteredParseResult, type Observation, type Pace, type ParseResult, type Reply, type Signal, type Transport };
|
|
243
352
|
//# sourceMappingURL=index.d.ts.map
|
package/build/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/parse.ts","../src/bestbuy.ts","../src/digikey.ts","../src/ebay.ts","../src/client.ts","../src/digikey-client.ts","../src/ebay-client.ts","../src/bestbuy-client.ts","../src/index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/parse.ts","../src/azure.ts","../src/bestbuy.ts","../src/digikey.ts","../src/ebay.ts","../src/client.ts","../src/digikey-client.ts","../src/ebay-client.ts","../src/azure-client.ts","../src/bestbuy-client.ts","../src/index.ts"],"mappings":";;;;;;;;;;;;;;;;;KA2BY;WACG;WAAmB,uBAAuB;WAAwB;;WAClE;WAAoB;;;KAGvB,UAAU,QAAQ;WAAwB;;;;;;;KAO1C;WAEG;WACA,uBAAuB;WACvB;WACA;IAEX;;qBCrBS;;qBAGA;;;;;;qBAOA,aAAa;;qBAUb;;qBAGA;;qBAGA;;KAiBD,2BAA2B;;KAG3B,0BAA0B,SAAS;;UAG9B;WACN;WACA;;;;;;;;;;wBAcK,eAAe,QAAQ,aAAa;;wBAwCpC,iBAAiB;;wBAKjB,cAAc;;;;;;wBAwCd,UAAU,wBAAwB;;;;;;;wBAsRlC,uBAAuB,iBAAiB,aAAa;;;;;;;;wBAWrD,2BAA2B,6BAA6B,aAAa;;qBCnbxE;;;;;qBAMA,gBAAgB;;;;;wBAeb,iBAAiB,oBAAoB,oBAAoB;;;;;;;wBA0GzD,oBAAoB,iBAAiB,aAAa;;;;;;;wBAclD,qBAAqB,iBAAi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