@pithy-sh/payments 0.6.1 → 0.7.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/README.md +6 -1
- package/dist/admin/coverage.d.ts.map +1 -1
- package/dist/admin/coverage.js +13 -7
- package/dist/admin/read.d.ts +60 -0
- package/dist/admin/read.d.ts.map +1 -1
- package/dist/admin/read.js +86 -2
- package/dist/audit/actions.d.ts +5 -0
- package/dist/audit/actions.d.ts.map +1 -1
- package/dist/audit/actions.js +6 -1
- package/dist/capability.d.ts +3 -3
- package/dist/capability.d.ts.map +1 -1
- package/dist/capability.js +14 -7
- package/dist/client/api.d.ts +25 -9
- package/dist/client/api.d.ts.map +1 -1
- package/dist/client/api.js +68 -12
- package/dist/client/hooks.d.ts +27 -39
- package/dist/client/hooks.d.ts.map +1 -1
- package/dist/client/hooks.js +166 -315
- package/dist/client/projection.d.ts +25 -18
- package/dist/client/projection.d.ts.map +1 -1
- package/dist/client/railChoice.d.ts +46 -0
- package/dist/client/railChoice.d.ts.map +1 -0
- package/dist/client/railChoice.js +48 -0
- package/dist/data/webhookEvent.d.ts +67 -0
- package/dist/data/webhookEvent.d.ts.map +1 -1
- package/dist/data/webhookEvent.js +76 -1
- package/dist/http/responses.d.ts +64 -0
- package/dist/http/responses.d.ts.map +1 -1
- package/dist/http/responses.js +34 -1
- package/dist/http/routes.d.ts +1 -0
- package/dist/http/routes.d.ts.map +1 -1
- package/dist/http/routes.js +64 -11
- package/dist/http/schemas.d.ts +19 -0
- package/dist/http/schemas.d.ts.map +1 -1
- package/dist/http/schemas.js +18 -1
- package/dist/http/scopes.d.ts +15 -6
- package/dist/http/scopes.d.ts.map +1 -1
- package/dist/http/scopes.js +55 -5
- package/dist/http/view.d.ts +9 -2
- package/dist/http/view.d.ts.map +1 -1
- package/dist/http/view.js +29 -1
- package/dist/http/webhookGuard.d.ts +7 -1
- package/dist/http/webhookGuard.d.ts.map +1 -1
- package/dist/http/webhookGuard.js +3 -2
- package/dist/migrations/0003_webhook_targets.d.ts +19 -0
- package/dist/migrations/0003_webhook_targets.d.ts.map +1 -0
- package/dist/migrations/0003_webhook_targets.js +29 -0
- package/dist/processing/activities.d.ts +9 -0
- package/dist/processing/activities.d.ts.map +1 -0
- package/dist/processing/activities.js +30 -0
- package/dist/projection/orphans.d.ts.map +1 -1
- package/dist/projection/orphans.js +15 -6
- package/dist/projection/targets.d.ts +50 -0
- package/dist/projection/targets.d.ts.map +1 -0
- package/dist/projection/targets.js +50 -0
- package/dist/purge/contribution.d.ts +32 -0
- package/dist/purge/contribution.d.ts.map +1 -0
- package/dist/purge/contribution.js +120 -0
- package/dist/version.generated.d.ts +1 -1
- package/dist/version.generated.js +1 -1
- package/dist/workflows/paddleSweep.d.ts.map +1 -1
- package/dist/workflows/paddleSweep.js +20 -9
- package/docs/lemon-squeezy.md +1 -1
- package/docs/paddle.md +2 -0
- package/package.json +6 -4
- package/src/admin/coverage.ts +13 -9
- package/src/admin/read.ts +135 -0
- package/src/audit/actions.ts +5 -0
- package/src/capability.ts +25 -15
- package/src/client/api.ts +74 -11
- package/src/client/hooks.ts +206 -301
- package/src/client/projection.ts +25 -18
- package/src/client/railChoice.ts +72 -0
- package/src/data/webhookEvent.ts +115 -0
- package/src/http/responses.ts +66 -0
- package/src/http/routes.ts +73 -11
- package/src/http/schemas.ts +26 -0
- package/src/http/scopes.ts +58 -6
- package/src/http/view.ts +31 -1
- package/src/http/webhookGuard.ts +23 -3
- package/src/migrations/0003_webhook_targets.ts +34 -0
- package/src/processing/activities.ts +34 -0
- package/src/projection/orphans.ts +28 -11
- package/src/projection/targets.ts +66 -0
- package/src/purge/contribution.ts +135 -0
- package/src/version.generated.ts +1 -1
- package/src/workflows/paddleSweep.ts +39 -14
package/dist/client/api.js
CHANGED
|
@@ -11,11 +11,12 @@
|
|
|
11
11
|
* after the file was written. So the calls, the error mapping, and the redirect-and-return dance ship
|
|
12
12
|
* here and upgrade with a minor release; the scaffolded stub renders and styles, and calls these.
|
|
13
13
|
*
|
|
14
|
-
* **
|
|
15
|
-
*
|
|
16
|
-
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
14
|
+
* **Two transports, chosen by one option.** With no `origin`, every request is relative and carries
|
|
15
|
+
* `credentials: "include"` and nothing else: the SPA and its Worker share an origin, so the session rides
|
|
16
|
+
* an httpOnly cookie that JavaScript cannot read and the server's same-origin check covers CSRF. With an
|
|
17
|
+
* `origin` — a native app, which has no page origin to be relative to — the request goes to that origin
|
|
18
|
+
* with `credentials: "omit"`, and the caller hands in the bearer session's `fetch`, which adds the
|
|
19
|
+
* `Authorization` header. This module holds no credential either way.
|
|
19
20
|
*
|
|
20
21
|
* **Nothing here throws, and nothing here hides a failure either.** An unreachable Worker, an HTML error
|
|
21
22
|
* page from a proxy, a 500 — each becomes a renderable {@link PaymentsFailure} on a `PaymentsResult`, and
|
|
@@ -27,8 +28,8 @@
|
|
|
27
28
|
* The server's `requireEntitlement()` is still the security boundary. Nothing on this side of the wire
|
|
28
29
|
* protects a feature; it only decides what a screen shows.
|
|
29
30
|
*
|
|
30
|
-
* **No absolute URL literals, and no schema library.** Paths are relative
|
|
31
|
-
* origin
|
|
31
|
+
* **No absolute URL literals, and no schema library.** Paths are relative unless a caller names an
|
|
32
|
+
* origin, so a web bundle's calls follow whatever origin it is served from. Answers are narrowed by hand-written `is…(value: unknown): value is T`
|
|
32
33
|
* guards rather than Zod: this file is compiled into a browser bundle, and it must not drag the server's
|
|
33
34
|
* schema graph in behind it.
|
|
34
35
|
*/
|
|
@@ -69,6 +70,18 @@ const PAYMENTS_UNREACHABLE = {
|
|
|
69
70
|
message: "We couldn't reach the store.",
|
|
70
71
|
action: "Check your connection, then try again."
|
|
71
72
|
};
|
|
73
|
+
/**
|
|
74
|
+
* The request would have left this app's backend, so it was never sent.
|
|
75
|
+
*
|
|
76
|
+
* Reached through a `basePath` that is not a rooted path, or an `origin` that is not a bare http(s) origin.
|
|
77
|
+
* Appended to an origin, `evil.example` or `//evil.example` names a different host, and the bearer session's
|
|
78
|
+
* `fetch` would hand it the credential.
|
|
79
|
+
*/
|
|
80
|
+
const PAYMENTS_CROSS_ORIGIN = {
|
|
81
|
+
code: "client/cross_origin",
|
|
82
|
+
message: "That request would have left this app's backend, so it wasn't sent.",
|
|
83
|
+
action: "Check the payments `basePath` in pithy.config.ts, which is a path on the worker and not a URL, and the client's `origin`, which is a scheme and host with no path."
|
|
84
|
+
};
|
|
72
85
|
/** The worker answered with something this client cannot read. A proxy's HTML page, or a shape change. */
|
|
73
86
|
const PAYMENTS_UNREADABLE = {
|
|
74
87
|
code: "client/unreadable",
|
|
@@ -197,7 +210,46 @@ function readFailure(body) {
|
|
|
197
210
|
};
|
|
198
211
|
}
|
|
199
212
|
/**
|
|
200
|
-
*
|
|
213
|
+
* Whether a configured origin is a bare http(s) origin: a scheme, a host, an optional port, nothing else.
|
|
214
|
+
*
|
|
215
|
+
* A regular expression rather than `new URL`, because React Native's `URL` does not implement the getters a
|
|
216
|
+
* parsed check would read. Userinfo, a path, a query, a fragment, a backslash and whitespace are all refused, so
|
|
217
|
+
* the composed URL can only ever name this host. `@pithy-sh/auth` and `@pithy-sh/organization` apply the same
|
|
218
|
+
* rule.
|
|
219
|
+
*/
|
|
220
|
+
function isBareOrigin(origin) {
|
|
221
|
+
return /^https?:\/\/[A-Za-z0-9.-]+(?::[0-9]{1,5})?$|^https?:\/\/\[[0-9A-Fa-f:.]+\](?::[0-9]{1,5})?$/.test(origin);
|
|
222
|
+
}
|
|
223
|
+
/**
|
|
224
|
+
* Whether a composed path stays on the origin it is appended to.
|
|
225
|
+
*
|
|
226
|
+
* A rooted path, and not `//host` or `/\host`: a URL parser reads either as an authority rather than a path.
|
|
227
|
+
*/
|
|
228
|
+
function isRootedPath(path) {
|
|
229
|
+
if (!path.startsWith("/")) return false;
|
|
230
|
+
const second = path.charAt(1);
|
|
231
|
+
return second !== "/" && second !== "\\";
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Where a request goes and which cookie policy it carries, or why it may not be sent.
|
|
235
|
+
*
|
|
236
|
+
* No origin is the cookie transport, unchanged: a relative URL and `include`. An origin is the bearer
|
|
237
|
+
* transport: an absolute URL, checked to stay on that origin, and `omit`.
|
|
238
|
+
*/
|
|
239
|
+
function requestTarget(path, origin) {
|
|
240
|
+
if (origin === void 0) return {
|
|
241
|
+
url: path,
|
|
242
|
+
credentials: "include"
|
|
243
|
+
};
|
|
244
|
+
if (!isBareOrigin(origin)) return { failure: PAYMENTS_CROSS_ORIGIN };
|
|
245
|
+
if (!isRootedPath(path)) return { failure: PAYMENTS_CROSS_ORIGIN };
|
|
246
|
+
return {
|
|
247
|
+
url: `${origin}${path}`,
|
|
248
|
+
credentials: "omit"
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* One call to this Worker, never throwing. **The only producer of that request.**
|
|
201
253
|
*
|
|
202
254
|
* The body is read before the status is judged, because a refusal's body is the failure a screen renders.
|
|
203
255
|
* A body that will not parse is the generic failure rather than a crash — a corporate proxy's HTML page
|
|
@@ -215,17 +267,21 @@ function readFailure(body) {
|
|
|
215
267
|
* dragging the Worker's schema graph in behind it would break their build.
|
|
216
268
|
*/
|
|
217
269
|
async function callPayments(path, init, options, guard) {
|
|
270
|
+
const target = requestTarget(`${options?.basePath ?? "/payments"}${path}`, options?.origin);
|
|
271
|
+
if ("failure" in target) return {
|
|
272
|
+
ok: false,
|
|
273
|
+
failure: target.failure
|
|
274
|
+
};
|
|
218
275
|
const fetcher = options?.fetch ?? globals(options).fetch;
|
|
219
276
|
if (!fetcher) return {
|
|
220
277
|
ok: false,
|
|
221
278
|
failure: PAYMENTS_UNREACHABLE
|
|
222
279
|
};
|
|
223
|
-
const base = options?.basePath ?? "/payments";
|
|
224
280
|
let response;
|
|
225
281
|
try {
|
|
226
|
-
response = await fetcher(
|
|
282
|
+
response = await fetcher(target.url, {
|
|
227
283
|
...init,
|
|
228
|
-
credentials:
|
|
284
|
+
credentials: target.credentials
|
|
229
285
|
});
|
|
230
286
|
} catch {
|
|
231
287
|
return {
|
|
@@ -472,4 +528,4 @@ function returnedCheckoutSession(options) {
|
|
|
472
528
|
return value === null || value === "" ? null : value;
|
|
473
529
|
}
|
|
474
530
|
//#endregion
|
|
475
|
-
export { CHECKOUT_SESSION_PARAM, PAYMENTS_BASE_PATH, PAYMENTS_HOSTED_RAILS, PAYMENTS_NO_BROWSER, PAYMENTS_UNREACHABLE, PAYMENTS_UNREADABLE, STORE_SUBSCRIPTION_URLS, callPayments, createCheckout, createPortal, getAllowances, getEntitlements, isEntitlementView, isPurchaseView, openBillingPortal, openStoreSubscriptions, restorePurchases, resumeCheckout, returnedCheckoutSession, startCheckout, submitPurchase };
|
|
531
|
+
export { CHECKOUT_SESSION_PARAM, PAYMENTS_BASE_PATH, PAYMENTS_CROSS_ORIGIN, PAYMENTS_HOSTED_RAILS, PAYMENTS_NO_BROWSER, PAYMENTS_UNREACHABLE, PAYMENTS_UNREADABLE, STORE_SUBSCRIPTION_URLS, callPayments, createCheckout, createPortal, getAllowances, getEntitlements, isEntitlementView, isPurchaseView, openBillingPortal, openStoreSubscriptions, restorePurchases, resumeCheckout, returnedCheckoutSession, startCheckout, submitPurchase };
|
package/dist/client/hooks.d.ts
CHANGED
|
@@ -109,7 +109,7 @@ export interface UseCheckout {
|
|
|
109
109
|
*
|
|
110
110
|
* Null on a redirect rail, because the browser has already left and there is nothing for a screen to
|
|
111
111
|
* hold. Pass it to {@link usePaddleCheckout}, which opens it; a screen that never composes Paddle reads
|
|
112
|
-
* null forever and
|
|
112
|
+
* null forever and never needs to read it.
|
|
113
113
|
*/
|
|
114
114
|
handoff: PaddleCheckoutHandoff | null;
|
|
115
115
|
}
|
|
@@ -144,20 +144,16 @@ export interface UsePaddleCheckout {
|
|
|
144
144
|
/**
|
|
145
145
|
* Open the handoff {@link useCheckout} produced, with Paddle.js, over this page or inside it.
|
|
146
146
|
*
|
|
147
|
-
* **
|
|
148
|
-
* Inline checkout renders into an element the screen provides, and Paddle finds it by class name at
|
|
149
|
-
* moment `open` is called. Called from the handler that starts the checkout, the container React is about
|
|
147
|
+
* **After the render that revealed the container, which is why this is a hook rather than a line in a click
|
|
148
|
+
* handler.** Inline checkout renders into an element the screen provides, and Paddle finds it by class name at
|
|
149
|
+
* the moment `open` is called. Called from the handler that starts the checkout, the container React is about
|
|
150
150
|
* to render does not exist yet — and what Paddle does then is throw `TypeError: Cannot read properties of
|
|
151
|
-
* undefined (reading 'appendChild')` out of the click, which is not a sentence anyone can act on.
|
|
152
|
-
*
|
|
151
|
+
* undefined (reading 'appendChild')` out of the click, which is not a sentence anyone can act on. A read runs
|
|
152
|
+
* after the commit, so the element is there.
|
|
153
153
|
*
|
|
154
|
-
* One open per handoff
|
|
155
|
-
*
|
|
156
|
-
*
|
|
157
|
-
* cleans it up and runs it again, and that is the mode `pithy ui add` scaffolds: `client.tsx` wraps the
|
|
158
|
-
* router in it. So the transaction that has been opened is remembered, rather than the effect trusting
|
|
159
|
-
* that it runs once. The remembered id is the last one opened, not a flag — a buyer who closed the
|
|
160
|
-
* overlay and clicked Buy again arrives with a new transaction, and that one must open.
|
|
154
|
+
* One open per handoff, keyed on its transaction id and run once per key, so a re-render, a second mount under
|
|
155
|
+
* `StrictMode` (the mode `pithy ui add` scaffolds) and an inline handoff object all open one checkout. A buyer who
|
|
156
|
+
* closed the overlay and clicked Buy again arrives with a new transaction, and that one opens.
|
|
161
157
|
*/
|
|
162
158
|
export declare function usePaddleCheckout(handoff: PaddleCheckoutHandoff | null, options?: PaddleCheckoutOptions): UsePaddleCheckout;
|
|
163
159
|
/** What {@link usePaddleLink} gives the screen a Paddle payment link lands on. */
|
|
@@ -167,7 +163,7 @@ export interface UsePaddleLink {
|
|
|
167
163
|
*
|
|
168
164
|
* Null covers three different facts and deliberately reads as one: there was no `_ptxn` in the URL, there
|
|
169
165
|
* was one and it was not a transaction id, or the server has not answered yet. A screen renders its
|
|
170
|
-
* ordinary state for all three
|
|
166
|
+
* ordinary state for all three.
|
|
171
167
|
*/
|
|
172
168
|
handoff: PaddleCheckoutHandoff | null;
|
|
173
169
|
/** Whether the resume read is in flight. A screen with nothing to show need not read it. */
|
|
@@ -185,30 +181,27 @@ export interface UsePaddleLink {
|
|
|
185
181
|
* one already exists.
|
|
186
182
|
*
|
|
187
183
|
* **Pass the result to {@link usePaddleCheckout}, which opens it.** Nothing about opening is reimplemented
|
|
188
|
-
* here, and that is the point: the one-open-per-transaction
|
|
189
|
-
*
|
|
190
|
-
* same hook the minted path goes through.
|
|
184
|
+
* here, and that is the point: the one-open-per-transaction rule and the `PADDLE_NO_CONTAINER` refusal when
|
|
185
|
+
* an inline container is missing are inherited by going through the same hook the minted path goes through.
|
|
191
186
|
*
|
|
192
187
|
* **In inline mode the page must already render the container.** Paddle finds it by class name when `open`
|
|
193
188
|
* is called, so a Default payment link pointing at a page that does not render one produces a refusal
|
|
194
189
|
* rather than a checkout — which makes the choice of landing page part of configuring this, not a detail.
|
|
195
190
|
* `docs/paddle.md` says so where an adopter sets the link.
|
|
196
191
|
*
|
|
197
|
-
* Reads `location.search` once, on mount
|
|
198
|
-
*
|
|
199
|
-
* **One read per transaction, remembered rather than assumed.** The same rule {@link usePaddleCheckout}
|
|
200
|
-
* states and for the same reason: `StrictMode` runs every effect, cleans it up and runs it again, and that
|
|
201
|
-
* is the mode `pithy ui add` scaffolds. Without the ref this asked the server twice on every mount — not
|
|
202
|
-
* harmful, since the route only echoes config, and still two requests where the file beside it had already
|
|
203
|
-
* solved the problem.
|
|
192
|
+
* Reads `location.search` once, on mount, and asks the server once per transaction, `StrictMode` included. A
|
|
193
|
+
* link is a navigation, so there is no later arrival to watch for.
|
|
204
194
|
*/
|
|
205
195
|
export declare function usePaddleLink(options?: PaymentsClientOptions): UsePaddleLink;
|
|
206
196
|
/** What {@link usePurchase} gives the screen that submits receipts. */
|
|
207
197
|
export interface UsePurchase {
|
|
208
|
-
/**
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
198
|
+
/**
|
|
199
|
+
* Submit one receipt for verification. Resolves `true` when the Worker accepted it: a native app finishes the
|
|
200
|
+
* store's transaction only then, so a refused one stays with the store to be submitted again.
|
|
201
|
+
*/
|
|
202
|
+
submit: (rail: PaymentsClientRail, receipt: string) => Promise<boolean>;
|
|
203
|
+
/** Submit a store account's whole history on one rail — Restore Purchases. Resolves `true` when accepted. */
|
|
204
|
+
restore: (rail: PaymentsClientRail, receipts: readonly string[]) => Promise<boolean>;
|
|
212
205
|
/** The purchase the last successful submission projected, or null. */
|
|
213
206
|
purchase: PurchaseView | null;
|
|
214
207
|
/** The caller's entitlements as of the last successful write. */
|
|
@@ -280,20 +273,15 @@ export interface UsePricePreview {
|
|
|
280
273
|
* $5.44 in New York, $5.75 in Chicago, $5.00 in Berlin including €0.80 of VAT, and ¥725 in Tokyo without
|
|
281
274
|
* a table of tax rates aging in somebody's repository.
|
|
282
275
|
*
|
|
283
|
-
* `query` may be written inline. The
|
|
284
|
-
*
|
|
276
|
+
* `query` may be written inline. The read is keyed on {@link priceQueryKey} rather than on the object, so an
|
|
277
|
+
* object literal re-created on every render re-quotes when the request changed and not before.
|
|
285
278
|
*
|
|
286
|
-
* A failure clears the previous quote rather than leaving it
|
|
287
|
-
* value on a refusal, and this one deliberately does not: a re-quote happens because the *request*
|
|
279
|
+
* A failure clears the previous quote rather than leaving it, because a re-quote happens when the *request*
|
|
288
280
|
* changed, so the value it would be keeping is a price for something else.
|
|
289
281
|
*
|
|
290
|
-
* **Only the latest quote is rendered, whichever answers first.**
|
|
291
|
-
* an anonymous visitor's location
|
|
292
|
-
*
|
|
293
|
-
* screen whose entire job is showing a correct one. Superseded answers are *ignored*, not canceled:
|
|
294
|
-
* Paddle.js's `PricePreview` takes no `AbortSignal` and hands back a bare promise, so there is nothing to
|
|
295
|
-
* cancel and ignoring it is the whole of the fix. A superseded refusal is ignored the same way, which is
|
|
296
|
-
* what stops a dead request blanking a price the visitor is already reading.
|
|
282
|
+
* **Only the latest quote is rendered, whichever answers first.** A slower quote for an address the visitor
|
|
283
|
+
* has left — an anonymous visitor's location resolving under the query, or a country picker moving — is
|
|
284
|
+
* discarded rather than rendered, and so is a superseded refusal.
|
|
297
285
|
*/
|
|
298
286
|
export declare function usePricePreview(setup: PaddleSetup | null, query: PaddlePriceQuery, options?: PaddleOptions): UsePricePreview;
|
|
299
287
|
//# sourceMappingURL=hooks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/client/hooks.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../src/client/hooks.ts"],"names":[],"mappings":"AAMA,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,eAAe,EAMpB,KAAK,qBAAqB,EAC1B,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EAEvB,KAAK,YAAY,EAKlB,MAAM,OAAO,CAAC;AACf,OAAO,EAAsB,KAAK,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAC5E,OAAO,EAEL,KAAK,QAAQ,EACb,KAAK,aAAa,EAClB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,YAAY,EAGlB,MAAM,UAAU,CAAC;AAkElB,kDAAkD;AAClD,MAAM,WAAW,cAAc;IAC7B,kGAAkG;IAClG,QAAQ,EAAE,OAAO,CAAC;IAClB,iDAAiD;IACjD,OAAO,EAAE,OAAO,CAAC;IACjB;;;;;;OAMG;IACH,WAAW,EAAE,eAAe,GAAG,IAAI,CAAC;IACpC,mDAAmD;IACnD,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,qBAAqB,GAAG,cAAc,CAY3F;AAED,yDAAyD;AACzD,MAAM,WAAW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