@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.
- package/.output/nitro.json +15 -0
- package/.output/public/_nuxt/CM9bCtzQ.js +1 -0
- package/.output/public/_nuxt/CQBXt-Xj.js +4 -0
- package/.output/public/_nuxt/DGzMDps5.js +1 -0
- package/.output/public/_nuxt/DKdpYrB7.js +1 -0
- package/.output/public/_nuxt/DoO7LZEh.js +1 -0
- package/.output/public/_nuxt/NcMxVlo_.js +1 -0
- package/.output/public/_nuxt/_LypH0D7.js +1 -0
- package/.output/public/_nuxt/_mode_.XsuGEG0A.css +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -0
- package/.output/public/_nuxt/builds/meta/a8a06f55-e1a4-4d58-a8ac-5c8f3e91d730.json +1 -0
- package/.output/public/_nuxt/error-404.DL_4WIao.css +1 -0
- package/.output/public/_nuxt/error-500.I1Dtv2V5.css +1 -0
- package/.output/public/_nuxt/pages.Df3hoeGN.css +1 -0
- package/.output/public/audio/cyber_future_tech.mp3 +0 -0
- package/.output/public/audio/dark_phonk_pulse.mp3 +0 -0
- package/.output/public/audio/deep_finance_groove.mp3 +0 -0
- package/.output/public/audio/lofi_viral_study.mp3 +0 -0
- package/.output/public/audio/motivation_cinematic.mp3 +0 -0
- package/.output/public/videos/cyber_blue.mp4 +0 -0
- package/.output/public/videos/cyber_matrix_stream.mp4 +0 -0
- package/.output/public/videos/cyber_pulse.mp4 +0 -0
- package/.output/public/videos/dark_luxury_particles.mp4 +0 -0
- package/.output/public/videos/default_bg.mp4 +0 -0
- package/.output/public/videos/emerald_flow.mp4 +0 -0
- package/.output/public/videos/financial_pulse_flow.mp4 +0 -0
- package/.output/public/videos/neon_cyber_grid.mp4 +0 -0
- package/.output/server/chunks/_/error-500.mjs +19 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -0
- package/.output/server/chunks/_/nitro.mjs +5712 -0
- package/.output/server/chunks/_/nitro.mjs.map +1 -0
- package/.output/server/chunks/_/storage.mjs +44 -0
- package/.output/server/chunks/_/storage.mjs.map +1 -0
- package/.output/server/chunks/_/topicMatrix.mjs +147 -0
- package/.output/server/chunks/_/topicMatrix.mjs.map +1 -0
- package/.output/server/chunks/build/TableCard-Cvso4Mm4.mjs +399 -0
- package/.output/server/chunks/build/TableCard-Cvso4Mm4.mjs.map +1 -0
- package/.output/server/chunks/build/_mode_-MljTmkD8.mjs +65 -0
- package/.output/server/chunks/build/_mode_-MljTmkD8.mjs.map +1 -0
- package/.output/server/chunks/build/_mode_-styles.CcOMAYS9.mjs +8 -0
- package/.output/server/chunks/build/_mode_-styles.CcOMAYS9.mjs.map +1 -0
- package/.output/server/chunks/build/client.precomputed.mjs +4 -0
- package/.output/server/chunks/build/client.precomputed.mjs.map +1 -0
- package/.output/server/chunks/build/entry-styles.BUuHzwjd.mjs +8 -0
- package/.output/server/chunks/build/entry-styles.BUuHzwjd.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-D7pndyXD.mjs +403 -0
- package/.output/server/chunks/build/error-404-D7pndyXD.mjs.map +1 -0
- package/.output/server/chunks/build/error-404-styles.ir-5M2eu.mjs +8 -0
- package/.output/server/chunks/build/error-404-styles.ir-5M2eu.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-D0twnCBi.mjs +76 -0
- package/.output/server/chunks/build/error-500-D0twnCBi.mjs.map +1 -0
- package/.output/server/chunks/build/error-500-styles.DiQTnuqt.mjs +8 -0
- package/.output/server/chunks/build/error-500-styles.DiQTnuqt.mjs.map +1 -0
- package/.output/server/chunks/build/index-styles.CQioNwpv.mjs +8 -0
- package/.output/server/chunks/build/index-styles.CQioNwpv.mjs.map +1 -0
- package/.output/server/chunks/build/pages-BIiRN2UV.mjs +599 -0
- package/.output/server/chunks/build/pages-BIiRN2UV.mjs.map +1 -0
- package/.output/server/chunks/build/server.mjs +1115 -0
- package/.output/server/chunks/build/server.mjs.map +1 -0
- package/.output/server/chunks/build/styles.mjs +11 -0
- package/.output/server/chunks/build/styles.mjs.map +1 -0
- package/.output/server/chunks/build/v3-CmUYmHkx.mjs +22 -0
- package/.output/server/chunks/build/v3-CmUYmHkx.mjs.map +1 -0
- package/.output/server/chunks/routes/api/auto-topic.post.mjs +263 -0
- package/.output/server/chunks/routes/api/auto-topic.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/copy-prompt.get.mjs +125 -0
- package/.output/server/chunks/routes/api/copy-prompt.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/download.get.mjs +35 -0
- package/.output/server/chunks/routes/api/download.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/files/_...path_.get.mjs +36 -0
- package/.output/server/chunks/routes/api/files/_...path_.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/generate.post.mjs +441 -0
- package/.output/server/chunks/routes/api/generate.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/media.get.mjs +48 -0
- package/.output/server/chunks/routes/api/media.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/open-folder.post.mjs +29 -0
- package/.output/server/chunks/routes/api/open-folder.post.mjs.map +1 -0
- package/.output/server/chunks/routes/api/render-data.get.mjs +34 -0
- package/.output/server/chunks/routes/api/render-data.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/status.get.mjs +26 -0
- package/.output/server/chunks/routes/api/status.get.mjs.map +1 -0
- package/.output/server/chunks/routes/api/upload-media.post.mjs +75 -0
- package/.output/server/chunks/routes/api/upload-media.post.mjs.map +1 -0
- package/.output/server/chunks/routes/renderer.mjs +462 -0
- package/.output/server/chunks/routes/renderer.mjs.map +1 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs +4 -0
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -0
- package/.output/server/index.mjs +39 -0
- package/.output/server/index.mjs.map +1 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/decode-codepoint.js +72 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/decode.js +497 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/escape.js +117 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/dist/esm/package.json +3 -0
- package/.output/server/node_modules/.nitro/entities@6.0.1/package.json +118 -0
- package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/decode-codepoint.js +77 -0
- package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/decode.js +568 -0
- package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/.nitro/entities@7.0.1/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/.nitro/entities@7.0.1/package.json +120 -0
- package/.output/server/node_modules/.nitro/minimatch@5.1.9/lib/path.js +4 -0
- package/.output/server/node_modules/.nitro/minimatch@5.1.9/minimatch.js +996 -0
- package/.output/server/node_modules/.nitro/minimatch@5.1.9/package.json +35 -0
- package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/assert-valid-pattern.js +14 -0
- package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/ast.js +747 -0
- package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/brace-expressions.js +152 -0
- package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/escape.js +22 -0
- package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/index.js +1023 -0
- package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/.nitro/minimatch@9.0.9/dist/commonjs/unescape.js +24 -0
- package/.output/server/node_modules/.nitro/minimatch@9.0.9/package.json +82 -0
- package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_duplex.js +131 -0
- package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_passthrough.js +47 -0
- package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_readable.js +1019 -0
- package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_transform.js +214 -0
- package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/_stream_writable.js +685 -0
- package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/internal/streams/BufferList.js +78 -0
- package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/internal/streams/destroy.js +84 -0
- package/.output/server/node_modules/.nitro/readable-stream@2.3.8/lib/internal/streams/stream.js +1 -0
- package/.output/server/node_modules/.nitro/readable-stream@2.3.8/package.json +52 -0
- package/.output/server/node_modules/.nitro/readable-stream@2.3.8/passthrough.js +1 -0
- package/.output/server/node_modules/.nitro/readable-stream@2.3.8/readable.js +19 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/shims/process.js +19 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/add-abort-signal.js +52 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/buffer_list.js +157 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/compose.js +194 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/destroy.js +290 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/duplex.js +143 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/duplexify.js +378 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/end-of-stream.js +286 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/from.js +98 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/legacy.js +94 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/operators.js +457 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/passthrough.js +39 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/pipeline.js +471 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/readable.js +1290 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/state.js +39 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/transform.js +180 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/utils.js +327 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/streams/writable.js +819 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/internal/validators.js +530 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/errors.js +343 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/index.js +65 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/primordials.js +124 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/util/inspect.js +55 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/ours/util.js +148 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/stream/promises.js +43 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/lib/stream.js +143 -0
- package/.output/server/node_modules/.nitro/readable-stream@4.8.0/package.json +89 -0
- package/.output/server/node_modules/.nitro/safe-buffer@5.1.2/index.js +62 -0
- package/.output/server/node_modules/.nitro/safe-buffer@5.1.2/package.json +37 -0
- package/.output/server/node_modules/.nitro/safe-buffer@5.2.1/index.js +65 -0
- package/.output/server/node_modules/.nitro/safe-buffer@5.2.1/package.json +51 -0
- package/.output/server/node_modules/.nitro/string_decoder@1.1.1/lib/string_decoder.js +296 -0
- package/.output/server/node_modules/.nitro/string_decoder@1.1.1/package.json +31 -0
- package/.output/server/node_modules/.nitro/string_decoder@1.3.0/lib/string_decoder.js +296 -0
- package/.output/server/node_modules/.nitro/string_decoder@1.3.0/package.json +34 -0
- package/.output/server/node_modules/@babel/parser/lib/index.js +14990 -0
- package/.output/server/node_modules/@babel/parser/package.json +50 -0
- package/.output/server/node_modules/@google/genai/dist/node/index.mjs +32052 -0
- package/.output/server/node_modules/@google/genai/package.json +175 -0
- package/.output/server/node_modules/@vue/compiler-core/dist/compiler-core.cjs.prod.js +6806 -0
- package/.output/server/node_modules/@vue/compiler-core/package.json +58 -0
- package/.output/server/node_modules/@vue/compiler-dom/dist/compiler-dom.cjs.prod.js +729 -0
- package/.output/server/node_modules/@vue/compiler-dom/package.json +57 -0
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +1460 -0
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +34 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/api.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/app.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/component.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/context.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/hooks.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/index.js +22 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/api/util.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/const.js +5 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/env.js +17 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/index.js +45 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/plugin.js +2 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/proxy.js +111 -0
- package/.output/server/node_modules/@vue/devtools-api/lib/cjs/time.js +28 -0
- package/.output/server/node_modules/@vue/devtools-api/package.json +37 -0
- package/.output/server/node_modules/@vue/reactivity/dist/reactivity.cjs.prod.js +1937 -0
- package/.output/server/node_modules/@vue/reactivity/package.json +55 -0
- package/.output/server/node_modules/@vue/runtime-core/dist/runtime-core.cjs.prod.js +7260 -0
- package/.output/server/node_modules/@vue/runtime-core/package.json +52 -0
- package/.output/server/node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js +1932 -0
- package/.output/server/node_modules/@vue/runtime-dom/package.json +60 -0
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +951 -0
- package/.output/server/node_modules/@vue/server-renderer/package.json +53 -0
- package/.output/server/node_modules/@vue/shared/dist/shared.cjs.prod.js +657 -0
- package/.output/server/node_modules/@vue/shared/package.json +47 -0
- package/.output/server/node_modules/abort-controller/dist/abort-controller.js +127 -0
- package/.output/server/node_modules/abort-controller/package.json +97 -0
- package/.output/server/node_modules/agent-base/dist/helpers.js +66 -0
- package/.output/server/node_modules/agent-base/dist/index.js +178 -0
- package/.output/server/node_modules/agent-base/package.json +46 -0
- package/.output/server/node_modules/archiver/index.js +84 -0
- package/.output/server/node_modules/archiver/lib/core.js +974 -0
- package/.output/server/node_modules/archiver/lib/error.js +40 -0
- package/.output/server/node_modules/archiver/lib/plugins/json.js +110 -0
- package/.output/server/node_modules/archiver/lib/plugins/tar.js +167 -0
- package/.output/server/node_modules/archiver/lib/plugins/zip.js +120 -0
- package/.output/server/node_modules/archiver/package.json +60 -0
- package/.output/server/node_modules/archiver-utils/file.js +209 -0
- package/.output/server/node_modules/archiver-utils/index.js +155 -0
- package/.output/server/node_modules/archiver-utils/package.json +48 -0
- package/.output/server/node_modules/async/dist/async.js +6061 -0
- package/.output/server/node_modules/async/package.json +75 -0
- package/.output/server/node_modules/b4a/index.js +193 -0
- package/.output/server/node_modules/b4a/package.json +54 -0
- package/.output/server/node_modules/balanced-match/index.js +62 -0
- package/.output/server/node_modules/balanced-match/package.json +48 -0
- package/.output/server/node_modules/base64-js/index.js +150 -0
- package/.output/server/node_modules/base64-js/package.json +47 -0
- package/.output/server/node_modules/bignumber.js/bignumber.js +2922 -0
- package/.output/server/node_modules/bignumber.js/package.json +60 -0
- package/.output/server/node_modules/brace-expansion/index.js +633 -0
- package/.output/server/node_modules/brace-expansion/package.json +52 -0
- package/.output/server/node_modules/buffer-crc32/dist/index.cjs +306 -0
- package/.output/server/node_modules/buffer-crc32/package.json +54 -0
- package/.output/server/node_modules/buffer-equal-constant-time/index.js +41 -0
- package/.output/server/node_modules/buffer-equal-constant-time/package.json +21 -0
- package/.output/server/node_modules/compress-commons/lib/archivers/archive-entry.js +16 -0
- package/.output/server/node_modules/compress-commons/lib/archivers/archive-output-stream.js +118 -0
- package/.output/server/node_modules/compress-commons/lib/archivers/zip/constants.js +71 -0
- package/.output/server/node_modules/compress-commons/lib/archivers/zip/general-purpose-bit.js +101 -0
- package/.output/server/node_modules/compress-commons/lib/archivers/zip/unix-stat.js +53 -0
- package/.output/server/node_modules/compress-commons/lib/archivers/zip/util.js +74 -0
- package/.output/server/node_modules/compress-commons/lib/archivers/zip/zip-archive-entry.js +413 -0
- package/.output/server/node_modules/compress-commons/lib/archivers/zip/zip-archive-output-stream.js +437 -0
- package/.output/server/node_modules/compress-commons/lib/compress-commons.js +13 -0
- package/.output/server/node_modules/compress-commons/lib/util/index.js +27 -0
- package/.output/server/node_modules/compress-commons/package.json +46 -0
- package/.output/server/node_modules/core-util-is/lib/util.js +107 -0
- package/.output/server/node_modules/core-util-is/package.json +38 -0
- package/.output/server/node_modules/crc-32/crc32.js +115 -0
- package/.output/server/node_modules/crc-32/package.json +67 -0
- package/.output/server/node_modules/crc32-stream/lib/crc32-stream.js +48 -0
- package/.output/server/node_modules/crc32-stream/lib/deflate-crc32-stream.js +62 -0
- package/.output/server/node_modules/crc32-stream/lib/index.js +14 -0
- package/.output/server/node_modules/crc32-stream/package.json +45 -0
- package/.output/server/node_modules/data-uri-to-buffer/dist/index.js +53 -0
- package/.output/server/node_modules/data-uri-to-buffer/package.json +62 -0
- package/.output/server/node_modules/debug/package.json +64 -0
- package/.output/server/node_modules/debug/src/browser.js +272 -0
- package/.output/server/node_modules/debug/src/common.js +292 -0
- package/.output/server/node_modules/debug/src/index.js +10 -0
- package/.output/server/node_modules/debug/src/node.js +263 -0
- package/.output/server/node_modules/devalue/index.js +17 -0
- package/.output/server/node_modules/devalue/package.json +39 -0
- package/.output/server/node_modules/devalue/src/base64.js +60 -0
- package/.output/server/node_modules/devalue/src/constants.js +12 -0
- package/.output/server/node_modules/devalue/src/operations.js +221 -0
- package/.output/server/node_modules/devalue/src/parse.js +279 -0
- package/.output/server/node_modules/devalue/src/stringify.js +433 -0
- package/.output/server/node_modules/devalue/src/uneval.js +698 -0
- package/.output/server/node_modules/devalue/src/utils.js +190 -0
- package/.output/server/node_modules/ecdsa-sig-formatter/package.json +46 -0
- package/.output/server/node_modules/ecdsa-sig-formatter/src/ecdsa-sig-formatter.js +187 -0
- package/.output/server/node_modules/ecdsa-sig-formatter/src/param-bytes-for-alg.js +23 -0
- package/.output/server/node_modules/estree-walker/dist/umd/estree-walker.js +344 -0
- package/.output/server/node_modules/estree-walker/package.json +37 -0
- package/.output/server/node_modules/event-target-shim/dist/event-target-shim.js +871 -0
- package/.output/server/node_modules/event-target-shim/package.json +82 -0
- package/.output/server/node_modules/events-universal/default.js +1 -0
- package/.output/server/node_modules/events-universal/package.json +39 -0
- package/.output/server/node_modules/extend/index.js +117 -0
- package/.output/server/node_modules/extend/package.json +42 -0
- package/.output/server/node_modules/fast-fifo/fixed-size.js +39 -0
- package/.output/server/node_modules/fast-fifo/index.js +48 -0
- package/.output/server/node_modules/fast-fifo/package.json +28 -0
- package/.output/server/node_modules/fetch-blob/file.js +49 -0
- package/.output/server/node_modules/fetch-blob/from.js +100 -0
- package/.output/server/node_modules/fetch-blob/index.js +250 -0
- package/.output/server/node_modules/fetch-blob/package.json +56 -0
- package/.output/server/node_modules/fetch-blob/streams.cjs +51 -0
- package/.output/server/node_modules/formdata-polyfill/esm.min.js +40 -0
- package/.output/server/node_modules/formdata-polyfill/package.json +50 -0
- package/.output/server/node_modules/gaxios/build/cjs/src/common.js +311 -0
- package/.output/server/node_modules/gaxios/build/cjs/src/gaxios.js +564 -0
- package/.output/server/node_modules/gaxios/build/cjs/src/index.js +48 -0
- package/.output/server/node_modules/gaxios/build/cjs/src/interceptor.js +22 -0
- package/.output/server/node_modules/gaxios/build/cjs/src/retry.js +165 -0
- package/.output/server/node_modules/gaxios/build/cjs/src/util.cjs +16 -0
- package/.output/server/node_modules/gaxios/package.json +105 -0
- package/.output/server/node_modules/gcp-metadata/build/src/gcp-residency.js +114 -0
- package/.output/server/node_modules/gcp-metadata/build/src/index.js +402 -0
- package/.output/server/node_modules/gcp-metadata/package.json +77 -0
- package/.output/server/node_modules/glob/dist/commonjs/glob.js +247 -0
- package/.output/server/node_modules/glob/dist/commonjs/has-magic.js +27 -0
- package/.output/server/node_modules/glob/dist/commonjs/ignore.js +119 -0
- package/.output/server/node_modules/glob/dist/commonjs/index.js +68 -0
- package/.output/server/node_modules/glob/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/glob/dist/commonjs/pattern.js +219 -0
- package/.output/server/node_modules/glob/dist/commonjs/processor.js +301 -0
- package/.output/server/node_modules/glob/dist/commonjs/walker.js +387 -0
- package/.output/server/node_modules/glob/package.json +99 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/authclient.js +286 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/awsclient.js +154 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/awsrequestsigner.js +213 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/baseexternalclient.js +477 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/certificatesubjecttokensupplier.js +223 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/computeclient.js +118 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/defaultawssecuritycredentialssupplier.js +199 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/downscopedclient.js +273 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/envDetect.js +97 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/executable-response.js +178 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/externalAccountAuthorizedUserClient.js +233 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/externalclient.js +68 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/filesubjecttokensupplier.js +84 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/gdchclient.js +307 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/googleauth.js +921 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/iam.js +44 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/identitypoolclient.js +131 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/idtokenclient.js +56 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/impersonated.js +197 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/jwtaccess.js +201 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/jwtclient.js +301 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/loginticket.js +60 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/oauth2client.js +820 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/oauth2common.js +189 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/passthrough.js +60 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js +220 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.js +174 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/refreshclient.js +160 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/stscredentials.js +107 -0
- package/.output/server/node_modules/google-auth-library/build/src/auth/urlsubjecttokensupplier.js +71 -0
- package/.output/server/node_modules/google-auth-library/build/src/crypto/browser/crypto.js +127 -0
- package/.output/server/node_modules/google-auth-library/build/src/crypto/crypto.js +54 -0
- package/.output/server/node_modules/google-auth-library/build/src/crypto/node/crypto.js +88 -0
- package/.output/server/node_modules/google-auth-library/build/src/crypto/shared.js +32 -0
- package/.output/server/node_modules/google-auth-library/build/src/gtoken/errorWithCode.js +25 -0
- package/.output/server/node_modules/google-auth-library/build/src/gtoken/getCredentials.js +132 -0
- package/.output/server/node_modules/google-auth-library/build/src/gtoken/getToken.js +66 -0
- package/.output/server/node_modules/google-auth-library/build/src/gtoken/googleToken.js +125 -0
- package/.output/server/node_modules/google-auth-library/build/src/gtoken/jwsSign.js +54 -0
- package/.output/server/node_modules/google-auth-library/build/src/gtoken/revokeToken.js +34 -0
- package/.output/server/node_modules/google-auth-library/build/src/gtoken/tokenHandler.js +97 -0
- package/.output/server/node_modules/google-auth-library/build/src/index.js +88 -0
- package/.output/server/node_modules/google-auth-library/build/src/shared.cjs +22 -0
- package/.output/server/node_modules/google-auth-library/build/src/util.js +176 -0
- package/.output/server/node_modules/google-auth-library/package.json +90 -0
- package/.output/server/node_modules/google-logging-utils/build/src/colours.js +81 -0
- package/.output/server/node_modules/google-logging-utils/build/src/index.js +31 -0
- package/.output/server/node_modules/google-logging-utils/build/src/logging-utils.js +437 -0
- package/.output/server/node_modules/google-logging-utils/package.json +45 -0
- package/.output/server/node_modules/graceful-fs/clone.js +23 -0
- package/.output/server/node_modules/graceful-fs/graceful-fs.js +448 -0
- package/.output/server/node_modules/graceful-fs/legacy-streams.js +118 -0
- package/.output/server/node_modules/graceful-fs/package.json +52 -0
- package/.output/server/node_modules/graceful-fs/polyfills.js +355 -0
- package/.output/server/node_modules/has-flag/index.js +8 -0
- package/.output/server/node_modules/has-flag/package.json +46 -0
- package/.output/server/node_modules/hookable/dist/index.mjs +257 -0
- package/.output/server/node_modules/hookable/package.json +54 -0
- package/.output/server/node_modules/https-proxy-agent/dist/index.js +180 -0
- package/.output/server/node_modules/https-proxy-agent/dist/parse-proxy-response.js +101 -0
- package/.output/server/node_modules/https-proxy-agent/package.json +50 -0
- package/.output/server/node_modules/inherits/inherits.js +9 -0
- package/.output/server/node_modules/inherits/inherits_browser.js +27 -0
- package/.output/server/node_modules/inherits/package.json +29 -0
- package/.output/server/node_modules/is-stream/index.js +28 -0
- package/.output/server/node_modules/is-stream/package.json +42 -0
- package/.output/server/node_modules/isarray/index.js +5 -0
- package/.output/server/node_modules/isarray/package.json +45 -0
- package/.output/server/node_modules/json-bigint/index.js +12 -0
- package/.output/server/node_modules/json-bigint/lib/parse.js +443 -0
- package/.output/server/node_modules/json-bigint/lib/stringify.js +384 -0
- package/.output/server/node_modules/json-bigint/package.json +34 -0
- package/.output/server/node_modules/jwa/index.js +266 -0
- package/.output/server/node_modules/jwa/package.json +37 -0
- package/.output/server/node_modules/jws/index.js +22 -0
- package/.output/server/node_modules/jws/lib/data-stream.js +55 -0
- package/.output/server/node_modules/jws/lib/sign-stream.js +83 -0
- package/.output/server/node_modules/jws/lib/tostring.js +10 -0
- package/.output/server/node_modules/jws/lib/verify-stream.js +125 -0
- package/.output/server/node_modules/jws/package.json +34 -0
- package/.output/server/node_modules/lazystream/lib/lazystream.js +54 -0
- package/.output/server/node_modules/lazystream/package.json +46 -0
- package/.output/server/node_modules/lodash/_Hash.js +32 -0
- package/.output/server/node_modules/lodash/_ListCache.js +32 -0
- package/.output/server/node_modules/lodash/_Map.js +7 -0
- package/.output/server/node_modules/lodash/_MapCache.js +32 -0
- package/.output/server/node_modules/lodash/_Set.js +7 -0
- package/.output/server/node_modules/lodash/_SetCache.js +27 -0
- package/.output/server/node_modules/lodash/_Symbol.js +6 -0
- package/.output/server/node_modules/lodash/_apply.js +21 -0
- package/.output/server/node_modules/lodash/_arrayIncludes.js +17 -0
- package/.output/server/node_modules/lodash/_arrayIncludesWith.js +22 -0
- package/.output/server/node_modules/lodash/_arrayLikeKeys.js +49 -0
- package/.output/server/node_modules/lodash/_arrayMap.js +21 -0
- package/.output/server/node_modules/lodash/_arrayPush.js +20 -0
- package/.output/server/node_modules/lodash/_assocIndexOf.js +21 -0
- package/.output/server/node_modules/lodash/_baseDifference.js +67 -0
- package/.output/server/node_modules/lodash/_baseFindIndex.js +24 -0
- package/.output/server/node_modules/lodash/_baseFlatten.js +38 -0
- package/.output/server/node_modules/lodash/_baseGetTag.js +28 -0
- package/.output/server/node_modules/lodash/_baseIndexOf.js +20 -0
- package/.output/server/node_modules/lodash/_baseIsArguments.js +18 -0
- package/.output/server/node_modules/lodash/_baseIsNaN.js +12 -0
- package/.output/server/node_modules/lodash/_baseIsNative.js +47 -0
- package/.output/server/node_modules/lodash/_baseIsTypedArray.js +60 -0
- package/.output/server/node_modules/lodash/_baseKeysIn.js +33 -0
- package/.output/server/node_modules/lodash/_baseRest.js +17 -0
- package/.output/server/node_modules/lodash/_baseSetToString.js +22 -0
- package/.output/server/node_modules/lodash/_baseTimes.js +20 -0
- package/.output/server/node_modules/lodash/_baseUnary.js +14 -0
- package/.output/server/node_modules/lodash/_baseUniq.js +72 -0
- package/.output/server/node_modules/lodash/_cacheHas.js +13 -0
- package/.output/server/node_modules/lodash/_coreJsData.js +6 -0
- package/.output/server/node_modules/lodash/_createSet.js +19 -0
- package/.output/server/node_modules/lodash/_defineProperty.js +11 -0
- package/.output/server/node_modules/lodash/_freeGlobal.js +4 -0
- package/.output/server/node_modules/lodash/_getMapData.js +18 -0
- package/.output/server/node_modules/lodash/_getNative.js +17 -0
- package/.output/server/node_modules/lodash/_getPrototype.js +6 -0
- package/.output/server/node_modules/lodash/_getRawTag.js +46 -0
- package/.output/server/node_modules/lodash/_getValue.js +13 -0
- package/.output/server/node_modules/lodash/_hashClear.js +15 -0
- package/.output/server/node_modules/lodash/_hashDelete.js +17 -0
- package/.output/server/node_modules/lodash/_hashGet.js +30 -0
- package/.output/server/node_modules/lodash/_hashHas.js +23 -0
- package/.output/server/node_modules/lodash/_hashSet.js +23 -0
- package/.output/server/node_modules/lodash/_isFlattenable.js +20 -0
- package/.output/server/node_modules/lodash/_isIndex.js +25 -0
- package/.output/server/node_modules/lodash/_isIterateeCall.js +30 -0
- package/.output/server/node_modules/lodash/_isKeyable.js +15 -0
- package/.output/server/node_modules/lodash/_isMasked.js +20 -0
- package/.output/server/node_modules/lodash/_isPrototype.js +18 -0
- package/.output/server/node_modules/lodash/_listCacheClear.js +13 -0
- package/.output/server/node_modules/lodash/_listCacheDelete.js +35 -0
- package/.output/server/node_modules/lodash/_listCacheGet.js +19 -0
- package/.output/server/node_modules/lodash/_listCacheHas.js +16 -0
- package/.output/server/node_modules/lodash/_listCacheSet.js +26 -0
- package/.output/server/node_modules/lodash/_mapCacheClear.js +21 -0
- package/.output/server/node_modules/lodash/_mapCacheDelete.js +18 -0
- package/.output/server/node_modules/lodash/_mapCacheGet.js +16 -0
- package/.output/server/node_modules/lodash/_mapCacheHas.js +16 -0
- package/.output/server/node_modules/lodash/_mapCacheSet.js +22 -0
- package/.output/server/node_modules/lodash/_nativeCreate.js +6 -0
- package/.output/server/node_modules/lodash/_nativeKeysIn.js +20 -0
- package/.output/server/node_modules/lodash/_nodeUtil.js +30 -0
- package/.output/server/node_modules/lodash/_objectToString.js +22 -0
- package/.output/server/node_modules/lodash/_overArg.js +15 -0
- package/.output/server/node_modules/lodash/_overRest.js +36 -0
- package/.output/server/node_modules/lodash/_root.js +9 -0
- package/.output/server/node_modules/lodash/_setCacheAdd.js +19 -0
- package/.output/server/node_modules/lodash/_setCacheHas.js +14 -0
- package/.output/server/node_modules/lodash/_setToArray.js +18 -0
- package/.output/server/node_modules/lodash/_setToString.js +14 -0
- package/.output/server/node_modules/lodash/_shortOut.js +37 -0
- package/.output/server/node_modules/lodash/_strictIndexOf.js +23 -0
- package/.output/server/node_modules/lodash/_toSource.js +26 -0
- package/.output/server/node_modules/lodash/constant.js +26 -0
- package/.output/server/node_modules/lodash/defaults.js +64 -0
- package/.output/server/node_modules/lodash/difference.js +33 -0
- package/.output/server/node_modules/lodash/eq.js +37 -0
- package/.output/server/node_modules/lodash/flatten.js +22 -0
- package/.output/server/node_modules/lodash/identity.js +21 -0
- package/.output/server/node_modules/lodash/isArguments.js +36 -0
- package/.output/server/node_modules/lodash/isArray.js +26 -0
- package/.output/server/node_modules/lodash/isArrayLike.js +33 -0
- package/.output/server/node_modules/lodash/isArrayLikeObject.js +33 -0
- package/.output/server/node_modules/lodash/isBuffer.js +38 -0
- package/.output/server/node_modules/lodash/isFunction.js +37 -0
- package/.output/server/node_modules/lodash/isLength.js +35 -0
- package/.output/server/node_modules/lodash/isObject.js +31 -0
- package/.output/server/node_modules/lodash/isObjectLike.js +29 -0
- package/.output/server/node_modules/lodash/isPlainObject.js +62 -0
- package/.output/server/node_modules/lodash/isTypedArray.js +27 -0
- package/.output/server/node_modules/lodash/keysIn.js +32 -0
- package/.output/server/node_modules/lodash/noop.js +17 -0
- package/.output/server/node_modules/lodash/package.json +19 -0
- package/.output/server/node_modules/lodash/stubFalse.js +18 -0
- package/.output/server/node_modules/lodash/union.js +26 -0
- package/.output/server/node_modules/lru-cache/dist/commonjs/index.js +1546 -0
- package/.output/server/node_modules/lru-cache/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/lru-cache/package.json +116 -0
- package/.output/server/node_modules/lucide-vue-next/dist/cjs/lucide-vue-next.js +21273 -0
- package/.output/server/node_modules/lucide-vue-next/package.json +64 -0
- package/.output/server/node_modules/minipass/dist/commonjs/index.js +1038 -0
- package/.output/server/node_modules/minipass/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/minipass/package.json +77 -0
- package/.output/server/node_modules/ms/index.js +162 -0
- package/.output/server/node_modules/ms/package.json +38 -0
- package/.output/server/node_modules/node-domexception/index.js +16 -0
- package/.output/server/node_modules/node-domexception/package.json +29 -0
- package/.output/server/node_modules/node-fetch/package.json +131 -0
- package/.output/server/node_modules/node-fetch/src/body.js +397 -0
- package/.output/server/node_modules/node-fetch/src/errors/abort-error.js +10 -0
- package/.output/server/node_modules/node-fetch/src/errors/base.js +17 -0
- package/.output/server/node_modules/node-fetch/src/errors/fetch-error.js +26 -0
- package/.output/server/node_modules/node-fetch/src/headers.js +267 -0
- package/.output/server/node_modules/node-fetch/src/index.js +417 -0
- package/.output/server/node_modules/node-fetch/src/request.js +313 -0
- package/.output/server/node_modules/node-fetch/src/response.js +160 -0
- package/.output/server/node_modules/node-fetch/src/utils/get-search.js +9 -0
- package/.output/server/node_modules/node-fetch/src/utils/is-redirect.js +11 -0
- package/.output/server/node_modules/node-fetch/src/utils/is.js +87 -0
- package/.output/server/node_modules/node-fetch/src/utils/multipart-parser.js +432 -0
- package/.output/server/node_modules/node-fetch/src/utils/referrer.js +340 -0
- package/.output/server/node_modules/normalize-path/index.js +35 -0
- package/.output/server/node_modules/normalize-path/package.json +77 -0
- package/.output/server/node_modules/p-retry/index.js +85 -0
- package/.output/server/node_modules/p-retry/package.json +51 -0
- package/.output/server/node_modules/parse5/dist/common/doctype.js +114 -0
- package/.output/server/node_modules/parse5/dist/common/error-codes.js +63 -0
- package/.output/server/node_modules/parse5/dist/common/foreign-content.js +228 -0
- package/.output/server/node_modules/parse5/dist/common/html.js +523 -0
- package/.output/server/node_modules/parse5/dist/common/token.js +20 -0
- package/.output/server/node_modules/parse5/dist/common/unicode.js +62 -0
- package/.output/server/node_modules/parse5/dist/index.js +42 -0
- package/.output/server/node_modules/parse5/dist/parser/formatting-element-list.js +110 -0
- package/.output/server/node_modules/parse5/dist/parser/index.js +3245 -0
- package/.output/server/node_modules/parse5/dist/parser/open-element-stack.js +324 -0
- package/.output/server/node_modules/parse5/dist/serializer/index.js +168 -0
- package/.output/server/node_modules/parse5/dist/tokenizer/index.js +2710 -0
- package/.output/server/node_modules/parse5/dist/tokenizer/preprocessor.js +196 -0
- package/.output/server/node_modules/parse5/dist/tree-adapters/default.js +173 -0
- package/.output/server/node_modules/parse5/package.json +50 -0
- package/.output/server/node_modules/path-scurry/dist/commonjs/index.js +2014 -0
- package/.output/server/node_modules/path-scurry/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/path-scurry/package.json +89 -0
- package/.output/server/node_modules/playwright/index.mjs +18 -0
- package/.output/server/node_modules/playwright/package.json +50 -0
- package/.output/server/node_modules/playwright-core/browsers.json +52 -0
- package/.output/server/node_modules/playwright-core/index.js +17 -0
- package/.output/server/node_modules/playwright-core/index.mjs +28 -0
- package/.output/server/node_modules/playwright-core/lib/bootstrap.js +149 -0
- package/.output/server/node_modules/playwright-core/lib/coreBundle.js +78764 -0
- package/.output/server/node_modules/playwright-core/lib/utilsBundle.js +92408 -0
- package/.output/server/node_modules/playwright-core/package.json +34 -0
- package/.output/server/node_modules/process/index.js +2 -0
- package/.output/server/node_modules/process/package.json +27 -0
- package/.output/server/node_modules/process-nextick-args/index.js +45 -0
- package/.output/server/node_modules/process-nextick-args/package.json +25 -0
- package/.output/server/node_modules/readdir-glob/index.js +243 -0
- package/.output/server/node_modules/readdir-glob/package.json +43 -0
- package/.output/server/node_modules/retry/index.js +1 -0
- package/.output/server/node_modules/retry/lib/retry.js +100 -0
- package/.output/server/node_modules/retry/lib/retry_operation.js +162 -0
- package/.output/server/node_modules/retry/package.json +36 -0
- package/.output/server/node_modules/source-map-js/lib/array-set.js +123 -0
- package/.output/server/node_modules/source-map-js/lib/base64-vlq.js +136 -0
- package/.output/server/node_modules/source-map-js/lib/base64.js +68 -0
- package/.output/server/node_modules/source-map-js/lib/binary-search.js +115 -0
- package/.output/server/node_modules/source-map-js/lib/mapping-list.js +84 -0
- package/.output/server/node_modules/source-map-js/lib/quick-sort.js +211 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-consumer.js +1314 -0
- package/.output/server/node_modules/source-map-js/lib/source-map-generator.js +486 -0
- package/.output/server/node_modules/source-map-js/lib/source-node.js +446 -0
- package/.output/server/node_modules/source-map-js/lib/util.js +613 -0
- package/.output/server/node_modules/source-map-js/package.json +78 -0
- package/.output/server/node_modules/source-map-js/source-map.js +10 -0
- package/.output/server/node_modules/streamx/index.js +1314 -0
- package/.output/server/node_modules/streamx/lib/errors.js +47 -0
- package/.output/server/node_modules/streamx/package.json +51 -0
- package/.output/server/node_modules/supports-color/index.js +135 -0
- package/.output/server/node_modules/supports-color/package.json +53 -0
- package/.output/server/node_modules/tar-stream/constants.js +14 -0
- package/.output/server/node_modules/tar-stream/extract.js +418 -0
- package/.output/server/node_modules/tar-stream/headers.js +322 -0
- package/.output/server/node_modules/tar-stream/index.js +2 -0
- package/.output/server/node_modules/tar-stream/pack.js +287 -0
- package/.output/server/node_modules/tar-stream/package.json +50 -0
- package/.output/server/node_modules/text-decoder/index.js +64 -0
- package/.output/server/node_modules/text-decoder/lib/pass-through-decoder.js +19 -0
- package/.output/server/node_modules/text-decoder/lib/utf8-decoder.js +185 -0
- package/.output/server/node_modules/text-decoder/package.json +39 -0
- package/.output/server/node_modules/ufo/dist/index.mjs +645 -0
- package/.output/server/node_modules/ufo/package.json +48 -0
- package/.output/server/node_modules/unhead/dist/index.mjs +9 -0
- package/.output/server/node_modules/unhead/dist/plugins.mjs +103 -0
- package/.output/server/node_modules/unhead/dist/scripts.mjs +30 -0
- package/.output/server/node_modules/unhead/dist/server.mjs +191 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.0TIQaUam.mjs +244 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.AtIkjM2B.mjs +166 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.AvDFlk_u.mjs +39 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.B0o2oYhg.mjs +317 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.BYvz9V1x.mjs +43 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.ByHeIeZd.mjs +184 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.C-69jnXc.mjs +44 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.ChXiQvI8.mjs +76 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.DWXHYkPf.mjs +366 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.h_KkEIE6.mjs +196 -0
- package/.output/server/node_modules/unhead/dist/shared/unhead.ylJpsHyA.mjs +255 -0
- package/.output/server/node_modules/unhead/dist/utils.mjs +5 -0
- package/.output/server/node_modules/unhead/package.json +106 -0
- package/.output/server/node_modules/util-deprecate/node.js +6 -0
- package/.output/server/node_modules/util-deprecate/package.json +27 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.js +80 -0
- package/.output/server/node_modules/vue/dist/vue.cjs.prod.js +66 -0
- package/.output/server/node_modules/vue/index.js +7 -0
- package/.output/server/node_modules/vue/index.mjs +1 -0
- package/.output/server/node_modules/vue/package.json +112 -0
- package/.output/server/node_modules/vue/server-renderer/index.mjs +1 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/dependencies-VCG-RX19.mjs +118 -0
- package/.output/server/node_modules/vue-bundle-renderer/dist/runtime.mjs +673 -0
- package/.output/server/node_modules/vue-bundle-renderer/package.json +66 -0
- package/.output/server/node_modules/vue-router/dist/devtools-C3Hva4Qk.mjs +1220 -0
- package/.output/server/node_modules/vue-router/dist/vue-router.mjs +1561 -0
- package/.output/server/node_modules/vue-router/package.json +156 -0
- package/.output/server/node_modules/vue-router/vue-router.node.mjs +2 -0
- package/.output/server/node_modules/web-streams-polyfill/dist/ponyfill.es2018.js +4737 -0
- package/.output/server/node_modules/web-streams-polyfill/package.json +83 -0
- package/.output/server/node_modules/ws/lib/buffer-util.js +142 -0
- package/.output/server/node_modules/ws/lib/constants.js +19 -0
- package/.output/server/node_modules/ws/lib/event-target.js +292 -0
- package/.output/server/node_modules/ws/lib/extension.js +203 -0
- package/.output/server/node_modules/ws/lib/limiter.js +55 -0
- package/.output/server/node_modules/ws/lib/permessage-deflate.js +530 -0
- package/.output/server/node_modules/ws/lib/receiver.js +751 -0
- package/.output/server/node_modules/ws/lib/sender.js +610 -0
- package/.output/server/node_modules/ws/lib/stream.js +161 -0
- package/.output/server/node_modules/ws/lib/subprotocol.js +62 -0
- package/.output/server/node_modules/ws/lib/validation.js +152 -0
- package/.output/server/node_modules/ws/lib/websocket-server.js +565 -0
- package/.output/server/node_modules/ws/lib/websocket.js +1471 -0
- package/.output/server/node_modules/ws/package.json +74 -0
- package/.output/server/node_modules/ws/wrapper.mjs +21 -0
- package/.output/server/node_modules/zip-stream/index.js +187 -0
- package/.output/server/node_modules/zip-stream/package.json +49 -0
- package/.output/server/node_modules/zod/index.js +4 -0
- package/.output/server/node_modules/zod/package.json +118 -0
- package/.output/server/node_modules/zod/v3/ZodError.js +133 -0
- package/.output/server/node_modules/zod/v3/errors.js +9 -0
- package/.output/server/node_modules/zod/v3/external.js +6 -0
- package/.output/server/node_modules/zod/v3/helpers/errorUtil.js +6 -0
- package/.output/server/node_modules/zod/v3/helpers/parseUtil.js +109 -0
- package/.output/server/node_modules/zod/v3/helpers/typeAliases.js +1 -0
- package/.output/server/node_modules/zod/v3/helpers/util.js +133 -0
- package/.output/server/node_modules/zod/v3/locales/en.js +109 -0
- package/.output/server/node_modules/zod/v3/types.js +3693 -0
- package/.output/server/package.json +99 -0
- package/README.md +81 -2
- package/bin/cli.js +138 -0
- package/data/history.json +17 -0
- package/package.json +39 -4
- package/public/audio/cyber_future_tech.mp3 +0 -0
- package/public/audio/dark_phonk_pulse.mp3 +0 -0
- package/public/audio/deep_finance_groove.mp3 +0 -0
- package/public/audio/lofi_viral_study.mp3 +0 -0
- package/public/audio/motivation_cinematic.mp3 +0 -0
- package/public/videos/cyber_blue.mp4 +0 -0
- package/public/videos/cyber_matrix_stream.mp4 +0 -0
- package/public/videos/cyber_pulse.mp4 +0 -0
- package/public/videos/dark_luxury_particles.mp4 +0 -0
- package/public/videos/default_bg.mp4 +0 -0
- package/public/videos/emerald_flow.mp4 +0 -0
- package/public/videos/financial_pulse_flow.mp4 +0 -0
- package/public/videos/neon_cyber_grid.mp4 +0 -0
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { createHooks } from 'hookable';
|
|
2
|
+
import { c as UsesMergeStrategy, V as ValidHeadTags, h as hasContent } from './unhead.AvDFlk_u.mjs';
|
|
3
|
+
import { n as normalizeEntryToTags, d as dedupeKey, h as hashTag, i as isMetaArrayDupeKey } from './unhead.0TIQaUam.mjs';
|
|
4
|
+
import { t as tagWeight, s as sortTags } from './unhead.ChXiQvI8.mjs';
|
|
5
|
+
|
|
6
|
+
function registerPlugin(head, p) {
|
|
7
|
+
const plugin = typeof p === "function" ? p(head) : p;
|
|
8
|
+
const key = plugin.key || String(head.plugins.size + 1);
|
|
9
|
+
const exists = head.plugins.get(key);
|
|
10
|
+
if (!exists) {
|
|
11
|
+
head.plugins.set(key, plugin);
|
|
12
|
+
head.hooks.addHooks(plugin.hooks || {});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
// @__NO_SIDE_EFFECTS__
|
|
16
|
+
function createHeadCore(resolvedOptions = {}) {
|
|
17
|
+
return /* @__PURE__ */ createUnhead(resolvedOptions);
|
|
18
|
+
}
|
|
19
|
+
// @__NO_SIDE_EFFECTS__
|
|
20
|
+
function createUnhead(resolvedOptions = {}) {
|
|
21
|
+
const hooks = createHooks();
|
|
22
|
+
hooks.addHooks(resolvedOptions.hooks || {});
|
|
23
|
+
const ssr = !resolvedOptions.document;
|
|
24
|
+
const entries = /* @__PURE__ */ new Map();
|
|
25
|
+
const plugins = /* @__PURE__ */ new Map();
|
|
26
|
+
const normalizeQueue = /* @__PURE__ */ new Set();
|
|
27
|
+
const head = {
|
|
28
|
+
_entryCount: 1,
|
|
29
|
+
// 0 is reserved for internal use
|
|
30
|
+
plugins,
|
|
31
|
+
dirty: false,
|
|
32
|
+
resolvedOptions,
|
|
33
|
+
hooks,
|
|
34
|
+
ssr,
|
|
35
|
+
entries,
|
|
36
|
+
headEntries() {
|
|
37
|
+
return [...entries.values()];
|
|
38
|
+
},
|
|
39
|
+
use: (p) => registerPlugin(head, p),
|
|
40
|
+
push(input, _options) {
|
|
41
|
+
const options = { ..._options || {} };
|
|
42
|
+
delete options.head;
|
|
43
|
+
const _i = options._index ?? head._entryCount++;
|
|
44
|
+
const inst = { _i, input, options };
|
|
45
|
+
const _ = {
|
|
46
|
+
_poll(rm = false) {
|
|
47
|
+
head.dirty = true;
|
|
48
|
+
!rm && normalizeQueue.add(_i);
|
|
49
|
+
hooks.callHook("entries:updated", head);
|
|
50
|
+
},
|
|
51
|
+
dispose() {
|
|
52
|
+
if (entries.delete(_i)) {
|
|
53
|
+
head.invalidate();
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
// a patch is the same as creating a new entry, just a nice DX
|
|
57
|
+
patch(input2) {
|
|
58
|
+
if (!options.mode || options.mode === "server" && ssr || options.mode === "client" && !ssr) {
|
|
59
|
+
inst.input = input2;
|
|
60
|
+
entries.set(_i, inst);
|
|
61
|
+
_._poll();
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
};
|
|
65
|
+
_.patch(input);
|
|
66
|
+
return _;
|
|
67
|
+
},
|
|
68
|
+
async resolveTags() {
|
|
69
|
+
const ctx = {
|
|
70
|
+
tagMap: /* @__PURE__ */ new Map(),
|
|
71
|
+
tags: [],
|
|
72
|
+
entries: [...head.entries.values()]
|
|
73
|
+
};
|
|
74
|
+
await hooks.callHook("entries:resolve", ctx);
|
|
75
|
+
while (normalizeQueue.size) {
|
|
76
|
+
const i = normalizeQueue.values().next().value;
|
|
77
|
+
normalizeQueue.delete(i);
|
|
78
|
+
const e = entries.get(i);
|
|
79
|
+
if (e) {
|
|
80
|
+
const normalizeCtx = {
|
|
81
|
+
tags: normalizeEntryToTags(e.input, resolvedOptions.propResolvers || []).map((t) => Object.assign(t, e.options)),
|
|
82
|
+
entry: e
|
|
83
|
+
};
|
|
84
|
+
await hooks.callHook("entries:normalize", normalizeCtx);
|
|
85
|
+
e._tags = normalizeCtx.tags.map((t, i2) => {
|
|
86
|
+
t._w = tagWeight(head, t);
|
|
87
|
+
t._p = (e._i << 10) + i2;
|
|
88
|
+
t._d = dedupeKey(t);
|
|
89
|
+
if (!t._d)
|
|
90
|
+
t._h = hashTag(t);
|
|
91
|
+
return t;
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
let hasFlatMeta = false;
|
|
96
|
+
ctx.entries.flatMap((e) => (e._tags || []).map((t) => ({ ...t, props: { ...t.props } }))).sort(sortTags).reduce((acc, next) => {
|
|
97
|
+
const k = next._d || next._h;
|
|
98
|
+
if (!acc.has(k))
|
|
99
|
+
return acc.set(k, next);
|
|
100
|
+
const prev = acc.get(k);
|
|
101
|
+
const strategy = next?.tagDuplicateStrategy || (UsesMergeStrategy.has(next.tag) ? "merge" : null) || (next.key && next.key === prev.key ? "merge" : null);
|
|
102
|
+
if (strategy === "merge") {
|
|
103
|
+
const newProps = { ...prev.props };
|
|
104
|
+
Object.entries(next.props).forEach(([p, v]) => (
|
|
105
|
+
// @ts-expect-error untyped
|
|
106
|
+
newProps[p] = p === "style" ? new Map([...prev.props.style || /* @__PURE__ */ new Map(), ...v]) : p === "class" ? /* @__PURE__ */ new Set([...prev.props.class || /* @__PURE__ */ new Set(), ...v]) : v
|
|
107
|
+
));
|
|
108
|
+
acc.set(k, { ...next, props: newProps });
|
|
109
|
+
} else if (next._p >> 10 === prev._p >> 10 && next.tag === "meta" && isMetaArrayDupeKey(k)) {
|
|
110
|
+
acc.set(k, Object.assign([...Array.isArray(prev) ? prev : [prev], next], next));
|
|
111
|
+
hasFlatMeta = true;
|
|
112
|
+
} else if (next._w === prev._w ? next._p > prev._p : next?._w < prev?._w) {
|
|
113
|
+
acc.set(k, next);
|
|
114
|
+
}
|
|
115
|
+
return acc;
|
|
116
|
+
}, ctx.tagMap);
|
|
117
|
+
const title = ctx.tagMap.get("title");
|
|
118
|
+
const titleTemplate = ctx.tagMap.get("titleTemplate");
|
|
119
|
+
head._title = title?.textContent;
|
|
120
|
+
if (titleTemplate) {
|
|
121
|
+
const titleTemplateFn = titleTemplate?.textContent;
|
|
122
|
+
head._titleTemplate = titleTemplateFn;
|
|
123
|
+
if (titleTemplateFn) {
|
|
124
|
+
let newTitle = typeof titleTemplateFn === "function" ? titleTemplateFn(title?.textContent) : titleTemplateFn;
|
|
125
|
+
if (typeof newTitle === "string" && !head.plugins.has("template-params")) {
|
|
126
|
+
newTitle = newTitle.replace("%s", title?.textContent || "");
|
|
127
|
+
}
|
|
128
|
+
if (title) {
|
|
129
|
+
newTitle === null ? ctx.tagMap.delete("title") : ctx.tagMap.set("title", { ...title, textContent: newTitle });
|
|
130
|
+
} else {
|
|
131
|
+
titleTemplate.tag = "title";
|
|
132
|
+
titleTemplate.textContent = newTitle;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
ctx.tags = Array.from(ctx.tagMap.values());
|
|
137
|
+
if (hasFlatMeta) {
|
|
138
|
+
ctx.tags = ctx.tags.flat().sort(sortTags);
|
|
139
|
+
}
|
|
140
|
+
await hooks.callHook("tags:beforeResolve", ctx);
|
|
141
|
+
await hooks.callHook("tags:resolve", ctx);
|
|
142
|
+
await hooks.callHook("tags:afterResolve", ctx);
|
|
143
|
+
const finalTags = [];
|
|
144
|
+
for (const t of ctx.tags) {
|
|
145
|
+
const { innerHTML, tag, props } = t;
|
|
146
|
+
if (!ValidHeadTags.has(tag)) {
|
|
147
|
+
continue;
|
|
148
|
+
}
|
|
149
|
+
if (Object.keys(props).length === 0 && !hasContent(t.innerHTML) && !hasContent(t.textContent)) {
|
|
150
|
+
continue;
|
|
151
|
+
}
|
|
152
|
+
if (tag === "meta") {
|
|
153
|
+
if (!hasContent(props.content) && !props["http-equiv"] && !props.charset) {
|
|
154
|
+
continue;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
if (tag === "script" && innerHTML) {
|
|
158
|
+
if (String(props.type).endsWith("json")) {
|
|
159
|
+
const v = typeof innerHTML === "string" ? innerHTML : JSON.stringify(innerHTML);
|
|
160
|
+
t.innerHTML = v.replace(/</g, "\\u003C");
|
|
161
|
+
} else if (typeof innerHTML === "string") {
|
|
162
|
+
t.innerHTML = innerHTML.replace(new RegExp(`</${tag}`, "g"), `<\\/${tag}`);
|
|
163
|
+
}
|
|
164
|
+
t._d = dedupeKey(t);
|
|
165
|
+
}
|
|
166
|
+
finalTags.push(t);
|
|
167
|
+
}
|
|
168
|
+
return finalTags;
|
|
169
|
+
},
|
|
170
|
+
invalidate() {
|
|
171
|
+
for (const entry of entries.values()) {
|
|
172
|
+
normalizeQueue.add(entry._i);
|
|
173
|
+
}
|
|
174
|
+
head.dirty = true;
|
|
175
|
+
hooks.callHook("entries:updated", head);
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
(resolvedOptions?.plugins || []).forEach((p) => registerPlugin(head, p));
|
|
179
|
+
head.hooks.callHook("init", head);
|
|
180
|
+
resolvedOptions.init?.forEach((e) => e && head.push(e));
|
|
181
|
+
return head;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
export { createUnhead as a, createHeadCore as c };
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { S as SafeInputPlugin, F as FlatMetaPlugin } from './unhead.ylJpsHyA.mjs';
|
|
2
|
+
|
|
3
|
+
function useHead(unhead, input, options = {}) {
|
|
4
|
+
return unhead.push(input || {}, options);
|
|
5
|
+
}
|
|
6
|
+
function useHeadSafe(unhead, input = {}, options = {}) {
|
|
7
|
+
unhead.use(SafeInputPlugin);
|
|
8
|
+
return useHead(unhead, input, Object.assign(options, { _safe: true }));
|
|
9
|
+
}
|
|
10
|
+
function useSeoMeta(unhead, input = {}, options) {
|
|
11
|
+
unhead.use(FlatMetaPlugin);
|
|
12
|
+
function normalize(input2) {
|
|
13
|
+
if (input2._flatMeta) {
|
|
14
|
+
return input2;
|
|
15
|
+
}
|
|
16
|
+
const { title, titleTemplate, ...meta } = input2 || {};
|
|
17
|
+
return {
|
|
18
|
+
title,
|
|
19
|
+
titleTemplate,
|
|
20
|
+
_flatMeta: meta
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
const entry = unhead.push(normalize(input), options);
|
|
24
|
+
const corePatch = entry.patch;
|
|
25
|
+
if (!entry.__patched) {
|
|
26
|
+
entry.patch = (input2) => corePatch(normalize(input2));
|
|
27
|
+
entry.__patched = true;
|
|
28
|
+
}
|
|
29
|
+
return entry;
|
|
30
|
+
}
|
|
31
|
+
function useServerHead(unhead, input = {}, options = {}) {
|
|
32
|
+
options.mode = "server";
|
|
33
|
+
return unhead.push(input, options);
|
|
34
|
+
}
|
|
35
|
+
function useServerHeadSafe(unhead, input = {}, options = {}) {
|
|
36
|
+
options.mode = "server";
|
|
37
|
+
return useHeadSafe(unhead, input, { ...options, mode: "server" });
|
|
38
|
+
}
|
|
39
|
+
function useServerSeoMeta(unhead, input = {}, options) {
|
|
40
|
+
options.mode = "server";
|
|
41
|
+
return useSeoMeta(unhead, input, { ...options, mode: "server" });
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export { useHeadSafe as a, useSeoMeta as b, useServerHead as c, useServerHeadSafe as d, useServerSeoMeta as e, useHead as u };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// @__NO_SIDE_EFFECTS__
|
|
2
|
+
function isUnsafeKey(key) {
|
|
3
|
+
return key === "__proto__" || key === "constructor" || key === "prototype";
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
const sortTags = (a, b) => a._w === b._w ? a._p - b._p : a._w - b._w;
|
|
7
|
+
const TAG_WEIGHTS = {
|
|
8
|
+
base: -10,
|
|
9
|
+
title: 10
|
|
10
|
+
};
|
|
11
|
+
const TAG_ALIASES = {
|
|
12
|
+
critical: -8,
|
|
13
|
+
high: -1,
|
|
14
|
+
low: 2
|
|
15
|
+
};
|
|
16
|
+
const WEIGHT_MAP = {
|
|
17
|
+
meta: {
|
|
18
|
+
"content-security-policy": -30,
|
|
19
|
+
"charset": -20,
|
|
20
|
+
"viewport": -15
|
|
21
|
+
},
|
|
22
|
+
link: {
|
|
23
|
+
"preconnect": 20,
|
|
24
|
+
"stylesheet": 60,
|
|
25
|
+
"preload": 70,
|
|
26
|
+
"modulepreload": 70,
|
|
27
|
+
"prefetch": 90,
|
|
28
|
+
"dns-prefetch": 90,
|
|
29
|
+
"prerender": 90
|
|
30
|
+
},
|
|
31
|
+
script: {
|
|
32
|
+
async: 30,
|
|
33
|
+
defer: 80,
|
|
34
|
+
sync: 50
|
|
35
|
+
},
|
|
36
|
+
style: {
|
|
37
|
+
imported: 40,
|
|
38
|
+
sync: 60
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
const ImportStyleRe = /@import/;
|
|
42
|
+
const isTruthy = (val) => val === "" || val === true;
|
|
43
|
+
function tagWeight(head, tag) {
|
|
44
|
+
if (typeof tag.tagPriority === "number")
|
|
45
|
+
return tag.tagPriority;
|
|
46
|
+
let weight = 100;
|
|
47
|
+
const offset = TAG_ALIASES[tag.tagPriority] || 0;
|
|
48
|
+
const weightMap = head.resolvedOptions.disableCapoSorting ? {
|
|
49
|
+
link: {},
|
|
50
|
+
script: {},
|
|
51
|
+
style: {}
|
|
52
|
+
} : WEIGHT_MAP;
|
|
53
|
+
if (tag.tag in TAG_WEIGHTS) {
|
|
54
|
+
weight = TAG_WEIGHTS[tag.tag];
|
|
55
|
+
} else if (tag.tag === "meta") {
|
|
56
|
+
const metaType = tag.props["http-equiv"] === "content-security-policy" ? "content-security-policy" : tag.props.charset ? "charset" : tag.props.name === "viewport" ? "viewport" : null;
|
|
57
|
+
if (metaType)
|
|
58
|
+
weight = WEIGHT_MAP.meta[metaType];
|
|
59
|
+
} else if (tag.tag === "link" && tag.props.rel) {
|
|
60
|
+
weight = weightMap.link[tag.props.rel];
|
|
61
|
+
} else if (tag.tag === "script") {
|
|
62
|
+
const type = String(tag.props.type);
|
|
63
|
+
if (isTruthy(tag.props.async)) {
|
|
64
|
+
weight = weightMap.script.async;
|
|
65
|
+
} else if (tag.props.src && !isTruthy(tag.props.defer) && !isTruthy(tag.props.async) && type !== "module" && !type.endsWith("json") || tag.innerHTML && !type.endsWith("json")) {
|
|
66
|
+
weight = weightMap.script.sync;
|
|
67
|
+
} else if (isTruthy(tag.props.defer) && tag.props.src && !isTruthy(tag.props.async) || type === "module") {
|
|
68
|
+
weight = weightMap.script.defer;
|
|
69
|
+
}
|
|
70
|
+
} else if (tag.tag === "style") {
|
|
71
|
+
weight = tag.innerHTML && ImportStyleRe.test(tag.innerHTML) ? weightMap.style.imported : weightMap.style.sync;
|
|
72
|
+
}
|
|
73
|
+
return (weight || 100) + offset;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export { isUnsafeKey as i, sortTags as s, tagWeight as t };
|
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
import { defaultTreeAdapter, parse, html } from 'parse5';
|
|
2
|
+
|
|
3
|
+
const hasOwnProperty = Object.prototype.hasOwnProperty;
|
|
4
|
+
function hasOwn(object, key) {
|
|
5
|
+
return hasOwnProperty.call(object, key);
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
const TAG_HTML = 0;
|
|
9
|
+
const TAG_HEAD = 1;
|
|
10
|
+
const TAG_TITLE = 4;
|
|
11
|
+
const TAG_META = 5;
|
|
12
|
+
const TAG_BODY = 44;
|
|
13
|
+
const TAG_SCRIPT = 52;
|
|
14
|
+
const TAG_STYLE = 53;
|
|
15
|
+
const TAG_LINK = 54;
|
|
16
|
+
const TAG_BASE = 56;
|
|
17
|
+
const GT_CHAR = 62;
|
|
18
|
+
const EQUALS_CHAR = 61;
|
|
19
|
+
const QUOTE_CHAR = 34;
|
|
20
|
+
const APOS_CHAR = 39;
|
|
21
|
+
const TagIdMap = {
|
|
22
|
+
html: TAG_HTML,
|
|
23
|
+
head: TAG_HEAD,
|
|
24
|
+
title: TAG_TITLE,
|
|
25
|
+
meta: TAG_META,
|
|
26
|
+
body: TAG_BODY,
|
|
27
|
+
script: TAG_SCRIPT,
|
|
28
|
+
style: TAG_STYLE,
|
|
29
|
+
link: TAG_LINK,
|
|
30
|
+
base: TAG_BASE
|
|
31
|
+
};
|
|
32
|
+
function isWhitespace(charCode) {
|
|
33
|
+
return charCode === 32 || charCode === 9 || charCode === 10 || charCode === 12 || charCode === 13;
|
|
34
|
+
}
|
|
35
|
+
function parseAttributes(attrStr) {
|
|
36
|
+
if (!attrStr)
|
|
37
|
+
return {};
|
|
38
|
+
const result = {};
|
|
39
|
+
const setAttr = (name2, value) => {
|
|
40
|
+
if (!hasOwn(result, name2))
|
|
41
|
+
result[name2] = value;
|
|
42
|
+
};
|
|
43
|
+
const len = attrStr.length;
|
|
44
|
+
let i = 0;
|
|
45
|
+
const WHITESPACE = 0;
|
|
46
|
+
const NAME = 1;
|
|
47
|
+
const AFTER_NAME = 2;
|
|
48
|
+
const BEFORE_VALUE = 3;
|
|
49
|
+
const QUOTED_VALUE = 4;
|
|
50
|
+
const UNQUOTED_VALUE = 5;
|
|
51
|
+
let state = WHITESPACE;
|
|
52
|
+
let nameStart = 0;
|
|
53
|
+
let nameEnd = 0;
|
|
54
|
+
let valueStart = 0;
|
|
55
|
+
let quoteChar = 0;
|
|
56
|
+
let name = "";
|
|
57
|
+
while (i < len) {
|
|
58
|
+
const charCode = attrStr.charCodeAt(i);
|
|
59
|
+
const isSpace = isWhitespace(charCode);
|
|
60
|
+
switch (state) {
|
|
61
|
+
case WHITESPACE:
|
|
62
|
+
if (!isSpace) {
|
|
63
|
+
state = NAME;
|
|
64
|
+
nameStart = i;
|
|
65
|
+
nameEnd = 0;
|
|
66
|
+
}
|
|
67
|
+
break;
|
|
68
|
+
case NAME:
|
|
69
|
+
if (charCode === EQUALS_CHAR || isSpace) {
|
|
70
|
+
nameEnd = i;
|
|
71
|
+
name = attrStr.substring(nameStart, nameEnd).toLowerCase();
|
|
72
|
+
state = charCode === EQUALS_CHAR ? BEFORE_VALUE : AFTER_NAME;
|
|
73
|
+
}
|
|
74
|
+
break;
|
|
75
|
+
case AFTER_NAME:
|
|
76
|
+
if (charCode === EQUALS_CHAR) {
|
|
77
|
+
state = BEFORE_VALUE;
|
|
78
|
+
} else if (!isSpace) {
|
|
79
|
+
setAttr(name, "");
|
|
80
|
+
state = NAME;
|
|
81
|
+
nameStart = i;
|
|
82
|
+
nameEnd = 0;
|
|
83
|
+
}
|
|
84
|
+
break;
|
|
85
|
+
case BEFORE_VALUE:
|
|
86
|
+
if (charCode === QUOTE_CHAR || charCode === APOS_CHAR) {
|
|
87
|
+
quoteChar = charCode;
|
|
88
|
+
state = QUOTED_VALUE;
|
|
89
|
+
valueStart = i + 1;
|
|
90
|
+
} else if (!isSpace) {
|
|
91
|
+
state = UNQUOTED_VALUE;
|
|
92
|
+
valueStart = i;
|
|
93
|
+
}
|
|
94
|
+
break;
|
|
95
|
+
case QUOTED_VALUE:
|
|
96
|
+
if (charCode === quoteChar) {
|
|
97
|
+
setAttr(name, attrStr.substring(valueStart, i));
|
|
98
|
+
state = WHITESPACE;
|
|
99
|
+
}
|
|
100
|
+
break;
|
|
101
|
+
case UNQUOTED_VALUE:
|
|
102
|
+
if (isSpace || charCode === GT_CHAR) {
|
|
103
|
+
setAttr(name, attrStr.substring(valueStart, i));
|
|
104
|
+
state = WHITESPACE;
|
|
105
|
+
}
|
|
106
|
+
break;
|
|
107
|
+
}
|
|
108
|
+
i++;
|
|
109
|
+
}
|
|
110
|
+
if (state === QUOTED_VALUE || state === UNQUOTED_VALUE) {
|
|
111
|
+
if (name) {
|
|
112
|
+
setAttr(name, attrStr.substring(valueStart, i));
|
|
113
|
+
}
|
|
114
|
+
} else if (state === NAME || state === AFTER_NAME || state === BEFORE_VALUE) {
|
|
115
|
+
nameEnd = nameEnd || i;
|
|
116
|
+
const currentName = attrStr.substring(nameStart, nameEnd).toLowerCase();
|
|
117
|
+
if (currentName) {
|
|
118
|
+
setAttr(currentName, "");
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return result;
|
|
122
|
+
}
|
|
123
|
+
function getChildElement(parent, tagName) {
|
|
124
|
+
return parent?.childNodes.find((child) => defaultTreeAdapter.isElementNode(child) && child.tagName === tagName);
|
|
125
|
+
}
|
|
126
|
+
const BODY_START_RE = /<body[\t\n\f\r />]/gi;
|
|
127
|
+
function findBodyStartEnd(html, start) {
|
|
128
|
+
let quote = 0;
|
|
129
|
+
for (let i = start + 5; i < html.length; i++) {
|
|
130
|
+
const code = html.charCodeAt(i);
|
|
131
|
+
if (quote) {
|
|
132
|
+
if (code === quote)
|
|
133
|
+
quote = 0;
|
|
134
|
+
} else if (code === GT_CHAR) {
|
|
135
|
+
return i + 1;
|
|
136
|
+
} else if (code === QUOTE_CHAR || code === APOS_CHAR) {
|
|
137
|
+
quote = code;
|
|
138
|
+
} else if (html[i] === "<") {
|
|
139
|
+
break;
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
return -1;
|
|
143
|
+
}
|
|
144
|
+
function readTemplate(html, deferBodyClose) {
|
|
145
|
+
if (deferBodyClose) {
|
|
146
|
+
let attempts = 0;
|
|
147
|
+
for (const { index } of html.matchAll(BODY_START_RE)) {
|
|
148
|
+
const end = findBodyStartEnd(html, index);
|
|
149
|
+
if (end > 0 && end < html.length) {
|
|
150
|
+
const prefix = parseTemplateDocument(html.slice(0, end));
|
|
151
|
+
if (prefix.indexes.bodyTagStart === index && prefix.indexes.bodyTagEnd === end)
|
|
152
|
+
return { ...prefix, partial: true };
|
|
153
|
+
}
|
|
154
|
+
if (++attempts === 2)
|
|
155
|
+
break;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
return { ...parseTemplateDocument(html), partial: false };
|
|
159
|
+
}
|
|
160
|
+
const FOREIGN_CONTENT_RE = /<(?:svg|math)[\t\n\f\r />]/i;
|
|
161
|
+
function createTemplateTreeAdapter() {
|
|
162
|
+
const foreign = /* @__PURE__ */ new Set();
|
|
163
|
+
return {
|
|
164
|
+
...defaultTreeAdapter,
|
|
165
|
+
onItemPush(node) {
|
|
166
|
+
if (node.namespaceURI !== html.NS.HTML)
|
|
167
|
+
foreign.add(node);
|
|
168
|
+
},
|
|
169
|
+
onItemPop(node) {
|
|
170
|
+
if (node.namespaceURI !== html.NS.HTML)
|
|
171
|
+
foreign.delete(node);
|
|
172
|
+
},
|
|
173
|
+
setNodeSourceCodeLocation(node, location) {
|
|
174
|
+
if (!foreign.size || !defaultTreeAdapter.isCommentNode(node))
|
|
175
|
+
defaultTreeAdapter.setNodeSourceCodeLocation(node, location);
|
|
176
|
+
},
|
|
177
|
+
updateNodeSourceCodeLocation(node, location) {
|
|
178
|
+
if (foreign.size && location.endTag && defaultTreeAdapter.isElementNode(node) && (node.tagName === "head" || node.tagName === "body")) {
|
|
179
|
+
return;
|
|
180
|
+
}
|
|
181
|
+
defaultTreeAdapter.updateNodeSourceCodeLocation(node, location);
|
|
182
|
+
}
|
|
183
|
+
};
|
|
184
|
+
}
|
|
185
|
+
function parseTemplateDocument(html) {
|
|
186
|
+
const treeAdapter = FOREIGN_CONTENT_RE.test(html) ? createTemplateTreeAdapter() : defaultTreeAdapter;
|
|
187
|
+
const document = parse(html, { sourceCodeLocationInfo: true, treeAdapter });
|
|
188
|
+
const root = getChildElement(document, "html");
|
|
189
|
+
const head = getChildElement(root, "head");
|
|
190
|
+
const body = getChildElement(root, "body");
|
|
191
|
+
const rootStart = root?.sourceCodeLocation?.startTag;
|
|
192
|
+
const bodyStart = body?.sourceCodeLocation?.startTag;
|
|
193
|
+
return {
|
|
194
|
+
root,
|
|
195
|
+
rootStart,
|
|
196
|
+
head,
|
|
197
|
+
bodyStart,
|
|
198
|
+
body,
|
|
199
|
+
indexes: {
|
|
200
|
+
htmlTagStart: rootStart?.startOffset ?? -1,
|
|
201
|
+
htmlTagEnd: rootStart?.endOffset ?? -1,
|
|
202
|
+
headTagEnd: head?.sourceCodeLocation?.endTag?.startOffset ?? -1,
|
|
203
|
+
bodyTagStart: bodyStart?.startOffset ?? -1,
|
|
204
|
+
bodyTagEnd: bodyStart?.endOffset ?? -1,
|
|
205
|
+
bodyCloseTagStart: body?.sourceCodeLocation?.endTag?.startOffset ?? -1
|
|
206
|
+
}
|
|
207
|
+
};
|
|
208
|
+
}
|
|
209
|
+
function parseHtmlForIndexes(html, includeBodyClose = true) {
|
|
210
|
+
const { indexes } = readTemplate(html, !includeBodyClose);
|
|
211
|
+
return { html, input: {}, indexes };
|
|
212
|
+
}
|
|
213
|
+
function parseHtmlForUnheadExtraction(html, deferBodyClose = false) {
|
|
214
|
+
const { root, rootStart, head, body, bodyStart, indexes, partial } = readTemplate(html, deferBodyClose);
|
|
215
|
+
const input = {};
|
|
216
|
+
const parts = [];
|
|
217
|
+
let cursor = 0;
|
|
218
|
+
let removed = 0;
|
|
219
|
+
function replace(start, end, replacement = "") {
|
|
220
|
+
parts.push(html.slice(cursor, start), replacement);
|
|
221
|
+
cursor = end;
|
|
222
|
+
removed += end - start - replacement.length;
|
|
223
|
+
}
|
|
224
|
+
if (root && rootStart) {
|
|
225
|
+
const attrs = readAttributes(root, rootStart);
|
|
226
|
+
if (Object.keys(attrs).length) {
|
|
227
|
+
input.htmlAttrs = attrs;
|
|
228
|
+
replace(indexes.htmlTagStart, indexes.htmlTagEnd, "<html>");
|
|
229
|
+
indexes.htmlTagEnd -= removed;
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
if (head && indexes.headTagEnd >= 0) {
|
|
233
|
+
let whitespaceStart;
|
|
234
|
+
for (const node of head.childNodes) {
|
|
235
|
+
if (defaultTreeAdapter.isTextNode(node)) {
|
|
236
|
+
whitespaceStart = node.sourceCodeLocation?.startOffset;
|
|
237
|
+
continue;
|
|
238
|
+
}
|
|
239
|
+
const precedingText = whitespaceStart;
|
|
240
|
+
whitespaceStart = void 0;
|
|
241
|
+
if (!defaultTreeAdapter.isElementNode(node) || !node.sourceCodeLocation?.startTag)
|
|
242
|
+
continue;
|
|
243
|
+
const { startTag, endTag } = node.sourceCodeLocation;
|
|
244
|
+
if ((endTag ?? startTag).endOffset > indexes.headTagEnd)
|
|
245
|
+
continue;
|
|
246
|
+
const start = precedingText !== void 0 && !html.slice(precedingText, startTag.startOffset).trim() ? precedingText : startTag.startOffset;
|
|
247
|
+
const { tagName } = node;
|
|
248
|
+
switch (tagName) {
|
|
249
|
+
case "title":
|
|
250
|
+
case "script":
|
|
251
|
+
case "style": {
|
|
252
|
+
if (!endTag)
|
|
253
|
+
continue;
|
|
254
|
+
const content = html.slice(startTag.endOffset, endTag.startOffset);
|
|
255
|
+
if (tagName === "script" && !canExtractScript(content))
|
|
256
|
+
continue;
|
|
257
|
+
if (tagName === "title")
|
|
258
|
+
input.title ||= content.trim() || void 0;
|
|
259
|
+
else if (tagName === "script")
|
|
260
|
+
(input.script ||= []).push({ ...readAttributes(node, startTag), innerHTML: content });
|
|
261
|
+
else
|
|
262
|
+
(input.style ||= []).push({ ...readAttributes(node, startTag), textContent: content });
|
|
263
|
+
replace(start, endTag.endOffset);
|
|
264
|
+
break;
|
|
265
|
+
}
|
|
266
|
+
case "meta":
|
|
267
|
+
(input.meta ||= []).push(readAttributes(node, startTag));
|
|
268
|
+
replace(start, startTag.endOffset);
|
|
269
|
+
break;
|
|
270
|
+
case "link":
|
|
271
|
+
(input.link ||= []).push(readAttributes(node, startTag));
|
|
272
|
+
replace(start, startTag.endOffset);
|
|
273
|
+
break;
|
|
274
|
+
case "base":
|
|
275
|
+
if (!input.base) {
|
|
276
|
+
input.base = readAttributes(node, startTag);
|
|
277
|
+
replace(start, startTag.endOffset);
|
|
278
|
+
}
|
|
279
|
+
break;
|
|
280
|
+
}
|
|
281
|
+
}
|
|
282
|
+
indexes.headTagEnd -= removed;
|
|
283
|
+
}
|
|
284
|
+
if (body && bodyStart) {
|
|
285
|
+
indexes.bodyTagStart -= removed;
|
|
286
|
+
const attrs = readAttributes(body, bodyStart);
|
|
287
|
+
if (Object.keys(attrs).length) {
|
|
288
|
+
input.bodyAttrs = attrs;
|
|
289
|
+
replace(bodyStart.startOffset, bodyStart.endOffset, "<body>");
|
|
290
|
+
}
|
|
291
|
+
indexes.bodyTagEnd -= removed;
|
|
292
|
+
}
|
|
293
|
+
if (indexes.bodyCloseTagStart >= 0)
|
|
294
|
+
indexes.bodyCloseTagStart -= removed;
|
|
295
|
+
return {
|
|
296
|
+
html: parts.length ? parts.join("") + html.slice(cursor) : html,
|
|
297
|
+
input,
|
|
298
|
+
indexes: partial ? withDeferredBodyClose(html, indexes, removed) : indexes
|
|
299
|
+
};
|
|
300
|
+
}
|
|
301
|
+
function withDeferredBodyClose(html, indexes, removed) {
|
|
302
|
+
return {
|
|
303
|
+
...indexes,
|
|
304
|
+
get bodyCloseTagStart() {
|
|
305
|
+
const offset = parseTemplateDocument(html).indexes.bodyCloseTagStart;
|
|
306
|
+
return offset >= 0 ? offset - removed : -1;
|
|
307
|
+
}
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
const SCRIPT_START_RE = /<script[\t\n\f\r />]/i;
|
|
311
|
+
const SCRIPT_END_RE = /<\/script/gi;
|
|
312
|
+
function canExtractScript(content) {
|
|
313
|
+
if (!content.includes("<!--") || !SCRIPT_START_RE.test(content))
|
|
314
|
+
return true;
|
|
315
|
+
const escaped = content.replace(SCRIPT_END_RE, "<\\/script");
|
|
316
|
+
if (escaped === content)
|
|
317
|
+
return true;
|
|
318
|
+
const markup = `<head><script>${escaped}<\/script></head>`;
|
|
319
|
+
return parseTemplateDocument(markup).indexes.headTagEnd === markup.length - "</head>".length;
|
|
320
|
+
}
|
|
321
|
+
function readAttributes(node, startTag) {
|
|
322
|
+
const attrs = {};
|
|
323
|
+
if (startTag.attrs) {
|
|
324
|
+
for (const { name, value } of node.attrs) {
|
|
325
|
+
if (hasOwn(startTag.attrs, name))
|
|
326
|
+
attrs[name] = value.replaceAll("&", "&");
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
return attrs;
|
|
330
|
+
}
|
|
331
|
+
function applyHeadToHtml(template, headHtml) {
|
|
332
|
+
const { html, indexes } = template;
|
|
333
|
+
const parts = [];
|
|
334
|
+
let lastIndex = 0;
|
|
335
|
+
if (indexes.htmlTagStart >= 0) {
|
|
336
|
+
parts.push(html.substring(lastIndex, indexes.htmlTagStart));
|
|
337
|
+
parts.push(`<html${headHtml.htmlAttrs}>`);
|
|
338
|
+
lastIndex = indexes.htmlTagEnd;
|
|
339
|
+
}
|
|
340
|
+
if (indexes.headTagEnd >= 0) {
|
|
341
|
+
parts.push(html.substring(lastIndex, indexes.headTagEnd));
|
|
342
|
+
parts.push(headHtml.headTags);
|
|
343
|
+
lastIndex = indexes.headTagEnd;
|
|
344
|
+
}
|
|
345
|
+
if (indexes.bodyTagStart >= 0) {
|
|
346
|
+
parts.push(html.substring(lastIndex, indexes.bodyTagStart));
|
|
347
|
+
if (headHtml.bodyTagsOpen) {
|
|
348
|
+
parts.push(`<body${headHtml.bodyAttrs}>
|
|
349
|
+
${headHtml.bodyTagsOpen}`);
|
|
350
|
+
} else {
|
|
351
|
+
parts.push(`<body${headHtml.bodyAttrs}>`);
|
|
352
|
+
}
|
|
353
|
+
lastIndex = indexes.bodyTagEnd;
|
|
354
|
+
}
|
|
355
|
+
const bodyClose = headHtml.bodyTags ? indexes.bodyCloseTagStart : -1;
|
|
356
|
+
if (bodyClose >= 0) {
|
|
357
|
+
parts.push(html.substring(lastIndex, bodyClose));
|
|
358
|
+
parts.push(headHtml.bodyTags);
|
|
359
|
+
parts.push(html.substring(bodyClose));
|
|
360
|
+
} else {
|
|
361
|
+
parts.push(html.substring(lastIndex));
|
|
362
|
+
}
|
|
363
|
+
return parts.join("");
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
export { TagIdMap as T, applyHeadToHtml as a, parseHtmlForIndexes as b, parseAttributes as c, hasOwn as h, parseHtmlForUnheadExtraction as p };
|