@socialgen_user/socialgen 0.0.0-stage → 2.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (660) hide show
  1. package/.output/nitro.json +15 -0
  2. package/.output/public/_nuxt/0Br9Vc0s.js +1 -0
  3. package/.output/public/_nuxt/8VnlkoEA.js +1 -0
  4. package/.output/public/_nuxt/BPLr5diI.js +1 -0
  5. package/.output/public/_nuxt/BUd27fqX.js +4 -0
  6. package/.output/public/_nuxt/CElmFakF.js +1 -0
  7. package/.output/public/_nuxt/DQwlrwii.js +1 -0
  8. package/.output/public/_nuxt/De9_qv1a.js +1 -0
  9. package/.output/public/_nuxt/_mode_.XsuGEG0A.css +1 -0
  10. package/.output/public/_nuxt/builds/latest.json +1 -0
  11. package/.output/public/_nuxt/builds/meta/fa4e5120-60d5-43d9-b50d-f9369f818427.json +1 -0
  12. package/.output/public/_nuxt/error-404.DL_4WIao.css +1 -0
  13. package/.output/public/_nuxt/error-500.I1Dtv2V5.css +1 -0
  14. package/.output/public/_nuxt/pages.Df3hoeGN.css +1 -0
  15. package/.output/public/audio/cyber_future_tech.mp3 +0 -0
  16. package/.output/public/audio/dark_phonk_pulse.mp3 +0 -0
  17. package/.output/public/audio/deep_finance_groove.mp3 +0 -0
  18. package/.output/public/audio/lofi_viral_study.mp3 +0 -0
  19. package/.output/public/audio/motivation_cinematic.mp3 +0 -0
  20. package/.output/public/videos/cyber_blue.mp4 +0 -0
  21. package/.output/public/videos/cyber_matrix_stream.mp4 +0 -0
  22. package/.output/public/videos/cyber_pulse.mp4 +0 -0
  23. package/.output/public/videos/dark_luxury_particles.mp4 +0 -0
  24. package/.output/public/videos/default_bg.mp4 +0 -0
  25. package/.output/public/videos/emerald_flow.mp4 +0 -0
  26. package/.output/public/videos/financial_pulse_flow.mp4 +0 -0
  27. package/.output/public/videos/neon_cyber_grid.mp4 +0 -0
  28. package/.output/server/chunks/_/error-500.mjs +19 -0
  29. package/.output/server/chunks/_/error-500.mjs.map +1 -0
  30. package/.output/server/chunks/_/nitro.mjs +5716 -0
  31. package/.output/server/chunks/_/nitro.mjs.map +1 -0
  32. package/.output/server/chunks/_/storage.mjs +73 -0
  33. package/.output/server/chunks/_/storage.mjs.map +1 -0
  34. package/.output/server/chunks/_/topicMatrix.mjs +147 -0
  35. package/.output/server/chunks/_/topicMatrix.mjs.map +1 -0
  36. package/.output/server/chunks/build/TableCard-C_ouH7xZ.mjs +674 -0
  37. package/.output/server/chunks/build/TableCard-C_ouH7xZ.mjs.map +1 -0
  38. package/.output/server/chunks/build/_mode_-Bqv8WY_m.mjs +65 -0
  39. package/.output/server/chunks/build/_mode_-Bqv8WY_m.mjs.map +1 -0
  40. package/.output/server/chunks/build/_mode_-styles.CcOMAYS9.mjs +8 -0
  41. package/.output/server/chunks/build/_mode_-styles.CcOMAYS9.mjs.map +1 -0
  42. package/.output/server/chunks/build/client.precomputed.mjs +4 -0
  43. package/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
  44. package/.output/server/chunks/build/entry-styles.C2d8MIct.mjs +8 -0
  45. package/.output/server/chunks/build/entry-styles.C2d8MIct.mjs.map +1 -0
  46. package/.output/server/chunks/build/error-404-D7pndyXD.mjs +403 -0
  47. package/.output/server/chunks/build/error-404-D7pndyXD.mjs.map +1 -0
  48. package/.output/server/chunks/build/error-404-styles.ir-5M2eu.mjs +8 -0
  49. package/.output/server/chunks/build/error-404-styles.ir-5M2eu.mjs.map +1 -0
  50. package/.output/server/chunks/build/error-500-D0twnCBi.mjs +76 -0
  51. package/.output/server/chunks/build/error-500-D0twnCBi.mjs.map +1 -0
  52. package/.output/server/chunks/build/error-500-styles.DiQTnuqt.mjs +8 -0
  53. package/.output/server/chunks/build/error-500-styles.DiQTnuqt.mjs.map +1 -0
  54. package/.output/server/chunks/build/index-styles.CQioNwpv.mjs +8 -0
  55. package/.output/server/chunks/build/index-styles.CQioNwpv.mjs.map +1 -0
  56. package/.output/server/chunks/build/pages-BHQfewv9.mjs +671 -0
  57. package/.output/server/chunks/build/pages-BHQfewv9.mjs.map +1 -0
  58. package/.output/server/chunks/build/server.mjs +1115 -0
  59. package/.output/server/chunks/build/server.mjs.map +1 -0
  60. package/.output/server/chunks/build/styles.mjs +11 -0
  61. package/.output/server/chunks/build/styles.mjs.map +1 -0
  62. package/.output/server/chunks/build/v3-CmUYmHkx.mjs +22 -0
  63. package/.output/server/chunks/build/v3-CmUYmHkx.mjs.map +1 -0
  64. package/.output/server/chunks/routes/api/auto-topic.post.mjs +508 -0
  65. package/.output/server/chunks/routes/api/auto-topic.post.mjs.map +1 -0
  66. package/.output/server/chunks/routes/api/copy-prompt.get.mjs +217 -0
  67. package/.output/server/chunks/routes/api/copy-prompt.get.mjs.map +1 -0
  68. package/.output/server/chunks/routes/api/download.get.mjs +35 -0
  69. package/.output/server/chunks/routes/api/download.get.mjs.map +1 -0
  70. package/.output/server/chunks/routes/api/drafts.get.mjs +41 -0
  71. package/.output/server/chunks/routes/api/drafts.get.mjs.map +1 -0
  72. package/.output/server/chunks/routes/api/drafts.post.mjs +42 -0
  73. package/.output/server/chunks/routes/api/drafts.post.mjs.map +1 -0
  74. package/.output/server/chunks/routes/api/files/_...path_.get.mjs +36 -0
  75. package/.output/server/chunks/routes/api/files/_...path_.get.mjs.map +1 -0
  76. package/.output/server/chunks/routes/api/generate.post.mjs +510 -0
  77. package/.output/server/chunks/routes/api/generate.post.mjs.map +1 -0
  78. package/.output/server/chunks/routes/api/media.get.mjs +53 -0
  79. package/.output/server/chunks/routes/api/media.get.mjs.map +1 -0
  80. package/.output/server/chunks/routes/api/open-folder.post.mjs +29 -0
  81. package/.output/server/chunks/routes/api/open-folder.post.mjs.map +1 -0
  82. package/.output/server/chunks/routes/api/render-data.get.mjs +34 -0
  83. package/.output/server/chunks/routes/api/render-data.get.mjs.map +1 -0
  84. package/.output/server/chunks/routes/api/status.get.mjs +27 -0
  85. package/.output/server/chunks/routes/api/status.get.mjs.map +1 -0
  86. package/.output/server/chunks/routes/api/upload-media.post.mjs +76 -0
  87. package/.output/server/chunks/routes/api/upload-media.post.mjs.map +1 -0
  88. package/.output/server/chunks/routes/renderer.mjs +462 -0
  89. package/.output/server/chunks/routes/renderer.mjs.map +1 -0
  90. package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
  91. package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
  92. package/.output/server/index.mjs +39 -0
  93. package/.output/server/index.mjs.map +1 -0
  94. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/decode-codepoint.js +72 -0
  95. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/decode.js +497 -0
  96. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/escape.js +117 -0
  97. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/generated/decode-data-html.js +7 -0
  98. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/generated/decode-data-xml.js +7 -0
  99. package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/package.json +3 -0
  100. package/.output/server/node_modules/.nitro/entities@6.0.1/package.json +118 -0
  101. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/decode-codepoint.js +77 -0
  102. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/decode.js +568 -0
  103. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/generated/decode-data-html.js +7 -0
  104. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/generated/decode-data-xml.js +7 -0
  105. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/internal/bin-trie-flags.js +21 -0
  106. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/internal/decode-shared.js +31 -0
  107. package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/package.json +3 -0
  108. package/.output/server/node_modules/.nitro/entities@7.0.1/package.json +120 -0
  109. package/.output/server/node_modules/.nitro/minimatch@5.1.9/lib/path.js +4 -0
  110. package/.output/server/node_modules/.nitro/minimatch@5.1.9/minimatch.js +996 -0
  111. package/.output/server/node_modules/.nitro/minimatch@5.1.9/package.json +35 -0
  112. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/assert-valid-pattern.js +14 -0
  113. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/ast.js +747 -0
  114. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/brace-expressions.js +152 -0
  115. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/escape.js +22 -0
  116. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/index.js +1023 -0
  117. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/package.json +3 -0
  118. package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/unescape.js +24 -0
  119. package/.output/server/node_modules/.nitro/minimatch@9.0.9/package.json +82 -0
  120. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_duplex.js +131 -0
  121. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_passthrough.js +47 -0
  122. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_readable.js +1019 -0
  123. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_transform.js +214 -0
  124. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_writable.js +685 -0
  125. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/internal/streams/BufferList.js +78 -0
  126. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/internal/streams/destroy.js +84 -0
  127. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/internal/streams/stream.js +1 -0
  128. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/package.json +52 -0
  129. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/passthrough.js +1 -0
  130. package/.output/server/node_modules/.nitro/readable-stream@2.3.8/readable.js +19 -0
  131. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/shims/process.js +19 -0
  132. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/add-abort-signal.js +52 -0
  133. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/buffer_list.js +157 -0
  134. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/compose.js +194 -0
  135. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/destroy.js +290 -0
  136. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/duplex.js +143 -0
  137. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/duplexify.js +378 -0
  138. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/end-of-stream.js +286 -0
  139. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/from.js +98 -0
  140. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/legacy.js +94 -0
  141. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/operators.js +457 -0
  142. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/passthrough.js +39 -0
  143. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/pipeline.js +471 -0
  144. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/readable.js +1290 -0
  145. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/state.js +39 -0
  146. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/transform.js +180 -0
  147. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/utils.js +327 -0
  148. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/writable.js +819 -0
  149. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/validators.js +530 -0
  150. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/errors.js +343 -0
  151. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/index.js +65 -0
  152. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/primordials.js +124 -0
  153. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/util/inspect.js +55 -0
  154. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/util.js +148 -0
  155. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/stream/promises.js +43 -0
  156. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/stream.js +143 -0
  157. package/.output/server/node_modules/.nitro/readable-stream@4.8.0/package.json +89 -0
  158. package/.output/server/node_modules/.nitro/safe-buffer@5.1.2/index.js +62 -0
  159. package/.output/server/node_modules/.nitro/safe-buffer@5.1.2/package.json +37 -0
  160. package/.output/server/node_modules/.nitro/safe-buffer@5.2.1/index.js +65 -0
  161. package/.output/server/node_modules/.nitro/safe-buffer@5.2.1/package.json +51 -0
  162. package/.output/server/node_modules/.nitro/string_decoder@1.1.1/lib/string_decoder.js +296 -0
  163. package/.output/server/node_modules/.nitro/string_decoder@1.1.1/package.json +31 -0
  164. package/.output/server/node_modules/.nitro/string_decoder@1.3.0/lib/string_decoder.js +296 -0
  165. package/.output/server/node_modules/.nitro/string_decoder@1.3.0/package.json +34 -0
  166. package/.output/server/node_modules/@babel/parser/lib/index.js +14990 -0
  167. package/.output/server/node_modules/@babel/parser/package.json +50 -0
  168. package/.output/server/node_modules/@google/genai/dist/node/index.mjs +32052 -0
  169. package/.output/server/node_modules/@google/genai/package.json +175 -0
  170. package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6806 -0
  171. package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
  172. package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +729 -0
  173. package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
  174. package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1460 -0
  175. package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
  176. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/api.js +2 -0
  177. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/app.js +2 -0
  178. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/component.js +2 -0
  179. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/context.js +2 -0
  180. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +2 -0
  181. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/index.js +22 -0
  182. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/util.js +2 -0
  183. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/const.js +5 -0
  184. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/env.js +17 -0
  185. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/index.js +45 -0
  186. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/plugin.js +2 -0
  187. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/proxy.js +111 -0
  188. package/.output/server/node_modules/@vue/devtools-api/lib/cjs/time.js +28 -0
  189. package/.output/server/node_modules/@vue/devtools-api/package.json +37 -0
  190. package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1937 -0
  191. package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
  192. package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +7260 -0
  193. package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
  194. package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1932 -0
  195. package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
  196. package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +951 -0
  197. package/.output/server/node_modules/@vue/server-renderer/package.json +53 -0
  198. package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +657 -0
  199. package/.output/server/node_modules/@vue/shared/package.json +47 -0
  200. package/.output/server/node_modules/abort-controller/dist/abort-controller.js +127 -0
  201. package/.output/server/node_modules/abort-controller/package.json +97 -0
  202. package/.output/server/node_modules/agent-base/dist/helpers.js +66 -0
  203. package/.output/server/node_modules/agent-base/dist/index.js +178 -0
  204. package/.output/server/node_modules/agent-base/package.json +46 -0
  205. package/.output/server/node_modules/archiver/index.js +84 -0
  206. package/.output/server/node_modules/archiver/lib/core.js +974 -0
  207. package/.output/server/node_modules/archiver/lib/error.js +40 -0
  208. package/.output/server/node_modules/archiver/lib/plugins/json.js +110 -0
  209. package/.output/server/node_modules/archiver/lib/plugins/tar.js +167 -0
  210. package/.output/server/node_modules/archiver/lib/plugins/zip.js +120 -0
  211. package/.output/server/node_modules/archiver/package.json +60 -0
  212. package/.output/server/node_modules/archiver-utils/file.js +209 -0
  213. package/.output/server/node_modules/archiver-utils/index.js +155 -0
  214. package/.output/server/node_modules/archiver-utils/package.json +48 -0
  215. package/.output/server/node_modules/async/dist/async.js +6061 -0
  216. package/.output/server/node_modules/async/package.json +75 -0
  217. package/.output/server/node_modules/b4a/index.js +193 -0
  218. package/.output/server/node_modules/b4a/package.json +54 -0
  219. package/.output/server/node_modules/balanced-match/index.js +62 -0
  220. package/.output/server/node_modules/balanced-match/package.json +48 -0
  221. package/.output/server/node_modules/base64-js/index.js +150 -0
  222. package/.output/server/node_modules/base64-js/package.json +47 -0
  223. package/.output/server/node_modules/bignumber.js/bignumber.js +2922 -0
  224. package/.output/server/node_modules/bignumber.js/package.json +60 -0
  225. package/.output/server/node_modules/brace-expansion/index.js +633 -0
  226. package/.output/server/node_modules/brace-expansion/package.json +52 -0
  227. package/.output/server/node_modules/buffer-crc32/dist/index.cjs +306 -0
  228. package/.output/server/node_modules/buffer-crc32/package.json +54 -0
  229. package/.output/server/node_modules/buffer-equal-constant-time/index.js +41 -0
  230. package/.output/server/node_modules/buffer-equal-constant-time/package.json +21 -0
  231. package/.output/server/node_modules/compress-commons/lib/archivers/archive-entry.js +16 -0
  232. package/.output/server/node_modules/compress-commons/lib/archivers/archive-output-stream.js +118 -0
  233. package/.output/server/node_modules/compress-commons/lib/archivers/zip/constants.js +71 -0
  234. package/.output/server/node_modules/compress-commons/lib/archivers/zip/general-purpose-bit.js +101 -0
  235. package/.output/server/node_modules/compress-commons/lib/archivers/zip/unix-stat.js +53 -0
  236. package/.output/server/node_modules/compress-commons/lib/archivers/zip/util.js +74 -0
  237. package/.output/server/node_modules/compress-commons/lib/archivers/zip/zip-archive-entry.js +413 -0
  238. package/.output/server/node_modules/compress-commons/lib/archivers/zip/zip-archive-output-stream.js +437 -0
  239. package/.output/server/node_modules/compress-commons/lib/compress-commons.js +13 -0
  240. package/.output/server/node_modules/compress-commons/lib/util/index.js +27 -0
  241. package/.output/server/node_modules/compress-commons/package.json +46 -0
  242. package/.output/server/node_modules/core-util-is/lib/util.js +107 -0
  243. package/.output/server/node_modules/core-util-is/package.json +38 -0
  244. package/.output/server/node_modules/crc-32/crc32.js +115 -0
  245. package/.output/server/node_modules/crc-32/package.json +67 -0
  246. package/.output/server/node_modules/crc32-stream/lib/crc32-stream.js +48 -0
  247. package/.output/server/node_modules/crc32-stream/lib/deflate-crc32-stream.js +62 -0
  248. package/.output/server/node_modules/crc32-stream/lib/index.js +14 -0
  249. package/.output/server/node_modules/crc32-stream/package.json +45 -0
  250. package/.output/server/node_modules/data-uri-to-buffer/dist/index.js +53 -0
  251. package/.output/server/node_modules/data-uri-to-buffer/package.json +62 -0
  252. package/.output/server/node_modules/debug/package.json +64 -0
  253. package/.output/server/node_modules/debug/src/browser.js +272 -0
  254. package/.output/server/node_modules/debug/src/common.js +292 -0
  255. package/.output/server/node_modules/debug/src/index.js +10 -0
  256. package/.output/server/node_modules/debug/src/node.js +263 -0
  257. package/.output/server/node_modules/devalue/index.js +17 -0
  258. package/.output/server/node_modules/devalue/package.json +39 -0
  259. package/.output/server/node_modules/devalue/src/base64.js +60 -0
  260. package/.output/server/node_modules/devalue/src/constants.js +12 -0
  261. package/.output/server/node_modules/devalue/src/operations.js +221 -0
  262. package/.output/server/node_modules/devalue/src/parse.js +279 -0
  263. package/.output/server/node_modules/devalue/src/stringify.js +433 -0
  264. package/.output/server/node_modules/devalue/src/uneval.js +698 -0
  265. package/.output/server/node_modules/devalue/src/utils.js +190 -0
  266. package/.output/server/node_modules/ecdsa-sig-formatter/package.json +46 -0
  267. package/.output/server/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
  268. package/.output/server/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
  269. package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
  270. package/.output/server/node_modules/estree-walker/package.json +37 -0
  271. package/.output/server/node_modules/event-target-shim/dist/event-target-shim.js +871 -0
  272. package/.output/server/node_modules/event-target-shim/package.json +82 -0
  273. package/.output/server/node_modules/events-universal/default.js +1 -0
  274. package/.output/server/node_modules/events-universal/package.json +39 -0
  275. package/.output/server/node_modules/extend/index.js +117 -0
  276. package/.output/server/node_modules/extend/package.json +42 -0
  277. package/.output/server/node_modules/fast-fifo/fixed-size.js +39 -0
  278. package/.output/server/node_modules/fast-fifo/index.js +48 -0
  279. package/.output/server/node_modules/fast-fifo/package.json +28 -0
  280. package/.output/server/node_modules/fetch-blob/file.js +49 -0
  281. package/.output/server/node_modules/fetch-blob/from.js +100 -0
  282. package/.output/server/node_modules/fetch-blob/index.js +250 -0
  283. package/.output/server/node_modules/fetch-blob/package.json +56 -0
  284. package/.output/server/node_modules/fetch-blob/streams.cjs +51 -0
  285. package/.output/server/node_modules/formdata-polyfill/esm.min.js +40 -0
  286. package/.output/server/node_modules/formdata-polyfill/package.json +50 -0
  287. package/.output/server/node_modules/gaxios/build/cjs/src/common.js +311 -0
  288. package/.output/server/node_modules/gaxios/build/cjs/src/gaxios.js +564 -0
  289. package/.output/server/node_modules/gaxios/build/cjs/src/index.js +48 -0
  290. package/.output/server/node_modules/gaxios/build/cjs/src/interceptor.js +22 -0
  291. package/.output/server/node_modules/gaxios/build/cjs/src/retry.js +165 -0
  292. package/.output/server/node_modules/gaxios/build/cjs/src/util.cjs +16 -0
  293. package/.output/server/node_modules/gaxios/package.json +105 -0
  294. package/.output/server/node_modules/gcp-metadata/build/src/gcp-residency.js +114 -0
  295. package/.output/server/node_modules/gcp-metadata/build/src/index.js +402 -0
  296. package/.output/server/node_modules/gcp-metadata/package.json +77 -0
  297. package/.output/server/node_modules/glob/dist/commonjs/glob.js +247 -0
  298. package/.output/server/node_modules/glob/dist/commonjs/has-magic.js +27 -0
  299. package/.output/server/node_modules/glob/dist/commonjs/ignore.js +119 -0
  300. package/.output/server/node_modules/glob/dist/commonjs/index.js +68 -0
  301. package/.output/server/node_modules/glob/dist/commonjs/package.json +3 -0
  302. package/.output/server/node_modules/glob/dist/commonjs/pattern.js +219 -0
  303. package/.output/server/node_modules/glob/dist/commonjs/processor.js +301 -0
  304. package/.output/server/node_modules/glob/dist/commonjs/walker.js +387 -0
  305. package/.output/server/node_modules/glob/package.json +99 -0
  306. package/.output/server/node_modules/google-auth-library/build/src/auth/authclient.js +286 -0
  307. package/.output/server/node_modules/google-auth-library/build/src/auth/awsclient.js +154 -0
  308. package/.output/server/node_modules/google-auth-library/build/src/auth/awsrequestsigner.js +213 -0
  309. package/.output/server/node_modules/google-auth-library/build/src/auth/baseexternalclient.js +477 -0
  310. package/.output/server/node_modules/google-auth-library/build/src/auth/certificatesubjecttokensupplier.js +223 -0
  311. package/.output/server/node_modules/google-auth-library/build/src/auth/computeclient.js +118 -0
  312. package/.output/server/node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.js +199 -0
  313. package/.output/server/node_modules/google-auth-library/build/src/auth/downscopedclient.js +273 -0
  314. package/.output/server/node_modules/google-auth-library/build/src/auth/envDetect.js +97 -0
  315. package/.output/server/node_modules/google-auth-library/build/src/auth/executable-response.js +178 -0
  316. package/.output/server/node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.js +233 -0
  317. package/.output/server/node_modules/google-auth-library/build/src/auth/externalclient.js +68 -0
  318. package/.output/server/node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.js +84 -0
  319. package/.output/server/node_modules/google-auth-library/build/src/auth/gdchclient.js +307 -0
  320. package/.output/server/node_modules/google-auth-library/build/src/auth/googleauth.js +921 -0
  321. package/.output/server/node_modules/google-auth-library/build/src/auth/iam.js +44 -0
  322. package/.output/server/node_modules/google-auth-library/build/src/auth/identitypoolclient.js +131 -0
  323. package/.output/server/node_modules/google-auth-library/build/src/auth/idtokenclient.js +56 -0
  324. package/.output/server/node_modules/google-auth-library/build/src/auth/impersonated.js +197 -0
  325. package/.output/server/node_modules/google-auth-library/build/src/auth/jwtaccess.js +201 -0
  326. package/.output/server/node_modules/google-auth-library/build/src/auth/jwtclient.js +301 -0
  327. package/.output/server/node_modules/google-auth-library/build/src/auth/loginticket.js +60 -0
  328. package/.output/server/node_modules/google-auth-library/build/src/auth/oauth2client.js +820 -0
  329. package/.output/server/node_modules/google-auth-library/build/src/auth/oauth2common.js +189 -0
  330. package/.output/server/node_modules/google-auth-library/build/src/auth/passthrough.js +60 -0
  331. package/.output/server/node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js +220 -0
  332. package/.output/server/node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.js +174 -0
  333. package/.output/server/node_modules/google-auth-library/build/src/auth/refreshclient.js +160 -0
  334. package/.output/server/node_modules/google-auth-library/build/src/auth/stscredentials.js +107 -0
  335. package/.output/server/node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.js +71 -0
  336. package/.output/server/node_modules/google-auth-library/build/src/crypto/browser/crypto.js +127 -0
  337. package/.output/server/node_modules/google-auth-library/build/src/crypto/crypto.js +54 -0
  338. package/.output/server/node_modules/google-auth-library/build/src/crypto/node/crypto.js +88 -0
  339. package/.output/server/node_modules/google-auth-library/build/src/crypto/shared.js +32 -0
  340. package/.output/server/node_modules/google-auth-library/build/src/gtoken/errorWithCode.js +25 -0
  341. package/.output/server/node_modules/google-auth-library/build/src/gtoken/getCredentials.js +132 -0
  342. package/.output/server/node_modules/google-auth-library/build/src/gtoken/getToken.js +66 -0
  343. package/.output/server/node_modules/google-auth-library/build/src/gtoken/googleToken.js +125 -0
  344. package/.output/server/node_modules/google-auth-library/build/src/gtoken/jwsSign.js +54 -0
  345. package/.output/server/node_modules/google-auth-library/build/src/gtoken/revokeToken.js +34 -0
  346. package/.output/server/node_modules/google-auth-library/build/src/gtoken/tokenHandler.js +97 -0
  347. package/.output/server/node_modules/google-auth-library/build/src/index.js +88 -0
  348. package/.output/server/node_modules/google-auth-library/build/src/shared.cjs +22 -0
  349. package/.output/server/node_modules/google-auth-library/build/src/util.js +176 -0
  350. package/.output/server/node_modules/google-auth-library/package.json +90 -0
  351. package/.output/server/node_modules/google-logging-utils/build/src/colours.js +81 -0
  352. package/.output/server/node_modules/google-logging-utils/build/src/index.js +31 -0
  353. package/.output/server/node_modules/google-logging-utils/build/src/logging-utils.js +437 -0
  354. package/.output/server/node_modules/google-logging-utils/package.json +45 -0
  355. package/.output/server/node_modules/graceful-fs/clone.js +23 -0
  356. package/.output/server/node_modules/graceful-fs/graceful-fs.js +448 -0
  357. package/.output/server/node_modules/graceful-fs/legacy-streams.js +118 -0
  358. package/.output/server/node_modules/graceful-fs/package.json +52 -0
  359. package/.output/server/node_modules/graceful-fs/polyfills.js +355 -0
  360. package/.output/server/node_modules/has-flag/index.js +8 -0
  361. package/.output/server/node_modules/has-flag/package.json +46 -0
  362. package/.output/server/node_modules/hookable/dist/index.mjs +257 -0
  363. package/.output/server/node_modules/hookable/package.json +54 -0
  364. package/.output/server/node_modules/https-proxy-agent/dist/index.js +180 -0
  365. package/.output/server/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
  366. package/.output/server/node_modules/https-proxy-agent/package.json +50 -0
  367. package/.output/server/node_modules/inherits/inherits.js +9 -0
  368. package/.output/server/node_modules/inherits/inherits_browser.js +27 -0
  369. package/.output/server/node_modules/inherits/package.json +29 -0
  370. package/.output/server/node_modules/is-stream/index.js +28 -0
  371. package/.output/server/node_modules/is-stream/package.json +42 -0
  372. package/.output/server/node_modules/isarray/index.js +5 -0
  373. package/.output/server/node_modules/isarray/package.json +45 -0
  374. package/.output/server/node_modules/json-bigint/index.js +12 -0
  375. package/.output/server/node_modules/json-bigint/lib/parse.js +443 -0
  376. package/.output/server/node_modules/json-bigint/lib/stringify.js +384 -0
  377. package/.output/server/node_modules/json-bigint/package.json +34 -0
  378. package/.output/server/node_modules/jwa/index.js +266 -0
  379. package/.output/server/node_modules/jwa/package.json +37 -0
  380. package/.output/server/node_modules/jws/index.js +22 -0
  381. package/.output/server/node_modules/jws/lib/data-stream.js +55 -0
  382. package/.output/server/node_modules/jws/lib/sign-stream.js +83 -0
  383. package/.output/server/node_modules/jws/lib/tostring.js +10 -0
  384. package/.output/server/node_modules/jws/lib/verify-stream.js +125 -0
  385. package/.output/server/node_modules/jws/package.json +34 -0
  386. package/.output/server/node_modules/lazystream/lib/lazystream.js +54 -0
  387. package/.output/server/node_modules/lazystream/package.json +46 -0
  388. package/.output/server/node_modules/lodash/_Hash.js +32 -0
  389. package/.output/server/node_modules/lodash/_ListCache.js +32 -0
  390. package/.output/server/node_modules/lodash/_Map.js +7 -0
  391. package/.output/server/node_modules/lodash/_MapCache.js +32 -0
  392. package/.output/server/node_modules/lodash/_Set.js +7 -0
  393. package/.output/server/node_modules/lodash/_SetCache.js +27 -0
  394. package/.output/server/node_modules/lodash/_Symbol.js +6 -0
  395. package/.output/server/node_modules/lodash/_apply.js +21 -0
  396. package/.output/server/node_modules/lodash/_arrayIncludes.js +17 -0
  397. package/.output/server/node_modules/lodash/_arrayIncludesWith.js +22 -0
  398. package/.output/server/node_modules/lodash/_arrayLikeKeys.js +49 -0
  399. package/.output/server/node_modules/lodash/_arrayMap.js +21 -0
  400. package/.output/server/node_modules/lodash/_arrayPush.js +20 -0
  401. package/.output/server/node_modules/lodash/_assocIndexOf.js +21 -0
  402. package/.output/server/node_modules/lodash/_baseDifference.js +67 -0
  403. package/.output/server/node_modules/lodash/_baseFindIndex.js +24 -0
  404. package/.output/server/node_modules/lodash/_baseFlatten.js +38 -0
  405. package/.output/server/node_modules/lodash/_baseGetTag.js +28 -0
  406. package/.output/server/node_modules/lodash/_baseIndexOf.js +20 -0
  407. package/.output/server/node_modules/lodash/_baseIsArguments.js +18 -0
  408. package/.output/server/node_modules/lodash/_baseIsNaN.js +12 -0
  409. package/.output/server/node_modules/lodash/_baseIsNative.js +47 -0
  410. package/.output/server/node_modules/lodash/_baseIsTypedArray.js +60 -0
  411. package/.output/server/node_modules/lodash/_baseKeysIn.js +33 -0
  412. package/.output/server/node_modules/lodash/_baseRest.js +17 -0
  413. package/.output/server/node_modules/lodash/_baseSetToString.js +22 -0
  414. package/.output/server/node_modules/lodash/_baseTimes.js +20 -0
  415. package/.output/server/node_modules/lodash/_baseUnary.js +14 -0
  416. package/.output/server/node_modules/lodash/_baseUniq.js +72 -0
  417. package/.output/server/node_modules/lodash/_cacheHas.js +13 -0
  418. package/.output/server/node_modules/lodash/_coreJsData.js +6 -0
  419. package/.output/server/node_modules/lodash/_createSet.js +19 -0
  420. package/.output/server/node_modules/lodash/_defineProperty.js +11 -0
  421. package/.output/server/node_modules/lodash/_freeGlobal.js +4 -0
  422. package/.output/server/node_modules/lodash/_getMapData.js +18 -0
  423. package/.output/server/node_modules/lodash/_getNative.js +17 -0
  424. package/.output/server/node_modules/lodash/_getPrototype.js +6 -0
  425. package/.output/server/node_modules/lodash/_getRawTag.js +46 -0
  426. package/.output/server/node_modules/lodash/_getValue.js +13 -0
  427. package/.output/server/node_modules/lodash/_hashClear.js +15 -0
  428. package/.output/server/node_modules/lodash/_hashDelete.js +17 -0
  429. package/.output/server/node_modules/lodash/_hashGet.js +30 -0
  430. package/.output/server/node_modules/lodash/_hashHas.js +23 -0
  431. package/.output/server/node_modules/lodash/_hashSet.js +23 -0
  432. package/.output/server/node_modules/lodash/_isFlattenable.js +20 -0
  433. package/.output/server/node_modules/lodash/_isIndex.js +25 -0
  434. package/.output/server/node_modules/lodash/_isIterateeCall.js +30 -0
  435. package/.output/server/node_modules/lodash/_isKeyable.js +15 -0
  436. package/.output/server/node_modules/lodash/_isMasked.js +20 -0
  437. package/.output/server/node_modules/lodash/_isPrototype.js +18 -0
  438. package/.output/server/node_modules/lodash/_listCacheClear.js +13 -0
  439. package/.output/server/node_modules/lodash/_listCacheDelete.js +35 -0
  440. package/.output/server/node_modules/lodash/_listCacheGet.js +19 -0
  441. package/.output/server/node_modules/lodash/_listCacheHas.js +16 -0
  442. package/.output/server/node_modules/lodash/_listCacheSet.js +26 -0
  443. package/.output/server/node_modules/lodash/_mapCacheClear.js +21 -0
  444. package/.output/server/node_modules/lodash/_mapCacheDelete.js +18 -0
  445. package/.output/server/node_modules/lodash/_mapCacheGet.js +16 -0
  446. package/.output/server/node_modules/lodash/_mapCacheHas.js +16 -0
  447. package/.output/server/node_modules/lodash/_mapCacheSet.js +22 -0
  448. package/.output/server/node_modules/lodash/_nativeCreate.js +6 -0
  449. package/.output/server/node_modules/lodash/_nativeKeysIn.js +20 -0
  450. package/.output/server/node_modules/lodash/_nodeUtil.js +30 -0
  451. package/.output/server/node_modules/lodash/_objectToString.js +22 -0
  452. package/.output/server/node_modules/lodash/_overArg.js +15 -0
  453. package/.output/server/node_modules/lodash/_overRest.js +36 -0
  454. package/.output/server/node_modules/lodash/_root.js +9 -0
  455. package/.output/server/node_modules/lodash/_setCacheAdd.js +19 -0
  456. package/.output/server/node_modules/lodash/_setCacheHas.js +14 -0
  457. package/.output/server/node_modules/lodash/_setToArray.js +18 -0
  458. package/.output/server/node_modules/lodash/_setToString.js +14 -0
  459. package/.output/server/node_modules/lodash/_shortOut.js +37 -0
  460. package/.output/server/node_modules/lodash/_strictIndexOf.js +23 -0
  461. package/.output/server/node_modules/lodash/_toSource.js +26 -0
  462. package/.output/server/node_modules/lodash/constant.js +26 -0
  463. package/.output/server/node_modules/lodash/defaults.js +64 -0
  464. package/.output/server/node_modules/lodash/difference.js +33 -0
  465. package/.output/server/node_modules/lodash/eq.js +37 -0
  466. package/.output/server/node_modules/lodash/flatten.js +22 -0
  467. package/.output/server/node_modules/lodash/identity.js +21 -0
  468. package/.output/server/node_modules/lodash/isArguments.js +36 -0
  469. package/.output/server/node_modules/lodash/isArray.js +26 -0
  470. package/.output/server/node_modules/lodash/isArrayLike.js +33 -0
  471. package/.output/server/node_modules/lodash/isArrayLikeObject.js +33 -0
  472. package/.output/server/node_modules/lodash/isBuffer.js +38 -0
  473. package/.output/server/node_modules/lodash/isFunction.js +37 -0
  474. package/.output/server/node_modules/lodash/isLength.js +35 -0
  475. package/.output/server/node_modules/lodash/isObject.js +31 -0
  476. package/.output/server/node_modules/lodash/isObjectLike.js +29 -0
  477. package/.output/server/node_modules/lodash/isPlainObject.js +62 -0
  478. package/.output/server/node_modules/lodash/isTypedArray.js +27 -0
  479. package/.output/server/node_modules/lodash/keysIn.js +32 -0
  480. package/.output/server/node_modules/lodash/noop.js +17 -0
  481. package/.output/server/node_modules/lodash/package.json +19 -0
  482. package/.output/server/node_modules/lodash/stubFalse.js +18 -0
  483. package/.output/server/node_modules/lodash/union.js +26 -0
  484. package/.output/server/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
  485. package/.output/server/node_modules/lru-cache/dist/commonjs/package.json +3 -0
  486. package/.output/server/node_modules/lru-cache/package.json +116 -0
  487. package/.output/server/node_modules/lucide-vue-next/dist/cjs/lucide-vue-next.js +21273 -0
  488. package/.output/server/node_modules/lucide-vue-next/package.json +64 -0
  489. package/.output/server/node_modules/minipass/dist/commonjs/index.js +1038 -0
  490. package/.output/server/node_modules/minipass/dist/commonjs/package.json +3 -0
  491. package/.output/server/node_modules/minipass/package.json +77 -0
  492. package/.output/server/node_modules/ms/index.js +162 -0
  493. package/.output/server/node_modules/ms/package.json +38 -0
  494. package/.output/server/node_modules/node-domexception/index.js +16 -0
  495. package/.output/server/node_modules/node-domexception/package.json +29 -0
  496. package/.output/server/node_modules/node-fetch/package.json +131 -0
  497. package/.output/server/node_modules/node-fetch/src/body.js +397 -0
  498. package/.output/server/node_modules/node-fetch/src/errors/abort-error.js +10 -0
  499. package/.output/server/node_modules/node-fetch/src/errors/base.js +17 -0
  500. package/.output/server/node_modules/node-fetch/src/errors/fetch-error.js +26 -0
  501. package/.output/server/node_modules/node-fetch/src/headers.js +267 -0
  502. package/.output/server/node_modules/node-fetch/src/index.js +417 -0
  503. package/.output/server/node_modules/node-fetch/src/request.js +313 -0
  504. package/.output/server/node_modules/node-fetch/src/response.js +160 -0
  505. package/.output/server/node_modules/node-fetch/src/utils/get-search.js +9 -0
  506. package/.output/server/node_modules/node-fetch/src/utils/is-redirect.js +11 -0
  507. package/.output/server/node_modules/node-fetch/src/utils/is.js +87 -0
  508. package/.output/server/node_modules/node-fetch/src/utils/multipart-parser.js +432 -0
  509. package/.output/server/node_modules/node-fetch/src/utils/referrer.js +340 -0
  510. package/.output/server/node_modules/normalize-path/index.js +35 -0
  511. package/.output/server/node_modules/normalize-path/package.json +77 -0
  512. package/.output/server/node_modules/p-retry/index.js +85 -0
  513. package/.output/server/node_modules/p-retry/package.json +51 -0
  514. package/.output/server/node_modules/parse5/dist/common/doctype.js +114 -0
  515. package/.output/server/node_modules/parse5/dist/common/error-codes.js +63 -0
  516. package/.output/server/node_modules/parse5/dist/common/foreign-content.js +228 -0
  517. package/.output/server/node_modules/parse5/dist/common/html.js +523 -0
  518. package/.output/server/node_modules/parse5/dist/common/token.js +20 -0
  519. package/.output/server/node_modules/parse5/dist/common/unicode.js +62 -0
  520. package/.output/server/node_modules/parse5/dist/index.js +42 -0
  521. package/.output/server/node_modules/parse5/dist/parser/formatting-element-list.js +110 -0
  522. package/.output/server/node_modules/parse5/dist/parser/index.js +3245 -0
  523. package/.output/server/node_modules/parse5/dist/parser/open-element-stack.js +324 -0
  524. package/.output/server/node_modules/parse5/dist/serializer/index.js +168 -0
  525. package/.output/server/node_modules/parse5/dist/tokenizer/index.js +2710 -0
  526. package/.output/server/node_modules/parse5/dist/tokenizer/preprocessor.js +196 -0
  527. package/.output/server/node_modules/parse5/dist/tree-adapters/default.js +173 -0
  528. package/.output/server/node_modules/parse5/package.json +50 -0
  529. package/.output/server/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
  530. package/.output/server/node_modules/path-scurry/dist/commonjs/package.json +3 -0
  531. package/.output/server/node_modules/path-scurry/package.json +89 -0
  532. package/.output/server/node_modules/playwright/index.mjs +18 -0
  533. package/.output/server/node_modules/playwright/package.json +50 -0
  534. package/.output/server/node_modules/playwright-core/browsers.json +52 -0
  535. package/.output/server/node_modules/playwright-core/index.js +17 -0
  536. package/.output/server/node_modules/playwright-core/index.mjs +28 -0
  537. package/.output/server/node_modules/playwright-core/lib/bootstrap.js +149 -0
  538. package/.output/server/node_modules/playwright-core/lib/coreBundle.js +78764 -0
  539. package/.output/server/node_modules/playwright-core/lib/utilsBundle.js +92408 -0
  540. package/.output/server/node_modules/playwright-core/package.json +34 -0
  541. package/.output/server/node_modules/process/index.js +2 -0
  542. package/.output/server/node_modules/process/package.json +27 -0
  543. package/.output/server/node_modules/process-nextick-args/index.js +45 -0
  544. package/.output/server/node_modules/process-nextick-args/package.json +25 -0
  545. package/.output/server/node_modules/readdir-glob/index.js +243 -0
  546. package/.output/server/node_modules/readdir-glob/package.json +43 -0
  547. package/.output/server/node_modules/retry/index.js +1 -0
  548. package/.output/server/node_modules/retry/lib/retry.js +100 -0
  549. package/.output/server/node_modules/retry/lib/retry_operation.js +162 -0
  550. package/.output/server/node_modules/retry/package.json +36 -0
  551. package/.output/server/node_modules/source-map-js/lib/array-set.js +123 -0
  552. package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +136 -0
  553. package/.output/server/node_modules/source-map-js/lib/base64.js +68 -0
  554. package/.output/server/node_modules/source-map-js/lib/binary-search.js +115 -0
  555. package/.output/server/node_modules/source-map-js/lib/mapping-list.js +84 -0
  556. package/.output/server/node_modules/source-map-js/lib/quick-sort.js +211 -0
  557. package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1314 -0
  558. package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +486 -0
  559. package/.output/server/node_modules/source-map-js/lib/source-node.js +446 -0
  560. package/.output/server/node_modules/source-map-js/lib/util.js +613 -0
  561. package/.output/server/node_modules/source-map-js/package.json +78 -0
  562. package/.output/server/node_modules/source-map-js/source-map.js +10 -0
  563. package/.output/server/node_modules/streamx/index.js +1314 -0
  564. package/.output/server/node_modules/streamx/lib/errors.js +47 -0
  565. package/.output/server/node_modules/streamx/package.json +51 -0
  566. package/.output/server/node_modules/supports-color/index.js +135 -0
  567. package/.output/server/node_modules/supports-color/package.json +53 -0
  568. package/.output/server/node_modules/tar-stream/constants.js +14 -0
  569. package/.output/server/node_modules/tar-stream/extract.js +418 -0
  570. package/.output/server/node_modules/tar-stream/headers.js +322 -0
  571. package/.output/server/node_modules/tar-stream/index.js +2 -0
  572. package/.output/server/node_modules/tar-stream/pack.js +287 -0
  573. package/.output/server/node_modules/tar-stream/package.json +50 -0
  574. package/.output/server/node_modules/text-decoder/index.js +64 -0
  575. package/.output/server/node_modules/text-decoder/lib/pass-through-decoder.js +19 -0
  576. package/.output/server/node_modules/text-decoder/lib/utf8-decoder.js +185 -0
  577. package/.output/server/node_modules/text-decoder/package.json +39 -0
  578. package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
  579. package/.output/server/node_modules/ufo/package.json +48 -0
  580. package/.output/server/node_modules/unhead/dist/index.mjs +9 -0
  581. package/.output/server/node_modules/unhead/dist/plugins.mjs +103 -0
  582. package/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
  583. package/.output/server/node_modules/unhead/dist/server.mjs +191 -0
  584. package/.output/server/node_modules/unhead/dist/shared/unhead.0TIQaUam.mjs +244 -0
  585. package/.output/server/node_modules/unhead/dist/shared/unhead.AtIkjM2B.mjs +166 -0
  586. package/.output/server/node_modules/unhead/dist/shared/unhead.AvDFlk_u.mjs +39 -0
  587. package/.output/server/node_modules/unhead/dist/shared/unhead.B0o2oYhg.mjs +317 -0
  588. package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
  589. package/.output/server/node_modules/unhead/dist/shared/unhead.ByHeIeZd.mjs +184 -0
  590. package/.output/server/node_modules/unhead/dist/shared/unhead.C-69jnXc.mjs +44 -0
  591. package/.output/server/node_modules/unhead/dist/shared/unhead.ChXiQvI8.mjs +76 -0
  592. package/.output/server/node_modules/unhead/dist/shared/unhead.DWXHYkPf.mjs +366 -0
  593. package/.output/server/node_modules/unhead/dist/shared/unhead.h_KkEIE6.mjs +196 -0
  594. package/.output/server/node_modules/unhead/dist/shared/unhead.ylJpsHyA.mjs +255 -0
  595. package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
  596. package/.output/server/node_modules/unhead/package.json +106 -0
  597. package/.output/server/node_modules/util-deprecate/node.js +6 -0
  598. package/.output/server/node_modules/util-deprecate/package.json +27 -0
  599. package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
  600. package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
  601. package/.output/server/node_modules/vue/index.js +7 -0
  602. package/.output/server/node_modules/vue/index.mjs +1 -0
  603. package/.output/server/node_modules/vue/package.json +112 -0
  604. package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
  605. package/.output/server/node_modules/vue-bundle-renderer/dist/dependencies-VCG-RX19.mjs +118 -0
  606. package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +673 -0
  607. package/.output/server/node_modules/vue-bundle-renderer/package.json +66 -0
  608. package/.output/server/node_modules/vue-router/dist/devtools-C3Hva4Qk.mjs +1220 -0
  609. package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1561 -0
  610. package/.output/server/node_modules/vue-router/package.json +156 -0
  611. package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
  612. package/.output/server/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +4737 -0
  613. package/.output/server/node_modules/web-streams-polyfill/package.json +83 -0
  614. package/.output/server/node_modules/ws/lib/buffer-util.js +142 -0
  615. package/.output/server/node_modules/ws/lib/constants.js +19 -0
  616. package/.output/server/node_modules/ws/lib/event-target.js +292 -0
  617. package/.output/server/node_modules/ws/lib/extension.js +203 -0
  618. package/.output/server/node_modules/ws/lib/limiter.js +55 -0
  619. package/.output/server/node_modules/ws/lib/permessage-deflate.js +530 -0
  620. package/.output/server/node_modules/ws/lib/receiver.js +751 -0
  621. package/.output/server/node_modules/ws/lib/sender.js +610 -0
  622. package/.output/server/node_modules/ws/lib/stream.js +161 -0
  623. package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
  624. package/.output/server/node_modules/ws/lib/validation.js +152 -0
  625. package/.output/server/node_modules/ws/lib/websocket-server.js +565 -0
  626. package/.output/server/node_modules/ws/lib/websocket.js +1471 -0
  627. package/.output/server/node_modules/ws/package.json +74 -0
  628. package/.output/server/node_modules/ws/wrapper.mjs +21 -0
  629. package/.output/server/node_modules/zip-stream/index.js +187 -0
  630. package/.output/server/node_modules/zip-stream/package.json +49 -0
  631. package/.output/server/node_modules/zod/index.js +4 -0
  632. package/.output/server/node_modules/zod/package.json +118 -0
  633. package/.output/server/node_modules/zod/v3/ZodError.js +133 -0
  634. package/.output/server/node_modules/zod/v3/errors.js +9 -0
  635. package/.output/server/node_modules/zod/v3/external.js +6 -0
  636. package/.output/server/node_modules/zod/v3/helpers/errorUtil.js +6 -0
  637. package/.output/server/node_modules/zod/v3/helpers/parseUtil.js +109 -0
  638. package/.output/server/node_modules/zod/v3/helpers/typeAliases.js +1 -0
  639. package/.output/server/node_modules/zod/v3/helpers/util.js +133 -0
  640. package/.output/server/node_modules/zod/v3/locales/en.js +109 -0
  641. package/.output/server/node_modules/zod/v3/types.js +3693 -0
  642. package/.output/server/package.json +99 -0
  643. package/README.md +116 -2
  644. package/bin/cli.js +189 -0
  645. package/data/drafts.json +1 -0
  646. package/data/history.json +59 -0
  647. package/package.json +39 -4
  648. package/public/audio/cyber_future_tech.mp3 +0 -0
  649. package/public/audio/dark_phonk_pulse.mp3 +0 -0
  650. package/public/audio/deep_finance_groove.mp3 +0 -0
  651. package/public/audio/lofi_viral_study.mp3 +0 -0
  652. package/public/audio/motivation_cinematic.mp3 +0 -0
  653. package/public/videos/cyber_blue.mp4 +0 -0
  654. package/public/videos/cyber_matrix_stream.mp4 +0 -0
  655. package/public/videos/cyber_pulse.mp4 +0 -0
  656. package/public/videos/dark_luxury_particles.mp4 +0 -0
  657. package/public/videos/default_bg.mp4 +0 -0
  658. package/public/videos/emerald_flow.mp4 +0 -0
  659. package/public/videos/financial_pulse_flow.mp4 +0 -0
  660. package/public/videos/neon_cyber_grid.mp4 +0 -0
@@ -0,0 +1,1023 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.unescape = exports.escape = exports.AST = exports.Minimatch = exports.match = exports.makeRe = exports.braceExpand = exports.defaults = exports.filter = exports.GLOBSTAR = exports.sep = exports.minimatch = void 0;
7
+ const brace_expansion_1 = __importDefault(require("brace-expansion"));
8
+ const assert_valid_pattern_js_1 = require("./assert-valid-pattern.js");
9
+ const ast_js_1 = require("./ast.js");
10
+ const escape_js_1 = require("./escape.js");
11
+ const unescape_js_1 = require("./unescape.js");
12
+ const minimatch = (p, pattern, options = {}) => {
13
+ (0, assert_valid_pattern_js_1.assertValidPattern)(pattern);
14
+ // shortcut: comments match nothing.
15
+ if (!options.nocomment && pattern.charAt(0) === '#') {
16
+ return false;
17
+ }
18
+ return new Minimatch(pattern, options).match(p);
19
+ };
20
+ exports.minimatch = minimatch;
21
+ // Optimized checking for the most common glob patterns.
22
+ const starDotExtRE = /^\*+([^+@!?\*\[\(]*)$/;
23
+ const starDotExtTest = (ext) => (f) => !f.startsWith('.') && f.endsWith(ext);
24
+ const starDotExtTestDot = (ext) => (f) => f.endsWith(ext);
25
+ const starDotExtTestNocase = (ext) => {
26
+ ext = ext.toLowerCase();
27
+ return (f) => !f.startsWith('.') && f.toLowerCase().endsWith(ext);
28
+ };
29
+ const starDotExtTestNocaseDot = (ext) => {
30
+ ext = ext.toLowerCase();
31
+ return (f) => f.toLowerCase().endsWith(ext);
32
+ };
33
+ const starDotStarRE = /^\*+\.\*+$/;
34
+ const starDotStarTest = (f) => !f.startsWith('.') && f.includes('.');
35
+ const starDotStarTestDot = (f) => f !== '.' && f !== '..' && f.includes('.');
36
+ const dotStarRE = /^\.\*+$/;
37
+ const dotStarTest = (f) => f !== '.' && f !== '..' && f.startsWith('.');
38
+ const starRE = /^\*+$/;
39
+ const starTest = (f) => f.length !== 0 && !f.startsWith('.');
40
+ const starTestDot = (f) => f.length !== 0 && f !== '.' && f !== '..';
41
+ const qmarksRE = /^\?+([^+@!?\*\[\(]*)?$/;
42
+ const qmarksTestNocase = ([$0, ext = '']) => {
43
+ const noext = qmarksTestNoExt([$0]);
44
+ if (!ext)
45
+ return noext;
46
+ ext = ext.toLowerCase();
47
+ return (f) => noext(f) && f.toLowerCase().endsWith(ext);
48
+ };
49
+ const qmarksTestNocaseDot = ([$0, ext = '']) => {
50
+ const noext = qmarksTestNoExtDot([$0]);
51
+ if (!ext)
52
+ return noext;
53
+ ext = ext.toLowerCase();
54
+ return (f) => noext(f) && f.toLowerCase().endsWith(ext);
55
+ };
56
+ const qmarksTestDot = ([$0, ext = '']) => {
57
+ const noext = qmarksTestNoExtDot([$0]);
58
+ return !ext ? noext : (f) => noext(f) && f.endsWith(ext);
59
+ };
60
+ const qmarksTest = ([$0, ext = '']) => {
61
+ const noext = qmarksTestNoExt([$0]);
62
+ return !ext ? noext : (f) => noext(f) && f.endsWith(ext);
63
+ };
64
+ const qmarksTestNoExt = ([$0]) => {
65
+ const len = $0.length;
66
+ return (f) => f.length === len && !f.startsWith('.');
67
+ };
68
+ const qmarksTestNoExtDot = ([$0]) => {
69
+ const len = $0.length;
70
+ return (f) => f.length === len && f !== '.' && f !== '..';
71
+ };
72
+ /* c8 ignore start */
73
+ const defaultPlatform = (typeof process === 'object' && process
74
+ ? (typeof process.env === 'object' &&
75
+ process.env &&
76
+ process.env.__MINIMATCH_TESTING_PLATFORM__) ||
77
+ process.platform
78
+ : 'posix');
79
+ const path = {
80
+ win32: { sep: '\\' },
81
+ posix: { sep: '/' },
82
+ };
83
+ /* c8 ignore stop */
84
+ exports.sep = defaultPlatform === 'win32' ? path.win32.sep : path.posix.sep;
85
+ exports.minimatch.sep = exports.sep;
86
+ exports.GLOBSTAR = Symbol('globstar **');
87
+ exports.minimatch.GLOBSTAR = exports.GLOBSTAR;
88
+ // any single thing other than /
89
+ // don't need to escape / when using new RegExp()
90
+ const qmark = '[^/]';
91
+ // * => any number of characters
92
+ const star = qmark + '*?';
93
+ // ** when dots are allowed. Anything goes, except .. and .
94
+ // not (^ or / followed by one or two dots followed by $ or /),
95
+ // followed by anything, any number of times.
96
+ const twoStarDot = '(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?';
97
+ // not a ^ or / followed by a dot,
98
+ // followed by anything, any number of times.
99
+ const twoStarNoDot = '(?:(?!(?:\\/|^)\\.).)*?';
100
+ const filter = (pattern, options = {}) => (p) => (0, exports.minimatch)(p, pattern, options);
101
+ exports.filter = filter;
102
+ exports.minimatch.filter = exports.filter;
103
+ const ext = (a, b = {}) => Object.assign({}, a, b);
104
+ const defaults = (def) => {
105
+ if (!def || typeof def !== 'object' || !Object.keys(def).length) {
106
+ return exports.minimatch;
107
+ }
108
+ const orig = exports.minimatch;
109
+ const m = (p, pattern, options = {}) => orig(p, pattern, ext(def, options));
110
+ return Object.assign(m, {
111
+ Minimatch: class Minimatch extends orig.Minimatch {
112
+ constructor(pattern, options = {}) {
113
+ super(pattern, ext(def, options));
114
+ }
115
+ static defaults(options) {
116
+ return orig.defaults(ext(def, options)).Minimatch;
117
+ }
118
+ },
119
+ AST: class AST extends orig.AST {
120
+ /* c8 ignore start */
121
+ constructor(type, parent, options = {}) {
122
+ super(type, parent, ext(def, options));
123
+ }
124
+ /* c8 ignore stop */
125
+ static fromGlob(pattern, options = {}) {
126
+ return orig.AST.fromGlob(pattern, ext(def, options));
127
+ }
128
+ },
129
+ unescape: (s, options = {}) => orig.unescape(s, ext(def, options)),
130
+ escape: (s, options = {}) => orig.escape(s, ext(def, options)),
131
+ filter: (pattern, options = {}) => orig.filter(pattern, ext(def, options)),
132
+ defaults: (options) => orig.defaults(ext(def, options)),
133
+ makeRe: (pattern, options = {}) => orig.makeRe(pattern, ext(def, options)),
134
+ braceExpand: (pattern, options = {}) => orig.braceExpand(pattern, ext(def, options)),
135
+ match: (list, pattern, options = {}) => orig.match(list, pattern, ext(def, options)),
136
+ sep: orig.sep,
137
+ GLOBSTAR: exports.GLOBSTAR,
138
+ });
139
+ };
140
+ exports.defaults = defaults;
141
+ exports.minimatch.defaults = exports.defaults;
142
+ // Brace expansion:
143
+ // a{b,c}d -> abd acd
144
+ // a{b,}c -> abc ac
145
+ // a{0..3}d -> a0d a1d a2d a3d
146
+ // a{b,c{d,e}f}g -> abg acdfg acefg
147
+ // a{b,c}d{e,f}g -> abdeg acdeg abdeg abdfg
148
+ //
149
+ // Invalid sets are not expanded.
150
+ // a{2..}b -> a{2..}b
151
+ // a{b}c -> a{b}c
152
+ const braceExpand = (pattern, options = {}) => {
153
+ (0, assert_valid_pattern_js_1.assertValidPattern)(pattern);
154
+ // Thanks to Yeting Li <https://github.com/yetingli> for
155
+ // improving this regexp to avoid a ReDOS vulnerability.
156
+ if (options.nobrace || !/\{(?:(?!\{).)*\}/.test(pattern)) {
157
+ // shortcut. no need to expand.
158
+ return [pattern];
159
+ }
160
+ return (0, brace_expansion_1.default)(pattern);
161
+ };
162
+ exports.braceExpand = braceExpand;
163
+ exports.minimatch.braceExpand = exports.braceExpand;
164
+ // parse a component of the expanded set.
165
+ // At this point, no pattern may contain "/" in it
166
+ // so we're going to return a 2d array, where each entry is the full
167
+ // pattern, split on '/', and then turned into a regular expression.
168
+ // A regexp is made at the end which joins each array with an
169
+ // escaped /, and another full one which joins each regexp with |.
170
+ //
171
+ // Following the lead of Bash 4.1, note that "**" only has special meaning
172
+ // when it is the *only* thing in a path portion. Otherwise, any series
173
+ // of * is equivalent to a single *. Globstar behavior is enabled by
174
+ // default, and can be disabled by setting options.noglobstar.
175
+ const makeRe = (pattern, options = {}) => new Minimatch(pattern, options).makeRe();
176
+ exports.makeRe = makeRe;
177
+ exports.minimatch.makeRe = exports.makeRe;
178
+ const match = (list, pattern, options = {}) => {
179
+ const mm = new Minimatch(pattern, options);
180
+ list = list.filter(f => mm.match(f));
181
+ if (mm.options.nonull && !list.length) {
182
+ list.push(pattern);
183
+ }
184
+ return list;
185
+ };
186
+ exports.match = match;
187
+ exports.minimatch.match = exports.match;
188
+ // replace stuff like \* with *
189
+ const globMagic = /[?*]|[+@!]\(.*?\)|\[|\]/;
190
+ const regExpEscape = (s) => s.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, '\\$&');
191
+ class Minimatch {
192
+ options;
193
+ set;
194
+ pattern;
195
+ windowsPathsNoEscape;
196
+ nonegate;
197
+ negate;
198
+ comment;
199
+ empty;
200
+ preserveMultipleSlashes;
201
+ partial;
202
+ globSet;
203
+ globParts;
204
+ nocase;
205
+ isWindows;
206
+ platform;
207
+ windowsNoMagicRoot;
208
+ maxGlobstarRecursion;
209
+ regexp;
210
+ constructor(pattern, options = {}) {
211
+ (0, assert_valid_pattern_js_1.assertValidPattern)(pattern);
212
+ options = options || {};
213
+ this.options = options;
214
+ this.maxGlobstarRecursion = options.maxGlobstarRecursion ?? 200;
215
+ this.pattern = pattern;
216
+ this.platform = options.platform || defaultPlatform;
217
+ this.isWindows = this.platform === 'win32';
218
+ this.windowsPathsNoEscape =
219
+ !!options.windowsPathsNoEscape || options.allowWindowsEscape === false;
220
+ if (this.windowsPathsNoEscape) {
221
+ this.pattern = this.pattern.replace(/\\/g, '/');
222
+ }
223
+ this.preserveMultipleSlashes = !!options.preserveMultipleSlashes;
224
+ this.regexp = null;
225
+ this.negate = false;
226
+ this.nonegate = !!options.nonegate;
227
+ this.comment = false;
228
+ this.empty = false;
229
+ this.partial = !!options.partial;
230
+ this.nocase = !!this.options.nocase;
231
+ this.windowsNoMagicRoot =
232
+ options.windowsNoMagicRoot !== undefined
233
+ ? options.windowsNoMagicRoot
234
+ : !!(this.isWindows && this.nocase);
235
+ this.globSet = [];
236
+ this.globParts = [];
237
+ this.set = [];
238
+ // make the set of regexps etc.
239
+ this.make();
240
+ }
241
+ hasMagic() {
242
+ if (this.options.magicalBraces && this.set.length > 1) {
243
+ return true;
244
+ }
245
+ for (const pattern of this.set) {
246
+ for (const part of pattern) {
247
+ if (typeof part !== 'string')
248
+ return true;
249
+ }
250
+ }
251
+ return false;
252
+ }
253
+ debug(..._) { }
254
+ make() {
255
+ const pattern = this.pattern;
256
+ const options = this.options;
257
+ // empty patterns and comments match nothing.
258
+ if (!options.nocomment && pattern.charAt(0) === '#') {
259
+ this.comment = true;
260
+ return;
261
+ }
262
+ if (!pattern) {
263
+ this.empty = true;
264
+ return;
265
+ }
266
+ // step 1: figure out negation, etc.
267
+ this.parseNegate();
268
+ // step 2: expand braces
269
+ this.globSet = [...new Set(this.braceExpand())];
270
+ if (options.debug) {
271
+ this.debug = (...args) => console.error(...args);
272
+ }
273
+ this.debug(this.pattern, this.globSet);
274
+ // step 3: now we have a set, so turn each one into a series of
275
+ // path-portion matching patterns.
276
+ // These will be regexps, except in the case of "**", which is
277
+ // set to the GLOBSTAR object for globstar behavior,
278
+ // and will not contain any / characters
279
+ //
280
+ // First, we preprocess to make the glob pattern sets a bit simpler
281
+ // and deduped. There are some perf-killing patterns that can cause
282
+ // problems with a glob walk, but we can simplify them down a bit.
283
+ const rawGlobParts = this.globSet.map(s => this.slashSplit(s));
284
+ this.globParts = this.preprocess(rawGlobParts);
285
+ this.debug(this.pattern, this.globParts);
286
+ // glob --> regexps
287
+ let set = this.globParts.map((s, _, __) => {
288
+ if (this.isWindows && this.windowsNoMagicRoot) {
289
+ // check if it's a drive or unc path.
290
+ const isUNC = s[0] === '' &&
291
+ s[1] === '' &&
292
+ (s[2] === '?' || !globMagic.test(s[2])) &&
293
+ !globMagic.test(s[3]);
294
+ const isDrive = /^[a-z]:/i.test(s[0]);
295
+ if (isUNC) {
296
+ return [...s.slice(0, 4), ...s.slice(4).map(ss => this.parse(ss))];
297
+ }
298
+ else if (isDrive) {
299
+ return [s[0], ...s.slice(1).map(ss => this.parse(ss))];
300
+ }
301
+ }
302
+ return s.map(ss => this.parse(ss));
303
+ });
304
+ this.debug(this.pattern, set);
305
+ // filter out everything that didn't compile properly.
306
+ this.set = set.filter(s => s.indexOf(false) === -1);
307
+ // do not treat the ? in UNC paths as magic
308
+ if (this.isWindows) {
309
+ for (let i = 0; i < this.set.length; i++) {
310
+ const p = this.set[i];
311
+ if (p[0] === '' &&
312
+ p[1] === '' &&
313
+ this.globParts[i][2] === '?' &&
314
+ typeof p[3] === 'string' &&
315
+ /^[a-z]:$/i.test(p[3])) {
316
+ p[2] = '?';
317
+ }
318
+ }
319
+ }
320
+ this.debug(this.pattern, this.set);
321
+ }
322
+ // various transforms to equivalent pattern sets that are
323
+ // faster to process in a filesystem walk. The goal is to
324
+ // eliminate what we can, and push all ** patterns as far
325
+ // to the right as possible, even if it increases the number
326
+ // of patterns that we have to process.
327
+ preprocess(globParts) {
328
+ // if we're not in globstar mode, then turn all ** into *
329
+ if (this.options.noglobstar) {
330
+ for (let i = 0; i < globParts.length; i++) {
331
+ for (let j = 0; j < globParts[i].length; j++) {
332
+ if (globParts[i][j] === '**') {
333
+ globParts[i][j] = '*';
334
+ }
335
+ }
336
+ }
337
+ }
338
+ const { optimizationLevel = 1 } = this.options;
339
+ if (optimizationLevel >= 2) {
340
+ // aggressive optimization for the purpose of fs walking
341
+ globParts = this.firstPhasePreProcess(globParts);
342
+ globParts = this.secondPhasePreProcess(globParts);
343
+ }
344
+ else if (optimizationLevel >= 1) {
345
+ // just basic optimizations to remove some .. parts
346
+ globParts = this.levelOneOptimize(globParts);
347
+ }
348
+ else {
349
+ // just collapse multiple ** portions into one
350
+ globParts = this.adjascentGlobstarOptimize(globParts);
351
+ }
352
+ return globParts;
353
+ }
354
+ // just get rid of adjascent ** portions
355
+ adjascentGlobstarOptimize(globParts) {
356
+ return globParts.map(parts => {
357
+ let gs = -1;
358
+ while (-1 !== (gs = parts.indexOf('**', gs + 1))) {
359
+ let i = gs;
360
+ while (parts[i + 1] === '**') {
361
+ i++;
362
+ }
363
+ if (i !== gs) {
364
+ parts.splice(gs, i - gs);
365
+ }
366
+ }
367
+ return parts;
368
+ });
369
+ }
370
+ // get rid of adjascent ** and resolve .. portions
371
+ levelOneOptimize(globParts) {
372
+ return globParts.map(parts => {
373
+ parts = parts.reduce((set, part) => {
374
+ const prev = set[set.length - 1];
375
+ if (part === '**' && prev === '**') {
376
+ return set;
377
+ }
378
+ if (part === '..') {
379
+ if (prev && prev !== '..' && prev !== '.' && prev !== '**') {
380
+ set.pop();
381
+ return set;
382
+ }
383
+ }
384
+ set.push(part);
385
+ return set;
386
+ }, []);
387
+ return parts.length === 0 ? [''] : parts;
388
+ });
389
+ }
390
+ levelTwoFileOptimize(parts) {
391
+ if (!Array.isArray(parts)) {
392
+ parts = this.slashSplit(parts);
393
+ }
394
+ let didSomething = false;
395
+ do {
396
+ didSomething = false;
397
+ // <pre>/<e>/<rest> -> <pre>/<rest>
398
+ if (!this.preserveMultipleSlashes) {
399
+ for (let i = 1; i < parts.length - 1; i++) {
400
+ const p = parts[i];
401
+ // don't squeeze out UNC patterns
402
+ if (i === 1 && p === '' && parts[0] === '')
403
+ continue;
404
+ if (p === '.' || p === '') {
405
+ didSomething = true;
406
+ parts.splice(i, 1);
407
+ i--;
408
+ }
409
+ }
410
+ if (parts[0] === '.' &&
411
+ parts.length === 2 &&
412
+ (parts[1] === '.' || parts[1] === '')) {
413
+ didSomething = true;
414
+ parts.pop();
415
+ }
416
+ }
417
+ // <pre>/<p>/../<rest> -> <pre>/<rest>
418
+ let dd = 0;
419
+ while (-1 !== (dd = parts.indexOf('..', dd + 1))) {
420
+ const p = parts[dd - 1];
421
+ if (p && p !== '.' && p !== '..' && p !== '**') {
422
+ didSomething = true;
423
+ parts.splice(dd - 1, 2);
424
+ dd -= 2;
425
+ }
426
+ }
427
+ } while (didSomething);
428
+ return parts.length === 0 ? [''] : parts;
429
+ }
430
+ // First phase: single-pattern processing
431
+ // <pre> is 1 or more portions
432
+ // <rest> is 1 or more portions
433
+ // <p> is any portion other than ., .., '', or **
434
+ // <e> is . or ''
435
+ //
436
+ // **/.. is *brutal* for filesystem walking performance, because
437
+ // it effectively resets the recursive walk each time it occurs,
438
+ // and ** cannot be reduced out by a .. pattern part like a regexp
439
+ // or most strings (other than .., ., and '') can be.
440
+ //
441
+ // <pre>/**/../<p>/<p>/<rest> -> {<pre>/../<p>/<p>/<rest>,<pre>/**/<p>/<p>/<rest>}
442
+ // <pre>/<e>/<rest> -> <pre>/<rest>
443
+ // <pre>/<p>/../<rest> -> <pre>/<rest>
444
+ // **/**/<rest> -> **/<rest>
445
+ //
446
+ // **/*/<rest> -> */**/<rest> <== not valid because ** doesn't follow
447
+ // this WOULD be allowed if ** did follow symlinks, or * didn't
448
+ firstPhasePreProcess(globParts) {
449
+ let didSomething = false;
450
+ do {
451
+ didSomething = false;
452
+ // <pre>/**/../<p>/<p>/<rest> -> {<pre>/../<p>/<p>/<rest>,<pre>/**/<p>/<p>/<rest>}
453
+ for (let parts of globParts) {
454
+ let gs = -1;
455
+ while (-1 !== (gs = parts.indexOf('**', gs + 1))) {
456
+ let gss = gs;
457
+ while (parts[gss + 1] === '**') {
458
+ // <pre>/**/**/<rest> -> <pre>/**/<rest>
459
+ gss++;
460
+ }
461
+ // eg, if gs is 2 and gss is 4, that means we have 3 **
462
+ // parts, and can remove 2 of them.
463
+ if (gss > gs) {
464
+ parts.splice(gs + 1, gss - gs);
465
+ }
466
+ let next = parts[gs + 1];
467
+ const p = parts[gs + 2];
468
+ const p2 = parts[gs + 3];
469
+ if (next !== '..')
470
+ continue;
471
+ if (!p ||
472
+ p === '.' ||
473
+ p === '..' ||
474
+ !p2 ||
475
+ p2 === '.' ||
476
+ p2 === '..') {
477
+ continue;
478
+ }
479
+ didSomething = true;
480
+ // edit parts in place, and push the new one
481
+ parts.splice(gs, 1);
482
+ const other = parts.slice(0);
483
+ other[gs] = '**';
484
+ globParts.push(other);
485
+ gs--;
486
+ }
487
+ // <pre>/<e>/<rest> -> <pre>/<rest>
488
+ if (!this.preserveMultipleSlashes) {
489
+ for (let i = 1; i < parts.length - 1; i++) {
490
+ const p = parts[i];
491
+ // don't squeeze out UNC patterns
492
+ if (i === 1 && p === '' && parts[0] === '')
493
+ continue;
494
+ if (p === '.' || p === '') {
495
+ didSomething = true;
496
+ parts.splice(i, 1);
497
+ i--;
498
+ }
499
+ }
500
+ if (parts[0] === '.' &&
501
+ parts.length === 2 &&
502
+ (parts[1] === '.' || parts[1] === '')) {
503
+ didSomething = true;
504
+ parts.pop();
505
+ }
506
+ }
507
+ // <pre>/<p>/../<rest> -> <pre>/<rest>
508
+ let dd = 0;
509
+ while (-1 !== (dd = parts.indexOf('..', dd + 1))) {
510
+ const p = parts[dd - 1];
511
+ if (p && p !== '.' && p !== '..' && p !== '**') {
512
+ didSomething = true;
513
+ const needDot = dd === 1 && parts[dd + 1] === '**';
514
+ const splin = needDot ? ['.'] : [];
515
+ parts.splice(dd - 1, 2, ...splin);
516
+ if (parts.length === 0)
517
+ parts.push('');
518
+ dd -= 2;
519
+ }
520
+ }
521
+ }
522
+ } while (didSomething);
523
+ return globParts;
524
+ }
525
+ // second phase: multi-pattern dedupes
526
+ // {<pre>/*/<rest>,<pre>/<p>/<rest>} -> <pre>/*/<rest>
527
+ // {<pre>/<rest>,<pre>/<rest>} -> <pre>/<rest>
528
+ // {<pre>/**/<rest>,<pre>/<rest>} -> <pre>/**/<rest>
529
+ //
530
+ // {<pre>/**/<rest>,<pre>/**/<p>/<rest>} -> <pre>/**/<rest>
531
+ // ^-- not valid because ** doens't follow symlinks
532
+ secondPhasePreProcess(globParts) {
533
+ for (let i = 0; i < globParts.length - 1; i++) {
534
+ for (let j = i + 1; j < globParts.length; j++) {
535
+ const matched = this.partsMatch(globParts[i], globParts[j], !this.preserveMultipleSlashes);
536
+ if (matched) {
537
+ globParts[i] = [];
538
+ globParts[j] = matched;
539
+ break;
540
+ }
541
+ }
542
+ }
543
+ return globParts.filter(gs => gs.length);
544
+ }
545
+ partsMatch(a, b, emptyGSMatch = false) {
546
+ let ai = 0;
547
+ let bi = 0;
548
+ let result = [];
549
+ let which = '';
550
+ while (ai < a.length && bi < b.length) {
551
+ if (a[ai] === b[bi]) {
552
+ result.push(which === 'b' ? b[bi] : a[ai]);
553
+ ai++;
554
+ bi++;
555
+ }
556
+ else if (emptyGSMatch && a[ai] === '**' && b[bi] === a[ai + 1]) {
557
+ result.push(a[ai]);
558
+ ai++;
559
+ }
560
+ else if (emptyGSMatch && b[bi] === '**' && a[ai] === b[bi + 1]) {
561
+ result.push(b[bi]);
562
+ bi++;
563
+ }
564
+ else if (a[ai] === '*' &&
565
+ b[bi] &&
566
+ (this.options.dot || !b[bi].startsWith('.')) &&
567
+ b[bi] !== '**') {
568
+ if (which === 'b')
569
+ return false;
570
+ which = 'a';
571
+ result.push(a[ai]);
572
+ ai++;
573
+ bi++;
574
+ }
575
+ else if (b[bi] === '*' &&
576
+ a[ai] &&
577
+ (this.options.dot || !a[ai].startsWith('.')) &&
578
+ a[ai] !== '**') {
579
+ if (which === 'a')
580
+ return false;
581
+ which = 'b';
582
+ result.push(b[bi]);
583
+ ai++;
584
+ bi++;
585
+ }
586
+ else {
587
+ return false;
588
+ }
589
+ }
590
+ // if we fall out of the loop, it means they two are identical
591
+ // as long as their lengths match
592
+ return a.length === b.length && result;
593
+ }
594
+ parseNegate() {
595
+ if (this.nonegate)
596
+ return;
597
+ const pattern = this.pattern;
598
+ let negate = false;
599
+ let negateOffset = 0;
600
+ for (let i = 0; i < pattern.length && pattern.charAt(i) === '!'; i++) {
601
+ negate = !negate;
602
+ negateOffset++;
603
+ }
604
+ if (negateOffset)
605
+ this.pattern = pattern.slice(negateOffset);
606
+ this.negate = negate;
607
+ }
608
+ // set partial to true to test if, for example,
609
+ // "/a/b" matches the start of "/*/b/*/d"
610
+ // Partial means, if you run out of file before you run
611
+ // out of pattern, then that's fine, as long as all
612
+ // the parts match.
613
+ matchOne(file, pattern, partial = false) {
614
+ let fileStartIndex = 0;
615
+ let patternStartIndex = 0;
616
+ // UNC paths like //?/X:/... can match X:/... and vice versa
617
+ // Drive letters in absolute drive or unc paths are always compared
618
+ // case-insensitively.
619
+ if (this.isWindows) {
620
+ const fileDrive = typeof file[0] === 'string' && /^[a-z]:$/i.test(file[0]);
621
+ const fileUNC = !fileDrive &&
622
+ file[0] === '' &&
623
+ file[1] === '' &&
624
+ file[2] === '?' &&
625
+ /^[a-z]:$/i.test(file[3]);
626
+ const patternDrive = typeof pattern[0] === 'string' && /^[a-z]:$/i.test(pattern[0]);
627
+ const patternUNC = !patternDrive &&
628
+ pattern[0] === '' &&
629
+ pattern[1] === '' &&
630
+ pattern[2] === '?' &&
631
+ typeof pattern[3] === 'string' &&
632
+ /^[a-z]:$/i.test(pattern[3]);
633
+ const fdi = fileUNC ? 3 : fileDrive ? 0 : undefined;
634
+ const pdi = patternUNC ? 3 : patternDrive ? 0 : undefined;
635
+ if (typeof fdi === 'number' && typeof pdi === 'number') {
636
+ const [fd, pd] = [
637
+ file[fdi],
638
+ pattern[pdi],
639
+ ];
640
+ if (fd.toLowerCase() === pd.toLowerCase()) {
641
+ pattern[pdi] = fd;
642
+ patternStartIndex = pdi;
643
+ fileStartIndex = fdi;
644
+ }
645
+ }
646
+ }
647
+ // resolve and reduce . and .. portions in the file as well.
648
+ // dont' need to do the second phase, because it's only one string[]
649
+ const { optimizationLevel = 1 } = this.options;
650
+ if (optimizationLevel >= 2) {
651
+ file = this.levelTwoFileOptimize(file);
652
+ }
653
+ if (pattern.includes(exports.GLOBSTAR)) {
654
+ return this.#matchGlobstar(file, pattern, partial, fileStartIndex, patternStartIndex);
655
+ }
656
+ return this.#matchOne(file, pattern, partial, fileStartIndex, patternStartIndex);
657
+ }
658
+ #matchGlobstar(file, pattern, partial, fileIndex, patternIndex) {
659
+ const firstgs = pattern.indexOf(exports.GLOBSTAR, patternIndex);
660
+ const lastgs = pattern.lastIndexOf(exports.GLOBSTAR);
661
+ const [head, body, tail] = partial ? [
662
+ pattern.slice(patternIndex, firstgs),
663
+ pattern.slice(firstgs + 1),
664
+ [],
665
+ ] : [
666
+ pattern.slice(patternIndex, firstgs),
667
+ pattern.slice(firstgs + 1, lastgs),
668
+ pattern.slice(lastgs + 1),
669
+ ];
670
+ if (head.length) {
671
+ const fileHead = file.slice(fileIndex, fileIndex + head.length);
672
+ if (!this.#matchOne(fileHead, head, partial, 0, 0))
673
+ return false;
674
+ fileIndex += head.length;
675
+ }
676
+ let fileTailMatch = 0;
677
+ if (tail.length) {
678
+ if (tail.length + fileIndex > file.length)
679
+ return false;
680
+ let tailStart = file.length - tail.length;
681
+ if (this.#matchOne(file, tail, partial, tailStart, 0)) {
682
+ fileTailMatch = tail.length;
683
+ }
684
+ else {
685
+ if (file[file.length - 1] !== '' ||
686
+ fileIndex + tail.length === file.length) {
687
+ return false;
688
+ }
689
+ tailStart--;
690
+ if (!this.#matchOne(file, tail, partial, tailStart, 0))
691
+ return false;
692
+ fileTailMatch = tail.length + 1;
693
+ }
694
+ }
695
+ if (!body.length) {
696
+ let sawSome = !!fileTailMatch;
697
+ for (let i = fileIndex; i < file.length - fileTailMatch; i++) {
698
+ const f = String(file[i]);
699
+ sawSome = true;
700
+ if (f === '.' || f === '..' ||
701
+ (!this.options.dot && f.startsWith('.'))) {
702
+ return false;
703
+ }
704
+ }
705
+ return partial || sawSome;
706
+ }
707
+ const bodySegments = [[[], 0]];
708
+ let currentBody = bodySegments[0];
709
+ let nonGsParts = 0;
710
+ const nonGsPartsSums = [0];
711
+ for (const b of body) {
712
+ if (b === exports.GLOBSTAR) {
713
+ nonGsPartsSums.push(nonGsParts);
714
+ currentBody = [[], 0];
715
+ bodySegments.push(currentBody);
716
+ }
717
+ else {
718
+ currentBody[0].push(b);
719
+ nonGsParts++;
720
+ }
721
+ }
722
+ let i = bodySegments.length - 1;
723
+ const fileLength = file.length - fileTailMatch;
724
+ for (const b of bodySegments) {
725
+ b[1] = fileLength - (nonGsPartsSums[i--] + b[0].length);
726
+ }
727
+ return !!this.#matchGlobStarBodySections(file, bodySegments, fileIndex, 0, partial, 0, !!fileTailMatch);
728
+ }
729
+ #matchGlobStarBodySections(file, bodySegments, fileIndex, bodyIndex, partial, globStarDepth, sawTail) {
730
+ const bs = bodySegments[bodyIndex];
731
+ if (!bs) {
732
+ for (let i = fileIndex; i < file.length; i++) {
733
+ sawTail = true;
734
+ const f = file[i];
735
+ if (f === '.' || f === '..' ||
736
+ (!this.options.dot && f.startsWith('.'))) {
737
+ return false;
738
+ }
739
+ }
740
+ return sawTail;
741
+ }
742
+ const [body, after] = bs;
743
+ while (fileIndex <= after) {
744
+ const m = this.#matchOne(file.slice(0, fileIndex + body.length), body, partial, fileIndex, 0);
745
+ if (m && globStarDepth < this.maxGlobstarRecursion) {
746
+ const sub = this.#matchGlobStarBodySections(file, bodySegments, fileIndex + body.length, bodyIndex + 1, partial, globStarDepth + 1, sawTail);
747
+ if (sub !== false)
748
+ return sub;
749
+ }
750
+ const f = file[fileIndex];
751
+ if (f === '.' || f === '..' ||
752
+ (!this.options.dot && f.startsWith('.'))) {
753
+ return false;
754
+ }
755
+ fileIndex++;
756
+ }
757
+ return partial || null;
758
+ }
759
+ #matchOne(file, pattern, partial, fileIndex, patternIndex) {
760
+ let fi;
761
+ let pi;
762
+ let pl;
763
+ let fl;
764
+ for (fi = fileIndex, pi = patternIndex,
765
+ fl = file.length, pl = pattern.length; fi < fl && pi < pl; fi++, pi++) {
766
+ this.debug('matchOne loop');
767
+ let p = pattern[pi];
768
+ let f = file[fi];
769
+ this.debug(pattern, p, f);
770
+ /* c8 ignore start */
771
+ if (p === false || p === exports.GLOBSTAR)
772
+ return false;
773
+ /* c8 ignore stop */
774
+ let hit;
775
+ if (typeof p === 'string') {
776
+ hit = f === p;
777
+ this.debug('string match', p, f, hit);
778
+ }
779
+ else {
780
+ hit = p.test(f);
781
+ this.debug('pattern match', p, f, hit);
782
+ }
783
+ if (!hit)
784
+ return false;
785
+ }
786
+ if (fi === fl && pi === pl) {
787
+ return true;
788
+ }
789
+ else if (fi === fl) {
790
+ return partial;
791
+ }
792
+ else if (pi === pl) {
793
+ return fi === fl - 1 && file[fi] === '';
794
+ /* c8 ignore start */
795
+ }
796
+ else {
797
+ throw new Error('wtf?');
798
+ }
799
+ /* c8 ignore stop */
800
+ }
801
+ braceExpand() {
802
+ return (0, exports.braceExpand)(this.pattern, this.options);
803
+ }
804
+ parse(pattern) {
805
+ (0, assert_valid_pattern_js_1.assertValidPattern)(pattern);
806
+ const options = this.options;
807
+ // shortcuts
808
+ if (pattern === '**')
809
+ return exports.GLOBSTAR;
810
+ if (pattern === '')
811
+ return '';
812
+ // far and away, the most common glob pattern parts are
813
+ // *, *.*, and *.<ext> Add a fast check method for those.
814
+ let m;
815
+ let fastTest = null;
816
+ if ((m = pattern.match(starRE))) {
817
+ fastTest = options.dot ? starTestDot : starTest;
818
+ }
819
+ else if ((m = pattern.match(starDotExtRE))) {
820
+ fastTest = (options.nocase
821
+ ? options.dot
822
+ ? starDotExtTestNocaseDot
823
+ : starDotExtTestNocase
824
+ : options.dot
825
+ ? starDotExtTestDot
826
+ : starDotExtTest)(m[1]);
827
+ }
828
+ else if ((m = pattern.match(qmarksRE))) {
829
+ fastTest = (options.nocase
830
+ ? options.dot
831
+ ? qmarksTestNocaseDot
832
+ : qmarksTestNocase
833
+ : options.dot
834
+ ? qmarksTestDot
835
+ : qmarksTest)(m);
836
+ }
837
+ else if ((m = pattern.match(starDotStarRE))) {
838
+ fastTest = options.dot ? starDotStarTestDot : starDotStarTest;
839
+ }
840
+ else if ((m = pattern.match(dotStarRE))) {
841
+ fastTest = dotStarTest;
842
+ }
843
+ const re = ast_js_1.AST.fromGlob(pattern, this.options).toMMPattern();
844
+ if (fastTest && typeof re === 'object') {
845
+ // Avoids overriding in frozen environments
846
+ Reflect.defineProperty(re, 'test', { value: fastTest });
847
+ }
848
+ return re;
849
+ }
850
+ makeRe() {
851
+ if (this.regexp || this.regexp === false)
852
+ return this.regexp;
853
+ // at this point, this.set is a 2d array of partial
854
+ // pattern strings, or "**".
855
+ //
856
+ // It's better to use .match(). This function shouldn't
857
+ // be used, really, but it's pretty convenient sometimes,
858
+ // when you just want to work with a regex.
859
+ const set = this.set;
860
+ if (!set.length) {
861
+ this.regexp = false;
862
+ return this.regexp;
863
+ }
864
+ const options = this.options;
865
+ const twoStar = options.noglobstar
866
+ ? star
867
+ : options.dot
868
+ ? twoStarDot
869
+ : twoStarNoDot;
870
+ const flags = new Set(options.nocase ? ['i'] : []);
871
+ // regexpify non-globstar patterns
872
+ // if ** is only item, then we just do one twoStar
873
+ // if ** is first, and there are more, prepend (\/|twoStar\/)? to next
874
+ // if ** is last, append (\/twoStar|) to previous
875
+ // if ** is in the middle, append (\/|\/twoStar\/) to previous
876
+ // then filter out GLOBSTAR symbols
877
+ let re = set
878
+ .map(pattern => {
879
+ const pp = pattern.map(p => {
880
+ if (p instanceof RegExp) {
881
+ for (const f of p.flags.split(''))
882
+ flags.add(f);
883
+ }
884
+ return typeof p === 'string'
885
+ ? regExpEscape(p)
886
+ : p === exports.GLOBSTAR
887
+ ? exports.GLOBSTAR
888
+ : p._src;
889
+ });
890
+ pp.forEach((p, i) => {
891
+ const next = pp[i + 1];
892
+ const prev = pp[i - 1];
893
+ if (p !== exports.GLOBSTAR || prev === exports.GLOBSTAR) {
894
+ return;
895
+ }
896
+ if (prev === undefined) {
897
+ if (next !== undefined && next !== exports.GLOBSTAR) {
898
+ pp[i + 1] = '(?:\\/|' + twoStar + '\\/)?' + next;
899
+ }
900
+ else {
901
+ pp[i] = twoStar;
902
+ }
903
+ }
904
+ else if (next === undefined) {
905
+ pp[i - 1] = prev + '(?:\\/|' + twoStar + ')?';
906
+ }
907
+ else if (next !== exports.GLOBSTAR) {
908
+ pp[i - 1] = prev + '(?:\\/|\\/' + twoStar + '\\/)' + next;
909
+ pp[i + 1] = exports.GLOBSTAR;
910
+ }
911
+ });
912
+ return pp.filter(p => p !== exports.GLOBSTAR).join('/');
913
+ })
914
+ .join('|');
915
+ // need to wrap in parens if we had more than one thing with |,
916
+ // otherwise only the first will be anchored to ^ and the last to $
917
+ const [open, close] = set.length > 1 ? ['(?:', ')'] : ['', ''];
918
+ // must match entire pattern
919
+ // ending in a * or ** will make it less strict.
920
+ re = '^' + open + re + close + '$';
921
+ // can match anything, as long as it's not this.
922
+ if (this.negate)
923
+ re = '^(?!' + re + ').+$';
924
+ try {
925
+ this.regexp = new RegExp(re, [...flags].join(''));
926
+ /* c8 ignore start */
927
+ }
928
+ catch (ex) {
929
+ // should be impossible
930
+ this.regexp = false;
931
+ }
932
+ /* c8 ignore stop */
933
+ return this.regexp;
934
+ }
935
+ slashSplit(p) {
936
+ // if p starts with // on windows, we preserve that
937
+ // so that UNC paths aren't broken. Otherwise, any number of
938
+ // / characters are coalesced into one, unless
939
+ // preserveMultipleSlashes is set to true.
940
+ if (this.preserveMultipleSlashes) {
941
+ return p.split('/');
942
+ }
943
+ else if (this.isWindows && /^\/\/[^\/]+/.test(p)) {
944
+ // add an extra '' for the one we lose
945
+ return ['', ...p.split(/\/+/)];
946
+ }
947
+ else {
948
+ return p.split(/\/+/);
949
+ }
950
+ }
951
+ match(f, partial = this.partial) {
952
+ this.debug('match', f, this.pattern);
953
+ // short-circuit in the case of busted things.
954
+ // comments, etc.
955
+ if (this.comment) {
956
+ return false;
957
+ }
958
+ if (this.empty) {
959
+ return f === '';
960
+ }
961
+ if (f === '/' && partial) {
962
+ return true;
963
+ }
964
+ const options = this.options;
965
+ // windows: need to use /, not \
966
+ if (this.isWindows) {
967
+ f = f.split('\\').join('/');
968
+ }
969
+ // treat the test path as a set of pathparts.
970
+ const ff = this.slashSplit(f);
971
+ this.debug(this.pattern, 'split', ff);
972
+ // just ONE of the pattern sets in this.set needs to match
973
+ // in order for it to be valid. If negating, then just one
974
+ // match means that we have failed.
975
+ // Either way, return on the first hit.
976
+ const set = this.set;
977
+ this.debug(this.pattern, 'set', set);
978
+ // Find the basename of the path by looking for the last non-empty segment
979
+ let filename = ff[ff.length - 1];
980
+ if (!filename) {
981
+ for (let i = ff.length - 2; !filename && i >= 0; i--) {
982
+ filename = ff[i];
983
+ }
984
+ }
985
+ for (let i = 0; i < set.length; i++) {
986
+ const pattern = set[i];
987
+ let file = ff;
988
+ if (options.matchBase && pattern.length === 1) {
989
+ file = [filename];
990
+ }
991
+ const hit = this.matchOne(file, pattern, partial);
992
+ if (hit) {
993
+ if (options.flipNegate) {
994
+ return true;
995
+ }
996
+ return !this.negate;
997
+ }
998
+ }
999
+ // didn't get any hits. this is success if it's a negative
1000
+ // pattern, failure otherwise.
1001
+ if (options.flipNegate) {
1002
+ return false;
1003
+ }
1004
+ return this.negate;
1005
+ }
1006
+ static defaults(def) {
1007
+ return exports.minimatch.defaults(def).Minimatch;
1008
+ }
1009
+ }
1010
+ exports.Minimatch = Minimatch;
1011
+ /* c8 ignore start */
1012
+ var ast_js_2 = require("./ast.js");
1013
+ Object.defineProperty(exports, "AST", { enumerable: true, get: function () { return ast_js_2.AST; } });
1014
+ var escape_js_2 = require("./escape.js");
1015
+ Object.defineProperty(exports, "escape", { enumerable: true, get: function () { return escape_js_2.escape; } });
1016
+ var unescape_js_2 = require("./unescape.js");
1017
+ Object.defineProperty(exports, "unescape", { enumerable: true, get: function () { return unescape_js_2.unescape; } });
1018
+ /* c8 ignore stop */
1019
+ exports.minimatch.AST = ast_js_1.AST;
1020
+ exports.minimatch.Minimatch = Minimatch;
1021
+ exports.minimatch.escape = escape_js_1.escape;
1022
+ exports.minimatch.unescape = unescape_js_1.unescape;
1023
+ //# sourceMappingURL=index.js.map