@dloizides/ui-layout 1.43.0 → 1.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,13 +1,13 @@
1
- import React14, { createContext, useMemo, useState, useRef, useEffect, useCallback, useContext, useLayoutEffect } from 'react';
1
+ import React16, { createContext, useMemo, useState, useRef, useEffect, useCallback, useContext, useLayoutEffect } from 'react';
2
2
  import { StyleSheet, Platform, View, Text, useWindowDimensions, Modal as Modal$1, Animated, ScrollView, TouchableOpacity, Pressable, FlatList, Easing } from 'react-native';
3
3
  import { MODAL_OVERLAY_COLOR, useUi } from '@dloizides/ui-feedback';
4
4
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
5
+ import { Z_INDEX, UI_MAIN_STEP, UI_DEEP_STEP, isHexColor, canCarryAccessibleInk, resolveOnBrand } from '@dloizides/design-tokens';
5
6
  import { IconButton, Button } from '@dloizides/ui-buttons';
6
7
  import { SvgIcon } from '@dloizides/ui-icons';
7
8
  import { useEnterExit, Collapse } from '@dloizides/ui-motion';
8
9
  import { MIN_TOUCH_TARGET_PX, useA11y } from '@dloizides/a11y';
9
10
  import { createPortal } from 'react-dom';
10
- import { Z_INDEX } from '@dloizides/design-tokens';
11
11
  import { useReducedMotion } from '@dloizides/rn-web-hooks';
12
12
 
13
13
  // src/Section/Section.tsx
@@ -38,7 +38,7 @@ var Section = ({
38
38
  const { theme } = useUi();
39
39
  const isCard = variant === "card" /* Card */;
40
40
  const fill = isCard ? theme.colors.background : theme.colors.surface;
41
- const containerStyle = React14.useMemo(
41
+ const containerStyle = React16.useMemo(
42
42
  () => [styles.card, isCard ? styles.raised : null, { borderColor: theme.colors.border, backgroundColor: fill }, style],
43
43
  [theme.colors.border, fill, isCard, style]
44
44
  );
@@ -90,6 +90,8 @@ var AppText = ({
90
90
  var LAYOUT_TEST_IDS = {
91
91
  headingText: "heading-text",
92
92
  statusLabel: "status-label",
93
+ countBadge: "count-badge",
94
+ splitPanes: "split-panes",
93
95
  stickyPreview: "sticky-preview",
94
96
  pageFrame: "page-frame",
95
97
  upgradePrompt: "upgrade-prompt",
@@ -128,6 +130,7 @@ var LAYOUT_I18N = {
128
130
  accordionToggleHint: "common.accordionToggleHint",
129
131
  /** Default accessible hint on a `StatusBadge` when the caller supplies none. */
130
132
  statusBadgeHint: "common.statusBadgeHint",
133
+ countBadgeLabel: "common.countBadgeLabel",
131
134
  /** `ModalShell`: accessible name of the dialog when its title is not a plain string. */
132
135
  dialog: "common.dialog",
133
136
  /** `ModalShell`: accessible hint on the close button. */
@@ -215,7 +218,7 @@ var Heading = ({
215
218
  testID
216
219
  }) => {
217
220
  const { theme } = useUi();
218
- const headingStyle = React14.useMemo(
221
+ const headingStyle = React16.useMemo(
219
222
  () => [styles3.heading, { color: theme.colors.text }, style],
220
223
  [theme.colors.text, style]
221
224
  );
@@ -230,6 +233,40 @@ var Heading = ({
230
233
  }
231
234
  );
232
235
  };
236
+
237
+ // src/StatusBadge/BadgeTone.ts
238
+ var BadgeTone = /* @__PURE__ */ ((BadgeTone2) => {
239
+ BadgeTone2["Neutral"] = "neutral";
240
+ BadgeTone2["Info"] = "info";
241
+ BadgeTone2["Success"] = "success";
242
+ BadgeTone2["Warning"] = "warning";
243
+ BadgeTone2["Danger"] = "danger";
244
+ return BadgeTone2;
245
+ })(BadgeTone || {});
246
+ function scaleFor(theme, tone) {
247
+ const semantic = theme.semantic;
248
+ if (tone === "danger" /* Danger */) return theme.semantic.error;
249
+ if (tone === "success" /* Success */) return semantic.success;
250
+ if (tone === "warning" /* Warning */) return semantic.warning;
251
+ if (tone === "info" /* Info */) return semantic.info ?? theme.palette.primary;
252
+ return void 0;
253
+ }
254
+ function readableInk(fill) {
255
+ if (fill === void 0 || !isHexColor(fill) || !canCarryAccessibleInk(fill)) return null;
256
+ return resolveOnBrand(fill);
257
+ }
258
+ function neutralColors(colors) {
259
+ return { color: colors.text, backgroundColor: colors.surfaceElevated };
260
+ }
261
+ function resolveToneColors(theme, tone) {
262
+ const scale = scaleFor(theme, tone);
263
+ if (scale === void 0) return neutralColors(theme.colors);
264
+ for (const fill of [scale[UI_MAIN_STEP], scale[UI_DEEP_STEP]]) {
265
+ const ink = readableInk(fill);
266
+ if (ink !== null && fill !== void 0) return { color: ink, backgroundColor: fill };
267
+ }
268
+ return neutralColors(theme.colors);
269
+ }
233
270
  var DEFAULT_PADDING_H = 10;
234
271
  var DEFAULT_PADDING_V = 4;
235
272
  var DEFAULT_BORDER_RADIUS = 12;
@@ -261,15 +298,19 @@ var styles4 = StyleSheet.create({
261
298
  });
262
299
  var StatusBadge = ({
263
300
  label,
264
- color,
265
- backgroundColor,
301
+ tone = "neutral" /* Neutral */,
302
+ color: rawColor,
303
+ backgroundColor: rawBackground,
266
304
  icon,
267
305
  dashed = false,
268
306
  testID = LAYOUT_TEST_IDS.statusLabel,
269
307
  accessibilityLabel,
270
308
  accessibilityHint
271
309
  }) => {
272
- const { t } = useUi();
310
+ const { t, theme } = useUi();
311
+ const toned = useMemo(() => resolveToneColors(theme, tone), [theme, tone]);
312
+ const color = rawColor ?? toned.color;
313
+ const backgroundColor = rawBackground ?? toned.backgroundColor;
273
314
  const dynamicBadge = useMemo(() => ({ backgroundColor }), [backgroundColor]);
274
315
  const dashedColor = useMemo(() => ({ borderColor: color }), [color]);
275
316
  const dynamicText = useMemo(() => ({ color }), [color]);
@@ -288,6 +329,98 @@ var StatusBadge = ({
288
329
  }
289
330
  );
290
331
  };
332
+
333
+ // src/CountBadge/formatCount.ts
334
+ var OVERFLOW_SUFFIX = "+";
335
+ function formatCount(count, max) {
336
+ const whole = Math.max(0, Math.floor(count));
337
+ if (whole > max) return `${String(max)}${OVERFLOW_SUFFIX}`;
338
+ return String(whole);
339
+ }
340
+ var DEFAULT_MAX = 99;
341
+ var BADGE_SIZE = 20;
342
+ var BADGE_PADDING_H = 6;
343
+ var BADGE_FONT_SIZE = 12;
344
+ var styles5 = StyleSheet.create({
345
+ badge: {
346
+ minWidth: BADGE_SIZE,
347
+ height: BADGE_SIZE,
348
+ borderRadius: BADGE_SIZE / 2,
349
+ paddingHorizontal: BADGE_PADDING_H,
350
+ alignItems: "center",
351
+ justifyContent: "center",
352
+ alignSelf: "flex-start"
353
+ },
354
+ text: { fontSize: BADGE_FONT_SIZE, fontWeight: "700" }
355
+ });
356
+ var CountBadge = ({
357
+ count,
358
+ max = DEFAULT_MAX,
359
+ tone = "neutral" /* Neutral */,
360
+ showZero = false,
361
+ testID = LAYOUT_TEST_IDS.countBadge,
362
+ accessibilityLabel
363
+ }) => {
364
+ const { theme, t } = useUi();
365
+ const toned = useMemo(() => resolveToneColors(theme, tone), [theme, tone]);
366
+ const badgeStyle = useMemo(() => [styles5.badge, { backgroundColor: toned.backgroundColor }], [toned.backgroundColor]);
367
+ const textStyle = useMemo(() => [styles5.text, { color: toned.color }], [toned.color]);
368
+ const text = formatCount(count, max);
369
+ const isHidden = text === "0" && !showZero;
370
+ if (isHidden) return null;
371
+ return /* @__PURE__ */ jsx(
372
+ View,
373
+ {
374
+ accessibilityLabel: accessibilityLabel ?? t(LAYOUT_I18N.countBadgeLabel, text),
375
+ style: badgeStyle,
376
+ testID,
377
+ children: /* @__PURE__ */ jsx(Text, { style: textStyle, children: text })
378
+ }
379
+ );
380
+ };
381
+
382
+ // src/SplitPanes/SplitLayout.ts
383
+ var SplitLayout = /* @__PURE__ */ ((SplitLayout2) => {
384
+ SplitLayout2["Auto"] = "auto";
385
+ SplitLayout2["Stack"] = "stack";
386
+ SplitLayout2["Side"] = "side";
387
+ return SplitLayout2;
388
+ })(SplitLayout || {});
389
+
390
+ // src/SplitPanes/isSplitSideBySide.ts
391
+ function isSplitSideBySide(layout, width, breakpoint) {
392
+ if (layout === "side" /* Side */) return true;
393
+ if (layout === "stack" /* Stack */) return false;
394
+ return width >= breakpoint;
395
+ }
396
+ var DEFAULT_GAP = 12;
397
+ var DEFAULT_WEIGHT = 1;
398
+ var styles6 = StyleSheet.create({
399
+ row: { flexDirection: "row", alignItems: "flex-start", width: "100%" },
400
+ column: { flexDirection: "column", width: "100%" },
401
+ sidePane: { flexBasis: 0, flexShrink: 1, minWidth: 0 },
402
+ stackPane: { width: "100%", minWidth: 0 }
403
+ });
404
+ var SplitPanes = ({
405
+ start,
406
+ end,
407
+ layout = "auto" /* Auto */,
408
+ startWeight = DEFAULT_WEIGHT,
409
+ endWeight = DEFAULT_WEIGHT,
410
+ gap = DEFAULT_GAP,
411
+ breakpoint = LAYOUT_COLLAPSE_BREAKPOINT,
412
+ testID = LAYOUT_TEST_IDS.splitPanes
413
+ }) => {
414
+ const { width } = useWindowDimensions();
415
+ const isSide = isSplitSideBySide(layout, width, breakpoint);
416
+ const container = useMemo(() => [isSide ? styles6.row : styles6.column, { gap }], [isSide, gap]);
417
+ const startStyle = isSide ? [styles6.sidePane, { flexGrow: startWeight }] : styles6.stackPane;
418
+ const endStyle = isSide ? [styles6.sidePane, { flexGrow: endWeight }] : styles6.stackPane;
419
+ return /* @__PURE__ */ jsxs(View, { style: container, testID, children: [
420
+ /* @__PURE__ */ jsx(View, { style: startStyle, testID: `${testID}-start`, children: start }),
421
+ /* @__PURE__ */ jsx(View, { style: endStyle, testID: `${testID}-end`, children: end })
422
+ ] });
423
+ };
291
424
  function isPastStickyLine(sentinelTop, isIntersecting, topOffset) {
292
425
  return !isIntersecting && sentinelTop < topOffset;
293
426
  }
@@ -343,7 +476,7 @@ function useVisibleViewport() {
343
476
  return state;
344
477
  }
345
478
  var STICKY_Z_INDEX = 5;
346
- var styles5 = StyleSheet.create({
479
+ var styles7 = StyleSheet.create({
347
480
  sentinel: { height: 1, marginBottom: -1 },
348
481
  compact: { borderBottomWidth: 1 }
349
482
  });
@@ -365,7 +498,7 @@ var StickyPreview = ({
365
498
  return Platform.OS === WEB_PLATFORM ? web : {};
366
499
  }, [offsetTop, topOffset]);
367
500
  return /* @__PURE__ */ jsxs(Fragment, { children: [
368
- /* @__PURE__ */ jsx(View, { "aria-hidden": true, ref: sentinelRef, style: styles5.sentinel }),
501
+ /* @__PURE__ */ jsx(View, { "aria-hidden": true, ref: sentinelRef, style: styles7.sentinel }),
369
502
  /* @__PURE__ */ jsx(
370
503
  View,
371
504
  {
@@ -375,7 +508,7 @@ var StickyPreview = ({
375
508
  style: [
376
509
  pinned,
377
510
  { backgroundColor: theme.colors.background, borderColor: theme.colors.border },
378
- isCompact && styles5.compact
511
+ isCompact && styles7.compact
379
512
  ],
380
513
  testID,
381
514
  children: /* @__PURE__ */ jsx(View, { testID: `${testID}-${isCompact ? "compact" : "full"}`, children: isCompact ? compact : full })
@@ -510,7 +643,7 @@ var HEADER_MARGIN = 12;
510
643
  var DIALOG_MAX_HEIGHT = "90%";
511
644
  var PANEL_ENTER_SCALE = 0.96;
512
645
  var SIZE_MAX_WIDTH = { sm: 360, md: 480, lg: 640, xl: 880 };
513
- var styles6 = StyleSheet.create({
646
+ var styles8 = StyleSheet.create({
514
647
  overlay: {
515
648
  flex: 1,
516
649
  justifyContent: "center",
@@ -557,7 +690,7 @@ var styles6 = StyleSheet.create({
557
690
  });
558
691
  var ModalFooter = ({ children, testID }) => {
559
692
  const { width } = useWindowDimensions();
560
- const style = isModalFooterStacked(width) ? styles6.footerStack : styles6.footerRow;
693
+ const style = isModalFooterStacked(width) ? styles8.footerStack : styles8.footerRow;
561
694
  return /* @__PURE__ */ jsx(View, { style, testID, children });
562
695
  };
563
696
  var Modal = ({
@@ -583,17 +716,17 @@ var Modal = ({
583
716
  const accessibleName = accessibilityLabel ?? title ?? t(LAYOUT_I18N.dialog);
584
717
  const closeLabel = t(LAYOUT_I18N.dialogClose);
585
718
  const dialogStyle = useMemo(
586
- () => [styles6.dialog, { backgroundColor: theme.colors.surface, maxWidth: SIZE_MAX_WIDTH[size] }],
719
+ () => [styles8.dialog, { backgroundColor: theme.colors.surface, maxWidth: SIZE_MAX_WIDTH[size] }],
587
720
  [theme.colors.surface, size]
588
721
  );
589
722
  const hasHeader = title !== void 0 || showClose;
590
723
  const focusesDialog = initialFocusTestID === testID;
591
724
  const hardwareBackClose = Platform.OS === "web" ? void 0 : onClose;
592
- return /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxs(View, { style: styles6.overlay, children: [
725
+ return /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxs(View, { style: styles8.overlay, children: [
593
726
  /* @__PURE__ */ jsx(
594
727
  Animated.View,
595
728
  {
596
- style: [StyleSheet.absoluteFill, styles6.scrim, { opacity: backdrop.style.opacity }]
729
+ style: [StyleSheet.absoluteFill, styles8.scrim, { opacity: backdrop.style.opacity }]
597
730
  }
598
731
  ),
599
732
  /* @__PURE__ */ jsxs(
@@ -607,8 +740,8 @@ var Modal = ({
607
740
  tabIndex: focusesDialog ? -1 : void 0,
608
741
  testID,
609
742
  children: [
610
- hasHeader ? /* @__PURE__ */ jsxs(View, { style: styles6.headerRow, children: [
611
- /* @__PURE__ */ jsx(View, { style: styles6.titleWrap, children: title !== void 0 ? /* @__PURE__ */ jsx(Heading, { children: title }) : null }),
743
+ hasHeader ? /* @__PURE__ */ jsxs(View, { style: styles8.headerRow, children: [
744
+ /* @__PURE__ */ jsx(View, { style: styles8.titleWrap, children: title !== void 0 ? /* @__PURE__ */ jsx(Heading, { children: title }) : null }),
612
745
  showClose ? /* @__PURE__ */ jsx(
613
746
  IconButton,
614
747
  {
@@ -637,7 +770,7 @@ var Modal = ({
637
770
  accessibilityLabel: t(LAYOUT_I18N.dismissDropdown),
638
771
  accessibilityRole: "button",
639
772
  activeOpacity: 1,
640
- style: [StyleSheet.absoluteFill, styles6.backdrop],
773
+ style: [StyleSheet.absoluteFill, styles8.backdrop],
641
774
  focusable: false,
642
775
  testID: `${testID}-backdrop`,
643
776
  onPress: onClose
@@ -674,7 +807,7 @@ var scaledFrame = (containerWidth, page) => {
674
807
  offsetY: (scale - 1) * page.height / HALF
675
808
  };
676
809
  };
677
- var styles7 = StyleSheet.create({
810
+ var styles9 = StyleSheet.create({
678
811
  outer: { width: "100%", overflow: "hidden" },
679
812
  page: { position: "absolute", top: 0, left: 0 },
680
813
  trigger: { width: "100%", cursor: "pointer" }
@@ -694,11 +827,11 @@ var PageFrame = ({
694
827
  const open = useCallback(() => setEnlarged(true), []);
695
828
  const close = useCallback(() => setEnlarged(false), []);
696
829
  const frame = scaledFrame(containerWidth, pageSize);
697
- const preview = /* @__PURE__ */ jsx(View, { style: [styles7.outer, { height: frame.height }], testID, onLayout, children: /* @__PURE__ */ jsx(
830
+ const preview = /* @__PURE__ */ jsx(View, { style: [styles9.outer, { height: frame.height }], testID, onLayout, children: /* @__PURE__ */ jsx(
698
831
  View,
699
832
  {
700
833
  style: [
701
- styles7.page,
834
+ styles9.page,
702
835
  {
703
836
  width: pageSize.width,
704
837
  height: pageSize.height,
@@ -716,7 +849,7 @@ var PageFrame = ({
716
849
  accessibilityHint: t(LAYOUT_I18N.pageEnlargeHint),
717
850
  accessibilityLabel: t(LAYOUT_I18N.pageEnlarge),
718
851
  accessibilityRole: "button",
719
- style: styles7.trigger,
852
+ style: styles9.trigger,
720
853
  testID: `${testID}-enlarge`,
721
854
  onPress: open,
722
855
  children: preview
@@ -736,7 +869,7 @@ var BORDER_WIDTH = 1;
736
869
  var SEGMENT_BOX_SHADOW = "0px 1px 3px rgba(20, 30, 50, 0.1)";
737
870
  var SHADOW_ELEVATION = 2;
738
871
  var TRANSPARENT = "transparent";
739
- var styles8 = StyleSheet.create({
872
+ var styles10 = StyleSheet.create({
740
873
  track: {
741
874
  flexDirection: "row",
742
875
  alignSelf: "flex-start",
@@ -781,7 +914,7 @@ function SegmentedControl({
781
914
  {
782
915
  accessibilityRole: "tablist",
783
916
  "aria-label": accessibilityLabel,
784
- style: [styles8.track, { backgroundColor: colors.background, borderColor: colors.border }, style],
917
+ style: [styles10.track, { backgroundColor: colors.background, borderColor: colors.border }, style],
785
918
  testID,
786
919
  children: options.map((opt) => {
787
920
  const selected = opt.value === value;
@@ -794,13 +927,13 @@ function SegmentedControl({
794
927
  accessibilityHint: opt.accessibilityHint,
795
928
  onPress: () => onChange(opt.value),
796
929
  style: [
797
- styles8.segment,
798
- selected ? styles8.segmentSelected : null,
930
+ styles10.segment,
931
+ selected ? styles10.segmentSelected : null,
799
932
  { backgroundColor: selected ? colors.surface : TRANSPARENT }
800
933
  ],
801
934
  testID: opt.testID,
802
935
  ...ariaSelectedProps(selected),
803
- children: /* @__PURE__ */ jsx(Text, { style: [styles8.label, { color: selected ? colors.text : colors.textSecondary }], children: opt.label })
936
+ children: /* @__PURE__ */ jsx(Text, { style: [styles10.label, { color: selected ? colors.text : colors.textSecondary }], children: opt.label })
804
937
  },
805
938
  opt.value
806
939
  );
@@ -892,7 +1025,7 @@ var HEADING_PADDING_H = 16;
892
1025
  var HEADING_PADDING_TOP = 8;
893
1026
  var HEADING_PADDING_BOTTOM = 4;
894
1027
  var HEADING_LETTER_SPACING = 0.5;
895
- var styles9 = StyleSheet.create({
1028
+ var styles11 = StyleSheet.create({
896
1029
  heading: {
897
1030
  fontSize: HEADING_FONT_SIZE,
898
1031
  fontWeight: HEADING_FONT_WEIGHT,
@@ -908,7 +1041,7 @@ var MenuHeading = ({ testID, text }) => {
908
1041
  Text,
909
1042
  {
910
1043
  accessibilityRole: "header",
911
- style: [styles9.heading, { color: theme.colors.textSecondary }],
1044
+ style: [styles11.heading, { color: theme.colors.textSecondary }],
912
1045
  testID: `${testID}-menu-heading`,
913
1046
  children: text
914
1047
  }
@@ -929,7 +1062,7 @@ var OPTION_PADDING_V = 12;
929
1062
  var ACCENT_BAR_WIDTH = 3;
930
1063
  var CHECK_GAP = 8;
931
1064
  var CHECK_GLYPH = "\u2713";
932
- var styles10 = StyleSheet.create({
1065
+ var styles12 = StyleSheet.create({
933
1066
  option: {
934
1067
  paddingHorizontal: OPTION_PADDING_H,
935
1068
  paddingVertical: OPTION_PADDING_V,
@@ -968,16 +1101,16 @@ var OptionRow = ({
968
1101
  const isMarked = selectedMarker === "accent-check" /* AccentCheck */;
969
1102
  const isActive = isSelected || isHighlighted;
970
1103
  const rowStyle = [
971
- styles10.option,
972
- isMarked ? styles10.markedRow : null,
1104
+ styles12.option,
1105
+ isMarked ? styles12.markedRow : null,
973
1106
  isActive ? { backgroundColor: colors.surfaceElevated } : null,
974
1107
  isMarked && isSelected ? { borderLeftColor: accentColor } : null
975
1108
  ];
976
1109
  const textStyle = [
977
- styles10.optionText,
1110
+ styles12.optionText,
978
1111
  { color: colors.text },
979
- isSelected ? styles10.selectedText : null,
980
- isMarked ? styles10.markedText : null
1112
+ isSelected ? styles12.selectedText : null,
1113
+ isMarked ? styles12.markedText : null
981
1114
  ];
982
1115
  const selectionProps = asMenuItem ? { "aria-current": isSelected ? "true" : void 0 } : { "aria-selected": isSelected };
983
1116
  return /* @__PURE__ */ jsxs(
@@ -993,7 +1126,7 @@ var OptionRow = ({
993
1126
  onPress: handlePress,
994
1127
  children: [
995
1128
  /* @__PURE__ */ jsx(Text, { style: textStyle, children: label }),
996
- isMarked && isSelected ? /* @__PURE__ */ jsx(View, { "aria-hidden": true, testID: `${testID}-check`, children: /* @__PURE__ */ jsx(Text, { style: [styles10.selectedText, { color: accentColor }], children: CHECK_GLYPH }) }) : null
1129
+ isMarked && isSelected ? /* @__PURE__ */ jsx(View, { "aria-hidden": true, testID: `${testID}-check`, children: /* @__PURE__ */ jsx(Text, { style: [styles12.selectedText, { color: accentColor }], children: CHECK_GLYPH }) }) : null
997
1130
  ]
998
1131
  }
999
1132
  );
@@ -1174,7 +1307,7 @@ var IS_WEB3 = Platform.OS === "web";
1174
1307
  var BORDER_RADIUS2 = 8;
1175
1308
  var BORDER_WIDTH3 = 1;
1176
1309
  var MENU_PADDING2 = 4;
1177
- var styles11 = StyleSheet.create({
1310
+ var styles13 = StyleSheet.create({
1178
1311
  /** Native (in-tree) popover — anchored absolutely just under the trigger. */
1179
1312
  popover: {
1180
1313
  position: "absolute",
@@ -1264,9 +1397,9 @@ var InlineMenu = ({
1264
1397
  themed
1265
1398
  ];
1266
1399
  }
1267
- return [styles11.popover, { minWidth: menuMinWidth }, themed];
1400
+ return [styles13.popover, { minWidth: menuMinWidth }, themed];
1268
1401
  }, [colors.border, colors.surface, menuMinWidth, placement, rect]);
1269
- const scrollStyle = IS_WEB3 ? { maxHeight: menuScrollMaxHeight(placement.maxHeight) } : styles11.scroll;
1402
+ const scrollStyle = IS_WEB3 ? { maxHeight: menuScrollMaxHeight(placement.maxHeight) } : styles13.scroll;
1270
1403
  const menu = /* @__PURE__ */ jsx(
1271
1404
  View,
1272
1405
  {
@@ -1280,7 +1413,7 @@ var InlineMenu = ({
1280
1413
  Animated.View,
1281
1414
  {
1282
1415
  pointerEvents: isOpen ? "auto" : "none",
1283
- style: [styles11.animated, opensAbove ? styles11.animatedAbove : null, animatedStyle, isOpen ? null : styles11.inert],
1416
+ style: [styles13.animated, opensAbove ? styles13.animatedAbove : null, animatedStyle, isOpen ? null : styles13.inert],
1284
1417
  children: [
1285
1418
  menuHeading !== void 0 ? /* @__PURE__ */ jsx(MenuHeading, { testID, text: menuHeading }) : null,
1286
1419
  /* @__PURE__ */ jsx(ScrollView, { style: scrollStyle, keyboardShouldPersistTaps: "handled", children: options.map((option, index) => /* @__PURE__ */ jsx(
@@ -1331,7 +1464,7 @@ var CARET_OPEN_ROTATION = "180deg";
1331
1464
  var CARET_CLOSED_ROTATION = "0deg";
1332
1465
  var POPOVER_ENTER_SCALE = 0.96;
1333
1466
  var POPOVER_MOTION_MS = 120;
1334
- var styles12 = StyleSheet.create({
1467
+ var styles14 = StyleSheet.create({
1335
1468
  anchor: { position: "relative" },
1336
1469
  container: {
1337
1470
  borderWidth: BORDER_WIDTH4,
@@ -1446,19 +1579,19 @@ var ModalDropdown = ({
1446
1579
  const isCaret = showCaret && !isHamburger;
1447
1580
  const containerStyle = useMemo(
1448
1581
  () => renderTrigger !== void 0 ? void 0 : [
1449
- styles12.container,
1450
- isHamburger ? styles12.containerHamburger : isCaret ? styles12.containerMenu : null,
1582
+ styles14.container,
1583
+ isHamburger ? styles14.containerHamburger : isCaret ? styles14.containerMenu : null,
1451
1584
  { borderColor: colors.border, backgroundColor: colors.surface }
1452
1585
  ],
1453
1586
  [colors.border, colors.surface, renderTrigger, isHamburger, isCaret]
1454
1587
  );
1455
1588
  const hamburgerStyle = useMemo(
1456
- () => [styles12.hamburger, { color: colors.textSecondary }],
1589
+ () => [styles14.hamburger, { color: colors.textSecondary }],
1457
1590
  [colors.textSecondary]
1458
1591
  );
1459
1592
  const caretStyle = useMemo(
1460
1593
  () => [
1461
- styles12.caret,
1594
+ styles14.caret,
1462
1595
  { color: colors.textSecondary, transform: [{ rotate: isOpen ? CARET_OPEN_ROTATION : CARET_CLOSED_ROTATION }] }
1463
1596
  ],
1464
1597
  [colors.textSecondary, isOpen]
@@ -1468,11 +1601,11 @@ var ModalDropdown = ({
1468
1601
  [optionTestID, testID]
1469
1602
  );
1470
1603
  const anchorStyle = useMemo(
1471
- () => [styles12.anchor, buildAnchorStackStyle(isMenu && isOpen)],
1604
+ () => [styles14.anchor, buildAnchorStackStyle(isMenu && isOpen)],
1472
1605
  [isMenu, isOpen]
1473
1606
  );
1474
1607
  const modalContentStyle = useMemo(
1475
- () => [styles12.modalContent, { backgroundColor: colors.surface }],
1608
+ () => [styles14.modalContent, { backgroundColor: colors.surface }],
1476
1609
  [colors.surface]
1477
1610
  );
1478
1611
  const renderModalOption = useCallback(
@@ -1493,11 +1626,11 @@ var ModalDropdown = ({
1493
1626
  /* @__PURE__ */ jsxs(TouchableOpacity, { ...a11yProps, ...popupProps, ref: triggerRef, style: containerStyle, onPress: handleToggle, children: [
1494
1627
  renderTrigger !== void 0 ? renderTrigger({ label: selectedLabel, isOpen }) : isHamburger ? /* @__PURE__ */ jsxs(Fragment, { children: [
1495
1628
  /* @__PURE__ */ jsx(Text, { style: hamburgerStyle, children: HAMBURGER_GLYPH }),
1496
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles12.selectedText, styles12.selectedTextMenu, { color: colors.text }], children: selectedLabel })
1629
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles14.selectedText, styles14.selectedTextMenu, { color: colors.text }], children: selectedLabel })
1497
1630
  ] }) : isCaret ? /* @__PURE__ */ jsxs(Fragment, { children: [
1498
- /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles12.selectedText, styles12.selectedTextMenu, { color: colors.text }], children: selectedLabel }),
1631
+ /* @__PURE__ */ jsx(Text, { numberOfLines: 1, style: [styles14.selectedText, styles14.selectedTextMenu, { color: colors.text }], children: selectedLabel }),
1499
1632
  /* @__PURE__ */ jsx(Text, { style: caretStyle, children: CARET_GLYPH })
1500
- ] }) : /* @__PURE__ */ jsx(Text, { style: [styles12.selectedText, { color: colors.text }], children: selectedLabel }),
1633
+ ] }) : /* @__PURE__ */ jsx(Text, { style: [styles14.selectedText, { color: colors.text }], children: selectedLabel }),
1501
1634
  hintNode
1502
1635
  ] }),
1503
1636
  isMenu && menuAnim.mounted ? /* @__PURE__ */ jsx(
@@ -1518,7 +1651,7 @@ var ModalDropdown = ({
1518
1651
  onSelect: handleSelect
1519
1652
  }
1520
1653
  ) : null,
1521
- !isMenu ? /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxs(View, { style: styles12.modalOverlay, children: [
1654
+ !isMenu ? /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: modalAnim.mounted, onRequestClose: handleClose, children: /* @__PURE__ */ jsxs(View, { style: styles14.modalOverlay, children: [
1522
1655
  /* @__PURE__ */ jsx(
1523
1656
  TouchableOpacity,
1524
1657
  {
@@ -1611,7 +1744,7 @@ var ROW_PAD_V = 8;
1611
1744
  var PANEL_PAD_TOP = 16;
1612
1745
  var BORDER_WIDTH5 = 1;
1613
1746
  var TEXT_ON_PRIMARY = "#ffffff";
1614
- var styles13 = StyleSheet.create({
1747
+ var styles15 = StyleSheet.create({
1615
1748
  root: {
1616
1749
  width: "100%"
1617
1750
  },
@@ -1665,7 +1798,7 @@ var WideTabStrip = ({
1665
1798
  textSecondary,
1666
1799
  surfaceElevated,
1667
1800
  stripStyle
1668
- }) => /* @__PURE__ */ jsx(View, { style: [styles13.stripOuter, { borderBottomColor: borderColor }], children: /* @__PURE__ */ jsx(ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, children: /* @__PURE__ */ jsx(View, { accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles13.strip, stripStyle], children: tabs.map((tab) => {
1801
+ }) => /* @__PURE__ */ jsx(View, { style: [styles15.stripOuter, { borderBottomColor: borderColor }], children: /* @__PURE__ */ jsx(ScrollView, { horizontal: true, showsHorizontalScrollIndicator: false, children: /* @__PURE__ */ jsx(View, { accessibilityRole: "tablist", "aria-label": accessibilityLabel, style: [styles15.strip, stripStyle], children: tabs.map((tab) => {
1669
1802
  const selected = tab.key === activeKey;
1670
1803
  const textColor = selected ? TEXT_ON_PRIMARY : textSecondary;
1671
1804
  const pillColor = selected ? primaryColor : surfaceElevated;
@@ -1679,10 +1812,10 @@ var WideTabStrip = ({
1679
1812
  accessibilityLabel: tab.accessibilityLabel ?? tab.label,
1680
1813
  accessibilityHint: tab.accessibilityHint,
1681
1814
  onPress: () => onChange(tab.key),
1682
- style: [styles13.pill, { backgroundColor: pillColor }],
1815
+ style: [styles15.pill, { backgroundColor: pillColor }],
1683
1816
  testID: tab.testID,
1684
1817
  ...ariaTabProps(selected, panelId, tabId),
1685
- children: /* @__PURE__ */ jsx(Text, { style: [styles13.pillText, { color: textColor }], children: tab.label })
1818
+ children: /* @__PURE__ */ jsx(Text, { style: [styles15.pillText, { color: textColor }], children: tab.label })
1686
1819
  },
1687
1820
  tab.key
1688
1821
  );
@@ -1707,7 +1840,7 @@ var Tabs = ({
1707
1840
  const activePanelId = `${idPrefix}-panel-${activeKey}`;
1708
1841
  const activeTabId = `${idPrefix}-tab-${activeKey}`;
1709
1842
  const panelAria = { "aria-labelledby": activeTabId, id: activePanelId };
1710
- return /* @__PURE__ */ jsxs(View, { style: [styles13.root, style], testID, children: [
1843
+ return /* @__PURE__ */ jsxs(View, { style: [styles15.root, style], testID, children: [
1711
1844
  collapsed ? /* @__PURE__ */ jsx(
1712
1845
  TabsMenu,
1713
1846
  {
@@ -1734,7 +1867,7 @@ var Tabs = ({
1734
1867
  onChange
1735
1868
  }
1736
1869
  ),
1737
- /* @__PURE__ */ jsx(View, { accessibilityRole: "none", style: [styles13.panel, panelStyle], ...panelAria, children })
1870
+ /* @__PURE__ */ jsx(View, { accessibilityRole: "none", style: [styles15.panel, panelStyle], ...panelAria, children })
1738
1871
  ] });
1739
1872
  };
1740
1873
  var PROMPT_PADDING = 20;
@@ -1749,7 +1882,7 @@ var DISMISS_FONT_SIZE = 13;
1749
1882
  var TITLE_MARGIN_BOTTOM = 8;
1750
1883
  var MESSAGE_MARGIN_BOTTOM = 16;
1751
1884
  var CTA_MARGIN_BOTTOM = 8;
1752
- var styles14 = StyleSheet.create({
1885
+ var styles16 = StyleSheet.create({
1753
1886
  container: {
1754
1887
  padding: PROMPT_PADDING,
1755
1888
  borderRadius: PROMPT_BORDER_RADIUS,
@@ -1784,21 +1917,21 @@ var UpgradePrompt = ({
1784
1917
  return /* @__PURE__ */ jsxs(
1785
1918
  View,
1786
1919
  {
1787
- style: [styles14.container, { borderColor: primary, backgroundColor: colors.surface }],
1920
+ style: [styles16.container, { borderColor: primary, backgroundColor: colors.surface }],
1788
1921
  testID: LAYOUT_TEST_IDS.upgradePrompt,
1789
1922
  children: [
1790
- /* @__PURE__ */ jsx(Text, { style: [styles14.title, { color: colors.text }], children: t(LAYOUT_I18N.upgradePromptTitle) }),
1791
- /* @__PURE__ */ jsx(Text, { style: [styles14.message, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptMessage, requiredTier, currentTier) }),
1923
+ /* @__PURE__ */ jsx(Text, { style: [styles16.title, { color: colors.text }], children: t(LAYOUT_I18N.upgradePromptTitle) }),
1924
+ /* @__PURE__ */ jsx(Text, { style: [styles16.message, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptMessage, requiredTier, currentTier) }),
1792
1925
  /* @__PURE__ */ jsx(
1793
1926
  TouchableOpacity,
1794
1927
  {
1795
1928
  accessibilityHint: t(LAYOUT_I18N.upgradePromptCtaHint),
1796
1929
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptCta),
1797
1930
  accessibilityRole: "button",
1798
- style: [styles14.cta, { backgroundColor: primary }],
1931
+ style: [styles16.cta, { backgroundColor: primary }],
1799
1932
  testID: LAYOUT_TEST_IDS.upgradePromptCta,
1800
1933
  onPress: handleUpgradePress,
1801
- children: /* @__PURE__ */ jsx(Text, { style: [styles14.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
1934
+ children: /* @__PURE__ */ jsx(Text, { style: [styles16.ctaText, { color: colors.surface }], children: t(LAYOUT_I18N.upgradePromptCta) })
1802
1935
  }
1803
1936
  ),
1804
1937
  onDismiss ? /* @__PURE__ */ jsx(
@@ -1807,10 +1940,10 @@ var UpgradePrompt = ({
1807
1940
  accessibilityHint: t(LAYOUT_I18N.upgradePromptDismissHint),
1808
1941
  accessibilityLabel: t(LAYOUT_I18N.upgradePromptDismiss),
1809
1942
  accessibilityRole: "button",
1810
- style: styles14.dismiss,
1943
+ style: styles16.dismiss,
1811
1944
  testID: LAYOUT_TEST_IDS.upgradePromptDismiss,
1812
1945
  onPress: onDismiss,
1813
- children: /* @__PURE__ */ jsx(Text, { style: [styles14.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
1946
+ children: /* @__PURE__ */ jsx(Text, { style: [styles16.dismissText, { color: colors.textSecondary }], children: t(LAYOUT_I18N.upgradePromptDismiss) })
1814
1947
  }
1815
1948
  ) : null
1816
1949
  ]
@@ -1819,7 +1952,7 @@ var UpgradePrompt = ({
1819
1952
  };
1820
1953
  var CLOSE_ICON_SIZE = 18;
1821
1954
  var PANEL_ENTER_SCALE2 = 0.96;
1822
- var styles15 = StyleSheet.create({
1955
+ var styles17 = StyleSheet.create({
1823
1956
  animatedFill: { flex: 1 },
1824
1957
  container: {
1825
1958
  flex: 1,
@@ -1848,8 +1981,8 @@ var ModalShell = ({
1848
1981
  }) => {
1849
1982
  const { theme, t } = useUi();
1850
1983
  const { style: sheetStyle, mounted } = useEnterExit({ visible, fromScale: PANEL_ENTER_SCALE2 });
1851
- const containerStyle = React14.useMemo(
1852
- () => [styles15.container, { backgroundColor: theme.colors.background }, contentStyle],
1984
+ const containerStyle = React16.useMemo(
1985
+ () => [styles17.container, { backgroundColor: theme.colors.background }, contentStyle],
1853
1986
  [theme.colors.background, contentStyle]
1854
1987
  );
1855
1988
  const closeA11yLabel = t(LAYOUT_I18N.close);
@@ -1861,7 +1994,7 @@ var ModalShell = ({
1861
1994
  testID: LAYOUT_TEST_IDS.modalShell,
1862
1995
  visible: mounted,
1863
1996
  onRequestClose: onCancel,
1864
- children: /* @__PURE__ */ jsx(Animated.View, { style: [styles15.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxs(
1997
+ children: /* @__PURE__ */ jsx(Animated.View, { style: [styles17.animatedFill, sheetStyle], children: /* @__PURE__ */ jsxs(
1865
1998
  ScrollView,
1866
1999
  {
1867
2000
  accessibilityViewIsModal: true,
@@ -1869,7 +2002,7 @@ var ModalShell = ({
1869
2002
  role: "dialog",
1870
2003
  style: containerStyle,
1871
2004
  children: [
1872
- /* @__PURE__ */ jsxs(View, { style: styles15.headerRow, children: [
2005
+ /* @__PURE__ */ jsxs(View, { style: styles17.headerRow, children: [
1873
2006
  /* @__PURE__ */ jsx(Heading, { children: title ?? t(LAYOUT_I18N.closeHeading) }),
1874
2007
  showClose ? /* @__PURE__ */ jsx(
1875
2008
  TouchableOpacity,
@@ -1877,7 +2010,7 @@ var ModalShell = ({
1877
2010
  accessibilityHint: t(LAYOUT_I18N.closeDialogHint),
1878
2011
  accessibilityLabel: closeA11yLabel,
1879
2012
  accessibilityRole: "button",
1880
- style: styles15.closeButton,
2013
+ style: styles17.closeButton,
1881
2014
  testID: LAYOUT_TEST_IDS.modalShellClose,
1882
2015
  onPress: onCancel,
1883
2016
  children: /* @__PURE__ */ jsx(SvgIcon, { color: theme.colors.textSecondary, name: "close", size: CLOSE_ICON_SIZE })
@@ -1894,7 +2027,7 @@ var ModalShell = ({
1894
2027
  var SHEET_WIDTH = 560;
1895
2028
  var PHONE_CORNER = 16;
1896
2029
  var PHONE_ENTER_OFFSET = 24;
1897
- var styles16 = StyleSheet.create({
2030
+ var styles18 = StyleSheet.create({
1898
2031
  root: { flex: 1 },
1899
2032
  scrim: { backgroundColor: MODAL_OVERLAY_COLOR, pointerEvents: "none" },
1900
2033
  sheet: { position: "absolute", bottom: 0, overflow: "hidden" },
@@ -1931,8 +2064,8 @@ var SideSheet = ({
1931
2064
  useEscapeKey(visible, onClose);
1932
2065
  useScrollLock(visible);
1933
2066
  const hardwareBackClose = Platform.OS === "web" ? void 0 : onClose;
1934
- return /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: panel.mounted || backdrop.mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxs(View, { style: styles16.root, children: [
1935
- /* @__PURE__ */ jsx(Animated.View, { style: [StyleSheet.absoluteFill, styles16.scrim, { opacity: backdrop.style.opacity }] }),
2067
+ return /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: panel.mounted || backdrop.mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxs(View, { style: styles18.root, children: [
2068
+ /* @__PURE__ */ jsx(Animated.View, { style: [StyleSheet.absoluteFill, styles18.scrim, { opacity: backdrop.style.opacity }] }),
1936
2069
  /* @__PURE__ */ jsx(
1937
2070
  Pressable,
1938
2071
  {
@@ -1953,17 +2086,17 @@ var SideSheet = ({
1953
2086
  "aria-label": accessibilityLabel ?? title,
1954
2087
  role: "dialog",
1955
2088
  style: [
1956
- styles16.sheet,
1957
- isWide ? styles16.wide : styles16.phone,
2089
+ styles18.sheet,
2090
+ isWide ? styles18.wide : styles18.phone,
1958
2091
  edges,
1959
2092
  { backgroundColor: theme.colors.surface },
1960
2093
  panel.style
1961
2094
  ],
1962
2095
  testID,
1963
2096
  children: [
1964
- /* @__PURE__ */ jsx(View, { style: styles16.title, children: /* @__PURE__ */ jsx(AppText, { kind: "title" /* Title */, children: title }) }),
1965
- /* @__PURE__ */ jsx(ScrollView, { contentContainerStyle: styles16.content, style: styles16.scroll, children }),
1966
- /* @__PURE__ */ jsx(View, { style: [styles16.bar, edges], children: footer })
2097
+ /* @__PURE__ */ jsx(View, { style: styles18.title, children: /* @__PURE__ */ jsx(AppText, { kind: "title" /* Title */, children: title }) }),
2098
+ /* @__PURE__ */ jsx(ScrollView, { contentContainerStyle: styles18.content, style: styles18.scroll, children }),
2099
+ /* @__PURE__ */ jsx(View, { style: [styles18.bar, edges], children: footer })
1967
2100
  ]
1968
2101
  }
1969
2102
  )
@@ -1975,7 +2108,7 @@ var WIDE_MAX_WIDTH = 560;
1975
2108
  var TOP_CORNER = 16;
1976
2109
  var ENTER_OFFSET = 24;
1977
2110
  var CLOSE_ICON_SIZE2 = 18;
1978
- var styles17 = StyleSheet.create({
2111
+ var styles19 = StyleSheet.create({
1979
2112
  root: { flex: 1 },
1980
2113
  backdrop: { backgroundColor: MODAL_OVERLAY_COLOR, pointerEvents: "none" },
1981
2114
  panel: {
@@ -2017,8 +2150,8 @@ var BottomSheet = ({
2017
2150
  useEscapeKey(visible, onClose);
2018
2151
  useScrollLock(visible);
2019
2152
  const hardwareBackClose = Platform.OS === "web" ? void 0 : onClose;
2020
- return /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: panel.mounted || backdrop.mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxs(View, { style: styles17.root, children: [
2021
- /* @__PURE__ */ jsx(Animated.View, { style: [StyleSheet.absoluteFill, styles17.backdrop, { opacity: backdrop.style.opacity }] }),
2153
+ return /* @__PURE__ */ jsx(Modal$1, { transparent: true, visible: panel.mounted || backdrop.mounted, onRequestClose: hardwareBackClose, children: /* @__PURE__ */ jsxs(View, { style: styles19.root, children: [
2154
+ /* @__PURE__ */ jsx(Animated.View, { style: [StyleSheet.absoluteFill, styles19.backdrop, { opacity: backdrop.style.opacity }] }),
2022
2155
  /* @__PURE__ */ jsx(
2023
2156
  Pressable,
2024
2157
  {
@@ -2039,31 +2172,31 @@ var BottomSheet = ({
2039
2172
  "aria-label": accessibilityLabel ?? title,
2040
2173
  role: "dialog",
2041
2174
  style: [
2042
- styles17.panel,
2043
- isWide ? styles17.wide : null,
2175
+ styles19.panel,
2176
+ isWide ? styles19.wide : null,
2044
2177
  panelSize,
2045
2178
  { backgroundColor: theme.colors.surface },
2046
2179
  panel.style
2047
2180
  ],
2048
2181
  testID,
2049
2182
  children: [
2050
- /* @__PURE__ */ jsxs(View, { style: styles17.header, children: [
2051
- /* @__PURE__ */ jsx(View, { style: styles17.title, children: /* @__PURE__ */ jsx(AppText, { kind: "title" /* Title */, children: title }) }),
2183
+ /* @__PURE__ */ jsxs(View, { style: styles19.header, children: [
2184
+ /* @__PURE__ */ jsx(View, { style: styles19.title, children: /* @__PURE__ */ jsx(AppText, { kind: "title" /* Title */, children: title }) }),
2052
2185
  /* @__PURE__ */ jsx(
2053
2186
  TouchableOpacity,
2054
2187
  {
2055
2188
  accessibilityHint: t(LAYOUT_I18N.closeDialogHint),
2056
2189
  accessibilityLabel: t(LAYOUT_I18N.dialogClose),
2057
2190
  accessibilityRole: "button",
2058
- style: styles17.close,
2191
+ style: styles19.close,
2059
2192
  testID: `${testID}-close`,
2060
2193
  onPress: onClose,
2061
2194
  children: /* @__PURE__ */ jsx(SvgIcon, { color: theme.colors.textSecondary, name: "close", size: CLOSE_ICON_SIZE2 })
2062
2195
  }
2063
2196
  )
2064
2197
  ] }),
2065
- /* @__PURE__ */ jsx(ScrollView, { contentContainerStyle: styles17.content, style: styles17.body, children }),
2066
- hasFooter ? /* @__PURE__ */ jsx(View, { style: [styles17.footer, { borderColor: theme.colors.border }], testID: `${testID}-footer`, children: footer }) : null
2198
+ /* @__PURE__ */ jsx(ScrollView, { contentContainerStyle: styles19.content, style: styles19.body, children }),
2199
+ hasFooter ? /* @__PURE__ */ jsx(View, { style: [styles19.footer, { borderColor: theme.colors.border }], testID: `${testID}-footer`, children: footer }) : null
2067
2200
  ]
2068
2201
  }
2069
2202
  )
@@ -2079,7 +2212,7 @@ var ConfirmDialogFocus = /* @__PURE__ */ ((ConfirmDialogFocus2) => {
2079
2212
  })(ConfirmDialogFocus || {});
2080
2213
  var MESSAGE_FONT_SIZE2 = 14;
2081
2214
  var MESSAGE_LINE_HEIGHT = 20;
2082
- var styles18 = StyleSheet.create({
2215
+ var styles20 = StyleSheet.create({
2083
2216
  message: { fontSize: MESSAGE_FONT_SIZE2, lineHeight: MESSAGE_LINE_HEIGHT }
2084
2217
  });
2085
2218
  var ConfirmDialog = ({
@@ -2093,14 +2226,16 @@ var ConfirmDialog = ({
2093
2226
  onCancel,
2094
2227
  busy = false,
2095
2228
  initialFocus = "cancel" /* Cancel */,
2096
- testID = LAYOUT_TEST_IDS.confirmDialog
2229
+ testID = LAYOUT_TEST_IDS.confirmDialog,
2230
+ confirmTestID = `${testID}-confirm`,
2231
+ cancelTestID = `${testID}-cancel`
2097
2232
  }) => {
2098
2233
  const { theme, t } = useUi();
2099
2234
  const resolvedConfirm = confirmLabel ?? t(LAYOUT_I18N.confirm);
2100
2235
  const resolvedCancel = cancelLabel ?? t(LAYOUT_I18N.cancel);
2101
2236
  const focusTestID = {
2102
- ["cancel" /* Cancel */]: `${testID}-cancel`,
2103
- ["confirm" /* Confirm */]: `${testID}-confirm`,
2237
+ ["cancel" /* Cancel */]: cancelTestID,
2238
+ ["confirm" /* Confirm */]: confirmTestID,
2104
2239
  ["none" /* None */]: testID
2105
2240
  };
2106
2241
  const footer = /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -2111,7 +2246,7 @@ var ConfirmDialog = ({
2111
2246
  accessibilityLabel: resolvedCancel,
2112
2247
  disabled: busy,
2113
2248
  label: resolvedCancel,
2114
- testID: `${testID}-cancel`,
2249
+ testID: cancelTestID,
2115
2250
  variant: "secondary",
2116
2251
  onPress: onCancel
2117
2252
  }
@@ -2123,7 +2258,7 @@ var ConfirmDialog = ({
2123
2258
  accessibilityLabel: resolvedConfirm,
2124
2259
  label: resolvedConfirm,
2125
2260
  loading: busy,
2126
- testID: `${testID}-confirm`,
2261
+ testID: confirmTestID,
2127
2262
  variant: destructive ? "danger" : "primary",
2128
2263
  onPress: onConfirm
2129
2264
  }
@@ -2140,7 +2275,7 @@ var ConfirmDialog = ({
2140
2275
  title,
2141
2276
  visible,
2142
2277
  onClose: onCancel,
2143
- children: /* @__PURE__ */ jsx(Text, { style: [styles18.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
2278
+ children: /* @__PURE__ */ jsx(Text, { style: [styles20.message, { color: theme.colors.text }], testID: `${testID}-message`, children: message })
2144
2279
  }
2145
2280
  );
2146
2281
  };
@@ -2160,11 +2295,11 @@ var WebFormBody = ({ children, visible, onSubmit }) => {
2160
2295
  [onSubmit]
2161
2296
  );
2162
2297
  if (Platform.OS !== "web") return /* @__PURE__ */ jsx(Fragment, { children });
2163
- return React14.createElement(
2298
+ return React16.createElement(
2164
2299
  "form",
2165
2300
  { ref: formRef, noValidate: true, style: FORM_STYLE, onSubmit: handleSubmit },
2166
2301
  children,
2167
- React14.createElement("button", { type: "submit", hidden: true, tabIndex: -1, "aria-hidden": true })
2302
+ React16.createElement("button", { type: "submit", hidden: true, tabIndex: -1, "aria-hidden": true })
2168
2303
  );
2169
2304
  };
2170
2305
  var FormDialogActions = (props) => /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -2234,14 +2369,14 @@ function useAccordionContext() {
2234
2369
  return value;
2235
2370
  }
2236
2371
  var BOXED_GAP = 12;
2237
- var styles19 = StyleSheet.create({
2372
+ var styles21 = StyleSheet.create({
2238
2373
  container: { alignSelf: "stretch" },
2239
2374
  boxed: { gap: BOXED_GAP }
2240
2375
  });
2241
2376
  function computeInitialOpen(children, defaultOpenIds, allowMultiple) {
2242
2377
  const ids = new Set(defaultOpenIds ?? []);
2243
- React14.Children.forEach(children, (child) => {
2244
- if (!React14.isValidElement(child)) return;
2378
+ React16.Children.forEach(children, (child) => {
2379
+ if (!React16.isValidElement(child)) return;
2245
2380
  const props = child.props;
2246
2381
  if (props.defaultOpen === true && typeof props.id === "string") {
2247
2382
  ids.add(props.id);
@@ -2291,7 +2426,7 @@ var Accordion = ({
2291
2426
  [openSet, toggle, allowMultiple, variant]
2292
2427
  );
2293
2428
  const containerStyle = useMemo(() => {
2294
- const base = variant === "boxed" ? [styles19.container, styles19.boxed] : [styles19.container];
2429
+ const base = variant === "boxed" ? [styles21.container, styles21.boxed] : [styles21.container];
2295
2430
  if (style === void 0) return base;
2296
2431
  return [...base, ...Array.isArray(style) ? style : [style]];
2297
2432
  }, [style, variant]);
@@ -2323,7 +2458,7 @@ var BOX_TITLE_FONT_SIZE = 14;
2323
2458
  var BOX_MARKER_FONT_SIZE = 13;
2324
2459
  var BOX_MARKER_GAP = 6;
2325
2460
  var BOX_MARKER = "\u25B8";
2326
- var styles20 = StyleSheet.create({
2461
+ var styles22 = StyleSheet.create({
2327
2462
  item: { borderTopWidth: StyleSheet.hairlineWidth },
2328
2463
  boxItem: { borderWidth: 1, borderRadius: BOX_BORDER_RADIUS, paddingHorizontal: BOX_PADDING_H },
2329
2464
  header: {
@@ -2399,19 +2534,19 @@ var AccordionItem = ({
2399
2534
  );
2400
2535
  const keyboardProps = Platform.OS === "web" ? { onKeyDown: handleKeyDown2 } : {};
2401
2536
  const itemStyle = useMemo(
2402
- () => boxed ? [styles20.boxItem, { borderColor: colors.border }] : [styles20.item, { borderTopColor: colors.border }],
2537
+ () => boxed ? [styles22.boxItem, { borderColor: colors.border }] : [styles22.item, { borderTopColor: colors.border }],
2403
2538
  [boxed, colors.border]
2404
2539
  );
2405
2540
  const headerStyle = useMemo(
2406
2541
  () => [
2407
- styles20.header,
2408
- ...boxed ? [styles20.boxHeader] : [],
2542
+ styles22.header,
2543
+ ...boxed ? [styles22.boxHeader] : [],
2409
2544
  { opacity: disabled ? DISABLED_OPACITY : FULL_OPACITY }
2410
2545
  ],
2411
2546
  [boxed, disabled]
2412
2547
  );
2413
2548
  const resolvedLabel = accessibilityLabel ?? (typeof title === "string" ? title : void 0);
2414
- const titleNode = typeof title === "string" ? /* @__PURE__ */ jsx(Text, { style: [boxed ? styles20.boxTitle : styles20.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
2549
+ const titleNode = typeof title === "string" ? /* @__PURE__ */ jsx(Text, { style: [boxed ? styles22.boxTitle : styles22.title, { color: boxed ? colors.textSecondary : colors.text }], children: title }) : title;
2415
2550
  return /* @__PURE__ */ jsxs(View, { style: itemStyle, children: [
2416
2551
  /* @__PURE__ */ jsxs(
2417
2552
  Pressable,
@@ -2428,7 +2563,7 @@ var AccordionItem = ({
2428
2563
  onPress: handlePress,
2429
2564
  ...keyboardProps,
2430
2565
  children: [
2431
- /* @__PURE__ */ jsxs(View, { style: [styles20.headerLeft, boxed ? styles20.headerLeftRow : null], children: [
2566
+ /* @__PURE__ */ jsxs(View, { style: [styles22.headerLeft, boxed ? styles22.headerLeftRow : null], children: [
2432
2567
  boxed ? (
2433
2568
  // Decorative — the open/closed state is already conveyed by aria-expanded on the header.
2434
2569
  /* @__PURE__ */ jsx(
@@ -2437,15 +2572,15 @@ var AccordionItem = ({
2437
2572
  accessibilityElementsHidden: true,
2438
2573
  "aria-hidden": true,
2439
2574
  importantForAccessibility: "no-hide-descendants",
2440
- style: [styles20.marker, { transform: [{ rotate }] }],
2575
+ style: [styles22.marker, { transform: [{ rotate }] }],
2441
2576
  testID: chevronTestID,
2442
- children: /* @__PURE__ */ jsx(Text, { style: [styles20.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
2577
+ children: /* @__PURE__ */ jsx(Text, { style: [styles22.markerText, { color: colors.textSecondary }], children: BOX_MARKER })
2443
2578
  }
2444
2579
  )
2445
2580
  ) : null,
2446
2581
  titleNode
2447
2582
  ] }),
2448
- /* @__PURE__ */ jsxs(View, { style: styles20.headerRight, children: [
2583
+ /* @__PURE__ */ jsxs(View, { style: styles22.headerRight, children: [
2449
2584
  right,
2450
2585
  boxed ? null : /* @__PURE__ */ jsx(
2451
2586
  Animated.View,
@@ -2453,7 +2588,7 @@ var AccordionItem = ({
2453
2588
  accessibilityElementsHidden: true,
2454
2589
  "aria-hidden": true,
2455
2590
  importantForAccessibility: "no-hide-descendants",
2456
- style: [styles20.chevron, { transform: [{ rotate }] }],
2591
+ style: [styles22.chevron, { transform: [{ rotate }] }],
2457
2592
  children: /* @__PURE__ */ jsx(SvgIcon, { color: colors.textSecondary, name: "chevronDown", size: CHEVRON_SIZE, testID: chevronTestID })
2458
2593
  }
2459
2594
  )
@@ -2467,7 +2602,7 @@ var AccordionItem = ({
2467
2602
  accessibilityLabel: resolvedLabel,
2468
2603
  nativeID: bodyTestID,
2469
2604
  role: ROLE_REGION,
2470
- style: boxed ? styles20.boxBody : styles20.body,
2605
+ style: boxed ? styles22.boxBody : styles22.body,
2471
2606
  testID: bodyTestID,
2472
2607
  children
2473
2608
  }
@@ -2530,7 +2665,7 @@ function useAvailableWidth() {
2530
2665
  var AVG_CHAR_WIDTH_RATIO = 0.58;
2531
2666
  var DEFAULT_FONT_SIZE2 = 13;
2532
2667
  var UNMEASURED2 = 0;
2533
- var styles21 = StyleSheet.create({
2668
+ var styles23 = StyleSheet.create({
2534
2669
  base: { fontSize: DEFAULT_FONT_SIZE2 },
2535
2670
  /** `minWidth: 0` lets the text shrink inside a flex row instead of forcing the row wider. */
2536
2671
  fill: { flexShrink: 1, minWidth: 0 }
@@ -2561,7 +2696,7 @@ var TruncatedText = ({
2561
2696
  [value, measureRef]
2562
2697
  );
2563
2698
  const flatStyle = useMemo(
2564
- () => StyleSheet.flatten([styles21.base, style]),
2699
+ () => StyleSheet.flatten([styles23.base, style]),
2565
2700
  [style]
2566
2701
  );
2567
2702
  const fontSize = flatStyle.fontSize ?? DEFAULT_FONT_SIZE2;
@@ -2576,7 +2711,7 @@ var TruncatedText = ({
2576
2711
  ref: attachRef,
2577
2712
  onLayout,
2578
2713
  numberOfLines: 1,
2579
- style: [styles21.base, styles21.fill, style],
2714
+ style: [styles23.base, styles23.fill, style],
2580
2715
  testID,
2581
2716
  accessibilityRole: onPress !== void 0 || href !== void 0 ? "link" : "text",
2582
2717
  accessibilityLabel,
@@ -2679,7 +2814,7 @@ var LABEL_LETTER_SPACING = 0.4;
2679
2814
  var ACTION_PADDING_H = 6;
2680
2815
  var ACTION_PADDING_V = 2;
2681
2816
  var ACTION_RADIUS = 6;
2682
- var styles22 = StyleSheet.create({
2817
+ var styles24 = StyleSheet.create({
2683
2818
  cell: { gap: CELL_GAP },
2684
2819
  label: {
2685
2820
  fontSize: LABEL_FONT_SIZE,
@@ -2744,14 +2879,14 @@ var CopyableId = ({
2744
2879
  const { colors } = theme;
2745
2880
  const { status, copy } = useCopyToClipboard(value, writer);
2746
2881
  const action = useActionState(status);
2747
- return /* @__PURE__ */ jsxs(View, { style: [styles22.cell, style], testID, children: [
2748
- label !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles22.label, { color: colors.textSecondary }], children: label }),
2749
- /* @__PURE__ */ jsxs(View, { style: styles22.row, children: [
2750
- /* @__PURE__ */ jsx(View, { style: styles22.valueWrap, children: /* @__PURE__ */ jsx(
2882
+ return /* @__PURE__ */ jsxs(View, { style: [styles24.cell, style], testID, children: [
2883
+ label !== void 0 && /* @__PURE__ */ jsx(Text, { style: [styles24.label, { color: colors.textSecondary }], children: label }),
2884
+ /* @__PURE__ */ jsxs(View, { style: styles24.row, children: [
2885
+ /* @__PURE__ */ jsx(View, { style: styles24.valueWrap, children: /* @__PURE__ */ jsx(
2751
2886
  TruncatedText,
2752
2887
  {
2753
2888
  value,
2754
- style: [styles22.value, { color: colors.text }],
2889
+ style: [styles24.value, { color: colors.text }],
2755
2890
  testID: `${testID}-value`,
2756
2891
  accessibilityLabel: accessibilityLabel ?? value,
2757
2892
  accessibilityHint: t(LAYOUT_I18N.copyableIdHint)
@@ -2765,7 +2900,7 @@ var CopyableId = ({
2765
2900
  accessibilityLabel: t(action.key),
2766
2901
  accessibilityHint: t(LAYOUT_I18N.copyHint),
2767
2902
  testID: `${testID}-copy`,
2768
- style: [styles22.action, { color: action.color }],
2903
+ style: [styles24.action, { color: action.color }],
2769
2904
  children: t(action.key)
2770
2905
  }
2771
2906
  )
@@ -2820,7 +2955,7 @@ var FOOTER_PADDING_V = 6;
2820
2955
  var FOOTER_PADDING_H = 12;
2821
2956
  var FOOTER_FONT_SIZE = 11;
2822
2957
  var FOOTER_OPACITY = 0.75;
2823
- var styles23 = StyleSheet.create({
2958
+ var styles25 = StyleSheet.create({
2824
2959
  footer: {
2825
2960
  paddingVertical: FOOTER_PADDING_V,
2826
2961
  paddingHorizontal: FOOTER_PADDING_H,
@@ -2846,7 +2981,7 @@ var BuildInfoFooter = ({
2846
2981
  const commit = apiCommit ?? fetchedCommit;
2847
2982
  const label = formatBuildInfo(buildVersion, commit);
2848
2983
  const textStyle = useMemo(
2849
- () => [styles23.text, { color: theme.colors.textSecondary }],
2984
+ () => [styles25.text, { color: theme.colors.textSecondary }],
2850
2985
  [theme.colors.textSecondary]
2851
2986
  );
2852
2987
  return /* @__PURE__ */ jsx(
@@ -2854,7 +2989,7 @@ var BuildInfoFooter = ({
2854
2989
  {
2855
2990
  accessibilityLabel: accessibilityLabel ?? label,
2856
2991
  accessibilityHint: accessibilityHint ?? t(LAYOUT_I18N.buildInfoHint),
2857
- style: [styles23.footer, style],
2992
+ style: [styles25.footer, style],
2858
2993
  testID,
2859
2994
  children: /* @__PURE__ */ jsx(Text, { style: textStyle, children: label })
2860
2995
  }
@@ -2865,7 +3000,7 @@ var BORDER = 2;
2865
3000
  var GLYPH_SIZE = 14;
2866
3001
  var GLYPH_LINE = 16;
2867
3002
  var TICK = "\u2713";
2868
- var styles24 = StyleSheet.create({
3003
+ var styles26 = StyleSheet.create({
2869
3004
  circle: {
2870
3005
  width: SIZE,
2871
3006
  height: SIZE,
@@ -2882,9 +3017,9 @@ var CheckMark = ({ filled, accent, ring, glyphColor, testID }) => /* @__PURE__ *
2882
3017
  "aria-hidden": true,
2883
3018
  accessibilityElementsHidden: true,
2884
3019
  importantForAccessibility: "no-hide-descendants",
2885
- style: [styles24.circle, { borderColor: filled ? accent : ring, backgroundColor: filled ? accent : void 0 }],
3020
+ style: [styles26.circle, { borderColor: filled ? accent : ring, backgroundColor: filled ? accent : void 0 }],
2886
3021
  testID,
2887
- children: filled ? /* @__PURE__ */ jsx(Text, { style: [styles24.glyph, { color: glyphColor }], children: TICK }) : null
3022
+ children: filled ? /* @__PURE__ */ jsx(Text, { style: [styles26.glyph, { color: glyphColor }], children: TICK }) : null
2888
3023
  }
2889
3024
  );
2890
3025
  var ListRowToneContext = createContext(null);
@@ -3007,7 +3142,7 @@ var PAD_V = 12;
3007
3142
  var GAP = 4;
3008
3143
  var MARK_GAP = 12;
3009
3144
  var LINE_GAP = 8;
3010
- var styles25 = StyleSheet.create({
3145
+ var styles27 = StyleSheet.create({
3011
3146
  row: {
3012
3147
  flexDirection: "row",
3013
3148
  alignItems: "center",
@@ -3031,7 +3166,7 @@ function focusTarget(event) {
3031
3166
  }
3032
3167
  function slot(node, color, strong) {
3033
3168
  if (typeof node !== "string") return node;
3034
- return /* @__PURE__ */ jsx(Text, { style: [styles25.shrink, strong ? styles25.strong : null, { color }], children: node });
3169
+ return /* @__PURE__ */ jsx(Text, { style: [styles27.shrink, strong ? styles27.strong : null, { color }], children: node });
3035
3170
  }
3036
3171
  var ListRow = ({
3037
3172
  title,
@@ -3063,7 +3198,7 @@ var ListRow = ({
3063
3198
  style: (state) => {
3064
3199
  const { pressed, hovered } = state;
3065
3200
  const look = resolveRowLook(selectedStyle, { selected, pressed, focused, hovered: hovered === true }, palette);
3066
- return [styles25.row, { borderTopColor: colors.border }, look.container];
3201
+ return [styles27.row, { borderTopColor: colors.border }, look.container];
3067
3202
  },
3068
3203
  testID,
3069
3204
  onBlur: () => {
@@ -3076,14 +3211,14 @@ var ListRow = ({
3076
3211
  ...pressedProps(selected),
3077
3212
  children: [
3078
3213
  rest.showCheck ? /* @__PURE__ */ jsx(CheckMark, { accent: palette.accent, filled: rest.checkFilled, glyphColor: palette.background, ring: palette.border, testID: checkTestId }) : null,
3079
- /* @__PURE__ */ jsxs(View, { style: styles25.body, children: [
3080
- /* @__PURE__ */ jsxs(View, { style: styles25.line, children: [
3214
+ /* @__PURE__ */ jsxs(View, { style: styles27.body, children: [
3215
+ /* @__PURE__ */ jsxs(View, { style: styles27.line, children: [
3081
3216
  slot(title, rest.titleColor, true),
3082
3217
  slot(trailing, rest.textColor, true)
3083
3218
  ] }),
3084
- /* @__PURE__ */ jsxs(View, { style: styles25.line, children: [
3085
- /* @__PURE__ */ jsx(View, { style: styles25.shrink, children: slot(meta, rest.textColor, false) }),
3086
- badges === void 0 ? null : /* @__PURE__ */ jsx(View, { style: styles25.badges, children: badges })
3219
+ /* @__PURE__ */ jsxs(View, { style: styles27.line, children: [
3220
+ /* @__PURE__ */ jsx(View, { style: styles27.shrink, children: slot(meta, rest.textColor, false) }),
3221
+ badges === void 0 ? null : /* @__PURE__ */ jsx(View, { style: styles27.badges, children: badges })
3087
3222
  ] })
3088
3223
  ] })
3089
3224
  ]
@@ -3093,6 +3228,6 @@ var ListRow = ({
3093
3228
  ] });
3094
3229
  };
3095
3230
 
3096
- export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, AppText, BUILD_INFO_PREFIX, BottomSheet, BuildInfoFooter, COPY_FEEDBACK_MS, ConfirmDialog, ConfirmDialogFocus, CopyStatus, CopyableId, DEFAULT_BILLING_ROUTE, DropdownVariant, ELLIPSIS, FormDialog, HEADER_STACK_BREAKPOINT, Heading, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, ListRow, MIN_TARGET_PX, MODAL_FOOTER_STACK_BELOW, Modal, ModalDropdown, ModalShell, PageFrame, RowSelectedStyle, ScreenColumn, Section, SectionVariant, SegmentedControl, SelectedMarker, SideSheet, StatusBadge, StickyPreview, TYPE_SCALE_BREAKPOINT, Tabs, TabsCollapsedTrigger, TextKind, TruncatedText, UpgradePrompt, copyText, formatBuildInfo, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isWideWebViewport, pageScale, resolveRowLook, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
3231
+ export { A4_PAGE, API_COMMIT_SEPARATOR, Accordion, AccordionItem, AppText, BUILD_INFO_PREFIX, BadgeTone, BottomSheet, BuildInfoFooter, COPY_FEEDBACK_MS, ConfirmDialog, ConfirmDialogFocus, CopyStatus, CopyableId, CountBadge, DEFAULT_BILLING_ROUTE, DropdownVariant, ELLIPSIS, FormDialog, HEADER_STACK_BREAKPOINT, Heading, LAYOUT_COLLAPSE_BREAKPOINT, LAYOUT_I18N, LAYOUT_TEST_IDS, ListRow, MIN_TARGET_PX, MODAL_FOOTER_STACK_BELOW, Modal, ModalDropdown, ModalShell, PageFrame, RowSelectedStyle, ScreenColumn, Section, SectionVariant, SegmentedControl, SelectedMarker, SideSheet, SplitLayout, SplitPanes, StatusBadge, StickyPreview, TYPE_SCALE_BREAKPOINT, Tabs, TabsCollapsedTrigger, TextKind, TruncatedText, UpgradePrompt, copyText, formatBuildInfo, formatCount, formatUrlForDisplay, isKeyboardOpen, isModalFooterStacked, isSplitSideBySide, isWideWebViewport, pageScale, resolveRowLook, resolveToneColors, scaledFrame, shortenCommit, trimTrailingSlash, truncateMiddle, useApiCommit, useCopyToClipboard, useFocusTrap, useIsWideViewport, useListRowTone, useVisibleViewport };
3097
3232
  //# sourceMappingURL=index.mjs.map
3098
3233
  //# sourceMappingURL=index.mjs.map