appos 0.3.5-0 → 0.3.6-0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (281) hide show
  1. package/dist/bin/main.mjs +2 -2
  2. package/dist/exports/api/adapter-C2mMJKvG.mjs +1504 -0
  3. package/dist/exports/api/{auth-schema.mjs → auth-schema-CON4yFFY.mjs} +2 -3
  4. package/dist/exports/api/bun-sqlite-dialect-CPpPZa23.mjs +155 -0
  5. package/dist/exports/{cli/_virtual/rolldown_runtime.mjs → api/chunk-CyXqrcp_.mjs} +14 -1
  6. package/dist/exports/api/conditions-DjBAWfiK.mjs +116 -0
  7. package/dist/exports/api/dialect-CUUD24Ge.mjs +72 -0
  8. package/dist/exports/api/env-CwT3zhez.mjs +1 -0
  9. package/dist/exports/api/esm-_hkVMulx.mjs +15816 -0
  10. package/dist/exports/api/event-BHFSE6hY.mjs +20983 -0
  11. package/dist/exports/api/extract-blob-metadata-BMgUEPcW.mjs +4 -0
  12. package/dist/exports/api/extract-blob-metadata-_9RUEwoU.mjs +9818 -0
  13. package/dist/exports/api/generate-image-variant-DOIzj1wJ.mjs +4 -0
  14. package/dist/exports/api/generate-image-variant-DxOPoGAk.mjs +118 -0
  15. package/dist/exports/api/generate-preview-CvTFuq58.mjs +160 -0
  16. package/dist/exports/api/generate-preview-Dk3coswZ.mjs +4 -0
  17. package/dist/exports/api/index.d.mts +7347 -20
  18. package/dist/exports/api/index.mjs +146856 -18
  19. package/dist/exports/api/kysely-adapter-CmP2TbkS.mjs +296 -0
  20. package/dist/exports/api/memory-adapter-BzhRhLFK.mjs +212 -0
  21. package/dist/exports/api/node-sqlite-dialect-Bl5suBxl.mjs +155 -0
  22. package/dist/exports/api/orm-CMqufD21.mjs +153690 -0
  23. package/dist/exports/api/orm-DXqYuKvB.d.mts +11 -0
  24. package/dist/exports/api/orm.d.mts +2 -11
  25. package/dist/exports/api/orm.mjs +4 -42
  26. package/dist/exports/api/pdf-YxB2Hm1p.mjs +25822 -0
  27. package/dist/exports/api/purge-attachment-Cf6KH2Jv.mjs +34 -0
  28. package/dist/exports/api/purge-attachment-DIuil7ps.mjs +4 -0
  29. package/dist/exports/{cli/api/workflows/purge-audit-logs.mjs → api/purge-audit-logs-z6j_Pu47.mjs} +3 -3
  30. package/dist/exports/{cli/api/workflows/purge-unattached-blobs.mjs → api/purge-unattached-blobs-B0TfY5Hk.mjs} +1 -1
  31. package/dist/exports/api/react-BYhV5bYt.mjs +1131 -0
  32. package/dist/exports/api/server.node-DyVrQ6cz.mjs +19298 -0
  33. package/dist/exports/api/table-6bTIEqON.mjs +2636 -0
  34. package/dist/exports/api/{workflows/track-db-changes.mjs → track-db-changes-BysaV6nN.mjs} +14 -14
  35. package/dist/exports/api/{workflow.mjs → workflow-BuSWHcX-.mjs} +121 -10
  36. package/dist/exports/api/workflows/auth-schema-BFve3hgZ.mjs +2813 -0
  37. package/dist/exports/api/{_virtual/rolldown_runtime.mjs → workflows/chunk-B36mNPO4.mjs} +5 -1
  38. package/dist/exports/api/workflows/extract-blob-metadata-BcWKvY2K.mjs +9818 -0
  39. package/dist/exports/api/workflows/{generate-image-variant.mjs → generate-image-variant-BAFvL_zV.mjs} +20 -20
  40. package/dist/exports/{cli/api/workflows/generate-preview.mjs → api/workflows/generate-preview-BjlIVYYp.mjs} +6 -6
  41. package/dist/exports/api/workflows/index.d.mts +2011 -1
  42. package/dist/exports/api/workflows/index.mjs +2 -1
  43. package/dist/exports/api/workflows/pdf-DUB8zyIc.mjs +25822 -0
  44. package/dist/exports/{cli/api/workflows/purge-attachment.mjs → api/workflows/purge-attachment-k_sdxTPY.mjs} +3 -3
  45. package/dist/exports/api/workflows/{purge-audit-logs.mjs → purge-audit-logs-zCyWj4Mw.mjs} +12 -3
  46. package/dist/exports/api/workflows/{purge-unattached-blobs.mjs → purge-unattached-blobs-CdsuFAeW.mjs} +1 -1
  47. package/dist/exports/api/workflows/track-db-changes-CiKaI9gT.mjs +20943 -0
  48. package/dist/exports/api/workflows/track-db-changes-DEWQYryO.mjs +4 -0
  49. package/dist/exports/{cli/api/workflow.mjs → api/workflows/workflow-BjM2xCa6.mjs} +23 -3
  50. package/dist/exports/api/workflows/zod-Br0enFWK.mjs +12333 -0
  51. package/dist/exports/api/zod-CdrJdBtV.mjs +12571 -0
  52. package/dist/exports/cli/auth-schema-CNuOqPi-.mjs +2813 -0
  53. package/dist/exports/{api/workflows/_virtual/rolldown_runtime.mjs → cli/chunk-B36mNPO4.mjs} +5 -1
  54. package/dist/exports/cli/extract-blob-metadata-CV1Ke90d.mjs +9818 -0
  55. package/dist/exports/cli/{api/workflows/generate-image-variant.mjs → generate-image-variant-CM1BrVvZ.mjs} +20 -20
  56. package/dist/exports/{api/workflows/generate-preview.mjs → cli/generate-preview-DdHQ3ukz.mjs} +6 -6
  57. package/dist/exports/cli/index.d.mts +2142 -2
  58. package/dist/exports/cli/index.mjs +41 -1
  59. package/dist/exports/cli/pdf-CLUPEIdT.mjs +25822 -0
  60. package/dist/exports/{api/workflows/purge-attachment.mjs → cli/purge-attachment-Dc_J74dG.mjs} +3 -3
  61. package/dist/exports/cli/purge-audit-logs-DFhWh-Bx.mjs +56 -0
  62. package/dist/exports/cli/purge-unattached-blobs-C1MRlM_2.mjs +46 -0
  63. package/dist/exports/cli/track-db-changes-CfneOF2_.mjs +20943 -0
  64. package/dist/exports/{api/workflows/api/workflow.mjs → cli/workflow-DSbbXBMt.mjs} +23 -3
  65. package/dist/exports/cli/zod-7q0_Mtnn.mjs +12333 -0
  66. package/dist/exports/devtools/BaseTanStackRouterDevtoolsPanel-BBz1qLry-DUwdvyLv.js +2090 -0
  67. package/dist/exports/devtools/EIDV623S-B7f6114d.js +2497 -0
  68. package/dist/exports/devtools/FloatingTanStackRouterDevtools-DymJEvfG-BHuQHiRR.js +237 -0
  69. package/dist/exports/devtools/MIMHJGAX-Cb3wf11F.js +10903 -0
  70. package/dist/exports/devtools/Q7LWSL4U-BoEO3rNq.js +37 -0
  71. package/dist/exports/devtools/VLTTJS3N-CIyRc84e.js +44 -0
  72. package/dist/exports/devtools/index.js +1724 -3
  73. package/dist/exports/devtools/utils-YRTCpRgb.js +1670 -0
  74. package/dist/exports/tests/api.d.mts +7354 -5
  75. package/dist/exports/tests/api.mjs +79 -1
  76. package/dist/exports/tests/auth-schema-DUCJw-_2.mjs +1 -0
  77. package/dist/exports/tests/chunk-Cii4FAhs.mjs +1 -0
  78. package/dist/exports/tests/conditions-B0ffVJ5E.mjs +1 -0
  79. package/dist/exports/tests/constants-DHjjg05J.mjs +1 -0
  80. package/dist/exports/tests/dist-D6vgKv3t.mjs +7 -0
  81. package/dist/exports/tests/dist-EfrRkq5c.mjs +296 -0
  82. package/dist/exports/tests/extract-blob-metadata-Dv343Vcn.mjs +169 -0
  83. package/dist/exports/tests/generate-image-variant-cQc8q0kh.mjs +1 -0
  84. package/dist/exports/tests/generate-preview-HaTMd2hS.mjs +1 -0
  85. package/dist/exports/tests/magic-string.es-D6VRmdiF.mjs +14 -0
  86. package/dist/exports/tests/mock-BvkO5nlm.mjs +1 -0
  87. package/dist/exports/tests/mock.mjs +1 -1
  88. package/dist/exports/tests/pdf-BDsS3vjF.mjs +13 -0
  89. package/dist/exports/tests/purge-attachment-D4uOzHRi.mjs +1 -0
  90. package/dist/exports/tests/purge-audit-logs-DiPcc09d.mjs +1 -0
  91. package/dist/exports/tests/purge-unattached-blobs-CqW6tlIC.mjs +1 -0
  92. package/dist/exports/tests/react.mjs +6 -1
  93. package/dist/exports/tests/setup.d.mts +1 -1
  94. package/dist/exports/tests/setup.mjs +34 -1
  95. package/dist/exports/tests/table-CbU04119.mjs +1 -0
  96. package/dist/exports/tests/track-db-changes-Bd4W-P1q.mjs +1 -0
  97. package/dist/exports/tests/vi.2VT5v0um-Cme1b0Dl.mjs +348 -0
  98. package/dist/exports/tests/{api/workflow.mjs → workflow-DwZxTqdH.mjs} +1 -1
  99. package/dist/exports/tests/zod-DcpxsMPz.mjs +23 -0
  100. package/dist/exports/vendors/date.js +13236 -1
  101. package/dist/exports/vendors/toolkit.js +2206 -1
  102. package/dist/exports/vendors/zod.js +12344 -1
  103. package/dist/exports/vite/api-DGRU_RdM.mjs +27 -0
  104. package/dist/exports/vite/build-CxJAu2Bn.mjs +1 -0
  105. package/dist/exports/vite/build2-BMK0OFVt.mjs +16 -0
  106. package/dist/exports/vite/chunk-CxnlK1Zi.mjs +1 -0
  107. package/dist/exports/vite/chunk-PtveFMYu.mjs +1 -0
  108. package/dist/exports/vite/dist-Bxp8DqWh.mjs +114 -0
  109. package/dist/exports/vite/dist-CX51FKbX.mjs +1 -0
  110. package/dist/exports/vite/dist-DcyNr-KR.mjs +1 -0
  111. package/dist/exports/vite/dist-j3-Khlzt.mjs +1 -0
  112. package/dist/exports/vite/experimental-index-3KsfmUbz.mjs +1 -0
  113. package/dist/exports/vite/false-BNJbUKYT.mjs +1 -0
  114. package/dist/exports/vite/false-BvrPEDU6.mjs +1 -0
  115. package/dist/exports/vite/index.d.mts +1 -1
  116. package/dist/exports/vite/index.mjs +26 -1
  117. package/dist/exports/vite/internal-C5cVwRiK.mjs +1 -0
  118. package/dist/exports/vite/jiti-BjSPrFvg.mjs +9 -0
  119. package/dist/exports/vite/lexer-DQCqS3nf-C6xCDOEQ.mjs +3 -0
  120. package/dist/exports/vite/lib-CMv7Sfwa.mjs +1 -0
  121. package/dist/exports/vite/lib-D9TnS-7w.mjs +1 -0
  122. package/dist/exports/vite/lib-DuBRr9dH.mjs +382 -0
  123. package/dist/exports/vite/node-DI8AnY_i.mjs +437 -0
  124. package/dist/exports/vite/postcss-BtmDpj-c.mjs +32 -0
  125. package/dist/exports/vite/postcss-import-Bk_ZCd6c.mjs +5 -0
  126. package/dist/exports/vite/rolldown-build-CNW2eye_-CJNfyXdF.mjs +13 -0
  127. package/dist/exports/vitest/api-CPv6lnxG.mjs +27 -0
  128. package/dist/exports/vitest/build2-28i3OiJ3.mjs +16 -0
  129. package/dist/exports/vitest/chunk-_e2jlDPK.mjs +1 -0
  130. package/dist/exports/vitest/chunk-jwDkFoXW.mjs +1 -0
  131. package/dist/exports/vitest/config.mjs +77 -1
  132. package/dist/exports/vitest/dist-L-OpshPJ.mjs +114 -0
  133. package/dist/exports/vitest/index.mjs +348 -1
  134. package/dist/exports/vitest/jiti-eNGOyHIo.mjs +9 -0
  135. package/dist/exports/vitest/lexer-DQCqS3nf-TWLyIqlY.mjs +3 -0
  136. package/dist/exports/vitest/lib-C3G64csm.mjs +1 -0
  137. package/dist/exports/vitest/magic-string.es-CxM5Ubyl.mjs +14 -0
  138. package/dist/exports/vitest/module-runner-DsF4L04D.mjs +1 -0
  139. package/dist/exports/vitest/postcss-BxLp_Too.mjs +32 -0
  140. package/dist/exports/vitest/postcss-import-5pKj3f5q.mjs +5 -0
  141. package/dist/exports/web/browser-ponyfill-DxTJMXNq.js +443 -0
  142. package/dist/exports/web/chunk-DksrlJLg.js +49 -0
  143. package/dist/exports/web/index.d.ts +2546 -2
  144. package/dist/exports/web/index.js +9295 -6
  145. package/dist/exports/web/plugin-DqTFWG7p.js +250 -0
  146. package/package.json +1 -1
  147. package/dist/exports/api/app-context.d.mts +0 -115
  148. package/dist/exports/api/app-context.mjs +0 -24
  149. package/dist/exports/api/auth-schema.d.mts +0 -4248
  150. package/dist/exports/api/auth.d.mts +0 -402
  151. package/dist/exports/api/auth.mjs +0 -188
  152. package/dist/exports/api/cache.d.mts +0 -44
  153. package/dist/exports/api/cache.mjs +0 -28
  154. package/dist/exports/api/config.d.mts +0 -28
  155. package/dist/exports/api/config.mjs +0 -72
  156. package/dist/exports/api/constants.mjs +0 -92
  157. package/dist/exports/api/container.d.mts +0 -210
  158. package/dist/exports/api/container.mjs +0 -49
  159. package/dist/exports/api/database.d.mts +0 -101
  160. package/dist/exports/api/database.mjs +0 -219
  161. package/dist/exports/api/event.d.mts +0 -235
  162. package/dist/exports/api/event.mjs +0 -236
  163. package/dist/exports/api/i18n.d.mts +0 -34
  164. package/dist/exports/api/i18n.mjs +0 -45
  165. package/dist/exports/api/instrumentation.d.mts +0 -7
  166. package/dist/exports/api/instrumentation.mjs +0 -40
  167. package/dist/exports/api/logger.d.mts +0 -21
  168. package/dist/exports/api/logger.mjs +0 -26
  169. package/dist/exports/api/mailer.d.mts +0 -70
  170. package/dist/exports/api/mailer.mjs +0 -37
  171. package/dist/exports/api/middleware/request-logger.d.mts +0 -24
  172. package/dist/exports/api/middleware.d.mts +0 -39
  173. package/dist/exports/api/middleware.mjs +0 -73
  174. package/dist/exports/api/openapi.d.mts +0 -271
  175. package/dist/exports/api/openapi.mjs +0 -507
  176. package/dist/exports/api/otel.d.mts +0 -40
  177. package/dist/exports/api/otel.mjs +0 -56
  178. package/dist/exports/api/redis.d.mts +0 -34
  179. package/dist/exports/api/redis.mjs +0 -41
  180. package/dist/exports/api/storage-schema.d.mts +0 -707
  181. package/dist/exports/api/storage-schema.mjs +0 -72
  182. package/dist/exports/api/storage.d.mts +0 -506
  183. package/dist/exports/api/storage.mjs +0 -833
  184. package/dist/exports/api/web/auth.mjs +0 -17
  185. package/dist/exports/api/workflow.d.mts +0 -250
  186. package/dist/exports/api/workflows/api/auth-schema.mjs +0 -373
  187. package/dist/exports/api/workflows/api/auth.d.mts +0 -379
  188. package/dist/exports/api/workflows/api/cache.d.mts +0 -44
  189. package/dist/exports/api/workflows/api/config.d.mts +0 -18
  190. package/dist/exports/api/workflows/api/container.d.mts +0 -167
  191. package/dist/exports/api/workflows/api/database.d.mts +0 -47
  192. package/dist/exports/api/workflows/api/event.d.mts +0 -68
  193. package/dist/exports/api/workflows/api/event.mjs +0 -126
  194. package/dist/exports/api/workflows/api/logger.d.mts +0 -21
  195. package/dist/exports/api/workflows/api/mailer.d.mts +0 -70
  196. package/dist/exports/api/workflows/api/orm.d.mts +0 -13
  197. package/dist/exports/api/workflows/api/redis.mjs +0 -3
  198. package/dist/exports/api/workflows/api/storage-schema.d.mts +0 -699
  199. package/dist/exports/api/workflows/api/storage.d.mts +0 -396
  200. package/dist/exports/api/workflows/api/workflow.d.mts +0 -24
  201. package/dist/exports/api/workflows/constants.mjs +0 -23
  202. package/dist/exports/api/workflows/extract-blob-metadata.mjs +0 -132
  203. package/dist/exports/api/workflows/generate-image-variant.d.mts +0 -63
  204. package/dist/exports/api/workflows/track-db-changes.d.mts +0 -72
  205. package/dist/exports/cli/api/auth-schema.mjs +0 -373
  206. package/dist/exports/cli/api/auth.d.mts +0 -379
  207. package/dist/exports/cli/api/cache.d.mts +0 -44
  208. package/dist/exports/cli/api/config.d.mts +0 -18
  209. package/dist/exports/cli/api/container.d.mts +0 -167
  210. package/dist/exports/cli/api/database.d.mts +0 -47
  211. package/dist/exports/cli/api/event.d.mts +0 -68
  212. package/dist/exports/cli/api/event.mjs +0 -126
  213. package/dist/exports/cli/api/logger.d.mts +0 -21
  214. package/dist/exports/cli/api/mailer.d.mts +0 -70
  215. package/dist/exports/cli/api/orm.d.mts +0 -13
  216. package/dist/exports/cli/api/redis.mjs +0 -3
  217. package/dist/exports/cli/api/storage-schema.d.mts +0 -699
  218. package/dist/exports/cli/api/storage.d.mts +0 -396
  219. package/dist/exports/cli/api/workflow.d.mts +0 -2
  220. package/dist/exports/cli/api/workflows/extract-blob-metadata.mjs +0 -132
  221. package/dist/exports/cli/api/workflows/generate-image-variant.d.mts +0 -63
  222. package/dist/exports/cli/api/workflows/track-db-changes.mjs +0 -110
  223. package/dist/exports/cli/command.d.mts +0 -56
  224. package/dist/exports/cli/command.mjs +0 -43
  225. package/dist/exports/cli/constants.mjs +0 -23
  226. package/dist/exports/cli/context.d.mts +0 -170
  227. package/dist/exports/tests/_virtual/rolldown_runtime.mjs +0 -1
  228. package/dist/exports/tests/api/app-context.d.mts +0 -115
  229. package/dist/exports/tests/api/app-context.mjs +0 -1
  230. package/dist/exports/tests/api/auth-schema.d.mts +0 -4248
  231. package/dist/exports/tests/api/auth-schema.mjs +0 -1
  232. package/dist/exports/tests/api/auth.d.mts +0 -402
  233. package/dist/exports/tests/api/cache.d.mts +0 -44
  234. package/dist/exports/tests/api/config.d.mts +0 -28
  235. package/dist/exports/tests/api/container.d.mts +0 -210
  236. package/dist/exports/tests/api/database.d.mts +0 -101
  237. package/dist/exports/tests/api/database.mjs +0 -1
  238. package/dist/exports/tests/api/event.d.mts +0 -235
  239. package/dist/exports/tests/api/event.mjs +0 -1
  240. package/dist/exports/tests/api/i18n.d.mts +0 -34
  241. package/dist/exports/tests/api/index.d.mts +0 -26
  242. package/dist/exports/tests/api/logger.d.mts +0 -21
  243. package/dist/exports/tests/api/mailer.d.mts +0 -70
  244. package/dist/exports/tests/api/middleware/error-handler.mjs +0 -1
  245. package/dist/exports/tests/api/middleware/health.mjs +0 -1
  246. package/dist/exports/tests/api/middleware/i18n.mjs +0 -1
  247. package/dist/exports/tests/api/middleware/request-logger.d.mts +0 -24
  248. package/dist/exports/tests/api/middleware/request-logger.mjs +0 -1
  249. package/dist/exports/tests/api/middleware/shutdown.mjs +0 -1
  250. package/dist/exports/tests/api/middleware/timeout.mjs +0 -1
  251. package/dist/exports/tests/api/middleware.d.mts +0 -39
  252. package/dist/exports/tests/api/middleware.mjs +0 -1
  253. package/dist/exports/tests/api/openapi.d.mts +0 -271
  254. package/dist/exports/tests/api/openapi.mjs +0 -1
  255. package/dist/exports/tests/api/orm.d.mts +0 -13
  256. package/dist/exports/tests/api/otel.d.mts +0 -40
  257. package/dist/exports/tests/api/redis.d.mts +0 -34
  258. package/dist/exports/tests/api/redis.mjs +0 -1
  259. package/dist/exports/tests/api/server.mjs +0 -1
  260. package/dist/exports/tests/api/storage-schema.d.mts +0 -707
  261. package/dist/exports/tests/api/storage.d.mts +0 -506
  262. package/dist/exports/tests/api/workflow.d.mts +0 -250
  263. package/dist/exports/tests/api/workflows/extract-blob-metadata.mjs +0 -1
  264. package/dist/exports/tests/api/workflows/generate-image-variant.d.mts +0 -63
  265. package/dist/exports/tests/api/workflows/generate-image-variant.mjs +0 -1
  266. package/dist/exports/tests/api/workflows/generate-preview.mjs +0 -1
  267. package/dist/exports/tests/api/workflows/purge-attachment.mjs +0 -1
  268. package/dist/exports/tests/api/workflows/purge-audit-logs.mjs +0 -1
  269. package/dist/exports/tests/api/workflows/purge-unattached-blobs.mjs +0 -1
  270. package/dist/exports/tests/api/workflows/track-db-changes.mjs +0 -1
  271. package/dist/exports/tests/constants.mjs +0 -1
  272. package/dist/exports/tests/instrumentation.d.mts +0 -7
  273. package/dist/exports/tests/instrumentation.mjs +0 -1
  274. package/dist/exports/web/api/auth.d.ts +0 -125
  275. package/dist/exports/web/api/database.d.ts +0 -4
  276. package/dist/exports/web/api/logger.d.ts +0 -1
  277. package/dist/exports/web/auth.d.ts +0 -2388
  278. package/dist/exports/web/auth.js +0 -75
  279. package/dist/exports/web/i18n.d.ts +0 -42
  280. package/dist/exports/web/i18n.js +0 -45
  281. /package/dist/exports/tests/{api/middleware/youch-handler.mjs → youch-handler-Ch5yf6im.mjs} +0 -0
@@ -1,4 +1,1725 @@
1
- import { ReactQueryDevtools } from "@tanstack/react-query-devtools";
2
- import { TanStackRouterDevtools } from "@tanstack/react-router-devtools";
1
+ import { I as lazy, K as setupStyleSheet, R as mergeProps, S as createSignal, U as render, h as createComponent } from "./EIDV623S-B7f6114d.js";
2
+ import { l as TanStackRouterDevtoolsCore, t as replaceEqualDeep } from "./utils-YRTCpRgb.js";
3
3
 
4
- export { ReactQueryDevtools, TanStackRouterDevtools };
4
+ //#region rolldown:runtime
5
+ var __create = Object.create;
6
+ var __defProp = Object.defineProperty;
7
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
8
+ var __getOwnPropNames = Object.getOwnPropertyNames;
9
+ var __getProtoOf = Object.getPrototypeOf;
10
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
11
+ var __commonJSMin = (cb, mod) => () => (mod || cb((mod = { exports: {} }).exports, mod), mod.exports);
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
15
+ key = keys[i];
16
+ if (!__hasOwnProp.call(to, key) && key !== except) {
17
+ __defProp(to, key, {
18
+ get: ((k) => from[k]).bind(null, key),
19
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
20
+ });
21
+ }
22
+ }
23
+ }
24
+ return to;
25
+ };
26
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
27
+ value: mod,
28
+ enumerable: true
29
+ }) : target, mod));
30
+
31
+ //#endregion
32
+ //#region ../../node_modules/.bun/react@19.2.3/node_modules/react/cjs/react.development.js
33
+ /**
34
+ * @license React
35
+ * react.development.js
36
+ *
37
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
38
+ *
39
+ * This source code is licensed under the MIT license found in the
40
+ * LICENSE file in the root directory of this source tree.
41
+ */
42
+ var require_react_development = /* @__PURE__ */ __commonJSMin(((exports, module) => {
43
+ (function() {
44
+ function defineDeprecationWarning(methodName, info) {
45
+ Object.defineProperty(Component.prototype, methodName, { get: function() {
46
+ console.warn("%s(...) is deprecated in plain JavaScript React classes. %s", info[0], info[1]);
47
+ } });
48
+ }
49
+ function getIteratorFn(maybeIterable) {
50
+ if (null === maybeIterable || "object" !== typeof maybeIterable) return null;
51
+ maybeIterable = MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL] || maybeIterable["@@iterator"];
52
+ return "function" === typeof maybeIterable ? maybeIterable : null;
53
+ }
54
+ function warnNoop(publicInstance, callerName) {
55
+ publicInstance = (publicInstance = publicInstance.constructor) && (publicInstance.displayName || publicInstance.name) || "ReactClass";
56
+ var warningKey = publicInstance + "." + callerName;
57
+ didWarnStateUpdateForUnmountedComponent[warningKey] || (console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.", callerName, publicInstance), didWarnStateUpdateForUnmountedComponent[warningKey] = !0);
58
+ }
59
+ function Component(props, context, updater) {
60
+ this.props = props;
61
+ this.context = context;
62
+ this.refs = emptyObject;
63
+ this.updater = updater || ReactNoopUpdateQueue;
64
+ }
65
+ function ComponentDummy() {}
66
+ function PureComponent(props, context, updater) {
67
+ this.props = props;
68
+ this.context = context;
69
+ this.refs = emptyObject;
70
+ this.updater = updater || ReactNoopUpdateQueue;
71
+ }
72
+ function noop() {}
73
+ function testStringCoercion(value) {
74
+ return "" + value;
75
+ }
76
+ function checkKeyStringCoercion(value) {
77
+ try {
78
+ testStringCoercion(value);
79
+ var JSCompiler_inline_result = !1;
80
+ } catch (e) {
81
+ JSCompiler_inline_result = !0;
82
+ }
83
+ if (JSCompiler_inline_result) {
84
+ JSCompiler_inline_result = console;
85
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
86
+ var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
87
+ JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0);
88
+ return testStringCoercion(value);
89
+ }
90
+ }
91
+ function getComponentNameFromType(type) {
92
+ if (null == type) return null;
93
+ if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
94
+ if ("string" === typeof type) return type;
95
+ switch (type) {
96
+ case REACT_FRAGMENT_TYPE: return "Fragment";
97
+ case REACT_PROFILER_TYPE: return "Profiler";
98
+ case REACT_STRICT_MODE_TYPE: return "StrictMode";
99
+ case REACT_SUSPENSE_TYPE: return "Suspense";
100
+ case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList";
101
+ case REACT_ACTIVITY_TYPE: return "Activity";
102
+ }
103
+ if ("object" === typeof type) switch ("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof) {
104
+ case REACT_PORTAL_TYPE: return "Portal";
105
+ case REACT_CONTEXT_TYPE: return type.displayName || "Context";
106
+ case REACT_CONSUMER_TYPE: return (type._context.displayName || "Context") + ".Consumer";
107
+ case REACT_FORWARD_REF_TYPE:
108
+ var innerType = type.render;
109
+ type = type.displayName;
110
+ type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
111
+ return type;
112
+ case REACT_MEMO_TYPE: return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
113
+ case REACT_LAZY_TYPE:
114
+ innerType = type._payload;
115
+ type = type._init;
116
+ try {
117
+ return getComponentNameFromType(type(innerType));
118
+ } catch (x) {}
119
+ }
120
+ return null;
121
+ }
122
+ function getTaskName(type) {
123
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
124
+ if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return "<...>";
125
+ try {
126
+ var name = getComponentNameFromType(type);
127
+ return name ? "<" + name + ">" : "<...>";
128
+ } catch (x) {
129
+ return "<...>";
130
+ }
131
+ }
132
+ function getOwner() {
133
+ var dispatcher = ReactSharedInternals.A;
134
+ return null === dispatcher ? null : dispatcher.getOwner();
135
+ }
136
+ function UnknownOwner() {
137
+ return Error("react-stack-top-frame");
138
+ }
139
+ function hasValidKey(config) {
140
+ if (hasOwnProperty.call(config, "key")) {
141
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
142
+ if (getter && getter.isReactWarning) return !1;
143
+ }
144
+ return void 0 !== config.key;
145
+ }
146
+ function defineKeyPropWarningGetter(props, displayName) {
147
+ function warnAboutAccessingKey() {
148
+ specialPropKeyWarningShown || (specialPropKeyWarningShown = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", displayName));
149
+ }
150
+ warnAboutAccessingKey.isReactWarning = !0;
151
+ Object.defineProperty(props, "key", {
152
+ get: warnAboutAccessingKey,
153
+ configurable: !0
154
+ });
155
+ }
156
+ function elementRefGetterWithDeprecationWarning() {
157
+ var componentName = getComponentNameFromType(this.type);
158
+ didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."));
159
+ componentName = this.props.ref;
160
+ return void 0 !== componentName ? componentName : null;
161
+ }
162
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
163
+ var refProp = props.ref;
164
+ type = {
165
+ $$typeof: REACT_ELEMENT_TYPE,
166
+ type,
167
+ key,
168
+ props,
169
+ _owner: owner
170
+ };
171
+ null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
172
+ enumerable: !1,
173
+ get: elementRefGetterWithDeprecationWarning
174
+ }) : Object.defineProperty(type, "ref", {
175
+ enumerable: !1,
176
+ value: null
177
+ });
178
+ type._store = {};
179
+ Object.defineProperty(type._store, "validated", {
180
+ configurable: !1,
181
+ enumerable: !1,
182
+ writable: !0,
183
+ value: 0
184
+ });
185
+ Object.defineProperty(type, "_debugInfo", {
186
+ configurable: !1,
187
+ enumerable: !1,
188
+ writable: !0,
189
+ value: null
190
+ });
191
+ Object.defineProperty(type, "_debugStack", {
192
+ configurable: !1,
193
+ enumerable: !1,
194
+ writable: !0,
195
+ value: debugStack
196
+ });
197
+ Object.defineProperty(type, "_debugTask", {
198
+ configurable: !1,
199
+ enumerable: !1,
200
+ writable: !0,
201
+ value: debugTask
202
+ });
203
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
204
+ return type;
205
+ }
206
+ function cloneAndReplaceKey(oldElement, newKey) {
207
+ newKey = ReactElement(oldElement.type, newKey, oldElement.props, oldElement._owner, oldElement._debugStack, oldElement._debugTask);
208
+ oldElement._store && (newKey._store.validated = oldElement._store.validated);
209
+ return newKey;
210
+ }
211
+ function validateChildKeys(node) {
212
+ isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
213
+ }
214
+ function isValidElement(object) {
215
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
216
+ }
217
+ function escape(key) {
218
+ var escaperLookup = {
219
+ "=": "=0",
220
+ ":": "=2"
221
+ };
222
+ return "$" + key.replace(/[=:]/g, function(match) {
223
+ return escaperLookup[match];
224
+ });
225
+ }
226
+ function getElementKey(element, index) {
227
+ return "object" === typeof element && null !== element && null != element.key ? (checkKeyStringCoercion(element.key), escape("" + element.key)) : index.toString(36);
228
+ }
229
+ function resolveThenable(thenable) {
230
+ switch (thenable.status) {
231
+ case "fulfilled": return thenable.value;
232
+ case "rejected": throw thenable.reason;
233
+ default: switch ("string" === typeof thenable.status ? thenable.then(noop, noop) : (thenable.status = "pending", thenable.then(function(fulfilledValue) {
234
+ "pending" === thenable.status && (thenable.status = "fulfilled", thenable.value = fulfilledValue);
235
+ }, function(error) {
236
+ "pending" === thenable.status && (thenable.status = "rejected", thenable.reason = error);
237
+ })), thenable.status) {
238
+ case "fulfilled": return thenable.value;
239
+ case "rejected": throw thenable.reason;
240
+ }
241
+ }
242
+ throw thenable;
243
+ }
244
+ function mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {
245
+ var type = typeof children;
246
+ if ("undefined" === type || "boolean" === type) children = null;
247
+ var invokeCallback = !1;
248
+ if (null === children) invokeCallback = !0;
249
+ else switch (type) {
250
+ case "bigint":
251
+ case "string":
252
+ case "number":
253
+ invokeCallback = !0;
254
+ break;
255
+ case "object": switch (children.$$typeof) {
256
+ case REACT_ELEMENT_TYPE:
257
+ case REACT_PORTAL_TYPE:
258
+ invokeCallback = !0;
259
+ break;
260
+ case REACT_LAZY_TYPE: return invokeCallback = children._init, mapIntoArray(invokeCallback(children._payload), array, escapedPrefix, nameSoFar, callback);
261
+ }
262
+ }
263
+ if (invokeCallback) {
264
+ invokeCallback = children;
265
+ callback = callback(invokeCallback);
266
+ var childKey = "" === nameSoFar ? "." + getElementKey(invokeCallback, 0) : nameSoFar;
267
+ isArrayImpl(callback) ? (escapedPrefix = "", null != childKey && (escapedPrefix = childKey.replace(userProvidedKeyEscapeRegex, "$&/") + "/"), mapIntoArray(callback, array, escapedPrefix, "", function(c) {
268
+ return c;
269
+ })) : null != callback && (isValidElement(callback) && (null != callback.key && (invokeCallback && invokeCallback.key === callback.key || checkKeyStringCoercion(callback.key)), escapedPrefix = cloneAndReplaceKey(callback, escapedPrefix + (null == callback.key || invokeCallback && invokeCallback.key === callback.key ? "" : ("" + callback.key).replace(userProvidedKeyEscapeRegex, "$&/") + "/") + childKey), "" !== nameSoFar && null != invokeCallback && isValidElement(invokeCallback) && null == invokeCallback.key && invokeCallback._store && !invokeCallback._store.validated && (escapedPrefix._store.validated = 2), callback = escapedPrefix), array.push(callback));
270
+ return 1;
271
+ }
272
+ invokeCallback = 0;
273
+ childKey = "" === nameSoFar ? "." : nameSoFar + ":";
274
+ if (isArrayImpl(children)) for (var i = 0; i < children.length; i++) nameSoFar = children[i], type = childKey + getElementKey(nameSoFar, i), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);
275
+ else if (i = getIteratorFn(children), "function" === typeof i) for (i === children.entries && (didWarnAboutMaps || console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), didWarnAboutMaps = !0), children = i.call(children), i = 0; !(nameSoFar = children.next()).done;) nameSoFar = nameSoFar.value, type = childKey + getElementKey(nameSoFar, i++), invokeCallback += mapIntoArray(nameSoFar, array, escapedPrefix, type, callback);
276
+ else if ("object" === type) {
277
+ if ("function" === typeof children.then) return mapIntoArray(resolveThenable(children), array, escapedPrefix, nameSoFar, callback);
278
+ array = String(children);
279
+ throw Error("Objects are not valid as a React child (found: " + ("[object Object]" === array ? "object with keys {" + Object.keys(children).join(", ") + "}" : array) + "). If you meant to render a collection of children, use an array instead.");
280
+ }
281
+ return invokeCallback;
282
+ }
283
+ function mapChildren(children, func, context) {
284
+ if (null == children) return children;
285
+ var result = [], count = 0;
286
+ mapIntoArray(children, result, "", "", function(child) {
287
+ return func.call(context, child, count++);
288
+ });
289
+ return result;
290
+ }
291
+ function lazyInitializer(payload) {
292
+ if (-1 === payload._status) {
293
+ var ioInfo = payload._ioInfo;
294
+ null != ioInfo && (ioInfo.start = ioInfo.end = performance.now());
295
+ ioInfo = payload._result;
296
+ var thenable = ioInfo();
297
+ thenable.then(function(moduleObject) {
298
+ if (0 === payload._status || -1 === payload._status) {
299
+ payload._status = 1;
300
+ payload._result = moduleObject;
301
+ var _ioInfo = payload._ioInfo;
302
+ null != _ioInfo && (_ioInfo.end = performance.now());
303
+ void 0 === thenable.status && (thenable.status = "fulfilled", thenable.value = moduleObject);
304
+ }
305
+ }, function(error) {
306
+ if (0 === payload._status || -1 === payload._status) {
307
+ payload._status = 2;
308
+ payload._result = error;
309
+ var _ioInfo2 = payload._ioInfo;
310
+ null != _ioInfo2 && (_ioInfo2.end = performance.now());
311
+ void 0 === thenable.status && (thenable.status = "rejected", thenable.reason = error);
312
+ }
313
+ });
314
+ ioInfo = payload._ioInfo;
315
+ if (null != ioInfo) {
316
+ ioInfo.value = thenable;
317
+ var displayName = thenable.displayName;
318
+ "string" === typeof displayName && (ioInfo.name = displayName);
319
+ }
320
+ -1 === payload._status && (payload._status = 0, payload._result = thenable);
321
+ }
322
+ if (1 === payload._status) return ioInfo = payload._result, void 0 === ioInfo && console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?", ioInfo), "default" in ioInfo || console.error("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))", ioInfo), ioInfo.default;
323
+ throw payload._result;
324
+ }
325
+ function resolveDispatcher() {
326
+ var dispatcher = ReactSharedInternals.H;
327
+ null === dispatcher && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.");
328
+ return dispatcher;
329
+ }
330
+ function releaseAsyncTransition() {
331
+ ReactSharedInternals.asyncTransitions--;
332
+ }
333
+ function enqueueTask(task) {
334
+ if (null === enqueueTaskImpl) try {
335
+ var requireString = ("require" + Math.random()).slice(0, 7);
336
+ enqueueTaskImpl = (module && module[requireString]).call(module, "timers").setImmediate;
337
+ } catch (_err) {
338
+ enqueueTaskImpl = function(callback) {
339
+ !1 === didWarnAboutMessageChannel && (didWarnAboutMessageChannel = !0, "undefined" === typeof MessageChannel && console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
340
+ var channel = new MessageChannel();
341
+ channel.port1.onmessage = callback;
342
+ channel.port2.postMessage(void 0);
343
+ };
344
+ }
345
+ return enqueueTaskImpl(task);
346
+ }
347
+ function aggregateErrors(errors) {
348
+ return 1 < errors.length && "function" === typeof AggregateError ? new AggregateError(errors) : errors[0];
349
+ }
350
+ function popActScope(prevActQueue, prevActScopeDepth) {
351
+ prevActScopeDepth !== actScopeDepth - 1 && console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. ");
352
+ actScopeDepth = prevActScopeDepth;
353
+ }
354
+ function recursivelyFlushAsyncActWork(returnValue, resolve, reject) {
355
+ var queue = ReactSharedInternals.actQueue;
356
+ if (null !== queue) if (0 !== queue.length) try {
357
+ flushActQueue(queue);
358
+ enqueueTask(function() {
359
+ return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
360
+ });
361
+ return;
362
+ } catch (error) {
363
+ ReactSharedInternals.thrownErrors.push(error);
364
+ }
365
+ else ReactSharedInternals.actQueue = null;
366
+ 0 < ReactSharedInternals.thrownErrors.length ? (queue = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(queue)) : resolve(returnValue);
367
+ }
368
+ function flushActQueue(queue) {
369
+ if (!isFlushing) {
370
+ isFlushing = !0;
371
+ var i = 0;
372
+ try {
373
+ for (; i < queue.length; i++) {
374
+ var callback = queue[i];
375
+ do {
376
+ ReactSharedInternals.didUsePromise = !1;
377
+ var continuation = callback(!1);
378
+ if (null !== continuation) {
379
+ if (ReactSharedInternals.didUsePromise) {
380
+ queue[i] = callback;
381
+ queue.splice(0, i);
382
+ return;
383
+ }
384
+ callback = continuation;
385
+ } else break;
386
+ } while (1);
387
+ }
388
+ queue.length = 0;
389
+ } catch (error) {
390
+ queue.splice(0, i + 1), ReactSharedInternals.thrownErrors.push(error);
391
+ } finally {
392
+ isFlushing = !1;
393
+ }
394
+ }
395
+ }
396
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
397
+ var REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), MAYBE_ITERATOR_SYMBOL = Symbol.iterator, didWarnStateUpdateForUnmountedComponent = {}, ReactNoopUpdateQueue = {
398
+ isMounted: function() {
399
+ return !1;
400
+ },
401
+ enqueueForceUpdate: function(publicInstance) {
402
+ warnNoop(publicInstance, "forceUpdate");
403
+ },
404
+ enqueueReplaceState: function(publicInstance) {
405
+ warnNoop(publicInstance, "replaceState");
406
+ },
407
+ enqueueSetState: function(publicInstance) {
408
+ warnNoop(publicInstance, "setState");
409
+ }
410
+ }, assign = Object.assign, emptyObject = {};
411
+ Object.freeze(emptyObject);
412
+ Component.prototype.isReactComponent = {};
413
+ Component.prototype.setState = function(partialState, callback) {
414
+ if ("object" !== typeof partialState && "function" !== typeof partialState && null != partialState) throw Error("takes an object of state variables to update or a function which returns an object of state variables.");
415
+ this.updater.enqueueSetState(this, partialState, callback, "setState");
416
+ };
417
+ Component.prototype.forceUpdate = function(callback) {
418
+ this.updater.enqueueForceUpdate(this, callback, "forceUpdate");
419
+ };
420
+ var deprecatedAPIs = {
421
+ isMounted: ["isMounted", "Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],
422
+ replaceState: ["replaceState", "Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]
423
+ };
424
+ for (fnName in deprecatedAPIs) deprecatedAPIs.hasOwnProperty(fnName) && defineDeprecationWarning(fnName, deprecatedAPIs[fnName]);
425
+ ComponentDummy.prototype = Component.prototype;
426
+ deprecatedAPIs = PureComponent.prototype = new ComponentDummy();
427
+ deprecatedAPIs.constructor = PureComponent;
428
+ assign(deprecatedAPIs, Component.prototype);
429
+ deprecatedAPIs.isPureReactComponent = !0;
430
+ var isArrayImpl = Array.isArray, REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = {
431
+ H: null,
432
+ A: null,
433
+ T: null,
434
+ S: null,
435
+ actQueue: null,
436
+ asyncTransitions: 0,
437
+ isBatchingLegacy: !1,
438
+ didScheduleLegacyUpdate: !1,
439
+ didUsePromise: !1,
440
+ thrownErrors: [],
441
+ getCurrentStack: null,
442
+ recentlyCreatedOwnerStacks: 0
443
+ }, hasOwnProperty = Object.prototype.hasOwnProperty, createTask = console.createTask ? console.createTask : function() {
444
+ return null;
445
+ };
446
+ deprecatedAPIs = { react_stack_bottom_frame: function(callStackForError) {
447
+ return callStackForError();
448
+ } };
449
+ var specialPropKeyWarningShown, didWarnAboutOldJSXRuntime;
450
+ var didWarnAboutElementRef = {};
451
+ var unknownOwnerDebugStack = deprecatedAPIs.react_stack_bottom_frame.bind(deprecatedAPIs, UnknownOwner)();
452
+ var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
453
+ var didWarnAboutMaps = !1, userProvidedKeyEscapeRegex = /\/+/g, reportGlobalError = "function" === typeof reportError ? reportError : function(error) {
454
+ if ("object" === typeof window && "function" === typeof window.ErrorEvent) {
455
+ var event = new window.ErrorEvent("error", {
456
+ bubbles: !0,
457
+ cancelable: !0,
458
+ message: "object" === typeof error && null !== error && "string" === typeof error.message ? String(error.message) : String(error),
459
+ error
460
+ });
461
+ if (!window.dispatchEvent(event)) return;
462
+ } else if ("object" === typeof process && "function" === typeof process.emit) {
463
+ process.emit("uncaughtException", error);
464
+ return;
465
+ }
466
+ console.error(error);
467
+ }, didWarnAboutMessageChannel = !1, enqueueTaskImpl = null, actScopeDepth = 0, didWarnNoAwaitAct = !1, isFlushing = !1, queueSeveralMicrotasks = "function" === typeof queueMicrotask ? function(callback) {
468
+ queueMicrotask(function() {
469
+ return queueMicrotask(callback);
470
+ });
471
+ } : enqueueTask;
472
+ deprecatedAPIs = Object.freeze({
473
+ __proto__: null,
474
+ c: function(size) {
475
+ return resolveDispatcher().useMemoCache(size);
476
+ }
477
+ });
478
+ var fnName = {
479
+ map: mapChildren,
480
+ forEach: function(children, forEachFunc, forEachContext) {
481
+ mapChildren(children, function() {
482
+ forEachFunc.apply(this, arguments);
483
+ }, forEachContext);
484
+ },
485
+ count: function(children) {
486
+ var n = 0;
487
+ mapChildren(children, function() {
488
+ n++;
489
+ });
490
+ return n;
491
+ },
492
+ toArray: function(children) {
493
+ return mapChildren(children, function(child) {
494
+ return child;
495
+ }) || [];
496
+ },
497
+ only: function(children) {
498
+ if (!isValidElement(children)) throw Error("React.Children.only expected to receive a single React element child.");
499
+ return children;
500
+ }
501
+ };
502
+ exports.Activity = REACT_ACTIVITY_TYPE;
503
+ exports.Children = fnName;
504
+ exports.Component = Component;
505
+ exports.Fragment = REACT_FRAGMENT_TYPE;
506
+ exports.Profiler = REACT_PROFILER_TYPE;
507
+ exports.PureComponent = PureComponent;
508
+ exports.StrictMode = REACT_STRICT_MODE_TYPE;
509
+ exports.Suspense = REACT_SUSPENSE_TYPE;
510
+ exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = ReactSharedInternals;
511
+ exports.__COMPILER_RUNTIME = deprecatedAPIs;
512
+ exports.act = function(callback) {
513
+ var prevActQueue = ReactSharedInternals.actQueue, prevActScopeDepth = actScopeDepth;
514
+ actScopeDepth++;
515
+ var queue = ReactSharedInternals.actQueue = null !== prevActQueue ? prevActQueue : [], didAwaitActCall = !1;
516
+ try {
517
+ var result = callback();
518
+ } catch (error) {
519
+ ReactSharedInternals.thrownErrors.push(error);
520
+ }
521
+ if (0 < ReactSharedInternals.thrownErrors.length) throw popActScope(prevActQueue, prevActScopeDepth), callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
522
+ if (null !== result && "object" === typeof result && "function" === typeof result.then) {
523
+ var thenable = result;
524
+ queueSeveralMicrotasks(function() {
525
+ didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = !0, console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"));
526
+ });
527
+ return { then: function(resolve, reject) {
528
+ didAwaitActCall = !0;
529
+ thenable.then(function(returnValue) {
530
+ popActScope(prevActQueue, prevActScopeDepth);
531
+ if (0 === prevActScopeDepth) {
532
+ try {
533
+ flushActQueue(queue), enqueueTask(function() {
534
+ return recursivelyFlushAsyncActWork(returnValue, resolve, reject);
535
+ });
536
+ } catch (error$0) {
537
+ ReactSharedInternals.thrownErrors.push(error$0);
538
+ }
539
+ if (0 < ReactSharedInternals.thrownErrors.length) {
540
+ var _thrownError = aggregateErrors(ReactSharedInternals.thrownErrors);
541
+ ReactSharedInternals.thrownErrors.length = 0;
542
+ reject(_thrownError);
543
+ }
544
+ } else resolve(returnValue);
545
+ }, function(error) {
546
+ popActScope(prevActQueue, prevActScopeDepth);
547
+ 0 < ReactSharedInternals.thrownErrors.length ? (error = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, reject(error)) : reject(error);
548
+ });
549
+ } };
550
+ }
551
+ var returnValue$jscomp$0 = result;
552
+ popActScope(prevActQueue, prevActScopeDepth);
553
+ 0 === prevActScopeDepth && (flushActQueue(queue), 0 !== queue.length && queueSeveralMicrotasks(function() {
554
+ didAwaitActCall || didWarnNoAwaitAct || (didWarnNoAwaitAct = !0, console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"));
555
+ }), ReactSharedInternals.actQueue = null);
556
+ if (0 < ReactSharedInternals.thrownErrors.length) throw callback = aggregateErrors(ReactSharedInternals.thrownErrors), ReactSharedInternals.thrownErrors.length = 0, callback;
557
+ return { then: function(resolve, reject) {
558
+ didAwaitActCall = !0;
559
+ 0 === prevActScopeDepth ? (ReactSharedInternals.actQueue = queue, enqueueTask(function() {
560
+ return recursivelyFlushAsyncActWork(returnValue$jscomp$0, resolve, reject);
561
+ })) : resolve(returnValue$jscomp$0);
562
+ } };
563
+ };
564
+ exports.cache = function(fn) {
565
+ return function() {
566
+ return fn.apply(null, arguments);
567
+ };
568
+ };
569
+ exports.cacheSignal = function() {
570
+ return null;
571
+ };
572
+ exports.captureOwnerStack = function() {
573
+ var getCurrentStack = ReactSharedInternals.getCurrentStack;
574
+ return null === getCurrentStack ? null : getCurrentStack();
575
+ };
576
+ exports.cloneElement = function(element, config, children) {
577
+ if (null === element || void 0 === element) throw Error("The argument must be a React element, but you passed " + element + ".");
578
+ var props = assign({}, element.props), key = element.key, owner = element._owner;
579
+ if (null != config) {
580
+ var JSCompiler_inline_result;
581
+ a: {
582
+ if (hasOwnProperty.call(config, "ref") && (JSCompiler_inline_result = Object.getOwnPropertyDescriptor(config, "ref").get) && JSCompiler_inline_result.isReactWarning) {
583
+ JSCompiler_inline_result = !1;
584
+ break a;
585
+ }
586
+ JSCompiler_inline_result = void 0 !== config.ref;
587
+ }
588
+ JSCompiler_inline_result && (owner = getOwner());
589
+ hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key);
590
+ for (propName in config) !hasOwnProperty.call(config, propName) || "key" === propName || "__self" === propName || "__source" === propName || "ref" === propName && void 0 === config.ref || (props[propName] = config[propName]);
591
+ }
592
+ var propName = arguments.length - 2;
593
+ if (1 === propName) props.children = children;
594
+ else if (1 < propName) {
595
+ JSCompiler_inline_result = Array(propName);
596
+ for (var i = 0; i < propName; i++) JSCompiler_inline_result[i] = arguments[i + 2];
597
+ props.children = JSCompiler_inline_result;
598
+ }
599
+ props = ReactElement(element.type, key, props, owner, element._debugStack, element._debugTask);
600
+ for (key = 2; key < arguments.length; key++) validateChildKeys(arguments[key]);
601
+ return props;
602
+ };
603
+ exports.createContext = function(defaultValue) {
604
+ defaultValue = {
605
+ $$typeof: REACT_CONTEXT_TYPE,
606
+ _currentValue: defaultValue,
607
+ _currentValue2: defaultValue,
608
+ _threadCount: 0,
609
+ Provider: null,
610
+ Consumer: null
611
+ };
612
+ defaultValue.Provider = defaultValue;
613
+ defaultValue.Consumer = {
614
+ $$typeof: REACT_CONSUMER_TYPE,
615
+ _context: defaultValue
616
+ };
617
+ defaultValue._currentRenderer = null;
618
+ defaultValue._currentRenderer2 = null;
619
+ return defaultValue;
620
+ };
621
+ exports.createElement = function(type, config, children) {
622
+ for (var i = 2; i < arguments.length; i++) validateChildKeys(arguments[i]);
623
+ i = {};
624
+ var key = null;
625
+ if (null != config) for (propName in didWarnAboutOldJSXRuntime || !("__self" in config) || "key" in config || (didWarnAboutOldJSXRuntime = !0, console.warn("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")), hasValidKey(config) && (checkKeyStringCoercion(config.key), key = "" + config.key), config) hasOwnProperty.call(config, propName) && "key" !== propName && "__self" !== propName && "__source" !== propName && (i[propName] = config[propName]);
626
+ var childrenLength = arguments.length - 2;
627
+ if (1 === childrenLength) i.children = children;
628
+ else if (1 < childrenLength) {
629
+ for (var childArray = Array(childrenLength), _i = 0; _i < childrenLength; _i++) childArray[_i] = arguments[_i + 2];
630
+ Object.freeze && Object.freeze(childArray);
631
+ i.children = childArray;
632
+ }
633
+ if (type && type.defaultProps) for (propName in childrenLength = type.defaultProps, childrenLength) void 0 === i[propName] && (i[propName] = childrenLength[propName]);
634
+ key && defineKeyPropWarningGetter(i, "function" === typeof type ? type.displayName || type.name || "Unknown" : type);
635
+ var propName = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
636
+ return ReactElement(type, key, i, getOwner(), propName ? Error("react-stack-top-frame") : unknownOwnerDebugStack, propName ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
637
+ };
638
+ exports.createRef = function() {
639
+ var refObject = { current: null };
640
+ Object.seal(refObject);
641
+ return refObject;
642
+ };
643
+ exports.forwardRef = function(render$1) {
644
+ null != render$1 && render$1.$$typeof === REACT_MEMO_TYPE ? console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...)).") : "function" !== typeof render$1 ? console.error("forwardRef requires a render function but was given %s.", null === render$1 ? "null" : typeof render$1) : 0 !== render$1.length && 2 !== render$1.length && console.error("forwardRef render functions accept exactly two parameters: props and ref. %s", 1 === render$1.length ? "Did you forget to use the ref parameter?" : "Any additional parameter will be undefined.");
645
+ null != render$1 && null != render$1.defaultProps && console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");
646
+ var elementType = {
647
+ $$typeof: REACT_FORWARD_REF_TYPE,
648
+ render: render$1
649
+ }, ownName;
650
+ Object.defineProperty(elementType, "displayName", {
651
+ enumerable: !1,
652
+ configurable: !0,
653
+ get: function() {
654
+ return ownName;
655
+ },
656
+ set: function(name) {
657
+ ownName = name;
658
+ render$1.name || render$1.displayName || (Object.defineProperty(render$1, "name", { value: name }), render$1.displayName = name);
659
+ }
660
+ });
661
+ return elementType;
662
+ };
663
+ exports.isValidElement = isValidElement;
664
+ exports.lazy = function(ctor) {
665
+ ctor = {
666
+ _status: -1,
667
+ _result: ctor
668
+ };
669
+ var lazyType = {
670
+ $$typeof: REACT_LAZY_TYPE,
671
+ _payload: ctor,
672
+ _init: lazyInitializer
673
+ }, ioInfo = {
674
+ name: "lazy",
675
+ start: -1,
676
+ end: -1,
677
+ value: null,
678
+ owner: null,
679
+ debugStack: Error("react-stack-top-frame"),
680
+ debugTask: console.createTask ? console.createTask("lazy()") : null
681
+ };
682
+ ctor._ioInfo = ioInfo;
683
+ lazyType._debugInfo = [{ awaited: ioInfo }];
684
+ return lazyType;
685
+ };
686
+ exports.memo = function(type, compare) {
687
+ type ?? console.error("memo: The first argument must be a component. Instead received: %s", null === type ? "null" : typeof type);
688
+ compare = {
689
+ $$typeof: REACT_MEMO_TYPE,
690
+ type,
691
+ compare: void 0 === compare ? null : compare
692
+ };
693
+ var ownName;
694
+ Object.defineProperty(compare, "displayName", {
695
+ enumerable: !1,
696
+ configurable: !0,
697
+ get: function() {
698
+ return ownName;
699
+ },
700
+ set: function(name) {
701
+ ownName = name;
702
+ type.name || type.displayName || (Object.defineProperty(type, "name", { value: name }), type.displayName = name);
703
+ }
704
+ });
705
+ return compare;
706
+ };
707
+ exports.startTransition = function(scope) {
708
+ var prevTransition = ReactSharedInternals.T, currentTransition = {};
709
+ currentTransition._updatedFibers = /* @__PURE__ */ new Set();
710
+ ReactSharedInternals.T = currentTransition;
711
+ try {
712
+ var returnValue = scope(), onStartTransitionFinish = ReactSharedInternals.S;
713
+ null !== onStartTransitionFinish && onStartTransitionFinish(currentTransition, returnValue);
714
+ "object" === typeof returnValue && null !== returnValue && "function" === typeof returnValue.then && (ReactSharedInternals.asyncTransitions++, returnValue.then(releaseAsyncTransition, releaseAsyncTransition), returnValue.then(noop, reportGlobalError));
715
+ } catch (error) {
716
+ reportGlobalError(error);
717
+ } finally {
718
+ null === prevTransition && currentTransition._updatedFibers && (scope = currentTransition._updatedFibers.size, currentTransition._updatedFibers.clear(), 10 < scope && console.warn("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.")), null !== prevTransition && null !== currentTransition.types && (null !== prevTransition.types && prevTransition.types !== currentTransition.types && console.error("We expected inner Transitions to have transferred the outer types set and that you cannot add to the outer Transition while inside the inner.This is a bug in React."), prevTransition.types = currentTransition.types), ReactSharedInternals.T = prevTransition;
719
+ }
720
+ };
721
+ exports.unstable_useCacheRefresh = function() {
722
+ return resolveDispatcher().useCacheRefresh();
723
+ };
724
+ exports.use = function(usable) {
725
+ return resolveDispatcher().use(usable);
726
+ };
727
+ exports.useActionState = function(action, initialState, permalink) {
728
+ return resolveDispatcher().useActionState(action, initialState, permalink);
729
+ };
730
+ exports.useCallback = function(callback, deps) {
731
+ return resolveDispatcher().useCallback(callback, deps);
732
+ };
733
+ exports.useContext = function(Context) {
734
+ var dispatcher = resolveDispatcher();
735
+ Context.$$typeof === REACT_CONSUMER_TYPE && console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?");
736
+ return dispatcher.useContext(Context);
737
+ };
738
+ exports.useDebugValue = function(value, formatterFn) {
739
+ return resolveDispatcher().useDebugValue(value, formatterFn);
740
+ };
741
+ exports.useDeferredValue = function(value, initialValue) {
742
+ return resolveDispatcher().useDeferredValue(value, initialValue);
743
+ };
744
+ exports.useEffect = function(create, deps) {
745
+ create ?? console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");
746
+ return resolveDispatcher().useEffect(create, deps);
747
+ };
748
+ exports.useEffectEvent = function(callback) {
749
+ return resolveDispatcher().useEffectEvent(callback);
750
+ };
751
+ exports.useId = function() {
752
+ return resolveDispatcher().useId();
753
+ };
754
+ exports.useImperativeHandle = function(ref, create, deps) {
755
+ return resolveDispatcher().useImperativeHandle(ref, create, deps);
756
+ };
757
+ exports.useInsertionEffect = function(create, deps) {
758
+ create ?? console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?");
759
+ return resolveDispatcher().useInsertionEffect(create, deps);
760
+ };
761
+ exports.useLayoutEffect = function(create, deps) {
762
+ create ?? console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?");
763
+ return resolveDispatcher().useLayoutEffect(create, deps);
764
+ };
765
+ exports.useMemo = function(create, deps) {
766
+ return resolveDispatcher().useMemo(create, deps);
767
+ };
768
+ exports.useOptimistic = function(passthrough, reducer) {
769
+ return resolveDispatcher().useOptimistic(passthrough, reducer);
770
+ };
771
+ exports.useReducer = function(reducer, initialArg, init) {
772
+ return resolveDispatcher().useReducer(reducer, initialArg, init);
773
+ };
774
+ exports.useRef = function(initialValue) {
775
+ return resolveDispatcher().useRef(initialValue);
776
+ };
777
+ exports.useState = function(initialState) {
778
+ return resolveDispatcher().useState(initialState);
779
+ };
780
+ exports.useSyncExternalStore = function(subscribe, getSnapshot, getServerSnapshot) {
781
+ return resolveDispatcher().useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot);
782
+ };
783
+ exports.useTransition = function() {
784
+ return resolveDispatcher().useTransition();
785
+ };
786
+ exports.version = "19.2.3";
787
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
788
+ })();
789
+ }));
790
+
791
+ //#endregion
792
+ //#region ../../node_modules/.bun/react@19.2.3/node_modules/react/index.js
793
+ var require_react = /* @__PURE__ */ __commonJSMin(((exports, module) => {
794
+ module.exports = require_react_development();
795
+ }));
796
+
797
+ //#endregion
798
+ //#region ../../node_modules/.bun/@tanstack+query-core@5.90.12/node_modules/@tanstack/query-core/build/modern/subscribable.js
799
+ var Subscribable = class {
800
+ constructor() {
801
+ this.listeners = /* @__PURE__ */ new Set();
802
+ this.subscribe = this.subscribe.bind(this);
803
+ }
804
+ subscribe(listener) {
805
+ this.listeners.add(listener);
806
+ this.onSubscribe();
807
+ return () => {
808
+ this.listeners.delete(listener);
809
+ this.onUnsubscribe();
810
+ };
811
+ }
812
+ hasListeners() {
813
+ return this.listeners.size > 0;
814
+ }
815
+ onSubscribe() {}
816
+ onUnsubscribe() {}
817
+ };
818
+
819
+ //#endregion
820
+ //#region ../../node_modules/.bun/@tanstack+query-core@5.90.12/node_modules/@tanstack/query-core/build/modern/utils.js
821
+ var isServer = typeof window === "undefined" || "Deno" in globalThis;
822
+
823
+ //#endregion
824
+ //#region ../../node_modules/.bun/@tanstack+query-core@5.90.12/node_modules/@tanstack/query-core/build/modern/onlineManager.js
825
+ var OnlineManager = class extends Subscribable {
826
+ #online = true;
827
+ #cleanup;
828
+ #setup;
829
+ constructor() {
830
+ super();
831
+ this.#setup = (onOnline) => {
832
+ if (!isServer && window.addEventListener) {
833
+ const onlineListener = () => onOnline(true);
834
+ const offlineListener = () => onOnline(false);
835
+ window.addEventListener("online", onlineListener, false);
836
+ window.addEventListener("offline", offlineListener, false);
837
+ return () => {
838
+ window.removeEventListener("online", onlineListener);
839
+ window.removeEventListener("offline", offlineListener);
840
+ };
841
+ }
842
+ };
843
+ }
844
+ onSubscribe() {
845
+ if (!this.#cleanup) this.setEventListener(this.#setup);
846
+ }
847
+ onUnsubscribe() {
848
+ if (!this.hasListeners()) {
849
+ this.#cleanup?.();
850
+ this.#cleanup = void 0;
851
+ }
852
+ }
853
+ setEventListener(setup) {
854
+ this.#setup = setup;
855
+ this.#cleanup?.();
856
+ this.#cleanup = setup(this.setOnline.bind(this));
857
+ }
858
+ setOnline(online) {
859
+ if (this.#online !== online) {
860
+ this.#online = online;
861
+ this.listeners.forEach((listener) => {
862
+ listener(online);
863
+ });
864
+ }
865
+ }
866
+ isOnline() {
867
+ return this.#online;
868
+ }
869
+ };
870
+ var onlineManager = new OnlineManager();
871
+
872
+ //#endregion
873
+ //#region ../../node_modules/.bun/react@19.2.3/node_modules/react/cjs/react-jsx-runtime.development.js
874
+ /**
875
+ * @license React
876
+ * react-jsx-runtime.development.js
877
+ *
878
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
879
+ *
880
+ * This source code is licensed under the MIT license found in the
881
+ * LICENSE file in the root directory of this source tree.
882
+ */
883
+ var require_react_jsx_runtime_development = /* @__PURE__ */ __commonJSMin(((exports) => {
884
+ (function() {
885
+ function getComponentNameFromType(type) {
886
+ if (null == type) return null;
887
+ if ("function" === typeof type) return type.$$typeof === REACT_CLIENT_REFERENCE ? null : type.displayName || type.name || null;
888
+ if ("string" === typeof type) return type;
889
+ switch (type) {
890
+ case REACT_FRAGMENT_TYPE: return "Fragment";
891
+ case REACT_PROFILER_TYPE: return "Profiler";
892
+ case REACT_STRICT_MODE_TYPE: return "StrictMode";
893
+ case REACT_SUSPENSE_TYPE: return "Suspense";
894
+ case REACT_SUSPENSE_LIST_TYPE: return "SuspenseList";
895
+ case REACT_ACTIVITY_TYPE: return "Activity";
896
+ }
897
+ if ("object" === typeof type) switch ("number" === typeof type.tag && console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), type.$$typeof) {
898
+ case REACT_PORTAL_TYPE: return "Portal";
899
+ case REACT_CONTEXT_TYPE: return type.displayName || "Context";
900
+ case REACT_CONSUMER_TYPE: return (type._context.displayName || "Context") + ".Consumer";
901
+ case REACT_FORWARD_REF_TYPE:
902
+ var innerType = type.render;
903
+ type = type.displayName;
904
+ type || (type = innerType.displayName || innerType.name || "", type = "" !== type ? "ForwardRef(" + type + ")" : "ForwardRef");
905
+ return type;
906
+ case REACT_MEMO_TYPE: return innerType = type.displayName || null, null !== innerType ? innerType : getComponentNameFromType(type.type) || "Memo";
907
+ case REACT_LAZY_TYPE:
908
+ innerType = type._payload;
909
+ type = type._init;
910
+ try {
911
+ return getComponentNameFromType(type(innerType));
912
+ } catch (x) {}
913
+ }
914
+ return null;
915
+ }
916
+ function testStringCoercion(value) {
917
+ return "" + value;
918
+ }
919
+ function checkKeyStringCoercion(value) {
920
+ try {
921
+ testStringCoercion(value);
922
+ var JSCompiler_inline_result = !1;
923
+ } catch (e) {
924
+ JSCompiler_inline_result = !0;
925
+ }
926
+ if (JSCompiler_inline_result) {
927
+ JSCompiler_inline_result = console;
928
+ var JSCompiler_temp_const = JSCompiler_inline_result.error;
929
+ var JSCompiler_inline_result$jscomp$0 = "function" === typeof Symbol && Symbol.toStringTag && value[Symbol.toStringTag] || value.constructor.name || "Object";
930
+ JSCompiler_temp_const.call(JSCompiler_inline_result, "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.", JSCompiler_inline_result$jscomp$0);
931
+ return testStringCoercion(value);
932
+ }
933
+ }
934
+ function getTaskName(type) {
935
+ if (type === REACT_FRAGMENT_TYPE) return "<>";
936
+ if ("object" === typeof type && null !== type && type.$$typeof === REACT_LAZY_TYPE) return "<...>";
937
+ try {
938
+ var name = getComponentNameFromType(type);
939
+ return name ? "<" + name + ">" : "<...>";
940
+ } catch (x) {
941
+ return "<...>";
942
+ }
943
+ }
944
+ function getOwner() {
945
+ var dispatcher = ReactSharedInternals.A;
946
+ return null === dispatcher ? null : dispatcher.getOwner();
947
+ }
948
+ function UnknownOwner() {
949
+ return Error("react-stack-top-frame");
950
+ }
951
+ function hasValidKey(config) {
952
+ if (hasOwnProperty.call(config, "key")) {
953
+ var getter = Object.getOwnPropertyDescriptor(config, "key").get;
954
+ if (getter && getter.isReactWarning) return !1;
955
+ }
956
+ return void 0 !== config.key;
957
+ }
958
+ function defineKeyPropWarningGetter(props, displayName) {
959
+ function warnAboutAccessingKey() {
960
+ specialPropKeyWarningShown || (specialPropKeyWarningShown = !0, console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)", displayName));
961
+ }
962
+ warnAboutAccessingKey.isReactWarning = !0;
963
+ Object.defineProperty(props, "key", {
964
+ get: warnAboutAccessingKey,
965
+ configurable: !0
966
+ });
967
+ }
968
+ function elementRefGetterWithDeprecationWarning() {
969
+ var componentName = getComponentNameFromType(this.type);
970
+ didWarnAboutElementRef[componentName] || (didWarnAboutElementRef[componentName] = !0, console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."));
971
+ componentName = this.props.ref;
972
+ return void 0 !== componentName ? componentName : null;
973
+ }
974
+ function ReactElement(type, key, props, owner, debugStack, debugTask) {
975
+ var refProp = props.ref;
976
+ type = {
977
+ $$typeof: REACT_ELEMENT_TYPE,
978
+ type,
979
+ key,
980
+ props,
981
+ _owner: owner
982
+ };
983
+ null !== (void 0 !== refProp ? refProp : null) ? Object.defineProperty(type, "ref", {
984
+ enumerable: !1,
985
+ get: elementRefGetterWithDeprecationWarning
986
+ }) : Object.defineProperty(type, "ref", {
987
+ enumerable: !1,
988
+ value: null
989
+ });
990
+ type._store = {};
991
+ Object.defineProperty(type._store, "validated", {
992
+ configurable: !1,
993
+ enumerable: !1,
994
+ writable: !0,
995
+ value: 0
996
+ });
997
+ Object.defineProperty(type, "_debugInfo", {
998
+ configurable: !1,
999
+ enumerable: !1,
1000
+ writable: !0,
1001
+ value: null
1002
+ });
1003
+ Object.defineProperty(type, "_debugStack", {
1004
+ configurable: !1,
1005
+ enumerable: !1,
1006
+ writable: !0,
1007
+ value: debugStack
1008
+ });
1009
+ Object.defineProperty(type, "_debugTask", {
1010
+ configurable: !1,
1011
+ enumerable: !1,
1012
+ writable: !0,
1013
+ value: debugTask
1014
+ });
1015
+ Object.freeze && (Object.freeze(type.props), Object.freeze(type));
1016
+ return type;
1017
+ }
1018
+ function jsxDEVImpl(type, config, maybeKey, isStaticChildren, debugStack, debugTask) {
1019
+ var children = config.children;
1020
+ if (void 0 !== children) if (isStaticChildren) if (isArrayImpl(children)) {
1021
+ for (isStaticChildren = 0; isStaticChildren < children.length; isStaticChildren++) validateChildKeys(children[isStaticChildren]);
1022
+ Object.freeze && Object.freeze(children);
1023
+ } else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
1024
+ else validateChildKeys(children);
1025
+ if (hasOwnProperty.call(config, "key")) {
1026
+ children = getComponentNameFromType(type);
1027
+ var keys = Object.keys(config).filter(function(k) {
1028
+ return "key" !== k;
1029
+ });
1030
+ isStaticChildren = 0 < keys.length ? "{key: someKey, " + keys.join(": ..., ") + ": ...}" : "{key: someKey}";
1031
+ didWarnAboutKeySpread[children + isStaticChildren] || (keys = 0 < keys.length ? "{" + keys.join(": ..., ") + ": ...}" : "{}", console.error("A props object containing a \"key\" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />", isStaticChildren, children, keys, children), didWarnAboutKeySpread[children + isStaticChildren] = !0);
1032
+ }
1033
+ children = null;
1034
+ void 0 !== maybeKey && (checkKeyStringCoercion(maybeKey), children = "" + maybeKey);
1035
+ hasValidKey(config) && (checkKeyStringCoercion(config.key), children = "" + config.key);
1036
+ if ("key" in config) {
1037
+ maybeKey = {};
1038
+ for (var propName in config) "key" !== propName && (maybeKey[propName] = config[propName]);
1039
+ } else maybeKey = config;
1040
+ children && defineKeyPropWarningGetter(maybeKey, "function" === typeof type ? type.displayName || type.name || "Unknown" : type);
1041
+ return ReactElement(type, children, maybeKey, getOwner(), debugStack, debugTask);
1042
+ }
1043
+ function validateChildKeys(node) {
1044
+ isValidElement(node) ? node._store && (node._store.validated = 1) : "object" === typeof node && null !== node && node.$$typeof === REACT_LAZY_TYPE && ("fulfilled" === node._payload.status ? isValidElement(node._payload.value) && node._payload.value._store && (node._payload.value._store.validated = 1) : node._store && (node._store.validated = 1));
1045
+ }
1046
+ function isValidElement(object) {
1047
+ return "object" === typeof object && null !== object && object.$$typeof === REACT_ELEMENT_TYPE;
1048
+ }
1049
+ var React = require_react(), REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"), REACT_PORTAL_TYPE = Symbol.for("react.portal"), REACT_FRAGMENT_TYPE = Symbol.for("react.fragment"), REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode"), REACT_PROFILER_TYPE = Symbol.for("react.profiler"), REACT_CONSUMER_TYPE = Symbol.for("react.consumer"), REACT_CONTEXT_TYPE = Symbol.for("react.context"), REACT_FORWARD_REF_TYPE = Symbol.for("react.forward_ref"), REACT_SUSPENSE_TYPE = Symbol.for("react.suspense"), REACT_SUSPENSE_LIST_TYPE = Symbol.for("react.suspense_list"), REACT_MEMO_TYPE = Symbol.for("react.memo"), REACT_LAZY_TYPE = Symbol.for("react.lazy"), REACT_ACTIVITY_TYPE = Symbol.for("react.activity"), REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"), ReactSharedInternals = React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, hasOwnProperty = Object.prototype.hasOwnProperty, isArrayImpl = Array.isArray, createTask = console.createTask ? console.createTask : function() {
1050
+ return null;
1051
+ };
1052
+ React = { react_stack_bottom_frame: function(callStackForError) {
1053
+ return callStackForError();
1054
+ } };
1055
+ var specialPropKeyWarningShown;
1056
+ var didWarnAboutElementRef = {};
1057
+ var unknownOwnerDebugStack = React.react_stack_bottom_frame.bind(React, UnknownOwner)();
1058
+ var unknownOwnerDebugTask = createTask(getTaskName(UnknownOwner));
1059
+ var didWarnAboutKeySpread = {};
1060
+ exports.Fragment = REACT_FRAGMENT_TYPE;
1061
+ exports.jsx = function(type, config, maybeKey) {
1062
+ var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1063
+ return jsxDEVImpl(type, config, maybeKey, !1, trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
1064
+ };
1065
+ exports.jsxs = function(type, config, maybeKey) {
1066
+ var trackActualOwner = 1e4 > ReactSharedInternals.recentlyCreatedOwnerStacks++;
1067
+ return jsxDEVImpl(type, config, maybeKey, !0, trackActualOwner ? Error("react-stack-top-frame") : unknownOwnerDebugStack, trackActualOwner ? createTask(getTaskName(type)) : unknownOwnerDebugTask);
1068
+ };
1069
+ })();
1070
+ }));
1071
+
1072
+ //#endregion
1073
+ //#region ../../node_modules/.bun/react@19.2.3/node_modules/react/jsx-runtime.js
1074
+ var require_jsx_runtime = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1075
+ module.exports = require_react_jsx_runtime_development();
1076
+ }));
1077
+
1078
+ //#endregion
1079
+ //#region ../../node_modules/.bun/@tanstack+react-query@5.90.12+83d5fd7b249dbeef/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
1080
+ var import_react = /* @__PURE__ */ __toESM(require_react(), 1);
1081
+ var import_jsx_runtime = require_jsx_runtime();
1082
+ var QueryClientContext = import_react.createContext(void 0);
1083
+ var useQueryClient = (queryClient) => {
1084
+ const client = import_react.useContext(QueryClientContext);
1085
+ if (queryClient) return queryClient;
1086
+ if (!client) throw new Error("No QueryClient set, use QueryClientProvider to set one");
1087
+ return client;
1088
+ };
1089
+
1090
+ //#endregion
1091
+ //#region ../../node_modules/.bun/@tanstack+query-devtools@5.91.1/node_modules/@tanstack/query-devtools/build/index.js
1092
+ var TanstackQueryDevtools = class {
1093
+ #client;
1094
+ #onlineManager;
1095
+ #queryFlavor;
1096
+ #version;
1097
+ #isMounted = false;
1098
+ #styleNonce;
1099
+ #shadowDOMTarget;
1100
+ #buttonPosition;
1101
+ #position;
1102
+ #initialIsOpen;
1103
+ #errorTypes;
1104
+ #hideDisabledQueries;
1105
+ #Component;
1106
+ #theme;
1107
+ #dispose;
1108
+ constructor(config) {
1109
+ const { client, queryFlavor, version, onlineManager: onlineManager$1, buttonPosition, position, initialIsOpen, errorTypes, styleNonce, shadowDOMTarget, hideDisabledQueries, theme } = config;
1110
+ this.#client = createSignal(client);
1111
+ this.#queryFlavor = queryFlavor;
1112
+ this.#version = version;
1113
+ this.#onlineManager = onlineManager$1;
1114
+ this.#styleNonce = styleNonce;
1115
+ this.#shadowDOMTarget = shadowDOMTarget;
1116
+ this.#buttonPosition = createSignal(buttonPosition);
1117
+ this.#position = createSignal(position);
1118
+ this.#initialIsOpen = createSignal(initialIsOpen);
1119
+ this.#errorTypes = createSignal(errorTypes);
1120
+ this.#hideDisabledQueries = createSignal(hideDisabledQueries);
1121
+ this.#theme = createSignal(theme);
1122
+ }
1123
+ setButtonPosition(position) {
1124
+ this.#buttonPosition[1](position);
1125
+ }
1126
+ setPosition(position) {
1127
+ this.#position[1](position);
1128
+ }
1129
+ setInitialIsOpen(isOpen) {
1130
+ this.#initialIsOpen[1](isOpen);
1131
+ }
1132
+ setErrorTypes(errorTypes) {
1133
+ this.#errorTypes[1](errorTypes);
1134
+ }
1135
+ setClient(client) {
1136
+ this.#client[1](client);
1137
+ }
1138
+ setTheme(theme) {
1139
+ this.#theme[1](theme);
1140
+ }
1141
+ mount(el) {
1142
+ if (this.#isMounted) throw new Error("Devtools is already mounted");
1143
+ const dispose = render(() => {
1144
+ const _self$ = this;
1145
+ const [btnPosition] = this.#buttonPosition;
1146
+ const [pos] = this.#position;
1147
+ const [isOpen] = this.#initialIsOpen;
1148
+ const [errors] = this.#errorTypes;
1149
+ const [hideDisabledQueries] = this.#hideDisabledQueries;
1150
+ const [queryClient] = this.#client;
1151
+ const [theme] = this.#theme;
1152
+ let Devtools;
1153
+ if (this.#Component) Devtools = this.#Component;
1154
+ else {
1155
+ Devtools = lazy(() => import("./Q7LWSL4U-BoEO3rNq.js"));
1156
+ this.#Component = Devtools;
1157
+ }
1158
+ setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
1159
+ return createComponent(Devtools, mergeProps({
1160
+ get queryFlavor() {
1161
+ return _self$.#queryFlavor;
1162
+ },
1163
+ get version() {
1164
+ return _self$.#version;
1165
+ },
1166
+ get onlineManager() {
1167
+ return _self$.#onlineManager;
1168
+ },
1169
+ get shadowDOMTarget() {
1170
+ return _self$.#shadowDOMTarget;
1171
+ }
1172
+ }, {
1173
+ get client() {
1174
+ return queryClient();
1175
+ },
1176
+ get buttonPosition() {
1177
+ return btnPosition();
1178
+ },
1179
+ get position() {
1180
+ return pos();
1181
+ },
1182
+ get initialIsOpen() {
1183
+ return isOpen();
1184
+ },
1185
+ get errorTypes() {
1186
+ return errors();
1187
+ },
1188
+ get hideDisabledQueries() {
1189
+ return hideDisabledQueries();
1190
+ },
1191
+ get theme() {
1192
+ return theme();
1193
+ }
1194
+ }));
1195
+ }, el);
1196
+ this.#isMounted = true;
1197
+ this.#dispose = dispose;
1198
+ }
1199
+ unmount() {
1200
+ if (!this.#isMounted) throw new Error("Devtools is not mounted");
1201
+ this.#dispose?.();
1202
+ this.#isMounted = false;
1203
+ }
1204
+ };
1205
+ var TanstackQueryDevtoolsPanel = class {
1206
+ #client;
1207
+ #onlineManager;
1208
+ #queryFlavor;
1209
+ #version;
1210
+ #isMounted = false;
1211
+ #styleNonce;
1212
+ #shadowDOMTarget;
1213
+ #buttonPosition;
1214
+ #position;
1215
+ #initialIsOpen;
1216
+ #errorTypes;
1217
+ #hideDisabledQueries;
1218
+ #onClose;
1219
+ #Component;
1220
+ #theme;
1221
+ #dispose;
1222
+ constructor(config) {
1223
+ const { client, queryFlavor, version, onlineManager: onlineManager$1, buttonPosition, position, initialIsOpen, errorTypes, styleNonce, shadowDOMTarget, onClose, hideDisabledQueries, theme } = config;
1224
+ this.#client = createSignal(client);
1225
+ this.#queryFlavor = queryFlavor;
1226
+ this.#version = version;
1227
+ this.#onlineManager = onlineManager$1;
1228
+ this.#styleNonce = styleNonce;
1229
+ this.#shadowDOMTarget = shadowDOMTarget;
1230
+ this.#buttonPosition = createSignal(buttonPosition);
1231
+ this.#position = createSignal(position);
1232
+ this.#initialIsOpen = createSignal(initialIsOpen);
1233
+ this.#errorTypes = createSignal(errorTypes);
1234
+ this.#hideDisabledQueries = createSignal(hideDisabledQueries);
1235
+ this.#onClose = createSignal(onClose);
1236
+ this.#theme = createSignal(theme);
1237
+ }
1238
+ setButtonPosition(position) {
1239
+ this.#buttonPosition[1](position);
1240
+ }
1241
+ setPosition(position) {
1242
+ this.#position[1](position);
1243
+ }
1244
+ setInitialIsOpen(isOpen) {
1245
+ this.#initialIsOpen[1](isOpen);
1246
+ }
1247
+ setErrorTypes(errorTypes) {
1248
+ this.#errorTypes[1](errorTypes);
1249
+ }
1250
+ setClient(client) {
1251
+ this.#client[1](client);
1252
+ }
1253
+ setOnClose(onClose) {
1254
+ this.#onClose[1](() => onClose);
1255
+ }
1256
+ setTheme(theme) {
1257
+ this.#theme[1](theme);
1258
+ }
1259
+ mount(el) {
1260
+ if (this.#isMounted) throw new Error("Devtools is already mounted");
1261
+ const dispose = render(() => {
1262
+ const _self$ = this;
1263
+ const [btnPosition] = this.#buttonPosition;
1264
+ const [pos] = this.#position;
1265
+ const [isOpen] = this.#initialIsOpen;
1266
+ const [errors] = this.#errorTypes;
1267
+ const [hideDisabledQueries] = this.#hideDisabledQueries;
1268
+ const [queryClient] = this.#client;
1269
+ const [onClose] = this.#onClose;
1270
+ const [theme] = this.#theme;
1271
+ let Devtools;
1272
+ if (this.#Component) Devtools = this.#Component;
1273
+ else {
1274
+ Devtools = lazy(() => import("./VLTTJS3N-CIyRc84e.js"));
1275
+ this.#Component = Devtools;
1276
+ }
1277
+ setupStyleSheet(this.#styleNonce, this.#shadowDOMTarget);
1278
+ return createComponent(Devtools, mergeProps({
1279
+ get queryFlavor() {
1280
+ return _self$.#queryFlavor;
1281
+ },
1282
+ get version() {
1283
+ return _self$.#version;
1284
+ },
1285
+ get onlineManager() {
1286
+ return _self$.#onlineManager;
1287
+ },
1288
+ get shadowDOMTarget() {
1289
+ return _self$.#shadowDOMTarget;
1290
+ }
1291
+ }, {
1292
+ get client() {
1293
+ return queryClient();
1294
+ },
1295
+ get buttonPosition() {
1296
+ return btnPosition();
1297
+ },
1298
+ get position() {
1299
+ return pos();
1300
+ },
1301
+ get initialIsOpen() {
1302
+ return isOpen();
1303
+ },
1304
+ get errorTypes() {
1305
+ return errors();
1306
+ },
1307
+ get hideDisabledQueries() {
1308
+ return hideDisabledQueries();
1309
+ },
1310
+ get onClose() {
1311
+ return onClose();
1312
+ },
1313
+ get theme() {
1314
+ return theme();
1315
+ }
1316
+ }));
1317
+ }, el);
1318
+ this.#isMounted = true;
1319
+ this.#dispose = dispose;
1320
+ }
1321
+ unmount() {
1322
+ if (!this.#isMounted) throw new Error("Devtools is not mounted");
1323
+ this.#dispose?.();
1324
+ this.#isMounted = false;
1325
+ }
1326
+ };
1327
+
1328
+ //#endregion
1329
+ //#region ../../node_modules/.bun/@tanstack+react-query-devtools@5.91.1+4d327aa9bbe52471/node_modules/@tanstack/react-query-devtools/build/modern/ReactQueryDevtools.js
1330
+ function ReactQueryDevtools(props) {
1331
+ const queryClient = useQueryClient(props.client);
1332
+ const ref = import_react.useRef(null);
1333
+ const { buttonPosition, position, initialIsOpen, errorTypes, styleNonce, shadowDOMTarget, hideDisabledQueries, theme } = props;
1334
+ const [devtools] = import_react.useState(new TanstackQueryDevtools({
1335
+ client: queryClient,
1336
+ queryFlavor: "React Query",
1337
+ version: "5",
1338
+ onlineManager,
1339
+ buttonPosition,
1340
+ position,
1341
+ initialIsOpen,
1342
+ errorTypes,
1343
+ styleNonce,
1344
+ shadowDOMTarget,
1345
+ hideDisabledQueries,
1346
+ theme
1347
+ }));
1348
+ import_react.useEffect(() => {
1349
+ devtools.setClient(queryClient);
1350
+ }, [queryClient, devtools]);
1351
+ import_react.useEffect(() => {
1352
+ if (buttonPosition) devtools.setButtonPosition(buttonPosition);
1353
+ }, [buttonPosition, devtools]);
1354
+ import_react.useEffect(() => {
1355
+ if (position) devtools.setPosition(position);
1356
+ }, [position, devtools]);
1357
+ import_react.useEffect(() => {
1358
+ devtools.setInitialIsOpen(initialIsOpen || false);
1359
+ }, [initialIsOpen, devtools]);
1360
+ import_react.useEffect(() => {
1361
+ devtools.setErrorTypes(errorTypes || []);
1362
+ }, [errorTypes, devtools]);
1363
+ import_react.useEffect(() => {
1364
+ devtools.setTheme(theme);
1365
+ }, [theme, devtools]);
1366
+ import_react.useEffect(() => {
1367
+ if (ref.current) devtools.mount(ref.current);
1368
+ return () => {
1369
+ devtools.unmount();
1370
+ };
1371
+ }, [devtools]);
1372
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
1373
+ dir: "ltr",
1374
+ className: "tsqd-parent-container",
1375
+ ref
1376
+ });
1377
+ }
1378
+
1379
+ //#endregion
1380
+ //#region ../../node_modules/.bun/@tanstack+react-query-devtools@5.91.1+4d327aa9bbe52471/node_modules/@tanstack/react-query-devtools/build/modern/ReactQueryDevtoolsPanel.js
1381
+ function ReactQueryDevtoolsPanel(props) {
1382
+ const queryClient = useQueryClient(props.client);
1383
+ const ref = import_react.useRef(null);
1384
+ const { errorTypes, styleNonce, shadowDOMTarget, hideDisabledQueries, theme } = props;
1385
+ const [devtools] = import_react.useState(new TanstackQueryDevtoolsPanel({
1386
+ client: queryClient,
1387
+ queryFlavor: "React Query",
1388
+ version: "5",
1389
+ onlineManager,
1390
+ buttonPosition: "bottom-left",
1391
+ position: "bottom",
1392
+ initialIsOpen: true,
1393
+ errorTypes,
1394
+ styleNonce,
1395
+ shadowDOMTarget,
1396
+ onClose: props.onClose,
1397
+ hideDisabledQueries,
1398
+ theme
1399
+ }));
1400
+ import_react.useEffect(() => {
1401
+ devtools.setClient(queryClient);
1402
+ }, [queryClient, devtools]);
1403
+ import_react.useEffect(() => {
1404
+ devtools.setOnClose(props.onClose ?? (() => {}));
1405
+ }, [props.onClose, devtools]);
1406
+ import_react.useEffect(() => {
1407
+ devtools.setErrorTypes(errorTypes || []);
1408
+ }, [errorTypes, devtools]);
1409
+ import_react.useEffect(() => {
1410
+ devtools.setTheme(theme);
1411
+ }, [theme, devtools]);
1412
+ import_react.useEffect(() => {
1413
+ if (ref.current) devtools.mount(ref.current);
1414
+ return () => {
1415
+ devtools.unmount();
1416
+ };
1417
+ }, [devtools]);
1418
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
1419
+ style: {
1420
+ height: "500px",
1421
+ ...props.style
1422
+ },
1423
+ className: "tsqd-parent-container",
1424
+ ref
1425
+ });
1426
+ }
1427
+
1428
+ //#endregion
1429
+ //#region ../../node_modules/.bun/@tanstack+react-query-devtools@5.91.1+4d327aa9bbe52471/node_modules/@tanstack/react-query-devtools/build/modern/index.js
1430
+ var ReactQueryDevtools2 = ReactQueryDevtools;
1431
+ var ReactQueryDevtoolsPanel2 = ReactQueryDevtoolsPanel;
1432
+
1433
+ //#endregion
1434
+ //#region ../../node_modules/.bun/tiny-warning@1.0.3/node_modules/tiny-warning/dist/tiny-warning.esm.js
1435
+ var isProduction = false;
1436
+ function warning(condition, message) {
1437
+ if (!isProduction) {
1438
+ if (condition) return;
1439
+ var text = "Warning: " + message;
1440
+ if (typeof console !== "undefined") console.warn(text);
1441
+ try {
1442
+ throw Error(text);
1443
+ } catch (x) {}
1444
+ }
1445
+ }
1446
+ var tiny_warning_esm_default = warning;
1447
+
1448
+ //#endregion
1449
+ //#region ../../node_modules/.bun/use-sync-external-store@1.6.0+83d5fd7b249dbeef/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js
1450
+ /**
1451
+ * @license React
1452
+ * use-sync-external-store-shim.development.js
1453
+ *
1454
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
1455
+ *
1456
+ * This source code is licensed under the MIT license found in the
1457
+ * LICENSE file in the root directory of this source tree.
1458
+ */
1459
+ var require_use_sync_external_store_shim_development = /* @__PURE__ */ __commonJSMin(((exports) => {
1460
+ (function() {
1461
+ function is(x, y) {
1462
+ return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
1463
+ }
1464
+ function useSyncExternalStore$2(subscribe, getSnapshot) {
1465
+ didWarnOld18Alpha || void 0 === React.startTransition || (didWarnOld18Alpha = !0, console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
1466
+ var value = getSnapshot();
1467
+ if (!didWarnUncachedGetSnapshot) {
1468
+ var cachedValue = getSnapshot();
1469
+ objectIs(value, cachedValue) || (console.error("The result of getSnapshot should be cached to avoid an infinite loop"), didWarnUncachedGetSnapshot = !0);
1470
+ }
1471
+ cachedValue = useState$1({ inst: {
1472
+ value,
1473
+ getSnapshot
1474
+ } });
1475
+ var inst = cachedValue[0].inst, forceUpdate = cachedValue[1];
1476
+ useLayoutEffect(function() {
1477
+ inst.value = value;
1478
+ inst.getSnapshot = getSnapshot;
1479
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst });
1480
+ }, [
1481
+ subscribe,
1482
+ value,
1483
+ getSnapshot
1484
+ ]);
1485
+ useEffect$1(function() {
1486
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst });
1487
+ return subscribe(function() {
1488
+ checkIfSnapshotChanged(inst) && forceUpdate({ inst });
1489
+ });
1490
+ }, [subscribe]);
1491
+ useDebugValue(value);
1492
+ return value;
1493
+ }
1494
+ function checkIfSnapshotChanged(inst) {
1495
+ var latestGetSnapshot = inst.getSnapshot;
1496
+ inst = inst.value;
1497
+ try {
1498
+ var nextValue = latestGetSnapshot();
1499
+ return !objectIs(inst, nextValue);
1500
+ } catch (error) {
1501
+ return !0;
1502
+ }
1503
+ }
1504
+ function useSyncExternalStore$1(subscribe, getSnapshot) {
1505
+ return getSnapshot();
1506
+ }
1507
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1508
+ var React = require_react(), objectIs = "function" === typeof Object.is ? Object.is : is, useState$1 = React.useState, useEffect$1 = React.useEffect, useLayoutEffect = React.useLayoutEffect, useDebugValue = React.useDebugValue, didWarnOld18Alpha = !1, didWarnUncachedGetSnapshot = !1, shim = "undefined" === typeof window || "undefined" === typeof window.document || "undefined" === typeof window.document.createElement ? useSyncExternalStore$1 : useSyncExternalStore$2;
1509
+ exports.useSyncExternalStore = void 0 !== React.useSyncExternalStore ? React.useSyncExternalStore : shim;
1510
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1511
+ })();
1512
+ }));
1513
+
1514
+ //#endregion
1515
+ //#region ../../node_modules/.bun/use-sync-external-store@1.6.0+83d5fd7b249dbeef/node_modules/use-sync-external-store/shim/index.js
1516
+ var require_shim = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1517
+ module.exports = require_use_sync_external_store_shim_development();
1518
+ }));
1519
+
1520
+ //#endregion
1521
+ //#region ../../node_modules/.bun/use-sync-external-store@1.6.0+83d5fd7b249dbeef/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js
1522
+ /**
1523
+ * @license React
1524
+ * use-sync-external-store-shim/with-selector.development.js
1525
+ *
1526
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
1527
+ *
1528
+ * This source code is licensed under the MIT license found in the
1529
+ * LICENSE file in the root directory of this source tree.
1530
+ */
1531
+ var require_with_selector_development = /* @__PURE__ */ __commonJSMin(((exports) => {
1532
+ (function() {
1533
+ function is(x, y) {
1534
+ return x === y && (0 !== x || 1 / x === 1 / y) || x !== x && y !== y;
1535
+ }
1536
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
1537
+ var React = require_react(), shim = require_shim(), objectIs = "function" === typeof Object.is ? Object.is : is, useSyncExternalStore = shim.useSyncExternalStore, useRef$2 = React.useRef, useEffect$1 = React.useEffect, useMemo = React.useMemo, useDebugValue = React.useDebugValue;
1538
+ exports.useSyncExternalStoreWithSelector = function(subscribe, getSnapshot, getServerSnapshot, selector, isEqual) {
1539
+ var instRef = useRef$2(null);
1540
+ if (null === instRef.current) {
1541
+ var inst = {
1542
+ hasValue: !1,
1543
+ value: null
1544
+ };
1545
+ instRef.current = inst;
1546
+ } else inst = instRef.current;
1547
+ instRef = useMemo(function() {
1548
+ function memoizedSelector(nextSnapshot) {
1549
+ if (!hasMemo) {
1550
+ hasMemo = !0;
1551
+ memoizedSnapshot = nextSnapshot;
1552
+ nextSnapshot = selector(nextSnapshot);
1553
+ if (void 0 !== isEqual && inst.hasValue) {
1554
+ var currentSelection = inst.value;
1555
+ if (isEqual(currentSelection, nextSnapshot)) return memoizedSelection = currentSelection;
1556
+ }
1557
+ return memoizedSelection = nextSnapshot;
1558
+ }
1559
+ currentSelection = memoizedSelection;
1560
+ if (objectIs(memoizedSnapshot, nextSnapshot)) return currentSelection;
1561
+ var nextSelection = selector(nextSnapshot);
1562
+ if (void 0 !== isEqual && isEqual(currentSelection, nextSelection)) return memoizedSnapshot = nextSnapshot, currentSelection;
1563
+ memoizedSnapshot = nextSnapshot;
1564
+ return memoizedSelection = nextSelection;
1565
+ }
1566
+ var hasMemo = !1, memoizedSnapshot, memoizedSelection, maybeGetServerSnapshot = void 0 === getServerSnapshot ? null : getServerSnapshot;
1567
+ return [function() {
1568
+ return memoizedSelector(getSnapshot());
1569
+ }, null === maybeGetServerSnapshot ? void 0 : function() {
1570
+ return memoizedSelector(maybeGetServerSnapshot());
1571
+ }];
1572
+ }, [
1573
+ getSnapshot,
1574
+ getServerSnapshot,
1575
+ selector,
1576
+ isEqual
1577
+ ]);
1578
+ var value = useSyncExternalStore(subscribe, instRef[0], instRef[1]);
1579
+ useEffect$1(function() {
1580
+ inst.hasValue = !0;
1581
+ inst.value = value;
1582
+ }, [value]);
1583
+ useDebugValue(value);
1584
+ return value;
1585
+ };
1586
+ "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
1587
+ })();
1588
+ }));
1589
+
1590
+ //#endregion
1591
+ //#region ../../node_modules/.bun/use-sync-external-store@1.6.0+83d5fd7b249dbeef/node_modules/use-sync-external-store/shim/with-selector.js
1592
+ var require_with_selector = /* @__PURE__ */ __commonJSMin(((exports, module) => {
1593
+ module.exports = require_with_selector_development();
1594
+ }));
1595
+
1596
+ //#endregion
1597
+ //#region ../../node_modules/.bun/@tanstack+react-store@0.8.0+67f6792bdf102c28/node_modules/@tanstack/react-store/dist/esm/index.js
1598
+ var import_with_selector = require_with_selector();
1599
+ function useStore(store, selector = (d) => d, options = {}) {
1600
+ const equal = options.equal ?? shallow;
1601
+ return (0, import_with_selector.useSyncExternalStoreWithSelector)(store.subscribe, () => store.state, () => store.state, selector, equal);
1602
+ }
1603
+ function shallow(objA, objB) {
1604
+ if (Object.is(objA, objB)) return true;
1605
+ if (typeof objA !== "object" || objA === null || typeof objB !== "object" || objB === null) return false;
1606
+ if (objA instanceof Map && objB instanceof Map) {
1607
+ if (objA.size !== objB.size) return false;
1608
+ for (const [k, v] of objA) if (!objB.has(k) || !Object.is(v, objB.get(k))) return false;
1609
+ return true;
1610
+ }
1611
+ if (objA instanceof Set && objB instanceof Set) {
1612
+ if (objA.size !== objB.size) return false;
1613
+ for (const v of objA) if (!objB.has(v)) return false;
1614
+ return true;
1615
+ }
1616
+ if (objA instanceof Date && objB instanceof Date) {
1617
+ if (objA.getTime() !== objB.getTime()) return false;
1618
+ return true;
1619
+ }
1620
+ const keysA = getOwnKeys(objA);
1621
+ if (keysA.length !== getOwnKeys(objB).length) return false;
1622
+ for (let i = 0; i < keysA.length; i++) if (!Object.prototype.hasOwnProperty.call(objB, keysA[i]) || !Object.is(objA[keysA[i]], objB[keysA[i]])) return false;
1623
+ return true;
1624
+ }
1625
+ function getOwnKeys(obj) {
1626
+ return Object.keys(obj).concat(Object.getOwnPropertySymbols(obj));
1627
+ }
1628
+
1629
+ //#endregion
1630
+ //#region ../../node_modules/.bun/@tanstack+react-router@1.141.6+67f6792bdf102c28/node_modules/@tanstack/react-router/dist/esm/routerContext.js
1631
+ const routerContext = import_react.createContext(null);
1632
+ function getRouterContext() {
1633
+ if (typeof document === "undefined") return routerContext;
1634
+ if (window.__TSR_ROUTER_CONTEXT__) return window.__TSR_ROUTER_CONTEXT__;
1635
+ window.__TSR_ROUTER_CONTEXT__ = routerContext;
1636
+ return routerContext;
1637
+ }
1638
+
1639
+ //#endregion
1640
+ //#region ../../node_modules/.bun/@tanstack+react-router@1.141.6+67f6792bdf102c28/node_modules/@tanstack/react-router/dist/esm/useRouter.js
1641
+ function useRouter(opts) {
1642
+ const value = import_react.useContext(getRouterContext());
1643
+ tiny_warning_esm_default(!((opts?.warn ?? true) && !value), "useRouter must be used inside a <RouterProvider> component!");
1644
+ return value;
1645
+ }
1646
+
1647
+ //#endregion
1648
+ //#region ../../node_modules/.bun/@tanstack+react-router@1.141.6+67f6792bdf102c28/node_modules/@tanstack/react-router/dist/esm/useRouterState.js
1649
+ function useRouterState(opts) {
1650
+ const contextRouter = useRouter({ warn: opts?.router === void 0 });
1651
+ const router = opts?.router || contextRouter;
1652
+ const previousResult = (0, import_react.useRef)(void 0);
1653
+ return useStore(router.__store, (state) => {
1654
+ if (opts?.select) {
1655
+ if (opts.structuralSharing ?? router.options.defaultStructuralSharing) {
1656
+ const newSlice = replaceEqualDeep(previousResult.current, opts.select(state));
1657
+ previousResult.current = newSlice;
1658
+ return newSlice;
1659
+ }
1660
+ return opts.select(state);
1661
+ }
1662
+ return state;
1663
+ });
1664
+ }
1665
+
1666
+ //#endregion
1667
+ //#region ../../node_modules/.bun/@tanstack+react-router-devtools@1.141.6+0c561f47bfe85d24/node_modules/@tanstack/react-router-devtools/dist/esm/TanStackRouterDevtools.js
1668
+ function TanStackRouterDevtools$1(props) {
1669
+ const { initialIsOpen, panelProps, closeButtonProps, toggleButtonProps, position, containerElement, shadowDOMTarget, router: propsRouter } = props;
1670
+ const hookRouter = useRouter({ warn: false });
1671
+ const activeRouter = propsRouter ?? hookRouter;
1672
+ const activeRouterState = useRouterState({ router: activeRouter });
1673
+ const devToolRef = (0, import_react.useRef)(null);
1674
+ const [devtools] = (0, import_react.useState)(() => new TanStackRouterDevtoolsCore({
1675
+ initialIsOpen,
1676
+ panelProps,
1677
+ closeButtonProps,
1678
+ toggleButtonProps,
1679
+ position,
1680
+ containerElement,
1681
+ shadowDOMTarget,
1682
+ router: activeRouter,
1683
+ routerState: activeRouterState
1684
+ }));
1685
+ (0, import_react.useEffect)(() => {
1686
+ devtools.setRouter(activeRouter);
1687
+ }, [devtools, activeRouter]);
1688
+ (0, import_react.useEffect)(() => {
1689
+ devtools.setRouterState(activeRouterState);
1690
+ }, [devtools, activeRouterState]);
1691
+ (0, import_react.useEffect)(() => {
1692
+ devtools.setOptions({
1693
+ initialIsOpen,
1694
+ panelProps,
1695
+ closeButtonProps,
1696
+ toggleButtonProps,
1697
+ position,
1698
+ containerElement,
1699
+ shadowDOMTarget
1700
+ });
1701
+ }, [
1702
+ devtools,
1703
+ initialIsOpen,
1704
+ panelProps,
1705
+ closeButtonProps,
1706
+ toggleButtonProps,
1707
+ position,
1708
+ containerElement,
1709
+ shadowDOMTarget
1710
+ ]);
1711
+ (0, import_react.useEffect)(() => {
1712
+ if (devToolRef.current) devtools.mount(devToolRef.current);
1713
+ return () => {
1714
+ devtools.unmount();
1715
+ };
1716
+ }, [devtools]);
1717
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { ref: devToolRef }) });
1718
+ }
1719
+
1720
+ //#endregion
1721
+ //#region ../../node_modules/.bun/@tanstack+react-router-devtools@1.141.6+0c561f47bfe85d24/node_modules/@tanstack/react-router-devtools/dist/esm/index.js
1722
+ const TanStackRouterDevtools = TanStackRouterDevtools$1;
1723
+
1724
+ //#endregion
1725
+ export { ReactQueryDevtools2 as ReactQueryDevtools, TanStackRouterDevtools };