@poolse/react-native 2.25.1 → 2.26.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.cjs CHANGED
@@ -1487,6 +1487,74 @@ var styles7 = reactNative.StyleSheet.create({
1487
1487
  letterSpacing: 0.3
1488
1488
  }
1489
1489
  });
1490
+ function LiveCallBanner({ call, inCall, onJoin }) {
1491
+ const theme = usePoolseTheme();
1492
+ const what = call.media === "video" ? "Video call in progress" : "Voice call in progress";
1493
+ const who = inCall > 0 ? `${inCall} on the call` : "Ringing";
1494
+ return /* @__PURE__ */ jsxRuntime.jsxs(
1495
+ reactNative.View,
1496
+ {
1497
+ style: [styles8.bar, { backgroundColor: theme.colors.success }],
1498
+ accessibilityRole: "summary",
1499
+ accessibilityLabel: `${what}, ${who}`,
1500
+ children: [
1501
+ /* @__PURE__ */ jsxRuntime.jsx(
1502
+ PoolseIcon,
1503
+ {
1504
+ name: call.media === "video" ? "video" : "phone",
1505
+ size: 16,
1506
+ color: "#FFFFFF",
1507
+ label: null
1508
+ }
1509
+ ),
1510
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles8.text, children: [
1511
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles8.title, { fontFamily: theme.type.fontBody }], numberOfLines: 1, children: what }),
1512
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles8.meta, { fontFamily: theme.type.fontBody }], numberOfLines: 1, children: who })
1513
+ ] }),
1514
+ /* @__PURE__ */ jsxRuntime.jsx(
1515
+ reactNative.Pressable,
1516
+ {
1517
+ onPress: () => onJoin(call),
1518
+ accessibilityRole: "button",
1519
+ accessibilityLabel: "Join call",
1520
+ hitSlop: 8,
1521
+ style: ({ pressed }) => [styles8.join, pressed && styles8.joinPressed],
1522
+ children: /* @__PURE__ */ jsxRuntime.jsx(
1523
+ reactNative.Text,
1524
+ {
1525
+ style: [
1526
+ styles8.joinText,
1527
+ { color: theme.colors.success, fontFamily: theme.type.fontBody }
1528
+ ],
1529
+ children: "Join"
1530
+ }
1531
+ )
1532
+ }
1533
+ )
1534
+ ]
1535
+ }
1536
+ );
1537
+ }
1538
+ var styles8 = reactNative.StyleSheet.create({
1539
+ bar: {
1540
+ flexDirection: "row",
1541
+ alignItems: "center",
1542
+ gap: 10,
1543
+ paddingHorizontal: 16,
1544
+ paddingVertical: 8
1545
+ },
1546
+ text: { flex: 1, minWidth: 0 },
1547
+ title: { color: "#FFFFFF", fontSize: 14, fontWeight: "600" },
1548
+ meta: { color: "rgba(255,255,255,0.85)", fontSize: 12 },
1549
+ join: {
1550
+ backgroundColor: "#FFFFFF",
1551
+ borderRadius: 999,
1552
+ paddingHorizontal: 16,
1553
+ paddingVertical: 6
1554
+ },
1555
+ joinPressed: { opacity: 0.8 },
1556
+ joinText: { fontSize: 14, fontWeight: "700" }
1557
+ });
1490
1558
  function UploadQueueStrip() {
1491
1559
  const theme = usePoolseTheme();
1492
1560
  const upload = useSharedUpload();
@@ -1497,8 +1565,8 @@ function UploadQueueStrip() {
1497
1565
  {
1498
1566
  horizontal: true,
1499
1567
  showsHorizontalScrollIndicator: false,
1500
- contentContainerStyle: styles8.scroll,
1501
- style: [styles8.scrollStyle, { marginBottom: 8 }],
1568
+ contentContainerStyle: styles9.scroll,
1569
+ style: [styles9.scrollStyle, { marginBottom: 8 }],
1502
1570
  children: upload.queue.map((item) => {
1503
1571
  const isError = item.status === "error";
1504
1572
  const isUploading = item.status === "uploading" || item.status === "pending";
@@ -1509,7 +1577,7 @@ function UploadQueueStrip() {
1509
1577
  if (item.status === "ready" || isError) upload.remove(item.localId);
1510
1578
  else upload.cancel(item.localId);
1511
1579
  };
1512
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles8.tileWrap, children: [
1580
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles9.tileWrap, children: [
1513
1581
  isImage && previewUri ? /* @__PURE__ */ jsxRuntime.jsx(ImageTile, { uri: previewUri, uploading: isUploading, error: isError }) : /* @__PURE__ */ jsxRuntime.jsx(
1514
1582
  FileTile,
1515
1583
  {
@@ -1524,13 +1592,13 @@ function UploadQueueStrip() {
1524
1592
  {
1525
1593
  onPress: handleClose,
1526
1594
  hitSlop: 8,
1527
- style: styles8.closeBtn,
1595
+ style: styles9.closeBtn,
1528
1596
  accessibilityLabel: isError ? "Remove failed upload" : "Cancel upload",
1529
1597
  children: /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "close", size: 11, color: "#fff" })
1530
1598
  }
1531
1599
  ) : null,
1532
- isUploading ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles8.progressOverlay, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles8.spinner, { borderColor: theme.colors.onBrand }] }) }) : null,
1533
- isError ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles8.errorOverlay, { backgroundColor: "rgba(229,72,77,0.85)" }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles8.errorText, { color: "#fff" }], children: "Failed" }) }) : null
1600
+ isUploading ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles9.progressOverlay, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles9.spinner, { borderColor: theme.colors.onBrand }] }) }) : null,
1601
+ isError ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles9.errorOverlay, { backgroundColor: "rgba(229,72,77,0.85)" }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles9.errorText, { color: "#fff" }], children: "Failed" }) }) : null
1534
1602
  ] }, item.localId);
1535
1603
  })
1536
1604
  }
@@ -1543,7 +1611,7 @@ function ImageTile({ uri, uploading, error }) {
1543
1611
  {
1544
1612
  source: { uri },
1545
1613
  style: [
1546
- styles8.imageTile,
1614
+ styles9.imageTile,
1547
1615
  {
1548
1616
  backgroundColor: theme.colors.surface2,
1549
1617
  borderColor: error ? theme.colors.error : "transparent",
@@ -1565,24 +1633,24 @@ function FileTile({
1565
1633
  reactNative.View,
1566
1634
  {
1567
1635
  style: [
1568
- styles8.fileTile,
1636
+ styles9.fileTile,
1569
1637
  {
1570
1638
  backgroundColor: theme.colors.surface2,
1571
1639
  borderColor: error ? theme.colors.error : uploading ? theme.colors.brand : theme.colors.border
1572
1640
  }
1573
1641
  ],
1574
1642
  children: [
1575
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles8.fileIconBox, { backgroundColor: theme.colors.brandSoft }], children: /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "attachment", size: 18, color: theme.colors.brand }) }),
1576
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles8.fileInfo, children: [
1643
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles9.fileIconBox, { backgroundColor: theme.colors.brandSoft }], children: /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "attachment", size: 18, color: theme.colors.brand }) }),
1644
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles9.fileInfo, children: [
1577
1645
  /* @__PURE__ */ jsxRuntime.jsx(
1578
1646
  reactNative.Text,
1579
1647
  {
1580
- style: [styles8.fileName, { color: theme.colors.ink, fontFamily: theme.type.fontBody }],
1648
+ style: [styles9.fileName, { color: theme.colors.ink, fontFamily: theme.type.fontBody }],
1581
1649
  numberOfLines: 1,
1582
1650
  children: filename
1583
1651
  }
1584
1652
  ),
1585
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles8.fileSize, { color: theme.colors.ink3 }], children: formatBytes(size) })
1653
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles9.fileSize, { color: theme.colors.ink3 }], children: formatBytes(size) })
1586
1654
  ] })
1587
1655
  ]
1588
1656
  }
@@ -1596,7 +1664,7 @@ function formatBytes(n) {
1596
1664
  return `${(n / 1024 / 1024 / 1024).toFixed(1)} GB`;
1597
1665
  }
1598
1666
  var TILE = 64;
1599
- var styles8 = reactNative.StyleSheet.create({
1667
+ var styles9 = reactNative.StyleSheet.create({
1600
1668
  scrollStyle: {
1601
1669
  overflow: "visible"
1602
1670
  },
@@ -1800,7 +1868,7 @@ var MessageComposer = react.forwardRef(
1800
1868
  reactNative.View,
1801
1869
  {
1802
1870
  style: [
1803
- styles9.wrap,
1871
+ styles10.wrap,
1804
1872
  {
1805
1873
  backgroundColor: theme.colors.surface,
1806
1874
  borderTopColor: theme.colors.border,
@@ -1823,13 +1891,13 @@ var MessageComposer = react.forwardRef(
1823
1891
  }
1824
1892
  ) : null,
1825
1893
  attachments && !isEditing ? /* @__PURE__ */ jsxRuntime.jsx(UploadQueueStrip, {}) : null,
1826
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles9.row, children: [
1894
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles10.row, children: [
1827
1895
  attachments && onAttachPress ? /* @__PURE__ */ jsxRuntime.jsx(
1828
1896
  reactNative.Pressable,
1829
1897
  {
1830
1898
  onPress: onAttachPress,
1831
1899
  hitSlop: 8,
1832
- style: styles9.iconBtn,
1900
+ style: styles10.iconBtn,
1833
1901
  accessibilityLabel: "Attach file",
1834
1902
  children: /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "attachment", size: 22, color: theme.colors.ink2 })
1835
1903
  }
@@ -1848,7 +1916,7 @@ var MessageComposer = react.forwardRef(
1848
1916
  multiline: true,
1849
1917
  editable: !disabled,
1850
1918
  style: [
1851
- styles9.input,
1919
+ styles10.input,
1852
1920
  {
1853
1921
  color: theme.colors.ink,
1854
1922
  backgroundColor: theme.colors.surface2,
@@ -1865,7 +1933,7 @@ var MessageComposer = react.forwardRef(
1865
1933
  onPress: handleSend,
1866
1934
  disabled: submitDisabled,
1867
1935
  style: [
1868
- styles9.sendBtn,
1936
+ styles10.sendBtn,
1869
1937
  {
1870
1938
  backgroundColor: submitDisabled ? theme.colors.ink3 : theme.colors.brand,
1871
1939
  opacity: submitDisabled ? 0.6 : 1
@@ -1887,7 +1955,7 @@ function EditChip({ message, onCancel }) {
1887
1955
  reactNative.View,
1888
1956
  {
1889
1957
  style: [
1890
- styles9.replyChip,
1958
+ styles10.replyChip,
1891
1959
  {
1892
1960
  backgroundColor: theme.colors.surface2,
1893
1961
  borderLeftColor: theme.colors.brand
@@ -1895,10 +1963,10 @@ function EditChip({ message, onCancel }) {
1895
1963
  ],
1896
1964
  children: [
1897
1965
  /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: { flex: 1 }, children: [
1898
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles9.replyName, { color: theme.colors.brand }], children: "Editing message" }),
1899
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles9.replyBody, { color: theme.colors.ink2 }], numberOfLines: 1, children: message.body ?? "\u2026" })
1966
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.replyName, { color: theme.colors.brand }], children: "Editing message" }),
1967
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.replyBody, { color: theme.colors.ink2 }], numberOfLines: 1, children: message.body ?? "\u2026" })
1900
1968
  ] }),
1901
- onCancel ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: onCancel, hitSlop: 8, style: styles9.replyCancel, children: /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "close", size: 16, color: theme.colors.ink2 }) }) : null
1969
+ onCancel ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: onCancel, hitSlop: 8, style: styles10.replyCancel, children: /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "close", size: 16, color: theme.colors.ink2 }) }) : null
1902
1970
  ]
1903
1971
  }
1904
1972
  );
@@ -1915,7 +1983,7 @@ function ReplyChip({
1915
1983
  reactNative.View,
1916
1984
  {
1917
1985
  style: [
1918
- styles9.replyChip,
1986
+ styles10.replyChip,
1919
1987
  {
1920
1988
  backgroundColor: theme.colors.surface2,
1921
1989
  borderLeftColor: theme.colors.brand
@@ -1923,18 +1991,18 @@ function ReplyChip({
1923
1991
  ],
1924
1992
  children: [
1925
1993
  /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: { flex: 1 }, children: [
1926
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: [styles9.replyName, { color: theme.colors.brand }], children: [
1994
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: [styles10.replyName, { color: theme.colors.brand }], children: [
1927
1995
  "Replying to ",
1928
1996
  senderName
1929
1997
  ] }),
1930
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles9.replyBody, { color: theme.colors.ink2 }], numberOfLines: 1, children: message.body ?? "\u2026" })
1998
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.replyBody, { color: theme.colors.ink2 }], numberOfLines: 1, children: message.body ?? "\u2026" })
1931
1999
  ] }),
1932
- onCancel ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: onCancel, hitSlop: 8, style: styles9.replyCancel, children: /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "close", size: 16, color: theme.colors.ink2 }) }) : null
2000
+ onCancel ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: onCancel, hitSlop: 8, style: styles10.replyCancel, children: /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "close", size: 16, color: theme.colors.ink2 }) }) : null
1933
2001
  ]
1934
2002
  }
1935
2003
  );
1936
2004
  }
1937
- var styles9 = reactNative.StyleSheet.create({
2005
+ var styles10 = reactNative.StyleSheet.create({
1938
2006
  wrap: {
1939
2007
  borderTopWidth: reactNative.StyleSheet.hairlineWidth,
1940
2008
  paddingTop: 8,
@@ -2034,11 +2102,11 @@ function MentionInput({ conversationId, onSend, ...composerProps }) {
2034
2102
  animationType: "slide",
2035
2103
  onRequestClose: () => setPickerOpen(false),
2036
2104
  ...EDGE_TO_EDGE_MODAL,
2037
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.KeyboardAvoidingView, { style: styles10.kav, behavior: "padding", children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: styles10.backdrop, onPress: () => setPickerOpen(false), children: /* @__PURE__ */ jsxRuntime.jsxs(
2105
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.KeyboardAvoidingView, { style: styles11.kav, behavior: "padding", children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: styles11.backdrop, onPress: () => setPickerOpen(false), children: /* @__PURE__ */ jsxRuntime.jsxs(
2038
2106
  reactNative.View,
2039
2107
  {
2040
2108
  style: [
2041
- styles10.sheet,
2109
+ styles11.sheet,
2042
2110
  {
2043
2111
  backgroundColor: theme.colors.surface,
2044
2112
  borderTopLeftRadius: theme.radii.lg,
@@ -2054,7 +2122,7 @@ function MentionInput({ conversationId, onSend, ...composerProps }) {
2054
2122
  /* @__PURE__ */ jsxRuntime.jsx(
2055
2123
  reactNative.Text,
2056
2124
  {
2057
- style: [styles10.title, { color: theme.colors.ink, fontFamily: theme.type.fontBody }],
2125
+ style: [styles11.title, { color: theme.colors.ink, fontFamily: theme.type.fontBody }],
2058
2126
  children: "Mention a member"
2059
2127
  }
2060
2128
  ),
@@ -2086,12 +2154,12 @@ function MentionInput({ conversationId, onSend, ...composerProps }) {
2086
2154
  }
2087
2155
  function MentionRow({ member, onPress }) {
2088
2156
  const theme = usePoolseTheme();
2089
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Pressable, { onPress, style: styles10.row, children: [
2157
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Pressable, { onPress, style: styles11.row, children: [
2090
2158
  /* @__PURE__ */ jsxRuntime.jsx(Avatar, { src: null, name: member.external_id, seed: member.external_id, size: "sm" }),
2091
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles10.rowText, { color: theme.colors.ink, fontFamily: theme.type.fontBody }], children: member.external_id })
2159
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles11.rowText, { color: theme.colors.ink, fontFamily: theme.type.fontBody }], children: member.external_id })
2092
2160
  ] });
2093
2161
  }
2094
- var styles10 = reactNative.StyleSheet.create({
2162
+ var styles11 = reactNative.StyleSheet.create({
2095
2163
  kav: {
2096
2164
  flex: 1
2097
2165
  },
@@ -2174,12 +2242,12 @@ function MessageList({
2174
2242
  [renderItem, data.length]
2175
2243
  );
2176
2244
  if (loading && messages.length === 0) {
2177
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles11.placeholder, { backgroundColor: theme.colors.paper }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.ActivityIndicator, { color: theme.colors.brand }) });
2245
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles12.placeholder, { backgroundColor: theme.colors.paper }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.ActivityIndicator, { color: theme.colors.brand }) });
2178
2246
  }
2179
2247
  if (messages.length === 0) {
2180
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles11.placeholder, { backgroundColor: theme.colors.paper }], children: typeof emptyState === "string" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: { color: theme.colors.ink3, fontFamily: theme.type.fontBody }, children: emptyState }) : emptyState ?? null });
2248
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles12.placeholder, { backgroundColor: theme.colors.paper }], children: typeof emptyState === "string" ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: { color: theme.colors.ink3, fontFamily: theme.type.fontBody }, children: emptyState }) : emptyState ?? null });
2181
2249
  }
2182
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles11.root, children: [
2250
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles12.root, children: [
2183
2251
  /* @__PURE__ */ jsxRuntime.jsx(
2184
2252
  reactNative.FlatList,
2185
2253
  {
@@ -2206,7 +2274,7 @@ function MessageList({
2206
2274
  {
2207
2275
  onPress: scrollToBottom,
2208
2276
  style: [
2209
- styles11.jumpButton,
2277
+ styles12.jumpButton,
2210
2278
  {
2211
2279
  backgroundColor: theme.colors.brand
2212
2280
  },
@@ -2215,7 +2283,7 @@ function MessageList({
2215
2283
  accessibilityLabel: `${newCount} new ${newCount === 1 ? "message" : "messages"}, jump to latest`,
2216
2284
  children: [
2217
2285
  /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "chevron-down", size: 14, color: theme.colors.onBrand }),
2218
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: [styles11.jumpText, { color: theme.colors.onBrand }], children: [
2286
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: [styles12.jumpText, { color: theme.colors.onBrand }], children: [
2219
2287
  newCount,
2220
2288
  " new ",
2221
2289
  newCount === 1 ? "message" : "messages"
@@ -2225,7 +2293,7 @@ function MessageList({
2225
2293
  ) : null
2226
2294
  ] });
2227
2295
  }
2228
- var styles11 = reactNative.StyleSheet.create({
2296
+ var styles12 = reactNative.StyleSheet.create({
2229
2297
  root: {
2230
2298
  flex: 1
2231
2299
  },
@@ -2251,64 +2319,90 @@ var styles11 = reactNative.StyleSheet.create({
2251
2319
  fontWeight: "600"
2252
2320
  }
2253
2321
  });
2254
- function CallLogRow({ msg, meId }) {
2322
+ function CallLogRow({ msg, meId, onCallBack }) {
2255
2323
  const theme = usePoolseTheme();
2256
2324
  const display = react$1.callLogDisplayFor(msg, meId);
2257
2325
  if (!display) return null;
2258
2326
  const accent = display.missed ? theme.colors.error : theme.colors.ink3;
2259
2327
  const time = formatTime(msg.inserted_at);
2260
2328
  const label = [display.title, display.detail, time].filter(Boolean).join(", ");
2261
- const metaStyle = [styles12.meta, { color: theme.colors.ink3, fontFamily: theme.type.fontBody }];
2262
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles12.wrap, accessible: true, accessibilityLabel: label, children: /* @__PURE__ */ jsxRuntime.jsxs(
2263
- reactNative.View,
2264
- {
2265
- style: [
2266
- styles12.chip,
2267
- {
2268
- backgroundColor: theme.colors.surface2,
2269
- borderColor: theme.colors.border
2270
- }
2271
- ],
2272
- children: [
2273
- /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: display.media === "video" ? "video" : "phone", size: 13, color: accent }),
2274
- /* @__PURE__ */ jsxRuntime.jsx(
2329
+ const metaStyle = [styles13.meta, { color: theme.colors.ink3, fontFamily: theme.type.fontBody }];
2330
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles13.wrap, accessible: true, accessibilityLabel: label, children: [
2331
+ /* @__PURE__ */ jsxRuntime.jsxs(
2332
+ reactNative.View,
2333
+ {
2334
+ style: [
2335
+ styles13.chip,
2336
+ {
2337
+ backgroundColor: theme.colors.surface2,
2338
+ borderColor: theme.colors.border
2339
+ }
2340
+ ],
2341
+ children: [
2342
+ /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: display.media === "video" ? "video" : "phone", size: 13, color: accent }),
2343
+ /* @__PURE__ */ jsxRuntime.jsx(
2344
+ reactNative.Text,
2345
+ {
2346
+ style: [
2347
+ styles13.title,
2348
+ {
2349
+ color: display.missed ? theme.colors.error : theme.colors.ink2,
2350
+ fontFamily: theme.type.fontBody
2351
+ }
2352
+ ],
2353
+ numberOfLines: 1,
2354
+ children: display.title
2355
+ }
2356
+ ),
2357
+ display.detail ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: metaStyle, children: [
2358
+ "\xB7 ",
2359
+ display.detail
2360
+ ] }) : null,
2361
+ time ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: metaStyle, children: [
2362
+ "\xB7 ",
2363
+ time
2364
+ ] }) : null
2365
+ ]
2366
+ }
2367
+ ),
2368
+ display.callBack && onCallBack ? /* @__PURE__ */ jsxRuntime.jsx(
2369
+ reactNative.Pressable,
2370
+ {
2371
+ onPress: () => onCallBack(display.media),
2372
+ accessibilityRole: "button",
2373
+ accessibilityLabel: display.media === "video" ? "Video call back" : "Call back",
2374
+ hitSlop: 8,
2375
+ style: ({ pressed }) => [styles13.callBack, pressed && styles13.callBackPressed],
2376
+ children: /* @__PURE__ */ jsxRuntime.jsx(
2275
2377
  reactNative.Text,
2276
2378
  {
2277
2379
  style: [
2278
- styles12.title,
2279
- {
2280
- color: display.missed ? theme.colors.error : theme.colors.ink2,
2281
- fontFamily: theme.type.fontBody
2282
- }
2380
+ styles13.callBackText,
2381
+ { color: theme.colors.brand, fontFamily: theme.type.fontBody }
2283
2382
  ],
2284
- numberOfLines: 1,
2285
- children: display.title
2383
+ children: "Call back"
2286
2384
  }
2287
- ),
2288
- display.detail ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: metaStyle, children: [
2289
- "\xB7 ",
2290
- display.detail
2291
- ] }) : null,
2292
- time ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: metaStyle, children: [
2293
- "\xB7 ",
2294
- time
2295
- ] }) : null
2296
- ]
2297
- }
2298
- ) });
2385
+ )
2386
+ }
2387
+ ) : null
2388
+ ] });
2299
2389
  }
2300
2390
  function formatTime(iso) {
2301
2391
  const d = new Date(iso);
2302
2392
  if (Number.isNaN(d.getTime())) return "";
2303
2393
  return d.toLocaleTimeString([], { hour: "numeric", minute: "2-digit" });
2304
2394
  }
2305
- var styles12 = reactNative.StyleSheet.create({
2395
+ var styles13 = reactNative.StyleSheet.create({
2306
2396
  wrap: {
2307
2397
  alignItems: "center",
2308
2398
  alignSelf: "stretch",
2309
2399
  marginVertical: 6,
2310
- paddingHorizontal: 16
2400
+ paddingHorizontal: 16,
2401
+ gap: 4
2311
2402
  },
2403
+ callBack: { paddingHorizontal: 10, paddingVertical: 2 },
2404
+ callBackPressed: { opacity: 0.6 },
2405
+ callBackText: { fontSize: 12, fontWeight: "600" },
2312
2406
  chip: {
2313
2407
  flexDirection: "row",
2314
2408
  alignItems: "center",
@@ -2366,11 +2460,11 @@ function MessageActions({
2366
2460
  animationType: "fade",
2367
2461
  onRequestClose: onClose,
2368
2462
  ...EDGE_TO_EDGE_MODAL,
2369
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: styles13.backdrop, onPress: onClose, children: /* @__PURE__ */ jsxRuntime.jsxs(
2463
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: styles14.backdrop, onPress: onClose, children: /* @__PURE__ */ jsxRuntime.jsxs(
2370
2464
  reactNative.View,
2371
2465
  {
2372
2466
  style: [
2373
- styles13.sheet,
2467
+ styles14.sheet,
2374
2468
  {
2375
2469
  backgroundColor: theme.colors.surface,
2376
2470
  borderTopLeftRadius: theme.radii.lg,
@@ -2383,21 +2477,21 @@ function MessageActions({
2383
2477
  theme.shadows.lg
2384
2478
  ],
2385
2479
  children: [
2386
- showEmojiRow ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles13.emojiRow, { borderBottomColor: theme.colors.border }], children: emojis.map((emoji) => /* @__PURE__ */ jsxRuntime.jsx(
2480
+ showEmojiRow ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles14.emojiRow, { borderBottomColor: theme.colors.border }], children: emojis.map((emoji) => /* @__PURE__ */ jsxRuntime.jsx(
2387
2481
  reactNative.Pressable,
2388
2482
  {
2389
2483
  onPress: () => {
2390
2484
  onPickReaction(emoji);
2391
2485
  onClose();
2392
2486
  },
2393
- style: styles13.emojiBtn,
2487
+ style: styles14.emojiBtn,
2394
2488
  hitSlop: 6,
2395
2489
  accessibilityLabel: `React with ${emoji}`,
2396
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles13.emoji, children: emoji })
2490
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles14.emoji, children: emoji })
2397
2491
  },
2398
2492
  emoji
2399
2493
  )) }) : null,
2400
- items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Pressable, { onPress: item.onPress, style: styles13.item, children: [
2494
+ items.map((item) => /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Pressable, { onPress: item.onPress, style: styles14.item, children: [
2401
2495
  /* @__PURE__ */ jsxRuntime.jsx(
2402
2496
  PoolseIcon,
2403
2497
  {
@@ -2410,7 +2504,7 @@ function MessageActions({
2410
2504
  reactNative.Text,
2411
2505
  {
2412
2506
  style: [
2413
- styles13.itemText,
2507
+ styles14.itemText,
2414
2508
  {
2415
2509
  color: item.danger ? theme.colors.error : theme.colors.ink,
2416
2510
  fontFamily: theme.type.fontBody
@@ -2426,7 +2520,7 @@ function MessageActions({
2426
2520
  }
2427
2521
  );
2428
2522
  }
2429
- var styles13 = reactNative.StyleSheet.create({
2523
+ var styles14 = reactNative.StyleSheet.create({
2430
2524
  backdrop: {
2431
2525
  flex: 1,
2432
2526
  backgroundColor: "rgba(0,0,0,0.35)",
@@ -2496,7 +2590,7 @@ function AttachmentPreview({
2496
2590
  reactNative.View,
2497
2591
  {
2498
2592
  style: [
2499
- styles14.imagePlaceholder,
2593
+ styles15.imagePlaceholder,
2500
2594
  {
2501
2595
  width: maxWidth,
2502
2596
  height: 200,
@@ -2516,7 +2610,7 @@ function AttachmentPreview({
2516
2610
  onPress,
2517
2611
  disabled: !onPress,
2518
2612
  style: [
2519
- styles14.fileCard,
2613
+ styles15.fileCard,
2520
2614
  {
2521
2615
  backgroundColor: onBrand ? "rgba(255,255,255,0.18)" : theme.colors.surface2,
2522
2616
  borderColor: onBrand ? "transparent" : theme.colors.border,
@@ -2529,12 +2623,12 @@ function AttachmentPreview({
2529
2623
  /* @__PURE__ */ jsxRuntime.jsx(
2530
2624
  reactNative.Text,
2531
2625
  {
2532
- style: [styles14.fileName, { color: ink, fontFamily: theme.type.fontBody }],
2626
+ style: [styles15.fileName, { color: ink, fontFamily: theme.type.fontBody }],
2533
2627
  numberOfLines: 1,
2534
2628
  children: attachment.original_filename ?? "file"
2535
2629
  }
2536
2630
  ),
2537
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles14.fileSize, { color: inkSoft, opacity: onBrand ? 0.8 : 1 }], children: formatBytes2(attachment.byte_size) })
2631
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles15.fileSize, { color: inkSoft, opacity: onBrand ? 0.8 : 1 }], children: formatBytes2(attachment.byte_size) })
2538
2632
  ] })
2539
2633
  ]
2540
2634
  }
@@ -2546,7 +2640,7 @@ function formatBytes2(n) {
2546
2640
  if (n < 1024 * 1024 * 1024) return `${(n / 1024 / 1024).toFixed(1)} MB`;
2547
2641
  return `${(n / 1024 / 1024 / 1024).toFixed(1)} GB`;
2548
2642
  }
2549
- var styles14 = reactNative.StyleSheet.create({
2643
+ var styles15 = reactNative.StyleSheet.create({
2550
2644
  imagePlaceholder: {},
2551
2645
  fileCard: {
2552
2646
  flexDirection: "row",
@@ -2582,7 +2676,7 @@ function ImageMosaic({
2582
2676
  reactNative.View,
2583
2677
  {
2584
2678
  style: [
2585
- styles15.root,
2679
+ styles16.root,
2586
2680
  {
2587
2681
  borderTopLeftRadius: r,
2588
2682
  borderTopRightRadius: r,
@@ -2603,18 +2697,18 @@ function ImageMosaic({
2603
2697
  {
2604
2698
  onLongPress,
2605
2699
  attachment: visible[0],
2606
- style: styles15.tileFull,
2700
+ style: styles16.tileFull,
2607
2701
  onPress: () => setViewerIndex(0),
2608
2702
  overlay: null
2609
2703
  }
2610
2704
  ) : null,
2611
- n === 2 ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles15.rowEven, children: [
2705
+ n === 2 ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.rowEven, children: [
2612
2706
  /* @__PURE__ */ jsxRuntime.jsx(
2613
2707
  Tile,
2614
2708
  {
2615
2709
  onLongPress,
2616
2710
  attachment: visible[0],
2617
- style: styles15.tileHalfSquare,
2711
+ style: styles16.tileHalfSquare,
2618
2712
  onPress: () => setViewerIndex(0),
2619
2713
  overlay: null
2620
2714
  }
@@ -2624,7 +2718,7 @@ function ImageMosaic({
2624
2718
  {
2625
2719
  onLongPress,
2626
2720
  attachment: visible[1],
2627
- style: styles15.tileHalfSquare,
2721
+ style: styles16.tileHalfSquare,
2628
2722
  onPress: () => setViewerIndex(1),
2629
2723
  overlay: null
2630
2724
  }
@@ -2636,18 +2730,18 @@ function ImageMosaic({
2636
2730
  {
2637
2731
  onLongPress,
2638
2732
  attachment: visible[0],
2639
- style: styles15.tileHero,
2733
+ style: styles16.tileHero,
2640
2734
  onPress: () => setViewerIndex(0),
2641
2735
  overlay: null
2642
2736
  }
2643
2737
  ),
2644
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles15.rowEven, { marginTop: 2 }], children: [
2738
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles16.rowEven, { marginTop: 2 }], children: [
2645
2739
  /* @__PURE__ */ jsxRuntime.jsx(
2646
2740
  Tile,
2647
2741
  {
2648
2742
  onLongPress,
2649
2743
  attachment: visible[1],
2650
- style: styles15.tileHalfSquare,
2744
+ style: styles16.tileHalfSquare,
2651
2745
  onPress: () => setViewerIndex(1),
2652
2746
  overlay: null
2653
2747
  }
@@ -2657,7 +2751,7 @@ function ImageMosaic({
2657
2751
  {
2658
2752
  onLongPress,
2659
2753
  attachment: visible[2],
2660
- style: styles15.tileHalfSquare,
2754
+ style: styles16.tileHalfSquare,
2661
2755
  onPress: () => setViewerIndex(2),
2662
2756
  overlay: null
2663
2757
  }
@@ -2665,13 +2759,13 @@ function ImageMosaic({
2665
2759
  ] })
2666
2760
  ] }) : null,
2667
2761
  n === 4 ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
2668
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles15.rowEven, children: [
2762
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.rowEven, children: [
2669
2763
  /* @__PURE__ */ jsxRuntime.jsx(
2670
2764
  Tile,
2671
2765
  {
2672
2766
  onLongPress,
2673
2767
  attachment: visible[0],
2674
- style: styles15.tileHalfSquare,
2768
+ style: styles16.tileHalfSquare,
2675
2769
  onPress: () => setViewerIndex(0),
2676
2770
  overlay: null
2677
2771
  }
@@ -2681,19 +2775,19 @@ function ImageMosaic({
2681
2775
  {
2682
2776
  onLongPress,
2683
2777
  attachment: visible[1],
2684
- style: styles15.tileHalfSquare,
2778
+ style: styles16.tileHalfSquare,
2685
2779
  onPress: () => setViewerIndex(1),
2686
2780
  overlay: null
2687
2781
  }
2688
2782
  )
2689
2783
  ] }),
2690
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles15.rowEven, { marginTop: 2 }], children: [
2784
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles16.rowEven, { marginTop: 2 }], children: [
2691
2785
  /* @__PURE__ */ jsxRuntime.jsx(
2692
2786
  Tile,
2693
2787
  {
2694
2788
  onLongPress,
2695
2789
  attachment: visible[2],
2696
- style: styles15.tileHalfSquare,
2790
+ style: styles16.tileHalfSquare,
2697
2791
  onPress: () => setViewerIndex(2),
2698
2792
  overlay: null
2699
2793
  }
@@ -2703,7 +2797,7 @@ function ImageMosaic({
2703
2797
  {
2704
2798
  onLongPress,
2705
2799
  attachment: visible[3],
2706
- style: styles15.tileHalfSquare,
2800
+ style: styles16.tileHalfSquare,
2707
2801
  onPress: () => setViewerIndex(3),
2708
2802
  overlay: overflow > 0 ? `+${overflow}` : null
2709
2803
  }
@@ -2741,18 +2835,18 @@ function Tile({
2741
2835
  }) {
2742
2836
  const theme = usePoolseTheme();
2743
2837
  const { url } = react$1.useAttachmentUrl(attachment.id);
2744
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Pressable, { onPress, onLongPress, style: [styles15.tileBase, style], children: [
2838
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Pressable, { onPress, onLongPress, style: [styles16.tileBase, style], children: [
2745
2839
  url ? /* @__PURE__ */ jsxRuntime.jsx(
2746
2840
  reactNative.Image,
2747
2841
  {
2748
2842
  source: { uri: url },
2749
- style: [styles15.tileImage, { backgroundColor: theme.colors.surface2 }],
2843
+ style: [styles16.tileImage, { backgroundColor: theme.colors.surface2 }],
2750
2844
  resizeMode: "cover",
2751
2845
  accessible: true,
2752
2846
  accessibilityLabel: attachment.original_filename ?? "image"
2753
2847
  }
2754
- ) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles15.tileImage, { backgroundColor: theme.colors.surface2 }] }),
2755
- overlay ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles15.overflow, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles15.overflowText, children: overlay }) }) : null
2848
+ ) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles16.tileImage, { backgroundColor: theme.colors.surface2 }] }),
2849
+ overlay ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles16.overflow, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles16.overflowText, children: overlay }) }) : null
2756
2850
  ] });
2757
2851
  }
2758
2852
  function FullScreenViewer({
@@ -2762,7 +2856,7 @@ function FullScreenViewer({
2762
2856
  const { url } = react$1.useAttachmentUrl(attachment.id);
2763
2857
  const { width, height } = reactNative.useWindowDimensions();
2764
2858
  const insets = useSafeInsets();
2765
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Pressable, { style: styles15.viewer, onPress: onClose, children: [
2859
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Pressable, { style: styles16.viewer, onPress: onClose, children: [
2766
2860
  url ? /* @__PURE__ */ jsxRuntime.jsx(
2767
2861
  reactNative.Image,
2768
2862
  {
@@ -2778,14 +2872,14 @@ function FullScreenViewer({
2778
2872
  {
2779
2873
  onPress: onClose,
2780
2874
  hitSlop: 12,
2781
- style: [styles15.closeBtn, { top: insets.top + 12, right: insets.right + 16 }],
2875
+ style: [styles16.closeBtn, { top: insets.top + 12, right: insets.right + 16 }],
2782
2876
  accessibilityLabel: "Close viewer",
2783
2877
  children: /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "close", size: 20, color: "#ffffff" })
2784
2878
  }
2785
2879
  )
2786
2880
  ] });
2787
2881
  }
2788
- var styles15 = reactNative.StyleSheet.create({
2882
+ var styles16 = reactNative.StyleSheet.create({
2789
2883
  root: {
2790
2884
  width: "100%",
2791
2885
  overflow: "hidden",
@@ -2974,22 +3068,22 @@ function MessageBubble({
2974
3068
  reactNative.View,
2975
3069
  {
2976
3070
  style: [
2977
- styles16.metaRow,
2978
- variant === "inline" && styles16.metaInline,
2979
- variant === "wrapped" && styles16.metaWrapped,
2980
- variant === "overlay" && styles16.metaOverlay,
2981
- variant === "block" && styles16.metaBlock,
3071
+ styles17.metaRow,
3072
+ variant === "inline" && styles17.metaInline,
3073
+ variant === "wrapped" && styles17.metaWrapped,
3074
+ variant === "overlay" && styles17.metaOverlay,
3075
+ variant === "block" && styles17.metaBlock,
2982
3076
  // File-only bubble: the meta row follows the cards directly —
2983
3077
  // give it air so the time doesn't sit glued to the card.
2984
- variant === "block" && hasFiles && !hasBody && styles16.metaBlockAfterFiles,
2985
- variant === "jumbo" && styles16.metaJumbo
3078
+ variant === "block" && hasFiles && !hasBody && styles17.metaBlockAfterFiles,
3079
+ variant === "jumbo" && styles17.metaJumbo
2986
3080
  ],
2987
3081
  onLayout: variant === "inline" || variant === "wrapped" ? (e) => setMetaWidth(e.nativeEvent.layout.width) : void 0,
2988
3082
  pointerEvents: "none",
2989
3083
  children: [
2990
- isEdited ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.editedTag, { color, opacity: 0.8 }], children: "edited" }) : null,
2991
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.meta, { color, opacity: variant === "overlay" ? 1 : 0.75 }], children: time }),
2992
- isSelf && readState ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles16.readTick, children: /* @__PURE__ */ jsxRuntime.jsx(
3084
+ isEdited ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.editedTag, { color, opacity: 0.8 }], children: "edited" }) : null,
3085
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.meta, { color, opacity: variant === "overlay" ? 1 : 0.75 }], children: time }),
3086
+ isSelf && readState ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles17.readTick, children: /* @__PURE__ */ jsxRuntime.jsx(
2993
3087
  PoolseIcon,
2994
3088
  {
2995
3089
  name: readState === "read" ? "check-double" : "check",
@@ -3001,7 +3095,7 @@ function MessageBubble({
3001
3095
  }
3002
3096
  );
3003
3097
  };
3004
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles16.wrap, { alignSelf: isSelf ? "flex-end" : "flex-start", maxWidth: bubbleMaxWidth }], children: [
3098
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles17.wrap, { alignSelf: isSelf ? "flex-end" : "flex-start", maxWidth: bubbleMaxWidth }], children: [
3005
3099
  /* @__PURE__ */ jsxRuntime.jsxs(
3006
3100
  reactNative.View,
3007
3101
  {
@@ -3021,7 +3115,7 @@ function MessageBubble({
3021
3115
  showSenderName && !isSelf && jumboCount === 0 && (groupPosition === "first" || groupPosition === "standalone") ? /* @__PURE__ */ jsxRuntime.jsx(
3022
3116
  reactNative.Text,
3023
3117
  {
3024
- style: [styles16.senderName, { color: senderTint, fontFamily: theme.type.fontBody }],
3118
+ style: [styles17.senderName, { color: senderTint, fontFamily: theme.type.fontBody }],
3025
3119
  children: senderLabel
3026
3120
  }
3027
3121
  ) : null,
@@ -3038,7 +3132,7 @@ function MessageBubble({
3038
3132
  // 3px of bubble color framing the picture; the mosaic clips
3039
3133
  // itself 3px tighter than the bubble so the curves stay
3040
3134
  // concentric.
3041
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles16.mediaFrame, children: [
3135
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles17.mediaFrame, children: [
3042
3136
  /* @__PURE__ */ jsxRuntime.jsx(
3043
3137
  ImageMosaic,
3044
3138
  {
@@ -3052,7 +3146,7 @@ function MessageBubble({
3052
3146
  metaOverlay ? metaRow("overlay") : null
3053
3147
  ] })
3054
3148
  ) : null,
3055
- hasFiles ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles16.filesBlock, children: files.map((att) => /* @__PURE__ */ jsxRuntime.jsx(
3149
+ hasFiles ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles17.filesBlock, children: files.map((att) => /* @__PURE__ */ jsxRuntime.jsx(
3056
3150
  AttachmentPreview,
3057
3151
  {
3058
3152
  attachment: att,
@@ -3061,7 +3155,7 @@ function MessageBubble({
3061
3155
  },
3062
3156
  att.id
3063
3157
  )) }) : null,
3064
- isDeleted ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles16.textBlock, sectionAbove && styles16.textBlockAfter], children: /* @__PURE__ */ jsxRuntime.jsx(
3158
+ isDeleted ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles17.textBlock, sectionAbove && styles17.textBlockAfter], children: /* @__PURE__ */ jsxRuntime.jsx(
3065
3159
  reactNative.Text,
3066
3160
  {
3067
3161
  style: {
@@ -3075,7 +3169,7 @@ function MessageBubble({
3075
3169
  children: "Message deleted"
3076
3170
  }
3077
3171
  ) }) : null,
3078
- hasBody && jumboCount > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles16.jumboBlock, children: /* @__PURE__ */ jsxRuntime.jsx(
3172
+ hasBody && jumboCount > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles17.jumboBlock, children: /* @__PURE__ */ jsxRuntime.jsx(
3079
3173
  reactNative.Text,
3080
3174
  {
3081
3175
  style: { fontSize: emojiFontSize(jumboCount), lineHeight: emojiFontSize(jumboCount) + 8 },
@@ -3085,7 +3179,7 @@ function MessageBubble({
3085
3179
  hasBody && jumboCount === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
3086
3180
  reactNative.View,
3087
3181
  {
3088
- style: [styles16.textBlock, sectionAbove && styles16.textBlockAfter],
3182
+ style: [styles17.textBlock, sectionAbove && styles17.textBlockAfter],
3089
3183
  onLayout: inlineMeta ? (e) => setTextBoxWidth(e.nativeEvent.layout.width - 24) : void 0,
3090
3184
  children: [
3091
3185
  markdown && !inlineMeta ? renderMarkdown(truncated, {
@@ -3119,7 +3213,7 @@ function MessageBubble({
3119
3213
  reactNative.Text,
3120
3214
  {
3121
3215
  style: [
3122
- styles16.readMore,
3216
+ styles17.readMore,
3123
3217
  { color: isSelf ? theme.colors.onBrand : theme.colors.brand }
3124
3218
  ],
3125
3219
  children: expanded ? "Show less" : "Read more"
@@ -3130,7 +3224,7 @@ function MessageBubble({
3130
3224
  }
3131
3225
  ) : null,
3132
3226
  !inlineMeta && !metaOverlay && jumboCount === 0 ? metaRow("block") : null,
3133
- actionsTrigger ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles16.actionsSlot, children: actionsTrigger }) : null
3227
+ actionsTrigger ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles17.actionsSlot, children: actionsTrigger }) : null
3134
3228
  ]
3135
3229
  }
3136
3230
  ),
@@ -3155,15 +3249,15 @@ function QuotedCard({
3155
3249
  onPress,
3156
3250
  disabled: !onPress,
3157
3251
  style: [
3158
- styles16.quoted,
3252
+ styles17.quoted,
3159
3253
  {
3160
3254
  backgroundColor: bg,
3161
3255
  borderLeftColor: accent
3162
3256
  }
3163
3257
  ],
3164
3258
  children: [
3165
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.quotedSender, { color: accent }], numberOfLines: 1, children: senderName }),
3166
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles16.quotedBody, { color: txt }], numberOfLines: 2, children: quoted.deleted_at ? "Original message deleted" : quoted.body ?? "\u2026" })
3259
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.quotedSender, { color: accent }], numberOfLines: 1, children: senderName }),
3260
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles17.quotedBody, { color: txt }], numberOfLines: 2, children: quoted.deleted_at ? "Original message deleted" : quoted.body ?? "\u2026" })
3167
3261
  ]
3168
3262
  }
3169
3263
  );
@@ -3195,7 +3289,7 @@ function formatTime2(iso) {
3195
3289
  function isSameDay(a, b) {
3196
3290
  return a.getFullYear() === b.getFullYear() && a.getMonth() === b.getMonth() && a.getDate() === b.getDate();
3197
3291
  }
3198
- var styles16 = reactNative.StyleSheet.create({
3292
+ var styles17 = reactNative.StyleSheet.create({
3199
3293
  wrap: {
3200
3294
  marginBottom: 2
3201
3295
  },
@@ -3322,7 +3416,7 @@ function ReactionStrip({
3322
3416
  });
3323
3417
  const entries = Object.entries(reactions);
3324
3418
  if (entries.length === 0) return null;
3325
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles17.strip, children: entries.map(([emoji, userIds]) => {
3419
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles18.strip, children: entries.map(([emoji, userIds]) => {
3326
3420
  const userArr = Array.isArray(userIds) ? userIds : [];
3327
3421
  const meReacted = meId !== null && userArr.includes(meId);
3328
3422
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -3330,7 +3424,7 @@ function ReactionStrip({
3330
3424
  {
3331
3425
  onPress: () => meReacted ? removeReaction(emoji) : addReaction(emoji),
3332
3426
  style: [
3333
- styles17.chip,
3427
+ styles18.chip,
3334
3428
  {
3335
3429
  backgroundColor: meReacted ? theme.colors.brandSoft : theme.colors.surface2,
3336
3430
  borderColor: meReacted ? theme.colors.brand : theme.colors.border,
@@ -3339,12 +3433,12 @@ function ReactionStrip({
3339
3433
  }
3340
3434
  ],
3341
3435
  children: [
3342
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles17.emoji, children: emoji }),
3436
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles18.emoji, children: emoji }),
3343
3437
  /* @__PURE__ */ jsxRuntime.jsx(
3344
3438
  reactNative.Text,
3345
3439
  {
3346
3440
  style: [
3347
- styles17.count,
3441
+ styles18.count,
3348
3442
  {
3349
3443
  color: meReacted ? theme.colors.brand : theme.colors.ink2,
3350
3444
  fontWeight: meReacted ? "700" : "600"
@@ -3378,13 +3472,13 @@ function ReactionPicker({
3378
3472
  children: /* @__PURE__ */ jsxRuntime.jsx(
3379
3473
  reactNative.Pressable,
3380
3474
  {
3381
- style: [styles17.backdrop, { paddingTop: insets.top, paddingBottom: insets.bottom }],
3475
+ style: [styles18.backdrop, { paddingTop: insets.top, paddingBottom: insets.bottom }],
3382
3476
  onPress: onClose,
3383
3477
  children: /* @__PURE__ */ jsxRuntime.jsx(
3384
3478
  reactNative.View,
3385
3479
  {
3386
3480
  style: [
3387
- styles17.sheet,
3481
+ styles18.sheet,
3388
3482
  {
3389
3483
  backgroundColor: theme.colors.surface,
3390
3484
  borderRadius: theme.radii.lg
@@ -3394,12 +3488,12 @@ function ReactionPicker({
3394
3488
  children: emojis.map((emoji) => /* @__PURE__ */ jsxRuntime.jsx(
3395
3489
  reactNative.Pressable,
3396
3490
  {
3397
- style: styles17.emojiBtn,
3491
+ style: styles18.emojiBtn,
3398
3492
  onPress: () => {
3399
3493
  onPick(emoji);
3400
3494
  onClose();
3401
3495
  },
3402
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles17.bigEmoji, children: emoji })
3496
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles18.bigEmoji, children: emoji })
3403
3497
  },
3404
3498
  emoji
3405
3499
  ))
@@ -3410,7 +3504,7 @@ function ReactionPicker({
3410
3504
  }
3411
3505
  );
3412
3506
  }
3413
- var styles17 = reactNative.StyleSheet.create({
3507
+ var styles18 = reactNative.StyleSheet.create({
3414
3508
  strip: {
3415
3509
  flexDirection: "row",
3416
3510
  flexWrap: "wrap",
@@ -3470,7 +3564,14 @@ var SWIPE_REPLY_THRESHOLD = 50;
3470
3564
  function MessageRow(props) {
3471
3565
  const callLog = react$1.callLogDisplayFor(props.msg, props.meId);
3472
3566
  if (callLog !== void 0) {
3473
- return callLog ? /* @__PURE__ */ jsxRuntime.jsx(CallLogRow, { msg: props.msg, meId: props.meId }) : null;
3567
+ return callLog ? /* @__PURE__ */ jsxRuntime.jsx(
3568
+ CallLogRow,
3569
+ {
3570
+ msg: props.msg,
3571
+ meId: props.meId,
3572
+ ...props.onCallBack ? { onCallBack: props.onCallBack } : {}
3573
+ }
3574
+ ) : null;
3474
3575
  }
3475
3576
  return /* @__PURE__ */ jsxRuntime.jsx(BubbleMessageRow, { ...props });
3476
3577
  }
@@ -3585,15 +3686,15 @@ function BubbleMessageRow({
3585
3686
  reactNative.View,
3586
3687
  {
3587
3688
  style: [
3588
- styles18.row,
3689
+ styles19.row,
3589
3690
  { alignSelf: isSelf ? "flex-end" : "flex-start" },
3590
3691
  // Lift this row above the dim backdrop the parent renders
3591
3692
  // during edit mode. zIndex covers iOS / web; elevation does
3592
3693
  // the equivalent on Android.
3593
- isEditing ? styles18.rowEditing : null
3694
+ isEditing ? styles19.rowEditing : null
3594
3695
  ],
3595
3696
  children: [
3596
- showAvatarSlot ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles18.avatarSlot, children: showAvatarRender ? /* @__PURE__ */ jsxRuntime.jsx(
3697
+ showAvatarSlot ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles19.avatarSlot, children: showAvatarRender ? /* @__PURE__ */ jsxRuntime.jsx(
3597
3698
  Avatar,
3598
3699
  {
3599
3700
  src: avatarUrl ?? null,
@@ -3602,14 +3703,14 @@ function BubbleMessageRow({
3602
3703
  size: "sm"
3603
3704
  }
3604
3705
  ) : null }) : null,
3605
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles18.bubbleCol, children: [
3706
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles19.bubbleCol, children: [
3606
3707
  swipeEnabled ? /* @__PURE__ */ jsxRuntime.jsx(
3607
3708
  reactNative.Animated.View,
3608
3709
  {
3609
3710
  pointerEvents: "none",
3610
3711
  style: [
3611
- styles18.replyHint,
3612
- isSelf ? styles18.replyHintRight : styles18.replyHintLeft,
3712
+ styles19.replyHint,
3713
+ isSelf ? styles19.replyHintRight : styles19.replyHintLeft,
3613
3714
  {
3614
3715
  opacity: replyIconOpacity,
3615
3716
  transform: [{ scale: replyIconScale }],
@@ -3655,13 +3756,13 @@ function BubbleMessageRow({
3655
3756
  )
3656
3757
  }
3657
3758
  ),
3658
- threads && (msg.reply_count ?? 0) > 0 && onOpenThread ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: onOpenThread, style: styles18.threadPill, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: [styles18.threadPillText, { color: theme.colors.brand }], children: [
3759
+ threads && (msg.reply_count ?? 0) > 0 && onOpenThread ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { onPress: onOpenThread, style: styles19.threadPill, children: /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Text, { style: [styles19.threadPillText, { color: theme.colors.brand }], children: [
3659
3760
  "\u{1F4AC} ",
3660
3761
  msg.reply_count,
3661
3762
  " ",
3662
3763
  msg.reply_count === 1 ? "reply" : "replies"
3663
3764
  ] }) }) : null,
3664
- reactions ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles18.reactionsRow, { alignSelf: isSelf ? "flex-end" : "flex-start" }], children: /* @__PURE__ */ jsxRuntime.jsx(
3765
+ reactions ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles19.reactionsRow, { alignSelf: isSelf ? "flex-end" : "flex-start" }], children: /* @__PURE__ */ jsxRuntime.jsx(
3665
3766
  ReactionStrip,
3666
3767
  {
3667
3768
  messageId: msg.id,
@@ -3720,7 +3821,7 @@ function BubbleMessageRow({
3720
3821
  }
3721
3822
  );
3722
3823
  }
3723
- var styles18 = reactNative.StyleSheet.create({
3824
+ var styles19 = reactNative.StyleSheet.create({
3724
3825
  row: {
3725
3826
  flexDirection: "row",
3726
3827
  alignItems: "flex-end",
@@ -3889,15 +3990,15 @@ function ThreadSheet({
3889
3990
  return /* @__PURE__ */ jsxRuntime.jsxs(
3890
3991
  reactNative.View,
3891
3992
  {
3892
- style: styles19.modalRoot,
3993
+ style: styles20.modalRoot,
3893
3994
  onLayout: (e) => setRootHeight(Math.round(e.nativeEvent.layout.height)),
3894
3995
  children: [
3895
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: styles19.backdrop, onPress: onClose, accessibilityLabel: "Close thread" }),
3996
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: styles20.backdrop, onPress: onClose, accessibilityLabel: "Close thread" }),
3896
3997
  /* @__PURE__ */ jsxRuntime.jsxs(
3897
3998
  reactNative.Animated.View,
3898
3999
  {
3899
4000
  style: [
3900
- styles19.sheet,
4001
+ styles20.sheet,
3901
4002
  {
3902
4003
  height: sheetHeight,
3903
4004
  backgroundColor: theme.colors.paper,
@@ -3911,14 +4012,14 @@ function ThreadSheet({
3911
4012
  ],
3912
4013
  children: [
3913
4014
  /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { ...panHandlers, children: [
3914
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles19.dragHandle, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles19.dragPill, { backgroundColor: theme.colors.ink3 }] }) }),
3915
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles19.header, { borderBottomColor: theme.colors.border }], children: [
4015
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles20.dragHandle, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles20.dragPill, { backgroundColor: theme.colors.ink3 }] }) }),
4016
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles20.header, { borderBottomColor: theme.colors.border }], children: [
3916
4017
  /* @__PURE__ */ jsxRuntime.jsx(
3917
4018
  reactNative.Pressable,
3918
4019
  {
3919
4020
  onPress: onClose,
3920
4021
  hitSlop: 16,
3921
- style: [styles19.closeBtn, { backgroundColor: theme.colors.surface2 }],
4022
+ style: [styles20.closeBtn, { backgroundColor: theme.colors.surface2 }],
3922
4023
  accessibilityLabel: "Close thread",
3923
4024
  children: /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "close", size: 18, color: theme.colors.ink })
3924
4025
  }
@@ -3927,7 +4028,7 @@ function ThreadSheet({
3927
4028
  reactNative.Text,
3928
4029
  {
3929
4030
  style: [
3930
- styles19.title,
4031
+ styles20.title,
3931
4032
  { color: theme.colors.ink, fontFamily: theme.type.fontDisplay }
3932
4033
  ],
3933
4034
  children: "Thread"
@@ -3938,12 +4039,12 @@ function ThreadSheet({
3938
4039
  /* @__PURE__ */ jsxRuntime.jsxs(
3939
4040
  reactNative.KeyboardAvoidingView,
3940
4041
  {
3941
- style: styles19.kavBody,
4042
+ style: styles20.kavBody,
3942
4043
  behavior: "padding",
3943
4044
  keyboardVerticalOffset: gutter,
3944
4045
  children: [
3945
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles19.rootPreview, { backgroundColor: theme.colors.surface2 }], children: rootRow }),
3946
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles19.listWrap, children: /* @__PURE__ */ jsxRuntime.jsx(
4046
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles20.rootPreview, { backgroundColor: theme.colors.surface2 }], children: rootRow }),
4047
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles20.listWrap, children: /* @__PURE__ */ jsxRuntime.jsx(
3947
4048
  MessageList,
3948
4049
  {
3949
4050
  messages: replies,
@@ -3981,7 +4082,7 @@ function ThreadSheet({
3981
4082
  }
3982
4083
  );
3983
4084
  }
3984
- var styles19 = reactNative.StyleSheet.create({
4085
+ var styles20 = reactNative.StyleSheet.create({
3985
4086
  modalRoot: {
3986
4087
  flex: 1,
3987
4088
  justifyContent: "flex-end"
@@ -4053,7 +4154,7 @@ function TypingIndicator({ typing, labelFor }) {
4053
4154
  const ids = Array.from(typing);
4054
4155
  const isTyping = ids.length > 0;
4055
4156
  if (!isTyping) return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: { height: 0 } });
4056
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles20.row, children: [
4157
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles21.row, children: [
4057
4158
  /* @__PURE__ */ jsxRuntime.jsx(TypingDots, {}),
4058
4159
  /* @__PURE__ */ jsxRuntime.jsx(TypingLabel, { ids, ...labelFor ? { labelFor } : {} })
4059
4160
  ] });
@@ -4098,7 +4199,7 @@ function TypingDots() {
4098
4199
  ],
4099
4200
  opacity: val.interpolate({ inputRange: [0, 1], outputRange: [0.5, 1] })
4100
4201
  });
4101
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles20.dotsWrap, children: [
4202
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles21.dotsWrap, children: [
4102
4203
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: dot(a) }),
4103
4204
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: dot(b) }),
4104
4205
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.Animated.View, { style: dot(c) })
@@ -4114,9 +4215,9 @@ function TypingLabel({
4114
4215
  const name1 = useDisplayName(id1, labelFor);
4115
4216
  const name2 = useDisplayName(id2, labelFor);
4116
4217
  const text = ids.length === 1 ? `${name1} is typing` : ids.length === 2 ? `${name1} and ${name2} are typing` : `${ids.length} people are typing`;
4117
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles20.label, { color: theme.colors.ink2, fontFamily: theme.type.fontBody }], children: text });
4218
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles21.label, { color: theme.colors.ink2, fontFamily: theme.type.fontBody }], children: text });
4118
4219
  }
4119
- var styles20 = reactNative.StyleSheet.create({
4220
+ var styles21 = reactNative.StyleSheet.create({
4120
4221
  row: {
4121
4222
  flexDirection: "row",
4122
4223
  alignItems: "center",
@@ -4156,7 +4257,10 @@ function ConversationView({
4156
4257
  avatars = "auto",
4157
4258
  onMarkedRead,
4158
4259
  onSent,
4159
- keyboardOffset = 0
4260
+ keyboardOffset = 0,
4261
+ onCallBack,
4262
+ onJoinCall,
4263
+ currentCallId = null
4160
4264
  }) {
4161
4265
  const theme = usePoolseTheme();
4162
4266
  const { me } = react$1.useMe();
@@ -4265,11 +4369,13 @@ function ConversationView({
4265
4369
  showAvatar: showAvatars,
4266
4370
  maxBodyLength,
4267
4371
  groupPosition,
4268
- markdown
4372
+ markdown,
4373
+ ...onCallBack ? { onCallBack } : {}
4269
4374
  }
4270
4375
  );
4271
4376
  },
4272
4377
  [
4378
+ onCallBack,
4273
4379
  renderMessage,
4274
4380
  meId,
4275
4381
  readReceipts,
@@ -4361,12 +4467,21 @@ function ConversationView({
4361
4467
  return /* @__PURE__ */ jsxRuntime.jsx(UploadProvider, { children: /* @__PURE__ */ jsxRuntime.jsxs(
4362
4468
  reactNative.KeyboardAvoidingView,
4363
4469
  {
4364
- style: [styles21.root, { backgroundColor: theme.colors.paper }],
4470
+ style: [styles22.root, { backgroundColor: theme.colors.paper }],
4365
4471
  behavior: reactNative.Platform.OS === "ios" ? "padding" : "height",
4366
4472
  keyboardVerticalOffset: keyboardOffset,
4367
4473
  children: [
4368
4474
  headerNode,
4369
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles21.listWrap, children: [
4475
+ onJoinCall ? /* @__PURE__ */ jsxRuntime.jsx(
4476
+ JoinBanner,
4477
+ {
4478
+ conversationId,
4479
+ meId,
4480
+ currentCallId,
4481
+ onJoin: onJoinCall
4482
+ }
4483
+ ) : null,
4484
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles22.listWrap, children: [
4370
4485
  /* @__PURE__ */ jsxRuntime.jsx(
4371
4486
  MessageList,
4372
4487
  {
@@ -4384,7 +4499,7 @@ function ConversationView({
4384
4499
  editingId ? /* @__PURE__ */ jsxRuntime.jsx(
4385
4500
  reactNative.Pressable,
4386
4501
  {
4387
- style: styles21.editBackdrop,
4502
+ style: styles22.editBackdrop,
4388
4503
  onPress: () => setEditingId(null),
4389
4504
  accessibilityLabel: "Cancel editing"
4390
4505
  }
@@ -4406,6 +4521,17 @@ function ConversationView({
4406
4521
  }
4407
4522
  ) });
4408
4523
  }
4524
+ function JoinBanner({
4525
+ conversationId,
4526
+ meId,
4527
+ currentCallId,
4528
+ onJoin
4529
+ }) {
4530
+ const { call, participantIds } = react$1.useLiveCall(conversationId);
4531
+ if (!call || call.id === currentCallId) return null;
4532
+ if (meId !== null && participantIds.includes(meId)) return null;
4533
+ return /* @__PURE__ */ jsxRuntime.jsx(LiveCallBanner, { call, inCall: participantIds.length, onJoin });
4534
+ }
4409
4535
  function readStateForMessage(msg, members, meId, sequenceByMessageId) {
4410
4536
  const otherMembers = members.filter((m) => m.user_id !== meId);
4411
4537
  if (otherMembers.length === 0) return "sent";
@@ -4419,7 +4545,7 @@ function readStateForMessage(msg, members, meId, sequenceByMessageId) {
4419
4545
  });
4420
4546
  return anyRead ? "read" : "sent";
4421
4547
  }
4422
- var styles21 = reactNative.StyleSheet.create({
4548
+ var styles22 = reactNative.StyleSheet.create({
4423
4549
  root: {
4424
4550
  flex: 1
4425
4551
  },
@@ -4509,15 +4635,15 @@ function UserPickerSheet({
4509
4635
  children: /* @__PURE__ */ jsxRuntime.jsxs(
4510
4636
  reactNative.View,
4511
4637
  {
4512
- style: styles22.modalRoot,
4638
+ style: styles23.modalRoot,
4513
4639
  onLayout: (e) => setRootHeight(Math.round(e.nativeEvent.layout.height)),
4514
4640
  children: [
4515
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: styles22.backdrop, onPress: handleClose }),
4641
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: styles23.backdrop, onPress: handleClose }),
4516
4642
  /* @__PURE__ */ jsxRuntime.jsx(
4517
4643
  reactNative.Animated.View,
4518
4644
  {
4519
4645
  style: [
4520
- styles22.sheet,
4646
+ styles23.sheet,
4521
4647
  {
4522
4648
  backgroundColor: theme.colors.paper,
4523
4649
  borderTopLeftRadius: theme.radii.xl,
@@ -4535,18 +4661,18 @@ function UserPickerSheet({
4535
4661
  children: /* @__PURE__ */ jsxRuntime.jsxs(
4536
4662
  reactNative.KeyboardAvoidingView,
4537
4663
  {
4538
- style: styles22.kav,
4664
+ style: styles23.kav,
4539
4665
  behavior: "padding",
4540
4666
  keyboardVerticalOffset: screenHeight - sheetHeight,
4541
4667
  children: [
4542
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { ...panHandlers, style: styles22.dragHandle, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles22.dragPill, { backgroundColor: theme.colors.ink3 }] }) }),
4543
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles22.header, children: [
4668
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { ...panHandlers, style: styles23.dragHandle, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles23.dragPill, { backgroundColor: theme.colors.ink3 }] }) }),
4669
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles23.header, children: [
4544
4670
  /* @__PURE__ */ jsxRuntime.jsx(
4545
4671
  reactNative.Pressable,
4546
4672
  {
4547
4673
  onPress: handleClose,
4548
4674
  hitSlop: 16,
4549
- style: [styles22.closeBtn, { backgroundColor: theme.colors.surface2 }],
4675
+ style: [styles23.closeBtn, { backgroundColor: theme.colors.surface2 }],
4550
4676
  accessibilityLabel: "Close picker",
4551
4677
  children: /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "close", size: 18, color: theme.colors.ink })
4552
4678
  }
@@ -4555,7 +4681,7 @@ function UserPickerSheet({
4555
4681
  reactNative.Text,
4556
4682
  {
4557
4683
  style: [
4558
- styles22.title,
4684
+ styles23.title,
4559
4685
  { color: theme.colors.ink, fontFamily: theme.type.fontDisplay }
4560
4686
  ],
4561
4687
  numberOfLines: 1,
@@ -4569,7 +4695,7 @@ function UserPickerSheet({
4569
4695
  disabled: !canCreate,
4570
4696
  hitSlop: 6,
4571
4697
  style: [
4572
- styles22.createBtn,
4698
+ styles23.createBtn,
4573
4699
  {
4574
4700
  backgroundColor: canCreate ? theme.colors.brand : theme.colors.surface2,
4575
4701
  opacity: canCreate ? 1 : 0.6
@@ -4600,7 +4726,7 @@ function UserPickerSheet({
4600
4726
  value: groupName,
4601
4727
  onChangeText: setGroupName,
4602
4728
  style: [
4603
- styles22.groupNameInput,
4729
+ styles23.groupNameInput,
4604
4730
  {
4605
4731
  color: theme.colors.ink,
4606
4732
  backgroundColor: theme.colors.surface2,
@@ -4619,7 +4745,7 @@ function UserPickerSheet({
4619
4745
  value: query,
4620
4746
  onChangeText: setQuery,
4621
4747
  style: [
4622
- styles22.searchInput,
4748
+ styles23.searchInput,
4623
4749
  {
4624
4750
  color: theme.colors.ink,
4625
4751
  backgroundColor: theme.colors.surface2,
@@ -4636,7 +4762,7 @@ function UserPickerSheet({
4636
4762
  data: filtered,
4637
4763
  keyExtractor: (u) => u.externalId,
4638
4764
  keyboardShouldPersistTaps: "handled",
4639
- ListEmptyComponent: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles22.empty, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles22.emptyText, { color: theme.colors.ink3 }], children: query ? "No matches." : "No users to show." }) }),
4765
+ ListEmptyComponent: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles23.empty, children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles23.emptyText, { color: theme.colors.ink3 }], children: query ? "No matches." : "No users to show." }) }),
4640
4766
  renderItem: ({ item }) => /* @__PURE__ */ jsxRuntime.jsx(
4641
4767
  UserRow,
4642
4768
  {
@@ -4678,29 +4804,29 @@ function UserRow({
4678
4804
  {
4679
4805
  onPress,
4680
4806
  style: [
4681
- styles22.row,
4807
+ styles23.row,
4682
4808
  {
4683
4809
  backgroundColor: selected ? theme.colors.brandSoft : "transparent"
4684
4810
  }
4685
4811
  ],
4686
4812
  children: [
4687
- user.avatarUrl ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Image, { source: { uri: user.avatarUrl }, style: styles22.avatarImg }) : /* @__PURE__ */ jsxRuntime.jsx(Avatar, { src: null, name: user.name, seed: user.externalId, size: "md" }),
4688
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles22.body, children: [
4813
+ user.avatarUrl ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Image, { source: { uri: user.avatarUrl }, style: styles23.avatarImg }) : /* @__PURE__ */ jsxRuntime.jsx(Avatar, { src: null, name: user.name, seed: user.externalId, size: "md" }),
4814
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles23.body, children: [
4689
4815
  /* @__PURE__ */ jsxRuntime.jsx(
4690
4816
  reactNative.Text,
4691
4817
  {
4692
- style: [styles22.name, { color: theme.colors.ink, fontFamily: theme.type.fontBody }],
4818
+ style: [styles23.name, { color: theme.colors.ink, fontFamily: theme.type.fontBody }],
4693
4819
  numberOfLines: 1,
4694
4820
  children: user.name
4695
4821
  }
4696
4822
  ),
4697
- user.subtitle ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles22.subtitle, { color: theme.colors.ink3 }], numberOfLines: 1, children: user.subtitle }) : null
4823
+ user.subtitle ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles23.subtitle, { color: theme.colors.ink3 }], numberOfLines: 1, children: user.subtitle }) : null
4698
4824
  ] }),
4699
4825
  isGroup ? /* @__PURE__ */ jsxRuntime.jsx(
4700
4826
  reactNative.View,
4701
4827
  {
4702
4828
  style: [
4703
- styles22.checkbox,
4829
+ styles23.checkbox,
4704
4830
  {
4705
4831
  borderColor: selected ? theme.colors.brand : theme.colors.border,
4706
4832
  backgroundColor: selected ? theme.colors.brand : "transparent"
@@ -4713,7 +4839,7 @@ function UserRow({
4713
4839
  }
4714
4840
  );
4715
4841
  }
4716
- var styles22 = reactNative.StyleSheet.create({
4842
+ var styles23 = reactNative.StyleSheet.create({
4717
4843
  modalRoot: {
4718
4844
  flex: 1,
4719
4845
  justifyContent: "flex-end"
@@ -4977,7 +5103,7 @@ var PoolseInbox = react.forwardRef(
4977
5103
  },
4978
5104
  [renderConversationRow, meExternalId, meId, labelFor, avatarFor, unreadCounts]
4979
5105
  );
4980
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles23.root, { backgroundColor: theme.colors.paper }], children: [
5106
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles24.root, { backgroundColor: theme.colors.paper }], children: [
4981
5107
  /* @__PURE__ */ jsxRuntime.jsxs(
4982
5108
  reactNative.Animated.View,
4983
5109
  {
@@ -4988,7 +5114,7 @@ var PoolseInbox = react.forwardRef(
4988
5114
  reactNative.View,
4989
5115
  {
4990
5116
  style: [
4991
- styles23.listHeader,
5117
+ styles24.listHeader,
4992
5118
  {
4993
5119
  backgroundColor: theme.colors.surface,
4994
5120
  borderBottomColor: theme.colors.border
@@ -4999,13 +5125,13 @@ var PoolseInbox = react.forwardRef(
4999
5125
  reactNative.Text,
5000
5126
  {
5001
5127
  style: [
5002
- styles23.listTitle,
5128
+ styles24.listTitle,
5003
5129
  { color: theme.colors.ink, fontFamily: theme.type.fontDisplay }
5004
5130
  ],
5005
5131
  children: title
5006
5132
  }
5007
5133
  ),
5008
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles23.headerActions, children: [
5134
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles24.headerActions, children: [
5009
5135
  users ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5010
5136
  /* @__PURE__ */ jsxRuntime.jsx(
5011
5137
  HeaderIconButton,
@@ -5118,7 +5244,7 @@ function HeaderIconButton({
5118
5244
  hitSlop: 10,
5119
5245
  accessibilityLabel: label,
5120
5246
  style: ({ pressed }) => [
5121
- styles23.iconBtn,
5247
+ styles24.iconBtn,
5122
5248
  {
5123
5249
  backgroundColor: pressed ? theme.colors.surface2 : "transparent"
5124
5250
  }
@@ -5149,31 +5275,31 @@ function DefaultConversationRow({
5149
5275
  {
5150
5276
  onPress,
5151
5277
  style: [
5152
- styles23.row,
5278
+ styles24.row,
5153
5279
  {
5154
5280
  backgroundColor: selected ? theme.colors.surface2 : "transparent",
5155
5281
  borderBottomColor: theme.colors.border
5156
5282
  }
5157
5283
  ],
5158
5284
  children: [
5159
- avatarUrl ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Image, { source: { uri: avatarUrl }, style: styles23.rowAvatar }) : /* @__PURE__ */ jsxRuntime.jsx(Avatar, { src: null, name: title, seed: avatarSeed, size: "md" }),
5160
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles23.rowBody, children: [
5285
+ avatarUrl ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Image, { source: { uri: avatarUrl }, style: styles24.rowAvatar }) : /* @__PURE__ */ jsxRuntime.jsx(Avatar, { src: null, name: title, seed: avatarSeed, size: "md" }),
5286
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles24.rowBody, children: [
5161
5287
  /* @__PURE__ */ jsxRuntime.jsx(
5162
5288
  reactNative.Text,
5163
5289
  {
5164
- style: [styles23.rowTitle, { color: theme.colors.ink, fontFamily: theme.type.fontBody }],
5290
+ style: [styles24.rowTitle, { color: theme.colors.ink, fontFamily: theme.type.fontBody }],
5165
5291
  numberOfLines: 1,
5166
5292
  children: title
5167
5293
  }
5168
5294
  ),
5169
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles23.rowSubtitle, { color: theme.colors.ink3 }], numberOfLines: 1, children: react$1.formatCallLogPreview(conv.last_message_preview, meId) ?? conv.last_message_preview ?? (isDirect ? otherExtId ?? "" : `${(conv.member_external_ids ?? []).length} members`) })
5295
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles24.rowSubtitle, { color: theme.colors.ink3 }], numberOfLines: 1, children: react$1.formatCallLogPreview(conv.last_message_preview, meId) ?? conv.last_message_preview ?? (isDirect ? otherExtId ?? "" : `${(conv.member_external_ids ?? []).length} members`) })
5170
5296
  ] }),
5171
- unread > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles23.unreadPill, { backgroundColor: theme.colors.unreadPill }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles23.unreadText, { color: theme.colors.unreadPillText }], children: unread > 99 ? "99+" : String(unread) }) }) : null
5297
+ unread > 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles24.unreadPill, { backgroundColor: theme.colors.unreadPill }], children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles24.unreadText, { color: theme.colors.unreadPillText }], children: unread > 99 ? "99+" : String(unread) }) }) : null
5172
5298
  ]
5173
5299
  }
5174
5300
  );
5175
5301
  }
5176
- var styles23 = reactNative.StyleSheet.create({
5302
+ var styles24 = reactNative.StyleSheet.create({
5177
5303
  root: {
5178
5304
  flex: 1,
5179
5305
  overflow: "hidden"
@@ -5377,10 +5503,10 @@ function VoiceRoomBar({
5377
5503
  reactNative.View,
5378
5504
  {
5379
5505
  style: [
5380
- styles24.bar,
5506
+ styles25.bar,
5381
5507
  { backgroundColor: theme.colors.surface, borderBottomColor: theme.colors.border }
5382
5508
  ],
5383
- children: unavailableSlot ?? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles24.hint, { color: theme.colors.ink3 }], children: "Voice needs react-native-webrtc and a development build." })
5509
+ children: unavailableSlot ?? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles25.hint, { color: theme.colors.ink3 }], children: "Voice needs react-native-webrtc and a development build." })
5384
5510
  }
5385
5511
  );
5386
5512
  }
@@ -5388,22 +5514,22 @@ function VoiceRoomBar({
5388
5514
  reactNative.View,
5389
5515
  {
5390
5516
  style: [
5391
- styles24.bar,
5517
+ styles25.bar,
5392
5518
  { backgroundColor: theme.colors.surface, borderBottomColor: theme.colors.border }
5393
5519
  ],
5394
5520
  children: [
5395
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles24.row, children: [
5521
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles25.row, children: [
5396
5522
  /* @__PURE__ */ jsxRuntime.jsx(
5397
5523
  reactNative.View,
5398
5524
  {
5399
5525
  style: [
5400
- styles24.dot,
5526
+ styles25.dot,
5401
5527
  { backgroundColor: connected ? theme.colors.brand : theme.colors.ink3 }
5402
5528
  ]
5403
5529
  }
5404
5530
  ),
5405
5531
  connected ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5406
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles24.people, children: participants.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles24.hint, { color: theme.colors.ink3 }], children: "Waiting for others\u2026" }) : participants.map((p) => /* @__PURE__ */ jsxRuntime.jsx(ParticipantChip, { participant: p, label: label(p.userId) }, p.userId)) }),
5532
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles25.people, children: participants.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles25.hint, { color: theme.colors.ink3 }], children: "Waiting for others\u2026" }) : participants.map((p) => /* @__PURE__ */ jsxRuntime.jsx(ParticipantChip, { participant: p, label: label(p.userId) }, p.userId)) }),
5407
5533
  /* @__PURE__ */ jsxRuntime.jsx(
5408
5534
  reactNative.Pressable,
5409
5535
  {
@@ -5411,7 +5537,7 @@ function VoiceRoomBar({
5411
5537
  accessibilityRole: "button",
5412
5538
  accessibilityState: { selected: muted },
5413
5539
  style: [
5414
- styles24.btn,
5540
+ styles25.btn,
5415
5541
  {
5416
5542
  borderColor: muted ? theme.colors.brand : theme.colors.border,
5417
5543
  backgroundColor: muted ? theme.colors.brandSoft : theme.colors.paper
@@ -5425,25 +5551,25 @@ function VoiceRoomBar({
5425
5551
  {
5426
5552
  onPress: leave,
5427
5553
  accessibilityRole: "button",
5428
- style: [styles24.btn, { borderColor: theme.colors.error }],
5554
+ style: [styles25.btn, { borderColor: theme.colors.error }],
5429
5555
  children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: { color: theme.colors.error }, children: "Leave" })
5430
5556
  }
5431
5557
  )
5432
5558
  ] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
5433
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles24.hint, { color: theme.colors.ink3 }], children: status === "connecting" ? "Connecting\u2026" : "Talk to everyone here" }),
5559
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles25.hint, { color: theme.colors.ink3 }], children: status === "connecting" ? "Connecting\u2026" : "Talk to everyone here" }),
5434
5560
  /* @__PURE__ */ jsxRuntime.jsx(
5435
5561
  reactNative.Pressable,
5436
5562
  {
5437
5563
  onPress: () => void join(),
5438
5564
  disabled: status === "connecting",
5439
5565
  accessibilityRole: "button",
5440
- style: [styles24.btn, styles24.btnPrimary, { backgroundColor: theme.colors.brand }],
5566
+ style: [styles25.btn, styles25.btnPrimary, { backgroundColor: theme.colors.brand }],
5441
5567
  children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: { color: theme.colors.onBrand, fontWeight: "600" }, children: status === "connecting" ? "Joining\u2026" : "Join Voice" })
5442
5568
  }
5443
5569
  )
5444
5570
  ] })
5445
5571
  ] }),
5446
- error && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles24.error, { color: theme.colors.error }], children: error.message })
5572
+ error && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles25.error, { color: theme.colors.error }], children: error.message })
5447
5573
  ]
5448
5574
  }
5449
5575
  );
@@ -5454,7 +5580,7 @@ function ParticipantChip({ participant, label }) {
5454
5580
  reactNative.View,
5455
5581
  {
5456
5582
  style: [
5457
- styles24.chip,
5583
+ styles25.chip,
5458
5584
  {
5459
5585
  backgroundColor: theme.colors.paper,
5460
5586
  // The speaking ring is a border colour swap rather than an
@@ -5473,7 +5599,7 @@ function ParticipantChip({ participant, label }) {
5473
5599
  }
5474
5600
  );
5475
5601
  }
5476
- var styles24 = reactNative.StyleSheet.create({
5602
+ var styles25 = reactNative.StyleSheet.create({
5477
5603
  bar: { paddingHorizontal: 14, paddingVertical: 8, borderBottomWidth: reactNative.StyleSheet.hairlineWidth },
5478
5604
  row: { flexDirection: "row", alignItems: "center", gap: 8, flexWrap: "wrap" },
5479
5605
  dot: { width: 8, height: 8, borderRadius: 4 },
@@ -5551,15 +5677,15 @@ function AudioRouteSheet({
5551
5677
  animationType: "fade",
5552
5678
  onRequestClose: onClose,
5553
5679
  ...EDGE_TO_EDGE_MODAL,
5554
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: styles25.backdrop, onPress: onClose, accessibilityRole: "button", children: /* @__PURE__ */ jsxRuntime.jsxs(
5680
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.Pressable, { style: styles26.backdrop, onPress: onClose, accessibilityRole: "button", children: /* @__PURE__ */ jsxRuntime.jsxs(
5555
5681
  reactNative.Pressable,
5556
5682
  {
5557
- style: [styles25.sheet, { paddingBottom: Math.max(34, insets.bottom + 16) }],
5683
+ style: [styles26.sheet, { paddingBottom: Math.max(34, insets.bottom + 16) }],
5558
5684
  onPress: () => {
5559
5685
  },
5560
5686
  children: [
5561
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles25.grabber }),
5562
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles25.title, children: "Audio output" }),
5687
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles26.grabber }),
5688
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles26.title, children: "Audio output" }),
5563
5689
  routes.map((route) => {
5564
5690
  const selected = route.id === selectedRouteId;
5565
5691
  return /* @__PURE__ */ jsxRuntime.jsxs(
@@ -5571,7 +5697,7 @@ function AudioRouteSheet({
5571
5697
  },
5572
5698
  accessibilityRole: "button",
5573
5699
  accessibilityState: { selected },
5574
- style: ({ pressed }) => [styles25.row, pressed && styles25.rowPressed],
5700
+ style: ({ pressed }) => [styles26.row, pressed && styles26.rowPressed],
5575
5701
  children: [
5576
5702
  /* @__PURE__ */ jsxRuntime.jsx(
5577
5703
  PoolseIcon,
@@ -5582,7 +5708,7 @@ function AudioRouteSheet({
5582
5708
  label: null
5583
5709
  }
5584
5710
  ),
5585
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles25.label, selected && styles25.labelSelected], children: route.label }),
5711
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles26.label, selected && styles26.labelSelected], children: route.label }),
5586
5712
  selected && /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "check", size: 19, color: callColors.accept, label: "selected" })
5587
5713
  ]
5588
5714
  },
@@ -5595,7 +5721,7 @@ function AudioRouteSheet({
5595
5721
  }
5596
5722
  );
5597
5723
  }
5598
- var styles25 = reactNative.StyleSheet.create({
5724
+ var styles26 = reactNative.StyleSheet.create({
5599
5725
  backdrop: { flex: 1, backgroundColor: "rgba(0,0,0,0.55)", justifyContent: "flex-end" },
5600
5726
  sheet: {
5601
5727
  backgroundColor: callColors.tile,
@@ -5676,11 +5802,11 @@ function PulseRings({ size, color }) {
5676
5802
  });
5677
5803
  return () => loops.forEach((l) => l.stop());
5678
5804
  }, []);
5679
- return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [reactNative.StyleSheet.absoluteFill, styles26.center], pointerEvents: "none", children: phases.map((p, i) => /* @__PURE__ */ jsxRuntime.jsx(
5805
+ return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [reactNative.StyleSheet.absoluteFill, styles27.center], pointerEvents: "none", children: phases.map((p, i) => /* @__PURE__ */ jsxRuntime.jsx(
5680
5806
  reactNative.Animated.View,
5681
5807
  {
5682
5808
  style: [
5683
- styles26.ring,
5809
+ styles27.ring,
5684
5810
  {
5685
5811
  width: size,
5686
5812
  height: size,
@@ -5701,7 +5827,7 @@ function PulseRings({ size, color }) {
5701
5827
  i
5702
5828
  )) });
5703
5829
  }
5704
- var styles26 = reactNative.StyleSheet.create({
5830
+ var styles27 = reactNative.StyleSheet.create({
5705
5831
  center: { alignItems: "center", justifyContent: "center" },
5706
5832
  ring: { position: "absolute", borderWidth: 1.5 }
5707
5833
  });
@@ -5712,7 +5838,7 @@ function CallAvatar({ name, seed, size, speaking = false }) {
5712
5838
  reactNative.View,
5713
5839
  {
5714
5840
  style: [
5715
- styles27.ring,
5841
+ styles28.ring,
5716
5842
  {
5717
5843
  width: outer,
5718
5844
  height: outer,
@@ -5725,7 +5851,7 @@ function CallAvatar({ name, seed, size, speaking = false }) {
5725
5851
  reactNative.View,
5726
5852
  {
5727
5853
  style: [
5728
- styles27.circle,
5854
+ styles28.circle,
5729
5855
  {
5730
5856
  width: size,
5731
5857
  height: size,
@@ -5736,7 +5862,7 @@ function CallAvatar({ name, seed, size, speaking = false }) {
5736
5862
  children: /* @__PURE__ */ jsxRuntime.jsx(
5737
5863
  reactNative.Text,
5738
5864
  {
5739
- style: [styles27.initials, { fontSize: Math.round(size * 0.38) }],
5865
+ style: [styles28.initials, { fontSize: Math.round(size * 0.38) }],
5740
5866
  numberOfLines: 1,
5741
5867
  allowFontScaling: false,
5742
5868
  children: initialsOf(name)
@@ -5753,7 +5879,7 @@ function initialsOf(name) {
5753
5879
  if (parts.length === 1) return parts[0].slice(0, 2).toUpperCase();
5754
5880
  return (parts[0][0] + parts[parts.length - 1][0]).toUpperCase();
5755
5881
  }
5756
- var styles27 = reactNative.StyleSheet.create({
5882
+ var styles28 = reactNative.StyleSheet.create({
5757
5883
  ring: { alignItems: "center", justifyContent: "center" },
5758
5884
  circle: { alignItems: "center", justifyContent: "center" },
5759
5885
  initials: { color: "#ffffff", fontWeight: "600" }
@@ -5771,7 +5897,7 @@ function CallControlButton({
5771
5897
  const size = large ? CONTROL_SIZE_LARGE : CONTROL_SIZE;
5772
5898
  const background = tone === "danger" ? callColors.danger : tone === "accept" ? callColors.accept : active ? callColors.controlActive : callColors.control;
5773
5899
  const iconColor = tone === "neutral" && active ? callColors.controlActiveIcon : callColors.onAction;
5774
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles28.slot, children: [
5900
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles29.slot, children: [
5775
5901
  /* @__PURE__ */ jsxRuntime.jsx(
5776
5902
  reactNative.Pressable,
5777
5903
  {
@@ -5782,7 +5908,7 @@ function CallControlButton({
5782
5908
  accessibilityLabel: accessibilityLabel ?? label ?? icon,
5783
5909
  hitSlop: 8,
5784
5910
  style: ({ pressed }) => [
5785
- styles28.button,
5911
+ styles29.button,
5786
5912
  {
5787
5913
  width: size,
5788
5914
  height: size,
@@ -5796,10 +5922,10 @@ function CallControlButton({
5796
5922
  children: /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: icon, size: large ? 30 : 25, color: iconColor, label: null })
5797
5923
  }
5798
5924
  ),
5799
- label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles28.label, children: label }) : null
5925
+ label ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles29.label, children: label }) : null
5800
5926
  ] });
5801
5927
  }
5802
- var styles28 = reactNative.StyleSheet.create({
5928
+ var styles29 = reactNative.StyleSheet.create({
5803
5929
  // Fixed width so captions of different lengths cannot shift the row.
5804
5930
  slot: { width: 76, alignItems: "center", gap: 7 },
5805
5931
  button: { alignItems: "center", justifyContent: "center" },
@@ -5820,8 +5946,8 @@ function CallParticipantTile({
5820
5946
  reactNative.View,
5821
5947
  {
5822
5948
  style: [
5823
- styles29.tile,
5824
- bleed ? styles29.bleed : styles29.rounded,
5949
+ styles30.tile,
5950
+ bleed ? styles30.bleed : styles30.rounded,
5825
5951
  {
5826
5952
  backgroundColor: callColors.tile,
5827
5953
  // A ring rather than a badge: it reads at a glance across a
@@ -5840,7 +5966,7 @@ function CallParticipantTile({
5840
5966
  mirror: participant.isSelf,
5841
5967
  zOrder: participant.isSelf ? 1 : 0
5842
5968
  }
5843
- ) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles29.placeholder, children: /* @__PURE__ */ jsxRuntime.jsx(
5969
+ ) : /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles30.placeholder, children: /* @__PURE__ */ jsxRuntime.jsx(
5844
5970
  CallAvatar,
5845
5971
  {
5846
5972
  name,
@@ -5849,17 +5975,17 @@ function CallParticipantTile({
5849
5975
  speaking: participant.speaking
5850
5976
  }
5851
5977
  ) }),
5852
- !hideName && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles29.chip, bleed ? styles29.chipBleed : styles29.chipTile], children: [
5978
+ !hideName && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles30.chip, bleed ? styles30.chipBleed : styles30.chipTile], children: [
5853
5979
  !participant.micEnabled && // Worth showing even for yourself — it is the answer to
5854
5980
  // "why can nobody hear me".
5855
5981
  /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "mic-off", size: 13, color: callColors.text, label: "muted" }),
5856
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles29.name, children: name })
5982
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles30.name, children: name })
5857
5983
  ] })
5858
5984
  ]
5859
5985
  }
5860
5986
  );
5861
5987
  }
5862
- var styles29 = reactNative.StyleSheet.create({
5988
+ var styles30 = reactNative.StyleSheet.create({
5863
5989
  tile: { overflow: "hidden", justifyContent: "flex-end", borderWidth: 2 },
5864
5990
  rounded: { borderRadius: 18 },
5865
5991
  bleed: { borderRadius: 0, borderWidth: 0 },
@@ -5957,7 +6083,7 @@ function LocalVideoPip({
5957
6083
  reactNative.Animated.View,
5958
6084
  {
5959
6085
  ...responder.panHandlers,
5960
- style: [styles30.pip, { transform: pan.getTranslateTransform() }],
6086
+ style: [styles31.pip, { transform: pan.getTranslateTransform() }],
5961
6087
  children: /* @__PURE__ */ jsxRuntime.jsx(
5962
6088
  reactNative.Pressable,
5963
6089
  {
@@ -5967,8 +6093,8 @@ function LocalVideoPip({
5967
6093
  },
5968
6094
  accessibilityRole: "button",
5969
6095
  accessibilityLabel: "Your camera. Drag to move, tap to switch camera.",
5970
- style: styles30.fill,
5971
- children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles30.fill, children: /* @__PURE__ */ jsxRuntime.jsx(
6096
+ style: styles31.fill,
6097
+ children: /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles31.fill, children: /* @__PURE__ */ jsxRuntime.jsx(
5972
6098
  CallParticipantTile,
5973
6099
  {
5974
6100
  participant,
@@ -5977,7 +6103,7 @@ function LocalVideoPip({
5977
6103
  avatarSize: 48,
5978
6104
  hideName: true,
5979
6105
  bleed: true,
5980
- style: styles30.fill
6106
+ style: styles31.fill
5981
6107
  }
5982
6108
  ) })
5983
6109
  }
@@ -5985,7 +6111,7 @@ function LocalVideoPip({
5985
6111
  }
5986
6112
  );
5987
6113
  }
5988
- var styles30 = reactNative.StyleSheet.create({
6114
+ var styles31 = reactNative.StyleSheet.create({
5989
6115
  pip: {
5990
6116
  position: "absolute",
5991
6117
  top: 0,
@@ -6034,11 +6160,11 @@ function CallVideoGrid({
6034
6160
  const availableHeight = size.height > 0 ? size.height - padTop - padBottom : 0;
6035
6161
  const tileHeight = availableHeight > 0 ? (availableHeight - GAP * (rows - 1)) / rows : 0;
6036
6162
  const scrolls = tileHeight > 0 && tileHeight < MIN_TILE_HEIGHT;
6037
- if (participants.length === 0) return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles31.stage, onLayout });
6163
+ if (participants.length === 0) return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles32.stage, onLayout });
6038
6164
  if (others.length <= 1) {
6039
6165
  const spotlight = others[0] ?? self;
6040
- if (!spotlight) return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles31.stage, onLayout });
6041
- return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles31.stage, onLayout, children: [
6166
+ if (!spotlight) return /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles32.stage, onLayout });
6167
+ return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles32.stage, onLayout, children: [
6042
6168
  /* @__PURE__ */ jsxRuntime.jsx(
6043
6169
  CallParticipantTile,
6044
6170
  {
@@ -6048,7 +6174,7 @@ function CallVideoGrid({
6048
6174
  avatarSize: Math.min(148, Math.max(96, Math.round(size.width * 0.36))),
6049
6175
  bleed: true,
6050
6176
  hideName: others.length === 1,
6051
- style: styles31.fill
6177
+ style: styles32.fill
6052
6178
  }
6053
6179
  ),
6054
6180
  self && others.length === 1 && size.width > 0 && /* @__PURE__ */ jsxRuntime.jsx(
@@ -6066,7 +6192,7 @@ function CallVideoGrid({
6066
6192
  }
6067
6193
  const tiles = [...others, ...self ? [self] : []];
6068
6194
  const width = size.width > 0 ? (size.width - GAP * (columns - 1)) / columns : 0;
6069
- const grid = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles31.grid, scrolls ? styles31.gridScrolling : styles31.gridFilling], children: tiles.map((participant) => /* @__PURE__ */ jsxRuntime.jsx(
6195
+ const grid = /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: [styles32.grid, scrolls ? styles32.gridScrolling : styles32.gridFilling], children: tiles.map((participant) => /* @__PURE__ */ jsxRuntime.jsx(
6070
6196
  CallParticipantTile,
6071
6197
  {
6072
6198
  participant,
@@ -6083,13 +6209,13 @@ function CallVideoGrid({
6083
6209
  return /* @__PURE__ */ jsxRuntime.jsx(
6084
6210
  reactNative.View,
6085
6211
  {
6086
- style: [styles31.stage, { paddingTop: padTop, paddingBottom: padBottom }],
6212
+ style: [styles32.stage, { paddingTop: padTop, paddingBottom: padBottom }],
6087
6213
  onLayout,
6088
6214
  children: scrolls ? /* @__PURE__ */ jsxRuntime.jsx(
6089
6215
  reactNative.ScrollView,
6090
6216
  {
6091
6217
  contentContainerStyle: [
6092
- styles31.scroll,
6218
+ styles32.scroll,
6093
6219
  { paddingBottom: (chromeInsets?.bottom ?? 0) + GAP }
6094
6220
  ],
6095
6221
  showsVerticalScrollIndicator: false,
@@ -6099,7 +6225,7 @@ function CallVideoGrid({
6099
6225
  }
6100
6226
  );
6101
6227
  }
6102
- var styles31 = reactNative.StyleSheet.create({
6228
+ var styles32 = reactNative.StyleSheet.create({
6103
6229
  stage: { flex: 1, overflow: "hidden" },
6104
6230
  fill: { ...reactNative.StyleSheet.absoluteFillObject },
6105
6231
  grid: { flexDirection: "row", flexWrap: "wrap", gap: GAP },
@@ -6458,7 +6584,7 @@ function CallScreen({
6458
6584
  /* @__PURE__ */ jsxRuntime.jsx(reactNative.StatusBar, { barStyle: "light-content" }),
6459
6585
  /* @__PURE__ */ jsxRuntime.jsxs(reactNativeSafeAreaContext.SafeAreaProvider, { children: [
6460
6586
  /* @__PURE__ */ jsxRuntime.jsx(InsetsProbe, { onChange: setInsets }),
6461
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Pressable, { style: styles32.screen, onPress: toggleChrome, accessible: false, children: [
6587
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.Pressable, { style: styles33.screen, onPress: toggleChrome, accessible: false, children: [
6462
6588
  /* @__PURE__ */ jsxRuntime.jsx(CallBackdrop, {}),
6463
6589
  showStage ? /* @__PURE__ */ jsxRuntime.jsx(
6464
6590
  CallVideoGrid,
@@ -6477,10 +6603,10 @@ function CallScreen({
6477
6603
  /* @__PURE__ */ jsxRuntime.jsxs(
6478
6604
  reactNative.View,
6479
6605
  {
6480
- style: [styles32.identity, { paddingBottom: insets.bottom + 160 }],
6606
+ style: [styles33.identity, { paddingBottom: insets.bottom + 160 }],
6481
6607
  pointerEvents: "none",
6482
6608
  children: [
6483
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles32.avatarStage, children: [
6609
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles33.avatarStage, children: [
6484
6610
  (ringingIn || ringingOut) && /* @__PURE__ */ jsxRuntime.jsx(PulseRings, { size: 132, color: callColors.glow }),
6485
6611
  /* @__PURE__ */ jsxRuntime.jsx(
6486
6612
  CallAvatar,
@@ -6491,31 +6617,31 @@ function CallScreen({
6491
6617
  }
6492
6618
  )
6493
6619
  ] }),
6494
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 2, style: styles32.identityTitle, children: title }),
6495
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles32.statusPill, children: [
6496
- connected && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles32.statusDot }),
6497
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles32.statusText, children: subtitle })
6620
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 2, style: styles33.identityTitle, children: title }),
6621
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles33.statusPill, children: [
6622
+ connected && /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles33.statusDot }),
6623
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles33.statusText, children: subtitle })
6498
6624
  ] })
6499
6625
  ]
6500
6626
  }
6501
6627
  )
6502
6628
  ),
6503
- chromeVisible && showStage && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles32.header, { paddingTop: insets.top + 14 }], pointerEvents: "box-none", children: [
6504
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles32.title, children: title }),
6505
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles32.subtitleRow, children: [
6629
+ chromeVisible && showStage && /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles33.header, { paddingTop: insets.top + 14 }], pointerEvents: "box-none", children: [
6630
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { numberOfLines: 1, style: styles33.title, children: title }),
6631
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles33.subtitleRow, children: [
6506
6632
  isGroup && /* @__PURE__ */ jsxRuntime.jsx(PoolseIcon, { name: "users", size: 14, color: callColors.textDim, label: null }),
6507
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles32.subtitle, children: isGroup ? `${participants.length} \xB7 ${subtitle}` : subtitle })
6633
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles33.subtitle, children: isGroup ? `${participants.length} \xB7 ${subtitle}` : subtitle })
6508
6634
  ] })
6509
6635
  ] }),
6510
6636
  chromeVisible && /* @__PURE__ */ jsxRuntime.jsxs(
6511
6637
  reactNative.View,
6512
6638
  {
6513
- style: [styles32.controls, { paddingBottom: insets.bottom + 22 }],
6639
+ style: [styles33.controls, { paddingBottom: insets.bottom + 22 }],
6514
6640
  pointerEvents: "box-none",
6515
6641
  children: [
6516
- error && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles32.error, children: error.message }),
6517
- !meshAvailable && !livekit && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles32.error, children: "No WebRTC module supplied \u2014 this call has no audio." }),
6518
- ringingIn ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles32.answerRow, children: [
6642
+ error && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles33.error, children: error.message }),
6643
+ !meshAvailable && !livekit && /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: styles33.error, children: "No WebRTC module supplied \u2014 this call has no audio." }),
6644
+ ringingIn ? /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles33.answerRow, children: [
6519
6645
  /* @__PURE__ */ jsxRuntime.jsx(
6520
6646
  CallControlButton,
6521
6647
  {
@@ -6538,7 +6664,7 @@ function CallScreen({
6538
6664
  accessibilityLabel: "Accept call"
6539
6665
  }
6540
6666
  )
6541
- ] }) : ended ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles32.row, children: /* @__PURE__ */ jsxRuntime.jsx(
6667
+ ] }) : ended ? /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles33.row, children: /* @__PURE__ */ jsxRuntime.jsx(
6542
6668
  CallControlButton,
6543
6669
  {
6544
6670
  icon: "close",
@@ -6547,7 +6673,7 @@ function CallScreen({
6547
6673
  accessibilityLabel: "Close"
6548
6674
  }
6549
6675
  ) }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
6550
- /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles32.dock, children: [
6676
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles33.dock, children: [
6551
6677
  /* @__PURE__ */ jsxRuntime.jsx(
6552
6678
  CallControlButton,
6553
6679
  {
@@ -6588,7 +6714,7 @@ function CallScreen({
6588
6714
  }
6589
6715
  )
6590
6716
  ] }),
6591
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles32.hangUpRow, children: /* @__PURE__ */ jsxRuntime.jsx(
6717
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.View, { style: styles33.hangUpRow, children: /* @__PURE__ */ jsxRuntime.jsx(
6592
6718
  CallControlButton,
6593
6719
  {
6594
6720
  icon: "phone-off",
@@ -6664,7 +6790,7 @@ function statusLine(calls, mediaStatus) {
6664
6790
  return "";
6665
6791
  }
6666
6792
  }
6667
- var styles32 = reactNative.StyleSheet.create({
6793
+ var styles33 = reactNative.StyleSheet.create({
6668
6794
  screen: { flex: 1, backgroundColor: callColors.bg },
6669
6795
  identity: {
6670
6796
  flex: 1,
@@ -6984,6 +7110,7 @@ exports.ConversationView = ConversationView;
6984
7110
  exports.DaySeparator = DaySeparator;
6985
7111
  exports.GroupDetailsSheet = GroupDetailsSheet;
6986
7112
  exports.ImageMosaic = ImageMosaic;
7113
+ exports.LiveCallBanner = LiveCallBanner;
6987
7114
  exports.LocalVideoPip = LocalVideoPip;
6988
7115
  exports.MemberList = MemberList;
6989
7116
  exports.MentionInput = MentionInput;