vite-plugin-react-server 0.3.3 → 0.3.5

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 (488) hide show
  1. package/README.md +113 -222
  2. package/bin/patch.mjs +84 -0
  3. package/dist/_virtual/sourcemap-codec.umd.js +11 -0
  4. package/dist/_virtual/sourcemap-codec.umd.js.map +1 -0
  5. package/dist/_virtual/sourcemap-codec.umd2.js +9 -0
  6. package/dist/_virtual/sourcemap-codec.umd2.js.map +1 -0
  7. package/dist/client.d.ts +3 -0
  8. package/dist/client.d.ts.map +1 -0
  9. package/dist/client.js +7 -0
  10. package/dist/client.js.map +1 -0
  11. package/dist/index.d.ts +6 -2
  12. package/dist/index.d.ts.map +1 -1
  13. package/dist/index.js +32 -3
  14. package/dist/index.js.map +1 -1
  15. package/dist/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js +457 -0
  16. package/dist/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.umd.js.map +1 -0
  17. package/dist/node_modules/magic-string/dist/magic-string.es.js +1283 -0
  18. package/dist/node_modules/magic-string/dist/magic-string.es.js.map +1 -0
  19. package/dist/package.json +131 -0
  20. package/dist/plugin/assertServerCondition.d.ts.map +1 -0
  21. package/dist/plugin/assertServerCondition.js +15 -0
  22. package/dist/plugin/build/createClientBuildConfig.d.ts +3 -0
  23. package/dist/plugin/build/createClientBuildConfig.d.ts.map +1 -0
  24. package/dist/plugin/build/createClientBuildConfig.js +14 -0
  25. package/dist/plugin/build/createServerBuildConfig.d.ts +12 -0
  26. package/dist/plugin/build/createServerBuildConfig.d.ts.map +1 -0
  27. package/dist/plugin/build/createServerBuildConfig.js +40 -0
  28. package/dist/plugin/build/createSharedBuildConfig.d.ts +5 -0
  29. package/dist/plugin/build/createSharedBuildConfig.d.ts.map +1 -0
  30. package/dist/plugin/build/createSharedBuildConfig.js +28 -0
  31. package/dist/plugin/build/mergeInputs.d.ts +9 -0
  32. package/dist/plugin/build/mergeInputs.d.ts.map +1 -0
  33. package/dist/plugin/build/mergeInputs.js +56 -0
  34. package/dist/plugin/checkFilesExist.d.ts +3 -0
  35. package/dist/plugin/checkFilesExist.d.ts.map +1 -0
  36. package/dist/plugin/checkFilesExist.js +78 -0
  37. package/dist/plugin/checkFilesExist.js.map +1 -0
  38. package/dist/{collect-css-manifest.d.ts → plugin/collect-css-manifest.d.ts} +2 -2
  39. package/dist/plugin/collect-css-manifest.d.ts.map +1 -0
  40. package/dist/{src → plugin}/collect-css-manifest.js +8 -5
  41. package/dist/plugin/collect-css-manifest.js.map +1 -0
  42. package/dist/plugin/components.d.ts.map +1 -0
  43. package/dist/{src → plugin}/components.js +9 -4
  44. package/dist/plugin/components.js.map +1 -0
  45. package/dist/plugin/config/defaults.d.ts +51 -0
  46. package/dist/plugin/config/defaults.d.ts.map +1 -0
  47. package/dist/plugin/config/defaults.js +52 -0
  48. package/dist/plugin/config/defaults.js.map +1 -0
  49. package/dist/plugin/config/getCondition.d.ts +2 -0
  50. package/dist/plugin/config/getCondition.d.ts.map +1 -0
  51. package/dist/plugin/config/getCondition.js +11 -0
  52. package/dist/plugin/config/getCondition.js.map +1 -0
  53. package/dist/plugin/config/getPaths.d.ts +5 -0
  54. package/dist/plugin/config/getPaths.d.ts.map +1 -0
  55. package/dist/plugin/config/getPaths.js +21 -0
  56. package/dist/plugin/config/getPaths.js.map +1 -0
  57. package/dist/plugin/config/getWorkerPath.d.ts +2 -0
  58. package/dist/plugin/config/getWorkerPath.d.ts.map +1 -0
  59. package/dist/plugin/config/getWorkerPath.js +4 -0
  60. package/dist/plugin/config/index.d.ts +8 -0
  61. package/dist/plugin/config/index.d.ts.map +1 -0
  62. package/dist/plugin/config/index.js +7 -0
  63. package/dist/plugin/config/moduleIdDefault.d.ts +8 -0
  64. package/dist/plugin/config/moduleIdDefault.d.ts.map +1 -0
  65. package/dist/plugin/config/moduleIdDefault.js +23 -0
  66. package/dist/plugin/config/moduleIdDefault.js.map +1 -0
  67. package/dist/plugin/config/resolveOptions.d.ts +9 -0
  68. package/dist/plugin/config/resolveOptions.d.ts.map +1 -0
  69. package/dist/plugin/config/resolveOptions.js +56 -0
  70. package/dist/plugin/config/resolveOptions.js.map +1 -0
  71. package/dist/plugin/config/resolvePages.d.ts +9 -0
  72. package/dist/plugin/config/resolvePages.d.ts.map +1 -0
  73. package/dist/plugin/config/resolvePages.js +38 -0
  74. package/dist/plugin/config/resolvePages.js.map +1 -0
  75. package/dist/plugin/config/resolveUserConfig.d.ts +18 -0
  76. package/dist/plugin/config/resolveUserConfig.d.ts.map +1 -0
  77. package/dist/plugin/config/resolveUserConfig.js +84 -0
  78. package/dist/plugin/config/resolveUserConfig.js.map +1 -0
  79. package/dist/plugin/copy-dir.d.ts.map +1 -0
  80. package/dist/plugin/copy-dir.js +20 -0
  81. package/dist/plugin/getCondition.d.ts +2 -0
  82. package/dist/plugin/getCondition.d.ts.map +1 -0
  83. package/dist/plugin/getCondition.js +1 -0
  84. package/dist/plugin/getEnv.d.ts.map +1 -0
  85. package/dist/plugin/getEnv.js +107 -0
  86. package/dist/plugin/helpers/createClientInputNormalizer.d.ts +8 -0
  87. package/dist/plugin/helpers/createClientInputNormalizer.d.ts.map +1 -0
  88. package/dist/plugin/helpers/createClientInputNormalizer.js +35 -0
  89. package/dist/plugin/helpers/createServerInputNormalizer.d.ts +9 -0
  90. package/dist/plugin/helpers/createServerInputNormalizer.d.ts.map +1 -0
  91. package/dist/plugin/helpers/createServerInputNormalizer.js +37 -0
  92. package/dist/plugin/helpers/createStaticInputNormalizer.d.ts +7 -0
  93. package/dist/plugin/helpers/createStaticInputNormalizer.d.ts.map +1 -0
  94. package/dist/plugin/helpers/createStaticInputNormalizer.js +18 -0
  95. package/dist/plugin/helpers/getModuleManifest.d.ts +12 -0
  96. package/dist/plugin/helpers/getModuleManifest.d.ts.map +1 -0
  97. package/dist/plugin/helpers/getModuleManifest.js +24 -0
  98. package/dist/plugin/helpers/getModuleManifest.js.map +1 -0
  99. package/dist/plugin/helpers/inputNormalizer.d.ts +3 -0
  100. package/dist/plugin/helpers/inputNormalizer.d.ts.map +1 -0
  101. package/dist/plugin/helpers/inputNormalizer.js +35 -0
  102. package/dist/plugin/helpers/inputNormalizer.js.map +1 -0
  103. package/dist/plugin/helpers/inputNormalizerWorker.d.ts +11 -0
  104. package/dist/plugin/helpers/inputNormalizerWorker.d.ts.map +1 -0
  105. package/dist/plugin/helpers/inputNormalizerWorker.js +30 -0
  106. package/dist/plugin/helpers/normalizedRelativePath.d.ts.map +1 -0
  107. package/dist/plugin/helpers/normalizedRelativePath.js +36 -0
  108. package/dist/plugin/helpers/resolveFilePath.d.ts +13 -0
  109. package/dist/plugin/helpers/resolveFilePath.d.ts.map +1 -0
  110. package/dist/plugin/helpers/resolveFilePath.js +74 -0
  111. package/dist/plugin/helpers/resolveWorkerModule.d.ts +6 -0
  112. package/dist/plugin/helpers/resolveWorkerModule.d.ts.map +1 -0
  113. package/dist/plugin/helpers/resolveWorkerModule.js +24 -0
  114. package/dist/plugin/helpers/tryManifest.d.ts.map +1 -0
  115. package/dist/{src → plugin}/helpers/tryManifest.js +11 -6
  116. package/dist/plugin/helpers/tryManifest.js.map +1 -0
  117. package/dist/plugin/helpers/validateModuleBase.d.ts +3 -0
  118. package/dist/plugin/helpers/validateModuleBase.d.ts.map +1 -0
  119. package/dist/plugin/helpers/validateModuleBase.js +16 -0
  120. package/dist/plugin/helpers/validateResolvedConfig.d.ts +3 -0
  121. package/dist/plugin/helpers/validateResolvedConfig.d.ts.map +1 -0
  122. package/dist/plugin/helpers/validateResolvedConfig.js +17 -0
  123. package/dist/plugin/index.d.ts +3 -0
  124. package/dist/plugin/index.d.ts.map +1 -0
  125. package/dist/plugin/index.js +1 -0
  126. package/dist/plugin/loader/createBuildLoader.d.ts +9 -0
  127. package/dist/plugin/loader/createBuildLoader.d.ts.map +1 -0
  128. package/dist/plugin/loader/createBuildLoader.js +52 -0
  129. package/dist/plugin/loader/createBuildLoader.js.map +1 -0
  130. package/dist/plugin/loader/createCssLoader.d.ts +30 -0
  131. package/dist/plugin/loader/createCssLoader.d.ts.map +1 -0
  132. package/dist/plugin/loader/createCssLoader.js +35 -0
  133. package/dist/{html → plugin/loader}/createPageLoader.d.ts +2 -4
  134. package/dist/plugin/loader/createPageLoader.d.ts.map +1 -0
  135. package/dist/plugin/loader/createPageLoader.js +57 -0
  136. package/dist/plugin/manifest.d.ts.map +1 -0
  137. package/dist/plugin/manifest.js +13 -0
  138. package/dist/plugin/module-graph.d.ts.map +1 -0
  139. package/dist/plugin/module-graph.js +35 -0
  140. package/dist/plugin/plugin.d.ts +7 -0
  141. package/dist/plugin/plugin.d.ts.map +1 -0
  142. package/dist/plugin/plugin.js +8 -0
  143. package/dist/plugin/preserver/index.d.ts +2 -0
  144. package/dist/plugin/preserver/index.d.ts.map +1 -0
  145. package/dist/plugin/preserver/index.js +1 -0
  146. package/dist/plugin/preserver/plugin.d.ts +4 -0
  147. package/dist/plugin/preserver/plugin.d.ts.map +1 -0
  148. package/dist/plugin/preserver/plugin.js +90 -0
  149. package/dist/plugin/preserver/plugin.js.map +1 -0
  150. package/dist/plugin/react-client/index.d.ts +2 -0
  151. package/dist/plugin/react-client/index.d.ts.map +1 -0
  152. package/dist/plugin/react-client/index.js +1 -0
  153. package/dist/plugin/react-client/plugin.d.ts +4 -0
  154. package/dist/plugin/react-client/plugin.d.ts.map +1 -0
  155. package/dist/plugin/react-client/plugin.js +34 -0
  156. package/dist/plugin/react-client/plugin.js.map +1 -0
  157. package/dist/plugin/react-server/createDevMiddleware.d.ts.map +1 -0
  158. package/dist/plugin/react-server/createDevMiddleware.js +68 -0
  159. package/dist/plugin/react-server/createDevServer.d.ts.map +1 -0
  160. package/dist/plugin/react-server/createDevServer.js +4 -0
  161. package/dist/plugin/react-server/createHandler.d.ts +17 -0
  162. package/dist/plugin/react-server/createHandler.d.ts.map +1 -0
  163. package/dist/{src → plugin}/react-server/createHandler.js +28 -17
  164. package/dist/plugin/react-server/createHandler.js.map +1 -0
  165. package/dist/plugin/react-server/createReactNodeStreamer.d.ts.map +1 -0
  166. package/dist/plugin/react-server/createReactNodeStreamer.js +7 -0
  167. package/dist/{react-server → plugin/react-server}/createRscStream.d.ts +1 -1
  168. package/dist/plugin/react-server/createRscStream.d.ts.map +1 -0
  169. package/dist/{src → plugin}/react-server/createRscStream.js +14 -13
  170. package/dist/plugin/react-server/createRscStream.js.map +1 -0
  171. package/dist/{react-server → plugin/react-server}/createSsrHandler.d.ts +1 -1
  172. package/dist/plugin/react-server/createSsrHandler.d.ts.map +1 -0
  173. package/dist/plugin/react-server/createSsrHandler.js +102 -0
  174. package/dist/plugin/react-server/index.d.ts +4 -0
  175. package/dist/plugin/react-server/index.d.ts.map +1 -0
  176. package/dist/plugin/react-server/index.js +10 -0
  177. package/dist/{react-server → plugin/react-server}/plugin.d.ts +2 -2
  178. package/dist/plugin/react-server/plugin.d.ts.map +1 -0
  179. package/dist/plugin/react-server/plugin.js +375 -0
  180. package/dist/plugin/react-server/plugin.js.map +1 -0
  181. package/dist/plugin/resolvePage.d.ts.map +1 -0
  182. package/dist/{src → plugin}/resolvePage.js +8 -4
  183. package/dist/plugin/resolvePage.js.map +1 -0
  184. package/dist/plugin/resolveProps.d.ts.map +1 -0
  185. package/dist/{src → plugin}/resolveProps.js +21 -8
  186. package/dist/plugin/resolveProps.js.map +1 -0
  187. package/dist/plugin/server.d.ts +2 -0
  188. package/dist/plugin/server.d.ts.map +1 -0
  189. package/dist/plugin/server.js +1 -0
  190. package/dist/plugin/transformer/index.d.ts +2 -0
  191. package/dist/plugin/transformer/index.d.ts.map +1 -0
  192. package/dist/plugin/transformer/index.js +1 -0
  193. package/dist/{transformer/index.d.ts → plugin/transformer/plugin.d.ts} +3 -3
  194. package/dist/plugin/transformer/plugin.d.ts.map +1 -0
  195. package/dist/plugin/transformer/plugin.js +86 -0
  196. package/dist/plugin/transformer/plugin.js.map +1 -0
  197. package/dist/plugin/transformer/transformer-client-components.d.ts +21 -0
  198. package/dist/plugin/transformer/transformer-client-components.d.ts.map +1 -0
  199. package/dist/plugin/transformer/transformer-client-components.js +61 -0
  200. package/dist/plugin/transformer/transformer-client-components.js.map +1 -0
  201. package/dist/{transformer/transformer.d.ts → plugin/transformer/transformer-server-actions.d.ts} +3 -4
  202. package/dist/plugin/transformer/transformer-server-actions.d.ts.map +1 -0
  203. package/dist/plugin/transformer/transformer-server-actions.js +76 -0
  204. package/dist/plugin/transformer/transformer-server-actions.js.map +1 -0
  205. package/dist/plugin/transformer/types.d.ts.map +1 -0
  206. package/dist/plugin/transformer/types.js +1 -0
  207. package/dist/plugin/types.d.ts +225 -0
  208. package/dist/plugin/types.d.ts.map +1 -0
  209. package/dist/plugin/types.js +1 -0
  210. package/dist/plugin/worker/createWorker.d.ts +15 -0
  211. package/dist/plugin/worker/createWorker.d.ts.map +1 -0
  212. package/dist/plugin/worker/createWorker.js +71 -0
  213. package/dist/plugin/worker/createWorker.js.map +1 -0
  214. package/dist/plugin/worker/html/html-worker.d.ts +2 -0
  215. package/dist/plugin/worker/html/html-worker.d.ts.map +1 -0
  216. package/dist/plugin/worker/html/html-worker.development.d.ts +2 -0
  217. package/dist/plugin/worker/html/html-worker.development.d.ts.map +1 -0
  218. package/dist/plugin/worker/html/html-worker.development.js +12 -0
  219. package/dist/plugin/worker/html/html-worker.development.js.map +1 -0
  220. package/dist/plugin/worker/html/html-worker.js +4 -0
  221. package/dist/plugin/worker/html/html-worker.production.d.ts +2 -0
  222. package/dist/plugin/worker/html/html-worker.production.d.ts.map +1 -0
  223. package/dist/plugin/worker/html/html-worker.production.js +12 -0
  224. package/dist/plugin/worker/html/html-worker.production.js.map +1 -0
  225. package/dist/plugin/worker/html/index.d.ts +2 -0
  226. package/dist/plugin/worker/html/index.d.ts.map +1 -0
  227. package/dist/plugin/worker/html/index.js +7 -0
  228. package/dist/plugin/worker/html/index.js.map +1 -0
  229. package/dist/plugin/worker/html/messageHandler.d.ts +3 -0
  230. package/dist/plugin/worker/html/messageHandler.d.ts.map +1 -0
  231. package/dist/plugin/worker/html/messageHandler.js +98 -0
  232. package/dist/plugin/worker/html/messageHandler.js.map +1 -0
  233. package/dist/plugin/worker/html/plugin.d.ts +4 -0
  234. package/dist/plugin/worker/html/plugin.d.ts.map +1 -0
  235. package/dist/plugin/worker/html/plugin.js +89 -0
  236. package/dist/plugin/worker/html/renderPages.d.ts +38 -0
  237. package/dist/plugin/worker/html/renderPages.d.ts.map +1 -0
  238. package/dist/plugin/worker/html/renderPages.js +121 -0
  239. package/dist/plugin/worker/html/renderPages.js.map +1 -0
  240. package/dist/plugin/worker/loader.d.ts.map +1 -0
  241. package/dist/plugin/worker/loader.js +11 -0
  242. package/dist/plugin/worker/loader.js.map +1 -0
  243. package/dist/plugin/worker/plugin.d.ts +10 -0
  244. package/dist/plugin/worker/plugin.d.ts.map +1 -0
  245. package/dist/plugin/worker/plugin.js +14 -0
  246. package/dist/plugin/worker/rsc/createRscStream.d.ts +5 -0
  247. package/dist/plugin/worker/rsc/createRscStream.d.ts.map +1 -0
  248. package/dist/plugin/worker/rsc/createRscStream.js +39 -0
  249. package/dist/plugin/worker/rsc/createRscStream.js.map +1 -0
  250. package/dist/plugin/worker/rsc/development.d.ts +5 -0
  251. package/dist/plugin/worker/rsc/development.d.ts.map +1 -0
  252. package/dist/plugin/worker/rsc/development.js +13 -0
  253. package/dist/plugin/worker/rsc/development.js.map +1 -0
  254. package/dist/plugin/worker/rsc/index.d.ts +4 -0
  255. package/dist/plugin/worker/rsc/index.d.ts.map +1 -0
  256. package/dist/plugin/worker/rsc/index.js +15 -0
  257. package/dist/plugin/worker/rsc/index.js.map +1 -0
  258. package/dist/plugin/worker/rsc/plugin.d.ts +4 -0
  259. package/dist/plugin/worker/rsc/plugin.d.ts.map +1 -0
  260. package/dist/plugin/worker/rsc/plugin.js +82 -0
  261. package/dist/plugin/worker/rsc/plugin.js.map +1 -0
  262. package/dist/plugin/worker/rsc/production.d.ts +5 -0
  263. package/dist/plugin/worker/rsc/production.d.ts.map +1 -0
  264. package/dist/plugin/worker/rsc/production.js +13 -0
  265. package/dist/plugin/worker/rsc/production.js.map +1 -0
  266. package/dist/plugin/worker/rsc/rsc-worker.d.ts +2 -0
  267. package/dist/plugin/worker/rsc/rsc-worker.d.ts.map +1 -0
  268. package/dist/plugin/worker/rsc/rsc-worker.js +106 -0
  269. package/dist/plugin/worker/types.d.ts +99 -0
  270. package/dist/plugin/worker/types.d.ts.map +1 -0
  271. package/dist/plugin/worker/types.js +1 -0
  272. package/dist/server.d.ts +4 -1
  273. package/dist/server.d.ts.map +1 -1
  274. package/dist/server.js +9 -0
  275. package/dist/server.js.map +1 -0
  276. package/dist/tsconfig.tsbuildinfo +1 -0
  277. package/dist/types.d.ts +1 -201
  278. package/dist/types.d.ts.map +1 -1
  279. package/dist/types.js +1 -0
  280. package/package.json +44 -25
  281. package/plugin/build/createClientBuildConfig.ts +21 -0
  282. package/plugin/build/createServerBuildConfig.ts +66 -0
  283. package/plugin/build/createSharedBuildConfig.ts +35 -0
  284. package/plugin/build/mergeInputs.ts +58 -0
  285. package/plugin/checkFilesExist.ts +82 -0
  286. package/{src → plugin}/collect-css-manifest.ts +4 -2
  287. package/plugin/config/defaults.ts +44 -0
  288. package/plugin/config/getCondition.ts +3 -0
  289. package/plugin/config/getPaths.ts +25 -0
  290. package/plugin/config/getWorkerPath.ts +5 -0
  291. package/plugin/config/index.ts +8 -0
  292. package/plugin/config/moduleIdDefault.ts +23 -0
  293. package/plugin/config/resolveOptions.ts +53 -0
  294. package/plugin/config/resolvePages.ts +43 -0
  295. package/plugin/config/resolveUserConfig.ts +97 -0
  296. package/{src → plugin}/getEnv.ts +1 -1
  297. package/plugin/helpers/createClientInputNormalizer.ts +48 -0
  298. package/plugin/helpers/createServerInputNormalizer.ts +52 -0
  299. package/plugin/helpers/createStaticInputNormalizer.ts +26 -0
  300. package/plugin/helpers/getModuleManifest.ts +31 -0
  301. package/plugin/helpers/inputNormalizer.ts +39 -0
  302. package/plugin/helpers/inputNormalizerWorker.ts +47 -0
  303. package/plugin/helpers/resolveFilePath.ts +108 -0
  304. package/plugin/helpers/resolveWorkerModule.ts +41 -0
  305. package/plugin/helpers/validateModuleBase.ts +30 -0
  306. package/plugin/helpers/validateResolvedConfig.ts +21 -0
  307. package/plugin/index.ts +2 -0
  308. package/plugin/loader/createBuildLoader.ts +60 -0
  309. package/plugin/loader/createCssLoader.ts +73 -0
  310. package/{src/html → plugin/loader}/createPageLoader.ts +35 -27
  311. package/plugin/plugin.ts +8 -0
  312. package/plugin/preserver/index.ts +1 -0
  313. package/plugin/preserver/plugin.ts +110 -0
  314. package/plugin/react-client/index.ts +1 -0
  315. package/plugin/react-client/plugin.ts +33 -0
  316. package/{src → plugin}/react-server/createDevMiddleware.ts +17 -1
  317. package/{src → plugin}/react-server/createDevServer.ts +0 -1
  318. package/{src → plugin}/react-server/createHandler.ts +31 -10
  319. package/{src → plugin}/react-server/createReactNodeStreamer.ts +1 -0
  320. package/{src → plugin}/react-server/createRscStream.ts +8 -12
  321. package/{src → plugin}/react-server/createSsrHandler.ts +16 -19
  322. package/plugin/react-server/index.ts +13 -0
  323. package/plugin/react-server/plugin.ts +465 -0
  324. package/{src → plugin}/resolvePage.ts +1 -1
  325. package/{src → plugin}/resolveProps.ts +15 -6
  326. package/plugin/server.tsx +0 -0
  327. package/plugin/transformer/index.ts +1 -0
  328. package/plugin/transformer/plugin.ts +131 -0
  329. package/plugin/transformer/transformer-client-components.ts +94 -0
  330. package/{src/transformer/transformer.ts → plugin/transformer/transformer-server-actions.ts} +14 -27
  331. package/{src → plugin}/types.ts +97 -55
  332. package/plugin/worker/createWorker.ts +84 -0
  333. package/plugin/worker/html/html-worker.development.tsx +8 -0
  334. package/plugin/worker/html/html-worker.production.tsx +8 -0
  335. package/plugin/worker/html/html-worker.ts +5 -0
  336. package/plugin/worker/html/index.ts +5 -0
  337. package/plugin/worker/html/messageHandler.ts +116 -0
  338. package/plugin/worker/html/plugin.ts +97 -0
  339. package/plugin/worker/html/renderPages.ts +187 -0
  340. package/plugin/worker/plugin.ts +17 -0
  341. package/plugin/worker/rsc/createRscStream.ts +42 -0
  342. package/plugin/worker/rsc/development.ts +6 -0
  343. package/plugin/worker/rsc/index.ts +14 -0
  344. package/plugin/worker/rsc/plugin.ts +83 -0
  345. package/plugin/worker/rsc/production.ts +6 -0
  346. package/plugin/worker/rsc/rsc-worker.tsx +128 -0
  347. package/plugin/worker/types.ts +124 -0
  348. package/scripts/bump-version.mjs +68 -0
  349. package/scripts/check-react-version.mjs +66 -0
  350. package/scripts/react+0.0.0-experimental-b3a95caf-20250113.patch +4291 -0
  351. package/scripts/react-dom+0.0.0-experimental-b3a95caf-20250113.patch +108798 -0
  352. package/scripts/react-server-dom-esm+0.0.0-experimental-b3a95caf-20250113.patch +24775 -0
  353. package/{patches → scripts}/react-server-dom-esm+0.0.1.patch +10259 -3
  354. package/tsconfig.json +15 -13
  355. package/dist/assertServerCondition.d.ts.map +0 -1
  356. package/dist/bin/patch.js +0 -51
  357. package/dist/bin/patch.js.map +0 -1
  358. package/dist/build/createBuildConfig.d.ts +0 -13
  359. package/dist/build/createBuildConfig.d.ts.map +0 -1
  360. package/dist/build/mergeInputs.d.ts +0 -5
  361. package/dist/build/mergeInputs.d.ts.map +0 -1
  362. package/dist/checkFilesExist.d.ts +0 -8
  363. package/dist/checkFilesExist.d.ts.map +0 -1
  364. package/dist/collect-css-manifest.d.ts.map +0 -1
  365. package/dist/components.d.ts.map +0 -1
  366. package/dist/copy-dir.d.ts.map +0 -1
  367. package/dist/getEnv.d.ts.map +0 -1
  368. package/dist/helpers/inputNormalizer.d.ts +0 -6
  369. package/dist/helpers/inputNormalizer.d.ts.map +0 -1
  370. package/dist/helpers/normalizedRelativePath.d.ts.map +0 -1
  371. package/dist/helpers/tryManifest.d.ts.map +0 -1
  372. package/dist/html/createPageLoader.d.ts.map +0 -1
  373. package/dist/manifest.d.ts.map +0 -1
  374. package/dist/module-graph.d.ts.map +0 -1
  375. package/dist/options.d.ts +0 -91
  376. package/dist/options.d.ts.map +0 -1
  377. package/dist/plugin.d.ts +0 -3
  378. package/dist/plugin.d.ts.map +0 -1
  379. package/dist/react-client/plugin.d.ts +0 -4
  380. package/dist/react-client/plugin.d.ts.map +0 -1
  381. package/dist/react-client/plugin.js +0 -28
  382. package/dist/react-client/plugin.js.map +0 -1
  383. package/dist/react-server/createDevMiddleware.d.ts.map +0 -1
  384. package/dist/react-server/createDevServer.d.ts.map +0 -1
  385. package/dist/react-server/createHandler.d.ts +0 -23
  386. package/dist/react-server/createHandler.d.ts.map +0 -1
  387. package/dist/react-server/createReactNodeStreamer.d.ts.map +0 -1
  388. package/dist/react-server/createRscStream.d.ts.map +0 -1
  389. package/dist/react-server/createSsrHandler.d.ts.map +0 -1
  390. package/dist/react-server/plugin.d.ts.map +0 -1
  391. package/dist/react-server/plugin.js +0 -345
  392. package/dist/react-server/plugin.js.map +0 -1
  393. package/dist/resolvePage.d.ts.map +0 -1
  394. package/dist/resolveProps.d.ts.map +0 -1
  395. package/dist/src/build/createBuildConfig.js +0 -44
  396. package/dist/src/build/createBuildConfig.js.map +0 -1
  397. package/dist/src/build/mergeInputs.js +0 -16
  398. package/dist/src/build/mergeInputs.js.map +0 -1
  399. package/dist/src/checkFilesExist.js +0 -61
  400. package/dist/src/checkFilesExist.js.map +0 -1
  401. package/dist/src/collect-css-manifest.js.map +0 -1
  402. package/dist/src/components.js.map +0 -1
  403. package/dist/src/getEnv.js +0 -76
  404. package/dist/src/getEnv.js.map +0 -1
  405. package/dist/src/helpers/inputNormalizer.js +0 -11
  406. package/dist/src/helpers/inputNormalizer.js.map +0 -1
  407. package/dist/src/helpers/normalizedRelativePath.js +0 -34
  408. package/dist/src/helpers/normalizedRelativePath.js.map +0 -1
  409. package/dist/src/helpers/tryManifest.js.map +0 -1
  410. package/dist/src/html/createPageLoader.js +0 -72
  411. package/dist/src/html/createPageLoader.js.map +0 -1
  412. package/dist/src/options.js +0 -307
  413. package/dist/src/options.js.map +0 -1
  414. package/dist/src/react-server/createHandler.js.map +0 -1
  415. package/dist/src/react-server/createRscStream.js.map +0 -1
  416. package/dist/src/resolvePage.js.map +0 -1
  417. package/dist/src/resolveProps.js.map +0 -1
  418. package/dist/src/worker/createHtmlStream.js +0 -62
  419. package/dist/src/worker/createHtmlStream.js.map +0 -1
  420. package/dist/src/worker/createWorker.js +0 -34
  421. package/dist/src/worker/createWorker.js.map +0 -1
  422. package/dist/src/worker/renderPages.js +0 -99
  423. package/dist/src/worker/renderPages.js.map +0 -1
  424. package/dist/transformer/index.d.ts.map +0 -1
  425. package/dist/transformer/preserveDirectives.d.ts +0 -4
  426. package/dist/transformer/preserveDirectives.d.ts.map +0 -1
  427. package/dist/transformer/preserver.d.ts +0 -2
  428. package/dist/transformer/preserver.d.ts.map +0 -1
  429. package/dist/transformer/transformer.d.ts.map +0 -1
  430. package/dist/transformer/types.d.ts.map +0 -1
  431. package/dist/worker/createHtmlStream.d.ts +0 -7
  432. package/dist/worker/createHtmlStream.d.ts.map +0 -1
  433. package/dist/worker/createWorker.d.ts +0 -10
  434. package/dist/worker/createWorker.d.ts.map +0 -1
  435. package/dist/worker/loader.d.ts.map +0 -1
  436. package/dist/worker/loader.js +0 -7
  437. package/dist/worker/loader.js.map +0 -1
  438. package/dist/worker/renderPages.d.ts +0 -18
  439. package/dist/worker/renderPages.d.ts.map +0 -1
  440. package/dist/worker/types.d.ts +0 -31
  441. package/dist/worker/types.d.ts.map +0 -1
  442. package/dist/worker/worker.d.ts +0 -7
  443. package/dist/worker/worker.d.ts.map +0 -1
  444. package/dist/worker/worker.js +0 -112
  445. package/dist/worker/worker.js.map +0 -1
  446. package/src/build/createBuildConfig.ts +0 -57
  447. package/src/build/mergeInputs.ts +0 -42
  448. package/src/checkFilesExist.ts +0 -67
  449. package/src/helpers/inputNormalizer.ts +0 -22
  450. package/src/index.ts +0 -4
  451. package/src/options.ts +0 -423
  452. package/src/plugin.ts +0 -5
  453. package/src/react-client/plugin.ts +0 -34
  454. package/src/react-server/plugin.ts +0 -409
  455. package/src/transformer/index.ts +0 -112
  456. package/src/transformer/preserveDirectives.ts +0 -100
  457. package/src/transformer/preserver.ts +0 -47
  458. package/src/worker/createHtmlStream.ts +0 -76
  459. package/src/worker/createWorker.ts +0 -44
  460. package/src/worker/renderPages.ts +0 -144
  461. package/src/worker/types.ts +0 -38
  462. package/src/worker/worker.tsx +0 -136
  463. /package/dist/{assertServerCondition.d.ts → plugin/assertServerCondition.d.ts} +0 -0
  464. /package/dist/{components.d.ts → plugin/components.d.ts} +0 -0
  465. /package/dist/{copy-dir.d.ts → plugin/copy-dir.d.ts} +0 -0
  466. /package/dist/{getEnv.d.ts → plugin/getEnv.d.ts} +0 -0
  467. /package/dist/{helpers → plugin/helpers}/normalizedRelativePath.d.ts +0 -0
  468. /package/dist/{helpers → plugin/helpers}/tryManifest.d.ts +0 -0
  469. /package/dist/{manifest.d.ts → plugin/manifest.d.ts} +0 -0
  470. /package/dist/{module-graph.d.ts → plugin/module-graph.d.ts} +0 -0
  471. /package/dist/{react-server → plugin/react-server}/createDevMiddleware.d.ts +0 -0
  472. /package/dist/{react-server → plugin/react-server}/createDevServer.d.ts +0 -0
  473. /package/dist/{react-server → plugin/react-server}/createReactNodeStreamer.d.ts +0 -0
  474. /package/dist/{resolvePage.d.ts → plugin/resolvePage.d.ts} +0 -0
  475. /package/dist/{resolveProps.d.ts → plugin/resolveProps.d.ts} +0 -0
  476. /package/dist/{transformer → plugin/transformer}/types.d.ts +0 -0
  477. /package/dist/{worker → plugin/worker}/loader.d.ts +0 -0
  478. /package/{src → plugin}/assertServerCondition.ts +0 -0
  479. /package/{src → plugin}/components.tsx +0 -0
  480. /package/{src → plugin}/copy-dir.ts +0 -0
  481. /package/{src/server.tsx → plugin/getCondition.ts} +0 -0
  482. /package/{src → plugin}/helpers/normalizedRelativePath.ts +0 -0
  483. /package/{src → plugin}/helpers/tryManifest.ts +0 -0
  484. /package/{src → plugin}/manifest.ts +0 -0
  485. /package/{src → plugin}/module-graph.ts +0 -0
  486. /package/{src → plugin}/transformer/README.md +0 -0
  487. /package/{src → plugin}/transformer/types.ts +0 -0
  488. /package/{src → plugin}/worker/loader.ts +0 -0
@@ -0,0 +1,4291 @@
1
+ diff --git a/node_modules/react/cjs/react-jsx-dev-runtime.development.js b/node_modules/react/cjs/react-jsx-dev-runtime.development.js
2
+ index 2fe080e..aeca110 100644
3
+ --- a/node_modules/react/cjs/react-jsx-dev-runtime.development.js
4
+ +++ b/node_modules/react/cjs/react-jsx-dev-runtime.development.js
5
+ @@ -14,7 +14,7 @@
6
+ function getComponentNameFromType(type) {
7
+ if (null == type) return null;
8
+ if ("function" === typeof type)
9
+ - return type.$$typeof === REACT_CLIENT_REFERENCE$2
10
+ + return type.$$typeof === REACT_CLIENT_REFERENCE
11
+ ? null
12
+ : type.displayName || type.name || null;
13
+ if ("string" === typeof type) return type;
14
+ @@ -31,6 +31,8 @@
15
+ return "Suspense";
16
+ case REACT_SUSPENSE_LIST_TYPE:
17
+ return "SuspenseList";
18
+ + case REACT_VIEW_TRANSITION_TYPE:
19
+ + return "ViewTransition";
20
+ }
21
+ if ("object" === typeof type)
22
+ switch (
23
+ @@ -94,255 +96,20 @@
24
+ return testStringCoercion(value);
25
+ }
26
+ }
27
+ - function disabledLog() {}
28
+ - function disableLogs() {
29
+ - if (0 === disabledDepth) {
30
+ - prevLog = console.log;
31
+ - prevInfo = console.info;
32
+ - prevWarn = console.warn;
33
+ - prevError = console.error;
34
+ - prevGroup = console.group;
35
+ - prevGroupCollapsed = console.groupCollapsed;
36
+ - prevGroupEnd = console.groupEnd;
37
+ - var props = {
38
+ - configurable: !0,
39
+ - enumerable: !0,
40
+ - value: disabledLog,
41
+ - writable: !0
42
+ - };
43
+ - Object.defineProperties(console, {
44
+ - info: props,
45
+ - log: props,
46
+ - warn: props,
47
+ - error: props,
48
+ - group: props,
49
+ - groupCollapsed: props,
50
+ - groupEnd: props
51
+ - });
52
+ - }
53
+ - disabledDepth++;
54
+ - }
55
+ - function reenableLogs() {
56
+ - disabledDepth--;
57
+ - if (0 === disabledDepth) {
58
+ - var props = { configurable: !0, enumerable: !0, writable: !0 };
59
+ - Object.defineProperties(console, {
60
+ - log: assign({}, props, { value: prevLog }),
61
+ - info: assign({}, props, { value: prevInfo }),
62
+ - warn: assign({}, props, { value: prevWarn }),
63
+ - error: assign({}, props, { value: prevError }),
64
+ - group: assign({}, props, { value: prevGroup }),
65
+ - groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
66
+ - groupEnd: assign({}, props, { value: prevGroupEnd })
67
+ - });
68
+ - }
69
+ - 0 > disabledDepth &&
70
+ - console.error(
71
+ - "disabledDepth fell below zero. This is a bug in React. Please file an issue."
72
+ - );
73
+ - }
74
+ - function describeBuiltInComponentFrame(name) {
75
+ - if (void 0 === prefix)
76
+ - try {
77
+ - throw Error();
78
+ - } catch (x) {
79
+ - var match = x.stack.trim().match(/\n( *(at )?)/);
80
+ - prefix = (match && match[1]) || "";
81
+ - suffix =
82
+ - -1 < x.stack.indexOf("\n at")
83
+ - ? " (<anonymous>)"
84
+ - : -1 < x.stack.indexOf("@")
85
+ - ? "@unknown:0:0"
86
+ - : "";
87
+ - }
88
+ - return "\n" + prefix + name + suffix;
89
+ - }
90
+ - function describeNativeComponentFrame(fn, construct) {
91
+ - if (!fn || reentry) return "";
92
+ - var frame = componentFrameCache.get(fn);
93
+ - if (void 0 !== frame) return frame;
94
+ - reentry = !0;
95
+ - frame = Error.prepareStackTrace;
96
+ - Error.prepareStackTrace = void 0;
97
+ - var previousDispatcher = null;
98
+ - previousDispatcher = ReactSharedInternals.H;
99
+ - ReactSharedInternals.H = null;
100
+ - disableLogs();
101
+ + function getTaskName(type) {
102
+ + if (type === REACT_FRAGMENT_TYPE) return "<>";
103
+ + if (
104
+ + "object" === typeof type &&
105
+ + null !== type &&
106
+ + type.$$typeof === REACT_LAZY_TYPE
107
+ + )
108
+ + return "<...>";
109
+ try {
110
+ - var RunInRootFrame = {
111
+ - DetermineComponentFrameRoot: function () {
112
+ - try {
113
+ - if (construct) {
114
+ - var Fake = function () {
115
+ - throw Error();
116
+ - };
117
+ - Object.defineProperty(Fake.prototype, "props", {
118
+ - set: function () {
119
+ - throw Error();
120
+ - }
121
+ - });
122
+ - if ("object" === typeof Reflect && Reflect.construct) {
123
+ - try {
124
+ - Reflect.construct(Fake, []);
125
+ - } catch (x) {
126
+ - var control = x;
127
+ - }
128
+ - Reflect.construct(fn, [], Fake);
129
+ - } else {
130
+ - try {
131
+ - Fake.call();
132
+ - } catch (x$0) {
133
+ - control = x$0;
134
+ - }
135
+ - fn.call(Fake.prototype);
136
+ - }
137
+ - } else {
138
+ - try {
139
+ - throw Error();
140
+ - } catch (x$1) {
141
+ - control = x$1;
142
+ - }
143
+ - (Fake = fn()) &&
144
+ - "function" === typeof Fake.catch &&
145
+ - Fake.catch(function () {});
146
+ - }
147
+ - } catch (sample) {
148
+ - if (sample && control && "string" === typeof sample.stack)
149
+ - return [sample.stack, control.stack];
150
+ - }
151
+ - return [null, null];
152
+ - }
153
+ - };
154
+ - RunInRootFrame.DetermineComponentFrameRoot.displayName =
155
+ - "DetermineComponentFrameRoot";
156
+ - var namePropDescriptor = Object.getOwnPropertyDescriptor(
157
+ - RunInRootFrame.DetermineComponentFrameRoot,
158
+ - "name"
159
+ - );
160
+ - namePropDescriptor &&
161
+ - namePropDescriptor.configurable &&
162
+ - Object.defineProperty(
163
+ - RunInRootFrame.DetermineComponentFrameRoot,
164
+ - "name",
165
+ - { value: "DetermineComponentFrameRoot" }
166
+ - );
167
+ - var _RunInRootFrame$Deter =
168
+ - RunInRootFrame.DetermineComponentFrameRoot(),
169
+ - sampleStack = _RunInRootFrame$Deter[0],
170
+ - controlStack = _RunInRootFrame$Deter[1];
171
+ - if (sampleStack && controlStack) {
172
+ - var sampleLines = sampleStack.split("\n"),
173
+ - controlLines = controlStack.split("\n");
174
+ - for (
175
+ - _RunInRootFrame$Deter = namePropDescriptor = 0;
176
+ - namePropDescriptor < sampleLines.length &&
177
+ - !sampleLines[namePropDescriptor].includes(
178
+ - "DetermineComponentFrameRoot"
179
+ - );
180
+ -
181
+ - )
182
+ - namePropDescriptor++;
183
+ - for (
184
+ - ;
185
+ - _RunInRootFrame$Deter < controlLines.length &&
186
+ - !controlLines[_RunInRootFrame$Deter].includes(
187
+ - "DetermineComponentFrameRoot"
188
+ - );
189
+ -
190
+ - )
191
+ - _RunInRootFrame$Deter++;
192
+ - if (
193
+ - namePropDescriptor === sampleLines.length ||
194
+ - _RunInRootFrame$Deter === controlLines.length
195
+ - )
196
+ - for (
197
+ - namePropDescriptor = sampleLines.length - 1,
198
+ - _RunInRootFrame$Deter = controlLines.length - 1;
199
+ - 1 <= namePropDescriptor &&
200
+ - 0 <= _RunInRootFrame$Deter &&
201
+ - sampleLines[namePropDescriptor] !==
202
+ - controlLines[_RunInRootFrame$Deter];
203
+ -
204
+ - )
205
+ - _RunInRootFrame$Deter--;
206
+ - for (
207
+ - ;
208
+ - 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
209
+ - namePropDescriptor--, _RunInRootFrame$Deter--
210
+ - )
211
+ - if (
212
+ - sampleLines[namePropDescriptor] !==
213
+ - controlLines[_RunInRootFrame$Deter]
214
+ - ) {
215
+ - if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
216
+ - do
217
+ - if (
218
+ - (namePropDescriptor--,
219
+ - _RunInRootFrame$Deter--,
220
+ - 0 > _RunInRootFrame$Deter ||
221
+ - sampleLines[namePropDescriptor] !==
222
+ - controlLines[_RunInRootFrame$Deter])
223
+ - ) {
224
+ - var _frame =
225
+ - "\n" +
226
+ - sampleLines[namePropDescriptor].replace(
227
+ - " at new ",
228
+ - " at "
229
+ - );
230
+ - fn.displayName &&
231
+ - _frame.includes("<anonymous>") &&
232
+ - (_frame = _frame.replace("<anonymous>", fn.displayName));
233
+ - "function" === typeof fn &&
234
+ - componentFrameCache.set(fn, _frame);
235
+ - return _frame;
236
+ - }
237
+ - while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
238
+ - }
239
+ - break;
240
+ - }
241
+ - }
242
+ - } finally {
243
+ - (reentry = !1),
244
+ - (ReactSharedInternals.H = previousDispatcher),
245
+ - reenableLogs(),
246
+ - (Error.prepareStackTrace = frame);
247
+ + var name = getComponentNameFromType(type);
248
+ + return name ? "<" + name + ">" : "<...>";
249
+ + } catch (x) {
250
+ + return "<...>";
251
+ }
252
+ - sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
253
+ - ? describeBuiltInComponentFrame(sampleLines)
254
+ - : "";
255
+ - "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
256
+ - return sampleLines;
257
+ - }
258
+ - function describeUnknownElementTypeFrameInDEV(type) {
259
+ - if (null == type) return "";
260
+ - if ("function" === typeof type) {
261
+ - var prototype = type.prototype;
262
+ - return describeNativeComponentFrame(
263
+ - type,
264
+ - !(!prototype || !prototype.isReactComponent)
265
+ - );
266
+ - }
267
+ - if ("string" === typeof type) return describeBuiltInComponentFrame(type);
268
+ - switch (type) {
269
+ - case REACT_SUSPENSE_TYPE:
270
+ - return describeBuiltInComponentFrame("Suspense");
271
+ - case REACT_SUSPENSE_LIST_TYPE:
272
+ - return describeBuiltInComponentFrame("SuspenseList");
273
+ - }
274
+ - if ("object" === typeof type)
275
+ - switch (type.$$typeof) {
276
+ - case REACT_FORWARD_REF_TYPE:
277
+ - return describeNativeComponentFrame(type.render, !1);
278
+ - case REACT_MEMO_TYPE:
279
+ - return describeUnknownElementTypeFrameInDEV(type.type);
280
+ - case REACT_LAZY_TYPE:
281
+ - prototype = type._payload;
282
+ - type = type._init;
283
+ - try {
284
+ - return describeUnknownElementTypeFrameInDEV(type(prototype));
285
+ - } catch (x) {}
286
+ - }
287
+ - return "";
288
+ }
289
+ function getOwner() {
290
+ var dispatcher = ReactSharedInternals.A;
291
+ @@ -380,7 +147,16 @@
292
+ componentName = this.props.ref;
293
+ return void 0 !== componentName ? componentName : null;
294
+ }
295
+ - function ReactElement(type, key, self, source, owner, props) {
296
+ + function ReactElement(
297
+ + type,
298
+ + key,
299
+ + self,
300
+ + source,
301
+ + owner,
302
+ + props,
303
+ + debugStack,
304
+ + debugTask
305
+ + ) {
306
+ self = props.ref;
307
+ type = {
308
+ $$typeof: REACT_ELEMENT_TYPE,
309
+ @@ -408,6 +184,18 @@
310
+ writable: !0,
311
+ value: null
312
+ });
313
+ + Object.defineProperty(type, "_debugStack", {
314
+ + configurable: !1,
315
+ + enumerable: !1,
316
+ + writable: !0,
317
+ + value: debugStack
318
+ + });
319
+ + Object.defineProperty(type, "_debugTask", {
320
+ + configurable: !1,
321
+ + enumerable: !1,
322
+ + writable: !0,
323
+ + value: debugTask
324
+ + });
325
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
326
+ return type;
327
+ }
328
+ @@ -417,71 +205,26 @@
329
+ maybeKey,
330
+ isStaticChildren,
331
+ source,
332
+ - self
333
+ + self,
334
+ + debugStack,
335
+ + debugTask
336
+ ) {
337
+ - if (
338
+ - "string" === typeof type ||
339
+ - "function" === typeof type ||
340
+ - type === REACT_FRAGMENT_TYPE ||
341
+ - type === REACT_PROFILER_TYPE ||
342
+ - type === REACT_STRICT_MODE_TYPE ||
343
+ - type === REACT_SUSPENSE_TYPE ||
344
+ - type === REACT_SUSPENSE_LIST_TYPE ||
345
+ - type === REACT_OFFSCREEN_TYPE ||
346
+ - ("object" === typeof type &&
347
+ - null !== type &&
348
+ - (type.$$typeof === REACT_LAZY_TYPE ||
349
+ - type.$$typeof === REACT_MEMO_TYPE ||
350
+ - type.$$typeof === REACT_CONTEXT_TYPE ||
351
+ - type.$$typeof === REACT_CONSUMER_TYPE ||
352
+ - type.$$typeof === REACT_FORWARD_REF_TYPE ||
353
+ - type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
354
+ - void 0 !== type.getModuleId))
355
+ - ) {
356
+ - var children = config.children;
357
+ - if (void 0 !== children)
358
+ - if (isStaticChildren)
359
+ - if (isArrayImpl(children)) {
360
+ - for (
361
+ - isStaticChildren = 0;
362
+ - isStaticChildren < children.length;
363
+ - isStaticChildren++
364
+ - )
365
+ - validateChildKeys(children[isStaticChildren], type);
366
+ - Object.freeze && Object.freeze(children);
367
+ - } else
368
+ - console.error(
369
+ - "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
370
+ - );
371
+ - else validateChildKeys(children, type);
372
+ - } else {
373
+ - children = "";
374
+ - if (
375
+ - void 0 === type ||
376
+ - ("object" === typeof type &&
377
+ - null !== type &&
378
+ - 0 === Object.keys(type).length)
379
+ - )
380
+ - children +=
381
+ - " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
382
+ - null === type
383
+ - ? (isStaticChildren = "null")
384
+ - : isArrayImpl(type)
385
+ - ? (isStaticChildren = "array")
386
+ - : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
387
+ - ? ((isStaticChildren =
388
+ - "<" +
389
+ - (getComponentNameFromType(type.type) || "Unknown") +
390
+ - " />"),
391
+ - (children =
392
+ - " Did you accidentally export a JSX literal instead of a component?"))
393
+ - : (isStaticChildren = typeof type);
394
+ - console.error(
395
+ - "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
396
+ - isStaticChildren,
397
+ - children
398
+ - );
399
+ - }
400
+ + var children = config.children;
401
+ + if (void 0 !== children)
402
+ + if (isStaticChildren)
403
+ + if (isArrayImpl(children)) {
404
+ + for (
405
+ + isStaticChildren = 0;
406
+ + isStaticChildren < children.length;
407
+ + isStaticChildren++
408
+ + )
409
+ + validateChildKeys(children[isStaticChildren]);
410
+ + Object.freeze && Object.freeze(children);
411
+ + } else
412
+ + console.error(
413
+ + "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
414
+ + );
415
+ + else validateChildKeys(children);
416
+ if (hasOwnProperty.call(config, "key")) {
417
+ children = getComponentNameFromType(type);
418
+ var keys = Object.keys(config).filter(function (k) {
419
+ @@ -520,88 +263,23 @@
420
+ ? type.displayName || type.name || "Unknown"
421
+ : type
422
+ );
423
+ - return ReactElement(type, children, self, source, getOwner(), maybeKey);
424
+ - }
425
+ - function validateChildKeys(node, parentType) {
426
+ - if (
427
+ - "object" === typeof node &&
428
+ - node &&
429
+ - node.$$typeof !== REACT_CLIENT_REFERENCE
430
+ - )
431
+ - if (isArrayImpl(node))
432
+ - for (var i = 0; i < node.length; i++) {
433
+ - var child = node[i];
434
+ - isValidElement(child) && validateExplicitKey(child, parentType);
435
+ - }
436
+ - else if (isValidElement(node))
437
+ - node._store && (node._store.validated = 1);
438
+ - else if (
439
+ - (null === node || "object" !== typeof node
440
+ - ? (i = null)
441
+ - : ((i =
442
+ - (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
443
+ - node["@@iterator"]),
444
+ - (i = "function" === typeof i ? i : null)),
445
+ - "function" === typeof i &&
446
+ - i !== node.entries &&
447
+ - ((i = i.call(node)), i !== node))
448
+ - )
449
+ - for (; !(node = i.next()).done; )
450
+ - isValidElement(node.value) &&
451
+ - validateExplicitKey(node.value, parentType);
452
+ - }
453
+ - function isValidElement(object) {
454
+ - return (
455
+ - "object" === typeof object &&
456
+ - null !== object &&
457
+ - object.$$typeof === REACT_ELEMENT_TYPE
458
+ + return ReactElement(
459
+ + type,
460
+ + children,
461
+ + self,
462
+ + source,
463
+ + getOwner(),
464
+ + maybeKey,
465
+ + debugStack,
466
+ + debugTask
467
+ );
468
+ }
469
+ - function validateExplicitKey(element, parentType) {
470
+ - if (
471
+ - element._store &&
472
+ - !element._store.validated &&
473
+ - null == element.key &&
474
+ - ((element._store.validated = 1),
475
+ - (parentType = getCurrentComponentErrorInfo(parentType)),
476
+ - !ownerHasKeyUseWarning[parentType])
477
+ - ) {
478
+ - ownerHasKeyUseWarning[parentType] = !0;
479
+ - var childOwner = "";
480
+ - element &&
481
+ - null != element._owner &&
482
+ - element._owner !== getOwner() &&
483
+ - ((childOwner = null),
484
+ - "number" === typeof element._owner.tag
485
+ - ? (childOwner = getComponentNameFromType(element._owner.type))
486
+ - : "string" === typeof element._owner.name &&
487
+ - (childOwner = element._owner.name),
488
+ - (childOwner = " It was passed a child from " + childOwner + "."));
489
+ - var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
490
+ - ReactSharedInternals.getCurrentStack = function () {
491
+ - var stack = describeUnknownElementTypeFrameInDEV(element.type);
492
+ - prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
493
+ - return stack;
494
+ - };
495
+ - console.error(
496
+ - 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
497
+ - parentType,
498
+ - childOwner
499
+ - );
500
+ - ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
501
+ - }
502
+ - }
503
+ - function getCurrentComponentErrorInfo(parentType) {
504
+ - var info = "",
505
+ - owner = getOwner();
506
+ - owner &&
507
+ - (owner = getComponentNameFromType(owner.type)) &&
508
+ - (info = "\n\nCheck the render method of `" + owner + "`.");
509
+ - info ||
510
+ - ((parentType = getComponentNameFromType(parentType)) &&
511
+ - (info =
512
+ - "\n\nCheck the top-level render call using <" + parentType + ">."));
513
+ - return info;
514
+ + function validateChildKeys(node) {
515
+ + "object" === typeof node &&
516
+ + null !== node &&
517
+ + node.$$typeof === REACT_ELEMENT_TYPE &&
518
+ + node._store &&
519
+ + (node._store.validated = 1);
520
+ }
521
+ var React = require("react"),
522
+ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
523
+ @@ -617,35 +295,21 @@
524
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
525
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
526
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
527
+ - REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
528
+ - MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
529
+ - REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
530
+ + REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
531
+ + REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
532
+ ReactSharedInternals =
533
+ React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
534
+ hasOwnProperty = Object.prototype.hasOwnProperty,
535
+ - assign = Object.assign,
536
+ - REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
537
+ - isArrayImpl = Array.isArray,
538
+ - disabledDepth = 0,
539
+ - prevLog,
540
+ - prevInfo,
541
+ - prevWarn,
542
+ - prevError,
543
+ - prevGroup,
544
+ - prevGroupCollapsed,
545
+ - prevGroupEnd;
546
+ - disabledLog.__reactDisabledLog = !0;
547
+ - var prefix,
548
+ - suffix,
549
+ - reentry = !1;
550
+ - var componentFrameCache = new (
551
+ - "function" === typeof WeakMap ? WeakMap : Map
552
+ - )();
553
+ - var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
554
+ + isArrayImpl = Array.isArray;
555
+ + new ("function" === typeof WeakMap ? WeakMap : Map)();
556
+ + var createTask = console.createTask
557
+ + ? console.createTask
558
+ + : function () {
559
+ + return null;
560
+ + },
561
+ specialPropKeyWarningShown;
562
+ var didWarnAboutElementRef = {};
563
+ - var didWarnAboutKeySpread = {},
564
+ - ownerHasKeyUseWarning = {};
565
+ + var didWarnAboutKeySpread = {};
566
+ exports.Fragment = REACT_FRAGMENT_TYPE;
567
+ exports.jsxDEV = function (
568
+ type,
569
+ @@ -655,6 +319,15 @@
570
+ source,
571
+ self
572
+ ) {
573
+ - return jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self);
574
+ + return jsxDEVImpl(
575
+ + type,
576
+ + config,
577
+ + maybeKey,
578
+ + isStaticChildren,
579
+ + source,
580
+ + self,
581
+ + Error("react-stack-top-frame"),
582
+ + createTask(getTaskName(type))
583
+ + );
584
+ };
585
+ })();
586
+ diff --git a/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js b/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js
587
+ index 6ad863c..0d74219 100644
588
+ --- a/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js
589
+ +++ b/node_modules/react/cjs/react-jsx-dev-runtime.react-server.development.js
590
+ @@ -14,7 +14,7 @@
591
+ function getComponentNameFromType(type) {
592
+ if (null == type) return null;
593
+ if ("function" === typeof type)
594
+ - return type.$$typeof === REACT_CLIENT_REFERENCE$2
595
+ + return type.$$typeof === REACT_CLIENT_REFERENCE
596
+ ? null
597
+ : type.displayName || type.name || null;
598
+ if ("string" === typeof type) return type;
599
+ @@ -31,6 +31,8 @@
600
+ return "Suspense";
601
+ case REACT_SUSPENSE_LIST_TYPE:
602
+ return "SuspenseList";
603
+ + case REACT_VIEW_TRANSITION_TYPE:
604
+ + return "ViewTransition";
605
+ }
606
+ if ("object" === typeof type)
607
+ switch (
608
+ @@ -94,255 +96,20 @@
609
+ return testStringCoercion(value);
610
+ }
611
+ }
612
+ - function disabledLog() {}
613
+ - function disableLogs() {
614
+ - if (0 === disabledDepth) {
615
+ - prevLog = console.log;
616
+ - prevInfo = console.info;
617
+ - prevWarn = console.warn;
618
+ - prevError = console.error;
619
+ - prevGroup = console.group;
620
+ - prevGroupCollapsed = console.groupCollapsed;
621
+ - prevGroupEnd = console.groupEnd;
622
+ - var props = {
623
+ - configurable: !0,
624
+ - enumerable: !0,
625
+ - value: disabledLog,
626
+ - writable: !0
627
+ - };
628
+ - Object.defineProperties(console, {
629
+ - info: props,
630
+ - log: props,
631
+ - warn: props,
632
+ - error: props,
633
+ - group: props,
634
+ - groupCollapsed: props,
635
+ - groupEnd: props
636
+ - });
637
+ - }
638
+ - disabledDepth++;
639
+ - }
640
+ - function reenableLogs() {
641
+ - disabledDepth--;
642
+ - if (0 === disabledDepth) {
643
+ - var props = { configurable: !0, enumerable: !0, writable: !0 };
644
+ - Object.defineProperties(console, {
645
+ - log: assign({}, props, { value: prevLog }),
646
+ - info: assign({}, props, { value: prevInfo }),
647
+ - warn: assign({}, props, { value: prevWarn }),
648
+ - error: assign({}, props, { value: prevError }),
649
+ - group: assign({}, props, { value: prevGroup }),
650
+ - groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
651
+ - groupEnd: assign({}, props, { value: prevGroupEnd })
652
+ - });
653
+ - }
654
+ - 0 > disabledDepth &&
655
+ - console.error(
656
+ - "disabledDepth fell below zero. This is a bug in React. Please file an issue."
657
+ - );
658
+ - }
659
+ - function describeBuiltInComponentFrame(name) {
660
+ - if (void 0 === prefix)
661
+ - try {
662
+ - throw Error();
663
+ - } catch (x) {
664
+ - var match = x.stack.trim().match(/\n( *(at )?)/);
665
+ - prefix = (match && match[1]) || "";
666
+ - suffix =
667
+ - -1 < x.stack.indexOf("\n at")
668
+ - ? " (<anonymous>)"
669
+ - : -1 < x.stack.indexOf("@")
670
+ - ? "@unknown:0:0"
671
+ - : "";
672
+ - }
673
+ - return "\n" + prefix + name + suffix;
674
+ - }
675
+ - function describeNativeComponentFrame(fn, construct) {
676
+ - if (!fn || reentry) return "";
677
+ - var frame = componentFrameCache.get(fn);
678
+ - if (void 0 !== frame) return frame;
679
+ - reentry = !0;
680
+ - frame = Error.prepareStackTrace;
681
+ - Error.prepareStackTrace = void 0;
682
+ - var previousDispatcher = null;
683
+ - previousDispatcher = ReactSharedInternalsServer.H;
684
+ - ReactSharedInternalsServer.H = null;
685
+ - disableLogs();
686
+ + function getTaskName(type) {
687
+ + if (type === REACT_FRAGMENT_TYPE) return "<>";
688
+ + if (
689
+ + "object" === typeof type &&
690
+ + null !== type &&
691
+ + type.$$typeof === REACT_LAZY_TYPE
692
+ + )
693
+ + return "<...>";
694
+ try {
695
+ - var RunInRootFrame = {
696
+ - DetermineComponentFrameRoot: function () {
697
+ - try {
698
+ - if (construct) {
699
+ - var Fake = function () {
700
+ - throw Error();
701
+ - };
702
+ - Object.defineProperty(Fake.prototype, "props", {
703
+ - set: function () {
704
+ - throw Error();
705
+ - }
706
+ - });
707
+ - if ("object" === typeof Reflect && Reflect.construct) {
708
+ - try {
709
+ - Reflect.construct(Fake, []);
710
+ - } catch (x) {
711
+ - var control = x;
712
+ - }
713
+ - Reflect.construct(fn, [], Fake);
714
+ - } else {
715
+ - try {
716
+ - Fake.call();
717
+ - } catch (x$0) {
718
+ - control = x$0;
719
+ - }
720
+ - fn.call(Fake.prototype);
721
+ - }
722
+ - } else {
723
+ - try {
724
+ - throw Error();
725
+ - } catch (x$1) {
726
+ - control = x$1;
727
+ - }
728
+ - (Fake = fn()) &&
729
+ - "function" === typeof Fake.catch &&
730
+ - Fake.catch(function () {});
731
+ - }
732
+ - } catch (sample) {
733
+ - if (sample && control && "string" === typeof sample.stack)
734
+ - return [sample.stack, control.stack];
735
+ - }
736
+ - return [null, null];
737
+ - }
738
+ - };
739
+ - RunInRootFrame.DetermineComponentFrameRoot.displayName =
740
+ - "DetermineComponentFrameRoot";
741
+ - var namePropDescriptor = Object.getOwnPropertyDescriptor(
742
+ - RunInRootFrame.DetermineComponentFrameRoot,
743
+ - "name"
744
+ - );
745
+ - namePropDescriptor &&
746
+ - namePropDescriptor.configurable &&
747
+ - Object.defineProperty(
748
+ - RunInRootFrame.DetermineComponentFrameRoot,
749
+ - "name",
750
+ - { value: "DetermineComponentFrameRoot" }
751
+ - );
752
+ - var _RunInRootFrame$Deter =
753
+ - RunInRootFrame.DetermineComponentFrameRoot(),
754
+ - sampleStack = _RunInRootFrame$Deter[0],
755
+ - controlStack = _RunInRootFrame$Deter[1];
756
+ - if (sampleStack && controlStack) {
757
+ - var sampleLines = sampleStack.split("\n"),
758
+ - controlLines = controlStack.split("\n");
759
+ - for (
760
+ - _RunInRootFrame$Deter = namePropDescriptor = 0;
761
+ - namePropDescriptor < sampleLines.length &&
762
+ - !sampleLines[namePropDescriptor].includes(
763
+ - "DetermineComponentFrameRoot"
764
+ - );
765
+ -
766
+ - )
767
+ - namePropDescriptor++;
768
+ - for (
769
+ - ;
770
+ - _RunInRootFrame$Deter < controlLines.length &&
771
+ - !controlLines[_RunInRootFrame$Deter].includes(
772
+ - "DetermineComponentFrameRoot"
773
+ - );
774
+ -
775
+ - )
776
+ - _RunInRootFrame$Deter++;
777
+ - if (
778
+ - namePropDescriptor === sampleLines.length ||
779
+ - _RunInRootFrame$Deter === controlLines.length
780
+ - )
781
+ - for (
782
+ - namePropDescriptor = sampleLines.length - 1,
783
+ - _RunInRootFrame$Deter = controlLines.length - 1;
784
+ - 1 <= namePropDescriptor &&
785
+ - 0 <= _RunInRootFrame$Deter &&
786
+ - sampleLines[namePropDescriptor] !==
787
+ - controlLines[_RunInRootFrame$Deter];
788
+ -
789
+ - )
790
+ - _RunInRootFrame$Deter--;
791
+ - for (
792
+ - ;
793
+ - 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
794
+ - namePropDescriptor--, _RunInRootFrame$Deter--
795
+ - )
796
+ - if (
797
+ - sampleLines[namePropDescriptor] !==
798
+ - controlLines[_RunInRootFrame$Deter]
799
+ - ) {
800
+ - if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
801
+ - do
802
+ - if (
803
+ - (namePropDescriptor--,
804
+ - _RunInRootFrame$Deter--,
805
+ - 0 > _RunInRootFrame$Deter ||
806
+ - sampleLines[namePropDescriptor] !==
807
+ - controlLines[_RunInRootFrame$Deter])
808
+ - ) {
809
+ - var _frame =
810
+ - "\n" +
811
+ - sampleLines[namePropDescriptor].replace(
812
+ - " at new ",
813
+ - " at "
814
+ - );
815
+ - fn.displayName &&
816
+ - _frame.includes("<anonymous>") &&
817
+ - (_frame = _frame.replace("<anonymous>", fn.displayName));
818
+ - "function" === typeof fn &&
819
+ - componentFrameCache.set(fn, _frame);
820
+ - return _frame;
821
+ - }
822
+ - while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
823
+ - }
824
+ - break;
825
+ - }
826
+ - }
827
+ - } finally {
828
+ - (reentry = !1),
829
+ - (ReactSharedInternalsServer.H = previousDispatcher),
830
+ - reenableLogs(),
831
+ - (Error.prepareStackTrace = frame);
832
+ + var name = getComponentNameFromType(type);
833
+ + return name ? "<" + name + ">" : "<...>";
834
+ + } catch (x) {
835
+ + return "<...>";
836
+ }
837
+ - sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
838
+ - ? describeBuiltInComponentFrame(sampleLines)
839
+ - : "";
840
+ - "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
841
+ - return sampleLines;
842
+ - }
843
+ - function describeUnknownElementTypeFrameInDEV(type) {
844
+ - if (null == type) return "";
845
+ - if ("function" === typeof type) {
846
+ - var prototype = type.prototype;
847
+ - return describeNativeComponentFrame(
848
+ - type,
849
+ - !(!prototype || !prototype.isReactComponent)
850
+ - );
851
+ - }
852
+ - if ("string" === typeof type) return describeBuiltInComponentFrame(type);
853
+ - switch (type) {
854
+ - case REACT_SUSPENSE_TYPE:
855
+ - return describeBuiltInComponentFrame("Suspense");
856
+ - case REACT_SUSPENSE_LIST_TYPE:
857
+ - return describeBuiltInComponentFrame("SuspenseList");
858
+ - }
859
+ - if ("object" === typeof type)
860
+ - switch (type.$$typeof) {
861
+ - case REACT_FORWARD_REF_TYPE:
862
+ - return describeNativeComponentFrame(type.render, !1);
863
+ - case REACT_MEMO_TYPE:
864
+ - return describeUnknownElementTypeFrameInDEV(type.type);
865
+ - case REACT_LAZY_TYPE:
866
+ - prototype = type._payload;
867
+ - type = type._init;
868
+ - try {
869
+ - return describeUnknownElementTypeFrameInDEV(type(prototype));
870
+ - } catch (x) {}
871
+ - }
872
+ - return "";
873
+ }
874
+ function getOwner() {
875
+ var dispatcher = ReactSharedInternalsServer.A;
876
+ @@ -380,7 +147,16 @@
877
+ componentName = this.props.ref;
878
+ return void 0 !== componentName ? componentName : null;
879
+ }
880
+ - function ReactElement(type, key, self, source, owner, props) {
881
+ + function ReactElement(
882
+ + type,
883
+ + key,
884
+ + self,
885
+ + source,
886
+ + owner,
887
+ + props,
888
+ + debugStack,
889
+ + debugTask
890
+ + ) {
891
+ self = props.ref;
892
+ type = {
893
+ $$typeof: REACT_ELEMENT_TYPE,
894
+ @@ -408,6 +184,18 @@
895
+ writable: !0,
896
+ value: null
897
+ });
898
+ + Object.defineProperty(type, "_debugStack", {
899
+ + configurable: !1,
900
+ + enumerable: !1,
901
+ + writable: !0,
902
+ + value: debugStack
903
+ + });
904
+ + Object.defineProperty(type, "_debugTask", {
905
+ + configurable: !1,
906
+ + enumerable: !1,
907
+ + writable: !0,
908
+ + value: debugTask
909
+ + });
910
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
911
+ return type;
912
+ }
913
+ @@ -417,71 +205,26 @@
914
+ maybeKey,
915
+ isStaticChildren,
916
+ source,
917
+ - self
918
+ + self,
919
+ + debugStack,
920
+ + debugTask
921
+ ) {
922
+ - if (
923
+ - "string" === typeof type ||
924
+ - "function" === typeof type ||
925
+ - type === REACT_FRAGMENT_TYPE ||
926
+ - type === REACT_PROFILER_TYPE ||
927
+ - type === REACT_STRICT_MODE_TYPE ||
928
+ - type === REACT_SUSPENSE_TYPE ||
929
+ - type === REACT_SUSPENSE_LIST_TYPE ||
930
+ - type === REACT_OFFSCREEN_TYPE ||
931
+ - ("object" === typeof type &&
932
+ - null !== type &&
933
+ - (type.$$typeof === REACT_LAZY_TYPE ||
934
+ - type.$$typeof === REACT_MEMO_TYPE ||
935
+ - type.$$typeof === REACT_CONTEXT_TYPE ||
936
+ - type.$$typeof === REACT_CONSUMER_TYPE ||
937
+ - type.$$typeof === REACT_FORWARD_REF_TYPE ||
938
+ - type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
939
+ - void 0 !== type.getModuleId))
940
+ - ) {
941
+ - var children = config.children;
942
+ - if (void 0 !== children)
943
+ - if (isStaticChildren)
944
+ - if (isArrayImpl(children)) {
945
+ - for (
946
+ - isStaticChildren = 0;
947
+ - isStaticChildren < children.length;
948
+ - isStaticChildren++
949
+ - )
950
+ - validateChildKeys(children[isStaticChildren], type);
951
+ - Object.freeze && Object.freeze(children);
952
+ - } else
953
+ - console.error(
954
+ - "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
955
+ - );
956
+ - else validateChildKeys(children, type);
957
+ - } else {
958
+ - children = "";
959
+ - if (
960
+ - void 0 === type ||
961
+ - ("object" === typeof type &&
962
+ - null !== type &&
963
+ - 0 === Object.keys(type).length)
964
+ - )
965
+ - children +=
966
+ - " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
967
+ - null === type
968
+ - ? (isStaticChildren = "null")
969
+ - : isArrayImpl(type)
970
+ - ? (isStaticChildren = "array")
971
+ - : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
972
+ - ? ((isStaticChildren =
973
+ - "<" +
974
+ - (getComponentNameFromType(type.type) || "Unknown") +
975
+ - " />"),
976
+ - (children =
977
+ - " Did you accidentally export a JSX literal instead of a component?"))
978
+ - : (isStaticChildren = typeof type);
979
+ - console.error(
980
+ - "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
981
+ - isStaticChildren,
982
+ - children
983
+ - );
984
+ - }
985
+ + var children = config.children;
986
+ + if (void 0 !== children)
987
+ + if (isStaticChildren)
988
+ + if (isArrayImpl(children)) {
989
+ + for (
990
+ + isStaticChildren = 0;
991
+ + isStaticChildren < children.length;
992
+ + isStaticChildren++
993
+ + )
994
+ + validateChildKeys(children[isStaticChildren]);
995
+ + Object.freeze && Object.freeze(children);
996
+ + } else
997
+ + console.error(
998
+ + "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
999
+ + );
1000
+ + else validateChildKeys(children);
1001
+ if (hasOwnProperty.call(config, "key")) {
1002
+ children = getComponentNameFromType(type);
1003
+ var keys = Object.keys(config).filter(function (k) {
1004
+ @@ -520,88 +263,23 @@
1005
+ ? type.displayName || type.name || "Unknown"
1006
+ : type
1007
+ );
1008
+ - return ReactElement(type, children, self, source, getOwner(), maybeKey);
1009
+ - }
1010
+ - function validateChildKeys(node, parentType) {
1011
+ - if (
1012
+ - "object" === typeof node &&
1013
+ - node &&
1014
+ - node.$$typeof !== REACT_CLIENT_REFERENCE
1015
+ - )
1016
+ - if (isArrayImpl(node))
1017
+ - for (var i = 0; i < node.length; i++) {
1018
+ - var child = node[i];
1019
+ - isValidElement(child) && validateExplicitKey(child, parentType);
1020
+ - }
1021
+ - else if (isValidElement(node))
1022
+ - node._store && (node._store.validated = 1);
1023
+ - else if (
1024
+ - (null === node || "object" !== typeof node
1025
+ - ? (i = null)
1026
+ - : ((i =
1027
+ - (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
1028
+ - node["@@iterator"]),
1029
+ - (i = "function" === typeof i ? i : null)),
1030
+ - "function" === typeof i &&
1031
+ - i !== node.entries &&
1032
+ - ((i = i.call(node)), i !== node))
1033
+ - )
1034
+ - for (; !(node = i.next()).done; )
1035
+ - isValidElement(node.value) &&
1036
+ - validateExplicitKey(node.value, parentType);
1037
+ - }
1038
+ - function isValidElement(object) {
1039
+ - return (
1040
+ - "object" === typeof object &&
1041
+ - null !== object &&
1042
+ - object.$$typeof === REACT_ELEMENT_TYPE
1043
+ + return ReactElement(
1044
+ + type,
1045
+ + children,
1046
+ + self,
1047
+ + source,
1048
+ + getOwner(),
1049
+ + maybeKey,
1050
+ + debugStack,
1051
+ + debugTask
1052
+ );
1053
+ }
1054
+ - function validateExplicitKey(element, parentType) {
1055
+ - if (
1056
+ - element._store &&
1057
+ - !element._store.validated &&
1058
+ - null == element.key &&
1059
+ - ((element._store.validated = 1),
1060
+ - (parentType = getCurrentComponentErrorInfo(parentType)),
1061
+ - !ownerHasKeyUseWarning[parentType])
1062
+ - ) {
1063
+ - ownerHasKeyUseWarning[parentType] = !0;
1064
+ - var childOwner = "";
1065
+ - element &&
1066
+ - null != element._owner &&
1067
+ - element._owner !== getOwner() &&
1068
+ - ((childOwner = null),
1069
+ - "number" === typeof element._owner.tag
1070
+ - ? (childOwner = getComponentNameFromType(element._owner.type))
1071
+ - : "string" === typeof element._owner.name &&
1072
+ - (childOwner = element._owner.name),
1073
+ - (childOwner = " It was passed a child from " + childOwner + "."));
1074
+ - var prevGetCurrentStack = ReactSharedInternalsServer.getCurrentStack;
1075
+ - ReactSharedInternalsServer.getCurrentStack = function () {
1076
+ - var stack = describeUnknownElementTypeFrameInDEV(element.type);
1077
+ - prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
1078
+ - return stack;
1079
+ - };
1080
+ - console.error(
1081
+ - 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
1082
+ - parentType,
1083
+ - childOwner
1084
+ - );
1085
+ - ReactSharedInternalsServer.getCurrentStack = prevGetCurrentStack;
1086
+ - }
1087
+ - }
1088
+ - function getCurrentComponentErrorInfo(parentType) {
1089
+ - var info = "",
1090
+ - owner = getOwner();
1091
+ - owner &&
1092
+ - (owner = getComponentNameFromType(owner.type)) &&
1093
+ - (info = "\n\nCheck the render method of `" + owner + "`.");
1094
+ - info ||
1095
+ - ((parentType = getComponentNameFromType(parentType)) &&
1096
+ - (info =
1097
+ - "\n\nCheck the top-level render call using <" + parentType + ">."));
1098
+ - return info;
1099
+ + function validateChildKeys(node) {
1100
+ + "object" === typeof node &&
1101
+ + null !== node &&
1102
+ + node.$$typeof === REACT_ELEMENT_TYPE &&
1103
+ + node._store &&
1104
+ + (node._store.validated = 1);
1105
+ }
1106
+ var React = require("react"),
1107
+ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
1108
+ @@ -617,9 +295,8 @@
1109
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
1110
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
1111
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
1112
+ - REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
1113
+ - MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
1114
+ - REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
1115
+ + REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
1116
+ + REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
1117
+ ReactSharedInternalsServer =
1118
+ React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
1119
+ if (!ReactSharedInternalsServer)
1120
+ @@ -627,32 +304,28 @@
1121
+ 'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
1122
+ );
1123
+ var hasOwnProperty = Object.prototype.hasOwnProperty,
1124
+ - assign = Object.assign,
1125
+ - REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
1126
+ - isArrayImpl = Array.isArray,
1127
+ - disabledDepth = 0,
1128
+ - prevLog,
1129
+ - prevInfo,
1130
+ - prevWarn,
1131
+ - prevError,
1132
+ - prevGroup,
1133
+ - prevGroupCollapsed,
1134
+ - prevGroupEnd;
1135
+ - disabledLog.__reactDisabledLog = !0;
1136
+ - var prefix,
1137
+ - suffix,
1138
+ - reentry = !1;
1139
+ - var componentFrameCache = new (
1140
+ - "function" === typeof WeakMap ? WeakMap : Map
1141
+ - )();
1142
+ - var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
1143
+ + isArrayImpl = Array.isArray;
1144
+ + new ("function" === typeof WeakMap ? WeakMap : Map)();
1145
+ + var createTask = console.createTask
1146
+ + ? console.createTask
1147
+ + : function () {
1148
+ + return null;
1149
+ + },
1150
+ specialPropKeyWarningShown;
1151
+ var didWarnAboutElementRef = {};
1152
+ - var didWarnAboutKeySpread = {},
1153
+ - ownerHasKeyUseWarning = {};
1154
+ + var didWarnAboutKeySpread = {};
1155
+ exports.Fragment = REACT_FRAGMENT_TYPE;
1156
+ exports.jsx = function (type, config, maybeKey, source, self) {
1157
+ - return jsxDEVImpl(type, config, maybeKey, !1, source, self);
1158
+ + return jsxDEVImpl(
1159
+ + type,
1160
+ + config,
1161
+ + maybeKey,
1162
+ + !1,
1163
+ + source,
1164
+ + self,
1165
+ + Error("react-stack-top-frame"),
1166
+ + createTask(getTaskName(type))
1167
+ + );
1168
+ };
1169
+ exports.jsxDEV = function (
1170
+ type,
1171
+ @@ -662,9 +335,27 @@
1172
+ source,
1173
+ self
1174
+ ) {
1175
+ - return jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self);
1176
+ + return jsxDEVImpl(
1177
+ + type,
1178
+ + config,
1179
+ + maybeKey,
1180
+ + isStaticChildren,
1181
+ + source,
1182
+ + self,
1183
+ + Error("react-stack-top-frame"),
1184
+ + createTask(getTaskName(type))
1185
+ + );
1186
+ };
1187
+ exports.jsxs = function (type, config, maybeKey, source, self) {
1188
+ - return jsxDEVImpl(type, config, maybeKey, !0, source, self);
1189
+ + return jsxDEVImpl(
1190
+ + type,
1191
+ + config,
1192
+ + maybeKey,
1193
+ + !0,
1194
+ + source,
1195
+ + self,
1196
+ + Error("react-stack-top-frame"),
1197
+ + createTask(getTaskName(type))
1198
+ + );
1199
+ };
1200
+ })();
1201
+ diff --git a/node_modules/react/cjs/react-jsx-runtime.development.js b/node_modules/react/cjs/react-jsx-runtime.development.js
1202
+ index 0d53ae4..c18bba9 100644
1203
+ --- a/node_modules/react/cjs/react-jsx-runtime.development.js
1204
+ +++ b/node_modules/react/cjs/react-jsx-runtime.development.js
1205
+ @@ -14,7 +14,7 @@
1206
+ function getComponentNameFromType(type) {
1207
+ if (null == type) return null;
1208
+ if ("function" === typeof type)
1209
+ - return type.$$typeof === REACT_CLIENT_REFERENCE$2
1210
+ + return type.$$typeof === REACT_CLIENT_REFERENCE
1211
+ ? null
1212
+ : type.displayName || type.name || null;
1213
+ if ("string" === typeof type) return type;
1214
+ @@ -31,6 +31,8 @@
1215
+ return "Suspense";
1216
+ case REACT_SUSPENSE_LIST_TYPE:
1217
+ return "SuspenseList";
1218
+ + case REACT_VIEW_TRANSITION_TYPE:
1219
+ + return "ViewTransition";
1220
+ }
1221
+ if ("object" === typeof type)
1222
+ switch (
1223
+ @@ -94,255 +96,20 @@
1224
+ return testStringCoercion(value);
1225
+ }
1226
+ }
1227
+ - function disabledLog() {}
1228
+ - function disableLogs() {
1229
+ - if (0 === disabledDepth) {
1230
+ - prevLog = console.log;
1231
+ - prevInfo = console.info;
1232
+ - prevWarn = console.warn;
1233
+ - prevError = console.error;
1234
+ - prevGroup = console.group;
1235
+ - prevGroupCollapsed = console.groupCollapsed;
1236
+ - prevGroupEnd = console.groupEnd;
1237
+ - var props = {
1238
+ - configurable: !0,
1239
+ - enumerable: !0,
1240
+ - value: disabledLog,
1241
+ - writable: !0
1242
+ - };
1243
+ - Object.defineProperties(console, {
1244
+ - info: props,
1245
+ - log: props,
1246
+ - warn: props,
1247
+ - error: props,
1248
+ - group: props,
1249
+ - groupCollapsed: props,
1250
+ - groupEnd: props
1251
+ - });
1252
+ - }
1253
+ - disabledDepth++;
1254
+ - }
1255
+ - function reenableLogs() {
1256
+ - disabledDepth--;
1257
+ - if (0 === disabledDepth) {
1258
+ - var props = { configurable: !0, enumerable: !0, writable: !0 };
1259
+ - Object.defineProperties(console, {
1260
+ - log: assign({}, props, { value: prevLog }),
1261
+ - info: assign({}, props, { value: prevInfo }),
1262
+ - warn: assign({}, props, { value: prevWarn }),
1263
+ - error: assign({}, props, { value: prevError }),
1264
+ - group: assign({}, props, { value: prevGroup }),
1265
+ - groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
1266
+ - groupEnd: assign({}, props, { value: prevGroupEnd })
1267
+ - });
1268
+ - }
1269
+ - 0 > disabledDepth &&
1270
+ - console.error(
1271
+ - "disabledDepth fell below zero. This is a bug in React. Please file an issue."
1272
+ - );
1273
+ - }
1274
+ - function describeBuiltInComponentFrame(name) {
1275
+ - if (void 0 === prefix)
1276
+ - try {
1277
+ - throw Error();
1278
+ - } catch (x) {
1279
+ - var match = x.stack.trim().match(/\n( *(at )?)/);
1280
+ - prefix = (match && match[1]) || "";
1281
+ - suffix =
1282
+ - -1 < x.stack.indexOf("\n at")
1283
+ - ? " (<anonymous>)"
1284
+ - : -1 < x.stack.indexOf("@")
1285
+ - ? "@unknown:0:0"
1286
+ - : "";
1287
+ - }
1288
+ - return "\n" + prefix + name + suffix;
1289
+ - }
1290
+ - function describeNativeComponentFrame(fn, construct) {
1291
+ - if (!fn || reentry) return "";
1292
+ - var frame = componentFrameCache.get(fn);
1293
+ - if (void 0 !== frame) return frame;
1294
+ - reentry = !0;
1295
+ - frame = Error.prepareStackTrace;
1296
+ - Error.prepareStackTrace = void 0;
1297
+ - var previousDispatcher = null;
1298
+ - previousDispatcher = ReactSharedInternals.H;
1299
+ - ReactSharedInternals.H = null;
1300
+ - disableLogs();
1301
+ + function getTaskName(type) {
1302
+ + if (type === REACT_FRAGMENT_TYPE) return "<>";
1303
+ + if (
1304
+ + "object" === typeof type &&
1305
+ + null !== type &&
1306
+ + type.$$typeof === REACT_LAZY_TYPE
1307
+ + )
1308
+ + return "<...>";
1309
+ try {
1310
+ - var RunInRootFrame = {
1311
+ - DetermineComponentFrameRoot: function () {
1312
+ - try {
1313
+ - if (construct) {
1314
+ - var Fake = function () {
1315
+ - throw Error();
1316
+ - };
1317
+ - Object.defineProperty(Fake.prototype, "props", {
1318
+ - set: function () {
1319
+ - throw Error();
1320
+ - }
1321
+ - });
1322
+ - if ("object" === typeof Reflect && Reflect.construct) {
1323
+ - try {
1324
+ - Reflect.construct(Fake, []);
1325
+ - } catch (x) {
1326
+ - var control = x;
1327
+ - }
1328
+ - Reflect.construct(fn, [], Fake);
1329
+ - } else {
1330
+ - try {
1331
+ - Fake.call();
1332
+ - } catch (x$0) {
1333
+ - control = x$0;
1334
+ - }
1335
+ - fn.call(Fake.prototype);
1336
+ - }
1337
+ - } else {
1338
+ - try {
1339
+ - throw Error();
1340
+ - } catch (x$1) {
1341
+ - control = x$1;
1342
+ - }
1343
+ - (Fake = fn()) &&
1344
+ - "function" === typeof Fake.catch &&
1345
+ - Fake.catch(function () {});
1346
+ - }
1347
+ - } catch (sample) {
1348
+ - if (sample && control && "string" === typeof sample.stack)
1349
+ - return [sample.stack, control.stack];
1350
+ - }
1351
+ - return [null, null];
1352
+ - }
1353
+ - };
1354
+ - RunInRootFrame.DetermineComponentFrameRoot.displayName =
1355
+ - "DetermineComponentFrameRoot";
1356
+ - var namePropDescriptor = Object.getOwnPropertyDescriptor(
1357
+ - RunInRootFrame.DetermineComponentFrameRoot,
1358
+ - "name"
1359
+ - );
1360
+ - namePropDescriptor &&
1361
+ - namePropDescriptor.configurable &&
1362
+ - Object.defineProperty(
1363
+ - RunInRootFrame.DetermineComponentFrameRoot,
1364
+ - "name",
1365
+ - { value: "DetermineComponentFrameRoot" }
1366
+ - );
1367
+ - var _RunInRootFrame$Deter =
1368
+ - RunInRootFrame.DetermineComponentFrameRoot(),
1369
+ - sampleStack = _RunInRootFrame$Deter[0],
1370
+ - controlStack = _RunInRootFrame$Deter[1];
1371
+ - if (sampleStack && controlStack) {
1372
+ - var sampleLines = sampleStack.split("\n"),
1373
+ - controlLines = controlStack.split("\n");
1374
+ - for (
1375
+ - _RunInRootFrame$Deter = namePropDescriptor = 0;
1376
+ - namePropDescriptor < sampleLines.length &&
1377
+ - !sampleLines[namePropDescriptor].includes(
1378
+ - "DetermineComponentFrameRoot"
1379
+ - );
1380
+ -
1381
+ - )
1382
+ - namePropDescriptor++;
1383
+ - for (
1384
+ - ;
1385
+ - _RunInRootFrame$Deter < controlLines.length &&
1386
+ - !controlLines[_RunInRootFrame$Deter].includes(
1387
+ - "DetermineComponentFrameRoot"
1388
+ - );
1389
+ -
1390
+ - )
1391
+ - _RunInRootFrame$Deter++;
1392
+ - if (
1393
+ - namePropDescriptor === sampleLines.length ||
1394
+ - _RunInRootFrame$Deter === controlLines.length
1395
+ - )
1396
+ - for (
1397
+ - namePropDescriptor = sampleLines.length - 1,
1398
+ - _RunInRootFrame$Deter = controlLines.length - 1;
1399
+ - 1 <= namePropDescriptor &&
1400
+ - 0 <= _RunInRootFrame$Deter &&
1401
+ - sampleLines[namePropDescriptor] !==
1402
+ - controlLines[_RunInRootFrame$Deter];
1403
+ -
1404
+ - )
1405
+ - _RunInRootFrame$Deter--;
1406
+ - for (
1407
+ - ;
1408
+ - 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
1409
+ - namePropDescriptor--, _RunInRootFrame$Deter--
1410
+ - )
1411
+ - if (
1412
+ - sampleLines[namePropDescriptor] !==
1413
+ - controlLines[_RunInRootFrame$Deter]
1414
+ - ) {
1415
+ - if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
1416
+ - do
1417
+ - if (
1418
+ - (namePropDescriptor--,
1419
+ - _RunInRootFrame$Deter--,
1420
+ - 0 > _RunInRootFrame$Deter ||
1421
+ - sampleLines[namePropDescriptor] !==
1422
+ - controlLines[_RunInRootFrame$Deter])
1423
+ - ) {
1424
+ - var _frame =
1425
+ - "\n" +
1426
+ - sampleLines[namePropDescriptor].replace(
1427
+ - " at new ",
1428
+ - " at "
1429
+ - );
1430
+ - fn.displayName &&
1431
+ - _frame.includes("<anonymous>") &&
1432
+ - (_frame = _frame.replace("<anonymous>", fn.displayName));
1433
+ - "function" === typeof fn &&
1434
+ - componentFrameCache.set(fn, _frame);
1435
+ - return _frame;
1436
+ - }
1437
+ - while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
1438
+ - }
1439
+ - break;
1440
+ - }
1441
+ - }
1442
+ - } finally {
1443
+ - (reentry = !1),
1444
+ - (ReactSharedInternals.H = previousDispatcher),
1445
+ - reenableLogs(),
1446
+ - (Error.prepareStackTrace = frame);
1447
+ + var name = getComponentNameFromType(type);
1448
+ + return name ? "<" + name + ">" : "<...>";
1449
+ + } catch (x) {
1450
+ + return "<...>";
1451
+ }
1452
+ - sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
1453
+ - ? describeBuiltInComponentFrame(sampleLines)
1454
+ - : "";
1455
+ - "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
1456
+ - return sampleLines;
1457
+ - }
1458
+ - function describeUnknownElementTypeFrameInDEV(type) {
1459
+ - if (null == type) return "";
1460
+ - if ("function" === typeof type) {
1461
+ - var prototype = type.prototype;
1462
+ - return describeNativeComponentFrame(
1463
+ - type,
1464
+ - !(!prototype || !prototype.isReactComponent)
1465
+ - );
1466
+ - }
1467
+ - if ("string" === typeof type) return describeBuiltInComponentFrame(type);
1468
+ - switch (type) {
1469
+ - case REACT_SUSPENSE_TYPE:
1470
+ - return describeBuiltInComponentFrame("Suspense");
1471
+ - case REACT_SUSPENSE_LIST_TYPE:
1472
+ - return describeBuiltInComponentFrame("SuspenseList");
1473
+ - }
1474
+ - if ("object" === typeof type)
1475
+ - switch (type.$$typeof) {
1476
+ - case REACT_FORWARD_REF_TYPE:
1477
+ - return describeNativeComponentFrame(type.render, !1);
1478
+ - case REACT_MEMO_TYPE:
1479
+ - return describeUnknownElementTypeFrameInDEV(type.type);
1480
+ - case REACT_LAZY_TYPE:
1481
+ - prototype = type._payload;
1482
+ - type = type._init;
1483
+ - try {
1484
+ - return describeUnknownElementTypeFrameInDEV(type(prototype));
1485
+ - } catch (x) {}
1486
+ - }
1487
+ - return "";
1488
+ }
1489
+ function getOwner() {
1490
+ var dispatcher = ReactSharedInternals.A;
1491
+ @@ -380,7 +147,16 @@
1492
+ componentName = this.props.ref;
1493
+ return void 0 !== componentName ? componentName : null;
1494
+ }
1495
+ - function ReactElement(type, key, self, source, owner, props) {
1496
+ + function ReactElement(
1497
+ + type,
1498
+ + key,
1499
+ + self,
1500
+ + source,
1501
+ + owner,
1502
+ + props,
1503
+ + debugStack,
1504
+ + debugTask
1505
+ + ) {
1506
+ self = props.ref;
1507
+ type = {
1508
+ $$typeof: REACT_ELEMENT_TYPE,
1509
+ @@ -408,6 +184,18 @@
1510
+ writable: !0,
1511
+ value: null
1512
+ });
1513
+ + Object.defineProperty(type, "_debugStack", {
1514
+ + configurable: !1,
1515
+ + enumerable: !1,
1516
+ + writable: !0,
1517
+ + value: debugStack
1518
+ + });
1519
+ + Object.defineProperty(type, "_debugTask", {
1520
+ + configurable: !1,
1521
+ + enumerable: !1,
1522
+ + writable: !0,
1523
+ + value: debugTask
1524
+ + });
1525
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
1526
+ return type;
1527
+ }
1528
+ @@ -417,71 +205,26 @@
1529
+ maybeKey,
1530
+ isStaticChildren,
1531
+ source,
1532
+ - self
1533
+ + self,
1534
+ + debugStack,
1535
+ + debugTask
1536
+ ) {
1537
+ - if (
1538
+ - "string" === typeof type ||
1539
+ - "function" === typeof type ||
1540
+ - type === REACT_FRAGMENT_TYPE ||
1541
+ - type === REACT_PROFILER_TYPE ||
1542
+ - type === REACT_STRICT_MODE_TYPE ||
1543
+ - type === REACT_SUSPENSE_TYPE ||
1544
+ - type === REACT_SUSPENSE_LIST_TYPE ||
1545
+ - type === REACT_OFFSCREEN_TYPE ||
1546
+ - ("object" === typeof type &&
1547
+ - null !== type &&
1548
+ - (type.$$typeof === REACT_LAZY_TYPE ||
1549
+ - type.$$typeof === REACT_MEMO_TYPE ||
1550
+ - type.$$typeof === REACT_CONTEXT_TYPE ||
1551
+ - type.$$typeof === REACT_CONSUMER_TYPE ||
1552
+ - type.$$typeof === REACT_FORWARD_REF_TYPE ||
1553
+ - type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
1554
+ - void 0 !== type.getModuleId))
1555
+ - ) {
1556
+ - var children = config.children;
1557
+ - if (void 0 !== children)
1558
+ - if (isStaticChildren)
1559
+ - if (isArrayImpl(children)) {
1560
+ - for (
1561
+ - isStaticChildren = 0;
1562
+ - isStaticChildren < children.length;
1563
+ - isStaticChildren++
1564
+ - )
1565
+ - validateChildKeys(children[isStaticChildren], type);
1566
+ - Object.freeze && Object.freeze(children);
1567
+ - } else
1568
+ - console.error(
1569
+ - "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
1570
+ - );
1571
+ - else validateChildKeys(children, type);
1572
+ - } else {
1573
+ - children = "";
1574
+ - if (
1575
+ - void 0 === type ||
1576
+ - ("object" === typeof type &&
1577
+ - null !== type &&
1578
+ - 0 === Object.keys(type).length)
1579
+ - )
1580
+ - children +=
1581
+ - " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
1582
+ - null === type
1583
+ - ? (isStaticChildren = "null")
1584
+ - : isArrayImpl(type)
1585
+ - ? (isStaticChildren = "array")
1586
+ - : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
1587
+ - ? ((isStaticChildren =
1588
+ - "<" +
1589
+ - (getComponentNameFromType(type.type) || "Unknown") +
1590
+ - " />"),
1591
+ - (children =
1592
+ - " Did you accidentally export a JSX literal instead of a component?"))
1593
+ - : (isStaticChildren = typeof type);
1594
+ - console.error(
1595
+ - "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
1596
+ - isStaticChildren,
1597
+ - children
1598
+ - );
1599
+ - }
1600
+ + var children = config.children;
1601
+ + if (void 0 !== children)
1602
+ + if (isStaticChildren)
1603
+ + if (isArrayImpl(children)) {
1604
+ + for (
1605
+ + isStaticChildren = 0;
1606
+ + isStaticChildren < children.length;
1607
+ + isStaticChildren++
1608
+ + )
1609
+ + validateChildKeys(children[isStaticChildren]);
1610
+ + Object.freeze && Object.freeze(children);
1611
+ + } else
1612
+ + console.error(
1613
+ + "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
1614
+ + );
1615
+ + else validateChildKeys(children);
1616
+ if (hasOwnProperty.call(config, "key")) {
1617
+ children = getComponentNameFromType(type);
1618
+ var keys = Object.keys(config).filter(function (k) {
1619
+ @@ -520,88 +263,23 @@
1620
+ ? type.displayName || type.name || "Unknown"
1621
+ : type
1622
+ );
1623
+ - return ReactElement(type, children, self, source, getOwner(), maybeKey);
1624
+ - }
1625
+ - function validateChildKeys(node, parentType) {
1626
+ - if (
1627
+ - "object" === typeof node &&
1628
+ - node &&
1629
+ - node.$$typeof !== REACT_CLIENT_REFERENCE
1630
+ - )
1631
+ - if (isArrayImpl(node))
1632
+ - for (var i = 0; i < node.length; i++) {
1633
+ - var child = node[i];
1634
+ - isValidElement(child) && validateExplicitKey(child, parentType);
1635
+ - }
1636
+ - else if (isValidElement(node))
1637
+ - node._store && (node._store.validated = 1);
1638
+ - else if (
1639
+ - (null === node || "object" !== typeof node
1640
+ - ? (i = null)
1641
+ - : ((i =
1642
+ - (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
1643
+ - node["@@iterator"]),
1644
+ - (i = "function" === typeof i ? i : null)),
1645
+ - "function" === typeof i &&
1646
+ - i !== node.entries &&
1647
+ - ((i = i.call(node)), i !== node))
1648
+ - )
1649
+ - for (; !(node = i.next()).done; )
1650
+ - isValidElement(node.value) &&
1651
+ - validateExplicitKey(node.value, parentType);
1652
+ - }
1653
+ - function isValidElement(object) {
1654
+ - return (
1655
+ - "object" === typeof object &&
1656
+ - null !== object &&
1657
+ - object.$$typeof === REACT_ELEMENT_TYPE
1658
+ + return ReactElement(
1659
+ + type,
1660
+ + children,
1661
+ + self,
1662
+ + source,
1663
+ + getOwner(),
1664
+ + maybeKey,
1665
+ + debugStack,
1666
+ + debugTask
1667
+ );
1668
+ }
1669
+ - function validateExplicitKey(element, parentType) {
1670
+ - if (
1671
+ - element._store &&
1672
+ - !element._store.validated &&
1673
+ - null == element.key &&
1674
+ - ((element._store.validated = 1),
1675
+ - (parentType = getCurrentComponentErrorInfo(parentType)),
1676
+ - !ownerHasKeyUseWarning[parentType])
1677
+ - ) {
1678
+ - ownerHasKeyUseWarning[parentType] = !0;
1679
+ - var childOwner = "";
1680
+ - element &&
1681
+ - null != element._owner &&
1682
+ - element._owner !== getOwner() &&
1683
+ - ((childOwner = null),
1684
+ - "number" === typeof element._owner.tag
1685
+ - ? (childOwner = getComponentNameFromType(element._owner.type))
1686
+ - : "string" === typeof element._owner.name &&
1687
+ - (childOwner = element._owner.name),
1688
+ - (childOwner = " It was passed a child from " + childOwner + "."));
1689
+ - var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
1690
+ - ReactSharedInternals.getCurrentStack = function () {
1691
+ - var stack = describeUnknownElementTypeFrameInDEV(element.type);
1692
+ - prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
1693
+ - return stack;
1694
+ - };
1695
+ - console.error(
1696
+ - 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
1697
+ - parentType,
1698
+ - childOwner
1699
+ - );
1700
+ - ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
1701
+ - }
1702
+ - }
1703
+ - function getCurrentComponentErrorInfo(parentType) {
1704
+ - var info = "",
1705
+ - owner = getOwner();
1706
+ - owner &&
1707
+ - (owner = getComponentNameFromType(owner.type)) &&
1708
+ - (info = "\n\nCheck the render method of `" + owner + "`.");
1709
+ - info ||
1710
+ - ((parentType = getComponentNameFromType(parentType)) &&
1711
+ - (info =
1712
+ - "\n\nCheck the top-level render call using <" + parentType + ">."));
1713
+ - return info;
1714
+ + function validateChildKeys(node) {
1715
+ + "object" === typeof node &&
1716
+ + null !== node &&
1717
+ + node.$$typeof === REACT_ELEMENT_TYPE &&
1718
+ + node._store &&
1719
+ + (node._store.validated = 1);
1720
+ }
1721
+ var React = require("react"),
1722
+ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
1723
+ @@ -617,40 +295,44 @@
1724
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
1725
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
1726
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
1727
+ - REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
1728
+ - MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
1729
+ - REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
1730
+ + REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
1731
+ + REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
1732
+ ReactSharedInternals =
1733
+ React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
1734
+ hasOwnProperty = Object.prototype.hasOwnProperty,
1735
+ - assign = Object.assign,
1736
+ - REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
1737
+ - isArrayImpl = Array.isArray,
1738
+ - disabledDepth = 0,
1739
+ - prevLog,
1740
+ - prevInfo,
1741
+ - prevWarn,
1742
+ - prevError,
1743
+ - prevGroup,
1744
+ - prevGroupCollapsed,
1745
+ - prevGroupEnd;
1746
+ - disabledLog.__reactDisabledLog = !0;
1747
+ - var prefix,
1748
+ - suffix,
1749
+ - reentry = !1;
1750
+ - var componentFrameCache = new (
1751
+ - "function" === typeof WeakMap ? WeakMap : Map
1752
+ - )();
1753
+ - var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
1754
+ + isArrayImpl = Array.isArray;
1755
+ + new ("function" === typeof WeakMap ? WeakMap : Map)();
1756
+ + var createTask = console.createTask
1757
+ + ? console.createTask
1758
+ + : function () {
1759
+ + return null;
1760
+ + },
1761
+ specialPropKeyWarningShown;
1762
+ var didWarnAboutElementRef = {};
1763
+ - var didWarnAboutKeySpread = {},
1764
+ - ownerHasKeyUseWarning = {};
1765
+ + var didWarnAboutKeySpread = {};
1766
+ exports.Fragment = REACT_FRAGMENT_TYPE;
1767
+ exports.jsx = function (type, config, maybeKey, source, self) {
1768
+ - return jsxDEVImpl(type, config, maybeKey, !1, source, self);
1769
+ + return jsxDEVImpl(
1770
+ + type,
1771
+ + config,
1772
+ + maybeKey,
1773
+ + !1,
1774
+ + source,
1775
+ + self,
1776
+ + Error("react-stack-top-frame"),
1777
+ + createTask(getTaskName(type))
1778
+ + );
1779
+ };
1780
+ exports.jsxs = function (type, config, maybeKey, source, self) {
1781
+ - return jsxDEVImpl(type, config, maybeKey, !0, source, self);
1782
+ + return jsxDEVImpl(
1783
+ + type,
1784
+ + config,
1785
+ + maybeKey,
1786
+ + !0,
1787
+ + source,
1788
+ + self,
1789
+ + Error("react-stack-top-frame"),
1790
+ + createTask(getTaskName(type))
1791
+ + );
1792
+ };
1793
+ })();
1794
+ diff --git a/node_modules/react/cjs/react-jsx-runtime.react-server.development.js b/node_modules/react/cjs/react-jsx-runtime.react-server.development.js
1795
+ index bd5c819..0b3aaf0 100644
1796
+ --- a/node_modules/react/cjs/react-jsx-runtime.react-server.development.js
1797
+ +++ b/node_modules/react/cjs/react-jsx-runtime.react-server.development.js
1798
+ @@ -14,7 +14,7 @@
1799
+ function getComponentNameFromType(type) {
1800
+ if (null == type) return null;
1801
+ if ("function" === typeof type)
1802
+ - return type.$$typeof === REACT_CLIENT_REFERENCE$2
1803
+ + return type.$$typeof === REACT_CLIENT_REFERENCE
1804
+ ? null
1805
+ : type.displayName || type.name || null;
1806
+ if ("string" === typeof type) return type;
1807
+ @@ -31,6 +31,8 @@
1808
+ return "Suspense";
1809
+ case REACT_SUSPENSE_LIST_TYPE:
1810
+ return "SuspenseList";
1811
+ + case REACT_VIEW_TRANSITION_TYPE:
1812
+ + return "ViewTransition";
1813
+ }
1814
+ if ("object" === typeof type)
1815
+ switch (
1816
+ @@ -94,255 +96,20 @@
1817
+ return testStringCoercion(value);
1818
+ }
1819
+ }
1820
+ - function disabledLog() {}
1821
+ - function disableLogs() {
1822
+ - if (0 === disabledDepth) {
1823
+ - prevLog = console.log;
1824
+ - prevInfo = console.info;
1825
+ - prevWarn = console.warn;
1826
+ - prevError = console.error;
1827
+ - prevGroup = console.group;
1828
+ - prevGroupCollapsed = console.groupCollapsed;
1829
+ - prevGroupEnd = console.groupEnd;
1830
+ - var props = {
1831
+ - configurable: !0,
1832
+ - enumerable: !0,
1833
+ - value: disabledLog,
1834
+ - writable: !0
1835
+ - };
1836
+ - Object.defineProperties(console, {
1837
+ - info: props,
1838
+ - log: props,
1839
+ - warn: props,
1840
+ - error: props,
1841
+ - group: props,
1842
+ - groupCollapsed: props,
1843
+ - groupEnd: props
1844
+ - });
1845
+ - }
1846
+ - disabledDepth++;
1847
+ - }
1848
+ - function reenableLogs() {
1849
+ - disabledDepth--;
1850
+ - if (0 === disabledDepth) {
1851
+ - var props = { configurable: !0, enumerable: !0, writable: !0 };
1852
+ - Object.defineProperties(console, {
1853
+ - log: assign({}, props, { value: prevLog }),
1854
+ - info: assign({}, props, { value: prevInfo }),
1855
+ - warn: assign({}, props, { value: prevWarn }),
1856
+ - error: assign({}, props, { value: prevError }),
1857
+ - group: assign({}, props, { value: prevGroup }),
1858
+ - groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
1859
+ - groupEnd: assign({}, props, { value: prevGroupEnd })
1860
+ - });
1861
+ - }
1862
+ - 0 > disabledDepth &&
1863
+ - console.error(
1864
+ - "disabledDepth fell below zero. This is a bug in React. Please file an issue."
1865
+ - );
1866
+ - }
1867
+ - function describeBuiltInComponentFrame(name) {
1868
+ - if (void 0 === prefix)
1869
+ - try {
1870
+ - throw Error();
1871
+ - } catch (x) {
1872
+ - var match = x.stack.trim().match(/\n( *(at )?)/);
1873
+ - prefix = (match && match[1]) || "";
1874
+ - suffix =
1875
+ - -1 < x.stack.indexOf("\n at")
1876
+ - ? " (<anonymous>)"
1877
+ - : -1 < x.stack.indexOf("@")
1878
+ - ? "@unknown:0:0"
1879
+ - : "";
1880
+ - }
1881
+ - return "\n" + prefix + name + suffix;
1882
+ - }
1883
+ - function describeNativeComponentFrame(fn, construct) {
1884
+ - if (!fn || reentry) return "";
1885
+ - var frame = componentFrameCache.get(fn);
1886
+ - if (void 0 !== frame) return frame;
1887
+ - reentry = !0;
1888
+ - frame = Error.prepareStackTrace;
1889
+ - Error.prepareStackTrace = void 0;
1890
+ - var previousDispatcher = null;
1891
+ - previousDispatcher = ReactSharedInternalsServer.H;
1892
+ - ReactSharedInternalsServer.H = null;
1893
+ - disableLogs();
1894
+ + function getTaskName(type) {
1895
+ + if (type === REACT_FRAGMENT_TYPE) return "<>";
1896
+ + if (
1897
+ + "object" === typeof type &&
1898
+ + null !== type &&
1899
+ + type.$$typeof === REACT_LAZY_TYPE
1900
+ + )
1901
+ + return "<...>";
1902
+ try {
1903
+ - var RunInRootFrame = {
1904
+ - DetermineComponentFrameRoot: function () {
1905
+ - try {
1906
+ - if (construct) {
1907
+ - var Fake = function () {
1908
+ - throw Error();
1909
+ - };
1910
+ - Object.defineProperty(Fake.prototype, "props", {
1911
+ - set: function () {
1912
+ - throw Error();
1913
+ - }
1914
+ - });
1915
+ - if ("object" === typeof Reflect && Reflect.construct) {
1916
+ - try {
1917
+ - Reflect.construct(Fake, []);
1918
+ - } catch (x) {
1919
+ - var control = x;
1920
+ - }
1921
+ - Reflect.construct(fn, [], Fake);
1922
+ - } else {
1923
+ - try {
1924
+ - Fake.call();
1925
+ - } catch (x$0) {
1926
+ - control = x$0;
1927
+ - }
1928
+ - fn.call(Fake.prototype);
1929
+ - }
1930
+ - } else {
1931
+ - try {
1932
+ - throw Error();
1933
+ - } catch (x$1) {
1934
+ - control = x$1;
1935
+ - }
1936
+ - (Fake = fn()) &&
1937
+ - "function" === typeof Fake.catch &&
1938
+ - Fake.catch(function () {});
1939
+ - }
1940
+ - } catch (sample) {
1941
+ - if (sample && control && "string" === typeof sample.stack)
1942
+ - return [sample.stack, control.stack];
1943
+ - }
1944
+ - return [null, null];
1945
+ - }
1946
+ - };
1947
+ - RunInRootFrame.DetermineComponentFrameRoot.displayName =
1948
+ - "DetermineComponentFrameRoot";
1949
+ - var namePropDescriptor = Object.getOwnPropertyDescriptor(
1950
+ - RunInRootFrame.DetermineComponentFrameRoot,
1951
+ - "name"
1952
+ - );
1953
+ - namePropDescriptor &&
1954
+ - namePropDescriptor.configurable &&
1955
+ - Object.defineProperty(
1956
+ - RunInRootFrame.DetermineComponentFrameRoot,
1957
+ - "name",
1958
+ - { value: "DetermineComponentFrameRoot" }
1959
+ - );
1960
+ - var _RunInRootFrame$Deter =
1961
+ - RunInRootFrame.DetermineComponentFrameRoot(),
1962
+ - sampleStack = _RunInRootFrame$Deter[0],
1963
+ - controlStack = _RunInRootFrame$Deter[1];
1964
+ - if (sampleStack && controlStack) {
1965
+ - var sampleLines = sampleStack.split("\n"),
1966
+ - controlLines = controlStack.split("\n");
1967
+ - for (
1968
+ - _RunInRootFrame$Deter = namePropDescriptor = 0;
1969
+ - namePropDescriptor < sampleLines.length &&
1970
+ - !sampleLines[namePropDescriptor].includes(
1971
+ - "DetermineComponentFrameRoot"
1972
+ - );
1973
+ -
1974
+ - )
1975
+ - namePropDescriptor++;
1976
+ - for (
1977
+ - ;
1978
+ - _RunInRootFrame$Deter < controlLines.length &&
1979
+ - !controlLines[_RunInRootFrame$Deter].includes(
1980
+ - "DetermineComponentFrameRoot"
1981
+ - );
1982
+ -
1983
+ - )
1984
+ - _RunInRootFrame$Deter++;
1985
+ - if (
1986
+ - namePropDescriptor === sampleLines.length ||
1987
+ - _RunInRootFrame$Deter === controlLines.length
1988
+ - )
1989
+ - for (
1990
+ - namePropDescriptor = sampleLines.length - 1,
1991
+ - _RunInRootFrame$Deter = controlLines.length - 1;
1992
+ - 1 <= namePropDescriptor &&
1993
+ - 0 <= _RunInRootFrame$Deter &&
1994
+ - sampleLines[namePropDescriptor] !==
1995
+ - controlLines[_RunInRootFrame$Deter];
1996
+ -
1997
+ - )
1998
+ - _RunInRootFrame$Deter--;
1999
+ - for (
2000
+ - ;
2001
+ - 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
2002
+ - namePropDescriptor--, _RunInRootFrame$Deter--
2003
+ - )
2004
+ - if (
2005
+ - sampleLines[namePropDescriptor] !==
2006
+ - controlLines[_RunInRootFrame$Deter]
2007
+ - ) {
2008
+ - if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
2009
+ - do
2010
+ - if (
2011
+ - (namePropDescriptor--,
2012
+ - _RunInRootFrame$Deter--,
2013
+ - 0 > _RunInRootFrame$Deter ||
2014
+ - sampleLines[namePropDescriptor] !==
2015
+ - controlLines[_RunInRootFrame$Deter])
2016
+ - ) {
2017
+ - var _frame =
2018
+ - "\n" +
2019
+ - sampleLines[namePropDescriptor].replace(
2020
+ - " at new ",
2021
+ - " at "
2022
+ - );
2023
+ - fn.displayName &&
2024
+ - _frame.includes("<anonymous>") &&
2025
+ - (_frame = _frame.replace("<anonymous>", fn.displayName));
2026
+ - "function" === typeof fn &&
2027
+ - componentFrameCache.set(fn, _frame);
2028
+ - return _frame;
2029
+ - }
2030
+ - while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
2031
+ - }
2032
+ - break;
2033
+ - }
2034
+ - }
2035
+ - } finally {
2036
+ - (reentry = !1),
2037
+ - (ReactSharedInternalsServer.H = previousDispatcher),
2038
+ - reenableLogs(),
2039
+ - (Error.prepareStackTrace = frame);
2040
+ + var name = getComponentNameFromType(type);
2041
+ + return name ? "<" + name + ">" : "<...>";
2042
+ + } catch (x) {
2043
+ + return "<...>";
2044
+ }
2045
+ - sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
2046
+ - ? describeBuiltInComponentFrame(sampleLines)
2047
+ - : "";
2048
+ - "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
2049
+ - return sampleLines;
2050
+ - }
2051
+ - function describeUnknownElementTypeFrameInDEV(type) {
2052
+ - if (null == type) return "";
2053
+ - if ("function" === typeof type) {
2054
+ - var prototype = type.prototype;
2055
+ - return describeNativeComponentFrame(
2056
+ - type,
2057
+ - !(!prototype || !prototype.isReactComponent)
2058
+ - );
2059
+ - }
2060
+ - if ("string" === typeof type) return describeBuiltInComponentFrame(type);
2061
+ - switch (type) {
2062
+ - case REACT_SUSPENSE_TYPE:
2063
+ - return describeBuiltInComponentFrame("Suspense");
2064
+ - case REACT_SUSPENSE_LIST_TYPE:
2065
+ - return describeBuiltInComponentFrame("SuspenseList");
2066
+ - }
2067
+ - if ("object" === typeof type)
2068
+ - switch (type.$$typeof) {
2069
+ - case REACT_FORWARD_REF_TYPE:
2070
+ - return describeNativeComponentFrame(type.render, !1);
2071
+ - case REACT_MEMO_TYPE:
2072
+ - return describeUnknownElementTypeFrameInDEV(type.type);
2073
+ - case REACT_LAZY_TYPE:
2074
+ - prototype = type._payload;
2075
+ - type = type._init;
2076
+ - try {
2077
+ - return describeUnknownElementTypeFrameInDEV(type(prototype));
2078
+ - } catch (x) {}
2079
+ - }
2080
+ - return "";
2081
+ }
2082
+ function getOwner() {
2083
+ var dispatcher = ReactSharedInternalsServer.A;
2084
+ @@ -380,7 +147,16 @@
2085
+ componentName = this.props.ref;
2086
+ return void 0 !== componentName ? componentName : null;
2087
+ }
2088
+ - function ReactElement(type, key, self, source, owner, props) {
2089
+ + function ReactElement(
2090
+ + type,
2091
+ + key,
2092
+ + self,
2093
+ + source,
2094
+ + owner,
2095
+ + props,
2096
+ + debugStack,
2097
+ + debugTask
2098
+ + ) {
2099
+ self = props.ref;
2100
+ type = {
2101
+ $$typeof: REACT_ELEMENT_TYPE,
2102
+ @@ -408,6 +184,18 @@
2103
+ writable: !0,
2104
+ value: null
2105
+ });
2106
+ + Object.defineProperty(type, "_debugStack", {
2107
+ + configurable: !1,
2108
+ + enumerable: !1,
2109
+ + writable: !0,
2110
+ + value: debugStack
2111
+ + });
2112
+ + Object.defineProperty(type, "_debugTask", {
2113
+ + configurable: !1,
2114
+ + enumerable: !1,
2115
+ + writable: !0,
2116
+ + value: debugTask
2117
+ + });
2118
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
2119
+ return type;
2120
+ }
2121
+ @@ -417,71 +205,26 @@
2122
+ maybeKey,
2123
+ isStaticChildren,
2124
+ source,
2125
+ - self
2126
+ + self,
2127
+ + debugStack,
2128
+ + debugTask
2129
+ ) {
2130
+ - if (
2131
+ - "string" === typeof type ||
2132
+ - "function" === typeof type ||
2133
+ - type === REACT_FRAGMENT_TYPE ||
2134
+ - type === REACT_PROFILER_TYPE ||
2135
+ - type === REACT_STRICT_MODE_TYPE ||
2136
+ - type === REACT_SUSPENSE_TYPE ||
2137
+ - type === REACT_SUSPENSE_LIST_TYPE ||
2138
+ - type === REACT_OFFSCREEN_TYPE ||
2139
+ - ("object" === typeof type &&
2140
+ - null !== type &&
2141
+ - (type.$$typeof === REACT_LAZY_TYPE ||
2142
+ - type.$$typeof === REACT_MEMO_TYPE ||
2143
+ - type.$$typeof === REACT_CONTEXT_TYPE ||
2144
+ - type.$$typeof === REACT_CONSUMER_TYPE ||
2145
+ - type.$$typeof === REACT_FORWARD_REF_TYPE ||
2146
+ - type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
2147
+ - void 0 !== type.getModuleId))
2148
+ - ) {
2149
+ - var children = config.children;
2150
+ - if (void 0 !== children)
2151
+ - if (isStaticChildren)
2152
+ - if (isArrayImpl(children)) {
2153
+ - for (
2154
+ - isStaticChildren = 0;
2155
+ - isStaticChildren < children.length;
2156
+ - isStaticChildren++
2157
+ - )
2158
+ - validateChildKeys(children[isStaticChildren], type);
2159
+ - Object.freeze && Object.freeze(children);
2160
+ - } else
2161
+ - console.error(
2162
+ - "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
2163
+ - );
2164
+ - else validateChildKeys(children, type);
2165
+ - } else {
2166
+ - children = "";
2167
+ - if (
2168
+ - void 0 === type ||
2169
+ - ("object" === typeof type &&
2170
+ - null !== type &&
2171
+ - 0 === Object.keys(type).length)
2172
+ - )
2173
+ - children +=
2174
+ - " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
2175
+ - null === type
2176
+ - ? (isStaticChildren = "null")
2177
+ - : isArrayImpl(type)
2178
+ - ? (isStaticChildren = "array")
2179
+ - : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
2180
+ - ? ((isStaticChildren =
2181
+ - "<" +
2182
+ - (getComponentNameFromType(type.type) || "Unknown") +
2183
+ - " />"),
2184
+ - (children =
2185
+ - " Did you accidentally export a JSX literal instead of a component?"))
2186
+ - : (isStaticChildren = typeof type);
2187
+ - console.error(
2188
+ - "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
2189
+ - isStaticChildren,
2190
+ - children
2191
+ - );
2192
+ - }
2193
+ + var children = config.children;
2194
+ + if (void 0 !== children)
2195
+ + if (isStaticChildren)
2196
+ + if (isArrayImpl(children)) {
2197
+ + for (
2198
+ + isStaticChildren = 0;
2199
+ + isStaticChildren < children.length;
2200
+ + isStaticChildren++
2201
+ + )
2202
+ + validateChildKeys(children[isStaticChildren]);
2203
+ + Object.freeze && Object.freeze(children);
2204
+ + } else
2205
+ + console.error(
2206
+ + "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
2207
+ + );
2208
+ + else validateChildKeys(children);
2209
+ if (hasOwnProperty.call(config, "key")) {
2210
+ children = getComponentNameFromType(type);
2211
+ var keys = Object.keys(config).filter(function (k) {
2212
+ @@ -520,88 +263,23 @@
2213
+ ? type.displayName || type.name || "Unknown"
2214
+ : type
2215
+ );
2216
+ - return ReactElement(type, children, self, source, getOwner(), maybeKey);
2217
+ - }
2218
+ - function validateChildKeys(node, parentType) {
2219
+ - if (
2220
+ - "object" === typeof node &&
2221
+ - node &&
2222
+ - node.$$typeof !== REACT_CLIENT_REFERENCE
2223
+ - )
2224
+ - if (isArrayImpl(node))
2225
+ - for (var i = 0; i < node.length; i++) {
2226
+ - var child = node[i];
2227
+ - isValidElement(child) && validateExplicitKey(child, parentType);
2228
+ - }
2229
+ - else if (isValidElement(node))
2230
+ - node._store && (node._store.validated = 1);
2231
+ - else if (
2232
+ - (null === node || "object" !== typeof node
2233
+ - ? (i = null)
2234
+ - : ((i =
2235
+ - (MAYBE_ITERATOR_SYMBOL && node[MAYBE_ITERATOR_SYMBOL]) ||
2236
+ - node["@@iterator"]),
2237
+ - (i = "function" === typeof i ? i : null)),
2238
+ - "function" === typeof i &&
2239
+ - i !== node.entries &&
2240
+ - ((i = i.call(node)), i !== node))
2241
+ - )
2242
+ - for (; !(node = i.next()).done; )
2243
+ - isValidElement(node.value) &&
2244
+ - validateExplicitKey(node.value, parentType);
2245
+ - }
2246
+ - function isValidElement(object) {
2247
+ - return (
2248
+ - "object" === typeof object &&
2249
+ - null !== object &&
2250
+ - object.$$typeof === REACT_ELEMENT_TYPE
2251
+ + return ReactElement(
2252
+ + type,
2253
+ + children,
2254
+ + self,
2255
+ + source,
2256
+ + getOwner(),
2257
+ + maybeKey,
2258
+ + debugStack,
2259
+ + debugTask
2260
+ );
2261
+ }
2262
+ - function validateExplicitKey(element, parentType) {
2263
+ - if (
2264
+ - element._store &&
2265
+ - !element._store.validated &&
2266
+ - null == element.key &&
2267
+ - ((element._store.validated = 1),
2268
+ - (parentType = getCurrentComponentErrorInfo(parentType)),
2269
+ - !ownerHasKeyUseWarning[parentType])
2270
+ - ) {
2271
+ - ownerHasKeyUseWarning[parentType] = !0;
2272
+ - var childOwner = "";
2273
+ - element &&
2274
+ - null != element._owner &&
2275
+ - element._owner !== getOwner() &&
2276
+ - ((childOwner = null),
2277
+ - "number" === typeof element._owner.tag
2278
+ - ? (childOwner = getComponentNameFromType(element._owner.type))
2279
+ - : "string" === typeof element._owner.name &&
2280
+ - (childOwner = element._owner.name),
2281
+ - (childOwner = " It was passed a child from " + childOwner + "."));
2282
+ - var prevGetCurrentStack = ReactSharedInternalsServer.getCurrentStack;
2283
+ - ReactSharedInternalsServer.getCurrentStack = function () {
2284
+ - var stack = describeUnknownElementTypeFrameInDEV(element.type);
2285
+ - prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
2286
+ - return stack;
2287
+ - };
2288
+ - console.error(
2289
+ - 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
2290
+ - parentType,
2291
+ - childOwner
2292
+ - );
2293
+ - ReactSharedInternalsServer.getCurrentStack = prevGetCurrentStack;
2294
+ - }
2295
+ - }
2296
+ - function getCurrentComponentErrorInfo(parentType) {
2297
+ - var info = "",
2298
+ - owner = getOwner();
2299
+ - owner &&
2300
+ - (owner = getComponentNameFromType(owner.type)) &&
2301
+ - (info = "\n\nCheck the render method of `" + owner + "`.");
2302
+ - info ||
2303
+ - ((parentType = getComponentNameFromType(parentType)) &&
2304
+ - (info =
2305
+ - "\n\nCheck the top-level render call using <" + parentType + ">."));
2306
+ - return info;
2307
+ + function validateChildKeys(node) {
2308
+ + "object" === typeof node &&
2309
+ + null !== node &&
2310
+ + node.$$typeof === REACT_ELEMENT_TYPE &&
2311
+ + node._store &&
2312
+ + (node._store.validated = 1);
2313
+ }
2314
+ var React = require("react"),
2315
+ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
2316
+ @@ -617,9 +295,8 @@
2317
+ REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
2318
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
2319
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
2320
+ - REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
2321
+ - MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
2322
+ - REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
2323
+ + REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
2324
+ + REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
2325
+ ReactSharedInternalsServer =
2326
+ React.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
2327
+ if (!ReactSharedInternalsServer)
2328
+ @@ -627,32 +304,28 @@
2329
+ 'The "react" package in this environment is not configured correctly. The "react-server" condition must be enabled in any environment that runs React Server Components.'
2330
+ );
2331
+ var hasOwnProperty = Object.prototype.hasOwnProperty,
2332
+ - assign = Object.assign,
2333
+ - REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
2334
+ - isArrayImpl = Array.isArray,
2335
+ - disabledDepth = 0,
2336
+ - prevLog,
2337
+ - prevInfo,
2338
+ - prevWarn,
2339
+ - prevError,
2340
+ - prevGroup,
2341
+ - prevGroupCollapsed,
2342
+ - prevGroupEnd;
2343
+ - disabledLog.__reactDisabledLog = !0;
2344
+ - var prefix,
2345
+ - suffix,
2346
+ - reentry = !1;
2347
+ - var componentFrameCache = new (
2348
+ - "function" === typeof WeakMap ? WeakMap : Map
2349
+ - )();
2350
+ - var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
2351
+ + isArrayImpl = Array.isArray;
2352
+ + new ("function" === typeof WeakMap ? WeakMap : Map)();
2353
+ + var createTask = console.createTask
2354
+ + ? console.createTask
2355
+ + : function () {
2356
+ + return null;
2357
+ + },
2358
+ specialPropKeyWarningShown;
2359
+ var didWarnAboutElementRef = {};
2360
+ - var didWarnAboutKeySpread = {},
2361
+ - ownerHasKeyUseWarning = {};
2362
+ + var didWarnAboutKeySpread = {};
2363
+ exports.Fragment = REACT_FRAGMENT_TYPE;
2364
+ exports.jsx = function (type, config, maybeKey, source, self) {
2365
+ - return jsxDEVImpl(type, config, maybeKey, !1, source, self);
2366
+ + return jsxDEVImpl(
2367
+ + type,
2368
+ + config,
2369
+ + maybeKey,
2370
+ + !1,
2371
+ + source,
2372
+ + self,
2373
+ + Error("react-stack-top-frame"),
2374
+ + createTask(getTaskName(type))
2375
+ + );
2376
+ };
2377
+ exports.jsxDEV = function (
2378
+ type,
2379
+ @@ -662,9 +335,27 @@
2380
+ source,
2381
+ self
2382
+ ) {
2383
+ - return jsxDEVImpl(type, config, maybeKey, isStaticChildren, source, self);
2384
+ + return jsxDEVImpl(
2385
+ + type,
2386
+ + config,
2387
+ + maybeKey,
2388
+ + isStaticChildren,
2389
+ + source,
2390
+ + self,
2391
+ + Error("react-stack-top-frame"),
2392
+ + createTask(getTaskName(type))
2393
+ + );
2394
+ };
2395
+ exports.jsxs = function (type, config, maybeKey, source, self) {
2396
+ - return jsxDEVImpl(type, config, maybeKey, !0, source, self);
2397
+ + return jsxDEVImpl(
2398
+ + type,
2399
+ + config,
2400
+ + maybeKey,
2401
+ + !0,
2402
+ + source,
2403
+ + self,
2404
+ + Error("react-stack-top-frame"),
2405
+ + createTask(getTaskName(type))
2406
+ + );
2407
+ };
2408
+ })();
2409
+ diff --git a/node_modules/react/cjs/react.development.js b/node_modules/react/cjs/react.development.js
2410
+ index a3ab7ec..923b894 100644
2411
+ --- a/node_modules/react/cjs/react.development.js
2412
+ +++ b/node_modules/react/cjs/react.development.js
2413
+ @@ -87,7 +87,7 @@
2414
+ function getComponentNameFromType(type) {
2415
+ if (null == type) return null;
2416
+ if ("function" === typeof type)
2417
+ - return type.$$typeof === REACT_CLIENT_REFERENCE$2
2418
+ + return type.$$typeof === REACT_CLIENT_REFERENCE$1
2419
+ ? null
2420
+ : type.displayName || type.name || null;
2421
+ if ("string" === typeof type) return type;
2422
+ @@ -104,6 +104,8 @@
2423
+ return "Suspense";
2424
+ case REACT_SUSPENSE_LIST_TYPE:
2425
+ return "SuspenseList";
2426
+ + case REACT_VIEW_TRANSITION_TYPE:
2427
+ + return "ViewTransition";
2428
+ }
2429
+ if ("object" === typeof type)
2430
+ switch (
2431
+ @@ -140,276 +142,20 @@
2432
+ }
2433
+ return null;
2434
+ }
2435
+ - function isValidElementType(type) {
2436
+ - return "string" === typeof type ||
2437
+ - "function" === typeof type ||
2438
+ - type === REACT_FRAGMENT_TYPE ||
2439
+ - type === REACT_PROFILER_TYPE ||
2440
+ - type === REACT_STRICT_MODE_TYPE ||
2441
+ - type === REACT_SUSPENSE_TYPE ||
2442
+ - type === REACT_SUSPENSE_LIST_TYPE ||
2443
+ - type === REACT_OFFSCREEN_TYPE ||
2444
+ - ("object" === typeof type &&
2445
+ - null !== type &&
2446
+ - (type.$$typeof === REACT_LAZY_TYPE ||
2447
+ - type.$$typeof === REACT_MEMO_TYPE ||
2448
+ - type.$$typeof === REACT_CONTEXT_TYPE ||
2449
+ - type.$$typeof === REACT_CONSUMER_TYPE ||
2450
+ - type.$$typeof === REACT_FORWARD_REF_TYPE ||
2451
+ - type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
2452
+ - void 0 !== type.getModuleId))
2453
+ - ? !0
2454
+ - : !1;
2455
+ - }
2456
+ - function disabledLog() {}
2457
+ - function disableLogs() {
2458
+ - if (0 === disabledDepth) {
2459
+ - prevLog = console.log;
2460
+ - prevInfo = console.info;
2461
+ - prevWarn = console.warn;
2462
+ - prevError = console.error;
2463
+ - prevGroup = console.group;
2464
+ - prevGroupCollapsed = console.groupCollapsed;
2465
+ - prevGroupEnd = console.groupEnd;
2466
+ - var props = {
2467
+ - configurable: !0,
2468
+ - enumerable: !0,
2469
+ - value: disabledLog,
2470
+ - writable: !0
2471
+ - };
2472
+ - Object.defineProperties(console, {
2473
+ - info: props,
2474
+ - log: props,
2475
+ - warn: props,
2476
+ - error: props,
2477
+ - group: props,
2478
+ - groupCollapsed: props,
2479
+ - groupEnd: props
2480
+ - });
2481
+ - }
2482
+ - disabledDepth++;
2483
+ - }
2484
+ - function reenableLogs() {
2485
+ - disabledDepth--;
2486
+ - if (0 === disabledDepth) {
2487
+ - var props = { configurable: !0, enumerable: !0, writable: !0 };
2488
+ - Object.defineProperties(console, {
2489
+ - log: assign({}, props, { value: prevLog }),
2490
+ - info: assign({}, props, { value: prevInfo }),
2491
+ - warn: assign({}, props, { value: prevWarn }),
2492
+ - error: assign({}, props, { value: prevError }),
2493
+ - group: assign({}, props, { value: prevGroup }),
2494
+ - groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
2495
+ - groupEnd: assign({}, props, { value: prevGroupEnd })
2496
+ - });
2497
+ - }
2498
+ - 0 > disabledDepth &&
2499
+ - console.error(
2500
+ - "disabledDepth fell below zero. This is a bug in React. Please file an issue."
2501
+ - );
2502
+ - }
2503
+ - function describeBuiltInComponentFrame(name) {
2504
+ - if (void 0 === prefix)
2505
+ - try {
2506
+ - throw Error();
2507
+ - } catch (x) {
2508
+ - var match = x.stack.trim().match(/\n( *(at )?)/);
2509
+ - prefix = (match && match[1]) || "";
2510
+ - suffix =
2511
+ - -1 < x.stack.indexOf("\n at")
2512
+ - ? " (<anonymous>)"
2513
+ - : -1 < x.stack.indexOf("@")
2514
+ - ? "@unknown:0:0"
2515
+ - : "";
2516
+ - }
2517
+ - return "\n" + prefix + name + suffix;
2518
+ - }
2519
+ - function describeNativeComponentFrame(fn, construct) {
2520
+ - if (!fn || reentry) return "";
2521
+ - var frame = componentFrameCache.get(fn);
2522
+ - if (void 0 !== frame) return frame;
2523
+ - reentry = !0;
2524
+ - frame = Error.prepareStackTrace;
2525
+ - Error.prepareStackTrace = void 0;
2526
+ - var previousDispatcher = null;
2527
+ - previousDispatcher = ReactSharedInternals.H;
2528
+ - ReactSharedInternals.H = null;
2529
+ - disableLogs();
2530
+ + function getTaskName(type) {
2531
+ + if (type === REACT_FRAGMENT_TYPE) return "<>";
2532
+ + if (
2533
+ + "object" === typeof type &&
2534
+ + null !== type &&
2535
+ + type.$$typeof === REACT_LAZY_TYPE
2536
+ + )
2537
+ + return "<...>";
2538
+ try {
2539
+ - var RunInRootFrame = {
2540
+ - DetermineComponentFrameRoot: function () {
2541
+ - try {
2542
+ - if (construct) {
2543
+ - var Fake = function () {
2544
+ - throw Error();
2545
+ - };
2546
+ - Object.defineProperty(Fake.prototype, "props", {
2547
+ - set: function () {
2548
+ - throw Error();
2549
+ - }
2550
+ - });
2551
+ - if ("object" === typeof Reflect && Reflect.construct) {
2552
+ - try {
2553
+ - Reflect.construct(Fake, []);
2554
+ - } catch (x) {
2555
+ - var control = x;
2556
+ - }
2557
+ - Reflect.construct(fn, [], Fake);
2558
+ - } else {
2559
+ - try {
2560
+ - Fake.call();
2561
+ - } catch (x$0) {
2562
+ - control = x$0;
2563
+ - }
2564
+ - fn.call(Fake.prototype);
2565
+ - }
2566
+ - } else {
2567
+ - try {
2568
+ - throw Error();
2569
+ - } catch (x$1) {
2570
+ - control = x$1;
2571
+ - }
2572
+ - (Fake = fn()) &&
2573
+ - "function" === typeof Fake.catch &&
2574
+ - Fake.catch(function () {});
2575
+ - }
2576
+ - } catch (sample) {
2577
+ - if (sample && control && "string" === typeof sample.stack)
2578
+ - return [sample.stack, control.stack];
2579
+ - }
2580
+ - return [null, null];
2581
+ - }
2582
+ - };
2583
+ - RunInRootFrame.DetermineComponentFrameRoot.displayName =
2584
+ - "DetermineComponentFrameRoot";
2585
+ - var namePropDescriptor = Object.getOwnPropertyDescriptor(
2586
+ - RunInRootFrame.DetermineComponentFrameRoot,
2587
+ - "name"
2588
+ - );
2589
+ - namePropDescriptor &&
2590
+ - namePropDescriptor.configurable &&
2591
+ - Object.defineProperty(
2592
+ - RunInRootFrame.DetermineComponentFrameRoot,
2593
+ - "name",
2594
+ - { value: "DetermineComponentFrameRoot" }
2595
+ - );
2596
+ - var _RunInRootFrame$Deter =
2597
+ - RunInRootFrame.DetermineComponentFrameRoot(),
2598
+ - sampleStack = _RunInRootFrame$Deter[0],
2599
+ - controlStack = _RunInRootFrame$Deter[1];
2600
+ - if (sampleStack && controlStack) {
2601
+ - var sampleLines = sampleStack.split("\n"),
2602
+ - controlLines = controlStack.split("\n");
2603
+ - for (
2604
+ - _RunInRootFrame$Deter = namePropDescriptor = 0;
2605
+ - namePropDescriptor < sampleLines.length &&
2606
+ - !sampleLines[namePropDescriptor].includes(
2607
+ - "DetermineComponentFrameRoot"
2608
+ - );
2609
+ -
2610
+ - )
2611
+ - namePropDescriptor++;
2612
+ - for (
2613
+ - ;
2614
+ - _RunInRootFrame$Deter < controlLines.length &&
2615
+ - !controlLines[_RunInRootFrame$Deter].includes(
2616
+ - "DetermineComponentFrameRoot"
2617
+ - );
2618
+ -
2619
+ - )
2620
+ - _RunInRootFrame$Deter++;
2621
+ - if (
2622
+ - namePropDescriptor === sampleLines.length ||
2623
+ - _RunInRootFrame$Deter === controlLines.length
2624
+ - )
2625
+ - for (
2626
+ - namePropDescriptor = sampleLines.length - 1,
2627
+ - _RunInRootFrame$Deter = controlLines.length - 1;
2628
+ - 1 <= namePropDescriptor &&
2629
+ - 0 <= _RunInRootFrame$Deter &&
2630
+ - sampleLines[namePropDescriptor] !==
2631
+ - controlLines[_RunInRootFrame$Deter];
2632
+ -
2633
+ - )
2634
+ - _RunInRootFrame$Deter--;
2635
+ - for (
2636
+ - ;
2637
+ - 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
2638
+ - namePropDescriptor--, _RunInRootFrame$Deter--
2639
+ - )
2640
+ - if (
2641
+ - sampleLines[namePropDescriptor] !==
2642
+ - controlLines[_RunInRootFrame$Deter]
2643
+ - ) {
2644
+ - if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
2645
+ - do
2646
+ - if (
2647
+ - (namePropDescriptor--,
2648
+ - _RunInRootFrame$Deter--,
2649
+ - 0 > _RunInRootFrame$Deter ||
2650
+ - sampleLines[namePropDescriptor] !==
2651
+ - controlLines[_RunInRootFrame$Deter])
2652
+ - ) {
2653
+ - var _frame =
2654
+ - "\n" +
2655
+ - sampleLines[namePropDescriptor].replace(
2656
+ - " at new ",
2657
+ - " at "
2658
+ - );
2659
+ - fn.displayName &&
2660
+ - _frame.includes("<anonymous>") &&
2661
+ - (_frame = _frame.replace("<anonymous>", fn.displayName));
2662
+ - "function" === typeof fn &&
2663
+ - componentFrameCache.set(fn, _frame);
2664
+ - return _frame;
2665
+ - }
2666
+ - while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
2667
+ - }
2668
+ - break;
2669
+ - }
2670
+ - }
2671
+ - } finally {
2672
+ - (reentry = !1),
2673
+ - (ReactSharedInternals.H = previousDispatcher),
2674
+ - reenableLogs(),
2675
+ - (Error.prepareStackTrace = frame);
2676
+ - }
2677
+ - sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
2678
+ - ? describeBuiltInComponentFrame(sampleLines)
2679
+ - : "";
2680
+ - "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
2681
+ - return sampleLines;
2682
+ - }
2683
+ - function describeUnknownElementTypeFrameInDEV(type) {
2684
+ - if (null == type) return "";
2685
+ - if ("function" === typeof type) {
2686
+ - var prototype = type.prototype;
2687
+ - return describeNativeComponentFrame(
2688
+ - type,
2689
+ - !(!prototype || !prototype.isReactComponent)
2690
+ - );
2691
+ - }
2692
+ - if ("string" === typeof type) return describeBuiltInComponentFrame(type);
2693
+ - switch (type) {
2694
+ - case REACT_SUSPENSE_TYPE:
2695
+ - return describeBuiltInComponentFrame("Suspense");
2696
+ - case REACT_SUSPENSE_LIST_TYPE:
2697
+ - return describeBuiltInComponentFrame("SuspenseList");
2698
+ + var name = getComponentNameFromType(type);
2699
+ + return name ? "<" + name + ">" : "<...>";
2700
+ + } catch (x) {
2701
+ + return "<...>";
2702
+ }
2703
+ - if ("object" === typeof type)
2704
+ - switch (type.$$typeof) {
2705
+ - case REACT_FORWARD_REF_TYPE:
2706
+ - return describeNativeComponentFrame(type.render, !1);
2707
+ - case REACT_MEMO_TYPE:
2708
+ - return describeUnknownElementTypeFrameInDEV(type.type);
2709
+ - case REACT_LAZY_TYPE:
2710
+ - prototype = type._payload;
2711
+ - type = type._init;
2712
+ - try {
2713
+ - return describeUnknownElementTypeFrameInDEV(type(prototype));
2714
+ - } catch (x) {}
2715
+ - }
2716
+ - return "";
2717
+ }
2718
+ function getOwner() {
2719
+ var dispatcher = ReactSharedInternals.A;
2720
+ @@ -447,7 +193,16 @@
2721
+ componentName = this.props.ref;
2722
+ return void 0 !== componentName ? componentName : null;
2723
+ }
2724
+ - function ReactElement(type, key, self, source, owner, props) {
2725
+ + function ReactElement(
2726
+ + type,
2727
+ + key,
2728
+ + self,
2729
+ + source,
2730
+ + owner,
2731
+ + props,
2732
+ + debugStack,
2733
+ + debugTask
2734
+ + ) {
2735
+ self = props.ref;
2736
+ type = {
2737
+ $$typeof: REACT_ELEMENT_TYPE,
2738
+ @@ -475,6 +230,18 @@
2739
+ writable: !0,
2740
+ value: null
2741
+ });
2742
+ + Object.defineProperty(type, "_debugStack", {
2743
+ + configurable: !1,
2744
+ + enumerable: !1,
2745
+ + writable: !0,
2746
+ + value: debugStack
2747
+ + });
2748
+ + Object.defineProperty(type, "_debugTask", {
2749
+ + configurable: !1,
2750
+ + enumerable: !1,
2751
+ + writable: !0,
2752
+ + value: debugTask
2753
+ + });
2754
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
2755
+ return type;
2756
+ }
2757
+ @@ -485,35 +252,13 @@
2758
+ void 0,
2759
+ void 0,
2760
+ oldElement._owner,
2761
+ - oldElement.props
2762
+ + oldElement.props,
2763
+ + oldElement._debugStack,
2764
+ + oldElement._debugTask
2765
+ );
2766
+ - oldElement._store &&
2767
+ - (newKey._store.validated = oldElement._store.validated);
2768
+ + newKey._store.validated = oldElement._store.validated;
2769
+ return newKey;
2770
+ }
2771
+ - function validateChildKeys(node, parentType) {
2772
+ - if (
2773
+ - "object" === typeof node &&
2774
+ - node &&
2775
+ - node.$$typeof !== REACT_CLIENT_REFERENCE
2776
+ - )
2777
+ - if (isArrayImpl(node))
2778
+ - for (var i = 0; i < node.length; i++) {
2779
+ - var child = node[i];
2780
+ - isValidElement(child) && validateExplicitKey(child, parentType);
2781
+ - }
2782
+ - else if (isValidElement(node))
2783
+ - node._store && (node._store.validated = 1);
2784
+ - else if (
2785
+ - ((i = getIteratorFn(node)),
2786
+ - "function" === typeof i &&
2787
+ - i !== node.entries &&
2788
+ - ((i = i.call(node)), i !== node))
2789
+ - )
2790
+ - for (; !(node = i.next()).done; )
2791
+ - isValidElement(node.value) &&
2792
+ - validateExplicitKey(node.value, parentType);
2793
+ - }
2794
+ function isValidElement(object) {
2795
+ return (
2796
+ "object" === typeof object &&
2797
+ @@ -521,52 +266,6 @@
2798
+ object.$$typeof === REACT_ELEMENT_TYPE
2799
+ );
2800
+ }
2801
+ - function validateExplicitKey(element, parentType) {
2802
+ - if (
2803
+ - element._store &&
2804
+ - !element._store.validated &&
2805
+ - null == element.key &&
2806
+ - ((element._store.validated = 1),
2807
+ - (parentType = getCurrentComponentErrorInfo(parentType)),
2808
+ - !ownerHasKeyUseWarning[parentType])
2809
+ - ) {
2810
+ - ownerHasKeyUseWarning[parentType] = !0;
2811
+ - var childOwner = "";
2812
+ - element &&
2813
+ - null != element._owner &&
2814
+ - element._owner !== getOwner() &&
2815
+ - ((childOwner = null),
2816
+ - "number" === typeof element._owner.tag
2817
+ - ? (childOwner = getComponentNameFromType(element._owner.type))
2818
+ - : "string" === typeof element._owner.name &&
2819
+ - (childOwner = element._owner.name),
2820
+ - (childOwner = " It was passed a child from " + childOwner + "."));
2821
+ - var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
2822
+ - ReactSharedInternals.getCurrentStack = function () {
2823
+ - var stack = describeUnknownElementTypeFrameInDEV(element.type);
2824
+ - prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
2825
+ - return stack;
2826
+ - };
2827
+ - console.error(
2828
+ - 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
2829
+ - parentType,
2830
+ - childOwner
2831
+ - );
2832
+ - ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
2833
+ - }
2834
+ - }
2835
+ - function getCurrentComponentErrorInfo(parentType) {
2836
+ - var info = "",
2837
+ - owner = getOwner();
2838
+ - owner &&
2839
+ - (owner = getComponentNameFromType(owner.type)) &&
2840
+ - (info = "\n\nCheck the render method of `" + owner + "`.");
2841
+ - info ||
2842
+ - ((parentType = getComponentNameFromType(parentType)) &&
2843
+ - (info =
2844
+ - "\n\nCheck the top-level render call using <" + parentType + ">."));
2845
+ - return info;
2846
+ - }
2847
+ function escape(key) {
2848
+ var escaperLookup = { "=": "=0", ":": "=2" };
2849
+ return (
2850
+ @@ -795,6 +494,9 @@
2851
+ );
2852
+ return dispatcher;
2853
+ }
2854
+ + function useOptimistic(passthrough, reducer) {
2855
+ + return resolveDispatcher().useOptimistic(passthrough, reducer);
2856
+ + }
2857
+ function noop() {}
2858
+ function enqueueTask(task) {
2859
+ if (null === enqueueTaskImpl)
2860
+ @@ -897,6 +599,8 @@
2861
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
2862
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
2863
+ REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
2864
+ + REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
2865
+ + REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
2866
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
2867
+ didWarnStateUpdateForUnmountedComponent = {},
2868
+ ReactNoopUpdateQueue = {
2869
+ @@ -951,13 +655,12 @@
2870
+ assign(deprecatedAPIs, Component.prototype);
2871
+ deprecatedAPIs.isPureReactComponent = !0;
2872
+ var isArrayImpl = Array.isArray,
2873
+ - REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
2874
+ + REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
2875
+ ReactSharedInternals = {
2876
+ H: null,
2877
+ A: null,
2878
+ T: null,
2879
+ S: null,
2880
+ - V: null,
2881
+ actQueue: null,
2882
+ isBatchingLegacy: !1,
2883
+ didScheduleLegacyUpdate: !1,
2884
+ @@ -966,28 +669,17 @@
2885
+ getCurrentStack: null
2886
+ },
2887
+ hasOwnProperty = Object.prototype.hasOwnProperty,
2888
+ - REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
2889
+ - disabledDepth = 0,
2890
+ - prevLog,
2891
+ - prevInfo,
2892
+ - prevWarn,
2893
+ - prevError,
2894
+ - prevGroup,
2895
+ - prevGroupCollapsed,
2896
+ - prevGroupEnd;
2897
+ - disabledLog.__reactDisabledLog = !0;
2898
+ - var prefix,
2899
+ - suffix,
2900
+ - reentry = !1;
2901
+ - var componentFrameCache = new (
2902
+ - "function" === typeof WeakMap ? WeakMap : Map
2903
+ - )();
2904
+ - var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
2905
+ + REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
2906
+ + new ("function" === typeof WeakMap ? WeakMap : Map)();
2907
+ + var createTask = console.createTask
2908
+ + ? console.createTask
2909
+ + : function () {
2910
+ + return null;
2911
+ + },
2912
+ specialPropKeyWarningShown,
2913
+ didWarnAboutOldJSXRuntime;
2914
+ var didWarnAboutElementRef = {};
2915
+ - var ownerHasKeyUseWarning = {},
2916
+ - didWarnAboutMaps = !1,
2917
+ + var didWarnAboutMaps = !1,
2918
+ userProvidedKeyEscapeRegex = /\/+/g,
2919
+ reportGlobalError =
2920
+ "function" === typeof reportError
2921
+ @@ -1128,8 +820,8 @@
2922
+ reject
2923
+ );
2924
+ });
2925
+ - } catch (error$2) {
2926
+ - ReactSharedInternals.thrownErrors.push(error$2);
2927
+ + } catch (error$0) {
2928
+ + ReactSharedInternals.thrownErrors.push(error$0);
2929
+ }
2930
+ if (0 < ReactSharedInternals.thrownErrors.length) {
2931
+ var _thrownError = aggregateErrors(
2932
+ @@ -1195,6 +887,10 @@
2933
+ return fn.apply(null, arguments);
2934
+ };
2935
+ };
2936
+ + exports.captureOwnerStack = function () {
2937
+ + var getCurrentStack = ReactSharedInternals.getCurrentStack;
2938
+ + return null === getCurrentStack ? null : getCurrentStack();
2939
+ + };
2940
+ exports.cloneElement = function (element, config, children) {
2941
+ if (null === element || void 0 === element)
2942
+ throw Error(
2943
+ @@ -1240,9 +936,19 @@
2944
+ JSCompiler_inline_result[i] = arguments[i + 2];
2945
+ props.children = JSCompiler_inline_result;
2946
+ }
2947
+ - props = ReactElement(element.type, key, void 0, void 0, owner, props);
2948
+ + props = ReactElement(
2949
+ + element.type,
2950
+ + key,
2951
+ + void 0,
2952
+ + void 0,
2953
+ + owner,
2954
+ + props,
2955
+ + element._debugStack,
2956
+ + element._debugTask
2957
+ + );
2958
+ for (key = 2; key < arguments.length; key++)
2959
+ - validateChildKeys(arguments[key], props.type);
2960
+ + (owner = arguments[key]),
2961
+ + isValidElement(owner) && owner._store && (owner._store.validated = 1);
2962
+ return props;
2963
+ };
2964
+ exports.createContext = function (defaultValue) {
2965
+ @@ -1264,40 +970,13 @@
2966
+ return defaultValue;
2967
+ };
2968
+ exports.createElement = function (type, config, children) {
2969
+ - if (isValidElementType(type))
2970
+ - for (var i = 2; i < arguments.length; i++)
2971
+ - validateChildKeys(arguments[i], type);
2972
+ - else {
2973
+ - i = "";
2974
+ - if (
2975
+ - void 0 === type ||
2976
+ - ("object" === typeof type &&
2977
+ - null !== type &&
2978
+ - 0 === Object.keys(type).length)
2979
+ - )
2980
+ - i +=
2981
+ - " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
2982
+ - if (null === type) var typeString = "null";
2983
+ - else
2984
+ - isArrayImpl(type)
2985
+ - ? (typeString = "array")
2986
+ - : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
2987
+ - ? ((typeString =
2988
+ - "<" +
2989
+ - (getComponentNameFromType(type.type) || "Unknown") +
2990
+ - " />"),
2991
+ - (i =
2992
+ - " Did you accidentally export a JSX literal instead of a component?"))
2993
+ - : (typeString = typeof type);
2994
+ - console.error(
2995
+ - "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
2996
+ - typeString,
2997
+ - i
2998
+ - );
2999
+ + for (var i = 2; i < arguments.length; i++) {
3000
+ + var node = arguments[i];
3001
+ + isValidElement(node) && node._store && (node._store.validated = 1);
3002
+ }
3003
+ var propName;
3004
+ i = {};
3005
+ - typeString = null;
3006
+ + node = null;
3007
+ if (null != config)
3008
+ for (propName in (didWarnAboutOldJSXRuntime ||
3009
+ !("__self" in config) ||
3010
+ @@ -1307,7 +986,7 @@
3011
+ "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
3012
+ )),
3013
+ hasValidKey(config) &&
3014
+ - (checkKeyStringCoercion(config.key), (typeString = "" + config.key)),
3015
+ + (checkKeyStringCoercion(config.key), (node = "" + config.key)),
3016
+ config))
3017
+ hasOwnProperty.call(config, propName) &&
3018
+ "key" !== propName &&
3019
+ @@ -1329,20 +1008,39 @@
3020
+ if (type && type.defaultProps)
3021
+ for (propName in ((childrenLength = type.defaultProps), childrenLength))
3022
+ void 0 === i[propName] && (i[propName] = childrenLength[propName]);
3023
+ - typeString &&
3024
+ + node &&
3025
+ defineKeyPropWarningGetter(
3026
+ i,
3027
+ "function" === typeof type
3028
+ ? type.displayName || type.name || "Unknown"
3029
+ : type
3030
+ );
3031
+ - return ReactElement(type, typeString, void 0, void 0, getOwner(), i);
3032
+ + return ReactElement(
3033
+ + type,
3034
+ + node,
3035
+ + void 0,
3036
+ + void 0,
3037
+ + getOwner(),
3038
+ + i,
3039
+ + Error("react-stack-top-frame"),
3040
+ + createTask(getTaskName(type))
3041
+ + );
3042
+ };
3043
+ exports.createRef = function () {
3044
+ var refObject = { current: null };
3045
+ Object.seal(refObject);
3046
+ return refObject;
3047
+ };
3048
+ + exports.experimental_useEffectEvent = function (callback) {
3049
+ + return resolveDispatcher().useEffectEvent(callback);
3050
+ + };
3051
+ + exports.experimental_useOptimistic = function (passthrough, reducer) {
3052
+ + console.error(
3053
+ + "useOptimistic is now in canary. Remove the experimental_ prefix. The prefixed alias will be removed in an upcoming release."
3054
+ + );
3055
+ + return useOptimistic(passthrough, reducer);
3056
+ + };
3057
+ + exports.experimental_useResourceEffect = void 0;
3058
+ exports.forwardRef = function (render) {
3059
+ null != render && render.$$typeof === REACT_MEMO_TYPE
3060
+ ? console.error(
3061
+ @@ -1393,7 +1091,24 @@
3062
+ };
3063
+ };
3064
+ exports.memo = function (type, compare) {
3065
+ - isValidElementType(type) ||
3066
+ + "string" === typeof type ||
3067
+ + "function" === typeof type ||
3068
+ + type === REACT_FRAGMENT_TYPE ||
3069
+ + type === REACT_PROFILER_TYPE ||
3070
+ + type === REACT_STRICT_MODE_TYPE ||
3071
+ + type === REACT_SUSPENSE_TYPE ||
3072
+ + type === REACT_SUSPENSE_LIST_TYPE ||
3073
+ + type === REACT_OFFSCREEN_TYPE ||
3074
+ + type === REACT_VIEW_TRANSITION_TYPE ||
3075
+ + ("object" === typeof type &&
3076
+ + null !== type &&
3077
+ + (type.$$typeof === REACT_LAZY_TYPE ||
3078
+ + type.$$typeof === REACT_MEMO_TYPE ||
3079
+ + type.$$typeof === REACT_CONTEXT_TYPE ||
3080
+ + type.$$typeof === REACT_CONSUMER_TYPE ||
3081
+ + type.$$typeof === REACT_FORWARD_REF_TYPE ||
3082
+ + type.$$typeof === REACT_CLIENT_REFERENCE ||
3083
+ + void 0 !== type.getModuleId)) ||
3084
+ console.error(
3085
+ "memo: The first argument must be a component. Instead received: %s",
3086
+ null === type ? "null" : typeof type
3087
+ @@ -1448,6 +1163,20 @@
3088
+ (ReactSharedInternals.T = prevTransition);
3089
+ }
3090
+ };
3091
+ + exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
3092
+ + exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
3093
+ + exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
3094
+ + exports.unstable_getCacheForType = function (resourceType) {
3095
+ + var dispatcher = ReactSharedInternals.A;
3096
+ + return dispatcher
3097
+ + ? dispatcher.getCacheForType(resourceType)
3098
+ + : resourceType();
3099
+ + };
3100
+ + exports.unstable_postpone = function (reason) {
3101
+ + reason = Error(reason);
3102
+ + reason.$$typeof = REACT_POSTPONE_TYPE;
3103
+ + throw reason;
3104
+ + };
3105
+ exports.unstable_useCacheRefresh = function () {
3106
+ return resolveDispatcher().useCacheRefresh();
3107
+ };
3108
+ @@ -1496,9 +1225,7 @@
3109
+ exports.useMemo = function (create, deps) {
3110
+ return resolveDispatcher().useMemo(create, deps);
3111
+ };
3112
+ - exports.useOptimistic = function (passthrough, reducer) {
3113
+ - return resolveDispatcher().useOptimistic(passthrough, reducer);
3114
+ - };
3115
+ + exports.useOptimistic = useOptimistic;
3116
+ exports.useReducer = function (reducer, initialArg, init) {
3117
+ return resolveDispatcher().useReducer(reducer, initialArg, init);
3118
+ };
3119
+ @@ -1522,7 +1249,7 @@
3120
+ exports.useTransition = function () {
3121
+ return resolveDispatcher().useTransition();
3122
+ };
3123
+ - exports.version = "19.1.0-canary-8759c5c8-20250207";
3124
+ + exports.version = "19.1.0-experimental-b3a95caf-20250113";
3125
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
3126
+ "function" ===
3127
+ typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
3128
+ diff --git a/node_modules/react/cjs/react.production.js b/node_modules/react/cjs/react.production.js
3129
+ index 07809c5..d5c7830 100644
3130
+ --- a/node_modules/react/cjs/react.production.js
3131
+ +++ b/node_modules/react/cjs/react.production.js
3132
+ @@ -18,8 +18,12 @@ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
3133
+ REACT_CONTEXT_TYPE = Symbol.for("react.context"),
3134
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
3135
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
3136
+ + REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
3137
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
3138
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
3139
+ + REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
3140
+ + REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
3141
+ + REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
3142
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
3143
+ function getIteratorFn(maybeIterable) {
3144
+ if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
3145
+ @@ -72,7 +76,7 @@ pureComponentPrototype.constructor = PureComponent;
3146
+ assign(pureComponentPrototype, Component.prototype);
3147
+ pureComponentPrototype.isPureReactComponent = !0;
3148
+ var isArrayImpl = Array.isArray,
3149
+ - ReactSharedInternals = { H: null, A: null, T: null, S: null, V: null },
3150
+ + ReactSharedInternals = { H: null, A: null, T: null, S: null },
3151
+ hasOwnProperty = Object.prototype.hasOwnProperty;
3152
+ function ReactElement(type, key, self, source, owner, props) {
3153
+ self = props.ref;
3154
+ @@ -286,6 +290,9 @@ function lazyInitializer(payload) {
3155
+ if (1 === payload._status) return payload._result.default;
3156
+ throw payload._result;
3157
+ }
3158
+ +function useOptimistic(passthrough, reducer) {
3159
+ + return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
3160
+ +}
3161
+ var reportGlobalError =
3162
+ "function" === typeof reportError
3163
+ ? reportError
3164
+ @@ -371,6 +378,9 @@ exports.cache = function (fn) {
3165
+ return fn.apply(null, arguments);
3166
+ };
3167
+ };
3168
+ +exports.captureOwnerStack = function () {
3169
+ + return null;
3170
+ +};
3171
+ exports.cloneElement = function (element, config, children) {
3172
+ if (null === element || void 0 === element)
3173
+ throw Error(
3174
+ @@ -441,6 +451,13 @@ exports.createElement = function (type, config, children) {
3175
+ exports.createRef = function () {
3176
+ return { current: null };
3177
+ };
3178
+ +exports.experimental_useEffectEvent = function (callback) {
3179
+ + return ReactSharedInternals.H.useEffectEvent(callback);
3180
+ +};
3181
+ +exports.experimental_useOptimistic = function (passthrough, reducer) {
3182
+ + return useOptimistic(passthrough, reducer);
3183
+ +};
3184
+ +exports.experimental_useResourceEffect = void 0;
3185
+ exports.forwardRef = function (render) {
3186
+ return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };
3187
+ };
3188
+ @@ -478,6 +495,18 @@ exports.startTransition = function (scope) {
3189
+ ReactSharedInternals.T = prevTransition;
3190
+ }
3191
+ };
3192
+ +exports.unstable_Activity = REACT_OFFSCREEN_TYPE;
3193
+ +exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
3194
+ +exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
3195
+ +exports.unstable_getCacheForType = function (resourceType) {
3196
+ + var dispatcher = ReactSharedInternals.A;
3197
+ + return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType();
3198
+ +};
3199
+ +exports.unstable_postpone = function (reason) {
3200
+ + reason = Error(reason);
3201
+ + reason.$$typeof = REACT_POSTPONE_TYPE;
3202
+ + throw reason;
3203
+ +};
3204
+ exports.unstable_useCacheRefresh = function () {
3205
+ return ReactSharedInternals.H.useCacheRefresh();
3206
+ };
3207
+ @@ -515,9 +544,7 @@ exports.useLayoutEffect = function (create, deps) {
3208
+ exports.useMemo = function (create, deps) {
3209
+ return ReactSharedInternals.H.useMemo(create, deps);
3210
+ };
3211
+ -exports.useOptimistic = function (passthrough, reducer) {
3212
+ - return ReactSharedInternals.H.useOptimistic(passthrough, reducer);
3213
+ -};
3214
+ +exports.useOptimistic = useOptimistic;
3215
+ exports.useReducer = function (reducer, initialArg, init) {
3216
+ return ReactSharedInternals.H.useReducer(reducer, initialArg, init);
3217
+ };
3218
+ @@ -541,4 +568,4 @@ exports.useSyncExternalStore = function (
3219
+ exports.useTransition = function () {
3220
+ return ReactSharedInternals.H.useTransition();
3221
+ };
3222
+ -exports.version = "19.1.0-canary-8759c5c8-20250207";
3223
+ +exports.version = "19.1.0-experimental-b3a95caf-20250113";
3224
+ diff --git a/node_modules/react/cjs/react.react-server.development.js b/node_modules/react/cjs/react.react-server.development.js
3225
+ index 5baabb6..3246c43 100644
3226
+ --- a/node_modules/react/cjs/react.react-server.development.js
3227
+ +++ b/node_modules/react/cjs/react.react-server.development.js
3228
+ @@ -49,7 +49,7 @@
3229
+ function getComponentNameFromType(type) {
3230
+ if (null == type) return null;
3231
+ if ("function" === typeof type)
3232
+ - return type.$$typeof === REACT_CLIENT_REFERENCE$2
3233
+ + return type.$$typeof === REACT_CLIENT_REFERENCE$1
3234
+ ? null
3235
+ : type.displayName || type.name || null;
3236
+ if ("string" === typeof type) return type;
3237
+ @@ -66,6 +66,8 @@
3238
+ return "Suspense";
3239
+ case REACT_SUSPENSE_LIST_TYPE:
3240
+ return "SuspenseList";
3241
+ + case REACT_VIEW_TRANSITION_TYPE:
3242
+ + return "ViewTransition";
3243
+ }
3244
+ if ("object" === typeof type)
3245
+ switch (
3246
+ @@ -102,276 +104,20 @@
3247
+ }
3248
+ return null;
3249
+ }
3250
+ - function isValidElementType(type) {
3251
+ - return "string" === typeof type ||
3252
+ - "function" === typeof type ||
3253
+ - type === REACT_FRAGMENT_TYPE ||
3254
+ - type === REACT_PROFILER_TYPE ||
3255
+ - type === REACT_STRICT_MODE_TYPE ||
3256
+ - type === REACT_SUSPENSE_TYPE ||
3257
+ - type === REACT_SUSPENSE_LIST_TYPE ||
3258
+ - type === REACT_OFFSCREEN_TYPE ||
3259
+ - ("object" === typeof type &&
3260
+ - null !== type &&
3261
+ - (type.$$typeof === REACT_LAZY_TYPE ||
3262
+ - type.$$typeof === REACT_MEMO_TYPE ||
3263
+ - type.$$typeof === REACT_CONTEXT_TYPE ||
3264
+ - type.$$typeof === REACT_CONSUMER_TYPE ||
3265
+ - type.$$typeof === REACT_FORWARD_REF_TYPE ||
3266
+ - type.$$typeof === REACT_CLIENT_REFERENCE$1 ||
3267
+ - void 0 !== type.getModuleId))
3268
+ - ? !0
3269
+ - : !1;
3270
+ - }
3271
+ - function disabledLog() {}
3272
+ - function disableLogs() {
3273
+ - if (0 === disabledDepth) {
3274
+ - prevLog = console.log;
3275
+ - prevInfo = console.info;
3276
+ - prevWarn = console.warn;
3277
+ - prevError = console.error;
3278
+ - prevGroup = console.group;
3279
+ - prevGroupCollapsed = console.groupCollapsed;
3280
+ - prevGroupEnd = console.groupEnd;
3281
+ - var props = {
3282
+ - configurable: !0,
3283
+ - enumerable: !0,
3284
+ - value: disabledLog,
3285
+ - writable: !0
3286
+ - };
3287
+ - Object.defineProperties(console, {
3288
+ - info: props,
3289
+ - log: props,
3290
+ - warn: props,
3291
+ - error: props,
3292
+ - group: props,
3293
+ - groupCollapsed: props,
3294
+ - groupEnd: props
3295
+ - });
3296
+ - }
3297
+ - disabledDepth++;
3298
+ - }
3299
+ - function reenableLogs() {
3300
+ - disabledDepth--;
3301
+ - if (0 === disabledDepth) {
3302
+ - var props = { configurable: !0, enumerable: !0, writable: !0 };
3303
+ - Object.defineProperties(console, {
3304
+ - log: assign({}, props, { value: prevLog }),
3305
+ - info: assign({}, props, { value: prevInfo }),
3306
+ - warn: assign({}, props, { value: prevWarn }),
3307
+ - error: assign({}, props, { value: prevError }),
3308
+ - group: assign({}, props, { value: prevGroup }),
3309
+ - groupCollapsed: assign({}, props, { value: prevGroupCollapsed }),
3310
+ - groupEnd: assign({}, props, { value: prevGroupEnd })
3311
+ - });
3312
+ - }
3313
+ - 0 > disabledDepth &&
3314
+ - console.error(
3315
+ - "disabledDepth fell below zero. This is a bug in React. Please file an issue."
3316
+ - );
3317
+ - }
3318
+ - function describeBuiltInComponentFrame(name) {
3319
+ - if (void 0 === prefix)
3320
+ - try {
3321
+ - throw Error();
3322
+ - } catch (x) {
3323
+ - var match = x.stack.trim().match(/\n( *(at )?)/);
3324
+ - prefix = (match && match[1]) || "";
3325
+ - suffix =
3326
+ - -1 < x.stack.indexOf("\n at")
3327
+ - ? " (<anonymous>)"
3328
+ - : -1 < x.stack.indexOf("@")
3329
+ - ? "@unknown:0:0"
3330
+ - : "";
3331
+ - }
3332
+ - return "\n" + prefix + name + suffix;
3333
+ - }
3334
+ - function describeNativeComponentFrame(fn, construct) {
3335
+ - if (!fn || reentry) return "";
3336
+ - var frame = componentFrameCache.get(fn);
3337
+ - if (void 0 !== frame) return frame;
3338
+ - reentry = !0;
3339
+ - frame = Error.prepareStackTrace;
3340
+ - Error.prepareStackTrace = void 0;
3341
+ - var previousDispatcher = null;
3342
+ - previousDispatcher = ReactSharedInternals.H;
3343
+ - ReactSharedInternals.H = null;
3344
+ - disableLogs();
3345
+ + function getTaskName(type) {
3346
+ + if (type === REACT_FRAGMENT_TYPE) return "<>";
3347
+ + if (
3348
+ + "object" === typeof type &&
3349
+ + null !== type &&
3350
+ + type.$$typeof === REACT_LAZY_TYPE
3351
+ + )
3352
+ + return "<...>";
3353
+ try {
3354
+ - var RunInRootFrame = {
3355
+ - DetermineComponentFrameRoot: function () {
3356
+ - try {
3357
+ - if (construct) {
3358
+ - var Fake = function () {
3359
+ - throw Error();
3360
+ - };
3361
+ - Object.defineProperty(Fake.prototype, "props", {
3362
+ - set: function () {
3363
+ - throw Error();
3364
+ - }
3365
+ - });
3366
+ - if ("object" === typeof Reflect && Reflect.construct) {
3367
+ - try {
3368
+ - Reflect.construct(Fake, []);
3369
+ - } catch (x) {
3370
+ - var control = x;
3371
+ - }
3372
+ - Reflect.construct(fn, [], Fake);
3373
+ - } else {
3374
+ - try {
3375
+ - Fake.call();
3376
+ - } catch (x$0) {
3377
+ - control = x$0;
3378
+ - }
3379
+ - fn.call(Fake.prototype);
3380
+ - }
3381
+ - } else {
3382
+ - try {
3383
+ - throw Error();
3384
+ - } catch (x$1) {
3385
+ - control = x$1;
3386
+ - }
3387
+ - (Fake = fn()) &&
3388
+ - "function" === typeof Fake.catch &&
3389
+ - Fake.catch(function () {});
3390
+ - }
3391
+ - } catch (sample) {
3392
+ - if (sample && control && "string" === typeof sample.stack)
3393
+ - return [sample.stack, control.stack];
3394
+ - }
3395
+ - return [null, null];
3396
+ - }
3397
+ - };
3398
+ - RunInRootFrame.DetermineComponentFrameRoot.displayName =
3399
+ - "DetermineComponentFrameRoot";
3400
+ - var namePropDescriptor = Object.getOwnPropertyDescriptor(
3401
+ - RunInRootFrame.DetermineComponentFrameRoot,
3402
+ - "name"
3403
+ - );
3404
+ - namePropDescriptor &&
3405
+ - namePropDescriptor.configurable &&
3406
+ - Object.defineProperty(
3407
+ - RunInRootFrame.DetermineComponentFrameRoot,
3408
+ - "name",
3409
+ - { value: "DetermineComponentFrameRoot" }
3410
+ - );
3411
+ - var _RunInRootFrame$Deter =
3412
+ - RunInRootFrame.DetermineComponentFrameRoot(),
3413
+ - sampleStack = _RunInRootFrame$Deter[0],
3414
+ - controlStack = _RunInRootFrame$Deter[1];
3415
+ - if (sampleStack && controlStack) {
3416
+ - var sampleLines = sampleStack.split("\n"),
3417
+ - controlLines = controlStack.split("\n");
3418
+ - for (
3419
+ - _RunInRootFrame$Deter = namePropDescriptor = 0;
3420
+ - namePropDescriptor < sampleLines.length &&
3421
+ - !sampleLines[namePropDescriptor].includes(
3422
+ - "DetermineComponentFrameRoot"
3423
+ - );
3424
+ -
3425
+ - )
3426
+ - namePropDescriptor++;
3427
+ - for (
3428
+ - ;
3429
+ - _RunInRootFrame$Deter < controlLines.length &&
3430
+ - !controlLines[_RunInRootFrame$Deter].includes(
3431
+ - "DetermineComponentFrameRoot"
3432
+ - );
3433
+ -
3434
+ - )
3435
+ - _RunInRootFrame$Deter++;
3436
+ - if (
3437
+ - namePropDescriptor === sampleLines.length ||
3438
+ - _RunInRootFrame$Deter === controlLines.length
3439
+ - )
3440
+ - for (
3441
+ - namePropDescriptor = sampleLines.length - 1,
3442
+ - _RunInRootFrame$Deter = controlLines.length - 1;
3443
+ - 1 <= namePropDescriptor &&
3444
+ - 0 <= _RunInRootFrame$Deter &&
3445
+ - sampleLines[namePropDescriptor] !==
3446
+ - controlLines[_RunInRootFrame$Deter];
3447
+ -
3448
+ - )
3449
+ - _RunInRootFrame$Deter--;
3450
+ - for (
3451
+ - ;
3452
+ - 1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter;
3453
+ - namePropDescriptor--, _RunInRootFrame$Deter--
3454
+ - )
3455
+ - if (
3456
+ - sampleLines[namePropDescriptor] !==
3457
+ - controlLines[_RunInRootFrame$Deter]
3458
+ - ) {
3459
+ - if (1 !== namePropDescriptor || 1 !== _RunInRootFrame$Deter) {
3460
+ - do
3461
+ - if (
3462
+ - (namePropDescriptor--,
3463
+ - _RunInRootFrame$Deter--,
3464
+ - 0 > _RunInRootFrame$Deter ||
3465
+ - sampleLines[namePropDescriptor] !==
3466
+ - controlLines[_RunInRootFrame$Deter])
3467
+ - ) {
3468
+ - var _frame =
3469
+ - "\n" +
3470
+ - sampleLines[namePropDescriptor].replace(
3471
+ - " at new ",
3472
+ - " at "
3473
+ - );
3474
+ - fn.displayName &&
3475
+ - _frame.includes("<anonymous>") &&
3476
+ - (_frame = _frame.replace("<anonymous>", fn.displayName));
3477
+ - "function" === typeof fn &&
3478
+ - componentFrameCache.set(fn, _frame);
3479
+ - return _frame;
3480
+ - }
3481
+ - while (1 <= namePropDescriptor && 0 <= _RunInRootFrame$Deter);
3482
+ - }
3483
+ - break;
3484
+ - }
3485
+ - }
3486
+ - } finally {
3487
+ - (reentry = !1),
3488
+ - (ReactSharedInternals.H = previousDispatcher),
3489
+ - reenableLogs(),
3490
+ - (Error.prepareStackTrace = frame);
3491
+ + var name = getComponentNameFromType(type);
3492
+ + return name ? "<" + name + ">" : "<...>";
3493
+ + } catch (x) {
3494
+ + return "<...>";
3495
+ }
3496
+ - sampleLines = (sampleLines = fn ? fn.displayName || fn.name : "")
3497
+ - ? describeBuiltInComponentFrame(sampleLines)
3498
+ - : "";
3499
+ - "function" === typeof fn && componentFrameCache.set(fn, sampleLines);
3500
+ - return sampleLines;
3501
+ - }
3502
+ - function describeUnknownElementTypeFrameInDEV(type) {
3503
+ - if (null == type) return "";
3504
+ - if ("function" === typeof type) {
3505
+ - var prototype = type.prototype;
3506
+ - return describeNativeComponentFrame(
3507
+ - type,
3508
+ - !(!prototype || !prototype.isReactComponent)
3509
+ - );
3510
+ - }
3511
+ - if ("string" === typeof type) return describeBuiltInComponentFrame(type);
3512
+ - switch (type) {
3513
+ - case REACT_SUSPENSE_TYPE:
3514
+ - return describeBuiltInComponentFrame("Suspense");
3515
+ - case REACT_SUSPENSE_LIST_TYPE:
3516
+ - return describeBuiltInComponentFrame("SuspenseList");
3517
+ - }
3518
+ - if ("object" === typeof type)
3519
+ - switch (type.$$typeof) {
3520
+ - case REACT_FORWARD_REF_TYPE:
3521
+ - return describeNativeComponentFrame(type.render, !1);
3522
+ - case REACT_MEMO_TYPE:
3523
+ - return describeUnknownElementTypeFrameInDEV(type.type);
3524
+ - case REACT_LAZY_TYPE:
3525
+ - prototype = type._payload;
3526
+ - type = type._init;
3527
+ - try {
3528
+ - return describeUnknownElementTypeFrameInDEV(type(prototype));
3529
+ - } catch (x) {}
3530
+ - }
3531
+ - return "";
3532
+ }
3533
+ function getOwner() {
3534
+ var dispatcher = ReactSharedInternals.A;
3535
+ @@ -409,7 +155,16 @@
3536
+ componentName = this.props.ref;
3537
+ return void 0 !== componentName ? componentName : null;
3538
+ }
3539
+ - function ReactElement(type, key, self, source, owner, props) {
3540
+ + function ReactElement(
3541
+ + type,
3542
+ + key,
3543
+ + self,
3544
+ + source,
3545
+ + owner,
3546
+ + props,
3547
+ + debugStack,
3548
+ + debugTask
3549
+ + ) {
3550
+ self = props.ref;
3551
+ type = {
3552
+ $$typeof: REACT_ELEMENT_TYPE,
3553
+ @@ -437,6 +192,18 @@
3554
+ writable: !0,
3555
+ value: null
3556
+ });
3557
+ + Object.defineProperty(type, "_debugStack", {
3558
+ + configurable: !1,
3559
+ + enumerable: !1,
3560
+ + writable: !0,
3561
+ + value: debugStack
3562
+ + });
3563
+ + Object.defineProperty(type, "_debugTask", {
3564
+ + configurable: !1,
3565
+ + enumerable: !1,
3566
+ + writable: !0,
3567
+ + value: debugTask
3568
+ + });
3569
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
3570
+ return type;
3571
+ }
3572
+ @@ -447,35 +214,13 @@
3573
+ void 0,
3574
+ void 0,
3575
+ oldElement._owner,
3576
+ - oldElement.props
3577
+ + oldElement.props,
3578
+ + oldElement._debugStack,
3579
+ + oldElement._debugTask
3580
+ );
3581
+ - oldElement._store &&
3582
+ - (newKey._store.validated = oldElement._store.validated);
3583
+ + newKey._store.validated = oldElement._store.validated;
3584
+ return newKey;
3585
+ }
3586
+ - function validateChildKeys(node, parentType) {
3587
+ - if (
3588
+ - "object" === typeof node &&
3589
+ - node &&
3590
+ - node.$$typeof !== REACT_CLIENT_REFERENCE
3591
+ - )
3592
+ - if (isArrayImpl(node))
3593
+ - for (var i = 0; i < node.length; i++) {
3594
+ - var child = node[i];
3595
+ - isValidElement(child) && validateExplicitKey(child, parentType);
3596
+ - }
3597
+ - else if (isValidElement(node))
3598
+ - node._store && (node._store.validated = 1);
3599
+ - else if (
3600
+ - ((i = getIteratorFn(node)),
3601
+ - "function" === typeof i &&
3602
+ - i !== node.entries &&
3603
+ - ((i = i.call(node)), i !== node))
3604
+ - )
3605
+ - for (; !(node = i.next()).done; )
3606
+ - isValidElement(node.value) &&
3607
+ - validateExplicitKey(node.value, parentType);
3608
+ - }
3609
+ function isValidElement(object) {
3610
+ return (
3611
+ "object" === typeof object &&
3612
+ @@ -483,52 +228,6 @@
3613
+ object.$$typeof === REACT_ELEMENT_TYPE
3614
+ );
3615
+ }
3616
+ - function validateExplicitKey(element, parentType) {
3617
+ - if (
3618
+ - element._store &&
3619
+ - !element._store.validated &&
3620
+ - null == element.key &&
3621
+ - ((element._store.validated = 1),
3622
+ - (parentType = getCurrentComponentErrorInfo(parentType)),
3623
+ - !ownerHasKeyUseWarning[parentType])
3624
+ - ) {
3625
+ - ownerHasKeyUseWarning[parentType] = !0;
3626
+ - var childOwner = "";
3627
+ - element &&
3628
+ - null != element._owner &&
3629
+ - element._owner !== getOwner() &&
3630
+ - ((childOwner = null),
3631
+ - "number" === typeof element._owner.tag
3632
+ - ? (childOwner = getComponentNameFromType(element._owner.type))
3633
+ - : "string" === typeof element._owner.name &&
3634
+ - (childOwner = element._owner.name),
3635
+ - (childOwner = " It was passed a child from " + childOwner + "."));
3636
+ - var prevGetCurrentStack = ReactSharedInternals.getCurrentStack;
3637
+ - ReactSharedInternals.getCurrentStack = function () {
3638
+ - var stack = describeUnknownElementTypeFrameInDEV(element.type);
3639
+ - prevGetCurrentStack && (stack += prevGetCurrentStack() || "");
3640
+ - return stack;
3641
+ - };
3642
+ - console.error(
3643
+ - 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
3644
+ - parentType,
3645
+ - childOwner
3646
+ - );
3647
+ - ReactSharedInternals.getCurrentStack = prevGetCurrentStack;
3648
+ - }
3649
+ - }
3650
+ - function getCurrentComponentErrorInfo(parentType) {
3651
+ - var info = "",
3652
+ - owner = getOwner();
3653
+ - owner &&
3654
+ - (owner = getComponentNameFromType(owner.type)) &&
3655
+ - (info = "\n\nCheck the render method of `" + owner + "`.");
3656
+ - info ||
3657
+ - ((parentType = getComponentNameFromType(parentType)) &&
3658
+ - (info =
3659
+ - "\n\nCheck the top-level render call using <" + parentType + ">."));
3660
+ - return info;
3661
+ - }
3662
+ function escape(key) {
3663
+ var escaperLookup = { "=": "=0", ":": "=2" };
3664
+ return (
3665
+ @@ -545,7 +244,7 @@
3666
+ ? (checkKeyStringCoercion(element.key), escape("" + element.key))
3667
+ : index.toString(36);
3668
+ }
3669
+ - function noop() {}
3670
+ + function noop$1() {}
3671
+ function resolveThenable(thenable) {
3672
+ switch (thenable.status) {
3673
+ case "fulfilled":
3674
+ @@ -555,7 +254,7 @@
3675
+ default:
3676
+ switch (
3677
+ ("string" === typeof thenable.status
3678
+ - ? thenable.then(noop, noop)
3679
+ + ? thenable.then(noop$1, noop$1)
3680
+ : ((thenable.status = "pending"),
3681
+ thenable.then(
3682
+ function (fulfilledValue) {
3683
+ @@ -763,8 +462,30 @@
3684
+ function createCacheNode() {
3685
+ return { s: 0, v: void 0, o: null, p: null };
3686
+ }
3687
+ - var ReactSharedInternals = { H: null, A: null, getCurrentStack: null },
3688
+ - isArrayImpl = Array.isArray,
3689
+ + function noop() {}
3690
+ + function cleanup(entryValue) {
3691
+ + var entry = TaintRegistryValues.get(entryValue);
3692
+ + void 0 !== entry &&
3693
+ + (TaintRegistryPendingRequests.forEach(function (requestQueue) {
3694
+ + requestQueue.push(entryValue);
3695
+ + entry.count++;
3696
+ + }),
3697
+ + 1 === entry.count
3698
+ + ? TaintRegistryValues.delete(entryValue)
3699
+ + : entry.count--);
3700
+ + }
3701
+ + var TaintRegistryObjects$1 = new WeakMap(),
3702
+ + TaintRegistryValues$1 = new Map(),
3703
+ + TaintRegistryByteLengths$1 = new Set(),
3704
+ + TaintRegistryPendingRequests$1 = new Set(),
3705
+ + ReactSharedInternals = { H: null, A: null };
3706
+ + ReactSharedInternals.TaintRegistryObjects = TaintRegistryObjects$1;
3707
+ + ReactSharedInternals.TaintRegistryValues = TaintRegistryValues$1;
3708
+ + ReactSharedInternals.TaintRegistryByteLengths = TaintRegistryByteLengths$1;
3709
+ + ReactSharedInternals.TaintRegistryPendingRequests =
3710
+ + TaintRegistryPendingRequests$1;
3711
+ + ReactSharedInternals.getCurrentStack = null;
3712
+ + var isArrayImpl = Array.isArray,
3713
+ REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
3714
+ REACT_PORTAL_TYPE = Symbol.for("react.portal"),
3715
+ REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"),
3716
+ @@ -779,33 +500,66 @@
3717
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
3718
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
3719
+ REACT_OFFSCREEN_TYPE = Symbol.for("react.offscreen"),
3720
+ + REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
3721
+ + REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
3722
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
3723
+ - REACT_CLIENT_REFERENCE$2 = Symbol.for("react.client.reference"),
3724
+ + REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
3725
+ hasOwnProperty = Object.prototype.hasOwnProperty,
3726
+ assign = Object.assign,
3727
+ - REACT_CLIENT_REFERENCE$1 = Symbol.for("react.client.reference"),
3728
+ - disabledDepth = 0,
3729
+ - prevLog,
3730
+ - prevInfo,
3731
+ - prevWarn,
3732
+ - prevError,
3733
+ - prevGroup,
3734
+ - prevGroupCollapsed,
3735
+ - prevGroupEnd;
3736
+ - disabledLog.__reactDisabledLog = !0;
3737
+ - var prefix,
3738
+ - suffix,
3739
+ - reentry = !1;
3740
+ - var componentFrameCache = new (
3741
+ - "function" === typeof WeakMap ? WeakMap : Map
3742
+ - )();
3743
+ - var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
3744
+ + REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
3745
+ + new ("function" === typeof WeakMap ? WeakMap : Map)();
3746
+ + var createTask = console.createTask
3747
+ + ? console.createTask
3748
+ + : function () {
3749
+ + return null;
3750
+ + },
3751
+ specialPropKeyWarningShown,
3752
+ didWarnAboutOldJSXRuntime;
3753
+ var didWarnAboutElementRef = {};
3754
+ - var ownerHasKeyUseWarning = {},
3755
+ - didWarnAboutMaps = !1,
3756
+ - userProvidedKeyEscapeRegex = /\/+/g;
3757
+ + var didWarnAboutMaps = !1,
3758
+ + userProvidedKeyEscapeRegex = /\/+/g,
3759
+ + reportGlobalError =
3760
+ + "function" === typeof reportError
3761
+ + ? reportError
3762
+ + : function (error) {
3763
+ + if (
3764
+ + "object" === typeof window &&
3765
+ + "function" === typeof window.ErrorEvent
3766
+ + ) {
3767
+ + var event = new window.ErrorEvent("error", {
3768
+ + bubbles: !0,
3769
+ + cancelable: !0,
3770
+ + message:
3771
+ + "object" === typeof error &&
3772
+ + null !== error &&
3773
+ + "string" === typeof error.message
3774
+ + ? String(error.message)
3775
+ + : String(error),
3776
+ + error: error
3777
+ + });
3778
+ + if (!window.dispatchEvent(event)) return;
3779
+ + } else if (
3780
+ + "object" === typeof process &&
3781
+ + "function" === typeof process.emit
3782
+ + ) {
3783
+ + process.emit("uncaughtException", error);
3784
+ + return;
3785
+ + }
3786
+ + console.error(error);
3787
+ + };
3788
+ + TaintRegistryObjects$1 = Object.getPrototypeOf;
3789
+ + var TaintRegistryObjects = ReactSharedInternals.TaintRegistryObjects,
3790
+ + TaintRegistryValues = ReactSharedInternals.TaintRegistryValues,
3791
+ + TaintRegistryByteLengths = ReactSharedInternals.TaintRegistryByteLengths,
3792
+ + TaintRegistryPendingRequests =
3793
+ + ReactSharedInternals.TaintRegistryPendingRequests,
3794
+ + TypedArrayConstructor = TaintRegistryObjects$1(
3795
+ + Uint32Array.prototype
3796
+ + ).constructor,
3797
+ + finalizationRegistry =
3798
+ + "function" === typeof FinalizationRegistry
3799
+ + ? new FinalizationRegistry(cleanup)
3800
+ + : null;
3801
+ exports.Children = {
3802
+ map: mapChildren,
3803
+ forEach: function (children, forEachFunc, forEachContext) {
3804
+ @@ -889,6 +643,10 @@
3805
+ }
3806
+ };
3807
+ };
3808
+ + exports.captureOwnerStack = function () {
3809
+ + var getCurrentStack = ReactSharedInternals.getCurrentStack;
3810
+ + return null === getCurrentStack ? null : getCurrentStack();
3811
+ + };
3812
+ exports.cloneElement = function (element, config, children) {
3813
+ if (null === element || void 0 === element)
3814
+ throw Error(
3815
+ @@ -934,46 +692,29 @@
3816
+ JSCompiler_inline_result[i] = arguments[i + 2];
3817
+ props.children = JSCompiler_inline_result;
3818
+ }
3819
+ - props = ReactElement(element.type, key, void 0, void 0, owner, props);
3820
+ + props = ReactElement(
3821
+ + element.type,
3822
+ + key,
3823
+ + void 0,
3824
+ + void 0,
3825
+ + owner,
3826
+ + props,
3827
+ + element._debugStack,
3828
+ + element._debugTask
3829
+ + );
3830
+ for (key = 2; key < arguments.length; key++)
3831
+ - validateChildKeys(arguments[key], props.type);
3832
+ + (owner = arguments[key]),
3833
+ + isValidElement(owner) && owner._store && (owner._store.validated = 1);
3834
+ return props;
3835
+ };
3836
+ exports.createElement = function (type, config, children) {
3837
+ - if (isValidElementType(type))
3838
+ - for (var i = 2; i < arguments.length; i++)
3839
+ - validateChildKeys(arguments[i], type);
3840
+ - else {
3841
+ - i = "";
3842
+ - if (
3843
+ - void 0 === type ||
3844
+ - ("object" === typeof type &&
3845
+ - null !== type &&
3846
+ - 0 === Object.keys(type).length)
3847
+ - )
3848
+ - i +=
3849
+ - " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.";
3850
+ - if (null === type) var typeString = "null";
3851
+ - else
3852
+ - isArrayImpl(type)
3853
+ - ? (typeString = "array")
3854
+ - : void 0 !== type && type.$$typeof === REACT_ELEMENT_TYPE
3855
+ - ? ((typeString =
3856
+ - "<" +
3857
+ - (getComponentNameFromType(type.type) || "Unknown") +
3858
+ - " />"),
3859
+ - (i =
3860
+ - " Did you accidentally export a JSX literal instead of a component?"))
3861
+ - : (typeString = typeof type);
3862
+ - console.error(
3863
+ - "React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
3864
+ - typeString,
3865
+ - i
3866
+ - );
3867
+ + for (var i = 2; i < arguments.length; i++) {
3868
+ + var node = arguments[i];
3869
+ + isValidElement(node) && node._store && (node._store.validated = 1);
3870
+ }
3871
+ var propName;
3872
+ i = {};
3873
+ - typeString = null;
3874
+ + node = null;
3875
+ if (null != config)
3876
+ for (propName in (didWarnAboutOldJSXRuntime ||
3877
+ !("__self" in config) ||
3878
+ @@ -983,7 +724,7 @@
3879
+ "Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform"
3880
+ )),
3881
+ hasValidKey(config) &&
3882
+ - (checkKeyStringCoercion(config.key), (typeString = "" + config.key)),
3883
+ + (checkKeyStringCoercion(config.key), (node = "" + config.key)),
3884
+ config))
3885
+ hasOwnProperty.call(config, propName) &&
3886
+ "key" !== propName &&
3887
+ @@ -1005,20 +746,90 @@
3888
+ if (type && type.defaultProps)
3889
+ for (propName in ((childrenLength = type.defaultProps), childrenLength))
3890
+ void 0 === i[propName] && (i[propName] = childrenLength[propName]);
3891
+ - typeString &&
3892
+ + node &&
3893
+ defineKeyPropWarningGetter(
3894
+ i,
3895
+ "function" === typeof type
3896
+ ? type.displayName || type.name || "Unknown"
3897
+ : type
3898
+ );
3899
+ - return ReactElement(type, typeString, void 0, void 0, getOwner(), i);
3900
+ + return ReactElement(
3901
+ + type,
3902
+ + node,
3903
+ + void 0,
3904
+ + void 0,
3905
+ + getOwner(),
3906
+ + i,
3907
+ + Error("react-stack-top-frame"),
3908
+ + createTask(getTaskName(type))
3909
+ + );
3910
+ };
3911
+ exports.createRef = function () {
3912
+ var refObject = { current: null };
3913
+ Object.seal(refObject);
3914
+ return refObject;
3915
+ };
3916
+ + exports.experimental_taintObjectReference = function (message, object) {
3917
+ + if ("string" === typeof object || "bigint" === typeof object)
3918
+ + throw Error(
3919
+ + "Only objects or functions can be passed to taintObjectReference. Try taintUniqueValue instead."
3920
+ + );
3921
+ + if (
3922
+ + null === object ||
3923
+ + ("object" !== typeof object && "function" !== typeof object)
3924
+ + )
3925
+ + throw Error(
3926
+ + "Only objects or functions can be passed to taintObjectReference."
3927
+ + );
3928
+ + TaintRegistryObjects.set(
3929
+ + object,
3930
+ + "" +
3931
+ + (message ||
3932
+ + "A tainted value was attempted to be serialized to a Client Component or Action closure. This would leak it to the client.")
3933
+ + );
3934
+ + };
3935
+ + exports.experimental_taintUniqueValue = function (
3936
+ + message,
3937
+ + lifetime,
3938
+ + value
3939
+ + ) {
3940
+ + message =
3941
+ + "" +
3942
+ + (message ||
3943
+ + "A tainted value was attempted to be serialized to a Client Component or Action closure. This would leak it to the client.");
3944
+ + if (
3945
+ + null === lifetime ||
3946
+ + ("object" !== typeof lifetime && "function" !== typeof lifetime)
3947
+ + )
3948
+ + throw Error(
3949
+ + "To taint a value, a lifetime must be defined by passing an object that holds the value."
3950
+ + );
3951
+ + if ("string" !== typeof value && "bigint" !== typeof value)
3952
+ + if (value instanceof TypedArrayConstructor || value instanceof DataView)
3953
+ + TaintRegistryByteLengths.add(value.byteLength),
3954
+ + (value = String.fromCharCode.apply(
3955
+ + String,
3956
+ + new Uint8Array(value.buffer, value.byteOffset, value.byteLength)
3957
+ + ));
3958
+ + else {
3959
+ + message = null === value ? "null" : typeof value;
3960
+ + if ("object" === message || "function" === message)
3961
+ + throw Error(
3962
+ + "taintUniqueValue cannot taint objects or functions. Try taintObjectReference instead."
3963
+ + );
3964
+ + throw Error(
3965
+ + "Cannot taint a " +
3966
+ + message +
3967
+ + " because the value is too general and not unique enough to block globally."
3968
+ + );
3969
+ + }
3970
+ + var existingEntry = TaintRegistryValues.get(value);
3971
+ + void 0 === existingEntry
3972
+ + ? TaintRegistryValues.set(value, { message: message, count: 1 })
3973
+ + : existingEntry.count++;
3974
+ + null !== finalizationRegistry &&
3975
+ + finalizationRegistry.register(lifetime, value);
3976
+ + };
3977
+ exports.forwardRef = function (render) {
3978
+ null != render && render.$$typeof === REACT_MEMO_TYPE
3979
+ ? console.error(
3980
+ @@ -1069,7 +880,24 @@
3981
+ };
3982
+ };
3983
+ exports.memo = function (type, compare) {
3984
+ - isValidElementType(type) ||
3985
+ + "string" === typeof type ||
3986
+ + "function" === typeof type ||
3987
+ + type === REACT_FRAGMENT_TYPE ||
3988
+ + type === REACT_PROFILER_TYPE ||
3989
+ + type === REACT_STRICT_MODE_TYPE ||
3990
+ + type === REACT_SUSPENSE_TYPE ||
3991
+ + type === REACT_SUSPENSE_LIST_TYPE ||
3992
+ + type === REACT_OFFSCREEN_TYPE ||
3993
+ + type === REACT_VIEW_TRANSITION_TYPE ||
3994
+ + ("object" === typeof type &&
3995
+ + null !== type &&
3996
+ + (type.$$typeof === REACT_LAZY_TYPE ||
3997
+ + type.$$typeof === REACT_MEMO_TYPE ||
3998
+ + type.$$typeof === REACT_CONTEXT_TYPE ||
3999
+ + type.$$typeof === REACT_CONSUMER_TYPE ||
4000
+ + type.$$typeof === REACT_FORWARD_REF_TYPE ||
4001
+ + type.$$typeof === REACT_CLIENT_REFERENCE ||
4002
+ + void 0 !== type.getModuleId)) ||
4003
+ console.error(
4004
+ "memo: The first argument must be a component. Instead received: %s",
4005
+ null === type ? "null" : typeof type
4006
+ @@ -1096,9 +924,57 @@
4007
+ });
4008
+ return compare;
4009
+ };
4010
+ + exports.startTransition = function (scope) {
4011
+ + var prevTransition = ReactSharedInternals.T,
4012
+ + currentTransition = {};
4013
+ + ReactSharedInternals.T = currentTransition;
4014
+ + currentTransition._updatedFibers = new Set();
4015
+ + try {
4016
+ + var returnValue = scope(),
4017
+ + onStartTransitionFinish = ReactSharedInternals.S;
4018
+ + null !== onStartTransitionFinish &&
4019
+ + onStartTransitionFinish(currentTransition, returnValue);
4020
+ + "object" === typeof returnValue &&
4021
+ + null !== returnValue &&
4022
+ + "function" === typeof returnValue.then &&
4023
+ + returnValue.then(noop, reportGlobalError);
4024
+ + } catch (error) {
4025
+ + reportGlobalError(error);
4026
+ + } finally {
4027
+ + null === prevTransition &&
4028
+ + currentTransition._updatedFibers &&
4029
+ + ((scope = currentTransition._updatedFibers.size),
4030
+ + currentTransition._updatedFibers.clear(),
4031
+ + 10 < scope &&
4032
+ + console.warn(
4033
+ + "Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."
4034
+ + )),
4035
+ + (ReactSharedInternals.T = prevTransition);
4036
+ + }
4037
+ + };
4038
+ + exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
4039
+ + exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
4040
+ + exports.unstable_getCacheForType = function (resourceType) {
4041
+ + var dispatcher = ReactSharedInternals.A;
4042
+ + return dispatcher
4043
+ + ? dispatcher.getCacheForType(resourceType)
4044
+ + : resourceType();
4045
+ + };
4046
+ + exports.unstable_postpone = function (reason) {
4047
+ + reason = Error(reason);
4048
+ + reason.$$typeof = REACT_POSTPONE_TYPE;
4049
+ + throw reason;
4050
+ + };
4051
+ exports.use = function (usable) {
4052
+ return resolveDispatcher().use(usable);
4053
+ };
4054
+ + exports.useActionState = function (action, initialState, permalink) {
4055
+ + return resolveDispatcher().useActionState(
4056
+ + action,
4057
+ + initialState,
4058
+ + permalink
4059
+ + );
4060
+ + };
4061
+ exports.useCallback = function (callback, deps) {
4062
+ return resolveDispatcher().useCallback(callback, deps);
4063
+ };
4064
+ @@ -1111,5 +987,5 @@
4065
+ exports.useMemo = function (create, deps) {
4066
+ return resolveDispatcher().useMemo(create, deps);
4067
+ };
4068
+ - exports.version = "19.1.0-canary-8759c5c8-20250207";
4069
+ + exports.version = "19.1.0-experimental-b3a95caf-20250113";
4070
+ })();
4071
+ diff --git a/node_modules/react/cjs/react.react-server.production.js b/node_modules/react/cjs/react.react-server.production.js
4072
+ index 54ccf28..9be2e6d 100644
4073
+ --- a/node_modules/react/cjs/react.react-server.production.js
4074
+ +++ b/node_modules/react/cjs/react.react-server.production.js
4075
+ @@ -9,7 +9,18 @@
4076
+ */
4077
+
4078
+ "use strict";
4079
+ -var ReactSharedInternals = { H: null, A: null };
4080
+ +var TaintRegistryObjects$1 = new WeakMap(),
4081
+ + TaintRegistryValues$1 = new Map(),
4082
+ + TaintRegistryByteLengths$1 = new Set(),
4083
+ + TaintRegistryPendingRequests$1 = new Set(),
4084
+ + ReactSharedInternals = {
4085
+ + H: null,
4086
+ + A: null,
4087
+ + TaintRegistryObjects: TaintRegistryObjects$1,
4088
+ + TaintRegistryValues: TaintRegistryValues$1,
4089
+ + TaintRegistryByteLengths: TaintRegistryByteLengths$1,
4090
+ + TaintRegistryPendingRequests: TaintRegistryPendingRequests$1
4091
+ + };
4092
+ function formatProdErrorMessage(code) {
4093
+ var url = "https://react.dev/errors/" + code;
4094
+ if (1 < arguments.length) {
4095
+ @@ -33,8 +44,11 @@ var isArrayImpl = Array.isArray,
4096
+ REACT_PROFILER_TYPE = Symbol.for("react.profiler"),
4097
+ REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"),
4098
+ REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"),
4099
+ + REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"),
4100
+ REACT_MEMO_TYPE = Symbol.for("react.memo"),
4101
+ REACT_LAZY_TYPE = Symbol.for("react.lazy"),
4102
+ + REACT_POSTPONE_TYPE = Symbol.for("react.postpone"),
4103
+ + REACT_VIEW_TRANSITION_TYPE = Symbol.for("react.view_transition"),
4104
+ MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
4105
+ function getIteratorFn(maybeIterable) {
4106
+ if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
4107
+ @@ -87,7 +101,7 @@ function getElementKey(element, index) {
4108
+ ? escape("" + element.key)
4109
+ : index.toString(36);
4110
+ }
4111
+ -function noop() {}
4112
+ +function noop$1() {}
4113
+ function resolveThenable(thenable) {
4114
+ switch (thenable.status) {
4115
+ case "fulfilled":
4116
+ @@ -97,7 +111,7 @@ function resolveThenable(thenable) {
4117
+ default:
4118
+ switch (
4119
+ ("string" === typeof thenable.status
4120
+ - ? thenable.then(noop, noop)
4121
+ + ? thenable.then(noop$1, noop$1)
4122
+ : ((thenable.status = "pending"),
4123
+ thenable.then(
4124
+ function (fulfilledValue) {
4125
+ @@ -264,6 +278,56 @@ function createCacheRoot() {
4126
+ function createCacheNode() {
4127
+ return { s: 0, v: void 0, o: null, p: null };
4128
+ }
4129
+ +var reportGlobalError =
4130
+ + "function" === typeof reportError
4131
+ + ? reportError
4132
+ + : function (error) {
4133
+ + if (
4134
+ + "object" === typeof window &&
4135
+ + "function" === typeof window.ErrorEvent
4136
+ + ) {
4137
+ + var event = new window.ErrorEvent("error", {
4138
+ + bubbles: !0,
4139
+ + cancelable: !0,
4140
+ + message:
4141
+ + "object" === typeof error &&
4142
+ + null !== error &&
4143
+ + "string" === typeof error.message
4144
+ + ? String(error.message)
4145
+ + : String(error),
4146
+ + error: error
4147
+ + });
4148
+ + if (!window.dispatchEvent(event)) return;
4149
+ + } else if (
4150
+ + "object" === typeof process &&
4151
+ + "function" === typeof process.emit
4152
+ + ) {
4153
+ + process.emit("uncaughtException", error);
4154
+ + return;
4155
+ + }
4156
+ + console.error(error);
4157
+ + };
4158
+ +function noop() {}
4159
+ +var getPrototypeOf = Object.getPrototypeOf,
4160
+ + TaintRegistryObjects = ReactSharedInternals.TaintRegistryObjects,
4161
+ + TaintRegistryValues = ReactSharedInternals.TaintRegistryValues,
4162
+ + TaintRegistryByteLengths = ReactSharedInternals.TaintRegistryByteLengths,
4163
+ + TaintRegistryPendingRequests =
4164
+ + ReactSharedInternals.TaintRegistryPendingRequests,
4165
+ + TypedArrayConstructor = getPrototypeOf(Uint32Array.prototype).constructor;
4166
+ +function cleanup(entryValue) {
4167
+ + var entry = TaintRegistryValues.get(entryValue);
4168
+ + void 0 !== entry &&
4169
+ + (TaintRegistryPendingRequests.forEach(function (requestQueue) {
4170
+ + requestQueue.push(entryValue);
4171
+ + entry.count++;
4172
+ + }),
4173
+ + 1 === entry.count ? TaintRegistryValues.delete(entryValue) : entry.count--);
4174
+ +}
4175
+ +var finalizationRegistry =
4176
+ + "function" === typeof FinalizationRegistry
4177
+ + ? new FinalizationRegistry(cleanup)
4178
+ + : null;
4179
+ exports.Children = {
4180
+ map: mapChildren,
4181
+ forEach: function (children, forEachFunc, forEachContext) {
4182
+ @@ -340,6 +404,9 @@ exports.cache = function (fn) {
4183
+ }
4184
+ };
4185
+ };
4186
+ +exports.captureOwnerStack = function () {
4187
+ + return null;
4188
+ +};
4189
+ exports.cloneElement = function (element, config, children) {
4190
+ if (null === element || void 0 === element)
4191
+ throw Error(formatProdErrorMessage(267, element));
4192
+ @@ -392,6 +459,50 @@ exports.createElement = function (type, config, children) {
4193
+ exports.createRef = function () {
4194
+ return { current: null };
4195
+ };
4196
+ +exports.experimental_taintObjectReference = function (message, object) {
4197
+ + message =
4198
+ + "" +
4199
+ + (message ||
4200
+ + "A tainted value was attempted to be serialized to a Client Component or Action closure. This would leak it to the client.");
4201
+ + if ("string" === typeof object || "bigint" === typeof object)
4202
+ + throw Error(formatProdErrorMessage(496));
4203
+ + if (
4204
+ + null === object ||
4205
+ + ("object" !== typeof object && "function" !== typeof object)
4206
+ + )
4207
+ + throw Error(formatProdErrorMessage(497));
4208
+ + TaintRegistryObjects.set(object, message);
4209
+ +};
4210
+ +exports.experimental_taintUniqueValue = function (message, lifetime, value) {
4211
+ + message =
4212
+ + "" +
4213
+ + (message ||
4214
+ + "A tainted value was attempted to be serialized to a Client Component or Action closure. This would leak it to the client.");
4215
+ + if (
4216
+ + null === lifetime ||
4217
+ + ("object" !== typeof lifetime && "function" !== typeof lifetime)
4218
+ + )
4219
+ + throw Error(formatProdErrorMessage(493));
4220
+ + if ("string" !== typeof value && "bigint" !== typeof value)
4221
+ + if (value instanceof TypedArrayConstructor || value instanceof DataView)
4222
+ + TaintRegistryByteLengths.add(value.byteLength),
4223
+ + (value = String.fromCharCode.apply(
4224
+ + String,
4225
+ + new Uint8Array(value.buffer, value.byteOffset, value.byteLength)
4226
+ + ));
4227
+ + else {
4228
+ + message = null === value ? "null" : typeof value;
4229
+ + if ("object" === message || "function" === message)
4230
+ + throw Error(formatProdErrorMessage(494));
4231
+ + throw Error(formatProdErrorMessage(495, message));
4232
+ + }
4233
+ + var existingEntry = TaintRegistryValues.get(value);
4234
+ + void 0 === existingEntry
4235
+ + ? TaintRegistryValues.set(value, { message: message, count: 1 })
4236
+ + : existingEntry.count++;
4237
+ + null !== finalizationRegistry &&
4238
+ + finalizationRegistry.register(lifetime, value);
4239
+ +};
4240
+ exports.forwardRef = function (render) {
4241
+ return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };
4242
+ };
4243
+ @@ -410,9 +521,42 @@ exports.memo = function (type, compare) {
4244
+ compare: void 0 === compare ? null : compare
4245
+ };
4246
+ };
4247
+ +exports.startTransition = function (scope) {
4248
+ + var prevTransition = ReactSharedInternals.T,
4249
+ + currentTransition = {};
4250
+ + ReactSharedInternals.T = currentTransition;
4251
+ + try {
4252
+ + var returnValue = scope(),
4253
+ + onStartTransitionFinish = ReactSharedInternals.S;
4254
+ + null !== onStartTransitionFinish &&
4255
+ + onStartTransitionFinish(currentTransition, returnValue);
4256
+ + "object" === typeof returnValue &&
4257
+ + null !== returnValue &&
4258
+ + "function" === typeof returnValue.then &&
4259
+ + returnValue.then(noop, reportGlobalError);
4260
+ + } catch (error) {
4261
+ + reportGlobalError(error);
4262
+ + } finally {
4263
+ + ReactSharedInternals.T = prevTransition;
4264
+ + }
4265
+ +};
4266
+ +exports.unstable_SuspenseList = REACT_SUSPENSE_LIST_TYPE;
4267
+ +exports.unstable_ViewTransition = REACT_VIEW_TRANSITION_TYPE;
4268
+ +exports.unstable_getCacheForType = function (resourceType) {
4269
+ + var dispatcher = ReactSharedInternals.A;
4270
+ + return dispatcher ? dispatcher.getCacheForType(resourceType) : resourceType();
4271
+ +};
4272
+ +exports.unstable_postpone = function (reason) {
4273
+ + reason = Error(reason);
4274
+ + reason.$$typeof = REACT_POSTPONE_TYPE;
4275
+ + throw reason;
4276
+ +};
4277
+ exports.use = function (usable) {
4278
+ return ReactSharedInternals.H.use(usable);
4279
+ };
4280
+ +exports.useActionState = function (action, initialState, permalink) {
4281
+ + return ReactSharedInternals.H.useActionState(action, initialState, permalink);
4282
+ +};
4283
+ exports.useCallback = function (callback, deps) {
4284
+ return ReactSharedInternals.H.useCallback(callback, deps);
4285
+ };
4286
+ @@ -423,4 +567,4 @@ exports.useId = function () {
4287
+ exports.useMemo = function (create, deps) {
4288
+ return ReactSharedInternals.H.useMemo(create, deps);
4289
+ };
4290
+ -exports.version = "19.1.0-canary-8759c5c8-20250207";
4291
+ +exports.version = "19.1.0-experimental-b3a95caf-20250113";