@aiquants/console-ui 0.6.0 → 0.6.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.
- package/README.md +17 -8
- package/dist/chunk-5TCPOLTI.js +1 -0
- package/dist/chunk-WKYOVFUG.cjs +1 -0
- package/dist/core.cjs +1 -1
- package/dist/core.d.cts +5 -1
- package/dist/core.d.ts +5 -1
- package/dist/core.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/styles/console-ui.css +7 -0
- package/package.json +1 -1
- package/dist/chunk-4IQKQ7WF.js +0 -1
- package/dist/chunk-S6DFKVUV.cjs +0 -1
package/README.md
CHANGED
|
@@ -28,6 +28,7 @@ The `/core` exports:
|
|
|
28
28
|
- Tones and the CSS text of a colour (see Tokens and colours): `TONES`, `TONE_HUES`, `TONE_ROLES` and the types `Tone`, `ToneHue` and `ToneRole`; `lightDark(color)` and `placeholderRule(rootAttribute)`.
|
|
29
29
|
- The geometry the tokens are computed on: `LATTICE_PX` (4), `TARGET_PX` (44), `ROW_WITH_CONTROL_PX` (52), `COMPACT_ROW_PX` (28) and `ceilToLattice(px)` (the smallest lattice multiple at or above a length).
|
|
30
30
|
- Layout arithmetic: `textWidthEm`, `monoTextWidthEm` (the type `TextFace` names the face each model sizes), `ceil8`, `tileGridPlan`, `tableMinInlinePx`, `tableFrameMinInlinePx` (the narrowest a `DataTable` is while its table shows without scrolling: the table's minimum and the scroll frame's 4 px inline padding on both sides), `masterDetailPlan`.
|
|
31
|
+
- The golden section and rem: `goldenSectionPx(lengthPx, step)` (the length / φ^step for a step at or above 0: step 1 is the larger part of one golden cut and step 2 its smaller part, which add back up to the length; φ itself is not exported) and `pxToRem(px)` (a px length written as the rem length the stylesheet uses, at the 16 px root the formulas assume).
|
|
31
32
|
- Widths sized from what a box holds (see Layout): `fixedColumnPx({ header, note }, contents)` (a `DataTable` fixed column; the first argument, type `ColumnHeaderText`, mirrors `ColumnDef`'s `header` and, for a column with a note, lists every line its `note` may show; `contents` are `CellContent` values, measured one by one with `cellContentInlinePx(content)`), `FLEXIBLE_COLUMN_MIN_PX` (160: the one minimum every flexible column shares), `comparisonAttributePx(labels)` (a `ComparisonGrid`'s `attributePx`), `tileMinInlinePx(captions, values)` (a `TileGrid`'s `minInlinePx`),
|
|
32
33
|
`instantSampleText(formatLocale, timeZone)` (the text an instant column is measured with) and `countSampleText(formatLocale, unit?)` (the text a count column or a tile's count is measured with).
|
|
33
34
|
- Figure formulas (see Figures): `spacedTextWidthEm(text, face)` (a line's width under the widest letter and word spacing WCAG 1.4.12 allows), `figureBoxPlan({ name, notes })` (the narrowest width and the height of a figure node's box, types `FigureBoxLines` and `FigureBoxPlan`), `figureDiscLabelPlan(label, radiusPx)` (the width of the name under a disc and its reach below the centre; for `null`, a disc drawn without a name, width 0 and the reach of its focus ring; type `FigureDiscLabelPlan`) and `FIGURE_RING_REACH_PX` (4: how far a node's focus ring reaches beyond the node).
|
|
@@ -37,6 +38,9 @@ The `/core` exports:
|
|
|
37
38
|
It covers the white space of both JavaScript (`\s`) and Python (`\s`), so a record written in either language that reads as blank in it is not readable here either.
|
|
38
39
|
It is the one rule of a blank text: `Measured` refuses a `text` or `unit` it rejects, and a host decides with it whether a text is worth drawing at all.
|
|
39
40
|
- Labels: `CONSOLE_UI_LABEL_CATALOGS`, `resolveConsoleUiLabels` (a UI language's catalog, whose `loadFailed`, `refreshFailed` and `forbiddenBecause` build the failure sentences and whose `failureSentence` is the one rule that chooses between them), `reasonAside` (a failure's reason as a parenthetical).
|
|
41
|
+
- Label templates: `fillLabel(template, values)` is the one filler of a label that carries a value (a count, a name) as a `{key}` placeholder (a key is ASCII letters, digits and `_`), so the label's language, not the code that draws it, decides where the value stands; a label that crosses a loader as a plain string carries its values this way.
|
|
42
|
+
It scans the template once and writes every value as plain text: a `{key}` inside a value is not filled again, and `$&`, `$1` or `` $` `` in a value are not replacement patterns, so a name a user controls cannot pull another value in or forge another sentence.
|
|
43
|
+
A placeholder whose key `values` does not own (an inherited key such as `{constructor}` included) stays as written, so a forgotten value shows instead of leaving a sentence with a word missing. A number is written with `String`: format a count with `formatCount` first when it should follow a locale.
|
|
40
44
|
- The read contract: the types `ResourceOutcome<T>` / `ResourceState<T>` / `ReloadCause`, `HTTP_FORBIDDEN` (the status of a refusal), `keepLastGood`, `beginReload`, `mapOutcome` and `flatMapOutcome`.
|
|
41
45
|
- The command contract: the type `CommandOutcome<T, R>` (a command the host can refuse with a structured body, which the failure carries as `rejection`).
|
|
42
46
|
- The keyset paging machine: the types `KeysetPage<T, C, M>` / `NextPage<T, C>` / `PagedValue<T, C, M>` / `PagedState<T, C, M>` / `PageFailure` / `PagedContent<T, M>`, `beginPagedReload`, `settleFirstPage`, `beginPage`, `settlePage` and `mapPagedList`.
|
|
@@ -109,13 +113,14 @@ The root sets no font property: host content inside the root keeps its own font
|
|
|
109
113
|
The root declares no `color-scheme` either: every colour is a `light-dark()` pair, so the palette follows the scheme the root inherits. A host with its own light and dark modes binds them to `color-scheme` (`html { color-scheme: light; }` and `html.dark { color-scheme: dark; }`), so the console and the host never show different schemes; `color-scheme: light dark` on `:root` would follow the operating system instead and can disagree with the host's own switch.
|
|
110
114
|
|
|
111
115
|
Every component that renders an element throws outside the root, because the token variables and the colour roles are scoped to the root's DOM and would not reach it; the hooks `useFocusRescue`, `useEscapeToClose`, `useResource` and `usePagedResource` do not need the root. For the same reason an overlay must render inside the root's DOM, not in a portal to `<body>`: a portal keeps the React context but loses every `--cui-*` variable.
|
|
112
|
-
Draw a modal as a `Dialog`: a modal `<dialog>` (`showModal()`) makes everything outside it inert, the
|
|
116
|
+
Draw a modal as a `Dialog`: a modal `<dialog>` (`showModal()`) makes everything outside it inert, the live region of every root included, so `Dialog` holds a live region of its own, which takes the announcements of every console on the page while it is the topmost open modal (see Focus and announcements).
|
|
117
|
+
Draw any other overlay as a non-modal `<dialog>` (opened with `show()`) or a popover placed in the tree. A modal that is not a `Dialog` and does not contain the console, or a host's `inert` or `aria-hidden="true"` on the console, hides the announcer: a write to it then throws instead of being dropped; announce after that modal closes.
|
|
113
118
|
|
|
114
119
|
### Tokens and colours
|
|
115
120
|
|
|
116
121
|
- Every length, type step and duration is computed from a few formulas (no value is written by hand):
|
|
117
122
|
- a 4 px lattice (`LATTICE_PX`) and the spaces 4, 8, 12, 16, 24, 32, 48, 64 and 96 (`space-1` … `space-24`, multipliers whose prime factors are 2 and 3);
|
|
118
|
-
- type steps of round(16 × 1.25^k) px, never below 11 px, each line the smallest lattice multiple at or above 1.5 times its size (WCAG 1.4.8; `title`, beside controls, and `prose`, the reading line, at 1.75): `caption` 11/20, `body` 13/20, `prose` 13/24, `title` 16/28, `heading` 20/32, `display` 25/40, `display-lg` 31/48;
|
|
123
|
+
- type steps of round(16 × 1.25^k) px, never below 11 px, each line the smallest lattice multiple at or above 1.5 times its size (WCAG 1.4.8; `title`, beside controls, and `prose`, the reading line, at 1.75): `caption` 11/20, `body` 13/20, `prose` 13/24, `body-lg` 16/24 (the body of a surface read at length, such as a conversation or an article: the 16 px base step with the 1.5 line), `title` 16/28, `heading` 20/32, `display` 25/40, `display-lg` 31/48;
|
|
119
124
|
- the 44 px target (`TARGET_PX`: a `body` line with 12 px above and below), which is also the height of a control and of a table row (`size-target`, `size-control`, `size-row`), the 52 px row that holds a control (`ROW_WITH_CONTROL_PX`: the target with one lattice unit above and below, `size-row-control`) and the 28 px compact row of a read-only line table (`COMPACT_ROW_PX`: a `body` line with one lattice unit above and below, `size-row-compact`);
|
|
120
125
|
- motion of 120, 180 and 270 ms (`motion-1` … `motion-3`, 120 × 1.5^(k − 1)).
|
|
121
126
|
Only `body` (20) and `title` (28) lines, whose difference from 44 is a multiple of 8, can be centred in a 44 px box on the lattice, so every control draws its text in `body` or `title`.
|
|
@@ -128,7 +133,8 @@ Draw a modal as a `Dialog`: a modal `<dialog>` (`showModal()`) makes everything
|
|
|
128
133
|
A figure's lines are the same roles (see Figures): a node's plate line on both the figure's `surface` and its own face (`border-control` on `surface` 4.76 / 6.78; `info-accent` 5.25 / 6.76 and 4.82 / 5.6 on `info-tint`; `success-accent` 3.65 / 9.2 and 3.47 / 7.83; `warning-accent` 5.03 / 10.4 and 4.85 / 8.75; `danger-accent` 4.77 / 6.17 and 4.36 / 5.6, light / dark), an edge and its arrowhead (`border-control`, or `info-accent` when strong) and a node's focus ring (`focus`, 5.25 / 6.76) on `surface`. A figure's text takes its text role's colour as its fill (`currentColor`,
|
|
129
134
|
in that one declaration only).
|
|
130
135
|
The solid buttons', the pressed segment's and the checked switch track's border is their own fill, and the rules of cards, tables, comparison headings, description lists and dialogs (`border-subtle`) are decorative, never a component's only boundary. A switch's thumb stands out from its track by at least 3 : 1 in both schemes.
|
|
131
|
-
- The tone table (`TONES`) is for a host that colours by hue outside the components (a category, a tag, a person, a kind of record); the components paint only with the roles above.
|
|
136
|
+
- The tone table (`TONES`) is for a host that colours by hue outside the components (a category, a tag, a person, a kind of record); the components paint only with the roles above.
|
|
137
|
+
It holds seventeen hues (`TONE_HUES`: indigo, violet, purple, fuchsia, pink, rose, red, orange, amber, yellow, lime, green, emerald, teal, cyan, sky and blue, each Tailwind CSS's family of that name) with six roles each (`TONE_ROLES`): the text `fg`, the tinted surface `tint`, the mark `accent` (a status dot, a bar, the ring of a selected item), the decorative line `line`, the solid fill under `on-solid` text `solid` and its hover `solid-hover`.
|
|
132
138
|
In both schemes every tone's text keeps 7:1, and every tone's mark, `focus` and `border-control` keep 3:1, on `surface`, `subtle`, `sunken` and every tone's tint; every neutral text keeps 7:1 on every tint; and `on-solid` keeps 7:1 on every solid and its hover. The line is decorative, never a component's only boundary, and nothing in the table is translucent.
|
|
133
139
|
The text, the tint and the mark follow one rule over Tailwind CSS's palette and the status tokens, stated with its two exceptions where `TONES` is declared; the red, amber, emerald and blue tones take the danger, warning, success and info tokens wherever those meet the rule, and the tests rebuild every value from the rule. The line is the text with its schemes swapped, the solid is the text and the solid's hover is the tint with its schemes swapped.
|
|
134
140
|
A host writes a role into an inline style as `lightDark(TONES.blue.fg)` (`light-dark(#193cb8, #bedbff)`; `lightDark` refuses a value that is not `#rrggbb`, and the stylesheet's token variables are written through it), or reads one scheme's value, `TONES.blue.fg.light`, where `light-dark()` cannot be resolved (a canvas).
|
|
@@ -256,15 +262,18 @@ Draw a modal as a `Dialog`: a modal `<dialog>` (`showModal()`) makes everything
|
|
|
256
262
|
In the first commit after a press, `LoadMore` throws when `rows.ref` is not attached or holds a number of marked elements other than `rows.count`.
|
|
257
263
|
- The focus ring (2 px `focus`, 2 px outset) is drawn only on the elements the package lets take focus; host controls placed inside the root keep their own focus style.
|
|
258
264
|
- `Toolbar` is one stop in the Tab order (a roving tabindex over its buttons, `aria-disabled` ones included): Tab enters it at the control that last had focus (the first until then), the arrow keys move to the next and previous control and wrap around (swapped in a right-to-left toolbar), and Home and End move to the first and the last. `Tabs` and `Breadcrumb` are real links, each in the Tab order.
|
|
259
|
-
- `Dialog` opens with `showModal()`, so the browser traps focus in it, makes the rest of the document inert and closes it on Escape; focus starts on its close button and returns, when it closes or unmounts open, to the element that had it when it opened. `onClose` is called when the operator closes it (the close button or Escape), not when the caller sets `open` to `false`.
|
|
260
|
-
|
|
265
|
+
- `Dialog` opens with `showModal()`, so the browser traps focus in it, makes the rest of the document inert and closes it on Escape; focus starts on its close button and returns, when it closes or unmounts open, to the element that had it when it opened. `onClose` is called when the operator closes it (the close button or Escape), not when the caller sets `open` to `false`.
|
|
266
|
+
A `close` event that arrives while it is open again (it closed and reopened in one task, as `StrictMode` does to a dialog mounted open) is not the operator's, so it moves no focus and calls no `onClose`. Escape does not close it while focus is in a text field holding a value, as `useEscapeToClose`.
|
|
267
|
+
- The root owns the one announcer: `useAnnounce()` returns `announce(text)`. It writes to the root's polite live region or, while a `Dialog` (of this console or of another console on the page) is the topmost open modal, to that dialog's own polite region (which the modal leaves reachable while it hides every root's).
|
|
261
268
|
Calls are coalesced over a quiet window: every call restarts a timer of `ANNOUNCE_SETTLE_MS` (150 ms), and when it passes without a call (or 1 s after the first pending call, so a stream of calls cannot hold the write back) the pending sentences are written to the region once, as one string in call order.
|
|
262
269
|
A browser exposes the accessibility tree per rendering update, not per task, while one operator action spreads its calls over several tasks (an async handler continues after `await`, and React runs a default-lane commit's passive effects in a later task), so a write per task would let a later sentence replace an earlier one before it is read.
|
|
263
270
|
The merge is by time, not by cause: calls less than 150 ms apart are one write unless the 1 s deadline of the pending write falls between them. The calls of one commit or one action are therefore one write when they come within the window and before that deadline; a handler that awaits longer than the window between two calls, or a commit whose passive effects run after the deadline, gives two writes. Any two writes are at least 150 ms apart, so no sentence is replaced before it is exposed.
|
|
271
|
+
A `Dialog`'s region also takes the writes of the other consoles on the page, which are not spaced against each other, so a write there carries along, before its own sentence, every sentence other consoles wrote there less than 150 ms before: none is replaced before it is exposed, and one carried along may be read twice.
|
|
264
272
|
The same sentence announced again later is read again. `announce` throws `RangeError` for an empty or blank sentence (a missing label or outcome text), which would otherwise clear the region or pad the merged string. `AlertMessage` (`role="alert"`, keyed by the failure's `occurrence`) is used for failures only; `Notice` has no live-region role.
|
|
265
|
-
A live region hidden from assistive technology drops every sentence without an error, so the write throws `Error` (from the timer, as an uncaught error that names the lost sentences) when, at that moment, the console is rendered but
|
|
273
|
+
A live region hidden from assistive technology drops every sentence without an error, so the write throws `Error` (from the timer, as an uncaught error that names the lost sentences) when, at that moment, the console is rendered but no region it writes to reaches assistive technology:
|
|
274
|
+
an ancestor of the announcer is `inert` or `aria-hidden="true"` (in any letter case, as ARIA reads the value), or the topmost open modal `<dialog>` neither contains the console nor is a `Dialog` (everything outside the topmost modal is inert, lower modal dialogs included), or it is a `Dialog` whose region such an ancestor hides.
|
|
266
275
|
The DOM does not expose which open modal is topmost, so it is told from focus, which inert content cannot hold: the candidates are the open modal dialogs that contain the focused element, or all of them while focus is in none.
|
|
267
|
-
The write lands in the root's region when every candidate contains the console
|
|
276
|
+
The write lands in the root's region when every candidate contains the console. Otherwise the topmost is the innermost candidate (the one inside all the others): when it is a `Dialog`, of this console or of another console on the page, the write lands in that dialog's region; when it is any other modal, the write throws. When no candidate lies inside all the others (focus is in none of the open modal dialogs and they do not nest), which one is topmost cannot be told, and the write throws as well.
|
|
268
277
|
The check runs at the write, not at the call, so a handler may announce its outcome and close the modal in the same task, or let an effect close it, as long as the modal is closed when the quiet window passes: an outcome announced inside a `Dialog` that then closes is heard in the root's region.
|
|
269
278
|
`JobCard`'s state line is a live region of its own (polite and atomic, holding the job's hidden name and its state pill), so a changed state is read as `<name> <state>` without moving focus or interrupting (WCAG 2.2.4), exactly as drawn.
|
|
270
279
|
The check needs the `:modal` selector (Chrome 105, Firefox 103, Safari 15.6): `ConsoleUiRoot` probes it once when it mounts and throws there, naming the requirement, in a document without it.
|
|
@@ -340,7 +349,7 @@ Draw a modal as a `Dialog`: a modal `<dialog>` (`showModal()`) makes everything
|
|
|
340
349
|
| `Card`, `CardSection` | `h2` card (a named region that draws its content in the body type and the sans face) and flat `h3` section (a landmark only with `region`, for a non-modal region such as an inspector; `level={4}` draws an `h4` in the same step and weight for a section inside a section, so the outline does not skip a level); `headingRef` makes the heading a programmatic focus target (`tabIndex={-1}`). `onEscape` closes a card or a region section on Escape (only a region takes it; see Focus and announcements). A card or section that another control expands takes that control's `aria-controls` target as its `id` (the detail of a `SelectableList` is `<CardSection id={detailId} …>`), so the reference resolves. |
|
|
341
350
|
| `Stack`, `Cluster` | Vertical and wrapping horizontal layout with a spacing token; `Cluster as="span"` is the phrasing form a control's content may hold (an inline-flex `span`, same gap tokens). |
|
|
342
351
|
| `List`, `ListItem` | A list of items stacked with a spacing token (`gap`): a `ul` or an `ol` with an explicit `role="list"` (WebKit with VoiceOver does not expose a list without markers as a list), its items `li` that take the caller's `testId` (one for the items of a list, or one per item) and `dataAttributes` for their identity; the list derives no test id. `marker="bullet"` (a `ul`) or `"number"` (an `ol`) draws the foundation's markers in the items' `type` (`body` or `prose`) for items whose content carries no marker of its own (lines of text); `marker="none"` keeps the semantics and draws nothing for items that carry their own name, number or box (a disclosure, a row with a control, a link, a line that starts with its own number), and `ordered` picks the `ol` when the order means something. A marked list has a marker column at least 16 px (`space-4`) wide and as wide as its widest marker, shared by every item (a subgrid), and the text 8 px (`space-2`) after it: 24 px for a bullet and the numbers 1 to 9, further out together for longer numbers or wider text spacing. A list without markers carries its `gap` as `data-cui-gap`; a marked list, whose two axes differ, carries it as `data-cui-row-gap` (between the items) and the 8 px as `data-cui-column-gap="space-2"` (see Layout for what each attribute promises). The marker is one line of the list's type at the top of its item, in the text colour the item inherits: it never changes the item's height, it is text measured at 7:1 like any text (`scanColourRoles` reads one text per item) and forced colours repaint it as text; a bullet is hidden from assistive technology, a number is read. Items have no padding or border, so n items of k lines of a line L apart by g are nkL + (n − 1)g px high, on the lattice. An item may hold block content (a disclosure, a paragraph, a row of labels); a marked list's item text carries the reading measure. `label` names the list (`aria-label`; a blank one throws `RangeError` naming `testId`); `id` and `hidden` make it the `aria-controls` target of the control that shows it. `ListItem` throws outside a `List` and inside another item's content without a `List` of its own. |
|
|
343
|
-
| `Button`, `Link`, `FragmentLink` | Buttons that keep focus when they cannot act; an in-document move drawn as a link (no `href`); a real link to a place in the same document (`href="#<targetId>"`, drawn like `Link`, with an optional `onFollow` called
|
|
352
|
+
| `Button`, `Link`, `FragmentLink` | Buttons that keep focus when they cannot act; an in-document move drawn as a link (no `href`); a real link to a place in the same document (`href="#<targetId>"`, drawn like `Link`, with an optional `onFollow` called with the click event; the browser moves unless it calls `event.preventDefault()`, as a caller that moves the focus itself must, since the browser's move drops the focus when the target cannot take it), for a jump list whose entries assistive technology should list with the links. |
|
|
344
353
|
| `Pill` | A text status label, 28 px high (a body line it sits on stays 20 px), text width + 16 px wide, `vertical-align: top`; as a line of a `RowButton` it keeps that width. A line mixing a `Pill` and text is one `Text` span containing the `Pill`. |
|
|
345
354
|
| `Notice`, `AlertMessage` | Quiet note; failure message read once per occurrence. Both are paragraphs with the reading measure. |
|
|
346
355
|
| `Measured` | A measured value in tabular figures, or the `unmeasured` label for `null` (never `0` or an empty slot), marked `data-measured`: a count (`value`, in the root's format locale, with an optional `unit` after a space) or a text the caller formatted (`text`, such as a byte size, an instant, a version or a rate), never both. A text says how it breaks (`keep`, `data-cui-keep` in both states): `"whole"` for a figure read as one unit (`1.0 MiB`, `2026/09/24 01:00:00`), an inline-block like `Pill` that moves to the next line whole and breaks inside only when it is longer than its column (no `nowrap`, so it never overflows), or `"wrap"` for a text that wraps with its container (an identifier, a version). A `text` or `unit` with nothing to read (`isReadableText`) throws `RangeError` naming `testId`; pass `null` for a value that was not measured. |
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var j=new Map,O=(e,n)=>{if(!(Number.isSafeInteger(e)&&e>=0))throw new RangeError(`A count must be a non-negative safe integer: ${e}`);let t=j.get(n);return t===void 0&&(t=new Intl.NumberFormat(n,{maximumFractionDigits:0,useGrouping:!0}),j.set(n,t)),t.format(e)},Y=(e,n)=>n===void 0?e:`${e} ${n}`;var Ce=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?$/,Ee=/[!-~]/g;var Pe=/^[^eE]*[1-9]/,K=e=>{let n=e.replace(Ee,r=>String.fromCharCode(r.charCodeAt(0)-65248)).trim();if(!Ce.test(n))return null;let t=Number(n);return Number.isFinite(t)?t===0?Pe.test(n)?null:0:t:null},Se=e=>{let n=K(e);return n!==null&&Number.isSafeInteger(n)?n:null};var _e=/[^\p{White_Space}\p{Cc}\p{Cf}\p{Default_Ignorable_Code_Point}]/u,f=e=>_e.test(e);var l=class extends RangeError{reason;constructor(n,t){super(t),this.name="ZonedTimeError",this.reason=n}},Oe=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d+))?)?$/,we=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(?:(Z)|([+-])(\d{2}):(\d{2}))$/,Ie=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2})(?:\.\d+)?)?(?:(Z)|([+-])(\d{2}):?(\d{2}))$/,V=864e5,I=6e4,C={min:1,max:9999},J=new Map,q=new Map,Ne=e=>{let n=J.get(e);return n===void 0&&(n=new Intl.DateTimeFormat("en-US",{timeZone:e,hourCycle:"h23",era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),J.set(e,n)),n},Z=e=>{let n=new Date(0);return n.setUTCFullYear(e.year,e.month-1,e.day),n.setUTCHours(e.hour,e.minute,e.second,0),n.getUTCFullYear()===e.year&&n.getUTCMonth()===e.month-1&&n.getUTCDate()===e.day&&n.getUTCHours()===e.hour&&n.getUTCMinutes()===e.minute&&n.getUTCSeconds()===e.second?n.getTime():null},N=(e,n)=>{let[t,r,o,s,c,i,R]=n;if(R!==void 0&&/[1-9]/.test(R))throw new l("subsecond",`Fractions of a second cannot be kept: ${e}`);let g={year:Number(t),month:Number(r),day:Number(o),hour:Number(s),minute:Number(c),second:i===void 0?0:Number(i)},G=g.year>=C.min?Z(g):null;if(G===null)throw new l("malformed",`Not a calendar date and time: ${e}`);return{fields:g,millis:G}},M=(e,n)=>{let t=new Map(Ne(n).formatToParts(new Date(e)).map(o=>[o.type,o.value])),r={year:Number(t.get("year")),month:Number(t.get("month")),day:Number(t.get("day")),hour:Number(t.get("hour")),minute:Number(t.get("minute")),second:Number(t.get("second"))};if(t.get("era")!=="AD"||r.year>C.max)throw new l("malformed",`The wall clock falls outside years ${C.min}-${C.max}: ${new Date(e).toISOString()}`);return r},w=(e,n)=>Z(M(e,n))-e,p=e=>String(e).padStart(2,"0"),Q=(e,n)=>{let t=`${String(e.year).padStart(4,"0")}-${p(e.month)}-${p(e.day)}T${p(e.hour)}:${p(e.minute)}`;return n||e.second!==0?`${t}:${p(e.second)}`:t},Me=e=>{if(e%I!==0)throw new l("malformed",`The zone's offset is not a whole number of minutes: ${e} ms`);let n=Math.abs(e)/I;return`${e<0?"-":"+"}${p(Math.floor(n/60))}:${p(n%60)}`},Le=(e,n)=>{let t=Oe.exec(e);if(t===null)throw new l("malformed",`Not a wall time (YYYY-MM-DDTHH:mm[:ss]): ${e}`);let{fields:r,millis:o}=N(e,t.slice(1)),c=[...new Set([w(o-V,n),w(o+V,n)])].filter(i=>w(o-i,n)===i);if(c.length===0)throw new l("nonexistent",`${e} does not exist in ${n}`);if(c.length>1)throw new l("ambiguous",`${e} occurs twice in ${n}`);return`${Q(r,!0)}${Me(c[0])}`},ee=(e,n)=>{let[t,r,o,s]=n;if(t!==void 0)return 0;if(Number(o)>23||Number(s)>59)throw new l("malformed",`Not a valid offset: ${e}`);return(r==="-"?-1:1)*(Number(o)*60+Number(s))*I},Fe=(e,n)=>{let t=we.exec(e);if(t===null)throw new l("malformed",`Not an ISO 8601 instant with an offset: ${e}`);let{millis:r}=N(e,t.slice(1,8));return Q(M(r-ee(e,t.slice(8)),n),!1)},$e=(e,n)=>{let t=JSON.stringify([e,n]),r=q.get(t);return r===void 0&&(r=new Intl.DateTimeFormat(e,{timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hourCycle:"h23"}),q.set(t,r)),r},L=(e,n,t)=>{let r=Ie.exec(e);if(r===null)throw new l("malformed",`Not an ISO 8601 instant with an offset: ${e}`);let{millis:o}=N(e,[...r.slice(1,7),void 0]),s=o-ee(e,r.slice(7));return M(s,t),$e(n,t).format(s)};function Ae(e,n){return e.replace(/\{(\w+)\}/g,(t,r)=>Object.hasOwn(n,r)?String(n[r]):t)}var ne=403,De=(e,n)=>e.ok?{ok:!0,value:n(e.value)}:e,ve=(e,n)=>e.ok?n(e.value):e,zn={kind:"idle"},Ue={kind:"loading"},F=(e,n)=>e.kind==="ready"?{...e,refreshing:!0}:e.kind==="failed"?n==="reload"?{...e,retrying:!0}:e:Ue,$=(e,n)=>n.ok?{kind:"ready",value:n.value,refreshing:!1,refreshFailure:null}:e.kind==="failed"&&e.status===403?e.retrying?{...e,retrying:!1}:e:e.kind==="ready"&&n.status!==403?{kind:"ready",value:e.value,refreshing:!1,refreshFailure:{status:n.status,reason:n.reason}}:{kind:"failed",status:n.status,reason:n.reason,occurrence:e.kind==="failed"?e.occurrence+1:1,retrying:!1};var T=e=>e===""?"":` (${e})`,te=e=>(n,t,r)=>n.status===403?e(t,n.reason):r(n.reason),re=(e,n)=>n===""?e:`${e} Reason: ${n}.`,oe=(e,n)=>n===""?e:`${e}${n}\u3002`,E={en:{unmeasured:"Not measured",loading:"Loading",loadFailed:e=>`Could not load${T(e)}.`,refreshFailed:e=>`Could not refresh${T(e)}.`,forbiddenBecause:re,failureSentence:te(re),loadMore:e=>`Show ${e} more`,endOfRecords:"No more records",close:"Close",cancel:"Cancel",reload:"Reload",breadcrumb:"Breadcrumb",stepDone:"Done",stepPending:"Not started"},ja:{unmeasured:"\u672A\u6E2C\u5B9A",loading:"\u8AAD\u307F\u8FBC\u307F\u4E2D",loadFailed:e=>`\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F${T(e)}\u3002`,refreshFailed:e=>`\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F${T(e)}\u3002`,forbiddenBecause:oe,failureSentence:te(oe),loadMore:e=>`\u3055\u3089\u306B ${e} \u4EF6\u3092\u8868\u793A`,endOfRecords:"\u3053\u308C\u4EE5\u4E0A\u306E\u8A18\u9332\u306F\u3042\u308A\u307E\u305B\u3093",close:"\u9589\u3058\u308B",cancel:"\u3084\u3081\u308B",reload:"\u518D\u8AAD\u307F\u8FBC\u307F",breadcrumb:"\u30D1\u30F3\u304F\u305A",stepDone:"\u5B8C\u4E86",stepPending:"\u672A\u7740\u624B"}},He=e=>{if(!Object.hasOwn(E,e))throw new RangeError(`No console UI labels for locale "${e}"; supported: ${Object.keys(E).join(", ")}`);return E[e]};var We=4,Be=[1,2,3,4,6,8,12,16,24],ze=16,Xe=5/4,D={caption:-2,body:-1,"body-lg":0,title:0,heading:1,display:2,"display-lg":3},Ge=11,ae=3/2,je=7/4,Ye=7/4,Ke=120,Ve=3/2,Je=[1,2,3],ie=e=>{if(!(Number.isFinite(e)&&e>=0))throw new RangeError(`A length must be a finite number of px at or above 0: ${e}`);return Math.ceil(e/4)*4},v=e=>{if(!Number.isInteger(e))throw new RangeError(`A type step must be an integer: ${e}`);return Math.max(Ge,Math.round(ze*Xe**e))},U=(e,n)=>ie(e*n),se=U(v(D.body),ae),b=se+24,le=b+8,de=se+8,A={weight:{regular:400,medium:500,bold:700},radius:{"radius-control":4,"radius-item":8,"radius-container":12,"radius-pill":9999},stroke:{"border-width":1,"focus-width":2,"focus-offset":2,"marker-width":2}},qe=()=>Object.fromEntries(Be.map(e=>[`space-${e}`,e*4])),Ze=()=>{let e=Object.fromEntries(Object.entries(D).map(([t,r])=>{let o=v(r);return[t,{size:o,lineHeight:U(o,t==="title"?Ye:ae)}]})),n=v(D.body);return{...e,prose:{size:n,lineHeight:U(n,je)}}},Qe=()=>Object.fromEntries(Je.map(e=>[`motion-${e}`,Ke*Ve**(e-1)])),ce=e=>Object.freeze({space:Object.freeze(qe()),type:Object.freeze(Ze()),weight:A.weight,radius:A.radius,size:Object.freeze({"size-target":b,"size-control":b,"size-row":b,"size-row-control":le,"size-row-compact":de}),stroke:A.stroke,motion:Object.freeze(Qe()),color:Object.freeze({...e})});var en={fg:{light:"#0f172b",dark:"#f8fafc"},"fg-secondary":{light:"#314158",dark:"#e2e8f0"},"fg-muted":{light:"#44536a",dark:"#cad5e2"},"danger-fg":{light:"#9f0712",dark:"#ffc9c9"},"warning-fg":{light:"#7b3306",dark:"#fee685"},"success-fg":{light:"#006045",dark:"#a4f4cf"},"info-fg":{light:"#193cb8",dark:"#bedbff"},"on-solid":{light:"#ffffff",dark:"#0f172b"},surface:{light:"#ffffff",dark:"#0f172b"},subtle:{light:"#f8fafc",dark:"#1d293d"},sunken:{light:"#f1f5f9",dark:"#020618"},"danger-tint":{light:"#fef2f2",dark:"#460809"},"warning-tint":{light:"#fffbeb",dark:"#461901"},"success-tint":{light:"#ecfdf5",dark:"#002c22"},"info-tint":{light:"#eff6ff",dark:"#162456"},"neutral-solid":{light:"#314158",dark:"#cad5e2"},"danger-solid":{light:"#9f0712",dark:"#ffa2a2"},"success-solid":{light:"#006045",dark:"#5ee9b5"},"info-solid":{light:"#193cb8",dark:"#8ec5ff"},"warning-solid":{light:"#7b3306",dark:"#ffd230"},"danger-accent":{light:"#e7000b",dark:"#ff6467"},"warning-accent":{light:"#bb4d00",dark:"#fcbb00"},"success-accent":{light:"#009966",dark:"#00d492"},"info-accent":{light:"#155dfc",dark:"#51a2ff"},focus:{light:"#155dfc",dark:"#51a2ff"},"border-control":{light:"#62748e",dark:"#90a1b9"},"border-subtle":{light:"#e2e8f0",dark:"#314158"}},a=ce(en),nn="--cui-",tn=e=>`var(${nn}${e})`;var rn=e=>e>=32&&e<=126||e>=65377&&e<=65500||e>=65512&&e<=65518,ue=(e,n)=>{let t=0,r=0;for(let o of e)rn(o.codePointAt(0))?r+=1:t+=1;return t*1+r*n},h=e=>ue(e,.55),x=e=>ue(e,.6),u=e=>{if(!(Number.isFinite(e)&&e>=0))throw new RangeError(`Length must be a finite px value >= 0: ${e}`);return Math.max(0,Math.ceil((e-1e-9)/8))*8};var me="caption",B="body",z=2*a.space["space-3"],fe={type:"caption",paddingInlinePx:2*a.space["space-2"]},H={type:"body",paddingInlinePx:2*a.space["space-3"]+2*a.stroke["border-width"],minInlinePx:a.size["size-control"]},pe={type:"body",minInlinePx:a.size["size-target"]},P={trackInlinePx:2*a.type.body.lineHeight+3*a.space["space-1"],labelGapPx:a.space["space-2"],type:"body"},W={captionType:"caption",valueType:"heading",paddingInlinePx:2*a.space["space-3"]},on=10,an="2000-01-01T00:00:00Z",sn=9999999,ge=(e,n,t)=>(n==="mono"?x(e):h(e))*a.type[t].size,ln=(e,n)=>{if(e.length===0)throw new RangeError(`A ${n} needs at least one text to be measured with`);for(let t of e)if(!f(t))throw new RangeError(`A ${n} sample must hold a readable character: ${JSON.stringify(t)}`);return e},d=(e,n,t,r)=>Math.max(...ln(e,n).map(o=>ge(o,t,r))),X=e=>{switch(e.kind){case"text":return d(e.texts,"text",e.face,e.type);case"measured":return d(e.texts,"measured value","sans",B);case"pill":return d(e.labels,"pill","sans",fe.type)+fe.paddingInlinePx;case"button":return Math.max(H.minInlinePx,d(e.labels,"button","sans",H.type)+H.paddingInlinePx);case"link":return Math.max(pe.minInlinePx,d(e.labels,"link","sans",pe.type));case"switch":return e.labelHidden?P.trackInlinePx:P.trackInlinePx+P.labelGapPx+d(e.labels,"switch","sans",P.type);case"cluster":{if(e.items.length===0)throw new RangeError("A cluster needs at least one item to be measured with");return e.items.reduce((n,t)=>n+X(t),0)+(e.items.length-1)*a.space[e.gap]}}},dn=(e,n)=>{let t=d([e.header],"column header","sans",me),r=e.note===void 0?0:d(e.note,"column header note","sans",me);return u(Math.max(t,r,...n.map(X))+z)},cn=u(ge("\u3042".repeat(on),"sans",B)+z),un=e=>u(d(e,"comparison attribute","sans",B)+z),mn=(e,n)=>L(an,e,n),fn=(e,n)=>{if(n!==void 0&&!f(n))throw new RangeError(`A count sample's unit must hold a readable character: ${JSON.stringify(n)}`);return Y(O(sn,e),n)},pn=(e,n)=>u(Math.max(d(e,"tile caption","sans",W.captionType),d(n,"tile value","sans",W.valueType))+W.paddingInlinePx);var gn=.12,yn=.16,Tn=/[\u0020\u00a0\u1361\u{10100}\u{10101}\u{1039f}\u{1091f}]/u,k=a.space["space-3"],S=(e,n)=>{let t=0,r=0;for(let s of e)t+=1,Tn.test(s)&&(r+=1);return(n==="mono"?x(e):h(e))+gn*t+yn*r},bn=e=>{for(let t of[e.name,...e.notes])if(!f(t))throw new RangeError(`A figure node's name and notes must hold a readable character: ${JSON.stringify(t)}`);let n=Math.max(S(e.name,"sans")*a.type.body.size,...e.notes.map(t=>S(t,"sans")*a.type.caption.size));return{minWidthPx:u(n)+2*k,heightPx:2*k+a.type.body.lineHeight+e.notes.length*a.type.caption.lineHeight}},at=e=>{let n=k+a.type.body.lineHeight;return{insetPx:k,namePx:k+a.type.body.lineHeight/2,notesPx:Array.from({length:e},(t,r)=>n+r*a.type.caption.lineHeight+a.type.caption.lineHeight/2)}},hn=(e,n)=>{if(e!==null&&!f(e))throw new RangeError(`A disc's name must hold a readable character: ${JSON.stringify(e)}`);if(!(Number.isFinite(n)&&n>0))throw new RangeError(`A disc's radius must be a positive finite px value: ${n}`);return e===null?{widthPx:0,extentBelowPx:n+ye}:{widthPx:u(S(e,"sans")*a.type.caption.size),extentBelowPx:n+a.space["space-1"]+a.type.caption.lineHeight}},ye=a.stroke["focus-offset"]+a.stroke["focus-width"],it=a.stroke["focus-offset"]+a.stroke["focus-width"]/2;var _=(1+Math.sqrt(5))/2,xn=(e,n)=>{if(!(Number.isFinite(e)&&e>=0))throw new RangeError(`A length must be a finite number of px at or above 0: ${e}`);if(!(Number.isInteger(n)&&n>=0))throw new RangeError(`A golden section step must be an integer at or above 0: ${n}`);return e/_**n};var kn=e=>{if(!(Number.isFinite(e)&&e>=0))throw new RangeError(`Length must be a finite px value >= 0: ${e}`);return e},m=e=>`${kn(e)/16}rem`;var Te=({masterMinPx:e,detailMinPx:n,gapPx:t})=>{for(let r of[e,n])if(!(Number.isFinite(r)&&r>0))throw new RangeError(`Pane minimum must be a positive px value: ${r}`);if(!(Number.isFinite(t)&&t>=0))throw new RangeError(`Gap must be a px value >= 0: ${t}`);return e+t+n},Rn=(e,n)=>{let t=Te(n);if(!(Number.isFinite(e)&&e>=0))throw new RangeError(`Container width must be a px value >= 0: ${e}`);if(e<t)return{sideBySide:!1,sideBySideFromPx:t,masterInlinePx:e,detailInlinePx:e};let r=(e-n.gapPx)/(1+_),o=Math.min(Math.max(n.masterMinPx,r),e-n.gapPx-n.detailMinPx);return{sideBySide:!0,sideBySideFromPx:t,masterInlinePx:o,detailInlinePx:e-n.gapPx-o}},mt=e=>{let n=Te(e),t=`cui-master-detail-m${e.masterMinPx}-d${e.detailMinPx}-g${e.gapPx}`,r=`[data-cui-master-detail="${t}"]`,o=m(e.gapPx),s=`${r}{grid-template-columns:minmax(0,1fr);gap:${o}}`,c=`clamp(${m(e.masterMinPx)},calc((100% - ${o}) / ${1+_}),calc(100% - ${o} - ${m(e.detailMinPx)}))`,i=`@container (min-width:${m(n)}){${r}{grid-template-columns:${c} minmax(0,1fr)}}`;return{key:t,css:s+i}};var Cn=2*a.space["space-1"],be=e=>{if(!(Number.isFinite(e)&&e>0))throw new RangeError(`Column width must be a positive px value: ${e}`);return e},he=e=>{if(e.length===0)throw new RangeError("A table needs at least one column");let n=0,t=null;for(let{width:r}of e){if(r.fixedPx!==void 0){n+=be(r.fixedPx);continue}let o=be(r.minPx);if(t!==null&&t!==o)throw new RangeError(`Flexible columns share the remaining width equally, so their minimums must be equal: ${t} and ${o}`);t=o,n+=o}return n},En=e=>he(e)+Cn;var Pn=(e,n,t)=>{if(!(Number.isSafeInteger(e)&&e>0))throw new RangeError(`Tile count must be a positive integer: ${e}`);if(!(Number.isFinite(n)&&n>0))throw new RangeError(`Tile minimum width must be a positive px value: ${n}`);if(!(Number.isFinite(t)&&t>=0))throw new RangeError(`Tile gap must be a px value >= 0: ${t}`);let r=[];for(let i=1;i<=e;i+=1)e%i===0&&r.push({columns:i,minContainerPx:i*n+(i-1)*t});let o=`cui-tiles-n${e}-m${n}-g${t}`,s=`[data-cui-tile-grid="${o}"]`,c=r.map(({columns:i,minContainerPx:R})=>{let g=`${s}{grid-template-columns:repeat(${i},minmax(0,1fr))}`;return i===1?g:`@container (min-width:${m(R)}){${g}}`});return{key:o,steps:r,css:c.join("")}};var Sn=(e,n)=>{let t=F(e,n);return t.kind==="ready"?{...t,value:{...t.value,loadingMore:!1}}:t},_n=(e,n)=>$(e,n.ok?{ok:!0,value:{rows:n.value.rows,next:n.value.next,meta:n.value.meta,loadingMore:!1,moreFailure:null}}:n),On=e=>e.kind==="ready"&&!e.refreshing&&e.value.next!==null&&!e.value.loadingMore?{...e,value:{...e.value,loadingMore:!0}}:e,wn=(e,n,t)=>{if(!(e.kind==="ready"&&e.value.loadingMore&&Object.is(e.value.next,n)))return e;if(t.ok)return{...e,value:{...e.value,rows:[...e.value.rows,...t.value.rows],next:t.value.next,loadingMore:!1,moreFailure:null}};let r=e.value.moreFailure===null?1:e.value.moreFailure.occurrence+1;return{...e,value:{...e.value,loadingMore:!1,moreFailure:{reason:t.reason,occurrence:r}}}},In=(e,n)=>{if(e.kind!=="ready")return e;let{rows:t,meta:r}=n({rows:e.value.rows,meta:e.value.meta});return{...e,value:{...e.value,rows:t,meta:r}}};var Nn=/^#[0-9a-f]{6}$/i,Mn=/^[a-z][a-z0-9-]*$/,xe=e=>{if(!Nn.test(e))throw new RangeError(`A palette colour must be #rrggbb: ${e}`);return e},ke=({light:e,dark:n})=>`light-dark(${xe(e)}, ${xe(n)})`,Ln=e=>{if(!Mn.test(e))throw new RangeError(`A root attribute must be lowercase letters, digits and hyphens, starting with a letter: ${e}`);return`[${e}] ::placeholder { color: ${ke(a.color["fg-muted"])}; opacity: 1; }`};var Re=["indigo","violet","purple","fuchsia","pink","rose","red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue"],Fn=["fg","tint","accent","line","solid","solid-hover"],$n={indigo:{fg:{light:"#372aac",dark:"#c6d2ff"},tint:{light:"#eff3ff",dark:"#1e1a4d"},accent:{light:"#4f39f6",dark:"#7c86ff"}},violet:{fg:{light:"#5d0ec0",dark:"#ddd6ff"},tint:{light:"#f5f3ff",dark:"#2f0d68"},accent:{light:"#7f22fe",dark:"#a684ff"}},purple:{fg:{light:"#6e11b0",dark:"#e9d4ff"},tint:{light:"#faf5ff",dark:"#3c0366"},accent:{light:"#9810fa",dark:"#c27aff"}},fuchsia:{fg:{light:"#8a0194",dark:"#f6cfff"},tint:{light:"#fdf4ff",dark:"#4b004f"},accent:{light:"#c800de",dark:"#ed6aff"}},pink:{fg:{light:"#a3004c",dark:"#fccee8"},tint:{light:"#fdf2f8",dark:"#510424"},accent:{light:"#e60076",dark:"#fb64b6"}},rose:{fg:{light:"#a50036",dark:"#ffccd3"},tint:{light:"#fff1f2",dark:"#4d0218"},accent:{light:"#ec003f",dark:"#ff637e"}},red:{fg:{light:"#9f0712",dark:"#ffc9c9"},tint:{light:"#fef2f2",dark:"#460809"},accent:{light:"#e7000b",dark:"#ff6467"}},orange:{fg:{light:"#7e2a0c",dark:"#ffd6a7"},tint:{light:"#fff7ed",dark:"#441306"},accent:{light:"#f54900",dark:"#ff8904"}},amber:{fg:{light:"#7b3306",dark:"#fee685"},tint:{light:"#fffbeb",dark:"#461901"},accent:{light:"#bb4d00",dark:"#fcbb00"}},yellow:{fg:{light:"#733e0a",dark:"#fff085"},tint:{light:"#fefce8",dark:"#432004"},accent:{light:"#a65f00",dark:"#fdc700"}},lime:{fg:{light:"#35530e",dark:"#d8f999"},tint:{light:"#f7fee7",dark:"#192e03"},accent:{light:"#497d00",dark:"#9ae600"}},green:{fg:{light:"#0d542b",dark:"#b9f8cf"},tint:{light:"#f0fdf4",dark:"#032e15"},accent:{light:"#008236",dark:"#05df72"}},emerald:{fg:{light:"#004f3b",dark:"#a4f4cf"},tint:{light:"#ecfdf5",dark:"#002c22"},accent:{light:"#009966",dark:"#00d492"}},teal:{fg:{light:"#0b4f4a",dark:"#96f7e4"},tint:{light:"#f0fdfa",dark:"#022f2e"},accent:{light:"#009689",dark:"#00d5be"}},cyan:{fg:{light:"#104e64",dark:"#a2f4fd"},tint:{light:"#ecfeff",dark:"#053345"},accent:{light:"#0092b8",dark:"#00d3f2"}},sky:{fg:{light:"#024a70",dark:"#b8e6fe"},tint:{light:"#f0f9ff",dark:"#052f4a"},accent:{light:"#0084d1",dark:"#00bcff"}},blue:{fg:{light:"#193cb8",dark:"#bedbff"},tint:{light:"#eff6ff",dark:"#162456"},accent:{light:"#155dfc",dark:"#51a2ff"}}},y=({light:e,dark:n})=>Object.freeze({light:e,dark:n}),An=({fg:e,tint:n,accent:t})=>Object.freeze({fg:y(e),tint:y(n),accent:y(t),line:y({light:e.dark,dark:e.light}),solid:y(e),"solid-hover":y({light:n.dark,dark:n.light})}),Dn=Object.freeze(Object.fromEntries(Re.map(e=>[e,An($n[e])])));export{O as a,Y as b,K as c,Se as d,f as e,l as f,Le as g,Fe as h,L as i,Ae as j,ne as k,De as l,ve as m,zn as n,Ue as o,F as p,$ as q,T as r,E as s,He as t,We as u,ie as v,b as w,le as x,de as y,a as z,tn as A,h as B,x as C,u as D,X as E,dn as F,cn as G,un as H,mn as I,fn as J,pn as K,S as L,bn as M,at as N,hn as O,ye as P,it as Q,xn as R,m as S,Rn as T,mt as U,he as V,En as W,Pn as X,Sn as Y,_n as Z,On as _,wn as $,In as aa,ke as ba,Ln as ca,Re as da,Fn as ea,Dn as fa};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var j=new Map,O= exports.a =(e,n)=>{if(!(Number.isSafeInteger(e)&&e>=0))throw new RangeError(`A count must be a non-negative safe integer: ${e}`);let t=j.get(n);return t===void 0&&(t=new Intl.NumberFormat(n,{maximumFractionDigits:0,useGrouping:!0}),j.set(n,t)),t.format(e)},Y= exports.b =(e,n)=>n===void 0?e:`${e} ${n}`;var Ce=/^[+-]?(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?$/,Ee=/[!-~]/g;var Pe=/^[^eE]*[1-9]/,K= exports.c =e=>{let n=e.replace(Ee,r=>String.fromCharCode(r.charCodeAt(0)-65248)).trim();if(!Ce.test(n))return null;let t=Number(n);return Number.isFinite(t)?t===0?Pe.test(n)?null:0:t:null},Se= exports.d =e=>{let n=K(e);return n!==null&&Number.isSafeInteger(n)?n:null};var _e=/[^\p{White_Space}\p{Cc}\p{Cf}\p{Default_Ignorable_Code_Point}]/u,f= exports.e =e=>_e.test(e);var l=class extends RangeError{constructor(n,t){super(t),this.name="ZonedTimeError",this.reason=n}},Oe=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2})(?:\.(\d+))?)?$/,we=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(?:(Z)|([+-])(\d{2}):(\d{2}))$/,Ie=/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(?::(\d{2})(?:\.\d+)?)?(?:(Z)|([+-])(\d{2}):?(\d{2}))$/,V=864e5,I=6e4,C={min:1,max:9999},J=new Map,q=new Map,Ne=e=>{let n=J.get(e);return n===void 0&&(n=new Intl.DateTimeFormat("en-US",{timeZone:e,hourCycle:"h23",era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),J.set(e,n)),n},Z=e=>{let n=new Date(0);return n.setUTCFullYear(e.year,e.month-1,e.day),n.setUTCHours(e.hour,e.minute,e.second,0),n.getUTCFullYear()===e.year&&n.getUTCMonth()===e.month-1&&n.getUTCDate()===e.day&&n.getUTCHours()===e.hour&&n.getUTCMinutes()===e.minute&&n.getUTCSeconds()===e.second?n.getTime():null},N=(e,n)=>{let[t,r,o,s,c,i,R]=n;if(R!==void 0&&/[1-9]/.test(R))throw new l("subsecond",`Fractions of a second cannot be kept: ${e}`);let g={year:Number(t),month:Number(r),day:Number(o),hour:Number(s),minute:Number(c),second:i===void 0?0:Number(i)},G=g.year>=C.min?Z(g):null;if(G===null)throw new l("malformed",`Not a calendar date and time: ${e}`);return{fields:g,millis:G}},M=(e,n)=>{let t=new Map(Ne(n).formatToParts(new Date(e)).map(o=>[o.type,o.value])),r={year:Number(t.get("year")),month:Number(t.get("month")),day:Number(t.get("day")),hour:Number(t.get("hour")),minute:Number(t.get("minute")),second:Number(t.get("second"))};if(t.get("era")!=="AD"||r.year>C.max)throw new l("malformed",`The wall clock falls outside years ${C.min}-${C.max}: ${new Date(e).toISOString()}`);return r},w=(e,n)=>Z(M(e,n))-e,p=e=>String(e).padStart(2,"0"),Q=(e,n)=>{let t=`${String(e.year).padStart(4,"0")}-${p(e.month)}-${p(e.day)}T${p(e.hour)}:${p(e.minute)}`;return n||e.second!==0?`${t}:${p(e.second)}`:t},Me=e=>{if(e%I!==0)throw new l("malformed",`The zone's offset is not a whole number of minutes: ${e} ms`);let n=Math.abs(e)/I;return`${e<0?"-":"+"}${p(Math.floor(n/60))}:${p(n%60)}`},Le= exports.g =(e,n)=>{let t=Oe.exec(e);if(t===null)throw new l("malformed",`Not a wall time (YYYY-MM-DDTHH:mm[:ss]): ${e}`);let{fields:r,millis:o}=N(e,t.slice(1)),c=[...new Set([w(o-V,n),w(o+V,n)])].filter(i=>w(o-i,n)===i);if(c.length===0)throw new l("nonexistent",`${e} does not exist in ${n}`);if(c.length>1)throw new l("ambiguous",`${e} occurs twice in ${n}`);return`${Q(r,!0)}${Me(c[0])}`},ee=(e,n)=>{let[t,r,o,s]=n;if(t!==void 0)return 0;if(Number(o)>23||Number(s)>59)throw new l("malformed",`Not a valid offset: ${e}`);return(r==="-"?-1:1)*(Number(o)*60+Number(s))*I},Fe= exports.h =(e,n)=>{let t=we.exec(e);if(t===null)throw new l("malformed",`Not an ISO 8601 instant with an offset: ${e}`);let{millis:r}=N(e,t.slice(1,8));return Q(M(r-ee(e,t.slice(8)),n),!1)},$e=(e,n)=>{let t=JSON.stringify([e,n]),r=q.get(t);return r===void 0&&(r=new Intl.DateTimeFormat(e,{timeZone:n,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",hourCycle:"h23"}),q.set(t,r)),r},L= exports.i =(e,n,t)=>{let r=Ie.exec(e);if(r===null)throw new l("malformed",`Not an ISO 8601 instant with an offset: ${e}`);let{millis:o}=N(e,[...r.slice(1,7),void 0]),s=o-ee(e,r.slice(7));return M(s,t),$e(n,t).format(s)};function Ae(e,n){return e.replace(/\{(\w+)\}/g,(t,r)=>Object.hasOwn(n,r)?String(n[r]):t)}var ne=403,De= exports.l =(e,n)=>e.ok?{ok:!0,value:n(e.value)}:e,ve= exports.m =(e,n)=>e.ok?n(e.value):e,zn= exports.n ={kind:"idle"},Ue= exports.o ={kind:"loading"},F= exports.p =(e,n)=>e.kind==="ready"?{...e,refreshing:!0}:e.kind==="failed"?n==="reload"?{...e,retrying:!0}:e:Ue,$= exports.q =(e,n)=>n.ok?{kind:"ready",value:n.value,refreshing:!1,refreshFailure:null}:e.kind==="failed"&&e.status===403?e.retrying?{...e,retrying:!1}:e:e.kind==="ready"&&n.status!==403?{kind:"ready",value:e.value,refreshing:!1,refreshFailure:{status:n.status,reason:n.reason}}:{kind:"failed",status:n.status,reason:n.reason,occurrence:e.kind==="failed"?e.occurrence+1:1,retrying:!1};var T=e=>e===""?"":` (${e})`,te=e=>(n,t,r)=>n.status===403?e(t,n.reason):r(n.reason),re=(e,n)=>n===""?e:`${e} Reason: ${n}.`,oe=(e,n)=>n===""?e:`${e}${n}\u3002`,E= exports.s ={en:{unmeasured:"Not measured",loading:"Loading",loadFailed:e=>`Could not load${T(e)}.`,refreshFailed:e=>`Could not refresh${T(e)}.`,forbiddenBecause:re,failureSentence:te(re),loadMore:e=>`Show ${e} more`,endOfRecords:"No more records",close:"Close",cancel:"Cancel",reload:"Reload",breadcrumb:"Breadcrumb",stepDone:"Done",stepPending:"Not started"},ja:{unmeasured:"\u672A\u6E2C\u5B9A",loading:"\u8AAD\u307F\u8FBC\u307F\u4E2D",loadFailed:e=>`\u8AAD\u307F\u8FBC\u3081\u307E\u305B\u3093\u3067\u3057\u305F${T(e)}\u3002`,refreshFailed:e=>`\u66F4\u65B0\u306B\u5931\u6557\u3057\u307E\u3057\u305F${T(e)}\u3002`,forbiddenBecause:oe,failureSentence:te(oe),loadMore:e=>`\u3055\u3089\u306B ${e} \u4EF6\u3092\u8868\u793A`,endOfRecords:"\u3053\u308C\u4EE5\u4E0A\u306E\u8A18\u9332\u306F\u3042\u308A\u307E\u305B\u3093",close:"\u9589\u3058\u308B",cancel:"\u3084\u3081\u308B",reload:"\u518D\u8AAD\u307F\u8FBC\u307F",breadcrumb:"\u30D1\u30F3\u304F\u305A",stepDone:"\u5B8C\u4E86",stepPending:"\u672A\u7740\u624B"}},He= exports.t =e=>{if(!Object.hasOwn(E,e))throw new RangeError(`No console UI labels for locale "${e}"; supported: ${Object.keys(E).join(", ")}`);return E[e]};var We=4,Be=[1,2,3,4,6,8,12,16,24],ze=16,Xe=5/4,D={caption:-2,body:-1,"body-lg":0,title:0,heading:1,display:2,"display-lg":3},Ge=11,ae=3/2,je=7/4,Ye=7/4,Ke=120,Ve=3/2,Je=[1,2,3],ie= exports.v =e=>{if(!(Number.isFinite(e)&&e>=0))throw new RangeError(`A length must be a finite number of px at or above 0: ${e}`);return Math.ceil(e/4)*4},v=e=>{if(!Number.isInteger(e))throw new RangeError(`A type step must be an integer: ${e}`);return Math.max(Ge,Math.round(ze*Xe**e))},U=(e,n)=>ie(e*n),se=U(v(D.body),ae),b= exports.w =se+24,le= exports.x =b+8,de= exports.y =se+8,A={weight:{regular:400,medium:500,bold:700},radius:{"radius-control":4,"radius-item":8,"radius-container":12,"radius-pill":9999},stroke:{"border-width":1,"focus-width":2,"focus-offset":2,"marker-width":2}},qe=()=>Object.fromEntries(Be.map(e=>[`space-${e}`,e*4])),Ze=()=>{let e=Object.fromEntries(Object.entries(D).map(([t,r])=>{let o=v(r);return[t,{size:o,lineHeight:U(o,t==="title"?Ye:ae)}]})),n=v(D.body);return{...e,prose:{size:n,lineHeight:U(n,je)}}},Qe=()=>Object.fromEntries(Je.map(e=>[`motion-${e}`,Ke*Ve**(e-1)])),ce=e=>Object.freeze({space:Object.freeze(qe()),type:Object.freeze(Ze()),weight:A.weight,radius:A.radius,size:Object.freeze({"size-target":b,"size-control":b,"size-row":b,"size-row-control":le,"size-row-compact":de}),stroke:A.stroke,motion:Object.freeze(Qe()),color:Object.freeze({...e})});var en={fg:{light:"#0f172b",dark:"#f8fafc"},"fg-secondary":{light:"#314158",dark:"#e2e8f0"},"fg-muted":{light:"#44536a",dark:"#cad5e2"},"danger-fg":{light:"#9f0712",dark:"#ffc9c9"},"warning-fg":{light:"#7b3306",dark:"#fee685"},"success-fg":{light:"#006045",dark:"#a4f4cf"},"info-fg":{light:"#193cb8",dark:"#bedbff"},"on-solid":{light:"#ffffff",dark:"#0f172b"},surface:{light:"#ffffff",dark:"#0f172b"},subtle:{light:"#f8fafc",dark:"#1d293d"},sunken:{light:"#f1f5f9",dark:"#020618"},"danger-tint":{light:"#fef2f2",dark:"#460809"},"warning-tint":{light:"#fffbeb",dark:"#461901"},"success-tint":{light:"#ecfdf5",dark:"#002c22"},"info-tint":{light:"#eff6ff",dark:"#162456"},"neutral-solid":{light:"#314158",dark:"#cad5e2"},"danger-solid":{light:"#9f0712",dark:"#ffa2a2"},"success-solid":{light:"#006045",dark:"#5ee9b5"},"info-solid":{light:"#193cb8",dark:"#8ec5ff"},"warning-solid":{light:"#7b3306",dark:"#ffd230"},"danger-accent":{light:"#e7000b",dark:"#ff6467"},"warning-accent":{light:"#bb4d00",dark:"#fcbb00"},"success-accent":{light:"#009966",dark:"#00d492"},"info-accent":{light:"#155dfc",dark:"#51a2ff"},focus:{light:"#155dfc",dark:"#51a2ff"},"border-control":{light:"#62748e",dark:"#90a1b9"},"border-subtle":{light:"#e2e8f0",dark:"#314158"}},a= exports.z =ce(en),nn="--cui-",tn= exports.A =e=>`var(${nn}${e})`;var rn=e=>e>=32&&e<=126||e>=65377&&e<=65500||e>=65512&&e<=65518,ue=(e,n)=>{let t=0,r=0;for(let o of e)rn(o.codePointAt(0))?r+=1:t+=1;return t*1+r*n},h= exports.B =e=>ue(e,.55),x= exports.C =e=>ue(e,.6),u= exports.D =e=>{if(!(Number.isFinite(e)&&e>=0))throw new RangeError(`Length must be a finite px value >= 0: ${e}`);return Math.max(0,Math.ceil((e-1e-9)/8))*8};var me="caption",B="body",z=2*a.space["space-3"],fe={type:"caption",paddingInlinePx:2*a.space["space-2"]},H={type:"body",paddingInlinePx:2*a.space["space-3"]+2*a.stroke["border-width"],minInlinePx:a.size["size-control"]},pe={type:"body",minInlinePx:a.size["size-target"]},P={trackInlinePx:2*a.type.body.lineHeight+3*a.space["space-1"],labelGapPx:a.space["space-2"],type:"body"},W={captionType:"caption",valueType:"heading",paddingInlinePx:2*a.space["space-3"]},on=10,an="2000-01-01T00:00:00Z",sn=9999999,ge=(e,n,t)=>(n==="mono"?x(e):h(e))*a.type[t].size,ln=(e,n)=>{if(e.length===0)throw new RangeError(`A ${n} needs at least one text to be measured with`);for(let t of e)if(!f(t))throw new RangeError(`A ${n} sample must hold a readable character: ${JSON.stringify(t)}`);return e},d=(e,n,t,r)=>Math.max(...ln(e,n).map(o=>ge(o,t,r))),X= exports.E =e=>{switch(e.kind){case"text":return d(e.texts,"text",e.face,e.type);case"measured":return d(e.texts,"measured value","sans",B);case"pill":return d(e.labels,"pill","sans",fe.type)+fe.paddingInlinePx;case"button":return Math.max(H.minInlinePx,d(e.labels,"button","sans",H.type)+H.paddingInlinePx);case"link":return Math.max(pe.minInlinePx,d(e.labels,"link","sans",pe.type));case"switch":return e.labelHidden?P.trackInlinePx:P.trackInlinePx+P.labelGapPx+d(e.labels,"switch","sans",P.type);case"cluster":{if(e.items.length===0)throw new RangeError("A cluster needs at least one item to be measured with");return e.items.reduce((n,t)=>n+X(t),0)+(e.items.length-1)*a.space[e.gap]}}},dn= exports.F =(e,n)=>{let t=d([e.header],"column header","sans",me),r=e.note===void 0?0:d(e.note,"column header note","sans",me);return u(Math.max(t,r,...n.map(X))+z)},cn= exports.G =u(ge("\u3042".repeat(on),"sans",B)+z),un= exports.H =e=>u(d(e,"comparison attribute","sans",B)+z),mn= exports.I =(e,n)=>L(an,e,n),fn= exports.J =(e,n)=>{if(n!==void 0&&!f(n))throw new RangeError(`A count sample's unit must hold a readable character: ${JSON.stringify(n)}`);return Y(O(sn,e),n)},pn= exports.K =(e,n)=>u(Math.max(d(e,"tile caption","sans",W.captionType),d(n,"tile value","sans",W.valueType))+W.paddingInlinePx);var gn=.12,yn=.16,Tn=/[\u0020\u00a0\u1361\u{10100}\u{10101}\u{1039f}\u{1091f}]/u,k=a.space["space-3"],S= exports.L =(e,n)=>{let t=0,r=0;for(let s of e)t+=1,Tn.test(s)&&(r+=1);return(n==="mono"?x(e):h(e))+gn*t+yn*r},bn= exports.M =e=>{for(let t of[e.name,...e.notes])if(!f(t))throw new RangeError(`A figure node's name and notes must hold a readable character: ${JSON.stringify(t)}`);let n=Math.max(S(e.name,"sans")*a.type.body.size,...e.notes.map(t=>S(t,"sans")*a.type.caption.size));return{minWidthPx:u(n)+2*k,heightPx:2*k+a.type.body.lineHeight+e.notes.length*a.type.caption.lineHeight}},at= exports.N =e=>{let n=k+a.type.body.lineHeight;return{insetPx:k,namePx:k+a.type.body.lineHeight/2,notesPx:Array.from({length:e},(t,r)=>n+r*a.type.caption.lineHeight+a.type.caption.lineHeight/2)}},hn= exports.O =(e,n)=>{if(e!==null&&!f(e))throw new RangeError(`A disc's name must hold a readable character: ${JSON.stringify(e)}`);if(!(Number.isFinite(n)&&n>0))throw new RangeError(`A disc's radius must be a positive finite px value: ${n}`);return e===null?{widthPx:0,extentBelowPx:n+ye}:{widthPx:u(S(e,"sans")*a.type.caption.size),extentBelowPx:n+a.space["space-1"]+a.type.caption.lineHeight}},ye= exports.P =a.stroke["focus-offset"]+a.stroke["focus-width"],it= exports.Q =a.stroke["focus-offset"]+a.stroke["focus-width"]/2;var _=(1+Math.sqrt(5))/2,xn= exports.R =(e,n)=>{if(!(Number.isFinite(e)&&e>=0))throw new RangeError(`A length must be a finite number of px at or above 0: ${e}`);if(!(Number.isInteger(n)&&n>=0))throw new RangeError(`A golden section step must be an integer at or above 0: ${n}`);return e/_**n};var kn=e=>{if(!(Number.isFinite(e)&&e>=0))throw new RangeError(`Length must be a finite px value >= 0: ${e}`);return e},m= exports.S =e=>`${kn(e)/16}rem`;var Te=({masterMinPx:e,detailMinPx:n,gapPx:t})=>{for(let r of[e,n])if(!(Number.isFinite(r)&&r>0))throw new RangeError(`Pane minimum must be a positive px value: ${r}`);if(!(Number.isFinite(t)&&t>=0))throw new RangeError(`Gap must be a px value >= 0: ${t}`);return e+t+n},Rn= exports.T =(e,n)=>{let t=Te(n);if(!(Number.isFinite(e)&&e>=0))throw new RangeError(`Container width must be a px value >= 0: ${e}`);if(e<t)return{sideBySide:!1,sideBySideFromPx:t,masterInlinePx:e,detailInlinePx:e};let r=(e-n.gapPx)/(1+_),o=Math.min(Math.max(n.masterMinPx,r),e-n.gapPx-n.detailMinPx);return{sideBySide:!0,sideBySideFromPx:t,masterInlinePx:o,detailInlinePx:e-n.gapPx-o}},mt= exports.U =e=>{let n=Te(e),t=`cui-master-detail-m${e.masterMinPx}-d${e.detailMinPx}-g${e.gapPx}`,r=`[data-cui-master-detail="${t}"]`,o=m(e.gapPx),s=`${r}{grid-template-columns:minmax(0,1fr);gap:${o}}`,c=`clamp(${m(e.masterMinPx)},calc((100% - ${o}) / ${1+_}),calc(100% - ${o} - ${m(e.detailMinPx)}))`,i=`@container (min-width:${m(n)}){${r}{grid-template-columns:${c} minmax(0,1fr)}}`;return{key:t,css:s+i}};var Cn=2*a.space["space-1"],be=e=>{if(!(Number.isFinite(e)&&e>0))throw new RangeError(`Column width must be a positive px value: ${e}`);return e},he= exports.V =e=>{if(e.length===0)throw new RangeError("A table needs at least one column");let n=0,t=null;for(let{width:r}of e){if(r.fixedPx!==void 0){n+=be(r.fixedPx);continue}let o=be(r.minPx);if(t!==null&&t!==o)throw new RangeError(`Flexible columns share the remaining width equally, so their minimums must be equal: ${t} and ${o}`);t=o,n+=o}return n},En= exports.W =e=>he(e)+Cn;var Pn=(e,n,t)=>{if(!(Number.isSafeInteger(e)&&e>0))throw new RangeError(`Tile count must be a positive integer: ${e}`);if(!(Number.isFinite(n)&&n>0))throw new RangeError(`Tile minimum width must be a positive px value: ${n}`);if(!(Number.isFinite(t)&&t>=0))throw new RangeError(`Tile gap must be a px value >= 0: ${t}`);let r=[];for(let i=1;i<=e;i+=1)e%i===0&&r.push({columns:i,minContainerPx:i*n+(i-1)*t});let o=`cui-tiles-n${e}-m${n}-g${t}`,s=`[data-cui-tile-grid="${o}"]`,c=r.map(({columns:i,minContainerPx:R})=>{let g=`${s}{grid-template-columns:repeat(${i},minmax(0,1fr))}`;return i===1?g:`@container (min-width:${m(R)}){${g}}`});return{key:o,steps:r,css:c.join("")}};var Sn=(e,n)=>{let t=F(e,n);return t.kind==="ready"?{...t,value:{...t.value,loadingMore:!1}}:t},_n= exports.Z =(e,n)=>$(e,n.ok?{ok:!0,value:{rows:n.value.rows,next:n.value.next,meta:n.value.meta,loadingMore:!1,moreFailure:null}}:n),On= exports._ =e=>e.kind==="ready"&&!e.refreshing&&e.value.next!==null&&!e.value.loadingMore?{...e,value:{...e.value,loadingMore:!0}}:e,wn= exports.$ =(e,n,t)=>{if(!(e.kind==="ready"&&e.value.loadingMore&&Object.is(e.value.next,n)))return e;if(t.ok)return{...e,value:{...e.value,rows:[...e.value.rows,...t.value.rows],next:t.value.next,loadingMore:!1,moreFailure:null}};let r=e.value.moreFailure===null?1:e.value.moreFailure.occurrence+1;return{...e,value:{...e.value,loadingMore:!1,moreFailure:{reason:t.reason,occurrence:r}}}},In= exports.aa =(e,n)=>{if(e.kind!=="ready")return e;let{rows:t,meta:r}=n({rows:e.value.rows,meta:e.value.meta});return{...e,value:{...e.value,rows:t,meta:r}}};var Nn=/^#[0-9a-f]{6}$/i,Mn=/^[a-z][a-z0-9-]*$/,xe=e=>{if(!Nn.test(e))throw new RangeError(`A palette colour must be #rrggbb: ${e}`);return e},ke= exports.ba =({light:e,dark:n})=>`light-dark(${xe(e)}, ${xe(n)})`,Ln= exports.ca =e=>{if(!Mn.test(e))throw new RangeError(`A root attribute must be lowercase letters, digits and hyphens, starting with a letter: ${e}`);return`[${e}] ::placeholder { color: ${ke(a.color["fg-muted"])}; opacity: 1; }`};var Re=["indigo","violet","purple","fuchsia","pink","rose","red","orange","amber","yellow","lime","green","emerald","teal","cyan","sky","blue"],Fn= exports.ea =["fg","tint","accent","line","solid","solid-hover"],$n={indigo:{fg:{light:"#372aac",dark:"#c6d2ff"},tint:{light:"#eff3ff",dark:"#1e1a4d"},accent:{light:"#4f39f6",dark:"#7c86ff"}},violet:{fg:{light:"#5d0ec0",dark:"#ddd6ff"},tint:{light:"#f5f3ff",dark:"#2f0d68"},accent:{light:"#7f22fe",dark:"#a684ff"}},purple:{fg:{light:"#6e11b0",dark:"#e9d4ff"},tint:{light:"#faf5ff",dark:"#3c0366"},accent:{light:"#9810fa",dark:"#c27aff"}},fuchsia:{fg:{light:"#8a0194",dark:"#f6cfff"},tint:{light:"#fdf4ff",dark:"#4b004f"},accent:{light:"#c800de",dark:"#ed6aff"}},pink:{fg:{light:"#a3004c",dark:"#fccee8"},tint:{light:"#fdf2f8",dark:"#510424"},accent:{light:"#e60076",dark:"#fb64b6"}},rose:{fg:{light:"#a50036",dark:"#ffccd3"},tint:{light:"#fff1f2",dark:"#4d0218"},accent:{light:"#ec003f",dark:"#ff637e"}},red:{fg:{light:"#9f0712",dark:"#ffc9c9"},tint:{light:"#fef2f2",dark:"#460809"},accent:{light:"#e7000b",dark:"#ff6467"}},orange:{fg:{light:"#7e2a0c",dark:"#ffd6a7"},tint:{light:"#fff7ed",dark:"#441306"},accent:{light:"#f54900",dark:"#ff8904"}},amber:{fg:{light:"#7b3306",dark:"#fee685"},tint:{light:"#fffbeb",dark:"#461901"},accent:{light:"#bb4d00",dark:"#fcbb00"}},yellow:{fg:{light:"#733e0a",dark:"#fff085"},tint:{light:"#fefce8",dark:"#432004"},accent:{light:"#a65f00",dark:"#fdc700"}},lime:{fg:{light:"#35530e",dark:"#d8f999"},tint:{light:"#f7fee7",dark:"#192e03"},accent:{light:"#497d00",dark:"#9ae600"}},green:{fg:{light:"#0d542b",dark:"#b9f8cf"},tint:{light:"#f0fdf4",dark:"#032e15"},accent:{light:"#008236",dark:"#05df72"}},emerald:{fg:{light:"#004f3b",dark:"#a4f4cf"},tint:{light:"#ecfdf5",dark:"#002c22"},accent:{light:"#009966",dark:"#00d492"}},teal:{fg:{light:"#0b4f4a",dark:"#96f7e4"},tint:{light:"#f0fdfa",dark:"#022f2e"},accent:{light:"#009689",dark:"#00d5be"}},cyan:{fg:{light:"#104e64",dark:"#a2f4fd"},tint:{light:"#ecfeff",dark:"#053345"},accent:{light:"#0092b8",dark:"#00d3f2"}},sky:{fg:{light:"#024a70",dark:"#b8e6fe"},tint:{light:"#f0f9ff",dark:"#052f4a"},accent:{light:"#0084d1",dark:"#00bcff"}},blue:{fg:{light:"#193cb8",dark:"#bedbff"},tint:{light:"#eff6ff",dark:"#162456"},accent:{light:"#155dfc",dark:"#51a2ff"}}},y=({light:e,dark:n})=>Object.freeze({light:e,dark:n}),An=({fg:e,tint:n,accent:t})=>Object.freeze({fg:y(e),tint:y(n),accent:y(t),line:y({light:e.dark,dark:e.light}),solid:y(e),"solid-hover":y({light:n.dark,dark:n.light})}),Dn= exports.fa =Object.freeze(Object.fromEntries(Re.map(e=>[e,An($n[e])])));exports.a = O; exports.b = Y; exports.c = K; exports.d = Se; exports.e = f; exports.f = l; exports.g = Le; exports.h = Fe; exports.i = L; exports.j = Ae; exports.k = ne; exports.l = De; exports.m = ve; exports.n = zn; exports.o = Ue; exports.p = F; exports.q = $; exports.r = T; exports.s = E; exports.t = He; exports.u = We; exports.v = ie; exports.w = b; exports.x = le; exports.y = de; exports.z = a; exports.A = tn; exports.B = h; exports.C = x; exports.D = u; exports.E = X; exports.F = dn; exports.G = cn; exports.H = un; exports.I = mn; exports.J = fn; exports.K = pn; exports.L = S; exports.M = bn; exports.N = at; exports.O = hn; exports.P = ye; exports.Q = it; exports.R = xn; exports.S = m; exports.T = Rn; exports.U = mt; exports.V = he; exports.W = En; exports.X = Pn; exports.Y = Sn; exports.Z = _n; exports._ = On; exports.$ = wn; exports.aa = In; exports.ba = ke; exports.ca = Ln; exports.da = Re; exports.ea = Fn; exports.fa = Dn;
|
package/dist/core.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWKYOVFUGcjs = require('./chunk-WKYOVFUG.cjs');var _chunk7M4I26BScjs = require('./chunk-7M4I26BS.cjs');exports.COMPACT_ROW_PX = _chunkWKYOVFUGcjs.y; exports.CONSOLE_UI_LABEL_CATALOGS = _chunkWKYOVFUGcjs.s; exports.CONTRAST_MINIMUM = _chunk7M4I26BScjs.c; exports.CONTRAST_PAIRS = _chunk7M4I26BScjs.d; exports.FIGURE_RING_REACH_PX = _chunkWKYOVFUGcjs.P; exports.FLEXIBLE_COLUMN_MIN_PX = _chunkWKYOVFUGcjs.G; exports.HTTP_FORBIDDEN = _chunkWKYOVFUGcjs.k; exports.LATTICE_PX = _chunkWKYOVFUGcjs.u; exports.ROW_WITH_CONTROL_PX = _chunkWKYOVFUGcjs.x; exports.TARGET_PX = _chunkWKYOVFUGcjs.w; exports.TOKENS = _chunkWKYOVFUGcjs.z; exports.TONES = _chunkWKYOVFUGcjs.fa; exports.TONE_HUES = _chunkWKYOVFUGcjs.da; exports.TONE_ROLES = _chunkWKYOVFUGcjs.ea; exports.ZonedTimeError = _chunkWKYOVFUGcjs.f; exports.beginPage = _chunkWKYOVFUGcjs._; exports.beginPagedReload = _chunkWKYOVFUGcjs.Y; exports.beginReload = _chunkWKYOVFUGcjs.p; exports.ceil8 = _chunkWKYOVFUGcjs.D; exports.ceilToLattice = _chunkWKYOVFUGcjs.v; exports.cellContentInlinePx = _chunkWKYOVFUGcjs.E; exports.comparisonAttributePx = _chunkWKYOVFUGcjs.H; exports.contrastRatio = _chunk7M4I26BScjs.b; exports.countSampleText = _chunkWKYOVFUGcjs.J; exports.cssVar = _chunkWKYOVFUGcjs.A; exports.figureBoxPlan = _chunkWKYOVFUGcjs.M; exports.figureDiscLabelPlan = _chunkWKYOVFUGcjs.O; exports.fillLabel = _chunkWKYOVFUGcjs.j; exports.fixedColumnPx = _chunkWKYOVFUGcjs.F; exports.flatMapOutcome = _chunkWKYOVFUGcjs.m; exports.formatCount = _chunkWKYOVFUGcjs.a; exports.formatInstant = _chunkWKYOVFUGcjs.i; exports.goldenSectionPx = _chunkWKYOVFUGcjs.R; exports.hexToSrgb = _chunk7M4I26BScjs.a; exports.instantSampleText = _chunkWKYOVFUGcjs.I; exports.isReadableText = _chunkWKYOVFUGcjs.e; exports.keepLastGood = _chunkWKYOVFUGcjs.q; exports.lightDark = _chunkWKYOVFUGcjs.ba; exports.mapOutcome = _chunkWKYOVFUGcjs.l; exports.mapPagedList = _chunkWKYOVFUGcjs.aa; exports.masterDetailPlan = _chunkWKYOVFUGcjs.T; exports.monoTextWidthEm = _chunkWKYOVFUGcjs.C; exports.placeholderRule = _chunkWKYOVFUGcjs.ca; exports.pxToRem = _chunkWKYOVFUGcjs.S; exports.readDecimalText = _chunkWKYOVFUGcjs.c; exports.readIntegerText = _chunkWKYOVFUGcjs.d; exports.reasonAside = _chunkWKYOVFUGcjs.r; exports.resolveConsoleUiLabels = _chunkWKYOVFUGcjs.t; exports.settleFirstPage = _chunkWKYOVFUGcjs.Z; exports.settlePage = _chunkWKYOVFUGcjs.$; exports.spacedTextWidthEm = _chunkWKYOVFUGcjs.L; exports.tableFrameMinInlinePx = _chunkWKYOVFUGcjs.W; exports.tableMinInlinePx = _chunkWKYOVFUGcjs.V; exports.textWidthEm = _chunkWKYOVFUGcjs.B; exports.tileGridPlan = _chunkWKYOVFUGcjs.X; exports.tileMinInlinePx = _chunkWKYOVFUGcjs.K; exports.toOffsetIso = _chunkWKYOVFUGcjs.g; exports.toWallTime = _chunkWKYOVFUGcjs.h;
|
package/dist/core.d.cts
CHANGED
|
@@ -10,6 +10,7 @@ declare class ZonedTimeError extends RangeError {
|
|
|
10
10
|
declare const toOffsetIso: (wallTime: string, timeZone: string) => string;
|
|
11
11
|
declare const toWallTime: (offsetIso: string, timeZone: string) => string;
|
|
12
12
|
declare const formatInstant: (instant: string, formatLocale: string, timeZone: string) => string;
|
|
13
|
+
declare function fillLabel(template: string, values: Readonly<Record<string, string | number>>): string;
|
|
13
14
|
type ConsoleUiLocale = "en" | "ja";
|
|
14
15
|
type ConsoleUiLabels = {
|
|
15
16
|
readonly unmeasured: string;
|
|
@@ -48,6 +49,7 @@ declare const SPACE_MULTIPLIERS: readonly [
|
|
|
48
49
|
declare const TYPE_STEPS: {
|
|
49
50
|
readonly caption: -2;
|
|
50
51
|
readonly body: -1;
|
|
52
|
+
readonly "body-lg": 0;
|
|
51
53
|
readonly title: 0;
|
|
52
54
|
readonly heading: 1;
|
|
53
55
|
readonly display: 2;
|
|
@@ -265,6 +267,7 @@ type FigureDiscLabelPlan = {
|
|
|
265
267
|
};
|
|
266
268
|
declare const figureDiscLabelPlan: (label: string | null, radiusPx: number) => FigureDiscLabelPlan;
|
|
267
269
|
declare const FIGURE_RING_REACH_PX: number;
|
|
270
|
+
declare const goldenSectionPx: (lengthPx: number, step: number) => number;
|
|
268
271
|
type MasterDetailOptions = {
|
|
269
272
|
readonly masterMinPx: number;
|
|
270
273
|
readonly detailMinPx: number;
|
|
@@ -277,6 +280,7 @@ type MasterDetailPlan = {
|
|
|
277
280
|
readonly detailInlinePx: number;
|
|
278
281
|
};
|
|
279
282
|
declare const masterDetailPlan: (containerPx: number, options: MasterDetailOptions) => MasterDetailPlan;
|
|
283
|
+
declare const pxToRem: (px: number) => string;
|
|
280
284
|
type ColumnWidth = {
|
|
281
285
|
readonly fixedPx: number;
|
|
282
286
|
readonly minPx?: never;
|
|
@@ -583,4 +587,4 @@ declare const TONE_ROLES: readonly [
|
|
|
583
587
|
type ToneRole = (typeof TONE_ROLES)[number];
|
|
584
588
|
type Tone = Readonly<Record<ToneRole, SchemeColor>>;
|
|
585
589
|
declare const TONES: Readonly<Record<ToneHue, Tone>>;
|
|
586
|
-
export { type AccentRole, COMPACT_ROW_PX, CONSOLE_UI_LABEL_CATALOGS, CONTRAST_MINIMUM, CONTRAST_PAIRS, type CellContent, type ColorScheme, type ColorToken, type ColumnHeaderText, type ColumnWidth, type ColumnWidthSource, type CommandOutcome, type ConsoleUiLabels, type ConsoleUiLocale, type ConsoleUiTokens, type ContrastRole, FIGURE_RING_REACH_PX, FLEXIBLE_COLUMN_MIN_PX, type FgRole, type FigureBoxLines, type FigureBoxPlan, type FigureDiscLabelPlan, HTTP_FORBIDDEN, type KeysetPage, LATTICE_PX, type MasterDetailOptions, type MasterDetailPlan, type MotionToken, type NextPage, type PageFailure, type PagedContent, type PagedState, type PagedValue, ROW_WITH_CONTROL_PX, type RadiusToken, type ReloadCause, type ResourceFailure, type ResourceOutcome, type ResourceState, type SchemeColor, type SizeToken, type SpaceToken, type Srgb, type StrokeToken, type SurfaceRole, TARGET_PX, TOKENS, TONES, TONE_HUES, TONE_ROLES, type TextFace, type TileGridPlan, type TileGridStep, type TokenName, type Tone, type ToneHue, type ToneRole, type TypeToken, type WeightToken, ZonedTimeError, type ZonedTimeErrorReason, beginPage, beginPagedReload, beginReload, ceil8, ceilToLattice, cellContentInlinePx, comparisonAttributePx, contrastRatio, countSampleText, cssVar, figureBoxPlan, figureDiscLabelPlan, fixedColumnPx, flatMapOutcome, formatCount, formatInstant, hexToSrgb, instantSampleText, isReadableText, keepLastGood, lightDark, mapOutcome, mapPagedList, masterDetailPlan, monoTextWidthEm, placeholderRule, readDecimalText, readIntegerText, reasonAside, resolveConsoleUiLabels, settleFirstPage, settlePage, spacedTextWidthEm, tableFrameMinInlinePx, tableMinInlinePx, textWidthEm, tileGridPlan, tileMinInlinePx, toOffsetIso, toWallTime };
|
|
590
|
+
export { type AccentRole, COMPACT_ROW_PX, CONSOLE_UI_LABEL_CATALOGS, CONTRAST_MINIMUM, CONTRAST_PAIRS, type CellContent, type ColorScheme, type ColorToken, type ColumnHeaderText, type ColumnWidth, type ColumnWidthSource, type CommandOutcome, type ConsoleUiLabels, type ConsoleUiLocale, type ConsoleUiTokens, type ContrastRole, FIGURE_RING_REACH_PX, FLEXIBLE_COLUMN_MIN_PX, type FgRole, type FigureBoxLines, type FigureBoxPlan, type FigureDiscLabelPlan, HTTP_FORBIDDEN, type KeysetPage, LATTICE_PX, type MasterDetailOptions, type MasterDetailPlan, type MotionToken, type NextPage, type PageFailure, type PagedContent, type PagedState, type PagedValue, ROW_WITH_CONTROL_PX, type RadiusToken, type ReloadCause, type ResourceFailure, type ResourceOutcome, type ResourceState, type SchemeColor, type SizeToken, type SpaceToken, type Srgb, type StrokeToken, type SurfaceRole, TARGET_PX, TOKENS, TONES, TONE_HUES, TONE_ROLES, type TextFace, type TileGridPlan, type TileGridStep, type TokenName, type Tone, type ToneHue, type ToneRole, type TypeToken, type WeightToken, ZonedTimeError, type ZonedTimeErrorReason, beginPage, beginPagedReload, beginReload, ceil8, ceilToLattice, cellContentInlinePx, comparisonAttributePx, contrastRatio, countSampleText, cssVar, figureBoxPlan, figureDiscLabelPlan, fillLabel, fixedColumnPx, flatMapOutcome, formatCount, formatInstant, goldenSectionPx, hexToSrgb, instantSampleText, isReadableText, keepLastGood, lightDark, mapOutcome, mapPagedList, masterDetailPlan, monoTextWidthEm, placeholderRule, pxToRem, readDecimalText, readIntegerText, reasonAside, resolveConsoleUiLabels, settleFirstPage, settlePage, spacedTextWidthEm, tableFrameMinInlinePx, tableMinInlinePx, textWidthEm, tileGridPlan, tileMinInlinePx, toOffsetIso, toWallTime };
|
package/dist/core.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ declare class ZonedTimeError extends RangeError {
|
|
|
10
10
|
declare const toOffsetIso: (wallTime: string, timeZone: string) => string;
|
|
11
11
|
declare const toWallTime: (offsetIso: string, timeZone: string) => string;
|
|
12
12
|
declare const formatInstant: (instant: string, formatLocale: string, timeZone: string) => string;
|
|
13
|
+
declare function fillLabel(template: string, values: Readonly<Record<string, string | number>>): string;
|
|
13
14
|
type ConsoleUiLocale = "en" | "ja";
|
|
14
15
|
type ConsoleUiLabels = {
|
|
15
16
|
readonly unmeasured: string;
|
|
@@ -48,6 +49,7 @@ declare const SPACE_MULTIPLIERS: readonly [
|
|
|
48
49
|
declare const TYPE_STEPS: {
|
|
49
50
|
readonly caption: -2;
|
|
50
51
|
readonly body: -1;
|
|
52
|
+
readonly "body-lg": 0;
|
|
51
53
|
readonly title: 0;
|
|
52
54
|
readonly heading: 1;
|
|
53
55
|
readonly display: 2;
|
|
@@ -265,6 +267,7 @@ type FigureDiscLabelPlan = {
|
|
|
265
267
|
};
|
|
266
268
|
declare const figureDiscLabelPlan: (label: string | null, radiusPx: number) => FigureDiscLabelPlan;
|
|
267
269
|
declare const FIGURE_RING_REACH_PX: number;
|
|
270
|
+
declare const goldenSectionPx: (lengthPx: number, step: number) => number;
|
|
268
271
|
type MasterDetailOptions = {
|
|
269
272
|
readonly masterMinPx: number;
|
|
270
273
|
readonly detailMinPx: number;
|
|
@@ -277,6 +280,7 @@ type MasterDetailPlan = {
|
|
|
277
280
|
readonly detailInlinePx: number;
|
|
278
281
|
};
|
|
279
282
|
declare const masterDetailPlan: (containerPx: number, options: MasterDetailOptions) => MasterDetailPlan;
|
|
283
|
+
declare const pxToRem: (px: number) => string;
|
|
280
284
|
type ColumnWidth = {
|
|
281
285
|
readonly fixedPx: number;
|
|
282
286
|
readonly minPx?: never;
|
|
@@ -583,4 +587,4 @@ declare const TONE_ROLES: readonly [
|
|
|
583
587
|
type ToneRole = (typeof TONE_ROLES)[number];
|
|
584
588
|
type Tone = Readonly<Record<ToneRole, SchemeColor>>;
|
|
585
589
|
declare const TONES: Readonly<Record<ToneHue, Tone>>;
|
|
586
|
-
export { type AccentRole, COMPACT_ROW_PX, CONSOLE_UI_LABEL_CATALOGS, CONTRAST_MINIMUM, CONTRAST_PAIRS, type CellContent, type ColorScheme, type ColorToken, type ColumnHeaderText, type ColumnWidth, type ColumnWidthSource, type CommandOutcome, type ConsoleUiLabels, type ConsoleUiLocale, type ConsoleUiTokens, type ContrastRole, FIGURE_RING_REACH_PX, FLEXIBLE_COLUMN_MIN_PX, type FgRole, type FigureBoxLines, type FigureBoxPlan, type FigureDiscLabelPlan, HTTP_FORBIDDEN, type KeysetPage, LATTICE_PX, type MasterDetailOptions, type MasterDetailPlan, type MotionToken, type NextPage, type PageFailure, type PagedContent, type PagedState, type PagedValue, ROW_WITH_CONTROL_PX, type RadiusToken, type ReloadCause, type ResourceFailure, type ResourceOutcome, type ResourceState, type SchemeColor, type SizeToken, type SpaceToken, type Srgb, type StrokeToken, type SurfaceRole, TARGET_PX, TOKENS, TONES, TONE_HUES, TONE_ROLES, type TextFace, type TileGridPlan, type TileGridStep, type TokenName, type Tone, type ToneHue, type ToneRole, type TypeToken, type WeightToken, ZonedTimeError, type ZonedTimeErrorReason, beginPage, beginPagedReload, beginReload, ceil8, ceilToLattice, cellContentInlinePx, comparisonAttributePx, contrastRatio, countSampleText, cssVar, figureBoxPlan, figureDiscLabelPlan, fixedColumnPx, flatMapOutcome, formatCount, formatInstant, hexToSrgb, instantSampleText, isReadableText, keepLastGood, lightDark, mapOutcome, mapPagedList, masterDetailPlan, monoTextWidthEm, placeholderRule, readDecimalText, readIntegerText, reasonAside, resolveConsoleUiLabels, settleFirstPage, settlePage, spacedTextWidthEm, tableFrameMinInlinePx, tableMinInlinePx, textWidthEm, tileGridPlan, tileMinInlinePx, toOffsetIso, toWallTime };
|
|
590
|
+
export { type AccentRole, COMPACT_ROW_PX, CONSOLE_UI_LABEL_CATALOGS, CONTRAST_MINIMUM, CONTRAST_PAIRS, type CellContent, type ColorScheme, type ColorToken, type ColumnHeaderText, type ColumnWidth, type ColumnWidthSource, type CommandOutcome, type ConsoleUiLabels, type ConsoleUiLocale, type ConsoleUiTokens, type ContrastRole, FIGURE_RING_REACH_PX, FLEXIBLE_COLUMN_MIN_PX, type FgRole, type FigureBoxLines, type FigureBoxPlan, type FigureDiscLabelPlan, HTTP_FORBIDDEN, type KeysetPage, LATTICE_PX, type MasterDetailOptions, type MasterDetailPlan, type MotionToken, type NextPage, type PageFailure, type PagedContent, type PagedState, type PagedValue, ROW_WITH_CONTROL_PX, type RadiusToken, type ReloadCause, type ResourceFailure, type ResourceOutcome, type ResourceState, type SchemeColor, type SizeToken, type SpaceToken, type Srgb, type StrokeToken, type SurfaceRole, TARGET_PX, TOKENS, TONES, TONE_HUES, TONE_ROLES, type TextFace, type TileGridPlan, type TileGridStep, type TokenName, type Tone, type ToneHue, type ToneRole, type TypeToken, type WeightToken, ZonedTimeError, type ZonedTimeErrorReason, beginPage, beginPagedReload, beginReload, ceil8, ceilToLattice, cellContentInlinePx, comparisonAttributePx, contrastRatio, countSampleText, cssVar, figureBoxPlan, figureDiscLabelPlan, fillLabel, fixedColumnPx, flatMapOutcome, formatCount, formatInstant, goldenSectionPx, hexToSrgb, instantSampleText, isReadableText, keepLastGood, lightDark, mapOutcome, mapPagedList, masterDetailPlan, monoTextWidthEm, placeholderRule, pxToRem, readDecimalText, readIntegerText, reasonAside, resolveConsoleUiLabels, settleFirstPage, settlePage, spacedTextWidthEm, tableFrameMinInlinePx, tableMinInlinePx, textWidthEm, tileGridPlan, tileMinInlinePx, toOffsetIso, toWallTime };
|
package/dist/core.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as
|
|
1
|
+
import{$ as V,A as x,B as y,C as z,D as A,E as B,F as C,G as D,H as E,I as F,J as G,K as H,L as I,M as J,O as K,P as L,R as M,S as N,T as O,V as P,W as Q,X as R,Y as S,Z as T,_ as U,a,aa as W,ba as $,c as b,ca as aa,d as c,da as ba,e as d,ea as ca,f as e,fa as da,g as f,h as g,i as h,j as i,k as j,l as k,m as l,p as m,q as n,r as o,s as p,t as q,u as r,v as s,w as t,x as u,y as v,z as w}from"./chunk-5TCPOLTI.js";import{a as X,b as Y,c as Z,d as _}from"./chunk-FXEGLGL7.js";export{v as COMPACT_ROW_PX,p as CONSOLE_UI_LABEL_CATALOGS,Z as CONTRAST_MINIMUM,_ as CONTRAST_PAIRS,L as FIGURE_RING_REACH_PX,D as FLEXIBLE_COLUMN_MIN_PX,j as HTTP_FORBIDDEN,r as LATTICE_PX,u as ROW_WITH_CONTROL_PX,t as TARGET_PX,w as TOKENS,da as TONES,ba as TONE_HUES,ca as TONE_ROLES,e as ZonedTimeError,U as beginPage,S as beginPagedReload,m as beginReload,A as ceil8,s as ceilToLattice,B as cellContentInlinePx,E as comparisonAttributePx,Y as contrastRatio,G as countSampleText,x as cssVar,J as figureBoxPlan,K as figureDiscLabelPlan,i as fillLabel,C as fixedColumnPx,l as flatMapOutcome,a as formatCount,h as formatInstant,M as goldenSectionPx,X as hexToSrgb,F as instantSampleText,d as isReadableText,n as keepLastGood,$ as lightDark,k as mapOutcome,W as mapPagedList,O as masterDetailPlan,z as monoTextWidthEm,aa as placeholderRule,N as pxToRem,b as readDecimalText,c as readIntegerText,o as reasonAside,q as resolveConsoleUiLabels,T as settleFirstPage,V as settlePage,I as spacedTextWidthEm,Q as tableFrameMinInlinePx,P as tableMinInlinePx,y as textWidthEm,R as tileGridPlan,H as tileMinInlinePx,f as toOffsetIso,g as toWallTime};
|