@epicbagel/saas-kit 1.31.0 → 1.33.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 (219) hide show
  1. package/THIRD_PARTY_NOTICES.md +6 -5
  2. package/dist/chunk-2DCJ2SFU.js +20 -0
  3. package/dist/chunk-2FVFPGP5.js +489 -0
  4. package/dist/{chunk-HTPPNW74.js → chunk-AWCXVYPL.js} +1 -1
  5. package/dist/chunk-B54ZEKBG.cjs +63 -0
  6. package/dist/chunk-CXAFTEEP.cjs +20 -0
  7. package/dist/{chunk-MOJHETNO.cjs → chunk-F3D5HA2F.cjs} +10 -10
  8. package/dist/chunk-G3SF4RRA.cjs +489 -0
  9. package/dist/chunk-HTTRUJQU.cjs +60 -0
  10. package/dist/{chunk-JS6BLIWL.js → chunk-IZF4WCK6.js} +11 -11
  11. package/dist/{chunk-PH2TV7XI.cjs → chunk-KOR2QR7I.cjs} +5 -5
  12. package/dist/{chunk-BGCNGYPL.cjs → chunk-PTMZTP3V.cjs} +2 -2
  13. package/dist/{chunk-6O3DUMF7.js → chunk-REGA2L5S.js} +1 -1
  14. package/dist/{chunk-PNI354BY.cjs → chunk-SL6ECEN6.cjs} +2 -2
  15. package/dist/{chunk-ZGTPNSR7.js → chunk-TS4MC3B3.js} +4 -4
  16. package/dist/chunk-TUQVHPSI.js +60 -0
  17. package/dist/chunk-VWOWPNKT.js +73 -0
  18. package/dist/chunk-XH2I3YJ6.js +63 -0
  19. package/dist/chunk-Y6X6XDHE.cjs +73 -0
  20. package/dist/primitives/accent-theme.cjs +66 -0
  21. package/dist/primitives/accent-theme.d.cts +32 -0
  22. package/dist/primitives/accent-theme.d.ts +32 -0
  23. package/dist/primitives/accent-theme.js +66 -0
  24. package/dist/primitives/activity-feed.cjs +2 -2
  25. package/dist/primitives/activity-feed.js +2 -2
  26. package/dist/primitives/agent-audio-visualizer-bar.cjs +3 -3
  27. package/dist/primitives/agent-audio-visualizer-bar.js +2 -2
  28. package/dist/primitives/alert.d.cts +1 -1
  29. package/dist/primitives/alert.d.ts +1 -1
  30. package/dist/primitives/app-layout.cjs +114 -0
  31. package/dist/primitives/app-layout.d.cts +47 -0
  32. package/dist/primitives/app-layout.d.ts +47 -0
  33. package/dist/primitives/app-layout.js +114 -0
  34. package/dist/primitives/app-sidebar.cjs +52 -0
  35. package/dist/primitives/app-sidebar.d.cts +105 -0
  36. package/dist/primitives/app-sidebar.d.ts +105 -0
  37. package/dist/primitives/app-sidebar.js +52 -0
  38. package/dist/primitives/archive-confirmation-dialog.cjs +2 -2
  39. package/dist/primitives/archive-confirmation-dialog.js +3 -3
  40. package/dist/primitives/back-bar.cjs +37 -0
  41. package/dist/primitives/back-bar.d.cts +31 -0
  42. package/dist/primitives/back-bar.d.ts +31 -0
  43. package/dist/primitives/back-bar.js +37 -0
  44. package/dist/primitives/badge.d.cts +1 -1
  45. package/dist/primitives/badge.d.ts +1 -1
  46. package/dist/primitives/batch-action-bar.cjs +134 -0
  47. package/dist/primitives/batch-action-bar.d.cts +27 -0
  48. package/dist/primitives/batch-action-bar.d.ts +27 -0
  49. package/dist/primitives/batch-action-bar.js +134 -0
  50. package/dist/primitives/board-view-internals.cjs +3 -3
  51. package/dist/primitives/board-view-internals.js +2 -2
  52. package/dist/primitives/board-view.cjs +8 -8
  53. package/dist/primitives/board-view.js +7 -7
  54. package/dist/primitives/brand-mark.cjs +26 -0
  55. package/dist/primitives/brand-mark.d.cts +10 -0
  56. package/dist/primitives/brand-mark.d.ts +10 -0
  57. package/dist/primitives/brand-mark.js +26 -0
  58. package/dist/primitives/bubble.d.cts +1 -1
  59. package/dist/primitives/bubble.d.ts +1 -1
  60. package/dist/primitives/button.d.cts +2 -2
  61. package/dist/primitives/button.d.ts +2 -2
  62. package/dist/primitives/chat.cjs +27 -27
  63. package/dist/primitives/chat.js +21 -21
  64. package/dist/primitives/code-block.cjs +4 -4
  65. package/dist/primitives/code-block.js +3 -3
  66. package/dist/primitives/command.cjs +129 -0
  67. package/dist/primitives/command.d.cts +60 -0
  68. package/dist/primitives/command.d.ts +60 -0
  69. package/dist/primitives/command.js +129 -0
  70. package/dist/primitives/compact-list.cjs +24 -0
  71. package/dist/primitives/compact-list.d.cts +18 -0
  72. package/dist/primitives/compact-list.d.ts +18 -0
  73. package/dist/primitives/compact-list.js +24 -0
  74. package/dist/primitives/connection.cjs +6 -6
  75. package/dist/primitives/connection.js +8 -8
  76. package/dist/primitives/context-bar.cjs +57 -0
  77. package/dist/primitives/context-bar.d.cts +50 -0
  78. package/dist/primitives/context-bar.d.ts +50 -0
  79. package/dist/primitives/context-bar.js +57 -0
  80. package/dist/primitives/copy-button.cjs +3 -3
  81. package/dist/primitives/copy-button.js +2 -2
  82. package/dist/primitives/cycling-prompt.cjs +102 -0
  83. package/dist/primitives/cycling-prompt.d.cts +24 -0
  84. package/dist/primitives/cycling-prompt.d.ts +24 -0
  85. package/dist/primitives/cycling-prompt.js +102 -0
  86. package/dist/primitives/dialog.d.cts +9 -9
  87. package/dist/primitives/dialog.d.ts +9 -9
  88. package/dist/primitives/dotted-list.cjs +41 -0
  89. package/dist/primitives/dotted-list.d.cts +28 -0
  90. package/dist/primitives/dotted-list.d.ts +28 -0
  91. package/dist/primitives/dotted-list.js +41 -0
  92. package/dist/primitives/drawer.d.cts +6 -6
  93. package/dist/primitives/drawer.d.ts +6 -6
  94. package/dist/primitives/field.cjs +3 -3
  95. package/dist/primitives/field.js +2 -2
  96. package/dist/primitives/file-dropzone.cjs +3 -3
  97. package/dist/primitives/file-dropzone.js +2 -2
  98. package/dist/primitives/file-preview.cjs +4 -4
  99. package/dist/primitives/file-preview.js +3 -3
  100. package/dist/primitives/filter-bar.cjs +4 -4
  101. package/dist/primitives/filter-bar.js +3 -3
  102. package/dist/primitives/fixed-action-bar.cjs +46 -0
  103. package/dist/primitives/fixed-action-bar.d.cts +15 -0
  104. package/dist/primitives/fixed-action-bar.d.ts +15 -0
  105. package/dist/primitives/fixed-action-bar.js +46 -0
  106. package/dist/primitives/floating-action-button.cjs +65 -0
  107. package/dist/primitives/floating-action-button.d.cts +52 -0
  108. package/dist/primitives/floating-action-button.d.ts +52 -0
  109. package/dist/primitives/floating-action-button.js +65 -0
  110. package/dist/primitives/form-section.cjs +38 -0
  111. package/dist/primitives/form-section.d.cts +43 -0
  112. package/dist/primitives/form-section.d.ts +43 -0
  113. package/dist/primitives/form-section.js +38 -0
  114. package/dist/primitives/key-value-grid.cjs +52 -0
  115. package/dist/primitives/key-value-grid.d.cts +20 -0
  116. package/dist/primitives/key-value-grid.d.ts +20 -0
  117. package/dist/primitives/key-value-grid.js +52 -0
  118. package/dist/primitives/marketing-footer.cjs +34 -0
  119. package/dist/primitives/marketing-footer.d.cts +29 -0
  120. package/dist/primitives/marketing-footer.d.ts +29 -0
  121. package/dist/primitives/marketing-footer.js +34 -0
  122. package/dist/primitives/marketing-header.cjs +41 -0
  123. package/dist/primitives/marketing-header.d.cts +31 -0
  124. package/dist/primitives/marketing-header.d.ts +31 -0
  125. package/dist/primitives/marketing-header.js +41 -0
  126. package/dist/primitives/marketing-section.cjs +8 -0
  127. package/dist/primitives/marketing-section.d.cts +35 -0
  128. package/dist/primitives/marketing-section.d.ts +35 -0
  129. package/dist/primitives/marketing-section.js +8 -0
  130. package/dist/primitives/marketing-shell.cjs +28 -0
  131. package/dist/primitives/marketing-shell.d.cts +14 -0
  132. package/dist/primitives/marketing-shell.d.ts +14 -0
  133. package/dist/primitives/marketing-shell.js +28 -0
  134. package/dist/primitives/notes.cjs +4 -4
  135. package/dist/primitives/notes.js +4 -4
  136. package/dist/primitives/page-header.cjs +3 -67
  137. package/dist/primitives/page-header.js +3 -67
  138. package/dist/primitives/page-tabs.cjs +4 -57
  139. package/dist/primitives/page-tabs.js +4 -57
  140. package/dist/primitives/pager.cjs +85 -0
  141. package/dist/primitives/pager.d.cts +39 -0
  142. package/dist/primitives/pager.d.ts +39 -0
  143. package/dist/primitives/pager.js +85 -0
  144. package/dist/primitives/pagination.cjs +119 -0
  145. package/dist/primitives/pagination.d.cts +41 -0
  146. package/dist/primitives/pagination.d.ts +41 -0
  147. package/dist/primitives/pagination.js +119 -0
  148. package/dist/primitives/poster.cjs +406 -0
  149. package/dist/primitives/poster.d.cts +406 -0
  150. package/dist/primitives/poster.d.ts +406 -0
  151. package/dist/primitives/poster.js +406 -0
  152. package/dist/primitives/resource-list.cjs +8 -8
  153. package/dist/primitives/resource-list.js +7 -7
  154. package/dist/primitives/responsive-embed.cjs +29 -0
  155. package/dist/primitives/responsive-embed.d.cts +14 -0
  156. package/dist/primitives/responsive-embed.d.ts +14 -0
  157. package/dist/primitives/responsive-embed.js +29 -0
  158. package/dist/primitives/save-bar.cjs +91 -0
  159. package/dist/primitives/save-bar.d.cts +55 -0
  160. package/dist/primitives/save-bar.d.ts +55 -0
  161. package/dist/primitives/save-bar.js +91 -0
  162. package/dist/primitives/settings-list.cjs +10 -0
  163. package/dist/primitives/settings-list.d.cts +31 -0
  164. package/dist/primitives/settings-list.d.ts +31 -0
  165. package/dist/primitives/settings-list.js +10 -0
  166. package/dist/primitives/settings-section.cjs +34 -0
  167. package/dist/primitives/settings-section.d.cts +44 -0
  168. package/dist/primitives/settings-section.d.ts +44 -0
  169. package/dist/primitives/settings-section.js +34 -0
  170. package/dist/primitives/sheet.d.cts +9 -9
  171. package/dist/primitives/sheet.d.ts +9 -9
  172. package/dist/primitives/short-video.cjs +110 -0
  173. package/dist/primitives/short-video.d.cts +30 -0
  174. package/dist/primitives/short-video.d.ts +30 -0
  175. package/dist/primitives/short-video.js +110 -0
  176. package/dist/primitives/stats-card.cjs +46 -0
  177. package/dist/primitives/stats-card.d.cts +19 -0
  178. package/dist/primitives/stats-card.d.ts +19 -0
  179. package/dist/primitives/stats-card.js +46 -0
  180. package/dist/primitives/stats-strip.cjs +38 -0
  181. package/dist/primitives/stats-strip.d.cts +24 -0
  182. package/dist/primitives/stats-strip.d.ts +24 -0
  183. package/dist/primitives/stats-strip.js +38 -0
  184. package/dist/primitives/step-list.cjs +32 -0
  185. package/dist/primitives/step-list.d.cts +19 -0
  186. package/dist/primitives/step-list.d.ts +19 -0
  187. package/dist/primitives/step-list.js +32 -0
  188. package/dist/primitives/steps.cjs +77 -0
  189. package/dist/primitives/steps.d.cts +35 -0
  190. package/dist/primitives/steps.d.ts +35 -0
  191. package/dist/primitives/steps.js +77 -0
  192. package/dist/primitives/tabbed-page-header.cjs +53 -0
  193. package/dist/primitives/tabbed-page-header.d.cts +26 -0
  194. package/dist/primitives/tabbed-page-header.d.ts +26 -0
  195. package/dist/primitives/tabbed-page-header.js +53 -0
  196. package/dist/primitives/theme-selector.cjs +17 -17
  197. package/dist/primitives/theme-selector.js +5 -5
  198. package/dist/primitives/voice-dictation-button.cjs +5 -5
  199. package/dist/primitives/voice-dictation-button.js +4 -4
  200. package/dist/primitives/voice-session-controls.cjs +4 -4
  201. package/dist/primitives/voice-session-controls.js +3 -3
  202. package/dist/primitives/workflow-assistant.cjs +5 -5
  203. package/dist/primitives/workflow-assistant.js +3 -3
  204. package/package.json +322 -1
  205. package/src/styles/components/poster.css +1449 -0
  206. package/src/styles/components.css +1 -0
  207. package/src/styles/utilities.css +2 -2
  208. package/dist/{chunk-5OF6D3GH.js → chunk-4TJBXXUE.js} +3 -3
  209. package/dist/{chunk-DILYV4FI.js → chunk-7ZRFXJVN.js} +3 -3
  210. package/dist/{chunk-YYFVG5A6.cjs → chunk-D46FNEZ5.cjs} +2 -2
  211. package/dist/{chunk-NKWHDI4C.cjs → chunk-FB3VY2PL.cjs} +2 -2
  212. package/dist/{chunk-MW67PHAQ.cjs → chunk-GUVQAWUW.cjs} +9 -9
  213. package/dist/{chunk-WHDHUYS6.js → chunk-HBRVOGLA.js} +3 -3
  214. package/dist/{chunk-FARCLWLU.cjs → chunk-HHF5DEKM.cjs} +3 -3
  215. package/dist/{chunk-TWCJMFST.js → chunk-O42YC6ZQ.js} +3 -3
  216. package/dist/{chunk-ZJFYOXSM.cjs → chunk-SRVRNHCX.cjs} +2 -2
  217. package/dist/{chunk-UFFHGKI7.js → chunk-SW4T3O7M.js} +9 -9
  218. package/dist/{chunk-62UTAG2C.js → chunk-ULZB4A2I.js} +3 -3
  219. package/dist/{chunk-ZLEM2SAU.cjs → chunk-Z3JJSNR5.cjs} +2 -2
@@ -0,0 +1,119 @@
1
+ "use client";
2
+ import {
3
+ buttonVariants
4
+ } from "../chunk-W326GKML.js";
5
+ import {
6
+ cn
7
+ } from "../chunk-G6SRSWXB.js";
8
+
9
+ // src/primitives/pagination.tsx
10
+ import * as React from "react";
11
+ import {
12
+ LiaChevronLeftSolid,
13
+ LiaChevronRightSolid,
14
+ LiaEllipsisHSolid
15
+ } from "react-icons/lia";
16
+ import { jsx, jsxs } from "react/jsx-runtime";
17
+ var Pagination = ({ className, marginTop = "none", ...props }) => /* @__PURE__ */ jsx(
18
+ "nav",
19
+ {
20
+ role: "navigation",
21
+ "aria-label": "pagination",
22
+ className: cn("mx-auto flex w-full justify-center", marginTop === "md" && "mt-4", className),
23
+ ...props
24
+ }
25
+ );
26
+ Pagination.displayName = "Pagination";
27
+ var PaginationContent = React.forwardRef(({ className, width = "auto", justify = "start", ...props }, ref) => /* @__PURE__ */ jsx(
28
+ "ul",
29
+ {
30
+ ref,
31
+ className: cn("flex flex-row items-center gap-1", width === "full" && "w-full", justify === "between" && "justify-between", className),
32
+ ...props
33
+ }
34
+ ));
35
+ PaginationContent.displayName = "PaginationContent";
36
+ var PaginationItem = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("li", { ref, className: cn("", className), ...props }));
37
+ PaginationItem.displayName = "PaginationItem";
38
+ var PaginationLink = ({
39
+ className,
40
+ isActive,
41
+ disabled = false,
42
+ size = "icon",
43
+ ...props
44
+ }) => /* @__PURE__ */ jsx(
45
+ "a",
46
+ {
47
+ "aria-current": isActive ? "page" : void 0,
48
+ "aria-disabled": disabled || void 0,
49
+ className: cn(
50
+ buttonVariants({
51
+ variant: isActive ? "outline" : "ghost",
52
+ size
53
+ }),
54
+ disabled && "pointer-events-none opacity-50",
55
+ className
56
+ ),
57
+ ...props
58
+ }
59
+ );
60
+ PaginationLink.displayName = "PaginationLink";
61
+ var PaginationPrevious = ({
62
+ className,
63
+ ...props
64
+ }) => /* @__PURE__ */ jsxs(
65
+ PaginationLink,
66
+ {
67
+ "aria-label": "Go to previous page",
68
+ size: "default",
69
+ className: cn("gap-1 pl-2.5", className),
70
+ ...props,
71
+ children: [
72
+ /* @__PURE__ */ jsx(LiaChevronLeftSolid, { className: "h-4 w-4" }),
73
+ /* @__PURE__ */ jsx("span", { children: "Previous" })
74
+ ]
75
+ }
76
+ );
77
+ PaginationPrevious.displayName = "PaginationPrevious";
78
+ var PaginationNext = ({
79
+ className,
80
+ ...props
81
+ }) => /* @__PURE__ */ jsxs(
82
+ PaginationLink,
83
+ {
84
+ "aria-label": "Go to next page",
85
+ size: "default",
86
+ className: cn("gap-1 pr-2.5", className),
87
+ ...props,
88
+ children: [
89
+ /* @__PURE__ */ jsx("span", { children: "Next" }),
90
+ /* @__PURE__ */ jsx(LiaChevronRightSolid, { className: "h-4 w-4" })
91
+ ]
92
+ }
93
+ );
94
+ PaginationNext.displayName = "PaginationNext";
95
+ var PaginationEllipsis = ({
96
+ className,
97
+ ...props
98
+ }) => /* @__PURE__ */ jsxs(
99
+ "span",
100
+ {
101
+ "aria-hidden": true,
102
+ className: cn("flex h-9 w-9 items-center justify-center", className),
103
+ ...props,
104
+ children: [
105
+ /* @__PURE__ */ jsx(LiaEllipsisHSolid, { className: "h-4 w-4" }),
106
+ /* @__PURE__ */ jsx("span", { className: "sr-only", children: "More pages" })
107
+ ]
108
+ }
109
+ );
110
+ PaginationEllipsis.displayName = "PaginationEllipsis";
111
+ export {
112
+ Pagination,
113
+ PaginationContent,
114
+ PaginationEllipsis,
115
+ PaginationItem,
116
+ PaginationLink,
117
+ PaginationNext,
118
+ PaginationPrevious
119
+ };
@@ -0,0 +1,406 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }"use client";
2
+
3
+ // src/primitives/poster.tsx
4
+
5
+
6
+
7
+
8
+
9
+
10
+ var _react = require('react');
11
+ var _jsxruntime = require('react/jsx-runtime');
12
+ var PosterShell = _react.forwardRef.call(void 0, function PosterShell2({ colours, font, colorScheme, className, style, ...props }, ref) {
13
+ const variables = {
14
+ ..._optionalChain([colours, 'optionalAccess', _ => _.paper]) ? { "--poster-paper": colours.paper } : {},
15
+ ..._optionalChain([colours, 'optionalAccess', _2 => _2.ink]) ? { "--poster-ink": colours.ink } : {},
16
+ ..._optionalChain([colours, 'optionalAccess', _3 => _3.primary]) ? { "--poster-primary": colours.primary } : {},
17
+ ..._optionalChain([colours, 'optionalAccess', _4 => _4.onPrimary]) ? { "--poster-on-primary": colours.onPrimary } : {},
18
+ ..._optionalChain([colours, 'optionalAccess', _5 => _5.mute]) ? { "--poster-mute": colours.mute } : {},
19
+ ..._optionalChain([colours, 'optionalAccess', _6 => _6.wash]) ? { "--poster-wash": colours.wash } : {},
20
+ ...font ? { "--poster-font": font } : {},
21
+ ...colorScheme ? { colorScheme } : {}
22
+ };
23
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, "data-slot": "poster-shell", className, style: { ...variables, ...style }, ...props });
24
+ });
25
+ var PosterMain = _react.forwardRef.call(void 0, function PosterMain2(props, ref) {
26
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "main", { ref, "data-slot": "poster-main", ...props });
27
+ });
28
+ var PosterBanner = _react.forwardRef.call(void 0, function PosterBanner2({ action, children, ...props }, ref) {
29
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { ref, "data-slot": "poster-banner", ...props, children: [
30
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children }),
31
+ action ? /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
32
+ " ",
33
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-slot": "poster-banner-action", children: action })
34
+ ] }) : null
35
+ ] });
36
+ });
37
+ var PosterHeader = _react.forwardRef.call(void 0, function PosterHeader2({ brand, nav, action, className, ...props }, ref) {
38
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "header", { ref, "data-slot": "poster-header", className, ...props, children: [
39
+ brand,
40
+ nav,
41
+ action
42
+ ] });
43
+ });
44
+ function PosterNav({ label, menuLabel = "Menu", children }) {
45
+ const menu = _react.useRef.call(void 0, null);
46
+ const panelId = _react.useId.call(void 0, );
47
+ _react.useEffect.call(void 0, () => {
48
+ const details = menu.current;
49
+ if (!details) return;
50
+ const close = (focusSummary) => {
51
+ if (!details.open) return;
52
+ details.open = false;
53
+ if (focusSummary) _optionalChain([details, 'access', _7 => _7.querySelector, 'call', _8 => _8("summary"), 'optionalAccess', _9 => _9.focus, 'call', _10 => _10()]);
54
+ };
55
+ const onKey = (event) => {
56
+ if (event.key === "Escape") close(details.contains(document.activeElement));
57
+ };
58
+ const onPointer = (event) => {
59
+ if (!details.contains(event.target)) close(false);
60
+ };
61
+ document.addEventListener("keydown", onKey);
62
+ document.addEventListener("pointerdown", onPointer);
63
+ return () => {
64
+ document.removeEventListener("keydown", onKey);
65
+ document.removeEventListener("pointerdown", onPointer);
66
+ };
67
+ }, []);
68
+ const onPick = (event) => {
69
+ if (event.target.closest("a") && menu.current) menu.current.open = false;
70
+ };
71
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "nav", { "data-slot": "poster-nav", "aria-label": label, children: [
72
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { "data-slot": "poster-nav-list", children }),
73
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "details", { ref: menu, "data-slot": "poster-nav-menu", children: [
74
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "summary", { "data-slot": "poster-nav-toggle", "aria-controls": panelId, children: menuLabel }),
75
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { id: panelId, "data-slot": "poster-nav-panel", onClick: onPick, children })
76
+ ] })
77
+ ] });
78
+ }
79
+ var PosterNavLink = _react.forwardRef.call(void 0, function PosterNavLink2({ current = false, ...props }, ref) {
80
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { "data-slot": "poster-nav-item", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ref, "data-slot": "poster-nav-link", "aria-current": current ? "page" : void 0, ...props }) });
81
+ });
82
+ var PosterMark = _react.forwardRef.call(void 0, function PosterMark2(props, ref) {
83
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ref, "data-slot": "poster-mark", ...props });
84
+ });
85
+ var PosterHeaderAction = _react.forwardRef.call(void 0, function PosterHeaderAction2(props, ref) {
86
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ref, "data-slot": "poster-header-action", ...props });
87
+ });
88
+ var PosterHero = _react.forwardRef.call(void 0, function PosterHero2({ title, description, eyebrow, variant = "home", actions, ...props }, ref) {
89
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { ref, "data-slot": "poster-hero", "data-variant": variant, ...props, children: [
90
+ eyebrow ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-eyebrow", children: eyebrow }) : null,
91
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h1", { "data-slot": "poster-hero-title", children: title }),
92
+ description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-hero-description", children: description }) : null,
93
+ actions ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "poster-hero-actions", children: actions }) : null
94
+ ] });
95
+ });
96
+ var PosterAction = _react.forwardRef.call(void 0, function PosterAction2({ variant = "solid", ...props }, ref) {
97
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ref, "data-slot": "poster-action", "data-variant": variant, ...props });
98
+ });
99
+ function PosterSwitch({ label, options, value, onValueChange, className }) {
100
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "poster-switch", role: "group", "aria-label": label, className, children: options.map((option) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0,
101
+ "button",
102
+ {
103
+ type: "button",
104
+ "data-slot": "poster-switch-option",
105
+ "aria-pressed": option.value === value,
106
+ onClick: () => onValueChange(option.value),
107
+ children: [
108
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-slot": "poster-switch-title", children: option.title }),
109
+ option.hint ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-slot": "poster-switch-hint", children: option.hint }) : null
110
+ ]
111
+ },
112
+ option.value
113
+ )) });
114
+ }
115
+ var PosterBand = _react.forwardRef.call(void 0, function PosterBand2({ tone = "paper", padding = "default", eyebrow, kicker, title, titleSize = "head", titleWrap = "balance", lead, description, after, children, ...props }, ref) {
116
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "section", { ref, "data-slot": "poster-band", "data-tone": tone, "data-padding": padding, ...props, children: [
117
+ eyebrow ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-eyebrow", children: eyebrow }) : null,
118
+ kicker ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-kicker", children: kicker }) : null,
119
+ title ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h2", { "data-slot": "poster-title", "data-size": titleSize, "data-wrap": titleWrap, children: title }) : null,
120
+ lead ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-lead", children: lead }) : null,
121
+ description ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-description", children: description }) : null,
122
+ after ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-after", children: after }) : null,
123
+ children
124
+ ] });
125
+ });
126
+ var PosterSubhead = _react.forwardRef.call(void 0, function PosterSubhead2(props, ref) {
127
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { ref, "data-slot": "poster-subhead", ...props });
128
+ });
129
+ var PosterStatement = _react.forwardRef.call(void 0, function PosterStatement2(props, ref) {
130
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { ref, "data-slot": "poster-statement", ...props });
131
+ });
132
+ var PosterCalculator = _react.forwardRef.call(void 0, function PosterCalculator2(props, ref) {
133
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, "data-slot": "poster-calculator", ...props });
134
+ });
135
+ var PosterRanges = _react.forwardRef.call(void 0, function PosterRanges2(props, ref) {
136
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, "data-slot": "poster-ranges", ...props });
137
+ });
138
+ function PosterRange({ label, value, min, max, step, onValueChange, valueText, id }) {
139
+ const generated = _react.useId.call(void 0, );
140
+ const inputId = _nullishCoalesce(id, () => ( generated));
141
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-slot": "poster-range", children: [
142
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "label", { "data-slot": "poster-range-label", htmlFor: inputId, children: label }),
143
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "output", { "data-slot": "poster-range-value", htmlFor: inputId, children: valueText }),
144
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
145
+ "input",
146
+ {
147
+ "data-slot": "poster-range-input",
148
+ type: "range",
149
+ id: inputId,
150
+ min,
151
+ max,
152
+ step,
153
+ value,
154
+ "aria-valuetext": valueText,
155
+ onChange: (event) => onValueChange(Number(event.target.value))
156
+ }
157
+ )
158
+ ] });
159
+ }
160
+ var PosterFigures = _react.forwardRef.call(void 0, function PosterFigures2({ items, ...props }, ref) {
161
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, "data-slot": "poster-figures", "data-columns": items.length === 1 ? 1 : 2, ...props, children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-slot": "poster-figure", children: [
162
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-figure-label", children: item.label }),
163
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-figure-value", children: item.value })
164
+ ] }, index)) });
165
+ });
166
+ var PosterSmallPrint = _react.forwardRef.call(void 0, function PosterSmallPrint2(props, ref) {
167
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { ref, "data-slot": "poster-small-print", ...props });
168
+ });
169
+ var PosterColumns = _react.forwardRef.call(void 0, function PosterColumns2({ variant = "labelled", items, ...props }, ref) {
170
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { ref, "data-slot": "poster-columns", "data-variant": variant, ...props, children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-slot": "poster-column", children: [
171
+ variant === "titled" ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { "data-slot": "poster-column-heading", children: item.heading }) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-column-heading", children: item.heading }),
172
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-column-text", children: item.text }),
173
+ item.link ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { "data-slot": "poster-column-link", href: item.link.href, children: item.link.label }) : null
174
+ ] }, index)) });
175
+ });
176
+ var PosterTicks = _react.forwardRef.call(void 0, function PosterTicks2({ items, spacing = "default", ...props }, ref) {
177
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { ref, "data-slot": "poster-ticks", "data-spacing": spacing, ...props, children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { "data-slot": "poster-tick", children: item }, index)) });
178
+ });
179
+ var PosterDisclosure = _react.forwardRef.call(void 0, function PosterDisclosure2({ summary, children, defaultOpen, ...props }, ref) {
180
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "details", { ref, "data-slot": "poster-disclosure", open: defaultOpen, ...props, children: [
181
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "summary", { "data-slot": "poster-disclosure-summary", children: summary }),
182
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "poster-disclosure-body", children })
183
+ ] });
184
+ });
185
+ var PosterFacts = _react.forwardRef.call(void 0, function PosterFacts2({ items, ...props }, ref) {
186
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "dl", { ref, "data-slot": "poster-facts", ...props, children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-slot": "poster-fact", children: [
187
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "dt", { "data-slot": "poster-fact-term", children: item.term }),
188
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "dd", { "data-slot": "poster-fact-detail", children: item.detail })
189
+ ] }, index)) });
190
+ });
191
+ var PosterNote = _react.forwardRef.call(void 0, function PosterNote2(props, ref) {
192
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { ref, "data-slot": "poster-note", ...props });
193
+ });
194
+ var PosterCallList = _react.forwardRef.call(void 0, function PosterCallList2({ label, items, ...props }, ref) {
195
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { ref, "data-slot": "poster-calls", "aria-label": label, ...props, children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { "data-slot": "poster-call", children: [
196
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-slot": "poster-call-name", children: item.name }),
197
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-slot": "poster-call-action", children: item.action })
198
+ ] }, index)) });
199
+ });
200
+ var PosterFlow = _react.forwardRef.call(void 0, function PosterFlow2({ items, ...props }, ref) {
201
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ol", { ref, "data-slot": "poster-flow", ...props, children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { "data-slot": "poster-flow-step", children: item }, index)) });
202
+ });
203
+ var PosterSteps = _react.forwardRef.call(void 0, function PosterSteps2({ items, layout = "three", ...props }, ref) {
204
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ol", { ref, "data-slot": "poster-steps", "data-layout": layout, ...props, children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { "data-slot": "poster-step", children: item }, index)) });
205
+ });
206
+ var PosterCost = _react.forwardRef.call(void 0, function PosterCost2({ label, statement, action, ...props }, ref) {
207
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, "data-slot": "poster-cost", ...props, children: [
208
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
209
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-cost-label", children: label }),
210
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-cost-statement", children: statement })
211
+ ] }),
212
+ action ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "poster-cost-action", children: action }) : null
213
+ ] });
214
+ });
215
+ function PosterCopyText({ text, copyLabel = "Copy", copiedLabel = "Copied", selectedLabel = "Selected", placement = "inline" }) {
216
+ const textRef = _react.useRef.call(void 0, null);
217
+ const [label, setLabel] = _react.useState.call(void 0, copyLabel);
218
+ const select = () => {
219
+ const node = textRef.current;
220
+ const selection = typeof window === "undefined" ? null : window.getSelection();
221
+ if (!node || !selection) return;
222
+ const range = document.createRange();
223
+ range.selectNodeContents(node);
224
+ selection.removeAllRanges();
225
+ selection.addRange(range);
226
+ setLabel(selectedLabel);
227
+ };
228
+ const copy = () => {
229
+ const clipboard = typeof navigator === "undefined" ? void 0 : navigator.clipboard;
230
+ if (!_optionalChain([clipboard, 'optionalAccess', _11 => _11.writeText])) return select();
231
+ clipboard.writeText(text).then(() => setLabel(copiedLabel), select);
232
+ };
233
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-slot": "poster-copy", "data-placement": placement, children: [
234
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { ref: textRef, "data-slot": "poster-copy-text", children: text }),
235
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "button", { type: "button", "data-slot": "poster-copy-button", onClick: copy, children: label })
236
+ ] });
237
+ }
238
+ var PosterPeople = _react.forwardRef.call(void 0, function PosterPeople2({ items, ...props }, ref) {
239
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { ref, "data-slot": "poster-people", ...props, children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "li", { "data-slot": "poster-person", children: [
240
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-slot": "poster-person-name", children: item.name }),
241
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-slot": "poster-person-bio", children: item.bio })
242
+ ] }, index)) });
243
+ });
244
+ var PosterFootnote = _react.forwardRef.call(void 0, function PosterFootnote2({ start, end, ...props }, ref) {
245
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, "data-slot": "poster-footnote", ...props, children: [
246
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: start }),
247
+ end ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: end }) : null
248
+ ] });
249
+ });
250
+ var PosterMoreLink = _react.forwardRef.call(void 0, function PosterMoreLink2(props, ref) {
251
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ref, "data-slot": "poster-more-link", ...props });
252
+ });
253
+ var PosterNextLink = _react.forwardRef.call(void 0, function PosterNextLink2({ label, children, ...props }, ref) {
254
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "a", { ref, "data-slot": "poster-next-link", ...props, children: [
255
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-slot": "poster-next-label", children: label }),
256
+ children
257
+ ] });
258
+ });
259
+ var PosterTextLink = _react.forwardRef.call(void 0, function PosterTextLink2(props, ref) {
260
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "a", { ref, "data-slot": "poster-text-link", ...props });
261
+ });
262
+ function PosterBreak() {
263
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
264
+ " ",
265
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-slot": "poster-break" })
266
+ ] });
267
+ }
268
+ function PosterQuote({ children, by, size = "large", as = "blockquote" }) {
269
+ const Quote = as;
270
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
271
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, Quote, { "data-slot": "poster-quote", "data-size": size, children }),
272
+ by ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-quote-by", children: by }) : null
273
+ ] });
274
+ }
275
+ var PosterStats = _react.forwardRef.call(void 0, function PosterStats2({ items, ...props }, ref) {
276
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "dl", { ref, "data-slot": "poster-stats", "data-columns": items.length <= 2 ? 2 : 4, ...props, children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-slot": "poster-stat", children: [
277
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "dt", { "data-slot": "poster-stat-value", children: item.value }),
278
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "dd", { "data-slot": "poster-stat-label", children: item.label })
279
+ ] }, index)) });
280
+ });
281
+ var PosterClaims = _react.forwardRef.call(void 0, function PosterClaims2({ items, ...props }, ref) {
282
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { ref, "data-slot": "poster-claims", ...props, children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { "data-slot": "poster-claim", children: item }, index)) });
283
+ });
284
+ var PosterScreen = _react.forwardRef.call(void 0, function PosterScreen2({ title, context, children, ...props }, ref) {
285
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { ref, "data-slot": "poster-screen", ...props, children: [
286
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-slot": "poster-screen-bar", children: [
287
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "b", { children: title }),
288
+ context ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: context }) : null
289
+ ] }),
290
+ children
291
+ ] });
292
+ });
293
+ function PosterScreenTabs({ items }) {
294
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "poster-screen-tabs", children: items.map((item, index) => index === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "b", { children: item }, index) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: item }, index)) });
295
+ }
296
+ function PosterScreenSplit({ ratio = "5:7", children }) {
297
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "poster-screen-split", "data-ratio": ratio, children });
298
+ }
299
+ function PosterScreenPane({ children }) {
300
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "poster-screen-pane", children });
301
+ }
302
+ function PosterScreenMessage({ from, children, variant = "sent" }) {
303
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-slot": "poster-screen-message", "data-variant": variant, children: [
304
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "small", { children: from }),
305
+ children
306
+ ] });
307
+ }
308
+ function PosterScreenTrace({ items }) {
309
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { "data-slot": "poster-screen-trace", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: item }, index)) });
310
+ }
311
+ function PosterScreenLead({ children }) {
312
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-screen-lead", children });
313
+ }
314
+ function PosterGrade({ children, top = false }) {
315
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-slot": "poster-grade", "data-top": top || void 0, children });
316
+ }
317
+ function PosterScreenPerson({ initials, name, summary, test, grade, topGrade }) {
318
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-slot": "poster-screen-person", children: [
319
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { "data-slot": "poster-initials", "aria-hidden": "true", children: initials }),
320
+ /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { children: [
321
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "b", { children: name }),
322
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: summary }),
323
+ test ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "em", { children: test }) : null
324
+ ] }),
325
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PosterGrade, { top: topGrade, children: grade })
326
+ ] });
327
+ }
328
+ function PosterScreenQueue({ items }) {
329
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "poster-screen-queue", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-slot": "poster-screen-queue-item", "data-selected": item.selected || void 0, children: [
330
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "b", { children: item.name }),
331
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: item.role }),
332
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PosterGrade, { top: item.topGrade, children: item.grade })
333
+ ] }, index)) });
334
+ }
335
+ function PosterScreenDetail({ title, line, evidence = [], actions = [] }) {
336
+ return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-slot": "poster-screen-detail", children: [
337
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { children: title }),
338
+ line ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { "data-slot": "poster-screen-detail-line", children: line }) : null,
339
+ evidence.length ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "ul", { "data-slot": "poster-screen-evidence", children: evidence.map((item, index) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "li", { children: item }, index)) }) : null,
340
+ actions.length ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "poster-screen-decide", children: actions.map((action, index) => index === 0 ? /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "b", { children: action }, index) : /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: action }, index)) }) : null
341
+ ] });
342
+ }
343
+ function PosterScreenRows({ items }) {
344
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { "data-slot": "poster-screen-rows", children: items.map((item, index) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { "data-slot": "poster-screen-row", children: [
345
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "b", { children: item.name }),
346
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { children: item.line }),
347
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, PosterGrade, { top: item.topGrade, children: item.grade }),
348
+ /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "em", { "data-needs-you": item.needsYou || void 0, children: item.action })
349
+ ] }, index)) });
350
+ }
351
+ var PosterMockNote = _react.forwardRef.call(void 0, function PosterMockNote2(props, ref) {
352
+ return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { ref, "data-slot": "poster-mock-note", ...props });
353
+ });
354
+
355
+
356
+
357
+
358
+
359
+
360
+
361
+
362
+
363
+
364
+
365
+
366
+
367
+
368
+
369
+
370
+
371
+
372
+
373
+
374
+
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+
385
+
386
+
387
+
388
+
389
+
390
+
391
+
392
+
393
+
394
+
395
+
396
+
397
+
398
+
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+ exports.PosterAction = PosterAction; exports.PosterBand = PosterBand; exports.PosterBanner = PosterBanner; exports.PosterBreak = PosterBreak; exports.PosterCalculator = PosterCalculator; exports.PosterCallList = PosterCallList; exports.PosterClaims = PosterClaims; exports.PosterColumns = PosterColumns; exports.PosterCopyText = PosterCopyText; exports.PosterCost = PosterCost; exports.PosterDisclosure = PosterDisclosure; exports.PosterFacts = PosterFacts; exports.PosterFigures = PosterFigures; exports.PosterFlow = PosterFlow; exports.PosterFootnote = PosterFootnote; exports.PosterGrade = PosterGrade; exports.PosterHeader = PosterHeader; exports.PosterHeaderAction = PosterHeaderAction; exports.PosterHero = PosterHero; exports.PosterMain = PosterMain; exports.PosterMark = PosterMark; exports.PosterMockNote = PosterMockNote; exports.PosterMoreLink = PosterMoreLink; exports.PosterNav = PosterNav; exports.PosterNavLink = PosterNavLink; exports.PosterNextLink = PosterNextLink; exports.PosterNote = PosterNote; exports.PosterPeople = PosterPeople; exports.PosterQuote = PosterQuote; exports.PosterRange = PosterRange; exports.PosterRanges = PosterRanges; exports.PosterScreen = PosterScreen; exports.PosterScreenDetail = PosterScreenDetail; exports.PosterScreenLead = PosterScreenLead; exports.PosterScreenMessage = PosterScreenMessage; exports.PosterScreenPane = PosterScreenPane; exports.PosterScreenPerson = PosterScreenPerson; exports.PosterScreenQueue = PosterScreenQueue; exports.PosterScreenRows = PosterScreenRows; exports.PosterScreenSplit = PosterScreenSplit; exports.PosterScreenTabs = PosterScreenTabs; exports.PosterScreenTrace = PosterScreenTrace; exports.PosterShell = PosterShell; exports.PosterSmallPrint = PosterSmallPrint; exports.PosterStatement = PosterStatement; exports.PosterStats = PosterStats; exports.PosterSteps = PosterSteps; exports.PosterSubhead = PosterSubhead; exports.PosterSwitch = PosterSwitch; exports.PosterTextLink = PosterTextLink; exports.PosterTicks = PosterTicks;