@metacensus/library-ui 0.15.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +110 -16
  2. package/TRADEMARKS.md +4 -4
  3. package/dist/index.d.ts +3 -1
  4. package/dist/index.js +3 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/marks/Marks.d.ts +2 -5
  7. package/dist/marks/Marks.js +33 -8
  8. package/dist/marks/Marks.js.map +1 -1
  9. package/dist/organization/facts.d.ts +15 -0
  10. package/dist/organization/facts.js +21 -0
  11. package/dist/organization/facts.js.map +1 -0
  12. package/dist/organization/index.d.ts +3 -0
  13. package/dist/organization/index.js +4 -0
  14. package/dist/organization/index.js.map +1 -0
  15. package/dist/organization/serialize.d.ts +12 -0
  16. package/dist/organization/serialize.js +47 -0
  17. package/dist/organization/serialize.js.map +1 -0
  18. package/dist/organization/stewards.d.ts +16 -0
  19. package/dist/organization/stewards.js +111 -0
  20. package/dist/organization/stewards.js.map +1 -0
  21. package/dist/site/links.d.ts +14 -0
  22. package/dist/site/links.js +44 -0
  23. package/dist/site/links.js.map +1 -0
  24. package/dist/tools/CiteThisPage.d.ts +14 -0
  25. package/dist/tools/CiteThisPage.js +13 -0
  26. package/dist/tools/CiteThisPage.js.map +1 -0
  27. package/dist/tools/cite.d.ts +18 -0
  28. package/dist/tools/cite.js +73 -0
  29. package/dist/tools/cite.js.map +1 -0
  30. package/dist/tools/display.d.ts +28 -0
  31. package/dist/tools/display.js +101 -0
  32. package/dist/tools/display.js.map +1 -0
  33. package/marks/wordmark-lockup.svg +1 -7
  34. package/package.json +18 -1
  35. package/src/chrome/Footer.astro +25 -0
  36. package/src/chrome/Header.astro +40 -0
  37. package/src/css/styles.css +158 -32
  38. package/src/css/tokens.css +0 -8
  39. package/src/inventory/routes.mjs +122 -0
  40. package/src/organization/OrganizationJsonLd.astro +5 -0
  41. package/dist/tools/theme.d.ts +0 -18
  42. package/dist/tools/theme.js +0 -68
  43. package/dist/tools/theme.js.map +0 -1
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  MetaCensus's brand layer and a small set of UI tools, as one ESM React package (React 18 peer).
4
4
 
5
- The first release's contents are tracked in this repository's issues. So far it ships the marks, the brand tokens, the components and the PDF anchor format.
5
+ The first release's contents are tracked in this repository's issues. So far it ships the marks, the brand tokens, the components, the shared layout and the PDF anchor format.
6
6
 
7
7
  ## Use
8
8
 
@@ -22,7 +22,7 @@ Marks are importable as `@metacensus/library-ui/marks/mark.svg` and its siblings
22
22
 
23
23
  `styles.css` is plain CSS, every class `mc-` prefixed and none scoped to a site, reading the roles in `tokens.css`. No Tailwind is needed. Set `font-family: var(--mc-font-sans)` on your page.
24
24
 
25
- `styles.css` declares `@layer mc`, so its rules sit in a cascade layer and lose to any unlayered rule of yours. `tokens.css` stays unlayered: custom properties do not compete with utilities. With Tailwind 4, put this line first so utilities beat the components, and `className="p-0"` or `"hidden"` on `Button`, `Header`, `Nav` or `ThemeToggle` wins without `!important`:
25
+ `styles.css` declares `@layer mc`, so its rules sit in a cascade layer and lose to any unlayered rule of yours. `tokens.css` stays unlayered: custom properties do not compete with utilities. With Tailwind 4, put this line first so utilities beat the components, and `className="p-0"` or `"hidden"` on `Button`, `Header`, `Nav` or `DisplayControls` wins without `!important`:
26
26
 
27
27
  ```css
28
28
  @layer theme, base, mc, components, utilities;
@@ -30,27 +30,27 @@ Marks are importable as `@metacensus/library-ui/marks/mark.svg` and its siblings
30
30
 
31
31
  Any unlayered rule of yours now beats the package's, whatever its specificity: a bare `button { ... }` beats `.mc-button`, which it did not before. That is how your own CSS wins. To choose the layer's name, import it as `@import '@metacensus/library-ui/styles.css' layer(brand);`, which nests the rules as `brand.mc`, and name `brand` in the ordering line in place of `mc`.
32
32
 
33
- Components render on the server: no router, auth or API client, and no browser global while rendering. In Astro, add `@astrojs/react`; the marks and chrome render at build with no `client:` directive and ship no JS. Only `ThemeToggle` and `ContributorCard` need one, as `client:visible`.
33
+ Components render on the server: no router, auth or API client, and no browser global while rendering. In Astro, add `@astrojs/react`; the marks and chrome render at build with no `client:` directive and ship no JS. Only `DisplayControls` and `ContributorCard` need one, as `client:visible`.
34
34
 
35
35
  - Marks: `MetaCensusMark`, `MetaCensusLockup`, `MetaCensusWordmark` (the lockup's letters alone, in `WORDMARK_VIEWBOX`), `MetaCensusArrow`, `LogoArrowMorph`, and the shared geometry, including the lockup's spacing (`LOCKUP_VIEWBOX`, and `LOCKUP_MARK_BOX` for the mark's box within it).
36
36
  - Chrome: `Header` (`nav` and `actions` slots, which wrap on a narrow screen; with no `nav`, the `actions` sit at the end of the row), `Footer` (`brand` replaces the linked lockup and its link is the consumer's; `tagline`; link columns as children), `Nav` (`links`).
37
- - Tools: `cn`, `Button`, `Notice`, `Chip`, the form kit (`Field`, `Label`, `Input`, `Textarea`, `Select`, `Checkbox`, `RadioGroup`, `FieldError`), `useTheme`, `ThemeToggle`, `themeScript`.
37
+ - Tools: `cn`, `Button`, `Notice`, `Chip`, `CiteThisPage` with the formatters `formatRis`, `formatBibtex` and `formatCitationText`, the form kit (`Field`, `Label`, `Input`, `Textarea`, `Select`, `Checkbox`, `RadioGroup`, `FieldError`), `useTheme`, `useStill`, `DisplayControls`, `displayScript`.
38
38
  - People: `ContributorCard` (a person's photo, name, role, flavor chip and bio, whose bio floats open on hover or focus until Escape), `ContributorFlavorKey`, and `AudienceIcon` for each of `AUDIENCES`, labelled from `AUDIENCE_LABELS`. The floating card is portaled into `<body>`, so import `tokens.css` and set the theme on `:root`, not on a wrapper.
39
39
 
40
- - Marks take `variant`: `auto` (the default: solid on light, reversed on dark), `solid` or `reversed`, and `gradient` on the lockup, which needs a white or very light ground. Mark usage is in [TRADEMARKS.md](TRADEMARKS.md).
40
+ - Marks take `variant`: `auto` (the default: solid on every ground, over a Soft Lavender halo on dark that spills about one mark-height past its box, so its container must not clip it), `solid` or `reversed`. Mark usage is in [TRADEMARKS.md](TRADEMARKS.md).
41
41
  - `LogoArrowMorph` is a pure function of `progress`, 0 the mark and 1 the arrow; whatever places it owns the timing. Keep it horizontal.
42
42
  - `Nav`'s mobile menu is a checkbox and CSS, so it works without JS.
43
- - `Button` takes `variant`: `primary` (the default; one per view), `secondary`, `text`, `danger` or `inverse`. A solid Garnet fill marks only a risky action: one that destroys, discards, revokes or cannot be undone. A vote, a filter or a choice between options is not risky. `inverse` is a white fill for the call to action on a `--mc-fill-solid`, `--mc-gradient-hero` or `--mc-night` ground, where `primary` is the ground's own colour or nearly so. Use it on those grounds only: it reads the same in light and dark, and `secondary` inside `.dark` is its quieter sibling.
43
+ - `Button` takes `variant`: `primary` (the default; one per view), `secondary`, `text`, `danger` or `inverse`. A solid Garnet fill marks only a risky action: one that destroys, discards, revokes or cannot be undone. A vote, a filter or a choice between options is not risky. `inverse` is a white fill for the call to action on a `--mc-fill-solid` or `--mc-night` ground, where `primary` is the ground's own colour or nearly so. Use it on those grounds only: it reads the same in light and dark, and `secondary` inside `.dark` is its quieter sibling.
44
44
  - `Notice` takes `tone`: `alert` (the default, which reads the `--mc-alert-*` roles), `info` (the blue tint) or `success` (the purple tint fill with the accent ink, since the palette has no green). It renders `role="note"`; pass `role="alert"` for an error.
45
45
  - `Button` and `Notice` follow the guidelines' illustrated Actions and Callout patterns. Those patterns do not bind yet: the guidelines have yet to state their shape.
46
- - Theme: inline `themeScript` in `<head>` so a stored override is on `<html>` before first paint. `useTheme` and `ThemeToggle` read and set it: `system` (the OS), `light` or `dark`. `ThemeToggle` is a round icon button fixed at the viewport's bottom corner, so render it once, from the layout.
46
+ - Display: inline `displayScript` in `<head>` so the stored choices are on `<html>` before first paint. `DisplayControls` is a round icon button fixed at the viewport's bottom-left corner; hover, focus or a tap opens a panel with the theme (`system`, the OS, `light` or `dark`) and a switch that stops animations. Render it once, from the layout; the panel may cover content on a phone. `useTheme` and `useStill` read and set the same choices. Stopped animations put `still` on `<html>`, whether the viewer chose it or the OS prefers reduced motion, so a page styles its own animations from `:root.still`, as the marks' halo does. With no stored choice the theme and `still` follow the system.
47
47
 
48
48
  ```astro
49
49
  ---
50
- import { Header, Nav, Button, themeScript } from '@metacensus/library-ui'
50
+ import { Header, Nav, Button, displayScript } from '@metacensus/library-ui'
51
51
  ---
52
52
  <head>
53
- <script is:inline set:html={themeScript} />
53
+ <script is:inline set:html={displayScript} />
54
54
  </head>
55
55
  <Header>
56
56
  <Nav slot="nav" links={[{ href: '/research', label: 'Research' }]} />
@@ -59,8 +59,109 @@ import { Header, Nav, Button, themeScript } from '@metacensus/library-ui'
59
59
  <Button variant="danger">Delete account</Button>
60
60
  ```
61
61
 
62
+ `CiteThisPage` takes a `citation` (`title`, `authors` as `Family, Given`, an ISO `date`, `publisher` and `url`) plus `risHref` and `bibHref`, and renders a `Cite this page` disclosure with the citation as text and a download link to each file. It is a `<details>`, so it needs no JS and no `client:` directive, and it renders nothing when `citation.url` is empty. The page owns the URL and its permanence. The formatters are pure functions: a page writes the two files at build and links to them.
63
+
64
+ ```astro
65
+ ---
66
+ // src/pages/a-page.astro
67
+ import { CiteThisPage } from '@metacensus/library-ui'
68
+ import { citation } from '../citation'
69
+ ---
70
+ <CiteThisPage citation={citation} risHref="/a-page.ris" bibHref="/a-page.bib" />
71
+ ```
72
+
73
+ ```ts
74
+ // src/citation.ts
75
+ export const citation = {
76
+ title: 'A page',
77
+ authors: ['Doe, Jane', 'Roe, Richard'],
78
+ date: '2026-11-10',
79
+ publisher: 'MetaCensus',
80
+ url: 'https://example.org/a-page',
81
+ }
82
+ ```
83
+
84
+ ```ts
85
+ // src/pages/a-page.ris.ts, and the same with formatBibtex in a-page.bib.ts
86
+ import { formatRis } from '@metacensus/library-ui'
87
+ import { citation } from '../citation'
88
+ export const GET = () =>
89
+ new Response(formatRis(citation), {
90
+ headers: { 'Content-Type': 'application/x-research-info-systems' },
91
+ })
92
+ ```
93
+
62
94
  In `.astro` files, pass `Header`'s `nav` and `actions` as named slots; JSX props there fail the build.
63
95
 
96
+ ## Layout
97
+
98
+ The shared layout is `Header.astro` and `Footer.astro`, Astro components that take no props: they read the site links (`@metacensus/library-ui/site-links`) and the [organization's facts](#organization-facts). A site's layout composes them with the display controls and passes only what is its own. The React `Header` and `Footer` above are separate components, not these.
99
+
100
+ ```astro
101
+ ---
102
+ import Header from '@metacensus/library-ui/Header.astro'
103
+ import Footer from '@metacensus/library-ui/Footer.astro'
104
+ ---
105
+ <Header><slot name="section-bar" /></Header>
106
+ <Footer />
107
+ ```
108
+
109
+ [`browser/site`](browser/site) is the whole layout, which the browser suite builds. Put `Header` directly under `body`: the sticky section bar depends on it.
110
+
111
+ - `Header`'s slot renders after the main bar, outside it, so a page's `<nav slot="section-bar" class="mc-section-bar">` sticks at the viewport's top while the main bar scrolls away.
112
+ - Site links: `HEADER_LINKS`, `SECTION_LINKS`, `FOOTER_COLUMNS`, `LOGIN_PATH`, `JOIN_PATH` and `LEGAL_PATH`.
113
+
114
+ ### Route inventory
115
+
116
+ `@metacensus/library-ui/inventory/routes.mjs` is an Astro integration that writes `ROUTES.md` at build: every page, its audience and purpose from `src/inventory/routes.json`, and the links and forms in its built HTML. The build fails when a route has no entry or an entry has no route. `deniedLinks` takes a function from a page's hrefs to those it may not link to, and fails the build on any.
117
+
118
+ ```js
119
+ // astro.config.mjs
120
+ import routeInventory from '@metacensus/library-ui/inventory/routes.mjs'
121
+
122
+ export default defineConfig({
123
+ integrations: [routeInventory({ deniedLinks })],
124
+ })
125
+ ```
126
+
127
+ ## Organization facts
128
+
129
+ `@metacensus/library-ui/organization` holds the organization's name, URL, logo, contact address and the people credited as plain `organization` data, with no Astro or React, and the stewards (`cofounders`, `contributors` and `advisoryBoard`: each person's name, role, portrait file, link and flavor) from which the people credited are built (cofounders as `founder`, contributors as `member`; the advisory board is not credited), and what every site derives from it: `organizationJsonLd()`, `organizationJsonLdScript()` and `humansTxt()`.
130
+
131
+ In an Astro layout's `<head>`:
132
+
133
+ ```astro
134
+ ---
135
+ import OrganizationJsonLd from '@metacensus/library-ui/OrganizationJsonLd.astro'
136
+ ---
137
+ <head>
138
+ <OrganizationJsonLd />
139
+ </head>
140
+ ```
141
+
142
+ In React, render the same function's output:
143
+
144
+ ```tsx
145
+ import { organizationJsonLdScript } from '@metacensus/library-ui/organization'
146
+
147
+ ;<script
148
+ type="application/ld+json"
149
+ dangerouslySetInnerHTML={{ __html: organizationJsonLdScript() }}
150
+ />
151
+ ```
152
+
153
+ `humans.txt` is an Astro endpoint, built to `/humans.txt`:
154
+
155
+ ```ts
156
+ // src/pages/humans.txt.ts
157
+ import { humansTxt } from '@metacensus/library-ui/organization'
158
+
159
+ export const GET = () =>
160
+ new Response(humansTxt(), {
161
+ headers: { 'Content-Type': 'text/plain; charset=utf-8' },
162
+ })
163
+ ```
164
+
64
165
  ## PDF
65
166
 
66
167
  `@metacensus/library-ui/pdf` is a separate entry point, so the main one never loads pdf.js.
@@ -145,13 +246,6 @@ The default for a chip, pill, badge or callout: the family's tint as the fill, i
145
246
 
146
247
  `--mc-grey-mid` is for text demoted in place: copy that stops being the subject and becomes context for what replaced it. Copy that is merely secondary starts in Charcoal, which is `--mc-ink`. On white Slate Mist is about 3.2:1, under the 4.5:1 minimum for small text, so `--mc-ink-secondary` is not for small text there. For an outline, use `--mc-line-input`.
147
248
 
148
- ### Gradients
149
-
150
- - `--mc-gradient-hero`, `#3B0E75` to `#915EDA`, for hero fills.
151
- - `--mc-gradient-lockup`, `#37128A` to `#AB82EC`, the lockup's own.
152
-
153
- Two stops each; add no third and route neither through an accent family.
154
-
155
249
  ### Shape (provisional)
156
250
 
157
251
  - `--mc-radius: 6px`
package/TRADEMARKS.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # MetaCensus marks
2
2
 
3
- The marks are the primary mark, the wordmark lockup, the wordmark alone, the arrow and the favicon, in [`marks/`](marks). All rights in them are reserved ([`marks/NOTICE.md`](marks/NOTICE.md)); the repository's AGPL-3.0-only license does not cover them. Questions and co-branded approvals: brand@metacensus.io.
3
+ The marks are the primary mark, the wordmark lockup, the wordmark alone, the arrow and the favicon, in [`marks/`](marks). All rights in them are reserved ([`marks/NOTICE.md`](marks/NOTICE.md)); the repository's AGPL-3.0-only license does not cover them. Questions and co-branded approvals: contact@metacensus.org.
4
4
 
5
5
  ## Permitted use
6
6
 
@@ -22,7 +22,7 @@ The marks are the primary mark, the wordmark lockup, the wordmark alone, the arr
22
22
 
23
23
  - **Clear space:** keep the height of the smallest bar clear on all sides.
24
24
  - **Minimum size:** 24px tall on screen, 12mm in print, 16px for a favicon.
25
- - **Variants:** gradient (`#37128A` to `#AB82EC`, left to right across the lockup), solid `#3B0E75`, reversed white on dark, grayscale. The gradient needs a white or very light ground; use the reversed variant on dark or violet grounds.
25
+ - **Variants:** solid `#3B0E75`, reversed white on dark, grayscale. Use the reversed variant on dark or violet grounds.
26
26
  - **Scale** proportionally from these vector files.
27
27
  - **The arrow** may be rotated to follow reading direction. Nothing else may.
28
28
 
@@ -31,5 +31,5 @@ The marks are the primary mark, the wordmark lockup, the wordmark alone, the arr
31
31
  - Don't rebuild or re-draw the marks, or re-set the wordmark in another typeface.
32
32
  - Don't recolor outside the variants above, and don't use the coral signal color in a mark.
33
33
  - Don't rotate (except the arrow), stretch, compress, skew or distort a mark, or alter the spacing between bars.
34
- - Don't add gradients, shadows or effects beyond the brand gradient.
35
- - Don't place the gradient mark on a busy or low-contrast photograph.
34
+ - Don't add shadows or effects: a mark is one flat color.
35
+ - Don't place a mark on a busy or low-contrast photograph.
package/dist/index.d.ts CHANGED
@@ -6,8 +6,10 @@ export { Nav, type NavLink } from './chrome/Nav.js';
6
6
  export { Button } from './tools/Button.js';
7
7
  export { Chip } from './tools/Chip.js';
8
8
  export { cn } from './tools/cn.js';
9
+ export { formatBibtex, formatCitationText, formatRis, type Citation, } from './tools/cite.js';
10
+ export { CiteThisPage } from './tools/CiteThisPage.js';
9
11
  export { Checkbox, Field, FieldError, Input, Label, RadioGroup, Select, Textarea, } from './tools/form.js';
10
12
  export { Notice } from './tools/Notice.js';
11
13
  export { AUDIENCES, AUDIENCE_LABELS, AudienceIcon, type Audience, } from './people/AudienceIcon.js';
12
14
  export { ContributorCard, ContributorFlavorKey, type ContributorFlavor, } from './people/ContributorCard.js';
13
- export { ThemeToggle, themeScript, useTheme, type Theme, } from './tools/theme.js';
15
+ export { DisplayControls, displayScript, useStill, useTheme, type Theme, } from './tools/display.js';
package/dist/index.js CHANGED
@@ -6,9 +6,11 @@ export { Nav } from './chrome/Nav.js';
6
6
  export { Button } from './tools/Button.js';
7
7
  export { Chip } from './tools/Chip.js';
8
8
  export { cn } from './tools/cn.js';
9
+ export { formatBibtex, formatCitationText, formatRis, } from './tools/cite.js';
10
+ export { CiteThisPage } from './tools/CiteThisPage.js';
9
11
  export { Checkbox, Field, FieldError, Input, Label, RadioGroup, Select, Textarea, } from './tools/form.js';
10
12
  export { Notice } from './tools/Notice.js';
11
13
  export { AUDIENCES, AUDIENCE_LABELS, AudienceIcon, } from './people/AudienceIcon.js';
12
14
  export { ContributorCard, ContributorFlavorKey, } from './people/ContributorCard.js';
13
- export { ThemeToggle, themeScript, useTheme, } from './tools/theme.js';
15
+ export { DisplayControls, displayScript, useStill, useTheme, } from './tools/display.js';
14
16
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,cAAc,EACd,kBAAkB,GACnB,MAAM,kBAAkB,CAAA;AACzB,cAAc,qBAAqB,CAAA;AACnC,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAA;AAC3C,OAAO,EAAE,GAAG,EAAgB,MAAM,iBAAiB,CAAA;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC1C,OAAO,EAAE,IAAI,EAAE,MAAM,iB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B,CAAA;AAC1C,OAAO,EACL,SAAS,EACT,eAAe,EACf,YAAY,GAEb,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACL,eAAe,EACf,oBAAoB,GAErB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACL,eAAe,EACf,aAAa,EACb,QAAQ,EACR,QAAQ,GAET,MAAM,oBAAoB,CAAA"}
@@ -6,11 +6,8 @@ type MarkProps = {
6
6
  };
7
7
  /** The primary mark: the six bars of the forest plot. */
8
8
  export declare function MetaCensusMark({ variant, className, title, }: MarkProps): import("react").JSX.Element;
9
- /** The mark and wordmark, outlined. `gradient` is the canonical lockup and
10
- * needs a white or very light ground. */
11
- export declare function MetaCensusLockup({ variant, className, title, }: Omit<MarkProps, 'variant'> & {
12
- variant?: Variant | 'gradient';
13
- }): import("react").JSX.Element;
9
+ /** The mark and wordmark, outlined. */
10
+ export declare function MetaCensusLockup({ variant, className, title, }: MarkProps): import("react").JSX.Element;
14
11
  /** The wordmark alone: the lockup's letters, outlined, without the bars. */
15
12
  export declare function MetaCensusWordmark({ variant, className, title, }: MarkProps): import("react").JSX.Element;
16
13
  /** The arrow. Decorative unless given a `title`. It may be rotated to follow
@@ -1,23 +1,48 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useId } from 'react';
3
3
  import { cn } from '../tools/cn.js';
4
4
  import { ARROW_SEGMENTS, ARROW_VIEWBOX, BARS, BAR_RECTS, CAP_RADIUS, LOCKUP_VIEWBOX, MARK_VIEWBOX, STROKE_WIDTH, WORDMARK_VIEWBOX, barAt, } from './geometry.js';
5
5
  import { LOCKUP_PATHS } from './lockupPaths.js';
6
6
  const fillClass = (variant) => `mc-fill-${variant}`;
7
+ /** A DOM id unique to this render, safe inside `url(#…)`. */
8
+ const useSvgId = (prefix) => `${prefix}-${useId().replace(/[^\w-]/g, '')}`;
9
+ /** Draws `children` over the dark-ground halo: Soft Lavender, diffused,
10
+ * rippling like water, with a thin still rim beneath the mark; still under
11
+ * reduced motion. Its numbers are in the lockup's units, 23 tall; `height`
12
+ * scales them to the viewBox. styles.css renders it on dark grounds only. */
13
+ function Haloed({ viewBox, children, }) {
14
+ const id = useSvgId('mc-halo');
15
+ const [x, y, w, h] = viewBox.split(' ').map(Number);
16
+ const u = h / 23;
17
+ const pad = 24 * u;
18
+ const region = {
19
+ filterUnits: 'userSpaceOnUse',
20
+ x: x - pad,
21
+ y: y - pad,
22
+ width: w + 2 * pad,
23
+ height: h + 2 * pad,
24
+ };
25
+ const period = region.width / 2;
26
+ const edge = (_jsxs(_Fragment, { children: [_jsx("feMorphology", { in: "SourceAlpha", operator: "dilate", radius: 2.1 * u }), _jsx("feGaussianBlur", { stdDeviation: 6 * u, result: "edge" })] }));
27
+ /** Floods Soft Lavender through the `mask` result at alpha `slope`. */
28
+ const tint = (mask, slope, breathing) => (_jsxs(_Fragment, { children: [_jsx("feFlood", { className: "mc-halo-flood" }), _jsx("feComposite", { in2: mask, operator: "in" }), _jsx("feComponentTransfer", { result: "tinted", children: _jsx("feFuncA", { type: "linear", slope: slope, children: breathing }) })] }));
29
+ // Laid over the tinted halo, after its breathing, so it does not breathe.
30
+ const rim = (_jsxs(_Fragment, { children: [_jsx("feMorphology", { in: "SourceAlpha", operator: "dilate", radius: 0.8 * u }), _jsx("feGaussianBlur", { stdDeviation: 0.8 * u }), _jsx("feComponentTransfer", { result: "rim", children: _jsx("feFuncA", { type: "linear", slope: "0.40" }) }), _jsx("feFlood", { className: "mc-halo-flood" }), _jsx("feComposite", { in2: "rim", operator: "in" }), _jsx("feComposite", { in2: "tinted", operator: "over" })] }));
31
+ return (_jsxs(_Fragment, { children: [_jsxs("defs", { children: [_jsxs("filter", { id: `${id}-moving`, ...region, children: [edge, _jsx("feTurbulence", { type: "fractalNoise", baseFrequency: `${0.06 / u} ${0.155 / u}`, stitchTiles: "stitch", x: x, width: period }), _jsx("feTile", { x: region.x, width: region.width }), _jsx("feOffset", { x: region.x, width: period, children: _jsx("animate", { attributeName: "dx", values: `0;${-period}`, dur: "12s", repeatCount: "indefinite" }) }), _jsx("feTile", { x: region.x, width: region.width }), _jsx("feDisplacementMap", { in: "edge", scale: 7.5 * u, xChannelSelector: "R", yChannelSelector: "G", result: "water" }), _jsx("feMorphology", { in: "SourceAlpha", operator: "dilate", radius: 1.5 * u, children: _jsx("animate", { attributeName: "radius", values: `${1.5 * u};${10.5 * u}`, dur: "4.1s", repeatCount: "indefinite" }) }), _jsx("feGaussianBlur", { stdDeviation: 3 * u }), _jsx("feComponentTransfer", { children: _jsx("feFuncA", { type: "linear", slope: "0.35", children: _jsx("animate", { attributeName: "slope", values: "0.35;0", dur: "4.1s", repeatCount: "indefinite" }) }) }), _jsx("feComposite", { in2: "edge", operator: "in" }), _jsx("feComposite", { in2: "water", operator: "over", result: "halo" }), tint('halo', 0.48, _jsx("animate", { attributeName: "slope", values: "0.48;0.64;0.48", dur: "4.9s", repeatCount: "indefinite" })), rim] }), _jsxs("filter", { id: `${id}-still`, ...region, children: [edge, tint('edge', 0.64), rim] }), _jsx("g", { id: id, children: children })] }), _jsxs("g", { className: "mc-halo", children: [_jsx("use", { href: `#${id}`, filter: `url(#${id}-moving)`, className: "mc-halo-moving" }), _jsx("use", { href: `#${id}`, filter: `url(#${id}-still)`, className: "mc-halo-still" })] }), _jsx("use", { href: `#${id}` })] }));
32
+ }
33
+ /** The marks' shapes, haloed when `auto`. */
34
+ const drawn = (variant, viewBox, shapes) => variant === 'auto' ? _jsx(Haloed, { viewBox: viewBox, children: shapes }) : shapes;
7
35
  /** The primary mark: the six bars of the forest plot. */
8
36
  export function MetaCensusMark({ variant = 'auto', className, title = 'MetaCensus', }) {
9
- return (_jsxs("svg", { viewBox: MARK_VIEWBOX, className: cn('mc-mark', fillClass(variant), className), role: "img", "aria-label": title, children: [_jsx("title", { children: title }), BAR_RECTS.map((b) => (_jsx("rect", { x: b.x, y: b.y, width: b.w, height: STROKE_WIDTH, rx: CAP_RADIUS }, b.y)))] }));
37
+ return (_jsxs("svg", { viewBox: MARK_VIEWBOX, className: cn('mc-mark', fillClass(variant), className), role: "img", "aria-label": title, children: [_jsx("title", { children: title }), drawn(variant, MARK_VIEWBOX, BAR_RECTS.map((b) => (_jsx("rect", { x: b.x, y: b.y, width: b.w, height: STROKE_WIDTH, rx: CAP_RADIUS }, b.y))))] }));
10
38
  }
11
- /** The mark and wordmark, outlined. `gradient` is the canonical lockup and
12
- * needs a white or very light ground. */
39
+ /** The mark and wordmark, outlined. */
13
40
  export function MetaCensusLockup({ variant = 'auto', className, title = 'MetaCensus', }) {
14
- const gradientId = `mc-lockup-${useId().replace(/:/g, '')}`;
15
- const gradient = variant === 'gradient';
16
- return (_jsxs("svg", { viewBox: LOCKUP_VIEWBOX, className: cn('mc-lockup', !gradient && fillClass(variant), className), fill: gradient ? `url(#${gradientId})` : undefined, role: "img", "aria-label": title, children: [_jsx("title", { children: title }), gradient && (_jsx("defs", { children: _jsxs("linearGradient", { id: gradientId, x1: "0", x2: "158.055", y1: "0", y2: "0", gradientUnits: "userSpaceOnUse", children: [_jsx("stop", { offset: "0", stopColor: "#37128A" }), _jsx("stop", { offset: "1", stopColor: "#AB82EC" })] }) })), LOCKUP_PATHS.map((d) => (_jsx("path", { d: d }, d)))] }));
41
+ return (_jsxs("svg", { viewBox: LOCKUP_VIEWBOX, className: cn('mc-lockup', fillClass(variant), className), role: "img", "aria-label": title, children: [_jsx("title", { children: title }), drawn(variant, LOCKUP_VIEWBOX, LOCKUP_PATHS.map((d) => _jsx("path", { d: d }, d)))] }));
17
42
  }
18
43
  /** The wordmark alone: the lockup's letters, outlined, without the bars. */
19
44
  export function MetaCensusWordmark({ variant = 'auto', className, title = 'MetaCensus', }) {
20
- return (_jsxs("svg", { viewBox: WORDMARK_VIEWBOX, className: cn('mc-wordmark', fillClass(variant), className), role: "img", "aria-label": title, children: [_jsx("title", { children: title }), LOCKUP_PATHS.slice(BAR_RECTS.length).map((d) => (_jsx("path", { d: d }, d)))] }));
45
+ return (_jsxs("svg", { viewBox: WORDMARK_VIEWBOX, className: cn('mc-wordmark', fillClass(variant), className), role: "img", "aria-label": title, children: [_jsx("title", { children: title }), drawn(variant, WORDMARK_VIEWBOX, LOCKUP_PATHS.slice(BAR_RECTS.length).map((d) => (_jsx("path", { d: d }, d))))] }));
21
46
  }
22
47
  /** The arrow. Decorative unless given a `title`. It may be rotated to follow
23
48
  * reading direction; nothing else of the brand may. */
@@ -1 +1 @@
1
- {"version":3,"file":"Marks.js","sourceRoot":"","sources":["../../src/marks/Marks.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA;AAC7B,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAA;AACnC,OAAO,EACL,cAAc,EACd,aAAa,EACb,IAAI,EACJ,SAAS,EACT,UAAU,EACV,cAAc,EACd,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,KAAK,GACN,MAAM,eAAe,CAAA;AACtB,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAW/C,MAAM,SAAS,GAAG,CAAC,OAAgB,EAAE,EAAE,CAAC,WAAW,OAAO,EAAE,CAAA;AAE5D,yDAAyD;AACzD,MAAM,UAAU,cAAc,CAAC,EAC7B,OAAO,GAAG,MAAM,EAChB,SAAS,EACT,KAAK,GAAG,YAAY,GACV;IACV,OAAO,CACL,eACE,OAAO,EAAE,YAAY,EACrB,SAAS,EAAE,EAAE,CAAC,SAAS,EAAE,SAAS,CAAC,OAAO,CAAC,EAAE,SAAS,CAAC,EACvD,IAAI,EAAC,KAAK,gBACE,KAAK,aAEjB,0BAAQ,KAAK,GAAS,EACrB,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CACpB,eAEE,CAAC,EAAE,CAAC,CAAC,CAAC,EACN,CAAC,EAAE,CAAC,CAAC,CAAC,EACN,KAAK,E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CAAC,CAAC,IACE,CACP,CAAA;AACH,CAAC"}
@@ -0,0 +1,15 @@
1
+ export interface Organization {
2
+ name: string;
3
+ /** No trailing slash. */
4
+ url: string;
5
+ logo: string;
6
+ email: string;
7
+ copyrightYears: string;
8
+ /** The cofounders, then the contributors; the advisory board is not credited. */
9
+ people: readonly {
10
+ name: string;
11
+ role: string;
12
+ kind: 'founder' | 'member';
13
+ }[];
14
+ }
15
+ export declare const organization: Organization;
@@ -0,0 +1,21 @@
1
+ import { cofounders, contributors } from './stewards.js';
2
+ export const organization = {
3
+ name: 'MetaCensus',
4
+ url: 'https://www.metacensus.org',
5
+ logo: 'https://raw.githubusercontent.com/metacensus/library-ui/main/marks/mark.svg',
6
+ email: 'contact@metacensus.org',
7
+ copyrightYears: '2023–2026',
8
+ people: [
9
+ ...cofounders.map(({ name, role }) => ({
10
+ name,
11
+ role,
12
+ kind: 'founder',
13
+ })),
14
+ ...contributors.map(({ name, role }) => ({
15
+ name,
16
+ role,
17
+ kind: 'member',
18
+ })),
19
+ ],
20
+ };
21
+ //# sourceMappingURL=facts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"facts.js","sourceRoot":"","sources":["../../src/organization/facts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,eAAe,CAAA;AAaxD,MAAM,CAAC,MAAM,YAAY,GAAiB;IACxC,IAAI,EAAE,YAAY;IAClB,GAAG,EAAE,4BAA4B;IACjC,IAAI,EAAE,6EAA6E;IACnF,KAAK,EAAE,wBAAwB;IAC/B,cAAc,EAAE,WAAW;IAC3B,MAAM,EAAE;QACN,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;YACrC,IAAI;YACJ,IAAI;YACJ,IAAI,EAAE,SAAkB;SACzB,CAAC,CAAC;QACH,GAAG,YAAY,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;YACvC,IAAI;YACJ,IAAI;YACJ,IAAI,EAAE,QAAiB;SACxB,CAAC,CAAC;KACJ;CACF,CAAA"}
@@ -0,0 +1,3 @@
1
+ export { organization, type Organization } from './facts.js';
2
+ export { advisoryBoard, cofounders, contributors, type Steward, } from './stewards.js';
3
+ export { humansTxt, organizationJsonLd, organizationJsonLdScript, } from './serialize.js';
@@ -0,0 +1,4 @@
1
+ export { organization } from './facts.js';
2
+ export { advisoryBoard, cofounders, contributors, } from './stewards.js';
3
+ export { humansTxt, organizationJsonLd, organizationJsonLdScript, } from './serialize.js';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/organization/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAqB,MAAM,YAAY,CAAA;AAC5D,OAAO,EACL,aAAa,EACb,UAAU,EACV,YAAY,GAEb,MAAM,eAAe,CAAA;AACtB,OAAO,EACL,SAAS,EACT,kBAAkB,EAClB,wBAAwB,GACzB,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1,12 @@
1
+ export declare function organizationJsonLd(): {
2
+ '@context': string;
3
+ '@type': string;
4
+ name: string;
5
+ url: string;
6
+ logo: string;
7
+ email: string;
8
+ };
9
+ /** The JSON-LD as the body of a `<script>`: `<` is escaped so no value can close it. */
10
+ export declare function organizationJsonLdScript(): string;
11
+ /** Ends in a newline. */
12
+ export declare function humansTxt(): string;
@@ -0,0 +1,47 @@
1
+ import { organization as org } from './facts.js';
2
+ function person(kind) {
3
+ const people = org.people.filter((p) => p.kind === kind);
4
+ return people.length > 0
5
+ ? {
6
+ [kind]: people.map(({ name, role }) => ({
7
+ '@type': 'Person',
8
+ name,
9
+ jobTitle: role,
10
+ })),
11
+ }
12
+ : {};
13
+ }
14
+ export function organizationJsonLd() {
15
+ return {
16
+ '@context': 'https://schema.org',
17
+ '@type': 'Organization',
18
+ name: org.name,
19
+ url: org.url,
20
+ logo: org.logo,
21
+ email: org.email,
22
+ ...person('founder'),
23
+ ...person('member'),
24
+ };
25
+ }
26
+ /** The JSON-LD as the body of a `<script>`: `<` is escaped so no value can close it. */
27
+ export function organizationJsonLdScript() {
28
+ return JSON.stringify(organizationJsonLd()).replace(/</g, '\\u003c');
29
+ }
30
+ /** Ends in a newline. */
31
+ export function humansTxt() {
32
+ return [
33
+ ...(org.people.length > 0
34
+ ? [
35
+ '/* TEAM */',
36
+ ...org.people.map(({ name, role }) => `${role}: ${name}`),
37
+ '',
38
+ ]
39
+ : []),
40
+ '/* SITE */',
41
+ `Organization: ${org.name}`,
42
+ `URL: ${org.url}`,
43
+ `Contact: ${org.email}`,
44
+ '',
45
+ ].join('\n');
46
+ }
47
+ //# sourceMappingURL=serialize.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serialize.js","sourceRoot":"","sources":["../../src/organization/serialize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,IAAI,GAAG,EAAE,MAAM,YAAY,CAAA;AAEhD,SAAS,MAAM,CAAC,IAA0B;IACxC,MAAM,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,IAAI,CAAC,CAAA;IACxD,OAAO,MAAM,CAAC,MAAM,GAAG,CAAC;QACtB,CAAC,CAAC;YACE,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,CAAC;gBACtC,OAAO,EAAE,QAAQ;gBACjB,IAAI;gBACJ,QAAQ,EAAE,IAAI;aACf,CAAC,CAAC;SACJ;QACH,CAAC,CAAC,EAAE,CAAA;AACR,CAAC;AAED,MAAM,UAAU,kBAAkB;IAChC,OAAO;QACL,UAAU,EAAE,oBAAoB;QAChC,OAAO,EAAE,cAAc;QACvB,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,GAAG,EAAE,GAAG,CAAC,GAAG;QACZ,IAAI,EAAE,GAAG,CAAC,IAAI;QACd,KAAK,EAAE,GAAG,CAAC,KAAK;QAChB,GAAG,MAAM,CAAC,SAAS,CAAC;QACpB,GAAG,MAAM,CAAC,QAAQ,CAAC;KACpB,CAAA;AACH,CAAC;AAED,wFAAwF;AACxF,MAAM,UAAU,wBAAwB;IACtC,OAAO,IAAI,CAAC,SAAS,CAAC,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,EAAE,SAAS,CAAC,CAAA;AACtE,CAAC;AAED,yBAAyB;AACzB,MAAM,UAAU,SAAS;IACvB,OAAO;QACL,GAAG,CAAC,GAAG,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC;YACvB,CAAC,CAAC;gBACE,YAAY;gBACZ,GAAG,GAAG,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,GAAG,IAAI,KAAK,IAAI,EAAE,CAAC;gBACzD,EAAE;aACH;YACH,CAAC,CAAC,EAAE,CAAC;QACP,YAAY;QACZ,iBAAiB,GAAG,CAAC,IAAI,EAAE;QAC3B,QAAQ,GAAG,CAAC,GAAG,EAAE;QACjB,YAAY,GAAG,CAAC,KAAK,EAAE;QACvB,EAAE;KACH,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACd,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { ContributorFlavor } from '../people/ContributorCard.js';
2
+ export interface Steward {
3
+ name: string;
4
+ role: string;
5
+ /** A MetaCensus title, which the roster styles apart from a descriptive one. */
6
+ metacensusTitle?: boolean;
7
+ /** Absent for the advisory board, who advise rather than build. */
8
+ flavor?: ContributorFlavor;
9
+ link?: string;
10
+ /** The portrait's file name; each site serves the files it names. */
11
+ portrait: string;
12
+ }
13
+ export declare const cofounders: readonly Steward[];
14
+ /** MetaCensus-titled people lead. */
15
+ export declare const contributors: readonly Steward[];
16
+ export declare const advisoryBoard: readonly Steward[];
@@ -0,0 +1,111 @@
1
+ export const cofounders = [
2
+ {
3
+ name: 'Ryan Nelson, PharmD',
4
+ role: 'Executive Director',
5
+ metacensusTitle: true,
6
+ flavor: 'quantitative',
7
+ link: 'https://www.aruplab.com/experts/nelson-0',
8
+ portrait: 'ryan-nelson.webp',
9
+ },
10
+ {
11
+ name: 'Jacob Barzee',
12
+ role: 'Director of Engineering',
13
+ metacensusTitle: true,
14
+ flavor: 'engineering',
15
+ link: 'https://www.linkedin.com/in/jacob-barzee-8b69b772/',
16
+ portrait: 'jacob-barzee.webp',
17
+ },
18
+ ];
19
+ /** MetaCensus-titled people lead. */
20
+ export const contributors = [
21
+ {
22
+ name: 'Erik Forsman, BS',
23
+ role: 'Founding Engineer',
24
+ metacensusTitle: true,
25
+ flavor: 'engineering',
26
+ link: 'https://www.linkedin.com/in/erik-forsman-a4237289/',
27
+ portrait: 'erik-forsman.webp',
28
+ },
29
+ {
30
+ name: 'Michael Bonner',
31
+ role: 'Web Development',
32
+ flavor: 'engineering',
33
+ link: 'https://michaelbonner.dev',
34
+ portrait: 'michael-bonner.webp',
35
+ },
36
+ {
37
+ name: 'Rob Shirley, MS',
38
+ role: 'Full-Stack Development',
39
+ flavor: 'engineering',
40
+ portrait: 'rob-shirley.webp',
41
+ },
42
+ {
43
+ name: 'Caleb Barzee, BS',
44
+ role: 'Software Engineer',
45
+ flavor: 'engineering',
46
+ portrait: 'caleb-barzee.webp',
47
+ },
48
+ {
49
+ name: 'Tanner Denti, BS',
50
+ role: 'Backend Engineer',
51
+ flavor: 'engineering',
52
+ portrait: 'tanner-denti.webp',
53
+ },
54
+ {
55
+ name: 'Jonas Barzee',
56
+ role: 'Software Engineer Intern',
57
+ flavor: 'engineering',
58
+ portrait: 'jonas-barzee.webp',
59
+ },
60
+ {
61
+ name: 'Patrick Mower, MS',
62
+ role: 'Backend Engineer',
63
+ flavor: 'engineering',
64
+ portrait: 'patrick-mower.webp',
65
+ },
66
+ {
67
+ name: 'David Houghton, BS',
68
+ role: 'Information Systems & Policy',
69
+ flavor: 'engineering',
70
+ portrait: 'david-houghton.webp',
71
+ },
72
+ {
73
+ name: 'Jaime Natoli, MPH, MS, CGC',
74
+ role: 'Clinical Consultant, Evidence-Based Medicine',
75
+ flavor: 'quantitative',
76
+ link: 'https://www.researchgate.net/profile/Jaime-Natoli-2',
77
+ portrait: 'jaime-natoli.webp',
78
+ },
79
+ {
80
+ name: 'Carrie Hoefer, PhD, MBA',
81
+ role: 'Pharmacogenomics',
82
+ flavor: 'quantitative',
83
+ portrait: 'carrie-hoefer.webp',
84
+ },
85
+ {
86
+ name: 'Michael K.B. Ford',
87
+ role: 'Applied AI Engineer',
88
+ metacensusTitle: true,
89
+ // He designs the science and builds it.
90
+ flavor: 'both',
91
+ portrait: 'michael-ford.webp',
92
+ },
93
+ ];
94
+ export const advisoryBoard = [
95
+ {
96
+ name: 'Sara Rogers, PharmD',
97
+ role: 'President, American Society of Pharmacovigilance',
98
+ portrait: 'sara-rogers.webp',
99
+ },
100
+ {
101
+ name: 'Sharmeen Roy, PharmD, BCPS',
102
+ role: 'Founder and CEO, Qist Health',
103
+ portrait: 'sharmeen-roy.webp',
104
+ },
105
+ {
106
+ name: 'Howard L. McLeod, FASCO, FCCP',
107
+ role: 'Director, Center for Precision Medicine',
108
+ portrait: 'howard-mcleod.webp',
109
+ },
110
+ ];
111
+ //# sourceMappingURL=stewards.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stewards.js","sourceRoot":"","sources":["../../src/organization/stewards.ts"],"names":[],"mappings":"AAcA,MAAM,CAAC,MAAM,UAAU,GAAuB;IAC5C;QACE,IAAI,EAAE,qBAAqB;QAC3B,IAAI,EAAE,oBAAoB;QAC1B,eAAe,EAAE,IAAI;QACrB,MAAM,EAAE,cAAc;QACtB,IAAI,EAAE,0CAA0C;QAChD,QAAQ,EAAE,kBAAkB;KAC7B;IACD;QACE,IAAI,EAAE,cAAc;QACpB,IAAI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