@mcp-abap-adt/connection 15.1.0 → 17.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.
Files changed (49) hide show
  1. package/CHANGELOG.md +187 -1
  2. package/README.md +137 -33
  3. package/dist/connection/AbstractAbapConnection.d.ts +140 -58
  4. package/dist/connection/AbstractAbapConnection.d.ts.map +1 -1
  5. package/dist/connection/AbstractAbapConnection.js +349 -255
  6. package/dist/connection/AdtCloudConnector.d.ts +6 -1
  7. package/dist/connection/AdtCloudConnector.d.ts.map +1 -1
  8. package/dist/connection/AdtCloudConnector.js +7 -2
  9. package/dist/connection/AdtOnPremConnector.d.ts +6 -1
  10. package/dist/connection/AdtOnPremConnector.d.ts.map +1 -1
  11. package/dist/connection/AdtOnPremConnector.js +7 -2
  12. package/dist/connection/CloudHttpTransport.d.ts +8 -1
  13. package/dist/connection/CloudHttpTransport.d.ts.map +1 -1
  14. package/dist/connection/CloudHttpTransport.js +30 -18
  15. package/dist/connection/CredentialAbapConnection.d.ts +3 -1
  16. package/dist/connection/CredentialAbapConnection.d.ts.map +1 -1
  17. package/dist/connection/CredentialAbapConnection.js +4 -2
  18. package/dist/connection/GenericWebSocketTransport.d.ts.map +1 -1
  19. package/dist/connection/GenericWebSocketTransport.js +7 -4
  20. package/dist/connection/HttpTransport.d.ts +80 -6
  21. package/dist/connection/HttpTransport.d.ts.map +1 -1
  22. package/dist/connection/HttpTransport.js +258 -25
  23. package/dist/connection/IAdtTransport.d.ts +46 -22
  24. package/dist/connection/IAdtTransport.d.ts.map +1 -1
  25. package/dist/connection/OnPremHttpTransport.d.ts +2 -13
  26. package/dist/connection/OnPremHttpTransport.d.ts.map +1 -1
  27. package/dist/connection/OnPremHttpTransport.js +16 -32
  28. package/dist/connection/RfcTransport.d.ts +7 -6
  29. package/dist/connection/RfcTransport.d.ts.map +1 -1
  30. package/dist/connection/RfcTransport.js +27 -49
  31. package/dist/connection/createConnection.d.ts +95 -0
  32. package/dist/connection/createConnection.d.ts.map +1 -0
  33. package/dist/connection/createConnection.js +44 -0
  34. package/dist/index.d.ts +1 -1
  35. package/dist/index.d.ts.map +1 -1
  36. package/dist/index.js +5 -5
  37. package/docs/INDEX.md +6 -2
  38. package/docs/MIGRATION-16.0.md +123 -0
  39. package/docs/MIGRATION-17.0.md +119 -0
  40. package/docs/SCOPE.md +22 -45
  41. package/docs/STATEFUL_SESSION_GUIDE.md +49 -49
  42. package/docs/USAGE.md +244 -120
  43. package/package.json +2 -2
  44. package/dist/connection/requestAbort.d.ts +0 -32
  45. package/dist/connection/requestAbort.d.ts.map +0 -1
  46. package/dist/connection/requestAbort.js +0 -69
  47. package/dist/utils/timeouts.d.ts +0 -18
  48. package/dist/utils/timeouts.d.ts.map +0 -1
  49. package/dist/utils/timeouts.js +0 -37
@@ -48,22 +48,20 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
48
48
  private profilingRequest;
49
49
  /**
50
50
  * When true, requests are treated as part of an uninterruptible critical
51
- * section (e.g. a lock → modify → unlock chain). In this state a short
52
- * per-request timeout must NOT abort the request mid-flight: the abort ends
53
- * nothing server-side — only the server ends an ABAP session, on an idle
54
- * timeout this side cannot see — it ends what this side KNOWS. Whether the
55
- * change was applied becomes unknowable, and the handle `unlock` needs is
56
- * lost while the lock lives on in that session. While set, makeAdtRequest
57
- * raises the effective timeout to CRITICAL_SECTION_TIMEOUT (a large ceiling)
58
- * so the request runs to completion instead of being interrupted.
51
+ * section (e.g. a lock → modify → unlock chain). In this state a request
52
+ * carries no deadline at all, not even the caller's: a client deadline closes
53
+ * the socket, SAP then ends the request running on it — a write in it lost —
54
+ * and what this side knew goes with it: whether the change was applied, and
55
+ * the handle `unlock` needs, while the lock lives on in that session.
59
56
  */
60
57
  /**
61
58
  * The last goodbye this connection dispatched, so a caller can wait for it.
62
59
  *
63
- * `disconnect()` sends the logoff without awaiting it, for the reason stated
64
- * there. That is right for a teardown and wrong for a caller who is about to
65
- * `connect()` again: the next session opens while the previous one's goodbye
66
- * is still being assembled, and a caller who recycles in a loop leaves one
60
+ * `disconnect()` waits for the logoff to be written, not answered, for the
61
+ * reason stated there. That is right for a teardown and wrong for a caller
62
+ * who is about to `connect()` again: the next session opens while the
63
+ * previous one's goodbye is still unanswered, and a caller who recycles in a
64
+ * loop leaves one
67
65
  * abandoned session per iteration. Measured against E19 from
68
66
  * `@mcp-abap-adt/adt-clients`: a session every 1-2 seconds for a whole test
69
67
  * run, none of them released, each surviving to its 30-minute idle timeout.
@@ -72,6 +70,32 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
72
70
  * before this, the promise was created and dropped on the floor.
73
71
  */
74
72
  private goodbye;
73
+ /**
74
+ * Whether `disconnect()` was called on this instance. A second call
75
+ * rejects: `disconnect()` is called once per instance, and a caller that calls it
76
+ * twice is told so rather than handed a success that waited for nothing.
77
+ */
78
+ private disconnectCalled;
79
+ /**
80
+ * Whether this instance's one SAP session has ended: it was disconnected,
81
+ * a failed `connect()` logged off the session it had received, or the
82
+ * session was lost (`raiseSessionLost`). One instance is one session —
83
+ * after its logoff it is spent, and `connect()` refuses. A new session is a
84
+ * new instance, which the consumer creates (its own factory, or
85
+ * `createConnection`).
86
+ */
87
+ private spent;
88
+ /**
89
+ * Every logoff `endSession()` dispatched for this instance, merged: what
90
+ * `disconnect()` waits for (the writes) and `flushGoodbye()` (the answers).
91
+ */
92
+ private ended;
93
+ /**
94
+ * The existing session this instance takes over at `connect()`, instead of
95
+ * logging on: its cookies, as `sessionCookies()` handed them out. Dropped
96
+ * once the takeover is attempted — a session is taken over once.
97
+ */
98
+ private resumeFrom;
75
99
  private inCriticalSection;
76
100
  /** Reference count for nested beginCriticalSection()/endCriticalSection() pairs. */
77
101
  private criticalSectionDepth;
@@ -129,7 +153,13 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
129
153
  * arrives built. The credential's TLS material is not among them: the
130
154
  * provider offers it to the wire at logon.
131
155
  */
132
- transport: IAdtTransport, logger: ILogger | null, sessionId?: string);
156
+ transport: IAdtTransport, logger: ILogger | null, sessionId?: string,
157
+ /**
158
+ * An existing session to take over instead of logging on: the cookies
159
+ * `sessionCookies()` handed out for it. `connect()` then sends no logon
160
+ * and asks SAP, without the credential, whether that session is alive.
161
+ */
162
+ session?: string);
133
163
  /**
134
164
  * Set session type (stateful or stateless)
135
165
  * Marks the requests that follow as `stateful` for the transport, which says
@@ -160,22 +190,21 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
160
190
  * Enter an uninterruptible critical section.
161
191
  *
162
192
  * Call this BEFORE acquiring a lock (and pair it with endCriticalSection()
163
- * in a finally, AFTER unlocking). While in a critical section, a short
164
- * per-request timeout is not applied — makeAdtRequest uses a large ceiling
165
- * (CRITICAL_SECTION_TIMEOUT, env SAP_TIMEOUT_CRITICAL) instead — so a slow
166
- * PUT/activate/unlock is not aborted mid-flight. An abort does not end the
167
- * ABAP session — that session is the server's, and only the server ends it,
168
- * on an idle timeout this side cannot influence — it strands the caller:
169
- * the outcome is unknown and the handle `unlock` needs is gone, while the
170
- * lock survives inside the ABAP session that owns it.
193
+ * in a finally, AFTER unlocking). While in a critical section a request
194
+ * carries no deadline — the caller's `timeout` is not applied — so a slow
195
+ * PUT/activate/unlock is not cut mid-flight. A client deadline closes the
196
+ * socket, and SAP then ends the request that was running on it (a write in
197
+ * it lost); and it strands the caller: the outcome is unknown and the handle
198
+ * `unlock` needs is gone, while the lock survives inside the ABAP session
199
+ * that owns it.
171
200
  *
172
201
  * Nesting is reference-counted so nested begin/end pairs are safe.
173
202
  */
174
203
  beginCriticalSection(): void;
175
204
  /**
176
205
  * Leave the uninterruptible critical section. See beginCriticalSection().
177
- * Safe to call more times than begin (clamped at 0). Normal per-request
178
- * timeouts resume once the outermost section ends.
206
+ * Safe to call more times than begin (clamped at 0). The caller's own
207
+ * per-request timeouts apply again once the outermost section ends.
179
208
  */
180
209
  endCriticalSection(): void;
181
210
  /**
@@ -231,12 +260,29 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
231
260
  * request cannot use, so the leak surfaces as a half-written object rather
232
261
  * than as anything about sessions.
233
262
  *
234
- * **Nothing is waited for.** The logoff is dispatched, not awaited: this
235
- * method notifies, and whether the server has acted on the notice is not
236
- * something it reports. Finishing chains and releasing locks stay the
237
- * caller's to do BEFORE calling — waiting here on a request that carries no
238
- * timeout by design is what made a teardown unbounded, which blocks every
239
- * later transition on the serialized tail.
263
+ * **Resolves once the logoff is WRITTEN, not answered.** The logoff's bytes
264
+ * handed to the socket (over RFC: the close call returned) is the point a
265
+ * caller needs: SAP queues a logoff behind a request still running in the
266
+ * same stateful ABAP session and answers it only after — ~96 s in one
267
+ * measurement, never in another — yet once it has arrived the ENQUEUE locks
268
+ * go with it, even if the client is killed while waiting for the answer
269
+ * (measured on an on-premise system, 2026-10-12; checked against 16.0.0 on 2026-10-13 with
270
+ * the process exiting right after this resolved: the lock was free ~70 s
271
+ * later, long before the idle timeout). A connection dropped WITHOUT a
272
+ * logoff keeps its locks. So a caller about to exit awaits this, and one
273
+ * that needs the answer awaits `flushGoodbye()` as well. The answer itself
274
+ * is not waited for here, and nothing bounds the write with a timer of its
275
+ * own: a server that never takes the bytes holds this until the socket
276
+ * fails, and that failure is logged, not thrown. Finishing chains and
277
+ * releasing locks stay the caller's to do BEFORE calling.
278
+ *
279
+ * **Called once per `connect()`.** A second call — while the first is still
280
+ * writing, or after it — rejects with `ADT_SESSION_ERROR.NOT_CONNECTED`; the
281
+ * first call is unaffected. A goodbye a failed `connect()` dispatched — to
282
+ * the HTTP security session a connect failing after authentication leaves
283
+ * alive — is written before that
284
+ * `connect()` rejects, so a caller's `disconnect()` in its `finally` is the
285
+ * first of that life and has nothing of it to wait for.
240
286
  *
241
287
  * **Requests already in flight are not waited for, and the logoff ends the
242
288
  * session they are running on** — so they will start failing against a
@@ -245,29 +291,46 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
245
291
  * dropped the cookie. Generation fencing (see `SessionLifecycle.isCurrent`)
246
292
  * keeps their results from reaching this connection either way.
247
293
  *
248
- * **Nothing to wait for.** This TELLS the server the session is finished and
249
- * does not act on the answer — whether and when the session is freed is the
250
- * server's affair. Waiting for a reply nobody reads was also the one thing
251
- * that could make a teardown unbounded, since the goodbye carries no request
252
- * timeout by design.
294
+ * **The answer is not waited for.** This TELLS the server the session is
295
+ * finished and does not act on the answer — whether and when the session is
296
+ * freed is the server's affair, and with a request still running in it SAP
297
+ * answers the logoff only once that request is done. Waiting for a reply
298
+ * nobody reads would make a teardown as long as the longest request; the
299
+ * write is what a caller needs, and `flushGoodbye()` is the wait for the
300
+ * answer.
253
301
  */
254
302
  disconnect(): Promise<void>;
255
303
  /**
256
- * Wait for the last dispatched goodbye, bounded.
304
+ * Wait for SAP's answer to the last dispatched goodbye.
257
305
  *
258
306
  * For the caller who ends a session and immediately opens another. Without
259
307
  * it the two overlap and the server keeps both; with it the previous session
260
308
  * is gone — or known not to be going — before the next one is asked for.
261
309
  *
262
- * Bounded because the goodbye deliberately carries no request timeout: a
263
- * server that never answers must not hold a teardown open, and it must not
264
- * hold this open either. On expiry this returns rather than throwing, since
265
- * "the goodbye has not arrived yet" is not a failure of the caller's next
266
- * step — and the session it addressed will fall to the idle timeout anyway.
310
+ * **The bound is the caller's, and optional.** Without `timeoutMs` this waits
311
+ * for the answer as long as it takes, and creates no timer: a timeout of the
312
+ * library's own choosing is not one. With it, this waits at most that long
313
+ * and then returns rather than throwing — "the goodbye has not answered yet"
314
+ * is not a failure of the caller's next step. SAP answers a logoff queued
315
+ * behind a running request only once that request is done (~96 s in one
316
+ * measurement, never in another), so a caller that cannot wait that long
317
+ * passes a budget.
267
318
  *
268
- * Safe to call at any time: with nothing dispatched it returns immediately.
319
+ * Never rejects: a failed goodbye is absorbed. Safe to call at any time:
320
+ * with nothing dispatched it returns immediately.
269
321
  */
270
322
  flushGoodbye(timeoutMs?: number): Promise<void>;
323
+ /**
324
+ * The one terminal teardown of this instance's session: `disconnect()`, and
325
+ * a failed `connect()` that had received a session.
326
+ *
327
+ * Dispatches the logoff — the wire snapshots its cookies synchronously,
328
+ * without `sap-contextid`, and sends it only when it holds a live
329
+ * `SAP_SESSIONID` — marks the instance spent, and keeps the logoff's write
330
+ * and answer, merged with any earlier one of this instance, for
331
+ * `disconnect()` and `flushGoodbye()`. The caller clears the cookies after.
332
+ */
333
+ private endSession;
271
334
  /**
272
335
  * Say goodbye to the session `context` describes, without waiting for it.
273
336
  *
@@ -333,6 +396,20 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
333
396
  * than written twice — the two would drift apart, as they did once before.
334
397
  */
335
398
  private establishAndCommit;
399
+ /**
400
+ * Takes over the session `resumeFrom` names, and publishes it — the
401
+ * counterpart of `establishAndCommit` for an instance built on an existing
402
+ * session.
403
+ *
404
+ * No logon: the wire makes one request in that session without the
405
+ * credential (`IAdtTransport.resume`). Alive, the session is this
406
+ * instance's — its `SAP_SESSIONID`, and its `sap-contextid` when the caller
407
+ * kept one — and `disconnect()` logs it off as for any instance. Gone, or
408
+ * any answer that is not the session's: `connect()` rejects with SAP's
409
+ * answer as it is, nothing is logged off — nothing was opened — and the
410
+ * instance is spent.
411
+ */
412
+ private resumeAndCommit;
336
413
  /** The teardown epoch, for a recovery to capture before it starts. */
337
414
  protected get teardownEpoch(): number;
338
415
  /**
@@ -423,6 +500,16 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
423
500
  * overwritten on every response.
424
501
  */
425
502
  protected sessionFingerprint(): Map<string, string>;
503
+ /**
504
+ * The cookies of this instance's SAP session, for the caller to keep: the
505
+ * string `createConnection({ …, session })` takes to build a later instance
506
+ * on the same session. `null` before a session, after it ended, and over
507
+ * RFC, whose session is a conversation no cookie names.
508
+ *
509
+ * It authenticates as the session's user for as long as the session lives:
510
+ * keep it as a secret. Nothing here logs it.
511
+ */
512
+ sessionCookies(): string | null;
426
513
  getBaseUrl(): Promise<string>;
427
514
  getAuthHeaders(): Promise<Record<string, string>>;
428
515
  /**
@@ -483,16 +570,16 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
483
570
  */
484
571
  private authorizedFrom;
485
572
  /**
486
- * The wire's own recovery from a failed attempt: the session faults it can
487
- * cure — a stale CSRF token, a login-form 401 on a mutation, a GET 401 that
488
- * cookies answer — and the verdicts it must not hide.
573
+ * The wire's own recovery from a failed attempt: the one fault it can cure
574
+ * in the same session — a CSRF token SAP refused (a 403 "CSRF token
575
+ * validation failed", or a 401 to a mutation holding no token yet) — and
576
+ * the verdicts it must not hide.
489
577
  *
490
- * Runs before anything asks the credential, because it cures session
491
- * faults, not credential ones: a stale CSRF token under Basic must not
492
- * become "the user or password was refused". What it cannot cure it throws,
493
- * and a credential failure among that goes on to the provider. One
494
- * exception: inside a critical section the login-form 401 is not cured
495
- * here, because curing it discards the session and the lock with it.
578
+ * Runs before anything asks the credential: a stale CSRF token under Basic
579
+ * must not become "the user or password was refused". What it cannot cure
580
+ * it throws, and a credential failure among that — any other 401, a GET's
581
+ * included — goes on to the provider. Nothing here resends a 401 as it is,
582
+ * and nothing discards the session to retry in another.
496
583
  *
497
584
  * `requestHeaders` are the request's own, without the credential's: what
498
585
  * the recovery adds — a new token, the jar's cookies — goes there, and each
@@ -581,12 +668,7 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
581
668
  * wire's own ingest of it, and never stops the request being sent.
582
669
  * Omitted during connect(), which has no lease.
583
670
  */
584
- fence?: number | Pick<RequestLease, 'generation'>,
585
- /**
586
- * The request's signal: the exchange's own attempts stop once it aborts.
587
- * Omitted during connect(), whose exchange is nobody's single request.
588
- */
589
- signal?: AbortSignal): Promise<string>;
671
+ fence?: number | Pick<RequestLease, 'generation'>): Promise<string>;
590
672
  protected getCsrfToken(): string | null;
591
673
  /**
592
674
  * Set CSRF token (protected for use by subclasses)
@@ -633,8 +715,8 @@ declare abstract class AbstractAbapConnection implements AbapConnection, ISessio
633
715
  private leasedContext;
634
716
  /**
635
717
  * What stops a token exchange at once, past its retries: a session verdict,
636
- * the provider's refusal to authorize it — asking again would only ask
637
- * the provider again — or the abort of the request it was made for.
718
+ * or the provider's refusal to authorize it — asking again would only ask
719
+ * the provider again.
638
720
  */
639
721
  protected endsTheExchange(error: unknown): boolean;
640
722
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"AbstractAbapConnection.d.ts","sourceRoot":"","sources":["../../src/connection/AbstractAbapConnection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACb,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EACL,KAAK,YAAY,EACjB,gBAAgB,EAEjB,MAAM,gCAAgC,CAAC;AAGxC,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAEL,KAAK,aAAa,EAInB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAGnB,MAAM,oBAAoB,CAAC;AAqD5B,uBAAe,sBACb,YACE,cAAc,EACd,sBAAsB,EACtB,gBAAgB,EAChB,iBAAiB;IAuGjB,OAAO,CAAC,QAAQ,CAAC,MAAM;IACvB;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,SAAS,EAAE,aAAa;IACjC,SAAS,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;IAlH3C;;;;OAIG;IACH,SAAS,CAAC,QAAQ,CAAC,SAAS,mBAA0B;IAEtD,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,SAAS,CAAuB;IACxC,OAAO,CAAC,WAAW,CAAyC;IAE5D;;;;;;;;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GACnB,OAAO,CAAC,MAAM,CAAC;IAoBlB,SAAS,CAAC,YAAY,IAAI,MAAM,GAAG,IAAI;IAIvC;;OAEG;IACH,SAAS,CAAC,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,IAAI;IAMlD;;OAEG;IACH,SAAS,CAAC,UAAU,IAAI,MAAM,GAAG,IAAI;IAIrC;;;;;;OAMG;IACH,SAAS,CAAC,iBAAiB,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAMlD;;;;;;;;OAQG;YACW,eAAe;IAkB7B;;;;;;;;;;;;;;;OAeG;IACH,OAAO,CAAC,aAAa;IAyCrB;;;;OAIG;IACH,SAAS,CAAC,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO;IAQlD;;;;;;;;OAQG;IACH,OAAO,CAAC,iBAAiB;IAiBzB,OAAO,CAAC,eAAe;CA6BxB;AAED,OAAO,EAAE,sBAAsB,EAAE,CAAC"}
1
+ {"version":3,"file":"AbstractAbapConnection.d.ts","sourceRoot":"","sources":["../../src/connection/AbstractAbapConnection.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACV,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACvB,MAAM,yCAAyC,CAAC;AAEjD,OAAO,KAAK,EACV,cAAc,EACd,YAAY,EACb,MAAM,+BAA+B,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EACL,KAAK,YAAY,EACjB,gBAAgB,EAEjB,MAAM,gCAAgC,CAAC;AAExC,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAC9E,OAAO,EAEL,KAAK,aAAa,EAInB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAGnB,MAAM,oBAAo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