@tiducto/spider-sdk-typescript 0.7.0 → 1.0.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 +1 -1
- package/dist/contract/routing/PlanConnectionStreamVariables.d.ts +2 -2
- package/dist/contract/routing/PlanConnectionStreamVariables.d.ts.map +1 -1
- package/dist/contract/routing/Route.d.ts +3 -0
- package/dist/contract/routing/Route.d.ts.map +1 -1
- package/dist/contract/routing/Stop.d.ts +2 -0
- package/dist/contract/routing/Stop.d.ts.map +1 -1
- package/dist/contract/routing/StopDeparturesData.d.ts +3 -3
- package/dist/contract/routing/StopDeparturesData.d.ts.map +1 -1
- package/dist/contract/routing/StopDeparturesRoute.d.ts +3 -0
- package/dist/contract/routing/StopDeparturesRoute.d.ts.map +1 -1
- package/dist/contract/routing/StopDeparturesStop.d.ts +1 -5
- package/dist/contract/routing/StopDeparturesStop.d.ts.map +1 -1
- package/dist/contract/routing/StopDeparturesStop2.d.ts +9 -0
- package/dist/contract/routing/StopDeparturesStop2.d.ts.map +1 -0
- package/dist/contract/routing/StopDeparturesStop2.js +2 -0
- package/dist/contract/routing/StopDeparturesStop2.js.map +1 -0
- package/dist/contract/routing/StopDeparturesStoptime.d.ts +14 -0
- package/dist/contract/routing/StopDeparturesStoptime.d.ts.map +1 -0
- package/dist/contract/routing/StopDeparturesStoptime.js +2 -0
- package/dist/contract/routing/StopDeparturesStoptime.js.map +1 -0
- package/dist/contract/routing/StopDeparturesTrip.d.ts +2 -0
- package/dist/contract/routing/StopDeparturesTrip.d.ts.map +1 -1
- package/dist/contract/routing/StopDeparturesVariables.d.ts +2 -2
- package/dist/contract/routing/StopDeparturesVariables.d.ts.map +1 -1
- package/dist/contract/routing/Stoptime.d.ts +4 -3
- package/dist/contract/routing/Stoptime.d.ts.map +1 -1
- package/dist/contract/routing/TripRoute.d.ts +3 -0
- package/dist/contract/routing/TripRoute.d.ts.map +1 -1
- package/dist/contract/routing/TripStop.d.ts +2 -0
- package/dist/contract/routing/TripStop.d.ts.map +1 -1
- package/dist/contract/routing/TripTrip.d.ts +4 -2
- package/dist/contract/routing/TripTrip.d.ts.map +1 -1
- package/dist/contract/routing/index.d.ts +2 -1
- package/dist/contract/routing/index.d.ts.map +1 -1
- package/dist/contract.d.ts +0 -1
- package/dist/contract.d.ts.map +1 -1
- package/dist/contract.js +0 -12
- package/dist/contract.js.map +1 -1
- package/dist/contractVersion.d.ts +1 -1
- package/dist/contractVersion.js +1 -1
- package/dist/enums.d.ts +11 -4
- package/dist/enums.d.ts.map +1 -1
- package/dist/enums.js +43 -24
- package/dist/enums.js.map +1 -1
- package/dist/errors.d.ts +30 -10
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +55 -18
- package/dist/errors.js.map +1 -1
- package/dist/http.d.ts +14 -0
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +18 -30
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts +2 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -1
- package/dist/index.js.map +1 -1
- package/dist/location.d.ts +4 -0
- package/dist/location.d.ts.map +1 -1
- package/dist/location.js +4 -0
- package/dist/location.js.map +1 -1
- package/dist/persistedQueries.js +4 -4
- package/dist/realtime.d.ts +6 -2
- package/dist/realtime.d.ts.map +1 -1
- package/dist/realtime.js +21 -14
- package/dist/realtime.js.map +1 -1
- package/dist/routing.d.ts +91 -73
- package/dist/routing.d.ts.map +1 -1
- package/dist/routing.js +149 -145
- package/dist/routing.js.map +1 -1
- package/dist/sdk.d.ts +1 -1
- package/dist/sdkVersion.d.ts +1 -1
- package/dist/sdkVersion.js +1 -1
- package/dist/serviceDate.d.ts +6 -0
- package/dist/serviceDate.d.ts.map +1 -0
- package/dist/serviceDate.js +17 -0
- package/dist/serviceDate.js.map +1 -0
- package/dist/stops.d.ts +12 -1
- package/dist/stops.d.ts.map +1 -1
- package/dist/stops.js +15 -6
- package/dist/stops.js.map +1 -1
- package/package.json +1 -1
- package/dist/contract/routing/TripStoptime.d.ts +0 -13
- package/dist/contract/routing/TripStoptime.d.ts.map +0 -1
- package/dist/contract/routing/TripStoptime.js +0 -2
- package/dist/contract/routing/TripStoptime.js.map +0 -1
package/dist/routing.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import type { Transport } from './http.ts';
|
|
2
2
|
import type { SpiderResult } from './result.ts';
|
|
3
3
|
import type { SpiderError } from './errors.ts';
|
|
4
|
-
import type { BikesAllowed, TransitMode, WheelchairBoarding } from './enums.ts';
|
|
4
|
+
import type { BikesAllowed, InputField, RealtimeState, RoutingErrorCode, TransitMode, WheelchairBoarding } from './enums.ts';
|
|
5
5
|
import type { Location, ViaLocation } from './location.ts';
|
|
6
|
-
import type { RoutingErrorCode, InputField, RealtimeState } from './contract/routing/index.ts';
|
|
7
6
|
export interface LatLon {
|
|
8
7
|
readonly lat: number;
|
|
9
8
|
readonly lon: number;
|
|
@@ -22,12 +21,24 @@ export interface Leg {
|
|
|
22
21
|
readonly endDelaySeconds: number | null;
|
|
23
22
|
readonly isRealtime: boolean;
|
|
24
23
|
readonly realtimeState: RealtimeState | null;
|
|
25
|
-
/** GTFS service date this leg's trip runs on (`
|
|
24
|
+
/** GTFS service date this leg's trip runs on (ISO `YYYY-MM-DD`) — pass to realtime `delays` lookups. */
|
|
26
25
|
readonly serviceDate: string | null;
|
|
27
26
|
readonly fromName: string | null;
|
|
28
27
|
readonly toName: string | null;
|
|
28
|
+
/** Stop ids of the leg's endpoints; null for a coordinate endpoint. */
|
|
29
|
+
readonly fromGtfsId: string | null;
|
|
30
|
+
readonly toGtfsId: string | null;
|
|
31
|
+
readonly fromPlatformCode: string | null;
|
|
32
|
+
readonly toPlatformCode: string | null;
|
|
33
|
+
readonly fromZoneId: string | null;
|
|
34
|
+
readonly toZoneId: string | null;
|
|
35
|
+
readonly routeGtfsId: string | null;
|
|
29
36
|
readonly routeShortName: string | null;
|
|
30
37
|
readonly routeLongName: string | null;
|
|
38
|
+
/** Route colour as the feed gives it: GTFS hex without `#`, e.g. `FF0000`. */
|
|
39
|
+
readonly routeColor: string | null;
|
|
40
|
+
/** Route text colour as the feed gives it: GTFS hex without `#`, e.g. `FFFFFF`. */
|
|
41
|
+
readonly routeTextColor: string | null;
|
|
31
42
|
readonly headsign: string | null;
|
|
32
43
|
readonly distanceMeters: number | null;
|
|
33
44
|
readonly durationSeconds: number | null;
|
|
@@ -61,6 +72,10 @@ export interface RoutePageInfo {
|
|
|
61
72
|
export interface RoutingError {
|
|
62
73
|
readonly code: RoutingErrorCode;
|
|
63
74
|
readonly description: string;
|
|
75
|
+
/**
|
|
76
|
+
* The input the error is about, when there is one. A `LOCATION_NOT_FOUND` names `FROM` (origin), `TO`
|
|
77
|
+
* (destination) or `VIA` (a via stop id the environment doesn't know).
|
|
78
|
+
*/
|
|
64
79
|
readonly inputField: InputField | null;
|
|
65
80
|
}
|
|
66
81
|
export interface Route {
|
|
@@ -71,34 +86,24 @@ export interface Route {
|
|
|
71
86
|
}
|
|
72
87
|
/**
|
|
73
88
|
* One event from {@link SpiderRouting.planStream}. The router sweeps the search window forward and pushes
|
|
74
|
-
* itineraries as
|
|
75
|
-
*
|
|
89
|
+
* finalized itineraries as `result`s; a terminal `done` carries the continuation {@link RoutePageInfo}. A
|
|
90
|
+
* `failure` is terminal and takes the place of the rest.
|
|
76
91
|
*/
|
|
77
92
|
export type PlanStreamEvent = {
|
|
78
93
|
/** A batch of finalized itineraries as the search frontier advances (with realtime delays on their legs). */
|
|
79
|
-
readonly
|
|
80
|
-
/** How far (seconds from the search start) the window has swept. */
|
|
81
|
-
readonly frontierSeconds: number;
|
|
82
|
-
/** Running count of itineraries discovered so far. */
|
|
83
|
-
readonly found: number;
|
|
84
|
-
/** Count of itineraries committed (finalized) so far. */
|
|
85
|
-
readonly finalized: number;
|
|
94
|
+
readonly type: 'result';
|
|
86
95
|
readonly itineraries: readonly Itinerary[];
|
|
87
96
|
} | {
|
|
88
|
-
/**
|
|
89
|
-
|
|
97
|
+
/** Terminal: the continuation cursors, mirroring {@link Route.pageInfo}. Continue with
|
|
98
|
+
* {@link SpiderRouting.planStreamNext} (`endCursor`) or {@link SpiderRouting.planStreamPrevious}
|
|
99
|
+
* (`startCursor`), gated on `hasNextPage` / `hasPreviousPage`. */
|
|
100
|
+
readonly type: 'done';
|
|
90
101
|
readonly pageInfo: RoutePageInfo;
|
|
102
|
+
/** Why the sweep found nothing, mirroring {@link Route.routingErrors}; empty when there is nothing to report. */
|
|
103
|
+
readonly routingErrors: readonly RoutingError[];
|
|
91
104
|
} | {
|
|
92
|
-
/** Terminal
|
|
93
|
-
readonly
|
|
94
|
-
readonly iterations: number;
|
|
95
|
-
readonly windowSeconds: number;
|
|
96
|
-
readonly resultCount: number;
|
|
97
|
-
/** Why the sweep stopped (e.g. `targetResults` or `maxWindow`). */
|
|
98
|
-
readonly stoppedBy: string;
|
|
99
|
-
} | {
|
|
100
|
-
/** Terminal failure — a transport/HTTP problem, a decoding error, or a server `error` event. */
|
|
101
|
-
readonly kind: 'failure';
|
|
105
|
+
/** Terminal failure — a transport/HTTP problem, a decoding error, or a server `error` event (`bad_request` for malformed input). */
|
|
106
|
+
readonly type: 'failure';
|
|
102
107
|
readonly error: SpiderError;
|
|
103
108
|
};
|
|
104
109
|
export interface Departure {
|
|
@@ -108,9 +113,20 @@ export interface Departure {
|
|
|
108
113
|
readonly realtimeState: RealtimeState | null;
|
|
109
114
|
readonly headsign: string | null;
|
|
110
115
|
readonly tripGtfsId: string | null;
|
|
116
|
+
/** GTFS service date the trip runs on (ISO `YYYY-MM-DD`) — pass it to {@link SpiderRouting.trip} and realtime `delays`. */
|
|
117
|
+
readonly serviceDate: string;
|
|
118
|
+
readonly routeGtfsId: string | null;
|
|
111
119
|
readonly routeShortName: string | null;
|
|
112
120
|
readonly routeLongName: string | null;
|
|
121
|
+
/** Route colour as the feed gives it: GTFS hex without `#`, e.g. `FF0000`. */
|
|
122
|
+
readonly routeColor: string | null;
|
|
123
|
+
/** Route text colour as the feed gives it: GTFS hex without `#`, e.g. `FFFFFF`. */
|
|
124
|
+
readonly routeTextColor: string | null;
|
|
113
125
|
readonly mode: TransitMode | null;
|
|
126
|
+
/** The stop this departure leaves from: the board's own stop, or one of a station's platforms. */
|
|
127
|
+
readonly stopGtfsId: string | null;
|
|
128
|
+
readonly platformCode: string | null;
|
|
129
|
+
readonly wheelchairAccessible: WheelchairBoarding | null;
|
|
114
130
|
}
|
|
115
131
|
export interface TripStop {
|
|
116
132
|
readonly gtfsId: string;
|
|
@@ -123,15 +139,25 @@ export interface TripStop {
|
|
|
123
139
|
readonly realtimeDepartureEpochMs: number | null;
|
|
124
140
|
readonly isRealtime: boolean;
|
|
125
141
|
readonly wheelchairBoarding: WheelchairBoarding | null;
|
|
142
|
+
readonly platformCode: string | null;
|
|
143
|
+
readonly zoneId: string | null;
|
|
126
144
|
}
|
|
127
145
|
export interface TripDetails {
|
|
128
146
|
readonly gtfsId: string;
|
|
147
|
+
/** GTFS service date of this trip instance (ISO `YYYY-MM-DD`); null when the trip has no stop times on it. */
|
|
148
|
+
readonly serviceDate: string | null;
|
|
149
|
+
readonly routeGtfsId: string | null;
|
|
129
150
|
readonly routeShortName: string | null;
|
|
130
151
|
readonly routeLongName: string | null;
|
|
152
|
+
/** Route colour as the feed gives it: GTFS hex without `#`, e.g. `FF0000`. */
|
|
153
|
+
readonly routeColor: string | null;
|
|
154
|
+
/** Route text colour as the feed gives it: GTFS hex without `#`, e.g. `FFFFFF`. */
|
|
155
|
+
readonly routeTextColor: string | null;
|
|
131
156
|
readonly mode: TransitMode | null;
|
|
132
157
|
readonly headsign: string | null;
|
|
133
158
|
readonly directionId: string | null;
|
|
134
159
|
readonly bikesAllowed: BikesAllowed | null;
|
|
160
|
+
readonly wheelchairAccessible: WheelchairBoarding | null;
|
|
135
161
|
readonly stops: readonly TripStop[];
|
|
136
162
|
readonly geometry: readonly LatLon[];
|
|
137
163
|
}
|
|
@@ -143,32 +169,20 @@ export interface PlanOptions {
|
|
|
143
169
|
readonly via?: readonly ViaLocation[];
|
|
144
170
|
/** Restrict routing to these transit modes. Undefined/empty = no filter (all modes); WALK/UNKNOWN drop out. */
|
|
145
171
|
readonly allowedTransitModes?: readonly TransitMode[];
|
|
146
|
-
/**
|
|
172
|
+
/** Most transfers in any itinerary (0 = direct only), up to the environment's limit. Undefined = that limit. */
|
|
147
173
|
readonly maxTransfers?: number;
|
|
148
174
|
/**
|
|
149
|
-
* Search window in minutes (default 60). Always sent, deliberately not
|
|
150
|
-
* window — predictable cost + paging. Widen for sparse/intercity routes.
|
|
175
|
+
* Search window in minutes (default 60), up to the environment's limit. Always sent, deliberately not a
|
|
176
|
+
* dynamic route-dependent window — predictable cost + paging. Widen for sparse/intercity routes.
|
|
151
177
|
*/
|
|
152
178
|
readonly searchWindowMinutes?: number;
|
|
153
179
|
/** Prefer wheelchair-accessible routing. */
|
|
154
180
|
readonly wheelchairAccessible?: boolean;
|
|
155
181
|
}
|
|
156
|
-
/** Options for the streaming `planUntil` — the plan filters plus the walk's bounds. `searchWindowMinutes` is the step. */
|
|
157
|
-
export interface PlanStreamOptions extends PlanOptions {
|
|
158
|
-
/** Stop once ~this many itineraries have been collected (soft — the window that reaches it is yielded whole). */
|
|
159
|
-
readonly targetResults?: number;
|
|
160
|
-
/** Stop after stepping through this much total time (default 360 = 6h). `searchWindowMinutes` is the step size. */
|
|
161
|
-
readonly maxTraversalMinutes?: number;
|
|
162
|
-
}
|
|
163
|
-
/** Bounds for the streaming continuations `planNextUntil` / `planPreviousUntil` (the step is fixed from `prev`). */
|
|
164
|
-
export interface PlanStreamPageOptions {
|
|
165
|
-
readonly targetResults?: number;
|
|
166
|
-
readonly maxTraversalMinutes?: number;
|
|
167
|
-
}
|
|
168
182
|
/**
|
|
169
|
-
* Options for {@link SpiderRouting.planStream} — the server-push SSE stream
|
|
170
|
-
*
|
|
171
|
-
*
|
|
183
|
+
* Options for {@link SpiderRouting.planStream} and its continuations — the server-push SSE stream that opens one
|
|
184
|
+
* long-lived Server-Sent Events request and pushes itineraries (with realtime delays) as the router sweeps the
|
|
185
|
+
* window forward. The continuation methods take these same options plus a raw cursor string.
|
|
172
186
|
*/
|
|
173
187
|
export interface PlanStreamRequestOptions {
|
|
174
188
|
readonly origin: Location;
|
|
@@ -179,17 +193,21 @@ export interface PlanStreamRequestOptions {
|
|
|
179
193
|
readonly allowedTransitModes?: readonly TransitMode[];
|
|
180
194
|
readonly maxTransfers?: number;
|
|
181
195
|
readonly wheelchairAccessible?: boolean;
|
|
182
|
-
/**
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
196
|
+
/**
|
|
197
|
+
* Soft floor: the sweep keeps going until at least this many itineraries are found. From 1 up to the
|
|
198
|
+
* environment's result count.
|
|
199
|
+
*/
|
|
200
|
+
readonly targetResults: number;
|
|
201
|
+
/**
|
|
202
|
+
* How far the sweep may search, in minutes: at least 120 (2 h), up to the environment's search-window limit.
|
|
203
|
+
* A smaller value fails as `bad_request` on `maxWindow` before any request.
|
|
204
|
+
*/
|
|
205
|
+
readonly maxWindowMinutes: number;
|
|
190
206
|
}
|
|
191
207
|
export interface DeparturesOptions {
|
|
208
|
+
/** Departures from this time on (default now). */
|
|
192
209
|
readonly startTime?: number | Date;
|
|
210
|
+
/** How far ahead to look, in seconds: above 0, up to 86400 (24 h, the default). */
|
|
193
211
|
readonly timeRangeSeconds?: number;
|
|
194
212
|
}
|
|
195
213
|
export declare class SpiderRouting {
|
|
@@ -199,38 +217,38 @@ export declare class SpiderRouting {
|
|
|
199
217
|
/**
|
|
200
218
|
* Streams itineraries over Server-Sent Events as the router sweeps the search window forward, emitting them
|
|
201
219
|
* as they finalize instead of one batched page. Lazy and cancellable: iteration opens the request, and
|
|
202
|
-
* `break`ing out of the `for await` cancels the underlying stream. Each `
|
|
203
|
-
* with realtime delays already on their legs; a `
|
|
204
|
-
*
|
|
205
|
-
*
|
|
220
|
+
* `break`ing out of the `for await` cancels the underlying stream. Each `result` event carries itineraries
|
|
221
|
+
* with realtime delays already on their legs; a terminal `done` event then carries the continuation
|
|
222
|
+
* {@link RoutePageInfo} and any `routingErrors` (or a terminal `failure`). Never throws — transport, HTTP and
|
|
223
|
+
* request errors surface as a `failure` event.
|
|
206
224
|
*
|
|
207
|
-
* `targetResults`
|
|
208
|
-
*
|
|
209
|
-
*
|
|
225
|
+
* `targetResults` (a soft floor the sweep aims to reach) and `maxWindowMinutes` (how far it may search, at
|
|
226
|
+
* least 2 h) are required. This opens a fresh stream; to continue, call {@link planStreamNext} with
|
|
227
|
+
* `done.pageInfo.endCursor` (when `hasNextPage`) or {@link planStreamPrevious} with `done.pageInfo.startCursor`
|
|
228
|
+
* (when `hasPreviousPage`). For a single batched page instead, use {@link plan}.
|
|
210
229
|
*/
|
|
211
230
|
planStream(options: PlanStreamRequestOptions): AsyncGenerator<PlanStreamEvent>;
|
|
231
|
+
/**
|
|
232
|
+
* Continues a stream forward from a prior `done` event's `endCursor`. Takes the same options as
|
|
233
|
+
* {@link planStream} (so `targetResults` / `maxWindowMinutes` can vary per continuation) plus the raw cursor.
|
|
234
|
+
* Call only when the prior `done.pageInfo.hasNextPage` was true.
|
|
235
|
+
*/
|
|
236
|
+
planStreamNext(options: PlanStreamRequestOptions, after: string): AsyncGenerator<PlanStreamEvent>;
|
|
237
|
+
/**
|
|
238
|
+
* Continues a stream backward from a prior `done` event's `startCursor`. Takes the same options as
|
|
239
|
+
* {@link planStream} plus the raw cursor. Call only when the prior `done.pageInfo.hasPreviousPage` was true.
|
|
240
|
+
*/
|
|
241
|
+
planStreamPrevious(options: PlanStreamRequestOptions, before: string): AsyncGenerator<PlanStreamEvent>;
|
|
242
|
+
private streamVariables;
|
|
212
243
|
private openPlanStream;
|
|
213
244
|
planNext(route: Route): Promise<SpiderResult<Route> | null>;
|
|
214
245
|
planPrevious(route: Route): Promise<SpiderResult<Route> | null>;
|
|
215
246
|
/**
|
|
216
|
-
*
|
|
217
|
-
*
|
|
218
|
-
* whole window in one search, so a busy window yields more — `targetResults` is a soft floor, the window
|
|
219
|
-
* that reaches it is yielded whole. Lazy: `for await ... break` stops stepping and skips the remaining OTP
|
|
220
|
-
* searches. Each yield is one step's `SpiderResult` (a terminal error ends the stream), matching the
|
|
221
|
-
* non-throwing poll helpers.
|
|
222
|
-
*
|
|
223
|
-
* The step is `searchWindowMinutes` and it is fixed for the whole walk — OTP locks the window into the
|
|
224
|
-
* paging cursor after the first search and ignores it thereafter, so a wider step means a wider
|
|
225
|
-
* `searchWindowMinutes` here, not on a continuation.
|
|
247
|
+
* Upcoming departures from a stop or station: `numberOfDepartures` (default 30, up to the environment's
|
|
248
|
+
* limit) within `options.timeRangeSeconds` (default 24 h) from `options.startTime` (default now).
|
|
226
249
|
*/
|
|
227
|
-
planUntil(options: PlanStreamOptions): AsyncGenerator<SpiderResult<Route>>;
|
|
228
|
-
/** Streaming form of `planNext`: steps forward from `prev`, one (fixed) search window per step. */
|
|
229
|
-
planNextUntil(prev: Route, options?: PlanStreamPageOptions): AsyncGenerator<SpiderResult<Route>>;
|
|
230
|
-
/** Streaming form of `planPrevious`: steps backward from `prev`, one (fixed) search window per step. */
|
|
231
|
-
planPreviousUntil(prev: Route, options?: PlanStreamPageOptions): AsyncGenerator<SpiderResult<Route>>;
|
|
232
|
-
private stepFrom;
|
|
233
250
|
departures(stopId: string, numberOfDepartures?: number, options?: DeparturesOptions): Promise<SpiderResult<Departure[]>>;
|
|
251
|
+
/** One trip on one service date (ISO `YYYY-MM-DD`, e.g. a {@link Departure.serviceDate}); undefined = today. */
|
|
234
252
|
trip(tripId: string, serviceDate?: string): Promise<SpiderResult<TripDetails>>;
|
|
235
253
|
private page;
|
|
236
254
|
private fetchPlan;
|
package/dist/routing.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"routing.d.ts","sourceRoot":"","sources":["../src/routing.ts"],"names":[],"mappings":"AAAA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