@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,189 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2021 Google LLC
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.OAuthClientAuthHandler = void 0;
|
|
17
|
+
exports.getErrorFromOAuthErrorResponse = getErrorFromOAuthErrorResponse;
|
|
18
|
+
const gaxios_1 = require("gaxios");
|
|
19
|
+
const crypto_1 = require("../crypto/crypto");
|
|
20
|
+
/** List of HTTP methods that accept request bodies. */
|
|
21
|
+
const METHODS_SUPPORTING_REQUEST_BODY = ['PUT', 'POST', 'PATCH'];
|
|
22
|
+
/**
|
|
23
|
+
* Abstract class for handling client authentication in OAuth-based
|
|
24
|
+
* operations.
|
|
25
|
+
* When request-body client authentication is used, only application/json and
|
|
26
|
+
* application/x-www-form-urlencoded content types for HTTP methods that support
|
|
27
|
+
* request bodies are supported.
|
|
28
|
+
*/
|
|
29
|
+
class OAuthClientAuthHandler {
|
|
30
|
+
#crypto = (0, crypto_1.createCrypto)();
|
|
31
|
+
#clientAuthentication;
|
|
32
|
+
transporter;
|
|
33
|
+
/**
|
|
34
|
+
* Instantiates an OAuth client authentication handler.
|
|
35
|
+
* @param options The OAuth Client Auth Handler instance options. Passing an `ClientAuthentication` directly is **@DEPRECATED**.
|
|
36
|
+
*/
|
|
37
|
+
constructor(options) {
|
|
38
|
+
if (options && 'clientId' in options) {
|
|
39
|
+
this.#clientAuthentication = options;
|
|
40
|
+
this.transporter = new gaxios_1.Gaxios();
|
|
41
|
+
}
|
|
42
|
+
else {
|
|
43
|
+
this.#clientAuthentication = options?.clientAuthentication;
|
|
44
|
+
this.transporter = options?.transporter || new gaxios_1.Gaxios();
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Applies client authentication on the OAuth request's headers or POST
|
|
49
|
+
* body but does not process the request.
|
|
50
|
+
* @param opts The GaxiosOptions whose headers or data are to be modified
|
|
51
|
+
* depending on the client authentication mechanism to be used.
|
|
52
|
+
* @param bearerToken The optional bearer token to use for authentication.
|
|
53
|
+
* When this is used, no client authentication credentials are needed.
|
|
54
|
+
*/
|
|
55
|
+
applyClientAuthenticationOptions(opts, bearerToken) {
|
|
56
|
+
opts.headers = gaxios_1.Gaxios.mergeHeaders(opts.headers);
|
|
57
|
+
// Inject authenticated header.
|
|
58
|
+
this.injectAuthenticatedHeaders(opts, bearerToken);
|
|
59
|
+
// Inject authenticated request body.
|
|
60
|
+
if (!bearerToken) {
|
|
61
|
+
this.injectAuthenticatedRequestBody(opts);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* Applies client authentication on the request's header if either
|
|
66
|
+
* basic authentication or bearer token authentication is selected.
|
|
67
|
+
*
|
|
68
|
+
* @param opts The GaxiosOptions whose headers or data are to be modified
|
|
69
|
+
* depending on the client authentication mechanism to be used.
|
|
70
|
+
* @param bearerToken The optional bearer token to use for authentication.
|
|
71
|
+
* When this is used, no client authentication credentials are needed.
|
|
72
|
+
*/
|
|
73
|
+
injectAuthenticatedHeaders(opts, bearerToken) {
|
|
74
|
+
// Bearer token prioritized higher than basic Auth.
|
|
75
|
+
if (bearerToken) {
|
|
76
|
+
opts.headers = gaxios_1.Gaxios.mergeHeaders(opts.headers, {
|
|
77
|
+
authorization: `Bearer ${bearerToken}`,
|
|
78
|
+
});
|
|
79
|
+
}
|
|
80
|
+
else if (this.#clientAuthentication?.confidentialClientType === 'basic') {
|
|
81
|
+
opts.headers = gaxios_1.Gaxios.mergeHeaders(opts.headers);
|
|
82
|
+
const clientId = this.#clientAuthentication.clientId;
|
|
83
|
+
const clientSecret = this.#clientAuthentication.clientSecret || '';
|
|
84
|
+
const base64EncodedCreds = this.#crypto.encodeBase64StringUtf8(`${clientId}:${clientSecret}`);
|
|
85
|
+
gaxios_1.Gaxios.mergeHeaders(opts.headers, {
|
|
86
|
+
authorization: `Basic ${base64EncodedCreds}`,
|
|
87
|
+
});
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Applies client authentication on the request's body if request-body
|
|
92
|
+
* client authentication is selected.
|
|
93
|
+
*
|
|
94
|
+
* @param opts The GaxiosOptions whose headers or data are to be modified
|
|
95
|
+
* depending on the client authentication mechanism to be used.
|
|
96
|
+
*/
|
|
97
|
+
injectAuthenticatedRequestBody(opts) {
|
|
98
|
+
if (this.#clientAuthentication?.confidentialClientType === 'request-body') {
|
|
99
|
+
const method = (opts.method || 'GET').toUpperCase();
|
|
100
|
+
if (!METHODS_SUPPORTING_REQUEST_BODY.includes(method)) {
|
|
101
|
+
throw new Error(`${method} HTTP method does not support ` +
|
|
102
|
+
`${this.#clientAuthentication.confidentialClientType} ` +
|
|
103
|
+
'client authentication');
|
|
104
|
+
}
|
|
105
|
+
// Get content-type
|
|
106
|
+
const headers = new Headers(opts.headers);
|
|
107
|
+
const contentType = headers.get('content-type');
|
|
108
|
+
// Inject authenticated request body
|
|
109
|
+
if (contentType?.startsWith('application/x-www-form-urlencoded') ||
|
|
110
|
+
opts.data instanceof URLSearchParams) {
|
|
111
|
+
const data = new URLSearchParams(opts.data ?? '');
|
|
112
|
+
data.append('client_id', this.#clientAuthentication.clientId);
|
|
113
|
+
data.append('client_secret', this.#clientAuthentication.clientSecret || '');
|
|
114
|
+
opts.data = data;
|
|
115
|
+
}
|
|
116
|
+
else if (contentType?.startsWith('application/json')) {
|
|
117
|
+
opts.data = opts.data || {};
|
|
118
|
+
Object.assign(opts.data, {
|
|
119
|
+
client_id: this.#clientAuthentication.clientId,
|
|
120
|
+
client_secret: this.#clientAuthentication.clientSecret || '',
|
|
121
|
+
});
|
|
122
|
+
}
|
|
123
|
+
else {
|
|
124
|
+
throw new Error(`${contentType} content-types are not supported with ` +
|
|
125
|
+
`${this.#clientAuthentication.confidentialClientType} ` +
|
|
126
|
+
'client authentication');
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Retry config for Auth-related requests.
|
|
132
|
+
*
|
|
133
|
+
* @remarks
|
|
134
|
+
*
|
|
135
|
+
* This is not a part of the default {@link AuthClient.transporter transporter/gaxios}
|
|
136
|
+
* config as some downstream APIs would prefer if customers explicitly enable retries,
|
|
137
|
+
* such as GCS.
|
|
138
|
+
*/
|
|
139
|
+
static get RETRY_CONFIG() {
|
|
140
|
+
return {
|
|
141
|
+
retry: true,
|
|
142
|
+
retryConfig: {
|
|
143
|
+
httpMethodsToRetry: ['GET', 'PUT', 'POST', 'HEAD', 'OPTIONS', 'DELETE'],
|
|
144
|
+
},
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
exports.OAuthClientAuthHandler = OAuthClientAuthHandler;
|
|
149
|
+
/**
|
|
150
|
+
* Converts an OAuth error response to a native JavaScript Error.
|
|
151
|
+
* @param resp The OAuth error response to convert to a native Error object.
|
|
152
|
+
* @param err The optional original error. If provided, the error properties
|
|
153
|
+
* will be copied to the new error.
|
|
154
|
+
* @return The converted native Error object.
|
|
155
|
+
*/
|
|
156
|
+
function getErrorFromOAuthErrorResponse(resp, err) {
|
|
157
|
+
// Error response.
|
|
158
|
+
const errorCode = resp.error;
|
|
159
|
+
const errorDescription = resp.error_description;
|
|
160
|
+
const errorUri = resp.error_uri;
|
|
161
|
+
let message = `Error code ${errorCode}`;
|
|
162
|
+
if (typeof errorDescription !== 'undefined') {
|
|
163
|
+
message += `: ${errorDescription}`;
|
|
164
|
+
}
|
|
165
|
+
if (typeof errorUri !== 'undefined') {
|
|
166
|
+
message += ` - ${errorUri}`;
|
|
167
|
+
}
|
|
168
|
+
const newError = new Error(message);
|
|
169
|
+
// Copy properties from original error to newly generated error.
|
|
170
|
+
if (err) {
|
|
171
|
+
const keys = Object.keys(err);
|
|
172
|
+
if (err.stack) {
|
|
173
|
+
// Copy error.stack if available.
|
|
174
|
+
keys.push('stack');
|
|
175
|
+
}
|
|
176
|
+
keys.forEach(key => {
|
|
177
|
+
// Do not overwrite the message field.
|
|
178
|
+
if (key !== 'message') {
|
|
179
|
+
Object.defineProperty(newError, key, {
|
|
180
|
+
value: err[key],
|
|
181
|
+
writable: false,
|
|
182
|
+
enumerable: true,
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
});
|
|
186
|
+
}
|
|
187
|
+
return newError;
|
|
188
|
+
}
|
|
189
|
+
//# sourceMappingURL=oauth2common.js.map
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2024 Google LLC
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PassThroughClient = void 0;
|
|
17
|
+
const authclient_1 = require("./authclient");
|
|
18
|
+
/**
|
|
19
|
+
* An AuthClient without any Authentication information. Useful for:
|
|
20
|
+
* - Anonymous access
|
|
21
|
+
* - Local Emulators
|
|
22
|
+
* - Testing Environments
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
class PassThroughClient extends authclient_1.AuthClient {
|
|
26
|
+
/**
|
|
27
|
+
* Creates a request without any authentication headers or checks.
|
|
28
|
+
*
|
|
29
|
+
* @remarks
|
|
30
|
+
*
|
|
31
|
+
* In testing environments it may be useful to change the provided
|
|
32
|
+
* {@link AuthClient.transporter} for any desired request overrides/handling.
|
|
33
|
+
*
|
|
34
|
+
* @param opts
|
|
35
|
+
* @returns The response of the request.
|
|
36
|
+
*/
|
|
37
|
+
async request(opts) {
|
|
38
|
+
return this.transporter.request(opts);
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* A required method of the base class.
|
|
42
|
+
* Always will return an empty object.
|
|
43
|
+
*
|
|
44
|
+
* @returns {}
|
|
45
|
+
*/
|
|
46
|
+
async getAccessToken() {
|
|
47
|
+
return {};
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* A required method of the base class.
|
|
51
|
+
* Always will return an empty object.
|
|
52
|
+
*
|
|
53
|
+
* @returns {}
|
|
54
|
+
*/
|
|
55
|
+
async getRequestHeaders() {
|
|
56
|
+
return new Headers();
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.PassThroughClient = PassThroughClient;
|
|
60
|
+
//# sourceMappingURL=passthrough.js.map
|
package/.output/server/node_modules/google-auth-library/build/src/auth/pluggable-auth-client.js
ADDED
|
@@ -0,0 +1,220 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2022 Google LLC
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PluggableAuthClient = exports.ExecutableError = void 0;
|
|
17
|
+
const baseexternalclient_1 = require("./baseexternalclient");
|
|
18
|
+
const executable_response_1 = require("./executable-response");
|
|
19
|
+
const pluggable_auth_handler_1 = require("./pluggable-auth-handler");
|
|
20
|
+
var pluggable_auth_handler_2 = require("./pluggable-auth-handler");
|
|
21
|
+
Object.defineProperty(exports, "ExecutableError", { enumerable: true, get: function () { return pluggable_auth_handler_2.ExecutableError; } });
|
|
22
|
+
/**
|
|
23
|
+
* The default executable timeout when none is provided, in milliseconds.
|
|
24
|
+
*/
|
|
25
|
+
const DEFAULT_EXECUTABLE_TIMEOUT_MILLIS = 30 * 1000;
|
|
26
|
+
/**
|
|
27
|
+
* The minimum allowed executable timeout in milliseconds.
|
|
28
|
+
*/
|
|
29
|
+
const MINIMUM_EXECUTABLE_TIMEOUT_MILLIS = 5 * 1000;
|
|
30
|
+
/**
|
|
31
|
+
* The maximum allowed executable timeout in milliseconds.
|
|
32
|
+
*/
|
|
33
|
+
const MAXIMUM_EXECUTABLE_TIMEOUT_MILLIS = 120 * 1000;
|
|
34
|
+
/**
|
|
35
|
+
* The environment variable to check to see if executable can be run.
|
|
36
|
+
* Value must be set to '1' for the executable to run.
|
|
37
|
+
*/
|
|
38
|
+
const GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES = 'GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES';
|
|
39
|
+
/**
|
|
40
|
+
* The maximum currently supported executable version.
|
|
41
|
+
*/
|
|
42
|
+
const MAXIMUM_EXECUTABLE_VERSION = 1;
|
|
43
|
+
/**
|
|
44
|
+
* PluggableAuthClient enables the exchange of workload identity pool external credentials for
|
|
45
|
+
* Google access tokens by retrieving 3rd party tokens through a user supplied executable. These
|
|
46
|
+
* scripts/executables are completely independent of the Google Cloud Auth libraries. These
|
|
47
|
+
* credentials plug into ADC and will call the specified executable to retrieve the 3rd party token
|
|
48
|
+
* to be exchanged for a Google access token.
|
|
49
|
+
*
|
|
50
|
+
* <p>To use these credentials, the GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES environment variable
|
|
51
|
+
* must be set to '1'. This is for security reasons.
|
|
52
|
+
*
|
|
53
|
+
* <p>Both OIDC and SAML are supported. The executable must adhere to a specific response format
|
|
54
|
+
* defined below.
|
|
55
|
+
*
|
|
56
|
+
* <p>The executable must print out the 3rd party token to STDOUT in JSON format. When an
|
|
57
|
+
* output_file is specified in the credential configuration, the executable must also handle writing the
|
|
58
|
+
* JSON response to this file.
|
|
59
|
+
*
|
|
60
|
+
* <pre>
|
|
61
|
+
* OIDC response sample:
|
|
62
|
+
* {
|
|
63
|
+
* "version": 1,
|
|
64
|
+
* "success": true,
|
|
65
|
+
* "token_type": "urn:ietf:params:oauth:token-type:id_token",
|
|
66
|
+
* "id_token": "HEADER.PAYLOAD.SIGNATURE",
|
|
67
|
+
* "expiration_time": 1620433341
|
|
68
|
+
* }
|
|
69
|
+
*
|
|
70
|
+
* SAML2 response sample:
|
|
71
|
+
* {
|
|
72
|
+
* "version": 1,
|
|
73
|
+
* "success": true,
|
|
74
|
+
* "token_type": "urn:ietf:params:oauth:token-type:saml2",
|
|
75
|
+
* "saml_response": "...",
|
|
76
|
+
* "expiration_time": 1620433341
|
|
77
|
+
* }
|
|
78
|
+
*
|
|
79
|
+
* Error response sample:
|
|
80
|
+
* {
|
|
81
|
+
* "version": 1,
|
|
82
|
+
* "success": false,
|
|
83
|
+
* "code": "401",
|
|
84
|
+
* "message": "Error message."
|
|
85
|
+
* }
|
|
86
|
+
* </pre>
|
|
87
|
+
*
|
|
88
|
+
* <p>The "expiration_time" field in the JSON response is only required for successful
|
|
89
|
+
* responses when an output file was specified in the credential configuration
|
|
90
|
+
*
|
|
91
|
+
* <p>The auth libraries will populate certain environment variables that will be accessible by the
|
|
92
|
+
* executable, such as: GOOGLE_EXTERNAL_ACCOUNT_AUDIENCE, GOOGLE_EXTERNAL_ACCOUNT_TOKEN_TYPE,
|
|
93
|
+
* GOOGLE_EXTERNAL_ACCOUNT_INTERACTIVE, GOOGLE_EXTERNAL_ACCOUNT_IMPERSONATED_EMAIL, and
|
|
94
|
+
* GOOGLE_EXTERNAL_ACCOUNT_OUTPUT_FILE.
|
|
95
|
+
*
|
|
96
|
+
* <p>Please see this repositories README for a complete executable request/response specification.
|
|
97
|
+
*/
|
|
98
|
+
class PluggableAuthClient extends baseexternalclient_1.BaseExternalAccountClient {
|
|
99
|
+
/**
|
|
100
|
+
* The command used to retrieve the third party token.
|
|
101
|
+
*/
|
|
102
|
+
command;
|
|
103
|
+
/**
|
|
104
|
+
* The timeout in milliseconds for running executable,
|
|
105
|
+
* set to default if none provided.
|
|
106
|
+
*/
|
|
107
|
+
timeoutMillis;
|
|
108
|
+
/**
|
|
109
|
+
* The path to file to check for cached executable response.
|
|
110
|
+
*/
|
|
111
|
+
outputFile;
|
|
112
|
+
/**
|
|
113
|
+
* Executable and output file handler.
|
|
114
|
+
*/
|
|
115
|
+
handler;
|
|
116
|
+
/**
|
|
117
|
+
* Instantiates a PluggableAuthClient instance using the provided JSON
|
|
118
|
+
* object loaded from an external account credentials file.
|
|
119
|
+
* An error is thrown if the credential is not a valid pluggable auth credential.
|
|
120
|
+
* @param options The external account options object typically loaded from
|
|
121
|
+
* the external account JSON credential file.
|
|
122
|
+
*/
|
|
123
|
+
constructor(options) {
|
|
124
|
+
super(options);
|
|
125
|
+
if (!options.credential_source.executable) {
|
|
126
|
+
throw new Error('No valid Pluggable Auth "credential_source" provided.');
|
|
127
|
+
}
|
|
128
|
+
this.command = options.credential_source.executable.command;
|
|
129
|
+
if (!this.command) {
|
|
130
|
+
throw new Error('No valid Pluggable Auth "credential_source" provided.');
|
|
131
|
+
}
|
|
132
|
+
// Check if the provided timeout exists and if it is valid.
|
|
133
|
+
if (options.credential_source.executable.timeout_millis === undefined) {
|
|
134
|
+
this.timeoutMillis = DEFAULT_EXECUTABLE_TIMEOUT_MILLIS;
|
|
135
|
+
}
|
|
136
|
+
else {
|
|
137
|
+
this.timeoutMillis = options.credential_source.executable.timeout_millis;
|
|
138
|
+
if (this.timeoutMillis < MINIMUM_EXECUTABLE_TIMEOUT_MILLIS ||
|
|
139
|
+
this.timeoutMillis > MAXIMUM_EXECUTABLE_TIMEOUT_MILLIS) {
|
|
140
|
+
throw new Error(`Timeout must be between ${MINIMUM_EXECUTABLE_TIMEOUT_MILLIS} and ` +
|
|
141
|
+
`${MAXIMUM_EXECUTABLE_TIMEOUT_MILLIS} milliseconds.`);
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
this.outputFile = options.credential_source.executable.output_file;
|
|
145
|
+
this.handler = new pluggable_auth_handler_1.PluggableAuthHandler({
|
|
146
|
+
command: this.command,
|
|
147
|
+
timeoutMillis: this.timeoutMillis,
|
|
148
|
+
outputFile: this.outputFile,
|
|
149
|
+
});
|
|
150
|
+
this.credentialSourceType = 'executable';
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Triggered when an external subject token is needed to be exchanged for a
|
|
154
|
+
* GCP access token via GCP STS endpoint.
|
|
155
|
+
* This uses the `options.credential_source` object to figure out how
|
|
156
|
+
* to retrieve the token using the current environment. In this case,
|
|
157
|
+
* this calls a user provided executable which returns the subject token.
|
|
158
|
+
* The logic is summarized as:
|
|
159
|
+
* 1. Validated that the executable is allowed to run. The
|
|
160
|
+
* GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES environment must be set to
|
|
161
|
+
* 1 for security reasons.
|
|
162
|
+
* 2. If an output file is specified by the user, check the file location
|
|
163
|
+
* for a response. If the file exists and contains a valid response,
|
|
164
|
+
* return the subject token from the file.
|
|
165
|
+
* 3. Call the provided executable and return response.
|
|
166
|
+
* @return A promise that resolves with the external subject token.
|
|
167
|
+
*/
|
|
168
|
+
async retrieveSubjectToken() {
|
|
169
|
+
// Check if the executable is allowed to run.
|
|
170
|
+
if (process.env[GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES] !== '1') {
|
|
171
|
+
throw new Error('Pluggable Auth executables need to be explicitly allowed to run by ' +
|
|
172
|
+
'setting the GOOGLE_EXTERNAL_ACCOUNT_ALLOW_EXECUTABLES environment ' +
|
|
173
|
+
'Variable to 1.');
|
|
174
|
+
}
|
|
175
|
+
let executableResponse = undefined;
|
|
176
|
+
// Try to get cached executable response from output file.
|
|
177
|
+
if (this.outputFile) {
|
|
178
|
+
executableResponse = await this.handler.retrieveCachedResponse();
|
|
179
|
+
}
|
|
180
|
+
// If no response from output file, call the executable.
|
|
181
|
+
if (!executableResponse) {
|
|
182
|
+
// Set up environment map with required values for the executable.
|
|
183
|
+
const envMap = new Map();
|
|
184
|
+
envMap.set('GOOGLE_EXTERNAL_ACCOUNT_AUDIENCE', this.audience);
|
|
185
|
+
envMap.set('GOOGLE_EXTERNAL_ACCOUNT_TOKEN_TYPE', this.subjectTokenType);
|
|
186
|
+
// Always set to 0 because interactive mode is not supported.
|
|
187
|
+
envMap.set('GOOGLE_EXTERNAL_ACCOUNT_INTERACTIVE', '0');
|
|
188
|
+
if (this.outputFile) {
|
|
189
|
+
envMap.set('GOOGLE_EXTERNAL_ACCOUNT_OUTPUT_FILE', this.outputFile);
|
|
190
|
+
}
|
|
191
|
+
const serviceAccountEmail = this.getServiceAccountEmail();
|
|
192
|
+
if (serviceAccountEmail) {
|
|
193
|
+
envMap.set('GOOGLE_EXTERNAL_ACCOUNT_IMPERSONATED_EMAIL', serviceAccountEmail);
|
|
194
|
+
}
|
|
195
|
+
executableResponse =
|
|
196
|
+
await this.handler.retrieveResponseFromExecutable(envMap);
|
|
197
|
+
}
|
|
198
|
+
if (executableResponse.version > MAXIMUM_EXECUTABLE_VERSION) {
|
|
199
|
+
throw new Error(`Version of executable is not currently supported, maximum supported version is ${MAXIMUM_EXECUTABLE_VERSION}.`);
|
|
200
|
+
}
|
|
201
|
+
// Check that response was successful.
|
|
202
|
+
if (!executableResponse.success) {
|
|
203
|
+
throw new pluggable_auth_handler_1.ExecutableError(executableResponse.errorMessage, executableResponse.errorCode);
|
|
204
|
+
}
|
|
205
|
+
// Check that response contains expiration time if output file was specified.
|
|
206
|
+
if (this.outputFile) {
|
|
207
|
+
if (!executableResponse.expirationTime) {
|
|
208
|
+
throw new executable_response_1.InvalidExpirationTimeFieldError('The executable response must contain the `expiration_time` field for successful responses when an output_file has been specified in the configuration.');
|
|
209
|
+
}
|
|
210
|
+
}
|
|
211
|
+
// Check that response is not expired.
|
|
212
|
+
if (executableResponse.isExpired()) {
|
|
213
|
+
throw new Error('Executable response is expired.');
|
|
214
|
+
}
|
|
215
|
+
// Return subject token from response.
|
|
216
|
+
return executableResponse.subjectToken;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
exports.PluggableAuthClient = PluggableAuthClient;
|
|
220
|
+
//# sourceMappingURL=pluggable-auth-client.js.map
|
package/.output/server/node_modules/google-auth-library/build/src/auth/pluggable-auth-handler.js
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// Copyright 2022 Google LLC
|
|
3
|
+
//
|
|
4
|
+
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
5
|
+
// you may not use this file except in compliance with the License.
|
|
6
|
+
// You may obtain a copy of the License at
|
|
7
|
+
//
|
|
8
|
+
// http://www.apache.org/licenses/LICENSE-2.0
|
|
9
|
+
//
|
|
10
|
+
// Unless required by applicable law or agreed to in writing, software
|
|
11
|
+
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
12
|
+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13
|
+
// See the License for the specific language governing permissions and
|
|
14
|
+
// limitations under the License.
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.PluggableAuthHandler = exports.ExecutableError = void 0;
|
|
17
|
+
const executable_response_1 = require("./executable-response");
|
|
18
|
+
const childProcess = require("child_process");
|
|
19
|
+
const fs = require("fs");
|
|
20
|
+
/**
|
|
21
|
+
* Error thrown from the executable run by PluggableAuthClient.
|
|
22
|
+
*/
|
|
23
|
+
class ExecutableError extends Error {
|
|
24
|
+
/**
|
|
25
|
+
* The exit code returned by the executable.
|
|
26
|
+
*/
|
|
27
|
+
code;
|
|
28
|
+
constructor(message, code) {
|
|
29
|
+
super(`The executable failed with exit code: ${code} and error message: ${message}.`);
|
|
30
|
+
this.code = code;
|
|
31
|
+
Object.setPrototypeOf(this, new.target.prototype);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ExecutableError = ExecutableError;
|
|
35
|
+
/**
|
|
36
|
+
* A handler used to retrieve 3rd party token responses from user defined
|
|
37
|
+
* executables and cached file output for the PluggableAuthClient class.
|
|
38
|
+
*/
|
|
39
|
+
class PluggableAuthHandler {
|
|
40
|
+
commandComponents;
|
|
41
|
+
timeoutMillis;
|
|
42
|
+
outputFile;
|
|
43
|
+
/**
|
|
44
|
+
* Instantiates a PluggableAuthHandler instance using the provided
|
|
45
|
+
* PluggableAuthHandlerOptions object.
|
|
46
|
+
*/
|
|
47
|
+
constructor(options) {
|
|
48
|
+
if (!options.command) {
|
|
49
|
+
throw new Error('No command provided.');
|
|
50
|
+
}
|
|
51
|
+
this.commandComponents = PluggableAuthHandler.parseCommand(options.command);
|
|
52
|
+
this.timeoutMillis = options.timeoutMillis;
|
|
53
|
+
if (!this.timeoutMillis) {
|
|
54
|
+
throw new Error('No timeoutMillis provided.');
|
|
55
|
+
}
|
|
56
|
+
this.outputFile = options.outputFile;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Calls user provided executable to get a 3rd party subject token and
|
|
60
|
+
* returns the response.
|
|
61
|
+
* @param envMap a Map of additional Environment Variables required for
|
|
62
|
+
* the executable.
|
|
63
|
+
* @return A promise that resolves with the executable response.
|
|
64
|
+
*/
|
|
65
|
+
retrieveResponseFromExecutable(envMap) {
|
|
66
|
+
return new Promise((resolve, reject) => {
|
|
67
|
+
// Spawn process to run executable using added environment variables.
|
|
68
|
+
const child = childProcess.spawn(this.commandComponents[0], this.commandComponents.slice(1), {
|
|
69
|
+
env: { ...process.env, ...Object.fromEntries(envMap) },
|
|
70
|
+
});
|
|
71
|
+
let output = '';
|
|
72
|
+
// Append stdout to output as executable runs.
|
|
73
|
+
child.stdout.on('data', (data) => {
|
|
74
|
+
output += data;
|
|
75
|
+
});
|
|
76
|
+
// Append stderr as executable runs.
|
|
77
|
+
child.stderr.on('data', (err) => {
|
|
78
|
+
output += err;
|
|
79
|
+
});
|
|
80
|
+
// Set up a timeout to end the child process and throw an error.
|
|
81
|
+
const timeout = setTimeout(() => {
|
|
82
|
+
// Kill child process and remove listeners so 'close' event doesn't get
|
|
83
|
+
// read after child process is killed.
|
|
84
|
+
child.removeAllListeners();
|
|
85
|
+
child.kill();
|
|
86
|
+
return reject(new Error('The executable failed to finish within the timeout specified.'));
|
|
87
|
+
}, this.timeoutMillis);
|
|
88
|
+
child.on('close', (code) => {
|
|
89
|
+
// Cancel timeout if executable closes before timeout is reached.
|
|
90
|
+
clearTimeout(timeout);
|
|
91
|
+
if (code === 0) {
|
|
92
|
+
// If the executable completed successfully, try to return the parsed response.
|
|
93
|
+
try {
|
|
94
|
+
const responseJson = JSON.parse(output);
|
|
95
|
+
const response = new executable_response_1.ExecutableResponse(responseJson);
|
|
96
|
+
return resolve(response);
|
|
97
|
+
}
|
|
98
|
+
catch (error) {
|
|
99
|
+
if (error instanceof executable_response_1.ExecutableResponseError) {
|
|
100
|
+
return reject(error);
|
|
101
|
+
}
|
|
102
|
+
return reject(new executable_response_1.ExecutableResponseError(`The executable returned an invalid response: ${output}`));
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
else {
|
|
106
|
+
return reject(new ExecutableError(output, code.toString()));
|
|
107
|
+
}
|
|
108
|
+
});
|
|
109
|
+
});
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Checks user provided output file for response from previous run of
|
|
113
|
+
* executable and return the response if it exists, is formatted correctly, and is not expired.
|
|
114
|
+
*/
|
|
115
|
+
async retrieveCachedResponse() {
|
|
116
|
+
if (!this.outputFile || this.outputFile.length === 0) {
|
|
117
|
+
return undefined;
|
|
118
|
+
}
|
|
119
|
+
let filePath;
|
|
120
|
+
try {
|
|
121
|
+
filePath = await fs.promises.realpath(this.outputFile);
|
|
122
|
+
}
|
|
123
|
+
catch {
|
|
124
|
+
// If file path cannot be resolved, return undefined.
|
|
125
|
+
return undefined;
|
|
126
|
+
}
|
|
127
|
+
if (!(await fs.promises.lstat(filePath)).isFile()) {
|
|
128
|
+
// If path does not lead to file, return undefined.
|
|
129
|
+
return undefined;
|
|
130
|
+
}
|
|
131
|
+
const responseString = await fs.promises.readFile(filePath, {
|
|
132
|
+
encoding: 'utf8',
|
|
133
|
+
});
|
|
134
|
+
if (responseString === '') {
|
|
135
|
+
return undefined;
|
|
136
|
+
}
|
|
137
|
+
try {
|
|
138
|
+
const responseJson = JSON.parse(responseString);
|
|
139
|
+
const response = new executable_response_1.ExecutableResponse(responseJson);
|
|
140
|
+
// Check if response is successful and unexpired.
|
|
141
|
+
if (response.isValid()) {
|
|
142
|
+
return new executable_response_1.ExecutableResponse(responseJson);
|
|
143
|
+
}
|
|
144
|
+
return undefined;
|
|
145
|
+
}
|
|
146
|
+
catch (error) {
|
|
147
|
+
if (error instanceof executable_response_1.ExecutableResponseError) {
|
|
148
|
+
throw error;
|
|
149
|
+
}
|
|
150
|
+
throw new executable_response_1.ExecutableResponseError(`The output file contained an invalid response: ${responseString}`);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* Parses given command string into component array, splitting on spaces unless
|
|
155
|
+
* spaces are between quotation marks.
|
|
156
|
+
*/
|
|
157
|
+
static parseCommand(command) {
|
|
158
|
+
// Split the command into components by splitting on spaces,
|
|
159
|
+
// unless spaces are contained in quotation marks.
|
|
160
|
+
const components = command.match(/(?:[^\s"]+|"[^"]*")+/g);
|
|
161
|
+
if (!components) {
|
|
162
|
+
throw new Error(`Provided command: "${command}" could not be parsed.`);
|
|
163
|
+
}
|
|
164
|
+
// Remove quotation marks from the beginning and end of each component if they are present.
|
|
165
|
+
for (let i = 0; i < components.length; i++) {
|
|
166
|
+
if (components[i][0] === '"' && components[i].slice(-1) === '"') {
|
|
167
|
+
components[i] = components[i].slice(1, -1);
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
return components;
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
exports.PluggableAuthHandler = PluggableAuthHandler;
|
|
174
|
+
//# sourceMappingURL=pluggable-auth-handler.js.map
|