@planningcenter/chat-react-native 4.2.0 → 4.2.1-qa-staging.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (123) hide show
  1. package/build/components/conversation/anchor_not_found_boundary.d.ts +18 -0
  2. package/build/components/conversation/anchor_not_found_boundary.d.ts.map +1 -0
  3. package/build/components/conversation/anchor_not_found_boundary.js +20 -0
  4. package/build/components/conversation/anchor_not_found_boundary.js.map +1 -0
  5. package/build/components/conversation/message_form.d.ts +2 -1
  6. package/build/components/conversation/message_form.d.ts.map +1 -1
  7. package/build/components/conversation/message_form.js +54 -51
  8. package/build/components/conversation/message_form.js.map +1 -1
  9. package/build/components/conversation/message_list.d.ts +3 -2
  10. package/build/components/conversation/message_list.d.ts.map +1 -1
  11. package/build/components/conversation/message_list.js +152 -66
  12. package/build/components/conversation/message_list.js.map +1 -1
  13. package/build/hooks/index.d.ts +1 -0
  14. package/build/hooks/index.d.ts.map +1 -1
  15. package/build/hooks/index.js +1 -0
  16. package/build/hooks/index.js.map +1 -1
  17. package/build/hooks/paginator_meta.d.ts +3 -1
  18. package/build/hooks/paginator_meta.d.ts.map +1 -1
  19. package/build/hooks/paginator_meta.js +25 -8
  20. package/build/hooks/paginator_meta.js.map +1 -1
  21. package/build/hooks/use_api.d.ts.map +1 -1
  22. package/build/hooks/use_api.js +5 -8
  23. package/build/hooks/use_api.js.map +1 -1
  24. package/build/hooks/use_conversation_messages.d.ts +8 -2
  25. package/build/hooks/use_conversation_messages.d.ts.map +1 -1
  26. package/build/hooks/use_conversation_messages.js +77 -45
  27. package/build/hooks/use_conversation_messages.js.map +1 -1
  28. package/build/hooks/use_conversation_messages_jolt_events.d.ts +9 -1
  29. package/build/hooks/use_conversation_messages_jolt_events.d.ts.map +1 -1
  30. package/build/hooks/use_conversation_messages_jolt_events.js +88 -73
  31. package/build/hooks/use_conversation_messages_jolt_events.js.map +1 -1
  32. package/build/hooks/use_direct_message_eligibility.d.ts +14 -0
  33. package/build/hooks/use_direct_message_eligibility.d.ts.map +1 -0
  34. package/build/hooks/use_direct_message_eligibility.js +87 -0
  35. package/build/hooks/use_direct_message_eligibility.js.map +1 -0
  36. package/build/hooks/use_fetch_newer_messages.d.ts +8 -0
  37. package/build/hooks/use_fetch_newer_messages.d.ts.map +1 -0
  38. package/build/hooks/use_fetch_newer_messages.js +56 -0
  39. package/build/hooks/use_fetch_newer_messages.js.map +1 -0
  40. package/build/hooks/use_fetch_newer_on_foreground.d.ts +8 -0
  41. package/build/hooks/use_fetch_newer_on_foreground.d.ts.map +1 -0
  42. package/build/hooks/use_fetch_newer_on_foreground.js +41 -0
  43. package/build/hooks/use_fetch_newer_on_foreground.js.map +1 -0
  44. package/build/hooks/use_mark_latest_message_read.d.ts +2 -1
  45. package/build/hooks/use_mark_latest_message_read.d.ts.map +1 -1
  46. package/build/hooks/use_mark_latest_message_read.js +4 -3
  47. package/build/hooks/use_mark_latest_message_read.js.map +1 -1
  48. package/build/hooks/use_suspense_api.d.ts.map +1 -1
  49. package/build/hooks/use_suspense_api.js +5 -8
  50. package/build/hooks/use_suspense_api.js.map +1 -1
  51. package/build/screens/conversation_new/components/services_form.js +9 -8
  52. package/build/screens/conversation_new/components/services_form.js.map +1 -1
  53. package/build/screens/conversation_screen.d.ts +1 -0
  54. package/build/screens/conversation_screen.d.ts.map +1 -1
  55. package/build/screens/conversation_screen.js +241 -355
  56. package/build/screens/conversation_screen.js.map +1 -1
  57. package/build/types/api_primitives.d.ts +2 -0
  58. package/build/types/api_primitives.d.ts.map +1 -1
  59. package/build/types/api_primitives.js.map +1 -1
  60. package/build/types/resources/member.d.ts +1 -0
  61. package/build/types/resources/member.d.ts.map +1 -1
  62. package/build/types/resources/member.js.map +1 -1
  63. package/build/utils/cache/prepend_newer_page.d.ts +7 -0
  64. package/build/utils/cache/prepend_newer_page.d.ts.map +1 -0
  65. package/build/utils/cache/prepend_newer_page.js +14 -0
  66. package/build/utils/cache/prepend_newer_page.js.map +1 -0
  67. package/build/utils/client/types.d.ts +1 -0
  68. package/build/utils/client/types.d.ts.map +1 -1
  69. package/build/utils/client/types.js.map +1 -1
  70. package/build/utils/gated_message_cache.d.ts +7 -0
  71. package/build/utils/gated_message_cache.d.ts.map +1 -0
  72. package/build/utils/gated_message_cache.js +13 -0
  73. package/build/utils/gated_message_cache.js.map +1 -0
  74. package/build/utils/generate_placeholder_ulid.d.ts +0 -6
  75. package/build/utils/generate_placeholder_ulid.d.ts.map +1 -1
  76. package/build/utils/generate_placeholder_ulid.js +2 -2
  77. package/build/utils/generate_placeholder_ulid.js.map +1 -1
  78. package/build/utils/group_messages.js +4 -1
  79. package/build/utils/group_messages.js.map +1 -1
  80. package/build/utils/request/get_messages.d.ts +18 -6
  81. package/build/utils/request/get_messages.d.ts.map +1 -1
  82. package/build/utils/request/get_messages.js +10 -12
  83. package/build/utils/request/get_messages.js.map +1 -1
  84. package/build/utils/ulid.d.ts +3 -0
  85. package/build/utils/ulid.d.ts.map +1 -0
  86. package/build/utils/ulid.js +7 -0
  87. package/build/utils/ulid.js.map +1 -0
  88. package/package.json +3 -3
  89. package/src/__tests__/hooks/paginator_meta.test.ts +73 -2
  90. package/src/__tests__/hooks/use_conversation_messages_jolt_events.test.ts +36 -0
  91. package/src/__tests__/hooks/use_direct_message_eligibility.test.tsx +83 -0
  92. package/src/__tests__/screens/conversation_new/components/services_form.test.tsx +91 -0
  93. package/src/__tests__/utils/gated_message_cache.test.ts +26 -0
  94. package/src/__tests__/utils/request/get_messages.test.ts +24 -0
  95. package/src/__tests__/utils/ulid.test.ts +15 -0
  96. package/src/components/conversation/__tests__/anchor_not_found_boundary.test.tsx +51 -0
  97. package/src/components/conversation/__tests__/message_list.test.tsx +42 -0
  98. package/src/components/conversation/anchor_not_found_boundary.tsx +21 -0
  99. package/src/components/conversation/message_form.tsx +4 -0
  100. package/src/components/conversation/message_list.tsx +58 -4
  101. package/src/hooks/index.ts +1 -0
  102. package/src/hooks/paginator_meta.ts +29 -5
  103. package/src/hooks/use_api.ts +4 -5
  104. package/src/hooks/use_conversation_messages.ts +43 -11
  105. package/src/hooks/use_conversation_messages_jolt_events.ts +57 -40
  106. package/src/hooks/use_direct_message_eligibility.ts +40 -0
  107. package/src/hooks/use_fetch_newer_messages.ts +37 -0
  108. package/src/hooks/use_fetch_newer_on_foreground.ts +25 -0
  109. package/src/hooks/use_mark_latest_message_read.ts +4 -3
  110. package/src/hooks/use_suspense_api.ts +4 -5
  111. package/src/screens/conversation_new/components/services_form.tsx +5 -5
  112. package/src/screens/conversation_screen.tsx +120 -17
  113. package/src/types/api_primitives.ts +2 -0
  114. package/src/types/resources/member.ts +1 -0
  115. package/src/utils/__tests__/group_messages.test.ts +29 -0
  116. package/src/utils/cache/__tests__/prepend_newer_page.test.ts +35 -0
  117. package/src/utils/cache/prepend_newer_page.ts +22 -0
  118. package/src/utils/client/types.ts +1 -0
  119. package/src/utils/gated_message_cache.ts +19 -0
  120. package/src/utils/generate_placeholder_ulid.ts +2 -2
  121. package/src/utils/group_messages.ts +4 -1
  122. package/src/utils/request/get_messages.ts +12 -14
  123. package/src/utils/ulid.ts +11 -0
@@ -0,0 +1,18 @@
1
+ import React, { PropsWithChildren } from 'react';
2
+ type Props = PropsWithChildren<{
3
+ onAnchorNotFound: () => void;
4
+ }>;
5
+ export declare class AnchorNotFoundBoundary extends React.Component<Props, {
6
+ recovering: boolean;
7
+ }> {
8
+ state: {
9
+ recovering: boolean;
10
+ };
11
+ static getDerivedStateFromError(error: Error): {
12
+ recovering: boolean;
13
+ };
14
+ componentDidCatch(): void;
15
+ render(): React.ReactNode;
16
+ }
17
+ export {};
18
+ //# sourceMappingURL=anchor_not_found_boundary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anchor_not_found_boundary.d.ts","sourceRoot":"","sources":["../../../src/components/conversation/anchor_not_found_boundary.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAA;AAGhD,KAAK,KAAK,GAAG,iBAAiB,CAAC;IAAE,gBAAgB,EAAE,MAAM,IAAI,CAAA;CAAE,CAAC,CAAA;AAEhE,qBAAa,sBAAuB,SAAQ,KAAK,CAAC,SAAS,CAAC,KAAK,EAAE;IAAE,UAAU,EAAE,OAAO,CAAA;CAAE,CAAC;IACzF,KAAK;;MAAwB;IAE7B,MAAM,CAAC,wBAAwB,CAAC,KAAK,EAAE,KAAK;;;IAK5C,iBAAiB;IAIjB,MAAM;CAGP"}
@@ -0,0 +1,20 @@
1
+ import React from 'react';
2
+ import { ResponseError } from '../../utils/response_error';
3
+ export class AnchorNotFoundBoundary extends React.Component {
4
+ state = {
5
+ recovering: false
6
+ };
7
+ static getDerivedStateFromError(error) {
8
+ if (error instanceof ResponseError && error.status === 404) return {
9
+ recovering: true
10
+ };
11
+ throw error;
12
+ }
13
+ componentDidCatch() {
14
+ this.props.onAnchorNotFound();
15
+ }
16
+ render() {
17
+ return this.state.recovering ? null : this.props.children;
18
+ }
19
+ }
20
+ //# sourceMappingURL=anchor_not_found_boundary.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"anchor_not_found_boundary.js","names":["React","ResponseError","AnchorNotFoundBoundary","Component","state","recovering","getDerivedStateFromError","error","status","componentDidCatch","props","onAnchorNotFound","render","children"],"sources":["../../../src/components/conversation/anchor_not_found_boundary.tsx"],"sourcesContent":["import React, { PropsWithChildren } from 'react'\nimport { ResponseError } from '../../utils/response_error'\n\ntype Props = PropsWithChildren<{ onAnchorNotFound: () => void }>\n\nexport class AnchorNotFoundBoundary extends React.Component<Props, { recovering: boolean }> {\n state = { recovering: false }\n\n static getDerivedStateFromError(error: Error) {\n if (error instanceof ResponseError && error.status === 404) return { recovering: true }\n throw error\n }\n\n componentDidCatch() {\n this.props.onAnchorNotFound()\n }\n\n render() {\n return this.state.recovering ? null : this.props.children\n }\n}\n"],"mappings":"AAAA,OAAOA,KAAK,MAA6B,OAAO;AAChD,SAASC,aAAa,QAAQ,4BAA4B;AAI1D,OAAO,MAAMC,sBAAsB,SAASF,KAAK,CAACG,SAAS,CAAiC;EAC1FC,KAAK,GAAG;IAAEC,UAAU,EAAE;EAAM,CAAC;EAE7B,OAAOC,wBAAwBA,CAACC,KAAY,EAAE;IAC5C,IAAIA,KAAK,YAAYN,aAAa,IAAIM,KAAK,CAACC,MAAM,KAAK,GAAG,EAAE,OAAO;MAAEH,UAAU,EAAE;IAAK,CAAC;IACvF,MAAME,KAAK;EACb;EAEAE,iBAAiBA,CAAA,EAAG;IAClB,IAAI,CAACC,KAAK,CAACC,gBAAgB,CAAC,CAAC;EAC/B;EAEAC,MAAMA,CAAA,EAAG;IACP,OAAO,IAAI,CAACR,KAAK,CAACC,UAAU,GAAG,IAAI,GAAG,IAAI,CAACK,KAAK,CAACG,QAAQ;EAC3D;AACF","ignoreList":[]}
@@ -13,8 +13,9 @@ interface MessagesFormRootProps extends ViewProps {
13
13
  replyRootId?: string | null;
14
14
  replyRootAuthorFirstName?: string | null;
15
15
  onFlaggedInMessageForm?: (id: string) => void;
16
+ onBeforeSubmit?: () => void;
16
17
  }
17
- declare function MessageFormRoot({ conversation, currentlyEditingMessage, children, replyRootId, replyRootAuthorFirstName, onFlaggedInMessageForm, }: MessagesFormRootProps): import("react/jsx-runtime").JSX.Element;
18
+ declare function MessageFormRoot({ conversation, currentlyEditingMessage, children, replyRootId, replyRootAuthorFirstName, onFlaggedInMessageForm, onBeforeSubmit, }: MessagesFormRootProps): import("react/jsx-runtime").JSX.Element;
18
19
  declare function MessageFormInput(): import("react/jsx-runtime").JSX.Element;
19
20
  declare function MessageFormSubmitBtn(): import("react/jsx-runtime").JSX.Element;
20
21
  declare function MessageFormAttachmentPicker(): import("react/jsx-runtime").JSX.Element | null;
@@ -1 +1 @@
1
- {"version":3,"file":"message_form.d.ts","sourceRoot":"","sources":["../../../src/components/conversation/message_form.tsx"],"names":[],"mappings":"AAEA,OAAO,EAQL,SAAS,EAEV,MAAM,cAAc,CAAA;AAiBrB,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AA6BnE,eAAO,MAAM,WAAW;;;;;;CAOvB,CAAA;AAED,UAAU,qBAAsB,SAAQ,SAAS;IAC/C,YAAY,EAAE,oBAAoB,CAAA;IAClC,uBAAuB,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxC,sBAAsB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAC9C;AAmCD,iBAAS,eAAe,CAAC,EACvB,YAAY,EACZ,uBAAuB,EACvB,QAAQ,EACR,WAAW,EACX,wBAAwB,EACxB,sBAAsB,GACvB,EAAE,qBAAqB,2CA6KvB;AAyID,iBAAS,gBAAgB,4CAyDxB;AAcD,iBAAS,oBAAoB,4CAgD5B;AAED,iBAAS,2BAA2B,mDAuHnC;AAED,iBAAS,mBAAmB,mDAkC3B"}
1
+ {"version":3,"file":"message_form.d.ts","sourceRoot":"","sources":["../../../src/components/conversation/message_form.tsx"],"names":[],"mappings":"AAEA,OAAO,EAQL,SAAS,EAEV,MAAM,cAAc,CAAA;AAiBrB,OAAO,EAAE,oBAAoB,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AA6BnE,eAAO,MAAM,WAAW;;;;;;CAOvB,CAAA;AAED,UAAU,qBAAsB,SAAQ,SAAS;IAC/C,YAAY,EAAE,oBAAoB,CAAA;IAClC,uBAAuB,CAAC,EAAE,eAAe,GAAG,IAAI,CAAA;IAChD,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxC,sBAAsB,CAAC,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;IAC7C,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;CAC5B;AAmCD,iBAAS,eAAe,CAAC,EACvB,YAAY,EACZ,uBAAuB,EACvB,QAAQ,EACR,WAAW,EACX,wBAAwB,EACxB,sBAAsB,EACtB,cAAc,GACf,EAAE,qBAAqB,2CA+KvB;AAyID,iBAAS,gBAAgB,4CAyDxB;AAcD,iBAAS,oBAAoB,4CAgD5B;AAED,iBAAS,2BAA2B,mDAuHnC;AAED,iBAAS,mBAAmB,mDAkC3B"}
@@ -49,14 +49,15 @@ const GIPHY_MAX_LENGTH = 50;
49
49
  const MAX_MESSAGE_LENGTH = 5000;
50
50
  const PLACEHOLDER_FONT_SCALE_THRESHOLD = 1.7;
51
51
  function MessageFormRoot(t0) {
52
- const $ = _c(88);
52
+ const $ = _c(89);
53
53
  const {
54
54
  conversation,
55
55
  currentlyEditingMessage,
56
56
  children,
57
57
  replyRootId,
58
58
  replyRootAuthorFirstName,
59
- onFlaggedInMessageForm
59
+ onFlaggedInMessageForm,
60
+ onBeforeSubmit
60
61
  } = t0;
61
62
  const {
62
63
  giphyApiKey
@@ -297,11 +298,12 @@ function MessageFormRoot(t0) {
297
298
  }
298
299
  const navigateToSendGiphyAfterKeyboardHides = t21;
299
300
  let t22;
300
- if ($[51] !== attachmentUploader.attachments || $[52] !== canGiphy || $[53] !== canSubmit || $[54] !== currentlyEditingMessage || $[55] !== mutateAsync || $[56] !== navigateToSendGiphyAfterKeyboardHides || $[57] !== reset || $[58] !== text || $[59] !== usingGiphy) {
301
+ if ($[51] !== attachmentUploader.attachments || $[52] !== canGiphy || $[53] !== canSubmit || $[54] !== currentlyEditingMessage || $[55] !== mutateAsync || $[56] !== navigateToSendGiphyAfterKeyboardHides || $[57] !== onBeforeSubmit || $[58] !== reset || $[59] !== text || $[60] !== usingGiphy) {
301
302
  t22 = () => {
302
303
  if (!canSubmit) {
303
304
  return;
304
305
  }
306
+ onBeforeSubmit?.();
305
307
  if (canGiphy && usingGiphy) {
306
308
  TextInput.State.blurTextInput(TextInput.State.currentlyFocusedInput());
307
309
  Haptic.impactLight();
@@ -329,33 +331,34 @@ function MessageFormRoot(t0) {
329
331
  $[54] = currentlyEditingMessage;
330
332
  $[55] = mutateAsync;
331
333
  $[56] = navigateToSendGiphyAfterKeyboardHides;
332
- $[57] = reset;
333
- $[58] = text;
334
- $[59] = usingGiphy;
335
- $[60] = t22;
334
+ $[57] = onBeforeSubmit;
335
+ $[58] = reset;
336
+ $[59] = text;
337
+ $[60] = usingGiphy;
338
+ $[61] = t22;
336
339
  } else {
337
- t22 = $[60];
340
+ t22 = $[61];
338
341
  }
339
342
  const handleSubmit = t22;
340
343
  let t23;
341
344
  let t24;
342
- if ($[61] !== currentlyEditingMessage) {
345
+ if ($[62] !== currentlyEditingMessage) {
343
346
  t23 = () => {
344
347
  if (currentlyEditingMessage) {
345
348
  setText(currentlyEditingMessage.text || "");
346
349
  }
347
350
  };
348
351
  t24 = [currentlyEditingMessage];
349
- $[61] = currentlyEditingMessage;
350
- $[62] = t23;
351
- $[63] = t24;
352
+ $[62] = currentlyEditingMessage;
353
+ $[63] = t23;
354
+ $[64] = t24;
352
355
  } else {
353
- t23 = $[62];
354
- t24 = $[63];
356
+ t23 = $[63];
357
+ t24 = $[64];
355
358
  }
356
359
  useEffect(t23, t24);
357
360
  let t25;
358
- if ($[64] !== attachmentUploader || $[65] !== canGiphy || $[66] !== currentlyEditingMessage || $[67] !== disabled || $[68] !== handleSubmit || $[69] !== inputEditable || $[70] !== replyRootAuthorFirstName || $[71] !== replyRootId || $[72] !== reset || $[73] !== text || $[74] !== usingGiphy) {
361
+ if ($[65] !== attachmentUploader || $[66] !== canGiphy || $[67] !== currentlyEditingMessage || $[68] !== disabled || $[69] !== handleSubmit || $[70] !== inputEditable || $[71] !== replyRootAuthorFirstName || $[72] !== replyRootId || $[73] !== reset || $[74] !== text || $[75] !== usingGiphy) {
359
362
  t25 = {
360
363
  text,
361
364
  setText,
@@ -371,71 +374,71 @@ function MessageFormRoot(t0) {
371
374
  replyRootId,
372
375
  replyRootAuthorFirstName
373
376
  };
374
- $[64] = attachmentUploader;
375
- $[65] = canGiphy;
376
- $[66] = currentlyEditingMessage;
377
- $[67] = disabled;
378
- $[68] = handleSubmit;
379
- $[69] = inputEditable;
380
- $[70] = replyRootAuthorFirstName;
381
- $[71] = replyRootId;
382
- $[72] = reset;
383
- $[73] = text;
384
- $[74] = usingGiphy;
385
- $[75] = t25;
386
- } else {
387
- t25 = $[75];
377
+ $[65] = attachmentUploader;
378
+ $[66] = canGiphy;
379
+ $[67] = currentlyEditingMessage;
380
+ $[68] = disabled;
381
+ $[69] = handleSubmit;
382
+ $[70] = inputEditable;
383
+ $[71] = replyRootAuthorFirstName;
384
+ $[72] = replyRootId;
385
+ $[73] = reset;
386
+ $[74] = text;
387
+ $[75] = usingGiphy;
388
+ $[76] = t25;
389
+ } else {
390
+ t25 = $[76];
388
391
  }
389
392
  let t26;
390
393
  let t27;
391
394
  let t28;
392
- if ($[76] === Symbol.for("react.memo_cache_sentinel")) {
395
+ if ($[77] === Symbol.for("react.memo_cache_sentinel")) {
393
396
  t26 = /*#__PURE__*/_jsx(EditingIndicator, {});
394
397
  t27 = /*#__PURE__*/_jsx(ReplyIndicator, {});
395
398
  t28 = /*#__PURE__*/_jsx(FlaggedContentBanner, {});
396
- $[76] = t26;
397
- $[77] = t27;
398
- $[78] = t28;
399
+ $[77] = t26;
400
+ $[78] = t27;
401
+ $[79] = t28;
399
402
  } else {
400
- t26 = $[76];
401
- t27 = $[77];
402
- t28 = $[78];
403
+ t26 = $[77];
404
+ t27 = $[78];
405
+ t28 = $[79];
403
406
  }
404
407
  let t29;
405
- if ($[79] !== children || $[80] !== styles.textInputContainer) {
408
+ if ($[80] !== children || $[81] !== styles.textInputContainer) {
406
409
  t29 = /*#__PURE__*/_jsx(View, {
407
410
  style: styles.textInputContainer,
408
411
  children: children
409
412
  });
410
- $[79] = children;
411
- $[80] = styles.textInputContainer;
412
- $[81] = t29;
413
+ $[80] = children;
414
+ $[81] = styles.textInputContainer;
415
+ $[82] = t29;
413
416
  } else {
414
- t29 = $[81];
417
+ t29 = $[82];
415
418
  }
416
419
  let t30;
417
- if ($[82] !== styles.container || $[83] !== t29) {
420
+ if ($[83] !== styles.container || $[84] !== t29) {
418
421
  t30 = /*#__PURE__*/_jsxs(View, {
419
422
  style: styles.container,
420
423
  children: [t26, t27, t28, t29]
421
424
  });
422
- $[82] = styles.container;
423
- $[83] = t29;
424
- $[84] = t30;
425
+ $[83] = styles.container;
426
+ $[84] = t29;
427
+ $[85] = t30;
425
428
  } else {
426
- t30 = $[84];
429
+ t30 = $[85];
427
430
  }
428
431
  let t31;
429
- if ($[85] !== t25 || $[86] !== t30) {
432
+ if ($[86] !== t25 || $[87] !== t30) {
430
433
  t31 = /*#__PURE__*/_jsx(MessageFormContext.Provider, {
431
434
  value: t25,
432
435
  children: t30
433
436
  });
434
- $[85] = t25;
435
- $[86] = t30;
436
- $[87] = t31;
437
+ $[86] = t25;
438
+ $[87] = t30;
439
+ $[88] = t31;
437
440
  } else {
438
- t31 = $[87];
441
+ t31 = $[88];
439
442
  }
440
443
  return t31;
441
444
  }