jsfe 1.68.0 → 1.69.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 CHANGED
@@ -15,6 +15,9 @@ npm i jsfe
15
15
  - **[Flows architecture guide](docs/architecture-guide.md)** - start here: the concepts, the building blocks, what the caller experiences, and how conversational AI and exact transactional flows work together (the reply ranker and DISPATCH)
16
16
  - **[Flow author reference](docs/copilot-reference.md)** - the authoritative engine and JSON authoring specification for flow authors and AI flow generators (shipped in the package; the Flow Designer's CoPilot reads it from the published version, so change it with the engine)
17
17
  - **[Form client adapter](docs/form-client.md)** - optional: a host renders the pending FORM question as a form for a capable client and reads its strict named submission through the same FORM workers; an input may name its control (`form_client`: date, date range, number since jsfe 1.44.0; place (city or address suggestions from the host) since 1.46.0)
18
+ - **[Sendables](docs/sendables.md)** - what a flow can send the caller (registered sendables and their media) and how a host delivers it
19
+ - **[Engine internals](docs/engine-internals.md)** - how the engine runs a turn: stacks, the form loop, attempts, queued lines and every exit
20
+ - **[Template interpolation design notes](docs/template-interpolation-design-notes.md)** - how `{{...}}` templates are resolved
18
21
  - **[Development candidate acceptance](docs/development-release.md)** - reproducible package and cross-repository verification
19
22
  - **[System Flows](docs/flows/system/README.md)** and **[Shopify Flows](docs/flows/shopify/README.md)** - the bundled flow and tool libraries in `flows/`: a page and a chart per flow, generated from the JSON (`node scripts/flow-docs.mjs`), plus the conventions the system flows share
20
23
 
@@ -412,7 +415,7 @@ means a reply that picks none of them. A picked choice sets `responseVariable` t
412
415
  `answers` sets `{ key: '' }` unless `responseParameters` are declared too. The request carries the options it offers
413
416
  (`request.options`); a host validates a reply against those, never a fixed list. The form readers use it: an unread
414
417
  answer with any words goes to the ranker with the question's choices (`exact` ones too, since `exact` is how words match
415
- a choice; never the YES of a firm confirmation, which a form's confirmation is when an action it authorizes is `confirm.exact`; a NO always) and the escape every question supports, `__agent` (a person);
418
+ a choice; never the YES of a firm confirmation, which a form's confirmation is when an action it authorizes has `effect: "charge"`; a NO always) and the escape every question supports, `__agent` (a person);
416
419
  text is never offered. **Arguments in an unread answer** (jsfe 1.36): the asked input's `rank_parameters` (`[{ name, description, type?, reads? }]`) are extracted when the ranker says the reply answers the question, and a choice's own `parameters` when it is picked (`responseParameters` may name the array variable that holds them). Each value is read by the form's reader as if said alone: `reads` names the input it answers, else it answers the asked question, so that question's rules decide a number's field. Two readings of one input that differ take nothing, and nothing read asks again, as before. A form's `confirm.rank_parameters` do the same at its confirmation (no `reads`: read as a correction there); a value read changes the form, which is confirmed again. A charge or a cancellation is guarded by the action's `confirm: {exact: true}`, not by the choice's
417
420
  `exact`. A confirmation's exhausted attempts go to the `give-up` worker.
418
421
 
@@ -450,7 +453,7 @@ and the provider menu. A flow set that sets `cargo.sorryByName = true` (for exam
450
453
  **Acknowledging only data, opt-in (jsfe 1.20.0):** a form declaring `acknowledge: 'data'` (or the nearest enclosing form
451
454
  that declares it) says "Got it, your …" / "Okay, I noted your …" only for a value the caller supplied, an input whose profile
452
455
  kind is digits, email, phone, amount, identifier, account or text. A pick among offered words (`choice`, `pattern`), such as
453
- NEW CARD, is not acknowledged: the next question already shows it was understood. Rejections are always said. Without the
456
+ NEW CARD, is not acknowledged: the next question already shows it was understood. A rejection is said only with the question that asks again. Without the
454
457
  attribute every input is acknowledged as before (`formAcknowledges(cargo, reading)`).
455
458
  An input filled out of order is always acknowledged, under either mode: the caller changed something the question did not ask (owner 2026-11-02).
456
459
 
@@ -507,12 +510,17 @@ const engine = new WorkflowEngine(logger, aiCallback, flows, tools,
507
510
  elsewhere, or the host's `cargo.verb`), and `yesNoKeys(lang, cargo, yes, no)` ("Press 1 or say YES, or press 2 or say
508
511
  NO." on a call): every yes/no question names 1 for YES and 2 for NO on a call. A FLOW call's parameters interpolate
509
512
  values, not expressions, so build such a question in a SET step and pass the variable.
510
- - Checks: `validateDigits`, `validatePhone`, `validateEmail`, `validateCardNumber`,
511
- `validateExpiration`, and `validateOTP(code, container)`, which accepts a code whose SHA-256 matches
513
+ - Checks: `validateDigits(input, min, max)` (digits only, length in range), `validatePhone(phone, acceptInternational)`
514
+ (10 digits, or 11 with a leading 1; with `acceptInternational`, any 11 to 15), `validateEmail` (`x@y.z`, no spaces),
515
+ `validateCardNumber` (12 to 19 digits passing Luhn), `validateExpiration(MM, YY)` (a real month, not expired, at most
516
+ 20 years out), and the async `validateOTP(code, container)`, which accepts a code whose SHA-256 matches
512
517
  `container.otpHash` within 10 minutes of `container.otpTimestamp`, or a second code emailed beside it
513
518
  (`otpAltHash` / `otpAltTimestamp`, jsfe 1.17.0) on its own clock; accepting either clears both (`clearOtp`).
514
- A refusal leaves its reason in `container.otpFailure` (`missing`, `expired` or `mismatch`). Sending the
515
- code is the host's job.
519
+ Accepting sets `container.otpVerified` and `otpVerifiedAt`; an expired code is cleared. A refusal leaves its
520
+ reason in `container.otpFailure` (`missing`, `expired` or `mismatch`). Sending the code is the host's job.
521
+ - Built-in field validators: `validate-card-number` (Luhn; normalizes to digits), `validate-card-expiration` (a month
522
+ as a number or its English or Spanish name, and a year; normalizes to MMYY) and `validate-card-cvv` (4 digits for
523
+ American Express, 3 for every other brand; the rejection says "the 4 digits on the front" or "the 3 digits on the back").
516
524
  - Session-aware helpers read only the cargo a caller passes: `callerTextNumber`, `textDestination`,
517
525
  `callerIsInternational`.
518
526
 
@@ -628,7 +636,7 @@ A flow with `wraps: "<id or name>"` becomes the entry point in the wrapped flow'
628
636
  - the wrapper's steps do the tenant's own work, then call the wrapped flow with arguments of their own.
629
637
 
630
638
  ```json
631
- { "id": "curacao-track-order", "name": "CuracaoTrackOrder", "version": "1.0.0", "wraps": "shopify-track-order",
639
+ { "id": "acme-track-order", "name": "AcmeTrackOrder", "version": "1.0.0", "wraps": "shopify-track-order",
632
640
  "steps": [
633
641
  { "id": "lookup", "type": "FLOW", "value": "caller-on-file", "callType": "call" },
634
642
  { "id": "track", "type": "FLOW", "value": "shopify-track-order", "callType": "replace",
@@ -919,8 +927,9 @@ return aiResponse;
919
927
  is already repaired: the next turn starts with fresh intent detection. Log or record the error;
920
928
  no rollback is needed. A deliberate `RETURN ''` (which ends every flow) is not flagged.
921
929
 
922
- Native FORM collection in 1.7.2 acknowledges an unreadable answer once, then yields the current
923
- utterance while retaining its draft. Explicit recovery metadata distinguishes resumption, required
930
+ Native FORM collection asks an answer without words (symbols, an unexpected key) again three times
931
+ and yields the fourth to DISPATCH while retaining its draft (`max_misses`, default 4); an answer with
932
+ words goes to the reply ranker. Explicit recovery metadata distinguishes resumption, required
924
933
  restart, unknown-action hold and no promised recovery; business completion remains independent.
925
934
  See the [retry/yield/recovery contract](docs/copilot-reference.md#retry-yield-and-recovery).
926
935
 
@@ -1317,15 +1326,15 @@ their original workflow seamlessly.
1317
1326
  - ✅ **SWITCH** - Conditional branching based on single value matching
1318
1327
  - ✅ **RETURN** - Terminate all flows and return evaluated expression value (an EXIT/abort); `keepSay: true` delivers the SAY text queued before it ahead of the value
1319
1328
  - ✅ **END** - Return from the current flow only, resuming the parent flow — a functional `return` (no value; variables are shared with the parent)
1320
- - ✅ **DISPATCH** - End all flows and route this turn's input through intent detection, as if no flow had been active (a matched flow starts in the same turn; no match → no response, the host answers). Resets everything; the ended flows' declared outcome is kept only when no flow matches. Takes `id`, `outcome`, `reason`. See the user guide's *DISPATCH Steps*
1329
+ - ✅ **DISPATCH** - End all flows and route this turn's input through intent detection, as if no flow had been active (a matched flow starts in the same turn; no match → no response, the host answers). Resets everything; the ended flows' declared outcome is kept only when no flow matches. Takes `id`, `outcome`, `reason`, `recovery`; a contextual DISPATCH (`onResponse: "continue"`) adds `responseContext`, `responseParameters`, `responseVariable`, `responseChoices`, `responseReasonFor`, `responseConcern`, `responseConcernForm`, `responseStay` and `onNoIntent`. See the user guide's *DISPATCH Steps*
1321
1330
 
1322
1331
  Any step may also carry `outcome` / `reason` (it applies when the flow terminates); see
1323
1332
  [Declared flow outcomes](#declared-flow-outcomes-lastflowoutcome).
1324
1333
 
1325
1334
  ### Step Reliability: Validation & Retry
1326
- Any step can also declare:
1327
- - **`inputValidation`** — regex `patterns` (`field` / `pattern` / `message`) and/or a named `customValidator` from `APPROVED_FUNCTIONS`, applied to collected input before the step runs.
1328
- - **Automatic retry** — `maxRetries` (default 2), `retryDelay`, `retryStrategy` (`immediate` / `exponential` / `linear` / `manual`), and `retryOnConditions` (`errorPattern` → `action`), falling through to `onFail` once exhausted.
1335
+ A CALL-TOOL step can also declare:
1336
+ - **`inputValidation`**: regex `patterns` (`field` / `pattern` / `message`) and/or a named `customValidator` from `APPROVED_FUNCTIONS`, applied to collected input before the tool runs.
1337
+ - **Automatic retry**: with `maxRetries`, an error matching a `retryOnConditions` entry whose `action` is `retry`, or a timeout, network, 502, 503 or rate-limit error, is retried up to `maxRetries` times. Without `onFail` or `maxRetries`, a network or server error is retried up to 2 times. `retryDelay` (ms) and `retryStrategy: 'exponential'` set the wait; `skip` and `fallback` do not retry. Once retries are spent, `onFail` runs. `ask_user`, `fallbackStep`, `linear` and `manual` are not implemented.
1329
1338
 
1330
1339
  ### Default Timeouts
1331
1340
  - AI callback (`aiTimeOut`): **2000 ms**
@@ -1365,13 +1374,14 @@ while maintaining security through a trusted developer model and limiting user i
1365
1374
  ```
1366
1375
 
1367
1376
  #### Supported JavaScript Features
1368
- All JavaScript features are supported within a sandboxed environment with access limited to
1369
- explicitly exported variables and functions.
1377
+ Expressions run in strict mode in a QuickJS sandbox (WebAssembly), with flow and session variables,
1378
+ `APPROVED_FUNCTIONS` and the sandbox's own built-ins in scope. Flow text is untrusted: an expression never reaches the
1379
+ host's globals or its `Function` constructor. See `docs/expression-sandbox-design.md`.
1370
1380
 
1371
1381
  #### Security Model
1372
- - **Developer Trust**: Workflows authored by developers, not end users
1382
+ - **Sandboxed evaluation**: host objects are live stand-ins (own properties only); host functions run on the host
1383
+ - **Limits**: 500 ms per evaluation, 256 MB for the process's sandbox; its globals and built-ins are frozen
1373
1384
  - **Parameter Filtering**: Only valid JavaScript identifiers allowed as parameters
1374
- - **No eval()**: Direct Function constructor with parameter validation
1375
1385
  - **User Input Safety**: User inputs are treated as values, not code
1376
1386
 
1377
1387
  ### Internationalization and Localization
@@ -408,7 +408,7 @@ const runForm = {
408
408
  const CHAIN_JS = 'formInputChain(cargo.forms, form, cargo)';
409
409
  const collectInput = {
410
410
  id: 'collect-input', name: 'CollectInput', version: '1.0.0', scope: 'isolated',
411
- description: "Worker: ask the form's current input once and file the answer wherever it belongs in the form chain (matchInputs, decided by scope; a declared confirm_against pair is asked). One reading → collect-input-accept; ambiguous → disambiguate-input; a question about the form's data → provide-data; a short miss → counted, the loop re-asks; 3+ words that fit nothing → DISPATCH. Params: form, current, questions, provides, exit_context(_es).",
411
+ description: "Worker: ask the form's current input once and file the answer wherever it belongs in the form chain (matchInputs, decided by scope; a declared confirm_against pair is asked). One reading → collect-input-accept; ambiguous → disambiguate-input; a question about the form's data → provide-data; an answer with words that fits nothing → the reply ranker (read-form-choice); an answer without words → counted as a miss, asked again, and the fourth (max_misses) → DISPATCH. Params: form, current, questions, provides, exit_context(_es).",
412
412
  parameters: ['form', 'current', 'questions', 'provides', 'exit_context', 'exit_context_es'].map((n) => ({ name: n, type: ['questions'].includes(n) ? 'array' : n === 'provides' ? 'object' : 'string', description: n })),
413
413
  variables: vars({ ci_clarify: null, ci_partial: '', ci_no_owner: '', ci_no_flow: '', ci_no_up: false, ci_reply_reader: '', ci_exhaustion: null, ci_d: {}, ci_pre: '', ci_val: '', ci_routed: '', ci_names: [], ci_chain: [], ci_spec: null, ci_choices: [], ci_q: '', ci_q_es: '', ci_missed: 0, ci_max: 3, ci_misses: 0, ci_miss_limit: 4, ci_must: false, ci_m: null, ci_qkey: '', ci_skip_gate: '', ci_words: 0, ci_digits: null, ci_amount: false, ci_as_spoken: false, ci_reader: {}, ci_pii: false, ci_ctx: '', ci_ctx_es: '' }),
414
414
  steps: [
@@ -676,7 +676,7 @@ const readFormChoice = {
676
676
  // prod 11:07 "Sí, para enviar." at a ticket's confirmation). Result: cargo.confirmRanked = 'yes' | 'no' | 'changed' | 'none' | 'concern'
677
677
  // (ConfirmForm reads it); `abort` ends every flow; `new_request` goes to intent detection.
678
678
  const readConfirmReply = {
679
- id: 'read-confirm-reply', name: 'ReadConfirmReply', version: '1.4.0', scope: 'isolated', description: 'Rank an unreadable answer to a confirmation: it declines (NO), picks another of the form\'s choices (a correction, read as that input\'s answer), says a named field read back is wrong (confirm.named_fields: that input is asked again), asks for a person, or is asked again; a withdrawal or a new request leaves with saved form progress. Never confirms.',
679
+ id: 'read-confirm-reply', name: 'ReadConfirmReply', version: '1.4.0', scope: 'isolated', description: 'Rank an unreadable answer to a confirmation: it declines (NO), picks another of the form\'s choices (a correction, read as that input\'s answer), says a named field read back is wrong (confirm.named_fields: that input is asked again), asks for a person, or is asked again; a withdrawal or a new request leaves with saved form progress. A soft confirmation is also offered YES, which confirms; a firm one never is.',
680
680
  parameters: [{ name: 'form', type: 'string' }, { name: 'confirmation', type: 'string' }, { name: 'question', type: 'string' }, { name: 'question_es', type: 'string' }, { name: 'named_fields', type: 'boolean' }, { name: 'reply_context', type: 'string' }, { name: 'rank_parameters', type: 'array' }, { name: 'invites', type: 'array' }],
681
681
  variables: vars({ confirmation: '', question: '', question_es: '', asked: '', ranked: [], reply: null, chain: null, others: [], fields: [], field: null, picked: null, reading: null, named_fields: false, prompt: null, field_arguments: [], corrections: [], reply_context: '', stay: false, rank_parameters: [], invites: [], rank_params: [], args: null }),
682
682
  steps: [
@@ -915,15 +915,15 @@ const formDone = {
915
915
  // ── validators (contract: { input, value } → cargo.inputCheck = { ok, value, message, message_es }) ────────────────
916
916
  const validators = [
917
917
  { id: 'validate-card-number', name: 'ValidateCardNumber', version: '1.0.0', scope: 'isolated',
918
- description: 'Validator: a card number passes the Luhn check (validateCardNumber). Params: input, value.',
918
+ description: 'Validator: a card number passes the Luhn check (validateCardNumber); normalizes to its digits. Params: form, input, value, values, reading (it reads value).',
919
919
  parameters: [{ name: 'input', type: 'string', description: 'input name' }, { name: 'value', type: 'string', description: 'the reading' }],
920
920
  steps: [SIDE('vcn_check', "(cargo.inputCheck = validateCardNumber(value) ? { ok: true, value: String(value).replace(/\\D/g, '') } : { ok: false, message: \"That card number doesn't look right.\", message_es: 'Ese número de tarjeta no parece correcto.' }, true)")] },
921
921
  { id: 'validate-card-expiration', name: 'ValidateCardExpiration', version: '1.0.0', scope: 'isolated',
922
- description: 'Validator: month (a number or its English or Spanish name) and year, a real month, not expired (validateExpiration). Normalizes to MMYY. Params: input, value.',
922
+ description: 'Validator: month (a number or its English or Spanish name) and year, a real month, not expired (validateExpiration). Normalizes to MMYY. Params: form, input, value, values, reading (it reads value).',
923
923
  parameters: [{ name: 'input', type: 'string', description: 'input name' }, { name: 'value', type: 'string', description: 'the reading' }],
924
924
  steps: [SIDE('vce_check', "(function (v) { var names = " + JSON.stringify(MONTH_NAMES.map(([n]) => n)) + "; var nums = " + JSON.stringify(MONTH_NAMES.map(([, k]) => k)) + "; var w = new RegExp('\\\\b(' + names.join('|') + ')\\\\b', 'i').exec(String(v)); if (w) { v = String(v).replace(w[0], ' ' + nums[names.indexOf(w[1].toLowerCase())] + ' '); } var m = /^(0?[1-9]|1[0-2])\\D*(?:20)?(\\d{2})$/.exec(String(v).replace(/\\s+/g, '').replace(/de/gi, '')) || /^(\\d{2})(\\d{2})$/.exec(String(v).replace(/\\D/g, '')) || /^(0[1-9])0(\\d{2})$/.exec(String(v).replace(/\\D/g, '')); var mm = m ? ('0' + m[1]).slice(-2) : ''; var yy = m ? m[2] : ''; cargo.inputCheck = m && validateExpiration(mm, yy) ? { ok: true, value: mm + yy } : { ok: false, message: \"That expiration date doesn't look right.\", message_es: 'Esa fecha de vencimiento no parece correcta.' }; return true; })(value)")] },
925
925
  { id: 'validate-card-cvv', name: 'ValidateCardCvv', version: '1.0.0', scope: 'isolated',
926
- description: 'Validator: the security code has the length of its card brand, 4 digits for American Express (34, 37) and 3 for every other brand; with no card number yet, 3 or 4. Params: input, value, values.',
926
+ description: 'Validator: the security code has the length of its card brand, 4 digits for American Express (34, 37) and 3 for every other brand; with no card number yet, 3 or 4. Params: form, input, value, values, reading (it reads value and values.card_number).',
927
927
  parameters: [{ name: 'input', type: 'string', description: 'input name' }, { name: 'value', type: 'string', description: 'the reading' }, { name: 'values', type: 'object', description: "the form's values, for the card number" }],
928
928
  steps: [SIDE('vcc_check', "(function (v, n) { var d = String(v).replace(/\\D/g, ''); var pan = String(n || '').replace(/\\D/g, ''); var want = pan ? (/^3[47]/.test(pan) ? 4 : 3) : 0; var ok = want ? d.length === want : d.length === 3 || d.length === 4; cargo.inputCheck = ok ? { ok: true, value: d } : want === 4 ? { ok: false, message: \"That security code doesn't look right. It is the 4 digits on the front of the card.\", message_es: 'Ese código de seguridad no parece correcto. Son los 4 dígitos al frente de la tarjeta.' } : { ok: false, message: \"That security code doesn't look right. It is the 3 digits on the back of the card.\", message_es: 'Ese código de seguridad no parece correcto. Son los 3 dígitos al reverso de la tarjeta.' }; return true; })(value, typeof values !== 'undefined' && values ? values.card_number : '')")] },
929
929
  ];
@@ -0,0 +1,68 @@
1
+ /** The process's sandbox, shared by every engine (created on first use, never released). */
2
+ export function sharedSandbox(): any;
3
+ export const EXPRESSION_LIMITS: Readonly<{
4
+ memoryBytes: number;
5
+ stackBytes: number;
6
+ timeoutMs: 500;
7
+ }>;
8
+ export class ExpressionSandbox {
9
+ constructor(limits?: {});
10
+ res: {
11
+ rt: any;
12
+ ctx: null;
13
+ handles: never[];
14
+ compiled: Map<any, any>;
15
+ released: boolean;
16
+ };
17
+ timeoutMs: 500;
18
+ deadline: number;
19
+ depth: number;
20
+ generation: number;
21
+ owned: any[];
22
+ approved: any;
23
+ evalFuns: any[];
24
+ evalFunId: Map<any, any>;
25
+ objs: any[];
26
+ objId: Map<any, any>;
27
+ namespaces: WeakMap<object, any>;
28
+ namespaceCache: Map<any, any>;
29
+ ctx: any;
30
+ api: any;
31
+ /** Releases the QuickJS runtime now (otherwise when the sandbox is collected). */
32
+ dispose(): void;
33
+ guest(name: any, ...args: any[]): any;
34
+ own(h: any): any;
35
+ /** A host error as a sandbox error handle (the library throws a handle as is). */
36
+ errorHandle(error: any): any;
37
+ out(v: any): any;
38
+ /** A host value as a sandbox value (a stand-in for an object). */
39
+ toGuest(v: any): any;
40
+ inn(v: any): any;
41
+ hostFunctionOf(tag: any): any;
42
+ object(id: any): any;
43
+ /** A sandbox function handed to the host: callable while its evaluation runs. */
44
+ callback(index: any): (...args: any[]) => any;
45
+ /** Calls a sandbox function with host arguments, inside the current evaluation. */
46
+ call(f: any, args: any): any;
47
+ /** One evaluation: a deadline, a fresh object table, every handle released at the end. */
48
+ scope(run: any, approved: any): any;
49
+ compile(source: any): any;
50
+ hostGet(idH: any, kH: any): any;
51
+ hostSet(idH: any, kH: any, vH: any): any;
52
+ hostHas(idH: any, kH: any): any;
53
+ hostDel(idH: any, kH: any): any;
54
+ hostKeys(idH: any): any;
55
+ hostCall(fH: any, aH: any): any;
56
+ hostFormat(kH: any, vH: any, lH: any, oH: any): any;
57
+ /** Evaluates one expression. Only the names it mentions are passed in; the standard built-ins are the sandbox's own. */
58
+ evaluate(expression: any, names: any, values: any, approvedFunctions: any): any;
59
+ /** Compiles named functions once per source; returns a namespace bound to `approvedFunctions` (callable from the
60
+ * host; an expression's `fn`). Approved functions are called by name, so one compiled copy serves every engine. */
61
+ defineNamespace({ names, source, approvedFunctions, label }: {
62
+ names: any;
63
+ source: any;
64
+ approvedFunctions: any;
65
+ label: any;
66
+ }): any;
67
+ }
68
+ //# sourceMappingURL=expression-sandbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expression-sandbox.d.ts","sourceRoot":"","sources":["../../src/helpers/expression-sandbox.js"],"names":[],"mappings":"AA6dA,4FAA4F;AAC5F,qCAA8E;AArc9E;;;;GAA0H;AA4K1H;IACG,yBAuCC;IAjCE;;;;;;MAAc;IACd,eAA0B;IAC1B,iBAAiB;IACjB,cAAc;IACd,mBAAmB;IACnB,aAAe;IACf,cAAoB;IACpB,gBAAkB;IAAE,yBAA0B;IAC9C,YAAc;IAAE,qBAAsB;IACtC,iCAA+B;IAC/B,8BAA+B;IAK/B,SAAc;IAcd,SAAoB;IAMvB,kFAAkF;IAClF,gBAA4D;IAE5D,sCAOC;IAED,iBAAwC;IAExC,kFAAkF;IAClF,6BAGC;IAGD,iBAsBC;IAED,kEAAkE;IAClE,qBAIC;IAGD,iBAmBC;IAED,8BASC;IAED,qBAGC;IAED,iFAAiF;IACjF,uBAEW,GAAG,WAAI,SAKjB;IAED,mFAAmF;IACnF,6BAQC;IAED,0FAA0F;IAC1F,oCAuBC;IAED,0BAYC;IAGD,gCAGC;IACD,yCAKC;IACD,gCAAkI;IAClI,gCAAiI;IACjI,wBAA+G;IAC/G,gCAKC;IACD,oDAYC;IAGD,wHAAwH;IACxH,gFAYC;IAED;wHACoH;IACpH;;;;;YA+BC;CACH"}