@hivemagnus/magnus-ui 1.0.1 → 1.0.2

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 (461) hide show
  1. package/dist/app/apps/dashboard/.next/BUILD_ID +1 -1
  2. package/dist/app/apps/dashboard/.next/build-manifest.json +56 -56
  3. package/dist/app/apps/dashboard/.next/prerender-manifest.json +3 -3
  4. package/dist/app/apps/dashboard/.next/required-server-files.json +1 -1
  5. package/dist/app/apps/dashboard/.next/server/app/_global-error/page/build-manifest.json +2 -2
  6. package/dist/app/apps/dashboard/.next/server/app/_global-error/page.js +1 -1
  7. package/dist/app/apps/dashboard/.next/server/app/_global-error/page.js.nft.json +1 -1
  8. package/dist/app/apps/dashboard/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
  9. package/dist/app/apps/dashboard/.next/server/app/_global-error.html +1 -1
  10. package/dist/app/apps/dashboard/.next/server/app/_global-error.rsc +1 -1
  11. package/dist/app/apps/dashboard/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
  12. package/dist/app/apps/dashboard/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
  13. package/dist/app/apps/dashboard/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
  14. package/dist/app/apps/dashboard/.next/server/app/_not-found/page/build-manifest.json +2 -2
  15. package/dist/app/apps/dashboard/.next/server/app/_not-found/page.js +3 -3
  16. package/dist/app/apps/dashboard/.next/server/app/_not-found/page.js.nft.json +1 -1
  17. package/dist/app/apps/dashboard/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  18. package/dist/app/apps/dashboard/.next/server/app/anomalies/[anomalyId]/page/build-manifest.json +2 -2
  19. package/dist/app/apps/dashboard/.next/server/app/anomalies/[anomalyId]/page.js +3 -3
  20. package/dist/app/apps/dashboard/.next/server/app/anomalies/[anomalyId]/page.js.nft.json +1 -1
  21. package/dist/app/apps/dashboard/.next/server/app/anomalies/[anomalyId]/page_client-reference-manifest.js +1 -1
  22. package/dist/app/apps/dashboard/.next/server/app/anomalies/page/build-manifest.json +2 -2
  23. package/dist/app/apps/dashboard/.next/server/app/anomalies/page.js +3 -3
  24. package/dist/app/apps/dashboard/.next/server/app/anomalies/page.js.nft.json +1 -1
  25. package/dist/app/apps/dashboard/.next/server/app/anomalies/page_client-reference-manifest.js +1 -1
  26. package/dist/app/apps/dashboard/.next/server/app/anomalies/remediation/page/build-manifest.json +2 -2
  27. package/dist/app/apps/dashboard/.next/server/app/anomalies/remediation/page.js +3 -3
  28. package/dist/app/apps/dashboard/.next/server/app/anomalies/remediation/page.js.nft.json +1 -1
  29. package/dist/app/apps/dashboard/.next/server/app/anomalies/remediation/page_client-reference-manifest.js +1 -1
  30. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/callback/route.js +6 -6
  31. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/callback/route.js.nft.json +1 -1
  32. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/configured/route.js +2 -2
  33. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/configured/route.js.nft.json +1 -1
  34. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/start/route.js +2 -2
  35. package/dist/app/apps/dashboard/.next/server/app/api/auth/hive/start/route.js.nft.json +1 -1
  36. package/dist/app/apps/dashboard/.next/server/app/api/auth/login/route.js +6 -6
  37. package/dist/app/apps/dashboard/.next/server/app/api/auth/login/route.js.nft.json +1 -1
  38. package/dist/app/apps/dashboard/.next/server/app/api/auth/logout/route.js +8 -8
  39. package/dist/app/apps/dashboard/.next/server/app/api/auth/logout/route.js.nft.json +1 -1
  40. package/dist/app/apps/dashboard/.next/server/app/api/auth/me/route.js +5 -5
  41. package/dist/app/apps/dashboard/.next/server/app/api/auth/me/route.js.nft.json +1 -1
  42. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/[id]/route.js +2 -2
  43. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/[id]/route.js.nft.json +1 -1
  44. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/migrate/route.js +1 -1
  45. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/migrate/route.js.nft.json +1 -1
  46. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/route.js +2 -2
  47. package/dist/app/apps/dashboard/.next/server/app/api/control-nodes/route.js.nft.json +1 -1
  48. package/dist/app/apps/dashboard/.next/server/app/api/federation/route.js +9 -9
  49. package/dist/app/apps/dashboard/.next/server/app/api/federation/route.js.nft.json +1 -1
  50. package/dist/app/apps/dashboard/.next/server/app/api/health/route.js +1 -1
  51. package/dist/app/apps/dashboard/.next/server/app/api/health/route.js.nft.json +1 -1
  52. package/dist/app/apps/dashboard/.next/server/app/api/hermes/dashboard/[[...path]]/route.js +6 -6
  53. package/dist/app/apps/dashboard/.next/server/app/api/hermes/dashboard/[[...path]]/route.js.nft.json +1 -1
  54. package/dist/app/apps/dashboard/.next/server/app/api/hive-router/dashboard/[[...path]]/route.js +5 -5
  55. package/dist/app/apps/dashboard/.next/server/app/api/hive-router/dashboard/[[...path]]/route.js.nft.json +1 -1
  56. package/dist/app/apps/dashboard/.next/server/app/api/internal/resource-enrollment/drain/route.js +3 -3
  57. package/dist/app/apps/dashboard/.next/server/app/api/internal/resource-enrollment/drain/route.js.nft.json +1 -1
  58. package/dist/app/apps/dashboard/.next/server/app/api/proxy/[...path]/route.js +9 -9
  59. package/dist/app/apps/dashboard/.next/server/app/api/proxy/[...path]/route.js.nft.json +1 -1
  60. package/dist/app/apps/dashboard/.next/server/app/api/terminal/close/route.js +7 -7
  61. package/dist/app/apps/dashboard/.next/server/app/api/terminal/close/route.js.nft.json +1 -1
  62. package/dist/app/apps/dashboard/.next/server/app/api/terminal/input/route.js +7 -7
  63. package/dist/app/apps/dashboard/.next/server/app/api/terminal/input/route.js.nft.json +1 -1
  64. package/dist/app/apps/dashboard/.next/server/app/api/terminal/join/route.js +2 -2
  65. package/dist/app/apps/dashboard/.next/server/app/api/terminal/join/route.js.nft.json +1 -1
  66. package/dist/app/apps/dashboard/.next/server/app/api/terminal/open/route.js +12 -12
  67. package/dist/app/apps/dashboard/.next/server/app/api/terminal/open/route.js.nft.json +1 -1
  68. package/dist/app/apps/dashboard/.next/server/app/api/terminal/promote/route.js +7 -7
  69. package/dist/app/apps/dashboard/.next/server/app/api/terminal/promote/route.js.nft.json +1 -1
  70. package/dist/app/apps/dashboard/.next/server/app/api/terminal/resize/route.js +7 -7
  71. package/dist/app/apps/dashboard/.next/server/app/api/terminal/resize/route.js.nft.json +1 -1
  72. package/dist/app/apps/dashboard/.next/server/app/api/terminal/share/route.js +7 -7
  73. package/dist/app/apps/dashboard/.next/server/app/api/terminal/share/route.js.nft.json +1 -1
  74. package/dist/app/apps/dashboard/.next/server/app/api/terminal/stream/route.js +2 -2
  75. package/dist/app/apps/dashboard/.next/server/app/api/terminal/stream/route.js.nft.json +1 -1
  76. package/dist/app/apps/dashboard/.next/server/app/api/terminal/ws/route.js +1 -1
  77. package/dist/app/apps/dashboard/.next/server/app/api/terminal/ws/route.js.nft.json +1 -1
  78. package/dist/app/apps/dashboard/.next/server/app/api-docs/page/build-manifest.json +2 -2
  79. package/dist/app/apps/dashboard/.next/server/app/api-docs/page.js +3 -3
  80. package/dist/app/apps/dashboard/.next/server/app/api-docs/page.js.nft.json +1 -1
  81. package/dist/app/apps/dashboard/.next/server/app/api-docs/page_client-reference-manifest.js +1 -1
  82. package/dist/app/apps/dashboard/.next/server/app/application-operations/page/build-manifest.json +2 -2
  83. package/dist/app/apps/dashboard/.next/server/app/application-operations/page.js +3 -3
  84. package/dist/app/apps/dashboard/.next/server/app/application-operations/page.js.nft.json +1 -1
  85. package/dist/app/apps/dashboard/.next/server/app/application-operations/page_client-reference-manifest.js +1 -1
  86. package/dist/app/apps/dashboard/.next/server/app/ardent/installations/page/build-manifest.json +2 -2
  87. package/dist/app/apps/dashboard/.next/server/app/ardent/installations/page.js +3 -3
  88. package/dist/app/apps/dashboard/.next/server/app/ardent/installations/page.js.nft.json +1 -1
  89. package/dist/app/apps/dashboard/.next/server/app/ardent/installations/page_client-reference-manifest.js +1 -1
  90. package/dist/app/apps/dashboard/.next/server/app/ardent/page/build-manifest.json +2 -2
  91. package/dist/app/apps/dashboard/.next/server/app/ardent/page.js +3 -3
  92. package/dist/app/apps/dashboard/.next/server/app/ardent/page.js.nft.json +1 -1
  93. package/dist/app/apps/dashboard/.next/server/app/ardent/page_client-reference-manifest.js +1 -1
  94. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/[id]/page/build-manifest.json +2 -2
  95. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/[id]/page.js +3 -3
  96. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/[id]/page.js.nft.json +1 -1
  97. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/[id]/page_client-reference-manifest.js +1 -1
  98. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/page/build-manifest.json +2 -2
  99. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/page.js +3 -3
  100. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/page.js.nft.json +1 -1
  101. package/dist/app/apps/dashboard/.next/server/app/ardent/profiles/page_client-reference-manifest.js +1 -1
  102. package/dist/app/apps/dashboard/.next/server/app/audit/page/build-manifest.json +2 -2
  103. package/dist/app/apps/dashboard/.next/server/app/audit/page.js +4 -4
  104. package/dist/app/apps/dashboard/.next/server/app/audit/page.js.nft.json +1 -1
  105. package/dist/app/apps/dashboard/.next/server/app/audit/page_client-reference-manifest.js +1 -1
  106. package/dist/app/apps/dashboard/.next/server/app/codex/installations/page/build-manifest.json +2 -2
  107. package/dist/app/apps/dashboard/.next/server/app/codex/installations/page.js +3 -3
  108. package/dist/app/apps/dashboard/.next/server/app/codex/installations/page.js.nft.json +1 -1
  109. package/dist/app/apps/dashboard/.next/server/app/codex/installations/page_client-reference-manifest.js +1 -1
  110. package/dist/app/apps/dashboard/.next/server/app/codex/page/build-manifest.json +2 -2
  111. package/dist/app/apps/dashboard/.next/server/app/codex/page.js +3 -3
  112. package/dist/app/apps/dashboard/.next/server/app/codex/page.js.nft.json +1 -1
  113. package/dist/app/apps/dashboard/.next/server/app/codex/page_client-reference-manifest.js +1 -1
  114. package/dist/app/apps/dashboard/.next/server/app/commands/page/build-manifest.json +2 -2
  115. package/dist/app/apps/dashboard/.next/server/app/commands/page.js +3 -3
  116. package/dist/app/apps/dashboard/.next/server/app/commands/page.js.nft.json +1 -1
  117. package/dist/app/apps/dashboard/.next/server/app/commands/page_client-reference-manifest.js +1 -1
  118. package/dist/app/apps/dashboard/.next/server/app/cron/page/build-manifest.json +2 -2
  119. package/dist/app/apps/dashboard/.next/server/app/cron/page/server-reference-manifest.json +1 -1
  120. package/dist/app/apps/dashboard/.next/server/app/cron/page.js +4 -4
  121. package/dist/app/apps/dashboard/.next/server/app/cron/page.js.nft.json +1 -1
  122. package/dist/app/apps/dashboard/.next/server/app/cron/page_client-reference-manifest.js +1 -1
  123. package/dist/app/apps/dashboard/.next/server/app/files/page/build-manifest.json +2 -2
  124. package/dist/app/apps/dashboard/.next/server/app/files/page.js +3 -3
  125. package/dist/app/apps/dashboard/.next/server/app/files/page.js.nft.json +1 -1
  126. package/dist/app/apps/dashboard/.next/server/app/files/page_client-reference-manifest.js +1 -1
  127. package/dist/app/apps/dashboard/.next/server/app/fleet-map/page/build-manifest.json +2 -2
  128. package/dist/app/apps/dashboard/.next/server/app/fleet-map/page.js +3 -3
  129. package/dist/app/apps/dashboard/.next/server/app/fleet-map/page.js.nft.json +1 -1
  130. package/dist/app/apps/dashboard/.next/server/app/fleet-map/page_client-reference-manifest.js +1 -1
  131. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page/build-manifest.json +2 -2
  132. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page.js +4 -4
  133. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page.js.nft.json +1 -1
  134. package/dist/app/apps/dashboard/.next/server/app/fleet-readiness/page_client-reference-manifest.js +1 -1
  135. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page/build-manifest.json +2 -2
  136. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page.js +4 -4
  137. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page.js.nft.json +1 -1
  138. package/dist/app/apps/dashboard/.next/server/app/fleet-timeline/page_client-reference-manifest.js +1 -1
  139. package/dist/app/apps/dashboard/.next/server/app/governor/operations/page/build-manifest.json +2 -2
  140. package/dist/app/apps/dashboard/.next/server/app/governor/operations/page.js +3 -3
  141. package/dist/app/apps/dashboard/.next/server/app/governor/operations/page.js.nft.json +1 -1
  142. package/dist/app/apps/dashboard/.next/server/app/governor/operations/page_client-reference-manifest.js +1 -1
  143. package/dist/app/apps/dashboard/.next/server/app/governor/share/[token]/page/build-manifest.json +2 -2
  144. package/dist/app/apps/dashboard/.next/server/app/governor/share/[token]/page.js +3 -3
  145. package/dist/app/apps/dashboard/.next/server/app/governor/share/[token]/page.js.nft.json +1 -1
  146. package/dist/app/apps/dashboard/.next/server/app/governor/share/[token]/page_client-reference-manifest.js +1 -1
  147. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page/build-manifest.json +2 -2
  148. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page.js +4 -4
  149. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page.js.nft.json +1 -1
  150. package/dist/app/apps/dashboard/.next/server/app/hermes-drift/page_client-reference-manifest.js +1 -1
  151. package/dist/app/apps/dashboard/.next/server/app/hermes-security/page/build-manifest.json +2 -2
  152. package/dist/app/apps/dashboard/.next/server/app/hermes-security/page.js +3 -3
  153. package/dist/app/apps/dashboard/.next/server/app/hermes-security/page.js.nft.json +1 -1
  154. package/dist/app/apps/dashboard/.next/server/app/hermes-security/page_client-reference-manifest.js +1 -1
  155. package/dist/app/apps/dashboard/.next/server/app/icon.svg/route.js +1 -1
  156. package/dist/app/apps/dashboard/.next/server/app/icon.svg/route.js.nft.json +1 -1
  157. package/dist/app/apps/dashboard/.next/server/app/incidents/page/build-manifest.json +2 -2
  158. package/dist/app/apps/dashboard/.next/server/app/incidents/page.js +4 -4
  159. package/dist/app/apps/dashboard/.next/server/app/incidents/page.js.nft.json +1 -1
  160. package/dist/app/apps/dashboard/.next/server/app/incidents/page_client-reference-manifest.js +1 -1
  161. package/dist/app/apps/dashboard/.next/server/app/library/page/build-manifest.json +2 -2
  162. package/dist/app/apps/dashboard/.next/server/app/library/page.js +4 -4
  163. package/dist/app/apps/dashboard/.next/server/app/library/page.js.nft.json +1 -1
  164. package/dist/app/apps/dashboard/.next/server/app/library/page_client-reference-manifest.js +1 -1
  165. package/dist/app/apps/dashboard/.next/server/app/login/page/build-manifest.json +2 -2
  166. package/dist/app/apps/dashboard/.next/server/app/login/page.js +3 -3
  167. package/dist/app/apps/dashboard/.next/server/app/login/page.js.nft.json +1 -1
  168. package/dist/app/apps/dashboard/.next/server/app/login/page_client-reference-manifest.js +1 -1
  169. package/dist/app/apps/dashboard/.next/server/app/logs/page/build-manifest.json +2 -2
  170. package/dist/app/apps/dashboard/.next/server/app/logs/page.js +3 -3
  171. package/dist/app/apps/dashboard/.next/server/app/logs/page.js.nft.json +1 -1
  172. package/dist/app/apps/dashboard/.next/server/app/logs/page_client-reference-manifest.js +1 -1
  173. package/dist/app/apps/dashboard/.next/server/app/mission-control/page/build-manifest.json +2 -2
  174. package/dist/app/apps/dashboard/.next/server/app/mission-control/page.js +4 -4
  175. package/dist/app/apps/dashboard/.next/server/app/mission-control/page.js.nft.json +1 -1
  176. package/dist/app/apps/dashboard/.next/server/app/mission-control/page_client-reference-manifest.js +1 -1
  177. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page/build-manifest.json +2 -2
  178. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page/react-loadable-manifest.json +1 -1
  179. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page.js +3 -3
  180. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page.js.nft.json +1 -1
  181. package/dist/app/apps/dashboard/.next/server/app/nodes/[nodeId]/page_client-reference-manifest.js +1 -1
  182. package/dist/app/apps/dashboard/.next/server/app/nodes/page/build-manifest.json +2 -2
  183. package/dist/app/apps/dashboard/.next/server/app/nodes/page.js +4 -4
  184. package/dist/app/apps/dashboard/.next/server/app/nodes/page.js.nft.json +1 -1
  185. package/dist/app/apps/dashboard/.next/server/app/nodes/page_client-reference-manifest.js +1 -1
  186. package/dist/app/apps/dashboard/.next/server/app/notifications/page/build-manifest.json +2 -2
  187. package/dist/app/apps/dashboard/.next/server/app/notifications/page.js +3 -3
  188. package/dist/app/apps/dashboard/.next/server/app/notifications/page.js.nft.json +1 -1
  189. package/dist/app/apps/dashboard/.next/server/app/notifications/page_client-reference-manifest.js +1 -1
  190. package/dist/app/apps/dashboard/.next/server/app/orchestra/installations/page/build-manifest.json +2 -2
  191. package/dist/app/apps/dashboard/.next/server/app/orchestra/installations/page.js +3 -3
  192. package/dist/app/apps/dashboard/.next/server/app/orchestra/installations/page.js.nft.json +1 -1
  193. package/dist/app/apps/dashboard/.next/server/app/orchestra/installations/page_client-reference-manifest.js +1 -1
  194. package/dist/app/apps/dashboard/.next/server/app/orchestra/page/build-manifest.json +2 -2
  195. package/dist/app/apps/dashboard/.next/server/app/orchestra/page.js +3 -3
  196. package/dist/app/apps/dashboard/.next/server/app/orchestra/page.js.nft.json +1 -1
  197. package/dist/app/apps/dashboard/.next/server/app/orchestra/page_client-reference-manifest.js +1 -1
  198. package/dist/app/apps/dashboard/.next/server/app/orchestra/profiles/page/build-manifest.json +2 -2
  199. package/dist/app/apps/dashboard/.next/server/app/orchestra/profiles/page.js +3 -3
  200. package/dist/app/apps/dashboard/.next/server/app/orchestra/profiles/page.js.nft.json +1 -1
  201. package/dist/app/apps/dashboard/.next/server/app/orchestra/profiles/page_client-reference-manifest.js +1 -1
  202. package/dist/app/apps/dashboard/.next/server/app/orchestra/web-gateway/page/build-manifest.json +2 -2
  203. package/dist/app/apps/dashboard/.next/server/app/orchestra/web-gateway/page.js +3 -3
  204. package/dist/app/apps/dashboard/.next/server/app/orchestra/web-gateway/page.js.nft.json +1 -1
  205. package/dist/app/apps/dashboard/.next/server/app/orchestra/web-gateway/page_client-reference-manifest.js +1 -1
  206. package/dist/app/apps/dashboard/.next/server/app/page/build-manifest.json +2 -2
  207. package/dist/app/apps/dashboard/.next/server/app/page/react-loadable-manifest.json +1 -1
  208. package/dist/app/apps/dashboard/.next/server/app/page.js +4 -4
  209. package/dist/app/apps/dashboard/.next/server/app/page.js.nft.json +1 -1
  210. package/dist/app/apps/dashboard/.next/server/app/page_client-reference-manifest.js +1 -1
  211. package/dist/app/apps/dashboard/.next/server/app/retention/page/build-manifest.json +2 -2
  212. package/dist/app/apps/dashboard/.next/server/app/retention/page.js +4 -4
  213. package/dist/app/apps/dashboard/.next/server/app/retention/page.js.nft.json +1 -1
  214. package/dist/app/apps/dashboard/.next/server/app/retention/page_client-reference-manifest.js +1 -1
  215. package/dist/app/apps/dashboard/.next/server/app/roles/page/build-manifest.json +2 -2
  216. package/dist/app/apps/dashboard/.next/server/app/roles/page.js +4 -4
  217. package/dist/app/apps/dashboard/.next/server/app/roles/page.js.nft.json +1 -1
  218. package/dist/app/apps/dashboard/.next/server/app/roles/page_client-reference-manifest.js +1 -1
  219. package/dist/app/apps/dashboard/.next/server/app/rollouts/page/build-manifest.json +2 -2
  220. package/dist/app/apps/dashboard/.next/server/app/rollouts/page.js +3 -3
  221. package/dist/app/apps/dashboard/.next/server/app/rollouts/page.js.nft.json +1 -1
  222. package/dist/app/apps/dashboard/.next/server/app/rollouts/page_client-reference-manifest.js +1 -1
  223. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/[caseId]/page/build-manifest.json +2 -2
  224. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/[caseId]/page.js +3 -3
  225. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/[caseId]/page.js.nft.json +1 -1
  226. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/[caseId]/page_client-reference-manifest.js +1 -1
  227. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/page/build-manifest.json +2 -2
  228. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/page.js +3 -3
  229. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/page.js.nft.json +1 -1
  230. package/dist/app/apps/dashboard/.next/server/app/security-fusion/cases/page_client-reference-manifest.js +1 -1
  231. package/dist/app/apps/dashboard/.next/server/app/security-fusion/entities/page/build-manifest.json +2 -2
  232. package/dist/app/apps/dashboard/.next/server/app/security-fusion/entities/page.js +3 -3
  233. package/dist/app/apps/dashboard/.next/server/app/security-fusion/entities/page.js.nft.json +1 -1
  234. package/dist/app/apps/dashboard/.next/server/app/security-fusion/entities/page_client-reference-manifest.js +1 -1
  235. package/dist/app/apps/dashboard/.next/server/app/security-fusion/events/page/build-manifest.json +2 -2
  236. package/dist/app/apps/dashboard/.next/server/app/security-fusion/events/page.js +3 -3
  237. package/dist/app/apps/dashboard/.next/server/app/security-fusion/events/page.js.nft.json +1 -1
  238. package/dist/app/apps/dashboard/.next/server/app/security-fusion/events/page_client-reference-manifest.js +1 -1
  239. package/dist/app/apps/dashboard/.next/server/app/security-fusion/evidence/page/build-manifest.json +2 -2
  240. package/dist/app/apps/dashboard/.next/server/app/security-fusion/evidence/page.js +3 -3
  241. package/dist/app/apps/dashboard/.next/server/app/security-fusion/evidence/page.js.nft.json +1 -1
  242. package/dist/app/apps/dashboard/.next/server/app/security-fusion/evidence/page_client-reference-manifest.js +1 -1
  243. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page/build-manifest.json +2 -2
  244. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page.js +4 -4
  245. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page.js.nft.json +1 -1
  246. package/dist/app/apps/dashboard/.next/server/app/security-fusion/page_client-reference-manifest.js +1 -1
  247. package/dist/app/apps/dashboard/.next/server/app/security-fusion/policies/page/build-manifest.json +2 -2
  248. package/dist/app/apps/dashboard/.next/server/app/security-fusion/policies/page.js +3 -3
  249. package/dist/app/apps/dashboard/.next/server/app/security-fusion/policies/page.js.nft.json +1 -1
  250. package/dist/app/apps/dashboard/.next/server/app/security-fusion/policies/page_client-reference-manifest.js +1 -1
  251. package/dist/app/apps/dashboard/.next/server/app/security-fusion/sources/page/build-manifest.json +2 -2
  252. package/dist/app/apps/dashboard/.next/server/app/security-fusion/sources/page.js +3 -3
  253. package/dist/app/apps/dashboard/.next/server/app/security-fusion/sources/page.js.nft.json +1 -1
  254. package/dist/app/apps/dashboard/.next/server/app/security-fusion/sources/page_client-reference-manifest.js +1 -1
  255. package/dist/app/apps/dashboard/.next/server/app/skills/page/build-manifest.json +2 -2
  256. package/dist/app/apps/dashboard/.next/server/app/skills/page/server-reference-manifest.json +1 -1
  257. package/dist/app/apps/dashboard/.next/server/app/skills/page.js +4 -4
  258. package/dist/app/apps/dashboard/.next/server/app/skills/page.js.nft.json +1 -1
  259. package/dist/app/apps/dashboard/.next/server/app/skills/page_client-reference-manifest.js +1 -1
  260. package/dist/app/apps/dashboard/.next/server/app/webhooks/[id]/page/build-manifest.json +2 -2
  261. package/dist/app/apps/dashboard/.next/server/app/webhooks/[id]/page.js +3 -3
  262. package/dist/app/apps/dashboard/.next/server/app/webhooks/[id]/page.js.nft.json +1 -1
  263. package/dist/app/apps/dashboard/.next/server/app/webhooks/[id]/page_client-reference-manifest.js +1 -1
  264. package/dist/app/apps/dashboard/.next/server/app/webhooks/new/page/build-manifest.json +2 -2
  265. package/dist/app/apps/dashboard/.next/server/app/webhooks/new/page.js +3 -3
  266. package/dist/app/apps/dashboard/.next/server/app/webhooks/new/page.js.nft.json +1 -1
  267. package/dist/app/apps/dashboard/.next/server/app/webhooks/new/page_client-reference-manifest.js +1 -1
  268. package/dist/app/apps/dashboard/.next/server/app/webhooks/page/build-manifest.json +2 -2
  269. package/dist/app/apps/dashboard/.next/server/app/webhooks/page.js +3 -3
  270. package/dist/app/apps/dashboard/.next/server/app/webhooks/page.js.nft.json +1 -1
  271. package/dist/app/apps/dashboard/.next/server/app/webhooks/page_client-reference-manifest.js +1 -1
  272. package/dist/app/apps/dashboard/.next/server/chunks/{[externals]__008p31tyfke4p._.js → [externals]__04mrhyqb1ufrv._.js} +1 -1
  273. package/dist/app/apps/dashboard/.next/server/chunks/[externals]__0c8llxdk0vw6c._.js +3 -0
  274. package/dist/app/apps/dashboard/.next/server/chunks/{[externals]__127ju0a21em5b._.js → [externals]__1-nhjrs611jhq._.js} +1 -1
  275. package/dist/app/apps/dashboard/.next/server/chunks/{[externals]__19s3z4xub-s5g._.js → [externals]__12udgi92o71ao._.js} +1 -1
  276. package/dist/app/apps/dashboard/.next/server/chunks/{[externals]__0oquf_joz4imb._.js → [externals]__16ij4oi2sj-rr._.js} +1 -1
  277. package/dist/app/apps/dashboard/.next/server/chunks/{[externals]__03sskbmq69qzo._.js → [externals]__187hm276lglag._.js} +1 -1
  278. package/dist/app/apps/dashboard/.next/server/chunks/{[externals]__1j9d977zxln9e._.js → [externals]__1fagjmvrmd51m._.js} +1 -1
  279. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__1gbe_ef7h5s4s._.js → [root-of-the-server]__0-yqr0-10hc0_._.js} +1 -1
  280. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__11j8mz2i5lxvn._.js → [root-of-the-server]__06nhceb5uf63i._.js} +1 -1
  281. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__14aadvs_w6cq9._.js → [root-of-the-server]__09q7ixy9dkn77._.js} +1 -1
  282. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__18bl_zdpbstlo._.js → [root-of-the-server]__0a3vv554ltxx-._.js} +1 -1
  283. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__16mwoo9uguylg._.js → [root-of-the-server]__0cn86kzz3hpv3._.js} +1 -1
  284. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__0kyzfsxt0lqmw._.js +7 -7
  285. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__0tva5tfgfuthn._.js +206 -0
  286. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__0xlbop91l63ny._.js → [root-of-the-server]__0uj0ijk3ozu-l._.js} +1 -1
  287. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__0y71f5krqzyd9._.js +3 -0
  288. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__150x74j-d_djz._.js +3 -0
  289. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__15bjnu5yieigz._.js +3 -3
  290. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__0dbkbse3ahd2w._.js → [root-of-the-server]__16rqx2oazfcv5._.js} +1 -1
  291. package/dist/app/apps/dashboard/.next/server/chunks/{[root-of-the-server]__0wwd68idziz8p._.js → [root-of-the-server]__1i35sr1_-chih._.js} +1 -1
  292. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__1vywioi0uxxp2._.js +3 -0
  293. package/dist/app/apps/dashboard/.next/server/chunks/_0-w_jq1-cxsud._.js +1 -1
  294. package/dist/app/apps/dashboard/.next/server/chunks/_00ln_4foby9k6._.js +1 -1
  295. package/dist/app/apps/dashboard/.next/server/chunks/_0_fjgwmia8tfa._.js +1 -1
  296. package/dist/app/apps/dashboard/.next/server/chunks/_0cz-sjd6cade0._.js +1 -1
  297. package/dist/app/apps/dashboard/.next/server/chunks/_0h965a-fek_i1._.js +1 -1
  298. package/dist/app/apps/dashboard/.next/server/chunks/_0j68riv96qwg8._.js +1 -1
  299. package/dist/app/apps/dashboard/.next/server/chunks/_0jaugku4pdkak._.js +1 -1
  300. package/dist/app/apps/dashboard/.next/server/chunks/_0jpo8wzqrpdsu._.js +1 -1
  301. package/dist/app/apps/dashboard/.next/server/chunks/_0jvoc4-ta3zc0._.js +1 -1
  302. package/dist/app/apps/dashboard/.next/server/chunks/_0rpixw8k9f_1q._.js +1 -1
  303. package/dist/app/apps/dashboard/.next/server/chunks/_0s788ryrplkp6._.js +1 -1
  304. package/dist/app/apps/dashboard/.next/server/chunks/_0ss4gyka2xwtu._.js +1 -1
  305. package/dist/app/apps/dashboard/.next/server/chunks/_0ti6qpnzqaoee._.js +1 -1
  306. package/dist/app/apps/dashboard/.next/server/chunks/_0z1bwl42i7kyh._.js +1 -1
  307. package/dist/app/apps/dashboard/.next/server/chunks/_109zj-srrib-n._.js +1 -1
  308. package/dist/app/apps/dashboard/.next/server/chunks/_158j5k3z37xqq._.js +1 -1
  309. package/dist/app/apps/dashboard/.next/server/chunks/_1bbph2o31ut9-._.js +1 -1
  310. package/dist/app/apps/dashboard/.next/server/chunks/_1bnwf9dhenncq._.js +1 -1
  311. package/dist/app/apps/dashboard/.next/server/chunks/_1di30nby6-dr0._.js +1 -1
  312. package/dist/app/apps/dashboard/.next/server/chunks/_1e42zgily9-_5._.js +1 -1
  313. package/dist/app/apps/dashboard/.next/server/chunks/_1j9ys57oirxn5._.js +1 -1
  314. package/dist/app/apps/dashboard/.next/server/chunks/_1pyikdwas349f._.js +1 -1
  315. package/dist/app/apps/dashboard/.next/server/chunks/_1vpikd37nriwr._.js +1 -1
  316. package/dist/app/apps/dashboard/.next/server/chunks/_1xodprib7qa_j._.js +2 -2
  317. package/dist/app/apps/dashboard/.next/server/chunks/_1xoy6p0t2si_y._.js +1 -1
  318. package/dist/app/apps/dashboard/.next/server/chunks/apps_dashboard_src_lib_auth_ts_1hhq1tq6hjj-e._.js +2 -2
  319. package/dist/app/apps/dashboard/.next/server/chunks/apps_dashboard_src_lib_hive-login_ts_0ab2iq7-rpy13._.js +1 -1
  320. package/dist/app/apps/dashboard/.next/server/chunks/{node_modules_0d7iiw_gb9ie_._.js → node_modules_04l42sk4k7jqc._.js} +3 -3
  321. package/dist/app/apps/dashboard/.next/server/chunks/{node_modules_0oydwsbt-8fj0._.js → node_modules_11zk8u7fu3bfa._.js} +3 -3
  322. package/dist/app/apps/dashboard/.next/server/chunks/{node_modules_1j205d3rrp_ve._.js → node_modules_1ze5f5ud32ii7._.js} +3 -3
  323. package/dist/app/apps/dashboard/.next/server/chunks/node_modules_next_0g8xe7c6fvfgl._.js +61 -0
  324. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__03u0iwrsol58b._.js +1 -1
  325. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__01fwdfqdnpl41._.js → [root-of-the-server]__08qjsqx5xg5sp._.js} +1 -1
  326. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0l_h8q81ktozu._.js → [root-of-the-server]__0bpezsts2nk27._.js} +1 -1
  327. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1jsl-i6vpy67t._.js → [root-of-the-server]__0cjs7a6nlno3a._.js} +1 -1
  328. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0ayqtni_d_zat._.js → [root-of-the-server]__0iw2gybtg_uwp._.js} +1 -1
  329. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1vgcdwjm3kky8._.js → [root-of-the-server]__0l8hx5fmmz73w._.js} +1 -1
  330. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__14v2mw9pp87q5._.js → [root-of-the-server]__0l8uocvha6qpv._.js} +1 -1
  331. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1iu3g_aey5-2t._.js → [root-of-the-server]__0p95c61y11y6q._.js} +1 -1
  332. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1c2-kff21qbp1._.js → [root-of-the-server]__0wly91np9rak4._.js} +1 -1
  333. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0gg--jhi4nfke._.js → [root-of-the-server]__0z6dblsnzx20l._.js} +2 -2
  334. package/dist/app/apps/dashboard/.next/server/chunks/ssr/[root-of-the-server]__10vlrswrzvf4x._.js +1 -1
  335. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__136kygh22io_q._.js → [root-of-the-server]__12tzy7fpv7mea._.js} +1 -1
  336. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1_nim1fz4p-f5._.js → [root-of-the-server]__1477x3csbkdfa._.js} +1 -1
  337. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1-p4bt5_oohm8._.js → [root-of-the-server]__16q4-tbu02sit._.js} +2 -2
  338. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0wygzdp44n944._.js → [root-of-the-server]__19kgtx10ey2jw._.js} +1 -1
  339. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1vjevhqrszq2x._.js → [root-of-the-server]__1cdwjg6sttmzq._.js} +1 -1
  340. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__0fwb-62ncs-g8._.js → [root-of-the-server]__1cnr5ucuq-tas._.js} +2 -2
  341. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{[root-of-the-server]__1i_lf6u7i-ce7._.js → [root-of-the-server]__1s0tp902hhgv5._.js} +1 -1
  342. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_033mw4lb6hg5v._.js +1 -1
  343. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_05_jycpmoagp2._.js +3 -3
  344. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_083obx7eqpdb6._.js +1 -1
  345. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_0pgm38c_ix0jk._.js +3 -0
  346. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1ml_bvfb1fitq._.js +3 -0
  347. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_0gs_s688kgg1i._.js +1 -1
  348. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_cron_page_tsx_1i3duyygc0_tg._.js +1 -1
  349. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_files_page_tsx_1kls9-qinldks._.js +1 -1
  350. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_nodes_nodes-client_tsx_0pt4iarhpqbgn._.js +2 -2
  351. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_app_skills_page_tsx_0n5zp4xad38in._.js +1 -1
  352. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_lib_api-client_ts_0tho-kkk5ez7h._.js +2 -1
  353. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_lib_cn_ts_0038m9h2x02mo._.js +1 -1
  354. package/dist/app/apps/dashboard/.next/server/chunks/ssr/apps_dashboard_src_lib_cn_ts_1p8--q21wpxcq._.js +1 -1
  355. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{node_modules_0baa492_t21ua._.js → node_modules_01i0ukei4d8fh._.js} +2 -2
  356. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_0r87b6r_5hggb._.js +3 -0
  357. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_1unf5c-k6rle8._.js +3 -0
  358. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{node_modules_@xterm_0a9mhzkkyaexr._.js → node_modules_@xterm_0igvl11h9lkh1._.js} +1 -1
  359. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_refresh-ccw-dot_1bka5q1p8_fx4.js +1 -1
  360. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_06ob4w68jmryj._.js +32 -0
  361. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_0janj0i6dqko7._.js +3 -3
  362. package/dist/app/apps/dashboard/.next/server/chunks/ssr/{node_modules_next_dist_1_6--c12g_0c8._.js → node_modules_next_dist_0n6z_kn7rdm9s._.js} +22 -2
  363. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_112u6z88a3g80._.js +54 -0
  364. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_1khq67j4vo9y4._.js +3 -0
  365. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_1qrfck6kfdp-h._.js +3 -3
  366. package/dist/app/apps/dashboard/.next/server/middleware-build-manifest.js +56 -56
  367. package/dist/app/apps/dashboard/.next/server/middleware.js +2 -2
  368. package/dist/app/apps/dashboard/.next/server/pages/500.html +1 -1
  369. package/dist/app/apps/dashboard/.next/server/preview-props.json +3 -3
  370. package/dist/app/apps/dashboard/.next/server/server-reference-manifest.js +1 -1
  371. package/dist/app/apps/dashboard/.next/server/server-reference-manifest.json +3 -3
  372. package/dist/app/apps/dashboard/.next/static/chunks/{3zkikie0jjdck.js → 07pjhg_to7dzv.js} +1 -1
  373. package/dist/app/apps/dashboard/.next/static/chunks/{3sp2cijnoequi.js → 0akep08qly94l.js} +1 -1
  374. package/dist/app/apps/dashboard/.next/static/chunks/{3rnduuxf48bud.js → 0rb485ohk6md7.js} +1 -1
  375. package/dist/app/apps/dashboard/.next/static/chunks/0u4hpe9c52_j7.js +1 -0
  376. package/dist/app/apps/dashboard/.next/static/chunks/{19uky_q8p2lq7.js → 144lduiqejqn6.js} +1 -1
  377. package/dist/app/apps/dashboard/.next/static/chunks/1dldgklwy-d1m.js +1 -0
  378. package/dist/app/apps/dashboard/.next/static/chunks/{200t8wg-mkgcl.js → 1ka4ptby_22zq.js} +2 -2
  379. package/dist/app/apps/dashboard/.next/static/chunks/230jc2e9pxyrn.js +2 -0
  380. package/dist/app/apps/dashboard/.next/static/chunks/{0-dikax-7opx9.js → 28q140y6b7-89.js} +1 -1
  381. package/dist/app/apps/dashboard/.next/static/chunks/2_46_b2fwiefm.js +1 -0
  382. package/dist/app/apps/dashboard/.next/static/chunks/2f_8x6hbx8hcy.js +1 -0
  383. package/dist/app/apps/dashboard/.next/static/chunks/2koijmn3fv51d.js +1 -0
  384. package/dist/app/apps/dashboard/.next/static/chunks/{1dv7-6iv0mmpc.js → 2w06s_csq4lq9.js} +1 -1
  385. package/dist/app/apps/dashboard/.next/static/chunks/{1t-inm5k6qdjb.js → 2zfns6xyegode.js} +1 -1
  386. package/dist/app/apps/dashboard/.next/static/chunks/36hoxd3zs7thr.js +4 -0
  387. package/dist/app/apps/dashboard/.next/static/chunks/{2v8qi2um3ebh8.js → 3ltx1we1130yf.js} +1 -1
  388. package/dist/app/apps/dashboard/.next/static/chunks/3vpeqic83hqi4.js +1 -0
  389. package/dist/app/apps/dashboard/.next/static/chunks/3x0jzyr-nzhaj.js +1 -0
  390. package/dist/app/apps/dashboard/package.json +21 -21
  391. package/dist/app/apps/dashboard/server.js +1 -1
  392. package/dist/app/node_modules/@next/env/package.json +1 -1
  393. package/dist/app/node_modules/next/dist/build/swc/index.js +1 -1
  394. package/dist/app/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +24 -24
  395. package/dist/app/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +26 -26
  396. package/dist/app/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +3 -3
  397. package/dist/app/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +13 -13
  398. package/dist/app/node_modules/next/dist/lib/patch-incorrect-lockfile.js +3 -3
  399. package/dist/app/node_modules/next/dist/server/app-render/app-render.js +41 -40
  400. package/dist/app/node_modules/next/dist/server/app-render/async-local-storage.js +1 -1
  401. package/dist/app/node_modules/next/dist/server/app-render/dynamic-rendering-validation.js +814 -0
  402. package/dist/app/node_modules/next/dist/server/app-render/dynamic-rendering.js +1 -799
  403. package/dist/app/node_modules/next/dist/server/base-server.js +39 -5
  404. package/dist/app/node_modules/next/dist/server/config.js +1 -1
  405. package/dist/app/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +2 -2
  406. package/dist/app/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1 -1
  407. package/dist/app/node_modules/next/dist/server/lib/app-info-log.js +1 -1
  408. package/dist/app/node_modules/next/dist/server/lib/dedupe-fetch.js +4 -43
  409. package/dist/app/node_modules/next/dist/server/lib/patch-fetch-symbol.js +13 -0
  410. package/dist/app/node_modules/next/dist/server/lib/patch-fetch.js +3 -7
  411. package/dist/app/node_modules/next/dist/server/lib/router-server.js +3 -3
  412. package/dist/app/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js +77 -12
  413. package/dist/app/node_modules/next/dist/server/lib/start-server.js +1 -1
  414. package/dist/app/node_modules/next/dist/server/lib/trace/constants.js +12 -0
  415. package/dist/app/node_modules/next/dist/server/lib/trace/tracer.js +30 -14
  416. package/dist/app/node_modules/next/dist/server/next-server.js +10 -11
  417. package/dist/app/node_modules/next/dist/server/route-modules/pages/pages-handler.js +29 -23
  418. package/dist/app/node_modules/next/dist/server/route-modules/route-module.js +85 -8
  419. package/dist/app/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +1 -1
  420. package/dist/app/node_modules/next/dist/server/web/adapter.js +124 -65
  421. package/dist/app/node_modules/next/dist/server/web/forward-trace-context.js +102 -0
  422. package/dist/app/node_modules/next/dist/telemetry/anonymous-meta.js +1 -1
  423. package/dist/app/node_modules/next/dist/telemetry/events/swc-load-failure.js +1 -1
  424. package/dist/app/node_modules/next/dist/telemetry/events/version.js +2 -2
  425. package/dist/app/node_modules/next/package.json +10 -10
  426. package/dist/app/node_modules/react/cjs/react.production.js +112 -89
  427. package/dist/app/node_modules/react/package.json +3 -3
  428. package/dist/app/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +1165 -790
  429. package/dist/app/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.js +1171 -791
  430. package/dist/app/node_modules/react-dom/cjs/react-dom-server.browser.production.js +1321 -885
  431. package/dist/app/node_modules/react-dom/cjs/react-dom-server.edge.production.js +1331 -888
  432. package/dist/app/node_modules/react-dom/cjs/react-dom-server.node.production.js +1345 -918
  433. package/dist/app/node_modules/react-dom/cjs/react-dom.production.js +24 -5
  434. package/dist/app/node_modules/react-dom/package.json +6 -6
  435. package/package.json +21 -21
  436. package/dist/app/apps/dashboard/.next/server/chunks/[externals]__20foc2fayer1h._.js +0 -3
  437. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__0fj6mr59tcyhd._.js +0 -465
  438. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__1gtv08z8_5n1d._.js +0 -3
  439. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__1hov5of4utc4i._.js +0 -3
  440. package/dist/app/apps/dashboard/.next/server/chunks/[root-of-the-server]__1p_4c8q9368we._.js +0 -3
  441. package/dist/app/apps/dashboard/.next/server/chunks/node_modules_next_0sx6ib_cz483a._.js +0 -320
  442. package/dist/app/apps/dashboard/.next/server/chunks/ssr/_1rwff962kyi-f._.js +0 -11
  443. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_0yc0r3jgbz1n2._.js +0 -3
  444. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_lucide-react_dist_esm_icons_0y2ixgupgmqjw._.js +0 -3
  445. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_1rs5fyuw7ryji._.js +0 -271
  446. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_02gi-7dkkyj58._.js +0 -313
  447. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_1dupwucoqt5qm._.js +0 -3
  448. package/dist/app/apps/dashboard/.next/server/chunks/ssr/node_modules_next_dist_shared_lib_1p_7c7q9c7kdw._.js +0 -23
  449. package/dist/app/apps/dashboard/.next/static/chunks/0emw9pnglrabk.js +0 -1
  450. package/dist/app/apps/dashboard/.next/static/chunks/0nk_updyz_tfq.js +0 -1
  451. package/dist/app/apps/dashboard/.next/static/chunks/228pxgpdddlyl.js +0 -1
  452. package/dist/app/apps/dashboard/.next/static/chunks/2id56ot_k0n72.js +0 -1
  453. package/dist/app/apps/dashboard/.next/static/chunks/3igqsagsgmp14.js +0 -1
  454. package/dist/app/apps/dashboard/.next/static/chunks/3j3pw8h_ynhqf.js +0 -4
  455. package/dist/app/apps/dashboard/.next/static/chunks/3myt7_smzzvme.js +0 -1
  456. package/dist/app/apps/dashboard/.next/static/chunks/3r1n-vlupwlqx.js +0 -9
  457. package/dist/app/apps/dashboard/.next/static/chunks/3y7ljiq4dptwp.js +0 -1
  458. package/dist/app/node_modules/react/cjs/react.development.js +0 -1284
  459. /package/dist/app/apps/dashboard/.next/static/{Dg-cuGMpBrY-PQC6V5cDi → UZn0mscl5hk5YJtZnvSnK}/_buildManifest.js +0 -0
  460. /package/dist/app/apps/dashboard/.next/static/{Dg-cuGMpBrY-PQC6V5cDi → UZn0mscl5hk5YJtZnvSnK}/_clientMiddlewareManifest.js +0 -0
  461. /package/dist/app/apps/dashboard/.next/static/{Dg-cuGMpBrY-PQC6V5cDi → UZn0mscl5hk5YJtZnvSnK}/_ssgManifest.js +0 -0
@@ -32,6 +32,7 @@ var util = require("util"),
32
32
  REACT_LEGACY_HIDDEN_TYPE = Symbol.for("react.legacy_hidden"),
33
33
  REACT_MEMO_CACHE_SENTINEL = Symbol.for("react.memo_cache_sentinel"),
34
34
  REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
35
+ REACT_RECOVERABLE_TYPE = Symbol.for("react.recoverable"),
35
36
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
36
37
  function getIteratorFn(maybeIterable) {
37
38
  if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
@@ -40,7 +41,13 @@ function getIteratorFn(maybeIterable) {
40
41
  maybeIterable["@@iterator"];
41
42
  return "function" === typeof maybeIterable ? maybeIterable : null;
42
43
  }
43
- var isArrayImpl = Array.isArray,
44
+ var REACT_OPTIMISTIC_KEY = Symbol.for("react.optimistic_key"),
45
+ isArrayImpl = Array.isArray,
46
+ hasOwnProperty = Object.prototype.hasOwnProperty,
47
+ supportsArrayBufferDetached = hasOwnProperty.call(
48
+ ArrayBuffer.prototype,
49
+ "detached"
50
+ ),
44
51
  scheduleMicrotask = queueMicrotask;
45
52
  function flushBuffered(destination) {
46
53
  "function" === typeof destination.flush && destination.flush();
@@ -51,13 +58,13 @@ var currentView = null,
51
58
  function writeChunk(destination, chunk) {
52
59
  if ("string" === typeof chunk) {
53
60
  if (0 !== chunk.length)
54
- if (2048 < 3 * chunk.length)
61
+ if (4096 < 3 * chunk.length)
55
62
  0 < writtenBytes &&
56
63
  (writeToDestination(
57
64
  destination,
58
65
  currentView.subarray(0, writtenBytes)
59
66
  ),
60
- (currentView = new Uint8Array(2048)),
67
+ (currentView = new Uint8Array(4096)),
61
68
  (writtenBytes = 0)),
62
69
  writeToDestination(destination, chunk);
63
70
  else {
@@ -71,43 +78,47 @@ function writeChunk(destination, chunk) {
71
78
  destination,
72
79
  currentView.subarray(0, writtenBytes)
73
80
  ),
74
- (currentView = new Uint8Array(2048)),
81
+ (currentView = new Uint8Array(4096)),
75
82
  (writtenBytes = textEncoder.encodeInto(
76
83
  chunk.slice(read),
77
84
  currentView
78
85
  ).written));
79
- 2048 === writtenBytes &&
86
+ 4096 === writtenBytes &&
80
87
  (writeToDestination(destination, currentView),
81
- (currentView = new Uint8Array(2048)),
88
+ (currentView = new Uint8Array(4096)),
82
89
  (writtenBytes = 0));
83
90
  }
91
+ } else if (0 === chunk.byteLength) {
92
+ if (supportsArrayBufferDetached && chunk.buffer.detached)
93
+ throw Error(
94
+ "Cannot transport a detached buffer. This usually happens when trying to transport multiple buffer-spanning views on the same underyling buffer. Either reuse the exact same view by identity or copy the underlying buffer manually via `view.slice()`."
95
+ );
84
96
  } else
85
- 0 !== chunk.byteLength &&
86
- (2048 < chunk.byteLength
87
- ? (0 < writtenBytes &&
88
- (writeToDestination(
89
- destination,
90
- currentView.subarray(0, writtenBytes)
91
- ),
92
- (currentView = new Uint8Array(2048)),
93
- (writtenBytes = 0)),
94
- writeToDestination(destination, chunk))
95
- : ((target = currentView.length - writtenBytes),
96
- target < chunk.byteLength &&
97
- (0 === target
98
- ? writeToDestination(destination, currentView)
99
- : (currentView.set(chunk.subarray(0, target), writtenBytes),
100
- (writtenBytes += target),
101
- writeToDestination(destination, currentView),
102
- (chunk = chunk.subarray(target))),
103
- (currentView = new Uint8Array(2048)),
104
- (writtenBytes = 0)),
105
- currentView.set(chunk, writtenBytes),
106
- (writtenBytes += chunk.byteLength),
107
- 2048 === writtenBytes &&
108
- (writeToDestination(destination, currentView),
109
- (currentView = new Uint8Array(2048)),
110
- (writtenBytes = 0))));
97
+ 4096 < chunk.byteLength
98
+ ? (0 < writtenBytes &&
99
+ (writeToDestination(
100
+ destination,
101
+ currentView.subarray(0, writtenBytes)
102
+ ),
103
+ (currentView = new Uint8Array(4096)),
104
+ (writtenBytes = 0)),
105
+ writeToDestination(destination, chunk))
106
+ : ((target = currentView.length - writtenBytes),
107
+ target < chunk.byteLength &&
108
+ (0 === target
109
+ ? writeToDestination(destination, currentView)
110
+ : (currentView.set(chunk.subarray(0, target), writtenBytes),
111
+ (writtenBytes += target),
112
+ writeToDestination(destination, currentView),
113
+ (chunk = chunk.subarray(target))),
114
+ (currentView = new Uint8Array(4096)),
115
+ (writtenBytes = 0)),
116
+ currentView.set(chunk, writtenBytes),
117
+ (writtenBytes += chunk.byteLength),
118
+ 4096 === writtenBytes &&
119
+ (writeToDestination(destination, currentView),
120
+ (currentView = new Uint8Array(4096)),
121
+ (writtenBytes = 0)));
111
122
  }
112
123
  function writeToDestination(destination, view) {
113
124
  destination = destination.write(view);
@@ -135,7 +146,6 @@ function byteLengthOfChunk(chunk) {
135
146
  : chunk.byteLength;
136
147
  }
137
148
  var assign = Object.assign,
138
- hasOwnProperty = Object.prototype.hasOwnProperty,
139
149
  VALID_ATTRIBUTE_NAME_REGEX = RegExp(
140
150
  "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
141
151
  ),
@@ -195,6 +205,7 @@ var unitlessNumbers = new Set(
195
205
  ["markerEnd", "marker-end"],
196
206
  ["markerMid", "marker-mid"],
197
207
  ["markerStart", "marker-start"],
208
+ ["maskType", "mask-type"],
198
209
  ["overlinePosition", "overline-position"],
199
210
  ["overlineThickness", "overline-thickness"],
200
211
  ["paintOrder", "paint-order"],
@@ -368,7 +379,15 @@ function createRenderState(
368
379
  ));
369
380
  bootstrapScriptContent = [];
370
381
  void 0 !== importMap &&
371
- (bootstrapScriptContent.push(importMapScriptStart),
382
+ (bootstrapScriptContent.push(
383
+ void 0 === externalRuntimeConfig
384
+ ? importMapScriptStart
385
+ : stringToPrecomputedChunk(
386
+ '<script type="importmap" nonce="' +
387
+ escapeTextForBrowser(externalRuntimeConfig) +
388
+ '">'
389
+ )
390
+ ),
372
391
  bootstrapScriptContent.push(
373
392
  ("" + JSON.stringify(importMap)).replace(scriptRegex, scriptReplacer)
374
393
  ),
@@ -627,7 +646,8 @@ function getChildFormatContext(parentContext, type, props) {
627
646
  }
628
647
  return 6 <= parentContext.insertionMode || 2 > parentContext.insertionMode
629
648
  ? createFormatContext(2, null, subtreeScope, null)
630
- : parentContext.tagScope !== subtreeScope
649
+ : null !== parentContext.viewTransition ||
650
+ parentContext.tagScope !== subtreeScope
631
651
  ? createFormatContext(
632
652
  parentContext.insertionMode,
633
653
  parentContext.selectedValue,
@@ -644,6 +664,8 @@ function getSuspenseViewTransition(parentViewTransition) {
644
664
  enter: "none",
645
665
  exit: "none",
646
666
  share: parentViewTransition.update,
667
+ parentEnter: "none",
668
+ parentExit: "none",
647
669
  name: parentViewTransition.autoName,
648
670
  autoName: parentViewTransition.autoName,
649
671
  nameIdx: 0
@@ -671,6 +693,11 @@ function getSuspenseContentFormatContext(resumableState, parentContext) {
671
693
  resumableState
672
694
  );
673
695
  }
696
+ function makeId(resumableState, treeId, localId) {
697
+ resumableState = "_" + resumableState.idPrefix + "R_" + treeId;
698
+ 0 < localId && (resumableState += "H" + localId.toString(32));
699
+ return resumableState + "_";
700
+ }
674
701
  var textSeparator = stringToPrecomputedChunk("\x3c!-- --\x3e");
675
702
  function pushTextInstance(target, text, renderState, textEmbedded) {
676
703
  if ("" === text) return textEmbedded;
@@ -678,6 +705,26 @@ function pushTextInstance(target, text, renderState, textEmbedded) {
678
705
  target.push(escapeTextForBrowser(text));
679
706
  return !0;
680
707
  }
708
+ function pushViewTransitionAttributes(target, formatContext) {
709
+ formatContext = formatContext.viewTransition;
710
+ null !== formatContext &&
711
+ ("auto" !== formatContext.name &&
712
+ (pushStringAttribute(
713
+ target,
714
+ "vt-name",
715
+ 0 === formatContext.nameIdx
716
+ ? formatContext.name
717
+ : formatContext.name + "_" + formatContext.nameIdx
718
+ ),
719
+ formatContext.nameIdx++),
720
+ pushStringAttribute(target, "vt-update", formatContext.update),
721
+ "none" !== formatContext.enter &&
722
+ pushStringAttribute(target, "vt-enter", formatContext.enter),
723
+ "none" !== formatContext.exit &&
724
+ pushStringAttribute(target, "vt-exit", formatContext.exit),
725
+ "none" !== formatContext.share &&
726
+ pushStringAttribute(target, "vt-share", formatContext.share));
727
+ }
681
728
  var styleNameCache = new Map(),
682
729
  styleAttributeStart = stringToPrecomputedChunk(' style="'),
683
730
  styleAssign = stringToPrecomputedChunk(":"),
@@ -917,6 +964,7 @@ function pushAttribute(target, name, value) {
917
964
  case "async":
918
965
  case "autoPlay":
919
966
  case "controls":
967
+ case "credentialless":
920
968
  case "default":
921
969
  case "defer":
922
970
  case "disabled":
@@ -1061,7 +1109,7 @@ function flattenOptionChildren(children) {
1061
1109
  }
1062
1110
  var selectedMarkerAttribute = stringToPrecomputedChunk(' selected=""'),
1063
1111
  formReplayingRuntimeScript = stringToPrecomputedChunk(
1064
- 'addEventListener("submit",function(a){if(!a.defaultPrevented){var c=a.target,d=a.submitter,e=c.action,b=d;if(d){var f=d.getAttribute("formAction");null!=f&&(e=f,b=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===e&&(a.preventDefault(),b?(a=document.createElement("input"),a.name=b.name,a.value=b.value,b.parentNode.insertBefore(a,b),b=new FormData(c),a.parentNode.removeChild(a)):b=new FormData(c),a=c.ownerDocument||c,(a.$$reactFormReplay=a.$$reactFormReplay||[]).push(c,d,b))}});'
1112
+ 'addEventListener("submit",function(a){if(!a.defaultPrevented){var b=a.target,d=a.submitter,c=b.action,e=d;if(d){var f=d.getAttribute("formAction");null!=f&&(c=f,e=null)}"javascript:throw new Error(\'React form unexpectedly submitted.\')"===c&&(a.preventDefault(),a=new FormData(b,e),c=b.ownerDocument||b,(c.$$reactFormReplay=c.$$reactFormReplay||[]).push(b,d,a))}});'
1065
1113
  );
1066
1114
  function injectFormReplayingRuntime(resumableState, renderState) {
1067
1115
  if (0 === (resumableState.instructions & 16)) {
@@ -1109,7 +1157,7 @@ var styleRegex = /(<\/|<)(s)(tyle)/gi;
1109
1157
  function styleReplacer(match, prefix, s, suffix) {
1110
1158
  return "" + prefix + ("s" === s ? "\\73 " : "\\53 ") + suffix;
1111
1159
  }
1112
- function pushSelfClosing(target, props, tag) {
1160
+ function pushSelfClosing(target, props, tag, formatContext) {
1113
1161
  target.push(startChunkForTag(tag));
1114
1162
  for (var propKey in props)
1115
1163
  if (hasOwnProperty.call(props, propKey)) {
@@ -1126,6 +1174,7 @@ function pushSelfClosing(target, props, tag) {
1126
1174
  pushAttribute(target, propKey, propValue);
1127
1175
  }
1128
1176
  }
1177
+ pushViewTransitionAttributes(target, formatContext);
1129
1178
  target.push(endOfStartTagSelfClosing);
1130
1179
  return null;
1131
1180
  }
@@ -1195,7 +1244,7 @@ function pushScriptImpl(target, props) {
1195
1244
  target.push(endChunkForTag("script"));
1196
1245
  return null;
1197
1246
  }
1198
- function pushStartSingletonElement(target, props, tag) {
1247
+ function pushStartSingletonElement(target, props, tag, formatContext) {
1199
1248
  target.push(startChunkForTag(tag));
1200
1249
  var innerHTML = (tag = null),
1201
1250
  propKey;
@@ -1214,11 +1263,12 @@ function pushStartSingletonElement(target, props, tag) {
1214
1263
  pushAttribute(target, propKey, propValue);
1215
1264
  }
1216
1265
  }
1266
+ pushViewTransitionAttributes(target, formatContext);
1217
1267
  target.push(endOfStartTag);
1218
1268
  pushInnerHTML(target, innerHTML, tag);
1219
1269
  return tag;
1220
1270
  }
1221
- function pushStartGenericElement(target, props, tag) {
1271
+ function pushStartGenericElement(target, props, tag, formatContext) {
1222
1272
  target.push(startChunkForTag(tag));
1223
1273
  var innerHTML = (tag = null),
1224
1274
  propKey;
@@ -1237,6 +1287,7 @@ function pushStartGenericElement(target, props, tag) {
1237
1287
  pushAttribute(target, propKey, propValue);
1238
1288
  }
1239
1289
  }
1290
+ pushViewTransitionAttributes(target, formatContext);
1240
1291
  target.push(endOfStartTag);
1241
1292
  pushInnerHTML(target, innerHTML, tag);
1242
1293
  return "string" === typeof tag
@@ -1298,6 +1349,7 @@ function pushStartInstance(
1298
1349
  pushAttribute(target$jscomp$0, propKey, propValue);
1299
1350
  }
1300
1351
  }
1352
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1301
1353
  target$jscomp$0.push(endOfStartTag);
1302
1354
  pushInnerHTML(target$jscomp$0, innerHTML, children);
1303
1355
  if ("string" === typeof children) {
@@ -1336,6 +1388,7 @@ function pushStartInstance(
1336
1388
  );
1337
1389
  }
1338
1390
  }
1391
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1339
1392
  target$jscomp$0.push(endOfStartTag);
1340
1393
  pushInnerHTML(target$jscomp$0, innerHTML$jscomp$0, children$jscomp$0);
1341
1394
  return children$jscomp$0;
@@ -1425,6 +1478,7 @@ function pushStartInstance(
1425
1478
  null === value$jscomp$0 &&
1426
1479
  null !== defaultValue &&
1427
1480
  (value$jscomp$0 = defaultValue);
1481
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1428
1482
  target$jscomp$0.push(endOfStartTag);
1429
1483
  if (null != children$jscomp$2) {
1430
1484
  if (null != value$jscomp$0)
@@ -1519,6 +1573,7 @@ function pushStartInstance(
1519
1573
  ? pushAttribute(target$jscomp$0, "value", value$jscomp$1)
1520
1574
  : null !== defaultValue$jscomp$0 &&
1521
1575
  pushAttribute(target$jscomp$0, "value", defaultValue$jscomp$0);
1576
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1522
1577
  target$jscomp$0.push(endOfStartTagSelfClosing);
1523
1578
  null != formData &&
1524
1579
  formData.forEach(pushAdditionalFormField, target$jscomp$0);
@@ -1577,6 +1632,7 @@ function pushStartInstance(
1577
1632
  formTarget$jscomp$0,
1578
1633
  name$jscomp$0
1579
1634
  );
1635
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1580
1636
  target$jscomp$0.push(endOfStartTag);
1581
1637
  null != formData$jscomp$0 &&
1582
1638
  formData$jscomp$0.forEach(pushAdditionalFormField, target$jscomp$0);
@@ -1662,6 +1718,7 @@ function pushStartInstance(
1662
1718
  pushAttribute(target$jscomp$0, "method", formMethod$jscomp$1);
1663
1719
  null != formTarget$jscomp$1 &&
1664
1720
  pushAttribute(target$jscomp$0, "target", formTarget$jscomp$1);
1721
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1665
1722
  target$jscomp$0.push(endOfStartTag);
1666
1723
  null !== formActionName &&
1667
1724
  (target$jscomp$0.push(startHiddenInputChunk),
@@ -1695,6 +1752,7 @@ function pushStartInstance(
1695
1752
  );
1696
1753
  }
1697
1754
  }
1755
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1698
1756
  target$jscomp$0.push(endOfStartTag);
1699
1757
  return null;
1700
1758
  case "object":
@@ -1732,6 +1790,7 @@ function pushStartInstance(
1732
1790
  );
1733
1791
  }
1734
1792
  }
1793
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
1735
1794
  target$jscomp$0.push(endOfStartTag);
1736
1795
  pushInnerHTML(target$jscomp$0, innerHTML$jscomp$4, children$jscomp$5);
1737
1796
  if ("string" === typeof children$jscomp$5) {
@@ -2003,17 +2062,33 @@ function pushStartInstance(
2003
2062
  var JSCompiler_inline_result$jscomp$7 = pushSelfClosing(
2004
2063
  target$jscomp$0,
2005
2064
  props,
2006
- "meta"
2065
+ "meta",
2066
+ formatContext
2007
2067
  );
2008
2068
  else
2009
2069
  textEmbedded && target$jscomp$0.push(textSeparator),
2010
2070
  (JSCompiler_inline_result$jscomp$7 = isFallback$jscomp$1
2011
2071
  ? null
2012
2072
  : "string" === typeof props.charSet
2013
- ? pushSelfClosing(renderState.charsetChunks, props, "meta")
2073
+ ? pushSelfClosing(
2074
+ renderState.charsetChunks,
2075
+ props,
2076
+ "meta",
2077
+ formatContext
2078
+ )
2014
2079
  : "viewport" === props.name
2015
- ? pushSelfClosing(renderState.viewportChunks, props, "meta")
2016
- : pushSelfClosing(renderState.hoistableChunks, props, "meta"));
2080
+ ? pushSelfClosing(
2081
+ renderState.viewportChunks,
2082
+ props,
2083
+ "meta",
2084
+ formatContext
2085
+ )
2086
+ : pushSelfClosing(
2087
+ renderState.hoistableChunks,
2088
+ props,
2089
+ "meta",
2090
+ formatContext
2091
+ ));
2017
2092
  return JSCompiler_inline_result$jscomp$7;
2018
2093
  case "listing":
2019
2094
  case "pre":
@@ -2040,6 +2115,7 @@ function pushStartInstance(
2040
2115
  );
2041
2116
  }
2042
2117
  }
2118
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
2043
2119
  target$jscomp$0.push(endOfStartTag);
2044
2120
  if (null != innerHTML$jscomp$7) {
2045
2121
  if (null != children$jscomp$8)
@@ -2130,7 +2206,7 @@ function pushStartInstance(
2130
2206
  nonce: props.nonce,
2131
2207
  type: props.type,
2132
2208
  fetchPriority: props.fetchPriority,
2133
- referrerPolicy: props.refererPolicy
2209
+ referrerPolicy: props.referrerPolicy
2134
2210
  })),
2135
2211
  0 <= (headers.remainingCapacity -= header.length + 2))
2136
2212
  ? ((renderState.resets.image[key$jscomp$0] = PRELOAD_NO_CREDS),
@@ -2156,7 +2232,7 @@ function pushStartInstance(
2156
2232
  promotablePreloads.set(key$jscomp$0, resource$jscomp$1)));
2157
2233
  }
2158
2234
  }
2159
- return pushSelfClosing(target$jscomp$0, props, "img");
2235
+ return pushSelfClosing(target$jscomp$0, props, "img", formatContext);
2160
2236
  case "base":
2161
2237
  case "area":
2162
2238
  case "br":
@@ -2168,7 +2244,7 @@ function pushStartInstance(
2168
2244
  case "source":
2169
2245
  case "track":
2170
2246
  case "wbr":
2171
- return pushSelfClosing(target$jscomp$0, props, type);
2247
+ return pushSelfClosing(target$jscomp$0, props, type, formatContext);
2172
2248
  case "annotation-xml":
2173
2249
  case "color-profile":
2174
2250
  case "font-face":
@@ -2189,13 +2265,15 @@ function pushStartInstance(
2189
2265
  var JSCompiler_inline_result$jscomp$9 = pushStartSingletonElement(
2190
2266
  preamble.headChunks,
2191
2267
  props,
2192
- "head"
2268
+ "head",
2269
+ formatContext
2193
2270
  );
2194
2271
  } else
2195
2272
  JSCompiler_inline_result$jscomp$9 = pushStartGenericElement(
2196
2273
  target$jscomp$0,
2197
2274
  props,
2198
- "head"
2275
+ "head",
2276
+ formatContext
2199
2277
  );
2200
2278
  return JSCompiler_inline_result$jscomp$9;
2201
2279
  case "body":
@@ -2209,13 +2287,15 @@ function pushStartInstance(
2209
2287
  var JSCompiler_inline_result$jscomp$10 = pushStartSingletonElement(
2210
2288
  preamble$jscomp$0.bodyChunks,
2211
2289
  props,
2212
- "body"
2290
+ "body",
2291
+ formatContext
2213
2292
  );
2214
2293
  } else
2215
2294
  JSCompiler_inline_result$jscomp$10 = pushStartGenericElement(
2216
2295
  target$jscomp$0,
2217
2296
  props,
2218
- "body"
2297
+ "body",
2298
+ formatContext
2219
2299
  );
2220
2300
  return JSCompiler_inline_result$jscomp$10;
2221
2301
  case "html":
@@ -2229,13 +2309,15 @@ function pushStartInstance(
2229
2309
  var JSCompiler_inline_result$jscomp$11 = pushStartSingletonElement(
2230
2310
  preamble$jscomp$1.htmlChunks,
2231
2311
  props,
2232
- "html"
2312
+ "html",
2313
+ formatContext
2233
2314
  );
2234
2315
  } else
2235
2316
  JSCompiler_inline_result$jscomp$11 = pushStartGenericElement(
2236
2317
  target$jscomp$0,
2237
2318
  props,
2238
- "html"
2319
+ "html",
2320
+ formatContext
2239
2321
  );
2240
2322
  return JSCompiler_inline_result$jscomp$11;
2241
2323
  default:
@@ -2285,12 +2367,13 @@ function pushStartInstance(
2285
2367
  }
2286
2368
  }
2287
2369
  }
2370
+ pushViewTransitionAttributes(target$jscomp$0, formatContext);
2288
2371
  target$jscomp$0.push(endOfStartTag);
2289
2372
  pushInnerHTML(target$jscomp$0, innerHTML$jscomp$8, children$jscomp$9);
2290
2373
  return children$jscomp$9;
2291
2374
  }
2292
2375
  }
2293
- return pushStartGenericElement(target$jscomp$0, props, type);
2376
+ return pushStartGenericElement(target$jscomp$0, props, type, formatContext);
2294
2377
  }
2295
2378
  var endTagCache = new Map();
2296
2379
  function endChunkForTag(tag) {
@@ -2490,14 +2573,15 @@ stringToPrecomputedChunk('<template data-rri="" data-bid="');
2490
2573
  stringToPrecomputedChunk('" data-sid="');
2491
2574
  stringToPrecomputedChunk('" data-sty="');
2492
2575
  var clientRenderScriptFunctionOnly = stringToPrecomputedChunk(
2493
- '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'
2576
+ '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,null!=c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};'
2494
2577
  ),
2495
2578
  clientRenderScript1Full = stringToPrecomputedChunk(
2496
- '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'
2579
+ '$RX=function(b,c,d,e,f){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,null!=c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),f&&(a.cstck=f),b._reactRetry&&b._reactRetry())};;$RX("'
2497
2580
  ),
2498
2581
  clientRenderScript1Partial = stringToPrecomputedChunk('$RX("'),
2499
2582
  clientRenderScript1A = stringToPrecomputedChunk('"'),
2500
2583
  clientRenderErrorScriptArgInterstitial = stringToPrecomputedChunk(","),
2584
+ clientRenderErrorScriptNull = stringToPrecomputedChunk("null"),
2501
2585
  clientRenderScriptEnd = stringToPrecomputedChunk(")\x3c/script>");
2502
2586
  stringToPrecomputedChunk('<template data-rxi="" data-bid="');
2503
2587
  stringToPrecomputedChunk('" data-dgst="');
@@ -3013,7 +3097,7 @@ function preloadModule(href, options) {
3013
3097
  break;
3014
3098
  default:
3015
3099
  if (resumableState.moduleUnknownResources.hasOwnProperty(as)) {
3016
- var resources = resumableState.unknownResources[as];
3100
+ var resources = resumableState.moduleUnknownResources[as];
3017
3101
  if (resources.hasOwnProperty(href)) return;
3018
3102
  } else
3019
3103
  (resources = {}),
@@ -3195,8 +3279,10 @@ function hoistHoistables(parentState, childState) {
3195
3279
  childState.stylesheets.forEach(hoistStylesheetDependency, parentState);
3196
3280
  childState.suspenseyImages && (parentState.suspenseyImages = !0);
3197
3281
  }
3198
- function hasSuspenseyContent(hoistableState) {
3199
- return 0 < hoistableState.stylesheets.size || hoistableState.suspenseyImages;
3282
+ function hasSuspenseyContent(hoistableState, flushingInShell) {
3283
+ return flushingInShell
3284
+ ? hoistableState.suspenseyImages
3285
+ : 0 < hoistableState.stylesheets.size || hoistableState.suspenseyImages;
3200
3286
  }
3201
3287
  var bind = Function.prototype.bind,
3202
3288
  requestStorage = new async_hooks.AsyncLocalStorage(),
@@ -3221,6 +3307,8 @@ function getComponentNameFromType(type) {
3221
3307
  return "SuspenseList";
3222
3308
  case REACT_ACTIVITY_TYPE:
3223
3309
  return "Activity";
3310
+ case REACT_VIEW_TRANSITION_TYPE:
3311
+ return "ViewTransition";
3224
3312
  }
3225
3313
  if ("object" === typeof type)
3226
3314
  switch (type.$$typeof) {
@@ -3334,6 +3422,11 @@ var classComponentUpdater = {
3334
3422
  enqueueForceUpdate: function () {}
3335
3423
  },
3336
3424
  emptyTreeContext = { id: 1, overflow: "" };
3425
+ function getTreeId(context) {
3426
+ var overflow = context.overflow;
3427
+ context = context.id;
3428
+ return (context & ~(1 << (32 - clz32(context) - 1))).toString(32) + overflow;
3429
+ }
3337
3430
  function pushTreeContext(baseContext, totalChildren, index) {
3338
3431
  var baseIdWithLeadingBit = baseContext.id;
3339
3432
  baseContext = baseContext.overflow;
@@ -3382,7 +3475,12 @@ function trackUsedThenable(thenableState, thenable, index) {
3382
3475
  case "fulfilled":
3383
3476
  return thenable.value;
3384
3477
  case "rejected":
3385
- throw thenable.reason;
3478
+ thenableState = thenable.reason;
3479
+ if (void 0 === thenableState && !("reason" in thenable))
3480
+ throw Error(
3481
+ "A rejected Promise was passed to React without a `reason` property. React threw a generic error from where the Promise was used to assist in identifying the problematic Promise. Make sure that instrumented Promises correctly set the `reason` property when setting `status` to `'rejected'`."
3482
+ );
3483
+ throw thenableState;
3386
3484
  default:
3387
3485
  "string" === typeof thenable.status
3388
3486
  ? thenable.then(noop, noop)
@@ -3440,8 +3538,50 @@ var objectIs = "function" === typeof Object.is ? Object.is : is,
3440
3538
  actionStateCounter = 0,
3441
3539
  actionStateMatchingIndex = -1,
3442
3540
  thenableIndexCounter = 0,
3443
- thenableState = null,
3444
- renderPhaseUpdates = null,
3541
+ thenableState = null;
3542
+ function createRecoverableError(recoverable) {
3543
+ recoverable = recoverable._reason;
3544
+ if ("function" === typeof recoverable)
3545
+ try {
3546
+ var initializedReason = recoverable();
3547
+ } catch ($jscomp$unused$catch) {
3548
+ initializedReason =
3549
+ "The reason for browser-only rendering could not be determined because its initializer threw.";
3550
+ }
3551
+ else initializedReason = recoverable;
3552
+ initializedReason = Error(
3553
+ "Browser-only rendering was requested by `browser()`.",
3554
+ void 0 === recoverable ? void 0 : { cause: initializedReason }
3555
+ );
3556
+ Object.defineProperty(initializedReason, REACT_RECOVERABLE_TYPE, {
3557
+ value: !0
3558
+ });
3559
+ return initializedReason;
3560
+ }
3561
+ function isRecoverableError(error) {
3562
+ return "object" !== typeof error || null === error
3563
+ ? !1
3564
+ : !0 === error[REACT_RECOVERABLE_TYPE];
3565
+ }
3566
+ function cloneRecoverableErrorAsFatal(recoverableError) {
3567
+ var fatalRecoverableError = Error(
3568
+ "The server render could not complete because client rendering was requested outside a Suspense boundary. See this error's cause for additional details.",
3569
+ hasOwnProperty.call(recoverableError, "cause")
3570
+ ? { cause: recoverableError.cause }
3571
+ : void 0
3572
+ );
3573
+ recoverableError = recoverableError.stack;
3574
+ if (void 0 !== recoverableError) {
3575
+ var frameStart = recoverableError.indexOf("\n");
3576
+ fatalRecoverableError.stack =
3577
+ fatalRecoverableError.name +
3578
+ ": " +
3579
+ fatalRecoverableError.message +
3580
+ (-1 === frameStart ? "" : recoverableError.slice(frameStart));
3581
+ } else fatalRecoverableError.stack = void 0;
3582
+ return fatalRecoverableError;
3583
+ }
3584
+ var renderPhaseUpdates = null,
3445
3585
  numberOfReRenders = 0;
3446
3586
  function resolveCurrentlyRenderingComponent() {
3447
3587
  if (null === currentlyRenderingComponent)
@@ -3651,6 +3791,8 @@ var HooksDispatcher = {
3651
3791
  use: function (usable) {
3652
3792
  if (null !== usable && "object" === typeof usable) {
3653
3793
  if ("function" === typeof usable.then) return unwrapThenable(usable);
3794
+ if (usable.$$typeof === REACT_RECOVERABLE_TYPE)
3795
+ throw createRecoverableError(usable);
3654
3796
  if (usable.$$typeof === REACT_CONTEXT_TYPE) return usable._currentValue;
3655
3797
  }
3656
3798
  throw Error("An unsupported type was passed to use(): " + String(usable));
@@ -3692,24 +3834,14 @@ var HooksDispatcher = {
3692
3834
  return [!1, unsupportedStartTransition];
3693
3835
  },
3694
3836
  useId: function () {
3695
- var JSCompiler_inline_result = currentlyRenderingTask.treeContext;
3696
- var overflow = JSCompiler_inline_result.overflow;
3697
- JSCompiler_inline_result = JSCompiler_inline_result.id;
3698
- JSCompiler_inline_result =
3699
- (
3700
- JSCompiler_inline_result &
3701
- ~(1 << (32 - clz32(JSCompiler_inline_result) - 1))
3702
- ).toString(32) + overflow;
3703
- var resumableState = currentResumableState;
3837
+ var treeId = getTreeId(currentlyRenderingTask.treeContext),
3838
+ resumableState = currentResumableState;
3704
3839
  if (null === resumableState)
3705
3840
  throw Error(
3706
3841
  "Invalid hook call. Hooks can only be called inside of the body of a function component."
3707
3842
  );
3708
- overflow = localIdCounter++;
3709
- JSCompiler_inline_result =
3710
- "_" + resumableState.idPrefix + "R_" + JSCompiler_inline_result;
3711
- 0 < overflow && (JSCompiler_inline_result += "H" + overflow.toString(32));
3712
- return JSCompiler_inline_result + "_";
3843
+ var localId = localIdCounter++;
3844
+ return makeId(resumableState, treeId, localId);
3713
3845
  },
3714
3846
  useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {
3715
3847
  if (void 0 === getServerSnapshot)
@@ -3804,7 +3936,26 @@ function describeNativeComponentFrame(fn, construct) {
3804
3936
  } catch (x$24) {
3805
3937
  control = x$24;
3806
3938
  }
3807
- fn.call(Fake.prototype);
3939
+ Fake = !1;
3940
+ try {
3941
+ var prevProps = Object.getOwnPropertyDescriptor(
3942
+ fn.prototype,
3943
+ "props"
3944
+ );
3945
+ Object.defineProperty(fn.prototype, "props", {
3946
+ configurable: !0,
3947
+ set: function () {
3948
+ throw Error();
3949
+ }
3950
+ });
3951
+ Fake = !0;
3952
+ new fn();
3953
+ } finally {
3954
+ Fake &&
3955
+ (void 0 !== prevProps
3956
+ ? Object.defineProperty(fn.prototype, "props", prevProps)
3957
+ : delete fn.prototype.props);
3958
+ }
3808
3959
  }
3809
3960
  } else {
3810
3961
  try {
@@ -3966,13 +4117,34 @@ function describeComponentStackByType(type) {
3966
4117
  return describeBuiltInComponentFrame("SuspenseList");
3967
4118
  case REACT_SUSPENSE_TYPE:
3968
4119
  return describeBuiltInComponentFrame("Suspense");
4120
+ case REACT_VIEW_TRANSITION_TYPE:
4121
+ return describeBuiltInComponentFrame("ViewTransition");
3969
4122
  }
3970
4123
  return "";
3971
4124
  }
4125
+ function getViewTransitionClassName(defaultClass, eventClass) {
4126
+ defaultClass =
4127
+ null == defaultClass || "string" === typeof defaultClass
4128
+ ? defaultClass
4129
+ : defaultClass.default;
4130
+ eventClass =
4131
+ null == eventClass || "string" === typeof eventClass
4132
+ ? eventClass
4133
+ : eventClass.default;
4134
+ return null == eventClass
4135
+ ? "auto" === defaultClass
4136
+ ? null
4137
+ : defaultClass
4138
+ : "auto" === eventClass
4139
+ ? null
4140
+ : eventClass;
4141
+ }
3972
4142
  function isEligibleForOutlining(request, boundary) {
3973
4143
  return (
3974
- (500 < boundary.byteSize || hasSuspenseyContent(boundary.contentState)) &&
3975
- null === boundary.contentPreamble
4144
+ (500 < boundary.byteSize ||
4145
+ hasSuspenseyContent(boundary.contentState, !1) ||
4146
+ boundary.defer) &&
4147
+ null === boundary.preamble
3976
4148
  );
3977
4149
  }
3978
4150
  function defaultErrorHandler(error) {
@@ -4012,11 +4184,11 @@ function RequestInstance(
4012
4184
  rootFormatContext,
4013
4185
  progressiveChunkSize,
4014
4186
  onError,
4187
+ onBrowserBailout,
4015
4188
  onAllReady,
4016
4189
  onShellReady,
4017
4190
  onShellError,
4018
4191
  onFatalError,
4019
- onPostpone,
4020
4192
  formState
4021
4193
  ) {
4022
4194
  var abortSet = new Set();
@@ -4029,21 +4201,24 @@ function RequestInstance(
4029
4201
  void 0 === progressiveChunkSize ? 12800 : progressiveChunkSize;
4030
4202
  this.status = 10;
4031
4203
  this.fatalError = null;
4204
+ this.aborted = !1;
4032
4205
  this.pendingRootTasks = this.allPendingTasks = this.nextSegmentId = 0;
4033
4206
  this.completedPreambleSegments = this.completedRootSegment = null;
4034
4207
  this.byteSize = 0;
4035
4208
  this.abortableTasks = abortSet;
4036
4209
  this.pingedTasks = [];
4210
+ this.currentTask = null;
4037
4211
  this.clientRenderedBoundaries = [];
4038
4212
  this.completedBoundaries = [];
4039
4213
  this.partialBoundaries = [];
4040
- this.trackedPostpones = null;
4214
+ this.postponedState = this.trackedPostpones = null;
4041
4215
  this.onError = void 0 === onError ? defaultErrorHandler : onError;
4042
- this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
4216
+ this.onBrowserBailout = void 0 === onBrowserBailout ? noop : onBrowserBailout;
4043
4217
  this.onAllReady = void 0 === onAllReady ? noop : onAllReady;
4044
4218
  this.onShellReady = void 0 === onShellReady ? noop : onShellReady;
4045
4219
  this.onShellError = void 0 === onShellError ? noop : onShellError;
4046
4220
  this.onFatalError = void 0 === onFatalError ? noop : onFatalError;
4221
+ this.renderLifetimeController = null;
4047
4222
  this.formState = void 0 === formState ? null : formState;
4048
4223
  }
4049
4224
  function createRequest(
@@ -4053,11 +4228,11 @@ function createRequest(
4053
4228
  rootFormatContext,
4054
4229
  progressiveChunkSize,
4055
4230
  onError,
4231
+ onBrowserBailout,
4056
4232
  onAllReady,
4057
4233
  onShellReady,
4058
4234
  onShellError,
4059
4235
  onFatalError,
4060
- onPostpone,
4061
4236
  formState
4062
4237
  ) {
4063
4238
  resumableState = new RequestInstance(
@@ -4066,11 +4241,11 @@ function createRequest(
4066
4241
  rootFormatContext,
4067
4242
  progressiveChunkSize,
4068
4243
  onError,
4244
+ onBrowserBailout,
4069
4245
  onAllReady,
4070
4246
  onShellReady,
4071
4247
  onShellError,
4072
4248
  onFatalError,
4073
- onPostpone,
4074
4249
  formState
4075
4250
  );
4076
4251
  renderState = createPendingSegment(
@@ -4110,11 +4285,11 @@ function createPrerenderRequest(
4110
4285
  rootFormatContext,
4111
4286
  progressiveChunkSize,
4112
4287
  onError,
4288
+ onBrowserBailout,
4113
4289
  onAllReady,
4114
4290
  onShellReady,
4115
4291
  onShellError,
4116
- onFatalError,
4117
- onPostpone
4292
+ onFatalError
4118
4293
  ) {
4119
4294
  children = createRequest(
4120
4295
  children,
@@ -4123,11 +4298,11 @@ function createPrerenderRequest(
4123
4298
  rootFormatContext,
4124
4299
  progressiveChunkSize,
4125
4300
  onError,
4301
+ onBrowserBailout,
4126
4302
  onAllReady,
4127
4303
  onShellReady,
4128
4304
  onShellError,
4129
4305
  onFatalError,
4130
- onPostpone,
4131
4306
  void 0
4132
4307
  );
4133
4308
  children.trackedPostpones = {
@@ -4142,11 +4317,11 @@ function resumeRequest(
4142
4317
  postponedState,
4143
4318
  renderState,
4144
4319
  onError,
4320
+ onBrowserBailout,
4145
4321
  onAllReady,
4146
4322
  onShellReady,
4147
4323
  onShellError,
4148
- onFatalError,
4149
- onPostpone
4324
+ onFatalError
4150
4325
  ) {
4151
4326
  renderState = new RequestInstance(
4152
4327
  postponedState.resumableState,
@@ -4154,11 +4329,11 @@ function resumeRequest(
4154
4329
  postponedState.rootFormatContext,
4155
4330
  postponedState.progressiveChunkSize,
4156
4331
  onError,
4332
+ onBrowserBailout,
4157
4333
  onAllReady,
4158
4334
  onShellReady,
4159
4335
  onShellError,
4160
4336
  onFatalError,
4161
- onPostpone,
4162
4337
  null
4163
4338
  );
4164
4339
  renderState.nextSegmentId = postponedState.nextSegmentId;
@@ -4223,22 +4398,22 @@ function resumeAndPrerenderRequest(
4223
4398
  postponedState,
4224
4399
  renderState,
4225
4400
  onError,
4401
+ onBrowserBailout,
4226
4402
  onAllReady,
4227
4403
  onShellReady,
4228
4404
  onShellError,
4229
- onFatalError,
4230
- onPostpone
4405
+ onFatalError
4231
4406
  ) {
4232
4407
  children = resumeRequest(
4233
4408
  children,
4234
4409
  postponedState,
4235
4410
  renderState,
4236
4411
  onError,
4412
+ onBrowserBailout,
4237
4413
  onAllReady,
4238
4414
  onShellReady,
4239
4415
  onShellError,
4240
- onFatalError,
4241
- onPostpone
4416
+ onFatalError
4242
4417
  );
4243
4418
  children.trackedPostpones = {
4244
4419
  workingMap: new Map(),
@@ -4269,8 +4444,8 @@ function createSuspenseBoundary(
4269
4444
  request,
4270
4445
  row,
4271
4446
  fallbackAbortableTasks,
4272
- contentPreamble,
4273
- fallbackPreamble
4447
+ preamble,
4448
+ defer
4274
4449
  ) {
4275
4450
  fallbackAbortableTasks = {
4276
4451
  status: 0,
@@ -4280,22 +4455,21 @@ function createSuspenseBoundary(
4280
4455
  row: row,
4281
4456
  completedSegments: [],
4282
4457
  byteSize: 0,
4458
+ defer: defer,
4283
4459
  fallbackAbortableTasks: fallbackAbortableTasks,
4284
4460
  errorDigest: null,
4285
4461
  contentState: createHoistableState(),
4286
4462
  fallbackState: createHoistableState(),
4287
- contentPreamble: contentPreamble,
4288
- fallbackPreamble: fallbackPreamble,
4289
- trackedContentKeyPath: null,
4290
- trackedFallbackNode: null
4463
+ preamble: preamble,
4464
+ tracked: null
4291
4465
  };
4292
4466
  null !== row &&
4293
4467
  (row.pendingTasks++,
4294
- (contentPreamble = row.boundaries),
4295
- null !== contentPreamble &&
4468
+ (preamble = row.boundaries),
4469
+ null !== preamble &&
4296
4470
  (request.allPendingTasks++,
4297
4471
  fallbackAbortableTasks.pendingTasks++,
4298
- contentPreamble.push(fallbackAbortableTasks)),
4472
+ preamble.push(fallbackAbortableTasks)),
4299
4473
  (request = row.inheritedHoistables),
4300
4474
  null !== request &&
4301
4475
  hoistHoistables(fallbackAbortableTasks.contentState, request));
@@ -4327,8 +4501,16 @@ function createRenderTask(
4327
4501
  replay: null,
4328
4502
  node: node,
4329
4503
  childIndex: childIndex,
4330
- ping: function () {
4331
- return pingTask(request, task);
4504
+ ping: {
4505
+ resolve: function () {
4506
+ return pingTask(request, task);
4507
+ },
4508
+ reject: function (error) {
4509
+ request.aborted
4510
+ ? task.abortSet.delete(task) &&
4511
+ finishAbortedTask(task, request, error)
4512
+ : pingTask(request, task);
4513
+ }
4332
4514
  },
4333
4515
  blockedBoundary: blockedBoundary,
4334
4516
  blockedSegment: blockedSegment,
@@ -4372,8 +4554,16 @@ function createReplayTask(
4372
4554
  replay: replay,
4373
4555
  node: node,
4374
4556
  childIndex: childIndex,
4375
- ping: function () {
4376
- return pingTask(request, task);
4557
+ ping: {
4558
+ resolve: function () {
4559
+ return pingTask(request, task);
4560
+ },
4561
+ reject: function (error) {
4562
+ request.aborted
4563
+ ? task.abortSet.delete(task) &&
4564
+ finishAbortedTask(task, request, error)
4565
+ : pingTask(request, task);
4566
+ }
4377
4567
  },
4378
4568
  blockedBoundary: blockedBoundary,
4379
4569
  blockedSegment: null,
@@ -4456,18 +4646,22 @@ function getThrownInfo(node$jscomp$0) {
4456
4646
  return errorInfo;
4457
4647
  }
4458
4648
  function logRecoverableError(request, error, errorInfo) {
4649
+ if (isRecoverableError(error))
4650
+ return (request = request.onBrowserBailout), request(error, errorInfo), "";
4459
4651
  request = request.onError;
4460
4652
  error = request(error, errorInfo);
4461
- if (null == error || "string" === typeof error) return error;
4653
+ if (null == error || "string" === typeof error)
4654
+ return "" === error ? void 0 : error;
4462
4655
  }
4463
4656
  function fatalError(request, error) {
4464
4657
  var onShellError = request.onShellError,
4465
4658
  onFatalError = request.onFatalError;
4466
- onShellError(error);
4659
+ 0 !== request.pendingRootTasks && onShellError(error);
4467
4660
  onFatalError(error);
4661
+ endRenderLifetime(request);
4468
4662
  null !== request.destination
4469
- ? ((request.status = 14), request.destination.destroy(error))
4470
- : ((request.status = 13), (request.fatalError = error));
4663
+ ? ((request.status = 13), request.destination.destroy(error))
4664
+ : ((request.status = 12), request.aborted || (request.fatalError = error));
4471
4665
  }
4472
4666
  function finishSuspenseListRow(request, row) {
4473
4667
  unblockSuspenseListRow(request, row.next, row.hoistables);
@@ -4587,43 +4781,46 @@ function renderSuspenseListRows(request, task, keyPath, rows, revealOrder) {
4587
4781
  0 === --previousSuspenseListRow.pendingTasks &&
4588
4782
  finishSuspenseListRow(request, previousSuspenseListRow);
4589
4783
  else {
4590
- revealOrder = task.blockedSegment;
4591
- resumeSlots = revealOrder.children.length;
4592
- n = revealOrder.chunks.length;
4593
- for (i = keyPath - 1; 0 <= i; i--) {
4594
- node = rows[i];
4784
+ resumeSlots = task.blockedSegment;
4785
+ n = resumeSlots.children.length;
4786
+ i = resumeSlots.chunks.length;
4787
+ for (node = 0; node < keyPath; node++) {
4788
+ resumeSegmentID =
4789
+ "unstable_legacy-backwards" === revealOrder ? keyPath - 1 - node : node;
4790
+ var node$40 = rows[resumeSegmentID];
4595
4791
  task.row = previousSuspenseListRow = createSuspenseListRow(
4596
4792
  previousSuspenseListRow
4597
4793
  );
4598
- task.treeContext = pushTreeContext(prevTreeContext, keyPath, i);
4599
- resumeSegmentID = createPendingSegment(
4794
+ task.treeContext = pushTreeContext(
4795
+ prevTreeContext,
4796
+ keyPath,
4797
+ resumeSegmentID
4798
+ );
4799
+ var newSegment = createPendingSegment(
4600
4800
  request,
4601
- n,
4801
+ i,
4602
4802
  null,
4603
4803
  task.formatContext,
4604
- 0 === i ? revealOrder.lastPushedText : !0,
4804
+ 0 === resumeSegmentID ? resumeSlots.lastPushedText : !0,
4605
4805
  !0
4606
4806
  );
4607
- revealOrder.children.splice(resumeSlots, 0, resumeSegmentID);
4608
- task.blockedSegment = resumeSegmentID;
4807
+ resumeSlots.children.splice(n, 0, newSegment);
4808
+ task.blockedSegment = newSegment;
4609
4809
  try {
4610
- renderNode(request, task, node, i),
4611
- resumeSegmentID.lastPushedText &&
4612
- resumeSegmentID.textEmbedded &&
4613
- resumeSegmentID.chunks.push(textSeparator),
4614
- (resumeSegmentID.status = 1),
4615
- finishedSegment(request, task.blockedBoundary, resumeSegmentID),
4810
+ renderNode(request, task, node$40, resumeSegmentID),
4811
+ newSegment.lastPushedText &&
4812
+ newSegment.textEmbedded &&
4813
+ newSegment.chunks.push(textSeparator),
4814
+ (newSegment.status = 1),
4815
+ finishedSegment(request, task.blockedBoundary, newSegment),
4616
4816
  0 === --previousSuspenseListRow.pendingTasks &&
4617
4817
  finishSuspenseListRow(request, previousSuspenseListRow);
4618
4818
  } catch (thrownValue) {
4619
- throw (
4620
- ((resumeSegmentID.status = 12 === request.status ? 3 : 4),
4621
- thrownValue)
4622
- );
4819
+ throw ((newSegment.status = request.aborted ? 3 : 4), thrownValue);
4623
4820
  }
4624
4821
  }
4625
- task.blockedSegment = revealOrder;
4626
- revealOrder.lastPushedText = !1;
4822
+ task.blockedSegment = resumeSlots;
4823
+ resumeSlots.lastPushedText = !1;
4627
4824
  }
4628
4825
  null !== prevRow &&
4629
4826
  null !== previousSuspenseListRow &&
@@ -4700,113 +4897,143 @@ function renderElement(request, task, keyPath, type, props, ref) {
4700
4897
  var defaultProps = type.defaultProps;
4701
4898
  if (defaultProps) {
4702
4899
  newProps === props && (newProps = assign({}, newProps, props));
4703
- for (var propName$44 in defaultProps)
4704
- void 0 === newProps[propName$44] &&
4705
- (newProps[propName$44] = defaultProps[propName$44]);
4900
+ for (var propName$45 in defaultProps)
4901
+ void 0 === newProps[propName$45] &&
4902
+ (newProps[propName$45] = defaultProps[propName$45]);
4706
4903
  }
4707
- props = newProps;
4708
- newProps = emptyContextObject;
4709
- defaultProps = type.contextType;
4710
- "object" === typeof defaultProps &&
4711
- null !== defaultProps &&
4712
- (newProps = defaultProps._currentValue);
4713
- newProps = new type(props, newProps);
4714
- var initialState = void 0 !== newProps.state ? newProps.state : null;
4715
- newProps.updater = classComponentUpdater;
4716
- newProps.props = props;
4717
- newProps.state = initialState;
4718
- defaultProps = { queue: [], replace: !1 };
4719
- newProps._reactInternals = defaultProps;
4720
- ref = type.contextType;
4721
- newProps.context =
4722
- "object" === typeof ref && null !== ref
4723
- ? ref._currentValue
4904
+ var JSCompiler_inline_result = newProps;
4905
+ var context = emptyContextObject,
4906
+ contextType = type.contextType;
4907
+ "object" === typeof contextType &&
4908
+ null !== contextType &&
4909
+ (context = contextType._currentValue);
4910
+ var JSCompiler_inline_result$jscomp$0 = new type(
4911
+ JSCompiler_inline_result,
4912
+ context
4913
+ );
4914
+ var initialState =
4915
+ void 0 !== JSCompiler_inline_result$jscomp$0.state
4916
+ ? JSCompiler_inline_result$jscomp$0.state
4917
+ : null;
4918
+ JSCompiler_inline_result$jscomp$0.updater = classComponentUpdater;
4919
+ JSCompiler_inline_result$jscomp$0.props = JSCompiler_inline_result;
4920
+ JSCompiler_inline_result$jscomp$0.state = initialState;
4921
+ var internalInstance = { queue: [], replace: !1 };
4922
+ JSCompiler_inline_result$jscomp$0._reactInternals = internalInstance;
4923
+ var contextType$jscomp$0 = type.contextType;
4924
+ JSCompiler_inline_result$jscomp$0.context =
4925
+ "object" === typeof contextType$jscomp$0 &&
4926
+ null !== contextType$jscomp$0
4927
+ ? contextType$jscomp$0._currentValue
4724
4928
  : emptyContextObject;
4725
- ref = type.getDerivedStateFromProps;
4726
- "function" === typeof ref &&
4727
- ((ref = ref(props, initialState)),
4728
- (initialState =
4729
- null === ref || void 0 === ref
4929
+ var getDerivedStateFromProps = type.getDerivedStateFromProps;
4930
+ if ("function" === typeof getDerivedStateFromProps) {
4931
+ var partialState = getDerivedStateFromProps(
4932
+ JSCompiler_inline_result,
4933
+ initialState
4934
+ );
4935
+ var JSCompiler_inline_result$jscomp$1 =
4936
+ null === partialState || void 0 === partialState
4730
4937
  ? initialState
4731
- : assign({}, initialState, ref)),
4732
- (newProps.state = initialState));
4938
+ : assign({}, initialState, partialState);
4939
+ JSCompiler_inline_result$jscomp$0.state =
4940
+ JSCompiler_inline_result$jscomp$1;
4941
+ }
4733
4942
  if (
4734
4943
  "function" !== typeof type.getDerivedStateFromProps &&
4735
- "function" !== typeof newProps.getSnapshotBeforeUpdate &&
4736
- ("function" === typeof newProps.UNSAFE_componentWillMount ||
4737
- "function" === typeof newProps.componentWillMount)
4738
- )
4944
+ "function" !==
4945
+ typeof JSCompiler_inline_result$jscomp$0.getSnapshotBeforeUpdate &&
4946
+ ("function" ===
4947
+ typeof JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount ||
4948
+ "function" ===
4949
+ typeof JSCompiler_inline_result$jscomp$0.componentWillMount)
4950
+ ) {
4951
+ var oldState = JSCompiler_inline_result$jscomp$0.state;
4952
+ "function" ===
4953
+ typeof JSCompiler_inline_result$jscomp$0.componentWillMount &&
4954
+ JSCompiler_inline_result$jscomp$0.componentWillMount();
4955
+ "function" ===
4956
+ typeof JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount &&
4957
+ JSCompiler_inline_result$jscomp$0.UNSAFE_componentWillMount();
4958
+ oldState !== JSCompiler_inline_result$jscomp$0.state &&
4959
+ classComponentUpdater.enqueueReplaceState(
4960
+ JSCompiler_inline_result$jscomp$0,
4961
+ JSCompiler_inline_result$jscomp$0.state,
4962
+ null
4963
+ );
4739
4964
  if (
4740
- ((type = newProps.state),
4741
- "function" === typeof newProps.componentWillMount &&
4742
- newProps.componentWillMount(),
4743
- "function" === typeof newProps.UNSAFE_componentWillMount &&
4744
- newProps.UNSAFE_componentWillMount(),
4745
- type !== newProps.state &&
4746
- classComponentUpdater.enqueueReplaceState(
4747
- newProps,
4748
- newProps.state,
4749
- null
4750
- ),
4751
- null !== defaultProps.queue && 0 < defaultProps.queue.length)
4752
- )
4753
- if (
4754
- ((type = defaultProps.queue),
4755
- (ref = defaultProps.replace),
4756
- (defaultProps.queue = null),
4757
- (defaultProps.replace = !1),
4758
- ref && 1 === type.length)
4759
- )
4760
- newProps.state = type[0];
4965
+ null !== internalInstance.queue &&
4966
+ 0 < internalInstance.queue.length
4967
+ ) {
4968
+ var oldQueue = internalInstance.queue,
4969
+ oldReplace = internalInstance.replace;
4970
+ internalInstance.queue = null;
4971
+ internalInstance.replace = !1;
4972
+ if (oldReplace && 1 === oldQueue.length)
4973
+ JSCompiler_inline_result$jscomp$0.state = oldQueue[0];
4761
4974
  else {
4762
- defaultProps = ref ? type[0] : newProps.state;
4763
- initialState = !0;
4764
- for (ref = ref ? 1 : 0; ref < type.length; ref++)
4765
- (propName$44 = type[ref]),
4766
- (propName$44 =
4767
- "function" === typeof propName$44
4768
- ? propName$44.call(newProps, defaultProps, props, void 0)
4769
- : propName$44),
4770
- null != propName$44 &&
4771
- (initialState
4772
- ? ((initialState = !1),
4773
- (defaultProps = assign({}, defaultProps, propName$44)))
4774
- : assign(defaultProps, propName$44));
4775
- newProps.state = defaultProps;
4975
+ for (
4976
+ var nextState = oldReplace
4977
+ ? oldQueue[0]
4978
+ : JSCompiler_inline_result$jscomp$0.state,
4979
+ dontMutate = !0,
4980
+ i = oldReplace ? 1 : 0;
4981
+ i < oldQueue.length;
4982
+ i++
4983
+ ) {
4984
+ var partial = oldQueue[i],
4985
+ partialState$jscomp$0 =
4986
+ "function" === typeof partial
4987
+ ? partial.call(
4988
+ JSCompiler_inline_result$jscomp$0,
4989
+ nextState,
4990
+ JSCompiler_inline_result,
4991
+ void 0
4992
+ )
4993
+ : partial;
4994
+ null != partialState$jscomp$0 &&
4995
+ (dontMutate
4996
+ ? ((dontMutate = !1),
4997
+ (nextState = assign({}, nextState, partialState$jscomp$0)))
4998
+ : assign(nextState, partialState$jscomp$0));
4999
+ }
5000
+ JSCompiler_inline_result$jscomp$0.state = nextState;
4776
5001
  }
4777
- else defaultProps.queue = null;
4778
- type = newProps.render();
4779
- if (12 === request.status) throw null;
4780
- props = task.keyPath;
5002
+ } else internalInstance.queue = null;
5003
+ }
5004
+ var nextChildren = JSCompiler_inline_result$jscomp$0.render();
5005
+ if (request.aborted) throw null;
5006
+ var prevKeyPath = task.keyPath;
4781
5007
  task.keyPath = keyPath;
4782
- renderNodeDestructive(request, task, type, -1);
4783
- task.keyPath = props;
5008
+ renderNodeDestructive(request, task, nextChildren, -1);
5009
+ task.keyPath = prevKeyPath;
4784
5010
  } else {
4785
- type = renderWithHooks(request, task, keyPath, type, props, void 0);
4786
- if (12 === request.status) throw null;
5011
+ var value = renderWithHooks(request, task, keyPath, type, props, void 0);
5012
+ if (request.aborted) throw null;
4787
5013
  finishFunctionComponent(
4788
5014
  request,
4789
5015
  task,
4790
5016
  keyPath,
4791
- type,
5017
+ value,
4792
5018
  0 !== localIdCounter,
4793
5019
  actionStateCounter,
4794
5020
  actionStateMatchingIndex
4795
5021
  );
4796
5022
  }
4797
- else if ("string" === typeof type)
4798
- if (((newProps = task.blockedSegment), null === newProps))
4799
- (newProps = props.children),
4800
- (defaultProps = task.formatContext),
4801
- (initialState = task.keyPath),
4802
- (task.formatContext = getChildFormatContext(defaultProps, type, props)),
4803
- (task.keyPath = keyPath),
4804
- renderNode(request, task, newProps, -1),
4805
- (task.formatContext = defaultProps),
4806
- (task.keyPath = initialState);
4807
- else {
4808
- initialState = pushStartInstance(
4809
- newProps.chunks,
5023
+ else if ("string" === typeof type) {
5024
+ var segment = task.blockedSegment;
5025
+ if (null === segment) {
5026
+ var children = props.children,
5027
+ prevContext = task.formatContext,
5028
+ prevKeyPath$jscomp$0 = task.keyPath;
5029
+ task.formatContext = getChildFormatContext(prevContext, type, props);
5030
+ task.keyPath = keyPath;
5031
+ renderNode(request, task, children, -1);
5032
+ task.formatContext = prevContext;
5033
+ task.keyPath = prevKeyPath$jscomp$0;
5034
+ } else {
5035
+ var children$42 = pushStartInstance(
5036
+ segment.chunks,
4810
5037
  type,
4811
5038
  props,
4812
5039
  request.resumableState,
@@ -4814,18 +5041,21 @@ function renderElement(request, task, keyPath, type, props, ref) {
4814
5041
  task.blockedPreamble,
4815
5042
  task.hoistableState,
4816
5043
  task.formatContext,
4817
- newProps.lastPushedText
5044
+ segment.lastPushedText
4818
5045
  );
4819
- newProps.lastPushedText = !1;
4820
- defaultProps = task.formatContext;
4821
- ref = task.keyPath;
5046
+ segment.lastPushedText = !1;
5047
+ var prevContext$43 = task.formatContext,
5048
+ prevKeyPath$44 = task.keyPath;
4822
5049
  task.keyPath = keyPath;
4823
5050
  if (
4824
5051
  3 ===
4825
- (task.formatContext = getChildFormatContext(defaultProps, type, props))
4826
- .insertionMode
5052
+ (task.formatContext = getChildFormatContext(
5053
+ prevContext$43,
5054
+ type,
5055
+ props
5056
+ )).insertionMode
4827
5057
  ) {
4828
- keyPath = createPendingSegment(
5058
+ var preambleSegment = createPendingSegment(
4829
5059
  request,
4830
5060
  0,
4831
5061
  null,
@@ -4833,25 +5063,24 @@ function renderElement(request, task, keyPath, type, props, ref) {
4833
5063
  !1,
4834
5064
  !1
4835
5065
  );
4836
- newProps.preambleChildren.push(keyPath);
4837
- task.blockedSegment = keyPath;
5066
+ segment.preambleChildren.push(preambleSegment);
5067
+ task.blockedSegment = preambleSegment;
4838
5068
  try {
4839
- (keyPath.status = 6),
4840
- renderNode(request, task, initialState, -1),
4841
- keyPath.lastPushedText &&
4842
- keyPath.textEmbedded &&
4843
- keyPath.chunks.push(textSeparator),
4844
- (keyPath.status = 1),
4845
- finishedSegment(request, task.blockedBoundary, keyPath);
5069
+ renderNode(request, task, children$42, -1),
5070
+ preambleSegment.lastPushedText &&
5071
+ preambleSegment.textEmbedded &&
5072
+ preambleSegment.chunks.push(textSeparator),
5073
+ (preambleSegment.status = 1),
5074
+ finishedSegment(request, task.blockedBoundary, preambleSegment);
4846
5075
  } finally {
4847
- task.blockedSegment = newProps;
5076
+ task.blockedSegment = segment;
4848
5077
  }
4849
- } else renderNode(request, task, initialState, -1);
4850
- task.formatContext = defaultProps;
4851
- task.keyPath = ref;
5078
+ } else renderNode(request, task, children$42, -1);
5079
+ task.formatContext = prevContext$43;
5080
+ task.keyPath = prevKeyPath$44;
4852
5081
  a: {
4853
- task = newProps.chunks;
4854
- request = request.resumableState;
5082
+ var target = segment.chunks,
5083
+ resumableState = request.resumableState;
4855
5084
  switch (type) {
4856
5085
  case "title":
4857
5086
  case "style":
@@ -4873,157 +5102,239 @@ function renderElement(request, task, keyPath, type, props, ref) {
4873
5102
  case "wbr":
4874
5103
  break a;
4875
5104
  case "body":
4876
- if (1 >= defaultProps.insertionMode) {
4877
- request.hasBody = !0;
5105
+ if (1 >= prevContext$43.insertionMode) {
5106
+ resumableState.hasBody = !0;
4878
5107
  break a;
4879
5108
  }
4880
5109
  break;
4881
5110
  case "html":
4882
- if (0 === defaultProps.insertionMode) {
4883
- request.hasHtml = !0;
5111
+ if (0 === prevContext$43.insertionMode) {
5112
+ resumableState.hasHtml = !0;
4884
5113
  break a;
4885
5114
  }
4886
5115
  break;
4887
5116
  case "head":
4888
- if (1 >= defaultProps.insertionMode) break a;
5117
+ if (1 >= prevContext$43.insertionMode) break a;
4889
5118
  }
4890
- task.push(endChunkForTag(type));
5119
+ target.push(endChunkForTag(type));
4891
5120
  }
4892
- newProps.lastPushedText = !1;
5121
+ segment.lastPushedText = !1;
4893
5122
  }
4894
- else {
5123
+ } else {
4895
5124
  switch (type) {
4896
5125
  case REACT_LEGACY_HIDDEN_TYPE:
4897
5126
  case REACT_STRICT_MODE_TYPE:
4898
5127
  case REACT_PROFILER_TYPE:
4899
5128
  case REACT_FRAGMENT_TYPE:
4900
- type = task.keyPath;
5129
+ var prevKeyPath$jscomp$1 = task.keyPath;
4901
5130
  task.keyPath = keyPath;
4902
5131
  renderNodeDestructive(request, task, props.children, -1);
4903
- task.keyPath = type;
5132
+ task.keyPath = prevKeyPath$jscomp$1;
4904
5133
  return;
4905
5134
  case REACT_ACTIVITY_TYPE:
4906
- type = task.blockedSegment;
4907
- null === type
4908
- ? "hidden" !== props.mode &&
4909
- ((type = task.keyPath),
4910
- (task.keyPath = keyPath),
4911
- renderNode(request, task, props.children, -1),
4912
- (task.keyPath = type))
4913
- : "hidden" !== props.mode &&
4914
- (type.chunks.push(startActivityBoundary),
4915
- (type.lastPushedText = !1),
4916
- (newProps = task.keyPath),
4917
- (task.keyPath = keyPath),
4918
- renderNode(request, task, props.children, -1),
4919
- (task.keyPath = newProps),
4920
- type.chunks.push(endActivityBoundary),
4921
- (type.lastPushedText = !1));
5135
+ var segment$jscomp$0 = task.blockedSegment;
5136
+ if (null === segment$jscomp$0) {
5137
+ if ("hidden" !== props.mode) {
5138
+ var prevKeyPath$jscomp$2 = task.keyPath;
5139
+ task.keyPath = keyPath;
5140
+ renderNode(request, task, props.children, -1);
5141
+ task.keyPath = prevKeyPath$jscomp$2;
5142
+ }
5143
+ } else if ("hidden" !== props.mode) {
5144
+ segment$jscomp$0.chunks.push(startActivityBoundary);
5145
+ segment$jscomp$0.lastPushedText = !1;
5146
+ var prevKeyPath$47 = task.keyPath;
5147
+ task.keyPath = keyPath;
5148
+ renderNode(request, task, props.children, -1);
5149
+ task.keyPath = prevKeyPath$47;
5150
+ segment$jscomp$0.chunks.push(endActivityBoundary);
5151
+ segment$jscomp$0.lastPushedText = !1;
5152
+ }
4922
5153
  return;
4923
5154
  case REACT_SUSPENSE_LIST_TYPE:
4924
5155
  a: {
4925
- type = props.children;
4926
- props = props.revealOrder;
4927
- if (
4928
- "forwards" === props ||
4929
- "backwards" === props ||
4930
- "unstable_legacy-backwards" === props
4931
- ) {
4932
- if (isArrayImpl(type)) {
4933
- renderSuspenseListRows(request, task, keyPath, type, props);
5156
+ var children$jscomp$0 = props.children,
5157
+ revealOrder = props.revealOrder;
5158
+ if ("independent" !== revealOrder && "together" !== revealOrder) {
5159
+ if (isArrayImpl(children$jscomp$0)) {
5160
+ renderSuspenseListRows(
5161
+ request,
5162
+ task,
5163
+ keyPath,
5164
+ children$jscomp$0,
5165
+ revealOrder
5166
+ );
4934
5167
  break a;
4935
5168
  }
4936
- if ((newProps = getIteratorFn(type)))
4937
- if ((newProps = newProps.call(type))) {
4938
- defaultProps = newProps.next();
4939
- if (!defaultProps.done) {
4940
- do defaultProps = newProps.next();
4941
- while (!defaultProps.done);
4942
- renderSuspenseListRows(request, task, keyPath, type, props);
5169
+ var iteratorFn = getIteratorFn(children$jscomp$0);
5170
+ if (iteratorFn) {
5171
+ var iterator = iteratorFn.call(children$jscomp$0);
5172
+ if (iterator) {
5173
+ var step = iterator.next();
5174
+ if (!step.done) {
5175
+ do step = iterator.next();
5176
+ while (!step.done);
5177
+ renderSuspenseListRows(
5178
+ request,
5179
+ task,
5180
+ keyPath,
5181
+ children$jscomp$0,
5182
+ revealOrder
5183
+ );
4943
5184
  }
4944
5185
  break a;
4945
5186
  }
5187
+ }
5188
+ }
5189
+ if ("together" === revealOrder) {
5190
+ var prevKeyPath$41 = task.keyPath,
5191
+ prevRow = task.row,
5192
+ newRow = (task.row = createSuspenseListRow(null));
5193
+ newRow.boundaries = [];
5194
+ newRow.together = !0;
5195
+ task.keyPath = keyPath;
5196
+ renderNodeDestructive(request, task, children$jscomp$0, -1);
5197
+ 0 === --newRow.pendingTasks &&
5198
+ finishSuspenseListRow(request, newRow);
5199
+ task.keyPath = prevKeyPath$41;
5200
+ task.row = prevRow;
5201
+ null !== prevRow &&
5202
+ 0 < newRow.pendingTasks &&
5203
+ (prevRow.pendingTasks++, (newRow.next = prevRow));
5204
+ } else {
5205
+ var prevKeyPath$jscomp$3 = task.keyPath;
5206
+ task.keyPath = keyPath;
5207
+ renderNodeDestructive(request, task, children$jscomp$0, -1);
5208
+ task.keyPath = prevKeyPath$jscomp$3;
4946
5209
  }
4947
- "together" === props
4948
- ? ((props = task.keyPath),
4949
- (newProps = task.row),
4950
- (defaultProps = task.row = createSuspenseListRow(null)),
4951
- (defaultProps.boundaries = []),
4952
- (defaultProps.together = !0),
4953
- (task.keyPath = keyPath),
4954
- renderNodeDestructive(request, task, type, -1),
4955
- 0 === --defaultProps.pendingTasks &&
4956
- finishSuspenseListRow(request, defaultProps),
4957
- (task.keyPath = props),
4958
- (task.row = newProps),
4959
- null !== newProps &&
4960
- 0 < defaultProps.pendingTasks &&
4961
- (newProps.pendingTasks++, (defaultProps.next = newProps)))
4962
- : ((props = task.keyPath),
4963
- (task.keyPath = keyPath),
4964
- renderNodeDestructive(request, task, type, -1),
4965
- (task.keyPath = props));
4966
5210
  }
4967
5211
  return;
4968
5212
  case REACT_VIEW_TRANSITION_TYPE:
5213
+ var prevContext$jscomp$0 = task.formatContext,
5214
+ prevKeyPath$jscomp$4 = task.keyPath;
5215
+ var resumableState$jscomp$0 = request.resumableState;
5216
+ if (null != props.name && "auto" !== props.name)
5217
+ var JSCompiler_inline_result$jscomp$2 = props.name;
5218
+ else {
5219
+ var treeId = getTreeId(task.treeContext);
5220
+ JSCompiler_inline_result$jscomp$2 = makeId(
5221
+ resumableState$jscomp$0,
5222
+ treeId,
5223
+ 0
5224
+ );
5225
+ }
5226
+ var autoName = JSCompiler_inline_result$jscomp$2,
5227
+ resumableState$jscomp$1 = request.resumableState,
5228
+ update = getViewTransitionClassName(props.default, props.update),
5229
+ enter = getViewTransitionClassName(props.default, props.enter),
5230
+ exit = getViewTransitionClassName(props.default, props.exit),
5231
+ share = getViewTransitionClassName(props.default, props.share),
5232
+ name = props.name;
5233
+ null == update && (update = "auto");
5234
+ null == enter && (enter = "auto");
5235
+ null == exit && (exit = "auto");
5236
+ if (null == name) {
5237
+ var parentViewTransition = prevContext$jscomp$0.viewTransition;
5238
+ null !== parentViewTransition
5239
+ ? ((name = parentViewTransition.name),
5240
+ (share = parentViewTransition.share))
5241
+ : ((name = "auto"), (share = "none"));
5242
+ } else
5243
+ null == share && (share = "auto"),
5244
+ prevContext$jscomp$0.tagScope & 4 &&
5245
+ (resumableState$jscomp$1.instructions |= 128);
5246
+ prevContext$jscomp$0.tagScope & 8
5247
+ ? (resumableState$jscomp$1.instructions |= 128)
5248
+ : (exit = "none");
5249
+ prevContext$jscomp$0.tagScope & 16
5250
+ ? (resumableState$jscomp$1.instructions |= 128)
5251
+ : (enter = "none");
5252
+ var viewTransition = {
5253
+ update: update,
5254
+ enter: enter,
5255
+ exit: exit,
5256
+ share: share,
5257
+ parentEnter: "none",
5258
+ parentExit: "none",
5259
+ name: name,
5260
+ autoName: autoName,
5261
+ nameIdx: 0
5262
+ },
5263
+ subtreeScope = prevContext$jscomp$0.tagScope & -25;
5264
+ subtreeScope =
5265
+ "none" !== update ? subtreeScope | 32 : subtreeScope & -33;
5266
+ "none" !== enter && (subtreeScope |= 64);
5267
+ var JSCompiler_inline_result$jscomp$3 = createFormatContext(
5268
+ prevContext$jscomp$0.insertionMode,
5269
+ prevContext$jscomp$0.selectedValue,
5270
+ subtreeScope,
5271
+ viewTransition
5272
+ );
5273
+ task.formatContext = JSCompiler_inline_result$jscomp$3;
5274
+ task.keyPath = keyPath;
5275
+ if (null != props.name && "auto" !== props.name)
5276
+ renderNodeDestructive(request, task, props.children, -1);
5277
+ else {
5278
+ var prevTreeContext = task.treeContext;
5279
+ task.treeContext = pushTreeContext(prevTreeContext, 1, 0);
5280
+ renderNode(request, task, props.children, -1);
5281
+ task.treeContext = prevTreeContext;
5282
+ }
5283
+ task.formatContext = prevContext$jscomp$0;
5284
+ task.keyPath = prevKeyPath$jscomp$4;
5285
+ return;
4969
5286
  case REACT_SCOPE_TYPE:
4970
5287
  throw Error("ReactDOMServer does not yet support scope components.");
4971
5288
  case REACT_SUSPENSE_TYPE:
4972
5289
  a: if (null !== task.replay) {
4973
- type = task.keyPath;
4974
- newProps = task.formatContext;
4975
- defaultProps = task.row;
5290
+ var prevKeyPath$27 = task.keyPath,
5291
+ prevContext$28 = task.formatContext,
5292
+ prevRow$29 = task.row;
4976
5293
  task.keyPath = keyPath;
4977
5294
  task.formatContext = getSuspenseContentFormatContext(
4978
5295
  request.resumableState,
4979
- newProps
5296
+ prevContext$28
4980
5297
  );
4981
5298
  task.row = null;
4982
- keyPath = props.children;
5299
+ var content$30 = props.children;
4983
5300
  try {
4984
- renderNode(request, task, keyPath, -1);
5301
+ renderNode(request, task, content$30, -1);
4985
5302
  } finally {
4986
- (task.keyPath = type),
4987
- (task.formatContext = newProps),
4988
- (task.row = defaultProps);
5303
+ (task.keyPath = prevKeyPath$27),
5304
+ (task.formatContext = prevContext$28),
5305
+ (task.row = prevRow$29);
4989
5306
  }
4990
5307
  } else {
4991
- type = task.keyPath;
4992
- ref = task.formatContext;
4993
- var prevRow = task.row;
4994
- propName$44 = task.blockedBoundary;
4995
- propName = task.blockedPreamble;
4996
- var parentHoistableState = task.hoistableState,
5308
+ var prevKeyPath$jscomp$5 = task.keyPath,
5309
+ prevContext$jscomp$1 = task.formatContext,
5310
+ prevRow$jscomp$0 = task.row,
5311
+ parentBoundary = task.blockedBoundary,
5312
+ parentPreamble = task.blockedPreamble,
5313
+ parentHoistableState = task.hoistableState,
4997
5314
  parentSegment = task.blockedSegment,
4998
- fallback = props.fallback;
4999
- props = props.children;
5000
- var fallbackAbortSet = new Set();
5001
- var newBoundary =
5002
- 2 > task.formatContext.insertionMode
5003
- ? createSuspenseBoundary(
5004
- request,
5005
- task.row,
5006
- fallbackAbortSet,
5007
- createPreambleState(),
5008
- createPreambleState()
5009
- )
5010
- : createSuspenseBoundary(
5011
- request,
5012
- task.row,
5013
- fallbackAbortSet,
5014
- null,
5015
- null
5016
- );
5017
- null !== request.trackedPostpones &&
5018
- (newBoundary.trackedContentKeyPath = keyPath);
5019
- var boundarySegment = createPendingSegment(
5020
- request,
5021
- parentSegment.chunks.length,
5022
- newBoundary,
5023
- task.formatContext,
5024
- !1,
5025
- !1
5026
- );
5315
+ fallback = props.fallback,
5316
+ content = props.children,
5317
+ fallbackAbortSet = new Set(),
5318
+ newBoundary = createSuspenseBoundary(
5319
+ request,
5320
+ task.row,
5321
+ fallbackAbortSet,
5322
+ 2 > task.formatContext.insertionMode
5323
+ ? {
5324
+ content: createPreambleState(),
5325
+ fallback: createPreambleState()
5326
+ }
5327
+ : null,
5328
+ !1
5329
+ ),
5330
+ boundarySegment = createPendingSegment(
5331
+ request,
5332
+ parentSegment.chunks.length,
5333
+ newBoundary,
5334
+ task.formatContext,
5335
+ !1,
5336
+ !1
5337
+ );
5027
5338
  parentSegment.children.push(boundarySegment);
5028
5339
  parentSegment.lastPushedText = !1;
5029
5340
  var contentRootSegment = createPendingSegment(
@@ -5035,48 +5346,68 @@ function renderElement(request, task, keyPath, type, props, ref) {
5035
5346
  !1
5036
5347
  );
5037
5348
  contentRootSegment.parentFlushed = !0;
5038
- if (null !== request.trackedPostpones) {
5039
- newProps = task.componentStack;
5040
- defaultProps = [keyPath[0], "Suspense Fallback", keyPath[2]];
5041
- initialState = [defaultProps[1], defaultProps[2], [], null];
5042
- request.trackedPostpones.workingMap.set(defaultProps, initialState);
5043
- newBoundary.trackedFallbackNode = initialState;
5349
+ var trackedPostpones = request.trackedPostpones;
5350
+ if (null !== trackedPostpones) {
5351
+ var suspenseComponentStack = task.componentStack,
5352
+ fallbackKeyPath = [keyPath[0], "Suspense Fallback", keyPath[2]];
5353
+ if (null !== trackedPostpones) {
5354
+ var fallbackReplayNode = [
5355
+ fallbackKeyPath[1],
5356
+ fallbackKeyPath[2],
5357
+ [],
5358
+ null
5359
+ ];
5360
+ trackedPostpones.workingMap.set(
5361
+ fallbackKeyPath,
5362
+ fallbackReplayNode
5363
+ );
5364
+ newBoundary.tracked = {
5365
+ contentKeyPath: keyPath,
5366
+ fallbackNode: fallbackReplayNode
5367
+ };
5368
+ }
5044
5369
  task.blockedSegment = boundarySegment;
5045
- task.blockedPreamble = newBoundary.fallbackPreamble;
5046
- task.keyPath = defaultProps;
5370
+ task.blockedPreamble =
5371
+ null === newBoundary.preamble
5372
+ ? null
5373
+ : newBoundary.preamble.fallback;
5374
+ task.keyPath = fallbackKeyPath;
5047
5375
  task.formatContext = getSuspenseFallbackFormatContext(
5048
5376
  request.resumableState,
5049
- ref
5377
+ prevContext$jscomp$1
5050
5378
  );
5051
5379
  task.componentStack =
5052
- replaceSuspenseComponentStackWithSuspenseFallbackStack(newProps);
5053
- boundarySegment.status = 6;
5380
+ replaceSuspenseComponentStackWithSuspenseFallbackStack(
5381
+ suspenseComponentStack
5382
+ );
5054
5383
  try {
5055
5384
  renderNode(request, task, fallback, -1),
5056
5385
  boundarySegment.lastPushedText &&
5057
5386
  boundarySegment.textEmbedded &&
5058
5387
  boundarySegment.chunks.push(textSeparator),
5059
5388
  (boundarySegment.status = 1),
5060
- finishedSegment(request, propName$44, boundarySegment);
5389
+ finishedSegment(request, parentBoundary, boundarySegment);
5061
5390
  } catch (thrownValue) {
5062
5391
  throw (
5063
- ((boundarySegment.status = 12 === request.status ? 3 : 4),
5392
+ ((boundarySegment.status = request.aborted ? 3 : 4),
5064
5393
  thrownValue)
5065
5394
  );
5066
5395
  } finally {
5067
5396
  (task.blockedSegment = parentSegment),
5068
- (task.blockedPreamble = propName),
5069
- (task.keyPath = type),
5070
- (task.formatContext = ref);
5397
+ (task.blockedPreamble = parentPreamble),
5398
+ (task.keyPath = prevKeyPath$jscomp$5),
5399
+ (task.formatContext = prevContext$jscomp$1);
5071
5400
  }
5072
- task = createRenderTask(
5401
+ var suspendedPrimaryTask = createRenderTask(
5073
5402
  request,
5074
5403
  null,
5075
- props,
5404
+ content,
5076
5405
  -1,
5077
5406
  newBoundary,
5078
5407
  contentRootSegment,
5079
- newBoundary.contentPreamble,
5408
+ null === newBoundary.preamble
5409
+ ? null
5410
+ : newBoundary.preamble.content,
5080
5411
  newBoundary.contentState,
5081
5412
  task.abortSet,
5082
5413
  keyPath,
@@ -5087,25 +5418,27 @@ function renderElement(request, task, keyPath, type, props, ref) {
5087
5418
  task.context,
5088
5419
  task.treeContext,
5089
5420
  null,
5090
- newProps
5421
+ suspenseComponentStack
5091
5422
  );
5092
- pushComponentStack(task);
5093
- request.pingedTasks.push(task);
5423
+ pushComponentStack(suspendedPrimaryTask);
5424
+ request.pingedTasks.push(suspendedPrimaryTask);
5094
5425
  } else {
5095
5426
  task.blockedBoundary = newBoundary;
5096
- task.blockedPreamble = newBoundary.contentPreamble;
5427
+ task.blockedPreamble =
5428
+ null === newBoundary.preamble
5429
+ ? null
5430
+ : newBoundary.preamble.content;
5097
5431
  task.hoistableState = newBoundary.contentState;
5098
5432
  task.blockedSegment = contentRootSegment;
5099
5433
  task.keyPath = keyPath;
5100
5434
  task.formatContext = getSuspenseContentFormatContext(
5101
5435
  request.resumableState,
5102
- ref
5436
+ prevContext$jscomp$1
5103
5437
  );
5104
5438
  task.row = null;
5105
- contentRootSegment.status = 6;
5106
5439
  try {
5107
5440
  if (
5108
- (renderNode(request, task, props, -1),
5441
+ (renderNode(request, task, content, -1),
5109
5442
  contentRootSegment.lastPushedText &&
5110
5443
  contentRootSegment.textEmbedded &&
5111
5444
  contentRootSegment.chunks.push(textSeparator),
@@ -5118,50 +5451,47 @@ function renderElement(request, task, keyPath, type, props, ref) {
5118
5451
  ((newBoundary.status = 1),
5119
5452
  !isEligibleForOutlining(request, newBoundary))
5120
5453
  ) {
5121
- null !== prevRow &&
5122
- 0 === --prevRow.pendingTasks &&
5123
- finishSuspenseListRow(request, prevRow);
5454
+ null !== prevRow$jscomp$0 &&
5455
+ 0 === --prevRow$jscomp$0.pendingTasks &&
5456
+ finishSuspenseListRow(request, prevRow$jscomp$0);
5124
5457
  0 === request.pendingRootTasks &&
5125
5458
  task.blockedPreamble &&
5126
5459
  preparePreamble(request);
5127
5460
  break a;
5128
5461
  }
5129
5462
  } else
5130
- null !== prevRow &&
5131
- prevRow.together &&
5132
- tryToResolveTogetherRow(request, prevRow);
5463
+ null !== prevRow$jscomp$0 &&
5464
+ prevRow$jscomp$0.together &&
5465
+ tryToResolveTogetherRow(request, prevRow$jscomp$0);
5133
5466
  } catch (thrownValue$31) {
5134
- (newBoundary.status = 4),
5135
- 12 === request.status
5136
- ? ((contentRootSegment.status = 3),
5137
- (newProps = request.fatalError))
5138
- : ((contentRootSegment.status = 4),
5139
- (newProps = thrownValue$31)),
5140
- (defaultProps = getThrownInfo(task.componentStack)),
5141
- (initialState = logRecoverableError(
5142
- request,
5143
- newProps,
5144
- defaultProps
5145
- )),
5146
- (newBoundary.errorDigest = initialState),
5147
- untrackBoundary(request, newBoundary);
5467
+ newBoundary.status = 4;
5468
+ if (request.aborted) {
5469
+ contentRootSegment.status = 3;
5470
+ var error = request.fatalError;
5471
+ } else (contentRootSegment.status = 4), (error = thrownValue$31);
5472
+ var thrownInfo = getThrownInfo(task.componentStack),
5473
+ errorDigest = logRecoverableError(request, error, thrownInfo);
5474
+ newBoundary.errorDigest = errorDigest;
5475
+ untrackBoundary(request, newBoundary);
5148
5476
  } finally {
5149
- (task.blockedBoundary = propName$44),
5150
- (task.blockedPreamble = propName),
5477
+ (task.blockedBoundary = parentBoundary),
5478
+ (task.blockedPreamble = parentPreamble),
5151
5479
  (task.hoistableState = parentHoistableState),
5152
5480
  (task.blockedSegment = parentSegment),
5153
- (task.keyPath = type),
5154
- (task.formatContext = ref),
5155
- (task.row = prevRow);
5481
+ (task.keyPath = prevKeyPath$jscomp$5),
5482
+ (task.formatContext = prevContext$jscomp$1),
5483
+ (task.row = prevRow$jscomp$0);
5156
5484
  }
5157
- task = createRenderTask(
5485
+ var suspendedFallbackTask = createRenderTask(
5158
5486
  request,
5159
5487
  null,
5160
5488
  fallback,
5161
5489
  -1,
5162
- propName$44,
5490
+ parentBoundary,
5163
5491
  boundarySegment,
5164
- newBoundary.fallbackPreamble,
5492
+ null === newBoundary.preamble
5493
+ ? null
5494
+ : newBoundary.preamble.fallback,
5165
5495
  newBoundary.fallbackState,
5166
5496
  fallbackAbortSet,
5167
5497
  [keyPath[0], "Suspense Fallback", keyPath[2]],
@@ -5176,8 +5506,8 @@ function renderElement(request, task, keyPath, type, props, ref) {
5176
5506
  task.componentStack
5177
5507
  )
5178
5508
  );
5179
- pushComponentStack(task);
5180
- request.pingedTasks.push(task);
5509
+ pushComponentStack(suspendedFallbackTask);
5510
+ request.pingedTasks.push(suspendedFallbackTask);
5181
5511
  }
5182
5512
  }
5183
5513
  return;
@@ -5185,24 +5515,24 @@ function renderElement(request, task, keyPath, type, props, ref) {
5185
5515
  if ("object" === typeof type && null !== type)
5186
5516
  switch (type.$$typeof) {
5187
5517
  case REACT_FORWARD_REF_TYPE:
5188
- if ("ref" in props)
5189
- for (parentSegment in ((newProps = {}), props))
5190
- "ref" !== parentSegment &&
5191
- (newProps[parentSegment] = props[parentSegment]);
5192
- else newProps = props;
5193
- type = renderWithHooks(
5518
+ if ("ref" in props) {
5519
+ var propsWithoutRef = {};
5520
+ for (var key in props)
5521
+ "ref" !== key && (propsWithoutRef[key] = props[key]);
5522
+ } else propsWithoutRef = props;
5523
+ var children$jscomp$1 = renderWithHooks(
5194
5524
  request,
5195
5525
  task,
5196
5526
  keyPath,
5197
5527
  type.render,
5198
- newProps,
5528
+ propsWithoutRef,
5199
5529
  ref
5200
5530
  );
5201
5531
  finishFunctionComponent(
5202
5532
  request,
5203
5533
  task,
5204
5534
  keyPath,
5205
- type,
5535
+ children$jscomp$1,
5206
5536
  0 !== localIdCounter,
5207
5537
  actionStateCounter,
5208
5538
  actionStateMatchingIndex
@@ -5212,45 +5542,47 @@ function renderElement(request, task, keyPath, type, props, ref) {
5212
5542
  renderElement(request, task, keyPath, type.type, props, ref);
5213
5543
  return;
5214
5544
  case REACT_CONTEXT_TYPE:
5215
- defaultProps = props.children;
5216
- newProps = task.keyPath;
5217
- props = props.value;
5218
- initialState = type._currentValue;
5219
- type._currentValue = props;
5220
- ref = currentActiveSnapshot;
5221
- currentActiveSnapshot = type = {
5222
- parent: ref,
5223
- depth: null === ref ? 0 : ref.depth + 1,
5224
- context: type,
5225
- parentValue: initialState,
5226
- value: props
5227
- };
5228
- task.context = type;
5545
+ var children$jscomp$2 = props.children,
5546
+ prevKeyPath$jscomp$6 = task.keyPath,
5547
+ nextValue = props.value;
5548
+ var prevValue = type._currentValue;
5549
+ type._currentValue = nextValue;
5550
+ var prevNode = currentActiveSnapshot,
5551
+ newNode = {
5552
+ parent: prevNode,
5553
+ depth: null === prevNode ? 0 : prevNode.depth + 1,
5554
+ context: type,
5555
+ parentValue: prevValue,
5556
+ value: nextValue
5557
+ };
5558
+ currentActiveSnapshot = newNode;
5559
+ task.context = newNode;
5229
5560
  task.keyPath = keyPath;
5230
- renderNodeDestructive(request, task, defaultProps, -1);
5231
- request = currentActiveSnapshot;
5232
- if (null === request)
5561
+ renderNodeDestructive(request, task, children$jscomp$2, -1);
5562
+ var prevSnapshot = currentActiveSnapshot;
5563
+ if (null === prevSnapshot)
5233
5564
  throw Error(
5234
5565
  "Tried to pop a Context at the root of the app. This is a bug in React."
5235
5566
  );
5236
- request.context._currentValue = request.parentValue;
5237
- request = currentActiveSnapshot = request.parent;
5238
- task.context = request;
5239
- task.keyPath = newProps;
5567
+ prevSnapshot.context._currentValue = prevSnapshot.parentValue;
5568
+ var JSCompiler_inline_result$jscomp$4 = (currentActiveSnapshot =
5569
+ prevSnapshot.parent);
5570
+ task.context = JSCompiler_inline_result$jscomp$4;
5571
+ task.keyPath = prevKeyPath$jscomp$6;
5240
5572
  return;
5241
5573
  case REACT_CONSUMER_TYPE:
5242
- props = props.children;
5243
- type = props(type._context._currentValue);
5244
- props = task.keyPath;
5574
+ var render = props.children,
5575
+ newChildren = render(type._context._currentValue),
5576
+ prevKeyPath$jscomp$7 = task.keyPath;
5245
5577
  task.keyPath = keyPath;
5246
- renderNodeDestructive(request, task, type, -1);
5247
- task.keyPath = props;
5578
+ renderNodeDestructive(request, task, newChildren, -1);
5579
+ task.keyPath = prevKeyPath$jscomp$7;
5248
5580
  return;
5249
5581
  case REACT_LAZY_TYPE:
5250
- newProps = type._init;
5251
- type = newProps(type._payload);
5252
- if (12 === request.status) throw null;
5253
- renderElement(request, task, keyPath, type, props, ref);
5582
+ var init = type._init;
5583
+ var Component = init(type._payload);
5584
+ if (request.aborted) throw null;
5585
+ renderElement(request, task, keyPath, Component, props, ref);
5254
5586
  return;
5255
5587
  }
5256
5588
  throw Error(
@@ -5311,7 +5643,11 @@ function retryNode(request, task) {
5311
5643
  var ref = void 0 !== node ? node : null,
5312
5644
  name = getComponentNameFromType(type),
5313
5645
  keyOrIndex =
5314
- null == key ? (-1 === childIndex ? 0 : childIndex) : key;
5646
+ null == key || key === REACT_OPTIMISTIC_KEY
5647
+ ? -1 === childIndex
5648
+ ? 0
5649
+ : childIndex
5650
+ : key;
5315
5651
  key = [task.keyPath, name, keyOrIndex];
5316
5652
  if (null !== task.replay)
5317
5653
  a: {
@@ -5329,12 +5665,12 @@ function retryNode(request, task) {
5329
5665
  name +
5330
5666
  ">. The tree doesn't match so React will fallback to client rendering."
5331
5667
  );
5332
- var childNodes = node$jscomp$0[2];
5333
- name = node$jscomp$0[3];
5334
- keyOrIndex = task.node;
5668
+ var childNodes = node$jscomp$0[2],
5669
+ childSlots = node$jscomp$0[3],
5670
+ currentNode = task.node;
5335
5671
  task.replay = {
5336
5672
  nodes: childNodes,
5337
- slots: name,
5673
+ slots: childSlots,
5338
5674
  pendingTasks: 1
5339
5675
  };
5340
5676
  try {
@@ -5352,27 +5688,28 @@ function retryNode(request, task) {
5352
5688
  "object" === typeof x &&
5353
5689
  null !== x &&
5354
5690
  (x === SuspenseException ||
5355
- "function" === typeof x.then)
5691
+ "function" === typeof x.then ||
5692
+ "Maximum call stack size exceeded" === x.message)
5356
5693
  )
5357
5694
  throw (
5358
- (task.node === keyOrIndex
5695
+ (task.node === currentNode
5359
5696
  ? (task.replay = replay)
5360
5697
  : childIndex.splice(node, 1),
5361
5698
  x)
5362
5699
  );
5363
5700
  task.replay.pendingTasks--;
5364
- props = getThrownInfo(task.componentStack);
5365
- key = request;
5366
- request = task.blockedBoundary;
5367
- type = x;
5368
- props = logRecoverableError(key, type, props);
5701
+ key = getThrownInfo(task.componentStack);
5702
+ currentNode = request;
5703
+ props = task.blockedBoundary;
5704
+ request = request.aborted ? request.fatalError : x;
5705
+ key = logRecoverableError(currentNode, request, key);
5369
5706
  abortRemainingReplayNodes(
5370
- key,
5371
- request,
5707
+ currentNode,
5708
+ props,
5372
5709
  childNodes,
5373
- name,
5374
- type,
5375
- props
5710
+ childSlots,
5711
+ request,
5712
+ key
5376
5713
  );
5377
5714
  }
5378
5715
  task.replay = replay;
@@ -5384,43 +5721,38 @@ function retryNode(request, task) {
5384
5721
  ">. The tree doesn't match so React will fallback to client rendering."
5385
5722
  );
5386
5723
  b: {
5387
- replay = void 0;
5388
- type = node$jscomp$0[5];
5389
- ref = node$jscomp$0[2];
5390
- name = node$jscomp$0[3];
5391
- keyOrIndex =
5724
+ replay = node$jscomp$0[5];
5725
+ type = node$jscomp$0[2];
5726
+ ref = node$jscomp$0[3];
5727
+ name =
5392
5728
  null === node$jscomp$0[4] ? [] : node$jscomp$0[4][2];
5393
5729
  node$jscomp$0 =
5394
5730
  null === node$jscomp$0[4] ? null : node$jscomp$0[4][3];
5395
- var prevKeyPath = task.keyPath,
5396
- prevContext = task.formatContext,
5731
+ keyOrIndex = task.keyPath;
5732
+ var prevContext = task.formatContext,
5397
5733
  prevRow = task.row,
5398
5734
  previousReplaySet = task.replay,
5399
5735
  parentBoundary = task.blockedBoundary,
5400
5736
  parentHoistableState = task.hoistableState,
5401
- content = props.children,
5402
- fallback = props.fallback,
5403
- fallbackAbortSet = new Set();
5404
- props =
5405
- 2 > task.formatContext.insertionMode
5406
- ? createSuspenseBoundary(
5407
- request,
5408
- task.row,
5409
- fallbackAbortSet,
5410
- createPreambleState(),
5411
- createPreambleState()
5412
- )
5413
- : createSuspenseBoundary(
5414
- request,
5415
- task.row,
5416
- fallbackAbortSet,
5417
- null,
5418
- null
5419
- );
5420
- props.parentFlushed = !0;
5421
- props.rootSegmentID = type;
5422
- task.blockedBoundary = props;
5423
- task.hoistableState = props.contentState;
5737
+ content = props.children;
5738
+ props = props.fallback;
5739
+ var fallbackAbortSet = new Set(),
5740
+ resumedBoundary = createSuspenseBoundary(
5741
+ request,
5742
+ task.row,
5743
+ fallbackAbortSet,
5744
+ 2 > task.formatContext.insertionMode
5745
+ ? {
5746
+ content: createPreambleState(),
5747
+ fallback: createPreambleState()
5748
+ }
5749
+ : null,
5750
+ !1
5751
+ );
5752
+ resumedBoundary.parentFlushed = !0;
5753
+ resumedBoundary.rootSegmentID = replay;
5754
+ task.blockedBoundary = resumedBoundary;
5755
+ task.hoistableState = resumedBoundary.contentState;
5424
5756
  task.keyPath = key;
5425
5757
  task.formatContext = getSuspenseContentFormatContext(
5426
5758
  request.resumableState,
@@ -5428,8 +5760,8 @@ function retryNode(request, task) {
5428
5760
  );
5429
5761
  task.row = null;
5430
5762
  task.replay = {
5431
- nodes: ref,
5432
- slots: name,
5763
+ nodes: type,
5764
+ slots: ref,
5433
5765
  pendingTasks: 1
5434
5766
  };
5435
5767
  try {
@@ -5442,42 +5774,46 @@ function retryNode(request, task) {
5442
5774
  "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
5443
5775
  );
5444
5776
  task.replay.pendingTasks--;
5445
- if (0 === props.pendingTasks && 0 === props.status) {
5446
- props.status = 1;
5447
- request.completedBoundaries.push(props);
5777
+ if (
5778
+ 0 === resumedBoundary.pendingTasks &&
5779
+ 0 === resumedBoundary.status
5780
+ ) {
5781
+ resumedBoundary.status = 1;
5782
+ request.completedBoundaries.push(resumedBoundary);
5448
5783
  break b;
5449
5784
  }
5450
- } catch (error) {
5451
- (props.status = 4),
5452
- (childNodes = getThrownInfo(task.componentStack)),
5453
- (replay = logRecoverableError(
5785
+ } catch (thrownValue) {
5786
+ (resumedBoundary.status = 4),
5787
+ (childNodes = request.aborted
5788
+ ? request.fatalError
5789
+ : thrownValue),
5790
+ (childSlots = getThrownInfo(task.componentStack)),
5791
+ (currentNode = logRecoverableError(
5454
5792
  request,
5455
- error,
5456
- childNodes
5793
+ childNodes,
5794
+ childSlots
5457
5795
  )),
5458
- (props.errorDigest = replay),
5796
+ (resumedBoundary.errorDigest = currentNode),
5459
5797
  task.replay.pendingTasks--,
5460
- request.clientRenderedBoundaries.push(props);
5798
+ request.clientRenderedBoundaries.push(
5799
+ resumedBoundary
5800
+ );
5461
5801
  } finally {
5462
5802
  (task.blockedBoundary = parentBoundary),
5463
5803
  (task.hoistableState = parentHoistableState),
5464
5804
  (task.replay = previousReplaySet),
5465
- (task.keyPath = prevKeyPath),
5805
+ (task.keyPath = keyOrIndex),
5466
5806
  (task.formatContext = prevContext),
5467
5807
  (task.row = prevRow);
5468
5808
  }
5469
5809
  childNodes = createReplayTask(
5470
5810
  request,
5471
5811
  null,
5472
- {
5473
- nodes: keyOrIndex,
5474
- slots: node$jscomp$0,
5475
- pendingTasks: 0
5476
- },
5477
- fallback,
5812
+ { nodes: name, slots: node$jscomp$0, pendingTasks: 0 },
5813
+ props,
5478
5814
  -1,
5479
5815
  parentBoundary,
5480
- props.fallbackState,
5816
+ resumedBoundary.fallbackState,
5481
5817
  fallbackAbortSet,
5482
5818
  [key[0], "Suspense Fallback", key[2]],
5483
5819
  getSuspenseFallbackFormatContext(
@@ -5509,7 +5845,7 @@ function retryNode(request, task) {
5509
5845
  case REACT_LAZY_TYPE:
5510
5846
  childNodes = node._init;
5511
5847
  node = childNodes(node._payload);
5512
- if (12 === request.status) throw null;
5848
+ if (request.aborted) throw null;
5513
5849
  renderNodeDestructive(request, task, node, childIndex);
5514
5850
  return;
5515
5851
  }
@@ -5521,10 +5857,10 @@ function retryNode(request, task) {
5521
5857
  if ((childNodes = childNodes.call(node))) {
5522
5858
  node = childNodes.next();
5523
5859
  if (!node.done) {
5524
- props = [];
5525
- do props.push(node.value), (node = childNodes.next());
5860
+ childSlots = [];
5861
+ do childSlots.push(node.value), (node = childNodes.next());
5526
5862
  while (!node.done);
5527
- renderChildrenArray(request, task, props, childIndex);
5863
+ renderChildrenArray(request, task, childSlots, childIndex);
5528
5864
  }
5529
5865
  return;
5530
5866
  }
@@ -5601,17 +5937,18 @@ function renderChildrenArray(request, task, children, childIndex) {
5601
5937
  )
5602
5938
  throw x;
5603
5939
  task.replay.pendingTasks--;
5604
- children = getThrownInfo(task.componentStack);
5605
- var boundary = task.blockedBoundary,
5606
- error = x;
5607
- children = logRecoverableError(request, error, children);
5940
+ var thrownInfo = getThrownInfo(task.componentStack);
5941
+ children = request;
5942
+ var boundary = task.blockedBoundary;
5943
+ request = request.aborted ? request.fatalError : x;
5944
+ thrownInfo = logRecoverableError(children, request, thrownInfo);
5608
5945
  abortRemainingReplayNodes(
5609
- request,
5946
+ children,
5610
5947
  boundary,
5611
5948
  childIndex,
5612
5949
  node,
5613
- error,
5614
- children
5950
+ request,
5951
+ thrownInfo
5615
5952
  );
5616
5953
  }
5617
5954
  task.replay = replay;
@@ -5650,13 +5987,18 @@ function renderChildrenArray(request, task, children, childIndex) {
5650
5987
  function trackPostponedBoundary(request, trackedPostpones, boundary) {
5651
5988
  boundary.status = 5;
5652
5989
  boundary.rootSegmentID = request.nextSegmentId++;
5653
- request = boundary.trackedContentKeyPath;
5990
+ var tracked = boundary.tracked;
5991
+ if (null === tracked)
5992
+ throw Error(
5993
+ "It should not be possible to postpone at the root. This is a bug in React."
5994
+ );
5995
+ request = tracked.contentKeyPath;
5654
5996
  if (null === request)
5655
5997
  throw Error(
5656
5998
  "It should not be possible to postpone at the root. This is a bug in React."
5657
5999
  );
5658
- var fallbackReplayNode = boundary.trackedFallbackNode,
5659
- children = [],
6000
+ tracked = tracked.fallbackNode;
6001
+ var children = [],
5660
6002
  boundaryNode = trackedPostpones.workingMap.get(request);
5661
6003
  if (void 0 === boundaryNode)
5662
6004
  return (
@@ -5665,14 +6007,14 @@ function trackPostponedBoundary(request, trackedPostpones, boundary) {
5665
6007
  request[2],
5666
6008
  children,
5667
6009
  null,
5668
- fallbackReplayNode,
6010
+ tracked,
5669
6011
  boundary.rootSegmentID
5670
6012
  ]),
5671
6013
  trackedPostpones.workingMap.set(request, boundary),
5672
6014
  addToReplayParent(boundary, request[0], trackedPostpones),
5673
6015
  boundary
5674
6016
  );
5675
- boundaryNode[4] = fallbackReplayNode;
6017
+ boundaryNode[4] = tracked;
5676
6018
  boundaryNode[5] = boundary.rootSegmentID;
5677
6019
  return boundaryNode;
5678
6020
  }
@@ -5693,7 +6035,8 @@ function trackPostpone(request, trackedPostpones, task, segment) {
5693
6035
  boundary
5694
6036
  );
5695
6037
  if (
5696
- boundary.trackedContentKeyPath === keyPath &&
6038
+ null !== boundary.tracked &&
6039
+ boundary.tracked.contentKeyPath === keyPath &&
5697
6040
  -1 === task.childIndex
5698
6041
  ) {
5699
6042
  -1 === segment.id &&
@@ -5749,11 +6092,13 @@ function trackPostpone(request, trackedPostpones, task, segment) {
5749
6092
  function untrackBoundary(request, boundary) {
5750
6093
  request = request.trackedPostpones;
5751
6094
  null !== request &&
5752
- ((boundary = boundary.trackedContentKeyPath),
6095
+ ((boundary = boundary.tracked),
5753
6096
  null !== boundary &&
5754
- ((boundary = request.workingMap.get(boundary)),
5755
- void 0 !== boundary &&
5756
- ((boundary.length = 4), (boundary[2] = []), (boundary[3] = null))));
6097
+ ((boundary = boundary.contentKeyPath),
6098
+ null !== boundary &&
6099
+ ((request = request.workingMap.get(boundary)),
6100
+ void 0 !== request &&
6101
+ ((request.length = 4), (request[2] = []), (request[3] = null)))));
5757
6102
  }
5758
6103
  function spawnNewSuspendedReplayTask(request, task, thenableState) {
5759
6104
  return createReplayTask(
@@ -5821,7 +6166,7 @@ function renderNode(request, task, node, childIndex) {
5821
6166
  thrownValue === SuspenseException
5822
6167
  ? getSuspendedThenable()
5823
6168
  : thrownValue),
5824
- 12 !== request.status && "object" === typeof node && null !== node)
6169
+ !request.aborted && "object" === typeof node && null !== node)
5825
6170
  ) {
5826
6171
  if ("function" === typeof node.then) {
5827
6172
  childIndex =
@@ -5829,7 +6174,7 @@ function renderNode(request, task, node, childIndex) {
5829
6174
  ? getThenableStateAfterSuspending()
5830
6175
  : null;
5831
6176
  request = spawnNewSuspendedReplayTask(request, task, childIndex).ping;
5832
- node.then(request, request);
6177
+ node.then(request.resolve, request.reject);
5833
6178
  task.formatContext = previousFormatContext;
5834
6179
  task.context = previousContext;
5835
6180
  task.keyPath = previousKeyPath;
@@ -5862,25 +6207,25 @@ function renderNode(request, task, node, childIndex) {
5862
6207
  chunkLength = segment.chunks.length;
5863
6208
  try {
5864
6209
  return renderNodeDestructive(request, task, node, childIndex);
5865
- } catch (thrownValue$63) {
6210
+ } catch (thrownValue$64) {
5866
6211
  if (
5867
6212
  (resetHooksState(),
5868
6213
  (segment.children.length = childrenLength),
5869
6214
  (segment.chunks.length = chunkLength),
5870
6215
  (node =
5871
- thrownValue$63 === SuspenseException
6216
+ thrownValue$64 === SuspenseException
5872
6217
  ? getSuspendedThenable()
5873
- : thrownValue$63),
5874
- 12 !== request.status && "object" === typeof node && null !== node)
6218
+ : thrownValue$64),
6219
+ !request.aborted && "object" === typeof node && null !== node)
5875
6220
  ) {
5876
6221
  if ("function" === typeof node.then) {
5877
6222
  segment = node;
5878
6223
  node =
5879
- thrownValue$63 === SuspenseException
6224
+ thrownValue$64 === SuspenseException
5880
6225
  ? getThenableStateAfterSuspending()
5881
6226
  : null;
5882
6227
  request = spawnNewSuspendedRenderTask(request, task, node).ping;
5883
- segment.then(request, request);
6228
+ segment.then(request.resolve, request.reject);
5884
6229
  task.formatContext = previousFormatContext;
5885
6230
  task.context = previousContext;
5886
6231
  task.keyPath = previousKeyPath;
@@ -5891,7 +6236,7 @@ function renderNode(request, task, node, childIndex) {
5891
6236
  }
5892
6237
  if ("Maximum call stack size exceeded" === node.message) {
5893
6238
  segment =
5894
- thrownValue$63 === SuspenseException
6239
+ thrownValue$64 === SuspenseException
5895
6240
  ? getThenableStateAfterSuspending()
5896
6241
  : null;
5897
6242
  segment = spawnNewSuspendedRenderTask(request, task, segment);
@@ -5948,7 +6293,7 @@ function abortRemainingReplayNodes(
5948
6293
  null,
5949
6294
  new Set(),
5950
6295
  null,
5951
- null
6296
+ !1
5952
6297
  );
5953
6298
  resumedBoundary.parentFlushed = !0;
5954
6299
  resumedBoundary.rootSegmentID = node;
@@ -5972,78 +6317,104 @@ function abortRemainingReplayNodes(
5972
6317
  if ("object" === typeof slots) for (var index in slots) delete slots[index];
5973
6318
  }
5974
6319
  }
5975
- function abortTask(task, request, error) {
5976
- var boundary = task.blockedBoundary,
5977
- segment = task.blockedSegment;
5978
- if (null !== segment) {
5979
- if (6 === segment.status) return;
5980
- segment.status = 3;
6320
+ function abortTask(task, request) {
6321
+ if (task !== request.currentTask) {
6322
+ var boundary = task.blockedBoundary;
6323
+ task = task.blockedSegment;
6324
+ null !== task && (task.status = 3);
6325
+ null !== boundary &&
6326
+ boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6327
+ return abortTask(fallbackTask, request);
6328
+ });
5981
6329
  }
5982
- var errorInfo = getThrownInfo(task.componentStack);
5983
- if (null === boundary) {
5984
- if (13 !== request.status && 14 !== request.status) {
5985
- boundary = task.replay;
6330
+ }
6331
+ function finishAbortedTask(task, request, error) {
6332
+ if (task !== request.currentTask) {
6333
+ var boundary = task.blockedBoundary,
6334
+ segment = task.blockedSegment;
6335
+ if (null === segment || 3 === segment.status) {
6336
+ var errorInfo = getThrownInfo(task.componentStack),
6337
+ isRecoverableReason = isRecoverableError(error);
5986
6338
  if (null === boundary) {
5987
- null !== request.trackedPostpones && null !== segment
5988
- ? ((boundary = request.trackedPostpones),
5989
- logRecoverableError(request, error, errorInfo),
5990
- trackPostpone(request, boundary, task, segment),
5991
- finishedTask(request, null, task.row, segment))
5992
- : (logRecoverableError(request, error, errorInfo),
5993
- fatalError(request, error));
5994
- return;
6339
+ boundary = task.replay;
6340
+ if (null === boundary) {
6341
+ isRecoverableReason ||
6342
+ null === request.trackedPostpones ||
6343
+ null === segment
6344
+ ? isRecoverableReason
6345
+ ? ((task = cloneRecoverableErrorAsFatal(error)),
6346
+ logRecoverableError(request, task, errorInfo),
6347
+ 12 !== request.status &&
6348
+ 13 !== request.status &&
6349
+ fatalError(request, task))
6350
+ : (logRecoverableError(request, error, errorInfo),
6351
+ 12 !== request.status &&
6352
+ 13 !== request.status &&
6353
+ fatalError(request, error))
6354
+ : ((boundary = request.trackedPostpones),
6355
+ logRecoverableError(request, error, errorInfo),
6356
+ trackPostpone(request, boundary, task, segment),
6357
+ finishedTask(request, null, task.row, segment));
6358
+ return;
6359
+ }
6360
+ 12 !== request.status &&
6361
+ 13 !== request.status &&
6362
+ (boundary.pendingTasks--,
6363
+ 0 === boundary.pendingTasks &&
6364
+ 0 < boundary.nodes.length &&
6365
+ ((errorInfo = logRecoverableError(request, error, errorInfo)),
6366
+ abortRemainingReplayNodes(
6367
+ request,
6368
+ null,
6369
+ boundary.nodes,
6370
+ boundary.slots,
6371
+ error,
6372
+ errorInfo
6373
+ )),
6374
+ request.pendingRootTasks--,
6375
+ 0 === request.pendingRootTasks && completeShell(request));
6376
+ } else {
6377
+ var trackedPostpones$65 = request.trackedPostpones;
6378
+ if (4 !== boundary.status) {
6379
+ if (
6380
+ !isRecoverableReason &&
6381
+ null !== trackedPostpones$65 &&
6382
+ null !== segment
6383
+ )
6384
+ return (
6385
+ logRecoverableError(request, error, errorInfo),
6386
+ trackPostpone(request, trackedPostpones$65, task, segment),
6387
+ boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6388
+ return finishAbortedTask(fallbackTask, request, error);
6389
+ }),
6390
+ boundary.fallbackAbortableTasks.clear(),
6391
+ finishedTask(request, boundary, task.row, segment)
6392
+ );
6393
+ boundary.status = 4;
6394
+ errorInfo = logRecoverableError(request, error, errorInfo);
6395
+ boundary.errorDigest = errorInfo;
6396
+ untrackBoundary(request, boundary);
6397
+ boundary.parentFlushed &&
6398
+ request.clientRenderedBoundaries.push(boundary);
6399
+ }
6400
+ boundary.pendingTasks--;
6401
+ errorInfo = boundary.row;
6402
+ null !== errorInfo &&
6403
+ 0 === --errorInfo.pendingTasks &&
6404
+ finishSuspenseListRow(request, errorInfo);
6405
+ boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6406
+ return finishAbortedTask(fallbackTask, request, error);
6407
+ });
6408
+ boundary.fallbackAbortableTasks.clear();
5995
6409
  }
5996
- boundary.pendingTasks--;
5997
- 0 === boundary.pendingTasks &&
5998
- 0 < boundary.nodes.length &&
5999
- ((segment = logRecoverableError(request, error, errorInfo)),
6000
- abortRemainingReplayNodes(
6001
- request,
6002
- null,
6003
- boundary.nodes,
6004
- boundary.slots,
6005
- error,
6006
- segment
6007
- ));
6008
- request.pendingRootTasks--;
6009
- 0 === request.pendingRootTasks && completeShell(request);
6010
- }
6011
- } else {
6012
- var trackedPostpones$64 = request.trackedPostpones;
6013
- if (4 !== boundary.status) {
6014
- if (null !== trackedPostpones$64 && null !== segment)
6015
- return (
6016
- logRecoverableError(request, error, errorInfo),
6017
- trackPostpone(request, trackedPostpones$64, task, segment),
6018
- boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6019
- return abortTask(fallbackTask, request, error);
6020
- }),
6021
- boundary.fallbackAbortableTasks.clear(),
6022
- finishedTask(request, boundary, task.row, segment)
6023
- );
6024
- boundary.status = 4;
6025
- segment = logRecoverableError(request, error, errorInfo);
6026
- boundary.status = 4;
6027
- boundary.errorDigest = segment;
6028
- untrackBoundary(request, boundary);
6029
- boundary.parentFlushed && request.clientRenderedBoundaries.push(boundary);
6410
+ task = task.row;
6411
+ null !== task &&
6412
+ 0 === --task.pendingTasks &&
6413
+ finishSuspenseListRow(request, task);
6414
+ request.allPendingTasks--;
6415
+ 0 === request.allPendingTasks && completeAll(request);
6030
6416
  }
6031
- boundary.pendingTasks--;
6032
- segment = boundary.row;
6033
- null !== segment &&
6034
- 0 === --segment.pendingTasks &&
6035
- finishSuspenseListRow(request, segment);
6036
- boundary.fallbackAbortableTasks.forEach(function (fallbackTask) {
6037
- return abortTask(fallbackTask, request, error);
6038
- });
6039
- boundary.fallbackAbortableTasks.clear();
6040
6417
  }
6041
- task = task.row;
6042
- null !== task &&
6043
- 0 === --task.pendingTasks &&
6044
- finishSuspenseListRow(request, task);
6045
- request.allPendingTasks--;
6046
- 0 === request.allPendingTasks && completeAll(request);
6047
6418
  }
6048
6419
  function safelyEmitEarlyPreloads(request, shellComplete) {
6049
6420
  try {
@@ -6109,7 +6480,6 @@ function safelyEmitEarlyPreloads(request, shellComplete) {
6109
6480
  function completeShell(request) {
6110
6481
  null === request.trackedPostpones && safelyEmitEarlyPreloads(request, !0);
6111
6482
  null === request.trackedPostpones && preparePreamble(request);
6112
- request.onShellError = noop;
6113
6483
  request = request.onShellReady;
6114
6484
  request();
6115
6485
  }
@@ -6182,14 +6552,16 @@ function finishedTask(request, boundary, row, segment) {
6182
6552
  null !== row &&
6183
6553
  hoistHoistables(row.hoistables, boundary.contentState),
6184
6554
  isEligibleForOutlining(request, boundary) ||
6185
- (boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request),
6555
+ (request.allPendingTasks++,
6556
+ boundary.fallbackAbortableTasks.forEach(abortTaskSoft, request),
6186
6557
  boundary.fallbackAbortableTasks.clear(),
6187
6558
  null !== row &&
6188
6559
  0 === --row.pendingTasks &&
6189
- finishSuspenseListRow(request, row)),
6560
+ finishSuspenseListRow(request, row),
6561
+ request.allPendingTasks--),
6190
6562
  0 === request.pendingRootTasks &&
6191
6563
  null === request.trackedPostpones &&
6192
- null !== boundary.contentPreamble &&
6564
+ null !== boundary.preamble &&
6193
6565
  preparePreamble(request);
6194
6566
  else {
6195
6567
  if (
@@ -6213,8 +6585,10 @@ function finishedTask(request, boundary, row, segment) {
6213
6585
  finishedTask(request, postponedBoundary, null, null);
6214
6586
  }
6215
6587
  }
6588
+ request.allPendingTasks++;
6216
6589
  0 === --boundary.pendingTasks &&
6217
6590
  finishSuspenseListRow(request, boundary);
6591
+ request.allPendingTasks--;
6218
6592
  }
6219
6593
  }
6220
6594
  else
@@ -6231,209 +6605,257 @@ function finishedTask(request, boundary, row, segment) {
6231
6605
  tryToResolveTogetherRow(request, boundary);
6232
6606
  0 === request.allPendingTasks && completeAll(request);
6233
6607
  }
6234
- function performWork(request$jscomp$2) {
6235
- if (14 !== request$jscomp$2.status && 13 !== request$jscomp$2.status) {
6608
+ function performWork(request$jscomp$1) {
6609
+ if (!(request$jscomp$1.aborted || 11 < request$jscomp$1.status)) {
6236
6610
  var prevContext = currentActiveSnapshot,
6237
6611
  prevDispatcher = ReactSharedInternals.H;
6238
6612
  ReactSharedInternals.H = HooksDispatcher;
6239
6613
  var prevAsyncDispatcher = ReactSharedInternals.A;
6240
6614
  ReactSharedInternals.A = DefaultAsyncDispatcher;
6241
6615
  var prevRequest = currentRequest;
6242
- currentRequest = request$jscomp$2;
6616
+ currentRequest = request$jscomp$1;
6243
6617
  var prevResumableState = currentResumableState;
6244
- currentResumableState = request$jscomp$2.resumableState;
6618
+ currentResumableState = request$jscomp$1.resumableState;
6245
6619
  try {
6246
- var pingedTasks = request$jscomp$2.pingedTasks,
6620
+ var pingedTasks = request$jscomp$1.pingedTasks,
6247
6621
  i;
6248
6622
  for (i = 0; i < pingedTasks.length; i++) {
6249
6623
  var task = pingedTasks[i],
6250
- request = request$jscomp$2,
6624
+ request = request$jscomp$1,
6251
6625
  segment = task.blockedSegment;
6252
- if (null === segment) {
6253
- var request$jscomp$0 = request;
6254
- if (0 !== task.replay.pendingTasks) {
6626
+ if (null === segment)
6627
+ a: {
6628
+ if (0 !== task.replay.pendingTasks) {
6629
+ var prevTask = request.currentTask;
6630
+ request.currentTask = task;
6631
+ switchContext(task.context);
6632
+ var startNode = task.node;
6633
+ try {
6634
+ "number" === typeof task.replay.slots
6635
+ ? resumeNode(
6636
+ request,
6637
+ task,
6638
+ task.replay.slots,
6639
+ task.node,
6640
+ task.childIndex
6641
+ )
6642
+ : retryNode(request, task);
6643
+ if (
6644
+ 1 === task.replay.pendingTasks &&
6645
+ 0 < task.replay.nodes.length
6646
+ )
6647
+ throw Error(
6648
+ "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
6649
+ );
6650
+ task.replay.pendingTasks--;
6651
+ task.abortSet.delete(task);
6652
+ finishedTask(request, task.blockedBoundary, task.row, null);
6653
+ } catch (thrownValue) {
6654
+ resetHooksState();
6655
+ var x =
6656
+ thrownValue === SuspenseException
6657
+ ? getSuspendedThenable()
6658
+ : thrownValue;
6659
+ if (request.aborted) {
6660
+ thrownValue === SuspenseException &&
6661
+ (task.thenableState = getThenableStateAfterSuspending());
6662
+ request.currentTask = prevTask;
6663
+ var request$jscomp$0 = request;
6664
+ abortTask(task, request$jscomp$0);
6665
+ task.abortSet.delete(task);
6666
+ finishAbortedTask(
6667
+ task,
6668
+ request$jscomp$0,
6669
+ request$jscomp$0.fatalError
6670
+ );
6671
+ } else {
6672
+ if ("object" === typeof x && null !== x) {
6673
+ if ("function" === typeof x.then) {
6674
+ var ping = task.ping;
6675
+ x.then(ping.resolve, ping.reject);
6676
+ task.thenableState =
6677
+ thrownValue === SuspenseException
6678
+ ? getThenableStateAfterSuspending()
6679
+ : null;
6680
+ break a;
6681
+ }
6682
+ if (
6683
+ "Maximum call stack size exceeded" === x.message &&
6684
+ task.node !== startNode
6685
+ ) {
6686
+ task.thenableState = null;
6687
+ request.pingedTasks.push(task);
6688
+ break a;
6689
+ }
6690
+ }
6691
+ task.replay.pendingTasks--;
6692
+ task.abortSet.delete(task);
6693
+ var errorInfo = getThrownInfo(task.componentStack);
6694
+ request$jscomp$0 = request;
6695
+ var boundary = task.blockedBoundary,
6696
+ error$jscomp$0 = request.aborted ? request.fatalError : x,
6697
+ replayNodes = task.replay.nodes,
6698
+ resumeSlots = task.replay.slots,
6699
+ errorDigest = logRecoverableError(
6700
+ request$jscomp$0,
6701
+ error$jscomp$0,
6702
+ errorInfo
6703
+ );
6704
+ abortRemainingReplayNodes(
6705
+ request$jscomp$0,
6706
+ boundary,
6707
+ replayNodes,
6708
+ resumeSlots,
6709
+ error$jscomp$0,
6710
+ errorDigest
6711
+ );
6712
+ request.pendingRootTasks--;
6713
+ 0 === request.pendingRootTasks && completeShell(request);
6714
+ request.allPendingTasks--;
6715
+ 0 === request.allPendingTasks && completeAll(request);
6716
+ }
6717
+ } finally {
6718
+ request.currentTask = prevTask;
6719
+ }
6720
+ }
6721
+ }
6722
+ else
6723
+ a: if (
6724
+ ((request$jscomp$0 = segment), 0 === request$jscomp$0.status)
6725
+ ) {
6726
+ var prevTask$jscomp$0 = request.currentTask;
6727
+ request.currentTask = task;
6255
6728
  switchContext(task.context);
6729
+ var childrenLength = request$jscomp$0.children.length,
6730
+ chunkLength = request$jscomp$0.chunks.length,
6731
+ startNode$jscomp$0 = task.node;
6256
6732
  try {
6257
- "number" === typeof task.replay.slots
6258
- ? resumeNode(
6259
- request$jscomp$0,
6260
- task,
6261
- task.replay.slots,
6262
- task.node,
6263
- task.childIndex
6264
- )
6265
- : retryNode(request$jscomp$0, task);
6266
- if (
6267
- 1 === task.replay.pendingTasks &&
6268
- 0 < task.replay.nodes.length
6269
- )
6270
- throw Error(
6271
- "Couldn't find all resumable slots by key/index during replaying. The tree doesn't match so React will fallback to client rendering."
6733
+ retryNode(request, task),
6734
+ request$jscomp$0.lastPushedText &&
6735
+ request$jscomp$0.textEmbedded &&
6736
+ request$jscomp$0.chunks.push(textSeparator),
6737
+ task.abortSet.delete(task),
6738
+ (request$jscomp$0.status = 1),
6739
+ finishedSegment(
6740
+ request,
6741
+ task.blockedBoundary,
6742
+ request$jscomp$0
6743
+ ),
6744
+ finishedTask(
6745
+ request,
6746
+ task.blockedBoundary,
6747
+ task.row,
6748
+ request$jscomp$0
6272
6749
  );
6273
- task.replay.pendingTasks--;
6274
- task.abortSet.delete(task);
6275
- finishedTask(
6276
- request$jscomp$0,
6277
- task.blockedBoundary,
6278
- task.row,
6279
- null
6280
- );
6281
6750
  } catch (thrownValue) {
6282
6751
  resetHooksState();
6283
- var x =
6752
+ request$jscomp$0.children.length = childrenLength;
6753
+ request$jscomp$0.chunks.length = chunkLength;
6754
+ var x$jscomp$0 =
6284
6755
  thrownValue === SuspenseException
6285
6756
  ? getSuspendedThenable()
6286
6757
  : thrownValue;
6287
- if (
6288
- "object" === typeof x &&
6289
- null !== x &&
6290
- "function" === typeof x.then
6291
- ) {
6292
- var ping = task.ping;
6293
- x.then(ping, ping);
6294
- task.thenableState =
6295
- thrownValue === SuspenseException
6296
- ? getThenableStateAfterSuspending()
6297
- : null;
6298
- } else {
6299
- task.replay.pendingTasks--;
6758
+ if (request.aborted)
6759
+ thrownValue === SuspenseException &&
6760
+ (task.thenableState = getThenableStateAfterSuspending()),
6761
+ (request.currentTask = prevTask$jscomp$0),
6762
+ (request$jscomp$0 = request),
6763
+ abortTask(task, request$jscomp$0),
6764
+ task.abortSet.delete(task),
6765
+ finishAbortedTask(
6766
+ task,
6767
+ request$jscomp$0,
6768
+ request$jscomp$0.fatalError
6769
+ );
6770
+ else {
6771
+ if ("object" === typeof x$jscomp$0 && null !== x$jscomp$0) {
6772
+ if ("function" === typeof x$jscomp$0.then) {
6773
+ request$jscomp$0.status = 0;
6774
+ task.thenableState =
6775
+ thrownValue === SuspenseException
6776
+ ? getThenableStateAfterSuspending()
6777
+ : null;
6778
+ var ping$jscomp$0 = task.ping;
6779
+ x$jscomp$0.then(
6780
+ ping$jscomp$0.resolve,
6781
+ ping$jscomp$0.reject
6782
+ );
6783
+ break a;
6784
+ }
6785
+ if (
6786
+ "Maximum call stack size exceeded" === x$jscomp$0.message &&
6787
+ task.node !== startNode$jscomp$0
6788
+ ) {
6789
+ request$jscomp$0.status = 0;
6790
+ task.thenableState = null;
6791
+ request.pingedTasks.push(task);
6792
+ break a;
6793
+ }
6794
+ }
6795
+ var errorInfo$jscomp$0 = getThrownInfo(task.componentStack);
6300
6796
  task.abortSet.delete(task);
6301
- var errorInfo = getThrownInfo(task.componentStack);
6302
- request = void 0;
6303
- var request$jscomp$1 = request$jscomp$0,
6304
- boundary = task.blockedBoundary,
6305
- error$jscomp$0 =
6306
- 12 === request$jscomp$0.status
6307
- ? request$jscomp$0.fatalError
6308
- : x,
6309
- replayNodes = task.replay.nodes,
6310
- resumeSlots = task.replay.slots;
6311
- request = logRecoverableError(
6312
- request$jscomp$1,
6313
- error$jscomp$0,
6314
- errorInfo
6315
- );
6316
- abortRemainingReplayNodes(
6317
- request$jscomp$1,
6318
- boundary,
6319
- replayNodes,
6320
- resumeSlots,
6321
- error$jscomp$0,
6322
- request
6323
- );
6324
- request$jscomp$0.pendingRootTasks--;
6325
- 0 === request$jscomp$0.pendingRootTasks &&
6326
- completeShell(request$jscomp$0);
6327
- request$jscomp$0.allPendingTasks--;
6328
- 0 === request$jscomp$0.allPendingTasks &&
6329
- completeAll(request$jscomp$0);
6797
+ request$jscomp$0.status = 4;
6798
+ var boundary$jscomp$0 = task.blockedBoundary,
6799
+ row = task.row;
6800
+ null !== row &&
6801
+ 0 === --row.pendingTasks &&
6802
+ finishSuspenseListRow(request, row);
6803
+ request.allPendingTasks--;
6804
+ if (null === boundary$jscomp$0)
6805
+ if (isRecoverableError(x$jscomp$0)) {
6806
+ var fatalRecoverableError =
6807
+ cloneRecoverableErrorAsFatal(x$jscomp$0);
6808
+ logRecoverableError(
6809
+ request,
6810
+ fatalRecoverableError,
6811
+ errorInfo$jscomp$0
6812
+ );
6813
+ fatalError(request, fatalRecoverableError);
6814
+ } else
6815
+ logRecoverableError(
6816
+ request,
6817
+ x$jscomp$0,
6818
+ errorInfo$jscomp$0
6819
+ ),
6820
+ fatalError(request, x$jscomp$0);
6821
+ else {
6822
+ var errorDigest$jscomp$0 = logRecoverableError(
6823
+ request,
6824
+ x$jscomp$0,
6825
+ errorInfo$jscomp$0
6826
+ );
6827
+ boundary$jscomp$0.pendingTasks--;
6828
+ if (4 !== boundary$jscomp$0.status) {
6829
+ boundary$jscomp$0.status = 4;
6830
+ boundary$jscomp$0.errorDigest = errorDigest$jscomp$0;
6831
+ untrackBoundary(request, boundary$jscomp$0);
6832
+ var boundaryRow = boundary$jscomp$0.row;
6833
+ null !== boundaryRow &&
6834
+ (request.allPendingTasks++,
6835
+ 0 === --boundaryRow.pendingTasks &&
6836
+ finishSuspenseListRow(request, boundaryRow),
6837
+ request.allPendingTasks--);
6838
+ boundary$jscomp$0.parentFlushed &&
6839
+ request.clientRenderedBoundaries.push(boundary$jscomp$0);
6840
+ 0 === request.pendingRootTasks &&
6841
+ null === request.trackedPostpones &&
6842
+ null !== boundary$jscomp$0.preamble &&
6843
+ preparePreamble(request);
6844
+ }
6845
+ 0 === request.allPendingTasks && completeAll(request);
6846
+ }
6330
6847
  }
6331
6848
  } finally {
6849
+ request.currentTask = prevTask$jscomp$0;
6332
6850
  }
6333
6851
  }
6334
- } else if (
6335
- ((request$jscomp$0 = void 0),
6336
- (request$jscomp$1 = segment),
6337
- 0 === request$jscomp$1.status)
6338
- ) {
6339
- request$jscomp$1.status = 6;
6340
- switchContext(task.context);
6341
- var childrenLength = request$jscomp$1.children.length,
6342
- chunkLength = request$jscomp$1.chunks.length;
6343
- try {
6344
- retryNode(request, task),
6345
- request$jscomp$1.lastPushedText &&
6346
- request$jscomp$1.textEmbedded &&
6347
- request$jscomp$1.chunks.push(textSeparator),
6348
- task.abortSet.delete(task),
6349
- (request$jscomp$1.status = 1),
6350
- finishedSegment(request, task.blockedBoundary, request$jscomp$1),
6351
- finishedTask(
6352
- request,
6353
- task.blockedBoundary,
6354
- task.row,
6355
- request$jscomp$1
6356
- );
6357
- } catch (thrownValue) {
6358
- resetHooksState();
6359
- request$jscomp$1.children.length = childrenLength;
6360
- request$jscomp$1.chunks.length = chunkLength;
6361
- var x$jscomp$0 =
6362
- thrownValue === SuspenseException
6363
- ? getSuspendedThenable()
6364
- : 12 === request.status
6365
- ? request.fatalError
6366
- : thrownValue;
6367
- if (12 === request.status && null !== request.trackedPostpones) {
6368
- var trackedPostpones = request.trackedPostpones,
6369
- thrownInfo = getThrownInfo(task.componentStack);
6370
- task.abortSet.delete(task);
6371
- logRecoverableError(request, x$jscomp$0, thrownInfo);
6372
- trackPostpone(request, trackedPostpones, task, request$jscomp$1);
6373
- finishedTask(
6374
- request,
6375
- task.blockedBoundary,
6376
- task.row,
6377
- request$jscomp$1
6378
- );
6379
- } else if (
6380
- "object" === typeof x$jscomp$0 &&
6381
- null !== x$jscomp$0 &&
6382
- "function" === typeof x$jscomp$0.then
6383
- ) {
6384
- request$jscomp$1.status = 0;
6385
- task.thenableState =
6386
- thrownValue === SuspenseException
6387
- ? getThenableStateAfterSuspending()
6388
- : null;
6389
- var ping$jscomp$0 = task.ping;
6390
- x$jscomp$0.then(ping$jscomp$0, ping$jscomp$0);
6391
- } else {
6392
- var errorInfo$jscomp$0 = getThrownInfo(task.componentStack);
6393
- task.abortSet.delete(task);
6394
- request$jscomp$1.status = 4;
6395
- var boundary$jscomp$0 = task.blockedBoundary,
6396
- row = task.row;
6397
- null !== row &&
6398
- 0 === --row.pendingTasks &&
6399
- finishSuspenseListRow(request, row);
6400
- request.allPendingTasks--;
6401
- request$jscomp$0 = logRecoverableError(
6402
- request,
6403
- x$jscomp$0,
6404
- errorInfo$jscomp$0
6405
- );
6406
- if (null === boundary$jscomp$0) fatalError(request, x$jscomp$0);
6407
- else if (
6408
- (boundary$jscomp$0.pendingTasks--,
6409
- 4 !== boundary$jscomp$0.status)
6410
- ) {
6411
- boundary$jscomp$0.status = 4;
6412
- boundary$jscomp$0.errorDigest = request$jscomp$0;
6413
- untrackBoundary(request, boundary$jscomp$0);
6414
- var boundaryRow = boundary$jscomp$0.row;
6415
- null !== boundaryRow &&
6416
- 0 === --boundaryRow.pendingTasks &&
6417
- finishSuspenseListRow(request, boundaryRow);
6418
- boundary$jscomp$0.parentFlushed &&
6419
- request.clientRenderedBoundaries.push(boundary$jscomp$0);
6420
- 0 === request.pendingRootTasks &&
6421
- null === request.trackedPostpones &&
6422
- null !== boundary$jscomp$0.contentPreamble &&
6423
- preparePreamble(request);
6424
- }
6425
- 0 === request.allPendingTasks && completeAll(request);
6426
- }
6427
- } finally {
6428
- }
6429
- }
6430
6852
  }
6431
6853
  pingedTasks.splice(0, i);
6432
- null !== request$jscomp$2.destination &&
6433
- flushCompletedQueues(request$jscomp$2, request$jscomp$2.destination);
6854
+ null !== request$jscomp$1.destination &&
6855
+ flushCompletedQueues(request$jscomp$1, request$jscomp$1.destination);
6434
6856
  } catch (error) {
6435
- logRecoverableError(request$jscomp$2, error, {}),
6436
- fatalError(request$jscomp$2, error);
6857
+ logRecoverableError(request$jscomp$1, error, {}),
6858
+ fatalError(request$jscomp$1, error);
6437
6859
  } finally {
6438
6860
  (currentResumableState = prevResumableState),
6439
6861
  (ReactSharedInternals.H = prevDispatcher),
@@ -6471,12 +6893,11 @@ function preparePreambleFromSegment(
6471
6893
  segment,
6472
6894
  collectedPreambleSegments
6473
6895
  );
6474
- var preamble = boundary.contentPreamble,
6475
- fallbackPreamble = boundary.fallbackPreamble;
6476
- if (null === preamble || null === fallbackPreamble) return !1;
6896
+ var preamble = boundary.preamble;
6897
+ if (null === preamble) return !1;
6477
6898
  switch (boundary.status) {
6478
6899
  case 1:
6479
- hoistPreambleState(request.renderState, preamble);
6900
+ hoistPreambleState(request.renderState, preamble.content);
6480
6901
  request.byteSize += boundary.byteSize;
6481
6902
  segment = boundary.completedSegments[0];
6482
6903
  if (!segment)
@@ -6493,7 +6914,7 @@ function preparePreambleFromSegment(
6493
6914
  case 4:
6494
6915
  if (1 === segment.status)
6495
6916
  return (
6496
- hoistPreambleState(request.renderState, fallbackPreamble),
6917
+ hoistPreambleState(request.renderState, preamble.fallback),
6497
6918
  preparePreambleFromSubtree(
6498
6919
  request,
6499
6920
  segment,
@@ -6568,6 +6989,7 @@ function flushSegment(request, destination, segment, hoistableState) {
6568
6989
  var boundary = segment.boundary;
6569
6990
  if (null === boundary)
6570
6991
  return flushSubtree(request, destination, segment, hoistableState);
6992
+ segment.boundary = null;
6571
6993
  boundary.parentFlushed = !0;
6572
6994
  if (4 === boundary.status) {
6573
6995
  var row = boundary.row;
@@ -6577,7 +6999,7 @@ function flushSegment(request, destination, segment, hoistableState) {
6577
6999
  boundary = boundary.errorDigest;
6578
7000
  writeChunkAndReturn(destination, startClientRenderedSuspenseBoundary);
6579
7001
  writeChunk(destination, clientRenderedSuspenseBoundaryError1);
6580
- boundary &&
7002
+ null != boundary &&
6581
7003
  (writeChunk(destination, clientRenderedSuspenseBoundaryError1A),
6582
7004
  writeChunk(destination, escapeTextForBrowser(boundary)),
6583
7005
  writeChunk(
@@ -6601,7 +7023,8 @@ function flushSegment(request, destination, segment, hoistableState) {
6601
7023
  !flushingPartialBoundaries &&
6602
7024
  isEligibleForOutlining(request, boundary) &&
6603
7025
  (flushedByteSize + boundary.byteSize > request.progressiveChunkSize ||
6604
- hasSuspenseyContent(boundary.contentState))
7026
+ hasSuspenseyContent(boundary.contentState, flushingShell) ||
7027
+ boundary.defer)
6605
7028
  )
6606
7029
  (boundary.rootSegmentID = request.nextSegmentId++),
6607
7030
  request.completedBoundaries.push(boundary),
@@ -6667,7 +7090,8 @@ function flushCompletedBoundary(request, destination, boundary) {
6667
7090
  request = request.renderState;
6668
7091
  i = boundary.rootSegmentID;
6669
7092
  boundary = boundary.contentState;
6670
- var requiresStyleInsertion = request.stylesToHoist;
7093
+ var requiresStyleInsertion = request.stylesToHoist,
7094
+ requiresViewTransitions = 0 !== (completedSegments.instructions & 128);
6671
7095
  request.stylesToHoist = !1;
6672
7096
  writeChunk(destination, request.startInlineScript);
6673
7097
  writeChunk(destination, endOfStartTag);
@@ -6678,6 +7102,13 @@ function flushCompletedBoundary(request, destination, boundary) {
6678
7102
  0 === (completedSegments.instructions & 2) &&
6679
7103
  ((completedSegments.instructions |= 2),
6680
7104
  writeChunk(destination, completeBoundaryScriptFunctionOnly)),
7105
+ requiresViewTransitions &&
7106
+ 0 === (completedSegments.instructions & 256) &&
7107
+ ((completedSegments.instructions |= 256),
7108
+ writeChunk(
7109
+ destination,
7110
+ '$RV=function(B,g){function h(a,c){var e=a.getAttribute(c);e&&(c=a.style,l.push(a,c.viewTransitionName,c.viewTransitionClass),"auto"!==e&&(c.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+N++ +"_"),a=CSS.escape(a)!==a?"r-"+btoa(a).replace(/=/g,""):a,c.viewTransitionName=a,C=!0)}var C=!1,N=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var k=g[f].querySelectorAll("[vt-share]"),d=0;d<k.length;d++){var b=k[d];m.set(b.getAttribute("vt-name"),b)}var u=[];for(k=0;k<g.length;k+=2){var D=g[k],x=D.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){b=D;for(f=0;b;){if(8===b.nodeType){var t=b.data;if("/$"===t)if(0===f)break;else f--;else"$"!==t&&"$?"!==t&&"$~"!==t&&"$!"!==t||f++}else if(1===b.nodeType){d=b;var E=d.getAttribute("vt-name"),y=m.get(E);h(d,y?"vt-share":"vt-exit");y&&(h(y,"vt-share"),m.set(E,null));for(var F=d.querySelectorAll("[vt-share]"),\nz=0;z<F.length;z++){var G=F[z],H=G.getAttribute("vt-name"),I=m.get(H);I&&(h(G,"vt-share"),h(I,"vt-share"),m.set(H,null))}var J=d.querySelectorAll("[vt-parent-exit]");for(d=0;d<J.length;d++)h(J[d],"vt-parent-exit")}b=b.nextSibling}for(var K=g[k+1],n=K.firstElementChild;n;){null!==m.get(n.getAttribute("vt-name"))&&h(n,"vt-enter");var L=n.querySelectorAll("[vt-parent-enter]");for(b=0;b<L.length;b++)h(L[b],"vt-parent-enter");n=n.nextElementSibling}b=x;do for(var p=b.firstElementChild;p;){var M=p.getAttribute("vt-update");\nM&&"none"!==M&&!l.includes(p)&&h(p,"vt-update");p=p.nextElementSibling}while((b=b.parentNode)&&1===b.nodeType&&"none"!==b.getAttribute("vt-update"));u.push.apply(u,K.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(C){var A=document.__reactViewTransition=document.startViewTransition({update:function(){B(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],c={},e=0;e<u.length;c={g:c.g},e++)if(c.g=u[e],!c.g.complete){var q=c.g.getBoundingClientRect();0<q.bottom&&0<q.right&&\nq.top<window.innerHeight&&q.left<window.innerWidth&&(q=new Promise(function(w){return function(r){w.g.addEventListener("load",r);w.g.addEventListener("error",r)}}(c)),a.push(q))}return Promise.race([Promise.all(a),new Promise(function(w){var r=performance.now();setTimeout(w,2300>r&&2E3<r?2300-r:500)})])},types:[]});A.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var c=l[a],e=c.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===c.getAttribute("style")&&c.removeAttribute("style")}});\nA.finished.finally(function(){document.__reactViewTransition===A&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}B(g)}.bind(null,$RV);'
7111
+ )),
6681
7112
  0 === (completedSegments.instructions & 8)
6682
7113
  ? ((completedSegments.instructions |= 8),
6683
7114
  writeChunk(destination, completeBoundaryWithStylesScript1FullPartial))
@@ -6685,6 +7116,13 @@ function flushCompletedBoundary(request, destination, boundary) {
6685
7116
  : (0 === (completedSegments.instructions & 2) &&
6686
7117
  ((completedSegments.instructions |= 2),
6687
7118
  writeChunk(destination, completeBoundaryScriptFunctionOnly)),
7119
+ requiresViewTransitions &&
7120
+ 0 === (completedSegments.instructions & 256) &&
7121
+ ((completedSegments.instructions |= 256),
7122
+ writeChunk(
7123
+ destination,
7124
+ '$RV=function(B,g){function h(a,c){var e=a.getAttribute(c);e&&(c=a.style,l.push(a,c.viewTransitionName,c.viewTransitionClass),"auto"!==e&&(c.viewTransitionClass=e),(a=a.getAttribute("vt-name"))||(a="_T_"+N++ +"_"),a=CSS.escape(a)!==a?"r-"+btoa(a).replace(/=/g,""):a,c.viewTransitionName=a,C=!0)}var C=!1,N=0,l=[];try{var f=document.__reactViewTransition;if(f){f.finished.finally($RV.bind(null,g));return}var m=new Map;for(f=1;f<g.length;f+=2)for(var k=g[f].querySelectorAll("[vt-share]"),d=0;d<k.length;d++){var b=k[d];m.set(b.getAttribute("vt-name"),b)}var u=[];for(k=0;k<g.length;k+=2){var D=g[k],x=D.parentNode;if(x){var v=x.getBoundingClientRect();if(v.left||v.top||v.width||v.height){b=D;for(f=0;b;){if(8===b.nodeType){var t=b.data;if("/$"===t)if(0===f)break;else f--;else"$"!==t&&"$?"!==t&&"$~"!==t&&"$!"!==t||f++}else if(1===b.nodeType){d=b;var E=d.getAttribute("vt-name"),y=m.get(E);h(d,y?"vt-share":"vt-exit");y&&(h(y,"vt-share"),m.set(E,null));for(var F=d.querySelectorAll("[vt-share]"),\nz=0;z<F.length;z++){var G=F[z],H=G.getAttribute("vt-name"),I=m.get(H);I&&(h(G,"vt-share"),h(I,"vt-share"),m.set(H,null))}var J=d.querySelectorAll("[vt-parent-exit]");for(d=0;d<J.length;d++)h(J[d],"vt-parent-exit")}b=b.nextSibling}for(var K=g[k+1],n=K.firstElementChild;n;){null!==m.get(n.getAttribute("vt-name"))&&h(n,"vt-enter");var L=n.querySelectorAll("[vt-parent-enter]");for(b=0;b<L.length;b++)h(L[b],"vt-parent-enter");n=n.nextElementSibling}b=x;do for(var p=b.firstElementChild;p;){var M=p.getAttribute("vt-update");\nM&&"none"!==M&&!l.includes(p)&&h(p,"vt-update");p=p.nextElementSibling}while((b=b.parentNode)&&1===b.nodeType&&"none"!==b.getAttribute("vt-update"));u.push.apply(u,K.querySelectorAll(\'img[src]:not([loading="lazy"])\'))}}}if(C){var A=document.__reactViewTransition=document.startViewTransition({update:function(){B(g);for(var a=[document.documentElement.clientHeight,document.fonts.ready],c={},e=0;e<u.length;c={g:c.g},e++)if(c.g=u[e],!c.g.complete){var q=c.g.getBoundingClientRect();0<q.bottom&&0<q.right&&\nq.top<window.innerHeight&&q.left<window.innerWidth&&(q=new Promise(function(w){return function(r){w.g.addEventListener("load",r);w.g.addEventListener("error",r)}}(c)),a.push(q))}return Promise.race([Promise.all(a),new Promise(function(w){var r=performance.now();setTimeout(w,2300>r&&2E3<r?2300-r:500)})])},types:[]});A.ready.finally(function(){for(var a=l.length-3;0<=a;a-=3){var c=l[a],e=c.style;e.viewTransitionName=l[a+1];e.viewTransitionClass=l[a+1];""===c.getAttribute("style")&&c.removeAttribute("style")}});\nA.finished.finally(function(){document.__reactViewTransition===A&&(document.__reactViewTransition=null)});$RB=[];return}}catch(a){}B(g)}.bind(null,$RV);'
7125
+ )),
6688
7126
  writeChunk(destination, completeBoundaryScript1Partial));
6689
7127
  completedSegments = i.toString(16);
6690
7128
  writeChunk(destination, request.boundaryPrefix);
@@ -6735,9 +7173,10 @@ function flushPartiallyCompletedSegment(
6735
7173
  destination = writeChunkAndReturn(destination, completeSegmentScriptEnd);
6736
7174
  return destination;
6737
7175
  }
6738
- var flushingPartialBoundaries = !1;
7176
+ var flushingPartialBoundaries = !1,
7177
+ flushingShell = !1;
6739
7178
  function flushCompletedQueues(request, destination) {
6740
- currentView = new Uint8Array(2048);
7179
+ currentView = new Uint8Array(4096);
6741
7180
  writtenBytes = 0;
6742
7181
  destinationHasCapacity$1 = !0;
6743
7182
  try {
@@ -6818,7 +7257,9 @@ function flushCompletedQueues(request, destination) {
6818
7257
  completedPreambleSegments++
6819
7258
  )
6820
7259
  writeChunk(destination, bodyChunks[completedPreambleSegments]);
7260
+ flushingShell = !0;
6821
7261
  flushSegment(request, destination, completedRootSegment, null);
7262
+ flushingShell = !1;
6822
7263
  request.completedRootSegment = null;
6823
7264
  var renderState$jscomp$0 = request.renderState;
6824
7265
  if (
@@ -6899,15 +7340,17 @@ function flushCompletedQueues(request, destination) {
6899
7340
  writeChunk(renderState$jscomp$1, renderState$jscomp$2.boundaryPrefix);
6900
7341
  writeChunk(renderState$jscomp$1, id.toString(16));
6901
7342
  writeChunk(renderState$jscomp$1, clientRenderScript1A);
6902
- errorDigest &&
7343
+ null != errorDigest &&
6903
7344
  (writeChunk(
6904
7345
  renderState$jscomp$1,
6905
7346
  clientRenderErrorScriptArgInterstitial
6906
7347
  ),
6907
- writeChunk(
6908
- renderState$jscomp$1,
6909
- escapeJSStringsForInstructionScripts(errorDigest || "")
6910
- ));
7348
+ null == errorDigest
7349
+ ? writeChunk(renderState$jscomp$1, clientRenderErrorScriptNull)
7350
+ : writeChunk(
7351
+ renderState$jscomp$1,
7352
+ escapeJSStringsForInstructionScripts(errorDigest)
7353
+ ));
6911
7354
  var JSCompiler_inline_result = writeChunkAndReturn(
6912
7355
  renderState$jscomp$1,
6913
7356
  clientRenderScriptEnd
@@ -6932,17 +7375,17 @@ function flushCompletedQueues(request, destination) {
6932
7375
  }
6933
7376
  completedBoundaries.splice(0, i);
6934
7377
  completeWriting(destination);
6935
- currentView = new Uint8Array(2048);
7378
+ currentView = new Uint8Array(4096);
6936
7379
  writtenBytes = 0;
6937
7380
  flushingPartialBoundaries = destinationHasCapacity$1 = !0;
6938
7381
  var partialBoundaries = request.partialBoundaries;
6939
7382
  for (i = 0; i < partialBoundaries.length; i++) {
6940
- var boundary$70 = partialBoundaries[i];
7383
+ var boundary$71 = partialBoundaries[i];
6941
7384
  a: {
6942
7385
  clientRenderedBoundaries = request;
6943
7386
  boundary = destination;
6944
- flushedByteSize = boundary$70.byteSize;
6945
- var completedSegments = boundary$70.completedSegments;
7387
+ flushedByteSize = boundary$71.byteSize;
7388
+ var completedSegments = boundary$71.completedSegments;
6946
7389
  for (
6947
7390
  JSCompiler_inline_result = 0;
6948
7391
  JSCompiler_inline_result < completedSegments.length;
@@ -6952,7 +7395,7 @@ function flushCompletedQueues(request, destination) {
6952
7395
  !flushPartiallyCompletedSegment(
6953
7396
  clientRenderedBoundaries,
6954
7397
  boundary,
6955
- boundary$70,
7398
+ boundary$71,
6956
7399
  completedSegments[JSCompiler_inline_result]
6957
7400
  )
6958
7401
  ) {
@@ -6962,10 +7405,10 @@ function flushCompletedQueues(request, destination) {
6962
7405
  break a;
6963
7406
  }
6964
7407
  completedSegments.splice(0, JSCompiler_inline_result);
6965
- var row = boundary$70.row;
7408
+ var row = boundary$71.row;
6966
7409
  null !== row &&
6967
7410
  row.together &&
6968
- 1 === boundary$70.pendingTasks &&
7411
+ 1 === boundary$71.pendingTasks &&
6969
7412
  (1 === row.pendingTasks
6970
7413
  ? unblockSuspenseListRow(
6971
7414
  clientRenderedBoundaries,
@@ -6975,7 +7418,7 @@ function flushCompletedQueues(request, destination) {
6975
7418
  : row.pendingTasks--);
6976
7419
  JSCompiler_inline_result$jscomp$0 = writeHoistablesForBoundary(
6977
7420
  boundary,
6978
- boundary$70.contentState,
7421
+ boundary$71.contentState,
6979
7422
  clientRenderedBoundaries.renderState
6980
7423
  );
6981
7424
  }
@@ -7000,6 +7443,8 @@ function flushCompletedQueues(request, destination) {
7000
7443
  }
7001
7444
  } finally {
7002
7445
  (flushingPartialBoundaries = !1),
7446
+ (i = request.postponedState),
7447
+ null !== i && (i.nextSegmentId = request.nextSegmentId),
7003
7448
  0 === request.allPendingTasks &&
7004
7449
  0 === request.clientRenderedBoundaries.length &&
7005
7450
  0 === request.completedBoundaries.length
@@ -7009,7 +7454,8 @@ function flushCompletedQueues(request, destination) {
7009
7454
  i.hasHtml && writeChunk(destination, endChunkForTag("html")),
7010
7455
  completeWriting(destination),
7011
7456
  flushBuffered(destination),
7012
- (request.status = 14),
7457
+ endRenderLifetime(request),
7458
+ (request.status = 13),
7013
7459
  destination.end(),
7014
7460
  (request.destination = null))
7015
7461
  : (completeWriting(destination), flushBuffered(destination));
@@ -7046,40 +7492,79 @@ function enqueueFlush(request) {
7046
7492
  }));
7047
7493
  }
7048
7494
  function startFlowing(request, destination) {
7049
- if (13 === request.status)
7050
- (request.status = 14), destination.destroy(request.fatalError);
7051
- else if (14 !== request.status && null === request.destination) {
7495
+ if (12 === request.status)
7496
+ (request.status = 13),
7497
+ (request = request.fatalError),
7498
+ isRecoverableError(request) &&
7499
+ (request = cloneRecoverableErrorAsFatal(request)),
7500
+ destination.destroy(request);
7501
+ else if (13 !== request.status && null === request.destination) {
7052
7502
  request.destination = destination;
7053
7503
  try {
7054
7504
  flushCompletedQueues(request, destination);
7055
- } catch (error) {
7056
- logRecoverableError(request, error, {}), fatalError(request, error);
7505
+ } catch (error$73) {
7506
+ logRecoverableError(request, error$73, {}), fatalError(request, error$73);
7057
7507
  }
7058
7508
  }
7059
7509
  }
7060
- function abort(request, reason) {
7061
- if (11 === request.status || 10 === request.status) request.status = 12;
7510
+ function finishAbort(request, abortableTasks) {
7062
7511
  try {
7063
- var abortableTasks = request.abortableTasks;
7064
7512
  if (0 < abortableTasks.size) {
7065
- var error =
7066
- void 0 === reason
7067
- ? Error("The render was aborted by the server without a reason.")
7068
- : "object" === typeof reason &&
7069
- null !== reason &&
7070
- "function" === typeof reason.then
7071
- ? Error("The render was aborted by the server with a promise.")
7072
- : reason;
7073
- request.fatalError = error;
7513
+ var error = request.fatalError;
7074
7514
  abortableTasks.forEach(function (task) {
7075
- return abortTask(task, request, error);
7515
+ return finishAbortedTask(task, request, error);
7076
7516
  });
7077
7517
  abortableTasks.clear();
7078
7518
  }
7079
7519
  null !== request.destination &&
7080
7520
  flushCompletedQueues(request, request.destination);
7081
- } catch (error$72) {
7082
- logRecoverableError(request, error$72, {}), fatalError(request, error$72);
7521
+ } catch (error$74) {
7522
+ logRecoverableError(request, error$74, {}), fatalError(request, error$74);
7523
+ }
7524
+ }
7525
+ function endRenderLifetime(request) {
7526
+ request = request.renderLifetimeController;
7527
+ null !== request && request.abort("The render ended.");
7528
+ }
7529
+ function attachAbortSignal(request, signal) {
7530
+ if (signal.aborted) abort(request, signal.reason);
7531
+ else {
7532
+ var renderLifetimeController = new AbortController();
7533
+ request.renderLifetimeController = renderLifetimeController;
7534
+ signal.addEventListener(
7535
+ "abort",
7536
+ function () {
7537
+ abort(request, signal.reason);
7538
+ },
7539
+ { signal: renderLifetimeController.signal }
7540
+ );
7541
+ }
7542
+ }
7543
+ function abort(request, reason) {
7544
+ if (!(request.aborted || (11 !== request.status && 10 !== request.status))) {
7545
+ endRenderLifetime(request);
7546
+ var isRecoverableReason =
7547
+ "object" === typeof reason &&
7548
+ null !== reason &&
7549
+ reason.$$typeof === REACT_RECOVERABLE_TYPE;
7550
+ request.aborted = !0;
7551
+ reason = isRecoverableReason
7552
+ ? createRecoverableError(reason)
7553
+ : void 0 === reason
7554
+ ? Error("The render was aborted by the server without a reason.")
7555
+ : "object" === typeof reason &&
7556
+ null !== reason &&
7557
+ "function" === typeof reason.then
7558
+ ? Error("The render was aborted by the server with a promise.")
7559
+ : reason;
7560
+ request.fatalError = reason;
7561
+ var abortableTasks = request.abortableTasks;
7562
+ abortableTasks.forEach(function (task) {
7563
+ return abortTask(task, request);
7564
+ });
7565
+ setImmediate(function () {
7566
+ return finishAbort(request, abortableTasks);
7567
+ });
7083
7568
  }
7084
7569
  }
7085
7570
  function addToReplayParent(node, parentKeyPath, trackedPostpones) {
@@ -7102,11 +7587,11 @@ function getPostponedState(request) {
7102
7587
  null === trackedPostpones.rootSlots)
7103
7588
  )
7104
7589
  return (request.trackedPostpones = null);
7105
- if (
7590
+ var hasFlushableShell =
7106
7591
  null === request.completedRootSegment ||
7107
7592
  (5 !== request.completedRootSegment.status &&
7108
- null !== request.completedPreambleSegments)
7109
- ) {
7593
+ null !== request.completedPreambleSegments);
7594
+ if (hasFlushableShell) {
7110
7595
  var nextSegmentId = request.nextSegmentId;
7111
7596
  var replaySlots = trackedPostpones.rootSlots;
7112
7597
  var resumableState = request.resumableState;
@@ -7131,7 +7616,7 @@ function getPostponedState(request) {
7131
7616
  resumableState.moduleScriptResources = {};
7132
7617
  resumableState.instructions = 0;
7133
7618
  }
7134
- return {
7619
+ trackedPostpones = {
7135
7620
  nextSegmentId: nextSegmentId,
7136
7621
  rootFormatContext: request.rootFormatContext,
7137
7622
  progressiveChunkSize: request.progressiveChunkSize,
@@ -7139,14 +7624,16 @@ function getPostponedState(request) {
7139
7624
  replayNodes: trackedPostpones.rootNodes,
7140
7625
  replaySlots: replaySlots
7141
7626
  };
7627
+ hasFlushableShell && (request.postponedState = trackedPostpones);
7628
+ return trackedPostpones;
7142
7629
  }
7143
7630
  function ensureCorrectIsomorphicReactVersion() {
7144
7631
  var isomorphicReactPackageVersion = React.version;
7145
- if ("19.2.7" !== isomorphicReactPackageVersion)
7632
+ if ("19.3.1" !== isomorphicReactPackageVersion)
7146
7633
  throw Error(
7147
7634
  'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
7148
7635
  (isomorphicReactPackageVersion +
7149
- "\n - react-dom: 19.2.7\nLearn more: https://react.dev/warnings/version-mismatch")
7636
+ "\n - react-dom: 19.3.1\nLearn more: https://react.dev/warnings/version-mismatch")
7150
7637
  );
7151
7638
  }
7152
7639
  ensureCorrectIsomorphicReactVersion();
@@ -7183,11 +7670,11 @@ function createRequestImpl(children, options) {
7183
7670
  createRootFormatContext(options ? options.namespaceURI : void 0),
7184
7671
  options ? options.progressiveChunkSize : void 0,
7185
7672
  options ? options.onError : void 0,
7673
+ options ? options.onBrowserBailout : void 0,
7186
7674
  options ? options.onAllReady : void 0,
7187
7675
  options ? options.onShellReady : void 0,
7188
7676
  options ? options.onShellError : void 0,
7189
7677
  void 0,
7190
- options ? options.onPostpone : void 0,
7191
7678
  options ? options.formState : void 0
7192
7679
  );
7193
7680
  }
@@ -7221,11 +7708,11 @@ function resumeRequestImpl(children, postponedState, options) {
7221
7708
  void 0
7222
7709
  ),
7223
7710
  options ? options.onError : void 0,
7711
+ options ? options.onBrowserBailout : void 0,
7224
7712
  options ? options.onAllReady : void 0,
7225
7713
  options ? options.onShellReady : void 0,
7226
7714
  options ? options.onShellError : void 0,
7227
- void 0,
7228
- options ? options.onPostpone : void 0
7715
+ void 0
7229
7716
  );
7230
7717
  }
7231
7718
  ensureCorrectIsomorphicReactVersion();
@@ -7288,6 +7775,7 @@ exports.prerender = function (children, options) {
7288
7775
  createRootFormatContext(options ? options.namespaceURI : void 0),
7289
7776
  options ? options.progressiveChunkSize : void 0,
7290
7777
  options ? options.onError : void 0,
7778
+ options ? options.onBrowserBailout : void 0,
7291
7779
  function () {
7292
7780
  var writable,
7293
7781
  stream = new ReadableStream(
@@ -7312,20 +7800,9 @@ exports.prerender = function (children, options) {
7312
7800
  },
7313
7801
  void 0,
7314
7802
  void 0,
7315
- reject,
7316
- options ? options.onPostpone : void 0
7803
+ reject
7317
7804
  );
7318
- if (options && options.signal) {
7319
- var signal = options.signal;
7320
- if (signal.aborted) abort(request, signal.reason);
7321
- else {
7322
- var listener = function () {
7323
- abort(request, signal.reason);
7324
- signal.removeEventListener("abort", listener);
7325
- };
7326
- signal.addEventListener("abort", listener);
7327
- }
7328
- }
7805
+ options && options.signal && attachAbortSignal(request, options.signal);
7329
7806
  startWork(request);
7330
7807
  });
7331
7808
  };
@@ -7352,6 +7829,7 @@ exports.prerenderToNodeStream = function (children, options) {
7352
7829
  createRootFormatContext(options ? options.namespaceURI : void 0),
7353
7830
  options ? options.progressiveChunkSize : void 0,
7354
7831
  options ? options.onError : void 0,
7832
+ options ? options.onBrowserBailout : void 0,
7355
7833
  function () {
7356
7834
  var readable = new stream.Readable({
7357
7835
  read: function () {
@@ -7367,20 +7845,9 @@ exports.prerenderToNodeStream = function (children, options) {
7367
7845
  },
7368
7846
  void 0,
7369
7847
  void 0,
7370
- reject,
7371
- options ? options.onPostpone : void 0
7848
+ reject
7372
7849
  );
7373
- if (options && options.signal) {
7374
- var signal = options.signal;
7375
- if (signal.aborted) abort(request, signal.reason);
7376
- else {
7377
- var listener = function () {
7378
- abort(request, signal.reason);
7379
- signal.removeEventListener("abort", listener);
7380
- };
7381
- signal.addEventListener("abort", listener);
7382
- }
7383
- }
7850
+ options && options.signal && attachAbortSignal(request, options.signal);
7384
7851
  startWork(request);
7385
7852
  });
7386
7853
  };
@@ -7458,6 +7925,7 @@ exports.renderToReadableStream = function (children, options) {
7458
7925
  createRootFormatContext(options ? options.namespaceURI : void 0),
7459
7926
  options ? options.progressiveChunkSize : void 0,
7460
7927
  options ? options.onError : void 0,
7928
+ options ? options.onBrowserBailout : void 0,
7461
7929
  onAllReady,
7462
7930
  function () {
7463
7931
  var writable,
@@ -7488,20 +7956,9 @@ exports.renderToReadableStream = function (children, options) {
7488
7956
  reject(error);
7489
7957
  },
7490
7958
  onFatalError,
7491
- options ? options.onPostpone : void 0,
7492
7959
  options ? options.formState : void 0
7493
7960
  );
7494
- if (options && options.signal) {
7495
- var signal = options.signal;
7496
- if (signal.aborted) abort(request, signal.reason);
7497
- else {
7498
- var listener = function () {
7499
- abort(request, signal.reason);
7500
- signal.removeEventListener("abort", listener);
7501
- };
7502
- signal.addEventListener("abort", listener);
7503
- }
7504
- }
7961
+ options && options.signal && attachAbortSignal(request, options.signal);
7505
7962
  startWork(request);
7506
7963
  });
7507
7964
  };
@@ -7525,6 +7982,7 @@ exports.resume = function (children, postponedState, options) {
7525
7982
  void 0
7526
7983
  ),
7527
7984
  options ? options.onError : void 0,
7985
+ options ? options.onBrowserBailout : void 0,
7528
7986
  onAllReady,
7529
7987
  function () {
7530
7988
  var writable,
@@ -7554,20 +8012,9 @@ exports.resume = function (children, postponedState, options) {
7554
8012
  allReady.catch(function () {});
7555
8013
  reject(error);
7556
8014
  },
7557
- onFatalError,
7558
- options ? options.onPostpone : void 0
8015
+ onFatalError
7559
8016
  );
7560
- if (options && options.signal) {
7561
- var signal = options.signal;
7562
- if (signal.aborted) abort(request, signal.reason);
7563
- else {
7564
- var listener = function () {
7565
- abort(request, signal.reason);
7566
- signal.removeEventListener("abort", listener);
7567
- };
7568
- signal.addEventListener("abort", listener);
7569
- }
7570
- }
8017
+ options && options.signal && attachAbortSignal(request, options.signal);
7571
8018
  startWork(request);
7572
8019
  });
7573
8020
  };
@@ -7585,6 +8032,7 @@ exports.resumeAndPrerender = function (children, postponedState, options) {
7585
8032
  void 0
7586
8033
  ),
7587
8034
  options ? options.onError : void 0,
8035
+ options ? options.onBrowserBailout : void 0,
7588
8036
  function () {
7589
8037
  var writable,
7590
8038
  stream = new ReadableStream(
@@ -7609,20 +8057,9 @@ exports.resumeAndPrerender = function (children, postponedState, options) {
7609
8057
  },
7610
8058
  void 0,
7611
8059
  void 0,
7612
- reject,
7613
- options ? options.onPostpone : void 0
8060
+ reject
7614
8061
  );
7615
- if (options && options.signal) {
7616
- var signal = options.signal;
7617
- if (signal.aborted) abort(request, signal.reason);
7618
- else {
7619
- var listener = function () {
7620
- abort(request, signal.reason);
7621
- signal.removeEventListener("abort", listener);
7622
- };
7623
- signal.addEventListener("abort", listener);
7624
- }
7625
- }
8062
+ options && options.signal && attachAbortSignal(request, options.signal);
7626
8063
  startWork(request);
7627
8064
  });
7628
8065
  };
@@ -7644,6 +8081,7 @@ exports.resumeAndPrerenderToNodeStream = function (
7644
8081
  void 0
7645
8082
  ),
7646
8083
  options ? options.onError : void 0,
8084
+ options ? options.onBrowserBailout : void 0,
7647
8085
  function () {
7648
8086
  var readable = new stream.Readable({
7649
8087
  read: function () {
@@ -7656,20 +8094,9 @@ exports.resumeAndPrerenderToNodeStream = function (
7656
8094
  },
7657
8095
  void 0,
7658
8096
  void 0,
7659
- reject,
7660
- options ? options.onPostpone : void 0
8097
+ reject
7661
8098
  );
7662
- if (options && options.signal) {
7663
- var signal = options.signal;
7664
- if (signal.aborted) abort(request, signal.reason);
7665
- else {
7666
- var listener = function () {
7667
- abort(request, signal.reason);
7668
- signal.removeEventListener("abort", listener);
7669
- };
7670
- signal.addEventListener("abort", listener);
7671
- }
7672
- }
8099
+ options && options.signal && attachAbortSignal(request, options.signal);
7673
8100
  startWork(request);
7674
8101
  });
7675
8102
  };
@@ -7704,4 +8131,4 @@ exports.resumeToPipeableStream = function (children, postponedState, options) {
7704
8131
  }
7705
8132
  };
7706
8133
  };
7707
- exports.version = "19.2.7";
8134
+ exports.version = "19.3.1";