@socialgen_user/socialgen 0.0.0-stage → 2.1.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 (660) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/0Br9Vc0s.js +1 -0
  3. package/.output/public/_nuxt/8VnlkoEA.js +1 -0
  4. package/.output/public/_nuxt/BPLr5diI.js +1 -0
  5. package/.output/public/_nuxt/BUd27fqX.js +4 -0
  6. package/.output/public/_nuxt/CElmFakF.js +1 -0
  7. package/.output/public/_nuxt/DQwlrwii.js +1 -0
  8. package/.output/public/_nuxt/De9_qv1a.js +1 -0
  9. package/.output/public/_nuxt/_mode_.XsuGEG0A.css +1 -0
  10. package/.output/public/_nuxt/builds/latest.json +1 -0
  11. package/.output/public/_nuxt/builds/meta/fa4e5120-60d5-43d9-b50d-f9369f818427.json +1 -0
  12. package/.output/public/_nuxt/error-404.DL_4WIao.css +1 -0
  13. package/.output/public/_nuxt/error-500.I1Dtv2V5.css +1 -0
  14. package/.output/public/_nuxt/pages.Df3hoeGN.css +1 -0
  15. package/.output/public/audio/cyber_future_tech.mp3 +0 -0
  16. package/.output/public/audio/dark_phonk_pulse.mp3 +0 -0
  17. package/.output/public/audio/deep_finance_groove.mp3 +0 -0
  18. package/.output/public/audio/lofi_viral_study.mp3 +0 -0
  19. package/.output/public/audio/motivation_cinematic.mp3 +0 -0
  20. package/.output/public/videos/cyber_blue.mp4 +0 -0
  21. package/.output/public/videos/cyber_matrix_stream.mp4 +0 -0
  22. package/.output/public/videos/cyber_pulse.mp4 +0 -0
  23. package/.output/public/videos/dark_luxury_particles.mp4 +0 -0
  24. package/.output/public/videos/default_bg.mp4 +0 -0
  25. package/.output/public/videos/emerald_flow.mp4 +0 -0
  26. package/.output/public/videos/financial_pulse_flow.mp4 +0 -0
  27. package/.output/public/videos/neon_cyber_grid.mp4 +0 -0
  28. package/.output/server/chunks/_/error-500.mjs +19 -0
  29. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  30. package/.output/server/chunks/_/nitro.mjs +5716 -0
  31. package/.output/server/chunks/_/nitro.mjs.map +1 -0
  32. package/.output/server/chunks/_/storage.mjs +73 -0
  33. package/.output/server/chunks/_/storage.mjs.map +1 -0
  34. package/.output/server/chunks/_/topicMatrix.mjs +147 -0
  35. package/.output/server/chunks/_/topicMatrix.mjs.map +1 -0
  36. package/.output/server/chunks/build/TableCard-C_ouH7xZ.mjs +674 -0
  37. package/.output/server/chunks/build/TableCard-C_ouH7xZ.mjs.map +1 -0
  38. package/.output/server/chunks/build/_mode_-Bqv8WY_m.mjs +65 -0
  39. package/.output/server/chunks/build/_mode_-Bqv8WY_m.mjs.map +1 -0
  40. package/.output/server/chunks/build/_mode_-styles.CcOMAYS9.mjs +8 -0
  41. package/.output/server/chunks/build/_mode_-styles.CcOMAYS9.mjs.map +1 -0
  42. package/.output/server/chunks/build/client.precomputed.mjs +4 -0
  43. package/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
  44. package/.output/server/chunks/build/entry-styles.C2d8MIct.mjs +8 -0
  45. package/.output/server/chunks/build/entry-styles.C2d8MIct.mjs.map +1 -0
  46. package/.output/server/chunks/build/error-404-D7pndyXD.mjs +403 -0
  47. package/.output/server/chunks/build/error-404-D7pndyXD.mjs.map +1 -0
  48. package/.output/server/chunks/build/error-404-styles.ir-5M2eu.mjs +8 -0
  49. package/.output/server/chunks/build/error-404-styles.ir-5M2eu.mjs.map +1 -0
  50. package/.output/server/chunks/build/error-500-D0twnCBi.mjs +76 -0
  51. package/.output/server/chunks/build/error-500-D0twnCBi.mjs.map +1 -0
  52. package/.output/server/chunks/build/error-500-styles.DiQTnuqt.mjs +8 -0
  53. package/.output/server/chunks/build/error-500-styles.DiQTnuqt.mjs.map +1 -0
  54. package/.output/server/chunks/build/index-styles.CQioNwpv.mjs +8 -0
  55. package/.output/server/chunks/build/index-styles.CQioNwpv.mjs.map +1 -0
  56. package/.output/server/chunks/build/pages-BHQfewv9.mjs +671 -0
  57. package/.output/server/chunks/build/pages-BHQfewv9.mjs.map +1 -0
  58. package/.output/server/chunks/build/server.mjs +1115 -0
  59. package/.output/server/chunks/build/server.mjs.map +1 -0
  60. package/.output/server/chunks/build/styles.mjs +11 -0
  61. package/.output/server/chunks/build/styles.mjs.map +1 -0
  62. package/.output/server/chunks/build/v3-CmUYmHkx.mjs +22 -0
  63. package/.output/server/chunks/build/v3-CmUYmHkx.mjs.map +1 -0
  64. package/.output/server/chunks/routes/api/auto-topic.post.mjs +508 -0
  65. package/.output/server/chunks/routes/api/auto-topic.post.mjs.map +1 -0
  66. package/.output/server/chunks/routes/api/copy-prompt.get.mjs +217 -0
  67. package/.output/server/chunks/routes/api/copy-prompt.get.mjs.map +1 -0
  68. package/.output/server/chunks/routes/api/download.get.mjs +35 -0
  69. package/.output/server/chunks/routes/api/download.get.mjs.map +1 -0
  70. package/.output/server/chunks/routes/api/drafts.get.mjs +41 -0
  71. package/.output/server/chunks/routes/api/drafts.get.mjs.map +1 -0
  72. package/.output/server/chunks/routes/api/drafts.post.mjs +42 -0
  73. package/.output/server/chunks/routes/api/drafts.post.mjs.map +1 -0
  74. package/.output/server/chunks/routes/api/files/_...path_.get.mjs +36 -0
  75. package/.output/server/chunks/routes/api/files/_...path_.get.mjs.map +1 -0
  76. package/.output/server/chunks/routes/api/generate.post.mjs +510 -0
  77. package/.output/server/chunks/routes/api/generate.post.mjs.map +1 -0
  78. package/.output/server/chunks/routes/api/media.get.mjs +53 -0
  79. package/.output/server/chunks/routes/api/media.get.mjs.map +1 -0
  80. package/.output/server/chunks/routes/api/open-folder.post.mjs +29 -0
  81. package/.output/server/chunks/routes/api/open-folder.post.mjs.map +1 -0
  82. package/.output/server/chunks/routes/api/render-data.get.mjs +34 -0
  83. package/.output/server/chunks/routes/api/render-data.get.mjs.map +1 -0
  84. package/.output/server/chunks/routes/api/status.get.mjs +27 -0
  85. package/.output/server/chunks/routes/api/status.get.mjs.map +1 -0
  86. package/.output/server/chunks/routes/api/upload-media.post.mjs +76 -0
  87. package/.output/server/chunks/routes/api/upload-media.post.mjs.map +1 -0
  88. package/.output/server/chunks/routes/renderer.mjs +462 -0
  89. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  90. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  91. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  92. package/.output/server/index.mjs +39 -0
  93. package/.output/server/index.mjs.map +1 -0
  94. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/decode-codepoint.js +72 -0
  95. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/decode.js +497 -0
  96. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/escape.js +117 -0
  97. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/generated/decode-data-html.js +7 -0
  98. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/generated/decode-data-xml.js +7 -0
  99. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/package.json +3 -0
  100. package/.output/server/node_modules/.nitro/entities@6.0.1/package.json +118 -0
  101. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/decode-codepoint.js +77 -0
  102. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/decode.js +568 -0
  103. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/generated/decode-data-html.js +7 -0
  104. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/generated/decode-data-xml.js +7 -0
  105. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/internal/bin-trie-flags.js +21 -0
  106. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/internal/decode-shared.js +31 -0
  107. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/package.json +3 -0
  108. package/.output/server/node_modules/.nitro/entities@7.0.1/package.json +120 -0
  109. package/.output/server/node_modules/.nitro/minimatch@5.1.9/lib/path.js +4 -0
  110. package/.output/server/node_modules/.nitro/minimatch@5.1.9/minimatch.js +996 -0
  111. package/.output/server/node_modules/.nitro/minimatch@5.1.9/package.json +35 -0
  112. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/assert-valid-pattern.js +14 -0
  113. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/ast.js +747 -0
  114. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/brace-expressions.js +152 -0
  115. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/escape.js +22 -0
  116. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/index.js +1023 -0
  117. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/package.json +3 -0
  118. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/unescape.js +24 -0
  119. package/.output/server/node_modules/.nitro/minimatch@9.0.9/package.json +82 -0
  120. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_duplex.js +131 -0
  121. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_passthrough.js +47 -0
  122. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_readable.js +1019 -0
  123. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_transform.js +214 -0
  124. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_writable.js +685 -0
  125. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/internal/streams/BufferList.js +78 -0
  126. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/internal/streams/destroy.js +84 -0
  127. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/internal/streams/stream.js +1 -0
  128. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/package.json +52 -0
  129. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/passthrough.js +1 -0
  130. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/readable.js +19 -0
  131. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/shims/process.js +19 -0
  132. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/add-abort-signal.js +52 -0
  133. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/buffer_list.js +157 -0
  134. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/compose.js +194 -0
  135. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/destroy.js +290 -0
  136. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/duplex.js +143 -0
  137. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/duplexify.js +378 -0
  138. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/end-of-stream.js +286 -0
  139. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/from.js +98 -0
  140. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/legacy.js +94 -0
  141. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/operators.js +457 -0
  142. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/passthrough.js +39 -0
  143. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/pipeline.js +471 -0
  144. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/readable.js +1290 -0
  145. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/state.js +39 -0
  146. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/transform.js +180 -0
  147. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/utils.js +327 -0
  148. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/writable.js +819 -0
  149. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/validators.js +530 -0
  150. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/errors.js +343 -0
  151. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/index.js +65 -0
  152. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/primordials.js +124 -0
  153. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/util/inspect.js +55 -0
  154. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/util.js +148 -0
  155. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/stream/promises.js +43 -0
  156. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/stream.js +143 -0
  157. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/package.json +89 -0
  158. package/.output/server/node_modules/.nitro/safe-buffer@5.1.2/index.js +62 -0
  159. package/.output/server/node_modules/.nitro/safe-buffer@5.1.2/package.json +37 -0
  160. package/.output/server/node_modules/.nitro/safe-buffer@5.2.1/index.js +65 -0
  161. package/.output/server/node_modules/.nitro/safe-buffer@5.2.1/package.json +51 -0
  162. package/.output/server/node_modules/.nitro/string_decoder@1.1.1/lib/string_decoder.js +296 -0
  163. package/.output/server/node_modules/.nitro/string_decoder@1.1.1/package.json +31 -0
  164. package/.output/server/node_modules/.nitro/string_decoder@1.3.0/lib/string_decoder.js +296 -0
  165. package/.output/server/node_modules/.nitro/string_decoder@1.3.0/package.json +34 -0
  166. package/.output/server/node_modules/@babel/parser/lib/index.js +14990 -0
  167. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  168. package/.output/server/node_modules/@google/genai/dist/node/index.mjs +32052 -0
  169. package/.output/server/node_modules/@google/genai/package.json +175 -0
  170. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6806 -0
  171. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  172. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +729 -0
  173. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  174. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1460 -0
  175. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  176. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/api.js +2 -0
  177. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/app.js +2 -0
  178. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/component.js +2 -0
  179. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/context.js +2 -0
  180. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +2 -0
  181. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/index.js +22 -0
  182. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/util.js +2 -0
  183. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/const.js +5 -0
  184. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/env.js +17 -0
  185. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/index.js +45 -0
  186. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/plugin.js +2 -0
  187. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/proxy.js +111 -0
  188. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/time.js +28 -0
  189. package/.output/server/node_modules/@vue/devtools-api/package.json +37 -0
  190. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1937 -0
  191. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  192. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +7260 -0
  193. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  194. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1932 -0
  195. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  196. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +951 -0
  197. package/.output/server/node_modules/@vue/server-renderer/package.json +53 -0
  198. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +657 -0
  199. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  200. package/.output/server/node_modules/abort-controller/dist/abort-controller.js +127 -0
  201. package/.output/server/node_modules/abort-controller/package.json +97 -0
  202. package/.output/server/node_modules/agent-base/dist/helpers.js +66 -0
  203. package/.output/server/node_modules/agent-base/dist/index.js +178 -0
  204. package/.output/server/node_modules/agent-base/package.json +46 -0
  205. package/.output/server/node_modules/archiver/index.js +84 -0
  206. package/.output/server/node_modules/archiver/lib/core.js +974 -0
  207. package/.output/server/node_modules/archiver/lib/error.js +40 -0
  208. package/.output/server/node_modules/archiver/lib/plugins/json.js +110 -0
  209. package/.output/server/node_modules/archiver/lib/plugins/tar.js +167 -0
  210. package/.output/server/node_modules/archiver/lib/plugins/zip.js +120 -0
  211. package/.output/server/node_modules/archiver/package.json +60 -0
  212. package/.output/server/node_modules/archiver-utils/file.js +209 -0
  213. package/.output/server/node_modules/archiver-utils/index.js +155 -0
  214. package/.output/server/node_modules/archiver-utils/package.json +48 -0
  215. package/.output/server/node_modules/async/dist/async.js +6061 -0
  216. package/.output/server/node_modules/async/package.json +75 -0
  217. package/.output/server/node_modules/b4a/index.js +193 -0
  218. package/.output/server/node_modules/b4a/package.json +54 -0
  219. package/.output/server/node_modules/balanced-match/index.js +62 -0
  220. package/.output/server/node_modules/balanced-match/package.json +48 -0
  221. package/.output/server/node_modules/base64-js/index.js +150 -0
  222. package/.output/server/node_modules/base64-js/package.json +47 -0
  223. package/.output/server/node_modules/bignumber.js/bignumber.js +2922 -0
  224. package/.output/server/node_modules/bignumber.js/package.json +60 -0
  225. package/.output/server/node_modules/brace-expansion/index.js +633 -0
  226. package/.output/server/node_modules/brace-expansion/package.json +52 -0
  227. package/.output/server/node_modules/buffer-crc32/dist/index.cjs +306 -0
  228. package/.output/server/node_modules/buffer-crc32/package.json +54 -0
  229. package/.output/server/node_modules/buffer-equal-constant-time/index.js +41 -0
  230. package/.output/server/node_modules/buffer-equal-constant-time/package.json +21 -0
  231. package/.output/server/node_modules/compress-commons/lib/archivers/archive-entry.js +16 -0
  232. package/.output/server/node_modules/compress-commons/lib/archivers/archive-output-stream.js +118 -0
  233. package/.output/server/node_modules/compress-commons/lib/archivers/zip/constants.js +71 -0
  234. package/.output/server/node_modules/compress-commons/lib/archivers/zip/general-purpose-bit.js +101 -0
  235. package/.output/server/node_modules/compress-commons/lib/archivers/zip/unix-stat.js +53 -0
  236. package/.output/server/node_modules/compress-commons/lib/archivers/zip/util.js +74 -0
  237. package/.output/server/node_modules/compress-commons/lib/archivers/zip/zip-archive-entry.js +413 -0
  238. package/.output/server/node_modules/compress-commons/lib/archivers/zip/zip-archive-output-stream.js +437 -0
  239. package/.output/server/node_modules/compress-commons/lib/compress-commons.js +13 -0
  240. package/.output/server/node_modules/compress-commons/lib/util/index.js +27 -0
  241. package/.output/server/node_modules/compress-commons/package.json +46 -0
  242. package/.output/server/node_modules/core-util-is/lib/util.js +107 -0
  243. package/.output/server/node_modules/core-util-is/package.json +38 -0
  244. package/.output/server/node_modules/crc-32/crc32.js +115 -0
  245. package/.output/server/node_modules/crc-32/package.json +67 -0
  246. package/.output/server/node_modules/crc32-stream/lib/crc32-stream.js +48 -0
  247. package/.output/server/node_modules/crc32-stream/lib/deflate-crc32-stream.js +62 -0
  248. package/.output/server/node_modules/crc32-stream/lib/index.js +14 -0
  249. package/.output/server/node_modules/crc32-stream/package.json +45 -0
  250. package/.output/server/node_modules/data-uri-to-buffer/dist/index.js +53 -0
  251. package/.output/server/node_modules/data-uri-to-buffer/package.json +62 -0
  252. package/.output/server/node_modules/debug/package.json +64 -0
  253. package/.output/server/node_modules/debug/src/browser.js +272 -0
  254. package/.output/server/node_modules/debug/src/common.js +292 -0
  255. package/.output/server/node_modules/debug/src/index.js +10 -0
  256. package/.output/server/node_modules/debug/src/node.js +263 -0
  257. package/.output/server/node_modules/devalue/index.js +17 -0
  258. package/.output/server/node_modules/devalue/package.json +39 -0
  259. package/.output/server/node_modules/devalue/src/base64.js +60 -0
  260. package/.output/server/node_modules/devalue/src/constants.js +12 -0
  261. package/.output/server/node_modules/devalue/src/operations.js +221 -0
  262. package/.output/server/node_modules/devalue/src/parse.js +279 -0
  263. package/.output/server/node_modules/devalue/src/stringify.js +433 -0
  264. package/.output/server/node_modules/devalue/src/uneval.js +698 -0
  265. package/.output/server/node_modules/devalue/src/utils.js +190 -0
  266. package/.output/server/node_modules/ecdsa-sig-formatter/package.json +46 -0
  267. package/.output/server/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
  268. package/.output/server/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
  269. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  270. package/.output/server/node_modules/estree-walker/package.json +37 -0
  271. package/.output/server/node_modules/event-target-shim/dist/event-target-shim.js +871 -0
  272. package/.output/server/node_modules/event-target-shim/package.json +82 -0
  273. package/.output/server/node_modules/events-universal/default.js +1 -0
  274. package/.output/server/node_modules/events-universal/package.json +39 -0
  275. package/.output/server/node_modules/extend/index.js +117 -0
  276. package/.output/server/node_modules/extend/package.json +42 -0
  277. package/.output/server/node_modules/fast-fifo/fixed-size.js +39 -0
  278. package/.output/server/node_modules/fast-fifo/index.js +48 -0
  279. package/.output/server/node_modules/fast-fifo/package.json +28 -0
  280. package/.output/server/node_modules/fetch-blob/file.js +49 -0
  281. package/.output/server/node_modules/fetch-blob/from.js +100 -0
  282. package/.output/server/node_modules/fetch-blob/index.js +250 -0
  283. package/.output/server/node_modules/fetch-blob/package.json +56 -0
  284. package/.output/server/node_modules/fetch-blob/streams.cjs +51 -0
  285. package/.output/server/node_modules/formdata-polyfill/esm.min.js +40 -0
  286. package/.output/server/node_modules/formdata-polyfill/package.json +50 -0
  287. package/.output/server/node_modules/gaxios/build/cjs/src/common.js +311 -0
  288. package/.output/server/node_modules/gaxios/build/cjs/src/gaxios.js +564 -0
  289. package/.output/server/node_modules/gaxios/build/cjs/src/index.js +48 -0
  290. package/.output/server/node_modules/gaxios/build/cjs/src/interceptor.js +22 -0
  291. package/.output/server/node_modules/gaxios/build/cjs/src/retry.js +165 -0
  292. package/.output/server/node_modules/gaxios/build/cjs/src/util.cjs +16 -0
  293. package/.output/server/node_modules/gaxios/package.json +105 -0
  294. package/.output/server/node_modules/gcp-metadata/build/src/gcp-residency.js +114 -0
  295. package/.output/server/node_modules/gcp-metadata/build/src/index.js +402 -0
  296. package/.output/server/node_modules/gcp-metadata/package.json +77 -0
  297. package/.output/server/node_modules/glob/dist/commonjs/glob.js +247 -0
  298. package/.output/server/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  299. package/.output/server/node_modules/glob/dist/commonjs/ignore.js +119 -0
  300. package/.output/server/node_modules/glob/dist/commonjs/index.js +68 -0
  301. package/.output/server/node_modules/glob/dist/commonjs/package.json +3 -0
  302. package/.output/server/node_modules/glob/dist/commonjs/pattern.js +219 -0
  303. package/.output/server/node_modules/glob/dist/commonjs/processor.js +301 -0
  304. package/.output/server/node_modules/glob/dist/commonjs/walker.js +387 -0
  305. package/.output/server/node_modules/glob/package.json +99 -0
  306. package/.output/server/node_modules/google-auth-library/build/src/auth/authclient.js +286 -0
  307. package/.output/server/node_modules/google-auth-library/build/src/auth/awsclient.js +154 -0
  308. package/.output/server/node_modules/google-auth-library/build/src/auth/awsrequestsigner.js +213 -0
  309. package/.output/server/node_modules/google-auth-library/build/src/auth/baseexternalclient.js +477 -0
  310. package/.output/server/node_modules/google-auth-library/build/src/auth/certificatesubjecttokensupplier.js +223 -0
  311. package/.output/server/node_modules/google-auth-library/build/src/auth/computeclient.js +118 -0
  312. package/.output/server/node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.js +199 -0
  313. package/.output/server/node_modules/google-auth-library/build/src/auth/downscopedclient.js +273 -0
  314. package/.output/server/node_modules/google-auth-library/build/src/auth/envDetect.js +97 -0
  315. package/.output/server/node_modules/google-auth-library/build/src/auth/executable-response.js +178 -0
  316. package/.output/server/node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.js +233 -0
  317. package/.output/server/node_modules/google-auth-library/build/src/auth/externalclient.js +68 -0
  318. package/.output/server/node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.js +84 -0
  319. package/.output/server/node_modules/google-auth-library/build/src/auth/gdchclient.js +307 -0
  320. package/.output/server/node_modules/google-auth-library/build/src/auth/googleauth.js +921 -0
  321. package/.output/server/node_modules/google-auth-library/build/src/auth/iam.js +44 -0
  322. package/.output/server/node_modules/google-auth-library/build/src/auth/identitypoolclient.js +131 -0
  323. package/.output/server/node_modules/google-auth-library/build/src/auth/idtokenclient.js +56 -0
  324. package/.output/server/node_modules/google-auth-library/build/src/auth/impersonated.js +197 -0
  325. package/.output/server/node_modules/google-auth-library/build/src/auth/jwtaccess.js +201 -0
  326. package/.output/server/node_modules/google-auth-library/build/src/auth/jwtclient.js +301 -0
  327. package/.output/server/node_modules/google-auth-library/build/src/auth/loginticket.js +60 -0
  328. package/.output/server/node_modules/google-auth-library/build/src/auth/oauth2client.js +820 -0
  329. package/.output/server/node_modules/google-auth-library/build/src/auth/oauth2common.js +189 -0
  330. package/.output/server/node_modules/google-auth-library/build/src/auth/passthrough.js +60 -0
  331. package/.output/server/node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js +220 -0
  332. package/.output/server/node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.js +174 -0
  333. package/.output/server/node_modules/google-auth-library/build/src/auth/refreshclient.js +160 -0
  334. package/.output/server/node_modules/google-auth-library/build/src/auth/stscredentials.js +107 -0
  335. package/.output/server/node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.js +71 -0
  336. package/.output/server/node_modules/google-auth-library/build/src/crypto/browser/crypto.js +127 -0
  337. package/.output/server/node_modules/google-auth-library/build/src/crypto/crypto.js +54 -0
  338. package/.output/server/node_modules/google-auth-library/build/src/crypto/node/crypto.js +88 -0
  339. package/.output/server/node_modules/google-auth-library/build/src/crypto/shared.js +32 -0
  340. package/.output/server/node_modules/google-auth-library/build/src/gtoken/errorWithCode.js +25 -0
  341. package/.output/server/node_modules/google-auth-library/build/src/gtoken/getCredentials.js +132 -0
  342. package/.output/server/node_modules/google-auth-library/build/src/gtoken/getToken.js +66 -0
  343. package/.output/server/node_modules/google-auth-library/build/src/gtoken/googleToken.js +125 -0
  344. package/.output/server/node_modules/google-auth-library/build/src/gtoken/jwsSign.js +54 -0
  345. package/.output/server/node_modules/google-auth-library/build/src/gtoken/revokeToken.js +34 -0
  346. package/.output/server/node_modules/google-auth-library/build/src/gtoken/tokenHandler.js +97 -0
  347. package/.output/server/node_modules/google-auth-library/build/src/index.js +88 -0
  348. package/.output/server/node_modules/google-auth-library/build/src/shared.cjs +22 -0
  349. package/.output/server/node_modules/google-auth-library/build/src/util.js +176 -0
  350. package/.output/server/node_modules/google-auth-library/package.json +90 -0
  351. package/.output/server/node_modules/google-logging-utils/build/src/colours.js +81 -0
  352. package/.output/server/node_modules/google-logging-utils/build/src/index.js +31 -0
  353. package/.output/server/node_modules/google-logging-utils/build/src/logging-utils.js +437 -0
  354. package/.output/server/node_modules/google-logging-utils/package.json +45 -0
  355. package/.output/server/node_modules/graceful-fs/clone.js +23 -0
  356. package/.output/server/node_modules/graceful-fs/graceful-fs.js +448 -0
  357. package/.output/server/node_modules/graceful-fs/legacy-streams.js +118 -0
  358. package/.output/server/node_modules/graceful-fs/package.json +52 -0
  359. package/.output/server/node_modules/graceful-fs/polyfills.js +355 -0
  360. package/.output/server/node_modules/has-flag/index.js +8 -0
  361. package/.output/server/node_modules/has-flag/package.json +46 -0
  362. package/.output/server/node_modules/hookable/dist/index.mjs +257 -0
  363. package/.output/server/node_modules/hookable/package.json +54 -0
  364. package/.output/server/node_modules/https-proxy-agent/dist/index.js +180 -0
  365. package/.output/server/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
  366. package/.output/server/node_modules/https-proxy-agent/package.json +50 -0
  367. package/.output/server/node_modules/inherits/inherits.js +9 -0
  368. package/.output/server/node_modules/inherits/inherits_browser.js +27 -0
  369. package/.output/server/node_modules/inherits/package.json +29 -0
  370. package/.output/server/node_modules/is-stream/index.js +28 -0
  371. package/.output/server/node_modules/is-stream/package.json +42 -0
  372. package/.output/server/node_modules/isarray/index.js +5 -0
  373. package/.output/server/node_modules/isarray/package.json +45 -0
  374. package/.output/server/node_modules/json-bigint/index.js +12 -0
  375. package/.output/server/node_modules/json-bigint/lib/parse.js +443 -0
  376. package/.output/server/node_modules/json-bigint/lib/stringify.js +384 -0
  377. package/.output/server/node_modules/json-bigint/package.json +34 -0
  378. package/.output/server/node_modules/jwa/index.js +266 -0
  379. package/.output/server/node_modules/jwa/package.json +37 -0
  380. package/.output/server/node_modules/jws/index.js +22 -0
  381. package/.output/server/node_modules/jws/lib/data-stream.js +55 -0
  382. package/.output/server/node_modules/jws/lib/sign-stream.js +83 -0
  383. package/.output/server/node_modules/jws/lib/tostring.js +10 -0
  384. package/.output/server/node_modules/jws/lib/verify-stream.js +125 -0
  385. package/.output/server/node_modules/jws/package.json +34 -0
  386. package/.output/server/node_modules/lazystream/lib/lazystream.js +54 -0
  387. package/.output/server/node_modules/lazystream/package.json +46 -0
  388. package/.output/server/node_modules/lodash/_Hash.js +32 -0
  389. package/.output/server/node_modules/lodash/_ListCache.js +32 -0
  390. package/.output/server/node_modules/lodash/_Map.js +7 -0
  391. package/.output/server/node_modules/lodash/_MapCache.js +32 -0
  392. package/.output/server/node_modules/lodash/_Set.js +7 -0
  393. package/.output/server/node_modules/lodash/_SetCache.js +27 -0
  394. package/.output/server/node_modules/lodash/_Symbol.js +6 -0
  395. package/.output/server/node_modules/lodash/_apply.js +21 -0
  396. package/.output/server/node_modules/lodash/_arrayIncludes.js +17 -0
  397. package/.output/server/node_modules/lodash/_arrayIncludesWith.js +22 -0
  398. package/.output/server/node_modules/lodash/_arrayLikeKeys.js +49 -0
  399. package/.output/server/node_modules/lodash/_arrayMap.js +21 -0
  400. package/.output/server/node_modules/lodash/_arrayPush.js +20 -0
  401. package/.output/server/node_modules/lodash/_assocIndexOf.js +21 -0
  402. package/.output/server/node_modules/lodash/_baseDifference.js +67 -0
  403. package/.output/server/node_modules/lodash/_baseFindIndex.js +24 -0
  404. package/.output/server/node_modules/lodash/_baseFlatten.js +38 -0
  405. package/.output/server/node_modules/lodash/_baseGetTag.js +28 -0
  406. package/.output/server/node_modules/lodash/_baseIndexOf.js +20 -0
  407. package/.output/server/node_modules/lodash/_baseIsArguments.js +18 -0
  408. package/.output/server/node_modules/lodash/_baseIsNaN.js +12 -0
  409. package/.output/server/node_modules/lodash/_baseIsNative.js +47 -0
  410. package/.output/server/node_modules/lodash/_baseIsTypedArray.js +60 -0
  411. package/.output/server/node_modules/lodash/_baseKeysIn.js +33 -0
  412. package/.output/server/node_modules/lodash/_baseRest.js +17 -0
  413. package/.output/server/node_modules/lodash/_baseSetToString.js +22 -0
  414. package/.output/server/node_modules/lodash/_baseTimes.js +20 -0
  415. package/.output/server/node_modules/lodash/_baseUnary.js +14 -0
  416. package/.output/server/node_modules/lodash/_baseUniq.js +72 -0
  417. package/.output/server/node_modules/lodash/_cacheHas.js +13 -0
  418. package/.output/server/node_modules/lodash/_coreJsData.js +6 -0
  419. package/.output/server/node_modules/lodash/_createSet.js +19 -0
  420. package/.output/server/node_modules/lodash/_defineProperty.js +11 -0
  421. package/.output/server/node_modules/lodash/_freeGlobal.js +4 -0
  422. package/.output/server/node_modules/lodash/_getMapData.js +18 -0
  423. package/.output/server/node_modules/lodash/_getNative.js +17 -0
  424. package/.output/server/node_modules/lodash/_getPrototype.js +6 -0
  425. package/.output/server/node_modules/lodash/_getRawTag.js +46 -0
  426. package/.output/server/node_modules/lodash/_getValue.js +13 -0
  427. package/.output/server/node_modules/lodash/_hashClear.js +15 -0
  428. package/.output/server/node_modules/lodash/_hashDelete.js +17 -0
  429. package/.output/server/node_modules/lodash/_hashGet.js +30 -0
  430. package/.output/server/node_modules/lodash/_hashHas.js +23 -0
  431. package/.output/server/node_modules/lodash/_hashSet.js +23 -0
  432. package/.output/server/node_modules/lodash/_isFlattenable.js +20 -0
  433. package/.output/server/node_modules/lodash/_isIndex.js +25 -0
  434. package/.output/server/node_modules/lodash/_isIterateeCall.js +30 -0
  435. package/.output/server/node_modules/lodash/_isKeyable.js +15 -0
  436. package/.output/server/node_modules/lodash/_isMasked.js +20 -0
  437. package/.output/server/node_modules/lodash/_isPrototype.js +18 -0
  438. package/.output/server/node_modules/lodash/_listCacheClear.js +13 -0
  439. package/.output/server/node_modules/lodash/_listCacheDelete.js +35 -0
  440. package/.output/server/node_modules/lodash/_listCacheGet.js +19 -0
  441. package/.output/server/node_modules/lodash/_listCacheHas.js +16 -0
  442. package/.output/server/node_modules/lodash/_listCacheSet.js +26 -0
  443. package/.output/server/node_modules/lodash/_mapCacheClear.js +21 -0
  444. package/.output/server/node_modules/lodash/_mapCacheDelete.js +18 -0
  445. package/.output/server/node_modules/lodash/_mapCacheGet.js +16 -0
  446. package/.output/server/node_modules/lodash/_mapCacheHas.js +16 -0
  447. package/.output/server/node_modules/lodash/_mapCacheSet.js +22 -0
  448. package/.output/server/node_modules/lodash/_nativeCreate.js +6 -0
  449. package/.output/server/node_modules/lodash/_nativeKeysIn.js +20 -0
  450. package/.output/server/node_modules/lodash/_nodeUtil.js +30 -0
  451. package/.output/server/node_modules/lodash/_objectToString.js +22 -0
  452. package/.output/server/node_modules/lodash/_overArg.js +15 -0
  453. package/.output/server/node_modules/lodash/_overRest.js +36 -0
  454. package/.output/server/node_modules/lodash/_root.js +9 -0
  455. package/.output/server/node_modules/lodash/_setCacheAdd.js +19 -0
  456. package/.output/server/node_modules/lodash/_setCacheHas.js +14 -0
  457. package/.output/server/node_modules/lodash/_setToArray.js +18 -0
  458. package/.output/server/node_modules/lodash/_setToString.js +14 -0
  459. package/.output/server/node_modules/lodash/_shortOut.js +37 -0
  460. package/.output/server/node_modules/lodash/_strictIndexOf.js +23 -0
  461. package/.output/server/node_modules/lodash/_toSource.js +26 -0
  462. package/.output/server/node_modules/lodash/constant.js +26 -0
  463. package/.output/server/node_modules/lodash/defaults.js +64 -0
  464. package/.output/server/node_modules/lodash/difference.js +33 -0
  465. package/.output/server/node_modules/lodash/eq.js +37 -0
  466. package/.output/server/node_modules/lodash/flatten.js +22 -0
  467. package/.output/server/node_modules/lodash/identity.js +21 -0
  468. package/.output/server/node_modules/lodash/isArguments.js +36 -0
  469. package/.output/server/node_modules/lodash/isArray.js +26 -0
  470. package/.output/server/node_modules/lodash/isArrayLike.js +33 -0
  471. package/.output/server/node_modules/lodash/isArrayLikeObject.js +33 -0
  472. package/.output/server/node_modules/lodash/isBuffer.js +38 -0
  473. package/.output/server/node_modules/lodash/isFunction.js +37 -0
  474. package/.output/server/node_modules/lodash/isLength.js +35 -0
  475. package/.output/server/node_modules/lodash/isObject.js +31 -0
  476. package/.output/server/node_modules/lodash/isObjectLike.js +29 -0
  477. package/.output/server/node_modules/lodash/isPlainObject.js +62 -0
  478. package/.output/server/node_modules/lodash/isTypedArray.js +27 -0
  479. package/.output/server/node_modules/lodash/keysIn.js +32 -0
  480. package/.output/server/node_modules/lodash/noop.js +17 -0
  481. package/.output/server/node_modules/lodash/package.json +19 -0
  482. package/.output/server/node_modules/lodash/stubFalse.js +18 -0
  483. package/.output/server/node_modules/lodash/union.js +26 -0
  484. package/.output/server/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
  485. package/.output/server/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  486. package/.output/server/node_modules/lru-cache/package.json +116 -0
  487. package/.output/server/node_modules/lucide-vue-next/dist/cjs/lucide-vue-next.js +21273 -0
  488. package/.output/server/node_modules/lucide-vue-next/package.json +64 -0
  489. package/.output/server/node_modules/minipass/dist/commonjs/index.js +1038 -0
  490. package/.output/server/node_modules/minipass/dist/commonjs/package.json +3 -0
  491. package/.output/server/node_modules/minipass/package.json +77 -0
  492. package/.output/server/node_modules/ms/index.js +162 -0
  493. package/.output/server/node_modules/ms/package.json +38 -0
  494. package/.output/server/node_modules/node-domexception/index.js +16 -0
  495. package/.output/server/node_modules/node-domexception/package.json +29 -0
  496. package/.output/server/node_modules/node-fetch/package.json +131 -0
  497. package/.output/server/node_modules/node-fetch/src/body.js +397 -0
  498. package/.output/server/node_modules/node-fetch/src/errors/abort-error.js +10 -0
  499. package/.output/server/node_modules/node-fetch/src/errors/base.js +17 -0
  500. package/.output/server/node_modules/node-fetch/src/errors/fetch-error.js +26 -0
  501. package/.output/server/node_modules/node-fetch/src/headers.js +267 -0
  502. package/.output/server/node_modules/node-fetch/src/index.js +417 -0
  503. package/.output/server/node_modules/node-fetch/src/request.js +313 -0
  504. package/.output/server/node_modules/node-fetch/src/response.js +160 -0
  505. package/.output/server/node_modules/node-fetch/src/utils/get-search.js +9 -0
  506. package/.output/server/node_modules/node-fetch/src/utils/is-redirect.js +11 -0
  507. package/.output/server/node_modules/node-fetch/src/utils/is.js +87 -0
  508. package/.output/server/node_modules/node-fetch/src/utils/multipart-parser.js +432 -0
  509. package/.output/server/node_modules/node-fetch/src/utils/referrer.js +340 -0
  510. package/.output/server/node_modules/normalize-path/index.js +35 -0
  511. package/.output/server/node_modules/normalize-path/package.json +77 -0
  512. package/.output/server/node_modules/p-retry/index.js +85 -0
  513. package/.output/server/node_modules/p-retry/package.json +51 -0
  514. package/.output/server/node_modules/parse5/dist/common/doctype.js +114 -0
  515. package/.output/server/node_modules/parse5/dist/common/error-codes.js +63 -0
  516. package/.output/server/node_modules/parse5/dist/common/foreign-content.js +228 -0
  517. package/.output/server/node_modules/parse5/dist/common/html.js +523 -0
  518. package/.output/server/node_modules/parse5/dist/common/token.js +20 -0
  519. package/.output/server/node_modules/parse5/dist/common/unicode.js +62 -0
  520. package/.output/server/node_modules/parse5/dist/index.js +42 -0
  521. package/.output/server/node_modules/parse5/dist/parser/formatting-element-list.js +110 -0
  522. package/.output/server/node_modules/parse5/dist/parser/index.js +3245 -0
  523. package/.output/server/node_modules/parse5/dist/parser/open-element-stack.js +324 -0
  524. package/.output/server/node_modules/parse5/dist/serializer/index.js +168 -0
  525. package/.output/server/node_modules/parse5/dist/tokenizer/index.js +2710 -0
  526. package/.output/server/node_modules/parse5/dist/tokenizer/preprocessor.js +196 -0
  527. package/.output/server/node_modules/parse5/dist/tree-adapters/default.js +173 -0
  528. package/.output/server/node_modules/parse5/package.json +50 -0
  529. package/.output/server/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
  530. package/.output/server/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  531. package/.output/server/node_modules/path-scurry/package.json +89 -0
  532. package/.output/server/node_modules/playwright/index.mjs +18 -0
  533. package/.output/server/node_modules/playwright/package.json +50 -0
  534. package/.output/server/node_modules/playwright-core/browsers.json +52 -0
  535. package/.output/server/node_modules/playwright-core/index.js +17 -0
  536. package/.output/server/node_modules/playwright-core/index.mjs +28 -0
  537. package/.output/server/node_modules/playwright-core/lib/bootstrap.js +149 -0
  538. package/.output/server/node_modules/playwright-core/lib/coreBundle.js +78764 -0
  539. package/.output/server/node_modules/playwright-core/lib/utilsBundle.js +92408 -0
  540. package/.output/server/node_modules/playwright-core/package.json +34 -0
  541. package/.output/server/node_modules/process/index.js +2 -0
  542. package/.output/server/node_modules/process/package.json +27 -0
  543. package/.output/server/node_modules/process-nextick-args/index.js +45 -0
  544. package/.output/server/node_modules/process-nextick-args/package.json +25 -0
  545. package/.output/server/node_modules/readdir-glob/index.js +243 -0
  546. package/.output/server/node_modules/readdir-glob/package.json +43 -0
  547. package/.output/server/node_modules/retry/index.js +1 -0
  548. package/.output/server/node_modules/retry/lib/retry.js +100 -0
  549. package/.output/server/node_modules/retry/lib/retry_operation.js +162 -0
  550. package/.output/server/node_modules/retry/package.json +36 -0
  551. package/.output/server/node_modules/source-map-js/lib/array-set.js +123 -0
  552. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +136 -0
  553. package/.output/server/node_modules/source-map-js/lib/base64.js +68 -0
  554. package/.output/server/node_modules/source-map-js/lib/binary-search.js +115 -0
  555. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +84 -0
  556. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +211 -0
  557. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1314 -0
  558. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +486 -0
  559. package/.output/server/node_modules/source-map-js/lib/source-node.js +446 -0
  560. package/.output/server/node_modules/source-map-js/lib/util.js +613 -0
  561. package/.output/server/node_modules/source-map-js/package.json +78 -0
  562. package/.output/server/node_modules/source-map-js/source-map.js +10 -0
  563. package/.output/server/node_modules/streamx/index.js +1314 -0
  564. package/.output/server/node_modules/streamx/lib/errors.js +47 -0
  565. package/.output/server/node_modules/streamx/package.json +51 -0
  566. package/.output/server/node_modules/supports-color/index.js +135 -0
  567. package/.output/server/node_modules/supports-color/package.json +53 -0
  568. package/.output/server/node_modules/tar-stream/constants.js +14 -0
  569. package/.output/server/node_modules/tar-stream/extract.js +418 -0
  570. package/.output/server/node_modules/tar-stream/headers.js +322 -0
  571. package/.output/server/node_modules/tar-stream/index.js +2 -0
  572. package/.output/server/node_modules/tar-stream/pack.js +287 -0
  573. package/.output/server/node_modules/tar-stream/package.json +50 -0
  574. package/.output/server/node_modules/text-decoder/index.js +64 -0
  575. package/.output/server/node_modules/text-decoder/lib/pass-through-decoder.js +19 -0
  576. package/.output/server/node_modules/text-decoder/lib/utf8-decoder.js +185 -0
  577. package/.output/server/node_modules/text-decoder/package.json +39 -0
  578. package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
  579. package/.output/server/node_modules/ufo/package.json +48 -0
  580. package/.output/server/node_modules/unhead/dist/index.mjs +9 -0
  581. package/.output/server/node_modules/unhead/dist/plugins.mjs +103 -0
  582. package/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
  583. package/.output/server/node_modules/unhead/dist/server.mjs +191 -0
  584. package/.output/server/node_modules/unhead/dist/shared/unhead.0TIQaUam.mjs +244 -0
  585. package/.output/server/node_modules/unhead/dist/shared/unhead.AtIkjM2B.mjs +166 -0
  586. package/.output/server/node_modules/unhead/dist/shared/unhead.AvDFlk_u.mjs +39 -0
  587. package/.output/server/node_modules/unhead/dist/shared/unhead.B0o2oYhg.mjs +317 -0
  588. package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
  589. package/.output/server/node_modules/unhead/dist/shared/unhead.ByHeIeZd.mjs +184 -0
  590. package/.output/server/node_modules/unhead/dist/shared/unhead.C-69jnXc.mjs +44 -0
  591. package/.output/server/node_modules/unhead/dist/shared/unhead.ChXiQvI8.mjs +76 -0
  592. package/.output/server/node_modules/unhead/dist/shared/unhead.DWXHYkPf.mjs +366 -0
  593. package/.output/server/node_modules/unhead/dist/shared/unhead.h_KkEIE6.mjs +196 -0
  594. package/.output/server/node_modules/unhead/dist/shared/unhead.ylJpsHyA.mjs +255 -0
  595. package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
  596. package/.output/server/node_modules/unhead/package.json +106 -0
  597. package/.output/server/node_modules/util-deprecate/node.js +6 -0
  598. package/.output/server/node_modules/util-deprecate/package.json +27 -0
  599. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  600. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  601. package/.output/server/node_modules/vue/index.js +7 -0
  602. package/.output/server/node_modules/vue/index.mjs +1 -0
  603. package/.output/server/node_modules/vue/package.json +112 -0
  604. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  605. package/.output/server/node_modules/vue-bundle-renderer/dist/dependencies-VCG-RX19.mjs +118 -0
  606. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +673 -0
  607. package/.output/server/node_modules/vue-bundle-renderer/package.json +66 -0
  608. package/.output/server/node_modules/vue-router/dist/devtools-C3Hva4Qk.mjs +1220 -0
  609. package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1561 -0
  610. package/.output/server/node_modules/vue-router/package.json +156 -0
  611. package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
  612. package/.output/server/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +4737 -0
  613. package/.output/server/node_modules/web-streams-polyfill/package.json +83 -0
  614. package/.output/server/node_modules/ws/lib/buffer-util.js +142 -0
  615. package/.output/server/node_modules/ws/lib/constants.js +19 -0
  616. package/.output/server/node_modules/ws/lib/event-target.js +292 -0
  617. package/.output/server/node_modules/ws/lib/extension.js +203 -0
  618. package/.output/server/node_modules/ws/lib/limiter.js +55 -0
  619. package/.output/server/node_modules/ws/lib/permessage-deflate.js +530 -0
  620. package/.output/server/node_modules/ws/lib/receiver.js +751 -0
  621. package/.output/server/node_modules/ws/lib/sender.js +610 -0
  622. package/.output/server/node_modules/ws/lib/stream.js +161 -0
  623. package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
  624. package/.output/server/node_modules/ws/lib/validation.js +152 -0
  625. package/.output/server/node_modules/ws/lib/websocket-server.js +565 -0
  626. package/.output/server/node_modules/ws/lib/websocket.js +1471 -0
  627. package/.output/server/node_modules/ws/package.json +74 -0
  628. package/.output/server/node_modules/ws/wrapper.mjs +21 -0
  629. package/.output/server/node_modules/zip-stream/index.js +187 -0
  630. package/.output/server/node_modules/zip-stream/package.json +49 -0
  631. package/.output/server/node_modules/zod/index.js +4 -0
  632. package/.output/server/node_modules/zod/package.json +118 -0
  633. package/.output/server/node_modules/zod/v3/ZodError.js +133 -0
  634. package/.output/server/node_modules/zod/v3/errors.js +9 -0
  635. package/.output/server/node_modules/zod/v3/external.js +6 -0
  636. package/.output/server/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  637. package/.output/server/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  638. package/.output/server/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  639. package/.output/server/node_modules/zod/v3/helpers/util.js +133 -0
  640. package/.output/server/node_modules/zod/v3/locales/en.js +109 -0
  641. package/.output/server/node_modules/zod/v3/types.js +3693 -0
  642. package/.output/server/package.json +99 -0
  643. package/README.md +116 -2
  644. package/bin/cli.js +189 -0
  645. package/data/drafts.json +1 -0
  646. package/data/history.json +59 -0
  647. package/package.json +39 -4
  648. package/public/audio/cyber_future_tech.mp3 +0 -0
  649. package/public/audio/dark_phonk_pulse.mp3 +0 -0
  650. package/public/audio/deep_finance_groove.mp3 +0 -0
  651. package/public/audio/lofi_viral_study.mp3 +0 -0
  652. package/public/audio/motivation_cinematic.mp3 +0 -0
  653. package/public/videos/cyber_blue.mp4 +0 -0
  654. package/public/videos/cyber_matrix_stream.mp4 +0 -0
  655. package/public/videos/cyber_pulse.mp4 +0 -0
  656. package/public/videos/dark_luxury_particles.mp4 +0 -0
  657. package/public/videos/default_bg.mp4 +0 -0
  658. package/public/videos/emerald_flow.mp4 +0 -0
  659. package/public/videos/financial_pulse_flow.mp4 +0 -0
  660. package/public/videos/neon_cyber_grid.mp4 +0 -0
@@ -0,0 +1,1937 @@
1
+ /**
2
+ * @vue/reactivity v3.5.46
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/
6
+ 'use strict';
7
+
8
+ Object.defineProperty(exports, '__esModule', { value: true });
9
+
10
+ var shared = require('@vue/shared');
11
+
12
+ let activeEffectScope;
13
+ class EffectScope {
14
+ // TODO isolatedDeclarations "__v_skip"
15
+ constructor(detached = false) {
16
+ this.detached = detached;
17
+ /**
18
+ * @internal
19
+ */
20
+ this._active = true;
21
+ /**
22
+ * @internal track `on` calls, allow `on` call multiple times
23
+ */
24
+ this._on = 0;
25
+ /**
26
+ * @internal
27
+ */
28
+ this.effects = [];
29
+ /**
30
+ * @internal
31
+ */
32
+ this.cleanups = [];
33
+ this._isPaused = false;
34
+ this._warnOnRun = true;
35
+ this.__v_skip = true;
36
+ if (!detached && activeEffectScope) {
37
+ if (activeEffectScope.active) {
38
+ this.parent = activeEffectScope;
39
+ this.index = (activeEffectScope.scopes || (activeEffectScope.scopes = [])).push(
40
+ this
41
+ ) - 1;
42
+ } else {
43
+ this._active = false;
44
+ this._warnOnRun = false;
45
+ }
46
+ }
47
+ }
48
+ get active() {
49
+ return this._active;
50
+ }
51
+ pause() {
52
+ if (this._active) {
53
+ this._isPaused = true;
54
+ let i, l;
55
+ if (this.scopes) {
56
+ const scopes = this.scopes.slice();
57
+ for (i = 0, l = scopes.length; i < l; i++) {
58
+ scopes[i].pause();
59
+ }
60
+ }
61
+ for (i = 0, l = this.effects.length; i < l; i++) {
62
+ this.effects[i].pause();
63
+ }
64
+ }
65
+ }
66
+ /**
67
+ * Resumes the effect scope, including all child scopes and effects.
68
+ */
69
+ resume() {
70
+ if (this._active) {
71
+ if (this._isPaused) {
72
+ this._isPaused = false;
73
+ let i, l;
74
+ if (this.scopes) {
75
+ const scopes = this.scopes.slice();
76
+ for (i = 0, l = scopes.length; i < l; i++) {
77
+ scopes[i].resume();
78
+ }
79
+ }
80
+ const effects = this.effects.slice();
81
+ for (i = 0, l = effects.length; i < l; i++) {
82
+ effects[i].resume();
83
+ }
84
+ }
85
+ }
86
+ }
87
+ run(fn) {
88
+ if (this._active) {
89
+ const currentEffectScope = activeEffectScope;
90
+ try {
91
+ activeEffectScope = this;
92
+ return fn();
93
+ } finally {
94
+ activeEffectScope = currentEffectScope;
95
+ }
96
+ }
97
+ }
98
+ /**
99
+ * This should only be called on non-detached scopes
100
+ * @internal
101
+ */
102
+ on() {
103
+ if (++this._on === 1) {
104
+ this.prevScope = activeEffectScope;
105
+ activeEffectScope = this;
106
+ }
107
+ }
108
+ /**
109
+ * This should only be called on non-detached scopes
110
+ * @internal
111
+ */
112
+ off() {
113
+ if (this._on > 0 && --this._on === 0) {
114
+ if (activeEffectScope === this) {
115
+ activeEffectScope = this.prevScope;
116
+ } else {
117
+ let current = activeEffectScope;
118
+ while (current) {
119
+ if (current.prevScope === this) {
120
+ current.prevScope = this.prevScope;
121
+ break;
122
+ }
123
+ current = current.prevScope;
124
+ }
125
+ }
126
+ this.prevScope = void 0;
127
+ }
128
+ }
129
+ stop(fromParent) {
130
+ if (this._active) {
131
+ this._active = false;
132
+ let i, l;
133
+ for (i = 0, l = this.effects.length; i < l; i++) {
134
+ this.effects[i].stop();
135
+ }
136
+ this.effects.length = 0;
137
+ for (i = 0, l = this.cleanups.length; i < l; i++) {
138
+ this.cleanups[i]();
139
+ }
140
+ this.cleanups.length = 0;
141
+ if (this.scopes) {
142
+ const scopes = this.scopes.slice();
143
+ for (i = 0, l = scopes.length; i < l; i++) {
144
+ scopes[i].stop(true);
145
+ }
146
+ this.scopes.length = 0;
147
+ }
148
+ if (!this.detached && this.parent && !fromParent) {
149
+ const last = this.parent.scopes.pop();
150
+ if (last && last !== this) {
151
+ this.parent.scopes[this.index] = last;
152
+ last.index = this.index;
153
+ }
154
+ }
155
+ this.parent = void 0;
156
+ }
157
+ }
158
+ }
159
+ function effectScope(detached) {
160
+ return new EffectScope(detached);
161
+ }
162
+ function getCurrentScope() {
163
+ return activeEffectScope;
164
+ }
165
+ function onScopeDispose(fn, failSilently = false) {
166
+ if (activeEffectScope) {
167
+ if (activeEffectScope.active) {
168
+ activeEffectScope.cleanups.push(fn);
169
+ } else {
170
+ fn();
171
+ }
172
+ }
173
+ }
174
+
175
+ let activeSub;
176
+ const EffectFlags = {
177
+ "ACTIVE": 1,
178
+ "1": "ACTIVE",
179
+ "RUNNING": 2,
180
+ "2": "RUNNING",
181
+ "TRACKING": 4,
182
+ "4": "TRACKING",
183
+ "NOTIFIED": 8,
184
+ "8": "NOTIFIED",
185
+ "DIRTY": 16,
186
+ "16": "DIRTY",
187
+ "ALLOW_RECURSE": 32,
188
+ "32": "ALLOW_RECURSE",
189
+ "PAUSED": 64,
190
+ "64": "PAUSED",
191
+ "EVALUATED": 128,
192
+ "128": "EVALUATED"
193
+ };
194
+ const pausedQueueEffects = /* @__PURE__ */ new WeakSet();
195
+ class ReactiveEffect {
196
+ constructor(fn) {
197
+ this.fn = fn;
198
+ /**
199
+ * @internal
200
+ */
201
+ this.deps = void 0;
202
+ /**
203
+ * @internal
204
+ */
205
+ this.depsTail = void 0;
206
+ /**
207
+ * @internal
208
+ */
209
+ this.flags = 1 | 4;
210
+ /**
211
+ * @internal
212
+ */
213
+ this.next = void 0;
214
+ /**
215
+ * @internal
216
+ */
217
+ this.cleanup = void 0;
218
+ this.scheduler = void 0;
219
+ if (activeEffectScope) {
220
+ if (activeEffectScope.active) {
221
+ activeEffectScope.effects.push(this);
222
+ } else {
223
+ this.flags &= -2;
224
+ }
225
+ }
226
+ }
227
+ pause() {
228
+ this.flags |= 64;
229
+ }
230
+ resume() {
231
+ if (this.flags & 64) {
232
+ this.flags &= -65;
233
+ if (pausedQueueEffects.has(this)) {
234
+ pausedQueueEffects.delete(this);
235
+ this.trigger();
236
+ }
237
+ }
238
+ }
239
+ /**
240
+ * @internal
241
+ */
242
+ notify() {
243
+ if (this.flags & 2 && !(this.flags & 32)) {
244
+ return;
245
+ }
246
+ if (!(this.flags & 8)) {
247
+ batch(this);
248
+ }
249
+ }
250
+ run() {
251
+ if (!(this.flags & 1)) {
252
+ return this.fn();
253
+ }
254
+ this.flags |= 2;
255
+ cleanupEffect(this);
256
+ prepareDeps(this);
257
+ const prevEffect = activeSub;
258
+ const prevShouldTrack = shouldTrack;
259
+ activeSub = this;
260
+ shouldTrack = true;
261
+ try {
262
+ return this.fn();
263
+ } finally {
264
+ cleanupDeps(this);
265
+ activeSub = prevEffect;
266
+ shouldTrack = prevShouldTrack;
267
+ this.flags &= -3;
268
+ }
269
+ }
270
+ stop() {
271
+ if (this.flags & 1) {
272
+ for (let link = this.deps; link; link = link.nextDep) {
273
+ removeSub(link);
274
+ }
275
+ this.deps = this.depsTail = void 0;
276
+ cleanupEffect(this);
277
+ this.onStop && this.onStop();
278
+ this.flags &= -2;
279
+ }
280
+ }
281
+ trigger() {
282
+ if (this.flags & 64) {
283
+ pausedQueueEffects.add(this);
284
+ } else if (this.scheduler) {
285
+ this.scheduler();
286
+ } else {
287
+ this.runIfDirty();
288
+ }
289
+ }
290
+ /**
291
+ * @internal
292
+ */
293
+ runIfDirty() {
294
+ if (isDirty(this)) {
295
+ this.run();
296
+ }
297
+ }
298
+ get dirty() {
299
+ return isDirty(this);
300
+ }
301
+ }
302
+ let batchDepth = 0;
303
+ let batchedSub;
304
+ let batchedComputed;
305
+ function batch(sub, isComputed = false) {
306
+ sub.flags |= 8;
307
+ if (isComputed) {
308
+ sub.next = batchedComputed;
309
+ batchedComputed = sub;
310
+ return;
311
+ }
312
+ sub.next = batchedSub;
313
+ batchedSub = sub;
314
+ }
315
+ function startBatch() {
316
+ batchDepth++;
317
+ }
318
+ function endBatch() {
319
+ if (--batchDepth > 0) {
320
+ return;
321
+ }
322
+ if (batchedComputed) {
323
+ let e = batchedComputed;
324
+ batchedComputed = void 0;
325
+ while (e) {
326
+ const next = e.next;
327
+ e.next = void 0;
328
+ e.flags &= -9;
329
+ e = next;
330
+ }
331
+ }
332
+ let error;
333
+ while (batchedSub) {
334
+ let e = batchedSub;
335
+ batchedSub = void 0;
336
+ while (e) {
337
+ const next = e.next;
338
+ e.next = void 0;
339
+ e.flags &= -9;
340
+ if (e.flags & 1) {
341
+ try {
342
+ ;
343
+ e.trigger();
344
+ } catch (err) {
345
+ if (!error) error = err;
346
+ }
347
+ }
348
+ e = next;
349
+ }
350
+ }
351
+ if (error) throw error;
352
+ }
353
+ function prepareDeps(sub) {
354
+ for (let link = sub.deps; link; link = link.nextDep) {
355
+ link.version = -1;
356
+ link.prevActiveLink = link.dep.activeLink;
357
+ link.dep.activeLink = link;
358
+ }
359
+ }
360
+ function cleanupDeps(sub) {
361
+ let head;
362
+ let tail = sub.depsTail;
363
+ let link = tail;
364
+ while (link) {
365
+ const prev = link.prevDep;
366
+ if (link.version === -1) {
367
+ if (link === tail) tail = prev;
368
+ removeSub(link);
369
+ removeDep(link);
370
+ } else {
371
+ head = link;
372
+ }
373
+ link.dep.activeLink = link.prevActiveLink;
374
+ link.prevActiveLink = void 0;
375
+ link = prev;
376
+ }
377
+ sub.deps = head;
378
+ sub.depsTail = tail;
379
+ }
380
+ function isDirty(sub) {
381
+ for (let link = sub.deps; link; link = link.nextDep) {
382
+ if (link.dep.version !== link.version || link.dep.computed && (refreshComputed(link.dep.computed) || link.dep.version !== link.version)) {
383
+ return true;
384
+ }
385
+ }
386
+ if (sub._dirty) {
387
+ return true;
388
+ }
389
+ return false;
390
+ }
391
+ function refreshComputed(computed) {
392
+ if (computed.flags & 4 && !(computed.flags & 16)) {
393
+ return;
394
+ }
395
+ computed.flags &= -17;
396
+ if (computed.globalVersion === globalVersion) {
397
+ return;
398
+ }
399
+ computed.globalVersion = globalVersion;
400
+ if (!computed.isSSR && computed.flags & 128 && (!computed.deps && !computed._dirty || !isDirty(computed))) {
401
+ return;
402
+ }
403
+ computed.flags |= 2;
404
+ const dep = computed.dep;
405
+ const prevSub = activeSub;
406
+ const prevShouldTrack = shouldTrack;
407
+ activeSub = computed;
408
+ shouldTrack = true;
409
+ try {
410
+ prepareDeps(computed);
411
+ const value = computed.fn(computed._value);
412
+ if (dep.version === 0 || shared.hasChanged(value, computed._value)) {
413
+ computed.flags |= 128;
414
+ computed._value = value;
415
+ dep.version++;
416
+ }
417
+ } catch (err) {
418
+ dep.version++;
419
+ throw err;
420
+ } finally {
421
+ activeSub = prevSub;
422
+ shouldTrack = prevShouldTrack;
423
+ cleanupDeps(computed);
424
+ computed.flags &= -3;
425
+ }
426
+ }
427
+ function removeSub(link, soft = false) {
428
+ const { dep, prevSub, nextSub } = link;
429
+ if (prevSub) {
430
+ prevSub.nextSub = nextSub;
431
+ link.prevSub = void 0;
432
+ }
433
+ if (nextSub) {
434
+ nextSub.prevSub = prevSub;
435
+ link.nextSub = void 0;
436
+ }
437
+ if (dep.subs === link) {
438
+ dep.subs = prevSub;
439
+ if (!prevSub && dep.computed) {
440
+ dep.computed.flags &= -5;
441
+ for (let l = dep.computed.deps; l; l = l.nextDep) {
442
+ removeSub(l, true);
443
+ }
444
+ }
445
+ }
446
+ if (!soft && !--dep.sc && dep.map) {
447
+ dep.map.delete(dep.key);
448
+ }
449
+ }
450
+ function removeDep(link) {
451
+ const { prevDep, nextDep } = link;
452
+ if (prevDep) {
453
+ prevDep.nextDep = nextDep;
454
+ link.prevDep = void 0;
455
+ }
456
+ if (nextDep) {
457
+ nextDep.prevDep = prevDep;
458
+ link.nextDep = void 0;
459
+ }
460
+ }
461
+ function effect(fn, options) {
462
+ if (fn.effect instanceof ReactiveEffect) {
463
+ fn = fn.effect.fn;
464
+ }
465
+ const e = new ReactiveEffect(fn);
466
+ if (options) {
467
+ shared.extend(e, options);
468
+ }
469
+ try {
470
+ e.run();
471
+ } catch (err) {
472
+ e.stop();
473
+ throw err;
474
+ }
475
+ const runner = e.run.bind(e);
476
+ runner.effect = e;
477
+ return runner;
478
+ }
479
+ function stop(runner) {
480
+ runner.effect.stop();
481
+ }
482
+ let shouldTrack = true;
483
+ const trackStack = [];
484
+ function pauseTracking() {
485
+ trackStack.push(shouldTrack);
486
+ shouldTrack = false;
487
+ }
488
+ function enableTracking() {
489
+ trackStack.push(shouldTrack);
490
+ shouldTrack = true;
491
+ }
492
+ function resetTracking() {
493
+ const last = trackStack.pop();
494
+ shouldTrack = last === void 0 ? true : last;
495
+ }
496
+ function onEffectCleanup(fn, failSilently = false) {
497
+ if (activeSub instanceof ReactiveEffect) {
498
+ activeSub.cleanup = fn;
499
+ }
500
+ }
501
+ function cleanupEffect(e) {
502
+ const { cleanup } = e;
503
+ e.cleanup = void 0;
504
+ if (cleanup) {
505
+ const prevSub = activeSub;
506
+ activeSub = void 0;
507
+ try {
508
+ cleanup();
509
+ } finally {
510
+ activeSub = prevSub;
511
+ }
512
+ }
513
+ }
514
+
515
+ let globalVersion = 0;
516
+ class Link {
517
+ constructor(sub, dep) {
518
+ this.sub = sub;
519
+ this.dep = dep;
520
+ this.version = dep.version;
521
+ this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
522
+ }
523
+ }
524
+ class Dep {
525
+ // TODO isolatedDeclarations "__v_skip"
526
+ constructor(computed) {
527
+ this.computed = computed;
528
+ this.version = 0;
529
+ /**
530
+ * Link between this dep and the current active effect
531
+ */
532
+ this.activeLink = void 0;
533
+ /**
534
+ * Doubly linked list representing the subscribing effects (tail)
535
+ */
536
+ this.subs = void 0;
537
+ /**
538
+ * For object property deps cleanup
539
+ */
540
+ this.map = void 0;
541
+ this.key = void 0;
542
+ /**
543
+ * Subscriber counter
544
+ */
545
+ this.sc = 0;
546
+ /**
547
+ * @internal
548
+ */
549
+ this.__v_skip = true;
550
+ }
551
+ track(debugInfo) {
552
+ if (!activeSub || !shouldTrack || activeSub === this.computed) {
553
+ return;
554
+ }
555
+ let link = this.activeLink;
556
+ if (link === void 0 || link.sub !== activeSub) {
557
+ link = this.activeLink = new Link(activeSub, this);
558
+ if (!activeSub.deps) {
559
+ activeSub.deps = activeSub.depsTail = link;
560
+ } else {
561
+ link.prevDep = activeSub.depsTail;
562
+ activeSub.depsTail.nextDep = link;
563
+ activeSub.depsTail = link;
564
+ }
565
+ addSub(link);
566
+ } else if (link.version === -1) {
567
+ link.version = this.version;
568
+ if (link.nextDep) {
569
+ const next = link.nextDep;
570
+ next.prevDep = link.prevDep;
571
+ if (link.prevDep) {
572
+ link.prevDep.nextDep = next;
573
+ }
574
+ link.prevDep = activeSub.depsTail;
575
+ link.nextDep = void 0;
576
+ activeSub.depsTail.nextDep = link;
577
+ activeSub.depsTail = link;
578
+ if (activeSub.deps === link) {
579
+ activeSub.deps = next;
580
+ }
581
+ }
582
+ }
583
+ return link;
584
+ }
585
+ trigger(debugInfo) {
586
+ this.version++;
587
+ globalVersion++;
588
+ this.notify(debugInfo);
589
+ }
590
+ notify(debugInfo) {
591
+ startBatch();
592
+ try {
593
+ if (false) ;
594
+ for (let link = this.subs; link; link = link.prevSub) {
595
+ if (link.sub.notify()) {
596
+ ;
597
+ link.sub.dep.notify();
598
+ }
599
+ }
600
+ } finally {
601
+ endBatch();
602
+ }
603
+ }
604
+ }
605
+ function addSub(link) {
606
+ link.dep.sc++;
607
+ if (link.sub.flags & 4) {
608
+ const computed = link.dep.computed;
609
+ if (computed && !link.dep.subs) {
610
+ computed.flags |= 4 | 16;
611
+ for (let l = computed.deps; l; l = l.nextDep) {
612
+ addSub(l);
613
+ }
614
+ }
615
+ const currentTail = link.dep.subs;
616
+ if (currentTail !== link) {
617
+ link.prevSub = currentTail;
618
+ if (currentTail) currentTail.nextSub = link;
619
+ }
620
+ link.dep.subs = link;
621
+ }
622
+ }
623
+ const targetMap = /* @__PURE__ */ new WeakMap();
624
+ const ITERATE_KEY = /* @__PURE__ */ Symbol(
625
+ ""
626
+ );
627
+ const MAP_KEY_ITERATE_KEY = /* @__PURE__ */ Symbol(
628
+ ""
629
+ );
630
+ const ARRAY_ITERATE_KEY = /* @__PURE__ */ Symbol(
631
+ ""
632
+ );
633
+ function track(target, type, key) {
634
+ if (shouldTrack && activeSub) {
635
+ let depsMap = targetMap.get(target);
636
+ if (!depsMap) {
637
+ targetMap.set(target, depsMap = /* @__PURE__ */ new Map());
638
+ }
639
+ let dep = depsMap.get(key);
640
+ if (!dep) {
641
+ depsMap.set(key, dep = new Dep());
642
+ dep.map = depsMap;
643
+ dep.key = key;
644
+ }
645
+ {
646
+ dep.track();
647
+ }
648
+ }
649
+ }
650
+ function trigger(target, type, key, newValue, oldValue, oldTarget) {
651
+ const depsMap = targetMap.get(target);
652
+ if (!depsMap) {
653
+ globalVersion++;
654
+ return;
655
+ }
656
+ const run = (dep) => {
657
+ if (dep) {
658
+ {
659
+ dep.trigger();
660
+ }
661
+ }
662
+ };
663
+ startBatch();
664
+ if (type === "clear") {
665
+ depsMap.forEach(run);
666
+ } else {
667
+ const targetIsArray = shared.isArray(target);
668
+ const isArrayIndex = targetIsArray && shared.isIntegerKey(key);
669
+ if (targetIsArray && key === "length") {
670
+ const newLength = Number(newValue);
671
+ depsMap.forEach((dep, key2) => {
672
+ if (key2 === "length" || key2 === ARRAY_ITERATE_KEY || !shared.isSymbol(key2) && key2 >= newLength) {
673
+ run(dep);
674
+ }
675
+ });
676
+ } else {
677
+ if (key !== void 0 || depsMap.has(void 0)) {
678
+ run(depsMap.get(key));
679
+ }
680
+ if (isArrayIndex) {
681
+ run(depsMap.get(ARRAY_ITERATE_KEY));
682
+ }
683
+ switch (type) {
684
+ case "add":
685
+ if (!targetIsArray) {
686
+ run(depsMap.get(ITERATE_KEY));
687
+ if (shared.isMap(target)) {
688
+ run(depsMap.get(MAP_KEY_ITERATE_KEY));
689
+ }
690
+ } else if (isArrayIndex) {
691
+ run(depsMap.get("length"));
692
+ }
693
+ break;
694
+ case "delete":
695
+ if (!targetIsArray) {
696
+ run(depsMap.get(ITERATE_KEY));
697
+ if (shared.isMap(target)) {
698
+ run(depsMap.get(MAP_KEY_ITERATE_KEY));
699
+ }
700
+ }
701
+ break;
702
+ case "set":
703
+ if (shared.isMap(target)) {
704
+ run(depsMap.get(ITERATE_KEY));
705
+ }
706
+ break;
707
+ }
708
+ }
709
+ }
710
+ endBatch();
711
+ }
712
+ function getDepFromReactive(object, key) {
713
+ const depMap = targetMap.get(object);
714
+ return depMap && depMap.get(key);
715
+ }
716
+
717
+ function reactiveReadArray(array) {
718
+ const raw = toRaw(array);
719
+ if (raw === array) return raw;
720
+ track(raw, "iterate", ARRAY_ITERATE_KEY);
721
+ if (isShallow(array)) return raw;
722
+ if (!isReadonly(array)) return raw.map(toReactive);
723
+ return isReactive(array) ? raw.map((item) => toReadonly(toReactive(item))) : raw.map(toReadonly);
724
+ }
725
+ function shallowReadArray(arr) {
726
+ track(arr = toRaw(arr), "iterate", ARRAY_ITERATE_KEY);
727
+ return arr;
728
+ }
729
+ function toWrapped(target, item) {
730
+ if (isReadonly(target)) {
731
+ return isReactive(target) ? toReadonly(toReactive(item)) : toReadonly(item);
732
+ }
733
+ return toReactive(item);
734
+ }
735
+ const arrayInstrumentations = {
736
+ __proto__: null,
737
+ [Symbol.iterator]() {
738
+ return iterator(this, Symbol.iterator, (item) => toWrapped(this, item));
739
+ },
740
+ concat(...args) {
741
+ return reactiveReadArray(this).concat(
742
+ ...args.map((x) => shared.isArray(x) ? reactiveReadArray(x) : x)
743
+ );
744
+ },
745
+ entries() {
746
+ return iterator(this, "entries", (value) => {
747
+ value[1] = toWrapped(this, value[1]);
748
+ return value;
749
+ });
750
+ },
751
+ every(fn, thisArg) {
752
+ return apply(this, "every", fn, thisArg, void 0, arguments);
753
+ },
754
+ filter(fn, thisArg) {
755
+ return apply(
756
+ this,
757
+ "filter",
758
+ fn,
759
+ thisArg,
760
+ (v) => v.map((item) => toWrapped(this, item)),
761
+ arguments
762
+ );
763
+ },
764
+ find(fn, thisArg) {
765
+ return apply(
766
+ this,
767
+ "find",
768
+ fn,
769
+ thisArg,
770
+ (item) => toWrapped(this, item),
771
+ arguments
772
+ );
773
+ },
774
+ findIndex(fn, thisArg) {
775
+ return apply(this, "findIndex", fn, thisArg, void 0, arguments);
776
+ },
777
+ findLast(fn, thisArg) {
778
+ return apply(
779
+ this,
780
+ "findLast",
781
+ fn,
782
+ thisArg,
783
+ (item) => toWrapped(this, item),
784
+ arguments
785
+ );
786
+ },
787
+ findLastIndex(fn, thisArg) {
788
+ return apply(this, "findLastIndex", fn, thisArg, void 0, arguments);
789
+ },
790
+ // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
791
+ forEach(fn, thisArg) {
792
+ return apply(this, "forEach", fn, thisArg, void 0, arguments);
793
+ },
794
+ includes(...args) {
795
+ return searchProxy(this, "includes", args);
796
+ },
797
+ indexOf(...args) {
798
+ return searchProxy(this, "indexOf", args);
799
+ },
800
+ join(separator) {
801
+ return reactiveReadArray(this).join(separator);
802
+ },
803
+ // keys() iterator only reads `length`, no optimization required
804
+ lastIndexOf(...args) {
805
+ return searchProxy(this, "lastIndexOf", args);
806
+ },
807
+ map(fn, thisArg) {
808
+ return apply(this, "map", fn, thisArg, void 0, arguments);
809
+ },
810
+ pop() {
811
+ return noTracking(this, "pop");
812
+ },
813
+ push(...args) {
814
+ return noTracking(this, "push", args);
815
+ },
816
+ reduce(fn, ...args) {
817
+ return reduce(this, "reduce", fn, args);
818
+ },
819
+ reduceRight(fn, ...args) {
820
+ return reduce(this, "reduceRight", fn, args);
821
+ },
822
+ shift() {
823
+ return noTracking(this, "shift");
824
+ },
825
+ // slice could use ARRAY_ITERATE but also seems to beg for range tracking
826
+ some(fn, thisArg) {
827
+ return apply(this, "some", fn, thisArg, void 0, arguments);
828
+ },
829
+ splice(...args) {
830
+ return noTracking(this, "splice", args);
831
+ },
832
+ toReversed() {
833
+ return reactiveReadArray(this).toReversed();
834
+ },
835
+ toSorted(comparer) {
836
+ return reactiveReadArray(this).toSorted(comparer);
837
+ },
838
+ toSpliced(...args) {
839
+ return reactiveReadArray(this).toSpliced(...args);
840
+ },
841
+ unshift(...args) {
842
+ return noTracking(this, "unshift", args);
843
+ },
844
+ values() {
845
+ return iterator(this, "values", (item) => toWrapped(this, item));
846
+ }
847
+ };
848
+ function iterator(self, method, wrapValue) {
849
+ const arr = shallowReadArray(self);
850
+ const methodFn = arr[method];
851
+ const iter = methodFn.call(arr);
852
+ if (arr !== self && !isShallow(self)) {
853
+ if (iter[Symbol.toStringTag] === "Array Iterator") {
854
+ const wrapped = Object.create(Object.getPrototypeOf(iter));
855
+ wrapped.next = () => wrapResult(iter.next(), wrapValue);
856
+ if (methodFn !== arrayProto[method]) {
857
+ Object.defineProperties(wrapped, {
858
+ return: {
859
+ get() {
860
+ const fn = iter.return;
861
+ return typeof fn === "function" ? fn.bind(iter) : fn;
862
+ }
863
+ },
864
+ throw: {
865
+ get() {
866
+ const fn = iter.throw;
867
+ return typeof fn === "function" ? fn.bind(iter) : fn;
868
+ }
869
+ }
870
+ });
871
+ }
872
+ return wrapped;
873
+ }
874
+ iter._next = iter.next;
875
+ iter.next = () => wrapResult(iter._next(), wrapValue);
876
+ }
877
+ return iter;
878
+ }
879
+ function wrapResult(result, wrapValue) {
880
+ if (!result.done) {
881
+ result.value = wrapValue(result.value);
882
+ }
883
+ return result;
884
+ }
885
+ const arrayProto = Array.prototype;
886
+ function apply(self, method, fn, thisArg, wrappedRetFn, args) {
887
+ const arr = shallowReadArray(self);
888
+ const needsWrap = arr !== self && !isShallow(self);
889
+ const methodFn = arr[method];
890
+ if (methodFn !== arrayProto[method]) {
891
+ const result2 = methodFn.apply(self, args);
892
+ return needsWrap ? toReactive(result2) : result2;
893
+ }
894
+ let wrappedFn = fn;
895
+ if (arr !== self) {
896
+ if (needsWrap) {
897
+ wrappedFn = function(item, index) {
898
+ return fn.call(this, toWrapped(self, item), index, self);
899
+ };
900
+ } else if (fn.length > 2) {
901
+ wrappedFn = function(item, index) {
902
+ return fn.call(this, item, index, self);
903
+ };
904
+ }
905
+ }
906
+ const result = methodFn.call(arr, wrappedFn, thisArg);
907
+ return needsWrap && wrappedRetFn ? wrappedRetFn(result) : result;
908
+ }
909
+ function reduce(self, method, fn, args) {
910
+ const arr = shallowReadArray(self);
911
+ const needsWrap = arr !== self && !isShallow(self);
912
+ let wrappedFn = fn;
913
+ let wrapInitialAccumulator = false;
914
+ if (arr !== self) {
915
+ if (needsWrap) {
916
+ wrapInitialAccumulator = args.length === 0;
917
+ wrappedFn = function(acc, item, index) {
918
+ if (wrapInitialAccumulator) {
919
+ wrapInitialAccumulator = false;
920
+ acc = toWrapped(self, acc);
921
+ }
922
+ return fn.call(this, acc, toWrapped(self, item), index, self);
923
+ };
924
+ } else if (fn.length > 3) {
925
+ wrappedFn = function(acc, item, index) {
926
+ return fn.call(this, acc, item, index, self);
927
+ };
928
+ }
929
+ }
930
+ const result = arr[method](wrappedFn, ...args);
931
+ return wrapInitialAccumulator ? toWrapped(self, result) : result;
932
+ }
933
+ function searchProxy(self, method, args) {
934
+ const arr = toRaw(self);
935
+ track(arr, "iterate", ARRAY_ITERATE_KEY);
936
+ const res = arr[method](...args);
937
+ if ((res === -1 || res === false) && isProxy(args[0])) {
938
+ args[0] = toRaw(args[0]);
939
+ return arr[method](...args);
940
+ }
941
+ return res;
942
+ }
943
+ function noTracking(self, method, args = []) {
944
+ pauseTracking();
945
+ startBatch();
946
+ const res = toRaw(self)[method].apply(self, args);
947
+ endBatch();
948
+ resetTracking();
949
+ return res;
950
+ }
951
+
952
+ const isNonTrackableKeys = /* @__PURE__ */ shared.makeMap(`__proto__,__v_isRef,__isVue`);
953
+ const builtInSymbols = /* @__PURE__ */ new Set(
954
+ /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((key) => key !== "arguments" && key !== "caller").map((key) => Symbol[key]).filter(shared.isSymbol)
955
+ );
956
+ function hasOwnProperty(key) {
957
+ if (!shared.isSymbol(key)) key = String(key);
958
+ const obj = toRaw(this);
959
+ track(obj, "has", key);
960
+ return obj.hasOwnProperty(key);
961
+ }
962
+ class BaseReactiveHandler {
963
+ constructor(_isReadonly = false, _isShallow = false) {
964
+ this._isReadonly = _isReadonly;
965
+ this._isShallow = _isShallow;
966
+ }
967
+ get(target, key, receiver) {
968
+ if (key === "__v_skip") return target["__v_skip"];
969
+ const isReadonly2 = this._isReadonly, isShallow2 = this._isShallow;
970
+ if (key === "__v_isReactive") {
971
+ return !isReadonly2;
972
+ } else if (key === "__v_isReadonly") {
973
+ return isReadonly2;
974
+ } else if (key === "__v_isShallow") {
975
+ return isShallow2;
976
+ } else if (key === "__v_raw") {
977
+ if (receiver === (isReadonly2 ? isShallow2 ? shallowReadonlyMap : readonlyMap : isShallow2 ? shallowReactiveMap : reactiveMap).get(target) || // receiver is not the reactive proxy, but has the same prototype
978
+ // this means the receiver is a user proxy of the reactive proxy
979
+ Object.getPrototypeOf(target) === Object.getPrototypeOf(receiver)) {
980
+ return target;
981
+ }
982
+ return;
983
+ }
984
+ const targetIsArray = shared.isArray(target);
985
+ if (!isReadonly2) {
986
+ let fn;
987
+ if (targetIsArray && (fn = arrayInstrumentations[key])) {
988
+ return fn;
989
+ }
990
+ if (key === "hasOwnProperty") {
991
+ return hasOwnProperty;
992
+ }
993
+ }
994
+ const res = Reflect.get(
995
+ target,
996
+ key,
997
+ // if this is a proxy wrapping a ref, return methods using the raw ref
998
+ // as receiver so that we don't have to call `toRaw` on the ref in all
999
+ // its class methods
1000
+ isRef(target) ? target : receiver
1001
+ );
1002
+ if (shared.isSymbol(key) ? builtInSymbols.has(key) : isNonTrackableKeys(key)) {
1003
+ return res;
1004
+ }
1005
+ if (!isReadonly2) {
1006
+ track(target, "get", key);
1007
+ }
1008
+ if (isShallow2) {
1009
+ return res;
1010
+ }
1011
+ if (isRef(res)) {
1012
+ const value = targetIsArray && shared.isIntegerKey(key) ? res : res.value;
1013
+ return isReadonly2 && shared.isObject(value) ? readonly(value) : value;
1014
+ }
1015
+ if (shared.isObject(res)) {
1016
+ return isReadonly2 ? readonly(res) : reactive(res);
1017
+ }
1018
+ return res;
1019
+ }
1020
+ }
1021
+ class MutableReactiveHandler extends BaseReactiveHandler {
1022
+ constructor(isShallow2 = false) {
1023
+ super(false, isShallow2);
1024
+ }
1025
+ set(target, key, value, receiver) {
1026
+ let oldValue = target[key];
1027
+ const isArrayWithIntegerKey = shared.isArray(target) && shared.isIntegerKey(key);
1028
+ if (!this._isShallow) {
1029
+ const isOldValueReadonly = isReadonly(oldValue);
1030
+ if (!isShallow(value) && !isReadonly(value)) {
1031
+ oldValue = toRaw(oldValue);
1032
+ value = toRaw(value);
1033
+ }
1034
+ if (!isArrayWithIntegerKey && isRef(oldValue) && !isRef(value)) {
1035
+ if (isOldValueReadonly) {
1036
+ return true;
1037
+ } else {
1038
+ oldValue.value = value;
1039
+ return true;
1040
+ }
1041
+ }
1042
+ }
1043
+ const hadKey = isArrayWithIntegerKey ? Number(key) < target.length : shared.hasOwn(target, key);
1044
+ const result = Reflect.set(
1045
+ target,
1046
+ key,
1047
+ value,
1048
+ isRef(target) ? target : receiver
1049
+ );
1050
+ if (target === toRaw(receiver) && result) {
1051
+ if (!hadKey) {
1052
+ trigger(target, "add", key, value);
1053
+ } else if (shared.hasChanged(value, oldValue)) {
1054
+ trigger(target, "set", key, value);
1055
+ }
1056
+ }
1057
+ return result;
1058
+ }
1059
+ deleteProperty(target, key) {
1060
+ const hadKey = shared.hasOwn(target, key);
1061
+ target[key];
1062
+ const result = Reflect.deleteProperty(target, key);
1063
+ if (result && hadKey) {
1064
+ trigger(target, "delete", key, void 0);
1065
+ }
1066
+ return result;
1067
+ }
1068
+ has(target, key) {
1069
+ const result = Reflect.has(target, key);
1070
+ if (!shared.isSymbol(key) || !builtInSymbols.has(key)) {
1071
+ track(target, "has", key);
1072
+ }
1073
+ return result;
1074
+ }
1075
+ ownKeys(target) {
1076
+ track(
1077
+ target,
1078
+ "iterate",
1079
+ shared.isArray(target) ? "length" : ITERATE_KEY
1080
+ );
1081
+ return Reflect.ownKeys(target);
1082
+ }
1083
+ }
1084
+ class ReadonlyReactiveHandler extends BaseReactiveHandler {
1085
+ constructor(isShallow2 = false) {
1086
+ super(true, isShallow2);
1087
+ }
1088
+ set(target, key) {
1089
+ return true;
1090
+ }
1091
+ deleteProperty(target, key) {
1092
+ return true;
1093
+ }
1094
+ }
1095
+ const mutableHandlers = /* @__PURE__ */ new MutableReactiveHandler();
1096
+ const readonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler();
1097
+ const shallowReactiveHandlers = /* @__PURE__ */ new MutableReactiveHandler(true);
1098
+ const shallowReadonlyHandlers = /* @__PURE__ */ new ReadonlyReactiveHandler(true);
1099
+
1100
+ const toShallow = (value) => value;
1101
+ const getProto = (v) => Reflect.getPrototypeOf(v);
1102
+ function createIterableMethod(method, isReadonly2, isShallow2) {
1103
+ return function(...args) {
1104
+ const target = this["__v_raw"];
1105
+ const rawTarget = toRaw(target);
1106
+ const targetIsMap = shared.isMap(rawTarget);
1107
+ const isPair = method === "entries" || method === Symbol.iterator && targetIsMap;
1108
+ const isKeyOnly = method === "keys" && targetIsMap;
1109
+ const innerIterator = target[method](...args);
1110
+ const wrap = isShallow2 ? toShallow : isReadonly2 ? toReadonly : toReactive;
1111
+ !isReadonly2 && track(
1112
+ rawTarget,
1113
+ "iterate",
1114
+ isKeyOnly ? MAP_KEY_ITERATE_KEY : ITERATE_KEY
1115
+ );
1116
+ return shared.extend(
1117
+ // inheriting all iterator properties
1118
+ Object.create(innerIterator),
1119
+ {
1120
+ // iterator protocol
1121
+ next() {
1122
+ const { value, done } = innerIterator.next();
1123
+ return done ? { value, done } : {
1124
+ value: isPair ? [wrap(value[0]), wrap(value[1])] : wrap(value),
1125
+ done
1126
+ };
1127
+ }
1128
+ }
1129
+ );
1130
+ };
1131
+ }
1132
+ function createReadonlyMethod(type) {
1133
+ return function(...args) {
1134
+ return type === "delete" ? false : type === "clear" ? void 0 : this;
1135
+ };
1136
+ }
1137
+ function createInstrumentations(readonly, shallow) {
1138
+ const instrumentations = {
1139
+ get(key) {
1140
+ const target = this["__v_raw"];
1141
+ const rawTarget = toRaw(target);
1142
+ const rawKey = toRaw(key);
1143
+ if (!readonly) {
1144
+ if (shared.hasChanged(key, rawKey)) {
1145
+ track(rawTarget, "get", key);
1146
+ }
1147
+ track(rawTarget, "get", rawKey);
1148
+ }
1149
+ const { has } = getProto(rawTarget);
1150
+ const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;
1151
+ if (has.call(rawTarget, key)) {
1152
+ return wrap(target.get(key));
1153
+ } else if (has.call(rawTarget, rawKey)) {
1154
+ return wrap(target.get(rawKey));
1155
+ } else if (target !== rawTarget) {
1156
+ target.get(key);
1157
+ }
1158
+ },
1159
+ get size() {
1160
+ const target = this["__v_raw"];
1161
+ !readonly && track(toRaw(target), "iterate", ITERATE_KEY);
1162
+ return target.size;
1163
+ },
1164
+ has(key) {
1165
+ const target = this["__v_raw"];
1166
+ const rawTarget = toRaw(target);
1167
+ const rawKey = toRaw(key);
1168
+ if (!readonly) {
1169
+ if (shared.hasChanged(key, rawKey)) {
1170
+ track(rawTarget, "has", key);
1171
+ }
1172
+ track(rawTarget, "has", rawKey);
1173
+ }
1174
+ return key === rawKey ? target.has(key) : target.has(key) || target.has(rawKey);
1175
+ },
1176
+ forEach(callback, thisArg) {
1177
+ const observed = this;
1178
+ const target = observed["__v_raw"];
1179
+ const rawTarget = toRaw(target);
1180
+ const wrap = shallow ? toShallow : readonly ? toReadonly : toReactive;
1181
+ !readonly && track(rawTarget, "iterate", ITERATE_KEY);
1182
+ return target.forEach((value, key) => {
1183
+ return callback.call(thisArg, wrap(value), wrap(key), observed);
1184
+ });
1185
+ }
1186
+ };
1187
+ shared.extend(
1188
+ instrumentations,
1189
+ readonly ? {
1190
+ add: createReadonlyMethod("add"),
1191
+ set: createReadonlyMethod("set"),
1192
+ delete: createReadonlyMethod("delete"),
1193
+ clear: createReadonlyMethod("clear")
1194
+ } : {
1195
+ add(value) {
1196
+ const target = toRaw(this);
1197
+ const proto = getProto(target);
1198
+ const rawValue = toRaw(value);
1199
+ const valueToAdd = !shallow && !isShallow(value) && !isReadonly(value) ? rawValue : value;
1200
+ const hadKey = proto.has.call(target, valueToAdd) || shared.hasChanged(value, valueToAdd) && proto.has.call(target, value) || shared.hasChanged(rawValue, valueToAdd) && proto.has.call(target, rawValue);
1201
+ if (!hadKey) {
1202
+ target.add(valueToAdd);
1203
+ trigger(target, "add", valueToAdd, valueToAdd);
1204
+ }
1205
+ return this;
1206
+ },
1207
+ set(key, value) {
1208
+ if (!shallow && !isShallow(value) && !isReadonly(value)) {
1209
+ value = toRaw(value);
1210
+ }
1211
+ const target = toRaw(this);
1212
+ const { has, get } = getProto(target);
1213
+ let hadKey = has.call(target, key);
1214
+ if (!hadKey) {
1215
+ key = toRaw(key);
1216
+ hadKey = has.call(target, key);
1217
+ }
1218
+ const oldValue = get.call(target, key);
1219
+ target.set(key, value);
1220
+ if (!hadKey) {
1221
+ trigger(target, "add", key, value);
1222
+ } else if (shared.hasChanged(value, oldValue)) {
1223
+ trigger(target, "set", key, value);
1224
+ }
1225
+ return this;
1226
+ },
1227
+ delete(key) {
1228
+ const target = toRaw(this);
1229
+ const { has, get } = getProto(target);
1230
+ let hadKey = has.call(target, key);
1231
+ if (!hadKey) {
1232
+ key = toRaw(key);
1233
+ hadKey = has.call(target, key);
1234
+ }
1235
+ get ? get.call(target, key) : void 0;
1236
+ const result = target.delete(key);
1237
+ if (hadKey) {
1238
+ trigger(target, "delete", key, void 0);
1239
+ }
1240
+ return result;
1241
+ },
1242
+ clear() {
1243
+ const target = toRaw(this);
1244
+ const hadItems = target.size !== 0;
1245
+ const result = target.clear();
1246
+ if (hadItems) {
1247
+ trigger(
1248
+ target,
1249
+ "clear",
1250
+ void 0,
1251
+ void 0);
1252
+ }
1253
+ return result;
1254
+ }
1255
+ }
1256
+ );
1257
+ const iteratorMethods = [
1258
+ "keys",
1259
+ "values",
1260
+ "entries",
1261
+ Symbol.iterator
1262
+ ];
1263
+ iteratorMethods.forEach((method) => {
1264
+ instrumentations[method] = createIterableMethod(method, readonly, shallow);
1265
+ });
1266
+ return instrumentations;
1267
+ }
1268
+ function createInstrumentationGetter(isReadonly2, shallow) {
1269
+ const instrumentations = createInstrumentations(isReadonly2, shallow);
1270
+ return (target, key, receiver) => {
1271
+ if (key === "__v_isReactive") {
1272
+ return !isReadonly2;
1273
+ } else if (key === "__v_isReadonly") {
1274
+ return isReadonly2;
1275
+ } else if (key === "__v_isShallow") {
1276
+ return shallow;
1277
+ } else if (key === "__v_raw") {
1278
+ return target;
1279
+ }
1280
+ return Reflect.get(
1281
+ shared.hasOwn(instrumentations, key) && key in target ? instrumentations : target,
1282
+ key,
1283
+ receiver
1284
+ );
1285
+ };
1286
+ }
1287
+ const mutableCollectionHandlers = {
1288
+ get: /* @__PURE__ */ createInstrumentationGetter(false, false)
1289
+ };
1290
+ const shallowCollectionHandlers = {
1291
+ get: /* @__PURE__ */ createInstrumentationGetter(false, true)
1292
+ };
1293
+ const readonlyCollectionHandlers = {
1294
+ get: /* @__PURE__ */ createInstrumentationGetter(true, false)
1295
+ };
1296
+ const shallowReadonlyCollectionHandlers = {
1297
+ get: /* @__PURE__ */ createInstrumentationGetter(true, true)
1298
+ };
1299
+
1300
+ const reactiveMap = /* @__PURE__ */ new WeakMap();
1301
+ const shallowReactiveMap = /* @__PURE__ */ new WeakMap();
1302
+ const readonlyMap = /* @__PURE__ */ new WeakMap();
1303
+ const shallowReadonlyMap = /* @__PURE__ */ new WeakMap();
1304
+ function targetTypeMap(rawType) {
1305
+ switch (rawType) {
1306
+ case "Object":
1307
+ case "Array":
1308
+ return 1 /* COMMON */;
1309
+ case "Map":
1310
+ case "Set":
1311
+ case "WeakMap":
1312
+ case "WeakSet":
1313
+ return 2 /* COLLECTION */;
1314
+ default:
1315
+ return 0 /* INVALID */;
1316
+ }
1317
+ }
1318
+ // @__NO_SIDE_EFFECTS__
1319
+ function reactive(target) {
1320
+ if (/* @__PURE__ */ isReadonly(target)) {
1321
+ return target;
1322
+ }
1323
+ return createReactiveObject(
1324
+ target,
1325
+ false,
1326
+ mutableHandlers,
1327
+ mutableCollectionHandlers,
1328
+ reactiveMap
1329
+ );
1330
+ }
1331
+ // @__NO_SIDE_EFFECTS__
1332
+ function shallowReactive(target) {
1333
+ return createReactiveObject(
1334
+ target,
1335
+ false,
1336
+ shallowReactiveHandlers,
1337
+ shallowCollectionHandlers,
1338
+ shallowReactiveMap
1339
+ );
1340
+ }
1341
+ // @__NO_SIDE_EFFECTS__
1342
+ function readonly(target) {
1343
+ return createReactiveObject(
1344
+ target,
1345
+ true,
1346
+ readonlyHandlers,
1347
+ readonlyCollectionHandlers,
1348
+ readonlyMap
1349
+ );
1350
+ }
1351
+ // @__NO_SIDE_EFFECTS__
1352
+ function shallowReadonly(target) {
1353
+ return createReactiveObject(
1354
+ target,
1355
+ true,
1356
+ shallowReadonlyHandlers,
1357
+ shallowReadonlyCollectionHandlers,
1358
+ shallowReadonlyMap
1359
+ );
1360
+ }
1361
+ function createReactiveObject(target, isReadonly2, baseHandlers, collectionHandlers, proxyMap) {
1362
+ if (!shared.isObject(target)) {
1363
+ return target;
1364
+ }
1365
+ if (target["__v_raw"] && !(isReadonly2 && target["__v_isReactive"])) {
1366
+ return target;
1367
+ }
1368
+ if (target["__v_skip"] || !Object.isExtensible(target)) {
1369
+ return target;
1370
+ }
1371
+ const existingProxy = proxyMap.get(target);
1372
+ if (existingProxy) {
1373
+ return existingProxy;
1374
+ }
1375
+ const targetType = targetTypeMap(shared.toRawType(target));
1376
+ if (targetType === 0 /* INVALID */) {
1377
+ return target;
1378
+ }
1379
+ const proxy = new Proxy(
1380
+ target,
1381
+ targetType === 2 /* COLLECTION */ ? collectionHandlers : baseHandlers
1382
+ );
1383
+ proxyMap.set(target, proxy);
1384
+ return proxy;
1385
+ }
1386
+ // @__NO_SIDE_EFFECTS__
1387
+ function isReactive(value) {
1388
+ if (/* @__PURE__ */ isReadonly(value)) {
1389
+ return /* @__PURE__ */ isReactive(value["__v_raw"]);
1390
+ }
1391
+ return !!(value && value["__v_isReactive"]);
1392
+ }
1393
+ // @__NO_SIDE_EFFECTS__
1394
+ function isReadonly(value) {
1395
+ return !!(value && value["__v_isReadonly"]);
1396
+ }
1397
+ // @__NO_SIDE_EFFECTS__
1398
+ function isShallow(value) {
1399
+ return !!(value && value["__v_isShallow"]);
1400
+ }
1401
+ // @__NO_SIDE_EFFECTS__
1402
+ function isProxy(value) {
1403
+ return value ? !!value["__v_raw"] : false;
1404
+ }
1405
+ // @__NO_SIDE_EFFECTS__
1406
+ function toRaw(observed) {
1407
+ const raw = observed && observed["__v_raw"];
1408
+ return raw ? /* @__PURE__ */ toRaw(raw) : observed;
1409
+ }
1410
+ function markRaw(value) {
1411
+ if (!shared.hasOwn(value, "__v_skip") && Object.isExtensible(value)) {
1412
+ shared.def(value, "__v_skip", true);
1413
+ }
1414
+ return value;
1415
+ }
1416
+ const toReactive = (value) => shared.isObject(value) ? /* @__PURE__ */ reactive(value) : value;
1417
+ const toReadonly = (value) => shared.isObject(value) ? /* @__PURE__ */ readonly(value) : value;
1418
+
1419
+ // @__NO_SIDE_EFFECTS__
1420
+ function isRef(r) {
1421
+ return r ? r["__v_isRef"] === true : false;
1422
+ }
1423
+ // @__NO_SIDE_EFFECTS__
1424
+ function ref(value) {
1425
+ return createRef(value, false);
1426
+ }
1427
+ // @__NO_SIDE_EFFECTS__
1428
+ function shallowRef(value) {
1429
+ return createRef(value, true);
1430
+ }
1431
+ function createRef(rawValue, shallow) {
1432
+ if (/* @__PURE__ */ isRef(rawValue)) {
1433
+ return rawValue;
1434
+ }
1435
+ return new RefImpl(rawValue, shallow);
1436
+ }
1437
+ class RefImpl {
1438
+ constructor(value, isShallow2) {
1439
+ this.dep = new Dep();
1440
+ this["__v_isRef"] = true;
1441
+ this["__v_isShallow"] = false;
1442
+ this._rawValue = isShallow2 ? value : toRaw(value);
1443
+ this._value = isShallow2 ? value : toReactive(value);
1444
+ this["__v_isShallow"] = isShallow2;
1445
+ }
1446
+ get value() {
1447
+ {
1448
+ this.dep.track();
1449
+ }
1450
+ return this._value;
1451
+ }
1452
+ set value(newValue) {
1453
+ const oldValue = this._rawValue;
1454
+ const useDirectValue = this["__v_isShallow"] || isShallow(newValue) || isReadonly(newValue);
1455
+ newValue = useDirectValue ? newValue : toRaw(newValue);
1456
+ if (shared.hasChanged(newValue, oldValue)) {
1457
+ this._rawValue = newValue;
1458
+ this._value = useDirectValue ? newValue : toReactive(newValue);
1459
+ {
1460
+ this.dep.trigger();
1461
+ }
1462
+ }
1463
+ }
1464
+ }
1465
+ function triggerRef(ref2) {
1466
+ if (ref2.dep) {
1467
+ {
1468
+ ref2.dep.trigger();
1469
+ }
1470
+ }
1471
+ }
1472
+ function unref(ref2) {
1473
+ return /* @__PURE__ */ isRef(ref2) ? ref2.value : ref2;
1474
+ }
1475
+ function toValue(source) {
1476
+ return shared.isFunction(source) ? source() : unref(source);
1477
+ }
1478
+ const shallowUnwrapHandlers = {
1479
+ get: (target, key, receiver) => key === "__v_raw" ? target : unref(Reflect.get(target, key, receiver)),
1480
+ set: (target, key, value, receiver) => {
1481
+ const oldValue = target[key];
1482
+ if (/* @__PURE__ */ isRef(oldValue) && !/* @__PURE__ */ isRef(value)) {
1483
+ oldValue.value = value;
1484
+ return true;
1485
+ } else {
1486
+ return Reflect.set(target, key, value, receiver);
1487
+ }
1488
+ }
1489
+ };
1490
+ function proxyRefs(objectWithRefs) {
1491
+ return isReactive(objectWithRefs) ? objectWithRefs : new Proxy(objectWithRefs, shallowUnwrapHandlers);
1492
+ }
1493
+ class CustomRefImpl {
1494
+ constructor(factory) {
1495
+ this["__v_isRef"] = true;
1496
+ this._value = void 0;
1497
+ const dep = this.dep = new Dep();
1498
+ const { get, set } = factory(dep.track.bind(dep), dep.trigger.bind(dep));
1499
+ this._get = get;
1500
+ this._set = set;
1501
+ }
1502
+ get value() {
1503
+ return this._value = this._get();
1504
+ }
1505
+ set value(newVal) {
1506
+ this._set(newVal);
1507
+ }
1508
+ }
1509
+ function customRef(factory) {
1510
+ return new CustomRefImpl(factory);
1511
+ }
1512
+ // @__NO_SIDE_EFFECTS__
1513
+ function toRefs(object) {
1514
+ const ret = shared.isArray(object) ? new Array(object.length) : {};
1515
+ for (const key in object) {
1516
+ ret[key] = propertyToRef(object, key);
1517
+ }
1518
+ return ret;
1519
+ }
1520
+ class ObjectRefImpl {
1521
+ constructor(_object, key, _defaultValue) {
1522
+ this._object = _object;
1523
+ this._defaultValue = _defaultValue;
1524
+ this["__v_isRef"] = true;
1525
+ this._value = void 0;
1526
+ this._key = shared.isSymbol(key) ? key : String(key);
1527
+ this._raw = toRaw(_object);
1528
+ let shallow = true;
1529
+ let obj = _object;
1530
+ if (!shared.isArray(_object) || shared.isSymbol(this._key) || !shared.isIntegerKey(this._key)) {
1531
+ do {
1532
+ shallow = !isProxy(obj) || isShallow(obj);
1533
+ } while (shallow && (obj = obj["__v_raw"]));
1534
+ }
1535
+ this._shallow = shallow;
1536
+ }
1537
+ get value() {
1538
+ let val = this._object[this._key];
1539
+ if (this._shallow) {
1540
+ val = unref(val);
1541
+ }
1542
+ return this._value = val === void 0 ? this._defaultValue : val;
1543
+ }
1544
+ set value(newVal) {
1545
+ if (this._shallow && /* @__PURE__ */ isRef(this._raw[this._key])) {
1546
+ const nestedRef = this._object[this._key];
1547
+ if (/* @__PURE__ */ isRef(nestedRef)) {
1548
+ nestedRef.value = newVal;
1549
+ return;
1550
+ }
1551
+ }
1552
+ this._object[this._key] = newVal;
1553
+ }
1554
+ get dep() {
1555
+ return getDepFromReactive(this._raw, this._key);
1556
+ }
1557
+ }
1558
+ class GetterRefImpl {
1559
+ constructor(_getter) {
1560
+ this._getter = _getter;
1561
+ this["__v_isRef"] = true;
1562
+ this["__v_isReadonly"] = true;
1563
+ this._value = void 0;
1564
+ }
1565
+ get value() {
1566
+ return this._value = this._getter();
1567
+ }
1568
+ }
1569
+ // @__NO_SIDE_EFFECTS__
1570
+ function toRef(source, key, defaultValue) {
1571
+ if (/* @__PURE__ */ isRef(source)) {
1572
+ return source;
1573
+ } else if (shared.isFunction(source)) {
1574
+ return new GetterRefImpl(source);
1575
+ } else if (shared.isObject(source) && arguments.length > 1) {
1576
+ return propertyToRef(source, key, defaultValue);
1577
+ } else {
1578
+ return /* @__PURE__ */ ref(source);
1579
+ }
1580
+ }
1581
+ function propertyToRef(source, key, defaultValue) {
1582
+ return new ObjectRefImpl(source, key, defaultValue);
1583
+ }
1584
+
1585
+ class ComputedRefImpl {
1586
+ constructor(fn, setter, isSSR) {
1587
+ this.fn = fn;
1588
+ this.setter = setter;
1589
+ /**
1590
+ * @internal
1591
+ */
1592
+ this._value = void 0;
1593
+ /**
1594
+ * @internal
1595
+ */
1596
+ this.dep = new Dep(this);
1597
+ /**
1598
+ * @internal
1599
+ */
1600
+ this.__v_isRef = true;
1601
+ // TODO isolatedDeclarations "__v_isReadonly"
1602
+ // A computed is also a subscriber that tracks other deps
1603
+ /**
1604
+ * @internal
1605
+ */
1606
+ this.deps = void 0;
1607
+ /**
1608
+ * @internal
1609
+ */
1610
+ this.depsTail = void 0;
1611
+ /**
1612
+ * @internal
1613
+ */
1614
+ this.flags = 16;
1615
+ /**
1616
+ * @internal
1617
+ */
1618
+ this.globalVersion = globalVersion - 1;
1619
+ /**
1620
+ * @internal
1621
+ */
1622
+ this.next = void 0;
1623
+ // for backwards compat
1624
+ this.effect = this;
1625
+ this["__v_isReadonly"] = !setter;
1626
+ this.isSSR = isSSR;
1627
+ }
1628
+ /**
1629
+ * @internal
1630
+ */
1631
+ notify() {
1632
+ this.flags |= 16;
1633
+ if (!(this.flags & 8) && // avoid infinite self recursion
1634
+ activeSub !== this) {
1635
+ batch(this, true);
1636
+ return true;
1637
+ }
1638
+ }
1639
+ get value() {
1640
+ const link = this.dep.track();
1641
+ refreshComputed(this);
1642
+ if (link) {
1643
+ link.version = this.dep.version;
1644
+ }
1645
+ return this._value;
1646
+ }
1647
+ set value(newValue) {
1648
+ if (this.setter) {
1649
+ this.setter(newValue);
1650
+ }
1651
+ }
1652
+ }
1653
+ // @__NO_SIDE_EFFECTS__
1654
+ function computed(getterOrOptions, debugOptions, isSSR = false) {
1655
+ let getter;
1656
+ let setter;
1657
+ if (shared.isFunction(getterOrOptions)) {
1658
+ getter = getterOrOptions;
1659
+ } else {
1660
+ getter = getterOrOptions.get;
1661
+ setter = getterOrOptions.set;
1662
+ }
1663
+ const cRef = new ComputedRefImpl(getter, setter, isSSR);
1664
+ return cRef;
1665
+ }
1666
+
1667
+ const TrackOpTypes = {
1668
+ "GET": "get",
1669
+ "HAS": "has",
1670
+ "ITERATE": "iterate"
1671
+ };
1672
+ const TriggerOpTypes = {
1673
+ "SET": "set",
1674
+ "ADD": "add",
1675
+ "DELETE": "delete",
1676
+ "CLEAR": "clear"
1677
+ };
1678
+ const ReactiveFlags = {
1679
+ "SKIP": "__v_skip",
1680
+ "IS_REACTIVE": "__v_isReactive",
1681
+ "IS_READONLY": "__v_isReadonly",
1682
+ "IS_SHALLOW": "__v_isShallow",
1683
+ "RAW": "__v_raw",
1684
+ "IS_REF": "__v_isRef"
1685
+ };
1686
+
1687
+ const WatchErrorCodes = {
1688
+ "WATCH_GETTER": 2,
1689
+ "2": "WATCH_GETTER",
1690
+ "WATCH_CALLBACK": 3,
1691
+ "3": "WATCH_CALLBACK",
1692
+ "WATCH_CLEANUP": 4,
1693
+ "4": "WATCH_CLEANUP"
1694
+ };
1695
+ const INITIAL_WATCHER_VALUE = {};
1696
+ const cleanupMap = /* @__PURE__ */ new WeakMap();
1697
+ let activeWatcher = void 0;
1698
+ function getCurrentWatcher() {
1699
+ return activeWatcher;
1700
+ }
1701
+ function onWatcherCleanup(cleanupFn, failSilently = false, owner = activeWatcher) {
1702
+ if (owner) {
1703
+ let cleanups = cleanupMap.get(owner);
1704
+ if (!cleanups) cleanupMap.set(owner, cleanups = []);
1705
+ cleanups.push(cleanupFn);
1706
+ }
1707
+ }
1708
+ function watch(source, cb, options = shared.EMPTY_OBJ) {
1709
+ const { immediate, deep, once, scheduler, augmentJob, call } = options;
1710
+ const reactiveGetter = (source2) => {
1711
+ if (deep) return source2;
1712
+ if (isShallow(source2) || deep === false || deep === 0)
1713
+ return traverse(source2, 1);
1714
+ return traverse(source2);
1715
+ };
1716
+ let effect;
1717
+ let getter;
1718
+ let cleanup;
1719
+ let boundCleanup;
1720
+ let forceTrigger = false;
1721
+ let isMultiSource = false;
1722
+ if (isRef(source)) {
1723
+ getter = () => source.value;
1724
+ forceTrigger = isShallow(source);
1725
+ } else if (isReactive(source)) {
1726
+ getter = () => reactiveGetter(source);
1727
+ forceTrigger = true;
1728
+ } else if (shared.isArray(source)) {
1729
+ isMultiSource = true;
1730
+ forceTrigger = source.some((s) => isReactive(s) || isShallow(s));
1731
+ getter = () => source.map((s) => {
1732
+ if (isRef(s)) {
1733
+ return s.value;
1734
+ } else if (isReactive(s)) {
1735
+ return reactiveGetter(s);
1736
+ } else if (shared.isFunction(s)) {
1737
+ return call ? call(s, 2) : s();
1738
+ } else ;
1739
+ });
1740
+ } else if (shared.isFunction(source)) {
1741
+ if (cb) {
1742
+ getter = call ? () => call(source, 2) : source;
1743
+ } else {
1744
+ getter = () => {
1745
+ if (cleanup) {
1746
+ pauseTracking();
1747
+ try {
1748
+ cleanup();
1749
+ } finally {
1750
+ resetTracking();
1751
+ }
1752
+ }
1753
+ const currentEffect = activeWatcher;
1754
+ activeWatcher = effect;
1755
+ try {
1756
+ return call ? call(source, 3, [boundCleanup]) : source(boundCleanup);
1757
+ } finally {
1758
+ activeWatcher = currentEffect;
1759
+ }
1760
+ };
1761
+ }
1762
+ } else {
1763
+ getter = shared.NOOP;
1764
+ }
1765
+ if (cb && deep) {
1766
+ const baseGetter = getter;
1767
+ const depth = deep === true ? Infinity : deep;
1768
+ getter = () => traverse(baseGetter(), depth);
1769
+ }
1770
+ const scope = getCurrentScope();
1771
+ const watchHandle = () => {
1772
+ effect.stop();
1773
+ if (scope && scope.active) {
1774
+ shared.remove(scope.effects, effect);
1775
+ }
1776
+ };
1777
+ if (once && cb) {
1778
+ const _cb = cb;
1779
+ cb = (...args) => {
1780
+ try {
1781
+ return _cb(...args);
1782
+ } finally {
1783
+ watchHandle();
1784
+ }
1785
+ };
1786
+ }
1787
+ let oldValue = isMultiSource ? new Array(source.length).fill(INITIAL_WATCHER_VALUE) : INITIAL_WATCHER_VALUE;
1788
+ const job = (immediateFirstRun) => {
1789
+ if (!(effect.flags & 1) || !effect.dirty && !immediateFirstRun) {
1790
+ return;
1791
+ }
1792
+ if (cb) {
1793
+ const newValue = effect.run();
1794
+ if (immediateFirstRun || deep || forceTrigger || (isMultiSource ? newValue.some((v, i) => shared.hasChanged(v, oldValue[i])) : shared.hasChanged(newValue, oldValue))) {
1795
+ const currentWatcher = activeWatcher;
1796
+ pauseTracking();
1797
+ try {
1798
+ if (cleanup) {
1799
+ cleanup();
1800
+ }
1801
+ activeWatcher = effect;
1802
+ const args = [
1803
+ newValue,
1804
+ // pass undefined as the old value when it's changed for the first time
1805
+ oldValue === INITIAL_WATCHER_VALUE ? void 0 : isMultiSource && oldValue[0] === INITIAL_WATCHER_VALUE ? [] : oldValue,
1806
+ boundCleanup
1807
+ ];
1808
+ oldValue = newValue;
1809
+ call ? call(cb, 3, args) : (
1810
+ // @ts-expect-error
1811
+ cb(...args)
1812
+ );
1813
+ } finally {
1814
+ activeWatcher = currentWatcher;
1815
+ resetTracking();
1816
+ }
1817
+ }
1818
+ } else {
1819
+ effect.run();
1820
+ }
1821
+ };
1822
+ if (augmentJob) {
1823
+ augmentJob(job);
1824
+ }
1825
+ effect = new ReactiveEffect(getter);
1826
+ effect.scheduler = scheduler ? () => scheduler(job, false) : job;
1827
+ boundCleanup = (fn) => onWatcherCleanup(fn, false, effect);
1828
+ cleanup = effect.onStop = () => {
1829
+ const cleanups = cleanupMap.get(effect);
1830
+ if (cleanups) {
1831
+ if (call) {
1832
+ call(cleanups, 4);
1833
+ } else {
1834
+ for (const cleanup2 of cleanups) cleanup2();
1835
+ }
1836
+ cleanupMap.delete(effect);
1837
+ }
1838
+ };
1839
+ if (cb) {
1840
+ if (immediate) {
1841
+ job(true);
1842
+ } else {
1843
+ oldValue = effect.run();
1844
+ }
1845
+ } else if (scheduler) {
1846
+ scheduler(job.bind(null, true), true);
1847
+ } else {
1848
+ effect.run();
1849
+ }
1850
+ watchHandle.pause = effect.pause.bind(effect);
1851
+ watchHandle.resume = effect.resume.bind(effect);
1852
+ watchHandle.stop = watchHandle;
1853
+ return watchHandle;
1854
+ }
1855
+ function traverse(value, depth = Infinity, seen) {
1856
+ if (depth <= 0 || !shared.isObject(value) || value["__v_skip"]) {
1857
+ return value;
1858
+ }
1859
+ seen = seen || /* @__PURE__ */ new Map();
1860
+ if ((seen.get(value) || 0) >= depth) {
1861
+ return value;
1862
+ }
1863
+ seen.set(value, depth);
1864
+ depth--;
1865
+ if (isRef(value)) {
1866
+ traverse(value.value, depth, seen);
1867
+ } else if (shared.isArray(value)) {
1868
+ for (let i = 0; i < value.length; i++) {
1869
+ traverse(value[i], depth, seen);
1870
+ }
1871
+ } else if (shared.isSet(value) || shared.isMap(value)) {
1872
+ value.forEach((v) => {
1873
+ traverse(v, depth, seen);
1874
+ });
1875
+ } else if (shared.isPlainObject(value)) {
1876
+ for (const key in value) {
1877
+ traverse(value[key], depth, seen);
1878
+ }
1879
+ for (const key of Object.getOwnPropertySymbols(value)) {
1880
+ if (Object.prototype.propertyIsEnumerable.call(value, key)) {
1881
+ traverse(value[key], depth, seen);
1882
+ }
1883
+ }
1884
+ }
1885
+ return value;
1886
+ }
1887
+
1888
+ exports.ARRAY_ITERATE_KEY = ARRAY_ITERATE_KEY;
1889
+ exports.EffectFlags = EffectFlags;
1890
+ exports.EffectScope = EffectScope;
1891
+ exports.ITERATE_KEY = ITERATE_KEY;
1892
+ exports.MAP_KEY_ITERATE_KEY = MAP_KEY_ITERATE_KEY;
1893
+ exports.ReactiveEffect = ReactiveEffect;
1894
+ exports.ReactiveFlags = ReactiveFlags;
1895
+ exports.TrackOpTypes = TrackOpTypes;
1896
+ exports.TriggerOpTypes = TriggerOpTypes;
1897
+ exports.WatchErrorCodes = WatchErrorCodes;
1898
+ exports.computed = computed;
1899
+ exports.customRef = customRef;
1900
+ exports.effect = effect;
1901
+ exports.effectScope = effectScope;
1902
+ exports.enableTracking = enableTracking;
1903
+ exports.getCurrentScope = getCurrentScope;
1904
+ exports.getCurrentWatcher = getCurrentWatcher;
1905
+ exports.isProxy = isProxy;
1906
+ exports.isReactive = isReactive;
1907
+ exports.isReadonly = isReadonly;
1908
+ exports.isRef = isRef;
1909
+ exports.isShallow = isShallow;
1910
+ exports.markRaw = markRaw;
1911
+ exports.onEffectCleanup = onEffectCleanup;
1912
+ exports.onScopeDispose = onScopeDispose;
1913
+ exports.onWatcherCleanup = onWatcherCleanup;
1914
+ exports.pauseTracking = pauseTracking;
1915
+ exports.proxyRefs = proxyRefs;
1916
+ exports.reactive = reactive;
1917
+ exports.reactiveReadArray = reactiveReadArray;
1918
+ exports.readonly = readonly;
1919
+ exports.ref = ref;
1920
+ exports.resetTracking = resetTracking;
1921
+ exports.shallowReactive = shallowReactive;
1922
+ exports.shallowReadArray = shallowReadArray;
1923
+ exports.shallowReadonly = shallowReadonly;
1924
+ exports.shallowRef = shallowRef;
1925
+ exports.stop = stop;
1926
+ exports.toRaw = toRaw;
1927
+ exports.toReactive = toReactive;
1928
+ exports.toReadonly = toReadonly;
1929
+ exports.toRef = toRef;
1930
+ exports.toRefs = toRefs;
1931
+ exports.toValue = toValue;
1932
+ exports.track = track;
1933
+ exports.traverse = traverse;
1934
+ exports.trigger = trigger;
1935
+ exports.triggerRef = triggerRef;
1936
+ exports.unref = unref;
1937
+ exports.watch = watch;