@adecore/agents-react 0.55.0 → 0.55.2

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 (55) hide show
  1. package/dist/agents/account-limits.js +5 -2
  2. package/dist/chat/logic/resume-compaction.js +2 -2
  3. package/dist/chat/logic/timeline.d.ts +1 -0
  4. package/dist/chat/logic/timeline.js +4 -1
  5. package/dist/chat/ui/RunSettings.js +63 -58
  6. package/dist/chat/ui/composer/ComposerMenu.js +0 -3
  7. package/dist/chat/ui/index.d.ts +1 -1
  8. package/dist/chat/ui/intelligent-ui/UiBlockFrame.js +130 -121
  9. package/dist/chat/ui/intelligent-ui/UiReply.js +28 -9
  10. package/dist/chat/ui/intelligent-ui/render-context.d.ts +2 -0
  11. package/dist/chat/ui/intelligent-ui/renderers/data.js +124 -94
  12. package/dist/chat/ui/intelligent-ui/use-ui-queries.d.ts +8 -2
  13. package/dist/chat/ui/intelligent-ui/use-ui-queries.js +162 -74
  14. package/dist/chat/ui/rows/MessageRows.d.ts +2 -1
  15. package/dist/chat/ui/rows/MessageRows.js +48 -40
  16. package/dist/chat/ui/rows/Rows.js +32 -30
  17. package/dist/locales/en/agent-chat.d.ts +3 -0
  18. package/dist/locales/en/agent-chat.js +3 -0
  19. package/dist/locales/en/agent-usage.d.ts +10 -0
  20. package/dist/locales/en/agent-usage.js +10 -0
  21. package/dist/locales/nl/agent-chat.d.ts +3 -0
  22. package/dist/locales/nl/agent-chat.js +3 -0
  23. package/dist/locales/nl/agent-usage.d.ts +10 -0
  24. package/dist/locales/nl/agent-usage.js +10 -0
  25. package/dist/theme.css +9 -4
  26. package/dist/usage/LimitProvenance.d.ts +5 -0
  27. package/dist/usage/LimitProvenance.js +104 -0
  28. package/dist/usage/LimitsList.js +153 -131
  29. package/dist/usage/UsageLimits.d.ts +1 -1
  30. package/dist/usage/UsageLimits.js +241 -158
  31. package/dist/usage/limit-groups.d.ts +2 -0
  32. package/dist/usage/limit-groups.js +12 -3
  33. package/package.json +9 -9
  34. package/src/agents/account-limits.ts +6 -2
  35. package/src/chat/logic/resume-compaction.ts +2 -2
  36. package/src/chat/logic/timeline.ts +7 -2
  37. package/src/chat/ui/RunSettings.tsx +9 -3
  38. package/src/chat/ui/composer/ComposerMenu.tsx +0 -1
  39. package/src/chat/ui/index.ts +1 -0
  40. package/src/chat/ui/intelligent-ui/UiBlockFrame.tsx +5 -2
  41. package/src/chat/ui/intelligent-ui/UiReply.tsx +25 -6
  42. package/src/chat/ui/intelligent-ui/render-context.ts +5 -0
  43. package/src/chat/ui/intelligent-ui/renderers/data.tsx +58 -27
  44. package/src/chat/ui/intelligent-ui/use-ui-queries.ts +81 -61
  45. package/src/chat/ui/rows/MessageRows.tsx +11 -2
  46. package/src/chat/ui/rows/Rows.tsx +1 -1
  47. package/src/locales/en/agent-chat.ts +3 -0
  48. package/src/locales/en/agent-usage.ts +10 -0
  49. package/src/locales/nl/agent-chat.ts +3 -0
  50. package/src/locales/nl/agent-usage.ts +10 -0
  51. package/src/theme.css +9 -4
  52. package/src/usage/LimitProvenance.tsx +23 -0
  53. package/src/usage/LimitsList.tsx +10 -4
  54. package/src/usage/UsageLimits.tsx +88 -18
  55. package/src/usage/limit-groups.ts +16 -3
@@ -2172,82 +2172,90 @@ export function AgentTurnRow(t0) {
2172
2172
  }
2173
2173
  /* A dashed line, since what stands above it is still there for the reader but only a summary to the agent. */
2174
2174
  export function CompactionRow(t0) {
2175
- const $ = _c(14);
2175
+ const $ = _c(15);
2176
2176
  const {
2177
- preTokens
2177
+ preTokens,
2178
+ postTokens
2178
2179
  } = t0;
2179
2180
  const {
2180
2181
  t
2181
2182
  } = useTranslation("agent-chat");
2182
2183
  let t1;
2183
- if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
2184
- t1 = /*#__PURE__*/_jsx("span", {
2185
- className: "grow border-t border-dashed border-border"
2186
- });
2187
- $[0] = t1;
2184
+ if ($[0] !== postTokens || $[1] !== preTokens || $[2] !== t) {
2185
+ t1 = preTokens ? postTokens === undefined ? t("rows.compaction.from", {
2186
+ tokens: formatTokens(preTokens)
2187
+ }) : t("rows.compaction.fromTo", {
2188
+ from: formatTokens(preTokens),
2189
+ to: formatTokens(postTokens)
2190
+ }) : postTokens === undefined ? t("rows.compaction.plain") : t("rows.compaction.to", {
2191
+ tokens: formatTokens(postTokens)
2192
+ });
2193
+ $[0] = postTokens;
2194
+ $[1] = preTokens;
2195
+ $[2] = t;
2196
+ $[3] = t1;
2188
2197
  } else {
2189
- t1 = $[0];
2198
+ t1 = $[3];
2190
2199
  }
2200
+ const text = t1;
2191
2201
  let t2;
2192
- if ($[1] !== t) {
2193
- t2 = t("rows.compaction.summary");
2194
- $[1] = t;
2195
- $[2] = t2;
2202
+ if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
2203
+ t2 = /*#__PURE__*/_jsx("span", {
2204
+ className: "grow border-t border-dashed border-border"
2205
+ });
2206
+ $[4] = t2;
2196
2207
  } else {
2197
- t2 = $[2];
2208
+ t2 = $[4];
2198
2209
  }
2199
2210
  let t3;
2200
- if ($[3] !== preTokens || $[4] !== t) {
2201
- t3 = preTokens ? t("rows.compaction.from", {
2202
- tokens: formatTokens(preTokens)
2203
- }) : t("rows.compaction.plain");
2204
- $[3] = preTokens;
2205
- $[4] = t;
2206
- $[5] = t3;
2211
+ if ($[5] !== t) {
2212
+ t3 = t("rows.compaction.summary");
2213
+ $[5] = t;
2214
+ $[6] = t3;
2207
2215
  } else {
2208
- t3 = $[5];
2216
+ t3 = $[6];
2209
2217
  }
2210
2218
  let t4;
2211
- if ($[6] !== t3) {
2219
+ if ($[7] !== text) {
2212
2220
  t4 = /*#__PURE__*/_jsx("span", {
2213
- children: t3
2221
+ children: text
2214
2222
  });
2215
- $[6] = t3;
2216
- $[7] = t4;
2223
+ $[7] = text;
2224
+ $[8] = t4;
2217
2225
  } else {
2218
- t4 = $[7];
2226
+ t4 = $[8];
2219
2227
  }
2220
2228
  let t5;
2221
- if ($[8] !== t2 || $[9] !== t4) {
2229
+ if ($[9] !== t3 || $[10] !== t4) {
2222
2230
  t5 = /*#__PURE__*/_jsx(Tooltip, {
2223
- label: t2,
2231
+ label: t3,
2224
2232
  children: t4
2225
2233
  });
2226
- $[8] = t2;
2227
- $[9] = t4;
2228
- $[10] = t5;
2234
+ $[9] = t3;
2235
+ $[10] = t4;
2236
+ $[11] = t5;
2229
2237
  } else {
2230
- t5 = $[10];
2238
+ t5 = $[11];
2231
2239
  }
2232
2240
  let t6;
2233
- if ($[11] === Symbol.for("react.memo_cache_sentinel")) {
2241
+ if ($[12] === Symbol.for("react.memo_cache_sentinel")) {
2234
2242
  t6 = /*#__PURE__*/_jsx("span", {
2235
2243
  className: "grow border-t border-dashed border-border"
2236
2244
  });
2237
- $[11] = t6;
2245
+ $[12] = t6;
2238
2246
  } else {
2239
- t6 = $[11];
2247
+ t6 = $[12];
2240
2248
  }
2241
2249
  let t7;
2242
- if ($[12] !== t5) {
2250
+ if ($[13] !== t5) {
2243
2251
  t7 = /*#__PURE__*/_jsxs("div", {
2244
2252
  className: "flex items-center gap-3 pb-3 text-xs text-text-faint",
2245
- children: [t1, t5, t6]
2253
+ children: [t2, t5, t6]
2246
2254
  });
2247
- $[12] = t5;
2248
- $[13] = t7;
2255
+ $[13] = t5;
2256
+ $[14] = t7;
2249
2257
  } else {
2250
- t7 = $[13];
2258
+ t7 = $[14];
2251
2259
  }
2252
2260
  return t7;
2253
2261
  }
@@ -70,7 +70,7 @@ function AppCardRow(t0) {
70
70
  }
71
71
  /* One row of a thread, the chat's own or a subagent's read back, drawn the same way in both. */
72
72
  export function Row(t0) {
73
- const $ = _c(102);
73
+ const $ = _c(103);
74
74
  const {
75
75
  row,
76
76
  chatId,
@@ -463,88 +463,90 @@ export function Row(t0) {
463
463
  case "compaction":
464
464
  {
465
465
  let t1;
466
- if ($[86] !== row.preTokens) {
466
+ if ($[86] !== row.postTokens || $[87] !== row.preTokens) {
467
467
  t1 = /*#__PURE__*/_jsx(CompactionRow, {
468
- preTokens: row.preTokens
468
+ preTokens: row.preTokens,
469
+ postTokens: row.postTokens
469
470
  });
470
- $[86] = row.preTokens;
471
- $[87] = t1;
471
+ $[86] = row.postTokens;
472
+ $[87] = row.preTokens;
473
+ $[88] = t1;
472
474
  } else {
473
- t1 = $[87];
475
+ t1 = $[88];
474
476
  }
475
477
  return t1;
476
478
  }
477
479
  case "selection-switch":
478
480
  {
479
481
  let t1;
480
- if ($[88] !== chatId || $[89] !== row.from || $[90] !== row.to) {
482
+ if ($[89] !== chatId || $[90] !== row.from || $[91] !== row.to) {
481
483
  t1 = /*#__PURE__*/_jsx(SelectionSwitchRow, {
482
484
  chatId: chatId,
483
485
  from: row.from,
484
486
  to: row.to
485
487
  });
486
- $[88] = chatId;
487
- $[89] = row.from;
488
- $[90] = row.to;
489
- $[91] = t1;
488
+ $[89] = chatId;
489
+ $[90] = row.from;
490
+ $[91] = row.to;
491
+ $[92] = t1;
490
492
  } else {
491
- t1 = $[91];
493
+ t1 = $[92];
492
494
  }
493
495
  return t1;
494
496
  }
495
497
  case "working":
496
498
  {
497
499
  let t1;
498
- if ($[92] !== row.tool) {
500
+ if ($[93] !== row.tool) {
499
501
  t1 = row.tool === undefined ? {} : {
500
502
  tool: row.tool
501
503
  };
502
- $[92] = row.tool;
503
- $[93] = t1;
504
+ $[93] = row.tool;
505
+ $[94] = t1;
504
506
  } else {
505
- t1 = $[93];
507
+ t1 = $[94];
506
508
  }
507
509
  let t2;
508
- if ($[94] !== row.startedAt || $[95] !== t1) {
510
+ if ($[95] !== row.startedAt || $[96] !== t1) {
509
511
  t2 = /*#__PURE__*/_jsx(WorkingRow, {
510
512
  startedAt: row.startedAt,
511
513
  ...t1
512
514
  });
513
- $[94] = row.startedAt;
514
- $[95] = t1;
515
- $[96] = t2;
515
+ $[95] = row.startedAt;
516
+ $[96] = t1;
517
+ $[97] = t2;
516
518
  } else {
517
- t2 = $[96];
519
+ t2 = $[97];
518
520
  }
519
521
  return t2;
520
522
  }
521
523
  case "app-card":
522
524
  {
523
525
  let t1;
524
- if ($[97] !== row.card) {
526
+ if ($[98] !== row.card) {
525
527
  t1 = /*#__PURE__*/_jsx(AppCardRow, {
526
528
  card: row.card
527
529
  });
528
- $[97] = row.card;
529
- $[98] = t1;
530
+ $[98] = row.card;
531
+ $[99] = t1;
530
532
  } else {
531
- t1 = $[98];
533
+ t1 = $[99];
532
534
  }
533
535
  return t1;
534
536
  }
535
537
  case "visual":
536
538
  {
537
539
  let t1;
538
- if ($[99] !== chatId || $[100] !== row.visual) {
540
+ if ($[100] !== chatId || $[101] !== row.visual) {
539
541
  t1 = /*#__PURE__*/_jsx(VisualRow, {
540
542
  chatId: chatId,
541
543
  visual: row.visual
542
544
  });
543
- $[99] = chatId;
544
- $[100] = row.visual;
545
- $[101] = t1;
545
+ $[100] = chatId;
546
+ $[101] = row.visual;
547
+ $[102] = t1;
546
548
  } else {
547
- t1 = $[101];
549
+ t1 = $[102];
548
550
  }
549
551
  return t1;
550
552
  }
@@ -105,6 +105,7 @@ declare const _default: {
105
105
  used: string;
106
106
  percentUsed: string;
107
107
  estimate: string;
108
+ pending: string;
108
109
  parts: {
109
110
  toolOutput: string;
110
111
  filesRead: string;
@@ -157,6 +158,8 @@ declare const _default: {
157
158
  compaction: {
158
159
  plain: string;
159
160
  from: string;
161
+ to: string;
162
+ fromTo: string;
160
163
  summary: string;
161
164
  };
162
165
  selectionSwitch: {
@@ -105,6 +105,7 @@ export default {
105
105
  used: '{{tokens}} used',
106
106
  percentUsed: '{{percent}} used',
107
107
  estimate: '≈{{tokens}}',
108
+ pending: 'Size known after the next reply',
108
109
  parts: {
109
110
  toolOutput: 'Tool output',
110
111
  filesRead: 'Files read',
@@ -157,6 +158,8 @@ export default {
157
158
  compaction: {
158
159
  plain: 'Context compacted',
159
160
  from: 'Context compacted from {{tokens}} tokens',
161
+ to: 'Context compacted to {{tokens}} tokens',
162
+ fromTo: 'Context compacted from {{from}} to {{to}} tokens',
160
163
  summary: 'Everything above reaches the agent only as a summary'
161
164
  },
162
165
  selectionSwitch: {
@@ -1,5 +1,12 @@
1
1
  declare const _default: {
2
2
  limits: {
3
+ notRead: string;
4
+ refresh: string;
5
+ reading: string;
6
+ refreshHint: string;
7
+ refreshFailed: string;
8
+ offline: string;
9
+ lastKnown: string;
3
10
  title: string;
4
11
  explain: string;
5
12
  loading: string;
@@ -24,6 +31,9 @@ declare const _default: {
24
31
  signedOutDetail: string;
25
32
  logIn: string;
26
33
  checked: {
34
+ unknown: string;
35
+ updated: string;
36
+ old: string;
27
37
  now: string;
28
38
  ago: string;
29
39
  fromTurn: string;
@@ -1,5 +1,12 @@
1
1
  export default {
2
2
  limits: {
3
+ notRead: 'No plan limits have been read. Read them again on this machine.',
4
+ refresh: 'Read limits again',
5
+ reading: 'Reading limits',
6
+ refreshHint: 'Asks this machine to read the eligible accounts again.',
7
+ refreshFailed: 'Could not read limits. Try again.',
8
+ offline: 'Connect to this machine to read limits.',
9
+ lastKnown: 'Last known numbers',
3
10
  title: 'Limits',
4
11
  explain: 'The mark shows where usage would be at an even pace. Past the mark, you use it up faster than it resets.',
5
12
  loading: 'Loading limits…',
@@ -24,6 +31,9 @@ export default {
24
31
  signedOutDetail: 'Not logged in. Log in to see limits.',
25
32
  logIn: 'Log in',
26
33
  checked: {
34
+ unknown: 'Update time unknown',
35
+ updated: 'Last updated · {{when}}',
36
+ old: 'May be out of date',
27
37
  now: 'now',
28
38
  ago: '{{duration}} ago',
29
39
  fromTurn: 'From a turn · {{when}}'
@@ -105,6 +105,7 @@ declare const _default: {
105
105
  used: string;
106
106
  percentUsed: string;
107
107
  estimate: string;
108
+ pending: string;
108
109
  parts: {
109
110
  toolOutput: string;
110
111
  filesRead: string;
@@ -157,6 +158,8 @@ declare const _default: {
157
158
  compaction: {
158
159
  plain: string;
159
160
  from: string;
161
+ to: string;
162
+ fromTo: string;
160
163
  summary: string;
161
164
  };
162
165
  selectionSwitch: {
@@ -105,6 +105,7 @@ export default {
105
105
  used: '{{tokens}} gebruikt',
106
106
  percentUsed: '{{percent}} gebruikt',
107
107
  estimate: '≈{{tokens}}',
108
+ pending: 'Grootte bekend na het volgende antwoord',
108
109
  parts: {
109
110
  toolOutput: 'Tool-output',
110
111
  filesRead: 'Gelezen bestanden',
@@ -157,6 +158,8 @@ export default {
157
158
  compaction: {
158
159
  plain: 'Context gecomprimeerd',
159
160
  from: 'Context gecomprimeerd vanaf {{tokens}} tokens',
161
+ to: 'Context gecomprimeerd tot {{tokens}} tokens',
162
+ fromTo: 'Context gecomprimeerd van {{from}} tot {{to}} tokens',
160
163
  summary: 'Alles hierboven kent de agent alleen nog als samenvatting'
161
164
  },
162
165
  selectionSwitch: {
@@ -1,5 +1,12 @@
1
1
  declare const _default: {
2
2
  limits: {
3
+ notRead: string;
4
+ refresh: string;
5
+ reading: string;
6
+ refreshHint: string;
7
+ refreshFailed: string;
8
+ offline: string;
9
+ lastKnown: string;
3
10
  title: string;
4
11
  explain: string;
5
12
  loading: string;
@@ -24,6 +31,9 @@ declare const _default: {
24
31
  signedOutDetail: string;
25
32
  logIn: string;
26
33
  checked: {
34
+ unknown: string;
35
+ updated: string;
36
+ old: string;
27
37
  now: string;
28
38
  ago: string;
29
39
  fromTurn: string;
@@ -1,5 +1,12 @@
1
1
  export default {
2
2
  limits: {
3
+ notRead: 'Nog geen planlimieten gelezen. Lees ze opnieuw op deze machine.',
4
+ refresh: 'Limieten opnieuw lezen',
5
+ reading: 'Limieten lezen',
6
+ refreshHint: 'Vraagt deze machine de geschikte accounts opnieuw te lezen.',
7
+ refreshFailed: 'Limieten lezen mislukt. Probeer opnieuw.',
8
+ offline: 'Maak verbinding met deze machine om limieten te lezen.',
9
+ lastKnown: 'Laatst bekende cijfers',
3
10
  title: 'Limieten',
4
11
  explain: 'De markering toont waar het verbruik bij een gelijk tempo zou staan. Voorbij de markering verbruik je sneller dan het weer vrijkomt.',
5
12
  loading: 'Limieten laden…',
@@ -24,6 +31,9 @@ export default {
24
31
  signedOutDetail: 'Niet ingelogd. Log in om limieten te zien.',
25
32
  logIn: 'Inloggen',
26
33
  checked: {
34
+ unknown: 'Bijwerktijd onbekend',
35
+ updated: 'Laatst bijgewerkt · {{when}}',
36
+ old: 'Mogelijk verouderd',
27
37
  now: 'nu',
28
38
  ago: '{{duration}} geleden',
29
39
  fromTurn: 'Uit een turn · {{when}}'
package/dist/theme.css CHANGED
@@ -155,15 +155,20 @@
155
155
  @keyframes chat-fade { from { opacity: 0; } to { opacity: 1; } }
156
156
  /* A node of an intelligent UI block that lands inside another, such as a step or a row: 160ms like
157
157
  the card's own children, but only a fade, so a parent arriving with its children rises once. */
158
- .chat-ui-nodes > * {
158
+ .chat-ui-nodes > *, .chat-ui-nodes > .chat-ui-live > * {
159
159
  transition: opacity 160ms ease-out;
160
160
  @starting-style { opacity: 0; }
161
161
  }
162
- /* A value a live reading changed lights up in the accent once and settles back in 800ms. */
163
- .chat-ui-changed { animation: chat-ui-changed 800ms ease-out; }
162
+ /* A node whose live read failed dims its last value until a read succeeds. The wrapper draws no box of its
163
+ own, so its child dims; one stale inside another stays at the parent's opacity rather than dimming twice. */
164
+ .chat-ui-stale.chat-ui-live > *, .chat-ui-stale.chat-ui-live-text { opacity: 0.5; transition: opacity 160ms ease-out; }
165
+ .chat-ui-stale .chat-ui-stale.chat-ui-live > *, .chat-ui-stale .chat-ui-stale.chat-ui-live-text { opacity: 1; }
166
+ /* A value a live reading changed lights up in the accent once and settles back in 800ms. A tag keeps a
167
+ color of its own, so the light runs on the direct child too. */
168
+ .chat-ui-changed, .chat-ui-changed > * { animation: chat-ui-changed 800ms ease-out; }
164
169
  @keyframes chat-ui-changed { from { color: var(--accent); } }
165
170
  @media (prefers-reduced-motion: reduce) {
166
- .chat-ui-changed { animation: none; }
171
+ .chat-ui-changed, .chat-ui-changed > * { animation: none; }
167
172
  }
168
173
  /*
169
174
  * A block stands in a band across the whole thread, hatched above and below, with its tiles at the
@@ -0,0 +1,5 @@
1
+ import type { UsageLimitsProvider } from '@adecore/agent-contracts';
2
+ export declare function LimitProvenance({ entry, now }: {
3
+ entry: UsageLimitsProvider;
4
+ now: number;
5
+ }): import("react").JSX.Element | null;
@@ -0,0 +1,104 @@
1
+ import { c as _c } from "react/compiler-runtime";
2
+ import clsx from 'clsx';
3
+ import { useTranslation } from 'react-i18next';
4
+ import { checkedAge, checkedLabel, showsWindows } from './limit-groups.js';
5
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
6
+ export function LimitProvenance(t0) {
7
+ const $ = _c(23);
8
+ const {
9
+ entry,
10
+ now
11
+ } = t0;
12
+ const {
13
+ t
14
+ } = useTranslation("agent-usage");
15
+ const age = checkedAge(entry, now);
16
+ let t1;
17
+ let t2;
18
+ let t3;
19
+ let t4;
20
+ if ($[0] !== age || $[1] !== entry || $[2] !== now || $[3] !== t) {
21
+ t4 = Symbol.for("react.early_return_sentinel");
22
+ bb0: {
23
+ const when = checkedLabel(entry, now);
24
+ const retained = entry.unavailable?.reason === "failed" && entry.windows.length > 0;
25
+ if (!showsWindows(entry)) {
26
+ t4 = null;
27
+ break bb0;
28
+ }
29
+ const t5 = age !== null && age >= 600000 ? "text-status-needs-you" : "text-text-muted";
30
+ if ($[8] !== t5) {
31
+ t2 = clsx("flex flex-wrap gap-x-2 text-xs", t5);
32
+ $[8] = t5;
33
+ $[9] = t2;
34
+ } else {
35
+ t2 = $[9];
36
+ }
37
+ if ($[10] !== retained || $[11] !== t) {
38
+ t3 = retained && /*#__PURE__*/_jsx("span", {
39
+ children: t("limits.lastKnown")
40
+ });
41
+ $[10] = retained;
42
+ $[11] = t;
43
+ $[12] = t3;
44
+ } else {
45
+ t3 = $[12];
46
+ }
47
+ t1 = when === null ? t("limits.checked.unknown") : t("limits.checked.updated", {
48
+ when
49
+ });
50
+ }
51
+ $[0] = age;
52
+ $[1] = entry;
53
+ $[2] = now;
54
+ $[3] = t;
55
+ $[4] = t1;
56
+ $[5] = t2;
57
+ $[6] = t3;
58
+ $[7] = t4;
59
+ } else {
60
+ t1 = $[4];
61
+ t2 = $[5];
62
+ t3 = $[6];
63
+ t4 = $[7];
64
+ }
65
+ if (t4 !== Symbol.for("react.early_return_sentinel")) {
66
+ return t4;
67
+ }
68
+ let t5;
69
+ if ($[13] !== t1) {
70
+ t5 = /*#__PURE__*/_jsx("span", {
71
+ children: t1
72
+ });
73
+ $[13] = t1;
74
+ $[14] = t5;
75
+ } else {
76
+ t5 = $[14];
77
+ }
78
+ let t6;
79
+ if ($[15] !== age || $[16] !== t) {
80
+ t6 = age !== null && age >= 600000 && /*#__PURE__*/_jsx("span", {
81
+ children: t("limits.checked.old")
82
+ });
83
+ $[15] = age;
84
+ $[16] = t;
85
+ $[17] = t6;
86
+ } else {
87
+ t6 = $[17];
88
+ }
89
+ let t7;
90
+ if ($[18] !== t2 || $[19] !== t3 || $[20] !== t5 || $[21] !== t6) {
91
+ t7 = /*#__PURE__*/_jsxs("p", {
92
+ className: t2,
93
+ children: [t3, t5, t6]
94
+ });
95
+ $[18] = t2;
96
+ $[19] = t3;
97
+ $[20] = t5;
98
+ $[21] = t6;
99
+ $[22] = t7;
100
+ } else {
101
+ t7 = $[22];
102
+ }
103
+ return t7;
104
+ }