@socialgen_user/socialgen 0.0.0-stage → 2.0.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 (655) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/CM9bCtzQ.js +1 -0
  3. package/.output/public/_nuxt/CQBXt-Xj.js +4 -0
  4. package/.output/public/_nuxt/DGzMDps5.js +1 -0
  5. package/.output/public/_nuxt/DKdpYrB7.js +1 -0
  6. package/.output/public/_nuxt/DoO7LZEh.js +1 -0
  7. package/.output/public/_nuxt/NcMxVlo_.js +1 -0
  8. package/.output/public/_nuxt/_LypH0D7.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/a8a06f55-e1a4-4d58-a8ac-5c8f3e91d730.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 +5712 -0
  31. package/.output/server/chunks/_/nitro.mjs.map +1 -0
  32. package/.output/server/chunks/_/storage.mjs +44 -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-Cvso4Mm4.mjs +399 -0
  37. package/.output/server/chunks/build/TableCard-Cvso4Mm4.mjs.map +1 -0
  38. package/.output/server/chunks/build/_mode_-MljTmkD8.mjs +65 -0
  39. package/.output/server/chunks/build/_mode_-MljTmkD8.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.BUuHzwjd.mjs +8 -0
  45. package/.output/server/chunks/build/entry-styles.BUuHzwjd.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-BIiRN2UV.mjs +599 -0
  57. package/.output/server/chunks/build/pages-BIiRN2UV.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 +263 -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 +125 -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/files/_...path_.get.mjs +36 -0
  71. package/.output/server/chunks/routes/api/files/_...path_.get.mjs.map +1 -0
  72. package/.output/server/chunks/routes/api/generate.post.mjs +441 -0
  73. package/.output/server/chunks/routes/api/generate.post.mjs.map +1 -0
  74. package/.output/server/chunks/routes/api/media.get.mjs +48 -0
  75. package/.output/server/chunks/routes/api/media.get.mjs.map +1 -0
  76. package/.output/server/chunks/routes/api/open-folder.post.mjs +29 -0
  77. package/.output/server/chunks/routes/api/open-folder.post.mjs.map +1 -0
  78. package/.output/server/chunks/routes/api/render-data.get.mjs +34 -0
  79. package/.output/server/chunks/routes/api/render-data.get.mjs.map +1 -0
  80. package/.output/server/chunks/routes/api/status.get.mjs +26 -0
  81. package/.output/server/chunks/routes/api/status.get.mjs.map +1 -0
  82. package/.output/server/chunks/routes/api/upload-media.post.mjs +75 -0
  83. package/.output/server/chunks/routes/api/upload-media.post.mjs.map +1 -0
  84. package/.output/server/chunks/routes/renderer.mjs +462 -0
  85. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  86. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  87. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  88. package/.output/server/index.mjs +39 -0
  89. package/.output/server/index.mjs.map +1 -0
  90. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/decode-codepoint.js +72 -0
  91. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/decode.js +497 -0
  92. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/escape.js +117 -0
  93. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/generated/decode-data-html.js +7 -0
  94. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/generated/decode-data-xml.js +7 -0
  95. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/package.json +3 -0
  96. package/.output/server/node_modules/.nitro/entities@6.0.1/package.json +118 -0
  97. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/decode-codepoint.js +77 -0
  98. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/decode.js +568 -0
  99. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/generated/decode-data-html.js +7 -0
  100. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/generated/decode-data-xml.js +7 -0
  101. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/internal/bin-trie-flags.js +21 -0
  102. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/internal/decode-shared.js +31 -0
  103. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/package.json +3 -0
  104. package/.output/server/node_modules/.nitro/entities@7.0.1/package.json +120 -0
  105. package/.output/server/node_modules/.nitro/minimatch@5.1.9/lib/path.js +4 -0
  106. package/.output/server/node_modules/.nitro/minimatch@5.1.9/minimatch.js +996 -0
  107. package/.output/server/node_modules/.nitro/minimatch@5.1.9/package.json +35 -0
  108. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/assert-valid-pattern.js +14 -0
  109. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/ast.js +747 -0
  110. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/brace-expressions.js +152 -0
  111. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/escape.js +22 -0
  112. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/index.js +1023 -0
  113. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/package.json +3 -0
  114. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/unescape.js +24 -0
  115. package/.output/server/node_modules/.nitro/minimatch@9.0.9/package.json +82 -0
  116. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_duplex.js +131 -0
  117. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_passthrough.js +47 -0
  118. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_readable.js +1019 -0
  119. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_transform.js +214 -0
  120. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_writable.js +685 -0
  121. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/internal/streams/BufferList.js +78 -0
  122. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/internal/streams/destroy.js +84 -0
  123. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/internal/streams/stream.js +1 -0
  124. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/package.json +52 -0
  125. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/passthrough.js +1 -0
  126. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/readable.js +19 -0
  127. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/shims/process.js +19 -0
  128. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/add-abort-signal.js +52 -0
  129. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/buffer_list.js +157 -0
  130. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/compose.js +194 -0
  131. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/destroy.js +290 -0
  132. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/duplex.js +143 -0
  133. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/duplexify.js +378 -0
  134. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/end-of-stream.js +286 -0
  135. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/from.js +98 -0
  136. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/legacy.js +94 -0
  137. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/operators.js +457 -0
  138. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/passthrough.js +39 -0
  139. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/pipeline.js +471 -0
  140. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/readable.js +1290 -0
  141. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/state.js +39 -0
  142. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/transform.js +180 -0
  143. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/utils.js +327 -0
  144. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/writable.js +819 -0
  145. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/validators.js +530 -0
  146. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/errors.js +343 -0
  147. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/index.js +65 -0
  148. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/primordials.js +124 -0
  149. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/util/inspect.js +55 -0
  150. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/util.js +148 -0
  151. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/stream/promises.js +43 -0
  152. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/stream.js +143 -0
  153. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/package.json +89 -0
  154. package/.output/server/node_modules/.nitro/safe-buffer@5.1.2/index.js +62 -0
  155. package/.output/server/node_modules/.nitro/safe-buffer@5.1.2/package.json +37 -0
  156. package/.output/server/node_modules/.nitro/safe-buffer@5.2.1/index.js +65 -0
  157. package/.output/server/node_modules/.nitro/safe-buffer@5.2.1/package.json +51 -0
  158. package/.output/server/node_modules/.nitro/string_decoder@1.1.1/lib/string_decoder.js +296 -0
  159. package/.output/server/node_modules/.nitro/string_decoder@1.1.1/package.json +31 -0
  160. package/.output/server/node_modules/.nitro/string_decoder@1.3.0/lib/string_decoder.js +296 -0
  161. package/.output/server/node_modules/.nitro/string_decoder@1.3.0/package.json +34 -0
  162. package/.output/server/node_modules/@babel/parser/lib/index.js +14990 -0
  163. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  164. package/.output/server/node_modules/@google/genai/dist/node/index.mjs +32052 -0
  165. package/.output/server/node_modules/@google/genai/package.json +175 -0
  166. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6806 -0
  167. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  168. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +729 -0
  169. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  170. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1460 -0
  171. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  172. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/api.js +2 -0
  173. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/app.js +2 -0
  174. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/component.js +2 -0
  175. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/context.js +2 -0
  176. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +2 -0
  177. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/index.js +22 -0
  178. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/util.js +2 -0
  179. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/const.js +5 -0
  180. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/env.js +17 -0
  181. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/index.js +45 -0
  182. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/plugin.js +2 -0
  183. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/proxy.js +111 -0
  184. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/time.js +28 -0
  185. package/.output/server/node_modules/@vue/devtools-api/package.json +37 -0
  186. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1937 -0
  187. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  188. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +7260 -0
  189. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  190. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1932 -0
  191. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  192. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +951 -0
  193. package/.output/server/node_modules/@vue/server-renderer/package.json +53 -0
  194. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +657 -0
  195. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  196. package/.output/server/node_modules/abort-controller/dist/abort-controller.js +127 -0
  197. package/.output/server/node_modules/abort-controller/package.json +97 -0
  198. package/.output/server/node_modules/agent-base/dist/helpers.js +66 -0
  199. package/.output/server/node_modules/agent-base/dist/index.js +178 -0
  200. package/.output/server/node_modules/agent-base/package.json +46 -0
  201. package/.output/server/node_modules/archiver/index.js +84 -0
  202. package/.output/server/node_modules/archiver/lib/core.js +974 -0
  203. package/.output/server/node_modules/archiver/lib/error.js +40 -0
  204. package/.output/server/node_modules/archiver/lib/plugins/json.js +110 -0
  205. package/.output/server/node_modules/archiver/lib/plugins/tar.js +167 -0
  206. package/.output/server/node_modules/archiver/lib/plugins/zip.js +120 -0
  207. package/.output/server/node_modules/archiver/package.json +60 -0
  208. package/.output/server/node_modules/archiver-utils/file.js +209 -0
  209. package/.output/server/node_modules/archiver-utils/index.js +155 -0
  210. package/.output/server/node_modules/archiver-utils/package.json +48 -0
  211. package/.output/server/node_modules/async/dist/async.js +6061 -0
  212. package/.output/server/node_modules/async/package.json +75 -0
  213. package/.output/server/node_modules/b4a/index.js +193 -0
  214. package/.output/server/node_modules/b4a/package.json +54 -0
  215. package/.output/server/node_modules/balanced-match/index.js +62 -0
  216. package/.output/server/node_modules/balanced-match/package.json +48 -0
  217. package/.output/server/node_modules/base64-js/index.js +150 -0
  218. package/.output/server/node_modules/base64-js/package.json +47 -0
  219. package/.output/server/node_modules/bignumber.js/bignumber.js +2922 -0
  220. package/.output/server/node_modules/bignumber.js/package.json +60 -0
  221. package/.output/server/node_modules/brace-expansion/index.js +633 -0
  222. package/.output/server/node_modules/brace-expansion/package.json +52 -0
  223. package/.output/server/node_modules/buffer-crc32/dist/index.cjs +306 -0
  224. package/.output/server/node_modules/buffer-crc32/package.json +54 -0
  225. package/.output/server/node_modules/buffer-equal-constant-time/index.js +41 -0
  226. package/.output/server/node_modules/buffer-equal-constant-time/package.json +21 -0
  227. package/.output/server/node_modules/compress-commons/lib/archivers/archive-entry.js +16 -0
  228. package/.output/server/node_modules/compress-commons/lib/archivers/archive-output-stream.js +118 -0
  229. package/.output/server/node_modules/compress-commons/lib/archivers/zip/constants.js +71 -0
  230. package/.output/server/node_modules/compress-commons/lib/archivers/zip/general-purpose-bit.js +101 -0
  231. package/.output/server/node_modules/compress-commons/lib/archivers/zip/unix-stat.js +53 -0
  232. package/.output/server/node_modules/compress-commons/lib/archivers/zip/util.js +74 -0
  233. package/.output/server/node_modules/compress-commons/lib/archivers/zip/zip-archive-entry.js +413 -0
  234. package/.output/server/node_modules/compress-commons/lib/archivers/zip/zip-archive-output-stream.js +437 -0
  235. package/.output/server/node_modules/compress-commons/lib/compress-commons.js +13 -0
  236. package/.output/server/node_modules/compress-commons/lib/util/index.js +27 -0
  237. package/.output/server/node_modules/compress-commons/package.json +46 -0
  238. package/.output/server/node_modules/core-util-is/lib/util.js +107 -0
  239. package/.output/server/node_modules/core-util-is/package.json +38 -0
  240. package/.output/server/node_modules/crc-32/crc32.js +115 -0
  241. package/.output/server/node_modules/crc-32/package.json +67 -0
  242. package/.output/server/node_modules/crc32-stream/lib/crc32-stream.js +48 -0
  243. package/.output/server/node_modules/crc32-stream/lib/deflate-crc32-stream.js +62 -0
  244. package/.output/server/node_modules/crc32-stream/lib/index.js +14 -0
  245. package/.output/server/node_modules/crc32-stream/package.json +45 -0
  246. package/.output/server/node_modules/data-uri-to-buffer/dist/index.js +53 -0
  247. package/.output/server/node_modules/data-uri-to-buffer/package.json +62 -0
  248. package/.output/server/node_modules/debug/package.json +64 -0
  249. package/.output/server/node_modules/debug/src/browser.js +272 -0
  250. package/.output/server/node_modules/debug/src/common.js +292 -0
  251. package/.output/server/node_modules/debug/src/index.js +10 -0
  252. package/.output/server/node_modules/debug/src/node.js +263 -0
  253. package/.output/server/node_modules/devalue/index.js +17 -0
  254. package/.output/server/node_modules/devalue/package.json +39 -0
  255. package/.output/server/node_modules/devalue/src/base64.js +60 -0
  256. package/.output/server/node_modules/devalue/src/constants.js +12 -0
  257. package/.output/server/node_modules/devalue/src/operations.js +221 -0
  258. package/.output/server/node_modules/devalue/src/parse.js +279 -0
  259. package/.output/server/node_modules/devalue/src/stringify.js +433 -0
  260. package/.output/server/node_modules/devalue/src/uneval.js +698 -0
  261. package/.output/server/node_modules/devalue/src/utils.js +190 -0
  262. package/.output/server/node_modules/ecdsa-sig-formatter/package.json +46 -0
  263. package/.output/server/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
  264. package/.output/server/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
  265. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  266. package/.output/server/node_modules/estree-walker/package.json +37 -0
  267. package/.output/server/node_modules/event-target-shim/dist/event-target-shim.js +871 -0
  268. package/.output/server/node_modules/event-target-shim/package.json +82 -0
  269. package/.output/server/node_modules/events-universal/default.js +1 -0
  270. package/.output/server/node_modules/events-universal/package.json +39 -0
  271. package/.output/server/node_modules/extend/index.js +117 -0
  272. package/.output/server/node_modules/extend/package.json +42 -0
  273. package/.output/server/node_modules/fast-fifo/fixed-size.js +39 -0
  274. package/.output/server/node_modules/fast-fifo/index.js +48 -0
  275. package/.output/server/node_modules/fast-fifo/package.json +28 -0
  276. package/.output/server/node_modules/fetch-blob/file.js +49 -0
  277. package/.output/server/node_modules/fetch-blob/from.js +100 -0
  278. package/.output/server/node_modules/fetch-blob/index.js +250 -0
  279. package/.output/server/node_modules/fetch-blob/package.json +56 -0
  280. package/.output/server/node_modules/fetch-blob/streams.cjs +51 -0
  281. package/.output/server/node_modules/formdata-polyfill/esm.min.js +40 -0
  282. package/.output/server/node_modules/formdata-polyfill/package.json +50 -0
  283. package/.output/server/node_modules/gaxios/build/cjs/src/common.js +311 -0
  284. package/.output/server/node_modules/gaxios/build/cjs/src/gaxios.js +564 -0
  285. package/.output/server/node_modules/gaxios/build/cjs/src/index.js +48 -0
  286. package/.output/server/node_modules/gaxios/build/cjs/src/interceptor.js +22 -0
  287. package/.output/server/node_modules/gaxios/build/cjs/src/retry.js +165 -0
  288. package/.output/server/node_modules/gaxios/build/cjs/src/util.cjs +16 -0
  289. package/.output/server/node_modules/gaxios/package.json +105 -0
  290. package/.output/server/node_modules/gcp-metadata/build/src/gcp-residency.js +114 -0
  291. package/.output/server/node_modules/gcp-metadata/build/src/index.js +402 -0
  292. package/.output/server/node_modules/gcp-metadata/package.json +77 -0
  293. package/.output/server/node_modules/glob/dist/commonjs/glob.js +247 -0
  294. package/.output/server/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  295. package/.output/server/node_modules/glob/dist/commonjs/ignore.js +119 -0
  296. package/.output/server/node_modules/glob/dist/commonjs/index.js +68 -0
  297. package/.output/server/node_modules/glob/dist/commonjs/package.json +3 -0
  298. package/.output/server/node_modules/glob/dist/commonjs/pattern.js +219 -0
  299. package/.output/server/node_modules/glob/dist/commonjs/processor.js +301 -0
  300. package/.output/server/node_modules/glob/dist/commonjs/walker.js +387 -0
  301. package/.output/server/node_modules/glob/package.json +99 -0
  302. package/.output/server/node_modules/google-auth-library/build/src/auth/authclient.js +286 -0
  303. package/.output/server/node_modules/google-auth-library/build/src/auth/awsclient.js +154 -0
  304. package/.output/server/node_modules/google-auth-library/build/src/auth/awsrequestsigner.js +213 -0
  305. package/.output/server/node_modules/google-auth-library/build/src/auth/baseexternalclient.js +477 -0
  306. package/.output/server/node_modules/google-auth-library/build/src/auth/certificatesubjecttokensupplier.js +223 -0
  307. package/.output/server/node_modules/google-auth-library/build/src/auth/computeclient.js +118 -0
  308. package/.output/server/node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.js +199 -0
  309. package/.output/server/node_modules/google-auth-library/build/src/auth/downscopedclient.js +273 -0
  310. package/.output/server/node_modules/google-auth-library/build/src/auth/envDetect.js +97 -0
  311. package/.output/server/node_modules/google-auth-library/build/src/auth/executable-response.js +178 -0
  312. package/.output/server/node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.js +233 -0
  313. package/.output/server/node_modules/google-auth-library/build/src/auth/externalclient.js +68 -0
  314. package/.output/server/node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.js +84 -0
  315. package/.output/server/node_modules/google-auth-library/build/src/auth/gdchclient.js +307 -0
  316. package/.output/server/node_modules/google-auth-library/build/src/auth/googleauth.js +921 -0
  317. package/.output/server/node_modules/google-auth-library/build/src/auth/iam.js +44 -0
  318. package/.output/server/node_modules/google-auth-library/build/src/auth/identitypoolclient.js +131 -0
  319. package/.output/server/node_modules/google-auth-library/build/src/auth/idtokenclient.js +56 -0
  320. package/.output/server/node_modules/google-auth-library/build/src/auth/impersonated.js +197 -0
  321. package/.output/server/node_modules/google-auth-library/build/src/auth/jwtaccess.js +201 -0
  322. package/.output/server/node_modules/google-auth-library/build/src/auth/jwtclient.js +301 -0
  323. package/.output/server/node_modules/google-auth-library/build/src/auth/loginticket.js +60 -0
  324. package/.output/server/node_modules/google-auth-library/build/src/auth/oauth2client.js +820 -0
  325. package/.output/server/node_modules/google-auth-library/build/src/auth/oauth2common.js +189 -0
  326. package/.output/server/node_modules/google-auth-library/build/src/auth/passthrough.js +60 -0
  327. package/.output/server/node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js +220 -0
  328. package/.output/server/node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.js +174 -0
  329. package/.output/server/node_modules/google-auth-library/build/src/auth/refreshclient.js +160 -0
  330. package/.output/server/node_modules/google-auth-library/build/src/auth/stscredentials.js +107 -0
  331. package/.output/server/node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.js +71 -0
  332. package/.output/server/node_modules/google-auth-library/build/src/crypto/browser/crypto.js +127 -0
  333. package/.output/server/node_modules/google-auth-library/build/src/crypto/crypto.js +54 -0
  334. package/.output/server/node_modules/google-auth-library/build/src/crypto/node/crypto.js +88 -0
  335. package/.output/server/node_modules/google-auth-library/build/src/crypto/shared.js +32 -0
  336. package/.output/server/node_modules/google-auth-library/build/src/gtoken/errorWithCode.js +25 -0
  337. package/.output/server/node_modules/google-auth-library/build/src/gtoken/getCredentials.js +132 -0
  338. package/.output/server/node_modules/google-auth-library/build/src/gtoken/getToken.js +66 -0
  339. package/.output/server/node_modules/google-auth-library/build/src/gtoken/googleToken.js +125 -0
  340. package/.output/server/node_modules/google-auth-library/build/src/gtoken/jwsSign.js +54 -0
  341. package/.output/server/node_modules/google-auth-library/build/src/gtoken/revokeToken.js +34 -0
  342. package/.output/server/node_modules/google-auth-library/build/src/gtoken/tokenHandler.js +97 -0
  343. package/.output/server/node_modules/google-auth-library/build/src/index.js +88 -0
  344. package/.output/server/node_modules/google-auth-library/build/src/shared.cjs +22 -0
  345. package/.output/server/node_modules/google-auth-library/build/src/util.js +176 -0
  346. package/.output/server/node_modules/google-auth-library/package.json +90 -0
  347. package/.output/server/node_modules/google-logging-utils/build/src/colours.js +81 -0
  348. package/.output/server/node_modules/google-logging-utils/build/src/index.js +31 -0
  349. package/.output/server/node_modules/google-logging-utils/build/src/logging-utils.js +437 -0
  350. package/.output/server/node_modules/google-logging-utils/package.json +45 -0
  351. package/.output/server/node_modules/graceful-fs/clone.js +23 -0
  352. package/.output/server/node_modules/graceful-fs/graceful-fs.js +448 -0
  353. package/.output/server/node_modules/graceful-fs/legacy-streams.js +118 -0
  354. package/.output/server/node_modules/graceful-fs/package.json +52 -0
  355. package/.output/server/node_modules/graceful-fs/polyfills.js +355 -0
  356. package/.output/server/node_modules/has-flag/index.js +8 -0
  357. package/.output/server/node_modules/has-flag/package.json +46 -0
  358. package/.output/server/node_modules/hookable/dist/index.mjs +257 -0
  359. package/.output/server/node_modules/hookable/package.json +54 -0
  360. package/.output/server/node_modules/https-proxy-agent/dist/index.js +180 -0
  361. package/.output/server/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
  362. package/.output/server/node_modules/https-proxy-agent/package.json +50 -0
  363. package/.output/server/node_modules/inherits/inherits.js +9 -0
  364. package/.output/server/node_modules/inherits/inherits_browser.js +27 -0
  365. package/.output/server/node_modules/inherits/package.json +29 -0
  366. package/.output/server/node_modules/is-stream/index.js +28 -0
  367. package/.output/server/node_modules/is-stream/package.json +42 -0
  368. package/.output/server/node_modules/isarray/index.js +5 -0
  369. package/.output/server/node_modules/isarray/package.json +45 -0
  370. package/.output/server/node_modules/json-bigint/index.js +12 -0
  371. package/.output/server/node_modules/json-bigint/lib/parse.js +443 -0
  372. package/.output/server/node_modules/json-bigint/lib/stringify.js +384 -0
  373. package/.output/server/node_modules/json-bigint/package.json +34 -0
  374. package/.output/server/node_modules/jwa/index.js +266 -0
  375. package/.output/server/node_modules/jwa/package.json +37 -0
  376. package/.output/server/node_modules/jws/index.js +22 -0
  377. package/.output/server/node_modules/jws/lib/data-stream.js +55 -0
  378. package/.output/server/node_modules/jws/lib/sign-stream.js +83 -0
  379. package/.output/server/node_modules/jws/lib/tostring.js +10 -0
  380. package/.output/server/node_modules/jws/lib/verify-stream.js +125 -0
  381. package/.output/server/node_modules/jws/package.json +34 -0
  382. package/.output/server/node_modules/lazystream/lib/lazystream.js +54 -0
  383. package/.output/server/node_modules/lazystream/package.json +46 -0
  384. package/.output/server/node_modules/lodash/_Hash.js +32 -0
  385. package/.output/server/node_modules/lodash/_ListCache.js +32 -0
  386. package/.output/server/node_modules/lodash/_Map.js +7 -0
  387. package/.output/server/node_modules/lodash/_MapCache.js +32 -0
  388. package/.output/server/node_modules/lodash/_Set.js +7 -0
  389. package/.output/server/node_modules/lodash/_SetCache.js +27 -0
  390. package/.output/server/node_modules/lodash/_Symbol.js +6 -0
  391. package/.output/server/node_modules/lodash/_apply.js +21 -0
  392. package/.output/server/node_modules/lodash/_arrayIncludes.js +17 -0
  393. package/.output/server/node_modules/lodash/_arrayIncludesWith.js +22 -0
  394. package/.output/server/node_modules/lodash/_arrayLikeKeys.js +49 -0
  395. package/.output/server/node_modules/lodash/_arrayMap.js +21 -0
  396. package/.output/server/node_modules/lodash/_arrayPush.js +20 -0
  397. package/.output/server/node_modules/lodash/_assocIndexOf.js +21 -0
  398. package/.output/server/node_modules/lodash/_baseDifference.js +67 -0
  399. package/.output/server/node_modules/lodash/_baseFindIndex.js +24 -0
  400. package/.output/server/node_modules/lodash/_baseFlatten.js +38 -0
  401. package/.output/server/node_modules/lodash/_baseGetTag.js +28 -0
  402. package/.output/server/node_modules/lodash/_baseIndexOf.js +20 -0
  403. package/.output/server/node_modules/lodash/_baseIsArguments.js +18 -0
  404. package/.output/server/node_modules/lodash/_baseIsNaN.js +12 -0
  405. package/.output/server/node_modules/lodash/_baseIsNative.js +47 -0
  406. package/.output/server/node_modules/lodash/_baseIsTypedArray.js +60 -0
  407. package/.output/server/node_modules/lodash/_baseKeysIn.js +33 -0
  408. package/.output/server/node_modules/lodash/_baseRest.js +17 -0
  409. package/.output/server/node_modules/lodash/_baseSetToString.js +22 -0
  410. package/.output/server/node_modules/lodash/_baseTimes.js +20 -0
  411. package/.output/server/node_modules/lodash/_baseUnary.js +14 -0
  412. package/.output/server/node_modules/lodash/_baseUniq.js +72 -0
  413. package/.output/server/node_modules/lodash/_cacheHas.js +13 -0
  414. package/.output/server/node_modules/lodash/_coreJsData.js +6 -0
  415. package/.output/server/node_modules/lodash/_createSet.js +19 -0
  416. package/.output/server/node_modules/lodash/_defineProperty.js +11 -0
  417. package/.output/server/node_modules/lodash/_freeGlobal.js +4 -0
  418. package/.output/server/node_modules/lodash/_getMapData.js +18 -0
  419. package/.output/server/node_modules/lodash/_getNative.js +17 -0
  420. package/.output/server/node_modules/lodash/_getPrototype.js +6 -0
  421. package/.output/server/node_modules/lodash/_getRawTag.js +46 -0
  422. package/.output/server/node_modules/lodash/_getValue.js +13 -0
  423. package/.output/server/node_modules/lodash/_hashClear.js +15 -0
  424. package/.output/server/node_modules/lodash/_hashDelete.js +17 -0
  425. package/.output/server/node_modules/lodash/_hashGet.js +30 -0
  426. package/.output/server/node_modules/lodash/_hashHas.js +23 -0
  427. package/.output/server/node_modules/lodash/_hashSet.js +23 -0
  428. package/.output/server/node_modules/lodash/_isFlattenable.js +20 -0
  429. package/.output/server/node_modules/lodash/_isIndex.js +25 -0
  430. package/.output/server/node_modules/lodash/_isIterateeCall.js +30 -0
  431. package/.output/server/node_modules/lodash/_isKeyable.js +15 -0
  432. package/.output/server/node_modules/lodash/_isMasked.js +20 -0
  433. package/.output/server/node_modules/lodash/_isPrototype.js +18 -0
  434. package/.output/server/node_modules/lodash/_listCacheClear.js +13 -0
  435. package/.output/server/node_modules/lodash/_listCacheDelete.js +35 -0
  436. package/.output/server/node_modules/lodash/_listCacheGet.js +19 -0
  437. package/.output/server/node_modules/lodash/_listCacheHas.js +16 -0
  438. package/.output/server/node_modules/lodash/_listCacheSet.js +26 -0
  439. package/.output/server/node_modules/lodash/_mapCacheClear.js +21 -0
  440. package/.output/server/node_modules/lodash/_mapCacheDelete.js +18 -0
  441. package/.output/server/node_modules/lodash/_mapCacheGet.js +16 -0
  442. package/.output/server/node_modules/lodash/_mapCacheHas.js +16 -0
  443. package/.output/server/node_modules/lodash/_mapCacheSet.js +22 -0
  444. package/.output/server/node_modules/lodash/_nativeCreate.js +6 -0
  445. package/.output/server/node_modules/lodash/_nativeKeysIn.js +20 -0
  446. package/.output/server/node_modules/lodash/_nodeUtil.js +30 -0
  447. package/.output/server/node_modules/lodash/_objectToString.js +22 -0
  448. package/.output/server/node_modules/lodash/_overArg.js +15 -0
  449. package/.output/server/node_modules/lodash/_overRest.js +36 -0
  450. package/.output/server/node_modules/lodash/_root.js +9 -0
  451. package/.output/server/node_modules/lodash/_setCacheAdd.js +19 -0
  452. package/.output/server/node_modules/lodash/_setCacheHas.js +14 -0
  453. package/.output/server/node_modules/lodash/_setToArray.js +18 -0
  454. package/.output/server/node_modules/lodash/_setToString.js +14 -0
  455. package/.output/server/node_modules/lodash/_shortOut.js +37 -0
  456. package/.output/server/node_modules/lodash/_strictIndexOf.js +23 -0
  457. package/.output/server/node_modules/lodash/_toSource.js +26 -0
  458. package/.output/server/node_modules/lodash/constant.js +26 -0
  459. package/.output/server/node_modules/lodash/defaults.js +64 -0
  460. package/.output/server/node_modules/lodash/difference.js +33 -0
  461. package/.output/server/node_modules/lodash/eq.js +37 -0
  462. package/.output/server/node_modules/lodash/flatten.js +22 -0
  463. package/.output/server/node_modules/lodash/identity.js +21 -0
  464. package/.output/server/node_modules/lodash/isArguments.js +36 -0
  465. package/.output/server/node_modules/lodash/isArray.js +26 -0
  466. package/.output/server/node_modules/lodash/isArrayLike.js +33 -0
  467. package/.output/server/node_modules/lodash/isArrayLikeObject.js +33 -0
  468. package/.output/server/node_modules/lodash/isBuffer.js +38 -0
  469. package/.output/server/node_modules/lodash/isFunction.js +37 -0
  470. package/.output/server/node_modules/lodash/isLength.js +35 -0
  471. package/.output/server/node_modules/lodash/isObject.js +31 -0
  472. package/.output/server/node_modules/lodash/isObjectLike.js +29 -0
  473. package/.output/server/node_modules/lodash/isPlainObject.js +62 -0
  474. package/.output/server/node_modules/lodash/isTypedArray.js +27 -0
  475. package/.output/server/node_modules/lodash/keysIn.js +32 -0
  476. package/.output/server/node_modules/lodash/noop.js +17 -0
  477. package/.output/server/node_modules/lodash/package.json +19 -0
  478. package/.output/server/node_modules/lodash/stubFalse.js +18 -0
  479. package/.output/server/node_modules/lodash/union.js +26 -0
  480. package/.output/server/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
  481. package/.output/server/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  482. package/.output/server/node_modules/lru-cache/package.json +116 -0
  483. package/.output/server/node_modules/lucide-vue-next/dist/cjs/lucide-vue-next.js +21273 -0
  484. package/.output/server/node_modules/lucide-vue-next/package.json +64 -0
  485. package/.output/server/node_modules/minipass/dist/commonjs/index.js +1038 -0
  486. package/.output/server/node_modules/minipass/dist/commonjs/package.json +3 -0
  487. package/.output/server/node_modules/minipass/package.json +77 -0
  488. package/.output/server/node_modules/ms/index.js +162 -0
  489. package/.output/server/node_modules/ms/package.json +38 -0
  490. package/.output/server/node_modules/node-domexception/index.js +16 -0
  491. package/.output/server/node_modules/node-domexception/package.json +29 -0
  492. package/.output/server/node_modules/node-fetch/package.json +131 -0
  493. package/.output/server/node_modules/node-fetch/src/body.js +397 -0
  494. package/.output/server/node_modules/node-fetch/src/errors/abort-error.js +10 -0
  495. package/.output/server/node_modules/node-fetch/src/errors/base.js +17 -0
  496. package/.output/server/node_modules/node-fetch/src/errors/fetch-error.js +26 -0
  497. package/.output/server/node_modules/node-fetch/src/headers.js +267 -0
  498. package/.output/server/node_modules/node-fetch/src/index.js +417 -0
  499. package/.output/server/node_modules/node-fetch/src/request.js +313 -0
  500. package/.output/server/node_modules/node-fetch/src/response.js +160 -0
  501. package/.output/server/node_modules/node-fetch/src/utils/get-search.js +9 -0
  502. package/.output/server/node_modules/node-fetch/src/utils/is-redirect.js +11 -0
  503. package/.output/server/node_modules/node-fetch/src/utils/is.js +87 -0
  504. package/.output/server/node_modules/node-fetch/src/utils/multipart-parser.js +432 -0
  505. package/.output/server/node_modules/node-fetch/src/utils/referrer.js +340 -0
  506. package/.output/server/node_modules/normalize-path/index.js +35 -0
  507. package/.output/server/node_modules/normalize-path/package.json +77 -0
  508. package/.output/server/node_modules/p-retry/index.js +85 -0
  509. package/.output/server/node_modules/p-retry/package.json +51 -0
  510. package/.output/server/node_modules/parse5/dist/common/doctype.js +114 -0
  511. package/.output/server/node_modules/parse5/dist/common/error-codes.js +63 -0
  512. package/.output/server/node_modules/parse5/dist/common/foreign-content.js +228 -0
  513. package/.output/server/node_modules/parse5/dist/common/html.js +523 -0
  514. package/.output/server/node_modules/parse5/dist/common/token.js +20 -0
  515. package/.output/server/node_modules/parse5/dist/common/unicode.js +62 -0
  516. package/.output/server/node_modules/parse5/dist/index.js +42 -0
  517. package/.output/server/node_modules/parse5/dist/parser/formatting-element-list.js +110 -0
  518. package/.output/server/node_modules/parse5/dist/parser/index.js +3245 -0
  519. package/.output/server/node_modules/parse5/dist/parser/open-element-stack.js +324 -0
  520. package/.output/server/node_modules/parse5/dist/serializer/index.js +168 -0
  521. package/.output/server/node_modules/parse5/dist/tokenizer/index.js +2710 -0
  522. package/.output/server/node_modules/parse5/dist/tokenizer/preprocessor.js +196 -0
  523. package/.output/server/node_modules/parse5/dist/tree-adapters/default.js +173 -0
  524. package/.output/server/node_modules/parse5/package.json +50 -0
  525. package/.output/server/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
  526. package/.output/server/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  527. package/.output/server/node_modules/path-scurry/package.json +89 -0
  528. package/.output/server/node_modules/playwright/index.mjs +18 -0
  529. package/.output/server/node_modules/playwright/package.json +50 -0
  530. package/.output/server/node_modules/playwright-core/browsers.json +52 -0
  531. package/.output/server/node_modules/playwright-core/index.js +17 -0
  532. package/.output/server/node_modules/playwright-core/index.mjs +28 -0
  533. package/.output/server/node_modules/playwright-core/lib/bootstrap.js +149 -0
  534. package/.output/server/node_modules/playwright-core/lib/coreBundle.js +78764 -0
  535. package/.output/server/node_modules/playwright-core/lib/utilsBundle.js +92408 -0
  536. package/.output/server/node_modules/playwright-core/package.json +34 -0
  537. package/.output/server/node_modules/process/index.js +2 -0
  538. package/.output/server/node_modules/process/package.json +27 -0
  539. package/.output/server/node_modules/process-nextick-args/index.js +45 -0
  540. package/.output/server/node_modules/process-nextick-args/package.json +25 -0
  541. package/.output/server/node_modules/readdir-glob/index.js +243 -0
  542. package/.output/server/node_modules/readdir-glob/package.json +43 -0
  543. package/.output/server/node_modules/retry/index.js +1 -0
  544. package/.output/server/node_modules/retry/lib/retry.js +100 -0
  545. package/.output/server/node_modules/retry/lib/retry_operation.js +162 -0
  546. package/.output/server/node_modules/retry/package.json +36 -0
  547. package/.output/server/node_modules/source-map-js/lib/array-set.js +123 -0
  548. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +136 -0
  549. package/.output/server/node_modules/source-map-js/lib/base64.js +68 -0
  550. package/.output/server/node_modules/source-map-js/lib/binary-search.js +115 -0
  551. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +84 -0
  552. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +211 -0
  553. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1314 -0
  554. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +486 -0
  555. package/.output/server/node_modules/source-map-js/lib/source-node.js +446 -0
  556. package/.output/server/node_modules/source-map-js/lib/util.js +613 -0
  557. package/.output/server/node_modules/source-map-js/package.json +78 -0
  558. package/.output/server/node_modules/source-map-js/source-map.js +10 -0
  559. package/.output/server/node_modules/streamx/index.js +1314 -0
  560. package/.output/server/node_modules/streamx/lib/errors.js +47 -0
  561. package/.output/server/node_modules/streamx/package.json +51 -0
  562. package/.output/server/node_modules/supports-color/index.js +135 -0
  563. package/.output/server/node_modules/supports-color/package.json +53 -0
  564. package/.output/server/node_modules/tar-stream/constants.js +14 -0
  565. package/.output/server/node_modules/tar-stream/extract.js +418 -0
  566. package/.output/server/node_modules/tar-stream/headers.js +322 -0
  567. package/.output/server/node_modules/tar-stream/index.js +2 -0
  568. package/.output/server/node_modules/tar-stream/pack.js +287 -0
  569. package/.output/server/node_modules/tar-stream/package.json +50 -0
  570. package/.output/server/node_modules/text-decoder/index.js +64 -0
  571. package/.output/server/node_modules/text-decoder/lib/pass-through-decoder.js +19 -0
  572. package/.output/server/node_modules/text-decoder/lib/utf8-decoder.js +185 -0
  573. package/.output/server/node_modules/text-decoder/package.json +39 -0
  574. package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
  575. package/.output/server/node_modules/ufo/package.json +48 -0
  576. package/.output/server/node_modules/unhead/dist/index.mjs +9 -0
  577. package/.output/server/node_modules/unhead/dist/plugins.mjs +103 -0
  578. package/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
  579. package/.output/server/node_modules/unhead/dist/server.mjs +191 -0
  580. package/.output/server/node_modules/unhead/dist/shared/unhead.0TIQaUam.mjs +244 -0
  581. package/.output/server/node_modules/unhead/dist/shared/unhead.AtIkjM2B.mjs +166 -0
  582. package/.output/server/node_modules/unhead/dist/shared/unhead.AvDFlk_u.mjs +39 -0
  583. package/.output/server/node_modules/unhead/dist/shared/unhead.B0o2oYhg.mjs +317 -0
  584. package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
  585. package/.output/server/node_modules/unhead/dist/shared/unhead.ByHeIeZd.mjs +184 -0
  586. package/.output/server/node_modules/unhead/dist/shared/unhead.C-69jnXc.mjs +44 -0
  587. package/.output/server/node_modules/unhead/dist/shared/unhead.ChXiQvI8.mjs +76 -0
  588. package/.output/server/node_modules/unhead/dist/shared/unhead.DWXHYkPf.mjs +366 -0
  589. package/.output/server/node_modules/unhead/dist/shared/unhead.h_KkEIE6.mjs +196 -0
  590. package/.output/server/node_modules/unhead/dist/shared/unhead.ylJpsHyA.mjs +255 -0
  591. package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
  592. package/.output/server/node_modules/unhead/package.json +106 -0
  593. package/.output/server/node_modules/util-deprecate/node.js +6 -0
  594. package/.output/server/node_modules/util-deprecate/package.json +27 -0
  595. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  596. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  597. package/.output/server/node_modules/vue/index.js +7 -0
  598. package/.output/server/node_modules/vue/index.mjs +1 -0
  599. package/.output/server/node_modules/vue/package.json +112 -0
  600. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  601. package/.output/server/node_modules/vue-bundle-renderer/dist/dependencies-VCG-RX19.mjs +118 -0
  602. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +673 -0
  603. package/.output/server/node_modules/vue-bundle-renderer/package.json +66 -0
  604. package/.output/server/node_modules/vue-router/dist/devtools-C3Hva4Qk.mjs +1220 -0
  605. package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1561 -0
  606. package/.output/server/node_modules/vue-router/package.json +156 -0
  607. package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
  608. package/.output/server/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +4737 -0
  609. package/.output/server/node_modules/web-streams-polyfill/package.json +83 -0
  610. package/.output/server/node_modules/ws/lib/buffer-util.js +142 -0
  611. package/.output/server/node_modules/ws/lib/constants.js +19 -0
  612. package/.output/server/node_modules/ws/lib/event-target.js +292 -0
  613. package/.output/server/node_modules/ws/lib/extension.js +203 -0
  614. package/.output/server/node_modules/ws/lib/limiter.js +55 -0
  615. package/.output/server/node_modules/ws/lib/permessage-deflate.js +530 -0
  616. package/.output/server/node_modules/ws/lib/receiver.js +751 -0
  617. package/.output/server/node_modules/ws/lib/sender.js +610 -0
  618. package/.output/server/node_modules/ws/lib/stream.js +161 -0
  619. package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
  620. package/.output/server/node_modules/ws/lib/validation.js +152 -0
  621. package/.output/server/node_modules/ws/lib/websocket-server.js +565 -0
  622. package/.output/server/node_modules/ws/lib/websocket.js +1471 -0
  623. package/.output/server/node_modules/ws/package.json +74 -0
  624. package/.output/server/node_modules/ws/wrapper.mjs +21 -0
  625. package/.output/server/node_modules/zip-stream/index.js +187 -0
  626. package/.output/server/node_modules/zip-stream/package.json +49 -0
  627. package/.output/server/node_modules/zod/index.js +4 -0
  628. package/.output/server/node_modules/zod/package.json +118 -0
  629. package/.output/server/node_modules/zod/v3/ZodError.js +133 -0
  630. package/.output/server/node_modules/zod/v3/errors.js +9 -0
  631. package/.output/server/node_modules/zod/v3/external.js +6 -0
  632. package/.output/server/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  633. package/.output/server/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  634. package/.output/server/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  635. package/.output/server/node_modules/zod/v3/helpers/util.js +133 -0
  636. package/.output/server/node_modules/zod/v3/locales/en.js +109 -0
  637. package/.output/server/node_modules/zod/v3/types.js +3693 -0
  638. package/.output/server/package.json +99 -0
  639. package/README.md +81 -2
  640. package/bin/cli.js +138 -0
  641. package/data/history.json +17 -0
  642. package/package.json +39 -4
  643. package/public/audio/cyber_future_tech.mp3 +0 -0
  644. package/public/audio/dark_phonk_pulse.mp3 +0 -0
  645. package/public/audio/deep_finance_groove.mp3 +0 -0
  646. package/public/audio/lofi_viral_study.mp3 +0 -0
  647. package/public/audio/motivation_cinematic.mp3 +0 -0
  648. package/public/videos/cyber_blue.mp4 +0 -0
  649. package/public/videos/cyber_matrix_stream.mp4 +0 -0
  650. package/public/videos/cyber_pulse.mp4 +0 -0
  651. package/public/videos/dark_luxury_particles.mp4 +0 -0
  652. package/public/videos/default_bg.mp4 +0 -0
  653. package/public/videos/emerald_flow.mp4 +0 -0
  654. package/public/videos/financial_pulse_flow.mp4 +0 -0
  655. package/public/videos/neon_cyber_grid.mp4 +0 -0
@@ -0,0 +1,1932 @@
1
+ /**
2
+ * @vue/runtime-dom 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 runtimeCore = require('@vue/runtime-core');
11
+ var shared = require('@vue/shared');
12
+
13
+ let policy = void 0;
14
+ const tt = typeof window !== "undefined" && window.trustedTypes;
15
+ if (tt) {
16
+ try {
17
+ policy = /* @__PURE__ */ tt.createPolicy("vue", {
18
+ createHTML: (val) => val
19
+ });
20
+ } catch (e) {
21
+ }
22
+ }
23
+ const unsafeToTrustedHTML = policy ? (val) => policy.createHTML(val) : (val) => val;
24
+ const svgNS = "http://www.w3.org/2000/svg";
25
+ const mathmlNS = "http://www.w3.org/1998/Math/MathML";
26
+ const doc = typeof document !== "undefined" ? document : null;
27
+ const templateContainer = doc && /* @__PURE__ */ doc.createElement("template");
28
+ const nodeOps = {
29
+ insert: (child, parent, anchor) => {
30
+ parent.insertBefore(child, anchor || null);
31
+ },
32
+ remove: (child) => {
33
+ const parent = child.parentNode;
34
+ if (parent) {
35
+ parent.removeChild(child);
36
+ }
37
+ },
38
+ createElement: (tag, namespace, is, props) => {
39
+ const el = namespace === "svg" ? doc.createElementNS(svgNS, tag) : namespace === "mathml" ? doc.createElementNS(mathmlNS, tag) : is ? doc.createElement(tag, { is }) : doc.createElement(tag);
40
+ if (tag === "select" && props && props.multiple != null) {
41
+ el.setAttribute("multiple", props.multiple);
42
+ }
43
+ return el;
44
+ },
45
+ createText: (text) => doc.createTextNode(text),
46
+ createComment: (text) => doc.createComment(text),
47
+ setText: (node, text) => {
48
+ node.nodeValue = text;
49
+ },
50
+ setElementText: (el, text) => {
51
+ el.textContent = text;
52
+ },
53
+ parentNode: (node) => node.parentNode,
54
+ nextSibling: (node) => node.nextSibling,
55
+ querySelector: (selector) => doc.querySelector(selector),
56
+ setScopeId(el, id) {
57
+ el.setAttribute(id, "");
58
+ },
59
+ // __UNSAFE__
60
+ // Reason: innerHTML.
61
+ // Static content here can only come from compiled templates.
62
+ // As long as the user only uses trusted templates, this is safe.
63
+ insertStaticContent(content, parent, anchor, namespace, start, end) {
64
+ const before = anchor ? anchor.previousSibling : parent.lastChild;
65
+ if (start && (start === end || start.nextSibling)) {
66
+ while (true) {
67
+ parent.insertBefore(start.cloneNode(true), anchor);
68
+ if (start === end || !(start = start.nextSibling)) break;
69
+ }
70
+ } else {
71
+ templateContainer.innerHTML = unsafeToTrustedHTML(
72
+ namespace === "svg" ? `<svg>${content}</svg>` : namespace === "mathml" ? `<math>${content}</math>` : content
73
+ );
74
+ const template = templateContainer.content;
75
+ if (namespace === "svg" || namespace === "mathml") {
76
+ const wrapper = template.firstChild;
77
+ while (wrapper.firstChild) {
78
+ template.appendChild(wrapper.firstChild);
79
+ }
80
+ template.removeChild(wrapper);
81
+ }
82
+ parent.insertBefore(template, anchor);
83
+ }
84
+ return [
85
+ // first
86
+ before ? before.nextSibling : parent.firstChild,
87
+ // last
88
+ anchor ? anchor.previousSibling : parent.lastChild
89
+ ];
90
+ }
91
+ };
92
+
93
+ const TRANSITION = "transition";
94
+ const ANIMATION = "animation";
95
+ const vtcKey = /* @__PURE__ */ Symbol("_vtc");
96
+ const DOMTransitionPropsValidators = {
97
+ name: String,
98
+ type: String,
99
+ css: {
100
+ type: Boolean,
101
+ default: true
102
+ },
103
+ duration: [String, Number, Object],
104
+ enterFromClass: String,
105
+ enterActiveClass: String,
106
+ enterToClass: String,
107
+ appearFromClass: String,
108
+ appearActiveClass: String,
109
+ appearToClass: String,
110
+ leaveFromClass: String,
111
+ leaveActiveClass: String,
112
+ leaveToClass: String
113
+ };
114
+ const TransitionPropsValidators = /* @__PURE__ */ shared.extend(
115
+ {},
116
+ runtimeCore.BaseTransitionPropsValidators,
117
+ DOMTransitionPropsValidators
118
+ );
119
+ const decorate$1 = (t) => {
120
+ t.displayName = "Transition";
121
+ t.props = TransitionPropsValidators;
122
+ return t;
123
+ };
124
+ const Transition = /* @__PURE__ */ decorate$1(
125
+ (props, { slots }) => runtimeCore.h(runtimeCore.BaseTransition, resolveTransitionProps(props), slots)
126
+ );
127
+ const callHook = (hook, args = []) => {
128
+ if (shared.isArray(hook)) {
129
+ hook.forEach((h2) => h2(...args));
130
+ } else if (hook) {
131
+ hook(...args);
132
+ }
133
+ };
134
+ const hasExplicitCallback = (hook) => {
135
+ return hook ? shared.isArray(hook) ? hook.some((h2) => h2.length > 1) : hook.length > 1 : false;
136
+ };
137
+ function resolveTransitionProps(rawProps) {
138
+ const baseProps = {};
139
+ for (const key in rawProps) {
140
+ if (!(key in DOMTransitionPropsValidators)) {
141
+ baseProps[key] = rawProps[key];
142
+ }
143
+ }
144
+ if (rawProps.css === false) {
145
+ return baseProps;
146
+ }
147
+ const {
148
+ name = "v",
149
+ type,
150
+ duration,
151
+ enterFromClass = `${name}-enter-from`,
152
+ enterActiveClass = `${name}-enter-active`,
153
+ enterToClass = `${name}-enter-to`,
154
+ appearFromClass = enterFromClass,
155
+ appearActiveClass = enterActiveClass,
156
+ appearToClass = enterToClass,
157
+ leaveFromClass = `${name}-leave-from`,
158
+ leaveActiveClass = `${name}-leave-active`,
159
+ leaveToClass = `${name}-leave-to`
160
+ } = rawProps;
161
+ const durations = normalizeDuration(duration);
162
+ const enterDuration = durations && durations[0];
163
+ const leaveDuration = durations && durations[1];
164
+ const {
165
+ onBeforeEnter,
166
+ onEnter,
167
+ onEnterCancelled,
168
+ onLeave,
169
+ onLeaveCancelled,
170
+ onBeforeAppear = onBeforeEnter,
171
+ onAppear = onEnter,
172
+ onAppearCancelled = onEnterCancelled
173
+ } = baseProps;
174
+ const finishEnter = (el, isAppear, done, isCancelled) => {
175
+ el._enterResolve = void 0;
176
+ el._enterCancelled = isCancelled;
177
+ removeTransitionClass(el, isAppear ? appearToClass : enterToClass);
178
+ removeTransitionClass(el, isAppear ? appearActiveClass : enterActiveClass);
179
+ done && done();
180
+ };
181
+ const finishLeave = (el, done) => {
182
+ el._leaveResolve = void 0;
183
+ el._isLeaving = false;
184
+ removeTransitionClass(el, leaveFromClass);
185
+ removeTransitionClass(el, leaveToClass);
186
+ removeTransitionClass(el, leaveActiveClass);
187
+ done && done();
188
+ };
189
+ const makeEnterHook = (isAppear) => {
190
+ return (el, done) => {
191
+ const hook = isAppear ? onAppear : onEnter;
192
+ const resolve = () => {
193
+ if (el._enterResolve === resolve) {
194
+ finishEnter(el, isAppear, done);
195
+ }
196
+ };
197
+ el._enterResolve = resolve;
198
+ callHook(hook, [el, resolve]);
199
+ nextFrame(() => {
200
+ removeTransitionClass(el, isAppear ? appearFromClass : enterFromClass);
201
+ if (el._enterResolve !== resolve) {
202
+ return;
203
+ }
204
+ addTransitionClass(el, isAppear ? appearToClass : enterToClass);
205
+ if (!hasExplicitCallback(hook)) {
206
+ whenTransitionEnds(el, type, enterDuration, resolve);
207
+ }
208
+ });
209
+ };
210
+ };
211
+ return shared.extend(baseProps, {
212
+ onBeforeEnter(el) {
213
+ callHook(onBeforeEnter, [el]);
214
+ addTransitionClass(el, enterFromClass);
215
+ addTransitionClass(el, enterActiveClass);
216
+ },
217
+ onBeforeAppear(el) {
218
+ callHook(onBeforeAppear, [el]);
219
+ addTransitionClass(el, appearFromClass);
220
+ addTransitionClass(el, appearActiveClass);
221
+ },
222
+ onEnter: makeEnterHook(false),
223
+ onAppear: makeEnterHook(true),
224
+ onLeave(el, done) {
225
+ el._isLeaving = true;
226
+ const resolve = () => {
227
+ if (el._leaveResolve === resolve) {
228
+ finishLeave(el, done);
229
+ }
230
+ };
231
+ el._leaveResolve = resolve;
232
+ addTransitionClass(el, leaveFromClass);
233
+ if (!el._enterCancelled) {
234
+ forceReflow(el);
235
+ addTransitionClass(el, leaveActiveClass);
236
+ } else {
237
+ addTransitionClass(el, leaveActiveClass);
238
+ forceReflow(el);
239
+ }
240
+ nextFrame(() => {
241
+ if (el._leaveResolve !== resolve) {
242
+ return;
243
+ }
244
+ removeTransitionClass(el, leaveFromClass);
245
+ addTransitionClass(el, leaveToClass);
246
+ if (!hasExplicitCallback(onLeave)) {
247
+ whenTransitionEnds(el, type, leaveDuration, resolve);
248
+ }
249
+ });
250
+ callHook(onLeave, [el, resolve]);
251
+ },
252
+ onEnterCancelled(el) {
253
+ finishEnter(el, false, void 0, true);
254
+ callHook(onEnterCancelled, [el]);
255
+ },
256
+ onAppearCancelled(el) {
257
+ finishEnter(el, true, void 0, true);
258
+ callHook(onAppearCancelled, [el]);
259
+ },
260
+ onLeaveCancelled(el) {
261
+ finishLeave(el);
262
+ callHook(onLeaveCancelled, [el]);
263
+ }
264
+ });
265
+ }
266
+ function normalizeDuration(duration) {
267
+ if (duration == null) {
268
+ return null;
269
+ } else if (shared.isObject(duration)) {
270
+ return [NumberOf(duration.enter), NumberOf(duration.leave)];
271
+ } else {
272
+ const n = NumberOf(duration);
273
+ return [n, n];
274
+ }
275
+ }
276
+ function NumberOf(val) {
277
+ const res = shared.toNumber(val);
278
+ return res;
279
+ }
280
+ function addTransitionClass(el, cls) {
281
+ cls.split(/\s+/).forEach((c) => c && el.classList.add(c));
282
+ (el[vtcKey] || (el[vtcKey] = /* @__PURE__ */ new Set())).add(cls);
283
+ }
284
+ function removeTransitionClass(el, cls) {
285
+ cls.split(/\s+/).forEach((c) => c && el.classList.remove(c));
286
+ const _vtc = el[vtcKey];
287
+ if (_vtc) {
288
+ _vtc.delete(cls);
289
+ if (!_vtc.size) {
290
+ el[vtcKey] = void 0;
291
+ }
292
+ }
293
+ }
294
+ function nextFrame(cb) {
295
+ requestAnimationFrame(() => {
296
+ requestAnimationFrame(cb);
297
+ });
298
+ }
299
+ let endId = 0;
300
+ function whenTransitionEnds(el, expectedType, explicitTimeout, resolve) {
301
+ const id = el._endId = ++endId;
302
+ const resolveIfNotStale = () => {
303
+ if (id === el._endId) {
304
+ resolve();
305
+ }
306
+ };
307
+ if (explicitTimeout != null) {
308
+ return setTimeout(resolveIfNotStale, explicitTimeout);
309
+ }
310
+ const { type, timeout, propCount } = getTransitionInfo(el, expectedType);
311
+ if (!type) {
312
+ return resolve();
313
+ }
314
+ const endEvent = type + "end";
315
+ let ended = 0;
316
+ const end = () => {
317
+ el.removeEventListener(endEvent, onEnd);
318
+ resolveIfNotStale();
319
+ };
320
+ const onEnd = (e) => {
321
+ if (e.target === el && ++ended >= propCount) {
322
+ end();
323
+ }
324
+ };
325
+ setTimeout(() => {
326
+ if (ended < propCount) {
327
+ end();
328
+ }
329
+ }, timeout + 1);
330
+ el.addEventListener(endEvent, onEnd);
331
+ }
332
+ function getTransitionInfo(el, expectedType) {
333
+ const styles = window.getComputedStyle(el);
334
+ const getStyleProperties = (key) => (styles[key] || "").split(", ");
335
+ const transitionDelays = getStyleProperties(`${TRANSITION}Delay`);
336
+ const transitionDurations = getStyleProperties(`${TRANSITION}Duration`);
337
+ const transitionTimeout = getTimeout(transitionDelays, transitionDurations);
338
+ const animationDelays = getStyleProperties(`${ANIMATION}Delay`);
339
+ const animationDurations = getStyleProperties(`${ANIMATION}Duration`);
340
+ const animationTimeout = getTimeout(animationDelays, animationDurations);
341
+ let type = null;
342
+ let timeout = 0;
343
+ let propCount = 0;
344
+ if (expectedType === TRANSITION) {
345
+ if (transitionTimeout > 0) {
346
+ type = TRANSITION;
347
+ timeout = transitionTimeout;
348
+ propCount = transitionDurations.length;
349
+ }
350
+ } else if (expectedType === ANIMATION) {
351
+ if (animationTimeout > 0) {
352
+ type = ANIMATION;
353
+ timeout = animationTimeout;
354
+ propCount = animationDurations.length;
355
+ }
356
+ } else {
357
+ timeout = Math.max(transitionTimeout, animationTimeout);
358
+ type = timeout > 0 ? transitionTimeout > animationTimeout ? TRANSITION : ANIMATION : null;
359
+ propCount = type ? type === TRANSITION ? transitionDurations.length : animationDurations.length : 0;
360
+ }
361
+ const hasTransform = type === TRANSITION && /\b(?:transform|all)(?:,|$)/.test(
362
+ getStyleProperties(`${TRANSITION}Property`).toString()
363
+ );
364
+ return {
365
+ type,
366
+ timeout,
367
+ propCount,
368
+ hasTransform
369
+ };
370
+ }
371
+ function getTimeout(delays, durations) {
372
+ while (delays.length < durations.length) {
373
+ delays = delays.concat(delays);
374
+ }
375
+ return Math.max(...durations.map((d, i) => toMs(d) + toMs(delays[i])));
376
+ }
377
+ function toMs(s) {
378
+ if (s === "auto") return 0;
379
+ return Number(s.slice(0, -1).replace(",", ".")) * 1e3;
380
+ }
381
+ function forceReflow(el) {
382
+ const targetDocument = el ? el.ownerDocument : document;
383
+ return targetDocument.body.offsetHeight;
384
+ }
385
+
386
+ function patchClass(el, value, isSVG) {
387
+ const transitionClasses = el[vtcKey];
388
+ if (transitionClasses) {
389
+ value = (value ? [value, ...transitionClasses] : [...transitionClasses]).join(" ");
390
+ }
391
+ if (value == null) {
392
+ el.removeAttribute("class");
393
+ } else if (isSVG) {
394
+ el.setAttribute("class", value);
395
+ } else {
396
+ el.className = value;
397
+ }
398
+ }
399
+
400
+ const vShowOriginalDisplay = /* @__PURE__ */ Symbol("_vod");
401
+ const vShowHidden = /* @__PURE__ */ Symbol("_vsh");
402
+ const vShow = {
403
+ // used for prop mismatch check during hydration
404
+ name: "show",
405
+ beforeMount(el, { value }, { transition }) {
406
+ el[vShowOriginalDisplay] = el.style.display === "none" ? "" : el.style.display;
407
+ if (transition && value) {
408
+ transition.beforeEnter(el);
409
+ } else {
410
+ setDisplay(el, value);
411
+ }
412
+ },
413
+ mounted(el, { value }, { transition }) {
414
+ if (transition && value) {
415
+ transition.enter(el);
416
+ }
417
+ },
418
+ updated(el, { value, oldValue }, { transition }) {
419
+ if (!value === !oldValue) return;
420
+ if (transition) {
421
+ if (value) {
422
+ transition.beforeEnter(el);
423
+ setDisplay(el, true);
424
+ transition.enter(el);
425
+ } else {
426
+ transition.leave(el, () => {
427
+ setDisplay(el, false);
428
+ });
429
+ }
430
+ } else {
431
+ setDisplay(el, value);
432
+ }
433
+ },
434
+ beforeUnmount(el, { value }) {
435
+ setDisplay(el, value);
436
+ }
437
+ };
438
+ function setDisplay(el, value) {
439
+ el.style.display = value ? el[vShowOriginalDisplay] : "none";
440
+ el[vShowHidden] = !value;
441
+ }
442
+ function initVShowForSSR() {
443
+ vShow.getSSRProps = ({ value }) => {
444
+ if (!value) {
445
+ return { style: { display: "none" } };
446
+ }
447
+ };
448
+ }
449
+
450
+ const CSS_VAR_TEXT = /* @__PURE__ */ Symbol("");
451
+ function useCssVars(getter) {
452
+ return;
453
+ }
454
+
455
+ const displayRE = /(?:^|;)\s*display\s*:/;
456
+ function patchStyle(el, prev, next) {
457
+ const style = el.style;
458
+ const isCssString = shared.isString(next);
459
+ let hasControlledDisplay = false;
460
+ if (next && !isCssString) {
461
+ if (prev) {
462
+ if (!shared.isString(prev)) {
463
+ for (const key in prev) {
464
+ if (next[key] == null) {
465
+ setStyle(style, key, "");
466
+ }
467
+ }
468
+ } else {
469
+ for (const prevStyle of prev.split(";")) {
470
+ const key = prevStyle.slice(0, prevStyle.indexOf(":")).trim();
471
+ if (next[key] == null) {
472
+ setStyle(style, key, "");
473
+ }
474
+ }
475
+ }
476
+ }
477
+ for (const key in next) {
478
+ if (key === "display") {
479
+ hasControlledDisplay = true;
480
+ }
481
+ const value = next[key];
482
+ if (value != null) {
483
+ if (!shouldPreserveTextareaResizeStyle(
484
+ el,
485
+ key,
486
+ !shared.isString(prev) && prev ? prev[key] : void 0,
487
+ value
488
+ )) {
489
+ setStyle(style, key, value);
490
+ }
491
+ } else {
492
+ setStyle(style, key, "");
493
+ }
494
+ }
495
+ } else {
496
+ if (isCssString) {
497
+ if (prev !== next) {
498
+ const cssVarText = style[CSS_VAR_TEXT];
499
+ if (cssVarText) {
500
+ next += ";" + cssVarText;
501
+ }
502
+ style.cssText = next;
503
+ hasControlledDisplay = displayRE.test(next);
504
+ }
505
+ } else if (prev) {
506
+ el.removeAttribute("style");
507
+ }
508
+ }
509
+ if (vShowOriginalDisplay in el) {
510
+ if (!isCssString || prev !== next) {
511
+ el[vShowOriginalDisplay] = hasControlledDisplay ? style.display : "";
512
+ }
513
+ if (el[vShowHidden]) {
514
+ style.display = "none";
515
+ }
516
+ }
517
+ }
518
+ const importantRE = /\s*!important$/;
519
+ function setStyle(style, name, val) {
520
+ if (shared.isArray(val)) {
521
+ val.forEach((v) => setStyle(style, name, v));
522
+ } else {
523
+ if (val == null) val = "";
524
+ if (name.startsWith("--")) {
525
+ if (importantRE.test(val)) {
526
+ style.setProperty(name, val.replace(importantRE, ""), "important");
527
+ } else {
528
+ style.setProperty(name, val);
529
+ }
530
+ } else {
531
+ const prefixed = autoPrefix(style, name);
532
+ if (importantRE.test(val)) {
533
+ style.setProperty(
534
+ shared.hyphenate(prefixed),
535
+ val.replace(importantRE, ""),
536
+ "important"
537
+ );
538
+ } else {
539
+ style[prefixed] = val;
540
+ }
541
+ }
542
+ }
543
+ }
544
+ const prefixes = ["Webkit", "Moz", "ms"];
545
+ const prefixCache = {};
546
+ function autoPrefix(style, rawName) {
547
+ const cached = prefixCache[rawName];
548
+ if (cached) {
549
+ return cached;
550
+ }
551
+ let name = runtimeCore.camelize(rawName);
552
+ if (name !== "filter" && name in style) {
553
+ return prefixCache[rawName] = name;
554
+ }
555
+ name = shared.capitalize(name);
556
+ for (let i = 0; i < prefixes.length; i++) {
557
+ const prefixed = prefixes[i] + name;
558
+ if (prefixed in style) {
559
+ return prefixCache[rawName] = prefixed;
560
+ }
561
+ }
562
+ return rawName;
563
+ }
564
+ function shouldPreserveTextareaResizeStyle(el, key, prev, next) {
565
+ return el.tagName === "TEXTAREA" && (key === "width" || key === "height") && shared.isString(next) && prev === next;
566
+ }
567
+
568
+ const xlinkNS = "http://www.w3.org/1999/xlink";
569
+ function patchAttr(el, key, value, isSVG, instance, isBoolean = shared.isSpecialBooleanAttr(key)) {
570
+ if (isSVG && key.startsWith("xlink:")) {
571
+ if (value == null) {
572
+ el.removeAttributeNS(xlinkNS, key.slice(6, key.length));
573
+ } else {
574
+ el.setAttributeNS(xlinkNS, key, value);
575
+ }
576
+ } else {
577
+ if (value == null || isBoolean && !shared.includeBooleanAttr(value)) {
578
+ el.removeAttribute(key);
579
+ } else {
580
+ el.setAttribute(
581
+ key,
582
+ isBoolean ? "" : shared.isSymbol(value) ? String(value) : value
583
+ );
584
+ }
585
+ }
586
+ }
587
+
588
+ function patchDOMProp(el, key, value, parentComponent, attrName) {
589
+ if (key === "innerHTML" || key === "textContent") {
590
+ if (value != null) {
591
+ el[key] = key === "innerHTML" ? unsafeToTrustedHTML(value) : value;
592
+ }
593
+ return;
594
+ }
595
+ const tag = el.tagName;
596
+ if (key === "value" && tag !== "PROGRESS" && // custom elements may use _value internally
597
+ !tag.includes("-")) {
598
+ const oldValue = tag === "OPTION" ? el.getAttribute("value") || "" : el.value;
599
+ const newValue = value == null ? (
600
+ // #11647: value should be set as empty string for null and undefined,
601
+ // but <input type="checkbox"> should be set as 'on'.
602
+ el.type === "checkbox" ? "on" : ""
603
+ ) : String(value);
604
+ if (oldValue !== newValue || !("_value" in el)) {
605
+ el.value = newValue;
606
+ }
607
+ if (value == null) {
608
+ el.removeAttribute(key);
609
+ }
610
+ el._value = value;
611
+ return;
612
+ }
613
+ let needRemove = false;
614
+ if (value === "" || value == null) {
615
+ const type = typeof el[key];
616
+ if (type === "boolean") {
617
+ value = shared.includeBooleanAttr(value);
618
+ } else if (value == null && type === "string") {
619
+ value = "";
620
+ needRemove = true;
621
+ } else if (type === "number") {
622
+ value = 0;
623
+ needRemove = true;
624
+ }
625
+ }
626
+ try {
627
+ el[key] = value;
628
+ } catch (e) {
629
+ }
630
+ needRemove && el.removeAttribute(attrName || key);
631
+ }
632
+
633
+ function addEventListener(el, event, handler, options) {
634
+ el.addEventListener(event, handler, options);
635
+ }
636
+ function removeEventListener(el, event, handler, options) {
637
+ el.removeEventListener(event, handler, options);
638
+ }
639
+ const veiKey = /* @__PURE__ */ Symbol("_vei");
640
+ function patchEvent(el, rawName, prevValue, nextValue, instance = null) {
641
+ const invokers = el[veiKey] || (el[veiKey] = {});
642
+ const existingInvoker = invokers[rawName];
643
+ if (nextValue && existingInvoker) {
644
+ existingInvoker.value = nextValue;
645
+ } else {
646
+ const [name, options] = parseName(rawName);
647
+ if (nextValue) {
648
+ const invoker = invokers[rawName] = createInvoker(
649
+ nextValue,
650
+ instance
651
+ );
652
+ addEventListener(el, name, invoker, options);
653
+ } else if (existingInvoker) {
654
+ removeEventListener(el, name, existingInvoker, options);
655
+ invokers[rawName] = void 0;
656
+ }
657
+ }
658
+ }
659
+ const optionsModifierRE = /(Once|Passive|Capture)$/;
660
+ const optionsModifierEventRE = /^on:?(?:Once|Passive|Capture)$/;
661
+ function parseName(name) {
662
+ let options;
663
+ let m;
664
+ while ((m = name.match(optionsModifierRE)) && !optionsModifierEventRE.test(name)) {
665
+ if (!options) options = {};
666
+ name = name.slice(0, name.length - m[1].length);
667
+ options[m[1].toLowerCase()] = true;
668
+ }
669
+ const event = name[2] === ":" ? name.slice(3) : shared.hyphenate(name.slice(2));
670
+ return [event, options];
671
+ }
672
+ let cachedNow = 0;
673
+ const p = /* @__PURE__ */ Promise.resolve();
674
+ const getNow = () => cachedNow || (p.then(() => cachedNow = 0), cachedNow = Date.now());
675
+ function createInvoker(initialValue, instance) {
676
+ const invoker = (e) => {
677
+ if (!e._vts) {
678
+ e._vts = Date.now();
679
+ } else if (e._vts <= invoker.attached) {
680
+ return;
681
+ }
682
+ const value = invoker.value;
683
+ if (shared.isArray(value)) {
684
+ const originalStop = e.stopImmediatePropagation;
685
+ e.stopImmediatePropagation = () => {
686
+ originalStop.call(e);
687
+ e._stopped = true;
688
+ };
689
+ const handlers = value.slice();
690
+ const args = [e];
691
+ for (let i = 0; i < handlers.length; i++) {
692
+ if (e._stopped) {
693
+ break;
694
+ }
695
+ const handler = handlers[i];
696
+ if (handler) {
697
+ runtimeCore.callWithAsyncErrorHandling(
698
+ handler,
699
+ instance,
700
+ 5,
701
+ args
702
+ );
703
+ }
704
+ }
705
+ } else {
706
+ runtimeCore.callWithAsyncErrorHandling(
707
+ value,
708
+ instance,
709
+ 5,
710
+ [e]
711
+ );
712
+ }
713
+ };
714
+ invoker.value = initialValue;
715
+ invoker.attached = getNow();
716
+ return invoker;
717
+ }
718
+
719
+ const isNativeOn = (key) => key.charCodeAt(0) === 111 && key.charCodeAt(1) === 110 && // lowercase letter
720
+ key.charCodeAt(2) > 96 && key.charCodeAt(2) < 123;
721
+ const patchProp = (el, key, prevValue, nextValue, namespace, parentComponent) => {
722
+ const isSVG = namespace === "svg";
723
+ if (key === "class") {
724
+ patchClass(el, nextValue, isSVG);
725
+ } else if (key === "style") {
726
+ patchStyle(el, prevValue, nextValue);
727
+ } else if (shared.isOn(key)) {
728
+ if (!shared.isModelListener(key)) {
729
+ patchEvent(el, key, prevValue, nextValue, parentComponent);
730
+ }
731
+ } else if (key[0] === "." ? (key = key.slice(1), true) : key[0] === "^" ? (key = key.slice(1), false) : shouldSetAsProp(el, key, nextValue, isSVG)) {
732
+ patchDOMProp(el, key, nextValue);
733
+ if (!el.tagName.includes("-") && (key === "value" || key === "checked" || key === "selected")) {
734
+ patchAttr(el, key, nextValue, isSVG, parentComponent, key !== "value");
735
+ }
736
+ } else if (
737
+ // #11081 force set props for possible async custom element
738
+ el._isVueCE && // #12408 check if it's declared prop or it's async custom element
739
+ (shouldSetAsPropForVueCE(el, key) || // @ts-expect-error _def is private
740
+ el._def.__asyncLoader && (/[A-Z]/.test(key) || !shared.isString(nextValue)))
741
+ ) {
742
+ patchDOMProp(el, shared.camelize(key), nextValue, parentComponent, key);
743
+ } else {
744
+ if (key === "true-value") {
745
+ el._trueValue = nextValue;
746
+ } else if (key === "false-value") {
747
+ el._falseValue = nextValue;
748
+ }
749
+ patchAttr(el, key, nextValue, isSVG);
750
+ }
751
+ };
752
+ function shouldSetAsProp(el, key, value, isSVG) {
753
+ if (isSVG) {
754
+ if (key === "innerHTML" || key === "textContent") {
755
+ return true;
756
+ }
757
+ if (key in el && isNativeOn(key) && shared.isFunction(value)) {
758
+ return true;
759
+ }
760
+ return false;
761
+ }
762
+ if (key === "spellcheck" || key === "draggable" || key === "translate" || key === "autocorrect") {
763
+ return false;
764
+ }
765
+ if (key === "sandbox" && el.tagName === "IFRAME") {
766
+ return false;
767
+ }
768
+ if (key === "form") {
769
+ return false;
770
+ }
771
+ if (key === "list" && el.tagName === "INPUT") {
772
+ return false;
773
+ }
774
+ if (key === "type" && el.tagName === "TEXTAREA") {
775
+ return false;
776
+ }
777
+ if (key === "width" || key === "height") {
778
+ const tag = el.tagName;
779
+ if (tag === "IMG" || tag === "VIDEO" || tag === "CANVAS" || tag === "SOURCE") {
780
+ return false;
781
+ }
782
+ }
783
+ if (isNativeOn(key) && shared.isString(value)) {
784
+ return false;
785
+ }
786
+ return key in el;
787
+ }
788
+ function shouldSetAsPropForVueCE(el, key) {
789
+ const props = (
790
+ // @ts-expect-error _def is private
791
+ el._def.props
792
+ );
793
+ if (!props) {
794
+ return false;
795
+ }
796
+ const camelKey = shared.camelize(key);
797
+ return Array.isArray(props) ? props.some((prop) => shared.camelize(prop) === camelKey) : Object.keys(props).some((prop) => shared.camelize(prop) === camelKey);
798
+ }
799
+
800
+ const REMOVAL = {};
801
+ // @__NO_SIDE_EFFECTS__
802
+ function defineCustomElement(options, extraOptions, _createApp) {
803
+ let Comp = runtimeCore.defineComponent(options, extraOptions);
804
+ if (shared.isPlainObject(Comp)) Comp = shared.extend({}, Comp, extraOptions);
805
+ class VueCustomElement extends VueElement {
806
+ constructor(initialProps) {
807
+ super(Comp, initialProps, _createApp);
808
+ }
809
+ }
810
+ VueCustomElement.def = Comp;
811
+ return VueCustomElement;
812
+ }
813
+ const defineSSRCustomElement = (/* @__NO_SIDE_EFFECTS__ */ (options, extraOptions) => {
814
+ return /* @__PURE__ */ defineCustomElement(options, extraOptions, createSSRApp);
815
+ });
816
+ const BaseClass = typeof HTMLElement !== "undefined" ? HTMLElement : class {
817
+ };
818
+ class VueElement extends BaseClass {
819
+ constructor(_def, _props = {}, _createApp = createApp) {
820
+ super();
821
+ this._def = _def;
822
+ this._props = _props;
823
+ this._createApp = _createApp;
824
+ this._isVueCE = true;
825
+ /**
826
+ * @internal
827
+ */
828
+ this._instance = null;
829
+ /**
830
+ * @internal
831
+ */
832
+ this._app = null;
833
+ /**
834
+ * @internal
835
+ */
836
+ this._nonce = this._def.nonce;
837
+ this._connected = false;
838
+ this._resolved = false;
839
+ this._patching = false;
840
+ this._dirty = false;
841
+ this._numberProps = null;
842
+ this._styleChildren = /* @__PURE__ */ new WeakSet();
843
+ this._styleAnchors = /* @__PURE__ */ new WeakMap();
844
+ this._ob = null;
845
+ if (this.shadowRoot && _createApp !== createApp) {
846
+ this._root = this.shadowRoot;
847
+ } else {
848
+ if (_def.shadowRoot !== false) {
849
+ this.attachShadow(
850
+ shared.extend({}, _def.shadowRootOptions, {
851
+ mode: "open"
852
+ })
853
+ );
854
+ this._root = this.shadowRoot;
855
+ } else {
856
+ this._root = this;
857
+ }
858
+ }
859
+ }
860
+ connectedCallback() {
861
+ if (!this.isConnected) return;
862
+ if (!this.shadowRoot && !this._resolved) {
863
+ this._parseSlots();
864
+ }
865
+ this._connected = true;
866
+ let parent = this;
867
+ while (parent = parent && // #12479 should check assignedSlot first to get correct parent
868
+ (parent.assignedSlot || parent.parentNode || parent.host)) {
869
+ if (parent instanceof VueElement) {
870
+ this._parent = parent;
871
+ break;
872
+ }
873
+ }
874
+ if (!this._instance) {
875
+ if (this._resolved) {
876
+ this._mount(this._def);
877
+ } else {
878
+ if (parent && parent._pendingResolve) {
879
+ this._pendingResolve = parent._pendingResolve.then(() => {
880
+ this._pendingResolve = void 0;
881
+ if (this.isConnected) {
882
+ return this._resolveDef();
883
+ }
884
+ });
885
+ } else {
886
+ this._resolveDef();
887
+ }
888
+ }
889
+ }
890
+ }
891
+ _setParent(parent = this._parent) {
892
+ if (parent) {
893
+ this._instance.parent = parent._instance;
894
+ this._inheritParentContext(parent);
895
+ }
896
+ }
897
+ _inheritParentContext(parent = this._parent) {
898
+ if (parent && this._app) {
899
+ Object.setPrototypeOf(
900
+ this._app._context.provides,
901
+ parent._instance.provides
902
+ );
903
+ }
904
+ }
905
+ disconnectedCallback() {
906
+ this._connected = false;
907
+ runtimeCore.nextTick(() => {
908
+ if (!this._connected) {
909
+ if (this._ob) {
910
+ this._ob.disconnect();
911
+ this._ob = null;
912
+ }
913
+ this._app && this._app.unmount();
914
+ if (this._instance) this._instance.ce = void 0;
915
+ this._app = this._instance = null;
916
+ if (this._teleportTargets) {
917
+ this._teleportTargets.clear();
918
+ this._teleportTargets = void 0;
919
+ }
920
+ }
921
+ });
922
+ }
923
+ _processMutations(mutations) {
924
+ for (const m of mutations) {
925
+ this._setAttr(m.attributeName);
926
+ }
927
+ }
928
+ /**
929
+ * resolve inner component definition (handle possible async component)
930
+ */
931
+ _resolveDef() {
932
+ if (this._pendingResolve) {
933
+ return this._pendingResolve;
934
+ }
935
+ for (let i = 0; i < this.attributes.length; i++) {
936
+ this._setAttr(this.attributes[i].name);
937
+ }
938
+ this._ob = new MutationObserver(this._processMutations.bind(this));
939
+ this._ob.observe(this, { attributes: true });
940
+ const resolve = (def, isAsync = false) => {
941
+ this._resolved = true;
942
+ this._pendingResolve = void 0;
943
+ const { props, styles } = def;
944
+ let numberProps;
945
+ if (props && !shared.isArray(props)) {
946
+ for (const key in props) {
947
+ const opt = props[key];
948
+ if (opt === Number || opt && opt.type === Number) {
949
+ if (key in this._props) {
950
+ this._props[key] = shared.toNumber(this._props[key]);
951
+ }
952
+ (numberProps || (numberProps = /* @__PURE__ */ Object.create(null)))[shared.camelize(key)] = true;
953
+ }
954
+ }
955
+ }
956
+ this._numberProps = numberProps;
957
+ this._resolveProps(def);
958
+ if (this.shadowRoot) {
959
+ this._applyStyles(styles);
960
+ }
961
+ if (this._connected) {
962
+ this._mount(def);
963
+ }
964
+ };
965
+ const asyncDef = this._def.__asyncLoader;
966
+ if (asyncDef) {
967
+ this._pendingResolve = asyncDef().then((def) => {
968
+ def.configureApp = this._def.configureApp;
969
+ resolve(this._def = def, true);
970
+ });
971
+ return this._pendingResolve;
972
+ } else {
973
+ resolve(this._def);
974
+ }
975
+ }
976
+ _mount(def) {
977
+ this._app = this._createApp(def);
978
+ this._inheritParentContext();
979
+ if (def.configureApp) {
980
+ def.configureApp(this._app);
981
+ }
982
+ this._app._ceVNode = this._createVNode();
983
+ this._app.mount(this._root);
984
+ const exposed = this._instance && this._instance.exposed;
985
+ if (!exposed) return;
986
+ for (const key in exposed) {
987
+ if (!shared.hasOwn(this, key)) {
988
+ Object.defineProperty(this, key, {
989
+ // unwrap ref to be consistent with public instance behavior
990
+ get: () => runtimeCore.unref(exposed[key])
991
+ });
992
+ }
993
+ }
994
+ }
995
+ _resolveProps(def) {
996
+ const { props } = def;
997
+ const declaredPropKeys = shared.isArray(props) ? props : Object.keys(props || {});
998
+ for (const key of Object.keys(this)) {
999
+ if (key[0] !== "_" && declaredPropKeys.includes(key)) {
1000
+ this._setProp(key, this[key]);
1001
+ }
1002
+ }
1003
+ for (const key of declaredPropKeys.map(shared.camelize)) {
1004
+ Object.defineProperty(this, key, {
1005
+ get() {
1006
+ return this._getProp(key);
1007
+ },
1008
+ set(val) {
1009
+ this._setProp(key, val, true, !this._patching);
1010
+ }
1011
+ });
1012
+ }
1013
+ }
1014
+ _setAttr(key) {
1015
+ if (key.startsWith("data-v-")) return;
1016
+ const has = this.hasAttribute(key);
1017
+ let value = has ? this.getAttribute(key) : REMOVAL;
1018
+ const camelKey = shared.camelize(key);
1019
+ if (has && this._numberProps && this._numberProps[camelKey]) {
1020
+ value = shared.toNumber(value);
1021
+ }
1022
+ this._setProp(camelKey, value, false, true);
1023
+ }
1024
+ /**
1025
+ * @internal
1026
+ */
1027
+ _getProp(key) {
1028
+ return this._props[key];
1029
+ }
1030
+ /**
1031
+ * @internal
1032
+ */
1033
+ _setProp(key, val, shouldReflect = true, shouldUpdate = false) {
1034
+ if (val !== this._props[key]) {
1035
+ this._dirty = true;
1036
+ if (val === REMOVAL) {
1037
+ delete this._props[key];
1038
+ } else {
1039
+ this._props[key] = val;
1040
+ if (key === "key" && this._app) {
1041
+ this._app._ceVNode.key = val;
1042
+ }
1043
+ }
1044
+ if (shouldUpdate && this._instance) {
1045
+ this._update();
1046
+ }
1047
+ if (shouldReflect) {
1048
+ const ob = this._ob;
1049
+ if (ob) {
1050
+ this._processMutations(ob.takeRecords());
1051
+ ob.disconnect();
1052
+ }
1053
+ if (val === true) {
1054
+ this.setAttribute(shared.hyphenate(key), "");
1055
+ } else if (typeof val === "string" || typeof val === "number") {
1056
+ this.setAttribute(shared.hyphenate(key), val + "");
1057
+ } else if (!val) {
1058
+ this.removeAttribute(shared.hyphenate(key));
1059
+ }
1060
+ ob && ob.observe(this, { attributes: true });
1061
+ }
1062
+ }
1063
+ }
1064
+ _update() {
1065
+ const vnode = this._createVNode();
1066
+ if (this._app) vnode.appContext = this._app._context;
1067
+ render(vnode, this._root);
1068
+ }
1069
+ _createVNode() {
1070
+ const baseProps = {};
1071
+ if (!this.shadowRoot) {
1072
+ baseProps.onVnodeMounted = baseProps.onVnodeUpdated = this._renderSlots.bind(this);
1073
+ }
1074
+ const vnode = runtimeCore.createVNode(this._def, shared.extend(baseProps, this._props));
1075
+ if (!this._instance) {
1076
+ vnode.ce = (instance) => {
1077
+ this._instance = instance;
1078
+ instance.ce = this;
1079
+ instance.isCE = true;
1080
+ const dispatch = (event, args) => {
1081
+ this.dispatchEvent(
1082
+ new CustomEvent(
1083
+ event,
1084
+ shared.isPlainObject(args[0]) ? shared.extend({ detail: args }, args[0]) : { detail: args }
1085
+ )
1086
+ );
1087
+ };
1088
+ instance.emit = (event, ...args) => {
1089
+ dispatch(event, args);
1090
+ if (shared.hyphenate(event) !== event) {
1091
+ dispatch(shared.hyphenate(event), args);
1092
+ }
1093
+ };
1094
+ this._setParent();
1095
+ };
1096
+ }
1097
+ return vnode;
1098
+ }
1099
+ _applyStyles(styles, owner, parentComp) {
1100
+ if (!styles) return;
1101
+ if (owner) {
1102
+ if (owner === this._def || this._styleChildren.has(owner)) {
1103
+ return;
1104
+ }
1105
+ this._styleChildren.add(owner);
1106
+ }
1107
+ const nonce = this._nonce;
1108
+ const root = this.shadowRoot;
1109
+ const insertionAnchor = parentComp ? this._getStyleAnchor(parentComp) || this._getStyleAnchor(this._def) : this._getRootStyleInsertionAnchor(root);
1110
+ let last = null;
1111
+ for (let i = styles.length - 1; i >= 0; i--) {
1112
+ const s = document.createElement("style");
1113
+ if (nonce) s.setAttribute("nonce", nonce);
1114
+ s.textContent = styles[i];
1115
+ root.insertBefore(s, last || insertionAnchor);
1116
+ last = s;
1117
+ if (i === 0) {
1118
+ if (!parentComp) this._styleAnchors.set(this._def, s);
1119
+ if (owner) this._styleAnchors.set(owner, s);
1120
+ }
1121
+ }
1122
+ }
1123
+ _getStyleAnchor(comp) {
1124
+ if (!comp) {
1125
+ return null;
1126
+ }
1127
+ const anchor = this._styleAnchors.get(comp);
1128
+ if (anchor && anchor.parentNode === this.shadowRoot) {
1129
+ return anchor;
1130
+ }
1131
+ if (anchor) {
1132
+ this._styleAnchors.delete(comp);
1133
+ }
1134
+ return null;
1135
+ }
1136
+ _getRootStyleInsertionAnchor(root) {
1137
+ for (let i = 0; i < root.childNodes.length; i++) {
1138
+ const node = root.childNodes[i];
1139
+ if (!(node instanceof HTMLStyleElement)) {
1140
+ return node;
1141
+ }
1142
+ }
1143
+ return null;
1144
+ }
1145
+ /**
1146
+ * Only called when shadowRoot is false
1147
+ */
1148
+ _parseSlots() {
1149
+ const slots = this._slots = {};
1150
+ let n;
1151
+ while (n = this.firstChild) {
1152
+ const slotName = n.nodeType === 1 && n.getAttribute("slot") || "default";
1153
+ (slots[slotName] || (slots[slotName] = [])).push(n);
1154
+ this.removeChild(n);
1155
+ }
1156
+ }
1157
+ /**
1158
+ * Only called when shadowRoot is false
1159
+ */
1160
+ _renderSlots() {
1161
+ const outlets = this._getSlots();
1162
+ const scopeId = this._instance.type.__scopeId;
1163
+ for (let i = 0; i < outlets.length; i++) {
1164
+ const o = outlets[i];
1165
+ const slotName = o.getAttribute("name") || "default";
1166
+ const content = this._slots[slotName];
1167
+ const parent = o.parentNode;
1168
+ if (content) {
1169
+ for (const n of content) {
1170
+ if (scopeId && n.nodeType === 1) {
1171
+ const id = scopeId + "-s";
1172
+ const walker = document.createTreeWalker(n, 1);
1173
+ n.setAttribute(id, "");
1174
+ let child;
1175
+ while (child = walker.nextNode()) {
1176
+ child.setAttribute(id, "");
1177
+ }
1178
+ }
1179
+ parent.insertBefore(n, o);
1180
+ }
1181
+ } else {
1182
+ while (o.firstChild) parent.insertBefore(o.firstChild, o);
1183
+ }
1184
+ parent.removeChild(o);
1185
+ }
1186
+ }
1187
+ /**
1188
+ * @internal
1189
+ */
1190
+ _getSlots() {
1191
+ const roots = [this];
1192
+ if (this._teleportTargets) {
1193
+ roots.push(...this._teleportTargets);
1194
+ }
1195
+ const slots = /* @__PURE__ */ new Set();
1196
+ for (const root of roots) {
1197
+ const found = root.querySelectorAll("slot");
1198
+ for (let i = 0; i < found.length; i++) {
1199
+ slots.add(found[i]);
1200
+ }
1201
+ }
1202
+ return Array.from(slots);
1203
+ }
1204
+ /**
1205
+ * @internal
1206
+ */
1207
+ _injectChildStyle(comp, parentComp) {
1208
+ this._applyStyles(comp.styles, comp, parentComp);
1209
+ }
1210
+ /**
1211
+ * @internal
1212
+ */
1213
+ _beginPatch() {
1214
+ this._patching = true;
1215
+ this._dirty = false;
1216
+ }
1217
+ /**
1218
+ * @internal
1219
+ */
1220
+ _endPatch() {
1221
+ this._patching = false;
1222
+ if (this._dirty && this._instance) {
1223
+ this._update();
1224
+ }
1225
+ }
1226
+ /**
1227
+ * @internal
1228
+ */
1229
+ _hasShadowRoot() {
1230
+ return this._def.shadowRoot !== false;
1231
+ }
1232
+ /**
1233
+ * @internal
1234
+ */
1235
+ _removeChildStyle(comp) {
1236
+ }
1237
+ }
1238
+ function useHost(caller) {
1239
+ const instance = runtimeCore.getCurrentInstance();
1240
+ const el = instance && instance.ce;
1241
+ if (el) {
1242
+ return el;
1243
+ }
1244
+ return null;
1245
+ }
1246
+ function useShadowRoot() {
1247
+ const el = useHost();
1248
+ return el && el.shadowRoot;
1249
+ }
1250
+
1251
+ function useCssModule(name = "$style") {
1252
+ {
1253
+ const instance = runtimeCore.getCurrentInstance();
1254
+ if (!instance) {
1255
+ return shared.EMPTY_OBJ;
1256
+ }
1257
+ const modules = instance.type.__cssModules;
1258
+ if (!modules) {
1259
+ return shared.EMPTY_OBJ;
1260
+ }
1261
+ const mod = modules[name];
1262
+ if (!mod) {
1263
+ return shared.EMPTY_OBJ;
1264
+ }
1265
+ return mod;
1266
+ }
1267
+ }
1268
+
1269
+ const positionMap = /* @__PURE__ */ new WeakMap();
1270
+ const newPositionMap = /* @__PURE__ */ new WeakMap();
1271
+ const moveCbKey = /* @__PURE__ */ Symbol("_moveCb");
1272
+ const enterCbKey = /* @__PURE__ */ Symbol("_enterCb");
1273
+ const pendingGroups = /* @__PURE__ */ new WeakMap();
1274
+ const decorate = (t) => {
1275
+ delete t.props.mode;
1276
+ return t;
1277
+ };
1278
+ const TransitionGroupImpl = /* @__PURE__ */ decorate({
1279
+ name: "TransitionGroup",
1280
+ props: /* @__PURE__ */ shared.extend({}, TransitionPropsValidators, {
1281
+ tag: String,
1282
+ moveClass: String
1283
+ }),
1284
+ setup(props, { slots }) {
1285
+ const instance = runtimeCore.getCurrentInstance();
1286
+ const state = runtimeCore.useTransitionState();
1287
+ let prevChildren;
1288
+ let children;
1289
+ let origins;
1290
+ let moves;
1291
+ const willMove = () => {
1292
+ if (moves === void 0) {
1293
+ moves = prevChildren.length > 0 && hasCSSTransform(
1294
+ prevChildren[0].el,
1295
+ instance.vnode.el,
1296
+ resolveMoveClass(props)
1297
+ );
1298
+ }
1299
+ return moves;
1300
+ };
1301
+ runtimeCore.onUpdated(() => {
1302
+ pendingGroups.delete(instance);
1303
+ if (!willMove()) {
1304
+ prevChildren = [];
1305
+ origins = void 0;
1306
+ return;
1307
+ }
1308
+ const moveClass = resolveMoveClass(props);
1309
+ prevChildren.forEach(callPendingCbs);
1310
+ const shift = origins && getOriginShift(origins, instance.vnode.el);
1311
+ origins = void 0;
1312
+ prevChildren.forEach((c) => recordPosition(c, shift));
1313
+ const movedChildren = prevChildren.filter(applyTranslation);
1314
+ forceReflow(instance.vnode.el);
1315
+ movedChildren.forEach((c) => {
1316
+ const el = c.el;
1317
+ const style = el.style;
1318
+ addTransitionClass(el, moveClass);
1319
+ style.transform = style.webkitTransform = style.transitionDuration = "";
1320
+ const cb = el[moveCbKey] = (e) => {
1321
+ if (e && e.target !== el) {
1322
+ return;
1323
+ }
1324
+ if (!e || e.propertyName.endsWith("transform")) {
1325
+ el.removeEventListener("transitionend", cb);
1326
+ el[moveCbKey] = null;
1327
+ removeTransitionClass(el, moveClass);
1328
+ }
1329
+ };
1330
+ el.addEventListener("transitionend", cb);
1331
+ });
1332
+ prevChildren = [];
1333
+ });
1334
+ return () => {
1335
+ const rawProps = runtimeCore.toRaw(props);
1336
+ const cssTransitionProps = resolveTransitionProps(rawProps);
1337
+ let tag = rawProps.tag || runtimeCore.Fragment;
1338
+ prevChildren = [];
1339
+ moves = void 0;
1340
+ if (children) {
1341
+ for (let i = 0; i < children.length; i++) {
1342
+ const child = children[i];
1343
+ if (child.el && child.el instanceof Element && // Hidden v-show nodes have no previous layout box to animate from.
1344
+ !child.el[vShowHidden]) {
1345
+ prevChildren.push(child);
1346
+ runtimeCore.setTransitionHooks(
1347
+ child,
1348
+ runtimeCore.resolveTransitionHooks(
1349
+ child,
1350
+ cssTransitionProps,
1351
+ state,
1352
+ instance
1353
+ )
1354
+ );
1355
+ positionMap.set(child, getPosition(child.el));
1356
+ }
1357
+ }
1358
+ }
1359
+ children = slots.default ? runtimeCore.getTransitionRawChildren(slots.default()) : [];
1360
+ for (let i = 0; i < children.length; i++) {
1361
+ const child = children[i];
1362
+ if (child.key != null) {
1363
+ runtimeCore.setTransitionHooks(
1364
+ child,
1365
+ runtimeCore.resolveTransitionHooks(child, cssTransitionProps, state, instance)
1366
+ );
1367
+ }
1368
+ }
1369
+ if (prevChildren.length) {
1370
+ origins = getOrigins(instance);
1371
+ pendingGroups.set(instance, willMove);
1372
+ }
1373
+ return runtimeCore.createVNode(tag, null, children);
1374
+ };
1375
+ }
1376
+ });
1377
+ const TransitionGroup = TransitionGroupImpl;
1378
+ function callPendingCbs(c) {
1379
+ const el = c.el;
1380
+ if (el[moveCbKey]) {
1381
+ el[moveCbKey]();
1382
+ }
1383
+ if (el[enterCbKey]) {
1384
+ el[enterCbKey]();
1385
+ }
1386
+ }
1387
+ function resolveMoveClass(props) {
1388
+ return props.moveClass || `${props.name || "v"}-move`;
1389
+ }
1390
+ function recordPosition(c, shift) {
1391
+ newPositionMap.set(c, getPosition(c.el, shift));
1392
+ }
1393
+ function applyTranslation(c) {
1394
+ const oldPos = positionMap.get(c);
1395
+ const newPos = newPositionMap.get(c);
1396
+ const dx = oldPos.left - newPos.left;
1397
+ const dy = oldPos.top - newPos.top;
1398
+ if (dx || dy) {
1399
+ const el = c.el;
1400
+ const s = el.style;
1401
+ const rect = el.getBoundingClientRect();
1402
+ let scaleX = 1;
1403
+ let scaleY = 1;
1404
+ if (el.offsetWidth) scaleX = rect.width / el.offsetWidth;
1405
+ if (el.offsetHeight) scaleY = rect.height / el.offsetHeight;
1406
+ if (!Number.isFinite(scaleX) || scaleX === 0) scaleX = 1;
1407
+ if (!Number.isFinite(scaleY) || scaleY === 0) scaleY = 1;
1408
+ if (Math.abs(scaleX - 1) < 0.01) scaleX = 1;
1409
+ if (Math.abs(scaleY - 1) < 0.01) scaleY = 1;
1410
+ s.transform = s.webkitTransform = `translate(${dx / scaleX}px,${dy / scaleY}px)`;
1411
+ s.transitionDuration = "0s";
1412
+ return c;
1413
+ }
1414
+ }
1415
+ function getPosition(el, shift) {
1416
+ const rect = el.getBoundingClientRect();
1417
+ return {
1418
+ left: rect.left - (shift ? shift.left : 0),
1419
+ top: rect.top - (shift ? shift.top : 0)
1420
+ };
1421
+ }
1422
+ function getOrigins(instance) {
1423
+ let origins;
1424
+ for (let group = instance.parent; group; group = group.parent) {
1425
+ const willMove = pendingGroups.get(group);
1426
+ if (willMove) {
1427
+ const item = findItem(group.vnode.el, instance.vnode.el);
1428
+ if (item) {
1429
+ (origins || (origins = [])).push(
1430
+ shared.extend(getPosition(item), { item, willMove })
1431
+ );
1432
+ }
1433
+ }
1434
+ }
1435
+ return origins;
1436
+ }
1437
+ function findItem(root, node) {
1438
+ const container = root.nodeType === 1 ? root : root.parentNode;
1439
+ while (node && node.parentNode !== container) {
1440
+ node = node.parentNode;
1441
+ }
1442
+ if (node && node.nodeType === 1) {
1443
+ return node;
1444
+ }
1445
+ }
1446
+ function getOriginShift(origins, root) {
1447
+ const origin = origins.find((o) => o.willMove() && o.item.contains(root));
1448
+ return origin && getPosition(origin.item, origin);
1449
+ }
1450
+ function hasCSSTransform(el, root, moveClass) {
1451
+ const clone = el.cloneNode();
1452
+ const _vtc = el[vtcKey];
1453
+ if (_vtc) {
1454
+ _vtc.forEach((cls) => {
1455
+ cls.split(/\s+/).forEach((c) => c && clone.classList.remove(c));
1456
+ });
1457
+ }
1458
+ moveClass.split(/\s+/).forEach((c) => c && clone.classList.add(c));
1459
+ clone.style.display = "none";
1460
+ const container = root.nodeType === 1 ? root : root.parentNode;
1461
+ container.appendChild(clone);
1462
+ const { hasTransform } = getTransitionInfo(clone);
1463
+ container.removeChild(clone);
1464
+ return hasTransform;
1465
+ }
1466
+
1467
+ const getModelAssigner = (vnode) => {
1468
+ const fn = vnode.props["onUpdate:modelValue"] || false;
1469
+ return shared.isArray(fn) ? (value) => shared.invokeArrayFns(fn, value) : fn;
1470
+ };
1471
+ function onCompositionStart(e) {
1472
+ e.target.composing = true;
1473
+ }
1474
+ function onCompositionEnd(e) {
1475
+ const target = e.target;
1476
+ if (target.composing) {
1477
+ target.composing = false;
1478
+ target.dispatchEvent(new Event("input"));
1479
+ }
1480
+ }
1481
+ const assignKey = /* @__PURE__ */ Symbol("_assign");
1482
+ const initialValueKey = /* @__PURE__ */ Symbol("_initialValue");
1483
+ function castValue(value, trim, number) {
1484
+ if (trim) value = value.trim();
1485
+ if (number) value = shared.looseToNumber(value);
1486
+ return value;
1487
+ }
1488
+ const vModelText = {
1489
+ created(el, { modifiers: { lazy, trim, number } }, vnode) {
1490
+ if (el.parentNode) {
1491
+ if (el.type === "text") {
1492
+ el[initialValueKey] = el.defaultValue.replace(/[\r\n]/g, "");
1493
+ } else if (el.type === "textarea") {
1494
+ el[initialValueKey] = el.defaultValue.replace(/\r\n?/g, "\n");
1495
+ }
1496
+ }
1497
+ el[assignKey] = getModelAssigner(vnode);
1498
+ const castToNumber = number || vnode.props && vnode.props.type === "number";
1499
+ addEventListener(el, lazy ? "change" : "input", (e) => {
1500
+ if (e.target.composing) return;
1501
+ el[assignKey](castValue(el.value, trim, castToNumber));
1502
+ });
1503
+ if (trim || castToNumber) {
1504
+ addEventListener(el, "change", () => {
1505
+ el.value = castValue(el.value, trim, castToNumber);
1506
+ });
1507
+ }
1508
+ if (!lazy) {
1509
+ addEventListener(el, "compositionstart", onCompositionStart);
1510
+ addEventListener(el, "compositionend", onCompositionEnd);
1511
+ addEventListener(el, "change", onCompositionEnd);
1512
+ }
1513
+ },
1514
+ // set value on mounted so it's after min/max for type="range"
1515
+ mounted(el, { value, modifiers: { trim, number } }) {
1516
+ const newValue = value == null ? "" : value;
1517
+ const initialValue = el[initialValueKey];
1518
+ delete el[initialValueKey];
1519
+ if (initialValue !== void 0 && (el.type === "text" || el.type === "textarea") && el.value !== initialValue) {
1520
+ el[assignKey](castValue(el.value, trim, number));
1521
+ } else {
1522
+ el.value = newValue;
1523
+ }
1524
+ },
1525
+ beforeUpdate(el, { value, oldValue, modifiers: { lazy, trim, number } }, vnode) {
1526
+ el[assignKey] = getModelAssigner(vnode);
1527
+ if (el.composing) return;
1528
+ const elValue = (number || el.type === "number") && !/^0\d/.test(el.value) ? shared.looseToNumber(el.value) : el.value;
1529
+ const newValue = value == null ? "" : value;
1530
+ if (elValue === newValue) {
1531
+ return;
1532
+ }
1533
+ const rootNode = el.getRootNode();
1534
+ if ((rootNode instanceof Document || rootNode instanceof ShadowRoot) && rootNode.activeElement === el && el.type !== "range") {
1535
+ if (lazy && value === oldValue) {
1536
+ return;
1537
+ }
1538
+ if (trim && el.value.trim() === newValue) {
1539
+ return;
1540
+ }
1541
+ }
1542
+ el.value = newValue;
1543
+ }
1544
+ };
1545
+ const vModelCheckbox = {
1546
+ // #4096 array checkboxes need to be deep traversed
1547
+ deep: true,
1548
+ created(el, _, vnode) {
1549
+ el[assignKey] = getModelAssigner(vnode);
1550
+ addEventListener(el, "change", () => {
1551
+ const modelValue = el._modelValue;
1552
+ const elementValue = getValue(el);
1553
+ const checked = el.checked;
1554
+ const assign = el[assignKey];
1555
+ if (shared.isArray(modelValue)) {
1556
+ const index = shared.looseIndexOf(modelValue, elementValue);
1557
+ const found = index !== -1;
1558
+ if (checked && !found) {
1559
+ assign(modelValue.concat(elementValue));
1560
+ } else if (!checked && found) {
1561
+ const filtered = [...modelValue];
1562
+ filtered.splice(index, 1);
1563
+ assign(filtered);
1564
+ }
1565
+ } else if (shared.isSet(modelValue)) {
1566
+ const cloned = new Set(modelValue);
1567
+ if (checked) {
1568
+ cloned.add(elementValue);
1569
+ } else {
1570
+ cloned.delete(elementValue);
1571
+ }
1572
+ assign(cloned);
1573
+ } else {
1574
+ assign(getCheckboxValue(el, checked));
1575
+ }
1576
+ });
1577
+ },
1578
+ // set initial checked on mount to wait for true-value/false-value
1579
+ mounted: setChecked,
1580
+ beforeUpdate(el, binding, vnode) {
1581
+ el[assignKey] = getModelAssigner(vnode);
1582
+ setChecked(el, binding, vnode);
1583
+ }
1584
+ };
1585
+ function setChecked(el, { value, oldValue }, vnode) {
1586
+ el._modelValue = value;
1587
+ let checked;
1588
+ if (shared.isArray(value)) {
1589
+ checked = shared.looseIndexOf(value, vnode.props.value) > -1;
1590
+ } else if (shared.isSet(value)) {
1591
+ checked = value.has(vnode.props.value);
1592
+ } else {
1593
+ if (value === oldValue) return;
1594
+ checked = shared.looseEqual(value, getCheckboxValue(el, true));
1595
+ }
1596
+ if (el.checked !== checked) {
1597
+ el.checked = checked;
1598
+ }
1599
+ }
1600
+ const vModelRadio = {
1601
+ created(el, { value }, vnode) {
1602
+ el.checked = shared.looseEqual(value, vnode.props.value);
1603
+ el[assignKey] = getModelAssigner(vnode);
1604
+ addEventListener(el, "change", () => {
1605
+ el[assignKey](getValue(el));
1606
+ });
1607
+ },
1608
+ beforeUpdate(el, { value, oldValue }, vnode) {
1609
+ el[assignKey] = getModelAssigner(vnode);
1610
+ if (value !== oldValue) {
1611
+ el.checked = shared.looseEqual(value, vnode.props.value);
1612
+ }
1613
+ }
1614
+ };
1615
+ const vModelSelect = {
1616
+ // <select multiple> value need to be deep traversed
1617
+ deep: true,
1618
+ created(el, { value, modifiers: { number } }, vnode) {
1619
+ el._modelValue = value;
1620
+ addEventListener(el, "change", () => {
1621
+ const selectedVal = Array.prototype.filter.call(el.options, (o) => o.selected).map(
1622
+ (o) => number ? shared.looseToNumber(getValue(o)) : getValue(o)
1623
+ );
1624
+ const multiple = el.multiple;
1625
+ const assignedValue = multiple ? shared.isSet(el._modelValue) ? new Set(selectedVal) : selectedVal : selectedVal[0];
1626
+ const pending = el._pendingValue = [
1627
+ multiple,
1628
+ multiple ? shared.isArray(assignedValue) ? selectedVal.slice() : selectedVal : assignedValue
1629
+ ];
1630
+ try {
1631
+ el[assignKey](assignedValue);
1632
+ } finally {
1633
+ runtimeCore.nextTick(() => {
1634
+ if (el._pendingValue === pending) {
1635
+ el._pendingValue = void 0;
1636
+ }
1637
+ });
1638
+ }
1639
+ });
1640
+ el[assignKey] = getModelAssigner(vnode);
1641
+ },
1642
+ // set value in mounted & updated because <select> relies on its children
1643
+ // <option>s.
1644
+ mounted(el, { value, modifiers: { number } }) {
1645
+ setSelected(el, value, number);
1646
+ },
1647
+ beforeUpdate(el, { value }, vnode) {
1648
+ el._modelValue = value;
1649
+ el[assignKey] = getModelAssigner(vnode);
1650
+ },
1651
+ updated(el, { value, modifiers: { number } }) {
1652
+ const pending = el._pendingValue;
1653
+ el._pendingValue = void 0;
1654
+ if (!pending || pending[0] !== el.multiple || !isSameSelectValue(value, pending[1], pending[0])) {
1655
+ setSelected(el, value, number);
1656
+ }
1657
+ }
1658
+ };
1659
+ function isSameSelectValue(value, assignedValue, multiple) {
1660
+ if (!multiple) return shared.looseEqual(value, assignedValue);
1661
+ if (shared.isArray(value)) return shared.looseEqual(value, assignedValue);
1662
+ if (shared.isSet(value)) {
1663
+ if (value.size !== assignedValue.length) return false;
1664
+ for (const item of assignedValue) {
1665
+ if (!value.has(item)) return false;
1666
+ }
1667
+ return true;
1668
+ }
1669
+ return false;
1670
+ }
1671
+ function setSelected(el, value, number = false) {
1672
+ const isMultiple = el.multiple;
1673
+ const isArrayValue = shared.isArray(value);
1674
+ if (isMultiple && !isArrayValue && !shared.isSet(value)) {
1675
+ return;
1676
+ }
1677
+ for (let i = 0, l = el.options.length; i < l; i++) {
1678
+ const option = el.options[i];
1679
+ const optionValue = getValue(option);
1680
+ if (isMultiple) {
1681
+ if (isArrayValue) {
1682
+ const optionType = typeof optionValue;
1683
+ if (optionType === "string" || optionType === "number") {
1684
+ option.selected = value.some((v) => String(v) === String(optionValue));
1685
+ } else {
1686
+ option.selected = shared.looseIndexOf(value, optionValue) > -1;
1687
+ }
1688
+ } else {
1689
+ option.selected = value.has(optionValue) || number && typeof optionValue === "string" && value.has(shared.looseToNumber(optionValue));
1690
+ }
1691
+ } else if (shared.looseEqual(getValue(option), value)) {
1692
+ if (el.selectedIndex !== i) el.selectedIndex = i;
1693
+ return;
1694
+ }
1695
+ }
1696
+ if (!isMultiple && el.selectedIndex !== -1) {
1697
+ el.selectedIndex = -1;
1698
+ }
1699
+ }
1700
+ function getValue(el) {
1701
+ return "_value" in el ? el._value : el.value;
1702
+ }
1703
+ function getCheckboxValue(el, checked) {
1704
+ const key = checked ? "_trueValue" : "_falseValue";
1705
+ return key in el ? el[key] : checked;
1706
+ }
1707
+ const vModelDynamic = {
1708
+ created(el, binding, vnode) {
1709
+ callModelHook(el, binding, vnode, null, "created");
1710
+ },
1711
+ mounted(el, binding, vnode) {
1712
+ callModelHook(el, binding, vnode, null, "mounted");
1713
+ },
1714
+ beforeUpdate(el, binding, vnode, prevVNode) {
1715
+ callModelHook(el, binding, vnode, prevVNode, "beforeUpdate");
1716
+ },
1717
+ updated(el, binding, vnode, prevVNode) {
1718
+ callModelHook(el, binding, vnode, prevVNode, "updated");
1719
+ }
1720
+ };
1721
+ function resolveDynamicModel(tagName, type) {
1722
+ switch (tagName) {
1723
+ case "SELECT":
1724
+ return vModelSelect;
1725
+ case "TEXTAREA":
1726
+ return vModelText;
1727
+ default:
1728
+ switch (type) {
1729
+ case "checkbox":
1730
+ return vModelCheckbox;
1731
+ case "radio":
1732
+ return vModelRadio;
1733
+ default:
1734
+ return vModelText;
1735
+ }
1736
+ }
1737
+ }
1738
+ function callModelHook(el, binding, vnode, prevVNode, hook) {
1739
+ const modelToUse = resolveDynamicModel(
1740
+ el.tagName,
1741
+ vnode.props && vnode.props.type
1742
+ );
1743
+ const fn = modelToUse[hook];
1744
+ fn && fn(el, binding, vnode, prevVNode);
1745
+ }
1746
+ function initVModelForSSR() {
1747
+ vModelText.getSSRProps = ({ value }) => ({ value });
1748
+ vModelRadio.getSSRProps = ({ value }, vnode) => {
1749
+ if (vnode.props && shared.looseEqual(vnode.props.value, value)) {
1750
+ return { checked: true };
1751
+ }
1752
+ };
1753
+ vModelCheckbox.getSSRProps = ({ value }, vnode) => {
1754
+ if (shared.isArray(value)) {
1755
+ if (vnode.props && shared.looseIndexOf(value, vnode.props.value) > -1) {
1756
+ return { checked: true };
1757
+ }
1758
+ } else if (shared.isSet(value)) {
1759
+ if (vnode.props && value.has(vnode.props.value)) {
1760
+ return { checked: true };
1761
+ }
1762
+ } else if (value) {
1763
+ return { checked: true };
1764
+ }
1765
+ };
1766
+ vModelDynamic.getSSRProps = (binding, vnode) => {
1767
+ if (typeof vnode.type !== "string") {
1768
+ return;
1769
+ }
1770
+ const modelToUse = resolveDynamicModel(
1771
+ // resolveDynamicModel expects an uppercase tag name, but vnode.type is lowercase
1772
+ vnode.type.toUpperCase(),
1773
+ vnode.props && vnode.props.type
1774
+ );
1775
+ if (modelToUse.getSSRProps) {
1776
+ return modelToUse.getSSRProps(binding, vnode);
1777
+ }
1778
+ };
1779
+ }
1780
+
1781
+ const systemModifiers = ["ctrl", "shift", "alt", "meta"];
1782
+ const modifierGuards = {
1783
+ stop: (e) => e.stopPropagation(),
1784
+ prevent: (e) => e.preventDefault(),
1785
+ self: (e) => e.target !== e.currentTarget,
1786
+ ctrl: (e) => !e.ctrlKey,
1787
+ shift: (e) => !e.shiftKey,
1788
+ alt: (e) => !e.altKey,
1789
+ meta: (e) => !e.metaKey,
1790
+ left: (e) => "button" in e && e.button !== 0,
1791
+ middle: (e) => "button" in e && e.button !== 1,
1792
+ right: (e) => "button" in e && e.button !== 2,
1793
+ exact: (e, modifiers) => systemModifiers.some((m) => e[`${m}Key`] && !modifiers.includes(m))
1794
+ };
1795
+ const withModifiers = (fn, modifiers) => {
1796
+ if (!fn) return fn;
1797
+ const cache = fn._withMods || (fn._withMods = {});
1798
+ const cacheKey = modifiers.join(".");
1799
+ return cache[cacheKey] || (cache[cacheKey] = ((event, ...args) => {
1800
+ for (let i = 0; i < modifiers.length; i++) {
1801
+ const guard = modifierGuards[modifiers[i]];
1802
+ if (guard && guard(event, modifiers)) return;
1803
+ }
1804
+ return fn(event, ...args);
1805
+ }));
1806
+ };
1807
+ const keyNames = {
1808
+ esc: "escape",
1809
+ space: " ",
1810
+ up: "arrow-up",
1811
+ left: "arrow-left",
1812
+ right: "arrow-right",
1813
+ down: "arrow-down",
1814
+ delete: "backspace"
1815
+ };
1816
+ const withKeys = (fn, modifiers) => {
1817
+ const cache = fn._withKeys || (fn._withKeys = {});
1818
+ const cacheKey = modifiers.join(".");
1819
+ return cache[cacheKey] || (cache[cacheKey] = ((event) => {
1820
+ if (!("key" in event)) {
1821
+ return;
1822
+ }
1823
+ const eventKey = shared.hyphenate(event.key);
1824
+ if (modifiers.some(
1825
+ (k) => k === eventKey || keyNames[k] === eventKey
1826
+ )) {
1827
+ return fn(event);
1828
+ }
1829
+ }));
1830
+ };
1831
+
1832
+ const rendererOptions = /* @__PURE__ */ shared.extend({ patchProp }, nodeOps);
1833
+ let renderer;
1834
+ let enabledHydration = false;
1835
+ function ensureRenderer() {
1836
+ return renderer || (renderer = runtimeCore.createRenderer(rendererOptions));
1837
+ }
1838
+ function ensureHydrationRenderer() {
1839
+ renderer = enabledHydration ? renderer : runtimeCore.createHydrationRenderer(rendererOptions);
1840
+ enabledHydration = true;
1841
+ return renderer;
1842
+ }
1843
+ const render = ((...args) => {
1844
+ ensureRenderer().render(...args);
1845
+ });
1846
+ const hydrate = ((...args) => {
1847
+ ensureHydrationRenderer().hydrate(...args);
1848
+ });
1849
+ const createApp = ((...args) => {
1850
+ const app = ensureRenderer().createApp(...args);
1851
+ const { mount } = app;
1852
+ app.mount = (containerOrSelector) => {
1853
+ const container = normalizeContainer(containerOrSelector);
1854
+ if (!container) return;
1855
+ const component = app._component;
1856
+ if (!shared.isFunction(component) && !component.render && !component.template) {
1857
+ component.template = container.innerHTML;
1858
+ }
1859
+ if (container.nodeType === 1) {
1860
+ container.textContent = "";
1861
+ }
1862
+ const proxy = mount(container, false, resolveRootNamespace(container));
1863
+ if (container instanceof Element) {
1864
+ container.removeAttribute("v-cloak");
1865
+ container.setAttribute("data-v-app", "");
1866
+ }
1867
+ return proxy;
1868
+ };
1869
+ return app;
1870
+ });
1871
+ const createSSRApp = ((...args) => {
1872
+ const app = ensureHydrationRenderer().createApp(...args);
1873
+ const { mount } = app;
1874
+ app.mount = (containerOrSelector) => {
1875
+ const container = normalizeContainer(containerOrSelector);
1876
+ if (container) {
1877
+ return mount(container, true, resolveRootNamespace(container));
1878
+ }
1879
+ };
1880
+ return app;
1881
+ });
1882
+ function resolveRootNamespace(container) {
1883
+ if (container instanceof SVGElement) {
1884
+ return "svg";
1885
+ }
1886
+ if (typeof MathMLElement === "function" && container instanceof MathMLElement) {
1887
+ return "mathml";
1888
+ }
1889
+ }
1890
+ function normalizeContainer(container) {
1891
+ if (shared.isString(container)) {
1892
+ const res = document.querySelector(container);
1893
+ return res;
1894
+ }
1895
+ return container;
1896
+ }
1897
+ let ssrDirectiveInitialized = false;
1898
+ const initDirectivesForSSR = () => {
1899
+ if (!ssrDirectiveInitialized) {
1900
+ ssrDirectiveInitialized = true;
1901
+ initVModelForSSR();
1902
+ initVShowForSSR();
1903
+ }
1904
+ } ;
1905
+
1906
+ exports.Transition = Transition;
1907
+ exports.TransitionGroup = TransitionGroup;
1908
+ exports.VueElement = VueElement;
1909
+ exports.createApp = createApp;
1910
+ exports.createSSRApp = createSSRApp;
1911
+ exports.defineCustomElement = defineCustomElement;
1912
+ exports.defineSSRCustomElement = defineSSRCustomElement;
1913
+ exports.hydrate = hydrate;
1914
+ exports.initDirectivesForSSR = initDirectivesForSSR;
1915
+ exports.nodeOps = nodeOps;
1916
+ exports.patchProp = patchProp;
1917
+ exports.render = render;
1918
+ exports.useCssModule = useCssModule;
1919
+ exports.useCssVars = useCssVars;
1920
+ exports.useHost = useHost;
1921
+ exports.useShadowRoot = useShadowRoot;
1922
+ exports.vModelCheckbox = vModelCheckbox;
1923
+ exports.vModelDynamic = vModelDynamic;
1924
+ exports.vModelRadio = vModelRadio;
1925
+ exports.vModelSelect = vModelSelect;
1926
+ exports.vModelText = vModelText;
1927
+ exports.vShow = vShow;
1928
+ exports.withKeys = withKeys;
1929
+ exports.withModifiers = withModifiers;
1930
+ Object.keys(runtimeCore).forEach(function (k) {
1931
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = runtimeCore[k];
1932
+ });