one 1.2.47 → 1.2.49

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 (818) hide show
  1. package/dist/cjs/Root.js +6 -1
  2. package/dist/cjs/Root.js.map +1 -1
  3. package/dist/cjs/Root.native.js.map +1 -1
  4. package/dist/cjs/babel-plugins/one-router-metro.js +4 -1
  5. package/dist/cjs/babel-plugins/one-router-metro.js.map +1 -1
  6. package/dist/cjs/babel-plugins/one-router-metro.native.js.map +1 -1
  7. package/dist/cjs/babel-plugins/remove-server-code.js +3 -1
  8. package/dist/cjs/babel-plugins/remove-server-code.js.map +1 -1
  9. package/dist/cjs/babel-plugins/remove-server-code.native.js.map +1 -1
  10. package/dist/cjs/cli/build.js +31 -8
  11. package/dist/cjs/cli/build.js.map +1 -1
  12. package/dist/cjs/cli/build.native.js.map +1 -1
  13. package/dist/cjs/cli/buildPage.js +14 -4
  14. package/dist/cjs/cli/buildPage.js.map +1 -1
  15. package/dist/cjs/cli/buildPage.native.js.map +1 -1
  16. package/dist/cjs/cli/generateRoutes.js +3 -1
  17. package/dist/cjs/cli/generateRoutes.js.map +1 -1
  18. package/dist/cjs/cli/generateRoutes.native.js.map +1 -1
  19. package/dist/cjs/cli/generateSitemap.js.map +1 -1
  20. package/dist/cjs/cli/generateSitemap.native.js.map +1 -1
  21. package/dist/cjs/cli/generateSitemap.test.js +14 -4
  22. package/dist/cjs/cli/generateSitemap.test.js.map +1 -1
  23. package/dist/cjs/cli/generateSitemap.test.native.js.map +1 -1
  24. package/dist/cjs/cli/main.js +4 -2
  25. package/dist/cjs/cli/main.js.map +1 -1
  26. package/dist/cjs/cli/main.native.js.map +1 -1
  27. package/dist/cjs/cli/prebuild.js.map +1 -1
  28. package/dist/cjs/cli/prebuild.native.js.map +1 -1
  29. package/dist/cjs/clientLoaderResolver.js.map +1 -1
  30. package/dist/cjs/clientLoaderResolver.native.js.map +1 -1
  31. package/dist/cjs/config.js +3 -1
  32. package/dist/cjs/config.js.map +1 -1
  33. package/dist/cjs/config.native.js.map +1 -1
  34. package/dist/cjs/constants.js.map +1 -1
  35. package/dist/cjs/constants.native.js.map +1 -1
  36. package/dist/cjs/createApp.js +9 -1
  37. package/dist/cjs/createApp.js.map +1 -1
  38. package/dist/cjs/createHandleRequest.js +9 -3
  39. package/dist/cjs/createHandleRequest.js.map +1 -1
  40. package/dist/cjs/createHandleRequest.native.js.map +1 -1
  41. package/dist/cjs/fork/__tests__/getPathFromState.test.js +90 -88
  42. package/dist/cjs/fork/__tests__/getPathFromState.test.js.map +1 -1
  43. package/dist/cjs/fork/__tests__/getPathFromState.test.native.js.map +1 -1
  44. package/dist/cjs/fork/__tests__/getStateFromPath.test.js +163 -86
  45. package/dist/cjs/fork/__tests__/getStateFromPath.test.js.map +1 -1
  46. package/dist/cjs/fork/__tests__/getStateFromPath.test.native.js.map +1 -1
  47. package/dist/cjs/fork/_shared.js.map +1 -1
  48. package/dist/cjs/fork/_shared.native.js.map +1 -1
  49. package/dist/cjs/fork/extractPathFromURL.js.map +1 -1
  50. package/dist/cjs/fork/extractPathFromURL.native.js.map +1 -1
  51. package/dist/cjs/fork/getPathFromState-mods.js +4 -1
  52. package/dist/cjs/fork/getPathFromState-mods.js.map +1 -1
  53. package/dist/cjs/fork/getPathFromState-mods.native.js.map +1 -1
  54. package/dist/cjs/fork/getPathFromState.js +3 -1
  55. package/dist/cjs/fork/getPathFromState.js.map +1 -1
  56. package/dist/cjs/fork/getPathFromState.native.js.map +1 -1
  57. package/dist/cjs/fork/getStateFromPath-mods.js.map +1 -1
  58. package/dist/cjs/fork/getStateFromPath-mods.native.js.map +1 -1
  59. package/dist/cjs/fork/getStateFromPath.js +7 -1
  60. package/dist/cjs/fork/getStateFromPath.js.map +1 -1
  61. package/dist/cjs/fork/getStateFromPath.native.js.map +1 -1
  62. package/dist/cjs/fork/getStateFromPath.test.js +21 -8
  63. package/dist/cjs/fork/getStateFromPath.test.js.map +1 -1
  64. package/dist/cjs/fork/getStateFromPath.test.native.js.map +1 -1
  65. package/dist/cjs/fork/useBackButton.js.map +1 -1
  66. package/dist/cjs/fork/useDocumentTitle.js +4 -1
  67. package/dist/cjs/fork/useDocumentTitle.js.map +1 -1
  68. package/dist/cjs/fork/useLinking.js +4 -1
  69. package/dist/cjs/fork/useLinking.js.map +1 -1
  70. package/dist/cjs/fork/validatePathConfig.js.map +1 -1
  71. package/dist/cjs/fork/validatePathConfig.native.js.map +1 -1
  72. package/dist/cjs/hooks.js.map +1 -1
  73. package/dist/cjs/hooks.native.js.map +1 -1
  74. package/dist/cjs/index.js.map +1 -1
  75. package/dist/cjs/layouts/Tabs.js.map +1 -1
  76. package/dist/cjs/layouts/Tabs.native.js.map +1 -1
  77. package/dist/cjs/layouts/withLayoutContext.js +10 -8
  78. package/dist/cjs/layouts/withLayoutContext.js.map +1 -1
  79. package/dist/cjs/layouts/withLayoutContext.native.js.map +1 -1
  80. package/dist/cjs/link/Link.js.map +1 -1
  81. package/dist/cjs/link/Link.native.js.map +1 -1
  82. package/dist/cjs/link/linking.js +3 -1
  83. package/dist/cjs/link/linking.js.map +1 -1
  84. package/dist/cjs/link/linking.native.js.map +1 -1
  85. package/dist/cjs/link/useLinkTo.js.map +1 -1
  86. package/dist/cjs/link/useLinkTo.native.js.map +1 -1
  87. package/dist/cjs/link/useLoadedNavigation.js.map +1 -1
  88. package/dist/cjs/link/useLoadedNavigation.native.js.map +1 -1
  89. package/dist/cjs/metro-config/getViteMetroPluginOptions.cjs +6 -8
  90. package/dist/cjs/metro-config/getViteMetroPluginOptions.js +8 -10
  91. package/dist/cjs/metro-config/getViteMetroPluginOptions.js.map +1 -1
  92. package/dist/cjs/metro-config/getViteMetroPluginOptions.native.js +9 -11
  93. package/dist/cjs/metro-config/getViteMetroPluginOptions.native.js.map +1 -1
  94. package/dist/cjs/router/Route.js.map +1 -1
  95. package/dist/cjs/router/Route.native.js.map +1 -1
  96. package/dist/cjs/router/RouteInfoContext.js +7 -1
  97. package/dist/cjs/router/RouteInfoContext.js.map +1 -1
  98. package/dist/cjs/router/RouteInfoContext.native.js.map +1 -1
  99. package/dist/cjs/router/filterRootHTML.js.map +1 -1
  100. package/dist/cjs/router/filterRootHTML.native.js.map +1 -1
  101. package/dist/cjs/router/getLinkingConfig.js.map +1 -1
  102. package/dist/cjs/router/getLinkingConfig.native.js.map +1 -1
  103. package/dist/cjs/router/getNormalizedStatePath.js.map +1 -1
  104. package/dist/cjs/router/getNormalizedStatePath.native.js.map +1 -1
  105. package/dist/cjs/router/getRoutes.js +3 -1
  106. package/dist/cjs/router/getRoutes.js.map +1 -1
  107. package/dist/cjs/router/getRoutes.native.js.map +1 -1
  108. package/dist/cjs/router/linkingConfig.js.map +1 -1
  109. package/dist/cjs/router/linkingConfig.native.js.map +1 -1
  110. package/dist/cjs/router/matchers.cjs +1 -1
  111. package/dist/cjs/router/matchers.js +1 -1
  112. package/dist/cjs/router/matchers.js.map +1 -1
  113. package/dist/cjs/router/matchers.native.js +1 -1
  114. package/dist/cjs/router/matchers.native.js.map +1 -1
  115. package/dist/cjs/router/matchers.test.js +6 -2
  116. package/dist/cjs/router/matchers.test.js.map +1 -1
  117. package/dist/cjs/router/matchers.test.native.js.map +1 -1
  118. package/dist/cjs/router/router.js +13 -3
  119. package/dist/cjs/router/router.js.map +1 -1
  120. package/dist/cjs/router/router.native.js.map +1 -1
  121. package/dist/cjs/router/useNavigation.js.map +1 -1
  122. package/dist/cjs/router/useNavigation.native.js.map +1 -1
  123. package/dist/cjs/router/useScreens.cjs +73 -51
  124. package/dist/cjs/router/useScreens.js +72 -45
  125. package/dist/cjs/router/useScreens.js.map +1 -1
  126. package/dist/cjs/router/useScreens.native.js +30 -19
  127. package/dist/cjs/router/useScreens.native.js.map +1 -1
  128. package/dist/cjs/router/useViteRoutes.cjs +26 -8
  129. package/dist/cjs/router/useViteRoutes.js +28 -9
  130. package/dist/cjs/router/useViteRoutes.js.map +1 -1
  131. package/dist/cjs/router/useViteRoutes.native.js +33 -13
  132. package/dist/cjs/router/useViteRoutes.native.js.map +1 -1
  133. package/dist/cjs/router/utils/getNavigateAction.js.map +1 -1
  134. package/dist/cjs/router/utils/getNavigateAction.native.js.map +1 -1
  135. package/dist/cjs/server/createRoutesManifest.js.map +1 -1
  136. package/dist/cjs/server/createRoutesManifest.native.js.map +1 -1
  137. package/dist/cjs/server/getServerManifest.js +3 -1
  138. package/dist/cjs/server/getServerManifest.js.map +1 -1
  139. package/dist/cjs/server/getServerManifest.native.js.map +1 -1
  140. package/dist/cjs/server/oneServe.js +9 -2
  141. package/dist/cjs/server/oneServe.js.map +1 -1
  142. package/dist/cjs/server/oneServe.native.js.map +1 -1
  143. package/dist/cjs/server/setupBuildOptions.js.map +1 -1
  144. package/dist/cjs/server/setupBuildOptions.native.js.map +1 -1
  145. package/dist/cjs/server/staticHtmlFetcher.js.map +1 -1
  146. package/dist/cjs/server/staticHtmlFetcher.native.js.map +1 -1
  147. package/dist/cjs/server-render.js.map +1 -1
  148. package/dist/cjs/server-render.native.js.map +1 -1
  149. package/dist/cjs/typed-routes/getTypedRoutesDeclarationFile.js +14 -2
  150. package/dist/cjs/typed-routes/getTypedRoutesDeclarationFile.js.map +1 -1
  151. package/dist/cjs/typed-routes/getTypedRoutesDeclarationFile.native.js.map +1 -1
  152. package/dist/cjs/typed-routes/injectRouteHelpers.js +4 -1
  153. package/dist/cjs/typed-routes/injectRouteHelpers.js.map +1 -1
  154. package/dist/cjs/typed-routes/injectRouteHelpers.native.js.map +1 -1
  155. package/dist/cjs/ui/Slot.js.map +1 -1
  156. package/dist/cjs/ui/Slot.native.js.map +1 -1
  157. package/dist/cjs/ui/TabContext.js +3 -1
  158. package/dist/cjs/ui/TabContext.js.map +1 -1
  159. package/dist/cjs/ui/TabContext.native.js.map +1 -1
  160. package/dist/cjs/ui/TabRouter.js.map +1 -1
  161. package/dist/cjs/ui/TabRouter.native.js.map +1 -1
  162. package/dist/cjs/ui/TabTrigger.js +17 -2
  163. package/dist/cjs/ui/TabTrigger.js.map +1 -1
  164. package/dist/cjs/ui/TabTrigger.native.js.map +1 -1
  165. package/dist/cjs/ui/Tabs.js +5 -1
  166. package/dist/cjs/ui/Tabs.js.map +1 -1
  167. package/dist/cjs/ui/Tabs.native.js.map +1 -1
  168. package/dist/cjs/ui/common.js +3 -1
  169. package/dist/cjs/ui/common.js.map +1 -1
  170. package/dist/cjs/ui/common.native.js.map +1 -1
  171. package/dist/cjs/useLoader.js +4 -1
  172. package/dist/cjs/useLoader.js.map +1 -1
  173. package/dist/cjs/useLoader.native.js.map +1 -1
  174. package/dist/cjs/utils/cleanUrl.js.map +1 -1
  175. package/dist/cjs/utils/cleanUrl.native.js.map +1 -1
  176. package/dist/cjs/utils/url.js +3 -1
  177. package/dist/cjs/utils/url.js.map +1 -1
  178. package/dist/cjs/utils/url.native.js.map +1 -1
  179. package/dist/cjs/vercel/build/buildVercelOutputDirectory.js +29 -10
  180. package/dist/cjs/vercel/build/buildVercelOutputDirectory.js.map +1 -1
  181. package/dist/cjs/vercel/build/buildVercelOutputDirectory.native.js.map +1 -1
  182. package/dist/cjs/vercel/build/generate/createApiServerlessFunction.js +11 -3
  183. package/dist/cjs/vercel/build/generate/createApiServerlessFunction.js.map +1 -1
  184. package/dist/cjs/vercel/build/generate/createApiServerlessFunction.native.js.map +1 -1
  185. package/dist/cjs/vercel/build/generate/createSsrServerlessFunction.js +9 -2
  186. package/dist/cjs/vercel/build/generate/createSsrServerlessFunction.js.map +1 -1
  187. package/dist/cjs/vercel/build/generate/createSsrServerlessFunction.native.js.map +1 -1
  188. package/dist/cjs/vercel/build/getPathFromRoute.js +4 -1
  189. package/dist/cjs/vercel/build/getPathFromRoute.js.map +1 -1
  190. package/dist/cjs/vercel/build/getPathFromRoute.native.js.map +1 -1
  191. package/dist/cjs/views/Navigator.js +16 -8
  192. package/dist/cjs/views/Navigator.js.map +1 -1
  193. package/dist/cjs/views/Navigator.native.js.map +1 -1
  194. package/dist/cjs/views/RootErrorBoundary.js +4 -2
  195. package/dist/cjs/views/RootErrorBoundary.js.map +1 -1
  196. package/dist/cjs/views/RootErrorBoundary.native.js.map +1 -1
  197. package/dist/cjs/views/Screen.js +4 -1
  198. package/dist/cjs/views/Screen.js.map +1 -1
  199. package/dist/cjs/views/Screen.native.js.map +1 -1
  200. package/dist/cjs/vite/DevHead.cjs +14 -0
  201. package/dist/cjs/vite/DevHead.js +18 -0
  202. package/dist/cjs/vite/DevHead.js.map +1 -1
  203. package/dist/cjs/vite/loadConfig.js +6 -2
  204. package/dist/cjs/vite/loadConfig.js.map +1 -1
  205. package/dist/cjs/vite/loadConfig.native.js.map +1 -1
  206. package/dist/cjs/vite/one-server-only.js +3 -1
  207. package/dist/cjs/vite/one-server-only.js.map +1 -1
  208. package/dist/cjs/vite/one.cjs +9 -2
  209. package/dist/cjs/vite/one.js +18 -5
  210. package/dist/cjs/vite/one.js.map +1 -1
  211. package/dist/cjs/vite/one.native.js +17 -12
  212. package/dist/cjs/vite/one.native.js.map +1 -1
  213. package/dist/cjs/vite/plugins/SSRCSSPlugin.js +5 -1
  214. package/dist/cjs/vite/plugins/SSRCSSPlugin.js.map +1 -1
  215. package/dist/cjs/vite/plugins/SSRCSSPlugin.native.js.map +1 -1
  216. package/dist/cjs/vite/plugins/clientTreeShakePlugin.js +8 -2
  217. package/dist/cjs/vite/plugins/clientTreeShakePlugin.js.map +1 -1
  218. package/dist/cjs/vite/plugins/clientTreeShakePlugin.native.js.map +1 -1
  219. package/dist/cjs/vite/plugins/fileSystemRouterPlugin.cjs +1 -1
  220. package/dist/cjs/vite/plugins/fileSystemRouterPlugin.js +12 -5
  221. package/dist/cjs/vite/plugins/fileSystemRouterPlugin.js.map +1 -1
  222. package/dist/cjs/vite/plugins/fileSystemRouterPlugin.native.js +4 -1
  223. package/dist/cjs/vite/plugins/fileSystemRouterPlugin.native.js.map +1 -1
  224. package/dist/cjs/vite/plugins/generateFileSystemRouteTypesPlugin.cjs +1 -1
  225. package/dist/cjs/vite/plugins/generateFileSystemRouteTypesPlugin.js +1 -1
  226. package/dist/cjs/vite/plugins/generateFileSystemRouteTypesPlugin.js.map +1 -1
  227. package/dist/cjs/vite/plugins/generateFileSystemRouteTypesPlugin.native.js +6 -3
  228. package/dist/cjs/vite/plugins/generateFileSystemRouteTypesPlugin.native.js.map +1 -1
  229. package/dist/cjs/vite/plugins/removeReactNativeWebAnimatedPlugin.js.map +1 -1
  230. package/dist/cjs/vite/plugins/removeReactNativeWebAnimatedPlugin.native.js.map +1 -1
  231. package/dist/cjs/vite/plugins/virtualEntryPlugin.js +13 -3
  232. package/dist/cjs/vite/plugins/virtualEntryPlugin.js.map +1 -1
  233. package/dist/cjs/vite/plugins/virtualEntryPlugin.native.js.map +1 -1
  234. package/dist/cjs/vite/replaceLoader.js +4 -1
  235. package/dist/cjs/vite/replaceLoader.js.map +1 -1
  236. package/dist/cjs/vite/replaceLoader.native.js.map +1 -1
  237. package/dist/cjs/vite/resolveResponse.js.map +1 -1
  238. package/dist/cjs/vite/resolveResponse.native.js.map +1 -1
  239. package/dist/cjs/zero/subscribeToQuery.js.map +1 -1
  240. package/dist/cjs/zero/subscribeToQuery.native.js.map +1 -1
  241. package/dist/cjs/zero/useQueryZero.js +3 -1
  242. package/dist/cjs/zero/useQueryZero.js.map +1 -1
  243. package/dist/cjs/zero/useQueryZero.native.js.map +1 -1
  244. package/dist/esm/Root.js +6 -1
  245. package/dist/esm/Root.js.map +1 -1
  246. package/dist/esm/Root.mjs.map +1 -1
  247. package/dist/esm/Root.native.js.map +1 -1
  248. package/dist/esm/babel-plugins/one-router-metro.js +4 -1
  249. package/dist/esm/babel-plugins/one-router-metro.js.map +1 -1
  250. package/dist/esm/babel-plugins/one-router-metro.mjs.map +1 -1
  251. package/dist/esm/babel-plugins/one-router-metro.native.js.map +1 -1
  252. package/dist/esm/babel-plugins/remove-server-code.js +7 -2
  253. package/dist/esm/babel-plugins/remove-server-code.js.map +1 -1
  254. package/dist/esm/babel-plugins/remove-server-code.mjs.map +1 -1
  255. package/dist/esm/babel-plugins/remove-server-code.native.js.map +1 -1
  256. package/dist/esm/cli/build.js +31 -8
  257. package/dist/esm/cli/build.js.map +1 -1
  258. package/dist/esm/cli/build.mjs.map +1 -1
  259. package/dist/esm/cli/build.native.js.map +1 -1
  260. package/dist/esm/cli/buildPage.js +14 -4
  261. package/dist/esm/cli/buildPage.js.map +1 -1
  262. package/dist/esm/cli/buildPage.mjs.map +1 -1
  263. package/dist/esm/cli/buildPage.native.js.map +1 -1
  264. package/dist/esm/cli/generateRoutes.js +3 -1
  265. package/dist/esm/cli/generateRoutes.js.map +1 -1
  266. package/dist/esm/cli/generateRoutes.mjs.map +1 -1
  267. package/dist/esm/cli/generateRoutes.native.js.map +1 -1
  268. package/dist/esm/cli/generateSitemap.js.map +1 -1
  269. package/dist/esm/cli/generateSitemap.mjs.map +1 -1
  270. package/dist/esm/cli/generateSitemap.native.js.map +1 -1
  271. package/dist/esm/cli/generateSitemap.test.js +14 -4
  272. package/dist/esm/cli/generateSitemap.test.js.map +1 -1
  273. package/dist/esm/cli/generateSitemap.test.mjs.map +1 -1
  274. package/dist/esm/cli/generateSitemap.test.native.js.map +1 -1
  275. package/dist/esm/cli/main.js +4 -2
  276. package/dist/esm/cli/main.js.map +1 -1
  277. package/dist/esm/cli/main.mjs.map +1 -1
  278. package/dist/esm/cli/main.native.js.map +1 -1
  279. package/dist/esm/cli/prebuild.js.map +1 -1
  280. package/dist/esm/cli/prebuild.mjs.map +1 -1
  281. package/dist/esm/cli/prebuild.native.js.map +1 -1
  282. package/dist/esm/clientLoaderResolver.js.map +1 -1
  283. package/dist/esm/clientLoaderResolver.mjs.map +1 -1
  284. package/dist/esm/clientLoaderResolver.native.js.map +1 -1
  285. package/dist/esm/config.js +3 -1
  286. package/dist/esm/config.js.map +1 -1
  287. package/dist/esm/config.mjs.map +1 -1
  288. package/dist/esm/config.native.js.map +1 -1
  289. package/dist/esm/constants.js.map +1 -1
  290. package/dist/esm/constants.mjs.map +1 -1
  291. package/dist/esm/constants.native.js.map +1 -1
  292. package/dist/esm/createApp.js +9 -1
  293. package/dist/esm/createApp.js.map +1 -1
  294. package/dist/esm/createApp.mjs.map +1 -1
  295. package/dist/esm/createHandleRequest.js +9 -3
  296. package/dist/esm/createHandleRequest.js.map +1 -1
  297. package/dist/esm/createHandleRequest.mjs.map +1 -1
  298. package/dist/esm/createHandleRequest.native.js.map +1 -1
  299. package/dist/esm/fork/__tests__/getPathFromState.test.js +90 -88
  300. package/dist/esm/fork/__tests__/getPathFromState.test.js.map +1 -1
  301. package/dist/esm/fork/__tests__/getPathFromState.test.mjs.map +1 -1
  302. package/dist/esm/fork/__tests__/getPathFromState.test.native.js.map +1 -1
  303. package/dist/esm/fork/__tests__/getStateFromPath.test.js +163 -86
  304. package/dist/esm/fork/__tests__/getStateFromPath.test.js.map +1 -1
  305. package/dist/esm/fork/__tests__/getStateFromPath.test.mjs.map +1 -1
  306. package/dist/esm/fork/__tests__/getStateFromPath.test.native.js.map +1 -1
  307. package/dist/esm/fork/_shared.js.map +1 -1
  308. package/dist/esm/fork/_shared.mjs.map +1 -1
  309. package/dist/esm/fork/_shared.native.js.map +1 -1
  310. package/dist/esm/fork/extractPathFromURL.js.map +1 -1
  311. package/dist/esm/fork/extractPathFromURL.mjs.map +1 -1
  312. package/dist/esm/fork/extractPathFromURL.native.js.map +1 -1
  313. package/dist/esm/fork/getPathFromState-mods.js +4 -1
  314. package/dist/esm/fork/getPathFromState-mods.js.map +1 -1
  315. package/dist/esm/fork/getPathFromState-mods.mjs.map +1 -1
  316. package/dist/esm/fork/getPathFromState-mods.native.js.map +1 -1
  317. package/dist/esm/fork/getPathFromState.js +3 -1
  318. package/dist/esm/fork/getPathFromState.js.map +1 -1
  319. package/dist/esm/fork/getPathFromState.mjs.map +1 -1
  320. package/dist/esm/fork/getPathFromState.native.js.map +1 -1
  321. package/dist/esm/fork/getStateFromPath-mods.js.map +1 -1
  322. package/dist/esm/fork/getStateFromPath-mods.mjs.map +1 -1
  323. package/dist/esm/fork/getStateFromPath-mods.native.js.map +1 -1
  324. package/dist/esm/fork/getStateFromPath.js +7 -1
  325. package/dist/esm/fork/getStateFromPath.js.map +1 -1
  326. package/dist/esm/fork/getStateFromPath.mjs.map +1 -1
  327. package/dist/esm/fork/getStateFromPath.native.js.map +1 -1
  328. package/dist/esm/fork/getStateFromPath.test.js +25 -9
  329. package/dist/esm/fork/getStateFromPath.test.js.map +1 -1
  330. package/dist/esm/fork/getStateFromPath.test.mjs.map +1 -1
  331. package/dist/esm/fork/getStateFromPath.test.native.js.map +1 -1
  332. package/dist/esm/fork/useBackButton.js.map +1 -1
  333. package/dist/esm/fork/useBackButton.mjs.map +1 -1
  334. package/dist/esm/fork/useDocumentTitle.js +4 -1
  335. package/dist/esm/fork/useDocumentTitle.js.map +1 -1
  336. package/dist/esm/fork/useDocumentTitle.mjs.map +1 -1
  337. package/dist/esm/fork/useLinking.js +4 -1
  338. package/dist/esm/fork/useLinking.js.map +1 -1
  339. package/dist/esm/fork/useLinking.mjs.map +1 -1
  340. package/dist/esm/fork/validatePathConfig.js.map +1 -1
  341. package/dist/esm/fork/validatePathConfig.mjs.map +1 -1
  342. package/dist/esm/fork/validatePathConfig.native.js.map +1 -1
  343. package/dist/esm/hooks.js.map +1 -1
  344. package/dist/esm/hooks.mjs.map +1 -1
  345. package/dist/esm/hooks.native.js.map +1 -1
  346. package/dist/esm/index.js +3 -1
  347. package/dist/esm/index.js.map +1 -1
  348. package/dist/esm/index.mjs.map +1 -1
  349. package/dist/esm/index.native.js.map +1 -1
  350. package/dist/esm/layouts/Tabs.js.map +1 -1
  351. package/dist/esm/layouts/Tabs.mjs.map +1 -1
  352. package/dist/esm/layouts/Tabs.native.js.map +1 -1
  353. package/dist/esm/layouts/withLayoutContext.js +10 -8
  354. package/dist/esm/layouts/withLayoutContext.js.map +1 -1
  355. package/dist/esm/layouts/withLayoutContext.mjs.map +1 -1
  356. package/dist/esm/layouts/withLayoutContext.native.js.map +1 -1
  357. package/dist/esm/link/Link.js.map +1 -1
  358. package/dist/esm/link/Link.mjs.map +1 -1
  359. package/dist/esm/link/Link.native.js.map +1 -1
  360. package/dist/esm/link/linking.js +3 -1
  361. package/dist/esm/link/linking.js.map +1 -1
  362. package/dist/esm/link/linking.mjs.map +1 -1
  363. package/dist/esm/link/linking.native.js.map +1 -1
  364. package/dist/esm/link/useLinkTo.js.map +1 -1
  365. package/dist/esm/link/useLinkTo.mjs.map +1 -1
  366. package/dist/esm/link/useLinkTo.native.js.map +1 -1
  367. package/dist/esm/link/useLoadedNavigation.js +3 -1
  368. package/dist/esm/link/useLoadedNavigation.js.map +1 -1
  369. package/dist/esm/link/useLoadedNavigation.mjs.map +1 -1
  370. package/dist/esm/link/useLoadedNavigation.native.js.map +1 -1
  371. package/dist/esm/metro-config/getViteMetroPluginOptions.js +8 -10
  372. package/dist/esm/metro-config/getViteMetroPluginOptions.js.map +1 -1
  373. package/dist/esm/metro-config/getViteMetroPluginOptions.mjs +6 -8
  374. package/dist/esm/metro-config/getViteMetroPluginOptions.mjs.map +1 -1
  375. package/dist/esm/metro-config/getViteMetroPluginOptions.native.js +9 -11
  376. package/dist/esm/metro-config/getViteMetroPluginOptions.native.js.map +1 -1
  377. package/dist/esm/router/Route.js.map +1 -1
  378. package/dist/esm/router/Route.mjs.map +1 -1
  379. package/dist/esm/router/Route.native.js.map +1 -1
  380. package/dist/esm/router/RouteInfoContext.js +7 -1
  381. package/dist/esm/router/RouteInfoContext.js.map +1 -1
  382. package/dist/esm/router/RouteInfoContext.mjs.map +1 -1
  383. package/dist/esm/router/RouteInfoContext.native.js.map +1 -1
  384. package/dist/esm/router/filterRootHTML.js.map +1 -1
  385. package/dist/esm/router/filterRootHTML.mjs.map +1 -1
  386. package/dist/esm/router/filterRootHTML.native.js.map +1 -1
  387. package/dist/esm/router/getLinkingConfig.js.map +1 -1
  388. package/dist/esm/router/getLinkingConfig.mjs.map +1 -1
  389. package/dist/esm/router/getLinkingConfig.native.js.map +1 -1
  390. package/dist/esm/router/getNormalizedStatePath.js.map +1 -1
  391. package/dist/esm/router/getNormalizedStatePath.mjs.map +1 -1
  392. package/dist/esm/router/getNormalizedStatePath.native.js.map +1 -1
  393. package/dist/esm/router/getRoutes.js +3 -1
  394. package/dist/esm/router/getRoutes.js.map +1 -1
  395. package/dist/esm/router/getRoutes.mjs.map +1 -1
  396. package/dist/esm/router/getRoutes.native.js.map +1 -1
  397. package/dist/esm/router/linkingConfig.js +3 -1
  398. package/dist/esm/router/linkingConfig.js.map +1 -1
  399. package/dist/esm/router/linkingConfig.mjs.map +1 -1
  400. package/dist/esm/router/linkingConfig.native.js.map +1 -1
  401. package/dist/esm/router/matchers.js +1 -1
  402. package/dist/esm/router/matchers.js.map +1 -1
  403. package/dist/esm/router/matchers.mjs +1 -1
  404. package/dist/esm/router/matchers.mjs.map +1 -1
  405. package/dist/esm/router/matchers.native.js +1 -1
  406. package/dist/esm/router/matchers.native.js.map +1 -1
  407. package/dist/esm/router/matchers.test.js +6 -2
  408. package/dist/esm/router/matchers.test.js.map +1 -1
  409. package/dist/esm/router/matchers.test.mjs.map +1 -1
  410. package/dist/esm/router/router.js +16 -4
  411. package/dist/esm/router/router.js.map +1 -1
  412. package/dist/esm/router/router.mjs.map +1 -1
  413. package/dist/esm/router/router.native.js.map +1 -1
  414. package/dist/esm/router/useNavigation.js.map +1 -1
  415. package/dist/esm/router/useNavigation.mjs.map +1 -1
  416. package/dist/esm/router/useNavigation.native.js.map +1 -1
  417. package/dist/esm/router/useScreens.js +73 -46
  418. package/dist/esm/router/useScreens.js.map +1 -1
  419. package/dist/esm/router/useScreens.mjs +74 -52
  420. package/dist/esm/router/useScreens.mjs.map +1 -1
  421. package/dist/esm/router/useScreens.native.js +30 -19
  422. package/dist/esm/router/useScreens.native.js.map +1 -1
  423. package/dist/esm/router/useViteRoutes.js +28 -9
  424. package/dist/esm/router/useViteRoutes.js.map +1 -1
  425. package/dist/esm/router/useViteRoutes.mjs +26 -8
  426. package/dist/esm/router/useViteRoutes.mjs.map +1 -1
  427. package/dist/esm/router/useViteRoutes.native.js +33 -13
  428. package/dist/esm/router/useViteRoutes.native.js.map +1 -1
  429. package/dist/esm/router/utils/getNavigateAction.js.map +1 -1
  430. package/dist/esm/router/utils/getNavigateAction.mjs.map +1 -1
  431. package/dist/esm/router/utils/getNavigateAction.native.js.map +1 -1
  432. package/dist/esm/server/createRoutesManifest.js.map +1 -1
  433. package/dist/esm/server/createRoutesManifest.mjs.map +1 -1
  434. package/dist/esm/server/createRoutesManifest.native.js.map +1 -1
  435. package/dist/esm/server/getServerManifest.js +3 -1
  436. package/dist/esm/server/getServerManifest.js.map +1 -1
  437. package/dist/esm/server/getServerManifest.mjs.map +1 -1
  438. package/dist/esm/server/getServerManifest.native.js.map +1 -1
  439. package/dist/esm/server/oneServe.js +9 -2
  440. package/dist/esm/server/oneServe.js.map +1 -1
  441. package/dist/esm/server/oneServe.mjs.map +1 -1
  442. package/dist/esm/server/oneServe.native.js.map +1 -1
  443. package/dist/esm/server/setupBuildOptions.js.map +1 -1
  444. package/dist/esm/server/setupBuildOptions.mjs.map +1 -1
  445. package/dist/esm/server/setupBuildOptions.native.js.map +1 -1
  446. package/dist/esm/server/staticHtmlFetcher.js.map +1 -1
  447. package/dist/esm/server/staticHtmlFetcher.mjs.map +1 -1
  448. package/dist/esm/server/staticHtmlFetcher.native.js.map +1 -1
  449. package/dist/esm/server-render.js.map +1 -1
  450. package/dist/esm/server-render.mjs.map +1 -1
  451. package/dist/esm/server-render.native.js.map +1 -1
  452. package/dist/esm/typed-routes/getTypedRoutesDeclarationFile.js +14 -2
  453. package/dist/esm/typed-routes/getTypedRoutesDeclarationFile.js.map +1 -1
  454. package/dist/esm/typed-routes/getTypedRoutesDeclarationFile.mjs.map +1 -1
  455. package/dist/esm/typed-routes/getTypedRoutesDeclarationFile.native.js.map +1 -1
  456. package/dist/esm/typed-routes/injectRouteHelpers.js +4 -1
  457. package/dist/esm/typed-routes/injectRouteHelpers.js.map +1 -1
  458. package/dist/esm/typed-routes/injectRouteHelpers.mjs.map +1 -1
  459. package/dist/esm/typed-routes/injectRouteHelpers.native.js.map +1 -1
  460. package/dist/esm/ui/Slot.js.map +1 -1
  461. package/dist/esm/ui/Slot.mjs.map +1 -1
  462. package/dist/esm/ui/Slot.native.js.map +1 -1
  463. package/dist/esm/ui/TabContext.js +3 -1
  464. package/dist/esm/ui/TabContext.js.map +1 -1
  465. package/dist/esm/ui/TabContext.mjs.map +1 -1
  466. package/dist/esm/ui/TabContext.native.js.map +1 -1
  467. package/dist/esm/ui/TabRouter.js.map +1 -1
  468. package/dist/esm/ui/TabRouter.mjs.map +1 -1
  469. package/dist/esm/ui/TabRouter.native.js.map +1 -1
  470. package/dist/esm/ui/TabTrigger.js +21 -3
  471. package/dist/esm/ui/TabTrigger.js.map +1 -1
  472. package/dist/esm/ui/TabTrigger.mjs.map +1 -1
  473. package/dist/esm/ui/TabTrigger.native.js.map +1 -1
  474. package/dist/esm/ui/Tabs.js +5 -1
  475. package/dist/esm/ui/Tabs.js.map +1 -1
  476. package/dist/esm/ui/Tabs.mjs.map +1 -1
  477. package/dist/esm/ui/Tabs.native.js.map +1 -1
  478. package/dist/esm/ui/common.js +8 -2
  479. package/dist/esm/ui/common.js.map +1 -1
  480. package/dist/esm/ui/common.mjs.map +1 -1
  481. package/dist/esm/ui/common.native.js.map +1 -1
  482. package/dist/esm/useLoader.js +4 -1
  483. package/dist/esm/useLoader.js.map +1 -1
  484. package/dist/esm/useLoader.mjs.map +1 -1
  485. package/dist/esm/useLoader.native.js.map +1 -1
  486. package/dist/esm/utils/cleanUrl.js.map +1 -1
  487. package/dist/esm/utils/cleanUrl.mjs.map +1 -1
  488. package/dist/esm/utils/cleanUrl.native.js.map +1 -1
  489. package/dist/esm/utils/url.js +3 -1
  490. package/dist/esm/utils/url.js.map +1 -1
  491. package/dist/esm/utils/url.mjs.map +1 -1
  492. package/dist/esm/utils/url.native.js.map +1 -1
  493. package/dist/esm/vercel/build/buildVercelOutputDirectory.js +29 -10
  494. package/dist/esm/vercel/build/buildVercelOutputDirectory.js.map +1 -1
  495. package/dist/esm/vercel/build/buildVercelOutputDirectory.mjs.map +1 -1
  496. package/dist/esm/vercel/build/buildVercelOutputDirectory.native.js.map +1 -1
  497. package/dist/esm/vercel/build/generate/createApiServerlessFunction.js +11 -3
  498. package/dist/esm/vercel/build/generate/createApiServerlessFunction.js.map +1 -1
  499. package/dist/esm/vercel/build/generate/createApiServerlessFunction.mjs.map +1 -1
  500. package/dist/esm/vercel/build/generate/createApiServerlessFunction.native.js.map +1 -1
  501. package/dist/esm/vercel/build/generate/createSsrServerlessFunction.js +9 -2
  502. package/dist/esm/vercel/build/generate/createSsrServerlessFunction.js.map +1 -1
  503. package/dist/esm/vercel/build/generate/createSsrServerlessFunction.mjs.map +1 -1
  504. package/dist/esm/vercel/build/generate/createSsrServerlessFunction.native.js.map +1 -1
  505. package/dist/esm/vercel/build/getPathFromRoute.js +4 -1
  506. package/dist/esm/vercel/build/getPathFromRoute.js.map +1 -1
  507. package/dist/esm/vercel/build/getPathFromRoute.mjs.map +1 -1
  508. package/dist/esm/vercel/build/getPathFromRoute.native.js.map +1 -1
  509. package/dist/esm/views/Navigator.js +20 -9
  510. package/dist/esm/views/Navigator.js.map +1 -1
  511. package/dist/esm/views/Navigator.mjs.map +1 -1
  512. package/dist/esm/views/Navigator.native.js.map +1 -1
  513. package/dist/esm/views/RootErrorBoundary.js +4 -2
  514. package/dist/esm/views/RootErrorBoundary.js.map +1 -1
  515. package/dist/esm/views/RootErrorBoundary.mjs.map +1 -1
  516. package/dist/esm/views/RootErrorBoundary.native.js.map +1 -1
  517. package/dist/esm/views/Screen.js +4 -1
  518. package/dist/esm/views/Screen.js.map +1 -1
  519. package/dist/esm/views/Screen.mjs.map +1 -1
  520. package/dist/esm/views/Screen.native.js.map +1 -1
  521. package/dist/esm/vite/DevHead.js +18 -0
  522. package/dist/esm/vite/DevHead.js.map +1 -1
  523. package/dist/esm/vite/DevHead.mjs +14 -0
  524. package/dist/esm/vite/DevHead.mjs.map +1 -1
  525. package/dist/esm/vite/loadConfig.js +6 -2
  526. package/dist/esm/vite/loadConfig.js.map +1 -1
  527. package/dist/esm/vite/loadConfig.mjs.map +1 -1
  528. package/dist/esm/vite/loadConfig.native.js.map +1 -1
  529. package/dist/esm/vite/one-server-only.js +3 -1
  530. package/dist/esm/vite/one-server-only.js.map +1 -1
  531. package/dist/esm/vite/one-server-only.mjs.map +1 -1
  532. package/dist/esm/vite/one.js +18 -5
  533. package/dist/esm/vite/one.js.map +1 -1
  534. package/dist/esm/vite/one.mjs +9 -2
  535. package/dist/esm/vite/one.mjs.map +1 -1
  536. package/dist/esm/vite/one.native.js +17 -12
  537. package/dist/esm/vite/one.native.js.map +1 -1
  538. package/dist/esm/vite/plugins/SSRCSSPlugin.js +5 -1
  539. package/dist/esm/vite/plugins/SSRCSSPlugin.js.map +1 -1
  540. package/dist/esm/vite/plugins/SSRCSSPlugin.mjs.map +1 -1
  541. package/dist/esm/vite/plugins/SSRCSSPlugin.native.js.map +1 -1
  542. package/dist/esm/vite/plugins/clientTreeShakePlugin.js +12 -3
  543. package/dist/esm/vite/plugins/clientTreeShakePlugin.js.map +1 -1
  544. package/dist/esm/vite/plugins/clientTreeShakePlugin.mjs.map +1 -1
  545. package/dist/esm/vite/plugins/clientTreeShakePlugin.native.js.map +1 -1
  546. package/dist/esm/vite/plugins/fileSystemRouterPlugin.js +13 -6
  547. package/dist/esm/vite/plugins/fileSystemRouterPlugin.js.map +1 -1
  548. package/dist/esm/vite/plugins/fileSystemRouterPlugin.mjs +2 -2
  549. package/dist/esm/vite/plugins/fileSystemRouterPlugin.mjs.map +1 -1
  550. package/dist/esm/vite/plugins/fileSystemRouterPlugin.native.js +5 -2
  551. package/dist/esm/vite/plugins/fileSystemRouterPlugin.native.js.map +1 -1
  552. package/dist/esm/vite/plugins/generateFileSystemRouteTypesPlugin.js +2 -2
  553. package/dist/esm/vite/plugins/generateFileSystemRouteTypesPlugin.js.map +1 -1
  554. package/dist/esm/vite/plugins/generateFileSystemRouteTypesPlugin.mjs +2 -2
  555. package/dist/esm/vite/plugins/generateFileSystemRouteTypesPlugin.mjs.map +1 -1
  556. package/dist/esm/vite/plugins/generateFileSystemRouteTypesPlugin.native.js +7 -4
  557. package/dist/esm/vite/plugins/generateFileSystemRouteTypesPlugin.native.js.map +1 -1
  558. package/dist/esm/vite/plugins/removeReactNativeWebAnimatedPlugin.js.map +1 -1
  559. package/dist/esm/vite/plugins/removeReactNativeWebAnimatedPlugin.mjs.map +1 -1
  560. package/dist/esm/vite/plugins/removeReactNativeWebAnimatedPlugin.native.js.map +1 -1
  561. package/dist/esm/vite/plugins/virtualEntryPlugin.js +13 -3
  562. package/dist/esm/vite/plugins/virtualEntryPlugin.js.map +1 -1
  563. package/dist/esm/vite/plugins/virtualEntryPlugin.mjs.map +1 -1
  564. package/dist/esm/vite/plugins/virtualEntryPlugin.native.js.map +1 -1
  565. package/dist/esm/vite/replaceLoader.js +4 -1
  566. package/dist/esm/vite/replaceLoader.js.map +1 -1
  567. package/dist/esm/vite/replaceLoader.mjs.map +1 -1
  568. package/dist/esm/vite/replaceLoader.native.js.map +1 -1
  569. package/dist/esm/vite/resolveResponse.js +5 -1
  570. package/dist/esm/vite/resolveResponse.js.map +1 -1
  571. package/dist/esm/vite/resolveResponse.mjs.map +1 -1
  572. package/dist/esm/vite/resolveResponse.native.js.map +1 -1
  573. package/dist/esm/zero/subscribeToQuery.js.map +1 -1
  574. package/dist/esm/zero/subscribeToQuery.mjs.map +1 -1
  575. package/dist/esm/zero/subscribeToQuery.native.js.map +1 -1
  576. package/dist/esm/zero/useQueryZero.js +3 -1
  577. package/dist/esm/zero/useQueryZero.js.map +1 -1
  578. package/dist/esm/zero/useQueryZero.mjs.map +1 -1
  579. package/dist/esm/zero/useQueryZero.native.js.map +1 -1
  580. package/metro-entry-ctx.js +2 -1
  581. package/package.json +10 -10
  582. package/src/Root.tsx +14 -5
  583. package/src/babel-plugins/one-router-metro.ts +4 -1
  584. package/src/babel-plugins/remove-server-code.ts +15 -4
  585. package/src/cli/build.ts +33 -8
  586. package/src/cli/buildPage.ts +15 -4
  587. package/src/cli/generateRoutes.ts +3 -1
  588. package/src/cli/generateSitemap.test.ts +14 -4
  589. package/src/cli/generateSitemap.ts +7 -2
  590. package/src/cli/main.ts +3 -1
  591. package/src/cli/prebuild.ts +5 -1
  592. package/src/clientLoaderResolver.ts +4 -1
  593. package/src/config.ts +6 -2
  594. package/src/constants.ts +4 -2
  595. package/src/createApp.tsx +11 -3
  596. package/src/createHandleRequest.ts +17 -6
  597. package/src/fork/__tests__/getPathFromState.test.tsx +128 -107
  598. package/src/fork/__tests__/getStateFromPath.test.tsx +181 -95
  599. package/src/fork/_shared.ts +2 -1
  600. package/src/fork/extractPathFromURL.ts +2 -1
  601. package/src/fork/getPathFromState-mods.ts +8 -2
  602. package/src/fork/getPathFromState.ts +16 -5
  603. package/src/fork/getStateFromPath-mods.ts +13 -3
  604. package/src/fork/getStateFromPath.test.ts +25 -9
  605. package/src/fork/getStateFromPath.ts +21 -5
  606. package/src/fork/useBackButton.native.tsx +3 -1
  607. package/src/fork/useBackButton.tsx +3 -1
  608. package/src/fork/useDocumentTitle.tsx +4 -1
  609. package/src/fork/useLinking.native.ts +3 -1
  610. package/src/fork/useLinking.ts +9 -3
  611. package/src/fork/validatePathConfig.ts +6 -1
  612. package/src/head/Head.ios.tsx +3 -1
  613. package/src/hooks.tsx +4 -2
  614. package/src/index.ts +4 -1
  615. package/src/interfaces/router.ts +29 -13
  616. package/src/layouts/Tabs.tsx +5 -1
  617. package/src/layouts/withLayoutContext.tsx +24 -21
  618. package/src/link/Link.tsx +3 -1
  619. package/src/link/linking.ts +3 -1
  620. package/src/link/useLinkTo.tsx +3 -1
  621. package/src/link/useLoadedNavigation.ts +5 -1
  622. package/src/metro-config/getViteMetroPluginOptions.ts +20 -22
  623. package/src/router/Route.tsx +3 -1
  624. package/src/router/RouteInfoContext.tsx +3 -1
  625. package/src/router/filterRootHTML.ts +5 -1
  626. package/src/router/getLinkingConfig.ts +4 -1
  627. package/src/router/getNormalizedStatePath.tsx +4 -1
  628. package/src/router/getRoutes.ts +13 -4
  629. package/src/router/linkingConfig.ts +4 -1
  630. package/src/router/matchers.test.ts +6 -2
  631. package/src/router/matchers.ts +1 -1
  632. package/src/router/router.ts +25 -6
  633. package/src/router/useNavigation.ts +4 -1
  634. package/src/router/useScreens.tsx +127 -64
  635. package/src/router/useViteRoutes.tsx +44 -2
  636. package/src/router/utils/getNavigateAction.ts +4 -2
  637. package/src/server/createRoutesManifest.ts +4 -1
  638. package/src/server/getServerManifest.ts +7 -2
  639. package/src/server/oneServe.ts +21 -8
  640. package/src/server/setupBuildOptions.ts +2 -1
  641. package/src/server/staticHtmlFetcher.ts +3 -1
  642. package/src/server-render.tsx +4 -1
  643. package/src/typed-routes/getTypedRoutesDeclarationFile.ts +20 -4
  644. package/src/typed-routes/injectRouteHelpers.ts +12 -3
  645. package/src/types.ts +2 -2
  646. package/src/ui/Slot.tsx +4 -2
  647. package/src/ui/TabContext.tsx +3 -1
  648. package/src/ui/TabRouter.tsx +7 -2
  649. package/src/ui/TabTrigger.tsx +20 -3
  650. package/src/ui/Tabs.tsx +8 -2
  651. package/src/ui/common.tsx +19 -5
  652. package/src/useLoader.ts +9 -4
  653. package/src/utils/cleanUrl.ts +5 -1
  654. package/src/utils/url.ts +3 -1
  655. package/src/vercel/build/buildVercelOutputDirectory.ts +31 -10
  656. package/src/vercel/build/generate/createApiServerlessFunction.ts +11 -3
  657. package/src/vercel/build/generate/createSsrServerlessFunction.ts +10 -3
  658. package/src/vercel/build/getPathFromRoute.ts +4 -1
  659. package/src/views/Navigator.tsx +21 -9
  660. package/src/views/RootErrorBoundary.tsx +3 -1
  661. package/src/views/Screen.tsx +4 -1
  662. package/src/vite/DevHead.tsx +15 -0
  663. package/src/vite/loadConfig.ts +6 -2
  664. package/src/vite/one-server-only.tsx +10 -4
  665. package/src/vite/one.ts +80 -47
  666. package/src/vite/plugins/SSRCSSPlugin.ts +9 -2
  667. package/src/vite/plugins/clientTreeShakePlugin.ts +22 -6
  668. package/src/vite/plugins/fileSystemRouterPlugin.tsx +14 -5
  669. package/src/vite/plugins/generateFileSystemRouteTypesPlugin.tsx +6 -3
  670. package/src/vite/plugins/removeReactNativeWebAnimatedPlugin.ts +3 -1
  671. package/src/vite/plugins/virtualEntryPlugin.ts +22 -5
  672. package/src/vite/replaceLoader.ts +7 -1
  673. package/src/vite/resolveResponse.ts +6 -2
  674. package/src/vite/types.ts +6 -3
  675. package/src/zero/subscribeToQuery.ts +4 -1
  676. package/src/zero/types.ts +8 -9
  677. package/src/zero/useQuery.ts +1 -1
  678. package/src/zero/useQueryZero.ts +3 -1
  679. package/types/Root.d.ts.map +1 -1
  680. package/types/babel-plugins/one-router-metro.d.ts.map +1 -1
  681. package/types/babel-plugins/remove-server-code.d.ts.map +1 -1
  682. package/types/cli/build.d.ts.map +1 -1
  683. package/types/cli/buildPage.d.ts.map +1 -1
  684. package/types/cli/generateRoutes.d.ts.map +1 -1
  685. package/types/cli/generateSitemap.d.ts.map +1 -1
  686. package/types/cli/main.d.ts.map +1 -1
  687. package/types/cli/prebuild.d.ts.map +1 -1
  688. package/types/clientLoaderResolver.d.ts.map +1 -1
  689. package/types/config.d.ts.map +1 -1
  690. package/types/constants.d.ts.map +1 -1
  691. package/types/createApp.d.ts.map +1 -1
  692. package/types/createHandleRequest.d.ts +1 -1
  693. package/types/createHandleRequest.d.ts.map +1 -1
  694. package/types/fork/_shared.d.ts.map +1 -1
  695. package/types/fork/extractPathFromURL.d.ts.map +1 -1
  696. package/types/fork/getPathFromState.d.ts.map +1 -1
  697. package/types/fork/getStateFromPath-mods.d.ts.map +1 -1
  698. package/types/fork/getStateFromPath.d.ts.map +1 -1
  699. package/types/fork/useBackButton.d.ts.map +1 -1
  700. package/types/fork/useBackButton.native.d.ts.map +1 -1
  701. package/types/fork/useDocumentTitle.d.ts.map +1 -1
  702. package/types/fork/useLinking.d.ts.map +1 -1
  703. package/types/fork/useLinking.native.d.ts.map +1 -1
  704. package/types/fork/validatePathConfig.d.ts.map +1 -1
  705. package/types/head/Head.ios.d.ts.map +1 -1
  706. package/types/hooks.d.ts +2 -2
  707. package/types/hooks.d.ts.map +1 -1
  708. package/types/index.d.ts +1 -1
  709. package/types/index.d.ts.map +1 -1
  710. package/types/interfaces/router.d.ts.map +1 -1
  711. package/types/layouts/Tabs.d.ts.map +1 -1
  712. package/types/layouts/withLayoutContext.d.ts.map +1 -1
  713. package/types/link/Link.d.ts.map +1 -1
  714. package/types/link/linking.d.ts.map +1 -1
  715. package/types/link/useLinkTo.d.ts.map +1 -1
  716. package/types/link/useLoadedNavigation.d.ts.map +1 -1
  717. package/types/metro-config/getViteMetroPluginOptions.d.ts.map +1 -1
  718. package/types/router/Route.d.ts.map +1 -1
  719. package/types/router/RouteInfoContext.d.ts.map +1 -1
  720. package/types/router/filterRootHTML.d.ts.map +1 -1
  721. package/types/router/getNormalizedStatePath.d.ts.map +1 -1
  722. package/types/router/getRoutes.d.ts.map +1 -1
  723. package/types/router/linkingConfig.d.ts.map +1 -1
  724. package/types/router/router.d.ts.map +1 -1
  725. package/types/router/useNavigation.d.ts.map +1 -1
  726. package/types/router/useScreens.d.ts.map +1 -1
  727. package/types/router/useViteRoutes.d.ts.map +1 -1
  728. package/types/router/utils/getNavigateAction.d.ts.map +1 -1
  729. package/types/server/createRoutesManifest.d.ts.map +1 -1
  730. package/types/server/getServerManifest.d.ts.map +1 -1
  731. package/types/server/oneServe.d.ts.map +1 -1
  732. package/types/server/setupBuildOptions.d.ts.map +1 -1
  733. package/types/server/staticHtmlFetcher.d.ts.map +1 -1
  734. package/types/server-render.d.ts.map +1 -1
  735. package/types/types.d.ts +2 -2
  736. package/types/ui/Slot.d.ts.map +1 -1
  737. package/types/ui/TabContext.d.ts.map +1 -1
  738. package/types/ui/TabRouter.d.ts.map +1 -1
  739. package/types/ui/TabTrigger.d.ts.map +1 -1
  740. package/types/ui/Tabs.d.ts.map +1 -1
  741. package/types/ui/common.d.ts.map +1 -1
  742. package/types/useLoader.d.ts.map +1 -1
  743. package/types/utils/cleanUrl.d.ts.map +1 -1
  744. package/types/utils/url.d.ts.map +1 -1
  745. package/types/vercel/build/buildVercelOutputDirectory.d.ts.map +1 -1
  746. package/types/vercel/build/generate/createApiServerlessFunction.d.ts.map +1 -1
  747. package/types/vercel/build/generate/createSsrServerlessFunction.d.ts.map +1 -1
  748. package/types/vercel/build/getPathFromRoute.d.ts.map +1 -1
  749. package/types/views/Navigator.d.ts +1 -1
  750. package/types/views/Navigator.d.ts.map +1 -1
  751. package/types/views/RootErrorBoundary.d.ts.map +1 -1
  752. package/types/views/Screen.d.ts +1 -1
  753. package/types/views/Screen.d.ts.map +1 -1
  754. package/types/vite/DevHead.d.ts.map +1 -1
  755. package/types/vite/loadConfig.d.ts.map +1 -1
  756. package/types/vite/one-server-only.d.ts +2 -2
  757. package/types/vite/one-server-only.d.ts.map +1 -1
  758. package/types/vite/one.d.ts.map +1 -1
  759. package/types/vite/plugins/SSRCSSPlugin.d.ts.map +1 -1
  760. package/types/vite/plugins/clientTreeShakePlugin.d.ts.map +1 -1
  761. package/types/vite/plugins/fileSystemRouterPlugin.d.ts.map +1 -1
  762. package/types/vite/plugins/generateFileSystemRouteTypesPlugin.d.ts.map +1 -1
  763. package/types/vite/plugins/removeReactNativeWebAnimatedPlugin.d.ts.map +1 -1
  764. package/types/vite/plugins/virtualEntryPlugin.d.ts.map +1 -1
  765. package/types/vite/replaceLoader.d.ts +2 -2
  766. package/types/vite/replaceLoader.d.ts.map +1 -1
  767. package/types/vite/resolveResponse.d.ts.map +1 -1
  768. package/types/vite/types.d.ts +1 -1
  769. package/types/vite/types.d.ts.map +1 -1
  770. package/types/zero/subscribeToQuery.d.ts.map +1 -1
  771. package/types/zero/types.d.ts.map +1 -1
  772. package/types/zero/useQueryZero.d.ts.map +1 -1
  773. package/vendor/react/cjs/react-jsx-dev-runtime.development.js +1230 -1078
  774. package/vendor/react/cjs/react-jsx-dev-runtime.production.min.js +4 -1
  775. package/vendor/react/cjs/react-jsx-dev-runtime.profiling.min.js +4 -1
  776. package/vendor/react/cjs/react-jsx-runtime.development.js +1244 -1092
  777. package/vendor/react/cjs/react-jsx-runtime.production.min.js +23 -2
  778. package/vendor/react/cjs/react-jsx-runtime.profiling.min.js +23 -2
  779. package/vendor/react/cjs/react.development.js +2604 -2324
  780. package/vendor/react/cjs/react.production.min.js +360 -17
  781. package/vendor/react/cjs/react.shared-subset.development.js +9 -7
  782. package/vendor/react/cjs/react.shared-subset.production.min.js +2 -1
  783. package/vendor/react/index.js +3 -3
  784. package/vendor/react/jsx-dev-runtime.js +3 -3
  785. package/vendor/react/jsx-runtime.js +3 -3
  786. package/vendor/react/react.shared-subset.js +3 -3
  787. package/vendor/react/umd/react.development.js +1430 -1152
  788. package/vendor/react/umd/react.production.min.js +657 -22
  789. package/vendor/react/umd/react.profiling.min.js +657 -22
  790. package/vendor/react-dom/cjs/react-dom-server-legacy.browser.development.js +7183 -5938
  791. package/vendor/react-dom/cjs/react-dom-server-legacy.browser.production.min.js +1941 -84
  792. package/vendor/react-dom/cjs/react-dom-server-legacy.node.development.js +7239 -5986
  793. package/vendor/react-dom/cjs/react-dom-server-legacy.node.production.min.js +2055 -92
  794. package/vendor/react-dom/cjs/react-dom-server.browser.development.js +7146 -5924
  795. package/vendor/react-dom/cjs/react-dom-server.browser.production.min.js +1997 -87
  796. package/vendor/react-dom/cjs/react-dom-server.node.development.js +7210 -5976
  797. package/vendor/react-dom/cjs/react-dom-server.node.production.min.js +2075 -93
  798. package/vendor/react-dom/cjs/react-dom-test-utils.development.js +1700 -1487
  799. package/vendor/react-dom/cjs/react-dom-test-utils.production.min.js +653 -31
  800. package/vendor/react-dom/cjs/react-dom.development.js +29568 -25248
  801. package/vendor/react-dom/cjs/react-dom.production.min.js +8208 -310
  802. package/vendor/react-dom/cjs/react-dom.profiling.min.js +8750 -343
  803. package/vendor/react-dom/client.js +15 -15
  804. package/vendor/react-dom/index.js +8 -8
  805. package/vendor/react-dom/profiling.js +8 -8
  806. package/vendor/react-dom/server.browser.js +12 -12
  807. package/vendor/react-dom/server.js +2 -2
  808. package/vendor/react-dom/server.node.js +12 -12
  809. package/vendor/react-dom/test-utils.js +3 -3
  810. package/vendor/react-dom/umd/react-dom-server-legacy.browser.development.js +3735 -2502
  811. package/vendor/react-dom/umd/react-dom-server-legacy.browser.production.min.js +1964 -66
  812. package/vendor/react-dom/umd/react-dom-server.browser.development.js +3724 -2511
  813. package/vendor/react-dom/umd/react-dom-server.browser.production.min.js +2017 -67
  814. package/vendor/react-dom/umd/react-dom-test-utils.development.js +777 -563
  815. package/vendor/react-dom/umd/react-dom-test-utils.production.min.js +678 -24
  816. package/vendor/react-dom/umd/react-dom.development.js +15978 -11854
  817. package/vendor/react-dom/umd/react-dom.production.min.js +8328 -256
  818. package/vendor/react-dom/umd/react-dom.profiling.min.js +8868 -274
@@ -7,95 +7,2058 @@
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
9
  */
10
- 'use strict';var ea=require("react"),fa=require("stream"),n=Object.prototype.hasOwnProperty,ha=/^[: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]*$/,ia={},ja={};
11
- function ka(a){if(n.call(ja,a))return!0;if(n.call(ia,a))return!1;if(ha.test(a))return ja[a]=!0;ia[a]=!0;return!1}function q(a,b,c,d,f,e,g){this.acceptsBooleans=2===b||3===b||4===b;this.attributeName=d;this.attributeNamespace=f;this.mustUseProperty=c;this.propertyName=a;this.type=b;this.sanitizeURL=e;this.removeEmptyString=g}var r={};
12
- "children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(a){r[a]=new q(a,0,!1,a,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(a){var b=a[0];r[b]=new q(b,1,!1,a[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(a){r[a]=new q(a,2,!1,a.toLowerCase(),null,!1,!1)});
13
- ["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(a){r[a]=new q(a,2,!1,a,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(a){r[a]=new q(a,3,!1,a.toLowerCase(),null,!1,!1)});
14
- ["checked","multiple","muted","selected"].forEach(function(a){r[a]=new q(a,3,!0,a,null,!1,!1)});["capture","download"].forEach(function(a){r[a]=new q(a,4,!1,a,null,!1,!1)});["cols","rows","size","span"].forEach(function(a){r[a]=new q(a,6,!1,a,null,!1,!1)});["rowSpan","start"].forEach(function(a){r[a]=new q(a,5,!1,a.toLowerCase(),null,!1,!1)});var la=/[\-:]([a-z])/g;function ma(a){return a[1].toUpperCase()}
15
- "accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(a){var b=a.replace(la,
16
- ma);r[b]=new q(b,1,!1,a,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(a){var b=a.replace(la,ma);r[b]=new q(b,1,!1,a,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(a){var b=a.replace(la,ma);r[b]=new q(b,1,!1,a,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(a){r[a]=new q(a,1,!1,a.toLowerCase(),null,!1,!1)});
17
- r.xlinkHref=new q("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(a){r[a]=new q(a,1,!1,a.toLowerCase(),null,!0,!0)});
18
- var t={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,
19
- fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},na=["Webkit","ms","Moz","O"];Object.keys(t).forEach(function(a){na.forEach(function(b){b=b+a.charAt(0).toUpperCase()+a.substring(1);t[b]=t[a]})});var oa=/["'&<>]/;
20
- function u(a){if("boolean"===typeof a||"number"===typeof a)return""+a;a=""+a;var b=oa.exec(a);if(b){var c="",d,f=0;for(d=b.index;d<a.length;d++){switch(a.charCodeAt(d)){case 34:b="&quot;";break;case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";break;default:continue}f!==d&&(c+=a.substring(f,d));f=d+1;c+=b}a=f!==d?c+a.substring(f,d):c}return a}var pa=/([A-Z])/g,qa=/^ms-/,ra=Array.isArray;function v(a,b){return{insertionMode:a,selectedValue:b}}
21
- function sa(a,b,c){switch(b){case "select":return v(1,null!=c.value?c.value:c.defaultValue);case "svg":return v(2,null);case "math":return v(3,null);case "foreignObject":return v(1,null);case "table":return v(4,null);case "thead":case "tbody":case "tfoot":return v(5,null);case "colgroup":return v(7,null);case "tr":return v(6,null)}return 4<=a.insertionMode||0===a.insertionMode?v(1,null):a}var ta=new Map;
22
- function ua(a,b,c){if("object"!==typeof c)throw Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");b=!0;for(var d in c)if(n.call(c,d)){var f=c[d];if(null!=f&&"boolean"!==typeof f&&""!==f){if(0===d.indexOf("--")){var e=u(d);f=u((""+f).trim())}else{e=d;var g=ta.get(e);void 0!==g?e=g:(g=u(e.replace(pa,"-$1").toLowerCase().replace(qa,"-ms-")),ta.set(e,g),e=g);f="number"===typeof f?0===f||n.call(t,
23
- d)?""+f:f+"px":u((""+f).trim())}b?(b=!1,a.push(' style="',e,":",f)):a.push(";",e,":",f)}}b||a.push('"')}
24
- function w(a,b,c,d){switch(c){case "style":ua(a,b,d);return;case "defaultValue":case "defaultChecked":case "innerHTML":case "suppressContentEditableWarning":case "suppressHydrationWarning":return}if(!(2<c.length)||"o"!==c[0]&&"O"!==c[0]||"n"!==c[1]&&"N"!==c[1])if(b=r.hasOwnProperty(c)?r[c]:null,null!==b){switch(typeof d){case "function":case "symbol":return;case "boolean":if(!b.acceptsBooleans)return}c=b.attributeName;switch(b.type){case 3:d&&a.push(" ",c,'=""');break;case 4:!0===d?a.push(" ",c,'=""'):
25
- !1!==d&&a.push(" ",c,'="',u(d),'"');break;case 5:isNaN(d)||a.push(" ",c,'="',u(d),'"');break;case 6:!isNaN(d)&&1<=d&&a.push(" ",c,'="',u(d),'"');break;default:b.sanitizeURL&&(d=""+d),a.push(" ",c,'="',u(d),'"')}}else if(ka(c)){switch(typeof d){case "function":case "symbol":return;case "boolean":if(b=c.toLowerCase().slice(0,5),"data-"!==b&&"aria-"!==b)return}a.push(" ",c,'="',u(d),'"')}}
26
- function x(a,b,c){if(null!=b){if(null!=c)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof b||!("__html"in b))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");b=b.__html;null!==b&&void 0!==b&&a.push(""+b)}}function va(a){var b="";ea.Children.forEach(a,function(a){null!=a&&(b+=a)});return b}
27
- function wa(a,b,c,d){a.push(z(c));var f=c=null,e;for(e in b)if(n.call(b,e)){var g=b[e];if(null!=g)switch(e){case "children":c=g;break;case "dangerouslySetInnerHTML":f=g;break;default:w(a,d,e,g)}}a.push(">");x(a,f,c);return"string"===typeof c?(a.push(u(c)),null):c}var xa=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ya=new Map;function z(a){var b=ya.get(a);if(void 0===b){if(!xa.test(a))throw Error("Invalid tag: "+a);b="<"+a;ya.set(a,b)}return b}
28
- function za(a,b,c,d,f){switch(b){case "select":a.push(z("select"));var e=null,g=null;for(l in c)if(n.call(c,l)){var h=c[l];if(null!=h)switch(l){case "children":e=h;break;case "dangerouslySetInnerHTML":g=h;break;case "defaultValue":case "value":break;default:w(a,d,l,h)}}a.push(">");x(a,g,e);return e;case "option":g=f.selectedValue;a.push(z("option"));var k=h=null,m=null;var l=null;for(e in c)if(n.call(c,e)){var p=c[e];if(null!=p)switch(e){case "children":h=p;break;case "selected":m=p;break;case "dangerouslySetInnerHTML":l=
29
- p;break;case "value":k=p;default:w(a,d,e,p)}}if(null!=g)if(c=null!==k?""+k:va(h),ra(g))for(d=0;d<g.length;d++){if(""+g[d]===c){a.push(' selected=""');break}}else""+g===c&&a.push(' selected=""');else m&&a.push(' selected=""');a.push(">");x(a,l,h);return h;case "textarea":a.push(z("textarea"));l=g=e=null;for(h in c)if(n.call(c,h)&&(k=c[h],null!=k))switch(h){case "children":l=k;break;case "value":e=k;break;case "defaultValue":g=k;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");
30
- default:w(a,d,h,k)}null===e&&null!==g&&(e=g);a.push(">");if(null!=l){if(null!=e)throw Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(ra(l)&&1<l.length)throw Error("<textarea> can only have at most one child.");e=""+l}"string"===typeof e&&"\n"===e[0]&&a.push("\n");null!==e&&a.push(u(""+e));return null;case "input":a.push(z("input"));k=l=h=e=null;for(g in c)if(n.call(c,g)&&(m=c[g],null!=m))switch(g){case "children":case "dangerouslySetInnerHTML":throw Error("input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");
31
- case "defaultChecked":k=m;break;case "defaultValue":h=m;break;case "checked":l=m;break;case "value":e=m;break;default:w(a,d,g,m)}null!==l?w(a,d,"checked",l):null!==k&&w(a,d,"checked",k);null!==e?w(a,d,"value",e):null!==h&&w(a,d,"value",h);a.push("/>");return null;case "menuitem":a.push(z("menuitem"));for(var B in c)if(n.call(c,B)&&(e=c[B],null!=e))switch(B){case "children":case "dangerouslySetInnerHTML":throw Error("menuitems cannot have `children` nor `dangerouslySetInnerHTML`.");default:w(a,d,B,
32
- e)}a.push(">");return null;case "title":a.push(z("title"));e=null;for(p in c)if(n.call(c,p)&&(g=c[p],null!=g))switch(p){case "children":e=g;break;case "dangerouslySetInnerHTML":throw Error("`dangerouslySetInnerHTML` does not make sense on <title>.");default:w(a,d,p,g)}a.push(">");return e;case "listing":case "pre":a.push(z(b));g=e=null;for(k in c)if(n.call(c,k)&&(h=c[k],null!=h))switch(k){case "children":e=h;break;case "dangerouslySetInnerHTML":g=h;break;default:w(a,d,k,h)}a.push(">");if(null!=g){if(null!=
33
- e)throw Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!==typeof g||!("__html"in g))throw Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.");c=g.__html;null!==c&&void 0!==c&&("string"===typeof c&&0<c.length&&"\n"===c[0]?a.push("\n",c):a.push(""+c))}"string"===typeof e&&"\n"===e[0]&&a.push("\n");return e;case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":a.push(z(b));
34
- for(var C in c)if(n.call(c,C)&&(e=c[C],null!=e))switch(C){case "children":case "dangerouslySetInnerHTML":throw Error(b+" is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");default:w(a,d,C,e)}a.push("/>");return null;case "annotation-xml":case "color-profile":case "font-face":case "font-face-src":case "font-face-uri":case "font-face-format":case "font-face-name":case "missing-glyph":return wa(a,c,b,d);case "html":return 0===f.insertionMode&&a.push("<!DOCTYPE html>"),
35
- wa(a,c,b,d);default:if(-1===b.indexOf("-")&&"string"!==typeof c.is)return wa(a,c,b,d);a.push(z(b));g=e=null;for(m in c)if(n.call(c,m)&&(h=c[m],null!=h))switch(m){case "children":e=h;break;case "dangerouslySetInnerHTML":g=h;break;case "style":ua(a,d,h);break;case "suppressContentEditableWarning":case "suppressHydrationWarning":break;default:ka(m)&&"function"!==typeof h&&"symbol"!==typeof h&&a.push(" ",m,'="',u(h),'"')}a.push(">");x(a,g,e);return e}}
36
- function Aa(a,b,c){a.push('\x3c!--$?--\x3e<template id="');if(null===c)throw Error("An ID must have been assigned before we can complete the boundary.");a.push(c);return a.push('"></template>')}
37
- function Ba(a,b,c,d){switch(c.insertionMode){case 0:case 1:return a.push('<div hidden id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 2:return a.push('<svg aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 3:return a.push('<math aria-hidden="true" style="display:none" id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 4:return a.push('<table hidden id="'),a.push(b.segmentPrefix),
38
- b=d.toString(16),a.push(b),a.push('">');case 5:return a.push('<table hidden><tbody id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 6:return a.push('<table hidden><tr id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');case 7:return a.push('<table hidden><colgroup id="'),a.push(b.segmentPrefix),b=d.toString(16),a.push(b),a.push('">');default:throw Error("Unknown insertion mode. This is a bug in React.");}}
39
- function Ca(a,b){switch(b.insertionMode){case 0:case 1:return a.push("</div>");case 2:return a.push("</svg>");case 3:return a.push("</math>");case 4:return a.push("</table>");case 5:return a.push("</tbody></table>");case 6:return a.push("</tr></table>");case 7:return a.push("</colgroup></table>");default:throw Error("Unknown insertion mode. This is a bug in React.");}}var Da=/[<\u2028\u2029]/g;
40
- function Ea(a){return JSON.stringify(a).replace(Da,function(a){switch(a){case "<":return"\\u003c";case "\u2028":return"\\u2028";case "\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React");}})}
41
- function Fa(a,b){b=void 0===b?"":b;return{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:b+"P:",segmentPrefix:b+"S:",boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:a}}function Ga(){return{insertionMode:1,selectedValue:null}}function Ha(a,b,c,d){if(c.generateStaticMarkup)return a.push(u(b)),!1;""===b?a=d:(d&&a.push("\x3c!-- --\x3e"),a.push(u(b)),a=!0);return a}
42
- var A=Object.assign,Ia=Symbol.for("react.element"),Ja=Symbol.for("react.portal"),Ka=Symbol.for("react.fragment"),La=Symbol.for("react.strict_mode"),Ma=Symbol.for("react.profiler"),Na=Symbol.for("react.provider"),Oa=Symbol.for("react.context"),Pa=Symbol.for("react.forward_ref"),Qa=Symbol.for("react.suspense"),Ra=Symbol.for("react.suspense_list"),Sa=Symbol.for("react.memo"),Ta=Symbol.for("react.lazy"),Ua=Symbol.for("react.scope"),Va=Symbol.for("react.debug_trace_mode"),Wa=Symbol.for("react.legacy_hidden"),
43
- Xa=Symbol.for("react.default_value"),Ya=Symbol.iterator;
44
- function Za(a){if(null==a)return null;if("function"===typeof a)return a.displayName||a.name||null;if("string"===typeof a)return a;switch(a){case Ka:return"Fragment";case Ja:return"Portal";case Ma:return"Profiler";case La:return"StrictMode";case Qa:return"Suspense";case Ra:return"SuspenseList"}if("object"===typeof a)switch(a.$$typeof){case Oa:return(a.displayName||"Context")+".Consumer";case Na:return(a._context.displayName||"Context")+".Provider";case Pa:var b=a.render;a=a.displayName;a||(a=b.displayName||
45
- b.name||"",a=""!==a?"ForwardRef("+a+")":"ForwardRef");return a;case Sa:return b=a.displayName||null,null!==b?b:Za(a.type)||"Memo";case Ta:b=a._payload;a=a._init;try{return Za(a(b))}catch(c){}}return null}var $a={};function ab(a,b){a=a.contextTypes;if(!a)return $a;var c={},d;for(d in a)c[d]=b[d];return c}var D=null;
46
- function E(a,b){if(a!==b){a.context._currentValue2=a.parentValue;a=a.parent;var c=b.parent;if(null===a){if(null!==c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");}else{if(null===c)throw Error("The stacks must reach the root at the same time. This is a bug in React.");E(a,c)}b.context._currentValue2=b.value}}function bb(a){a.context._currentValue2=a.parentValue;a=a.parent;null!==a&&bb(a)}
47
- function cb(a){var b=a.parent;null!==b&&cb(b);a.context._currentValue2=a.value}function db(a,b){a.context._currentValue2=a.parentValue;a=a.parent;if(null===a)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===b.depth?E(a,b):db(a,b)}
48
- function eb(a,b){var c=b.parent;if(null===c)throw Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");a.depth===c.depth?E(a,c):eb(a,c);b.context._currentValue2=b.value}function F(a){var b=D;b!==a&&(null===b?cb(a):null===a?bb(b):b.depth===a.depth?E(b,a):b.depth>a.depth?db(b,a):eb(b,a),D=a)}
49
- var fb={isMounted:function(){return!1},enqueueSetState:function(a,b){a=a._reactInternals;null!==a.queue&&a.queue.push(b)},enqueueReplaceState:function(a,b){a=a._reactInternals;a.replace=!0;a.queue=[b]},enqueueForceUpdate:function(){}};
50
- function gb(a,b,c,d){var f=void 0!==a.state?a.state:null;a.updater=fb;a.props=c;a.state=f;var e={queue:[],replace:!1};a._reactInternals=e;var g=b.contextType;a.context="object"===typeof g&&null!==g?g._currentValue2:d;g=b.getDerivedStateFromProps;"function"===typeof g&&(g=g(c,f),f=null===g||void 0===g?f:A({},f,g),a.state=f);if("function"!==typeof b.getDerivedStateFromProps&&"function"!==typeof a.getSnapshotBeforeUpdate&&("function"===typeof a.UNSAFE_componentWillMount||"function"===typeof a.componentWillMount))if(b=
51
- a.state,"function"===typeof a.componentWillMount&&a.componentWillMount(),"function"===typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount(),b!==a.state&&fb.enqueueReplaceState(a,a.state,null),null!==e.queue&&0<e.queue.length)if(b=e.queue,g=e.replace,e.queue=null,e.replace=!1,g&&1===b.length)a.state=b[0];else{e=g?b[0]:a.state;f=!0;for(g=g?1:0;g<b.length;g++){var h=b[g];h="function"===typeof h?h.call(a,e,c,d):h;null!=h&&(f?(f=!1,e=A({},e,h)):A(e,h))}a.state=e}else e.queue=null}
52
- var hb={id:1,overflow:""};function ib(a,b,c){var d=a.id;a=a.overflow;var f=32-G(d)-1;d&=~(1<<f);c+=1;var e=32-G(b)+f;if(30<e){var g=f-f%5;e=(d&(1<<g)-1).toString(32);d>>=g;f-=g;return{id:1<<32-G(b)+f|c<<f|d,overflow:e+a}}return{id:1<<e|c<<f|d,overflow:a}}var G=Math.clz32?Math.clz32:jb,kb=Math.log,lb=Math.LN2;function jb(a){a>>>=0;return 0===a?32:31-(kb(a)/lb|0)|0}function mb(a,b){return a===b&&(0!==a||1/a===1/b)||a!==a&&b!==b}
53
- var nb="function"===typeof Object.is?Object.is:mb,H=null,ob=null,I=null,J=null,K=!1,L=!1,M=0,N=null,O=0;
54
- function P(){if(null===H)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.");return H}
55
- function rb(){if(0<O)throw Error("Rendered more hooks than during the previous render");return{memoizedState:null,queue:null,next:null}}function sb(){null===J?null===I?(K=!1,I=J=rb()):(K=!0,J=I):null===J.next?(K=!1,J=J.next=rb()):(K=!0,J=J.next);return J}function tb(){ob=H=null;L=!1;I=null;O=0;J=N=null}function ub(a,b){return"function"===typeof b?b(a):b}
56
- function vb(a,b,c){H=P();J=sb();if(K){var d=J.queue;b=d.dispatch;if(null!==N&&(c=N.get(d),void 0!==c)){N.delete(d);d=J.memoizedState;do d=a(d,c.action),c=c.next;while(null!==c);J.memoizedState=d;return[d,b]}return[J.memoizedState,b]}a=a===ub?"function"===typeof b?b():b:void 0!==c?c(b):b;J.memoizedState=a;a=J.queue={last:null,dispatch:null};a=a.dispatch=wb.bind(null,H,a);return[J.memoizedState,a]}
57
- function xb(a,b){H=P();J=sb();b=void 0===b?null:b;if(null!==J){var c=J.memoizedState;if(null!==c&&null!==b){var d=c[1];a:if(null===d)d=!1;else{for(var f=0;f<d.length&&f<b.length;f++)if(!nb(b[f],d[f])){d=!1;break a}d=!0}if(d)return c[0]}}a=a();J.memoizedState=[a,b];return a}
58
- function wb(a,b,c){if(25<=O)throw Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");if(a===H)if(L=!0,a={action:c,next:null},null===N&&(N=new Map),c=N.get(b),void 0===c)N.set(b,a);else{for(b=c;null!==b.next;)b=b.next;b.next=a}}function yb(){throw Error("startTransition cannot be called during server rendering.");}function Q(){}
59
- var zb={readContext:function(a){return a._currentValue2},useContext:function(a){P();return a._currentValue2},useMemo:xb,useReducer:vb,useRef:function(a){H=P();J=sb();var b=J.memoizedState;return null===b?(a={current:a},J.memoizedState=a):b},useState:function(a){return vb(ub,a)},useInsertionEffect:Q,useLayoutEffect:function(){},useCallback:function(a,b){return xb(function(){return a},b)},useImperativeHandle:Q,useEffect:Q,useDebugValue:Q,useDeferredValue:function(a){P();return a},useTransition:function(){P();
60
- return[!1,yb]},useId:function(){var a=ob.treeContext;var b=a.overflow;a=a.id;a=(a&~(1<<32-G(a)-1)).toString(32)+b;var c=R;if(null===c)throw Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");b=M++;a=":"+c.idPrefix+"R"+a;0<b&&(a+="H"+b.toString(32));return a+":"},useMutableSource:function(a,b){P();return b(a._source)},useSyncExternalStore:function(a,b,c){if(void 0===c)throw Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");
61
- return c()}},R=null,Ab=ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Bb(a){console.error(a);return null}function S(){}
62
- function Cb(a,b,c,d,f,e,g,h,k){var m=[],l=new Set;b={destination:null,responseState:b,progressiveChunkSize:void 0===d?12800:d,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:l,pingedTasks:m,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:void 0===f?Bb:f,onAllReady:void 0===e?S:e,onShellReady:void 0===g?S:g,onShellError:void 0===h?S:h,onFatalError:void 0===k?S:k};c=T(b,0,null,c,!1,!1);c.parentFlushed=
63
- !0;a=Db(b,a,null,c,l,$a,null,hb);m.push(a);return b}function Db(a,b,c,d,f,e,g,h){a.allPendingTasks++;null===c?a.pendingRootTasks++:c.pendingTasks++;var k={node:b,ping:function(){var b=a.pingedTasks;b.push(k);1===b.length&&Eb(a)},blockedBoundary:c,blockedSegment:d,abortSet:f,legacyContext:e,context:g,treeContext:h};f.add(k);return k}function T(a,b,c,d,f,e){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],formatContext:d,boundary:c,lastPushedText:f,textEmbedded:e}}
64
- function U(a,b){a=a.onError(b);if(null!=a&&"string"!==typeof a)throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof a+'" instead');return a}function V(a,b){var c=a.onShellError;c(b);c=a.onFatalError;c(b);null!==a.destination?(a.status=2,a.destination.destroy(b)):(a.status=1,a.fatalError=b)}
65
- function Fb(a,b,c,d,f){H={};ob=b;M=0;for(a=c(d,f);L;)L=!1,M=0,O+=1,J=null,a=c(d,f);tb();return a}function Gb(a,b,c,d){var f=c.render(),e=d.childContextTypes;if(null!==e&&void 0!==e){var g=b.legacyContext;if("function"!==typeof c.getChildContext)d=g;else{c=c.getChildContext();for(var h in c)if(!(h in e))throw Error((Za(d)||"Unknown")+'.getChildContext(): key "'+h+'" is not defined in childContextTypes.');d=A({},g,c)}b.legacyContext=d;W(a,b,f);b.legacyContext=g}else W(a,b,f)}
66
- function Hb(a,b){if(a&&a.defaultProps){b=A({},b);a=a.defaultProps;for(var c in a)void 0===b[c]&&(b[c]=a[c]);return b}return b}
67
- function Ib(a,b,c,d,f){if("function"===typeof c)if(c.prototype&&c.prototype.isReactComponent){f=ab(c,b.legacyContext);var e=c.contextType;e=new c(d,"object"===typeof e&&null!==e?e._currentValue2:f);gb(e,c,d,f);Gb(a,b,e,c)}else{e=ab(c,b.legacyContext);f=Fb(a,b,c,d,e);var g=0!==M;if("object"===typeof f&&null!==f&&"function"===typeof f.render&&void 0===f.$$typeof)gb(f,c,d,e),Gb(a,b,f,c);else if(g){d=b.treeContext;b.treeContext=ib(d,1,0);try{W(a,b,f)}finally{b.treeContext=d}}else W(a,b,f)}else if("string"===
68
- typeof c){f=b.blockedSegment;e=za(f.chunks,c,d,a.responseState,f.formatContext);f.lastPushedText=!1;g=f.formatContext;f.formatContext=sa(g,c,d);Jb(a,b,e);f.formatContext=g;switch(c){case "area":case "base":case "br":case "col":case "embed":case "hr":case "img":case "input":case "keygen":case "link":case "meta":case "param":case "source":case "track":case "wbr":break;default:f.chunks.push("</",c,">")}f.lastPushedText=!1}else{switch(c){case Wa:case Va:case La:case Ma:case Ka:W(a,b,d.children);return;
69
- case Ra:W(a,b,d.children);return;case Ua:throw Error("ReactDOMServer does not yet support scope components.");case Qa:a:{c=b.blockedBoundary;f=b.blockedSegment;e=d.fallback;d=d.children;g=new Set;var h={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:g,errorDigest:null},k=T(a,f.chunks.length,h,f.formatContext,!1,!1);f.children.push(k);f.lastPushedText=!1;var m=T(a,0,null,f.formatContext,!1,!1);m.parentFlushed=!0;
70
- b.blockedBoundary=h;b.blockedSegment=m;try{if(Jb(a,b,d),a.responseState.generateStaticMarkup||m.lastPushedText&&m.textEmbedded&&m.chunks.push("\x3c!-- --\x3e"),m.status=1,X(h,m),0===h.pendingTasks)break a}catch(l){m.status=4,h.forceClientRender=!0,h.errorDigest=U(a,l)}finally{b.blockedBoundary=c,b.blockedSegment=f}b=Db(a,e,c,k,g,b.legacyContext,b.context,b.treeContext);a.pingedTasks.push(b)}return}if("object"===typeof c&&null!==c)switch(c.$$typeof){case Pa:d=Fb(a,b,c.render,d,f);if(0!==M){c=b.treeContext;
71
- b.treeContext=ib(c,1,0);try{W(a,b,d)}finally{b.treeContext=c}}else W(a,b,d);return;case Sa:c=c.type;d=Hb(c,d);Ib(a,b,c,d,f);return;case Na:f=d.children;c=c._context;d=d.value;e=c._currentValue2;c._currentValue2=d;g=D;D=d={parent:g,depth:null===g?0:g.depth+1,context:c,parentValue:e,value:d};b.context=d;W(a,b,f);a=D;if(null===a)throw Error("Tried to pop a Context at the root of the app. This is a bug in React.");d=a.parentValue;a.context._currentValue2=d===Xa?a.context._defaultValue:d;a=D=a.parent;
72
- b.context=a;return;case Oa:d=d.children;d=d(c._currentValue2);W(a,b,d);return;case Ta:f=c._init;c=f(c._payload);d=Hb(c,d);Ib(a,b,c,d,void 0);return}throw Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+((null==c?c:typeof c)+"."));}}
73
- function W(a,b,c){b.node=c;if("object"===typeof c&&null!==c){switch(c.$$typeof){case Ia:Ib(a,b,c.type,c.props,c.ref);return;case Ja:throw Error("Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.");case Ta:var d=c._init;c=d(c._payload);W(a,b,c);return}if(ra(c)){Kb(a,b,c);return}null===c||"object"!==typeof c?d=null:(d=Ya&&c[Ya]||c["@@iterator"],d="function"===typeof d?d:null);if(d&&(d=d.call(c))){c=d.next();if(!c.done){var f=
74
- [];do f.push(c.value),c=d.next();while(!c.done);Kb(a,b,f)}return}a=Object.prototype.toString.call(c);throw Error("Objects are not valid as a React child (found: "+("[object Object]"===a?"object with keys {"+Object.keys(c).join(", ")+"}":a)+"). If you meant to render a collection of children, use an array instead.");}"string"===typeof c?(d=b.blockedSegment,d.lastPushedText=Ha(b.blockedSegment.chunks,c,a.responseState,d.lastPushedText)):"number"===typeof c&&(d=b.blockedSegment,d.lastPushedText=Ha(b.blockedSegment.chunks,
75
- ""+c,a.responseState,d.lastPushedText))}function Kb(a,b,c){for(var d=c.length,f=0;f<d;f++){var e=b.treeContext;b.treeContext=ib(e,d,f);try{Jb(a,b,c[f])}finally{b.treeContext=e}}}
76
- function Jb(a,b,c){var d=b.blockedSegment.formatContext,f=b.legacyContext,e=b.context;try{return W(a,b,c)}catch(k){if(tb(),"object"===typeof k&&null!==k&&"function"===typeof k.then){c=k;var g=b.blockedSegment,h=T(a,g.chunks.length,null,g.formatContext,g.lastPushedText,!0);g.children.push(h);g.lastPushedText=!1;a=Db(a,b.node,b.blockedBoundary,h,b.abortSet,b.legacyContext,b.context,b.treeContext).ping;c.then(a,a);b.blockedSegment.formatContext=d;b.legacyContext=f;b.context=e;F(e)}else throw b.blockedSegment.formatContext=
77
- d,b.legacyContext=f,b.context=e,F(e),k;}}function Lb(a){var b=a.blockedBoundary;a=a.blockedSegment;a.status=3;Mb(this,b,a)}
78
- function Nb(a,b,c){var d=a.blockedBoundary;a.blockedSegment.status=3;null===d?(b.allPendingTasks--,2!==b.status&&(b.status=2,null!==b.destination&&b.destination.push(null))):(d.pendingTasks--,d.forceClientRender||(d.forceClientRender=!0,d.errorDigest=b.onError(void 0===c?Error("The render was aborted by the server without a reason."):c),d.parentFlushed&&b.clientRenderedBoundaries.push(d)),d.fallbackAbortableTasks.forEach(function(a){return Nb(a,b,c)}),d.fallbackAbortableTasks.clear(),b.allPendingTasks--,
79
- 0===b.allPendingTasks&&(a=b.onAllReady,a()))}function X(a,b){if(0===b.chunks.length&&1===b.children.length&&null===b.children[0].boundary){var c=b.children[0];c.id=b.id;c.parentFlushed=!0;1===c.status&&X(a,c)}else a.completedSegments.push(b)}
80
- function Mb(a,b,c){if(null===b){if(c.parentFlushed){if(null!==a.completedRootSegment)throw Error("There can only be one root segment. This is a bug in React.");a.completedRootSegment=c}a.pendingRootTasks--;0===a.pendingRootTasks&&(a.onShellError=S,b=a.onShellReady,b())}else b.pendingTasks--,b.forceClientRender||(0===b.pendingTasks?(c.parentFlushed&&1===c.status&&X(b,c),b.parentFlushed&&a.completedBoundaries.push(b),b.fallbackAbortableTasks.forEach(Lb,a),b.fallbackAbortableTasks.clear()):c.parentFlushed&&
81
- 1===c.status&&(X(b,c),1===b.completedSegments.length&&b.parentFlushed&&a.partialBoundaries.push(b)));a.allPendingTasks--;0===a.allPendingTasks&&(a=a.onAllReady,a())}
82
- function Eb(a){if(2!==a.status){var b=D,c=Ab.current;Ab.current=zb;var d=R;R=a.responseState;try{var f=a.pingedTasks,e;for(e=0;e<f.length;e++){var g=f[e];var h=a,k=g.blockedSegment;if(0===k.status){F(g.context);try{W(h,g,g.node),h.responseState.generateStaticMarkup||k.lastPushedText&&k.textEmbedded&&k.chunks.push("\x3c!-- --\x3e"),g.abortSet.delete(g),k.status=1,Mb(h,g.blockedBoundary,k)}catch(y){if(tb(),"object"===typeof y&&null!==y&&"function"===typeof y.then){var m=g.ping;y.then(m,m)}else{g.abortSet.delete(g);
83
- k.status=4;var l=g.blockedBoundary,p=y,B=U(h,p);null===l?V(h,p):(l.pendingTasks--,l.forceClientRender||(l.forceClientRender=!0,l.errorDigest=B,l.parentFlushed&&h.clientRenderedBoundaries.push(l)));h.allPendingTasks--;if(0===h.allPendingTasks){var C=h.onAllReady;C()}}}finally{}}}f.splice(0,e);null!==a.destination&&Ob(a,a.destination)}catch(y){U(a,y),V(a,y)}finally{R=d,Ab.current=c,c===zb&&F(b)}}}
84
- function Y(a,b,c){c.parentFlushed=!0;switch(c.status){case 0:var d=c.id=a.nextSegmentId++;c.lastPushedText=!1;c.textEmbedded=!1;a=a.responseState;b.push('<template id="');b.push(a.placeholderPrefix);a=d.toString(16);b.push(a);return b.push('"></template>');case 1:c.status=2;var f=!0;d=c.chunks;var e=0;c=c.children;for(var g=0;g<c.length;g++){for(f=c[g];e<f.index;e++)b.push(d[e]);f=Z(a,b,f)}for(;e<d.length-1;e++)b.push(d[e]);e<d.length&&(f=b.push(d[e]));return f;default:throw Error("Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.");
85
- }}
86
- function Z(a,b,c){var d=c.boundary;if(null===d)return Y(a,b,c);d.parentFlushed=!0;if(d.forceClientRender)return a.responseState.generateStaticMarkup||(d=d.errorDigest,b.push("\x3c!--$!--\x3e"),b.push("<template"),d&&(b.push(' data-dgst="'),d=u(d),b.push(d),b.push('"')),b.push("></template>")),Y(a,b,c),a=a.responseState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e"),a;if(0<d.pendingTasks){d.rootSegmentID=a.nextSegmentId++;0<d.completedSegments.length&&a.partialBoundaries.push(d);var f=a.responseState;var e=
87
- f.nextSuspenseID++;f=f.boundaryPrefix+e.toString(16);d=d.id=f;Aa(b,a.responseState,d);Y(a,b,c);return b.push("\x3c!--/$--\x3e")}if(d.byteSize>a.progressiveChunkSize)return d.rootSegmentID=a.nextSegmentId++,a.completedBoundaries.push(d),Aa(b,a.responseState,d.id),Y(a,b,c),b.push("\x3c!--/$--\x3e");a.responseState.generateStaticMarkup||b.push("\x3c!--$--\x3e");c=d.completedSegments;if(1!==c.length)throw Error("A previously unvisited boundary must have exactly one root segment. This is a bug in React.");
88
- Z(a,b,c[0]);a=a.responseState.generateStaticMarkup?!0:b.push("\x3c!--/$--\x3e");return a}function Pb(a,b,c){Ba(b,a.responseState,c.formatContext,c.id);Z(a,b,c);return Ca(b,c.formatContext)}
89
- function Qb(a,b,c){for(var d=c.completedSegments,f=0;f<d.length;f++)Rb(a,b,c,d[f]);d.length=0;a=a.responseState;d=c.id;c=c.rootSegmentID;b.push(a.startInlineScript);a.sentCompleteBoundaryFunction?b.push('$RC("'):(a.sentCompleteBoundaryFunction=!0,b.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'));if(null===
90
- d)throw Error("An ID must have been assigned before we can complete the boundary.");c=c.toString(16);b.push(d);b.push('","');b.push(a.segmentPrefix);b.push(c);return b.push('")\x3c/script>')}
91
- function Rb(a,b,c,d){if(2===d.status)return!0;var f=d.id;if(-1===f){if(-1===(d.id=c.rootSegmentID))throw Error("A root segment ID must have been assigned by now. This is a bug in React.");return Pb(a,b,d)}Pb(a,b,d);a=a.responseState;b.push(a.startInlineScript);a.sentCompleteSegmentFunction?b.push('$RS("'):(a.sentCompleteSegmentFunction=!0,b.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'));
92
- b.push(a.segmentPrefix);f=f.toString(16);b.push(f);b.push('","');b.push(a.placeholderPrefix);b.push(f);return b.push('")\x3c/script>')}
93
- function Ob(a,b){try{var c=a.completedRootSegment;if(null!==c&&0===a.pendingRootTasks){Z(a,b,c);a.completedRootSegment=null;var d=a.responseState.bootstrapChunks;for(c=0;c<d.length-1;c++)b.push(d[c]);c<d.length&&b.push(d[c])}var f=a.clientRenderedBoundaries,e;for(e=0;e<f.length;e++){var g=f[e];d=b;var h=a.responseState,k=g.id,m=g.errorDigest,l=g.errorMessage,p=g.errorComponentStack;d.push(h.startInlineScript);h.sentClientRenderFunction?d.push('$RX("'):(h.sentClientRenderFunction=!0,d.push('function $RX(b,c,d,e){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),b._reactRetry&&b._reactRetry())};$RX("'));
94
- if(null===k)throw Error("An ID must have been assigned before we can complete the boundary.");d.push(k);d.push('"');if(m||l||p){d.push(",");var B=Ea(m||"");d.push(B)}if(l||p){d.push(",");var C=Ea(l||"");d.push(C)}if(p){d.push(",");var y=Ea(p);d.push(y)}if(!d.push(")\x3c/script>")){a.destination=null;e++;f.splice(0,e);return}}f.splice(0,e);var aa=a.completedBoundaries;for(e=0;e<aa.length;e++)if(!Qb(a,b,aa[e])){a.destination=null;e++;aa.splice(0,e);return}aa.splice(0,e);var ba=a.partialBoundaries;for(e=
95
- 0;e<ba.length;e++){var pb=ba[e];a:{f=a;g=b;var ca=pb.completedSegments;for(h=0;h<ca.length;h++)if(!Rb(f,g,pb,ca[h])){h++;ca.splice(0,h);var qb=!1;break a}ca.splice(0,h);qb=!0}if(!qb){a.destination=null;e++;ba.splice(0,e);return}}ba.splice(0,e);var da=a.completedBoundaries;for(e=0;e<da.length;e++)if(!Qb(a,b,da[e])){a.destination=null;e++;da.splice(0,e);return}da.splice(0,e)}finally{0===a.allPendingTasks&&0===a.pingedTasks.length&&0===a.clientRenderedBoundaries.length&&0===a.completedBoundaries.length&&
96
- b.push(null)}}function Sb(a,b){if(1===a.status)a.status=2,b.destroy(a.fatalError);else if(2!==a.status&&null===a.destination){a.destination=b;try{Ob(a,b)}catch(c){U(a,c),V(a,c)}}}function Tb(a,b){try{var c=a.abortableTasks;c.forEach(function(c){return Nb(c,a,b)});c.clear();null!==a.destination&&Ob(a,a.destination)}catch(d){U(a,d),V(a,d)}}function Ub(){}
97
- function Vb(a,b,c,d){var f=!1,e=null,g="",h=!1;a=Cb(a,Fa(c,b?b.identifierPrefix:void 0),Ga(),Infinity,Ub,void 0,function(){h=!0},void 0,void 0);Eb(a);Tb(a,d);Sb(a,{push:function(a){null!==a&&(g+=a);return!0},destroy:function(a){f=!0;e=a}});if(f)throw e;if(!h)throw Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.");return g}
98
- function Wb(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;a.__proto__=b}var Xb=function(a){function b(){var b=a.call(this,{})||this;b.request=null;b.startedFlowing=!1;return b}Wb(b,a);var c=b.prototype;c._destroy=function(a,b){Tb(this.request);b(a)};c._read=function(){this.startedFlowing&&Sb(this.request,this)};return b}(fa.Readable);function Yb(){}
99
- function Zb(a,b){var c=new Xb,d=Cb(a,Fa(!1,b?b.identifierPrefix:void 0),Ga(),Infinity,Yb,function(){c.startedFlowing=!0;Sb(d,c)},void 0,void 0);c.request=d;Eb(d);return c}exports.renderToNodeStream=function(a,b){return Zb(a,b)};exports.renderToStaticMarkup=function(a,b){return Vb(a,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')};
100
- exports.renderToStaticNodeStream=function(a,b){return Zb(a,b)};exports.renderToString=function(a,b){return Vb(a,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server')};
101
- exports.version="18.3.1";
10
+ 'use strict'
11
+ var ea = require('react'),
12
+ fa = require('stream'),
13
+ n = Object.prototype.hasOwnProperty,
14
+ ha =
15
+ /^[: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]*$/,
16
+ ia = {},
17
+ ja = {}
18
+ function ka(a) {
19
+ if (n.call(ja, a)) return !0
20
+ if (n.call(ia, a)) return !1
21
+ if (ha.test(a)) return (ja[a] = !0)
22
+ ia[a] = !0
23
+ return !1
24
+ }
25
+ function q(a, b, c, d, f, e, g) {
26
+ this.acceptsBooleans = 2 === b || 3 === b || 4 === b
27
+ this.attributeName = d
28
+ this.attributeNamespace = f
29
+ this.mustUseProperty = c
30
+ this.propertyName = a
31
+ this.type = b
32
+ this.sanitizeURL = e
33
+ this.removeEmptyString = g
34
+ }
35
+ var r = {}
36
+ 'children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style'
37
+ .split(' ')
38
+ .forEach(function (a) {
39
+ r[a] = new q(a, 0, !1, a, null, !1, !1)
40
+ })
41
+ ;[
42
+ ['acceptCharset', 'accept-charset'],
43
+ ['className', 'class'],
44
+ ['htmlFor', 'for'],
45
+ ['httpEquiv', 'http-equiv'],
46
+ ].forEach(function (a) {
47
+ var b = a[0]
48
+ r[b] = new q(b, 1, !1, a[1], null, !1, !1)
49
+ })
50
+ ;['contentEditable', 'draggable', 'spellCheck', 'value'].forEach(function (a) {
51
+ r[a] = new q(a, 2, !1, a.toLowerCase(), null, !1, !1)
52
+ })
53
+ ;['autoReverse', 'externalResourcesRequired', 'focusable', 'preserveAlpha'].forEach(
54
+ function (a) {
55
+ r[a] = new q(a, 2, !1, a, null, !1, !1)
56
+ }
57
+ )
58
+ 'allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope'
59
+ .split(' ')
60
+ .forEach(function (a) {
61
+ r[a] = new q(a, 3, !1, a.toLowerCase(), null, !1, !1)
62
+ })
63
+ ;['checked', 'multiple', 'muted', 'selected'].forEach(function (a) {
64
+ r[a] = new q(a, 3, !0, a, null, !1, !1)
65
+ })
66
+ ;['capture', 'download'].forEach(function (a) {
67
+ r[a] = new q(a, 4, !1, a, null, !1, !1)
68
+ })
69
+ ;['cols', 'rows', 'size', 'span'].forEach(function (a) {
70
+ r[a] = new q(a, 6, !1, a, null, !1, !1)
71
+ })
72
+ ;['rowSpan', 'start'].forEach(function (a) {
73
+ r[a] = new q(a, 5, !1, a.toLowerCase(), null, !1, !1)
74
+ })
75
+ var la = /[\-:]([a-z])/g
76
+ function ma(a) {
77
+ return a[1].toUpperCase()
78
+ }
79
+ 'accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height'
80
+ .split(' ')
81
+ .forEach(function (a) {
82
+ var b = a.replace(la, ma)
83
+ r[b] = new q(b, 1, !1, a, null, !1, !1)
84
+ })
85
+ 'xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type'
86
+ .split(' ')
87
+ .forEach(function (a) {
88
+ var b = a.replace(la, ma)
89
+ r[b] = new q(b, 1, !1, a, 'http://www.w3.org/1999/xlink', !1, !1)
90
+ })
91
+ ;['xml:base', 'xml:lang', 'xml:space'].forEach(function (a) {
92
+ var b = a.replace(la, ma)
93
+ r[b] = new q(b, 1, !1, a, 'http://www.w3.org/XML/1998/namespace', !1, !1)
94
+ })
95
+ ;['tabIndex', 'crossOrigin'].forEach(function (a) {
96
+ r[a] = new q(a, 1, !1, a.toLowerCase(), null, !1, !1)
97
+ })
98
+ r.xlinkHref = new q(
99
+ 'xlinkHref',
100
+ 1,
101
+ !1,
102
+ 'xlink:href',
103
+ 'http://www.w3.org/1999/xlink',
104
+ !0,
105
+ !1
106
+ )
107
+ ;['src', 'href', 'action', 'formAction'].forEach(function (a) {
108
+ r[a] = new q(a, 1, !1, a.toLowerCase(), null, !0, !0)
109
+ })
110
+ var t = {
111
+ animationIterationCount: !0,
112
+ aspectRatio: !0,
113
+ borderImageOutset: !0,
114
+ borderImageSlice: !0,
115
+ borderImageWidth: !0,
116
+ boxFlex: !0,
117
+ boxFlexGroup: !0,
118
+ boxOrdinalGroup: !0,
119
+ columnCount: !0,
120
+ columns: !0,
121
+ flex: !0,
122
+ flexGrow: !0,
123
+ flexPositive: !0,
124
+ flexShrink: !0,
125
+ flexNegative: !0,
126
+ flexOrder: !0,
127
+ gridArea: !0,
128
+ gridRow: !0,
129
+ gridRowEnd: !0,
130
+ gridRowSpan: !0,
131
+ gridRowStart: !0,
132
+ gridColumn: !0,
133
+ gridColumnEnd: !0,
134
+ gridColumnSpan: !0,
135
+ gridColumnStart: !0,
136
+ fontWeight: !0,
137
+ lineClamp: !0,
138
+ lineHeight: !0,
139
+ opacity: !0,
140
+ order: !0,
141
+ orphans: !0,
142
+ tabSize: !0,
143
+ widows: !0,
144
+ zIndex: !0,
145
+ zoom: !0,
146
+ fillOpacity: !0,
147
+ floodOpacity: !0,
148
+ stopOpacity: !0,
149
+ strokeDasharray: !0,
150
+ strokeDashoffset: !0,
151
+ strokeMiterlimit: !0,
152
+ strokeOpacity: !0,
153
+ strokeWidth: !0,
154
+ },
155
+ na = ['Webkit', 'ms', 'Moz', 'O']
156
+ Object.keys(t).forEach(function (a) {
157
+ na.forEach(function (b) {
158
+ b = b + a.charAt(0).toUpperCase() + a.substring(1)
159
+ t[b] = t[a]
160
+ })
161
+ })
162
+ var oa = /["'&<>]/
163
+ function u(a) {
164
+ if ('boolean' === typeof a || 'number' === typeof a) return '' + a
165
+ a = '' + a
166
+ var b = oa.exec(a)
167
+ if (b) {
168
+ var c = '',
169
+ d,
170
+ f = 0
171
+ for (d = b.index; d < a.length; d++) {
172
+ switch (a.charCodeAt(d)) {
173
+ case 34:
174
+ b = '&quot;'
175
+ break
176
+ case 38:
177
+ b = '&amp;'
178
+ break
179
+ case 39:
180
+ b = '&#x27;'
181
+ break
182
+ case 60:
183
+ b = '&lt;'
184
+ break
185
+ case 62:
186
+ b = '&gt;'
187
+ break
188
+ default:
189
+ continue
190
+ }
191
+ f !== d && (c += a.substring(f, d))
192
+ f = d + 1
193
+ c += b
194
+ }
195
+ a = f !== d ? c + a.substring(f, d) : c
196
+ }
197
+ return a
198
+ }
199
+ var pa = /([A-Z])/g,
200
+ qa = /^ms-/,
201
+ ra = Array.isArray
202
+ function v(a, b) {
203
+ return { insertionMode: a, selectedValue: b }
204
+ }
205
+ function sa(a, b, c) {
206
+ switch (b) {
207
+ case 'select':
208
+ return v(1, null != c.value ? c.value : c.defaultValue)
209
+ case 'svg':
210
+ return v(2, null)
211
+ case 'math':
212
+ return v(3, null)
213
+ case 'foreignObject':
214
+ return v(1, null)
215
+ case 'table':
216
+ return v(4, null)
217
+ case 'thead':
218
+ case 'tbody':
219
+ case 'tfoot':
220
+ return v(5, null)
221
+ case 'colgroup':
222
+ return v(7, null)
223
+ case 'tr':
224
+ return v(6, null)
225
+ }
226
+ return 4 <= a.insertionMode || 0 === a.insertionMode ? v(1, null) : a
227
+ }
228
+ var ta = new Map()
229
+ function ua(a, b, c) {
230
+ if ('object' !== typeof c)
231
+ throw Error(
232
+ "The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX."
233
+ )
234
+ b = !0
235
+ for (var d in c)
236
+ if (n.call(c, d)) {
237
+ var f = c[d]
238
+ if (null != f && 'boolean' !== typeof f && '' !== f) {
239
+ if (0 === d.indexOf('--')) {
240
+ var e = u(d)
241
+ f = u(('' + f).trim())
242
+ } else {
243
+ e = d
244
+ var g = ta.get(e)
245
+ void 0 !== g
246
+ ? (e = g)
247
+ : ((g = u(e.replace(pa, '-$1').toLowerCase().replace(qa, '-ms-'))),
248
+ ta.set(e, g),
249
+ (e = g))
250
+ f =
251
+ 'number' === typeof f
252
+ ? 0 === f || n.call(t, d)
253
+ ? '' + f
254
+ : f + 'px'
255
+ : u(('' + f).trim())
256
+ }
257
+ b ? ((b = !1), a.push(' style="', e, ':', f)) : a.push(';', e, ':', f)
258
+ }
259
+ }
260
+ b || a.push('"')
261
+ }
262
+ function w(a, b, c, d) {
263
+ switch (c) {
264
+ case 'style':
265
+ ua(a, b, d)
266
+ return
267
+ case 'defaultValue':
268
+ case 'defaultChecked':
269
+ case 'innerHTML':
270
+ case 'suppressContentEditableWarning':
271
+ case 'suppressHydrationWarning':
272
+ return
273
+ }
274
+ if (!(2 < c.length) || ('o' !== c[0] && 'O' !== c[0]) || ('n' !== c[1] && 'N' !== c[1]))
275
+ if (((b = r.hasOwnProperty(c) ? r[c] : null), null !== b)) {
276
+ switch (typeof d) {
277
+ case 'function':
278
+ case 'symbol':
279
+ return
280
+ case 'boolean':
281
+ if (!b.acceptsBooleans) return
282
+ }
283
+ c = b.attributeName
284
+ switch (b.type) {
285
+ case 3:
286
+ d && a.push(' ', c, '=""')
287
+ break
288
+ case 4:
289
+ !0 === d ? a.push(' ', c, '=""') : !1 !== d && a.push(' ', c, '="', u(d), '"')
290
+ break
291
+ case 5:
292
+ isNaN(d) || a.push(' ', c, '="', u(d), '"')
293
+ break
294
+ case 6:
295
+ !isNaN(d) && 1 <= d && a.push(' ', c, '="', u(d), '"')
296
+ break
297
+ default:
298
+ ;(b.sanitizeURL && (d = '' + d), a.push(' ', c, '="', u(d), '"'))
299
+ }
300
+ } else if (ka(c)) {
301
+ switch (typeof d) {
302
+ case 'function':
303
+ case 'symbol':
304
+ return
305
+ case 'boolean':
306
+ if (((b = c.toLowerCase().slice(0, 5)), 'data-' !== b && 'aria-' !== b)) return
307
+ }
308
+ a.push(' ', c, '="', u(d), '"')
309
+ }
310
+ }
311
+ function x(a, b, c) {
312
+ if (null != b) {
313
+ if (null != c)
314
+ throw Error('Can only set one of `children` or `props.dangerouslySetInnerHTML`.')
315
+ if ('object' !== typeof b || !('__html' in b))
316
+ throw Error(
317
+ '`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.'
318
+ )
319
+ b = b.__html
320
+ null !== b && void 0 !== b && a.push('' + b)
321
+ }
322
+ }
323
+ function va(a) {
324
+ var b = ''
325
+ ea.Children.forEach(a, function (a) {
326
+ null != a && (b += a)
327
+ })
328
+ return b
329
+ }
330
+ function wa(a, b, c, d) {
331
+ a.push(z(c))
332
+ var f = (c = null),
333
+ e
334
+ for (e in b)
335
+ if (n.call(b, e)) {
336
+ var g = b[e]
337
+ if (null != g)
338
+ switch (e) {
339
+ case 'children':
340
+ c = g
341
+ break
342
+ case 'dangerouslySetInnerHTML':
343
+ f = g
344
+ break
345
+ default:
346
+ w(a, d, e, g)
347
+ }
348
+ }
349
+ a.push('>')
350
+ x(a, f, c)
351
+ return 'string' === typeof c ? (a.push(u(c)), null) : c
352
+ }
353
+ var xa = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,
354
+ ya = new Map()
355
+ function z(a) {
356
+ var b = ya.get(a)
357
+ if (void 0 === b) {
358
+ if (!xa.test(a)) throw Error('Invalid tag: ' + a)
359
+ b = '<' + a
360
+ ya.set(a, b)
361
+ }
362
+ return b
363
+ }
364
+ function za(a, b, c, d, f) {
365
+ switch (b) {
366
+ case 'select':
367
+ a.push(z('select'))
368
+ var e = null,
369
+ g = null
370
+ for (l in c)
371
+ if (n.call(c, l)) {
372
+ var h = c[l]
373
+ if (null != h)
374
+ switch (l) {
375
+ case 'children':
376
+ e = h
377
+ break
378
+ case 'dangerouslySetInnerHTML':
379
+ g = h
380
+ break
381
+ case 'defaultValue':
382
+ case 'value':
383
+ break
384
+ default:
385
+ w(a, d, l, h)
386
+ }
387
+ }
388
+ a.push('>')
389
+ x(a, g, e)
390
+ return e
391
+ case 'option':
392
+ g = f.selectedValue
393
+ a.push(z('option'))
394
+ var k = (h = null),
395
+ m = null
396
+ var l = null
397
+ for (e in c)
398
+ if (n.call(c, e)) {
399
+ var p = c[e]
400
+ if (null != p)
401
+ switch (e) {
402
+ case 'children':
403
+ h = p
404
+ break
405
+ case 'selected':
406
+ m = p
407
+ break
408
+ case 'dangerouslySetInnerHTML':
409
+ l = p
410
+ break
411
+ case 'value':
412
+ k = p
413
+ default:
414
+ w(a, d, e, p)
415
+ }
416
+ }
417
+ if (null != g)
418
+ if (((c = null !== k ? '' + k : va(h)), ra(g)))
419
+ for (d = 0; d < g.length; d++) {
420
+ if ('' + g[d] === c) {
421
+ a.push(' selected=""')
422
+ break
423
+ }
424
+ }
425
+ else '' + g === c && a.push(' selected=""')
426
+ else m && a.push(' selected=""')
427
+ a.push('>')
428
+ x(a, l, h)
429
+ return h
430
+ case 'textarea':
431
+ a.push(z('textarea'))
432
+ l = g = e = null
433
+ for (h in c)
434
+ if (n.call(c, h) && ((k = c[h]), null != k))
435
+ switch (h) {
436
+ case 'children':
437
+ l = k
438
+ break
439
+ case 'value':
440
+ e = k
441
+ break
442
+ case 'defaultValue':
443
+ g = k
444
+ break
445
+ case 'dangerouslySetInnerHTML':
446
+ throw Error('`dangerouslySetInnerHTML` does not make sense on <textarea>.')
447
+ default:
448
+ w(a, d, h, k)
449
+ }
450
+ null === e && null !== g && (e = g)
451
+ a.push('>')
452
+ if (null != l) {
453
+ if (null != e)
454
+ throw Error(
455
+ 'If you supply `defaultValue` on a <textarea>, do not pass children.'
456
+ )
457
+ if (ra(l) && 1 < l.length)
458
+ throw Error('<textarea> can only have at most one child.')
459
+ e = '' + l
460
+ }
461
+ 'string' === typeof e && '\n' === e[0] && a.push('\n')
462
+ null !== e && a.push(u('' + e))
463
+ return null
464
+ case 'input':
465
+ a.push(z('input'))
466
+ k = l = h = e = null
467
+ for (g in c)
468
+ if (n.call(c, g) && ((m = c[g]), null != m))
469
+ switch (g) {
470
+ case 'children':
471
+ case 'dangerouslySetInnerHTML':
472
+ throw Error(
473
+ 'input is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.'
474
+ )
475
+ case 'defaultChecked':
476
+ k = m
477
+ break
478
+ case 'defaultValue':
479
+ h = m
480
+ break
481
+ case 'checked':
482
+ l = m
483
+ break
484
+ case 'value':
485
+ e = m
486
+ break
487
+ default:
488
+ w(a, d, g, m)
489
+ }
490
+ null !== l ? w(a, d, 'checked', l) : null !== k && w(a, d, 'checked', k)
491
+ null !== e ? w(a, d, 'value', e) : null !== h && w(a, d, 'value', h)
492
+ a.push('/>')
493
+ return null
494
+ case 'menuitem':
495
+ a.push(z('menuitem'))
496
+ for (var B in c)
497
+ if (n.call(c, B) && ((e = c[B]), null != e))
498
+ switch (B) {
499
+ case 'children':
500
+ case 'dangerouslySetInnerHTML':
501
+ throw Error(
502
+ 'menuitems cannot have `children` nor `dangerouslySetInnerHTML`.'
503
+ )
504
+ default:
505
+ w(a, d, B, e)
506
+ }
507
+ a.push('>')
508
+ return null
509
+ case 'title':
510
+ a.push(z('title'))
511
+ e = null
512
+ for (p in c)
513
+ if (n.call(c, p) && ((g = c[p]), null != g))
514
+ switch (p) {
515
+ case 'children':
516
+ e = g
517
+ break
518
+ case 'dangerouslySetInnerHTML':
519
+ throw Error('`dangerouslySetInnerHTML` does not make sense on <title>.')
520
+ default:
521
+ w(a, d, p, g)
522
+ }
523
+ a.push('>')
524
+ return e
525
+ case 'listing':
526
+ case 'pre':
527
+ a.push(z(b))
528
+ g = e = null
529
+ for (k in c)
530
+ if (n.call(c, k) && ((h = c[k]), null != h))
531
+ switch (k) {
532
+ case 'children':
533
+ e = h
534
+ break
535
+ case 'dangerouslySetInnerHTML':
536
+ g = h
537
+ break
538
+ default:
539
+ w(a, d, k, h)
540
+ }
541
+ a.push('>')
542
+ if (null != g) {
543
+ if (null != e)
544
+ throw Error(
545
+ 'Can only set one of `children` or `props.dangerouslySetInnerHTML`.'
546
+ )
547
+ if ('object' !== typeof g || !('__html' in g))
548
+ throw Error(
549
+ '`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.'
550
+ )
551
+ c = g.__html
552
+ null !== c &&
553
+ void 0 !== c &&
554
+ ('string' === typeof c && 0 < c.length && '\n' === c[0]
555
+ ? a.push('\n', c)
556
+ : a.push('' + c))
557
+ }
558
+ 'string' === typeof e && '\n' === e[0] && a.push('\n')
559
+ return e
560
+ case 'area':
561
+ case 'base':
562
+ case 'br':
563
+ case 'col':
564
+ case 'embed':
565
+ case 'hr':
566
+ case 'img':
567
+ case 'keygen':
568
+ case 'link':
569
+ case 'meta':
570
+ case 'param':
571
+ case 'source':
572
+ case 'track':
573
+ case 'wbr':
574
+ a.push(z(b))
575
+ for (var C in c)
576
+ if (n.call(c, C) && ((e = c[C]), null != e))
577
+ switch (C) {
578
+ case 'children':
579
+ case 'dangerouslySetInnerHTML':
580
+ throw Error(
581
+ b +
582
+ ' is a self-closing tag and must neither have `children` nor use `dangerouslySetInnerHTML`.'
583
+ )
584
+ default:
585
+ w(a, d, C, e)
586
+ }
587
+ a.push('/>')
588
+ return null
589
+ case 'annotation-xml':
590
+ case 'color-profile':
591
+ case 'font-face':
592
+ case 'font-face-src':
593
+ case 'font-face-uri':
594
+ case 'font-face-format':
595
+ case 'font-face-name':
596
+ case 'missing-glyph':
597
+ return wa(a, c, b, d)
598
+ case 'html':
599
+ return (0 === f.insertionMode && a.push('<!DOCTYPE html>'), wa(a, c, b, d))
600
+ default:
601
+ if (-1 === b.indexOf('-') && 'string' !== typeof c.is) return wa(a, c, b, d)
602
+ a.push(z(b))
603
+ g = e = null
604
+ for (m in c)
605
+ if (n.call(c, m) && ((h = c[m]), null != h))
606
+ switch (m) {
607
+ case 'children':
608
+ e = h
609
+ break
610
+ case 'dangerouslySetInnerHTML':
611
+ g = h
612
+ break
613
+ case 'style':
614
+ ua(a, d, h)
615
+ break
616
+ case 'suppressContentEditableWarning':
617
+ case 'suppressHydrationWarning':
618
+ break
619
+ default:
620
+ ka(m) &&
621
+ 'function' !== typeof h &&
622
+ 'symbol' !== typeof h &&
623
+ a.push(' ', m, '="', u(h), '"')
624
+ }
625
+ a.push('>')
626
+ x(a, g, e)
627
+ return e
628
+ }
629
+ }
630
+ function Aa(a, b, c) {
631
+ a.push('\x3c!--$?--\x3e<template id="')
632
+ if (null === c)
633
+ throw Error('An ID must have been assigned before we can complete the boundary.')
634
+ a.push(c)
635
+ return a.push('"></template>')
636
+ }
637
+ function Ba(a, b, c, d) {
638
+ switch (c.insertionMode) {
639
+ case 0:
640
+ case 1:
641
+ return (
642
+ a.push('<div hidden id="'),
643
+ a.push(b.segmentPrefix),
644
+ (b = d.toString(16)),
645
+ a.push(b),
646
+ a.push('">')
647
+ )
648
+ case 2:
649
+ return (
650
+ a.push('<svg aria-hidden="true" style="display:none" id="'),
651
+ a.push(b.segmentPrefix),
652
+ (b = d.toString(16)),
653
+ a.push(b),
654
+ a.push('">')
655
+ )
656
+ case 3:
657
+ return (
658
+ a.push('<math aria-hidden="true" style="display:none" id="'),
659
+ a.push(b.segmentPrefix),
660
+ (b = d.toString(16)),
661
+ a.push(b),
662
+ a.push('">')
663
+ )
664
+ case 4:
665
+ return (
666
+ a.push('<table hidden id="'),
667
+ a.push(b.segmentPrefix),
668
+ (b = d.toString(16)),
669
+ a.push(b),
670
+ a.push('">')
671
+ )
672
+ case 5:
673
+ return (
674
+ a.push('<table hidden><tbody id="'),
675
+ a.push(b.segmentPrefix),
676
+ (b = d.toString(16)),
677
+ a.push(b),
678
+ a.push('">')
679
+ )
680
+ case 6:
681
+ return (
682
+ a.push('<table hidden><tr id="'),
683
+ a.push(b.segmentPrefix),
684
+ (b = d.toString(16)),
685
+ a.push(b),
686
+ a.push('">')
687
+ )
688
+ case 7:
689
+ return (
690
+ a.push('<table hidden><colgroup id="'),
691
+ a.push(b.segmentPrefix),
692
+ (b = d.toString(16)),
693
+ a.push(b),
694
+ a.push('">')
695
+ )
696
+ default:
697
+ throw Error('Unknown insertion mode. This is a bug in React.')
698
+ }
699
+ }
700
+ function Ca(a, b) {
701
+ switch (b.insertionMode) {
702
+ case 0:
703
+ case 1:
704
+ return a.push('</div>')
705
+ case 2:
706
+ return a.push('</svg>')
707
+ case 3:
708
+ return a.push('</math>')
709
+ case 4:
710
+ return a.push('</table>')
711
+ case 5:
712
+ return a.push('</tbody></table>')
713
+ case 6:
714
+ return a.push('</tr></table>')
715
+ case 7:
716
+ return a.push('</colgroup></table>')
717
+ default:
718
+ throw Error('Unknown insertion mode. This is a bug in React.')
719
+ }
720
+ }
721
+ var Da = /[<\u2028\u2029]/g
722
+ function Ea(a) {
723
+ return JSON.stringify(a).replace(Da, function (a) {
724
+ switch (a) {
725
+ case '<':
726
+ return '\\u003c'
727
+ case '\u2028':
728
+ return '\\u2028'
729
+ case '\u2029':
730
+ return '\\u2029'
731
+ default:
732
+ throw Error(
733
+ 'escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React'
734
+ )
735
+ }
736
+ })
737
+ }
738
+ function Fa(a, b) {
739
+ b = void 0 === b ? '' : b
740
+ return {
741
+ bootstrapChunks: [],
742
+ startInlineScript: '<script>',
743
+ placeholderPrefix: b + 'P:',
744
+ segmentPrefix: b + 'S:',
745
+ boundaryPrefix: b + 'B:',
746
+ idPrefix: b,
747
+ nextSuspenseID: 0,
748
+ sentCompleteSegmentFunction: !1,
749
+ sentCompleteBoundaryFunction: !1,
750
+ sentClientRenderFunction: !1,
751
+ generateStaticMarkup: a,
752
+ }
753
+ }
754
+ function Ga() {
755
+ return { insertionMode: 1, selectedValue: null }
756
+ }
757
+ function Ha(a, b, c, d) {
758
+ if (c.generateStaticMarkup) return (a.push(u(b)), !1)
759
+ '' === b ? (a = d) : (d && a.push('\x3c!-- --\x3e'), a.push(u(b)), (a = !0))
760
+ return a
761
+ }
762
+ var A = Object.assign,
763
+ Ia = Symbol.for('react.element'),
764
+ Ja = Symbol.for('react.portal'),
765
+ Ka = Symbol.for('react.fragment'),
766
+ La = Symbol.for('react.strict_mode'),
767
+ Ma = Symbol.for('react.profiler'),
768
+ Na = Symbol.for('react.provider'),
769
+ Oa = Symbol.for('react.context'),
770
+ Pa = Symbol.for('react.forward_ref'),
771
+ Qa = Symbol.for('react.suspense'),
772
+ Ra = Symbol.for('react.suspense_list'),
773
+ Sa = Symbol.for('react.memo'),
774
+ Ta = Symbol.for('react.lazy'),
775
+ Ua = Symbol.for('react.scope'),
776
+ Va = Symbol.for('react.debug_trace_mode'),
777
+ Wa = Symbol.for('react.legacy_hidden'),
778
+ Xa = Symbol.for('react.default_value'),
779
+ Ya = Symbol.iterator
780
+ function Za(a) {
781
+ if (null == a) return null
782
+ if ('function' === typeof a) return a.displayName || a.name || null
783
+ if ('string' === typeof a) return a
784
+ switch (a) {
785
+ case Ka:
786
+ return 'Fragment'
787
+ case Ja:
788
+ return 'Portal'
789
+ case Ma:
790
+ return 'Profiler'
791
+ case La:
792
+ return 'StrictMode'
793
+ case Qa:
794
+ return 'Suspense'
795
+ case Ra:
796
+ return 'SuspenseList'
797
+ }
798
+ if ('object' === typeof a)
799
+ switch (a.$$typeof) {
800
+ case Oa:
801
+ return (a.displayName || 'Context') + '.Consumer'
802
+ case Na:
803
+ return (a._context.displayName || 'Context') + '.Provider'
804
+ case Pa:
805
+ var b = a.render
806
+ a = a.displayName
807
+ a ||
808
+ ((a = b.displayName || b.name || ''),
809
+ (a = '' !== a ? 'ForwardRef(' + a + ')' : 'ForwardRef'))
810
+ return a
811
+ case Sa:
812
+ return ((b = a.displayName || null), null !== b ? b : Za(a.type) || 'Memo')
813
+ case Ta:
814
+ b = a._payload
815
+ a = a._init
816
+ try {
817
+ return Za(a(b))
818
+ } catch (c) {}
819
+ }
820
+ return null
821
+ }
822
+ var $a = {}
823
+ function ab(a, b) {
824
+ a = a.contextTypes
825
+ if (!a) return $a
826
+ var c = {},
827
+ d
828
+ for (d in a) c[d] = b[d]
829
+ return c
830
+ }
831
+ var D = null
832
+ function E(a, b) {
833
+ if (a !== b) {
834
+ a.context._currentValue2 = a.parentValue
835
+ a = a.parent
836
+ var c = b.parent
837
+ if (null === a) {
838
+ if (null !== c)
839
+ throw Error(
840
+ 'The stacks must reach the root at the same time. This is a bug in React.'
841
+ )
842
+ } else {
843
+ if (null === c)
844
+ throw Error(
845
+ 'The stacks must reach the root at the same time. This is a bug in React.'
846
+ )
847
+ E(a, c)
848
+ }
849
+ b.context._currentValue2 = b.value
850
+ }
851
+ }
852
+ function bb(a) {
853
+ a.context._currentValue2 = a.parentValue
854
+ a = a.parent
855
+ null !== a && bb(a)
856
+ }
857
+ function cb(a) {
858
+ var b = a.parent
859
+ null !== b && cb(b)
860
+ a.context._currentValue2 = a.value
861
+ }
862
+ function db(a, b) {
863
+ a.context._currentValue2 = a.parentValue
864
+ a = a.parent
865
+ if (null === a)
866
+ throw Error(
867
+ 'The depth must equal at least at zero before reaching the root. This is a bug in React.'
868
+ )
869
+ a.depth === b.depth ? E(a, b) : db(a, b)
870
+ }
871
+ function eb(a, b) {
872
+ var c = b.parent
873
+ if (null === c)
874
+ throw Error(
875
+ 'The depth must equal at least at zero before reaching the root. This is a bug in React.'
876
+ )
877
+ a.depth === c.depth ? E(a, c) : eb(a, c)
878
+ b.context._currentValue2 = b.value
879
+ }
880
+ function F(a) {
881
+ var b = D
882
+ b !== a &&
883
+ (null === b
884
+ ? cb(a)
885
+ : null === a
886
+ ? bb(b)
887
+ : b.depth === a.depth
888
+ ? E(b, a)
889
+ : b.depth > a.depth
890
+ ? db(b, a)
891
+ : eb(b, a),
892
+ (D = a))
893
+ }
894
+ var fb = {
895
+ isMounted: function () {
896
+ return !1
897
+ },
898
+ enqueueSetState: function (a, b) {
899
+ a = a._reactInternals
900
+ null !== a.queue && a.queue.push(b)
901
+ },
902
+ enqueueReplaceState: function (a, b) {
903
+ a = a._reactInternals
904
+ a.replace = !0
905
+ a.queue = [b]
906
+ },
907
+ enqueueForceUpdate: function () {},
908
+ }
909
+ function gb(a, b, c, d) {
910
+ var f = void 0 !== a.state ? a.state : null
911
+ a.updater = fb
912
+ a.props = c
913
+ a.state = f
914
+ var e = { queue: [], replace: !1 }
915
+ a._reactInternals = e
916
+ var g = b.contextType
917
+ a.context = 'object' === typeof g && null !== g ? g._currentValue2 : d
918
+ g = b.getDerivedStateFromProps
919
+ 'function' === typeof g &&
920
+ ((g = g(c, f)), (f = null === g || void 0 === g ? f : A({}, f, g)), (a.state = f))
921
+ if (
922
+ 'function' !== typeof b.getDerivedStateFromProps &&
923
+ 'function' !== typeof a.getSnapshotBeforeUpdate &&
924
+ ('function' === typeof a.UNSAFE_componentWillMount ||
925
+ 'function' === typeof a.componentWillMount)
926
+ )
927
+ if (
928
+ ((b = a.state),
929
+ 'function' === typeof a.componentWillMount && a.componentWillMount(),
930
+ 'function' === typeof a.UNSAFE_componentWillMount && a.UNSAFE_componentWillMount(),
931
+ b !== a.state && fb.enqueueReplaceState(a, a.state, null),
932
+ null !== e.queue && 0 < e.queue.length)
933
+ )
934
+ if (
935
+ ((b = e.queue),
936
+ (g = e.replace),
937
+ (e.queue = null),
938
+ (e.replace = !1),
939
+ g && 1 === b.length)
940
+ )
941
+ a.state = b[0]
942
+ else {
943
+ e = g ? b[0] : a.state
944
+ f = !0
945
+ for (g = g ? 1 : 0; g < b.length; g++) {
946
+ var h = b[g]
947
+ h = 'function' === typeof h ? h.call(a, e, c, d) : h
948
+ null != h && (f ? ((f = !1), (e = A({}, e, h))) : A(e, h))
949
+ }
950
+ a.state = e
951
+ }
952
+ else e.queue = null
953
+ }
954
+ var hb = { id: 1, overflow: '' }
955
+ function ib(a, b, c) {
956
+ var d = a.id
957
+ a = a.overflow
958
+ var f = 32 - G(d) - 1
959
+ d &= ~(1 << f)
960
+ c += 1
961
+ var e = 32 - G(b) + f
962
+ if (30 < e) {
963
+ var g = f - (f % 5)
964
+ e = (d & ((1 << g) - 1)).toString(32)
965
+ d >>= g
966
+ f -= g
967
+ return { id: (1 << (32 - G(b) + f)) | (c << f) | d, overflow: e + a }
968
+ }
969
+ return { id: (1 << e) | (c << f) | d, overflow: a }
970
+ }
971
+ var G = Math.clz32 ? Math.clz32 : jb,
972
+ kb = Math.log,
973
+ lb = Math.LN2
974
+ function jb(a) {
975
+ a >>>= 0
976
+ return 0 === a ? 32 : (31 - ((kb(a) / lb) | 0)) | 0
977
+ }
978
+ function mb(a, b) {
979
+ return (a === b && (0 !== a || 1 / a === 1 / b)) || (a !== a && b !== b)
980
+ }
981
+ var nb = 'function' === typeof Object.is ? Object.is : mb,
982
+ H = null,
983
+ ob = null,
984
+ I = null,
985
+ J = null,
986
+ K = !1,
987
+ L = !1,
988
+ M = 0,
989
+ N = null,
990
+ O = 0
991
+ function P() {
992
+ if (null === H)
993
+ throw Error(
994
+ 'Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.'
995
+ )
996
+ return H
997
+ }
998
+ function rb() {
999
+ if (0 < O) throw Error('Rendered more hooks than during the previous render')
1000
+ return { memoizedState: null, queue: null, next: null }
1001
+ }
1002
+ function sb() {
1003
+ null === J
1004
+ ? null === I
1005
+ ? ((K = !1), (I = J = rb()))
1006
+ : ((K = !0), (J = I))
1007
+ : null === J.next
1008
+ ? ((K = !1), (J = J.next = rb()))
1009
+ : ((K = !0), (J = J.next))
1010
+ return J
1011
+ }
1012
+ function tb() {
1013
+ ob = H = null
1014
+ L = !1
1015
+ I = null
1016
+ O = 0
1017
+ J = N = null
1018
+ }
1019
+ function ub(a, b) {
1020
+ return 'function' === typeof b ? b(a) : b
1021
+ }
1022
+ function vb(a, b, c) {
1023
+ H = P()
1024
+ J = sb()
1025
+ if (K) {
1026
+ var d = J.queue
1027
+ b = d.dispatch
1028
+ if (null !== N && ((c = N.get(d)), void 0 !== c)) {
1029
+ N.delete(d)
1030
+ d = J.memoizedState
1031
+ do ((d = a(d, c.action)), (c = c.next))
1032
+ while (null !== c)
1033
+ J.memoizedState = d
1034
+ return [d, b]
1035
+ }
1036
+ return [J.memoizedState, b]
1037
+ }
1038
+ a = a === ub ? ('function' === typeof b ? b() : b) : void 0 !== c ? c(b) : b
1039
+ J.memoizedState = a
1040
+ a = J.queue = { last: null, dispatch: null }
1041
+ a = a.dispatch = wb.bind(null, H, a)
1042
+ return [J.memoizedState, a]
1043
+ }
1044
+ function xb(a, b) {
1045
+ H = P()
1046
+ J = sb()
1047
+ b = void 0 === b ? null : b
1048
+ if (null !== J) {
1049
+ var c = J.memoizedState
1050
+ if (null !== c && null !== b) {
1051
+ var d = c[1]
1052
+ a: if (null === d) d = !1
1053
+ else {
1054
+ for (var f = 0; f < d.length && f < b.length; f++)
1055
+ if (!nb(b[f], d[f])) {
1056
+ d = !1
1057
+ break a
1058
+ }
1059
+ d = !0
1060
+ }
1061
+ if (d) return c[0]
1062
+ }
1063
+ }
1064
+ a = a()
1065
+ J.memoizedState = [a, b]
1066
+ return a
1067
+ }
1068
+ function wb(a, b, c) {
1069
+ if (25 <= O)
1070
+ throw Error(
1071
+ 'Too many re-renders. React limits the number of renders to prevent an infinite loop.'
1072
+ )
1073
+ if (a === H)
1074
+ if (
1075
+ ((L = !0),
1076
+ (a = { action: c, next: null }),
1077
+ null === N && (N = new Map()),
1078
+ (c = N.get(b)),
1079
+ void 0 === c)
1080
+ )
1081
+ N.set(b, a)
1082
+ else {
1083
+ for (b = c; null !== b.next; ) b = b.next
1084
+ b.next = a
1085
+ }
1086
+ }
1087
+ function yb() {
1088
+ throw Error('startTransition cannot be called during server rendering.')
1089
+ }
1090
+ function Q() {}
1091
+ var zb = {
1092
+ readContext: function (a) {
1093
+ return a._currentValue2
1094
+ },
1095
+ useContext: function (a) {
1096
+ P()
1097
+ return a._currentValue2
1098
+ },
1099
+ useMemo: xb,
1100
+ useReducer: vb,
1101
+ useRef: function (a) {
1102
+ H = P()
1103
+ J = sb()
1104
+ var b = J.memoizedState
1105
+ return null === b ? ((a = { current: a }), (J.memoizedState = a)) : b
1106
+ },
1107
+ useState: function (a) {
1108
+ return vb(ub, a)
1109
+ },
1110
+ useInsertionEffect: Q,
1111
+ useLayoutEffect: function () {},
1112
+ useCallback: function (a, b) {
1113
+ return xb(function () {
1114
+ return a
1115
+ }, b)
1116
+ },
1117
+ useImperativeHandle: Q,
1118
+ useEffect: Q,
1119
+ useDebugValue: Q,
1120
+ useDeferredValue: function (a) {
1121
+ P()
1122
+ return a
1123
+ },
1124
+ useTransition: function () {
1125
+ P()
1126
+ return [!1, yb]
1127
+ },
1128
+ useId: function () {
1129
+ var a = ob.treeContext
1130
+ var b = a.overflow
1131
+ a = a.id
1132
+ a = (a & ~(1 << (32 - G(a) - 1))).toString(32) + b
1133
+ var c = R
1134
+ if (null === c)
1135
+ throw Error(
1136
+ 'Invalid hook call. Hooks can only be called inside of the body of a function component.'
1137
+ )
1138
+ b = M++
1139
+ a = ':' + c.idPrefix + 'R' + a
1140
+ 0 < b && (a += 'H' + b.toString(32))
1141
+ return a + ':'
1142
+ },
1143
+ useMutableSource: function (a, b) {
1144
+ P()
1145
+ return b(a._source)
1146
+ },
1147
+ useSyncExternalStore: function (a, b, c) {
1148
+ if (void 0 === c)
1149
+ throw Error(
1150
+ 'Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.'
1151
+ )
1152
+ return c()
1153
+ },
1154
+ },
1155
+ R = null,
1156
+ Ab = ea.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher
1157
+ function Bb(a) {
1158
+ console.error(a)
1159
+ return null
1160
+ }
1161
+ function S() {}
1162
+ function Cb(a, b, c, d, f, e, g, h, k) {
1163
+ var m = [],
1164
+ l = new Set()
1165
+ b = {
1166
+ destination: null,
1167
+ responseState: b,
1168
+ progressiveChunkSize: void 0 === d ? 12800 : d,
1169
+ status: 0,
1170
+ fatalError: null,
1171
+ nextSegmentId: 0,
1172
+ allPendingTasks: 0,
1173
+ pendingRootTasks: 0,
1174
+ completedRootSegment: null,
1175
+ abortableTasks: l,
1176
+ pingedTasks: m,
1177
+ clientRenderedBoundaries: [],
1178
+ completedBoundaries: [],
1179
+ partialBoundaries: [],
1180
+ onError: void 0 === f ? Bb : f,
1181
+ onAllReady: void 0 === e ? S : e,
1182
+ onShellReady: void 0 === g ? S : g,
1183
+ onShellError: void 0 === h ? S : h,
1184
+ onFatalError: void 0 === k ? S : k,
1185
+ }
1186
+ c = T(b, 0, null, c, !1, !1)
1187
+ c.parentFlushed = !0
1188
+ a = Db(b, a, null, c, l, $a, null, hb)
1189
+ m.push(a)
1190
+ return b
1191
+ }
1192
+ function Db(a, b, c, d, f, e, g, h) {
1193
+ a.allPendingTasks++
1194
+ null === c ? a.pendingRootTasks++ : c.pendingTasks++
1195
+ var k = {
1196
+ node: b,
1197
+ ping: function () {
1198
+ var b = a.pingedTasks
1199
+ b.push(k)
1200
+ 1 === b.length && Eb(a)
1201
+ },
1202
+ blockedBoundary: c,
1203
+ blockedSegment: d,
1204
+ abortSet: f,
1205
+ legacyContext: e,
1206
+ context: g,
1207
+ treeContext: h,
1208
+ }
1209
+ f.add(k)
1210
+ return k
1211
+ }
1212
+ function T(a, b, c, d, f, e) {
1213
+ return {
1214
+ status: 0,
1215
+ id: -1,
1216
+ index: b,
1217
+ parentFlushed: !1,
1218
+ chunks: [],
1219
+ children: [],
1220
+ formatContext: d,
1221
+ boundary: c,
1222
+ lastPushedText: f,
1223
+ textEmbedded: e,
1224
+ }
1225
+ }
1226
+ function U(a, b) {
1227
+ a = a.onError(b)
1228
+ if (null != a && 'string' !== typeof a)
1229
+ throw Error(
1230
+ 'onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "' +
1231
+ typeof a +
1232
+ '" instead'
1233
+ )
1234
+ return a
1235
+ }
1236
+ function V(a, b) {
1237
+ var c = a.onShellError
1238
+ c(b)
1239
+ c = a.onFatalError
1240
+ c(b)
1241
+ null !== a.destination
1242
+ ? ((a.status = 2), a.destination.destroy(b))
1243
+ : ((a.status = 1), (a.fatalError = b))
1244
+ }
1245
+ function Fb(a, b, c, d, f) {
1246
+ H = {}
1247
+ ob = b
1248
+ M = 0
1249
+ for (a = c(d, f); L; ) ((L = !1), (M = 0), (O += 1), (J = null), (a = c(d, f)))
1250
+ tb()
1251
+ return a
1252
+ }
1253
+ function Gb(a, b, c, d) {
1254
+ var f = c.render(),
1255
+ e = d.childContextTypes
1256
+ if (null !== e && void 0 !== e) {
1257
+ var g = b.legacyContext
1258
+ if ('function' !== typeof c.getChildContext) d = g
1259
+ else {
1260
+ c = c.getChildContext()
1261
+ for (var h in c)
1262
+ if (!(h in e))
1263
+ throw Error(
1264
+ (Za(d) || 'Unknown') +
1265
+ '.getChildContext(): key "' +
1266
+ h +
1267
+ '" is not defined in childContextTypes.'
1268
+ )
1269
+ d = A({}, g, c)
1270
+ }
1271
+ b.legacyContext = d
1272
+ W(a, b, f)
1273
+ b.legacyContext = g
1274
+ } else W(a, b, f)
1275
+ }
1276
+ function Hb(a, b) {
1277
+ if (a && a.defaultProps) {
1278
+ b = A({}, b)
1279
+ a = a.defaultProps
1280
+ for (var c in a) void 0 === b[c] && (b[c] = a[c])
1281
+ return b
1282
+ }
1283
+ return b
1284
+ }
1285
+ function Ib(a, b, c, d, f) {
1286
+ if ('function' === typeof c)
1287
+ if (c.prototype && c.prototype.isReactComponent) {
1288
+ f = ab(c, b.legacyContext)
1289
+ var e = c.contextType
1290
+ e = new c(d, 'object' === typeof e && null !== e ? e._currentValue2 : f)
1291
+ gb(e, c, d, f)
1292
+ Gb(a, b, e, c)
1293
+ } else {
1294
+ e = ab(c, b.legacyContext)
1295
+ f = Fb(a, b, c, d, e)
1296
+ var g = 0 !== M
1297
+ if (
1298
+ 'object' === typeof f &&
1299
+ null !== f &&
1300
+ 'function' === typeof f.render &&
1301
+ void 0 === f.$$typeof
1302
+ )
1303
+ (gb(f, c, d, e), Gb(a, b, f, c))
1304
+ else if (g) {
1305
+ d = b.treeContext
1306
+ b.treeContext = ib(d, 1, 0)
1307
+ try {
1308
+ W(a, b, f)
1309
+ } finally {
1310
+ b.treeContext = d
1311
+ }
1312
+ } else W(a, b, f)
1313
+ }
1314
+ else if ('string' === typeof c) {
1315
+ f = b.blockedSegment
1316
+ e = za(f.chunks, c, d, a.responseState, f.formatContext)
1317
+ f.lastPushedText = !1
1318
+ g = f.formatContext
1319
+ f.formatContext = sa(g, c, d)
1320
+ Jb(a, b, e)
1321
+ f.formatContext = g
1322
+ switch (c) {
1323
+ case 'area':
1324
+ case 'base':
1325
+ case 'br':
1326
+ case 'col':
1327
+ case 'embed':
1328
+ case 'hr':
1329
+ case 'img':
1330
+ case 'input':
1331
+ case 'keygen':
1332
+ case 'link':
1333
+ case 'meta':
1334
+ case 'param':
1335
+ case 'source':
1336
+ case 'track':
1337
+ case 'wbr':
1338
+ break
1339
+ default:
1340
+ f.chunks.push('</', c, '>')
1341
+ }
1342
+ f.lastPushedText = !1
1343
+ } else {
1344
+ switch (c) {
1345
+ case Wa:
1346
+ case Va:
1347
+ case La:
1348
+ case Ma:
1349
+ case Ka:
1350
+ W(a, b, d.children)
1351
+ return
1352
+ case Ra:
1353
+ W(a, b, d.children)
1354
+ return
1355
+ case Ua:
1356
+ throw Error('ReactDOMServer does not yet support scope components.')
1357
+ case Qa:
1358
+ a: {
1359
+ c = b.blockedBoundary
1360
+ f = b.blockedSegment
1361
+ e = d.fallback
1362
+ d = d.children
1363
+ g = new Set()
1364
+ var h = {
1365
+ id: null,
1366
+ rootSegmentID: -1,
1367
+ parentFlushed: !1,
1368
+ pendingTasks: 0,
1369
+ forceClientRender: !1,
1370
+ completedSegments: [],
1371
+ byteSize: 0,
1372
+ fallbackAbortableTasks: g,
1373
+ errorDigest: null,
1374
+ },
1375
+ k = T(a, f.chunks.length, h, f.formatContext, !1, !1)
1376
+ f.children.push(k)
1377
+ f.lastPushedText = !1
1378
+ var m = T(a, 0, null, f.formatContext, !1, !1)
1379
+ m.parentFlushed = !0
1380
+ b.blockedBoundary = h
1381
+ b.blockedSegment = m
1382
+ try {
1383
+ if (
1384
+ (Jb(a, b, d),
1385
+ a.responseState.generateStaticMarkup ||
1386
+ (m.lastPushedText && m.textEmbedded && m.chunks.push('\x3c!-- --\x3e')),
1387
+ (m.status = 1),
1388
+ X(h, m),
1389
+ 0 === h.pendingTasks)
1390
+ )
1391
+ break a
1392
+ } catch (l) {
1393
+ ;((m.status = 4), (h.forceClientRender = !0), (h.errorDigest = U(a, l)))
1394
+ } finally {
1395
+ ;((b.blockedBoundary = c), (b.blockedSegment = f))
1396
+ }
1397
+ b = Db(a, e, c, k, g, b.legacyContext, b.context, b.treeContext)
1398
+ a.pingedTasks.push(b)
1399
+ }
1400
+ return
1401
+ }
1402
+ if ('object' === typeof c && null !== c)
1403
+ switch (c.$$typeof) {
1404
+ case Pa:
1405
+ d = Fb(a, b, c.render, d, f)
1406
+ if (0 !== M) {
1407
+ c = b.treeContext
1408
+ b.treeContext = ib(c, 1, 0)
1409
+ try {
1410
+ W(a, b, d)
1411
+ } finally {
1412
+ b.treeContext = c
1413
+ }
1414
+ } else W(a, b, d)
1415
+ return
1416
+ case Sa:
1417
+ c = c.type
1418
+ d = Hb(c, d)
1419
+ Ib(a, b, c, d, f)
1420
+ return
1421
+ case Na:
1422
+ f = d.children
1423
+ c = c._context
1424
+ d = d.value
1425
+ e = c._currentValue2
1426
+ c._currentValue2 = d
1427
+ g = D
1428
+ D = d = {
1429
+ parent: g,
1430
+ depth: null === g ? 0 : g.depth + 1,
1431
+ context: c,
1432
+ parentValue: e,
1433
+ value: d,
1434
+ }
1435
+ b.context = d
1436
+ W(a, b, f)
1437
+ a = D
1438
+ if (null === a)
1439
+ throw Error(
1440
+ 'Tried to pop a Context at the root of the app. This is a bug in React.'
1441
+ )
1442
+ d = a.parentValue
1443
+ a.context._currentValue2 = d === Xa ? a.context._defaultValue : d
1444
+ a = D = a.parent
1445
+ b.context = a
1446
+ return
1447
+ case Oa:
1448
+ d = d.children
1449
+ d = d(c._currentValue2)
1450
+ W(a, b, d)
1451
+ return
1452
+ case Ta:
1453
+ f = c._init
1454
+ c = f(c._payload)
1455
+ d = Hb(c, d)
1456
+ Ib(a, b, c, d, void 0)
1457
+ return
1458
+ }
1459
+ throw Error(
1460
+ 'Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: ' +
1461
+ ((null == c ? c : typeof c) + '.')
1462
+ )
1463
+ }
1464
+ }
1465
+ function W(a, b, c) {
1466
+ b.node = c
1467
+ if ('object' === typeof c && null !== c) {
1468
+ switch (c.$$typeof) {
1469
+ case Ia:
1470
+ Ib(a, b, c.type, c.props, c.ref)
1471
+ return
1472
+ case Ja:
1473
+ throw Error(
1474
+ 'Portals are not currently supported by the server renderer. Render them conditionally so that they only appear on the client render.'
1475
+ )
1476
+ case Ta:
1477
+ var d = c._init
1478
+ c = d(c._payload)
1479
+ W(a, b, c)
1480
+ return
1481
+ }
1482
+ if (ra(c)) {
1483
+ Kb(a, b, c)
1484
+ return
1485
+ }
1486
+ null === c || 'object' !== typeof c
1487
+ ? (d = null)
1488
+ : ((d = (Ya && c[Ya]) || c['@@iterator']), (d = 'function' === typeof d ? d : null))
1489
+ if (d && (d = d.call(c))) {
1490
+ c = d.next()
1491
+ if (!c.done) {
1492
+ var f = []
1493
+ do (f.push(c.value), (c = d.next()))
1494
+ while (!c.done)
1495
+ Kb(a, b, f)
1496
+ }
1497
+ return
1498
+ }
1499
+ a = Object.prototype.toString.call(c)
1500
+ throw Error(
1501
+ 'Objects are not valid as a React child (found: ' +
1502
+ ('[object Object]' === a
1503
+ ? 'object with keys {' + Object.keys(c).join(', ') + '}'
1504
+ : a) +
1505
+ '). If you meant to render a collection of children, use an array instead.'
1506
+ )
1507
+ }
1508
+ 'string' === typeof c
1509
+ ? ((d = b.blockedSegment),
1510
+ (d.lastPushedText = Ha(
1511
+ b.blockedSegment.chunks,
1512
+ c,
1513
+ a.responseState,
1514
+ d.lastPushedText
1515
+ )))
1516
+ : 'number' === typeof c &&
1517
+ ((d = b.blockedSegment),
1518
+ (d.lastPushedText = Ha(
1519
+ b.blockedSegment.chunks,
1520
+ '' + c,
1521
+ a.responseState,
1522
+ d.lastPushedText
1523
+ )))
1524
+ }
1525
+ function Kb(a, b, c) {
1526
+ for (var d = c.length, f = 0; f < d; f++) {
1527
+ var e = b.treeContext
1528
+ b.treeContext = ib(e, d, f)
1529
+ try {
1530
+ Jb(a, b, c[f])
1531
+ } finally {
1532
+ b.treeContext = e
1533
+ }
1534
+ }
1535
+ }
1536
+ function Jb(a, b, c) {
1537
+ var d = b.blockedSegment.formatContext,
1538
+ f = b.legacyContext,
1539
+ e = b.context
1540
+ try {
1541
+ return W(a, b, c)
1542
+ } catch (k) {
1543
+ if ((tb(), 'object' === typeof k && null !== k && 'function' === typeof k.then)) {
1544
+ c = k
1545
+ var g = b.blockedSegment,
1546
+ h = T(a, g.chunks.length, null, g.formatContext, g.lastPushedText, !0)
1547
+ g.children.push(h)
1548
+ g.lastPushedText = !1
1549
+ a = Db(
1550
+ a,
1551
+ b.node,
1552
+ b.blockedBoundary,
1553
+ h,
1554
+ b.abortSet,
1555
+ b.legacyContext,
1556
+ b.context,
1557
+ b.treeContext
1558
+ ).ping
1559
+ c.then(a, a)
1560
+ b.blockedSegment.formatContext = d
1561
+ b.legacyContext = f
1562
+ b.context = e
1563
+ F(e)
1564
+ } else
1565
+ throw (
1566
+ (b.blockedSegment.formatContext = d),
1567
+ (b.legacyContext = f),
1568
+ (b.context = e),
1569
+ F(e),
1570
+ k
1571
+ )
1572
+ }
1573
+ }
1574
+ function Lb(a) {
1575
+ var b = a.blockedBoundary
1576
+ a = a.blockedSegment
1577
+ a.status = 3
1578
+ Mb(this, b, a)
1579
+ }
1580
+ function Nb(a, b, c) {
1581
+ var d = a.blockedBoundary
1582
+ a.blockedSegment.status = 3
1583
+ null === d
1584
+ ? (b.allPendingTasks--,
1585
+ 2 !== b.status &&
1586
+ ((b.status = 2), null !== b.destination && b.destination.push(null)))
1587
+ : (d.pendingTasks--,
1588
+ d.forceClientRender ||
1589
+ ((d.forceClientRender = !0),
1590
+ (d.errorDigest = b.onError(
1591
+ void 0 === c
1592
+ ? Error('The render was aborted by the server without a reason.')
1593
+ : c
1594
+ )),
1595
+ d.parentFlushed && b.clientRenderedBoundaries.push(d)),
1596
+ d.fallbackAbortableTasks.forEach(function (a) {
1597
+ return Nb(a, b, c)
1598
+ }),
1599
+ d.fallbackAbortableTasks.clear(),
1600
+ b.allPendingTasks--,
1601
+ 0 === b.allPendingTasks && ((a = b.onAllReady), a()))
1602
+ }
1603
+ function X(a, b) {
1604
+ if (
1605
+ 0 === b.chunks.length &&
1606
+ 1 === b.children.length &&
1607
+ null === b.children[0].boundary
1608
+ ) {
1609
+ var c = b.children[0]
1610
+ c.id = b.id
1611
+ c.parentFlushed = !0
1612
+ 1 === c.status && X(a, c)
1613
+ } else a.completedSegments.push(b)
1614
+ }
1615
+ function Mb(a, b, c) {
1616
+ if (null === b) {
1617
+ if (c.parentFlushed) {
1618
+ if (null !== a.completedRootSegment)
1619
+ throw Error('There can only be one root segment. This is a bug in React.')
1620
+ a.completedRootSegment = c
1621
+ }
1622
+ a.pendingRootTasks--
1623
+ 0 === a.pendingRootTasks && ((a.onShellError = S), (b = a.onShellReady), b())
1624
+ } else
1625
+ (b.pendingTasks--,
1626
+ b.forceClientRender ||
1627
+ (0 === b.pendingTasks
1628
+ ? (c.parentFlushed && 1 === c.status && X(b, c),
1629
+ b.parentFlushed && a.completedBoundaries.push(b),
1630
+ b.fallbackAbortableTasks.forEach(Lb, a),
1631
+ b.fallbackAbortableTasks.clear())
1632
+ : c.parentFlushed &&
1633
+ 1 === c.status &&
1634
+ (X(b, c),
1635
+ 1 === b.completedSegments.length &&
1636
+ b.parentFlushed &&
1637
+ a.partialBoundaries.push(b))))
1638
+ a.allPendingTasks--
1639
+ 0 === a.allPendingTasks && ((a = a.onAllReady), a())
1640
+ }
1641
+ function Eb(a) {
1642
+ if (2 !== a.status) {
1643
+ var b = D,
1644
+ c = Ab.current
1645
+ Ab.current = zb
1646
+ var d = R
1647
+ R = a.responseState
1648
+ try {
1649
+ var f = a.pingedTasks,
1650
+ e
1651
+ for (e = 0; e < f.length; e++) {
1652
+ var g = f[e]
1653
+ var h = a,
1654
+ k = g.blockedSegment
1655
+ if (0 === k.status) {
1656
+ F(g.context)
1657
+ try {
1658
+ ;(W(h, g, g.node),
1659
+ h.responseState.generateStaticMarkup ||
1660
+ (k.lastPushedText && k.textEmbedded && k.chunks.push('\x3c!-- --\x3e')),
1661
+ g.abortSet.delete(g),
1662
+ (k.status = 1),
1663
+ Mb(h, g.blockedBoundary, k))
1664
+ } catch (y) {
1665
+ if (
1666
+ (tb(), 'object' === typeof y && null !== y && 'function' === typeof y.then)
1667
+ ) {
1668
+ var m = g.ping
1669
+ y.then(m, m)
1670
+ } else {
1671
+ g.abortSet.delete(g)
1672
+ k.status = 4
1673
+ var l = g.blockedBoundary,
1674
+ p = y,
1675
+ B = U(h, p)
1676
+ null === l
1677
+ ? V(h, p)
1678
+ : (l.pendingTasks--,
1679
+ l.forceClientRender ||
1680
+ ((l.forceClientRender = !0),
1681
+ (l.errorDigest = B),
1682
+ l.parentFlushed && h.clientRenderedBoundaries.push(l)))
1683
+ h.allPendingTasks--
1684
+ if (0 === h.allPendingTasks) {
1685
+ var C = h.onAllReady
1686
+ C()
1687
+ }
1688
+ }
1689
+ } finally {
1690
+ }
1691
+ }
1692
+ }
1693
+ f.splice(0, e)
1694
+ null !== a.destination && Ob(a, a.destination)
1695
+ } catch (y) {
1696
+ ;(U(a, y), V(a, y))
1697
+ } finally {
1698
+ ;((R = d), (Ab.current = c), c === zb && F(b))
1699
+ }
1700
+ }
1701
+ }
1702
+ function Y(a, b, c) {
1703
+ c.parentFlushed = !0
1704
+ switch (c.status) {
1705
+ case 0:
1706
+ var d = (c.id = a.nextSegmentId++)
1707
+ c.lastPushedText = !1
1708
+ c.textEmbedded = !1
1709
+ a = a.responseState
1710
+ b.push('<template id="')
1711
+ b.push(a.placeholderPrefix)
1712
+ a = d.toString(16)
1713
+ b.push(a)
1714
+ return b.push('"></template>')
1715
+ case 1:
1716
+ c.status = 2
1717
+ var f = !0
1718
+ d = c.chunks
1719
+ var e = 0
1720
+ c = c.children
1721
+ for (var g = 0; g < c.length; g++) {
1722
+ for (f = c[g]; e < f.index; e++) b.push(d[e])
1723
+ f = Z(a, b, f)
1724
+ }
1725
+ for (; e < d.length - 1; e++) b.push(d[e])
1726
+ e < d.length && (f = b.push(d[e]))
1727
+ return f
1728
+ default:
1729
+ throw Error(
1730
+ 'Aborted, errored or already flushed boundaries should not be flushed again. This is a bug in React.'
1731
+ )
1732
+ }
1733
+ }
1734
+ function Z(a, b, c) {
1735
+ var d = c.boundary
1736
+ if (null === d) return Y(a, b, c)
1737
+ d.parentFlushed = !0
1738
+ if (d.forceClientRender)
1739
+ return (
1740
+ a.responseState.generateStaticMarkup ||
1741
+ ((d = d.errorDigest),
1742
+ b.push('\x3c!--$!--\x3e'),
1743
+ b.push('<template'),
1744
+ d && (b.push(' data-dgst="'), (d = u(d)), b.push(d), b.push('"')),
1745
+ b.push('></template>')),
1746
+ Y(a, b, c),
1747
+ (a = a.responseState.generateStaticMarkup ? !0 : b.push('\x3c!--/$--\x3e')),
1748
+ a
1749
+ )
1750
+ if (0 < d.pendingTasks) {
1751
+ d.rootSegmentID = a.nextSegmentId++
1752
+ 0 < d.completedSegments.length && a.partialBoundaries.push(d)
1753
+ var f = a.responseState
1754
+ var e = f.nextSuspenseID++
1755
+ f = f.boundaryPrefix + e.toString(16)
1756
+ d = d.id = f
1757
+ Aa(b, a.responseState, d)
1758
+ Y(a, b, c)
1759
+ return b.push('\x3c!--/$--\x3e')
1760
+ }
1761
+ if (d.byteSize > a.progressiveChunkSize)
1762
+ return (
1763
+ (d.rootSegmentID = a.nextSegmentId++),
1764
+ a.completedBoundaries.push(d),
1765
+ Aa(b, a.responseState, d.id),
1766
+ Y(a, b, c),
1767
+ b.push('\x3c!--/$--\x3e')
1768
+ )
1769
+ a.responseState.generateStaticMarkup || b.push('\x3c!--$--\x3e')
1770
+ c = d.completedSegments
1771
+ if (1 !== c.length)
1772
+ throw Error(
1773
+ 'A previously unvisited boundary must have exactly one root segment. This is a bug in React.'
1774
+ )
1775
+ Z(a, b, c[0])
1776
+ a = a.responseState.generateStaticMarkup ? !0 : b.push('\x3c!--/$--\x3e')
1777
+ return a
1778
+ }
1779
+ function Pb(a, b, c) {
1780
+ Ba(b, a.responseState, c.formatContext, c.id)
1781
+ Z(a, b, c)
1782
+ return Ca(b, c.formatContext)
1783
+ }
1784
+ function Qb(a, b, c) {
1785
+ for (var d = c.completedSegments, f = 0; f < d.length; f++) Rb(a, b, c, d[f])
1786
+ d.length = 0
1787
+ a = a.responseState
1788
+ d = c.id
1789
+ c = c.rootSegmentID
1790
+ b.push(a.startInlineScript)
1791
+ a.sentCompleteBoundaryFunction
1792
+ ? b.push('$RC("')
1793
+ : ((a.sentCompleteBoundaryFunction = !0),
1794
+ b.push(
1795
+ 'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'
1796
+ ))
1797
+ if (null === d)
1798
+ throw Error('An ID must have been assigned before we can complete the boundary.')
1799
+ c = c.toString(16)
1800
+ b.push(d)
1801
+ b.push('","')
1802
+ b.push(a.segmentPrefix)
1803
+ b.push(c)
1804
+ return b.push('")\x3c/script>')
1805
+ }
1806
+ function Rb(a, b, c, d) {
1807
+ if (2 === d.status) return !0
1808
+ var f = d.id
1809
+ if (-1 === f) {
1810
+ if (-1 === (d.id = c.rootSegmentID))
1811
+ throw Error(
1812
+ 'A root segment ID must have been assigned by now. This is a bug in React.'
1813
+ )
1814
+ return Pb(a, b, d)
1815
+ }
1816
+ Pb(a, b, d)
1817
+ a = a.responseState
1818
+ b.push(a.startInlineScript)
1819
+ a.sentCompleteSegmentFunction
1820
+ ? b.push('$RS("')
1821
+ : ((a.sentCompleteSegmentFunction = !0),
1822
+ b.push(
1823
+ 'function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'
1824
+ ))
1825
+ b.push(a.segmentPrefix)
1826
+ f = f.toString(16)
1827
+ b.push(f)
1828
+ b.push('","')
1829
+ b.push(a.placeholderPrefix)
1830
+ b.push(f)
1831
+ return b.push('")\x3c/script>')
1832
+ }
1833
+ function Ob(a, b) {
1834
+ try {
1835
+ var c = a.completedRootSegment
1836
+ if (null !== c && 0 === a.pendingRootTasks) {
1837
+ Z(a, b, c)
1838
+ a.completedRootSegment = null
1839
+ var d = a.responseState.bootstrapChunks
1840
+ for (c = 0; c < d.length - 1; c++) b.push(d[c])
1841
+ c < d.length && b.push(d[c])
1842
+ }
1843
+ var f = a.clientRenderedBoundaries,
1844
+ e
1845
+ for (e = 0; e < f.length; e++) {
1846
+ var g = f[e]
1847
+ d = b
1848
+ var h = a.responseState,
1849
+ k = g.id,
1850
+ m = g.errorDigest,
1851
+ l = g.errorMessage,
1852
+ p = g.errorComponentStack
1853
+ d.push(h.startInlineScript)
1854
+ h.sentClientRenderFunction
1855
+ ? d.push('$RX("')
1856
+ : ((h.sentClientRenderFunction = !0),
1857
+ d.push(
1858
+ 'function $RX(b,c,d,e){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),b._reactRetry&&b._reactRetry())};$RX("'
1859
+ ))
1860
+ if (null === k)
1861
+ throw Error('An ID must have been assigned before we can complete the boundary.')
1862
+ d.push(k)
1863
+ d.push('"')
1864
+ if (m || l || p) {
1865
+ d.push(',')
1866
+ var B = Ea(m || '')
1867
+ d.push(B)
1868
+ }
1869
+ if (l || p) {
1870
+ d.push(',')
1871
+ var C = Ea(l || '')
1872
+ d.push(C)
1873
+ }
1874
+ if (p) {
1875
+ d.push(',')
1876
+ var y = Ea(p)
1877
+ d.push(y)
1878
+ }
1879
+ if (!d.push(')\x3c/script>')) {
1880
+ a.destination = null
1881
+ e++
1882
+ f.splice(0, e)
1883
+ return
1884
+ }
1885
+ }
1886
+ f.splice(0, e)
1887
+ var aa = a.completedBoundaries
1888
+ for (e = 0; e < aa.length; e++)
1889
+ if (!Qb(a, b, aa[e])) {
1890
+ a.destination = null
1891
+ e++
1892
+ aa.splice(0, e)
1893
+ return
1894
+ }
1895
+ aa.splice(0, e)
1896
+ var ba = a.partialBoundaries
1897
+ for (e = 0; e < ba.length; e++) {
1898
+ var pb = ba[e]
1899
+ a: {
1900
+ f = a
1901
+ g = b
1902
+ var ca = pb.completedSegments
1903
+ for (h = 0; h < ca.length; h++)
1904
+ if (!Rb(f, g, pb, ca[h])) {
1905
+ h++
1906
+ ca.splice(0, h)
1907
+ var qb = !1
1908
+ break a
1909
+ }
1910
+ ca.splice(0, h)
1911
+ qb = !0
1912
+ }
1913
+ if (!qb) {
1914
+ a.destination = null
1915
+ e++
1916
+ ba.splice(0, e)
1917
+ return
1918
+ }
1919
+ }
1920
+ ba.splice(0, e)
1921
+ var da = a.completedBoundaries
1922
+ for (e = 0; e < da.length; e++)
1923
+ if (!Qb(a, b, da[e])) {
1924
+ a.destination = null
1925
+ e++
1926
+ da.splice(0, e)
1927
+ return
1928
+ }
1929
+ da.splice(0, e)
1930
+ } finally {
1931
+ 0 === a.allPendingTasks &&
1932
+ 0 === a.pingedTasks.length &&
1933
+ 0 === a.clientRenderedBoundaries.length &&
1934
+ 0 === a.completedBoundaries.length &&
1935
+ b.push(null)
1936
+ }
1937
+ }
1938
+ function Sb(a, b) {
1939
+ if (1 === a.status) ((a.status = 2), b.destroy(a.fatalError))
1940
+ else if (2 !== a.status && null === a.destination) {
1941
+ a.destination = b
1942
+ try {
1943
+ Ob(a, b)
1944
+ } catch (c) {
1945
+ ;(U(a, c), V(a, c))
1946
+ }
1947
+ }
1948
+ }
1949
+ function Tb(a, b) {
1950
+ try {
1951
+ var c = a.abortableTasks
1952
+ c.forEach(function (c) {
1953
+ return Nb(c, a, b)
1954
+ })
1955
+ c.clear()
1956
+ null !== a.destination && Ob(a, a.destination)
1957
+ } catch (d) {
1958
+ ;(U(a, d), V(a, d))
1959
+ }
1960
+ }
1961
+ function Ub() {}
1962
+ function Vb(a, b, c, d) {
1963
+ var f = !1,
1964
+ e = null,
1965
+ g = '',
1966
+ h = !1
1967
+ a = Cb(
1968
+ a,
1969
+ Fa(c, b ? b.identifierPrefix : void 0),
1970
+ Ga(),
1971
+ Infinity,
1972
+ Ub,
1973
+ void 0,
1974
+ function () {
1975
+ h = !0
1976
+ },
1977
+ void 0,
1978
+ void 0
1979
+ )
1980
+ Eb(a)
1981
+ Tb(a, d)
1982
+ Sb(a, {
1983
+ push: function (a) {
1984
+ null !== a && (g += a)
1985
+ return !0
1986
+ },
1987
+ destroy: function (a) {
1988
+ f = !0
1989
+ e = a
1990
+ },
1991
+ })
1992
+ if (f) throw e
1993
+ if (!h)
1994
+ throw Error(
1995
+ 'A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.'
1996
+ )
1997
+ return g
1998
+ }
1999
+ function Wb(a, b) {
2000
+ a.prototype = Object.create(b.prototype)
2001
+ a.prototype.constructor = a
2002
+ a.__proto__ = b
2003
+ }
2004
+ var Xb = (function (a) {
2005
+ function b() {
2006
+ var b = a.call(this, {}) || this
2007
+ b.request = null
2008
+ b.startedFlowing = !1
2009
+ return b
2010
+ }
2011
+ Wb(b, a)
2012
+ var c = b.prototype
2013
+ c._destroy = function (a, b) {
2014
+ Tb(this.request)
2015
+ b(a)
2016
+ }
2017
+ c._read = function () {
2018
+ this.startedFlowing && Sb(this.request, this)
2019
+ }
2020
+ return b
2021
+ })(fa.Readable)
2022
+ function Yb() {}
2023
+ function Zb(a, b) {
2024
+ var c = new Xb(),
2025
+ d = Cb(
2026
+ a,
2027
+ Fa(!1, b ? b.identifierPrefix : void 0),
2028
+ Ga(),
2029
+ Infinity,
2030
+ Yb,
2031
+ function () {
2032
+ c.startedFlowing = !0
2033
+ Sb(d, c)
2034
+ },
2035
+ void 0,
2036
+ void 0
2037
+ )
2038
+ c.request = d
2039
+ Eb(d)
2040
+ return c
2041
+ }
2042
+ exports.renderToNodeStream = function (a, b) {
2043
+ return Zb(a, b)
2044
+ }
2045
+ exports.renderToStaticMarkup = function (a, b) {
2046
+ return Vb(
2047
+ a,
2048
+ b,
2049
+ !0,
2050
+ 'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
2051
+ )
2052
+ }
2053
+ exports.renderToStaticNodeStream = function (a, b) {
2054
+ return Zb(a, b)
2055
+ }
2056
+ exports.renderToString = function (a, b) {
2057
+ return Vb(
2058
+ a,
2059
+ b,
2060
+ !1,
2061
+ 'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToPipeableStream" which supports Suspense on the server'
2062
+ )
2063
+ }
2064
+ exports.version = '18.3.1'